byterover-cli 3.11.0 → 3.12.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/dist/agent/infra/tools/implementations/curate-tool.js +18 -8
- package/dist/server/constants.d.ts +6 -0
- package/dist/server/constants.js +11 -0
- package/dist/server/core/domain/entities/task-history-entry.d.ts +775 -0
- package/dist/server/core/domain/entities/task-history-entry.js +88 -0
- package/dist/server/core/domain/transport/schemas.d.ts +1403 -11
- package/dist/server/core/domain/transport/schemas.js +157 -6
- package/dist/server/core/domain/transport/task-info.d.ts +18 -0
- package/dist/server/core/interfaces/process/i-task-lifecycle-hook.d.ts +7 -0
- package/dist/server/core/interfaces/storage/i-task-history-store.d.ts +62 -0
- package/dist/server/core/interfaces/storage/i-task-history-store.js +1 -0
- package/dist/server/infra/daemon/brv-server.js +43 -18
- package/dist/server/infra/dream/dream-response-schemas.d.ts +24 -0
- package/dist/server/infra/dream/dream-response-schemas.js +7 -0
- package/dist/server/infra/dream/operations/consolidate.js +21 -8
- package/dist/server/infra/dream/operations/synthesize.js +35 -8
- package/dist/server/infra/process/task-history-entry-builder.d.ts +36 -0
- package/dist/server/infra/process/task-history-entry-builder.js +101 -0
- package/dist/server/infra/process/task-history-hook.d.ts +37 -0
- package/dist/server/infra/process/task-history-hook.js +70 -0
- package/dist/server/infra/process/task-history-store-cache.d.ts +25 -0
- package/dist/server/infra/process/task-history-store-cache.js +106 -0
- package/dist/server/infra/process/task-router.d.ts +72 -0
- package/dist/server/infra/process/task-router.js +690 -15
- package/dist/server/infra/process/transport-handlers.d.ts +8 -0
- package/dist/server/infra/process/transport-handlers.js +2 -0
- package/dist/server/infra/storage/file-task-history-store.d.ts +294 -0
- package/dist/server/infra/storage/file-task-history-store.js +912 -0
- package/dist/shared/transport/events/index.d.ts +5 -0
- package/dist/shared/transport/events/task-events.d.ts +204 -1
- package/dist/shared/transport/events/task-events.js +11 -0
- package/dist/tui/features/tasks/hooks/use-task-subscriptions.js +7 -0
- package/dist/tui/features/tasks/stores/tasks-store.d.ts +4 -16
- package/dist/tui/features/tasks/stores/tasks-store.js +7 -0
- package/dist/tui/types/messages.d.ts +2 -9
- package/dist/webui/assets/index-DyVvFoM6.css +1 -0
- package/dist/webui/assets/index-lr0byHh9.js +130 -0
- package/dist/webui/index.html +2 -2
- package/dist/webui/sw.js +1 -1
- package/oclif.manifest.json +665 -665
- package/package.json +1 -1
- package/dist/webui/assets/index--sXE__bc.css +0 -1
- package/dist/webui/assets/index-Bkkx961b.js +0 -130
package/oclif.manifest.json
CHANGED
|
@@ -1256,6 +1256,146 @@
|
|
|
1256
1256
|
"list.js"
|
|
1257
1257
|
]
|
|
1258
1258
|
},
|
|
1259
|
+
"model": {
|
|
1260
|
+
"aliases": [],
|
|
1261
|
+
"args": {},
|
|
1262
|
+
"description": "Show the active model",
|
|
1263
|
+
"examples": [
|
|
1264
|
+
"<%= config.bin %> model",
|
|
1265
|
+
"<%= config.bin %> model --format json"
|
|
1266
|
+
],
|
|
1267
|
+
"flags": {
|
|
1268
|
+
"format": {
|
|
1269
|
+
"description": "Output format (text or json)",
|
|
1270
|
+
"name": "format",
|
|
1271
|
+
"default": "text",
|
|
1272
|
+
"hasDynamicHelp": false,
|
|
1273
|
+
"multiple": false,
|
|
1274
|
+
"options": [
|
|
1275
|
+
"text",
|
|
1276
|
+
"json"
|
|
1277
|
+
],
|
|
1278
|
+
"type": "option"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
"hasDynamicHelp": false,
|
|
1282
|
+
"hiddenAliases": [],
|
|
1283
|
+
"id": "model",
|
|
1284
|
+
"pluginAlias": "byterover-cli",
|
|
1285
|
+
"pluginName": "byterover-cli",
|
|
1286
|
+
"pluginType": "core",
|
|
1287
|
+
"strict": true,
|
|
1288
|
+
"enableJsonFlag": false,
|
|
1289
|
+
"isESM": true,
|
|
1290
|
+
"relativePath": [
|
|
1291
|
+
"dist",
|
|
1292
|
+
"oclif",
|
|
1293
|
+
"commands",
|
|
1294
|
+
"model",
|
|
1295
|
+
"index.js"
|
|
1296
|
+
]
|
|
1297
|
+
},
|
|
1298
|
+
"model:list": {
|
|
1299
|
+
"aliases": [],
|
|
1300
|
+
"args": {},
|
|
1301
|
+
"description": "List available models from all connected providers",
|
|
1302
|
+
"examples": [
|
|
1303
|
+
"<%= config.bin %> model list",
|
|
1304
|
+
"<%= config.bin %> model list --format json"
|
|
1305
|
+
],
|
|
1306
|
+
"flags": {
|
|
1307
|
+
"format": {
|
|
1308
|
+
"description": "Output format (text or json)",
|
|
1309
|
+
"name": "format",
|
|
1310
|
+
"default": "text",
|
|
1311
|
+
"hasDynamicHelp": false,
|
|
1312
|
+
"multiple": false,
|
|
1313
|
+
"options": [
|
|
1314
|
+
"text",
|
|
1315
|
+
"json"
|
|
1316
|
+
],
|
|
1317
|
+
"type": "option"
|
|
1318
|
+
},
|
|
1319
|
+
"provider": {
|
|
1320
|
+
"char": "p",
|
|
1321
|
+
"description": "Only list models for a specific provider",
|
|
1322
|
+
"name": "provider",
|
|
1323
|
+
"hasDynamicHelp": false,
|
|
1324
|
+
"multiple": false,
|
|
1325
|
+
"type": "option"
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
"hasDynamicHelp": false,
|
|
1329
|
+
"hiddenAliases": [],
|
|
1330
|
+
"id": "model:list",
|
|
1331
|
+
"pluginAlias": "byterover-cli",
|
|
1332
|
+
"pluginName": "byterover-cli",
|
|
1333
|
+
"pluginType": "core",
|
|
1334
|
+
"strict": true,
|
|
1335
|
+
"enableJsonFlag": false,
|
|
1336
|
+
"isESM": true,
|
|
1337
|
+
"relativePath": [
|
|
1338
|
+
"dist",
|
|
1339
|
+
"oclif",
|
|
1340
|
+
"commands",
|
|
1341
|
+
"model",
|
|
1342
|
+
"list.js"
|
|
1343
|
+
]
|
|
1344
|
+
},
|
|
1345
|
+
"model:switch": {
|
|
1346
|
+
"aliases": [],
|
|
1347
|
+
"args": {
|
|
1348
|
+
"model": {
|
|
1349
|
+
"description": "Model ID to switch to (e.g., claude-sonnet-4-5, gpt-4.1)",
|
|
1350
|
+
"name": "model",
|
|
1351
|
+
"required": true
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1354
|
+
"description": "Switch the active model",
|
|
1355
|
+
"examples": [
|
|
1356
|
+
"<%= config.bin %> model switch claude-sonnet-4-5",
|
|
1357
|
+
"<%= config.bin %> model switch gpt-4.1 --provider openai",
|
|
1358
|
+
"<%= config.bin %> model switch claude-sonnet-4-5 --format json"
|
|
1359
|
+
],
|
|
1360
|
+
"flags": {
|
|
1361
|
+
"format": {
|
|
1362
|
+
"description": "Output format (text or json)",
|
|
1363
|
+
"name": "format",
|
|
1364
|
+
"default": "text",
|
|
1365
|
+
"hasDynamicHelp": false,
|
|
1366
|
+
"multiple": false,
|
|
1367
|
+
"options": [
|
|
1368
|
+
"text",
|
|
1369
|
+
"json"
|
|
1370
|
+
],
|
|
1371
|
+
"type": "option"
|
|
1372
|
+
},
|
|
1373
|
+
"provider": {
|
|
1374
|
+
"char": "p",
|
|
1375
|
+
"description": "Provider ID (defaults to active provider)",
|
|
1376
|
+
"name": "provider",
|
|
1377
|
+
"hasDynamicHelp": false,
|
|
1378
|
+
"multiple": false,
|
|
1379
|
+
"type": "option"
|
|
1380
|
+
}
|
|
1381
|
+
},
|
|
1382
|
+
"hasDynamicHelp": false,
|
|
1383
|
+
"hiddenAliases": [],
|
|
1384
|
+
"id": "model:switch",
|
|
1385
|
+
"pluginAlias": "byterover-cli",
|
|
1386
|
+
"pluginName": "byterover-cli",
|
|
1387
|
+
"pluginType": "core",
|
|
1388
|
+
"strict": true,
|
|
1389
|
+
"enableJsonFlag": false,
|
|
1390
|
+
"isESM": true,
|
|
1391
|
+
"relativePath": [
|
|
1392
|
+
"dist",
|
|
1393
|
+
"oclif",
|
|
1394
|
+
"commands",
|
|
1395
|
+
"model",
|
|
1396
|
+
"switch.js"
|
|
1397
|
+
]
|
|
1398
|
+
},
|
|
1259
1399
|
"providers:connect": {
|
|
1260
1400
|
"aliases": [],
|
|
1261
1401
|
"args": {
|
|
@@ -1511,15 +1651,35 @@
|
|
|
1511
1651
|
"switch.js"
|
|
1512
1652
|
]
|
|
1513
1653
|
},
|
|
1514
|
-
"
|
|
1654
|
+
"review:approve": {
|
|
1515
1655
|
"aliases": [],
|
|
1516
|
-
"args": {
|
|
1517
|
-
|
|
1656
|
+
"args": {
|
|
1657
|
+
"taskId": {
|
|
1658
|
+
"description": "Task ID shown in the curate output (e.g. \"brv review approve abc-123\")",
|
|
1659
|
+
"name": "taskId",
|
|
1660
|
+
"required": true
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
"description": "Approve pending review operations for a curate task",
|
|
1518
1664
|
"examples": [
|
|
1519
|
-
"
|
|
1520
|
-
"<%= config.bin %>
|
|
1665
|
+
"# Approve all pending changes from a curate task",
|
|
1666
|
+
"<%= config.bin %> review approve abc-123",
|
|
1667
|
+
"",
|
|
1668
|
+
"# Approve specific files",
|
|
1669
|
+
"<%= config.bin %> review approve abc-123 --file architecture/security/audit.md",
|
|
1670
|
+
"<%= config.bin %> review approve abc-123 --file auth/jwt.md --file auth/oauth.md",
|
|
1671
|
+
"",
|
|
1672
|
+
"# Approve and get structured output (useful for coding agents)",
|
|
1673
|
+
"<%= config.bin %> review approve abc-123 --format json"
|
|
1521
1674
|
],
|
|
1522
1675
|
"flags": {
|
|
1676
|
+
"file": {
|
|
1677
|
+
"description": "Approve only the specified file path(s) (relative to context tree)",
|
|
1678
|
+
"name": "file",
|
|
1679
|
+
"hasDynamicHelp": false,
|
|
1680
|
+
"multiple": true,
|
|
1681
|
+
"type": "option"
|
|
1682
|
+
},
|
|
1523
1683
|
"format": {
|
|
1524
1684
|
"description": "Output format (text or json)",
|
|
1525
1685
|
"name": "format",
|
|
@@ -1535,7 +1695,7 @@
|
|
|
1535
1695
|
},
|
|
1536
1696
|
"hasDynamicHelp": false,
|
|
1537
1697
|
"hiddenAliases": [],
|
|
1538
|
-
"id": "
|
|
1698
|
+
"id": "review:approve",
|
|
1539
1699
|
"pluginAlias": "byterover-cli",
|
|
1540
1700
|
"pluginName": "byterover-cli",
|
|
1541
1701
|
"pluginType": "core",
|
|
@@ -1546,19 +1706,25 @@
|
|
|
1546
1706
|
"dist",
|
|
1547
1707
|
"oclif",
|
|
1548
1708
|
"commands",
|
|
1549
|
-
"
|
|
1550
|
-
"
|
|
1709
|
+
"review",
|
|
1710
|
+
"approve.js"
|
|
1551
1711
|
]
|
|
1552
1712
|
},
|
|
1553
|
-
"
|
|
1713
|
+
"review:base-review-decision": {
|
|
1554
1714
|
"aliases": [],
|
|
1555
|
-
"args": {
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1715
|
+
"args": {
|
|
1716
|
+
"taskId": {
|
|
1717
|
+
"name": "taskId",
|
|
1718
|
+
"required": true
|
|
1719
|
+
}
|
|
1720
|
+
},
|
|
1561
1721
|
"flags": {
|
|
1722
|
+
"file": {
|
|
1723
|
+
"name": "file",
|
|
1724
|
+
"hasDynamicHelp": false,
|
|
1725
|
+
"multiple": true,
|
|
1726
|
+
"type": "option"
|
|
1727
|
+
},
|
|
1562
1728
|
"format": {
|
|
1563
1729
|
"description": "Output format (text or json)",
|
|
1564
1730
|
"name": "format",
|
|
@@ -1570,19 +1736,11 @@
|
|
|
1570
1736
|
"json"
|
|
1571
1737
|
],
|
|
1572
1738
|
"type": "option"
|
|
1573
|
-
},
|
|
1574
|
-
"provider": {
|
|
1575
|
-
"char": "p",
|
|
1576
|
-
"description": "Only list models for a specific provider",
|
|
1577
|
-
"name": "provider",
|
|
1578
|
-
"hasDynamicHelp": false,
|
|
1579
|
-
"multiple": false,
|
|
1580
|
-
"type": "option"
|
|
1581
1739
|
}
|
|
1582
1740
|
},
|
|
1583
1741
|
"hasDynamicHelp": false,
|
|
1584
1742
|
"hiddenAliases": [],
|
|
1585
|
-
"id": "
|
|
1743
|
+
"id": "review:base-review-decision",
|
|
1586
1744
|
"pluginAlias": "byterover-cli",
|
|
1587
1745
|
"pluginName": "byterover-cli",
|
|
1588
1746
|
"pluginType": "core",
|
|
@@ -1593,24 +1751,20 @@
|
|
|
1593
1751
|
"dist",
|
|
1594
1752
|
"oclif",
|
|
1595
1753
|
"commands",
|
|
1596
|
-
"
|
|
1597
|
-
"
|
|
1754
|
+
"review",
|
|
1755
|
+
"base-review-decision.js"
|
|
1598
1756
|
]
|
|
1599
1757
|
},
|
|
1600
|
-
"
|
|
1758
|
+
"review:pending": {
|
|
1601
1759
|
"aliases": [],
|
|
1602
|
-
"args": {
|
|
1603
|
-
|
|
1604
|
-
"description": "Model ID to switch to (e.g., claude-sonnet-4-5, gpt-4.1)",
|
|
1605
|
-
"name": "model",
|
|
1606
|
-
"required": true
|
|
1607
|
-
}
|
|
1608
|
-
},
|
|
1609
|
-
"description": "Switch the active model",
|
|
1760
|
+
"args": {},
|
|
1761
|
+
"description": "List all pending review operations for the current project",
|
|
1610
1762
|
"examples": [
|
|
1611
|
-
"
|
|
1612
|
-
"<%= config.bin %>
|
|
1613
|
-
"
|
|
1763
|
+
"# Show all pending reviews",
|
|
1764
|
+
"<%= config.bin %> review pending",
|
|
1765
|
+
"",
|
|
1766
|
+
"# Get structured output for agent-driven workflows",
|
|
1767
|
+
"<%= config.bin %> review pending --format json"
|
|
1614
1768
|
],
|
|
1615
1769
|
"flags": {
|
|
1616
1770
|
"format": {
|
|
@@ -1624,19 +1778,11 @@
|
|
|
1624
1778
|
"json"
|
|
1625
1779
|
],
|
|
1626
1780
|
"type": "option"
|
|
1627
|
-
},
|
|
1628
|
-
"provider": {
|
|
1629
|
-
"char": "p",
|
|
1630
|
-
"description": "Provider ID (defaults to active provider)",
|
|
1631
|
-
"name": "provider",
|
|
1632
|
-
"hasDynamicHelp": false,
|
|
1633
|
-
"multiple": false,
|
|
1634
|
-
"type": "option"
|
|
1635
1781
|
}
|
|
1636
1782
|
},
|
|
1637
1783
|
"hasDynamicHelp": false,
|
|
1638
1784
|
"hiddenAliases": [],
|
|
1639
|
-
"id": "
|
|
1785
|
+
"id": "review:pending",
|
|
1640
1786
|
"pluginAlias": "byterover-cli",
|
|
1641
1787
|
"pluginName": "byterover-cli",
|
|
1642
1788
|
"pluginType": "core",
|
|
@@ -1647,23 +1793,82 @@
|
|
|
1647
1793
|
"dist",
|
|
1648
1794
|
"oclif",
|
|
1649
1795
|
"commands",
|
|
1650
|
-
"
|
|
1651
|
-
"
|
|
1796
|
+
"review",
|
|
1797
|
+
"pending.js"
|
|
1652
1798
|
]
|
|
1653
1799
|
},
|
|
1654
|
-
"
|
|
1800
|
+
"review:reject": {
|
|
1655
1801
|
"aliases": [],
|
|
1656
1802
|
"args": {
|
|
1657
|
-
"
|
|
1658
|
-
"description": "
|
|
1659
|
-
"name": "
|
|
1803
|
+
"taskId": {
|
|
1804
|
+
"description": "Task ID shown in the curate output (e.g. \"brv review reject abc-123\")",
|
|
1805
|
+
"name": "taskId",
|
|
1660
1806
|
"required": true
|
|
1661
1807
|
}
|
|
1662
1808
|
},
|
|
1663
|
-
"description": "
|
|
1809
|
+
"description": "Reject pending review operations for a curate task (restores files from backup)",
|
|
1664
1810
|
"examples": [
|
|
1665
|
-
"
|
|
1666
|
-
"<%= config.bin %>
|
|
1811
|
+
"# Reject all pending changes from a curate task",
|
|
1812
|
+
"<%= config.bin %> review reject abc-123",
|
|
1813
|
+
"",
|
|
1814
|
+
"# Reject specific files",
|
|
1815
|
+
"<%= config.bin %> review reject abc-123 --file architecture/security/audit.md",
|
|
1816
|
+
"<%= config.bin %> review reject abc-123 --file auth/jwt.md --file auth/oauth.md",
|
|
1817
|
+
"",
|
|
1818
|
+
"# Reject and get structured output (useful for coding agents)",
|
|
1819
|
+
"<%= config.bin %> review reject abc-123 --format json"
|
|
1820
|
+
],
|
|
1821
|
+
"flags": {
|
|
1822
|
+
"file": {
|
|
1823
|
+
"description": "Reject only the specified file path(s) (relative to context tree)",
|
|
1824
|
+
"name": "file",
|
|
1825
|
+
"hasDynamicHelp": false,
|
|
1826
|
+
"multiple": true,
|
|
1827
|
+
"type": "option"
|
|
1828
|
+
},
|
|
1829
|
+
"format": {
|
|
1830
|
+
"description": "Output format (text or json)",
|
|
1831
|
+
"name": "format",
|
|
1832
|
+
"default": "text",
|
|
1833
|
+
"hasDynamicHelp": false,
|
|
1834
|
+
"multiple": false,
|
|
1835
|
+
"options": [
|
|
1836
|
+
"text",
|
|
1837
|
+
"json"
|
|
1838
|
+
],
|
|
1839
|
+
"type": "option"
|
|
1840
|
+
}
|
|
1841
|
+
},
|
|
1842
|
+
"hasDynamicHelp": false,
|
|
1843
|
+
"hiddenAliases": [],
|
|
1844
|
+
"id": "review:reject",
|
|
1845
|
+
"pluginAlias": "byterover-cli",
|
|
1846
|
+
"pluginName": "byterover-cli",
|
|
1847
|
+
"pluginType": "core",
|
|
1848
|
+
"strict": true,
|
|
1849
|
+
"enableJsonFlag": false,
|
|
1850
|
+
"isESM": true,
|
|
1851
|
+
"relativePath": [
|
|
1852
|
+
"dist",
|
|
1853
|
+
"oclif",
|
|
1854
|
+
"commands",
|
|
1855
|
+
"review",
|
|
1856
|
+
"reject.js"
|
|
1857
|
+
]
|
|
1858
|
+
},
|
|
1859
|
+
"source:add": {
|
|
1860
|
+
"aliases": [],
|
|
1861
|
+
"args": {
|
|
1862
|
+
"path": {
|
|
1863
|
+
"description": "Path to the target project containing .brv/",
|
|
1864
|
+
"name": "path",
|
|
1865
|
+
"required": true
|
|
1866
|
+
}
|
|
1867
|
+
},
|
|
1868
|
+
"description": "Add a read-only knowledge source from another project's context tree",
|
|
1869
|
+
"examples": [
|
|
1870
|
+
"<%= config.bin %> <%= command.id %> /path/to/shared-lib",
|
|
1871
|
+
"<%= config.bin %> <%= command.id %> /path/to/shared-lib --alias shared"
|
|
1667
1872
|
],
|
|
1668
1873
|
"flags": {
|
|
1669
1874
|
"alias": {
|
|
@@ -1852,58 +2057,32 @@
|
|
|
1852
2057
|
"switch.js"
|
|
1853
2058
|
]
|
|
1854
2059
|
},
|
|
1855
|
-
"
|
|
2060
|
+
"worktree:add": {
|
|
1856
2061
|
"aliases": [],
|
|
1857
|
-
"args": {
|
|
1858
|
-
|
|
2062
|
+
"args": {
|
|
2063
|
+
"path": {
|
|
2064
|
+
"description": "Path to the directory to register as a worktree (relative or absolute)",
|
|
2065
|
+
"name": "path",
|
|
2066
|
+
"required": false
|
|
2067
|
+
}
|
|
2068
|
+
},
|
|
2069
|
+
"description": "Register a directory as a worktree of this project",
|
|
1859
2070
|
"examples": [
|
|
1860
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1861
|
-
"<%= config.bin %> <%= command.id %>
|
|
1862
|
-
"<%= config.bin %> <%= command.id %>
|
|
1863
|
-
"<%= config.bin %> <%= command.id %> --last 30d",
|
|
1864
|
-
"<%= config.bin %> <%= command.id %> --format json",
|
|
1865
|
-
"<%= config.bin %> <%= command.id %> --format narrative",
|
|
1866
|
-
"<%= config.bin %> <%= command.id %> --since 2026-04-01 --before 2026-04-03"
|
|
2071
|
+
"<%= config.bin %> <%= command.id %> packages/api",
|
|
2072
|
+
"<%= config.bin %> <%= command.id %> ../other-checkout",
|
|
2073
|
+
"<%= config.bin %> <%= command.id %> (auto-detect parent from subdirectory)"
|
|
1867
2074
|
],
|
|
1868
2075
|
"flags": {
|
|
1869
|
-
"
|
|
1870
|
-
"description": "
|
|
1871
|
-
"name": "
|
|
1872
|
-
"
|
|
1873
|
-
"
|
|
1874
|
-
"type": "option"
|
|
1875
|
-
},
|
|
1876
|
-
"format": {
|
|
1877
|
-
"description": "Output format",
|
|
1878
|
-
"name": "format",
|
|
1879
|
-
"default": "text",
|
|
1880
|
-
"hasDynamicHelp": false,
|
|
1881
|
-
"multiple": false,
|
|
1882
|
-
"options": [
|
|
1883
|
-
"text",
|
|
1884
|
-
"json",
|
|
1885
|
-
"narrative"
|
|
1886
|
-
],
|
|
1887
|
-
"type": "option"
|
|
1888
|
-
},
|
|
1889
|
-
"last": {
|
|
1890
|
-
"description": "Relative time window (e.g., 1h, 24h, 7d, 30d). Default: 24h. Takes precedence over --since.",
|
|
1891
|
-
"name": "last",
|
|
1892
|
-
"hasDynamicHelp": false,
|
|
1893
|
-
"multiple": false,
|
|
1894
|
-
"type": "option"
|
|
1895
|
-
},
|
|
1896
|
-
"since": {
|
|
1897
|
-
"description": "Entries after (ISO date or relative: 1h, 24h, 7d, 2w)",
|
|
1898
|
-
"name": "since",
|
|
1899
|
-
"hasDynamicHelp": false,
|
|
1900
|
-
"multiple": false,
|
|
1901
|
-
"type": "option"
|
|
2076
|
+
"force": {
|
|
2077
|
+
"description": "Replace existing .brv/ directory in target with a worktree pointer",
|
|
2078
|
+
"name": "force",
|
|
2079
|
+
"allowNo": false,
|
|
2080
|
+
"type": "boolean"
|
|
1902
2081
|
}
|
|
1903
2082
|
},
|
|
1904
2083
|
"hasDynamicHelp": false,
|
|
1905
2084
|
"hiddenAliases": [],
|
|
1906
|
-
"id": "
|
|
2085
|
+
"id": "worktree:add",
|
|
1907
2086
|
"pluginAlias": "byterover-cli",
|
|
1908
2087
|
"pluginName": "byterover-cli",
|
|
1909
2088
|
"pluginType": "core",
|
|
@@ -1914,105 +2093,21 @@
|
|
|
1914
2093
|
"dist",
|
|
1915
2094
|
"oclif",
|
|
1916
2095
|
"commands",
|
|
1917
|
-
"
|
|
1918
|
-
"
|
|
2096
|
+
"worktree",
|
|
2097
|
+
"add.js"
|
|
1919
2098
|
]
|
|
1920
2099
|
},
|
|
1921
|
-
"
|
|
2100
|
+
"worktree": {
|
|
1922
2101
|
"aliases": [],
|
|
1923
|
-
"args": {
|
|
1924
|
-
|
|
1925
|
-
"description": "Query log entry ID to view in detail",
|
|
1926
|
-
"name": "id",
|
|
1927
|
-
"required": false
|
|
1928
|
-
}
|
|
1929
|
-
},
|
|
1930
|
-
"description": "View query log history",
|
|
2102
|
+
"args": {},
|
|
2103
|
+
"description": "Manage worktree links for subdirectories and sibling checkouts",
|
|
1931
2104
|
"examples": [
|
|
1932
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1933
|
-
"<%= config.bin %> <%= command.id %> qry-1712345678901",
|
|
1934
|
-
"<%= config.bin %> <%= command.id %> --limit 20",
|
|
1935
|
-
"<%= config.bin %> <%= command.id %> --status completed",
|
|
1936
|
-
"<%= config.bin %> <%= command.id %> --status completed --status error",
|
|
1937
|
-
"<%= config.bin %> <%= command.id %> --tier 0 --tier 1",
|
|
1938
|
-
"<%= config.bin %> <%= command.id %> --since 1h",
|
|
1939
|
-
"<%= config.bin %> <%= command.id %> --since 2024-01-15",
|
|
1940
|
-
"<%= config.bin %> <%= command.id %> --before 2024-02-01",
|
|
1941
|
-
"<%= config.bin %> <%= command.id %> --detail",
|
|
1942
|
-
"<%= config.bin %> <%= command.id %> --format json"
|
|
2105
|
+
"<%= config.bin %> <%= command.id %> --help"
|
|
1943
2106
|
],
|
|
1944
|
-
"flags": {
|
|
1945
|
-
"before": {
|
|
1946
|
-
"description": "Show entries started before this time (ISO date or relative: 30m, 1h, 24h, 7d, 2w)",
|
|
1947
|
-
"name": "before",
|
|
1948
|
-
"hasDynamicHelp": false,
|
|
1949
|
-
"multiple": false,
|
|
1950
|
-
"type": "option"
|
|
1951
|
-
},
|
|
1952
|
-
"detail": {
|
|
1953
|
-
"description": "Show matched docs for each entry",
|
|
1954
|
-
"name": "detail",
|
|
1955
|
-
"allowNo": false,
|
|
1956
|
-
"type": "boolean"
|
|
1957
|
-
},
|
|
1958
|
-
"format": {
|
|
1959
|
-
"description": "Output format",
|
|
1960
|
-
"name": "format",
|
|
1961
|
-
"default": "text",
|
|
1962
|
-
"hasDynamicHelp": false,
|
|
1963
|
-
"multiple": false,
|
|
1964
|
-
"options": [
|
|
1965
|
-
"text",
|
|
1966
|
-
"json"
|
|
1967
|
-
],
|
|
1968
|
-
"type": "option"
|
|
1969
|
-
},
|
|
1970
|
-
"limit": {
|
|
1971
|
-
"description": "Maximum number of log entries to display",
|
|
1972
|
-
"name": "limit",
|
|
1973
|
-
"default": 10,
|
|
1974
|
-
"hasDynamicHelp": false,
|
|
1975
|
-
"multiple": false,
|
|
1976
|
-
"type": "option"
|
|
1977
|
-
},
|
|
1978
|
-
"since": {
|
|
1979
|
-
"description": "Show entries started after this time (ISO date or relative: 30m, 1h, 24h, 7d, 2w)",
|
|
1980
|
-
"name": "since",
|
|
1981
|
-
"hasDynamicHelp": false,
|
|
1982
|
-
"multiple": false,
|
|
1983
|
-
"type": "option"
|
|
1984
|
-
},
|
|
1985
|
-
"status": {
|
|
1986
|
-
"description": "Filter by status (can be repeated). Options: cancelled, completed, error, processing",
|
|
1987
|
-
"name": "status",
|
|
1988
|
-
"hasDynamicHelp": false,
|
|
1989
|
-
"multiple": true,
|
|
1990
|
-
"options": [
|
|
1991
|
-
"cancelled",
|
|
1992
|
-
"completed",
|
|
1993
|
-
"error",
|
|
1994
|
-
"processing"
|
|
1995
|
-
],
|
|
1996
|
-
"type": "option"
|
|
1997
|
-
},
|
|
1998
|
-
"tier": {
|
|
1999
|
-
"description": "Filter by resolution tier (can be repeated). Options: 0, 1, 2, 3, 4",
|
|
2000
|
-
"name": "tier",
|
|
2001
|
-
"hasDynamicHelp": false,
|
|
2002
|
-
"multiple": true,
|
|
2003
|
-
"options": [
|
|
2004
|
-
"0",
|
|
2005
|
-
"1",
|
|
2006
|
-
"2",
|
|
2007
|
-
"3",
|
|
2008
|
-
"4"
|
|
2009
|
-
],
|
|
2010
|
-
"type": "option"
|
|
2011
|
-
}
|
|
2012
|
-
},
|
|
2107
|
+
"flags": {},
|
|
2013
2108
|
"hasDynamicHelp": false,
|
|
2014
2109
|
"hiddenAliases": [],
|
|
2015
|
-
"id": "
|
|
2110
|
+
"id": "worktree",
|
|
2016
2111
|
"pluginAlias": "byterover-cli",
|
|
2017
2112
|
"pluginName": "byterover-cli",
|
|
2018
2113
|
"pluginType": "core",
|
|
@@ -2023,341 +2118,21 @@
|
|
|
2023
2118
|
"dist",
|
|
2024
2119
|
"oclif",
|
|
2025
2120
|
"commands",
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
2121
|
+
"worktree",
|
|
2122
|
+
"index.js"
|
|
2028
2123
|
]
|
|
2029
2124
|
},
|
|
2030
|
-
"
|
|
2125
|
+
"worktree:list": {
|
|
2031
2126
|
"aliases": [],
|
|
2032
|
-
"args": {
|
|
2033
|
-
|
|
2034
|
-
"description": "Task ID shown in the curate output (e.g. \"brv review approve abc-123\")",
|
|
2035
|
-
"name": "taskId",
|
|
2036
|
-
"required": true
|
|
2037
|
-
}
|
|
2038
|
-
},
|
|
2039
|
-
"description": "Approve pending review operations for a curate task",
|
|
2127
|
+
"args": {},
|
|
2128
|
+
"description": "Show the current worktree link and list all registered worktrees",
|
|
2040
2129
|
"examples": [
|
|
2041
|
-
"
|
|
2042
|
-
"<%= config.bin %> review approve abc-123",
|
|
2043
|
-
"",
|
|
2044
|
-
"# Approve specific files",
|
|
2045
|
-
"<%= config.bin %> review approve abc-123 --file architecture/security/audit.md",
|
|
2046
|
-
"<%= config.bin %> review approve abc-123 --file auth/jwt.md --file auth/oauth.md",
|
|
2047
|
-
"",
|
|
2048
|
-
"# Approve and get structured output (useful for coding agents)",
|
|
2049
|
-
"<%= config.bin %> review approve abc-123 --format json"
|
|
2050
|
-
],
|
|
2051
|
-
"flags": {
|
|
2052
|
-
"file": {
|
|
2053
|
-
"description": "Approve only the specified file path(s) (relative to context tree)",
|
|
2054
|
-
"name": "file",
|
|
2055
|
-
"hasDynamicHelp": false,
|
|
2056
|
-
"multiple": true,
|
|
2057
|
-
"type": "option"
|
|
2058
|
-
},
|
|
2059
|
-
"format": {
|
|
2060
|
-
"description": "Output format (text or json)",
|
|
2061
|
-
"name": "format",
|
|
2062
|
-
"default": "text",
|
|
2063
|
-
"hasDynamicHelp": false,
|
|
2064
|
-
"multiple": false,
|
|
2065
|
-
"options": [
|
|
2066
|
-
"text",
|
|
2067
|
-
"json"
|
|
2068
|
-
],
|
|
2069
|
-
"type": "option"
|
|
2070
|
-
}
|
|
2071
|
-
},
|
|
2072
|
-
"hasDynamicHelp": false,
|
|
2073
|
-
"hiddenAliases": [],
|
|
2074
|
-
"id": "review:approve",
|
|
2075
|
-
"pluginAlias": "byterover-cli",
|
|
2076
|
-
"pluginName": "byterover-cli",
|
|
2077
|
-
"pluginType": "core",
|
|
2078
|
-
"strict": true,
|
|
2079
|
-
"enableJsonFlag": false,
|
|
2080
|
-
"isESM": true,
|
|
2081
|
-
"relativePath": [
|
|
2082
|
-
"dist",
|
|
2083
|
-
"oclif",
|
|
2084
|
-
"commands",
|
|
2085
|
-
"review",
|
|
2086
|
-
"approve.js"
|
|
2087
|
-
]
|
|
2088
|
-
},
|
|
2089
|
-
"review:base-review-decision": {
|
|
2090
|
-
"aliases": [],
|
|
2091
|
-
"args": {
|
|
2092
|
-
"taskId": {
|
|
2093
|
-
"name": "taskId",
|
|
2094
|
-
"required": true
|
|
2095
|
-
}
|
|
2096
|
-
},
|
|
2097
|
-
"flags": {
|
|
2098
|
-
"file": {
|
|
2099
|
-
"name": "file",
|
|
2100
|
-
"hasDynamicHelp": false,
|
|
2101
|
-
"multiple": true,
|
|
2102
|
-
"type": "option"
|
|
2103
|
-
},
|
|
2104
|
-
"format": {
|
|
2105
|
-
"description": "Output format (text or json)",
|
|
2106
|
-
"name": "format",
|
|
2107
|
-
"default": "text",
|
|
2108
|
-
"hasDynamicHelp": false,
|
|
2109
|
-
"multiple": false,
|
|
2110
|
-
"options": [
|
|
2111
|
-
"text",
|
|
2112
|
-
"json"
|
|
2113
|
-
],
|
|
2114
|
-
"type": "option"
|
|
2115
|
-
}
|
|
2116
|
-
},
|
|
2117
|
-
"hasDynamicHelp": false,
|
|
2118
|
-
"hiddenAliases": [],
|
|
2119
|
-
"id": "review:base-review-decision",
|
|
2120
|
-
"pluginAlias": "byterover-cli",
|
|
2121
|
-
"pluginName": "byterover-cli",
|
|
2122
|
-
"pluginType": "core",
|
|
2123
|
-
"strict": true,
|
|
2124
|
-
"enableJsonFlag": false,
|
|
2125
|
-
"isESM": true,
|
|
2126
|
-
"relativePath": [
|
|
2127
|
-
"dist",
|
|
2128
|
-
"oclif",
|
|
2129
|
-
"commands",
|
|
2130
|
-
"review",
|
|
2131
|
-
"base-review-decision.js"
|
|
2132
|
-
]
|
|
2133
|
-
},
|
|
2134
|
-
"review:pending": {
|
|
2135
|
-
"aliases": [],
|
|
2136
|
-
"args": {},
|
|
2137
|
-
"description": "List all pending review operations for the current project",
|
|
2138
|
-
"examples": [
|
|
2139
|
-
"# Show all pending reviews",
|
|
2140
|
-
"<%= config.bin %> review pending",
|
|
2141
|
-
"",
|
|
2142
|
-
"# Get structured output for agent-driven workflows",
|
|
2143
|
-
"<%= config.bin %> review pending --format json"
|
|
2144
|
-
],
|
|
2145
|
-
"flags": {
|
|
2146
|
-
"format": {
|
|
2147
|
-
"description": "Output format (text or json)",
|
|
2148
|
-
"name": "format",
|
|
2149
|
-
"default": "text",
|
|
2150
|
-
"hasDynamicHelp": false,
|
|
2151
|
-
"multiple": false,
|
|
2152
|
-
"options": [
|
|
2153
|
-
"text",
|
|
2154
|
-
"json"
|
|
2155
|
-
],
|
|
2156
|
-
"type": "option"
|
|
2157
|
-
}
|
|
2158
|
-
},
|
|
2159
|
-
"hasDynamicHelp": false,
|
|
2160
|
-
"hiddenAliases": [],
|
|
2161
|
-
"id": "review:pending",
|
|
2162
|
-
"pluginAlias": "byterover-cli",
|
|
2163
|
-
"pluginName": "byterover-cli",
|
|
2164
|
-
"pluginType": "core",
|
|
2165
|
-
"strict": true,
|
|
2166
|
-
"enableJsonFlag": false,
|
|
2167
|
-
"isESM": true,
|
|
2168
|
-
"relativePath": [
|
|
2169
|
-
"dist",
|
|
2170
|
-
"oclif",
|
|
2171
|
-
"commands",
|
|
2172
|
-
"review",
|
|
2173
|
-
"pending.js"
|
|
2174
|
-
]
|
|
2175
|
-
},
|
|
2176
|
-
"review:reject": {
|
|
2177
|
-
"aliases": [],
|
|
2178
|
-
"args": {
|
|
2179
|
-
"taskId": {
|
|
2180
|
-
"description": "Task ID shown in the curate output (e.g. \"brv review reject abc-123\")",
|
|
2181
|
-
"name": "taskId",
|
|
2182
|
-
"required": true
|
|
2183
|
-
}
|
|
2184
|
-
},
|
|
2185
|
-
"description": "Reject pending review operations for a curate task (restores files from backup)",
|
|
2186
|
-
"examples": [
|
|
2187
|
-
"# Reject all pending changes from a curate task",
|
|
2188
|
-
"<%= config.bin %> review reject abc-123",
|
|
2189
|
-
"",
|
|
2190
|
-
"# Reject specific files",
|
|
2191
|
-
"<%= config.bin %> review reject abc-123 --file architecture/security/audit.md",
|
|
2192
|
-
"<%= config.bin %> review reject abc-123 --file auth/jwt.md --file auth/oauth.md",
|
|
2193
|
-
"",
|
|
2194
|
-
"# Reject and get structured output (useful for coding agents)",
|
|
2195
|
-
"<%= config.bin %> review reject abc-123 --format json"
|
|
2196
|
-
],
|
|
2197
|
-
"flags": {
|
|
2198
|
-
"file": {
|
|
2199
|
-
"description": "Reject only the specified file path(s) (relative to context tree)",
|
|
2200
|
-
"name": "file",
|
|
2201
|
-
"hasDynamicHelp": false,
|
|
2202
|
-
"multiple": true,
|
|
2203
|
-
"type": "option"
|
|
2204
|
-
},
|
|
2205
|
-
"format": {
|
|
2206
|
-
"description": "Output format (text or json)",
|
|
2207
|
-
"name": "format",
|
|
2208
|
-
"default": "text",
|
|
2209
|
-
"hasDynamicHelp": false,
|
|
2210
|
-
"multiple": false,
|
|
2211
|
-
"options": [
|
|
2212
|
-
"text",
|
|
2213
|
-
"json"
|
|
2214
|
-
],
|
|
2215
|
-
"type": "option"
|
|
2216
|
-
}
|
|
2217
|
-
},
|
|
2218
|
-
"hasDynamicHelp": false,
|
|
2219
|
-
"hiddenAliases": [],
|
|
2220
|
-
"id": "review:reject",
|
|
2221
|
-
"pluginAlias": "byterover-cli",
|
|
2222
|
-
"pluginName": "byterover-cli",
|
|
2223
|
-
"pluginType": "core",
|
|
2224
|
-
"strict": true,
|
|
2225
|
-
"enableJsonFlag": false,
|
|
2226
|
-
"isESM": true,
|
|
2227
|
-
"relativePath": [
|
|
2228
|
-
"dist",
|
|
2229
|
-
"oclif",
|
|
2230
|
-
"commands",
|
|
2231
|
-
"review",
|
|
2232
|
-
"reject.js"
|
|
2233
|
-
]
|
|
2234
|
-
},
|
|
2235
|
-
"swarm:curate": {
|
|
2236
|
-
"aliases": [],
|
|
2237
|
-
"args": {
|
|
2238
|
-
"content": {
|
|
2239
|
-
"description": "Knowledge content to store in a swarm provider",
|
|
2240
|
-
"name": "content",
|
|
2241
|
-
"required": true
|
|
2242
|
-
}
|
|
2243
|
-
},
|
|
2244
|
-
"description": "Store knowledge in a swarm provider (GBrain, local markdown)",
|
|
2245
|
-
"examples": [
|
|
2246
|
-
"<%= config.bin %> swarm curate \"Dario Amodei is CEO of Anthropic\"",
|
|
2247
|
-
"<%= config.bin %> swarm curate \"meeting notes: decided on JWT\" --provider local-markdown:notes",
|
|
2248
|
-
"<%= config.bin %> swarm curate \"Architecture uses event sourcing\" --provider gbrain"
|
|
2249
|
-
],
|
|
2250
|
-
"flags": {
|
|
2251
|
-
"format": {
|
|
2252
|
-
"char": "f",
|
|
2253
|
-
"description": "Output format",
|
|
2254
|
-
"name": "format",
|
|
2255
|
-
"default": "text",
|
|
2256
|
-
"hasDynamicHelp": false,
|
|
2257
|
-
"multiple": false,
|
|
2258
|
-
"options": [
|
|
2259
|
-
"text",
|
|
2260
|
-
"json"
|
|
2261
|
-
],
|
|
2262
|
-
"type": "option"
|
|
2263
|
-
},
|
|
2264
|
-
"provider": {
|
|
2265
|
-
"char": "p",
|
|
2266
|
-
"description": "Target provider ID (e.g., gbrain, local-markdown:notes)",
|
|
2267
|
-
"name": "provider",
|
|
2268
|
-
"hasDynamicHelp": false,
|
|
2269
|
-
"multiple": false,
|
|
2270
|
-
"type": "option"
|
|
2271
|
-
}
|
|
2272
|
-
},
|
|
2273
|
-
"hasDynamicHelp": false,
|
|
2274
|
-
"hiddenAliases": [],
|
|
2275
|
-
"id": "swarm:curate",
|
|
2276
|
-
"pluginAlias": "byterover-cli",
|
|
2277
|
-
"pluginName": "byterover-cli",
|
|
2278
|
-
"pluginType": "core",
|
|
2279
|
-
"strict": true,
|
|
2280
|
-
"enableJsonFlag": false,
|
|
2281
|
-
"isESM": true,
|
|
2282
|
-
"relativePath": [
|
|
2283
|
-
"dist",
|
|
2284
|
-
"oclif",
|
|
2285
|
-
"commands",
|
|
2286
|
-
"swarm",
|
|
2287
|
-
"curate.js"
|
|
2288
|
-
]
|
|
2289
|
-
},
|
|
2290
|
-
"swarm:onboard": {
|
|
2291
|
-
"aliases": [],
|
|
2292
|
-
"args": {},
|
|
2293
|
-
"description": "Set up memory swarm with interactive onboarding wizard",
|
|
2294
|
-
"examples": [
|
|
2295
|
-
"<%= config.bin %> swarm onboard"
|
|
2130
|
+
"<%= config.bin %> <%= command.id %>"
|
|
2296
2131
|
],
|
|
2297
2132
|
"flags": {},
|
|
2298
2133
|
"hasDynamicHelp": false,
|
|
2299
2134
|
"hiddenAliases": [],
|
|
2300
|
-
"id": "
|
|
2301
|
-
"pluginAlias": "byterover-cli",
|
|
2302
|
-
"pluginName": "byterover-cli",
|
|
2303
|
-
"pluginType": "core",
|
|
2304
|
-
"strict": true,
|
|
2305
|
-
"enableJsonFlag": false,
|
|
2306
|
-
"isESM": true,
|
|
2307
|
-
"relativePath": [
|
|
2308
|
-
"dist",
|
|
2309
|
-
"oclif",
|
|
2310
|
-
"commands",
|
|
2311
|
-
"swarm",
|
|
2312
|
-
"onboard.js"
|
|
2313
|
-
]
|
|
2314
|
-
},
|
|
2315
|
-
"swarm:query": {
|
|
2316
|
-
"aliases": [],
|
|
2317
|
-
"args": {
|
|
2318
|
-
"query": {
|
|
2319
|
-
"description": "Natural language query to search across memory providers",
|
|
2320
|
-
"name": "query",
|
|
2321
|
-
"required": true
|
|
2322
|
-
}
|
|
2323
|
-
},
|
|
2324
|
-
"description": "Query the memory swarm across all active providers",
|
|
2325
|
-
"examples": [
|
|
2326
|
-
"<%= config.bin %> swarm query \"auth tokens\"",
|
|
2327
|
-
"<%= config.bin %> swarm query \"what changed yesterday\" --format json"
|
|
2328
|
-
],
|
|
2329
|
-
"flags": {
|
|
2330
|
-
"explain": {
|
|
2331
|
-
"description": "Show classification, routing, and enrichment details (ignored with --format json, which always includes all metadata)",
|
|
2332
|
-
"name": "explain",
|
|
2333
|
-
"allowNo": false,
|
|
2334
|
-
"type": "boolean"
|
|
2335
|
-
},
|
|
2336
|
-
"format": {
|
|
2337
|
-
"char": "f",
|
|
2338
|
-
"description": "Output format",
|
|
2339
|
-
"name": "format",
|
|
2340
|
-
"default": "text",
|
|
2341
|
-
"hasDynamicHelp": false,
|
|
2342
|
-
"multiple": false,
|
|
2343
|
-
"options": [
|
|
2344
|
-
"text",
|
|
2345
|
-
"json"
|
|
2346
|
-
],
|
|
2347
|
-
"type": "option"
|
|
2348
|
-
},
|
|
2349
|
-
"max-results": {
|
|
2350
|
-
"char": "n",
|
|
2351
|
-
"description": "Maximum number of results",
|
|
2352
|
-
"name": "max-results",
|
|
2353
|
-
"hasDynamicHelp": false,
|
|
2354
|
-
"multiple": false,
|
|
2355
|
-
"type": "option"
|
|
2356
|
-
}
|
|
2357
|
-
},
|
|
2358
|
-
"hasDynamicHelp": false,
|
|
2359
|
-
"hiddenAliases": [],
|
|
2360
|
-
"id": "swarm:query",
|
|
2135
|
+
"id": "worktree:list",
|
|
2361
2136
|
"pluginAlias": "byterover-cli",
|
|
2362
2137
|
"pluginName": "byterover-cli",
|
|
2363
2138
|
"pluginType": "core",
|
|
@@ -2368,36 +2143,28 @@
|
|
|
2368
2143
|
"dist",
|
|
2369
2144
|
"oclif",
|
|
2370
2145
|
"commands",
|
|
2371
|
-
"
|
|
2372
|
-
"
|
|
2146
|
+
"worktree",
|
|
2147
|
+
"list.js"
|
|
2373
2148
|
]
|
|
2374
2149
|
},
|
|
2375
|
-
"
|
|
2150
|
+
"worktree:remove": {
|
|
2376
2151
|
"aliases": [],
|
|
2377
|
-
"args": {
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
],
|
|
2383
|
-
"flags": {
|
|
2384
|
-
"format": {
|
|
2385
|
-
"char": "f",
|
|
2386
|
-
"description": "Output format",
|
|
2387
|
-
"name": "format",
|
|
2388
|
-
"default": "text",
|
|
2389
|
-
"hasDynamicHelp": false,
|
|
2390
|
-
"multiple": false,
|
|
2391
|
-
"options": [
|
|
2392
|
-
"text",
|
|
2393
|
-
"json"
|
|
2394
|
-
],
|
|
2395
|
-
"type": "option"
|
|
2152
|
+
"args": {
|
|
2153
|
+
"path": {
|
|
2154
|
+
"description": "Path to the worktree to remove (defaults to cwd)",
|
|
2155
|
+
"name": "path",
|
|
2156
|
+
"required": false
|
|
2396
2157
|
}
|
|
2397
2158
|
},
|
|
2159
|
+
"description": "Remove a worktree registration and its .brv pointer",
|
|
2160
|
+
"examples": [
|
|
2161
|
+
"<%= config.bin %> <%= command.id %> (remove cwd as worktree)",
|
|
2162
|
+
"<%= config.bin %> <%= command.id %> packages/api (remove from parent)"
|
|
2163
|
+
],
|
|
2164
|
+
"flags": {},
|
|
2398
2165
|
"hasDynamicHelp": false,
|
|
2399
2166
|
"hiddenAliases": [],
|
|
2400
|
-
"id": "
|
|
2167
|
+
"id": "worktree:remove",
|
|
2401
2168
|
"pluginAlias": "byterover-cli",
|
|
2402
2169
|
"pluginName": "byterover-cli",
|
|
2403
2170
|
"pluginType": "core",
|
|
@@ -2408,8 +2175,8 @@
|
|
|
2408
2175
|
"dist",
|
|
2409
2176
|
"oclif",
|
|
2410
2177
|
"commands",
|
|
2411
|
-
"
|
|
2412
|
-
"
|
|
2178
|
+
"worktree",
|
|
2179
|
+
"remove.js"
|
|
2413
2180
|
]
|
|
2414
2181
|
},
|
|
2415
2182
|
"vc:add": {
|
|
@@ -3055,32 +2822,79 @@
|
|
|
3055
2822
|
"status.js"
|
|
3056
2823
|
]
|
|
3057
2824
|
},
|
|
3058
|
-
"
|
|
2825
|
+
"hub:registry:add": {
|
|
3059
2826
|
"aliases": [],
|
|
3060
2827
|
"args": {
|
|
3061
|
-
"
|
|
3062
|
-
"description": "
|
|
3063
|
-
"name": "
|
|
3064
|
-
"required":
|
|
2828
|
+
"name": {
|
|
2829
|
+
"description": "Registry name",
|
|
2830
|
+
"name": "name",
|
|
2831
|
+
"required": true
|
|
3065
2832
|
}
|
|
3066
2833
|
},
|
|
3067
|
-
"description": "
|
|
2834
|
+
"description": "Add a hub registry",
|
|
3068
2835
|
"examples": [
|
|
3069
|
-
"<%= config.bin %>
|
|
3070
|
-
"<%= config.bin %>
|
|
3071
|
-
"<%= config.bin %>
|
|
2836
|
+
"<%= config.bin %> hub registry add myco --url https://example.com/registry.json",
|
|
2837
|
+
"<%= config.bin %> hub registry add myco --url https://example.com/registry.json --token secret",
|
|
2838
|
+
"<%= config.bin %> hub registry add ghrepo --url https://raw.githubusercontent.com/org/repo/main/registry.json --auth-scheme token --token ghp_xxx",
|
|
2839
|
+
"<%= config.bin %> hub registry add gitlab --url https://gitlab.com/.../registry.json --auth-scheme custom-header --header-name PRIVATE-TOKEN --token glpat-xxx"
|
|
3072
2840
|
],
|
|
3073
2841
|
"flags": {
|
|
3074
|
-
"
|
|
3075
|
-
"
|
|
3076
|
-
"
|
|
3077
|
-
"
|
|
3078
|
-
"
|
|
2842
|
+
"auth-scheme": {
|
|
2843
|
+
"char": "s",
|
|
2844
|
+
"description": "Auth scheme for hub registry",
|
|
2845
|
+
"name": "auth-scheme",
|
|
2846
|
+
"hasDynamicHelp": false,
|
|
2847
|
+
"multiple": false,
|
|
2848
|
+
"options": [
|
|
2849
|
+
"bearer",
|
|
2850
|
+
"token",
|
|
2851
|
+
"basic",
|
|
2852
|
+
"custom-header",
|
|
2853
|
+
"none"
|
|
2854
|
+
],
|
|
2855
|
+
"type": "option"
|
|
2856
|
+
},
|
|
2857
|
+
"format": {
|
|
2858
|
+
"char": "f",
|
|
2859
|
+
"description": "Output format",
|
|
2860
|
+
"name": "format",
|
|
2861
|
+
"default": "text",
|
|
2862
|
+
"hasDynamicHelp": false,
|
|
2863
|
+
"multiple": false,
|
|
2864
|
+
"options": [
|
|
2865
|
+
"text",
|
|
2866
|
+
"json"
|
|
2867
|
+
],
|
|
2868
|
+
"type": "option"
|
|
2869
|
+
},
|
|
2870
|
+
"header-name": {
|
|
2871
|
+
"description": "Custom header name (for custom-header auth scheme)",
|
|
2872
|
+
"name": "header-name",
|
|
2873
|
+
"hasDynamicHelp": false,
|
|
2874
|
+
"multiple": false,
|
|
2875
|
+
"type": "option"
|
|
2876
|
+
},
|
|
2877
|
+
"token": {
|
|
2878
|
+
"char": "t",
|
|
2879
|
+
"description": "Auth token for private hub registry",
|
|
2880
|
+
"name": "token",
|
|
2881
|
+
"hasDynamicHelp": false,
|
|
2882
|
+
"multiple": false,
|
|
2883
|
+
"type": "option"
|
|
2884
|
+
},
|
|
2885
|
+
"url": {
|
|
2886
|
+
"char": "u",
|
|
2887
|
+
"description": "Registry URL",
|
|
2888
|
+
"name": "url",
|
|
2889
|
+
"required": true,
|
|
2890
|
+
"hasDynamicHelp": false,
|
|
2891
|
+
"multiple": false,
|
|
2892
|
+
"type": "option"
|
|
3079
2893
|
}
|
|
3080
2894
|
},
|
|
3081
2895
|
"hasDynamicHelp": false,
|
|
3082
2896
|
"hiddenAliases": [],
|
|
3083
|
-
"id": "
|
|
2897
|
+
"id": "hub:registry:add",
|
|
3084
2898
|
"pluginAlias": "byterover-cli",
|
|
3085
2899
|
"pluginName": "byterover-cli",
|
|
3086
2900
|
"pluginType": "core",
|
|
@@ -3091,21 +2905,19 @@
|
|
|
3091
2905
|
"dist",
|
|
3092
2906
|
"oclif",
|
|
3093
2907
|
"commands",
|
|
3094
|
-
"
|
|
2908
|
+
"hub",
|
|
2909
|
+
"registry",
|
|
3095
2910
|
"add.js"
|
|
3096
2911
|
]
|
|
3097
2912
|
},
|
|
3098
|
-
"
|
|
2913
|
+
"hub:registry": {
|
|
3099
2914
|
"aliases": [],
|
|
3100
2915
|
"args": {},
|
|
3101
|
-
"description": "Manage
|
|
3102
|
-
"examples": [
|
|
3103
|
-
"<%= config.bin %> <%= command.id %> --help"
|
|
3104
|
-
],
|
|
2916
|
+
"description": "Manage hub registries",
|
|
3105
2917
|
"flags": {},
|
|
3106
2918
|
"hasDynamicHelp": false,
|
|
3107
2919
|
"hiddenAliases": [],
|
|
3108
|
-
"id": "
|
|
2920
|
+
"id": "hub:registry",
|
|
3109
2921
|
"pluginAlias": "byterover-cli",
|
|
3110
2922
|
"pluginName": "byterover-cli",
|
|
3111
2923
|
"pluginType": "core",
|
|
@@ -3116,21 +2928,139 @@
|
|
|
3116
2928
|
"dist",
|
|
3117
2929
|
"oclif",
|
|
3118
2930
|
"commands",
|
|
3119
|
-
"
|
|
2931
|
+
"hub",
|
|
2932
|
+
"registry",
|
|
3120
2933
|
"index.js"
|
|
3121
2934
|
]
|
|
3122
2935
|
},
|
|
3123
|
-
"
|
|
2936
|
+
"hub:registry:list": {
|
|
3124
2937
|
"aliases": [],
|
|
3125
2938
|
"args": {},
|
|
3126
|
-
"description": "
|
|
2939
|
+
"description": "List configured hub registries",
|
|
3127
2940
|
"examples": [
|
|
3128
|
-
"<%= config.bin %>
|
|
2941
|
+
"<%= config.bin %> hub registry list",
|
|
2942
|
+
"<%= config.bin %> hub registry list --format json"
|
|
3129
2943
|
],
|
|
3130
|
-
"flags": {
|
|
2944
|
+
"flags": {
|
|
2945
|
+
"format": {
|
|
2946
|
+
"char": "f",
|
|
2947
|
+
"description": "Output format",
|
|
2948
|
+
"name": "format",
|
|
2949
|
+
"default": "text",
|
|
2950
|
+
"hasDynamicHelp": false,
|
|
2951
|
+
"multiple": false,
|
|
2952
|
+
"options": [
|
|
2953
|
+
"text",
|
|
2954
|
+
"json"
|
|
2955
|
+
],
|
|
2956
|
+
"type": "option"
|
|
2957
|
+
}
|
|
2958
|
+
},
|
|
2959
|
+
"hasDynamicHelp": false,
|
|
2960
|
+
"hiddenAliases": [],
|
|
2961
|
+
"id": "hub:registry:list",
|
|
2962
|
+
"pluginAlias": "byterover-cli",
|
|
2963
|
+
"pluginName": "byterover-cli",
|
|
2964
|
+
"pluginType": "core",
|
|
2965
|
+
"strict": true,
|
|
2966
|
+
"enableJsonFlag": false,
|
|
2967
|
+
"isESM": true,
|
|
2968
|
+
"relativePath": [
|
|
2969
|
+
"dist",
|
|
2970
|
+
"oclif",
|
|
2971
|
+
"commands",
|
|
2972
|
+
"hub",
|
|
2973
|
+
"registry",
|
|
2974
|
+
"list.js"
|
|
2975
|
+
]
|
|
2976
|
+
},
|
|
2977
|
+
"hub:registry:remove": {
|
|
2978
|
+
"aliases": [],
|
|
2979
|
+
"args": {
|
|
2980
|
+
"name": {
|
|
2981
|
+
"description": "Registry name to remove",
|
|
2982
|
+
"name": "name",
|
|
2983
|
+
"required": true
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
"description": "Remove a hub registry",
|
|
2987
|
+
"examples": [
|
|
2988
|
+
"<%= config.bin %> hub registry remove myco"
|
|
2989
|
+
],
|
|
2990
|
+
"flags": {
|
|
2991
|
+
"format": {
|
|
2992
|
+
"char": "f",
|
|
2993
|
+
"description": "Output format",
|
|
2994
|
+
"name": "format",
|
|
2995
|
+
"default": "text",
|
|
2996
|
+
"hasDynamicHelp": false,
|
|
2997
|
+
"multiple": false,
|
|
2998
|
+
"options": [
|
|
2999
|
+
"text",
|
|
3000
|
+
"json"
|
|
3001
|
+
],
|
|
3002
|
+
"type": "option"
|
|
3003
|
+
}
|
|
3004
|
+
},
|
|
3005
|
+
"hasDynamicHelp": false,
|
|
3006
|
+
"hiddenAliases": [],
|
|
3007
|
+
"id": "hub:registry:remove",
|
|
3008
|
+
"pluginAlias": "byterover-cli",
|
|
3009
|
+
"pluginName": "byterover-cli",
|
|
3010
|
+
"pluginType": "core",
|
|
3011
|
+
"strict": true,
|
|
3012
|
+
"enableJsonFlag": false,
|
|
3013
|
+
"isESM": true,
|
|
3014
|
+
"relativePath": [
|
|
3015
|
+
"dist",
|
|
3016
|
+
"oclif",
|
|
3017
|
+
"commands",
|
|
3018
|
+
"hub",
|
|
3019
|
+
"registry",
|
|
3020
|
+
"remove.js"
|
|
3021
|
+
]
|
|
3022
|
+
},
|
|
3023
|
+
"swarm:curate": {
|
|
3024
|
+
"aliases": [],
|
|
3025
|
+
"args": {
|
|
3026
|
+
"content": {
|
|
3027
|
+
"description": "Knowledge content to store in a swarm provider",
|
|
3028
|
+
"name": "content",
|
|
3029
|
+
"required": true
|
|
3030
|
+
}
|
|
3031
|
+
},
|
|
3032
|
+
"description": "Store knowledge in a swarm provider (GBrain, local markdown)",
|
|
3033
|
+
"examples": [
|
|
3034
|
+
"<%= config.bin %> swarm curate \"Dario Amodei is CEO of Anthropic\"",
|
|
3035
|
+
"<%= config.bin %> swarm curate \"meeting notes: decided on JWT\" --provider local-markdown:notes",
|
|
3036
|
+
"<%= config.bin %> swarm curate \"Architecture uses event sourcing\" --provider gbrain"
|
|
3037
|
+
],
|
|
3038
|
+
"flags": {
|
|
3039
|
+
"format": {
|
|
3040
|
+
"char": "f",
|
|
3041
|
+
"description": "Output format",
|
|
3042
|
+
"name": "format",
|
|
3043
|
+
"default": "text",
|
|
3044
|
+
"hasDynamicHelp": false,
|
|
3045
|
+
"multiple": false,
|
|
3046
|
+
"options": [
|
|
3047
|
+
"text",
|
|
3048
|
+
"json"
|
|
3049
|
+
],
|
|
3050
|
+
"type": "option"
|
|
3051
|
+
},
|
|
3052
|
+
"provider": {
|
|
3053
|
+
"char": "p",
|
|
3054
|
+
"description": "Target provider ID (e.g., gbrain, local-markdown:notes)",
|
|
3055
|
+
"name": "provider",
|
|
3056
|
+
"hasDynamicHelp": false,
|
|
3057
|
+
"multiple": false,
|
|
3058
|
+
"type": "option"
|
|
3059
|
+
}
|
|
3060
|
+
},
|
|
3131
3061
|
"hasDynamicHelp": false,
|
|
3132
3062
|
"hiddenAliases": [],
|
|
3133
|
-
"id": "
|
|
3063
|
+
"id": "swarm:curate",
|
|
3134
3064
|
"pluginAlias": "byterover-cli",
|
|
3135
3065
|
"pluginName": "byterover-cli",
|
|
3136
3066
|
"pluginType": "core",
|
|
@@ -3141,28 +3071,21 @@
|
|
|
3141
3071
|
"dist",
|
|
3142
3072
|
"oclif",
|
|
3143
3073
|
"commands",
|
|
3144
|
-
"
|
|
3145
|
-
"
|
|
3074
|
+
"swarm",
|
|
3075
|
+
"curate.js"
|
|
3146
3076
|
]
|
|
3147
3077
|
},
|
|
3148
|
-
"
|
|
3078
|
+
"swarm:onboard": {
|
|
3149
3079
|
"aliases": [],
|
|
3150
|
-
"args": {
|
|
3151
|
-
|
|
3152
|
-
"description": "Path to the worktree to remove (defaults to cwd)",
|
|
3153
|
-
"name": "path",
|
|
3154
|
-
"required": false
|
|
3155
|
-
}
|
|
3156
|
-
},
|
|
3157
|
-
"description": "Remove a worktree registration and its .brv pointer",
|
|
3080
|
+
"args": {},
|
|
3081
|
+
"description": "Set up memory swarm with interactive onboarding wizard",
|
|
3158
3082
|
"examples": [
|
|
3159
|
-
"<%= config.bin %>
|
|
3160
|
-
"<%= config.bin %> <%= command.id %> packages/api (remove from parent)"
|
|
3083
|
+
"<%= config.bin %> swarm onboard"
|
|
3161
3084
|
],
|
|
3162
3085
|
"flags": {},
|
|
3163
3086
|
"hasDynamicHelp": false,
|
|
3164
3087
|
"hiddenAliases": [],
|
|
3165
|
-
"id": "
|
|
3088
|
+
"id": "swarm:onboard",
|
|
3166
3089
|
"pluginAlias": "byterover-cli",
|
|
3167
3090
|
"pluginName": "byterover-cli",
|
|
3168
3091
|
"pluginType": "core",
|
|
@@ -3173,41 +3096,30 @@
|
|
|
3173
3096
|
"dist",
|
|
3174
3097
|
"oclif",
|
|
3175
3098
|
"commands",
|
|
3176
|
-
"
|
|
3177
|
-
"
|
|
3099
|
+
"swarm",
|
|
3100
|
+
"onboard.js"
|
|
3178
3101
|
]
|
|
3179
3102
|
},
|
|
3180
|
-
"
|
|
3103
|
+
"swarm:query": {
|
|
3181
3104
|
"aliases": [],
|
|
3182
3105
|
"args": {
|
|
3183
|
-
"
|
|
3184
|
-
"description": "
|
|
3185
|
-
"name": "
|
|
3106
|
+
"query": {
|
|
3107
|
+
"description": "Natural language query to search across memory providers",
|
|
3108
|
+
"name": "query",
|
|
3186
3109
|
"required": true
|
|
3187
3110
|
}
|
|
3188
3111
|
},
|
|
3189
|
-
"description": "
|
|
3112
|
+
"description": "Query the memory swarm across all active providers",
|
|
3190
3113
|
"examples": [
|
|
3191
|
-
"<%= config.bin %>
|
|
3192
|
-
"<%= config.bin %>
|
|
3193
|
-
"<%= config.bin %> hub registry add ghrepo --url https://raw.githubusercontent.com/org/repo/main/registry.json --auth-scheme token --token ghp_xxx",
|
|
3194
|
-
"<%= config.bin %> hub registry add gitlab --url https://gitlab.com/.../registry.json --auth-scheme custom-header --header-name PRIVATE-TOKEN --token glpat-xxx"
|
|
3114
|
+
"<%= config.bin %> swarm query \"auth tokens\"",
|
|
3115
|
+
"<%= config.bin %> swarm query \"what changed yesterday\" --format json"
|
|
3195
3116
|
],
|
|
3196
3117
|
"flags": {
|
|
3197
|
-
"
|
|
3198
|
-
"
|
|
3199
|
-
"
|
|
3200
|
-
"
|
|
3201
|
-
"
|
|
3202
|
-
"multiple": false,
|
|
3203
|
-
"options": [
|
|
3204
|
-
"bearer",
|
|
3205
|
-
"token",
|
|
3206
|
-
"basic",
|
|
3207
|
-
"custom-header",
|
|
3208
|
-
"none"
|
|
3209
|
-
],
|
|
3210
|
-
"type": "option"
|
|
3118
|
+
"explain": {
|
|
3119
|
+
"description": "Show classification, routing, and enrichment details (ignored with --format json, which always includes all metadata)",
|
|
3120
|
+
"name": "explain",
|
|
3121
|
+
"allowNo": false,
|
|
3122
|
+
"type": "boolean"
|
|
3211
3123
|
},
|
|
3212
3124
|
"format": {
|
|
3213
3125
|
"char": "f",
|
|
@@ -3222,26 +3134,10 @@
|
|
|
3222
3134
|
],
|
|
3223
3135
|
"type": "option"
|
|
3224
3136
|
},
|
|
3225
|
-
"
|
|
3226
|
-
"
|
|
3227
|
-
"
|
|
3228
|
-
"
|
|
3229
|
-
"multiple": false,
|
|
3230
|
-
"type": "option"
|
|
3231
|
-
},
|
|
3232
|
-
"token": {
|
|
3233
|
-
"char": "t",
|
|
3234
|
-
"description": "Auth token for private hub registry",
|
|
3235
|
-
"name": "token",
|
|
3236
|
-
"hasDynamicHelp": false,
|
|
3237
|
-
"multiple": false,
|
|
3238
|
-
"type": "option"
|
|
3239
|
-
},
|
|
3240
|
-
"url": {
|
|
3241
|
-
"char": "u",
|
|
3242
|
-
"description": "Registry URL",
|
|
3243
|
-
"name": "url",
|
|
3244
|
-
"required": true,
|
|
3137
|
+
"max-results": {
|
|
3138
|
+
"char": "n",
|
|
3139
|
+
"description": "Maximum number of results",
|
|
3140
|
+
"name": "max-results",
|
|
3245
3141
|
"hasDynamicHelp": false,
|
|
3246
3142
|
"multiple": false,
|
|
3247
3143
|
"type": "option"
|
|
@@ -3249,7 +3145,7 @@
|
|
|
3249
3145
|
},
|
|
3250
3146
|
"hasDynamicHelp": false,
|
|
3251
3147
|
"hiddenAliases": [],
|
|
3252
|
-
"id": "
|
|
3148
|
+
"id": "swarm:query",
|
|
3253
3149
|
"pluginAlias": "byterover-cli",
|
|
3254
3150
|
"pluginName": "byterover-cli",
|
|
3255
3151
|
"pluginType": "core",
|
|
@@ -3260,19 +3156,36 @@
|
|
|
3260
3156
|
"dist",
|
|
3261
3157
|
"oclif",
|
|
3262
3158
|
"commands",
|
|
3263
|
-
"
|
|
3264
|
-
"
|
|
3265
|
-
"add.js"
|
|
3159
|
+
"swarm",
|
|
3160
|
+
"query.js"
|
|
3266
3161
|
]
|
|
3267
3162
|
},
|
|
3268
|
-
"
|
|
3163
|
+
"swarm:status": {
|
|
3269
3164
|
"aliases": [],
|
|
3270
3165
|
"args": {},
|
|
3271
|
-
"description": "
|
|
3272
|
-
"
|
|
3166
|
+
"description": "Show memory swarm provider health and connection status",
|
|
3167
|
+
"examples": [
|
|
3168
|
+
"<%= config.bin %> swarm status",
|
|
3169
|
+
"<%= config.bin %> swarm status --format json"
|
|
3170
|
+
],
|
|
3171
|
+
"flags": {
|
|
3172
|
+
"format": {
|
|
3173
|
+
"char": "f",
|
|
3174
|
+
"description": "Output format",
|
|
3175
|
+
"name": "format",
|
|
3176
|
+
"default": "text",
|
|
3177
|
+
"hasDynamicHelp": false,
|
|
3178
|
+
"multiple": false,
|
|
3179
|
+
"options": [
|
|
3180
|
+
"text",
|
|
3181
|
+
"json"
|
|
3182
|
+
],
|
|
3183
|
+
"type": "option"
|
|
3184
|
+
}
|
|
3185
|
+
},
|
|
3273
3186
|
"hasDynamicHelp": false,
|
|
3274
3187
|
"hiddenAliases": [],
|
|
3275
|
-
"id": "
|
|
3188
|
+
"id": "swarm:status",
|
|
3276
3189
|
"pluginAlias": "byterover-cli",
|
|
3277
3190
|
"pluginName": "byterover-cli",
|
|
3278
3191
|
"pluginType": "core",
|
|
@@ -3283,22 +3196,32 @@
|
|
|
3283
3196
|
"dist",
|
|
3284
3197
|
"oclif",
|
|
3285
3198
|
"commands",
|
|
3286
|
-
"
|
|
3287
|
-
"
|
|
3288
|
-
"index.js"
|
|
3199
|
+
"swarm",
|
|
3200
|
+
"status.js"
|
|
3289
3201
|
]
|
|
3290
3202
|
},
|
|
3291
|
-
"
|
|
3203
|
+
"query-log:summary": {
|
|
3292
3204
|
"aliases": [],
|
|
3293
3205
|
"args": {},
|
|
3294
|
-
"description": "
|
|
3206
|
+
"description": "View aggregated query recall metrics (coverage, cache hit rate, top topics)",
|
|
3295
3207
|
"examples": [
|
|
3296
|
-
"<%= config.bin %>
|
|
3297
|
-
"<%= config.bin %>
|
|
3208
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3209
|
+
"<%= config.bin %> <%= command.id %> --last 24h",
|
|
3210
|
+
"<%= config.bin %> <%= command.id %> --last 7d",
|
|
3211
|
+
"<%= config.bin %> <%= command.id %> --last 30d",
|
|
3212
|
+
"<%= config.bin %> <%= command.id %> --format json",
|
|
3213
|
+
"<%= config.bin %> <%= command.id %> --format narrative",
|
|
3214
|
+
"<%= config.bin %> <%= command.id %> --since 2026-04-01 --before 2026-04-03"
|
|
3298
3215
|
],
|
|
3299
3216
|
"flags": {
|
|
3217
|
+
"before": {
|
|
3218
|
+
"description": "Entries before (ISO date or relative: 1h, 24h, 7d, 2w)",
|
|
3219
|
+
"name": "before",
|
|
3220
|
+
"hasDynamicHelp": false,
|
|
3221
|
+
"multiple": false,
|
|
3222
|
+
"type": "option"
|
|
3223
|
+
},
|
|
3300
3224
|
"format": {
|
|
3301
|
-
"char": "f",
|
|
3302
3225
|
"description": "Output format",
|
|
3303
3226
|
"name": "format",
|
|
3304
3227
|
"default": "text",
|
|
@@ -3306,14 +3229,29 @@
|
|
|
3306
3229
|
"multiple": false,
|
|
3307
3230
|
"options": [
|
|
3308
3231
|
"text",
|
|
3309
|
-
"json"
|
|
3232
|
+
"json",
|
|
3233
|
+
"narrative"
|
|
3310
3234
|
],
|
|
3311
3235
|
"type": "option"
|
|
3236
|
+
},
|
|
3237
|
+
"last": {
|
|
3238
|
+
"description": "Relative time window (e.g., 1h, 24h, 7d, 30d). Default: 24h. Takes precedence over --since.",
|
|
3239
|
+
"name": "last",
|
|
3240
|
+
"hasDynamicHelp": false,
|
|
3241
|
+
"multiple": false,
|
|
3242
|
+
"type": "option"
|
|
3243
|
+
},
|
|
3244
|
+
"since": {
|
|
3245
|
+
"description": "Entries after (ISO date or relative: 1h, 24h, 7d, 2w)",
|
|
3246
|
+
"name": "since",
|
|
3247
|
+
"hasDynamicHelp": false,
|
|
3248
|
+
"multiple": false,
|
|
3249
|
+
"type": "option"
|
|
3312
3250
|
}
|
|
3313
3251
|
},
|
|
3314
3252
|
"hasDynamicHelp": false,
|
|
3315
3253
|
"hiddenAliases": [],
|
|
3316
|
-
"id": "
|
|
3254
|
+
"id": "query-log:summary",
|
|
3317
3255
|
"pluginAlias": "byterover-cli",
|
|
3318
3256
|
"pluginName": "byterover-cli",
|
|
3319
3257
|
"pluginType": "core",
|
|
@@ -3324,27 +3262,48 @@
|
|
|
3324
3262
|
"dist",
|
|
3325
3263
|
"oclif",
|
|
3326
3264
|
"commands",
|
|
3327
|
-
"
|
|
3328
|
-
"
|
|
3329
|
-
"list.js"
|
|
3265
|
+
"query-log",
|
|
3266
|
+
"summary.js"
|
|
3330
3267
|
]
|
|
3331
3268
|
},
|
|
3332
|
-
"
|
|
3269
|
+
"query-log:view": {
|
|
3333
3270
|
"aliases": [],
|
|
3334
3271
|
"args": {
|
|
3335
|
-
"
|
|
3336
|
-
"description": "
|
|
3337
|
-
"name": "
|
|
3338
|
-
"required":
|
|
3272
|
+
"id": {
|
|
3273
|
+
"description": "Query log entry ID to view in detail",
|
|
3274
|
+
"name": "id",
|
|
3275
|
+
"required": false
|
|
3339
3276
|
}
|
|
3340
3277
|
},
|
|
3341
|
-
"description": "
|
|
3278
|
+
"description": "View query log history",
|
|
3342
3279
|
"examples": [
|
|
3343
|
-
"<%= config.bin %>
|
|
3280
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3281
|
+
"<%= config.bin %> <%= command.id %> qry-1712345678901",
|
|
3282
|
+
"<%= config.bin %> <%= command.id %> --limit 20",
|
|
3283
|
+
"<%= config.bin %> <%= command.id %> --status completed",
|
|
3284
|
+
"<%= config.bin %> <%= command.id %> --status completed --status error",
|
|
3285
|
+
"<%= config.bin %> <%= command.id %> --tier 0 --tier 1",
|
|
3286
|
+
"<%= config.bin %> <%= command.id %> --since 1h",
|
|
3287
|
+
"<%= config.bin %> <%= command.id %> --since 2024-01-15",
|
|
3288
|
+
"<%= config.bin %> <%= command.id %> --before 2024-02-01",
|
|
3289
|
+
"<%= config.bin %> <%= command.id %> --detail",
|
|
3290
|
+
"<%= config.bin %> <%= command.id %> --format json"
|
|
3344
3291
|
],
|
|
3345
3292
|
"flags": {
|
|
3293
|
+
"before": {
|
|
3294
|
+
"description": "Show entries started before this time (ISO date or relative: 30m, 1h, 24h, 7d, 2w)",
|
|
3295
|
+
"name": "before",
|
|
3296
|
+
"hasDynamicHelp": false,
|
|
3297
|
+
"multiple": false,
|
|
3298
|
+
"type": "option"
|
|
3299
|
+
},
|
|
3300
|
+
"detail": {
|
|
3301
|
+
"description": "Show matched docs for each entry",
|
|
3302
|
+
"name": "detail",
|
|
3303
|
+
"allowNo": false,
|
|
3304
|
+
"type": "boolean"
|
|
3305
|
+
},
|
|
3346
3306
|
"format": {
|
|
3347
|
-
"char": "f",
|
|
3348
3307
|
"description": "Output format",
|
|
3349
3308
|
"name": "format",
|
|
3350
3309
|
"default": "text",
|
|
@@ -3355,11 +3314,53 @@
|
|
|
3355
3314
|
"json"
|
|
3356
3315
|
],
|
|
3357
3316
|
"type": "option"
|
|
3317
|
+
},
|
|
3318
|
+
"limit": {
|
|
3319
|
+
"description": "Maximum number of log entries to display",
|
|
3320
|
+
"name": "limit",
|
|
3321
|
+
"default": 10,
|
|
3322
|
+
"hasDynamicHelp": false,
|
|
3323
|
+
"multiple": false,
|
|
3324
|
+
"type": "option"
|
|
3325
|
+
},
|
|
3326
|
+
"since": {
|
|
3327
|
+
"description": "Show entries started after this time (ISO date or relative: 30m, 1h, 24h, 7d, 2w)",
|
|
3328
|
+
"name": "since",
|
|
3329
|
+
"hasDynamicHelp": false,
|
|
3330
|
+
"multiple": false,
|
|
3331
|
+
"type": "option"
|
|
3332
|
+
},
|
|
3333
|
+
"status": {
|
|
3334
|
+
"description": "Filter by status (can be repeated). Options: cancelled, completed, error, processing",
|
|
3335
|
+
"name": "status",
|
|
3336
|
+
"hasDynamicHelp": false,
|
|
3337
|
+
"multiple": true,
|
|
3338
|
+
"options": [
|
|
3339
|
+
"cancelled",
|
|
3340
|
+
"completed",
|
|
3341
|
+
"error",
|
|
3342
|
+
"processing"
|
|
3343
|
+
],
|
|
3344
|
+
"type": "option"
|
|
3345
|
+
},
|
|
3346
|
+
"tier": {
|
|
3347
|
+
"description": "Filter by resolution tier (can be repeated). Options: 0, 1, 2, 3, 4",
|
|
3348
|
+
"name": "tier",
|
|
3349
|
+
"hasDynamicHelp": false,
|
|
3350
|
+
"multiple": true,
|
|
3351
|
+
"options": [
|
|
3352
|
+
"0",
|
|
3353
|
+
"1",
|
|
3354
|
+
"2",
|
|
3355
|
+
"3",
|
|
3356
|
+
"4"
|
|
3357
|
+
],
|
|
3358
|
+
"type": "option"
|
|
3358
3359
|
}
|
|
3359
3360
|
},
|
|
3360
3361
|
"hasDynamicHelp": false,
|
|
3361
3362
|
"hiddenAliases": [],
|
|
3362
|
-
"id": "
|
|
3363
|
+
"id": "query-log:view",
|
|
3363
3364
|
"pluginAlias": "byterover-cli",
|
|
3364
3365
|
"pluginName": "byterover-cli",
|
|
3365
3366
|
"pluginType": "core",
|
|
@@ -3370,9 +3371,8 @@
|
|
|
3370
3371
|
"dist",
|
|
3371
3372
|
"oclif",
|
|
3372
3373
|
"commands",
|
|
3373
|
-
"
|
|
3374
|
-
"
|
|
3375
|
-
"remove.js"
|
|
3374
|
+
"query-log",
|
|
3375
|
+
"view.js"
|
|
3376
3376
|
]
|
|
3377
3377
|
},
|
|
3378
3378
|
"vc:remote:add": {
|
|
@@ -3508,5 +3508,5 @@
|
|
|
3508
3508
|
]
|
|
3509
3509
|
}
|
|
3510
3510
|
},
|
|
3511
|
-
"version": "3.
|
|
3511
|
+
"version": "3.12.0"
|
|
3512
3512
|
}
|