Run detail
One agent run: a status bar with time and cost, the step trail and trace, and every tool call with Retry on the failed one.
Install
Not exported from agentic-ds-kit. add copies the source into your app (components/patterns/run-detail/) with this contract beside it. You own the copy: replace the demo data, rearrange or drop sections, and keep the must lines.
Usage
What a copy keeps
The contract’s must lines: the kit look and accessibility. Ask before breaking one.
- Use kit components from agentic-ds-kit for anything the kit has; no local cousins (monitors, step lists, call cards, traces, dialogs)
- Semantic tokens only (agentic-ds-kit/tokens.css); no raw hex, no primitive --color-* ramps
- At most one appearance="solid" mode="primary" Button per view; a failed or running run has none
- Do not restyle kit components; change them through their props, slots, and tokens
- Render the page content inside a main landmark; the top bar is AppHeader (a header landmark) when wide and a nav named Back when narrow
- The run is one kit RunDetail with calls="all": every started step's ToolCallCard, the failed one open; Retry only on that ToolCallCard
- Stop run asks once in the kit AlertDialog before it ends the run; Pause keeps it resumable
- Status is always an icon and a word (monitor Badge, trail, calls), never colour alone
Defaults you can change
- Demo is Northwind's Invoice reconciler on INV-1842 (Halvorsen Freight): failed at Match payments, step 2 of 4; Running and Done states
- One agent, so no agents prop and no AgentTree; trace passes TraceWaterfall spans and shows compact under the trail
- Ask is a neutral sm outline Button with MessageCircle, in the PageHeader actions (wide) or the back bar (narrow)
- Below 640 the headline shortens to the step count, the meta line drops "today", and the trace hides; time and cost stay in the monitor bar
Built from
Related
- Component
AppHeader
Product top chrome: brand mark on the start, centered kit Input search, trailing actions.
- Component
PageHeader
Top-of-page title with optional Breadcrumb trail, subtitle, actions, page Tabs, a profile Avatar and a decorative cover.
- Block
Run detail
One agent run on one screen: clock, cost, pending approval and every step, all following the step you pick.