chorus-cli 0.5.2 → 0.5.4
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/index.js +23 -25
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1310,38 +1310,35 @@ const command = process.argv[2];
|
|
|
1310
1310
|
const _envExists = require('fs').existsSync(path.join(os.homedir(), '.config', 'chorus', '.env'));
|
|
1311
1311
|
|
|
1312
1312
|
const FREE_MODELS = new Set([
|
|
1313
|
-
'
|
|
1314
|
-
'
|
|
1315
|
-
'kimi', 'glm', 'minimax', 'step'
|
|
1313
|
+
'gpt-oss', 'gpt-oss-20b', 'qwen-coder', 'qwen', 'llama', 'hermes',
|
|
1314
|
+
'nemotron', 'gemma', 'mistral', 'glm', 'step', 'solar'
|
|
1316
1315
|
]);
|
|
1317
1316
|
|
|
1318
1317
|
const PAID_MODELS = new Set([
|
|
1319
|
-
'claude', 'chatgpt', '
|
|
1318
|
+
'claude', 'chatgpt', 'deepseek', 'kimi', 'gemini', 'grok', 'command-r'
|
|
1320
1319
|
]);
|
|
1321
1320
|
|
|
1322
1321
|
const ALLOWED_MODELS = new Set([...FREE_MODELS, ...PAID_MODELS]);
|
|
1323
1322
|
|
|
1324
|
-
const DEFAULT_FREE_MODEL = '
|
|
1323
|
+
const DEFAULT_FREE_MODEL = 'gpt-oss';
|
|
1325
1324
|
|
|
1326
1325
|
function printModelTable(out = console.error) {
|
|
1327
1326
|
out('\n Free models:');
|
|
1328
1327
|
out(' ┌─────────────────────┬──────────────────────────────────┐');
|
|
1329
1328
|
out(' │ Flag value │ Model │');
|
|
1330
1329
|
out(' ├─────────────────────┼──────────────────────────────────┤');
|
|
1331
|
-
out(' │
|
|
1332
|
-
out(' │
|
|
1333
|
-
out(' │
|
|
1334
|
-
out(' │
|
|
1335
|
-
out(' │
|
|
1336
|
-
out(' │
|
|
1337
|
-
out(' │
|
|
1338
|
-
out(' │
|
|
1339
|
-
out(' │
|
|
1340
|
-
out(' │
|
|
1341
|
-
out(' │ kimi │ Kimi K2.5 │');
|
|
1342
|
-
out(' │ glm │ GLM-5 │');
|
|
1343
|
-
out(' │ minimax │ Minimax M2.5 │');
|
|
1330
|
+
out(' │ gpt-oss │ GPT-OSS 120B (default) │');
|
|
1331
|
+
out(' │ gpt-oss-20b │ GPT-OSS 20B │');
|
|
1332
|
+
out(' │ qwen-coder │ Qwen3 Coder 480B │');
|
|
1333
|
+
out(' │ qwen │ Qwen3 Next 80B │');
|
|
1334
|
+
out(' │ llama │ Llama 3.3 70B │');
|
|
1335
|
+
out(' │ hermes │ Hermes 3 405B │');
|
|
1336
|
+
out(' │ nemotron │ Nemotron 3 Nano 30B │');
|
|
1337
|
+
out(' │ gemma │ Gemma 3 27B │');
|
|
1338
|
+
out(' │ mistral │ Mistral Small 3.1 24B │');
|
|
1339
|
+
out(' │ glm │ GLM 4.5 Air │');
|
|
1344
1340
|
out(' │ step │ Step 3.5 Flash │');
|
|
1341
|
+
out(' │ solar │ Solar Pro 3 │');
|
|
1345
1342
|
out(' └─────────────────────┴──────────────────────────────────┘');
|
|
1346
1343
|
out('\n Paid models:');
|
|
1347
1344
|
out(' ┌─────────────────────┬──────────────────────────────────┐');
|
|
@@ -1349,9 +1346,10 @@ function printModelTable(out = console.error) {
|
|
|
1349
1346
|
out(' ├─────────────────────┼──────────────────────────────────┤');
|
|
1350
1347
|
out(' │ claude │ Claude │');
|
|
1351
1348
|
out(' │ chatgpt │ ChatGPT │');
|
|
1352
|
-
out(' │
|
|
1353
|
-
out(' │
|
|
1354
|
-
out(' │
|
|
1349
|
+
out(' │ deepseek │ DeepSeek │');
|
|
1350
|
+
out(' │ kimi │ Kimi │');
|
|
1351
|
+
out(' │ gemini │ Gemini │');
|
|
1352
|
+
out(' │ grok │ Grok │');
|
|
1355
1353
|
out(' │ command-r │ Command R │');
|
|
1356
1354
|
out(' └─────────────────────┴──────────────────────────────────┘');
|
|
1357
1355
|
}
|
|
@@ -1416,8 +1414,8 @@ if (command === 'setup') {
|
|
|
1416
1414
|
printModelTable(console.log);
|
|
1417
1415
|
console.log('\nUsage:');
|
|
1418
1416
|
console.log(' chorus run 4464 --model deepseek Use a specific model');
|
|
1419
|
-
console.log(' chorus run 4464 --free Use the best free model (
|
|
1420
|
-
console.log(' chorus run 4464 --free --model
|
|
1417
|
+
console.log(' chorus run 4464 --free Use the best free model (GPT-OSS 120B)');
|
|
1418
|
+
console.log(' chorus run 4464 --free --model qwen-coder Use a specific free model\n');
|
|
1421
1419
|
} else if (command === 'zep') {
|
|
1422
1420
|
printZEP()
|
|
1423
1421
|
} else {
|
|
@@ -1442,8 +1440,8 @@ Usage:
|
|
|
1442
1440
|
chorus run <url> - Process issue from full URL (auto-detects provider)
|
|
1443
1441
|
chorus run 4464 --super - Use Opus 4.6 for QA evaluation
|
|
1444
1442
|
chorus run 4464 --model deepseek - Use a specific model (see --free for free options)
|
|
1445
|
-
chorus run 4464 --free - Use the best free model (
|
|
1446
|
-
chorus run 4464 --free --model
|
|
1443
|
+
chorus run 4464 --free - Use the best free model (GPT-OSS 120B)
|
|
1444
|
+
chorus run 4464 --free --model qwen-coder - Use a specific free model
|
|
1447
1445
|
chorus run 4464 --qa 'John Doe' - Specify QA contact name for chat
|
|
1448
1446
|
chorus run 4464 --skip-qa - Skip QA conversation, go straight to coding
|
|
1449
1447
|
|