Expand description
Replay-safe state for expensive tool, thought, terminal, and diff details.
The model stores source text but does not parse, wrap, or render it. New records start collapsed, so a renderer can show a cheap summary and defer materializing the detail until the user explicitly expands it. All state changes are represented as serializable events and can be replayed without a terminal or UI.
Structs§
- Detail
Model - Ordered detail state with stable IDs. Upserting an existing record keeps its insertion position and its expansion state, which prevents a streaming terminal/tool update from unexpectedly re-expanding expensive output.
- Detail
Record - A detail record.
contentremains unparsed until a caller asks for it.
Enums§
- Detail
Event - The complete event vocabulary for detail state. Events are pure data and can be persisted beside the normalized agent event stream.
- Detail
Kind - The kinds of content that may be expensive to display.