/** * Starts or continues every pending runtime action for the parked parent * session. * * The batch is classified into a dispatch plan first (reject / resume / * start), then each entry dispatches and emits one * parent `subagent.called` control-plane event through a single tail. * Every start commits an agent handle (`starting`) before its side effect * and confirms it (`running`) once the child reports coordinates, so the * returned snapshot-bearing state owns every child it may have created. */ import type { RuntimeSubagentResult } from "#runtime/actions/types.js"; import { type DurableSessionState } from "#execution/durable-session-store.js"; export declare function dispatchRuntimeActionsStep(input: { readonly callbackBaseUrl?: string; /** Internal hook that receives child completion and HITL payloads. */ readonly parentContinuationToken?: string; readonly parentWritable: WritableStream; readonly serializedContext: Record; readonly sessionState: DurableSessionState; }): Promise<{ readonly results: readonly RuntimeSubagentResult[]; readonly sessionState: DurableSessionState; }>;