/** * Durable session orchestration v1.0.68 — FROZEN. * * Frozen at the release state, before provider budgets. 1.0.69 changes the * schedule: a session paused on a budget must NOT have its interrupted wait * blindly re-armed after the turn that woke it, and deciding that needs a * durable re-check. Replay-only maintenance from here; live development * continues in ../orchestration/. * * Flat event loop backed by a KV FIFO work buffer: * 1. `createRuntime` builds the mutable runtime and runs startup gates. * 2. `runLoop` repeatedly drains the durable message queue + timer fires into * the KV FIFO, dispatches one unit of work, and continues-as-new when idle. * * Module layout: * - state.ts types, constants, createInitialState * - utils.ts pure helpers (prompt parsing, context usage, error checks) * - lifecycle.ts status, releaseAffinity, commands, child digest, CAN * - queue.ts KV FIFO, drain, decide * - turn.ts processPrompt, handleTurnResult, processTimer * - agents.ts sub-agent tracking, tool actions, shutdown cascade * - runtime.ts createRuntime, runLoop * * @internal */ import type { OrchestrationInput } from "../types.js"; import { CURRENT_ORCHESTRATION_VERSION } from "./runtime.js"; export { CURRENT_ORCHESTRATION_VERSION }; export declare function durableSessionOrchestration_1_0_68(ctx: any, input: OrchestrationInput): Generator; //# sourceMappingURL=index.d.ts.map