@modootoday/pmcp 0.29.1 → 0.30.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-AWK3VSKC.js → apply-P2POBHIU.js} +8 -8
- package/dist/{chunk-2J3A24NC.js → chunk-4NR6F2G5.js} +2 -2
- package/dist/{chunk-7AGQNGGC.js → chunk-5GFNEL6I.js} +14 -14
- package/dist/{chunk-3H7MYRD7.js → chunk-7YBS5S3F.js} +2 -2
- package/dist/{chunk-XPUJLBCV.js → chunk-ADIAVEVZ.js} +2 -2
- package/dist/{chunk-5RV2OY4J.js → chunk-CO5DP2RP.js} +2 -2
- package/dist/{chunk-6TM7PLXG.js → chunk-DLM2BQXY.js} +3 -3
- package/dist/{chunk-UORNIGMP.js → chunk-E5OBYCMP.js} +3 -3
- package/dist/{chunk-AOBUE2LQ.js → chunk-EINSPZVE.js} +2 -2
- package/dist/{chunk-63RCO6N2.js → chunk-G5OL7NQS.js} +3 -3
- package/dist/{chunk-276S5Y6T.js → chunk-HV43X72U.js} +2 -2
- package/dist/{chunk-R3VNWSUG.js → chunk-I5BKHSVY.js} +5 -5
- package/dist/{chunk-ZOD5PQHJ.js → chunk-LESRSUYY.js} +5 -5
- package/dist/{chunk-PZ6D3WKD.js → chunk-LVCASOV4.js} +21 -5
- package/dist/{chunk-JSVYGGJX.js → chunk-MWEE5HCH.js} +2 -2
- package/dist/{chunk-CZSFYP3N.js → chunk-N5RB4HU6.js} +3 -3
- package/dist/{chunk-7Q2AEC7I.js → chunk-NHQ5BWMO.js} +4 -4
- package/dist/{chunk-AA7GECNR.js → chunk-RC7JRUM5.js} +3 -3
- package/dist/{chunk-X7MXKOGK.js → chunk-UCTZ7LB2.js} +2 -2
- package/dist/{chunk-LXJTABBQ.js → chunk-WZGK5TPF.js} +9 -2
- package/dist/{chunk-JMEAOY6F.js → chunk-XMCP4SGT.js} +2 -2
- package/dist/{chunk-YCWIW72Z.js → chunk-YP55H3V6.js} +3 -3
- package/dist/chunk-YPK3ZMDX.js +7 -0
- package/dist/{cli-4VGHUQEY.js → cli-NSZLKKLU.js} +3 -3
- package/dist/cli.js +3 -3
- package/dist/{completion-IXGFF6YQ.js → completion-NLC6EB7Q.js} +2 -2
- package/dist/{diagnostics-C6RH7RCQ.js → diagnostics-5JG4WLRI.js} +6 -6
- package/dist/{doctor-MPDKT6DH.js → doctor-RLSWHJ2A.js} +10 -10
- package/dist/{doctor-NKFZNSRD.js → doctor-T647TNS5.js} +4 -4
- package/dist/{entry-EUOUTUW4.js → entry-FAVK7RKI.js} +10 -10
- package/dist/{exec-mcp-2OFGMEAC.js → exec-mcp-7RZP3J3L.js} +6 -6
- package/dist/{harness-AA2S3B62.js → harness-BB6DSAVZ.js} +3 -3
- package/dist/harness-launch-gate.js +4 -4
- package/dist/harness-worker.js +6 -6
- package/dist/{heavy-VBC4AGL6.js → heavy-AZSP6VEW.js} +8 -4
- package/dist/{hooks-JRA32K5M.js → hooks-Y22ODBFZ.js} +3 -3
- package/dist/{host-K6Q234VA.js → host-5PO6OXNR.js} +4 -4
- package/dist/{host-NLSXVDH6.js → host-HG5BH2G6.js} +8 -8
- package/dist/{host-QUI2L76N.js → host-RO54NJCQ.js} +7 -7
- package/dist/{host-run-GV7D4374.js → host-run-6NMZUNPQ.js} +5 -5
- package/dist/http.js +1 -1
- package/dist/{import-mcp-MPICQ57X.js → import-mcp-QV3QQA7S.js} +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/{init-7L3J62D2.js → init-7YCITJBT.js} +2 -2
- package/dist/{invoke-HTAIDNCY.js → invoke-PWCH3QTK.js} +8 -8
- package/dist/{list-FQZUFE2E.js → list-ZBIXGLKJ.js} +7 -7
- package/dist/{logout-CDR7HHVK.js → logout-NWOB6FYU.js} +6 -6
- package/dist/{mainline-3HLQZZTE.js → mainline-HQPAQ5N2.js} +2 -2
- package/dist/{mcp-KCHLSRXM.js → mcp-6I5I6VGZ.js} +2 -2
- package/dist/{measure-OKB7WBHK.js → measure-XD5UDZMJ.js} +5 -5
- package/dist/{plan-46BTJQIV.js → plan-KGGJRUY5.js} +4 -4
- package/dist/{project-Q73BXGWL.js → project-IKIRR3ZN.js} +4 -4
- package/dist/{run-IAO2F2XV.js → run-U2NQLEEM.js} +4 -4
- package/dist/{run-TM7CK35L.js → run-VWETBSCC.js} +5 -5
- package/dist/{serve-Z5WVBTWT.js → serve-EYRBNRYW.js} +3 -3
- package/dist/{start-login-RIULASFH.js → start-login-S7TSV6U7.js} +6 -6
- package/dist/{status-7XSYG5ZX.js → status-FL3BR362.js} +7 -7
- package/dist/{status-4KTT2FZS.js → status-PXSKFHAJ.js} +6 -6
- package/dist/stdio.js +2 -2
- package/dist/{test-3AVCMEAR.js → test-PWBXC2D5.js} +6 -6
- package/dist/{tui-YHSOU7AX.js → tui-BNBDMV2M.js} +4 -4
- package/dist/{worker-L5HAMGBD.js → worker-6OGOG6E4.js} +8 -8
- package/docs/project-configuration.md +6 -0
- 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-V35SBA7H.js +0 -7
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
},
|
|
613
613
|
{
|
|
614
614
|
"name": "pmcp",
|
|
615
|
-
"version": "0.
|
|
615
|
+
"version": "0.30.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-7YBS5S3F.js";
|
|
7
7
|
import {
|
|
8
8
|
printSmoke,
|
|
9
9
|
runSmoke
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
describeHookProblem,
|
|
16
16
|
project,
|
|
17
17
|
unmanagedHookProblems
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NHQ5BWMO.js";
|
|
19
19
|
import "./chunk-ANJMLKBR.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-E5OBYCMP.js";
|
|
21
21
|
import {
|
|
22
22
|
checkBudget,
|
|
23
23
|
renderFrontmatter,
|
|
24
24
|
splitFrontmatter
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-G5OL7NQS.js";
|
|
26
26
|
import "./chunk-YEO6I6XN.js";
|
|
27
27
|
import "./chunk-FLG7VRTC.js";
|
|
28
28
|
import "./chunk-2GD7PQ7J.js";
|
|
@@ -57,8 +57,8 @@ import {
|
|
|
57
57
|
import "./chunk-YSAWTGNA.js";
|
|
58
58
|
import {
|
|
59
59
|
recordProjector
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-RC7JRUM5.js";
|
|
61
|
+
import "./chunk-LVCASOV4.js";
|
|
62
62
|
import "./chunk-N7ANFMA5.js";
|
|
63
63
|
import {
|
|
64
64
|
ProjectError
|
|
@@ -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-YPK3ZMDX.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-P2POBHIU.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
customPolicy,
|
|
8
8
|
externalId,
|
|
9
9
|
externalPolicy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G5OL7NQS.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-4NR6F2G5.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-FL3BR362.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-7YCITJBT.js")).initCommand },
|
|
81
|
+
{ ...hooksSpec, load: async () => (await import("./hooks-Y22ODBFZ.js")).hooksCommand },
|
|
82
|
+
{ ...serveSpec, load: async () => (await import("./serve-EYRBNRYW.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-IKIRR3ZN.js")).projectCommand
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
...doctorSpec,
|
|
123
|
-
load: async () => (await import("./doctor-
|
|
123
|
+
load: async () => (await import("./doctor-RLSWHJ2A.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-NSZLKKLU.js")).gitCommand },
|
|
131
131
|
{
|
|
132
132
|
...heavySpec,
|
|
133
|
-
load: async () => (await import("./heavy-
|
|
133
|
+
load: async () => (await import("./heavy-AZSP6VEW.js")).heavyCommand
|
|
134
134
|
},
|
|
135
|
-
{ ...hostSpec, load: async () => (await import("./host-
|
|
135
|
+
{ ...hostSpec, load: async () => (await import("./host-5PO6OXNR.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-6I5I6VGZ.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-BB6DSAVZ.js")).harnessCommand
|
|
153
153
|
},
|
|
154
|
-
{ ...tuiSpec, load: async () => (await import("./tui-
|
|
154
|
+
{ ...tuiSpec, load: async () => (await import("./tui-BNBDMV2M.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-NLC6EB7Q.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-5GFNEL6I.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-G5OL7NQS.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-7YBS5S3F.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-G5OL7NQS.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-ADIAVEVZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HOST_MANIFEST,
|
|
3
3
|
HOST_POLICY
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RC7JRUM5.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-CO5DP2RP.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runHeavy,
|
|
3
3
|
userManager
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WZGK5TPF.js";
|
|
5
5
|
import {
|
|
6
6
|
MODEL_KEYS,
|
|
7
7
|
RESULT,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-Y6NFETNG.js";
|
|
19
19
|
import {
|
|
20
20
|
leaseSettingsFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LVCASOV4.js";
|
|
22
22
|
import {
|
|
23
23
|
ConfigError,
|
|
24
24
|
findConfig
|
|
@@ -151,4 +151,4 @@ export {
|
|
|
151
151
|
probeDir,
|
|
152
152
|
underLease
|
|
153
153
|
};
|
|
154
|
-
//# sourceMappingURL=chunk-
|
|
154
|
+
//# sourceMappingURL=chunk-DLM2BQXY.js.map
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
splitKeyed,
|
|
20
20
|
versionMatches,
|
|
21
21
|
withoutBlock
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-G5OL7NQS.js";
|
|
23
23
|
import {
|
|
24
24
|
lockVersionProblem,
|
|
25
25
|
readLock,
|
|
26
26
|
replaceFile
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RC7JRUM5.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-E5OBYCMP.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-RC7JRUM5.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-EINSPZVE.js.map
|
|
@@ -77,11 +77,11 @@ import {
|
|
|
77
77
|
readHost,
|
|
78
78
|
readLock,
|
|
79
79
|
readLockFile
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-RC7JRUM5.js";
|
|
81
81
|
import {
|
|
82
82
|
DISABLE_ENV,
|
|
83
83
|
readLeaseSettings
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-LVCASOV4.js";
|
|
85
85
|
import {
|
|
86
86
|
ProjectError,
|
|
87
87
|
RULES_DIR,
|
|
@@ -6910,4 +6910,4 @@ export {
|
|
|
6910
6910
|
checkBudget,
|
|
6911
6911
|
readSpec
|
|
6912
6912
|
};
|
|
6913
|
-
//# sourceMappingURL=chunk-
|
|
6913
|
+
//# sourceMappingURL=chunk-G5OL7NQS.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.30.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-HV43X72U.js.map
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
observeSession,
|
|
8
8
|
openGroup,
|
|
9
9
|
runOperation
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N5RB4HU6.js";
|
|
11
11
|
import {
|
|
12
12
|
nativeHostTools
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XMCP4SGT.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-EINSPZVE.js";
|
|
21
21
|
import {
|
|
22
22
|
ptyBinary
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RC7JRUM5.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-I5BKHSVY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hostApprovalDoctor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CO5DP2RP.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-NHQ5BWMO.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-G5OL7NQS.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-RC7JRUM5.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-LESRSUYY.js.map
|
|
@@ -122,6 +122,7 @@ var KEYS = [
|
|
|
122
122
|
"poll",
|
|
123
123
|
"memory_max",
|
|
124
124
|
"budget",
|
|
125
|
+
"gate_alone",
|
|
125
126
|
"lanes",
|
|
126
127
|
"weights",
|
|
127
128
|
"commands",
|
|
@@ -295,10 +296,19 @@ function hardFactor(path, value) {
|
|
|
295
296
|
fail(path, "[host.lease] hard_factor must be a number of at least 1");
|
|
296
297
|
return value;
|
|
297
298
|
}
|
|
298
|
-
function
|
|
299
|
+
function knownKeys(raw, ignored) {
|
|
300
|
+
if (!ignored) return raw;
|
|
301
|
+
const kept = {};
|
|
302
|
+
for (const [key, value] of Object.entries(raw)) {
|
|
303
|
+
if (KEYS.includes(key)) kept[key] = value;
|
|
304
|
+
else ignored(key);
|
|
305
|
+
}
|
|
306
|
+
return kept;
|
|
307
|
+
}
|
|
308
|
+
function readLeaseSettings(path, dir, host, ignored) {
|
|
299
309
|
const root = table(path, "host", host) ?? {};
|
|
300
310
|
const declared = child(path, root, "host", "lease");
|
|
301
|
-
const raw = declared ?? {};
|
|
311
|
+
const raw = knownKeys(declared ?? {}, ignored);
|
|
302
312
|
const read = new Reader(path, "host.lease", raw, KEYS);
|
|
303
313
|
const memoryMax = memory(path, "host.lease", raw["memory_max"]);
|
|
304
314
|
const base = {
|
|
@@ -328,6 +338,7 @@ function readLeaseSettings(path, dir, host) {
|
|
|
328
338
|
heartbeat: read.int("heartbeat", 60),
|
|
329
339
|
poll: read.int("poll", 15),
|
|
330
340
|
budget: read.int("budget", 4),
|
|
341
|
+
gateAlone: read.bool("gate_alone", false),
|
|
331
342
|
slots: perLane(
|
|
332
343
|
path,
|
|
333
344
|
"host.lease.lanes",
|
|
@@ -366,11 +377,16 @@ function readLeaseSettings(path, dir, host) {
|
|
|
366
377
|
)
|
|
367
378
|
};
|
|
368
379
|
}
|
|
369
|
-
function leaseSettingsFor(cwd, configPath) {
|
|
380
|
+
function leaseSettingsFor(cwd, configPath, ignored) {
|
|
370
381
|
const path = configPath ?? findConfig(cwd);
|
|
371
382
|
if (path === null) return readLeaseSettings("pmcp.toml", cwd, void 0);
|
|
372
383
|
const config = readConfig(path);
|
|
373
|
-
return readLeaseSettings(
|
|
384
|
+
return readLeaseSettings(
|
|
385
|
+
config.path,
|
|
386
|
+
config.dir,
|
|
387
|
+
config.raw["host"],
|
|
388
|
+
ignored
|
|
389
|
+
);
|
|
374
390
|
}
|
|
375
391
|
|
|
376
392
|
export {
|
|
@@ -383,4 +399,4 @@ export {
|
|
|
383
399
|
readLeaseSettings,
|
|
384
400
|
leaseSettingsFor
|
|
385
401
|
};
|
|
386
|
-
//# sourceMappingURL=chunk-
|
|
402
|
+
//# sourceMappingURL=chunk-LVCASOV4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSkillServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HV43X72U.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-MWEE5HCH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertNativeHost
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XMCP4SGT.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-EINSPZVE.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-N5RB4HU6.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
prepare,
|
|
8
8
|
present,
|
|
9
9
|
writeNative
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-E5OBYCMP.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-G5OL7NQS.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-RC7JRUM5.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-NHQ5BWMO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readLeaseSettings
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LVCASOV4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectError
|
|
6
6
|
} from "./chunk-TYY5TYHF.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-XWLMZKH2.js";
|
|
13
13
|
import {
|
|
14
14
|
VERSION
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YPK3ZMDX.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-RC7JRUM5.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
nativeBinary,
|
|
9
9
|
ptyBinary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RC7JRUM5.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-UCTZ7LB2.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
BUSY_EXIT,
|
|
21
21
|
DISABLE_ENV
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LVCASOV4.js";
|
|
23
23
|
import {
|
|
24
24
|
LANES,
|
|
25
25
|
epoch,
|
|
@@ -468,6 +468,7 @@ import {
|
|
|
468
468
|
import { closeSync, openSync } from "fs";
|
|
469
469
|
import { join as join3 } from "path";
|
|
470
470
|
function admissible(settings, running, waiters) {
|
|
471
|
+
const gateOnly = settings.gateAlone && gateWanted(running, waiters);
|
|
471
472
|
const free = { ...settings.slots };
|
|
472
473
|
let budget = settings.budget;
|
|
473
474
|
for (const job of running) {
|
|
@@ -480,6 +481,7 @@ function admissible(settings, running, waiters) {
|
|
|
480
481
|
);
|
|
481
482
|
for (const waiter of waiters) {
|
|
482
483
|
if (waiter.weight === 0 || free[waiter.lane] <= 0) continue;
|
|
484
|
+
if (gateOnly && waiter.lane !== "gate") continue;
|
|
483
485
|
if (waiter.weight > budget) break;
|
|
484
486
|
free[waiter.lane] -= 1;
|
|
485
487
|
budget -= waiter.weight;
|
|
@@ -487,6 +489,11 @@ function admissible(settings, running, waiters) {
|
|
|
487
489
|
}
|
|
488
490
|
return found;
|
|
489
491
|
}
|
|
492
|
+
function gateWanted(running, waiters) {
|
|
493
|
+
return [...running, ...waiters].some(
|
|
494
|
+
(job) => job.lane === "gate" && job.weight > 0
|
|
495
|
+
);
|
|
496
|
+
}
|
|
490
497
|
function runningWeight(running) {
|
|
491
498
|
return running.reduce((sum, job) => sum + job.weight, 0);
|
|
492
499
|
}
|
|
@@ -1145,4 +1152,4 @@ export {
|
|
|
1145
1152
|
usageStats,
|
|
1146
1153
|
runHeavy
|
|
1147
1154
|
};
|
|
1148
|
-
//# sourceMappingURL=chunk-
|
|
1155
|
+
//# sourceMappingURL=chunk-WZGK5TPF.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-RC7JRUM5.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-XMCP4SGT.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-UCTZ7LB2.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-XMCP4SGT.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-YP55H3V6.js.map
|