@qwen-code/qwen-code 0.12.0-preview.0 → 0.12.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/cli.js +38812 -25129
- package/locales/de.js +143 -4
- package/locales/en.js +209 -6
- package/locales/ja.js +140 -4
- package/locales/pt.js +146 -6
- package/locales/ru.js +144 -2
- package/locales/zh.js +195 -5
- package/package.json +2 -2
- package/sandbox-macos-permissive-proxied.sb +1 -1
- package/sandbox-macos-restrictive-proxied.sb +1 -1
package/locales/pt.js
CHANGED
|
@@ -109,8 +109,8 @@ export default {
|
|
|
109
109
|
// ============================================================================
|
|
110
110
|
'Analyzes the project and creates a tailored QWEN.md file.':
|
|
111
111
|
'Analisa o projeto e cria um arquivo QWEN.md personalizado.',
|
|
112
|
-
'
|
|
113
|
-
'
|
|
112
|
+
'List available Qwen Code tools. Usage: /tools [desc]':
|
|
113
|
+
'Listar ferramentas Qwen Code disponíveis. Uso: /tools [desc]',
|
|
114
114
|
'Available Qwen Code CLI tools:': 'Ferramentas CLI do Qwen Code disponíveis:',
|
|
115
115
|
'No tools available': 'Nenhuma ferramenta disponível',
|
|
116
116
|
'View or change the approval mode for tool usage':
|
|
@@ -385,8 +385,10 @@ export default {
|
|
|
385
385
|
'Show tool-specific usage statistics.':
|
|
386
386
|
'Mostrar estatísticas de uso específicas da ferramenta.',
|
|
387
387
|
'exit the cli': 'sair da cli',
|
|
388
|
-
'
|
|
389
|
-
'
|
|
388
|
+
'Open MCP management dialog, or authenticate with OAuth-enabled servers':
|
|
389
|
+
'Abrir diálogo de gerenciamento MCP ou autenticar com servidor habilitado para OAuth',
|
|
390
|
+
'List configured MCP servers and tools, or authenticate with OAuth-enabled servers':
|
|
391
|
+
'Listar servidores e ferramentas MCP configurados, ou autenticar com servidores habilitados para OAuth',
|
|
390
392
|
'Manage workspace directories': 'Gerenciar diretórios do workspace',
|
|
391
393
|
'Add directories to the workspace. Use comma to separate multiple paths':
|
|
392
394
|
'Adicionar diretórios ao workspace. Use vírgula para separar vários caminhos',
|
|
@@ -888,9 +890,102 @@ export default {
|
|
|
888
890
|
'Do you want to proceed?': 'Você deseja prosseguir?',
|
|
889
891
|
'Yes, allow once': 'Sim, permitir uma vez',
|
|
890
892
|
'Allow always': 'Permitir sempre',
|
|
893
|
+
Yes: 'Sim',
|
|
891
894
|
No: 'Não',
|
|
892
895
|
'No (esc)': 'Não (esc)',
|
|
893
896
|
'Yes, allow always for this session': 'Sim, permitir sempre para esta sessão',
|
|
897
|
+
|
|
898
|
+
// MCP Management - Core translations
|
|
899
|
+
'Manage MCP servers': 'Gerenciar servidores MCP',
|
|
900
|
+
'Server Detail': 'Detalhes do servidor',
|
|
901
|
+
'Disable Server': 'Desativar servidor',
|
|
902
|
+
Tools: 'Ferramentas',
|
|
903
|
+
'Tool Detail': 'Detalhes da ferramenta',
|
|
904
|
+
'MCP Management': 'Gerenciamento MCP',
|
|
905
|
+
'Loading...': 'Carregando...',
|
|
906
|
+
'Unknown step': 'Etapa desconhecida',
|
|
907
|
+
'Esc to back': 'Esc para voltar',
|
|
908
|
+
'↑↓ to navigate · Enter to select · Esc to close':
|
|
909
|
+
'↑↓ navegar · Enter selecionar · Esc fechar',
|
|
910
|
+
'↑↓ to navigate · Enter to select · Esc to back':
|
|
911
|
+
'↑↓ navegar · Enter selecionar · Esc voltar',
|
|
912
|
+
'↑↓ to navigate · Enter to confirm · Esc to back':
|
|
913
|
+
'↑↓ navegar · Enter confirmar · Esc voltar',
|
|
914
|
+
'User Settings (global)': 'Configurações do usuário (global)',
|
|
915
|
+
'Workspace Settings (project-specific)':
|
|
916
|
+
'Configurações do workspace (específico do projeto)',
|
|
917
|
+
'Disable server:': 'Desativar servidor:',
|
|
918
|
+
'Select where to add the server to the exclude list:':
|
|
919
|
+
'Selecione onde adicionar o servidor à lista de exclusão:',
|
|
920
|
+
'Press Enter to confirm, Esc to cancel':
|
|
921
|
+
'Enter para confirmar, Esc para cancelar',
|
|
922
|
+
Disable: 'Desativar',
|
|
923
|
+
Enable: 'Ativar',
|
|
924
|
+
Reconnect: 'Reconectar',
|
|
925
|
+
'View tools': 'Ver ferramentas',
|
|
926
|
+
'Status:': 'Status:',
|
|
927
|
+
'Source:': 'Fonte:',
|
|
928
|
+
'Command:': 'Comando:',
|
|
929
|
+
'Working Directory:': 'Diretório de trabalho:',
|
|
930
|
+
'Capabilities:': 'Capacidades:',
|
|
931
|
+
'No server selected': 'Nenhum servidor selecionado',
|
|
932
|
+
'(disabled)': '(desativado)',
|
|
933
|
+
'Error:': 'Erro:',
|
|
934
|
+
Extension: 'Extensão',
|
|
935
|
+
tool: 'ferramenta',
|
|
936
|
+
tools: 'ferramentas',
|
|
937
|
+
connected: 'conectado',
|
|
938
|
+
connecting: 'conectando',
|
|
939
|
+
disconnected: 'desconectado',
|
|
940
|
+
error: 'erro',
|
|
941
|
+
|
|
942
|
+
// MCP Server List
|
|
943
|
+
'User MCPs': 'MCPs do usuário',
|
|
944
|
+
'Project MCPs': 'MCPs do projeto',
|
|
945
|
+
'Extension MCPs': 'MCPs de extensão',
|
|
946
|
+
server: 'servidor',
|
|
947
|
+
servers: 'servidores',
|
|
948
|
+
'Add MCP servers to your settings to get started.':
|
|
949
|
+
'Adicione servidores MCP às suas configurações para começar.',
|
|
950
|
+
'Run qwen --debug to see error logs':
|
|
951
|
+
'Execute qwen --debug para ver os logs de erro',
|
|
952
|
+
|
|
953
|
+
// MCP Tool List
|
|
954
|
+
'No tools available for this server.':
|
|
955
|
+
'Nenhuma ferramenta disponível para este servidor.',
|
|
956
|
+
destructive: 'destrutivo',
|
|
957
|
+
'read-only': 'somente leitura',
|
|
958
|
+
'open-world': 'mundo aberto',
|
|
959
|
+
idempotent: 'idempotente',
|
|
960
|
+
'Tools for {{name}}': 'Ferramentas para {{name}}',
|
|
961
|
+
'{{current}}/{{total}}': '{{current}}/{{total}}',
|
|
962
|
+
|
|
963
|
+
// MCP Tool Detail
|
|
964
|
+
required: 'obrigatório',
|
|
965
|
+
Type: 'Tipo',
|
|
966
|
+
Enum: 'Enumeração',
|
|
967
|
+
Parameters: 'Parâmetros',
|
|
968
|
+
'No tool selected': 'Nenhuma ferramenta selecionada',
|
|
969
|
+
Annotations: 'Anotações',
|
|
970
|
+
Title: 'Título',
|
|
971
|
+
'Read Only': 'Somente leitura',
|
|
972
|
+
Destructive: 'Destrutivo',
|
|
973
|
+
Idempotent: 'Idempotente',
|
|
974
|
+
'Open World': 'Mundo aberto',
|
|
975
|
+
Server: 'Servidor',
|
|
976
|
+
|
|
977
|
+
// Invalid tool related translations
|
|
978
|
+
'{{count}} invalid tools': '{{count}} ferramentas inválidas',
|
|
979
|
+
invalid: 'inválido',
|
|
980
|
+
'invalid: {{reason}}': 'inválido: {{reason}}',
|
|
981
|
+
'missing name': 'nome ausente',
|
|
982
|
+
'missing description': 'descrição ausente',
|
|
983
|
+
'(unnamed)': '(sem nome)',
|
|
984
|
+
'Warning: This tool cannot be called by the LLM':
|
|
985
|
+
'Aviso: Esta ferramenta não pode ser chamada pelo LLM',
|
|
986
|
+
Reason: 'Motivo',
|
|
987
|
+
'Tools must have both name and description to be used by the LLM.':
|
|
988
|
+
'As ferramentas devem ter tanto nome quanto descrição para serem usadas pelo LLM.',
|
|
894
989
|
'Modify in progress:': 'Modificação em progresso:',
|
|
895
990
|
'Save and close external editor to continue':
|
|
896
991
|
'Salve e feche o editor externo para continuar',
|
|
@@ -1439,6 +1534,18 @@ export default {
|
|
|
1439
1534
|
// ============================================================================
|
|
1440
1535
|
// Auth Dialog - View Titles and Labels
|
|
1441
1536
|
// ============================================================================
|
|
1537
|
+
'Coding Plan': 'Coding Plan',
|
|
1538
|
+
"Paste your api key of Bailian Coding Plan and you're all set!":
|
|
1539
|
+
'Cole sua chave de API do Bailian Coding Plan e pronto!',
|
|
1540
|
+
Custom: 'Personalizado',
|
|
1541
|
+
'More instructions about configuring `modelProviders` manually.':
|
|
1542
|
+
'Mais instruções sobre como configurar `modelProviders` manualmente.',
|
|
1543
|
+
'Select API-KEY configuration mode:':
|
|
1544
|
+
'Selecione o modo de configuração da API-KEY:',
|
|
1545
|
+
'(Press Escape to go back)': '(Pressione Escape para voltar)',
|
|
1546
|
+
'(Press Enter to submit, Escape to cancel)':
|
|
1547
|
+
'(Pressione Enter para enviar, Escape para cancelar)',
|
|
1548
|
+
'More instructions please check:': 'Mais instruções, consulte:',
|
|
1442
1549
|
'Select Region for Coding Plan': 'Selecionar região do Coding Plan',
|
|
1443
1550
|
'Choose based on where your account is registered':
|
|
1444
1551
|
'Escolha com base em onde sua conta está registrada',
|
|
@@ -1451,6 +1558,39 @@ export default {
|
|
|
1451
1558
|
'Novas configurações de modelo estão disponíveis para o {{region}}. Atualizar agora?',
|
|
1452
1559
|
'{{region}} configuration updated successfully. Model switched to "{{model}}".':
|
|
1453
1560
|
'Configuração do {{region}} atualizada com sucesso. Modelo alterado para "{{model}}".',
|
|
1454
|
-
'
|
|
1455
|
-
'
|
|
1561
|
+
'{{region}} configuration updated successfully.':
|
|
1562
|
+
'Configuração do {{region}} atualizada com sucesso.',
|
|
1563
|
+
'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.':
|
|
1564
|
+
'Autenticado com sucesso com {{region}}. Chave de API e configurações de modelo salvas em settings.json.',
|
|
1565
|
+
'Tip: Use /model to switch between available Coding Plan models.':
|
|
1566
|
+
'Dica: Use /model para alternar entre os modelos disponíveis do Coding Plan.',
|
|
1567
|
+
|
|
1568
|
+
// ============================================================================
|
|
1569
|
+
// Ask User Question Tool
|
|
1570
|
+
// ============================================================================
|
|
1571
|
+
'Please answer the following question(s):':
|
|
1572
|
+
'Por favor, responda à(s) seguinte(s) pergunta(s):',
|
|
1573
|
+
'Cannot ask user questions in non-interactive mode. Please run in interactive mode to use this tool.':
|
|
1574
|
+
'Não é possível fazer perguntas ao usuário no modo não interativo. Por favor, execute no modo interativo para usar esta ferramenta.',
|
|
1575
|
+
'User declined to answer the questions.':
|
|
1576
|
+
'O usuário recusou responder às perguntas.',
|
|
1577
|
+
'User has provided the following answers:':
|
|
1578
|
+
'O usuário forneceu as seguintes respostas:',
|
|
1579
|
+
'Failed to process user answers:':
|
|
1580
|
+
'Falha ao processar as respostas do usuário:',
|
|
1581
|
+
'Type something...': 'Digite algo...',
|
|
1582
|
+
Submit: 'Enviar',
|
|
1583
|
+
'Submit answers': 'Enviar respostas',
|
|
1584
|
+
Cancel: 'Cancelar',
|
|
1585
|
+
'Your answers:': 'Suas respostas:',
|
|
1586
|
+
'(not answered)': '(não respondido)',
|
|
1587
|
+
'Ready to submit your answers?': 'Pronto para enviar suas respostas?',
|
|
1588
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Enter: Select':
|
|
1589
|
+
'↑/↓: Navegar | ←/→: Alternar abas | Enter: Selecionar',
|
|
1590
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Space/Enter: Toggle | Esc: Cancel':
|
|
1591
|
+
'↑/↓: Navegar | ←/→: Alternar abas | Space/Enter: Alternar | Esc: Cancelar',
|
|
1592
|
+
'↑/↓: Navigate | Space/Enter: Toggle | Esc: Cancel':
|
|
1593
|
+
'↑/↓: Navegar | Space/Enter: Alternar | Esc: Cancelar',
|
|
1594
|
+
'↑/↓: Navigate | Enter: Select | Esc: Cancel':
|
|
1595
|
+
'↑/↓: Navegar | Enter: Selecionar | Esc: Cancelar',
|
|
1456
1596
|
};
|
package/locales/ru.js
CHANGED
|
@@ -117,7 +117,7 @@ export default {
|
|
|
117
117
|
// ============================================================================
|
|
118
118
|
'Analyzes the project and creates a tailored QWEN.md file.':
|
|
119
119
|
'Анализ проекта и создание адаптированного файла QWEN.md',
|
|
120
|
-
'
|
|
120
|
+
'List available Qwen Code tools. Usage: /tools [desc]':
|
|
121
121
|
'Просмотр доступных инструментов Qwen Code. Использование: /tools [desc]',
|
|
122
122
|
'Available Qwen Code CLI tools:': 'Доступные инструменты Qwen Code CLI:',
|
|
123
123
|
'No tools available': 'Нет доступных инструментов',
|
|
@@ -380,7 +380,9 @@ export default {
|
|
|
380
380
|
'Show tool-specific usage statistics.':
|
|
381
381
|
'Показать статистику использования инструментов.',
|
|
382
382
|
'exit the cli': 'Выход из CLI',
|
|
383
|
-
'
|
|
383
|
+
'Open MCP management dialog, or authenticate with OAuth-enabled servers':
|
|
384
|
+
'Открыть диалог управления MCP или авторизоваться на сервере с поддержкой OAuth',
|
|
385
|
+
'List configured MCP servers and tools, or authenticate with OAuth-enabled servers':
|
|
384
386
|
'Показать настроенные MCP-серверы и инструменты, или авторизоваться на серверах с поддержкой OAuth',
|
|
385
387
|
'Manage workspace directories':
|
|
386
388
|
'Управление директориями рабочего пространства',
|
|
@@ -889,9 +891,36 @@ export default {
|
|
|
889
891
|
'Do you want to proceed?': 'Вы хотите продолжить?',
|
|
890
892
|
'Yes, allow once': 'Да, разрешить один раз',
|
|
891
893
|
'Allow always': 'Всегда разрешать',
|
|
894
|
+
Yes: 'Да',
|
|
892
895
|
No: 'Нет',
|
|
893
896
|
'No (esc)': 'Нет (esc)',
|
|
894
897
|
'Yes, allow always for this session': 'Да, всегда разрешать для этой сессии',
|
|
898
|
+
|
|
899
|
+
// MCP Management - Core translations
|
|
900
|
+
Disable: 'Отключить',
|
|
901
|
+
Enable: 'Включить',
|
|
902
|
+
Reconnect: 'Переподключить',
|
|
903
|
+
'View tools': 'Просмотреть инструменты',
|
|
904
|
+
'(disabled)': '(отключен)',
|
|
905
|
+
'Error:': 'Ошибка:',
|
|
906
|
+
Extension: 'Расширение',
|
|
907
|
+
tool: 'инструмент',
|
|
908
|
+
connected: 'подключен',
|
|
909
|
+
connecting: 'подключение',
|
|
910
|
+
disconnected: 'отключен',
|
|
911
|
+
error: 'ошибка',
|
|
912
|
+
// Invalid tool related translations
|
|
913
|
+
'{{count}} invalid tools': '{{count}} недействительных инструментов',
|
|
914
|
+
invalid: 'недействительный',
|
|
915
|
+
'invalid: {{reason}}': 'недействительно: {{reason}}',
|
|
916
|
+
'missing name': 'отсутствует имя',
|
|
917
|
+
'missing description': 'отсутствует описание',
|
|
918
|
+
'(unnamed)': '(без имени)',
|
|
919
|
+
'Warning: This tool cannot be called by the LLM':
|
|
920
|
+
'Предупреждение: Этот инструмент не может быть вызван LLM',
|
|
921
|
+
Reason: 'Причина',
|
|
922
|
+
'Tools must have both name and description to be used by the LLM.':
|
|
923
|
+
'Инструменты должны иметь как имя, так и описание, чтобы использоваться LLM.',
|
|
895
924
|
'Modify in progress:': 'Идет изменение:',
|
|
896
925
|
'Save and close external editor to continue':
|
|
897
926
|
'Сохраните и закройте внешний редактор для продолжения',
|
|
@@ -1449,6 +1478,17 @@ export default {
|
|
|
1449
1478
|
// ============================================================================
|
|
1450
1479
|
// Auth Dialog - View Titles and Labels
|
|
1451
1480
|
// ============================================================================
|
|
1481
|
+
'Coding Plan': 'Coding Plan',
|
|
1482
|
+
"Paste your api key of Bailian Coding Plan and you're all set!":
|
|
1483
|
+
'Вставьте ваш API-ключ Bailian Coding Plan и всё готово!',
|
|
1484
|
+
Custom: 'Пользовательский',
|
|
1485
|
+
'More instructions about configuring `modelProviders` manually.':
|
|
1486
|
+
'Дополнительные инструкции по ручной настройке `modelProviders`.',
|
|
1487
|
+
'Select API-KEY configuration mode:': 'Выберите режим конфигурации API-KEY:',
|
|
1488
|
+
'(Press Escape to go back)': '(Нажмите Escape для возврата)',
|
|
1489
|
+
'(Press Enter to submit, Escape to cancel)':
|
|
1490
|
+
'(Нажмите Enter для отправки, Escape для отмены)',
|
|
1491
|
+
'More instructions please check:': 'Дополнительные инструкции см.:',
|
|
1452
1492
|
'Select Region for Coding Plan': 'Выберите регион Coding Plan',
|
|
1453
1493
|
'Choose based on where your account is registered':
|
|
1454
1494
|
'Выберите в зависимости от места регистрации вашего аккаунта',
|
|
@@ -1463,4 +1503,106 @@ export default {
|
|
|
1463
1503
|
'Конфигурация {{region}} успешно обновлена. Модель переключена на "{{model}}".',
|
|
1464
1504
|
'Authenticated successfully with {{region}}. API key and model configs saved to settings.json (backed up).':
|
|
1465
1505
|
'Успешная аутентификация с {{region}}. API-ключ и конфигурации моделей сохранены в settings.json (резервная копия создана).',
|
|
1506
|
+
|
|
1507
|
+
// ============================================================================
|
|
1508
|
+
// MCP Management Dialog
|
|
1509
|
+
// ============================================================================
|
|
1510
|
+
'MCP Management': 'Управление MCP',
|
|
1511
|
+
'Server List': 'Список серверов',
|
|
1512
|
+
'Server Detail': 'Детали сервера',
|
|
1513
|
+
'Disable Server': 'Отключить сервер',
|
|
1514
|
+
'Tool List': 'Список инструментов',
|
|
1515
|
+
'Tool Detail': 'Детали инструмента',
|
|
1516
|
+
'Loading...': 'Загрузка...',
|
|
1517
|
+
'Unknown step': 'Неизвестный шаг',
|
|
1518
|
+
'Esc to back': 'Esc для возврата',
|
|
1519
|
+
'↑↓ to navigate · Enter to select · Esc to close':
|
|
1520
|
+
'↑↓ навигация · Enter выбрать · Esc закрыть',
|
|
1521
|
+
'↑↓ to navigate · Enter to select · Esc to back':
|
|
1522
|
+
'↑↓ навигация · Enter выбрать · Esc назад',
|
|
1523
|
+
'↑↓ to navigate · Enter to confirm · Esc to back':
|
|
1524
|
+
'↑↓ навигация · Enter подтвердить · Esc назад',
|
|
1525
|
+
'User Settings (global)': 'Настройки пользователя (глобальные)',
|
|
1526
|
+
'Workspace Settings (project-specific)':
|
|
1527
|
+
'Настройки рабочего пространства (проектные)',
|
|
1528
|
+
'Disable server:': 'Отключить сервер:',
|
|
1529
|
+
'Select where to add the server to the exclude list:':
|
|
1530
|
+
'Выберите, где добавить сервер в список исключений:',
|
|
1531
|
+
'Press Enter to confirm, Esc to cancel':
|
|
1532
|
+
'Enter для подтверждения, Esc для отмены',
|
|
1533
|
+
'Status:': 'Статус:',
|
|
1534
|
+
'Command:': 'Команда:',
|
|
1535
|
+
'Working Directory:': 'Рабочий каталог:',
|
|
1536
|
+
'Capabilities:': 'Возможности:',
|
|
1537
|
+
'No server selected': 'Сервер не выбран',
|
|
1538
|
+
|
|
1539
|
+
// MCP Server List
|
|
1540
|
+
'User MCPs': 'MCP пользователя',
|
|
1541
|
+
'Project MCPs': 'MCP проекта',
|
|
1542
|
+
'Extension MCPs': 'MCP расширений',
|
|
1543
|
+
server: 'сервер',
|
|
1544
|
+
servers: 'серверов',
|
|
1545
|
+
'Add MCP servers to your settings to get started.':
|
|
1546
|
+
'Добавьте серверы MCP в настройки, чтобы начать.',
|
|
1547
|
+
'Run qwen --debug to see error logs':
|
|
1548
|
+
'Запустите qwen --debug для просмотра журналов ошибок',
|
|
1549
|
+
|
|
1550
|
+
// MCP Tool List
|
|
1551
|
+
'No tools available for this server.':
|
|
1552
|
+
'Для этого сервера нет доступных инструментов.',
|
|
1553
|
+
destructive: 'деструктивный',
|
|
1554
|
+
'read-only': 'только чтение',
|
|
1555
|
+
'open-world': 'открытый мир',
|
|
1556
|
+
idempotent: 'идемпотентный',
|
|
1557
|
+
'Tools for {{name}}': 'Инструменты для {{name}}',
|
|
1558
|
+
'{{current}}/{{total}}': '{{current}}/{{total}}',
|
|
1559
|
+
|
|
1560
|
+
// MCP Tool Detail
|
|
1561
|
+
required: 'обязательный',
|
|
1562
|
+
Type: 'Тип',
|
|
1563
|
+
Enum: 'Перечисление',
|
|
1564
|
+
Parameters: 'Параметры',
|
|
1565
|
+
'No tool selected': 'Инструмент не выбран',
|
|
1566
|
+
Annotations: 'Аннотации',
|
|
1567
|
+
Title: 'Заголовок',
|
|
1568
|
+
'Read Only': 'Только чтение',
|
|
1569
|
+
Destructive: 'Деструктивный',
|
|
1570
|
+
Idempotent: 'Идемпотентный',
|
|
1571
|
+
'Open World': 'Открытый мир',
|
|
1572
|
+
Server: 'Сервер',
|
|
1573
|
+
'{{region}} configuration updated successfully.':
|
|
1574
|
+
'Конфигурация {{region}} успешно обновлена.',
|
|
1575
|
+
'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.':
|
|
1576
|
+
'Успешная аутентификация с {{region}}. API-ключ и конфигурации моделей сохранены в settings.json.',
|
|
1577
|
+
'Tip: Use /model to switch between available Coding Plan models.':
|
|
1578
|
+
'Совет: Используйте /model для переключения между доступными моделями Coding Plan.',
|
|
1579
|
+
|
|
1580
|
+
// ============================================================================
|
|
1581
|
+
// Ask User Question Tool
|
|
1582
|
+
// ============================================================================
|
|
1583
|
+
'Please answer the following question(s):':
|
|
1584
|
+
'Пожалуйста, ответьте на следующий(ие) вопрос(ы):',
|
|
1585
|
+
'Cannot ask user questions in non-interactive mode. Please run in interactive mode to use this tool.':
|
|
1586
|
+
'Невозможно задавать вопросы пользователю в неинтерактивном режиме. Пожалуйста, запустите в интерактивном режиме для использования этого инструмента.',
|
|
1587
|
+
'User declined to answer the questions.':
|
|
1588
|
+
'Пользователь отказался отвечать на вопросы.',
|
|
1589
|
+
'User has provided the following answers:':
|
|
1590
|
+
'Пользователь предоставил следующие ответы:',
|
|
1591
|
+
'Failed to process user answers:':
|
|
1592
|
+
'Не удалось обработать ответы пользователя:',
|
|
1593
|
+
'Type something...': 'Введите что-то...',
|
|
1594
|
+
Submit: 'Отправить',
|
|
1595
|
+
'Submit answers': 'Отправить ответы',
|
|
1596
|
+
Cancel: 'Отмена',
|
|
1597
|
+
'Your answers:': 'Ваши ответы:',
|
|
1598
|
+
'(not answered)': '(не отвечено)',
|
|
1599
|
+
'Ready to submit your answers?': 'Готовы отправить свои ответы?',
|
|
1600
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Enter: Select':
|
|
1601
|
+
'↑/↓: Навигация | ←/→: Переключение вкладок | Enter: Выбор',
|
|
1602
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Space/Enter: Toggle | Esc: Cancel':
|
|
1603
|
+
'↑/↓: Навигация | ←/→: Переключение вкладок | Space/Enter: Переключить | Esc: Отмена',
|
|
1604
|
+
'↑/↓: Navigate | Space/Enter: Toggle | Esc: Cancel':
|
|
1605
|
+
'↑/↓: Навигация | Space/Enter: Переключить | Esc: Отмена',
|
|
1606
|
+
'↑/↓: Navigate | Enter: Select | Esc: Cancel':
|
|
1607
|
+
'↑/↓: Навигация | Enter: Выбор | Esc: Отмена',
|
|
1466
1608
|
};
|
package/locales/zh.js
CHANGED
|
@@ -33,7 +33,7 @@ export default {
|
|
|
33
33
|
'!': '!',
|
|
34
34
|
'!npm run start': '!npm run start',
|
|
35
35
|
'start server': 'start server',
|
|
36
|
-
'Commands:': '
|
|
36
|
+
'Commands:': '命令:',
|
|
37
37
|
'shell command': 'shell 命令',
|
|
38
38
|
'Model Context Protocol command (from external servers)':
|
|
39
39
|
'模型上下文协议命令(来自外部服务器)',
|
|
@@ -114,7 +114,7 @@ export default {
|
|
|
114
114
|
// ============================================================================
|
|
115
115
|
'Analyzes the project and creates a tailored QWEN.md file.':
|
|
116
116
|
'分析项目并创建定制的 QWEN.md 文件',
|
|
117
|
-
'
|
|
117
|
+
'List available Qwen Code tools. Usage: /tools [desc]':
|
|
118
118
|
'列出可用的 Qwen Code 工具。用法:/tools [desc]',
|
|
119
119
|
'Available Qwen Code CLI tools:': '可用的 Qwen Code CLI 工具:',
|
|
120
120
|
'No tools available': '没有可用工具',
|
|
@@ -278,6 +278,68 @@ export default {
|
|
|
278
278
|
'Failed to save and edit subagent: {{error}}':
|
|
279
279
|
'保存并编辑子智能体失败: {{error}}',
|
|
280
280
|
|
|
281
|
+
// ============================================================================
|
|
282
|
+
// Extensions - Management Dialog
|
|
283
|
+
// ============================================================================
|
|
284
|
+
'Manage Extensions': '管理扩展',
|
|
285
|
+
'Extension Details': '扩展详情',
|
|
286
|
+
'View Extension': '查看扩展',
|
|
287
|
+
'Update Extension': '更新扩展',
|
|
288
|
+
'Disable Extension': '禁用扩展',
|
|
289
|
+
'Enable Extension': '启用扩展',
|
|
290
|
+
'Uninstall Extension': '卸载扩展',
|
|
291
|
+
'Select Scope': '选择作用域',
|
|
292
|
+
'User Scope': '用户作用域',
|
|
293
|
+
'Workspace Scope': '工作区作用域',
|
|
294
|
+
'No extensions found.': '未找到扩展。',
|
|
295
|
+
Active: '已启用',
|
|
296
|
+
Disabled: '已禁用',
|
|
297
|
+
'Update available': '有可用更新',
|
|
298
|
+
'Up to date': '已是最新',
|
|
299
|
+
'Checking...': '检查中...',
|
|
300
|
+
'Updating...': '更新中...',
|
|
301
|
+
Unknown: '未知',
|
|
302
|
+
Error: '错误',
|
|
303
|
+
'Version:': '版本:',
|
|
304
|
+
'Status:': '状态:',
|
|
305
|
+
'Are you sure you want to uninstall extension "{{name}}"?':
|
|
306
|
+
'确定要卸载扩展 "{{name}}" 吗?',
|
|
307
|
+
'This action cannot be undone.': '此操作无法撤销。',
|
|
308
|
+
'Extension "{{name}}" disabled successfully.': '扩展 "{{name}}" 禁用成功。',
|
|
309
|
+
'Extension "{{name}}" enabled successfully.': '扩展 "{{name}}" 启用成功。',
|
|
310
|
+
'Extension "{{name}}" updated successfully.': '扩展 "{{name}}" 更新成功。',
|
|
311
|
+
'Failed to update extension "{{name}}": {{error}}':
|
|
312
|
+
'更新扩展 "{{name}}" 失败:{{error}}',
|
|
313
|
+
'Select the scope for this action:': '选择此操作的作用域:',
|
|
314
|
+
'User - Applies to all projects': '用户 - 应用于所有项目',
|
|
315
|
+
'Workspace - Applies to current project only': '工作区 - 仅应用于当前项目',
|
|
316
|
+
// Extension dialog - missing keys
|
|
317
|
+
'Name:': '名称:',
|
|
318
|
+
'MCP Servers:': 'MCP 服务器:',
|
|
319
|
+
'Settings:': '设置:',
|
|
320
|
+
active: '已启用',
|
|
321
|
+
disabled: '已禁用',
|
|
322
|
+
'View Details': '查看详情',
|
|
323
|
+
'Update failed:': '更新失败:',
|
|
324
|
+
'Updating {{name}}...': '正在更新 {{name}}...',
|
|
325
|
+
'Update complete!': '更新完成!',
|
|
326
|
+
'User (global)': '用户(全局)',
|
|
327
|
+
'Workspace (project-specific)': '工作区(项目特定)',
|
|
328
|
+
'Disable "{{name}}" - Select Scope': '禁用 "{{name}}" - 选择作用域',
|
|
329
|
+
'Enable "{{name}}" - Select Scope': '启用 "{{name}}" - 选择作用域',
|
|
330
|
+
'No extension selected': '未选择扩展',
|
|
331
|
+
'Press Y/Enter to confirm, N/Esc to cancel': '按 Y/Enter 确认,N/Esc 取消',
|
|
332
|
+
'Y/Enter to confirm, N/Esc to cancel': 'Y/Enter 确认,N/Esc 取消',
|
|
333
|
+
'{{count}} extensions installed': '已安装 {{count}} 个扩展',
|
|
334
|
+
"Use '/extensions install' to install your first extension.":
|
|
335
|
+
"使用 '/extensions install' 安装您的第一个扩展。",
|
|
336
|
+
// Update status values
|
|
337
|
+
'up to date': '已是最新',
|
|
338
|
+
'update available': '有可用更新',
|
|
339
|
+
'checking...': '检查中...',
|
|
340
|
+
'not updatable': '不可更新',
|
|
341
|
+
error: '错误',
|
|
342
|
+
|
|
281
343
|
// ============================================================================
|
|
282
344
|
// Commands - General (continued)
|
|
283
345
|
// ============================================================================
|
|
@@ -361,7 +423,9 @@ export default {
|
|
|
361
423
|
'Show model-specific usage statistics.': '显示模型相关的使用统计信息',
|
|
362
424
|
'Show tool-specific usage statistics.': '显示工具相关的使用统计信息',
|
|
363
425
|
'exit the cli': '退出命令行界面',
|
|
364
|
-
'
|
|
426
|
+
'Open MCP management dialog, or authenticate with OAuth-enabled servers':
|
|
427
|
+
'打开 MCP 管理对话框,或在支持 OAuth 的服务器上进行身份验证',
|
|
428
|
+
'List configured MCP servers and tools, or authenticate with OAuth-enabled servers':
|
|
365
429
|
'列出已配置的 MCP 服务器和工具,或使用支持 OAuth 的服务器进行身份验证',
|
|
366
430
|
'Manage workspace directories': '管理工作区目录',
|
|
367
431
|
'Add directories to the workspace. Use comma to separate multiple paths':
|
|
@@ -685,6 +749,7 @@ export default {
|
|
|
685
749
|
'使用支持 OAuth 的 MCP 服务器进行认证',
|
|
686
750
|
'List configured MCP servers and tools': '列出已配置的 MCP 服务器和工具',
|
|
687
751
|
'Restarts MCP servers.': '重启 MCP 服务器',
|
|
752
|
+
'Open MCP management dialog': '打开 MCP 管理对话框',
|
|
688
753
|
'Config not loaded.': '配置未加载',
|
|
689
754
|
'Could not retrieve tool registry.': '无法检索工具注册表',
|
|
690
755
|
'No MCP servers configured with OAuth authentication.':
|
|
@@ -700,6 +765,92 @@ export default {
|
|
|
700
765
|
"Re-discovering tools from '{{name}}'...":
|
|
701
766
|
"正在重新发现 '{{name}}' 的工具...",
|
|
702
767
|
|
|
768
|
+
// ============================================================================
|
|
769
|
+
// MCP Management Dialog
|
|
770
|
+
// ============================================================================
|
|
771
|
+
'Manage MCP servers': '管理 MCP 服务器',
|
|
772
|
+
'Server Detail': '服务器详情',
|
|
773
|
+
'Disable Server': '禁用服务器',
|
|
774
|
+
Tools: '工具',
|
|
775
|
+
'Tool Detail': '工具详情',
|
|
776
|
+
'MCP Management': 'MCP 管理',
|
|
777
|
+
'Loading...': '加载中...',
|
|
778
|
+
'Unknown step': '未知步骤',
|
|
779
|
+
'Esc to back': 'Esc 返回',
|
|
780
|
+
'↑↓ to navigate · Enter to select · Esc to close':
|
|
781
|
+
'↑↓ 导航 · Enter 选择 · Esc 关闭',
|
|
782
|
+
'↑↓ to navigate · Enter to select · Esc to back':
|
|
783
|
+
'↑↓ 导航 · Enter 选择 · Esc 返回',
|
|
784
|
+
'↑↓ to navigate · Enter to confirm · Esc to back':
|
|
785
|
+
'↑↓ 导航 · Enter 确认 · Esc 返回',
|
|
786
|
+
'User Settings (global)': '用户设置(全局)',
|
|
787
|
+
'Workspace Settings (project-specific)': '工作区设置(项目级)',
|
|
788
|
+
'Disable server:': '禁用服务器:',
|
|
789
|
+
'Select where to add the server to the exclude list:':
|
|
790
|
+
'选择将服务器添加到排除列表的位置:',
|
|
791
|
+
'Press Enter to confirm, Esc to cancel': '按 Enter 确认,Esc 取消',
|
|
792
|
+
'View tools': '查看工具',
|
|
793
|
+
Reconnect: '重新连接',
|
|
794
|
+
Enable: '启用',
|
|
795
|
+
Disable: '禁用',
|
|
796
|
+
'(disabled)': '(已禁用)',
|
|
797
|
+
'Error:': '错误:',
|
|
798
|
+
Extension: '扩展',
|
|
799
|
+
tool: '工具',
|
|
800
|
+
tools: '个工具',
|
|
801
|
+
connected: '已连接',
|
|
802
|
+
connecting: '连接中',
|
|
803
|
+
disconnected: '已断开',
|
|
804
|
+
|
|
805
|
+
// MCP Server List
|
|
806
|
+
'User MCPs': '用户 MCP',
|
|
807
|
+
'Project MCPs': '项目 MCP',
|
|
808
|
+
'Extension MCPs': '扩展 MCP',
|
|
809
|
+
server: '个服务器',
|
|
810
|
+
servers: '个服务器',
|
|
811
|
+
'Add MCP servers to your settings to get started.':
|
|
812
|
+
'请在设置中添加 MCP 服务器以开始使用。',
|
|
813
|
+
'Run qwen --debug to see error logs': '运行 qwen --debug 查看错误日志',
|
|
814
|
+
|
|
815
|
+
// MCP Server Detail
|
|
816
|
+
'Command:': '命令:',
|
|
817
|
+
'Working Directory:': '工作目录:',
|
|
818
|
+
'Capabilities:': '功能:',
|
|
819
|
+
|
|
820
|
+
// MCP Tool List
|
|
821
|
+
'No tools available for this server.': '此服务器没有可用工具。',
|
|
822
|
+
destructive: '破坏性',
|
|
823
|
+
'read-only': '只读',
|
|
824
|
+
'open-world': '开放世界',
|
|
825
|
+
idempotent: '幂等',
|
|
826
|
+
'Tools for {{name}}': '{{name}} 的工具',
|
|
827
|
+
'{{current}}/{{total}}': '{{current}}/{{total}}',
|
|
828
|
+
|
|
829
|
+
// MCP Tool Detail
|
|
830
|
+
Type: '类型',
|
|
831
|
+
Parameters: '参数',
|
|
832
|
+
'No tool selected': '未选择工具',
|
|
833
|
+
Annotations: '注解',
|
|
834
|
+
Title: '标题',
|
|
835
|
+
'Read Only': '只读',
|
|
836
|
+
Destructive: '破坏性',
|
|
837
|
+
Idempotent: '幂等',
|
|
838
|
+
'Open World': '开放世界',
|
|
839
|
+
Server: '服务器',
|
|
840
|
+
|
|
841
|
+
// Invalid tool related translations
|
|
842
|
+
'{{count}} invalid tools': '{{count}} 个无效工具',
|
|
843
|
+
invalid: '无效',
|
|
844
|
+
'invalid: {{reason}}': '无效:{{reason}}',
|
|
845
|
+
'missing name': '缺少名称',
|
|
846
|
+
'missing description': '缺少描述',
|
|
847
|
+
'(unnamed)': '(未命名)',
|
|
848
|
+
'Warning: This tool cannot be called by the LLM':
|
|
849
|
+
'警告:此工具无法被 LLM 调用',
|
|
850
|
+
Reason: '原因',
|
|
851
|
+
'Tools must have both name and description to be used by the LLM.':
|
|
852
|
+
'工具必须同时具有名称和描述才能被 LLM 使用。',
|
|
853
|
+
|
|
703
854
|
// ============================================================================
|
|
704
855
|
// Commands - Chat
|
|
705
856
|
// ============================================================================
|
|
@@ -825,6 +976,7 @@ export default {
|
|
|
825
976
|
'Do you want to proceed?': '是否继续?',
|
|
826
977
|
'Yes, allow once': '是,允许一次',
|
|
827
978
|
'Allow always': '总是允许',
|
|
979
|
+
Yes: '是',
|
|
828
980
|
No: '否',
|
|
829
981
|
'No (esc)': '否 (esc)',
|
|
830
982
|
'Yes, allow always for this session': '是,本次会话总是允许',
|
|
@@ -1267,6 +1419,16 @@ export default {
|
|
|
1267
1419
|
// ============================================================================
|
|
1268
1420
|
// Auth Dialog - View Titles and Labels
|
|
1269
1421
|
// ============================================================================
|
|
1422
|
+
'API-KEY': 'API-KEY',
|
|
1423
|
+
'Coding Plan': 'Coding Plan',
|
|
1424
|
+
"Paste your api key of Bailian Coding Plan and you're all set!":
|
|
1425
|
+
'粘贴您的百炼 Coding Plan API Key,即可完成设置!',
|
|
1426
|
+
Custom: '自定义',
|
|
1427
|
+
'More instructions about configuring `modelProviders` manually.':
|
|
1428
|
+
'关于手动配置 `modelProviders` 的更多说明。',
|
|
1429
|
+
'Select API-KEY configuration mode:': '选择 API-KEY 配置模式:',
|
|
1430
|
+
'(Press Escape to go back)': '(按 Escape 键返回)',
|
|
1431
|
+
'(Press Enter to submit, Escape to cancel)': '(按 Enter 提交,Escape 取消)',
|
|
1270
1432
|
'Select Region for Coding Plan': '选择 Coding Plan 区域',
|
|
1271
1433
|
'Choose based on where your account is registered':
|
|
1272
1434
|
'请根据您的账号注册地区选择',
|
|
@@ -1279,6 +1441,34 @@ export default {
|
|
|
1279
1441
|
'{{region}} 有新的模型配置可用。是否立即更新?',
|
|
1280
1442
|
'{{region}} configuration updated successfully. Model switched to "{{model}}".':
|
|
1281
1443
|
'{{region}} 配置更新成功。模型已切换至 "{{model}}"。',
|
|
1282
|
-
'
|
|
1283
|
-
|
|
1444
|
+
'{{region}} configuration updated successfully.': '{{region}} 配置更新成功。',
|
|
1445
|
+
'Authenticated successfully with {{region}}. API key and model configs saved to settings.json.':
|
|
1446
|
+
'成功通过 {{region}} 认证。API Key 和模型配置已保存至 settings.json。',
|
|
1447
|
+
'Tip: Use /model to switch between available Coding Plan models.':
|
|
1448
|
+
'提示:使用 /model 切换可用的 Coding Plan 模型。',
|
|
1449
|
+
|
|
1450
|
+
// ============================================================================
|
|
1451
|
+
// Ask User Question Tool
|
|
1452
|
+
// ============================================================================
|
|
1453
|
+
'Please answer the following question(s):': '请回答以下问题:',
|
|
1454
|
+
'Cannot ask user questions in non-interactive mode. Please run in interactive mode to use this tool.':
|
|
1455
|
+
'无法在非交互模式下询问用户问题。请在交互模式下运行以使用此工具。',
|
|
1456
|
+
'User declined to answer the questions.': '用户拒绝回答问题。',
|
|
1457
|
+
'User has provided the following answers:': '用户提供了以下答案:',
|
|
1458
|
+
'Failed to process user answers:': '处理用户答案失败:',
|
|
1459
|
+
'Type something...': '输入内容...',
|
|
1460
|
+
Submit: '提交',
|
|
1461
|
+
'Submit answers': '提交答案',
|
|
1462
|
+
Cancel: '取消',
|
|
1463
|
+
'Your answers:': '您的答案:',
|
|
1464
|
+
'(not answered)': '(未回答)',
|
|
1465
|
+
'Ready to submit your answers?': '准备好提交您的答案了吗?',
|
|
1466
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Enter: Select':
|
|
1467
|
+
'↑/↓: 导航 | ←/→: 切换标签页 | Enter: 选择',
|
|
1468
|
+
'↑/↓: Navigate | ←/→: Switch tabs | Space/Enter: Toggle | Esc: Cancel':
|
|
1469
|
+
'↑/↓: 导航 | ←/→: 切换标签页 | Space/Enter: 切换 | Esc: 取消',
|
|
1470
|
+
'↑/↓: Navigate | Space/Enter: Toggle | Esc: Cancel':
|
|
1471
|
+
'↑/↓: 导航 | Space/Enter: 切换 | Esc: 取消',
|
|
1472
|
+
'↑/↓: Navigate | Enter: Select | Esc: Cancel':
|
|
1473
|
+
'↑/↓: 导航 | Enter: 选择 | Esc: 取消',
|
|
1284
1474
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qwen-code/qwen-code",
|
|
3
|
-
"version": "0.12.0-preview.
|
|
3
|
+
"version": "0.12.0-preview.1",
|
|
4
4
|
"description": "Qwen Code - AI-powered coding assistant",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"locales"
|
|
21
21
|
],
|
|
22
22
|
"config": {
|
|
23
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.12.0-preview.
|
|
23
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.12.0-preview.1"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {},
|
|
26
26
|
"optionalDependencies": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
(allow network-inbound (local ip "localhost:9229"))
|
|
30
30
|
|
|
31
31
|
;; deny all outbound network traffic EXCEPT through proxy on localhost:8877
|
|
32
|
-
;; set `
|
|
32
|
+
;; set `QWEN_SANDBOX_PROXY_COMMAND=<command>` to run proxy alongside sandbox
|
|
33
33
|
;; proxy must listen on :::8877 (see docs/examples/proxy-script.md)
|
|
34
34
|
(deny network-outbound)
|
|
35
35
|
(allow network-outbound (remote tcp "localhost:8877"))
|