@rulemetric/cli 0.2.4 → 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-JM6BQSRE.js → chunk-2WWGG2A5.js} +11 -11
- package/dist/{chunk-4A7FKR2O.js → chunk-42A3HEEH.js} +50 -3
- package/dist/chunk-42A3HEEH.js.map +7 -0
- package/dist/{chunk-PDURR7O3.js → chunk-46LMTDRE.js} +2 -2
- package/dist/{chunk-ISDA2QFX.js → chunk-4QGATD5Y.js} +209 -2
- package/dist/chunk-4QGATD5Y.js.map +7 -0
- package/dist/{chunk-L674RNKQ.js → chunk-ANOWI23I.js} +51 -1
- package/dist/chunk-ANOWI23I.js.map +7 -0
- package/dist/{chunk-3LHLSY7V.js → chunk-C7SRRSPA.js} +6 -6
- package/dist/{chunk-B3HILODD.js → chunk-CLC7ZFH2.js} +6 -6
- package/dist/{chunk-PIOVE3TN.js → chunk-FUS5C4SB.js} +2 -2
- package/dist/{chunk-PHLMIZKM.js → chunk-JNFIYBFL.js} +30 -5
- package/dist/chunk-JNFIYBFL.js.map +7 -0
- package/dist/{chunk-RDIH4AG2.js → chunk-MTLAIJED.js} +3 -3
- package/dist/{chunk-NIDLJO6F.js → chunk-QSN77T7C.js} +23 -1
- package/dist/{chunk-NIDLJO6F.js.map → chunk-QSN77T7C.js.map} +2 -2
- package/dist/chunk-SO3T35U7.js +80 -0
- package/dist/chunk-SO3T35U7.js.map +7 -0
- package/dist/{chunk-ELL34R3K.js → chunk-XMWHTOCC.js} +3 -3
- package/dist/{chunk-3IU7GFXS.js → chunk-YEBBX4HQ.js} +2 -2
- package/dist/commands/evals/agent.js +12 -14
- package/dist/commands/evals/agent.js.map +2 -2
- 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 +18 -24
- 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 +186 -11
- package/dist/commands/service/install.js.map +2 -2
- package/dist/commands/service/uninstall.js +33 -2
- package/dist/commands/service/uninstall.js.map +2 -2
- package/dist/dashboard/Dashboard.js +12 -12
- package/dist/dashboard/data.js +2 -2
- package/dist/{dist-I6BCOLNG.js → dist-NEECHU47.js} +6 -2
- package/dist/lib/agent-loop.js +12 -12
- package/dist/lib/handlers/process-announcement.js +3 -3
- package/dist/lib/handlers/process-changelog.js +3 -3
- package/dist/lib/handlers/process-launch.js +3 -3
- package/dist/lib/handlers/process-run-cleanup.js +4 -4
- package/dist/lib/handlers/process-session-goal.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/dist/lib/manual-tasks.js +3 -3
- package/dist/lib/statusline-shim.js +1 -1
- package/dist/lib/worktree.js +2 -2
- package/oclif.manifest.json +1014 -977
- package/package.json +18 -15
- package/dist/chunk-4A7FKR2O.js.map +0 -7
- package/dist/chunk-ISDA2QFX.js.map +0 -7
- package/dist/chunk-L674RNKQ.js.map +0 -7
- package/dist/chunk-PHLMIZKM.js.map +0 -7
- /package/dist/{chunk-JM6BQSRE.js.map → chunk-2WWGG2A5.js.map} +0 -0
- /package/dist/{chunk-PDURR7O3.js.map → chunk-46LMTDRE.js.map} +0 -0
- /package/dist/{chunk-3LHLSY7V.js.map → chunk-C7SRRSPA.js.map} +0 -0
- /package/dist/{chunk-B3HILODD.js.map → chunk-CLC7ZFH2.js.map} +0 -0
- /package/dist/{chunk-PIOVE3TN.js.map → chunk-FUS5C4SB.js.map} +0 -0
- /package/dist/{chunk-RDIH4AG2.js.map → chunk-MTLAIJED.js.map} +0 -0
- /package/dist/{chunk-ELL34R3K.js.map → chunk-XMWHTOCC.js.map} +0 -0
- /package/dist/{chunk-3IU7GFXS.js.map → chunk-YEBBX4HQ.js.map} +0 -0
- /package/dist/{dist-I6BCOLNG.js.map → dist-NEECHU47.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":
|
|
2565
|
-
"hasDynamicHelp": false,
|
|
2588
|
+
"port": {
|
|
2589
|
+
"char": "p",
|
|
2590
|
+
"description": "API server port",
|
|
2591
|
+
"name": "port",
|
|
2592
|
+
"default": 3000,
|
|
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
|
-
"
|
|
2869
|
+
"sessions",
|
|
2870
|
+
"list.js"
|
|
2917
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,20 +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
|
-
],
|
|
2929
|
+
"description": "Report filesystem-detected languages for the current project to the server.",
|
|
3022
2930
|
"flags": {
|
|
3023
2931
|
"api-url": {
|
|
3024
2932
|
"description": "Override API base URL",
|
|
@@ -3029,38 +2937,18 @@
|
|
|
3029
2937
|
"multiple": false,
|
|
3030
2938
|
"type": "option"
|
|
3031
2939
|
},
|
|
3032
|
-
"
|
|
3033
|
-
"
|
|
3034
|
-
"
|
|
3035
|
-
"name": "port",
|
|
3036
|
-
"default": 3000,
|
|
2940
|
+
"cwd": {
|
|
2941
|
+
"description": "Project path to inspect (defaults to process.cwd())",
|
|
2942
|
+
"name": "cwd",
|
|
3037
2943
|
"hasDynamicHelp": false,
|
|
3038
2944
|
"multiple": false,
|
|
3039
2945
|
"type": "option"
|
|
3040
|
-
},
|
|
3041
|
-
"force": {
|
|
3042
|
-
"char": "f",
|
|
3043
|
-
"description": "Overwrite existing service configuration and reclaim conflicting ports",
|
|
3044
|
-
"name": "force",
|
|
3045
|
-
"allowNo": false,
|
|
3046
|
-
"type": "boolean"
|
|
3047
|
-
},
|
|
3048
|
-
"skip-build": {
|
|
3049
|
-
"description": "Skip the pre-install workspace build (API/web/cli dist must already exist)",
|
|
3050
|
-
"name": "skip-build",
|
|
3051
|
-
"allowNo": false,
|
|
3052
|
-
"type": "boolean"
|
|
3053
|
-
},
|
|
3054
|
-
"no-proxy": {
|
|
3055
|
-
"description": "Skip gateway + mitmproxy plists (just install API + worker)",
|
|
3056
|
-
"name": "no-proxy",
|
|
3057
|
-
"allowNo": false,
|
|
3058
|
-
"type": "boolean"
|
|
3059
2946
|
}
|
|
3060
2947
|
},
|
|
3061
2948
|
"hasDynamicHelp": false,
|
|
2949
|
+
"hidden": true,
|
|
3062
2950
|
"hiddenAliases": [],
|
|
3063
|
-
"id": "
|
|
2951
|
+
"id": "signals:report",
|
|
3064
2952
|
"pluginAlias": "@rulemetric/cli",
|
|
3065
2953
|
"pluginName": "@rulemetric/cli",
|
|
3066
2954
|
"pluginType": "core",
|
|
@@ -3070,14 +2958,18 @@
|
|
|
3070
2958
|
"relativePath": [
|
|
3071
2959
|
"dist",
|
|
3072
2960
|
"commands",
|
|
3073
|
-
"
|
|
3074
|
-
"
|
|
2961
|
+
"signals",
|
|
2962
|
+
"report.js"
|
|
3075
2963
|
]
|
|
3076
2964
|
},
|
|
3077
|
-
"
|
|
2965
|
+
"skills:export-approved": {
|
|
3078
2966
|
"aliases": [],
|
|
3079
2967
|
"args": {},
|
|
3080
|
-
"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
|
+
],
|
|
3081
2973
|
"flags": {
|
|
3082
2974
|
"api-url": {
|
|
3083
2975
|
"description": "Override API base URL",
|
|
@@ -3087,34 +2979,11 @@
|
|
|
3087
2979
|
"hasDynamicHelp": false,
|
|
3088
2980
|
"multiple": false,
|
|
3089
2981
|
"type": "option"
|
|
3090
|
-
}
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
"pluginAlias": "@rulemetric/cli",
|
|
3096
|
-
"pluginName": "@rulemetric/cli",
|
|
3097
|
-
"pluginType": "core",
|
|
3098
|
-
"strict": true,
|
|
3099
|
-
"enableJsonFlag": false,
|
|
3100
|
-
"isESM": true,
|
|
3101
|
-
"relativePath": [
|
|
3102
|
-
"dist",
|
|
3103
|
-
"commands",
|
|
3104
|
-
"service",
|
|
3105
|
-
"status.js"
|
|
3106
|
-
]
|
|
3107
|
-
},
|
|
3108
|
-
"service:uninstall": {
|
|
3109
|
-
"aliases": [],
|
|
3110
|
-
"args": {},
|
|
3111
|
-
"description": "Remove all RuleMetric launchd services (API, worker, gateway, proxy)",
|
|
3112
|
-
"flags": {
|
|
3113
|
-
"api-url": {
|
|
3114
|
-
"description": "Override API base URL",
|
|
3115
|
-
"env": "RULEMETRIC_API_URL",
|
|
3116
|
-
"hidden": true,
|
|
3117
|
-
"name": "api-url",
|
|
2982
|
+
},
|
|
2983
|
+
"output": {
|
|
2984
|
+
"description": "Output file path",
|
|
2985
|
+
"name": "output",
|
|
2986
|
+
"default": "packages/skills-registry/community-skills.json",
|
|
3118
2987
|
"hasDynamicHelp": false,
|
|
3119
2988
|
"multiple": false,
|
|
3120
2989
|
"type": "option"
|
|
@@ -3122,7 +2991,7 @@
|
|
|
3122
2991
|
},
|
|
3123
2992
|
"hasDynamicHelp": false,
|
|
3124
2993
|
"hiddenAliases": [],
|
|
3125
|
-
"id": "
|
|
2994
|
+
"id": "skills:export-approved",
|
|
3126
2995
|
"pluginAlias": "@rulemetric/cli",
|
|
3127
2996
|
"pluginName": "@rulemetric/cli",
|
|
3128
2997
|
"pluginType": "core",
|
|
@@ -3132,22 +3001,24 @@
|
|
|
3132
3001
|
"relativePath": [
|
|
3133
3002
|
"dist",
|
|
3134
3003
|
"commands",
|
|
3135
|
-
"
|
|
3136
|
-
"
|
|
3004
|
+
"skills",
|
|
3005
|
+
"export-approved.js"
|
|
3137
3006
|
]
|
|
3138
3007
|
},
|
|
3139
|
-
"
|
|
3008
|
+
"skills:install": {
|
|
3140
3009
|
"aliases": [],
|
|
3141
3010
|
"args": {
|
|
3142
3011
|
"id": {
|
|
3143
|
-
"description": "
|
|
3012
|
+
"description": "Skill ID to install",
|
|
3144
3013
|
"name": "id",
|
|
3145
3014
|
"required": true
|
|
3146
3015
|
}
|
|
3147
3016
|
},
|
|
3148
|
-
"description": "
|
|
3017
|
+
"description": "Install a skill from the registry into your project",
|
|
3149
3018
|
"examples": [
|
|
3150
|
-
"<%= 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"
|
|
3151
3022
|
],
|
|
3152
3023
|
"flags": {
|
|
3153
3024
|
"api-url": {
|
|
@@ -3158,11 +3029,37 @@
|
|
|
3158
3029
|
"hasDynamicHelp": false,
|
|
3159
3030
|
"multiple": false,
|
|
3160
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"
|
|
3161
3058
|
}
|
|
3162
3059
|
},
|
|
3163
3060
|
"hasDynamicHelp": false,
|
|
3164
3061
|
"hiddenAliases": [],
|
|
3165
|
-
"id": "
|
|
3062
|
+
"id": "skills:install",
|
|
3166
3063
|
"pluginAlias": "@rulemetric/cli",
|
|
3167
3064
|
"pluginName": "@rulemetric/cli",
|
|
3168
3065
|
"pluginType": "core",
|
|
@@ -3172,16 +3069,17 @@
|
|
|
3172
3069
|
"relativePath": [
|
|
3173
3070
|
"dist",
|
|
3174
3071
|
"commands",
|
|
3175
|
-
"
|
|
3176
|
-
"
|
|
3072
|
+
"skills",
|
|
3073
|
+
"install.js"
|
|
3177
3074
|
]
|
|
3178
3075
|
},
|
|
3179
|
-
"
|
|
3076
|
+
"skills:list": {
|
|
3180
3077
|
"aliases": [],
|
|
3181
3078
|
"args": {},
|
|
3182
|
-
"description": "
|
|
3079
|
+
"description": "List skills in the registry",
|
|
3183
3080
|
"examples": [
|
|
3184
|
-
"<%= config.bin %>
|
|
3081
|
+
"<%= config.bin %> skills list",
|
|
3082
|
+
"<%= config.bin %> skills list --stats"
|
|
3185
3083
|
],
|
|
3186
3084
|
"flags": {
|
|
3187
3085
|
"api-url": {
|
|
@@ -3192,11 +3090,25 @@
|
|
|
3192
3090
|
"hasDynamicHelp": false,
|
|
3193
3091
|
"multiple": false,
|
|
3194
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"
|
|
3195
3107
|
}
|
|
3196
3108
|
},
|
|
3197
3109
|
"hasDynamicHelp": false,
|
|
3198
3110
|
"hiddenAliases": [],
|
|
3199
|
-
"id": "
|
|
3111
|
+
"id": "skills:list",
|
|
3200
3112
|
"pluginAlias": "@rulemetric/cli",
|
|
3201
3113
|
"pluginName": "@rulemetric/cli",
|
|
3202
3114
|
"pluginType": "core",
|
|
@@ -3206,23 +3118,23 @@
|
|
|
3206
3118
|
"relativePath": [
|
|
3207
3119
|
"dist",
|
|
3208
3120
|
"commands",
|
|
3209
|
-
"
|
|
3210
|
-
"
|
|
3121
|
+
"skills",
|
|
3122
|
+
"list.js"
|
|
3211
3123
|
]
|
|
3212
3124
|
},
|
|
3213
|
-
"
|
|
3125
|
+
"skills:publish": {
|
|
3214
3126
|
"aliases": [],
|
|
3215
3127
|
"args": {
|
|
3216
|
-
"
|
|
3217
|
-
"description": "Path to
|
|
3218
|
-
"name": "
|
|
3128
|
+
"file": {
|
|
3129
|
+
"description": "Path to skill file (.md)",
|
|
3130
|
+
"name": "file",
|
|
3219
3131
|
"required": true
|
|
3220
3132
|
}
|
|
3221
3133
|
},
|
|
3222
|
-
"description": "
|
|
3134
|
+
"description": "Submit a skill file to the RuleMetric skills registry",
|
|
3223
3135
|
"examples": [
|
|
3224
|
-
"<%= config.bin %>
|
|
3225
|
-
"<%= config.bin %>
|
|
3136
|
+
"<%= config.bin %> skills publish ./my-skill.md",
|
|
3137
|
+
"<%= config.bin %> skills publish ./my-skill.md --category workflow --tool claude_code"
|
|
3226
3138
|
],
|
|
3227
3139
|
"flags": {
|
|
3228
3140
|
"api-url": {
|
|
@@ -3234,37 +3146,95 @@
|
|
|
3234
3146
|
"multiple": false,
|
|
3235
3147
|
"type": "option"
|
|
3236
3148
|
},
|
|
3237
|
-
"
|
|
3238
|
-
"description": "
|
|
3239
|
-
"name": "
|
|
3149
|
+
"name": {
|
|
3150
|
+
"description": "Skill name (defaults to filename)",
|
|
3151
|
+
"name": "name",
|
|
3240
3152
|
"hasDynamicHelp": false,
|
|
3241
3153
|
"multiple": false,
|
|
3242
3154
|
"type": "option"
|
|
3243
|
-
}
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
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
|
+
},
|
|
3184
|
+
"tool": {
|
|
3185
|
+
"description": "Primary tool this skill targets",
|
|
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": "",
|
|
3203
|
+
"hasDynamicHelp": false,
|
|
3204
|
+
"multiple": false,
|
|
3205
|
+
"type": "option"
|
|
3206
|
+
}
|
|
3207
|
+
},
|
|
3208
|
+
"hasDynamicHelp": false,
|
|
3209
|
+
"hiddenAliases": [],
|
|
3210
|
+
"id": "skills:publish",
|
|
3211
|
+
"pluginAlias": "@rulemetric/cli",
|
|
3212
|
+
"pluginName": "@rulemetric/cli",
|
|
3213
|
+
"pluginType": "core",
|
|
3214
|
+
"strict": true,
|
|
3252
3215
|
"enableJsonFlag": false,
|
|
3253
3216
|
"isESM": true,
|
|
3254
3217
|
"relativePath": [
|
|
3255
3218
|
"dist",
|
|
3256
3219
|
"commands",
|
|
3257
|
-
"
|
|
3258
|
-
"
|
|
3220
|
+
"skills",
|
|
3221
|
+
"publish.js"
|
|
3259
3222
|
]
|
|
3260
3223
|
},
|
|
3261
|
-
"
|
|
3224
|
+
"skills:search": {
|
|
3262
3225
|
"aliases": [],
|
|
3263
|
-
"args": {
|
|
3264
|
-
|
|
3226
|
+
"args": {
|
|
3227
|
+
"query": {
|
|
3228
|
+
"description": "Search term",
|
|
3229
|
+
"name": "query",
|
|
3230
|
+
"required": false
|
|
3231
|
+
}
|
|
3232
|
+
},
|
|
3233
|
+
"description": "Search the community skills registry",
|
|
3265
3234
|
"examples": [
|
|
3266
|
-
"<%= config.bin %>
|
|
3267
|
-
"<%= config.bin %>
|
|
3235
|
+
"<%= config.bin %> skills search \"tdd\"",
|
|
3236
|
+
"<%= config.bin %> skills search --tool cursor --category testing",
|
|
3237
|
+
"<%= config.bin %> skills search --language python"
|
|
3268
3238
|
],
|
|
3269
3239
|
"flags": {
|
|
3270
3240
|
"api-url": {
|
|
@@ -3277,10 +3247,51 @@
|
|
|
3277
3247
|
"type": "option"
|
|
3278
3248
|
},
|
|
3279
3249
|
"tool": {
|
|
3280
|
-
"description": "Filter by tool
|
|
3250
|
+
"description": "Filter by tool",
|
|
3281
3251
|
"name": "tool",
|
|
3282
3252
|
"hasDynamicHelp": false,
|
|
3283
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,
|
|
3284
3295
|
"type": "option"
|
|
3285
3296
|
},
|
|
3286
3297
|
"limit": {
|
|
@@ -3294,7 +3305,7 @@
|
|
|
3294
3305
|
},
|
|
3295
3306
|
"hasDynamicHelp": false,
|
|
3296
3307
|
"hiddenAliases": [],
|
|
3297
|
-
"id": "
|
|
3308
|
+
"id": "skills:search",
|
|
3298
3309
|
"pluginAlias": "@rulemetric/cli",
|
|
3299
3310
|
"pluginName": "@rulemetric/cli",
|
|
3300
3311
|
"pluginType": "core",
|
|
@@ -3304,18 +3315,17 @@
|
|
|
3304
3315
|
"relativePath": [
|
|
3305
3316
|
"dist",
|
|
3306
3317
|
"commands",
|
|
3307
|
-
"
|
|
3308
|
-
"
|
|
3318
|
+
"skills",
|
|
3319
|
+
"search.js"
|
|
3309
3320
|
]
|
|
3310
3321
|
},
|
|
3311
|
-
"
|
|
3322
|
+
"skills:update": {
|
|
3312
3323
|
"aliases": [],
|
|
3313
3324
|
"args": {},
|
|
3314
|
-
"description": "
|
|
3325
|
+
"description": "Fetch latest skills from GitHub sources and update local registry",
|
|
3315
3326
|
"examples": [
|
|
3316
|
-
"<%= config.bin %>
|
|
3317
|
-
"<%= config.bin %>
|
|
3318
|
-
"eval \"$(rulemetric proxy env --python)\" && rulemetric sessions start --tool cortex"
|
|
3327
|
+
"<%= config.bin %> skills update",
|
|
3328
|
+
"<%= config.bin %> skills update --all"
|
|
3319
3329
|
],
|
|
3320
3330
|
"flags": {
|
|
3321
3331
|
"api-url": {
|
|
@@ -3327,27 +3337,16 @@
|
|
|
3327
3337
|
"multiple": false,
|
|
3328
3338
|
"type": "option"
|
|
3329
3339
|
},
|
|
3330
|
-
"
|
|
3331
|
-
"
|
|
3332
|
-
"
|
|
3333
|
-
"
|
|
3334
|
-
"
|
|
3335
|
-
"hasDynamicHelp": false,
|
|
3336
|
-
"multiple": false,
|
|
3337
|
-
"type": "option"
|
|
3338
|
-
},
|
|
3339
|
-
"project-dir": {
|
|
3340
|
-
"char": "d",
|
|
3341
|
-
"description": "Project directory (defaults to cwd)",
|
|
3342
|
-
"name": "project-dir",
|
|
3343
|
-
"hasDynamicHelp": false,
|
|
3344
|
-
"multiple": false,
|
|
3345
|
-
"type": "option"
|
|
3340
|
+
"all": {
|
|
3341
|
+
"description": "Include Tier 2 (niche) sources",
|
|
3342
|
+
"name": "all",
|
|
3343
|
+
"allowNo": false,
|
|
3344
|
+
"type": "boolean"
|
|
3346
3345
|
}
|
|
3347
3346
|
},
|
|
3348
3347
|
"hasDynamicHelp": false,
|
|
3349
3348
|
"hiddenAliases": [],
|
|
3350
|
-
"id": "
|
|
3349
|
+
"id": "skills:update",
|
|
3351
3350
|
"pluginAlias": "@rulemetric/cli",
|
|
3352
3351
|
"pluginName": "@rulemetric/cli",
|
|
3353
3352
|
"pluginType": "core",
|
|
@@ -3357,14 +3356,23 @@
|
|
|
3357
3356
|
"relativePath": [
|
|
3358
3357
|
"dist",
|
|
3359
3358
|
"commands",
|
|
3360
|
-
"
|
|
3361
|
-
"
|
|
3359
|
+
"skills",
|
|
3360
|
+
"update.js"
|
|
3362
3361
|
]
|
|
3363
3362
|
},
|
|
3364
|
-
"
|
|
3363
|
+
"suggestions:accept": {
|
|
3365
3364
|
"aliases": [],
|
|
3366
|
-
"args": {
|
|
3367
|
-
|
|
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
|
+
],
|
|
3368
3376
|
"flags": {
|
|
3369
3377
|
"api-url": {
|
|
3370
3378
|
"description": "Override API base URL",
|
|
@@ -3374,19 +3382,11 @@
|
|
|
3374
3382
|
"hasDynamicHelp": false,
|
|
3375
3383
|
"multiple": false,
|
|
3376
3384
|
"type": "option"
|
|
3377
|
-
},
|
|
3378
|
-
"cwd": {
|
|
3379
|
-
"description": "Project path to inspect (defaults to process.cwd())",
|
|
3380
|
-
"name": "cwd",
|
|
3381
|
-
"hasDynamicHelp": false,
|
|
3382
|
-
"multiple": false,
|
|
3383
|
-
"type": "option"
|
|
3384
3385
|
}
|
|
3385
3386
|
},
|
|
3386
3387
|
"hasDynamicHelp": false,
|
|
3387
|
-
"hidden": true,
|
|
3388
3388
|
"hiddenAliases": [],
|
|
3389
|
-
"id": "
|
|
3389
|
+
"id": "suggestions:accept",
|
|
3390
3390
|
"pluginAlias": "@rulemetric/cli",
|
|
3391
3391
|
"pluginName": "@rulemetric/cli",
|
|
3392
3392
|
"pluginType": "core",
|
|
@@ -3396,17 +3396,22 @@
|
|
|
3396
3396
|
"relativePath": [
|
|
3397
3397
|
"dist",
|
|
3398
3398
|
"commands",
|
|
3399
|
-
"
|
|
3400
|
-
"
|
|
3399
|
+
"suggestions",
|
|
3400
|
+
"accept.js"
|
|
3401
3401
|
]
|
|
3402
3402
|
},
|
|
3403
|
-
"
|
|
3403
|
+
"suggestions:dismiss": {
|
|
3404
3404
|
"aliases": [],
|
|
3405
|
-
"args": {
|
|
3406
|
-
|
|
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",
|
|
3407
3413
|
"examples": [
|
|
3408
|
-
"<%= config.bin %>
|
|
3409
|
-
"<%= config.bin %> skills export-approved --output ./community-skills.json"
|
|
3414
|
+
"<%= config.bin %> suggestions dismiss <id>"
|
|
3410
3415
|
],
|
|
3411
3416
|
"flags": {
|
|
3412
3417
|
"api-url": {
|
|
@@ -3417,19 +3422,11 @@
|
|
|
3417
3422
|
"hasDynamicHelp": false,
|
|
3418
3423
|
"multiple": false,
|
|
3419
3424
|
"type": "option"
|
|
3420
|
-
},
|
|
3421
|
-
"output": {
|
|
3422
|
-
"description": "Output file path",
|
|
3423
|
-
"name": "output",
|
|
3424
|
-
"default": "packages/skills-registry/community-skills.json",
|
|
3425
|
-
"hasDynamicHelp": false,
|
|
3426
|
-
"multiple": false,
|
|
3427
|
-
"type": "option"
|
|
3428
3425
|
}
|
|
3429
3426
|
},
|
|
3430
3427
|
"hasDynamicHelp": false,
|
|
3431
3428
|
"hiddenAliases": [],
|
|
3432
|
-
"id": "
|
|
3429
|
+
"id": "suggestions:dismiss",
|
|
3433
3430
|
"pluginAlias": "@rulemetric/cli",
|
|
3434
3431
|
"pluginName": "@rulemetric/cli",
|
|
3435
3432
|
"pluginType": "core",
|
|
@@ -3439,24 +3436,17 @@
|
|
|
3439
3436
|
"relativePath": [
|
|
3440
3437
|
"dist",
|
|
3441
3438
|
"commands",
|
|
3442
|
-
"
|
|
3443
|
-
"
|
|
3439
|
+
"suggestions",
|
|
3440
|
+
"dismiss.js"
|
|
3444
3441
|
]
|
|
3445
3442
|
},
|
|
3446
|
-
"
|
|
3443
|
+
"suggestions:list": {
|
|
3447
3444
|
"aliases": [],
|
|
3448
|
-
"args": {
|
|
3449
|
-
|
|
3450
|
-
"description": "Skill ID to install",
|
|
3451
|
-
"name": "id",
|
|
3452
|
-
"required": true
|
|
3453
|
-
}
|
|
3454
|
-
},
|
|
3455
|
-
"description": "Install a skill from the registry into your project",
|
|
3445
|
+
"args": {},
|
|
3446
|
+
"description": "List instruction suggestions for a project",
|
|
3456
3447
|
"examples": [
|
|
3457
|
-
"<%= config.bin %>
|
|
3458
|
-
"<%= config.bin %>
|
|
3459
|
-
"<%= config.bin %> skills install tdd-workflow --preview"
|
|
3448
|
+
"<%= config.bin %> suggestions list",
|
|
3449
|
+
"<%= config.bin %> suggestions list --project /path/to/project"
|
|
3460
3450
|
],
|
|
3461
3451
|
"flags": {
|
|
3462
3452
|
"api-url": {
|
|
@@ -3468,28 +3458,10 @@
|
|
|
3468
3458
|
"multiple": false,
|
|
3469
3459
|
"type": "option"
|
|
3470
3460
|
},
|
|
3471
|
-
"
|
|
3472
|
-
"
|
|
3473
|
-
"
|
|
3474
|
-
"
|
|
3475
|
-
"multiple": false,
|
|
3476
|
-
"options": [
|
|
3477
|
-
"claude_code",
|
|
3478
|
-
"cursor",
|
|
3479
|
-
"copilot"
|
|
3480
|
-
],
|
|
3481
|
-
"type": "option"
|
|
3482
|
-
},
|
|
3483
|
-
"preview": {
|
|
3484
|
-
"description": "Preview content without writing",
|
|
3485
|
-
"name": "preview",
|
|
3486
|
-
"allowNo": false,
|
|
3487
|
-
"type": "boolean"
|
|
3488
|
-
},
|
|
3489
|
-
"dir": {
|
|
3490
|
-
"description": "Project directory",
|
|
3491
|
-
"name": "dir",
|
|
3492
|
-
"default": ".",
|
|
3461
|
+
"project": {
|
|
3462
|
+
"char": "p",
|
|
3463
|
+
"description": "Project path (defaults to current directory)",
|
|
3464
|
+
"name": "project",
|
|
3493
3465
|
"hasDynamicHelp": false,
|
|
3494
3466
|
"multiple": false,
|
|
3495
3467
|
"type": "option"
|
|
@@ -3497,7 +3469,7 @@
|
|
|
3497
3469
|
},
|
|
3498
3470
|
"hasDynamicHelp": false,
|
|
3499
3471
|
"hiddenAliases": [],
|
|
3500
|
-
"id": "
|
|
3472
|
+
"id": "suggestions:list",
|
|
3501
3473
|
"pluginAlias": "@rulemetric/cli",
|
|
3502
3474
|
"pluginName": "@rulemetric/cli",
|
|
3503
3475
|
"pluginType": "core",
|
|
@@ -3507,17 +3479,16 @@
|
|
|
3507
3479
|
"relativePath": [
|
|
3508
3480
|
"dist",
|
|
3509
3481
|
"commands",
|
|
3510
|
-
"
|
|
3511
|
-
"
|
|
3482
|
+
"suggestions",
|
|
3483
|
+
"list.js"
|
|
3512
3484
|
]
|
|
3513
3485
|
},
|
|
3514
|
-
"
|
|
3486
|
+
"suggestions:refresh": {
|
|
3515
3487
|
"aliases": [],
|
|
3516
3488
|
"args": {},
|
|
3517
|
-
"description": "
|
|
3489
|
+
"description": "Information about refreshing instruction suggestions",
|
|
3518
3490
|
"examples": [
|
|
3519
|
-
"<%= config.bin %>
|
|
3520
|
-
"<%= config.bin %> skills list --stats"
|
|
3491
|
+
"<%= config.bin %> suggestions refresh"
|
|
3521
3492
|
],
|
|
3522
3493
|
"flags": {
|
|
3523
3494
|
"api-url": {
|
|
@@ -3528,25 +3499,11 @@
|
|
|
3528
3499
|
"hasDynamicHelp": false,
|
|
3529
3500
|
"multiple": false,
|
|
3530
3501
|
"type": "option"
|
|
3531
|
-
},
|
|
3532
|
-
"stats": {
|
|
3533
|
-
"description": "Show registry statistics",
|
|
3534
|
-
"name": "stats",
|
|
3535
|
-
"allowNo": false,
|
|
3536
|
-
"type": "boolean"
|
|
3537
|
-
},
|
|
3538
|
-
"limit": {
|
|
3539
|
-
"description": "Max skills to show",
|
|
3540
|
-
"name": "limit",
|
|
3541
|
-
"default": 30,
|
|
3542
|
-
"hasDynamicHelp": false,
|
|
3543
|
-
"multiple": false,
|
|
3544
|
-
"type": "option"
|
|
3545
3502
|
}
|
|
3546
3503
|
},
|
|
3547
3504
|
"hasDynamicHelp": false,
|
|
3548
3505
|
"hiddenAliases": [],
|
|
3549
|
-
"id": "
|
|
3506
|
+
"id": "suggestions:refresh",
|
|
3550
3507
|
"pluginAlias": "@rulemetric/cli",
|
|
3551
3508
|
"pluginName": "@rulemetric/cli",
|
|
3552
3509
|
"pluginType": "core",
|
|
@@ -3556,23 +3513,22 @@
|
|
|
3556
3513
|
"relativePath": [
|
|
3557
3514
|
"dist",
|
|
3558
3515
|
"commands",
|
|
3559
|
-
"
|
|
3560
|
-
"
|
|
3516
|
+
"suggestions",
|
|
3517
|
+
"refresh.js"
|
|
3561
3518
|
]
|
|
3562
3519
|
},
|
|
3563
|
-
"
|
|
3520
|
+
"instructions:create": {
|
|
3564
3521
|
"aliases": [],
|
|
3565
3522
|
"args": {
|
|
3566
3523
|
"file": {
|
|
3567
|
-
"description": "Path to
|
|
3568
|
-
"name": "file"
|
|
3569
|
-
"required": true
|
|
3524
|
+
"description": "Path to markdown file",
|
|
3525
|
+
"name": "file"
|
|
3570
3526
|
}
|
|
3571
3527
|
},
|
|
3572
|
-
"description": "
|
|
3528
|
+
"description": "Create a new instruction",
|
|
3573
3529
|
"examples": [
|
|
3574
|
-
"<%= config.bin %>
|
|
3575
|
-
"<%= config.bin %>
|
|
3530
|
+
"<%= config.bin %> instructions create ./my-instruction.md --name \"My Rules\"",
|
|
3531
|
+
"<%= config.bin %> instructions create ./rules.md -n \"Rules\" -s project"
|
|
3576
3532
|
],
|
|
3577
3533
|
"flags": {
|
|
3578
3534
|
"api-url": {
|
|
@@ -3585,59 +3541,49 @@
|
|
|
3585
3541
|
"type": "option"
|
|
3586
3542
|
},
|
|
3587
3543
|
"name": {
|
|
3588
|
-
"
|
|
3544
|
+
"char": "n",
|
|
3545
|
+
"description": "Instruction name",
|
|
3589
3546
|
"name": "name",
|
|
3547
|
+
"required": true,
|
|
3590
3548
|
"hasDynamicHelp": false,
|
|
3591
3549
|
"multiple": false,
|
|
3592
3550
|
"type": "option"
|
|
3593
3551
|
},
|
|
3594
3552
|
"description": {
|
|
3595
|
-
"
|
|
3553
|
+
"char": "d",
|
|
3554
|
+
"description": "Instruction description",
|
|
3596
3555
|
"name": "description",
|
|
3556
|
+
"required": true,
|
|
3597
3557
|
"hasDynamicHelp": false,
|
|
3598
3558
|
"multiple": false,
|
|
3599
3559
|
"type": "option"
|
|
3600
3560
|
},
|
|
3601
|
-
"
|
|
3602
|
-
"
|
|
3603
|
-
"
|
|
3604
|
-
"
|
|
3561
|
+
"scope": {
|
|
3562
|
+
"char": "s",
|
|
3563
|
+
"description": "Instruction scope",
|
|
3564
|
+
"name": "scope",
|
|
3565
|
+
"default": "personal",
|
|
3605
3566
|
"hasDynamicHelp": false,
|
|
3606
3567
|
"multiple": false,
|
|
3607
3568
|
"options": [
|
|
3608
|
-
"
|
|
3609
|
-
"
|
|
3610
|
-
"
|
|
3611
|
-
"
|
|
3612
|
-
"security",
|
|
3613
|
-
"testing",
|
|
3614
|
-
"architecture",
|
|
3615
|
-
"devops",
|
|
3616
|
-
"documentation",
|
|
3617
|
-
"performance",
|
|
3618
|
-
"other"
|
|
3569
|
+
"org",
|
|
3570
|
+
"team",
|
|
3571
|
+
"project",
|
|
3572
|
+
"personal"
|
|
3619
3573
|
],
|
|
3620
3574
|
"type": "option"
|
|
3621
3575
|
},
|
|
3622
|
-
"
|
|
3623
|
-
"description": "
|
|
3624
|
-
"name": "
|
|
3625
|
-
"default": "universal",
|
|
3576
|
+
"scope-ref": {
|
|
3577
|
+
"description": "Scope reference UUID",
|
|
3578
|
+
"name": "scope-ref",
|
|
3626
3579
|
"hasDynamicHelp": false,
|
|
3627
3580
|
"multiple": false,
|
|
3628
|
-
"options": [
|
|
3629
|
-
"claude_code",
|
|
3630
|
-
"cursor",
|
|
3631
|
-
"copilot",
|
|
3632
|
-
"windsurf",
|
|
3633
|
-
"universal"
|
|
3634
|
-
],
|
|
3635
3581
|
"type": "option"
|
|
3636
3582
|
},
|
|
3637
3583
|
"tags": {
|
|
3584
|
+
"char": "t",
|
|
3638
3585
|
"description": "Comma-separated tags",
|
|
3639
3586
|
"name": "tags",
|
|
3640
|
-
"default": "",
|
|
3641
3587
|
"hasDynamicHelp": false,
|
|
3642
3588
|
"multiple": false,
|
|
3643
3589
|
"type": "option"
|
|
@@ -3645,7 +3591,95 @@
|
|
|
3645
3591
|
},
|
|
3646
3592
|
"hasDynamicHelp": false,
|
|
3647
3593
|
"hiddenAliases": [],
|
|
3648
|
-
"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",
|
|
3649
3683
|
"pluginAlias": "@rulemetric/cli",
|
|
3650
3684
|
"pluginName": "@rulemetric/cli",
|
|
3651
3685
|
"pluginType": "core",
|
|
@@ -3655,26 +3689,32 @@
|
|
|
3655
3689
|
"relativePath": [
|
|
3656
3690
|
"dist",
|
|
3657
3691
|
"commands",
|
|
3658
|
-
"
|
|
3659
|
-
"
|
|
3692
|
+
"instructions",
|
|
3693
|
+
"fork.js"
|
|
3660
3694
|
]
|
|
3661
3695
|
},
|
|
3662
|
-
"
|
|
3696
|
+
"instructions:get": {
|
|
3663
3697
|
"aliases": [],
|
|
3664
3698
|
"args": {
|
|
3665
|
-
"
|
|
3666
|
-
"description": "
|
|
3667
|
-
"name": "
|
|
3668
|
-
"required":
|
|
3699
|
+
"id": {
|
|
3700
|
+
"description": "Instruction ID",
|
|
3701
|
+
"name": "id",
|
|
3702
|
+
"required": true
|
|
3669
3703
|
}
|
|
3670
3704
|
},
|
|
3671
|
-
"description": "
|
|
3705
|
+
"description": "Get an instruction by ID",
|
|
3672
3706
|
"examples": [
|
|
3673
|
-
"<%= config.bin %>
|
|
3674
|
-
"<%= config.bin %>
|
|
3675
|
-
"<%= config.bin %> skills search --language python"
|
|
3707
|
+
"<%= config.bin %> instructions get <id>",
|
|
3708
|
+
"<%= config.bin %> instructions get <id> --format raw"
|
|
3676
3709
|
],
|
|
3677
3710
|
"flags": {
|
|
3711
|
+
"json": {
|
|
3712
|
+
"description": "Format output as json.",
|
|
3713
|
+
"helpGroup": "GLOBAL",
|
|
3714
|
+
"name": "json",
|
|
3715
|
+
"allowNo": false,
|
|
3716
|
+
"type": "boolean"
|
|
3717
|
+
},
|
|
3678
3718
|
"api-url": {
|
|
3679
3719
|
"description": "Override API base URL",
|
|
3680
3720
|
"env": "RULEMETRIC_API_URL",
|
|
@@ -3684,88 +3724,53 @@
|
|
|
3684
3724
|
"multiple": false,
|
|
3685
3725
|
"type": "option"
|
|
3686
3726
|
},
|
|
3687
|
-
"
|
|
3688
|
-
"
|
|
3689
|
-
"
|
|
3690
|
-
"
|
|
3691
|
-
"
|
|
3692
|
-
"options": [
|
|
3693
|
-
"claude_code",
|
|
3694
|
-
"cursor",
|
|
3695
|
-
"copilot",
|
|
3696
|
-
"windsurf",
|
|
3697
|
-
"cline",
|
|
3698
|
-
"universal"
|
|
3699
|
-
],
|
|
3700
|
-
"type": "option"
|
|
3701
|
-
},
|
|
3702
|
-
"category": {
|
|
3703
|
-
"description": "Filter by category",
|
|
3704
|
-
"name": "category",
|
|
3727
|
+
"format": {
|
|
3728
|
+
"char": "f",
|
|
3729
|
+
"description": "Output format",
|
|
3730
|
+
"name": "format",
|
|
3731
|
+
"default": "yaml",
|
|
3705
3732
|
"hasDynamicHelp": false,
|
|
3706
3733
|
"multiple": false,
|
|
3707
3734
|
"options": [
|
|
3708
|
-
"
|
|
3709
|
-
"
|
|
3710
|
-
"
|
|
3711
|
-
"tool",
|
|
3712
|
-
"security",
|
|
3713
|
-
"testing",
|
|
3714
|
-
"architecture",
|
|
3715
|
-
"devops",
|
|
3716
|
-
"documentation",
|
|
3717
|
-
"performance"
|
|
3735
|
+
"yaml",
|
|
3736
|
+
"json",
|
|
3737
|
+
"raw"
|
|
3718
3738
|
],
|
|
3719
3739
|
"type": "option"
|
|
3720
|
-
},
|
|
3721
|
-
"language": {
|
|
3722
|
-
"description": "Filter by programming language",
|
|
3723
|
-
"name": "language",
|
|
3724
|
-
"hasDynamicHelp": false,
|
|
3725
|
-
"multiple": false,
|
|
3726
|
-
"type": "option"
|
|
3727
|
-
},
|
|
3728
|
-
"framework": {
|
|
3729
|
-
"description": "Filter by framework",
|
|
3730
|
-
"name": "framework",
|
|
3731
|
-
"hasDynamicHelp": false,
|
|
3732
|
-
"multiple": false,
|
|
3733
|
-
"type": "option"
|
|
3734
|
-
},
|
|
3735
|
-
"limit": {
|
|
3736
|
-
"description": "Max results",
|
|
3737
|
-
"name": "limit",
|
|
3738
|
-
"default": 20,
|
|
3739
|
-
"hasDynamicHelp": false,
|
|
3740
|
-
"multiple": false,
|
|
3741
|
-
"type": "option"
|
|
3742
3740
|
}
|
|
3743
3741
|
},
|
|
3744
3742
|
"hasDynamicHelp": false,
|
|
3745
3743
|
"hiddenAliases": [],
|
|
3746
|
-
"id": "
|
|
3744
|
+
"id": "instructions:get",
|
|
3747
3745
|
"pluginAlias": "@rulemetric/cli",
|
|
3748
3746
|
"pluginName": "@rulemetric/cli",
|
|
3749
3747
|
"pluginType": "core",
|
|
3750
3748
|
"strict": true,
|
|
3751
|
-
"enableJsonFlag":
|
|
3749
|
+
"enableJsonFlag": true,
|
|
3752
3750
|
"isESM": true,
|
|
3753
3751
|
"relativePath": [
|
|
3754
3752
|
"dist",
|
|
3755
3753
|
"commands",
|
|
3756
|
-
"
|
|
3757
|
-
"
|
|
3754
|
+
"instructions",
|
|
3755
|
+
"get.js"
|
|
3758
3756
|
]
|
|
3759
3757
|
},
|
|
3760
|
-
"
|
|
3758
|
+
"instructions:list": {
|
|
3761
3759
|
"aliases": [],
|
|
3762
3760
|
"args": {},
|
|
3763
|
-
"description": "
|
|
3761
|
+
"description": "List your instructions",
|
|
3764
3762
|
"examples": [
|
|
3765
|
-
"<%= config.bin %>
|
|
3766
|
-
"<%= config.bin %>
|
|
3763
|
+
"<%= config.bin %> instructions list",
|
|
3764
|
+
"<%= config.bin %> instructions list --json"
|
|
3767
3765
|
],
|
|
3768
3766
|
"flags": {
|
|
3767
|
+
"json": {
|
|
3768
|
+
"description": "Format output as json.",
|
|
3769
|
+
"helpGroup": "GLOBAL",
|
|
3770
|
+
"name": "json",
|
|
3771
|
+
"allowNo": false,
|
|
3772
|
+
"type": "boolean"
|
|
3773
|
+
},
|
|
3769
3774
|
"api-url": {
|
|
3770
3775
|
"description": "Override API base URL",
|
|
3771
3776
|
"env": "RULEMETRIC_API_URL",
|
|
@@ -3775,41 +3780,49 @@
|
|
|
3775
3780
|
"multiple": false,
|
|
3776
3781
|
"type": "option"
|
|
3777
3782
|
},
|
|
3778
|
-
"
|
|
3779
|
-
"
|
|
3780
|
-
"
|
|
3781
|
-
"
|
|
3782
|
-
"
|
|
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"
|
|
3783
3795
|
}
|
|
3784
3796
|
},
|
|
3785
3797
|
"hasDynamicHelp": false,
|
|
3786
3798
|
"hiddenAliases": [],
|
|
3787
|
-
"id": "
|
|
3799
|
+
"id": "instructions:list",
|
|
3788
3800
|
"pluginAlias": "@rulemetric/cli",
|
|
3789
3801
|
"pluginName": "@rulemetric/cli",
|
|
3790
3802
|
"pluginType": "core",
|
|
3791
3803
|
"strict": true,
|
|
3792
|
-
"enableJsonFlag":
|
|
3804
|
+
"enableJsonFlag": true,
|
|
3793
3805
|
"isESM": true,
|
|
3794
3806
|
"relativePath": [
|
|
3795
3807
|
"dist",
|
|
3796
3808
|
"commands",
|
|
3797
|
-
"
|
|
3798
|
-
"
|
|
3809
|
+
"instructions",
|
|
3810
|
+
"list.js"
|
|
3799
3811
|
]
|
|
3800
3812
|
},
|
|
3801
|
-
"
|
|
3813
|
+
"instructions:promote": {
|
|
3802
3814
|
"aliases": [],
|
|
3803
3815
|
"args": {
|
|
3804
3816
|
"id": {
|
|
3805
|
-
"description": "
|
|
3817
|
+
"description": "ID of the instruction to promote",
|
|
3806
3818
|
"name": "id",
|
|
3807
3819
|
"required": true
|
|
3808
3820
|
}
|
|
3809
3821
|
},
|
|
3810
|
-
"description": "
|
|
3822
|
+
"description": "Promote an instruction to a higher scope (personal → team → org)",
|
|
3811
3823
|
"examples": [
|
|
3812
|
-
"<%= config.bin %>
|
|
3824
|
+
"<%= config.bin %> instructions promote <id> --scope team --ref <team-id>",
|
|
3825
|
+
"<%= config.bin %> instructions promote <id> --scope org --ref <org-id>"
|
|
3813
3826
|
],
|
|
3814
3827
|
"flags": {
|
|
3815
3828
|
"api-url": {
|
|
@@ -3820,11 +3833,31 @@
|
|
|
3820
3833
|
"hasDynamicHelp": false,
|
|
3821
3834
|
"multiple": false,
|
|
3822
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"
|
|
3823
3856
|
}
|
|
3824
3857
|
},
|
|
3825
3858
|
"hasDynamicHelp": false,
|
|
3826
3859
|
"hiddenAliases": [],
|
|
3827
|
-
"id": "
|
|
3860
|
+
"id": "instructions:promote",
|
|
3828
3861
|
"pluginAlias": "@rulemetric/cli",
|
|
3829
3862
|
"pluginName": "@rulemetric/cli",
|
|
3830
3863
|
"pluginType": "core",
|
|
@@ -3834,23 +3867,20 @@
|
|
|
3834
3867
|
"relativePath": [
|
|
3835
3868
|
"dist",
|
|
3836
3869
|
"commands",
|
|
3837
|
-
"
|
|
3838
|
-
"
|
|
3870
|
+
"instructions",
|
|
3871
|
+
"promote.js"
|
|
3839
3872
|
]
|
|
3840
3873
|
},
|
|
3841
|
-
"
|
|
3874
|
+
"instructions:pull": {
|
|
3842
3875
|
"aliases": [],
|
|
3843
3876
|
"args": {
|
|
3844
3877
|
"id": {
|
|
3845
|
-
"description": "
|
|
3878
|
+
"description": "ID of the forked instruction",
|
|
3846
3879
|
"name": "id",
|
|
3847
3880
|
"required": true
|
|
3848
3881
|
}
|
|
3849
3882
|
},
|
|
3850
|
-
"description": "
|
|
3851
|
-
"examples": [
|
|
3852
|
-
"<%= config.bin %> suggestions dismiss <id>"
|
|
3853
|
-
],
|
|
3883
|
+
"description": "Pull upstream changes into a forked instruction",
|
|
3854
3884
|
"flags": {
|
|
3855
3885
|
"api-url": {
|
|
3856
3886
|
"description": "Override API base URL",
|
|
@@ -3864,7 +3894,7 @@
|
|
|
3864
3894
|
},
|
|
3865
3895
|
"hasDynamicHelp": false,
|
|
3866
3896
|
"hiddenAliases": [],
|
|
3867
|
-
"id": "
|
|
3897
|
+
"id": "instructions:pull",
|
|
3868
3898
|
"pluginAlias": "@rulemetric/cli",
|
|
3869
3899
|
"pluginName": "@rulemetric/cli",
|
|
3870
3900
|
"pluginType": "core",
|
|
@@ -3874,18 +3904,20 @@
|
|
|
3874
3904
|
"relativePath": [
|
|
3875
3905
|
"dist",
|
|
3876
3906
|
"commands",
|
|
3877
|
-
"
|
|
3878
|
-
"
|
|
3907
|
+
"instructions",
|
|
3908
|
+
"pull.js"
|
|
3879
3909
|
]
|
|
3880
3910
|
},
|
|
3881
|
-
"
|
|
3911
|
+
"instructions:upstream": {
|
|
3882
3912
|
"aliases": [],
|
|
3883
|
-
"args": {
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
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",
|
|
3889
3921
|
"flags": {
|
|
3890
3922
|
"api-url": {
|
|
3891
3923
|
"description": "Override API base URL",
|
|
@@ -3895,19 +3927,11 @@
|
|
|
3895
3927
|
"hasDynamicHelp": false,
|
|
3896
3928
|
"multiple": false,
|
|
3897
3929
|
"type": "option"
|
|
3898
|
-
},
|
|
3899
|
-
"project": {
|
|
3900
|
-
"char": "p",
|
|
3901
|
-
"description": "Project path (defaults to current directory)",
|
|
3902
|
-
"name": "project",
|
|
3903
|
-
"hasDynamicHelp": false,
|
|
3904
|
-
"multiple": false,
|
|
3905
|
-
"type": "option"
|
|
3906
3930
|
}
|
|
3907
3931
|
},
|
|
3908
3932
|
"hasDynamicHelp": false,
|
|
3909
3933
|
"hiddenAliases": [],
|
|
3910
|
-
"id": "
|
|
3934
|
+
"id": "instructions:upstream",
|
|
3911
3935
|
"pluginAlias": "@rulemetric/cli",
|
|
3912
3936
|
"pluginName": "@rulemetric/cli",
|
|
3913
3937
|
"pluginType": "core",
|
|
@@ -3917,18 +3941,31 @@
|
|
|
3917
3941
|
"relativePath": [
|
|
3918
3942
|
"dist",
|
|
3919
3943
|
"commands",
|
|
3920
|
-
"
|
|
3921
|
-
"
|
|
3944
|
+
"instructions",
|
|
3945
|
+
"upstream.js"
|
|
3922
3946
|
]
|
|
3923
3947
|
},
|
|
3924
|
-
"
|
|
3948
|
+
"instructions:versions": {
|
|
3925
3949
|
"aliases": [],
|
|
3926
|
-
"args": {
|
|
3927
|
-
|
|
3950
|
+
"args": {
|
|
3951
|
+
"id": {
|
|
3952
|
+
"description": "Instruction ID",
|
|
3953
|
+
"name": "id",
|
|
3954
|
+
"required": true
|
|
3955
|
+
}
|
|
3956
|
+
},
|
|
3957
|
+
"description": "List version history for an instruction",
|
|
3928
3958
|
"examples": [
|
|
3929
|
-
"<%= config.bin %>
|
|
3959
|
+
"<%= config.bin %> instructions versions <id>"
|
|
3930
3960
|
],
|
|
3931
3961
|
"flags": {
|
|
3962
|
+
"json": {
|
|
3963
|
+
"description": "Format output as json.",
|
|
3964
|
+
"helpGroup": "GLOBAL",
|
|
3965
|
+
"name": "json",
|
|
3966
|
+
"allowNo": false,
|
|
3967
|
+
"type": "boolean"
|
|
3968
|
+
},
|
|
3932
3969
|
"api-url": {
|
|
3933
3970
|
"description": "Override API base URL",
|
|
3934
3971
|
"env": "RULEMETRIC_API_URL",
|
|
@@ -3941,20 +3978,20 @@
|
|
|
3941
3978
|
},
|
|
3942
3979
|
"hasDynamicHelp": false,
|
|
3943
3980
|
"hiddenAliases": [],
|
|
3944
|
-
"id": "
|
|
3981
|
+
"id": "instructions:versions",
|
|
3945
3982
|
"pluginAlias": "@rulemetric/cli",
|
|
3946
3983
|
"pluginName": "@rulemetric/cli",
|
|
3947
3984
|
"pluginType": "core",
|
|
3948
3985
|
"strict": true,
|
|
3949
|
-
"enableJsonFlag":
|
|
3986
|
+
"enableJsonFlag": true,
|
|
3950
3987
|
"isESM": true,
|
|
3951
3988
|
"relativePath": [
|
|
3952
3989
|
"dist",
|
|
3953
3990
|
"commands",
|
|
3954
|
-
"
|
|
3955
|
-
"
|
|
3991
|
+
"instructions",
|
|
3992
|
+
"versions.js"
|
|
3956
3993
|
]
|
|
3957
3994
|
}
|
|
3958
3995
|
},
|
|
3959
|
-
"version": "0.
|
|
3996
|
+
"version": "0.4.0"
|
|
3960
3997
|
}
|