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 { FileDiff, type FileDiffLine } from "@/components/agents/file-diff"const lines: FileDiffLine[] = [ { id: "1", type: "context", oldLine: 1, newLine: 1, content: "import { useState } from \"react\";" }, { id: "2", type: "removed", oldLine: 2, content: "const [count, setCount] = useState(0);" }, { id: "3", type: "added", newLine: 2, content: "const [count, setCount] = useState(1);" }, { id: "4", type: "added", newLine: 3, content: "const [step, setStep] = useState(2);" }, { id: "5", type: "context", oldLine: 3, newLine: 4, content: "" }, { id: "6", type: "context", oldLine: 4, newLine: 5, content: "export function Counter() {" },]export default function FileDiffDemo() { return ( <div className="w-full max-w-lg"> <FileDiff file="src/counter.tsx" lines={lines} status="complete" defaultOpen collapseOnComplete={false} copyText={lines.map((line) => line.content).join("\n")} /> </div> )}