Structured agent execution trace with SVG tool indicators and clickable +/- file diff chips.
"use client"; import { ToolChips } from "@/components/compose/tool-chips"; export function DiffTrace() { return ( <ToolChips traces={[ { icon: "edit", label: "Write 204 lines", pill: "SegmentedTabs.tsx" }, { icon: "term", label: "Verify build", pill: "npm run lint" }, ]} diffs={[ { file: "globals.css", add: "+13", del: null }, { file: "SegmentedTabs.tsx", add: "+74", del: "-41" }, ]} /> );}Add it with the ComposeUI CLI, or copy the source manually.
traces{ icon: TraceIcon; label: string; pill: string }[]Chronological tool execution lines inside the expandable trace block.
diffsDiffChip[]Interactive file pills displaying +/- line deltas and inline hunk previews.
defaultExpandedbooleanExpands the tool log header by default.
trueUpdated December 2026