Skip to content

Interface: PlanMutationParams<THandle> ​

Defined in: runtime/plan/plan-mutation-params.ts:33

Parameters for executing .mutatePlan() capability tools (spawnTasks, addDependencies, updatePartitionContract).

Consolidates the MutatePlanCapabilityNode, lane/run coordinates, stores, scope, and continuation state.

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownRuntime handle type of the active isolation scope.

Properties ​

PropertyModifierTypeDescriptionDefined in
agentFrame?readonlyAgentContinuationFrameActive AgentContinuationFrame when invoked from an agent tool call.runtime/plan/plan-mutation-params.ts:53
checkpointScope?readonlyCheckpointableScope<THandle, Record<string, unknown>>Optional CheckpointableScope used to snapshot headScopeCheckpoint on suspension.runtime/plan/plan-mutation-params.ts:67
continuationQueue?readonlyStepContinuationQueueOptional StepContinuationQueue serializing continuation updates.runtime/plan/plan-mutation-params.ts:61
contractUpdate?readonlyobjectPartition contract update payload when invoking updatePartitionContract.runtime/plan/plan-mutation-params.ts:51
contractUpdate.newContractTextreadonlystring-runtime/plan/plan-mutation-params.ts:51
contractUpdate.partitionIdreadonlystring-runtime/plan/plan-mutation-params.ts:51
ctxreadonlyStepExecutionContext<THandle>Step execution context.runtime/plan/plan-mutation-params.ts:69
dependencyKeysToAdd?readonlyreadonly string[]Existing prerequisite item keys when invoking addDependencies.runtime/plan/plan-mutation-params.ts:49
laneIdreadonlystringIdentifier of the enclosing LaneNode.runtime/plan/plan-mutation-params.ts:37
ledgerStorereadonlyLedgerStoreDurable LedgerStore instance.runtime/plan/plan-mutation-params.ts:59
mutatePlanNodereadonlyMutatePlanCapabilityNode<unknown>Passive .mutatePlan() capability AST node.runtime/plan/plan-mutation-params.ts:35
outerFrames?readonlyreadonly ContinuationFrame[]Outer continuation frames prefixing agentFrame.runtime/plan/plan-mutation-params.ts:55
parentItemKeyreadonlystringWork item deduplication key of the parent run.runtime/plan/plan-mutation-params.ts:39
parentPriority?readonly"low" | "high" | "normal" | "critical"Priority level of the parent run ('low' | 'normal' | 'high' | 'critical').runtime/plan/plan-mutation-params.ts:41
pendingToolBatch?readonlyPendingToolBatchPending tool batch saved inside PrerequisiteWaitPauseState when suspending.runtime/plan/plan-mutation-params.ts:57
previouslySpawnedCount?readonlynumberNumber of tasks already spawned by this run so far.runtime/plan/plan-mutation-params.ts:43
previousSpawnedTipKey?readonlystringItem key of the most recently spawned prerequisite tip ($T_{\text{prevTip}}$) for linear chaining.runtime/plan/plan-mutation-params.ts:45
serviceRegistry?readonlyServiceSessionRegistryOptional ServiceSessionRegistry quiesced when suspending.runtime/plan/plan-mutation-params.ts:65
tasksToSpawn?readonlyreadonly SpawnTaskInputEntry[]Spawned task entries when invoking spawnTasks.runtime/plan/plan-mutation-params.ts:47
topologyStore?readonlyTopologyStoreOptional TopologyStore instance for updatePartitionContract.runtime/plan/plan-mutation-params.ts:63

Released under the MIT License.