@modootoday/pmcp 0.18.4 → 0.19.0

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-75UWIUVQ.js → apply-JVLYYXAG.js} +16 -17
  6. package/dist/{broadcast-CBMVOV3G.js → broadcast-56NPEJWM.js} +3 -4
  7. package/dist/{chunk-JS5RTH4I.js → chunk-2Q6MNGU5.js} +2 -2
  8. package/dist/{chunk-YSUINA5Q.js → chunk-3O3FS6KM.js} +8 -8
  9. package/dist/{chunk-6UXJ62XJ.js → chunk-3TG3KVHZ.js} +3 -3
  10. package/dist/{chunk-LGO2SZAS.js → chunk-47ZGCZQA.js} +2 -2
  11. package/dist/{chunk-TFRJ5QOS.js → chunk-4LV7KDTS.js} +3 -3
  12. package/dist/{chunk-DAR6RGRN.js → chunk-6MZTOC6H.js} +2 -2
  13. package/dist/{chunk-LFR245MZ.js → chunk-CYQIAEQT.js} +5 -5
  14. package/dist/{chunk-DCU2EXQV.js → chunk-D5D3V6RU.js} +4 -4
  15. package/dist/{chunk-LTZH5E3G.js → chunk-DHAPQUEF.js} +235 -30
  16. package/dist/{chunk-LBXO4VPG.js → chunk-E4FJOLPJ.js} +6 -3
  17. package/dist/chunk-FGEBSQQJ.js +7 -0
  18. package/dist/{chunk-OPYFEHKG.js → chunk-G7JONWL4.js} +29 -1
  19. package/dist/{chunk-4JUSGIMX.js → chunk-HEPSITZX.js} +2 -2
  20. package/dist/{chunk-YRGDWUFY.js → chunk-IEK4U5RR.js} +2 -2
  21. package/dist/{chunk-QEW4J3IZ.js → chunk-ISNRDHSD.js} +2 -2
  22. package/dist/{chunk-S3PIAMXV.js → chunk-J5XQW2CM.js} +68 -8
  23. package/dist/{chunk-GZHHEHKY.js → chunk-JJBSYUSQ.js} +19 -7
  24. package/dist/{chunk-45Y3KZ3Q.js → chunk-KHQQGBFJ.js} +87 -20
  25. package/dist/{chunk-XMXBE5IQ.js → chunk-LCENQ6JR.js} +5 -5
  26. package/dist/{chunk-HE2C2S5A.js → chunk-NLKAEKSG.js} +3 -3
  27. package/dist/{chunk-ARA4VDHD.js → chunk-OHW3A7Z3.js} +2 -2
  28. package/dist/{chunk-ZWLUH3F2.js → chunk-PFWTGEZJ.js} +2 -2
  29. package/dist/{chunk-3CA3NNVH.js → chunk-Q3GLKL4B.js} +5 -5
  30. package/dist/{chunk-MSOZPOPX.js → chunk-QJRJCXX2.js} +7 -3
  31. package/dist/{chunk-R26RWSFW.js → chunk-QXRD7N35.js} +2 -2
  32. package/dist/{chunk-OB3P5RMN.js → chunk-TPLV2YX2.js} +2 -2
  33. package/dist/{chunk-XELAZAIM.js → chunk-UD3BEEBQ.js} +54 -12
  34. package/dist/{chunk-EAWPJHJ7.js → chunk-UGODVKBJ.js} +2 -2
  35. package/dist/{chunk-QBJC4DRP.js → chunk-UQNCBXXH.js} +14 -14
  36. package/dist/{chunk-VQ2HEGWH.js → chunk-WJJ2KYE4.js} +2 -2
  37. package/dist/{chunk-FBIDDE3N.js → chunk-Y2MZ5RE3.js} +71 -51
  38. package/dist/{cli-ZN7ZVDEZ.js → cli-MUP2NSXT.js} +10 -9
  39. package/dist/{cli-MI4ZCAZ3.js → cli-T5LHBUY2.js} +8 -8
  40. package/dist/cli.js +3 -3
  41. package/dist/{completion-WYJAKJE4.js → completion-CCK3LWVR.js} +2 -2
  42. package/dist/{diagnostics-ADIVFSBW.js → diagnostics-6WON3VMZ.js} +12 -12
  43. package/dist/{doctor-BBCS4DF5.js → doctor-UEXUOW5O.js} +18 -19
  44. package/dist/{entry-DMOTX4SS.js → entry-GMC6LRO2.js} +10 -10
  45. package/dist/{exec-mcp-OBUM3DVW.js → exec-mcp-FS7IPXNC.js} +13 -14
  46. package/dist/{harness-6AUE3I4Q.js → harness-32PERNQY.js} +3 -3
  47. package/dist/harness-launch-gate.js +4 -4
  48. package/dist/harness-worker.js +6 -6
  49. package/dist/hook-body.js +446 -278
  50. package/dist/{hook-spec-C5fWTSCH.d.ts → hook-spec-0aGt29Pg.d.ts} +22 -2
  51. package/dist/{hooks-HLPQPVRY.js → hooks-VQCLHXRZ.js} +3 -3
  52. package/dist/{host-LGSWU3PJ.js → host-4WNPLAD5.js} +7 -7
  53. package/dist/{host-5Q3X6OY7.js → host-ED3XRUNM.js} +15 -16
  54. package/dist/{host-run-4NMQQASQ.js → host-run-PNY6NAYW.js} +10 -6
  55. package/dist/http.js +1 -1
  56. package/dist/{import-mcp-WU7TO2RT.js → import-mcp-WEUY6IVK.js} +11 -12
  57. package/dist/index.d.ts +2 -2
  58. package/dist/index.js +17 -18
  59. package/dist/{init-XA6XXLGA.js → init-5ZDPHPWB.js} +2 -2
  60. package/dist/{invoke-CYQZYU5T.js → invoke-MB4SWBIE.js} +8 -8
  61. package/dist/{list-FNGXY5D7.js → list-U4SUFIS7.js} +13 -14
  62. package/dist/{logout-N753FBZP.js → logout-M76LEHVP.js} +12 -13
  63. package/dist/{logs-TBUA4UWU.js → logs-H3RPKNTE.js} +3 -4
  64. package/dist/{mailbox-BMTZOSZ7.js → mailbox-O3MX6QPF.js} +3 -4
  65. package/dist/{mainline-KAD2ERLP.js → mainline-DG75NLBS.js} +306 -57
  66. package/dist/{mcp-GR4VXKTG.js → mcp-NSKAEV7J.js} +2 -2
  67. package/dist/{pause-7LILUVGL.js → pause-2HQ7CKMR.js} +3 -4
  68. package/dist/project/hook-adapter.d.ts +1 -1
  69. package/dist/{project-OEBACWEX.js → project-FTXIKBML.js} +4 -4
  70. package/dist/{resume-26VFAAMH.js → resume-ETFTR5V3.js} +3 -4
  71. package/dist/{run-7XNGPU2I.js → run-UMHKF2GM.js} +4 -4
  72. package/dist/{run-MDRUOEFL.js → run-Y7NKULSP.js} +11 -12
  73. package/dist/{serve-HXHNWKEK.js → serve-MRWTSSAU.js} +3 -3
  74. package/dist/setup-T6T2PFC4.js +20 -0
  75. package/dist/{start-login-PWCEKNED.js → start-login-POISLJD2.js} +12 -13
  76. package/dist/{status-QFOBQ42J.js → status-GGDHOPSE.js} +20 -27
  77. package/dist/{status-RO55QPKV.js → status-GPSLH4VO.js} +3 -4
  78. package/dist/{status-54IYX2FN.js → status-XMATSURN.js} +12 -13
  79. package/dist/stdio.js +2 -2
  80. package/dist/{sweep-35LGQTTO.js → sweep-VY2TNOO5.js} +3 -4
  81. package/dist/{test-36ZUVALT.js → test-ULKQY6FV.js} +50 -15
  82. package/dist/{tui-CSRW4DN2.js → tui-NGBCIBRW.js} +4 -4
  83. package/dist/{unbroadcast-5QNGAJR2.js → unbroadcast-RKTBP57G.js} +3 -4
  84. package/dist/{worker-EODWT4KK.js → worker-Q7JWY6BR.js} +8 -8
  85. package/dist/{worktree-create-PZSRB7PH.js → worktree-create-NO4UOOEP.js} +2 -2
  86. package/dist/{worktree-list-JYB6VXLW.js → worktree-list-NEIDD66X.js} +4 -4
  87. package/dist/{worktree-sync-UF5CXPWV.js → worktree-sync-W4BDDLRO.js} +8 -9
  88. package/docs/commands.md +1 -1
  89. package/docs/git-workflow.md +58 -1
  90. package/docs/hooks.md +29 -0
  91. package/docs/project-configuration.md +7 -7
  92. package/gemini-extension.json +2 -2
  93. package/mcp.json +1 -1
  94. package/package.json +5 -5
  95. package/plugin.json +1 -1
  96. package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
  97. package/plugins/pmcp/.mcp.json +1 -1
  98. package/plugins/pmcp/gemini-extension.json +2 -2
  99. package/plugins/pmcp/mcp.json +1 -1
  100. package/plugins/pmcp/plugin.json +1 -1
  101. package/dist/chunk-26WLNWDG.js +0 -93
  102. package/dist/chunk-MZCRCMEY.js +0 -7
  103. package/dist/setup-DTKZLZUT.js +0 -18
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OEH47H6A.js";
4
4
  import {
5
5
  VERSION
6
- } from "./chunk-MZCRCMEY.js";
6
+ } from "./chunk-FGEBSQQJ.js";
7
7
  import {
8
8
  ConfigError
9
9
  } from "./chunk-QPL7E2HW.js";
@@ -11,9 +11,69 @@ import {
11
11
  envNames
12
12
  } from "./chunk-J6KL3COD.js";
13
13
 
14
+ // src/native/binary.ts
15
+ import { accessSync, constants, statSync } from "fs";
16
+ import { createRequire } from "module";
17
+ import { delimiter, dirname, join } from "path";
18
+ function executable(path) {
19
+ try {
20
+ accessSync(path, constants.X_OK);
21
+ return statSync(path).isFile();
22
+ } catch {
23
+ return false;
24
+ }
25
+ }
26
+ function packagedBinary(name, from = import.meta.url) {
27
+ const platform = `pmcp-${process.platform}-${process.arch}`;
28
+ let manifest;
29
+ try {
30
+ manifest = createRequire(from).resolve(
31
+ `@modootoday/${platform}/package.json`
32
+ );
33
+ } catch {
34
+ return { reason: `no @modootoday/${platform} package is installed` };
35
+ }
36
+ const path = join(dirname(manifest), "bin", name);
37
+ return executable(path) ? { path } : { reason: `@modootoday/${platform} has no ${name}` };
38
+ }
39
+ var BUILT = {
40
+ "linux-x64": ["pmcp-pty", "pmcp-tui", "pmcp-browser", "pmcp-desktop"],
41
+ "linux-arm64": ["pmcp-pty", "pmcp-tui", "pmcp-browser", "pmcp-desktop"],
42
+ "darwin-x64": ["pmcp-pty", "pmcp-tui"],
43
+ "darwin-arm64": ["pmcp-pty", "pmcp-tui"]
44
+ };
45
+ function missingBinary(name, variable, version, from = import.meta.url) {
46
+ const platform = `${process.platform}-${process.arch}`;
47
+ const pkg = `@modootoday/pmcp-${platform}@${version}`;
48
+ const own = `, or set ${variable} to a ${name} you built`;
49
+ if (!BUILT[platform]?.includes(name))
50
+ return `${name} is not built for ${platform}; set ${variable} to a ${name} you built`;
51
+ const found = packagedBinary(name, from);
52
+ if ("path" in found)
53
+ return `${name} at ${found.path} is not executable${own}`;
54
+ if (found.reason.startsWith("no "))
55
+ return `${name} not found: the platform package ${pkg} is not installed; reinstall @modootoday/pmcp (npm installs it as an optional dependency)${own}`;
56
+ return `${name} not found: ${found.reason}; reinstall @modootoday/pmcp${own}`;
57
+ }
58
+ function packaged(name) {
59
+ const found = packagedBinary(name);
60
+ return "path" in found ? found.path : null;
61
+ }
62
+ function nativeBinary(name, variable, env) {
63
+ const given = env[variable];
64
+ if (given) return executable(given) ? given : null;
65
+ const found = packaged(name);
66
+ if (found) return found;
67
+ for (const dir of (env["PATH"] ?? "").split(delimiter).filter(Boolean)) {
68
+ const candidate = join(dir, name);
69
+ if (executable(candidate)) return candidate;
70
+ }
71
+ return null;
72
+ }
73
+
14
74
  // src/project/projector.ts
15
75
  import { existsSync, mkdirSync, readFileSync, realpathSync } from "fs";
16
- import { join } from "path";
76
+ import { join as join2 } from "path";
17
77
 
18
78
  // src/project/write.ts
19
79
  import { randomUUID } from "crypto";
@@ -28,7 +88,7 @@ import {
28
88
  symlinkSync,
29
89
  writeFileSync
30
90
  } from "fs";
31
- import { dirname } from "path";
91
+ import { dirname as dirname2 } from "path";
32
92
  function fileMode(path) {
33
93
  try {
34
94
  const stat = lstatSync(path);
@@ -40,7 +100,7 @@ function fileMode(path) {
40
100
  }
41
101
  function syncDirectory(path) {
42
102
  if (process.platform === "win32") return;
43
- const descriptor = openSync(dirname(path), "r");
103
+ const descriptor = openSync(dirname2(path), "r");
44
104
  try {
45
105
  fsyncSync(descriptor);
46
106
  } finally {
@@ -80,7 +140,7 @@ function replaceLink(path, target) {
80
140
  var LOCK_VERSION_KEY = "pmcp_version";
81
141
  var PROJECTOR_FILE = "projector.json";
82
142
  function lockVersionProblem(root) {
83
- const path = join(root, "pmcp.lock");
143
+ const path = join2(root, "pmcp.lock");
84
144
  if (!existsSync(path)) return null;
85
145
  const lock = JSON.parse(readFileSync(path, "utf8"));
86
146
  const recorded = lock[LOCK_VERSION_KEY];
@@ -95,7 +155,7 @@ function recordProjector(spec, entry = process.argv[1]) {
95
155
  const cli = realpathSync(entry);
96
156
  if (!CLI_ENTRY.test(cli)) return;
97
157
  const dir = projectStateDir(spec.root, policy.stateDir);
98
- const file = join(dir, PROJECTOR_FILE);
158
+ const file = join2(dir, PROJECTOR_FILE);
99
159
  const known = existsSync(file) ? JSON.parse(readFileSync(file, "utf8")) : {};
100
160
  mkdirSync(dir, { recursive: true });
101
161
  replaceFile(
@@ -110,11 +170,11 @@ function recordProjector(spec, entry = process.argv[1]) {
110
170
  // src/project/apply/lock.ts
111
171
  import { createHash } from "crypto";
112
172
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
113
- import { join as join2 } from "path";
173
+ import { join as join3 } from "path";
114
174
  var LOCK_FILE = "pmcp.lock";
115
175
  var sha = (text2) => createHash("sha256").update(text2).digest("hex");
116
176
  function readLock(root) {
117
- const path = join2(root, LOCK_FILE);
177
+ const path = join3(root, LOCK_FILE);
118
178
  if (!existsSync2(path)) return [];
119
179
  const lock = JSON.parse(readFileSync2(path, "utf8"));
120
180
  return lock.outputs ?? [];
@@ -138,53 +198,12 @@ function lockEntry(output) {
138
198
  }
139
199
  function writeLock(root, outputs) {
140
200
  replaceFile(
141
- join2(root, LOCK_FILE),
201
+ join3(root, LOCK_FILE),
142
202
  `${JSON.stringify({ version: 1, [LOCK_VERSION_KEY]: VERSION, outputs: outputs.filter((output) => output.kind !== "json" || output.managed === void 0 || output.managed.length > 0).map(lockEntry) }, null, 2)}
143
203
  `
144
204
  );
145
205
  }
146
206
 
147
- // src/native/binary.ts
148
- import { accessSync, constants, statSync } from "fs";
149
- import { createRequire } from "module";
150
- import { delimiter, dirname as dirname2, join as join3 } from "path";
151
- function executable(path) {
152
- try {
153
- accessSync(path, constants.X_OK);
154
- return statSync(path).isFile();
155
- } catch {
156
- return false;
157
- }
158
- }
159
- function packagedBinary(name, from = import.meta.url) {
160
- const platform = `pmcp-${process.platform}-${process.arch}`;
161
- let manifest;
162
- try {
163
- manifest = createRequire(from).resolve(
164
- `@modootoday/${platform}/package.json`
165
- );
166
- } catch {
167
- return { reason: `no @modootoday/${platform} package is installed` };
168
- }
169
- const path = join3(dirname2(manifest), "bin", name);
170
- return executable(path) ? { path } : { reason: `@modootoday/${platform} has no ${name}` };
171
- }
172
- function packaged(name) {
173
- const found = packagedBinary(name);
174
- return "path" in found ? found.path : null;
175
- }
176
- function nativeBinary(name, variable, env) {
177
- const given = env[variable];
178
- if (given) return executable(given) ? given : null;
179
- const found = packaged(name);
180
- if (found) return found;
181
- for (const dir of (env["PATH"] ?? "").split(delimiter).filter(Boolean)) {
182
- const candidate = join3(dir, name);
183
- if (executable(candidate)) return candidate;
184
- }
185
- return null;
186
- }
187
-
188
207
  // src/project/host-spec.ts
189
208
  import { isAbsolute, normalize } from "path";
190
209
 
@@ -418,6 +437,7 @@ function readHost(path, raw) {
418
437
 
419
438
  export {
420
439
  packagedBinary,
440
+ missingBinary,
421
441
  nativeBinary,
422
442
  replaceFile,
423
443
  replaceLink,
@@ -428,4 +448,4 @@ export {
428
448
  writeLock,
429
449
  readHost
430
450
  };
431
- //# sourceMappingURL=chunk-FBIDDE3N.js.map
451
+ //# sourceMappingURL=chunk-Y2MZ5RE3.js.map
@@ -11,23 +11,24 @@ import {
11
11
  async function action(positional) {
12
12
  const [verb, sub] = positional;
13
13
  if (verb === "deliver")
14
- return (await import("./mainline-KAD2ERLP.js")).mainlineDeliver;
15
- if (verb === "sync") return (await import("./mainline-KAD2ERLP.js")).mainlineSync;
14
+ return (await import("./mainline-DG75NLBS.js")).mainlineDeliver;
15
+ if (verb === "sync") return (await import("./mainline-DG75NLBS.js")).mainlineSync;
16
16
  if (verb !== "worktree")
17
17
  throw new ArgumentError("Use worktree, deliver or sync");
18
18
  if (sub === "create")
19
- return (await import("./worktree-create-PZSRB7PH.js")).worktreeCreate;
19
+ return (await import("./worktree-create-NO4UOOEP.js")).worktreeCreate;
20
20
  if (sub === "list")
21
- return (await import("./worktree-list-JYB6VXLW.js")).worktreeList;
21
+ return (await import("./worktree-list-NEIDD66X.js")).worktreeList;
22
22
  if (sub === "sync")
23
- return (await import("./worktree-sync-UF5CXPWV.js")).worktreeSync;
23
+ return (await import("./worktree-sync-W4BDDLRO.js")).worktreeSync;
24
24
  throw new ArgumentError("Use worktree create, list or sync");
25
25
  }
26
26
  async function run(context) {
27
- if (context.args.flags.has("json") && !(context.args.positional[0] === "worktree" && context.args.positional[1] === "list"))
28
- throw new ArgumentError("--json requires git worktree list");
27
+ const [verb, sub] = context.args.positional;
28
+ if (context.args.flags.has("json") && !(verb === "worktree" && sub === "list") && verb !== "deliver")
29
+ throw new ArgumentError("--json requires git worktree list or git deliver");
29
30
  const act = await action(context.args.positional);
30
- const { loadGit } = await import("./setup-DTKZLZUT.js");
31
+ const { loadGit } = await import("./setup-T6T2PFC4.js");
31
32
  const setup = loadGit(context.cwd, one(context.args, "config"), context.env);
32
33
  if (setup instanceof Error) {
33
34
  context.ui.error(setup.message);
@@ -43,4 +44,4 @@ var gitCommand = { ...gitSpec, run };
43
44
  export {
44
45
  gitCommand
45
46
  };
46
- //# sourceMappingURL=cli-ZN7ZVDEZ.js.map
47
+ //# sourceMappingURL=cli-MUP2NSXT.js.map
@@ -16,26 +16,26 @@ async function run(context) {
16
16
  `unknown verb ${verb}; use ${SESSION_VERBS.join(", ")}`
17
17
  );
18
18
  if (verb === "status")
19
- return (await import("./status-RO55QPKV.js")).status(context);
19
+ return (await import("./status-GPSLH4VO.js")).status(context);
20
20
  if (context.args.flags.has("json") && !JSON_VERBS.includes(verb))
21
21
  throw new ArgumentError(`--json works with ${JSON_VERBS.join(", ")}`);
22
22
  if (["send", "inbox", "ack", "reply"].includes(verb)) {
23
- const mailbox = await import("./mailbox-BMTZOSZ7.js");
23
+ const mailbox = await import("./mailbox-O3MX6QPF.js");
24
24
  if (verb === "send") return mailbox.send(context);
25
25
  if (verb === "inbox") return mailbox.inbox(context);
26
26
  if (verb === "ack") return mailbox.ack(context);
27
27
  return mailbox.reply(context);
28
28
  }
29
- if (verb === "pause") return (await import("./pause-7LILUVGL.js")).run(context);
30
- if (verb === "resume") return (await import("./resume-26VFAAMH.js")).run(context);
29
+ if (verb === "pause") return (await import("./pause-2HQ7CKMR.js")).run(context);
30
+ if (verb === "resume") return (await import("./resume-ETFTR5V3.js")).run(context);
31
31
  if (verb === "broadcast")
32
- return (await import("./broadcast-CBMVOV3G.js")).run(context);
32
+ return (await import("./broadcast-56NPEJWM.js")).run(context);
33
33
  if (verb === "unbroadcast")
34
- return (await import("./unbroadcast-5QNGAJR2.js")).run(context);
35
- return (await import("./sweep-35LGQTTO.js")).run(context);
34
+ return (await import("./unbroadcast-RKTBP57G.js")).run(context);
35
+ return (await import("./sweep-VY2TNOO5.js")).run(context);
36
36
  }
37
37
  var sessionsCommand = { ...sessionsSpec, run };
38
38
  export {
39
39
  sessionsCommand
40
40
  };
41
- //# sourceMappingURL=cli-MI4ZCAZ3.js.map
41
+ //# sourceMappingURL=cli-T5LHBUY2.js.map
package/dist/cli.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  COMMANDS,
4
4
  PLANNED,
5
5
  commandNamed
6
- } from "./chunk-QBJC4DRP.js";
6
+ } from "./chunk-UQNCBXXH.js";
7
7
  import "./chunk-2P4Z2NUX.js";
8
8
  import "./chunk-3Y3HDMHA.js";
9
9
  import {
@@ -32,7 +32,7 @@ import {
32
32
  import "./chunk-V4NPDK6X.js";
33
33
  import {
34
34
  VERSION
35
- } from "./chunk-MZCRCMEY.js";
35
+ } from "./chunk-FGEBSQQJ.js";
36
36
 
37
37
  // src/cli/ui.ts
38
38
  var ESC = String.fromCharCode(27);
@@ -185,7 +185,7 @@ async function defaultEntry(options, context) {
185
185
  });
186
186
  if (mode === "server") return run(required("serve"), [], context);
187
187
  if (mode === "terminal") {
188
- const { terminalSupport } = await import("./host-LGSWU3PJ.js");
188
+ const { terminalSupport } = await import("./host-4WNPLAD5.js");
189
189
  const support = terminalSupport();
190
190
  if (support.supported) return run(required("tui"), [], context);
191
191
  context.ui.info(`Terminal workspace unavailable: ${support.reason}`);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  COMMANDS,
3
3
  completionSpec
4
- } from "./chunk-QBJC4DRP.js";
4
+ } from "./chunk-UQNCBXXH.js";
5
5
  import "./chunk-2P4Z2NUX.js";
6
6
  import "./chunk-3Y3HDMHA.js";
7
7
  import "./chunk-E3DQB5LS.js";
@@ -139,4 +139,4 @@ var completionCommand = {
139
139
  export {
140
140
  completionCommand
141
141
  };
142
- //# sourceMappingURL=completion-WYJAKJE4.js.map
142
+ //# sourceMappingURL=completion-CCK3LWVR.js.map
@@ -1,18 +1,22 @@
1
1
  import {
2
2
  dependencies
3
- } from "./chunk-HE2C2S5A.js";
3
+ } from "./chunk-NLKAEKSG.js";
4
4
  import {
5
5
  assertNativeHost
6
- } from "./chunk-4JUSGIMX.js";
6
+ } from "./chunk-HEPSITZX.js";
7
7
  import {
8
8
  locateExecutable
9
9
  } from "./chunk-R2GPCZUX.js";
10
10
  import "./chunk-34DECPVC.js";
11
- import "./chunk-MSOZPOPX.js";
12
- import "./chunk-FBIDDE3N.js";
11
+ import "./chunk-QJRJCXX2.js";
12
+ import {
13
+ missingBinary
14
+ } from "./chunk-Y2MZ5RE3.js";
13
15
  import "./chunk-OEH47H6A.js";
14
16
  import "./chunk-IJBSOWHK.js";
15
- import "./chunk-MZCRCMEY.js";
17
+ import {
18
+ VERSION
19
+ } from "./chunk-FGEBSQQJ.js";
16
20
  import "./chunk-QPL7E2HW.js";
17
21
  import "./chunk-PMJG2CXF.js";
18
22
  import {
@@ -28,13 +32,9 @@ function remediation(tools, userManagerAvailable) {
28
32
  "Use Linux or macOS for the terminal workspace. Other PMCP CLI features do not require this host profile."
29
33
  );
30
34
  if (!tools.pmcpPty)
31
- steps.push(
32
- "Build or install pmcp-pty and set PMCP_PTY_BIN to it, or put it on PATH."
33
- );
35
+ steps.push(`${missingBinary("pmcp-pty", "PMCP_PTY_BIN", VERSION)}.`);
34
36
  if (!tools.pmcpTui)
35
- steps.push(
36
- "Build or install pmcp-tui and set PMCP_TUI_BIN to it, or put it on PATH."
37
- );
37
+ steps.push(`${missingBinary("pmcp-tui", "PMCP_TUI_BIN", VERSION)}.`);
38
38
  if (tools.platform === "linux" && !(tools.systemctl && tools.systemdRun))
39
39
  steps.push(
40
40
  "Install systemd's systemctl and systemd-run for your distribution and add them to PATH."
@@ -91,4 +91,4 @@ function inspectTerminalHost() {
91
91
  export {
92
92
  inspectTerminalHost
93
93
  };
94
- //# sourceMappingURL=diagnostics-ADIVFSBW.js.map
94
+ //# sourceMappingURL=diagnostics-6WON3VMZ.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  specFrom
3
- } from "./chunk-VQ2HEGWH.js";
3
+ } from "./chunk-WJJ2KYE4.js";
4
4
  import "./chunk-7DLZC73N.js";
5
5
  import {
6
6
  doctor,
7
7
  spawnRunner
8
- } from "./chunk-YSUINA5Q.js";
9
- import "./chunk-YRGDWUFY.js";
10
- import "./chunk-3CA3NNVH.js";
8
+ } from "./chunk-3O3FS6KM.js";
9
+ import "./chunk-IEK4U5RR.js";
10
+ import "./chunk-Q3GLKL4B.js";
11
11
  import "./chunk-P4N7DBD5.js";
12
12
  import "./chunk-WIW772I3.js";
13
13
  import "./chunk-VJFEN6DJ.js";
@@ -18,26 +18,25 @@ import {
18
18
  LOCK_FILE,
19
19
  POLICY_FILE,
20
20
  sha256
21
- } from "./chunk-LFR245MZ.js";
22
- import "./chunk-R26RWSFW.js";
21
+ } from "./chunk-CYQIAEQT.js";
22
+ import "./chunk-QXRD7N35.js";
23
23
  import {
24
24
  FEATURES,
25
25
  GUARDS,
26
26
  RUNTIMES,
27
27
  RUNTIME_IDS
28
- } from "./chunk-45Y3KZ3Q.js";
28
+ } from "./chunk-KHQQGBFJ.js";
29
29
  import "./chunk-HQOB7OQS.js";
30
- import "./chunk-S3PIAMXV.js";
31
- import "./chunk-JS5RTH4I.js";
32
- import "./chunk-DCU2EXQV.js";
33
- import "./chunk-XELAZAIM.js";
34
- import "./chunk-QEW4J3IZ.js";
35
- import "./chunk-OPYFEHKG.js";
30
+ import "./chunk-J5XQW2CM.js";
31
+ import "./chunk-2Q6MNGU5.js";
32
+ import "./chunk-D5D3V6RU.js";
33
+ import "./chunk-UD3BEEBQ.js";
34
+ import "./chunk-ISNRDHSD.js";
35
+ import "./chunk-G7JONWL4.js";
36
36
  import "./chunk-EATCUWGG.js";
37
37
  import "./chunk-NRBQK6UX.js";
38
38
  import "./chunk-3PW4FI7U.js";
39
- import "./chunk-26WLNWDG.js";
40
- import "./chunk-LTZH5E3G.js";
39
+ import "./chunk-DHAPQUEF.js";
41
40
  import "./chunk-C4NHQGHL.js";
42
41
  import "./chunk-Q5H3L6Y4.js";
43
42
  import "./chunk-73AKO4UL.js";
@@ -53,11 +52,11 @@ import {
53
52
  import {
54
53
  TOOLS
55
54
  } from "./chunk-V4NPDK6X.js";
56
- import "./chunk-MSOZPOPX.js";
57
- import "./chunk-FBIDDE3N.js";
55
+ import "./chunk-QJRJCXX2.js";
56
+ import "./chunk-Y2MZ5RE3.js";
58
57
  import "./chunk-OEH47H6A.js";
59
58
  import "./chunk-IJBSOWHK.js";
60
- import "./chunk-MZCRCMEY.js";
59
+ import "./chunk-FGEBSQQJ.js";
61
60
  import "./chunk-QPL7E2HW.js";
62
61
  import "./chunk-PMJG2CXF.js";
63
62
  import "./chunk-J6KL3COD.js";
@@ -536,4 +535,4 @@ var doctorCommand = {
536
535
  export {
537
536
  doctorCommand
538
537
  };
539
- //# sourceMappingURL=doctor-BBCS4DF5.js.map
538
+ //# sourceMappingURL=doctor-UEXUOW5O.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  invoke
3
- } from "./chunk-XMXBE5IQ.js";
3
+ } from "./chunk-LCENQ6JR.js";
4
4
  import {
5
5
  ensureStartupDirectory,
6
6
  readStartup,
@@ -10,27 +10,27 @@ import {
10
10
  } from "./chunk-J5ZS7GLA.js";
11
11
  import {
12
12
  requireTerminal
13
- } from "./chunk-6UXJ62XJ.js";
13
+ } from "./chunk-3TG3KVHZ.js";
14
14
  import "./chunk-5ZABTVSW.js";
15
15
  import {
16
16
  runTui
17
- } from "./chunk-HE2C2S5A.js";
17
+ } from "./chunk-NLKAEKSG.js";
18
18
  import {
19
19
  lockFile
20
20
  } from "./chunk-DZ2MRTYT.js";
21
21
  import "./chunk-LMT3PPXJ.js";
22
- import "./chunk-TFRJ5QOS.js";
23
- import "./chunk-4JUSGIMX.js";
22
+ import "./chunk-4LV7KDTS.js";
23
+ import "./chunk-HEPSITZX.js";
24
24
  import {
25
25
  locateExecutable
26
26
  } from "./chunk-R2GPCZUX.js";
27
- import "./chunk-LGO2SZAS.js";
27
+ import "./chunk-47ZGCZQA.js";
28
28
  import "./chunk-34DECPVC.js";
29
- import "./chunk-MSOZPOPX.js";
30
- import "./chunk-FBIDDE3N.js";
29
+ import "./chunk-QJRJCXX2.js";
30
+ import "./chunk-Y2MZ5RE3.js";
31
31
  import "./chunk-OEH47H6A.js";
32
32
  import "./chunk-IJBSOWHK.js";
33
- import "./chunk-MZCRCMEY.js";
33
+ import "./chunk-FGEBSQQJ.js";
34
34
  import "./chunk-QPL7E2HW.js";
35
35
  import "./chunk-PMJG2CXF.js";
36
36
  import {
@@ -303,4 +303,4 @@ export {
303
303
  launchStartup,
304
304
  planStartup
305
305
  };
306
- //# sourceMappingURL=entry-DMOTX4SS.js.map
306
+ //# sourceMappingURL=entry-GMC6LRO2.js.map
@@ -8,36 +8,35 @@ import {
8
8
  } from "./chunk-UPQTAHUK.js";
9
9
  import {
10
10
  specFrom
11
- } from "./chunk-VQ2HEGWH.js";
11
+ } from "./chunk-WJJ2KYE4.js";
12
12
  import "./chunk-7DLZC73N.js";
13
13
  import {
14
14
  launch
15
- } from "./chunk-R26RWSFW.js";
16
- import "./chunk-45Y3KZ3Q.js";
15
+ } from "./chunk-QXRD7N35.js";
16
+ import "./chunk-KHQQGBFJ.js";
17
17
  import "./chunk-HQOB7OQS.js";
18
- import "./chunk-S3PIAMXV.js";
19
- import "./chunk-JS5RTH4I.js";
20
- import "./chunk-DCU2EXQV.js";
21
- import "./chunk-XELAZAIM.js";
22
- import "./chunk-QEW4J3IZ.js";
23
- import "./chunk-OPYFEHKG.js";
18
+ import "./chunk-J5XQW2CM.js";
19
+ import "./chunk-2Q6MNGU5.js";
20
+ import "./chunk-D5D3V6RU.js";
21
+ import "./chunk-UD3BEEBQ.js";
22
+ import "./chunk-ISNRDHSD.js";
23
+ import "./chunk-G7JONWL4.js";
24
24
  import "./chunk-EATCUWGG.js";
25
25
  import {
26
26
  ProjectError
27
27
  } from "./chunk-NRBQK6UX.js";
28
28
  import "./chunk-3PW4FI7U.js";
29
- import "./chunk-26WLNWDG.js";
30
- import "./chunk-LTZH5E3G.js";
29
+ import "./chunk-DHAPQUEF.js";
31
30
  import "./chunk-C4NHQGHL.js";
32
31
  import {
33
32
  McpAuthError
34
33
  } from "./chunk-Q5H3L6Y4.js";
35
34
  import "./chunk-A4PKLESO.js";
36
35
  import "./chunk-V4NPDK6X.js";
37
- import "./chunk-FBIDDE3N.js";
36
+ import "./chunk-Y2MZ5RE3.js";
38
37
  import "./chunk-OEH47H6A.js";
39
38
  import "./chunk-IJBSOWHK.js";
40
- import "./chunk-MZCRCMEY.js";
39
+ import "./chunk-FGEBSQQJ.js";
41
40
  import "./chunk-QPL7E2HW.js";
42
41
  import "./chunk-PMJG2CXF.js";
43
42
  import "./chunk-J6KL3COD.js";
@@ -363,4 +362,4 @@ function runExecMcp(context, name) {
363
362
  export {
364
363
  runExecMcp
365
364
  };
366
- //# sourceMappingURL=exec-mcp-OBUM3DVW.js.map
365
+ //# sourceMappingURL=exec-mcp-FS7IPXNC.js.map
@@ -151,12 +151,12 @@ var harnessCommand = {
151
151
  return runPtyMcp(context);
152
152
  }
153
153
  if (context.args.positional[0] === "host") {
154
- const { runHost } = await import("./host-5Q3X6OY7.js");
154
+ const { runHost } = await import("./host-ED3XRUNM.js");
155
155
  return runHost(context);
156
156
  }
157
157
  try {
158
158
  const operation = parseInvocation(context);
159
- const { invoke } = await import("./invoke-CYQZYU5T.js");
159
+ const { invoke } = await import("./invoke-MB4SWBIE.js");
160
160
  const receipt = await invoke(operation);
161
161
  context.ui.data(`${JSON.stringify(receipt)}
162
162
  `);
@@ -174,4 +174,4 @@ var harnessCommand = {
174
174
  export {
175
175
  harnessCommand
176
176
  };
177
- //# sourceMappingURL=harness-6AUE3I4Q.js.map
177
+ //# sourceMappingURL=harness-32PERNQY.js.map
@@ -7,13 +7,13 @@ import {
7
7
  assertProof,
8
8
  assertResourceFresh,
9
9
  createProof
10
- } from "./chunk-LGO2SZAS.js";
10
+ } from "./chunk-47ZGCZQA.js";
11
11
  import "./chunk-34DECPVC.js";
12
- import "./chunk-MSOZPOPX.js";
13
- import "./chunk-FBIDDE3N.js";
12
+ import "./chunk-QJRJCXX2.js";
13
+ import "./chunk-Y2MZ5RE3.js";
14
14
  import "./chunk-OEH47H6A.js";
15
15
  import "./chunk-IJBSOWHK.js";
16
- import "./chunk-MZCRCMEY.js";
16
+ import "./chunk-FGEBSQQJ.js";
17
17
  import "./chunk-QPL7E2HW.js";
18
18
  import "./chunk-PMJG2CXF.js";
19
19
  import {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  runOperation
3
- } from "./chunk-TFRJ5QOS.js";
4
- import "./chunk-4JUSGIMX.js";
3
+ } from "./chunk-4LV7KDTS.js";
4
+ import "./chunk-HEPSITZX.js";
5
5
  import "./chunk-R2GPCZUX.js";
6
- import "./chunk-LGO2SZAS.js";
6
+ import "./chunk-47ZGCZQA.js";
7
7
  import "./chunk-34DECPVC.js";
8
- import "./chunk-MSOZPOPX.js";
9
- import "./chunk-FBIDDE3N.js";
8
+ import "./chunk-QJRJCXX2.js";
9
+ import "./chunk-Y2MZ5RE3.js";
10
10
  import "./chunk-OEH47H6A.js";
11
11
  import "./chunk-IJBSOWHK.js";
12
- import "./chunk-MZCRCMEY.js";
12
+ import "./chunk-FGEBSQQJ.js";
13
13
  import "./chunk-QPL7E2HW.js";
14
14
  import "./chunk-PMJG2CXF.js";
15
15
  import {