@modootoday/pmcp 0.22.13 → 0.24.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/CONTRIBUTING.md +8 -0
- package/dist/{affected-ZWO2F5EM.js → affected-D6FRJPPI.js} +2 -2
- package/dist/{apply-OIKQ5SIY.js → apply-6JVJ7FDZ.js} +21 -20
- package/dist/{available-Z5MIDFPH.js → available-74CMIBPD.js} +9 -9
- package/dist/{broadcast-BF2QL3O7.js → broadcast-VKZY7WSD.js} +3 -3
- package/dist/{chunk-K2VU3B4W.js → chunk-25M2YWBH.js} +4 -4
- package/dist/chunk-2GZKA33O.js +173 -0
- package/dist/chunk-2HL2MFNI.js +159 -0
- package/dist/{chunk-4O4ZOSBQ.js → chunk-2MX5C7B2.js} +3 -3
- package/dist/chunk-2W2F5BWF.js +166 -0
- package/dist/chunk-43MXRTKH.js +134 -0
- package/dist/chunk-4VVQLWTS.js +93 -0
- package/dist/{chunk-ZKB7ZNKY.js → chunk-56VBB3H7.js} +4 -4
- package/dist/{chunk-JEL35P7S.js → chunk-5NDUWEMW.js} +2 -2
- package/dist/{chunk-5PNS6V5C.js → chunk-5QBOGEVE.js} +2 -2
- package/dist/{chunk-NNGGNXF2.js → chunk-62BC3K4Z.js} +2 -2
- package/dist/{chunk-7ZOQELXR.js → chunk-644GNYMB.js} +3 -3
- package/dist/{chunk-GNVME5AD.js → chunk-6UGHVU5B.js} +2 -2
- package/dist/{chunk-733WVP2R.js → chunk-7A6QIROT.js} +3 -3
- package/dist/{chunk-J3QUG6O5.js → chunk-7CHUMF3E.js} +2 -2
- package/dist/{chunk-INT7QLEU.js → chunk-7DJQASH3.js} +25 -6
- package/dist/{chunk-VNZTULFD.js → chunk-D2MHB5EF.js} +3 -3
- package/dist/{chunk-KEHB4FZP.js → chunk-E2E4HIEN.js} +49 -3
- package/dist/{chunk-G4ATQPQI.js → chunk-F3R5HEUB.js} +5 -1
- package/dist/{chunk-JW5NMQTU.js → chunk-HES44LTA.js} +4 -4
- package/dist/{chunk-RHJEGLYM.js → chunk-HF5D6B2U.js} +45 -6
- package/dist/{chunk-5OFQVW2K.js → chunk-HYXOJYVR.js} +2 -2
- package/dist/{chunk-UED3RH53.js → chunk-ISGHJHVH.js} +2 -2
- package/dist/chunk-JANBBPKP.js +50 -0
- package/dist/{chunk-XNML2KIC.js → chunk-JPYQDOEW.js} +3 -3
- package/dist/{chunk-ZS5IDQFJ.js → chunk-K6ATERWS.js} +4 -4
- package/dist/{chunk-737BENAU.js → chunk-LB2WXBPA.js} +5 -5
- package/dist/{chunk-5IZFEVPW.js → chunk-LI3BII4F.js} +2 -2
- package/dist/chunk-LTMHE5VL.js +7 -0
- package/dist/{chunk-XSWF7APE.js → chunk-OGCJO6HQ.js} +9 -8
- package/dist/{chunk-A7XCUR2C.js → chunk-Q6V274OB.js} +8 -6
- package/dist/{chunk-ISGBOJT7.js → chunk-QR4GXET7.js} +3 -3
- package/dist/chunk-QR6A3TYP.js +315 -0
- package/dist/{chunk-FOLA4EUJ.js → chunk-QY2P54Z2.js} +10 -2
- package/dist/{chunk-EIDIVIAD.js → chunk-QYLOIM4U.js} +9 -2
- package/dist/{chunk-P5D6RKMT.js → chunk-RZYZILU4.js} +5 -3
- package/dist/{chunk-A6DARDQ4.js → chunk-S6G7YWNE.js} +2 -2
- package/dist/{chunk-24L4MO7H.js → chunk-TIH7JFPJ.js} +2 -2
- package/dist/{chunk-5KWDQFVY.js → chunk-UFWW4H6V.js} +7 -8
- package/dist/chunk-UVTGY2R3.js +78 -0
- package/dist/{chunk-LLT5FQBE.js → chunk-VBVNOLRR.js} +7 -3
- package/dist/{chunk-ABTJQ4QV.js → chunk-WBPVNCQO.js} +20 -5
- package/dist/{chunk-T4GVN7XO.js → chunk-WNP2BXR7.js} +5 -5
- package/dist/{chunk-YGOWIJPE.js → chunk-WZYGM3FR.js} +6 -2
- package/dist/chunk-Y6NFETNG.js +232 -0
- package/dist/{cli-IHVNE3WL.js → cli-GFDT4YXM.js} +14 -15
- package/dist/{cli-FSSYFCV3.js → cli-WWNTQJPV.js} +18 -12
- package/dist/cli.js +307 -47
- package/dist/{completion-ZTTJVV4C.js → completion-I63UIDZ7.js} +25 -23
- package/dist/{diagnostics-XC5L6Z3E.js → diagnostics-RUJZBPNZ.js} +6 -6
- package/dist/{doctor-FGDSUBR3.js → doctor-CLUFTEFO.js} +21 -21
- package/dist/{entry-NNB2CQLZ.js → entry-QSJCFI5Z.js} +10 -10
- package/dist/{exec-mcp-ZU3Z3XT6.js → exec-mcp-AFPUJTN7.js} +9 -9
- package/dist/{harness-B7ANLH5M.js → harness-PPM32AI5.js} +26 -44
- package/dist/harness-launch-gate.js +4 -4
- package/dist/harness-worker.js +6 -6
- package/dist/{heavy-IIZBO4YM.js → heavy-TEHP5PHT.js} +112 -27
- package/dist/hooks-L4PXVEGR.js +24 -0
- package/dist/{host-5P4D7GSE.js → host-LBTL47X7.js} +18 -15
- package/dist/{host-XXWQ23LD.js → host-MU2GRH57.js} +7 -7
- package/dist/{host-run-AEWHFVQL.js → host-run-IRSAQA5Z.js} +6 -6
- package/dist/http.js +1 -1
- package/dist/{import-mcp-BQM5DKYH.js → import-mcp-QVPW6A2Q.js} +12 -12
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -10
- package/dist/init-46STH6FP.js +14 -0
- package/dist/{install-OFVLR7TI.js → install-5JH4DSFF.js} +10 -10
- package/dist/{invoke-3BQ5NG3P.js → invoke-I6C6UT6Q.js} +8 -8
- package/dist/{list-EU4MJOXA.js → list-HXG6EB7V.js} +12 -12
- package/dist/{list-WWYCGD3X.js → list-LV5EKCF6.js} +11 -7
- package/dist/{logout-6DFDYJUI.js → logout-SSUXJ6SE.js} +9 -9
- package/dist/{logs-BRF6DBKG.js → logs-2JEMSNSG.js} +7 -7
- package/dist/{mailbox-QYA2LQSE.js → mailbox-5FVFMQ2J.js} +6 -6
- package/dist/{mailbox-AQCTXO3H.js → mailbox-ZHZWZMAY.js} +14 -21
- package/dist/{mainline-O5AEHG3J.js → mainline-4XP6ZORU.js} +9 -8
- package/dist/{marketplace-TI5HFAHB.js → marketplace-2X3OOEPW.js} +10 -9
- package/dist/{mcp-HR5JFUW7.js → mcp-L6X45IOS.js} +4 -4
- package/dist/{mcp-4R53HSGY.js → mcp-PBTQ5SJW.js} +2 -2
- package/dist/{models-63NQBSV3.js → models-XSF45MCD.js} +9 -5
- package/dist/{pause-UF7FQDJX.js → pause-CMZOIHTJ.js} +3 -3
- package/dist/{preview-WSESS2UN.js → preview-465CQJBQ.js} +4 -4
- package/dist/{project-JXXL24WN.js → project-4JPKU2D7.js} +14 -12
- package/dist/{reindex-3GPKAFBW.js → reindex-D62HQAN2.js} +7 -7
- package/dist/{report-JUSKQPAC.js → report-UB7MXAUB.js} +10 -10
- package/dist/{resume-3WAROOQ3.js → resume-PAKIT4TT.js} +3 -3
- package/dist/run-OW7436TY.js +23 -0
- package/dist/{run-XRWU4L73.js → run-PMASXIGY.js} +8 -8
- package/dist/{serve-OEX5V5CD.js → serve-P3HJN6AF.js} +13 -13
- package/dist/{session-YZVX4NGN.js → session-3YVVO2GR.js} +6 -6
- package/dist/{setup-SWNAC2C7.js → setup-6AQUOWOH.js} +3 -2
- package/dist/{smoke-5BGJXAHX.js → smoke-6X6IXQIQ.js} +4 -4
- package/dist/{start-login-MG26NDE3.js → start-login-P7YDRTA3.js} +10 -10
- package/dist/{status-GKCIVAAR.js → status-4PYPTYUB.js} +4 -4
- package/dist/{status-LH7Q255G.js → status-DAXQKT35.js} +28 -27
- package/dist/{status-APADL7O2.js → status-DLGZDYEP.js} +18 -11
- package/dist/stdio.js +2 -2
- package/dist/{sweep-VTVPDAPY.js → sweep-VURZU6DI.js} +3 -3
- package/dist/{test-TK2J3IB7.js → test-H243OTSK.js} +12 -12
- package/dist/{tui-YTPHHKCW.js → tui-P6XTSTQO.js} +45 -19
- package/dist/{unbroadcast-CH7BAQ2G.js → unbroadcast-7AMLURCG.js} +3 -3
- package/dist/{validate-5QVZBE6W.js → validate-YXR7FJJX.js} +11 -9
- package/dist/{wait-4HYJJAWO.js → wait-HEODT7KV.js} +3 -3
- package/dist/{worker-RBXYAMR4.js → worker-5YJLIGTU.js} +8 -8
- package/dist/{worktree-create-FEZNQUQ6.js → worktree-create-FTSLMZWS.js} +2 -2
- package/docs/commands.md +65 -29
- package/docs/hooks.md +3 -3
- package/docs/project-configuration.md +54 -38
- package/docs/terminal-workspace.md +2 -0
- package/docs/upgrading.md +67 -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/plugins/pmcp/skills/headless-agents-ci-scaffold/SKILL.md +1 -1
- package/plugins/pmcp/skills/pmcp-project-init/SKILL.md +1 -1
- package/plugins/pmcp/skills/pmcp-sessions-and-git/SKILL.md +3 -2
- package/skills/headless-agents-ci-scaffold/SKILL.md +1 -1
- package/skills/pmcp-project-init/SKILL.md +1 -1
- package/skills/pmcp-sessions-and-git/SKILL.md +3 -2
- package/dist/chunk-2P4Z2NUX.js +0 -28
- package/dist/chunk-3Y3HDMHA.js +0 -108
- package/dist/chunk-74O7KZUH.js +0 -45
- package/dist/chunk-BN4XAXMQ.js +0 -65
- package/dist/chunk-E3DQB5LS.js +0 -48
- package/dist/chunk-JWRZDYB5.js +0 -59
- package/dist/chunk-LMUBBIE2.js +0 -83
- package/dist/chunk-QBSJL3SP.js +0 -162
- package/dist/chunk-VSTUKACC.js +0 -7
- package/dist/chunk-WFY7ATSZ.js +0 -116
- package/dist/hooks-IEJTW7BV.js +0 -24
- package/dist/init-L6GUO3PW.js +0 -14
- package/dist/run-VUUQS4WY.js +0 -19
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import {
|
|
2
|
+
harnessSpec,
|
|
3
|
+
tuiSpec
|
|
4
|
+
} from "./chunk-QR6A3TYP.js";
|
|
5
|
+
import {
|
|
6
|
+
marketplaceSpec
|
|
7
|
+
} from "./chunk-JANBBPKP.js";
|
|
8
|
+
import {
|
|
9
|
+
mcpSpec
|
|
10
|
+
} from "./chunk-UVTGY2R3.js";
|
|
11
|
+
import {
|
|
12
|
+
mailboxSpec
|
|
13
|
+
} from "./chunk-2HL2MFNI.js";
|
|
14
|
+
import {
|
|
15
|
+
gitSpec
|
|
16
|
+
} from "./chunk-4VVQLWTS.js";
|
|
17
|
+
import {
|
|
18
|
+
heavySpec
|
|
19
|
+
} from "./chunk-43MXRTKH.js";
|
|
20
|
+
import {
|
|
21
|
+
waitSpec
|
|
22
|
+
} from "./chunk-F3R5HEUB.js";
|
|
23
|
+
import {
|
|
24
|
+
sessionsSpec
|
|
25
|
+
} from "./chunk-2GZKA33O.js";
|
|
26
|
+
import {
|
|
27
|
+
logsSpec
|
|
28
|
+
} from "./chunk-WZYGM3FR.js";
|
|
29
|
+
import {
|
|
30
|
+
availableSpec,
|
|
31
|
+
installSpec,
|
|
32
|
+
previewSpec,
|
|
33
|
+
syncSpec
|
|
34
|
+
} from "./chunk-WBPVNCQO.js";
|
|
35
|
+
import {
|
|
36
|
+
doctorSpec,
|
|
37
|
+
projectSpec
|
|
38
|
+
} from "./chunk-HF5D6B2U.js";
|
|
39
|
+
import {
|
|
40
|
+
serveSpec
|
|
41
|
+
} from "./chunk-VBVNOLRR.js";
|
|
42
|
+
import {
|
|
43
|
+
indexSpec,
|
|
44
|
+
listSpec,
|
|
45
|
+
modelsSpec,
|
|
46
|
+
validateSpec
|
|
47
|
+
} from "./chunk-7DJQASH3.js";
|
|
48
|
+
import {
|
|
49
|
+
loginSpec,
|
|
50
|
+
logoutSpec,
|
|
51
|
+
whoamiSpec
|
|
52
|
+
} from "./chunk-QYLOIM4U.js";
|
|
53
|
+
import {
|
|
54
|
+
hooksSpec,
|
|
55
|
+
initSpec,
|
|
56
|
+
statusSpec
|
|
57
|
+
} from "./chunk-E2E4HIEN.js";
|
|
58
|
+
|
|
59
|
+
// src/commands/specs/completion.ts
|
|
60
|
+
var completionSpec = {
|
|
61
|
+
name: "completion",
|
|
62
|
+
examples: [
|
|
63
|
+
"pmcp completion bash > ~/.local/share/bash-completion/completions/pmcp",
|
|
64
|
+
'pmcp completion zsh > "${fpath[1]}/_pmcp"'
|
|
65
|
+
],
|
|
66
|
+
describe: "Print a shell completion script for bash, zsh or fish",
|
|
67
|
+
usage: "pmcp completion bash | zsh | fish"
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
// src/commands/registry.ts
|
|
71
|
+
var COMMANDS = [
|
|
72
|
+
{
|
|
73
|
+
...statusSpec,
|
|
74
|
+
load: async () => (await import("./status-DAXQKT35.js")).statusCommand
|
|
75
|
+
},
|
|
76
|
+
{ ...initSpec, load: async () => (await import("./init-46STH6FP.js")).initCommand },
|
|
77
|
+
{ ...hooksSpec, load: async () => (await import("./hooks-L4PXVEGR.js")).hooksCommand },
|
|
78
|
+
{ ...serveSpec, load: async () => (await import("./serve-P3HJN6AF.js")).serveCommand },
|
|
79
|
+
{ ...listSpec, load: async () => (await import("./list-LV5EKCF6.js")).listCommand },
|
|
80
|
+
{
|
|
81
|
+
...indexSpec,
|
|
82
|
+
load: async () => (await import("./reindex-D62HQAN2.js")).indexCommand
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
...modelsSpec,
|
|
86
|
+
load: async () => (await import("./models-XSF45MCD.js")).modelsCommand
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
...loginSpec,
|
|
90
|
+
load: async () => (await import("./session-3YVVO2GR.js")).loginCommand
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
...logoutSpec,
|
|
94
|
+
load: async () => (await import("./session-3YVVO2GR.js")).logoutCommand
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
...whoamiSpec,
|
|
98
|
+
load: async () => (await import("./session-3YVVO2GR.js")).whoamiCommand
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
...availableSpec,
|
|
102
|
+
load: async () => (await import("./available-74CMIBPD.js")).availableCommand
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
...previewSpec,
|
|
106
|
+
load: async () => (await import("./preview-465CQJBQ.js")).previewCommand
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
...installSpec,
|
|
110
|
+
load: async () => (await import("./install-5JH4DSFF.js")).installCommand
|
|
111
|
+
},
|
|
112
|
+
{ ...syncSpec, load: async () => (await import("./install-5JH4DSFF.js")).syncCommand },
|
|
113
|
+
{
|
|
114
|
+
...projectSpec,
|
|
115
|
+
load: async () => (await import("./project-4JPKU2D7.js")).projectCommand
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
...doctorSpec,
|
|
119
|
+
load: async () => (await import("./doctor-CLUFTEFO.js")).doctorCommand
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
...sessionsSpec,
|
|
123
|
+
load: async () => (await import("./cli-GFDT4YXM.js")).sessionsCommand
|
|
124
|
+
},
|
|
125
|
+
{ ...logsSpec, load: async () => (await import("./logs-2JEMSNSG.js")).logsCommand },
|
|
126
|
+
{ ...gitSpec, load: async () => (await import("./cli-WWNTQJPV.js")).gitCommand },
|
|
127
|
+
{
|
|
128
|
+
...heavySpec,
|
|
129
|
+
load: async () => (await import("./heavy-TEHP5PHT.js")).heavyCommand
|
|
130
|
+
},
|
|
131
|
+
{ ...waitSpec, load: async () => (await import("./wait-HEODT7KV.js")).waitCommand },
|
|
132
|
+
{ ...mcpSpec, load: async () => (await import("./mcp-L6X45IOS.js")).mcpCommand },
|
|
133
|
+
{
|
|
134
|
+
...validateSpec,
|
|
135
|
+
load: async () => (await import("./validate-YXR7FJJX.js")).validateCommand
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
...mailboxSpec,
|
|
139
|
+
load: async () => (await import("./mailbox-ZHZWZMAY.js")).mailboxCommand
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
...harnessSpec,
|
|
143
|
+
load: async () => (await import("./harness-PPM32AI5.js")).harnessCommand
|
|
144
|
+
},
|
|
145
|
+
{ ...tuiSpec, load: async () => (await import("./tui-P6XTSTQO.js")).tuiCommand },
|
|
146
|
+
{
|
|
147
|
+
...marketplaceSpec,
|
|
148
|
+
load: async () => (await import("./marketplace-2X3OOEPW.js")).marketplaceCommand
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
...completionSpec,
|
|
152
|
+
load: async () => (await import("./completion-I63UIDZ7.js")).completionCommand
|
|
153
|
+
}
|
|
154
|
+
];
|
|
155
|
+
var PLANNED = [];
|
|
156
|
+
function commandNamed(name) {
|
|
157
|
+
return COMMANDS.find((command) => command.name === name);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export {
|
|
161
|
+
completionSpec,
|
|
162
|
+
COMMANDS,
|
|
163
|
+
PLANNED,
|
|
164
|
+
commandNamed
|
|
165
|
+
};
|
|
166
|
+
//# sourceMappingURL=chunk-2W2F5BWF.js.map
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import {
|
|
2
|
+
jsonOption,
|
|
3
|
+
nearestConfigOption
|
|
4
|
+
} from "./chunk-JPYQDOEW.js";
|
|
5
|
+
|
|
6
|
+
// src/commands/specs/host.ts
|
|
7
|
+
var heavySpec = {
|
|
8
|
+
name: "heavy",
|
|
9
|
+
examples: [
|
|
10
|
+
"pmcp heavy -- npm test",
|
|
11
|
+
'pmcp heavy --label "web build" --profile gate -- npm run build'
|
|
12
|
+
],
|
|
13
|
+
subcommands: [
|
|
14
|
+
{
|
|
15
|
+
name: "submit",
|
|
16
|
+
describe: "Queue a command and return its ticket at once",
|
|
17
|
+
usage: "pmcp heavy submit [--label <text>] [--lane <lane>] [--weight <n>] -- <command...>",
|
|
18
|
+
options: ["label", "profile", "lane", "weight", "config", "json"],
|
|
19
|
+
examples: ["pmcp heavy submit --lane bulk -- npm run build"]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "wait",
|
|
23
|
+
describe: "Wait for a submitted ticket to finish",
|
|
24
|
+
usage: "pmcp heavy wait <ticket> [--timeout <s>]",
|
|
25
|
+
options: ["timeout", "config", "json"],
|
|
26
|
+
examples: ["pmcp heavy wait 7f3a --timeout 900"]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "result",
|
|
30
|
+
describe: "The exit code and log of a finished ticket",
|
|
31
|
+
usage: "pmcp heavy result <ticket>",
|
|
32
|
+
options: ["config", "json"],
|
|
33
|
+
examples: ["pmcp heavy result 7f3a"]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: "queue",
|
|
37
|
+
describe: "The queued and running jobs by lane",
|
|
38
|
+
usage: "pmcp heavy queue [--json]",
|
|
39
|
+
options: ["config", "json"],
|
|
40
|
+
examples: ["pmcp heavy queue --json"]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: "promote",
|
|
44
|
+
describe: "Run a queued job now (emergency; logged)",
|
|
45
|
+
usage: "pmcp heavy promote <id> --now --reason <text>",
|
|
46
|
+
options: ["now", "reason", "config"],
|
|
47
|
+
examples: ['pmcp heavy promote 7f3a --now --reason "release blocker"']
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: "priority",
|
|
51
|
+
describe: "Move a queued job to another lane or position",
|
|
52
|
+
usage: "pmcp heavy priority <id> <lane|+N|-N> --reason <text>",
|
|
53
|
+
options: ["reason", "config"],
|
|
54
|
+
examples: ['pmcp heavy priority 7f3a gate --reason "blocks the land"']
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "cancel",
|
|
58
|
+
describe: "Withdraw a queued job; --force also stops a running one",
|
|
59
|
+
usage: "pmcp heavy cancel <id> [--force]",
|
|
60
|
+
options: ["force", "reason", "config"],
|
|
61
|
+
examples: ["pmcp heavy cancel 7f3a"]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "status",
|
|
65
|
+
describe: "The lease, its holder, waiters and the host readings",
|
|
66
|
+
usage: "pmcp heavy status [--json]",
|
|
67
|
+
options: ["config", "json"],
|
|
68
|
+
examples: ["pmcp heavy status --json"]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: "stats",
|
|
72
|
+
describe: "Recorded run times and weights per command",
|
|
73
|
+
usage: "pmcp heavy stats [--json]",
|
|
74
|
+
options: ["config", "json"],
|
|
75
|
+
examples: ["pmcp heavy stats"]
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
describe: "Run a heavy command within the host-wide budget, by lane, once the host has room",
|
|
79
|
+
usage: "pmcp heavy [--label <text>] [--profile <name>] [--lane <lane>] [--weight <n>] [--now --reason <text>] -- <command...> | pmcp heavy <subcommand> [options]",
|
|
80
|
+
options: [
|
|
81
|
+
nearestConfigOption,
|
|
82
|
+
jsonOption,
|
|
83
|
+
{
|
|
84
|
+
name: "label",
|
|
85
|
+
describe: "What status and the log call this job (default: the command).",
|
|
86
|
+
placeholder: "<text>"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "profile",
|
|
90
|
+
describe: "Wait limits from [host.lease.profiles.<name>] (default: default).",
|
|
91
|
+
placeholder: "<name>"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: "now",
|
|
95
|
+
describe: "Emergency: run at once, outside the lanes, the budget and the host check, still counted in the running weight; needs --reason.",
|
|
96
|
+
boolean: true
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: "reason",
|
|
100
|
+
describe: "Why: a --now run or a promote cannot wait, a priority change or cancel was needed; logged.",
|
|
101
|
+
placeholder: "<text>"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: "timeout",
|
|
105
|
+
describe: "wait: give up after this many seconds and exit 75.",
|
|
106
|
+
placeholder: "<s>"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: "force",
|
|
110
|
+
describe: "cancel: also stop a job that is already running.",
|
|
111
|
+
boolean: true
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
name: "ticket",
|
|
115
|
+
describe: "Internal: the submitted ticket this run belongs to.",
|
|
116
|
+
placeholder: "<id>"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
name: "lane",
|
|
120
|
+
describe: "Queue in this lane: gate, hook, interactive or bulk; a short budget goes to them in that order (default: from the profile, [host.lease] commands, else interactive).",
|
|
121
|
+
placeholder: "<lane>"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: "weight",
|
|
125
|
+
describe: "How much of the host budget the command takes (default: [host.lease] commands, else the lane's weight).",
|
|
126
|
+
placeholder: "<n>"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export {
|
|
132
|
+
heavySpec
|
|
133
|
+
};
|
|
134
|
+
//# sourceMappingURL=chunk-43MXRTKH.js.map
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import {
|
|
2
|
+
configOption,
|
|
3
|
+
jsonOption
|
|
4
|
+
} from "./chunk-JPYQDOEW.js";
|
|
5
|
+
|
|
6
|
+
// src/commands/specs/git.ts
|
|
7
|
+
var gitSpec = {
|
|
8
|
+
name: "git",
|
|
9
|
+
examples: ["pmcp git worktree create review", "pmcp git deliver --json"],
|
|
10
|
+
subcommands: [
|
|
11
|
+
{
|
|
12
|
+
name: "worktree create",
|
|
13
|
+
describe: "Make a linked worktree on a new branch from the upstream",
|
|
14
|
+
usage: "pmcp git worktree create <alias> [--base <ref>]",
|
|
15
|
+
options: ["base", "config"],
|
|
16
|
+
examples: ["pmcp git worktree create review --base origin/main"]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: "worktree list",
|
|
20
|
+
describe: "The main checkout and each linked worktree, with behind/ahead",
|
|
21
|
+
usage: "pmcp git worktree list [--json]",
|
|
22
|
+
options: ["config", "json"],
|
|
23
|
+
examples: ["pmcp git worktree list --json"]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: "worktree sync",
|
|
27
|
+
describe: "Move this worktree onto the mainline when that loses nothing",
|
|
28
|
+
usage: "pmcp git worktree sync",
|
|
29
|
+
options: ["config"],
|
|
30
|
+
examples: ["pmcp git worktree sync"]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "deliver",
|
|
34
|
+
describe: "Replay, gate and push commits to the mainline",
|
|
35
|
+
usage: "pmcp git deliver [<commit>...] [--during-pause] [--no-push] [--json]",
|
|
36
|
+
options: ["during-pause", "no-push", "config", "json"],
|
|
37
|
+
examples: ["pmcp git deliver", "pmcp git deliver 1a2b3c4 --no-push"]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: "sync",
|
|
41
|
+
describe: "Move the main checkout, or this desk, to the mainline",
|
|
42
|
+
usage: "pmcp git sync",
|
|
43
|
+
options: ["config"],
|
|
44
|
+
examples: ["pmcp git sync"]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: "affected",
|
|
48
|
+
describe: "The workspace members a delta touches, with their consumers",
|
|
49
|
+
usage: "pmcp git affected --base <ref> [--head <ref>] [--tests-only] [--json]",
|
|
50
|
+
options: ["base", "head", "tests-only", "config", "json"],
|
|
51
|
+
examples: [
|
|
52
|
+
"pmcp git affected --base origin/main",
|
|
53
|
+
"pmcp git affected --base HEAD~3 --tests-only --json"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
describe: "Create and sync worktrees, deliver commits to the mainline, sync the main checkout",
|
|
58
|
+
usage: "pmcp git <subcommand> [options]",
|
|
59
|
+
options: [
|
|
60
|
+
jsonOption,
|
|
61
|
+
configOption,
|
|
62
|
+
{
|
|
63
|
+
name: "base",
|
|
64
|
+
describe: "Start a new worktree from this ref instead of the upstream; for affected, the ref the delta starts at",
|
|
65
|
+
placeholder: "<ref>"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: "head",
|
|
69
|
+
describe: "For affected, the ref the delta ends at (default HEAD)",
|
|
70
|
+
placeholder: "<ref>"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "tests-only",
|
|
74
|
+
describe: "For affected, print changed members without their consumers",
|
|
75
|
+
boolean: true
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: "during-pause",
|
|
79
|
+
describe: "Deliver although the sessions are paused",
|
|
80
|
+
boolean: true
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
name: "no-push",
|
|
84
|
+
describe: "Replay and gate, then stop without pushing",
|
|
85
|
+
boolean: true
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export {
|
|
91
|
+
gitSpec
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=chunk-4VVQLWTS.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
configFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7CHUMF3E.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-25M2YWBH.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y6NFETNG.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/mcp/server.ts
|
|
12
12
|
function serverFrom(context) {
|
|
@@ -25,4 +25,4 @@ function serverFrom(context) {
|
|
|
25
25
|
export {
|
|
26
26
|
serverFrom
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-56VBB3H7.js.map
|
|
@@ -37,7 +37,7 @@ var CATALOG_OPTIONS = [
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
name: "config",
|
|
40
|
-
describe: "A pmcp.toml to read instead of the nearest one
|
|
40
|
+
describe: "A pmcp.toml to read instead of the nearest one.",
|
|
41
41
|
placeholder: "<file>"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
@@ -50,4 +50,4 @@ var CATALOG_OPTIONS = [
|
|
|
50
50
|
export {
|
|
51
51
|
CATALOG_OPTIONS
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=chunk-
|
|
53
|
+
//# sourceMappingURL=chunk-5NDUWEMW.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.24.0";
|
|
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-5QBOGEVE.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
nativeBinary,
|
|
9
9
|
ptyBinary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7A6QIROT.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-62BC3K4Z.js.map
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
splitKeyed,
|
|
20
20
|
versionMatches,
|
|
21
21
|
withoutBlock
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-25M2YWBH.js";
|
|
23
23
|
import {
|
|
24
24
|
lockVersionProblem,
|
|
25
25
|
readLock,
|
|
26
26
|
replaceFile
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7A6QIROT.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-644GNYMB.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-7A6QIROT.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-6UGHVU5B.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readLeaseSettings
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QY2P54Z2.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-LTMHE5VL.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-7A6QIROT.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ArgumentError,
|
|
3
3
|
one
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y6NFETNG.js";
|
|
5
5
|
import {
|
|
6
6
|
ConfigError,
|
|
7
7
|
findConfig,
|
|
@@ -26,4 +26,4 @@ function configFrom(context) {
|
|
|
26
26
|
export {
|
|
27
27
|
configFrom
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-7CHUMF3E.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CATALOG_OPTIONS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5NDUWEMW.js";
|
|
4
4
|
|
|
5
5
|
// src/commands/options/embedding.ts
|
|
6
6
|
var EMBEDDING_OPTIONS = [
|
|
@@ -54,15 +54,24 @@ var EMBEDDING_OPTIONS = [
|
|
|
54
54
|
// src/commands/specs/catalog.ts
|
|
55
55
|
var listSpec = {
|
|
56
56
|
name: "list",
|
|
57
|
+
examples: ["pmcp list", "pmcp list --scope @acme/ --json"],
|
|
57
58
|
describe: "List the skills discovered in node_modules and marketplaces",
|
|
58
59
|
usage: "pmcp list [--root <dir>] [--scope <prefix>] [--marketplace <dir>] [--package <dir>] [--workspace <dir|glob>] [--config <file> | --no-config] [--json]",
|
|
59
60
|
options: [
|
|
60
61
|
...CATALOG_OPTIONS,
|
|
61
|
-
{
|
|
62
|
+
{
|
|
63
|
+
name: "json",
|
|
64
|
+
describe: "Print the result as one JSON envelope on stdout.",
|
|
65
|
+
boolean: true
|
|
66
|
+
}
|
|
62
67
|
]
|
|
63
68
|
};
|
|
64
69
|
var indexSpec = {
|
|
65
70
|
name: "index",
|
|
71
|
+
examples: [
|
|
72
|
+
"pmcp index",
|
|
73
|
+
"pmcp index --model embeddinggemma-2 --dtype q4 --dry-run"
|
|
74
|
+
],
|
|
66
75
|
describe: "Encode the catalog so ranking can be semantic",
|
|
67
76
|
usage: "pmcp index [--root <dir>] [--model <id>]",
|
|
68
77
|
options: [
|
|
@@ -76,7 +85,7 @@ var indexSpec = {
|
|
|
76
85
|
},
|
|
77
86
|
{
|
|
78
87
|
name: "json",
|
|
79
|
-
describe: "
|
|
88
|
+
describe: "Print the result as one JSON envelope on stdout.",
|
|
80
89
|
boolean: true
|
|
81
90
|
},
|
|
82
91
|
{
|
|
@@ -88,19 +97,29 @@ var indexSpec = {
|
|
|
88
97
|
};
|
|
89
98
|
var modelsSpec = {
|
|
90
99
|
name: "models",
|
|
100
|
+
examples: ["pmcp models", "pmcp models --json"],
|
|
91
101
|
describe: "List embedding presets without loading or downloading models",
|
|
92
102
|
usage: "pmcp models [--json]",
|
|
93
103
|
options: [
|
|
94
|
-
{
|
|
104
|
+
{
|
|
105
|
+
name: "json",
|
|
106
|
+
describe: "Print the result as one JSON envelope on stdout.",
|
|
107
|
+
boolean: true
|
|
108
|
+
}
|
|
95
109
|
]
|
|
96
110
|
};
|
|
97
111
|
var validateSpec = {
|
|
98
112
|
name: "validate",
|
|
113
|
+
examples: ["pmcp validate", "pmcp validate ./skills/review --json"],
|
|
99
114
|
describe: "Check skills against the Agent Skills specification: given directories, or every skill the catalog reaches",
|
|
100
115
|
usage: "pmcp validate [<skill-dir>...] [--root <dir>] [--marketplace <dir>] [--package <dir>] [--workspace <dir>] [--config <file> | --no-config] [--json]",
|
|
101
116
|
options: [
|
|
102
117
|
...CATALOG_OPTIONS,
|
|
103
|
-
{
|
|
118
|
+
{
|
|
119
|
+
name: "json",
|
|
120
|
+
describe: "Print the result as one JSON envelope on stdout.",
|
|
121
|
+
boolean: true
|
|
122
|
+
}
|
|
104
123
|
]
|
|
105
124
|
};
|
|
106
125
|
|
|
@@ -111,4 +130,4 @@ export {
|
|
|
111
130
|
modelsSpec,
|
|
112
131
|
validateSpec
|
|
113
132
|
};
|
|
114
|
-
//# sourceMappingURL=chunk-
|
|
133
|
+
//# sourceMappingURL=chunk-7DJQASH3.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-62BC3K4Z.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-LI3BII4F.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-D2MHB5EF.js.map
|