Skip to content

AgentUtteranceInput

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

A user utterance sent to the agent.

The agent loop is experimental in 0.3 and may change in any minor release.

chart: ChartRequest

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

Current Chart state when the user spoke.


inputId: MessageId

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

Client-assigned id for deduplication and correlation.


source: "text" | "voice"

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

Whether the text was typed or transcribed from voice.


text: string

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

What the user said or typed.


type: "utterance"

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

Member discriminator.


version: 1

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

Agent wire version, always AGENT_WIRE_VERSION.