@modootoday/pmcp 0.32.0 → 0.34.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-BHHN2Q3D.js → affected-7G6Z6UIH.js} +3 -3
- package/dist/{apply-SSYZGDJU.js → apply-D72RERVD.js} +15 -14
- package/dist/{available-74CMIBPD.js → available-CYDZYY7E.js} +3 -2
- package/dist/{broadcast-U7ZYOJWE.js → broadcast-4YBKHLXV.js} +5 -5
- package/dist/chunk-2XPZHQKC.js +175 -0
- package/dist/{chunk-IAR7BL5R.js → chunk-3VXOYOSB.js} +2 -2
- package/dist/{chunk-QZY36KNT.js → chunk-3ZGNO4Y6.js} +2 -2
- package/dist/{chunk-C3G75JH7.js → chunk-4B2VDTHL.js} +16 -5
- package/dist/{chunk-6H3HN7E7.js → chunk-4DIR63AD.js} +5 -5
- package/dist/{chunk-65BW7Y6O.js → chunk-4F4CMDKZ.js} +1 -1
- package/dist/{chunk-YOWIYFIV.js → chunk-4U4GLMZ6.js} +5 -8
- package/dist/{chunk-JANBBPKP.js → chunk-5VGNZSB7.js} +6 -6
- package/dist/{chunk-OIV44CYB.js → chunk-6AFTQ7J6.js} +3 -3
- package/dist/{chunk-OS5CYV27.js → chunk-6BE63FTB.js} +3 -3
- package/dist/{chunk-Y2XASHVY.js → chunk-AXNXNFSV.js} +2 -2
- package/dist/{chunk-3DRV5KHZ.js → chunk-BA3LAWC5.js} +4 -4
- package/dist/{chunk-HF5D6B2U.js → chunk-BN73TTTP.js} +7 -10
- package/dist/{chunk-XADROJFL.js → chunk-BVNENZWQ.js} +2 -2
- package/dist/{chunk-UT2NACLW.js → chunk-CJL5V5SY.js} +2 -2
- package/dist/{chunk-E2E4HIEN.js → chunk-CSZ2HI2R.js} +2 -2
- package/dist/{chunk-ITDJ2EXN.js → chunk-DIWQOLPW.js} +2 -2
- package/dist/{chunk-MUGHZ6QC.js → chunk-ECWE52ML.js} +2 -2
- package/dist/chunk-EWEY3ASH.js +21 -0
- package/dist/{chunk-KWCZKCTC.js → chunk-FN7S3SX7.js} +11 -15
- package/dist/{chunk-SMHHL25Y.js → chunk-FWAUMXQ3.js} +9 -6
- package/dist/{chunk-IFFOJ3IE.js → chunk-GS7KWWRO.js} +2 -2
- package/dist/{chunk-7DJQASH3.js → chunk-IH76KECZ.js} +10 -34
- package/dist/{chunk-Q6V274OB.js → chunk-JNW2Z36X.js} +2 -2
- package/dist/chunk-JOGLKWN7.js +52 -0
- package/dist/{chunk-VBVNOLRR.js → chunk-K4ZG3BXL.js} +2 -2
- package/dist/{chunk-JZKAJUVT.js → chunk-KESQUAKO.js} +2 -2
- package/dist/{chunk-UVTGY2R3.js → chunk-KRDNVEV6.js} +4 -7
- package/dist/{chunk-2HL2MFNI.js → chunk-KWSCDIE2.js} +2 -2
- package/dist/{chunk-OIYZT4BG.js → chunk-LBPMMSQQ.js} +11 -4
- package/dist/chunk-LWQIS2FC.js +7 -0
- package/dist/{chunk-QYLOIM4U.js → chunk-MFD2UEJY.js} +6 -8
- package/dist/{chunk-JPYQDOEW.js → chunk-MPYM2HYV.js} +7 -9
- package/dist/{chunk-YJVSN6UN.js → chunk-NFWN3AMZ.js} +3 -3
- package/dist/{chunk-GQRDEIQA.js → chunk-NQBSTHYF.js} +1 -1
- package/dist/{chunk-I4U2A6HP.js → chunk-NQVAFHDK.js} +2 -2
- package/dist/{chunk-LXWAU7AX.js → chunk-OOH47XJH.js} +6 -6
- package/dist/{chunk-FGG7JJ5M.js → chunk-PCSEVF6W.js} +3 -3
- package/dist/{chunk-AALSWFPA.js → chunk-PVRTQUZU.js} +7 -7
- package/dist/{chunk-ESM7TFTO.js → chunk-PXBG3PWL.js} +2 -2
- package/dist/{chunk-V4NPDK6X.js → chunk-QRLTTS5K.js} +1 -1
- package/dist/{chunk-4VVQLWTS.js → chunk-SXFW4COX.js} +2 -2
- package/dist/{chunk-UKGO2RR7.js → chunk-T3Z4HCOL.js} +2 -2
- package/dist/{chunk-WZYGM3FR.js → chunk-TLHWUYTW.js} +5 -5
- package/dist/{chunk-D7IDT7OA.js → chunk-UFGGQVB7.js} +5 -5
- package/dist/{chunk-OIKT4SYO.js → chunk-UOFHM6OM.js} +2 -2
- package/dist/{chunk-NQCAKDRY.js → chunk-UORJZ7TK.js} +3 -3
- package/dist/{chunk-A4P3IIPE.js → chunk-VCQQHIH5.js} +5 -5
- package/dist/{chunk-VEJU5HXJ.js → chunk-VNHQFQED.js} +3 -3
- package/dist/{chunk-FALOBFE6.js → chunk-WGVMNDIL.js} +3 -3
- package/dist/{chunk-QRCAGKC6.js → chunk-WWNY53B6.js} +14 -11
- package/dist/{chunk-WBPVNCQO.js → chunk-WYK57MIH.js} +6 -6
- package/dist/{chunk-TQRLWO4F.js → chunk-XPYY6K5L.js} +2 -2
- package/dist/{chunk-FFQA2R5P.js → chunk-XTZTZLRD.js} +6 -13
- package/dist/{chunk-PRQICZXO.js → chunk-XXKM57RC.js} +14 -14
- package/dist/{chunk-SU6R4VWV.js → chunk-Z4EIDZ4E.js} +3 -3
- package/dist/{cli-RHOETDBX.js → cli-AOVS3DLY.js} +7 -7
- package/dist/{cli-ZOY2274X.js → cli-TVVP3DZ5.js} +10 -10
- package/dist/cli.js +19 -19
- package/dist/{completion-PE6CHX4K.js → completion-TJU5Y5V5.js} +18 -18
- package/dist/{diagnostics-7Y5OFV44.js → diagnostics-5MRXHPGM.js} +9 -8
- package/dist/{doctor-GBIPPKPD.js → doctor-4LDRVDRV.js} +18 -17
- package/dist/{doctor-XY6OMK7W.js → doctor-AOTBASUL.js} +19 -15
- package/dist/{entry-4WT2WM6C.js → entry-77M53A4M.js} +15 -14
- package/dist/{exec-mcp-BLTFBWND.js → exec-mcp-35X37R6L.js} +12 -11
- package/dist/{harness-HGBKFIUT.js → harness-NHCCUJCP.js} +3 -3
- package/dist/harness-launch-gate.js +8 -7
- package/dist/harness-pane-runner.js +3 -2
- package/dist/harness-worker.js +10 -9
- package/dist/{heavy-E55QD5LR.js → heavy-TVIMQZW2.js} +16 -13
- package/dist/{hooks-MT3CGRSU.js → hooks-HWVXTAXT.js} +5 -5
- package/dist/{host-AMKVSOYU.js → host-HFBE3VYV.js} +14 -13
- package/dist/{host-FXO4VGE6.js → host-KIYJQHMQ.js} +6 -6
- package/dist/{host-5AI4JAXD.js → host-ORJHLJIZ.js} +9 -8
- package/dist/{host-run-M2KMMU72.js → host-run-42GFROF7.js} +7 -6
- package/dist/http.d.ts +4 -4
- package/dist/http.js +4 -3
- package/dist/{import-mcp-QTUVK5GE.js → import-mcp-H67C4O2W.js} +11 -10
- package/dist/index.d.ts +6 -7
- package/dist/index.js +18 -17
- package/dist/init-J2FE6GTQ.js +14 -0
- package/dist/{install-5JH4DSFF.js → install-ITEWB6V3.js} +3 -2
- package/dist/{invoke-D2CYSRFG.js → invoke-S6IZRUCO.js} +12 -11
- package/dist/{list-LV5EKCF6.js → list-CNLGT6TK.js} +3 -2
- package/dist/{list-UG67V5EO.js → list-PEUJYQDQ.js} +13 -12
- package/dist/{load-BEUBABtB.d.ts → load-C6Iite0Q.d.ts} +1 -1
- package/dist/{logout-Z5KMKTTP.js → logout-JEF4D25W.js} +12 -11
- package/dist/{logs-J4W6GFMK.js → logs-G4LAFJ3O.js} +83 -7
- package/dist/mailbox/index.js +5 -4
- package/dist/{mailbox-6MHH6CUA.js → mailbox-AZR6YUC5.js} +5 -5
- package/dist/{mailbox-ZHZWZMAY.js → mailbox-GSGP5EGX.js} +6 -5
- package/dist/{mainline-Y4HOI5R7.js → mainline-5GVIB4O5.js} +7 -7
- package/dist/{marketplace-2X3OOEPW.js → marketplace-S3DXRVIR.js} +16 -8
- package/dist/{mcp-QARZ7L22.js → mcp-MT3XMFGL.js} +4 -4
- package/dist/{measure-K7D3GLC6.js → measure-NZ4BNKK3.js} +7 -7
- package/dist/{models-XSF45MCD.js → models-YEMUWADC.js} +3 -2
- package/dist/{owners-MPI22SFU.js → owners-E3WYJML3.js} +3 -3
- package/dist/{pause-3IMVYXQQ.js → pause-HVXLAT7D.js} +5 -5
- package/dist/{plan-JAHYXJHP.js → plan-6T2GG5CT.js} +7 -7
- package/dist/{preview-465CQJBQ.js → preview-PPA6UJDD.js} +3 -2
- package/dist/{project-5SL2CE5F.js → project-GMUHGTIY.js} +7 -7
- package/dist/{recovery-HB2YFQSQ.js → recovery-7ATXH6W5.js} +5 -4
- package/dist/{reindex-D62HQAN2.js → reindex-KQJAX323.js} +4 -3
- package/dist/{resume-7LCSV4X3.js → resume-MMHI3BNI.js} +5 -5
- package/dist/{run-EUU6TJBI.js → run-FBPJ234Y.js} +4 -4
- package/dist/{run-H22CN65S.js → run-NVQFGBGN.js} +11 -10
- package/dist/{serve-36VOPK47.js → serve-KUC235MZ.js} +12 -10
- package/dist/{session-3YVVO2GR.js → session-BTN4JXQ4.js} +3 -2
- package/dist/{setup-Y5SM4LKI.js → setup-2TDTMJHV.js} +4 -4
- package/dist/{smoke-GZECLXOJ.js → smoke-UK42EV7O.js} +3 -3
- package/dist/{start-login-3CUVLBDP.js → start-login-4CC753AK.js} +12 -11
- package/dist/{status-QFMN7IUG.js → status-GQHMLK4G.js} +5 -5
- package/dist/{status-SLQQMCZP.js → status-N4VRXN4H.js} +12 -11
- package/dist/{status-ZGFOO5YT.js → status-SGL5NDH2.js} +15 -14
- package/dist/stdio.d.ts +1 -1
- package/dist/stdio.js +7 -6
- package/dist/{sweep-BS7HVSNP.js → sweep-UVD3KAFD.js} +5 -5
- package/dist/{test-JKU4KELV.js → test-R64EJ7WH.js} +13 -12
- package/dist/{tools-gpHNq9Dh.d.ts → tools-Dnu9wAAm.d.ts} +20 -6
- package/dist/{tui-QB42W3XZ.js → tui-HBZV5VJ6.js} +5 -5
- package/dist/{unbroadcast-GRGX3F6T.js → unbroadcast-YWUKATJK.js} +5 -5
- package/dist/{validate-YXR7FJJX.js → validate-MIVCL2ZK.js} +5 -3
- package/dist/{worker-VPP2HD6O.js → worker-2MOWPJLI.js} +13 -12
- package/docs/commands.md +37 -13
- package/docs/compatibility.md +5 -0
- package/docs/project-configuration.md +36 -36
- package/docs/upgrading.md +29 -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-BU65MNVU.js +0 -13
- package/dist/chunk-KNIHXLDE.js +0 -7
- package/dist/chunk-PPWEOXIU.js +0 -175
- package/dist/init-RAAQOP4D.js +0 -14
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-34DECPVC.js";
|
|
4
4
|
import {
|
|
5
5
|
ptyBinary
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XXKM57RC.js";
|
|
7
7
|
import {
|
|
8
8
|
GroupStore,
|
|
9
9
|
egressPolicy,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
profileName,
|
|
12
12
|
readPrivateJson,
|
|
13
13
|
selectedProfile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DIWQOLPW.js";
|
|
15
15
|
import {
|
|
16
16
|
integer,
|
|
17
17
|
object,
|
|
@@ -775,4 +775,4 @@ export {
|
|
|
775
775
|
prepareBridge,
|
|
776
776
|
assertBridge
|
|
777
777
|
};
|
|
778
|
-
//# sourceMappingURL=chunk-
|
|
778
|
+
//# sourceMappingURL=chunk-PCSEVF6W.js.map
|
|
@@ -7,24 +7,24 @@ import {
|
|
|
7
7
|
observeSession,
|
|
8
8
|
openGroup,
|
|
9
9
|
runOperation
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XTZTZLRD.js";
|
|
11
11
|
import {
|
|
12
12
|
nativeHostTools
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ECWE52ML.js";
|
|
14
14
|
import {
|
|
15
15
|
locateExecutable
|
|
16
16
|
} from "./chunk-R2GPCZUX.js";
|
|
17
17
|
import {
|
|
18
18
|
artifact,
|
|
19
19
|
stateDirectory
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PCSEVF6W.js";
|
|
21
21
|
import {
|
|
22
22
|
ptyBinary
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XXKM57RC.js";
|
|
24
24
|
import {
|
|
25
25
|
GroupStore,
|
|
26
26
|
privateJson
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DIWQOLPW.js";
|
|
28
28
|
import {
|
|
29
29
|
integer,
|
|
30
30
|
object,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-5OMOPUE6.js";
|
|
33
33
|
import {
|
|
34
34
|
runtimeExecutables
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-EWEY3ASH.js";
|
|
36
36
|
|
|
37
37
|
// src/harness/adapters/process/serialized.ts
|
|
38
38
|
import { randomUUID } from "crypto";
|
|
@@ -249,4 +249,4 @@ async function invoke(operation) {
|
|
|
249
249
|
export {
|
|
250
250
|
invoke
|
|
251
251
|
};
|
|
252
|
-
//# sourceMappingURL=chunk-
|
|
252
|
+
//# sourceMappingURL=chunk-PVRTQUZU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LWQIS2FC.js";
|
|
4
4
|
import {
|
|
5
5
|
ConfigError
|
|
6
6
|
} from "./chunk-GJXOFDJT.js";
|
|
@@ -130,4 +130,4 @@ export {
|
|
|
130
130
|
table,
|
|
131
131
|
child
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=chunk-
|
|
133
|
+
//# sourceMappingURL=chunk-PXBG3PWL.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
configOption,
|
|
3
3
|
jsonOption
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MPYM2HYV.js";
|
|
5
5
|
|
|
6
6
|
// src/commands/specs/git.ts
|
|
7
7
|
var gitSpec = {
|
|
@@ -90,4 +90,4 @@ var gitSpec = {
|
|
|
90
90
|
export {
|
|
91
91
|
gitSpec
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-SXFW4COX.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
Reader,
|
|
18
18
|
child,
|
|
19
19
|
table
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PXBG3PWL.js";
|
|
21
21
|
import {
|
|
22
22
|
projectStateDir
|
|
23
23
|
} from "./chunk-KLIYFD3W.js";
|
|
@@ -338,4 +338,4 @@ export {
|
|
|
338
338
|
gateTreePath,
|
|
339
339
|
leaseSpecs
|
|
340
340
|
};
|
|
341
|
-
//# sourceMappingURL=chunk-
|
|
341
|
+
//# sourceMappingURL=chunk-T3Z4HCOL.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
2
|
+
configOption,
|
|
3
|
+
jsonOption
|
|
4
|
+
} from "./chunk-MPYM2HYV.js";
|
|
5
5
|
|
|
6
6
|
// src/commands/specs/logs.ts
|
|
7
7
|
var logsSpec = {
|
|
@@ -14,7 +14,7 @@ var logsSpec = {
|
|
|
14
14
|
usage: "pmcp logs [--session <id>] [--trace <id>] [--component <name>] [--level <level>] [--since <10m|ISO>] [--follow] [--pretty]",
|
|
15
15
|
options: [
|
|
16
16
|
jsonOption,
|
|
17
|
-
|
|
17
|
+
configOption,
|
|
18
18
|
{
|
|
19
19
|
name: "session",
|
|
20
20
|
describe: "Only this session (a prefix is enough).",
|
|
@@ -52,4 +52,4 @@ var logsSpec = {
|
|
|
52
52
|
export {
|
|
53
53
|
logsSpec
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=chunk-
|
|
55
|
+
//# sourceMappingURL=chunk-TLHWUYTW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
2
|
+
configOption,
|
|
3
|
+
jsonOption
|
|
4
|
+
} from "./chunk-MPYM2HYV.js";
|
|
5
5
|
|
|
6
6
|
// src/commands/specs/owners.ts
|
|
7
7
|
var ownersSpec = {
|
|
@@ -12,10 +12,10 @@ var ownersSpec = {
|
|
|
12
12
|
],
|
|
13
13
|
describe: "Who looks after a path, from [[owners]] in pmcp.toml",
|
|
14
14
|
usage: "pmcp owners <path>... [--config <file>] [--json]",
|
|
15
|
-
options: [
|
|
15
|
+
options: [configOption, jsonOption]
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
export {
|
|
19
19
|
ownersSpec
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
//# sourceMappingURL=chunk-UFGGQVB7.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
operatorCheck,
|
|
3
3
|
readOperatorSettings,
|
|
4
4
|
requireOperator
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UORJZ7TK.js";
|
|
6
6
|
import {
|
|
7
7
|
ArgumentError,
|
|
8
8
|
one
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
isOperator,
|
|
40
40
|
requireOperatorFor
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-UOFHM6OM.js.map
|
|
@@ -23,7 +23,7 @@ var ENV_MARKERS = [
|
|
|
23
23
|
"OPENCODE",
|
|
24
24
|
"AI_AGENT"
|
|
25
25
|
];
|
|
26
|
-
var
|
|
26
|
+
var AGENT_PROCESS_NAMES = /* @__PURE__ */ new Set([
|
|
27
27
|
"claude",
|
|
28
28
|
"codex",
|
|
29
29
|
"gemini",
|
|
@@ -49,7 +49,7 @@ function view(pid) {
|
|
|
49
49
|
function agentProcess(p) {
|
|
50
50
|
const first = p.cmdline.split(" ")[0] ?? "";
|
|
51
51
|
const base = first.slice(first.lastIndexOf("/") + 1);
|
|
52
|
-
return
|
|
52
|
+
return AGENT_PROCESS_NAMES.has(p.name) || AGENT_PROCESS_NAMES.has(base) || PACKAGES.test(p.cmdline);
|
|
53
53
|
}
|
|
54
54
|
function agentContext(env, chain = ancestors().flatMap((pid) => view(pid) ?? [])) {
|
|
55
55
|
const marker = ENV_MARKERS.find((name) => env[name] !== void 0);
|
|
@@ -153,4 +153,4 @@ export {
|
|
|
153
153
|
operatorCheck,
|
|
154
154
|
requireOperator
|
|
155
155
|
};
|
|
156
|
-
//# sourceMappingURL=chunk-
|
|
156
|
+
//# sourceMappingURL=chunk-UORJZ7TK.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
2
|
+
configOption,
|
|
3
|
+
jsonOption
|
|
4
|
+
} from "./chunk-MPYM2HYV.js";
|
|
5
5
|
|
|
6
6
|
// src/commands/specs/sessions.ts
|
|
7
7
|
var SESSION_VERBS = [
|
|
@@ -119,7 +119,7 @@ var sessionsSpec = {
|
|
|
119
119
|
usage: "pmcp sessions [<subcommand>] [options]",
|
|
120
120
|
options: [
|
|
121
121
|
jsonOption,
|
|
122
|
-
|
|
122
|
+
configOption,
|
|
123
123
|
{
|
|
124
124
|
name: "by",
|
|
125
125
|
describe: "Who pauses, broadcasts or sends; that session is exempt. Default: the agent session this runs in; operator only from the operator's terminal.",
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
JSON_VERBS,
|
|
171
171
|
sessionsSpec
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
173
|
+
//# sourceMappingURL=chunk-VCQQHIH5.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSkillServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BA3LAWC5.js";
|
|
4
4
|
import {
|
|
5
5
|
attachMailbox
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KESQUAKO.js";
|
|
7
7
|
|
|
8
8
|
// src/stdio.ts
|
|
9
9
|
import { serveStdio } from "@modelcontextprotocol/server/stdio";
|
|
@@ -84,4 +84,4 @@ export {
|
|
|
84
84
|
serveWithMailbox,
|
|
85
85
|
main
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-VNHQFQED.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-3VXOYOSB.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-ECWE52ML.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-WGVMNDIL.js.map
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PRODUCT_NAMES,
|
|
3
|
+
productNameOf,
|
|
4
|
+
runtimeIdOf
|
|
5
|
+
} from "./chunk-JOGLKWN7.js";
|
|
6
|
+
|
|
1
7
|
// src/runtime.ts
|
|
2
8
|
import { CLIENT_INFO_META_KEY } from "@modelcontextprotocol/server";
|
|
3
|
-
var RUNTIMES =
|
|
4
|
-
"claude-code",
|
|
5
|
-
"codex-cli",
|
|
6
|
-
"gemini-cli",
|
|
7
|
-
"grok-cli",
|
|
8
|
-
"antigravity"
|
|
9
|
-
];
|
|
9
|
+
var RUNTIMES = PRODUCT_NAMES;
|
|
10
10
|
var VERIFIED_RUNTIMES_KEY = "verified-runtimes";
|
|
11
|
-
|
|
11
|
+
function productOf(word) {
|
|
12
|
+
const id = runtimeIdOf(word);
|
|
13
|
+
return id === null ? null : productNameOf(id);
|
|
14
|
+
}
|
|
12
15
|
function verifiedWords(raw) {
|
|
13
16
|
if (typeof raw === "string") return raw.split(/[\s,]+/u);
|
|
14
17
|
if (Array.isArray(raw)) return raw.map((word) => String(word).trim());
|
|
@@ -17,8 +20,8 @@ function verifiedWords(raw) {
|
|
|
17
20
|
function verifiedRuntimesOf(metadata) {
|
|
18
21
|
const raw = metadata?.[VERIFIED_RUNTIMES_KEY];
|
|
19
22
|
if (raw === void 0) return [];
|
|
20
|
-
const
|
|
21
|
-
return [...new Set(
|
|
23
|
+
const products = verifiedWords(raw).map(productOf);
|
|
24
|
+
return [...new Set(products.filter((name) => name !== null))];
|
|
22
25
|
}
|
|
23
26
|
var CLIENT_PATTERNS = [
|
|
24
27
|
[/claude[-_ ]?code/u, "claude-code"],
|
|
@@ -110,4 +113,4 @@ export {
|
|
|
110
113
|
messageSchema,
|
|
111
114
|
cursorSchema
|
|
112
115
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
116
|
+
//# sourceMappingURL=chunk-WWNY53B6.js.map
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
dryRunOption
|
|
3
|
+
} from "./chunk-MPYM2HYV.js";
|
|
4
|
+
|
|
1
5
|
// src/commands/options/remote.ts
|
|
2
6
|
var REMOTE_OPTIONS = [
|
|
3
7
|
{
|
|
@@ -43,11 +47,7 @@ var previewSpec = {
|
|
|
43
47
|
};
|
|
44
48
|
var MANAGE_OPTIONS = [
|
|
45
49
|
...REMOTE_OPTIONS,
|
|
46
|
-
|
|
47
|
-
name: "dry-run",
|
|
48
|
-
describe: "Show the plan without installing or changing files.",
|
|
49
|
-
boolean: true
|
|
50
|
-
},
|
|
50
|
+
dryRunOption("Show the plan without installing or changing files."),
|
|
51
51
|
{
|
|
52
52
|
name: "yes",
|
|
53
53
|
describe: "Approve the displayed project and lockfile changes.",
|
|
@@ -86,4 +86,4 @@ export {
|
|
|
86
86
|
installSpec,
|
|
87
87
|
syncSpec
|
|
88
88
|
};
|
|
89
|
-
//# sourceMappingURL=chunk-
|
|
89
|
+
//# sourceMappingURL=chunk-WYK57MIH.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
readFixtures,
|
|
6
6
|
smoke
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NQBSTHYF.js";
|
|
8
8
|
import {
|
|
9
9
|
ArgumentError,
|
|
10
10
|
EXIT,
|
|
@@ -51,4 +51,4 @@ export {
|
|
|
51
51
|
printSmoke,
|
|
52
52
|
run
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=chunk-
|
|
54
|
+
//# sourceMappingURL=chunk-XPYY6K5L.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertNativeHost
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ECWE52ML.js";
|
|
4
4
|
import {
|
|
5
5
|
locateExecutable
|
|
6
6
|
} from "./chunk-R2GPCZUX.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
resourceClaim,
|
|
34
34
|
resourceRunning,
|
|
35
35
|
runtimeUnit
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PCSEVF6W.js";
|
|
37
37
|
import {
|
|
38
38
|
command
|
|
39
39
|
} from "./chunk-34DECPVC.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
profileName,
|
|
45
45
|
readPrivateJson,
|
|
46
46
|
selectedProfile
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-DIWQOLPW.js";
|
|
48
48
|
import {
|
|
49
49
|
id,
|
|
50
50
|
integer,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-5OMOPUE6.js";
|
|
55
55
|
import {
|
|
56
56
|
runtimeExecutables
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-EWEY3ASH.js";
|
|
58
58
|
import {
|
|
59
59
|
envNames,
|
|
60
60
|
pickEnv
|
|
@@ -853,14 +853,7 @@ function cleanup(connection) {
|
|
|
853
853
|
if (connection.alive()) connection.call({ op: "shutdown" }, 3e4);
|
|
854
854
|
}
|
|
855
855
|
function profileOf(runtime) {
|
|
856
|
-
|
|
857
|
-
"codex-cli": "codex",
|
|
858
|
-
"claude-code": "claude",
|
|
859
|
-
"gemini-cli": "gemini",
|
|
860
|
-
"grok-cli": "grok",
|
|
861
|
-
antigravity: "agy"
|
|
862
|
-
};
|
|
863
|
-
return profiles[runtime] ?? "default";
|
|
856
|
+
return runtimeExecutables[runtime] ?? "default";
|
|
864
857
|
}
|
|
865
858
|
|
|
866
859
|
// src/harness/adapters/terminal/input.ts
|
|
@@ -1981,4 +1974,4 @@ export {
|
|
|
1981
1974
|
isReadOnly,
|
|
1982
1975
|
runOperation
|
|
1983
1976
|
};
|
|
1984
|
-
//# sourceMappingURL=chunk-
|
|
1977
|
+
//# sourceMappingURL=chunk-XTZTZLRD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readLeaseSettings
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3ZGNO4Y6.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-LWQIS2FC.js";
|
|
16
16
|
import {
|
|
17
17
|
ConfigError
|
|
18
18
|
} from "./chunk-GJXOFDJT.js";
|
|
@@ -20,6 +20,11 @@ import {
|
|
|
20
20
|
envNames,
|
|
21
21
|
pickEnv
|
|
22
22
|
} from "./chunk-J6KL3COD.js";
|
|
23
|
+
import {
|
|
24
|
+
EXECUTABLES,
|
|
25
|
+
RUNTIME_IDS,
|
|
26
|
+
runtimeIdOf
|
|
27
|
+
} from "./chunk-JOGLKWN7.js";
|
|
23
28
|
|
|
24
29
|
// src/native/binary.ts
|
|
25
30
|
import { accessSync, constants, statSync } from "fs";
|
|
@@ -300,14 +305,9 @@ function readHostDesktop(path, raw) {
|
|
|
300
305
|
}
|
|
301
306
|
|
|
302
307
|
// src/project/host-spec.ts
|
|
303
|
-
var HOST_RUNTIMES =
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
"gemini",
|
|
307
|
-
"agy",
|
|
308
|
-
"grok",
|
|
309
|
-
"opencode"
|
|
310
|
-
];
|
|
308
|
+
var HOST_RUNTIMES = RUNTIME_IDS.map(
|
|
309
|
+
(id) => EXECUTABLES[id]
|
|
310
|
+
);
|
|
311
311
|
var NAME2 = /^[a-z0-9][a-z0-9-]{0,47}$/u;
|
|
312
312
|
var LABEL = /^[a-z0-9][a-z0-9._-]{0,63}$/u;
|
|
313
313
|
var CONTROL = /[\u0000-\u001f\u007f]/u;
|
|
@@ -336,10 +336,10 @@ function texts(path, where, value) {
|
|
|
336
336
|
return value.map((v, i) => text(path, `${where}[${i}]`, v));
|
|
337
337
|
}
|
|
338
338
|
function runtime(path, where, value) {
|
|
339
|
-
const
|
|
340
|
-
if (
|
|
339
|
+
const id = runtimeIdOf(text(path, where, value));
|
|
340
|
+
if (id === null)
|
|
341
341
|
fail2(path, `${where} must be one of ${HOST_RUNTIMES.join(", ")}`);
|
|
342
|
-
return
|
|
342
|
+
return EXECUTABLES[id];
|
|
343
343
|
}
|
|
344
344
|
function relative(path, where, value) {
|
|
345
345
|
const dir = normalize(text(path, where, value));
|
|
@@ -610,4 +610,4 @@ export {
|
|
|
610
610
|
hostEnvDoctor,
|
|
611
611
|
hostDoctor
|
|
612
612
|
};
|
|
613
|
-
//# sourceMappingURL=chunk-
|
|
613
|
+
//# sourceMappingURL=chunk-XXKM57RC.js.map
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
splitKeyed,
|
|
20
20
|
versionMatches,
|
|
21
21
|
withoutBlock
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FN7S3SX7.js";
|
|
23
23
|
import {
|
|
24
24
|
lockVersionProblem,
|
|
25
25
|
readLock,
|
|
26
26
|
replaceFile
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XXKM57RC.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-Z4EIDZ4E.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
gitSpec
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SXFW4COX.js";
|
|
4
|
+
import "./chunk-MPYM2HYV.js";
|
|
5
5
|
import {
|
|
6
6
|
ArgumentError,
|
|
7
7
|
one,
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
async function action(positional) {
|
|
13
13
|
const [verb, sub] = positional;
|
|
14
14
|
if (verb === "deliver")
|
|
15
|
-
return (await import("./mainline-
|
|
16
|
-
if (verb === "sync") return (await import("./mainline-
|
|
15
|
+
return (await import("./mainline-5GVIB4O5.js")).mainlineDeliver;
|
|
16
|
+
if (verb === "sync") return (await import("./mainline-5GVIB4O5.js")).mainlineSync;
|
|
17
17
|
if (verb !== "worktree")
|
|
18
18
|
throw unknownSubcommand("git", verb, [
|
|
19
19
|
"worktree",
|
|
@@ -32,7 +32,7 @@ async function action(positional) {
|
|
|
32
32
|
async function run(context) {
|
|
33
33
|
const [verb, sub] = context.args.positional;
|
|
34
34
|
if (verb === "affected")
|
|
35
|
-
return (await import("./affected-
|
|
35
|
+
return (await import("./affected-7G6Z6UIH.js")).gitAffected(context);
|
|
36
36
|
if (context.args.flags.has("tests-only") || context.args.options.has("head"))
|
|
37
37
|
throw new ArgumentError("--tests-only and --head require git affected");
|
|
38
38
|
if (context.args.flags.has("json") && !(verb === "worktree" && sub === "list") && verb !== "deliver")
|
|
@@ -40,7 +40,7 @@ async function run(context) {
|
|
|
40
40
|
"--json requires git worktree list, git deliver or git affected"
|
|
41
41
|
);
|
|
42
42
|
const act = await action(context.args.positional);
|
|
43
|
-
const { loadGit } = await import("./setup-
|
|
43
|
+
const { loadGit } = await import("./setup-2TDTMJHV.js");
|
|
44
44
|
const setup = loadGit(context.cwd, one(context.args, "config"), context.env);
|
|
45
45
|
if (setup instanceof Error) {
|
|
46
46
|
context.ui.error(setup.message);
|
|
@@ -57,4 +57,4 @@ var gitCommand = { ...gitSpec, run };
|
|
|
57
57
|
export {
|
|
58
58
|
gitCommand
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=cli-
|
|
60
|
+
//# sourceMappingURL=cli-AOVS3DLY.js.map
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
JSON_VERBS,
|
|
3
3
|
SESSION_VERBS,
|
|
4
4
|
sessionsSpec
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-VCQQHIH5.js";
|
|
6
|
+
import "./chunk-MPYM2HYV.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError,
|
|
9
9
|
unknownSubcommand
|
|
@@ -15,26 +15,26 @@ async function run(context) {
|
|
|
15
15
|
if (!SESSION_VERBS.includes(verb))
|
|
16
16
|
throw unknownSubcommand("sessions", verb, SESSION_VERBS);
|
|
17
17
|
if (verb === "status")
|
|
18
|
-
return (await import("./status-
|
|
18
|
+
return (await import("./status-GQHMLK4G.js")).status(context);
|
|
19
19
|
if (context.args.flags.has("json") && !JSON_VERBS.includes(verb))
|
|
20
20
|
throw new ArgumentError(`--json works with ${JSON_VERBS.join(", ")}`);
|
|
21
21
|
if (["send", "inbox", "ack", "reply"].includes(verb)) {
|
|
22
|
-
const mailbox = await import("./mailbox-
|
|
22
|
+
const mailbox = await import("./mailbox-AZR6YUC5.js");
|
|
23
23
|
if (verb === "send") return mailbox.send(context);
|
|
24
24
|
if (verb === "inbox") return mailbox.inbox(context);
|
|
25
25
|
if (verb === "ack") return mailbox.ack(context);
|
|
26
26
|
return mailbox.reply(context);
|
|
27
27
|
}
|
|
28
|
-
if (verb === "pause") return (await import("./pause-
|
|
29
|
-
if (verb === "resume") return (await import("./resume-
|
|
28
|
+
if (verb === "pause") return (await import("./pause-HVXLAT7D.js")).run(context);
|
|
29
|
+
if (verb === "resume") return (await import("./resume-MMHI3BNI.js")).run(context);
|
|
30
30
|
if (verb === "broadcast")
|
|
31
|
-
return (await import("./broadcast-
|
|
31
|
+
return (await import("./broadcast-4YBKHLXV.js")).run(context);
|
|
32
32
|
if (verb === "unbroadcast")
|
|
33
|
-
return (await import("./unbroadcast-
|
|
34
|
-
return (await import("./sweep-
|
|
33
|
+
return (await import("./unbroadcast-YWUKATJK.js")).run(context);
|
|
34
|
+
return (await import("./sweep-UVD3KAFD.js")).run(context);
|
|
35
35
|
}
|
|
36
36
|
var sessionsCommand = { ...sessionsSpec, run };
|
|
37
37
|
export {
|
|
38
38
|
sessionsCommand
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=cli-
|
|
40
|
+
//# sourceMappingURL=cli-TVVP3DZ5.js.map
|
package/dist/cli.js
CHANGED
|
@@ -6,32 +6,32 @@ import {
|
|
|
6
6
|
COMMANDS,
|
|
7
7
|
PLANNED,
|
|
8
8
|
commandNamed
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-2XPZHQKC.js";
|
|
10
|
+
import "./chunk-5VGNZSB7.js";
|
|
11
|
+
import "./chunk-KWSCDIE2.js";
|
|
12
12
|
import "./chunk-QR6A3TYP.js";
|
|
13
13
|
import "./chunk-F3R5HEUB.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-UFGGQVB7.js";
|
|
15
|
+
import "./chunk-KRDNVEV6.js";
|
|
16
|
+
import "./chunk-SXFW4COX.js";
|
|
17
|
+
import "./chunk-OOH47XJH.js";
|
|
18
18
|
import {
|
|
19
19
|
endQuietlyOnClosedPipe
|
|
20
20
|
} from "./chunk-X6W7JIED.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-VCQQHIH5.js";
|
|
22
|
+
import "./chunk-TLHWUYTW.js";
|
|
23
|
+
import "./chunk-WYK57MIH.js";
|
|
24
|
+
import "./chunk-BN73TTTP.js";
|
|
25
|
+
import "./chunk-K4ZG3BXL.js";
|
|
26
|
+
import "./chunk-IH76KECZ.js";
|
|
27
27
|
import "./chunk-5NDUWEMW.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-MFD2UEJY.js";
|
|
29
29
|
import {
|
|
30
30
|
invocation
|
|
31
31
|
} from "./chunk-J7UYNJCR.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-CSZ2HI2R.js";
|
|
33
|
+
import "./chunk-MPYM2HYV.js";
|
|
34
|
+
import "./chunk-QRLTTS5K.js";
|
|
35
35
|
import {
|
|
36
36
|
ArgumentError,
|
|
37
37
|
EXIT,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk-Y6NFETNG.js";
|
|
46
46
|
import {
|
|
47
47
|
VERSION
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-LWQIS2FC.js";
|
|
49
49
|
|
|
50
50
|
// src/cli/envelope.ts
|
|
51
51
|
var CODE_NAMES = {
|
|
@@ -444,7 +444,7 @@ async function defaultEntry(options, context) {
|
|
|
444
444
|
});
|
|
445
445
|
if (mode === "server") return run(required("serve"), [], context);
|
|
446
446
|
if (mode === "terminal") {
|
|
447
|
-
const { terminalSupport } = await import("./host-
|
|
447
|
+
const { terminalSupport } = await import("./host-ORJHLJIZ.js");
|
|
448
448
|
const support = terminalSupport();
|
|
449
449
|
if (support.supported) return run(required("tui"), [], context);
|
|
450
450
|
context.ui.info(`Terminal workspace unavailable: ${support.reason}`);
|