@modootoday/pmcp 0.22.1 → 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 (103) 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-VMOFDOCN.js → apply-CYVC5LDG.js} +15 -14
  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-5YCKFU5Q.js → chunk-7DYWCQVB.js} +1 -1
  9. package/dist/{chunk-MR5IBS6L.js → chunk-7I7O7ZNT.js} +41 -10
  10. package/dist/{chunk-ALX7BECI.js → chunk-7LUYI7QM.js} +2 -2
  11. package/dist/{chunk-M5LC5TKQ.js → chunk-7Q3AIS4Q.js} +2 -2
  12. package/dist/{chunk-7FV2LORT.js → chunk-B2WRYGHJ.js} +4 -3
  13. package/dist/{chunk-P2LJADGI.js → chunk-CALWIRAI.js} +14 -14
  14. package/dist/{chunk-2GI5RM3M.js → chunk-CILQCERV.js} +2 -2
  15. package/dist/{chunk-XYEI7KRO.js → chunk-ESCOMAPX.js} +3 -3
  16. package/dist/{chunk-GBKRDRMZ.js → chunk-FE7WOHZM.js} +17 -5
  17. package/dist/{chunk-D5BLJIAA.js → chunk-HV52EUSL.js} +9 -9
  18. package/dist/{chunk-GRRURNVA.js → chunk-ICZH4NFR.js} +5 -5
  19. package/dist/chunk-JTRFZQTB.js +7 -0
  20. package/dist/{chunk-3W2GELNR.js → chunk-JUG4W7RF.js} +2 -2
  21. package/dist/{chunk-6HCEEC6V.js → chunk-MLGXDSHZ.js} +17 -15
  22. package/dist/{chunk-TMXWSGXH.js → chunk-MQMWVJZB.js} +3 -3
  23. package/dist/{chunk-3TS3CX3R.js → chunk-MZF7VOQA.js} +2 -2
  24. package/dist/{chunk-SB6X342E.js → chunk-NQFULJZC.js} +3 -3
  25. package/dist/{chunk-V6LLHO4S.js → chunk-ONYZIC2F.js} +7 -7
  26. package/dist/{chunk-DPVLHB3K.js → chunk-PR2RBEXI.js} +2 -2
  27. package/dist/{chunk-XWAE3VEQ.js → chunk-RZZZHQCE.js} +2 -2
  28. package/dist/{chunk-UVGW56SY.js → chunk-ULFV3EIZ.js} +27 -7
  29. package/dist/{chunk-FHK5BE2D.js → chunk-UQNRGU3V.js} +2 -2
  30. package/dist/{chunk-NYA4GX44.js → chunk-V7LZTVWS.js} +2 -2
  31. package/dist/{chunk-OKMWYNZF.js → chunk-WPX4ONFT.js} +24 -7
  32. package/dist/chunk-XWLMZKH2.js +12 -0
  33. package/dist/{cli-6FWRBCWM.js → cli-34EDFXJA.js} +8 -8
  34. package/dist/{cli-BEEDAD4E.js → cli-A6HKRICM.js} +4 -4
  35. package/dist/cli.js +3 -3
  36. package/dist/{completion-XA7SR2OU.js → completion-FDLVWLAC.js} +2 -2
  37. package/dist/{diagnostics-AYSD3454.js → diagnostics-DYLW7WYV.js} +7 -5
  38. package/dist/{doctor-PDLZL4BR.js → doctor-FRQ5H5FU.js} +21 -14
  39. package/dist/{entry-5CKOI3QK.js → entry-XPZZNQ4L.js} +11 -9
  40. package/dist/{exec-mcp-EJZVPVU5.js → exec-mcp-HOM2ZANM.js} +12 -11
  41. package/dist/{harness-VMQJY3KY.js → harness-WIGJRE5P.js} +3 -3
  42. package/dist/harness-launch-gate.js +5 -3
  43. package/dist/harness-worker.js +7 -5
  44. package/dist/hook-body.js +189 -76
  45. package/dist/{hook-spec-hZL4MSgi.d.ts → hook-spec-Bd24eo2L.d.ts} +1 -0
  46. package/dist/{hooks-SKD67KMA.js → hooks-MIF3FONJ.js} +4 -4
  47. package/dist/{host-GY2LFEZX.js → host-CE5TW5SC.js} +12 -11
  48. package/dist/{host-4BA3LM7Z.js → host-JKZLOCZS.js} +8 -6
  49. package/dist/{host-run-X3VDTIQ2.js → host-run-MJGJ7NVE.js} +6 -4
  50. package/dist/http.js +1 -1
  51. package/dist/{import-mcp-G2VTD5KR.js → import-mcp-T3GZYEE5.js} +11 -10
  52. package/dist/index.d.ts +2 -2
  53. package/dist/index.js +16 -15
  54. package/dist/{init-JEK3QUAK.js → init-D5VPDF2B.js} +2 -2
  55. package/dist/{invoke-7BUFBFJU.js → invoke-HEAOQLFQ.js} +9 -7
  56. package/dist/{list-D3Y3TIC6.js → list-PCLCFG2J.js} +11 -10
  57. package/dist/{logout-T4JLFE2D.js → logout-3ZXFXKHB.js} +10 -9
  58. package/dist/{logs-74JGLQG6.js → logs-UHJM7ZCL.js} +3 -3
  59. package/dist/{mailbox-VK5AVTHI.js → mailbox-NIMBOQPA.js} +3 -3
  60. package/dist/{mainline-Q42M2GJ2.js → mainline-6CTSVOWP.js} +63 -29
  61. package/dist/{mcp-GPIHVL65.js → mcp-T6PYHRUL.js} +2 -2
  62. package/dist/{pause-CZ2OZYLC.js → pause-CBZ3BTJL.js} +3 -3
  63. package/dist/project/hook-adapter.d.ts +1 -1
  64. package/dist/{project-6QRKXOMM.js → project-H4R3Q3QO.js} +7 -7
  65. package/dist/{report-Z3JV2PCT.js → report-ZHOHQ4PZ.js} +3 -3
  66. package/dist/{resume-DFIHT2RO.js → resume-UJEWQ66P.js} +3 -3
  67. package/dist/{run-YHOLKUYB.js → run-FMTHUOAZ.js} +4 -4
  68. package/dist/{run-MVP22ENA.js → run-V74M7PZK.js} +9 -8
  69. package/dist/{serve-EAESQK2I.js → serve-JKNEC4AX.js} +3 -3
  70. package/dist/{setup-3GET6K3J.js → setup-HYEYYVDU.js} +3 -3
  71. package/dist/{smoke-FQQJOQBD.js → smoke-UA7VVDKD.js} +4 -3
  72. package/dist/{start-login-K3TAZ3IH.js → start-login-JRMVLK5J.js} +10 -9
  73. package/dist/{status-25DRPV7U.js → status-6273XFHT.js} +10 -9
  74. package/dist/{status-3RTGDN2K.js → status-KN2ZE64O.js} +3 -3
  75. package/dist/{status-DPPNTGHB.js → status-RG2GFDQU.js} +12 -11
  76. package/dist/stdio.js +2 -2
  77. package/dist/{sweep-EPJMEZR6.js → sweep-EPZCW63Q.js} +3 -3
  78. package/dist/{test-I2V5AMQF.js → test-M365FK5N.js} +23 -15
  79. package/dist/{tui-VCEN2L5I.js → tui-PKPYE76A.js} +4 -4
  80. package/dist/{unbroadcast-NTOC3PY3.js → unbroadcast-N6LXHAMT.js} +3 -3
  81. package/dist/{worker-NPQFYEBU.js → worker-C23EAPCY.js} +9 -7
  82. package/docs/commands.md +1 -1
  83. package/docs/git-workflow.md +21 -12
  84. package/docs/hooks.md +7 -1
  85. package/docs/project-configuration.md +1 -0
  86. package/docs/upgrading.md +13 -0
  87. package/gemini-extension.json +2 -2
  88. package/mcp.json +1 -1
  89. package/package.json +5 -5
  90. package/plugin.json +1 -1
  91. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  92. package/plugins/pmcp/.mcp.json +1 -1
  93. package/plugins/pmcp/gemini-extension.json +2 -2
  94. package/plugins/pmcp/mcp.json +1 -1
  95. package/plugins/pmcp/mod/commands.ts +10 -4
  96. package/plugins/pmcp/mod/host.ts +17 -1
  97. package/plugins/pmcp/mod/reader/read.ts +3 -1
  98. package/plugins/pmcp/mod/reader/types.ts +2 -0
  99. package/plugins/pmcp/mod/register.tsx +2 -1
  100. package/plugins/pmcp/mod/snapshot.ts +1 -0
  101. package/plugins/pmcp/mod/state.ts +1 -0
  102. package/plugins/pmcp/plugin.json +1 -1
  103. package/dist/chunk-ACHBHIGD.js +0 -7
@@ -612,7 +612,7 @@
612
612
  },
613
613
  {
614
614
  "name": "pmcp",
615
- "version": "0.22.1",
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.1",
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.1",
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.1", "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-DPVLHB3K.js";
6
+ } from "./chunk-PR2RBEXI.js";
7
7
  import {
8
8
  printSmoke,
9
9
  runSmoke
10
- } from "./chunk-2GI5RM3M.js";
10
+ } from "./chunk-CILQCERV.js";
11
11
  import {
12
12
  configFrom
13
13
  } from "./chunk-RPCIROW7.js";
@@ -15,36 +15,33 @@ import {
15
15
  describeHookProblem,
16
16
  project,
17
17
  unmanagedHookProblems
18
- } from "./chunk-D5BLJIAA.js";
18
+ } from "./chunk-HV52EUSL.js";
19
19
  import "./chunk-P4N7DBD5.js";
20
- import "./chunk-V6LLHO4S.js";
20
+ import "./chunk-ONYZIC2F.js";
21
21
  import {
22
22
  checkBudget,
23
23
  renderFrontmatter,
24
24
  splitFrontmatter
25
- } from "./chunk-6HCEEC6V.js";
25
+ } from "./chunk-MLGXDSHZ.js";
26
26
  import "./chunk-UKR64U7J.js";
27
27
  import "./chunk-XZ2TDH3J.js";
28
28
  import "./chunk-KUBHGVTD.js";
29
29
  import "./chunk-EATCUWGG.js";
30
30
  import "./chunk-OFJIMBTL.js";
31
- import {
32
- ProjectError
33
- } from "./chunk-NRBQK6UX.js";
34
31
  import "./chunk-LFFIQBNY.js";
35
32
  import "./chunk-HQOB7OQS.js";
36
33
  import "./chunk-73AKO4UL.js";
37
34
  import "./chunk-P6LNYYYH.js";
38
- import "./chunk-GBKRDRMZ.js";
35
+ import "./chunk-FE7WOHZM.js";
39
36
  import "./chunk-2Q6MNGU5.js";
40
- import "./chunk-MR5IBS6L.js";
37
+ import "./chunk-7I7O7ZNT.js";
41
38
  import "./chunk-Z6WRFOFT.js";
42
39
  import "./chunk-G7JONWL4.js";
43
40
  import "./chunk-Q5H3L6Y4.js";
44
41
  import {
45
42
  RUNTIMES,
46
43
  readTestTable
47
- } from "./chunk-5YCKFU5Q.js";
44
+ } from "./chunk-7DYWCQVB.js";
48
45
  import "./chunk-JEL35P7S.js";
49
46
  import {
50
47
  ArgumentError
@@ -56,10 +53,14 @@ import {
56
53
  import "./chunk-YSAWTGNA.js";
57
54
  import {
58
55
  recordProjector
59
- } from "./chunk-UVGW56SY.js";
56
+ } from "./chunk-ULFV3EIZ.js";
57
+ import {
58
+ ProjectError
59
+ } from "./chunk-NRBQK6UX.js";
60
60
  import "./chunk-OEH47H6A.js";
61
61
  import "./chunk-IJBSOWHK.js";
62
- import "./chunk-ACHBHIGD.js";
62
+ import "./chunk-XWLMZKH2.js";
63
+ import "./chunk-JTRFZQTB.js";
63
64
  import "./chunk-GJXOFDJT.js";
64
65
  import "./chunk-PMJG2CXF.js";
65
66
  import "./chunk-J6KL3COD.js";
@@ -274,4 +275,4 @@ export {
274
275
  projectOrCheck,
275
276
  removeAndProject
276
277
  };
277
- //# sourceMappingURL=apply-VMOFDOCN.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-5YCKFU5Q.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-UVGW56SY.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-ALX7BECI.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-UVGW56SY.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-M5LC5TKQ.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-DPPNTGHB.js")).statusCommand
64
+ load: async () => (await import("./status-RG2GFDQU.js")).statusCommand
65
65
  },
66
- { ...initSpec, load: async () => (await import("./init-JEK3QUAK.js")).initCommand },
67
- { ...hooksSpec, load: async () => (await import("./hooks-SKD67KMA.js")).hooksCommand },
68
- { ...serveSpec, load: async () => (await import("./serve-EAESQK2I.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-6QRKXOMM.js")).projectCommand
105
+ load: async () => (await import("./project-H4R3Q3QO.js")).projectCommand
106
106
  },
107
107
  {
108
108
  ...doctorSpec,
109
- load: async () => (await import("./doctor-PDLZL4BR.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-BEEDAD4E.js")).gitCommand },
117
- { ...mcpSpec, load: async () => (await import("./mcp-GPIHVL65.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-VMQJY3KY.js")).harnessCommand
128
+ load: async () => (await import("./harness-WIGJRE5P.js")).harnessCommand
129
129
  },
130
- { ...tuiSpec, load: async () => (await import("./tui-VCEN2L5I.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-XA7SR2OU.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-P2LJADGI.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-5YCKFU5Q.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-2GI5RM3M.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-XWAE3VEQ.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-M5LC5TKQ.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-XYEI7KRO.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
@@ -170,10 +171,12 @@ function gate(path, dir, source) {
170
171
  "lock_env",
171
172
  "tree_env",
172
173
  "log_dir",
174
+ "log_keep",
173
175
  "max_load",
174
176
  "load_wait_seconds"
175
177
  ]);
176
178
  const tree = read.string("tree");
179
+ const logKeep = read.positive("log_keep");
177
180
  const lockEnv = read.envName("lock_env");
178
181
  const treeEnv = read.envName("tree_env");
179
182
  const logDir = read.string("log_dir");
@@ -186,7 +189,8 @@ function gate(path, dir, source) {
186
189
  ...maxLoad ? { maxLoad } : {},
187
190
  ...lockEnv ? { lockEnv } : {},
188
191
  ...treeEnv ? { treeEnv } : {},
189
- ...logDir ? { logDir: expandPath(dir, logDir) } : {}
192
+ ...logDir ? { logDir: expandPath(dir, logDir) } : {},
193
+ ...logKeep ? { logKeep: Math.floor(logKeep) } : {}
190
194
  };
191
195
  }
192
196
  function deliver(path, source) {
@@ -362,7 +366,15 @@ function loadGit(cwd, configPath, env) {
362
366
  project.raw["git"]
363
367
  );
364
368
  const leaseFiles = resolveLeaseFiles(settings.leaseFiles, dirname(tree));
365
- 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
+ };
366
378
  }
367
379
  function gateTreePath(setup) {
368
380
  return setup.gateTree;
@@ -380,4 +392,4 @@ export {
380
392
  gateTreePath,
381
393
  leaseSpecs
382
394
  };
383
- //# sourceMappingURL=chunk-GBKRDRMZ.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-V6LLHO4S.js";
10
+ } from "./chunk-ONYZIC2F.js";
11
11
  import {
12
12
  ANTIGRAVITY_MCP_PLUGIN,
13
13
  BUNDLE_NATIVE_FILES,
@@ -21,20 +21,20 @@ import {
21
21
  same,
22
22
  splitKeyed,
23
23
  withoutBlock
24
- } from "./chunk-6HCEEC6V.js";
25
- import {
26
- RULES_DIR,
27
- legacyLinks
28
- } from "./chunk-NRBQK6UX.js";
24
+ } from "./chunk-MLGXDSHZ.js";
29
25
  import {
30
26
  HOOK_DIRECTORY
31
- } from "./chunk-5YCKFU5Q.js";
27
+ } from "./chunk-7DYWCQVB.js";
32
28
  import {
33
29
  LOCK_FILE,
34
30
  replaceFile,
35
31
  replaceLink,
36
32
  writeLock
37
- } from "./chunk-UVGW56SY.js";
33
+ } from "./chunk-ULFV3EIZ.js";
34
+ import {
35
+ RULES_DIR,
36
+ legacyLinks
37
+ } from "./chunk-NRBQK6UX.js";
38
38
 
39
39
  // src/project/apply/files.ts
40
40
  import { mkdirSync } from "fs";
@@ -400,4 +400,4 @@ export {
400
400
  unmanagedHooks,
401
401
  describeHookProblem
402
402
  };
403
- //# sourceMappingURL=chunk-D5BLJIAA.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-SB6X342E.js";
10
+ } from "./chunk-NQFULJZC.js";
11
11
  import {
12
12
  nativeHostTools
13
- } from "./chunk-M5LC5TKQ.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-FHK5BE2D.js";
20
+ } from "./chunk-UQNRGU3V.js";
21
21
  import {
22
22
  ptyBinary
23
- } from "./chunk-UVGW56SY.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-GRRURNVA.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.1";
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-3W2GELNR.js.map
1250
+ //# sourceMappingURL=chunk-JUG4W7RF.js.map