@modootoday/pmcp 0.23.1 → 0.24.1

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 (88) 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/CONTRIBUTING.md +8 -0
  6. package/dist/{affected-D6FRJPPI.js → affected-IPFJM2KD.js} +484 -140
  7. package/dist/{apply-3PWUO4J5.js → apply-CDJQJAZH.js} +14 -14
  8. package/dist/{chunk-B3OZ4GGO.js → chunk-23PE3HZB.js} +16 -1
  9. package/dist/{chunk-KYGGQPAH.js → chunk-264DIB5U.js} +3 -3
  10. package/dist/{chunk-42SO7KYX.js → chunk-2GD7PQ7J.js} +2 -2
  11. package/dist/{chunk-WQBKQTNT.js → chunk-2ZH77O2D.js} +8 -8
  12. package/dist/{chunk-EQF64INS.js → chunk-3O3JZTUU.js} +3 -3
  13. package/dist/{chunk-ZXMECZBI.js → chunk-3SEJNT6F.js} +4 -4
  14. package/dist/{chunk-JJFPSFDU.js → chunk-5NQZGNKT.js} +2 -2
  15. package/dist/chunk-65H4PN33.js +7 -0
  16. package/dist/{chunk-2K4WYN4C.js → chunk-7CGGDX7X.js} +2 -2
  17. package/dist/{chunk-LGRFYN5T.js → chunk-AQM2JZMB.js} +2 -2
  18. package/dist/{chunk-P25V6NEX.js → chunk-D4FIBB2G.js} +5 -5
  19. package/dist/{chunk-6NRLBSEG.js → chunk-DGXZBQCA.js} +5 -5
  20. package/dist/{chunk-6QJ3F445.js → chunk-DLIO2D7S.js} +13 -13
  21. package/dist/{chunk-RZYZILU4.js → chunk-EWYLWBKS.js} +2 -2
  22. package/dist/{chunk-YRNFMPZB.js → chunk-GEDRPMBH.js} +2 -2
  23. package/dist/{chunk-LO54UUDE.js → chunk-LNKAR3IS.js} +2 -2
  24. package/dist/{chunk-RRKA3GF5.js → chunk-MOKZPZZO.js} +2 -2
  25. package/dist/{chunk-SDQYZDHS.js → chunk-MZ52S4YJ.js} +2 -2
  26. package/dist/{chunk-DNSHJIS4.js → chunk-PG62GOPU.js} +2 -2
  27. package/dist/{chunk-FOLA4EUJ.js → chunk-QY2P54Z2.js} +10 -2
  28. package/dist/{chunk-SUDG7B6S.js → chunk-SDFJJJB5.js} +2 -2
  29. package/dist/{chunk-72V6U7CZ.js → chunk-V5PXMLLL.js} +3 -3
  30. package/dist/{chunk-5HNLHI5F.js → chunk-VBWB2T3C.js} +2 -2
  31. package/dist/{chunk-M6X6HVQK.js → chunk-VQBXWMLT.js} +2 -2
  32. package/dist/{chunk-UYBWUOLR.js → chunk-VYQJPT27.js} +4 -4
  33. package/dist/{chunk-DZTSCJOZ.js → chunk-X3RUXLAV.js} +3 -3
  34. package/dist/{cli-YWV7FLYO.js → cli-OV5LSSGE.js} +9 -9
  35. package/dist/cli.js +3 -3
  36. package/dist/{completion-OKGNN7DE.js → completion-QNDCU4MF.js} +2 -2
  37. package/dist/{diagnostics-N4XRRCQG.js → diagnostics-TPK3VC5F.js} +6 -6
  38. package/dist/{doctor-3H6UYNEA.js → doctor-K2LADSW2.js} +16 -16
  39. package/dist/{entry-KDLLG6ED.js → entry-HFQHKL5L.js} +10 -10
  40. package/dist/{exec-mcp-AENALAHJ.js → exec-mcp-I2YGGWY4.js} +12 -12
  41. package/dist/{harness-GRYTNUF2.js → harness-BMWGAXCF.js} +3 -3
  42. package/dist/harness-launch-gate.js +4 -4
  43. package/dist/harness-worker.js +6 -6
  44. package/dist/{heavy-BGXKJKYB.js → heavy-G6CYQQ7O.js} +63 -18
  45. package/dist/{hooks-V25ANQ4Q.js → hooks-R7AYQXHY.js} +3 -3
  46. package/dist/{host-MLSWY7D7.js → host-EUD6GLWV.js} +14 -14
  47. package/dist/{host-4EGPADOJ.js → host-PLE2T55E.js} +7 -7
  48. package/dist/{host-run-VI52IUKF.js → host-run-QFNGIDL5.js} +5 -5
  49. package/dist/http.js +1 -1
  50. package/dist/{import-mcp-FIXFLUDM.js → import-mcp-DVKJOEOE.js} +11 -11
  51. package/dist/index.d.ts +1 -1
  52. package/dist/index.js +15 -15
  53. package/dist/{init-ALTBFUPP.js → init-DKWNL62M.js} +2 -2
  54. package/dist/{invoke-7T7UY57O.js → invoke-U6JTPTXT.js} +8 -8
  55. package/dist/{list-JFZ7UZLV.js → list-YKQFJN3G.js} +13 -13
  56. package/dist/{logout-7CNBO76Z.js → logout-5YSKC46N.js} +12 -12
  57. package/dist/{mainline-6PBT3VNR.js → mainline-D3PSR6AJ.js} +8 -8
  58. package/dist/{mcp-MVQVMAKJ.js → mcp-CHKKXHBB.js} +2 -2
  59. package/dist/{modes-SEINLLMK.js → modes-7OY7R73T.js} +3 -3
  60. package/dist/{project-FZGJRG2U.js → project-QEYXISHC.js} +4 -4
  61. package/dist/{run-VGJDMA2O.js → run-FYKDIW4C.js} +4 -4
  62. package/dist/{run-TOP37ZQC.js → run-HKMYYEZJ.js} +11 -11
  63. package/dist/{serve-LR7SJHNH.js → serve-QZNG5UUV.js} +3 -3
  64. package/dist/{setup-6AQUOWOH.js → setup-GRWLDBVB.js} +4 -4
  65. package/dist/{start-login-X37KGCCB.js → start-login-4GPM32RA.js} +12 -12
  66. package/dist/{status-LBRK37GA.js → status-55CD352M.js} +13 -13
  67. package/dist/{status-E4AFUOQO.js → status-W6SCF2GF.js} +12 -12
  68. package/dist/stdio.js +2 -2
  69. package/dist/{test-D2EEFUN2.js → test-XYEMYZ2P.js} +12 -12
  70. package/dist/{tui-D7E3MD3X.js → tui-FXSWN2PV.js} +4 -4
  71. package/dist/{worker-WTBC6VYO.js → worker-Q4I4EIAJ.js} +8 -8
  72. package/dist/{worktree-create-FTSLMZWS.js → worktree-create-ZQRN5JBD.js} +2 -2
  73. package/dist/{worktree-list-WH6OX6U7.js → worktree-list-2HV6ODBS.js} +4 -4
  74. package/dist/{worktree-sync-DGNHSQ64.js → worktree-sync-MUVKK2CV.js} +5 -5
  75. package/docs/commands.md +2 -2
  76. package/docs/git-workflow.md +7 -1
  77. package/docs/project-configuration.md +23 -5
  78. package/docs/upgrading.md +24 -0
  79. package/gemini-extension.json +2 -2
  80. package/mcp.json +1 -1
  81. package/package.json +5 -5
  82. package/plugin.json +1 -1
  83. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  84. package/plugins/pmcp/.mcp.json +1 -1
  85. package/plugins/pmcp/gemini-extension.json +2 -2
  86. package/plugins/pmcp/mcp.json +1 -1
  87. package/plugins/pmcp/plugin.json +1 -1
  88. package/dist/chunk-7IRXUPM2.js +0 -7
@@ -16,7 +16,7 @@ import "./chunk-73AKO4UL.js";
16
16
  import {
17
17
  serve,
18
18
  serveWithMailbox
19
- } from "./chunk-DNSHJIS4.js";
19
+ } from "./chunk-PG62GOPU.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-2K4WYN4C.js";
33
+ import "./chunk-7CGGDX7X.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-LR7SJHNH.js.map
104
+ //# sourceMappingURL=serve-QZNG5UUV.js.map
@@ -2,11 +2,11 @@ import {
2
2
  gateTreePath,
3
3
  leaseSpecs,
4
4
  loadGit
5
- } from "./chunk-RZYZILU4.js";
6
- import "./chunk-SUDG7B6S.js";
5
+ } from "./chunk-EWYLWBKS.js";
6
+ import "./chunk-SDFJJJB5.js";
7
7
  import "./chunk-3V37OZQH.js";
8
8
  import "./chunk-Z6WRFOFT.js";
9
- import "./chunk-B3OZ4GGO.js";
9
+ import "./chunk-23PE3HZB.js";
10
10
  import "./chunk-Y6NFETNG.js";
11
11
  import "./chunk-T6C3TSTO.js";
12
12
  import "./chunk-FQLCD4HU.js";
@@ -19,4 +19,4 @@ export {
19
19
  leaseSpecs,
20
20
  loadGit
21
21
  };
22
- //# sourceMappingURL=setup-6AQUOWOH.js.map
22
+ //# sourceMappingURL=setup-GRWLDBVB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  serverFrom
3
- } from "./chunk-RRKA3GF5.js";
3
+ } from "./chunk-MOKZPZZO.js";
4
4
  import {
5
5
  storeBearer,
6
6
  tokenRequest,
@@ -14,21 +14,21 @@ import {
14
14
  writeCredentials
15
15
  } from "./chunk-UPQTAHUK.js";
16
16
  import "./chunk-7CHUMF3E.js";
17
- import "./chunk-WQBKQTNT.js";
18
- import "./chunk-UYBWUOLR.js";
17
+ import "./chunk-2ZH77O2D.js";
18
+ import "./chunk-VYQJPT27.js";
19
19
  import "./chunk-UKR64U7J.js";
20
- import "./chunk-42SO7KYX.js";
20
+ import "./chunk-2GD7PQ7J.js";
21
21
  import "./chunk-EATCUWGG.js";
22
22
  import "./chunk-OFJIMBTL.js";
23
23
  import "./chunk-LFFIQBNY.js";
24
24
  import "./chunk-HQOB7OQS.js";
25
25
  import "./chunk-73AKO4UL.js";
26
- import "./chunk-M6X6HVQK.js";
27
- import "./chunk-RZYZILU4.js";
28
- import "./chunk-SUDG7B6S.js";
26
+ import "./chunk-VQBXWMLT.js";
27
+ import "./chunk-EWYLWBKS.js";
28
+ import "./chunk-SDFJJJB5.js";
29
29
  import "./chunk-3V37OZQH.js";
30
30
  import "./chunk-Z6WRFOFT.js";
31
- import "./chunk-B3OZ4GGO.js";
31
+ import "./chunk-23PE3HZB.js";
32
32
  import {
33
33
  McpAuthError,
34
34
  safeEndpoint
@@ -39,8 +39,8 @@ import {
39
39
  ArgumentError,
40
40
  one
41
41
  } from "./chunk-Y6NFETNG.js";
42
- import "./chunk-KYGGQPAH.js";
43
- import "./chunk-FOLA4EUJ.js";
42
+ import "./chunk-264DIB5U.js";
43
+ import "./chunk-QY2P54Z2.js";
44
44
  import "./chunk-N7ANFMA5.js";
45
45
  import "./chunk-TYY5TYHF.js";
46
46
  import "./chunk-T6C3TSTO.js";
@@ -48,7 +48,7 @@ import "./chunk-FQLCD4HU.js";
48
48
  import "./chunk-GUHOEIHP.js";
49
49
  import "./chunk-IJBSOWHK.js";
50
50
  import "./chunk-XWLMZKH2.js";
51
- import "./chunk-7IRXUPM2.js";
51
+ import "./chunk-65H4PN33.js";
52
52
  import "./chunk-GJXOFDJT.js";
53
53
  import "./chunk-PMJG2CXF.js";
54
54
  import "./chunk-J6KL3COD.js";
@@ -422,4 +422,4 @@ async function run(context) {
422
422
  export {
423
423
  run
424
424
  };
425
- //# sourceMappingURL=start-login-X37KGCCB.js.map
425
+ //# sourceMappingURL=start-login-4GPM32RA.js.map
@@ -7,42 +7,42 @@ import {
7
7
  } from "./chunk-MHKY6TNF.js";
8
8
  import {
9
9
  policyRows
10
- } from "./chunk-5HNLHI5F.js";
10
+ } from "./chunk-VBWB2T3C.js";
11
11
  import "./chunk-7TD53M7L.js";
12
12
  import {
13
13
  configFrom
14
14
  } from "./chunk-7CHUMF3E.js";
15
15
  import {
16
16
  checkProject
17
- } from "./chunk-72V6U7CZ.js";
17
+ } from "./chunk-V5PXMLLL.js";
18
18
  import {
19
19
  checkBudget,
20
20
  readSpec
21
- } from "./chunk-WQBKQTNT.js";
22
- import "./chunk-UYBWUOLR.js";
21
+ } from "./chunk-2ZH77O2D.js";
22
+ import "./chunk-VYQJPT27.js";
23
23
  import "./chunk-UKR64U7J.js";
24
24
  import {
25
25
  distance
26
- } from "./chunk-42SO7KYX.js";
26
+ } from "./chunk-2GD7PQ7J.js";
27
27
  import "./chunk-EATCUWGG.js";
28
28
  import "./chunk-OFJIMBTL.js";
29
29
  import "./chunk-LFFIQBNY.js";
30
30
  import "./chunk-HQOB7OQS.js";
31
31
  import "./chunk-73AKO4UL.js";
32
- import "./chunk-M6X6HVQK.js";
32
+ import "./chunk-VQBXWMLT.js";
33
33
  import {
34
34
  readGitConfig
35
- } from "./chunk-RZYZILU4.js";
35
+ } from "./chunk-EWYLWBKS.js";
36
36
  import {
37
37
  defaultMainline,
38
38
  defaultRemote
39
- } from "./chunk-SUDG7B6S.js";
39
+ } from "./chunk-SDFJJJB5.js";
40
40
  import {
41
41
  openStore,
42
42
  readStoreSettings
43
43
  } from "./chunk-3V37OZQH.js";
44
44
  import "./chunk-Z6WRFOFT.js";
45
- import "./chunk-B3OZ4GGO.js";
45
+ import "./chunk-23PE3HZB.js";
46
46
  import "./chunk-Q5H3L6Y4.js";
47
47
  import "./chunk-ARXCYFFZ.js";
48
48
  import {
@@ -55,8 +55,8 @@ import {
55
55
  EXIT,
56
56
  noConfig
57
57
  } from "./chunk-Y6NFETNG.js";
58
- import "./chunk-KYGGQPAH.js";
59
- import "./chunk-FOLA4EUJ.js";
58
+ import "./chunk-264DIB5U.js";
59
+ import "./chunk-QY2P54Z2.js";
60
60
  import "./chunk-N7ANFMA5.js";
61
61
  import "./chunk-TYY5TYHF.js";
62
62
  import "./chunk-T6C3TSTO.js";
@@ -67,7 +67,7 @@ import {
67
67
  worktreesOf
68
68
  } from "./chunk-IJBSOWHK.js";
69
69
  import "./chunk-XWLMZKH2.js";
70
- import "./chunk-7IRXUPM2.js";
70
+ import "./chunk-65H4PN33.js";
71
71
  import "./chunk-GJXOFDJT.js";
72
72
  import "./chunk-PMJG2CXF.js";
73
73
  import "./chunk-J6KL3COD.js";
@@ -301,4 +301,4 @@ var statusCommand = {
301
301
  export {
302
302
  statusCommand
303
303
  };
304
- //# sourceMappingURL=status-LBRK37GA.js.map
304
+ //# sourceMappingURL=status-55CD352M.js.map
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  serverFrom
3
- } from "./chunk-RRKA3GF5.js";
3
+ } from "./chunk-MOKZPZZO.js";
4
4
  import {
5
5
  status
6
6
  } from "./chunk-UPQTAHUK.js";
7
7
  import "./chunk-7CHUMF3E.js";
8
- import "./chunk-WQBKQTNT.js";
9
- import "./chunk-UYBWUOLR.js";
8
+ import "./chunk-2ZH77O2D.js";
9
+ import "./chunk-VYQJPT27.js";
10
10
  import "./chunk-UKR64U7J.js";
11
- import "./chunk-42SO7KYX.js";
11
+ import "./chunk-2GD7PQ7J.js";
12
12
  import "./chunk-EATCUWGG.js";
13
13
  import "./chunk-OFJIMBTL.js";
14
14
  import "./chunk-LFFIQBNY.js";
15
15
  import "./chunk-HQOB7OQS.js";
16
16
  import "./chunk-73AKO4UL.js";
17
- import "./chunk-M6X6HVQK.js";
18
- import "./chunk-RZYZILU4.js";
19
- import "./chunk-SUDG7B6S.js";
17
+ import "./chunk-VQBXWMLT.js";
18
+ import "./chunk-EWYLWBKS.js";
19
+ import "./chunk-SDFJJJB5.js";
20
20
  import "./chunk-3V37OZQH.js";
21
21
  import "./chunk-Z6WRFOFT.js";
22
- import "./chunk-B3OZ4GGO.js";
22
+ import "./chunk-23PE3HZB.js";
23
23
  import "./chunk-Q5H3L6Y4.js";
24
24
  import "./chunk-ARXCYFFZ.js";
25
25
  import "./chunk-V4NPDK6X.js";
26
26
  import "./chunk-Y6NFETNG.js";
27
- import "./chunk-KYGGQPAH.js";
28
- import "./chunk-FOLA4EUJ.js";
27
+ import "./chunk-264DIB5U.js";
28
+ import "./chunk-QY2P54Z2.js";
29
29
  import "./chunk-N7ANFMA5.js";
30
30
  import "./chunk-TYY5TYHF.js";
31
31
  import "./chunk-T6C3TSTO.js";
@@ -33,7 +33,7 @@ import "./chunk-FQLCD4HU.js";
33
33
  import "./chunk-GUHOEIHP.js";
34
34
  import "./chunk-IJBSOWHK.js";
35
35
  import "./chunk-XWLMZKH2.js";
36
- import "./chunk-7IRXUPM2.js";
36
+ import "./chunk-65H4PN33.js";
37
37
  import "./chunk-GJXOFDJT.js";
38
38
  import "./chunk-PMJG2CXF.js";
39
39
  import "./chunk-J6KL3COD.js";
@@ -56,4 +56,4 @@ function run(context) {
56
56
  export {
57
57
  run
58
58
  };
59
- //# sourceMappingURL=status-E4AFUOQO.js.map
59
+ //# sourceMappingURL=status-W6SCF2GF.js.map
package/dist/stdio.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  resolveRoots,
5
5
  serve,
6
6
  serveWithMailbox
7
- } from "./chunk-DNSHJIS4.js";
8
- import "./chunk-2K4WYN4C.js";
7
+ } from "./chunk-PG62GOPU.js";
8
+ import "./chunk-7CGGDX7X.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-YRNFMPZB.js";
3
+ } from "./chunk-GEDRPMBH.js";
4
4
  import {
5
5
  sourceFor
6
6
  } from "./chunk-7TD53M7L.js";
@@ -12,10 +12,10 @@ import {
12
12
  customMode,
13
13
  customPolicy,
14
14
  readScript
15
- } from "./chunk-WQBKQTNT.js";
16
- import "./chunk-UYBWUOLR.js";
15
+ } from "./chunk-2ZH77O2D.js";
16
+ import "./chunk-VYQJPT27.js";
17
17
  import "./chunk-UKR64U7J.js";
18
- import "./chunk-42SO7KYX.js";
18
+ import "./chunk-2GD7PQ7J.js";
19
19
  import "./chunk-EATCUWGG.js";
20
20
  import "./chunk-OFJIMBTL.js";
21
21
  import "./chunk-LFFIQBNY.js";
@@ -24,9 +24,9 @@ import {
24
24
  LEVEL_RANK
25
25
  } from "./chunk-HQOB7OQS.js";
26
26
  import "./chunk-73AKO4UL.js";
27
- import "./chunk-M6X6HVQK.js";
28
- import "./chunk-RZYZILU4.js";
29
- import "./chunk-SUDG7B6S.js";
27
+ import "./chunk-VQBXWMLT.js";
28
+ import "./chunk-EWYLWBKS.js";
29
+ import "./chunk-SDFJJJB5.js";
30
30
  import {
31
31
  SESSION_ID,
32
32
  createFilesStore,
@@ -41,7 +41,7 @@ import {
41
41
  fieldsOf,
42
42
  leaseFile
43
43
  } from "./chunk-Z6WRFOFT.js";
44
- import "./chunk-B3OZ4GGO.js";
44
+ import "./chunk-23PE3HZB.js";
45
45
  import "./chunk-Q5H3L6Y4.js";
46
46
  import {
47
47
  NEUTRAL_EVENTS,
@@ -53,8 +53,8 @@ import {
53
53
  ArgumentError,
54
54
  one
55
55
  } from "./chunk-Y6NFETNG.js";
56
- import "./chunk-KYGGQPAH.js";
57
- import "./chunk-FOLA4EUJ.js";
56
+ import "./chunk-264DIB5U.js";
57
+ import "./chunk-QY2P54Z2.js";
58
58
  import "./chunk-N7ANFMA5.js";
59
59
  import "./chunk-TYY5TYHF.js";
60
60
  import "./chunk-T6C3TSTO.js";
@@ -67,7 +67,7 @@ import {
67
67
  worktreesOf
68
68
  } from "./chunk-IJBSOWHK.js";
69
69
  import "./chunk-XWLMZKH2.js";
70
- import "./chunk-7IRXUPM2.js";
70
+ import "./chunk-65H4PN33.js";
71
71
  import "./chunk-GJXOFDJT.js";
72
72
  import "./chunk-PMJG2CXF.js";
73
73
  import "./chunk-J6KL3COD.js";
@@ -627,4 +627,4 @@ async function run(context) {
627
627
  export {
628
628
  run
629
629
  };
630
- //# sourceMappingURL=test-D2EEFUN2.js.map
630
+ //# sourceMappingURL=test-XYEMYZ2P.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-N4XRRCQG.js");
143
+ const { inspectTerminalHost } = await import("./diagnostics-TPK3VC5F.js");
144
144
  receipt = inspectTerminalHost();
145
145
  } else if (invocation.action === "start-worker") {
146
- const { startWorkspaceWorker } = await import("./worker-WTBC6VYO.js");
146
+ const { startWorkspaceWorker } = await import("./worker-Q4I4EIAJ.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-KDLLG6ED.js");
159
+ const { launchStartup, planStartup } = await import("./entry-HFQHKL5L.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-D7E3MD3X.js.map
179
+ //# sourceMappingURL=tui-FXSWN2PV.js.map
@@ -5,17 +5,17 @@ import {
5
5
  } from "./chunk-C3G75JH7.js";
6
6
  import {
7
7
  invoke
8
- } from "./chunk-P25V6NEX.js";
8
+ } from "./chunk-D4FIBB2G.js";
9
9
  import "./chunk-DZ2MRTYT.js";
10
- import "./chunk-DZTSCJOZ.js";
11
- import "./chunk-SDQYZDHS.js";
10
+ import "./chunk-X3RUXLAV.js";
11
+ import "./chunk-MZ52S4YJ.js";
12
12
  import {
13
13
  locateExecutable
14
14
  } from "./chunk-R2GPCZUX.js";
15
- import "./chunk-LO54UUDE.js";
15
+ import "./chunk-LNKAR3IS.js";
16
16
  import "./chunk-34DECPVC.js";
17
- import "./chunk-KYGGQPAH.js";
18
- import "./chunk-FOLA4EUJ.js";
17
+ import "./chunk-264DIB5U.js";
18
+ import "./chunk-QY2P54Z2.js";
19
19
  import "./chunk-N7ANFMA5.js";
20
20
  import "./chunk-TYY5TYHF.js";
21
21
  import "./chunk-T6C3TSTO.js";
@@ -23,7 +23,7 @@ import "./chunk-FQLCD4HU.js";
23
23
  import "./chunk-GUHOEIHP.js";
24
24
  import "./chunk-IJBSOWHK.js";
25
25
  import "./chunk-XWLMZKH2.js";
26
- import "./chunk-7IRXUPM2.js";
26
+ import "./chunk-65H4PN33.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-WTBC6VYO.js.map
86
+ //# sourceMappingURL=worker-Q4I4EIAJ.js.map
@@ -5,7 +5,7 @@ import {
5
5
  git,
6
6
  gitOk,
7
7
  runCommand
8
- } from "./chunk-B3OZ4GGO.js";
8
+ } from "./chunk-23PE3HZB.js";
9
9
  import {
10
10
  ArgumentError,
11
11
  one
@@ -86,4 +86,4 @@ var worktreeCreate = (setup, context, report) => {
86
86
  export {
87
87
  worktreeCreate
88
88
  };
89
- //# sourceMappingURL=worktree-create-FTSLMZWS.js.map
89
+ //# sourceMappingURL=worktree-create-ZQRN5JBD.js.map
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-YIXDHQYE.js";
4
4
  import {
5
5
  distance
6
- } from "./chunk-42SO7KYX.js";
6
+ } from "./chunk-2GD7PQ7J.js";
7
7
  import {
8
8
  listWorktrees
9
- } from "./chunk-SUDG7B6S.js";
10
- import "./chunk-B3OZ4GGO.js";
9
+ } from "./chunk-SDFJJJB5.js";
10
+ import "./chunk-23PE3HZB.js";
11
11
 
12
12
  // src/git/worktrees/list.ts
13
13
  import { join, relative, sep } from "path";
@@ -48,4 +48,4 @@ var worktreeList = (setup, context) => {
48
48
  export {
49
49
  worktreeList
50
50
  };
51
- //# sourceMappingURL=worktree-list-WH6OX6U7.js.map
51
+ //# sourceMappingURL=worktree-list-2HV6ODBS.js.map
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  installSpec,
6
6
  syncWorktree
7
- } from "./chunk-UYBWUOLR.js";
8
- import "./chunk-42SO7KYX.js";
9
- import "./chunk-M6X6HVQK.js";
10
- import "./chunk-B3OZ4GGO.js";
7
+ } from "./chunk-VYQJPT27.js";
8
+ import "./chunk-2GD7PQ7J.js";
9
+ import "./chunk-VQBXWMLT.js";
10
+ import "./chunk-23PE3HZB.js";
11
11
 
12
12
  // src/git/cli/worktree-sync.ts
13
13
  var worktreeSync = (setup, _context, report) => {
@@ -26,4 +26,4 @@ var worktreeSync = (setup, _context, report) => {
26
26
  export {
27
27
  worktreeSync
28
28
  };
29
- //# sourceMappingURL=worktree-sync-DGNHSQ64.js.map
29
+ //# sourceMappingURL=worktree-sync-MUVKK2CV.js.map
package/docs/commands.md CHANGED
@@ -216,7 +216,7 @@ The git workflow configured by [`[git]`](git-workflow.md). Each subcommand needs
216
216
  - `worktree sync` moves the current worktree onto the mainline when that loses nothing; exit 1 when it is held back.
217
217
  - `deliver` fetches, replays the named commits (default: the ones the upstream lacks) onto the mainline, runs the gate in its own tree under a lock, and pushes; it replays again if the mainline moved. A delivery that touches a leased path holds that lease until it has pushed and installed, and it refuses during a pause unless `--during-pause` or `during_pause = "allow"`. `--no-push` replays and runs the gate command, then stops: it takes no lease and pushes, syncs and notifies nothing, and it refuses `gate = "pre-push"`, where the push is the gate. Deliver never takes the [host lease](project-configuration.md#host-lease): replay, gate tree, hooks and push run without it, and the gate wraps only its test stages in `pmcp heavy --profile gate`. Exit 0 delivered, gated with `--no-push`, or nothing to deliver; 1 refused, fetch failed, gate failed or attempts exhausted; 2 `--no-push` with the pre-push gate; 75 the gate command exited 75 because a test stage never got the host lease ("gate not run: host busy"), so nothing was pushed.
218
218
  - `sync` moves the main checkout to the mainline, installs when a listed file changed, and follows clean submodule pins. Exit 0 moved or already equal, 1 when local work would be lost or the fetch failed, 2 when blocked (undelivered edits, another branch, a git operation in progress). Run in a desk (a linked worktree matching `[git.worktrees] desks`), it brings the desk up to date the same way without rebasing: exit 0 moved or current, 1 held (an unlanded commit, uncommitted tracked edits, a pause, another session's lease, a git operation in progress), with the reason. In any other linked worktree it exits 2.
219
- - `affected --base <ref>` prints the workspace members the delta from `<ref>` to `--head` (default `HEAD`) touches, with their consumers when [`[git.affected]`](git-workflow.md#affected-members) `consumers` is on (`--tests-only` leaves them out), or `ALL`; unmapped files are named on stderr. It needs only `[git.affected]`, not an enabled workflow. Exit 0 with an answer, `ALL` included when the base does not resolve, equals the head or a manifest does not parse; 2 for a missing `--base` or an invalid table. `--json` prints the [envelope](#json-output) `pmcp.git.affected.v1`, whose `data` has `all`, `reason`, `base`, `head`, `changed`, `members`, `unmapped` and `selected` (the printed list, or `"ALL"`).
219
+ - `affected --base <ref>` prints the workspace members the delta from `<ref>` to `--head` (default `HEAD`) touches, with their consumers when [`[git.affected]`](git-workflow.md#affected-members) `consumers` is on (`--tests-only` leaves them out), or `ALL`; unmapped files are named on stderr. It reads git objects at `--head` (each submodule at its pin), never the working tree. It needs only `[git.affected]`, not an enabled workflow. Exit 0 with an answer, `ALL` included when the base does not resolve, equals the head or a manifest does not parse; 2 for a missing `--base` or an invalid table. `--json` prints the [envelope](#json-output) `pmcp.git.affected.v1`, whose `data` has `all`, `reason`, `base`, `head`, `changed`, `members`, `unmapped` and `selected` (the printed list, or `"ALL"`).
220
220
 
221
221
  ## heavy
222
222
 
@@ -238,7 +238,7 @@ pmcp heavy priority <id> gate --reason "blocks a land"
238
238
  pmcp heavy priority <id> +2 --reason "the session waits on it"
239
239
  ```
240
240
 
241
- Run a heavy command within the host-wide budget of [`[host.lease]`](project-configuration.md#host-lease), across every session and worktree on the host. A job starts once its lane has a free slot, its weight fits what the running jobs leave of the budget, and the host is under `max_load` and `max_io` (or, past `load_grace` and with nothing leased running, under `hard_factor` times them). Waiting jobs start by lane (gate, hook, interactive, bulk), oldest first within a lane, with a line on standard error every `heartbeat`; `--lane` and `--weight` override the profile and `[host.lease] commands`. The command runs with the lease marker set, so a nested `pmcp heavy` runs at once. Everything after `--` is the command, options included. `status` prints the lock, the host readings, when the host was last settled, the holder record, each waiter with its lane, weight, position and a rough wait estimate from the log's run times, the lanes' use and the running weight against the budget, each running job against `hold_warn` and `hold_max`, the IO average the check reads, how many jobs started on `load_grace` in the last day, and the busiest processes outside the lease. With the lease disabled, or with `PMCP_HEAVY_DISABLE=<reason>` set, the command runs at once. `--now --reason <text>` (or `PMCP_HEAVY_NOW=<reason>`) is the emergency bypass: it runs at once, logged and shown in status, and still counts its weight. Where the io controller reaches the user's scopes, each job runs in its own scope with its lane's `io.weight`. `submit` queues the command and returns a ticket at once, so the caller keeps working: a detached runner (its own session, so it outlives the caller) waits and runs it under the same rules, its output in the ticket's log and its exit code and usage record in the ticket's result. `result <ticket>` reads the state (queued with its position, running, done, or lost when the runner died), `--json` as data; `wait <ticket>` blocks until it is done, prints the log's tail and exits with the job's code (75 at `--timeout`); `cancel <ticket>` stops a queued job and, with `--force`, a running one. Tickets live under `<dir>/tickets/` and finished ones are removed after a week. Every waiting or running job has an id (a ticket's, or one made for a blocking run), shown by `status` and `queue`: `queue` lists the waiters with id, lane, position, waited and estimated time, weight, pid, session and label; `promote <id> --now --reason` starts a waiter at once as a bypass; `priority <id> <lane|+N|-N> --reason` moves it to another lane's end or N places within its lane; `cancel <id>` takes a waiter out of the queue (its run exits 130) and, with `--force`, stops a running job. The waiting process reads the change on its next poll; each change is made under the admission lock and logged as a `control` line with the uid, the session and the reason, and a waiter whose process died is removed instead of changed. `stats` lists each command signature's recorded runs with the median and 90th percentile of wall time, CPU time, peak RSS and IO, `--json` as data. Exit: the command's own code; 75 when nothing ran within `max_wait`, with the reason (the queue, the session's cap, a shell wrapper's hold, a host past `hard_factor`); 2 for a missing `--`, an unknown profile or lane, a bad weight, or `--now` without a reason.
241
+ Run a heavy command within the host-wide budget of [`[host.lease]`](project-configuration.md#host-lease), across every session and worktree on the host. A job starts once its lane has a free slot, its weight fits what the running jobs leave of the budget, and the host is under `max_load` and `max_io` (or, past `load_grace` and with nothing leased running, under `hard_factor` times them). Waiting jobs start by lane (gate, hook, interactive, bulk), oldest first within a lane, with a line on standard error every `heartbeat`; `--lane` and `--weight` override the profile and `[host.lease] commands`. The command runs with the lease marker set, so a nested `pmcp heavy` runs at once. Everything after `--` is the command, options included. `status` prints the lock, the host readings, when the host was last settled, the holder record, each waiter with its lane, weight, position and a rough wait estimate from the log's run times, the lanes' use and the running weight against the budget, each running job against `hold_warn` and `hold_max`, the IO average the check reads, how many jobs started on `load_grace` in the last day, and the busiest processes outside the lease. With the lease disabled (`enabled = false`), the command runs at once. With `PMCP_HEAVY_DISABLE=<reason>` set, an ordinary command runs at once and its usage record keeps the reason, but a bulk job (`--lane bulk`, or a `commands` entry with `lane = "bulk"`) still queues in the bulk lane, with a line saying the skip was not honoured, unless `[host.lease] skip_always` lists the reason. `--now --reason <text>` (or `PMCP_HEAVY_NOW=<reason>`) is the emergency bypass: it runs at once, logged and shown in status, and still counts its weight. Where the io controller reaches the user's scopes, each job runs in its own scope with its lane's `io.weight`. `submit` queues the command and returns a ticket at once, so the caller keeps working: a detached runner (its own session, so it outlives the caller) waits and runs it under the same rules, its output in the ticket's log and its exit code and usage record in the ticket's result. `result <ticket>` reads the state (queued with its position, running, done, or lost when the runner died), `--json` as data; `wait <ticket>` blocks until it is done, prints the log's tail and exits with the job's code (75 at `--timeout`); `cancel <ticket>` stops a queued job and, with `--force`, a running one. Tickets live under `<dir>/tickets/` and finished ones are removed after a week. Every waiting or running job has an id (a ticket's, or one made for a blocking run), shown by `status` and `queue`: `queue` lists the waiters with id, lane, position, waited and estimated time, weight, pid, session and label; `promote <id> --now --reason` starts a waiter at once as a bypass; `priority <id> <lane|+N|-N> --reason` moves it to another lane's end or N places within its lane; `cancel <id>` takes a waiter out of the queue (its run exits 130) and, with `--force`, stops a running job. The waiting process reads the change on its next poll; each change is made under the admission lock and logged as a `control` line with the uid, the session and the reason, and a waiter whose process died is removed instead of changed. `stats` lists each command signature's recorded runs with the median and 90th percentile of wall time, CPU time, peak RSS and IO and how many skipped the lease, after one line with the share of all runs that skipped it, `--json` as data. Exit: the command's own code; 75 when nothing ran within `max_wait`, with the reason (the queue, the session's cap, a shell wrapper's hold, a host past `hard_factor`); 2 for a missing `--`, an unknown profile or lane, a bad weight, or `--now` without a reason.
242
242
 
243
243
  ## wait
244
244
 
@@ -213,7 +213,13 @@ changed file no member reads on stderr as `unmapped, not tested: <path>`. It alw
213
213
  with an answer and answers `ALL` (fail closed) when the base or head does not resolve, the
214
214
  base equals the head, the root manifest or lockfile does not parse, or `[git.affected]` is
215
215
  absent. Paths in the table are relative to the checkout root, so `--config` may name a file
216
- outside the checkout. Membership is read from the checkout, which must be at the head.
216
+ outside the checkout. Every input (membership, member manifests, tsconfig and vitest configs,
217
+ sources and the lockfile) is read from git objects at the head, and a submodule at the commit the
218
+ head pins, never from the working tree, so the checkout may move while it runs. A submodule with
219
+ no object store on the host reads as empty, as an uninitialized one would; one whose store lacks
220
+ the pinned commit answers `ALL`. What the consumer graph needs from each source file is cached
221
+ by blob id in `$XDG_CACHE_HOME/pmcp/affected-sources.json`, so a later run reads only the
222
+ sources that changed.
217
223
 
218
224
  `[git.affected]` describes the workspace; every key is optional:
219
225
 
@@ -305,6 +305,7 @@ load_grace = 600
305
305
  | `marker_env` | name | `PMCP_HEAVY_LEASE` | Set to the job's pid for the leased command; a nested `pmcp heavy` whose marker names a running job runs at once. |
306
306
  | `legacy_marker_env` | name | none | A second marker, set and honoured like `marker_env`, for a shell wrapper that shares `dir`. |
307
307
  | `legacy_skip_env` | name | none | A second skip variable, honoured like `PMCP_HEAVY_DISABLE`, and set for the leased command so a nested shell wrapper runs at once. |
308
+ | `skip_always` | list of reasons | `[]` | Skip reasons honoured even for a bulk job, for callers that must never wait on the lease (a commit hook). A skip with any other reason does not cover a bulk job. |
308
309
  | `max_load` | number | the CPU count | A job starts only while the 1-minute load average is below this. |
309
310
  | `max_io` | number | `8` | And while IO pressure (`some`, the `io_window` average) is below this. A host without pressure files checks load only; one without a load average checks neither. |
310
311
  | `io_window` | string | `avg60` | Which pressure average the check reads: `avg10` follows spikes, `avg60` and `avg300` smooth them so the queue does not stall on a burst. |
@@ -351,11 +352,28 @@ from the job's cgroup when it runs in a scope, else from `/proc` sampled once a
351
352
  second. `pmcp heavy stats` summarises them per signature. The weights are still
352
353
  the configured ones.
353
354
 
354
- `PMCP_HEAVY_DISABLE=<reason>` is the one way to run without the lease for a
355
- single command or a whole shell (a test suite, an emergency): `pmcp heavy`
356
- runs at once and logs the reason, and the guard lets a command that sets it
357
- pass. `enabled = false` is the switch for a host or project that does not
358
- want the lease at all.
355
+ `PMCP_HEAVY_DISABLE=<reason>` (or the `legacy_skip_env` variable) skips the
356
+ lease for an ordinary command: `pmcp heavy` runs it at once, logs the reason,
357
+ and keeps it as `skip` in the command's usage record, and the guard lets a
358
+ command that sets it pass. The skip is bounded: a bulk job (an install, a
359
+ whole test suite, a full build), put in the `bulk` lane by `--lane bulk` or by
360
+ a `commands` entry, still queues in that lane, with a line on standard error
361
+ saying the skip was not honoured and `skip_refused` in its usage record. The
362
+ `skip` or `skip-refused` line in `heavy.log` (`env=`) and the record's
363
+ `skip_env` name the variable that carried the skip;
364
+ `--now --reason <text>` is the emergency path for it. A bulk job nested in a
365
+ leased job runs at once on the lease marker, as any nested job does.
366
+ `pmcp heavy stats` shows how many runs skipped the lease, so a bypass that
367
+ became the norm shows. `enabled = false` is the switch for a host or project
368
+ that does not want the lease at all.
369
+
370
+ A reason listed in `skip_always` is honoured for bulk jobs too, for a caller
371
+ that must never wait on the lease, such as a commit hook:
372
+
373
+ ```toml
374
+ [host.lease]
375
+ skip_always = ["git-hook"] # PMCP_HEAVY_DISABLE=git-hook runs even a bulk job at once
376
+ ```
359
377
 
360
378
  The files extend those of a shell wrapper that takes the same lock with
361
379
  `flock`: records hold `key=value` lines (`pid`, `since`, `started`, `cwd`,
package/docs/upgrading.md CHANGED
@@ -5,6 +5,30 @@
5
5
  What to do when a release changes something you rely on. Each release's notes on GitHub
6
6
  Releases list its breaking changes and link here.
7
7
 
8
+ ## From 0.23 to 0.24
9
+
10
+ **A lease skip no longer covers a bulk job.** `PMCP_HEAVY_DISABLE=<reason>` (or the
11
+ `legacy_skip_env` variable) still runs an ordinary command at once, but a job in the bulk
12
+ lane, sent with `--lane bulk` or put there by a `[host.lease] commands` entry, now queues
13
+ for the lease with a line saying the skip was not honoured. A wrapper that skipped the lease
14
+ for installs or whole test suites will see them wait. For a caller that must never wait (a
15
+ commit hook), list its reason in `[host.lease] skip_always`:
16
+
17
+ ```toml
18
+ [host.lease]
19
+ skip_always = ["git-hook"]
20
+ ```
21
+
22
+ A bulk job nested in a leased job still runs at once on the lease marker. `--now --reason`
23
+ remains the emergency path, and `enabled = false` still turns the lease off. A skipped run's
24
+ usage record now carries `skip`, and `pmcp heavy stats` shows the share of runs that skipped
25
+ the lease.
26
+
27
+ **For contributors: tests run in their own temp and state roots.** `npm test` gives the run
28
+ its own `TMPDIR` and XDG directories and fails when a test leaves a `pmcp-*` directory in the
29
+ real temp directory or a project in the real pmcp state directory; see
30
+ [CONTRIBUTING.md](https://github.com/modootoday/pmcp/blob/main/CONTRIBUTING.md).
31
+
8
32
  ## From 0.22 to 0.23
9
33
 
10
34
  0.23.0 makes the command line behave like other command-line tools; several changes break
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.23.1",
3
+ "version": "0.24.1",
4
4
  "mcpServers": {
5
5
  "pmcp": {
6
6
  "type": "stdio",
7
7
  "command": "npx",
8
- "args": ["-y", "@modootoday/pmcp@0.23.1", "serve"]
8
+ "args": ["-y", "@modootoday/pmcp@0.24.1", "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.23.1", "serve"]
7
+ "args": ["-y", "@modootoday/pmcp@0.24.1", "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.23.1",
3
+ "version": "0.24.1",
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.23.1",
140
- "@modootoday/pmcp-linux-arm64": "0.23.1",
141
- "@modootoday/pmcp-darwin-x64": "0.23.1",
142
- "@modootoday/pmcp-darwin-arm64": "0.23.1"
139
+ "@modootoday/pmcp-linux-x64": "0.24.1",
140
+ "@modootoday/pmcp-linux-arm64": "0.24.1",
141
+ "@modootoday/pmcp-darwin-x64": "0.24.1",
142
+ "@modootoday/pmcp-darwin-arm64": "0.24.1"
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.23.1",
4
+ "version": "0.24.1",
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.23.1",
3
+ "version": "0.24.1",
4
4
  "description": "Find package skills and use native runtime project configuration.",
5
5
  "author": { "name": "modootoday" },
6
6
  "license": "Elastic-2.0",