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 { ReviewableDiff, type DiffHunk } from "@/components/assistant-ui/elements/reviewable-diff"const hunks: DiffHunk[] = [ { id: "h1", range: "@@ -1,3 +1,4 @@", decision: "pending", lines: [ { kind: "context", text: "export function add(a, b) {" }, { kind: "added", text: " // sum two numbers" }, { kind: "context", text: " return a + b;" }, ], }, { id: "h2", range: "@@ -8,2 +9,2 @@", decision: "pending", lines: [ { kind: "removed", text: " return a - b;" }, { kind: "added", text: " return a * b;" }, ], },]export default function ReviewableDiffDemo() { return ( <ReviewableDiff filename="src/math.ts" hunks={hunks} onKeep={(id) => console.log("keep", id)} onDiscard={(id) => console.log("discard", id)} onApply={() => console.log("apply")} /> )}