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 { getBlockType } from '@/components/editor/transforms-classic'import { Badge } from '@/components/ui/badge'import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'const blocks = [ { type: 'h1', children: [{ text: 'Project notes' }] }, { type: 'p', children: [{ text: 'Start writing, or press / for commands.' }] }, { type: 'blockquote', children: [{ text: 'Ship the smallest useful thing first.' }] }, { type: 'ul', children: [{ text: 'Review the draft' }] },]export default function TransformsClassicDemo() { return ( <Card className='w-full max-w-lg'> <CardHeader> <CardTitle>Block types</CardTitle> <CardDescription>Resolved with getBlockType from the transforms module.</CardDescription> </CardHeader> <CardContent className='flex flex-wrap gap-2'> {blocks.map((block, index) => ( <Badge key={index} variant='secondary'> {getBlockType(block)} </Badge> ))} </CardContent> </Card> )}