@rulemetric/cli 0.3.0 → 0.4.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/{chunk-LCT6MT2V.js → chunk-2WWGG2A5.js} +9 -9
- package/dist/{chunk-L674RNKQ.js → chunk-ANOWI23I.js} +51 -1
- package/dist/chunk-ANOWI23I.js.map +7 -0
- package/dist/{chunk-Y2ARLMWZ.js → chunk-C7SRRSPA.js} +4 -4
- package/dist/{chunk-2BCPVUSF.js → chunk-CLC7ZFH2.js} +4 -4
- package/dist/chunk-SO3T35U7.js +80 -0
- package/dist/chunk-SO3T35U7.js.map +7 -0
- package/dist/commands/evals/agent.js +6 -6
- package/dist/commands/hooks/emit-instructions.js +25 -0
- package/dist/commands/hooks/emit-instructions.js.map +7 -0
- package/dist/commands/hooks/install.js +17 -23
- package/dist/commands/hooks/install.js.map +2 -2
- package/dist/commands/hooks/uninstall.js +4 -4
- package/dist/commands/hooks/uninstall.js.map +2 -2
- package/dist/commands/research/backfill.js +3 -3
- package/dist/commands/research/tail-transcript.js +3 -3
- package/dist/commands/service/install.js +7 -1
- package/dist/commands/service/install.js.map +2 -2
- package/dist/dashboard/Dashboard.js +9 -9
- package/dist/lib/agent-loop.js +6 -6
- package/dist/lib/handlers/process-announcement.js +2 -2
- package/dist/lib/handlers/process-run-cleanup.js +2 -2
- package/dist/lib/hooks-config.js +7 -1
- package/dist/lib/instruction-snapshot.js +8 -0
- package/dist/lib/instruction-snapshot.js.map +7 -0
- package/oclif.manifest.json +1004 -974
- package/package.json +6 -6
- package/dist/chunk-L674RNKQ.js.map +0 -7
- /package/dist/{chunk-LCT6MT2V.js.map → chunk-2WWGG2A5.js.map} +0 -0
- /package/dist/{chunk-Y2ARLMWZ.js.map → chunk-C7SRRSPA.js.map} +0 -0
- /package/dist/{chunk-2BCPVUSF.js.map → chunk-CLC7ZFH2.js.map} +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -1458,6 +1458,36 @@
|
|
|
1458
1458
|
"ensure.js"
|
|
1459
1459
|
]
|
|
1460
1460
|
},
|
|
1461
|
+
"hooks:emit-instructions": {
|
|
1462
|
+
"aliases": [],
|
|
1463
|
+
"args": {},
|
|
1464
|
+
"description": "Print a synthetic instruction snapshot (on-disk CLAUDE.md) as JSON for zero-proxy instruction linking",
|
|
1465
|
+
"flags": {
|
|
1466
|
+
"project-dir": {
|
|
1467
|
+
"description": "Project directory to scan (defaults to cwd)",
|
|
1468
|
+
"name": "project-dir",
|
|
1469
|
+
"hasDynamicHelp": false,
|
|
1470
|
+
"multiple": false,
|
|
1471
|
+
"type": "option"
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
"hasDynamicHelp": false,
|
|
1475
|
+
"hidden": true,
|
|
1476
|
+
"hiddenAliases": [],
|
|
1477
|
+
"id": "hooks:emit-instructions",
|
|
1478
|
+
"pluginAlias": "@rulemetric/cli",
|
|
1479
|
+
"pluginName": "@rulemetric/cli",
|
|
1480
|
+
"pluginType": "core",
|
|
1481
|
+
"strict": true,
|
|
1482
|
+
"enableJsonFlag": false,
|
|
1483
|
+
"isESM": true,
|
|
1484
|
+
"relativePath": [
|
|
1485
|
+
"dist",
|
|
1486
|
+
"commands",
|
|
1487
|
+
"hooks",
|
|
1488
|
+
"emit-instructions.js"
|
|
1489
|
+
]
|
|
1490
|
+
},
|
|
1461
1491
|
"hooks:install": {
|
|
1462
1492
|
"aliases": [],
|
|
1463
1493
|
"args": {},
|
|
@@ -1599,18 +1629,12 @@
|
|
|
1599
1629
|
"uninstall.js"
|
|
1600
1630
|
]
|
|
1601
1631
|
},
|
|
1602
|
-
"
|
|
1632
|
+
"org:current": {
|
|
1603
1633
|
"aliases": [],
|
|
1604
|
-
"args": {
|
|
1605
|
-
|
|
1606
|
-
"description": "Path to markdown file",
|
|
1607
|
-
"name": "file"
|
|
1608
|
-
}
|
|
1609
|
-
},
|
|
1610
|
-
"description": "Create a new instruction",
|
|
1634
|
+
"args": {},
|
|
1635
|
+
"description": "Show the current active organization",
|
|
1611
1636
|
"examples": [
|
|
1612
|
-
"<%= config.bin %>
|
|
1613
|
-
"<%= config.bin %> instructions create ./rules.md -n \"Rules\" -s project"
|
|
1637
|
+
"<%= config.bin %> org current"
|
|
1614
1638
|
],
|
|
1615
1639
|
"flags": {
|
|
1616
1640
|
"api-url": {
|
|
@@ -1621,59 +1645,11 @@
|
|
|
1621
1645
|
"hasDynamicHelp": false,
|
|
1622
1646
|
"multiple": false,
|
|
1623
1647
|
"type": "option"
|
|
1624
|
-
},
|
|
1625
|
-
"name": {
|
|
1626
|
-
"char": "n",
|
|
1627
|
-
"description": "Instruction name",
|
|
1628
|
-
"name": "name",
|
|
1629
|
-
"required": true,
|
|
1630
|
-
"hasDynamicHelp": false,
|
|
1631
|
-
"multiple": false,
|
|
1632
|
-
"type": "option"
|
|
1633
|
-
},
|
|
1634
|
-
"description": {
|
|
1635
|
-
"char": "d",
|
|
1636
|
-
"description": "Instruction description",
|
|
1637
|
-
"name": "description",
|
|
1638
|
-
"required": true,
|
|
1639
|
-
"hasDynamicHelp": false,
|
|
1640
|
-
"multiple": false,
|
|
1641
|
-
"type": "option"
|
|
1642
|
-
},
|
|
1643
|
-
"scope": {
|
|
1644
|
-
"char": "s",
|
|
1645
|
-
"description": "Instruction scope",
|
|
1646
|
-
"name": "scope",
|
|
1647
|
-
"default": "personal",
|
|
1648
|
-
"hasDynamicHelp": false,
|
|
1649
|
-
"multiple": false,
|
|
1650
|
-
"options": [
|
|
1651
|
-
"org",
|
|
1652
|
-
"team",
|
|
1653
|
-
"project",
|
|
1654
|
-
"personal"
|
|
1655
|
-
],
|
|
1656
|
-
"type": "option"
|
|
1657
|
-
},
|
|
1658
|
-
"scope-ref": {
|
|
1659
|
-
"description": "Scope reference UUID",
|
|
1660
|
-
"name": "scope-ref",
|
|
1661
|
-
"hasDynamicHelp": false,
|
|
1662
|
-
"multiple": false,
|
|
1663
|
-
"type": "option"
|
|
1664
|
-
},
|
|
1665
|
-
"tags": {
|
|
1666
|
-
"char": "t",
|
|
1667
|
-
"description": "Comma-separated tags",
|
|
1668
|
-
"name": "tags",
|
|
1669
|
-
"hasDynamicHelp": false,
|
|
1670
|
-
"multiple": false,
|
|
1671
|
-
"type": "option"
|
|
1672
1648
|
}
|
|
1673
1649
|
},
|
|
1674
1650
|
"hasDynamicHelp": false,
|
|
1675
1651
|
"hiddenAliases": [],
|
|
1676
|
-
"id": "
|
|
1652
|
+
"id": "org:current",
|
|
1677
1653
|
"pluginAlias": "@rulemetric/cli",
|
|
1678
1654
|
"pluginName": "@rulemetric/cli",
|
|
1679
1655
|
"pluginType": "core",
|
|
@@ -1683,23 +1659,16 @@
|
|
|
1683
1659
|
"relativePath": [
|
|
1684
1660
|
"dist",
|
|
1685
1661
|
"commands",
|
|
1686
|
-
"
|
|
1687
|
-
"
|
|
1662
|
+
"org",
|
|
1663
|
+
"current.js"
|
|
1688
1664
|
]
|
|
1689
1665
|
},
|
|
1690
|
-
"
|
|
1666
|
+
"org:list": {
|
|
1691
1667
|
"aliases": [],
|
|
1692
|
-
"args": {
|
|
1693
|
-
|
|
1694
|
-
"description": "Instruction ID",
|
|
1695
|
-
"name": "id",
|
|
1696
|
-
"required": true
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
"description": "Delete (archive) an instruction",
|
|
1668
|
+
"args": {},
|
|
1669
|
+
"description": "List organizations the current user is a member of",
|
|
1700
1670
|
"examples": [
|
|
1701
|
-
"<%= config.bin %>
|
|
1702
|
-
"<%= config.bin %> instructions delete <id> --force"
|
|
1671
|
+
"<%= config.bin %> org list"
|
|
1703
1672
|
],
|
|
1704
1673
|
"flags": {
|
|
1705
1674
|
"api-url": {
|
|
@@ -1710,18 +1679,11 @@
|
|
|
1710
1679
|
"hasDynamicHelp": false,
|
|
1711
1680
|
"multiple": false,
|
|
1712
1681
|
"type": "option"
|
|
1713
|
-
},
|
|
1714
|
-
"force": {
|
|
1715
|
-
"char": "f",
|
|
1716
|
-
"description": "Skip confirmation prompt",
|
|
1717
|
-
"name": "force",
|
|
1718
|
-
"allowNo": false,
|
|
1719
|
-
"type": "boolean"
|
|
1720
1682
|
}
|
|
1721
1683
|
},
|
|
1722
1684
|
"hasDynamicHelp": false,
|
|
1723
1685
|
"hiddenAliases": [],
|
|
1724
|
-
"id": "
|
|
1686
|
+
"id": "org:list",
|
|
1725
1687
|
"pluginAlias": "@rulemetric/cli",
|
|
1726
1688
|
"pluginName": "@rulemetric/cli",
|
|
1727
1689
|
"pluginType": "core",
|
|
@@ -1731,22 +1693,23 @@
|
|
|
1731
1693
|
"relativePath": [
|
|
1732
1694
|
"dist",
|
|
1733
1695
|
"commands",
|
|
1734
|
-
"
|
|
1735
|
-
"
|
|
1696
|
+
"org",
|
|
1697
|
+
"list.js"
|
|
1736
1698
|
]
|
|
1737
1699
|
},
|
|
1738
|
-
"
|
|
1700
|
+
"org:switch": {
|
|
1739
1701
|
"aliases": [],
|
|
1740
1702
|
"args": {
|
|
1741
|
-
"
|
|
1742
|
-
"description": "
|
|
1743
|
-
"name": "
|
|
1744
|
-
"required":
|
|
1703
|
+
"slug": {
|
|
1704
|
+
"description": "Organization slug to switch to",
|
|
1705
|
+
"name": "slug",
|
|
1706
|
+
"required": false
|
|
1745
1707
|
}
|
|
1746
1708
|
},
|
|
1747
|
-
"description": "
|
|
1709
|
+
"description": "Switch the active organization",
|
|
1748
1710
|
"examples": [
|
|
1749
|
-
"<%= config.bin %>
|
|
1711
|
+
"<%= config.bin %> org switch acme",
|
|
1712
|
+
"<%= config.bin %> org switch --clear"
|
|
1750
1713
|
],
|
|
1751
1714
|
"flags": {
|
|
1752
1715
|
"api-url": {
|
|
@@ -1757,11 +1720,17 @@
|
|
|
1757
1720
|
"hasDynamicHelp": false,
|
|
1758
1721
|
"multiple": false,
|
|
1759
1722
|
"type": "option"
|
|
1723
|
+
},
|
|
1724
|
+
"clear": {
|
|
1725
|
+
"description": "Clear the active organization (personal mode)",
|
|
1726
|
+
"name": "clear",
|
|
1727
|
+
"allowNo": false,
|
|
1728
|
+
"type": "boolean"
|
|
1760
1729
|
}
|
|
1761
1730
|
},
|
|
1762
1731
|
"hasDynamicHelp": false,
|
|
1763
1732
|
"hiddenAliases": [],
|
|
1764
|
-
"id": "
|
|
1733
|
+
"id": "org:switch",
|
|
1765
1734
|
"pluginAlias": "@rulemetric/cli",
|
|
1766
1735
|
"pluginName": "@rulemetric/cli",
|
|
1767
1736
|
"pluginType": "core",
|
|
@@ -1771,32 +1740,29 @@
|
|
|
1771
1740
|
"relativePath": [
|
|
1772
1741
|
"dist",
|
|
1773
1742
|
"commands",
|
|
1774
|
-
"
|
|
1775
|
-
"
|
|
1743
|
+
"org",
|
|
1744
|
+
"switch.js"
|
|
1776
1745
|
]
|
|
1777
1746
|
},
|
|
1778
|
-
"
|
|
1747
|
+
"packs:add-instruction": {
|
|
1779
1748
|
"aliases": [],
|
|
1780
1749
|
"args": {
|
|
1781
|
-
"
|
|
1750
|
+
"packId": {
|
|
1751
|
+
"description": "Pack ID",
|
|
1752
|
+
"name": "packId",
|
|
1753
|
+
"required": true
|
|
1754
|
+
},
|
|
1755
|
+
"instructionId": {
|
|
1782
1756
|
"description": "Instruction ID",
|
|
1783
|
-
"name": "
|
|
1757
|
+
"name": "instructionId",
|
|
1784
1758
|
"required": true
|
|
1785
1759
|
}
|
|
1786
1760
|
},
|
|
1787
|
-
"description": "
|
|
1761
|
+
"description": "Add an instruction to a pack",
|
|
1788
1762
|
"examples": [
|
|
1789
|
-
"<%= config.bin %>
|
|
1790
|
-
"<%= config.bin %> instructions get <id> --format raw"
|
|
1763
|
+
"<%= config.bin %> packs add-instruction <pack-id> <instruction-id>"
|
|
1791
1764
|
],
|
|
1792
1765
|
"flags": {
|
|
1793
|
-
"json": {
|
|
1794
|
-
"description": "Format output as json.",
|
|
1795
|
-
"helpGroup": "GLOBAL",
|
|
1796
|
-
"name": "json",
|
|
1797
|
-
"allowNo": false,
|
|
1798
|
-
"type": "boolean"
|
|
1799
|
-
},
|
|
1800
1766
|
"api-url": {
|
|
1801
1767
|
"description": "Override API base URL",
|
|
1802
1768
|
"env": "RULEMETRIC_API_URL",
|
|
@@ -1805,54 +1771,38 @@
|
|
|
1805
1771
|
"hasDynamicHelp": false,
|
|
1806
1772
|
"multiple": false,
|
|
1807
1773
|
"type": "option"
|
|
1808
|
-
},
|
|
1809
|
-
"format": {
|
|
1810
|
-
"char": "f",
|
|
1811
|
-
"description": "Output format",
|
|
1812
|
-
"name": "format",
|
|
1813
|
-
"default": "yaml",
|
|
1814
|
-
"hasDynamicHelp": false,
|
|
1815
|
-
"multiple": false,
|
|
1816
|
-
"options": [
|
|
1817
|
-
"yaml",
|
|
1818
|
-
"json",
|
|
1819
|
-
"raw"
|
|
1820
|
-
],
|
|
1821
|
-
"type": "option"
|
|
1822
1774
|
}
|
|
1823
1775
|
},
|
|
1824
1776
|
"hasDynamicHelp": false,
|
|
1825
1777
|
"hiddenAliases": [],
|
|
1826
|
-
"id": "
|
|
1778
|
+
"id": "packs:add-instruction",
|
|
1827
1779
|
"pluginAlias": "@rulemetric/cli",
|
|
1828
1780
|
"pluginName": "@rulemetric/cli",
|
|
1829
1781
|
"pluginType": "core",
|
|
1830
1782
|
"strict": true,
|
|
1831
|
-
"enableJsonFlag":
|
|
1783
|
+
"enableJsonFlag": false,
|
|
1832
1784
|
"isESM": true,
|
|
1833
1785
|
"relativePath": [
|
|
1834
1786
|
"dist",
|
|
1835
1787
|
"commands",
|
|
1836
|
-
"
|
|
1837
|
-
"
|
|
1788
|
+
"packs",
|
|
1789
|
+
"add-instruction.js"
|
|
1838
1790
|
]
|
|
1839
1791
|
},
|
|
1840
|
-
"
|
|
1792
|
+
"packs:apply": {
|
|
1841
1793
|
"aliases": [],
|
|
1842
|
-
"args": {
|
|
1843
|
-
|
|
1794
|
+
"args": {
|
|
1795
|
+
"id": {
|
|
1796
|
+
"description": "Pack ID",
|
|
1797
|
+
"name": "id",
|
|
1798
|
+
"required": true
|
|
1799
|
+
}
|
|
1800
|
+
},
|
|
1801
|
+
"description": "Apply a pack to a project (bulk-link all instructions)",
|
|
1844
1802
|
"examples": [
|
|
1845
|
-
"<%= config.bin %>
|
|
1846
|
-
"<%= config.bin %> instructions list --json"
|
|
1803
|
+
"<%= config.bin %> packs apply <pack-id> --project <project-id>"
|
|
1847
1804
|
],
|
|
1848
1805
|
"flags": {
|
|
1849
|
-
"json": {
|
|
1850
|
-
"description": "Format output as json.",
|
|
1851
|
-
"helpGroup": "GLOBAL",
|
|
1852
|
-
"name": "json",
|
|
1853
|
-
"allowNo": false,
|
|
1854
|
-
"type": "boolean"
|
|
1855
|
-
},
|
|
1856
1806
|
"api-url": {
|
|
1857
1807
|
"description": "Override API base URL",
|
|
1858
1808
|
"env": "RULEMETRIC_API_URL",
|
|
@@ -1862,49 +1812,38 @@
|
|
|
1862
1812
|
"multiple": false,
|
|
1863
1813
|
"type": "option"
|
|
1864
1814
|
},
|
|
1865
|
-
"
|
|
1866
|
-
"char": "
|
|
1867
|
-
"description": "
|
|
1868
|
-
"name": "
|
|
1869
|
-
"
|
|
1815
|
+
"project": {
|
|
1816
|
+
"char": "p",
|
|
1817
|
+
"description": "Project ID",
|
|
1818
|
+
"name": "project",
|
|
1819
|
+
"required": true,
|
|
1870
1820
|
"hasDynamicHelp": false,
|
|
1871
1821
|
"multiple": false,
|
|
1872
|
-
"options": [
|
|
1873
|
-
"table",
|
|
1874
|
-
"json"
|
|
1875
|
-
],
|
|
1876
1822
|
"type": "option"
|
|
1877
1823
|
}
|
|
1878
1824
|
},
|
|
1879
1825
|
"hasDynamicHelp": false,
|
|
1880
1826
|
"hiddenAliases": [],
|
|
1881
|
-
"id": "
|
|
1827
|
+
"id": "packs:apply",
|
|
1882
1828
|
"pluginAlias": "@rulemetric/cli",
|
|
1883
1829
|
"pluginName": "@rulemetric/cli",
|
|
1884
1830
|
"pluginType": "core",
|
|
1885
1831
|
"strict": true,
|
|
1886
|
-
"enableJsonFlag":
|
|
1832
|
+
"enableJsonFlag": false,
|
|
1887
1833
|
"isESM": true,
|
|
1888
1834
|
"relativePath": [
|
|
1889
1835
|
"dist",
|
|
1890
1836
|
"commands",
|
|
1891
|
-
"
|
|
1892
|
-
"
|
|
1837
|
+
"packs",
|
|
1838
|
+
"apply.js"
|
|
1893
1839
|
]
|
|
1894
1840
|
},
|
|
1895
|
-
"
|
|
1841
|
+
"packs:create": {
|
|
1896
1842
|
"aliases": [],
|
|
1897
|
-
"args": {
|
|
1898
|
-
|
|
1899
|
-
"description": "ID of the instruction to promote",
|
|
1900
|
-
"name": "id",
|
|
1901
|
-
"required": true
|
|
1902
|
-
}
|
|
1903
|
-
},
|
|
1904
|
-
"description": "Promote an instruction to a higher scope (personal → team → org)",
|
|
1843
|
+
"args": {},
|
|
1844
|
+
"description": "Create a new instruction pack",
|
|
1905
1845
|
"examples": [
|
|
1906
|
-
"<%= config.bin %>
|
|
1907
|
-
"<%= config.bin %> instructions promote <id> --scope org --ref <org-id>"
|
|
1846
|
+
"<%= config.bin %> packs create --name \"Security Pack\" --description \"Security-focused instructions\""
|
|
1908
1847
|
],
|
|
1909
1848
|
"flags": {
|
|
1910
1849
|
"api-url": {
|
|
@@ -1916,22 +1855,42 @@
|
|
|
1916
1855
|
"multiple": false,
|
|
1917
1856
|
"type": "option"
|
|
1918
1857
|
},
|
|
1919
|
-
"
|
|
1920
|
-
"
|
|
1921
|
-
"
|
|
1922
|
-
"
|
|
1858
|
+
"name": {
|
|
1859
|
+
"char": "n",
|
|
1860
|
+
"description": "Pack name",
|
|
1861
|
+
"name": "name",
|
|
1862
|
+
"required": true,
|
|
1863
|
+
"hasDynamicHelp": false,
|
|
1864
|
+
"multiple": false,
|
|
1865
|
+
"type": "option"
|
|
1866
|
+
},
|
|
1867
|
+
"description": {
|
|
1868
|
+
"char": "d",
|
|
1869
|
+
"description": "Pack description",
|
|
1870
|
+
"name": "description",
|
|
1871
|
+
"required": true,
|
|
1872
|
+
"hasDynamicHelp": false,
|
|
1873
|
+
"multiple": false,
|
|
1874
|
+
"type": "option"
|
|
1875
|
+
},
|
|
1876
|
+
"scope": {
|
|
1877
|
+
"char": "s",
|
|
1878
|
+
"description": "Pack scope",
|
|
1879
|
+
"name": "scope",
|
|
1880
|
+
"default": "personal",
|
|
1923
1881
|
"hasDynamicHelp": false,
|
|
1924
1882
|
"multiple": false,
|
|
1925
1883
|
"options": [
|
|
1884
|
+
"org",
|
|
1926
1885
|
"team",
|
|
1927
|
-
"
|
|
1886
|
+
"personal"
|
|
1928
1887
|
],
|
|
1929
1888
|
"type": "option"
|
|
1930
1889
|
},
|
|
1931
|
-
"
|
|
1932
|
-
"
|
|
1933
|
-
"
|
|
1934
|
-
"
|
|
1890
|
+
"tags": {
|
|
1891
|
+
"char": "t",
|
|
1892
|
+
"description": "Comma-separated tags",
|
|
1893
|
+
"name": "tags",
|
|
1935
1894
|
"hasDynamicHelp": false,
|
|
1936
1895
|
"multiple": false,
|
|
1937
1896
|
"type": "option"
|
|
@@ -1939,7 +1898,7 @@
|
|
|
1939
1898
|
},
|
|
1940
1899
|
"hasDynamicHelp": false,
|
|
1941
1900
|
"hiddenAliases": [],
|
|
1942
|
-
"id": "
|
|
1901
|
+
"id": "packs:create",
|
|
1943
1902
|
"pluginAlias": "@rulemetric/cli",
|
|
1944
1903
|
"pluginName": "@rulemetric/cli",
|
|
1945
1904
|
"pluginType": "core",
|
|
@@ -1949,20 +1908,23 @@
|
|
|
1949
1908
|
"relativePath": [
|
|
1950
1909
|
"dist",
|
|
1951
1910
|
"commands",
|
|
1952
|
-
"
|
|
1953
|
-
"
|
|
1911
|
+
"packs",
|
|
1912
|
+
"create.js"
|
|
1954
1913
|
]
|
|
1955
1914
|
},
|
|
1956
|
-
"
|
|
1915
|
+
"packs:fork": {
|
|
1957
1916
|
"aliases": [],
|
|
1958
1917
|
"args": {
|
|
1959
1918
|
"id": {
|
|
1960
|
-
"description": "ID of the
|
|
1919
|
+
"description": "ID of the pack to fork",
|
|
1961
1920
|
"name": "id",
|
|
1962
1921
|
"required": true
|
|
1963
1922
|
}
|
|
1964
1923
|
},
|
|
1965
|
-
"description": "
|
|
1924
|
+
"description": "Fork a pack to your personal scope",
|
|
1925
|
+
"examples": [
|
|
1926
|
+
"<%= config.bin %> packs fork <pack-id>"
|
|
1927
|
+
],
|
|
1966
1928
|
"flags": {
|
|
1967
1929
|
"api-url": {
|
|
1968
1930
|
"description": "Override API base URL",
|
|
@@ -1976,7 +1938,7 @@
|
|
|
1976
1938
|
},
|
|
1977
1939
|
"hasDynamicHelp": false,
|
|
1978
1940
|
"hiddenAliases": [],
|
|
1979
|
-
"id": "
|
|
1941
|
+
"id": "packs:fork",
|
|
1980
1942
|
"pluginAlias": "@rulemetric/cli",
|
|
1981
1943
|
"pluginName": "@rulemetric/cli",
|
|
1982
1944
|
"pluginType": "core",
|
|
@@ -1986,20 +1948,23 @@
|
|
|
1986
1948
|
"relativePath": [
|
|
1987
1949
|
"dist",
|
|
1988
1950
|
"commands",
|
|
1989
|
-
"
|
|
1990
|
-
"
|
|
1951
|
+
"packs",
|
|
1952
|
+
"fork.js"
|
|
1991
1953
|
]
|
|
1992
1954
|
},
|
|
1993
|
-
"
|
|
1955
|
+
"packs:get": {
|
|
1994
1956
|
"aliases": [],
|
|
1995
1957
|
"args": {
|
|
1996
1958
|
"id": {
|
|
1997
|
-
"description": "ID
|
|
1959
|
+
"description": "Pack ID",
|
|
1998
1960
|
"name": "id",
|
|
1999
1961
|
"required": true
|
|
2000
1962
|
}
|
|
2001
1963
|
},
|
|
2002
|
-
"description": "
|
|
1964
|
+
"description": "Get pack detail with instruction list",
|
|
1965
|
+
"examples": [
|
|
1966
|
+
"<%= config.bin %> packs get <pack-id>"
|
|
1967
|
+
],
|
|
2003
1968
|
"flags": {
|
|
2004
1969
|
"api-url": {
|
|
2005
1970
|
"description": "Override API base URL",
|
|
@@ -2013,7 +1978,7 @@
|
|
|
2013
1978
|
},
|
|
2014
1979
|
"hasDynamicHelp": false,
|
|
2015
1980
|
"hiddenAliases": [],
|
|
2016
|
-
"id": "
|
|
1981
|
+
"id": "packs:get",
|
|
2017
1982
|
"pluginAlias": "@rulemetric/cli",
|
|
2018
1983
|
"pluginName": "@rulemetric/cli",
|
|
2019
1984
|
"pluginType": "core",
|
|
@@ -2023,22 +1988,17 @@
|
|
|
2023
1988
|
"relativePath": [
|
|
2024
1989
|
"dist",
|
|
2025
1990
|
"commands",
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
1991
|
+
"packs",
|
|
1992
|
+
"get.js"
|
|
2028
1993
|
]
|
|
2029
1994
|
},
|
|
2030
|
-
"
|
|
1995
|
+
"packs:list": {
|
|
2031
1996
|
"aliases": [],
|
|
2032
|
-
"args": {
|
|
2033
|
-
|
|
2034
|
-
"description": "Instruction ID",
|
|
2035
|
-
"name": "id",
|
|
2036
|
-
"required": true
|
|
2037
|
-
}
|
|
2038
|
-
},
|
|
2039
|
-
"description": "List version history for an instruction",
|
|
1997
|
+
"args": {},
|
|
1998
|
+
"description": "List your instruction packs",
|
|
2040
1999
|
"examples": [
|
|
2041
|
-
"<%= config.bin %>
|
|
2000
|
+
"<%= config.bin %> packs list",
|
|
2001
|
+
"<%= config.bin %> packs list --json"
|
|
2042
2002
|
],
|
|
2043
2003
|
"flags": {
|
|
2044
2004
|
"json": {
|
|
@@ -2056,11 +2016,24 @@
|
|
|
2056
2016
|
"hasDynamicHelp": false,
|
|
2057
2017
|
"multiple": false,
|
|
2058
2018
|
"type": "option"
|
|
2019
|
+
},
|
|
2020
|
+
"format": {
|
|
2021
|
+
"char": "f",
|
|
2022
|
+
"description": "Output format",
|
|
2023
|
+
"name": "format",
|
|
2024
|
+
"default": "table",
|
|
2025
|
+
"hasDynamicHelp": false,
|
|
2026
|
+
"multiple": false,
|
|
2027
|
+
"options": [
|
|
2028
|
+
"table",
|
|
2029
|
+
"json"
|
|
2030
|
+
],
|
|
2031
|
+
"type": "option"
|
|
2059
2032
|
}
|
|
2060
2033
|
},
|
|
2061
2034
|
"hasDynamicHelp": false,
|
|
2062
2035
|
"hiddenAliases": [],
|
|
2063
|
-
"id": "
|
|
2036
|
+
"id": "packs:list",
|
|
2064
2037
|
"pluginAlias": "@rulemetric/cli",
|
|
2065
2038
|
"pluginName": "@rulemetric/cli",
|
|
2066
2039
|
"pluginType": "core",
|
|
@@ -2070,16 +2043,27 @@
|
|
|
2070
2043
|
"relativePath": [
|
|
2071
2044
|
"dist",
|
|
2072
2045
|
"commands",
|
|
2073
|
-
"
|
|
2074
|
-
"
|
|
2046
|
+
"packs",
|
|
2047
|
+
"list.js"
|
|
2075
2048
|
]
|
|
2076
2049
|
},
|
|
2077
|
-
"
|
|
2050
|
+
"packs:remove-instruction": {
|
|
2078
2051
|
"aliases": [],
|
|
2079
|
-
"args": {
|
|
2080
|
-
|
|
2052
|
+
"args": {
|
|
2053
|
+
"packId": {
|
|
2054
|
+
"description": "Pack ID",
|
|
2055
|
+
"name": "packId",
|
|
2056
|
+
"required": true
|
|
2057
|
+
},
|
|
2058
|
+
"instructionId": {
|
|
2059
|
+
"description": "Instruction ID",
|
|
2060
|
+
"name": "instructionId",
|
|
2061
|
+
"required": true
|
|
2062
|
+
}
|
|
2063
|
+
},
|
|
2064
|
+
"description": "Remove an instruction from a pack",
|
|
2081
2065
|
"examples": [
|
|
2082
|
-
"<%= config.bin %>
|
|
2066
|
+
"<%= config.bin %> packs remove-instruction <pack-id> <instruction-id>"
|
|
2083
2067
|
],
|
|
2084
2068
|
"flags": {
|
|
2085
2069
|
"api-url": {
|
|
@@ -2094,7 +2078,7 @@
|
|
|
2094
2078
|
},
|
|
2095
2079
|
"hasDynamicHelp": false,
|
|
2096
2080
|
"hiddenAliases": [],
|
|
2097
|
-
"id": "
|
|
2081
|
+
"id": "packs:remove-instruction",
|
|
2098
2082
|
"pluginAlias": "@rulemetric/cli",
|
|
2099
2083
|
"pluginName": "@rulemetric/cli",
|
|
2100
2084
|
"pluginType": "core",
|
|
@@ -2104,16 +2088,19 @@
|
|
|
2104
2088
|
"relativePath": [
|
|
2105
2089
|
"dist",
|
|
2106
2090
|
"commands",
|
|
2107
|
-
"
|
|
2108
|
-
"
|
|
2091
|
+
"packs",
|
|
2092
|
+
"remove-instruction.js"
|
|
2109
2093
|
]
|
|
2110
2094
|
},
|
|
2111
|
-
"
|
|
2095
|
+
"proxy:env": {
|
|
2112
2096
|
"aliases": [],
|
|
2113
2097
|
"args": {},
|
|
2114
|
-
"description": "
|
|
2098
|
+
"description": "Print shell env vars to route any client through the RuleMetric proxy",
|
|
2115
2099
|
"examples": [
|
|
2116
|
-
"<%= config.bin %>
|
|
2100
|
+
"<%= config.bin %> proxy env",
|
|
2101
|
+
"<%= config.bin %> proxy env --shell fish",
|
|
2102
|
+
"eval \"$(rulemetric proxy env)\"",
|
|
2103
|
+
"rulemetric proxy env --python"
|
|
2117
2104
|
],
|
|
2118
2105
|
"flags": {
|
|
2119
2106
|
"api-url": {
|
|
@@ -2124,11 +2111,49 @@
|
|
|
2124
2111
|
"hasDynamicHelp": false,
|
|
2125
2112
|
"multiple": false,
|
|
2126
2113
|
"type": "option"
|
|
2114
|
+
},
|
|
2115
|
+
"shell": {
|
|
2116
|
+
"char": "s",
|
|
2117
|
+
"description": "Shell format (posix, fish, powershell)",
|
|
2118
|
+
"name": "shell",
|
|
2119
|
+
"default": "posix",
|
|
2120
|
+
"hasDynamicHelp": false,
|
|
2121
|
+
"multiple": false,
|
|
2122
|
+
"options": [
|
|
2123
|
+
"posix",
|
|
2124
|
+
"fish",
|
|
2125
|
+
"powershell"
|
|
2126
|
+
],
|
|
2127
|
+
"type": "option"
|
|
2128
|
+
},
|
|
2129
|
+
"python": {
|
|
2130
|
+
"description": "Include Python-specific env vars (REQUESTS_CA_BUNDLE, SSL_CERT_FILE)",
|
|
2131
|
+
"name": "python",
|
|
2132
|
+
"allowNo": false,
|
|
2133
|
+
"type": "boolean"
|
|
2134
|
+
},
|
|
2135
|
+
"node": {
|
|
2136
|
+
"description": "Include Node.js-specific env vars (NODE_EXTRA_CA_CERTS)",
|
|
2137
|
+
"name": "node",
|
|
2138
|
+
"allowNo": false,
|
|
2139
|
+
"type": "boolean"
|
|
2140
|
+
},
|
|
2141
|
+
"all": {
|
|
2142
|
+
"description": "Include env vars for all runtimes",
|
|
2143
|
+
"name": "all",
|
|
2144
|
+
"allowNo": false,
|
|
2145
|
+
"type": "boolean"
|
|
2146
|
+
},
|
|
2147
|
+
"vscode": {
|
|
2148
|
+
"description": "Output VS Code settings.json snippet for Copilot proxy",
|
|
2149
|
+
"name": "vscode",
|
|
2150
|
+
"allowNo": false,
|
|
2151
|
+
"type": "boolean"
|
|
2127
2152
|
}
|
|
2128
2153
|
},
|
|
2129
2154
|
"hasDynamicHelp": false,
|
|
2130
2155
|
"hiddenAliases": [],
|
|
2131
|
-
"id": "
|
|
2156
|
+
"id": "proxy:env",
|
|
2132
2157
|
"pluginAlias": "@rulemetric/cli",
|
|
2133
2158
|
"pluginName": "@rulemetric/cli",
|
|
2134
2159
|
"pluginType": "core",
|
|
@@ -2138,23 +2163,18 @@
|
|
|
2138
2163
|
"relativePath": [
|
|
2139
2164
|
"dist",
|
|
2140
2165
|
"commands",
|
|
2141
|
-
"
|
|
2142
|
-
"
|
|
2166
|
+
"proxy",
|
|
2167
|
+
"env.js"
|
|
2143
2168
|
]
|
|
2144
2169
|
},
|
|
2145
|
-
"
|
|
2170
|
+
"proxy:logs": {
|
|
2146
2171
|
"aliases": [],
|
|
2147
|
-
"args": {
|
|
2148
|
-
|
|
2149
|
-
"description": "Organization slug to switch to",
|
|
2150
|
-
"name": "slug",
|
|
2151
|
-
"required": false
|
|
2152
|
-
}
|
|
2153
|
-
},
|
|
2154
|
-
"description": "Switch the active organization",
|
|
2172
|
+
"args": {},
|
|
2173
|
+
"description": "View context capture proxy logs",
|
|
2155
2174
|
"examples": [
|
|
2156
|
-
"<%= config.bin %>
|
|
2157
|
-
"<%= config.bin %>
|
|
2175
|
+
"<%= config.bin %> proxy logs",
|
|
2176
|
+
"<%= config.bin %> proxy logs --follow",
|
|
2177
|
+
"<%= config.bin %> proxy logs --lines 50"
|
|
2158
2178
|
],
|
|
2159
2179
|
"flags": {
|
|
2160
2180
|
"api-url": {
|
|
@@ -2166,16 +2186,26 @@
|
|
|
2166
2186
|
"multiple": false,
|
|
2167
2187
|
"type": "option"
|
|
2168
2188
|
},
|
|
2169
|
-
"
|
|
2170
|
-
"
|
|
2171
|
-
"
|
|
2189
|
+
"follow": {
|
|
2190
|
+
"char": "f",
|
|
2191
|
+
"description": "Follow log output (like tail -f)",
|
|
2192
|
+
"name": "follow",
|
|
2172
2193
|
"allowNo": false,
|
|
2173
2194
|
"type": "boolean"
|
|
2195
|
+
},
|
|
2196
|
+
"lines": {
|
|
2197
|
+
"char": "n",
|
|
2198
|
+
"description": "Number of lines to show",
|
|
2199
|
+
"name": "lines",
|
|
2200
|
+
"default": 30,
|
|
2201
|
+
"hasDynamicHelp": false,
|
|
2202
|
+
"multiple": false,
|
|
2203
|
+
"type": "option"
|
|
2174
2204
|
}
|
|
2175
2205
|
},
|
|
2176
2206
|
"hasDynamicHelp": false,
|
|
2177
2207
|
"hiddenAliases": [],
|
|
2178
|
-
"id": "
|
|
2208
|
+
"id": "proxy:logs",
|
|
2179
2209
|
"pluginAlias": "@rulemetric/cli",
|
|
2180
2210
|
"pluginName": "@rulemetric/cli",
|
|
2181
2211
|
"pluginType": "core",
|
|
@@ -2185,27 +2215,16 @@
|
|
|
2185
2215
|
"relativePath": [
|
|
2186
2216
|
"dist",
|
|
2187
2217
|
"commands",
|
|
2188
|
-
"
|
|
2189
|
-
"
|
|
2218
|
+
"proxy",
|
|
2219
|
+
"logs.js"
|
|
2190
2220
|
]
|
|
2191
2221
|
},
|
|
2192
|
-
"
|
|
2222
|
+
"proxy:restart": {
|
|
2193
2223
|
"aliases": [],
|
|
2194
|
-
"args": {
|
|
2195
|
-
|
|
2196
|
-
"description": "Pack ID",
|
|
2197
|
-
"name": "packId",
|
|
2198
|
-
"required": true
|
|
2199
|
-
},
|
|
2200
|
-
"instructionId": {
|
|
2201
|
-
"description": "Instruction ID",
|
|
2202
|
-
"name": "instructionId",
|
|
2203
|
-
"required": true
|
|
2204
|
-
}
|
|
2205
|
-
},
|
|
2206
|
-
"description": "Add an instruction to a pack",
|
|
2224
|
+
"args": {},
|
|
2225
|
+
"description": "Restart the context capture proxy (stop + start)",
|
|
2207
2226
|
"examples": [
|
|
2208
|
-
"<%= config.bin %>
|
|
2227
|
+
"<%= config.bin %> proxy restart"
|
|
2209
2228
|
],
|
|
2210
2229
|
"flags": {
|
|
2211
2230
|
"api-url": {
|
|
@@ -2216,11 +2235,26 @@
|
|
|
2216
2235
|
"hasDynamicHelp": false,
|
|
2217
2236
|
"multiple": false,
|
|
2218
2237
|
"type": "option"
|
|
2238
|
+
},
|
|
2239
|
+
"port": {
|
|
2240
|
+
"char": "p",
|
|
2241
|
+
"description": "Proxy listen port",
|
|
2242
|
+
"name": "port",
|
|
2243
|
+
"hasDynamicHelp": false,
|
|
2244
|
+
"multiple": false,
|
|
2245
|
+
"type": "option"
|
|
2246
|
+
},
|
|
2247
|
+
"docker": {
|
|
2248
|
+
"char": "d",
|
|
2249
|
+
"description": "Run in Docker mode",
|
|
2250
|
+
"name": "docker",
|
|
2251
|
+
"allowNo": false,
|
|
2252
|
+
"type": "boolean"
|
|
2219
2253
|
}
|
|
2220
2254
|
},
|
|
2221
2255
|
"hasDynamicHelp": false,
|
|
2222
2256
|
"hiddenAliases": [],
|
|
2223
|
-
"id": "
|
|
2257
|
+
"id": "proxy:restart",
|
|
2224
2258
|
"pluginAlias": "@rulemetric/cli",
|
|
2225
2259
|
"pluginName": "@rulemetric/cli",
|
|
2226
2260
|
"pluginType": "core",
|
|
@@ -2230,22 +2264,18 @@
|
|
|
2230
2264
|
"relativePath": [
|
|
2231
2265
|
"dist",
|
|
2232
2266
|
"commands",
|
|
2233
|
-
"
|
|
2234
|
-
"
|
|
2267
|
+
"proxy",
|
|
2268
|
+
"restart.js"
|
|
2235
2269
|
]
|
|
2236
2270
|
},
|
|
2237
|
-
"
|
|
2271
|
+
"proxy:setup": {
|
|
2238
2272
|
"aliases": [],
|
|
2239
|
-
"args": {
|
|
2240
|
-
|
|
2241
|
-
"description": "Pack ID",
|
|
2242
|
-
"name": "id",
|
|
2243
|
-
"required": true
|
|
2244
|
-
}
|
|
2245
|
-
},
|
|
2246
|
-
"description": "Apply a pack to a project (bulk-link all instructions)",
|
|
2273
|
+
"args": {},
|
|
2274
|
+
"description": "Set up context capture proxy (installs mitmproxy, configures shell)",
|
|
2247
2275
|
"examples": [
|
|
2248
|
-
"<%= config.bin %>
|
|
2276
|
+
"<%= config.bin %> proxy setup",
|
|
2277
|
+
"<%= config.bin %> proxy setup --shell zsh",
|
|
2278
|
+
"<%= config.bin %> proxy setup --check"
|
|
2249
2279
|
],
|
|
2250
2280
|
"flags": {
|
|
2251
2281
|
"api-url": {
|
|
@@ -2257,19 +2287,38 @@
|
|
|
2257
2287
|
"multiple": false,
|
|
2258
2288
|
"type": "option"
|
|
2259
2289
|
},
|
|
2260
|
-
"
|
|
2290
|
+
"shell": {
|
|
2291
|
+
"description": "Shell to configure (auto-detected if omitted)",
|
|
2292
|
+
"name": "shell",
|
|
2293
|
+
"hasDynamicHelp": false,
|
|
2294
|
+
"multiple": false,
|
|
2295
|
+
"options": [
|
|
2296
|
+
"zsh",
|
|
2297
|
+
"bash",
|
|
2298
|
+
"fish",
|
|
2299
|
+
"powershell"
|
|
2300
|
+
],
|
|
2301
|
+
"type": "option"
|
|
2302
|
+
},
|
|
2303
|
+
"port": {
|
|
2261
2304
|
"char": "p",
|
|
2262
|
-
"description": "
|
|
2263
|
-
"name": "
|
|
2264
|
-
"
|
|
2305
|
+
"description": "Proxy listen port",
|
|
2306
|
+
"name": "port",
|
|
2307
|
+
"default": 8787,
|
|
2265
2308
|
"hasDynamicHelp": false,
|
|
2266
2309
|
"multiple": false,
|
|
2267
2310
|
"type": "option"
|
|
2311
|
+
},
|
|
2312
|
+
"check": {
|
|
2313
|
+
"description": "Only check prerequisites, do not install anything",
|
|
2314
|
+
"name": "check",
|
|
2315
|
+
"allowNo": false,
|
|
2316
|
+
"type": "boolean"
|
|
2268
2317
|
}
|
|
2269
2318
|
},
|
|
2270
2319
|
"hasDynamicHelp": false,
|
|
2271
2320
|
"hiddenAliases": [],
|
|
2272
|
-
"id": "
|
|
2321
|
+
"id": "proxy:setup",
|
|
2273
2322
|
"pluginAlias": "@rulemetric/cli",
|
|
2274
2323
|
"pluginName": "@rulemetric/cli",
|
|
2275
2324
|
"pluginType": "core",
|
|
@@ -2279,16 +2328,19 @@
|
|
|
2279
2328
|
"relativePath": [
|
|
2280
2329
|
"dist",
|
|
2281
2330
|
"commands",
|
|
2282
|
-
"
|
|
2283
|
-
"
|
|
2331
|
+
"proxy",
|
|
2332
|
+
"setup.js"
|
|
2284
2333
|
]
|
|
2285
2334
|
},
|
|
2286
|
-
"
|
|
2335
|
+
"proxy:start": {
|
|
2287
2336
|
"aliases": [],
|
|
2288
2337
|
"args": {},
|
|
2289
|
-
"description": "
|
|
2338
|
+
"description": "Start context capture proxy",
|
|
2290
2339
|
"examples": [
|
|
2291
|
-
"<%= config.bin %>
|
|
2340
|
+
"<%= config.bin %> proxy start",
|
|
2341
|
+
"<%= config.bin %> proxy start --docker",
|
|
2342
|
+
"<%= config.bin %> proxy start --port 9090",
|
|
2343
|
+
"<%= config.bin %> proxy start --web"
|
|
2292
2344
|
],
|
|
2293
2345
|
"flags": {
|
|
2294
2346
|
"api-url": {
|
|
@@ -2300,50 +2352,44 @@
|
|
|
2300
2352
|
"multiple": false,
|
|
2301
2353
|
"type": "option"
|
|
2302
2354
|
},
|
|
2303
|
-
"
|
|
2304
|
-
"char": "
|
|
2305
|
-
"description": "
|
|
2306
|
-
"name": "
|
|
2307
|
-
"
|
|
2355
|
+
"port": {
|
|
2356
|
+
"char": "p",
|
|
2357
|
+
"description": "Proxy listen port",
|
|
2358
|
+
"name": "port",
|
|
2359
|
+
"default": 8788,
|
|
2308
2360
|
"hasDynamicHelp": false,
|
|
2309
2361
|
"multiple": false,
|
|
2310
2362
|
"type": "option"
|
|
2311
2363
|
},
|
|
2312
|
-
"
|
|
2364
|
+
"docker": {
|
|
2313
2365
|
"char": "d",
|
|
2314
|
-
"description": "
|
|
2315
|
-
"name": "
|
|
2316
|
-
"
|
|
2317
|
-
"
|
|
2318
|
-
"multiple": false,
|
|
2319
|
-
"type": "option"
|
|
2366
|
+
"description": "Run proxy in Docker (no local mitmproxy needed)",
|
|
2367
|
+
"name": "docker",
|
|
2368
|
+
"allowNo": false,
|
|
2369
|
+
"type": "boolean"
|
|
2320
2370
|
},
|
|
2321
|
-
"
|
|
2322
|
-
"
|
|
2323
|
-
"
|
|
2324
|
-
"
|
|
2325
|
-
"
|
|
2326
|
-
"hasDynamicHelp": false,
|
|
2327
|
-
"multiple": false,
|
|
2328
|
-
"options": [
|
|
2329
|
-
"org",
|
|
2330
|
-
"team",
|
|
2331
|
-
"personal"
|
|
2332
|
-
],
|
|
2333
|
-
"type": "option"
|
|
2371
|
+
"web": {
|
|
2372
|
+
"description": "Launch mitmweb debug UI instead of mitmdump (local mode only)",
|
|
2373
|
+
"name": "web",
|
|
2374
|
+
"allowNo": false,
|
|
2375
|
+
"type": "boolean"
|
|
2334
2376
|
},
|
|
2335
|
-
"
|
|
2336
|
-
"
|
|
2337
|
-
"
|
|
2338
|
-
"
|
|
2339
|
-
"
|
|
2340
|
-
|
|
2341
|
-
|
|
2377
|
+
"skip-checks": {
|
|
2378
|
+
"description": "Skip prerequisite checks",
|
|
2379
|
+
"name": "skip-checks",
|
|
2380
|
+
"allowNo": false,
|
|
2381
|
+
"type": "boolean"
|
|
2382
|
+
},
|
|
2383
|
+
"build": {
|
|
2384
|
+
"description": "Force rebuild Docker image",
|
|
2385
|
+
"name": "build",
|
|
2386
|
+
"allowNo": false,
|
|
2387
|
+
"type": "boolean"
|
|
2342
2388
|
}
|
|
2343
2389
|
},
|
|
2344
2390
|
"hasDynamicHelp": false,
|
|
2345
2391
|
"hiddenAliases": [],
|
|
2346
|
-
"id": "
|
|
2392
|
+
"id": "proxy:start",
|
|
2347
2393
|
"pluginAlias": "@rulemetric/cli",
|
|
2348
2394
|
"pluginName": "@rulemetric/cli",
|
|
2349
2395
|
"pluginType": "core",
|
|
@@ -2353,22 +2399,16 @@
|
|
|
2353
2399
|
"relativePath": [
|
|
2354
2400
|
"dist",
|
|
2355
2401
|
"commands",
|
|
2356
|
-
"
|
|
2357
|
-
"
|
|
2402
|
+
"proxy",
|
|
2403
|
+
"start.js"
|
|
2358
2404
|
]
|
|
2359
2405
|
},
|
|
2360
|
-
"
|
|
2406
|
+
"proxy:status": {
|
|
2361
2407
|
"aliases": [],
|
|
2362
|
-
"args": {
|
|
2363
|
-
|
|
2364
|
-
"description": "ID of the pack to fork",
|
|
2365
|
-
"name": "id",
|
|
2366
|
-
"required": true
|
|
2367
|
-
}
|
|
2368
|
-
},
|
|
2369
|
-
"description": "Fork a pack to your personal scope",
|
|
2408
|
+
"args": {},
|
|
2409
|
+
"description": "Check gateway and context capture proxy status",
|
|
2370
2410
|
"examples": [
|
|
2371
|
-
"<%= config.bin %>
|
|
2411
|
+
"<%= config.bin %> proxy status"
|
|
2372
2412
|
],
|
|
2373
2413
|
"flags": {
|
|
2374
2414
|
"api-url": {
|
|
@@ -2383,7 +2423,7 @@
|
|
|
2383
2423
|
},
|
|
2384
2424
|
"hasDynamicHelp": false,
|
|
2385
2425
|
"hiddenAliases": [],
|
|
2386
|
-
"id": "
|
|
2426
|
+
"id": "proxy:status",
|
|
2387
2427
|
"pluginAlias": "@rulemetric/cli",
|
|
2388
2428
|
"pluginName": "@rulemetric/cli",
|
|
2389
2429
|
"pluginType": "core",
|
|
@@ -2393,22 +2433,16 @@
|
|
|
2393
2433
|
"relativePath": [
|
|
2394
2434
|
"dist",
|
|
2395
2435
|
"commands",
|
|
2396
|
-
"
|
|
2397
|
-
"
|
|
2436
|
+
"proxy",
|
|
2437
|
+
"status.js"
|
|
2398
2438
|
]
|
|
2399
2439
|
},
|
|
2400
|
-
"
|
|
2440
|
+
"proxy:stop": {
|
|
2401
2441
|
"aliases": [],
|
|
2402
|
-
"args": {
|
|
2403
|
-
|
|
2404
|
-
"description": "Pack ID",
|
|
2405
|
-
"name": "id",
|
|
2406
|
-
"required": true
|
|
2407
|
-
}
|
|
2408
|
-
},
|
|
2409
|
-
"description": "Get pack detail with instruction list",
|
|
2442
|
+
"args": {},
|
|
2443
|
+
"description": "Stop the context capture proxy",
|
|
2410
2444
|
"examples": [
|
|
2411
|
-
"<%= config.bin %>
|
|
2445
|
+
"<%= config.bin %> proxy stop"
|
|
2412
2446
|
],
|
|
2413
2447
|
"flags": {
|
|
2414
2448
|
"api-url": {
|
|
@@ -2423,7 +2457,7 @@
|
|
|
2423
2457
|
},
|
|
2424
2458
|
"hasDynamicHelp": false,
|
|
2425
2459
|
"hiddenAliases": [],
|
|
2426
|
-
"id": "
|
|
2460
|
+
"id": "proxy:stop",
|
|
2427
2461
|
"pluginAlias": "@rulemetric/cli",
|
|
2428
2462
|
"pluginName": "@rulemetric/cli",
|
|
2429
2463
|
"pluginType": "core",
|
|
@@ -2433,26 +2467,19 @@
|
|
|
2433
2467
|
"relativePath": [
|
|
2434
2468
|
"dist",
|
|
2435
2469
|
"commands",
|
|
2436
|
-
"
|
|
2437
|
-
"
|
|
2470
|
+
"proxy",
|
|
2471
|
+
"stop.js"
|
|
2438
2472
|
]
|
|
2439
2473
|
},
|
|
2440
|
-
"
|
|
2474
|
+
"research:backfill": {
|
|
2441
2475
|
"aliases": [],
|
|
2442
2476
|
"args": {},
|
|
2443
|
-
"description": "
|
|
2477
|
+
"description": "Scan every ~/.claude/projects transcript for past rate-limit (429) events and POST them as observations. Opt-in seed for the usage-research dataset — forward-only tail is the default capture path.",
|
|
2444
2478
|
"examples": [
|
|
2445
|
-
"<%= config.bin %>
|
|
2446
|
-
"<%= config.bin %>
|
|
2479
|
+
"<%= config.bin %> research backfill",
|
|
2480
|
+
"<%= config.bin %> research backfill --claude-dir /custom/.claude --dry-run"
|
|
2447
2481
|
],
|
|
2448
2482
|
"flags": {
|
|
2449
|
-
"json": {
|
|
2450
|
-
"description": "Format output as json.",
|
|
2451
|
-
"helpGroup": "GLOBAL",
|
|
2452
|
-
"name": "json",
|
|
2453
|
-
"allowNo": false,
|
|
2454
|
-
"type": "boolean"
|
|
2455
|
-
},
|
|
2456
2483
|
"api-url": {
|
|
2457
2484
|
"description": "Override API base URL",
|
|
2458
2485
|
"env": "RULEMETRIC_API_URL",
|
|
@@ -2462,54 +2489,47 @@
|
|
|
2462
2489
|
"multiple": false,
|
|
2463
2490
|
"type": "option"
|
|
2464
2491
|
},
|
|
2465
|
-
"
|
|
2466
|
-
"
|
|
2467
|
-
"
|
|
2468
|
-
"
|
|
2469
|
-
"default": "table",
|
|
2492
|
+
"claude-dir": {
|
|
2493
|
+
"description": "Override the Claude Code projects directory",
|
|
2494
|
+
"name": "claude-dir",
|
|
2495
|
+
"default": "/home/runner/.claude",
|
|
2470
2496
|
"hasDynamicHelp": false,
|
|
2471
2497
|
"multiple": false,
|
|
2472
|
-
"options": [
|
|
2473
|
-
"table",
|
|
2474
|
-
"json"
|
|
2475
|
-
],
|
|
2476
2498
|
"type": "option"
|
|
2499
|
+
},
|
|
2500
|
+
"dry-run": {
|
|
2501
|
+
"description": "Print observation count without POSTing",
|
|
2502
|
+
"name": "dry-run",
|
|
2503
|
+
"allowNo": false,
|
|
2504
|
+
"type": "boolean"
|
|
2477
2505
|
}
|
|
2478
2506
|
},
|
|
2479
2507
|
"hasDynamicHelp": false,
|
|
2480
2508
|
"hiddenAliases": [],
|
|
2481
|
-
"id": "
|
|
2509
|
+
"id": "research:backfill",
|
|
2482
2510
|
"pluginAlias": "@rulemetric/cli",
|
|
2483
2511
|
"pluginName": "@rulemetric/cli",
|
|
2484
2512
|
"pluginType": "core",
|
|
2485
2513
|
"strict": true,
|
|
2486
|
-
"enableJsonFlag":
|
|
2514
|
+
"enableJsonFlag": false,
|
|
2487
2515
|
"isESM": true,
|
|
2488
2516
|
"relativePath": [
|
|
2489
2517
|
"dist",
|
|
2490
2518
|
"commands",
|
|
2491
|
-
"
|
|
2492
|
-
"
|
|
2519
|
+
"research",
|
|
2520
|
+
"backfill.js"
|
|
2493
2521
|
]
|
|
2494
2522
|
},
|
|
2495
|
-
"
|
|
2523
|
+
"research:tail-transcript": {
|
|
2496
2524
|
"aliases": [],
|
|
2497
2525
|
"args": {
|
|
2498
|
-
"
|
|
2499
|
-
"description": "
|
|
2500
|
-
"name": "
|
|
2501
|
-
"required": true
|
|
2502
|
-
},
|
|
2503
|
-
"instructionId": {
|
|
2504
|
-
"description": "Instruction ID",
|
|
2505
|
-
"name": "instructionId",
|
|
2526
|
+
"transcript": {
|
|
2527
|
+
"description": "Absolute path to a Claude Code .jsonl transcript",
|
|
2528
|
+
"name": "transcript",
|
|
2506
2529
|
"required": true
|
|
2507
2530
|
}
|
|
2508
2531
|
},
|
|
2509
|
-
"description": "
|
|
2510
|
-
"examples": [
|
|
2511
|
-
"<%= config.bin %> packs remove-instruction <pack-id> <instruction-id>"
|
|
2512
|
-
],
|
|
2532
|
+
"description": "Read new lines from a Claude Code transcript since the last cached offset, POST any 429 events, and persist the new offset. Invoked by the session-end hook — safe to re-run.",
|
|
2513
2533
|
"flags": {
|
|
2514
2534
|
"api-url": {
|
|
2515
2535
|
"description": "Override API base URL",
|
|
@@ -2519,11 +2539,18 @@
|
|
|
2519
2539
|
"hasDynamicHelp": false,
|
|
2520
2540
|
"multiple": false,
|
|
2521
2541
|
"type": "option"
|
|
2542
|
+
},
|
|
2543
|
+
"no-post": {
|
|
2544
|
+
"description": "Parse and advance the offset without POSTing (debug)",
|
|
2545
|
+
"name": "no-post",
|
|
2546
|
+
"allowNo": false,
|
|
2547
|
+
"type": "boolean"
|
|
2522
2548
|
}
|
|
2523
2549
|
},
|
|
2524
2550
|
"hasDynamicHelp": false,
|
|
2551
|
+
"hidden": true,
|
|
2525
2552
|
"hiddenAliases": [],
|
|
2526
|
-
"id": "
|
|
2553
|
+
"id": "research:tail-transcript",
|
|
2527
2554
|
"pluginAlias": "@rulemetric/cli",
|
|
2528
2555
|
"pluginName": "@rulemetric/cli",
|
|
2529
2556
|
"pluginType": "core",
|
|
@@ -2533,19 +2560,20 @@
|
|
|
2533
2560
|
"relativePath": [
|
|
2534
2561
|
"dist",
|
|
2535
2562
|
"commands",
|
|
2536
|
-
"
|
|
2537
|
-
"
|
|
2563
|
+
"research",
|
|
2564
|
+
"tail-transcript.js"
|
|
2538
2565
|
]
|
|
2539
2566
|
},
|
|
2540
|
-
"
|
|
2567
|
+
"service:install": {
|
|
2541
2568
|
"aliases": [],
|
|
2542
2569
|
"args": {},
|
|
2543
|
-
"description": "
|
|
2570
|
+
"description": "Install RuleMetric services. Default (in a repo checkout): API + worker + gateway + capture proxy as launchd agents. With --worker-only: just the job worker, targeting the globally-installed CLI — no repo, no build (works from `npm i -g @rulemetric/cli`, macOS launchd or Linux systemd).",
|
|
2544
2571
|
"examples": [
|
|
2545
|
-
"<%= config.bin %>
|
|
2546
|
-
"<%= config.bin %>
|
|
2547
|
-
"
|
|
2548
|
-
"
|
|
2572
|
+
"<%= config.bin %> service install",
|
|
2573
|
+
"<%= config.bin %> service install --port 3000",
|
|
2574
|
+
"<%= config.bin %> service install --skip-build",
|
|
2575
|
+
"<%= config.bin %> service install --no-proxy",
|
|
2576
|
+
"<%= config.bin %> service install --worker-only"
|
|
2549
2577
|
],
|
|
2550
2578
|
"flags": {
|
|
2551
2579
|
"api-url": {
|
|
@@ -2557,48 +2585,44 @@
|
|
|
2557
2585
|
"multiple": false,
|
|
2558
2586
|
"type": "option"
|
|
2559
2587
|
},
|
|
2560
|
-
"
|
|
2561
|
-
"char": "
|
|
2562
|
-
"description": "
|
|
2563
|
-
"name": "
|
|
2564
|
-
"default":
|
|
2588
|
+
"port": {
|
|
2589
|
+
"char": "p",
|
|
2590
|
+
"description": "API server port",
|
|
2591
|
+
"name": "port",
|
|
2592
|
+
"default": 3000,
|
|
2565
2593
|
"hasDynamicHelp": false,
|
|
2566
2594
|
"multiple": false,
|
|
2567
|
-
"options": [
|
|
2568
|
-
"posix",
|
|
2569
|
-
"fish",
|
|
2570
|
-
"powershell"
|
|
2571
|
-
],
|
|
2572
2595
|
"type": "option"
|
|
2573
2596
|
},
|
|
2574
|
-
"
|
|
2575
|
-
"
|
|
2576
|
-
"
|
|
2597
|
+
"force": {
|
|
2598
|
+
"char": "f",
|
|
2599
|
+
"description": "Overwrite existing service configuration and reclaim conflicting ports",
|
|
2600
|
+
"name": "force",
|
|
2577
2601
|
"allowNo": false,
|
|
2578
2602
|
"type": "boolean"
|
|
2579
2603
|
},
|
|
2580
|
-
"
|
|
2581
|
-
"description": "
|
|
2582
|
-
"name": "
|
|
2604
|
+
"skip-build": {
|
|
2605
|
+
"description": "Skip the pre-install workspace build (API/web/cli dist must already exist)",
|
|
2606
|
+
"name": "skip-build",
|
|
2583
2607
|
"allowNo": false,
|
|
2584
2608
|
"type": "boolean"
|
|
2585
2609
|
},
|
|
2586
|
-
"
|
|
2587
|
-
"description": "
|
|
2588
|
-
"name": "
|
|
2610
|
+
"no-proxy": {
|
|
2611
|
+
"description": "Skip gateway + mitmproxy plists (just install API + worker)",
|
|
2612
|
+
"name": "no-proxy",
|
|
2589
2613
|
"allowNo": false,
|
|
2590
2614
|
"type": "boolean"
|
|
2591
2615
|
},
|
|
2592
|
-
"
|
|
2593
|
-
"description": "
|
|
2594
|
-
"name": "
|
|
2616
|
+
"worker-only": {
|
|
2617
|
+
"description": "Install ONLY the job worker as a persistent service, targeting the globally-installed CLI (no repo checkout, no build, no API/gateway/proxy). Sources auth from ~/.config/rulemetric/env. macOS (launchd) + Linux (systemd --user).",
|
|
2618
|
+
"name": "worker-only",
|
|
2595
2619
|
"allowNo": false,
|
|
2596
2620
|
"type": "boolean"
|
|
2597
2621
|
}
|
|
2598
2622
|
},
|
|
2599
2623
|
"hasDynamicHelp": false,
|
|
2600
2624
|
"hiddenAliases": [],
|
|
2601
|
-
"id": "
|
|
2625
|
+
"id": "service:install",
|
|
2602
2626
|
"pluginAlias": "@rulemetric/cli",
|
|
2603
2627
|
"pluginName": "@rulemetric/cli",
|
|
2604
2628
|
"pluginType": "core",
|
|
@@ -2608,19 +2632,14 @@
|
|
|
2608
2632
|
"relativePath": [
|
|
2609
2633
|
"dist",
|
|
2610
2634
|
"commands",
|
|
2611
|
-
"
|
|
2612
|
-
"
|
|
2635
|
+
"service",
|
|
2636
|
+
"install.js"
|
|
2613
2637
|
]
|
|
2614
2638
|
},
|
|
2615
|
-
"
|
|
2639
|
+
"service:status": {
|
|
2616
2640
|
"aliases": [],
|
|
2617
2641
|
"args": {},
|
|
2618
|
-
"description": "
|
|
2619
|
-
"examples": [
|
|
2620
|
-
"<%= config.bin %> proxy logs",
|
|
2621
|
-
"<%= config.bin %> proxy logs --follow",
|
|
2622
|
-
"<%= config.bin %> proxy logs --lines 50"
|
|
2623
|
-
],
|
|
2642
|
+
"description": "Check the status of all RuleMetric launchd services",
|
|
2624
2643
|
"flags": {
|
|
2625
2644
|
"api-url": {
|
|
2626
2645
|
"description": "Override API base URL",
|
|
@@ -2630,27 +2649,11 @@
|
|
|
2630
2649
|
"hasDynamicHelp": false,
|
|
2631
2650
|
"multiple": false,
|
|
2632
2651
|
"type": "option"
|
|
2633
|
-
},
|
|
2634
|
-
"follow": {
|
|
2635
|
-
"char": "f",
|
|
2636
|
-
"description": "Follow log output (like tail -f)",
|
|
2637
|
-
"name": "follow",
|
|
2638
|
-
"allowNo": false,
|
|
2639
|
-
"type": "boolean"
|
|
2640
|
-
},
|
|
2641
|
-
"lines": {
|
|
2642
|
-
"char": "n",
|
|
2643
|
-
"description": "Number of lines to show",
|
|
2644
|
-
"name": "lines",
|
|
2645
|
-
"default": 30,
|
|
2646
|
-
"hasDynamicHelp": false,
|
|
2647
|
-
"multiple": false,
|
|
2648
|
-
"type": "option"
|
|
2649
2652
|
}
|
|
2650
2653
|
},
|
|
2651
2654
|
"hasDynamicHelp": false,
|
|
2652
2655
|
"hiddenAliases": [],
|
|
2653
|
-
"id": "
|
|
2656
|
+
"id": "service:status",
|
|
2654
2657
|
"pluginAlias": "@rulemetric/cli",
|
|
2655
2658
|
"pluginName": "@rulemetric/cli",
|
|
2656
2659
|
"pluginType": "core",
|
|
@@ -2660,17 +2663,14 @@
|
|
|
2660
2663
|
"relativePath": [
|
|
2661
2664
|
"dist",
|
|
2662
2665
|
"commands",
|
|
2663
|
-
"
|
|
2664
|
-
"
|
|
2666
|
+
"service",
|
|
2667
|
+
"status.js"
|
|
2665
2668
|
]
|
|
2666
2669
|
},
|
|
2667
|
-
"
|
|
2670
|
+
"service:uninstall": {
|
|
2668
2671
|
"aliases": [],
|
|
2669
2672
|
"args": {},
|
|
2670
|
-
"description": "
|
|
2671
|
-
"examples": [
|
|
2672
|
-
"<%= config.bin %> proxy restart"
|
|
2673
|
-
],
|
|
2673
|
+
"description": "Remove RuleMetric services (macOS launchd: API/worker/gateway/proxy; Linux: the --worker-only systemd unit)",
|
|
2674
2674
|
"flags": {
|
|
2675
2675
|
"api-url": {
|
|
2676
2676
|
"description": "Override API base URL",
|
|
@@ -2680,26 +2680,11 @@
|
|
|
2680
2680
|
"hasDynamicHelp": false,
|
|
2681
2681
|
"multiple": false,
|
|
2682
2682
|
"type": "option"
|
|
2683
|
-
},
|
|
2684
|
-
"port": {
|
|
2685
|
-
"char": "p",
|
|
2686
|
-
"description": "Proxy listen port",
|
|
2687
|
-
"name": "port",
|
|
2688
|
-
"hasDynamicHelp": false,
|
|
2689
|
-
"multiple": false,
|
|
2690
|
-
"type": "option"
|
|
2691
|
-
},
|
|
2692
|
-
"docker": {
|
|
2693
|
-
"char": "d",
|
|
2694
|
-
"description": "Run in Docker mode",
|
|
2695
|
-
"name": "docker",
|
|
2696
|
-
"allowNo": false,
|
|
2697
|
-
"type": "boolean"
|
|
2698
2683
|
}
|
|
2699
2684
|
},
|
|
2700
2685
|
"hasDynamicHelp": false,
|
|
2701
2686
|
"hiddenAliases": [],
|
|
2702
|
-
"id": "
|
|
2687
|
+
"id": "service:uninstall",
|
|
2703
2688
|
"pluginAlias": "@rulemetric/cli",
|
|
2704
2689
|
"pluginName": "@rulemetric/cli",
|
|
2705
2690
|
"pluginType": "core",
|
|
@@ -2709,18 +2694,22 @@
|
|
|
2709
2694
|
"relativePath": [
|
|
2710
2695
|
"dist",
|
|
2711
2696
|
"commands",
|
|
2712
|
-
"
|
|
2713
|
-
"
|
|
2697
|
+
"service",
|
|
2698
|
+
"uninstall.js"
|
|
2714
2699
|
]
|
|
2715
2700
|
},
|
|
2716
|
-
"
|
|
2701
|
+
"sessions:analyze": {
|
|
2717
2702
|
"aliases": [],
|
|
2718
|
-
"args": {
|
|
2719
|
-
|
|
2703
|
+
"args": {
|
|
2704
|
+
"id": {
|
|
2705
|
+
"description": "Session ID",
|
|
2706
|
+
"name": "id",
|
|
2707
|
+
"required": true
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
"description": "Trigger AI analysis on a session",
|
|
2720
2711
|
"examples": [
|
|
2721
|
-
"<%= config.bin %>
|
|
2722
|
-
"<%= config.bin %> proxy setup --shell zsh",
|
|
2723
|
-
"<%= config.bin %> proxy setup --check"
|
|
2712
|
+
"<%= config.bin %> sessions analyze <session-id>"
|
|
2724
2713
|
],
|
|
2725
2714
|
"flags": {
|
|
2726
2715
|
"api-url": {
|
|
@@ -2731,39 +2720,11 @@
|
|
|
2731
2720
|
"hasDynamicHelp": false,
|
|
2732
2721
|
"multiple": false,
|
|
2733
2722
|
"type": "option"
|
|
2734
|
-
},
|
|
2735
|
-
"shell": {
|
|
2736
|
-
"description": "Shell to configure (auto-detected if omitted)",
|
|
2737
|
-
"name": "shell",
|
|
2738
|
-
"hasDynamicHelp": false,
|
|
2739
|
-
"multiple": false,
|
|
2740
|
-
"options": [
|
|
2741
|
-
"zsh",
|
|
2742
|
-
"bash",
|
|
2743
|
-
"fish",
|
|
2744
|
-
"powershell"
|
|
2745
|
-
],
|
|
2746
|
-
"type": "option"
|
|
2747
|
-
},
|
|
2748
|
-
"port": {
|
|
2749
|
-
"char": "p",
|
|
2750
|
-
"description": "Proxy listen port",
|
|
2751
|
-
"name": "port",
|
|
2752
|
-
"default": 8787,
|
|
2753
|
-
"hasDynamicHelp": false,
|
|
2754
|
-
"multiple": false,
|
|
2755
|
-
"type": "option"
|
|
2756
|
-
},
|
|
2757
|
-
"check": {
|
|
2758
|
-
"description": "Only check prerequisites, do not install anything",
|
|
2759
|
-
"name": "check",
|
|
2760
|
-
"allowNo": false,
|
|
2761
|
-
"type": "boolean"
|
|
2762
2723
|
}
|
|
2763
2724
|
},
|
|
2764
2725
|
"hasDynamicHelp": false,
|
|
2765
2726
|
"hiddenAliases": [],
|
|
2766
|
-
"id": "
|
|
2727
|
+
"id": "sessions:analyze",
|
|
2767
2728
|
"pluginAlias": "@rulemetric/cli",
|
|
2768
2729
|
"pluginName": "@rulemetric/cli",
|
|
2769
2730
|
"pluginType": "core",
|
|
@@ -2773,19 +2734,16 @@
|
|
|
2773
2734
|
"relativePath": [
|
|
2774
2735
|
"dist",
|
|
2775
2736
|
"commands",
|
|
2776
|
-
"
|
|
2777
|
-
"
|
|
2737
|
+
"sessions",
|
|
2738
|
+
"analyze.js"
|
|
2778
2739
|
]
|
|
2779
2740
|
},
|
|
2780
|
-
"
|
|
2741
|
+
"sessions:end": {
|
|
2781
2742
|
"aliases": [],
|
|
2782
2743
|
"args": {},
|
|
2783
|
-
"description": "
|
|
2744
|
+
"description": "End the active capture session",
|
|
2784
2745
|
"examples": [
|
|
2785
|
-
"<%= config.bin %>
|
|
2786
|
-
"<%= config.bin %> proxy start --docker",
|
|
2787
|
-
"<%= config.bin %> proxy start --port 9090",
|
|
2788
|
-
"<%= config.bin %> proxy start --web"
|
|
2746
|
+
"<%= config.bin %> sessions end"
|
|
2789
2747
|
],
|
|
2790
2748
|
"flags": {
|
|
2791
2749
|
"api-url": {
|
|
@@ -2796,45 +2754,11 @@
|
|
|
2796
2754
|
"hasDynamicHelp": false,
|
|
2797
2755
|
"multiple": false,
|
|
2798
2756
|
"type": "option"
|
|
2799
|
-
},
|
|
2800
|
-
"port": {
|
|
2801
|
-
"char": "p",
|
|
2802
|
-
"description": "Proxy listen port",
|
|
2803
|
-
"name": "port",
|
|
2804
|
-
"default": 8788,
|
|
2805
|
-
"hasDynamicHelp": false,
|
|
2806
|
-
"multiple": false,
|
|
2807
|
-
"type": "option"
|
|
2808
|
-
},
|
|
2809
|
-
"docker": {
|
|
2810
|
-
"char": "d",
|
|
2811
|
-
"description": "Run proxy in Docker (no local mitmproxy needed)",
|
|
2812
|
-
"name": "docker",
|
|
2813
|
-
"allowNo": false,
|
|
2814
|
-
"type": "boolean"
|
|
2815
|
-
},
|
|
2816
|
-
"web": {
|
|
2817
|
-
"description": "Launch mitmweb debug UI instead of mitmdump (local mode only)",
|
|
2818
|
-
"name": "web",
|
|
2819
|
-
"allowNo": false,
|
|
2820
|
-
"type": "boolean"
|
|
2821
|
-
},
|
|
2822
|
-
"skip-checks": {
|
|
2823
|
-
"description": "Skip prerequisite checks",
|
|
2824
|
-
"name": "skip-checks",
|
|
2825
|
-
"allowNo": false,
|
|
2826
|
-
"type": "boolean"
|
|
2827
|
-
},
|
|
2828
|
-
"build": {
|
|
2829
|
-
"description": "Force rebuild Docker image",
|
|
2830
|
-
"name": "build",
|
|
2831
|
-
"allowNo": false,
|
|
2832
|
-
"type": "boolean"
|
|
2833
2757
|
}
|
|
2834
2758
|
},
|
|
2835
2759
|
"hasDynamicHelp": false,
|
|
2836
2760
|
"hiddenAliases": [],
|
|
2837
|
-
"id": "
|
|
2761
|
+
"id": "sessions:end",
|
|
2838
2762
|
"pluginAlias": "@rulemetric/cli",
|
|
2839
2763
|
"pluginName": "@rulemetric/cli",
|
|
2840
2764
|
"pluginType": "core",
|
|
@@ -2844,16 +2768,23 @@
|
|
|
2844
2768
|
"relativePath": [
|
|
2845
2769
|
"dist",
|
|
2846
2770
|
"commands",
|
|
2847
|
-
"
|
|
2848
|
-
"
|
|
2771
|
+
"sessions",
|
|
2772
|
+
"end.js"
|
|
2849
2773
|
]
|
|
2850
2774
|
},
|
|
2851
|
-
"
|
|
2775
|
+
"sessions:import": {
|
|
2852
2776
|
"aliases": [],
|
|
2853
|
-
"args": {
|
|
2854
|
-
|
|
2777
|
+
"args": {
|
|
2778
|
+
"path": {
|
|
2779
|
+
"description": "Path to session file",
|
|
2780
|
+
"name": "path",
|
|
2781
|
+
"required": true
|
|
2782
|
+
}
|
|
2783
|
+
},
|
|
2784
|
+
"description": "Import a session file (JSONL, JSON)",
|
|
2855
2785
|
"examples": [
|
|
2856
|
-
"<%= config.bin %>
|
|
2786
|
+
"<%= config.bin %> sessions import ~/.claude/projects/my-project/session-abc.jsonl",
|
|
2787
|
+
"<%= config.bin %> sessions import ./copilot-export.json --tool vscode_copilot"
|
|
2857
2788
|
],
|
|
2858
2789
|
"flags": {
|
|
2859
2790
|
"api-url": {
|
|
@@ -2864,11 +2795,18 @@
|
|
|
2864
2795
|
"hasDynamicHelp": false,
|
|
2865
2796
|
"multiple": false,
|
|
2866
2797
|
"type": "option"
|
|
2798
|
+
},
|
|
2799
|
+
"tool": {
|
|
2800
|
+
"description": "Override tool detection (claude_code, cursor, vscode_copilot)",
|
|
2801
|
+
"name": "tool",
|
|
2802
|
+
"hasDynamicHelp": false,
|
|
2803
|
+
"multiple": false,
|
|
2804
|
+
"type": "option"
|
|
2867
2805
|
}
|
|
2868
2806
|
},
|
|
2869
2807
|
"hasDynamicHelp": false,
|
|
2870
2808
|
"hiddenAliases": [],
|
|
2871
|
-
"id": "
|
|
2809
|
+
"id": "sessions:import",
|
|
2872
2810
|
"pluginAlias": "@rulemetric/cli",
|
|
2873
2811
|
"pluginName": "@rulemetric/cli",
|
|
2874
2812
|
"pluginType": "core",
|
|
@@ -2878,16 +2816,17 @@
|
|
|
2878
2816
|
"relativePath": [
|
|
2879
2817
|
"dist",
|
|
2880
2818
|
"commands",
|
|
2881
|
-
"
|
|
2882
|
-
"
|
|
2819
|
+
"sessions",
|
|
2820
|
+
"import.js"
|
|
2883
2821
|
]
|
|
2884
2822
|
},
|
|
2885
|
-
"
|
|
2823
|
+
"sessions:list": {
|
|
2886
2824
|
"aliases": [],
|
|
2887
2825
|
"args": {},
|
|
2888
|
-
"description": "
|
|
2826
|
+
"description": "List captured sessions",
|
|
2889
2827
|
"examples": [
|
|
2890
|
-
"<%= config.bin %>
|
|
2828
|
+
"<%= config.bin %> sessions list",
|
|
2829
|
+
"<%= config.bin %> sessions list --tool claude_code"
|
|
2891
2830
|
],
|
|
2892
2831
|
"flags": {
|
|
2893
2832
|
"api-url": {
|
|
@@ -2898,11 +2837,26 @@
|
|
|
2898
2837
|
"hasDynamicHelp": false,
|
|
2899
2838
|
"multiple": false,
|
|
2900
2839
|
"type": "option"
|
|
2840
|
+
},
|
|
2841
|
+
"tool": {
|
|
2842
|
+
"description": "Filter by tool (claude_code, cursor, vscode_copilot)",
|
|
2843
|
+
"name": "tool",
|
|
2844
|
+
"hasDynamicHelp": false,
|
|
2845
|
+
"multiple": false,
|
|
2846
|
+
"type": "option"
|
|
2847
|
+
},
|
|
2848
|
+
"limit": {
|
|
2849
|
+
"description": "Max results",
|
|
2850
|
+
"name": "limit",
|
|
2851
|
+
"default": 20,
|
|
2852
|
+
"hasDynamicHelp": false,
|
|
2853
|
+
"multiple": false,
|
|
2854
|
+
"type": "option"
|
|
2901
2855
|
}
|
|
2902
2856
|
},
|
|
2903
2857
|
"hasDynamicHelp": false,
|
|
2904
2858
|
"hiddenAliases": [],
|
|
2905
|
-
"id": "
|
|
2859
|
+
"id": "sessions:list",
|
|
2906
2860
|
"pluginAlias": "@rulemetric/cli",
|
|
2907
2861
|
"pluginName": "@rulemetric/cli",
|
|
2908
2862
|
"pluginType": "core",
|
|
@@ -2912,17 +2866,18 @@
|
|
|
2912
2866
|
"relativePath": [
|
|
2913
2867
|
"dist",
|
|
2914
2868
|
"commands",
|
|
2915
|
-
"
|
|
2916
|
-
"
|
|
2917
|
-
]
|
|
2869
|
+
"sessions",
|
|
2870
|
+
"list.js"
|
|
2871
|
+
]
|
|
2918
2872
|
},
|
|
2919
|
-
"
|
|
2873
|
+
"sessions:start": {
|
|
2920
2874
|
"aliases": [],
|
|
2921
2875
|
"args": {},
|
|
2922
|
-
"description": "
|
|
2876
|
+
"description": "Start a capture session for any LLM provider (Cortex, Groq, etc.)",
|
|
2923
2877
|
"examples": [
|
|
2924
|
-
"<%= config.bin %>
|
|
2925
|
-
"<%= config.bin %>
|
|
2878
|
+
"<%= config.bin %> sessions start --tool cortex",
|
|
2879
|
+
"<%= config.bin %> sessions start --tool groq --project-dir /path/to/project",
|
|
2880
|
+
"eval \"$(rulemetric proxy env --python)\" && rulemetric sessions start --tool cortex"
|
|
2926
2881
|
],
|
|
2927
2882
|
"flags": {
|
|
2928
2883
|
"api-url": {
|
|
@@ -2934,68 +2889,27 @@
|
|
|
2934
2889
|
"multiple": false,
|
|
2935
2890
|
"type": "option"
|
|
2936
2891
|
},
|
|
2937
|
-
"
|
|
2938
|
-
"
|
|
2939
|
-
"
|
|
2940
|
-
"
|
|
2892
|
+
"tool": {
|
|
2893
|
+
"char": "t",
|
|
2894
|
+
"description": "LLM provider or tool name (e.g., cortex, groq, deepseek, custom_app)",
|
|
2895
|
+
"name": "tool",
|
|
2896
|
+
"required": true,
|
|
2941
2897
|
"hasDynamicHelp": false,
|
|
2942
2898
|
"multiple": false,
|
|
2943
2899
|
"type": "option"
|
|
2944
2900
|
},
|
|
2945
|
-
"
|
|
2946
|
-
"
|
|
2947
|
-
"
|
|
2948
|
-
"
|
|
2949
|
-
"type": "boolean"
|
|
2950
|
-
}
|
|
2951
|
-
},
|
|
2952
|
-
"hasDynamicHelp": false,
|
|
2953
|
-
"hiddenAliases": [],
|
|
2954
|
-
"id": "research:backfill",
|
|
2955
|
-
"pluginAlias": "@rulemetric/cli",
|
|
2956
|
-
"pluginName": "@rulemetric/cli",
|
|
2957
|
-
"pluginType": "core",
|
|
2958
|
-
"strict": true,
|
|
2959
|
-
"enableJsonFlag": false,
|
|
2960
|
-
"isESM": true,
|
|
2961
|
-
"relativePath": [
|
|
2962
|
-
"dist",
|
|
2963
|
-
"commands",
|
|
2964
|
-
"research",
|
|
2965
|
-
"backfill.js"
|
|
2966
|
-
]
|
|
2967
|
-
},
|
|
2968
|
-
"research:tail-transcript": {
|
|
2969
|
-
"aliases": [],
|
|
2970
|
-
"args": {
|
|
2971
|
-
"transcript": {
|
|
2972
|
-
"description": "Absolute path to a Claude Code .jsonl transcript",
|
|
2973
|
-
"name": "transcript",
|
|
2974
|
-
"required": true
|
|
2975
|
-
}
|
|
2976
|
-
},
|
|
2977
|
-
"description": "Read new lines from a Claude Code transcript since the last cached offset, POST any 429 events, and persist the new offset. Invoked by the session-end hook — safe to re-run.",
|
|
2978
|
-
"flags": {
|
|
2979
|
-
"api-url": {
|
|
2980
|
-
"description": "Override API base URL",
|
|
2981
|
-
"env": "RULEMETRIC_API_URL",
|
|
2982
|
-
"hidden": true,
|
|
2983
|
-
"name": "api-url",
|
|
2901
|
+
"project-dir": {
|
|
2902
|
+
"char": "d",
|
|
2903
|
+
"description": "Project directory (defaults to cwd)",
|
|
2904
|
+
"name": "project-dir",
|
|
2984
2905
|
"hasDynamicHelp": false,
|
|
2985
2906
|
"multiple": false,
|
|
2986
2907
|
"type": "option"
|
|
2987
|
-
},
|
|
2988
|
-
"no-post": {
|
|
2989
|
-
"description": "Parse and advance the offset without POSTing (debug)",
|
|
2990
|
-
"name": "no-post",
|
|
2991
|
-
"allowNo": false,
|
|
2992
|
-
"type": "boolean"
|
|
2993
2908
|
}
|
|
2994
2909
|
},
|
|
2995
2910
|
"hasDynamicHelp": false,
|
|
2996
|
-
"hidden": true,
|
|
2997
2911
|
"hiddenAliases": [],
|
|
2998
|
-
"id": "
|
|
2912
|
+
"id": "sessions:start",
|
|
2999
2913
|
"pluginAlias": "@rulemetric/cli",
|
|
3000
2914
|
"pluginName": "@rulemetric/cli",
|
|
3001
2915
|
"pluginType": "core",
|
|
@@ -3005,21 +2919,14 @@
|
|
|
3005
2919
|
"relativePath": [
|
|
3006
2920
|
"dist",
|
|
3007
2921
|
"commands",
|
|
3008
|
-
"
|
|
3009
|
-
"
|
|
2922
|
+
"sessions",
|
|
2923
|
+
"start.js"
|
|
3010
2924
|
]
|
|
3011
2925
|
},
|
|
3012
|
-
"
|
|
2926
|
+
"signals:report": {
|
|
3013
2927
|
"aliases": [],
|
|
3014
2928
|
"args": {},
|
|
3015
|
-
"description": "
|
|
3016
|
-
"examples": [
|
|
3017
|
-
"<%= config.bin %> service install",
|
|
3018
|
-
"<%= config.bin %> service install --port 3000",
|
|
3019
|
-
"<%= config.bin %> service install --skip-build",
|
|
3020
|
-
"<%= config.bin %> service install --no-proxy",
|
|
3021
|
-
"<%= config.bin %> service install --worker-only"
|
|
3022
|
-
],
|
|
2929
|
+
"description": "Report filesystem-detected languages for the current project to the server.",
|
|
3023
2930
|
"flags": {
|
|
3024
2931
|
"api-url": {
|
|
3025
2932
|
"description": "Override API base URL",
|
|
@@ -3030,44 +2937,18 @@
|
|
|
3030
2937
|
"multiple": false,
|
|
3031
2938
|
"type": "option"
|
|
3032
2939
|
},
|
|
3033
|
-
"
|
|
3034
|
-
"
|
|
3035
|
-
"
|
|
3036
|
-
"name": "port",
|
|
3037
|
-
"default": 3000,
|
|
2940
|
+
"cwd": {
|
|
2941
|
+
"description": "Project path to inspect (defaults to process.cwd())",
|
|
2942
|
+
"name": "cwd",
|
|
3038
2943
|
"hasDynamicHelp": false,
|
|
3039
2944
|
"multiple": false,
|
|
3040
2945
|
"type": "option"
|
|
3041
|
-
},
|
|
3042
|
-
"force": {
|
|
3043
|
-
"char": "f",
|
|
3044
|
-
"description": "Overwrite existing service configuration and reclaim conflicting ports",
|
|
3045
|
-
"name": "force",
|
|
3046
|
-
"allowNo": false,
|
|
3047
|
-
"type": "boolean"
|
|
3048
|
-
},
|
|
3049
|
-
"skip-build": {
|
|
3050
|
-
"description": "Skip the pre-install workspace build (API/web/cli dist must already exist)",
|
|
3051
|
-
"name": "skip-build",
|
|
3052
|
-
"allowNo": false,
|
|
3053
|
-
"type": "boolean"
|
|
3054
|
-
},
|
|
3055
|
-
"no-proxy": {
|
|
3056
|
-
"description": "Skip gateway + mitmproxy plists (just install API + worker)",
|
|
3057
|
-
"name": "no-proxy",
|
|
3058
|
-
"allowNo": false,
|
|
3059
|
-
"type": "boolean"
|
|
3060
|
-
},
|
|
3061
|
-
"worker-only": {
|
|
3062
|
-
"description": "Install ONLY the job worker as a persistent service, targeting the globally-installed CLI (no repo checkout, no build, no API/gateway/proxy). Sources auth from ~/.config/rulemetric/env. macOS (launchd) + Linux (systemd --user).",
|
|
3063
|
-
"name": "worker-only",
|
|
3064
|
-
"allowNo": false,
|
|
3065
|
-
"type": "boolean"
|
|
3066
2946
|
}
|
|
3067
2947
|
},
|
|
3068
2948
|
"hasDynamicHelp": false,
|
|
2949
|
+
"hidden": true,
|
|
3069
2950
|
"hiddenAliases": [],
|
|
3070
|
-
"id": "
|
|
2951
|
+
"id": "signals:report",
|
|
3071
2952
|
"pluginAlias": "@rulemetric/cli",
|
|
3072
2953
|
"pluginName": "@rulemetric/cli",
|
|
3073
2954
|
"pluginType": "core",
|
|
@@ -3077,14 +2958,18 @@
|
|
|
3077
2958
|
"relativePath": [
|
|
3078
2959
|
"dist",
|
|
3079
2960
|
"commands",
|
|
3080
|
-
"
|
|
3081
|
-
"
|
|
2961
|
+
"signals",
|
|
2962
|
+
"report.js"
|
|
3082
2963
|
]
|
|
3083
2964
|
},
|
|
3084
|
-
"
|
|
2965
|
+
"skills:export-approved": {
|
|
3085
2966
|
"aliases": [],
|
|
3086
2967
|
"args": {},
|
|
3087
|
-
"description": "
|
|
2968
|
+
"description": "Export approved community submissions as community-skills.json for registry merge",
|
|
2969
|
+
"examples": [
|
|
2970
|
+
"<%= config.bin %> skills export-approved",
|
|
2971
|
+
"<%= config.bin %> skills export-approved --output ./community-skills.json"
|
|
2972
|
+
],
|
|
3088
2973
|
"flags": {
|
|
3089
2974
|
"api-url": {
|
|
3090
2975
|
"description": "Override API base URL",
|
|
@@ -3094,34 +2979,11 @@
|
|
|
3094
2979
|
"hasDynamicHelp": false,
|
|
3095
2980
|
"multiple": false,
|
|
3096
2981
|
"type": "option"
|
|
3097
|
-
}
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
"pluginAlias": "@rulemetric/cli",
|
|
3103
|
-
"pluginName": "@rulemetric/cli",
|
|
3104
|
-
"pluginType": "core",
|
|
3105
|
-
"strict": true,
|
|
3106
|
-
"enableJsonFlag": false,
|
|
3107
|
-
"isESM": true,
|
|
3108
|
-
"relativePath": [
|
|
3109
|
-
"dist",
|
|
3110
|
-
"commands",
|
|
3111
|
-
"service",
|
|
3112
|
-
"status.js"
|
|
3113
|
-
]
|
|
3114
|
-
},
|
|
3115
|
-
"service:uninstall": {
|
|
3116
|
-
"aliases": [],
|
|
3117
|
-
"args": {},
|
|
3118
|
-
"description": "Remove RuleMetric services (macOS launchd: API/worker/gateway/proxy; Linux: the --worker-only systemd unit)",
|
|
3119
|
-
"flags": {
|
|
3120
|
-
"api-url": {
|
|
3121
|
-
"description": "Override API base URL",
|
|
3122
|
-
"env": "RULEMETRIC_API_URL",
|
|
3123
|
-
"hidden": true,
|
|
3124
|
-
"name": "api-url",
|
|
2982
|
+
},
|
|
2983
|
+
"output": {
|
|
2984
|
+
"description": "Output file path",
|
|
2985
|
+
"name": "output",
|
|
2986
|
+
"default": "packages/skills-registry/community-skills.json",
|
|
3125
2987
|
"hasDynamicHelp": false,
|
|
3126
2988
|
"multiple": false,
|
|
3127
2989
|
"type": "option"
|
|
@@ -3129,7 +2991,7 @@
|
|
|
3129
2991
|
},
|
|
3130
2992
|
"hasDynamicHelp": false,
|
|
3131
2993
|
"hiddenAliases": [],
|
|
3132
|
-
"id": "
|
|
2994
|
+
"id": "skills:export-approved",
|
|
3133
2995
|
"pluginAlias": "@rulemetric/cli",
|
|
3134
2996
|
"pluginName": "@rulemetric/cli",
|
|
3135
2997
|
"pluginType": "core",
|
|
@@ -3139,22 +3001,24 @@
|
|
|
3139
3001
|
"relativePath": [
|
|
3140
3002
|
"dist",
|
|
3141
3003
|
"commands",
|
|
3142
|
-
"
|
|
3143
|
-
"
|
|
3004
|
+
"skills",
|
|
3005
|
+
"export-approved.js"
|
|
3144
3006
|
]
|
|
3145
3007
|
},
|
|
3146
|
-
"
|
|
3008
|
+
"skills:install": {
|
|
3147
3009
|
"aliases": [],
|
|
3148
3010
|
"args": {
|
|
3149
3011
|
"id": {
|
|
3150
|
-
"description": "
|
|
3012
|
+
"description": "Skill ID to install",
|
|
3151
3013
|
"name": "id",
|
|
3152
3014
|
"required": true
|
|
3153
3015
|
}
|
|
3154
3016
|
},
|
|
3155
|
-
"description": "
|
|
3017
|
+
"description": "Install a skill from the registry into your project",
|
|
3156
3018
|
"examples": [
|
|
3157
|
-
"<%= config.bin %>
|
|
3019
|
+
"<%= config.bin %> skills install tdd-workflow",
|
|
3020
|
+
"<%= config.bin %> skills install tdd-workflow --tool cursor",
|
|
3021
|
+
"<%= config.bin %> skills install tdd-workflow --preview"
|
|
3158
3022
|
],
|
|
3159
3023
|
"flags": {
|
|
3160
3024
|
"api-url": {
|
|
@@ -3165,11 +3029,37 @@
|
|
|
3165
3029
|
"hasDynamicHelp": false,
|
|
3166
3030
|
"multiple": false,
|
|
3167
3031
|
"type": "option"
|
|
3032
|
+
},
|
|
3033
|
+
"tool": {
|
|
3034
|
+
"description": "Target tool format",
|
|
3035
|
+
"name": "tool",
|
|
3036
|
+
"hasDynamicHelp": false,
|
|
3037
|
+
"multiple": false,
|
|
3038
|
+
"options": [
|
|
3039
|
+
"claude_code",
|
|
3040
|
+
"cursor",
|
|
3041
|
+
"copilot"
|
|
3042
|
+
],
|
|
3043
|
+
"type": "option"
|
|
3044
|
+
},
|
|
3045
|
+
"preview": {
|
|
3046
|
+
"description": "Preview content without writing",
|
|
3047
|
+
"name": "preview",
|
|
3048
|
+
"allowNo": false,
|
|
3049
|
+
"type": "boolean"
|
|
3050
|
+
},
|
|
3051
|
+
"dir": {
|
|
3052
|
+
"description": "Project directory",
|
|
3053
|
+
"name": "dir",
|
|
3054
|
+
"default": ".",
|
|
3055
|
+
"hasDynamicHelp": false,
|
|
3056
|
+
"multiple": false,
|
|
3057
|
+
"type": "option"
|
|
3168
3058
|
}
|
|
3169
3059
|
},
|
|
3170
3060
|
"hasDynamicHelp": false,
|
|
3171
3061
|
"hiddenAliases": [],
|
|
3172
|
-
"id": "
|
|
3062
|
+
"id": "skills:install",
|
|
3173
3063
|
"pluginAlias": "@rulemetric/cli",
|
|
3174
3064
|
"pluginName": "@rulemetric/cli",
|
|
3175
3065
|
"pluginType": "core",
|
|
@@ -3179,16 +3069,17 @@
|
|
|
3179
3069
|
"relativePath": [
|
|
3180
3070
|
"dist",
|
|
3181
3071
|
"commands",
|
|
3182
|
-
"
|
|
3183
|
-
"
|
|
3072
|
+
"skills",
|
|
3073
|
+
"install.js"
|
|
3184
3074
|
]
|
|
3185
3075
|
},
|
|
3186
|
-
"
|
|
3076
|
+
"skills:list": {
|
|
3187
3077
|
"aliases": [],
|
|
3188
3078
|
"args": {},
|
|
3189
|
-
"description": "
|
|
3079
|
+
"description": "List skills in the registry",
|
|
3190
3080
|
"examples": [
|
|
3191
|
-
"<%= config.bin %>
|
|
3081
|
+
"<%= config.bin %> skills list",
|
|
3082
|
+
"<%= config.bin %> skills list --stats"
|
|
3192
3083
|
],
|
|
3193
3084
|
"flags": {
|
|
3194
3085
|
"api-url": {
|
|
@@ -3199,11 +3090,25 @@
|
|
|
3199
3090
|
"hasDynamicHelp": false,
|
|
3200
3091
|
"multiple": false,
|
|
3201
3092
|
"type": "option"
|
|
3093
|
+
},
|
|
3094
|
+
"stats": {
|
|
3095
|
+
"description": "Show registry statistics",
|
|
3096
|
+
"name": "stats",
|
|
3097
|
+
"allowNo": false,
|
|
3098
|
+
"type": "boolean"
|
|
3099
|
+
},
|
|
3100
|
+
"limit": {
|
|
3101
|
+
"description": "Max skills to show",
|
|
3102
|
+
"name": "limit",
|
|
3103
|
+
"default": 30,
|
|
3104
|
+
"hasDynamicHelp": false,
|
|
3105
|
+
"multiple": false,
|
|
3106
|
+
"type": "option"
|
|
3202
3107
|
}
|
|
3203
3108
|
},
|
|
3204
3109
|
"hasDynamicHelp": false,
|
|
3205
3110
|
"hiddenAliases": [],
|
|
3206
|
-
"id": "
|
|
3111
|
+
"id": "skills:list",
|
|
3207
3112
|
"pluginAlias": "@rulemetric/cli",
|
|
3208
3113
|
"pluginName": "@rulemetric/cli",
|
|
3209
3114
|
"pluginType": "core",
|
|
@@ -3213,23 +3118,23 @@
|
|
|
3213
3118
|
"relativePath": [
|
|
3214
3119
|
"dist",
|
|
3215
3120
|
"commands",
|
|
3216
|
-
"
|
|
3217
|
-
"
|
|
3121
|
+
"skills",
|
|
3122
|
+
"list.js"
|
|
3218
3123
|
]
|
|
3219
3124
|
},
|
|
3220
|
-
"
|
|
3125
|
+
"skills:publish": {
|
|
3221
3126
|
"aliases": [],
|
|
3222
3127
|
"args": {
|
|
3223
|
-
"
|
|
3224
|
-
"description": "Path to
|
|
3225
|
-
"name": "
|
|
3128
|
+
"file": {
|
|
3129
|
+
"description": "Path to skill file (.md)",
|
|
3130
|
+
"name": "file",
|
|
3226
3131
|
"required": true
|
|
3227
3132
|
}
|
|
3228
3133
|
},
|
|
3229
|
-
"description": "
|
|
3134
|
+
"description": "Submit a skill file to the RuleMetric skills registry",
|
|
3230
3135
|
"examples": [
|
|
3231
|
-
"<%= config.bin %>
|
|
3232
|
-
"<%= config.bin %>
|
|
3136
|
+
"<%= config.bin %> skills publish ./my-skill.md",
|
|
3137
|
+
"<%= config.bin %> skills publish ./my-skill.md --category workflow --tool claude_code"
|
|
3233
3138
|
],
|
|
3234
3139
|
"flags": {
|
|
3235
3140
|
"api-url": {
|
|
@@ -3241,9 +3146,60 @@
|
|
|
3241
3146
|
"multiple": false,
|
|
3242
3147
|
"type": "option"
|
|
3243
3148
|
},
|
|
3149
|
+
"name": {
|
|
3150
|
+
"description": "Skill name (defaults to filename)",
|
|
3151
|
+
"name": "name",
|
|
3152
|
+
"hasDynamicHelp": false,
|
|
3153
|
+
"multiple": false,
|
|
3154
|
+
"type": "option"
|
|
3155
|
+
},
|
|
3156
|
+
"description": {
|
|
3157
|
+
"description": "One-line description",
|
|
3158
|
+
"name": "description",
|
|
3159
|
+
"hasDynamicHelp": false,
|
|
3160
|
+
"multiple": false,
|
|
3161
|
+
"type": "option"
|
|
3162
|
+
},
|
|
3163
|
+
"category": {
|
|
3164
|
+
"description": "Skill category",
|
|
3165
|
+
"name": "category",
|
|
3166
|
+
"default": "other",
|
|
3167
|
+
"hasDynamicHelp": false,
|
|
3168
|
+
"multiple": false,
|
|
3169
|
+
"options": [
|
|
3170
|
+
"workflow",
|
|
3171
|
+
"language",
|
|
3172
|
+
"framework",
|
|
3173
|
+
"tool",
|
|
3174
|
+
"security",
|
|
3175
|
+
"testing",
|
|
3176
|
+
"architecture",
|
|
3177
|
+
"devops",
|
|
3178
|
+
"documentation",
|
|
3179
|
+
"performance",
|
|
3180
|
+
"other"
|
|
3181
|
+
],
|
|
3182
|
+
"type": "option"
|
|
3183
|
+
},
|
|
3244
3184
|
"tool": {
|
|
3245
|
-
"description": "
|
|
3185
|
+
"description": "Primary tool this skill targets",
|
|
3246
3186
|
"name": "tool",
|
|
3187
|
+
"default": "universal",
|
|
3188
|
+
"hasDynamicHelp": false,
|
|
3189
|
+
"multiple": false,
|
|
3190
|
+
"options": [
|
|
3191
|
+
"claude_code",
|
|
3192
|
+
"cursor",
|
|
3193
|
+
"copilot",
|
|
3194
|
+
"windsurf",
|
|
3195
|
+
"universal"
|
|
3196
|
+
],
|
|
3197
|
+
"type": "option"
|
|
3198
|
+
},
|
|
3199
|
+
"tags": {
|
|
3200
|
+
"description": "Comma-separated tags",
|
|
3201
|
+
"name": "tags",
|
|
3202
|
+
"default": "",
|
|
3247
3203
|
"hasDynamicHelp": false,
|
|
3248
3204
|
"multiple": false,
|
|
3249
3205
|
"type": "option"
|
|
@@ -3251,7 +3207,7 @@
|
|
|
3251
3207
|
},
|
|
3252
3208
|
"hasDynamicHelp": false,
|
|
3253
3209
|
"hiddenAliases": [],
|
|
3254
|
-
"id": "
|
|
3210
|
+
"id": "skills:publish",
|
|
3255
3211
|
"pluginAlias": "@rulemetric/cli",
|
|
3256
3212
|
"pluginName": "@rulemetric/cli",
|
|
3257
3213
|
"pluginType": "core",
|
|
@@ -3261,17 +3217,24 @@
|
|
|
3261
3217
|
"relativePath": [
|
|
3262
3218
|
"dist",
|
|
3263
3219
|
"commands",
|
|
3264
|
-
"
|
|
3265
|
-
"
|
|
3220
|
+
"skills",
|
|
3221
|
+
"publish.js"
|
|
3266
3222
|
]
|
|
3267
3223
|
},
|
|
3268
|
-
"
|
|
3224
|
+
"skills:search": {
|
|
3269
3225
|
"aliases": [],
|
|
3270
|
-
"args": {
|
|
3271
|
-
|
|
3226
|
+
"args": {
|
|
3227
|
+
"query": {
|
|
3228
|
+
"description": "Search term",
|
|
3229
|
+
"name": "query",
|
|
3230
|
+
"required": false
|
|
3231
|
+
}
|
|
3232
|
+
},
|
|
3233
|
+
"description": "Search the community skills registry",
|
|
3272
3234
|
"examples": [
|
|
3273
|
-
"<%= config.bin %>
|
|
3274
|
-
"<%= config.bin %>
|
|
3235
|
+
"<%= config.bin %> skills search \"tdd\"",
|
|
3236
|
+
"<%= config.bin %> skills search --tool cursor --category testing",
|
|
3237
|
+
"<%= config.bin %> skills search --language python"
|
|
3275
3238
|
],
|
|
3276
3239
|
"flags": {
|
|
3277
3240
|
"api-url": {
|
|
@@ -3284,10 +3247,51 @@
|
|
|
3284
3247
|
"type": "option"
|
|
3285
3248
|
},
|
|
3286
3249
|
"tool": {
|
|
3287
|
-
"description": "Filter by tool
|
|
3250
|
+
"description": "Filter by tool",
|
|
3288
3251
|
"name": "tool",
|
|
3289
3252
|
"hasDynamicHelp": false,
|
|
3290
3253
|
"multiple": false,
|
|
3254
|
+
"options": [
|
|
3255
|
+
"claude_code",
|
|
3256
|
+
"cursor",
|
|
3257
|
+
"copilot",
|
|
3258
|
+
"windsurf",
|
|
3259
|
+
"cline",
|
|
3260
|
+
"universal"
|
|
3261
|
+
],
|
|
3262
|
+
"type": "option"
|
|
3263
|
+
},
|
|
3264
|
+
"category": {
|
|
3265
|
+
"description": "Filter by category",
|
|
3266
|
+
"name": "category",
|
|
3267
|
+
"hasDynamicHelp": false,
|
|
3268
|
+
"multiple": false,
|
|
3269
|
+
"options": [
|
|
3270
|
+
"workflow",
|
|
3271
|
+
"language",
|
|
3272
|
+
"framework",
|
|
3273
|
+
"tool",
|
|
3274
|
+
"security",
|
|
3275
|
+
"testing",
|
|
3276
|
+
"architecture",
|
|
3277
|
+
"devops",
|
|
3278
|
+
"documentation",
|
|
3279
|
+
"performance"
|
|
3280
|
+
],
|
|
3281
|
+
"type": "option"
|
|
3282
|
+
},
|
|
3283
|
+
"language": {
|
|
3284
|
+
"description": "Filter by programming language",
|
|
3285
|
+
"name": "language",
|
|
3286
|
+
"hasDynamicHelp": false,
|
|
3287
|
+
"multiple": false,
|
|
3288
|
+
"type": "option"
|
|
3289
|
+
},
|
|
3290
|
+
"framework": {
|
|
3291
|
+
"description": "Filter by framework",
|
|
3292
|
+
"name": "framework",
|
|
3293
|
+
"hasDynamicHelp": false,
|
|
3294
|
+
"multiple": false,
|
|
3291
3295
|
"type": "option"
|
|
3292
3296
|
},
|
|
3293
3297
|
"limit": {
|
|
@@ -3301,7 +3305,7 @@
|
|
|
3301
3305
|
},
|
|
3302
3306
|
"hasDynamicHelp": false,
|
|
3303
3307
|
"hiddenAliases": [],
|
|
3304
|
-
"id": "
|
|
3308
|
+
"id": "skills:search",
|
|
3305
3309
|
"pluginAlias": "@rulemetric/cli",
|
|
3306
3310
|
"pluginName": "@rulemetric/cli",
|
|
3307
3311
|
"pluginType": "core",
|
|
@@ -3311,18 +3315,17 @@
|
|
|
3311
3315
|
"relativePath": [
|
|
3312
3316
|
"dist",
|
|
3313
3317
|
"commands",
|
|
3314
|
-
"
|
|
3315
|
-
"
|
|
3318
|
+
"skills",
|
|
3319
|
+
"search.js"
|
|
3316
3320
|
]
|
|
3317
3321
|
},
|
|
3318
|
-
"
|
|
3322
|
+
"skills:update": {
|
|
3319
3323
|
"aliases": [],
|
|
3320
3324
|
"args": {},
|
|
3321
|
-
"description": "
|
|
3325
|
+
"description": "Fetch latest skills from GitHub sources and update local registry",
|
|
3322
3326
|
"examples": [
|
|
3323
|
-
"<%= config.bin %>
|
|
3324
|
-
"<%= config.bin %>
|
|
3325
|
-
"eval \"$(rulemetric proxy env --python)\" && rulemetric sessions start --tool cortex"
|
|
3327
|
+
"<%= config.bin %> skills update",
|
|
3328
|
+
"<%= config.bin %> skills update --all"
|
|
3326
3329
|
],
|
|
3327
3330
|
"flags": {
|
|
3328
3331
|
"api-url": {
|
|
@@ -3334,27 +3337,16 @@
|
|
|
3334
3337
|
"multiple": false,
|
|
3335
3338
|
"type": "option"
|
|
3336
3339
|
},
|
|
3337
|
-
"
|
|
3338
|
-
"
|
|
3339
|
-
"
|
|
3340
|
-
"
|
|
3341
|
-
"
|
|
3342
|
-
"hasDynamicHelp": false,
|
|
3343
|
-
"multiple": false,
|
|
3344
|
-
"type": "option"
|
|
3345
|
-
},
|
|
3346
|
-
"project-dir": {
|
|
3347
|
-
"char": "d",
|
|
3348
|
-
"description": "Project directory (defaults to cwd)",
|
|
3349
|
-
"name": "project-dir",
|
|
3350
|
-
"hasDynamicHelp": false,
|
|
3351
|
-
"multiple": false,
|
|
3352
|
-
"type": "option"
|
|
3340
|
+
"all": {
|
|
3341
|
+
"description": "Include Tier 2 (niche) sources",
|
|
3342
|
+
"name": "all",
|
|
3343
|
+
"allowNo": false,
|
|
3344
|
+
"type": "boolean"
|
|
3353
3345
|
}
|
|
3354
3346
|
},
|
|
3355
3347
|
"hasDynamicHelp": false,
|
|
3356
3348
|
"hiddenAliases": [],
|
|
3357
|
-
"id": "
|
|
3349
|
+
"id": "skills:update",
|
|
3358
3350
|
"pluginAlias": "@rulemetric/cli",
|
|
3359
3351
|
"pluginName": "@rulemetric/cli",
|
|
3360
3352
|
"pluginType": "core",
|
|
@@ -3364,14 +3356,23 @@
|
|
|
3364
3356
|
"relativePath": [
|
|
3365
3357
|
"dist",
|
|
3366
3358
|
"commands",
|
|
3367
|
-
"
|
|
3368
|
-
"
|
|
3359
|
+
"skills",
|
|
3360
|
+
"update.js"
|
|
3369
3361
|
]
|
|
3370
3362
|
},
|
|
3371
|
-
"
|
|
3363
|
+
"suggestions:accept": {
|
|
3372
3364
|
"aliases": [],
|
|
3373
|
-
"args": {
|
|
3374
|
-
|
|
3365
|
+
"args": {
|
|
3366
|
+
"id": {
|
|
3367
|
+
"description": "Suggestion UUID from `suggestions list`",
|
|
3368
|
+
"name": "id",
|
|
3369
|
+
"required": true
|
|
3370
|
+
}
|
|
3371
|
+
},
|
|
3372
|
+
"description": "Accept a suggestion and append the instruction to CLAUDE.md",
|
|
3373
|
+
"examples": [
|
|
3374
|
+
"<%= config.bin %> suggestions accept <id>"
|
|
3375
|
+
],
|
|
3375
3376
|
"flags": {
|
|
3376
3377
|
"api-url": {
|
|
3377
3378
|
"description": "Override API base URL",
|
|
@@ -3381,19 +3382,11 @@
|
|
|
3381
3382
|
"hasDynamicHelp": false,
|
|
3382
3383
|
"multiple": false,
|
|
3383
3384
|
"type": "option"
|
|
3384
|
-
},
|
|
3385
|
-
"cwd": {
|
|
3386
|
-
"description": "Project path to inspect (defaults to process.cwd())",
|
|
3387
|
-
"name": "cwd",
|
|
3388
|
-
"hasDynamicHelp": false,
|
|
3389
|
-
"multiple": false,
|
|
3390
|
-
"type": "option"
|
|
3391
3385
|
}
|
|
3392
3386
|
},
|
|
3393
3387
|
"hasDynamicHelp": false,
|
|
3394
|
-
"hidden": true,
|
|
3395
3388
|
"hiddenAliases": [],
|
|
3396
|
-
"id": "
|
|
3389
|
+
"id": "suggestions:accept",
|
|
3397
3390
|
"pluginAlias": "@rulemetric/cli",
|
|
3398
3391
|
"pluginName": "@rulemetric/cli",
|
|
3399
3392
|
"pluginType": "core",
|
|
@@ -3403,17 +3396,22 @@
|
|
|
3403
3396
|
"relativePath": [
|
|
3404
3397
|
"dist",
|
|
3405
3398
|
"commands",
|
|
3406
|
-
"
|
|
3407
|
-
"
|
|
3399
|
+
"suggestions",
|
|
3400
|
+
"accept.js"
|
|
3408
3401
|
]
|
|
3409
3402
|
},
|
|
3410
|
-
"
|
|
3403
|
+
"suggestions:dismiss": {
|
|
3411
3404
|
"aliases": [],
|
|
3412
|
-
"args": {
|
|
3413
|
-
|
|
3405
|
+
"args": {
|
|
3406
|
+
"id": {
|
|
3407
|
+
"description": "Suggestion UUID from `suggestions list`",
|
|
3408
|
+
"name": "id",
|
|
3409
|
+
"required": true
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
"description": "Dismiss a suggestion so it will not re-surface for 30 days",
|
|
3414
3413
|
"examples": [
|
|
3415
|
-
"<%= config.bin %>
|
|
3416
|
-
"<%= config.bin %> skills export-approved --output ./community-skills.json"
|
|
3414
|
+
"<%= config.bin %> suggestions dismiss <id>"
|
|
3417
3415
|
],
|
|
3418
3416
|
"flags": {
|
|
3419
3417
|
"api-url": {
|
|
@@ -3424,19 +3422,11 @@
|
|
|
3424
3422
|
"hasDynamicHelp": false,
|
|
3425
3423
|
"multiple": false,
|
|
3426
3424
|
"type": "option"
|
|
3427
|
-
},
|
|
3428
|
-
"output": {
|
|
3429
|
-
"description": "Output file path",
|
|
3430
|
-
"name": "output",
|
|
3431
|
-
"default": "packages/skills-registry/community-skills.json",
|
|
3432
|
-
"hasDynamicHelp": false,
|
|
3433
|
-
"multiple": false,
|
|
3434
|
-
"type": "option"
|
|
3435
3425
|
}
|
|
3436
3426
|
},
|
|
3437
3427
|
"hasDynamicHelp": false,
|
|
3438
3428
|
"hiddenAliases": [],
|
|
3439
|
-
"id": "
|
|
3429
|
+
"id": "suggestions:dismiss",
|
|
3440
3430
|
"pluginAlias": "@rulemetric/cli",
|
|
3441
3431
|
"pluginName": "@rulemetric/cli",
|
|
3442
3432
|
"pluginType": "core",
|
|
@@ -3446,24 +3436,17 @@
|
|
|
3446
3436
|
"relativePath": [
|
|
3447
3437
|
"dist",
|
|
3448
3438
|
"commands",
|
|
3449
|
-
"
|
|
3450
|
-
"
|
|
3439
|
+
"suggestions",
|
|
3440
|
+
"dismiss.js"
|
|
3451
3441
|
]
|
|
3452
3442
|
},
|
|
3453
|
-
"
|
|
3443
|
+
"suggestions:list": {
|
|
3454
3444
|
"aliases": [],
|
|
3455
|
-
"args": {
|
|
3456
|
-
|
|
3457
|
-
"description": "Skill ID to install",
|
|
3458
|
-
"name": "id",
|
|
3459
|
-
"required": true
|
|
3460
|
-
}
|
|
3461
|
-
},
|
|
3462
|
-
"description": "Install a skill from the registry into your project",
|
|
3445
|
+
"args": {},
|
|
3446
|
+
"description": "List instruction suggestions for a project",
|
|
3463
3447
|
"examples": [
|
|
3464
|
-
"<%= config.bin %>
|
|
3465
|
-
"<%= config.bin %>
|
|
3466
|
-
"<%= config.bin %> skills install tdd-workflow --preview"
|
|
3448
|
+
"<%= config.bin %> suggestions list",
|
|
3449
|
+
"<%= config.bin %> suggestions list --project /path/to/project"
|
|
3467
3450
|
],
|
|
3468
3451
|
"flags": {
|
|
3469
3452
|
"api-url": {
|
|
@@ -3475,28 +3458,10 @@
|
|
|
3475
3458
|
"multiple": false,
|
|
3476
3459
|
"type": "option"
|
|
3477
3460
|
},
|
|
3478
|
-
"
|
|
3479
|
-
"
|
|
3480
|
-
"
|
|
3481
|
-
"
|
|
3482
|
-
"multiple": false,
|
|
3483
|
-
"options": [
|
|
3484
|
-
"claude_code",
|
|
3485
|
-
"cursor",
|
|
3486
|
-
"copilot"
|
|
3487
|
-
],
|
|
3488
|
-
"type": "option"
|
|
3489
|
-
},
|
|
3490
|
-
"preview": {
|
|
3491
|
-
"description": "Preview content without writing",
|
|
3492
|
-
"name": "preview",
|
|
3493
|
-
"allowNo": false,
|
|
3494
|
-
"type": "boolean"
|
|
3495
|
-
},
|
|
3496
|
-
"dir": {
|
|
3497
|
-
"description": "Project directory",
|
|
3498
|
-
"name": "dir",
|
|
3499
|
-
"default": ".",
|
|
3461
|
+
"project": {
|
|
3462
|
+
"char": "p",
|
|
3463
|
+
"description": "Project path (defaults to current directory)",
|
|
3464
|
+
"name": "project",
|
|
3500
3465
|
"hasDynamicHelp": false,
|
|
3501
3466
|
"multiple": false,
|
|
3502
3467
|
"type": "option"
|
|
@@ -3504,7 +3469,7 @@
|
|
|
3504
3469
|
},
|
|
3505
3470
|
"hasDynamicHelp": false,
|
|
3506
3471
|
"hiddenAliases": [],
|
|
3507
|
-
"id": "
|
|
3472
|
+
"id": "suggestions:list",
|
|
3508
3473
|
"pluginAlias": "@rulemetric/cli",
|
|
3509
3474
|
"pluginName": "@rulemetric/cli",
|
|
3510
3475
|
"pluginType": "core",
|
|
@@ -3514,17 +3479,16 @@
|
|
|
3514
3479
|
"relativePath": [
|
|
3515
3480
|
"dist",
|
|
3516
3481
|
"commands",
|
|
3517
|
-
"
|
|
3518
|
-
"
|
|
3482
|
+
"suggestions",
|
|
3483
|
+
"list.js"
|
|
3519
3484
|
]
|
|
3520
3485
|
},
|
|
3521
|
-
"
|
|
3486
|
+
"suggestions:refresh": {
|
|
3522
3487
|
"aliases": [],
|
|
3523
3488
|
"args": {},
|
|
3524
|
-
"description": "
|
|
3489
|
+
"description": "Information about refreshing instruction suggestions",
|
|
3525
3490
|
"examples": [
|
|
3526
|
-
"<%= config.bin %>
|
|
3527
|
-
"<%= config.bin %> skills list --stats"
|
|
3491
|
+
"<%= config.bin %> suggestions refresh"
|
|
3528
3492
|
],
|
|
3529
3493
|
"flags": {
|
|
3530
3494
|
"api-url": {
|
|
@@ -3535,25 +3499,11 @@
|
|
|
3535
3499
|
"hasDynamicHelp": false,
|
|
3536
3500
|
"multiple": false,
|
|
3537
3501
|
"type": "option"
|
|
3538
|
-
},
|
|
3539
|
-
"stats": {
|
|
3540
|
-
"description": "Show registry statistics",
|
|
3541
|
-
"name": "stats",
|
|
3542
|
-
"allowNo": false,
|
|
3543
|
-
"type": "boolean"
|
|
3544
|
-
},
|
|
3545
|
-
"limit": {
|
|
3546
|
-
"description": "Max skills to show",
|
|
3547
|
-
"name": "limit",
|
|
3548
|
-
"default": 30,
|
|
3549
|
-
"hasDynamicHelp": false,
|
|
3550
|
-
"multiple": false,
|
|
3551
|
-
"type": "option"
|
|
3552
3502
|
}
|
|
3553
3503
|
},
|
|
3554
3504
|
"hasDynamicHelp": false,
|
|
3555
3505
|
"hiddenAliases": [],
|
|
3556
|
-
"id": "
|
|
3506
|
+
"id": "suggestions:refresh",
|
|
3557
3507
|
"pluginAlias": "@rulemetric/cli",
|
|
3558
3508
|
"pluginName": "@rulemetric/cli",
|
|
3559
3509
|
"pluginType": "core",
|
|
@@ -3563,23 +3513,22 @@
|
|
|
3563
3513
|
"relativePath": [
|
|
3564
3514
|
"dist",
|
|
3565
3515
|
"commands",
|
|
3566
|
-
"
|
|
3567
|
-
"
|
|
3516
|
+
"suggestions",
|
|
3517
|
+
"refresh.js"
|
|
3568
3518
|
]
|
|
3569
3519
|
},
|
|
3570
|
-
"
|
|
3520
|
+
"instructions:create": {
|
|
3571
3521
|
"aliases": [],
|
|
3572
3522
|
"args": {
|
|
3573
3523
|
"file": {
|
|
3574
|
-
"description": "Path to
|
|
3575
|
-
"name": "file"
|
|
3576
|
-
"required": true
|
|
3524
|
+
"description": "Path to markdown file",
|
|
3525
|
+
"name": "file"
|
|
3577
3526
|
}
|
|
3578
3527
|
},
|
|
3579
|
-
"description": "
|
|
3528
|
+
"description": "Create a new instruction",
|
|
3580
3529
|
"examples": [
|
|
3581
|
-
"<%= config.bin %>
|
|
3582
|
-
"<%= config.bin %>
|
|
3530
|
+
"<%= config.bin %> instructions create ./my-instruction.md --name \"My Rules\"",
|
|
3531
|
+
"<%= config.bin %> instructions create ./rules.md -n \"Rules\" -s project"
|
|
3583
3532
|
],
|
|
3584
3533
|
"flags": {
|
|
3585
3534
|
"api-url": {
|
|
@@ -3592,59 +3541,49 @@
|
|
|
3592
3541
|
"type": "option"
|
|
3593
3542
|
},
|
|
3594
3543
|
"name": {
|
|
3595
|
-
"
|
|
3544
|
+
"char": "n",
|
|
3545
|
+
"description": "Instruction name",
|
|
3596
3546
|
"name": "name",
|
|
3547
|
+
"required": true,
|
|
3597
3548
|
"hasDynamicHelp": false,
|
|
3598
3549
|
"multiple": false,
|
|
3599
3550
|
"type": "option"
|
|
3600
3551
|
},
|
|
3601
3552
|
"description": {
|
|
3602
|
-
"
|
|
3553
|
+
"char": "d",
|
|
3554
|
+
"description": "Instruction description",
|
|
3603
3555
|
"name": "description",
|
|
3556
|
+
"required": true,
|
|
3604
3557
|
"hasDynamicHelp": false,
|
|
3605
3558
|
"multiple": false,
|
|
3606
3559
|
"type": "option"
|
|
3607
3560
|
},
|
|
3608
|
-
"
|
|
3609
|
-
"
|
|
3610
|
-
"
|
|
3611
|
-
"
|
|
3561
|
+
"scope": {
|
|
3562
|
+
"char": "s",
|
|
3563
|
+
"description": "Instruction scope",
|
|
3564
|
+
"name": "scope",
|
|
3565
|
+
"default": "personal",
|
|
3612
3566
|
"hasDynamicHelp": false,
|
|
3613
3567
|
"multiple": false,
|
|
3614
3568
|
"options": [
|
|
3615
|
-
"
|
|
3616
|
-
"
|
|
3617
|
-
"
|
|
3618
|
-
"
|
|
3619
|
-
"security",
|
|
3620
|
-
"testing",
|
|
3621
|
-
"architecture",
|
|
3622
|
-
"devops",
|
|
3623
|
-
"documentation",
|
|
3624
|
-
"performance",
|
|
3625
|
-
"other"
|
|
3569
|
+
"org",
|
|
3570
|
+
"team",
|
|
3571
|
+
"project",
|
|
3572
|
+
"personal"
|
|
3626
3573
|
],
|
|
3627
3574
|
"type": "option"
|
|
3628
3575
|
},
|
|
3629
|
-
"
|
|
3630
|
-
"description": "
|
|
3631
|
-
"name": "
|
|
3632
|
-
"default": "universal",
|
|
3576
|
+
"scope-ref": {
|
|
3577
|
+
"description": "Scope reference UUID",
|
|
3578
|
+
"name": "scope-ref",
|
|
3633
3579
|
"hasDynamicHelp": false,
|
|
3634
3580
|
"multiple": false,
|
|
3635
|
-
"options": [
|
|
3636
|
-
"claude_code",
|
|
3637
|
-
"cursor",
|
|
3638
|
-
"copilot",
|
|
3639
|
-
"windsurf",
|
|
3640
|
-
"universal"
|
|
3641
|
-
],
|
|
3642
3581
|
"type": "option"
|
|
3643
3582
|
},
|
|
3644
3583
|
"tags": {
|
|
3584
|
+
"char": "t",
|
|
3645
3585
|
"description": "Comma-separated tags",
|
|
3646
3586
|
"name": "tags",
|
|
3647
|
-
"default": "",
|
|
3648
3587
|
"hasDynamicHelp": false,
|
|
3649
3588
|
"multiple": false,
|
|
3650
3589
|
"type": "option"
|
|
@@ -3652,7 +3591,95 @@
|
|
|
3652
3591
|
},
|
|
3653
3592
|
"hasDynamicHelp": false,
|
|
3654
3593
|
"hiddenAliases": [],
|
|
3655
|
-
"id": "
|
|
3594
|
+
"id": "instructions:create",
|
|
3595
|
+
"pluginAlias": "@rulemetric/cli",
|
|
3596
|
+
"pluginName": "@rulemetric/cli",
|
|
3597
|
+
"pluginType": "core",
|
|
3598
|
+
"strict": true,
|
|
3599
|
+
"enableJsonFlag": false,
|
|
3600
|
+
"isESM": true,
|
|
3601
|
+
"relativePath": [
|
|
3602
|
+
"dist",
|
|
3603
|
+
"commands",
|
|
3604
|
+
"instructions",
|
|
3605
|
+
"create.js"
|
|
3606
|
+
]
|
|
3607
|
+
},
|
|
3608
|
+
"instructions:delete": {
|
|
3609
|
+
"aliases": [],
|
|
3610
|
+
"args": {
|
|
3611
|
+
"id": {
|
|
3612
|
+
"description": "Instruction ID",
|
|
3613
|
+
"name": "id",
|
|
3614
|
+
"required": true
|
|
3615
|
+
}
|
|
3616
|
+
},
|
|
3617
|
+
"description": "Delete (archive) an instruction",
|
|
3618
|
+
"examples": [
|
|
3619
|
+
"<%= config.bin %> instructions delete <id>",
|
|
3620
|
+
"<%= config.bin %> instructions delete <id> --force"
|
|
3621
|
+
],
|
|
3622
|
+
"flags": {
|
|
3623
|
+
"api-url": {
|
|
3624
|
+
"description": "Override API base URL",
|
|
3625
|
+
"env": "RULEMETRIC_API_URL",
|
|
3626
|
+
"hidden": true,
|
|
3627
|
+
"name": "api-url",
|
|
3628
|
+
"hasDynamicHelp": false,
|
|
3629
|
+
"multiple": false,
|
|
3630
|
+
"type": "option"
|
|
3631
|
+
},
|
|
3632
|
+
"force": {
|
|
3633
|
+
"char": "f",
|
|
3634
|
+
"description": "Skip confirmation prompt",
|
|
3635
|
+
"name": "force",
|
|
3636
|
+
"allowNo": false,
|
|
3637
|
+
"type": "boolean"
|
|
3638
|
+
}
|
|
3639
|
+
},
|
|
3640
|
+
"hasDynamicHelp": false,
|
|
3641
|
+
"hiddenAliases": [],
|
|
3642
|
+
"id": "instructions:delete",
|
|
3643
|
+
"pluginAlias": "@rulemetric/cli",
|
|
3644
|
+
"pluginName": "@rulemetric/cli",
|
|
3645
|
+
"pluginType": "core",
|
|
3646
|
+
"strict": true,
|
|
3647
|
+
"enableJsonFlag": false,
|
|
3648
|
+
"isESM": true,
|
|
3649
|
+
"relativePath": [
|
|
3650
|
+
"dist",
|
|
3651
|
+
"commands",
|
|
3652
|
+
"instructions",
|
|
3653
|
+
"delete.js"
|
|
3654
|
+
]
|
|
3655
|
+
},
|
|
3656
|
+
"instructions:fork": {
|
|
3657
|
+
"aliases": [],
|
|
3658
|
+
"args": {
|
|
3659
|
+
"id": {
|
|
3660
|
+
"description": "ID of the instruction to fork",
|
|
3661
|
+
"name": "id",
|
|
3662
|
+
"required": true
|
|
3663
|
+
}
|
|
3664
|
+
},
|
|
3665
|
+
"description": "Fork an instruction to your personal scope",
|
|
3666
|
+
"examples": [
|
|
3667
|
+
"<%= config.bin %> instructions fork <instruction-id>"
|
|
3668
|
+
],
|
|
3669
|
+
"flags": {
|
|
3670
|
+
"api-url": {
|
|
3671
|
+
"description": "Override API base URL",
|
|
3672
|
+
"env": "RULEMETRIC_API_URL",
|
|
3673
|
+
"hidden": true,
|
|
3674
|
+
"name": "api-url",
|
|
3675
|
+
"hasDynamicHelp": false,
|
|
3676
|
+
"multiple": false,
|
|
3677
|
+
"type": "option"
|
|
3678
|
+
}
|
|
3679
|
+
},
|
|
3680
|
+
"hasDynamicHelp": false,
|
|
3681
|
+
"hiddenAliases": [],
|
|
3682
|
+
"id": "instructions:fork",
|
|
3656
3683
|
"pluginAlias": "@rulemetric/cli",
|
|
3657
3684
|
"pluginName": "@rulemetric/cli",
|
|
3658
3685
|
"pluginType": "core",
|
|
@@ -3662,26 +3689,32 @@
|
|
|
3662
3689
|
"relativePath": [
|
|
3663
3690
|
"dist",
|
|
3664
3691
|
"commands",
|
|
3665
|
-
"
|
|
3666
|
-
"
|
|
3692
|
+
"instructions",
|
|
3693
|
+
"fork.js"
|
|
3667
3694
|
]
|
|
3668
3695
|
},
|
|
3669
|
-
"
|
|
3696
|
+
"instructions:get": {
|
|
3670
3697
|
"aliases": [],
|
|
3671
3698
|
"args": {
|
|
3672
|
-
"
|
|
3673
|
-
"description": "
|
|
3674
|
-
"name": "
|
|
3675
|
-
"required":
|
|
3699
|
+
"id": {
|
|
3700
|
+
"description": "Instruction ID",
|
|
3701
|
+
"name": "id",
|
|
3702
|
+
"required": true
|
|
3676
3703
|
}
|
|
3677
3704
|
},
|
|
3678
|
-
"description": "
|
|
3705
|
+
"description": "Get an instruction by ID",
|
|
3679
3706
|
"examples": [
|
|
3680
|
-
"<%= config.bin %>
|
|
3681
|
-
"<%= config.bin %>
|
|
3682
|
-
"<%= config.bin %> skills search --language python"
|
|
3707
|
+
"<%= config.bin %> instructions get <id>",
|
|
3708
|
+
"<%= config.bin %> instructions get <id> --format raw"
|
|
3683
3709
|
],
|
|
3684
3710
|
"flags": {
|
|
3711
|
+
"json": {
|
|
3712
|
+
"description": "Format output as json.",
|
|
3713
|
+
"helpGroup": "GLOBAL",
|
|
3714
|
+
"name": "json",
|
|
3715
|
+
"allowNo": false,
|
|
3716
|
+
"type": "boolean"
|
|
3717
|
+
},
|
|
3685
3718
|
"api-url": {
|
|
3686
3719
|
"description": "Override API base URL",
|
|
3687
3720
|
"env": "RULEMETRIC_API_URL",
|
|
@@ -3691,88 +3724,53 @@
|
|
|
3691
3724
|
"multiple": false,
|
|
3692
3725
|
"type": "option"
|
|
3693
3726
|
},
|
|
3694
|
-
"
|
|
3695
|
-
"
|
|
3696
|
-
"
|
|
3697
|
-
"
|
|
3698
|
-
"
|
|
3699
|
-
"options": [
|
|
3700
|
-
"claude_code",
|
|
3701
|
-
"cursor",
|
|
3702
|
-
"copilot",
|
|
3703
|
-
"windsurf",
|
|
3704
|
-
"cline",
|
|
3705
|
-
"universal"
|
|
3706
|
-
],
|
|
3707
|
-
"type": "option"
|
|
3708
|
-
},
|
|
3709
|
-
"category": {
|
|
3710
|
-
"description": "Filter by category",
|
|
3711
|
-
"name": "category",
|
|
3727
|
+
"format": {
|
|
3728
|
+
"char": "f",
|
|
3729
|
+
"description": "Output format",
|
|
3730
|
+
"name": "format",
|
|
3731
|
+
"default": "yaml",
|
|
3712
3732
|
"hasDynamicHelp": false,
|
|
3713
3733
|
"multiple": false,
|
|
3714
3734
|
"options": [
|
|
3715
|
-
"
|
|
3716
|
-
"
|
|
3717
|
-
"
|
|
3718
|
-
"tool",
|
|
3719
|
-
"security",
|
|
3720
|
-
"testing",
|
|
3721
|
-
"architecture",
|
|
3722
|
-
"devops",
|
|
3723
|
-
"documentation",
|
|
3724
|
-
"performance"
|
|
3735
|
+
"yaml",
|
|
3736
|
+
"json",
|
|
3737
|
+
"raw"
|
|
3725
3738
|
],
|
|
3726
3739
|
"type": "option"
|
|
3727
|
-
},
|
|
3728
|
-
"language": {
|
|
3729
|
-
"description": "Filter by programming language",
|
|
3730
|
-
"name": "language",
|
|
3731
|
-
"hasDynamicHelp": false,
|
|
3732
|
-
"multiple": false,
|
|
3733
|
-
"type": "option"
|
|
3734
|
-
},
|
|
3735
|
-
"framework": {
|
|
3736
|
-
"description": "Filter by framework",
|
|
3737
|
-
"name": "framework",
|
|
3738
|
-
"hasDynamicHelp": false,
|
|
3739
|
-
"multiple": false,
|
|
3740
|
-
"type": "option"
|
|
3741
|
-
},
|
|
3742
|
-
"limit": {
|
|
3743
|
-
"description": "Max results",
|
|
3744
|
-
"name": "limit",
|
|
3745
|
-
"default": 20,
|
|
3746
|
-
"hasDynamicHelp": false,
|
|
3747
|
-
"multiple": false,
|
|
3748
|
-
"type": "option"
|
|
3749
3740
|
}
|
|
3750
3741
|
},
|
|
3751
3742
|
"hasDynamicHelp": false,
|
|
3752
3743
|
"hiddenAliases": [],
|
|
3753
|
-
"id": "
|
|
3744
|
+
"id": "instructions:get",
|
|
3754
3745
|
"pluginAlias": "@rulemetric/cli",
|
|
3755
3746
|
"pluginName": "@rulemetric/cli",
|
|
3756
3747
|
"pluginType": "core",
|
|
3757
3748
|
"strict": true,
|
|
3758
|
-
"enableJsonFlag":
|
|
3749
|
+
"enableJsonFlag": true,
|
|
3759
3750
|
"isESM": true,
|
|
3760
3751
|
"relativePath": [
|
|
3761
3752
|
"dist",
|
|
3762
3753
|
"commands",
|
|
3763
|
-
"
|
|
3764
|
-
"
|
|
3754
|
+
"instructions",
|
|
3755
|
+
"get.js"
|
|
3765
3756
|
]
|
|
3766
3757
|
},
|
|
3767
|
-
"
|
|
3758
|
+
"instructions:list": {
|
|
3768
3759
|
"aliases": [],
|
|
3769
3760
|
"args": {},
|
|
3770
|
-
"description": "
|
|
3761
|
+
"description": "List your instructions",
|
|
3771
3762
|
"examples": [
|
|
3772
|
-
"<%= config.bin %>
|
|
3773
|
-
"<%= config.bin %>
|
|
3763
|
+
"<%= config.bin %> instructions list",
|
|
3764
|
+
"<%= config.bin %> instructions list --json"
|
|
3774
3765
|
],
|
|
3775
3766
|
"flags": {
|
|
3767
|
+
"json": {
|
|
3768
|
+
"description": "Format output as json.",
|
|
3769
|
+
"helpGroup": "GLOBAL",
|
|
3770
|
+
"name": "json",
|
|
3771
|
+
"allowNo": false,
|
|
3772
|
+
"type": "boolean"
|
|
3773
|
+
},
|
|
3776
3774
|
"api-url": {
|
|
3777
3775
|
"description": "Override API base URL",
|
|
3778
3776
|
"env": "RULEMETRIC_API_URL",
|
|
@@ -3782,41 +3780,49 @@
|
|
|
3782
3780
|
"multiple": false,
|
|
3783
3781
|
"type": "option"
|
|
3784
3782
|
},
|
|
3785
|
-
"
|
|
3786
|
-
"
|
|
3787
|
-
"
|
|
3788
|
-
"
|
|
3789
|
-
"
|
|
3783
|
+
"format": {
|
|
3784
|
+
"char": "f",
|
|
3785
|
+
"description": "Output format",
|
|
3786
|
+
"name": "format",
|
|
3787
|
+
"default": "table",
|
|
3788
|
+
"hasDynamicHelp": false,
|
|
3789
|
+
"multiple": false,
|
|
3790
|
+
"options": [
|
|
3791
|
+
"table",
|
|
3792
|
+
"json"
|
|
3793
|
+
],
|
|
3794
|
+
"type": "option"
|
|
3790
3795
|
}
|
|
3791
3796
|
},
|
|
3792
3797
|
"hasDynamicHelp": false,
|
|
3793
3798
|
"hiddenAliases": [],
|
|
3794
|
-
"id": "
|
|
3799
|
+
"id": "instructions:list",
|
|
3795
3800
|
"pluginAlias": "@rulemetric/cli",
|
|
3796
3801
|
"pluginName": "@rulemetric/cli",
|
|
3797
3802
|
"pluginType": "core",
|
|
3798
3803
|
"strict": true,
|
|
3799
|
-
"enableJsonFlag":
|
|
3804
|
+
"enableJsonFlag": true,
|
|
3800
3805
|
"isESM": true,
|
|
3801
3806
|
"relativePath": [
|
|
3802
3807
|
"dist",
|
|
3803
3808
|
"commands",
|
|
3804
|
-
"
|
|
3805
|
-
"
|
|
3809
|
+
"instructions",
|
|
3810
|
+
"list.js"
|
|
3806
3811
|
]
|
|
3807
3812
|
},
|
|
3808
|
-
"
|
|
3813
|
+
"instructions:promote": {
|
|
3809
3814
|
"aliases": [],
|
|
3810
3815
|
"args": {
|
|
3811
3816
|
"id": {
|
|
3812
|
-
"description": "
|
|
3817
|
+
"description": "ID of the instruction to promote",
|
|
3813
3818
|
"name": "id",
|
|
3814
3819
|
"required": true
|
|
3815
3820
|
}
|
|
3816
3821
|
},
|
|
3817
|
-
"description": "
|
|
3822
|
+
"description": "Promote an instruction to a higher scope (personal → team → org)",
|
|
3818
3823
|
"examples": [
|
|
3819
|
-
"<%= config.bin %>
|
|
3824
|
+
"<%= config.bin %> instructions promote <id> --scope team --ref <team-id>",
|
|
3825
|
+
"<%= config.bin %> instructions promote <id> --scope org --ref <org-id>"
|
|
3820
3826
|
],
|
|
3821
3827
|
"flags": {
|
|
3822
3828
|
"api-url": {
|
|
@@ -3827,11 +3833,31 @@
|
|
|
3827
3833
|
"hasDynamicHelp": false,
|
|
3828
3834
|
"multiple": false,
|
|
3829
3835
|
"type": "option"
|
|
3836
|
+
},
|
|
3837
|
+
"scope": {
|
|
3838
|
+
"description": "Target scope",
|
|
3839
|
+
"name": "scope",
|
|
3840
|
+
"required": true,
|
|
3841
|
+
"hasDynamicHelp": false,
|
|
3842
|
+
"multiple": false,
|
|
3843
|
+
"options": [
|
|
3844
|
+
"team",
|
|
3845
|
+
"org"
|
|
3846
|
+
],
|
|
3847
|
+
"type": "option"
|
|
3848
|
+
},
|
|
3849
|
+
"ref": {
|
|
3850
|
+
"description": "Target scope ref (team or org ID)",
|
|
3851
|
+
"name": "ref",
|
|
3852
|
+
"required": true,
|
|
3853
|
+
"hasDynamicHelp": false,
|
|
3854
|
+
"multiple": false,
|
|
3855
|
+
"type": "option"
|
|
3830
3856
|
}
|
|
3831
3857
|
},
|
|
3832
3858
|
"hasDynamicHelp": false,
|
|
3833
3859
|
"hiddenAliases": [],
|
|
3834
|
-
"id": "
|
|
3860
|
+
"id": "instructions:promote",
|
|
3835
3861
|
"pluginAlias": "@rulemetric/cli",
|
|
3836
3862
|
"pluginName": "@rulemetric/cli",
|
|
3837
3863
|
"pluginType": "core",
|
|
@@ -3841,23 +3867,20 @@
|
|
|
3841
3867
|
"relativePath": [
|
|
3842
3868
|
"dist",
|
|
3843
3869
|
"commands",
|
|
3844
|
-
"
|
|
3845
|
-
"
|
|
3870
|
+
"instructions",
|
|
3871
|
+
"promote.js"
|
|
3846
3872
|
]
|
|
3847
3873
|
},
|
|
3848
|
-
"
|
|
3874
|
+
"instructions:pull": {
|
|
3849
3875
|
"aliases": [],
|
|
3850
3876
|
"args": {
|
|
3851
3877
|
"id": {
|
|
3852
|
-
"description": "
|
|
3878
|
+
"description": "ID of the forked instruction",
|
|
3853
3879
|
"name": "id",
|
|
3854
3880
|
"required": true
|
|
3855
3881
|
}
|
|
3856
3882
|
},
|
|
3857
|
-
"description": "
|
|
3858
|
-
"examples": [
|
|
3859
|
-
"<%= config.bin %> suggestions dismiss <id>"
|
|
3860
|
-
],
|
|
3883
|
+
"description": "Pull upstream changes into a forked instruction",
|
|
3861
3884
|
"flags": {
|
|
3862
3885
|
"api-url": {
|
|
3863
3886
|
"description": "Override API base URL",
|
|
@@ -3871,7 +3894,7 @@
|
|
|
3871
3894
|
},
|
|
3872
3895
|
"hasDynamicHelp": false,
|
|
3873
3896
|
"hiddenAliases": [],
|
|
3874
|
-
"id": "
|
|
3897
|
+
"id": "instructions:pull",
|
|
3875
3898
|
"pluginAlias": "@rulemetric/cli",
|
|
3876
3899
|
"pluginName": "@rulemetric/cli",
|
|
3877
3900
|
"pluginType": "core",
|
|
@@ -3881,18 +3904,20 @@
|
|
|
3881
3904
|
"relativePath": [
|
|
3882
3905
|
"dist",
|
|
3883
3906
|
"commands",
|
|
3884
|
-
"
|
|
3885
|
-
"
|
|
3907
|
+
"instructions",
|
|
3908
|
+
"pull.js"
|
|
3886
3909
|
]
|
|
3887
3910
|
},
|
|
3888
|
-
"
|
|
3911
|
+
"instructions:upstream": {
|
|
3889
3912
|
"aliases": [],
|
|
3890
|
-
"args": {
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3913
|
+
"args": {
|
|
3914
|
+
"id": {
|
|
3915
|
+
"description": "ID of the forked instruction",
|
|
3916
|
+
"name": "id",
|
|
3917
|
+
"required": true
|
|
3918
|
+
}
|
|
3919
|
+
},
|
|
3920
|
+
"description": "Check if a forked instruction has upstream updates",
|
|
3896
3921
|
"flags": {
|
|
3897
3922
|
"api-url": {
|
|
3898
3923
|
"description": "Override API base URL",
|
|
@@ -3902,19 +3927,11 @@
|
|
|
3902
3927
|
"hasDynamicHelp": false,
|
|
3903
3928
|
"multiple": false,
|
|
3904
3929
|
"type": "option"
|
|
3905
|
-
},
|
|
3906
|
-
"project": {
|
|
3907
|
-
"char": "p",
|
|
3908
|
-
"description": "Project path (defaults to current directory)",
|
|
3909
|
-
"name": "project",
|
|
3910
|
-
"hasDynamicHelp": false,
|
|
3911
|
-
"multiple": false,
|
|
3912
|
-
"type": "option"
|
|
3913
3930
|
}
|
|
3914
3931
|
},
|
|
3915
3932
|
"hasDynamicHelp": false,
|
|
3916
3933
|
"hiddenAliases": [],
|
|
3917
|
-
"id": "
|
|
3934
|
+
"id": "instructions:upstream",
|
|
3918
3935
|
"pluginAlias": "@rulemetric/cli",
|
|
3919
3936
|
"pluginName": "@rulemetric/cli",
|
|
3920
3937
|
"pluginType": "core",
|
|
@@ -3924,18 +3941,31 @@
|
|
|
3924
3941
|
"relativePath": [
|
|
3925
3942
|
"dist",
|
|
3926
3943
|
"commands",
|
|
3927
|
-
"
|
|
3928
|
-
"
|
|
3944
|
+
"instructions",
|
|
3945
|
+
"upstream.js"
|
|
3929
3946
|
]
|
|
3930
3947
|
},
|
|
3931
|
-
"
|
|
3948
|
+
"instructions:versions": {
|
|
3932
3949
|
"aliases": [],
|
|
3933
|
-
"args": {
|
|
3934
|
-
|
|
3950
|
+
"args": {
|
|
3951
|
+
"id": {
|
|
3952
|
+
"description": "Instruction ID",
|
|
3953
|
+
"name": "id",
|
|
3954
|
+
"required": true
|
|
3955
|
+
}
|
|
3956
|
+
},
|
|
3957
|
+
"description": "List version history for an instruction",
|
|
3935
3958
|
"examples": [
|
|
3936
|
-
"<%= config.bin %>
|
|
3959
|
+
"<%= config.bin %> instructions versions <id>"
|
|
3937
3960
|
],
|
|
3938
3961
|
"flags": {
|
|
3962
|
+
"json": {
|
|
3963
|
+
"description": "Format output as json.",
|
|
3964
|
+
"helpGroup": "GLOBAL",
|
|
3965
|
+
"name": "json",
|
|
3966
|
+
"allowNo": false,
|
|
3967
|
+
"type": "boolean"
|
|
3968
|
+
},
|
|
3939
3969
|
"api-url": {
|
|
3940
3970
|
"description": "Override API base URL",
|
|
3941
3971
|
"env": "RULEMETRIC_API_URL",
|
|
@@ -3948,20 +3978,20 @@
|
|
|
3948
3978
|
},
|
|
3949
3979
|
"hasDynamicHelp": false,
|
|
3950
3980
|
"hiddenAliases": [],
|
|
3951
|
-
"id": "
|
|
3981
|
+
"id": "instructions:versions",
|
|
3952
3982
|
"pluginAlias": "@rulemetric/cli",
|
|
3953
3983
|
"pluginName": "@rulemetric/cli",
|
|
3954
3984
|
"pluginType": "core",
|
|
3955
3985
|
"strict": true,
|
|
3956
|
-
"enableJsonFlag":
|
|
3986
|
+
"enableJsonFlag": true,
|
|
3957
3987
|
"isESM": true,
|
|
3958
3988
|
"relativePath": [
|
|
3959
3989
|
"dist",
|
|
3960
3990
|
"commands",
|
|
3961
|
-
"
|
|
3962
|
-
"
|
|
3991
|
+
"instructions",
|
|
3992
|
+
"versions.js"
|
|
3963
3993
|
]
|
|
3964
3994
|
}
|
|
3965
3995
|
},
|
|
3966
|
-
"version": "0.
|
|
3996
|
+
"version": "0.4.0"
|
|
3967
3997
|
}
|