@rulemetric/cli 0.7.35 → 0.7.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/chunk-47YDQYTD.js +14 -0
  2. package/dist/chunk-6NML7IVJ.js +1 -0
  3. package/dist/chunk-BL4BN6RU.js +1 -0
  4. package/dist/{chunk-W2MOTOQE.js → chunk-BUWWFHGO.js} +1 -1
  5. package/dist/{chunk-OPYGOXZM.js → chunk-C5PSIJ7S.js} +1 -1
  6. package/dist/{chunk-TG6TKU4Y.js → chunk-CRIFP3QP.js} +1 -1
  7. package/dist/chunk-DKGKOSW3.js +1 -0
  8. package/dist/chunk-G5BXZT6F.js +1 -0
  9. package/dist/{chunk-QRPNGXLN.js → chunk-HUADECKZ.js} +1 -1
  10. package/dist/{chunk-7A4UVQ7U.js → chunk-IQTSUAGM.js} +1 -1
  11. package/dist/chunk-JGLVVIEM.js +1 -0
  12. package/dist/{chunk-HV45MQSU.js → chunk-JIJKIPE6.js} +1 -1
  13. package/dist/{chunk-6QKI756T.js → chunk-MDPN46EY.js} +1 -1
  14. package/dist/{chunk-QH7PCQHM.js → chunk-MQ47NLPC.js} +1 -1
  15. package/dist/chunk-QWCEZEDO.js +4 -0
  16. package/dist/{chunk-LETTPEG4.js → chunk-VSUL3MNG.js} +1 -1
  17. package/dist/chunk-VTA6HDVW.js +11 -0
  18. package/dist/{chunk-G6XGDHGC.js → chunk-XA4KSQEC.js} +1 -1
  19. package/dist/chunk-ZYI66XKV.js +1 -0
  20. package/dist/commands/diagnostics.js +1 -1
  21. package/dist/commands/evals/agent.js +1 -1
  22. package/dist/commands/evals/benchmark.js +1 -1
  23. package/dist/commands/evals/optimize.js +1 -1
  24. package/dist/commands/gateway/ensure.js +1 -1
  25. package/dist/commands/hooks/install.js +1 -1
  26. package/dist/commands/hooks/uninstall.js +2 -2
  27. package/dist/commands/proxy/env.js +1 -1
  28. package/dist/commands/proxy/status.js +1 -1
  29. package/dist/commands/sessions/list.js +1 -1
  30. package/dist/commands/setup.js +1 -1
  31. package/dist/dashboard/Dashboard.js +1 -1
  32. package/dist/dashboard/data.js +1 -1
  33. package/dist/{dist-FAVALJ5C.js → dist-BC6GMBXV.js} +1 -1
  34. package/dist/lib/agent-loop.js +1 -1
  35. package/dist/lib/eval-benchmark.js +1 -1
  36. package/dist/lib/evolution-cost.js +1 -0
  37. package/dist/lib/gateway-entry.js +1 -1
  38. package/dist/lib/gateway-lifecycle.js +1 -1
  39. package/dist/lib/gateway.js +1 -1
  40. package/dist/lib/handlers/cron-instruction-evolution.js +1 -1
  41. package/dist/lib/handlers/cron-suggest-instructions.js +1 -1
  42. package/dist/lib/handlers/process-announcement.js +1 -1
  43. package/dist/lib/handlers/process-changelog.js +1 -1
  44. package/dist/lib/handlers/process-eval.js +1 -1
  45. package/dist/lib/handlers/process-launch.js +1 -1
  46. package/dist/lib/handlers/process-memory-ab.js +1 -1
  47. package/dist/lib/handlers/process-run-cleanup.js +1 -1
  48. package/dist/lib/manual-tasks.js +1 -1
  49. package/dist/lib/optimize-compare.js +1 -1
  50. package/dist/lib/setup-steps.js +1 -1
  51. package/dist/lib/worktree.js +1 -1
  52. package/oclif.manifest.json +358 -330
  53. package/package.json +6 -6
  54. package/dist/chunk-3DLVY7LD.js +0 -1
  55. package/dist/chunk-6IVMG65E.js +0 -11
  56. package/dist/chunk-DNF4HDI6.js +0 -14
  57. package/dist/chunk-MLXQCK7V.js +0 -1
  58. package/dist/chunk-MVM6OGAF.js +0 -4
  59. package/dist/chunk-PHALR5JB.js +0 -1
  60. package/dist/chunk-PMWVDXTP.js +0 -1
  61. package/dist/chunk-WKXTY5AM.js +0 -1
  62. /package/dist/{chunk-7DFNBRLY.js → chunk-5DIOZDDZ.js} +0 -0
@@ -487,6 +487,82 @@
487
487
  "backfill.js"
488
488
  ]
489
489
  },
490
+ "capture:scope": {
491
+ "aliases": [],
492
+ "args": {},
493
+ "description": "Show or set which projects the worker sweeps for Codex transcripts",
494
+ "examples": [
495
+ "<%= config.bin %> <%= command.id %>",
496
+ "<%= config.bin %> <%= command.id %> --add ~/work/client-a --add ~/work/client-b",
497
+ "<%= config.bin %> <%= command.id %> --remove ~/work/client-a",
498
+ "<%= config.bin %> <%= command.id %> --off",
499
+ "<%= config.bin %> <%= command.id %> --all"
500
+ ],
501
+ "flags": {
502
+ "api-url": {
503
+ "description": "Override API base URL",
504
+ "env": "RULEMETRIC_API_URL",
505
+ "hidden": true,
506
+ "name": "api-url",
507
+ "hasDynamicHelp": false,
508
+ "multiple": false,
509
+ "type": "option"
510
+ },
511
+ "add": {
512
+ "description": "Capture Codex sessions under this path (repeatable). Implies an allowlist.",
513
+ "name": "add",
514
+ "hasDynamicHelp": false,
515
+ "multiple": true,
516
+ "type": "option"
517
+ },
518
+ "remove": {
519
+ "description": "Stop capturing under this path (repeatable).",
520
+ "name": "remove",
521
+ "hasDynamicHelp": false,
522
+ "multiple": true,
523
+ "type": "option"
524
+ },
525
+ "off": {
526
+ "description": "Skip the Codex sweep entirely.",
527
+ "exclusive": [
528
+ "all"
529
+ ],
530
+ "name": "off",
531
+ "allowNo": false,
532
+ "type": "boolean"
533
+ },
534
+ "all": {
535
+ "description": "Capture every project (the default).",
536
+ "exclusive": [
537
+ "off"
538
+ ],
539
+ "name": "all",
540
+ "allowNo": false,
541
+ "type": "boolean"
542
+ },
543
+ "clear": {
544
+ "description": "Remove the codex scope, restoring the default.",
545
+ "name": "clear",
546
+ "allowNo": false,
547
+ "type": "boolean"
548
+ }
549
+ },
550
+ "hasDynamicHelp": false,
551
+ "hiddenAliases": [],
552
+ "id": "capture:scope",
553
+ "pluginAlias": "@rulemetric/cli",
554
+ "pluginName": "@rulemetric/cli",
555
+ "pluginType": "core",
556
+ "strict": true,
557
+ "enableJsonFlag": false,
558
+ "isESM": true,
559
+ "relativePath": [
560
+ "dist",
561
+ "commands",
562
+ "capture",
563
+ "scope.js"
564
+ ]
565
+ },
490
566
  "auth:create-key": {
491
567
  "aliases": [],
492
568
  "args": {},
@@ -759,82 +835,6 @@
759
835
  "status.js"
760
836
  ]
761
837
  },
762
- "capture:scope": {
763
- "aliases": [],
764
- "args": {},
765
- "description": "Show or set which projects the worker sweeps for Codex transcripts",
766
- "examples": [
767
- "<%= config.bin %> <%= command.id %>",
768
- "<%= config.bin %> <%= command.id %> --add ~/work/client-a --add ~/work/client-b",
769
- "<%= config.bin %> <%= command.id %> --remove ~/work/client-a",
770
- "<%= config.bin %> <%= command.id %> --off",
771
- "<%= config.bin %> <%= command.id %> --all"
772
- ],
773
- "flags": {
774
- "api-url": {
775
- "description": "Override API base URL",
776
- "env": "RULEMETRIC_API_URL",
777
- "hidden": true,
778
- "name": "api-url",
779
- "hasDynamicHelp": false,
780
- "multiple": false,
781
- "type": "option"
782
- },
783
- "add": {
784
- "description": "Capture Codex sessions under this path (repeatable). Implies an allowlist.",
785
- "name": "add",
786
- "hasDynamicHelp": false,
787
- "multiple": true,
788
- "type": "option"
789
- },
790
- "remove": {
791
- "description": "Stop capturing under this path (repeatable).",
792
- "name": "remove",
793
- "hasDynamicHelp": false,
794
- "multiple": true,
795
- "type": "option"
796
- },
797
- "off": {
798
- "description": "Skip the Codex sweep entirely.",
799
- "exclusive": [
800
- "all"
801
- ],
802
- "name": "off",
803
- "allowNo": false,
804
- "type": "boolean"
805
- },
806
- "all": {
807
- "description": "Capture every project (the default).",
808
- "exclusive": [
809
- "off"
810
- ],
811
- "name": "all",
812
- "allowNo": false,
813
- "type": "boolean"
814
- },
815
- "clear": {
816
- "description": "Remove the codex scope, restoring the default.",
817
- "name": "clear",
818
- "allowNo": false,
819
- "type": "boolean"
820
- }
821
- },
822
- "hasDynamicHelp": false,
823
- "hiddenAliases": [],
824
- "id": "capture:scope",
825
- "pluginAlias": "@rulemetric/cli",
826
- "pluginName": "@rulemetric/cli",
827
- "pluginType": "core",
828
- "strict": true,
829
- "enableJsonFlag": false,
830
- "isESM": true,
831
- "relativePath": [
832
- "dist",
833
- "commands",
834
- "capture",
835
- "scope.js"
836
- ]
837
- },
838
838
  "catalog": {
839
839
  "aliases": [],
840
840
  "args": {},
@@ -1014,139 +1014,6 @@
1014
1014
  "run.js"
1015
1015
  ]
1016
1016
  },
1017
- "eval-targets:create": {
1018
- "aliases": [],
1019
- "args": {},
1020
- "description": "Create an eval target (instruction, skill, prompt, or plan to test)",
1021
- "examples": [
1022
- "<%= config.bin %> eval-targets create --name my-rules --type instruction --file ./CLAUDE.md",
1023
- "<%= config.bin %> eval-targets create --name my-prompt --type prompt --content \"Always use TypeScript\""
1024
- ],
1025
- "flags": {
1026
- "api-url": {
1027
- "description": "Override API base URL",
1028
- "env": "RULEMETRIC_API_URL",
1029
- "hidden": true,
1030
- "name": "api-url",
1031
- "hasDynamicHelp": false,
1032
- "multiple": false,
1033
- "type": "option"
1034
- },
1035
- "name": {
1036
- "char": "n",
1037
- "description": "Name for the eval target",
1038
- "name": "name",
1039
- "required": true,
1040
- "hasDynamicHelp": false,
1041
- "multiple": false,
1042
- "type": "option"
1043
- },
1044
- "type": {
1045
- "char": "t",
1046
- "description": "Target type",
1047
- "name": "type",
1048
- "required": true,
1049
- "hasDynamicHelp": false,
1050
- "multiple": false,
1051
- "options": [
1052
- "instruction",
1053
- "skill",
1054
- "prompt",
1055
- "plan"
1056
- ],
1057
- "type": "option"
1058
- },
1059
- "file": {
1060
- "char": "f",
1061
- "description": "Path to content file",
1062
- "name": "file",
1063
- "hasDynamicHelp": false,
1064
- "multiple": false,
1065
- "type": "option"
1066
- },
1067
- "content": {
1068
- "char": "c",
1069
- "description": "Content string (alternative to --file)",
1070
- "name": "content",
1071
- "hasDynamicHelp": false,
1072
- "multiple": false,
1073
- "type": "option"
1074
- },
1075
- "description": {
1076
- "char": "d",
1077
- "description": "Description of the target",
1078
- "name": "description",
1079
- "default": "",
1080
- "hasDynamicHelp": false,
1081
- "multiple": false,
1082
- "type": "option"
1083
- }
1084
- },
1085
- "hasDynamicHelp": false,
1086
- "hiddenAliases": [],
1087
- "id": "eval-targets:create",
1088
- "pluginAlias": "@rulemetric/cli",
1089
- "pluginName": "@rulemetric/cli",
1090
- "pluginType": "core",
1091
- "strict": true,
1092
- "enableJsonFlag": false,
1093
- "isESM": true,
1094
- "relativePath": [
1095
- "dist",
1096
- "commands",
1097
- "eval-targets",
1098
- "create.js"
1099
- ]
1100
- },
1101
- "eval-targets:list": {
1102
- "aliases": [],
1103
- "args": {},
1104
- "description": "List eval targets",
1105
- "examples": [
1106
- "<%= config.bin %> eval-targets list",
1107
- "<%= config.bin %> eval-targets list --type instruction"
1108
- ],
1109
- "flags": {
1110
- "api-url": {
1111
- "description": "Override API base URL",
1112
- "env": "RULEMETRIC_API_URL",
1113
- "hidden": true,
1114
- "name": "api-url",
1115
- "hasDynamicHelp": false,
1116
- "multiple": false,
1117
- "type": "option"
1118
- },
1119
- "type": {
1120
- "char": "t",
1121
- "description": "Filter by type",
1122
- "name": "type",
1123
- "hasDynamicHelp": false,
1124
- "multiple": false,
1125
- "options": [
1126
- "instruction",
1127
- "skill",
1128
- "prompt",
1129
- "plan"
1130
- ],
1131
- "type": "option"
1132
- }
1133
- },
1134
- "hasDynamicHelp": false,
1135
- "hiddenAliases": [],
1136
- "id": "eval-targets:list",
1137
- "pluginAlias": "@rulemetric/cli",
1138
- "pluginName": "@rulemetric/cli",
1139
- "pluginType": "core",
1140
- "strict": true,
1141
- "enableJsonFlag": false,
1142
- "isESM": true,
1143
- "relativePath": [
1144
- "dist",
1145
- "commands",
1146
- "eval-targets",
1147
- "list.js"
1148
- ]
1149
- },
1150
1017
  "evals:agent": {
1151
1018
  "aliases": [],
1152
1019
  "args": {},
@@ -1867,7 +1734,140 @@
1867
1734
  },
1868
1735
  "hasDynamicHelp": false,
1869
1736
  "hiddenAliases": [],
1870
- "id": "evals:validate-judge",
1737
+ "id": "evals:validate-judge",
1738
+ "pluginAlias": "@rulemetric/cli",
1739
+ "pluginName": "@rulemetric/cli",
1740
+ "pluginType": "core",
1741
+ "strict": true,
1742
+ "enableJsonFlag": false,
1743
+ "isESM": true,
1744
+ "relativePath": [
1745
+ "dist",
1746
+ "commands",
1747
+ "evals",
1748
+ "validate-judge.js"
1749
+ ]
1750
+ },
1751
+ "eval-targets:create": {
1752
+ "aliases": [],
1753
+ "args": {},
1754
+ "description": "Create an eval target (instruction, skill, prompt, or plan to test)",
1755
+ "examples": [
1756
+ "<%= config.bin %> eval-targets create --name my-rules --type instruction --file ./CLAUDE.md",
1757
+ "<%= config.bin %> eval-targets create --name my-prompt --type prompt --content \"Always use TypeScript\""
1758
+ ],
1759
+ "flags": {
1760
+ "api-url": {
1761
+ "description": "Override API base URL",
1762
+ "env": "RULEMETRIC_API_URL",
1763
+ "hidden": true,
1764
+ "name": "api-url",
1765
+ "hasDynamicHelp": false,
1766
+ "multiple": false,
1767
+ "type": "option"
1768
+ },
1769
+ "name": {
1770
+ "char": "n",
1771
+ "description": "Name for the eval target",
1772
+ "name": "name",
1773
+ "required": true,
1774
+ "hasDynamicHelp": false,
1775
+ "multiple": false,
1776
+ "type": "option"
1777
+ },
1778
+ "type": {
1779
+ "char": "t",
1780
+ "description": "Target type",
1781
+ "name": "type",
1782
+ "required": true,
1783
+ "hasDynamicHelp": false,
1784
+ "multiple": false,
1785
+ "options": [
1786
+ "instruction",
1787
+ "skill",
1788
+ "prompt",
1789
+ "plan"
1790
+ ],
1791
+ "type": "option"
1792
+ },
1793
+ "file": {
1794
+ "char": "f",
1795
+ "description": "Path to content file",
1796
+ "name": "file",
1797
+ "hasDynamicHelp": false,
1798
+ "multiple": false,
1799
+ "type": "option"
1800
+ },
1801
+ "content": {
1802
+ "char": "c",
1803
+ "description": "Content string (alternative to --file)",
1804
+ "name": "content",
1805
+ "hasDynamicHelp": false,
1806
+ "multiple": false,
1807
+ "type": "option"
1808
+ },
1809
+ "description": {
1810
+ "char": "d",
1811
+ "description": "Description of the target",
1812
+ "name": "description",
1813
+ "default": "",
1814
+ "hasDynamicHelp": false,
1815
+ "multiple": false,
1816
+ "type": "option"
1817
+ }
1818
+ },
1819
+ "hasDynamicHelp": false,
1820
+ "hiddenAliases": [],
1821
+ "id": "eval-targets:create",
1822
+ "pluginAlias": "@rulemetric/cli",
1823
+ "pluginName": "@rulemetric/cli",
1824
+ "pluginType": "core",
1825
+ "strict": true,
1826
+ "enableJsonFlag": false,
1827
+ "isESM": true,
1828
+ "relativePath": [
1829
+ "dist",
1830
+ "commands",
1831
+ "eval-targets",
1832
+ "create.js"
1833
+ ]
1834
+ },
1835
+ "eval-targets:list": {
1836
+ "aliases": [],
1837
+ "args": {},
1838
+ "description": "List eval targets",
1839
+ "examples": [
1840
+ "<%= config.bin %> eval-targets list",
1841
+ "<%= config.bin %> eval-targets list --type instruction"
1842
+ ],
1843
+ "flags": {
1844
+ "api-url": {
1845
+ "description": "Override API base URL",
1846
+ "env": "RULEMETRIC_API_URL",
1847
+ "hidden": true,
1848
+ "name": "api-url",
1849
+ "hasDynamicHelp": false,
1850
+ "multiple": false,
1851
+ "type": "option"
1852
+ },
1853
+ "type": {
1854
+ "char": "t",
1855
+ "description": "Filter by type",
1856
+ "name": "type",
1857
+ "hasDynamicHelp": false,
1858
+ "multiple": false,
1859
+ "options": [
1860
+ "instruction",
1861
+ "skill",
1862
+ "prompt",
1863
+ "plan"
1864
+ ],
1865
+ "type": "option"
1866
+ }
1867
+ },
1868
+ "hasDynamicHelp": false,
1869
+ "hiddenAliases": [],
1870
+ "id": "eval-targets:list",
1871
1871
  "pluginAlias": "@rulemetric/cli",
1872
1872
  "pluginName": "@rulemetric/cli",
1873
1873
  "pluginType": "core",
@@ -1877,8 +1877,8 @@
1877
1877
  "relativePath": [
1878
1878
  "dist",
1879
1879
  "commands",
1880
- "evals",
1881
- "validate-judge.js"
1880
+ "eval-targets",
1881
+ "list.js"
1882
1882
  ]
1883
1883
  },
1884
1884
  "gateway:ensure": {
@@ -1975,6 +1975,12 @@
1975
1975
  "multiple": false,
1976
1976
  "type": "option"
1977
1977
  },
1978
+ "user-hooks": {
1979
+ "description": "Write user-level Cursor/Antigravity hooks (~/.cursor, ~/.gemini). Required for Cursor capture — its traffic bypasses the proxy.",
1980
+ "name": "user-hooks",
1981
+ "allowNo": true,
1982
+ "type": "boolean"
1983
+ },
1978
1984
  "global": {
1979
1985
  "char": "g",
1980
1986
  "description": "Install hooks globally (~/.claude/settings.json) so all projects are tracked",
@@ -2053,9 +2059,12 @@
2053
2059
  "hooks:uninstall": {
2054
2060
  "aliases": [],
2055
2061
  "args": {},
2056
- "description": "Remove session tracking hooks from the current project",
2062
+ "description": "Remove session tracking hooks from a project (or the global install)",
2057
2063
  "examples": [
2058
- "<%= config.bin %> hooks uninstall"
2064
+ "<%= config.bin %> hooks uninstall",
2065
+ "<%= config.bin %> hooks uninstall --global",
2066
+ "<%= config.bin %> hooks uninstall --project-dir ~/work/repo-a",
2067
+ "<%= config.bin %> hooks uninstall --no-user-hooks"
2059
2068
  ],
2060
2069
  "flags": {
2061
2070
  "api-url": {
@@ -2066,6 +2075,25 @@
2066
2075
  "hasDynamicHelp": false,
2067
2076
  "multiple": false,
2068
2077
  "type": "option"
2078
+ },
2079
+ "global": {
2080
+ "description": "Remove the GLOBAL install (~/.claude) rather than this project",
2081
+ "name": "global",
2082
+ "allowNo": false,
2083
+ "type": "boolean"
2084
+ },
2085
+ "project-dir": {
2086
+ "description": "Project directory to clean (defaults to cwd)",
2087
+ "name": "project-dir",
2088
+ "hasDynamicHelp": false,
2089
+ "multiple": false,
2090
+ "type": "option"
2091
+ },
2092
+ "user-hooks": {
2093
+ "description": "Also strip user-level Cursor/Antigravity hooks (~/.cursor, ~/.gemini)",
2094
+ "name": "user-hooks",
2095
+ "allowNo": true,
2096
+ "type": "boolean"
2069
2097
  }
2070
2098
  },
2071
2099
  "hasDynamicHelp": false,
@@ -2559,121 +2587,6 @@
2559
2587
  "versions.js"
2560
2588
  ]
2561
2589
  },
2562
- "org:current": {
2563
- "aliases": [],
2564
- "args": {},
2565
- "description": "Show the current active organization",
2566
- "examples": [
2567
- "<%= config.bin %> org current"
2568
- ],
2569
- "flags": {
2570
- "api-url": {
2571
- "description": "Override API base URL",
2572
- "env": "RULEMETRIC_API_URL",
2573
- "hidden": true,
2574
- "name": "api-url",
2575
- "hasDynamicHelp": false,
2576
- "multiple": false,
2577
- "type": "option"
2578
- }
2579
- },
2580
- "hasDynamicHelp": false,
2581
- "hiddenAliases": [],
2582
- "id": "org:current",
2583
- "pluginAlias": "@rulemetric/cli",
2584
- "pluginName": "@rulemetric/cli",
2585
- "pluginType": "core",
2586
- "strict": true,
2587
- "enableJsonFlag": false,
2588
- "isESM": true,
2589
- "relativePath": [
2590
- "dist",
2591
- "commands",
2592
- "org",
2593
- "current.js"
2594
- ]
2595
- },
2596
- "org:list": {
2597
- "aliases": [],
2598
- "args": {},
2599
- "description": "List organizations the current user is a member of",
2600
- "examples": [
2601
- "<%= config.bin %> org list"
2602
- ],
2603
- "flags": {
2604
- "api-url": {
2605
- "description": "Override API base URL",
2606
- "env": "RULEMETRIC_API_URL",
2607
- "hidden": true,
2608
- "name": "api-url",
2609
- "hasDynamicHelp": false,
2610
- "multiple": false,
2611
- "type": "option"
2612
- }
2613
- },
2614
- "hasDynamicHelp": false,
2615
- "hiddenAliases": [],
2616
- "id": "org:list",
2617
- "pluginAlias": "@rulemetric/cli",
2618
- "pluginName": "@rulemetric/cli",
2619
- "pluginType": "core",
2620
- "strict": true,
2621
- "enableJsonFlag": false,
2622
- "isESM": true,
2623
- "relativePath": [
2624
- "dist",
2625
- "commands",
2626
- "org",
2627
- "list.js"
2628
- ]
2629
- },
2630
- "org:switch": {
2631
- "aliases": [],
2632
- "args": {
2633
- "slug": {
2634
- "description": "Organization slug to switch to",
2635
- "name": "slug",
2636
- "required": false
2637
- }
2638
- },
2639
- "description": "Switch the active organization",
2640
- "examples": [
2641
- "<%= config.bin %> org switch acme",
2642
- "<%= config.bin %> org switch --clear"
2643
- ],
2644
- "flags": {
2645
- "api-url": {
2646
- "description": "Override API base URL",
2647
- "env": "RULEMETRIC_API_URL",
2648
- "hidden": true,
2649
- "name": "api-url",
2650
- "hasDynamicHelp": false,
2651
- "multiple": false,
2652
- "type": "option"
2653
- },
2654
- "clear": {
2655
- "description": "Clear the active organization (personal mode)",
2656
- "name": "clear",
2657
- "allowNo": false,
2658
- "type": "boolean"
2659
- }
2660
- },
2661
- "hasDynamicHelp": false,
2662
- "hiddenAliases": [],
2663
- "id": "org:switch",
2664
- "pluginAlias": "@rulemetric/cli",
2665
- "pluginName": "@rulemetric/cli",
2666
- "pluginType": "core",
2667
- "strict": true,
2668
- "enableJsonFlag": false,
2669
- "isESM": true,
2670
- "relativePath": [
2671
- "dist",
2672
- "commands",
2673
- "org",
2674
- "switch.js"
2675
- ]
2676
- },
2677
2590
  "packs:add-instruction": {
2678
2591
  "aliases": [],
2679
2592
  "args": {
@@ -3022,6 +2935,121 @@
3022
2935
  "remove-instruction.js"
3023
2936
  ]
3024
2937
  },
2938
+ "org:current": {
2939
+ "aliases": [],
2940
+ "args": {},
2941
+ "description": "Show the current active organization",
2942
+ "examples": [
2943
+ "<%= config.bin %> org current"
2944
+ ],
2945
+ "flags": {
2946
+ "api-url": {
2947
+ "description": "Override API base URL",
2948
+ "env": "RULEMETRIC_API_URL",
2949
+ "hidden": true,
2950
+ "name": "api-url",
2951
+ "hasDynamicHelp": false,
2952
+ "multiple": false,
2953
+ "type": "option"
2954
+ }
2955
+ },
2956
+ "hasDynamicHelp": false,
2957
+ "hiddenAliases": [],
2958
+ "id": "org:current",
2959
+ "pluginAlias": "@rulemetric/cli",
2960
+ "pluginName": "@rulemetric/cli",
2961
+ "pluginType": "core",
2962
+ "strict": true,
2963
+ "enableJsonFlag": false,
2964
+ "isESM": true,
2965
+ "relativePath": [
2966
+ "dist",
2967
+ "commands",
2968
+ "org",
2969
+ "current.js"
2970
+ ]
2971
+ },
2972
+ "org:list": {
2973
+ "aliases": [],
2974
+ "args": {},
2975
+ "description": "List organizations the current user is a member of",
2976
+ "examples": [
2977
+ "<%= config.bin %> org list"
2978
+ ],
2979
+ "flags": {
2980
+ "api-url": {
2981
+ "description": "Override API base URL",
2982
+ "env": "RULEMETRIC_API_URL",
2983
+ "hidden": true,
2984
+ "name": "api-url",
2985
+ "hasDynamicHelp": false,
2986
+ "multiple": false,
2987
+ "type": "option"
2988
+ }
2989
+ },
2990
+ "hasDynamicHelp": false,
2991
+ "hiddenAliases": [],
2992
+ "id": "org:list",
2993
+ "pluginAlias": "@rulemetric/cli",
2994
+ "pluginName": "@rulemetric/cli",
2995
+ "pluginType": "core",
2996
+ "strict": true,
2997
+ "enableJsonFlag": false,
2998
+ "isESM": true,
2999
+ "relativePath": [
3000
+ "dist",
3001
+ "commands",
3002
+ "org",
3003
+ "list.js"
3004
+ ]
3005
+ },
3006
+ "org:switch": {
3007
+ "aliases": [],
3008
+ "args": {
3009
+ "slug": {
3010
+ "description": "Organization slug to switch to",
3011
+ "name": "slug",
3012
+ "required": false
3013
+ }
3014
+ },
3015
+ "description": "Switch the active organization",
3016
+ "examples": [
3017
+ "<%= config.bin %> org switch acme",
3018
+ "<%= config.bin %> org switch --clear"
3019
+ ],
3020
+ "flags": {
3021
+ "api-url": {
3022
+ "description": "Override API base URL",
3023
+ "env": "RULEMETRIC_API_URL",
3024
+ "hidden": true,
3025
+ "name": "api-url",
3026
+ "hasDynamicHelp": false,
3027
+ "multiple": false,
3028
+ "type": "option"
3029
+ },
3030
+ "clear": {
3031
+ "description": "Clear the active organization (personal mode)",
3032
+ "name": "clear",
3033
+ "allowNo": false,
3034
+ "type": "boolean"
3035
+ }
3036
+ },
3037
+ "hasDynamicHelp": false,
3038
+ "hiddenAliases": [],
3039
+ "id": "org:switch",
3040
+ "pluginAlias": "@rulemetric/cli",
3041
+ "pluginName": "@rulemetric/cli",
3042
+ "pluginType": "core",
3043
+ "strict": true,
3044
+ "enableJsonFlag": false,
3045
+ "isESM": true,
3046
+ "relativePath": [
3047
+ "dist",
3048
+ "commands",
3049
+ "org",
3050
+ "switch.js"
3051
+ ]
3052
+ },
3025
3053
  "proxy:env": {
3026
3054
  "aliases": [],
3027
3055
  "args": {},
@@ -4410,5 +4438,5 @@
4410
4438
  ]
4411
4439
  }
4412
4440
  },
4413
- "version": "0.7.35"
4441
+ "version": "0.7.36"
4414
4442
  }