Expand description
Runtime status - mode/model state, available models/commands/agents, rate-limit views, retry classification, session status, terminal reason, monitor records. Wire-shape state the agent ↔ UI channel passes around to describe “what’s the live session doing right now”.
Re-exports§
use serde::Deserialize;🔒use serde::Deserialize;🔒use serde::Serialize;🔒use serde::Serialize;🔒use crate::messages::RateLimitStatus;🔒use crate::messages::TaskUsage;🔒
Structs§
- ApiRetry
Update - Available
Agent - Available
Command - Available
Model - Current
Model - Mode
Info - Mode
State - Monitor
Record - One Monitor this session has running or has finished: the tool call that started it, the CLI’s task id once the wire names one, and where it got to.
- Rate
Limit Update - Session
Turn State - Per-session SDK turn state - model-resolution cache, mode
capability state, MCP per-server cooldowns, and the auth/error
flags that survive across messages. Held authoritatively by
forge-workspace; a view projects from there. - Settings
Parse Error Update - Subagent
Call - One call in a card’s tail: the tool, what it named, and how it ended.
- Subagent
Card - One sub-agent instance as a view draws its card: a
Task/Agentdispatch joined with the frames that ran under it.
Enums§
- ApiRetry
Error - Effort
Level - Machine
Turn - The machine turn running on a seat, which takes its composer away.
- Monitor
Status - Lifecycle status of a Monitor (
Monitortool_use). - Runtime
Session State - Session
Lifecycle State - Lifecycle state of a session.
forge-workspacederives one per session for the roster a view reads, and one per worker forWorkerStatus::activity. The two derivations are independent and need not agree. - Subagent
Call Status - How one of an instance’s calls ended.
- Terminal
Reason - Why a turn ended - surfaced by
AgentEvent::TurnComplete/TurnErrorto the UI for status-line classification.