Skip to main content

Module msg

Module msg 

Source

Structs§

ContextBreakdown
Per-category breakdown of context-window occupancy.
ContextWindow
Context-window occupancy snapshot for the current (root) session, surfaced in the statusline. Raw measurements only — any percentage is a presentation concern derived at the edges, with no policy (e.g. auto-compaction) baked in.
EventMsg
ExtensionRefreshed
MalformedToolArgs
McpServerInfo
McpToolInfo
McpToolParam
ModelSpec
OpMsg
ProviderSpec
The provider a session resolved to.
SessionInitialized
SessionOverrides
A patch of session overrides produced by every caller (CLI, TUI, gateway, external serve clients). None means “leave unchanged” for every field — there is exactly one meaning, regardless of who built the value.
SessionUpdate
Partial update to a live session’s mutable state. Each field is optional so a caller patches only what changed; absent fields are left untouched. Catalog-dependent fields are resolved before the update takes effect.
SkillMetadata
SubagentMetadata
ToolEnd
ToolUpdate
ToolUse
Usage
Token usage for one model response.

Enums§

AmbientKind
Which ambient feature produced an Evt::Ambient. Both run off the main conversation on a cheap model; they differ in trigger, prompt, and sink.
Effort
Requested output/reasoning effort for model turns, on an ordinal scale.
Evt
GoalCommand
A /goal sub-command carried by Op::Goal.
Op
PermissionMode
ReviewDecision
Scope
SessionEndReason
ToolEndStatus
TurnEndStatus
TurnPauseReason
WeightClass
Innate size/cost class of a model, set once per model in the catalog.