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 { AttachmentUpload, type AttachmentUploadItem } from "@/components/motion/attachment-upload"import { photoImage } from "@/preview/images"export default function AttachmentUploadDemo() { const [items, setItems] = useState<AttachmentUploadItem[]>([ { id: "1", name: "project-brief.pdf", kind: "file", size: 248000, status: "complete" }, { id: "2", name: "moodboard.jpg", kind: "image", size: 1420000, previewUrl: photoImage("moodboard", 800, 600), status: "complete" }, ]) return ( <div className="w-full max-w-lg"> <AttachmentUpload value={items} onValueChange={setItems} /> </div> )}