Expand description
Event types for the managed agent runtime.
Defines UserEvent (client → agent) and SessionEvent (agent → client),
conforming to CANON §3.4 wire shapes. Both enums are #[non_exhaustive]
for forward-compatible additive evolution.
Enums§
- Confirmation
Result - Result of a tool confirmation request.
- Session
Event - Agent-to-client event. Each carries a monotonic
seqper session. - Stop
Reason - Why a turn ended. Included in
status.idleevents. - User
Event - Client-to-agent event. Discriminated by
typefield for wire serialization.