@modootoday/pmcp 0.21.0 → 0.22.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-6FLMTJDV.js → apply-3PR4UOES.js} +10 -10
- package/dist/{chunk-DJZPPCJP.js → chunk-2QJGUR23.js} +3 -3
- package/dist/{chunk-OS5DF3LL.js → chunk-3LADLKAI.js} +4 -4
- package/dist/{chunk-G6JXCUSK.js → chunk-3OBJVG5R.js} +2 -2
- package/dist/{chunk-KVNNVLJR.js → chunk-5ZUDBC3P.js} +2 -2
- package/dist/{chunk-5FW7A6TG.js → chunk-73IDLWRI.js} +2 -2
- package/dist/{chunk-TBKVC2TA.js → chunk-E6YP2PMO.js} +2 -2
- package/dist/{chunk-R3MVL67T.js → chunk-EPNTYTDZ.js} +12 -12
- package/dist/{chunk-ZIJ5IUXH.js → chunk-GBKRDRMZ.js} +14 -5
- package/dist/chunk-L42U5XKC.js +7 -0
- package/dist/{chunk-Z4Q6RYJH.js → chunk-LVNGMGOM.js} +2 -2
- package/dist/{chunk-GQP4GWU4.js → chunk-NDED2O5B.js} +5 -5
- package/dist/{chunk-VBDDFO2V.js → chunk-RNC7PGW2.js} +2 -2
- package/dist/{chunk-OFPNCLG7.js → chunk-RNE4WPBS.js} +2 -2
- package/dist/{chunk-33KGCJB2.js → chunk-S4Y44CCC.js} +2 -2
- package/dist/{chunk-UFWQTZDX.js → chunk-SEM6WD7J.js} +5 -5
- package/dist/{chunk-YLITJLTR.js → chunk-SLCNCAWY.js} +3 -3
- package/dist/{chunk-POTI2RJ6.js → chunk-SPZ42EWE.js} +2 -2
- package/dist/{chunk-VUM6LO77.js → chunk-TCW2H47H.js} +9 -21
- package/dist/{chunk-3X5JQYKN.js → chunk-TPGJXENR.js} +3 -3
- package/dist/chunk-UKR64U7J.js +20 -0
- package/dist/{chunk-DEY23WTH.js → chunk-XB363ZXT.js} +2 -2
- package/dist/{chunk-UD3BEEBQ.js → chunk-XZ2TDH3J.js} +80 -3
- package/dist/{cli-RVPR3MH3.js → cli-BEEDAD4E.js} +5 -5
- package/dist/cli.js +3 -3
- package/dist/{completion-YTPHEVEW.js → completion-LHYNCQ3N.js} +2 -2
- package/dist/{diagnostics-IW54MLFK.js → diagnostics-ABTJUYZQ.js} +5 -5
- package/dist/{doctor-EN4JPSKV.js → doctor-GPPO5L4F.js} +12 -12
- package/dist/{entry-TQWSDTJ4.js → entry-ARGY5CKA.js} +9 -9
- package/dist/{exec-mcp-KKQ75N5O.js → exec-mcp-JEF74XVP.js} +8 -8
- package/dist/{harness-EB76F6BG.js → harness-OCXW6YE4.js} +3 -3
- package/dist/harness-launch-gate.js +3 -3
- package/dist/harness-worker.js +5 -5
- package/dist/{hooks-YWSHUNLM.js → hooks-JHXUN5MD.js} +3 -3
- package/dist/{host-LSVITS6M.js → host-OBRHBDRE.js} +6 -6
- package/dist/{host-OGGADMBT.js → host-VI4ZFCZP.js} +10 -10
- package/dist/{host-run-XO2TS4JC.js → host-run-H7AITG7C.js} +4 -4
- package/dist/http.js +1 -1
- package/dist/{import-mcp-BJDJTPVS.js → import-mcp-3Y33CUHF.js} +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -11
- package/dist/{init-773PTQM5.js → init-WZJHMWNJ.js} +2 -2
- package/dist/{invoke-Y7XH5S2L.js → invoke-GWWTXQLO.js} +7 -7
- package/dist/{list-5W65XVES.js → list-Y6UPLGNF.js} +9 -9
- package/dist/{logout-XO6ALD45.js → logout-KAUW4JZZ.js} +8 -8
- package/dist/{mainline-M2NSTAGC.js → mainline-Q42M2GJ2.js} +106 -13
- package/dist/{mcp-R62ZNVGJ.js → mcp-IDEUIY2F.js} +2 -2
- package/dist/{project-W5DQIZA6.js → project-GVVWLDOJ.js} +4 -4
- package/dist/{run-WYJMTLX7.js → run-HVNKQHVU.js} +4 -4
- package/dist/{run-OZLGSRHF.js → run-RRWB7U2Q.js} +7 -7
- package/dist/{serve-DCQGAGB7.js → serve-KJSOU3BR.js} +3 -3
- package/dist/{setup-D3KEJBGO.js → setup-3GET6K3J.js} +2 -2
- package/dist/{start-login-EKXM75XQ.js → start-login-RNHSEX5P.js} +8 -8
- package/dist/{status-23UDIYYP.js → status-RR4VZARJ.js} +9 -9
- package/dist/{status-EDSEG32U.js → status-Y25ONHA5.js} +8 -8
- package/dist/stdio.js +2 -2
- package/dist/{test-TM6PIZTV.js → test-7NYPQ6YU.js} +8 -8
- package/dist/{tui-EQNJIDN5.js → tui-H5RPSF4B.js} +4 -4
- package/dist/{worker-7X6WBPEI.js → worker-YWFTWIBP.js} +7 -7
- package/dist/{worktree-sync-T6C5YEYS.js → worktree-sync-A277AF4M.js} +3 -5
- package/docs/commands.md +1 -1
- package/docs/git-workflow.md +29 -8
- package/docs/project-configuration.md +4 -0
- package/docs/upgrading.md +16 -0
- 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/plugins/pmcp/skills/agent-assets-migrate/SKILL.md +11 -8
- package/plugins/pmcp/skills/pmcp-project-init/SKILL.md +11 -7
- package/skills/agent-assets-migrate/SKILL.md +11 -8
- package/skills/pmcp-project-init/SKILL.md +11 -7
- package/dist/chunk-2MAD4WNZ.js +0 -92
- package/dist/chunk-H4ZOKIER.js +0 -7
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cherry,
|
|
3
|
+
distance
|
|
4
|
+
} from "./chunk-KUBHGVTD.js";
|
|
5
|
+
import {
|
|
6
|
+
reportModes,
|
|
7
|
+
restoreModes,
|
|
8
|
+
restoreSubmoduleModes,
|
|
9
|
+
withUmask
|
|
10
|
+
} from "./chunk-P6LNYYYH.js";
|
|
1
11
|
import {
|
|
2
12
|
git,
|
|
3
13
|
gitOk,
|
|
@@ -166,13 +176,80 @@ function updateToPins(root, paths) {
|
|
|
166
176
|
return lines;
|
|
167
177
|
}
|
|
168
178
|
|
|
179
|
+
// src/git/worktrees/sync.ts
|
|
180
|
+
function heldBy(root, upstream, ahead) {
|
|
181
|
+
const dirty = gitText(root, [
|
|
182
|
+
"status",
|
|
183
|
+
"--porcelain",
|
|
184
|
+
"--untracked-files=no",
|
|
185
|
+
"--ignore-submodules=all"
|
|
186
|
+
]);
|
|
187
|
+
if (dirty) return "uncommitted changes";
|
|
188
|
+
if (ahead === 0) return null;
|
|
189
|
+
const own = cherry(root, upstream).missing.length;
|
|
190
|
+
if (own > 0) return `${own} unlanded commit(s)`;
|
|
191
|
+
return null;
|
|
192
|
+
}
|
|
193
|
+
function syncWorktree(options) {
|
|
194
|
+
return withUmask(options.umask, () => syncOnce(options));
|
|
195
|
+
}
|
|
196
|
+
function syncOnce(options) {
|
|
197
|
+
const { ctx, report } = options;
|
|
198
|
+
if (!ctx.linked)
|
|
199
|
+
throw new Error(
|
|
200
|
+
"worktree sync moves a linked worktree; the main checkout uses pmcp git sync"
|
|
201
|
+
);
|
|
202
|
+
if (options.fetch !== false && git(ctx.root, ["fetch", "-q", ctx.remote, ctx.mainline]).status !== 0)
|
|
203
|
+
report.warn(
|
|
204
|
+
`fetch from ${ctx.remote} failed; judging against the last fetched ${ctx.upstream}`
|
|
205
|
+
);
|
|
206
|
+
const counted = distance(ctx.root, ctx.upstream);
|
|
207
|
+
if (counted === null)
|
|
208
|
+
throw new Error(`cannot compare HEAD with ${ctx.upstream}`);
|
|
209
|
+
if (counted.behind === 0) {
|
|
210
|
+
report.info(`already on ${ctx.upstream}`);
|
|
211
|
+
if (options.install !== void 0)
|
|
212
|
+
installIfStale(ctx.root, options.install, report);
|
|
213
|
+
return "current";
|
|
214
|
+
}
|
|
215
|
+
const holds = heldBy(ctx.root, ctx.upstream, counted.ahead);
|
|
216
|
+
if (holds !== null) {
|
|
217
|
+
report.warn(
|
|
218
|
+
`${counted.behind} commit(s) behind ${ctx.upstream} and holds ${holds}; left where it is`
|
|
219
|
+
);
|
|
220
|
+
return "held";
|
|
221
|
+
}
|
|
222
|
+
const submodules = options.followSubmodules ? movableSubmodules(ctx.root) : [];
|
|
223
|
+
const before = gitText(ctx.root, ["rev-parse", "HEAD"]);
|
|
224
|
+
const args = counted.ahead > 0 ? ["reset", "--keep", "-q", ctx.upstream] : ["merge", "--ff-only", "-q", ctx.upstream];
|
|
225
|
+
const moved = git(ctx.root, args);
|
|
226
|
+
if (moved.status !== 0) {
|
|
227
|
+
report.warn(
|
|
228
|
+
`could not move to ${ctx.upstream}: ${moved.stderr.trim().split("\n")[0] ?? ""}`
|
|
229
|
+
);
|
|
230
|
+
return "held";
|
|
231
|
+
}
|
|
232
|
+
const after = gitText(ctx.root, ["rev-parse", "HEAD"]);
|
|
233
|
+
report.info(
|
|
234
|
+
`moved ${before.slice(0, 10)} -> ${after.slice(0, 10)}, ${counted.behind} commit(s)`
|
|
235
|
+
);
|
|
236
|
+
for (const line of updateToPins(ctx.root, submodules)) report.info(line);
|
|
237
|
+
if (options.umask !== void 0)
|
|
238
|
+
reportModes(report, [
|
|
239
|
+
...restoreModes(ctx.root, before, after),
|
|
240
|
+
...restoreSubmoduleModes(ctx.root, before, after)
|
|
241
|
+
]);
|
|
242
|
+
if (options.install !== void 0)
|
|
243
|
+
installIfStale(ctx.root, options.install, report);
|
|
244
|
+
return "moved";
|
|
245
|
+
}
|
|
246
|
+
|
|
169
247
|
export {
|
|
170
248
|
installSpec,
|
|
171
249
|
lockHash,
|
|
172
250
|
installState,
|
|
173
251
|
installIfStale,
|
|
174
252
|
followPins,
|
|
175
|
-
|
|
176
|
-
updateToPins
|
|
253
|
+
syncWorktree
|
|
177
254
|
};
|
|
178
|
-
//# sourceMappingURL=chunk-
|
|
255
|
+
//# sourceMappingURL=chunk-XZ2TDH3J.js.map
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
async function action(positional) {
|
|
12
12
|
const [verb, sub] = positional;
|
|
13
13
|
if (verb === "deliver")
|
|
14
|
-
return (await import("./mainline-
|
|
15
|
-
if (verb === "sync") return (await import("./mainline-
|
|
14
|
+
return (await import("./mainline-Q42M2GJ2.js")).mainlineDeliver;
|
|
15
|
+
if (verb === "sync") return (await import("./mainline-Q42M2GJ2.js")).mainlineSync;
|
|
16
16
|
if (verb !== "worktree")
|
|
17
17
|
throw new ArgumentError("Use worktree, deliver or sync");
|
|
18
18
|
if (sub === "create")
|
|
@@ -20,7 +20,7 @@ async function action(positional) {
|
|
|
20
20
|
if (sub === "list")
|
|
21
21
|
return (await import("./worktree-list-EMKUMCTQ.js")).worktreeList;
|
|
22
22
|
if (sub === "sync")
|
|
23
|
-
return (await import("./worktree-sync-
|
|
23
|
+
return (await import("./worktree-sync-A277AF4M.js")).worktreeSync;
|
|
24
24
|
throw new ArgumentError("Use worktree create, list or sync");
|
|
25
25
|
}
|
|
26
26
|
async function run(context) {
|
|
@@ -28,7 +28,7 @@ async function run(context) {
|
|
|
28
28
|
if (context.args.flags.has("json") && !(verb === "worktree" && sub === "list") && verb !== "deliver")
|
|
29
29
|
throw new ArgumentError("--json requires git worktree list or git deliver");
|
|
30
30
|
const act = await action(context.args.positional);
|
|
31
|
-
const { loadGit } = await import("./setup-
|
|
31
|
+
const { loadGit } = await import("./setup-3GET6K3J.js");
|
|
32
32
|
const setup = loadGit(context.cwd, one(context.args, "config"), context.env);
|
|
33
33
|
if (setup instanceof Error) {
|
|
34
34
|
context.ui.error(setup.message);
|
|
@@ -45,4 +45,4 @@ var gitCommand = { ...gitSpec, run };
|
|
|
45
45
|
export {
|
|
46
46
|
gitCommand
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=cli-
|
|
48
|
+
//# sourceMappingURL=cli-BEEDAD4E.js.map
|
package/dist/cli.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
COMMANDS,
|
|
7
7
|
PLANNED,
|
|
8
8
|
commandNamed
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EPNTYTDZ.js";
|
|
10
10
|
import "./chunk-2P4Z2NUX.js";
|
|
11
11
|
import "./chunk-JWRZDYB5.js";
|
|
12
12
|
import "./chunk-3Y3HDMHA.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import "./chunk-V4NPDK6X.js";
|
|
33
33
|
import {
|
|
34
34
|
VERSION
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-L42U5XKC.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-
|
|
188
|
+
const { terminalSupport } = await import("./host-OBRHBDRE.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-
|
|
4
|
+
} from "./chunk-EPNTYTDZ.js";
|
|
5
5
|
import "./chunk-2P4Z2NUX.js";
|
|
6
6
|
import "./chunk-JWRZDYB5.js";
|
|
7
7
|
import "./chunk-3Y3HDMHA.js";
|
|
@@ -139,4 +139,4 @@ var completionCommand = {
|
|
|
139
139
|
export {
|
|
140
140
|
completionCommand
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=completion-
|
|
142
|
+
//# sourceMappingURL=completion-LHYNCQ3N.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dependencies
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E6YP2PMO.js";
|
|
4
4
|
import {
|
|
5
5
|
assertNativeHost
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SPZ42EWE.js";
|
|
7
7
|
import {
|
|
8
8
|
locateExecutable
|
|
9
9
|
} from "./chunk-R2GPCZUX.js";
|
|
10
10
|
import "./chunk-34DECPVC.js";
|
|
11
11
|
import {
|
|
12
12
|
missingBinary
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XB363ZXT.js";
|
|
14
14
|
import "./chunk-OEH47H6A.js";
|
|
15
15
|
import "./chunk-IJBSOWHK.js";
|
|
16
16
|
import {
|
|
17
17
|
VERSION
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-L42U5XKC.js";
|
|
19
19
|
import "./chunk-GJXOFDJT.js";
|
|
20
20
|
import "./chunk-PMJG2CXF.js";
|
|
21
21
|
import {
|
|
@@ -90,4 +90,4 @@ function inspectTerminalHost() {
|
|
|
90
90
|
export {
|
|
91
91
|
inspectTerminalHost
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=diagnostics-
|
|
93
|
+
//# sourceMappingURL=diagnostics-ABTJUYZQ.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
specFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RNC7PGW2.js";
|
|
4
4
|
import "./chunk-RPCIROW7.js";
|
|
5
5
|
import {
|
|
6
6
|
doctor,
|
|
7
7
|
spawnRunner
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-SEM6WD7J.js";
|
|
9
|
+
import "./chunk-5ZUDBC3P.js";
|
|
10
10
|
import "./chunk-JQVSDPFL.js";
|
|
11
11
|
import "./chunk-VJFEN6DJ.js";
|
|
12
12
|
import "./chunk-NHUMPEPV.js";
|
|
13
13
|
import "./chunk-TIA4SPU2.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-3LADLKAI.js";
|
|
15
15
|
import "./chunk-P4N7DBD5.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-2QJGUR23.js";
|
|
17
17
|
import {
|
|
18
18
|
FEATURES,
|
|
19
19
|
GUARDS,
|
|
20
20
|
customEvent
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-TCW2H47H.js";
|
|
22
|
+
import "./chunk-UKR64U7J.js";
|
|
23
|
+
import "./chunk-XZ2TDH3J.js";
|
|
24
24
|
import "./chunk-KUBHGVTD.js";
|
|
25
25
|
import "./chunk-EATCUWGG.js";
|
|
26
26
|
import "./chunk-OFJIMBTL.js";
|
|
@@ -29,7 +29,7 @@ import "./chunk-LFFIQBNY.js";
|
|
|
29
29
|
import "./chunk-HQOB7OQS.js";
|
|
30
30
|
import "./chunk-73AKO4UL.js";
|
|
31
31
|
import "./chunk-P6LNYYYH.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-GBKRDRMZ.js";
|
|
33
33
|
import "./chunk-2Q6MNGU5.js";
|
|
34
34
|
import "./chunk-MR5IBS6L.js";
|
|
35
35
|
import "./chunk-Z6WRFOFT.js";
|
|
@@ -55,10 +55,10 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
TOOLS
|
|
57
57
|
} from "./chunk-V4NPDK6X.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-XB363ZXT.js";
|
|
59
59
|
import "./chunk-OEH47H6A.js";
|
|
60
60
|
import "./chunk-IJBSOWHK.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-L42U5XKC.js";
|
|
62
62
|
import "./chunk-GJXOFDJT.js";
|
|
63
63
|
import "./chunk-PMJG2CXF.js";
|
|
64
64
|
import "./chunk-J6KL3COD.js";
|
|
@@ -537,4 +537,4 @@ var doctorCommand = {
|
|
|
537
537
|
export {
|
|
538
538
|
doctorCommand
|
|
539
539
|
};
|
|
540
|
-
//# sourceMappingURL=doctor-
|
|
540
|
+
//# sourceMappingURL=doctor-GPPO5L4F.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requireTerminal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TPGJXENR.js";
|
|
4
4
|
import "./chunk-5ZABTVSW.js";
|
|
5
5
|
import {
|
|
6
6
|
runTui
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-E6YP2PMO.js";
|
|
8
8
|
import {
|
|
9
9
|
ensureStartupDirectory,
|
|
10
10
|
readStartup,
|
|
@@ -14,22 +14,22 @@ import {
|
|
|
14
14
|
} from "./chunk-C3G75JH7.js";
|
|
15
15
|
import {
|
|
16
16
|
invoke
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NDED2O5B.js";
|
|
18
18
|
import {
|
|
19
19
|
lockFile
|
|
20
20
|
} from "./chunk-DZ2MRTYT.js";
|
|
21
21
|
import "./chunk-LMT3PPXJ.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-SLCNCAWY.js";
|
|
23
|
+
import "./chunk-SPZ42EWE.js";
|
|
24
24
|
import {
|
|
25
25
|
locateExecutable
|
|
26
26
|
} from "./chunk-R2GPCZUX.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-S4Y44CCC.js";
|
|
28
28
|
import "./chunk-34DECPVC.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-XB363ZXT.js";
|
|
30
30
|
import "./chunk-OEH47H6A.js";
|
|
31
31
|
import "./chunk-IJBSOWHK.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-L42U5XKC.js";
|
|
33
33
|
import "./chunk-GJXOFDJT.js";
|
|
34
34
|
import "./chunk-PMJG2CXF.js";
|
|
35
35
|
import {
|
|
@@ -302,4 +302,4 @@ export {
|
|
|
302
302
|
launchStartup,
|
|
303
303
|
planStartup
|
|
304
304
|
};
|
|
305
|
-
//# sourceMappingURL=entry-
|
|
305
|
+
//# sourceMappingURL=entry-ARGY5CKA.js.map
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-UPQTAHUK.js";
|
|
9
9
|
import {
|
|
10
10
|
specFrom
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RNC7PGW2.js";
|
|
12
12
|
import "./chunk-RPCIROW7.js";
|
|
13
13
|
import {
|
|
14
14
|
launch
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-TCW2H47H.js";
|
|
16
|
+
import "./chunk-UKR64U7J.js";
|
|
17
|
+
import "./chunk-XZ2TDH3J.js";
|
|
18
18
|
import "./chunk-KUBHGVTD.js";
|
|
19
19
|
import "./chunk-EATCUWGG.js";
|
|
20
20
|
import "./chunk-OFJIMBTL.js";
|
|
@@ -25,7 +25,7 @@ import "./chunk-LFFIQBNY.js";
|
|
|
25
25
|
import "./chunk-HQOB7OQS.js";
|
|
26
26
|
import "./chunk-73AKO4UL.js";
|
|
27
27
|
import "./chunk-P6LNYYYH.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GBKRDRMZ.js";
|
|
29
29
|
import "./chunk-2Q6MNGU5.js";
|
|
30
30
|
import "./chunk-MR5IBS6L.js";
|
|
31
31
|
import "./chunk-Z6WRFOFT.js";
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
import "./chunk-5YCKFU5Q.js";
|
|
37
37
|
import "./chunk-A4PKLESO.js";
|
|
38
38
|
import "./chunk-V4NPDK6X.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-XB363ZXT.js";
|
|
40
40
|
import "./chunk-OEH47H6A.js";
|
|
41
41
|
import "./chunk-IJBSOWHK.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-L42U5XKC.js";
|
|
43
43
|
import "./chunk-GJXOFDJT.js";
|
|
44
44
|
import "./chunk-PMJG2CXF.js";
|
|
45
45
|
import "./chunk-J6KL3COD.js";
|
|
@@ -365,4 +365,4 @@ function runExecMcp(context, name) {
|
|
|
365
365
|
export {
|
|
366
366
|
runExecMcp
|
|
367
367
|
};
|
|
368
|
-
//# sourceMappingURL=exec-mcp-
|
|
368
|
+
//# sourceMappingURL=exec-mcp-JEF74XVP.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-
|
|
154
|
+
const { runHost } = await import("./host-VI4ZFCZP.js");
|
|
155
155
|
return runHost(context);
|
|
156
156
|
}
|
|
157
157
|
try {
|
|
158
158
|
const operation = parseInvocation(context);
|
|
159
|
-
const { invoke } = await import("./invoke-
|
|
159
|
+
const { invoke } = await import("./invoke-GWWTXQLO.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-
|
|
177
|
+
//# sourceMappingURL=harness-OCXW6YE4.js.map
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
assertProof,
|
|
8
8
|
assertResourceFresh,
|
|
9
9
|
createProof
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-S4Y44CCC.js";
|
|
11
11
|
import "./chunk-34DECPVC.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-XB363ZXT.js";
|
|
13
13
|
import "./chunk-OEH47H6A.js";
|
|
14
14
|
import "./chunk-IJBSOWHK.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-L42U5XKC.js";
|
|
16
16
|
import "./chunk-GJXOFDJT.js";
|
|
17
17
|
import "./chunk-PMJG2CXF.js";
|
|
18
18
|
import {
|
package/dist/harness-worker.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runOperation
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SLCNCAWY.js";
|
|
4
|
+
import "./chunk-SPZ42EWE.js";
|
|
5
5
|
import "./chunk-R2GPCZUX.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-S4Y44CCC.js";
|
|
7
7
|
import "./chunk-34DECPVC.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-XB363ZXT.js";
|
|
9
9
|
import "./chunk-OEH47H6A.js";
|
|
10
10
|
import "./chunk-IJBSOWHK.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-L42U5XKC.js";
|
|
12
12
|
import "./chunk-GJXOFDJT.js";
|
|
13
13
|
import "./chunk-PMJG2CXF.js";
|
|
14
14
|
import {
|
|
@@ -11,8 +11,8 @@ async function run(context) {
|
|
|
11
11
|
const [verb = "list", ...extra] = context.args.positional;
|
|
12
12
|
const usage = "Use hooks list, hooks test or hooks report";
|
|
13
13
|
if (extra.length) throw new ArgumentError(usage);
|
|
14
|
-
if (verb === "list") return (await import("./list-
|
|
15
|
-
if (verb === "test") return (await import("./test-
|
|
14
|
+
if (verb === "list") return (await import("./list-Y6UPLGNF.js")).run(context);
|
|
15
|
+
if (verb === "test") return (await import("./test-7NYPQ6YU.js")).run(context);
|
|
16
16
|
if (verb === "report")
|
|
17
17
|
return (await import("./report-Z3JV2PCT.js")).run(context);
|
|
18
18
|
throw new ArgumentError(usage);
|
|
@@ -21,4 +21,4 @@ var hooksCommand = { ...hooksSpec, run };
|
|
|
21
21
|
export {
|
|
22
22
|
hooksCommand
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=hooks-
|
|
24
|
+
//# sourceMappingURL=hooks-JHXUN5MD.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requireTerminal,
|
|
3
3
|
terminalSupport
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TPGJXENR.js";
|
|
5
5
|
import "./chunk-5ZABTVSW.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-E6YP2PMO.js";
|
|
7
7
|
import "./chunk-LMT3PPXJ.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-SPZ42EWE.js";
|
|
9
9
|
import "./chunk-R2GPCZUX.js";
|
|
10
10
|
import "./chunk-34DECPVC.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-XB363ZXT.js";
|
|
12
12
|
import "./chunk-OEH47H6A.js";
|
|
13
13
|
import "./chunk-IJBSOWHK.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-L42U5XKC.js";
|
|
15
15
|
import "./chunk-GJXOFDJT.js";
|
|
16
16
|
import "./chunk-PMJG2CXF.js";
|
|
17
17
|
import "./chunk-J6KL3COD.js";
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
requireTerminal,
|
|
20
20
|
terminalSupport
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=host-
|
|
22
|
+
//# sourceMappingURL=host-OBRHBDRE.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-F5XMGOOX.js";
|
|
5
5
|
import {
|
|
6
6
|
specFrom
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RNC7PGW2.js";
|
|
8
8
|
import "./chunk-RPCIROW7.js";
|
|
9
9
|
import {
|
|
10
10
|
approvalDir,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
hostDigest,
|
|
13
13
|
projectedFiles,
|
|
14
14
|
writeApproval
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-5ZUDBC3P.js";
|
|
16
|
+
import "./chunk-TCW2H47H.js";
|
|
17
|
+
import "./chunk-UKR64U7J.js";
|
|
18
|
+
import "./chunk-XZ2TDH3J.js";
|
|
19
19
|
import "./chunk-KUBHGVTD.js";
|
|
20
20
|
import "./chunk-EATCUWGG.js";
|
|
21
21
|
import "./chunk-OFJIMBTL.js";
|
|
@@ -24,7 +24,7 @@ import "./chunk-LFFIQBNY.js";
|
|
|
24
24
|
import "./chunk-HQOB7OQS.js";
|
|
25
25
|
import "./chunk-73AKO4UL.js";
|
|
26
26
|
import "./chunk-P6LNYYYH.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-GBKRDRMZ.js";
|
|
28
28
|
import "./chunk-2Q6MNGU5.js";
|
|
29
29
|
import "./chunk-MR5IBS6L.js";
|
|
30
30
|
import {
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
import "./chunk-V4NPDK6X.js";
|
|
40
40
|
import {
|
|
41
41
|
hostDoctor
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-XB363ZXT.js";
|
|
43
43
|
import "./chunk-OEH47H6A.js";
|
|
44
44
|
import "./chunk-IJBSOWHK.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-L42U5XKC.js";
|
|
46
46
|
import "./chunk-GJXOFDJT.js";
|
|
47
47
|
import "./chunk-PMJG2CXF.js";
|
|
48
48
|
import "./chunk-J6KL3COD.js";
|
|
@@ -182,7 +182,7 @@ async function runHost(context) {
|
|
|
182
182
|
return 1;
|
|
183
183
|
}
|
|
184
184
|
if (verb === "up" || verb === "down" || verb === "unit") {
|
|
185
|
-
const { runHostVerb } = await import("./host-run-
|
|
185
|
+
const { runHostVerb } = await import("./host-run-H7AITG7C.js");
|
|
186
186
|
return runHostVerb(verb, spec, context);
|
|
187
187
|
}
|
|
188
188
|
if (verb === "status") {
|
|
@@ -210,4 +210,4 @@ async function runHost(context) {
|
|
|
210
210
|
export {
|
|
211
211
|
runHost
|
|
212
212
|
};
|
|
213
|
-
//# sourceMappingURL=host-
|
|
213
|
+
//# sourceMappingURL=host-VI4ZFCZP.js.map
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
approvalDir,
|
|
7
7
|
approvalState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5ZUDBC3P.js";
|
|
9
9
|
import {
|
|
10
10
|
ArgumentError
|
|
11
11
|
} from "./chunk-A4PKLESO.js";
|
|
12
12
|
import {
|
|
13
13
|
missingBinary,
|
|
14
14
|
ptyBinary
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XB363ZXT.js";
|
|
16
16
|
import {
|
|
17
17
|
projectStateDir
|
|
18
18
|
} from "./chunk-OEH47H6A.js";
|
|
19
19
|
import "./chunk-IJBSOWHK.js";
|
|
20
20
|
import {
|
|
21
21
|
VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-L42U5XKC.js";
|
|
23
23
|
import "./chunk-GJXOFDJT.js";
|
|
24
24
|
import "./chunk-PMJG2CXF.js";
|
|
25
25
|
import {
|
|
@@ -327,4 +327,4 @@ async function runHostVerb(verb, spec, context) {
|
|
|
327
327
|
export {
|
|
328
328
|
runHostVerb
|
|
329
329
|
};
|
|
330
|
-
//# sourceMappingURL=host-run-
|
|
330
|
+
//# sourceMappingURL=host-run-H7AITG7C.js.map
|
package/dist/http.js
CHANGED
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
} from "./chunk-P4N7DBD5.js";
|
|
7
7
|
import {
|
|
8
8
|
readMcp
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-TCW2H47H.js";
|
|
10
|
+
import "./chunk-UKR64U7J.js";
|
|
11
|
+
import "./chunk-XZ2TDH3J.js";
|
|
12
12
|
import "./chunk-KUBHGVTD.js";
|
|
13
13
|
import "./chunk-EATCUWGG.js";
|
|
14
14
|
import "./chunk-OFJIMBTL.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-LFFIQBNY.js";
|
|
|
19
19
|
import "./chunk-HQOB7OQS.js";
|
|
20
20
|
import "./chunk-73AKO4UL.js";
|
|
21
21
|
import "./chunk-P6LNYYYH.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-GBKRDRMZ.js";
|
|
23
23
|
import "./chunk-2Q6MNGU5.js";
|
|
24
24
|
import "./chunk-MR5IBS6L.js";
|
|
25
25
|
import "./chunk-Z6WRFOFT.js";
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
TOOLS
|
|
35
35
|
} from "./chunk-V4NPDK6X.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-XB363ZXT.js";
|
|
37
37
|
import "./chunk-OEH47H6A.js";
|
|
38
38
|
import "./chunk-IJBSOWHK.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-L42U5XKC.js";
|
|
40
40
|
import "./chunk-GJXOFDJT.js";
|
|
41
41
|
import "./chunk-PMJG2CXF.js";
|
|
42
42
|
import "./chunk-J6KL3COD.js";
|
|
@@ -401,4 +401,4 @@ function importMcp(context) {
|
|
|
401
401
|
export {
|
|
402
402
|
importMcp
|
|
403
403
|
};
|
|
404
|
-
//# sourceMappingURL=import-mcp-
|
|
404
|
+
//# sourceMappingURL=import-mcp-3Y33CUHF.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -304,7 +304,7 @@ declare function resolveSkillFileUri(uri: string, entries: readonly SkillEntry[]
|
|
|
304
304
|
} | null;
|
|
305
305
|
|
|
306
306
|
declare const SERVER_NAME = "pmcp";
|
|
307
|
-
declare const SERVER_VERSION = "0.
|
|
307
|
+
declare const SERVER_VERSION = "0.22.0";
|
|
308
308
|
declare function registerSkillTools(server: McpServer, tools: SkillTools): McpServer;
|
|
309
309
|
interface SkillMcpOptions extends SkillServerOptions {
|
|
310
310
|
readonly mailbox?: MailboxService;
|