@modootoday/pmcp 0.31.0 → 0.33.0
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/{affected-4FILH743.js → affected-CLIKMDJJ.js} +3 -2
- package/dist/{apply-O36MB3Q5.js → apply-PHXWER4P.js} +15 -14
- package/dist/{available-74CMIBPD.js → available-CYDZYY7E.js} +3 -2
- package/dist/{broadcast-U7ZYOJWE.js → broadcast-4YBKHLXV.js} +5 -5
- package/dist/{chunk-PTD3YQIT.js → chunk-2D36J3YZ.js} +9 -6
- package/dist/{chunk-NPLTVGBP.js → chunk-3H7UTRJW.js} +7 -7
- package/dist/{chunk-V5ZOISWG.js → chunk-3QU7Z7SJ.js} +4 -4
- package/dist/{chunk-2UKP5A7F.js → chunk-47MNSTNA.js} +3 -3
- package/dist/{chunk-C3G75JH7.js → chunk-4B2VDTHL.js} +16 -5
- package/dist/{chunk-65BW7Y6O.js → chunk-4F4CMDKZ.js} +1 -1
- package/dist/{chunk-YOWIYFIV.js → chunk-4U4GLMZ6.js} +5 -8
- package/dist/{chunk-JANBBPKP.js → chunk-5VGNZSB7.js} +6 -6
- package/dist/{chunk-5SMF2OKY.js → chunk-6NVAKB2U.js} +3 -3
- package/dist/{chunk-6FOP5S63.js → chunk-7RRZGHXM.js} +5 -5
- package/dist/{chunk-Y2XASHVY.js → chunk-AXNXNFSV.js} +2 -2
- package/dist/{chunk-HF5D6B2U.js → chunk-BN73TTTP.js} +7 -10
- package/dist/{chunk-OF42VZRG.js → chunk-CD3NHHQ3.js} +2 -2
- package/dist/chunk-CGFLYYGD.js +175 -0
- package/dist/{chunk-E2E4HIEN.js → chunk-CSZ2HI2R.js} +2 -2
- package/dist/{chunk-WZGK5TPF.js → chunk-DGVXKZHP.js} +22 -6
- package/dist/{chunk-ITDJ2EXN.js → chunk-DIWQOLPW.js} +2 -2
- package/dist/chunk-EWEY3ASH.js +21 -0
- package/dist/{chunk-KFIKI44F.js → chunk-EWTJTS54.js} +14 -14
- package/dist/{chunk-SLWE4SGW.js → chunk-FDFVAZOE.js} +11 -15
- package/dist/{chunk-RQQHZEVM.js → chunk-GTPQUQCP.js} +2 -2
- package/dist/{chunk-VLY6AGVN.js → chunk-HGVYHF3S.js} +3 -3
- package/dist/{chunk-NZTZHTW3.js → chunk-I4IQUTR4.js} +3 -3
- package/dist/{chunk-7DJQASH3.js → chunk-IH76KECZ.js} +10 -34
- package/dist/{chunk-5WAMDZHF.js → chunk-JFZU46JO.js} +2 -2
- package/dist/{chunk-Q6V274OB.js → chunk-JNW2Z36X.js} +2 -2
- package/dist/chunk-JOGLKWN7.js +52 -0
- package/dist/{chunk-VBVNOLRR.js → chunk-K4ZG3BXL.js} +2 -2
- package/dist/{chunk-JZKAJUVT.js → chunk-KESQUAKO.js} +2 -2
- package/dist/{chunk-DLM2BQXY.js → chunk-KR3D7TQO.js} +3 -3
- package/dist/{chunk-UVTGY2R3.js → chunk-KRDNVEV6.js} +4 -7
- package/dist/{chunk-2HL2MFNI.js → chunk-KWSCDIE2.js} +2 -2
- package/dist/{chunk-RQWJGNS6.js → chunk-MEQ43M6X.js} +2 -2
- package/dist/{chunk-QYLOIM4U.js → chunk-MFD2UEJY.js} +6 -8
- package/dist/{chunk-LVCASOV4.js → chunk-MIOKNRMY.js} +4 -2
- package/dist/{chunk-JPYQDOEW.js → chunk-MPYM2HYV.js} +7 -9
- package/dist/{chunk-YJVSN6UN.js → chunk-NFWN3AMZ.js} +3 -3
- package/dist/{chunk-GQRDEIQA.js → chunk-NQBSTHYF.js} +1 -1
- package/dist/{chunk-I4U2A6HP.js → chunk-NQVAFHDK.js} +2 -2
- package/dist/{chunk-LXWAU7AX.js → chunk-OOH47XJH.js} +6 -6
- package/dist/chunk-PN3U7FPZ.js +7 -0
- package/dist/{chunk-V4NPDK6X.js → chunk-QRLTTS5K.js} +1 -1
- package/dist/{chunk-O7OYOL64.js → chunk-RBWTJQYR.js} +6 -13
- package/dist/{chunk-QEH7WOBC.js → chunk-RM6IPG7B.js} +2 -2
- package/dist/{chunk-54FOQB2E.js → chunk-S5L65IJL.js} +2 -2
- package/dist/{chunk-4VVQLWTS.js → chunk-SXFW4COX.js} +2 -2
- package/dist/{chunk-WZYGM3FR.js → chunk-TLHWUYTW.js} +5 -5
- package/dist/{chunk-S6QMSCFS.js → chunk-TRAC427I.js} +3 -3
- package/dist/{chunk-D7IDT7OA.js → chunk-UFGGQVB7.js} +5 -5
- package/dist/{chunk-OIKT4SYO.js → chunk-UOFHM6OM.js} +2 -2
- package/dist/{chunk-NQCAKDRY.js → chunk-UORJZ7TK.js} +3 -3
- package/dist/{chunk-A4P3IIPE.js → chunk-VCQQHIH5.js} +5 -5
- package/dist/{chunk-QRCAGKC6.js → chunk-WWNY53B6.js} +14 -11
- package/dist/{chunk-WBPVNCQO.js → chunk-WYK57MIH.js} +6 -6
- package/dist/{chunk-TQRLWO4F.js → chunk-XPYY6K5L.js} +2 -2
- package/dist/{chunk-T6C3TSTO.js → chunk-YKYHM54P.js} +36 -2
- package/dist/{cli-NSZLKKLU.js → cli-33J5JI7Q.js} +7 -7
- package/dist/{cli-ZOY2274X.js → cli-TVVP3DZ5.js} +10 -10
- package/dist/cli.js +19 -19
- package/dist/{completion-7QNGLW4X.js → completion-KM3C2SHI.js} +18 -18
- package/dist/{diagnostics-4FUIW53N.js → diagnostics-HQIZ5M24.js} +9 -8
- package/dist/{doctor-T647TNS5.js → doctor-PIJMN7XM.js} +7 -6
- package/dist/{doctor-3XJJBENL.js → doctor-UGWGKB5U.js} +18 -17
- package/dist/{entry-E65VAN5N.js → entry-VNL45DQN.js} +15 -14
- package/dist/{exec-mcp-VYS4FTKF.js → exec-mcp-2QE7TWE4.js} +12 -11
- package/dist/{harness-2MCF2ZWN.js → harness-5QEGA4RC.js} +3 -3
- package/dist/harness-launch-gate.js +8 -7
- package/dist/harness-pane-runner.js +3 -2
- package/dist/harness-worker.js +10 -9
- package/dist/{heavy-AZSP6VEW.js → heavy-E2LBLJ7P.js} +10 -9
- package/dist/{hooks-SEC6WIP5.js → hooks-VOKZV5M4.js} +5 -5
- package/dist/{host-2CKQ6H6W.js → host-2F5PG3DF.js} +6 -6
- package/dist/{host-VPSNIHRO.js → host-IZ2Y55HL.js} +9 -8
- package/dist/{host-33YTCKQK.js → host-RJ72SAF6.js} +14 -13
- package/dist/{host-run-AVJRPDL6.js → host-run-EQQDEUW5.js} +7 -6
- package/dist/http.d.ts +4 -4
- package/dist/http.js +4 -3
- package/dist/{import-mcp-NCOFK75O.js → import-mcp-HEAIC23N.js} +11 -10
- package/dist/index.d.ts +6 -7
- package/dist/index.js +18 -17
- package/dist/init-CVKLSL5D.js +14 -0
- package/dist/{install-5JH4DSFF.js → install-ITEWB6V3.js} +3 -2
- package/dist/{invoke-XY5FIQZB.js → invoke-TA2SYXFJ.js} +12 -11
- package/dist/{list-LV5EKCF6.js → list-CNLGT6TK.js} +3 -2
- package/dist/{list-M6MMCCNY.js → list-N7DWTEPL.js} +13 -12
- package/dist/{load-BEUBABtB.d.ts → load-C6Iite0Q.d.ts} +1 -1
- package/dist/{logout-WJDFPQCF.js → logout-FVMOFMES.js} +12 -11
- package/dist/{logs-J4W6GFMK.js → logs-UQ3FJ5RY.js} +3 -3
- package/dist/mailbox/index.js +5 -4
- package/dist/{mailbox-6MHH6CUA.js → mailbox-AZR6YUC5.js} +5 -5
- package/dist/{mailbox-ZHZWZMAY.js → mailbox-GSGP5EGX.js} +6 -5
- package/dist/{mainline-HQPAQ5N2.js → mainline-GYF4BNMI.js} +7 -6
- package/dist/{marketplace-2X3OOEPW.js → marketplace-S3DXRVIR.js} +16 -8
- package/dist/{mcp-DGNTEMHQ.js → mcp-CAUFKA44.js} +4 -4
- package/dist/{measure-BR6R5ZGJ.js → measure-QB7SGMO3.js} +7 -7
- package/dist/{models-XSF45MCD.js → models-YEMUWADC.js} +3 -2
- package/dist/{owners-MPI22SFU.js → owners-E3WYJML3.js} +3 -3
- package/dist/{pause-3IMVYXQQ.js → pause-HVXLAT7D.js} +5 -5
- package/dist/{plan-KGGJRUY5.js → plan-T2GT3YN6.js} +7 -6
- package/dist/{preview-465CQJBQ.js → preview-PPA6UJDD.js} +3 -2
- package/dist/{project-UQQLPD4K.js → project-UGPOUTTR.js} +7 -7
- package/dist/{recovery-HB2YFQSQ.js → recovery-7ATXH6W5.js} +5 -4
- package/dist/{reindex-D62HQAN2.js → reindex-KQJAX323.js} +4 -3
- package/dist/{resume-7LCSV4X3.js → resume-MMHI3BNI.js} +5 -5
- package/dist/{run-I7425NVX.js → run-O6OYB423.js} +11 -10
- package/dist/{run-UKTQKE5X.js → run-Z2RXQJPJ.js} +4 -4
- package/dist/{serve-EAYEISOY.js → serve-M4PZOOAW.js} +12 -10
- package/dist/{session-3YVVO2GR.js → session-BTN4JXQ4.js} +3 -2
- package/dist/{setup-V7QJKJ3M.js → setup-O75KDANV.js} +4 -3
- package/dist/{smoke-GZECLXOJ.js → smoke-UK42EV7O.js} +3 -3
- package/dist/{start-login-OYS26DEB.js → start-login-GY62GMNC.js} +12 -11
- package/dist/{status-QFMN7IUG.js → status-GQHMLK4G.js} +5 -5
- package/dist/{status-K5SO4Q5K.js → status-YMUZYN5M.js} +12 -11
- package/dist/{status-NI4TJ56E.js → status-YWXOVGE3.js} +15 -14
- package/dist/stdio.d.ts +1 -1
- package/dist/stdio.js +7 -6
- package/dist/{sweep-BS7HVSNP.js → sweep-UVD3KAFD.js} +5 -5
- package/dist/{test-72IQFIXF.js → test-SBP54LNA.js} +13 -12
- package/dist/{tools-gpHNq9Dh.d.ts → tools-Dnu9wAAm.d.ts} +20 -6
- package/dist/{tui-O6AP46M3.js → tui-TB7YQLMP.js} +5 -5
- package/dist/{unbroadcast-GRGX3F6T.js → unbroadcast-YWUKATJK.js} +5 -5
- package/dist/{validate-YXR7FJJX.js → validate-MIVCL2ZK.js} +5 -3
- package/dist/{worker-UUYKNLVW.js → worker-4VBEX5KF.js} +13 -12
- package/docs/compatibility.md +5 -0
- package/docs/project-configuration.md +36 -35
- package/docs/upgrading.md +22 -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-3QW5KA52.js +0 -7
- package/dist/chunk-BU65MNVU.js +0 -13
- package/dist/chunk-VEXPKCAC.js +0 -175
- package/dist/init-VHCYXPTG.js +0 -14
|
@@ -112,8 +112,22 @@ interface SkillBundle {
|
|
|
112
112
|
}
|
|
113
113
|
declare function bundleSkill(entry: SkillEntry): SkillBundle;
|
|
114
114
|
|
|
115
|
+
declare const RUNTIME_IDS: readonly ["claude", "codex", "gemini", "antigravity", "grok", "opencode"];
|
|
116
|
+
type RuntimeId = (typeof RUNTIME_IDS)[number];
|
|
117
|
+
declare const PRODUCT_NAMES: readonly ["claude-code", "codex-cli", "gemini-cli", "grok-cli", "antigravity"];
|
|
118
|
+
type ProductName = (typeof PRODUCT_NAMES)[number];
|
|
119
|
+
declare const EXECUTABLES: {
|
|
120
|
+
readonly claude: "claude";
|
|
121
|
+
readonly codex: "codex";
|
|
122
|
+
readonly gemini: "gemini";
|
|
123
|
+
readonly antigravity: "agy";
|
|
124
|
+
readonly grok: "grok";
|
|
125
|
+
readonly opencode: "opencode";
|
|
126
|
+
};
|
|
127
|
+
type Executable = (typeof EXECUTABLES)[RuntimeId];
|
|
128
|
+
|
|
115
129
|
declare const RUNTIMES: readonly ["claude-code", "codex-cli", "gemini-cli", "grok-cli", "antigravity"];
|
|
116
|
-
type Runtime =
|
|
130
|
+
type Runtime = ProductName;
|
|
117
131
|
declare function verifiedRuntimesOf(metadata: Readonly<Record<string, MetadataValue>> | undefined): Runtime[];
|
|
118
132
|
declare function runtimeOfClient(name: string | undefined): Runtime | null;
|
|
119
133
|
interface ClientSource {
|
|
@@ -167,11 +181,11 @@ declare const catalogItemSchema: z.ZodObject<{
|
|
|
167
181
|
mcp: "mcp";
|
|
168
182
|
}>>;
|
|
169
183
|
verifiedRuntimes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
184
|
+
antigravity: "antigravity";
|
|
170
185
|
"claude-code": "claude-code";
|
|
171
186
|
"codex-cli": "codex-cli";
|
|
172
187
|
"gemini-cli": "gemini-cli";
|
|
173
188
|
"grok-cli": "grok-cli";
|
|
174
|
-
antigravity: "antigravity";
|
|
175
189
|
}>>>;
|
|
176
190
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
177
191
|
}, z.core.$loose>;
|
|
@@ -193,11 +207,11 @@ declare const catalogResponseSchema: z.ZodObject<{
|
|
|
193
207
|
mcp: "mcp";
|
|
194
208
|
}>>;
|
|
195
209
|
verifiedRuntimes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
210
|
+
antigravity: "antigravity";
|
|
196
211
|
"claude-code": "claude-code";
|
|
197
212
|
"codex-cli": "codex-cli";
|
|
198
213
|
"gemini-cli": "gemini-cli";
|
|
199
214
|
"grok-cli": "grok-cli";
|
|
200
|
-
antigravity: "antigravity";
|
|
201
215
|
}>>>;
|
|
202
216
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
203
217
|
}, z.core.$loose>>;
|
|
@@ -209,11 +223,11 @@ declare const findResultSchema: z.ZodObject<{
|
|
|
209
223
|
lexical: "lexical";
|
|
210
224
|
}>;
|
|
211
225
|
runtime: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
226
|
+
antigravity: "antigravity";
|
|
212
227
|
"claude-code": "claude-code";
|
|
213
228
|
"codex-cli": "codex-cli";
|
|
214
229
|
"gemini-cli": "gemini-cli";
|
|
215
230
|
"grok-cli": "grok-cli";
|
|
216
|
-
antigravity: "antigravity";
|
|
217
231
|
}>>>;
|
|
218
232
|
matches: z.ZodArray<z.ZodObject<{
|
|
219
233
|
name: z.ZodString;
|
|
@@ -221,11 +235,11 @@ declare const findResultSchema: z.ZodObject<{
|
|
|
221
235
|
description: z.ZodString;
|
|
222
236
|
score: z.ZodNumber;
|
|
223
237
|
verifiedRuntimes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
238
|
+
antigravity: "antigravity";
|
|
224
239
|
"claude-code": "claude-code";
|
|
225
240
|
"codex-cli": "codex-cli";
|
|
226
241
|
"gemini-cli": "gemini-cli";
|
|
227
242
|
"grok-cli": "grok-cli";
|
|
228
|
-
antigravity: "antigravity";
|
|
229
243
|
}>>>;
|
|
230
244
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
231
245
|
}, z.core.$loose>>;
|
|
@@ -325,4 +339,4 @@ declare function createSkillTools(options: SkillServerOptions): {
|
|
|
325
339
|
skills: () => readonly SkillEntry[];
|
|
326
340
|
};
|
|
327
341
|
|
|
328
|
-
export {
|
|
342
|
+
export { mimeOf as $, ASSET_KINDS as A, type BundleFile as B, type CatalogOptions as C, DEFAULT_FIND_LIMIT as D, type Embedder as E, type FileKind as F, type SkillFilters as G, bundleResponseSchema as H, type IntentCache as I, bundleSkill as J, type KindFilter as K, catalogResponseSchema as L, type MetadataValue as M, NAME_MAX as N, classify as O, cosine as P, createSkillTools as Q, type Runtime as R, type SkillServerOptions as S, describeResponseSchema as T, detectRuntime as U, find as V, findResultSchema as W, isUtf8Text as X, kindOf as Y, lexicalScore as Z, listSkillFiles as _, type SkillEntry as a, normaliseIntent as a0, frontmatterObject as a1, readSkillFile as a2, runtimeOfClient as a3, specProblems as a4, type Ranking as b, type Executable as c, type SkillTools as d, type AssetKind as e, COMPATIBILITY_MAX as f, type CallResponse as g, type CatalogItem as h, type CatalogResponse as i, type Classified as j, DESCRIPTION_MAX as k, type FindOptions as l, type FindResult as m, type IntentCacheStats as n, MAX_SKILL_DEPTH as o, type Match as p, type MetadataLeaf as q, READ_BUDGET_BYTES as r, RUNTIMES as s, type ReadResult as t, SKIPPED_DIRS as u, verifiedRuntimesOf as v, type SkillBundle as w, type SkillFile as x, type SkillFileContent as y, type SkillFileListing as z };
|
|
@@ -140,23 +140,23 @@ var tuiCommand = {
|
|
|
140
140
|
try {
|
|
141
141
|
let receipt;
|
|
142
142
|
if (invocation.action === "doctor") {
|
|
143
|
-
const { inspectTerminalHost } = await import("./diagnostics-
|
|
143
|
+
const { inspectTerminalHost } = await import("./diagnostics-HQIZ5M24.js");
|
|
144
144
|
receipt = inspectTerminalHost();
|
|
145
145
|
} else if (invocation.action === "start-worker") {
|
|
146
|
-
const { startWorkspaceWorker } = await import("./worker-
|
|
146
|
+
const { startWorkspaceWorker } = await import("./worker-4VBEX5KF.js");
|
|
147
147
|
receipt = await startWorkspaceWorker(
|
|
148
148
|
{ config: invocation.startup?.config, cwd: context.cwd },
|
|
149
149
|
invocation.startup.runtime,
|
|
150
150
|
invocation.startup?.memoryMb
|
|
151
151
|
);
|
|
152
152
|
} else if (invocation.action === "recovery") {
|
|
153
|
-
const { inspectStartupRecovery } = await import("./recovery-
|
|
153
|
+
const { inspectStartupRecovery } = await import("./recovery-7ATXH6W5.js");
|
|
154
154
|
receipt = inspectStartupRecovery({
|
|
155
155
|
...invocation.startup,
|
|
156
156
|
cwd: context.cwd
|
|
157
157
|
});
|
|
158
158
|
} else {
|
|
159
|
-
const { launchStartup, planStartup } = await import("./entry-
|
|
159
|
+
const { launchStartup, planStartup } = await import("./entry-VNL45DQN.js");
|
|
160
160
|
const request = { ...invocation.startup, cwd: context.cwd };
|
|
161
161
|
receipt = invocation.action === "plan" ? planStartup(request) : await launchStartup(
|
|
162
162
|
request,
|
|
@@ -176,4 +176,4 @@ var tuiCommand = {
|
|
|
176
176
|
export {
|
|
177
177
|
tuiCommand
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=tui-
|
|
179
|
+
//# sourceMappingURL=tui-TB7YQLMP.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
change
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-NFWN3AMZ.js";
|
|
4
|
+
import "./chunk-4F4CMDKZ.js";
|
|
5
|
+
import "./chunk-UOFHM6OM.js";
|
|
6
|
+
import "./chunk-UORJZ7TK.js";
|
|
7
7
|
import "./chunk-PAY6HEEY.js";
|
|
8
8
|
import "./chunk-Z6WRFOFT.js";
|
|
9
9
|
import "./chunk-Y6NFETNG.js";
|
|
@@ -18,4 +18,4 @@ var run = (context) => change(context, "unbroadcast");
|
|
|
18
18
|
export {
|
|
19
19
|
run
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=unbroadcast-
|
|
21
|
+
//# sourceMappingURL=unbroadcast-YWUKATJK.js.map
|
|
@@ -7,17 +7,19 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
validateCatalog,
|
|
9
9
|
validateSkillDir
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4U4GLMZ6.js";
|
|
11
11
|
import "./chunk-73AKO4UL.js";
|
|
12
12
|
import {
|
|
13
13
|
validateSpec
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IH76KECZ.js";
|
|
15
15
|
import "./chunk-5NDUWEMW.js";
|
|
16
|
+
import "./chunk-MPYM2HYV.js";
|
|
16
17
|
import "./chunk-Y6NFETNG.js";
|
|
17
18
|
import "./chunk-4CRRLDDS.js";
|
|
18
19
|
import "./chunk-YSAWTGNA.js";
|
|
19
20
|
import "./chunk-GJXOFDJT.js";
|
|
20
21
|
import "./chunk-PMJG2CXF.js";
|
|
22
|
+
import "./chunk-JOGLKWN7.js";
|
|
21
23
|
|
|
22
24
|
// src/commands/validate.ts
|
|
23
25
|
var validateCommand = {
|
|
@@ -45,4 +47,4 @@ var validateCommand = {
|
|
|
45
47
|
export {
|
|
46
48
|
validateCommand
|
|
47
49
|
};
|
|
48
|
-
//# sourceMappingURL=validate-
|
|
50
|
+
//# sourceMappingURL=validate-MIVCL2ZK.js.map
|
|
@@ -2,38 +2,39 @@ import {
|
|
|
2
2
|
readStartup,
|
|
3
3
|
startupFile,
|
|
4
4
|
startupSettings
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4B2VDTHL.js";
|
|
6
6
|
import {
|
|
7
7
|
invoke
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3H7UTRJW.js";
|
|
9
9
|
import "./chunk-DZ2MRTYT.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-RBWTJQYR.js";
|
|
11
|
+
import "./chunk-RM6IPG7B.js";
|
|
12
12
|
import {
|
|
13
13
|
locateExecutable
|
|
14
14
|
} from "./chunk-R2GPCZUX.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-TRAC427I.js";
|
|
16
16
|
import "./chunk-34DECPVC.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-EWTJTS54.js";
|
|
18
|
+
import "./chunk-MIOKNRMY.js";
|
|
19
19
|
import "./chunk-N7ANFMA5.js";
|
|
20
20
|
import "./chunk-TYY5TYHF.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-YKYHM54P.js";
|
|
22
22
|
import "./chunk-KLIYFD3W.js";
|
|
23
23
|
import "./chunk-GUHOEIHP.js";
|
|
24
24
|
import "./chunk-IJBSOWHK.js";
|
|
25
25
|
import "./chunk-XWLMZKH2.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-PN3U7FPZ.js";
|
|
27
27
|
import "./chunk-GJXOFDJT.js";
|
|
28
28
|
import "./chunk-PMJG2CXF.js";
|
|
29
29
|
import {
|
|
30
30
|
GroupStore
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-DIWQOLPW.js";
|
|
32
32
|
import "./chunk-5OMOPUE6.js";
|
|
33
33
|
import {
|
|
34
34
|
runtimeExecutables
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-EWEY3ASH.js";
|
|
36
36
|
import "./chunk-J6KL3COD.js";
|
|
37
|
+
import "./chunk-JOGLKWN7.js";
|
|
37
38
|
|
|
38
39
|
// src/tui/startup/worker.ts
|
|
39
40
|
async function startWorkspaceWorker(request, runtime, memoryMb) {
|
|
@@ -83,4 +84,4 @@ async function startWorkspaceWorker(request, runtime, memoryMb) {
|
|
|
83
84
|
export {
|
|
84
85
|
startWorkspaceWorker
|
|
85
86
|
};
|
|
86
|
-
//# sourceMappingURL=worker-
|
|
87
|
+
//# sourceMappingURL=worker-4VBEX5KF.js.map
|
package/docs/compatibility.md
CHANGED
|
@@ -31,6 +31,11 @@ unsigned; installed through npm they run as they are, since npm sets no quaranti
|
|
|
31
31
|
| Antigravity (agy) | `antigravity` | `antigravity` | `agy` |
|
|
32
32
|
| OpenCode | `opencode` | not available | `opencode` |
|
|
33
33
|
|
|
34
|
+
The columns are what pmcp writes. Where you name a runtime yourself (`[[host.sessions]] runtime`,
|
|
35
|
+
`[tui] runtime` and `pmcp tui --runtime`, `pmcp marketplace export --runtime`, and a skill's
|
|
36
|
+
`verified-runtimes`), any spelling in the row is accepted: `agy` or `antigravity`, `claude` or
|
|
37
|
+
`claude-code`.
|
|
38
|
+
|
|
34
39
|
Which hook features each runtime supports, as measured, is in
|
|
35
40
|
[Runtime support](hooks.md#runtime-support). Provider login, folder trust and
|
|
36
41
|
tool approvals stay in each runtime; pmcp never answers login, auth, trust or hook-review
|
|
@@ -300,41 +300,42 @@ max_wait = 2700
|
|
|
300
300
|
load_grace = 600
|
|
301
301
|
```
|
|
302
302
|
|
|
303
|
-
| Key | Type | Default | Meaning
|
|
304
|
-
| ------------------- | -------------------------- | -------------------------------------------- |
|
|
305
|
-
| `enabled` | boolean | `true` | `false` runs every `pmcp heavy` command at once, gates without the lease and turns the guard off.
|
|
306
|
-
| `dir` | path | `~/.cache/pmcp/host` | Where the lock file (`heavy.lock`), the admission lock, the `running/` and `waiters/` records, the holder record and `heavy.log` live. Every tool sharing the lease names the same directory.
|
|
307
|
-
| `budget` | integer | `4` | The most weight that runs at once. `1` is one job at a time.
|
|
308
|
-
| `gate_alone` | boolean | `false` | `true` starts no job of another lane while a `gate` job runs or waits, so a land's gate never shares the host with a test or build that the same calm moment let in beside it. Jobs already running finish; `tiny` jobs still start.
|
|
309
|
-
| `
|
|
310
|
-
| `
|
|
311
|
-
| `
|
|
312
|
-
| `
|
|
313
|
-
| `
|
|
314
|
-
| `
|
|
315
|
-
| `
|
|
316
|
-
| `
|
|
317
|
-
| `
|
|
318
|
-
| `
|
|
319
|
-
| `
|
|
320
|
-
| `
|
|
321
|
-
| `
|
|
322
|
-
| `
|
|
323
|
-
| `
|
|
324
|
-
| `
|
|
325
|
-
| `
|
|
326
|
-
| `
|
|
327
|
-
| `
|
|
328
|
-
| `
|
|
329
|
-
| `
|
|
330
|
-
| `
|
|
331
|
-
| `
|
|
332
|
-
| `
|
|
333
|
-
| `io.
|
|
334
|
-
| `io.
|
|
335
|
-
| `
|
|
336
|
-
| `
|
|
337
|
-
| `
|
|
303
|
+
| Key | Type | Default | Meaning |
|
|
304
|
+
| ------------------- | -------------------------- | -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
305
|
+
| `enabled` | boolean | `true` | `false` runs every `pmcp heavy` command at once, gates without the lease and turns the guard off. |
|
|
306
|
+
| `dir` | path | `~/.cache/pmcp/host` | Where the lock file (`heavy.lock`), the admission lock, the `running/` and `waiters/` records, the holder record and `heavy.log` live. Every tool sharing the lease names the same directory. |
|
|
307
|
+
| `budget` | integer | `4` | The most weight that runs at once. `1` is one job at a time. |
|
|
308
|
+
| `gate_alone` | boolean | `false` | `true` starts no job of another lane while a `gate` job runs or waits, so a land's gate never shares the host with a test or build that the same calm moment let in beside it. Jobs already running finish; `tiny` jobs still start. |
|
|
309
|
+
| `age_limit` | seconds | `600` | An `interactive` or `bulk` waiter that has waited this long goes ahead of both lanes (still behind `gate` and `hook`), oldest first, and, as the first job the budget cannot fit, stops new admissions until it fits. Short jobs that keep arriving can then no longer hold a heavy one back indefinitely. From 0.33.0 a waiter also reaches its `load_grace` here when that comes later, so it may start below `hard_factor` instead of waiting for the soft limits. `0` keeps plain lane order and grace. |
|
|
310
|
+
| `lanes.<lane>` | integer | gate 1, hook 1, interactive 2, bulk 1 | How many jobs of a lane run at once; `0` closes the lane. |
|
|
311
|
+
| `weights.<lane>` | integer | gate 1, hook 1, interactive 2, bulk 3 | A job's weight when neither `--weight` nor a `commands` entry names one. A weight above the budget counts as the budget. |
|
|
312
|
+
| `commands` | tables | none | `argv` prefix, `lane` and `weight` for commands run without `--lane` or `--weight`; the first match wins. |
|
|
313
|
+
| `tiny` | argv lists | none | Commands so short (a few seconds) that they take no slot and no budget (weight 0, also `--weight 0`); only the hard ceiling holds them back, and the log still records them. |
|
|
314
|
+
| `per_session` | integer | `1` | How many jobs one agent session may have queued in the interactive lane, and in the bulk lane; the next one waits outside the queue holding no place. `0` is no cap. Gate and hook are exempt. |
|
|
315
|
+
| `marker_env` | name | `PMCP_HEAVY_LEASE` | Set to the job's pid for the leased command; a nested `pmcp heavy` whose marker names a running job runs at once. |
|
|
316
|
+
| `legacy_marker_env` | name | none | A second marker, set and honoured like `marker_env`, for a shell wrapper that shares `dir`. |
|
|
317
|
+
| `legacy_skip_env` | name | none | A second skip variable, honoured like `PMCP_HEAVY_DISABLE`, and set for the leased command so a nested shell wrapper runs at once. |
|
|
318
|
+
| `skip_always` | list of reasons | `[]` | Skip reasons honoured even for a bulk job, for callers that must never wait on the lease (a commit hook). They are allowed skip reasons too. |
|
|
319
|
+
| `skip_reasons` | list of reasons | `[]` | The further reasons `PMCP_HEAVY_DISABLE` may carry for an ordinary command, beside the built-in `nested` and `operator`. Lower-case words (`a-z`, digits, `-`, `_`, `.`, `:`). |
|
|
320
|
+
| `max_load` | number | the CPU count | A job starts only while the 1-minute load average is below this. |
|
|
321
|
+
| `max_io` | number | `8` | And while IO pressure (`some`, the `io_window` average) is below this. A host without pressure files checks load only; one without a load average checks neither. |
|
|
322
|
+
| `io_window` | string | `avg60` | Which pressure average the check reads: `avg10` follows spikes, `avg60` and `avg300` smooth them so the queue does not stall on a burst. |
|
|
323
|
+
| `max_wait` | seconds | `3600` | How long the `default` profile waits; then nothing runs and the exit is 75. |
|
|
324
|
+
| `load_grace` | seconds | `900` | After this long waiting on the host, a job may start into moderate overload, but only while no leased job runs, so a grace never starts two jobs together. `0` is no grace. |
|
|
325
|
+
| `hard_factor` | number | `2` | Never start, grace or not, while load or IO is at this many times its limit; such a job waits until `max_wait`, then exits 75. |
|
|
326
|
+
| `hold_warn` | seconds | `1800` | A job running past this prints one warning, and `pmcp heavy status` marks it. |
|
|
327
|
+
| `hold_max` | seconds | none | `pmcp heavy status` flags a job past this as over the limit. Nothing is killed. |
|
|
328
|
+
| `memory_max` | size | none | Runs each command in `systemd-run --user --scope -p MemoryMax=<size> -p MemorySwapMax=0` where that is available, so a runaway job is killed alone. Without a reachable user manager (no `XDG_RUNTIME_DIR`, or no manager socket in it, as under `env -i` or cron) the command runs without the scope and one line on stderr says why; if `systemd-run` still cannot reach the bus, the command runs once more without it. A missing scope never fails the command. |
|
|
329
|
+
| `heartbeat`, `poll` | seconds | `60`, `15` | How often a waiter prints that it is still waiting, and how often the host is reread. |
|
|
330
|
+
| `profiles.<name>` | table | gate 2700/600, hook 900/30 | `max_wait`, `load_grace` and `memory_max` for `pmcp heavy --profile <name>`. The `gate` and `hook` profiles also choose their lane. Any other profile starts from the top-level values. |
|
|
331
|
+
| `heavy` | argv lists, or `"default"` | `"default"` with the table, none without | The commands the `host.lease` guard expects under the lease, as argv prefixes. `"default"`, alone or as an item of the list, names pmcp's preset: `install` (and `i`, `ci`), `test`, `build` and `typecheck` for npm, pnpm, yarn and bun (`<manager> run <script>` too), and `cargo build`, `test` and `check`. An empty list turns the guard off. |
|
|
332
|
+
| `guard` | string | `observe` | The `host.lease` guard's mode: `observe` logs what it would have refused (at info, so `pmcp hooks report --switch-check host.lease` reads it at the default log level), `warn` tells the agent, `deny` refuses with the command to run instead (`pmcp heavy -- <command>`), `off`. A command already wrapped passes. Run a week in `observe`, read the report, then set `deny`. |
|
|
333
|
+
| `io.enabled` | `"auto"` or boolean | `"auto"` | Each leased job runs in its own `systemd-run --user` scope and gets its lane's `io.weight` where the cgroup v2 io controller reaches the user manager; elsewhere nothing changes. `true` also says when it could not; `false` never. The weights only divide the disk when the kernel's io.cost model and qos fit it: [`pmcp host io`](commands.md#host) measures the disk and checks both. |
|
|
334
|
+
| `io.weights.<lane>` | integer | gate 500, hook 300, interactive 100, bulk 25 | The scope's `io.weight` per lane (1 to 10000). |
|
|
335
|
+
| `io.max.<lane>` | string | none | An `io.max` line for the lane's scopes, such as `"259:0 wbps=50000000"`; the device is this host's to name. |
|
|
336
|
+
| `settle_window` | seconds | `60` | After a leased job ends, its own leftover IO may hold the queue only this long: then a waiter starts on a moderately busy host (below `hard_factor`). `0` turns it off. |
|
|
337
|
+
| `usage_cap` | bytes | `5000000` | `usage.jsonl` (one record per run) moves to `usage.jsonl.1` past this size. |
|
|
338
|
+
| `job_log_bytes` | bytes | `4194304` | Each job's stdout and stderr are kept in its ticket (`<dir>/tickets/<id>/log`), moving to `log.1` past this size; `pmcp heavy result <id> --log` prints them. `0` keeps nothing for blocking runs, which then write to the terminal directly; a submitted job always keeps its output. |
|
|
338
339
|
|
|
339
340
|
Lanes, in the order a short budget goes to them: `gate` (a land's gate),
|
|
340
341
|
`hook` (commit-hook work, a short slot that skips the host wait unless the host
|
package/docs/upgrading.md
CHANGED
|
@@ -11,7 +11,28 @@ Pin the new release first and set its new `pmcp.toml` key in a later change, onc
|
|
|
11
11
|
every checkout that reads that `pmcp.toml` runs the new pmcp. An older pmcp refuses a
|
|
12
12
|
key it does not know, and the commands that install the new release may run through
|
|
13
13
|
it: a lease-wrapped install (`pmcp heavy`) only warns about an unknown top-level
|
|
14
|
-
`[host.lease]` key from 0.30.1 on, and any other place still refuses one.
|
|
14
|
+
`[host.lease]` key from 0.30.1 on, and any other place still refuses one. From 0.32.0
|
|
15
|
+
on, a refused key in a checkout whose `package.json` pins a newer pmcp than the one
|
|
16
|
+
running says so and names the install to run.
|
|
17
|
+
|
|
18
|
+
## From 0.32 to 0.33
|
|
19
|
+
|
|
20
|
+
**A long wait also reaches grace sooner.** A waiter that has waited `age_limit` seconds now
|
|
21
|
+
counts as past its profile's `load_grace` when that is longer, so it may start into moderate
|
|
22
|
+
overload (below `hard_factor` times `max_load` and `max_io`) while no leased job runs. A
|
|
23
|
+
profile with `load_grace = 0` still has no grace.
|
|
24
|
+
|
|
25
|
+
**Runtime names: any spelling where you type one.** `[[host.sessions]] runtime`, `[tui] runtime`,
|
|
26
|
+
`pmcp tui --runtime`, `pmcp marketplace export --runtime` and a skill's `verified-runtimes`
|
|
27
|
+
accept every spelling of a runtime (`agy` or `antigravity`, `claude` or `claude-code`). What
|
|
28
|
+
pmcp writes is unchanged.
|
|
29
|
+
|
|
30
|
+
## From 0.31 to 0.32
|
|
31
|
+
|
|
32
|
+
**A long wait now outranks the lane order.** A `pmcp heavy` waiter that has waited
|
|
33
|
+
`[host.lease] age_limit` seconds (default 600) in the `interactive` or `bulk` lane goes ahead of
|
|
34
|
+
both lanes (`gate` and `hook` still go first) and holds the budget until it fits, so a bulk install no longer waits behind an endless stream of
|
|
35
|
+
interactive jobs. Set `age_limit = 0` to keep the plain lane order.
|
|
15
36
|
|
|
16
37
|
## From 0.25 to 0.26
|
|
17
38
|
|
package/gemini-extension.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"mcpServers": {
|
|
5
5
|
"pmcp": {
|
|
6
6
|
"type": "stdio",
|
|
7
7
|
"command": "npx",
|
|
8
|
-
"args": ["-y", "@modootoday/pmcp@0.
|
|
8
|
+
"args": ["-y", "@modootoday/pmcp@0.33.0", "serve"]
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
package/mcp.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modootoday/pmcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"author": "modootoday",
|
|
6
6
|
"description": "Use the skills your packages already ship, and keep your AI tools' project configuration in one place.",
|
|
@@ -136,9 +136,9 @@
|
|
|
136
136
|
"bun": ">=1.3.0"
|
|
137
137
|
},
|
|
138
138
|
"optionalDependencies": {
|
|
139
|
-
"@modootoday/pmcp-linux-x64": "0.
|
|
140
|
-
"@modootoday/pmcp-linux-arm64": "0.
|
|
141
|
-
"@modootoday/pmcp-darwin-x64": "0.
|
|
142
|
-
"@modootoday/pmcp-darwin-arm64": "0.
|
|
139
|
+
"@modootoday/pmcp-linux-x64": "0.33.0",
|
|
140
|
+
"@modootoday/pmcp-linux-arm64": "0.33.0",
|
|
141
|
+
"@modootoday/pmcp-darwin-x64": "0.33.0",
|
|
142
|
+
"@modootoday/pmcp-darwin-arm64": "0.33.0"
|
|
143
143
|
}
|
|
144
144
|
}
|
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "pmcp",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.33.0",
|
|
5
5
|
"description": "Find package skills and use native runtime project configuration.",
|
|
6
6
|
"author": { "name": "modootoday" },
|
|
7
7
|
"license": "Elastic-2.0",
|
package/plugins/pmcp/.mcp.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"mcpServers": {
|
|
5
5
|
"pmcp": {
|
|
6
6
|
"type": "stdio",
|
|
7
7
|
"command": "npx",
|
|
8
|
-
"args": ["-y", "@modootoday/pmcp@0.
|
|
8
|
+
"args": ["-y", "@modootoday/pmcp@0.33.0", "serve"]
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
package/plugins/pmcp/mcp.json
CHANGED
package/plugins/pmcp/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "pmcp",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.33.0",
|
|
5
5
|
"description": "Find package skills and use native runtime project configuration.",
|
|
6
6
|
"author": { "name": "modootoday" },
|
|
7
7
|
"license": "Elastic-2.0",
|
package/dist/chunk-3QW5KA52.js
DELETED
package/dist/chunk-BU65MNVU.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// src/harness/runtimes/registry.ts
|
|
2
|
-
var runtimeExecutables = {
|
|
3
|
-
"codex-cli": "codex",
|
|
4
|
-
"claude-code": "claude",
|
|
5
|
-
"gemini-cli": "gemini",
|
|
6
|
-
"grok-cli": "grok",
|
|
7
|
-
antigravity: "agy"
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
runtimeExecutables
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=chunk-BU65MNVU.js.map
|