@modootoday/pmcp 0.23.1 → 0.24.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/CONTRIBUTING.md +8 -0
- package/dist/{apply-3PWUO4J5.js → apply-6JVJ7FDZ.js} +8 -8
- package/dist/{chunk-WQBKQTNT.js → chunk-25M2YWBH.js} +3 -3
- package/dist/{chunk-6QJ3F445.js → chunk-2W2F5BWF.js} +13 -13
- package/dist/{chunk-RRKA3GF5.js → chunk-56VBB3H7.js} +2 -2
- package/dist/{chunk-2K4WYN4C.js → chunk-5QBOGEVE.js} +2 -2
- package/dist/{chunk-LGRFYN5T.js → chunk-62BC3K4Z.js} +2 -2
- package/dist/{chunk-72V6U7CZ.js → chunk-644GNYMB.js} +3 -3
- package/dist/{chunk-LO54UUDE.js → chunk-6UGHVU5B.js} +2 -2
- package/dist/{chunk-KYGGQPAH.js → chunk-7A6QIROT.js} +3 -3
- package/dist/{chunk-EQF64INS.js → chunk-D2MHB5EF.js} +3 -3
- package/dist/{chunk-DNSHJIS4.js → chunk-ISGHJHVH.js} +2 -2
- package/dist/{chunk-ZXMECZBI.js → chunk-K6ATERWS.js} +4 -4
- package/dist/{chunk-6NRLBSEG.js → chunk-LB2WXBPA.js} +5 -5
- package/dist/{chunk-SDQYZDHS.js → chunk-LI3BII4F.js} +2 -2
- package/dist/chunk-LTMHE5VL.js +7 -0
- package/dist/{chunk-DZTSCJOZ.js → chunk-QR4GXET7.js} +3 -3
- package/dist/{chunk-FOLA4EUJ.js → chunk-QY2P54Z2.js} +10 -2
- package/dist/{chunk-JJFPSFDU.js → chunk-S6G7YWNE.js} +2 -2
- package/dist/{chunk-5HNLHI5F.js → chunk-TIH7JFPJ.js} +2 -2
- package/dist/{chunk-YRNFMPZB.js → chunk-UFWW4H6V.js} +2 -2
- package/dist/{chunk-P25V6NEX.js → chunk-WNP2BXR7.js} +5 -5
- package/dist/{cli-YWV7FLYO.js → cli-WWNTQJPV.js} +3 -3
- package/dist/cli.js +3 -3
- package/dist/{completion-OKGNN7DE.js → completion-I63UIDZ7.js} +2 -2
- package/dist/{diagnostics-N4XRRCQG.js → diagnostics-RUJZBPNZ.js} +6 -6
- package/dist/{doctor-3H6UYNEA.js → doctor-CLUFTEFO.js} +10 -10
- package/dist/{entry-KDLLG6ED.js → entry-QSJCFI5Z.js} +10 -10
- package/dist/{exec-mcp-AENALAHJ.js → exec-mcp-AFPUJTN7.js} +6 -6
- package/dist/{harness-GRYTNUF2.js → harness-PPM32AI5.js} +3 -3
- package/dist/harness-launch-gate.js +4 -4
- package/dist/harness-worker.js +6 -6
- package/dist/{heavy-BGXKJKYB.js → heavy-TEHP5PHT.js} +35 -6
- package/dist/{hooks-V25ANQ4Q.js → hooks-L4PXVEGR.js} +3 -3
- package/dist/{host-MLSWY7D7.js → host-LBTL47X7.js} +8 -8
- package/dist/{host-4EGPADOJ.js → host-MU2GRH57.js} +7 -7
- package/dist/{host-run-VI52IUKF.js → host-run-IRSAQA5Z.js} +5 -5
- package/dist/http.js +1 -1
- package/dist/{import-mcp-FIXFLUDM.js → import-mcp-QVPW6A2Q.js} +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/{init-ALTBFUPP.js → init-46STH6FP.js} +2 -2
- package/dist/{invoke-7T7UY57O.js → invoke-I6C6UT6Q.js} +8 -8
- package/dist/{list-JFZ7UZLV.js → list-HXG6EB7V.js} +7 -7
- package/dist/{logout-7CNBO76Z.js → logout-SSUXJ6SE.js} +6 -6
- package/dist/{mainline-6PBT3VNR.js → mainline-4XP6ZORU.js} +2 -2
- package/dist/{mcp-MVQVMAKJ.js → mcp-L6X45IOS.js} +2 -2
- package/dist/{project-FZGJRG2U.js → project-4JPKU2D7.js} +4 -4
- package/dist/{run-VGJDMA2O.js → run-OW7436TY.js} +4 -4
- package/dist/{run-TOP37ZQC.js → run-PMASXIGY.js} +5 -5
- package/dist/{serve-LR7SJHNH.js → serve-P3HJN6AF.js} +3 -3
- package/dist/{start-login-X37KGCCB.js → start-login-P7YDRTA3.js} +6 -6
- package/dist/{status-LBRK37GA.js → status-DAXQKT35.js} +7 -7
- package/dist/{status-E4AFUOQO.js → status-DLGZDYEP.js} +6 -6
- package/dist/stdio.js +2 -2
- package/dist/{test-D2EEFUN2.js → test-H243OTSK.js} +6 -6
- package/dist/{tui-D7E3MD3X.js → tui-P6XTSTQO.js} +4 -4
- package/dist/{worker-WTBC6VYO.js → worker-5YJLIGTU.js} +8 -8
- package/docs/commands.md +1 -1
- package/docs/project-configuration.md +21 -5
- package/docs/upgrading.md +24 -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/dist/chunk-7IRXUPM2.js +0 -7
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
specFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UFWW4H6V.js";
|
|
4
4
|
import {
|
|
5
5
|
policyRows
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TIH7JFPJ.js";
|
|
7
7
|
import "./chunk-7TD53M7L.js";
|
|
8
8
|
import "./chunk-7CHUMF3E.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-25M2YWBH.js";
|
|
10
10
|
import "./chunk-UYBWUOLR.js";
|
|
11
11
|
import "./chunk-UKR64U7J.js";
|
|
12
12
|
import "./chunk-42SO7KYX.js";
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
ArgumentError,
|
|
31
31
|
one
|
|
32
32
|
} from "./chunk-Y6NFETNG.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-7A6QIROT.js";
|
|
34
|
+
import "./chunk-QY2P54Z2.js";
|
|
35
35
|
import "./chunk-N7ANFMA5.js";
|
|
36
36
|
import "./chunk-TYY5TYHF.js";
|
|
37
37
|
import "./chunk-T6C3TSTO.js";
|
|
@@ -39,7 +39,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
39
39
|
import "./chunk-GUHOEIHP.js";
|
|
40
40
|
import "./chunk-IJBSOWHK.js";
|
|
41
41
|
import "./chunk-XWLMZKH2.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-LTMHE5VL.js";
|
|
43
43
|
import "./chunk-GJXOFDJT.js";
|
|
44
44
|
import "./chunk-PMJG2CXF.js";
|
|
45
45
|
import "./chunk-J6KL3COD.js";
|
|
@@ -71,4 +71,4 @@ function run(context) {
|
|
|
71
71
|
export {
|
|
72
72
|
run
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=list-
|
|
74
|
+
//# sourceMappingURL=list-HXG6EB7V.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serverFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-56VBB3H7.js";
|
|
4
4
|
import {
|
|
5
5
|
logout
|
|
6
6
|
} from "./chunk-E2YOZ2FF.js";
|
|
7
7
|
import "./chunk-DZ2MRTYT.js";
|
|
8
8
|
import "./chunk-UPQTAHUK.js";
|
|
9
9
|
import "./chunk-7CHUMF3E.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-25M2YWBH.js";
|
|
11
11
|
import "./chunk-UYBWUOLR.js";
|
|
12
12
|
import "./chunk-UKR64U7J.js";
|
|
13
13
|
import "./chunk-42SO7KYX.js";
|
|
@@ -26,8 +26,8 @@ import "./chunk-Q5H3L6Y4.js";
|
|
|
26
26
|
import "./chunk-ARXCYFFZ.js";
|
|
27
27
|
import "./chunk-V4NPDK6X.js";
|
|
28
28
|
import "./chunk-Y6NFETNG.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-7A6QIROT.js";
|
|
30
|
+
import "./chunk-QY2P54Z2.js";
|
|
31
31
|
import "./chunk-N7ANFMA5.js";
|
|
32
32
|
import "./chunk-TYY5TYHF.js";
|
|
33
33
|
import "./chunk-T6C3TSTO.js";
|
|
@@ -35,7 +35,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
35
35
|
import "./chunk-GUHOEIHP.js";
|
|
36
36
|
import "./chunk-IJBSOWHK.js";
|
|
37
37
|
import "./chunk-XWLMZKH2.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-LTMHE5VL.js";
|
|
39
39
|
import "./chunk-GJXOFDJT.js";
|
|
40
40
|
import "./chunk-PMJG2CXF.js";
|
|
41
41
|
import "./chunk-J6KL3COD.js";
|
|
@@ -50,4 +50,4 @@ async function run(context) {
|
|
|
50
50
|
export {
|
|
51
51
|
run
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=logout-
|
|
53
|
+
//# sourceMappingURL=logout-SSUXJ6SE.js.map
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
import "./chunk-Y6NFETNG.js";
|
|
55
55
|
import {
|
|
56
56
|
BUSY_EXIT
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-QY2P54Z2.js";
|
|
58
58
|
import "./chunk-N7ANFMA5.js";
|
|
59
59
|
import "./chunk-T6C3TSTO.js";
|
|
60
60
|
import "./chunk-FQLCD4HU.js";
|
|
@@ -1110,4 +1110,4 @@ export {
|
|
|
1110
1110
|
mainlineDeliver,
|
|
1111
1111
|
mainlineSync
|
|
1112
1112
|
};
|
|
1113
|
-
//# sourceMappingURL=mainline-
|
|
1113
|
+
//# sourceMappingURL=mainline-4XP6ZORU.js.map
|
|
@@ -5,11 +5,11 @@ import "./chunk-JPYQDOEW.js";
|
|
|
5
5
|
|
|
6
6
|
// src/commands/mcp.ts
|
|
7
7
|
async function run(context) {
|
|
8
|
-
const { executeMcpCommand } = await import("./run-
|
|
8
|
+
const { executeMcpCommand } = await import("./run-OW7436TY.js");
|
|
9
9
|
return executeMcpCommand(context);
|
|
10
10
|
}
|
|
11
11
|
var mcpCommand = { ...mcpSpec, run };
|
|
12
12
|
export {
|
|
13
13
|
mcpCommand
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=mcp-
|
|
15
|
+
//# sourceMappingURL=mcp-L6X45IOS.js.map
|
|
@@ -21,7 +21,7 @@ async function route(context, verb, name) {
|
|
|
21
21
|
if (name === void 0 || context.args.flags.has("check") || context.args.flags.has("write") || many(context.args, "source").length > 0 || many(context.args, "name").length > 0) {
|
|
22
22
|
throw new ArgumentError("exec-mcp takes only a declared MCP alias");
|
|
23
23
|
}
|
|
24
|
-
const { runExecMcp } = await import("./exec-mcp-
|
|
24
|
+
const { runExecMcp } = await import("./exec-mcp-AFPUJTN7.js");
|
|
25
25
|
return await runExecMcp(context, name);
|
|
26
26
|
}
|
|
27
27
|
if (verb === "import-mcp") {
|
|
@@ -30,13 +30,13 @@ async function route(context, verb, name) {
|
|
|
30
30
|
"import-mcp takes --source, --name and --write; no positional name or --check"
|
|
31
31
|
);
|
|
32
32
|
}
|
|
33
|
-
const { importMcp } = await import("./import-mcp-
|
|
33
|
+
const { importMcp } = await import("./import-mcp-QVPW6A2Q.js");
|
|
34
34
|
return importMcp(context);
|
|
35
35
|
}
|
|
36
36
|
if (many(context.args, "source").length > 0 || one(context.args, "name") !== void 0 || context.args.flags.has("write")) {
|
|
37
37
|
throw new ArgumentError("--source, --name and --write require import-mcp");
|
|
38
38
|
}
|
|
39
|
-
const apply = await import("./apply-
|
|
39
|
+
const apply = await import("./apply-6JVJ7FDZ.js");
|
|
40
40
|
if (verb === void 0) return apply.projectOrCheck(context);
|
|
41
41
|
if (!VERBS.includes(verb)) throw unknownSubcommand("project", verb, VERBS);
|
|
42
42
|
if (context.args.flags.has("check")) {
|
|
@@ -69,4 +69,4 @@ var projectCommand = {
|
|
|
69
69
|
export {
|
|
70
70
|
projectCommand
|
|
71
71
|
};
|
|
72
|
-
//# sourceMappingURL=project-
|
|
72
|
+
//# sourceMappingURL=project-4JPKU2D7.js.map
|
|
@@ -13,11 +13,11 @@ async function executeMcpCommand(context) {
|
|
|
13
13
|
if (extra.length) throw new ArgumentError(`unexpected ${extra.join(" ")}`);
|
|
14
14
|
if (context.args.flags.has("json") && verb !== "status")
|
|
15
15
|
throw new ArgumentError("--json requires mcp status");
|
|
16
|
-
if (verb === "status") return (await import("./status-
|
|
17
|
-
if (verb === "logout") return (await import("./logout-
|
|
18
|
-
return (await import("./start-login-
|
|
16
|
+
if (verb === "status") return (await import("./status-DLGZDYEP.js")).run(context);
|
|
17
|
+
if (verb === "logout") return (await import("./logout-SSUXJ6SE.js")).run(context);
|
|
18
|
+
return (await import("./start-login-P7YDRTA3.js")).run(context);
|
|
19
19
|
}
|
|
20
20
|
export {
|
|
21
21
|
executeMcpCommand
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=run-
|
|
23
|
+
//# sourceMappingURL=run-OW7436TY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readSpec
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-25M2YWBH.js";
|
|
4
4
|
import "./chunk-UYBWUOLR.js";
|
|
5
5
|
import "./chunk-UKR64U7J.js";
|
|
6
6
|
import "./chunk-42SO7KYX.js";
|
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
ArgumentError,
|
|
27
27
|
one
|
|
28
28
|
} from "./chunk-Y6NFETNG.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-7A6QIROT.js";
|
|
30
|
+
import "./chunk-QY2P54Z2.js";
|
|
31
31
|
import "./chunk-N7ANFMA5.js";
|
|
32
32
|
import "./chunk-TYY5TYHF.js";
|
|
33
33
|
import "./chunk-T6C3TSTO.js";
|
|
@@ -35,7 +35,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
35
35
|
import "./chunk-GUHOEIHP.js";
|
|
36
36
|
import "./chunk-IJBSOWHK.js";
|
|
37
37
|
import "./chunk-XWLMZKH2.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-LTMHE5VL.js";
|
|
39
39
|
import {
|
|
40
40
|
readConfig
|
|
41
41
|
} from "./chunk-GJXOFDJT.js";
|
|
@@ -132,4 +132,4 @@ function run(context) {
|
|
|
132
132
|
export {
|
|
133
133
|
run
|
|
134
134
|
};
|
|
135
|
-
//# sourceMappingURL=run-
|
|
135
|
+
//# sourceMappingURL=run-PMASXIGY.js.map
|
|
@@ -16,7 +16,7 @@ import "./chunk-73AKO4UL.js";
|
|
|
16
16
|
import {
|
|
17
17
|
serve,
|
|
18
18
|
serveWithMailbox
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ISGHJHVH.js";
|
|
20
20
|
import {
|
|
21
21
|
serveSpec
|
|
22
22
|
} from "./chunk-VBVNOLRR.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
one
|
|
31
31
|
} from "./chunk-Y6NFETNG.js";
|
|
32
32
|
import "./chunk-ISZOLR3D.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-5QBOGEVE.js";
|
|
34
34
|
import "./chunk-6WXMJOMI.js";
|
|
35
35
|
import "./chunk-4CRRLDDS.js";
|
|
36
36
|
import "./chunk-YSAWTGNA.js";
|
|
@@ -101,4 +101,4 @@ var serveCommand = {
|
|
|
101
101
|
export {
|
|
102
102
|
serveCommand
|
|
103
103
|
};
|
|
104
|
-
//# sourceMappingURL=serve-
|
|
104
|
+
//# sourceMappingURL=serve-P3HJN6AF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serverFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-56VBB3H7.js";
|
|
4
4
|
import {
|
|
5
5
|
storeBearer,
|
|
6
6
|
tokenRequest,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeCredentials
|
|
15
15
|
} from "./chunk-UPQTAHUK.js";
|
|
16
16
|
import "./chunk-7CHUMF3E.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-25M2YWBH.js";
|
|
18
18
|
import "./chunk-UYBWUOLR.js";
|
|
19
19
|
import "./chunk-UKR64U7J.js";
|
|
20
20
|
import "./chunk-42SO7KYX.js";
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
ArgumentError,
|
|
40
40
|
one
|
|
41
41
|
} from "./chunk-Y6NFETNG.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-7A6QIROT.js";
|
|
43
|
+
import "./chunk-QY2P54Z2.js";
|
|
44
44
|
import "./chunk-N7ANFMA5.js";
|
|
45
45
|
import "./chunk-TYY5TYHF.js";
|
|
46
46
|
import "./chunk-T6C3TSTO.js";
|
|
@@ -48,7 +48,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
48
48
|
import "./chunk-GUHOEIHP.js";
|
|
49
49
|
import "./chunk-IJBSOWHK.js";
|
|
50
50
|
import "./chunk-XWLMZKH2.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-LTMHE5VL.js";
|
|
52
52
|
import "./chunk-GJXOFDJT.js";
|
|
53
53
|
import "./chunk-PMJG2CXF.js";
|
|
54
54
|
import "./chunk-J6KL3COD.js";
|
|
@@ -422,4 +422,4 @@ async function run(context) {
|
|
|
422
422
|
export {
|
|
423
423
|
run
|
|
424
424
|
};
|
|
425
|
-
//# sourceMappingURL=start-login-
|
|
425
|
+
//# sourceMappingURL=start-login-P7YDRTA3.js.map
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
} from "./chunk-MHKY6TNF.js";
|
|
8
8
|
import {
|
|
9
9
|
policyRows
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TIH7JFPJ.js";
|
|
11
11
|
import "./chunk-7TD53M7L.js";
|
|
12
12
|
import {
|
|
13
13
|
configFrom
|
|
14
14
|
} from "./chunk-7CHUMF3E.js";
|
|
15
15
|
import {
|
|
16
16
|
checkProject
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-644GNYMB.js";
|
|
18
18
|
import {
|
|
19
19
|
checkBudget,
|
|
20
20
|
readSpec
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-25M2YWBH.js";
|
|
22
22
|
import "./chunk-UYBWUOLR.js";
|
|
23
23
|
import "./chunk-UKR64U7J.js";
|
|
24
24
|
import {
|
|
@@ -55,8 +55,8 @@ import {
|
|
|
55
55
|
EXIT,
|
|
56
56
|
noConfig
|
|
57
57
|
} from "./chunk-Y6NFETNG.js";
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-7A6QIROT.js";
|
|
59
|
+
import "./chunk-QY2P54Z2.js";
|
|
60
60
|
import "./chunk-N7ANFMA5.js";
|
|
61
61
|
import "./chunk-TYY5TYHF.js";
|
|
62
62
|
import "./chunk-T6C3TSTO.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
worktreesOf
|
|
68
68
|
} from "./chunk-IJBSOWHK.js";
|
|
69
69
|
import "./chunk-XWLMZKH2.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-LTMHE5VL.js";
|
|
71
71
|
import "./chunk-GJXOFDJT.js";
|
|
72
72
|
import "./chunk-PMJG2CXF.js";
|
|
73
73
|
import "./chunk-J6KL3COD.js";
|
|
@@ -301,4 +301,4 @@ var statusCommand = {
|
|
|
301
301
|
export {
|
|
302
302
|
statusCommand
|
|
303
303
|
};
|
|
304
|
-
//# sourceMappingURL=status-
|
|
304
|
+
//# sourceMappingURL=status-DAXQKT35.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serverFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-56VBB3H7.js";
|
|
4
4
|
import {
|
|
5
5
|
status
|
|
6
6
|
} from "./chunk-UPQTAHUK.js";
|
|
7
7
|
import "./chunk-7CHUMF3E.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-25M2YWBH.js";
|
|
9
9
|
import "./chunk-UYBWUOLR.js";
|
|
10
10
|
import "./chunk-UKR64U7J.js";
|
|
11
11
|
import "./chunk-42SO7KYX.js";
|
|
@@ -24,8 +24,8 @@ import "./chunk-Q5H3L6Y4.js";
|
|
|
24
24
|
import "./chunk-ARXCYFFZ.js";
|
|
25
25
|
import "./chunk-V4NPDK6X.js";
|
|
26
26
|
import "./chunk-Y6NFETNG.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-7A6QIROT.js";
|
|
28
|
+
import "./chunk-QY2P54Z2.js";
|
|
29
29
|
import "./chunk-N7ANFMA5.js";
|
|
30
30
|
import "./chunk-TYY5TYHF.js";
|
|
31
31
|
import "./chunk-T6C3TSTO.js";
|
|
@@ -33,7 +33,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
33
33
|
import "./chunk-GUHOEIHP.js";
|
|
34
34
|
import "./chunk-IJBSOWHK.js";
|
|
35
35
|
import "./chunk-XWLMZKH2.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-LTMHE5VL.js";
|
|
37
37
|
import "./chunk-GJXOFDJT.js";
|
|
38
38
|
import "./chunk-PMJG2CXF.js";
|
|
39
39
|
import "./chunk-J6KL3COD.js";
|
|
@@ -56,4 +56,4 @@ function run(context) {
|
|
|
56
56
|
export {
|
|
57
57
|
run
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=status-
|
|
59
|
+
//# sourceMappingURL=status-DLGZDYEP.js.map
|
package/dist/stdio.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
resolveRoots,
|
|
5
5
|
serve,
|
|
6
6
|
serveWithMailbox
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-ISGHJHVH.js";
|
|
8
|
+
import "./chunk-5QBOGEVE.js";
|
|
9
9
|
import "./chunk-6WXMJOMI.js";
|
|
10
10
|
import "./chunk-4CRRLDDS.js";
|
|
11
11
|
import "./chunk-YSAWTGNA.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
specFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UFWW4H6V.js";
|
|
4
4
|
import {
|
|
5
5
|
sourceFor
|
|
6
6
|
} from "./chunk-7TD53M7L.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
customMode,
|
|
13
13
|
customPolicy,
|
|
14
14
|
readScript
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-25M2YWBH.js";
|
|
16
16
|
import "./chunk-UYBWUOLR.js";
|
|
17
17
|
import "./chunk-UKR64U7J.js";
|
|
18
18
|
import "./chunk-42SO7KYX.js";
|
|
@@ -53,8 +53,8 @@ import {
|
|
|
53
53
|
ArgumentError,
|
|
54
54
|
one
|
|
55
55
|
} from "./chunk-Y6NFETNG.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-7A6QIROT.js";
|
|
57
|
+
import "./chunk-QY2P54Z2.js";
|
|
58
58
|
import "./chunk-N7ANFMA5.js";
|
|
59
59
|
import "./chunk-TYY5TYHF.js";
|
|
60
60
|
import "./chunk-T6C3TSTO.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
worktreesOf
|
|
68
68
|
} from "./chunk-IJBSOWHK.js";
|
|
69
69
|
import "./chunk-XWLMZKH2.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-LTMHE5VL.js";
|
|
71
71
|
import "./chunk-GJXOFDJT.js";
|
|
72
72
|
import "./chunk-PMJG2CXF.js";
|
|
73
73
|
import "./chunk-J6KL3COD.js";
|
|
@@ -627,4 +627,4 @@ async function run(context) {
|
|
|
627
627
|
export {
|
|
628
628
|
run
|
|
629
629
|
};
|
|
630
|
-
//# sourceMappingURL=test-
|
|
630
|
+
//# sourceMappingURL=test-H243OTSK.js.map
|
|
@@ -140,10 +140,10 @@ var tuiCommand = {
|
|
|
140
140
|
try {
|
|
141
141
|
let receipt;
|
|
142
142
|
if (invocation.action === "doctor") {
|
|
143
|
-
const { inspectTerminalHost } = await import("./diagnostics-
|
|
143
|
+
const { inspectTerminalHost } = await import("./diagnostics-RUJZBPNZ.js");
|
|
144
144
|
receipt = inspectTerminalHost();
|
|
145
145
|
} else if (invocation.action === "start-worker") {
|
|
146
|
-
const { startWorkspaceWorker } = await import("./worker-
|
|
146
|
+
const { startWorkspaceWorker } = await import("./worker-5YJLIGTU.js");
|
|
147
147
|
receipt = await startWorkspaceWorker(
|
|
148
148
|
{ config: invocation.startup?.config, cwd: context.cwd },
|
|
149
149
|
invocation.startup.runtime,
|
|
@@ -156,7 +156,7 @@ var tuiCommand = {
|
|
|
156
156
|
cwd: context.cwd
|
|
157
157
|
});
|
|
158
158
|
} else {
|
|
159
|
-
const { launchStartup, planStartup } = await import("./entry-
|
|
159
|
+
const { launchStartup, planStartup } = await import("./entry-QSJCFI5Z.js");
|
|
160
160
|
const request = { ...invocation.startup, cwd: context.cwd };
|
|
161
161
|
receipt = invocation.action === "plan" ? planStartup(request) : await launchStartup(
|
|
162
162
|
request,
|
|
@@ -176,4 +176,4 @@ var tuiCommand = {
|
|
|
176
176
|
export {
|
|
177
177
|
tuiCommand
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=tui-
|
|
179
|
+
//# sourceMappingURL=tui-P6XTSTQO.js.map
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
} from "./chunk-C3G75JH7.js";
|
|
6
6
|
import {
|
|
7
7
|
invoke
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WNP2BXR7.js";
|
|
9
9
|
import "./chunk-DZ2MRTYT.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-QR4GXET7.js";
|
|
11
|
+
import "./chunk-LI3BII4F.js";
|
|
12
12
|
import {
|
|
13
13
|
locateExecutable
|
|
14
14
|
} from "./chunk-R2GPCZUX.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-6UGHVU5B.js";
|
|
16
16
|
import "./chunk-34DECPVC.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-7A6QIROT.js";
|
|
18
|
+
import "./chunk-QY2P54Z2.js";
|
|
19
19
|
import "./chunk-N7ANFMA5.js";
|
|
20
20
|
import "./chunk-TYY5TYHF.js";
|
|
21
21
|
import "./chunk-T6C3TSTO.js";
|
|
@@ -23,7 +23,7 @@ import "./chunk-FQLCD4HU.js";
|
|
|
23
23
|
import "./chunk-GUHOEIHP.js";
|
|
24
24
|
import "./chunk-IJBSOWHK.js";
|
|
25
25
|
import "./chunk-XWLMZKH2.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-LTMHE5VL.js";
|
|
27
27
|
import "./chunk-GJXOFDJT.js";
|
|
28
28
|
import "./chunk-PMJG2CXF.js";
|
|
29
29
|
import {
|
|
@@ -83,4 +83,4 @@ async function startWorkspaceWorker(request, runtime, memoryMb) {
|
|
|
83
83
|
export {
|
|
84
84
|
startWorkspaceWorker
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=worker-
|
|
86
|
+
//# sourceMappingURL=worker-5YJLIGTU.js.map
|
package/docs/commands.md
CHANGED
|
@@ -238,7 +238,7 @@ pmcp heavy priority <id> gate --reason "blocks a land"
|
|
|
238
238
|
pmcp heavy priority <id> +2 --reason "the session waits on it"
|
|
239
239
|
```
|
|
240
240
|
|
|
241
|
-
Run a heavy command within the host-wide budget of [`[host.lease]`](project-configuration.md#host-lease), across every session and worktree on the host. A job starts once its lane has a free slot, its weight fits what the running jobs leave of the budget, and the host is under `max_load` and `max_io` (or, past `load_grace` and with nothing leased running, under `hard_factor` times them). Waiting jobs start by lane (gate, hook, interactive, bulk), oldest first within a lane, with a line on standard error every `heartbeat`; `--lane` and `--weight` override the profile and `[host.lease] commands`. The command runs with the lease marker set, so a nested `pmcp heavy` runs at once. Everything after `--` is the command, options included. `status` prints the lock, the host readings, when the host was last settled, the holder record, each waiter with its lane, weight, position and a rough wait estimate from the log's run times, the lanes' use and the running weight against the budget, each running job against `hold_warn` and `hold_max`, the IO average the check reads, how many jobs started on `load_grace` in the last day, and the busiest processes outside the lease. With the lease disabled,
|
|
241
|
+
Run a heavy command within the host-wide budget of [`[host.lease]`](project-configuration.md#host-lease), across every session and worktree on the host. A job starts once its lane has a free slot, its weight fits what the running jobs leave of the budget, and the host is under `max_load` and `max_io` (or, past `load_grace` and with nothing leased running, under `hard_factor` times them). Waiting jobs start by lane (gate, hook, interactive, bulk), oldest first within a lane, with a line on standard error every `heartbeat`; `--lane` and `--weight` override the profile and `[host.lease] commands`. The command runs with the lease marker set, so a nested `pmcp heavy` runs at once. Everything after `--` is the command, options included. `status` prints the lock, the host readings, when the host was last settled, the holder record, each waiter with its lane, weight, position and a rough wait estimate from the log's run times, the lanes' use and the running weight against the budget, each running job against `hold_warn` and `hold_max`, the IO average the check reads, how many jobs started on `load_grace` in the last day, and the busiest processes outside the lease. With the lease disabled (`enabled = false`), the command runs at once. With `PMCP_HEAVY_DISABLE=<reason>` set, an ordinary command runs at once and its usage record keeps the reason, but a bulk job (`--lane bulk`, or a `commands` entry with `lane = "bulk"`) still queues in the bulk lane, with a line saying the skip was not honoured, unless `[host.lease] skip_always` lists the reason. `--now --reason <text>` (or `PMCP_HEAVY_NOW=<reason>`) is the emergency bypass: it runs at once, logged and shown in status, and still counts its weight. Where the io controller reaches the user's scopes, each job runs in its own scope with its lane's `io.weight`. `submit` queues the command and returns a ticket at once, so the caller keeps working: a detached runner (its own session, so it outlives the caller) waits and runs it under the same rules, its output in the ticket's log and its exit code and usage record in the ticket's result. `result <ticket>` reads the state (queued with its position, running, done, or lost when the runner died), `--json` as data; `wait <ticket>` blocks until it is done, prints the log's tail and exits with the job's code (75 at `--timeout`); `cancel <ticket>` stops a queued job and, with `--force`, a running one. Tickets live under `<dir>/tickets/` and finished ones are removed after a week. Every waiting or running job has an id (a ticket's, or one made for a blocking run), shown by `status` and `queue`: `queue` lists the waiters with id, lane, position, waited and estimated time, weight, pid, session and label; `promote <id> --now --reason` starts a waiter at once as a bypass; `priority <id> <lane|+N|-N> --reason` moves it to another lane's end or N places within its lane; `cancel <id>` takes a waiter out of the queue (its run exits 130) and, with `--force`, stops a running job. The waiting process reads the change on its next poll; each change is made under the admission lock and logged as a `control` line with the uid, the session and the reason, and a waiter whose process died is removed instead of changed. `stats` lists each command signature's recorded runs with the median and 90th percentile of wall time, CPU time, peak RSS and IO and how many skipped the lease, after one line with the share of all runs that skipped it, `--json` as data. Exit: the command's own code; 75 when nothing ran within `max_wait`, with the reason (the queue, the session's cap, a shell wrapper's hold, a host past `hard_factor`); 2 for a missing `--`, an unknown profile or lane, a bad weight, or `--now` without a reason.
|
|
242
242
|
|
|
243
243
|
## wait
|
|
244
244
|
|
|
@@ -305,6 +305,7 @@ load_grace = 600
|
|
|
305
305
|
| `marker_env` | name | `PMCP_HEAVY_LEASE` | Set to the job's pid for the leased command; a nested `pmcp heavy` whose marker names a running job runs at once. |
|
|
306
306
|
| `legacy_marker_env` | name | none | A second marker, set and honoured like `marker_env`, for a shell wrapper that shares `dir`. |
|
|
307
307
|
| `legacy_skip_env` | name | none | A second skip variable, honoured like `PMCP_HEAVY_DISABLE`, and set for the leased command so a nested shell wrapper runs at once. |
|
|
308
|
+
| `skip_always` | list of reasons | `[]` | Skip reasons honoured even for a bulk job, for callers that must never wait on the lease (a commit hook). A skip with any other reason does not cover a bulk job. |
|
|
308
309
|
| `max_load` | number | the CPU count | A job starts only while the 1-minute load average is below this. |
|
|
309
310
|
| `max_io` | number | `8` | And while IO pressure (`some`, the `io_window` average) is below this. A host without pressure files checks load only; one without a load average checks neither. |
|
|
310
311
|
| `io_window` | string | `avg60` | Which pressure average the check reads: `avg10` follows spikes, `avg60` and `avg300` smooth them so the queue does not stall on a burst. |
|
|
@@ -351,11 +352,26 @@ from the job's cgroup when it runs in a scope, else from `/proc` sampled once a
|
|
|
351
352
|
second. `pmcp heavy stats` summarises them per signature. The weights are still
|
|
352
353
|
the configured ones.
|
|
353
354
|
|
|
354
|
-
`PMCP_HEAVY_DISABLE=<reason>`
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
pass.
|
|
358
|
-
|
|
355
|
+
`PMCP_HEAVY_DISABLE=<reason>` (or the `legacy_skip_env` variable) skips the
|
|
356
|
+
lease for an ordinary command: `pmcp heavy` runs it at once, logs the reason,
|
|
357
|
+
and keeps it as `skip` in the command's usage record, and the guard lets a
|
|
358
|
+
command that sets it pass. The skip is bounded: a bulk job (an install, a
|
|
359
|
+
whole test suite, a full build), put in the `bulk` lane by `--lane bulk` or by
|
|
360
|
+
a `commands` entry, still queues in that lane, with a line on standard error
|
|
361
|
+
saying the skip was not honoured;
|
|
362
|
+
`--now --reason <text>` is the emergency path for it. A bulk job nested in a
|
|
363
|
+
leased job runs at once on the lease marker, as any nested job does.
|
|
364
|
+
`pmcp heavy stats` shows how many runs skipped the lease, so a bypass that
|
|
365
|
+
became the norm shows. `enabled = false` is the switch for a host or project
|
|
366
|
+
that does not want the lease at all.
|
|
367
|
+
|
|
368
|
+
A reason listed in `skip_always` is honoured for bulk jobs too, for a caller
|
|
369
|
+
that must never wait on the lease, such as a commit hook:
|
|
370
|
+
|
|
371
|
+
```toml
|
|
372
|
+
[host.lease]
|
|
373
|
+
skip_always = ["git-hook"] # PMCP_HEAVY_DISABLE=git-hook runs even a bulk job at once
|
|
374
|
+
```
|
|
359
375
|
|
|
360
376
|
The files extend those of a shell wrapper that takes the same lock with
|
|
361
377
|
`flock`: records hold `key=value` lines (`pid`, `since`, `started`, `cwd`,
|
package/docs/upgrading.md
CHANGED
|
@@ -5,6 +5,30 @@
|
|
|
5
5
|
What to do when a release changes something you rely on. Each release's notes on GitHub
|
|
6
6
|
Releases list its breaking changes and link here.
|
|
7
7
|
|
|
8
|
+
## From 0.23 to 0.24
|
|
9
|
+
|
|
10
|
+
**A lease skip no longer covers a bulk job.** `PMCP_HEAVY_DISABLE=<reason>` (or the
|
|
11
|
+
`legacy_skip_env` variable) still runs an ordinary command at once, but a job in the bulk
|
|
12
|
+
lane, sent with `--lane bulk` or put there by a `[host.lease] commands` entry, now queues
|
|
13
|
+
for the lease with a line saying the skip was not honoured. A wrapper that skipped the lease
|
|
14
|
+
for installs or whole test suites will see them wait. For a caller that must never wait (a
|
|
15
|
+
commit hook), list its reason in `[host.lease] skip_always`:
|
|
16
|
+
|
|
17
|
+
```toml
|
|
18
|
+
[host.lease]
|
|
19
|
+
skip_always = ["git-hook"]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
A bulk job nested in a leased job still runs at once on the lease marker. `--now --reason`
|
|
23
|
+
remains the emergency path, and `enabled = false` still turns the lease off. A skipped run's
|
|
24
|
+
usage record now carries `skip`, and `pmcp heavy stats` shows the share of runs that skipped
|
|
25
|
+
the lease.
|
|
26
|
+
|
|
27
|
+
**For contributors: tests run in their own temp and state roots.** `npm test` gives the run
|
|
28
|
+
its own `TMPDIR` and XDG directories and fails when a test leaves a `pmcp-*` directory in the
|
|
29
|
+
real temp directory or a project in the real pmcp state directory; see
|
|
30
|
+
[CONTRIBUTING.md](https://github.com/modootoday/pmcp/blob/main/CONTRIBUTING.md).
|
|
31
|
+
|
|
8
32
|
## From 0.22 to 0.23
|
|
9
33
|
|
|
10
34
|
0.23.0 makes the command line behave like other command-line tools; several changes break
|
package/gemini-extension.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"mcpServers": {
|
|
5
5
|
"pmcp": {
|
|
6
6
|
"type": "stdio",
|
|
7
7
|
"command": "npx",
|
|
8
|
-
"args": ["-y", "@modootoday/pmcp@0.
|
|
8
|
+
"args": ["-y", "@modootoday/pmcp@0.24.0", "serve"]
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
package/mcp.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modootoday/pmcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"author": "modootoday",
|
|
6
6
|
"description": "Use the skills your packages already ship, and keep your AI tools' project configuration in one place.",
|
|
@@ -136,9 +136,9 @@
|
|
|
136
136
|
"bun": ">=1.3.0"
|
|
137
137
|
},
|
|
138
138
|
"optionalDependencies": {
|
|
139
|
-
"@modootoday/pmcp-linux-x64": "0.
|
|
140
|
-
"@modootoday/pmcp-linux-arm64": "0.
|
|
141
|
-
"@modootoday/pmcp-darwin-x64": "0.
|
|
142
|
-
"@modootoday/pmcp-darwin-arm64": "0.
|
|
139
|
+
"@modootoday/pmcp-linux-x64": "0.24.0",
|
|
140
|
+
"@modootoday/pmcp-linux-arm64": "0.24.0",
|
|
141
|
+
"@modootoday/pmcp-darwin-x64": "0.24.0",
|
|
142
|
+
"@modootoday/pmcp-darwin-arm64": "0.24.0"
|
|
143
143
|
}
|
|
144
144
|
}
|
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "pmcp",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.24.0",
|
|
5
5
|
"description": "Find package skills and use native runtime project configuration.",
|
|
6
6
|
"author": { "name": "modootoday" },
|
|
7
7
|
"license": "Elastic-2.0",
|