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 { FileIcon, FolderIcon } from "lucide-react"import { dummyFsNodes } from "@/components/file-tree/dummy-data"import { Card, CardContent } from "@/components/ui/card"type Node = (typeof dummyFsNodes)[number]function Rows({ nodes, depth }: { nodes: Node[]; depth: number }) { return ( <> {nodes.map((node) => ( <div key={node.id}> <div className="flex items-center gap-2 rounded-sm px-2 py-1 hover:bg-muted" style={{ paddingLeft: depth * 16 + 8 }} > {node.type === "folder" ? ( <FolderIcon className="size-4 text-muted-foreground" /> ) : ( <FileIcon className="size-4 text-muted-foreground" /> )} <span className="text-sm">{node.name}</span> </div> {node.children && <Rows nodes={node.children} depth={depth + 1} />} </div> ))} </> )}export default function FileTreeFixturesDemo() { return ( <Card className="w-full max-w-sm"> <CardContent className="max-h-80 overflow-auto p-2"> <Rows nodes={dummyFsNodes} depth={0} /> </CardContent> </Card> )}