byterover-cli 3.6.0 → 3.6.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 +436 -436
  2. package/package.json +1 -1
@@ -1296,181 +1296,6 @@
1296
1296
  "switch.js"
1297
1297
  ]
1298
1298
  },
1299
- "query-log:summary": {
1300
- "aliases": [],
1301
- "args": {},
1302
- "description": "View aggregated query recall metrics (coverage, cache hit rate, top topics)",
1303
- "examples": [
1304
- "<%= config.bin %> <%= command.id %>",
1305
- "<%= config.bin %> <%= command.id %> --last 24h",
1306
- "<%= config.bin %> <%= command.id %> --last 7d",
1307
- "<%= config.bin %> <%= command.id %> --last 30d",
1308
- "<%= config.bin %> <%= command.id %> --format json",
1309
- "<%= config.bin %> <%= command.id %> --format narrative",
1310
- "<%= config.bin %> <%= command.id %> --since 2026-04-01 --before 2026-04-03"
1311
- ],
1312
- "flags": {
1313
- "before": {
1314
- "description": "Entries before (ISO date or relative: 1h, 24h, 7d, 2w)",
1315
- "name": "before",
1316
- "hasDynamicHelp": false,
1317
- "multiple": false,
1318
- "type": "option"
1319
- },
1320
- "format": {
1321
- "description": "Output format",
1322
- "name": "format",
1323
- "default": "text",
1324
- "hasDynamicHelp": false,
1325
- "multiple": false,
1326
- "options": [
1327
- "text",
1328
- "json",
1329
- "narrative"
1330
- ],
1331
- "type": "option"
1332
- },
1333
- "last": {
1334
- "description": "Relative time window (e.g., 1h, 24h, 7d, 30d). Default: 24h. Takes precedence over --since.",
1335
- "name": "last",
1336
- "hasDynamicHelp": false,
1337
- "multiple": false,
1338
- "type": "option"
1339
- },
1340
- "since": {
1341
- "description": "Entries after (ISO date or relative: 1h, 24h, 7d, 2w)",
1342
- "name": "since",
1343
- "hasDynamicHelp": false,
1344
- "multiple": false,
1345
- "type": "option"
1346
- }
1347
- },
1348
- "hasDynamicHelp": false,
1349
- "hiddenAliases": [],
1350
- "id": "query-log:summary",
1351
- "pluginAlias": "byterover-cli",
1352
- "pluginName": "byterover-cli",
1353
- "pluginType": "core",
1354
- "strict": true,
1355
- "enableJsonFlag": false,
1356
- "isESM": true,
1357
- "relativePath": [
1358
- "dist",
1359
- "oclif",
1360
- "commands",
1361
- "query-log",
1362
- "summary.js"
1363
- ]
1364
- },
1365
- "query-log:view": {
1366
- "aliases": [],
1367
- "args": {
1368
- "id": {
1369
- "description": "Query log entry ID to view in detail",
1370
- "name": "id",
1371
- "required": false
1372
- }
1373
- },
1374
- "description": "View query log history",
1375
- "examples": [
1376
- "<%= config.bin %> <%= command.id %>",
1377
- "<%= config.bin %> <%= command.id %> qry-1712345678901",
1378
- "<%= config.bin %> <%= command.id %> --limit 20",
1379
- "<%= config.bin %> <%= command.id %> --status completed",
1380
- "<%= config.bin %> <%= command.id %> --status completed --status error",
1381
- "<%= config.bin %> <%= command.id %> --tier 0 --tier 1",
1382
- "<%= config.bin %> <%= command.id %> --since 1h",
1383
- "<%= config.bin %> <%= command.id %> --since 2024-01-15",
1384
- "<%= config.bin %> <%= command.id %> --before 2024-02-01",
1385
- "<%= config.bin %> <%= command.id %> --detail",
1386
- "<%= config.bin %> <%= command.id %> --format json"
1387
- ],
1388
- "flags": {
1389
- "before": {
1390
- "description": "Show entries started before this time (ISO date or relative: 30m, 1h, 24h, 7d, 2w)",
1391
- "name": "before",
1392
- "hasDynamicHelp": false,
1393
- "multiple": false,
1394
- "type": "option"
1395
- },
1396
- "detail": {
1397
- "description": "Show matched docs for each entry",
1398
- "name": "detail",
1399
- "allowNo": false,
1400
- "type": "boolean"
1401
- },
1402
- "format": {
1403
- "description": "Output format",
1404
- "name": "format",
1405
- "default": "text",
1406
- "hasDynamicHelp": false,
1407
- "multiple": false,
1408
- "options": [
1409
- "text",
1410
- "json"
1411
- ],
1412
- "type": "option"
1413
- },
1414
- "limit": {
1415
- "description": "Maximum number of log entries to display",
1416
- "name": "limit",
1417
- "default": 10,
1418
- "hasDynamicHelp": false,
1419
- "multiple": false,
1420
- "type": "option"
1421
- },
1422
- "since": {
1423
- "description": "Show entries started after this time (ISO date or relative: 30m, 1h, 24h, 7d, 2w)",
1424
- "name": "since",
1425
- "hasDynamicHelp": false,
1426
- "multiple": false,
1427
- "type": "option"
1428
- },
1429
- "status": {
1430
- "description": "Filter by status (can be repeated). Options: cancelled, completed, error, processing",
1431
- "name": "status",
1432
- "hasDynamicHelp": false,
1433
- "multiple": true,
1434
- "options": [
1435
- "cancelled",
1436
- "completed",
1437
- "error",
1438
- "processing"
1439
- ],
1440
- "type": "option"
1441
- },
1442
- "tier": {
1443
- "description": "Filter by resolution tier (can be repeated). Options: 0, 1, 2, 3, 4",
1444
- "name": "tier",
1445
- "hasDynamicHelp": false,
1446
- "multiple": true,
1447
- "options": [
1448
- "0",
1449
- "1",
1450
- "2",
1451
- "3",
1452
- "4"
1453
- ],
1454
- "type": "option"
1455
- }
1456
- },
1457
- "hasDynamicHelp": false,
1458
- "hiddenAliases": [],
1459
- "id": "query-log:view",
1460
- "pluginAlias": "byterover-cli",
1461
- "pluginName": "byterover-cli",
1462
- "pluginType": "core",
1463
- "strict": true,
1464
- "enableJsonFlag": false,
1465
- "isESM": true,
1466
- "relativePath": [
1467
- "dist",
1468
- "oclif",
1469
- "commands",
1470
- "query-log",
1471
- "view.js"
1472
- ]
1473
- },
1474
1299
  "providers:connect": {
1475
1300
  "aliases": [],
1476
1301
  "args": {
@@ -1726,51 +1551,58 @@
1726
1551
  "switch.js"
1727
1552
  ]
1728
1553
  },
1729
- "review:approve": {
1554
+ "query-log:summary": {
1730
1555
  "aliases": [],
1731
- "args": {
1732
- "taskId": {
1733
- "description": "Task ID shown in the curate output (e.g. \"brv review approve abc-123\")",
1734
- "name": "taskId",
1735
- "required": true
1736
- }
1737
- },
1738
- "description": "Approve pending review operations for a curate task",
1556
+ "args": {},
1557
+ "description": "View aggregated query recall metrics (coverage, cache hit rate, top topics)",
1739
1558
  "examples": [
1740
- "# Approve all pending changes from a curate task",
1741
- "<%= config.bin %> review approve abc-123",
1742
- "",
1743
- "# Approve specific files",
1744
- "<%= config.bin %> review approve abc-123 --file architecture/security/audit.md",
1745
- "<%= config.bin %> review approve abc-123 --file auth/jwt.md --file auth/oauth.md",
1746
- "",
1747
- "# Approve and get structured output (useful for coding agents)",
1748
- "<%= config.bin %> review approve abc-123 --format json"
1559
+ "<%= config.bin %> <%= command.id %>",
1560
+ "<%= config.bin %> <%= command.id %> --last 24h",
1561
+ "<%= config.bin %> <%= command.id %> --last 7d",
1562
+ "<%= config.bin %> <%= command.id %> --last 30d",
1563
+ "<%= config.bin %> <%= command.id %> --format json",
1564
+ "<%= config.bin %> <%= command.id %> --format narrative",
1565
+ "<%= config.bin %> <%= command.id %> --since 2026-04-01 --before 2026-04-03"
1749
1566
  ],
1750
1567
  "flags": {
1751
- "file": {
1752
- "description": "Approve only the specified file path(s) (relative to context tree)",
1753
- "name": "file",
1568
+ "before": {
1569
+ "description": "Entries before (ISO date or relative: 1h, 24h, 7d, 2w)",
1570
+ "name": "before",
1754
1571
  "hasDynamicHelp": false,
1755
- "multiple": true,
1572
+ "multiple": false,
1756
1573
  "type": "option"
1757
1574
  },
1758
1575
  "format": {
1759
- "description": "Output format (text or json)",
1576
+ "description": "Output format",
1760
1577
  "name": "format",
1761
1578
  "default": "text",
1762
1579
  "hasDynamicHelp": false,
1763
1580
  "multiple": false,
1764
1581
  "options": [
1765
1582
  "text",
1766
- "json"
1583
+ "json",
1584
+ "narrative"
1767
1585
  ],
1768
1586
  "type": "option"
1587
+ },
1588
+ "last": {
1589
+ "description": "Relative time window (e.g., 1h, 24h, 7d, 30d). Default: 24h. Takes precedence over --since.",
1590
+ "name": "last",
1591
+ "hasDynamicHelp": false,
1592
+ "multiple": false,
1593
+ "type": "option"
1594
+ },
1595
+ "since": {
1596
+ "description": "Entries after (ISO date or relative: 1h, 24h, 7d, 2w)",
1597
+ "name": "since",
1598
+ "hasDynamicHelp": false,
1599
+ "multiple": false,
1600
+ "type": "option"
1769
1601
  }
1770
1602
  },
1771
1603
  "hasDynamicHelp": false,
1772
1604
  "hiddenAliases": [],
1773
- "id": "review:approve",
1605
+ "id": "query-log:summary",
1774
1606
  "pluginAlias": "byterover-cli",
1775
1607
  "pluginName": "byterover-cli",
1776
1608
  "pluginType": "core",
@@ -1781,29 +1613,51 @@
1781
1613
  "dist",
1782
1614
  "oclif",
1783
1615
  "commands",
1784
- "review",
1785
- "approve.js"
1616
+ "query-log",
1617
+ "summary.js"
1786
1618
  ]
1787
1619
  },
1788
- "review:base-review-decision": {
1620
+ "query-log:view": {
1789
1621
  "aliases": [],
1790
1622
  "args": {
1791
- "taskId": {
1792
- "name": "taskId",
1793
- "required": true
1623
+ "id": {
1624
+ "description": "Query log entry ID to view in detail",
1625
+ "name": "id",
1626
+ "required": false
1794
1627
  }
1795
1628
  },
1796
- "flags": {
1797
- "file": {
1798
- "name": "file",
1799
- "hasDynamicHelp": false,
1800
- "multiple": true,
1801
- "type": "option"
1802
- },
1803
- "format": {
1804
- "description": "Output format (text or json)",
1805
- "name": "format",
1806
- "default": "text",
1629
+ "description": "View query log history",
1630
+ "examples": [
1631
+ "<%= config.bin %> <%= command.id %>",
1632
+ "<%= config.bin %> <%= command.id %> qry-1712345678901",
1633
+ "<%= config.bin %> <%= command.id %> --limit 20",
1634
+ "<%= config.bin %> <%= command.id %> --status completed",
1635
+ "<%= config.bin %> <%= command.id %> --status completed --status error",
1636
+ "<%= config.bin %> <%= command.id %> --tier 0 --tier 1",
1637
+ "<%= config.bin %> <%= command.id %> --since 1h",
1638
+ "<%= config.bin %> <%= command.id %> --since 2024-01-15",
1639
+ "<%= config.bin %> <%= command.id %> --before 2024-02-01",
1640
+ "<%= config.bin %> <%= command.id %> --detail",
1641
+ "<%= config.bin %> <%= command.id %> --format json"
1642
+ ],
1643
+ "flags": {
1644
+ "before": {
1645
+ "description": "Show entries started before this time (ISO date or relative: 30m, 1h, 24h, 7d, 2w)",
1646
+ "name": "before",
1647
+ "hasDynamicHelp": false,
1648
+ "multiple": false,
1649
+ "type": "option"
1650
+ },
1651
+ "detail": {
1652
+ "description": "Show matched docs for each entry",
1653
+ "name": "detail",
1654
+ "allowNo": false,
1655
+ "type": "boolean"
1656
+ },
1657
+ "format": {
1658
+ "description": "Output format",
1659
+ "name": "format",
1660
+ "default": "text",
1807
1661
  "hasDynamicHelp": false,
1808
1662
  "multiple": false,
1809
1663
  "options": [
@@ -1811,11 +1665,53 @@
1811
1665
  "json"
1812
1666
  ],
1813
1667
  "type": "option"
1668
+ },
1669
+ "limit": {
1670
+ "description": "Maximum number of log entries to display",
1671
+ "name": "limit",
1672
+ "default": 10,
1673
+ "hasDynamicHelp": false,
1674
+ "multiple": false,
1675
+ "type": "option"
1676
+ },
1677
+ "since": {
1678
+ "description": "Show entries started after this time (ISO date or relative: 30m, 1h, 24h, 7d, 2w)",
1679
+ "name": "since",
1680
+ "hasDynamicHelp": false,
1681
+ "multiple": false,
1682
+ "type": "option"
1683
+ },
1684
+ "status": {
1685
+ "description": "Filter by status (can be repeated). Options: cancelled, completed, error, processing",
1686
+ "name": "status",
1687
+ "hasDynamicHelp": false,
1688
+ "multiple": true,
1689
+ "options": [
1690
+ "cancelled",
1691
+ "completed",
1692
+ "error",
1693
+ "processing"
1694
+ ],
1695
+ "type": "option"
1696
+ },
1697
+ "tier": {
1698
+ "description": "Filter by resolution tier (can be repeated). Options: 0, 1, 2, 3, 4",
1699
+ "name": "tier",
1700
+ "hasDynamicHelp": false,
1701
+ "multiple": true,
1702
+ "options": [
1703
+ "0",
1704
+ "1",
1705
+ "2",
1706
+ "3",
1707
+ "4"
1708
+ ],
1709
+ "type": "option"
1814
1710
  }
1815
1711
  },
1816
1712
  "hasDynamicHelp": false,
1817
1713
  "hiddenAliases": [],
1818
- "id": "review:base-review-decision",
1714
+ "id": "query-log:view",
1819
1715
  "pluginAlias": "byterover-cli",
1820
1716
  "pluginName": "byterover-cli",
1821
1717
  "pluginType": "core",
@@ -1826,38 +1722,37 @@
1826
1722
  "dist",
1827
1723
  "oclif",
1828
1724
  "commands",
1829
- "review",
1830
- "base-review-decision.js"
1725
+ "query-log",
1726
+ "view.js"
1831
1727
  ]
1832
1728
  },
1833
- "review:pending": {
1729
+ "source:add": {
1834
1730
  "aliases": [],
1835
- "args": {},
1836
- "description": "List all pending review operations for the current project",
1731
+ "args": {
1732
+ "path": {
1733
+ "description": "Path to the target project containing .brv/",
1734
+ "name": "path",
1735
+ "required": true
1736
+ }
1737
+ },
1738
+ "description": "Add a read-only knowledge source from another project's context tree",
1837
1739
  "examples": [
1838
- "# Show all pending reviews",
1839
- "<%= config.bin %> review pending",
1840
- "",
1841
- "# Get structured output for agent-driven workflows",
1842
- "<%= config.bin %> review pending --format json"
1740
+ "<%= config.bin %> <%= command.id %> /path/to/shared-lib",
1741
+ "<%= config.bin %> <%= command.id %> /path/to/shared-lib --alias shared"
1843
1742
  ],
1844
1743
  "flags": {
1845
- "format": {
1846
- "description": "Output format (text or json)",
1847
- "name": "format",
1848
- "default": "text",
1744
+ "alias": {
1745
+ "description": "Custom alias for the source (defaults to directory name)",
1746
+ "name": "alias",
1747
+ "required": false,
1849
1748
  "hasDynamicHelp": false,
1850
1749
  "multiple": false,
1851
- "options": [
1852
- "text",
1853
- "json"
1854
- ],
1855
1750
  "type": "option"
1856
1751
  }
1857
1752
  },
1858
1753
  "hasDynamicHelp": false,
1859
1754
  "hiddenAliases": [],
1860
- "id": "review:pending",
1755
+ "id": "source:add",
1861
1756
  "pluginAlias": "byterover-cli",
1862
1757
  "pluginName": "byterover-cli",
1863
1758
  "pluginType": "core",
@@ -1868,34 +1763,116 @@
1868
1763
  "dist",
1869
1764
  "oclif",
1870
1765
  "commands",
1871
- "review",
1872
- "pending.js"
1766
+ "source",
1767
+ "add.js"
1873
1768
  ]
1874
1769
  },
1875
- "review:reject": {
1770
+ "source": {
1771
+ "aliases": [],
1772
+ "args": {},
1773
+ "description": "Manage knowledge sources (read-only references to other projects)",
1774
+ "examples": [
1775
+ "<%= config.bin %> <%= command.id %> --help"
1776
+ ],
1777
+ "flags": {},
1778
+ "hasDynamicHelp": false,
1779
+ "hiddenAliases": [],
1780
+ "id": "source",
1781
+ "pluginAlias": "byterover-cli",
1782
+ "pluginName": "byterover-cli",
1783
+ "pluginType": "core",
1784
+ "strict": true,
1785
+ "enableJsonFlag": false,
1786
+ "isESM": true,
1787
+ "relativePath": [
1788
+ "dist",
1789
+ "oclif",
1790
+ "commands",
1791
+ "source",
1792
+ "index.js"
1793
+ ]
1794
+ },
1795
+ "source:list": {
1796
+ "aliases": [],
1797
+ "args": {},
1798
+ "description": "List all knowledge sources and their status",
1799
+ "examples": [
1800
+ "<%= config.bin %> <%= command.id %>"
1801
+ ],
1802
+ "flags": {},
1803
+ "hasDynamicHelp": false,
1804
+ "hiddenAliases": [],
1805
+ "id": "source:list",
1806
+ "pluginAlias": "byterover-cli",
1807
+ "pluginName": "byterover-cli",
1808
+ "pluginType": "core",
1809
+ "strict": true,
1810
+ "enableJsonFlag": false,
1811
+ "isESM": true,
1812
+ "relativePath": [
1813
+ "dist",
1814
+ "oclif",
1815
+ "commands",
1816
+ "source",
1817
+ "list.js"
1818
+ ]
1819
+ },
1820
+ "source:remove": {
1821
+ "aliases": [],
1822
+ "args": {
1823
+ "aliasOrPath": {
1824
+ "description": "Alias or path of the knowledge source to remove",
1825
+ "name": "aliasOrPath",
1826
+ "required": true
1827
+ }
1828
+ },
1829
+ "description": "Remove a knowledge source",
1830
+ "examples": [
1831
+ "<%= config.bin %> <%= command.id %> shared-lib",
1832
+ "<%= config.bin %> <%= command.id %> /path/to/shared-lib"
1833
+ ],
1834
+ "flags": {},
1835
+ "hasDynamicHelp": false,
1836
+ "hiddenAliases": [],
1837
+ "id": "source:remove",
1838
+ "pluginAlias": "byterover-cli",
1839
+ "pluginName": "byterover-cli",
1840
+ "pluginType": "core",
1841
+ "strict": true,
1842
+ "enableJsonFlag": false,
1843
+ "isESM": true,
1844
+ "relativePath": [
1845
+ "dist",
1846
+ "oclif",
1847
+ "commands",
1848
+ "source",
1849
+ "remove.js"
1850
+ ]
1851
+ },
1852
+ "review:approve": {
1876
1853
  "aliases": [],
1877
1854
  "args": {
1878
1855
  "taskId": {
1879
- "description": "Task ID shown in the curate output (e.g. \"brv review reject abc-123\")",
1856
+ "description": "Task ID shown in the curate output (e.g. \"brv review approve abc-123\")",
1880
1857
  "name": "taskId",
1881
1858
  "required": true
1882
1859
  }
1883
1860
  },
1884
- "description": "Reject pending review operations for a curate task (restores files from backup)",
1861
+ "description": "Approve pending review operations for a curate task",
1885
1862
  "examples": [
1886
- "# Reject all pending changes from a curate task",
1887
- "<%= config.bin %> review reject abc-123",
1863
+ "# Approve all pending changes from a curate task",
1864
+ "<%= config.bin %> review approve abc-123",
1888
1865
  "",
1889
- "# Reject specific files",
1890
- "<%= config.bin %> review reject abc-123 --file architecture/security/audit.md",
1891
- "<%= config.bin %> review reject abc-123 --file auth/jwt.md --file auth/oauth.md",
1866
+ "# Approve specific files",
1867
+ "<%= config.bin %> review approve abc-123 --file architecture/security/audit.md",
1868
+ "<%= config.bin %> review approve abc-123 --file auth/jwt.md --file auth/oauth.md",
1892
1869
  "",
1893
- "# Reject and get structured output (useful for coding agents)",
1894
- "<%= config.bin %> review reject abc-123 --format json"
1870
+ "# Approve and get structured output (useful for coding agents)",
1871
+ "<%= config.bin %> review approve abc-123 --format json"
1895
1872
  ],
1896
1873
  "flags": {
1897
1874
  "file": {
1898
- "description": "Reject only the specified file path(s) (relative to context tree)",
1875
+ "description": "Approve only the specified file path(s) (relative to context tree)",
1899
1876
  "name": "file",
1900
1877
  "hasDynamicHelp": false,
1901
1878
  "multiple": true,
@@ -1916,7 +1893,7 @@
1916
1893
  },
1917
1894
  "hasDynamicHelp": false,
1918
1895
  "hiddenAliases": [],
1919
- "id": "review:reject",
1896
+ "id": "review:approve",
1920
1897
  "pluginAlias": "byterover-cli",
1921
1898
  "pluginName": "byterover-cli",
1922
1899
  "pluginType": "core",
@@ -1928,61 +1905,40 @@
1928
1905
  "oclif",
1929
1906
  "commands",
1930
1907
  "review",
1931
- "reject.js"
1908
+ "approve.js"
1932
1909
  ]
1933
1910
  },
1934
- "source:add": {
1911
+ "review:base-review-decision": {
1935
1912
  "aliases": [],
1936
1913
  "args": {
1937
- "path": {
1938
- "description": "Path to the target project containing .brv/",
1939
- "name": "path",
1914
+ "taskId": {
1915
+ "name": "taskId",
1940
1916
  "required": true
1941
1917
  }
1942
1918
  },
1943
- "description": "Add a read-only knowledge source from another project's context tree",
1944
- "examples": [
1945
- "<%= config.bin %> <%= command.id %> /path/to/shared-lib",
1946
- "<%= config.bin %> <%= command.id %> /path/to/shared-lib --alias shared"
1947
- ],
1948
1919
  "flags": {
1949
- "alias": {
1950
- "description": "Custom alias for the source (defaults to directory name)",
1951
- "name": "alias",
1952
- "required": false,
1920
+ "file": {
1921
+ "name": "file",
1922
+ "hasDynamicHelp": false,
1923
+ "multiple": true,
1924
+ "type": "option"
1925
+ },
1926
+ "format": {
1927
+ "description": "Output format (text or json)",
1928
+ "name": "format",
1929
+ "default": "text",
1953
1930
  "hasDynamicHelp": false,
1954
1931
  "multiple": false,
1932
+ "options": [
1933
+ "text",
1934
+ "json"
1935
+ ],
1955
1936
  "type": "option"
1956
1937
  }
1957
1938
  },
1958
1939
  "hasDynamicHelp": false,
1959
1940
  "hiddenAliases": [],
1960
- "id": "source:add",
1961
- "pluginAlias": "byterover-cli",
1962
- "pluginName": "byterover-cli",
1963
- "pluginType": "core",
1964
- "strict": true,
1965
- "enableJsonFlag": false,
1966
- "isESM": true,
1967
- "relativePath": [
1968
- "dist",
1969
- "oclif",
1970
- "commands",
1971
- "source",
1972
- "add.js"
1973
- ]
1974
- },
1975
- "source": {
1976
- "aliases": [],
1977
- "args": {},
1978
- "description": "Manage knowledge sources (read-only references to other projects)",
1979
- "examples": [
1980
- "<%= config.bin %> <%= command.id %> --help"
1981
- ],
1982
- "flags": {},
1983
- "hasDynamicHelp": false,
1984
- "hiddenAliases": [],
1985
- "id": "source",
1941
+ "id": "review:base-review-decision",
1986
1942
  "pluginAlias": "byterover-cli",
1987
1943
  "pluginName": "byterover-cli",
1988
1944
  "pluginType": "core",
@@ -1993,21 +1949,38 @@
1993
1949
  "dist",
1994
1950
  "oclif",
1995
1951
  "commands",
1996
- "source",
1997
- "index.js"
1952
+ "review",
1953
+ "base-review-decision.js"
1998
1954
  ]
1999
1955
  },
2000
- "source:list": {
1956
+ "review:pending": {
2001
1957
  "aliases": [],
2002
1958
  "args": {},
2003
- "description": "List all knowledge sources and their status",
1959
+ "description": "List all pending review operations for the current project",
2004
1960
  "examples": [
2005
- "<%= config.bin %> <%= command.id %>"
1961
+ "# Show all pending reviews",
1962
+ "<%= config.bin %> review pending",
1963
+ "",
1964
+ "# Get structured output for agent-driven workflows",
1965
+ "<%= config.bin %> review pending --format json"
2006
1966
  ],
2007
- "flags": {},
1967
+ "flags": {
1968
+ "format": {
1969
+ "description": "Output format (text or json)",
1970
+ "name": "format",
1971
+ "default": "text",
1972
+ "hasDynamicHelp": false,
1973
+ "multiple": false,
1974
+ "options": [
1975
+ "text",
1976
+ "json"
1977
+ ],
1978
+ "type": "option"
1979
+ }
1980
+ },
2008
1981
  "hasDynamicHelp": false,
2009
1982
  "hiddenAliases": [],
2010
- "id": "source:list",
1983
+ "id": "review:pending",
2011
1984
  "pluginAlias": "byterover-cli",
2012
1985
  "pluginName": "byterover-cli",
2013
1986
  "pluginType": "core",
@@ -2018,28 +1991,55 @@
2018
1991
  "dist",
2019
1992
  "oclif",
2020
1993
  "commands",
2021
- "source",
2022
- "list.js"
1994
+ "review",
1995
+ "pending.js"
2023
1996
  ]
2024
1997
  },
2025
- "source:remove": {
1998
+ "review:reject": {
2026
1999
  "aliases": [],
2027
2000
  "args": {
2028
- "aliasOrPath": {
2029
- "description": "Alias or path of the knowledge source to remove",
2030
- "name": "aliasOrPath",
2001
+ "taskId": {
2002
+ "description": "Task ID shown in the curate output (e.g. \"brv review reject abc-123\")",
2003
+ "name": "taskId",
2031
2004
  "required": true
2032
2005
  }
2033
2006
  },
2034
- "description": "Remove a knowledge source",
2035
- "examples": [
2036
- "<%= config.bin %> <%= command.id %> shared-lib",
2037
- "<%= config.bin %> <%= command.id %> /path/to/shared-lib"
2038
- ],
2039
- "flags": {},
2007
+ "description": "Reject pending review operations for a curate task (restores files from backup)",
2008
+ "examples": [
2009
+ "# Reject all pending changes from a curate task",
2010
+ "<%= config.bin %> review reject abc-123",
2011
+ "",
2012
+ "# Reject specific files",
2013
+ "<%= config.bin %> review reject abc-123 --file architecture/security/audit.md",
2014
+ "<%= config.bin %> review reject abc-123 --file auth/jwt.md --file auth/oauth.md",
2015
+ "",
2016
+ "# Reject and get structured output (useful for coding agents)",
2017
+ "<%= config.bin %> review reject abc-123 --format json"
2018
+ ],
2019
+ "flags": {
2020
+ "file": {
2021
+ "description": "Reject only the specified file path(s) (relative to context tree)",
2022
+ "name": "file",
2023
+ "hasDynamicHelp": false,
2024
+ "multiple": true,
2025
+ "type": "option"
2026
+ },
2027
+ "format": {
2028
+ "description": "Output format (text or json)",
2029
+ "name": "format",
2030
+ "default": "text",
2031
+ "hasDynamicHelp": false,
2032
+ "multiple": false,
2033
+ "options": [
2034
+ "text",
2035
+ "json"
2036
+ ],
2037
+ "type": "option"
2038
+ }
2039
+ },
2040
2040
  "hasDynamicHelp": false,
2041
2041
  "hiddenAliases": [],
2042
- "id": "source:remove",
2042
+ "id": "review:reject",
2043
2043
  "pluginAlias": "byterover-cli",
2044
2044
  "pluginName": "byterover-cli",
2045
2045
  "pluginType": "core",
@@ -2050,8 +2050,8 @@
2050
2050
  "dist",
2051
2051
  "oclif",
2052
2052
  "commands",
2053
- "source",
2054
- "remove.js"
2053
+ "review",
2054
+ "reject.js"
2055
2055
  ]
2056
2056
  },
2057
2057
  "space:list": {
@@ -2312,128 +2312,6 @@
2312
2312
  "status.js"
2313
2313
  ]
2314
2314
  },
2315
- "worktree:add": {
2316
- "aliases": [],
2317
- "args": {
2318
- "path": {
2319
- "description": "Path to the directory to register as a worktree (relative or absolute)",
2320
- "name": "path",
2321
- "required": false
2322
- }
2323
- },
2324
- "description": "Register a directory as a worktree of this project",
2325
- "examples": [
2326
- "<%= config.bin %> <%= command.id %> packages/api",
2327
- "<%= config.bin %> <%= command.id %> ../other-checkout",
2328
- "<%= config.bin %> <%= command.id %> (auto-detect parent from subdirectory)"
2329
- ],
2330
- "flags": {
2331
- "force": {
2332
- "description": "Replace existing .brv/ directory in target with a worktree pointer",
2333
- "name": "force",
2334
- "allowNo": false,
2335
- "type": "boolean"
2336
- }
2337
- },
2338
- "hasDynamicHelp": false,
2339
- "hiddenAliases": [],
2340
- "id": "worktree:add",
2341
- "pluginAlias": "byterover-cli",
2342
- "pluginName": "byterover-cli",
2343
- "pluginType": "core",
2344
- "strict": true,
2345
- "enableJsonFlag": false,
2346
- "isESM": true,
2347
- "relativePath": [
2348
- "dist",
2349
- "oclif",
2350
- "commands",
2351
- "worktree",
2352
- "add.js"
2353
- ]
2354
- },
2355
- "worktree": {
2356
- "aliases": [],
2357
- "args": {},
2358
- "description": "Manage worktree links for subdirectories and sibling checkouts",
2359
- "examples": [
2360
- "<%= config.bin %> <%= command.id %> --help"
2361
- ],
2362
- "flags": {},
2363
- "hasDynamicHelp": false,
2364
- "hiddenAliases": [],
2365
- "id": "worktree",
2366
- "pluginAlias": "byterover-cli",
2367
- "pluginName": "byterover-cli",
2368
- "pluginType": "core",
2369
- "strict": true,
2370
- "enableJsonFlag": false,
2371
- "isESM": true,
2372
- "relativePath": [
2373
- "dist",
2374
- "oclif",
2375
- "commands",
2376
- "worktree",
2377
- "index.js"
2378
- ]
2379
- },
2380
- "worktree:list": {
2381
- "aliases": [],
2382
- "args": {},
2383
- "description": "Show the current worktree link and list all registered worktrees",
2384
- "examples": [
2385
- "<%= config.bin %> <%= command.id %>"
2386
- ],
2387
- "flags": {},
2388
- "hasDynamicHelp": false,
2389
- "hiddenAliases": [],
2390
- "id": "worktree:list",
2391
- "pluginAlias": "byterover-cli",
2392
- "pluginName": "byterover-cli",
2393
- "pluginType": "core",
2394
- "strict": true,
2395
- "enableJsonFlag": false,
2396
- "isESM": true,
2397
- "relativePath": [
2398
- "dist",
2399
- "oclif",
2400
- "commands",
2401
- "worktree",
2402
- "list.js"
2403
- ]
2404
- },
2405
- "worktree:remove": {
2406
- "aliases": [],
2407
- "args": {
2408
- "path": {
2409
- "description": "Path to the worktree to remove (defaults to cwd)",
2410
- "name": "path",
2411
- "required": false
2412
- }
2413
- },
2414
- "description": "Remove a worktree registration and its .brv pointer",
2415
- "examples": [
2416
- "<%= config.bin %> <%= command.id %> (remove cwd as worktree)",
2417
- "<%= config.bin %> <%= command.id %> packages/api (remove from parent)"
2418
- ],
2419
- "flags": {},
2420
- "hasDynamicHelp": false,
2421
- "hiddenAliases": [],
2422
- "id": "worktree:remove",
2423
- "pluginAlias": "byterover-cli",
2424
- "pluginName": "byterover-cli",
2425
- "pluginType": "core",
2426
- "strict": true,
2427
- "enableJsonFlag": false,
2428
- "isESM": true,
2429
- "relativePath": [
2430
- "dist",
2431
- "oclif",
2432
- "commands",
2433
- "worktree",
2434
- "remove.js"
2435
- ]
2436
- },
2437
2315
  "vc:add": {
2438
2316
  "aliases": [],
2439
2317
  "args": {},
@@ -3036,6 +2914,128 @@
3036
2914
  "status.js"
3037
2915
  ]
3038
2916
  },
2917
+ "worktree:add": {
2918
+ "aliases": [],
2919
+ "args": {
2920
+ "path": {
2921
+ "description": "Path to the directory to register as a worktree (relative or absolute)",
2922
+ "name": "path",
2923
+ "required": false
2924
+ }
2925
+ },
2926
+ "description": "Register a directory as a worktree of this project",
2927
+ "examples": [
2928
+ "<%= config.bin %> <%= command.id %> packages/api",
2929
+ "<%= config.bin %> <%= command.id %> ../other-checkout",
2930
+ "<%= config.bin %> <%= command.id %> (auto-detect parent from subdirectory)"
2931
+ ],
2932
+ "flags": {
2933
+ "force": {
2934
+ "description": "Replace existing .brv/ directory in target with a worktree pointer",
2935
+ "name": "force",
2936
+ "allowNo": false,
2937
+ "type": "boolean"
2938
+ }
2939
+ },
2940
+ "hasDynamicHelp": false,
2941
+ "hiddenAliases": [],
2942
+ "id": "worktree:add",
2943
+ "pluginAlias": "byterover-cli",
2944
+ "pluginName": "byterover-cli",
2945
+ "pluginType": "core",
2946
+ "strict": true,
2947
+ "enableJsonFlag": false,
2948
+ "isESM": true,
2949
+ "relativePath": [
2950
+ "dist",
2951
+ "oclif",
2952
+ "commands",
2953
+ "worktree",
2954
+ "add.js"
2955
+ ]
2956
+ },
2957
+ "worktree": {
2958
+ "aliases": [],
2959
+ "args": {},
2960
+ "description": "Manage worktree links for subdirectories and sibling checkouts",
2961
+ "examples": [
2962
+ "<%= config.bin %> <%= command.id %> --help"
2963
+ ],
2964
+ "flags": {},
2965
+ "hasDynamicHelp": false,
2966
+ "hiddenAliases": [],
2967
+ "id": "worktree",
2968
+ "pluginAlias": "byterover-cli",
2969
+ "pluginName": "byterover-cli",
2970
+ "pluginType": "core",
2971
+ "strict": true,
2972
+ "enableJsonFlag": false,
2973
+ "isESM": true,
2974
+ "relativePath": [
2975
+ "dist",
2976
+ "oclif",
2977
+ "commands",
2978
+ "worktree",
2979
+ "index.js"
2980
+ ]
2981
+ },
2982
+ "worktree:list": {
2983
+ "aliases": [],
2984
+ "args": {},
2985
+ "description": "Show the current worktree link and list all registered worktrees",
2986
+ "examples": [
2987
+ "<%= config.bin %> <%= command.id %>"
2988
+ ],
2989
+ "flags": {},
2990
+ "hasDynamicHelp": false,
2991
+ "hiddenAliases": [],
2992
+ "id": "worktree:list",
2993
+ "pluginAlias": "byterover-cli",
2994
+ "pluginName": "byterover-cli",
2995
+ "pluginType": "core",
2996
+ "strict": true,
2997
+ "enableJsonFlag": false,
2998
+ "isESM": true,
2999
+ "relativePath": [
3000
+ "dist",
3001
+ "oclif",
3002
+ "commands",
3003
+ "worktree",
3004
+ "list.js"
3005
+ ]
3006
+ },
3007
+ "worktree:remove": {
3008
+ "aliases": [],
3009
+ "args": {
3010
+ "path": {
3011
+ "description": "Path to the worktree to remove (defaults to cwd)",
3012
+ "name": "path",
3013
+ "required": false
3014
+ }
3015
+ },
3016
+ "description": "Remove a worktree registration and its .brv pointer",
3017
+ "examples": [
3018
+ "<%= config.bin %> <%= command.id %> (remove cwd as worktree)",
3019
+ "<%= config.bin %> <%= command.id %> packages/api (remove from parent)"
3020
+ ],
3021
+ "flags": {},
3022
+ "hasDynamicHelp": false,
3023
+ "hiddenAliases": [],
3024
+ "id": "worktree:remove",
3025
+ "pluginAlias": "byterover-cli",
3026
+ "pluginName": "byterover-cli",
3027
+ "pluginType": "core",
3028
+ "strict": true,
3029
+ "enableJsonFlag": false,
3030
+ "isESM": true,
3031
+ "relativePath": [
3032
+ "dist",
3033
+ "oclif",
3034
+ "commands",
3035
+ "worktree",
3036
+ "remove.js"
3037
+ ]
3038
+ },
3039
3039
  "hub:registry:add": {
3040
3040
  "aliases": [],
3041
3041
  "args": {
@@ -3335,5 +3335,5 @@
3335
3335
  ]
3336
3336
  }
3337
3337
  },
3338
- "version": "3.6.0"
3338
+ "version": "3.6.1"
3339
3339
  }
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "coding-assistant",
13
13
  "knowledge-management"
14
14
  ],
15
- "version": "3.6.0",
15
+ "version": "3.6.1",
16
16
  "author": "ByteRover",
17
17
  "bin": {
18
18
  "brv": "./bin/run.js"