@modootoday/pmcp 0.19.8 → 0.20.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/{apply-6OEABVQT.js → apply-QJ6MGLBX.js} +17 -17
- package/dist/{attachment-D84OGI6n.d.ts → attachment-ms6s8Aow.d.ts} +1 -1
- package/dist/{available-GFMTJW4E.js → available-HYSDAFYH.js} +4 -4
- package/dist/{broadcast-56NPEJWM.js → broadcast-LYOA6BEW.js} +5 -5
- package/dist/{chunk-44YE6B63.js → chunk-4VK5G3SV.js} +3 -3
- package/dist/{chunk-7B2KRL2H.js → chunk-5JPD6VIH.js} +74 -7
- package/dist/{chunk-42RFOVU3.js → chunk-66F3HLW4.js} +17 -5
- package/dist/{chunk-CVZEVTTX.js → chunk-7SDOSTW7.js} +3 -3
- package/dist/{chunk-6U623E6Y.js → chunk-AWZF72SH.js} +6 -6
- package/dist/{chunk-J5ZS7GLA.js → chunk-C3G75JH7.js} +2 -2
- package/dist/{chunk-PTDMSVKS.js → chunk-CQZYQAAV.js} +3 -3
- package/dist/{chunk-SRX2ONSZ.js → chunk-EKPMVEIA.js} +2 -2
- package/dist/{chunk-GXACIGVS.js → chunk-FD6VGFYZ.js} +5 -5
- package/dist/chunk-FGYFA6JY.js +7 -0
- package/dist/{chunk-RXKX33WU.js → chunk-FQAJSNNU.js} +3 -3
- package/dist/{chunk-QPL7E2HW.js → chunk-GJXOFDJT.js} +9 -2
- package/dist/{chunk-JZK7ZO7K.js → chunk-I4U2A6HP.js} +2 -2
- package/dist/{chunk-UGODVKBJ.js → chunk-IQD4W53M.js} +2 -2
- package/dist/{chunk-TFZLX66B.js → chunk-IZABPDAO.js} +2 -2
- package/dist/{chunk-VHTRCE5G.js → chunk-J6HNP6HA.js} +3 -3
- package/dist/{chunk-QXDD75DY.js → chunk-JBHGJKSL.js} +3 -3
- package/dist/{chunk-NWOV2E26.js → chunk-JZKAJUVT.js} +2 -2
- package/dist/{chunk-VUSA7POL.js → chunk-K2C3KFGB.js} +9 -9
- package/dist/{chunk-TLIOBOZ2.js → chunk-L4MFGGSI.js} +2 -2
- package/dist/{chunk-XP2U3LO3.js → chunk-M2RYXWX2.js} +2 -2
- package/dist/{chunk-LJL4L73I.js → chunk-MZEMLFFD.js} +3 -3
- package/dist/{chunk-6QM5OWGZ.js → chunk-O2JWF7ZM.js} +2 -2
- package/dist/{chunk-SHZPE6FD.js → chunk-OAIQ7A3R.js} +5 -5
- package/dist/{chunk-3PW4FI7U.js → chunk-ONP6JRFZ.js} +2 -2
- package/dist/{chunk-HEBCQTOD.js → chunk-PEMMV5YQ.js} +2 -2
- package/dist/{chunk-DHAPQUEF.js → chunk-PQTM27GU.js} +32 -15
- package/dist/{chunk-7B6IC3F7.js → chunk-PUIWESU3.js} +3 -3
- package/dist/{chunk-P4424VLT.js → chunk-QDY6BWE6.js} +2 -2
- package/dist/{chunk-3CYQWRGM.js → chunk-QOFSPFJ6.js} +351 -86
- package/dist/{chunk-C4NHQGHL.js → chunk-QSIADSMQ.js} +13 -2
- package/dist/{chunk-E4FJOLPJ.js → chunk-QYH2NR6G.js} +3 -3
- package/dist/{chunk-XLXDXJY2.js → chunk-RBNMNKNN.js} +5 -5
- package/dist/{chunk-ZYSALKKW.js → chunk-RMHZFWHF.js} +21 -21
- package/dist/{chunk-7DLZC73N.js → chunk-RPCIROW7.js} +2 -2
- package/dist/{chunk-CTA7255D.js → chunk-YDICIB2A.js} +2 -2
- package/dist/{chunk-HEWZ6INU.js → chunk-YOWIYFIV.js} +27 -41
- package/dist/{claude-U2JC2DNQ.js → claude-GT2BPXEL.js} +3 -3
- package/dist/{cli-UFCFDIVI.js → cli-6HTAJ54L.js} +5 -5
- package/dist/{cli-BTPTJWCC.js → cli-IV5DJCXU.js} +8 -8
- package/dist/cli.js +3 -3
- package/dist/{completion-UI4IOYXY.js → completion-PPM7MEI2.js} +2 -2
- package/dist/{config-DnpLL2kT.d.ts → config-DzHB75Jz.d.ts} +2 -0
- package/dist/{diagnostics-QSQDE2KO.js → diagnostics-EWU2ROTG.js} +7 -7
- package/dist/{doctor-EOBNGAAB.js → doctor-ZWZQMDKZ.js} +20 -20
- package/dist/{entry-HBROO3YP.js → entry-NDICBQ2F.js} +12 -12
- package/dist/{exec-mcp-DZU2DEPD.js → exec-mcp-AG4G7SG7.js} +13 -13
- package/dist/{harness-H4OKGO6F.js → harness-JABSZCAA.js} +3 -3
- package/dist/harness-launch-gate.js +5 -5
- package/dist/harness-worker.js +7 -7
- package/dist/hook-body.js +361 -81
- package/dist/{hooks-T5JAK3VQ.js → hooks-YVQSDQV3.js} +3 -3
- package/dist/{host-5JOCZURV.js → host-2SZRMHZX.js} +8 -8
- package/dist/{host-IRPBT5AL.js → host-BWZ5LA4Q.js} +16 -16
- package/dist/{host-run-KPH5ZNYU.js → host-run-SXLV4LHI.js} +21 -13
- package/dist/http.d.ts +1 -1
- package/dist/http.js +1 -1
- package/dist/{import-mcp-24QRNZBJ.js → import-mcp-2M7SZRVQ.js} +11 -11
- package/dist/index.d.ts +6 -4
- package/dist/index.js +19 -19
- package/dist/{init-EPIJY23S.js → init-HOOIFBAD.js} +2 -2
- package/dist/{install-MQ7QSJQ7.js → install-HF6CROQP.js} +19 -9
- package/dist/{invoke-2SXY6G3P.js → invoke-JP4MILYY.js} +9 -9
- package/dist/{list-C3WEYY3N.js → list-UBSBUZKS.js} +13 -13
- package/dist/{list-FB6RNYYB.js → list-WK2IYUK7.js} +4 -4
- package/dist/{logout-J4SFSWMA.js → logout-OO3DERRK.js} +12 -12
- package/dist/{logs-H3RPKNTE.js → logs-K3QXKRD4.js} +6 -6
- package/dist/mailbox/index.d.ts +4 -4
- package/dist/mailbox/index.js +3 -3
- package/dist/{mailbox-UECKDZ3Q.js → mailbox-DAJV6VAI.js} +10 -10
- package/dist/{mailbox-5DWLH4W2.js → mailbox-YN6PG66A.js} +4 -4
- package/dist/{mainline-FPK4HWFF.js → mainline-6K5BA3WX.js} +55 -33
- package/dist/{mcp-W6OADCKB.js → mcp-JXNTKRJG.js} +2 -2
- package/dist/{pause-2HQ7CKMR.js → pause-GRVTSKOK.js} +5 -5
- package/dist/{project-TZAYGUHM.js → project-M672MKQH.js} +4 -4
- package/dist/{pty-XTJ4MIWK.js → pty-LHKJKY2E.js} +3 -3
- package/dist/{recovery-54KHNJX4.js → recovery-HB2YFQSQ.js} +3 -3
- package/dist/{reindex-ZULHSQWY.js → reindex-I7RYWCUR.js} +5 -5
- package/dist/{resume-ETFTR5V3.js → resume-6DMPGG3N.js} +5 -5
- package/dist/{run-QQB74HRI.js → run-5W566T3V.js} +14 -14
- package/dist/{run-XZ75CAFL.js → run-ORBIERI3.js} +4 -4
- package/dist/{serve-TILM4DH5.js → serve-73SRPAV4.js} +9 -9
- package/dist/{setup-63E3TVJK.js → setup-ULKDPF5B.js} +5 -6
- package/dist/{start-login-C2BWQNO5.js → start-login-BGFAMCZL.js} +12 -12
- package/dist/{status-3AU65SCN.js → status-73FEFQUQ.js} +12 -12
- package/dist/{status-JMXH6XG4.js → status-YCW6YJ3S.js} +23 -23
- package/dist/{status-CM753VKY.js → status-YHXEAJ7U.js} +8 -8
- package/dist/stdio.d.ts +2 -2
- package/dist/stdio.js +5 -5
- package/dist/{sweep-VY2TNOO5.js → sweep-XF2HG3EO.js} +5 -5
- package/dist/{test-MCM44GOL.js → test-IMNBXOYW.js} +15 -17
- package/dist/{tui-BL4OSDW4.js → tui-5GDA22TB.js} +6 -6
- package/dist/{unbroadcast-RKTBP57G.js → unbroadcast-XP3OCVN3.js} +5 -5
- package/dist/{validate-AVM2VHMM.js → validate-KFBCUFI4.js} +5 -5
- package/dist/{worker-GHQKC5XU.js → worker-RV6NGSXT.js} +10 -10
- package/dist/{worktree-list-NEIDD66X.js → worktree-list-4PLE7K6L.js} +4 -4
- package/docs/git-workflow.md +48 -12
- package/docs/hooks.md +23 -14
- package/docs/project-configuration.md +21 -12
- package/docs/upgrading.md +52 -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/mod/draw.tsx +9 -2
- package/plugins/pmcp/mod/guard.ts +3 -3
- package/plugins/pmcp/mod/model.ts +15 -4
- package/plugins/pmcp/mod/reader/read.ts +33 -8
- package/plugins/pmcp/mod/reader/settings.ts +7 -0
- package/plugins/pmcp/mod/reader/types.ts +2 -0
- package/plugins/pmcp/mod/sessions/format.ts +25 -2
- package/plugins/pmcp/mod/sessions/types.ts +1 -1
- package/plugins/pmcp/plugin.json +1 -1
- package/schema/catalog-v1.json +4 -15
- package/schema/library.json +3 -8
- package/schema/marketplace-manifest.json +2 -6
- package/schema/skill-frontmatter.json +3 -8
- package/schema/skill-metadata-core.json +3 -8
- package/dist/chunk-DXJZ2ZCX.js +0 -56
- package/dist/chunk-QHH3TXOA.js +0 -7
- package/dist/{core-C1LPjxK6.d.ts → core-Sug_rZrx.d.ts} +1 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serverFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J6HNP6HA.js";
|
|
4
4
|
import {
|
|
5
5
|
logout
|
|
6
6
|
} from "./chunk-E2YOZ2FF.js";
|
|
7
7
|
import "./chunk-DZ2MRTYT.js";
|
|
8
8
|
import "./chunk-UPQTAHUK.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-RPCIROW7.js";
|
|
10
|
+
import "./chunk-QOFSPFJ6.js";
|
|
11
11
|
import "./chunk-HQOB7OQS.js";
|
|
12
|
-
import "./chunk-7B2KRL2H.js";
|
|
13
|
-
import "./chunk-2Q6MNGU5.js";
|
|
14
12
|
import "./chunk-ICF2JZSN.js";
|
|
15
13
|
import "./chunk-UD3BEEBQ.js";
|
|
16
14
|
import "./chunk-ISNRDHSD.js";
|
|
17
15
|
import "./chunk-EATCUWGG.js";
|
|
18
16
|
import "./chunk-NRBQK6UX.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-DHAPQUEF.js";
|
|
21
|
-
import "./chunk-C4NHQGHL.js";
|
|
17
|
+
import "./chunk-ONP6JRFZ.js";
|
|
22
18
|
import "./chunk-P6LNYYYH.js";
|
|
19
|
+
import "./chunk-5JPD6VIH.js";
|
|
20
|
+
import "./chunk-2Q6MNGU5.js";
|
|
21
|
+
import "./chunk-PQTM27GU.js";
|
|
22
|
+
import "./chunk-QSIADSMQ.js";
|
|
23
23
|
import "./chunk-G7JONWL4.js";
|
|
24
24
|
import "./chunk-Q5H3L6Y4.js";
|
|
25
25
|
import "./chunk-A4PKLESO.js";
|
|
26
26
|
import "./chunk-V4NPDK6X.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-66F3HLW4.js";
|
|
28
28
|
import "./chunk-OEH47H6A.js";
|
|
29
29
|
import "./chunk-IJBSOWHK.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-FGYFA6JY.js";
|
|
31
|
+
import "./chunk-GJXOFDJT.js";
|
|
32
32
|
import "./chunk-PMJG2CXF.js";
|
|
33
33
|
import "./chunk-J6KL3COD.js";
|
|
34
34
|
|
|
@@ -42,4 +42,4 @@ async function run(context) {
|
|
|
42
42
|
export {
|
|
43
43
|
run
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=logout-
|
|
45
|
+
//# sourceMappingURL=logout-OO3DERRK.js.map
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
pruneLogs,
|
|
7
7
|
readLogs,
|
|
8
8
|
tail
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IQD4W53M.js";
|
|
10
10
|
import {
|
|
11
11
|
configFrom
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RPCIROW7.js";
|
|
13
13
|
import {
|
|
14
14
|
isLogLevel
|
|
15
15
|
} from "./chunk-HQOB7OQS.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-PQTM27GU.js";
|
|
17
|
+
import "./chunk-QSIADSMQ.js";
|
|
18
18
|
import {
|
|
19
19
|
logsSpec
|
|
20
20
|
} from "./chunk-YGOWIJPE.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-A4PKLESO.js";
|
|
26
26
|
import "./chunk-OEH47H6A.js";
|
|
27
27
|
import "./chunk-IJBSOWHK.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GJXOFDJT.js";
|
|
29
29
|
import "./chunk-PMJG2CXF.js";
|
|
30
30
|
|
|
31
31
|
// src/logging/cli.ts
|
|
@@ -103,4 +103,4 @@ var logsCommand = { ...logsSpec, run };
|
|
|
103
103
|
export {
|
|
104
104
|
logsCommand
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=logs-
|
|
106
|
+
//# sourceMappingURL=logs-K3QXKRD4.js.map
|
package/dist/mailbox/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as MailboxConfig, b as MailboxStore, B as Binding, R as Row, A as ActorCredential, M as MailboxService } from '../core-
|
|
2
|
-
export { c as MailboxError, d as MailboxOperation, e as Result, f as failure, i as inboxSchema, m as messageSchema, o as operationSchema, s as sendSchema, g as sessionsSchema } from '../core-
|
|
1
|
+
import { a as MailboxConfig, b as MailboxStore, B as Binding, R as Row, A as ActorCredential, M as MailboxService } from '../core-Sug_rZrx.js';
|
|
2
|
+
export { c as MailboxError, d as MailboxOperation, e as Result, f as failure, i as inboxSchema, m as messageSchema, o as operationSchema, s as sendSchema, g as sessionsSchema } from '../core-Sug_rZrx.js';
|
|
3
3
|
import { McpServer } from '@modelcontextprotocol/server';
|
|
4
|
-
export { M as MailboxAttachmentOptions, a as attachMailbox } from '../attachment-
|
|
5
|
-
import { P as ProjectConfig } from '../config-
|
|
4
|
+
export { M as MailboxAttachmentOptions, a as attachMailbox } from '../attachment-ms6s8Aow.js';
|
|
5
|
+
import { P as ProjectConfig } from '../config-DzHB75Jz.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../encoder-DGRy9skC.js';
|
|
8
8
|
|
package/dist/mailbox/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
attachMailbox
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-JZKAJUVT.js";
|
|
4
4
|
import {
|
|
5
5
|
HEARTBEAT_INTERVAL_MS,
|
|
6
6
|
MailboxError,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
restoreBackup,
|
|
18
18
|
writeBindingFile,
|
|
19
19
|
writePrivateJson
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-I4U2A6HP.js";
|
|
21
21
|
import {
|
|
22
22
|
registerMailboxTools
|
|
23
23
|
} from "../chunk-Y2XASHVY.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
sessionsSchema
|
|
30
30
|
} from "../chunk-QRCAGKC6.js";
|
|
31
31
|
import "../chunk-6STKGOCW.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-GJXOFDJT.js";
|
|
33
33
|
import "../chunk-PMJG2CXF.js";
|
|
34
34
|
|
|
35
35
|
// src/mailbox/notifications.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
storeFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QYH2NR6G.js";
|
|
4
4
|
import {
|
|
5
5
|
pmcpCommand
|
|
6
6
|
} from "./chunk-EATCUWGG.js";
|
|
7
7
|
import {
|
|
8
8
|
ptyRef
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ONP6JRFZ.js";
|
|
10
10
|
import {
|
|
11
11
|
addressedTo,
|
|
12
12
|
inboxKey,
|
|
13
13
|
normalizeSelector,
|
|
14
14
|
sentBy
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PQTM27GU.js";
|
|
16
16
|
import {
|
|
17
17
|
ancestors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QSIADSMQ.js";
|
|
19
19
|
import {
|
|
20
20
|
ArgumentError,
|
|
21
21
|
many,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-A4PKLESO.js";
|
|
24
24
|
import "./chunk-OEH47H6A.js";
|
|
25
25
|
import "./chunk-IJBSOWHK.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-GJXOFDJT.js";
|
|
27
27
|
import "./chunk-PMJG2CXF.js";
|
|
28
28
|
|
|
29
29
|
// src/sessions/cli/mailbox.ts
|
|
@@ -68,7 +68,7 @@ function inferSession(env, records, chain) {
|
|
|
68
68
|
|
|
69
69
|
// src/sessions/wake/index.ts
|
|
70
70
|
var TRANSPORTS = {
|
|
71
|
-
claude: async () => (await import("./claude-
|
|
71
|
+
claude: async () => (await import("./claude-GT2BPXEL.js")).claudeInbox,
|
|
72
72
|
opencode: async () => (await import("./opencode-CN7JLQYO.js")).opencodeServer
|
|
73
73
|
};
|
|
74
74
|
function recipientOf(record) {
|
|
@@ -78,7 +78,7 @@ function recipientOf(record) {
|
|
|
78
78
|
session: record.session,
|
|
79
79
|
...record.alias ? { alias: record.alias } : {},
|
|
80
80
|
roles,
|
|
81
|
-
...record.worktree ? {
|
|
81
|
+
...record.worktree ? { worktree: record.worktree } : {},
|
|
82
82
|
...record.startedAt ? { since: record.startedAt } : {}
|
|
83
83
|
};
|
|
84
84
|
}
|
|
@@ -90,7 +90,7 @@ function wakeText(session, mail, pmcp = "pmcp") {
|
|
|
90
90
|
var NONE = "no wake transport for this runtime; the mail arrives at its next event";
|
|
91
91
|
async function wakeOne(record, text, context) {
|
|
92
92
|
if (ptyRef(record))
|
|
93
|
-
return (await import("./pty-
|
|
93
|
+
return (await import("./pty-LHKJKY2E.js")).ptyTurn(record, text, context);
|
|
94
94
|
const load = TRANSPORTS[record.runtime ?? ""];
|
|
95
95
|
if (load) return (await load()).wake(record, text, context);
|
|
96
96
|
const runtime = record.runtime ?? "unknown";
|
|
@@ -156,7 +156,7 @@ function caller(context, store) {
|
|
|
156
156
|
...session ? { session } : {},
|
|
157
157
|
...alias ? { alias } : {},
|
|
158
158
|
roles,
|
|
159
|
-
...record?.worktree ? {
|
|
159
|
+
...record?.worktree ? { worktree: record.worktree } : {},
|
|
160
160
|
...record?.startedAt ? { since: record.startedAt } : {}
|
|
161
161
|
};
|
|
162
162
|
}
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
reply,
|
|
282
282
|
send
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=mailbox-
|
|
284
|
+
//# sourceMappingURL=mailbox-DAJV6VAI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
configFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RPCIROW7.js";
|
|
4
4
|
import {
|
|
5
5
|
mailboxSpec
|
|
6
6
|
} from "./chunk-JWRZDYB5.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
readCredential,
|
|
21
21
|
restoreBackup,
|
|
22
22
|
writePrivateJson
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-I4U2A6HP.js";
|
|
24
24
|
import {
|
|
25
25
|
operationSchema
|
|
26
26
|
} from "./chunk-QRCAGKC6.js";
|
|
27
27
|
import "./chunk-6STKGOCW.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-GJXOFDJT.js";
|
|
29
29
|
import "./chunk-PMJG2CXF.js";
|
|
30
30
|
|
|
31
31
|
// src/commands/mailbox.ts
|
|
@@ -186,4 +186,4 @@ var mailboxCommand = {
|
|
|
186
186
|
export {
|
|
187
187
|
mailboxCommand
|
|
188
188
|
};
|
|
189
|
-
//# sourceMappingURL=mailbox-
|
|
189
|
+
//# sourceMappingURL=mailbox-YN6PG66A.js.map
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
gateTreePath,
|
|
3
|
-
leaseSpecs
|
|
4
|
-
} from "./chunk-DXJZ2ZCX.js";
|
|
5
1
|
import {
|
|
6
2
|
off
|
|
7
3
|
} from "./chunk-YIXDHQYE.js";
|
|
@@ -9,8 +5,6 @@ import {
|
|
|
9
5
|
flockAvailable,
|
|
10
6
|
lockFile
|
|
11
7
|
} from "./chunk-DZ2MRTYT.js";
|
|
12
|
-
import "./chunk-7B2KRL2H.js";
|
|
13
|
-
import "./chunk-2Q6MNGU5.js";
|
|
14
8
|
import {
|
|
15
9
|
followPins,
|
|
16
10
|
installIfStale,
|
|
@@ -24,16 +18,21 @@ import {
|
|
|
24
18
|
touchedPaths,
|
|
25
19
|
undelivered
|
|
26
20
|
} from "./chunk-ISNRDHSD.js";
|
|
27
|
-
import {
|
|
28
|
-
createFilesStore
|
|
29
|
-
} from "./chunk-DHAPQUEF.js";
|
|
30
|
-
import "./chunk-C4NHQGHL.js";
|
|
31
21
|
import {
|
|
32
22
|
reportModes,
|
|
33
23
|
restoreModes,
|
|
34
24
|
restoreSubmoduleModes,
|
|
35
25
|
withUmask
|
|
36
26
|
} from "./chunk-P6LNYYYH.js";
|
|
27
|
+
import {
|
|
28
|
+
gateTreePath,
|
|
29
|
+
leaseSpecs
|
|
30
|
+
} from "./chunk-5JPD6VIH.js";
|
|
31
|
+
import "./chunk-2Q6MNGU5.js";
|
|
32
|
+
import {
|
|
33
|
+
createFilesStore
|
|
34
|
+
} from "./chunk-PQTM27GU.js";
|
|
35
|
+
import "./chunk-QSIADSMQ.js";
|
|
37
36
|
import {
|
|
38
37
|
git,
|
|
39
38
|
gitOk,
|
|
@@ -43,11 +42,12 @@ import {
|
|
|
43
42
|
} from "./chunk-G7JONWL4.js";
|
|
44
43
|
import "./chunk-OEH47H6A.js";
|
|
45
44
|
import "./chunk-IJBSOWHK.js";
|
|
46
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-GJXOFDJT.js";
|
|
47
46
|
import "./chunk-PMJG2CXF.js";
|
|
48
47
|
|
|
49
48
|
// src/git/mainline/deliver.ts
|
|
50
|
-
import { readFileSync as readFileSync2 } from "fs";
|
|
49
|
+
import { readFileSync as readFileSync2, writeFileSync as writeFileSync2 } from "fs";
|
|
50
|
+
import { dirname as dirname3, join as join5 } from "path";
|
|
51
51
|
import { loadavg } from "os";
|
|
52
52
|
|
|
53
53
|
// src/git/mainline/gate.ts
|
|
@@ -380,6 +380,27 @@ function subject(cwd, sha) {
|
|
|
380
380
|
function fetch(ctx) {
|
|
381
381
|
return git(ctx.root, ["fetch", "-q", ctx.remote, ctx.mainline]).status === 0;
|
|
382
382
|
}
|
|
383
|
+
function push(options, tip, preHook) {
|
|
384
|
+
const { ctx, report } = options;
|
|
385
|
+
const lockEnv = options.gate?.lockEnv;
|
|
386
|
+
const env = {
|
|
387
|
+
...options.deliver.pushEnv,
|
|
388
|
+
...preHook && lockEnv ? { [lockEnv]: "1" } : {},
|
|
389
|
+
PMCP_GIT_DELIVER: "1"
|
|
390
|
+
};
|
|
391
|
+
const args = ["push", ctx.remote, `${tip}:refs/heads/${ctx.mainline}`];
|
|
392
|
+
if (!preHook) return git(ctx.root, args, env);
|
|
393
|
+
const dir = options.gate?.logDir ?? join5(dirname3(gateTree(options.tree).tree), "logs");
|
|
394
|
+
const log = gateLog(dir, tip);
|
|
395
|
+
report.info(`the pre-push hook gates ${tip.slice(0, 10)}; gate log: ${log}`);
|
|
396
|
+
const pushed = git(ctx.root, args, env);
|
|
397
|
+
const output = `${pushed.stdout}${pushed.stderr}`;
|
|
398
|
+
writeFileSync2(log, output);
|
|
399
|
+
process.stderr.write(output);
|
|
400
|
+
if (options.track)
|
|
401
|
+
options.track.gate = { exit: pushed.status, log, by: "pre-push" };
|
|
402
|
+
return pushed;
|
|
403
|
+
}
|
|
383
404
|
function attempts(options) {
|
|
384
405
|
const { ctx, report } = options;
|
|
385
406
|
const { lock, tree } = gateTree(options.tree);
|
|
@@ -408,7 +429,8 @@ function attempts(options) {
|
|
|
408
429
|
report.warn(replayed.error);
|
|
409
430
|
return 1;
|
|
410
431
|
}
|
|
411
|
-
const
|
|
432
|
+
const preHook = options.deliver.gate === "pre-push";
|
|
433
|
+
const command = preHook ? void 0 : options.gate?.command;
|
|
412
434
|
if (command !== void 0) {
|
|
413
435
|
const run = runGate(
|
|
414
436
|
ctx.mainRoot,
|
|
@@ -421,19 +443,14 @@ function attempts(options) {
|
|
|
421
443
|
options.gate?.logDir,
|
|
422
444
|
options.umask !== void 0
|
|
423
445
|
);
|
|
424
|
-
if (options.track)
|
|
446
|
+
if (options.track)
|
|
447
|
+
options.track.gate = { exit: run.code, log: run.log, by: "command" };
|
|
425
448
|
if (run.code !== 0) {
|
|
426
449
|
report.warn("the gate failed; nothing was pushed");
|
|
427
450
|
return 1;
|
|
428
451
|
}
|
|
429
452
|
}
|
|
430
|
-
const pushed =
|
|
431
|
-
ctx.root,
|
|
432
|
-
["push", ctx.remote, `${replayed.tip}:refs/heads/${ctx.mainline}`],
|
|
433
|
-
{
|
|
434
|
-
PMCP_GIT_DELIVER: "1"
|
|
435
|
-
}
|
|
436
|
-
);
|
|
453
|
+
const pushed = push(options, replayed.tip, preHook);
|
|
437
454
|
if (pushed.status === 0) {
|
|
438
455
|
if (options.track) options.track.delivered = replayed.tip;
|
|
439
456
|
report.info(`delivered ${replayed.tip.slice(0, 10)} to ${ctx.upstream}`);
|
|
@@ -441,10 +458,15 @@ function attempts(options) {
|
|
|
441
458
|
}
|
|
442
459
|
fetch(ctx);
|
|
443
460
|
if (isAncestor(ctx.root, ctx.upstream, replayed.tip)) {
|
|
444
|
-
|
|
445
|
-
|
|
461
|
+
if (preHook)
|
|
462
|
+
report.warn(
|
|
463
|
+
`the pre-push gate failed (exit ${pushed.status}); nothing was pushed; full gate log: ${options.track?.gate?.log}`
|
|
464
|
+
);
|
|
465
|
+
else
|
|
466
|
+
report.warn(
|
|
467
|
+
`the push failed for a reason other than a newer ${ctx.upstream}:
|
|
446
468
|
${pushed.stderr.trim()}`
|
|
447
|
-
|
|
469
|
+
);
|
|
448
470
|
return 1;
|
|
449
471
|
}
|
|
450
472
|
report.info(`${ctx.upstream} moved while the gate ran; replaying again`);
|
|
@@ -616,7 +638,7 @@ function deliverOnce(options) {
|
|
|
616
638
|
|
|
617
639
|
// src/git/mainline/delivery-events.ts
|
|
618
640
|
import { appendFileSync, mkdirSync as mkdirSync3 } from "fs";
|
|
619
|
-
import { dirname as
|
|
641
|
+
import { dirname as dirname4 } from "path";
|
|
620
642
|
function deliveryEvents(setup) {
|
|
621
643
|
return (delivery) => {
|
|
622
644
|
const specs = leaseSpecs(setup.config);
|
|
@@ -629,7 +651,7 @@ function deliveryEvents(setup) {
|
|
|
629
651
|
const spec = installSpec(sync, setup.stateDir);
|
|
630
652
|
const state = spec ? installState(root, spec) : { hash: lockHash(root, paths), installed: false };
|
|
631
653
|
const { hash, installed } = state;
|
|
632
|
-
mkdirSync3(
|
|
654
|
+
mkdirSync3(dirname4(events), { recursive: true });
|
|
633
655
|
appendFileSync(
|
|
634
656
|
events,
|
|
635
657
|
`${JSON.stringify({
|
|
@@ -661,7 +683,7 @@ function filesSessionGate(stateDir, leaseFiles = {}) {
|
|
|
661
683
|
|
|
662
684
|
// src/git/mainline/sync.ts
|
|
663
685
|
import { existsSync as existsSync4 } from "fs";
|
|
664
|
-
import { join as
|
|
686
|
+
import { join as join7 } from "path";
|
|
665
687
|
|
|
666
688
|
// src/git/mainline/identical-files.ts
|
|
667
689
|
import { spawnSync as spawnSync2 } from "child_process";
|
|
@@ -676,7 +698,7 @@ import {
|
|
|
676
698
|
renameSync,
|
|
677
699
|
rmSync as rmSync4
|
|
678
700
|
} from "fs";
|
|
679
|
-
import { join as
|
|
701
|
+
import { join as join6 } from "path";
|
|
680
702
|
var FILE_MODES = /* @__PURE__ */ new Set(["100644", "100755"]);
|
|
681
703
|
function refuse(path) {
|
|
682
704
|
return {
|
|
@@ -690,7 +712,7 @@ function identical(cwd, path, mode, oid) {
|
|
|
690
712
|
if (!FILE_MODES.has(mode)) return false;
|
|
691
713
|
let current = cwd;
|
|
692
714
|
for (const segment of path.split("/")) {
|
|
693
|
-
current =
|
|
715
|
+
current = join6(current, segment);
|
|
694
716
|
if (lstatSync(current).isSymbolicLink()) return false;
|
|
695
717
|
}
|
|
696
718
|
const stat = lstatSync(current);
|
|
@@ -715,7 +737,7 @@ function adopt(cwd, target, env) {
|
|
|
715
737
|
if (!match) continue;
|
|
716
738
|
const [, mode = "", oid = "", path = ""] = match;
|
|
717
739
|
if (existing.has(path)) continue;
|
|
718
|
-
if (!lstatSync(
|
|
740
|
+
if (!lstatSync(join6(cwd, path), { throwIfNoEntry: false })) continue;
|
|
719
741
|
if (!identical(cwd, path, mode, oid)) return refuse(path);
|
|
720
742
|
const added = git(
|
|
721
743
|
cwd,
|
|
@@ -742,7 +764,7 @@ function resetKeepingIdenticalFiles(cwd, target) {
|
|
|
742
764
|
try {
|
|
743
765
|
fd = openSync2(lock, "wx");
|
|
744
766
|
temporary = mkdtempSync2(`${index}.sync-`);
|
|
745
|
-
const scratch =
|
|
767
|
+
const scratch = join6(temporary, "index");
|
|
746
768
|
copyFileSync(index, scratch);
|
|
747
769
|
const env = { GIT_INDEX_FILE: scratch };
|
|
748
770
|
const refused = adopt(cwd, target, env);
|
|
@@ -786,7 +808,7 @@ function refusal(ctx) {
|
|
|
786
808
|
if (branch !== ctx.mainline)
|
|
787
809
|
return `the main checkout is on ${branch || "a detached HEAD"}, not ${ctx.mainline}`;
|
|
788
810
|
for (const marker of IN_PROGRESS) {
|
|
789
|
-
if (existsSync4(
|
|
811
|
+
if (existsSync4(join7(ctx.gitDir, marker)))
|
|
790
812
|
return `${marker} is present; another git command is running or unfinished`;
|
|
791
813
|
}
|
|
792
814
|
return null;
|
|
@@ -918,4 +940,4 @@ export {
|
|
|
918
940
|
mainlineDeliver,
|
|
919
941
|
mainlineSync
|
|
920
942
|
};
|
|
921
|
-
//# sourceMappingURL=mainline-
|
|
943
|
+
//# sourceMappingURL=mainline-6K5BA3WX.js.map
|
|
@@ -5,11 +5,11 @@ import "./chunk-XNML2KIC.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-ORBIERI3.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-JXNTKRJG.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
change
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QYH2NR6G.js";
|
|
4
|
+
import "./chunk-PQTM27GU.js";
|
|
5
|
+
import "./chunk-QSIADSMQ.js";
|
|
6
6
|
import "./chunk-A4PKLESO.js";
|
|
7
7
|
import "./chunk-OEH47H6A.js";
|
|
8
8
|
import "./chunk-IJBSOWHK.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-GJXOFDJT.js";
|
|
10
10
|
import "./chunk-PMJG2CXF.js";
|
|
11
11
|
|
|
12
12
|
// src/sessions/cli/pause.ts
|
|
@@ -14,4 +14,4 @@ var run = (context) => change(context, "pause");
|
|
|
14
14
|
export {
|
|
15
15
|
run
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=pause-
|
|
17
|
+
//# sourceMappingURL=pause-GRVTSKOK.js.map
|
|
@@ -19,7 +19,7 @@ async function route(context, verb, name) {
|
|
|
19
19
|
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) {
|
|
20
20
|
throw new ArgumentError("exec-mcp takes only a declared MCP alias");
|
|
21
21
|
}
|
|
22
|
-
const { runExecMcp } = await import("./exec-mcp-
|
|
22
|
+
const { runExecMcp } = await import("./exec-mcp-AG4G7SG7.js");
|
|
23
23
|
return await runExecMcp(context, name);
|
|
24
24
|
}
|
|
25
25
|
if (verb === "import-mcp") {
|
|
@@ -28,13 +28,13 @@ async function route(context, verb, name) {
|
|
|
28
28
|
"import-mcp takes --source, --name and --write; no positional name or --check"
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
|
-
const { importMcp } = await import("./import-mcp-
|
|
31
|
+
const { importMcp } = await import("./import-mcp-2M7SZRVQ.js");
|
|
32
32
|
return importMcp(context);
|
|
33
33
|
}
|
|
34
34
|
if (many(context.args, "source").length > 0 || one(context.args, "name") !== void 0 || context.args.flags.has("write")) {
|
|
35
35
|
throw new ArgumentError("--source, --name and --write require import-mcp");
|
|
36
36
|
}
|
|
37
|
-
const apply = await import("./apply-
|
|
37
|
+
const apply = await import("./apply-QJ6MGLBX.js");
|
|
38
38
|
if (verb === void 0) return apply.projectOrCheck(context);
|
|
39
39
|
if (context.args.flags.has("check")) {
|
|
40
40
|
throw new ArgumentError("--check takes no subcommand");
|
|
@@ -67,4 +67,4 @@ var projectCommand = {
|
|
|
67
67
|
export {
|
|
68
68
|
projectCommand
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=project-
|
|
70
|
+
//# sourceMappingURL=project-M672MKQH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ptyRef
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ONP6JRFZ.js";
|
|
4
|
+
import "./chunk-QSIADSMQ.js";
|
|
5
5
|
|
|
6
6
|
// src/sessions/wake/pty.ts
|
|
7
7
|
import { createConnection } from "net";
|
|
@@ -91,4 +91,4 @@ async function ptyTurn(record, text, _context) {
|
|
|
91
91
|
export {
|
|
92
92
|
ptyTurn
|
|
93
93
|
};
|
|
94
|
-
//# sourceMappingURL=pty-
|
|
94
|
+
//# sourceMappingURL=pty-LHKJKY2E.js.map
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
readStartup,
|
|
3
3
|
startupFile,
|
|
4
4
|
startupSettings
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C3G75JH7.js";
|
|
6
6
|
import "./chunk-R2GPCZUX.js";
|
|
7
7
|
import {
|
|
8
8
|
quote
|
|
9
9
|
} from "./chunk-34DECPVC.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-GJXOFDJT.js";
|
|
11
11
|
import "./chunk-PMJG2CXF.js";
|
|
12
12
|
import {
|
|
13
13
|
GroupStore
|
|
@@ -98,4 +98,4 @@ function inspectStartupRecovery(request) {
|
|
|
98
98
|
export {
|
|
99
99
|
inspectStartupRecovery
|
|
100
100
|
};
|
|
101
|
-
//# sourceMappingURL=recovery-
|
|
101
|
+
//# sourceMappingURL=recovery-HB2YFQSQ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
indexCommand,
|
|
3
3
|
indexPath
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PUIWESU3.js";
|
|
5
|
+
import "./chunk-PEMMV5YQ.js";
|
|
6
|
+
import "./chunk-RPCIROW7.js";
|
|
7
7
|
import "./chunk-73AKO4UL.js";
|
|
8
8
|
import "./chunk-INT7QLEU.js";
|
|
9
9
|
import "./chunk-JEL35P7S.js";
|
|
@@ -13,10 +13,10 @@ import "./chunk-6WXMJOMI.js";
|
|
|
13
13
|
import "./chunk-4CRRLDDS.js";
|
|
14
14
|
import "./chunk-YSAWTGNA.js";
|
|
15
15
|
import "./chunk-6STKGOCW.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GJXOFDJT.js";
|
|
17
17
|
import "./chunk-PMJG2CXF.js";
|
|
18
18
|
export {
|
|
19
19
|
indexCommand,
|
|
20
20
|
indexPath
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=reindex-
|
|
22
|
+
//# sourceMappingURL=reindex-I7RYWCUR.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
change
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QYH2NR6G.js";
|
|
4
|
+
import "./chunk-PQTM27GU.js";
|
|
5
|
+
import "./chunk-QSIADSMQ.js";
|
|
6
6
|
import "./chunk-A4PKLESO.js";
|
|
7
7
|
import "./chunk-OEH47H6A.js";
|
|
8
8
|
import "./chunk-IJBSOWHK.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-GJXOFDJT.js";
|
|
10
10
|
import "./chunk-PMJG2CXF.js";
|
|
11
11
|
|
|
12
12
|
// src/sessions/cli/resume.ts
|
|
@@ -14,4 +14,4 @@ var run = (context) => change(context, "resume");
|
|
|
14
14
|
export {
|
|
15
15
|
run
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=resume-
|
|
17
|
+
//# sourceMappingURL=resume-6DMPGG3N.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readSpec
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QOFSPFJ6.js";
|
|
4
4
|
import "./chunk-HQOB7OQS.js";
|
|
5
|
-
import {
|
|
6
|
-
readGitConfig
|
|
7
|
-
} from "./chunk-7B2KRL2H.js";
|
|
8
|
-
import {
|
|
9
|
-
detect
|
|
10
|
-
} from "./chunk-2Q6MNGU5.js";
|
|
11
5
|
import "./chunk-ICF2JZSN.js";
|
|
12
6
|
import "./chunk-UD3BEEBQ.js";
|
|
13
7
|
import "./chunk-ISNRDHSD.js";
|
|
14
8
|
import "./chunk-EATCUWGG.js";
|
|
15
9
|
import "./chunk-NRBQK6UX.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-DHAPQUEF.js";
|
|
18
|
-
import "./chunk-C4NHQGHL.js";
|
|
10
|
+
import "./chunk-ONP6JRFZ.js";
|
|
19
11
|
import "./chunk-P6LNYYYH.js";
|
|
12
|
+
import {
|
|
13
|
+
readGitConfig
|
|
14
|
+
} from "./chunk-5JPD6VIH.js";
|
|
15
|
+
import {
|
|
16
|
+
detect
|
|
17
|
+
} from "./chunk-2Q6MNGU5.js";
|
|
18
|
+
import "./chunk-PQTM27GU.js";
|
|
19
|
+
import "./chunk-QSIADSMQ.js";
|
|
20
20
|
import "./chunk-G7JONWL4.js";
|
|
21
21
|
import "./chunk-Q5H3L6Y4.js";
|
|
22
22
|
import {
|
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
one
|
|
25
25
|
} from "./chunk-A4PKLESO.js";
|
|
26
26
|
import "./chunk-V4NPDK6X.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-66F3HLW4.js";
|
|
28
28
|
import "./chunk-OEH47H6A.js";
|
|
29
29
|
import "./chunk-IJBSOWHK.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-FGYFA6JY.js";
|
|
31
31
|
import {
|
|
32
32
|
readConfig
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-GJXOFDJT.js";
|
|
34
34
|
import "./chunk-PMJG2CXF.js";
|
|
35
35
|
import "./chunk-J6KL3COD.js";
|
|
36
36
|
|
|
@@ -124,4 +124,4 @@ function run(context) {
|
|
|
124
124
|
export {
|
|
125
125
|
run
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=run-
|
|
127
|
+
//# sourceMappingURL=run-5W566T3V.js.map
|
|
@@ -9,11 +9,11 @@ async function executeMcpCommand(context) {
|
|
|
9
9
|
throw new ArgumentError("Use pmcp mcp <login|logout|status> <name>");
|
|
10
10
|
if (context.args.flags.has("json") && verb !== "status")
|
|
11
11
|
throw new ArgumentError("--json requires mcp status");
|
|
12
|
-
if (verb === "status") return (await import("./status-
|
|
13
|
-
if (verb === "logout") return (await import("./logout-
|
|
14
|
-
return (await import("./start-login-
|
|
12
|
+
if (verb === "status") return (await import("./status-73FEFQUQ.js")).run(context);
|
|
13
|
+
if (verb === "logout") return (await import("./logout-OO3DERRK.js")).run(context);
|
|
14
|
+
return (await import("./start-login-BGFAMCZL.js")).run(context);
|
|
15
15
|
}
|
|
16
16
|
export {
|
|
17
17
|
executeMcpCommand
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=run-
|
|
19
|
+
//# sourceMappingURL=run-ORBIERI3.js.map
|