AgentEventMessage
Defined in: packages/protocol/src/lib/envelope.ts:414
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.
Properties
Section titled “Properties”event:
AgentEvent
Defined in: packages/protocol/src/lib/envelope.ts:425
The agent event carried by this frame.
id:
MessageId
Defined in: packages/protocol/src/lib/envelope.ts:421
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:423
Session whose Agent Session emitted the event.
type:
"engine.agent.event"
Defined in: packages/protocol/src/lib/envelope.ts:416
Frame discriminator.