Skip to content

Graphorin API reference v0.13.8


Graphorin API reference / @graphorin/core / / PendingSubRun

Interface: PendingSubRun

Defined in: packages/core/src/types/run.ts:172

Stable

One sub-agent run parked on its parent because the child suspended awaiting approvals. state is a JSON-compatible snapshot of the suspended child run; in serialized form (the agent package's SerializedRunState) it carries the child's own version-stamped, secret-redacted snapshot, recursively.

Properties

PropertyModifierTypeDescriptionDefined in
statereadonlyRunStateSuspended child run state (carries the child's own pendingApprovals).packages/core/src/types/run.ts:180
targetAgentNamereadonlystringThe child agent's configured name (for diagnostics and usage folding).packages/core/src/types/run.ts:178
toolCallIdreadonlystringThe PARENT's toolCallId of the parked handoff / sub-agent call.packages/core/src/types/run.ts:174
toolNamereadonlystringThe parent-side tool name (transfer_to_<name> or the toTool name).packages/core/src/types/run.ts:176