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 { BlockStrip } from "@/components/card-tree-node/parts/block-strip"import { FlatFieldStrip } from "@/components/card-tree-node/parts/flat-field-strip"import { countBlocks, deriveBlocks } from "@/components/card-tree-node/lib/derive-blocks"import { deriveFlatFields } from "@/components/card-tree-node/lib/derive-flat-fields"import { deriveTitle } from "@/components/card-tree-node/lib/derive-title"const data = { __rcid: "card-invoice-204", title: "Invoice INV-204", amount: 1280.5, paid: false, issued: "2025-03-14", list: ["Design review", "Hosting, March"], table: { headers: ["Item", "Qty"], rows: [["Desk", 2], ["Chair", 4]] },}export default function CardTreeNodeDemo() { const fields = deriveFlatFields(data, 3) const blocks = deriveBlocks(data, 3) return ( <div className="w-full max-w-sm overflow-hidden rounded-md border border-border bg-card text-card-foreground shadow-sm"> <div className="border-b border-border px-3 py-2 text-sm font-semibold"> {deriveTitle(data)} </div> <FlatFieldStrip fields={fields} /> <BlockStrip blocks={blocks} cardId={data.__rcid} totalBlocks={countBlocks(data)} /> </div> )}