byterover-cli 3.8.2 → 3.8.3

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.
@@ -233,17 +233,20 @@
233
233
  "args": {},
234
234
  "description": "Authenticate with ByteRover for cloud sync features (optional for local usage)",
235
235
  "examples": [
236
+ "# Browser OAuth (default)",
237
+ "<%= config.bin %> <%= command.id %>",
238
+ "",
239
+ "# API key (for CI / headless environments)",
236
240
  "<%= config.bin %> <%= command.id %> --api-key <key>",
237
241
  "",
238
242
  "# JSON output (for automation)",
239
- "<%= config.bin %> <%= command.id %> --api-key <key> --format json"
243
+ "<%= config.bin %> <%= command.id %> --format json"
240
244
  ],
241
245
  "flags": {
242
246
  "api-key": {
243
247
  "char": "k",
244
- "description": "API key for authentication (get yours at https://app.byterover.dev/settings/keys)",
248
+ "description": "API key for headless/CI login (get yours at https://app.byterover.dev/settings/keys). Omit to use the browser OAuth flow.",
245
249
  "name": "api-key",
246
- "required": true,
247
250
  "hasDynamicHelp": false,
248
251
  "multiple": false,
249
252
  "type": "option"
@@ -1190,106 +1193,13 @@
1190
1193
  "list.js"
1191
1194
  ]
1192
1195
  },
1193
- "providers:connect": {
1194
- "aliases": [],
1195
- "args": {
1196
- "provider": {
1197
- "description": "Provider ID to connect (e.g., anthropic, openai, openrouter). Omit for interactive selection.",
1198
- "name": "provider",
1199
- "required": false
1200
- }
1201
- },
1202
- "description": "Connect or switch to an LLM provider",
1203
- "examples": [
1204
- "<%= config.bin %> providers connect",
1205
- "<%= config.bin %> providers connect anthropic --api-key sk-xxx",
1206
- "<%= config.bin %> providers connect openai --oauth",
1207
- "<%= config.bin %> providers connect byterover",
1208
- "<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1 --api-key sk-xxx"
1209
- ],
1210
- "flags": {
1211
- "api-key": {
1212
- "char": "k",
1213
- "description": "API key for the provider",
1214
- "name": "api-key",
1215
- "hasDynamicHelp": false,
1216
- "multiple": false,
1217
- "type": "option"
1218
- },
1219
- "base-url": {
1220
- "char": "b",
1221
- "description": "Base URL for OpenAI-compatible providers (e.g., http://localhost:11434/v1)",
1222
- "name": "base-url",
1223
- "hasDynamicHelp": false,
1224
- "multiple": false,
1225
- "type": "option"
1226
- },
1227
- "code": {
1228
- "char": "c",
1229
- "description": "Authorization code for code-paste OAuth providers (e.g., Anthropic). Not applicable to browser-callback providers like OpenAI — use --oauth without --code instead.",
1230
- "hidden": true,
1231
- "name": "code",
1232
- "hasDynamicHelp": false,
1233
- "multiple": false,
1234
- "type": "option"
1235
- },
1236
- "format": {
1237
- "description": "Output format (text or json)",
1238
- "name": "format",
1239
- "default": "text",
1240
- "hasDynamicHelp": false,
1241
- "multiple": false,
1242
- "options": [
1243
- "text",
1244
- "json"
1245
- ],
1246
- "type": "option"
1247
- },
1248
- "model": {
1249
- "char": "m",
1250
- "description": "Model to set as active after connecting",
1251
- "name": "model",
1252
- "hasDynamicHelp": false,
1253
- "multiple": false,
1254
- "type": "option"
1255
- },
1256
- "oauth": {
1257
- "description": "Connect via OAuth (browser-based)",
1258
- "name": "oauth",
1259
- "allowNo": false,
1260
- "type": "boolean"
1261
- }
1262
- },
1263
- "hasDynamicHelp": false,
1264
- "hiddenAliases": [],
1265
- "id": "providers:connect",
1266
- "pluginAlias": "byterover-cli",
1267
- "pluginName": "byterover-cli",
1268
- "pluginType": "core",
1269
- "strict": true,
1270
- "enableJsonFlag": false,
1271
- "isESM": true,
1272
- "relativePath": [
1273
- "dist",
1274
- "oclif",
1275
- "commands",
1276
- "providers",
1277
- "connect.js"
1278
- ]
1279
- },
1280
- "providers:disconnect": {
1196
+ "model": {
1281
1197
  "aliases": [],
1282
- "args": {
1283
- "provider": {
1284
- "description": "Provider ID to disconnect",
1285
- "name": "provider",
1286
- "required": true
1287
- }
1288
- },
1289
- "description": "Disconnect an LLM provider",
1198
+ "args": {},
1199
+ "description": "Show the active model",
1290
1200
  "examples": [
1291
- "<%= config.bin %> providers disconnect anthropic",
1292
- "<%= config.bin %> providers disconnect openai --format json"
1201
+ "<%= config.bin %> model",
1202
+ "<%= config.bin %> model --format json"
1293
1203
  ],
1294
1204
  "flags": {
1295
1205
  "format": {
@@ -1307,7 +1217,7 @@
1307
1217
  },
1308
1218
  "hasDynamicHelp": false,
1309
1219
  "hiddenAliases": [],
1310
- "id": "providers:disconnect",
1220
+ "id": "model",
1311
1221
  "pluginAlias": "byterover-cli",
1312
1222
  "pluginName": "byterover-cli",
1313
1223
  "pluginType": "core",
@@ -1318,17 +1228,17 @@
1318
1228
  "dist",
1319
1229
  "oclif",
1320
1230
  "commands",
1321
- "providers",
1322
- "disconnect.js"
1231
+ "model",
1232
+ "index.js"
1323
1233
  ]
1324
1234
  },
1325
- "providers": {
1235
+ "model:list": {
1326
1236
  "aliases": [],
1327
1237
  "args": {},
1328
- "description": "Show active provider and model",
1238
+ "description": "List available models from all connected providers",
1329
1239
  "examples": [
1330
- "<%= config.bin %> providers",
1331
- "<%= config.bin %> providers --format json"
1240
+ "<%= config.bin %> model list",
1241
+ "<%= config.bin %> model list --format json"
1332
1242
  ],
1333
1243
  "flags": {
1334
1244
  "format": {
@@ -1342,50 +1252,19 @@
1342
1252
  "json"
1343
1253
  ],
1344
1254
  "type": "option"
1345
- }
1346
- },
1347
- "hasDynamicHelp": false,
1348
- "hiddenAliases": [],
1349
- "id": "providers",
1350
- "pluginAlias": "byterover-cli",
1351
- "pluginName": "byterover-cli",
1352
- "pluginType": "core",
1353
- "strict": true,
1354
- "enableJsonFlag": false,
1355
- "isESM": true,
1356
- "relativePath": [
1357
- "dist",
1358
- "oclif",
1359
- "commands",
1360
- "providers",
1361
- "index.js"
1362
- ]
1363
- },
1364
- "providers:list": {
1365
- "aliases": [],
1366
- "args": {},
1367
- "description": "List all available providers and their connection status",
1368
- "examples": [
1369
- "<%= config.bin %> providers list",
1370
- "<%= config.bin %> providers list --format json"
1371
- ],
1372
- "flags": {
1373
- "format": {
1374
- "description": "Output format (text or json)",
1375
- "name": "format",
1376
- "default": "text",
1255
+ },
1256
+ "provider": {
1257
+ "char": "p",
1258
+ "description": "Only list models for a specific provider",
1259
+ "name": "provider",
1377
1260
  "hasDynamicHelp": false,
1378
1261
  "multiple": false,
1379
- "options": [
1380
- "text",
1381
- "json"
1382
- ],
1383
1262
  "type": "option"
1384
1263
  }
1385
1264
  },
1386
1265
  "hasDynamicHelp": false,
1387
1266
  "hiddenAliases": [],
1388
- "id": "providers:list",
1267
+ "id": "model:list",
1389
1268
  "pluginAlias": "byterover-cli",
1390
1269
  "pluginName": "byterover-cli",
1391
1270
  "pluginType": "core",
@@ -1396,23 +1275,24 @@
1396
1275
  "dist",
1397
1276
  "oclif",
1398
1277
  "commands",
1399
- "providers",
1278
+ "model",
1400
1279
  "list.js"
1401
1280
  ]
1402
1281
  },
1403
- "providers:switch": {
1282
+ "model:switch": {
1404
1283
  "aliases": [],
1405
1284
  "args": {
1406
- "provider": {
1407
- "description": "Provider ID to switch to (e.g., anthropic, openai)",
1408
- "name": "provider",
1285
+ "model": {
1286
+ "description": "Model ID to switch to (e.g., claude-sonnet-4-5, gpt-4.1)",
1287
+ "name": "model",
1409
1288
  "required": true
1410
1289
  }
1411
1290
  },
1412
- "description": "Switch the active provider",
1291
+ "description": "Switch the active model",
1413
1292
  "examples": [
1414
- "<%= config.bin %> providers switch anthropic",
1415
- "<%= config.bin %> providers switch openai --format json"
1293
+ "<%= config.bin %> model switch claude-sonnet-4-5",
1294
+ "<%= config.bin %> model switch gpt-4.1 --provider openai",
1295
+ "<%= config.bin %> model switch claude-sonnet-4-5 --format json"
1416
1296
  ],
1417
1297
  "flags": {
1418
1298
  "format": {
@@ -1426,11 +1306,19 @@
1426
1306
  "json"
1427
1307
  ],
1428
1308
  "type": "option"
1309
+ },
1310
+ "provider": {
1311
+ "char": "p",
1312
+ "description": "Provider ID (defaults to active provider)",
1313
+ "name": "provider",
1314
+ "hasDynamicHelp": false,
1315
+ "multiple": false,
1316
+ "type": "option"
1429
1317
  }
1430
1318
  },
1431
1319
  "hasDynamicHelp": false,
1432
1320
  "hiddenAliases": [],
1433
- "id": "providers:switch",
1321
+ "id": "model:switch",
1434
1322
  "pluginAlias": "byterover-cli",
1435
1323
  "pluginName": "byterover-cli",
1436
1324
  "pluginType": "core",
@@ -1441,7 +1329,7 @@
1441
1329
  "dist",
1442
1330
  "oclif",
1443
1331
  "commands",
1444
- "providers",
1332
+ "model",
1445
1333
  "switch.js"
1446
1334
  ]
1447
1335
  },
@@ -1620,15 +1508,49 @@
1620
1508
  "view.js"
1621
1509
  ]
1622
1510
  },
1623
- "model": {
1511
+ "providers:connect": {
1624
1512
  "aliases": [],
1625
- "args": {},
1626
- "description": "Show the active model",
1513
+ "args": {
1514
+ "provider": {
1515
+ "description": "Provider ID to connect (e.g., anthropic, openai, openrouter). Omit for interactive selection.",
1516
+ "name": "provider",
1517
+ "required": false
1518
+ }
1519
+ },
1520
+ "description": "Connect or switch to an LLM provider",
1627
1521
  "examples": [
1628
- "<%= config.bin %> model",
1629
- "<%= config.bin %> model --format json"
1522
+ "<%= config.bin %> providers connect",
1523
+ "<%= config.bin %> providers connect anthropic --api-key sk-xxx",
1524
+ "<%= config.bin %> providers connect openai --oauth",
1525
+ "<%= config.bin %> providers connect byterover",
1526
+ "<%= config.bin %> providers connect openai-compatible --base-url http://localhost:11434/v1 --api-key sk-xxx"
1630
1527
  ],
1631
1528
  "flags": {
1529
+ "api-key": {
1530
+ "char": "k",
1531
+ "description": "API key for the provider",
1532
+ "name": "api-key",
1533
+ "hasDynamicHelp": false,
1534
+ "multiple": false,
1535
+ "type": "option"
1536
+ },
1537
+ "base-url": {
1538
+ "char": "b",
1539
+ "description": "Base URL for OpenAI-compatible providers (e.g., http://localhost:11434/v1)",
1540
+ "name": "base-url",
1541
+ "hasDynamicHelp": false,
1542
+ "multiple": false,
1543
+ "type": "option"
1544
+ },
1545
+ "code": {
1546
+ "char": "c",
1547
+ "description": "Authorization code for code-paste OAuth providers (e.g., Anthropic). Not applicable to browser-callback providers like OpenAI — use --oauth without --code instead.",
1548
+ "hidden": true,
1549
+ "name": "code",
1550
+ "hasDynamicHelp": false,
1551
+ "multiple": false,
1552
+ "type": "option"
1553
+ },
1632
1554
  "format": {
1633
1555
  "description": "Output format (text or json)",
1634
1556
  "name": "format",
@@ -1640,11 +1562,25 @@
1640
1562
  "json"
1641
1563
  ],
1642
1564
  "type": "option"
1565
+ },
1566
+ "model": {
1567
+ "char": "m",
1568
+ "description": "Model to set as active after connecting",
1569
+ "name": "model",
1570
+ "hasDynamicHelp": false,
1571
+ "multiple": false,
1572
+ "type": "option"
1573
+ },
1574
+ "oauth": {
1575
+ "description": "Connect via OAuth (browser-based)",
1576
+ "name": "oauth",
1577
+ "allowNo": false,
1578
+ "type": "boolean"
1643
1579
  }
1644
1580
  },
1645
1581
  "hasDynamicHelp": false,
1646
1582
  "hiddenAliases": [],
1647
- "id": "model",
1583
+ "id": "providers:connect",
1648
1584
  "pluginAlias": "byterover-cli",
1649
1585
  "pluginName": "byterover-cli",
1650
1586
  "pluginType": "core",
@@ -1655,17 +1591,62 @@
1655
1591
  "dist",
1656
1592
  "oclif",
1657
1593
  "commands",
1658
- "model",
1659
- "index.js"
1660
- ]
1594
+ "providers",
1595
+ "connect.js"
1596
+ ]
1661
1597
  },
1662
- "model:list": {
1598
+ "providers:disconnect": {
1599
+ "aliases": [],
1600
+ "args": {
1601
+ "provider": {
1602
+ "description": "Provider ID to disconnect",
1603
+ "name": "provider",
1604
+ "required": true
1605
+ }
1606
+ },
1607
+ "description": "Disconnect an LLM provider",
1608
+ "examples": [
1609
+ "<%= config.bin %> providers disconnect anthropic",
1610
+ "<%= config.bin %> providers disconnect openai --format json"
1611
+ ],
1612
+ "flags": {
1613
+ "format": {
1614
+ "description": "Output format (text or json)",
1615
+ "name": "format",
1616
+ "default": "text",
1617
+ "hasDynamicHelp": false,
1618
+ "multiple": false,
1619
+ "options": [
1620
+ "text",
1621
+ "json"
1622
+ ],
1623
+ "type": "option"
1624
+ }
1625
+ },
1626
+ "hasDynamicHelp": false,
1627
+ "hiddenAliases": [],
1628
+ "id": "providers:disconnect",
1629
+ "pluginAlias": "byterover-cli",
1630
+ "pluginName": "byterover-cli",
1631
+ "pluginType": "core",
1632
+ "strict": true,
1633
+ "enableJsonFlag": false,
1634
+ "isESM": true,
1635
+ "relativePath": [
1636
+ "dist",
1637
+ "oclif",
1638
+ "commands",
1639
+ "providers",
1640
+ "disconnect.js"
1641
+ ]
1642
+ },
1643
+ "providers": {
1663
1644
  "aliases": [],
1664
1645
  "args": {},
1665
- "description": "List available models from all connected providers",
1646
+ "description": "Show active provider and model",
1666
1647
  "examples": [
1667
- "<%= config.bin %> model list",
1668
- "<%= config.bin %> model list --format json"
1648
+ "<%= config.bin %> providers",
1649
+ "<%= config.bin %> providers --format json"
1669
1650
  ],
1670
1651
  "flags": {
1671
1652
  "format": {
@@ -1679,19 +1660,50 @@
1679
1660
  "json"
1680
1661
  ],
1681
1662
  "type": "option"
1682
- },
1683
- "provider": {
1684
- "char": "p",
1685
- "description": "Only list models for a specific provider",
1686
- "name": "provider",
1663
+ }
1664
+ },
1665
+ "hasDynamicHelp": false,
1666
+ "hiddenAliases": [],
1667
+ "id": "providers",
1668
+ "pluginAlias": "byterover-cli",
1669
+ "pluginName": "byterover-cli",
1670
+ "pluginType": "core",
1671
+ "strict": true,
1672
+ "enableJsonFlag": false,
1673
+ "isESM": true,
1674
+ "relativePath": [
1675
+ "dist",
1676
+ "oclif",
1677
+ "commands",
1678
+ "providers",
1679
+ "index.js"
1680
+ ]
1681
+ },
1682
+ "providers:list": {
1683
+ "aliases": [],
1684
+ "args": {},
1685
+ "description": "List all available providers and their connection status",
1686
+ "examples": [
1687
+ "<%= config.bin %> providers list",
1688
+ "<%= config.bin %> providers list --format json"
1689
+ ],
1690
+ "flags": {
1691
+ "format": {
1692
+ "description": "Output format (text or json)",
1693
+ "name": "format",
1694
+ "default": "text",
1687
1695
  "hasDynamicHelp": false,
1688
1696
  "multiple": false,
1697
+ "options": [
1698
+ "text",
1699
+ "json"
1700
+ ],
1689
1701
  "type": "option"
1690
1702
  }
1691
1703
  },
1692
1704
  "hasDynamicHelp": false,
1693
1705
  "hiddenAliases": [],
1694
- "id": "model:list",
1706
+ "id": "providers:list",
1695
1707
  "pluginAlias": "byterover-cli",
1696
1708
  "pluginName": "byterover-cli",
1697
1709
  "pluginType": "core",
@@ -1702,24 +1714,23 @@
1702
1714
  "dist",
1703
1715
  "oclif",
1704
1716
  "commands",
1705
- "model",
1717
+ "providers",
1706
1718
  "list.js"
1707
1719
  ]
1708
1720
  },
1709
- "model:switch": {
1721
+ "providers:switch": {
1710
1722
  "aliases": [],
1711
1723
  "args": {
1712
- "model": {
1713
- "description": "Model ID to switch to (e.g., claude-sonnet-4-5, gpt-4.1)",
1714
- "name": "model",
1724
+ "provider": {
1725
+ "description": "Provider ID to switch to (e.g., anthropic, openai)",
1726
+ "name": "provider",
1715
1727
  "required": true
1716
1728
  }
1717
1729
  },
1718
- "description": "Switch the active model",
1730
+ "description": "Switch the active provider",
1719
1731
  "examples": [
1720
- "<%= config.bin %> model switch claude-sonnet-4-5",
1721
- "<%= config.bin %> model switch gpt-4.1 --provider openai",
1722
- "<%= config.bin %> model switch claude-sonnet-4-5 --format json"
1732
+ "<%= config.bin %> providers switch anthropic",
1733
+ "<%= config.bin %> providers switch openai --format json"
1723
1734
  ],
1724
1735
  "flags": {
1725
1736
  "format": {
@@ -1733,19 +1744,11 @@
1733
1744
  "json"
1734
1745
  ],
1735
1746
  "type": "option"
1736
- },
1737
- "provider": {
1738
- "char": "p",
1739
- "description": "Provider ID (defaults to active provider)",
1740
- "name": "provider",
1741
- "hasDynamicHelp": false,
1742
- "multiple": false,
1743
- "type": "option"
1744
1747
  }
1745
1748
  },
1746
1749
  "hasDynamicHelp": false,
1747
1750
  "hiddenAliases": [],
1748
- "id": "model:switch",
1751
+ "id": "providers:switch",
1749
1752
  "pluginAlias": "byterover-cli",
1750
1753
  "pluginName": "byterover-cli",
1751
1754
  "pluginType": "core",
@@ -1756,7 +1759,7 @@
1756
1759
  "dist",
1757
1760
  "oclif",
1758
1761
  "commands",
1759
- "model",
1762
+ "providers",
1760
1763
  "switch.js"
1761
1764
  ]
1762
1765
  },
@@ -1965,129 +1968,6 @@
1965
1968
  "reject.js"
1966
1969
  ]
1967
1970
  },
1968
- "source:add": {
1969
- "aliases": [],
1970
- "args": {
1971
- "path": {
1972
- "description": "Path to the target project containing .brv/",
1973
- "name": "path",
1974
- "required": true
1975
- }
1976
- },
1977
- "description": "Add a read-only knowledge source from another project's context tree",
1978
- "examples": [
1979
- "<%= config.bin %> <%= command.id %> /path/to/shared-lib",
1980
- "<%= config.bin %> <%= command.id %> /path/to/shared-lib --alias shared"
1981
- ],
1982
- "flags": {
1983
- "alias": {
1984
- "description": "Custom alias for the source (defaults to directory name)",
1985
- "name": "alias",
1986
- "required": false,
1987
- "hasDynamicHelp": false,
1988
- "multiple": false,
1989
- "type": "option"
1990
- }
1991
- },
1992
- "hasDynamicHelp": false,
1993
- "hiddenAliases": [],
1994
- "id": "source:add",
1995
- "pluginAlias": "byterover-cli",
1996
- "pluginName": "byterover-cli",
1997
- "pluginType": "core",
1998
- "strict": true,
1999
- "enableJsonFlag": false,
2000
- "isESM": true,
2001
- "relativePath": [
2002
- "dist",
2003
- "oclif",
2004
- "commands",
2005
- "source",
2006
- "add.js"
2007
- ]
2008
- },
2009
- "source": {
2010
- "aliases": [],
2011
- "args": {},
2012
- "description": "Manage knowledge sources (read-only references to other projects)",
2013
- "examples": [
2014
- "<%= config.bin %> <%= command.id %> --help"
2015
- ],
2016
- "flags": {},
2017
- "hasDynamicHelp": false,
2018
- "hiddenAliases": [],
2019
- "id": "source",
2020
- "pluginAlias": "byterover-cli",
2021
- "pluginName": "byterover-cli",
2022
- "pluginType": "core",
2023
- "strict": true,
2024
- "enableJsonFlag": false,
2025
- "isESM": true,
2026
- "relativePath": [
2027
- "dist",
2028
- "oclif",
2029
- "commands",
2030
- "source",
2031
- "index.js"
2032
- ]
2033
- },
2034
- "source:list": {
2035
- "aliases": [],
2036
- "args": {},
2037
- "description": "List all knowledge sources and their status",
2038
- "examples": [
2039
- "<%= config.bin %> <%= command.id %>"
2040
- ],
2041
- "flags": {},
2042
- "hasDynamicHelp": false,
2043
- "hiddenAliases": [],
2044
- "id": "source:list",
2045
- "pluginAlias": "byterover-cli",
2046
- "pluginName": "byterover-cli",
2047
- "pluginType": "core",
2048
- "strict": true,
2049
- "enableJsonFlag": false,
2050
- "isESM": true,
2051
- "relativePath": [
2052
- "dist",
2053
- "oclif",
2054
- "commands",
2055
- "source",
2056
- "list.js"
2057
- ]
2058
- },
2059
- "source:remove": {
2060
- "aliases": [],
2061
- "args": {
2062
- "aliasOrPath": {
2063
- "description": "Alias or path of the knowledge source to remove",
2064
- "name": "aliasOrPath",
2065
- "required": true
2066
- }
2067
- },
2068
- "description": "Remove a knowledge source",
2069
- "examples": [
2070
- "<%= config.bin %> <%= command.id %> shared-lib",
2071
- "<%= config.bin %> <%= command.id %> /path/to/shared-lib"
2072
- ],
2073
- "flags": {},
2074
- "hasDynamicHelp": false,
2075
- "hiddenAliases": [],
2076
- "id": "source:remove",
2077
- "pluginAlias": "byterover-cli",
2078
- "pluginName": "byterover-cli",
2079
- "pluginType": "core",
2080
- "strict": true,
2081
- "enableJsonFlag": false,
2082
- "isESM": true,
2083
- "relativePath": [
2084
- "dist",
2085
- "oclif",
2086
- "commands",
2087
- "source",
2088
- "remove.js"
2089
- ]
2090
- },
2091
1971
  "space:list": {
2092
1972
  "aliases": [],
2093
1973
  "args": {},
@@ -2166,187 +2046,7 @@
2166
2046
  "switch.js"
2167
2047
  ]
2168
2048
  },
2169
- "swarm:curate": {
2170
- "aliases": [],
2171
- "args": {
2172
- "content": {
2173
- "description": "Knowledge content to store in a swarm provider",
2174
- "name": "content",
2175
- "required": true
2176
- }
2177
- },
2178
- "description": "Store knowledge in a swarm provider (GBrain, local markdown)",
2179
- "examples": [
2180
- "<%= config.bin %> swarm curate \"Dario Amodei is CEO of Anthropic\"",
2181
- "<%= config.bin %> swarm curate \"meeting notes: decided on JWT\" --provider local-markdown:notes",
2182
- "<%= config.bin %> swarm curate \"Architecture uses event sourcing\" --provider gbrain"
2183
- ],
2184
- "flags": {
2185
- "format": {
2186
- "char": "f",
2187
- "description": "Output format",
2188
- "name": "format",
2189
- "default": "text",
2190
- "hasDynamicHelp": false,
2191
- "multiple": false,
2192
- "options": [
2193
- "text",
2194
- "json"
2195
- ],
2196
- "type": "option"
2197
- },
2198
- "provider": {
2199
- "char": "p",
2200
- "description": "Target provider ID (e.g., gbrain, local-markdown:notes)",
2201
- "name": "provider",
2202
- "hasDynamicHelp": false,
2203
- "multiple": false,
2204
- "type": "option"
2205
- }
2206
- },
2207
- "hasDynamicHelp": false,
2208
- "hiddenAliases": [],
2209
- "id": "swarm:curate",
2210
- "pluginAlias": "byterover-cli",
2211
- "pluginName": "byterover-cli",
2212
- "pluginType": "core",
2213
- "strict": true,
2214
- "enableJsonFlag": false,
2215
- "isESM": true,
2216
- "relativePath": [
2217
- "dist",
2218
- "oclif",
2219
- "commands",
2220
- "swarm",
2221
- "curate.js"
2222
- ]
2223
- },
2224
- "swarm:onboard": {
2225
- "aliases": [],
2226
- "args": {},
2227
- "description": "Set up memory swarm with interactive onboarding wizard",
2228
- "examples": [
2229
- "<%= config.bin %> swarm onboard"
2230
- ],
2231
- "flags": {},
2232
- "hasDynamicHelp": false,
2233
- "hiddenAliases": [],
2234
- "id": "swarm:onboard",
2235
- "pluginAlias": "byterover-cli",
2236
- "pluginName": "byterover-cli",
2237
- "pluginType": "core",
2238
- "strict": true,
2239
- "enableJsonFlag": false,
2240
- "isESM": true,
2241
- "relativePath": [
2242
- "dist",
2243
- "oclif",
2244
- "commands",
2245
- "swarm",
2246
- "onboard.js"
2247
- ]
2248
- },
2249
- "swarm:query": {
2250
- "aliases": [],
2251
- "args": {
2252
- "query": {
2253
- "description": "Natural language query to search across memory providers",
2254
- "name": "query",
2255
- "required": true
2256
- }
2257
- },
2258
- "description": "Query the memory swarm across all active providers",
2259
- "examples": [
2260
- "<%= config.bin %> swarm query \"auth tokens\"",
2261
- "<%= config.bin %> swarm query \"what changed yesterday\" --format json"
2262
- ],
2263
- "flags": {
2264
- "explain": {
2265
- "description": "Show classification, routing, and enrichment details (ignored with --format json, which always includes all metadata)",
2266
- "name": "explain",
2267
- "allowNo": false,
2268
- "type": "boolean"
2269
- },
2270
- "format": {
2271
- "char": "f",
2272
- "description": "Output format",
2273
- "name": "format",
2274
- "default": "text",
2275
- "hasDynamicHelp": false,
2276
- "multiple": false,
2277
- "options": [
2278
- "text",
2279
- "json"
2280
- ],
2281
- "type": "option"
2282
- },
2283
- "max-results": {
2284
- "char": "n",
2285
- "description": "Maximum number of results",
2286
- "name": "max-results",
2287
- "hasDynamicHelp": false,
2288
- "multiple": false,
2289
- "type": "option"
2290
- }
2291
- },
2292
- "hasDynamicHelp": false,
2293
- "hiddenAliases": [],
2294
- "id": "swarm:query",
2295
- "pluginAlias": "byterover-cli",
2296
- "pluginName": "byterover-cli",
2297
- "pluginType": "core",
2298
- "strict": true,
2299
- "enableJsonFlag": false,
2300
- "isESM": true,
2301
- "relativePath": [
2302
- "dist",
2303
- "oclif",
2304
- "commands",
2305
- "swarm",
2306
- "query.js"
2307
- ]
2308
- },
2309
- "swarm:status": {
2310
- "aliases": [],
2311
- "args": {},
2312
- "description": "Show memory swarm provider health and connection status",
2313
- "examples": [
2314
- "<%= config.bin %> swarm status",
2315
- "<%= config.bin %> swarm status --format json"
2316
- ],
2317
- "flags": {
2318
- "format": {
2319
- "char": "f",
2320
- "description": "Output format",
2321
- "name": "format",
2322
- "default": "text",
2323
- "hasDynamicHelp": false,
2324
- "multiple": false,
2325
- "options": [
2326
- "text",
2327
- "json"
2328
- ],
2329
- "type": "option"
2330
- }
2331
- },
2332
- "hasDynamicHelp": false,
2333
- "hiddenAliases": [],
2334
- "id": "swarm:status",
2335
- "pluginAlias": "byterover-cli",
2336
- "pluginName": "byterover-cli",
2337
- "pluginType": "core",
2338
- "strict": true,
2339
- "enableJsonFlag": false,
2340
- "isESM": true,
2341
- "relativePath": [
2342
- "dist",
2343
- "oclif",
2344
- "commands",
2345
- "swarm",
2346
- "status.js"
2347
- ]
2348
- },
2349
- "vc:add": {
2049
+ "vc:add": {
2350
2050
  "aliases": [],
2351
2051
  "args": {},
2352
2052
  "description": "Stage files for the next commit",
@@ -2948,6 +2648,309 @@
2948
2648
  "status.js"
2949
2649
  ]
2950
2650
  },
2651
+ "source:add": {
2652
+ "aliases": [],
2653
+ "args": {
2654
+ "path": {
2655
+ "description": "Path to the target project containing .brv/",
2656
+ "name": "path",
2657
+ "required": true
2658
+ }
2659
+ },
2660
+ "description": "Add a read-only knowledge source from another project's context tree",
2661
+ "examples": [
2662
+ "<%= config.bin %> <%= command.id %> /path/to/shared-lib",
2663
+ "<%= config.bin %> <%= command.id %> /path/to/shared-lib --alias shared"
2664
+ ],
2665
+ "flags": {
2666
+ "alias": {
2667
+ "description": "Custom alias for the source (defaults to directory name)",
2668
+ "name": "alias",
2669
+ "required": false,
2670
+ "hasDynamicHelp": false,
2671
+ "multiple": false,
2672
+ "type": "option"
2673
+ }
2674
+ },
2675
+ "hasDynamicHelp": false,
2676
+ "hiddenAliases": [],
2677
+ "id": "source:add",
2678
+ "pluginAlias": "byterover-cli",
2679
+ "pluginName": "byterover-cli",
2680
+ "pluginType": "core",
2681
+ "strict": true,
2682
+ "enableJsonFlag": false,
2683
+ "isESM": true,
2684
+ "relativePath": [
2685
+ "dist",
2686
+ "oclif",
2687
+ "commands",
2688
+ "source",
2689
+ "add.js"
2690
+ ]
2691
+ },
2692
+ "source": {
2693
+ "aliases": [],
2694
+ "args": {},
2695
+ "description": "Manage knowledge sources (read-only references to other projects)",
2696
+ "examples": [
2697
+ "<%= config.bin %> <%= command.id %> --help"
2698
+ ],
2699
+ "flags": {},
2700
+ "hasDynamicHelp": false,
2701
+ "hiddenAliases": [],
2702
+ "id": "source",
2703
+ "pluginAlias": "byterover-cli",
2704
+ "pluginName": "byterover-cli",
2705
+ "pluginType": "core",
2706
+ "strict": true,
2707
+ "enableJsonFlag": false,
2708
+ "isESM": true,
2709
+ "relativePath": [
2710
+ "dist",
2711
+ "oclif",
2712
+ "commands",
2713
+ "source",
2714
+ "index.js"
2715
+ ]
2716
+ },
2717
+ "source:list": {
2718
+ "aliases": [],
2719
+ "args": {},
2720
+ "description": "List all knowledge sources and their status",
2721
+ "examples": [
2722
+ "<%= config.bin %> <%= command.id %>"
2723
+ ],
2724
+ "flags": {},
2725
+ "hasDynamicHelp": false,
2726
+ "hiddenAliases": [],
2727
+ "id": "source:list",
2728
+ "pluginAlias": "byterover-cli",
2729
+ "pluginName": "byterover-cli",
2730
+ "pluginType": "core",
2731
+ "strict": true,
2732
+ "enableJsonFlag": false,
2733
+ "isESM": true,
2734
+ "relativePath": [
2735
+ "dist",
2736
+ "oclif",
2737
+ "commands",
2738
+ "source",
2739
+ "list.js"
2740
+ ]
2741
+ },
2742
+ "source:remove": {
2743
+ "aliases": [],
2744
+ "args": {
2745
+ "aliasOrPath": {
2746
+ "description": "Alias or path of the knowledge source to remove",
2747
+ "name": "aliasOrPath",
2748
+ "required": true
2749
+ }
2750
+ },
2751
+ "description": "Remove a knowledge source",
2752
+ "examples": [
2753
+ "<%= config.bin %> <%= command.id %> shared-lib",
2754
+ "<%= config.bin %> <%= command.id %> /path/to/shared-lib"
2755
+ ],
2756
+ "flags": {},
2757
+ "hasDynamicHelp": false,
2758
+ "hiddenAliases": [],
2759
+ "id": "source:remove",
2760
+ "pluginAlias": "byterover-cli",
2761
+ "pluginName": "byterover-cli",
2762
+ "pluginType": "core",
2763
+ "strict": true,
2764
+ "enableJsonFlag": false,
2765
+ "isESM": true,
2766
+ "relativePath": [
2767
+ "dist",
2768
+ "oclif",
2769
+ "commands",
2770
+ "source",
2771
+ "remove.js"
2772
+ ]
2773
+ },
2774
+ "swarm:curate": {
2775
+ "aliases": [],
2776
+ "args": {
2777
+ "content": {
2778
+ "description": "Knowledge content to store in a swarm provider",
2779
+ "name": "content",
2780
+ "required": true
2781
+ }
2782
+ },
2783
+ "description": "Store knowledge in a swarm provider (GBrain, local markdown)",
2784
+ "examples": [
2785
+ "<%= config.bin %> swarm curate \"Dario Amodei is CEO of Anthropic\"",
2786
+ "<%= config.bin %> swarm curate \"meeting notes: decided on JWT\" --provider local-markdown:notes",
2787
+ "<%= config.bin %> swarm curate \"Architecture uses event sourcing\" --provider gbrain"
2788
+ ],
2789
+ "flags": {
2790
+ "format": {
2791
+ "char": "f",
2792
+ "description": "Output format",
2793
+ "name": "format",
2794
+ "default": "text",
2795
+ "hasDynamicHelp": false,
2796
+ "multiple": false,
2797
+ "options": [
2798
+ "text",
2799
+ "json"
2800
+ ],
2801
+ "type": "option"
2802
+ },
2803
+ "provider": {
2804
+ "char": "p",
2805
+ "description": "Target provider ID (e.g., gbrain, local-markdown:notes)",
2806
+ "name": "provider",
2807
+ "hasDynamicHelp": false,
2808
+ "multiple": false,
2809
+ "type": "option"
2810
+ }
2811
+ },
2812
+ "hasDynamicHelp": false,
2813
+ "hiddenAliases": [],
2814
+ "id": "swarm:curate",
2815
+ "pluginAlias": "byterover-cli",
2816
+ "pluginName": "byterover-cli",
2817
+ "pluginType": "core",
2818
+ "strict": true,
2819
+ "enableJsonFlag": false,
2820
+ "isESM": true,
2821
+ "relativePath": [
2822
+ "dist",
2823
+ "oclif",
2824
+ "commands",
2825
+ "swarm",
2826
+ "curate.js"
2827
+ ]
2828
+ },
2829
+ "swarm:onboard": {
2830
+ "aliases": [],
2831
+ "args": {},
2832
+ "description": "Set up memory swarm with interactive onboarding wizard",
2833
+ "examples": [
2834
+ "<%= config.bin %> swarm onboard"
2835
+ ],
2836
+ "flags": {},
2837
+ "hasDynamicHelp": false,
2838
+ "hiddenAliases": [],
2839
+ "id": "swarm:onboard",
2840
+ "pluginAlias": "byterover-cli",
2841
+ "pluginName": "byterover-cli",
2842
+ "pluginType": "core",
2843
+ "strict": true,
2844
+ "enableJsonFlag": false,
2845
+ "isESM": true,
2846
+ "relativePath": [
2847
+ "dist",
2848
+ "oclif",
2849
+ "commands",
2850
+ "swarm",
2851
+ "onboard.js"
2852
+ ]
2853
+ },
2854
+ "swarm:query": {
2855
+ "aliases": [],
2856
+ "args": {
2857
+ "query": {
2858
+ "description": "Natural language query to search across memory providers",
2859
+ "name": "query",
2860
+ "required": true
2861
+ }
2862
+ },
2863
+ "description": "Query the memory swarm across all active providers",
2864
+ "examples": [
2865
+ "<%= config.bin %> swarm query \"auth tokens\"",
2866
+ "<%= config.bin %> swarm query \"what changed yesterday\" --format json"
2867
+ ],
2868
+ "flags": {
2869
+ "explain": {
2870
+ "description": "Show classification, routing, and enrichment details (ignored with --format json, which always includes all metadata)",
2871
+ "name": "explain",
2872
+ "allowNo": false,
2873
+ "type": "boolean"
2874
+ },
2875
+ "format": {
2876
+ "char": "f",
2877
+ "description": "Output format",
2878
+ "name": "format",
2879
+ "default": "text",
2880
+ "hasDynamicHelp": false,
2881
+ "multiple": false,
2882
+ "options": [
2883
+ "text",
2884
+ "json"
2885
+ ],
2886
+ "type": "option"
2887
+ },
2888
+ "max-results": {
2889
+ "char": "n",
2890
+ "description": "Maximum number of results",
2891
+ "name": "max-results",
2892
+ "hasDynamicHelp": false,
2893
+ "multiple": false,
2894
+ "type": "option"
2895
+ }
2896
+ },
2897
+ "hasDynamicHelp": false,
2898
+ "hiddenAliases": [],
2899
+ "id": "swarm:query",
2900
+ "pluginAlias": "byterover-cli",
2901
+ "pluginName": "byterover-cli",
2902
+ "pluginType": "core",
2903
+ "strict": true,
2904
+ "enableJsonFlag": false,
2905
+ "isESM": true,
2906
+ "relativePath": [
2907
+ "dist",
2908
+ "oclif",
2909
+ "commands",
2910
+ "swarm",
2911
+ "query.js"
2912
+ ]
2913
+ },
2914
+ "swarm:status": {
2915
+ "aliases": [],
2916
+ "args": {},
2917
+ "description": "Show memory swarm provider health and connection status",
2918
+ "examples": [
2919
+ "<%= config.bin %> swarm status",
2920
+ "<%= config.bin %> swarm status --format json"
2921
+ ],
2922
+ "flags": {
2923
+ "format": {
2924
+ "char": "f",
2925
+ "description": "Output format",
2926
+ "name": "format",
2927
+ "default": "text",
2928
+ "hasDynamicHelp": false,
2929
+ "multiple": false,
2930
+ "options": [
2931
+ "text",
2932
+ "json"
2933
+ ],
2934
+ "type": "option"
2935
+ }
2936
+ },
2937
+ "hasDynamicHelp": false,
2938
+ "hiddenAliases": [],
2939
+ "id": "swarm:status",
2940
+ "pluginAlias": "byterover-cli",
2941
+ "pluginName": "byterover-cli",
2942
+ "pluginType": "core",
2943
+ "strict": true,
2944
+ "enableJsonFlag": false,
2945
+ "isESM": true,
2946
+ "relativePath": [
2947
+ "dist",
2948
+ "oclif",
2949
+ "commands",
2950
+ "swarm",
2951
+ "status.js"
2952
+ ]
2953
+ },
2951
2954
  "hub:registry:add": {
2952
2955
  "aliases": [],
2953
2956
  "args": {
@@ -3369,5 +3372,5 @@
3369
3372
  ]
3370
3373
  }
3371
3374
  },
3372
- "version": "3.8.2"
3375
+ "version": "3.8.3"
3373
3376
  }