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 { Badge } from "@/components/ui/badge"import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"import { Label } from "@/components/ui/label"import { Textarea } from "@/components/ui/textarea"const config = JSON.stringify( { hooks: { Notification: [{ hooks: [{ type: "command", command: "scripts/notify-telegram.sh" }] }], Stop: [{ hooks: [{ type: "command", command: "scripts/notify-telegram.sh" }] }], }, env: { CLAUDE_HOOK_TELEGRAM_TOKEN: "123456:ABC-your-bot-token", CLAUDE_HOOK_TELEGRAM_CHAT_ID: "987654321", }, }, null, 2)export default function NotifyTelegramDemo() { return ( <Card className="w-full max-w-md"> <CardHeader> <CardTitle>Telegram Notification</CardTitle> <CardDescription>Send a Telegram notification when Claude Code needs input or finishes a task.</CardDescription> </CardHeader> <CardContent className="grid gap-4"> <div className="flex flex-wrap items-center gap-2"> <Badge>Notification</Badge> <Badge variant="secondary">Stop</Badge> </div> <div className="grid gap-2"> <Label htmlFor="hook-config">Settings</Label> <Textarea id="hook-config" readOnly rows={12} className="font-mono text-xs" defaultValue={config} /> </div> </CardContent> </Card> )}