@qwen-code/qwen-code 0.11.0 → 0.11.1-preview.0

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
@@ -181,6 +181,7 @@ export default {
181
181
  'Enter to confirm, Esc to cancel': 'Enter для подтверждения, Esc для отмены',
182
182
  'Enter to select, ↑↓ to navigate, Esc to go back':
183
183
  'Enter для выбора, ↑↓ для навигации, Esc для возврата',
184
+ 'Enter to submit, Esc to go back': 'Enter для отправки, Esc для возврата',
184
185
  'Invalid step: {{step}}': 'Неверный шаг: {{step}}',
185
186
  'No subagents found.': 'Подагенты не найдены.',
186
187
  "Use '/agents create' to create your first subagent.":
@@ -950,18 +951,22 @@ export default {
950
951
  // Диалоги - Авторизация
951
952
  // ============================================================================
952
953
  'Get started': 'Начать',
953
- 'How would you like to authenticate for this project?':
954
- 'Как вы хотите авторизоваться для этого проекта?',
954
+ 'Select Authentication Method': 'Выберите метод авторизации',
955
955
  'OpenAI API key is required to use OpenAI authentication.':
956
956
  'Для использования авторизации OpenAI требуется ключ API OpenAI.',
957
957
  'You must select an auth method to proceed. Press Ctrl+C again to exit.':
958
958
  'Вы должны выбрать метод авторизации для продолжения. Нажмите Ctrl+C снова для выхода.',
959
- '(Use Enter to Set Auth)': '(Enter для установки авторизации)',
960
- 'Terms of Services and Privacy Notice for Qwen Code':
961
- 'Условия обслуживания и уведомление о конфиденциальности для Qwen Code',
959
+ 'Terms of Services and Privacy Notice':
960
+ 'Условия обслуживания и уведомление о конфиденциальности',
962
961
  'Qwen OAuth': 'Qwen OAuth',
962
+ 'Free \u00B7 Up to 1,000 requests/day \u00B7 Qwen latest models':
963
+ 'Бесплатно \u00B7 До 1 000 запросов/день \u00B7 Новейшие модели Qwen',
963
964
  'Login with QwenChat account to use daily free quota.':
964
965
  'Войдите с помощью аккаунта QwenChat, чтобы использовать ежедневную бесплатную квоту.',
966
+ 'Paid \u00B7 Up to 6,000 requests/5 hrs \u00B7 All Alibaba Cloud Coding Plan Models':
967
+ 'Платно \u00B7 До 6 000 запросов/5 часов \u00B7 Все модели Alibaba Cloud Coding Plan',
968
+ 'Alibaba Cloud Coding Plan': 'Alibaba Cloud Coding Plan',
969
+ 'Bring your own API key': 'Используйте свой API-ключ',
965
970
  'API-KEY': 'API-KEY',
966
971
  'Use coding plan credentials or your own api-keys/providers.':
967
972
  'Используйте учетные данные Coding Plan или свои собственные API-ключи/провайдеры.',
@@ -989,6 +994,8 @@ export default {
989
994
  'Ожидание авторизации Qwen OAuth...',
990
995
  'Note: Your existing API key in settings.json will not be cleared when using Qwen OAuth. You can switch back to OpenAI authentication later if needed.':
991
996
  'Примечание: Ваш существующий ключ API в settings.json не будет удален при использовании Qwen OAuth. Вы можете переключиться обратно на авторизацию OpenAI позже при необходимости.',
997
+ 'Note: Your existing API key will not be cleared when using Qwen OAuth.':
998
+ 'Примечание: Ваш существующий ключ API не будет удален при использовании Qwen OAuth.',
992
999
  'Authentication timed out. Please try again.':
993
1000
  'Время ожидания авторизации истекло. Пожалуйста, попробуйте снова.',
994
1001
  'Waiting for auth... (Press ESC or CTRL+C to cancel)':
@@ -1036,6 +1043,17 @@ export default {
1036
1043
  '(default)': '(по умолчанию)',
1037
1044
  '(set)': '(установлено)',
1038
1045
  '(not set)': '(не задано)',
1046
+ Modality: 'Модальность',
1047
+ 'Context Window': 'Контекстное окно',
1048
+ text: 'текст',
1049
+ 'text-only': 'только текст',
1050
+ image: 'изображение',
1051
+ pdf: 'PDF',
1052
+ audio: 'аудио',
1053
+ video: 'видео',
1054
+ 'not set': 'не задано',
1055
+ none: 'нет',
1056
+ unknown: 'неизвестно',
1039
1057
  "Failed to switch model to '{{modelId}}'.\n\n{{error}}":
1040
1058
  "Не удалось переключиться на модель '{{modelId}}'.\n\n{{error}}",
1041
1059
  'Qwen 3.5 Plus — efficient hybrid model with leading coding performance':
@@ -1406,32 +1424,21 @@ export default {
1406
1424
  'Попробуйте /insight, чтобы получить персонализированные выводы из истории чатов.',
1407
1425
 
1408
1426
  // ============================================================================
1409
- // Custom API-KEY Configuration
1410
- // ============================================================================
1411
- 'For advanced users who want to configure models manually.':
1412
- 'Для продвинутых пользователей, которые хотят настраивать модели вручную.',
1413
- 'Please configure your models in settings.json:':
1414
- 'Пожалуйста, настройте ваши модели в settings.json:',
1415
- 'Set API key via environment variable (e.g., OPENAI_API_KEY)':
1416
- 'Установите ключ API через переменную окружения (например, OPENAI_API_KEY)',
1417
- "Add model configuration to modelProviders['openai'] (or other auth types)":
1418
- "Добавьте конфигурацию модели в modelProviders['openai'] (или другие типы аутентификации)",
1419
- 'Each provider needs: id, envKey (required), plus optional baseUrl, generationConfig':
1420
- 'Каждому провайдеру нужны: id, envKey (обязательно), а также опциональные baseUrl, generationConfig',
1421
- 'Use /model command to select your preferred model from the configured list':
1422
- 'Используйте команду /model, чтобы выбрать предпочитаемую модель из настроенного списка',
1423
- 'Supported auth types: openai, anthropic, gemini, vertex-ai, etc.':
1424
- 'Поддерживаемые типы аутентификации: openai, anthropic, gemini, vertex-ai и др.',
1427
+ // Custom API Key Configuration
1428
+ // ============================================================================
1429
+ 'You can configure your API key and models in settings.json':
1430
+ 'Вы можете настроить API-ключ и модели в settings.json',
1431
+ 'Refer to the documentation for setup instructions':
1432
+ 'Инструкции по настройке см. в документации',
1425
1433
 
1426
1434
  // ============================================================================
1427
1435
  // Coding Plan Authentication
1428
1436
  // ============================================================================
1429
- 'Please enter your API key:': 'Пожалуйста, введите ваш API-ключ:',
1430
1437
  'API key cannot be empty.': 'API-ключ не может быть пустым.',
1431
- 'You can get your exclusive Coding Plan API-KEY here:':
1432
- 'Получите свой эксклюзивный API-KEY Coding Plan здесь:',
1433
- 'New model configurations are available for Bailian Coding Plan. Update now?':
1434
- 'Доступны новые конфигурации моделей для Bailian Coding Plan. Обновить сейчас?',
1438
+ 'You can get your Coding Plan API key here':
1439
+ 'Вы можете получить API-ключ Coding Plan здесь',
1440
+ 'New model configurations are available for Alibaba Cloud Coding Plan. Update now?':
1441
+ 'Доступны новые конфигурации моделей для Alibaba Cloud Coding Plan. Обновить сейчас?',
1435
1442
  'Coding Plan configuration updated successfully. New models are now available.':
1436
1443
  'Конфигурация Coding Plan успешно обновлена. Новые модели теперь доступны.',
1437
1444
  'Coding Plan API key not found. Please re-authenticate with Coding Plan.':
@@ -1442,32 +1449,16 @@ export default {
1442
1449
  // ============================================================================
1443
1450
  // Auth Dialog - View Titles and Labels
1444
1451
  // ============================================================================
1445
- 'Coding Plan': 'Coding Plan',
1446
- 'Coding Plan (Bailian, China)': 'Coding Plan (Bailian, Китай)',
1447
- 'Coding Plan (Bailian, Global/Intl)':
1448
- 'Coding Plan (Bailian, Глобальный/Международный)',
1449
- "Paste your api key of Bailian Coding Plan and you're all set!":
1450
- 'Вставьте ваш API-ключ Bailian Coding Plan и всё готово!',
1451
- "Paste your api key of Coding Plan (Bailian, Global/Intl) and you're all set!":
1452
- 'Вставьте ваш API-ключ Coding Plan (Bailian, Глобальный/Международный) и всё готово!',
1453
- Custom: 'Пользовательский',
1454
- 'More instructions about configuring `modelProviders` manually.':
1455
- 'Дополнительные инструкции по ручной настройке `modelProviders`.',
1456
- 'Select API-KEY configuration mode:': 'Выберите режим конфигурации API-KEY:',
1457
- '(Press Escape to go back)': '(Нажмите Escape для возврата)',
1458
- '(Press Enter to submit, Escape to cancel)':
1459
- '(Нажмите Enter для отправки, Escape для отмены)',
1460
- 'More instructions please check:': 'Дополнительные инструкции см.:',
1452
+ 'Select Region for Coding Plan': 'Выберите регион Coding Plan',
1453
+ 'Choose based on where your account is registered':
1454
+ 'Выберите в зависимости от места регистрации вашего аккаунта',
1455
+ 'Enter Coding Plan API Key': 'Введите API-ключ Coding Plan',
1461
1456
 
1462
1457
  // ============================================================================
1463
1458
  // Coding Plan International Updates
1464
1459
  // ============================================================================
1465
1460
  'New model configurations are available for {{region}}. Update now?':
1466
1461
  'Доступны новые конфигурации моделей для {{region}}. Обновить сейчас?',
1467
- 'New model configurations are available for Bailian Coding Plan (China). Update now?':
1468
- 'Доступны новые конфигурации моделей для Bailian Coding Plan (Китай). Обновить сейчас?',
1469
- 'New model configurations are available for Coding Plan (Bailian, Global/Intl). Update now?':
1470
- 'Доступны новые конфигурации моделей для Coding Plan (Bailian, Глобальный/Международный). Обновить сейчас?',
1471
1462
  '{{region}} configuration updated successfully. Model switched to "{{model}}".':
1472
1463
  'Конфигурация {{region}} успешно обновлена. Модель переключена на "{{model}}".',
1473
1464
  'Authenticated successfully with {{region}}. API key and model configs saved to settings.json (backed up).':
package/locales/zh.js CHANGED
@@ -173,6 +173,7 @@ export default {
173
173
  'Enter to confirm, Esc to cancel': 'Enter 确认,Esc 取消',
174
174
  'Enter to select, ↑↓ to navigate, Esc to go back':
175
175
  'Enter 选择,↑↓ 导航,Esc 返回',
176
+ 'Enter to submit, Esc to go back': 'Enter 提交,Esc 返回',
176
177
  'Invalid step: {{step}}': '无效步骤: {{step}}',
177
178
  'No subagents found.': '未找到子智能体。',
178
179
  "Use '/agents create' to create your first subagent.":
@@ -882,18 +883,21 @@ export default {
882
883
  // Dialogs - Auth
883
884
  // ============================================================================
884
885
  'Get started': '开始使用',
885
- 'How would you like to authenticate for this project?':
886
- '您希望如何为此项目进行身份验证?',
886
+ 'Select Authentication Method': '选择认证方式',
887
887
  'OpenAI API key is required to use OpenAI authentication.':
888
888
  '使用 OpenAI 认证需要 OpenAI API 密钥',
889
889
  'You must select an auth method to proceed. Press Ctrl+C again to exit.':
890
890
  '您必须选择认证方法才能继续。再次按 Ctrl+C 退出',
891
- '(Use Enter to Set Auth)': '(使用 Enter 设置认证)',
892
- 'Terms of Services and Privacy Notice for Qwen Code':
893
- 'Qwen Code 的服务条款和隐私声明',
891
+ 'Terms of Services and Privacy Notice': '服务条款和隐私声明',
894
892
  'Qwen OAuth': 'Qwen OAuth (免费)',
893
+ 'Free \u00B7 Up to 1,000 requests/day \u00B7 Qwen latest models':
894
+ '免费 \u00B7 每天最多 1,000 次请求 \u00B7 Qwen 最新模型',
895
895
  'Login with QwenChat account to use daily free quota.':
896
896
  '使用 QwenChat 账号登录,享受每日免费额度。',
897
+ 'Paid \u00B7 Up to 6,000 requests/5 hrs \u00B7 All Alibaba Cloud Coding Plan Models':
898
+ '付费 \u00B7 每 5 小时最多 6,000 次请求 \u00B7 支持阿里云百炼 Coding Plan 全部模型',
899
+ 'Alibaba Cloud Coding Plan': '阿里云百炼 Coding Plan',
900
+ 'Bring your own API key': '使用自己的 API 密钥',
897
901
  'Use coding plan credentials or your own api-keys/providers.':
898
902
  '使用 Coding Plan 凭证或您自己的 API 密钥/提供商。',
899
903
  OpenAI: 'OpenAI',
@@ -917,6 +921,8 @@ export default {
917
921
  'Waiting for Qwen OAuth authentication...': '正在等待 Qwen OAuth 认证...',
918
922
  'Note: Your existing API key in settings.json will not be cleared when using Qwen OAuth. You can switch back to OpenAI authentication later if needed.':
919
923
  '注意:使用 Qwen OAuth 时,settings.json 中现有的 API 密钥不会被清除。如果需要,您可以稍后切换回 OpenAI 认证。',
924
+ 'Note: Your existing API key will not be cleared when using Qwen OAuth.':
925
+ '注意:使用 Qwen OAuth 时,现有的 API 密钥不会被清除。',
920
926
  'Authentication timed out. Please try again.': '认证超时。请重试。',
921
927
  'Waiting for auth... (Press ESC or CTRL+C to cancel)':
922
928
  '正在等待认证...(按 ESC 或 CTRL+C 取消)',
@@ -961,6 +967,17 @@ export default {
961
967
  '(default)': '(默认)',
962
968
  '(set)': '(已设置)',
963
969
  '(not set)': '(未设置)',
970
+ Modality: '模态',
971
+ 'Context Window': '上下文窗口',
972
+ text: '文本',
973
+ 'text-only': '纯文本',
974
+ image: '图像',
975
+ pdf: 'PDF',
976
+ audio: '音频',
977
+ video: '视频',
978
+ 'not set': '未设置',
979
+ none: '无',
980
+ unknown: '未知',
964
981
  "Failed to switch model to '{{modelId}}'.\n\n{{error}}":
965
982
  "无法切换到模型 '{{modelId}}'.\n\n{{error}}",
966
983
  'Qwen 3.5 Plus — efficient hybrid model with leading coding performance':
@@ -1217,18 +1234,22 @@ export default {
1217
1234
  'Rate limit error: {{reason}}': '触发限流:{{reason}}',
1218
1235
  'Retrying in {{seconds}} seconds… (attempt {{attempt}}/{{maxRetries}})':
1219
1236
  '将于 {{seconds}} 秒后重试…(第 {{attempt}}/{{maxRetries}} 次)',
1237
+ 'Press Ctrl+Y to retry': '按 Ctrl+Y 重试。',
1238
+ 'No failed request to retry.': '没有可重试的失败请求。',
1239
+ 'to retry last request': '重试上一次请求',
1220
1240
 
1221
1241
  // ============================================================================
1222
1242
  // Coding Plan Authentication
1223
1243
  // ============================================================================
1224
- 'Please enter your API key:': '请输入您的 API Key:',
1225
1244
  'API key cannot be empty.': 'API Key 不能为空。',
1226
- 'You can get your exclusive Coding Plan API-KEY here:':
1227
- '您可以在这里获取专属的 Coding Plan API-KEY:',
1245
+ 'Invalid API key. Coding Plan API keys start with "sk-sp-". Please check.':
1246
+ '无效的 API Key,Coding Plan API Key 均以 "sk-sp-" 开头,请检查',
1247
+ 'You can get your Coding Plan API key here':
1248
+ '您可以在这里获取 Coding Plan API Key',
1228
1249
  'API key is stored in settings.env. You can migrate it to a .env file for better security.':
1229
1250
  'API Key 已存储在 settings.env 中。您可以将其迁移到 .env 文件以获得更好的安全性。',
1230
- 'New model configurations are available for Bailian Coding Plan. Update now?':
1231
- '百炼 Coding Plan 有新模型配置可用。是否立即更新?',
1251
+ 'New model configurations are available for Alibaba Cloud Coding Plan. Update now?':
1252
+ '阿里云百炼 Coding Plan 有新模型配置可用。是否立即更新?',
1232
1253
  'Coding Plan configuration updated successfully. New models are now available.':
1233
1254
  'Coding Plan 配置更新成功。新模型现已可用。',
1234
1255
  'Coding Plan API key not found. Please re-authenticate with Coding Plan.':
@@ -1237,51 +1258,25 @@ export default {
1237
1258
  '更新 Coding Plan 配置失败:{{message}}',
1238
1259
 
1239
1260
  // ============================================================================
1240
- // Custom API-KEY Configuration
1241
- // ============================================================================
1242
- 'For advanced users who want to configure models manually.':
1243
- '适合需要手动配置模型的高级用户。',
1244
- 'Please configure your models in settings.json:':
1245
- '请在 settings.json 中配置您的模型:',
1246
- 'Set API key via environment variable (e.g., OPENAI_API_KEY)':
1247
- '通过环境变量设置 API Key(例如:OPENAI_API_KEY)',
1248
- "Add model configuration to modelProviders['openai'] (or other auth types)":
1249
- "将模型配置添加到 modelProviders['openai'](或其他认证类型)",
1250
- 'Each provider needs: id, envKey (required), plus optional baseUrl, generationConfig':
1251
- '每个提供商需要:id、envKey(必需),以及可选的 baseUrl、generationConfig',
1252
- 'Use /model command to select your preferred model from the configured list':
1253
- '使用 /model 命令从配置列表中选择您偏好的模型',
1254
- 'Supported auth types: openai, anthropic, gemini, vertex-ai, etc.':
1255
- '支持的认证类型:openai、anthropic、gemini、vertex-ai 等',
1256
- 'More instructions please check:': '更多说明请查看:',
1261
+ // Custom API Key Configuration
1262
+ // ============================================================================
1263
+ 'You can configure your API key and models in settings.json':
1264
+ '您可以在 settings.json 中配置 API Key 和模型',
1265
+ 'Refer to the documentation for setup instructions': '请参考文档了解配置说明',
1257
1266
 
1258
1267
  // ============================================================================
1259
1268
  // Auth Dialog - View Titles and Labels
1260
1269
  // ============================================================================
1261
- 'API-KEY': 'API-KEY',
1262
- 'Coding Plan': 'Coding Plan',
1263
- 'Coding Plan (Bailian, China)': 'Coding Plan (百炼, 中国)',
1264
- 'Coding Plan (Bailian, Global/Intl)': 'Coding Plan (百炼, 全球/国际)',
1265
- "Paste your api key of Bailian Coding Plan and you're all set!":
1266
- '粘贴您的百炼 Coding Plan API Key,即可完成设置!',
1267
- "Paste your api key of Coding Plan (Bailian, Global/Intl) and you're all set!":
1268
- '粘贴您的 Coding Plan (百炼, 全球/国际) API Key,即可完成设置!',
1269
- Custom: '自定义',
1270
- 'More instructions about configuring `modelProviders` manually.':
1271
- '关于手动配置 `modelProviders` 的更多说明。',
1272
- 'Select API-KEY configuration mode:': '选择 API-KEY 配置模式:',
1273
- '(Press Escape to go back)': '(按 Escape 键返回)',
1274
- '(Press Enter to submit, Escape to cancel)': '(按 Enter 提交,Escape 取消)',
1270
+ 'Select Region for Coding Plan': '选择 Coding Plan 区域',
1271
+ 'Choose based on where your account is registered':
1272
+ '请根据您的账号注册地区选择',
1273
+ 'Enter Coding Plan API Key': '输入 Coding Plan API Key',
1275
1274
 
1276
1275
  // ============================================================================
1277
1276
  // Coding Plan International Updates
1278
1277
  // ============================================================================
1279
1278
  'New model configurations are available for {{region}}. Update now?':
1280
1279
  '{{region}} 有新的模型配置可用。是否立即更新?',
1281
- 'New model configurations are available for Bailian Coding Plan (China). Update now?':
1282
- '百炼 Coding Plan (中国) 有新的模型配置可用。是否立即更新?',
1283
- 'New model configurations are available for Coding Plan (Bailian, Global/Intl). Update now?':
1284
- 'Coding Plan (百炼, 全球/国际) 有新的模型配置可用。是否立即更新?',
1285
1280
  '{{region}} configuration updated successfully. Model switched to "{{model}}".':
1286
1281
  '{{region}} 配置更新成功。模型已切换至 "{{model}}"。',
1287
1282
  'Authenticated successfully with {{region}}. API key and model configs saved to settings.json (backed up).':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwen-code/qwen-code",
3
- "version": "0.11.0",
3
+ "version": "0.11.1-preview.0",
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.11.0"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.11.1-preview.0"
24
24
  },
25
25
  "dependencies": {},
26
26
  "optionalDependencies": {