Skip to content

AgentUiChangeEvent

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

A UI change for the browser to apply.

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

changeId: ChangeId

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

Id the browser echoes when it acknowledges the change.


response: MaelstromResponse

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

The MaelstromResponse to apply: layout first, then the Execution Plan.


runId: RunId | null

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

The Agent Run that caused the change, or null outside any run.


type: "ui_change"

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

Member discriminator.


version: 1

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

Agent wire version, always AGENT_WIRE_VERSION.