AgentEventMessage
Defined in: packages/protocol/src/lib/envelope.ts:425
An engine.agent.event frame: carries one AgentEvent from the Agent
Session of sessionId to its client. Events are streamed and correlate to
inputs through the inner event’s inputId or changeId, not to a request,
so the frame carries its own id rather than a requestId.
The agent loop is experimental in 0.3 and may change in any minor release.
Properties
Section titled “Properties”event:
AgentEvent
Defined in: packages/protocol/src/lib/envelope.ts:436
The agent event carried by this frame.
id:
MessageId
Defined in: packages/protocol/src/lib/envelope.ts:432
Identifies this frame on the transport. Agent correlation uses the inner
inputId and changeId fields.
sessionId
Section titled “sessionId”sessionId:
SessionId
Defined in: packages/protocol/src/lib/envelope.ts:434
Session whose Agent Session emitted the event.
type:
"engine.agent.event"
Defined in: packages/protocol/src/lib/envelope.ts:427
Frame discriminator.