@modootoday/pmcp 0.30.1 → 0.32.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 (85) 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-4FILH743.js → affected-BHHN2Q3D.js} +3 -2
  6. package/dist/{apply-P2POBHIU.js → apply-SSYZGDJU.js} +10 -10
  7. package/dist/{chunk-HV43X72U.js → chunk-3DRV5KHZ.js} +2 -2
  8. package/dist/{chunk-NHQ5BWMO.js → chunk-6H3HN7E7.js} +4 -4
  9. package/dist/{chunk-I5BKHSVY.js → chunk-AALSWFPA.js} +5 -5
  10. package/dist/{chunk-T6C3TSTO.js → chunk-ESM7TFTO.js} +36 -2
  11. package/dist/{chunk-YP55H3V6.js → chunk-FALOBFE6.js} +3 -3
  12. package/dist/{chunk-N5RB4HU6.js → chunk-FFQA2R5P.js} +3 -3
  13. package/dist/{chunk-EINSPZVE.js → chunk-FGG7JJ5M.js} +2 -2
  14. package/dist/{chunk-UCTZ7LB2.js → chunk-IAR7BL5R.js} +2 -2
  15. package/dist/{chunk-ADIAVEVZ.js → chunk-IFFOJ3IE.js} +2 -2
  16. package/dist/chunk-KNIHXLDE.js +7 -0
  17. package/dist/{chunk-G5OL7NQS.js → chunk-KWCZKCTC.js} +110 -29
  18. package/dist/{chunk-XMCP4SGT.js → chunk-MUGHZ6QC.js} +2 -2
  19. package/dist/{chunk-4NR6F2G5.js → chunk-OIV44CYB.js} +2 -2
  20. package/dist/{chunk-WZGK5TPF.js → chunk-OIYZT4BG.js} +13 -4
  21. package/dist/{chunk-DLM2BQXY.js → chunk-OS5CYV27.js} +3 -3
  22. package/dist/{chunk-5GFNEL6I.js → chunk-PPWEOXIU.js} +14 -14
  23. package/dist/{chunk-RC7JRUM5.js → chunk-PRQICZXO.js} +3 -3
  24. package/dist/{chunk-LVCASOV4.js → chunk-QZY36KNT.js} +4 -2
  25. package/dist/{chunk-LESRSUYY.js → chunk-SMHHL25Y.js} +5 -5
  26. package/dist/{chunk-E5OBYCMP.js → chunk-SU6R4VWV.js} +3 -3
  27. package/dist/{chunk-5WAMDZHF.js → chunk-UKGO2RR7.js} +2 -2
  28. package/dist/{chunk-CO5DP2RP.js → chunk-UT2NACLW.js} +2 -2
  29. package/dist/{chunk-MWEE5HCH.js → chunk-VEJU5HXJ.js} +2 -2
  30. package/dist/{chunk-7YBS5S3F.js → chunk-XADROJFL.js} +2 -2
  31. package/dist/{cli-NSZLKKLU.js → cli-RHOETDBX.js} +5 -5
  32. package/dist/cli.js +3 -3
  33. package/dist/{completion-NLC6EB7Q.js → completion-PE6CHX4K.js} +2 -2
  34. package/dist/{diagnostics-5JG4WLRI.js → diagnostics-7Y5OFV44.js} +7 -7
  35. package/dist/{doctor-RLSWHJ2A.js → doctor-GBIPPKPD.js} +12 -12
  36. package/dist/{doctor-T647TNS5.js → doctor-XY6OMK7W.js} +6 -5
  37. package/dist/{entry-FAVK7RKI.js → entry-4WT2WM6C.js} +11 -11
  38. package/dist/{exec-mcp-7RZP3J3L.js → exec-mcp-BLTFBWND.js} +8 -8
  39. package/dist/{harness-BB6DSAVZ.js → harness-HGBKFIUT.js} +3 -3
  40. package/dist/harness-launch-gate.js +5 -5
  41. package/dist/harness-worker.js +7 -7
  42. package/dist/{heavy-AZSP6VEW.js → heavy-E55QD5LR.js} +5 -4
  43. package/dist/hook-body.js +131 -50
  44. package/dist/{hooks-Y22ODBFZ.js → hooks-MT3CGRSU.js} +3 -3
  45. package/dist/{host-RO54NJCQ.js → host-5AI4JAXD.js} +8 -8
  46. package/dist/{host-HG5BH2G6.js → host-AMKVSOYU.js} +10 -10
  47. package/dist/{host-5PO6OXNR.js → host-FXO4VGE6.js} +4 -4
  48. package/dist/{host-run-6NMZUNPQ.js → host-run-M2KMMU72.js} +6 -6
  49. package/dist/http.js +1 -1
  50. package/dist/{import-mcp-QV3QQA7S.js → import-mcp-QTUVK5GE.js} +7 -7
  51. package/dist/index.d.ts +1 -1
  52. package/dist/index.js +11 -11
  53. package/dist/{init-7YCITJBT.js → init-RAAQOP4D.js} +2 -2
  54. package/dist/{invoke-PWCH3QTK.js → invoke-D2CYSRFG.js} +9 -9
  55. package/dist/{list-ZBIXGLKJ.js → list-UG67V5EO.js} +9 -9
  56. package/dist/{logout-NWOB6FYU.js → logout-Z5KMKTTP.js} +8 -8
  57. package/dist/{mainline-HQPAQ5N2.js → mainline-Y4HOI5R7.js} +5 -4
  58. package/dist/{mcp-6I5I6VGZ.js → mcp-QARZ7L22.js} +2 -2
  59. package/dist/{measure-XD5UDZMJ.js → measure-K7D3GLC6.js} +6 -6
  60. package/dist/{plan-KGGJRUY5.js → plan-JAHYXJHP.js} +6 -5
  61. package/dist/{project-IKIRR3ZN.js → project-5SL2CE5F.js} +4 -4
  62. package/dist/{run-U2NQLEEM.js → run-EUU6TJBI.js} +4 -4
  63. package/dist/{run-VWETBSCC.js → run-H22CN65S.js} +7 -7
  64. package/dist/{serve-EYRBNRYW.js → serve-36VOPK47.js} +3 -3
  65. package/dist/{setup-V7QJKJ3M.js → setup-Y5SM4LKI.js} +4 -3
  66. package/dist/{start-login-S7TSV6U7.js → start-login-3CUVLBDP.js} +8 -8
  67. package/dist/{status-PXSKFHAJ.js → status-SLQQMCZP.js} +8 -8
  68. package/dist/{status-FL3BR362.js → status-ZGFOO5YT.js} +9 -9
  69. package/dist/stdio.js +2 -2
  70. package/dist/{test-PWBXC2D5.js → test-JKU4KELV.js} +8 -8
  71. package/dist/{tui-BNBDMV2M.js → tui-QB42W3XZ.js} +4 -4
  72. package/dist/{worker-6OGOG6E4.js → worker-VPP2HD6O.js} +9 -9
  73. package/docs/hooks.md +2 -1
  74. package/docs/project-configuration.md +3 -0
  75. package/docs/upgrading.md +10 -1
  76. package/gemini-extension.json +2 -2
  77. package/mcp.json +1 -1
  78. package/package.json +5 -5
  79. package/plugin.json +1 -1
  80. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  81. package/plugins/pmcp/.mcp.json +1 -1
  82. package/plugins/pmcp/gemini-extension.json +2 -2
  83. package/plugins/pmcp/mcp.json +1 -1
  84. package/plugins/pmcp/plugin.json +1 -1
  85. package/dist/chunk-YPK3ZMDX.js +0 -7
@@ -16,7 +16,7 @@ import "./chunk-73AKO4UL.js";
16
16
  import {
17
17
  serve,
18
18
  serveWithMailbox
19
- } from "./chunk-MWEE5HCH.js";
19
+ } from "./chunk-VEJU5HXJ.js";
20
20
  import {
21
21
  serveSpec
22
22
  } from "./chunk-VBVNOLRR.js";
@@ -30,7 +30,7 @@ import {
30
30
  one
31
31
  } from "./chunk-Y6NFETNG.js";
32
32
  import "./chunk-ISZOLR3D.js";
33
- import "./chunk-HV43X72U.js";
33
+ import "./chunk-3DRV5KHZ.js";
34
34
  import "./chunk-6WXMJOMI.js";
35
35
  import "./chunk-4CRRLDDS.js";
36
36
  import "./chunk-YSAWTGNA.js";
@@ -101,4 +101,4 @@ var serveCommand = {
101
101
  export {
102
102
  serveCommand
103
103
  };
104
- //# sourceMappingURL=serve-EYRBNRYW.js.map
104
+ //# sourceMappingURL=serve-36VOPK47.js.map
@@ -2,7 +2,7 @@ import {
2
2
  gateTreePath,
3
3
  leaseSpecs,
4
4
  loadGit
5
- } from "./chunk-5WAMDZHF.js";
5
+ } from "./chunk-UKGO2RR7.js";
6
6
  import "./chunk-WUFNKK3U.js";
7
7
  import "./chunk-374AZ4J4.js";
8
8
  import "./chunk-SDFJJJB5.js";
@@ -10,10 +10,11 @@ import "./chunk-PAY6HEEY.js";
10
10
  import "./chunk-Z6WRFOFT.js";
11
11
  import "./chunk-23PE3HZB.js";
12
12
  import "./chunk-Y6NFETNG.js";
13
- import "./chunk-T6C3TSTO.js";
13
+ import "./chunk-ESM7TFTO.js";
14
14
  import "./chunk-KLIYFD3W.js";
15
15
  import "./chunk-GUHOEIHP.js";
16
16
  import "./chunk-IJBSOWHK.js";
17
+ import "./chunk-KNIHXLDE.js";
17
18
  import "./chunk-GJXOFDJT.js";
18
19
  import "./chunk-PMJG2CXF.js";
19
20
  export {
@@ -21,4 +22,4 @@ export {
21
22
  leaseSpecs,
22
23
  loadGit
23
24
  };
24
- //# sourceMappingURL=setup-V7QJKJ3M.js.map
25
+ //# sourceMappingURL=setup-Y5SM4LKI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  serverFrom
3
- } from "./chunk-ADIAVEVZ.js";
3
+ } from "./chunk-IFFOJ3IE.js";
4
4
  import {
5
5
  storeBearer,
6
6
  tokenRequest,
@@ -14,7 +14,7 @@ import {
14
14
  writeCredentials
15
15
  } from "./chunk-UPQTAHUK.js";
16
16
  import "./chunk-7CHUMF3E.js";
17
- import "./chunk-G5OL7NQS.js";
17
+ import "./chunk-KWCZKCTC.js";
18
18
  import "./chunk-YEO6I6XN.js";
19
19
  import "./chunk-FLG7VRTC.js";
20
20
  import "./chunk-2GD7PQ7J.js";
@@ -25,7 +25,7 @@ import "./chunk-LFFIQBNY.js";
25
25
  import "./chunk-HQOB7OQS.js";
26
26
  import "./chunk-73AKO4UL.js";
27
27
  import "./chunk-VQBXWMLT.js";
28
- import "./chunk-5WAMDZHF.js";
28
+ import "./chunk-UKGO2RR7.js";
29
29
  import "./chunk-WUFNKK3U.js";
30
30
  import "./chunk-374AZ4J4.js";
31
31
  import "./chunk-SDFJJJB5.js";
@@ -42,16 +42,16 @@ import {
42
42
  ArgumentError,
43
43
  one
44
44
  } from "./chunk-Y6NFETNG.js";
45
- import "./chunk-RC7JRUM5.js";
46
- import "./chunk-LVCASOV4.js";
45
+ import "./chunk-PRQICZXO.js";
46
+ import "./chunk-QZY36KNT.js";
47
47
  import "./chunk-N7ANFMA5.js";
48
48
  import "./chunk-TYY5TYHF.js";
49
- import "./chunk-T6C3TSTO.js";
49
+ import "./chunk-ESM7TFTO.js";
50
50
  import "./chunk-KLIYFD3W.js";
51
51
  import "./chunk-GUHOEIHP.js";
52
52
  import "./chunk-IJBSOWHK.js";
53
53
  import "./chunk-XWLMZKH2.js";
54
- import "./chunk-YPK3ZMDX.js";
54
+ import "./chunk-KNIHXLDE.js";
55
55
  import "./chunk-GJXOFDJT.js";
56
56
  import "./chunk-PMJG2CXF.js";
57
57
  import "./chunk-J6KL3COD.js";
@@ -425,4 +425,4 @@ async function run(context) {
425
425
  export {
426
426
  run
427
427
  };
428
- //# sourceMappingURL=start-login-S7TSV6U7.js.map
428
+ //# sourceMappingURL=start-login-3CUVLBDP.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  serverFrom
3
- } from "./chunk-ADIAVEVZ.js";
3
+ } from "./chunk-IFFOJ3IE.js";
4
4
  import {
5
5
  status
6
6
  } from "./chunk-UPQTAHUK.js";
7
7
  import "./chunk-7CHUMF3E.js";
8
- import "./chunk-G5OL7NQS.js";
8
+ import "./chunk-KWCZKCTC.js";
9
9
  import "./chunk-YEO6I6XN.js";
10
10
  import "./chunk-FLG7VRTC.js";
11
11
  import "./chunk-2GD7PQ7J.js";
@@ -16,7 +16,7 @@ import "./chunk-LFFIQBNY.js";
16
16
  import "./chunk-HQOB7OQS.js";
17
17
  import "./chunk-73AKO4UL.js";
18
18
  import "./chunk-VQBXWMLT.js";
19
- import "./chunk-5WAMDZHF.js";
19
+ import "./chunk-UKGO2RR7.js";
20
20
  import "./chunk-WUFNKK3U.js";
21
21
  import "./chunk-374AZ4J4.js";
22
22
  import "./chunk-SDFJJJB5.js";
@@ -27,16 +27,16 @@ import "./chunk-Q5H3L6Y4.js";
27
27
  import "./chunk-GQRDEIQA.js";
28
28
  import "./chunk-V4NPDK6X.js";
29
29
  import "./chunk-Y6NFETNG.js";
30
- import "./chunk-RC7JRUM5.js";
31
- import "./chunk-LVCASOV4.js";
30
+ import "./chunk-PRQICZXO.js";
31
+ import "./chunk-QZY36KNT.js";
32
32
  import "./chunk-N7ANFMA5.js";
33
33
  import "./chunk-TYY5TYHF.js";
34
- import "./chunk-T6C3TSTO.js";
34
+ import "./chunk-ESM7TFTO.js";
35
35
  import "./chunk-KLIYFD3W.js";
36
36
  import "./chunk-GUHOEIHP.js";
37
37
  import "./chunk-IJBSOWHK.js";
38
38
  import "./chunk-XWLMZKH2.js";
39
- import "./chunk-YPK3ZMDX.js";
39
+ import "./chunk-KNIHXLDE.js";
40
40
  import "./chunk-GJXOFDJT.js";
41
41
  import "./chunk-PMJG2CXF.js";
42
42
  import "./chunk-J6KL3COD.js";
@@ -59,4 +59,4 @@ function run(context) {
59
59
  export {
60
60
  run
61
61
  };
62
- //# sourceMappingURL=status-PXSKFHAJ.js.map
62
+ //# sourceMappingURL=status-SLQQMCZP.js.map
@@ -7,18 +7,18 @@ import {
7
7
  } from "./chunk-VN34GLGJ.js";
8
8
  import {
9
9
  policyRows
10
- } from "./chunk-4NR6F2G5.js";
10
+ } from "./chunk-OIV44CYB.js";
11
11
  import "./chunk-E272CFPS.js";
12
12
  import {
13
13
  configFrom
14
14
  } from "./chunk-7CHUMF3E.js";
15
15
  import {
16
16
  checkProject
17
- } from "./chunk-E5OBYCMP.js";
17
+ } from "./chunk-SU6R4VWV.js";
18
18
  import {
19
19
  checkBudget,
20
20
  readSpec
21
- } from "./chunk-G5OL7NQS.js";
21
+ } from "./chunk-KWCZKCTC.js";
22
22
  import "./chunk-YEO6I6XN.js";
23
23
  import "./chunk-FLG7VRTC.js";
24
24
  import {
@@ -33,7 +33,7 @@ import "./chunk-73AKO4UL.js";
33
33
  import "./chunk-VQBXWMLT.js";
34
34
  import {
35
35
  readGitConfig
36
- } from "./chunk-5WAMDZHF.js";
36
+ } from "./chunk-UKGO2RR7.js";
37
37
  import "./chunk-WUFNKK3U.js";
38
38
  import "./chunk-374AZ4J4.js";
39
39
  import {
@@ -58,11 +58,11 @@ import {
58
58
  EXIT,
59
59
  noConfig
60
60
  } from "./chunk-Y6NFETNG.js";
61
- import "./chunk-RC7JRUM5.js";
62
- import "./chunk-LVCASOV4.js";
61
+ import "./chunk-PRQICZXO.js";
62
+ import "./chunk-QZY36KNT.js";
63
63
  import "./chunk-N7ANFMA5.js";
64
64
  import "./chunk-TYY5TYHF.js";
65
- import "./chunk-T6C3TSTO.js";
65
+ import "./chunk-ESM7TFTO.js";
66
66
  import "./chunk-KLIYFD3W.js";
67
67
  import "./chunk-GUHOEIHP.js";
68
68
  import {
@@ -70,7 +70,7 @@ import {
70
70
  worktreesOf
71
71
  } from "./chunk-IJBSOWHK.js";
72
72
  import "./chunk-XWLMZKH2.js";
73
- import "./chunk-YPK3ZMDX.js";
73
+ import "./chunk-KNIHXLDE.js";
74
74
  import "./chunk-GJXOFDJT.js";
75
75
  import "./chunk-PMJG2CXF.js";
76
76
  import "./chunk-J6KL3COD.js";
@@ -306,4 +306,4 @@ var statusCommand = {
306
306
  export {
307
307
  statusCommand
308
308
  };
309
- //# sourceMappingURL=status-FL3BR362.js.map
309
+ //# sourceMappingURL=status-ZGFOO5YT.js.map
package/dist/stdio.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  resolveRoots,
5
5
  serve,
6
6
  serveWithMailbox
7
- } from "./chunk-MWEE5HCH.js";
8
- import "./chunk-HV43X72U.js";
7
+ } from "./chunk-VEJU5HXJ.js";
8
+ import "./chunk-3DRV5KHZ.js";
9
9
  import "./chunk-6WXMJOMI.js";
10
10
  import "./chunk-4CRRLDDS.js";
11
11
  import "./chunk-YSAWTGNA.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  specFrom
3
- } from "./chunk-7YBS5S3F.js";
3
+ } from "./chunk-XADROJFL.js";
4
4
  import {
5
5
  sourceFor
6
6
  } from "./chunk-E272CFPS.js";
@@ -13,7 +13,7 @@ import {
13
13
  customPolicy,
14
14
  externalPolicy,
15
15
  readScript
16
- } from "./chunk-G5OL7NQS.js";
16
+ } from "./chunk-KWCZKCTC.js";
17
17
  import "./chunk-YEO6I6XN.js";
18
18
  import "./chunk-FLG7VRTC.js";
19
19
  import "./chunk-2GD7PQ7J.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-HQOB7OQS.js";
28
28
  import "./chunk-73AKO4UL.js";
29
29
  import "./chunk-VQBXWMLT.js";
30
- import "./chunk-5WAMDZHF.js";
30
+ import "./chunk-UKGO2RR7.js";
31
31
  import "./chunk-WUFNKK3U.js";
32
32
  import "./chunk-374AZ4J4.js";
33
33
  import "./chunk-SDFJJJB5.js";
@@ -57,11 +57,11 @@ import {
57
57
  ArgumentError,
58
58
  one
59
59
  } from "./chunk-Y6NFETNG.js";
60
- import "./chunk-RC7JRUM5.js";
61
- import "./chunk-LVCASOV4.js";
60
+ import "./chunk-PRQICZXO.js";
61
+ import "./chunk-QZY36KNT.js";
62
62
  import "./chunk-N7ANFMA5.js";
63
63
  import "./chunk-TYY5TYHF.js";
64
- import "./chunk-T6C3TSTO.js";
64
+ import "./chunk-ESM7TFTO.js";
65
65
  import "./chunk-KLIYFD3W.js";
66
66
  import {
67
67
  expandPath
@@ -71,7 +71,7 @@ import {
71
71
  worktreesOf
72
72
  } from "./chunk-IJBSOWHK.js";
73
73
  import "./chunk-XWLMZKH2.js";
74
- import "./chunk-YPK3ZMDX.js";
74
+ import "./chunk-KNIHXLDE.js";
75
75
  import "./chunk-GJXOFDJT.js";
76
76
  import "./chunk-PMJG2CXF.js";
77
77
  import "./chunk-J6KL3COD.js";
@@ -639,4 +639,4 @@ async function run(context) {
639
639
  export {
640
640
  run
641
641
  };
642
- //# sourceMappingURL=test-PWBXC2D5.js.map
642
+ //# sourceMappingURL=test-JKU4KELV.js.map
@@ -140,10 +140,10 @@ var tuiCommand = {
140
140
  try {
141
141
  let receipt;
142
142
  if (invocation.action === "doctor") {
143
- const { inspectTerminalHost } = await import("./diagnostics-5JG4WLRI.js");
143
+ const { inspectTerminalHost } = await import("./diagnostics-7Y5OFV44.js");
144
144
  receipt = inspectTerminalHost();
145
145
  } else if (invocation.action === "start-worker") {
146
- const { startWorkspaceWorker } = await import("./worker-6OGOG6E4.js");
146
+ const { startWorkspaceWorker } = await import("./worker-VPP2HD6O.js");
147
147
  receipt = await startWorkspaceWorker(
148
148
  { config: invocation.startup?.config, cwd: context.cwd },
149
149
  invocation.startup.runtime,
@@ -156,7 +156,7 @@ var tuiCommand = {
156
156
  cwd: context.cwd
157
157
  });
158
158
  } else {
159
- const { launchStartup, planStartup } = await import("./entry-FAVK7RKI.js");
159
+ const { launchStartup, planStartup } = await import("./entry-4WT2WM6C.js");
160
160
  const request = { ...invocation.startup, cwd: context.cwd };
161
161
  receipt = invocation.action === "plan" ? planStartup(request) : await launchStartup(
162
162
  request,
@@ -176,4 +176,4 @@ var tuiCommand = {
176
176
  export {
177
177
  tuiCommand
178
178
  };
179
- //# sourceMappingURL=tui-BNBDMV2M.js.map
179
+ //# sourceMappingURL=tui-QB42W3XZ.js.map
@@ -5,25 +5,25 @@ import {
5
5
  } from "./chunk-C3G75JH7.js";
6
6
  import {
7
7
  invoke
8
- } from "./chunk-I5BKHSVY.js";
8
+ } from "./chunk-AALSWFPA.js";
9
9
  import "./chunk-DZ2MRTYT.js";
10
- import "./chunk-N5RB4HU6.js";
11
- import "./chunk-XMCP4SGT.js";
10
+ import "./chunk-FFQA2R5P.js";
11
+ import "./chunk-MUGHZ6QC.js";
12
12
  import {
13
13
  locateExecutable
14
14
  } from "./chunk-R2GPCZUX.js";
15
- import "./chunk-EINSPZVE.js";
15
+ import "./chunk-FGG7JJ5M.js";
16
16
  import "./chunk-34DECPVC.js";
17
- import "./chunk-RC7JRUM5.js";
18
- import "./chunk-LVCASOV4.js";
17
+ import "./chunk-PRQICZXO.js";
18
+ import "./chunk-QZY36KNT.js";
19
19
  import "./chunk-N7ANFMA5.js";
20
20
  import "./chunk-TYY5TYHF.js";
21
- import "./chunk-T6C3TSTO.js";
21
+ import "./chunk-ESM7TFTO.js";
22
22
  import "./chunk-KLIYFD3W.js";
23
23
  import "./chunk-GUHOEIHP.js";
24
24
  import "./chunk-IJBSOWHK.js";
25
25
  import "./chunk-XWLMZKH2.js";
26
- import "./chunk-YPK3ZMDX.js";
26
+ import "./chunk-KNIHXLDE.js";
27
27
  import "./chunk-GJXOFDJT.js";
28
28
  import "./chunk-PMJG2CXF.js";
29
29
  import {
@@ -83,4 +83,4 @@ async function startWorkspaceWorker(request, runtime, memoryMb) {
83
83
  export {
84
84
  startWorkspaceWorker
85
85
  };
86
- //# sourceMappingURL=worker-6OGOG6E4.js.map
86
+ //# sourceMappingURL=worker-VPP2HD6O.js.map
package/docs/hooks.md CHANGED
@@ -87,6 +87,7 @@ default log level.
87
87
  | `[hooks.guards.shell.self_matching_wait]` | observe | deny, ask, warn, observe, off | A `while`, `until` or `for` loop that polls with `pgrep -f`, `pkill -f`, `pidwait -f` or `ps \| grep` (also inside `$( )` or `bash -c`): the pattern matches the shell running the loop, whose command line holds it, so the wait may never end. `ps -p`, `ps -C` and `pgrep` without `-f` pass. The reason points to `pmcp wait --pid`, `pmcp wait --until no-process:<text>` and `pmcp heavy wait <ticket>`. Starts in observe; set `mode = "deny"` once a week of hits is measured. |
88
88
  | `[hooks.guards.git.push_without_verify]` | deny | deny, ask, warn, observe, off | `git push --no-verify`. |
89
89
  | `[hooks.guards.git.forced_branch_move]` | deny | deny, ask, warn, observe, off | Forcing a branch that is checked out in another working tree. |
90
+ | `[hooks.guards.git.discard_work]` | graded | deny, ask, warn, observe, off, graded | `git reset --hard`, `git checkout` of paths (or `-f`), `git restore` of the working tree, `git clean -f` and `git stash` other than `list` and `show`. Graded: denied when aimed at the main checkout of a repository that has linked worktrees (the shared checkout) or at another session's worktree, a warning in the session's own worktree or a repository without linked worktrees. |
90
91
  | `[hooks.guards.git.gate_bypass_env]` | deny | deny, ask, warn, observe, off | Setting a named gate-bypass variable where it takes effect, and optionally `--no-verify` on any git command. |
91
92
  | `[hooks.guards.git.stage_all]` | deny | deny, ask, warn, observe, off | `git add -A`, `git add .`, `git commit -a` and similar; stage explicit paths. |
92
93
  | `[hooks.guards.pmcp.operator_verbs]` | deny | deny, ask, warn, observe, off | The operator verbs: `pmcp sessions pause` and `resume`, `pmcp heavy --now` and `promote --now`, `pmcp heavy cancel --force`, `pmcp git deliver --during-pause`, and setting `PMCP_HEAVY_NOW`, `PMCP_OPERATOR_TOKEN` or the lease skip `PMCP_HEAVY_DISABLE=operator`. On by itself with any session feature. |
@@ -389,7 +390,7 @@ table for your project, with Codex trust.
389
390
  | `[git.shared_checkout]`, `[git.worktrees.sync]`, `[git.mainline.deliver]` | measured | measured |
390
391
  | heredoc, compose_teardown, push_without_verify, forced_branch_move, gate_bypass_env, stage_all | measured | measured |
391
392
  | in_place_edit, stdin_interpreter, secret_exfiltration (ask) | ask not measured | ask lowered by `ask_fallback` |
392
- | host_approval, operator_verbs | works; not live-measured | works; not live-measured |
393
+ | host_approval, operator_verbs, discard_work | works; not live-measured | works; not live-measured |
393
394
  | `[hooks.checks.after_edit]` | measured | measured |
394
395
  | `[hooks.checks.on_stop]` | measured, in the same turn | at the next prompt |
395
396
  | `[[hooks.guards.custom]]` | not measured | not measured |
@@ -306,6 +306,7 @@ load_grace = 600
306
306
  | `dir` | path | `~/.cache/pmcp/host` | Where the lock file (`heavy.lock`), the admission lock, the `running/` and `waiters/` records, the holder record and `heavy.log` live. Every tool sharing the lease names the same directory. |
307
307
  | `budget` | integer | `4` | The most weight that runs at once. `1` is one job at a time. |
308
308
  | `gate_alone` | boolean | `false` | `true` starts no job of another lane while a `gate` job runs or waits, so a land's gate never shares the host with a test or build that the same calm moment let in beside it. Jobs already running finish; `tiny` jobs still start. |
309
+ | `age_limit` | seconds | `600` | An `interactive` or `bulk` waiter that has waited this long goes ahead of both lanes (still behind `gate` and `hook`), oldest first, and, as the first job the budget cannot fit, stops new admissions until it fits. Short jobs that keep arriving can then no longer hold a heavy one back indefinitely. `0` keeps plain lane order. |
309
310
  | `lanes.<lane>` | integer | gate 1, hook 1, interactive 2, bulk 1 | How many jobs of a lane run at once; `0` closes the lane. |
310
311
  | `weights.<lane>` | integer | gate 1, hook 1, interactive 2, bulk 3 | A job's weight when neither `--weight` nor a `commands` entry names one. A weight above the budget counts as the budget. |
311
312
  | `commands` | tables | none | `argv` prefix, `lane` and `weight` for commands run without `--lane` or `--weight`; the first match wins. |
@@ -940,6 +941,8 @@ mode = "deny"
940
941
 
941
942
  [hooks.guards.git.forced_branch_move]
942
943
 
944
+ [hooks.guards.git.discard_work]
945
+
943
946
  [hooks.guards.git.stage_all]
944
947
 
945
948
  [hooks.guards.git.gate_bypass_env]
package/docs/upgrading.md CHANGED
@@ -11,7 +11,16 @@ Pin the new release first and set its new `pmcp.toml` key in a later change, onc
11
11
  every checkout that reads that `pmcp.toml` runs the new pmcp. An older pmcp refuses a
12
12
  key it does not know, and the commands that install the new release may run through
13
13
  it: a lease-wrapped install (`pmcp heavy`) only warns about an unknown top-level
14
- `[host.lease]` key from 0.30.1 on, and any other place still refuses one.
14
+ `[host.lease]` key from 0.30.1 on, and any other place still refuses one. From 0.32.0
15
+ on, a refused key in a checkout whose `package.json` pins a newer pmcp than the one
16
+ running says so and names the install to run.
17
+
18
+ ## From 0.31 to 0.32
19
+
20
+ **A long wait now outranks the lane order.** A `pmcp heavy` waiter that has waited
21
+ `[host.lease] age_limit` seconds (default 600) in the `interactive` or `bulk` lane goes ahead of
22
+ both lanes (`gate` and `hook` still go first) and holds the budget until it fits, so a bulk install no longer waits behind an endless stream of
23
+ interactive jobs. Set `age_limit = 0` to keep the plain lane order.
15
24
 
16
25
  ## From 0.25 to 0.26
17
26
 
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.30.1",
3
+ "version": "0.32.0",
4
4
  "mcpServers": {
5
5
  "pmcp": {
6
6
  "type": "stdio",
7
7
  "command": "npx",
8
- "args": ["-y", "@modootoday/pmcp@0.30.1", "serve"]
8
+ "args": ["-y", "@modootoday/pmcp@0.32.0", "serve"]
9
9
  }
10
10
  }
11
11
  }
package/mcp.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "pmcp": {
5
5
  "type": "stdio",
6
6
  "command": "npx",
7
- "args": ["-y", "@modootoday/pmcp@0.30.1", "serve"]
7
+ "args": ["-y", "@modootoday/pmcp@0.32.0", "serve"]
8
8
  }
9
9
  }
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modootoday/pmcp",
3
- "version": "0.30.1",
3
+ "version": "0.32.0",
4
4
  "license": "Elastic-2.0",
5
5
  "author": "modootoday",
6
6
  "description": "Use the skills your packages already ship, and keep your AI tools' project configuration in one place.",
@@ -136,9 +136,9 @@
136
136
  "bun": ">=1.3.0"
137
137
  },
138
138
  "optionalDependencies": {
139
- "@modootoday/pmcp-linux-x64": "0.30.1",
140
- "@modootoday/pmcp-linux-arm64": "0.30.1",
141
- "@modootoday/pmcp-darwin-x64": "0.30.1",
142
- "@modootoday/pmcp-darwin-arm64": "0.30.1"
139
+ "@modootoday/pmcp-linux-x64": "0.32.0",
140
+ "@modootoday/pmcp-linux-arm64": "0.32.0",
141
+ "@modootoday/pmcp-darwin-x64": "0.32.0",
142
+ "@modootoday/pmcp-darwin-arm64": "0.32.0"
143
143
  }
144
144
  }
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "pmcp",
4
- "version": "0.30.1",
4
+ "version": "0.32.0",
5
5
  "description": "Find package skills and use native runtime project configuration.",
6
6
  "author": { "name": "modootoday" },
7
7
  "license": "Elastic-2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.30.1",
3
+ "version": "0.32.0",
4
4
  "description": "Find package skills and use native runtime project configuration.",
5
5
  "author": { "name": "modootoday" },
6
6
  "license": "Elastic-2.0",
@@ -3,7 +3,7 @@
3
3
  "pmcp": {
4
4
  "type": "stdio",
5
5
  "command": "npx",
6
- "args": ["-y", "@modootoday/pmcp@0.30.1", "serve"]
6
+ "args": ["-y", "@modootoday/pmcp@0.32.0", "serve"]
7
7
  }
8
8
  }
9
9
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.30.1",
3
+ "version": "0.32.0",
4
4
  "mcpServers": {
5
5
  "pmcp": {
6
6
  "type": "stdio",
7
7
  "command": "npx",
8
- "args": ["-y", "@modootoday/pmcp@0.30.1", "serve"]
8
+ "args": ["-y", "@modootoday/pmcp@0.32.0", "serve"]
9
9
  }
10
10
  }
11
11
  }
@@ -4,7 +4,7 @@
4
4
  "pmcp": {
5
5
  "type": "stdio",
6
6
  "command": "npx",
7
- "args": ["-y", "@modootoday/pmcp@0.30.1", "serve"]
7
+ "args": ["-y", "@modootoday/pmcp@0.32.0", "serve"]
8
8
  }
9
9
  }
10
10
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "pmcp",
4
- "version": "0.30.1",
4
+ "version": "0.32.0",
5
5
  "description": "Find package skills and use native runtime project configuration.",
6
6
  "author": { "name": "modootoday" },
7
7
  "license": "Elastic-2.0",
@@ -1,7 +0,0 @@
1
- // src/commands/version.ts
2
- var VERSION = "0.30.1";
3
-
4
- export {
5
- VERSION
6
- };
7
- //# sourceMappingURL=chunk-YPK3ZMDX.js.map