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 { useState } from "react"import { Button } from "@/components/ui/button"import { ReplyPreview, type ReplyTarget } from "@/components/ui/reply-preview"import { Textarea } from "@/components/ui/textarea"export default function ReplyPreviewDemo() { const [replyTo, setReplyTo] = useState<ReplyTarget | null>({ id: "m1", author: "Olivia Martin", text: "Are we still on for lunch tomorrow?", }) return ( <form className="w-full max-w-md overflow-hidden rounded-xl border bg-background" onSubmit={(e) => e.preventDefault()} > <ReplyPreview target={replyTo} onCancel={() => setReplyTo(null)} /> <Textarea placeholder="Type your reply..." className="resize-none border-0 shadow-none focus-visible:ring-0" /> <div className="flex justify-end border-t p-2"> <Button size="sm" type="submit"> Send </Button> </div> </form> )}