import type { OrchestrationInput } from "./types.js"; /** * Flat event loop durable session orchestration (v1.0.50). * * Replaces the nested while loops of v1.0.31 with a single * drain → decide → process loop backed by a KV FIFO work buffer. * * v1.0.50 added: * - idempotent dehydrate guard for sessions already marked dehydrated * - stale child-update digest suppression for untracked sub-agents * * v1.0.49 changes the sub-agent lifecycle: * - non-system sub-agents no longer auto-terminate when their final * assistant message arrives. Instead they fall through to the same * idle/dehydrate path as a top-level session and stay alive waiting * for `message_agent` follow-ups or explicit `complete_agent` / * `cancel_agent` / `delete_agent` from the parent. * - the same-name dedup guard on `spawn_agent(agent_name=...)` is * removed. The orchestration still enforces the global * `MAX_SUB_AGENTS` cap and per-spawn nesting limit. * * v1.0.48 added: * - interactive FIFO dispatch priority so user prompts/answers do not wait behind fired timers * * v1.0.47 added: * - clientMessageIds threaded from message → FIFO → runTurn → durable user.message * - consecutive prompt FIFO items batched into one Copilot turn * - cancel_pending_message tombstone tracking that drops cancelled prompts * * @internal */ export declare const CURRENT_ORCHESTRATION_VERSION = "1.0.79"; export declare function durableSessionOrchestration_1_0_50(ctx: any, input: OrchestrationInput): Generator; //# sourceMappingURL=orchestration_1_0_50.d.ts.map