"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatToolOk = formatToolOk;
exports.formatToolError = formatToolError;
exports.formatToolActionResult = formatToolActionResult;
const tool_1 = require("../tool");
function formatToolOk(language) {
    return language === 'zh' ? '完成' : 'OK';
}
function formatToolError(language) {
    return language === 'zh' ? '错误' : 'Error';
}
function formatToolActionResult(language, action) {
    if (language === 'zh') {
        switch (action) {
            case 'added':
                return (0, tool_1.toolSuccess)('已添加');
            case 'deleted':
                return (0, tool_1.toolSuccess)('已删除');
            case 'updated':
                return (0, tool_1.toolSuccess)('已更新');
            case 'cleared':
                return (0, tool_1.toolSuccess)('已清空');
            case 'mindCleared':
                return (0, tool_1.toolSuccess)('已清理头脑');
            case 'mindChanged':
                return (0, tool_1.toolSuccess)('已更新想法');
            default: {
                const _exhaustive = action;
                return _exhaustive;
            }
        }
    }
    switch (action) {
        case 'added':
            return (0, tool_1.toolSuccess)('Added');
        case 'deleted':
            return (0, tool_1.toolSuccess)('Deleted');
        case 'updated':
            return (0, tool_1.toolSuccess)('Updated');
        case 'cleared':
            return (0, tool_1.toolSuccess)('Cleared');
        case 'mindCleared':
            return (0, tool_1.toolSuccess)('Mind cleared');
        case 'mindChanged':
            return (0, tool_1.toolSuccess)('Mind changed');
        default: {
            const _exhaustive = action;
            return _exhaustive;
        }
    }
}
