Expand description
Bidirectional HTTP event channel for the agent session.
The channel runs an embedded HTTP server that provides two endpoints:
POST /inject— External callers push events into the agent context. The event payload is injected as a system message into the conversation.GET /events— External callers subscribe to the agent’s TurnEvent stream via Server-Sent Events (SSE).
Topics use glob patterns for subscription matching (e.g. "github.*",
"ci.*", "*").
Structs§
- Event
Channel - A running bidirectional HTTP event channel.
- Event
Channel Config - Top-level configuration for the embedded HTTP event channel.
- External
Event - An event pushed from outside into the agent session.
- Subscription
- A single topic subscription pattern.