@modootoday/pmcp 0.30.1 → 0.31.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-P2POBHIU.js → apply-O36MB3Q5.js} +7 -7
- package/dist/{chunk-YP55H3V6.js → chunk-2UKP5A7F.js} +3 -3
- package/dist/chunk-3QW5KA52.js +7 -0
- package/dist/{chunk-ADIAVEVZ.js → chunk-54FOQB2E.js} +2 -2
- package/dist/{chunk-MWEE5HCH.js → chunk-5SMF2OKY.js} +2 -2
- package/dist/{chunk-NHQ5BWMO.js → chunk-6FOP5S63.js} +4 -4
- package/dist/{chunk-RC7JRUM5.js → chunk-KFIKI44F.js} +2 -2
- package/dist/{chunk-I5BKHSVY.js → chunk-NPLTVGBP.js} +5 -5
- package/dist/{chunk-E5OBYCMP.js → chunk-NZTZHTW3.js} +3 -3
- package/dist/{chunk-N5RB4HU6.js → chunk-O7OYOL64.js} +3 -3
- package/dist/{chunk-7YBS5S3F.js → chunk-OF42VZRG.js} +2 -2
- package/dist/{chunk-LESRSUYY.js → chunk-PTD3YQIT.js} +5 -5
- package/dist/{chunk-XMCP4SGT.js → chunk-QEH7WOBC.js} +2 -2
- package/dist/{chunk-UCTZ7LB2.js → chunk-RQQHZEVM.js} +2 -2
- package/dist/{chunk-CO5DP2RP.js → chunk-RQWJGNS6.js} +2 -2
- package/dist/{chunk-EINSPZVE.js → chunk-S6QMSCFS.js} +2 -2
- package/dist/{chunk-G5OL7NQS.js → chunk-SLWE4SGW.js} +108 -27
- package/dist/{chunk-HV43X72U.js → chunk-V5ZOISWG.js} +2 -2
- package/dist/{chunk-5GFNEL6I.js → chunk-VEXPKCAC.js} +12 -12
- package/dist/{chunk-4NR6F2G5.js → chunk-VLY6AGVN.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/{completion-NLC6EB7Q.js → completion-7QNGLW4X.js} +2 -2
- package/dist/{diagnostics-5JG4WLRI.js → diagnostics-4FUIW53N.js} +5 -5
- package/dist/{doctor-RLSWHJ2A.js → doctor-3XJJBENL.js} +9 -9
- package/dist/{entry-FAVK7RKI.js → entry-E65VAN5N.js} +9 -9
- package/dist/{exec-mcp-7RZP3J3L.js → exec-mcp-VYS4FTKF.js} +5 -5
- package/dist/{harness-BB6DSAVZ.js → harness-2MCF2ZWN.js} +3 -3
- package/dist/harness-launch-gate.js +3 -3
- package/dist/harness-worker.js +5 -5
- package/dist/hook-body.js +131 -50
- package/dist/{hooks-Y22ODBFZ.js → hooks-SEC6WIP5.js} +3 -3
- package/dist/{host-5PO6OXNR.js → host-2CKQ6H6W.js} +2 -2
- package/dist/{host-HG5BH2G6.js → host-33YTCKQK.js} +7 -7
- package/dist/{host-RO54NJCQ.js → host-VPSNIHRO.js} +6 -6
- package/dist/{host-run-6NMZUNPQ.js → host-run-AVJRPDL6.js} +4 -4
- package/dist/http.js +1 -1
- package/dist/{import-mcp-QV3QQA7S.js → import-mcp-NCOFK75O.js} +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/{init-7YCITJBT.js → init-VHCYXPTG.js} +2 -2
- package/dist/{invoke-PWCH3QTK.js → invoke-XY5FIQZB.js} +7 -7
- package/dist/{list-ZBIXGLKJ.js → list-M6MMCCNY.js} +6 -6
- package/dist/{logout-NWOB6FYU.js → logout-WJDFPQCF.js} +5 -5
- package/dist/{mcp-6I5I6VGZ.js → mcp-DGNTEMHQ.js} +2 -2
- package/dist/{measure-XD5UDZMJ.js → measure-BR6R5ZGJ.js} +2 -2
- package/dist/{project-IKIRR3ZN.js → project-UQQLPD4K.js} +4 -4
- package/dist/{run-VWETBSCC.js → run-I7425NVX.js} +4 -4
- package/dist/{run-U2NQLEEM.js → run-UKTQKE5X.js} +4 -4
- package/dist/{serve-EYRBNRYW.js → serve-EAYEISOY.js} +3 -3
- package/dist/{start-login-S7TSV6U7.js → start-login-OYS26DEB.js} +5 -5
- package/dist/{status-PXSKFHAJ.js → status-K5SO4Q5K.js} +5 -5
- package/dist/{status-FL3BR362.js → status-NI4TJ56E.js} +6 -6
- package/dist/stdio.js +2 -2
- package/dist/{test-PWBXC2D5.js → test-72IQFIXF.js} +5 -5
- package/dist/{tui-BNBDMV2M.js → tui-O6AP46M3.js} +4 -4
- package/dist/{worker-6OGOG6E4.js → worker-UUYKNLVW.js} +7 -7
- package/docs/hooks.md +2 -1
- package/docs/project-configuration.md +2 -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-YPK3ZMDX.js +0 -7
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-ANJMLKBR.js";
|
|
7
7
|
import {
|
|
8
8
|
readMcp
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SLWE4SGW.js";
|
|
10
10
|
import "./chunk-YEO6I6XN.js";
|
|
11
11
|
import "./chunk-FLG7VRTC.js";
|
|
12
12
|
import "./chunk-2GD7PQ7J.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
ArgumentError,
|
|
34
34
|
many
|
|
35
35
|
} from "./chunk-Y6NFETNG.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-KFIKI44F.js";
|
|
37
37
|
import "./chunk-LVCASOV4.js";
|
|
38
38
|
import "./chunk-N7ANFMA5.js";
|
|
39
39
|
import {
|
|
@@ -44,7 +44,7 @@ import "./chunk-KLIYFD3W.js";
|
|
|
44
44
|
import "./chunk-GUHOEIHP.js";
|
|
45
45
|
import "./chunk-IJBSOWHK.js";
|
|
46
46
|
import "./chunk-XWLMZKH2.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-3QW5KA52.js";
|
|
48
48
|
import "./chunk-GJXOFDJT.js";
|
|
49
49
|
import "./chunk-PMJG2CXF.js";
|
|
50
50
|
import "./chunk-J6KL3COD.js";
|
|
@@ -409,4 +409,4 @@ function importMcp(context) {
|
|
|
409
409
|
export {
|
|
410
410
|
importMcp
|
|
411
411
|
};
|
|
412
|
-
//# sourceMappingURL=import-mcp-
|
|
412
|
+
//# sourceMappingURL=import-mcp-NCOFK75O.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.31.0";
|
|
308
308
|
declare function registerSkillTools(server: McpServer, tools: SkillTools): McpServer;
|
|
309
309
|
interface SkillMcpOptions extends SkillServerOptions {
|
|
310
310
|
readonly mailbox?: MailboxService;
|
package/dist/index.js
CHANGED
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
} from "./chunk-YOWIYFIV.js";
|
|
5
5
|
import {
|
|
6
6
|
doctor
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-PTD3YQIT.js";
|
|
8
|
+
import "./chunk-RQWJGNS6.js";
|
|
9
9
|
import "./chunk-JQVSDPFL.js";
|
|
10
10
|
import "./chunk-VJFEN6DJ.js";
|
|
11
11
|
import "./chunk-NHUMPEPV.js";
|
|
12
12
|
import "./chunk-TIA4SPU2.js";
|
|
13
13
|
import {
|
|
14
14
|
project
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6FOP5S63.js";
|
|
16
16
|
import "./chunk-ANJMLKBR.js";
|
|
17
17
|
import {
|
|
18
18
|
prepareSearch
|
|
19
19
|
} from "./chunk-NLHLA2N5.js";
|
|
20
20
|
import {
|
|
21
21
|
deadGlobs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NZTZHTW3.js";
|
|
23
23
|
import {
|
|
24
24
|
plan,
|
|
25
25
|
readSpec
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SLWE4SGW.js";
|
|
27
27
|
import "./chunk-YEO6I6XN.js";
|
|
28
28
|
import "./chunk-FLG7VRTC.js";
|
|
29
29
|
import "./chunk-2GD7PQ7J.js";
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
registerSkillsExtension,
|
|
87
87
|
resolveSkillFileUri,
|
|
88
88
|
skillFileUri
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-V5ZOISWG.js";
|
|
90
90
|
import {
|
|
91
91
|
normaliseIntent
|
|
92
92
|
} from "./chunk-6WXMJOMI.js";
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
import "./chunk-6STKGOCW.js";
|
|
122
122
|
import {
|
|
123
123
|
LOCK_FILE
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-KFIKI44F.js";
|
|
125
125
|
import "./chunk-LVCASOV4.js";
|
|
126
126
|
import "./chunk-N7ANFMA5.js";
|
|
127
127
|
import {
|
|
@@ -133,7 +133,7 @@ import "./chunk-KLIYFD3W.js";
|
|
|
133
133
|
import "./chunk-GUHOEIHP.js";
|
|
134
134
|
import "./chunk-IJBSOWHK.js";
|
|
135
135
|
import "./chunk-XWLMZKH2.js";
|
|
136
|
-
import "./chunk-
|
|
136
|
+
import "./chunk-3QW5KA52.js";
|
|
137
137
|
import {
|
|
138
138
|
CONFIG_FILE,
|
|
139
139
|
ConfigError,
|
|
@@ -6,9 +6,9 @@ import "./chunk-JPYQDOEW.js";
|
|
|
6
6
|
// src/commands/init.ts
|
|
7
7
|
var initCommand = {
|
|
8
8
|
...initSpec,
|
|
9
|
-
run: async (context) => (await import("./run-
|
|
9
|
+
run: async (context) => (await import("./run-I7425NVX.js")).run(context)
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
12
|
initCommand
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=init-
|
|
14
|
+
//# sourceMappingURL=init-VHCYXPTG.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
invoke
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NPLTVGBP.js";
|
|
4
4
|
import "./chunk-DZ2MRTYT.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-O7OYOL64.js";
|
|
6
|
+
import "./chunk-QEH7WOBC.js";
|
|
7
7
|
import "./chunk-R2GPCZUX.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-S6QMSCFS.js";
|
|
9
9
|
import "./chunk-34DECPVC.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KFIKI44F.js";
|
|
11
11
|
import "./chunk-LVCASOV4.js";
|
|
12
12
|
import "./chunk-N7ANFMA5.js";
|
|
13
13
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -16,7 +16,7 @@ import "./chunk-KLIYFD3W.js";
|
|
|
16
16
|
import "./chunk-GUHOEIHP.js";
|
|
17
17
|
import "./chunk-IJBSOWHK.js";
|
|
18
18
|
import "./chunk-XWLMZKH2.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-3QW5KA52.js";
|
|
20
20
|
import "./chunk-GJXOFDJT.js";
|
|
21
21
|
import "./chunk-PMJG2CXF.js";
|
|
22
22
|
import "./chunk-ITDJ2EXN.js";
|
|
@@ -26,4 +26,4 @@ import "./chunk-J6KL3COD.js";
|
|
|
26
26
|
export {
|
|
27
27
|
invoke
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=invoke-
|
|
29
|
+
//# sourceMappingURL=invoke-XY5FIQZB.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
specFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OF42VZRG.js";
|
|
4
4
|
import {
|
|
5
5
|
policyRows
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VLY6AGVN.js";
|
|
7
7
|
import "./chunk-E272CFPS.js";
|
|
8
8
|
import "./chunk-7CHUMF3E.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-SLWE4SGW.js";
|
|
10
10
|
import "./chunk-YEO6I6XN.js";
|
|
11
11
|
import "./chunk-FLG7VRTC.js";
|
|
12
12
|
import "./chunk-2GD7PQ7J.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
ArgumentError,
|
|
34
34
|
one
|
|
35
35
|
} from "./chunk-Y6NFETNG.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-KFIKI44F.js";
|
|
37
37
|
import "./chunk-LVCASOV4.js";
|
|
38
38
|
import "./chunk-N7ANFMA5.js";
|
|
39
39
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -42,7 +42,7 @@ import "./chunk-KLIYFD3W.js";
|
|
|
42
42
|
import "./chunk-GUHOEIHP.js";
|
|
43
43
|
import "./chunk-IJBSOWHK.js";
|
|
44
44
|
import "./chunk-XWLMZKH2.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-3QW5KA52.js";
|
|
46
46
|
import "./chunk-GJXOFDJT.js";
|
|
47
47
|
import "./chunk-PMJG2CXF.js";
|
|
48
48
|
import "./chunk-J6KL3COD.js";
|
|
@@ -74,4 +74,4 @@ function run(context) {
|
|
|
74
74
|
export {
|
|
75
75
|
run
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=list-
|
|
77
|
+
//# sourceMappingURL=list-M6MMCCNY.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serverFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-54FOQB2E.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-SLWE4SGW.js";
|
|
11
11
|
import "./chunk-YEO6I6XN.js";
|
|
12
12
|
import "./chunk-FLG7VRTC.js";
|
|
13
13
|
import "./chunk-2GD7PQ7J.js";
|
|
@@ -29,7 +29,7 @@ import "./chunk-Q5H3L6Y4.js";
|
|
|
29
29
|
import "./chunk-GQRDEIQA.js";
|
|
30
30
|
import "./chunk-V4NPDK6X.js";
|
|
31
31
|
import "./chunk-Y6NFETNG.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-KFIKI44F.js";
|
|
33
33
|
import "./chunk-LVCASOV4.js";
|
|
34
34
|
import "./chunk-N7ANFMA5.js";
|
|
35
35
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -38,7 +38,7 @@ import "./chunk-KLIYFD3W.js";
|
|
|
38
38
|
import "./chunk-GUHOEIHP.js";
|
|
39
39
|
import "./chunk-IJBSOWHK.js";
|
|
40
40
|
import "./chunk-XWLMZKH2.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-3QW5KA52.js";
|
|
42
42
|
import "./chunk-GJXOFDJT.js";
|
|
43
43
|
import "./chunk-PMJG2CXF.js";
|
|
44
44
|
import "./chunk-J6KL3COD.js";
|
|
@@ -53,4 +53,4 @@ async function run(context) {
|
|
|
53
53
|
export {
|
|
54
54
|
run
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=logout-
|
|
56
|
+
//# sourceMappingURL=logout-WJDFPQCF.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-UKTQKE5X.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-DGNTEMHQ.js.map
|
|
@@ -36,7 +36,7 @@ import "./chunk-GUHOEIHP.js";
|
|
|
36
36
|
import "./chunk-IJBSOWHK.js";
|
|
37
37
|
import {
|
|
38
38
|
VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-3QW5KA52.js";
|
|
40
40
|
import "./chunk-GJXOFDJT.js";
|
|
41
41
|
import "./chunk-PMJG2CXF.js";
|
|
42
42
|
|
|
@@ -126,4 +126,4 @@ async function ioMeasure(context) {
|
|
|
126
126
|
export {
|
|
127
127
|
ioMeasure
|
|
128
128
|
};
|
|
129
|
-
//# sourceMappingURL=measure-
|
|
129
|
+
//# sourceMappingURL=measure-BR6R5ZGJ.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-VYS4FTKF.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-NCOFK75O.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-O36MB3Q5.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-UQQLPD4K.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readSpec
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SLWE4SGW.js";
|
|
4
4
|
import "./chunk-YEO6I6XN.js";
|
|
5
5
|
import "./chunk-FLG7VRTC.js";
|
|
6
6
|
import "./chunk-2GD7PQ7J.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
ArgumentError,
|
|
30
30
|
one
|
|
31
31
|
} from "./chunk-Y6NFETNG.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-KFIKI44F.js";
|
|
33
33
|
import "./chunk-LVCASOV4.js";
|
|
34
34
|
import "./chunk-N7ANFMA5.js";
|
|
35
35
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -38,7 +38,7 @@ import "./chunk-KLIYFD3W.js";
|
|
|
38
38
|
import "./chunk-GUHOEIHP.js";
|
|
39
39
|
import "./chunk-IJBSOWHK.js";
|
|
40
40
|
import "./chunk-XWLMZKH2.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-3QW5KA52.js";
|
|
42
42
|
import {
|
|
43
43
|
readConfig
|
|
44
44
|
} from "./chunk-GJXOFDJT.js";
|
|
@@ -135,4 +135,4 @@ function run(context) {
|
|
|
135
135
|
export {
|
|
136
136
|
run
|
|
137
137
|
};
|
|
138
|
-
//# sourceMappingURL=run-
|
|
138
|
+
//# sourceMappingURL=run-I7425NVX.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-K5SO4Q5K.js")).run(context);
|
|
17
|
+
if (verb === "logout") return (await import("./logout-WJDFPQCF.js")).run(context);
|
|
18
|
+
return (await import("./start-login-OYS26DEB.js")).run(context);
|
|
19
19
|
}
|
|
20
20
|
export {
|
|
21
21
|
executeMcpCommand
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=run-
|
|
23
|
+
//# sourceMappingURL=run-UKTQKE5X.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-5SMF2OKY.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-V5ZOISWG.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-EAYEISOY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serverFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-54FOQB2E.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-SLWE4SGW.js";
|
|
18
18
|
import "./chunk-YEO6I6XN.js";
|
|
19
19
|
import "./chunk-FLG7VRTC.js";
|
|
20
20
|
import "./chunk-2GD7PQ7J.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
ArgumentError,
|
|
43
43
|
one
|
|
44
44
|
} from "./chunk-Y6NFETNG.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-KFIKI44F.js";
|
|
46
46
|
import "./chunk-LVCASOV4.js";
|
|
47
47
|
import "./chunk-N7ANFMA5.js";
|
|
48
48
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -51,7 +51,7 @@ import "./chunk-KLIYFD3W.js";
|
|
|
51
51
|
import "./chunk-GUHOEIHP.js";
|
|
52
52
|
import "./chunk-IJBSOWHK.js";
|
|
53
53
|
import "./chunk-XWLMZKH2.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-3QW5KA52.js";
|
|
55
55
|
import "./chunk-GJXOFDJT.js";
|
|
56
56
|
import "./chunk-PMJG2CXF.js";
|
|
57
57
|
import "./chunk-J6KL3COD.js";
|
|
@@ -425,4 +425,4 @@ async function run(context) {
|
|
|
425
425
|
export {
|
|
426
426
|
run
|
|
427
427
|
};
|
|
428
|
-
//# sourceMappingURL=start-login-
|
|
428
|
+
//# sourceMappingURL=start-login-OYS26DEB.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serverFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-54FOQB2E.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-SLWE4SGW.js";
|
|
9
9
|
import "./chunk-YEO6I6XN.js";
|
|
10
10
|
import "./chunk-FLG7VRTC.js";
|
|
11
11
|
import "./chunk-2GD7PQ7J.js";
|
|
@@ -27,7 +27,7 @@ import "./chunk-Q5H3L6Y4.js";
|
|
|
27
27
|
import "./chunk-GQRDEIQA.js";
|
|
28
28
|
import "./chunk-V4NPDK6X.js";
|
|
29
29
|
import "./chunk-Y6NFETNG.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-KFIKI44F.js";
|
|
31
31
|
import "./chunk-LVCASOV4.js";
|
|
32
32
|
import "./chunk-N7ANFMA5.js";
|
|
33
33
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -36,7 +36,7 @@ import "./chunk-KLIYFD3W.js";
|
|
|
36
36
|
import "./chunk-GUHOEIHP.js";
|
|
37
37
|
import "./chunk-IJBSOWHK.js";
|
|
38
38
|
import "./chunk-XWLMZKH2.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-3QW5KA52.js";
|
|
40
40
|
import "./chunk-GJXOFDJT.js";
|
|
41
41
|
import "./chunk-PMJG2CXF.js";
|
|
42
42
|
import "./chunk-J6KL3COD.js";
|
|
@@ -59,4 +59,4 @@ function run(context) {
|
|
|
59
59
|
export {
|
|
60
60
|
run
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=status-
|
|
62
|
+
//# sourceMappingURL=status-K5SO4Q5K.js.map
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
} from "./chunk-VN34GLGJ.js";
|
|
8
8
|
import {
|
|
9
9
|
policyRows
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VLY6AGVN.js";
|
|
11
11
|
import "./chunk-E272CFPS.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-NZTZHTW3.js";
|
|
18
18
|
import {
|
|
19
19
|
checkBudget,
|
|
20
20
|
readSpec
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SLWE4SGW.js";
|
|
22
22
|
import "./chunk-YEO6I6XN.js";
|
|
23
23
|
import "./chunk-FLG7VRTC.js";
|
|
24
24
|
import {
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
EXIT,
|
|
59
59
|
noConfig
|
|
60
60
|
} from "./chunk-Y6NFETNG.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-KFIKI44F.js";
|
|
62
62
|
import "./chunk-LVCASOV4.js";
|
|
63
63
|
import "./chunk-N7ANFMA5.js";
|
|
64
64
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
worktreesOf
|
|
71
71
|
} from "./chunk-IJBSOWHK.js";
|
|
72
72
|
import "./chunk-XWLMZKH2.js";
|
|
73
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-3QW5KA52.js";
|
|
74
74
|
import "./chunk-GJXOFDJT.js";
|
|
75
75
|
import "./chunk-PMJG2CXF.js";
|
|
76
76
|
import "./chunk-J6KL3COD.js";
|
|
@@ -306,4 +306,4 @@ var statusCommand = {
|
|
|
306
306
|
export {
|
|
307
307
|
statusCommand
|
|
308
308
|
};
|
|
309
|
-
//# sourceMappingURL=status-
|
|
309
|
+
//# sourceMappingURL=status-NI4TJ56E.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-5SMF2OKY.js";
|
|
8
|
+
import "./chunk-V5ZOISWG.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-OF42VZRG.js";
|
|
4
4
|
import {
|
|
5
5
|
sourceFor
|
|
6
6
|
} from "./chunk-E272CFPS.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
customPolicy,
|
|
14
14
|
externalPolicy,
|
|
15
15
|
readScript
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SLWE4SGW.js";
|
|
17
17
|
import "./chunk-YEO6I6XN.js";
|
|
18
18
|
import "./chunk-FLG7VRTC.js";
|
|
19
19
|
import "./chunk-2GD7PQ7J.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
ArgumentError,
|
|
58
58
|
one
|
|
59
59
|
} from "./chunk-Y6NFETNG.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-KFIKI44F.js";
|
|
61
61
|
import "./chunk-LVCASOV4.js";
|
|
62
62
|
import "./chunk-N7ANFMA5.js";
|
|
63
63
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
worktreesOf
|
|
72
72
|
} from "./chunk-IJBSOWHK.js";
|
|
73
73
|
import "./chunk-XWLMZKH2.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-3QW5KA52.js";
|
|
75
75
|
import "./chunk-GJXOFDJT.js";
|
|
76
76
|
import "./chunk-PMJG2CXF.js";
|
|
77
77
|
import "./chunk-J6KL3COD.js";
|
|
@@ -639,4 +639,4 @@ async function run(context) {
|
|
|
639
639
|
export {
|
|
640
640
|
run
|
|
641
641
|
};
|
|
642
|
-
//# sourceMappingURL=test-
|
|
642
|
+
//# sourceMappingURL=test-72IQFIXF.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-4FUIW53N.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-UUYKNLVW.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-E65VAN5N.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-O6AP46M3.js.map
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
} from "./chunk-C3G75JH7.js";
|
|
6
6
|
import {
|
|
7
7
|
invoke
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NPLTVGBP.js";
|
|
9
9
|
import "./chunk-DZ2MRTYT.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-O7OYOL64.js";
|
|
11
|
+
import "./chunk-QEH7WOBC.js";
|
|
12
12
|
import {
|
|
13
13
|
locateExecutable
|
|
14
14
|
} from "./chunk-R2GPCZUX.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-S6QMSCFS.js";
|
|
16
16
|
import "./chunk-34DECPVC.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-KFIKI44F.js";
|
|
18
18
|
import "./chunk-LVCASOV4.js";
|
|
19
19
|
import "./chunk-N7ANFMA5.js";
|
|
20
20
|
import "./chunk-TYY5TYHF.js";
|
|
@@ -23,7 +23,7 @@ import "./chunk-KLIYFD3W.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-3QW5KA52.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-UUYKNLVW.js.map
|
package/docs/hooks.md
CHANGED
|
@@ -87,6 +87,7 @@ default log level.
|
|
|
87
87
|
| `[hooks.guards.shell.self_matching_wait]` | observe | deny, ask, warn, observe, off | A `while`, `until` or `for` loop that polls with `pgrep -f`, `pkill -f`, `pidwait -f` or `ps \| grep` (also inside `$( )` or `bash -c`): the pattern matches the shell running the loop, whose command line holds it, so the wait may never end. `ps -p`, `ps -C` and `pgrep` without `-f` pass. The reason points to `pmcp wait --pid`, `pmcp wait --until no-process:<text>` and `pmcp heavy wait <ticket>`. Starts in observe; set `mode = "deny"` once a week of hits is measured. |
|
|
88
88
|
| `[hooks.guards.git.push_without_verify]` | deny | deny, ask, warn, observe, off | `git push --no-verify`. |
|
|
89
89
|
| `[hooks.guards.git.forced_branch_move]` | deny | deny, ask, warn, observe, off | Forcing a branch that is checked out in another working tree. |
|
|
90
|
+
| `[hooks.guards.git.discard_work]` | graded | deny, ask, warn, observe, off, graded | `git reset --hard`, `git checkout` of paths (or `-f`), `git restore` of the working tree, `git clean -f` and `git stash` other than `list` and `show`. Graded: denied when aimed at the main checkout of a repository that has linked worktrees (the shared checkout) or at another session's worktree, a warning in the session's own worktree or a repository without linked worktrees. |
|
|
90
91
|
| `[hooks.guards.git.gate_bypass_env]` | deny | deny, ask, warn, observe, off | Setting a named gate-bypass variable where it takes effect, and optionally `--no-verify` on any git command. |
|
|
91
92
|
| `[hooks.guards.git.stage_all]` | deny | deny, ask, warn, observe, off | `git add -A`, `git add .`, `git commit -a` and similar; stage explicit paths. |
|
|
92
93
|
| `[hooks.guards.pmcp.operator_verbs]` | deny | deny, ask, warn, observe, off | The operator verbs: `pmcp sessions pause` and `resume`, `pmcp heavy --now` and `promote --now`, `pmcp heavy cancel --force`, `pmcp git deliver --during-pause`, and setting `PMCP_HEAVY_NOW`, `PMCP_OPERATOR_TOKEN` or the lease skip `PMCP_HEAVY_DISABLE=operator`. On by itself with any session feature. |
|
|
@@ -389,7 +390,7 @@ table for your project, with Codex trust.
|
|
|
389
390
|
| `[git.shared_checkout]`, `[git.worktrees.sync]`, `[git.mainline.deliver]` | measured | measured |
|
|
390
391
|
| heredoc, compose_teardown, push_without_verify, forced_branch_move, gate_bypass_env, stage_all | measured | measured |
|
|
391
392
|
| in_place_edit, stdin_interpreter, secret_exfiltration (ask) | ask not measured | ask lowered by `ask_fallback` |
|
|
392
|
-
| host_approval, operator_verbs
|
|
393
|
+
| host_approval, operator_verbs, discard_work | works; not live-measured | works; not live-measured |
|
|
393
394
|
| `[hooks.checks.after_edit]` | measured | measured |
|
|
394
395
|
| `[hooks.checks.on_stop]` | measured, in the same turn | at the next prompt |
|
|
395
396
|
| `[[hooks.guards.custom]]` | not measured | not measured |
|
package/gemini-extension.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.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.31.0", "serve"]
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|