AgentErrorEvent
Defined in: packages/protocol/src/lib/agent-wire.ts:471
A failure the Engine detects after the frame decoded that is not the run’s
own ending, such as an unknown ui_applied or a failed loop-driven UI
change.
The agent loop is experimental in 0.3 and may change in any minor release.
Properties
Section titled “Properties”changeId?
Section titled “changeId?”
optionalchangeId?:ChangeId
Defined in: packages/protocol/src/lib/agent-wire.ts:483
The UI change the failure belongs to: the change a failed ui_applied
refers to, or a loop-driven change whose planning failed or whose
acknowledgement timed out.
optionalcode?:string
Defined in: packages/protocol/src/lib/agent-wire.ts:493
Optional machine-readable failure kind with no closed taxonomy.
error:
string
Defined in: packages/protocol/src/lib/agent-wire.ts:491
Human-readable failure description.
inputId?
Section titled “inputId?”
optionalinputId?:MessageId
Defined in: packages/protocol/src/lib/agent-wire.ts:477
The offending input, when there is one.
runId?
Section titled “runId?”
optionalrunId?:RunId
Defined in: packages/protocol/src/lib/agent-wire.ts:489
The run whose loop-driven UI change failed. The event can arrive after that
run’s finished, and its changeId may name a change that no ui_change
carried, because a change is named before it is planned.
type:
"error"
Defined in: packages/protocol/src/lib/agent-wire.ts:473
Member discriminator.
version
Section titled “version”version:
1
Defined in: packages/protocol/src/lib/agent-wire.ts:475
Agent wire version, always AGENT_WIRE_VERSION.