Click a row for its details
Click a row for its details. Use the arrows to fold a branch.
Every model call, tool call and sub-agent of a run as a bar on a live timeline, with cost and tokens per step.
The run plays at six times speed and loops. The time axis widens as the run grows. Click a row for its details, the chevron or Left and Right arrows to fold a branch, Up and Down to move. A folded branch keeps its calls as small marks on its bar. The slowest finished call is tagged.
Options for the assembled component.
spans*Span[]Id, parent, kind, title, start, duration, cost, tokens and an optional failure.
now*numberClock value in milliseconds. Spans that have not started stay hidden.
task*stringText next to the title.
titlestringHeader title. Defaults to Trace.
defaultFoldedReadonlySet<string>Span ids that start folded.
_trace-waterfall/trace-waterfall.tsxHolds folds and the selected row, handles keys and places the details card.
_trace-waterfall/trace-header.tsxTitle, task, live state and six totals.
_trace-waterfall/trace-row.tsxOne span: name column, bar, marks and the duration tag.
_trace-waterfall/span-popover.tsxDetails for one span: status, duration, cost, tokens, error and input.
_trace-waterfall/trace-axis.tsxAxis ticks and the now line.
_trace-waterfall/trace-model.tsTurns spans and a clock value into rows, totals and the axis range.
_trace-waterfall/use-trace-clock.tsPlays a run at a chosen speed, holds the end and loops.
Recreated from the behavior of a reference trace view. Colors and spacing are the reference values for now.
Click a row for its details
Click a row for its details. Use the arrows to fold a branch.