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 { CommandPalette, type PaletteCommand } from "@/components/assistant-ui/elements/command-palette"const commands: PaletteCommand[] = [ { id: "new-thread", label: "New thread", group: "Thread", keys: ["⌘", "N"] }, { id: "rename", label: "Rename thread", group: "Thread", keys: ["⌘", "R"] }, { id: "copy", label: "Copy last reply", group: "Message", keys: ["⌘", "C"] }, { id: "regenerate", label: "Regenerate reply", group: "Message", keys: ["⌘", "G"] },]export default function CommandPaletteDemo() { const [query, setQuery] = useState("") const [activeId, setActiveId] = useState("new-thread") return ( <CommandPalette commands={commands} query={query} activeId={activeId} onQueryChange={setQuery} onActiveChange={setActiveId} onRun={(id) => setActiveId(id)} /> )}