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 type { ReactNode } from "react"import { KbdLeafStatic } from "@/components/ui/kbd-node-static"// Static leaves receive Slate plugin context in a real editor; cast here so the demo can render them standalone.const Kbd = KbdLeafStatic as unknown as (props: { attributes: object leaf: { text: string } children: ReactNode}) => React.ReactElementexport default function KbdNodeDemo() { const kbd = (text: string) => ( <Kbd attributes={{}} leaf={{ text }}> {text} </Kbd> ) return ( <div className="w-full max-w-md space-y-4 text-sm"> <p>Save your document with {kbd("Ctrl")} + {kbd("S")}.</p> <p>Undo the last change with {kbd("Ctrl")} + {kbd("Z")}.</p> <p>Open the command palette with {kbd("Ctrl")} + {kbd("Shift")} + {kbd("P")}.</p> </div> )}