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 { ComponentProps } from "react"import { SyntaxHighlighter } from "@/components/assistant-ui/elements/syntax-highlighter"const code = [ "type User = {", " id: string;", " name: string;", "};", "", "export function greet(user: User): string {", " return `Hello, ${user.name}!`;", "}",].join("\n")const Pre = ({ children, ...props }: ComponentProps<"pre">) => ( <pre {...props}>{children}</pre>)const Code = ({ children, ...props }: ComponentProps<"code">) => ( <code {...props}>{children}</code>)export default function SyntaxHighlighterDemo() { return ( <div className="w-full max-w-lg overflow-hidden rounded-lg border"> <SyntaxHighlighter language="tsx" code={code} components={{ Pre, Code }} /> </div> )}