@qwen-code/qwen-code 0.15.12-preview.0 → 0.15.12-preview.1

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
@@ -508,8 +508,8 @@ export default {
508
508
  '扩展 "{{name}}" 已是最新版本。',
509
509
  'Updates all extensions or a named extension to the latest version.':
510
510
  '将所有扩展或指定扩展更新到最新版本。',
511
- 'The name of the extension to update.': '要更新的扩展名称。',
512
511
  'Update all extensions.': '更新所有扩展。',
512
+ 'The name of the extension to update.': '要更新的扩展名称。',
513
513
  'Either an extension name or --all must be provided':
514
514
  '必须提供扩展名称或 --all',
515
515
  'Lists installed extensions.': '列出已安装的扩展。',
@@ -610,6 +610,7 @@ export default {
610
610
  '按 Escape、Ctrl+C 或 Ctrl+D 取消',
611
611
  'Press Space, Enter, or Escape to dismiss': '按 Space、Enter 或 Escape 关闭',
612
612
  'No hook selected': '未选择 Hook',
613
+ 'Session (temporary)': '会话(临时)',
613
614
  // Hooks - List Step
614
615
  'No hook events found.': '未找到 Hook 事件。',
615
616
  '{{count}} hook configured': '{{count}} 个 Hook 已配置',
@@ -655,7 +656,6 @@ export default {
655
656
  'User Settings': '用户设置',
656
657
  'System Settings': '系统设置',
657
658
  Extensions: '扩展',
658
- 'Session (temporary)': '会话(临时)',
659
659
  // Hooks - Event Descriptions (short)
660
660
  'Before tool execution': '工具执行前',
661
661
  'After tool execution': '工具执行后',
@@ -670,6 +670,8 @@ export default {
670
670
  'Before conversation compaction': '对话压缩前',
671
671
  'When a session is ending': '会话结束时',
672
672
  'When a permission dialog is displayed': '显示权限对话框时',
673
+ 'When a new todo item is created': '创建新待办事项时',
674
+ 'When a todo item is marked as completed': '待办事项标记为完成时',
673
675
  // Hooks - Event Descriptions (detailed)
674
676
  'Input to command is JSON of tool call arguments.':
675
677
  '命令输入为工具调用参数的 JSON。',
@@ -693,6 +695,10 @@ export default {
693
695
  '命令输入为包含压缩详情的 JSON。',
694
696
  'Input to command is JSON with tool_name, tool_input, and tool_use_id. Output JSON with hookSpecificOutput containing decision to allow or deny.':
695
697
  '命令输入为包含 tool_name、tool_input 和 tool_use_id 的 JSON。输出包含 hookSpecificOutput 的 JSON,其中包含允许或拒绝的决定。',
698
+ 'Input to command is JSON with todo_id, todo_content, todo_status, all_todos, and phase. In validation, output JSON with decision (allow/block/deny) and reason. In postWrite, block/deny is ignored.':
699
+ '命令输入为包含 todo_id、todo_content、todo_status、all_todos 和 phase 的 JSON。在 validation 中,输出包含 decision(allow/block/deny)和 reason 的 JSON。在 postWrite 中,block/deny 会被忽略。',
700
+ 'Input to command is JSON with todo_id, todo_content, previous_status, all_todos, and phase. In validation, output JSON with decision (allow/block/deny) and reason. In postWrite, block/deny is ignored.':
701
+ '命令输入为包含 todo_id、todo_content、previous_status、all_todos 和 phase 的 JSON。在 validation 中,输出包含 decision(allow/block/deny)和 reason 的 JSON。在 postWrite 中,block/deny 会被忽略。',
696
702
  // Hooks - Exit Code Descriptions
697
703
  'stdout/stderr not shown': 'stdout/stderr 不显示',
698
704
  'show stderr to model and continue conversation':
@@ -717,6 +723,12 @@ export default {
717
723
  'show stderr to user only but continue with compaction':
718
724
  '仅向用户显示 stderr 但继续压缩',
719
725
  'use hook decision if provided': '如果提供则使用 Hook 决定',
726
+ 'allow todo creation': '允许创建待办事项',
727
+ 'block todo creation and show reason to model':
728
+ '阻止创建待办事项并向模型显示原因',
729
+ 'allow todo completion': '允许完成待办事项',
730
+ 'block todo completion and show reason to model':
731
+ '阻止完成待办事项并向模型显示原因',
720
732
  // Hooks - Messages
721
733
  'Config not loaded.': '配置未加载。',
722
734
  'Hooks are not enabled. Enable hooks in settings to use this feature.':
@@ -1290,6 +1302,8 @@ export default {
1290
1302
  '上下文空间不足,用 /compress 释放空间。',
1291
1303
  'Long conversation? /compress summarizes history to free context.':
1292
1304
  '对话太长?用 /compress 总结历史,释放上下文。',
1305
+ 'Show context window usage breakdown. Use "/context detail" for per-item breakdown.':
1306
+ '显示上下文窗口使用情况明细。使用 "/context detail" 查看逐项明细。',
1293
1307
 
1294
1308
  // ============================================================================
1295
1309
  // Exit Screen / Stats
@@ -1456,7 +1470,7 @@ export default {
1456
1470
  // ============================================================================
1457
1471
  'API key cannot be empty.': 'API Key 不能为空。',
1458
1472
  'Invalid API key. Coding Plan API keys start with "sk-sp-". Please check.':
1459
- '无效的 API KeyCoding Plan API Key 均以 "sk-sp-" 开头,请检查',
1473
+ '无效的 API KeyCoding Plan API Key "sk-sp-" 开头,请检查。',
1460
1474
  'You can get your Coding Plan API key here':
1461
1475
  '您可以在这里获取 Coding Plan API Key',
1462
1476
  'You can get your Token Plan API key here':
@@ -1522,8 +1536,6 @@ export default {
1522
1536
  '暂无 API 响应。发送消息以查看实际使用情况。',
1523
1537
  'Run /context detail for per-item breakdown.':
1524
1538
  '运行 /context detail 查看详细分解。',
1525
- 'Show context window usage breakdown. Use "/context detail" for per-item breakdown.':
1526
- '显示上下文窗口使用情况分解。输入 "/context detail" 查看详细分解。',
1527
1539
  'body loaded': '内容已加载',
1528
1540
  memory: '记忆',
1529
1541
  '{{region}} configuration updated successfully.': '{{region}} 配置更新成功。',
@@ -1671,25 +1683,6 @@ export default {
1671
1683
  'Manage extension settings': '管理扩展设置',
1672
1684
 
1673
1685
  // === Core: added from PR #3328 ===
1674
- 'Manage dynamic translation cache': '管理动态翻译缓存',
1675
- 'Re-translate currently loaded dynamic slash descriptions for the current UI language':
1676
- '重新翻译当前 UI 语言的动态斜杠命令描述',
1677
- 'Clear cached translations for the current UI language':
1678
- '清除当前 UI 语言的缓存翻译',
1679
- 'Manage AI translation for dynamic slash command descriptions':
1680
- '管理动态斜杠命令描述的 AI 翻译',
1681
- 'Enable AI translation for dynamic slash command descriptions':
1682
- '启用动态斜杠命令描述的 AI 翻译',
1683
- 'Disable AI translation for dynamic slash command descriptions':
1684
- '禁用动态斜杠命令描述的 AI 翻译',
1685
- 'Show AI translation status for dynamic slash command descriptions':
1686
- '显示动态斜杠命令描述的 AI 翻译状态',
1687
- 'AI translation for dynamic slash command descriptions is {{status}}.':
1688
- '动态斜杠命令描述的 AI 翻译处于{{status}}状态。',
1689
- 'AI translation for dynamic slash command descriptions is now enabled.':
1690
- '动态斜杠命令描述的 AI 翻译现已启用。',
1691
- 'AI translation for dynamic slash command descriptions is now disabled.':
1692
- '动态斜杠命令描述的 AI 翻译现已禁用。',
1693
1686
  'Background tasks': '后台任务',
1694
1687
  'No tasks currently running': '当前没有正在运行的任务',
1695
1688
  'No entry to show.': '没有可显示的条目。',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwen-code/qwen-code",
3
- "version": "0.15.12-preview.0",
3
+ "version": "0.15.12-preview.1",
4
4
  "description": "Qwen Code - AI-powered coding assistant",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "bundled"
22
22
  ],
23
23
  "config": {
24
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.15.12-preview.0"
24
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.15.12-preview.1"
25
25
  },
26
26
  "dependencies": {},
27
27
  "optionalDependencies": {