Skip to content

AgentRunBase

AgentRunBase = object

Defined in: packages/client/dist/lib/orchestrator/agent-run-state.d.ts:67

Fields every Agent Run state carries, whatever its status.

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

readonly changeErrors: readonly AgentRunChangeError[]

Defined in: packages/client/dist/lib/orchestrator/agent-run-state.d.ts:85

Failed UI changes of the run in arrival order, kept apart from changes because their change may never have been applied.


readonly changes: readonly AgentRunChange[]

Defined in: packages/client/dist/lib/orchestrator/agent-run-state.d.ts:80

Applied UI changes in arrival order.


readonly inputId: MessageId

Defined in: packages/client/dist/lib/orchestrator/agent-run-state.d.ts:69

The input that started the run, as returned by sendMessage.


readonly placeholder: string | null

Defined in: packages/client/dist/lib/orchestrator/agent-run-state.d.ts:71

The latest placeholder text to show while the agent works.


readonly reply: string

Defined in: packages/client/dist/lib/orchestrator/agent-run-state.d.ts:76

Streamed text of the current model turn, replaced by the final reply when the run finishes with one.


readonly turnId: string | null

Defined in: packages/client/dist/lib/orchestrator/agent-run-state.d.ts:78

The model turn the streamed reply belongs to.