openai-cli-unofficial
Version:
A powerful OpenAI CLI Coding Agent built with TypeScript
607 lines • 34.8 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.en = void 0;
exports.en = {
welcome: {
starting: 'Initializing...',
tagline: 'Powered by AIBotPRO',
menuPrompt: 'Select action',
menuOptions: {
start: 'Start Application',
config: 'System Configuration',
language: 'Language Settings',
help: 'Help Documentation',
exit: 'Exit Program'
},
menuDescription: {
start: 'Enter main application interface',
config: 'Configure API keys and preferences',
language: 'Switch language settings',
help: 'View help documentation',
exit: 'Exit program',
backToMenu: '← Return to main menu'
},
configCheck: {
title: 'Configuration Check',
incompleteConfig: '☆ Incomplete Configuration',
missingItems: 'Missing configuration items:',
baseUrl: '• API Base URL',
apiKey: '• API Key',
model: '• Default Model',
prompt: 'Please select an action:',
goToConfig: 'Go to Configuration',
continueAnyway: 'Continue Anyway (may not work properly)',
backToMenu: '← Back to Main Menu'
},
actions: {
startingMain: 'Launching main interface...',
startingConfig: 'Opening system configuration...',
changingLanguage: 'Switching language settings...',
devInProgress: 'This feature is under development',
farewell: 'Thank you for using OpenAI CLI Agent',
unknownAction: 'Unknown action option',
pressEnter: 'Press Enter to continue...'
},
help: {
title: 'OpenAI CLI Agent Help Documentation',
usage: 'Instructions',
usageCommands: {
interactive: 'openai-cli # Launch interactive interface',
version: 'openai-cli --version # Show version information',
help: 'openai-cli --help # Display help information'
}
},
updateCheck: {
newVersionAvailable: '🎉 New Version Available!',
currentVersion: 'Current Version',
latestVersion: 'Latest Version',
updateCommand: 'Update Command:',
updatePrompt: 'Would you like to update now?',
updateNow: 'Update Now',
skipUpdate: 'Skip Update',
updateDescription: 'Download and install the latest version',
skipDescription: 'Update manually later',
updating: 'Updating...',
manualUpdate: 'Please run the following command to update manually:',
updateInstructions: 'Please restart the application after the update',
updateFailed: 'Update failed, please update manually',
updateSuccess: '✅ Update Successful!',
restartRequired: '⚠️ Restart Required',
restartInstructions: 'Please restart your terminal or re-run the openai-cli command to use the new version',
errorDetails: 'Error Details'
}
},
main: {
title: 'OpenAI CLI Coding Agent',
subtitle: 'Start chatting with AI assistant for coding help',
welcomeBox: {
title: 'Welcome',
description: 'Start chatting with AI assistant for coding help',
configInfo: 'Current Directory: {currentDir}\nBase URL: {baseUrl}\nAPI Key: {apiKey}'
},
prompt: '>> ',
status: {
cannotSendMessage: 'Cannot send message now, please wait...',
thinking: 'thinking...',
configMissing: 'API configuration incomplete, please configure API settings first',
connectionError: 'Connection failed, please check network and API configuration',
streamingResponse: 'Receiving response...',
unknownError: 'Unknown error'
},
commands: {
exit: {
name: '/exit',
description: 'Exit program'
},
clear: {
name: '/clear',
description: 'Clear chat history'
},
help: {
name: '/help',
description: 'Show help information'
},
config: {
name: '/config',
description: 'Configuration settings'
},
history: {
name: '/history',
description: 'View chat history'
},
editHistory: {
name: '/edit-history',
description: 'Edit chat history records'
},
init: {
name: '/init',
description: 'Initialize project documentation'
},
exportHistory: {
name: '/export-history',
description: 'Export chat history'
},
importHistory: {
name: '/import-history',
description: 'Import chat history'
},
checkpoint: {
name: '/checkpoint',
description: 'View history modification checkpoints, restore modifications, and clear checkpoints'
}
},
messages: {
configInDevelopment: 'Configuration feature is under development...',
noHistory: 'No chat history',
historyTitle: 'Chat History',
totalMessages: 'Total {count} messages',
user: 'User',
ai: 'AI',
userLabel: '● User',
aiLabel: '◎ AI Assistant',
toolLabel: '◆ Tool',
unknownCommand: 'Unknown command: {command}',
codeBlock: {
lineLabel: 'Line',
unknownLanguage: 'Unknown Language'
},
markdown: {
codeInline: 'Code',
linkText: 'Link',
listItem: 'Item'
},
streaming: {
receiving: 'Receiving response...',
processing: 'Processing...',
completed: 'Response completed'
},
system: {
basePrompt: '# Role:\n' +
'- You are a professional AI programming assistant with the following characteristics:\n' +
'- Proficient in multiple programming languages and frameworks\n' +
'- Capable of providing clear and accurate technical solutions\n' +
'- Possess extensive software development experience\n' +
'- Skilled at explaining complex technical concepts\n' +
'- Focus on code quality and best practices\n' +
'- **Tool Usage Expert**: You must proactively and frequently use tools to understand projects and verify code\n' +
'{role}\n\n' +
'# Tool Usage Rules (MUST be strictly followed):\n' +
'- **One Tool at a Time**: You must strictly adhere to the "one tool per step" principle. In each response, you are only allowed to call one tool. It is strictly forbidden to call multiple tools sequentially or in parallel in a single response.\n' +
'- **Independent JSON Arguments**: The arguments for each tool must be a single, well-formed JSON object. It is strictly forbidden to concatenate multiple JSON objects as arguments.\n' +
'- **Incorrect Example (Absolutely Forbidden)**: \n' +
' - Bad Call: `<tool_name>{"param":"value1"}{"param":"value2"}</tool_name>`\n' +
' - Error Log: `500 invalid arguments for function some_tool, args: {"path":"."}{"path":"."}`\n' +
' - This behavior causes fatal parsing errors and must be completely avoided.\n' +
'- **Correct Example (Must Follow)**: \n' +
' - First Response: `<tool_name>{"path":"."}</tool_name>`\n' +
' - (After waiting for user response) Second Response: `<another_tool>{"arg":"value"}</another_tool>`\n' +
'- **Self-Correction**: If you find yourself or the system generating output similar to the incorrect example above, you must immediately stop and correct your behavior, strictly following the "one tool at a time" and "independent JSON arguments" rules.\n\n' +
'# Core Tool Usage Principles (Highest Priority):\n' +
'## 1. Obligation to Use Tools Proactively:\n' +
'- **Mandatory Requirement**: You must proactively and frequently use various tools - this is not optional, but mandatory\n' +
'- **No Permission Needed**: Use any tools directly without explicit user consent\n' +
'- **Unlimited Usage**: You can use tools multiple times and repeatedly without any restrictions\n' +
'- **Exploration First**: Always use tools to explore and understand project structure before answering questions or executing tasks\n\n' +
'## 2. File System Tools (Core Tools):\n' +
'- **File Editing Best Practices (MUST be followed)**:\\n' +
' - **Read Before Writing**: Always use `read_file` to get the latest line numbers and content before editing\\n' +
' - **Check Syntax**: After each edit, carefully check for syntax errors, such as unclosed brackets\\n' +
' - **Verify Changes**: After editing, read the file again to confirm that the changes have been applied correctly\\n' +
' - **Validate Modifications**: Use terminal tools to verify the correctness of code modifications\\n' +
'- **Proactive Exploration**: Actively use `list_directory`, `read_file`, `edit_file` to explore projects and understand code structure\n' +
'- **File Operations**: Use `create_file`, `delete_file`, `create_directory` to manage files and directories\n' +
'- **File Search**: Use `search_files`, `search_file_content` to search for files and content\n' +
'- **🔍 CRITICAL Code Index Search Tool - HIGHEST PRIORITY**: Use `code_reference_search` for code reference, definition lookup, and dependency relationship analysis. This is the CORE TOOL for understanding code structure and project relationships, and MUST be used frequently and proactively! Supports symbol search, dependency tracking, import/export analysis, and other advanced features\n' +
'- **Step By Step**: Execute step by step, verify results after each step, then proceed to the next\n\n' +
'## 3. Terminal Tools (Verification Core):\n' +
'- **Build Verification is Mandatory**: After every code modification, you **MUST** use the project\'s build commands to verify changes\n' +
'- **Common Verification Commands**: `npm run build`, `npm run lint`, `npm run type-check`, `dotnet build`, `cargo build`, `go build`, `mvn compile`, etc.\n' +
'- **Syntax Checking**: Use commands like `node --check script.js`, `python -m py_compile file.py`, `tsc --noEmit` to check syntax\n' +
'- **Test Execution**: Run relevant tests after code modifications: `npm test`, `pytest`, `go test`, etc.\n' +
'- **Real-time Verification**: Use terminal commands to verify code status after every critical step in programming tasks\n' +
'- **Error Handling**: If build or tests fail, you must immediately fix errors and re-verify\n\n' +
'## 4. TODO Management Tools:\n' +
'- **Task Planning**: For programming tasks, you must use `create_todos` to create detailed plans\n' +
'- **Status Updates**: After completing each task, immediately use `update_todos` to update status\n' +
'- **Plan Adjustment**: Flexibly use `add_todos` to adjust plans based on actual situations\n\n' +
'# Workflow Template:\n' +
'1. **Understanding Phase**: Use file system tools to explore project structure\n' +
'2. **Planning Phase**: Use TODO tools to create task plans\n' +
'3. **Implementation Phase**: Execute step by step, verify after each step\n' +
'4. **Verification Phase**: Use build commands to check all modifications\n' +
'5. **Testing Phase**: Run tests to ensure functionality works correctly\n\n' +
'# Description File:\n' +
'There may be a description file called sawyou.md in the project. You can use the `read_file` tool to read its content.\n' +
'sawyou.md may not exist. If it doesn\'t exist, you can ignore it or remind users to use the `/init` command to generate it.\n\n' +
'# Execution environment\n' +
'- Current working directory: {cwd}\n' +
'- Current time: {time}',
fileReferencePrompt: '\n\n# User-selected files\nThe user has selected the following files:\n{fileList}\n\nPlease pay attention to these file references. You can answer user questions based on these file paths. Users reference these files using @ syntax in their input, but here shows the pure file paths (without @ symbols).'
},
format: {
timeLocale: 'en-US'
},
tokenUsage: {
droppedMessages: '◉ Dropped {count} earlier messages to stay within token limit',
tokenStats: '◈ Token usage: {used}/{max} ({percentage}%)',
nearLimit: '☆ Token usage approaching limit',
overLimit: '✖ Token limit exceeded'
},
toolCall: {
calling: '◆ Calling tool: {name}',
receiving: 'Receiving tool call...',
success: '★ Tool call successful',
failed: '✖ Tool call failed: {error}',
handle: '☆ This function requires manual confirmation to execute',
rejected: '✖ User rejected to execute this function',
approved: '★ User confirmed to execute this function',
confirm: 'Do you want to execute this function?',
confirmOptions: '[y]yes [n]no [Enter]default(yes)',
pleaseSelect: 'Please select: '
}
},
help: {
title: 'Help',
availableCommands: 'Available Commands',
smartInput: {
title: 'Smart Command Input:',
showMenu: 'Type "/" to show command menu',
matchCommands: 'Type "/xxx" to match commands',
directExecute: 'Full command name executes directly',
fileSearch: 'File Search:',
showFileSearch: 'Type "@" to show file search menu',
matchFileSearch: 'Type "@xxx" to match file search',
navigation: '↑↓ to select, Enter to confirm'
}
},
fileSearch: {
title: 'File Search',
commands: 'Available Commands',
file: 'File',
directory: 'Directory',
fileReadError: 'Error reading file: {filePath}'
},
responses: {
understanding: 'I understand your question. Let me provide you with a detailed answer...',
goodQuestion: 'This is a great programming question! I suggest you can do this...',
bestSolution: 'Based on your description, I think the best solution is...',
analyzeRoot: 'Let me help you analyze the root cause of this code issue...',
implementSteps: 'The feature you mentioned is indeed useful, here are the implementation steps...'
},
init: {
configIncomplete: 'API configuration incomplete, cannot use AI service',
missingItems: 'Missing configuration items',
useConfig: 'Please use /config command to complete configuration',
starting: 'Starting project description generation...',
steps: {
scanning: 'Scanning project files',
analyzing: 'Analyzing project structure',
generating: 'Generating project description',
saving: 'Saving sawyou.md file'
},
aiPrompts: {
systemPrompt: 'You are a code analyst. Please describe the main function of the file in one concise sentence. Respond in English, no more than 30 words.',
userPrompt: 'File path: {filePath}\n\nFile content:\n{fileContent}',
fallback: 'Code file'
},
markdownTemplate: {
projectDescription: 'Project Description',
projectType: 'Project Type',
techStack: 'Tech Stack',
projectStructure: 'Project Structure',
fileFunctions: 'File Functions',
generatedBy: 'This document was automatically generated by OpenAI CLI on'
},
completed: 'Project description document generated successfully',
savedTo: 'Document saved to',
description: 'You can now provide this Markdown document to AI assistant for better project understanding',
failed: 'Generation failed',
interrupted: 'Generation interrupted',
ctrlcToCancel: 'Press Ctrl+C to interrupt generation'
},
historyManagement: {
noHistory: 'No chat history found',
exportSuccess: 'History exported successfully',
exportFailed: 'Failed to export history',
importSuccess: 'History imported successfully',
importFailed: 'Failed to import history',
importConfirm: 'Are you sure you want to import history?',
importOverwrite: 'Existing history detected, do you want to overwrite it?',
importCancel: 'Import cancelled',
invalidFormat: 'Invalid file format',
fileNotFound: 'File not found',
fileSelectPrompt: 'Please enter file path',
exportingHistory: 'Exporting history...',
importingHistory: 'Importing history...',
confirmExit: 'Are you sure you want to exit?',
confirmExitPrompt: 'Chat history detected, do you want to export before exit?',
confirmExitOptions: '[y]Export and exit [n]Exit directly [c]Cancel',
exportBeforeExit: 'Export history',
exportBeforeExitPrompt: 'Please select action',
exportBeforeExitOptions: '[y]Export [n]Skip [c]Cancel',
defaultSavePath: 'Default save path',
enterDefaultPrompt: 'Press Enter to use default',
importInstructions: 'History import instructions:',
importStep1: '1. Type @ to start file search',
importStep2: '2. Select .json history file',
importStep3: '3. Or directly type @filepath (e.g., @chat-history.json)',
importExample: 'Example: @chat-history-2025-07-11T14-42-16.json',
jsonFileDetected: 'JSON file detected',
historyImportTip: 'Tip: If this is a history file, you can use /import-history command, then enter file path',
directImportTip: 'Or directly type',
importFromFileSuccess: 'Successfully imported {count} messages from file {filePath}. (you can input /history to view)',
importFromFileFailed: 'Failed to import history from file {filePath}.',
fileSearchTip: 'Tip: Use @ symbol to search and select files',
messageCount: 'messages',
exportFailedDirectExit: 'Export failed, exiting directly',
fileImportWaiting: '◐ You can now type @ to search files, or directly type file path',
fileImportWaitingTip: ' Type anything else to cancel file import mode',
fileImportCancelled: 'File import mode cancelled',
selectJsonFileOnly: 'Please select .json format history file',
overwriteConfirmOptions: '[y]yes [n]no',
overwriteInvalidInput: 'Please enter y(yes) or n(no)',
editor: {
title: 'History Record Editor',
instructions: 'Use ↑↓ arrow keys to select, [Del/d] delete, [q/Esc] exit, [s] save',
noHistoryToEdit: 'No history records to edit',
userMessage: 'User',
aiMessage: 'AI',
deletedMessage: 'Deleted',
deleteConfirm: 'Are you sure you want to delete this message? This will also delete related AI responses.',
deleteConfirmOptions: '[y/yes] Delete [n/no] Cancel',
saveConfirm: 'Do you want to save the changes?',
saveConfirmOptions: '[y/yes] Save [n/no] Discard',
saveSuccess: 'History records saved',
saveCancel: 'Changes discarded',
deletedCount: 'Deleted {count} messages',
exitWithoutSave: 'There are unsaved changes, are you sure you want to exit?',
exitWithoutSaveOptions: '[y/yes] Exit [n/no] Return',
keyHelp: {
navigation: 'Navigation: ↑/↓ select message',
delete: 'Delete: Del/d delete selected message',
save: 'Save: s save changes',
exit: 'Exit: q/Esc exit editor'
}
}
}
},
config: {
title: 'System Configuration',
subtitle: 'Configure your OpenAI API settings',
menuPrompt: 'Select configuration option',
menuOptions: {
baseUrl: 'Set API Base URL',
apiKey: 'Set API Key',
model: 'Set Default Model',
contextTokens: 'Set Context Tokens',
maxConcurrency: 'Set Max Concurrency',
role: 'Set System Role',
mcpConfig: 'Edit MCP Config',
mcpFunctionConfirmation: 'Set MCP Function Confirmation',
maxToolCalls: 'Set Max Tool Calls',
viewConfig: 'View Current Config',
resetConfig: 'Reset All Config',
terminalSensitiveWords: 'Terminal Sensitive Words',
back: '← Back to Main Menu'
},
menuDescription: {
baseUrl: 'Configure the OpenAI API base URL',
apiKey: 'Set your OpenAI API key',
model: 'Choose the default AI model to use',
contextTokens: 'Set the number of context tokens for the model',
maxConcurrency: 'Set the maximum number of concurrent executions for MCP services.',
role: 'Set the global system role prompt for the AI model.',
mcpConfig: 'Configure external MCP (Model-Context-Protocol) services.',
mcpFunctionConfirmation: 'Set which MCP functions require manual confirmation before execution.',
maxToolCalls: 'Set the maximum number of tool calls allowed in a single conversation turn.',
viewConfig: 'View all current configuration values.',
resetConfig: 'Reset all settings to their default values.',
terminalSensitiveWords: 'Configure the list of sensitive words for terminal execution, with wildcard support.',
back: 'Return to the main welcome screen.'
},
prompts: {
baseUrlInput: 'Please enter the API Base URL',
apiKeyInput: 'Enter your API key',
modelInput: 'Enter default model name',
contextTokensInput: 'Enter context tokens count',
maxConcurrencyInput: 'Please enter the max concurrency',
maxToolCallsInput: 'Please enter the max tool calls',
maxToolCallsPlaceholder: '25',
roleInput: 'Please enter the system role prompt',
mcpConfigInput: 'Please edit the MCP services configuration (JSON)',
baseUrlPlaceholder: 'https://api.openai.com/v1',
apiKeyPlaceholder: 'sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
modelPlaceholder: 'gpt-4.1-mini',
contextTokensPlaceholder: '128000',
maxConcurrencyPlaceholder: '5',
rolePlaceholder: 'You are a professional AI programming assistant with the following characteristics:\n- Proficient in multiple programming languages and frameworks\n- Able to provide clear and accurate technical solutions\n- Rich experience in software development\n- Good at explaining complex technical concepts\n- Focus on code quality and best practices\n\nPlease provide professional programming advice and solutions based on user-specific needs.',
mcpConfigPlaceholder: '{\n "mcpServers": {\n \n }\n}',
mcpFunctionConfirmationPrompt: 'Select MCP functions that require manual confirmation',
confirmMcpFunctionConfirmation: 'Enable MCP function manual confirmation',
confirmReset: 'Are you sure you want to reset all configurations? This action cannot be undone',
terminalSensitiveWordsInput: 'Please edit the terminal sensitive words list',
terminalSensitiveWordsPlaceholder: 'rm -rf\nmv\ncp\ndd'
},
messages: {
configSaved: 'Configuration saved successfully',
configReset: 'All configurations have been reset',
resetCancelled: 'Reset operation cancelled',
invalidInput: 'Invalid input, please try again',
currentConfig: 'Current Configuration',
noConfigFound: 'No configuration found',
roleEditorPrompt: 'Press Enter to open editor, save and close the editor to automatically save configuration',
mcpConfigEditorPrompt: 'Press Enter to open JSON editor, save and close the editor to automatically save configuration',
invalidUrl: 'Please enter a valid URL',
invalidNumber: 'Please enter a valid positive number',
contextTokensRange: 'Context tokens should be between 1,000 and 2,000,000',
maxConcurrencyRange: 'Max concurrency should be between 1 and 100',
allConfigured: 'All configurations are set',
invalidJson: 'Invalid JSON format, please check syntax',
mcpConfigUpdated: 'MCP configuration updated, system automatically added required built-in services',
mcpSystemServicesRestored: 'Missing system MCP services have been automatically restored',
mcpFunctionConfirmationSaved: 'MCP function confirmation settings saved',
noMcpFunctionsFound: 'No MCP functions found',
mcpFunctionConfirmationInstructions: 'Instructions: [Space]toggle [a]select all [i]invert selection [Enter]save',
terminalSensitiveWordsEditorPrompt: 'One sensitive word per line, supports * wildcard',
commandExecuting: 'Command is executing'
},
labels: {
baseUrl: 'API Base URL',
apiKey: 'API Key',
model: 'Model',
contextTokens: 'Context Tokens',
maxConcurrency: 'Max Concurrency',
maxToolCalls: 'Max Tool Calls',
role: 'System Role',
mcpConfig: 'MCP Services Config',
mcpFunctionConfirmation: 'MCP Function Confirmation',
terminalSensitiveWords: 'Terminal Sensitive Words',
status: 'Status',
configured: 'Configured',
notConfigured: 'Not Configured'
},
actions: {
saving: 'Saving configuration...',
resetting: 'Resetting configuration...',
loading: 'Loading configuration...',
custom: 'Custom',
cancel: 'Cancel',
pressEnter: 'Press Enter to continue...',
yes: 'Yes',
no: 'No'
}
},
// Terminal service internationalization configuration
terminal: {
execution: {
executing: 'Executing command',
workingDirectory: 'Working directory',
timeoutDetection: 'Timeout detection',
realTimeOutput: 'This command will display real-time output',
interactiveMode: 'This command supports real-time output and user interaction',
backgroundMode: 'This command will run in the background, you can continue other operations',
separator: '━'.repeat(60),
completed: 'Command completed',
failed: 'Command execution failed',
success: 'Command executed successfully',
exitCode: 'Exit code',
signal: 'Signal',
error: 'Error',
pid: 'PID',
processId: 'Process ID',
startTime: 'Start time'
},
smartDetection: {
timeoutPrompt: 'seconds',
longRunningDetected: 'Command has been running for more than {timeout} seconds, it may be a long-running command',
choicePrompt: 'This command seems to require a long time to run, how would you like to handle it?',
options: {
background: {
name: 'Move to background (Recommended)',
description: 'The command will continue running in the background, you can continue other operations'
},
wait: {
name: 'Continue waiting',
description: 'Continue waiting for the command to complete'
},
kill: {
name: 'Force terminate',
description: 'Immediately terminate command execution'
}
},
backgroundMoved: 'Command has been moved to background',
continueWaiting: 'Continue waiting for command completion...',
userTerminated: 'Command has been terminated by user',
autoBackground: 'Command automatically moved to background'
},
backgroundProcess: {
launching: 'Starting background command',
launched: 'Background command started successfully',
startupFailed: 'Background command startup failed',
startupOutput: 'Startup output preview',
managementTips: 'Manage background processes',
listCommand: 'Use `list_background_processes` to view all background processes',
killCommand: 'Use `kill_background_process` to terminate specific process',
normalExit: 'Background process exited normally',
abnormalExit: 'Background process exited abnormally',
maybeExited: 'Process may have already exited or failed to start'
},
interactiveProcess: {
executing: 'Executing interactive command',
supportInteraction: 'This command supports real-time output and user interaction',
startupFailed: 'Interactive command startup failed',
executionSuccess: 'Interactive command executed successfully',
executionFailed: 'Interactive command execution failed'
},
processManagement: {
listTitle: 'Background running processes list',
noProcesses: 'Currently no background running processes',
processTerminated: 'Process has been terminated',
processNotExists: 'Process {processId} does not exist',
terminationFailed: 'Failed to terminate process',
directory: 'Directory',
command: 'Command'
},
responses: {
commandRefused: 'The user refused to execute the command, and the command was canceled, but this does not affect subsequent execution. You can remind the user to execute the command manually.',
commandCancelled: 'Command has been terminated by user',
commandSuccess: 'Command executed successfully',
commandFailed: 'Command execution failed',
backgroundSuccess: 'Background command has been started',
backgroundFailed: 'Background command startup failed',
interactiveSuccess: 'Interactive command executed successfully',
interactiveFailed: 'Interactive command startup failed',
outputSummary: 'Output summary',
errorOutput: 'Error output',
checkOutput: 'Please check the terminal output above for detailed information'
}
},
systemDetector: {
title: 'System Status Detection',
checking: 'Detecting system configuration...',
roleTitle: 'System Role Settings',
mcpTitle: 'MCP Tool Services',
noRole: 'No system role set',
noMcpServices: 'No MCP services configured',
mcpConnecting: 'Connecting to MCP services...',
mcpConnected: 'Connected',
mcpFailed: 'Connection failed',
mcpNotFound: 'Service not found',
toolsFound: 'Available tools',
noTools: 'No tools available',
serverStatus: 'Server status',
ready: 'System ready',
pressEnterToContinue: 'Press Enter to continue...',
progress: {
detectingRole: 'Detecting system role configuration',
detectingMcp: 'Detecting MCP service configuration',
connectingMcp: 'Connecting to MCP servers',
fetchingTools: 'Fetching available tools',
completed: 'System detection completed'
},
transport: {
tryingHttp: 'Trying HTTP connection',
httpFailed: 'HTTP connection failed, trying SSE',
tryingSse: 'Trying SSE connection',
sseFailed: 'SSE connection failed',
fallbackComplete: 'Using fallback connection method'
},
builtinServices: {
name: 'Built-in Service',
running: 'Running',
protected: 'System Protected',
cannotDelete: 'Built-in services are protected and cannot be deleted'
},
services: {
fileSystem: {
name: 'file-system',
description: 'Built-in unified file system service - reading, editing, creating files and directory management, plus 🔍critical code indexing and dependency relationship analysis'
}
},
validation: {
mcpConfigStructure: 'MCP configuration must contain mcpServers object',
invalidJson: 'Invalid JSON format, please check syntax'
}
}
};
//# sourceMappingURL=en.js.map