Expand description
Reusable tabled table widgets for command output.
Pure shaping and rendering: each function turns domain records into a rendered table string. Callers decide where the string is printed, so the row shaping stays testable without a terminal.
Functionsยง
- ai_
requests_ table - artifact_
list_ table - context_
list_ table - db_
tables_ table - execution_
steps_ table - extract_
latency_ from_ metadata - Pulls the event-type-appropriate latency field out of raw JSON metadata.
- format_
metadata_ value - Formats a trace metadata value for display, giving cost/latency/token keys their unit-aware form.
- mcp_
tool_ calls_ table - task_
artifacts_ table - Renders one row per distinct artifact id, keeping first-seen order.
- task_
info_ table - trace_
events_ table - Renders trace events with inter-event deltas; empty input yields an empty string.
- truncate_
cell - Flattens newlines and truncates to
max_len, appending...when cut.