@modootoday/pmcp 0.22.8 → 0.22.10
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-T26VVWOZ.js → apply-U3ZXKI7A.js} +9 -9
- package/dist/{chunk-AY2JWFTO.js → chunk-5S7YW764.js} +2 -2
- package/dist/{chunk-7GVHEUCI.js → chunk-6HQYDPF4.js} +5 -5
- package/dist/{chunk-XHBWMWZM.js → chunk-6J7QS6OU.js} +2 -2
- package/dist/{chunk-2C7YCZCU.js → chunk-7O5PZMMZ.js} +5 -5
- package/dist/{chunk-H7UCINE3.js → chunk-ACBTBCCP.js} +2 -2
- package/dist/{chunk-HJRD7R3L.js → chunk-AHTWOXRM.js} +3 -3
- package/dist/{chunk-7DYWCQVB.js → chunk-ARXCYFFZ.js} +1 -1
- package/dist/{chunk-7MC2ECUI.js → chunk-ASEPCCIF.js} +12 -12
- package/dist/{chunk-ZWRMK5TZ.js → chunk-AYAYA26J.js} +3 -3
- package/dist/{chunk-4LB4665T.js → chunk-DMBXFSBT.js} +3 -3
- package/dist/chunk-EWVCW475.js +7 -0
- package/dist/{chunk-HVCBG4MT.js → chunk-IEHSW5KZ.js} +2 -2
- package/dist/{chunk-6N7YO2MJ.js → chunk-IYRCOMJ3.js} +1080 -327
- package/dist/{chunk-MBWFCWBY.js → chunk-KENKFUKQ.js} +2 -2
- package/dist/{chunk-CILQCERV.js → chunk-KPKMEUUH.js} +2 -2
- package/dist/{chunk-UVHL7DOT.js → chunk-PKLW5B6F.js} +2 -2
- package/dist/{chunk-PAXVHM4E.js → chunk-SDKM5XLY.js} +5 -5
- package/dist/{chunk-WEOSWF6Q.js → chunk-V36R56EC.js} +3 -3
- package/dist/{chunk-LYMX6G4B.js → chunk-WHGWUGUE.js} +2 -2
- package/dist/{chunk-QW6PHF5K.js → chunk-X5BNN7WH.js} +2 -2
- package/dist/{chunk-HRZ44RLZ.js → chunk-YGX4YPJ4.js} +2 -2
- package/dist/{cli-ZTYST4U5.js → cli-JXPJFHUA.js} +3 -3
- package/dist/cli.js +3 -3
- package/dist/{completion-BNGZXFIX.js → completion-YRHYNNQJ.js} +2 -2
- package/dist/{diagnostics-EDOHR27L.js → diagnostics-HF664XER.js} +5 -5
- package/dist/{doctor-QENZSTX4.js → doctor-AA7KSFSZ.js} +10 -10
- package/dist/{entry-KQQ2WVS3.js → entry-SVJKWWRX.js} +9 -9
- package/dist/{exec-mcp-7J6I2TFN.js → exec-mcp-REREJQZS.js} +6 -6
- package/dist/{harness-5V7C7W4X.js → harness-5J2QPEAG.js} +3 -3
- package/dist/harness-launch-gate.js +3 -3
- package/dist/harness-worker.js +5 -5
- package/dist/hook-body.js +1253 -476
- package/dist/{hooks-YH27BJNA.js → hooks-F235VOD5.js} +3 -3
- package/dist/{host-LDKQLXZK.js → host-6RMVD7WT.js} +6 -6
- package/dist/{host-BPL4QYTV.js → host-G63ENESI.js} +8 -8
- package/dist/{host-run-JQQRBC3B.js → host-run-6QLLKBXA.js} +4 -4
- package/dist/http.js +1 -1
- package/dist/{import-mcp-ECOJNVES.js → import-mcp-XCATZ4FG.js} +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/{init-SFD2AD55.js → init-7S7YIUTV.js} +2 -2
- package/dist/{invoke-XKDBJWZR.js → invoke-YNRYQRAS.js} +7 -7
- package/dist/{list-YQMLWGDZ.js → list-XXQXZWDF.js} +7 -7
- package/dist/{logout-ULJ7Y5GJ.js → logout-QUTGV2WF.js} +6 -6
- package/dist/{mainline-SQSAUOMQ.js → mainline-74WCH4T4.js} +21 -7
- package/dist/{mcp-AWSPXJ5K.js → mcp-J7FQGJT2.js} +2 -2
- package/dist/{project-XWAGF3LG.js → project-RAB5YUJG.js} +4 -4
- package/dist/{run-VUIMTTUN.js → run-ZCTDZTZG.js} +5 -5
- package/dist/{run-ESKEMSV6.js → run-ZKVZSZZD.js} +4 -4
- package/dist/{serve-N3QMQTFP.js → serve-A3T73BAD.js} +3 -3
- package/dist/{smoke-UA7VVDKD.js → smoke-2FI5D74B.js} +3 -3
- package/dist/{start-login-OAG3OUDP.js → start-login-UFWY6IE7.js} +6 -6
- package/dist/{status-XULZJ677.js → status-BHC34INJ.js} +6 -6
- package/dist/{status-OKH3ZY6V.js → status-JBCQDSVM.js} +7 -7
- package/dist/stdio.js +2 -2
- package/dist/{test-MP634HCP.js → test-XJJSVALB.js} +29 -21
- package/dist/{tui-TKV3C3XM.js → tui-WQ6J5AXI.js} +4 -4
- package/dist/{worker-53EP7EUT.js → worker-3BAZVDL5.js} +7 -7
- package/docs/hooks.md +13 -3
- package/docs/upgrading.md +8 -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-Y7F4EY35.js +0 -7
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serverFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5S7YW764.js";
|
|
4
4
|
import {
|
|
5
5
|
status
|
|
6
6
|
} from "./chunk-UPQTAHUK.js";
|
|
7
7
|
import "./chunk-RPCIROW7.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-IYRCOMJ3.js";
|
|
9
9
|
import "./chunk-UKR64U7J.js";
|
|
10
10
|
import "./chunk-UYBWUOLR.js";
|
|
11
11
|
import "./chunk-42SO7KYX.js";
|
|
@@ -21,15 +21,15 @@ import "./chunk-7I7O7ZNT.js";
|
|
|
21
21
|
import "./chunk-Z6WRFOFT.js";
|
|
22
22
|
import "./chunk-B3OZ4GGO.js";
|
|
23
23
|
import "./chunk-Q5H3L6Y4.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-ARXCYFFZ.js";
|
|
25
25
|
import "./chunk-A4PKLESO.js";
|
|
26
26
|
import "./chunk-V4NPDK6X.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-X5BNN7WH.js";
|
|
28
28
|
import "./chunk-NRBQK6UX.js";
|
|
29
29
|
import "./chunk-OEH47H6A.js";
|
|
30
30
|
import "./chunk-IJBSOWHK.js";
|
|
31
31
|
import "./chunk-XWLMZKH2.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-EWVCW475.js";
|
|
33
33
|
import "./chunk-GJXOFDJT.js";
|
|
34
34
|
import "./chunk-PMJG2CXF.js";
|
|
35
35
|
import "./chunk-J6KL3COD.js";
|
|
@@ -45,4 +45,4 @@ function run(context) {
|
|
|
45
45
|
export {
|
|
46
46
|
run
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=status-
|
|
48
|
+
//# sourceMappingURL=status-BHC34INJ.js.map
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
} from "./chunk-5QKXEWDB.js";
|
|
8
8
|
import {
|
|
9
9
|
policyRows
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DMBXFSBT.js";
|
|
11
11
|
import "./chunk-7TD53M7L.js";
|
|
12
12
|
import {
|
|
13
13
|
configFrom
|
|
14
14
|
} from "./chunk-RPCIROW7.js";
|
|
15
15
|
import {
|
|
16
16
|
checkProject
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AYAYA26J.js";
|
|
18
18
|
import {
|
|
19
19
|
checkBudget,
|
|
20
20
|
readSpec
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IYRCOMJ3.js";
|
|
22
22
|
import "./chunk-UKR64U7J.js";
|
|
23
23
|
import "./chunk-UYBWUOLR.js";
|
|
24
24
|
import {
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import "./chunk-Z6WRFOFT.js";
|
|
45
45
|
import "./chunk-B3OZ4GGO.js";
|
|
46
46
|
import "./chunk-Q5H3L6Y4.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-ARXCYFFZ.js";
|
|
48
48
|
import {
|
|
49
49
|
statusSpec
|
|
50
50
|
} from "./chunk-KEHB4FZP.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
ArgumentError
|
|
54
54
|
} from "./chunk-A4PKLESO.js";
|
|
55
55
|
import "./chunk-V4NPDK6X.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-X5BNN7WH.js";
|
|
57
57
|
import "./chunk-NRBQK6UX.js";
|
|
58
58
|
import "./chunk-OEH47H6A.js";
|
|
59
59
|
import {
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
worktreesOf
|
|
62
62
|
} from "./chunk-IJBSOWHK.js";
|
|
63
63
|
import "./chunk-XWLMZKH2.js";
|
|
64
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-EWVCW475.js";
|
|
65
65
|
import "./chunk-GJXOFDJT.js";
|
|
66
66
|
import "./chunk-PMJG2CXF.js";
|
|
67
67
|
import "./chunk-J6KL3COD.js";
|
|
@@ -296,4 +296,4 @@ var statusCommand = {
|
|
|
296
296
|
export {
|
|
297
297
|
statusCommand
|
|
298
298
|
};
|
|
299
|
-
//# sourceMappingURL=status-
|
|
299
|
+
//# sourceMappingURL=status-JBCQDSVM.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-WHGWUGUE.js";
|
|
8
|
+
import "./chunk-KENKFUKQ.js";
|
|
9
9
|
import "./chunk-6WXMJOMI.js";
|
|
10
10
|
import "./chunk-4CRRLDDS.js";
|
|
11
11
|
import "./chunk-YSAWTGNA.js";
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
specFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YGX4YPJ4.js";
|
|
4
4
|
import {
|
|
5
5
|
sourceFor
|
|
6
6
|
} from "./chunk-7TD53M7L.js";
|
|
7
7
|
import "./chunk-RPCIROW7.js";
|
|
8
8
|
import {
|
|
9
9
|
POLICIES,
|
|
10
|
+
UnreadableCommand,
|
|
10
11
|
afterFailure,
|
|
11
|
-
commandsOf,
|
|
12
12
|
customMode,
|
|
13
|
-
customPolicy
|
|
14
|
-
|
|
13
|
+
customPolicy,
|
|
14
|
+
readScript
|
|
15
|
+
} from "./chunk-IYRCOMJ3.js";
|
|
15
16
|
import "./chunk-UKR64U7J.js";
|
|
16
17
|
import "./chunk-UYBWUOLR.js";
|
|
17
18
|
import "./chunk-42SO7KYX.js";
|
|
@@ -46,13 +47,13 @@ import {
|
|
|
46
47
|
NEUTRAL_EVENTS,
|
|
47
48
|
RUNTIMES,
|
|
48
49
|
RUNTIME_IDS
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-ARXCYFFZ.js";
|
|
50
51
|
import {
|
|
51
52
|
ArgumentError,
|
|
52
53
|
one
|
|
53
54
|
} from "./chunk-A4PKLESO.js";
|
|
54
55
|
import "./chunk-V4NPDK6X.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-X5BNN7WH.js";
|
|
56
57
|
import "./chunk-NRBQK6UX.js";
|
|
57
58
|
import {
|
|
58
59
|
expandPath
|
|
@@ -62,7 +63,7 @@ import {
|
|
|
62
63
|
worktreesOf
|
|
63
64
|
} from "./chunk-IJBSOWHK.js";
|
|
64
65
|
import "./chunk-XWLMZKH2.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-EWVCW475.js";
|
|
66
67
|
import "./chunk-GJXOFDJT.js";
|
|
67
68
|
import "./chunk-PMJG2CXF.js";
|
|
68
69
|
import "./chunk-J6KL3COD.js";
|
|
@@ -228,14 +229,17 @@ function protectOffFile(input, file2) {
|
|
|
228
229
|
return tool.paths.some((path) => resolve2(path) === target) ? { verdict: "deny", reason: REASON } : {};
|
|
229
230
|
}
|
|
230
231
|
if (tool.kind !== "shell") return {};
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
232
|
+
const read2 = tool.steps ? { steps: tool.steps } : readScript(tool.command ?? "");
|
|
233
|
+
if ("error" in read2)
|
|
234
|
+
return {
|
|
235
|
+
verdict: "deny",
|
|
236
|
+
reason: `${REASON} (not shell syntax: ${read2.error})`
|
|
237
|
+
};
|
|
238
|
+
const names = read2.steps.some((step) => {
|
|
239
|
+
const at = (word) => word === file2 || expandPath(resolve2(input.cwd, step.dir), word) === target;
|
|
240
|
+
if (step.redirects.some((redirect) => at(redirect.target))) return true;
|
|
241
|
+
return !READ_ONLY.has(step.argv[0] ?? "") && step.raw.some(at);
|
|
242
|
+
});
|
|
239
243
|
return names ? { verdict: "deny", reason: REASON } : {};
|
|
240
244
|
}
|
|
241
245
|
|
|
@@ -243,9 +247,13 @@ function protectOffFile(input, file2) {
|
|
|
243
247
|
function withSteps(input) {
|
|
244
248
|
const tool = input.tool;
|
|
245
249
|
if (tool?.kind !== "shell" || !tool.command) return input;
|
|
246
|
-
const
|
|
247
|
-
if (
|
|
248
|
-
|
|
250
|
+
const read2 = readScript(tool.command);
|
|
251
|
+
if ("error" in read2)
|
|
252
|
+
return { ...input, tool: { ...tool, syntaxError: read2.error } };
|
|
253
|
+
return {
|
|
254
|
+
...input,
|
|
255
|
+
tool: { ...tool, steps: read2.steps, redirects: read2.redirects }
|
|
256
|
+
};
|
|
249
257
|
}
|
|
250
258
|
|
|
251
259
|
// src/hooks/dispatch/run-policy.ts
|
|
@@ -321,7 +329,7 @@ async function runPolicy(selected, input, deps) {
|
|
|
321
329
|
}
|
|
322
330
|
return finish({
|
|
323
331
|
verdict: "deny",
|
|
324
|
-
reason: `pmcp ${policy.id} failed, refusing to be safe`
|
|
332
|
+
reason: error instanceof UnreadableCommand ? `pmcp ${policy.id} refuses a command that is ${error.message}` : `pmcp ${policy.id} failed, refusing to be safe`
|
|
325
333
|
});
|
|
326
334
|
}
|
|
327
335
|
}
|
|
@@ -549,7 +557,7 @@ async function simulate(input, compiled, store) {
|
|
|
549
557
|
async function run(context) {
|
|
550
558
|
const fixtures = one(context.args, "fixtures");
|
|
551
559
|
if (fixtures !== void 0)
|
|
552
|
-
return (await import("./smoke-
|
|
560
|
+
return (await import("./smoke-2FI5D74B.js")).run(context, fixtures);
|
|
553
561
|
const runtime = one(context.args, "runtime");
|
|
554
562
|
if (!RUNTIME_IDS.includes(runtime))
|
|
555
563
|
throw new ArgumentError("--runtime must be claude or codex");
|
|
@@ -615,4 +623,4 @@ async function run(context) {
|
|
|
615
623
|
export {
|
|
616
624
|
run
|
|
617
625
|
};
|
|
618
|
-
//# sourceMappingURL=test-
|
|
626
|
+
//# sourceMappingURL=test-XJJSVALB.js.map
|
|
@@ -112,10 +112,10 @@ var tuiCommand = {
|
|
|
112
112
|
try {
|
|
113
113
|
let receipt;
|
|
114
114
|
if (invocation.action === "doctor") {
|
|
115
|
-
const { inspectTerminalHost } = await import("./diagnostics-
|
|
115
|
+
const { inspectTerminalHost } = await import("./diagnostics-HF664XER.js");
|
|
116
116
|
receipt = inspectTerminalHost();
|
|
117
117
|
} else if (invocation.action === "start-worker") {
|
|
118
|
-
const { startWorkspaceWorker } = await import("./worker-
|
|
118
|
+
const { startWorkspaceWorker } = await import("./worker-3BAZVDL5.js");
|
|
119
119
|
receipt = await startWorkspaceWorker(
|
|
120
120
|
{ config: invocation.startup?.config, cwd: context.cwd },
|
|
121
121
|
invocation.startup.runtime,
|
|
@@ -128,7 +128,7 @@ var tuiCommand = {
|
|
|
128
128
|
cwd: context.cwd
|
|
129
129
|
});
|
|
130
130
|
} else {
|
|
131
|
-
const { launchStartup, planStartup } = await import("./entry-
|
|
131
|
+
const { launchStartup, planStartup } = await import("./entry-SVJKWWRX.js");
|
|
132
132
|
const request = { ...invocation.startup, cwd: context.cwd };
|
|
133
133
|
receipt = invocation.action === "plan" ? planStartup(request) : await launchStartup(
|
|
134
134
|
request,
|
|
@@ -150,4 +150,4 @@ var tuiCommand = {
|
|
|
150
150
|
export {
|
|
151
151
|
tuiCommand
|
|
152
152
|
};
|
|
153
|
-
//# sourceMappingURL=tui-
|
|
153
|
+
//# sourceMappingURL=tui-WQ6J5AXI.js.map
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
} from "./chunk-C3G75JH7.js";
|
|
6
6
|
import {
|
|
7
7
|
invoke
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6HQYDPF4.js";
|
|
9
9
|
import "./chunk-DZ2MRTYT.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-AHTWOXRM.js";
|
|
11
|
+
import "./chunk-PKLW5B6F.js";
|
|
12
12
|
import {
|
|
13
13
|
locateExecutable
|
|
14
14
|
} from "./chunk-R2GPCZUX.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ACBTBCCP.js";
|
|
16
16
|
import "./chunk-34DECPVC.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-X5BNN7WH.js";
|
|
18
18
|
import "./chunk-NRBQK6UX.js";
|
|
19
19
|
import "./chunk-OEH47H6A.js";
|
|
20
20
|
import "./chunk-IJBSOWHK.js";
|
|
21
21
|
import "./chunk-XWLMZKH2.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-EWVCW475.js";
|
|
23
23
|
import "./chunk-GJXOFDJT.js";
|
|
24
24
|
import "./chunk-PMJG2CXF.js";
|
|
25
25
|
import {
|
|
@@ -79,4 +79,4 @@ async function startWorkspaceWorker(request, runtime, memoryMb) {
|
|
|
79
79
|
export {
|
|
80
80
|
startWorkspaceWorker
|
|
81
81
|
};
|
|
82
|
-
//# sourceMappingURL=worker-
|
|
82
|
+
//# sourceMappingURL=worker-3BAZVDL5.js.map
|
package/docs/hooks.md
CHANGED
|
@@ -104,9 +104,19 @@ Options:
|
|
|
104
104
|
- `[hooks.guards.git.gate_bypass_env]`: `names` (variable names, default `[]`)
|
|
105
105
|
and `no_verify` (boolean, default `true`).
|
|
106
106
|
|
|
107
|
-
A mention is not a match: commands are parsed into
|
|
108
|
-
`git commit -m "never git push --no-verify"` and
|
|
109
|
-
|
|
107
|
+
A mention is not a match: commands are parsed with the shell's grammar into the
|
|
108
|
+
steps they run, so `git commit -m "never git push --no-verify"` and
|
|
109
|
+
`echo 'cat <<EOF'` pass. The parser reads lists (`;`, `&`, newlines), `&&` and
|
|
110
|
+
`||`, pipelines, subshells, `{ }` groups, `if`, `while`, `until`, `for`, `case`,
|
|
111
|
+
`[[ ]]`, `(( ))`, function definitions, redirections, here-documents, quoting and
|
|
112
|
+
command, process and backtick substitutions. Each step runs in the directory the
|
|
113
|
+
`cd` and `pushd` before it led to, within its own shell: a `cd` inside `( )`, a
|
|
114
|
+
pipeline stage or a background job stays there. A `$NAME` the shell expands
|
|
115
|
+
takes the value the command set `NAME` to as plain text, so `W=/x; git -C $W push`
|
|
116
|
+
is judged in `/x`; a new shell (`bash -c`) sees only exported names. A command
|
|
117
|
+
that is not shell syntax is
|
|
118
|
+
refused by every guard that fails closed, since the shell would run the lines
|
|
119
|
+
before the error.
|
|
110
120
|
|
|
111
121
|
## `[[hooks.guards.custom]]`
|
|
112
122
|
|
package/docs/upgrading.md
CHANGED
|
@@ -5,6 +5,14 @@
|
|
|
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.22.8 to 0.22.9
|
|
9
|
+
|
|
10
|
+
**Guards read commands with the shell's grammar.** A `cd` chain, a subshell, a pipeline stage
|
|
11
|
+
and a background job now decide which directory each step runs in, as the shell does, so a
|
|
12
|
+
push after `cd a && cd b` is judged in `a/b`, not in `b`. A command that is not shell syntax
|
|
13
|
+
is refused by every guard that fails closed; before, each guard matched it against a text
|
|
14
|
+
pattern of its own. See [Hooks](hooks.md).
|
|
15
|
+
|
|
8
16
|
## From 0.22.1 to 0.22.2
|
|
9
17
|
|
|
10
18
|
**Gate logs move to a directory per tip in the state directory.** A delivery's gate output was
|
package/gemini-extension.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcp",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.10",
|
|
4
4
|
"mcpServers": {
|
|
5
5
|
"pmcp": {
|
|
6
6
|
"type": "stdio",
|
|
7
7
|
"command": "npx",
|
|
8
|
-
"args": ["-y", "@modootoday/pmcp@0.22.
|
|
8
|
+
"args": ["-y", "@modootoday/pmcp@0.22.10", "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.22.
|
|
3
|
+
"version": "0.22.10",
|
|
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.22.
|
|
140
|
-
"@modootoday/pmcp-linux-arm64": "0.22.
|
|
141
|
-
"@modootoday/pmcp-darwin-x64": "0.22.
|
|
142
|
-
"@modootoday/pmcp-darwin-arm64": "0.22.
|
|
139
|
+
"@modootoday/pmcp-linux-x64": "0.22.10",
|
|
140
|
+
"@modootoday/pmcp-linux-arm64": "0.22.10",
|
|
141
|
+
"@modootoday/pmcp-darwin-x64": "0.22.10",
|
|
142
|
+
"@modootoday/pmcp-darwin-arm64": "0.22.10"
|
|
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.22.
|
|
4
|
+
"version": "0.22.10",
|
|
5
5
|
"description": "Find package skills and use native runtime project configuration.",
|
|
6
6
|
"author": { "name": "modootoday" },
|
|
7
7
|
"license": "Elastic-2.0",
|
package/plugins/pmcp/.mcp.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcp",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.10",
|
|
4
4
|
"mcpServers": {
|
|
5
5
|
"pmcp": {
|
|
6
6
|
"type": "stdio",
|
|
7
7
|
"command": "npx",
|
|
8
|
-
"args": ["-y", "@modootoday/pmcp@0.22.
|
|
8
|
+
"args": ["-y", "@modootoday/pmcp@0.22.10", "serve"]
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
package/plugins/pmcp/mcp.json
CHANGED
package/plugins/pmcp/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.22.
|
|
4
|
+
"version": "0.22.10",
|
|
5
5
|
"description": "Find package skills and use native runtime project configuration.",
|
|
6
6
|
"author": { "name": "modootoday" },
|
|
7
7
|
"license": "Elastic-2.0",
|