Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"import { ReorderPointKey, StockBar, StockStatusBadge, getDaysOfCover, getReorderQuantity,} from "@/components/dashboardblocks/inventory"export default function InventoryDemo() { const onHand = 12 const reorderPoint = 20 const dailyDemand = 2 return ( <Card className="w-full max-w-md"> <CardHeader> <CardTitle>Wireless Mouse</CardTitle> </CardHeader> <CardContent className="grid gap-4"> <div className="flex items-center justify-between"> <StockStatusBadge status="low" /> <span className="text-muted-foreground text-sm"> {onHand} units · {getDaysOfCover(onHand, dailyDemand)} days of cover </span> </div> <StockBar onHand={onHand} reorderPoint={reorderPoint} maxStock={200} /> <div className="flex items-center justify-between text-sm"> <ReorderPointKey /> <span> Reorder {getReorderQuantity({ dailyDemand, leadTimeDays: 7, onHand })} units </span> </div> </CardContent> </Card> )}