@moberg_hr/work-tree 2.0.8 → 2.0.9
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/dist/bin.js +1 -1
- package/dist/{chunk-E74YIDHX.js → chunk-3R4HBEIG.js} +4 -4
- package/dist/{chunk-NIRVJMJL.js → chunk-45XJ4JGE.js} +2 -2
- package/dist/{chunk-5RRKVAIZ.js → chunk-4KZBZA5D.js} +3 -2
- package/dist/chunk-4KZBZA5D.js.map +1 -0
- package/dist/{chunk-BLCAZAU5.js → chunk-4MXWNDH7.js} +6 -5
- package/dist/chunk-4MXWNDH7.js.map +1 -0
- package/dist/{chunk-LNMIG35F.js → chunk-5PAPD6VT.js} +2 -2
- package/dist/chunk-B6V6SV2F.js +9 -0
- package/dist/{chunk-PG2MPTZD.js → chunk-BIL3S6XH.js} +2 -2
- package/dist/{chunk-4V7C3O6V.js → chunk-BZA7NKWU.js} +2 -2
- package/dist/{chunk-E72ETFAB.js → chunk-GJDXEHII.js} +2 -2
- package/dist/{chunk-QQNI3K3V.js → chunk-H2NVIZ3M.js} +2 -2
- package/dist/{chunk-F3SPCHLH.js → chunk-I5CDLVJY.js} +4 -4
- package/dist/{chunk-EN24GJCO.js → chunk-ICVR5M6W.js} +3 -3
- package/dist/{chunk-MFSKRN2J.js → chunk-L6RUHCKB.js} +2 -2
- package/dist/{chunk-WOCS6MLE.js → chunk-OP5ZIVXO.js} +16 -16
- package/dist/{chunk-MXZRFWC3.js → chunk-PDF3BZZH.js} +2 -2
- package/dist/{chunk-UZROMRQM.js → chunk-QKGZ65TC.js} +3 -3
- package/dist/{chunk-V4RQ72HY.js → chunk-QP6LFMMK.js} +5 -5
- package/dist/{chunk-YZSSYD2G.js → chunk-SDE3BZ6P.js} +3 -3
- package/dist/{chunk-I5HHTEAA.js → chunk-UPR2F7QP.js} +2 -2
- package/dist/{cleanup-6LIZ3BQF.js → cleanup-AEZKR7Q3.js} +8 -8
- package/dist/{cli-R3FITDNB.js → cli-73A5TR5V.js} +3 -3
- package/dist/{config-DULJPECI.js → config-RF2S4YBA.js} +5 -5
- package/dist/{fork-FYEV4TU2.js → fork-W5ZF62UP.js} +7 -7
- package/dist/{init-276XRZS2.js → init-CJDDD4AS.js} +5 -5
- package/dist/{move-QHCDO2R5.js → move-6J35JMFB.js} +7 -7
- package/dist/{overlaps-SEK7H2YB.js → overlaps-NZL5XFC4.js} +4 -4
- package/dist/{pr-JMMUGCKS.js → pr-CBLU6UJ2.js} +2 -2
- package/dist/{prune-MR37KLIW.js → prune-FKNNOITA.js} +7 -7
- package/dist/{remove-5IZVMK4V.js → remove-2CQ4MRSI.js} +6 -6
- package/dist/{sessions-LHMTS6KT.js → sessions-6BBMLMPQ.js} +7 -7
- package/dist/{sync-SAZVBQIH.js → sync-FE3AEVOP.js} +7 -7
- package/dist/{tree-WFOG72Z3.js → tree-PA7BK7F6.js} +7 -7
- package/dist/{update-NU5EMISM.js → update-EISQJXEI.js} +3 -3
- package/dist/wd-bin.js +2 -2
- package/dist/web/assets/{PtyView-DQw8g-PN.js → PtyView-Eh_9_oeq.js} +2 -2
- package/dist/web/assets/{PtyView-DQw8g-PN.js.map → PtyView-Eh_9_oeq.js.map} +1 -1
- package/dist/web/assets/index-9lt7iidI.css +1 -0
- package/dist/web/assets/index-NvjFIXGV.js +118 -0
- package/dist/web/assets/index-NvjFIXGV.js.map +1 -0
- package/dist/web/index.html +2 -2
- package/dist/{web-DTVGZZDZ.js → web-EORTIDIA.js} +23 -19
- package/dist/{web-DTVGZZDZ.js.map → web-EORTIDIA.js.map} +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-34QBYOHC.js +0 -9
- package/dist/chunk-5RRKVAIZ.js.map +0 -1
- package/dist/chunk-BLCAZAU5.js.map +0 -1
- package/dist/web/assets/index-CO_OtClq.js +0 -118
- package/dist/web/assets/index-CO_OtClq.js.map +0 -1
- package/dist/web/assets/index-D-_oxT3O.css +0 -1
- /package/dist/{chunk-E74YIDHX.js.map → chunk-3R4HBEIG.js.map} +0 -0
- /package/dist/{chunk-NIRVJMJL.js.map → chunk-45XJ4JGE.js.map} +0 -0
- /package/dist/{chunk-LNMIG35F.js.map → chunk-5PAPD6VT.js.map} +0 -0
- /package/dist/{chunk-34QBYOHC.js.map → chunk-B6V6SV2F.js.map} +0 -0
- /package/dist/{chunk-PG2MPTZD.js.map → chunk-BIL3S6XH.js.map} +0 -0
- /package/dist/{chunk-4V7C3O6V.js.map → chunk-BZA7NKWU.js.map} +0 -0
- /package/dist/{chunk-E72ETFAB.js.map → chunk-GJDXEHII.js.map} +0 -0
- /package/dist/{chunk-QQNI3K3V.js.map → chunk-H2NVIZ3M.js.map} +0 -0
- /package/dist/{chunk-F3SPCHLH.js.map → chunk-I5CDLVJY.js.map} +0 -0
- /package/dist/{chunk-EN24GJCO.js.map → chunk-ICVR5M6W.js.map} +0 -0
- /package/dist/{chunk-MFSKRN2J.js.map → chunk-L6RUHCKB.js.map} +0 -0
- /package/dist/{chunk-WOCS6MLE.js.map → chunk-OP5ZIVXO.js.map} +0 -0
- /package/dist/{chunk-MXZRFWC3.js.map → chunk-PDF3BZZH.js.map} +0 -0
- /package/dist/{chunk-UZROMRQM.js.map → chunk-QKGZ65TC.js.map} +0 -0
- /package/dist/{chunk-V4RQ72HY.js.map → chunk-QP6LFMMK.js.map} +0 -0
- /package/dist/{chunk-YZSSYD2G.js.map → chunk-SDE3BZ6P.js.map} +0 -0
- /package/dist/{chunk-I5HHTEAA.js.map → chunk-UPR2F7QP.js.map} +0 -0
- /package/dist/{cleanup-6LIZ3BQF.js.map → cleanup-AEZKR7Q3.js.map} +0 -0
- /package/dist/{cli-R3FITDNB.js.map → cli-73A5TR5V.js.map} +0 -0
- /package/dist/{config-DULJPECI.js.map → config-RF2S4YBA.js.map} +0 -0
- /package/dist/{fork-FYEV4TU2.js.map → fork-W5ZF62UP.js.map} +0 -0
- /package/dist/{init-276XRZS2.js.map → init-CJDDD4AS.js.map} +0 -0
- /package/dist/{move-QHCDO2R5.js.map → move-6J35JMFB.js.map} +0 -0
- /package/dist/{overlaps-SEK7H2YB.js.map → overlaps-NZL5XFC4.js.map} +0 -0
- /package/dist/{pr-JMMUGCKS.js.map → pr-CBLU6UJ2.js.map} +0 -0
- /package/dist/{prune-MR37KLIW.js.map → prune-FKNNOITA.js.map} +0 -0
- /package/dist/{remove-5IZVMK4V.js.map → remove-2CQ4MRSI.js.map} +0 -0
- /package/dist/{sessions-LHMTS6KT.js.map → sessions-6BBMLMPQ.js.map} +0 -0
- /package/dist/{sync-SAZVBQIH.js.map → sync-FE3AEVOP.js.map} +0 -0
- /package/dist/{tree-WFOG72Z3.js.map → tree-PA7BK7F6.js.map} +0 -0
- /package/dist/{update-NU5EMISM.js.map → update-EISQJXEI.js.map} +0 -0
|
@@ -6,23 +6,23 @@ import {
|
|
|
6
6
|
deleteMergedBranches,
|
|
7
7
|
findMergedBranches,
|
|
8
8
|
scanBuildFolders
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I5CDLVJY.js";
|
|
10
10
|
import {
|
|
11
11
|
defaultCleanupDeps
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3R4HBEIG.js";
|
|
13
13
|
import {
|
|
14
14
|
timeAgo
|
|
15
15
|
} from "./chunk-UQ35KLHH.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-QP6LFMMK.js";
|
|
17
17
|
import "./chunk-WTR5BUGS.js";
|
|
18
18
|
import {
|
|
19
19
|
applyCleanup,
|
|
20
20
|
scanCleanup
|
|
21
21
|
} from "./chunk-AKMPF72Y.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-SDE3BZ6P.js";
|
|
23
23
|
import "./chunk-KLK6O54M.js";
|
|
24
24
|
import "./chunk-BLLLVWEB.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-L6RUHCKB.js";
|
|
26
26
|
import "./chunk-G6IJ76DW.js";
|
|
27
27
|
import "./chunk-UNLBHYA5.js";
|
|
28
28
|
import "./chunk-6AULWNAN.js";
|
|
@@ -34,8 +34,8 @@ import "./chunk-ZSHWP2VS.js";
|
|
|
34
34
|
import "./chunk-JJRPLNLN.js";
|
|
35
35
|
import "./chunk-HUXS3VAI.js";
|
|
36
36
|
import "./chunk-7NAXFBFI.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-5PAPD6VT.js";
|
|
38
|
+
import "./chunk-4KZBZA5D.js";
|
|
39
39
|
import "./chunk-G5PN5NIS.js";
|
|
40
40
|
import "./chunk-WF57CF7A.js";
|
|
41
41
|
import "./chunk-TOQZODGI.js";
|
|
@@ -190,4 +190,4 @@ var cleanupCommand = {
|
|
|
190
190
|
export {
|
|
191
191
|
cleanupCommand
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=cleanup-
|
|
193
|
+
//# sourceMappingURL=cleanup-AEZKR7Q3.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
COMMANDS,
|
|
4
4
|
commandsFor,
|
|
5
5
|
run
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OP5ZIVXO.js";
|
|
7
|
+
import "./chunk-B6V6SV2F.js";
|
|
8
8
|
import "./chunk-H5LKMR45.js";
|
|
9
9
|
import "./chunk-7NAXFBFI.js";
|
|
10
10
|
import "./chunk-RCYI7SRA.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
commandsFor,
|
|
16
16
|
run
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=cli-
|
|
18
|
+
//# sourceMappingURL=cli-73A5TR5V.js.map
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
RepoAdminError,
|
|
4
4
|
enrollRepo,
|
|
5
5
|
repoInventory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GJDXEHII.js";
|
|
7
7
|
import {
|
|
8
8
|
openInEditor
|
|
9
9
|
} from "./chunk-5XMXZIJS.js";
|
|
10
10
|
import {
|
|
11
11
|
scanForRepos
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-BZA7NKWU.js";
|
|
13
|
+
import "./chunk-5PAPD6VT.js";
|
|
14
|
+
import "./chunk-4KZBZA5D.js";
|
|
15
15
|
import {
|
|
16
16
|
loadHistory
|
|
17
17
|
} from "./chunk-G5PN5NIS.js";
|
|
@@ -407,4 +407,4 @@ function showGroupHelp() {
|
|
|
407
407
|
export {
|
|
408
408
|
configCommand
|
|
409
409
|
};
|
|
410
|
-
//# sourceMappingURL=config-
|
|
410
|
+
//# sourceMappingURL=config-RF2S4YBA.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
forkSession,
|
|
5
5
|
startSessionWithPrompt,
|
|
6
6
|
uncommittedFiles
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-UPR2F7QP.js";
|
|
8
|
+
import "./chunk-ICVR5M6W.js";
|
|
9
9
|
import {
|
|
10
10
|
attachSession
|
|
11
11
|
} from "./chunk-IC5PFQCV.js";
|
|
12
12
|
import "./chunk-AH5TM3NB.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-SDE3BZ6P.js";
|
|
14
14
|
import "./chunk-KLK6O54M.js";
|
|
15
15
|
import "./chunk-BLLLVWEB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-L6RUHCKB.js";
|
|
17
17
|
import "./chunk-G6IJ76DW.js";
|
|
18
18
|
import {
|
|
19
19
|
askCatchUp,
|
|
@@ -31,8 +31,8 @@ import "./chunk-ZSHWP2VS.js";
|
|
|
31
31
|
import "./chunk-JJRPLNLN.js";
|
|
32
32
|
import "./chunk-HUXS3VAI.js";
|
|
33
33
|
import "./chunk-7NAXFBFI.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-5PAPD6VT.js";
|
|
35
|
+
import "./chunk-4KZBZA5D.js";
|
|
36
36
|
import {
|
|
37
37
|
findSession,
|
|
38
38
|
loadHistory
|
|
@@ -119,4 +119,4 @@ var forkCommand = {
|
|
|
119
119
|
export {
|
|
120
120
|
forkCommand
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=fork-
|
|
122
|
+
//# sourceMappingURL=fork-W5ZF62UP.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_COPY_FILES,
|
|
9
9
|
suggestFolders
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PDF3BZZH.js";
|
|
11
11
|
import {
|
|
12
12
|
isGitRepo
|
|
13
13
|
} from "./chunk-7NAXFBFI.js";
|
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
enrollProblem,
|
|
16
16
|
scanForRepos,
|
|
17
17
|
suggestAlias
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-BZA7NKWU.js";
|
|
19
|
+
import "./chunk-5PAPD6VT.js";
|
|
20
|
+
import "./chunk-4KZBZA5D.js";
|
|
21
21
|
import "./chunk-G5PN5NIS.js";
|
|
22
22
|
import "./chunk-WF57CF7A.js";
|
|
23
23
|
import {
|
|
@@ -184,4 +184,4 @@ var initCommand = {
|
|
|
184
184
|
export {
|
|
185
185
|
initCommand
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=init-
|
|
187
|
+
//# sourceMappingURL=init-CJDDD4AS.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createInProcess
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-ICVR5M6W.js";
|
|
5
|
+
import "./chunk-SDE3BZ6P.js";
|
|
6
|
+
import "./chunk-L6RUHCKB.js";
|
|
7
7
|
import {
|
|
8
8
|
findHost
|
|
9
9
|
} from "./chunk-G6IJ76DW.js";
|
|
@@ -16,11 +16,11 @@ import "./chunk-7NAXFBFI.js";
|
|
|
16
16
|
import {
|
|
17
17
|
originUrl,
|
|
18
18
|
readGitConfig
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-BZA7NKWU.js";
|
|
20
|
+
import "./chunk-5PAPD6VT.js";
|
|
21
21
|
import {
|
|
22
22
|
defaultRunner
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4KZBZA5D.js";
|
|
24
24
|
import {
|
|
25
25
|
loadHistory,
|
|
26
26
|
saveHistory
|
|
@@ -309,4 +309,4 @@ var moveCommand = {
|
|
|
309
309
|
export {
|
|
310
310
|
moveCommand
|
|
311
311
|
};
|
|
312
|
-
//# sourceMappingURL=move-
|
|
312
|
+
//# sourceMappingURL=move-6J35JMFB.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
scanChanges
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-QKGZ65TC.js";
|
|
5
|
+
import "./chunk-H2NVIZ3M.js";
|
|
6
6
|
import "./chunk-AKMPF72Y.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-4KZBZA5D.js";
|
|
8
8
|
import {
|
|
9
9
|
loadHistory
|
|
10
10
|
} from "./chunk-G5PN5NIS.js";
|
|
@@ -53,4 +53,4 @@ var overlapsCommand = {
|
|
|
53
53
|
export {
|
|
54
54
|
overlapsCommand
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=overlaps-
|
|
56
|
+
//# sourceMappingURL=overlaps-NZL5XFC4.js.map
|
|
@@ -15,7 +15,7 @@ import "./chunk-JJRPLNLN.js";
|
|
|
15
15
|
import "./chunk-HUXS3VAI.js";
|
|
16
16
|
import {
|
|
17
17
|
defaultRunner
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4KZBZA5D.js";
|
|
19
19
|
import "./chunk-G5PN5NIS.js";
|
|
20
20
|
import {
|
|
21
21
|
sessionIdFor
|
|
@@ -119,4 +119,4 @@ var prCommand = {
|
|
|
119
119
|
export {
|
|
120
120
|
prCommand
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=pr-
|
|
122
|
+
//# sourceMappingURL=pr-CBLU6UJ2.js.map
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
} from "./chunk-ABQYKTG4.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultCleanupDeps
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-3R4HBEIG.js";
|
|
9
|
+
import "./chunk-QP6LFMMK.js";
|
|
10
10
|
import "./chunk-WTR5BUGS.js";
|
|
11
11
|
import {
|
|
12
12
|
applyCleanup,
|
|
13
13
|
scanCleanup
|
|
14
14
|
} from "./chunk-AKMPF72Y.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-SDE3BZ6P.js";
|
|
16
16
|
import "./chunk-KLK6O54M.js";
|
|
17
17
|
import "./chunk-BLLLVWEB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-L6RUHCKB.js";
|
|
19
19
|
import "./chunk-G6IJ76DW.js";
|
|
20
20
|
import "./chunk-UNLBHYA5.js";
|
|
21
21
|
import "./chunk-6AULWNAN.js";
|
|
@@ -27,8 +27,8 @@ import "./chunk-ZSHWP2VS.js";
|
|
|
27
27
|
import "./chunk-JJRPLNLN.js";
|
|
28
28
|
import "./chunk-HUXS3VAI.js";
|
|
29
29
|
import "./chunk-7NAXFBFI.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-5PAPD6VT.js";
|
|
31
|
+
import "./chunk-4KZBZA5D.js";
|
|
32
32
|
import "./chunk-G5PN5NIS.js";
|
|
33
33
|
import "./chunk-WF57CF7A.js";
|
|
34
34
|
import "./chunk-TOQZODGI.js";
|
|
@@ -90,4 +90,4 @@ var pruneCommand = {
|
|
|
90
90
|
export {
|
|
91
91
|
pruneCommand
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=prune-
|
|
93
|
+
//# sourceMappingURL=prune-FKNNOITA.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
archiveWaiting
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QP6LFMMK.js";
|
|
5
5
|
import "./chunk-WTR5BUGS.js";
|
|
6
6
|
import "./chunk-AKMPF72Y.js";
|
|
7
7
|
import {
|
|
8
8
|
teardownWorktree,
|
|
9
9
|
wouldRefuseRemoval
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SDE3BZ6P.js";
|
|
11
11
|
import {
|
|
12
12
|
stopSessionPty
|
|
13
13
|
} from "./chunk-KLK6O54M.js";
|
|
14
14
|
import "./chunk-BLLLVWEB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-L6RUHCKB.js";
|
|
16
16
|
import "./chunk-G6IJ76DW.js";
|
|
17
17
|
import "./chunk-UNLBHYA5.js";
|
|
18
18
|
import "./chunk-6AULWNAN.js";
|
|
@@ -27,8 +27,8 @@ import "./chunk-ZSHWP2VS.js";
|
|
|
27
27
|
import "./chunk-JJRPLNLN.js";
|
|
28
28
|
import "./chunk-HUXS3VAI.js";
|
|
29
29
|
import "./chunk-7NAXFBFI.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-5PAPD6VT.js";
|
|
31
|
+
import "./chunk-4KZBZA5D.js";
|
|
32
32
|
import {
|
|
33
33
|
findSession,
|
|
34
34
|
loadHistory,
|
|
@@ -106,4 +106,4 @@ var removeCommand = {
|
|
|
106
106
|
export {
|
|
107
107
|
removeCommand
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=remove-
|
|
109
|
+
//# sourceMappingURL=remove-2CQ4MRSI.js.map
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
lastActiveMs,
|
|
4
4
|
sessionWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-45XJ4JGE.js";
|
|
6
6
|
import {
|
|
7
7
|
scanChanges
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-QKGZ65TC.js";
|
|
9
|
+
import "./chunk-H2NVIZ3M.js";
|
|
10
10
|
import {
|
|
11
11
|
timeAgo
|
|
12
12
|
} from "./chunk-UQ35KLHH.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
statusFromOutput
|
|
16
16
|
} from "./chunk-KLK6O54M.js";
|
|
17
17
|
import "./chunk-BLLLVWEB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-L6RUHCKB.js";
|
|
19
19
|
import {
|
|
20
20
|
PtyHostClient,
|
|
21
21
|
findHost
|
|
@@ -31,8 +31,8 @@ import "./chunk-JYWCNLZN.js";
|
|
|
31
31
|
import "./chunk-ZSHWP2VS.js";
|
|
32
32
|
import "./chunk-JJRPLNLN.js";
|
|
33
33
|
import "./chunk-HUXS3VAI.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-5PAPD6VT.js";
|
|
35
|
+
import "./chunk-4KZBZA5D.js";
|
|
36
36
|
import {
|
|
37
37
|
loadHistory
|
|
38
38
|
} from "./chunk-G5PN5NIS.js";
|
|
@@ -134,4 +134,4 @@ export {
|
|
|
134
134
|
sessionRows,
|
|
135
135
|
sessionsCommand
|
|
136
136
|
};
|
|
137
|
-
//# sourceMappingURL=sessions-
|
|
137
|
+
//# sourceMappingURL=sessions-6BBMLMPQ.js.map
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
} from "./chunk-ABQYKTG4.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultCleanupDeps
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-3R4HBEIG.js";
|
|
9
|
+
import "./chunk-QP6LFMMK.js";
|
|
10
10
|
import "./chunk-WTR5BUGS.js";
|
|
11
11
|
import {
|
|
12
12
|
applyCleanup,
|
|
13
13
|
scanCleanup
|
|
14
14
|
} from "./chunk-AKMPF72Y.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-SDE3BZ6P.js";
|
|
16
16
|
import "./chunk-KLK6O54M.js";
|
|
17
17
|
import "./chunk-BLLLVWEB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-L6RUHCKB.js";
|
|
19
19
|
import "./chunk-G6IJ76DW.js";
|
|
20
20
|
import "./chunk-UNLBHYA5.js";
|
|
21
21
|
import "./chunk-6AULWNAN.js";
|
|
@@ -27,8 +27,8 @@ import "./chunk-ZSHWP2VS.js";
|
|
|
27
27
|
import "./chunk-JJRPLNLN.js";
|
|
28
28
|
import "./chunk-HUXS3VAI.js";
|
|
29
29
|
import "./chunk-7NAXFBFI.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-5PAPD6VT.js";
|
|
31
|
+
import "./chunk-4KZBZA5D.js";
|
|
32
32
|
import "./chunk-G5PN5NIS.js";
|
|
33
33
|
import "./chunk-WF57CF7A.js";
|
|
34
34
|
import "./chunk-TOQZODGI.js";
|
|
@@ -94,4 +94,4 @@ var syncCommand = {
|
|
|
94
94
|
export {
|
|
95
95
|
syncCommand
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=sync-
|
|
97
|
+
//# sourceMappingURL=sync-FE3AEVOP.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
resolvePrToStart,
|
|
4
4
|
workOnPrPrompt
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4MXWNDH7.js";
|
|
6
6
|
import {
|
|
7
7
|
attachSession
|
|
8
8
|
} from "./chunk-IC5PFQCV.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
openBaseCheckout,
|
|
14
14
|
parseBaseSpec,
|
|
15
15
|
setupWorktree
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SDE3BZ6P.js";
|
|
17
17
|
import "./chunk-KLK6O54M.js";
|
|
18
18
|
import "./chunk-BLLLVWEB.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-L6RUHCKB.js";
|
|
20
20
|
import "./chunk-G6IJ76DW.js";
|
|
21
21
|
import {
|
|
22
22
|
getAllTargetNames,
|
|
@@ -29,9 +29,9 @@ import {
|
|
|
29
29
|
launchAi,
|
|
30
30
|
openVSCode
|
|
31
31
|
} from "./chunk-5XMXZIJS.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-BZA7NKWU.js";
|
|
33
|
+
import "./chunk-5PAPD6VT.js";
|
|
34
|
+
import "./chunk-4KZBZA5D.js";
|
|
35
35
|
import {
|
|
36
36
|
findSession,
|
|
37
37
|
loadHistory,
|
|
@@ -263,4 +263,4 @@ var treeCommand = {
|
|
|
263
263
|
export {
|
|
264
264
|
treeCommand
|
|
265
265
|
};
|
|
266
|
-
//# sourceMappingURL=tree-
|
|
266
|
+
//# sourceMappingURL=tree-PA7BK7F6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
updateSession
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BIL3S6XH.js";
|
|
5
5
|
import "./chunk-UNLBHYA5.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionFromArgs,
|
|
@@ -12,7 +12,7 @@ import "./chunk-JYWCNLZN.js";
|
|
|
12
12
|
import "./chunk-ZSHWP2VS.js";
|
|
13
13
|
import "./chunk-JJRPLNLN.js";
|
|
14
14
|
import "./chunk-HUXS3VAI.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-4KZBZA5D.js";
|
|
16
16
|
import "./chunk-G5PN5NIS.js";
|
|
17
17
|
import "./chunk-WF57CF7A.js";
|
|
18
18
|
import "./chunk-TOQZODGI.js";
|
|
@@ -54,4 +54,4 @@ var updateCommand = {
|
|
|
54
54
|
export {
|
|
55
55
|
updateCommand
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=update-
|
|
57
|
+
//# sourceMappingURL=update-EISQJXEI.js.map
|
package/dist/wd-bin.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
run
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OP5ZIVXO.js";
|
|
5
5
|
import {
|
|
6
6
|
consoleReporter
|
|
7
7
|
} from "./chunk-S5HJT7CM.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-B6V6SV2F.js";
|
|
9
9
|
import "./chunk-H5LKMR45.js";
|
|
10
10
|
import "./chunk-7NAXFBFI.js";
|
|
11
11
|
import "./chunk-RCYI7SRA.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as e,n as t,r as n,t as r}from"./index-CO_OtClq.js";var i=e(n(),1),a=2e3,o=20,s=class{sentAt=null;samples=[];keySent(e){this.sentAt===null&&(this.sentAt=e)}output(e){if(this.sentAt===null)return null;let t=e-this.sentAt;return this.sentAt=null,t<0||t>a?null:(this.samples.push(t),this.samples.length>o&&this.samples.shift(),t)}median(){if(this.samples.length===0)return null;let e=[...this.samples].sort((e,t)=>e-t),t=e.length>>1;return e.length%2?e[t]:(e[t-1]+e[t])/2}},c=[2e3,1e4,6e4],l=6e5,u=class{losses=[];lost(e){return this.losses=this.losses.filter(t=>e-t<l),this.losses.push(e),c[this.losses.length-1]??null}},d=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=(e,t)=>{for(var n in t)d(e,n,{get:t[n],enumerable:!0})},m=(e,t,n,r)=>{for(var i=r>1?void 0:r?f(t,n):t,a=e.length-1,o;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&d(t,n,i),i},h=(e,t)=>(n,r)=>t(n,r,e),g=`Terminal input`,_={get:()=>g,set:e=>g=e},v=`Too much output to announce, navigate to rows manually to read`,y={get:()=>v,set:e=>v=e};function ee(e){return e.replace(/\r?\n/g,`\r`)}function te(e,t){return t?`\x1B[200~`+e+`\x1B[201~`:e}function ne(e,t){e.clipboardData&&e.clipboardData.setData(`text/plain`,t.selectionText),e.preventDefault()}function re(e,t,n,r){e.stopPropagation(),e.clipboardData&&b(e.clipboardData.getData(`text/plain`),t,n,r)}function b(e,t,n,r){e=ee(e),e=te(e,n.decPrivateModes.bracketedPasteMode&&r.rawOptions.ignoreBracketedPasteMode!==!0),n.triggerDataEvent(e,!0),t.value=``}function ie(e,t,n){let r=n.getBoundingClientRect(),i=e.clientX-r.left-10,a=e.clientY-r.top-10;t.style.width=`20px`,t.style.height=`20px`,t.style.left=`${i}px`,t.style.top=`${a}px`,t.style.zIndex=`1000`,t.focus()}function ae(e,t,n,r,i){ie(e,t,n),i&&r.rightClickSelect(e),t.value=r.selectionText,t.select()}function x(e){return e>65535?(e-=65536,String.fromCharCode((e>>10)+55296)+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)}function oe(e,t=0,n=e.length){let r=``;for(let i=t;i<n;++i){let t=e[i];t>65535?(t-=65536,r+=String.fromCharCode((t>>10)+55296)+String.fromCharCode(t%1024+56320)):r+=String.fromCharCode(t)}return r}var S=class{constructor(){this._interim=0}clear(){this._interim=0}decode(e,t){let n=e.length;if(!n)return 0;let r=0,i=0;if(this._interim){let n=e.charCodeAt(i++);56320<=n&&n<=57343?t[r++]=(this._interim-55296)*1024+n-56320+65536:(t[r++]=this._interim,t[r++]=n),this._interim=0}for(let a=i;a<n;++a){let i=e.charCodeAt(a);if(55296<=i&&i<=56319){if(++a>=n)return this._interim=i,r;let o=e.charCodeAt(a);56320<=o&&o<=57343?t[r++]=(i-55296)*1024+o-56320+65536:(t[r++]=i,t[r++]=o);continue}i!==65279&&(t[r++]=i)}return r}},se=class{constructor(){this.interim=new Uint8Array(3)}clear(){this.interim.fill(0)}decode(e,t){let n=e.length;if(!n)return 0;let r=0,i,a,o,s,c=0,l=0;if(this.interim[0]){let i=!1,a=this.interim[0];a&=(a&224)==192?31:(a&240)==224?15:7;let o=0,s;for(;(s=this.interim[++o]&63)&&o<4;)a<<=6,a|=s;let c=(this.interim[0]&224)==192?2:(this.interim[0]&240)==224?3:4,u=c-o;for(;l<u;){if(l>=n)return 0;if(s=e[l++],(s&192)!=128){l--,i=!0;break}this.interim[o++]=s,a<<=6,a|=s&63}i||(c===2?a<128?l--:t[r++]=a:c===3?a<2048||a>=55296&&a<=57343||a===65279||(t[r++]=a):a<65536||a>1114111||(t[r++]=a)),this.interim.fill(0)}let u=n-4,d=l;for(;d<n;){for(;d<u&&!((i=e[d])&128)&&!((a=e[d+1])&128)&&!((o=e[d+2])&128)&&!((s=e[d+3])&128);)t[r++]=i,t[r++]=a,t[r++]=o,t[r++]=s,d+=4;if(i=e[d++],i<128)t[r++]=i;else if((i&224)==192){if(d>=n)return this.interim[0]=i,r;if(a=e[d++],(a&192)!=128){d--;continue}if(c=(i&31)<<6|a&63,c<128){d--;continue}t[r++]=c}else if((i&240)==224){if(d>=n)return this.interim[0]=i,r;if(a=e[d++],(a&192)!=128){d--;continue}if(d>=n)return this.interim[0]=i,this.interim[1]=a,r;if(o=e[d++],(o&192)!=128){d--;continue}if(c=(i&15)<<12|(a&63)<<6|o&63,c<2048||c>=55296&&c<=57343||c===65279)continue;t[r++]=c}else if((i&248)==240){if(d>=n)return this.interim[0]=i,r;if(a=e[d++],(a&192)!=128){d--;continue}if(d>=n)return this.interim[0]=i,this.interim[1]=a,r;if(o=e[d++],(o&192)!=128){d--;continue}if(d>=n)return this.interim[0]=i,this.interim[1]=a,this.interim[2]=o,r;if(s=e[d++],(s&192)!=128){d--;continue}if(c=(i&7)<<18|(a&63)<<12|(o&63)<<6|s&63,c<65536||c>1114111)continue;t[r++]=c}}return r}},ce=``,le=` `,C=class e{constructor(){this.fg=0,this.bg=0,this.extended=new w}static toColorRGB(e){return[e>>>16&255,e>>>8&255,e&255]}static fromColorRGB(e){return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255}clone(){let t=new e;return t.fg=this.fg,t.bg=this.bg,t.extended=this.extended.clone(),t}isInverse(){return this.fg&67108864}isBold(){return this.fg&134217728}isUnderline(){return this.hasExtendedAttrs()&&this.extended.underlineStyle!==0?1:this.fg&268435456}isBlink(){return this.fg&536870912}isInvisible(){return this.fg&1073741824}isItalic(){return this.bg&67108864}isDim(){return this.bg&134217728}isStrikethrough(){return this.fg&2147483648}isProtected(){return this.bg&536870912}isOverline(){return this.bg&1073741824}getFgColorMode(){return this.fg&50331648}getBgColorMode(){return this.bg&50331648}isFgRGB(){return(this.fg&50331648)==50331648}isBgRGB(){return(this.bg&50331648)==50331648}isFgPalette(){return(this.fg&50331648)==16777216||(this.fg&50331648)==33554432}isBgPalette(){return(this.bg&50331648)==16777216||(this.bg&50331648)==33554432}isFgDefault(){return!(this.fg&50331648)}isBgDefault(){return!(this.bg&50331648)}isAttributeDefault(){return this.fg===0&&this.bg===0}getFgColor(){switch(this.fg&50331648){case 16777216:case 33554432:return this.fg&255;case 50331648:return this.fg&16777215;default:return-1}}getBgColor(){switch(this.bg&50331648){case 16777216:case 33554432:return this.bg&255;case 50331648:return this.bg&16777215;default:return-1}}hasExtendedAttrs(){return this.bg&268435456}updateExtended(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456}getUnderlineColor(){if(this.bg&268435456&&~this.extended.underlineColor)switch(this.extended.underlineColor&50331648){case 16777216:case 33554432:return this.extended.underlineColor&255;case 50331648:return this.extended.underlineColor&16777215;default:return this.getFgColor()}return this.getFgColor()}getUnderlineColorMode(){return this.bg&268435456&&~this.extended.underlineColor?this.extended.underlineColor&50331648:this.getFgColorMode()}isUnderlineColorRGB(){return this.bg&268435456&&~this.extended.underlineColor?(this.extended.underlineColor&50331648)==50331648:this.isFgRGB()}isUnderlineColorPalette(){return this.bg&268435456&&~this.extended.underlineColor?(this.extended.underlineColor&50331648)==16777216||(this.extended.underlineColor&50331648)==33554432:this.isFgPalette()}isUnderlineColorDefault(){return this.bg&268435456&&~this.extended.underlineColor?!(this.extended.underlineColor&50331648):this.isFgDefault()}getUnderlineStyle(){return this.fg&268435456?this.bg&268435456?this.extended.underlineStyle:1:0}getUnderlineVariantOffset(){return this.extended.underlineVariantOffset}},w=class e{constructor(e=0,t=0){this._ext=0,this._urlId=0,this._ext=e,this._urlId=t}get ext(){return this._urlId?this._ext&-469762049|this.underlineStyle<<26:this._ext}set ext(e){this._ext=e}get underlineStyle(){return this._urlId?5:(this._ext&469762048)>>26}set underlineStyle(e){this._ext&=-469762049,this._ext|=e<<26&469762048}get underlineColor(){return this._ext&67108863}set underlineColor(e){this._ext&=-67108864,this._ext|=e&67108863}get urlId(){return this._urlId}set urlId(e){this._urlId=e}get underlineVariantOffset(){let e=(this._ext&3758096384)>>29;return e<0?e^4294967288:e}set underlineVariantOffset(e){this._ext&=536870911,this._ext|=e<<29&3758096384}clone(){return new e(this._ext,this._urlId)}isEmpty(){return this.underlineStyle===0&&this._urlId===0}},T=class e extends C{constructor(){super(...arguments),this.content=0,this.fg=0,this.bg=0,this.extended=new w,this.combinedData=``}static fromCharData(t){let n=new e;return n.setFromCharData(t),n}isCombined(){return this.content&2097152}getWidth(){return this.content>>22}getChars(){return this.content&2097152?this.combinedData:this.content&2097151?x(this.content&2097151):``}getCode(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):this.content&2097151}setFromCharData(e){this.fg=e[0],this.bg=0;let t=!1;if(e[1].length>2)t=!0;else if(e[1].length===2){let n=e[1].charCodeAt(0);if(55296<=n&&n<=56319){let r=e[1].charCodeAt(1);56320<=r&&r<=57343?this.content=(n-55296)*1024+r-56320+65536|e[2]<<22:t=!0}else t=!0}else this.content=e[1].charCodeAt(0)|e[2]<<22;t&&(this.combinedData=e[1],this.content=2097152|e[2]<<22)}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}},ue=`di$target`,de=`di$dependencies`,fe=new Map;function pe(e){return e[de]||[]}function E(e){if(fe.has(e))return fe.get(e);let t=function(e,n,r){if(arguments.length!==3)throw Error(`@IServiceName-decorator can only be used to decorate a parameter`);me(t,e,r)};return t._id=e,fe.set(e,t),t}function me(e,t,n){t[ue]===t?t[de].push({id:e,index:n}):(t[de]=[{id:e,index:n}],t[ue]=t)}var D=E(`BufferService`),he=E(`CoreMouseService`),ge=E(`CoreService`),_e=E(`CharsetService`),ve=E(`InstantiationService`),ye=E(`LogService`),O=E(`OptionsService`),be=E(`OscLinkService`),xe=E(`UnicodeService`),Se=E(`DecorationService`),Ce=class{constructor(e,t,n){this._bufferService=e,this._optionsService=t,this._oscLinkService=n}provideLinks(e,t){let n=this._bufferService.buffer.lines.get(e-1);if(!n){t(void 0);return}let r=[],i=this._optionsService.rawOptions.linkHandler,a=new T,o=n.getTrimmedLength(),s=-1,c=-1,l=!1;for(let t=0;t<o;t++)if(c!==-1||n.hasContent(t)){if(n.loadCell(t,a),a.hasExtendedAttrs()&&a.extended.urlId){if(c===-1){c=t,s=a.extended.urlId;continue}l=a.extended.urlId!==s}else c!==-1&&(l=!0);if(l||c!==-1&&t===o-1){let n=this._oscLinkService.getLinkData(s)?.uri;if(n){let a={start:{x:c+1,y:e},end:{x:t+ +(!l&&t===o-1),y:e}},s=!1;if(!i?.allowNonHttpProtocols)try{let e=new URL(n);[`http:`,`https:`].includes(e.protocol)||(s=!0)}catch{s=!0}s||r.push({text:n,range:a,activate:(e,t)=>i?i.activate(e,t,a):we(e,t),hover:(e,t)=>i?.hover?.(e,t,a),leave:(e,t)=>i?.leave?.(e,t,a)})}l=!1,a.hasExtendedAttrs()&&a.extended.urlId?(c=t,s=a.extended.urlId):(c=-1,s=-1)}}t(r)}};Ce=m([h(0,D),h(1,O),h(2,be)],Ce);function we(e,t){if(confirm(`Do you want to navigate to ${t}?
|
|
1
|
+
import{i as e,n as t,r as n,t as r}from"./index-NvjFIXGV.js";var i=e(n(),1),a=2e3,o=20,s=class{sentAt=null;samples=[];keySent(e){this.sentAt===null&&(this.sentAt=e)}output(e){if(this.sentAt===null)return null;let t=e-this.sentAt;return this.sentAt=null,t<0||t>a?null:(this.samples.push(t),this.samples.length>o&&this.samples.shift(),t)}median(){if(this.samples.length===0)return null;let e=[...this.samples].sort((e,t)=>e-t),t=e.length>>1;return e.length%2?e[t]:(e[t-1]+e[t])/2}},c=[2e3,1e4,6e4],l=6e5,u=class{losses=[];lost(e){return this.losses=this.losses.filter(t=>e-t<l),this.losses.push(e),c[this.losses.length-1]??null}},d=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=(e,t)=>{for(var n in t)d(e,n,{get:t[n],enumerable:!0})},m=(e,t,n,r)=>{for(var i=r>1?void 0:r?f(t,n):t,a=e.length-1,o;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&d(t,n,i),i},h=(e,t)=>(n,r)=>t(n,r,e),g=`Terminal input`,_={get:()=>g,set:e=>g=e},v=`Too much output to announce, navigate to rows manually to read`,y={get:()=>v,set:e=>v=e};function ee(e){return e.replace(/\r?\n/g,`\r`)}function te(e,t){return t?`\x1B[200~`+e+`\x1B[201~`:e}function ne(e,t){e.clipboardData&&e.clipboardData.setData(`text/plain`,t.selectionText),e.preventDefault()}function re(e,t,n,r){e.stopPropagation(),e.clipboardData&&b(e.clipboardData.getData(`text/plain`),t,n,r)}function b(e,t,n,r){e=ee(e),e=te(e,n.decPrivateModes.bracketedPasteMode&&r.rawOptions.ignoreBracketedPasteMode!==!0),n.triggerDataEvent(e,!0),t.value=``}function ie(e,t,n){let r=n.getBoundingClientRect(),i=e.clientX-r.left-10,a=e.clientY-r.top-10;t.style.width=`20px`,t.style.height=`20px`,t.style.left=`${i}px`,t.style.top=`${a}px`,t.style.zIndex=`1000`,t.focus()}function ae(e,t,n,r,i){ie(e,t,n),i&&r.rightClickSelect(e),t.value=r.selectionText,t.select()}function x(e){return e>65535?(e-=65536,String.fromCharCode((e>>10)+55296)+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)}function oe(e,t=0,n=e.length){let r=``;for(let i=t;i<n;++i){let t=e[i];t>65535?(t-=65536,r+=String.fromCharCode((t>>10)+55296)+String.fromCharCode(t%1024+56320)):r+=String.fromCharCode(t)}return r}var S=class{constructor(){this._interim=0}clear(){this._interim=0}decode(e,t){let n=e.length;if(!n)return 0;let r=0,i=0;if(this._interim){let n=e.charCodeAt(i++);56320<=n&&n<=57343?t[r++]=(this._interim-55296)*1024+n-56320+65536:(t[r++]=this._interim,t[r++]=n),this._interim=0}for(let a=i;a<n;++a){let i=e.charCodeAt(a);if(55296<=i&&i<=56319){if(++a>=n)return this._interim=i,r;let o=e.charCodeAt(a);56320<=o&&o<=57343?t[r++]=(i-55296)*1024+o-56320+65536:(t[r++]=i,t[r++]=o);continue}i!==65279&&(t[r++]=i)}return r}},se=class{constructor(){this.interim=new Uint8Array(3)}clear(){this.interim.fill(0)}decode(e,t){let n=e.length;if(!n)return 0;let r=0,i,a,o,s,c=0,l=0;if(this.interim[0]){let i=!1,a=this.interim[0];a&=(a&224)==192?31:(a&240)==224?15:7;let o=0,s;for(;(s=this.interim[++o]&63)&&o<4;)a<<=6,a|=s;let c=(this.interim[0]&224)==192?2:(this.interim[0]&240)==224?3:4,u=c-o;for(;l<u;){if(l>=n)return 0;if(s=e[l++],(s&192)!=128){l--,i=!0;break}this.interim[o++]=s,a<<=6,a|=s&63}i||(c===2?a<128?l--:t[r++]=a:c===3?a<2048||a>=55296&&a<=57343||a===65279||(t[r++]=a):a<65536||a>1114111||(t[r++]=a)),this.interim.fill(0)}let u=n-4,d=l;for(;d<n;){for(;d<u&&!((i=e[d])&128)&&!((a=e[d+1])&128)&&!((o=e[d+2])&128)&&!((s=e[d+3])&128);)t[r++]=i,t[r++]=a,t[r++]=o,t[r++]=s,d+=4;if(i=e[d++],i<128)t[r++]=i;else if((i&224)==192){if(d>=n)return this.interim[0]=i,r;if(a=e[d++],(a&192)!=128){d--;continue}if(c=(i&31)<<6|a&63,c<128){d--;continue}t[r++]=c}else if((i&240)==224){if(d>=n)return this.interim[0]=i,r;if(a=e[d++],(a&192)!=128){d--;continue}if(d>=n)return this.interim[0]=i,this.interim[1]=a,r;if(o=e[d++],(o&192)!=128){d--;continue}if(c=(i&15)<<12|(a&63)<<6|o&63,c<2048||c>=55296&&c<=57343||c===65279)continue;t[r++]=c}else if((i&248)==240){if(d>=n)return this.interim[0]=i,r;if(a=e[d++],(a&192)!=128){d--;continue}if(d>=n)return this.interim[0]=i,this.interim[1]=a,r;if(o=e[d++],(o&192)!=128){d--;continue}if(d>=n)return this.interim[0]=i,this.interim[1]=a,this.interim[2]=o,r;if(s=e[d++],(s&192)!=128){d--;continue}if(c=(i&7)<<18|(a&63)<<12|(o&63)<<6|s&63,c<65536||c>1114111)continue;t[r++]=c}}return r}},ce=``,le=` `,C=class e{constructor(){this.fg=0,this.bg=0,this.extended=new w}static toColorRGB(e){return[e>>>16&255,e>>>8&255,e&255]}static fromColorRGB(e){return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255}clone(){let t=new e;return t.fg=this.fg,t.bg=this.bg,t.extended=this.extended.clone(),t}isInverse(){return this.fg&67108864}isBold(){return this.fg&134217728}isUnderline(){return this.hasExtendedAttrs()&&this.extended.underlineStyle!==0?1:this.fg&268435456}isBlink(){return this.fg&536870912}isInvisible(){return this.fg&1073741824}isItalic(){return this.bg&67108864}isDim(){return this.bg&134217728}isStrikethrough(){return this.fg&2147483648}isProtected(){return this.bg&536870912}isOverline(){return this.bg&1073741824}getFgColorMode(){return this.fg&50331648}getBgColorMode(){return this.bg&50331648}isFgRGB(){return(this.fg&50331648)==50331648}isBgRGB(){return(this.bg&50331648)==50331648}isFgPalette(){return(this.fg&50331648)==16777216||(this.fg&50331648)==33554432}isBgPalette(){return(this.bg&50331648)==16777216||(this.bg&50331648)==33554432}isFgDefault(){return!(this.fg&50331648)}isBgDefault(){return!(this.bg&50331648)}isAttributeDefault(){return this.fg===0&&this.bg===0}getFgColor(){switch(this.fg&50331648){case 16777216:case 33554432:return this.fg&255;case 50331648:return this.fg&16777215;default:return-1}}getBgColor(){switch(this.bg&50331648){case 16777216:case 33554432:return this.bg&255;case 50331648:return this.bg&16777215;default:return-1}}hasExtendedAttrs(){return this.bg&268435456}updateExtended(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456}getUnderlineColor(){if(this.bg&268435456&&~this.extended.underlineColor)switch(this.extended.underlineColor&50331648){case 16777216:case 33554432:return this.extended.underlineColor&255;case 50331648:return this.extended.underlineColor&16777215;default:return this.getFgColor()}return this.getFgColor()}getUnderlineColorMode(){return this.bg&268435456&&~this.extended.underlineColor?this.extended.underlineColor&50331648:this.getFgColorMode()}isUnderlineColorRGB(){return this.bg&268435456&&~this.extended.underlineColor?(this.extended.underlineColor&50331648)==50331648:this.isFgRGB()}isUnderlineColorPalette(){return this.bg&268435456&&~this.extended.underlineColor?(this.extended.underlineColor&50331648)==16777216||(this.extended.underlineColor&50331648)==33554432:this.isFgPalette()}isUnderlineColorDefault(){return this.bg&268435456&&~this.extended.underlineColor?!(this.extended.underlineColor&50331648):this.isFgDefault()}getUnderlineStyle(){return this.fg&268435456?this.bg&268435456?this.extended.underlineStyle:1:0}getUnderlineVariantOffset(){return this.extended.underlineVariantOffset}},w=class e{constructor(e=0,t=0){this._ext=0,this._urlId=0,this._ext=e,this._urlId=t}get ext(){return this._urlId?this._ext&-469762049|this.underlineStyle<<26:this._ext}set ext(e){this._ext=e}get underlineStyle(){return this._urlId?5:(this._ext&469762048)>>26}set underlineStyle(e){this._ext&=-469762049,this._ext|=e<<26&469762048}get underlineColor(){return this._ext&67108863}set underlineColor(e){this._ext&=-67108864,this._ext|=e&67108863}get urlId(){return this._urlId}set urlId(e){this._urlId=e}get underlineVariantOffset(){let e=(this._ext&3758096384)>>29;return e<0?e^4294967288:e}set underlineVariantOffset(e){this._ext&=536870911,this._ext|=e<<29&3758096384}clone(){return new e(this._ext,this._urlId)}isEmpty(){return this.underlineStyle===0&&this._urlId===0}},T=class e extends C{constructor(){super(...arguments),this.content=0,this.fg=0,this.bg=0,this.extended=new w,this.combinedData=``}static fromCharData(t){let n=new e;return n.setFromCharData(t),n}isCombined(){return this.content&2097152}getWidth(){return this.content>>22}getChars(){return this.content&2097152?this.combinedData:this.content&2097151?x(this.content&2097151):``}getCode(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):this.content&2097151}setFromCharData(e){this.fg=e[0],this.bg=0;let t=!1;if(e[1].length>2)t=!0;else if(e[1].length===2){let n=e[1].charCodeAt(0);if(55296<=n&&n<=56319){let r=e[1].charCodeAt(1);56320<=r&&r<=57343?this.content=(n-55296)*1024+r-56320+65536|e[2]<<22:t=!0}else t=!0}else this.content=e[1].charCodeAt(0)|e[2]<<22;t&&(this.combinedData=e[1],this.content=2097152|e[2]<<22)}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}},ue=`di$target`,de=`di$dependencies`,fe=new Map;function pe(e){return e[de]||[]}function E(e){if(fe.has(e))return fe.get(e);let t=function(e,n,r){if(arguments.length!==3)throw Error(`@IServiceName-decorator can only be used to decorate a parameter`);me(t,e,r)};return t._id=e,fe.set(e,t),t}function me(e,t,n){t[ue]===t?t[de].push({id:e,index:n}):(t[de]=[{id:e,index:n}],t[ue]=t)}var D=E(`BufferService`),he=E(`CoreMouseService`),ge=E(`CoreService`),_e=E(`CharsetService`),ve=E(`InstantiationService`),ye=E(`LogService`),O=E(`OptionsService`),be=E(`OscLinkService`),xe=E(`UnicodeService`),Se=E(`DecorationService`),Ce=class{constructor(e,t,n){this._bufferService=e,this._optionsService=t,this._oscLinkService=n}provideLinks(e,t){let n=this._bufferService.buffer.lines.get(e-1);if(!n){t(void 0);return}let r=[],i=this._optionsService.rawOptions.linkHandler,a=new T,o=n.getTrimmedLength(),s=-1,c=-1,l=!1;for(let t=0;t<o;t++)if(c!==-1||n.hasContent(t)){if(n.loadCell(t,a),a.hasExtendedAttrs()&&a.extended.urlId){if(c===-1){c=t,s=a.extended.urlId;continue}l=a.extended.urlId!==s}else c!==-1&&(l=!0);if(l||c!==-1&&t===o-1){let n=this._oscLinkService.getLinkData(s)?.uri;if(n){let a={start:{x:c+1,y:e},end:{x:t+ +(!l&&t===o-1),y:e}},s=!1;if(!i?.allowNonHttpProtocols)try{let e=new URL(n);[`http:`,`https:`].includes(e.protocol)||(s=!0)}catch{s=!0}s||r.push({text:n,range:a,activate:(e,t)=>i?i.activate(e,t,a):we(e,t),hover:(e,t)=>i?.hover?.(e,t,a),leave:(e,t)=>i?.leave?.(e,t,a)})}l=!1,a.hasExtendedAttrs()&&a.extended.urlId?(c=t,s=a.extended.urlId):(c=-1,s=-1)}}t(r)}};Ce=m([h(0,D),h(1,O),h(2,be)],Ce);function we(e,t){if(confirm(`Do you want to navigate to ${t}?
|
|
2
2
|
|
|
3
3
|
WARNING: This link could potentially be dangerous`)){let e=window.open();if(e){try{e.opener=null}catch{}e.location.href=t}else console.warn(`Opening link blocked as opener could not be cleared`)}}var Te=E(`CharSizeService`),Ee=E(`CoreBrowserService`),De=E(`MouseService`),Oe=E(`RenderService`),ke=E(`SelectionService`),Ae=E(`CharacterJoinerService`),je=E(`ThemeService`),Me=E(`LinkProviderService`),Ne=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?ze.isErrorNoTelemetry(e)?new ze(e.message+`
|
|
4
4
|
|
|
@@ -87,4 +87,4 @@ void main() {
|
|
|
87
87
|
`),S=!0});let le=t.onData(e=>{if(S){e===`\r`&&m(e=>e+1);return}C(e)});function C(e){S||(ae?(b.send(JSON.stringify({type:`input`,data:e})),se.keySent(performance.now())):x.push(e))}let w=t.cols,T=t.rows,ue=(e=!1)=>{c.current&&(n.fit(),(e||t.cols!==w||t.rows!==T)&&(w=t.cols,T=t.rows,ae&&b.send(JSON.stringify({type:`resize`,cols:t.cols,rows:t.rows}))))},de=()=>ue(),fe=typeof ResizeObserver<`u`?new ResizeObserver(()=>ue()):null;fe?fe.observe(o.current):window.addEventListener(`resize`,de),l.current=()=>{ue(!0),t.focus()};let pe=()=>ue(!0);return t.textarea?.addEventListener(`focus`,pe),()=>{d=!0,clearTimeout(ie),clearTimeout(a),t.textarea?.removeEventListener(`paste`,ee,!0),t.textarea?.removeEventListener(`focus`,pe),l.current=null,fe?.disconnect(),window.removeEventListener(`resize`,de),le.dispose();try{b.close()}catch{}t.dispose()}},[e,p]);let b=()=>{re(!0),m(e=>e+1)};(0,i.useEffect)(()=>{if(!h||!a)return;let e=setInterval(()=>{document.visibilityState===`visible`&&b()},Rf);return()=>clearInterval(e)},[h,a]);let ie=()=>{window.confirm(`Start this session's Claude here?
|
|
88
88
|
|
|
89
89
|
If it is still open in another terminal, both would write to the same conversation.`)&&(_.current=!0,g(null),m(e=>e+1))},ae=t?`work tree ${t}${n?` ${n}`:``}`:`work tree <target> <branch>`,x=Vf(v,ee);return(0,If.jsxs)(If.Fragment,{children:[h&&(0,If.jsxs)(`div`,{className:`wd-pty-elsewhere`,role:`status`,children:[(0,If.jsxs)(`p`,{className:`wd-pty-elsewhere-title`,children:[h.confirmed?`This session’s Claude is open in another terminal`:`This session’s Claude seems to be running in another terminal`,h.lastActivity!==null&&(0,If.jsxs)(If.Fragment,{children:[` (last wrote `,zf(h.lastActivity),`)`]}),h.state===`needs_input`&&(0,If.jsx)(If.Fragment,{children:`, waiting for your answer there`}),`.`]}),(0,If.jsxs)(`p`,{children:[`Close it there (type `,(0,If.jsx)(`code`,{children:`/exit`}),`) and this tab attaches by itself — it checks every few seconds. To have both show the same screen instead, restart it with `,(0,If.jsx)(`code`,{children:ae}),` (Ctrl+] detaches, Claude keeps running).`]}),(0,If.jsxs)(`p`,{className:`wd-pty-elsewhere-actions`,children:[(0,If.jsx)(`button`,{type:`button`,className:`wd-btn-secondary`,onClick:b,disabled:ne,children:ne?`Checking…`:`Check again`}),!h.confirmed&&(0,If.jsx)(`button`,{type:`button`,className:`wd-link-button`,onClick:ie,children:`It's not running — start it here…`})]})]}),(0,If.jsxs)(`div`,{className:`wd-pty-frame`,style:h?{display:`none`}:void 0,children:[(0,If.jsx)(`div`,{ref:o,className:`wd-pty-host`}),x&&(0,If.jsx)(`span`,{className:`wd-pty-latency`+(x.slow?` wd-pty-latency-slow`:``),title:x.title,children:x.text}),d!==`ready`&&!h&&(0,If.jsx)(`div`,{className:`wd-pty-connecting`,role:`status`,children:d===`starting`?`Starting Claude — resuming the conversation…`:`Connecting…`})]})]})}function Vf(e,t){let n=t!==`webgl`;return e===null&&!n?null:{text:[e!==null&&`⌁ ${Math.round(e)} ms`,n&&`DOM`].filter(Boolean).join(` · `),title:[e!==null&&`A keystroke's way to the screen and back (browser → work web → PTY host → Claude): the median of the last 20.`,n&&`Drawn without the GPU, which is slower while Claude works.`,t===`retrying`&&`The GPU renderer was lost; it is tried again by itself.`,t===`dom`&&`WebGL is unavailable here, or kept getting lost; reloading the page tries it again.`].filter(Boolean).join(` `),slow:n||(e??0)>100}}export{Rf as ELSEWHERE_RECHECK_MS,Bf as PtyView,Lf as openLink};
|
|
90
|
-
//# sourceMappingURL=PtyView-
|
|
90
|
+
//# sourceMappingURL=PtyView-Eh_9_oeq.js.map
|