Skip to content
providerkit
GitHub

RunInfo

Defined in: react/src/protocol.ts:290

optional error?: DisplayError;

Defined in: react/src/protocol.ts:305


optional id?: string;

Defined in: react/src/protocol.ts:294

The logical run. It stays the same when an approval continues the run in a new segment, and it is never reused for the next run: once a run ended, a client ignores a later running under the same id. Leave it out when the host has no such id.


optional messageId?: string;

Defined in: react/src/protocol.ts:297

The message this run is writing.


optional owner?: ConversationOwner;

Defined in: react/src/protocol.ts:298


optional remoteState?:
| "completed"
| "failed"
| "unknown"
| "submitted"
| "working"
| "input_required"
| "auth_required"
| "canceled"
| "rejected";

Defined in: react/src/protocol.ts:302

Last confirmed peer state when the root itself is remote.


status: RunStatus;

Defined in: react/src/protocol.ts:295


optional waitingFor?: "response" | "continuation";

Defined in: react/src/protocol.ts:300

A paused run may need no human answer. No client timer starts or resumes execution.


optional wakeAt?: number;

Defined in: react/src/protocol.ts:304

Earliest saved wake time, when the host supplies an authoritative snapshot.