@modootoday/pmcp 0.27.0 → 0.29.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.
- package/.agents/plugins/marketplace.json +1 -1
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.mcp.json +1 -1
- package/dist/{apply-YNBY2GPK.js → apply-OAZNNNQS.js} +9 -9
- package/dist/{chunk-LKH57HLV.js → chunk-2ZNKC6ZB.js} +2 -2
- package/dist/{chunk-S2FUWBLO.js → chunk-3WXRU25Q.js} +74 -21
- package/dist/{chunk-YKICVMF7.js → chunk-5WAMDZHF.js} +11 -3
- package/dist/{chunk-L5EJK24I.js → chunk-66B5NX2N.js} +2 -2
- package/dist/{chunk-TVA2IN6H.js → chunk-72AF424S.js} +5 -5
- package/dist/{chunk-ZO5CRS2T.js → chunk-7JIJPBER.js} +2 -2
- package/dist/{chunk-OZTEMCCM.js → chunk-7PYTXWZE.js} +3 -3
- package/dist/{chunk-GVKVMSWX.js → chunk-ANSN2XBX.js} +13 -13
- package/dist/{chunk-6U6MLIS2.js → chunk-C3YIVQGU.js} +2 -2
- package/dist/chunk-DXQPI4QB.js +7 -0
- package/dist/{chunk-Q3XLIRIJ.js → chunk-I5JI547U.js} +4 -4
- package/dist/{chunk-M5GNZSOJ.js → chunk-KUQXCJ2W.js} +2 -2
- package/dist/{chunk-XCIFD7G5.js → chunk-L7SCC2OS.js} +2 -2
- package/dist/{chunk-Y5WIIEG2.js → chunk-LYVMXH4Y.js} +4 -4
- package/dist/{chunk-JTKGDT2K.js → chunk-M4CXEF2F.js} +2 -2
- package/dist/{chunk-X2WDR3UK.js → chunk-MYEVRRG2.js} +2 -2
- package/dist/{chunk-PH3P5WEY.js → chunk-OUKRDS4O.js} +3 -3
- package/dist/{chunk-5TT7YAEP.js → chunk-P54WENV4.js} +3 -3
- package/dist/{chunk-OY7XYKVL.js → chunk-POWQPJ5V.js} +2 -2
- package/dist/{chunk-X3LNF5KJ.js → chunk-QTLPN3MY.js} +5 -5
- package/dist/{chunk-ENFF7ZBC.js → chunk-UBCSERU5.js} +2 -2
- package/dist/{cli-FVUHK2NB.js → cli-J2ODG3GH.js} +5 -5
- package/dist/cli.js +3 -3
- package/dist/{completion-WKIMMLNF.js → completion-KE7XNYCC.js} +2 -2
- package/dist/{diagnostics-LCNF5NRK.js → diagnostics-67ODZ4US.js} +5 -5
- package/dist/{doctor-PSMPNQXS.js → doctor-GCGG3QJS.js} +11 -11
- package/dist/{entry-LMAWTZM2.js → entry-KVEZFVS4.js} +9 -9
- package/dist/{exec-mcp-VAP46MKO.js → exec-mcp-CIH2M7S3.js} +7 -7
- package/dist/{harness-ZCMU5MJD.js → harness-AP4WR5T6.js} +3 -3
- package/dist/harness-launch-gate.js +3 -3
- package/dist/harness-worker.js +5 -5
- package/dist/hook-body.js +96 -55
- package/dist/{hooks-AWAO7CQO.js → hooks-NL2NU4LD.js} +3 -3
- package/dist/{host-OBTC2PGQ.js → host-4PTSDTS6.js} +2 -2
- package/dist/{host-I4XIJTXR.js → host-EI63IQAF.js} +6 -6
- package/dist/{host-4GFQQJUS.js → host-OABIC6HJ.js} +9 -9
- package/dist/{host-run-T3FC7L6I.js → host-run-RFDKRQIK.js} +4 -4
- package/dist/http.js +1 -1
- package/dist/{import-mcp-5JSGA5IS.js → import-mcp-V4SU2PZC.js} +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/dist/{init-PZYWBDZS.js → init-WWXUT7II.js} +2 -2
- package/dist/{invoke-DCKJCMRB.js → invoke-TW2CSSZW.js} +7 -7
- package/dist/{list-ZEU7T3XK.js → list-BVKM5YYP.js} +8 -8
- package/dist/{logout-CUSOVMKL.js → logout-AFUL7BL5.js} +7 -7
- package/dist/{mainline-SWZPKA7U.js → mainline-73LPNONI.js} +19 -3
- package/dist/{mcp-ZHOPOFXI.js → mcp-RAHIIHWP.js} +2 -2
- package/dist/{measure-AUBPYT6L.js → measure-PV54XMHK.js} +2 -2
- package/dist/{project-T36TRAWT.js → project-EORCMTYS.js} +4 -4
- package/dist/{run-LMSHQJPQ.js → run-RGFWSEEL.js} +6 -6
- package/dist/{run-37PVE74I.js → run-ZK7OKBCT.js} +4 -4
- package/dist/{serve-E4FD6PAL.js → serve-RKGWB275.js} +3 -3
- package/dist/{setup-7JHWLV7K.js → setup-V7QJKJ3M.js} +2 -2
- package/dist/{start-login-JSKFXSLY.js → start-login-POOTXBPU.js} +7 -7
- package/dist/{status-ZSK3PNM2.js → status-QZKAWH4N.js} +8 -8
- package/dist/{status-ZNWF4362.js → status-Y4IN4X5G.js} +7 -7
- package/dist/stdio.js +2 -2
- package/dist/{test-OCTC2DSZ.js → test-ABDOR6OT.js} +7 -7
- package/dist/{tui-LE2KPUMI.js → tui-JO3L7VY3.js} +4 -4
- package/dist/{worker-6U67LWIP.js → worker-3VI27AFS.js} +7 -7
- package/dist/{worktree-sync-BQZD4J73.js → worktree-sync-SHKTHKBR.js} +4 -2
- package/docs/git-workflow.md +19 -1
- package/gemini-extension.json +2 -2
- package/mcp.json +1 -1
- package/package.json +5 -5
- package/plugin.json +1 -1
- package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
- package/plugins/pmcp/.mcp.json +1 -1
- package/plugins/pmcp/gemini-extension.json +2 -2
- package/plugins/pmcp/mcp.json +1 -1
- package/plugins/pmcp/plugin.json +1 -1
- package/dist/chunk-MXVP3ICV.js +0 -7
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
},
|
|
613
613
|
{
|
|
614
614
|
"name": "pmcp",
|
|
615
|
-
"version": "0.
|
|
615
|
+
"version": "0.29.0",
|
|
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" },
|
package/.mcp.json
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-2MX5C7B2.js";
|
|
4
4
|
import {
|
|
5
5
|
specFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MYEVRRG2.js";
|
|
7
7
|
import {
|
|
8
8
|
printSmoke,
|
|
9
9
|
runSmoke
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
describeHookProblem,
|
|
16
16
|
project,
|
|
17
17
|
unmanagedHookProblems
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-I5JI547U.js";
|
|
19
19
|
import "./chunk-ANJMLKBR.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-OUKRDS4O.js";
|
|
21
21
|
import {
|
|
22
22
|
checkBudget,
|
|
23
23
|
renderFrontmatter,
|
|
24
24
|
splitFrontmatter
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-LYVMXH4Y.js";
|
|
26
|
+
import "./chunk-3WXRU25Q.js";
|
|
27
27
|
import "./chunk-FLG7VRTC.js";
|
|
28
28
|
import "./chunk-2GD7PQ7J.js";
|
|
29
29
|
import "./chunk-EATCUWGG.js";
|
|
@@ -33,7 +33,7 @@ import "./chunk-LFFIQBNY.js";
|
|
|
33
33
|
import "./chunk-HQOB7OQS.js";
|
|
34
34
|
import "./chunk-73AKO4UL.js";
|
|
35
35
|
import "./chunk-VQBXWMLT.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-5WAMDZHF.js";
|
|
37
37
|
import "./chunk-WUFNKK3U.js";
|
|
38
38
|
import "./chunk-374AZ4J4.js";
|
|
39
39
|
import "./chunk-SDFJJJB5.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
import "./chunk-YSAWTGNA.js";
|
|
58
58
|
import {
|
|
59
59
|
recordProjector
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-POWQPJ5V.js";
|
|
61
61
|
import "./chunk-PZ6D3WKD.js";
|
|
62
62
|
import "./chunk-N7ANFMA5.js";
|
|
63
63
|
import {
|
|
@@ -68,7 +68,7 @@ import "./chunk-KLIYFD3W.js";
|
|
|
68
68
|
import "./chunk-GUHOEIHP.js";
|
|
69
69
|
import "./chunk-IJBSOWHK.js";
|
|
70
70
|
import "./chunk-XWLMZKH2.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-DXQPI4QB.js";
|
|
72
72
|
import "./chunk-GJXOFDJT.js";
|
|
73
73
|
import "./chunk-PMJG2CXF.js";
|
|
74
74
|
import "./chunk-J6KL3COD.js";
|
|
@@ -283,4 +283,4 @@ export {
|
|
|
283
283
|
projectOrCheck,
|
|
284
284
|
removeAndProject
|
|
285
285
|
};
|
|
286
|
-
//# sourceMappingURL=apply-
|
|
286
|
+
//# sourceMappingURL=apply-OAZNNNQS.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-34DECPVC.js";
|
|
7
7
|
import {
|
|
8
8
|
ptyBinary
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-POWQPJ5V.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-
|
|
39
|
+
//# sourceMappingURL=chunk-2ZNKC6ZB.js.map
|
|
@@ -89,6 +89,10 @@ function installIfStale(root, spec, report) {
|
|
|
89
89
|
return 0;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
// src/git/dir-to-gitlink.ts
|
|
93
|
+
import { existsSync as existsSync3, readdirSync as readdirSync2 } from "fs";
|
|
94
|
+
import { join as join3 } from "path";
|
|
95
|
+
|
|
92
96
|
// src/git/added-submodules.ts
|
|
93
97
|
import {
|
|
94
98
|
cpSync,
|
|
@@ -221,9 +225,47 @@ function displace(root, path) {
|
|
|
221
225
|
return target;
|
|
222
226
|
}
|
|
223
227
|
|
|
228
|
+
// src/git/dir-to-gitlink.ts
|
|
229
|
+
function dirToGitlinkPolicy(submodules, checkout) {
|
|
230
|
+
if (submodules === void 0) return { mode: "adopt" };
|
|
231
|
+
const hint = checkout === "main" ? submodules.dirToGitlinkMainHint ?? submodules.dirToGitlinkHint : submodules.dirToGitlinkHint;
|
|
232
|
+
return {
|
|
233
|
+
mode: submodules.dirToGitlink,
|
|
234
|
+
...hint === void 0 ? {} : { hint }
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
function dirsBecomingGitlinks(root, from, to) {
|
|
238
|
+
const raw = gitText(root, [
|
|
239
|
+
"diff",
|
|
240
|
+
"--raw",
|
|
241
|
+
"--abbrev=40",
|
|
242
|
+
"--no-renames",
|
|
243
|
+
from,
|
|
244
|
+
to
|
|
245
|
+
]);
|
|
246
|
+
const paths = [];
|
|
247
|
+
for (const entry of raw.split("\n")) {
|
|
248
|
+
const added = ADDED_GITLINK.exec(entry);
|
|
249
|
+
if (!added) continue;
|
|
250
|
+
const path = added[2] ?? "";
|
|
251
|
+
const kind = git(root, ["cat-file", "-t", `${from}:${path}`]);
|
|
252
|
+
if (kind.status !== 0 || kind.stdout.trim() !== "tree") continue;
|
|
253
|
+
const dir = join3(root, path);
|
|
254
|
+
if (existsSync3(dir) && readdirSync2(dir).length > 0) paths.push(path);
|
|
255
|
+
}
|
|
256
|
+
return paths;
|
|
257
|
+
}
|
|
258
|
+
function dirToGitlinkRefusal(root, from, to, policy) {
|
|
259
|
+
if (policy?.mode !== "refuse") return null;
|
|
260
|
+
const paths = dirsBecomingGitlinks(root, from, to);
|
|
261
|
+
if (paths.length === 0) return null;
|
|
262
|
+
const hint = policy.hint === void 0 ? "" : `; ${policy.hint}`;
|
|
263
|
+
return `the move turns ${paths.join(", ")} from a directory with files into a gitlink ([git.submodules] dir_to_gitlink = "refuse"); left where it is${hint}`;
|
|
264
|
+
}
|
|
265
|
+
|
|
224
266
|
// src/git/submodules.ts
|
|
225
|
-
import { existsSync as
|
|
226
|
-
import { join as
|
|
267
|
+
import { existsSync as existsSync4 } from "fs";
|
|
268
|
+
import { join as join4 } from "path";
|
|
227
269
|
var GITLINK = /^:160000 160000 ([0-9a-f]{40}) ([0-9a-f]{40}) M\t(.+)$/u;
|
|
228
270
|
function clean(dir) {
|
|
229
271
|
return git(dir, ["status", "--porcelain"]).stdout.trim() === "";
|
|
@@ -231,6 +273,13 @@ function clean(dir) {
|
|
|
231
273
|
function hasCommit(dir, sha) {
|
|
232
274
|
return gitOk(dir, ["cat-file", "-e", `${sha}^{commit}`]);
|
|
233
275
|
}
|
|
276
|
+
function fetchedPin(dir, sha) {
|
|
277
|
+
if (!hasCommit(dir, sha)) git(dir, ["fetch", "-q", "origin"]);
|
|
278
|
+
return hasCommit(dir, sha);
|
|
279
|
+
}
|
|
280
|
+
function pushed(dir) {
|
|
281
|
+
return gitText(dir, ["rev-list", "--count", "HEAD", "--not", "--remotes"]) === "0";
|
|
282
|
+
}
|
|
234
283
|
function blocking(dir, head, pin) {
|
|
235
284
|
const local = git(dir, ["status", "--porcelain", "--untracked-files=all"]).stdout.split("\n").filter(Boolean).map((line) => line.slice(3).split(" -> ").pop());
|
|
236
285
|
const changed = new Set(
|
|
@@ -240,15 +289,14 @@ function blocking(dir, head, pin) {
|
|
|
240
289
|
}
|
|
241
290
|
function followOne(dir, oldPin, newPin, shared) {
|
|
242
291
|
const short = newPin.slice(0, 10);
|
|
243
|
-
if (!
|
|
292
|
+
if (!existsSync4(join4(dir, ".git"))) return "not checked out, left alone";
|
|
244
293
|
const head = gitText(dir, ["rev-parse", "HEAD"]);
|
|
245
294
|
if (head === newPin) return `already at ${short}`;
|
|
246
|
-
if (head !== oldPin)
|
|
295
|
+
if (head !== oldPin && !(clean(dir) && pushed(dir)))
|
|
247
296
|
return `left at ${head.slice(0, 10)}: it was not on the old pin, so it holds other work`;
|
|
248
297
|
if (!shared && !clean(dir))
|
|
249
298
|
return `left at the old pin: it has uncommitted changes`;
|
|
250
|
-
if (!
|
|
251
|
-
if (!hasCommit(dir, newPin))
|
|
299
|
+
if (!fetchedPin(dir, newPin))
|
|
252
300
|
return `left at the old pin: ${short} is not fetchable`;
|
|
253
301
|
const branch = gitText(dir, ["symbolic-ref", "--short", "-q", "HEAD"]);
|
|
254
302
|
const args = branch ? ["merge", "-q", "--ff-only", newPin] : ["checkout", "-q", "--detach", newPin];
|
|
@@ -273,7 +321,7 @@ function followPins(root, from, to, shared = []) {
|
|
|
273
321
|
if (!match) continue;
|
|
274
322
|
const [, oldPin = "", newPin = "", path = ""] = match;
|
|
275
323
|
lines.push(
|
|
276
|
-
`${path}: ${followOne(
|
|
324
|
+
`${path}: ${followOne(join4(root, path), oldPin, newPin, shared.includes(path))}`
|
|
277
325
|
);
|
|
278
326
|
}
|
|
279
327
|
return lines;
|
|
@@ -281,26 +329,19 @@ function followPins(root, from, to, shared = []) {
|
|
|
281
329
|
function movableSubmodules(root) {
|
|
282
330
|
const listed = git(root, ["submodule", "status"]).stdout;
|
|
283
331
|
return listed.split("\n").filter((line) => /^[ +]/u.test(line)).map((line) => line.trim().split(/\s+/u)[1] ?? "").filter((path) => {
|
|
284
|
-
const dir =
|
|
285
|
-
if (!path || !
|
|
286
|
-
|
|
287
|
-
"rev-list",
|
|
288
|
-
"--count",
|
|
289
|
-
"HEAD",
|
|
290
|
-
"--not",
|
|
291
|
-
"--remotes"
|
|
292
|
-
]);
|
|
293
|
-
return clean(dir) && local === "0";
|
|
332
|
+
const dir = join4(root, path);
|
|
333
|
+
if (!path || !existsSync4(join4(dir, ".git"))) return false;
|
|
334
|
+
return clean(dir) && pushed(dir);
|
|
294
335
|
});
|
|
295
336
|
}
|
|
296
337
|
function updateToPins(root, paths) {
|
|
297
338
|
const lines = [];
|
|
298
339
|
for (const path of paths) {
|
|
299
340
|
const pin = gitText(root, ["rev-parse", `HEAD:${path}`]);
|
|
300
|
-
const dir =
|
|
301
|
-
if (!pin || !
|
|
341
|
+
const dir = join4(root, path);
|
|
342
|
+
if (!pin || !fetchedPin(dir, pin)) {
|
|
302
343
|
lines.push(
|
|
303
|
-
`${path}: left alone, ${pin.slice(0, 10) || "its pin"} is not in its checkout`
|
|
344
|
+
`${path}: left alone, ${pin.slice(0, 10) || "its pin"} is not in its checkout or on its origin`
|
|
304
345
|
);
|
|
305
346
|
continue;
|
|
306
347
|
}
|
|
@@ -366,6 +407,16 @@ function syncOnce(options) {
|
|
|
366
407
|
}
|
|
367
408
|
const submodules = options.followSubmodules ? movableSubmodules(ctx.root) : [];
|
|
368
409
|
const before = gitText(ctx.root, ["rev-parse", "HEAD"]);
|
|
410
|
+
const replaced = dirToGitlinkRefusal(
|
|
411
|
+
ctx.root,
|
|
412
|
+
before,
|
|
413
|
+
gitText(ctx.root, ["rev-parse", ctx.upstream]),
|
|
414
|
+
options.dirToGitlink
|
|
415
|
+
);
|
|
416
|
+
if (replaced !== null) {
|
|
417
|
+
report.warn(replaced);
|
|
418
|
+
return "held";
|
|
419
|
+
}
|
|
369
420
|
const args = counted.ahead > 0 ? ["reset", "--keep", "-q", ctx.upstream] : ["merge", "--ff-only", "-q", ctx.upstream];
|
|
370
421
|
const moved = git(ctx.root, args);
|
|
371
422
|
if (moved.status !== 0) {
|
|
@@ -399,7 +450,9 @@ export {
|
|
|
399
450
|
installState,
|
|
400
451
|
installIfStale,
|
|
401
452
|
initAddedSubmodules,
|
|
453
|
+
dirToGitlinkPolicy,
|
|
454
|
+
dirToGitlinkRefusal,
|
|
402
455
|
followPins,
|
|
403
456
|
syncWorktree
|
|
404
457
|
};
|
|
405
|
-
//# sourceMappingURL=chunk-
|
|
458
|
+
//# sourceMappingURL=chunk-3WXRU25Q.js.map
|
|
@@ -186,12 +186,20 @@ function submodules(path, source) {
|
|
|
186
186
|
const read = new Reader(path, "git.submodules", source, [
|
|
187
187
|
"follow",
|
|
188
188
|
"shared",
|
|
189
|
-
"push"
|
|
189
|
+
"push",
|
|
190
|
+
"dir_to_gitlink",
|
|
191
|
+
"dir_to_gitlink_hint",
|
|
192
|
+
"dir_to_gitlink_main_hint"
|
|
190
193
|
]);
|
|
194
|
+
const hint = read.string("dir_to_gitlink_hint");
|
|
195
|
+
const mainHint = read.string("dir_to_gitlink_main_hint");
|
|
191
196
|
return {
|
|
192
197
|
follow: read.oneOf("follow", ["clean_pins", "off"], "clean_pins"),
|
|
193
198
|
shared: read.list("shared"),
|
|
194
|
-
push: read.oneOf("push", ["pins", "off"], "off")
|
|
199
|
+
push: read.oneOf("push", ["pins", "off"], "off"),
|
|
200
|
+
dirToGitlink: read.oneOf("dir_to_gitlink", ["adopt", "refuse"], "adopt"),
|
|
201
|
+
...hint === void 0 ? {} : { dirToGitlinkHint: hint },
|
|
202
|
+
...mainHint === void 0 ? {} : { dirToGitlinkMainHint: mainHint }
|
|
195
203
|
};
|
|
196
204
|
}
|
|
197
205
|
function leases(path, sessions) {
|
|
@@ -330,4 +338,4 @@ export {
|
|
|
330
338
|
gateTreePath,
|
|
331
339
|
leaseSpecs
|
|
332
340
|
};
|
|
333
|
-
//# sourceMappingURL=chunk-
|
|
341
|
+
//# sourceMappingURL=chunk-5WAMDZHF.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
customPolicy,
|
|
8
8
|
externalId,
|
|
9
9
|
externalPolicy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LYVMXH4Y.js";
|
|
11
11
|
import {
|
|
12
12
|
RUNTIMES
|
|
13
13
|
} from "./chunk-GQRDEIQA.js";
|
|
@@ -50,4 +50,4 @@ function policyRows(compiled) {
|
|
|
50
50
|
export {
|
|
51
51
|
policyRows
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=chunk-
|
|
53
|
+
//# sourceMappingURL=chunk-66B5NX2N.js.map
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
observeSession,
|
|
8
8
|
openGroup,
|
|
9
9
|
runOperation
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-P54WENV4.js";
|
|
11
11
|
import {
|
|
12
12
|
nativeHostTools
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2ZNKC6ZB.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-
|
|
20
|
+
} from "./chunk-M4CXEF2F.js";
|
|
21
21
|
import {
|
|
22
22
|
ptyBinary
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-POWQPJ5V.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-
|
|
252
|
+
//# sourceMappingURL=chunk-72AF424S.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HOST_MANIFEST,
|
|
3
3
|
HOST_POLICY
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-POWQPJ5V.js";
|
|
5
5
|
import {
|
|
6
6
|
projectStateDir
|
|
7
7
|
} from "./chunk-KLIYFD3W.js";
|
|
@@ -99,4 +99,4 @@ export {
|
|
|
99
99
|
hostApprovalDoctor,
|
|
100
100
|
writeApproval
|
|
101
101
|
};
|
|
102
|
-
//# sourceMappingURL=chunk-
|
|
102
|
+
//# sourceMappingURL=chunk-7JIJPBER.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-5ZABTVSW.js";
|
|
4
4
|
import {
|
|
5
5
|
dependencies
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-C3YIVQGU.js";
|
|
7
7
|
import {
|
|
8
8
|
interactiveEntry
|
|
9
9
|
} from "./chunk-LMT3PPXJ.js";
|
|
10
10
|
import {
|
|
11
11
|
assertNativeHost
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2ZNKC6ZB.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-
|
|
45
|
+
//# sourceMappingURL=chunk-7PYTXWZE.js.map
|
|
@@ -75,11 +75,11 @@ var completionSpec = {
|
|
|
75
75
|
var COMMANDS = [
|
|
76
76
|
{
|
|
77
77
|
...statusSpec,
|
|
78
|
-
load: async () => (await import("./status-
|
|
78
|
+
load: async () => (await import("./status-QZKAWH4N.js")).statusCommand
|
|
79
79
|
},
|
|
80
|
-
{ ...initSpec, load: async () => (await import("./init-
|
|
81
|
-
{ ...hooksSpec, load: async () => (await import("./hooks-
|
|
82
|
-
{ ...serveSpec, load: async () => (await import("./serve-
|
|
80
|
+
{ ...initSpec, load: async () => (await import("./init-WWXUT7II.js")).initCommand },
|
|
81
|
+
{ ...hooksSpec, load: async () => (await import("./hooks-NL2NU4LD.js")).hooksCommand },
|
|
82
|
+
{ ...serveSpec, load: async () => (await import("./serve-RKGWB275.js")).serveCommand },
|
|
83
83
|
{ ...listSpec, load: async () => (await import("./list-LV5EKCF6.js")).listCommand },
|
|
84
84
|
{
|
|
85
85
|
...indexSpec,
|
|
@@ -116,29 +116,29 @@ var COMMANDS = [
|
|
|
116
116
|
{ ...syncSpec, load: async () => (await import("./install-5JH4DSFF.js")).syncCommand },
|
|
117
117
|
{
|
|
118
118
|
...projectSpec,
|
|
119
|
-
load: async () => (await import("./project-
|
|
119
|
+
load: async () => (await import("./project-EORCMTYS.js")).projectCommand
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
...doctorSpec,
|
|
123
|
-
load: async () => (await import("./doctor-
|
|
123
|
+
load: async () => (await import("./doctor-GCGG3QJS.js")).doctorCommand
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
...sessionsSpec,
|
|
127
127
|
load: async () => (await import("./cli-ZOY2274X.js")).sessionsCommand
|
|
128
128
|
},
|
|
129
129
|
{ ...logsSpec, load: async () => (await import("./logs-J4W6GFMK.js")).logsCommand },
|
|
130
|
-
{ ...gitSpec, load: async () => (await import("./cli-
|
|
130
|
+
{ ...gitSpec, load: async () => (await import("./cli-J2ODG3GH.js")).gitCommand },
|
|
131
131
|
{
|
|
132
132
|
...heavySpec,
|
|
133
133
|
load: async () => (await import("./heavy-VBC4AGL6.js")).heavyCommand
|
|
134
134
|
},
|
|
135
|
-
{ ...hostSpec, load: async () => (await import("./host-
|
|
135
|
+
{ ...hostSpec, load: async () => (await import("./host-4PTSDTS6.js")).hostCommand },
|
|
136
136
|
{ ...waitSpec, load: async () => (await import("./wait-HEODT7KV.js")).waitCommand },
|
|
137
137
|
{
|
|
138
138
|
...ownersSpec,
|
|
139
139
|
load: async () => (await import("./owners-MPI22SFU.js")).ownersCommand
|
|
140
140
|
},
|
|
141
|
-
{ ...mcpSpec, load: async () => (await import("./mcp-
|
|
141
|
+
{ ...mcpSpec, load: async () => (await import("./mcp-RAHIIHWP.js")).mcpCommand },
|
|
142
142
|
{
|
|
143
143
|
...validateSpec,
|
|
144
144
|
load: async () => (await import("./validate-YXR7FJJX.js")).validateCommand
|
|
@@ -149,16 +149,16 @@ var COMMANDS = [
|
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
...harnessSpec,
|
|
152
|
-
load: async () => (await import("./harness-
|
|
152
|
+
load: async () => (await import("./harness-AP4WR5T6.js")).harnessCommand
|
|
153
153
|
},
|
|
154
|
-
{ ...tuiSpec, load: async () => (await import("./tui-
|
|
154
|
+
{ ...tuiSpec, load: async () => (await import("./tui-JO3L7VY3.js")).tuiCommand },
|
|
155
155
|
{
|
|
156
156
|
...marketplaceSpec,
|
|
157
157
|
load: async () => (await import("./marketplace-2X3OOEPW.js")).marketplaceCommand
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
...completionSpec,
|
|
161
|
-
load: async () => (await import("./completion-
|
|
161
|
+
load: async () => (await import("./completion-KE7XNYCC.js")).completionCommand
|
|
162
162
|
}
|
|
163
163
|
];
|
|
164
164
|
var PLANNED = [];
|
|
@@ -172,4 +172,4 @@ export {
|
|
|
172
172
|
PLANNED,
|
|
173
173
|
commandNamed
|
|
174
174
|
};
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-ANSN2XBX.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
nativeBinary,
|
|
9
9
|
ptyBinary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-POWQPJ5V.js";
|
|
11
11
|
|
|
12
12
|
// src/tui/rust.ts
|
|
13
13
|
import { spawn } from "child_process";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
runTui,
|
|
63
63
|
dependencies
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
65
|
+
//# sourceMappingURL=chunk-C3YIVQGU.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
prepare,
|
|
8
8
|
present,
|
|
9
9
|
writeNative
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OUKRDS4O.js";
|
|
11
11
|
import {
|
|
12
12
|
ANTIGRAVITY_MCP_PLUGIN,
|
|
13
13
|
BUNDLE_NATIVE_FILES,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
same,
|
|
22
22
|
splitKeyed,
|
|
23
23
|
withoutBlock
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LYVMXH4Y.js";
|
|
25
25
|
import {
|
|
26
26
|
HOOK_DIRECTORY
|
|
27
27
|
} from "./chunk-GQRDEIQA.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
replaceFile,
|
|
31
31
|
replaceLink,
|
|
32
32
|
writeLock
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-POWQPJ5V.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-
|
|
403
|
+
//# sourceMappingURL=chunk-I5JI547U.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7CHUMF3E.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LYVMXH4Y.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError
|
|
9
9
|
} from "./chunk-Y6NFETNG.js";
|
|
@@ -25,4 +25,4 @@ function serverFrom(context) {
|
|
|
25
25
|
export {
|
|
26
26
|
serverFrom
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-KUQXCJ2W.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.
|
|
1193
|
+
var SERVER_VERSION = "0.29.0";
|
|
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-
|
|
1250
|
+
//# sourceMappingURL=chunk-L7SCC2OS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
syncWorktree
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3WXRU25Q.js";
|
|
4
4
|
import {
|
|
5
5
|
localCli,
|
|
6
6
|
pmcpCommand,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
leaseSpecs,
|
|
30
30
|
readGitConfig
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5WAMDZHF.js";
|
|
32
32
|
import {
|
|
33
33
|
ownerLine,
|
|
34
34
|
ownersOf,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
readHost,
|
|
78
78
|
readLock,
|
|
79
79
|
readLockFile
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-POWQPJ5V.js";
|
|
81
81
|
import {
|
|
82
82
|
DISABLE_ENV,
|
|
83
83
|
readLeaseSettings
|
|
@@ -6910,4 +6910,4 @@ export {
|
|
|
6910
6910
|
checkBudget,
|
|
6911
6911
|
readSpec
|
|
6912
6912
|
};
|
|
6913
|
-
//# sourceMappingURL=chunk-
|
|
6913
|
+
//# sourceMappingURL=chunk-LYVMXH4Y.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-34DECPVC.js";
|
|
4
4
|
import {
|
|
5
5
|
ptyBinary
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-POWQPJ5V.js";
|
|
7
7
|
import {
|
|
8
8
|
GroupStore,
|
|
9
9
|
egressPolicy,
|
|
@@ -775,4 +775,4 @@ export {
|
|
|
775
775
|
prepareBridge,
|
|
776
776
|
assertBridge
|
|
777
777
|
};
|
|
778
|
-
//# sourceMappingURL=chunk-
|
|
778
|
+
//# sourceMappingURL=chunk-M4CXEF2F.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7CHUMF3E.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LYVMXH4Y.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError,
|
|
9
9
|
noConfig
|
|
@@ -27,4 +27,4 @@ function specFrom(context) {
|
|
|
27
27
|
export {
|
|
28
28
|
specFrom
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-MYEVRRG2.js.map
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
splitKeyed,
|
|
20
20
|
versionMatches,
|
|
21
21
|
withoutBlock
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LYVMXH4Y.js";
|
|
23
23
|
import {
|
|
24
24
|
lockVersionProblem,
|
|
25
25
|
readLock,
|
|
26
26
|
replaceFile
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-POWQPJ5V.js";
|
|
28
28
|
import {
|
|
29
29
|
ProjectError,
|
|
30
30
|
RULES_DIR,
|
|
@@ -273,4 +273,4 @@ export {
|
|
|
273
273
|
prepare,
|
|
274
274
|
checkProject
|
|
275
275
|
};
|
|
276
|
-
//# sourceMappingURL=chunk-
|
|
276
|
+
//# sourceMappingURL=chunk-OUKRDS4O.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertNativeHost
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2ZNKC6ZB.js";
|
|
4
4
|
import {
|
|
5
5
|
locateExecutable
|
|
6
6
|
} from "./chunk-R2GPCZUX.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
resourceClaim,
|
|
34
34
|
resourceRunning,
|
|
35
35
|
runtimeUnit
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-M4CXEF2F.js";
|
|
37
37
|
import {
|
|
38
38
|
command
|
|
39
39
|
} from "./chunk-34DECPVC.js";
|
|
@@ -1981,4 +1981,4 @@ export {
|
|
|
1981
1981
|
isReadOnly,
|
|
1982
1982
|
runOperation
|
|
1983
1983
|
};
|
|
1984
|
-
//# sourceMappingURL=chunk-
|
|
1984
|
+
//# sourceMappingURL=chunk-P54WENV4.js.map
|