/**
 * Action mode agent definition - the primary execution mode.
 *
 * Provides the spreadsheet execution tool set for making changes to the workbook.
 * Can switch to plan or installation mode.
 */
import { MODE } from '../../../mode-names.js';
import { ACTION_SWITCH_MODE, BASH, EXECUTE_CODE, EXECUTE_TOOL, GET_TOOL_INFO, MCP_TOOL_NAMES, REFRESH_CONTEXT, SEND_MESSAGE, TASK, WRITE } from '../../../tool-names.js';
import { buildActionPrompt } from './prompt.js';
const DESCRIPTION = 'Execute changes to the spreadsheet.';
const TOOLS = [
    BASH,
    WRITE,
    EXECUTE_CODE,
    TASK,
    SEND_MESSAGE,
    ACTION_SWITCH_MODE,
    REFRESH_CONTEXT,
    GET_TOOL_INFO,
    EXECUTE_TOOL,
    ...MCP_TOOL_NAMES
];
/** Construct the action-mode agent definition with the full execution toolset. */
export function actionAgent() {
    return {
        name: MODE.ACTION,
        description: DESCRIPTION,
        systemPrompt: buildActionPrompt(),
        tools: TOOLS,
        switchTo: [MODE.PLAN, MODE.INSTALLATION]
    };
}
//# sourceMappingURL=agent.js.map