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 { BaseSuggestionKit } from "@/components/editor/plugins/suggestion-base-kit"import { Badge } from "@/components/ui/badge"import { Button } from "@/components/ui/button"import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"export default function SuggestionDemo() { return ( <Card className="w-full max-w-lg"> <CardHeader> <CardTitle>Project proposal</CardTitle> <CardDescription>Review the suggested edit from Olivia Martin.</CardDescription> </CardHeader> <CardContent className="flex flex-col gap-3 text-sm leading-relaxed"> <p> We will deliver the first draft by{" "} <span className="text-muted-foreground line-through">Friday</span>{" "} <span className="rounded-sm bg-emerald-100 px-0.5 text-emerald-700 dark:bg-emerald-900/40 dark:text-emerald-300"> Monday </span> , pending design sign-off. </p> <div className="flex items-center gap-2"> <Badge variant="secondary">Suggestion</Badge> <Badge variant="outline">{BaseSuggestionKit.length} plugin</Badge> <span className="text-muted-foreground text-xs">1 of 1</span> </div> </CardContent> <CardFooter className="justify-end gap-2"> <Button variant="outline" size="sm">Reject</Button> <Button size="sm">Accept</Button> </CardFooter> </Card> )}