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 { AiMemoryViewer, type MemoryItem } from "@/components/elements/ai-memory-viewer"const workingMemory: MemoryItem[] = [ { id: "w1", content: "User prefers concise answers with code examples.", type: "working", source: "user", createdAt: new Date("2025-01-15T09:30:00"), }, { id: "w2", content: "Current project uses TypeScript and Next.js.", type: "working", source: "system", createdAt: new Date("2025-01-15T09:32:00"), },]const conversationHistory: MemoryItem[] = [ { id: "h1", content: "Asked how to configure a Tailwind theme with CSS variables.", type: "history", source: "conversation", createdAt: new Date("2025-01-15T09:10:00"), },]export default function MemoryViewerDemo() { return ( <AiMemoryViewer className="w-full max-w-lg" workingMemory={workingMemory} conversationHistory={conversationHistory} onAdd={() => {}} onRemove={() => {}} /> )}