@moberg_hr/work-tree 2.5.1 → 2.5.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/dist/{add-repo-ABDXRREO.js → add-repo-HWMCMFGJ.js} +6 -6
- package/dist/{answer-IIFJ7HCK.js → answer-FSDWYBLR.js} +4 -4
- package/dist/{attach-G5GSPO2N.js → attach-T7AA6WAX.js} +6 -6
- package/dist/bin.js +2 -2
- package/dist/{block-I6J7M35E.js → block-OZRDJ3A6.js} +5 -5
- package/dist/{broadcast-IMVRPJYV.js → broadcast-C2YZ4ZKU.js} +2 -2
- package/dist/{catchup-RFCCKZJA.js → catchup-53TG4CEQ.js} +7 -7
- package/dist/{chunk-C224P3D3.js → chunk-24HYZTJV.js} +88 -5
- package/dist/chunk-24HYZTJV.js.map +1 -0
- package/dist/{chunk-UKKEP4SQ.js → chunk-25Y4QGBR.js} +8 -8
- package/dist/{chunk-2FZFE4LF.js → chunk-2UIND4T2.js} +34 -5
- package/dist/chunk-2UIND4T2.js.map +1 -0
- package/dist/{chunk-AQKB2NHY.js → chunk-43D2MJFF.js} +3 -3
- package/dist/{chunk-GD2APVSL.js → chunk-4L4DSECT.js} +2 -2
- package/dist/{chunk-O7B7AY4E.js → chunk-4NAQH5Y7.js} +3 -3
- package/dist/{chunk-WL56M7P3.js → chunk-5SDEJIX2.js} +2 -2
- package/dist/{chunk-6THPN6HD.js → chunk-632GRPPZ.js} +2 -2
- package/dist/{chunk-7LW4VIVW.js → chunk-A64PX3KG.js} +2 -2
- package/dist/{chunk-DK24BDE5.js → chunk-BF7GCHOR.js} +3 -3
- package/dist/{chunk-AP7DVLR7.js → chunk-BHQ4I4OC.js} +4 -4
- package/dist/{chunk-3XSMLS3U.js → chunk-BSST3WH4.js} +2 -2
- package/dist/{chunk-V654TVTR.js → chunk-CJT4I5L4.js} +47 -47
- package/dist/{chunk-5YR4JLHI.js → chunk-D27KRAYW.js} +3 -3
- package/dist/{chunk-WXTXARTF.js → chunk-EVMUXUOC.js} +2 -2
- package/dist/{chunk-QX4MJKHW.js → chunk-G3IDKLUT.js} +3 -3
- package/dist/{chunk-LENB3INO.js → chunk-GI32Q6NP.js} +2 -2
- package/dist/{chunk-62JFNWJO.js → chunk-J6EFEMWE.js} +3 -3
- package/dist/{chunk-5XARBHTZ.js → chunk-K7LJG7OZ.js} +3 -3
- package/dist/{chunk-JXJLU4BM.js → chunk-KCNOEXAQ.js} +2 -2
- package/dist/{chunk-PSDJJSEP.js → chunk-M536QKOX.js} +2 -2
- package/dist/{chunk-5LXZ6XDZ.js → chunk-N7HVMU2V.js} +3 -3
- package/dist/{chunk-EJ3OIGHN.js → chunk-PKUL7SCY.js} +5 -5
- package/dist/{chunk-SMSDA5MG.js → chunk-Q2QTHA54.js} +5 -5
- package/dist/{chunk-YNDRERWN.js → chunk-SJOZIX5I.js} +2 -2
- package/dist/{chunk-4RNDBBQQ.js → chunk-SOS7D7F6.js} +2 -2
- package/dist/{chunk-XP4Q6MEE.js → chunk-UNSDMOHY.js} +12 -5
- package/dist/chunk-UNSDMOHY.js.map +1 -0
- package/dist/chunk-UQVVDKBN.js +9 -0
- package/dist/{chunk-JWUZLG53.js → chunk-V5PBMTU3.js} +4 -4
- package/dist/{chunk-AS24L2DD.js → chunk-WATUEO7H.js} +10 -6
- package/dist/chunk-WATUEO7H.js.map +1 -0
- package/dist/{chunk-TS2QC2PB.js → chunk-WMEIUOPN.js} +2 -2
- package/dist/{chunk-I4GZY3DJ.js → chunk-ZO2JCDGT.js} +2 -2
- package/dist/{cleanup-BOBOH2XG.js → cleanup-GKKGP3U5.js} +13 -13
- package/dist/{cli-IBKC436O.js → cli-STUBHZRX.js} +3 -3
- package/dist/{config-ZOO2MPPY.js → config-BVIHSFYF.js} +3 -3
- package/dist/{diff-WMG5GQ46.js → diff-AFVD6WR3.js} +4 -4
- package/dist/{digest-E2LJN4SG.js → digest-HRRWNJTR.js} +4 -4
- package/dist/{fork-BE5VJHBL.js → fork-F5RRXKCA.js} +12 -12
- package/dist/{history-N4W3UAH3.js → history-HDWU3CW2.js} +2 -2
- package/dist/{hook-LKVA7KVD.js → hook-WMRFRQZG.js} +4 -4
- package/dist/{hydrate-WEMCIMUC.js → hydrate-V2T5SWFR.js} +2 -2
- package/dist/{init-66R2VBIQ.js → init-CZNNIVIO.js} +3 -3
- package/dist/{list-X2VLHUUB.js → list-GY4JJHOS.js} +2 -2
- package/dist/{move-AJRJOLKP.js → move-KYVWNLKP.js} +4 -4
- package/dist/{note-GHT64Y55.js → note-VU7E44FB.js} +4 -4
- package/dist/{overlaps-5N2J56SJ.js → overlaps-ZJBBDJSU.js} +4 -4
- package/dist/{pin-H7CBIDO3.js → pin-J4MPUKGY.js} +4 -4
- package/dist/{pr-IURQGBVB.js → pr-Y4PFJT55.js} +5 -5
- package/dist/pr-Y4PFJT55.js.map +1 -0
- package/dist/{prune-UKZKLXSO.js → prune-LKRNGOUS.js} +12 -12
- package/dist/{pty-host-HNCNBP5S.js → pty-host-T45N4MSW.js} +2 -2
- package/dist/{read-MNZ524CE.js → read-66WKTM7U.js} +4 -4
- package/dist/{recent-2FGSNBJZ.js → recent-TGPYAY7F.js} +2 -2
- package/dist/{remove-QKOVNBBC.js → remove-LHVAPOIE.js} +11 -11
- package/dist/{restart-PYKMWD5S.js → restart-GSX47NM7.js} +4 -4
- package/dist/{resume-GVWN35RW.js → resume-QAWLWAYN.js} +2 -2
- package/dist/{run-YSOH2VK5.js → run-7D3ZLDIN.js} +2 -2
- package/dist/{screen-LCQP4FAS.js → screen-5Q346GJT.js} +4 -4
- package/dist/{search-EQXCM3SE.js → search-SSUQKWBC.js} +2 -2
- package/dist/{section-FKNRQ6OB.js → section-R5JMKEBL.js} +4 -4
- package/dist/{send-NWPMDDUM.js → send-BCEJDM6P.js} +5 -5
- package/dist/{sessions-7RO63IRD.js → sessions-4KSO7G74.js} +9 -9
- package/dist/{snooze-2G5V6AKP.js → snooze-KORWOSM4.js} +4 -4
- package/dist/{start-BQQOHNLO.js → start-DYBIQOEE.js} +4 -4
- package/dist/{status-YDDVUQIQ.js → status-QLFZC2GG.js} +2 -2
- package/dist/{stop-H6UXMR7N.js → stop-EJX3MG7J.js} +4 -4
- package/dist/{sync-3OK2TBT7.js → sync-PMUKXPZ3.js} +12 -12
- package/dist/{time-65NYXE7O.js → time-2R4XS5E6.js} +5 -5
- package/dist/{timesheet-4ZBQQUXK.js → timesheet-FP54TJI5.js} +6 -6
- package/dist/{tree-GFYZIBHI.js → tree-5B6REQ56.js} +7 -7
- package/dist/{update-W3LXJMZ3.js → update-W6OVJBFF.js} +6 -6
- package/dist/{wait-IZBQ6S4U.js → wait-RC4N64TA.js} +5 -5
- package/dist/wd-bin.js +2 -2
- package/dist/web/assets/{PtyView-CG2_LfHf.js → PtyView-Dpl0gAY_.js} +2 -2
- package/dist/web/assets/{PtyView-CG2_LfHf.js.map → PtyView-Dpl0gAY_.js.map} +1 -1
- package/dist/web/assets/index-CrOWH9qL.css +1 -0
- package/dist/web/assets/index-o-4LSx5J.js +119 -0
- package/dist/web/assets/index-o-4LSx5J.js.map +1 -0
- package/dist/web/index.html +2 -2
- package/dist/{web-DXDWKE3D.js → web-SPDJQF2J.js} +80 -114
- package/dist/web-SPDJQF2J.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-2FZFE4LF.js.map +0 -1
- package/dist/chunk-AS24L2DD.js.map +0 -1
- package/dist/chunk-C224P3D3.js.map +0 -1
- package/dist/chunk-XP4Q6MEE.js.map +0 -1
- package/dist/chunk-Y5F5FBDZ.js +0 -9
- package/dist/pr-IURQGBVB.js.map +0 -1
- package/dist/web/assets/index-BvAMJJfp.js +0 -119
- package/dist/web/assets/index-BvAMJJfp.js.map +0 -1
- package/dist/web/assets/index-D8JDBGFK.css +0 -1
- package/dist/web-DXDWKE3D.js.map +0 -1
- /package/dist/{add-repo-ABDXRREO.js.map → add-repo-HWMCMFGJ.js.map} +0 -0
- /package/dist/{answer-IIFJ7HCK.js.map → answer-FSDWYBLR.js.map} +0 -0
- /package/dist/{attach-G5GSPO2N.js.map → attach-T7AA6WAX.js.map} +0 -0
- /package/dist/{block-I6J7M35E.js.map → block-OZRDJ3A6.js.map} +0 -0
- /package/dist/{broadcast-IMVRPJYV.js.map → broadcast-C2YZ4ZKU.js.map} +0 -0
- /package/dist/{catchup-RFCCKZJA.js.map → catchup-53TG4CEQ.js.map} +0 -0
- /package/dist/{chunk-UKKEP4SQ.js.map → chunk-25Y4QGBR.js.map} +0 -0
- /package/dist/{chunk-AQKB2NHY.js.map → chunk-43D2MJFF.js.map} +0 -0
- /package/dist/{chunk-GD2APVSL.js.map → chunk-4L4DSECT.js.map} +0 -0
- /package/dist/{chunk-O7B7AY4E.js.map → chunk-4NAQH5Y7.js.map} +0 -0
- /package/dist/{chunk-WL56M7P3.js.map → chunk-5SDEJIX2.js.map} +0 -0
- /package/dist/{chunk-6THPN6HD.js.map → chunk-632GRPPZ.js.map} +0 -0
- /package/dist/{chunk-7LW4VIVW.js.map → chunk-A64PX3KG.js.map} +0 -0
- /package/dist/{chunk-DK24BDE5.js.map → chunk-BF7GCHOR.js.map} +0 -0
- /package/dist/{chunk-AP7DVLR7.js.map → chunk-BHQ4I4OC.js.map} +0 -0
- /package/dist/{chunk-3XSMLS3U.js.map → chunk-BSST3WH4.js.map} +0 -0
- /package/dist/{chunk-V654TVTR.js.map → chunk-CJT4I5L4.js.map} +0 -0
- /package/dist/{chunk-5YR4JLHI.js.map → chunk-D27KRAYW.js.map} +0 -0
- /package/dist/{chunk-WXTXARTF.js.map → chunk-EVMUXUOC.js.map} +0 -0
- /package/dist/{chunk-QX4MJKHW.js.map → chunk-G3IDKLUT.js.map} +0 -0
- /package/dist/{chunk-LENB3INO.js.map → chunk-GI32Q6NP.js.map} +0 -0
- /package/dist/{chunk-62JFNWJO.js.map → chunk-J6EFEMWE.js.map} +0 -0
- /package/dist/{chunk-5XARBHTZ.js.map → chunk-K7LJG7OZ.js.map} +0 -0
- /package/dist/{chunk-JXJLU4BM.js.map → chunk-KCNOEXAQ.js.map} +0 -0
- /package/dist/{chunk-PSDJJSEP.js.map → chunk-M536QKOX.js.map} +0 -0
- /package/dist/{chunk-5LXZ6XDZ.js.map → chunk-N7HVMU2V.js.map} +0 -0
- /package/dist/{chunk-EJ3OIGHN.js.map → chunk-PKUL7SCY.js.map} +0 -0
- /package/dist/{chunk-SMSDA5MG.js.map → chunk-Q2QTHA54.js.map} +0 -0
- /package/dist/{chunk-YNDRERWN.js.map → chunk-SJOZIX5I.js.map} +0 -0
- /package/dist/{chunk-4RNDBBQQ.js.map → chunk-SOS7D7F6.js.map} +0 -0
- /package/dist/{chunk-Y5F5FBDZ.js.map → chunk-UQVVDKBN.js.map} +0 -0
- /package/dist/{chunk-JWUZLG53.js.map → chunk-V5PBMTU3.js.map} +0 -0
- /package/dist/{chunk-TS2QC2PB.js.map → chunk-WMEIUOPN.js.map} +0 -0
- /package/dist/{chunk-I4GZY3DJ.js.map → chunk-ZO2JCDGT.js.map} +0 -0
- /package/dist/{cleanup-BOBOH2XG.js.map → cleanup-GKKGP3U5.js.map} +0 -0
- /package/dist/{cli-IBKC436O.js.map → cli-STUBHZRX.js.map} +0 -0
- /package/dist/{config-ZOO2MPPY.js.map → config-BVIHSFYF.js.map} +0 -0
- /package/dist/{diff-WMG5GQ46.js.map → diff-AFVD6WR3.js.map} +0 -0
- /package/dist/{digest-E2LJN4SG.js.map → digest-HRRWNJTR.js.map} +0 -0
- /package/dist/{fork-BE5VJHBL.js.map → fork-F5RRXKCA.js.map} +0 -0
- /package/dist/{history-N4W3UAH3.js.map → history-HDWU3CW2.js.map} +0 -0
- /package/dist/{hook-LKVA7KVD.js.map → hook-WMRFRQZG.js.map} +0 -0
- /package/dist/{hydrate-WEMCIMUC.js.map → hydrate-V2T5SWFR.js.map} +0 -0
- /package/dist/{init-66R2VBIQ.js.map → init-CZNNIVIO.js.map} +0 -0
- /package/dist/{list-X2VLHUUB.js.map → list-GY4JJHOS.js.map} +0 -0
- /package/dist/{move-AJRJOLKP.js.map → move-KYVWNLKP.js.map} +0 -0
- /package/dist/{note-GHT64Y55.js.map → note-VU7E44FB.js.map} +0 -0
- /package/dist/{overlaps-5N2J56SJ.js.map → overlaps-ZJBBDJSU.js.map} +0 -0
- /package/dist/{pin-H7CBIDO3.js.map → pin-J4MPUKGY.js.map} +0 -0
- /package/dist/{prune-UKZKLXSO.js.map → prune-LKRNGOUS.js.map} +0 -0
- /package/dist/{pty-host-HNCNBP5S.js.map → pty-host-T45N4MSW.js.map} +0 -0
- /package/dist/{read-MNZ524CE.js.map → read-66WKTM7U.js.map} +0 -0
- /package/dist/{recent-2FGSNBJZ.js.map → recent-TGPYAY7F.js.map} +0 -0
- /package/dist/{remove-QKOVNBBC.js.map → remove-LHVAPOIE.js.map} +0 -0
- /package/dist/{restart-PYKMWD5S.js.map → restart-GSX47NM7.js.map} +0 -0
- /package/dist/{resume-GVWN35RW.js.map → resume-QAWLWAYN.js.map} +0 -0
- /package/dist/{run-YSOH2VK5.js.map → run-7D3ZLDIN.js.map} +0 -0
- /package/dist/{screen-LCQP4FAS.js.map → screen-5Q346GJT.js.map} +0 -0
- /package/dist/{search-EQXCM3SE.js.map → search-SSUQKWBC.js.map} +0 -0
- /package/dist/{section-FKNRQ6OB.js.map → section-R5JMKEBL.js.map} +0 -0
- /package/dist/{send-NWPMDDUM.js.map → send-BCEJDM6P.js.map} +0 -0
- /package/dist/{sessions-7RO63IRD.js.map → sessions-4KSO7G74.js.map} +0 -0
- /package/dist/{snooze-2G5V6AKP.js.map → snooze-KORWOSM4.js.map} +0 -0
- /package/dist/{start-BQQOHNLO.js.map → start-DYBIQOEE.js.map} +0 -0
- /package/dist/{status-YDDVUQIQ.js.map → status-QLFZC2GG.js.map} +0 -0
- /package/dist/{stop-H6UXMR7N.js.map → stop-EJX3MG7J.js.map} +0 -0
- /package/dist/{sync-3OK2TBT7.js.map → sync-PMUKXPZ3.js.map} +0 -0
- /package/dist/{time-65NYXE7O.js.map → time-2R4XS5E6.js.map} +0 -0
- /package/dist/{timesheet-4ZBQQUXK.js.map → timesheet-FP54TJI5.js.map} +0 -0
- /package/dist/{tree-GFYZIBHI.js.map → tree-5B6REQ56.js.map} +0 -0
- /package/dist/{update-W3LXJMZ3.js.map → update-W6OVJBFF.js.map} +0 -0
- /package/dist/{wait-IZBQ6S4U.js.map → wait-RC4N64TA.js.map} +0 -0
|
@@ -5,35 +5,35 @@ import {
|
|
|
5
5
|
} from "./chunk-ABQYKTG4.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultCleanupDeps
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-PKUL7SCY.js";
|
|
9
|
+
import "./chunk-25Y4QGBR.js";
|
|
10
10
|
import {
|
|
11
11
|
applyCleanup,
|
|
12
12
|
scanCleanup
|
|
13
13
|
} from "./chunk-AKMPF72Y.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-24HYZTJV.js";
|
|
15
15
|
import "./chunk-NZ7HCBSL.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-4NAQH5Y7.js";
|
|
17
17
|
import "./chunk-J5J4RR25.js";
|
|
18
18
|
import "./chunk-NWUNF4YG.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-632GRPPZ.js";
|
|
20
20
|
import "./chunk-VGQV4LX7.js";
|
|
21
21
|
import "./chunk-KUCMJHQW.js";
|
|
22
22
|
import "./chunk-PSUJZUYX.js";
|
|
23
23
|
import "./chunk-5WM24P5N.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-ZO2JCDGT.js";
|
|
25
25
|
import "./chunk-3GIH4WTA.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-N7HVMU2V.js";
|
|
27
|
+
import "./chunk-5SDEJIX2.js";
|
|
28
28
|
import "./chunk-LNHSBM4L.js";
|
|
29
29
|
import "./chunk-R2SR3PER.js";
|
|
30
30
|
import "./chunk-AKGDIBSE.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-WATUEO7H.js";
|
|
32
|
+
import "./chunk-M536QKOX.js";
|
|
33
33
|
import "./chunk-XZ5DA5X4.js";
|
|
34
34
|
import "./chunk-ZSHWP2VS.js";
|
|
35
35
|
import "./chunk-HUXS3VAI.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-2UIND4T2.js";
|
|
37
37
|
import "./chunk-JG3J5TLB.js";
|
|
38
38
|
import "./chunk-RCYI7SRA.js";
|
|
39
39
|
import "./chunk-NEJVK5CF.js";
|
|
@@ -99,4 +99,4 @@ var syncCommand = {
|
|
|
99
99
|
export {
|
|
100
100
|
syncCommand
|
|
101
101
|
};
|
|
102
|
-
//# sourceMappingURL=sync-
|
|
102
|
+
//# sourceMappingURL=sync-PMUKXPZ3.js.map
|
|
@@ -7,19 +7,19 @@ import {
|
|
|
7
7
|
} from "./chunk-6SJOM62D.js";
|
|
8
8
|
import {
|
|
9
9
|
sessionWorkTime
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KCNOEXAQ.js";
|
|
11
11
|
import {
|
|
12
12
|
sessionFromArgs,
|
|
13
13
|
sessionPositionals
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-K7LJG7OZ.js";
|
|
15
15
|
import "./chunk-6AQRYLOB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-M536QKOX.js";
|
|
17
17
|
import "./chunk-XZ5DA5X4.js";
|
|
18
18
|
import "./chunk-ZSHWP2VS.js";
|
|
19
19
|
import "./chunk-HUXS3VAI.js";
|
|
20
20
|
import {
|
|
21
21
|
loadHistory
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2UIND4T2.js";
|
|
23
23
|
import "./chunk-JG3J5TLB.js";
|
|
24
24
|
import "./chunk-RCYI7SRA.js";
|
|
25
25
|
import {
|
|
@@ -112,4 +112,4 @@ var timeCommand = {
|
|
|
112
112
|
export {
|
|
113
113
|
timeCommand
|
|
114
114
|
};
|
|
115
|
-
//# sourceMappingURL=time-
|
|
115
|
+
//# sourceMappingURL=time-2R4XS5E6.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
defaultTimeDeps
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-V5PBMTU3.js";
|
|
5
|
+
import "./chunk-KCNOEXAQ.js";
|
|
6
|
+
import "./chunk-N7HVMU2V.js";
|
|
7
|
+
import "./chunk-5SDEJIX2.js";
|
|
8
8
|
import "./chunk-AKGDIBSE.js";
|
|
9
9
|
import {
|
|
10
10
|
buildDay,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
callWorkWeb
|
|
22
22
|
} from "./chunk-KGZRNWEN.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-2UIND4T2.js";
|
|
24
24
|
import "./chunk-JG3J5TLB.js";
|
|
25
25
|
import "./chunk-RCYI7SRA.js";
|
|
26
26
|
import "./chunk-NEJVK5CF.js";
|
|
@@ -144,4 +144,4 @@ var timesheetCommand = {
|
|
|
144
144
|
export {
|
|
145
145
|
timesheetCommand
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=timesheet-
|
|
147
|
+
//# sourceMappingURL=timesheet-FP54TJI5.js.map
|
|
@@ -13,12 +13,12 @@ import "./chunk-HMK3INUS.js";
|
|
|
13
13
|
import "./chunk-NZ7HCBSL.js";
|
|
14
14
|
import {
|
|
15
15
|
attachSession
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SOS7D7F6.js";
|
|
17
17
|
import {
|
|
18
18
|
SETUP_WARNINGS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D27KRAYW.js";
|
|
20
20
|
import "./chunk-AH5TM3NB.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-4NAQH5Y7.js";
|
|
22
22
|
import "./chunk-J5J4RR25.js";
|
|
23
23
|
import "./chunk-NWUNF4YG.js";
|
|
24
24
|
import {
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
openBaseCheckout,
|
|
28
28
|
parseBaseSpec,
|
|
29
29
|
setupWorktree
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-632GRPPZ.js";
|
|
31
31
|
import "./chunk-VGQV4LX7.js";
|
|
32
32
|
import "./chunk-KUCMJHQW.js";
|
|
33
33
|
import "./chunk-PSUJZUYX.js";
|
|
@@ -40,12 +40,12 @@ import {
|
|
|
40
40
|
resolveProjectTarget
|
|
41
41
|
} from "./chunk-R2SR3PER.js";
|
|
42
42
|
import "./chunk-AKGDIBSE.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-WATUEO7H.js";
|
|
44
44
|
import {
|
|
45
45
|
findSession,
|
|
46
46
|
loadHistory,
|
|
47
47
|
recordLaunch
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-2UIND4T2.js";
|
|
49
49
|
import {
|
|
50
50
|
agentFor
|
|
51
51
|
} from "./chunk-JG3J5TLB.js";
|
|
@@ -290,4 +290,4 @@ var treeCommand = {
|
|
|
290
290
|
export {
|
|
291
291
|
treeCommand
|
|
292
292
|
};
|
|
293
|
-
//# sourceMappingURL=tree-
|
|
293
|
+
//# sourceMappingURL=tree-5B6REQ56.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
updateSession
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-G3IDKLUT.js";
|
|
5
|
+
import "./chunk-ZO2JCDGT.js";
|
|
6
6
|
import "./chunk-3GIH4WTA.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionFromArgs,
|
|
9
9
|
sessionPositionals
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K7LJG7OZ.js";
|
|
11
11
|
import "./chunk-6AQRYLOB.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-M536QKOX.js";
|
|
13
13
|
import "./chunk-XZ5DA5X4.js";
|
|
14
14
|
import "./chunk-ZSHWP2VS.js";
|
|
15
15
|
import "./chunk-HUXS3VAI.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-2UIND4T2.js";
|
|
17
17
|
import "./chunk-JG3J5TLB.js";
|
|
18
18
|
import "./chunk-RCYI7SRA.js";
|
|
19
19
|
import "./chunk-NEJVK5CF.js";
|
|
@@ -55,4 +55,4 @@ var updateCommand = {
|
|
|
55
55
|
export {
|
|
56
56
|
updateCommand
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=update-
|
|
58
|
+
//# sourceMappingURL=update-W6OVJBFF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
cliWaitDeps
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SJOZIX5I.js";
|
|
5
5
|
import {
|
|
6
6
|
parseDuration,
|
|
7
7
|
waitForTurn
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
sessionFromArgs,
|
|
11
11
|
sessionPositionals
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K7LJG7OZ.js";
|
|
13
13
|
import "./chunk-6AQRYLOB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-M536QKOX.js";
|
|
15
15
|
import "./chunk-XZ5DA5X4.js";
|
|
16
16
|
import "./chunk-ZSHWP2VS.js";
|
|
17
17
|
import "./chunk-HUXS3VAI.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-2UIND4T2.js";
|
|
19
19
|
import "./chunk-JG3J5TLB.js";
|
|
20
20
|
import "./chunk-RCYI7SRA.js";
|
|
21
21
|
import "./chunk-NEJVK5CF.js";
|
|
@@ -55,4 +55,4 @@ var waitCommand = {
|
|
|
55
55
|
export {
|
|
56
56
|
waitCommand
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=wait-
|
|
58
|
+
//# sourceMappingURL=wait-RC4N64TA.js.map
|
package/dist/wd-bin.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-S5HJT7CM.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-CJT4I5L4.js";
|
|
8
|
+
import "./chunk-UQVVDKBN.js";
|
|
9
9
|
import "./chunk-R2SR3PER.js";
|
|
10
10
|
import "./chunk-AKGDIBSE.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-BvAMJJfp.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-o-4LSx5J.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-Dpl0gAY_.js.map
|