@modootoday/pmcp 0.19.2 → 0.19.4
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-YM2NR2QA.js → apply-JJNM7B46.js} +16 -15
- package/dist/{chunk-NDR7HEMH.js → chunk-4KAXYSBV.js} +2 -2
- package/dist/{chunk-LREOXJ4I.js → chunk-4MFXXSUH.js} +2 -2
- package/dist/{chunk-74TP72AP.js → chunk-5O63Z4R4.js} +5 -5
- package/dist/{chunk-J5XQW2CM.js → chunk-7B2KRL2H.js} +14 -3
- package/dist/{chunk-ASGTJ35M.js → chunk-AC76MDRM.js} +23 -23
- package/dist/{chunk-SYCK2YYV.js → chunk-BAW4TVUG.js} +8 -8
- package/dist/{chunk-CIU5Q55A.js → chunk-D2LYCDF6.js} +2 -2
- package/dist/{chunk-JJBSYUSQ.js → chunk-DXJZ2ZCX.js} +2 -2
- package/dist/{chunk-3MPPORSM.js → chunk-GH2Y6TKB.js} +2 -2
- package/dist/{chunk-ONQJCG2X.js → chunk-H3NMLKS6.js} +3 -3
- package/dist/{chunk-DZV7EQ5Q.js → chunk-HU2P5Q4D.js} +2 -2
- package/dist/{chunk-D5D3V6RU.js → chunk-ICF2JZSN.js} +15 -1
- package/dist/{chunk-EB7XLUSW.js → chunk-IWASBYQS.js} +3 -3
- package/dist/{chunk-GPPGCZKP.js → chunk-JIBAK4CL.js} +8 -8
- package/dist/{chunk-YGJNZ47K.js → chunk-KDUQ5LBP.js} +2 -2
- package/dist/{chunk-NNKLVEQZ.js → chunk-M73BQJOO.js} +2 -2
- package/dist/{chunk-5OVHW7AG.js → chunk-OGP3MGDZ.js} +3 -3
- package/dist/chunk-P6LNYYYH.js +95 -0
- package/dist/chunk-QJEOFF2R.js +7 -0
- package/dist/{chunk-NNOATTGX.js → chunk-THSG4SFC.js} +3 -3
- package/dist/{chunk-QXZLFIY2.js → chunk-TPE2RY7R.js} +2 -2
- package/dist/{chunk-WIW772I3.js → chunk-XLXDXJY2.js} +4 -4
- package/dist/{chunk-YMNVZMI3.js → chunk-XMAHSADU.js} +2 -2
- package/dist/{chunk-BR4B2KU2.js → chunk-XOI2EVAW.js} +2 -2
- package/dist/{chunk-DXK67PX7.js → chunk-Y46SCPYN.js} +5 -5
- package/dist/{chunk-LLBPVZXM.js → chunk-YN5GQCHN.js} +4 -4
- package/dist/{chunk-DFZESOWW.js → chunk-YN5XSC7M.js} +24 -16
- package/dist/{cli-T5LHBUY2.js → cli-BTPTJWCC.js} +3 -3
- package/dist/{cli-MUP2NSXT.js → cli-UFCFDIVI.js} +7 -6
- package/dist/cli.js +7 -7
- package/dist/{completion-52AM4CCB.js → completion-DZ6XCNBD.js} +6 -6
- package/dist/{diagnostics-2NXDRCS3.js → diagnostics-ISHOCTY3.js} +6 -6
- package/dist/{doctor-SBQHIZA4.js → doctor-A3JYYHRU.js} +20 -19
- package/dist/{entry-PZUG7UVZ.js → entry-LXEVG3E7.js} +10 -10
- package/dist/{exec-mcp-UMHU5Q6Y.js → exec-mcp-GZSLIL3H.js} +10 -9
- package/dist/{harness-46QFLNJE.js → harness-EJTLUOX2.js} +3 -3
- package/dist/harness-launch-gate.js +4 -4
- package/dist/harness-worker.js +6 -6
- package/dist/hook-body.js +149 -54
- package/dist/{hooks-JROFOE6Y.js → hooks-JGYIF2AI.js} +3 -3
- package/dist/{host-MAVWRD5G.js → host-EGUDTIDS.js} +12 -11
- package/dist/{host-FPTPSHL2.js → host-T43WUL2C.js} +7 -7
- package/dist/{host-run-DMNF3PWU.js → host-run-CAL5DG4Z.js} +5 -5
- package/dist/http.js +1 -1
- package/dist/{import-mcp-YGX7Q3CT.js → import-mcp-AYGM4TCW.js} +8 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -16
- package/dist/{init-3QZPCMPA.js → init-YP5TFYLT.js} +2 -2
- package/dist/{invoke-TMDQXMY4.js → invoke-H434JWPS.js} +8 -8
- package/dist/{list-T6JWLS6W.js → list-DNEAYNRB.js} +10 -9
- package/dist/{logout-I3YZFAHR.js → logout-FULZ7IM7.js} +9 -8
- package/dist/{mailbox-O3MX6QPF.js → mailbox-UECKDZ3Q.js} +1 -1
- package/dist/{mainline-DG75NLBS.js → mainline-FPK4HWFF.js} +47 -14
- package/dist/{mcp-TQBBPB3O.js → mcp-7HCTPBUX.js} +2 -2
- package/dist/modes-COBVV7RA.js +14 -0
- package/dist/{project-SJ3ZPUAA.js → project-EX4A7WQO.js} +6 -6
- package/dist/{run-LVSY22QZ.js → run-AZIIJPHX.js} +8 -7
- package/dist/{run-3YQWI6PN.js → run-MOAIY42Y.js} +4 -4
- package/dist/{serve-NOPGIM4N.js → serve-DQMI4IPA.js} +6 -6
- package/dist/{setup-T6T2PFC4.js → setup-63E3TVJK.js} +4 -4
- package/dist/{start-login-ULBUS65R.js → start-login-NX45I5Q3.js} +9 -8
- package/dist/{status-PBYIVK3R.js → status-2J6MH4AS.js} +13 -12
- package/dist/{status-GPSLH4VO.js → status-CM753VKY.js} +3 -3
- package/dist/{status-JI6MWSVS.js → status-RTVEWD42.js} +9 -8
- package/dist/stdio.js +2 -2
- package/dist/{test-B7KRCCL7.js → test-EZLVHD77.js} +9 -8
- package/dist/{tui-2SKEYYUR.js → tui-4KUCMZKH.js} +4 -4
- package/dist/{worker-WWNHOUBS.js → worker-AWHTJSDL.js} +8 -8
- package/dist/{worktree-sync-W4BDDLRO.js → worktree-sync-GQVYAXGJ.js} +4 -2
- package/docs/git-workflow.md +6 -5
- 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-V4K6Q3GF.js +0 -7
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import {
|
|
2
|
+
gitText
|
|
3
|
+
} from "./chunk-G7JONWL4.js";
|
|
4
|
+
|
|
5
|
+
// src/git/modes.ts
|
|
6
|
+
import { chmodSync, lstatSync } from "fs";
|
|
7
|
+
import { join } from "path";
|
|
8
|
+
function withUmask(mask, run) {
|
|
9
|
+
if (mask === void 0) return run();
|
|
10
|
+
let before;
|
|
11
|
+
try {
|
|
12
|
+
before = process.umask(mask);
|
|
13
|
+
} catch {
|
|
14
|
+
return run();
|
|
15
|
+
}
|
|
16
|
+
try {
|
|
17
|
+
return run();
|
|
18
|
+
} finally {
|
|
19
|
+
process.umask(before);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
var INDEX_MODES = {
|
|
23
|
+
"100644": 420,
|
|
24
|
+
"100755": 493
|
|
25
|
+
};
|
|
26
|
+
function restoreModes(root, from, to) {
|
|
27
|
+
const paths = from === null ? null : gitText(root, ["diff", "--name-only", "--no-renames", "-z", from, to]).split("\0").filter(Boolean);
|
|
28
|
+
if (paths !== null && paths.length === 0) return [];
|
|
29
|
+
const listed = gitText(root, [
|
|
30
|
+
"ls-files",
|
|
31
|
+
"-s",
|
|
32
|
+
"-z",
|
|
33
|
+
...paths === null ? [] : ["--", ...paths]
|
|
34
|
+
]);
|
|
35
|
+
const fixed = [];
|
|
36
|
+
for (const entry of listed.split("\0")) {
|
|
37
|
+
const tab = entry.indexOf(" ");
|
|
38
|
+
if (tab < 0) continue;
|
|
39
|
+
const want = INDEX_MODES[entry.slice(0, 6)];
|
|
40
|
+
if (want === void 0) continue;
|
|
41
|
+
const path = entry.slice(tab + 1);
|
|
42
|
+
const file = join(root, path);
|
|
43
|
+
let mode;
|
|
44
|
+
try {
|
|
45
|
+
const stat = lstatSync(file);
|
|
46
|
+
if (!stat.isFile()) continue;
|
|
47
|
+
mode = stat.mode & 511;
|
|
48
|
+
} catch {
|
|
49
|
+
continue;
|
|
50
|
+
}
|
|
51
|
+
if (mode === want) continue;
|
|
52
|
+
chmodSync(file, want);
|
|
53
|
+
fixed.push(path);
|
|
54
|
+
}
|
|
55
|
+
return fixed;
|
|
56
|
+
}
|
|
57
|
+
var GITLINK = /^:(?:160000|000000) 160000 ([0-9a-f]{40}) ([0-9a-f]{40}) [AM]\t(.+)$/u;
|
|
58
|
+
function restoreSubmoduleModes(root, from, to) {
|
|
59
|
+
const raw = gitText(root, [
|
|
60
|
+
"diff",
|
|
61
|
+
"--raw",
|
|
62
|
+
"--abbrev=40",
|
|
63
|
+
"--no-renames",
|
|
64
|
+
from,
|
|
65
|
+
to
|
|
66
|
+
]);
|
|
67
|
+
const fixed = [];
|
|
68
|
+
for (const line of raw.split("\n")) {
|
|
69
|
+
const match = GITLINK.exec(line);
|
|
70
|
+
if (!match) continue;
|
|
71
|
+
const [, before, after, path] = match;
|
|
72
|
+
const dir = join(root, path);
|
|
73
|
+
if (gitText(dir, ["rev-parse", "HEAD"]) !== after) continue;
|
|
74
|
+
const old = /^0+$/u.test(before) ? null : before;
|
|
75
|
+
for (const file of restoreModes(dir, old, after))
|
|
76
|
+
fixed.push(`${path}/${file}`);
|
|
77
|
+
}
|
|
78
|
+
return fixed;
|
|
79
|
+
}
|
|
80
|
+
function reportModes(report, fixed) {
|
|
81
|
+
if (fixed.length === 0) return;
|
|
82
|
+
const shown = fixed.slice(0, 5).join(", ");
|
|
83
|
+
const more = fixed.length > 5 ? `, and ${fixed.length - 5} more` : "";
|
|
84
|
+
report.info(
|
|
85
|
+
`gave ${fixed.length} rewritten tracked file(s) their index mode back: ${shown}${more}`
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export {
|
|
90
|
+
withUmask,
|
|
91
|
+
restoreModes,
|
|
92
|
+
restoreSubmoduleModes,
|
|
93
|
+
reportModes
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=chunk-P6LNYYYH.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-34DECPVC.js";
|
|
7
7
|
import {
|
|
8
8
|
ptyBinary
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-H3NMLKS6.js";
|
|
10
10
|
import {
|
|
11
11
|
nativeBinary
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HU2P5Q4D.js";
|
|
13
13
|
|
|
14
14
|
// src/tui/rust.ts
|
|
15
15
|
import { spawn } from "child_process";
|
|
@@ -64,4 +64,4 @@ export {
|
|
|
64
64
|
runTui,
|
|
65
65
|
dependencies
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk-
|
|
67
|
+
//# sourceMappingURL=chunk-THSG4SFC.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7DLZC73N.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YN5XSC7M.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError
|
|
9
9
|
} from "./chunk-A4PKLESO.js";
|
|
@@ -28,4 +28,4 @@ function specFrom(context) {
|
|
|
28
28
|
export {
|
|
29
29
|
specFrom
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=chunk-
|
|
31
|
+
//# sourceMappingURL=chunk-TPE2RY7R.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
claudeSocket
|
|
3
|
-
} from "./chunk-XP2U3LO3.js";
|
|
4
1
|
import {
|
|
5
2
|
opencodeUrl
|
|
6
3
|
} from "./chunk-TIA4SPU2.js";
|
|
4
|
+
import {
|
|
5
|
+
claudeSocket
|
|
6
|
+
} from "./chunk-XP2U3LO3.js";
|
|
7
7
|
import {
|
|
8
8
|
ptyReachable,
|
|
9
9
|
ptyRef
|
|
@@ -22,4 +22,4 @@ function wakeableBy(record, context) {
|
|
|
22
22
|
export {
|
|
23
23
|
wakeableBy
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-XLXDXJY2.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7DLZC73N.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YN5XSC7M.js";
|
|
7
7
|
import {
|
|
8
8
|
ArgumentError
|
|
9
9
|
} from "./chunk-A4PKLESO.js";
|
|
@@ -25,4 +25,4 @@ function serverFrom(context) {
|
|
|
25
25
|
export {
|
|
26
26
|
serverFrom
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-XMAHSADU.js.map
|
|
@@ -1190,7 +1190,7 @@ function registerReadTool(server, tools) {
|
|
|
1190
1190
|
|
|
1191
1191
|
// src/mcp.ts
|
|
1192
1192
|
var SERVER_NAME = "pmcp";
|
|
1193
|
-
var SERVER_VERSION = "0.19.
|
|
1193
|
+
var SERVER_VERSION = "0.19.4";
|
|
1194
1194
|
function registerSkillTools(server, tools) {
|
|
1195
1195
|
registerCatalogTool(server, tools);
|
|
1196
1196
|
registerFindTool(server, tools);
|
|
@@ -1243,4 +1243,4 @@ export {
|
|
|
1243
1243
|
registerSkillTools,
|
|
1244
1244
|
createSkillServer
|
|
1245
1245
|
};
|
|
1246
|
-
//# sourceMappingURL=chunk-
|
|
1246
|
+
//# sourceMappingURL=chunk-XOI2EVAW.js.map
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
prepare,
|
|
9
9
|
present,
|
|
10
10
|
writeNative
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JIBAK4CL.js";
|
|
12
12
|
import {
|
|
13
13
|
ANTIGRAVITY_MCP_PLUGIN
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4KAXYSBV.js";
|
|
15
15
|
import {
|
|
16
16
|
changedSincePlan,
|
|
17
17
|
exists,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
same,
|
|
23
23
|
splitKeyed,
|
|
24
24
|
withoutBlock
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YN5XSC7M.js";
|
|
26
26
|
import {
|
|
27
27
|
RULES_DIR,
|
|
28
28
|
legacyLinks
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
replaceFile,
|
|
33
33
|
replaceLink,
|
|
34
34
|
writeLock
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HU2P5Q4D.js";
|
|
36
36
|
|
|
37
37
|
// src/project/apply/files.ts
|
|
38
38
|
import { mkdirSync } from "fs";
|
|
@@ -208,4 +208,4 @@ function project(spec, options) {
|
|
|
208
208
|
export {
|
|
209
209
|
project
|
|
210
210
|
};
|
|
211
|
-
//# sourceMappingURL=chunk-
|
|
211
|
+
//# sourceMappingURL=chunk-Y46SCPYN.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
nearestConfigOption
|
|
3
|
-
} from "./chunk-XNML2KIC.js";
|
|
4
1
|
import {
|
|
5
2
|
CATALOG_OPTIONS
|
|
6
3
|
} from "./chunk-JEL35P7S.js";
|
|
4
|
+
import {
|
|
5
|
+
nearestConfigOption
|
|
6
|
+
} from "./chunk-XNML2KIC.js";
|
|
7
7
|
import {
|
|
8
8
|
TOOLS
|
|
9
9
|
} from "./chunk-V4NPDK6X.js";
|
|
@@ -64,4 +64,4 @@ export {
|
|
|
64
64
|
projectSpec,
|
|
65
65
|
doctorSpec
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk-
|
|
67
|
+
//# sourceMappingURL=chunk-YN5GQCHN.js.map
|
|
@@ -3,16 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-HQOB7OQS.js";
|
|
4
4
|
import {
|
|
5
5
|
readGitConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7B2KRL2H.js";
|
|
7
7
|
import {
|
|
8
8
|
detect
|
|
9
9
|
} from "./chunk-2Q6MNGU5.js";
|
|
10
10
|
import {
|
|
11
11
|
syncWorktree
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
gitText
|
|
15
|
-
} from "./chunk-G7JONWL4.js";
|
|
12
|
+
} from "./chunk-ICF2JZSN.js";
|
|
16
13
|
import {
|
|
17
14
|
localCli,
|
|
18
15
|
pmcpCommand,
|
|
@@ -35,6 +32,12 @@ import {
|
|
|
35
32
|
leaseFile,
|
|
36
33
|
runtimePid
|
|
37
34
|
} from "./chunk-C4NHQGHL.js";
|
|
35
|
+
import {
|
|
36
|
+
withUmask
|
|
37
|
+
} from "./chunk-P6LNYYYH.js";
|
|
38
|
+
import {
|
|
39
|
+
gitText
|
|
40
|
+
} from "./chunk-G7JONWL4.js";
|
|
38
41
|
import {
|
|
39
42
|
safeEndpoint
|
|
40
43
|
} from "./chunk-Q5H3L6Y4.js";
|
|
@@ -45,7 +48,7 @@ import {
|
|
|
45
48
|
packagedBinary,
|
|
46
49
|
readHost,
|
|
47
50
|
readLock
|
|
48
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-HU2P5Q4D.js";
|
|
49
52
|
import {
|
|
50
53
|
checkoutOf,
|
|
51
54
|
hasLinkedWorktrees
|
|
@@ -3629,12 +3632,15 @@ function changed(root, from, paths, to = "HEAD") {
|
|
|
3629
3632
|
if (paths.length === 0) return [];
|
|
3630
3633
|
return gitText(root, ["diff", "--name-only", from, to, "--", ...paths]).split("\n").filter(Boolean);
|
|
3631
3634
|
}
|
|
3632
|
-
function backgroundInstall(root, command6) {
|
|
3633
|
-
const child =
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3635
|
+
function backgroundInstall(root, command6, umask) {
|
|
3636
|
+
const child = withUmask(
|
|
3637
|
+
umask,
|
|
3638
|
+
() => spawn(command6[0], command6.slice(1), {
|
|
3639
|
+
cwd: root,
|
|
3640
|
+
detached: true,
|
|
3641
|
+
stdio: "ignore"
|
|
3642
|
+
})
|
|
3643
|
+
);
|
|
3638
3644
|
child.on("error", () => void 0);
|
|
3639
3645
|
child.unref();
|
|
3640
3646
|
}
|
|
@@ -3664,13 +3670,14 @@ function move(input, ctx, git) {
|
|
|
3664
3670
|
followSubmodules: opts.followSubmodules,
|
|
3665
3671
|
fetch,
|
|
3666
3672
|
report: report2,
|
|
3667
|
-
...install
|
|
3673
|
+
...install,
|
|
3674
|
+
...opts.umask !== void 0 ? { umask: opts.umask } : {}
|
|
3668
3675
|
});
|
|
3669
3676
|
if (result === "current") return [];
|
|
3670
3677
|
if (result === "held")
|
|
3671
3678
|
return lines.map((line) => `Desk ${git.root}: ${line}`);
|
|
3672
3679
|
if (opts.install && opts.installAfterMove === "background" && changed(git.root, before, opts.installWhen).length > 0) {
|
|
3673
|
-
backgroundInstall(git.root, opts.install);
|
|
3680
|
+
backgroundInstall(git.root, opts.install, opts.umask);
|
|
3674
3681
|
lines.push(`installing in the background: ${opts.install.join(" ")}`);
|
|
3675
3682
|
}
|
|
3676
3683
|
const rules2 = changed(git.root, before, opts.noticePaths);
|
|
@@ -4330,7 +4337,8 @@ function readWorktreeSync(tables, root) {
|
|
|
4330
4337
|
...git.sync?.install ? { install: git.sync.install } : {},
|
|
4331
4338
|
installWhen: git.sync?.installWhenChanged ?? [],
|
|
4332
4339
|
noticePaths: sync.noticePaths,
|
|
4333
|
-
followSubmodules: git.submodules?.follow === "clean_pins"
|
|
4340
|
+
followSubmodules: git.submodules?.follow === "clean_pins",
|
|
4341
|
+
...git.umask !== void 0 ? { umask: git.umask } : {}
|
|
4334
4342
|
};
|
|
4335
4343
|
return {
|
|
4336
4344
|
id: "git.worktrees.sync",
|
|
@@ -5076,4 +5084,4 @@ export {
|
|
|
5076
5084
|
permissionDoctor,
|
|
5077
5085
|
readSpec
|
|
5078
5086
|
};
|
|
5079
|
-
//# sourceMappingURL=chunk-
|
|
5087
|
+
//# sourceMappingURL=chunk-YN5XSC7M.js.map
|
|
@@ -16,11 +16,11 @@ async function run(context) {
|
|
|
16
16
|
`unknown verb ${verb}; use ${SESSION_VERBS.join(", ")}`
|
|
17
17
|
);
|
|
18
18
|
if (verb === "status")
|
|
19
|
-
return (await import("./status-
|
|
19
|
+
return (await import("./status-CM753VKY.js")).status(context);
|
|
20
20
|
if (context.args.flags.has("json") && !JSON_VERBS.includes(verb))
|
|
21
21
|
throw new ArgumentError(`--json works with ${JSON_VERBS.join(", ")}`);
|
|
22
22
|
if (["send", "inbox", "ack", "reply"].includes(verb)) {
|
|
23
|
-
const mailbox = await import("./mailbox-
|
|
23
|
+
const mailbox = await import("./mailbox-UECKDZ3Q.js");
|
|
24
24
|
if (verb === "send") return mailbox.send(context);
|
|
25
25
|
if (verb === "inbox") return mailbox.inbox(context);
|
|
26
26
|
if (verb === "ack") return mailbox.ack(context);
|
|
@@ -38,4 +38,4 @@ var sessionsCommand = { ...sessionsSpec, run };
|
|
|
38
38
|
export {
|
|
39
39
|
sessionsCommand
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=cli-
|
|
41
|
+
//# sourceMappingURL=cli-BTPTJWCC.js.map
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
async function action(positional) {
|
|
12
12
|
const [verb, sub] = positional;
|
|
13
13
|
if (verb === "deliver")
|
|
14
|
-
return (await import("./mainline-
|
|
15
|
-
if (verb === "sync") return (await import("./mainline-
|
|
14
|
+
return (await import("./mainline-FPK4HWFF.js")).mainlineDeliver;
|
|
15
|
+
if (verb === "sync") return (await import("./mainline-FPK4HWFF.js")).mainlineSync;
|
|
16
16
|
if (verb !== "worktree")
|
|
17
17
|
throw new ArgumentError("Use worktree, deliver or sync");
|
|
18
18
|
if (sub === "create")
|
|
@@ -20,7 +20,7 @@ async function action(positional) {
|
|
|
20
20
|
if (sub === "list")
|
|
21
21
|
return (await import("./worktree-list-NEIDD66X.js")).worktreeList;
|
|
22
22
|
if (sub === "sync")
|
|
23
|
-
return (await import("./worktree-sync-
|
|
23
|
+
return (await import("./worktree-sync-GQVYAXGJ.js")).worktreeSync;
|
|
24
24
|
throw new ArgumentError("Use worktree create, list or sync");
|
|
25
25
|
}
|
|
26
26
|
async function run(context) {
|
|
@@ -28,7 +28,7 @@ async function run(context) {
|
|
|
28
28
|
if (context.args.flags.has("json") && !(verb === "worktree" && sub === "list") && verb !== "deliver")
|
|
29
29
|
throw new ArgumentError("--json requires git worktree list or git deliver");
|
|
30
30
|
const act = await action(context.args.positional);
|
|
31
|
-
const { loadGit } = await import("./setup-
|
|
31
|
+
const { loadGit } = await import("./setup-63E3TVJK.js");
|
|
32
32
|
const setup = loadGit(context.cwd, one(context.args, "config"), context.env);
|
|
33
33
|
if (setup instanceof Error) {
|
|
34
34
|
context.ui.error(setup.message);
|
|
@@ -38,10 +38,11 @@ async function run(context) {
|
|
|
38
38
|
info: (line) => context.ui.info(line),
|
|
39
39
|
warn: (line) => context.ui.warn(line)
|
|
40
40
|
};
|
|
41
|
-
|
|
41
|
+
const { withUmask } = await import("./modes-COBVV7RA.js");
|
|
42
|
+
return withUmask(setup.config.umask, () => act(setup, context, report));
|
|
42
43
|
}
|
|
43
44
|
var gitCommand = { ...gitSpec, run };
|
|
44
45
|
export {
|
|
45
46
|
gitCommand
|
|
46
47
|
};
|
|
47
|
-
//# sourceMappingURL=cli-
|
|
48
|
+
//# sourceMappingURL=cli-UFCFDIVI.js.map
|
package/dist/cli.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
COMMANDS,
|
|
4
4
|
PLANNED,
|
|
5
5
|
commandNamed
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AC76MDRM.js";
|
|
7
7
|
import "./chunk-2P4Z2NUX.js";
|
|
8
8
|
import "./chunk-3Y3HDMHA.js";
|
|
9
9
|
import {
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
} from "./chunk-LMT3PPXJ.js";
|
|
12
12
|
import "./chunk-E3DQB5LS.js";
|
|
13
13
|
import "./chunk-JWRZDYB5.js";
|
|
14
|
+
import "./chunk-LMUBBIE2.js";
|
|
14
15
|
import "./chunk-YGOWIJPE.js";
|
|
15
16
|
import "./chunk-T6GOWHK6.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-LLBPVZXM.js";
|
|
17
|
+
import "./chunk-YN5GQCHN.js";
|
|
18
18
|
import "./chunk-LLT5FQBE.js";
|
|
19
|
+
import "./chunk-INT7QLEU.js";
|
|
20
|
+
import "./chunk-JEL35P7S.js";
|
|
19
21
|
import "./chunk-EIDIVIAD.js";
|
|
20
22
|
import "./chunk-ABTJQ4QV.js";
|
|
21
23
|
import "./chunk-OG7QR2DP.js";
|
|
22
24
|
import "./chunk-XNML2KIC.js";
|
|
23
|
-
import "./chunk-INT7QLEU.js";
|
|
24
|
-
import "./chunk-JEL35P7S.js";
|
|
25
25
|
import {
|
|
26
26
|
ArgumentError,
|
|
27
27
|
EXIT,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import "./chunk-V4NPDK6X.js";
|
|
33
33
|
import {
|
|
34
34
|
VERSION
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-QJEOFF2R.js";
|
|
36
36
|
|
|
37
37
|
// src/cli/ui.ts
|
|
38
38
|
var ESC = String.fromCharCode(27);
|
|
@@ -185,7 +185,7 @@ async function defaultEntry(options, context) {
|
|
|
185
185
|
});
|
|
186
186
|
if (mode === "server") return run(required("serve"), [], context);
|
|
187
187
|
if (mode === "terminal") {
|
|
188
|
-
const { terminalSupport } = await import("./host-
|
|
188
|
+
const { terminalSupport } = await import("./host-T43WUL2C.js");
|
|
189
189
|
const support = terminalSupport();
|
|
190
190
|
if (support.supported) return run(required("tui"), [], context);
|
|
191
191
|
context.ui.info(`Terminal workspace unavailable: ${support.reason}`);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMANDS,
|
|
3
3
|
completionSpec
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AC76MDRM.js";
|
|
5
5
|
import "./chunk-2P4Z2NUX.js";
|
|
6
6
|
import "./chunk-3Y3HDMHA.js";
|
|
7
7
|
import "./chunk-E3DQB5LS.js";
|
|
8
8
|
import "./chunk-JWRZDYB5.js";
|
|
9
|
+
import "./chunk-LMUBBIE2.js";
|
|
9
10
|
import "./chunk-YGOWIJPE.js";
|
|
10
11
|
import "./chunk-T6GOWHK6.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-LLBPVZXM.js";
|
|
12
|
+
import "./chunk-YN5GQCHN.js";
|
|
13
13
|
import "./chunk-LLT5FQBE.js";
|
|
14
|
+
import "./chunk-INT7QLEU.js";
|
|
15
|
+
import "./chunk-JEL35P7S.js";
|
|
14
16
|
import "./chunk-EIDIVIAD.js";
|
|
15
17
|
import "./chunk-ABTJQ4QV.js";
|
|
16
18
|
import "./chunk-OG7QR2DP.js";
|
|
17
19
|
import "./chunk-XNML2KIC.js";
|
|
18
|
-
import "./chunk-INT7QLEU.js";
|
|
19
|
-
import "./chunk-JEL35P7S.js";
|
|
20
20
|
import {
|
|
21
21
|
ArgumentError,
|
|
22
22
|
EXIT
|
|
@@ -139,4 +139,4 @@ var completionCommand = {
|
|
|
139
139
|
export {
|
|
140
140
|
completionCommand
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=completion-
|
|
142
|
+
//# sourceMappingURL=completion-DZ6XCNBD.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dependencies
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-THSG4SFC.js";
|
|
4
4
|
import {
|
|
5
5
|
assertNativeHost
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M73BQJOO.js";
|
|
7
7
|
import {
|
|
8
8
|
locateExecutable
|
|
9
9
|
} from "./chunk-R2GPCZUX.js";
|
|
10
10
|
import "./chunk-34DECPVC.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-H3NMLKS6.js";
|
|
12
12
|
import {
|
|
13
13
|
missingBinary
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HU2P5Q4D.js";
|
|
15
15
|
import "./chunk-OEH47H6A.js";
|
|
16
16
|
import "./chunk-IJBSOWHK.js";
|
|
17
17
|
import {
|
|
18
18
|
VERSION
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QJEOFF2R.js";
|
|
20
20
|
import "./chunk-QPL7E2HW.js";
|
|
21
21
|
import "./chunk-PMJG2CXF.js";
|
|
22
22
|
import {
|
|
@@ -91,4 +91,4 @@ function inspectTerminalHost() {
|
|
|
91
91
|
export {
|
|
92
92
|
inspectTerminalHost
|
|
93
93
|
};
|
|
94
|
-
//# sourceMappingURL=diagnostics-
|
|
94
|
+
//# sourceMappingURL=diagnostics-ISHOCTY3.js.map
|
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
specFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TPE2RY7R.js";
|
|
4
4
|
import "./chunk-7DLZC73N.js";
|
|
5
5
|
import {
|
|
6
6
|
doctor,
|
|
7
7
|
spawnRunner
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-BAW4TVUG.js";
|
|
9
|
+
import "./chunk-4MFXXSUH.js";
|
|
10
|
+
import "./chunk-Y46SCPYN.js";
|
|
11
11
|
import "./chunk-P4N7DBD5.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-XLXDXJY2.js";
|
|
13
|
+
import "./chunk-TIA4SPU2.js";
|
|
13
14
|
import "./chunk-VJFEN6DJ.js";
|
|
14
15
|
import "./chunk-XP2U3LO3.js";
|
|
15
|
-
import "./chunk-TIA4SPU2.js";
|
|
16
16
|
import {
|
|
17
17
|
HOOK_FILE,
|
|
18
18
|
LOCK_FILE,
|
|
19
19
|
POLICY_FILE,
|
|
20
20
|
sha256
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-JIBAK4CL.js";
|
|
22
|
+
import "./chunk-4KAXYSBV.js";
|
|
23
|
+
import "./chunk-73AKO4UL.js";
|
|
23
24
|
import {
|
|
24
25
|
FEATURES,
|
|
25
26
|
GUARDS,
|
|
26
27
|
RUNTIMES,
|
|
27
28
|
RUNTIME_IDS
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YN5XSC7M.js";
|
|
29
30
|
import "./chunk-HQOB7OQS.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-7B2KRL2H.js";
|
|
31
32
|
import "./chunk-2Q6MNGU5.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-ICF2JZSN.js";
|
|
33
34
|
import "./chunk-UD3BEEBQ.js";
|
|
34
35
|
import "./chunk-ISNRDHSD.js";
|
|
35
|
-
import "./chunk-G7JONWL4.js";
|
|
36
36
|
import "./chunk-EATCUWGG.js";
|
|
37
37
|
import "./chunk-NRBQK6UX.js";
|
|
38
38
|
import "./chunk-3PW4FI7U.js";
|
|
39
39
|
import "./chunk-DHAPQUEF.js";
|
|
40
40
|
import "./chunk-C4NHQGHL.js";
|
|
41
|
+
import "./chunk-P6LNYYYH.js";
|
|
42
|
+
import "./chunk-G7JONWL4.js";
|
|
41
43
|
import "./chunk-Q5H3L6Y4.js";
|
|
42
|
-
import "./chunk-73AKO4UL.js";
|
|
43
44
|
import {
|
|
44
45
|
doctorSpec
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-XNML2KIC.js";
|
|
46
|
+
} from "./chunk-YN5GQCHN.js";
|
|
47
47
|
import "./chunk-JEL35P7S.js";
|
|
48
|
+
import "./chunk-XNML2KIC.js";
|
|
48
49
|
import {
|
|
49
50
|
ArgumentError,
|
|
50
51
|
many
|
|
@@ -52,11 +53,11 @@ import {
|
|
|
52
53
|
import {
|
|
53
54
|
TOOLS
|
|
54
55
|
} from "./chunk-V4NPDK6X.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-H3NMLKS6.js";
|
|
57
|
+
import "./chunk-HU2P5Q4D.js";
|
|
57
58
|
import "./chunk-OEH47H6A.js";
|
|
58
59
|
import "./chunk-IJBSOWHK.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-QJEOFF2R.js";
|
|
60
61
|
import "./chunk-QPL7E2HW.js";
|
|
61
62
|
import "./chunk-PMJG2CXF.js";
|
|
62
63
|
import "./chunk-J6KL3COD.js";
|
|
@@ -536,4 +537,4 @@ var doctorCommand = {
|
|
|
536
537
|
export {
|
|
537
538
|
doctorCommand
|
|
538
539
|
};
|
|
539
|
-
//# sourceMappingURL=doctor-
|
|
540
|
+
//# sourceMappingURL=doctor-A3JYYHRU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
invoke
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5O63Z4R4.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureStartupDirectory,
|
|
6
6
|
readStartup,
|
|
@@ -10,27 +10,27 @@ import {
|
|
|
10
10
|
} from "./chunk-J5ZS7GLA.js";
|
|
11
11
|
import {
|
|
12
12
|
requireTerminal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OGP3MGDZ.js";
|
|
14
14
|
import "./chunk-5ZABTVSW.js";
|
|
15
15
|
import {
|
|
16
16
|
runTui
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-THSG4SFC.js";
|
|
18
18
|
import {
|
|
19
19
|
lockFile
|
|
20
20
|
} from "./chunk-DZ2MRTYT.js";
|
|
21
21
|
import "./chunk-LMT3PPXJ.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-IWASBYQS.js";
|
|
23
|
+
import "./chunk-M73BQJOO.js";
|
|
24
24
|
import {
|
|
25
25
|
locateExecutable
|
|
26
26
|
} from "./chunk-R2GPCZUX.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-D2LYCDF6.js";
|
|
28
28
|
import "./chunk-34DECPVC.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-H3NMLKS6.js";
|
|
30
|
+
import "./chunk-HU2P5Q4D.js";
|
|
31
31
|
import "./chunk-OEH47H6A.js";
|
|
32
32
|
import "./chunk-IJBSOWHK.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-QJEOFF2R.js";
|
|
34
34
|
import "./chunk-QPL7E2HW.js";
|
|
35
35
|
import "./chunk-PMJG2CXF.js";
|
|
36
36
|
import {
|
|
@@ -303,4 +303,4 @@ export {
|
|
|
303
303
|
launchStartup,
|
|
304
304
|
planStartup
|
|
305
305
|
};
|
|
306
|
-
//# sourceMappingURL=entry-
|
|
306
|
+
//# sourceMappingURL=entry-LXEVG3E7.js.map
|