byterover-cli 3.0.0 → 3.0.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.
Files changed (2) hide show
  1. package/oclif.manifest.json +160 -160
  2. package/package.json +1 -1
@@ -1117,33 +1117,47 @@
1117
1117
  "switch.js"
1118
1118
  ]
1119
1119
  },
1120
- "review:approve": {
1120
+ "providers:connect": {
1121
1121
  "aliases": [],
1122
1122
  "args": {
1123
- "taskId": {
1124
- "description": "Task ID shown in the curate output (e.g. \"brv review approve abc-123\")",
1125
- "name": "taskId",
1126
- "required": true
1123
+ "provider": {
1124
+ "description": "Provider ID to connect (e.g., anthropic, openai, openrouter). Omit for interactive selection.",
1125
+ "name": "provider",
1126
+ "required": false
1127
1127
  }
1128
1128
  },
1129
- "description": "Approve pending review operations for a curate task",
1129
+ "description": "Connect or switch to an LLM provider",
1130
1130
  "examples": [
1131
- "# Approve all pending changes from a curate task",
1132
- "<%= config.bin %> review approve abc-123",
1133
- "",
1134
- "# Approve specific files",
1135
- "<%= config.bin %> review approve abc-123 --file architecture/security/audit.md",
1136
- "<%= config.bin %> review approve abc-123 --file auth/jwt.md --file auth/oauth.md",
1137
- "",
1138
- "# Approve and get structured output (useful for coding agents)",
1139
- "<%= config.bin %> review approve abc-123 --format json"
1131
+ "<%= config.bin %> providers connect",
1132
+ "<%= config.bin %> providers connect anthropic --api-key sk-xxx",
1133
+ "<%= config.bin %> providers connect openai --oauth",
1134
+ "<%= config.bin %> providers connect byterover",
1135
+ "<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1 --api-key sk-xxx"
1140
1136
  ],
1141
1137
  "flags": {
1142
- "file": {
1143
- "description": "Approve only the specified file path(s) (relative to context tree)",
1144
- "name": "file",
1138
+ "api-key": {
1139
+ "char": "k",
1140
+ "description": "API key for the provider",
1141
+ "name": "api-key",
1145
1142
  "hasDynamicHelp": false,
1146
- "multiple": true,
1143
+ "multiple": false,
1144
+ "type": "option"
1145
+ },
1146
+ "base-url": {
1147
+ "char": "b",
1148
+ "description": "Base URL for OpenAI-compatible providers (e.g., http://localhost:11434/v1)",
1149
+ "name": "base-url",
1150
+ "hasDynamicHelp": false,
1151
+ "multiple": false,
1152
+ "type": "option"
1153
+ },
1154
+ "code": {
1155
+ "char": "c",
1156
+ "description": "Authorization code for code-paste OAuth providers (e.g., Anthropic). Not applicable to browser-callback providers like OpenAI — use --oauth without --code instead.",
1157
+ "hidden": true,
1158
+ "name": "code",
1159
+ "hasDynamicHelp": false,
1160
+ "multiple": false,
1147
1161
  "type": "option"
1148
1162
  },
1149
1163
  "format": {
@@ -1157,11 +1171,25 @@
1157
1171
  "json"
1158
1172
  ],
1159
1173
  "type": "option"
1174
+ },
1175
+ "model": {
1176
+ "char": "m",
1177
+ "description": "Model to set as active after connecting",
1178
+ "name": "model",
1179
+ "hasDynamicHelp": false,
1180
+ "multiple": false,
1181
+ "type": "option"
1182
+ },
1183
+ "oauth": {
1184
+ "description": "Connect via OAuth (browser-based)",
1185
+ "name": "oauth",
1186
+ "allowNo": false,
1187
+ "type": "boolean"
1160
1188
  }
1161
1189
  },
1162
1190
  "hasDynamicHelp": false,
1163
1191
  "hiddenAliases": [],
1164
- "id": "review:approve",
1192
+ "id": "providers:connect",
1165
1193
  "pluginAlias": "byterover-cli",
1166
1194
  "pluginName": "byterover-cli",
1167
1195
  "pluginType": "core",
@@ -1172,25 +1200,25 @@
1172
1200
  "dist",
1173
1201
  "oclif",
1174
1202
  "commands",
1175
- "review",
1176
- "approve.js"
1203
+ "providers",
1204
+ "connect.js"
1177
1205
  ]
1178
1206
  },
1179
- "review:base-review-decision": {
1207
+ "providers:disconnect": {
1180
1208
  "aliases": [],
1181
1209
  "args": {
1182
- "taskId": {
1183
- "name": "taskId",
1210
+ "provider": {
1211
+ "description": "Provider ID to disconnect",
1212
+ "name": "provider",
1184
1213
  "required": true
1185
1214
  }
1186
1215
  },
1216
+ "description": "Disconnect an LLM provider",
1217
+ "examples": [
1218
+ "<%= config.bin %> providers disconnect anthropic",
1219
+ "<%= config.bin %> providers disconnect openai --format json"
1220
+ ],
1187
1221
  "flags": {
1188
- "file": {
1189
- "name": "file",
1190
- "hasDynamicHelp": false,
1191
- "multiple": true,
1192
- "type": "option"
1193
- },
1194
1222
  "format": {
1195
1223
  "description": "Output format (text or json)",
1196
1224
  "name": "format",
@@ -1206,7 +1234,7 @@
1206
1234
  },
1207
1235
  "hasDynamicHelp": false,
1208
1236
  "hiddenAliases": [],
1209
- "id": "review:base-review-decision",
1237
+ "id": "providers:disconnect",
1210
1238
  "pluginAlias": "byterover-cli",
1211
1239
  "pluginName": "byterover-cli",
1212
1240
  "pluginType": "core",
@@ -1217,20 +1245,17 @@
1217
1245
  "dist",
1218
1246
  "oclif",
1219
1247
  "commands",
1220
- "review",
1221
- "base-review-decision.js"
1248
+ "providers",
1249
+ "disconnect.js"
1222
1250
  ]
1223
1251
  },
1224
- "review:pending": {
1252
+ "providers": {
1225
1253
  "aliases": [],
1226
1254
  "args": {},
1227
- "description": "List all pending review operations for the current project",
1255
+ "description": "Show active provider and model",
1228
1256
  "examples": [
1229
- "# Show all pending reviews",
1230
- "<%= config.bin %> review pending",
1231
- "",
1232
- "# Get structured output for agent-driven workflows",
1233
- "<%= config.bin %> review pending --format json"
1257
+ "<%= config.bin %> providers",
1258
+ "<%= config.bin %> providers --format json"
1234
1259
  ],
1235
1260
  "flags": {
1236
1261
  "format": {
@@ -1248,7 +1273,7 @@
1248
1273
  },
1249
1274
  "hasDynamicHelp": false,
1250
1275
  "hiddenAliases": [],
1251
- "id": "review:pending",
1276
+ "id": "providers",
1252
1277
  "pluginAlias": "byterover-cli",
1253
1278
  "pluginName": "byterover-cli",
1254
1279
  "pluginType": "core",
@@ -1259,39 +1284,19 @@
1259
1284
  "dist",
1260
1285
  "oclif",
1261
1286
  "commands",
1262
- "review",
1263
- "pending.js"
1287
+ "providers",
1288
+ "index.js"
1264
1289
  ]
1265
1290
  },
1266
- "review:reject": {
1291
+ "providers:list": {
1267
1292
  "aliases": [],
1268
- "args": {
1269
- "taskId": {
1270
- "description": "Task ID shown in the curate output (e.g. \"brv review reject abc-123\")",
1271
- "name": "taskId",
1272
- "required": true
1273
- }
1274
- },
1275
- "description": "Reject pending review operations for a curate task (restores files from backup)",
1293
+ "args": {},
1294
+ "description": "List all available providers and their connection status",
1276
1295
  "examples": [
1277
- "# Reject all pending changes from a curate task",
1278
- "<%= config.bin %> review reject abc-123",
1279
- "",
1280
- "# Reject specific files",
1281
- "<%= config.bin %> review reject abc-123 --file architecture/security/audit.md",
1282
- "<%= config.bin %> review reject abc-123 --file auth/jwt.md --file auth/oauth.md",
1283
- "",
1284
- "# Reject and get structured output (useful for coding agents)",
1285
- "<%= config.bin %> review reject abc-123 --format json"
1296
+ "<%= config.bin %> providers list",
1297
+ "<%= config.bin %> providers list --format json"
1286
1298
  ],
1287
1299
  "flags": {
1288
- "file": {
1289
- "description": "Reject only the specified file path(s) (relative to context tree)",
1290
- "name": "file",
1291
- "hasDynamicHelp": false,
1292
- "multiple": true,
1293
- "type": "option"
1294
- },
1295
1300
  "format": {
1296
1301
  "description": "Output format (text or json)",
1297
1302
  "name": "format",
@@ -1307,7 +1312,7 @@
1307
1312
  },
1308
1313
  "hasDynamicHelp": false,
1309
1314
  "hiddenAliases": [],
1310
- "id": "review:reject",
1315
+ "id": "providers:list",
1311
1316
  "pluginAlias": "byterover-cli",
1312
1317
  "pluginName": "byterover-cli",
1313
1318
  "pluginType": "core",
@@ -1318,53 +1323,25 @@
1318
1323
  "dist",
1319
1324
  "oclif",
1320
1325
  "commands",
1321
- "review",
1322
- "reject.js"
1326
+ "providers",
1327
+ "list.js"
1323
1328
  ]
1324
1329
  },
1325
- "providers:connect": {
1330
+ "providers:switch": {
1326
1331
  "aliases": [],
1327
1332
  "args": {
1328
1333
  "provider": {
1329
- "description": "Provider ID to connect (e.g., anthropic, openai, openrouter). Omit for interactive selection.",
1334
+ "description": "Provider ID to switch to (e.g., anthropic, openai)",
1330
1335
  "name": "provider",
1331
- "required": false
1336
+ "required": true
1332
1337
  }
1333
1338
  },
1334
- "description": "Connect or switch to an LLM provider",
1339
+ "description": "Switch the active provider",
1335
1340
  "examples": [
1336
- "<%= config.bin %> providers connect",
1337
- "<%= config.bin %> providers connect anthropic --api-key sk-xxx",
1338
- "<%= config.bin %> providers connect openai --oauth",
1339
- "<%= config.bin %> providers connect byterover",
1340
- "<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1 --api-key sk-xxx"
1341
+ "<%= config.bin %> providers switch anthropic",
1342
+ "<%= config.bin %> providers switch openai --format json"
1341
1343
  ],
1342
1344
  "flags": {
1343
- "api-key": {
1344
- "char": "k",
1345
- "description": "API key for the provider",
1346
- "name": "api-key",
1347
- "hasDynamicHelp": false,
1348
- "multiple": false,
1349
- "type": "option"
1350
- },
1351
- "base-url": {
1352
- "char": "b",
1353
- "description": "Base URL for OpenAI-compatible providers (e.g., http://localhost:11434/v1)",
1354
- "name": "base-url",
1355
- "hasDynamicHelp": false,
1356
- "multiple": false,
1357
- "type": "option"
1358
- },
1359
- "code": {
1360
- "char": "c",
1361
- "description": "Authorization code for code-paste OAuth providers (e.g., Anthropic). Not applicable to browser-callback providers like OpenAI — use --oauth without --code instead.",
1362
- "hidden": true,
1363
- "name": "code",
1364
- "hasDynamicHelp": false,
1365
- "multiple": false,
1366
- "type": "option"
1367
- },
1368
1345
  "format": {
1369
1346
  "description": "Output format (text or json)",
1370
1347
  "name": "format",
@@ -1376,25 +1353,11 @@
1376
1353
  "json"
1377
1354
  ],
1378
1355
  "type": "option"
1379
- },
1380
- "model": {
1381
- "char": "m",
1382
- "description": "Model to set as active after connecting",
1383
- "name": "model",
1384
- "hasDynamicHelp": false,
1385
- "multiple": false,
1386
- "type": "option"
1387
- },
1388
- "oauth": {
1389
- "description": "Connect via OAuth (browser-based)",
1390
- "name": "oauth",
1391
- "allowNo": false,
1392
- "type": "boolean"
1393
1356
  }
1394
1357
  },
1395
1358
  "hasDynamicHelp": false,
1396
1359
  "hiddenAliases": [],
1397
- "id": "providers:connect",
1360
+ "id": "providers:switch",
1398
1361
  "pluginAlias": "byterover-cli",
1399
1362
  "pluginName": "byterover-cli",
1400
1363
  "pluginType": "core",
@@ -1406,24 +1369,38 @@
1406
1369
  "oclif",
1407
1370
  "commands",
1408
1371
  "providers",
1409
- "connect.js"
1372
+ "switch.js"
1410
1373
  ]
1411
1374
  },
1412
- "providers:disconnect": {
1375
+ "review:approve": {
1413
1376
  "aliases": [],
1414
1377
  "args": {
1415
- "provider": {
1416
- "description": "Provider ID to disconnect",
1417
- "name": "provider",
1378
+ "taskId": {
1379
+ "description": "Task ID shown in the curate output (e.g. \"brv review approve abc-123\")",
1380
+ "name": "taskId",
1418
1381
  "required": true
1419
1382
  }
1420
1383
  },
1421
- "description": "Disconnect an LLM provider",
1384
+ "description": "Approve pending review operations for a curate task",
1422
1385
  "examples": [
1423
- "<%= config.bin %> providers disconnect anthropic",
1424
- "<%= config.bin %> providers disconnect openai --format json"
1386
+ "# Approve all pending changes from a curate task",
1387
+ "<%= config.bin %> review approve abc-123",
1388
+ "",
1389
+ "# Approve specific files",
1390
+ "<%= config.bin %> review approve abc-123 --file architecture/security/audit.md",
1391
+ "<%= config.bin %> review approve abc-123 --file auth/jwt.md --file auth/oauth.md",
1392
+ "",
1393
+ "# Approve and get structured output (useful for coding agents)",
1394
+ "<%= config.bin %> review approve abc-123 --format json"
1425
1395
  ],
1426
1396
  "flags": {
1397
+ "file": {
1398
+ "description": "Approve only the specified file path(s) (relative to context tree)",
1399
+ "name": "file",
1400
+ "hasDynamicHelp": false,
1401
+ "multiple": true,
1402
+ "type": "option"
1403
+ },
1427
1404
  "format": {
1428
1405
  "description": "Output format (text or json)",
1429
1406
  "name": "format",
@@ -1439,7 +1416,7 @@
1439
1416
  },
1440
1417
  "hasDynamicHelp": false,
1441
1418
  "hiddenAliases": [],
1442
- "id": "providers:disconnect",
1419
+ "id": "review:approve",
1443
1420
  "pluginAlias": "byterover-cli",
1444
1421
  "pluginName": "byterover-cli",
1445
1422
  "pluginType": "core",
@@ -1450,19 +1427,25 @@
1450
1427
  "dist",
1451
1428
  "oclif",
1452
1429
  "commands",
1453
- "providers",
1454
- "disconnect.js"
1430
+ "review",
1431
+ "approve.js"
1455
1432
  ]
1456
1433
  },
1457
- "providers": {
1434
+ "review:base-review-decision": {
1458
1435
  "aliases": [],
1459
- "args": {},
1460
- "description": "Show active provider and model",
1461
- "examples": [
1462
- "<%= config.bin %> providers",
1463
- "<%= config.bin %> providers --format json"
1464
- ],
1436
+ "args": {
1437
+ "taskId": {
1438
+ "name": "taskId",
1439
+ "required": true
1440
+ }
1441
+ },
1465
1442
  "flags": {
1443
+ "file": {
1444
+ "name": "file",
1445
+ "hasDynamicHelp": false,
1446
+ "multiple": true,
1447
+ "type": "option"
1448
+ },
1466
1449
  "format": {
1467
1450
  "description": "Output format (text or json)",
1468
1451
  "name": "format",
@@ -1478,7 +1461,7 @@
1478
1461
  },
1479
1462
  "hasDynamicHelp": false,
1480
1463
  "hiddenAliases": [],
1481
- "id": "providers",
1464
+ "id": "review:base-review-decision",
1482
1465
  "pluginAlias": "byterover-cli",
1483
1466
  "pluginName": "byterover-cli",
1484
1467
  "pluginType": "core",
@@ -1489,17 +1472,20 @@
1489
1472
  "dist",
1490
1473
  "oclif",
1491
1474
  "commands",
1492
- "providers",
1493
- "index.js"
1475
+ "review",
1476
+ "base-review-decision.js"
1494
1477
  ]
1495
1478
  },
1496
- "providers:list": {
1479
+ "review:pending": {
1497
1480
  "aliases": [],
1498
1481
  "args": {},
1499
- "description": "List all available providers and their connection status",
1482
+ "description": "List all pending review operations for the current project",
1500
1483
  "examples": [
1501
- "<%= config.bin %> providers list",
1502
- "<%= config.bin %> providers list --format json"
1484
+ "# Show all pending reviews",
1485
+ "<%= config.bin %> review pending",
1486
+ "",
1487
+ "# Get structured output for agent-driven workflows",
1488
+ "<%= config.bin %> review pending --format json"
1503
1489
  ],
1504
1490
  "flags": {
1505
1491
  "format": {
@@ -1517,7 +1503,7 @@
1517
1503
  },
1518
1504
  "hasDynamicHelp": false,
1519
1505
  "hiddenAliases": [],
1520
- "id": "providers:list",
1506
+ "id": "review:pending",
1521
1507
  "pluginAlias": "byterover-cli",
1522
1508
  "pluginName": "byterover-cli",
1523
1509
  "pluginType": "core",
@@ -1528,25 +1514,39 @@
1528
1514
  "dist",
1529
1515
  "oclif",
1530
1516
  "commands",
1531
- "providers",
1532
- "list.js"
1517
+ "review",
1518
+ "pending.js"
1533
1519
  ]
1534
1520
  },
1535
- "providers:switch": {
1521
+ "review:reject": {
1536
1522
  "aliases": [],
1537
1523
  "args": {
1538
- "provider": {
1539
- "description": "Provider ID to switch to (e.g., anthropic, openai)",
1540
- "name": "provider",
1524
+ "taskId": {
1525
+ "description": "Task ID shown in the curate output (e.g. \"brv review reject abc-123\")",
1526
+ "name": "taskId",
1541
1527
  "required": true
1542
1528
  }
1543
1529
  },
1544
- "description": "Switch the active provider",
1530
+ "description": "Reject pending review operations for a curate task (restores files from backup)",
1545
1531
  "examples": [
1546
- "<%= config.bin %> providers switch anthropic",
1547
- "<%= config.bin %> providers switch openai --format json"
1532
+ "# Reject all pending changes from a curate task",
1533
+ "<%= config.bin %> review reject abc-123",
1534
+ "",
1535
+ "# Reject specific files",
1536
+ "<%= config.bin %> review reject abc-123 --file architecture/security/audit.md",
1537
+ "<%= config.bin %> review reject abc-123 --file auth/jwt.md --file auth/oauth.md",
1538
+ "",
1539
+ "# Reject and get structured output (useful for coding agents)",
1540
+ "<%= config.bin %> review reject abc-123 --format json"
1548
1541
  ],
1549
1542
  "flags": {
1543
+ "file": {
1544
+ "description": "Reject only the specified file path(s) (relative to context tree)",
1545
+ "name": "file",
1546
+ "hasDynamicHelp": false,
1547
+ "multiple": true,
1548
+ "type": "option"
1549
+ },
1550
1550
  "format": {
1551
1551
  "description": "Output format (text or json)",
1552
1552
  "name": "format",
@@ -1562,7 +1562,7 @@
1562
1562
  },
1563
1563
  "hasDynamicHelp": false,
1564
1564
  "hiddenAliases": [],
1565
- "id": "providers:switch",
1565
+ "id": "review:reject",
1566
1566
  "pluginAlias": "byterover-cli",
1567
1567
  "pluginName": "byterover-cli",
1568
1568
  "pluginType": "core",
@@ -1573,8 +1573,8 @@
1573
1573
  "dist",
1574
1574
  "oclif",
1575
1575
  "commands",
1576
- "providers",
1577
- "switch.js"
1576
+ "review",
1577
+ "reject.js"
1578
1578
  ]
1579
1579
  },
1580
1580
  "space:list": {
@@ -2556,5 +2556,5 @@
2556
2556
  ]
2557
2557
  }
2558
2558
  },
2559
- "version": "3.0.0"
2559
+ "version": "3.0.1"
2560
2560
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "context-memory", "autonomous-agents", "coding-assistant",
7
7
  "knowledge-management"
8
8
  ],
9
- "version": "3.0.0",
9
+ "version": "3.0.1",
10
10
  "author": "ByteRover",
11
11
  "bin": {
12
12
  "brv": "./bin/run.js"