@modootoday/pmcp 0.27.0 → 0.28.1
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-YNBY2GPK.js → apply-6ORDPVZS.js} +9 -9
- package/dist/{chunk-ENFF7ZBC.js → chunk-2I54YKIV.js} +2 -2
- package/dist/{chunk-Y5WIIEG2.js → chunk-45EC3JVG.js} +4 -4
- package/dist/{chunk-GVKVMSWX.js → chunk-4G6LXAM4.js} +13 -13
- package/dist/{chunk-YKICVMF7.js → chunk-4ZB5NJZA.js} +8 -3
- package/dist/{chunk-OY7XYKVL.js → chunk-5KE3B5TO.js} +2 -2
- package/dist/{chunk-LKH57HLV.js → chunk-6FUUX5WO.js} +2 -2
- package/dist/{chunk-ZO5CRS2T.js → chunk-7J25NFM6.js} +2 -2
- package/dist/{chunk-OZTEMCCM.js → chunk-BLE3YNCU.js} +3 -3
- package/dist/{chunk-X2WDR3UK.js → chunk-C7VIQJLF.js} +2 -2
- package/dist/{chunk-PH3P5WEY.js → chunk-HUAPDSKW.js} +3 -3
- package/dist/{chunk-XCIFD7G5.js → chunk-IQYJWLGX.js} +2 -2
- package/dist/{chunk-X3LNF5KJ.js → chunk-IWDZYK6V.js} +5 -5
- package/dist/{chunk-S2FUWBLO.js → chunk-J3C46RXZ.js} +61 -8
- package/dist/{chunk-Q3XLIRIJ.js → chunk-MPH7BQON.js} +4 -4
- package/dist/{chunk-JTKGDT2K.js → chunk-N6Q2QB2H.js} +2 -2
- package/dist/{chunk-6U6MLIS2.js → chunk-OFYDBK44.js} +2 -2
- package/dist/{chunk-5TT7YAEP.js → chunk-Q2UBBZSD.js} +3 -3
- package/dist/{chunk-L5EJK24I.js → chunk-Q7HMO7JX.js} +2 -2
- package/dist/chunk-RS2ST3KT.js +7 -0
- package/dist/{chunk-M5GNZSOJ.js → chunk-SHTSGJBH.js} +2 -2
- package/dist/{chunk-TVA2IN6H.js → chunk-V42DHBXN.js} +5 -5
- package/dist/{cli-FVUHK2NB.js → cli-FXHKAXIV.js} +5 -5
- package/dist/cli.js +3 -3
- package/dist/{completion-WKIMMLNF.js → completion-OXAWXTUC.js} +2 -2
- package/dist/{diagnostics-LCNF5NRK.js → diagnostics-PTGOBBN7.js} +5 -5
- package/dist/{doctor-PSMPNQXS.js → doctor-IVKT4F44.js} +11 -11
- package/dist/{entry-LMAWTZM2.js → entry-7EWYX5XJ.js} +9 -9
- package/dist/{exec-mcp-VAP46MKO.js → exec-mcp-WWVMIQLV.js} +7 -7
- package/dist/{harness-ZCMU5MJD.js → harness-L5PBWKXS.js} +3 -3
- package/dist/harness-launch-gate.js +3 -3
- package/dist/harness-worker.js +5 -5
- package/dist/hook-body.js +86 -45
- package/dist/{hooks-AWAO7CQO.js → hooks-BKLDQQSN.js} +3 -3
- package/dist/{host-I4XIJTXR.js → host-3GP3BJKY.js} +6 -6
- package/dist/{host-OBTC2PGQ.js → host-TVWPNQV5.js} +2 -2
- package/dist/{host-4GFQQJUS.js → host-U7CA77BY.js} +9 -9
- package/dist/{host-run-T3FC7L6I.js → host-run-MHD72EGP.js} +4 -4
- package/dist/http.js +1 -1
- package/dist/{import-mcp-5JSGA5IS.js → import-mcp-7EV5RPWK.js} +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/dist/{init-PZYWBDZS.js → init-SHHALJOG.js} +2 -2
- package/dist/{invoke-DCKJCMRB.js → invoke-W42C5POV.js} +7 -7
- package/dist/{list-ZEU7T3XK.js → list-GNNRY4NJ.js} +8 -8
- package/dist/{logout-CUSOVMKL.js → logout-DZVBFQYZ.js} +7 -7
- package/dist/{mainline-SWZPKA7U.js → mainline-D665V4Y3.js} +19 -3
- package/dist/{mcp-ZHOPOFXI.js → mcp-5A6WWV32.js} +2 -2
- package/dist/{measure-AUBPYT6L.js → measure-Z5HPT26L.js} +2 -2
- package/dist/{project-T36TRAWT.js → project-CKECETMB.js} +4 -4
- package/dist/{run-LMSHQJPQ.js → run-LWVKCXS4.js} +6 -6
- package/dist/{run-37PVE74I.js → run-YMER7XMR.js} +4 -4
- package/dist/{serve-E4FD6PAL.js → serve-GYMBJPNJ.js} +3 -3
- package/dist/{setup-7JHWLV7K.js → setup-ZYD5XBKU.js} +2 -2
- package/dist/{start-login-JSKFXSLY.js → start-login-NE5QMH2F.js} +7 -7
- package/dist/{status-ZSK3PNM2.js → status-HCZBWIC3.js} +8 -8
- package/dist/{status-ZNWF4362.js → status-WP6NM6VP.js} +7 -7
- package/dist/stdio.js +2 -2
- package/dist/{test-OCTC2DSZ.js → test-PLZ62G54.js} +7 -7
- package/dist/{tui-LE2KPUMI.js → tui-ZWLRAOCQ.js} +4 -4
- package/dist/{worker-6U67LWIP.js → worker-GMSWWVTS.js} +7 -7
- package/dist/{worktree-sync-BQZD4J73.js → worktree-sync-TQ75DK62.js} +4 -2
- package/docs/git-workflow.md +9 -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-MXVP3ICV.js +0 -7
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
},
|
|
613
613
|
{
|
|
614
614
|
"name": "pmcp",
|
|
615
|
-
"version": "0.
|
|
615
|
+
"version": "0.28.1",
|
|
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
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-2MX5C7B2.js";
|
|
4
4
|
import {
|
|
5
5
|
specFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-C7VIQJLF.js";
|
|
7
7
|
import {
|
|
8
8
|
printSmoke,
|
|
9
9
|
runSmoke
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
describeHookProblem,
|
|
16
16
|
project,
|
|
17
17
|
unmanagedHookProblems
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MPH7BQON.js";
|
|
19
19
|
import "./chunk-ANJMLKBR.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-HUAPDSKW.js";
|
|
21
21
|
import {
|
|
22
22
|
checkBudget,
|
|
23
23
|
renderFrontmatter,
|
|
24
24
|
splitFrontmatter
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-45EC3JVG.js";
|
|
26
|
+
import "./chunk-J3C46RXZ.js";
|
|
27
27
|
import "./chunk-FLG7VRTC.js";
|
|
28
28
|
import "./chunk-2GD7PQ7J.js";
|
|
29
29
|
import "./chunk-EATCUWGG.js";
|
|
@@ -33,7 +33,7 @@ import "./chunk-LFFIQBNY.js";
|
|
|
33
33
|
import "./chunk-HQOB7OQS.js";
|
|
34
34
|
import "./chunk-73AKO4UL.js";
|
|
35
35
|
import "./chunk-VQBXWMLT.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-4ZB5NJZA.js";
|
|
37
37
|
import "./chunk-WUFNKK3U.js";
|
|
38
38
|
import "./chunk-374AZ4J4.js";
|
|
39
39
|
import "./chunk-SDFJJJB5.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
import "./chunk-YSAWTGNA.js";
|
|
58
58
|
import {
|
|
59
59
|
recordProjector
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-5KE3B5TO.js";
|
|
61
61
|
import "./chunk-PZ6D3WKD.js";
|
|
62
62
|
import "./chunk-N7ANFMA5.js";
|
|
63
63
|
import {
|
|
@@ -68,7 +68,7 @@ import "./chunk-KLIYFD3W.js";
|
|
|
68
68
|
import "./chunk-GUHOEIHP.js";
|
|
69
69
|
import "./chunk-IJBSOWHK.js";
|
|
70
70
|
import "./chunk-XWLMZKH2.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-RS2ST3KT.js";
|
|
72
72
|
import "./chunk-GJXOFDJT.js";
|
|
73
73
|
import "./chunk-PMJG2CXF.js";
|
|
74
74
|
import "./chunk-J6KL3COD.js";
|
|
@@ -283,4 +283,4 @@ export {
|
|
|
283
283
|
projectOrCheck,
|
|
284
284
|
removeAndProject
|
|
285
285
|
};
|
|
286
|
-
//# sourceMappingURL=apply-
|
|
286
|
+
//# sourceMappingURL=apply-6ORDPVZS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSkillServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IQYJWLGX.js";
|
|
4
4
|
import {
|
|
5
5
|
attachMailbox
|
|
6
6
|
} from "./chunk-JZKAJUVT.js";
|
|
@@ -84,4 +84,4 @@ export {
|
|
|
84
84
|
serveWithMailbox,
|
|
85
85
|
main
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-2I54YKIV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
syncWorktree
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J3C46RXZ.js";
|
|
4
4
|
import {
|
|
5
5
|
localCli,
|
|
6
6
|
pmcpCommand,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
leaseSpecs,
|
|
30
30
|
readGitConfig
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4ZB5NJZA.js";
|
|
32
32
|
import {
|
|
33
33
|
ownerLine,
|
|
34
34
|
ownersOf,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
readHost,
|
|
78
78
|
readLock,
|
|
79
79
|
readLockFile
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-5KE3B5TO.js";
|
|
81
81
|
import {
|
|
82
82
|
DISABLE_ENV,
|
|
83
83
|
readLeaseSettings
|
|
@@ -6910,4 +6910,4 @@ export {
|
|
|
6910
6910
|
checkBudget,
|
|
6911
6911
|
readSpec
|
|
6912
6912
|
};
|
|
6913
|
-
//# sourceMappingURL=chunk-
|
|
6913
|
+
//# sourceMappingURL=chunk-45EC3JVG.js.map
|
|
@@ -75,11 +75,11 @@ var completionSpec = {
|
|
|
75
75
|
var COMMANDS = [
|
|
76
76
|
{
|
|
77
77
|
...statusSpec,
|
|
78
|
-
load: async () => (await import("./status-
|
|
78
|
+
load: async () => (await import("./status-HCZBWIC3.js")).statusCommand
|
|
79
79
|
},
|
|
80
|
-
{ ...initSpec, load: async () => (await import("./init-
|
|
81
|
-
{ ...hooksSpec, load: async () => (await import("./hooks-
|
|
82
|
-
{ ...serveSpec, load: async () => (await import("./serve-
|
|
80
|
+
{ ...initSpec, load: async () => (await import("./init-SHHALJOG.js")).initCommand },
|
|
81
|
+
{ ...hooksSpec, load: async () => (await import("./hooks-BKLDQQSN.js")).hooksCommand },
|
|
82
|
+
{ ...serveSpec, load: async () => (await import("./serve-GYMBJPNJ.js")).serveCommand },
|
|
83
83
|
{ ...listSpec, load: async () => (await import("./list-LV5EKCF6.js")).listCommand },
|
|
84
84
|
{
|
|
85
85
|
...indexSpec,
|
|
@@ -116,29 +116,29 @@ var COMMANDS = [
|
|
|
116
116
|
{ ...syncSpec, load: async () => (await import("./install-5JH4DSFF.js")).syncCommand },
|
|
117
117
|
{
|
|
118
118
|
...projectSpec,
|
|
119
|
-
load: async () => (await import("./project-
|
|
119
|
+
load: async () => (await import("./project-CKECETMB.js")).projectCommand
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
...doctorSpec,
|
|
123
|
-
load: async () => (await import("./doctor-
|
|
123
|
+
load: async () => (await import("./doctor-IVKT4F44.js")).doctorCommand
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
...sessionsSpec,
|
|
127
127
|
load: async () => (await import("./cli-ZOY2274X.js")).sessionsCommand
|
|
128
128
|
},
|
|
129
129
|
{ ...logsSpec, load: async () => (await import("./logs-J4W6GFMK.js")).logsCommand },
|
|
130
|
-
{ ...gitSpec, load: async () => (await import("./cli-
|
|
130
|
+
{ ...gitSpec, load: async () => (await import("./cli-FXHKAXIV.js")).gitCommand },
|
|
131
131
|
{
|
|
132
132
|
...heavySpec,
|
|
133
133
|
load: async () => (await import("./heavy-VBC4AGL6.js")).heavyCommand
|
|
134
134
|
},
|
|
135
|
-
{ ...hostSpec, load: async () => (await import("./host-
|
|
135
|
+
{ ...hostSpec, load: async () => (await import("./host-TVWPNQV5.js")).hostCommand },
|
|
136
136
|
{ ...waitSpec, load: async () => (await import("./wait-HEODT7KV.js")).waitCommand },
|
|
137
137
|
{
|
|
138
138
|
...ownersSpec,
|
|
139
139
|
load: async () => (await import("./owners-MPI22SFU.js")).ownersCommand
|
|
140
140
|
},
|
|
141
|
-
{ ...mcpSpec, load: async () => (await import("./mcp-
|
|
141
|
+
{ ...mcpSpec, load: async () => (await import("./mcp-5A6WWV32.js")).mcpCommand },
|
|
142
142
|
{
|
|
143
143
|
...validateSpec,
|
|
144
144
|
load: async () => (await import("./validate-YXR7FJJX.js")).validateCommand
|
|
@@ -149,16 +149,16 @@ var COMMANDS = [
|
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
...harnessSpec,
|
|
152
|
-
load: async () => (await import("./harness-
|
|
152
|
+
load: async () => (await import("./harness-L5PBWKXS.js")).harnessCommand
|
|
153
153
|
},
|
|
154
|
-
{ ...tuiSpec, load: async () => (await import("./tui-
|
|
154
|
+
{ ...tuiSpec, load: async () => (await import("./tui-ZWLRAOCQ.js")).tuiCommand },
|
|
155
155
|
{
|
|
156
156
|
...marketplaceSpec,
|
|
157
157
|
load: async () => (await import("./marketplace-2X3OOEPW.js")).marketplaceCommand
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
...completionSpec,
|
|
161
|
-
load: async () => (await import("./completion-
|
|
161
|
+
load: async () => (await import("./completion-OXAWXTUC.js")).completionCommand
|
|
162
162
|
}
|
|
163
163
|
];
|
|
164
164
|
var PLANNED = [];
|
|
@@ -172,4 +172,4 @@ export {
|
|
|
172
172
|
PLANNED,
|
|
173
173
|
commandNamed
|
|
174
174
|
};
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-4G6LXAM4.js.map
|
|
@@ -186,12 +186,17 @@ function submodules(path, source) {
|
|
|
186
186
|
const read = new Reader(path, "git.submodules", source, [
|
|
187
187
|
"follow",
|
|
188
188
|
"shared",
|
|
189
|
-
"push"
|
|
189
|
+
"push",
|
|
190
|
+
"dir_to_gitlink",
|
|
191
|
+
"dir_to_gitlink_hint"
|
|
190
192
|
]);
|
|
193
|
+
const hint = read.string("dir_to_gitlink_hint");
|
|
191
194
|
return {
|
|
192
195
|
follow: read.oneOf("follow", ["clean_pins", "off"], "clean_pins"),
|
|
193
196
|
shared: read.list("shared"),
|
|
194
|
-
push: read.oneOf("push", ["pins", "off"], "off")
|
|
197
|
+
push: read.oneOf("push", ["pins", "off"], "off"),
|
|
198
|
+
dirToGitlink: read.oneOf("dir_to_gitlink", ["adopt", "refuse"], "adopt"),
|
|
199
|
+
...hint === void 0 ? {} : { dirToGitlinkHint: hint }
|
|
195
200
|
};
|
|
196
201
|
}
|
|
197
202
|
function leases(path, sessions) {
|
|
@@ -330,4 +335,4 @@ export {
|
|
|
330
335
|
gateTreePath,
|
|
331
336
|
leaseSpecs
|
|
332
337
|
};
|
|
333
|
-
//# sourceMappingURL=chunk-
|
|
338
|
+
//# sourceMappingURL=chunk-4ZB5NJZA.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-XWLMZKH2.js";
|
|
13
13
|
import {
|
|
14
14
|
VERSION
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RS2ST3KT.js";
|
|
16
16
|
import {
|
|
17
17
|
ConfigError
|
|
18
18
|
} from "./chunk-GJXOFDJT.js";
|
|
@@ -610,4 +610,4 @@ export {
|
|
|
610
610
|
hostEnvDoctor,
|
|
611
611
|
hostDoctor
|
|
612
612
|
};
|
|
613
|
-
//# sourceMappingURL=chunk-
|
|
613
|
+
//# sourceMappingURL=chunk-5KE3B5TO.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-5KE3B5TO.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-6FUUX5WO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HOST_MANIFEST,
|
|
3
3
|
HOST_POLICY
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5KE3B5TO.js";
|
|
5
5
|
import {
|
|
6
6
|
projectStateDir
|
|
7
7
|
} from "./chunk-KLIYFD3W.js";
|
|
@@ -99,4 +99,4 @@ export {
|
|
|
99
99
|
hostApprovalDoctor,
|
|
100
100
|
writeApproval
|
|
101
101
|
};
|
|
102
|
-
//# sourceMappingURL=chunk-
|
|
102
|
+
//# sourceMappingURL=chunk-7J25NFM6.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-OFYDBK44.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-6FUUX5WO.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-BLE3YNCU.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7CHUMF3E.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-45EC3JVG.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError,
|
|
9
9
|
noConfig
|
|
@@ -27,4 +27,4 @@ function specFrom(context) {
|
|
|
27
27
|
export {
|
|
28
28
|
specFrom
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-C7VIQJLF.js.map
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
splitKeyed,
|
|
20
20
|
versionMatches,
|
|
21
21
|
withoutBlock
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-45EC3JVG.js";
|
|
23
23
|
import {
|
|
24
24
|
lockVersionProblem,
|
|
25
25
|
readLock,
|
|
26
26
|
replaceFile
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5KE3B5TO.js";
|
|
28
28
|
import {
|
|
29
29
|
ProjectError,
|
|
30
30
|
RULES_DIR,
|
|
@@ -273,4 +273,4 @@ export {
|
|
|
273
273
|
prepare,
|
|
274
274
|
checkProject
|
|
275
275
|
};
|
|
276
|
-
//# sourceMappingURL=chunk-
|
|
276
|
+
//# sourceMappingURL=chunk-HUAPDSKW.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.
|
|
1193
|
+
var SERVER_VERSION = "0.28.1";
|
|
1194
1194
|
var MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
1195
1195
|
function registerSkillTools(server, tools) {
|
|
1196
1196
|
registerCatalogTool(server, tools);
|
|
@@ -1247,4 +1247,4 @@ export {
|
|
|
1247
1247
|
registerSkillTools,
|
|
1248
1248
|
createSkillServer
|
|
1249
1249
|
};
|
|
1250
|
-
//# sourceMappingURL=chunk-
|
|
1250
|
+
//# sourceMappingURL=chunk-IQYJWLGX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hostApprovalDoctor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7J25NFM6.js";
|
|
4
4
|
import {
|
|
5
5
|
wakeableBy
|
|
6
6
|
} from "./chunk-JQVSDPFL.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
describeHookProblem,
|
|
13
13
|
project,
|
|
14
14
|
unmanagedHooks
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MPH7BQON.js";
|
|
16
16
|
import {
|
|
17
17
|
ANTIGRAVITY_MCP_PLUGIN,
|
|
18
18
|
agentNames,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
skillNames,
|
|
24
24
|
splitFrontmatter,
|
|
25
25
|
uiClaudeDoctor
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-45EC3JVG.js";
|
|
27
27
|
import {
|
|
28
28
|
pathPmcp,
|
|
29
29
|
pmcpCommand
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
hostEnvDoctor,
|
|
38
38
|
ptyBinaryDoctor,
|
|
39
39
|
readLockFile
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5KE3B5TO.js";
|
|
41
41
|
import {
|
|
42
42
|
ProjectError
|
|
43
43
|
} from "./chunk-TYY5TYHF.js";
|
|
@@ -671,4 +671,4 @@ export {
|
|
|
671
671
|
spawnRunner,
|
|
672
672
|
doctor
|
|
673
673
|
};
|
|
674
|
-
//# sourceMappingURL=chunk-
|
|
674
|
+
//# sourceMappingURL=chunk-IWDZYK6V.js.map
|
|
@@ -89,6 +89,10 @@ function installIfStale(root, spec, report) {
|
|
|
89
89
|
return 0;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
// src/git/dir-to-gitlink.ts
|
|
93
|
+
import { existsSync as existsSync3, readdirSync as readdirSync2 } from "fs";
|
|
94
|
+
import { join as join3 } from "path";
|
|
95
|
+
|
|
92
96
|
// src/git/added-submodules.ts
|
|
93
97
|
import {
|
|
94
98
|
cpSync,
|
|
@@ -221,9 +225,46 @@ function displace(root, path) {
|
|
|
221
225
|
return target;
|
|
222
226
|
}
|
|
223
227
|
|
|
228
|
+
// src/git/dir-to-gitlink.ts
|
|
229
|
+
function dirToGitlinkPolicy(submodules) {
|
|
230
|
+
if (submodules === void 0) return { mode: "adopt" };
|
|
231
|
+
return {
|
|
232
|
+
mode: submodules.dirToGitlink,
|
|
233
|
+
...submodules.dirToGitlinkHint === void 0 ? {} : { hint: submodules.dirToGitlinkHint }
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
function dirsBecomingGitlinks(root, from, to) {
|
|
237
|
+
const raw = gitText(root, [
|
|
238
|
+
"diff",
|
|
239
|
+
"--raw",
|
|
240
|
+
"--abbrev=40",
|
|
241
|
+
"--no-renames",
|
|
242
|
+
from,
|
|
243
|
+
to
|
|
244
|
+
]);
|
|
245
|
+
const paths = [];
|
|
246
|
+
for (const entry of raw.split("\n")) {
|
|
247
|
+
const added = ADDED_GITLINK.exec(entry);
|
|
248
|
+
if (!added) continue;
|
|
249
|
+
const path = added[2] ?? "";
|
|
250
|
+
const kind = git(root, ["cat-file", "-t", `${from}:${path}`]);
|
|
251
|
+
if (kind.status !== 0 || kind.stdout.trim() !== "tree") continue;
|
|
252
|
+
const dir = join3(root, path);
|
|
253
|
+
if (existsSync3(dir) && readdirSync2(dir).length > 0) paths.push(path);
|
|
254
|
+
}
|
|
255
|
+
return paths;
|
|
256
|
+
}
|
|
257
|
+
function dirToGitlinkRefusal(root, from, to, policy) {
|
|
258
|
+
if (policy?.mode !== "refuse") return null;
|
|
259
|
+
const paths = dirsBecomingGitlinks(root, from, to);
|
|
260
|
+
if (paths.length === 0) return null;
|
|
261
|
+
const hint = policy.hint === void 0 ? "" : `; ${policy.hint}`;
|
|
262
|
+
return `the move turns ${paths.join(", ")} from a directory with files into a gitlink ([git.submodules] dir_to_gitlink = "refuse"); left where it is${hint}`;
|
|
263
|
+
}
|
|
264
|
+
|
|
224
265
|
// src/git/submodules.ts
|
|
225
|
-
import { existsSync as
|
|
226
|
-
import { join as
|
|
266
|
+
import { existsSync as existsSync4 } from "fs";
|
|
267
|
+
import { join as join4 } from "path";
|
|
227
268
|
var GITLINK = /^:160000 160000 ([0-9a-f]{40}) ([0-9a-f]{40}) M\t(.+)$/u;
|
|
228
269
|
function clean(dir) {
|
|
229
270
|
return git(dir, ["status", "--porcelain"]).stdout.trim() === "";
|
|
@@ -240,7 +281,7 @@ function blocking(dir, head, pin) {
|
|
|
240
281
|
}
|
|
241
282
|
function followOne(dir, oldPin, newPin, shared) {
|
|
242
283
|
const short = newPin.slice(0, 10);
|
|
243
|
-
if (!
|
|
284
|
+
if (!existsSync4(join4(dir, ".git"))) return "not checked out, left alone";
|
|
244
285
|
const head = gitText(dir, ["rev-parse", "HEAD"]);
|
|
245
286
|
if (head === newPin) return `already at ${short}`;
|
|
246
287
|
if (head !== oldPin)
|
|
@@ -273,7 +314,7 @@ function followPins(root, from, to, shared = []) {
|
|
|
273
314
|
if (!match) continue;
|
|
274
315
|
const [, oldPin = "", newPin = "", path = ""] = match;
|
|
275
316
|
lines.push(
|
|
276
|
-
`${path}: ${followOne(
|
|
317
|
+
`${path}: ${followOne(join4(root, path), oldPin, newPin, shared.includes(path))}`
|
|
277
318
|
);
|
|
278
319
|
}
|
|
279
320
|
return lines;
|
|
@@ -281,8 +322,8 @@ function followPins(root, from, to, shared = []) {
|
|
|
281
322
|
function movableSubmodules(root) {
|
|
282
323
|
const listed = git(root, ["submodule", "status"]).stdout;
|
|
283
324
|
return listed.split("\n").filter((line) => /^[ +]/u.test(line)).map((line) => line.trim().split(/\s+/u)[1] ?? "").filter((path) => {
|
|
284
|
-
const dir =
|
|
285
|
-
if (!path || !
|
|
325
|
+
const dir = join4(root, path);
|
|
326
|
+
if (!path || !existsSync4(join4(dir, ".git"))) return false;
|
|
286
327
|
const local = gitText(dir, [
|
|
287
328
|
"rev-list",
|
|
288
329
|
"--count",
|
|
@@ -297,7 +338,7 @@ function updateToPins(root, paths) {
|
|
|
297
338
|
const lines = [];
|
|
298
339
|
for (const path of paths) {
|
|
299
340
|
const pin = gitText(root, ["rev-parse", `HEAD:${path}`]);
|
|
300
|
-
const dir =
|
|
341
|
+
const dir = join4(root, path);
|
|
301
342
|
if (!pin || !hasCommit(dir, pin)) {
|
|
302
343
|
lines.push(
|
|
303
344
|
`${path}: left alone, ${pin.slice(0, 10) || "its pin"} is not in its checkout`
|
|
@@ -366,6 +407,16 @@ function syncOnce(options) {
|
|
|
366
407
|
}
|
|
367
408
|
const submodules = options.followSubmodules ? movableSubmodules(ctx.root) : [];
|
|
368
409
|
const before = gitText(ctx.root, ["rev-parse", "HEAD"]);
|
|
410
|
+
const replaced = dirToGitlinkRefusal(
|
|
411
|
+
ctx.root,
|
|
412
|
+
before,
|
|
413
|
+
gitText(ctx.root, ["rev-parse", ctx.upstream]),
|
|
414
|
+
options.dirToGitlink
|
|
415
|
+
);
|
|
416
|
+
if (replaced !== null) {
|
|
417
|
+
report.warn(replaced);
|
|
418
|
+
return "held";
|
|
419
|
+
}
|
|
369
420
|
const args = counted.ahead > 0 ? ["reset", "--keep", "-q", ctx.upstream] : ["merge", "--ff-only", "-q", ctx.upstream];
|
|
370
421
|
const moved = git(ctx.root, args);
|
|
371
422
|
if (moved.status !== 0) {
|
|
@@ -399,7 +450,9 @@ export {
|
|
|
399
450
|
installState,
|
|
400
451
|
installIfStale,
|
|
401
452
|
initAddedSubmodules,
|
|
453
|
+
dirToGitlinkPolicy,
|
|
454
|
+
dirToGitlinkRefusal,
|
|
402
455
|
followPins,
|
|
403
456
|
syncWorktree
|
|
404
457
|
};
|
|
405
|
-
//# sourceMappingURL=chunk-
|
|
458
|
+
//# sourceMappingURL=chunk-J3C46RXZ.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
prepare,
|
|
8
8
|
present,
|
|
9
9
|
writeNative
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HUAPDSKW.js";
|
|
11
11
|
import {
|
|
12
12
|
ANTIGRAVITY_MCP_PLUGIN,
|
|
13
13
|
BUNDLE_NATIVE_FILES,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
same,
|
|
22
22
|
splitKeyed,
|
|
23
23
|
withoutBlock
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-45EC3JVG.js";
|
|
25
25
|
import {
|
|
26
26
|
HOOK_DIRECTORY
|
|
27
27
|
} from "./chunk-GQRDEIQA.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
replaceFile,
|
|
31
31
|
replaceLink,
|
|
32
32
|
writeLock
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5KE3B5TO.js";
|
|
34
34
|
import {
|
|
35
35
|
RULES_DIR,
|
|
36
36
|
legacyLinks
|
|
@@ -400,4 +400,4 @@ export {
|
|
|
400
400
|
unmanagedHooks,
|
|
401
401
|
describeHookProblem
|
|
402
402
|
};
|
|
403
|
-
//# sourceMappingURL=chunk-
|
|
403
|
+
//# sourceMappingURL=chunk-MPH7BQON.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-5KE3B5TO.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-N6Q2QB2H.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
nativeBinary,
|
|
9
9
|
ptyBinary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5KE3B5TO.js";
|
|
11
11
|
|
|
12
12
|
// src/tui/rust.ts
|
|
13
13
|
import { spawn } from "child_process";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
runTui,
|
|
63
63
|
dependencies
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
65
|
+
//# sourceMappingURL=chunk-OFYDBK44.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertNativeHost
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6FUUX5WO.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-N6Q2QB2H.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-Q2UBBZSD.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
customPolicy,
|
|
8
8
|
externalId,
|
|
9
9
|
externalPolicy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-45EC3JVG.js";
|
|
11
11
|
import {
|
|
12
12
|
RUNTIMES
|
|
13
13
|
} from "./chunk-GQRDEIQA.js";
|
|
@@ -50,4 +50,4 @@ function policyRows(compiled) {
|
|
|
50
50
|
export {
|
|
51
51
|
policyRows
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=chunk-
|
|
53
|
+
//# sourceMappingURL=chunk-Q7HMO7JX.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7CHUMF3E.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-45EC3JVG.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError
|
|
9
9
|
} from "./chunk-Y6NFETNG.js";
|
|
@@ -25,4 +25,4 @@ function serverFrom(context) {
|
|
|
25
25
|
export {
|
|
26
26
|
serverFrom
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-SHTSGJBH.js.map
|