@modootoday/pmcp 0.22.2 → 0.22.4

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 (104) 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-D2VIRMFY.js} +13 -13
  6. package/dist/{broadcast-ZALGUJVR.js → broadcast-DZGMSZRG.js} +3 -3
  7. package/dist/{chunk-XZ2TDH3J.js → chunk-2A3F7ID4.js} +14 -5
  8. package/dist/{chunk-JP27V2H4.js → chunk-3IX5TBRW.js} +2 -2
  9. package/dist/{chunk-ZYLJUABY.js → chunk-5KA3RS5Y.js} +2 -2
  10. package/dist/{chunk-57Q75MS4.js → chunk-5QKXEWDB.js} +2 -2
  11. package/dist/{chunk-OMIIXLMO.js → chunk-7DYWCQVB.js} +1 -1
  12. package/dist/{chunk-MR5IBS6L.js → chunk-7I7O7ZNT.js} +41 -10
  13. package/dist/{chunk-U3IHGG7X.js → chunk-7XK2KWLJ.js} +3 -3
  14. package/dist/{chunk-7FV2LORT.js → chunk-B2WRYGHJ.js} +4 -3
  15. package/dist/{chunk-W6GA5RAW.js → chunk-CILQCERV.js} +2 -2
  16. package/dist/{chunk-5F7TL3V7.js → chunk-CPFJ7J4G.js} +6 -6
  17. package/dist/{chunk-NAXUAC5S.js → chunk-F34XIDXT.js} +2 -2
  18. package/dist/{chunk-NFJ44OE2.js → chunk-FE7WOHZM.js} +13 -4
  19. package/dist/{chunk-4Z6NPSWX.js → chunk-FFCDSSKA.js} +126 -37
  20. package/dist/{chunk-D2DDM5VZ.js → chunk-H45C5W2P.js} +2 -2
  21. package/dist/chunk-HOTGJQIV.js +7 -0
  22. package/dist/{chunk-G25LCRIG.js → chunk-JJT5XRMV.js} +2 -2
  23. package/dist/{chunk-SKOP4ZST.js → chunk-JONJ75SF.js} +5 -5
  24. package/dist/{chunk-GE2PHR35.js → chunk-KR6PFEWU.js} +3 -3
  25. package/dist/{chunk-U2NWTZQP.js → chunk-MIIGZRVC.js} +2 -2
  26. package/dist/{chunk-KLWZZTUQ.js → chunk-MTVRKWQI.js} +3 -3
  27. package/dist/{chunk-VGW3N3HC.js → chunk-NDY3T7Z4.js} +14 -14
  28. package/dist/{chunk-BUD3WS4Y.js → chunk-PFHSFYQB.js} +2 -2
  29. package/dist/{chunk-5A7QRZP6.js → chunk-QUBU3ETR.js} +5 -5
  30. package/dist/{chunk-KUBHGVTD.js → chunk-RRPNPZ6I.js} +16 -10
  31. package/dist/{chunk-GZQH3RJA.js → chunk-T7SLHAHQ.js} +3 -3
  32. package/dist/{chunk-FOIQUPIQ.js → chunk-TAVFL3YB.js} +2 -2
  33. package/dist/{chunk-T6MQPVLH.js → chunk-W4W3EHQP.js} +2 -2
  34. package/dist/{cli-6FWRBCWM.js → cli-34EDFXJA.js} +8 -8
  35. package/dist/{cli-BOSY6VFP.js → cli-VCKKTXUU.js} +6 -6
  36. package/dist/cli.js +3 -3
  37. package/dist/{completion-V756JVX6.js → completion-AAEBLVVB.js} +2 -2
  38. package/dist/{diagnostics-R7S3DNXD.js → diagnostics-3XI6SJXF.js} +5 -5
  39. package/dist/{doctor-44S5EWK5.js → doctor-GAJKPOKS.js} +14 -14
  40. package/dist/{entry-GSGCMXE5.js → entry-GZCLQTIN.js} +9 -9
  41. package/dist/{exec-mcp-3COXHDYT.js → exec-mcp-3V34UNPH.js} +10 -10
  42. package/dist/{harness-K4WL2NSH.js → harness-YH6U6MNV.js} +3 -3
  43. package/dist/harness-launch-gate.js +3 -3
  44. package/dist/harness-worker.js +5 -5
  45. package/dist/hook-body.js +281 -138
  46. package/dist/{hook-spec-hZL4MSgi.d.ts → hook-spec-Bd24eo2L.d.ts} +1 -0
  47. package/dist/{hooks-HQOLXR3A.js → hooks-JWB7D4ZB.js} +4 -4
  48. package/dist/{host-N5UILUK7.js → host-DLBXM72V.js} +6 -6
  49. package/dist/{host-4W3JUQAO.js → host-LNH3TUR5.js} +12 -12
  50. package/dist/{host-run-CVYRZB7R.js → host-run-FVO5PZK2.js} +4 -4
  51. package/dist/http.js +1 -1
  52. package/dist/{import-mcp-IAGC3LJU.js → import-mcp-O553FGF3.js} +9 -9
  53. package/dist/index.d.ts +2 -2
  54. package/dist/index.js +13 -13
  55. package/dist/{init-HPEVKKMU.js → init-A6AAIGJU.js} +2 -2
  56. package/dist/{invoke-TD5YR2G7.js → invoke-GDELKQCE.js} +7 -7
  57. package/dist/{list-YUHJ5CTT.js → list-CQ4CPNWI.js} +11 -11
  58. package/dist/{logout-JQ5UPC5W.js → logout-TG32MVMB.js} +10 -10
  59. package/dist/{logs-74JGLQG6.js → logs-UHJM7ZCL.js} +3 -3
  60. package/dist/{mailbox-VK5AVTHI.js → mailbox-NIMBOQPA.js} +3 -3
  61. package/dist/{mainline-7HO7RCQH.js → mainline-FMZ44NFC.js} +31 -14
  62. package/dist/{mcp-B6SYBT3X.js → mcp-UYQVTWEF.js} +2 -2
  63. package/dist/{pause-CZ2OZYLC.js → pause-CBZ3BTJL.js} +3 -3
  64. package/dist/project/hook-adapter.d.ts +1 -1
  65. package/dist/{project-GOW2MEFY.js → project-NOTN6SMK.js} +4 -4
  66. package/dist/{report-Z3JV2PCT.js → report-ZHOHQ4PZ.js} +3 -3
  67. package/dist/{resume-DFIHT2RO.js → resume-UJEWQ66P.js} +3 -3
  68. package/dist/{run-7UNRLLYD.js → run-77MDEDAX.js} +9 -9
  69. package/dist/{run-ZOSIKNDX.js → run-S5M6ZUUH.js} +4 -4
  70. package/dist/{serve-VRBL67KO.js → serve-YNHUW5PQ.js} +3 -3
  71. package/dist/{setup-QMYAW3MB.js → setup-HYEYYVDU.js} +3 -3
  72. package/dist/{smoke-EXPR7HLD.js → smoke-UA7VVDKD.js} +3 -3
  73. package/dist/{start-login-NRD323LK.js → start-login-SWQVPQG3.js} +10 -10
  74. package/dist/{status-3RTGDN2K.js → status-KN2ZE64O.js} +3 -3
  75. package/dist/{status-JN2GT5UM.js → status-NGO7AC3U.js} +12 -12
  76. package/dist/{status-ZY5B7V6R.js → status-YPFUSE7K.js} +10 -10
  77. package/dist/stdio.js +2 -2
  78. package/dist/{sweep-EPJMEZR6.js → sweep-EPZCW63Q.js} +3 -3
  79. package/dist/{test-VGJXKCQT.js → test-2UYV4LSU.js} +23 -16
  80. package/dist/{tui-GORRJIMA.js → tui-ZKP3D5JM.js} +4 -4
  81. package/dist/{unbroadcast-NTOC3PY3.js → unbroadcast-N6LXHAMT.js} +3 -3
  82. package/dist/{worker-LJG2NDMK.js → worker-7OBOBMWM.js} +7 -7
  83. package/dist/{worktree-list-EMKUMCTQ.js → worktree-list-6CCHXXOZ.js} +2 -2
  84. package/dist/{worktree-sync-A277AF4M.js → worktree-sync-5ZVA5PUC.js} +3 -3
  85. package/docs/commands.md +1 -1
  86. package/docs/git-workflow.md +7 -2
  87. package/docs/project-configuration.md +1 -0
  88. package/gemini-extension.json +2 -2
  89. package/mcp.json +1 -1
  90. package/package.json +5 -5
  91. package/plugin.json +1 -1
  92. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  93. package/plugins/pmcp/.mcp.json +1 -1
  94. package/plugins/pmcp/gemini-extension.json +2 -2
  95. package/plugins/pmcp/mcp.json +1 -1
  96. package/plugins/pmcp/mod/commands.ts +10 -4
  97. package/plugins/pmcp/mod/host.ts +17 -1
  98. package/plugins/pmcp/mod/reader/read.ts +3 -1
  99. package/plugins/pmcp/mod/reader/types.ts +2 -0
  100. package/plugins/pmcp/mod/register.tsx +2 -1
  101. package/plugins/pmcp/mod/snapshot.ts +1 -0
  102. package/plugins/pmcp/mod/state.ts +1 -0
  103. package/plugins/pmcp/plugin.json +1 -1
  104. 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.4",
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.4",
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.4",
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.4", "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-TAVFL3YB.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,33 +15,33 @@ import {
15
15
  describeHookProblem,
16
16
  project,
17
17
  unmanagedHookProblems
18
- } from "./chunk-5A7QRZP6.js";
18
+ } from "./chunk-QUBU3ETR.js";
19
19
  import "./chunk-P4N7DBD5.js";
20
- import "./chunk-KLWZZTUQ.js";
20
+ import "./chunk-MTVRKWQI.js";
21
21
  import {
22
22
  checkBudget,
23
23
  renderFrontmatter,
24
24
  splitFrontmatter
25
- } from "./chunk-4Z6NPSWX.js";
25
+ } from "./chunk-FFCDSSKA.js";
26
26
  import "./chunk-UKR64U7J.js";
27
- import "./chunk-XZ2TDH3J.js";
28
- import "./chunk-KUBHGVTD.js";
27
+ import "./chunk-2A3F7ID4.js";
28
+ import "./chunk-RRPNPZ6I.js";
29
29
  import "./chunk-EATCUWGG.js";
30
30
  import "./chunk-OFJIMBTL.js";
31
31
  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-F34XIDXT.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-HOTGJQIV.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-D2VIRMFY.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
@@ -1,7 +1,8 @@
1
1
  import {
2
+ GitReadError,
2
3
  cherry,
3
4
  distance
4
- } from "./chunk-KUBHGVTD.js";
5
+ } from "./chunk-RRPNPZ6I.js";
5
6
  import {
6
7
  reportModes,
7
8
  restoreModes,
@@ -178,15 +179,23 @@ function updateToPins(root, paths) {
178
179
 
179
180
  // src/git/worktrees/sync.ts
180
181
  function heldBy(root, upstream, ahead) {
181
- const dirty = gitText(root, [
182
+ const status = git(root, [
182
183
  "status",
183
184
  "--porcelain",
184
185
  "--untracked-files=no",
185
186
  "--ignore-submodules=all"
186
187
  ]);
187
- if (dirty) return "uncommitted changes";
188
+ if (status.status !== 0)
189
+ return `git status failed (exit ${status.status}): ${status.stderr.trim()}`;
190
+ if (status.stdout.trim()) return "uncommitted changes";
188
191
  if (ahead === 0) return null;
189
- const own = cherry(root, upstream).missing.length;
192
+ let own;
193
+ try {
194
+ own = cherry(root, upstream).missing.length;
195
+ } catch (error) {
196
+ if (error instanceof GitReadError) return error.message;
197
+ throw error;
198
+ }
190
199
  if (own > 0) return `${own} unlanded commit(s)`;
191
200
  return null;
192
201
  }
@@ -252,4 +261,4 @@ export {
252
261
  followPins,
253
262
  syncWorktree
254
263
  };
255
- //# sourceMappingURL=chunk-XZ2TDH3J.js.map
264
+ //# sourceMappingURL=chunk-2A3F7ID4.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-F34XIDXT.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-3IX5TBRW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSkillServer
3
- } from "./chunk-G25LCRIG.js";
3
+ } from "./chunk-JJT5XRMV.js";
4
4
  import {
5
5
  attachMailbox
6
6
  } from "./chunk-JZKAJUVT.js";
@@ -84,4 +84,4 @@ export {
84
84
  serveWithMailbox,
85
85
  main
86
86
  };
87
- //# sourceMappingURL=chunk-ZYLJUABY.js.map
87
+ //# sourceMappingURL=chunk-5KA3RS5Y.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
@@ -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-PFHSFYQB.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-W4W3EHQP.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-7XK2KWLJ.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
@@ -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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  hostApprovalDoctor
3
- } from "./chunk-JP27V2H4.js";
3
+ } from "./chunk-3IX5TBRW.js";
4
4
  import {
5
5
  wakeableBy
6
6
  } from "./chunk-JQVSDPFL.js";
@@ -12,7 +12,7 @@ import {
12
12
  describeHookProblem,
13
13
  project,
14
14
  unmanagedHooks
15
- } from "./chunk-5A7QRZP6.js";
15
+ } from "./chunk-QUBU3ETR.js";
16
16
  import {
17
17
  ANTIGRAVITY_MCP_PLUGIN,
18
18
  agentNames,
@@ -23,7 +23,7 @@ import {
23
23
  skillNames,
24
24
  splitFrontmatter,
25
25
  uiClaudeDoctor
26
- } from "./chunk-4Z6NPSWX.js";
26
+ } from "./chunk-FFCDSSKA.js";
27
27
  import {
28
28
  pathPmcp,
29
29
  pmcpCommand
@@ -31,13 +31,13 @@ import {
31
31
  import {
32
32
  createFilesStore,
33
33
  inboxKey
34
- } from "./chunk-MR5IBS6L.js";
34
+ } from "./chunk-7I7O7ZNT.js";
35
35
  import {
36
36
  hostDoctor,
37
37
  hostEnvDoctor,
38
38
  ptyBinaryDoctor,
39
39
  readLockFile
40
- } from "./chunk-NAXUAC5S.js";
40
+ } from "./chunk-F34XIDXT.js";
41
41
  import {
42
42
  ProjectError
43
43
  } from "./chunk-NRBQK6UX.js";
@@ -671,4 +671,4 @@ export {
671
671
  spawnRunner,
672
672
  doctor
673
673
  };
674
- //# sourceMappingURL=chunk-5F7TL3V7.js.map
674
+ //# sourceMappingURL=chunk-CPFJ7J4G.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-XWLMZKH2.js";
10
10
  import {
11
11
  VERSION
12
- } from "./chunk-FWKQA6TX.js";
12
+ } from "./chunk-HOTGJQIV.js";
13
13
  import {
14
14
  ConfigError
15
15
  } from "./chunk-GJXOFDJT.js";
@@ -598,4 +598,4 @@ export {
598
598
  hostEnvDoctor,
599
599
  hostDoctor
600
600
  };
601
- //# sourceMappingURL=chunk-NAXUAC5S.js.map
601
+ //# sourceMappingURL=chunk-F34XIDXT.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