@moberg_hr/work-tree 2.1.0 → 2.2.1
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/README.md +232 -378
- package/dist/{answer-EGNJ2KYK.js → answer-OF2QNF4A.js} +6 -6
- package/dist/{attach-64ILZMTD.js → attach-PAFAZ2EH.js} +9 -9
- package/dist/bin.js +2 -2
- package/dist/{block-H74FYSLK.js → block-3LEG4LKJ.js} +6 -6
- package/dist/{broadcast-WRHZWOQN.js → broadcast-ZDIL7UBP.js} +3 -3
- package/dist/{catchup-7QBOC5JJ.js → catchup-ZZ5HZJIT.js} +8 -8
- package/dist/{chunk-E35NZVPX.js → chunk-2GX3IOSV.js} +15 -2
- package/dist/chunk-2GX3IOSV.js.map +1 -0
- package/dist/{chunk-A3M5WTVC.js → chunk-3GAYLP7W.js} +4 -4
- package/dist/{chunk-MXIFBNCV.js → chunk-453EGT2R.js} +11 -7
- package/dist/chunk-453EGT2R.js.map +1 -0
- package/dist/{chunk-NPVMYGT7.js → chunk-46VAWZZX.js} +2 -2
- package/dist/{chunk-3D7MELCW.js → chunk-4CVUV2SE.js} +2 -2
- package/dist/{chunk-3NPEMTQT.js → chunk-62C3CJ5M.js} +2 -2
- package/dist/chunk-6MLU6MNS.js +9 -0
- package/dist/{chunk-YEEDWV4H.js → chunk-77SVSNME.js} +4 -4
- package/dist/{chunk-723C3D5X.js → chunk-C7OK4XEZ.js} +58 -9
- package/dist/chunk-C7OK4XEZ.js.map +1 -0
- package/dist/{chunk-ATBH7QW3.js → chunk-DLSAAP3S.js} +2 -2
- package/dist/{chunk-SSVVCHJB.js → chunk-EDAOG56H.js} +3 -3
- package/dist/{chunk-2LIVAJLK.js → chunk-EXJYPF64.js} +3 -3
- package/dist/{chunk-37I2GFXK.js → chunk-INVFNKU7.js} +4 -4
- package/dist/{chunk-DXHZWRVE.js → chunk-ISZM5C22.js} +15 -9
- package/dist/chunk-ISZM5C22.js.map +1 -0
- package/dist/{chunk-S45H7N6X.js → chunk-KSVZVHTI.js} +6 -6
- package/dist/{chunk-S45H7N6X.js.map → chunk-KSVZVHTI.js.map} +1 -1
- package/dist/{chunk-RQE5UOIW.js → chunk-KTFDSJUD.js} +16 -1
- package/dist/chunk-KTFDSJUD.js.map +1 -0
- package/dist/{chunk-ONEXQW7Q.js → chunk-KWU35O5S.js} +3 -3
- package/dist/{chunk-U4UB4LG6.js → chunk-LBQR7KTC.js} +2 -2
- package/dist/{chunk-DXAIGNWF.js → chunk-LGDECE7V.js} +3 -3
- package/dist/{chunk-2QZ3RZOY.js → chunk-M4YXBQZN.js} +5 -5
- package/dist/{chunk-OOCMPS5L.js → chunk-MRXD2NSO.js} +2 -2
- package/dist/{chunk-6OG3W3PY.js → chunk-NBI2INQS.js} +3 -3
- package/dist/{chunk-MLTMXVLD.js → chunk-OE34YZFO.js} +2 -2
- package/dist/{chunk-POTGMLPV.js → chunk-OIQY4OKO.js} +2 -2
- package/dist/{chunk-OND6YRWZ.js → chunk-R4M5DDSN.js} +4 -4
- package/dist/{chunk-QXDBVVSC.js → chunk-RK6NHIL6.js} +2 -2
- package/dist/chunk-TN2TXRHS.js +249 -0
- package/dist/chunk-TN2TXRHS.js.map +1 -0
- package/dist/{chunk-4Y35ABCO.js → chunk-TROTIHD5.js} +3 -3
- package/dist/{chunk-XILMZRNS.js → chunk-U4YUMSJY.js} +3 -3
- package/dist/{chunk-KFSLF65S.js → chunk-U5V5J237.js} +6 -6
- package/dist/{chunk-LCSWFGIM.js → chunk-UDOXLAE7.js} +2 -2
- package/dist/{chunk-MI3PS2SH.js → chunk-UOSZFFNY.js} +2 -2
- package/dist/{chunk-6DWPIK7D.js → chunk-X6VBITXV.js} +4 -4
- package/dist/{chunk-PYOSW6X5.js → chunk-XIL4QZFW.js} +3 -3
- package/dist/{chunk-HY566NNR.js → chunk-XLP24AH5.js} +45 -45
- package/dist/{chunk-QX4LFFNS.js → chunk-ZR2KWY6V.js} +2 -2
- package/dist/{chunk-4MXWNDH7.js → chunk-ZVJEWMJN.js} +39 -1
- package/dist/chunk-ZVJEWMJN.js.map +1 -0
- package/dist/{cleanup-YSVZAGJF.js → cleanup-W5RGZ3Q6.js} +17 -15
- package/dist/{cleanup-YSVZAGJF.js.map → cleanup-W5RGZ3Q6.js.map} +1 -1
- package/dist/{cli-XT4AS3M2.js → cli-3BI62MNT.js} +3 -3
- package/dist/{config-GQRUETZ6.js → config-MR7UZCST.js} +4 -4
- package/dist/{diff-L3TWGBA4.js → diff-URDY6YMT.js} +7 -7
- package/dist/{digest-R52JZ3AK.js → digest-D4FEZNLU.js} +6 -6
- package/dist/{fork-MCPMOGS5.js → fork-7EUVNEB7.js} +15 -15
- package/dist/{hook-S64C4G2C.js → hook-6AD3FRKZ.js} +6 -6
- package/dist/{hydrate-G5AMKHRD.js → hydrate-ZJZPM6YW.js} +3 -3
- package/dist/{init-PCZCSRZI.js → init-LWL4WVSJ.js} +4 -4
- package/dist/{install-skills-Z76FLXOU.js → install-skills-TQVWZDUD.js} +3 -3
- package/dist/install-skills-bin.js +2 -2
- package/dist/{move-MMGOA7MV.js → move-URV7XIDT.js} +7 -7
- package/dist/{note-WVKK65IH.js → note-S6EGTEIL.js} +5 -5
- package/dist/{overlaps-REVVBZCX.js → overlaps-4T7NLTJH.js} +5 -5
- package/dist/{pin-NRSD2ZT7.js → pin-KKQZ3AR6.js} +5 -5
- package/dist/{pr-JYOI7LCK.js → pr-5ZILTVDM.js} +5 -5
- package/dist/{prune-AGZ24MPD.js → prune-OK23KLHG.js} +16 -14
- package/dist/{prune-AGZ24MPD.js.map → prune-OK23KLHG.js.map} +1 -1
- package/dist/{pty-host-AZ2ORVV2.js → pty-host-I5OJGWYA.js} +5 -5
- package/dist/{read-A7LFAPPZ.js → read-NHK26F22.js} +5 -5
- package/dist/{recent-H2LD5JOK.js → recent-DNSOJQVQ.js} +4 -4
- package/dist/{remove-3HQTJQWN.js → remove-TZQVN2EG.js} +15 -13
- package/dist/{remove-3HQTJQWN.js.map → remove-TZQVN2EG.js.map} +1 -1
- package/dist/{restart-BTUO4DTI.js → restart-WHJDPDQA.js} +6 -6
- package/dist/{resume-I7GXT2II.js → resume-BXIYEZM3.js} +4 -4
- package/dist/{run-TE2AFYA6.js → run-4MQLY3XF.js} +3 -3
- package/dist/{screen-XZPDSK65.js → screen-URKN7PU6.js} +6 -6
- package/dist/{search-MGTME3CE.js → search-MNBYJEL7.js} +3 -3
- package/dist/{section-YVBDU5MO.js → section-B3OQFADP.js} +5 -5
- package/dist/{send-WKIX3AT5.js → send-2QTMQQ6E.js} +7 -7
- package/dist/{sessions-2OWYXO55.js → sessions-4B22O45G.js} +12 -12
- package/dist/{snooze-WKY2T4VZ.js → snooze-LSCCM3QT.js} +5 -5
- package/dist/{start-ZCQT7G4C.js → start-KVNLZRF5.js} +6 -6
- package/dist/{status-INIBC7GA.js → status-UEMXFLZZ.js} +3 -3
- package/dist/{stop-H4PTRFNX.js → stop-NEQBEYEY.js} +6 -6
- package/dist/{sync-6SHCY6LZ.js → sync-BHEY6RXE.js} +16 -14
- package/dist/{sync-6SHCY6LZ.js.map → sync-BHEY6RXE.js.map} +1 -1
- package/dist/{time-XQ2R7Z33.js → time-ON27QFG4.js} +6 -6
- package/dist/{timesheet-DX2TLHIB.js → timesheet-HK5CHAA7.js} +8 -8
- package/dist/{tree-5AAHU4K5.js → tree-C5BEEKLO.js} +18 -11
- package/dist/tree-C5BEEKLO.js.map +1 -0
- package/dist/{update-6G2E5QXG.js → update-M4KS23HB.js} +7 -7
- package/dist/{wait-LFFXWBY7.js → wait-5QVWSCOL.js} +6 -6
- package/dist/wd-bin.js +2 -2
- package/dist/web/assets/{PtyView-l4za-VIj.js → PtyView-DIEUYCTu.js} +2 -2
- package/dist/web/assets/{PtyView-l4za-VIj.js.map → PtyView-DIEUYCTu.js.map} +1 -1
- package/dist/web/assets/index-Bi1IRGtb.js +119 -0
- package/dist/web/assets/index-Bi1IRGtb.js.map +1 -0
- package/dist/web/assets/index-YbJdcXjZ.css +1 -0
- package/dist/web/index.html +2 -2
- package/dist/{web-MWSFIUIJ.js → web-CT3EZNBL.js} +746 -147
- package/dist/web-CT3EZNBL.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-4MXWNDH7.js.map +0 -1
- package/dist/chunk-723C3D5X.js.map +0 -1
- package/dist/chunk-DXHZWRVE.js.map +0 -1
- package/dist/chunk-E35NZVPX.js.map +0 -1
- package/dist/chunk-MXIFBNCV.js.map +0 -1
- package/dist/chunk-RQE5UOIW.js.map +0 -1
- package/dist/chunk-UIZEMKED.js +0 -9
- package/dist/tree-5AAHU4K5.js.map +0 -1
- package/dist/web/assets/index-B4wFhe7U.css +0 -1
- package/dist/web/assets/index-DaCK_AAw.js +0 -118
- package/dist/web/assets/index-DaCK_AAw.js.map +0 -1
- package/dist/web-MWSFIUIJ.js.map +0 -1
- /package/dist/{answer-EGNJ2KYK.js.map → answer-OF2QNF4A.js.map} +0 -0
- /package/dist/{attach-64ILZMTD.js.map → attach-PAFAZ2EH.js.map} +0 -0
- /package/dist/{block-H74FYSLK.js.map → block-3LEG4LKJ.js.map} +0 -0
- /package/dist/{broadcast-WRHZWOQN.js.map → broadcast-ZDIL7UBP.js.map} +0 -0
- /package/dist/{catchup-7QBOC5JJ.js.map → catchup-ZZ5HZJIT.js.map} +0 -0
- /package/dist/{chunk-A3M5WTVC.js.map → chunk-3GAYLP7W.js.map} +0 -0
- /package/dist/{chunk-NPVMYGT7.js.map → chunk-46VAWZZX.js.map} +0 -0
- /package/dist/{chunk-3D7MELCW.js.map → chunk-4CVUV2SE.js.map} +0 -0
- /package/dist/{chunk-3NPEMTQT.js.map → chunk-62C3CJ5M.js.map} +0 -0
- /package/dist/{chunk-UIZEMKED.js.map → chunk-6MLU6MNS.js.map} +0 -0
- /package/dist/{chunk-YEEDWV4H.js.map → chunk-77SVSNME.js.map} +0 -0
- /package/dist/{chunk-ATBH7QW3.js.map → chunk-DLSAAP3S.js.map} +0 -0
- /package/dist/{chunk-SSVVCHJB.js.map → chunk-EDAOG56H.js.map} +0 -0
- /package/dist/{chunk-2LIVAJLK.js.map → chunk-EXJYPF64.js.map} +0 -0
- /package/dist/{chunk-37I2GFXK.js.map → chunk-INVFNKU7.js.map} +0 -0
- /package/dist/{chunk-ONEXQW7Q.js.map → chunk-KWU35O5S.js.map} +0 -0
- /package/dist/{chunk-U4UB4LG6.js.map → chunk-LBQR7KTC.js.map} +0 -0
- /package/dist/{chunk-DXAIGNWF.js.map → chunk-LGDECE7V.js.map} +0 -0
- /package/dist/{chunk-2QZ3RZOY.js.map → chunk-M4YXBQZN.js.map} +0 -0
- /package/dist/{chunk-OOCMPS5L.js.map → chunk-MRXD2NSO.js.map} +0 -0
- /package/dist/{chunk-6OG3W3PY.js.map → chunk-NBI2INQS.js.map} +0 -0
- /package/dist/{chunk-MLTMXVLD.js.map → chunk-OE34YZFO.js.map} +0 -0
- /package/dist/{chunk-POTGMLPV.js.map → chunk-OIQY4OKO.js.map} +0 -0
- /package/dist/{chunk-OND6YRWZ.js.map → chunk-R4M5DDSN.js.map} +0 -0
- /package/dist/{chunk-QXDBVVSC.js.map → chunk-RK6NHIL6.js.map} +0 -0
- /package/dist/{chunk-4Y35ABCO.js.map → chunk-TROTIHD5.js.map} +0 -0
- /package/dist/{chunk-XILMZRNS.js.map → chunk-U4YUMSJY.js.map} +0 -0
- /package/dist/{chunk-KFSLF65S.js.map → chunk-U5V5J237.js.map} +0 -0
- /package/dist/{chunk-LCSWFGIM.js.map → chunk-UDOXLAE7.js.map} +0 -0
- /package/dist/{chunk-MI3PS2SH.js.map → chunk-UOSZFFNY.js.map} +0 -0
- /package/dist/{chunk-6DWPIK7D.js.map → chunk-X6VBITXV.js.map} +0 -0
- /package/dist/{chunk-PYOSW6X5.js.map → chunk-XIL4QZFW.js.map} +0 -0
- /package/dist/{chunk-HY566NNR.js.map → chunk-XLP24AH5.js.map} +0 -0
- /package/dist/{chunk-QX4LFFNS.js.map → chunk-ZR2KWY6V.js.map} +0 -0
- /package/dist/{cli-XT4AS3M2.js.map → cli-3BI62MNT.js.map} +0 -0
- /package/dist/{config-GQRUETZ6.js.map → config-MR7UZCST.js.map} +0 -0
- /package/dist/{diff-L3TWGBA4.js.map → diff-URDY6YMT.js.map} +0 -0
- /package/dist/{digest-R52JZ3AK.js.map → digest-D4FEZNLU.js.map} +0 -0
- /package/dist/{fork-MCPMOGS5.js.map → fork-7EUVNEB7.js.map} +0 -0
- /package/dist/{hook-S64C4G2C.js.map → hook-6AD3FRKZ.js.map} +0 -0
- /package/dist/{hydrate-G5AMKHRD.js.map → hydrate-ZJZPM6YW.js.map} +0 -0
- /package/dist/{init-PCZCSRZI.js.map → init-LWL4WVSJ.js.map} +0 -0
- /package/dist/{install-skills-Z76FLXOU.js.map → install-skills-TQVWZDUD.js.map} +0 -0
- /package/dist/{move-MMGOA7MV.js.map → move-URV7XIDT.js.map} +0 -0
- /package/dist/{note-WVKK65IH.js.map → note-S6EGTEIL.js.map} +0 -0
- /package/dist/{overlaps-REVVBZCX.js.map → overlaps-4T7NLTJH.js.map} +0 -0
- /package/dist/{pin-NRSD2ZT7.js.map → pin-KKQZ3AR6.js.map} +0 -0
- /package/dist/{pr-JYOI7LCK.js.map → pr-5ZILTVDM.js.map} +0 -0
- /package/dist/{pty-host-AZ2ORVV2.js.map → pty-host-I5OJGWYA.js.map} +0 -0
- /package/dist/{read-A7LFAPPZ.js.map → read-NHK26F22.js.map} +0 -0
- /package/dist/{recent-H2LD5JOK.js.map → recent-DNSOJQVQ.js.map} +0 -0
- /package/dist/{restart-BTUO4DTI.js.map → restart-WHJDPDQA.js.map} +0 -0
- /package/dist/{resume-I7GXT2II.js.map → resume-BXIYEZM3.js.map} +0 -0
- /package/dist/{run-TE2AFYA6.js.map → run-4MQLY3XF.js.map} +0 -0
- /package/dist/{screen-XZPDSK65.js.map → screen-URKN7PU6.js.map} +0 -0
- /package/dist/{search-MGTME3CE.js.map → search-MNBYJEL7.js.map} +0 -0
- /package/dist/{section-YVBDU5MO.js.map → section-B3OQFADP.js.map} +0 -0
- /package/dist/{send-WKIX3AT5.js.map → send-2QTMQQ6E.js.map} +0 -0
- /package/dist/{sessions-2OWYXO55.js.map → sessions-4B22O45G.js.map} +0 -0
- /package/dist/{snooze-WKY2T4VZ.js.map → snooze-LSCCM3QT.js.map} +0 -0
- /package/dist/{start-ZCQT7G4C.js.map → start-KVNLZRF5.js.map} +0 -0
- /package/dist/{status-INIBC7GA.js.map → status-UEMXFLZZ.js.map} +0 -0
- /package/dist/{stop-H4PTRFNX.js.map → stop-NEQBEYEY.js.map} +0 -0
- /package/dist/{time-XQ2R7Z33.js.map → time-ON27QFG4.js.map} +0 -0
- /package/dist/{timesheet-DX2TLHIB.js.map → timesheet-HK5CHAA7.js.map} +0 -0
- /package/dist/{update-6G2E5QXG.js.map → update-M4KS23HB.js.map} +0 -0
- /package/dist/{wait-LFFXWBY7.js.map → wait-5QVWSCOL.js.map} +0 -0
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-RKEY4573.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeHydratedSessions
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
8
|
+
import "./chunk-KTFDSJUD.js";
|
|
9
9
|
import "./chunk-RCYI7SRA.js";
|
|
10
10
|
import "./chunk-NEJVK5CF.js";
|
|
11
11
|
import "./chunk-RT4QZRTC.js";
|
|
@@ -119,4 +119,4 @@ var hydrateCommand = {
|
|
|
119
119
|
export {
|
|
120
120
|
hydrateCommand
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=hydrate-
|
|
122
|
+
//# sourceMappingURL=hydrate-ZJZPM6YW.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_COPY_FILES,
|
|
9
9
|
suggestFolders
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-46VAWZZX.js";
|
|
11
11
|
import {
|
|
12
12
|
enrollProblem,
|
|
13
13
|
scanForRepos,
|
|
@@ -18,10 +18,10 @@ import "./chunk-4KZBZA5D.js";
|
|
|
18
18
|
import {
|
|
19
19
|
isGitRepo
|
|
20
20
|
} from "./chunk-RKEY4573.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-C7OK4XEZ.js";
|
|
22
22
|
import {
|
|
23
23
|
KNOWN_TOOLS
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KTFDSJUD.js";
|
|
25
25
|
import "./chunk-RCYI7SRA.js";
|
|
26
26
|
import "./chunk-NEJVK5CF.js";
|
|
27
27
|
import "./chunk-RT4QZRTC.js";
|
|
@@ -185,4 +185,4 @@ var initCommand = {
|
|
|
185
185
|
export {
|
|
186
186
|
initCommand
|
|
187
187
|
};
|
|
188
|
-
//# sourceMappingURL=init-
|
|
188
|
+
//# sourceMappingURL=init-LWL4WVSJ.js.map
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
installSkillsCommand,
|
|
4
4
|
runInstallSkills
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MRXD2NSO.js";
|
|
6
6
|
import "./chunk-LNHSBM4L.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-KTFDSJUD.js";
|
|
8
8
|
import "./chunk-RCYI7SRA.js";
|
|
9
9
|
import "./chunk-QXUHOISF.js";
|
|
10
10
|
export {
|
|
11
11
|
installSkillsCommand,
|
|
12
12
|
runInstallSkills
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=install-skills-
|
|
14
|
+
//# sourceMappingURL=install-skills-TQVWZDUD.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runInstallSkills
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MRXD2NSO.js";
|
|
5
5
|
import "./chunk-LNHSBM4L.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-KTFDSJUD.js";
|
|
7
7
|
import "./chunk-RCYI7SRA.js";
|
|
8
8
|
import "./chunk-QXUHOISF.js";
|
|
9
9
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createInProcess
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-XIL4QZFW.js";
|
|
5
|
+
import "./chunk-NBI2INQS.js";
|
|
6
6
|
import "./chunk-L6RUHCKB.js";
|
|
7
7
|
import {
|
|
8
8
|
findHost
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UOSZFFNY.js";
|
|
10
10
|
import "./chunk-JTHILJFB.js";
|
|
11
11
|
import {
|
|
12
12
|
readWebUrl,
|
|
13
13
|
webServerResponds
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZR2KWY6V.js";
|
|
15
15
|
import {
|
|
16
16
|
originUrl,
|
|
17
17
|
readGitConfig
|
|
@@ -24,10 +24,10 @@ import "./chunk-RKEY4573.js";
|
|
|
24
24
|
import {
|
|
25
25
|
loadHistory,
|
|
26
26
|
saveHistory
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
28
28
|
import {
|
|
29
29
|
agentOf
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KTFDSJUD.js";
|
|
31
31
|
import "./chunk-RCYI7SRA.js";
|
|
32
32
|
import "./chunk-NEJVK5CF.js";
|
|
33
33
|
import {
|
|
@@ -310,4 +310,4 @@ var moveCommand = {
|
|
|
310
310
|
export {
|
|
311
311
|
moveCommand
|
|
312
312
|
};
|
|
313
|
-
//# sourceMappingURL=move-
|
|
313
|
+
//# sourceMappingURL=move-URV7XIDT.js.map
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
sessionFromArgs,
|
|
10
10
|
sessionPositionals
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EXJYPF64.js";
|
|
12
12
|
import "./chunk-6AQRYLOB.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-UDOXLAE7.js";
|
|
14
14
|
import "./chunk-ZSHWP2VS.js";
|
|
15
15
|
import "./chunk-E3Y4ZACK.js";
|
|
16
16
|
import "./chunk-HUXS3VAI.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-C7OK4XEZ.js";
|
|
18
|
+
import "./chunk-KTFDSJUD.js";
|
|
19
19
|
import "./chunk-RCYI7SRA.js";
|
|
20
20
|
import "./chunk-NEJVK5CF.js";
|
|
21
21
|
import {
|
|
@@ -76,4 +76,4 @@ var noteCommand = {
|
|
|
76
76
|
export {
|
|
77
77
|
noteCommand
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=note-
|
|
79
|
+
//# sourceMappingURL=note-S6EGTEIL.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
scanChanges
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-OE34YZFO.js";
|
|
5
|
+
import "./chunk-RK6NHIL6.js";
|
|
6
6
|
import "./chunk-AKMPF72Y.js";
|
|
7
7
|
import "./chunk-4KZBZA5D.js";
|
|
8
8
|
import {
|
|
9
9
|
loadHistory
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
11
|
+
import "./chunk-KTFDSJUD.js";
|
|
12
12
|
import "./chunk-RCYI7SRA.js";
|
|
13
13
|
import "./chunk-NEJVK5CF.js";
|
|
14
14
|
import {
|
|
@@ -54,4 +54,4 @@ var overlapsCommand = {
|
|
|
54
54
|
export {
|
|
55
55
|
overlapsCommand
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=overlaps-
|
|
57
|
+
//# sourceMappingURL=overlaps-4T7NLTJH.js.map
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
sessionFromArgs,
|
|
7
7
|
sessionPositionals
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EXJYPF64.js";
|
|
9
9
|
import "./chunk-6AQRYLOB.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-UDOXLAE7.js";
|
|
11
11
|
import "./chunk-ZSHWP2VS.js";
|
|
12
12
|
import "./chunk-E3Y4ZACK.js";
|
|
13
13
|
import "./chunk-HUXS3VAI.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-C7OK4XEZ.js";
|
|
15
|
+
import "./chunk-KTFDSJUD.js";
|
|
16
16
|
import "./chunk-RCYI7SRA.js";
|
|
17
17
|
import "./chunk-NEJVK5CF.js";
|
|
18
18
|
import {
|
|
@@ -43,4 +43,4 @@ var pinCommand = {
|
|
|
43
43
|
export {
|
|
44
44
|
pinCommand
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=pin-
|
|
46
|
+
//# sourceMappingURL=pin-KKQZ3AR6.js.map
|
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
} from "./chunk-26IZBYVL.js";
|
|
7
7
|
import {
|
|
8
8
|
readWebUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZR2KWY6V.js";
|
|
10
10
|
import {
|
|
11
11
|
findSessionForCwd
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UDOXLAE7.js";
|
|
13
13
|
import "./chunk-ZSHWP2VS.js";
|
|
14
14
|
import "./chunk-E3Y4ZACK.js";
|
|
15
15
|
import "./chunk-HUXS3VAI.js";
|
|
16
16
|
import {
|
|
17
17
|
defaultRunner
|
|
18
18
|
} from "./chunk-4KZBZA5D.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-C7OK4XEZ.js";
|
|
20
|
+
import "./chunk-KTFDSJUD.js";
|
|
21
21
|
import "./chunk-RCYI7SRA.js";
|
|
22
22
|
import "./chunk-NEJVK5CF.js";
|
|
23
23
|
import {
|
|
@@ -120,4 +120,4 @@ var prCommand = {
|
|
|
120
120
|
export {
|
|
121
121
|
prCommand
|
|
122
122
|
};
|
|
123
|
-
//# sourceMappingURL=pr-
|
|
123
|
+
//# sourceMappingURL=pr-5ZILTVDM.js.map
|
|
@@ -5,32 +5,34 @@ import {
|
|
|
5
5
|
} from "./chunk-ABQYKTG4.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultCleanupDeps
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KSVZVHTI.js";
|
|
9
|
+
import "./chunk-ISZM5C22.js";
|
|
10
10
|
import {
|
|
11
11
|
applyCleanup,
|
|
12
12
|
scanCleanup
|
|
13
13
|
} from "./chunk-AKMPF72Y.js";
|
|
14
14
|
import "./chunk-26IZBYVL.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-TN2TXRHS.js";
|
|
16
|
+
import "./chunk-NBI2INQS.js";
|
|
16
17
|
import "./chunk-L6RUHCKB.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-U5V5J237.js";
|
|
19
|
+
import "./chunk-LBQR7KTC.js";
|
|
20
|
+
import "./chunk-UOSZFFNY.js";
|
|
21
|
+
import "./chunk-TROTIHD5.js";
|
|
22
|
+
import "./chunk-3GAYLP7W.js";
|
|
23
|
+
import "./chunk-OIQY4OKO.js";
|
|
24
|
+
import "./chunk-LNHSBM4L.js";
|
|
23
25
|
import "./chunk-JTHILJFB.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-62C3CJ5M.js";
|
|
27
|
+
import "./chunk-UDOXLAE7.js";
|
|
26
28
|
import "./chunk-ZSHWP2VS.js";
|
|
27
29
|
import "./chunk-E3Y4ZACK.js";
|
|
28
30
|
import "./chunk-HUXS3VAI.js";
|
|
29
31
|
import "./chunk-5PAPD6VT.js";
|
|
30
32
|
import "./chunk-4KZBZA5D.js";
|
|
31
33
|
import "./chunk-RKEY4573.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-C7OK4XEZ.js";
|
|
35
|
+
import "./chunk-KTFDSJUD.js";
|
|
34
36
|
import "./chunk-RCYI7SRA.js";
|
|
35
37
|
import "./chunk-NEJVK5CF.js";
|
|
36
38
|
import "./chunk-RT4QZRTC.js";
|
|
@@ -91,4 +93,4 @@ var pruneCommand = {
|
|
|
91
93
|
export {
|
|
92
94
|
pruneCommand
|
|
93
95
|
};
|
|
94
|
-
//# sourceMappingURL=prune-
|
|
96
|
+
//# sourceMappingURL=prune-OK23KLHG.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/prune.ts"],"sourcesContent":["import chalk from 'chalk';\nimport { checkbox } from '@inquirer/prompts';\nimport type { CommandModule } from 'yargs';\nimport { ensureConfig } from '../core/platform/config.js';\nimport { applyCleanup, scanCleanup } from '../core/cleanup/cleanup.js';\nimport { defaultCleanupDeps } from '../core/cleanup/cleanup-deps.js';\nimport type { CleanupCandidate } from '../core/api-types.js';\nimport { printCleanupResults, removable } from './shared/cleanup-print.js';\n\nexport const pruneCommand: CommandModule = {\n command: 'prune',\n describe: 'Remove worktrees that are merged (or never committed to), picking from a list',\n builder: (yargs) =>\n yargs.option('force', {\n describe: 'Skip the picker and remove every one that is safe to remove',\n type: 'boolean',\n default: false,\n }),\n handler: async (argv) => {\n const force = argv.force as boolean;\n ensureConfig();\n const deps = defaultCleanupDeps();\n console.log(chalk.gray('Fetching and checking worktrees…\\n'));\n const scan = await scanCleanup(deps);\n for (const f of scan.fetchFailed) console.log(chalk.yellow(` Could not fetch ${f.alias}; its worktrees were not checked: ${f.error}`));\n // Interactive prune is human-confirmed (you see the list and pick), so\n // squash-merged branches are offered too.\n const candidates = removable(scan.candidates, { includeSquash: true });\n if (candidates.length === 0) {\n console.log(chalk.green('Nothing to prune: no worktree is merged, clean and unused for a day.'));\n return;\n }\n const label = (c: CleanupCandidate) => `${c.target}: ${c.branch}${c.isGroup ? ' [group]' : ''} — ${c.reason}`;\n let selected: CleanupCandidate[];\n if (force) {\n selected = candidates;\n console.log(chalk.cyan(`Removing ${selected.length} worktree(s):`));\n for (const c of selected) console.log(` ${label(c)}`);\n } else {\n selected = await checkbox({\n message: 'Select worktrees to remove (the branches are kept)',\n choices: candidates.map((c) => ({ name: label(c), value: c, checked: true })),\n pageSize: Math.min(candidates.length, 25),\n });\n if (selected.length === 0) {\n console.log(chalk.yellow('Nothing selected.'));\n return;\n }\n }\n console.log('');\n const results = await applyCleanup(\n deps,\n selected.map((c) => ({ sessionId: c.sessionId, action: c.verdict === 'gone' ? 'forget' : 'delete' })),\n );\n printCleanupResults(selected, results);\n },\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/commands/prune.ts"],"sourcesContent":["import chalk from 'chalk';\nimport { checkbox } from '@inquirer/prompts';\nimport type { CommandModule } from 'yargs';\nimport { ensureConfig } from '../core/platform/config.js';\nimport { applyCleanup, scanCleanup } from '../core/cleanup/cleanup.js';\nimport { defaultCleanupDeps } from '../core/cleanup/cleanup-deps.js';\nimport type { CleanupCandidate } from '../core/api-types.js';\nimport { printCleanupResults, removable } from './shared/cleanup-print.js';\n\nexport const pruneCommand: CommandModule = {\n command: 'prune',\n describe: 'Remove worktrees that are merged (or never committed to), picking from a list',\n builder: (yargs) =>\n yargs.option('force', {\n describe: 'Skip the picker and remove every one that is safe to remove',\n type: 'boolean',\n default: false,\n }),\n handler: async (argv) => {\n const force = argv.force as boolean;\n ensureConfig();\n const deps = defaultCleanupDeps();\n console.log(chalk.gray('Fetching and checking worktrees…\\n'));\n const scan = await scanCleanup(deps);\n for (const f of scan.fetchFailed) console.log(chalk.yellow(` Could not fetch ${f.alias}; its worktrees were not checked: ${f.error}`));\n // Interactive prune is human-confirmed (you see the list and pick), so\n // squash-merged branches are offered too.\n const candidates = removable(scan.candidates, { includeSquash: true });\n if (candidates.length === 0) {\n console.log(chalk.green('Nothing to prune: no worktree is merged, clean and unused for a day.'));\n return;\n }\n const label = (c: CleanupCandidate) => `${c.target}: ${c.branch}${c.isGroup ? ' [group]' : ''} — ${c.reason}`;\n let selected: CleanupCandidate[];\n if (force) {\n selected = candidates;\n console.log(chalk.cyan(`Removing ${selected.length} worktree(s):`));\n for (const c of selected) console.log(` ${label(c)}`);\n } else {\n selected = await checkbox({\n message: 'Select worktrees to remove (the branches are kept)',\n choices: candidates.map((c) => ({ name: label(c), value: c, checked: true })),\n pageSize: Math.min(candidates.length, 25),\n });\n if (selected.length === 0) {\n console.log(chalk.yellow('Nothing selected.'));\n return;\n }\n }\n console.log('');\n const results = await applyCleanup(\n deps,\n selected.map((c) => ({ sessionId: c.sessionId, action: c.verdict === 'gone' ? 'forget' : 'delete' })),\n );\n printCleanupResults(selected, results);\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,WAAW;AAClB,SAAS,gBAAgB;AAQlB,IAAM,eAA8B;AAAA,EACzC,SAAS;AAAA,EACT,UAAU;AAAA,EACV,SAAS,CAAC,UACR,MAAM,OAAO,SAAS;AAAA,IACpB,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EACX,CAAC;AAAA,EACH,SAAS,OAAO,SAAS;AACvB,UAAM,QAAQ,KAAK;AACnB,iBAAa;AACb,UAAM,OAAO,mBAAmB;AAChC,YAAQ,IAAI,MAAM,KAAK,yCAAoC,CAAC;AAC5D,UAAM,OAAO,MAAM,YAAY,IAAI;AACnC,eAAW,KAAK,KAAK,YAAa,SAAQ,IAAI,MAAM,OAAO,qBAAqB,EAAE,KAAK,qCAAqC,EAAE,KAAK,EAAE,CAAC;AAGtI,UAAM,aAAa,UAAU,KAAK,YAAY,EAAE,eAAe,KAAK,CAAC;AACrE,QAAI,WAAW,WAAW,GAAG;AAC3B,cAAQ,IAAI,MAAM,MAAM,sEAAsE,CAAC;AAC/F;AAAA,IACF;AACA,UAAM,QAAQ,CAAC,MAAwB,GAAG,EAAE,MAAM,KAAK,EAAE,MAAM,GAAG,EAAE,UAAU,aAAa,EAAE,WAAM,EAAE,MAAM;AAC3G,QAAI;AACJ,QAAI,OAAO;AACT,iBAAW;AACX,cAAQ,IAAI,MAAM,KAAK,YAAY,SAAS,MAAM,eAAe,CAAC;AAClE,iBAAW,KAAK,SAAU,SAAQ,IAAI,KAAK,MAAM,CAAC,CAAC,EAAE;AAAA,IACvD,OAAO;AACL,iBAAW,MAAM,SAAS;AAAA,QACxB,SAAS;AAAA,QACT,SAAS,WAAW,IAAI,CAAC,OAAO,EAAE,MAAM,MAAM,CAAC,GAAG,OAAO,GAAG,SAAS,KAAK,EAAE;AAAA,QAC5E,UAAU,KAAK,IAAI,WAAW,QAAQ,EAAE;AAAA,MAC1C,CAAC;AACD,UAAI,SAAS,WAAW,GAAG;AACzB,gBAAQ,IAAI,MAAM,OAAO,mBAAmB,CAAC;AAC7C;AAAA,MACF;AAAA,IACF;AACA,YAAQ,IAAI,EAAE;AACd,UAAM,UAAU,MAAM;AAAA,MACpB;AAAA,MACA,SAAS,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,WAAW,QAAQ,EAAE,YAAY,SAAS,WAAW,SAAS,EAAE;AAAA,IACtG;AACA,wBAAoB,UAAU,OAAO;AAAA,EACvC;AACF;","names":[]}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
adoptLegacyRestoreList,
|
|
7
7
|
dbPtySessions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LBQR7KTC.js";
|
|
9
9
|
import {
|
|
10
10
|
PROTOCOL_VERSION,
|
|
11
11
|
PtyHostBusyError,
|
|
@@ -19,18 +19,18 @@ import {
|
|
|
19
19
|
keepEnv,
|
|
20
20
|
probeHostDetailed,
|
|
21
21
|
readHostInfo
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UOSZFFNY.js";
|
|
23
23
|
import {
|
|
24
24
|
bestEffort,
|
|
25
25
|
loadHistory,
|
|
26
26
|
logSwallowed,
|
|
27
27
|
swallow
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
29
29
|
import {
|
|
30
30
|
agentById,
|
|
31
31
|
buildAiLaunchArgs,
|
|
32
32
|
killTree
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-KTFDSJUD.js";
|
|
34
34
|
import "./chunk-RCYI7SRA.js";
|
|
35
35
|
import "./chunk-NEJVK5CF.js";
|
|
36
36
|
import {
|
|
@@ -981,4 +981,4 @@ export {
|
|
|
981
981
|
ptyHostCommand,
|
|
982
982
|
stopHost
|
|
983
983
|
};
|
|
984
|
-
//# sourceMappingURL=pty-host-
|
|
984
|
+
//# sourceMappingURL=pty-host-I5OJGWYA.js.map
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
sessionFromArgs,
|
|
8
8
|
sessionPositionals
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EXJYPF64.js";
|
|
10
10
|
import "./chunk-6AQRYLOB.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-UDOXLAE7.js";
|
|
12
12
|
import "./chunk-ZSHWP2VS.js";
|
|
13
13
|
import "./chunk-E3Y4ZACK.js";
|
|
14
14
|
import "./chunk-HUXS3VAI.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-C7OK4XEZ.js";
|
|
16
16
|
import {
|
|
17
17
|
agentOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KTFDSJUD.js";
|
|
19
19
|
import "./chunk-RCYI7SRA.js";
|
|
20
20
|
import "./chunk-NEJVK5CF.js";
|
|
21
21
|
import "./chunk-RT4QZRTC.js";
|
|
@@ -55,4 +55,4 @@ var readCommand = {
|
|
|
55
55
|
export {
|
|
56
56
|
readCommand
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=read-
|
|
58
|
+
//# sourceMappingURL=read-NHK26F22.js.map
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
} from "./chunk-UQ35KLHH.js";
|
|
5
5
|
import {
|
|
6
6
|
launchAi
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2GX3IOSV.js";
|
|
8
8
|
import {
|
|
9
9
|
effectiveLastAccessedAt,
|
|
10
10
|
getRecentSessions,
|
|
11
11
|
loadHistory,
|
|
12
12
|
recordLaunch,
|
|
13
13
|
upsertSession
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
15
15
|
import {
|
|
16
16
|
agentFor
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KTFDSJUD.js";
|
|
18
18
|
import "./chunk-RCYI7SRA.js";
|
|
19
19
|
import "./chunk-NEJVK5CF.js";
|
|
20
20
|
import "./chunk-RT4QZRTC.js";
|
|
@@ -109,4 +109,4 @@ var recentCommand = {
|
|
|
109
109
|
export {
|
|
110
110
|
recentCommand
|
|
111
111
|
};
|
|
112
|
-
//# sourceMappingURL=recent-
|
|
112
|
+
//# sourceMappingURL=recent-DNSOJQVQ.js.map
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
archiveWaiting
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ISZM5C22.js";
|
|
5
5
|
import "./chunk-AKMPF72Y.js";
|
|
6
6
|
import "./chunk-26IZBYVL.js";
|
|
7
|
+
import "./chunk-TN2TXRHS.js";
|
|
7
8
|
import {
|
|
8
9
|
teardownWorktree,
|
|
9
10
|
wouldRefuseRemoval
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NBI2INQS.js";
|
|
11
12
|
import "./chunk-L6RUHCKB.js";
|
|
12
13
|
import {
|
|
13
14
|
stopSessionPty
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-U5V5J237.js";
|
|
16
|
+
import "./chunk-LBQR7KTC.js";
|
|
17
|
+
import "./chunk-UOSZFFNY.js";
|
|
18
|
+
import "./chunk-TROTIHD5.js";
|
|
19
|
+
import "./chunk-3GAYLP7W.js";
|
|
20
|
+
import "./chunk-OIQY4OKO.js";
|
|
21
|
+
import "./chunk-LNHSBM4L.js";
|
|
20
22
|
import {
|
|
21
23
|
getAllTargetNames,
|
|
22
24
|
resolveProjectTarget
|
|
23
25
|
} from "./chunk-JTHILJFB.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-62C3CJ5M.js";
|
|
27
|
+
import "./chunk-UDOXLAE7.js";
|
|
26
28
|
import "./chunk-ZSHWP2VS.js";
|
|
27
29
|
import "./chunk-E3Y4ZACK.js";
|
|
28
30
|
import "./chunk-HUXS3VAI.js";
|
|
@@ -33,8 +35,8 @@ import {
|
|
|
33
35
|
findSession,
|
|
34
36
|
loadHistory,
|
|
35
37
|
removeSession
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
39
|
+
import "./chunk-KTFDSJUD.js";
|
|
38
40
|
import "./chunk-RCYI7SRA.js";
|
|
39
41
|
import "./chunk-NEJVK5CF.js";
|
|
40
42
|
import {
|
|
@@ -107,4 +109,4 @@ var removeCommand = {
|
|
|
107
109
|
export {
|
|
108
110
|
removeCommand
|
|
109
111
|
};
|
|
110
|
-
//# sourceMappingURL=remove-
|
|
112
|
+
//# sourceMappingURL=remove-TZQVN2EG.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/remove.ts"],"sourcesContent":["import chalk from 'chalk';\nimport { archiveWaiting } from '../core/archive/session-archive-deps.js';\nimport { sessionIdFor } from '../core/sessions/session-id.js';\nimport { stopSessionPty } from '../core/pty/pty-pool.js';\nimport type { CommandModule } from 'yargs';\nimport { ensureConfig } from '../core/platform/config.js';\nimport { resolveProjectTarget, getAllTargetNames } from '../core/worktree/resolve.js';\nimport { teardownWorktree, wouldRefuseRemoval } from '../core/worktree/worktree.js';\nimport { findSession, loadHistory, removeSession } from '../core/sessions/history.js';\n\nexport const removeCommand: CommandModule = {\n command: 'remove <target> <branch>',\n describe: 'Remove a worktree',\n builder: (yargs) =>\n yargs\n .showHelpOnFail(true)\n .positional('target', {\n describe: 'Project alias or group name',\n type: 'string',\n demandOption: true,\n })\n .positional('branch', {\n describe: 'Branch name (e.g., feature/login)',\n type: 'string',\n demandOption: true,\n })\n .option('force', {\n describe: 'Force remove even with uncommitted/unpushed changes',\n type: 'boolean',\n default: false,\n }),\n handler: async (argv) => {\n const targetName = argv.target as string;\n const branchName = argv.branch as string;\n const force = argv.force as boolean;\n\n const config = ensureConfig();\n\n const target = resolveProjectTarget(targetName, config);\n if (!target) {\n const allNames = getAllTargetNames(config);\n console.error(`Project or group not found: ${targetName}`);\n console.log(chalk.yellow(`Available: ${allNames.join(', ')}`));\n process.exitCode = 1;\n return;\n }\n\n // What removing would cut off — its Claude mid-turn or waiting on you,\n // replies to post, notes not yet delivered — refuses it unless --force,\n // as the dashboard's delete does.\n const existing = findSession(loadHistory(), targetName, branchName);\n if (existing && !force) {\n const waiting = archiveWaiting(sessionIdFor(existing));\n if (waiting.length) {\n console.error(chalk.red(`Not removed: ${waiting.join('; ')}.`));\n console.log(chalk.yellow(`Use 'work remove ${targetName} ${branchName} --force' to remove it anyway.`));\n process.exitCode = 1;\n return;\n }\n }\n\n console.log(chalk.cyan(`Removing worktree: ${targetName}/${branchName}`));\n console.log('');\n\n // A Claude still running in the worktree (PTY host session) holds it\n // open — Windows refuses the delete — so stop it first. Only when the\n // removal will go through: a refused one must leave the agent running.\n const paths = findSession(loadHistory(), targetName, branchName)?.paths ?? [];\n if (paths.every((p) => !wouldRefuseRemoval(p, force))) {\n await stopSessionPty(targetName, branchName);\n }\n // The session's folder, not the branch name: the branch checked out in it\n // may have been switched since.\n const allRemoved = teardownWorktree(targetName, target.isGroup, branchName, config, force, paths.length ? paths : undefined);\n\n if (allRemoved === true) {\n await removeSession(targetName, branchName);\n } else {\n process.exitCode = 1;\n console.log('');\n console.log(chalk.yellow('Some worktrees could not be removed due to uncommitted/unpushed changes.'));\n console.log(chalk.yellow(`Use 'work remove ${targetName} ${branchName} --force' to force remove.`));\n }\n },\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/commands/remove.ts"],"sourcesContent":["import chalk from 'chalk';\nimport { archiveWaiting } from '../core/archive/session-archive-deps.js';\nimport { sessionIdFor } from '../core/sessions/session-id.js';\nimport { stopSessionPty } from '../core/pty/pty-pool.js';\nimport type { CommandModule } from 'yargs';\nimport { ensureConfig } from '../core/platform/config.js';\nimport { resolveProjectTarget, getAllTargetNames } from '../core/worktree/resolve.js';\nimport { teardownWorktree, wouldRefuseRemoval } from '../core/worktree/worktree.js';\nimport { findSession, loadHistory, removeSession } from '../core/sessions/history.js';\n\nexport const removeCommand: CommandModule = {\n command: 'remove <target> <branch>',\n describe: 'Remove a worktree',\n builder: (yargs) =>\n yargs\n .showHelpOnFail(true)\n .positional('target', {\n describe: 'Project alias or group name',\n type: 'string',\n demandOption: true,\n })\n .positional('branch', {\n describe: 'Branch name (e.g., feature/login)',\n type: 'string',\n demandOption: true,\n })\n .option('force', {\n describe: 'Force remove even with uncommitted/unpushed changes',\n type: 'boolean',\n default: false,\n }),\n handler: async (argv) => {\n const targetName = argv.target as string;\n const branchName = argv.branch as string;\n const force = argv.force as boolean;\n\n const config = ensureConfig();\n\n const target = resolveProjectTarget(targetName, config);\n if (!target) {\n const allNames = getAllTargetNames(config);\n console.error(`Project or group not found: ${targetName}`);\n console.log(chalk.yellow(`Available: ${allNames.join(', ')}`));\n process.exitCode = 1;\n return;\n }\n\n // What removing would cut off — its Claude mid-turn or waiting on you,\n // replies to post, notes not yet delivered — refuses it unless --force,\n // as the dashboard's delete does.\n const existing = findSession(loadHistory(), targetName, branchName);\n if (existing && !force) {\n const waiting = archiveWaiting(sessionIdFor(existing));\n if (waiting.length) {\n console.error(chalk.red(`Not removed: ${waiting.join('; ')}.`));\n console.log(chalk.yellow(`Use 'work remove ${targetName} ${branchName} --force' to remove it anyway.`));\n process.exitCode = 1;\n return;\n }\n }\n\n console.log(chalk.cyan(`Removing worktree: ${targetName}/${branchName}`));\n console.log('');\n\n // A Claude still running in the worktree (PTY host session) holds it\n // open — Windows refuses the delete — so stop it first. Only when the\n // removal will go through: a refused one must leave the agent running.\n const paths = findSession(loadHistory(), targetName, branchName)?.paths ?? [];\n if (paths.every((p) => !wouldRefuseRemoval(p, force))) {\n await stopSessionPty(targetName, branchName);\n }\n // The session's folder, not the branch name: the branch checked out in it\n // may have been switched since.\n const allRemoved = teardownWorktree(targetName, target.isGroup, branchName, config, force, paths.length ? paths : undefined);\n\n if (allRemoved === true) {\n await removeSession(targetName, branchName);\n } else {\n process.exitCode = 1;\n console.log('');\n console.log(chalk.yellow('Some worktrees could not be removed due to uncommitted/unpushed changes.'));\n console.log(chalk.yellow(`Use 'work remove ${targetName} ${branchName} --force' to force remove.`));\n }\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,WAAW;AAUX,IAAM,gBAA+B;AAAA,EAC1C,SAAS;AAAA,EACT,UAAU;AAAA,EACV,SAAS,CAAC,UACR,MACG,eAAe,IAAI,EACnB,WAAW,UAAU;AAAA,IACpB,UAAU;AAAA,IACV,MAAM;AAAA,IACN,cAAc;AAAA,EAChB,CAAC,EACA,WAAW,UAAU;AAAA,IACpB,UAAU;AAAA,IACV,MAAM;AAAA,IACN,cAAc;AAAA,EAChB,CAAC,EACA,OAAO,SAAS;AAAA,IACf,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EACX,CAAC;AAAA,EACL,SAAS,OAAO,SAAS;AACvB,UAAM,aAAa,KAAK;AACxB,UAAM,aAAa,KAAK;AACxB,UAAM,QAAQ,KAAK;AAEnB,UAAM,SAAS,aAAa;AAE5B,UAAM,SAAS,qBAAqB,YAAY,MAAM;AACtD,QAAI,CAAC,QAAQ;AACX,YAAM,WAAW,kBAAkB,MAAM;AACzC,cAAQ,MAAM,+BAA+B,UAAU,EAAE;AACzD,cAAQ,IAAI,MAAM,OAAO,cAAc,SAAS,KAAK,IAAI,CAAC,EAAE,CAAC;AAC7D,cAAQ,WAAW;AACnB;AAAA,IACF;AAKA,UAAM,WAAW,YAAY,YAAY,GAAG,YAAY,UAAU;AAClE,QAAI,YAAY,CAAC,OAAO;AACtB,YAAM,UAAU,eAAe,aAAa,QAAQ,CAAC;AACrD,UAAI,QAAQ,QAAQ;AAClB,gBAAQ,MAAM,MAAM,IAAI,gBAAgB,QAAQ,KAAK,IAAI,CAAC,GAAG,CAAC;AAC9D,gBAAQ,IAAI,MAAM,OAAO,oBAAoB,UAAU,IAAI,UAAU,gCAAgC,CAAC;AACtG,gBAAQ,WAAW;AACnB;AAAA,MACF;AAAA,IACF;AAEA,YAAQ,IAAI,MAAM,KAAK,sBAAsB,UAAU,IAAI,UAAU,EAAE,CAAC;AACxE,YAAQ,IAAI,EAAE;AAKd,UAAM,QAAQ,YAAY,YAAY,GAAG,YAAY,UAAU,GAAG,SAAS,CAAC;AAC5E,QAAI,MAAM,MAAM,CAAC,MAAM,CAAC,mBAAmB,GAAG,KAAK,CAAC,GAAG;AACrD,YAAM,eAAe,YAAY,UAAU;AAAA,IAC7C;AAGA,UAAM,aAAa,iBAAiB,YAAY,OAAO,SAAS,YAAY,QAAQ,OAAO,MAAM,SAAS,QAAQ,MAAS;AAE3H,QAAI,eAAe,MAAM;AACvB,YAAM,cAAc,YAAY,UAAU;AAAA,IAC5C,OAAO;AACL,cAAQ,WAAW;AACnB,cAAQ,IAAI,EAAE;AACd,cAAQ,IAAI,MAAM,OAAO,0EAA0E,CAAC;AACpG,cAAQ,IAAI,MAAM,OAAO,oBAAoB,UAAU,IAAI,UAAU,4BAA4B,CAAC;AAAA,IACpG;AAAA,EACF;AACF;","names":[]}
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
sessionFromArgs,
|
|
7
7
|
sessionPositionals
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EXJYPF64.js";
|
|
9
9
|
import "./chunk-6AQRYLOB.js";
|
|
10
10
|
import {
|
|
11
11
|
callWorkWeb
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-ZR2KWY6V.js";
|
|
13
|
+
import "./chunk-UDOXLAE7.js";
|
|
14
14
|
import "./chunk-ZSHWP2VS.js";
|
|
15
15
|
import "./chunk-E3Y4ZACK.js";
|
|
16
16
|
import "./chunk-HUXS3VAI.js";
|
|
17
17
|
import {
|
|
18
18
|
loadHistory
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
20
|
+
import "./chunk-KTFDSJUD.js";
|
|
21
21
|
import "./chunk-RCYI7SRA.js";
|
|
22
22
|
import "./chunk-NEJVK5CF.js";
|
|
23
23
|
import {
|
|
@@ -67,4 +67,4 @@ var restartCommand = {
|
|
|
67
67
|
export {
|
|
68
68
|
restartCommand
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=restart-
|
|
70
|
+
//# sourceMappingURL=restart-WHJDPDQA.js.map
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
} from "./chunk-UQ35KLHH.js";
|
|
5
5
|
import {
|
|
6
6
|
launchAi
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2GX3IOSV.js";
|
|
8
8
|
import {
|
|
9
9
|
effectiveLastAccessedAt,
|
|
10
10
|
getRecentSessions,
|
|
11
11
|
loadHistory,
|
|
12
12
|
recordLaunch,
|
|
13
13
|
upsertSession
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
15
15
|
import {
|
|
16
16
|
agentFor
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KTFDSJUD.js";
|
|
18
18
|
import "./chunk-RCYI7SRA.js";
|
|
19
19
|
import "./chunk-NEJVK5CF.js";
|
|
20
20
|
import "./chunk-RT4QZRTC.js";
|
|
@@ -79,4 +79,4 @@ var resumeCommand = {
|
|
|
79
79
|
export {
|
|
80
80
|
resumeCommand
|
|
81
81
|
};
|
|
82
|
-
//# sourceMappingURL=resume-
|
|
82
|
+
//# sourceMappingURL=resume-BXIYEZM3.js.map
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
} from "./chunk-WMJIU3YW.js";
|
|
7
7
|
import {
|
|
8
8
|
loadHistory
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
10
|
+
import "./chunk-KTFDSJUD.js";
|
|
11
11
|
import "./chunk-RCYI7SRA.js";
|
|
12
12
|
import "./chunk-NEJVK5CF.js";
|
|
13
13
|
import "./chunk-RT4QZRTC.js";
|
|
@@ -261,4 +261,4 @@ export {
|
|
|
261
261
|
runPool,
|
|
262
262
|
stripRunToken
|
|
263
263
|
};
|
|
264
|
-
//# sourceMappingURL=run-
|
|
264
|
+
//# sourceMappingURL=run-4MQLY3XF.js.map
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
sessionFromArgs,
|
|
7
7
|
sessionPositionals
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EXJYPF64.js";
|
|
9
9
|
import "./chunk-6AQRYLOB.js";
|
|
10
10
|
import {
|
|
11
11
|
callWorkWeb
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-ZR2KWY6V.js";
|
|
13
|
+
import "./chunk-UDOXLAE7.js";
|
|
14
14
|
import "./chunk-ZSHWP2VS.js";
|
|
15
15
|
import "./chunk-E3Y4ZACK.js";
|
|
16
16
|
import "./chunk-HUXS3VAI.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-C7OK4XEZ.js";
|
|
18
|
+
import "./chunk-KTFDSJUD.js";
|
|
19
19
|
import "./chunk-RCYI7SRA.js";
|
|
20
20
|
import "./chunk-NEJVK5CF.js";
|
|
21
21
|
import {
|
|
@@ -56,4 +56,4 @@ var screenCommand = {
|
|
|
56
56
|
export {
|
|
57
57
|
screenCommand
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=screen-
|
|
59
|
+
//# sourceMappingURL=screen-URKN7PU6.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
loadHistory,
|
|
4
4
|
searchConversations,
|
|
5
5
|
syncConversations
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
7
|
+
import "./chunk-KTFDSJUD.js";
|
|
8
8
|
import "./chunk-RCYI7SRA.js";
|
|
9
9
|
import "./chunk-NEJVK5CF.js";
|
|
10
10
|
import "./chunk-RT4QZRTC.js";
|
|
@@ -44,4 +44,4 @@ var searchCommand = {
|
|
|
44
44
|
export {
|
|
45
45
|
searchCommand
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=search-
|
|
47
|
+
//# sourceMappingURL=search-MNBYJEL7.js.map
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
sessionFromArgs,
|
|
10
10
|
sessionPositionals
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EXJYPF64.js";
|
|
12
12
|
import "./chunk-6AQRYLOB.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-UDOXLAE7.js";
|
|
14
14
|
import "./chunk-ZSHWP2VS.js";
|
|
15
15
|
import "./chunk-E3Y4ZACK.js";
|
|
16
16
|
import "./chunk-HUXS3VAI.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-C7OK4XEZ.js";
|
|
18
|
+
import "./chunk-KTFDSJUD.js";
|
|
19
19
|
import "./chunk-RCYI7SRA.js";
|
|
20
20
|
import "./chunk-NEJVK5CF.js";
|
|
21
21
|
import {
|
|
@@ -77,4 +77,4 @@ var sectionCommand = {
|
|
|
77
77
|
export {
|
|
78
78
|
sectionCommand
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=section-
|
|
80
|
+
//# sourceMappingURL=section-B3OQFADP.js.map
|