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 { AISidebar } from "@/components/agents/ai-sidebar";import { ChatApp } from "@/components/agents/chat-app";import { Button } from "@/components/ui/button";import { Textarea } from "@/components/ui/textarea";export default function ChatAppDemo() { return ( <ChatApp className="h-[400px] w-full max-w-2xl"> <AISidebar ariaLabel="Conversations" defaultExpandedIds={["work"]} defaultActiveId="q3-report" defaultItems={[ { id: "work", label: "Work", kind: "folder", children: [ { id: "q3-report", label: "Q3 report summary", kind: "file" }, { id: "roadmap", label: "Product roadmap", kind: "file" }, ], }, { id: "personal", label: "Travel ideas", kind: "file" }, ]} /> <div className="flex min-w-0 flex-1 flex-col gap-4 p-4"> <div className="max-w-[80%] self-end rounded-2xl bg-muted px-4 py-2.5 text-sm"> Can you summarize the Q3 report? </div> <div className="max-w-[85%] rounded-2xl border px-4 py-2.5 text-sm"> Revenue grew 12% quarter over quarter, led by the enterprise plan. </div> <div className="mt-auto flex items-end gap-2"> <Textarea rows={1} placeholder="Ask anything…" className="min-h-9 resize-none" /> <Button>Send</Button> </div> </div> </ChatApp> );}