Skip to content

AgentErrorEvent

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

A failure outside any Agent Run.

optional changeId?: ChangeId

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

The UI change the failure belongs to. Set for failures of a ui_applied input, such as an unknown or stale changeId, because that input carries no inputId.


optional code?: string

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

Optional machine-readable failure kind with no closed taxonomy.


error: string

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

Human-readable failure description.


optional inputId?: MessageId

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

The offending input, when there is one.


type: "error"

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

Member discriminator.


version: 1

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

Agent wire version, always AGENT_WIRE_VERSION.