@qwen-code/qwen-code 0.13.0 → 0.13.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/ru.js CHANGED
@@ -605,6 +605,119 @@ export default {
605
605
  'List all configured hooks': 'Показать все настроенные хуки',
606
606
  'Enable a disabled hook': 'Включить отключенный хук',
607
607
  'Disable an active hook': 'Отключить активный хук',
608
+ // Hooks - Dialog
609
+ Hooks: 'Хуки',
610
+ 'Loading hooks...': 'Загрузка хуков...',
611
+ 'Error loading hooks:': 'Ошибка загрузки хуков:',
612
+ 'Press Escape to close': 'Нажмите Escape для закрытия',
613
+ 'No hook selected': 'Хук не выбран',
614
+ // Hooks - List Step
615
+ 'No hook events found.': 'События хуков не найдены.',
616
+ '{{count}} hook configured': '{{count}} хук настроен',
617
+ '{{count}} hooks configured': '{{count}} хуков настроено',
618
+ 'This menu is read-only. To add or modify hooks, edit settings.json directly or ask Qwen Code.':
619
+ 'Это меню только для чтения. Чтобы добавить или изменить хуки, отредактируйте settings.json напрямую или спросите Qwen Code.',
620
+ 'Enter to select · Esc to cancel': 'Enter для выбора · Esc для отмены',
621
+ // Hooks - Detail Step
622
+ 'Exit codes:': 'Коды выхода:',
623
+ 'Configured hooks:': 'Настроенные хуки:',
624
+ 'No hooks configured for this event.':
625
+ 'Для этого события нет настроенных хуков.',
626
+ 'To add hooks, edit settings.json directly or ask Qwen.':
627
+ 'Чтобы добавить хуки, отредактируйте settings.json напрямую или спросите Qwen.',
628
+ 'Enter to select · Esc to go back': 'Enter для выбора · Esc для возврата',
629
+ // Hooks - Config Detail Step
630
+ 'Hook details': 'Детали хука',
631
+ 'Event:': 'Событие:',
632
+ 'Extension:': 'Расширение:',
633
+ 'Desc:': 'Описание:',
634
+ 'No hook config selected': 'Конфигурация хука не выбрана',
635
+ 'To modify or remove this hook, edit settings.json directly or ask Qwen to help.':
636
+ 'Чтобы изменить или удалить этот хук, отредактируйте settings.json напрямую или спросите Qwen.',
637
+ // Hooks - Source
638
+ Project: 'Проект',
639
+ User: 'Пользователь',
640
+ System: 'Система',
641
+ Extension: 'Расширение',
642
+ 'Local Settings': 'Локальные настройки',
643
+ 'User Settings': 'Пользовательские настройки',
644
+ 'System Settings': 'Системные настройки',
645
+ Extensions: 'Расширения',
646
+ // Hooks - Status
647
+ '✓ Enabled': '✓ Включен',
648
+ '✗ Disabled': '✗ Отключен',
649
+ // Hooks - Event Descriptions (short)
650
+ 'Before tool execution': 'Перед выполнением инструмента',
651
+ 'After tool execution': 'После выполнения инструмента',
652
+ 'After tool execution fails': 'При неудачном выполнении инструмента',
653
+ 'When notifications are sent': 'При отправке уведомлений',
654
+ 'When the user submits a prompt': 'Когда пользователь отправляет промпт',
655
+ 'When a new session is started': 'При запуске новой сессии',
656
+ 'Right before Qwen Code concludes its response':
657
+ 'Непосредственно перед завершением ответа Qwen Code',
658
+ 'When a subagent (Agent tool call) is started':
659
+ 'При запуске субагента (вызов инструмента Agent)',
660
+ 'Right before a subagent concludes its response':
661
+ 'Непосредственно перед завершением ответа субагента',
662
+ 'Before conversation compaction': 'Перед сжатием разговора',
663
+ 'When a session is ending': 'При завершении сессии',
664
+ 'When a permission dialog is displayed': 'При отображении диалога разрешений',
665
+ // Hooks - Event Descriptions (detailed)
666
+ 'Input to command is JSON of tool call arguments.':
667
+ 'Ввод в команду — это JSON аргументов вызова инструмента.',
668
+ 'Input to command is JSON with fields "inputs" (tool call arguments) and "response" (tool call response).':
669
+ 'Ввод в команду — это JSON с полями "inputs" (аргументы вызова инструмента) и "response" (ответ вызова инструмента).',
670
+ 'Input to command is JSON with tool_name, tool_input, tool_use_id, error, error_type, is_interrupt, and is_timeout.':
671
+ 'Ввод в команду — это JSON с tool_name, tool_input, tool_use_id, error, error_type, is_interrupt и is_timeout.',
672
+ 'Input to command is JSON with notification message and type.':
673
+ 'Ввод в команду — это JSON с сообщением уведомления и типом.',
674
+ 'Input to command is JSON with original user prompt text.':
675
+ 'Ввод в команду — это JSON с исходным текстом промпта пользователя.',
676
+ 'Input to command is JSON with session start source.':
677
+ 'Ввод в команду — это JSON с источником запуска сессии.',
678
+ 'Input to command is JSON with session end reason.':
679
+ 'Ввод в команду — это JSON с причиной завершения сессии.',
680
+ 'Input to command is JSON with agent_id and agent_type.':
681
+ 'Ввод в команду — это JSON с agent_id и agent_type.',
682
+ 'Input to command is JSON with agent_id, agent_type, and agent_transcript_path.':
683
+ 'Ввод в команду — это JSON с agent_id, agent_type и agent_transcript_path.',
684
+ 'Input to command is JSON with compaction details.':
685
+ 'Ввод в команду — это JSON с деталями сжатия.',
686
+ 'Input to command is JSON with tool_name, tool_input, and tool_use_id. Output JSON with hookSpecificOutput containing decision to allow or deny.':
687
+ 'Ввод в команду — это JSON с tool_name, tool_input и tool_use_id. Вывод — JSON с hookSpecificOutput, содержащим решение о разрешении или отказе.',
688
+ // Hooks - Exit Code Descriptions
689
+ 'stdout/stderr not shown': 'stdout/stderr не отображаются',
690
+ 'show stderr to model and continue conversation':
691
+ 'показать stderr модели и продолжить разговор',
692
+ 'show stderr to user only': 'показать stderr только пользователю',
693
+ 'stdout shown in transcript mode (ctrl+o)':
694
+ 'stdout отображается в режиме транскрипции (ctrl+o)',
695
+ 'show stderr to model immediately': 'показать stderr модели немедленно',
696
+ 'show stderr to user only but continue with tool call':
697
+ 'показать stderr только пользователю, но продолжить вызов инструмента',
698
+ 'block processing, erase original prompt, and show stderr to user only':
699
+ 'заблокировать обработку, стереть исходный промпт и показать stderr только пользователю',
700
+ 'stdout shown to Qwen': 'stdout показан Qwen',
701
+ 'show stderr to user only (blocking errors ignored)':
702
+ 'показать stderr только пользователю (блокирующие ошибки игнорируются)',
703
+ 'command completes successfully': 'команда успешно завершена',
704
+ 'stdout shown to subagent': 'stdout показан субагенту',
705
+ 'show stderr to subagent and continue having it run':
706
+ 'показать stderr субагенту и продолжить его выполнение',
707
+ 'stdout appended as custom compact instructions':
708
+ 'stdout добавлен как пользовательские инструкции сжатия',
709
+ 'block compaction': 'заблокировать сжатие',
710
+ 'show stderr to user only but continue with compaction':
711
+ 'показать stderr только пользователю, но продолжить сжатие',
712
+ 'use hook decision if provided':
713
+ 'использовать решение хука, если предоставлено',
714
+ // Hooks - Messages
715
+ 'Config not loaded.': 'Конфигурация не загружена.',
716
+ 'Hooks are not enabled. Enable hooks in settings to use this feature.':
717
+ 'Хуки не включены. Включите хуки в настройках, чтобы использовать эту функцию.',
718
+ 'No hooks configured. Add hooks in your settings.json file.':
719
+ 'Хуки не настроены. Добавьте хуки в файл settings.json.',
720
+ 'Configured Hooks ({{count}} total)': 'Настроенные хуки (всего {{count}})',
608
721
 
609
722
  // ============================================================================
610
723
  // Commands - Session Export
@@ -718,7 +831,6 @@ export default {
718
831
  'Workspace approval mode exists and takes priority. User-level change will have no effect.':
719
832
  'Режим подтверждения рабочего пространства существует и имеет приоритет. Изменение на уровне пользователя не будет иметь эффекта.',
720
833
  'Apply To': 'Применить к',
721
- 'User Settings': 'Настройки пользователя',
722
834
  'Workspace Settings': 'Настройки рабочего пространства',
723
835
 
724
836
  // ============================================================================
@@ -773,7 +885,6 @@ export default {
773
885
  'List configured MCP servers and tools':
774
886
  'Просмотр настроенных MCP-серверов и инструментов',
775
887
  'Restarts MCP servers.': 'Перезапустить MCP-серверы.',
776
- 'Config not loaded.': 'Конфигурация не загружена.',
777
888
  'Could not retrieve tool registry.':
778
889
  'Не удалось получить реестр инструментов.',
779
890
  'No MCP servers configured with OAuth authentication.':
@@ -951,7 +1062,6 @@ export default {
951
1062
  'View tools': 'Просмотреть инструменты',
952
1063
  '(disabled)': '(отключен)',
953
1064
  'Error:': 'Ошибка:',
954
- Extension: 'Расширение',
955
1065
  tool: 'инструмент',
956
1066
  connected: 'подключен',
957
1067
  connecting: 'подключение',
@@ -979,7 +1089,11 @@ export default {
979
1089
  "Allow execution of: '{{command}}'?": "Разрешить выполнение: '{{command}}'?",
980
1090
  'Yes, allow always ...': 'Да, всегда разрешать ...',
981
1091
  'Always allow in this project': 'Всегда разрешать в этом проекте',
1092
+ 'Always allow {{action}} in this project':
1093
+ 'Всегда разрешать {{action}} в этом проекте',
982
1094
  'Always allow for this user': 'Всегда разрешать для этого пользователя',
1095
+ 'Always allow {{action}} for this user':
1096
+ 'Всегда разрешать {{action}} для этого пользователя',
983
1097
  'Yes, and auto-accept edits': 'Да, и автоматически принимать правки',
984
1098
  'Yes, and manually approve edits': 'Да, и вручную подтверждать правки',
985
1099
  'No, keep planning (esc)': 'Нет, продолжить планирование (esc)',
package/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: '已连接',
@@ -1044,7 +1149,9 @@ export default {
1044
1149
  "Allow execution of: '{{command}}'?": "允许执行:'{{command}}'?",
1045
1150
  'Yes, allow always ...': '是,总是允许 ...',
1046
1151
  'Always allow in this project': '在本项目中总是允许',
1152
+ 'Always allow {{action}} in this project': '在本项目中总是允许{{action}}',
1047
1153
  'Always allow for this user': '对该用户总是允许',
1154
+ 'Always allow {{action}} for this user': '对该用户总是允许{{action}}',
1048
1155
  'Yes, and auto-accept edits': '是,并自动接受编辑',
1049
1156
  'Yes, and manually approve edits': '是,并手动批准编辑',
1050
1157
  'No, keep planning (esc)': '否,继续规划 (esc)',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwen-code/qwen-code",
3
- "version": "0.13.0",
3
+ "version": "0.13.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.13.0"
24
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.13.1"
25
25
  },
26
26
  "dependencies": {},
27
27
  "optionalDependencies": {