@qwen-code/qwen-code 0.13.0-preview.0 → 0.13.0-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/pt.js CHANGED
@@ -1053,6 +1053,8 @@ export default {
1053
1053
  "Allow execution of: '{{command}}'?":
1054
1054
  "Permitir a execução de: '{{command}}'?",
1055
1055
  'Yes, allow always ...': 'Sim, permitir sempre ...',
1056
+ 'Always allow in this project': 'Sempre permitir neste projeto',
1057
+ 'Always allow for this user': 'Sempre permitir para este usuário',
1056
1058
  'Yes, and auto-accept edits': 'Sim, e aceitar edições automaticamente',
1057
1059
  'Yes, and manually approve edits': 'Sim, e aprovar edições manualmente',
1058
1060
  'No, keep planning (esc)': 'Não, continuar planejando (esc)',
@@ -1219,6 +1221,74 @@ export default {
1219
1221
  // ============================================================================
1220
1222
  'Manage folder trust settings':
1221
1223
  'Gerenciar configurações de confiança de pasta',
1224
+ 'Manage permission rules': 'Gerenciar regras de permissão',
1225
+ Allow: 'Permitir',
1226
+ Ask: 'Perguntar',
1227
+ Deny: 'Negar',
1228
+ Workspace: 'Área de trabalho',
1229
+ "Qwen Code won't ask before using allowed tools.":
1230
+ 'O Qwen Code não perguntará antes de usar ferramentas permitidas.',
1231
+ 'Qwen Code will ask before using these tools.':
1232
+ 'O Qwen Code perguntará antes de usar essas ferramentas.',
1233
+ 'Qwen Code is not allowed to use denied tools.':
1234
+ 'O Qwen Code não tem permissão para usar ferramentas negadas.',
1235
+ 'Manage trusted directories for this workspace.':
1236
+ 'Gerenciar diretórios confiáveis para esta área de trabalho.',
1237
+ 'Any use of the {{tool}} tool': 'Qualquer uso da ferramenta {{tool}}',
1238
+ "{{tool}} commands matching '{{pattern}}'":
1239
+ "Comandos {{tool}} correspondentes a '{{pattern}}'",
1240
+ 'From user settings': 'Das configurações do usuário',
1241
+ 'From project settings': 'Das configurações do projeto',
1242
+ 'From session': 'Da sessão',
1243
+ 'Project settings (local)': 'Configurações do projeto (local)',
1244
+ 'Saved in .qwen/settings.local.json': 'Salvo em .qwen/settings.local.json',
1245
+ 'Project settings': 'Configurações do projeto',
1246
+ 'Checked in at .qwen/settings.json': 'Registrado em .qwen/settings.json',
1247
+ 'User settings': 'Configurações do usuário',
1248
+ 'Saved in at ~/.qwen/settings.json': 'Salvo em ~/.qwen/settings.json',
1249
+ 'Add a new rule…': 'Adicionar nova regra…',
1250
+ 'Add {{type}} permission rule': 'Adicionar regra de permissão {{type}}',
1251
+ 'Permission rules are a tool name, optionally followed by a specifier in parentheses.':
1252
+ 'Regras de permissão são um nome de ferramenta, opcionalmente seguido por um especificador entre parênteses.',
1253
+ 'e.g.,': 'ex.',
1254
+ or: 'ou',
1255
+ 'Enter permission rule…': 'Insira a regra de permissão…',
1256
+ 'Enter to submit · Esc to cancel': 'Enter para enviar · Esc para cancelar',
1257
+ 'Where should this rule be saved?': 'Onde esta regra deve ser salva?',
1258
+ 'Enter to confirm · Esc to cancel':
1259
+ 'Enter para confirmar · Esc para cancelar',
1260
+ 'Delete {{type}} rule?': 'Excluir regra {{type}}?',
1261
+ 'Are you sure you want to delete this permission rule?':
1262
+ 'Tem certeza de que deseja excluir esta regra de permissão?',
1263
+ 'Permissions:': 'Permissões:',
1264
+ '(←/→ or tab to cycle)': '(←/→ ou Tab para alternar)',
1265
+ 'Press ↑↓ to navigate · Enter to select · Type to search · Esc to cancel':
1266
+ '↑↓ para navegar · Enter para selecionar · Digite para pesquisar · Esc para cancelar',
1267
+ 'Search…': 'Pesquisar…',
1268
+ 'Use /trust to manage folder trust settings for this workspace.':
1269
+ 'Use /trust para gerenciar as configurações de confiança de pasta desta área de trabalho.',
1270
+ // Workspace directory management
1271
+ 'Add directory…': 'Adicionar diretório…',
1272
+ 'Add directory to workspace': 'Adicionar diretório à área de trabalho',
1273
+ 'Qwen Code can read files in the workspace, and make edits when auto-accept edits is on.':
1274
+ 'O Qwen Code pode ler arquivos na área de trabalho e fazer edições quando a aceitação automática está ativada.',
1275
+ 'Qwen Code will be able to read files in this directory and make edits when auto-accept edits is on.':
1276
+ 'O Qwen Code poderá ler arquivos neste diretório e fazer edições quando a aceitação automática está ativada.',
1277
+ 'Enter the path to the directory:': 'Insira o caminho do diretório:',
1278
+ 'Enter directory path…': 'Insira o caminho do diretório…',
1279
+ 'Tab to complete · Enter to add · Esc to cancel':
1280
+ 'Tab para completar · Enter para adicionar · Esc para cancelar',
1281
+ 'Remove directory?': 'Remover diretório?',
1282
+ 'Are you sure you want to remove this directory from the workspace?':
1283
+ 'Tem certeza de que deseja remover este diretório da área de trabalho?',
1284
+ ' (Original working directory)': ' (Diretório de trabalho original)',
1285
+ ' (from settings)': ' (das configurações)',
1286
+ 'Directory does not exist.': 'O diretório não existe.',
1287
+ 'Path is not a directory.': 'O caminho não é um diretório.',
1288
+ 'This directory is already in the workspace.':
1289
+ 'Este diretório já está na área de trabalho.',
1290
+ 'Already covered by existing directory: {{dir}}':
1291
+ 'Já coberto pelo diretório existente: {{dir}}',
1222
1292
 
1223
1293
  // ============================================================================
1224
1294
  // Status Bar
@@ -1679,4 +1749,78 @@ export default {
1679
1749
  '↑/↓: Navegar | Space/Enter: Alternar | Esc: Cancelar',
1680
1750
  '↑/↓: Navigate | Enter: Select | Esc: Cancel':
1681
1751
  '↑/↓: Navegar | Enter: Selecionar | Esc: Cancelar',
1752
+
1753
+ // ============================================================================
1754
+ // Commands - Auth
1755
+ // ============================================================================
1756
+ 'Configure Qwen authentication information with Qwen-OAuth or Alibaba Cloud Coding Plan':
1757
+ 'Configurar autenticação Qwen com Qwen-OAuth ou Alibaba Cloud Coding Plan',
1758
+ 'Authenticate using Qwen OAuth': 'Autenticar usando Qwen OAuth',
1759
+ 'Authenticate using Alibaba Cloud Coding Plan':
1760
+ 'Autenticar usando Alibaba Cloud Coding Plan',
1761
+ 'Region for Coding Plan (china/global)':
1762
+ 'Região para Coding Plan (china/global)',
1763
+ 'API key for Coding Plan': 'Chave de API para Coding Plan',
1764
+ 'Show current authentication status': 'Mostrar status atual de autenticação',
1765
+ 'Authentication completed successfully.':
1766
+ 'Autenticação concluída com sucesso.',
1767
+ 'Starting Qwen OAuth authentication...':
1768
+ 'Iniciando autenticação Qwen OAuth...',
1769
+ 'Successfully authenticated with Qwen OAuth.':
1770
+ 'Autenticado com sucesso via Qwen OAuth.',
1771
+ 'Failed to authenticate with Qwen OAuth: {{error}}':
1772
+ 'Falha ao autenticar com Qwen OAuth: {{error}}',
1773
+ 'Processing Alibaba Cloud Coding Plan authentication...':
1774
+ 'Processando autenticação Alibaba Cloud Coding Plan...',
1775
+ 'Successfully authenticated with Alibaba Cloud Coding Plan.':
1776
+ 'Autenticado com sucesso via Alibaba Cloud Coding Plan.',
1777
+ 'Failed to authenticate with Coding Plan: {{error}}':
1778
+ 'Falha ao autenticar com Coding Plan: {{error}}',
1779
+ '中国 (China)': '中国 (China)',
1780
+ '阿里云百炼 (aliyun.com)': '阿里云百炼 (aliyun.com)',
1781
+ Global: 'Global',
1782
+ 'Alibaba Cloud (alibabacloud.com)': 'Alibaba Cloud (alibabacloud.com)',
1783
+ 'Select region for Coding Plan:': 'Selecione a região para Coding Plan:',
1784
+ 'Enter your Coding Plan API key: ':
1785
+ 'Insira sua chave de API do Coding Plan: ',
1786
+ 'Select authentication method:': 'Selecione o método de autenticação:',
1787
+ '\n=== Authentication Status ===\n': '\n=== Status de Autenticação ===\n',
1788
+ '⚠️ No authentication method configured.\n':
1789
+ '⚠️ Nenhum método de autenticação configurado.\n',
1790
+ 'Run one of the following commands to get started:\n':
1791
+ 'Execute um dos seguintes comandos para começar:\n',
1792
+ ' qwen auth qwen-oauth - Authenticate with Qwen OAuth (free tier)':
1793
+ ' qwen auth qwen-oauth - Autenticar com Qwen OAuth (gratuito)',
1794
+ ' qwen auth coding-plan - Authenticate with Alibaba Cloud Coding Plan\n':
1795
+ ' qwen auth coding-plan - Autenticar com Alibaba Cloud Coding Plan\n',
1796
+ 'Or simply run:': 'Ou simplesmente execute:',
1797
+ ' qwen auth - Interactive authentication setup\n':
1798
+ ' qwen auth - Configuração interativa de autenticação\n',
1799
+ '✓ Authentication Method: Qwen OAuth': '✓ Método de autenticação: Qwen OAuth',
1800
+ ' Type: Free tier': ' Tipo: Gratuito',
1801
+ ' Limit: Up to 1,000 requests/day': ' Limite: Até 1.000 solicitações/dia',
1802
+ ' Models: Qwen latest models\n': ' Modelos: Modelos Qwen mais recentes\n',
1803
+ '✓ Authentication Method: Alibaba Cloud Coding Plan':
1804
+ '✓ Método de autenticação: Alibaba Cloud Coding Plan',
1805
+ '中国 (China) - 阿里云百炼': '中国 (China) - 阿里云百炼',
1806
+ 'Global - Alibaba Cloud': 'Global - Alibaba Cloud',
1807
+ ' Region: {{region}}': ' Região: {{region}}',
1808
+ ' Current Model: {{model}}': ' Modelo atual: {{model}}',
1809
+ ' Config Version: {{version}}': ' Versão da configuração: {{version}}',
1810
+ ' Status: API key configured\n': ' Status: Chave de API configurada\n',
1811
+ '⚠️ Authentication Method: Alibaba Cloud Coding Plan (Incomplete)':
1812
+ '⚠️ Método de autenticação: Alibaba Cloud Coding Plan (Incompleto)',
1813
+ ' Issue: API key not found in environment or settings\n':
1814
+ ' Problema: Chave de API não encontrada no ambiente ou configurações\n',
1815
+ ' Run `qwen auth coding-plan` to re-configure.\n':
1816
+ ' Execute `qwen auth coding-plan` para reconfigurar.\n',
1817
+ '✓ Authentication Method: {{type}}': '✓ Método de autenticação: {{type}}',
1818
+ ' Status: Configured\n': ' Status: Configurado\n',
1819
+ 'Failed to check authentication status: {{error}}':
1820
+ 'Falha ao verificar status de autenticação: {{error}}',
1821
+ 'Select an option:': 'Selecione uma opção:',
1822
+ 'Raw mode not available. Please run in an interactive terminal.':
1823
+ 'Modo raw não disponível. Execute em um terminal interativo.',
1824
+ '(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
1825
+ '(Use ↑ ↓ para navegar, Enter para selecionar, Ctrl+C para sair)\n',
1682
1826
  };
package/locales/ru.js CHANGED
@@ -978,6 +978,8 @@ export default {
978
978
  'No, suggest changes (esc)': 'Нет, предложить изменения (esc)',
979
979
  "Allow execution of: '{{command}}'?": "Разрешить выполнение: '{{command}}'?",
980
980
  'Yes, allow always ...': 'Да, всегда разрешать ...',
981
+ 'Always allow in this project': 'Всегда разрешать в этом проекте',
982
+ 'Always allow for this user': 'Всегда разрешать для этого пользователя',
981
983
  'Yes, and auto-accept edits': 'Да, и автоматически принимать правки',
982
984
  'Yes, and manually approve edits': 'Да, и вручную подтверждать правки',
983
985
  'No, keep planning (esc)': 'Нет, продолжить планирование (esc)',
@@ -1142,6 +1144,74 @@ export default {
1142
1144
  // Диалоги - Разрешения
1143
1145
  // ============================================================================
1144
1146
  'Manage folder trust settings': 'Управление настройками доверия к папкам',
1147
+ 'Manage permission rules': 'Управление правилами разрешений',
1148
+ Allow: 'Разрешить',
1149
+ Ask: 'Спросить',
1150
+ Deny: 'Запретить',
1151
+ Workspace: 'Рабочая область',
1152
+ "Qwen Code won't ask before using allowed tools.":
1153
+ 'Qwen Code не будет спрашивать перед использованием разрешённых инструментов.',
1154
+ 'Qwen Code will ask before using these tools.':
1155
+ 'Qwen Code спросит перед использованием этих инструментов.',
1156
+ 'Qwen Code is not allowed to use denied tools.':
1157
+ 'Qwen Code не может использовать запрещённые инструменты.',
1158
+ 'Manage trusted directories for this workspace.':
1159
+ 'Управление доверенными каталогами для этой рабочей области.',
1160
+ 'Any use of the {{tool}} tool': 'Любое использование инструмента {{tool}}',
1161
+ "{{tool}} commands matching '{{pattern}}'":
1162
+ "Команды {{tool}}, соответствующие '{{pattern}}'",
1163
+ 'From user settings': 'Из пользовательских настроек',
1164
+ 'From project settings': 'Из настроек проекта',
1165
+ 'From session': 'Из сессии',
1166
+ 'Project settings (local)': 'Настройки проекта (локальные)',
1167
+ 'Saved in .qwen/settings.local.json': 'Сохранено в .qwen/settings.local.json',
1168
+ 'Project settings': 'Настройки проекта',
1169
+ 'Checked in at .qwen/settings.json': 'Зафиксировано в .qwen/settings.json',
1170
+ 'User settings': 'Пользовательские настройки',
1171
+ 'Saved in at ~/.qwen/settings.json': 'Сохранено в ~/.qwen/settings.json',
1172
+ 'Add a new rule…': 'Добавить новое правило…',
1173
+ 'Add {{type}} permission rule': 'Добавить правило разрешения {{type}}',
1174
+ 'Permission rules are a tool name, optionally followed by a specifier in parentheses.':
1175
+ 'Правила разрешений — это имя инструмента, за которым может следовать спецификатор в скобках.',
1176
+ 'e.g.,': 'напр.',
1177
+ or: 'или',
1178
+ 'Enter permission rule…': 'Введите правило разрешения…',
1179
+ 'Enter to submit · Esc to cancel': 'Enter для отправки · Esc для отмены',
1180
+ 'Where should this rule be saved?': 'Где сохранить это правило?',
1181
+ 'Enter to confirm · Esc to cancel':
1182
+ 'Enter для подтверждения · Esc для отмены',
1183
+ 'Delete {{type}} rule?': 'Удалить правило {{type}}?',
1184
+ 'Are you sure you want to delete this permission rule?':
1185
+ 'Вы уверены, что хотите удалить это правило разрешения?',
1186
+ 'Permissions:': 'Разрешения:',
1187
+ '(←/→ or tab to cycle)': '(←/→ или Tab для переключения)',
1188
+ 'Press ↑↓ to navigate · Enter to select · Type to search · Esc to cancel':
1189
+ '↑↓ навигация · Enter выбор · Ввод для поиска · Esc отмена',
1190
+ 'Search…': 'Поиск…',
1191
+ 'Use /trust to manage folder trust settings for this workspace.':
1192
+ 'Используйте /trust для управления настройками доверия к папкам этой рабочей области.',
1193
+ // Workspace directory management
1194
+ 'Add directory…': 'Добавить каталог…',
1195
+ 'Add directory to workspace': 'Добавить каталог в рабочую область',
1196
+ 'Qwen Code can read files in the workspace, and make edits when auto-accept edits is on.':
1197
+ 'Qwen Code может читать файлы в рабочей области и вносить правки, когда автоприём правок включён.',
1198
+ 'Qwen Code will be able to read files in this directory and make edits when auto-accept edits is on.':
1199
+ 'Qwen Code сможет читать файлы в этом каталоге и вносить правки, когда автоприём правок включён.',
1200
+ 'Enter the path to the directory:': 'Введите путь к каталогу:',
1201
+ 'Enter directory path…': 'Введите путь к каталогу…',
1202
+ 'Tab to complete · Enter to add · Esc to cancel':
1203
+ 'Tab для завершения · Enter для добавления · Esc для отмены',
1204
+ 'Remove directory?': 'Удалить каталог?',
1205
+ 'Are you sure you want to remove this directory from the workspace?':
1206
+ 'Вы уверены, что хотите удалить этот каталог из рабочей области?',
1207
+ ' (Original working directory)': ' (Исходный рабочий каталог)',
1208
+ ' (from settings)': ' (из настроек)',
1209
+ 'Directory does not exist.': 'Каталог не существует.',
1210
+ 'Path is not a directory.': 'Путь не является каталогом.',
1211
+ 'This directory is already in the workspace.':
1212
+ 'Этот каталог уже есть в рабочей области.',
1213
+ 'Already covered by existing directory: {{dir}}':
1214
+ 'Уже охвачен существующим каталогом: {{dir}}',
1145
1215
 
1146
1216
  // ============================================================================
1147
1217
  // Строка состояния
@@ -1688,4 +1758,77 @@ export default {
1688
1758
  '↑/↓: Навигация | Space/Enter: Переключить | Esc: Отмена',
1689
1759
  '↑/↓: Navigate | Enter: Select | Esc: Cancel':
1690
1760
  '↑/↓: Навигация | Enter: Выбор | Esc: Отмена',
1761
+
1762
+ // ============================================================================
1763
+ // Commands - Auth
1764
+ // ============================================================================
1765
+ 'Configure Qwen authentication information with Qwen-OAuth or Alibaba Cloud Coding Plan':
1766
+ 'Настроить аутентификацию Qwen через Qwen-OAuth или Alibaba Cloud Coding Plan',
1767
+ 'Authenticate using Qwen OAuth': 'Аутентификация через Qwen OAuth',
1768
+ 'Authenticate using Alibaba Cloud Coding Plan':
1769
+ 'Аутентификация через Alibaba Cloud Coding Plan',
1770
+ 'Region for Coding Plan (china/global)':
1771
+ 'Регион для Coding Plan (china/global)',
1772
+ 'API key for Coding Plan': 'API-ключ для Coding Plan',
1773
+ 'Show current authentication status':
1774
+ 'Показать текущий статус аутентификации',
1775
+ 'Authentication completed successfully.': 'Аутентификация успешно завершена.',
1776
+ 'Starting Qwen OAuth authentication...':
1777
+ 'Запуск аутентификации Qwen OAuth...',
1778
+ 'Successfully authenticated with Qwen OAuth.':
1779
+ 'Успешная аутентификация через Qwen OAuth.',
1780
+ 'Failed to authenticate with Qwen OAuth: {{error}}':
1781
+ 'Ошибка аутентификации через Qwen OAuth: {{error}}',
1782
+ 'Processing Alibaba Cloud Coding Plan authentication...':
1783
+ 'Обработка аутентификации Alibaba Cloud Coding Plan...',
1784
+ 'Successfully authenticated with Alibaba Cloud Coding Plan.':
1785
+ 'Успешная аутентификация через Alibaba Cloud Coding Plan.',
1786
+ 'Failed to authenticate with Coding Plan: {{error}}':
1787
+ 'Ошибка аутентификации через Coding Plan: {{error}}',
1788
+ '中国 (China)': '中国 (China)',
1789
+ '阿里云百炼 (aliyun.com)': '阿里云百炼 (aliyun.com)',
1790
+ Global: 'Глобальный',
1791
+ 'Alibaba Cloud (alibabacloud.com)': 'Alibaba Cloud (alibabacloud.com)',
1792
+ 'Select region for Coding Plan:': 'Выберите регион для Coding Plan:',
1793
+ 'Enter your Coding Plan API key: ': 'Введите ваш API-ключ Coding Plan: ',
1794
+ 'Select authentication method:': 'Выберите метод аутентификации:',
1795
+ '\n=== Authentication Status ===\n': '\n=== Статус аутентификации ===\n',
1796
+ '⚠️ No authentication method configured.\n':
1797
+ '⚠️ Метод аутентификации не настроен.\n',
1798
+ 'Run one of the following commands to get started:\n':
1799
+ 'Выполните одну из следующих команд для начала:\n',
1800
+ ' qwen auth qwen-oauth - Authenticate with Qwen OAuth (free tier)':
1801
+ ' qwen auth qwen-oauth - Аутентификация через Qwen OAuth (бесплатно)',
1802
+ ' qwen auth coding-plan - Authenticate with Alibaba Cloud Coding Plan\n':
1803
+ ' qwen auth coding-plan - Аутентификация через Alibaba Cloud Coding Plan\n',
1804
+ 'Or simply run:': 'Или просто выполните:',
1805
+ ' qwen auth - Interactive authentication setup\n':
1806
+ ' qwen auth - Интерактивная настройка аутентификации\n',
1807
+ '✓ Authentication Method: Qwen OAuth': '✓ Метод аутентификации: Qwen OAuth',
1808
+ ' Type: Free tier': ' Тип: Бесплатный',
1809
+ ' Limit: Up to 1,000 requests/day': ' Лимит: До 1 000 запросов/день',
1810
+ ' Models: Qwen latest models\n': ' Модели: Последние модели Qwen\n',
1811
+ '✓ Authentication Method: Alibaba Cloud Coding Plan':
1812
+ '✓ Метод аутентификации: Alibaba Cloud Coding Plan',
1813
+ '中国 (China) - 阿里云百炼': '中国 (China) - 阿里云百炼',
1814
+ 'Global - Alibaba Cloud': 'Глобальный - Alibaba Cloud',
1815
+ ' Region: {{region}}': ' Регион: {{region}}',
1816
+ ' Current Model: {{model}}': ' Текущая модель: {{model}}',
1817
+ ' Config Version: {{version}}': ' Версия конфигурации: {{version}}',
1818
+ ' Status: API key configured\n': ' Статус: API-ключ настроен\n',
1819
+ '⚠️ Authentication Method: Alibaba Cloud Coding Plan (Incomplete)':
1820
+ '⚠️ Метод аутентификации: Alibaba Cloud Coding Plan (Не завершён)',
1821
+ ' Issue: API key not found in environment or settings\n':
1822
+ ' Проблема: API-ключ не найден в окружении или настройках\n',
1823
+ ' Run `qwen auth coding-plan` to re-configure.\n':
1824
+ ' Выполните `qwen auth coding-plan` для повторной настройки.\n',
1825
+ '✓ Authentication Method: {{type}}': '✓ Метод аутентификации: {{type}}',
1826
+ ' Status: Configured\n': ' Статус: Настроено\n',
1827
+ 'Failed to check authentication status: {{error}}':
1828
+ 'Не удалось проверить статус аутентификации: {{error}}',
1829
+ 'Select an option:': 'Выберите вариант:',
1830
+ 'Raw mode not available. Please run in an interactive terminal.':
1831
+ 'Raw-режим недоступен. Пожалуйста, запустите в интерактивном терминале.',
1832
+ '(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
1833
+ '(↑ ↓ стрелки для навигации, Enter для выбора, Ctrl+C для выхода)\n',
1691
1834
  };
package/locales/zh.js CHANGED
@@ -1043,6 +1043,8 @@ export default {
1043
1043
  'No, suggest changes (esc)': '否,建议更改 (esc)',
1044
1044
  "Allow execution of: '{{command}}'?": "允许执行:'{{command}}'?",
1045
1045
  'Yes, allow always ...': '是,总是允许 ...',
1046
+ 'Always allow in this project': '在本项目中总是允许',
1047
+ 'Always allow for this user': '对该用户总是允许',
1046
1048
  'Yes, and auto-accept edits': '是,并自动接受编辑',
1047
1049
  'Yes, and manually approve edits': '是,并手动批准编辑',
1048
1050
  'No, keep planning (esc)': '否,继续规划 (esc)',
@@ -1196,6 +1198,71 @@ export default {
1196
1198
  // Dialogs - Permissions
1197
1199
  // ============================================================================
1198
1200
  'Manage folder trust settings': '管理文件夹信任设置',
1201
+ 'Manage permission rules': '管理权限规则',
1202
+ Allow: '允许',
1203
+ Ask: '询问',
1204
+ Deny: '拒绝',
1205
+ Workspace: '工作区',
1206
+ "Qwen Code won't ask before using allowed tools.":
1207
+ 'Qwen Code 使用已允许的工具前不会询问。',
1208
+ 'Qwen Code will ask before using these tools.':
1209
+ 'Qwen Code 使用这些工具前会先询问。',
1210
+ 'Qwen Code is not allowed to use denied tools.':
1211
+ 'Qwen Code 不允许使用被拒绝的工具。',
1212
+ 'Manage trusted directories for this workspace.':
1213
+ '管理此工作区的受信任目录。',
1214
+ 'Any use of the {{tool}} tool': '{{tool}} 工具的任何使用',
1215
+ "{{tool}} commands matching '{{pattern}}'":
1216
+ "匹配 '{{pattern}}' 的 {{tool}} 命令",
1217
+ 'From user settings': '来自用户设置',
1218
+ 'From project settings': '来自项目设置',
1219
+ 'From session': '来自会话',
1220
+ 'Project settings (local)': '项目设置(本地)',
1221
+ 'Saved in .qwen/settings.local.json': '保存在 .qwen/settings.local.json',
1222
+ 'Project settings': '项目设置',
1223
+ 'Checked in at .qwen/settings.json': '保存在 .qwen/settings.json',
1224
+ 'User settings': '用户设置',
1225
+ 'Saved in at ~/.qwen/settings.json': '保存在 ~/.qwen/settings.json',
1226
+ 'Add a new rule…': '添加新规则…',
1227
+ 'Add {{type}} permission rule': '添加{{type}}权限规则',
1228
+ 'Permission rules are a tool name, optionally followed by a specifier in parentheses.':
1229
+ '权限规则是一个工具名称,可选地后跟括号中的限定符。',
1230
+ 'e.g.,': '例如',
1231
+ or: '或',
1232
+ 'Enter permission rule…': '输入权限规则…',
1233
+ 'Enter to submit · Esc to cancel': '回车提交 · Esc 取消',
1234
+ 'Where should this rule be saved?': '此规则应保存在哪里?',
1235
+ 'Enter to confirm · Esc to cancel': '回车确认 · Esc 取消',
1236
+ 'Delete {{type}} rule?': '删除{{type}}规则?',
1237
+ 'Are you sure you want to delete this permission rule?':
1238
+ '确定要删除此权限规则吗?',
1239
+ 'Permissions:': '权限:',
1240
+ '(←/→ or tab to cycle)': '(←/→ 或 tab 切换)',
1241
+ 'Press ↑↓ to navigate · Enter to select · Type to search · Esc to cancel':
1242
+ '按 ↑↓ 导航 · 回车选择 · 输入搜索 · Esc 取消',
1243
+ 'Search…': '搜索…',
1244
+ 'Use /trust to manage folder trust settings for this workspace.':
1245
+ '使用 /trust 管理此工作区的文件夹信任设置。',
1246
+ // Workspace directory management
1247
+ 'Add directory…': '添加目录…',
1248
+ 'Add directory to workspace': '添加工作区目录',
1249
+ 'Qwen Code can read files in the workspace, and make edits when auto-accept edits is on.':
1250
+ 'Qwen Code 可以读取工作区中的文件,并在自动接受编辑模式开启时进行编辑。',
1251
+ 'Qwen Code will be able to read files in this directory and make edits when auto-accept edits is on.':
1252
+ 'Qwen Code 将能够读取此目录中的文件,并在自动接受编辑模式开启时进行编辑。',
1253
+ 'Enter the path to the directory:': '输入目录路径:',
1254
+ 'Enter directory path…': '输入目录路径…',
1255
+ 'Tab to complete · Enter to add · Esc to cancel':
1256
+ 'Tab 补全 · 回车添加 · Esc 取消',
1257
+ 'Remove directory?': '删除目录?',
1258
+ 'Are you sure you want to remove this directory from the workspace?':
1259
+ '确定要将此目录从工作区中移除吗?',
1260
+ ' (Original working directory)': ' (原始工作目录)',
1261
+ ' (from settings)': ' (来自设置)',
1262
+ 'Directory does not exist.': '目录不存在。',
1263
+ 'Path is not a directory.': '路径不是目录。',
1264
+ 'This directory is already in the workspace.': '此目录已在工作区中。',
1265
+ 'Already covered by existing directory: {{dir}}': '已被现有目录覆盖:{{dir}}',
1199
1266
 
1200
1267
  // ============================================================================
1201
1268
  // Status Bar
@@ -1553,4 +1620,72 @@ export default {
1553
1620
  '↑/↓: 导航 | Space/Enter: 切换 | Esc: 取消',
1554
1621
  '↑/↓: Navigate | Enter: Select | Esc: Cancel':
1555
1622
  '↑/↓: 导航 | Enter: 选择 | Esc: 取消',
1623
+
1624
+ // ============================================================================
1625
+ // Commands - Auth
1626
+ // ============================================================================
1627
+ 'Configure Qwen authentication information with Qwen-OAuth or Alibaba Cloud Coding Plan':
1628
+ '使用 Qwen OAuth 或阿里云百炼 Coding Plan 配置 Qwen 认证信息',
1629
+ 'Authenticate using Qwen OAuth': '使用 Qwen OAuth 进行认证',
1630
+ 'Authenticate using Alibaba Cloud Coding Plan':
1631
+ '使用阿里云百炼 Coding Plan 进行认证',
1632
+ 'Region for Coding Plan (china/global)': 'Coding Plan 区域 (china/global)',
1633
+ 'API key for Coding Plan': 'Coding Plan 的 API 密钥',
1634
+ 'Show current authentication status': '显示当前认证状态',
1635
+ 'Authentication completed successfully.': '认证完成。',
1636
+ 'Starting Qwen OAuth authentication...': '正在启动 Qwen OAuth 认证...',
1637
+ 'Successfully authenticated with Qwen OAuth.': '已成功通过 Qwen OAuth 认证。',
1638
+ 'Failed to authenticate with Qwen OAuth: {{error}}':
1639
+ 'Qwen OAuth 认证失败:{{error}}',
1640
+ 'Processing Alibaba Cloud Coding Plan authentication...':
1641
+ '正在处理阿里云百炼 Coding Plan 认证...',
1642
+ 'Successfully authenticated with Alibaba Cloud Coding Plan.':
1643
+ '已成功通过阿里云百炼 Coding Plan 认证。',
1644
+ 'Failed to authenticate with Coding Plan: {{error}}':
1645
+ 'Coding Plan 认证失败:{{error}}',
1646
+ '中国 (China)': '中国 (China)',
1647
+ '阿里云百炼 (aliyun.com)': '阿里云百炼 (aliyun.com)',
1648
+ Global: '全球',
1649
+ 'Alibaba Cloud (alibabacloud.com)': 'Alibaba Cloud (alibabacloud.com)',
1650
+ 'Select region for Coding Plan:': '选择 Coding Plan 区域:',
1651
+ 'Enter your Coding Plan API key: ': '请输入您的 Coding Plan API 密钥:',
1652
+ 'Select authentication method:': '选择认证方式:',
1653
+ '\n=== Authentication Status ===\n': '\n=== 认证状态 ===\n',
1654
+ '⚠️ No authentication method configured.\n': '⚠️ 未配置认证方式。\n',
1655
+ 'Run one of the following commands to get started:\n':
1656
+ '运行以下命令之一开始配置:\n',
1657
+ ' qwen auth qwen-oauth - Authenticate with Qwen OAuth (free tier)':
1658
+ ' qwen auth qwen-oauth - 使用 Qwen OAuth 认证(免费)',
1659
+ ' qwen auth coding-plan - Authenticate with Alibaba Cloud Coding Plan\n':
1660
+ ' qwen auth coding-plan - 使用阿里云百炼 Coding Plan 认证\n',
1661
+ 'Or simply run:': '或者直接运行:',
1662
+ ' qwen auth - Interactive authentication setup\n':
1663
+ ' qwen auth - 交互式认证配置\n',
1664
+ '✓ Authentication Method: Qwen OAuth': '✓ 认证方式:Qwen OAuth',
1665
+ ' Type: Free tier': ' 类型:免费版',
1666
+ ' Limit: Up to 1,000 requests/day': ' 限额:每天最多 1,000 次请求',
1667
+ ' Models: Qwen latest models\n': ' 模型:Qwen 最新模型\n',
1668
+ '✓ Authentication Method: Alibaba Cloud Coding Plan':
1669
+ '✓ 认证方式:阿里云百炼 Coding Plan',
1670
+ '中国 (China) - 阿里云百炼': '中国 (China) - 阿里云百炼',
1671
+ 'Global - Alibaba Cloud': '全球 - Alibaba Cloud',
1672
+ ' Region: {{region}}': ' 区域:{{region}}',
1673
+ ' Current Model: {{model}}': ' 当前模型:{{model}}',
1674
+ ' Config Version: {{version}}': ' 配置版本:{{version}}',
1675
+ ' Status: API key configured\n': ' 状态:API 密钥已配置\n',
1676
+ '⚠️ Authentication Method: Alibaba Cloud Coding Plan (Incomplete)':
1677
+ '⚠️ 认证方式:阿里云百炼 Coding Plan(不完整)',
1678
+ ' Issue: API key not found in environment or settings\n':
1679
+ ' 问题:在环境变量或设置中未找到 API 密钥\n',
1680
+ ' Run `qwen auth coding-plan` to re-configure.\n':
1681
+ ' 运行 `qwen auth coding-plan` 重新配置。\n',
1682
+ '✓ Authentication Method: {{type}}': '✓ 认证方式:{{type}}',
1683
+ ' Status: Configured\n': ' 状态:已配置\n',
1684
+ 'Failed to check authentication status: {{error}}':
1685
+ '检查认证状态失败:{{error}}',
1686
+ 'Select an option:': '请选择:',
1687
+ 'Raw mode not available. Please run in an interactive terminal.':
1688
+ '原始模式不可用。请在交互式终端中运行。',
1689
+ '(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
1690
+ '(使用 ↑ ↓ 箭头导航,Enter 选择,Ctrl+C 退出)\n',
1556
1691
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwen-code/qwen-code",
3
- "version": "0.13.0-preview.0",
3
+ "version": "0.13.0-preview.1",
4
4
  "description": "Qwen Code - AI-powered coding assistant",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,10 +17,11 @@
17
17
  "*.sb",
18
18
  "README.md",
19
19
  "LICENSE",
20
- "locales"
20
+ "locales",
21
+ "bundled"
21
22
  ],
22
23
  "config": {
23
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.13.0-preview.0"
24
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.13.0-preview.1"
24
25
  },
25
26
  "dependencies": {},
26
27
  "optionalDependencies": {