@modootoday/pmcp 0.19.2 → 0.19.3
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-3GVOB5SB.js} +16 -15
- package/dist/{chunk-DFZESOWW.js → chunk-27RQE4X5.js} +24 -16
- package/dist/{chunk-YMNVZMI3.js → chunk-3PFBFW5K.js} +2 -2
- package/dist/{chunk-NNKLVEQZ.js → chunk-6NAOPDEL.js} +2 -2
- package/dist/{chunk-J5XQW2CM.js → chunk-7B2KRL2H.js} +14 -3
- package/dist/{chunk-74TP72AP.js → chunk-A2A2QEGQ.js} +5 -5
- package/dist/{chunk-EB7XLUSW.js → chunk-AKZ3TZF6.js} +3 -3
- package/dist/{chunk-DXK67PX7.js → chunk-BU5QVZD7.js} +5 -5
- package/dist/{chunk-5OVHW7AG.js → chunk-DJX3T6OQ.js} +3 -3
- package/dist/{chunk-JJBSYUSQ.js → chunk-DXJZ2ZCX.js} +2 -2
- package/dist/{chunk-ONQJCG2X.js → chunk-E4RHRBN4.js} +3 -3
- package/dist/{chunk-D5D3V6RU.js → chunk-ICF2JZSN.js} +15 -1
- package/dist/{chunk-3MPPORSM.js → chunk-IITLKKLW.js} +2 -2
- package/dist/{chunk-SYCK2YYV.js → chunk-INAQADYF.js} +8 -8
- package/dist/{chunk-LREOXJ4I.js → chunk-IRE5CH3V.js} +2 -2
- package/dist/{chunk-CIU5Q55A.js → chunk-JKUO3SES.js} +2 -2
- package/dist/chunk-JUV4AO7M.js +7 -0
- package/dist/{chunk-BR4B2KU2.js → chunk-JWYZE3QX.js} +2 -2
- package/dist/chunk-P6LNYYYH.js +95 -0
- package/dist/{chunk-DZV7EQ5Q.js → chunk-QESM25BF.js} +2 -2
- package/dist/{chunk-GPPGCZKP.js → chunk-QWFXAUTC.js} +8 -8
- package/dist/{chunk-NDR7HEMH.js → chunk-TA7STTID.js} +2 -2
- package/dist/{chunk-ASGTJ35M.js → chunk-VNNHEB6B.js} +23 -23
- package/dist/{chunk-NNOATTGX.js → chunk-VVFEFQSO.js} +3 -3
- package/dist/{chunk-YGJNZ47K.js → chunk-WXKUV52B.js} +2 -2
- package/dist/{chunk-WIW772I3.js → chunk-XLXDXJY2.js} +4 -4
- package/dist/{chunk-LLBPVZXM.js → chunk-YN5GQCHN.js} +4 -4
- package/dist/{chunk-QXZLFIY2.js → chunk-Z7OYA467.js} +2 -2
- 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-S5RXYRE6.js} +6 -6
- package/dist/{diagnostics-2NXDRCS3.js → diagnostics-IWZ44B3T.js} +6 -6
- package/dist/{doctor-SBQHIZA4.js → doctor-6OM2CW6Y.js} +20 -19
- package/dist/{entry-PZUG7UVZ.js → entry-OP6P6JIE.js} +10 -10
- package/dist/{exec-mcp-UMHU5Q6Y.js → exec-mcp-VEHKAWE4.js} +10 -9
- package/dist/{harness-46QFLNJE.js → harness-5IIU5JUZ.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-ZSA4DLUZ.js} +3 -3
- package/dist/{host-MAVWRD5G.js → host-BWSHEN3G.js} +12 -11
- package/dist/{host-FPTPSHL2.js → host-CU5YGXUO.js} +7 -7
- package/dist/{host-run-DMNF3PWU.js → host-run-MCYOHAV4.js} +5 -5
- package/dist/http.js +1 -1
- package/dist/{import-mcp-YGX7Q3CT.js → import-mcp-FC7HCWRT.js} +8 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -16
- package/dist/{init-3QZPCMPA.js → init-ADQO2QTV.js} +2 -2
- package/dist/{invoke-TMDQXMY4.js → invoke-P6GHAPFV.js} +8 -8
- package/dist/{list-T6JWLS6W.js → list-YXCHN33G.js} +10 -9
- package/dist/{logout-I3YZFAHR.js → logout-J4YFUKXJ.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-DGQR4FRE.js} +2 -2
- package/dist/modes-COBVV7RA.js +14 -0
- package/dist/{project-SJ3ZPUAA.js → project-VZV5ZJ7Q.js} +6 -6
- package/dist/{run-3YQWI6PN.js → run-6D7XVMOA.js} +4 -4
- package/dist/{run-LVSY22QZ.js → run-OHZHE2GN.js} +8 -7
- package/dist/{serve-NOPGIM4N.js → serve-6ZL6SR5O.js} +6 -6
- package/dist/{setup-T6T2PFC4.js → setup-63E3TVJK.js} +4 -4
- package/dist/{start-login-ULBUS65R.js → start-login-G63U6RT2.js} +9 -8
- package/dist/{status-JI6MWSVS.js → status-6YMXYFE6.js} +9 -8
- package/dist/{status-GPSLH4VO.js → status-CM753VKY.js} +3 -3
- package/dist/{status-PBYIVK3R.js → status-KXTLD7EN.js} +13 -12
- package/dist/stdio.js +2 -2
- package/dist/{test-B7KRCCL7.js → test-W3P5F5ML.js} +9 -8
- package/dist/{tui-2SKEYYUR.js → tui-7R7TVPGT.js} +4 -4
- package/dist/{worker-WWNHOUBS.js → worker-SD2CHGC7.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
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-OEH47H6A.js";
|
|
4
4
|
import {
|
|
5
5
|
VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JUV4AO7M.js";
|
|
7
7
|
import {
|
|
8
8
|
ConfigError
|
|
9
9
|
} from "./chunk-QPL7E2HW.js";
|
|
@@ -448,4 +448,4 @@ export {
|
|
|
448
448
|
writeLock,
|
|
449
449
|
readHost
|
|
450
450
|
};
|
|
451
|
-
//# sourceMappingURL=chunk-
|
|
451
|
+
//# sourceMappingURL=chunk-QESM25BF.js.map
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OPENCODE_CONFIG,
|
|
3
3
|
mcpOutputs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TA7STTID.js";
|
|
5
|
+
import {
|
|
6
|
+
publicMarketplaceRoot
|
|
7
|
+
} from "./chunk-73AKO4UL.js";
|
|
5
8
|
import {
|
|
6
9
|
MARK,
|
|
7
10
|
NATIVE_HOOK_FILES,
|
|
@@ -25,24 +28,21 @@ import {
|
|
|
25
28
|
splitKeyed,
|
|
26
29
|
uiClaudeOutputs,
|
|
27
30
|
withoutBlock
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-27RQE4X5.js";
|
|
29
32
|
import {
|
|
30
33
|
ProjectError,
|
|
31
34
|
RULES_DIR,
|
|
32
35
|
packageRuleOutputs,
|
|
33
36
|
trackedFiles
|
|
34
37
|
} from "./chunk-NRBQK6UX.js";
|
|
35
|
-
import {
|
|
36
|
-
publicMarketplaceRoot
|
|
37
|
-
} from "./chunk-73AKO4UL.js";
|
|
38
38
|
import {
|
|
39
39
|
hostOutputs
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-E4RHRBN4.js";
|
|
41
41
|
import {
|
|
42
42
|
lockVersionProblem,
|
|
43
43
|
readLock,
|
|
44
44
|
replaceFile
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-QESM25BF.js";
|
|
46
46
|
import {
|
|
47
47
|
CODEX_PLUGIN_LIST,
|
|
48
48
|
claudeSettings,
|
|
@@ -1022,4 +1022,4 @@ export {
|
|
|
1022
1022
|
prepare,
|
|
1023
1023
|
checkProject
|
|
1024
1024
|
};
|
|
1025
|
-
//# sourceMappingURL=chunk-
|
|
1025
|
+
//# sourceMappingURL=chunk-QWFXAUTC.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
MARK,
|
|
3
3
|
blockOutput,
|
|
4
4
|
jsonOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-27RQE4X5.js";
|
|
6
6
|
import {
|
|
7
7
|
ProjectError
|
|
8
8
|
} from "./chunk-NRBQK6UX.js";
|
|
@@ -393,4 +393,4 @@ export {
|
|
|
393
393
|
serversForTool,
|
|
394
394
|
mcpOutputs
|
|
395
395
|
};
|
|
396
|
-
//# sourceMappingURL=chunk-
|
|
396
|
+
//# sourceMappingURL=chunk-TA7STTID.js.map
|
|
@@ -11,22 +11,28 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
mailboxSpec
|
|
13
13
|
} from "./chunk-JWRZDYB5.js";
|
|
14
|
+
import {
|
|
15
|
+
sessionsSpec
|
|
16
|
+
} from "./chunk-LMUBBIE2.js";
|
|
14
17
|
import {
|
|
15
18
|
logsSpec
|
|
16
19
|
} from "./chunk-YGOWIJPE.js";
|
|
17
20
|
import {
|
|
18
21
|
gitSpec
|
|
19
22
|
} from "./chunk-T6GOWHK6.js";
|
|
20
|
-
import {
|
|
21
|
-
sessionsSpec
|
|
22
|
-
} from "./chunk-LMUBBIE2.js";
|
|
23
23
|
import {
|
|
24
24
|
doctorSpec,
|
|
25
25
|
projectSpec
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YN5GQCHN.js";
|
|
27
27
|
import {
|
|
28
28
|
serveSpec
|
|
29
29
|
} from "./chunk-LLT5FQBE.js";
|
|
30
|
+
import {
|
|
31
|
+
indexSpec,
|
|
32
|
+
listSpec,
|
|
33
|
+
modelsSpec,
|
|
34
|
+
validateSpec
|
|
35
|
+
} from "./chunk-INT7QLEU.js";
|
|
30
36
|
import {
|
|
31
37
|
loginSpec,
|
|
32
38
|
logoutSpec,
|
|
@@ -43,12 +49,6 @@ import {
|
|
|
43
49
|
initSpec,
|
|
44
50
|
statusSpec
|
|
45
51
|
} from "./chunk-OG7QR2DP.js";
|
|
46
|
-
import {
|
|
47
|
-
indexSpec,
|
|
48
|
-
listSpec,
|
|
49
|
-
modelsSpec,
|
|
50
|
-
validateSpec
|
|
51
|
-
} from "./chunk-INT7QLEU.js";
|
|
52
52
|
|
|
53
53
|
// src/commands/specs/completion.ts
|
|
54
54
|
var completionSpec = {
|
|
@@ -61,11 +61,11 @@ var completionSpec = {
|
|
|
61
61
|
var COMMANDS = [
|
|
62
62
|
{
|
|
63
63
|
...statusSpec,
|
|
64
|
-
load: async () => (await import("./status-
|
|
64
|
+
load: async () => (await import("./status-KXTLD7EN.js")).statusCommand
|
|
65
65
|
},
|
|
66
|
-
{ ...initSpec, load: async () => (await import("./init-
|
|
67
|
-
{ ...hooksSpec, load: async () => (await import("./hooks-
|
|
68
|
-
{ ...serveSpec, load: async () => (await import("./serve-
|
|
66
|
+
{ ...initSpec, load: async () => (await import("./init-ADQO2QTV.js")).initCommand },
|
|
67
|
+
{ ...hooksSpec, load: async () => (await import("./hooks-ZSA4DLUZ.js")).hooksCommand },
|
|
68
|
+
{ ...serveSpec, load: async () => (await import("./serve-6ZL6SR5O.js")).serveCommand },
|
|
69
69
|
{ ...listSpec, load: async () => (await import("./list-FB6RNYYB.js")).listCommand },
|
|
70
70
|
{
|
|
71
71
|
...indexSpec,
|
|
@@ -102,19 +102,19 @@ var COMMANDS = [
|
|
|
102
102
|
{ ...syncSpec, load: async () => (await import("./install-MQ7QSJQ7.js")).syncCommand },
|
|
103
103
|
{
|
|
104
104
|
...projectSpec,
|
|
105
|
-
load: async () => (await import("./project-
|
|
105
|
+
load: async () => (await import("./project-VZV5ZJ7Q.js")).projectCommand
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
...doctorSpec,
|
|
109
|
-
load: async () => (await import("./doctor-
|
|
109
|
+
load: async () => (await import("./doctor-6OM2CW6Y.js")).doctorCommand
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
...sessionsSpec,
|
|
113
|
-
load: async () => (await import("./cli-
|
|
113
|
+
load: async () => (await import("./cli-BTPTJWCC.js")).sessionsCommand
|
|
114
114
|
},
|
|
115
115
|
{ ...logsSpec, load: async () => (await import("./logs-H3RPKNTE.js")).logsCommand },
|
|
116
|
-
{ ...gitSpec, load: async () => (await import("./cli-
|
|
117
|
-
{ ...mcpSpec, load: async () => (await import("./mcp-
|
|
116
|
+
{ ...gitSpec, load: async () => (await import("./cli-UFCFDIVI.js")).gitCommand },
|
|
117
|
+
{ ...mcpSpec, load: async () => (await import("./mcp-DGQR4FRE.js")).mcpCommand },
|
|
118
118
|
{
|
|
119
119
|
...validateSpec,
|
|
120
120
|
load: async () => (await import("./validate-AVM2VHMM.js")).validateCommand
|
|
@@ -125,16 +125,16 @@ var COMMANDS = [
|
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
...harnessSpec,
|
|
128
|
-
load: async () => (await import("./harness-
|
|
128
|
+
load: async () => (await import("./harness-5IIU5JUZ.js")).harnessCommand
|
|
129
129
|
},
|
|
130
|
-
{ ...tuiSpec, load: async () => (await import("./tui-
|
|
130
|
+
{ ...tuiSpec, load: async () => (await import("./tui-7R7TVPGT.js")).tuiCommand },
|
|
131
131
|
{
|
|
132
132
|
...marketplaceSpec,
|
|
133
133
|
load: async () => (await import("./marketplace-G4VQET5W.js")).marketplaceCommand
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
...completionSpec,
|
|
137
|
-
load: async () => (await import("./completion-
|
|
137
|
+
load: async () => (await import("./completion-S5RXYRE6.js")).completionCommand
|
|
138
138
|
}
|
|
139
139
|
];
|
|
140
140
|
var PLANNED = [];
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
PLANNED,
|
|
149
149
|
commandNamed
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-VNNHEB6B.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-E4RHRBN4.js";
|
|
10
10
|
import {
|
|
11
11
|
nativeBinary
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QESM25BF.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-VVFEFQSO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSkillServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JWYZE3QX.js";
|
|
4
4
|
import {
|
|
5
5
|
attachMailbox
|
|
6
6
|
} from "./chunk-NWOV2E26.js";
|
|
@@ -84,4 +84,4 @@ export {
|
|
|
84
84
|
serveWithMailbox,
|
|
85
85
|
main
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-WXKUV52B.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
|
|
@@ -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,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7DLZC73N.js";
|
|
4
4
|
import {
|
|
5
5
|
readSpec
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-27RQE4X5.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-Z7OYA467.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-VNNHEB6B.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-JUV4AO7M.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-CU5YGXUO.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-VNNHEB6B.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-S5RXYRE6.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dependencies
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VVFEFQSO.js";
|
|
4
4
|
import {
|
|
5
5
|
assertNativeHost
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6NAOPDEL.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-E4RHRBN4.js";
|
|
12
12
|
import {
|
|
13
13
|
missingBinary
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QESM25BF.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-JUV4AO7M.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-IWZ44B3T.js.map
|
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
specFrom
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z7OYA467.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-INAQADYF.js";
|
|
9
|
+
import "./chunk-IRE5CH3V.js";
|
|
10
|
+
import "./chunk-BU5QVZD7.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-QWFXAUTC.js";
|
|
22
|
+
import "./chunk-TA7STTID.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-27RQE4X5.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-E4RHRBN4.js";
|
|
57
|
+
import "./chunk-QESM25BF.js";
|
|
57
58
|
import "./chunk-OEH47H6A.js";
|
|
58
59
|
import "./chunk-IJBSOWHK.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-JUV4AO7M.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-6OM2CW6Y.js.map
|