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 { ComputerUse, type ComputerStep } from '@/components/assistant-ui/elements/computer-use'const steps: ComputerStep[] = [ { id: '1', action: 'click', target: 'Search box', x: 30, y: 20 }, { id: '2', action: 'type', target: 'running shoes', x: 30, y: 20 }, { id: '3', action: 'click', target: 'Search button', x: 62, y: 20 }, { id: '4', action: 'scroll', target: 'Results list', x: 50, y: 70 },]export default function ComputerUseDemo() { return ( <ComputerUse url='shop.example.com' steps={steps} activeIndex={3} className='max-w-lg'> <div className='flex size-full flex-col gap-3 p-4'> <div className='h-8 rounded-md border bg-background' /> <div className='grid flex-1 grid-cols-3 gap-2'> {Array.from({ length: 3 }).map((_, i) => ( <div key={i} className='rounded-md bg-muted' /> ))} </div> </div> </ComputerUse> )}