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 * as React from "react"import { Label } from "@/components/ui/label"import { Switch, SwitchThumb } from "@/components/odysseyui/primitives/headless/switch"export default function SwitchDemo() { const [enabled, setEnabled] = React.useState(true) const handleChange = (value: boolean) => setEnabled(value) return ( <div className="flex w-full max-w-sm items-center justify-between gap-4 rounded-lg border p-4"> <div className="grid gap-0.5"> <Label htmlFor="airplane-mode">Airplane mode</Label> <p className="text-sm text-muted-foreground">Turn off wireless connections.</p> </div> <Switch id="airplane-mode" checked={enabled} onChange={handleChange as React.ComponentProps<typeof Switch>["onChange"]} className="relative inline-flex h-6 w-11 shrink-0 items-center rounded-full bg-input transition-colors data-[checked]:bg-primary" > <SwitchThumb className="ml-0.5 block h-5 w-5 rounded-full bg-background shadow-sm data-[checked]:ml-[22px]" /> </Switch> </div> )}