Skip to main content

Module state

Module state 

Source
Expand description

Disposable UI projections reduced from protocol-10 stored events.

Assistant attribution is derived only from the frozen RunStarted plus ModelAttemptStarted/ModelTurnCommitted ownership — never from the current picker, live agent files, or provider configuration. The visible assistant header projects the exact canonical Agent • Model[variant].

Structs§

ApprovalState
One durable approval request projected for internal evaluation and, only after escalation, possible user interaction.
FrozenAssistantAttribution
Frozen producing identity for one assistant attempt/turn, reduced from the exact protocol-10 attempt and turn ownership events.
PendingInput
One steered message the engine admitted into its pending-input lane but has not yet promoted to the model-facing log. Pure event reduction: the lane is exactly what UserInputAdmitted/UserInputSubmitted and the recall events describe, so replays rebuild it identically.
RuntimeState
SessionState
Per-session projection of persisted events and live output.
StateStore
All currently observed session projections.
ToolCallState
A tool invocation displayed inside its owning assistant item. The compact title uses only the persisted ToolCallPresentation; raw arguments appear only in the expanded detail. The persisted display argument is byte-capped but may still carry control characters, so render sites flatten it.

Enums§

AssistantChild
One ordered child segment inside an assistant item, owned by the committed turn/tool ownership events. There are no top-level reasoning or tool items.
DeliveryOutcome
Result of reducing one item from the client’s ordered delivery stream.
EventLevel
Leveled diagnostic severity for TUI-only event rows. This is a display projection classification; durable protocol events are unchanged.
ProducerMessageStatus
RuntimePhase
ToolStatus
The visible state of a tool invocation, reduced from the exact protocol-10 termination outcome. Failed, cancelled, and interrupted stay distinct.
TranscriptItem
One rendered conversation item.

Constants§

EMPTY_RUNTIME_GUIDANCE