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 { FLOW_CANVAS_RICH } from "@/components/flow-canvas/dummy-data"import { Badge } from "@/components/ui/badge"import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"import { Separator } from "@/components/ui/separator"export default function FlowCanvasFixturesDemo() { const { nodes, edges } = FLOW_CANVAS_RICH return ( <Card className="w-full max-w-lg"> <CardHeader> <CardTitle>Prompt workflow</CardTitle> <CardDescription> {nodes.length} nodes and {edges.length} connections </CardDescription> </CardHeader> <CardContent className="flex flex-col gap-3"> {nodes.map((node) => ( <div key={node.id} className="flex items-center justify-between"> <span className="text-sm font-medium">{node.id}</span> <Badge variant="secondary">{String(node.data.__type)}</Badge> </div> ))} <Separator /> {edges.map((edge) => ( <p key={edge.id} className="text-muted-foreground text-sm"> {edge.source} → {edge.target} </p> ))} </CardContent> </Card> )}