/**
 * Ask mode agent definition — read-only analysis mode.
 *
 * Reviews, audits, and explains spreadsheet content without modification.
 * This is a sink state: the agent cannot switch out of ask mode.
 */
import { MODE } from '../../../mode-names.js';
import { BASH, EXECUTE_CODE, EXECUTE_TOOL, FIND, GET_TOOL_INFO, GREP, LLM_ANALYSIS, LS, MCP_TOOL_NAMES, READ } from '../../../tool-names.js';
import { buildAskPrompt } from './prompt.js';
const DESCRIPTION = 'Read-only analysis mode — reviews, audits, and explains spreadsheet content. Switch to ask mode for user queries that center on audit, review, and understanding without any spreadsheet modifications.';
const TOOLS = [
    BASH,
    EXECUTE_CODE,
    READ,
    GREP,
    FIND,
    LS,
    LLM_ANALYSIS,
    GET_TOOL_INFO,
    EXECUTE_TOOL,
    ...MCP_TOOL_NAMES
];
export function askAgent() {
    return {
        name: MODE.ASK,
        description: DESCRIPTION,
        systemPrompt: buildAskPrompt(),
        tools: TOOLS
    };
}
//# sourceMappingURL=agent.js.map