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 { JsonViewer, JsonViewerCollapseAll, JsonViewerCopy, JsonViewerExpandAll, JsonViewerTree } from '@/components/json-viewer'const data = { name: 'Ada Lovelace', role: 'Engineer', active: true, score: 98.5, tags: ['math', 'code'], address: { city: 'London', country: 'UK' }, projects: [{ id: 1, title: 'Analytical Engine' }, { id: 2, title: 'Notes' }],}export default function JsonViewerDemo() { return ( <JsonViewer value={data} defaultExpanded={2} className="w-full max-w-md"> <div className="mb-2 flex items-center justify-end gap-1"> <JsonViewerExpandAll /> <JsonViewerCollapseAll /> <JsonViewerCopy /> </div> <JsonViewerTree /> </JsonViewer> )}