Skip to content

Interface: PendingToolBatch ​

Defined in: ports/pending-tool-batch.ts:62

Durable turn-batch state persisted on agent-frame across tool executions, fork/speculate sub-frames, prerequisite suspensions, and interrupt adjudications.

Guarantees that every tool_use block (1..k) in an assistant turn is executed or resolved in strict declaration order before emitting the single pairing role: 'tool' wire frame.

Properties ​

PropertyModifierTypeDescriptionDefined in
activeInterruptCallId?readonlystringOptional callId of an active post-flight rollback or voluntary interrupt tool awaiting .resumeWith().ports/pending-tool-batch.ts:68
adjudicationFeedback?readonlystringOptional adjudication feedback persisted when .resumeWith(feedback) begins draining remainingCalls.ports/pending-tool-batch.ts:70
blockedCallsreadonlyreadonly PendingPreFlightCall[]Pre-flight or post-flight blocked tool calls awaiting adjudication.ports/pending-tool-batch.ts:66
completedResultsreadonlyreadonly CompletedToolBatchResultRecord[]Already completed tool results (1..m) in the current assistant turn.ports/pending-tool-batch.ts:64
remainingCallsreadonlyreadonly RemainingToolCallRecord[]Declaration-ordered queue of unfinished tool calls (i..k) remaining in the assistant turn.ports/pending-tool-batch.ts:72

Released under the MIT License.