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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
state | readonly | RunState | Suspended child run state (carries the child's own pendingApprovals). | packages/core/src/types/run.ts:180 |
targetAgentName | readonly | string | The child agent's configured name (for diagnostics and usage folding). | packages/core/src/types/run.ts:178 |
toolCallId | readonly | string | The PARENT's toolCallId of the parked handoff / sub-agent call. | packages/core/src/types/run.ts:174 |
toolName | readonly | string | The parent-side tool name (transfer_to_<name> or the toTool name). | packages/core/src/types/run.ts:176 |