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 { HandoffBeam } from "@/components/bjork-ui/ai/handoff-beam"import { Button } from "@/components/ui/button"export default function HandoffBeamDemo() { const [phase, setPhase] = useState<"idle" | "listening" | "thinking" | "speaking">("thinking") return ( <div className="flex w-full max-w-md flex-col gap-4"> <HandoffBeam phase={phase} radius={16}> <div className="flex flex-col gap-3 p-4"> <p className="text-sm text-muted-foreground">Ask anything…</p> <div className="flex flex-wrap gap-2"> <Button variant="outline" size="sm" onClick={() => setPhase("listening")}> Listen </Button> <Button variant="outline" size="sm" onClick={() => setPhase("thinking")}> Think </Button> <Button variant="outline" size="sm" onClick={() => setPhase("speaking")}> Speak </Button> <Button variant="ghost" size="sm" onClick={() => setPhase("idle")}> Reset </Button> </div> </div> </HandoffBeam> </div> )}