eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
22 lines (21 loc) • 1.04 kB
TypeScript
/**
* Dispatches runtime actions originating from code mode.
*
* Reads the pending code mode runtime action from session state,
* builds a runtime action request from the interrupt payload, stores
* it as a temporary PendingRuntimeActionBatch, and delegates to the
* standard dispatch step. The batch is only needed for dispatch —
* the harness never sees it because results flow through
* continuePendingCodeModeRuntimeAction, not resolvePendingRuntimeActions.
*/
import type { RuntimeSubagentResultActionResult } from "#runtime/actions/types.js";
import { type DurableSessionState } from "#execution/durable-session-store.js";
export declare function dispatchCodeModeRuntimeActionsStep(input: {
readonly callbackBaseUrl?: string;
readonly parentWritable: WritableStream<Uint8Array>;
readonly serializedContext: Record<string, unknown>;
readonly sessionState: DurableSessionState;
}): Promise<{
readonly results: readonly RuntimeSubagentResultActionResult[];
readonly sessionState: DurableSessionState;
}>;