Skip to content

AgentInputMessage

Defined in: packages/protocol/src/lib/envelope.ts:142

A client.agent.input frame: carries one AgentInput from a client to the Agent Session of sessionId. The inner input keeps its own type discriminator, which cannot collide with transport frame types.

id: MessageId

Defined in: packages/protocol/src/lib/envelope.ts:149

Identifies this frame on the transport. Agent correlation uses the inner inputId and changeId fields.


input: AgentInput

Defined in: packages/protocol/src/lib/envelope.ts:153

The agent input carried by this frame.


sessionId: SessionId

Defined in: packages/protocol/src/lib/envelope.ts:151

Session whose Agent Session receives the input.


type: "client.agent.input"

Defined in: packages/protocol/src/lib/envelope.ts:144

Frame discriminator.