@rdmind/rdmind 0.2.8-alpha.1 → 0.2.8-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +135651 -117673
- package/locales/en.js +220 -4
- package/locales/zh.js +209 -8
- package/package.json +2 -2
- package/sandbox-macos-permissive-proxied.sb +1 -1
- package/sandbox-macos-restrictive-proxied.sb +1 -1
package/locales/en.js
CHANGED
|
@@ -296,6 +296,73 @@ export default {
|
|
|
296
296
|
'Failed to save and edit subagent: {{error}}':
|
|
297
297
|
'Failed to save and edit subagent: {{error}}',
|
|
298
298
|
|
|
299
|
+
// ============================================================================
|
|
300
|
+
// Extensions - Management Dialog
|
|
301
|
+
// ============================================================================
|
|
302
|
+
'Manage Extensions': 'Manage Extensions',
|
|
303
|
+
'Extension Details': 'Extension Details',
|
|
304
|
+
'View Extension': 'View Extension',
|
|
305
|
+
'Update Extension': 'Update Extension',
|
|
306
|
+
'Disable Extension': 'Disable Extension',
|
|
307
|
+
'Enable Extension': 'Enable Extension',
|
|
308
|
+
'Uninstall Extension': 'Uninstall Extension',
|
|
309
|
+
'Select Scope': 'Select Scope',
|
|
310
|
+
'User Scope': 'User Scope',
|
|
311
|
+
'Workspace Scope': 'Workspace Scope',
|
|
312
|
+
'No extensions found.': 'No extensions found.',
|
|
313
|
+
Active: 'Active',
|
|
314
|
+
Disabled: 'Disabled',
|
|
315
|
+
'Update available': 'Update available',
|
|
316
|
+
'Up to date': 'Up to date',
|
|
317
|
+
'Checking...': 'Checking...',
|
|
318
|
+
'Updating...': 'Updating...',
|
|
319
|
+
Unknown: 'Unknown',
|
|
320
|
+
Error: 'Error',
|
|
321
|
+
'Version:': 'Version:',
|
|
322
|
+
'Status:': 'Status:',
|
|
323
|
+
'Are you sure you want to uninstall extension "{{name}}"?':
|
|
324
|
+
'Are you sure you want to uninstall extension "{{name}}"?',
|
|
325
|
+
'This action cannot be undone.': 'This action cannot be undone.',
|
|
326
|
+
'Extension "{{name}}" disabled successfully.':
|
|
327
|
+
'Extension "{{name}}" disabled successfully.',
|
|
328
|
+
'Extension "{{name}}" enabled successfully.':
|
|
329
|
+
'Extension "{{name}}" enabled successfully.',
|
|
330
|
+
'Extension "{{name}}" updated successfully.':
|
|
331
|
+
'Extension "{{name}}" updated successfully.',
|
|
332
|
+
'Failed to update extension "{{name}}": {{error}}':
|
|
333
|
+
'Failed to update extension "{{name}}": {{error}}',
|
|
334
|
+
'Select the scope for this action:': 'Select the scope for this action:',
|
|
335
|
+
'User - Applies to all projects': 'User - Applies to all projects',
|
|
336
|
+
'Workspace - Applies to current project only':
|
|
337
|
+
'Workspace - Applies to current project only',
|
|
338
|
+
// Extension dialog - missing keys
|
|
339
|
+
'Name:': 'Name:',
|
|
340
|
+
'MCP Servers:': 'MCP Servers:',
|
|
341
|
+
'Settings:': 'Settings:',
|
|
342
|
+
active: 'active',
|
|
343
|
+
disabled: 'disabled',
|
|
344
|
+
'View Details': 'View Details',
|
|
345
|
+
'Update failed:': 'Update failed:',
|
|
346
|
+
'Updating {{name}}...': 'Updating {{name}}...',
|
|
347
|
+
'Update complete!': 'Update complete!',
|
|
348
|
+
'User (global)': 'User (global)',
|
|
349
|
+
'Workspace (project-specific)': 'Workspace (project-specific)',
|
|
350
|
+
'Disable "{{name}}" - Select Scope': 'Disable "{{name}}" - Select Scope',
|
|
351
|
+
'Enable "{{name}}" - Select Scope': 'Enable "{{name}}" - Select Scope',
|
|
352
|
+
'No extension selected': 'No extension selected',
|
|
353
|
+
'Press Y/Enter to confirm, N/Esc to cancel':
|
|
354
|
+
'Press Y/Enter to confirm, N/Esc to cancel',
|
|
355
|
+
'Y/Enter to confirm, N/Esc to cancel': 'Y/Enter to confirm, N/Esc to cancel',
|
|
356
|
+
'{{count}} extensions installed': '{{count}} extensions installed',
|
|
357
|
+
"Use '/extensions install' to install your first extension.":
|
|
358
|
+
"Use '/extensions install' to install your first extension.",
|
|
359
|
+
// Update status values
|
|
360
|
+
'up to date': 'up to date',
|
|
361
|
+
'update available': 'update available',
|
|
362
|
+
'checking...': 'checking...',
|
|
363
|
+
'not updatable': 'not updatable',
|
|
364
|
+
error: 'error',
|
|
365
|
+
|
|
299
366
|
// ============================================================================
|
|
300
367
|
// Commands - General (continued)
|
|
301
368
|
// ============================================================================
|
|
@@ -383,8 +450,10 @@ export default {
|
|
|
383
450
|
'Show tool-specific usage statistics.':
|
|
384
451
|
'Show tool-specific usage statistics.',
|
|
385
452
|
'exit the cli': 'exit the cli',
|
|
386
|
-
'
|
|
387
|
-
'
|
|
453
|
+
'Open MCP management dialog, or authenticate with OAuth-enabled servers':
|
|
454
|
+
'Open MCP management dialog, or authenticate with OAuth-enabled servers',
|
|
455
|
+
'List configured MCP servers and tools, or authenticate with OAuth-enabled servers':
|
|
456
|
+
'List configured MCP servers and tools, or authenticate with OAuth-enabled servers',
|
|
388
457
|
'Manage workspace directories': 'Manage workspace directories',
|
|
389
458
|
'Add directories to the workspace. Use comma to separate multiple paths':
|
|
390
459
|
'Add directories to the workspace. Use comma to separate multiple paths',
|
|
@@ -733,6 +802,7 @@ export default {
|
|
|
733
802
|
'List configured MCP servers and tools':
|
|
734
803
|
'List configured MCP servers and tools',
|
|
735
804
|
'Restarts MCP servers.': 'Restarts MCP servers.',
|
|
805
|
+
'Open MCP management dialog': 'Open MCP management dialog',
|
|
736
806
|
'Config not loaded.': 'Config not loaded.',
|
|
737
807
|
'Could not retrieve tool registry.': 'Could not retrieve tool registry.',
|
|
738
808
|
'No MCP servers configured with OAuth authentication.':
|
|
@@ -749,6 +819,107 @@ export default {
|
|
|
749
819
|
"Re-discovering tools from '{{name}}'...":
|
|
750
820
|
"Re-discovering tools from '{{name}}'...",
|
|
751
821
|
|
|
822
|
+
// ============================================================================
|
|
823
|
+
// MCP Management Dialog
|
|
824
|
+
// ============================================================================
|
|
825
|
+
'Manage MCP servers': 'Manage MCP servers',
|
|
826
|
+
'Server Detail': 'Server Detail',
|
|
827
|
+
'Disable Server': 'Disable Server',
|
|
828
|
+
Tools: 'Tools',
|
|
829
|
+
'Tool Detail': 'Tool Detail',
|
|
830
|
+
'MCP Management': 'MCP Management',
|
|
831
|
+
'Loading...': 'Loading...',
|
|
832
|
+
'Unknown step': 'Unknown step',
|
|
833
|
+
'Esc to back': 'Esc to back',
|
|
834
|
+
'↑↓ to navigate · Enter to select · Esc to close':
|
|
835
|
+
'↑↓ to navigate · Enter to select · Esc to close',
|
|
836
|
+
'↑↓ to navigate · Enter to select · Esc to back':
|
|
837
|
+
'↑↓ to navigate · Enter to select · Esc to back',
|
|
838
|
+
'↑↓ to navigate · Enter to confirm · Esc to back':
|
|
839
|
+
'↑↓ to navigate · Enter to confirm · Esc to back',
|
|
840
|
+
'User Settings (global)': 'User Settings (global)',
|
|
841
|
+
'Workspace Settings (project-specific)':
|
|
842
|
+
'Workspace Settings (project-specific)',
|
|
843
|
+
'Disable server:': 'Disable server:',
|
|
844
|
+
'Select where to add the server to the exclude list:':
|
|
845
|
+
'Select where to add the server to the exclude list:',
|
|
846
|
+
'Press Enter to confirm, Esc to cancel':
|
|
847
|
+
'Press Enter to confirm, Esc to cancel',
|
|
848
|
+
'View tools': 'View tools',
|
|
849
|
+
Reconnect: 'Reconnect',
|
|
850
|
+
Enable: 'Enable',
|
|
851
|
+
Disable: 'Disable',
|
|
852
|
+
Authenticate: 'Authenticate',
|
|
853
|
+
'Server:': 'Server:',
|
|
854
|
+
'Command:': 'Command:',
|
|
855
|
+
'Working Directory:': 'Working Directory:',
|
|
856
|
+
'Capabilities:': 'Capabilities:',
|
|
857
|
+
'No server selected': 'No server selected',
|
|
858
|
+
prompts: 'prompts',
|
|
859
|
+
'(disabled)': '(disabled)',
|
|
860
|
+
'Error:': 'Error:',
|
|
861
|
+
Extension: 'Extension',
|
|
862
|
+
tool: 'tool',
|
|
863
|
+
tools: 'tools',
|
|
864
|
+
connected: 'connected',
|
|
865
|
+
connecting: 'connecting',
|
|
866
|
+
disconnected: 'disconnected',
|
|
867
|
+
|
|
868
|
+
// MCP Server List
|
|
869
|
+
'User MCPs': 'User MCPs',
|
|
870
|
+
'Project MCPs': 'Project MCPs',
|
|
871
|
+
'Extension MCPs': 'Extension MCPs',
|
|
872
|
+
server: 'server',
|
|
873
|
+
servers: 'servers',
|
|
874
|
+
'Add MCP servers to your settings to get started.':
|
|
875
|
+
'Add MCP servers to your settings to get started.',
|
|
876
|
+
'Run rdmind --debug to see error logs': 'Run rdmind --debug to see error logs',
|
|
877
|
+
|
|
878
|
+
// MCP OAuth Authentication
|
|
879
|
+
'OAuth Authentication': 'OAuth Authentication',
|
|
880
|
+
'Press Enter to start authentication, Esc to go back':
|
|
881
|
+
'Press Enter to start authentication, Esc to go back',
|
|
882
|
+
'Authenticating... Please complete the login in your browser.':
|
|
883
|
+
'Authenticating... Please complete the login in your browser.',
|
|
884
|
+
'Press Enter or Esc to go back': 'Press Enter or Esc to go back',
|
|
885
|
+
|
|
886
|
+
// MCP Tool List
|
|
887
|
+
'No tools available for this server.': 'No tools available for this server.',
|
|
888
|
+
destructive: 'destructive',
|
|
889
|
+
'read-only': 'read-only',
|
|
890
|
+
'open-world': 'open-world',
|
|
891
|
+
idempotent: 'idempotent',
|
|
892
|
+
'Tools for {{name}}': 'Tools for {{name}}',
|
|
893
|
+
'Tools for {{serverName}}': 'Tools for {{serverName}}',
|
|
894
|
+
'{{current}}/{{total}}': '{{current}}/{{total}}',
|
|
895
|
+
|
|
896
|
+
// MCP Tool Detail
|
|
897
|
+
required: 'required',
|
|
898
|
+
Type: 'Type',
|
|
899
|
+
Enum: 'Enum',
|
|
900
|
+
Parameters: 'Parameters',
|
|
901
|
+
'No tool selected': 'No tool selected',
|
|
902
|
+
Annotations: 'Annotations',
|
|
903
|
+
Title: 'Title',
|
|
904
|
+
'Read Only': 'Read Only',
|
|
905
|
+
Destructive: 'Destructive',
|
|
906
|
+
Idempotent: 'Idempotent',
|
|
907
|
+
'Open World': 'Open World',
|
|
908
|
+
Server: 'Server',
|
|
909
|
+
|
|
910
|
+
// Invalid tool related translations
|
|
911
|
+
'{{count}} invalid tools': '{{count}} invalid tools',
|
|
912
|
+
invalid: 'invalid',
|
|
913
|
+
'invalid: {{reason}}': 'invalid: {{reason}}',
|
|
914
|
+
'missing name': 'missing name',
|
|
915
|
+
'missing description': 'missing description',
|
|
916
|
+
'(unnamed)': '(unnamed)',
|
|
917
|
+
'Warning: This tool cannot be called by the LLM':
|
|
918
|
+
'Warning: This tool cannot be called by the LLM',
|
|
919
|
+
Reason: 'Reason',
|
|
920
|
+
'Tools must have both name and description to be used by the LLM.':
|
|
921
|
+
'Tools must have both name and description to be used by the LLM.',
|
|
922
|
+
|
|
752
923
|
// ============================================================================
|
|
753
924
|
// Commands - Chat
|
|
754
925
|
// ============================================================================
|
|
@@ -891,6 +1062,7 @@ export default {
|
|
|
891
1062
|
'Do you want to proceed?': 'Do you want to proceed?',
|
|
892
1063
|
'Yes, allow once': 'Yes, allow once',
|
|
893
1064
|
'Allow always': 'Allow always',
|
|
1065
|
+
Yes: 'Yes',
|
|
894
1066
|
No: 'No',
|
|
895
1067
|
'No (esc)': 'No (esc)',
|
|
896
1068
|
'Yes, allow always for this session': 'Yes, allow always for this session',
|
|
@@ -1179,6 +1351,8 @@ export default {
|
|
|
1179
1351
|
'RDMind now supports custom commands, sub-agents, skills and other features. Check the documentation for usage help.',
|
|
1180
1352
|
'Try asking RDMind to help you commit code.':
|
|
1181
1353
|
'Try asking RDMind to help you commit code.',
|
|
1354
|
+
'Based on model support, RDMind can process image, PDF, and video inputs.':
|
|
1355
|
+
'Based on model support, RDMind can process image, PDF, and video inputs.',
|
|
1182
1356
|
'RDMind can read REDoc. Please do not upload documents involving user privacy and core algorithms.':
|
|
1183
1357
|
'RDMind can read REDoc. Please do not upload documents involving user privacy and core algorithms.',
|
|
1184
1358
|
'If you find RDMind useful, feel free to recommend it to your colleagues~':
|
|
@@ -1487,6 +1661,16 @@ export default {
|
|
|
1487
1661
|
// ============================================================================
|
|
1488
1662
|
// Auth Dialog - View Titles and Labels
|
|
1489
1663
|
// ============================================================================
|
|
1664
|
+
'Coding Plan': 'Coding Plan',
|
|
1665
|
+
"Paste your api key of Bailian Coding Plan and you're all set!":
|
|
1666
|
+
"Paste your api key of Bailian Coding Plan and you're all set!",
|
|
1667
|
+
Custom: 'Custom',
|
|
1668
|
+
'More instructions about configuring `modelProviders` manually.':
|
|
1669
|
+
'More instructions about configuring `modelProviders` manually.',
|
|
1670
|
+
'Select API-KEY configuration mode:': 'Select API-KEY configuration mode:',
|
|
1671
|
+
'(Press Escape to go back)': '(Press Escape to go back)',
|
|
1672
|
+
'(Press Enter to submit, Escape to cancel)':
|
|
1673
|
+
'(Press Enter to submit, Escape to cancel)',
|
|
1490
1674
|
'Select Region for Coding Plan': 'Select Region for Coding Plan',
|
|
1491
1675
|
'Choose based on where your account is registered':
|
|
1492
1676
|
'Choose based on where your account is registered',
|
|
@@ -1499,6 +1683,38 @@ export default {
|
|
|
1499
1683
|
'New model configurations are available for {{region}}. Update now?',
|
|
1500
1684
|
'{{region}} configuration updated successfully. Model switched to "{{model}}".':
|
|
1501
1685
|
'{{region}} configuration updated successfully. Model switched to "{{model}}".',
|
|
1502
|
-
'
|
|
1503
|
-
'
|
|
1686
|
+
'{{region}} configuration updated successfully.':
|
|
1687
|
+
'{{region}} configuration updated successfully.',
|
|
1688
|
+
'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.':
|
|
1689
|
+
'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.',
|
|
1690
|
+
'Tip: Use /model to switch between available Coding Plan models.':
|
|
1691
|
+
'Tip: Use /model to switch between available Coding Plan models.',
|
|
1692
|
+
|
|
1693
|
+
// ============================================================================
|
|
1694
|
+
// Ask User Question Tool
|
|
1695
|
+
// ============================================================================
|
|
1696
|
+
'Please answer the following question(s):':
|
|
1697
|
+
'Please answer the following question(s):',
|
|
1698
|
+
'Cannot ask user questions in non-interactive mode. Please run in interactive mode to use this tool.':
|
|
1699
|
+
'Cannot ask user questions in non-interactive mode. Please run in interactive mode to use this tool.',
|
|
1700
|
+
'User declined to answer the questions.':
|
|
1701
|
+
'User declined to answer the questions.',
|
|
1702
|
+
'User has provided the following answers:':
|
|
1703
|
+
'User has provided the following answers:',
|
|
1704
|
+
'Failed to process user answers:': 'Failed to process user answers:',
|
|
1705
|
+
'Type something...': 'Type something...',
|
|
1706
|
+
Submit: 'Submit',
|
|
1707
|
+
'Submit answers': 'Submit answers',
|
|
1708
|
+
Cancel: 'Cancel',
|
|
1709
|
+
'Your answers:': 'Your answers:',
|
|
1710
|
+
'(not answered)': '(not answered)',
|
|
1711
|
+
'Ready to submit your answers?': 'Ready to submit your answers?',
|
|
1712
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Enter: Select':
|
|
1713
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Enter: Select',
|
|
1714
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Space/Enter: Toggle | Esc: Cancel':
|
|
1715
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Space/Enter: Toggle | Esc: Cancel',
|
|
1716
|
+
'↑/↓: Navigate | Space/Enter: Toggle | Esc: Cancel':
|
|
1717
|
+
'↑/↓: Navigate | Space/Enter: Toggle | Esc: Cancel',
|
|
1718
|
+
'↑/↓: Navigate | Enter: Select | Esc: Cancel':
|
|
1719
|
+
'↑/↓: Navigate | Enter: Select | Esc: Cancel',
|
|
1504
1720
|
};
|
package/locales/zh.js
CHANGED
|
@@ -33,7 +33,7 @@ export default {
|
|
|
33
33
|
'!': '!',
|
|
34
34
|
'!npm run start': '!npm run start',
|
|
35
35
|
'start server': 'start server',
|
|
36
|
-
'Commands:': '
|
|
36
|
+
'Commands:': '命令:',
|
|
37
37
|
'shell command': 'shell 命令',
|
|
38
38
|
'Model Context Protocol command (from external servers)':
|
|
39
39
|
'模型上下文协议命令(来自外部服务器)',
|
|
@@ -145,7 +145,7 @@ export default {
|
|
|
145
145
|
'未发现 ID 为 {{sessionId}} 的已保存会话。请运行不带 ID 的 `rdmind --resume` 以从现有会话中选择。',
|
|
146
146
|
'Clear conversation history and free up context': '清除对话历史并释放上下文',
|
|
147
147
|
'Compresses the context by replacing it with a summary.':
|
|
148
|
-
'
|
|
148
|
+
'通过摘要替换来压缩上下文',
|
|
149
149
|
'open full RDMind documentation in your browser':
|
|
150
150
|
'在浏览器中打开完整的 RDMind 文档',
|
|
151
151
|
'Configuration not available.': '配置不可用',
|
|
@@ -285,6 +285,67 @@ export default {
|
|
|
285
285
|
'Failed to save and edit subagent: {{error}}':
|
|
286
286
|
'保存并编辑子智能体失败: {{error}}',
|
|
287
287
|
|
|
288
|
+
// ============================================================================
|
|
289
|
+
// Extensions - Management Dialog
|
|
290
|
+
// ============================================================================
|
|
291
|
+
'Manage Extensions': '管理扩展',
|
|
292
|
+
'Extension Details': '扩展详情',
|
|
293
|
+
'View Extension': '查看扩展',
|
|
294
|
+
'Update Extension': '更新扩展',
|
|
295
|
+
'Disable Extension': '禁用扩展',
|
|
296
|
+
'Enable Extension': '启用扩展',
|
|
297
|
+
'Uninstall Extension': '卸载扩展',
|
|
298
|
+
'Select Scope': '选择作用域',
|
|
299
|
+
'User Scope': '用户作用域',
|
|
300
|
+
'Workspace Scope': '工作区作用域',
|
|
301
|
+
'No extensions found.': '未找到扩展。',
|
|
302
|
+
Active: '已启用',
|
|
303
|
+
Disabled: '已禁用',
|
|
304
|
+
'Update available': '有可用更新',
|
|
305
|
+
'Up to date': '已是最新',
|
|
306
|
+
'Checking...': '检查中...',
|
|
307
|
+
'Updating...': '更新中...',
|
|
308
|
+
Unknown: '未知',
|
|
309
|
+
Error: '错误',
|
|
310
|
+
'Version:': '版本:',
|
|
311
|
+
'Status:': '状态:',
|
|
312
|
+
'Are you sure you want to uninstall extension "{{name}}"?':
|
|
313
|
+
'确定要卸载扩展 "{{name}}" 吗?',
|
|
314
|
+
'This action cannot be undone.': '此操作无法撤销。',
|
|
315
|
+
'Extension "{{name}}" disabled successfully.': '扩展 "{{name}}" 禁用成功。',
|
|
316
|
+
'Extension "{{name}}" enabled successfully.': '扩展 "{{name}}" 启用成功。',
|
|
317
|
+
'Extension "{{name}}" updated successfully.': '扩展 "{{name}}" 更新成功。',
|
|
318
|
+
'Failed to update extension "{{name}}": {{error}}':
|
|
319
|
+
'更新扩展 "{{name}}" 失败:{{error}}',
|
|
320
|
+
'Select the scope for this action:': '选择此操作的作用域:',
|
|
321
|
+
'User - Applies to all projects': '用户 - 应用于所有项目',
|
|
322
|
+
'Workspace - Applies to current project only': '工作区 - 仅应用于当前项目',
|
|
323
|
+
// Extension dialog - missing keys
|
|
324
|
+
'Name:': '名称:',
|
|
325
|
+
'MCP Servers:': 'MCP 服务器:',
|
|
326
|
+
'Settings:': '设置:',
|
|
327
|
+
active: '已启用',
|
|
328
|
+
'View Details': '查看详情',
|
|
329
|
+
'Update failed:': '更新失败:',
|
|
330
|
+
'Updating {{name}}...': '正在更新 {{name}}...',
|
|
331
|
+
'Update complete!': '更新完成!',
|
|
332
|
+
'User (global)': '用户(全局)',
|
|
333
|
+
'Workspace (project-specific)': '工作区(项目特定)',
|
|
334
|
+
'Disable "{{name}}" - Select Scope': '禁用 "{{name}}" - 选择作用域',
|
|
335
|
+
'Enable "{{name}}" - Select Scope': '启用 "{{name}}" - 选择作用域',
|
|
336
|
+
'No extension selected': '未选择扩展',
|
|
337
|
+
'Press Y/Enter to confirm, N/Esc to cancel': '按 Y/Enter 确认,N/Esc 取消',
|
|
338
|
+
'Y/Enter to confirm, N/Esc to cancel': 'Y/Enter 确认,N/Esc 取消',
|
|
339
|
+
'{{count}} extensions installed': '已安装 {{count}} 个扩展',
|
|
340
|
+
"Use '/extensions install' to install your first extension.":
|
|
341
|
+
"使用 '/extensions install' 安装您的第一个扩展。",
|
|
342
|
+
// Update status values
|
|
343
|
+
'up to date': '已是最新',
|
|
344
|
+
'update available': '有可用更新',
|
|
345
|
+
'checking...': '检查中...',
|
|
346
|
+
'not updatable': '不可更新',
|
|
347
|
+
error: '错误',
|
|
348
|
+
|
|
288
349
|
// ============================================================================
|
|
289
350
|
// Commands - General (continued)
|
|
290
351
|
// ============================================================================
|
|
@@ -368,7 +429,9 @@ export default {
|
|
|
368
429
|
'Show model-specific usage statistics.': '显示模型相关的使用统计信息',
|
|
369
430
|
'Show tool-specific usage statistics.': '显示工具相关的使用统计信息',
|
|
370
431
|
'exit the cli': '退出命令行界面',
|
|
371
|
-
'
|
|
432
|
+
'Open MCP management dialog, or authenticate with OAuth-enabled servers':
|
|
433
|
+
'打开 MCP 管理对话框,或在支持 OAuth 的服务器上进行身份验证',
|
|
434
|
+
'List configured MCP servers and tools, or authenticate with OAuth-enabled servers':
|
|
372
435
|
'列出已配置的 MCP 服务器和工具,或使用支持 OAuth 的服务器进行身份验证',
|
|
373
436
|
'Manage workspace directories': '管理工作区目录',
|
|
374
437
|
'Add directories to the workspace. Use comma to separate multiple paths':
|
|
@@ -692,6 +755,7 @@ export default {
|
|
|
692
755
|
'使用支持 OAuth 的 MCP 服务器进行认证',
|
|
693
756
|
'List configured MCP servers and tools': '列出已配置的 MCP 服务器和工具',
|
|
694
757
|
'Restarts MCP servers.': '重启 MCP 服务器',
|
|
758
|
+
'Open MCP management dialog': '打开 MCP 管理对话框',
|
|
695
759
|
'Config not loaded.': '配置未加载',
|
|
696
760
|
'Could not retrieve tool registry.': '无法检索工具注册表',
|
|
697
761
|
'No MCP servers configured with OAuth authentication.':
|
|
@@ -707,6 +771,105 @@ export default {
|
|
|
707
771
|
"Re-discovering tools from '{{name}}'...":
|
|
708
772
|
"正在重新发现 '{{name}}' 的工具...",
|
|
709
773
|
|
|
774
|
+
// ============================================================================
|
|
775
|
+
// MCP Management Dialog
|
|
776
|
+
// ============================================================================
|
|
777
|
+
'Manage MCP servers': '管理 MCP 服务器',
|
|
778
|
+
'Server Detail': '服务器详情',
|
|
779
|
+
'Disable Server': '禁用服务器',
|
|
780
|
+
Tools: '工具',
|
|
781
|
+
'Tool Detail': '工具详情',
|
|
782
|
+
'MCP Management': 'MCP 管理',
|
|
783
|
+
'Loading...': '加载中...',
|
|
784
|
+
'Unknown step': '未知步骤',
|
|
785
|
+
'Esc to back': 'Esc 返回',
|
|
786
|
+
'↑↓ to navigate · Enter to select · Esc to close':
|
|
787
|
+
'↑↓ 导航 · Enter 选择 · Esc 关闭',
|
|
788
|
+
'↑↓ to navigate · Enter to select · Esc to back':
|
|
789
|
+
'↑↓ 导航 · Enter 选择 · Esc 返回',
|
|
790
|
+
'↑↓ to navigate · Enter to confirm · Esc to back':
|
|
791
|
+
'↑↓ 导航 · Enter 确认 · Esc 返回',
|
|
792
|
+
'User Settings (global)': '用户设置(全局)',
|
|
793
|
+
'Workspace Settings (project-specific)': '工作区设置(项目级)',
|
|
794
|
+
'Disable server:': '禁用服务器:',
|
|
795
|
+
'Select where to add the server to the exclude list:':
|
|
796
|
+
'选择将服务器添加到排除列表的位置:',
|
|
797
|
+
'Press Enter to confirm, Esc to cancel': '按 Enter 确认,Esc 取消',
|
|
798
|
+
'View tools': '查看工具',
|
|
799
|
+
Reconnect: '重新连接',
|
|
800
|
+
Enable: '启用',
|
|
801
|
+
Disable: '禁用',
|
|
802
|
+
Authenticate: '认证',
|
|
803
|
+
disabled: '已禁用',
|
|
804
|
+
'Server:': '服务器:',
|
|
805
|
+
'(disabled)': '(已禁用)',
|
|
806
|
+
'Error:': '错误:',
|
|
807
|
+
Extension: '扩展',
|
|
808
|
+
prompts: '提示词',
|
|
809
|
+
tool: '工具',
|
|
810
|
+
tools: '个工具',
|
|
811
|
+
connected: '已连接',
|
|
812
|
+
connecting: '连接中',
|
|
813
|
+
disconnected: '已断开',
|
|
814
|
+
|
|
815
|
+
// MCP Server List
|
|
816
|
+
'User MCPs': '用户 MCP',
|
|
817
|
+
'Project MCPs': '项目 MCP',
|
|
818
|
+
'Extension MCPs': '扩展 MCP',
|
|
819
|
+
server: '个服务器',
|
|
820
|
+
servers: '个服务器',
|
|
821
|
+
'Add MCP servers to your settings to get started.':
|
|
822
|
+
'请在设置中添加 MCP 服务器以开始使用。',
|
|
823
|
+
'Run rdmind --debug to see error logs': '运行 rdmind --debug 查看错误日志',
|
|
824
|
+
|
|
825
|
+
// MCP OAuth Authentication
|
|
826
|
+
'OAuth Authentication': 'OAuth 认证',
|
|
827
|
+
'Press Enter to start authentication, Esc to go back':
|
|
828
|
+
'按 Enter 开始认证,Esc 返回',
|
|
829
|
+
'Authenticating... Please complete the login in your browser.':
|
|
830
|
+
'认证中... 请在浏览器中完成登录。',
|
|
831
|
+
'Press Enter or Esc to go back': '按 Enter 或 Esc 返回',
|
|
832
|
+
|
|
833
|
+
// MCP Server Detail
|
|
834
|
+
'Command:': '命令:',
|
|
835
|
+
'Working Directory:': '工作目录:',
|
|
836
|
+
'Capabilities:': '功能:',
|
|
837
|
+
|
|
838
|
+
// MCP Tool List
|
|
839
|
+
'No tools available for this server.': '此服务器没有可用工具。',
|
|
840
|
+
destructive: '破坏性',
|
|
841
|
+
'read-only': '只读',
|
|
842
|
+
'open-world': '开放世界',
|
|
843
|
+
idempotent: '幂等',
|
|
844
|
+
'Tools for {{name}}': '{{name}} 的工具',
|
|
845
|
+
'Tools for {{serverName}}': '{{serverName}} 的工具',
|
|
846
|
+
'{{current}}/{{total}}': '{{current}}/{{total}}',
|
|
847
|
+
|
|
848
|
+
// MCP Tool Detail
|
|
849
|
+
Type: '类型',
|
|
850
|
+
Parameters: '参数',
|
|
851
|
+
'No tool selected': '未选择工具',
|
|
852
|
+
Annotations: '注解',
|
|
853
|
+
Title: '标题',
|
|
854
|
+
'Read Only': '只读',
|
|
855
|
+
Destructive: '破坏性',
|
|
856
|
+
Idempotent: '幂等',
|
|
857
|
+
'Open World': '开放世界',
|
|
858
|
+
Server: '服务器',
|
|
859
|
+
|
|
860
|
+
// Invalid tool related translations
|
|
861
|
+
'{{count}} invalid tools': '{{count}} 个无效工具',
|
|
862
|
+
invalid: '无效',
|
|
863
|
+
'invalid: {{reason}}': '无效:{{reason}}',
|
|
864
|
+
'missing name': '缺少名称',
|
|
865
|
+
'missing description': '缺少描述',
|
|
866
|
+
'(unnamed)': '(未命名)',
|
|
867
|
+
'Warning: This tool cannot be called by the LLM':
|
|
868
|
+
'警告:此工具无法被 LLM 调用',
|
|
869
|
+
Reason: '原因',
|
|
870
|
+
'Tools must have both name and description to be used by the LLM.':
|
|
871
|
+
'工具必须同时具有名称和描述才能被 LLM 使用。',
|
|
872
|
+
|
|
710
873
|
// ============================================================================
|
|
711
874
|
// Commands - Chat
|
|
712
875
|
// ============================================================================
|
|
@@ -840,6 +1003,7 @@ export default {
|
|
|
840
1003
|
'Do you want to proceed?': '是否继续?',
|
|
841
1004
|
'Yes, allow once': '是,允许一次',
|
|
842
1005
|
'Allow always': '总是允许',
|
|
1006
|
+
Yes: '是',
|
|
843
1007
|
No: '否',
|
|
844
1008
|
'No (esc)': '否 (esc)',
|
|
845
1009
|
'Yes, allow always for this session': '是,本次会话总是允许',
|
|
@@ -1110,6 +1274,8 @@ export default {
|
|
|
1110
1274
|
'RDMind now supports custom commands, sub-agents, skills and other features. Check the documentation for usage help.':
|
|
1111
1275
|
'RDMind 现已支持自定义命令、子代理、技能等特性,查阅文档获得使用帮助。',
|
|
1112
1276
|
'Try asking RDMind to help you commit code.': '试试让 RDMind 帮你提交代码。',
|
|
1277
|
+
'Based on model support, RDMind can process image, PDF, and video inputs.':
|
|
1278
|
+
'基于模型支持能力,RDMind 支持输入图片、PDF 和视频。',
|
|
1113
1279
|
'RDMind can read REDoc. Please do not upload documents involving user privacy and core algorithms.':
|
|
1114
1280
|
'RDMind 可以读懂 REDoc,注意不要上传涉及用户隐私和核心算法的文档。',
|
|
1115
1281
|
'If you find RDMind useful, feel free to recommend it to your colleagues~':
|
|
@@ -1205,11 +1371,8 @@ export default {
|
|
|
1205
1371
|
'正在尝试退出 Vim...',
|
|
1206
1372
|
'这不是一个错误,这是一个未记录的功能...',
|
|
1207
1373
|
'正在写一个永远不会触发的 else...',
|
|
1208
|
-
'正在排查是谁写的这段祖传代码...哦是我自己...',
|
|
1209
1374
|
'正在把 if-else 重构成 switch...',
|
|
1210
|
-
'正在解决依赖关系(地狱)...',
|
|
1211
1375
|
'正在将咖啡转换为代码...',
|
|
1212
|
-
'正在删库跑路...的边缘试探...',
|
|
1213
1376
|
|
|
1214
1377
|
// --- 工作/职场相关 ---
|
|
1215
1378
|
'正在等待产品经理改需求...',
|
|
@@ -1355,6 +1518,16 @@ export default {
|
|
|
1355
1518
|
// ============================================================================
|
|
1356
1519
|
// Auth Dialog - View Titles and Labels
|
|
1357
1520
|
// ============================================================================
|
|
1521
|
+
'API-KEY': 'API-KEY',
|
|
1522
|
+
'Coding Plan': 'Coding Plan',
|
|
1523
|
+
"Paste your api key of Bailian Coding Plan and you're all set!":
|
|
1524
|
+
'粘贴您的百炼 Coding Plan API Key,即可完成设置!',
|
|
1525
|
+
Custom: '自定义',
|
|
1526
|
+
'More instructions about configuring `modelProviders` manually.':
|
|
1527
|
+
'关于手动配置 `modelProviders` 的更多说明。',
|
|
1528
|
+
'Select API-KEY configuration mode:': '选择 API-KEY 配置模式:',
|
|
1529
|
+
'(Press Escape to go back)': '(按 Escape 键返回)',
|
|
1530
|
+
'(Press Enter to submit, Escape to cancel)': '(按 Enter 提交,Escape 取消)',
|
|
1358
1531
|
'Select Region for Coding Plan': '选择 Coding Plan 区域',
|
|
1359
1532
|
'Choose based on where your account is registered':
|
|
1360
1533
|
'请根据您的账号注册地区选择',
|
|
@@ -1367,6 +1540,34 @@ export default {
|
|
|
1367
1540
|
'{{region}} 有新的模型配置可用。是否立即更新?',
|
|
1368
1541
|
'{{region}} configuration updated successfully. Model switched to "{{model}}".':
|
|
1369
1542
|
'{{region}} 配置更新成功。模型已切换至 "{{model}}"。',
|
|
1370
|
-
'
|
|
1371
|
-
|
|
1543
|
+
'{{region}} configuration updated successfully.': '{{region}} 配置更新成功。',
|
|
1544
|
+
'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.':
|
|
1545
|
+
'成功通过 {{region}} 认证。API Key 和模型配置已保存至 settings.json。',
|
|
1546
|
+
'Tip: Use /model to switch between available Coding Plan models.':
|
|
1547
|
+
'提示:使用 /model 切换可用的 Coding Plan 模型。',
|
|
1548
|
+
|
|
1549
|
+
// ============================================================================
|
|
1550
|
+
// Ask User Question Tool
|
|
1551
|
+
// ============================================================================
|
|
1552
|
+
'Please answer the following question(s):': '请回答以下问题:',
|
|
1553
|
+
'Cannot ask user questions in non-interactive mode. Please run in interactive mode to use this tool.':
|
|
1554
|
+
'无法在非交互模式下询问用户问题。请在交互模式下运行以使用此工具。',
|
|
1555
|
+
'User declined to answer the questions.': '用户拒绝回答问题。',
|
|
1556
|
+
'User has provided the following answers:': '用户提供了以下答案:',
|
|
1557
|
+
'Failed to process user answers:': '处理用户答案失败:',
|
|
1558
|
+
'Type something...': '输入内容...',
|
|
1559
|
+
Submit: '提交',
|
|
1560
|
+
'Submit answers': '提交答案',
|
|
1561
|
+
Cancel: '取消',
|
|
1562
|
+
'Your answers:': '您的答案:',
|
|
1563
|
+
'(not answered)': '(未回答)',
|
|
1564
|
+
'Ready to submit your answers?': '准备好提交您的答案了吗?',
|
|
1565
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Enter: Select':
|
|
1566
|
+
'↑/↓: 导航 | ←/→: 切换标签页 | Enter: 选择',
|
|
1567
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Space/Enter: Toggle | Esc: Cancel':
|
|
1568
|
+
'↑/↓: 导航 | ←/→: 切换标签页 | Space/Enter: 切换 | Esc: 取消',
|
|
1569
|
+
'↑/↓: Navigate | Space/Enter: Toggle | Esc: Cancel':
|
|
1570
|
+
'↑/↓: 导航 | Space/Enter: 切换 | Esc: 取消',
|
|
1571
|
+
'↑/↓: Navigate | Enter: Select | Esc: Cancel':
|
|
1572
|
+
'↑/↓: 导航 | Enter: 选择 | Esc: 取消',
|
|
1372
1573
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.2.8-alpha.
|
|
3
|
+
"version": "0.2.8-alpha.11",
|
|
4
4
|
"description": "RDMind - AI-powered coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "cli.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"locales"
|
|
20
20
|
],
|
|
21
21
|
"config": {
|
|
22
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.8-alpha.
|
|
22
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.8-alpha.11"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
(allow network-inbound (local ip "localhost:9229"))
|
|
30
30
|
|
|
31
31
|
;; deny all outbound network traffic EXCEPT through proxy on localhost:8877
|
|
32
|
-
;; set `
|
|
32
|
+
;; set `QWEN_SANDBOX_PROXY_COMMAND=<command>` to run proxy alongside sandbox
|
|
33
33
|
;; proxy must listen on :::8877 (see docs/examples/proxy-script.md)
|
|
34
34
|
(deny network-outbound)
|
|
35
35
|
(allow network-outbound (remote tcp "localhost:8877"))
|
|
@@ -93,6 +93,6 @@
|
|
|
93
93
|
(allow network-inbound (local ip "localhost:9229"))
|
|
94
94
|
|
|
95
95
|
;; allow outbound network traffic through proxy on localhost:8877
|
|
96
|
-
;; set `
|
|
96
|
+
;; set `QWEN_SANDBOX_PROXY_COMMAND=<command>` to run proxy alongside sandbox
|
|
97
97
|
;; proxy must listen on :::8877 (see docs/examples/proxy-script.md)
|
|
98
98
|
(allow network-outbound (remote tcp "localhost:8877"))
|