Skip to content

AgentUtteranceInput

Defined in: packages/protocol/src/lib/agent-wire.ts:129

A user utterance sent to the agent.

chart: ChartRequest

Defined in: packages/protocol/src/lib/agent-wire.ts:139

Current Chart state when the user spoke.


inputId: MessageId

Defined in: packages/protocol/src/lib/agent-wire.ts:135

Client-assigned id for deduplication and correlation.


source: "text" | "voice"

Defined in: packages/protocol/src/lib/agent-wire.ts:141

Whether the text was typed or transcribed from voice.


text: string

Defined in: packages/protocol/src/lib/agent-wire.ts:137

What the user said or typed.


type: "utterance"

Defined in: packages/protocol/src/lib/agent-wire.ts:131

Member discriminator.


version: 1

Defined in: packages/protocol/src/lib/agent-wire.ts:133

Agent wire version, always AGENT_WIRE_VERSION.