Skip to content

AgentErrorEvent

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

A failure outside any Agent Run.

optional changeId?: ChangeId

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

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:394

Optional machine-readable failure kind with no closed taxonomy.


error: string

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

Human-readable failure description.


optional inputId?: MessageId

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

The offending input, when there is one.


type: "error"

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

Member discriminator.


version: 1

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

Agent wire version, always AGENT_WIRE_VERSION.