@modootoday/pmcp 0.24.1 → 0.26.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-IPFJM2KD.js → affected-4FILH743.js} +174 -77
- package/dist/{apply-CDJQJAZH.js → apply-HJUCYQDQ.js} +18 -15
- package/dist/{broadcast-VKZY7WSD.js → broadcast-U7ZYOJWE.js} +7 -4
- package/dist/{chunk-GEDRPMBH.js → chunk-2GL5L2G5.js} +2 -2
- package/dist/{chunk-AQM2JZMB.js → chunk-2JUHFM4V.js} +2 -2
- package/dist/{chunk-UKR64U7J.js → chunk-374AZ4J4.js} +2 -2
- package/dist/{chunk-MZ52S4YJ.js → chunk-3JOFDNL4.js} +2 -2
- package/dist/{chunk-264DIB5U.js → chunk-3KISMGVP.js} +4 -4
- package/dist/{chunk-V5PXMLLL.js → chunk-6XE3WW7S.js} +3 -3
- package/dist/{chunk-7CGGDX7X.js → chunk-7FHOSWNQ.js} +2 -2
- package/dist/{chunk-5NQZGNKT.js → chunk-7PBWLYCO.js} +3 -3
- package/dist/{chunk-2GZKA33O.js → chunk-A4P3IIPE.js} +2 -2
- package/dist/{chunk-3O3JZTUU.js → chunk-C7Y2MBCN.js} +3 -3
- package/dist/chunk-D7IDT7OA.js +21 -0
- package/dist/chunk-E272CFPS.js +14 -0
- package/dist/chunk-FLG7VRTC.js +1 -0
- package/dist/{chunk-X3RUXLAV.js → chunk-FXDGW2IH.js} +3 -3
- package/dist/{chunk-DLIO2D7S.js → chunk-GIL3RBRX.js} +27 -20
- package/dist/{chunk-ARXCYFFZ.js → chunk-GQRDEIQA.js} +22 -2
- package/dist/chunk-J43Z4O3G.js +7 -0
- package/dist/chunk-KLIYFD3W.js +32 -0
- package/dist/{chunk-PG62GOPU.js → chunk-KQV2EPAP.js} +2 -2
- package/dist/{chunk-LNKAR3IS.js → chunk-LCPCRZ7N.js} +2 -2
- package/dist/chunk-NQCAKDRY.js +156 -0
- package/dist/{chunk-3SEJNT6F.js → chunk-NQZMGQFG.js} +5 -5
- package/dist/{chunk-DGXZBQCA.js → chunk-OBCBCLS2.js} +7 -7
- package/dist/{chunk-D4FIBB2G.js → chunk-OG2ESRQP.js} +5 -5
- package/dist/{chunk-43MXRTKH.js → chunk-OHCUPXU4.js} +26 -8
- package/dist/chunk-OIKT4SYO.js +42 -0
- package/dist/{chunk-3V37OZQH.js → chunk-PAY6HEEY.js} +2 -2
- package/dist/{chunk-QY2P54Z2.js → chunk-PZ6D3WKD.js} +125 -8
- package/dist/{chunk-MOKZPZZO.js → chunk-Q5BQIRM3.js} +2 -2
- package/dist/{chunk-VYQJPT27.js → chunk-S2FUWBLO.js} +18 -4
- package/dist/{chunk-OGCJO6HQ.js → chunk-TQRLWO4F.js} +2 -2
- package/dist/{chunk-VBWB2T3C.js → chunk-UVPIVSZB.js} +14 -6
- package/dist/{chunk-MHKY6TNF.js → chunk-VN34GLGJ.js} +3 -3
- package/dist/chunk-WUFNKK3U.js +71 -0
- package/dist/{chunk-2ZH77O2D.js → chunk-Y7FYCVUK.js} +646 -103
- package/dist/{chunk-HES44LTA.js → chunk-YJVSN6UN.js} +29 -5
- package/dist/{chunk-EWYLWBKS.js → chunk-YKICVMF7.js} +22 -5
- package/dist/{cli-OV5LSSGE.js → cli-FVUHK2NB.js} +7 -7
- package/dist/{cli-GFDT4YXM.js → cli-ZOY2274X.js} +9 -9
- package/dist/cli.js +40 -6
- package/dist/{completion-QNDCU4MF.js → completion-ZKWGPMEK.js} +6 -5
- package/dist/{diagnostics-TPK3VC5F.js → diagnostics-IM2OPAPL.js} +7 -7
- package/dist/{doctor-K2LADSW2.js → doctor-VZTHEPVC.js} +32 -20
- package/dist/{entry-HFQHKL5L.js → entry-Q4EI4PNO.js} +13 -13
- package/dist/{exec-mcp-I2YGGWY4.js → exec-mcp-AWGUQVT2.js} +15 -12
- package/dist/{harness-BMWGAXCF.js → harness-L4C5XWKR.js} +3 -3
- package/dist/harness-launch-gate.js +5 -5
- package/dist/harness-worker.js +7 -7
- package/dist/{heavy-G6CYQQ7O.js → heavy-OG3UVZNY.js} +327 -131
- package/dist/hook-body.js +664 -161
- package/dist/{hook-spec-Bd24eo2L.d.ts → hook-spec-u7hnz571.d.ts} +10 -0
- package/dist/{hooks-R7AYQXHY.js → hooks-2E6PJJQK.js} +4 -4
- package/dist/{host-PLE2T55E.js → host-OQDBQJB2.js} +8 -8
- package/dist/{host-EUD6GLWV.js → host-RJJGTKWA.js} +20 -65
- package/dist/{host-run-QFNGIDL5.js → host-run-PWCIXJDN.js} +6 -6
- package/dist/http.js +1 -1
- package/dist/{import-mcp-DVKJOEOE.js → import-mcp-2H2NRUCL.js} +14 -11
- package/dist/index.d.ts +2 -2
- package/dist/index.js +18 -15
- package/dist/{init-DKWNL62M.js → init-O2UCU2WT.js} +2 -2
- package/dist/{invoke-U6JTPTXT.js → invoke-SJ3JHRJU.js} +9 -9
- package/dist/{list-YKQFJN3G.js → list-SJVXZGKK.js} +17 -14
- package/dist/{logout-5YSKC46N.js → logout-ROKXWR3T.js} +15 -12
- package/dist/{logs-2JEMSNSG.js → logs-J4W6GFMK.js} +4 -4
- package/dist/{mailbox-5FVFMQ2J.js → mailbox-6MHH6CUA.js} +22 -8
- package/dist/{mainline-D3PSR6AJ.js → mainline-SWZPKA7U.js} +19 -9
- package/dist/{mcp-CHKKXHBB.js → mcp-U7MVFAB4.js} +2 -2
- package/dist/owners-MPI22SFU.js +63 -0
- package/dist/{pause-CMZOIHTJ.js → pause-3IMVYXQQ.js} +7 -4
- package/dist/project/hook-adapter.d.ts +1 -1
- package/dist/{project-QEYXISHC.js → project-MGUYHUF7.js} +4 -4
- package/dist/{report-UB7MXAUB.js → report-MWXB5XKE.js} +5 -5
- package/dist/{resume-PAKIT4TT.js → resume-7LCSV4X3.js} +7 -4
- package/dist/{run-HKMYYEZJ.js → run-DDWLS6FY.js} +14 -11
- package/dist/{run-FYKDIW4C.js → run-TBO5JO4Y.js} +4 -4
- package/dist/{serve-QZNG5UUV.js → serve-RBQYB3FP.js} +3 -3
- package/dist/{setup-GRWLDBVB.js → setup-7JHWLV7K.js} +6 -4
- package/dist/{smoke-6X6IXQIQ.js → smoke-GZECLXOJ.js} +3 -3
- package/dist/{start-login-4GPM32RA.js → start-login-SOTNDUP6.js} +15 -12
- package/dist/{status-55CD352M.js → status-EBIUQIGY.js} +35 -30
- package/dist/{status-4PYPTYUB.js → status-QFMN7IUG.js} +8 -5
- package/dist/{status-W6SCF2GF.js → status-TSTOFNZU.js} +15 -12
- package/dist/stdio.js +2 -2
- package/dist/{sweep-VURZU6DI.js → sweep-BS7HVSNP.js} +7 -4
- package/dist/{test-XYEMYZ2P.js → test-4PZHHWOQ.js} +28 -16
- package/dist/{tui-FXSWN2PV.js → tui-QD2LMXHV.js} +4 -4
- package/dist/{unbroadcast-7AMLURCG.js → unbroadcast-GRGX3F6T.js} +7 -4
- package/dist/{worker-Q4I4EIAJ.js → worker-SPJ4HFWV.js} +11 -11
- package/dist/{worktree-list-2HV6ODBS.js → worktree-list-WZC75NLF.js} +8 -9
- package/dist/{worktree-sync-MUVKK2CV.js → worktree-sync-BQZD4J73.js} +5 -2
- package/docs/commands.md +18 -7
- package/docs/git-workflow.md +40 -5
- package/docs/glossary.md +1 -1
- package/docs/hooks.md +75 -16
- package/docs/project-configuration.md +136 -40
- package/docs/sessions.md +9 -2
- package/docs/upgrading.md +71 -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-65H4PN33.js +0 -7
- package/dist/chunk-7TD53M7L.js +0 -13
- package/dist/chunk-FQLCD4HU.js +0 -24
|
@@ -1,21 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
storeFrom
|
|
3
|
+
} from "./chunk-YJVSN6UN.js";
|
|
1
4
|
import {
|
|
2
5
|
inferSession
|
|
3
6
|
} from "./chunk-65BW7Y6O.js";
|
|
4
7
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./chunk-
|
|
8
|
+
isOperator
|
|
9
|
+
} from "./chunk-OIKT4SYO.js";
|
|
7
10
|
import {
|
|
8
11
|
pmcpCommand
|
|
9
12
|
} from "./chunk-EATCUWGG.js";
|
|
10
13
|
import {
|
|
11
14
|
ptyRef
|
|
12
15
|
} from "./chunk-OFJIMBTL.js";
|
|
16
|
+
import "./chunk-NQCAKDRY.js";
|
|
13
17
|
import {
|
|
14
18
|
addressedTo,
|
|
15
19
|
inboxKey,
|
|
16
20
|
normalizeSelector,
|
|
17
21
|
sentBy
|
|
18
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PAY6HEEY.js";
|
|
19
23
|
import {
|
|
20
24
|
ancestors
|
|
21
25
|
} from "./chunk-Z6WRFOFT.js";
|
|
@@ -24,7 +28,7 @@ import {
|
|
|
24
28
|
many,
|
|
25
29
|
one
|
|
26
30
|
} from "./chunk-Y6NFETNG.js";
|
|
27
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-KLIYFD3W.js";
|
|
28
32
|
import "./chunk-GUHOEIHP.js";
|
|
29
33
|
import "./chunk-IJBSOWHK.js";
|
|
30
34
|
import "./chunk-GJXOFDJT.js";
|
|
@@ -93,6 +97,7 @@ async function wakeRecipients(store, message, context) {
|
|
|
93
97
|
}
|
|
94
98
|
|
|
95
99
|
// src/sessions/cli/mailbox.ts
|
|
100
|
+
var OPERATOR = "operator";
|
|
96
101
|
function mailboxOf(context) {
|
|
97
102
|
const { store } = storeFrom(context);
|
|
98
103
|
if (!store.mailbox.settings.enabled)
|
|
@@ -106,15 +111,24 @@ function sessionOf(context, store) {
|
|
|
106
111
|
if (given || one(context.args, "by")) return given;
|
|
107
112
|
const found = inferSession(context.env, store.registry.list(), ancestors());
|
|
108
113
|
if (!found.session && found.runtime)
|
|
109
|
-
|
|
110
|
-
`running inside ${found.runtime} but its session is unknown;
|
|
114
|
+
throw new ArgumentError(
|
|
115
|
+
`running inside ${found.runtime} but its session is unknown; pass --session <id> (the id is in the mailbox notice) or --by <name>`
|
|
111
116
|
);
|
|
112
117
|
return found.session;
|
|
113
118
|
}
|
|
119
|
+
function aliasOf(context, session, own) {
|
|
120
|
+
const by = one(context.args, "by");
|
|
121
|
+
if (by !== void 0 && by !== OPERATOR) return by;
|
|
122
|
+
if (by === void 0 && (session || own)) return own;
|
|
123
|
+
if (isOperator(context)) return OPERATOR;
|
|
124
|
+
throw new ArgumentError(
|
|
125
|
+
by === OPERATOR ? "--by operator is for the operator's own terminal; name yourself with --by <name>" : "say who you are with --session <id> or --by <name>: no agent session or operator terminal was found"
|
|
126
|
+
);
|
|
127
|
+
}
|
|
114
128
|
function caller(context, store) {
|
|
115
129
|
const session = sessionOf(context, store);
|
|
116
130
|
const record = session ? store.registry.get(session) : null;
|
|
117
|
-
const alias =
|
|
131
|
+
const alias = aliasOf(context, session, record?.alias);
|
|
118
132
|
const roles = Array.isArray(record?.["roles"]) ? record["roles"] : [];
|
|
119
133
|
return {
|
|
120
134
|
key: inboxKey({
|
|
@@ -249,4 +263,4 @@ export {
|
|
|
249
263
|
reply,
|
|
250
264
|
send
|
|
251
265
|
};
|
|
252
|
-
//# sourceMappingURL=mailbox-
|
|
266
|
+
//# sourceMappingURL=mailbox-6MHH6CUA.js.map
|
|
@@ -7,6 +7,9 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
off
|
|
9
9
|
} from "./chunk-YIXDHQYE.js";
|
|
10
|
+
import {
|
|
11
|
+
requireOperatorFor
|
|
12
|
+
} from "./chunk-OIKT4SYO.js";
|
|
10
13
|
import "./chunk-DZ2MRTYT.js";
|
|
11
14
|
import {
|
|
12
15
|
followPins,
|
|
@@ -16,10 +19,8 @@ import {
|
|
|
16
19
|
installState,
|
|
17
20
|
lockHash,
|
|
18
21
|
syncWorktree
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import
|
|
21
|
-
globPattern
|
|
22
|
-
} from "./chunk-UKR64U7J.js";
|
|
22
|
+
} from "./chunk-S2FUWBLO.js";
|
|
23
|
+
import "./chunk-FLG7VRTC.js";
|
|
23
24
|
import {
|
|
24
25
|
GitReadError,
|
|
25
26
|
cherry,
|
|
@@ -27,6 +28,7 @@ import {
|
|
|
27
28
|
touchedPaths,
|
|
28
29
|
undelivered
|
|
29
30
|
} from "./chunk-2GD7PQ7J.js";
|
|
31
|
+
import "./chunk-NQCAKDRY.js";
|
|
30
32
|
import {
|
|
31
33
|
reportModes,
|
|
32
34
|
restoreModes,
|
|
@@ -36,13 +38,17 @@ import {
|
|
|
36
38
|
import {
|
|
37
39
|
gateTreePath,
|
|
38
40
|
leaseSpecs
|
|
39
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YKICVMF7.js";
|
|
42
|
+
import "./chunk-WUFNKK3U.js";
|
|
43
|
+
import {
|
|
44
|
+
globPattern
|
|
45
|
+
} from "./chunk-374AZ4J4.js";
|
|
40
46
|
import {
|
|
41
47
|
detect
|
|
42
48
|
} from "./chunk-SDFJJJB5.js";
|
|
43
49
|
import {
|
|
44
50
|
createFilesStore
|
|
45
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-PAY6HEEY.js";
|
|
46
52
|
import "./chunk-Z6WRFOFT.js";
|
|
47
53
|
import {
|
|
48
54
|
git,
|
|
@@ -54,10 +60,10 @@ import {
|
|
|
54
60
|
import "./chunk-Y6NFETNG.js";
|
|
55
61
|
import {
|
|
56
62
|
BUSY_EXIT
|
|
57
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-PZ6D3WKD.js";
|
|
58
64
|
import "./chunk-N7ANFMA5.js";
|
|
59
65
|
import "./chunk-T6C3TSTO.js";
|
|
60
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-KLIYFD3W.js";
|
|
61
67
|
import "./chunk-GUHOEIHP.js";
|
|
62
68
|
import "./chunk-IJBSOWHK.js";
|
|
63
69
|
import "./chunk-GJXOFDJT.js";
|
|
@@ -611,6 +617,7 @@ function deliverOnce(options) {
|
|
|
611
617
|
}
|
|
612
618
|
const commits = undelivered(ctx.root, ctx.upstream, options.named);
|
|
613
619
|
const touched = touchedPaths(ctx.root, commits);
|
|
620
|
+
for (const line of options.notices?.(touched) ?? []) report.info(line);
|
|
614
621
|
const leased = options.noPush ? [] : options.leases.filter(
|
|
615
622
|
(spec) => spec.paths.some((path) => touched.has(path))
|
|
616
623
|
);
|
|
@@ -1081,6 +1088,8 @@ var mainlineDeliver = (setup, context, report) => {
|
|
|
1081
1088
|
);
|
|
1082
1089
|
return synced;
|
|
1083
1090
|
};
|
|
1091
|
+
if (context.args.flags.has("during-pause"))
|
|
1092
|
+
requireOperatorFor(context, "pmcp git deliver --during-pause");
|
|
1084
1093
|
return deliver({
|
|
1085
1094
|
ctx,
|
|
1086
1095
|
named: context.args.positional.slice(1),
|
|
@@ -1097,6 +1106,7 @@ var mainlineDeliver = (setup, context, report) => {
|
|
|
1097
1106
|
afterDeliver,
|
|
1098
1107
|
afterDeliverDesk,
|
|
1099
1108
|
recordDelivery: deliveryEvents(setup),
|
|
1109
|
+
...setup.ownerNotices ? { notices: setup.ownerNotices } : {},
|
|
1100
1110
|
pushPins: config.submodules?.push === "pins",
|
|
1101
1111
|
...config.umask !== void 0 ? { umask: config.umask } : {},
|
|
1102
1112
|
...context.args.flags.has("json") ? {
|
|
@@ -1110,4 +1120,4 @@ export {
|
|
|
1110
1120
|
mainlineDeliver,
|
|
1111
1121
|
mainlineSync
|
|
1112
1122
|
};
|
|
1113
|
-
//# sourceMappingURL=mainline-
|
|
1123
|
+
//# sourceMappingURL=mainline-SWZPKA7U.js.map
|
|
@@ -5,11 +5,11 @@ import "./chunk-JPYQDOEW.js";
|
|
|
5
5
|
|
|
6
6
|
// src/commands/mcp.ts
|
|
7
7
|
async function run(context) {
|
|
8
|
-
const { executeMcpCommand } = await import("./run-
|
|
8
|
+
const { executeMcpCommand } = await import("./run-TBO5JO4Y.js");
|
|
9
9
|
return executeMcpCommand(context);
|
|
10
10
|
}
|
|
11
11
|
var mcpCommand = { ...mcpSpec, run };
|
|
12
12
|
export {
|
|
13
13
|
mcpCommand
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=mcp-
|
|
15
|
+
//# sourceMappingURL=mcp-U7MVFAB4.js.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
configFrom
|
|
3
|
+
} from "./chunk-7CHUMF3E.js";
|
|
4
|
+
import {
|
|
5
|
+
ownersOf,
|
|
6
|
+
readOwners
|
|
7
|
+
} from "./chunk-WUFNKK3U.js";
|
|
8
|
+
import "./chunk-374AZ4J4.js";
|
|
9
|
+
import {
|
|
10
|
+
ownersSpec
|
|
11
|
+
} from "./chunk-D7IDT7OA.js";
|
|
12
|
+
import "./chunk-JPYQDOEW.js";
|
|
13
|
+
import {
|
|
14
|
+
ArgumentError,
|
|
15
|
+
EXIT,
|
|
16
|
+
NO_CONFIG
|
|
17
|
+
} from "./chunk-Y6NFETNG.js";
|
|
18
|
+
import "./chunk-GJXOFDJT.js";
|
|
19
|
+
import "./chunk-PMJG2CXF.js";
|
|
20
|
+
|
|
21
|
+
// src/commands/owners.ts
|
|
22
|
+
import { relative, resolve, sep } from "path";
|
|
23
|
+
function run(context) {
|
|
24
|
+
const paths = context.args.positional;
|
|
25
|
+
if (paths.length === 0) throw new ArgumentError("name at least one path");
|
|
26
|
+
const config = configFrom(context);
|
|
27
|
+
if (config === null) throw new ArgumentError(NO_CONFIG);
|
|
28
|
+
let entries;
|
|
29
|
+
try {
|
|
30
|
+
entries = readOwners(config.raw["owners"]);
|
|
31
|
+
} catch (error) {
|
|
32
|
+
throw new ArgumentError(`${config.path}: ${error.message}`);
|
|
33
|
+
}
|
|
34
|
+
const rows = paths.map((path) => {
|
|
35
|
+
const inProject = relative(config.dir, resolve(context.cwd, path)).split(sep).join("/");
|
|
36
|
+
return {
|
|
37
|
+
path: inProject,
|
|
38
|
+
owners: ownersOf(entries, inProject).map((entry) => ({
|
|
39
|
+
owner: entry.owner,
|
|
40
|
+
...entry.note ? { note: entry.note } : {},
|
|
41
|
+
mode: entry.mode
|
|
42
|
+
}))
|
|
43
|
+
};
|
|
44
|
+
});
|
|
45
|
+
if (context.args.flags.has("json")) {
|
|
46
|
+
context.ui.data(`${JSON.stringify({ version: 1, paths: rows })}
|
|
47
|
+
`);
|
|
48
|
+
return EXIT.ok;
|
|
49
|
+
}
|
|
50
|
+
const lines = rows.flatMap(
|
|
51
|
+
(row) => row.owners.length === 0 ? [`${row.path}: no owner`] : row.owners.map(
|
|
52
|
+
(entry) => `${row.path} belongs to ${entry.owner}${entry.note ? `: ${entry.note}` : ""}${entry.mode === "observe" ? " (observe)" : ""}`
|
|
53
|
+
)
|
|
54
|
+
);
|
|
55
|
+
context.ui.data(`${lines.join("\n")}
|
|
56
|
+
`);
|
|
57
|
+
return EXIT.ok;
|
|
58
|
+
}
|
|
59
|
+
var ownersCommand = { ...ownersSpec, run };
|
|
60
|
+
export {
|
|
61
|
+
ownersCommand
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=owners-MPI22SFU.js.map
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
change
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-YJVSN6UN.js";
|
|
4
|
+
import "./chunk-65BW7Y6O.js";
|
|
5
|
+
import "./chunk-OIKT4SYO.js";
|
|
6
|
+
import "./chunk-NQCAKDRY.js";
|
|
7
|
+
import "./chunk-PAY6HEEY.js";
|
|
5
8
|
import "./chunk-Z6WRFOFT.js";
|
|
6
9
|
import "./chunk-Y6NFETNG.js";
|
|
7
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KLIYFD3W.js";
|
|
8
11
|
import "./chunk-GUHOEIHP.js";
|
|
9
12
|
import "./chunk-IJBSOWHK.js";
|
|
10
13
|
import "./chunk-GJXOFDJT.js";
|
|
@@ -15,4 +18,4 @@ var run = (context) => change(context, "pause");
|
|
|
15
18
|
export {
|
|
16
19
|
run
|
|
17
20
|
};
|
|
18
|
-
//# sourceMappingURL=pause-
|
|
21
|
+
//# sourceMappingURL=pause-3IMVYXQQ.js.map
|
|
@@ -21,7 +21,7 @@ async function route(context, verb, name) {
|
|
|
21
21
|
if (name === void 0 || context.args.flags.has("check") || context.args.flags.has("write") || many(context.args, "source").length > 0 || many(context.args, "name").length > 0) {
|
|
22
22
|
throw new ArgumentError("exec-mcp takes only a declared MCP alias");
|
|
23
23
|
}
|
|
24
|
-
const { runExecMcp } = await import("./exec-mcp-
|
|
24
|
+
const { runExecMcp } = await import("./exec-mcp-AWGUQVT2.js");
|
|
25
25
|
return await runExecMcp(context, name);
|
|
26
26
|
}
|
|
27
27
|
if (verb === "import-mcp") {
|
|
@@ -30,13 +30,13 @@ async function route(context, verb, name) {
|
|
|
30
30
|
"import-mcp takes --source, --name and --write; no positional name or --check"
|
|
31
31
|
);
|
|
32
32
|
}
|
|
33
|
-
const { importMcp } = await import("./import-mcp-
|
|
33
|
+
const { importMcp } = await import("./import-mcp-2H2NRUCL.js");
|
|
34
34
|
return importMcp(context);
|
|
35
35
|
}
|
|
36
36
|
if (many(context.args, "source").length > 0 || one(context.args, "name") !== void 0 || context.args.flags.has("write")) {
|
|
37
37
|
throw new ArgumentError("--source, --name and --write require import-mcp");
|
|
38
38
|
}
|
|
39
|
-
const apply = await import("./apply-
|
|
39
|
+
const apply = await import("./apply-HJUCYQDQ.js");
|
|
40
40
|
if (verb === void 0) return apply.projectOrCheck(context);
|
|
41
41
|
if (!VERBS.includes(verb)) throw unknownSubcommand("project", verb, VERBS);
|
|
42
42
|
if (context.args.flags.has("check")) {
|
|
@@ -69,4 +69,4 @@ var projectCommand = {
|
|
|
69
69
|
export {
|
|
70
70
|
projectCommand
|
|
71
71
|
};
|
|
72
|
-
//# sourceMappingURL=project-
|
|
72
|
+
//# sourceMappingURL=project-MGUYHUF7.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
logLocation,
|
|
3
3
|
parseSince,
|
|
4
4
|
readLogs
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VN34GLGJ.js";
|
|
6
6
|
import {
|
|
7
7
|
configFrom
|
|
8
8
|
} from "./chunk-7CHUMF3E.js";
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
wouldRefuse
|
|
14
14
|
} from "./chunk-LFFIQBNY.js";
|
|
15
15
|
import "./chunk-HQOB7OQS.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-PAY6HEEY.js";
|
|
17
17
|
import "./chunk-Z6WRFOFT.js";
|
|
18
18
|
import {
|
|
19
19
|
ArgumentError,
|
|
20
20
|
noConfig,
|
|
21
21
|
one
|
|
22
22
|
} from "./chunk-Y6NFETNG.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-KLIYFD3W.js";
|
|
24
24
|
import "./chunk-GUHOEIHP.js";
|
|
25
25
|
import "./chunk-IJBSOWHK.js";
|
|
26
26
|
import "./chunk-GJXOFDJT.js";
|
|
@@ -87,7 +87,7 @@ async function run(context) {
|
|
|
87
87
|
}
|
|
88
88
|
if (summary.lines === 0)
|
|
89
89
|
context.ui.results.line(
|
|
90
|
-
"no guard log lines; guards log at debug level ([logging] level or PMCP_LOG=debug)"
|
|
90
|
+
"no guard log lines; guards log every call at debug level ([logging] level or PMCP_LOG=debug), and only what an observe or warn guard let through at info"
|
|
91
91
|
);
|
|
92
92
|
for (const row of summary.guards) {
|
|
93
93
|
const counts = (values) => Object.entries(values).sort(([a], [b]) => a.localeCompare(b)).map(([name, value]) => `${name} ${value}`).join(", ");
|
|
@@ -103,4 +103,4 @@ async function run(context) {
|
|
|
103
103
|
export {
|
|
104
104
|
run
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=report-
|
|
106
|
+
//# sourceMappingURL=report-MWXB5XKE.js.map
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
change
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-YJVSN6UN.js";
|
|
4
|
+
import "./chunk-65BW7Y6O.js";
|
|
5
|
+
import "./chunk-OIKT4SYO.js";
|
|
6
|
+
import "./chunk-NQCAKDRY.js";
|
|
7
|
+
import "./chunk-PAY6HEEY.js";
|
|
5
8
|
import "./chunk-Z6WRFOFT.js";
|
|
6
9
|
import "./chunk-Y6NFETNG.js";
|
|
7
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KLIYFD3W.js";
|
|
8
11
|
import "./chunk-GUHOEIHP.js";
|
|
9
12
|
import "./chunk-IJBSOWHK.js";
|
|
10
13
|
import "./chunk-GJXOFDJT.js";
|
|
@@ -15,4 +18,4 @@ var run = (context) => change(context, "resume");
|
|
|
15
18
|
export {
|
|
16
19
|
run
|
|
17
20
|
};
|
|
18
|
-
//# sourceMappingURL=resume-
|
|
21
|
+
//# sourceMappingURL=resume-7LCSV4X3.js.map
|
|
@@ -1,41 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readSpec
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-Y7FYCVUK.js";
|
|
4
|
+
import "./chunk-S2FUWBLO.js";
|
|
5
|
+
import "./chunk-FLG7VRTC.js";
|
|
6
6
|
import "./chunk-2GD7PQ7J.js";
|
|
7
7
|
import "./chunk-EATCUWGG.js";
|
|
8
8
|
import "./chunk-OFJIMBTL.js";
|
|
9
|
+
import "./chunk-NQCAKDRY.js";
|
|
9
10
|
import "./chunk-LFFIQBNY.js";
|
|
10
11
|
import "./chunk-HQOB7OQS.js";
|
|
11
12
|
import "./chunk-73AKO4UL.js";
|
|
12
13
|
import "./chunk-VQBXWMLT.js";
|
|
13
14
|
import {
|
|
14
15
|
readGitConfig
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YKICVMF7.js";
|
|
17
|
+
import "./chunk-WUFNKK3U.js";
|
|
18
|
+
import "./chunk-374AZ4J4.js";
|
|
16
19
|
import {
|
|
17
20
|
detect
|
|
18
21
|
} from "./chunk-SDFJJJB5.js";
|
|
19
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-PAY6HEEY.js";
|
|
20
23
|
import "./chunk-Z6WRFOFT.js";
|
|
21
24
|
import "./chunk-23PE3HZB.js";
|
|
22
25
|
import "./chunk-Q5H3L6Y4.js";
|
|
23
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-GQRDEIQA.js";
|
|
24
27
|
import "./chunk-V4NPDK6X.js";
|
|
25
28
|
import {
|
|
26
29
|
ArgumentError,
|
|
27
30
|
one
|
|
28
31
|
} from "./chunk-Y6NFETNG.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-3KISMGVP.js";
|
|
33
|
+
import "./chunk-PZ6D3WKD.js";
|
|
31
34
|
import "./chunk-N7ANFMA5.js";
|
|
32
35
|
import "./chunk-TYY5TYHF.js";
|
|
33
36
|
import "./chunk-T6C3TSTO.js";
|
|
34
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-KLIYFD3W.js";
|
|
35
38
|
import "./chunk-GUHOEIHP.js";
|
|
36
39
|
import "./chunk-IJBSOWHK.js";
|
|
37
40
|
import "./chunk-XWLMZKH2.js";
|
|
38
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-J43Z4O3G.js";
|
|
39
42
|
import {
|
|
40
43
|
readConfig
|
|
41
44
|
} from "./chunk-GJXOFDJT.js";
|
|
@@ -132,4 +135,4 @@ function run(context) {
|
|
|
132
135
|
export {
|
|
133
136
|
run
|
|
134
137
|
};
|
|
135
|
-
//# sourceMappingURL=run-
|
|
138
|
+
//# sourceMappingURL=run-DDWLS6FY.js.map
|
|
@@ -13,11 +13,11 @@ async function executeMcpCommand(context) {
|
|
|
13
13
|
if (extra.length) throw new ArgumentError(`unexpected ${extra.join(" ")}`);
|
|
14
14
|
if (context.args.flags.has("json") && verb !== "status")
|
|
15
15
|
throw new ArgumentError("--json requires mcp status");
|
|
16
|
-
if (verb === "status") return (await import("./status-
|
|
17
|
-
if (verb === "logout") return (await import("./logout-
|
|
18
|
-
return (await import("./start-login-
|
|
16
|
+
if (verb === "status") return (await import("./status-TSTOFNZU.js")).run(context);
|
|
17
|
+
if (verb === "logout") return (await import("./logout-ROKXWR3T.js")).run(context);
|
|
18
|
+
return (await import("./start-login-SOTNDUP6.js")).run(context);
|
|
19
19
|
}
|
|
20
20
|
export {
|
|
21
21
|
executeMcpCommand
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=run-
|
|
23
|
+
//# sourceMappingURL=run-TBO5JO4Y.js.map
|
|
@@ -16,7 +16,7 @@ import "./chunk-73AKO4UL.js";
|
|
|
16
16
|
import {
|
|
17
17
|
serve,
|
|
18
18
|
serveWithMailbox
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KQV2EPAP.js";
|
|
20
20
|
import {
|
|
21
21
|
serveSpec
|
|
22
22
|
} from "./chunk-VBVNOLRR.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
one
|
|
31
31
|
} from "./chunk-Y6NFETNG.js";
|
|
32
32
|
import "./chunk-ISZOLR3D.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-7FHOSWNQ.js";
|
|
34
34
|
import "./chunk-6WXMJOMI.js";
|
|
35
35
|
import "./chunk-4CRRLDDS.js";
|
|
36
36
|
import "./chunk-YSAWTGNA.js";
|
|
@@ -101,4 +101,4 @@ var serveCommand = {
|
|
|
101
101
|
export {
|
|
102
102
|
serveCommand
|
|
103
103
|
};
|
|
104
|
-
//# sourceMappingURL=serve-
|
|
104
|
+
//# sourceMappingURL=serve-RBQYB3FP.js.map
|
|
@@ -2,14 +2,16 @@ import {
|
|
|
2
2
|
gateTreePath,
|
|
3
3
|
leaseSpecs,
|
|
4
4
|
loadGit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YKICVMF7.js";
|
|
6
|
+
import "./chunk-WUFNKK3U.js";
|
|
7
|
+
import "./chunk-374AZ4J4.js";
|
|
6
8
|
import "./chunk-SDFJJJB5.js";
|
|
7
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-PAY6HEEY.js";
|
|
8
10
|
import "./chunk-Z6WRFOFT.js";
|
|
9
11
|
import "./chunk-23PE3HZB.js";
|
|
10
12
|
import "./chunk-Y6NFETNG.js";
|
|
11
13
|
import "./chunk-T6C3TSTO.js";
|
|
12
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-KLIYFD3W.js";
|
|
13
15
|
import "./chunk-GUHOEIHP.js";
|
|
14
16
|
import "./chunk-IJBSOWHK.js";
|
|
15
17
|
import "./chunk-GJXOFDJT.js";
|
|
@@ -19,4 +21,4 @@ export {
|
|
|
19
21
|
leaseSpecs,
|
|
20
22
|
loadGit
|
|
21
23
|
};
|
|
22
|
-
//# sourceMappingURL=setup-
|
|
24
|
+
//# sourceMappingURL=setup-7JHWLV7K.js.map
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
printSmoke,
|
|
3
3
|
run,
|
|
4
4
|
runSmoke
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TQRLWO4F.js";
|
|
6
6
|
import "./chunk-7CHUMF3E.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-GQRDEIQA.js";
|
|
8
8
|
import "./chunk-Y6NFETNG.js";
|
|
9
9
|
import "./chunk-XWLMZKH2.js";
|
|
10
10
|
import "./chunk-GJXOFDJT.js";
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
run,
|
|
15
15
|
runSmoke
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=smoke-
|
|
17
|
+
//# sourceMappingURL=smoke-GZECLXOJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serverFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q5BQIRM3.js";
|
|
4
4
|
import {
|
|
5
5
|
storeBearer,
|
|
6
6
|
tokenRequest,
|
|
@@ -14,41 +14,44 @@ import {
|
|
|
14
14
|
writeCredentials
|
|
15
15
|
} from "./chunk-UPQTAHUK.js";
|
|
16
16
|
import "./chunk-7CHUMF3E.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-Y7FYCVUK.js";
|
|
18
|
+
import "./chunk-S2FUWBLO.js";
|
|
19
|
+
import "./chunk-FLG7VRTC.js";
|
|
20
20
|
import "./chunk-2GD7PQ7J.js";
|
|
21
21
|
import "./chunk-EATCUWGG.js";
|
|
22
22
|
import "./chunk-OFJIMBTL.js";
|
|
23
|
+
import "./chunk-NQCAKDRY.js";
|
|
23
24
|
import "./chunk-LFFIQBNY.js";
|
|
24
25
|
import "./chunk-HQOB7OQS.js";
|
|
25
26
|
import "./chunk-73AKO4UL.js";
|
|
26
27
|
import "./chunk-VQBXWMLT.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-YKICVMF7.js";
|
|
29
|
+
import "./chunk-WUFNKK3U.js";
|
|
30
|
+
import "./chunk-374AZ4J4.js";
|
|
28
31
|
import "./chunk-SDFJJJB5.js";
|
|
29
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-PAY6HEEY.js";
|
|
30
33
|
import "./chunk-Z6WRFOFT.js";
|
|
31
34
|
import "./chunk-23PE3HZB.js";
|
|
32
35
|
import {
|
|
33
36
|
McpAuthError,
|
|
34
37
|
safeEndpoint
|
|
35
38
|
} from "./chunk-Q5H3L6Y4.js";
|
|
36
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-GQRDEIQA.js";
|
|
37
40
|
import "./chunk-V4NPDK6X.js";
|
|
38
41
|
import {
|
|
39
42
|
ArgumentError,
|
|
40
43
|
one
|
|
41
44
|
} from "./chunk-Y6NFETNG.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-3KISMGVP.js";
|
|
46
|
+
import "./chunk-PZ6D3WKD.js";
|
|
44
47
|
import "./chunk-N7ANFMA5.js";
|
|
45
48
|
import "./chunk-TYY5TYHF.js";
|
|
46
49
|
import "./chunk-T6C3TSTO.js";
|
|
47
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-KLIYFD3W.js";
|
|
48
51
|
import "./chunk-GUHOEIHP.js";
|
|
49
52
|
import "./chunk-IJBSOWHK.js";
|
|
50
53
|
import "./chunk-XWLMZKH2.js";
|
|
51
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-J43Z4O3G.js";
|
|
52
55
|
import "./chunk-GJXOFDJT.js";
|
|
53
56
|
import "./chunk-PMJG2CXF.js";
|
|
54
57
|
import "./chunk-J6KL3COD.js";
|
|
@@ -422,4 +425,4 @@ async function run(context) {
|
|
|
422
425
|
export {
|
|
423
426
|
run
|
|
424
427
|
};
|
|
425
|
-
//# sourceMappingURL=start-login-
|
|
428
|
+
//# sourceMappingURL=start-login-SOTNDUP6.js.map
|