@modootoday/pmcp 0.19.1 → 0.19.3
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-IPTASVRS.js → apply-3GVOB5SB.js} +16 -15
- package/dist/{chunk-Y65MO2SS.js → chunk-27RQE4X5.js} +32 -17
- package/dist/{chunk-YTSJRA4Z.js → chunk-3PFBFW5K.js} +2 -2
- package/dist/{chunk-G7NN23YK.js → chunk-6NAOPDEL.js} +2 -2
- package/dist/{chunk-J5XQW2CM.js → chunk-7B2KRL2H.js} +14 -3
- package/dist/{chunk-XS2QM6AT.js → chunk-A2A2QEGQ.js} +5 -5
- package/dist/{chunk-7FAA32PB.js → chunk-AKZ3TZF6.js} +3 -3
- package/dist/{chunk-MFPQDXUQ.js → chunk-BU5QVZD7.js} +5 -5
- package/dist/{chunk-OWW5VY4D.js → chunk-DJX3T6OQ.js} +3 -3
- package/dist/{chunk-JJBSYUSQ.js → chunk-DXJZ2ZCX.js} +2 -2
- package/dist/{chunk-UOLV2AWA.js → chunk-E4RHRBN4.js} +3 -3
- package/dist/{chunk-D5D3V6RU.js → chunk-ICF2JZSN.js} +15 -1
- package/dist/{chunk-2W6CEJD7.js → chunk-IITLKKLW.js} +2 -2
- package/dist/{chunk-MB72PZH7.js → chunk-INAQADYF.js} +8 -8
- package/dist/{chunk-3BLHIEAK.js → chunk-IRE5CH3V.js} +2 -2
- package/dist/{chunk-IKJOXDCF.js → chunk-JKUO3SES.js} +2 -2
- package/dist/chunk-JUV4AO7M.js +7 -0
- package/dist/{chunk-2DAC45ZT.js → chunk-JWYZE3QX.js} +2 -2
- package/dist/chunk-P6LNYYYH.js +95 -0
- package/dist/{chunk-XKGS2FNF.js → chunk-QESM25BF.js} +2 -2
- package/dist/{chunk-JAICIL6H.js → chunk-QWFXAUTC.js} +8 -8
- package/dist/{chunk-3CLLHFP7.js → chunk-TA7STTID.js} +2 -2
- package/dist/{chunk-ZYMJV7YX.js → chunk-VNNHEB6B.js} +23 -23
- package/dist/{chunk-3H5FZCKX.js → chunk-VVFEFQSO.js} +3 -3
- package/dist/{chunk-U2FPMGEM.js → chunk-WXKUV52B.js} +2 -2
- package/dist/{chunk-WIW772I3.js → chunk-XLXDXJY2.js} +4 -4
- package/dist/{chunk-LLBPVZXM.js → chunk-YN5GQCHN.js} +4 -4
- package/dist/{chunk-OKW7VKNQ.js → chunk-Z7OYA467.js} +2 -2
- package/dist/{cli-T5LHBUY2.js → cli-BTPTJWCC.js} +3 -3
- package/dist/{cli-MUP2NSXT.js → cli-UFCFDIVI.js} +7 -6
- package/dist/cli.js +7 -7
- package/dist/{completion-ZY5P443T.js → completion-S5RXYRE6.js} +6 -6
- package/dist/{diagnostics-KUNS6LCZ.js → diagnostics-IWZ44B3T.js} +6 -6
- package/dist/{doctor-UH7KEOSO.js → doctor-6OM2CW6Y.js} +21 -19
- package/dist/{entry-DOUDMRO2.js → entry-OP6P6JIE.js} +10 -10
- package/dist/{exec-mcp-TGW6FXGC.js → exec-mcp-VEHKAWE4.js} +10 -9
- package/dist/{harness-7HC6UR2D.js → harness-5IIU5JUZ.js} +3 -3
- package/dist/harness-launch-gate.js +4 -4
- package/dist/harness-worker.js +6 -6
- package/dist/hook-body.js +155 -56
- package/dist/{hook-spec-0aGt29Pg.d.ts → hook-spec-C7umArqw.d.ts} +1 -1
- package/dist/{hooks-L2MKB75Z.js → hooks-ZSA4DLUZ.js} +3 -3
- package/dist/{host-OAQZTYII.js → host-BWSHEN3G.js} +12 -11
- package/dist/{host-QSBXKTWT.js → host-CU5YGXUO.js} +7 -7
- package/dist/{host-run-HFOADX32.js → host-run-MCYOHAV4.js} +5 -5
- package/dist/http.js +1 -1
- package/dist/{import-mcp-BCYXJAIU.js → import-mcp-FC7HCWRT.js} +8 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -16
- package/dist/{init-NVJVNZOD.js → init-ADQO2QTV.js} +2 -2
- package/dist/{invoke-KVTEPXSC.js → invoke-P6GHAPFV.js} +8 -8
- package/dist/{list-2VRPMASP.js → list-YXCHN33G.js} +10 -9
- package/dist/{logout-6T5ZDLHQ.js → logout-J4YFUKXJ.js} +9 -8
- package/dist/{mailbox-O3MX6QPF.js → mailbox-UECKDZ3Q.js} +1 -1
- package/dist/{mainline-DG75NLBS.js → mainline-FPK4HWFF.js} +47 -14
- package/dist/{mcp-7UKG5TD3.js → mcp-DGQR4FRE.js} +2 -2
- package/dist/modes-COBVV7RA.js +14 -0
- package/dist/project/hook-adapter.d.ts +1 -1
- package/dist/{project-BPKQOSKQ.js → project-VZV5ZJ7Q.js} +6 -6
- package/dist/{run-WGIRM6Z7.js → run-6D7XVMOA.js} +4 -4
- package/dist/{run-5JD62E7R.js → run-OHZHE2GN.js} +8 -7
- package/dist/{serve-J575WVIU.js → serve-6ZL6SR5O.js} +6 -6
- package/dist/{setup-T6T2PFC4.js → setup-63E3TVJK.js} +4 -4
- package/dist/{start-login-2AYCHWLV.js → start-login-G63U6RT2.js} +9 -8
- package/dist/{status-425ZKIE6.js → status-6YMXYFE6.js} +9 -8
- package/dist/{status-GPSLH4VO.js → status-CM753VKY.js} +3 -3
- package/dist/{status-2YWTJOMH.js → status-KXTLD7EN.js} +13 -12
- package/dist/stdio.js +2 -2
- package/dist/{test-XBLZOX52.js → test-W3P5F5ML.js} +15 -10
- package/dist/{tui-WNVBHP65.js → tui-7R7TVPGT.js} +4 -4
- package/dist/{worker-CGF3UIJE.js → worker-SD2CHGC7.js} +8 -8
- package/dist/{worktree-sync-W4BDDLRO.js → worktree-sync-GQVYAXGJ.js} +4 -2
- package/docs/git-workflow.md +6 -5
- package/docs/hooks.md +19 -14
- package/docs/project-configuration.md +3 -1
- package/gemini-extension.json +2 -2
- package/mcp.json +1 -1
- package/package.json +5 -5
- package/plugin.json +1 -1
- package/plugins/pmcp/.claude-plugin/plugin.json +1 -1
- package/plugins/pmcp/.mcp.json +1 -1
- package/plugins/pmcp/gemini-extension.json +2 -2
- package/plugins/pmcp/mcp.json +1 -1
- package/plugins/pmcp/plugin.json +1 -1
- package/dist/chunk-GPSOPGJA.js +0 -7
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
},
|
|
613
613
|
{
|
|
614
614
|
"name": "pmcp",
|
|
615
|
-
"version": "0.19.
|
|
615
|
+
"version": "0.19.3",
|
|
616
616
|
"description": "Find package skills and use native runtime project configuration.",
|
|
617
617
|
"source": { "source": "local", "path": "./plugins/pmcp" },
|
|
618
618
|
"policy": { "installation": "AVAILABLE", "authentication": "ON_USE" },
|
package/.mcp.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
specFrom
|
|
3
|
-
} from "./chunk-OKW7VKNQ.js";
|
|
4
1
|
import {
|
|
5
2
|
catalogFrom
|
|
6
3
|
} from "./chunk-HEBCQTOD.js";
|
|
4
|
+
import {
|
|
5
|
+
specFrom
|
|
6
|
+
} from "./chunk-Z7OYA467.js";
|
|
7
7
|
import "./chunk-7DLZC73N.js";
|
|
8
8
|
import {
|
|
9
9
|
project
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BU5QVZD7.js";
|
|
11
11
|
import "./chunk-P4N7DBD5.js";
|
|
12
12
|
import {
|
|
13
13
|
renderFrontmatter,
|
|
14
14
|
splitFrontmatter
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-QWFXAUTC.js";
|
|
16
|
+
import "./chunk-TA7STTID.js";
|
|
17
|
+
import "./chunk-73AKO4UL.js";
|
|
17
18
|
import {
|
|
18
19
|
RUNTIMES
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-27RQE4X5.js";
|
|
20
21
|
import "./chunk-HQOB7OQS.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-7B2KRL2H.js";
|
|
22
23
|
import "./chunk-2Q6MNGU5.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-ICF2JZSN.js";
|
|
24
25
|
import "./chunk-UD3BEEBQ.js";
|
|
25
26
|
import "./chunk-ISNRDHSD.js";
|
|
26
|
-
import "./chunk-G7JONWL4.js";
|
|
27
27
|
import "./chunk-EATCUWGG.js";
|
|
28
28
|
import {
|
|
29
29
|
ProjectError
|
|
@@ -31,8 +31,9 @@ import {
|
|
|
31
31
|
import "./chunk-3PW4FI7U.js";
|
|
32
32
|
import "./chunk-DHAPQUEF.js";
|
|
33
33
|
import "./chunk-C4NHQGHL.js";
|
|
34
|
+
import "./chunk-P6LNYYYH.js";
|
|
35
|
+
import "./chunk-G7JONWL4.js";
|
|
34
36
|
import "./chunk-Q5H3L6Y4.js";
|
|
35
|
-
import "./chunk-73AKO4UL.js";
|
|
36
37
|
import "./chunk-JEL35P7S.js";
|
|
37
38
|
import "./chunk-A4PKLESO.js";
|
|
38
39
|
import "./chunk-V4NPDK6X.js";
|
|
@@ -40,13 +41,13 @@ import {
|
|
|
40
41
|
kindOf
|
|
41
42
|
} from "./chunk-4CRRLDDS.js";
|
|
42
43
|
import "./chunk-YSAWTGNA.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-E4RHRBN4.js";
|
|
44
45
|
import {
|
|
45
46
|
recordProjector
|
|
46
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-QESM25BF.js";
|
|
47
48
|
import "./chunk-OEH47H6A.js";
|
|
48
49
|
import "./chunk-IJBSOWHK.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-JUV4AO7M.js";
|
|
50
51
|
import "./chunk-QPL7E2HW.js";
|
|
51
52
|
import "./chunk-PMJG2CXF.js";
|
|
52
53
|
import "./chunk-J6KL3COD.js";
|
|
@@ -239,4 +240,4 @@ export {
|
|
|
239
240
|
projectOrCheck,
|
|
240
241
|
removeAndProject
|
|
241
242
|
};
|
|
242
|
-
//# sourceMappingURL=apply-
|
|
243
|
+
//# sourceMappingURL=apply-3GVOB5SB.js.map
|
|
@@ -3,16 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-HQOB7OQS.js";
|
|
4
4
|
import {
|
|
5
5
|
readGitConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7B2KRL2H.js";
|
|
7
7
|
import {
|
|
8
8
|
detect
|
|
9
9
|
} from "./chunk-2Q6MNGU5.js";
|
|
10
10
|
import {
|
|
11
11
|
syncWorktree
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
gitText
|
|
15
|
-
} from "./chunk-G7JONWL4.js";
|
|
12
|
+
} from "./chunk-ICF2JZSN.js";
|
|
16
13
|
import {
|
|
17
14
|
localCli,
|
|
18
15
|
pmcpCommand,
|
|
@@ -35,6 +32,12 @@ import {
|
|
|
35
32
|
leaseFile,
|
|
36
33
|
runtimePid
|
|
37
34
|
} from "./chunk-C4NHQGHL.js";
|
|
35
|
+
import {
|
|
36
|
+
withUmask
|
|
37
|
+
} from "./chunk-P6LNYYYH.js";
|
|
38
|
+
import {
|
|
39
|
+
gitText
|
|
40
|
+
} from "./chunk-G7JONWL4.js";
|
|
38
41
|
import {
|
|
39
42
|
safeEndpoint
|
|
40
43
|
} from "./chunk-Q5H3L6Y4.js";
|
|
@@ -45,7 +48,7 @@ import {
|
|
|
45
48
|
packagedBinary,
|
|
46
49
|
readHost,
|
|
47
50
|
readLock
|
|
48
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-QESM25BF.js";
|
|
49
52
|
import {
|
|
50
53
|
checkoutOf,
|
|
51
54
|
hasLinkedWorktrees
|
|
@@ -3629,12 +3632,15 @@ function changed(root, from, paths, to = "HEAD") {
|
|
|
3629
3632
|
if (paths.length === 0) return [];
|
|
3630
3633
|
return gitText(root, ["diff", "--name-only", from, to, "--", ...paths]).split("\n").filter(Boolean);
|
|
3631
3634
|
}
|
|
3632
|
-
function backgroundInstall(root, command6) {
|
|
3633
|
-
const child =
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3635
|
+
function backgroundInstall(root, command6, umask) {
|
|
3636
|
+
const child = withUmask(
|
|
3637
|
+
umask,
|
|
3638
|
+
() => spawn(command6[0], command6.slice(1), {
|
|
3639
|
+
cwd: root,
|
|
3640
|
+
detached: true,
|
|
3641
|
+
stdio: "ignore"
|
|
3642
|
+
})
|
|
3643
|
+
);
|
|
3638
3644
|
child.on("error", () => void 0);
|
|
3639
3645
|
child.unref();
|
|
3640
3646
|
}
|
|
@@ -3664,13 +3670,14 @@ function move(input, ctx, git) {
|
|
|
3664
3670
|
followSubmodules: opts.followSubmodules,
|
|
3665
3671
|
fetch,
|
|
3666
3672
|
report: report2,
|
|
3667
|
-
...install
|
|
3673
|
+
...install,
|
|
3674
|
+
...opts.umask !== void 0 ? { umask: opts.umask } : {}
|
|
3668
3675
|
});
|
|
3669
3676
|
if (result === "current") return [];
|
|
3670
3677
|
if (result === "held")
|
|
3671
3678
|
return lines.map((line) => `Desk ${git.root}: ${line}`);
|
|
3672
3679
|
if (opts.install && opts.installAfterMove === "background" && changed(git.root, before, opts.installWhen).length > 0) {
|
|
3673
|
-
backgroundInstall(git.root, opts.install);
|
|
3680
|
+
backgroundInstall(git.root, opts.install, opts.umask);
|
|
3674
3681
|
lines.push(`installing in the background: ${opts.install.join(" ")}`);
|
|
3675
3682
|
}
|
|
3676
3683
|
const rules2 = changed(git.root, before, opts.noticePaths);
|
|
@@ -3993,7 +4000,14 @@ function readCustom(root, hooks, guards) {
|
|
|
3993
4000
|
}
|
|
3994
4001
|
|
|
3995
4002
|
// src/hooks/compile/guards.ts
|
|
3996
|
-
var MODES = [
|
|
4003
|
+
var MODES = [
|
|
4004
|
+
"deny",
|
|
4005
|
+
"ask",
|
|
4006
|
+
"warn",
|
|
4007
|
+
"observe",
|
|
4008
|
+
"off",
|
|
4009
|
+
"graded"
|
|
4010
|
+
];
|
|
3997
4011
|
var GROUPS = ["shell", "git"];
|
|
3998
4012
|
function readGuard(id, raw) {
|
|
3999
4013
|
const policy = GUARDS[id];
|
|
@@ -4323,7 +4337,8 @@ function readWorktreeSync(tables, root) {
|
|
|
4323
4337
|
...git.sync?.install ? { install: git.sync.install } : {},
|
|
4324
4338
|
installWhen: git.sync?.installWhenChanged ?? [],
|
|
4325
4339
|
noticePaths: sync.noticePaths,
|
|
4326
|
-
followSubmodules: git.submodules?.follow === "clean_pins"
|
|
4340
|
+
followSubmodules: git.submodules?.follow === "clean_pins",
|
|
4341
|
+
...git.umask !== void 0 ? { umask: git.umask } : {}
|
|
4327
4342
|
};
|
|
4328
4343
|
return {
|
|
4329
4344
|
id: "git.worktrees.sync",
|
|
@@ -5069,4 +5084,4 @@ export {
|
|
|
5069
5084
|
permissionDoctor,
|
|
5070
5085
|
readSpec
|
|
5071
5086
|
};
|
|
5072
|
-
//# sourceMappingURL=chunk-
|
|
5087
|
+
//# sourceMappingURL=chunk-27RQE4X5.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7DLZC73N.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-27RQE4X5.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError
|
|
9
9
|
} from "./chunk-A4PKLESO.js";
|
|
@@ -25,4 +25,4 @@ function serverFrom(context) {
|
|
|
25
25
|
export {
|
|
26
26
|
serverFrom
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-3PFBFW5K.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-34DECPVC.js";
|
|
7
7
|
import {
|
|
8
8
|
ptyBinary
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E4RHRBN4.js";
|
|
10
10
|
|
|
11
11
|
// src/harness/adapters/systemd/admission.ts
|
|
12
12
|
var nativeHostTools = ["systemctl", "systemd-run"];
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
nativeHostTools,
|
|
37
37
|
assertNativeHost
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
39
|
+
//# sourceMappingURL=chunk-6NAOPDEL.js.map
|
|
@@ -234,6 +234,15 @@ function leases(path, sessions) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
// src/git/config.ts
|
|
237
|
+
function umask(path, value) {
|
|
238
|
+
if (value === void 0) return void 0;
|
|
239
|
+
if (typeof value !== "string" || !/^0?[0-7]{3}$/u.test(value))
|
|
240
|
+
throw new ConfigError(
|
|
241
|
+
path,
|
|
242
|
+
`[git] umask must be an octal string such as "022", not ${JSON.stringify(value)}`
|
|
243
|
+
);
|
|
244
|
+
return Number.parseInt(value, 8);
|
|
245
|
+
}
|
|
237
246
|
function enabled(path, value) {
|
|
238
247
|
if (value === void 0 || value === "auto") return "auto";
|
|
239
248
|
if (typeof value === "boolean") return value;
|
|
@@ -251,7 +260,8 @@ function readGitConfig(config) {
|
|
|
251
260
|
"mainline",
|
|
252
261
|
"worktrees",
|
|
253
262
|
"shared_checkout",
|
|
254
|
-
"submodules"
|
|
263
|
+
"submodules",
|
|
264
|
+
"umask"
|
|
255
265
|
]);
|
|
256
266
|
const worktreeTable = child(path, root, "git", "worktrees");
|
|
257
267
|
const named = typeof root["mainline"] === "string";
|
|
@@ -280,11 +290,12 @@ function readGitConfig(config) {
|
|
|
280
290
|
sync: mainSyncTable && mainlineSync(path, mainSyncTable),
|
|
281
291
|
submodules: submoduleTable && submodules(path, submoduleTable),
|
|
282
292
|
stateDir: typeof stateDir === "string" ? expandPath(dir, stateDir) : void 0,
|
|
283
|
-
leases: leases(path, sessions)
|
|
293
|
+
leases: leases(path, sessions),
|
|
294
|
+
...root["umask"] !== void 0 ? { umask: umask(path, root["umask"]) } : {}
|
|
284
295
|
};
|
|
285
296
|
}
|
|
286
297
|
|
|
287
298
|
export {
|
|
288
299
|
readGitConfig
|
|
289
300
|
};
|
|
290
|
-
//# sourceMappingURL=chunk-
|
|
301
|
+
//# sourceMappingURL=chunk-7B2KRL2H.js.map
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
observeSession,
|
|
8
8
|
openGroup,
|
|
9
9
|
runOperation
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AKZ3TZF6.js";
|
|
11
11
|
import {
|
|
12
12
|
nativeHostTools
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6NAOPDEL.js";
|
|
14
14
|
import {
|
|
15
15
|
locateExecutable
|
|
16
16
|
} from "./chunk-R2GPCZUX.js";
|
|
17
17
|
import {
|
|
18
18
|
artifact,
|
|
19
19
|
stateDirectory
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JKUO3SES.js";
|
|
21
21
|
import {
|
|
22
22
|
ptyBinary
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-E4RHRBN4.js";
|
|
24
24
|
import {
|
|
25
25
|
GroupStore,
|
|
26
26
|
privateJson
|
|
@@ -249,4 +249,4 @@ async function invoke(operation) {
|
|
|
249
249
|
export {
|
|
250
250
|
invoke
|
|
251
251
|
};
|
|
252
|
-
//# sourceMappingURL=chunk-
|
|
252
|
+
//# sourceMappingURL=chunk-A2A2QEGQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertNativeHost
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6NAOPDEL.js";
|
|
4
4
|
import {
|
|
5
5
|
locateExecutable
|
|
6
6
|
} from "./chunk-R2GPCZUX.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
resourceClaim,
|
|
34
34
|
resourceRunning,
|
|
35
35
|
runtimeUnit
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-JKUO3SES.js";
|
|
37
37
|
import {
|
|
38
38
|
command
|
|
39
39
|
} from "./chunk-34DECPVC.js";
|
|
@@ -1981,4 +1981,4 @@ export {
|
|
|
1981
1981
|
isReadOnly,
|
|
1982
1982
|
runOperation
|
|
1983
1983
|
};
|
|
1984
|
-
//# sourceMappingURL=chunk-
|
|
1984
|
+
//# sourceMappingURL=chunk-AKZ3TZF6.js.map
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
prepare,
|
|
9
9
|
present,
|
|
10
10
|
writeNative
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QWFXAUTC.js";
|
|
12
12
|
import {
|
|
13
13
|
ANTIGRAVITY_MCP_PLUGIN
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TA7STTID.js";
|
|
15
15
|
import {
|
|
16
16
|
changedSincePlan,
|
|
17
17
|
exists,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
same,
|
|
23
23
|
splitKeyed,
|
|
24
24
|
withoutBlock
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-27RQE4X5.js";
|
|
26
26
|
import {
|
|
27
27
|
RULES_DIR,
|
|
28
28
|
legacyLinks
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
replaceFile,
|
|
33
33
|
replaceLink,
|
|
34
34
|
writeLock
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QESM25BF.js";
|
|
36
36
|
|
|
37
37
|
// src/project/apply/files.ts
|
|
38
38
|
import { mkdirSync } from "fs";
|
|
@@ -208,4 +208,4 @@ function project(spec, options) {
|
|
|
208
208
|
export {
|
|
209
209
|
project
|
|
210
210
|
};
|
|
211
|
-
//# sourceMappingURL=chunk-
|
|
211
|
+
//# sourceMappingURL=chunk-BU5QVZD7.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-5ZABTVSW.js";
|
|
4
4
|
import {
|
|
5
5
|
dependencies
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VVFEFQSO.js";
|
|
7
7
|
import {
|
|
8
8
|
interactiveEntry
|
|
9
9
|
} from "./chunk-LMT3PPXJ.js";
|
|
10
10
|
import {
|
|
11
11
|
assertNativeHost
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6NAOPDEL.js";
|
|
13
13
|
|
|
14
14
|
// src/tui/startup/host.ts
|
|
15
15
|
function terminalSupport() {
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
terminalSupport,
|
|
43
43
|
requireTerminal
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk-
|
|
45
|
+
//# sourceMappingURL=chunk-DJX3T6OQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readGitConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7B2KRL2H.js";
|
|
4
4
|
import {
|
|
5
5
|
detect
|
|
6
6
|
} from "./chunk-2Q6MNGU5.js";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
gateTreePath,
|
|
54
54
|
leaseSpecs
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-DXJZ2ZCX.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
missingBinary,
|
|
3
3
|
nativeBinary,
|
|
4
4
|
readLock
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QESM25BF.js";
|
|
6
6
|
import {
|
|
7
7
|
VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JUV4AO7M.js";
|
|
9
9
|
import {
|
|
10
10
|
pickEnv
|
|
11
11
|
} from "./chunk-J6KL3COD.js";
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
hostEnvDoctor,
|
|
128
128
|
hostDoctor
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-E4RHRBN4.js.map
|
|
@@ -7,6 +7,12 @@ import {
|
|
|
7
7
|
cherry,
|
|
8
8
|
distance
|
|
9
9
|
} from "./chunk-ISNRDHSD.js";
|
|
10
|
+
import {
|
|
11
|
+
reportModes,
|
|
12
|
+
restoreModes,
|
|
13
|
+
restoreSubmoduleModes,
|
|
14
|
+
withUmask
|
|
15
|
+
} from "./chunk-P6LNYYYH.js";
|
|
10
16
|
import {
|
|
11
17
|
git,
|
|
12
18
|
gitText
|
|
@@ -27,6 +33,9 @@ function heldBy(root, upstream, ahead) {
|
|
|
27
33
|
return null;
|
|
28
34
|
}
|
|
29
35
|
function syncWorktree(options) {
|
|
36
|
+
return withUmask(options.umask, () => syncOnce(options));
|
|
37
|
+
}
|
|
38
|
+
function syncOnce(options) {
|
|
30
39
|
const { ctx, report } = options;
|
|
31
40
|
if (!ctx.linked)
|
|
32
41
|
throw new Error(
|
|
@@ -67,6 +76,11 @@ function syncWorktree(options) {
|
|
|
67
76
|
`moved ${before.slice(0, 10)} -> ${after.slice(0, 10)}, ${counted.behind} commit(s)`
|
|
68
77
|
);
|
|
69
78
|
for (const line of updateToPins(ctx.root, submodules)) report.info(line);
|
|
79
|
+
if (options.umask !== void 0)
|
|
80
|
+
reportModes(report, [
|
|
81
|
+
...restoreModes(ctx.root, before, after),
|
|
82
|
+
...restoreSubmoduleModes(ctx.root, before, after)
|
|
83
|
+
]);
|
|
70
84
|
if (options.install !== void 0)
|
|
71
85
|
installIfStale(ctx.root, options.install, report);
|
|
72
86
|
return "moved";
|
|
@@ -75,4 +89,4 @@ function syncWorktree(options) {
|
|
|
75
89
|
export {
|
|
76
90
|
syncWorktree
|
|
77
91
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
92
|
+
//# sourceMappingURL=chunk-ICF2JZSN.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
POLICIES,
|
|
6
6
|
RUNTIMES,
|
|
7
7
|
customPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-27RQE4X5.js";
|
|
9
9
|
|
|
10
10
|
// src/hooks/inspection/list.ts
|
|
11
11
|
function policyRows(compiled) {
|
|
@@ -39,4 +39,4 @@ function policyRows(compiled) {
|
|
|
39
39
|
export {
|
|
40
40
|
policyRows
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-IITLKKLW.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hostApprovalDoctor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IRE5CH3V.js";
|
|
4
4
|
import {
|
|
5
5
|
project
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BU5QVZD7.js";
|
|
7
7
|
import {
|
|
8
8
|
wakeableBy
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XLXDXJY2.js";
|
|
10
10
|
import {
|
|
11
11
|
currentHooks,
|
|
12
12
|
restartNotes
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
marketplaceDoctor,
|
|
17
17
|
skillNames,
|
|
18
18
|
splitFrontmatter
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QWFXAUTC.js";
|
|
20
20
|
import {
|
|
21
21
|
ANTIGRAVITY_MCP_PLUGIN,
|
|
22
22
|
serversForTool
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TA7STTID.js";
|
|
24
24
|
import {
|
|
25
25
|
permissionDoctor,
|
|
26
26
|
pluginBinaryDoctor,
|
|
27
27
|
uiClaudeDoctor
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-27RQE4X5.js";
|
|
29
29
|
import {
|
|
30
30
|
pathPmcp,
|
|
31
31
|
pmcpCommand
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
hostDoctor,
|
|
39
39
|
hostEnvDoctor,
|
|
40
40
|
ptyBinaryDoctor
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-E4RHRBN4.js";
|
|
42
42
|
import {
|
|
43
43
|
projectStateDir
|
|
44
44
|
} from "./chunk-OEH47H6A.js";
|
|
@@ -642,4 +642,4 @@ export {
|
|
|
642
642
|
spawnRunner,
|
|
643
643
|
doctor
|
|
644
644
|
};
|
|
645
|
-
//# sourceMappingURL=chunk-
|
|
645
|
+
//# sourceMappingURL=chunk-INAQADYF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HOST_MANIFEST,
|
|
3
3
|
HOST_POLICY
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E4RHRBN4.js";
|
|
5
5
|
import {
|
|
6
6
|
projectStateDir
|
|
7
7
|
} from "./chunk-OEH47H6A.js";
|
|
@@ -99,4 +99,4 @@ export {
|
|
|
99
99
|
hostApprovalDoctor,
|
|
100
100
|
writeApproval
|
|
101
101
|
};
|
|
102
|
-
//# sourceMappingURL=chunk-
|
|
102
|
+
//# sourceMappingURL=chunk-IRE5CH3V.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-34DECPVC.js";
|
|
4
4
|
import {
|
|
5
5
|
ptyBinary
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-E4RHRBN4.js";
|
|
7
7
|
import {
|
|
8
8
|
GroupStore,
|
|
9
9
|
egressPolicy,
|
|
@@ -775,4 +775,4 @@ export {
|
|
|
775
775
|
prepareBridge,
|
|
776
776
|
assertBridge
|
|
777
777
|
};
|
|
778
|
-
//# sourceMappingURL=chunk-
|
|
778
|
+
//# sourceMappingURL=chunk-JKUO3SES.js.map
|
|
@@ -1190,7 +1190,7 @@ function registerReadTool(server, tools) {
|
|
|
1190
1190
|
|
|
1191
1191
|
// src/mcp.ts
|
|
1192
1192
|
var SERVER_NAME = "pmcp";
|
|
1193
|
-
var SERVER_VERSION = "0.19.
|
|
1193
|
+
var SERVER_VERSION = "0.19.3";
|
|
1194
1194
|
function registerSkillTools(server, tools) {
|
|
1195
1195
|
registerCatalogTool(server, tools);
|
|
1196
1196
|
registerFindTool(server, tools);
|
|
@@ -1243,4 +1243,4 @@ export {
|
|
|
1243
1243
|
registerSkillTools,
|
|
1244
1244
|
createSkillServer
|
|
1245
1245
|
};
|
|
1246
|
-
//# sourceMappingURL=chunk-
|
|
1246
|
+
//# sourceMappingURL=chunk-JWYZE3QX.js.map
|