/** * Spawn Agent Tool - Unified spawn: role=coder|planner|tester|researcher. * Ported from mcp-supersubagents, adapted for OpenCode. */ import type { ToolContext } from '../types.js'; export declare const spawnAgentTool: { name: string; description: string; inputSchema: { type: "object"; properties: { role: { type: string; enum: ("coder" | "planner" | "tester" | "researcher")[]; description: string; }; prompt: { type: string; description: string; }; context_files: { type: string; items: { type: string; properties: { path: { type: string; description: string; }; description: { type: string; description: string; }; }; required: string[]; }; description: string; }; specialization: { type: string; description: string; }; model: { type: string; enum: string[]; description: string; }; cwd: { type: string; description: string; }; timeout: { type: string; description: string; }; autonomous: { type: string; description: string; }; depends_on: { type: string; items: { type: string; }; description: string; }; labels: { type: string; items: { type: string; }; description: string; }; }; required: string[]; }; }; export declare function handleSpawnAgent(args: unknown, ctx?: ToolContext): Promise<{ content: Array<{ type: string; text: string; }>; isError?: true; }>; //# sourceMappingURL=spawn-agent.d.ts.map