Expand description
The data model shared by discovery, the TUI and the JSON output.
Structs§
- Agent
- A single row in the agent table.
- Host
Stats - Proc
Node - One process, with its descendants.
- Snapshot
- Everything the UI needs for one frame.
- Token
Usage - Token counts, split the way the Anthropic and OpenAI usage objects split them.
- Tool
Span - One span of an agent trace: a tool call, an inference, or a turn.
- Totals
Enums§
- Activity
- What the transcript says the agent was last doing. Harness-neutral.
- Agent
State - Coarse lifecycle state, in the htop sense.
- Attribution
- Harness
- Which agent harness a process or transcript belongs to.
- Proc
Kind - Role of a process inside an agent’s tree.
- Span
Kind - What a span measures. Tool calls came first and gave the type its name; the other two label the time between them.
Constants§
- SNAPSHOT_
SCHEMA_ VERSION - Version of the
--jsondocument. Bumped when a field changes meaning or disappears; new fields alone do not bump it.