@modootoday/pmcp 0.22.2 → 0.22.3

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 (100) 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-AWZ32Z66.js → apply-CYVC5LDG.js} +11 -11
  6. package/dist/{broadcast-ZALGUJVR.js → broadcast-DZGMSZRG.js} +3 -3
  7. package/dist/{chunk-57Q75MS4.js → chunk-5QKXEWDB.js} +2 -2
  8. package/dist/{chunk-OMIIXLMO.js → chunk-7DYWCQVB.js} +1 -1
  9. package/dist/{chunk-MR5IBS6L.js → chunk-7I7O7ZNT.js} +41 -10
  10. package/dist/{chunk-JP27V2H4.js → chunk-7LUYI7QM.js} +2 -2
  11. package/dist/{chunk-T6MQPVLH.js → chunk-7Q3AIS4Q.js} +2 -2
  12. package/dist/{chunk-7FV2LORT.js → chunk-B2WRYGHJ.js} +4 -3
  13. package/dist/{chunk-VGW3N3HC.js → chunk-CALWIRAI.js} +14 -14
  14. package/dist/{chunk-W6GA5RAW.js → chunk-CILQCERV.js} +2 -2
  15. package/dist/{chunk-U3IHGG7X.js → chunk-ESCOMAPX.js} +3 -3
  16. package/dist/{chunk-NFJ44OE2.js → chunk-FE7WOHZM.js} +13 -4
  17. package/dist/{chunk-5A7QRZP6.js → chunk-HV52EUSL.js} +5 -5
  18. package/dist/{chunk-SKOP4ZST.js → chunk-ICZH4NFR.js} +5 -5
  19. package/dist/chunk-JTRFZQTB.js +7 -0
  20. package/dist/{chunk-G25LCRIG.js → chunk-JUG4W7RF.js} +2 -2
  21. package/dist/{chunk-4Z6NPSWX.js → chunk-MLGXDSHZ.js} +8 -6
  22. package/dist/{chunk-GZQH3RJA.js → chunk-MQMWVJZB.js} +3 -3
  23. package/dist/{chunk-U2NWTZQP.js → chunk-MZF7VOQA.js} +2 -2
  24. package/dist/{chunk-GE2PHR35.js → chunk-NQFULJZC.js} +3 -3
  25. package/dist/{chunk-KLWZZTUQ.js → chunk-ONYZIC2F.js} +3 -3
  26. package/dist/{chunk-FOIQUPIQ.js → chunk-PR2RBEXI.js} +2 -2
  27. package/dist/{chunk-BUD3WS4Y.js → chunk-RZZZHQCE.js} +2 -2
  28. package/dist/{chunk-NAXUAC5S.js → chunk-ULFV3EIZ.js} +2 -2
  29. package/dist/{chunk-D2DDM5VZ.js → chunk-UQNRGU3V.js} +2 -2
  30. package/dist/{chunk-ZYLJUABY.js → chunk-V7LZTVWS.js} +2 -2
  31. package/dist/{chunk-5F7TL3V7.js → chunk-WPX4ONFT.js} +6 -6
  32. package/dist/{cli-6FWRBCWM.js → cli-34EDFXJA.js} +8 -8
  33. package/dist/{cli-BOSY6VFP.js → cli-A6HKRICM.js} +4 -4
  34. package/dist/cli.js +3 -3
  35. package/dist/{completion-V756JVX6.js → completion-FDLVWLAC.js} +2 -2
  36. package/dist/{diagnostics-R7S3DNXD.js → diagnostics-DYLW7WYV.js} +5 -5
  37. package/dist/{doctor-44S5EWK5.js → doctor-FRQ5H5FU.js} +12 -12
  38. package/dist/{entry-GSGCMXE5.js → entry-XPZZNQ4L.js} +9 -9
  39. package/dist/{exec-mcp-3COXHDYT.js → exec-mcp-HOM2ZANM.js} +8 -8
  40. package/dist/{harness-K4WL2NSH.js → harness-WIGJRE5P.js} +3 -3
  41. package/dist/harness-launch-gate.js +3 -3
  42. package/dist/harness-worker.js +5 -5
  43. package/dist/hook-body.js +108 -64
  44. package/dist/{hook-spec-hZL4MSgi.d.ts → hook-spec-Bd24eo2L.d.ts} +1 -0
  45. package/dist/{hooks-HQOLXR3A.js → hooks-MIF3FONJ.js} +4 -4
  46. package/dist/{host-4W3JUQAO.js → host-CE5TW5SC.js} +10 -10
  47. package/dist/{host-N5UILUK7.js → host-JKZLOCZS.js} +6 -6
  48. package/dist/{host-run-CVYRZB7R.js → host-run-MJGJ7NVE.js} +4 -4
  49. package/dist/http.js +1 -1
  50. package/dist/{import-mcp-IAGC3LJU.js → import-mcp-T3GZYEE5.js} +7 -7
  51. package/dist/index.d.ts +2 -2
  52. package/dist/index.js +11 -11
  53. package/dist/{init-HPEVKKMU.js → init-D5VPDF2B.js} +2 -2
  54. package/dist/{invoke-TD5YR2G7.js → invoke-HEAOQLFQ.js} +7 -7
  55. package/dist/{list-YUHJ5CTT.js → list-PCLCFG2J.js} +9 -9
  56. package/dist/{logout-JQ5UPC5W.js → logout-3ZXFXKHB.js} +8 -8
  57. package/dist/{logs-74JGLQG6.js → logs-UHJM7ZCL.js} +3 -3
  58. package/dist/{mailbox-VK5AVTHI.js → mailbox-NIMBOQPA.js} +3 -3
  59. package/dist/{mainline-7HO7RCQH.js → mainline-6CTSVOWP.js} +10 -7
  60. package/dist/{mcp-B6SYBT3X.js → mcp-T6PYHRUL.js} +2 -2
  61. package/dist/{pause-CZ2OZYLC.js → pause-CBZ3BTJL.js} +3 -3
  62. package/dist/project/hook-adapter.d.ts +1 -1
  63. package/dist/{project-GOW2MEFY.js → project-H4R3Q3QO.js} +4 -4
  64. package/dist/{report-Z3JV2PCT.js → report-ZHOHQ4PZ.js} +3 -3
  65. package/dist/{resume-DFIHT2RO.js → resume-UJEWQ66P.js} +3 -3
  66. package/dist/{run-ZOSIKNDX.js → run-FMTHUOAZ.js} +4 -4
  67. package/dist/{run-7UNRLLYD.js → run-V74M7PZK.js} +7 -7
  68. package/dist/{serve-VRBL67KO.js → serve-JKNEC4AX.js} +3 -3
  69. package/dist/{setup-QMYAW3MB.js → setup-HYEYYVDU.js} +3 -3
  70. package/dist/{smoke-EXPR7HLD.js → smoke-UA7VVDKD.js} +3 -3
  71. package/dist/{start-login-NRD323LK.js → start-login-JRMVLK5J.js} +8 -8
  72. package/dist/{status-ZY5B7V6R.js → status-6273XFHT.js} +8 -8
  73. package/dist/{status-3RTGDN2K.js → status-KN2ZE64O.js} +3 -3
  74. package/dist/{status-JN2GT5UM.js → status-RG2GFDQU.js} +10 -10
  75. package/dist/stdio.js +2 -2
  76. package/dist/{sweep-EPJMEZR6.js → sweep-EPZCW63Q.js} +3 -3
  77. package/dist/{test-VGJXKCQT.js → test-M365FK5N.js} +21 -14
  78. package/dist/{tui-GORRJIMA.js → tui-PKPYE76A.js} +4 -4
  79. package/dist/{unbroadcast-NTOC3PY3.js → unbroadcast-N6LXHAMT.js} +3 -3
  80. package/dist/{worker-LJG2NDMK.js → worker-C23EAPCY.js} +7 -7
  81. package/docs/commands.md +1 -1
  82. package/docs/git-workflow.md +1 -0
  83. package/docs/project-configuration.md +1 -0
  84. package/gemini-extension.json +2 -2
  85. package/mcp.json +1 -1
  86. package/package.json +5 -5
  87. package/plugin.json +1 -1
  88. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  89. package/plugins/pmcp/.mcp.json +1 -1
  90. package/plugins/pmcp/gemini-extension.json +2 -2
  91. package/plugins/pmcp/mcp.json +1 -1
  92. package/plugins/pmcp/mod/commands.ts +10 -4
  93. package/plugins/pmcp/mod/host.ts +17 -1
  94. package/plugins/pmcp/mod/reader/read.ts +3 -1
  95. package/plugins/pmcp/mod/reader/types.ts +2 -0
  96. package/plugins/pmcp/mod/register.tsx +2 -1
  97. package/plugins/pmcp/mod/snapshot.ts +1 -0
  98. package/plugins/pmcp/mod/state.ts +1 -0
  99. package/plugins/pmcp/plugin.json +1 -1
  100. package/dist/chunk-FWKQA6TX.js +0 -7
@@ -612,7 +612,7 @@
612
612
  },
613
613
  {
614
614
  "name": "pmcp",
615
- "version": "0.22.2",
615
+ "version": "0.22.3",
616
616
  "description": "Find package skills and use native runtime project configuration.",
617
617
  "source": { "source": "local", "path": "./plugins/pmcp" },
618
618
  "policy": { "installation": "AVAILABLE", "authentication": "ON_USE" },
@@ -445,7 +445,7 @@
445
445
  },
446
446
  {
447
447
  "name": "pmcp",
448
- "version": "0.22.2",
448
+ "version": "0.22.3",
449
449
  "description": "Find package skills and use native runtime project configuration.",
450
450
  "source": "./plugins/pmcp"
451
451
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.22.2",
3
+ "version": "0.22.3",
4
4
  "description": "Find package skills and use native runtime project configuration.",
5
5
  "author": { "name": "modootoday" },
6
6
  "license": "Elastic-2.0",
package/.mcp.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "pmcp": {
4
4
  "type": "stdio",
5
5
  "command": "npx",
6
- "args": ["-y", "@modootoday/pmcp@0.22.2", "serve"]
6
+ "args": ["-y", "@modootoday/pmcp@0.22.3", "serve"]
7
7
  }
8
8
  }
9
9
  }
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-PEMMV5YQ.js";
4
4
  import {
5
5
  specFrom
6
- } from "./chunk-FOIQUPIQ.js";
6
+ } from "./chunk-PR2RBEXI.js";
7
7
  import {
8
8
  printSmoke,
9
9
  runSmoke
10
- } from "./chunk-W6GA5RAW.js";
10
+ } from "./chunk-CILQCERV.js";
11
11
  import {
12
12
  configFrom
13
13
  } from "./chunk-RPCIROW7.js";
@@ -15,14 +15,14 @@ import {
15
15
  describeHookProblem,
16
16
  project,
17
17
  unmanagedHookProblems
18
- } from "./chunk-5A7QRZP6.js";
18
+ } from "./chunk-HV52EUSL.js";
19
19
  import "./chunk-P4N7DBD5.js";
20
- import "./chunk-KLWZZTUQ.js";
20
+ import "./chunk-ONYZIC2F.js";
21
21
  import {
22
22
  checkBudget,
23
23
  renderFrontmatter,
24
24
  splitFrontmatter
25
- } from "./chunk-4Z6NPSWX.js";
25
+ } from "./chunk-MLGXDSHZ.js";
26
26
  import "./chunk-UKR64U7J.js";
27
27
  import "./chunk-XZ2TDH3J.js";
28
28
  import "./chunk-KUBHGVTD.js";
@@ -32,16 +32,16 @@ import "./chunk-LFFIQBNY.js";
32
32
  import "./chunk-HQOB7OQS.js";
33
33
  import "./chunk-73AKO4UL.js";
34
34
  import "./chunk-P6LNYYYH.js";
35
- import "./chunk-NFJ44OE2.js";
35
+ import "./chunk-FE7WOHZM.js";
36
36
  import "./chunk-2Q6MNGU5.js";
37
- import "./chunk-MR5IBS6L.js";
37
+ import "./chunk-7I7O7ZNT.js";
38
38
  import "./chunk-Z6WRFOFT.js";
39
39
  import "./chunk-G7JONWL4.js";
40
40
  import "./chunk-Q5H3L6Y4.js";
41
41
  import {
42
42
  RUNTIMES,
43
43
  readTestTable
44
- } from "./chunk-OMIIXLMO.js";
44
+ } from "./chunk-7DYWCQVB.js";
45
45
  import "./chunk-JEL35P7S.js";
46
46
  import {
47
47
  ArgumentError
@@ -53,14 +53,14 @@ import {
53
53
  import "./chunk-YSAWTGNA.js";
54
54
  import {
55
55
  recordProjector
56
- } from "./chunk-NAXUAC5S.js";
56
+ } from "./chunk-ULFV3EIZ.js";
57
57
  import {
58
58
  ProjectError
59
59
  } from "./chunk-NRBQK6UX.js";
60
60
  import "./chunk-OEH47H6A.js";
61
61
  import "./chunk-IJBSOWHK.js";
62
62
  import "./chunk-XWLMZKH2.js";
63
- import "./chunk-FWKQA6TX.js";
63
+ import "./chunk-JTRFZQTB.js";
64
64
  import "./chunk-GJXOFDJT.js";
65
65
  import "./chunk-PMJG2CXF.js";
66
66
  import "./chunk-J6KL3COD.js";
@@ -275,4 +275,4 @@ export {
275
275
  projectOrCheck,
276
276
  removeAndProject
277
277
  };
278
- //# sourceMappingURL=apply-AWZ32Z66.js.map
278
+ //# sourceMappingURL=apply-CYVC5LDG.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  change
3
- } from "./chunk-7FV2LORT.js";
4
- import "./chunk-MR5IBS6L.js";
3
+ } from "./chunk-B2WRYGHJ.js";
4
+ import "./chunk-7I7O7ZNT.js";
5
5
  import "./chunk-Z6WRFOFT.js";
6
6
  import "./chunk-A4PKLESO.js";
7
7
  import "./chunk-OEH47H6A.js";
@@ -14,4 +14,4 @@ var run = (context) => change(context, "broadcast");
14
14
  export {
15
15
  run
16
16
  };
17
- //# sourceMappingURL=broadcast-ZALGUJVR.js.map
17
+ //# sourceMappingURL=broadcast-DZGMSZRG.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-HQOB7OQS.js";
6
6
  import {
7
7
  readStoreSettings
8
- } from "./chunk-MR5IBS6L.js";
8
+ } from "./chunk-7I7O7ZNT.js";
9
9
  import {
10
10
  expandPath,
11
11
  projectStateDir
@@ -152,4 +152,4 @@ export {
152
152
  tail,
153
153
  logLocation
154
154
  };
155
- //# sourceMappingURL=chunk-57Q75MS4.js.map
155
+ //# sourceMappingURL=chunk-5QKXEWDB.js.map
@@ -1669,4 +1669,4 @@ export {
1669
1669
  readFixtures,
1670
1670
  smoke
1671
1671
  };
1672
- //# sourceMappingURL=chunk-OMIIXLMO.js.map
1672
+ //# sourceMappingURL=chunk-7DYWCQVB.js.map
@@ -391,8 +391,8 @@ function filesMailbox(dir, settings) {
391
391
  // src/sessions/files/pause.ts
392
392
  import { rmSync as rmSync4 } from "fs";
393
393
  import { join as join4 } from "path";
394
- function filesPause(dir) {
395
- const path = join4(dir, STATE_FILES.pause);
394
+ function filesPause(dir, file) {
395
+ const path = file ?? join4(dir, STATE_FILES.pause);
396
396
  return {
397
397
  read: () => asPause(readJson(path)),
398
398
  write(pause) {
@@ -487,7 +487,7 @@ function createFilesStore(dir, options = {}) {
487
487
  return {
488
488
  dir,
489
489
  registry,
490
- pause: filesPause(dir),
490
+ pause: filesPause(dir, options.pauseFile),
491
491
  leases: filesLeases(dir, options.leaseFiles),
492
492
  // With the mailbox on, a broadcast is also a message to all, which the mailbox delivers;
493
493
  // broadcast.json stays the record status, snapshot and the Claude band read.
@@ -548,6 +548,9 @@ function readLeaseFiles(leases) {
548
548
  }
549
549
  return out;
550
550
  }
551
+ function readPauseFile(value) {
552
+ return setting(value, "[sessions] pause_file");
553
+ }
551
554
  function readGateLocation(git) {
552
555
  if (git === null || typeof git !== "object") return {};
553
556
  const mainline = git["mainline"];
@@ -565,8 +568,14 @@ function gateTree(root, stateDir, gate, env) {
565
568
  if (override) return override;
566
569
  return gate.tree ? expandPath(root, gate.tree) : join6(stateDir, "gate", "tree");
567
570
  }
571
+ function atGateDir(path, gateDir) {
572
+ return path.startsWith(GATE_DIR) ? join6(gateDir, path.slice(GATE_DIR.length)) : path;
573
+ }
574
+ function resolvePauseFile(file, gateDir) {
575
+ return file === void 0 ? void 0 : atGateDir(file, gateDir);
576
+ }
568
577
  function resolveLeaseFiles(files, gateDir) {
569
- const resolve2 = (path) => path?.startsWith(GATE_DIR) ? join6(gateDir, path.slice(GATE_DIR.length)) : path;
578
+ const resolve2 = (path) => path === void 0 ? void 0 : atGateDir(path, gateDir);
570
579
  return Object.fromEntries(
571
580
  Object.entries(files ?? {}).map(([name, f]) => {
572
581
  const file = resolve2(f.file);
@@ -585,6 +594,13 @@ function leaseFilesFor(root, stateDir, files, gate, env) {
585
594
  dirname3(gateTree(root, stateDir, gate ?? {}, env))
586
595
  );
587
596
  }
597
+ function pauseFileFor(root, stateDir, file, gate, env) {
598
+ if (!file) return void 0;
599
+ return resolvePauseFile(
600
+ file,
601
+ dirname3(gateTree(root, stateDir, gate ?? {}, env))
602
+ );
603
+ }
588
604
 
589
605
  // src/sessions/settings.ts
590
606
  var MAILBOX_KEYS = [
@@ -661,17 +677,30 @@ function readStoreSettings(raw, git) {
661
677
  10
662
678
  ),
663
679
  mailbox: readMailbox(sessions["mailbox"]),
664
- ...leaseSettings(sessions["leases"], git)
680
+ ...sharedFileSettings(sessions["leases"], sessions["pause_file"], git)
665
681
  };
666
682
  }
667
- function leaseSettings(leases, git) {
683
+ function sharedFileSettings(leases, pause, git) {
668
684
  const leaseFiles = readLeaseFiles(leases);
669
- if (Object.keys(leaseFiles).length === 0) return {};
685
+ const pauseFile = readPauseFile(pause);
686
+ const hasLeases = Object.keys(leaseFiles).length > 0;
687
+ if (!hasLeases && !pauseFile) return {};
670
688
  const gate = readGateLocation(git);
671
- return { leaseFiles, ...Object.keys(gate).length > 0 ? { gate } : {} };
689
+ return {
690
+ ...hasLeases ? { leaseFiles } : {},
691
+ ...pauseFile ? { pauseFile } : {},
692
+ ...Object.keys(gate).length > 0 ? { gate } : {}
693
+ };
672
694
  }
673
695
  function openStore(root, settings, env = process.env) {
674
696
  const dir = projectStateDir(root, settings.stateDir, env);
697
+ const pauseFile = pauseFileFor(
698
+ root,
699
+ dir,
700
+ settings.pauseFile,
701
+ settings.gate,
702
+ env
703
+ );
675
704
  return createFilesStore(dir, {
676
705
  ...settings,
677
706
  leaseFiles: leaseFilesFor(
@@ -680,7 +709,8 @@ function openStore(root, settings, env = process.env) {
680
709
  settings.leaseFiles,
681
710
  settings.gate,
682
711
  env
683
- )
712
+ ),
713
+ ...pauseFile ? { pauseFile } : {}
684
714
  });
685
715
  }
686
716
 
@@ -693,8 +723,9 @@ export {
693
723
  writeJson,
694
724
  SESSION_ID,
695
725
  createFilesStore,
726
+ resolvePauseFile,
696
727
  resolveLeaseFiles,
697
728
  readStoreSettings,
698
729
  openStore
699
730
  };
700
- //# sourceMappingURL=chunk-MR5IBS6L.js.map
731
+ //# sourceMappingURL=chunk-7I7O7ZNT.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOST_MANIFEST,
3
3
  HOST_POLICY
4
- } from "./chunk-NAXUAC5S.js";
4
+ } from "./chunk-ULFV3EIZ.js";
5
5
  import {
6
6
  projectStateDir
7
7
  } from "./chunk-OEH47H6A.js";
@@ -99,4 +99,4 @@ export {
99
99
  hostApprovalDoctor,
100
100
  writeApproval
101
101
  };
102
- //# sourceMappingURL=chunk-JP27V2H4.js.map
102
+ //# sourceMappingURL=chunk-7LUYI7QM.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-34DECPVC.js";
7
7
  import {
8
8
  ptyBinary
9
- } from "./chunk-NAXUAC5S.js";
9
+ } from "./chunk-ULFV3EIZ.js";
10
10
 
11
11
  // src/harness/adapters/systemd/admission.ts
12
12
  var nativeHostTools = ["systemctl", "systemd-run"];
@@ -36,4 +36,4 @@ export {
36
36
  nativeHostTools,
37
37
  assertNativeHost
38
38
  };
39
- //# sourceMappingURL=chunk-T6MQPVLH.js.map
39
+ //# sourceMappingURL=chunk-7Q3AIS4Q.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  openStore,
3
3
  readStoreSettings
4
- } from "./chunk-MR5IBS6L.js";
4
+ } from "./chunk-7I7O7ZNT.js";
5
5
  import {
6
6
  ArgumentError,
7
7
  one
@@ -22,7 +22,8 @@ function storeFrom(context) {
22
22
  return {
23
23
  store: openStore(
24
24
  config.dir,
25
- readStoreSettings(sessions, config.raw["git"])
25
+ readStoreSettings(sessions, config.raw["git"]),
26
+ context.env
26
27
  ),
27
28
  leases,
28
29
  root: config.dir
@@ -73,4 +74,4 @@ export {
73
74
  storeFrom,
74
75
  change
75
76
  };
76
- //# sourceMappingURL=chunk-7FV2LORT.js.map
77
+ //# sourceMappingURL=chunk-B2WRYGHJ.js.map
@@ -61,11 +61,11 @@ var completionSpec = {
61
61
  var COMMANDS = [
62
62
  {
63
63
  ...statusSpec,
64
- load: async () => (await import("./status-JN2GT5UM.js")).statusCommand
64
+ load: async () => (await import("./status-RG2GFDQU.js")).statusCommand
65
65
  },
66
- { ...initSpec, load: async () => (await import("./init-HPEVKKMU.js")).initCommand },
67
- { ...hooksSpec, load: async () => (await import("./hooks-HQOLXR3A.js")).hooksCommand },
68
- { ...serveSpec, load: async () => (await import("./serve-VRBL67KO.js")).serveCommand },
66
+ { ...initSpec, load: async () => (await import("./init-D5VPDF2B.js")).initCommand },
67
+ { ...hooksSpec, load: async () => (await import("./hooks-MIF3FONJ.js")).hooksCommand },
68
+ { ...serveSpec, load: async () => (await import("./serve-JKNEC4AX.js")).serveCommand },
69
69
  { ...listSpec, load: async () => (await import("./list-WK2IYUK7.js")).listCommand },
70
70
  {
71
71
  ...indexSpec,
@@ -102,19 +102,19 @@ var COMMANDS = [
102
102
  { ...syncSpec, load: async () => (await import("./install-7V6NIA7W.js")).syncCommand },
103
103
  {
104
104
  ...projectSpec,
105
- load: async () => (await import("./project-GOW2MEFY.js")).projectCommand
105
+ load: async () => (await import("./project-H4R3Q3QO.js")).projectCommand
106
106
  },
107
107
  {
108
108
  ...doctorSpec,
109
- load: async () => (await import("./doctor-44S5EWK5.js")).doctorCommand
109
+ load: async () => (await import("./doctor-FRQ5H5FU.js")).doctorCommand
110
110
  },
111
111
  {
112
112
  ...sessionsSpec,
113
- load: async () => (await import("./cli-6FWRBCWM.js")).sessionsCommand
113
+ load: async () => (await import("./cli-34EDFXJA.js")).sessionsCommand
114
114
  },
115
- { ...logsSpec, load: async () => (await import("./logs-74JGLQG6.js")).logsCommand },
116
- { ...gitSpec, load: async () => (await import("./cli-BOSY6VFP.js")).gitCommand },
117
- { ...mcpSpec, load: async () => (await import("./mcp-B6SYBT3X.js")).mcpCommand },
115
+ { ...logsSpec, load: async () => (await import("./logs-UHJM7ZCL.js")).logsCommand },
116
+ { ...gitSpec, load: async () => (await import("./cli-A6HKRICM.js")).gitCommand },
117
+ { ...mcpSpec, load: async () => (await import("./mcp-T6PYHRUL.js")).mcpCommand },
118
118
  {
119
119
  ...validateSpec,
120
120
  load: async () => (await import("./validate-KFBCUFI4.js")).validateCommand
@@ -125,16 +125,16 @@ var COMMANDS = [
125
125
  },
126
126
  {
127
127
  ...harnessSpec,
128
- load: async () => (await import("./harness-K4WL2NSH.js")).harnessCommand
128
+ load: async () => (await import("./harness-WIGJRE5P.js")).harnessCommand
129
129
  },
130
- { ...tuiSpec, load: async () => (await import("./tui-GORRJIMA.js")).tuiCommand },
130
+ { ...tuiSpec, load: async () => (await import("./tui-PKPYE76A.js")).tuiCommand },
131
131
  {
132
132
  ...marketplaceSpec,
133
133
  load: async () => (await import("./marketplace-G4VQET5W.js")).marketplaceCommand
134
134
  },
135
135
  {
136
136
  ...completionSpec,
137
- load: async () => (await import("./completion-V756JVX6.js")).completionCommand
137
+ load: async () => (await import("./completion-FDLVWLAC.js")).completionCommand
138
138
  }
139
139
  ];
140
140
  var PLANNED = [];
@@ -148,4 +148,4 @@ export {
148
148
  PLANNED,
149
149
  commandNamed
150
150
  };
151
- //# sourceMappingURL=chunk-VGW3N3HC.js.map
151
+ //# sourceMappingURL=chunk-CALWIRAI.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  readFixtures,
6
6
  smoke
7
- } from "./chunk-OMIIXLMO.js";
7
+ } from "./chunk-7DYWCQVB.js";
8
8
  import {
9
9
  ArgumentError
10
10
  } from "./chunk-A4PKLESO.js";
@@ -50,4 +50,4 @@ export {
50
50
  printSmoke,
51
51
  run
52
52
  };
53
- //# sourceMappingURL=chunk-W6GA5RAW.js.map
53
+ //# sourceMappingURL=chunk-CILQCERV.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-5ZABTVSW.js";
4
4
  import {
5
5
  dependencies
6
- } from "./chunk-BUD3WS4Y.js";
6
+ } from "./chunk-RZZZHQCE.js";
7
7
  import {
8
8
  interactiveEntry
9
9
  } from "./chunk-LMT3PPXJ.js";
10
10
  import {
11
11
  assertNativeHost
12
- } from "./chunk-T6MQPVLH.js";
12
+ } from "./chunk-7Q3AIS4Q.js";
13
13
 
14
14
  // src/tui/startup/host.ts
15
15
  function terminalSupport() {
@@ -42,4 +42,4 @@ export {
42
42
  terminalSupport,
43
43
  requireTerminal
44
44
  };
45
- //# sourceMappingURL=chunk-U3IHGG7X.js.map
45
+ //# sourceMappingURL=chunk-ESCOMAPX.js.map
@@ -3,8 +3,9 @@ import {
3
3
  } from "./chunk-2Q6MNGU5.js";
4
4
  import {
5
5
  readStoreSettings,
6
- resolveLeaseFiles
7
- } from "./chunk-MR5IBS6L.js";
6
+ resolveLeaseFiles,
7
+ resolvePauseFile
8
+ } from "./chunk-7I7O7ZNT.js";
8
9
  import {
9
10
  expandPath,
10
11
  projectStateDir
@@ -365,7 +366,15 @@ function loadGit(cwd, configPath, env) {
365
366
  project.raw["git"]
366
367
  );
367
368
  const leaseFiles = resolveLeaseFiles(settings.leaseFiles, dirname(tree));
368
- return { config, ctx, stateDir, gateTree: tree, leaseFiles };
369
+ const pauseFile = resolvePauseFile(settings.pauseFile, dirname(tree));
370
+ return {
371
+ config,
372
+ ctx,
373
+ stateDir,
374
+ gateTree: tree,
375
+ leaseFiles,
376
+ ...pauseFile ? { pauseFile } : {}
377
+ };
369
378
  }
370
379
  function gateTreePath(setup) {
371
380
  return setup.gateTree;
@@ -383,4 +392,4 @@ export {
383
392
  gateTreePath,
384
393
  leaseSpecs
385
394
  };
386
- //# sourceMappingURL=chunk-NFJ44OE2.js.map
395
+ //# sourceMappingURL=chunk-FE7WOHZM.js.map
@@ -7,7 +7,7 @@ import {
7
7
  prepare,
8
8
  present,
9
9
  writeNative
10
- } from "./chunk-KLWZZTUQ.js";
10
+ } from "./chunk-ONYZIC2F.js";
11
11
  import {
12
12
  ANTIGRAVITY_MCP_PLUGIN,
13
13
  BUNDLE_NATIVE_FILES,
@@ -21,16 +21,16 @@ import {
21
21
  same,
22
22
  splitKeyed,
23
23
  withoutBlock
24
- } from "./chunk-4Z6NPSWX.js";
24
+ } from "./chunk-MLGXDSHZ.js";
25
25
  import {
26
26
  HOOK_DIRECTORY
27
- } from "./chunk-OMIIXLMO.js";
27
+ } from "./chunk-7DYWCQVB.js";
28
28
  import {
29
29
  LOCK_FILE,
30
30
  replaceFile,
31
31
  replaceLink,
32
32
  writeLock
33
- } from "./chunk-NAXUAC5S.js";
33
+ } from "./chunk-ULFV3EIZ.js";
34
34
  import {
35
35
  RULES_DIR,
36
36
  legacyLinks
@@ -400,4 +400,4 @@ export {
400
400
  unmanagedHooks,
401
401
  describeHookProblem
402
402
  };
403
- //# sourceMappingURL=chunk-5A7QRZP6.js.map
403
+ //# sourceMappingURL=chunk-HV52EUSL.js.map
@@ -7,20 +7,20 @@ import {
7
7
  observeSession,
8
8
  openGroup,
9
9
  runOperation
10
- } from "./chunk-GE2PHR35.js";
10
+ } from "./chunk-NQFULJZC.js";
11
11
  import {
12
12
  nativeHostTools
13
- } from "./chunk-T6MQPVLH.js";
13
+ } from "./chunk-7Q3AIS4Q.js";
14
14
  import {
15
15
  locateExecutable
16
16
  } from "./chunk-R2GPCZUX.js";
17
17
  import {
18
18
  artifact,
19
19
  stateDirectory
20
- } from "./chunk-D2DDM5VZ.js";
20
+ } from "./chunk-UQNRGU3V.js";
21
21
  import {
22
22
  ptyBinary
23
- } from "./chunk-NAXUAC5S.js";
23
+ } from "./chunk-ULFV3EIZ.js";
24
24
  import {
25
25
  GroupStore,
26
26
  privateJson
@@ -249,4 +249,4 @@ async function invoke(operation) {
249
249
  export {
250
250
  invoke
251
251
  };
252
- //# sourceMappingURL=chunk-SKOP4ZST.js.map
252
+ //# sourceMappingURL=chunk-ICZH4NFR.js.map
@@ -0,0 +1,7 @@
1
+ // src/commands/version.ts
2
+ var VERSION = "0.22.3";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-JTRFZQTB.js.map
@@ -1190,7 +1190,7 @@ function registerReadTool(server, tools) {
1190
1190
 
1191
1191
  // src/mcp.ts
1192
1192
  var SERVER_NAME = "pmcp";
1193
- var SERVER_VERSION = "0.22.2";
1193
+ var SERVER_VERSION = "0.22.3";
1194
1194
  var MAX_TOOL_INPUT_ELEMENTS = 1e4;
1195
1195
  function registerSkillTools(server, tools) {
1196
1196
  registerCatalogTool(server, tools);
@@ -1247,4 +1247,4 @@ export {
1247
1247
  registerSkillTools,
1248
1248
  createSkillServer
1249
1249
  };
1250
- //# sourceMappingURL=chunk-G25LCRIG.js.map
1250
+ //# sourceMappingURL=chunk-JUG4W7RF.js.map
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  leaseSpecs,
30
30
  readGitConfig
31
- } from "./chunk-NFJ44OE2.js";
31
+ } from "./chunk-FE7WOHZM.js";
32
32
  import {
33
33
  detect
34
34
  } from "./chunk-2Q6MNGU5.js";
@@ -36,7 +36,7 @@ import {
36
36
  inboxKey,
37
37
  noticeOf,
38
38
  readStoreSettings
39
- } from "./chunk-MR5IBS6L.js";
39
+ } from "./chunk-7I7O7ZNT.js";
40
40
  import {
41
41
  STATE_FILES,
42
42
  runtimePid
@@ -58,7 +58,7 @@ import {
58
58
  RUNTIME_IDS,
59
59
  climbCommand,
60
60
  readTestTable
61
- } from "./chunk-OMIIXLMO.js";
61
+ } from "./chunk-7DYWCQVB.js";
62
62
  import {
63
63
  TOOLS
64
64
  } from "./chunk-V4NPDK6X.js";
@@ -68,7 +68,7 @@ import {
68
68
  readHost,
69
69
  readLock,
70
70
  readLockFile
71
- } from "./chunk-NAXUAC5S.js";
71
+ } from "./chunk-ULFV3EIZ.js";
72
72
  import {
73
73
  ProjectError,
74
74
  RULES_DIR,
@@ -3535,7 +3535,7 @@ function classEnd(pattern, start) {
3535
3535
  function patternCost(pattern, flavor, onlyMatching, limits) {
3536
3536
  const largest = Math.max(0, ...repetitionCounts(pattern, flavor));
3537
3537
  if (largest > limits.threshold)
3538
- return `a repetition count of ${largest} (the limit is ${limits.threshold})`;
3538
+ return `a repetition count of ${largest} (the limit is ${limits.threshold}), whose cost is in compiling the pattern, so even an empty input holds the core`;
3539
3539
  if (flavor === "perl" && nestedQuantifier(pattern))
3540
3540
  return "a -P pattern with a quantified group inside a quantifier, such as (a+)+ or (.*)*";
3541
3541
  if (limits.onlyMatchingWildcards && onlyMatching && (pattern.match(/\.\*/gu) ?? []).length > 1)
@@ -4905,6 +4905,7 @@ function readHooksTable(table3, tools) {
4905
4905
  var KEYS5 = [
4906
4906
  "store",
4907
4907
  "state_dir",
4908
+ "pause_file",
4908
4909
  "registry",
4909
4910
  "pause",
4910
4911
  "broadcast",
@@ -5141,6 +5142,7 @@ function compileHooks(tables, options2) {
5141
5142
  ...sessions.mailbox?.enabled ? { mailbox: sessions.mailbox } : {},
5142
5143
  // Only when declared, like the mailbox, so other projects keep the same policy.json.
5143
5144
  ...sessions.leaseFiles ? { leaseFiles: sessions.leaseFiles } : {},
5145
+ ...sessions.pauseFile ? { pauseFile: sessions.pauseFile } : {},
5144
5146
  ...sessions.gate ? { gate: sessions.gate } : {}
5145
5147
  },
5146
5148
  guards,
@@ -5424,4 +5426,4 @@ export {
5424
5426
  checkBudget,
5425
5427
  readSpec
5426
5428
  };
5427
- //# sourceMappingURL=chunk-4Z6NPSWX.js.map
5429
+ //# sourceMappingURL=chunk-MLGXDSHZ.js.map
@@ -5,10 +5,10 @@ import {
5
5
  POLICIES,
6
6
  customMode,
7
7
  customPolicy
8
- } from "./chunk-4Z6NPSWX.js";
8
+ } from "./chunk-MLGXDSHZ.js";
9
9
  import {
10
10
  RUNTIMES
11
- } from "./chunk-OMIIXLMO.js";
11
+ } from "./chunk-7DYWCQVB.js";
12
12
 
13
13
  // src/hooks/inspection/list.ts
14
14
  function policyRows(compiled) {
@@ -42,4 +42,4 @@ function policyRows(compiled) {
42
42
  export {
43
43
  policyRows
44
44
  };
45
- //# sourceMappingURL=chunk-GZQH3RJA.js.map
45
+ //# sourceMappingURL=chunk-MQMWVJZB.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RPCIROW7.js";
4
4
  import {
5
5
  readSpec
6
- } from "./chunk-4Z6NPSWX.js";
6
+ } from "./chunk-MLGXDSHZ.js";
7
7
  import {
8
8
  ArgumentError
9
9
  } from "./chunk-A4PKLESO.js";
@@ -25,4 +25,4 @@ function serverFrom(context) {
25
25
  export {
26
26
  serverFrom
27
27
  };
28
- //# sourceMappingURL=chunk-U2NWTZQP.js.map
28
+ //# sourceMappingURL=chunk-MZF7VOQA.js.map