/** * Wires the parallel-sub-agent capability into a live AgentController. * * The AgentSpawningModule was previously orphaned — it required an * LLMProvider instance at construction time, but providers are * created per-send in AgentSession, so there was no clean way to * register it during runtime construction. This wiring closes the * gap: a tool suite is registered AFTER the controller exists, and * the tool handler builds a fresh provider matching the controller's * current model selection per invocation. * * Use it from createAgentController: * wireAgentSpawning(controller); */ import type { AgentSession, ModelSelection } from './agentSession.js'; export interface SpawningWiringDeps { session: AgentSession; workingDir: string; getSelection: () => ModelSelection; } export declare function wireAgentSpawning(deps: SpawningWiringDeps): void; //# sourceMappingURL=agentSpawningWiring.d.ts.map