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 { FileTextIcon, ImageIcon, VideoIcon, XIcon } from 'lucide-react'import { Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentMedia, AttachmentTitle,} from '@/components/ui/attachment'export default function AttachmentDemo() { return ( <div className='flex w-full max-w-md flex-col gap-3'> <Attachment state='done'> <AttachmentMedia> <FileTextIcon /> </AttachmentMedia> <AttachmentContent> <AttachmentTitle>report.pdf</AttachmentTitle> <AttachmentDescription>2.4 MB</AttachmentDescription> </AttachmentContent> <AttachmentActions> <AttachmentAction aria-label='Remove file'> <XIcon /> </AttachmentAction> </AttachmentActions> </Attachment> <Attachment state='uploading'> <AttachmentMedia> <ImageIcon /> </AttachmentMedia> <AttachmentContent> <AttachmentTitle>photo.png</AttachmentTitle> <AttachmentDescription>Uploading... 64%</AttachmentDescription> </AttachmentContent> <AttachmentActions> <AttachmentAction aria-label='Cancel upload'> <XIcon /> </AttachmentAction> </AttachmentActions> </Attachment> <Attachment state='error'> <AttachmentMedia> <VideoIcon /> </AttachmentMedia> <AttachmentContent> <AttachmentTitle>demo-video.mov</AttachmentTitle> <AttachmentDescription>Upload failed</AttachmentDescription> </AttachmentContent> <AttachmentActions> <AttachmentAction aria-label='Remove file'> <XIcon /> </AttachmentAction> </AttachmentActions> </Attachment> </div> )}