@qwen-code/sdk 0.1.6-preview.0 → 0.1.6
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/README.md +17 -9
- package/dist/cli/cli.js +101221 -78905
- package/dist/cli/locales/de.js +298 -5
- package/dist/cli/locales/en.js +288 -5
- package/dist/cli/locales/ja.js +287 -5
- package/dist/cli/locales/pt.js +293 -5
- package/dist/cli/locales/ru.js +288 -5
- package/dist/cli/locales/zh.js +273 -4
- package/dist/cli/vendor/tree-sitter/tree-sitter-bash.wasm +0 -0
- package/dist/cli/vendor/tree-sitter/tree-sitter.wasm +0 -0
- package/package.json +1 -1
package/dist/cli/locales/zh.js
CHANGED
|
@@ -632,6 +632,114 @@ export default {
|
|
|
632
632
|
'List all configured hooks': '列出所有已配置的 Hook',
|
|
633
633
|
'Enable a disabled hook': '启用已禁用的 Hook',
|
|
634
634
|
'Disable an active hook': '禁用已启用的 Hook',
|
|
635
|
+
// Hooks - Dialog
|
|
636
|
+
Hooks: 'Hook',
|
|
637
|
+
'Loading hooks...': '正在加载 Hook...',
|
|
638
|
+
'Error loading hooks:': '加载 Hook 出错:',
|
|
639
|
+
'Press Escape to close': '按 Escape 关闭',
|
|
640
|
+
'No hook selected': '未选择 Hook',
|
|
641
|
+
// Hooks - List Step
|
|
642
|
+
'No hook events found.': '未找到 Hook 事件。',
|
|
643
|
+
'{{count}} hook configured': '{{count}} 个 Hook 已配置',
|
|
644
|
+
'{{count}} hooks configured': '{{count}} 个 Hook 已配置',
|
|
645
|
+
'This menu is read-only. To add or modify hooks, edit settings.json directly or ask Qwen Code.':
|
|
646
|
+
'此菜单为只读。要添加或修改 Hook,请直接编辑 settings.json 或询问 Qwen Code。',
|
|
647
|
+
'Enter to select · Esc to cancel': 'Enter 选择 · Esc 取消',
|
|
648
|
+
// Hooks - Detail Step
|
|
649
|
+
'Exit codes:': '退出码:',
|
|
650
|
+
'Configured hooks:': '已配置的 Hook:',
|
|
651
|
+
'No hooks configured for this event.': '此事件未配置 Hook。',
|
|
652
|
+
'To add hooks, edit settings.json directly or ask Qwen.':
|
|
653
|
+
'要添加 Hook,请直接编辑 settings.json 或询问 Qwen。',
|
|
654
|
+
'Enter to select · Esc to go back': 'Enter 选择 · Esc 返回',
|
|
655
|
+
// Hooks - Config Detail Step
|
|
656
|
+
'Hook details': 'Hook 详情',
|
|
657
|
+
'Event:': '事件:',
|
|
658
|
+
'Extension:': '扩展:',
|
|
659
|
+
'Desc:': '描述:',
|
|
660
|
+
'No hook config selected': '未选择 Hook 配置',
|
|
661
|
+
'To modify or remove this hook, edit settings.json directly or ask Qwen to help.':
|
|
662
|
+
'要修改或删除此 Hook,请直接编辑 settings.json 或询问 Qwen。',
|
|
663
|
+
// Hooks - Source
|
|
664
|
+
Project: '项目',
|
|
665
|
+
User: '用户',
|
|
666
|
+
System: '系统',
|
|
667
|
+
Extension: '扩展',
|
|
668
|
+
'Local Settings': '本地设置',
|
|
669
|
+
'User Settings': '用户设置',
|
|
670
|
+
'System Settings': '系统设置',
|
|
671
|
+
Extensions: '扩展',
|
|
672
|
+
// Hooks - Status
|
|
673
|
+
'✓ Enabled': '✓ 已启用',
|
|
674
|
+
'✗ Disabled': '✗ 已禁用',
|
|
675
|
+
// Hooks - Event Descriptions (short)
|
|
676
|
+
'Before tool execution': '工具执行前',
|
|
677
|
+
'After tool execution': '工具执行后',
|
|
678
|
+
'After tool execution fails': '工具执行失败后',
|
|
679
|
+
'When notifications are sent': '发送通知时',
|
|
680
|
+
'When the user submits a prompt': '用户提交提示时',
|
|
681
|
+
'When a new session is started': '新会话开始时',
|
|
682
|
+
'Right before Qwen Code concludes its response': 'Qwen Code 结束响应之前',
|
|
683
|
+
'When a subagent (Agent tool call) is started':
|
|
684
|
+
'子智能体(Agent 工具调用)启动时',
|
|
685
|
+
'Right before a subagent concludes its response': '子智能体结束响应之前',
|
|
686
|
+
'Before conversation compaction': '对话压缩前',
|
|
687
|
+
'When a session is ending': '会话结束时',
|
|
688
|
+
'When a permission dialog is displayed': '显示权限对话框时',
|
|
689
|
+
// Hooks - Event Descriptions (detailed)
|
|
690
|
+
'Input to command is JSON of tool call arguments.':
|
|
691
|
+
'命令输入为工具调用参数的 JSON。',
|
|
692
|
+
'Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).':
|
|
693
|
+
'命令输入为包含 "inputs"(工具调用参数)和 "response"(工具调用响应)字段的 JSON。',
|
|
694
|
+
'Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.':
|
|
695
|
+
'命令输入为包含 tool_name、tool_input、tool_use_id、error、error_type、is_interrupt 和 is_timeout 的 JSON。',
|
|
696
|
+
'Input to command is JSON with notification message and type.':
|
|
697
|
+
'命令输入为包含通知消息和类型的 JSON。',
|
|
698
|
+
'Input to command is JSON with original user prompt text.':
|
|
699
|
+
'命令输入为包含原始用户提示文本的 JSON。',
|
|
700
|
+
'Input to command is JSON with session start source.':
|
|
701
|
+
'命令输入为包含会话启动来源的 JSON。',
|
|
702
|
+
'Input to command is JSON with session end reason.':
|
|
703
|
+
'命令输入为包含会话结束原因的 JSON。',
|
|
704
|
+
'Input to command is JSON with agent_id and agent_type.':
|
|
705
|
+
'命令输入为包含 agent_id 和 agent_type 的 JSON。',
|
|
706
|
+
'Input to command is JSON with agent_id, agent_type, and agent_transcript_path.':
|
|
707
|
+
'命令输入为包含 agent_id、agent_type 和 agent_transcript_path 的 JSON。',
|
|
708
|
+
'Input to command is JSON with compaction details.':
|
|
709
|
+
'命令输入为包含压缩详情的 JSON。',
|
|
710
|
+
'Input to command is JSON with tool_name, tool_input, and tool_use_id. Output JSON with hookSpecificOutput containing decision to allow or deny.':
|
|
711
|
+
'命令输入为包含 tool_name、tool_input 和 tool_use_id 的 JSON。输出包含 hookSpecificOutput 的 JSON,其中包含允许或拒绝的决定。',
|
|
712
|
+
// Hooks - Exit Code Descriptions
|
|
713
|
+
'stdout/stderr not shown': 'stdout/stderr 不显示',
|
|
714
|
+
'show stderr to model and continue conversation':
|
|
715
|
+
'向模型显示 stderr 并继续对话',
|
|
716
|
+
'show stderr to user only': '仅向用户显示 stderr',
|
|
717
|
+
'stdout shown in transcript mode (ctrl+o)': 'stdout 以转录模式显示 (ctrl+o)',
|
|
718
|
+
'show stderr to model immediately': '立即向模型显示 stderr',
|
|
719
|
+
'show stderr to user only but continue with tool call':
|
|
720
|
+
'仅向用户显示 stderr 但继续工具调用',
|
|
721
|
+
'block processing, erase original prompt, and show stderr to user only':
|
|
722
|
+
'阻止处理,擦除原始提示,仅向用户显示 stderr',
|
|
723
|
+
'stdout shown to Qwen': '向 Qwen 显示 stdout',
|
|
724
|
+
'show stderr to user only (blocking errors ignored)':
|
|
725
|
+
'仅向用户显示 stderr(忽略阻塞错误)',
|
|
726
|
+
'command completes successfully': '命令成功完成',
|
|
727
|
+
'stdout shown to subagent': '向子智能体显示 stdout',
|
|
728
|
+
'show stderr to subagent and continue having it run':
|
|
729
|
+
'向子智能体显示 stderr 并继续运行',
|
|
730
|
+
'stdout appended as custom compact instructions':
|
|
731
|
+
'stdout 作为自定义压缩指令追加',
|
|
732
|
+
'block compaction': '阻止压缩',
|
|
733
|
+
'show stderr to user only but continue with compaction':
|
|
734
|
+
'仅向用户显示 stderr 但继续压缩',
|
|
735
|
+
'use hook decision if provided': '如果提供则使用 Hook 决定',
|
|
736
|
+
// Hooks - Messages
|
|
737
|
+
'Config not loaded.': '配置未加载。',
|
|
738
|
+
'Hooks are not enabled. Enable hooks in settings to use this feature.':
|
|
739
|
+
'Hook 未启用。请在设置中启用 Hook 以使用此功能。',
|
|
740
|
+
'No hooks configured. Add hooks in your settings.json file.':
|
|
741
|
+
'未配置 Hook。请在 settings.json 文件中添加 Hook。',
|
|
742
|
+
'Configured Hooks ({{count}} total)': '已配置的 Hook(共 {{count}} 个)',
|
|
635
743
|
|
|
636
744
|
// ============================================================================
|
|
637
745
|
// Commands - Session Export
|
|
@@ -732,7 +840,6 @@ export default {
|
|
|
732
840
|
'Workspace approval mode exists and takes priority. User-level change will have no effect.':
|
|
733
841
|
'工作区审批模式已存在并具有优先级。用户级别的更改将无效。',
|
|
734
842
|
'Apply To': '应用于',
|
|
735
|
-
'User Settings': '用户设置',
|
|
736
843
|
'Workspace Settings': '工作区设置',
|
|
737
844
|
|
|
738
845
|
// ============================================================================
|
|
@@ -782,7 +889,6 @@ export default {
|
|
|
782
889
|
'List configured MCP servers and tools': '列出已配置的 MCP 服务器和工具',
|
|
783
890
|
'Restarts MCP servers.': '重启 MCP 服务器',
|
|
784
891
|
'Open MCP management dialog': '打开 MCP 管理对话框',
|
|
785
|
-
'Config not loaded.': '配置未加载',
|
|
786
892
|
'Could not retrieve tool registry.': '无法检索工具注册表',
|
|
787
893
|
'No MCP servers configured with OAuth authentication.':
|
|
788
894
|
'未配置支持 OAuth 认证的 MCP 服务器',
|
|
@@ -841,7 +947,6 @@ export default {
|
|
|
841
947
|
'Server:': '服务器:',
|
|
842
948
|
'(disabled)': '(已禁用)',
|
|
843
949
|
'Error:': '错误:',
|
|
844
|
-
Extension: '扩展',
|
|
845
950
|
tool: '工具',
|
|
846
951
|
tools: '个工具',
|
|
847
952
|
connected: '已连接',
|
|
@@ -1043,6 +1148,10 @@ export default {
|
|
|
1043
1148
|
'No, suggest changes (esc)': '否,建议更改 (esc)',
|
|
1044
1149
|
"Allow execution of: '{{command}}'?": "允许执行:'{{command}}'?",
|
|
1045
1150
|
'Yes, allow always ...': '是,总是允许 ...',
|
|
1151
|
+
'Always allow in this project': '在本项目中总是允许',
|
|
1152
|
+
'Always allow {{action}} in this project': '在本项目中总是允许{{action}}',
|
|
1153
|
+
'Always allow for this user': '对该用户总是允许',
|
|
1154
|
+
'Always allow {{action}} for this user': '对该用户总是允许{{action}}',
|
|
1046
1155
|
'Yes, and auto-accept edits': '是,并自动接受编辑',
|
|
1047
1156
|
'Yes, and manually approve edits': '是,并手动批准编辑',
|
|
1048
1157
|
'No, keep planning (esc)': '否,继续规划 (esc)',
|
|
@@ -1196,6 +1305,71 @@ export default {
|
|
|
1196
1305
|
// Dialogs - Permissions
|
|
1197
1306
|
// ============================================================================
|
|
1198
1307
|
'Manage folder trust settings': '管理文件夹信任设置',
|
|
1308
|
+
'Manage permission rules': '管理权限规则',
|
|
1309
|
+
Allow: '允许',
|
|
1310
|
+
Ask: '询问',
|
|
1311
|
+
Deny: '拒绝',
|
|
1312
|
+
Workspace: '工作区',
|
|
1313
|
+
"Qwen Code won't ask before using allowed tools.":
|
|
1314
|
+
'Qwen Code 使用已允许的工具前不会询问。',
|
|
1315
|
+
'Qwen Code will ask before using these tools.':
|
|
1316
|
+
'Qwen Code 使用这些工具前会先询问。',
|
|
1317
|
+
'Qwen Code is not allowed to use denied tools.':
|
|
1318
|
+
'Qwen Code 不允许使用被拒绝的工具。',
|
|
1319
|
+
'Manage trusted directories for this workspace.':
|
|
1320
|
+
'管理此工作区的受信任目录。',
|
|
1321
|
+
'Any use of the {{tool}} tool': '{{tool}} 工具的任何使用',
|
|
1322
|
+
"{{tool}} commands matching '{{pattern}}'":
|
|
1323
|
+
"匹配 '{{pattern}}' 的 {{tool}} 命令",
|
|
1324
|
+
'From user settings': '来自用户设置',
|
|
1325
|
+
'From project settings': '来自项目设置',
|
|
1326
|
+
'From session': '来自会话',
|
|
1327
|
+
'Project settings (local)': '项目设置(本地)',
|
|
1328
|
+
'Saved in .qwen/settings.local.json': '保存在 .qwen/settings.local.json',
|
|
1329
|
+
'Project settings': '项目设置',
|
|
1330
|
+
'Checked in at .qwen/settings.json': '保存在 .qwen/settings.json',
|
|
1331
|
+
'User settings': '用户设置',
|
|
1332
|
+
'Saved in at ~/.qwen/settings.json': '保存在 ~/.qwen/settings.json',
|
|
1333
|
+
'Add a new rule…': '添加新规则…',
|
|
1334
|
+
'Add {{type}} permission rule': '添加{{type}}权限规则',
|
|
1335
|
+
'Permission rules are a tool name, optionally followed by a specifier in parentheses.':
|
|
1336
|
+
'权限规则是一个工具名称,可选地后跟括号中的限定符。',
|
|
1337
|
+
'e.g.,': '例如',
|
|
1338
|
+
or: '或',
|
|
1339
|
+
'Enter permission rule…': '输入权限规则…',
|
|
1340
|
+
'Enter to submit · Esc to cancel': '回车提交 · Esc 取消',
|
|
1341
|
+
'Where should this rule be saved?': '此规则应保存在哪里?',
|
|
1342
|
+
'Enter to confirm · Esc to cancel': '回车确认 · Esc 取消',
|
|
1343
|
+
'Delete {{type}} rule?': '删除{{type}}规则?',
|
|
1344
|
+
'Are you sure you want to delete this permission rule?':
|
|
1345
|
+
'确定要删除此权限规则吗?',
|
|
1346
|
+
'Permissions:': '权限:',
|
|
1347
|
+
'(←/→ or tab to cycle)': '(←/→ 或 tab 切换)',
|
|
1348
|
+
'Press ↑↓ to navigate · Enter to select · Type to search · Esc to cancel':
|
|
1349
|
+
'按 ↑↓ 导航 · 回车选择 · 输入搜索 · Esc 取消',
|
|
1350
|
+
'Search…': '搜索…',
|
|
1351
|
+
'Use /trust to manage folder trust settings for this workspace.':
|
|
1352
|
+
'使用 /trust 管理此工作区的文件夹信任设置。',
|
|
1353
|
+
// Workspace directory management
|
|
1354
|
+
'Add directory…': '添加目录…',
|
|
1355
|
+
'Add directory to workspace': '添加工作区目录',
|
|
1356
|
+
'Qwen Code can read files in the workspace, and make edits when auto-accept edits is on.':
|
|
1357
|
+
'Qwen Code 可以读取工作区中的文件,并在自动接受编辑模式开启时进行编辑。',
|
|
1358
|
+
'Qwen Code will be able to read files in this directory and make edits when auto-accept edits is on.':
|
|
1359
|
+
'Qwen Code 将能够读取此目录中的文件,并在自动接受编辑模式开启时进行编辑。',
|
|
1360
|
+
'Enter the path to the directory:': '输入目录路径:',
|
|
1361
|
+
'Enter directory path…': '输入目录路径…',
|
|
1362
|
+
'Tab to complete · Enter to add · Esc to cancel':
|
|
1363
|
+
'Tab 补全 · 回车添加 · Esc 取消',
|
|
1364
|
+
'Remove directory?': '删除目录?',
|
|
1365
|
+
'Are you sure you want to remove this directory from the workspace?':
|
|
1366
|
+
'确定要将此目录从工作区中移除吗?',
|
|
1367
|
+
' (Original working directory)': ' (原始工作目录)',
|
|
1368
|
+
' (from settings)': ' (来自设置)',
|
|
1369
|
+
'Directory does not exist.': '目录不存在。',
|
|
1370
|
+
'Path is not a directory.': '路径不是目录。',
|
|
1371
|
+
'This directory is already in the workspace.': '此目录已在工作区中。',
|
|
1372
|
+
'Already covered by existing directory: {{dir}}': '已被现有目录覆盖:{{dir}}',
|
|
1199
1373
|
|
|
1200
1374
|
// ============================================================================
|
|
1201
1375
|
// Status Bar
|
|
@@ -1476,7 +1650,7 @@ export default {
|
|
|
1476
1650
|
// ============================================================================
|
|
1477
1651
|
'API-KEY': 'API-KEY',
|
|
1478
1652
|
'Coding Plan': 'Coding Plan',
|
|
1479
|
-
"Paste your api key of
|
|
1653
|
+
"Paste your api key of ModelStudio Coding Plan and you're all set!":
|
|
1480
1654
|
'粘贴您的百炼 Coding Plan API Key,即可完成设置!',
|
|
1481
1655
|
Custom: '自定义',
|
|
1482
1656
|
'More instructions about configuring `modelProviders` manually.':
|
|
@@ -1496,6 +1670,33 @@ export default {
|
|
|
1496
1670
|
'{{region}} 有新的模型配置可用。是否立即更新?',
|
|
1497
1671
|
'{{region}} configuration updated successfully. Model switched to "{{model}}".':
|
|
1498
1672
|
'{{region}} 配置更新成功。模型已切换至 "{{model}}"。',
|
|
1673
|
+
'Authenticated successfully with {{region}}. API key and model configs saved to settings.json (backed up).':
|
|
1674
|
+
'成功通过 {{region}} 认证。API Key 和模型配置已保存至 settings.json(已备份)。',
|
|
1675
|
+
|
|
1676
|
+
// ============================================================================
|
|
1677
|
+
// Context Usage
|
|
1678
|
+
// ============================================================================
|
|
1679
|
+
'Context Usage': '上下文使用情况',
|
|
1680
|
+
'Context window': '上下文窗口',
|
|
1681
|
+
Used: '已用',
|
|
1682
|
+
Free: '空闲',
|
|
1683
|
+
'Autocompact buffer': '自动压缩缓冲区',
|
|
1684
|
+
'Usage by category': '分类用量',
|
|
1685
|
+
'System prompt': '系统提示',
|
|
1686
|
+
'Built-in tools': '内置工具',
|
|
1687
|
+
'MCP tools': 'MCP 工具',
|
|
1688
|
+
'Memory files': '记忆文件',
|
|
1689
|
+
Skills: '技能',
|
|
1690
|
+
Messages: '消息',
|
|
1691
|
+
tokens: 'tokens',
|
|
1692
|
+
'Estimated pre-conversation overhead': '预估对话前开销',
|
|
1693
|
+
'No API response yet. Send a message to see actual usage.':
|
|
1694
|
+
'暂无 API 响应。发送消息以查看实际使用情况。',
|
|
1695
|
+
'Show context window usage breakdown.': '显示上下文窗口使用情况分解。',
|
|
1696
|
+
'Run /context detail for per-item breakdown.':
|
|
1697
|
+
'运行 /context detail 查看详细分解。',
|
|
1698
|
+
'body loaded': '内容已加载',
|
|
1699
|
+
memory: '记忆',
|
|
1499
1700
|
'{{region}} configuration updated successfully.': '{{region}} 配置更新成功。',
|
|
1500
1701
|
'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.':
|
|
1501
1702
|
'成功通过 {{region}} 认证。API Key 和模型配置已保存至 settings.json。',
|
|
@@ -1526,4 +1727,72 @@ export default {
|
|
|
1526
1727
|
'↑/↓: 导航 | Space/Enter: 切换 | Esc: 取消',
|
|
1527
1728
|
'↑/↓: Navigate | Enter: Select | Esc: Cancel':
|
|
1528
1729
|
'↑/↓: 导航 | Enter: 选择 | Esc: 取消',
|
|
1730
|
+
|
|
1731
|
+
// ============================================================================
|
|
1732
|
+
// Commands - Auth
|
|
1733
|
+
// ============================================================================
|
|
1734
|
+
'Configure Qwen authentication information with Qwen-OAuth or Alibaba Cloud Coding Plan':
|
|
1735
|
+
'使用 Qwen OAuth 或阿里云百炼 Coding Plan 配置 Qwen 认证信息',
|
|
1736
|
+
'Authenticate using Qwen OAuth': '使用 Qwen OAuth 进行认证',
|
|
1737
|
+
'Authenticate using Alibaba Cloud Coding Plan':
|
|
1738
|
+
'使用阿里云百炼 Coding Plan 进行认证',
|
|
1739
|
+
'Region for Coding Plan (china/global)': 'Coding Plan 区域 (china/global)',
|
|
1740
|
+
'API key for Coding Plan': 'Coding Plan 的 API 密钥',
|
|
1741
|
+
'Show current authentication status': '显示当前认证状态',
|
|
1742
|
+
'Authentication completed successfully.': '认证完成。',
|
|
1743
|
+
'Starting Qwen OAuth authentication...': '正在启动 Qwen OAuth 认证...',
|
|
1744
|
+
'Successfully authenticated with Qwen OAuth.': '已成功通过 Qwen OAuth 认证。',
|
|
1745
|
+
'Failed to authenticate with Qwen OAuth: {{error}}':
|
|
1746
|
+
'Qwen OAuth 认证失败:{{error}}',
|
|
1747
|
+
'Processing Alibaba Cloud Coding Plan authentication...':
|
|
1748
|
+
'正在处理阿里云百炼 Coding Plan 认证...',
|
|
1749
|
+
'Successfully authenticated with Alibaba Cloud Coding Plan.':
|
|
1750
|
+
'已成功通过阿里云百炼 Coding Plan 认证。',
|
|
1751
|
+
'Failed to authenticate with Coding Plan: {{error}}':
|
|
1752
|
+
'Coding Plan 认证失败:{{error}}',
|
|
1753
|
+
'中国 (China)': '中国 (China)',
|
|
1754
|
+
'阿里云百炼 (aliyun.com)': '阿里云百炼 (aliyun.com)',
|
|
1755
|
+
Global: '全球',
|
|
1756
|
+
'Alibaba Cloud (alibabacloud.com)': 'Alibaba Cloud (alibabacloud.com)',
|
|
1757
|
+
'Select region for Coding Plan:': '选择 Coding Plan 区域:',
|
|
1758
|
+
'Enter your Coding Plan API key: ': '请输入您的 Coding Plan API 密钥:',
|
|
1759
|
+
'Select authentication method:': '选择认证方式:',
|
|
1760
|
+
'\n=== Authentication Status ===\n': '\n=== 认证状态 ===\n',
|
|
1761
|
+
'⚠️ No authentication method configured.\n': '⚠️ 未配置认证方式。\n',
|
|
1762
|
+
'Run one of the following commands to get started:\n':
|
|
1763
|
+
'运行以下命令之一开始配置:\n',
|
|
1764
|
+
' qwen auth qwen-oauth - Authenticate with Qwen OAuth (free tier)':
|
|
1765
|
+
' qwen auth qwen-oauth - 使用 Qwen OAuth 认证(免费)',
|
|
1766
|
+
' qwen auth coding-plan - Authenticate with Alibaba Cloud Coding Plan\n':
|
|
1767
|
+
' qwen auth coding-plan - 使用阿里云百炼 Coding Plan 认证\n',
|
|
1768
|
+
'Or simply run:': '或者直接运行:',
|
|
1769
|
+
' qwen auth - Interactive authentication setup\n':
|
|
1770
|
+
' qwen auth - 交互式认证配置\n',
|
|
1771
|
+
'✓ Authentication Method: Qwen OAuth': '✓ 认证方式:Qwen OAuth',
|
|
1772
|
+
' Type: Free tier': ' 类型:免费版',
|
|
1773
|
+
' Limit: Up to 1,000 requests/day': ' 限额:每天最多 1,000 次请求',
|
|
1774
|
+
' Models: Qwen latest models\n': ' 模型:Qwen 最新模型\n',
|
|
1775
|
+
'✓ Authentication Method: Alibaba Cloud Coding Plan':
|
|
1776
|
+
'✓ 认证方式:阿里云百炼 Coding Plan',
|
|
1777
|
+
'中国 (China) - 阿里云百炼': '中国 (China) - 阿里云百炼',
|
|
1778
|
+
'Global - Alibaba Cloud': '全球 - Alibaba Cloud',
|
|
1779
|
+
' Region: {{region}}': ' 区域:{{region}}',
|
|
1780
|
+
' Current Model: {{model}}': ' 当前模型:{{model}}',
|
|
1781
|
+
' Config Version: {{version}}': ' 配置版本:{{version}}',
|
|
1782
|
+
' Status: API key configured\n': ' 状态:API 密钥已配置\n',
|
|
1783
|
+
'⚠️ Authentication Method: Alibaba Cloud Coding Plan (Incomplete)':
|
|
1784
|
+
'⚠️ 认证方式:阿里云百炼 Coding Plan(不完整)',
|
|
1785
|
+
' Issue: API key not found in environment or settings\n':
|
|
1786
|
+
' 问题:在环境变量或设置中未找到 API 密钥\n',
|
|
1787
|
+
' Run `qwen auth coding-plan` to re-configure.\n':
|
|
1788
|
+
' 运行 `qwen auth coding-plan` 重新配置。\n',
|
|
1789
|
+
'✓ Authentication Method: {{type}}': '✓ 认证方式:{{type}}',
|
|
1790
|
+
' Status: Configured\n': ' 状态:已配置\n',
|
|
1791
|
+
'Failed to check authentication status: {{error}}':
|
|
1792
|
+
'检查认证状态失败:{{error}}',
|
|
1793
|
+
'Select an option:': '请选择:',
|
|
1794
|
+
'Raw mode not available. Please run in an interactive terminal.':
|
|
1795
|
+
'原始模式不可用。请在交互式终端中运行。',
|
|
1796
|
+
'(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
|
|
1797
|
+
'(使用 ↑ ↓ 箭头导航,Enter 选择,Ctrl+C 退出)\n',
|
|
1529
1798
|
};
|
|
Binary file
|
|
Binary file
|