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 { BalanceScale, type Ledger } from '@/components/balance-scale'export default function BalanceScaleDemo() { const [ledger, setLedger] = useState<Ledger>({ pros: [ { id: 'p1', text: 'Higher salary', weight: 3 }, { id: 'p2', text: 'Sharper team', weight: 2 }, ], cons: [ { id: 'c1', text: 'Longer commute', weight: 2 }, ], }) return ( <BalanceScale question='Take the new offer?' value={ledger} onChange={setLedger} /> )}