/** * Phase B — parallel Subagent fan-out knobs + concurrency helper. * * Concept: docs/architecture/orchestration-roadmap.md §Phase B * Naming: docs/naming.md (AGIM_SUBAGENT_PARALLEL*) * * Defaults (product choice 2026-07-29): * AGIM_SUBAGENT_PARALLEL ON when unset * AGIM_SUBAGENT_PARALLEL_MAX 3 (in-batch concurrency) * AGIM_NATIVE_CALL_AGENT_MAX_PER_TURN 6 (raised from 3) */ export declare const SUBAGENT_PARALLEL_MAX_DEFAULT = 3; export declare const CALL_AGENT_MAX_PER_TURN_DEFAULT = 6; /** Hard ceiling on tasks[] length regardless of env (abuse guard). */ export declare const CALL_AGENTS_TASKS_HARD_MAX = 8; /** Parallel fan-out for mcp__agim__call_agents. Default ON; set 0|off|false|no to serialize. */ export declare function isSubagentParallelEnabled(): boolean; /** Max concurrent Subagent runs inside one call_agents batch. Default 3. */ export declare function getSubagentParallelMax(): number; /** Per-turn call_agent + call_agents task budget. Default 3; 0 disables. */ export declare function getCallAgentMaxPerTurn(): number; /** * Run `fn` over items with a fixed worker pool. Order of results matches * input order (allSettled-style: one failure does not cancel siblings — * callers should catch inside `fn`). */ export declare function mapPool(items: readonly T[], concurrency: number, fn: (item: T, index: number) => Promise): Promise; //# sourceMappingURL=subagent-parallel.d.ts.map