/**
 * Manage mode agent definition — sink orchestration mode.
 *
 * Delegates all work to subagents. No direct file/spreadsheet access.
 * Explicit /manage can enter it, but it does not switch out again.
 */
import { MODE } from '../../../mode-names.js';
import { EXECUTE_TOOL, GET_TOOL_INFO, MCP_TOOL_NAMES, SEND_MESSAGE, TASK } from '../../../tool-names.js';
import { buildManagePrompt } from './prompt.js';
const DESCRIPTION = 'Orchestration mode — decomposes complex tasks, delegates to subagents in parallel, and synthesizes results.';
const TOOLS = [TASK, SEND_MESSAGE, GET_TOOL_INFO, EXECUTE_TOOL, ...MCP_TOOL_NAMES];
/** Construct the manage-mode agent definition that orchestrates work via subagents. */
export function manageAgent() {
    return {
        name: MODE.MANAGE,
        description: DESCRIPTION,
        systemPrompt: buildManagePrompt(),
        tools: TOOLS
    };
}
//# sourceMappingURL=agent.js.map