eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
20 lines (19 loc) • 905 B
TypeScript
/**
* Starts every pending runtime action for the parked parent session.
*
* Each child run starts in task mode, emits a parent `subagent.called`
* control-plane event, and then runs independently on its own child
* stream. Records each child's continuation token on the parent
* session and returns the updated snapshot-bearing state.
*/
import type { RuntimeSubagentResultActionResult } from "#runtime/actions/types.js";
import { type DurableSessionState } from "#execution/durable-session-store.js";
export declare function dispatchRuntimeActionsStep(input: {
readonly callbackBaseUrl?: string;
readonly parentWritable: WritableStream<Uint8Array>;
readonly serializedContext: Record<string, unknown>;
readonly sessionState: DurableSessionState;
}): Promise<{
readonly results: readonly RuntimeSubagentResultActionResult[];
readonly sessionState: DurableSessionState;
}>;