Expand description
Shared types for agent events.
This module provides types used across multiple Aether packages:
- Agent event types (
AgentEvent,Command) - ACP protocol extension payloads (
SubAgentProgressPayload)
Structs§
- Context
Usage - Context/token usage reported after an LLM call.
- Retry
Info - A retry of a failed LLM call.
- SubAgent
Progress Payload - Payload for sub-agent progress updates emitted by MCP tools.
Enums§
- Agent
Command - Runtime-internal operations that modify agent state without user interaction.
- Agent
Event - A canonical event on the agent’s output stream.
- Command
- The unified command type sent to the agent input channel.
- Context
Event - Context lifecycle events.
- LlmCall
Outcome - How a single LLM call ended.
- LlmCall
Purpose - What an LLM call was issued for.
- Message
Event - Streaming message content from the agent.
- Model
Event - Model configuration events.
- Tool
Event - Tool call lifecycle events.
- Turn
Event - Turn lifecycle events.
- Turn
Outcome - How a turn reached its terminal state.
- User
Command - User-initiated actions that the agent processes as part of normal interaction.
Traits§
- Agent
Observer - Observer of the agent’s event stream. Observers receive the same events the agent sends on its event channel, synchronously and in order — including events that channel consumers such as UIs and session persistence filter out downstream.