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 { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"import { Label } from "@/components/ui/label"import { Switch } from "@/components/ui/switch"const hooks = { Notification: [{ hooks: [{ type: "command", command: "bash .claude/hooks/notify-slack.sh" }] }], Stop: [{ hooks: [{ type: "command", command: "bash .claude/hooks/notify-slack.sh" }] }],}export default function HookNotifySlackDemo() { return ( <Card className="w-full max-w-md"> <CardHeader> <CardTitle>Slack Notification</CardTitle> <CardDescription>Send a Slack notification when Claude Code needs input or finishes a task.</CardDescription> </CardHeader> <CardContent className="grid gap-4"> <div className="flex items-center justify-between"> <Label htmlFor="notification">Notification</Label> <Switch id="notification" defaultChecked /> </div> <div className="flex items-center justify-between"> <Label htmlFor="stop">Stop</Label> <Switch id="stop" defaultChecked /> </div> <pre className="overflow-x-auto rounded-md bg-muted p-3 font-mono text-xs"> {JSON.stringify({ hooks }, null, 2)} </pre> </CardContent> </Card> )}