@modootoday/pmcp 0.19.7 → 0.19.9

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 (127) 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/{apply-2N53IUWM.js → apply-TM6B2Y3G.js} +17 -17
  6. package/dist/{available-GFMTJW4E.js → available-HYSDAFYH.js} +4 -4
  7. package/dist/{broadcast-56NPEJWM.js → broadcast-DSCHWUMB.js} +5 -5
  8. package/dist/{chunk-AAMJ5A2R.js → chunk-2S44RDO4.js} +2 -2
  9. package/dist/{chunk-M6OLH75N.js → chunk-3UOFHLY4.js} +5 -5
  10. package/dist/{chunk-UGODVKBJ.js → chunk-4XNAKVSO.js} +2 -2
  11. package/dist/{chunk-L6XBFXDT.js → chunk-4XWVLC23.js} +3 -3
  12. package/dist/{chunk-AW3OY32A.js → chunk-57FHYW74.js} +17 -5
  13. package/dist/{chunk-MARV7HLS.js → chunk-A6TM4NTI.js} +3 -3
  14. package/dist/{chunk-RVE3EMGF.js → chunk-BRSESCGX.js} +344 -80
  15. package/dist/{chunk-YGA2HFGB.js → chunk-BZ2RXI5I.js} +2 -2
  16. package/dist/{chunk-J5ZS7GLA.js → chunk-C3G75JH7.js} +2 -2
  17. package/dist/{chunk-HEWZ6INU.js → chunk-CJ6OFTS3.js} +22 -5
  18. package/dist/{chunk-P2B7CDRM.js → chunk-EONAJAMJ.js} +3 -3
  19. package/dist/{chunk-N2GVNL4G.js → chunk-FR6JHNLC.js} +3 -3
  20. package/dist/{chunk-QPL7E2HW.js → chunk-GJXOFDJT.js} +9 -2
  21. package/dist/{chunk-3PW4FI7U.js → chunk-I4DLMIN5.js} +2 -2
  22. package/dist/{chunk-JZK7ZO7K.js → chunk-I4U2A6HP.js} +2 -2
  23. package/dist/{chunk-WS4SDGEE.js → chunk-IACJDHFQ.js} +6 -6
  24. package/dist/{chunk-NWOV2E26.js → chunk-JZKAJUVT.js} +2 -2
  25. package/dist/{chunk-E4FJOLPJ.js → chunk-MCYGYZVZ.js} +3 -3
  26. package/dist/{chunk-RUFB4N2P.js → chunk-PBDPWE5J.js} +3 -3
  27. package/dist/{chunk-HEBCQTOD.js → chunk-PEMMV5YQ.js} +2 -2
  28. package/dist/{chunk-6FZXF3G6.js → chunk-PG42KALG.js} +5 -5
  29. package/dist/{chunk-7B6IC3F7.js → chunk-PUIWESU3.js} +3 -3
  30. package/dist/{chunk-JBW4JPIF.js → chunk-QTKD7JEL.js} +21 -21
  31. package/dist/{chunk-F3PZXF55.js → chunk-QYQGPDBE.js} +2 -2
  32. package/dist/{chunk-7DLZC73N.js → chunk-RPCIROW7.js} +2 -2
  33. package/dist/{chunk-C4NHQGHL.js → chunk-RRKGSYQ4.js} +1 -1
  34. package/dist/{chunk-HSIQKOI5.js → chunk-SPUCY4AG.js} +2 -2
  35. package/dist/{chunk-DHAPQUEF.js → chunk-V7HG3STC.js} +2 -2
  36. package/dist/{chunk-OOPTHZVQ.js → chunk-VDBUZKXC.js} +2 -2
  37. package/dist/{chunk-XP2U3LO3.js → chunk-W5RLIUNC.js} +2 -2
  38. package/dist/{chunk-3MAHF3RQ.js → chunk-XNPOHPMJ.js} +3 -3
  39. package/dist/{chunk-XLXDXJY2.js → chunk-XPWIJOZT.js} +5 -5
  40. package/dist/chunk-YGTJQVCK.js +7 -0
  41. package/dist/{chunk-LYMHFHDJ.js → chunk-YKU7KHJO.js} +3 -3
  42. package/dist/{chunk-6GOAMHFJ.js → chunk-YLPXTJJM.js} +2 -2
  43. package/dist/{chunk-7B2KRL2H.js → chunk-YXAPCHXJ.js} +52 -5
  44. package/dist/{chunk-L6YMDRKU.js → chunk-YYG3GUQW.js} +9 -9
  45. package/dist/{claude-U2JC2DNQ.js → claude-2C5L2HQL.js} +3 -3
  46. package/dist/{cli-BTPTJWCC.js → cli-BVRPAI23.js} +8 -8
  47. package/dist/{cli-UFCFDIVI.js → cli-YV6SFE4D.js} +5 -5
  48. package/dist/cli.js +3 -3
  49. package/dist/{completion-6PLM6T4X.js → completion-B3UT3GVI.js} +2 -2
  50. package/dist/{config-DnpLL2kT.d.ts → config-DzHB75Jz.d.ts} +2 -0
  51. package/dist/{diagnostics-E3ZFK2DG.js → diagnostics-ONIAKCA3.js} +7 -7
  52. package/dist/{doctor-AVJ6V5OZ.js → doctor-MJFU5L6R.js} +20 -20
  53. package/dist/{entry-J7YM5OF3.js → entry-DZGKCL4G.js} +12 -12
  54. package/dist/{exec-mcp-IEQRT3UO.js → exec-mcp-QK2VC6RX.js} +13 -13
  55. package/dist/{harness-OM5AYSLY.js → harness-GTED4GLK.js} +3 -3
  56. package/dist/harness-launch-gate.js +5 -5
  57. package/dist/harness-worker.js +7 -7
  58. package/dist/hook-body.js +319 -61
  59. package/dist/{hooks-PPUVHNN6.js → hooks-FRZ4SUNJ.js} +3 -3
  60. package/dist/{host-53O2BR6F.js → host-3HTCZNVJ.js} +16 -16
  61. package/dist/{host-EJF3JFMD.js → host-AGNF2AQH.js} +8 -8
  62. package/dist/{host-run-YPSYP6TC.js → host-run-2OQZVQID.js} +21 -13
  63. package/dist/http.js +1 -1
  64. package/dist/{import-mcp-7I7USMVM.js → import-mcp-7KEPR2B6.js} +11 -11
  65. package/dist/index.d.ts +5 -3
  66. package/dist/index.js +19 -19
  67. package/dist/{init-4AXJXIZQ.js → init-BHGCF7JL.js} +2 -2
  68. package/dist/{install-MQ7QSJQ7.js → install-HF6CROQP.js} +19 -9
  69. package/dist/{invoke-TWWYDHG7.js → invoke-CVHF6PEK.js} +9 -9
  70. package/dist/{list-TBCWXSK2.js → list-6XGQ3FR3.js} +13 -13
  71. package/dist/{list-FB6RNYYB.js → list-WK2IYUK7.js} +4 -4
  72. package/dist/{logout-QXOOQ2NB.js → logout-6RJLG2KG.js} +12 -12
  73. package/dist/{logs-H3RPKNTE.js → logs-VTW7S2LR.js} +6 -6
  74. package/dist/mailbox/index.d.ts +1 -1
  75. package/dist/mailbox/index.js +3 -3
  76. package/dist/{mailbox-UECKDZ3Q.js → mailbox-CNAONXN7.js} +8 -8
  77. package/dist/{mailbox-5DWLH4W2.js → mailbox-YN6PG66A.js} +4 -4
  78. package/dist/{mainline-FPK4HWFF.js → mainline-JSG4MUKH.js} +11 -12
  79. package/dist/{mcp-XHFC7DUL.js → mcp-P55VLQLR.js} +2 -2
  80. package/dist/{pause-2HQ7CKMR.js → pause-V5VCNOSH.js} +5 -5
  81. package/dist/{project-IDRHI3AJ.js → project-B57IQPDK.js} +4 -4
  82. package/dist/{pty-XTJ4MIWK.js → pty-FD4JGBZL.js} +3 -3
  83. package/dist/{recovery-54KHNJX4.js → recovery-HB2YFQSQ.js} +3 -3
  84. package/dist/{reindex-ZULHSQWY.js → reindex-I7RYWCUR.js} +5 -5
  85. package/dist/{resume-ETFTR5V3.js → resume-7S4K3R4X.js} +5 -5
  86. package/dist/{run-X7CPBDYV.js → run-LFJXONLW.js} +4 -4
  87. package/dist/{run-BYQVIDBZ.js → run-MC2BPLOE.js} +14 -14
  88. package/dist/{serve-ZWZEEMAO.js → serve-TFAEVXX3.js} +9 -9
  89. package/dist/{setup-63E3TVJK.js → setup-FHFQZJY6.js} +5 -6
  90. package/dist/{start-login-YACBMXW2.js → start-login-KXOHCR5A.js} +12 -12
  91. package/dist/{status-GFD3YOYT.js → status-AW7DOW7A.js} +12 -12
  92. package/dist/{status-CM753VKY.js → status-OYRB3KL5.js} +8 -8
  93. package/dist/{status-QHOZDGYN.js → status-YXOIEVOJ.js} +23 -23
  94. package/dist/stdio.js +5 -5
  95. package/dist/{sweep-VY2TNOO5.js → sweep-ZSYG6FNR.js} +5 -5
  96. package/dist/{test-NAVM6ZFB.js → test-2HTOY4PJ.js} +13 -13
  97. package/dist/{tui-W7QMB743.js → tui-DQFXYQ4H.js} +6 -6
  98. package/dist/{unbroadcast-RKTBP57G.js → unbroadcast-FONZJWEW.js} +5 -5
  99. package/dist/{validate-AVM2VHMM.js → validate-WOFI7TMT.js} +5 -5
  100. package/dist/{worker-4ADJPJ2A.js → worker-UXPGXAV2.js} +10 -10
  101. package/dist/{worktree-list-NEIDD66X.js → worktree-list-4PLE7K6L.js} +4 -4
  102. package/docs/git-workflow.md +26 -7
  103. package/docs/hooks.md +22 -12
  104. package/docs/project-configuration.md +19 -12
  105. package/gemini-extension.json +2 -2
  106. package/mcp.json +1 -1
  107. package/package.json +6 -6
  108. package/plugin.json +1 -1
  109. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  110. package/plugins/pmcp/.mcp.json +1 -1
  111. package/plugins/pmcp/gemini-extension.json +2 -2
  112. package/plugins/pmcp/mcp.json +1 -1
  113. package/plugins/pmcp/mod/draw.tsx +9 -2
  114. package/plugins/pmcp/mod/guard.ts +3 -3
  115. package/plugins/pmcp/mod/model.ts +15 -4
  116. package/plugins/pmcp/mod/reader/read.ts +19 -4
  117. package/plugins/pmcp/mod/reader/settings.ts +7 -0
  118. package/plugins/pmcp/mod/reader/types.ts +2 -0
  119. package/plugins/pmcp/mod/sessions/format.ts +9 -1
  120. package/plugins/pmcp/plugin.json +1 -1
  121. package/schema/catalog-v1.json +3 -8
  122. package/schema/library.json +3 -8
  123. package/schema/marketplace-manifest.json +2 -6
  124. package/schema/skill-frontmatter.json +3 -8
  125. package/schema/skill-metadata-core.json +3 -8
  126. package/dist/chunk-DXJZ2ZCX.js +0 -56
  127. package/dist/chunk-ZVXYPC3Q.js +0 -7
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  storeFrom
3
- } from "./chunk-E4FJOLPJ.js";
3
+ } from "./chunk-MCYGYZVZ.js";
4
4
  import {
5
5
  statusLines
6
6
  } from "./chunk-MVFH26QT.js";
@@ -9,20 +9,20 @@ import {
9
9
  } from "./chunk-JGJ4INEN.js";
10
10
  import {
11
11
  wakeableBy
12
- } from "./chunk-XLXDXJY2.js";
12
+ } from "./chunk-XPWIJOZT.js";
13
+ import "./chunk-W5RLIUNC.js";
13
14
  import "./chunk-TIA4SPU2.js";
14
15
  import {
15
16
  currentHooks,
16
17
  restartNotes
17
18
  } from "./chunk-VJFEN6DJ.js";
18
- import "./chunk-XP2U3LO3.js";
19
- import "./chunk-3PW4FI7U.js";
20
- import "./chunk-DHAPQUEF.js";
21
- import "./chunk-C4NHQGHL.js";
19
+ import "./chunk-I4DLMIN5.js";
20
+ import "./chunk-V7HG3STC.js";
21
+ import "./chunk-RRKGSYQ4.js";
22
22
  import "./chunk-A4PKLESO.js";
23
23
  import "./chunk-OEH47H6A.js";
24
24
  import "./chunk-IJBSOWHK.js";
25
- import "./chunk-QPL7E2HW.js";
25
+ import "./chunk-GJXOFDJT.js";
26
26
  import "./chunk-PMJG2CXF.js";
27
27
 
28
28
  // src/sessions/cli/status.ts
@@ -51,4 +51,4 @@ function status(context) {
51
51
  export {
52
52
  status
53
53
  };
54
- //# sourceMappingURL=status-CM753VKY.js.map
54
+ //# sourceMappingURL=status-OYRB3KL5.js.map
@@ -1,33 +1,26 @@
1
1
  import {
2
2
  logLocation,
3
3
  readLogs
4
- } from "./chunk-UGODVKBJ.js";
4
+ } from "./chunk-4XNAKVSO.js";
5
5
  import {
6
6
  sessionSnapshot
7
7
  } from "./chunk-JGJ4INEN.js";
8
8
  import {
9
9
  policyRows
10
- } from "./chunk-AAMJ5A2R.js";
10
+ } from "./chunk-2S44RDO4.js";
11
11
  import "./chunk-7TD53M7L.js";
12
12
  import {
13
13
  configFrom
14
- } from "./chunk-7DLZC73N.js";
14
+ } from "./chunk-RPCIROW7.js";
15
15
  import {
16
16
  checkProject
17
- } from "./chunk-WS4SDGEE.js";
18
- import "./chunk-6GOAMHFJ.js";
17
+ } from "./chunk-IACJDHFQ.js";
18
+ import "./chunk-YLPXTJJM.js";
19
19
  import "./chunk-73AKO4UL.js";
20
20
  import {
21
21
  readSpec
22
- } from "./chunk-RVE3EMGF.js";
22
+ } from "./chunk-BRSESCGX.js";
23
23
  import "./chunk-HQOB7OQS.js";
24
- import {
25
- readGitConfig
26
- } from "./chunk-7B2KRL2H.js";
27
- import {
28
- defaultMainline,
29
- defaultRemote
30
- } from "./chunk-2Q6MNGU5.js";
31
24
  import "./chunk-ICF2JZSN.js";
32
25
  import "./chunk-UD3BEEBQ.js";
33
26
  import {
@@ -35,13 +28,20 @@ import {
35
28
  } from "./chunk-ISNRDHSD.js";
36
29
  import "./chunk-EATCUWGG.js";
37
30
  import "./chunk-NRBQK6UX.js";
38
- import "./chunk-3PW4FI7U.js";
31
+ import "./chunk-I4DLMIN5.js";
32
+ import "./chunk-P6LNYYYH.js";
33
+ import {
34
+ readGitConfig
35
+ } from "./chunk-YXAPCHXJ.js";
36
+ import {
37
+ defaultMainline,
38
+ defaultRemote
39
+ } from "./chunk-2Q6MNGU5.js";
39
40
  import {
40
41
  openStore,
41
42
  readStoreSettings
42
- } from "./chunk-DHAPQUEF.js";
43
- import "./chunk-C4NHQGHL.js";
44
- import "./chunk-P6LNYYYH.js";
43
+ } from "./chunk-V7HG3STC.js";
44
+ import "./chunk-RRKGSYQ4.js";
45
45
  import "./chunk-G7JONWL4.js";
46
46
  import "./chunk-Q5H3L6Y4.js";
47
47
  import {
@@ -52,15 +52,15 @@ import {
52
52
  ArgumentError
53
53
  } from "./chunk-A4PKLESO.js";
54
54
  import "./chunk-V4NPDK6X.js";
55
- import "./chunk-P2B7CDRM.js";
56
- import "./chunk-AW3OY32A.js";
55
+ import "./chunk-EONAJAMJ.js";
56
+ import "./chunk-57FHYW74.js";
57
57
  import "./chunk-OEH47H6A.js";
58
58
  import {
59
59
  checkoutOf,
60
60
  worktreesOf
61
61
  } from "./chunk-IJBSOWHK.js";
62
- import "./chunk-ZVXYPC3Q.js";
63
- import "./chunk-QPL7E2HW.js";
62
+ import "./chunk-YGTJQVCK.js";
63
+ import "./chunk-GJXOFDJT.js";
64
64
  import "./chunk-PMJG2CXF.js";
65
65
  import "./chunk-J6KL3COD.js";
66
66
 
@@ -248,7 +248,7 @@ function renderStatus(context, report) {
248
248
  (row) => (row.behind ?? 0) > 0 || (row.ahead ?? 0) > 0
249
249
  );
250
250
  context.ui.line(
251
- "Desks: " + report.worktrees.length + "; " + drifted.length + " ahead/behind"
251
+ "Linked worktrees: " + report.worktrees.length + "; " + drifted.length + " ahead/behind"
252
252
  );
253
253
  context.ui.line(
254
254
  "MCP auth: " + (report.mcp.map((row) => row.name + "=" + (row.present ? "present" : "absent")).join(", ") || "no pmcp-auth servers")
@@ -278,4 +278,4 @@ var statusCommand = {
278
278
  export {
279
279
  statusCommand
280
280
  };
281
- //# sourceMappingURL=status-QHOZDGYN.js.map
281
+ //# sourceMappingURL=status-YXOIEVOJ.js.map
package/dist/stdio.js CHANGED
@@ -4,17 +4,17 @@ import {
4
4
  resolveRoots,
5
5
  serve,
6
6
  serveWithMailbox
7
- } from "./chunk-L6XBFXDT.js";
8
- import "./chunk-OOPTHZVQ.js";
7
+ } from "./chunk-4XWVLC23.js";
8
+ import "./chunk-VDBUZKXC.js";
9
9
  import "./chunk-6WXMJOMI.js";
10
10
  import "./chunk-4CRRLDDS.js";
11
11
  import "./chunk-YSAWTGNA.js";
12
- import "./chunk-NWOV2E26.js";
13
- import "./chunk-JZK7ZO7K.js";
12
+ import "./chunk-JZKAJUVT.js";
13
+ import "./chunk-I4U2A6HP.js";
14
14
  import "./chunk-Y2XASHVY.js";
15
15
  import "./chunk-QRCAGKC6.js";
16
16
  import "./chunk-6STKGOCW.js";
17
- import "./chunk-QPL7E2HW.js";
17
+ import "./chunk-GJXOFDJT.js";
18
18
  import "./chunk-PMJG2CXF.js";
19
19
  export {
20
20
  main,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  change
3
- } from "./chunk-E4FJOLPJ.js";
4
- import "./chunk-DHAPQUEF.js";
5
- import "./chunk-C4NHQGHL.js";
3
+ } from "./chunk-MCYGYZVZ.js";
4
+ import "./chunk-V7HG3STC.js";
5
+ import "./chunk-RRKGSYQ4.js";
6
6
  import "./chunk-A4PKLESO.js";
7
7
  import "./chunk-OEH47H6A.js";
8
8
  import "./chunk-IJBSOWHK.js";
9
- import "./chunk-QPL7E2HW.js";
9
+ import "./chunk-GJXOFDJT.js";
10
10
  import "./chunk-PMJG2CXF.js";
11
11
 
12
12
  // src/sessions/cli/sweep.ts
@@ -14,4 +14,4 @@ var run = (context) => change(context, "sweep");
14
14
  export {
15
15
  run
16
16
  };
17
- //# sourceMappingURL=sweep-VY2TNOO5.js.map
17
+ //# sourceMappingURL=sweep-ZSYG6FNR.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  specFrom
3
- } from "./chunk-RUFB4N2P.js";
3
+ } from "./chunk-PBDPWE5J.js";
4
4
  import {
5
5
  sourceFor
6
6
  } from "./chunk-7TD53M7L.js";
7
- import "./chunk-7DLZC73N.js";
7
+ import "./chunk-RPCIROW7.js";
8
8
  import {
9
9
  NEUTRAL_EVENTS,
10
10
  POLICIES,
@@ -13,24 +13,25 @@ import {
13
13
  afterFailure,
14
14
  commandsOf,
15
15
  customPolicy
16
- } from "./chunk-RVE3EMGF.js";
16
+ } from "./chunk-BRSESCGX.js";
17
17
  import {
18
18
  DEFAULT_LOG_SETTINGS,
19
19
  LEVEL_RANK
20
20
  } from "./chunk-HQOB7OQS.js";
21
- import "./chunk-7B2KRL2H.js";
22
- import "./chunk-2Q6MNGU5.js";
23
21
  import "./chunk-ICF2JZSN.js";
24
22
  import "./chunk-UD3BEEBQ.js";
25
23
  import "./chunk-ISNRDHSD.js";
26
24
  import "./chunk-EATCUWGG.js";
27
25
  import "./chunk-NRBQK6UX.js";
28
- import "./chunk-3PW4FI7U.js";
26
+ import "./chunk-I4DLMIN5.js";
27
+ import "./chunk-P6LNYYYH.js";
28
+ import "./chunk-YXAPCHXJ.js";
29
+ import "./chunk-2Q6MNGU5.js";
29
30
  import {
30
31
  SESSION_ID,
31
32
  createFilesStore,
32
33
  writeJson
33
- } from "./chunk-DHAPQUEF.js";
34
+ } from "./chunk-V7HG3STC.js";
34
35
  import {
35
36
  STATE_FILES,
36
37
  asBroadcast,
@@ -39,8 +40,7 @@ import {
39
40
  asRecord,
40
41
  fieldsOf,
41
42
  leaseFile
42
- } from "./chunk-C4NHQGHL.js";
43
- import "./chunk-P6LNYYYH.js";
43
+ } from "./chunk-RRKGSYQ4.js";
44
44
  import "./chunk-G7JONWL4.js";
45
45
  import "./chunk-Q5H3L6Y4.js";
46
46
  import {
@@ -48,7 +48,7 @@ import {
48
48
  one
49
49
  } from "./chunk-A4PKLESO.js";
50
50
  import "./chunk-V4NPDK6X.js";
51
- import "./chunk-AW3OY32A.js";
51
+ import "./chunk-57FHYW74.js";
52
52
  import {
53
53
  expandPath
54
54
  } from "./chunk-OEH47H6A.js";
@@ -56,8 +56,8 @@ import {
56
56
  checkoutOf,
57
57
  worktreesOf
58
58
  } from "./chunk-IJBSOWHK.js";
59
- import "./chunk-ZVXYPC3Q.js";
60
- import "./chunk-QPL7E2HW.js";
59
+ import "./chunk-YGTJQVCK.js";
60
+ import "./chunk-GJXOFDJT.js";
61
61
  import "./chunk-PMJG2CXF.js";
62
62
  import "./chunk-J6KL3COD.js";
63
63
 
@@ -599,4 +599,4 @@ async function run(context) {
599
599
  export {
600
600
  run
601
601
  };
602
- //# sourceMappingURL=test-NAVM6ZFB.js.map
602
+ //# sourceMappingURL=test-2HTOY4PJ.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-A4PKLESO.js";
12
12
  import {
13
13
  ConfigError
14
- } from "./chunk-QPL7E2HW.js";
14
+ } from "./chunk-GJXOFDJT.js";
15
15
  import "./chunk-PMJG2CXF.js";
16
16
 
17
17
  // src/commands/tui/invocation.ts
@@ -112,23 +112,23 @@ var tuiCommand = {
112
112
  try {
113
113
  let receipt;
114
114
  if (invocation.action === "doctor") {
115
- const { inspectTerminalHost } = await import("./diagnostics-E3ZFK2DG.js");
115
+ const { inspectTerminalHost } = await import("./diagnostics-ONIAKCA3.js");
116
116
  receipt = inspectTerminalHost();
117
117
  } else if (invocation.action === "start-worker") {
118
- const { startWorkspaceWorker } = await import("./worker-4ADJPJ2A.js");
118
+ const { startWorkspaceWorker } = await import("./worker-UXPGXAV2.js");
119
119
  receipt = await startWorkspaceWorker(
120
120
  { config: invocation.startup?.config, cwd: context.cwd },
121
121
  invocation.startup.runtime,
122
122
  invocation.startup?.memoryMb
123
123
  );
124
124
  } else if (invocation.action === "recovery") {
125
- const { inspectStartupRecovery } = await import("./recovery-54KHNJX4.js");
125
+ const { inspectStartupRecovery } = await import("./recovery-HB2YFQSQ.js");
126
126
  receipt = inspectStartupRecovery({
127
127
  ...invocation.startup,
128
128
  cwd: context.cwd
129
129
  });
130
130
  } else {
131
- const { launchStartup, planStartup } = await import("./entry-J7YM5OF3.js");
131
+ const { launchStartup, planStartup } = await import("./entry-DZGKCL4G.js");
132
132
  const request = { ...invocation.startup, cwd: context.cwd };
133
133
  receipt = invocation.action === "plan" ? planStartup(request) : await launchStartup(
134
134
  request,
@@ -150,4 +150,4 @@ var tuiCommand = {
150
150
  export {
151
151
  tuiCommand
152
152
  };
153
- //# sourceMappingURL=tui-W7QMB743.js.map
153
+ //# sourceMappingURL=tui-DQFXYQ4H.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  change
3
- } from "./chunk-E4FJOLPJ.js";
4
- import "./chunk-DHAPQUEF.js";
5
- import "./chunk-C4NHQGHL.js";
3
+ } from "./chunk-MCYGYZVZ.js";
4
+ import "./chunk-V7HG3STC.js";
5
+ import "./chunk-RRKGSYQ4.js";
6
6
  import "./chunk-A4PKLESO.js";
7
7
  import "./chunk-OEH47H6A.js";
8
8
  import "./chunk-IJBSOWHK.js";
9
- import "./chunk-QPL7E2HW.js";
9
+ import "./chunk-GJXOFDJT.js";
10
10
  import "./chunk-PMJG2CXF.js";
11
11
 
12
12
  // src/sessions/cli/unbroadcast.ts
@@ -14,4 +14,4 @@ var run = (context) => change(context, "unbroadcast");
14
14
  export {
15
15
  run
16
16
  };
17
- //# sourceMappingURL=unbroadcast-RKTBP57G.js.map
17
+ //# sourceMappingURL=unbroadcast-FONZJWEW.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  catalogOptionsFrom
3
- } from "./chunk-HEBCQTOD.js";
3
+ } from "./chunk-PEMMV5YQ.js";
4
4
  import {
5
5
  configFrom
6
- } from "./chunk-7DLZC73N.js";
6
+ } from "./chunk-RPCIROW7.js";
7
7
  import {
8
8
  validateCatalog,
9
9
  validateSkillDir
10
- } from "./chunk-HEWZ6INU.js";
10
+ } from "./chunk-CJ6OFTS3.js";
11
11
  import "./chunk-73AKO4UL.js";
12
12
  import {
13
13
  validateSpec
@@ -16,7 +16,7 @@ import "./chunk-JEL35P7S.js";
16
16
  import "./chunk-A4PKLESO.js";
17
17
  import "./chunk-4CRRLDDS.js";
18
18
  import "./chunk-YSAWTGNA.js";
19
- import "./chunk-QPL7E2HW.js";
19
+ import "./chunk-GJXOFDJT.js";
20
20
  import "./chunk-PMJG2CXF.js";
21
21
 
22
22
  // src/commands/validate.ts
@@ -43,4 +43,4 @@ var validateCommand = {
43
43
  export {
44
44
  validateCommand
45
45
  };
46
- //# sourceMappingURL=validate-AVM2VHMM.js.map
46
+ //# sourceMappingURL=validate-WOFI7TMT.js.map
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  invoke
3
- } from "./chunk-6FZXF3G6.js";
3
+ } from "./chunk-PG42KALG.js";
4
4
  import {
5
5
  readStartup,
6
6
  startupFile,
7
7
  startupSettings
8
- } from "./chunk-J5ZS7GLA.js";
8
+ } from "./chunk-C3G75JH7.js";
9
9
  import "./chunk-DZ2MRTYT.js";
10
- import "./chunk-N2GVNL4G.js";
11
- import "./chunk-YGA2HFGB.js";
10
+ import "./chunk-FR6JHNLC.js";
11
+ import "./chunk-BZ2RXI5I.js";
12
12
  import {
13
13
  locateExecutable
14
14
  } from "./chunk-R2GPCZUX.js";
15
- import "./chunk-F3PZXF55.js";
15
+ import "./chunk-QYQGPDBE.js";
16
16
  import "./chunk-34DECPVC.js";
17
- import "./chunk-P2B7CDRM.js";
18
- import "./chunk-AW3OY32A.js";
17
+ import "./chunk-EONAJAMJ.js";
18
+ import "./chunk-57FHYW74.js";
19
19
  import "./chunk-OEH47H6A.js";
20
20
  import "./chunk-IJBSOWHK.js";
21
- import "./chunk-ZVXYPC3Q.js";
22
- import "./chunk-QPL7E2HW.js";
21
+ import "./chunk-YGTJQVCK.js";
22
+ import "./chunk-GJXOFDJT.js";
23
23
  import "./chunk-PMJG2CXF.js";
24
24
  import {
25
25
  GroupStore
@@ -78,4 +78,4 @@ async function startWorkspaceWorker(request, runtime, memoryMb) {
78
78
  export {
79
79
  startWorkspaceWorker
80
80
  };
81
- //# sourceMappingURL=worker-4ADJPJ2A.js.map
81
+ //# sourceMappingURL=worker-UXPGXAV2.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  off
3
3
  } from "./chunk-YIXDHQYE.js";
4
- import {
5
- listWorktrees
6
- } from "./chunk-2Q6MNGU5.js";
7
4
  import {
8
5
  distance
9
6
  } from "./chunk-ISNRDHSD.js";
7
+ import {
8
+ listWorktrees
9
+ } from "./chunk-2Q6MNGU5.js";
10
10
  import "./chunk-G7JONWL4.js";
11
11
 
12
12
  // src/git/worktrees/list.ts
@@ -48,4 +48,4 @@ var worktreeList = (setup, context) => {
48
48
  export {
49
49
  worktreeList
50
50
  };
51
- //# sourceMappingURL=worktree-list-NEIDD66X.js.map
51
+ //# sourceMappingURL=worktree-list-4PLE7K6L.js.map
@@ -36,7 +36,9 @@ loses nothing: `on_session_start` (`"fetch_and_move"` default, `"move"`,
36
36
  `"off"`), `between_prompts` (`"move_if_light"` default, `"off"`: move only when
37
37
  no install is needed), `install_after_move` (`"off"` default, `"background"`,
38
38
  `"foreground"`) and `notice_paths` (paths whose change is announced to the
39
- session). Installs never block a session.
39
+ session). Installs never block a session. A worktree is not moved while the
40
+ workspace is paused or while any lease is held (every `[sessions.leases.<name>]`,
41
+ or the implicit `lockfile` lease), and the session is told which.
40
42
 
41
43
  `[git.mainline.gate]`: `command` (argv; no gate when missing), `tree` (the
42
44
  gate's worktree, default `<state dir>/gate/tree`; a relative path is relative to
@@ -52,7 +54,7 @@ fails without running the gate; once started, a gate is never retried.
52
54
 
53
55
  One delivery gates at a time: pmcp takes an exclusive `flock` on the file `lock`
54
56
  beside the gate tree (`<dir of tree>/lock`), so another tool that takes the same
55
- file with `flock` (a workspace land script) and pmcp never gate together. With
57
+ file with `flock` (a project's own landing script, say) and pmcp never gate together. With
56
58
  `lock_env` set, pmcp sets that variable to `1` for the gate command and its
57
59
  children, and a `pmcp git deliver` started with it already `1` runs under its
58
60
  caller's lock instead of waiting for it. `tree_env` names a variable that, when
@@ -63,12 +65,13 @@ While a delivery holds the lock it keeps `holder.json` beside it,
63
65
  can say whose gate it waits for; the file is removed on release.
64
66
 
65
67
  A lease is `<state dir>/<name>-lease.json` unless `[sessions.leases.<name>] file`
66
- places it elsewhere, for another tool that coordinates the same lockfile; both
67
- read and write `{pid, subject, cwd, since}`, and a record whose process is gone
68
- counts as free. With `events` set, each delivery that changed the leased paths
68
+ places it elsewhere, where any tool coordinating the same paths can read and
69
+ write it; a record whose process is gone counts as free. With `events` set, each delivery that changed the leased paths
69
70
  appends one line there: `{at, subject, commit, hash, installed, lease}`, where
70
71
  `commit` is the delivered upstream, `hash` the leased files' hash in the main
71
72
  checkout after sync, and `installed` whether sync's install ran for that hash.
73
+ The fields of every shared file are listed under
74
+ [Shared file formats](#shared-file-formats).
72
75
 
73
76
  `[git.mainline.deliver]` enables `pmcp git deliver`, which replays commits onto
74
77
  the fetched mainline, runs the gate, and pushes one delivery at a time:
@@ -104,8 +107,8 @@ its name. Delivery events record the same hash and whether the stamp matches it.
104
107
  `[git.submodules]`: `follow = "clean_pins"` (the default when the table is
105
108
  present) moves submodules to the pinned commit when they are clean; `"off"`
106
109
  leaves them. Without the table submodules are not followed.
107
- `shared` lists submodules other sessions also edit in the main checkout (a
108
- brand app, for example): those move to the new pin even with uncommitted edits, as
110
+ `shared` lists submodules other sessions also edit in the main checkout (an
111
+ app kept in its own repository, for example): those move to the new pin even with uncommitted edits, as
109
112
  long as no edited or untracked file is one the pin changes. When one is, the
110
113
  submodule stays on the old pin and sync names the files; pmcp never restores,
111
114
  stashes or discards them.
@@ -116,3 +119,19 @@ needs nothing. Otherwise exactly the pinned commit is pushed to the submodule's
116
119
  branch (`branch` in `.gitmodules`, else `main`) as a fast-forward, never a later
117
120
  commit; if that branch has moved past the pin's base, delivery stops before
118
121
  anything else moves.
122
+
123
+ ## Shared file formats
124
+
125
+ Delivery and sync coordinate through plain files, so any tool, a project's own
126
+ scripts included, can wait on, read or write the same state. These are pmcp's
127
+ formats: within a release line fields are only added, never renamed, retyped or
128
+ removed, and readers ignore fields they do not know. Times are UTC ISO 8601
129
+ strings, and JSON files are written whole through a rename.
130
+
131
+ | File | Where | Content |
132
+ | ------------------- | -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
133
+ | `lock` | beside the gate tree | Empty; held with `flock -x` for the whole of one delivery's gate. |
134
+ | `holder.json` | beside `lock` | `{tip, subject, checkout, pid, startedAt}`: the commit being gated (full hash), its subject, the checkout delivering it, the holding process and when it took the lock. Removed by its writer before the lock is released, and only when `pid` is its own. |
135
+ | `<name>-lease.json` | the state directory, or `[sessions.leases.<name>] file` | `{pid, subject, since, cwd?}`. A lease whose `pid` is not alive is free; whoever takes it next replaces the file. |
136
+ | lease events | `[sessions.leases.<name>] events` | JSON Lines, one per delivery that changed the leased paths: `{at, subject, commit, hash, installed, lease}`, with `commit` the delivered upstream (10 characters), `hash` the leased files' hash in the main checkout after sync, and `installed` whether sync's install ran for that hash. |
137
+ | install stamp | `[git.mainline.sync] stamp`, else pmcp's state directory | One line: the hash last installed. With `stamp_hash = "plain"` it is the sha256 hex of the single `install_when_changed` file's bytes; with `"pmcp"`, a hash of every listed path and its name. |
package/docs/hooks.md CHANGED
@@ -60,18 +60,19 @@ call: `policy`, `session`, `verdict` (what the call got) and, under `data`, `raw
60
60
  (what the guard found: `allow`, `ask` or `deny`), `mode`, `tool` (the tool kind) and
61
61
  `native` (the runtime's tool name), never the command, the reason or the prompt.
62
62
 
63
- | Table | Default mode | Modes | Refuses |
64
- | ------------------------------------------ | ------------ | ------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
65
- | `[hooks.guards.shell.in_place_edit]` | deny | deny, ask, warn, observe, off | `sed -i`, `perl -i`, `awk -i inplace`: edits without a diff. |
66
- | `[hooks.guards.shell.heredoc]` | deny | deny, ask, warn, observe, off | Heredocs and here-strings, whose body the shell expands silently. |
67
- | `[hooks.guards.shell.stdin_interpreter]` | ask | deny, ask, warn, observe, off | An interpreter reading its program from stdin (`python3 -`, `cat x.py \| python3`). |
68
- | `[hooks.guards.shell.compose_teardown]` | deny | deny, ask, warn, observe, off | `docker compose down`, and `stop`, `rm` or `kill` with no service named: they hit every service. |
69
- | `[hooks.guards.shell.secret_exfiltration]` | graded | deny, ask, warn, observe, off, graded | Reading a credential asks; sending one over the network, or changing a live one, denies. |
70
- | `[hooks.guards.shell.host_approval]` | deny | deny, ask, warn, observe, off | `host approve`, and commands or edits touching the host approvals directory. On by itself when `[host]` is declared. |
71
- | `[hooks.guards.git.push_without_verify]` | deny | deny, ask, warn, observe, off | `git push --no-verify`. |
72
- | `[hooks.guards.git.forced_branch_move]` | deny | deny, ask, warn, observe, off | Forcing a branch that is checked out in another working tree. |
73
- | `[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. |
74
- | `[hooks.guards.git.stage_all]` | deny | deny, ask, warn, observe, off | `git add -A`, `git add .`, `git commit -a` and similar; stage explicit paths. |
63
+ | Table | Default mode | Modes | Refuses |
64
+ | ------------------------------------------ | ------------ | ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
65
+ | `[hooks.guards.shell.in_place_edit]` | deny | deny, ask, warn, observe, off | `sed -i`, `perl -i`, `awk -i inplace`: edits without a diff. |
66
+ | `[hooks.guards.shell.heredoc]` | deny | deny, ask, warn, observe, off | Heredocs and here-strings, whose body the shell expands silently. |
67
+ | `[hooks.guards.shell.stdin_interpreter]` | ask | deny, ask, warn, observe, off | An interpreter reading its program from stdin (`python3 -`, `cat x.py \| python3`). |
68
+ | `[hooks.guards.shell.compose_teardown]` | deny | deny, ask, warn, observe, off | `docker compose down`, and `stop`, `rm` or `kill` with no service named: they hit every service. |
69
+ | `[hooks.guards.shell.secret_exfiltration]` | graded | deny, ask, warn, observe, off, graded | Reading a credential asks; sending one over the network, or changing a live one, denies. |
70
+ | `[hooks.guards.shell.host_approval]` | deny | deny, ask, warn, observe, off | `host approve`, and commands or edits touching the host approvals directory. On by itself when `[host]` is declared. |
71
+ | `[hooks.guards.shell.runaway_regex]` | deny | deny, ask, warn, observe, off | A grep pattern that can hold a core for minutes: a repetition count over the threshold (`\{0,2500\}`, `{0,2500}` with `-E` or `-P`), or a `-P` group quantified inside a quantifier such as `(a+)+`. ripgrep (`rg`) matches in linear time and is never refused. |
72
+ | `[hooks.guards.git.push_without_verify]` | deny | deny, ask, warn, observe, off | `git push --no-verify`. |
73
+ | `[hooks.guards.git.forced_branch_move]` | deny | deny, ask, warn, observe, off | Forcing a branch that is checked out in another working tree. |
74
+ | `[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. |
75
+ | `[hooks.guards.git.stage_all]` | deny | deny, ask, warn, observe, off | `git add -A`, `git add .`, `git commit -a` and similar; stage explicit paths. |
75
76
 
76
77
  Options:
77
78
 
@@ -86,6 +87,15 @@ Options:
86
87
  in `extra_secret_paths`. Only a file a command reads counts: a search
87
88
  pattern, a sed or awk script, a jq filter or `-e` code that mentions `.env`
88
89
  does not.
90
+ - `[hooks.guards.shell.runaway_regex]`: `threshold` (the largest repetition
91
+ count allowed, 1 to 32767, default `255`), `allow_timeout` (default `true`: a
92
+ grep run under `timeout <n>` is bounded and passes) and
93
+ `only_matching_wildcards` (default `false`: also refuse `-o` with more than
94
+ one `.*`, which is slow on long lines but often harmless). It reads `grep`,
95
+ `egrep`, `zgrep` and `git grep`; `fgrep` and `-F` patterns are literal. The
96
+ refusal suggests `grep -n` to find the line and `sed -n 'N,+K p'` to print
97
+ around it, `rg`, a smaller count, or `timeout 20`. A command the parser cannot
98
+ read passes.
89
99
  - `[hooks.guards.git.gate_bypass_env]`: `names` (variable names, default `[]`)
90
100
  and `no_verify` (boolean, default `true`).
91
101
 
@@ -33,12 +33,14 @@ specification. Without it, only the specification is checked.
33
33
  [catalog.validation]
34
34
  profile = "catalog-v1" # or "library"
35
35
  deny_list = "private-terms.txt"
36
+ tiers = ["open", "free", "paid", "internal"]
36
37
  ```
37
38
 
38
- | Key | Type | Default | Meaning |
39
- | ----------- | ------ | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
40
- | `profile` | string | none | `catalog-v1`: the marketplace catalog rules (metadata, tier, trigger wording, ASCII in the open tier, locales); the marketplace's tier applies, else the skill's own `metadata.tier`, else `open`. `library`: the manual library skill metadata schema. |
41
- | `deny_list` | path | none | A file of terms, one per line (`#` starts a comment), that no file of a skill may contain, compared without case. Relative to `pmcp.toml`. A finding names the list line, never the term. A missing file is an error. |
39
+ | Key | Type | Default | Meaning |
40
+ | ----------- | ------ | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
41
+ | `profile` | string | none | `catalog-v1`: the marketplace catalog rules (metadata, tier, trigger wording, ASCII in the open tier, locales); the marketplace's tier applies, else the skill's own `metadata.tier`, else `open`. `library`: the manual library skill metadata schema. |
42
+ | `deny_list` | path | none | A file of terms, one per line (`#` starts a comment), that no file of a skill may contain, compared without case. Relative to `pmcp.toml`. A finding names the list line, never the term. A missing file is an error. |
43
+ | `tiers` | list | `["open", "free", "paid", "internal"]` | The tier names this catalog uses, lowest first, in kebab case. `catalog-v1` reports a tier outside the list as `tier.unknown`; its tier-specific rules know only the four default names. The metadata schema itself takes any kebab-case name. |
42
44
 
43
45
  Both apply to named skill directories and, with no directory named, to every
44
46
  skill the catalog reaches.
@@ -164,6 +166,7 @@ the way to run sessions there.
164
166
  [host]
165
167
  roots = ["."] # every session cwd must be under one of these
166
168
  mcp_write = false # pty_turn and pty_lease over pmcp harness mcp
169
+ memory_max = "4G" # MemoryMax of the host's systemd scope and printed unit (default 4G)
167
170
 
168
171
  [[host.sessions]]
169
172
  name = "lead" # lowercase, digits and -; unique
@@ -456,13 +459,13 @@ lives in one directory shared by every checkout of the repository.
456
459
 
457
460
  `store` and `state_dir` alone enable nothing; each feature has its own table:
458
461
 
459
- | Table | Keys | Effect |
460
- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
461
- | `[sessions.registry]` | `liveness` (`"pid_heartbeat"`, the only value), `stale_minutes` (default `30`) | Records each session with its process and heartbeat; `pmcp sessions status` lists them. |
462
- | `[sessions.pause]` | `mode` (`deny` default, `ask`, `warn`, `off`), `refuses` (`"mutating"`), `scripts` (regular expressions, default `[]`: a `node` script matching one also counts as mutating, e.g. your own delivery or sync script) | While `pmcp sessions pause` is in effect, edits and mutating commands are refused for every session but the one that paused; reading continues. |
463
- | `[sessions.broadcast]` | `keep` (default `10`), `deliver_on` (default `["session_start", "prompt", "before_tool"]`; also `after_tool`, `stop`) | Delivers `pmcp sessions broadcast` text once to each session, as context on the listed events. |
464
- | `[sessions.leases.<name>]` | `path` (string, shown in the message and used by git delivery), `blocks` (required list of argv prefixes), `file` and `events` (optional paths: absolute, `~/…`, or `${gate_dir}/…` for the directory of the gate tree) | While another session holds lease `<name>`, commands starting with a listed prefix are denied until its delivery finishes. |
465
- | `[sessions.roles.<name>]` | `agent_type` (default `<name>`, also matches `plugin:<name>`), `allow_edits` (default `false`), `allow_commands` (list of argv prefixes, default `[]`) | A subagent of that type may edit only if allowed and run only the listed commands. Claude only. |
462
+ | Table | Keys | Effect |
463
+ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
464
+ | `[sessions.registry]` | `liveness` (`"pid_heartbeat"`, the only value), `stale_minutes` (default `30`) | Records each session with its process and heartbeat; `pmcp sessions status` lists them. |
465
+ | `[sessions.pause]` | `mode` (`deny` default, `ask`, `warn`, `off`), `refuses` (`"mutating"`), `scripts` (regular expressions, default `[]`: a `node` script matching one also counts as mutating, e.g. your own delivery or sync script), `commands` (argv prefixes that also count, replacing the default `docker` compose/build/push/run/rm/stop/restart and `wrangler` deploy/publish/secret), `script_names` (regular expressions for `bun`, `npm`, `pnpm` or `yarn run <name>`, default `["^git:", "^docker:", "^deploy", "^release", "^publish"]`); git commits, pushes and the like and package installs always count | While `pmcp sessions pause` is in effect, edits and mutating commands are refused for every session but the one that paused; reading continues. |
466
+ | `[sessions.broadcast]` | `keep` (default `10`), `deliver_on` (default `["session_start", "prompt", "before_tool"]`; also `after_tool`, `stop`) | Delivers `pmcp sessions broadcast` text once to each session, as context on the listed events. |
467
+ | `[sessions.leases.<name>]` | `path` (string, shown in the message and used by git delivery), `blocks` (required list of argv prefixes), `file` and `events` (optional paths: absolute, `~/…`, or `${gate_dir}/…` for the directory of the gate tree) | While another session holds lease `<name>`, commands starting with a listed prefix are denied until its delivery finishes. |
468
+ | `[sessions.roles.<name>]` | `agent_type` (default `<name>`, also matches `plugin:<name>`), `allow_edits` (default `false`), `allow_commands` (list of argv prefixes, default `[]`) | A subagent of that type may edit only if allowed and run only the listed commands. Claude only. |
466
469
 
467
470
  These tables have no `mode`, except pause. Without `[sessions.registry]` no
468
471
  session is recorded, and `[ui.claude]` refuses to project.
@@ -597,7 +600,8 @@ records them without raising the rest; see [Hooks](hooks.md#hooksguardsgroupname
597
600
  `[ui.claude]` installs the session panes into Claude Code: `sessions_pane`,
598
601
  `status_band`, `commands` and `hold_foreign_edits`, all booleans defaulting to
599
602
  `true`. `hold_foreign_edits` asks before editing a file another live session
600
- edited. It needs `[sessions.registry]`, and is written only when `claude` is
603
+ edited. The panes and the hold know linked worktrees by `[git.worktrees] root`
604
+ (default `.claude/worktrees`). It needs `[sessions.registry]`, and is written only when `claude` is
601
605
  in `[targets] tools`. Without the table nothing is installed. `pmcp doctor`
602
606
  shows the projected switches, or a failure until `pmcp project` writes them; it
603
607
  cannot tell whether a running Claude Code loaded the session panes.
@@ -649,6 +653,9 @@ binary = "secrets-cli"
649
653
  read = ["read", "env get"]
650
654
  publish = ["deploy", "secret put", "secret delete"]
651
655
 
656
+ [hooks.guards.shell.runaway_regex]
657
+ threshold = 255
658
+
652
659
  [hooks.guards.git.push_without_verify]
653
660
 
654
661
  [hooks.guards.git.forced_branch_move]