@modootoday/pmcp 0.32.0 → 0.34.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.
Files changed (148) hide show
  1. package/.agents/plugins/marketplace.json +1 -1
  2. package/.claude-plugin/marketplace.json +1 -1
  3. package/.claude-plugin/plugin.json +1 -1
  4. package/.mcp.json +1 -1
  5. package/dist/{affected-BHHN2Q3D.js → affected-7G6Z6UIH.js} +3 -3
  6. package/dist/{apply-SSYZGDJU.js → apply-D72RERVD.js} +15 -14
  7. package/dist/{available-74CMIBPD.js → available-CYDZYY7E.js} +3 -2
  8. package/dist/{broadcast-U7ZYOJWE.js → broadcast-4YBKHLXV.js} +5 -5
  9. package/dist/chunk-2XPZHQKC.js +175 -0
  10. package/dist/{chunk-IAR7BL5R.js → chunk-3VXOYOSB.js} +2 -2
  11. package/dist/{chunk-QZY36KNT.js → chunk-3ZGNO4Y6.js} +2 -2
  12. package/dist/{chunk-C3G75JH7.js → chunk-4B2VDTHL.js} +16 -5
  13. package/dist/{chunk-6H3HN7E7.js → chunk-4DIR63AD.js} +5 -5
  14. package/dist/{chunk-65BW7Y6O.js → chunk-4F4CMDKZ.js} +1 -1
  15. package/dist/{chunk-YOWIYFIV.js → chunk-4U4GLMZ6.js} +5 -8
  16. package/dist/{chunk-JANBBPKP.js → chunk-5VGNZSB7.js} +6 -6
  17. package/dist/{chunk-OIV44CYB.js → chunk-6AFTQ7J6.js} +3 -3
  18. package/dist/{chunk-OS5CYV27.js → chunk-6BE63FTB.js} +3 -3
  19. package/dist/{chunk-Y2XASHVY.js → chunk-AXNXNFSV.js} +2 -2
  20. package/dist/{chunk-3DRV5KHZ.js → chunk-BA3LAWC5.js} +4 -4
  21. package/dist/{chunk-HF5D6B2U.js → chunk-BN73TTTP.js} +7 -10
  22. package/dist/{chunk-XADROJFL.js → chunk-BVNENZWQ.js} +2 -2
  23. package/dist/{chunk-UT2NACLW.js → chunk-CJL5V5SY.js} +2 -2
  24. package/dist/{chunk-E2E4HIEN.js → chunk-CSZ2HI2R.js} +2 -2
  25. package/dist/{chunk-ITDJ2EXN.js → chunk-DIWQOLPW.js} +2 -2
  26. package/dist/{chunk-MUGHZ6QC.js → chunk-ECWE52ML.js} +2 -2
  27. package/dist/chunk-EWEY3ASH.js +21 -0
  28. package/dist/{chunk-KWCZKCTC.js → chunk-FN7S3SX7.js} +11 -15
  29. package/dist/{chunk-SMHHL25Y.js → chunk-FWAUMXQ3.js} +9 -6
  30. package/dist/{chunk-IFFOJ3IE.js → chunk-GS7KWWRO.js} +2 -2
  31. package/dist/{chunk-7DJQASH3.js → chunk-IH76KECZ.js} +10 -34
  32. package/dist/{chunk-Q6V274OB.js → chunk-JNW2Z36X.js} +2 -2
  33. package/dist/chunk-JOGLKWN7.js +52 -0
  34. package/dist/{chunk-VBVNOLRR.js → chunk-K4ZG3BXL.js} +2 -2
  35. package/dist/{chunk-JZKAJUVT.js → chunk-KESQUAKO.js} +2 -2
  36. package/dist/{chunk-UVTGY2R3.js → chunk-KRDNVEV6.js} +4 -7
  37. package/dist/{chunk-2HL2MFNI.js → chunk-KWSCDIE2.js} +2 -2
  38. package/dist/{chunk-OIYZT4BG.js → chunk-LBPMMSQQ.js} +11 -4
  39. package/dist/chunk-LWQIS2FC.js +7 -0
  40. package/dist/{chunk-QYLOIM4U.js → chunk-MFD2UEJY.js} +6 -8
  41. package/dist/{chunk-JPYQDOEW.js → chunk-MPYM2HYV.js} +7 -9
  42. package/dist/{chunk-YJVSN6UN.js → chunk-NFWN3AMZ.js} +3 -3
  43. package/dist/{chunk-GQRDEIQA.js → chunk-NQBSTHYF.js} +1 -1
  44. package/dist/{chunk-I4U2A6HP.js → chunk-NQVAFHDK.js} +2 -2
  45. package/dist/{chunk-LXWAU7AX.js → chunk-OOH47XJH.js} +6 -6
  46. package/dist/{chunk-FGG7JJ5M.js → chunk-PCSEVF6W.js} +3 -3
  47. package/dist/{chunk-AALSWFPA.js → chunk-PVRTQUZU.js} +7 -7
  48. package/dist/{chunk-ESM7TFTO.js → chunk-PXBG3PWL.js} +2 -2
  49. package/dist/{chunk-V4NPDK6X.js → chunk-QRLTTS5K.js} +1 -1
  50. package/dist/{chunk-4VVQLWTS.js → chunk-SXFW4COX.js} +2 -2
  51. package/dist/{chunk-UKGO2RR7.js → chunk-T3Z4HCOL.js} +2 -2
  52. package/dist/{chunk-WZYGM3FR.js → chunk-TLHWUYTW.js} +5 -5
  53. package/dist/{chunk-D7IDT7OA.js → chunk-UFGGQVB7.js} +5 -5
  54. package/dist/{chunk-OIKT4SYO.js → chunk-UOFHM6OM.js} +2 -2
  55. package/dist/{chunk-NQCAKDRY.js → chunk-UORJZ7TK.js} +3 -3
  56. package/dist/{chunk-A4P3IIPE.js → chunk-VCQQHIH5.js} +5 -5
  57. package/dist/{chunk-VEJU5HXJ.js → chunk-VNHQFQED.js} +3 -3
  58. package/dist/{chunk-FALOBFE6.js → chunk-WGVMNDIL.js} +3 -3
  59. package/dist/{chunk-QRCAGKC6.js → chunk-WWNY53B6.js} +14 -11
  60. package/dist/{chunk-WBPVNCQO.js → chunk-WYK57MIH.js} +6 -6
  61. package/dist/{chunk-TQRLWO4F.js → chunk-XPYY6K5L.js} +2 -2
  62. package/dist/{chunk-FFQA2R5P.js → chunk-XTZTZLRD.js} +6 -13
  63. package/dist/{chunk-PRQICZXO.js → chunk-XXKM57RC.js} +14 -14
  64. package/dist/{chunk-SU6R4VWV.js → chunk-Z4EIDZ4E.js} +3 -3
  65. package/dist/{cli-RHOETDBX.js → cli-AOVS3DLY.js} +7 -7
  66. package/dist/{cli-ZOY2274X.js → cli-TVVP3DZ5.js} +10 -10
  67. package/dist/cli.js +19 -19
  68. package/dist/{completion-PE6CHX4K.js → completion-TJU5Y5V5.js} +18 -18
  69. package/dist/{diagnostics-7Y5OFV44.js → diagnostics-5MRXHPGM.js} +9 -8
  70. package/dist/{doctor-GBIPPKPD.js → doctor-4LDRVDRV.js} +18 -17
  71. package/dist/{doctor-XY6OMK7W.js → doctor-AOTBASUL.js} +19 -15
  72. package/dist/{entry-4WT2WM6C.js → entry-77M53A4M.js} +15 -14
  73. package/dist/{exec-mcp-BLTFBWND.js → exec-mcp-35X37R6L.js} +12 -11
  74. package/dist/{harness-HGBKFIUT.js → harness-NHCCUJCP.js} +3 -3
  75. package/dist/harness-launch-gate.js +8 -7
  76. package/dist/harness-pane-runner.js +3 -2
  77. package/dist/harness-worker.js +10 -9
  78. package/dist/{heavy-E55QD5LR.js → heavy-TVIMQZW2.js} +16 -13
  79. package/dist/{hooks-MT3CGRSU.js → hooks-HWVXTAXT.js} +5 -5
  80. package/dist/{host-AMKVSOYU.js → host-HFBE3VYV.js} +14 -13
  81. package/dist/{host-FXO4VGE6.js → host-KIYJQHMQ.js} +6 -6
  82. package/dist/{host-5AI4JAXD.js → host-ORJHLJIZ.js} +9 -8
  83. package/dist/{host-run-M2KMMU72.js → host-run-42GFROF7.js} +7 -6
  84. package/dist/http.d.ts +4 -4
  85. package/dist/http.js +4 -3
  86. package/dist/{import-mcp-QTUVK5GE.js → import-mcp-H67C4O2W.js} +11 -10
  87. package/dist/index.d.ts +6 -7
  88. package/dist/index.js +18 -17
  89. package/dist/init-J2FE6GTQ.js +14 -0
  90. package/dist/{install-5JH4DSFF.js → install-ITEWB6V3.js} +3 -2
  91. package/dist/{invoke-D2CYSRFG.js → invoke-S6IZRUCO.js} +12 -11
  92. package/dist/{list-LV5EKCF6.js → list-CNLGT6TK.js} +3 -2
  93. package/dist/{list-UG67V5EO.js → list-PEUJYQDQ.js} +13 -12
  94. package/dist/{load-BEUBABtB.d.ts → load-C6Iite0Q.d.ts} +1 -1
  95. package/dist/{logout-Z5KMKTTP.js → logout-JEF4D25W.js} +12 -11
  96. package/dist/{logs-J4W6GFMK.js → logs-G4LAFJ3O.js} +83 -7
  97. package/dist/mailbox/index.js +5 -4
  98. package/dist/{mailbox-6MHH6CUA.js → mailbox-AZR6YUC5.js} +5 -5
  99. package/dist/{mailbox-ZHZWZMAY.js → mailbox-GSGP5EGX.js} +6 -5
  100. package/dist/{mainline-Y4HOI5R7.js → mainline-5GVIB4O5.js} +7 -7
  101. package/dist/{marketplace-2X3OOEPW.js → marketplace-S3DXRVIR.js} +16 -8
  102. package/dist/{mcp-QARZ7L22.js → mcp-MT3XMFGL.js} +4 -4
  103. package/dist/{measure-K7D3GLC6.js → measure-NZ4BNKK3.js} +7 -7
  104. package/dist/{models-XSF45MCD.js → models-YEMUWADC.js} +3 -2
  105. package/dist/{owners-MPI22SFU.js → owners-E3WYJML3.js} +3 -3
  106. package/dist/{pause-3IMVYXQQ.js → pause-HVXLAT7D.js} +5 -5
  107. package/dist/{plan-JAHYXJHP.js → plan-6T2GG5CT.js} +7 -7
  108. package/dist/{preview-465CQJBQ.js → preview-PPA6UJDD.js} +3 -2
  109. package/dist/{project-5SL2CE5F.js → project-GMUHGTIY.js} +7 -7
  110. package/dist/{recovery-HB2YFQSQ.js → recovery-7ATXH6W5.js} +5 -4
  111. package/dist/{reindex-D62HQAN2.js → reindex-KQJAX323.js} +4 -3
  112. package/dist/{resume-7LCSV4X3.js → resume-MMHI3BNI.js} +5 -5
  113. package/dist/{run-EUU6TJBI.js → run-FBPJ234Y.js} +4 -4
  114. package/dist/{run-H22CN65S.js → run-NVQFGBGN.js} +11 -10
  115. package/dist/{serve-36VOPK47.js → serve-KUC235MZ.js} +12 -10
  116. package/dist/{session-3YVVO2GR.js → session-BTN4JXQ4.js} +3 -2
  117. package/dist/{setup-Y5SM4LKI.js → setup-2TDTMJHV.js} +4 -4
  118. package/dist/{smoke-GZECLXOJ.js → smoke-UK42EV7O.js} +3 -3
  119. package/dist/{start-login-3CUVLBDP.js → start-login-4CC753AK.js} +12 -11
  120. package/dist/{status-QFMN7IUG.js → status-GQHMLK4G.js} +5 -5
  121. package/dist/{status-SLQQMCZP.js → status-N4VRXN4H.js} +12 -11
  122. package/dist/{status-ZGFOO5YT.js → status-SGL5NDH2.js} +15 -14
  123. package/dist/stdio.d.ts +1 -1
  124. package/dist/stdio.js +7 -6
  125. package/dist/{sweep-BS7HVSNP.js → sweep-UVD3KAFD.js} +5 -5
  126. package/dist/{test-JKU4KELV.js → test-R64EJ7WH.js} +13 -12
  127. package/dist/{tools-gpHNq9Dh.d.ts → tools-Dnu9wAAm.d.ts} +20 -6
  128. package/dist/{tui-QB42W3XZ.js → tui-HBZV5VJ6.js} +5 -5
  129. package/dist/{unbroadcast-GRGX3F6T.js → unbroadcast-YWUKATJK.js} +5 -5
  130. package/dist/{validate-YXR7FJJX.js → validate-MIVCL2ZK.js} +5 -3
  131. package/dist/{worker-VPP2HD6O.js → worker-2MOWPJLI.js} +13 -12
  132. package/docs/commands.md +37 -13
  133. package/docs/compatibility.md +5 -0
  134. package/docs/project-configuration.md +36 -36
  135. package/docs/upgrading.md +29 -0
  136. package/gemini-extension.json +2 -2
  137. package/mcp.json +1 -1
  138. package/package.json +5 -5
  139. package/plugin.json +1 -1
  140. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  141. package/plugins/pmcp/.mcp.json +1 -1
  142. package/plugins/pmcp/gemini-extension.json +2 -2
  143. package/plugins/pmcp/mcp.json +1 -1
  144. package/plugins/pmcp/plugin.json +1 -1
  145. package/dist/chunk-BU65MNVU.js +0 -13
  146. package/dist/chunk-KNIHXLDE.js +0 -7
  147. package/dist/chunk-PPWEOXIU.js +0 -175
  148. package/dist/init-RAAQOP4D.js +0 -14
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7CHUMF3E.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-KWCZKCTC.js";
6
+ } from "./chunk-FN7S3SX7.js";
7
7
  import {
8
8
  ArgumentError,
9
9
  noConfig
@@ -27,4 +27,4 @@ function specFrom(context) {
27
27
  export {
28
28
  specFrom
29
29
  };
30
- //# sourceMappingURL=chunk-XADROJFL.js.map
30
+ //# sourceMappingURL=chunk-BVNENZWQ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOST_MANIFEST,
3
3
  HOST_POLICY
4
- } from "./chunk-PRQICZXO.js";
4
+ } from "./chunk-XXKM57RC.js";
5
5
  import {
6
6
  projectStateDir
7
7
  } from "./chunk-KLIYFD3W.js";
@@ -99,4 +99,4 @@ export {
99
99
  hostApprovalDoctor,
100
100
  writeApproval
101
101
  };
102
- //# sourceMappingURL=chunk-UT2NACLW.js.map
102
+ //# sourceMappingURL=chunk-CJL5V5SY.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  configOption,
3
3
  jsonOption
4
- } from "./chunk-JPYQDOEW.js";
4
+ } from "./chunk-MPYM2HYV.js";
5
5
 
6
6
  // src/commands/specs/inspection.ts
7
7
  var statusSpec = {
@@ -133,4 +133,4 @@ export {
133
133
  initSpec,
134
134
  hooksSpec
135
135
  };
136
- //# sourceMappingURL=chunk-E2E4HIEN.js.map
136
+ //# sourceMappingURL=chunk-CSZ2HI2R.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-5OMOPUE6.js";
8
8
  import {
9
9
  runtimeExecutables
10
- } from "./chunk-BU65MNVU.js";
10
+ } from "./chunk-EWEY3ASH.js";
11
11
  import {
12
12
  envNames
13
13
  } from "./chunk-J6KL3COD.js";
@@ -276,4 +276,4 @@ export {
276
276
  readPrivateJson,
277
277
  GroupStore
278
278
  };
279
- //# sourceMappingURL=chunk-ITDJ2EXN.js.map
279
+ //# sourceMappingURL=chunk-DIWQOLPW.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-34DECPVC.js";
7
7
  import {
8
8
  ptyBinary
9
- } from "./chunk-PRQICZXO.js";
9
+ } from "./chunk-XXKM57RC.js";
10
10
 
11
11
  // src/harness/adapters/systemd/admission.ts
12
12
  var nativeHostTools = ["systemctl", "systemd-run"];
@@ -36,4 +36,4 @@ export {
36
36
  nativeHostTools,
37
37
  assertNativeHost
38
38
  };
39
- //# sourceMappingURL=chunk-MUGHZ6QC.js.map
39
+ //# sourceMappingURL=chunk-ECWE52ML.js.map
@@ -0,0 +1,21 @@
1
+ import {
2
+ EXECUTABLES,
3
+ PRODUCT_OF
4
+ } from "./chunk-JOGLKWN7.js";
5
+
6
+ // src/harness/runtimes/registry.ts
7
+ var ORDER = [
8
+ "codex-cli",
9
+ "claude-code",
10
+ "gemini-cli",
11
+ "grok-cli",
12
+ "antigravity"
13
+ ];
14
+ var runtimeExecutables = Object.fromEntries(
15
+ ORDER.map((product) => [product, EXECUTABLES[PRODUCT_OF[product]]])
16
+ );
17
+
18
+ export {
19
+ runtimeExecutables
20
+ };
21
+ //# sourceMappingURL=chunk-EWEY3ASH.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-OFJIMBTL.js";
13
13
  import {
14
14
  readOperatorSettings
15
- } from "./chunk-NQCAKDRY.js";
15
+ } from "./chunk-UORJZ7TK.js";
16
16
  import {
17
17
  readReportTable
18
18
  } from "./chunk-LFFIQBNY.js";
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  leaseSpecs,
30
30
  readGitConfig
31
- } from "./chunk-UKGO2RR7.js";
31
+ } from "./chunk-T3Z4HCOL.js";
32
32
  import {
33
33
  ownerLine,
34
34
  ownersOf,
@@ -66,10 +66,10 @@ import {
66
66
  RUNTIME_IDS,
67
67
  climbCommand,
68
68
  readTestTable
69
- } from "./chunk-GQRDEIQA.js";
69
+ } from "./chunk-NQBSTHYF.js";
70
70
  import {
71
71
  TOOLS
72
- } from "./chunk-V4NPDK6X.js";
72
+ } from "./chunk-QRLTTS5K.js";
73
73
  import {
74
74
  declaresPtyHost,
75
75
  hostOutputs,
@@ -77,11 +77,11 @@ import {
77
77
  readHost,
78
78
  readLock,
79
79
  readLockFile
80
- } from "./chunk-PRQICZXO.js";
80
+ } from "./chunk-XXKM57RC.js";
81
81
  import {
82
82
  DISABLE_ENV,
83
83
  readLeaseSettings
84
- } from "./chunk-QZY36KNT.js";
84
+ } from "./chunk-3ZGNO4Y6.js";
85
85
  import {
86
86
  ProjectError,
87
87
  RULES_DIR,
@@ -105,6 +105,9 @@ import {
105
105
  import {
106
106
  envNames
107
107
  } from "./chunk-J6KL3COD.js";
108
+ import {
109
+ productNameOf
110
+ } from "./chunk-JOGLKWN7.js";
108
111
 
109
112
  // src/project/plan.ts
110
113
  import { existsSync as existsSync7, readFileSync as readFileSync6, readdirSync } from "fs";
@@ -370,15 +373,8 @@ function proxyDriver(spec, alias) {
370
373
  }
371
374
 
372
375
  // src/project/mcp/native.ts
373
- var runtimeByTool = {
374
- claude: "claude-code",
375
- codex: "codex-cli",
376
- gemini: "gemini-cli",
377
- grok: "grok-cli",
378
- antigravity: "antigravity"
379
- };
380
376
  function mailboxRuntime(tool) {
381
- const runtime = runtimeByTool[tool];
377
+ const runtime = productNameOf(tool);
382
378
  if (!runtime) {
383
379
  throw new ProjectError(
384
380
  "OpenCode mailbox runtime binding is not qualified; limit this server's targets"
@@ -6991,4 +6987,4 @@ export {
6991
6987
  checkBudget,
6992
6988
  readSpec
6993
6989
  };
6994
- //# sourceMappingURL=chunk-KWCZKCTC.js.map
6990
+ //# sourceMappingURL=chunk-FN7S3SX7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  hostApprovalDoctor
3
- } from "./chunk-UT2NACLW.js";
3
+ } from "./chunk-CJL5V5SY.js";
4
4
  import {
5
5
  wakeableBy
6
6
  } from "./chunk-JQVSDPFL.js";
@@ -12,7 +12,7 @@ import {
12
12
  describeHookProblem,
13
13
  project,
14
14
  unmanagedHooks
15
- } from "./chunk-6H3HN7E7.js";
15
+ } from "./chunk-4DIR63AD.js";
16
16
  import {
17
17
  ANTIGRAVITY_MCP_PLUGIN,
18
18
  agentNames,
@@ -23,7 +23,7 @@ import {
23
23
  skillNames,
24
24
  splitFrontmatter,
25
25
  uiClaudeDoctor
26
- } from "./chunk-KWCZKCTC.js";
26
+ } from "./chunk-FN7S3SX7.js";
27
27
  import {
28
28
  pathPmcp,
29
29
  pmcpCommand
@@ -37,13 +37,16 @@ import {
37
37
  hostEnvDoctor,
38
38
  ptyBinaryDoctor,
39
39
  readLockFile
40
- } from "./chunk-PRQICZXO.js";
40
+ } from "./chunk-XXKM57RC.js";
41
41
  import {
42
42
  ProjectError
43
43
  } from "./chunk-TYY5TYHF.js";
44
44
  import {
45
45
  projectStateDir
46
46
  } from "./chunk-KLIYFD3W.js";
47
+ import {
48
+ EXECUTABLES
49
+ } from "./chunk-JOGLKWN7.js";
47
50
 
48
51
  // src/project/doctor/runner.ts
49
52
  import { spawnSync as spawnSync2 } from "child_process";
@@ -512,7 +515,7 @@ function antigravity(spec, options) {
512
515
  ];
513
516
  if (serversForTool(spec, "antigravity").length > 0) {
514
517
  const result = options.run(
515
- "agy",
518
+ EXECUTABLES.antigravity,
516
519
  ["plugin", "validate", join7(spec.root, ANTIGRAVITY_MCP_PLUGIN)],
517
520
  spec.root
518
521
  );
@@ -671,4 +674,4 @@ export {
671
674
  spawnRunner,
672
675
  doctor
673
676
  };
674
- //# sourceMappingURL=chunk-SMHHL25Y.js.map
677
+ //# sourceMappingURL=chunk-FWAUMXQ3.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7CHUMF3E.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-KWCZKCTC.js";
6
+ } from "./chunk-FN7S3SX7.js";
7
7
  import {
8
8
  ArgumentError
9
9
  } from "./chunk-Y6NFETNG.js";
@@ -25,4 +25,4 @@ function serverFrom(context) {
25
25
  export {
26
26
  serverFrom
27
27
  };
28
- //# sourceMappingURL=chunk-IFFOJ3IE.js.map
28
+ //# sourceMappingURL=chunk-GS7KWWRO.js.map
@@ -1,6 +1,10 @@
1
1
  import {
2
2
  CATALOG_OPTIONS
3
3
  } from "./chunk-5NDUWEMW.js";
4
+ import {
5
+ dryRunOption,
6
+ jsonOption
7
+ } from "./chunk-MPYM2HYV.js";
4
8
 
5
9
  // src/commands/options/embedding.ts
6
10
  var EMBEDDING_OPTIONS = [
@@ -57,14 +61,7 @@ var listSpec = {
57
61
  examples: ["pmcp list", "pmcp list --scope @acme/ --json"],
58
62
  describe: "List the skills discovered in node_modules and marketplaces",
59
63
  usage: "pmcp list [--root <dir>] [--scope <prefix>] [--marketplace <dir>] [--package <dir>] [--workspace <dir|glob>] [--config <file> | --no-config] [--json]",
60
- options: [
61
- ...CATALOG_OPTIONS,
62
- {
63
- name: "json",
64
- describe: "Print the result as one JSON envelope on stdout.",
65
- boolean: true
66
- }
67
- ]
64
+ options: [...CATALOG_OPTIONS, jsonOption]
68
65
  };
69
66
  var indexSpec = {
70
67
  name: "index",
@@ -83,16 +80,8 @@ var indexSpec = {
83
80
  describe: "Re-encode the selected model even when descriptions match",
84
81
  boolean: true
85
82
  },
86
- {
87
- name: "json",
88
- describe: "Print the result as one JSON envelope on stdout.",
89
- boolean: true
90
- },
91
- {
92
- name: "dry-run",
93
- describe: "Report what would be encoded and write nothing.",
94
- boolean: true
95
- }
83
+ jsonOption,
84
+ dryRunOption("Report what would be encoded and write nothing.")
96
85
  ]
97
86
  };
98
87
  var modelsSpec = {
@@ -100,27 +89,14 @@ var modelsSpec = {
100
89
  examples: ["pmcp models", "pmcp models --json"],
101
90
  describe: "List embedding presets without loading or downloading models",
102
91
  usage: "pmcp models [--json]",
103
- options: [
104
- {
105
- name: "json",
106
- describe: "Print the result as one JSON envelope on stdout.",
107
- boolean: true
108
- }
109
- ]
92
+ options: [jsonOption]
110
93
  };
111
94
  var validateSpec = {
112
95
  name: "validate",
113
96
  examples: ["pmcp validate", "pmcp validate ./skills/review --json"],
114
97
  describe: "Check skills against the Agent Skills specification: given directories, or every skill the catalog reaches",
115
98
  usage: "pmcp validate [<skill-dir>...] [--root <dir>] [--marketplace <dir>] [--package <dir>] [--workspace <dir>] [--config <file> | --no-config] [--json]",
116
- options: [
117
- ...CATALOG_OPTIONS,
118
- {
119
- name: "json",
120
- describe: "Print the result as one JSON envelope on stdout.",
121
- boolean: true
122
- }
123
- ]
99
+ options: [...CATALOG_OPTIONS, jsonOption]
124
100
  };
125
101
 
126
102
  export {
@@ -130,4 +106,4 @@ export {
130
106
  modelsSpec,
131
107
  validateSpec
132
108
  };
133
- //# sourceMappingURL=chunk-7DJQASH3.js.map
109
+ //# sourceMappingURL=chunk-IH76KECZ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-7CHUMF3E.js";
8
8
  import {
9
9
  indexSpec
10
- } from "./chunk-7DJQASH3.js";
10
+ } from "./chunk-IH76KECZ.js";
11
11
  import {
12
12
  ArgumentError,
13
13
  EXIT,
@@ -167,4 +167,4 @@ export {
167
167
  indexPath,
168
168
  indexCommand
169
169
  };
170
- //# sourceMappingURL=chunk-Q6V274OB.js.map
170
+ //# sourceMappingURL=chunk-JNW2Z36X.js.map
@@ -0,0 +1,52 @@
1
+ // src/runtime/ids.ts
2
+ var RUNTIME_IDS = [
3
+ "claude",
4
+ "codex",
5
+ "gemini",
6
+ "antigravity",
7
+ "grok",
8
+ "opencode"
9
+ ];
10
+ var PRODUCT_NAMES = [
11
+ "claude-code",
12
+ "codex-cli",
13
+ "gemini-cli",
14
+ "grok-cli",
15
+ "antigravity"
16
+ ];
17
+ var PRODUCT_OF = {
18
+ "claude-code": "claude",
19
+ "codex-cli": "codex",
20
+ "gemini-cli": "gemini",
21
+ "grok-cli": "grok",
22
+ antigravity: "antigravity"
23
+ };
24
+ var EXECUTABLES = {
25
+ claude: "claude",
26
+ codex: "codex",
27
+ gemini: "gemini",
28
+ antigravity: "agy",
29
+ grok: "grok",
30
+ opencode: "opencode"
31
+ };
32
+ var ALIASES = new Map([
33
+ ...RUNTIME_IDS.map((id) => [id, id]),
34
+ ...PRODUCT_NAMES.map((name) => [name, PRODUCT_OF[name]]),
35
+ ...RUNTIME_IDS.map((id) => [EXECUTABLES[id], id])
36
+ ]);
37
+ function runtimeIdOf(name) {
38
+ return ALIASES.get(name.trim().toLowerCase()) ?? null;
39
+ }
40
+ function productNameOf(id) {
41
+ return PRODUCT_NAMES.find((name) => PRODUCT_OF[name] === id) ?? null;
42
+ }
43
+
44
+ export {
45
+ RUNTIME_IDS,
46
+ PRODUCT_NAMES,
47
+ PRODUCT_OF,
48
+ EXECUTABLES,
49
+ runtimeIdOf,
50
+ productNameOf
51
+ };
52
+ //# sourceMappingURL=chunk-JOGLKWN7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EMBEDDING_OPTIONS
3
- } from "./chunk-7DJQASH3.js";
3
+ } from "./chunk-IH76KECZ.js";
4
4
  import {
5
5
  CATALOG_OPTIONS
6
6
  } from "./chunk-5NDUWEMW.js";
@@ -58,4 +58,4 @@ var serveSpec = {
58
58
  export {
59
59
  serveSpec
60
60
  };
61
- //# sourceMappingURL=chunk-VBVNOLRR.js.map
61
+ //# sourceMappingURL=chunk-K4ZG3BXL.js.map
@@ -4,7 +4,7 @@ import {
4
4
  MailboxStore,
5
5
  readCredential,
6
6
  writeBindingFile
7
- } from "./chunk-I4U2A6HP.js";
7
+ } from "./chunk-NQVAFHDK.js";
8
8
 
9
9
  // src/mailbox/attachment.ts
10
10
  async function attachMailbox(options) {
@@ -50,4 +50,4 @@ async function attachMailbox(options) {
50
50
  export {
51
51
  attachMailbox
52
52
  };
53
- //# sourceMappingURL=chunk-JZKAJUVT.js.map
53
+ //# sourceMappingURL=chunk-KESQUAKO.js.map
@@ -1,6 +1,7 @@
1
1
  import {
2
+ configOption,
2
3
  jsonOption
3
- } from "./chunk-JPYQDOEW.js";
4
+ } from "./chunk-MPYM2HYV.js";
4
5
 
5
6
  // src/commands/specs/mcp.ts
6
7
  var mcpSpec = {
@@ -39,11 +40,7 @@ var mcpSpec = {
39
40
  usage: "pmcp mcp <subcommand> <name> [options]",
40
41
  options: [
41
42
  jsonOption,
42
- {
43
- name: "config",
44
- describe: "A pmcp.toml to read instead of the nearest one.",
45
- placeholder: "<file>"
46
- },
43
+ configOption,
47
44
  {
48
45
  name: "code",
49
46
  describe: "Complete a pending login with a callback URL or authorization code.",
@@ -75,4 +72,4 @@ var mcpSpec = {
75
72
  export {
76
73
  mcpSpec
77
74
  };
78
- //# sourceMappingURL=chunk-UVTGY2R3.js.map
75
+ //# sourceMappingURL=chunk-KRDNVEV6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  configOption
3
- } from "./chunk-JPYQDOEW.js";
3
+ } from "./chunk-MPYM2HYV.js";
4
4
 
5
5
  // src/commands/specs/mailbox.ts
6
6
  var mailboxSpec = {
@@ -156,4 +156,4 @@ var mailboxSpec = {
156
156
  export {
157
157
  mailboxSpec
158
158
  };
159
- //# sourceMappingURL=chunk-2HL2MFNI.js.map
159
+ //# sourceMappingURL=chunk-KWSCDIE2.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-SGFTHKKS.js";
10
10
  import {
11
11
  inferSession
12
- } from "./chunk-65BW7Y6O.js";
12
+ } from "./chunk-4F4CMDKZ.js";
13
13
  import {
14
14
  flockAvailable
15
15
  } from "./chunk-DZ2MRTYT.js";
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  BUSY_EXIT,
21
21
  DISABLE_ENV
22
- } from "./chunk-QZY36KNT.js";
22
+ } from "./chunk-3ZGNO4Y6.js";
23
23
  import {
24
24
  LANES,
25
25
  epoch,
@@ -549,6 +549,10 @@ function severe(settings, reading) {
549
549
  const factor = settings.hardFactor;
550
550
  return over(reading.load, settings.maxLoad * factor) || over(io(settings, reading), settings.maxIo * factor);
551
551
  }
552
+ function effectiveGrace(loadGrace, ageLimit) {
553
+ if (loadGrace === 0 || ageLimit === 0) return loadGrace;
554
+ return Math.min(loadGrace, ageLimit);
555
+ }
552
556
  function hostVerdict(settings, reading, waiting) {
553
557
  if (settled(settings, reading)) return "settled";
554
558
  if (severe(settings, reading)) return "severe";
@@ -650,7 +654,10 @@ function tryAdmit(options, paths, fd, start, registered) {
650
654
  const { running, waiters } = readQueue(paths);
651
655
  if (!admissible(options.settings, running, waiters).has(pid))
652
656
  return { admitted: false, verdict: "queue" };
653
- const grace = options.settings.profiles[options.profile].loadGrace;
657
+ const grace = effectiveGrace(
658
+ options.settings.profiles[options.profile].loadGrace,
659
+ options.settings.ageLimit
660
+ );
654
661
  const reading = readHost(hostSources(options.env));
655
662
  const released = lastRelease(paths);
656
663
  const verdict = hostVerdict(options.settings, reading, {
@@ -1161,4 +1168,4 @@ export {
1161
1168
  usageStats,
1162
1169
  runHeavy
1163
1170
  };
1164
- //# sourceMappingURL=chunk-OIYZT4BG.js.map
1171
+ //# sourceMappingURL=chunk-LBPMMSQQ.js.map
@@ -0,0 +1,7 @@
1
+ // src/commands/version.ts
2
+ var VERSION = "0.34.0";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-LWQIS2FC.js.map
@@ -1,3 +1,7 @@
1
+ import {
2
+ jsonOption
3
+ } from "./chunk-MPYM2HYV.js";
4
+
1
5
  // src/commands/specs/session.ts
2
6
  var loginSpec = {
3
7
  name: "login",
@@ -23,13 +27,7 @@ var whoamiSpec = {
23
27
  examples: ["pmcp whoami", "pmcp whoami --json"],
24
28
  describe: "Whether this machine is signed in, and to what",
25
29
  usage: "pmcp whoami [--json]",
26
- options: [
27
- {
28
- name: "json",
29
- describe: "Print the result as one JSON envelope on stdout.",
30
- boolean: true
31
- }
32
- ]
30
+ options: [jsonOption]
33
31
  };
34
32
 
35
33
  export {
@@ -37,4 +35,4 @@ export {
37
35
  logoutSpec,
38
36
  whoamiSpec
39
37
  };
40
- //# sourceMappingURL=chunk-QYLOIM4U.js.map
38
+ //# sourceMappingURL=chunk-MFD2UEJY.js.map
@@ -1,23 +1,21 @@
1
- // src/commands/options/inspection.ts
1
+ // src/commands/options/common.ts
2
2
  var configOption = {
3
3
  name: "config",
4
4
  describe: "A pmcp.toml to read instead of the nearest one.",
5
5
  placeholder: "<file>"
6
6
  };
7
- var nearestConfigOption = {
8
- name: "config",
9
- describe: "A pmcp.toml to read instead of the nearest one.",
10
- placeholder: "<file>"
11
- };
12
7
  var jsonOption = {
13
8
  name: "json",
14
9
  describe: "Print the result as one JSON envelope on stdout.",
15
10
  boolean: true
16
11
  };
12
+ function dryRunOption(describe) {
13
+ return { name: "dry-run", describe, boolean: true };
14
+ }
17
15
 
18
16
  export {
19
17
  configOption,
20
- nearestConfigOption,
21
- jsonOption
18
+ jsonOption,
19
+ dryRunOption
22
20
  };
23
- //# sourceMappingURL=chunk-JPYQDOEW.js.map
21
+ //# sourceMappingURL=chunk-MPYM2HYV.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  inferSession
3
- } from "./chunk-65BW7Y6O.js";
3
+ } from "./chunk-4F4CMDKZ.js";
4
4
  import {
5
5
  isOperator,
6
6
  requireOperatorFor
7
- } from "./chunk-OIKT4SYO.js";
7
+ } from "./chunk-UOFHM6OM.js";
8
8
  import {
9
9
  openStore,
10
10
  readStoreSettings
@@ -98,4 +98,4 @@ export {
98
98
  storeFrom,
99
99
  change
100
100
  };
101
- //# sourceMappingURL=chunk-YJVSN6UN.js.map
101
+ //# sourceMappingURL=chunk-NFWN3AMZ.js.map
@@ -1689,4 +1689,4 @@ export {
1689
1689
  readFixtures,
1690
1690
  smoke
1691
1691
  };
1692
- //# sourceMappingURL=chunk-GQRDEIQA.js.map
1692
+ //# sourceMappingURL=chunk-NQBSTHYF.js.map
@@ -9,7 +9,7 @@ import {
9
9
  runtimeSchema,
10
10
  sendSchema,
11
11
  sessionsSchema
12
- } from "./chunk-QRCAGKC6.js";
12
+ } from "./chunk-WWNY53B6.js";
13
13
  import {
14
14
  openSqlite
15
15
  } from "./chunk-6STKGOCW.js";
@@ -1210,4 +1210,4 @@ export {
1210
1210
  restoreBackup,
1211
1211
  MailboxService
1212
1212
  };
1213
- //# sourceMappingURL=chunk-I4U2A6HP.js.map
1213
+ //# sourceMappingURL=chunk-NQVAFHDK.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
- jsonOption,
3
- nearestConfigOption
4
- } from "./chunk-JPYQDOEW.js";
2
+ configOption,
3
+ jsonOption
4
+ } from "./chunk-MPYM2HYV.js";
5
5
 
6
6
  // src/commands/specs/host.ts
7
7
  var heavySpec = {
@@ -81,7 +81,7 @@ var heavySpec = {
81
81
  describe: "Run a heavy command within the host-wide budget, by lane, once the host has room",
82
82
  usage: "pmcp heavy [--label <text>] [--profile <name>] [--lane <lane>] [--weight <n>] [--now --reason <text>] -- <command...> | pmcp heavy <subcommand> [options]",
83
83
  options: [
84
- nearestConfigOption,
84
+ configOption,
85
85
  jsonOption,
86
86
  {
87
87
  name: "label",
@@ -178,7 +178,7 @@ var hostSpec = {
178
178
  describe: "Measure the disk and check the io.cost model the lease's io weights rely on",
179
179
  usage: "pmcp host io <measure|plan|doctor> [options]",
180
180
  options: [
181
- nearestConfigOption,
181
+ configOption,
182
182
  jsonOption,
183
183
  {
184
184
  name: "dir",
@@ -212,4 +212,4 @@ export {
212
212
  heavySpec,
213
213
  hostSpec
214
214
  };
215
- //# sourceMappingURL=chunk-LXWAU7AX.js.map
215
+ //# sourceMappingURL=chunk-OOH47XJH.js.map