@qwen-code/qwen-code 0.7.2 → 0.8.0-nightly.20260122.21b26a40

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/locales/zh.js CHANGED
@@ -32,6 +32,25 @@ export default {
32
32
  'Model Context Protocol command (from external servers)':
33
33
  '模型上下文协议命令(来自外部服务器)',
34
34
  'Keyboard Shortcuts:': '键盘快捷键:',
35
+ 'Toggle this help display': '切换此帮助显示',
36
+ 'Toggle shell mode': '切换命令行模式',
37
+ 'Open command menu': '打开命令菜单',
38
+ 'Add file context': '添加文件上下文',
39
+ 'Accept suggestion / Autocomplete': '接受建议 / 自动补全',
40
+ 'Reverse search history': '反向搜索历史',
41
+ 'Press ? again to close': '再次按 ? 关闭',
42
+ // Keyboard shortcuts panel descriptions
43
+ 'for shell mode': '命令行模式',
44
+ 'for commands': '命令菜单',
45
+ 'for file paths': '文件路径',
46
+ 'to clear input': '清空输入',
47
+ 'to cycle approvals': '切换审批模式',
48
+ 'to quit': '退出',
49
+ 'for newline': '换行',
50
+ 'to clear screen': '清屏',
51
+ 'to search history': '搜索历史',
52
+ 'to paste images': '粘贴图片',
53
+ 'for external editor': '外部编辑器',
35
54
  'Jump through words in the input': '在输入中按单词跳转',
36
55
  'Close dialogs, cancel requests, or quit application':
37
56
  '关闭对话框、取消请求或退出应用程序',
@@ -45,6 +64,7 @@ export default {
45
64
  'Connecting to MCP servers... ({{connected}}/{{total}})':
46
65
  '正在连接到 MCP 服务器... ({{connected}}/{{total}})',
47
66
  'Type your message or @path/to/file': '输入您的消息或 @ 文件路径',
67
+ '? for shortcuts': '按 ? 查看快捷键',
48
68
  "Press 'i' for INSERT mode and 'Esc' for NORMAL mode.":
49
69
  "按 'i' 进入插入模式,按 'Esc' 进入普通模式",
50
70
  'Cancel operation / Clear input (double press)':
@@ -58,10 +78,15 @@ export default {
58
78
  'show version info': '显示版本信息',
59
79
  'submit a bug report': '提交错误报告',
60
80
  'About Qwen Code': '关于 Qwen Code',
81
+ Status: '状态',
61
82
 
62
83
  // ============================================================================
63
84
  // System Information Fields
64
85
  // ============================================================================
86
+ 'Qwen Code': 'Qwen Code',
87
+ Runtime: '运行环境',
88
+ OS: '操作系统',
89
+ Auth: '认证',
65
90
  'CLI Version': 'CLI 版本',
66
91
  'Git Commit': 'Git 提交',
67
92
  Model: '模型',
@@ -74,6 +99,7 @@ export default {
74
99
  'Session ID': '会话 ID',
75
100
  'Auth Method': '认证方式',
76
101
  'Base URL': '基础 URL',
102
+ Proxy: '代理',
77
103
  'Memory Usage': '内存使用',
78
104
  'IDE Client': 'IDE 客户端',
79
105
 
@@ -97,8 +123,8 @@ export default {
97
123
  Preview: '预览',
98
124
  '(Use Enter to select, Tab to configure scope)':
99
125
  '(使用 Enter 选择,Tab 配置作用域)',
100
- '(Use Enter to apply scope, Tab to select theme)':
101
- '(使用 Enter 应用作用域,Tab 选择主题)',
126
+ '(Use Enter to apply scope, Tab to go back)':
127
+ '(使用 Enter 应用作用域,Tab 返回)',
102
128
  'Theme configuration unavailable due to NO_COLOR env variable.':
103
129
  '由于 NO_COLOR 环境变量,主题配置不可用。',
104
130
  'Theme "{{themeName}}" not found.': '未找到主题 "{{themeName}}"。',
@@ -248,8 +274,6 @@ export default {
248
274
  // ============================================================================
249
275
  'View and edit Qwen Code settings': '查看和编辑 Qwen Code 设置',
250
276
  Settings: '设置',
251
- '(Use Enter to select{{tabText}})': '(使用 Enter 选择{{tabText}})',
252
- ', Tab to change focus': ',Tab 切换焦点',
253
277
  'To see changes, Qwen Code must be restarted. Press r to exit and apply changes now.':
254
278
  '要查看更改,必须重启 Qwen Code。按 r 退出并立即应用更改。',
255
279
  'The command "/{{command}}" is not supported in non-interactive mode.':
@@ -259,24 +283,24 @@ export default {
259
283
  // ============================================================================
260
284
  'Vim Mode': 'Vim 模式',
261
285
  'Disable Auto Update': '禁用自动更新',
286
+ 'Attribution: commit': '署名:提交',
287
+ 'Terminal Bell Notification': '终端响铃通知',
288
+ 'Enable Usage Statistics': '启用使用统计',
289
+ Theme: '主题',
290
+ 'Preferred Editor': '首选编辑器',
291
+ 'Auto-connect to IDE': '自动连接到 IDE',
262
292
  'Enable Prompt Completion': '启用提示补全',
263
293
  'Debug Keystroke Logging': '调试按键记录',
264
- Language: '语言',
294
+ 'Language: UI': '语言:界面',
295
+ 'Language: Model': '语言:模型',
265
296
  'Output Format': '输出格式',
266
297
  'Hide Window Title': '隐藏窗口标题',
267
298
  'Show Status in Title': '在标题中显示状态',
268
299
  'Hide Tips': '隐藏提示',
269
- 'Hide Banner': '隐藏横幅',
270
- 'Hide Context Summary': '隐藏上下文摘要',
271
- 'Hide CWD': '隐藏当前工作目录',
272
- 'Hide Sandbox Status': '隐藏沙箱状态',
273
- 'Hide Model Info': '隐藏模型信息',
274
- 'Hide Footer': '隐藏页脚',
275
- 'Show Memory Usage': '显示内存使用',
276
- 'Show Line Numbers': '显示行号',
300
+ 'Show Line Numbers in Code': '在代码中显示行号',
277
301
  'Show Citations': '显示引用',
278
302
  'Custom Witty Phrases': '自定义诙谐短语',
279
- 'Enable Welcome Back': '启用欢迎回来',
303
+ 'Show Welcome Back Dialog': '显示欢迎回来对话框',
280
304
  'Enable User Feedback': '启用用户反馈',
281
305
  'How is Qwen doing this session? (optional)': 'Qwen 这次表现如何?(可选)',
282
306
  Bad: '不满意',
@@ -301,7 +325,7 @@ export default {
301
325
  'Respect .qwenignore': '遵守 .qwenignore',
302
326
  'Enable Recursive File Search': '启用递归文件搜索',
303
327
  'Disable Fuzzy Search': '禁用模糊搜索',
304
- 'Enable Interactive Shell': '启用交互式 Shell',
328
+ 'Interactive Shell (PTY)': '交互式 Shell (PTY)',
305
329
  'Show Color': '显示颜色',
306
330
  'Auto Accept': '自动接受',
307
331
  'Use Ripgrep': '使用 Ripgrep',
@@ -312,6 +336,7 @@ export default {
312
336
  'Folder Trust': '文件夹信任',
313
337
  'Vision Model Preview': '视觉模型预览',
314
338
  'Tool Schema Compliance': '工具 Schema 兼容性',
339
+ 'Experimental: Skills': '实验性: 技能',
315
340
  // Settings enum options
316
341
  'Auto (detect from system)': '自动(从系统检测)',
317
342
  Text: '文本',
@@ -333,6 +358,11 @@ export default {
333
358
  '将目录添加到工作区。使用逗号分隔多个路径',
334
359
  'Show all directories in the workspace': '显示工作区中的所有目录',
335
360
  'set external editor preference': '设置外部编辑器首选项',
361
+ 'Select Editor': '选择编辑器',
362
+ 'Editor Preference': '编辑器首选项',
363
+ 'These editors are currently supported. Please note that some editors cannot be used in sandbox mode.':
364
+ '当前支持以下编辑器。请注意,某些编辑器无法在沙箱模式下使用。',
365
+ 'Your preferred editor is:': '您的首选编辑器是:',
336
366
  'Manage extensions': '管理扩展',
337
367
  'List active extensions': '列出活动扩展',
338
368
  'Update extensions. Usage: update <extension-names>|--all':
@@ -396,6 +426,7 @@ export default {
396
426
  'Example: /language output English': '示例:/language output English',
397
427
  'Example: /language output 日本語': '示例:/language output 日本語',
398
428
  'UI language changed to {{lang}}': 'UI 语言已更改为 {{lang}}',
429
+ 'LLM output language set to {{lang}}': 'LLM 输出语言已设置为 {{lang}}',
399
430
  'LLM output language rule file generated at {{path}}':
400
431
  'LLM 输出语言规则文件已生成于 {{path}}',
401
432
  'Please restart the application for the changes to take effect.':
@@ -416,7 +447,7 @@ export default {
416
447
  // ============================================================================
417
448
  // Commands - Approval Mode
418
449
  // ============================================================================
419
- 'Approval Mode': '审批模式',
450
+ 'Tool Approval Mode': '工具审批模式',
420
451
  'Current approval mode: {{mode}}': '当前审批模式:{{mode}}',
421
452
  'Available approval modes:': '可用的审批模式:',
422
453
  'Approval mode changed to: {{mode}}': '审批模式已更改为:{{mode}}',
@@ -450,8 +481,6 @@ export default {
450
481
  'Automatically approve all tools': '自动批准所有工具',
451
482
  'Workspace approval mode exists and takes priority. User-level change will have no effect.':
452
483
  '工作区审批模式已存在并具有优先级。用户级别的更改将无效。',
453
- '(Use Enter to select, Tab to change focus)':
454
- '(使用 Enter 选择,Tab 切换焦点)',
455
484
  'Apply To': '应用于',
456
485
  'User Settings': '用户设置',
457
486
  'Workspace Settings': '工作区设置',
@@ -851,13 +880,22 @@ export default {
851
880
  // ============================================================================
852
881
  // Startup Tips
853
882
  // ============================================================================
854
- 'Tips for getting started:': '入门提示:',
855
- '1. Ask questions, edit files, or run commands.':
856
- '1. 提问、编辑文件或运行命令',
857
- '2. Be specific for the best results.': '2. 具体描述以获得最佳结果',
858
- 'files to customize your interactions with Qwen Code.':
859
- '文件以自定义您与 Qwen Code 的交互',
860
- 'for more information.': '获取更多信息',
883
+ 'Tips:': '提示:',
884
+ 'Use /compress when the conversation gets long to summarize history and free up context.':
885
+ '对话变长时用 /compress,总结历史并释放上下文。',
886
+ 'Start a fresh idea with /clear or /new; the previous session stays available in history.':
887
+ ' /clear /new 开启新思路;之前的会话会保留在历史记录中。',
888
+ 'Use /bug to submit issues to the maintainers when something goes off.':
889
+ '遇到问题时,用 /bug 将问题提交给维护者。',
890
+ 'Switch auth type quickly with /auth.': '用 /auth 快速切换认证方式。',
891
+ 'You can run any shell commands from Qwen Code using ! (e.g. !ls).':
892
+ '在 Qwen Code 中使用 ! 可运行任意 shell 命令(例如 !ls)。',
893
+ 'Type / to open the command popup; Tab autocompletes slash commands and saved prompts.':
894
+ '输入 / 打开命令弹窗;按 Tab 自动补全斜杠命令和保存的提示词。',
895
+ 'You can resume a previous conversation by running qwen --continue or qwen --resume.':
896
+ '运行 qwen --continue 或 qwen --resume 可继续之前的会话。',
897
+ 'You can switch permission mode quickly with Shift+Tab or /approval-mode.':
898
+ '按 Shift+Tab 或输入 /approval-mode 可快速切换权限模式。',
861
899
 
862
900
  // ============================================================================
863
901
  // Exit Screen / Stats
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwen-code/qwen-code",
3
- "version": "0.7.2",
3
+ "version": "0.8.0-nightly.20260122.21b26a40",
4
4
  "description": "Qwen Code - AI-powered coding assistant",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,11 +20,9 @@
20
20
  "locales"
21
21
  ],
22
22
  "config": {
23
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.7.2"
24
- },
25
- "dependencies": {
26
- "tiktoken": "^1.0.21"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.8.0-nightly.20260122.21b26a40"
27
24
  },
25
+ "dependencies": {},
28
26
  "optionalDependencies": {
29
27
  "@lydell/node-pty": "1.1.0",
30
28
  "@lydell/node-pty-darwin-arm64": "1.1.0",