@modootoday/pmcp 0.22.6 → 0.22.8
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-IQU3K5TB.js → apply-T26VVWOZ.js} +8 -8
- package/dist/{chunk-3HEYCZFZ.js → chunk-2C7YCZCU.js} +5 -5
- package/dist/{chunk-RZNZKI5A.js → chunk-4LB4665T.js} +2 -2
- package/dist/{chunk-WV3YP35O.js → chunk-6N7YO2MJ.js} +3 -3
- package/dist/{chunk-E4X6GSNI.js → chunk-7GVHEUCI.js} +5 -5
- package/dist/{chunk-AOHHCYRF.js → chunk-7MC2ECUI.js} +12 -12
- package/dist/{chunk-H4Z2AIXM.js → chunk-AY2JWFTO.js} +2 -2
- package/dist/{chunk-JN7TRPFB.js → chunk-H7UCINE3.js} +2 -2
- package/dist/{chunk-TPTKRLI7.js → chunk-HJRD7R3L.js} +3 -3
- package/dist/{chunk-G6QFWOLV.js → chunk-HRZ44RLZ.js} +2 -2
- package/dist/{chunk-CLE6VHO6.js → chunk-HVCBG4MT.js} +2 -2
- package/dist/{chunk-TBVQ7SM7.js → chunk-LYMX6G4B.js} +2 -2
- package/dist/{chunk-SLL5FSDI.js → chunk-MBWFCWBY.js} +2 -2
- package/dist/{chunk-JUEMDWWJ.js → chunk-PAXVHM4E.js} +4 -4
- package/dist/{chunk-KTANZVAJ.js → chunk-QW6PHF5K.js} +2 -2
- package/dist/{chunk-GSU22DYJ.js → chunk-UVHL7DOT.js} +2 -2
- package/dist/{chunk-PCSE36BM.js → chunk-UYBWUOLR.js} +77 -24
- package/dist/{chunk-PX4FWUEN.js → chunk-WEOSWF6Q.js} +3 -3
- package/dist/{chunk-5JWCGSZD.js → chunk-XHBWMWZM.js} +2 -2
- package/dist/chunk-Y7F4EY35.js +7 -0
- package/dist/{chunk-KFMHTOSI.js → chunk-ZWRMK5TZ.js} +3 -3
- package/dist/{cli-DYVNJYZ7.js → cli-ZTYST4U5.js} +4 -4
- package/dist/cli.js +3 -3
- package/dist/{completion-ORGJMKIY.js → completion-BNGZXFIX.js} +2 -2
- package/dist/{diagnostics-TLKMQGMH.js → diagnostics-EDOHR27L.js} +5 -5
- package/dist/{doctor-27ZFI6JY.js → doctor-QENZSTX4.js} +10 -10
- package/dist/{entry-T3HFGNC2.js → entry-KQQ2WVS3.js} +9 -9
- package/dist/{exec-mcp-IZYZI2KM.js → exec-mcp-7J6I2TFN.js} +6 -6
- package/dist/{harness-DSB275UL.js → harness-5V7C7W4X.js} +3 -3
- package/dist/harness-launch-gate.js +3 -3
- package/dist/harness-worker.js +5 -5
- package/dist/hook-body.js +68 -22
- package/dist/{hooks-UN4LMHZW.js → hooks-YH27BJNA.js} +3 -3
- package/dist/{host-X4WU2J3Z.js → host-BPL4QYTV.js} +8 -8
- package/dist/{host-5M4RWFKB.js → host-LDKQLXZK.js} +6 -6
- package/dist/{host-run-A64IXBGN.js → host-run-JQQRBC3B.js} +4 -4
- package/dist/http.js +1 -1
- package/dist/{import-mcp-PYX5OKQQ.js → import-mcp-ECOJNVES.js} +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/{init-QUN7QS2K.js → init-SFD2AD55.js} +2 -2
- package/dist/{invoke-FGOUHWVB.js → invoke-XKDBJWZR.js} +7 -7
- package/dist/{list-5YUAOTM7.js → list-YQMLWGDZ.js} +7 -7
- package/dist/{logout-PAODLQ5M.js → logout-ULJ7Y5GJ.js} +6 -6
- package/dist/{mainline-CRL5B3X3.js → mainline-SQSAUOMQ.js} +5 -3
- package/dist/{mcp-WUUKG3JV.js → mcp-AWSPXJ5K.js} +2 -2
- package/dist/{project-HY6O6DZQ.js → project-XWAGF3LG.js} +4 -4
- package/dist/{run-ZLIZZC2I.js → run-ESKEMSV6.js} +4 -4
- package/dist/{run-55L6MVBR.js → run-VUIMTTUN.js} +5 -5
- package/dist/{serve-HKBA6OSF.js → serve-N3QMQTFP.js} +3 -3
- package/dist/{start-login-VRH4OLKM.js → start-login-OAG3OUDP.js} +6 -6
- package/dist/{status-CZG6ZPUG.js → status-OKH3ZY6V.js} +7 -7
- package/dist/{status-6JX7PKQ3.js → status-XULZJ677.js} +6 -6
- package/dist/stdio.js +2 -2
- package/dist/{test-22FIZGYO.js → test-MP634HCP.js} +6 -6
- package/dist/{tui-JUEU727K.js → tui-TKV3C3XM.js} +4 -4
- package/dist/{worker-T7ERD4L7.js → worker-53EP7EUT.js} +7 -7
- package/dist/{worktree-sync-VWNOJD63.js → worktree-sync-DGNHSQ64.js} +2 -2
- 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-4EQIZQX2.js +0 -7
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
},
|
|
613
613
|
{
|
|
614
614
|
"name": "pmcp",
|
|
615
|
-
"version": "0.22.
|
|
615
|
+
"version": "0.22.8",
|
|
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-PEMMV5YQ.js";
|
|
4
4
|
import {
|
|
5
5
|
specFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HRZ44RLZ.js";
|
|
7
7
|
import {
|
|
8
8
|
printSmoke,
|
|
9
9
|
runSmoke
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
describeHookProblem,
|
|
16
16
|
project,
|
|
17
17
|
unmanagedHookProblems
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PAXVHM4E.js";
|
|
19
19
|
import "./chunk-P4N7DBD5.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-ZWRMK5TZ.js";
|
|
21
21
|
import {
|
|
22
22
|
checkBudget,
|
|
23
23
|
renderFrontmatter,
|
|
24
24
|
splitFrontmatter
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6N7YO2MJ.js";
|
|
26
26
|
import "./chunk-UKR64U7J.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-UYBWUOLR.js";
|
|
28
28
|
import "./chunk-42SO7KYX.js";
|
|
29
29
|
import "./chunk-EATCUWGG.js";
|
|
30
30
|
import "./chunk-OFJIMBTL.js";
|
|
@@ -53,14 +53,14 @@ import {
|
|
|
53
53
|
import "./chunk-YSAWTGNA.js";
|
|
54
54
|
import {
|
|
55
55
|
recordProjector
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-QW6PHF5K.js";
|
|
57
57
|
import {
|
|
58
58
|
ProjectError
|
|
59
59
|
} from "./chunk-NRBQK6UX.js";
|
|
60
60
|
import "./chunk-OEH47H6A.js";
|
|
61
61
|
import "./chunk-IJBSOWHK.js";
|
|
62
62
|
import "./chunk-XWLMZKH2.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-Y7F4EY35.js";
|
|
64
64
|
import "./chunk-GJXOFDJT.js";
|
|
65
65
|
import "./chunk-PMJG2CXF.js";
|
|
66
66
|
import "./chunk-J6KL3COD.js";
|
|
@@ -275,4 +275,4 @@ export {
|
|
|
275
275
|
projectOrCheck,
|
|
276
276
|
removeAndProject
|
|
277
277
|
};
|
|
278
|
-
//# sourceMappingURL=apply-
|
|
278
|
+
//# sourceMappingURL=apply-T26VVWOZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hostApprovalDoctor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XHBWMWZM.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-PAXVHM4E.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-6N7YO2MJ.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-QW6PHF5K.js";
|
|
41
41
|
import {
|
|
42
42
|
ProjectError
|
|
43
43
|
} from "./chunk-NRBQK6UX.js";
|
|
@@ -671,4 +671,4 @@ export {
|
|
|
671
671
|
spawnRunner,
|
|
672
672
|
doctor
|
|
673
673
|
};
|
|
674
|
-
//# sourceMappingURL=chunk-
|
|
674
|
+
//# sourceMappingURL=chunk-2C7YCZCU.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
POLICIES,
|
|
6
6
|
customMode,
|
|
7
7
|
customPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6N7YO2MJ.js";
|
|
9
9
|
import {
|
|
10
10
|
RUNTIMES
|
|
11
11
|
} from "./chunk-7DYWCQVB.js";
|
|
@@ -42,4 +42,4 @@ function policyRows(compiled) {
|
|
|
42
42
|
export {
|
|
43
43
|
policyRows
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk-
|
|
45
|
+
//# sourceMappingURL=chunk-4LB4665T.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-UKR64U7J.js";
|
|
4
4
|
import {
|
|
5
5
|
syncWorktree
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UYBWUOLR.js";
|
|
7
7
|
import {
|
|
8
8
|
localCli,
|
|
9
9
|
pmcpCommand,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
readHost,
|
|
69
69
|
readLock,
|
|
70
70
|
readLockFile
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-QW6PHF5K.js";
|
|
72
72
|
import {
|
|
73
73
|
ProjectError,
|
|
74
74
|
RULES_DIR,
|
|
@@ -5513,4 +5513,4 @@ export {
|
|
|
5513
5513
|
checkBudget,
|
|
5514
5514
|
readSpec
|
|
5515
5515
|
};
|
|
5516
|
-
//# sourceMappingURL=chunk-
|
|
5516
|
+
//# sourceMappingURL=chunk-6N7YO2MJ.js.map
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
observeSession,
|
|
8
8
|
openGroup,
|
|
9
9
|
runOperation
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HJRD7R3L.js";
|
|
11
11
|
import {
|
|
12
12
|
nativeHostTools
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UVHL7DOT.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-H7UCINE3.js";
|
|
21
21
|
import {
|
|
22
22
|
ptyBinary
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QW6PHF5K.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-7GVHEUCI.js.map
|
|
@@ -61,11 +61,11 @@ var completionSpec = {
|
|
|
61
61
|
var COMMANDS = [
|
|
62
62
|
{
|
|
63
63
|
...statusSpec,
|
|
64
|
-
load: async () => (await import("./status-
|
|
64
|
+
load: async () => (await import("./status-OKH3ZY6V.js")).statusCommand
|
|
65
65
|
},
|
|
66
|
-
{ ...initSpec, load: async () => (await import("./init-
|
|
67
|
-
{ ...hooksSpec, load: async () => (await import("./hooks-
|
|
68
|
-
{ ...serveSpec, load: async () => (await import("./serve-
|
|
66
|
+
{ ...initSpec, load: async () => (await import("./init-SFD2AD55.js")).initCommand },
|
|
67
|
+
{ ...hooksSpec, load: async () => (await import("./hooks-YH27BJNA.js")).hooksCommand },
|
|
68
|
+
{ ...serveSpec, load: async () => (await import("./serve-N3QMQTFP.js")).serveCommand },
|
|
69
69
|
{ ...listSpec, load: async () => (await import("./list-WK2IYUK7.js")).listCommand },
|
|
70
70
|
{
|
|
71
71
|
...indexSpec,
|
|
@@ -102,19 +102,19 @@ var COMMANDS = [
|
|
|
102
102
|
{ ...syncSpec, load: async () => (await import("./install-7V6NIA7W.js")).syncCommand },
|
|
103
103
|
{
|
|
104
104
|
...projectSpec,
|
|
105
|
-
load: async () => (await import("./project-
|
|
105
|
+
load: async () => (await import("./project-XWAGF3LG.js")).projectCommand
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
...doctorSpec,
|
|
109
|
-
load: async () => (await import("./doctor-
|
|
109
|
+
load: async () => (await import("./doctor-QENZSTX4.js")).doctorCommand
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
...sessionsSpec,
|
|
113
113
|
load: async () => (await import("./cli-34EDFXJA.js")).sessionsCommand
|
|
114
114
|
},
|
|
115
115
|
{ ...logsSpec, load: async () => (await import("./logs-UHJM7ZCL.js")).logsCommand },
|
|
116
|
-
{ ...gitSpec, load: async () => (await import("./cli-
|
|
117
|
-
{ ...mcpSpec, load: async () => (await import("./mcp-
|
|
116
|
+
{ ...gitSpec, load: async () => (await import("./cli-ZTYST4U5.js")).gitCommand },
|
|
117
|
+
{ ...mcpSpec, load: async () => (await import("./mcp-AWSPXJ5K.js")).mcpCommand },
|
|
118
118
|
{
|
|
119
119
|
...validateSpec,
|
|
120
120
|
load: async () => (await import("./validate-KFBCUFI4.js")).validateCommand
|
|
@@ -125,16 +125,16 @@ var COMMANDS = [
|
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
...harnessSpec,
|
|
128
|
-
load: async () => (await import("./harness-
|
|
128
|
+
load: async () => (await import("./harness-5V7C7W4X.js")).harnessCommand
|
|
129
129
|
},
|
|
130
|
-
{ ...tuiSpec, load: async () => (await import("./tui-
|
|
130
|
+
{ ...tuiSpec, load: async () => (await import("./tui-TKV3C3XM.js")).tuiCommand },
|
|
131
131
|
{
|
|
132
132
|
...marketplaceSpec,
|
|
133
133
|
load: async () => (await import("./marketplace-G4VQET5W.js")).marketplaceCommand
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
...completionSpec,
|
|
137
|
-
load: async () => (await import("./completion-
|
|
137
|
+
load: async () => (await import("./completion-BNGZXFIX.js")).completionCommand
|
|
138
138
|
}
|
|
139
139
|
];
|
|
140
140
|
var PLANNED = [];
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
PLANNED,
|
|
149
149
|
commandNamed
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-7MC2ECUI.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-RPCIROW7.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6N7YO2MJ.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-AY2JWFTO.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-QW6PHF5K.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-H7UCINE3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertNativeHost
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UVHL7DOT.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-H7UCINE3.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-HJRD7R3L.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-RPCIROW7.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6N7YO2MJ.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError
|
|
9
9
|
} from "./chunk-A4PKLESO.js";
|
|
@@ -28,4 +28,4 @@ function specFrom(context) {
|
|
|
28
28
|
export {
|
|
29
29
|
specFrom
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=chunk-
|
|
31
|
+
//# sourceMappingURL=chunk-HRZ44RLZ.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
nativeBinary,
|
|
9
9
|
ptyBinary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QW6PHF5K.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-HVCBG4MT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSkillServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MBWFCWBY.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-LYMX6G4B.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.22.
|
|
1193
|
+
var SERVER_VERSION = "0.22.8";
|
|
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-MBWFCWBY.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
prepare,
|
|
8
8
|
present,
|
|
9
9
|
writeNative
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZWRMK5TZ.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-6N7YO2MJ.js";
|
|
25
25
|
import {
|
|
26
26
|
HOOK_DIRECTORY
|
|
27
27
|
} from "./chunk-7DYWCQVB.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
replaceFile,
|
|
31
31
|
replaceLink,
|
|
32
32
|
writeLock
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-QW6PHF5K.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-PAXVHM4E.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-XWLMZKH2.js";
|
|
10
10
|
import {
|
|
11
11
|
VERSION
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Y7F4EY35.js";
|
|
13
13
|
import {
|
|
14
14
|
ConfigError
|
|
15
15
|
} from "./chunk-GJXOFDJT.js";
|
|
@@ -598,4 +598,4 @@ export {
|
|
|
598
598
|
hostEnvDoctor,
|
|
599
599
|
hostDoctor
|
|
600
600
|
};
|
|
601
|
-
//# sourceMappingURL=chunk-
|
|
601
|
+
//# sourceMappingURL=chunk-QW6PHF5K.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-QW6PHF5K.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-UVHL7DOT.js.map
|
|
@@ -87,7 +87,14 @@ function installIfStale(root, spec, report) {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
// src/git/added-submodules.ts
|
|
90
|
-
import {
|
|
90
|
+
import {
|
|
91
|
+
existsSync as existsSync2,
|
|
92
|
+
mkdirSync as mkdirSync2,
|
|
93
|
+
readdirSync,
|
|
94
|
+
renameSync,
|
|
95
|
+
rmSync,
|
|
96
|
+
writeFileSync as writeFileSync2
|
|
97
|
+
} from "fs";
|
|
91
98
|
import { dirname as dirname2, join as join2 } from "path";
|
|
92
99
|
var ADDED_GITLINK = /^:\d{6} 160000 [0-9a-f]{40} ([0-9a-f]{40}) [AT]\t(.+)$/u;
|
|
93
100
|
function initAddedSubmodules(root, from, to) {
|
|
@@ -104,16 +111,16 @@ function initAddedSubmodules(root, from, to) {
|
|
|
104
111
|
const added = ADDED_GITLINK.exec(entry);
|
|
105
112
|
if (!added) continue;
|
|
106
113
|
const [, pin = "", path = ""] = added;
|
|
107
|
-
lines.push(`${path}: ${initOne(root, path, pin)}`);
|
|
114
|
+
lines.push(`${path}: ${initOne(root, path, pin, from)}`);
|
|
108
115
|
}
|
|
109
116
|
return lines;
|
|
110
117
|
}
|
|
111
|
-
function initOne(root, path, pin) {
|
|
118
|
+
function initOne(root, path, pin, from) {
|
|
112
119
|
const dir = join2(root, path);
|
|
113
|
-
if (existsSync2(join2(dir, ".git"))) return
|
|
120
|
+
if (existsSync2(join2(dir, ".git"))) return followLeftCheckout(root, path, pin);
|
|
114
121
|
let displaced = "";
|
|
115
122
|
if (existsSync2(dir) && readdirSync(dir).length > 0) {
|
|
116
|
-
if (unignoredFiles(root, path).length > 0)
|
|
123
|
+
if (unignoredFiles(root, path, from).length > 0)
|
|
117
124
|
return `new submodule not checked out: ${path} holds files git does not ignore; move them aside, then git submodule update --init ${path}`;
|
|
118
125
|
displaced = displace(root, path);
|
|
119
126
|
}
|
|
@@ -123,28 +130,74 @@ function initOne(root, path, pin) {
|
|
|
123
130
|
return `new submodule not checked out: ${done.stderr.trim()}${aside}`;
|
|
124
131
|
return `new submodule checked out at ${pin.slice(0, 10)}${aside}`;
|
|
125
132
|
}
|
|
126
|
-
function
|
|
133
|
+
function followLeftCheckout(root, path, pin) {
|
|
134
|
+
const dir = join2(root, path);
|
|
135
|
+
const head = git(dir, ["rev-parse", "HEAD"]);
|
|
136
|
+
if (head.status === 0 && head.stdout.trim() === pin)
|
|
137
|
+
return "already checked out";
|
|
138
|
+
const status = git(dir, ["status", "--porcelain", "--ignored"]);
|
|
139
|
+
if (status.status !== 0 || status.stdout.trim() !== "")
|
|
140
|
+
return `new submodule not checked out: the earlier checkout in ${path} holds changes or ignored files; move it aside, then git submodule update --init ${path}`;
|
|
141
|
+
const done = git(root, ["submodule", "update", "--init", "-q", "--", path]);
|
|
142
|
+
if (done.status !== 0)
|
|
143
|
+
return `new submodule not checked out: ${done.stderr.trim()}`;
|
|
144
|
+
return `earlier checkout moved to the new pin ${pin.slice(0, 10)}`;
|
|
145
|
+
}
|
|
146
|
+
function unignoredFiles(root, path, from) {
|
|
147
|
+
const restored = restoreIgnoreFiles(root, path, from);
|
|
148
|
+
const own = new Set(restored);
|
|
127
149
|
const kept = [];
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
150
|
+
try {
|
|
151
|
+
let level = [path];
|
|
152
|
+
while (level.length > 0) {
|
|
153
|
+
const entries = level.flatMap(
|
|
154
|
+
(dir) => readdirSync(join2(root, dir), { withFileTypes: true }).map((entry) => ({
|
|
155
|
+
path: `${dir}/${entry.name}`,
|
|
156
|
+
dir: entry.isDirectory()
|
|
157
|
+
}))
|
|
158
|
+
);
|
|
159
|
+
const checked = gitWithInput(
|
|
160
|
+
root,
|
|
161
|
+
["check-ignore", "--no-index", "--stdin", "-z"],
|
|
162
|
+
entries.map((entry) => `${entry.path}\0`).join("")
|
|
163
|
+
);
|
|
164
|
+
const ignored = new Set(checked.stdout.split("\0").filter(Boolean));
|
|
165
|
+
const open = entries.filter(
|
|
166
|
+
(entry) => !ignored.has(entry.path) && !own.has(entry.path)
|
|
167
|
+
);
|
|
168
|
+
kept.push(
|
|
169
|
+
...open.filter((entry) => !entry.dir).map((entry) => entry.path)
|
|
170
|
+
);
|
|
171
|
+
level = open.filter((entry) => entry.dir).map((entry) => entry.path);
|
|
172
|
+
}
|
|
173
|
+
} finally {
|
|
174
|
+
for (const file of restored) rmSync(join2(root, file));
|
|
145
175
|
}
|
|
146
176
|
return kept;
|
|
147
177
|
}
|
|
178
|
+
function restoreIgnoreFiles(root, path, from) {
|
|
179
|
+
const listed = git(root, [
|
|
180
|
+
"ls-tree",
|
|
181
|
+
"-r",
|
|
182
|
+
"-z",
|
|
183
|
+
"--name-only",
|
|
184
|
+
from,
|
|
185
|
+
"--",
|
|
186
|
+
path
|
|
187
|
+
]);
|
|
188
|
+
if (listed.status !== 0) return [];
|
|
189
|
+
const restored = [];
|
|
190
|
+
for (const file of listed.stdout.split("\0")) {
|
|
191
|
+
if (!file.endsWith("/.gitignore")) continue;
|
|
192
|
+
const target = join2(root, file);
|
|
193
|
+
if (existsSync2(target) || !existsSync2(dirname2(target))) continue;
|
|
194
|
+
const body = git(root, ["show", `${from}:${file}`]);
|
|
195
|
+
if (body.status !== 0) continue;
|
|
196
|
+
writeFileSync2(target, body.stdout);
|
|
197
|
+
restored.push(file);
|
|
198
|
+
}
|
|
199
|
+
return restored;
|
|
200
|
+
}
|
|
148
201
|
function displace(root, path) {
|
|
149
202
|
const gitDir = gitText(root, ["rev-parse", "--absolute-git-dir"]);
|
|
150
203
|
const stamp = (/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/gu, "-");
|
|
@@ -335,4 +388,4 @@ export {
|
|
|
335
388
|
followPins,
|
|
336
389
|
syncWorktree
|
|
337
390
|
};
|
|
338
|
-
//# sourceMappingURL=chunk-
|
|
391
|
+
//# sourceMappingURL=chunk-UYBWUOLR.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-HVCBG4MT.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-UVHL7DOT.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-WEOSWF6Q.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HOST_MANIFEST,
|
|
3
3
|
HOST_POLICY
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QW6PHF5K.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-XHBWMWZM.js.map
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
splitKeyed,
|
|
20
20
|
versionMatches,
|
|
21
21
|
withoutBlock
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6N7YO2MJ.js";
|
|
23
23
|
import {
|
|
24
24
|
lockVersionProblem,
|
|
25
25
|
readLock,
|
|
26
26
|
replaceFile
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QW6PHF5K.js";
|
|
28
28
|
import {
|
|
29
29
|
ProjectError,
|
|
30
30
|
RULES_DIR,
|
|
@@ -271,4 +271,4 @@ export {
|
|
|
271
271
|
prepare,
|
|
272
272
|
checkProject
|
|
273
273
|
};
|
|
274
|
-
//# sourceMappingURL=chunk-
|
|
274
|
+
//# sourceMappingURL=chunk-ZWRMK5TZ.js.map
|