@rdmind/rdmind 0.2.4 → 0.2.5-alpha.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 +1524 -1036
- package/locales/en.js +45 -0
- package/locales/zh.js +44 -0
- package/package.json +2 -2
package/locales/en.js
CHANGED
|
@@ -954,6 +954,10 @@ export default {
|
|
|
954
954
|
'Terms of Services and Privacy Notice for RDMind':
|
|
955
955
|
'Terms of Services and Privacy Notice for RDMind',
|
|
956
956
|
'Qwen OAuth': 'Qwen OAuth',
|
|
957
|
+
'Login with QwenChat account to use daily free quota.':
|
|
958
|
+
'Login with QwenChat account to use daily free quota.',
|
|
959
|
+
'API-KEY': 'API-KEY',
|
|
960
|
+
'Use Xiaohongshu SSO or API Key': 'Use Xiaohongshu SSO or API Key',
|
|
957
961
|
OpenAI: 'OpenAI',
|
|
958
962
|
'Failed to login. Message: {{message}}':
|
|
959
963
|
'Failed to login. Message: {{message}}',
|
|
@@ -1416,4 +1420,45 @@ export default {
|
|
|
1416
1420
|
'Opening extensions page in your browser: {{url}}',
|
|
1417
1421
|
'Failed to open browser. Check out the extensions gallery at {{url}}':
|
|
1418
1422
|
'Failed to open browser. Check out the extensions gallery at {{url}}',
|
|
1423
|
+
|
|
1424
|
+
// ============================================================================
|
|
1425
|
+
// Coding Plan Authentication
|
|
1426
|
+
// ============================================================================
|
|
1427
|
+
'Please enter your API key:': 'Please enter your API key:',
|
|
1428
|
+
'API key cannot be empty.': 'API key cannot be empty.',
|
|
1429
|
+
'API key is stored in settings.env. You can migrate it to a .env file for better security.':
|
|
1430
|
+
'API key is stored in settings.env. You can migrate it to a .env file for better security.',
|
|
1431
|
+
|
|
1432
|
+
// ============================================================================
|
|
1433
|
+
// Custom API-KEY Configuration
|
|
1434
|
+
// ============================================================================
|
|
1435
|
+
'For advanced users who want to configure models manually.':
|
|
1436
|
+
'For advanced users who want to configure models manually.',
|
|
1437
|
+
'Please configure your models in settings.json:':
|
|
1438
|
+
'Please configure your models in settings.json:',
|
|
1439
|
+
'Set API key via environment variable (e.g., OPENAI_API_KEY)':
|
|
1440
|
+
'Set API key via environment variable (e.g., OPENAI_API_KEY)',
|
|
1441
|
+
"Add model configuration to modelProviders['openai'] (or other auth types)":
|
|
1442
|
+
"Add model configuration to modelProviders['openai'] (or other auth types)",
|
|
1443
|
+
'Each provider needs: id, envKey (required), plus optional baseUrl, generationConfig':
|
|
1444
|
+
'Each provider needs: id, envKey (required), plus optional baseUrl, generationConfig',
|
|
1445
|
+
'Use /model command to select your preferred model from the configured list':
|
|
1446
|
+
'Use /model command to select your preferred model from the configured list',
|
|
1447
|
+
'Supported auth types: openai, anthropic, gemini, vertex-ai, etc.':
|
|
1448
|
+
'Supported auth types: openai, anthropic, gemini, vertex-ai, etc.',
|
|
1449
|
+
'More instructions please check:': 'More instructions please check:',
|
|
1450
|
+
|
|
1451
|
+
// ============================================================================
|
|
1452
|
+
// Auth Dialog - View Titles and Labels
|
|
1453
|
+
// ============================================================================
|
|
1454
|
+
'Coding Plan': 'Coding Plan',
|
|
1455
|
+
"Paste your api key of Bailian Coding Plan and you're all set!":
|
|
1456
|
+
"Paste your api key of Bailian Coding Plan and you're all set!",
|
|
1457
|
+
Custom: 'Custom',
|
|
1458
|
+
'More instructions about configuring `modelProviders` manually.':
|
|
1459
|
+
'More instructions about configuring `modelProviders` manually.',
|
|
1460
|
+
'Select API-KEY configuration mode:': 'Select API-KEY configuration mode:',
|
|
1461
|
+
'(Press Escape to go back)': '(Press Escape to go back)',
|
|
1462
|
+
'(Press Enter to submit, Escape to cancel)':
|
|
1463
|
+
'(Press Enter to submit, Escape to cancel)',
|
|
1419
1464
|
};
|
package/locales/zh.js
CHANGED
|
@@ -901,6 +901,9 @@ export default {
|
|
|
901
901
|
'Terms of Services and Privacy Notice for RDMind':
|
|
902
902
|
'RDMind 的服务条款和隐私声明',
|
|
903
903
|
'Qwen OAuth': 'Qwen OAuth (免费)',
|
|
904
|
+
'Login with QwenChat account to use daily free quota.':
|
|
905
|
+
'使用 QwenChat 账号登录,享受每日免费额度。',
|
|
906
|
+
'Use Xiaohongshu SSO or API Key': '使用小红书 SSO 或 API 密钥',
|
|
904
907
|
OpenAI: 'OpenAI',
|
|
905
908
|
'Failed to login. Message: {{message}}': '登录失败。消息:{{message}}',
|
|
906
909
|
'Authentication is enforced to be {{enforcedType}}, but you are currently using {{currentType}}.':
|
|
@@ -1301,4 +1304,45 @@ export default {
|
|
|
1301
1304
|
'正在浏览器中打开扩展页面:{{url}}',
|
|
1302
1305
|
'Failed to open browser. Check out the extensions gallery at {{url}}':
|
|
1303
1306
|
'打开浏览器失败。请访问扩展市场:{{url}}',
|
|
1307
|
+
|
|
1308
|
+
// ============================================================================
|
|
1309
|
+
// Coding Plan Authentication
|
|
1310
|
+
// ============================================================================
|
|
1311
|
+
'Please enter your API key:': '请输入您的 API Key:',
|
|
1312
|
+
'API key cannot be empty.': 'API Key 不能为空。',
|
|
1313
|
+
'API key is stored in settings.env. You can migrate it to a .env file for better security.':
|
|
1314
|
+
'API Key 已存储在 settings.env 中。您可以将其迁移到 .env 文件以获得更好的安全性。',
|
|
1315
|
+
|
|
1316
|
+
// ============================================================================
|
|
1317
|
+
// Custom API-KEY Configuration
|
|
1318
|
+
// ============================================================================
|
|
1319
|
+
'For advanced users who want to configure models manually.':
|
|
1320
|
+
'适合需要手动配置模型的高级用户。',
|
|
1321
|
+
'Please configure your models in settings.json:':
|
|
1322
|
+
'请在 settings.json 中配置您的模型:',
|
|
1323
|
+
'Set API key via environment variable (e.g., OPENAI_API_KEY)':
|
|
1324
|
+
'通过环境变量设置 API Key(例如:OPENAI_API_KEY)',
|
|
1325
|
+
"Add model configuration to modelProviders['openai'] (or other auth types)":
|
|
1326
|
+
"将模型配置添加到 modelProviders['openai'](或其他认证类型)",
|
|
1327
|
+
'Each provider needs: id, envKey (required), plus optional baseUrl, generationConfig':
|
|
1328
|
+
'每个提供商需要:id、envKey(必需),以及可选的 baseUrl、generationConfig',
|
|
1329
|
+
'Use /model command to select your preferred model from the configured list':
|
|
1330
|
+
'使用 /model 命令从配置列表中选择您偏好的模型',
|
|
1331
|
+
'Supported auth types: openai, anthropic, gemini, vertex-ai, etc.':
|
|
1332
|
+
'支持的认证类型:openai、anthropic、gemini、vertex-ai 等',
|
|
1333
|
+
'More instructions please check:': '更多说明请查看:',
|
|
1334
|
+
|
|
1335
|
+
// ============================================================================
|
|
1336
|
+
// Auth Dialog - View Titles and Labels
|
|
1337
|
+
// ============================================================================
|
|
1338
|
+
'API-KEY': 'API-KEY',
|
|
1339
|
+
'Coding Plan': 'Coding Plan',
|
|
1340
|
+
"Paste your api key of Bailian Coding Plan and you're all set!":
|
|
1341
|
+
'粘贴您的百炼 Coding Plan API Key,即可完成设置!',
|
|
1342
|
+
Custom: '自定义',
|
|
1343
|
+
'More instructions about configuring `modelProviders` manually.':
|
|
1344
|
+
'关于手动配置 `modelProviders` 的更多说明。',
|
|
1345
|
+
'Select API-KEY configuration mode:': '选择 API-KEY 配置模式:',
|
|
1346
|
+
'(Press Escape to go back)': '(按 Escape 键返回)',
|
|
1347
|
+
'(Press Enter to submit, Escape to cancel)': '(按 Enter 提交,Escape 取消)',
|
|
1304
1348
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5-alpha.1",
|
|
4
4
|
"description": "RDMind - AI-powered coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "cli.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"locales"
|
|
20
20
|
],
|
|
21
21
|
"config": {
|
|
22
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.
|
|
22
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.5-alpha.1"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|