@moberg_hr/work-tree 2.0.13 → 2.2.0
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/{answer-IL5AQHRO.js → answer-OF2QNF4A.js} +6 -6
- package/dist/{attach-MFU4KN47.js → attach-PAFAZ2EH.js} +9 -9
- package/dist/bin.js +2 -2
- package/dist/{block-OXGEQ2PZ.js → block-3LEG4LKJ.js} +6 -6
- package/dist/{broadcast-UJURJNEK.js → broadcast-ZDIL7UBP.js} +3 -3
- package/dist/{catchup-HN4VL5XK.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-R7B46WXN.js → chunk-3GAYLP7W.js} +4 -4
- package/dist/{chunk-OZIR2255.js → chunk-453EGT2R.js} +11 -7
- package/dist/chunk-453EGT2R.js.map +1 -0
- package/dist/{chunk-RLR66XLG.js → chunk-46VAWZZX.js} +2 -2
- package/dist/{chunk-SH7NSDRW.js → chunk-4CVUV2SE.js} +2 -2
- package/dist/{chunk-3XY76XBD.js → chunk-62C3CJ5M.js} +2 -2
- package/dist/{chunk-MIIJ2HQS.js → chunk-77SVSNME.js} +4 -4
- package/dist/{chunk-OQAQMCHF.js → chunk-C7OK4XEZ.js} +58 -9
- package/dist/chunk-C7OK4XEZ.js.map +1 -0
- package/dist/{chunk-YZLNJQAV.js → chunk-DLSAAP3S.js} +2 -2
- package/dist/{chunk-B2RCWZUW.js → chunk-EDAOG56H.js} +35 -7
- package/dist/chunk-EDAOG56H.js.map +1 -0
- package/dist/{chunk-EU3BS5A6.js → chunk-EXJYPF64.js} +3 -3
- package/dist/{chunk-PUYXTZ32.js → chunk-INVFNKU7.js} +4 -4
- package/dist/{chunk-KUWFGPGW.js → chunk-ISZM5C22.js} +15 -9
- package/dist/chunk-ISZM5C22.js.map +1 -0
- package/dist/{chunk-F375JY4M.js → chunk-KSVZVHTI.js} +6 -6
- package/dist/{chunk-F375JY4M.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-HDO3PXCU.js → chunk-KWU35O5S.js} +3 -3
- package/dist/{chunk-U4UB4LG6.js → chunk-LBQR7KTC.js} +2 -2
- package/dist/{chunk-YXQIGBL6.js → chunk-LGDECE7V.js} +3 -3
- package/dist/{chunk-FX4IA5U4.js → chunk-M4YXBQZN.js} +5 -5
- package/dist/{chunk-OOCMPS5L.js → chunk-MRXD2NSO.js} +2 -2
- package/dist/{chunk-ZFPV46FA.js → chunk-NBI2INQS.js} +22 -13
- package/dist/chunk-NBI2INQS.js.map +1 -0
- package/dist/{chunk-BSFL3WDR.js → chunk-OCDHKDUN.js} +45 -45
- package/dist/{chunk-MVU7JAKG.js → chunk-OE34YZFO.js} +2 -2
- package/dist/{chunk-6O6765M7.js → chunk-OIQY4OKO.js} +2 -2
- package/dist/{chunk-M7AUWYOP.js → chunk-R4M5DDSN.js} +4 -4
- package/dist/{chunk-YJVZ5H3I.js → chunk-RK6NHIL6.js} +2 -2
- package/dist/chunk-THJGDJVO.js +9 -0
- package/dist/{chunk-4KNBN2OF.js.map → chunk-THJGDJVO.js.map} +1 -1
- package/dist/chunk-TN2TXRHS.js +249 -0
- package/dist/chunk-TN2TXRHS.js.map +1 -0
- package/dist/{chunk-427RB7E4.js → chunk-TROTIHD5.js} +3 -3
- package/dist/{chunk-KSIXTTO6.js → chunk-U4YUMSJY.js} +3 -3
- package/dist/{chunk-7JPCVEOY.js → chunk-U5V5J237.js} +6 -6
- package/dist/{chunk-PVN5IGDZ.js → chunk-UDOXLAE7.js} +2 -2
- package/dist/{chunk-MI3PS2SH.js → chunk-UOSZFFNY.js} +2 -2
- package/dist/{chunk-7GQCPGKQ.js → chunk-X6VBITXV.js} +4 -4
- package/dist/{chunk-OW46TR4G.js → chunk-XIL4QZFW.js} +3 -3
- 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-LRT6J36R.js → cleanup-W5RGZ3Q6.js} +17 -15
- package/dist/{cleanup-LRT6J36R.js.map → cleanup-W5RGZ3Q6.js.map} +1 -1
- package/dist/{cli-VGUJI5WG.js → cli-64TLWGRH.js} +3 -3
- package/dist/{config-SSWYCX4C.js → config-MR7UZCST.js} +4 -4
- package/dist/{diff-JBCBQM4I.js → diff-URDY6YMT.js} +7 -7
- package/dist/{digest-WCZD6N7M.js → digest-D4FEZNLU.js} +6 -6
- package/dist/{fork-RJ3ZPPWT.js → fork-7EUVNEB7.js} +15 -15
- package/dist/{hook-CA5X3VKU.js → hook-6AD3FRKZ.js} +6 -6
- package/dist/{hydrate-Q4FWUQRC.js → hydrate-ZJZPM6YW.js} +3 -3
- package/dist/{init-AT3BQLXM.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-OLXCDNA3.js → move-URV7XIDT.js} +7 -7
- package/dist/{note-JOR53JP4.js → note-S6EGTEIL.js} +5 -5
- package/dist/{overlaps-GXSEH2LG.js → overlaps-4T7NLTJH.js} +5 -5
- package/dist/{pin-DAWKCVB2.js → pin-KKQZ3AR6.js} +5 -5
- package/dist/{pr-RKOVRSHC.js → pr-5ZILTVDM.js} +5 -5
- package/dist/{prune-UYCQOEUF.js → prune-OK23KLHG.js} +16 -14
- package/dist/{prune-UYCQOEUF.js.map → prune-OK23KLHG.js.map} +1 -1
- package/dist/{pty-host-X3QK2LSK.js → pty-host-I5OJGWYA.js} +5 -5
- package/dist/{read-IKDSIDJD.js → read-NHK26F22.js} +5 -5
- package/dist/{recent-2LM44HN2.js → recent-DNSOJQVQ.js} +4 -4
- package/dist/{remove-6XACPXUU.js → remove-TZQVN2EG.js} +15 -13
- package/dist/{remove-6XACPXUU.js.map → remove-TZQVN2EG.js.map} +1 -1
- package/dist/{restart-6ZAFDRBO.js → restart-WHJDPDQA.js} +6 -6
- package/dist/{resume-VA34T7ZR.js → resume-BXIYEZM3.js} +4 -4
- package/dist/{run-E2WZPHHK.js → run-4MQLY3XF.js} +3 -3
- package/dist/{screen-KUXSDDLB.js → screen-URKN7PU6.js} +6 -6
- package/dist/{search-FJUZPI3P.js → search-MNBYJEL7.js} +3 -3
- package/dist/{section-QLUIAYAV.js → section-B3OQFADP.js} +5 -5
- package/dist/{send-V6LL6YR6.js → send-2QTMQQ6E.js} +7 -7
- package/dist/{sessions-MKXREA2M.js → sessions-4B22O45G.js} +12 -12
- package/dist/{snooze-JXI7VZJ4.js → snooze-LSCCM3QT.js} +5 -5
- package/dist/{start-5XFUYT6I.js → start-KVNLZRF5.js} +6 -6
- package/dist/{status-U5HKQ7MY.js → status-UEMXFLZZ.js} +3 -3
- package/dist/{stop-PFI7J2CS.js → stop-NEQBEYEY.js} +6 -6
- package/dist/{sync-MSU7QJWN.js → sync-BHEY6RXE.js} +16 -14
- package/dist/{sync-MSU7QJWN.js.map → sync-BHEY6RXE.js.map} +1 -1
- package/dist/{time-VDRCEIYQ.js → time-ON27QFG4.js} +6 -6
- package/dist/{timesheet-LSRRWV7Z.js → timesheet-HK5CHAA7.js} +8 -8
- package/dist/{tree-MOIO4GQL.js → tree-C5BEEKLO.js} +18 -11
- package/dist/tree-C5BEEKLO.js.map +1 -0
- package/dist/{update-DXIY6BEX.js → update-M4KS23HB.js} +7 -7
- package/dist/{wait-KPH5BQUD.js → wait-5QVWSCOL.js} +6 -6
- package/dist/wd-bin.js +2 -2
- package/dist/web/assets/{PtyView-D1TEpjVE.js → PtyView-TjC4VYWv.js} +2 -2
- package/dist/web/assets/{PtyView-D1TEpjVE.js.map → PtyView-TjC4VYWv.js.map} +1 -1
- package/dist/web/assets/index-BPadZeCm.js +119 -0
- package/dist/web/assets/index-BPadZeCm.js.map +1 -0
- package/dist/web/assets/index-YbJdcXjZ.css +1 -0
- package/dist/web/index.html +2 -2
- package/dist/{web-6AOR3MIE.js → web-5YGNY6MI.js} +746 -147
- package/dist/web-5YGNY6MI.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-4KNBN2OF.js +0 -9
- package/dist/chunk-4MXWNDH7.js.map +0 -1
- package/dist/chunk-B2RCWZUW.js.map +0 -1
- package/dist/chunk-E35NZVPX.js.map +0 -1
- package/dist/chunk-KUWFGPGW.js.map +0 -1
- package/dist/chunk-OQAQMCHF.js.map +0 -1
- package/dist/chunk-OZIR2255.js.map +0 -1
- package/dist/chunk-RQE5UOIW.js.map +0 -1
- package/dist/chunk-ZFPV46FA.js.map +0 -1
- package/dist/tree-MOIO4GQL.js.map +0 -1
- package/dist/web/assets/index-BVeughC2.css +0 -1
- package/dist/web/assets/index-DoMf82kx.js +0 -118
- package/dist/web/assets/index-DoMf82kx.js.map +0 -1
- package/dist/web-6AOR3MIE.js.map +0 -1
- /package/dist/{answer-IL5AQHRO.js.map → answer-OF2QNF4A.js.map} +0 -0
- /package/dist/{attach-MFU4KN47.js.map → attach-PAFAZ2EH.js.map} +0 -0
- /package/dist/{block-OXGEQ2PZ.js.map → block-3LEG4LKJ.js.map} +0 -0
- /package/dist/{broadcast-UJURJNEK.js.map → broadcast-ZDIL7UBP.js.map} +0 -0
- /package/dist/{catchup-HN4VL5XK.js.map → catchup-ZZ5HZJIT.js.map} +0 -0
- /package/dist/{chunk-R7B46WXN.js.map → chunk-3GAYLP7W.js.map} +0 -0
- /package/dist/{chunk-RLR66XLG.js.map → chunk-46VAWZZX.js.map} +0 -0
- /package/dist/{chunk-SH7NSDRW.js.map → chunk-4CVUV2SE.js.map} +0 -0
- /package/dist/{chunk-3XY76XBD.js.map → chunk-62C3CJ5M.js.map} +0 -0
- /package/dist/{chunk-MIIJ2HQS.js.map → chunk-77SVSNME.js.map} +0 -0
- /package/dist/{chunk-YZLNJQAV.js.map → chunk-DLSAAP3S.js.map} +0 -0
- /package/dist/{chunk-EU3BS5A6.js.map → chunk-EXJYPF64.js.map} +0 -0
- /package/dist/{chunk-PUYXTZ32.js.map → chunk-INVFNKU7.js.map} +0 -0
- /package/dist/{chunk-HDO3PXCU.js.map → chunk-KWU35O5S.js.map} +0 -0
- /package/dist/{chunk-U4UB4LG6.js.map → chunk-LBQR7KTC.js.map} +0 -0
- /package/dist/{chunk-YXQIGBL6.js.map → chunk-LGDECE7V.js.map} +0 -0
- /package/dist/{chunk-FX4IA5U4.js.map → chunk-M4YXBQZN.js.map} +0 -0
- /package/dist/{chunk-OOCMPS5L.js.map → chunk-MRXD2NSO.js.map} +0 -0
- /package/dist/{chunk-BSFL3WDR.js.map → chunk-OCDHKDUN.js.map} +0 -0
- /package/dist/{chunk-MVU7JAKG.js.map → chunk-OE34YZFO.js.map} +0 -0
- /package/dist/{chunk-6O6765M7.js.map → chunk-OIQY4OKO.js.map} +0 -0
- /package/dist/{chunk-M7AUWYOP.js.map → chunk-R4M5DDSN.js.map} +0 -0
- /package/dist/{chunk-YJVZ5H3I.js.map → chunk-RK6NHIL6.js.map} +0 -0
- /package/dist/{chunk-427RB7E4.js.map → chunk-TROTIHD5.js.map} +0 -0
- /package/dist/{chunk-KSIXTTO6.js.map → chunk-U4YUMSJY.js.map} +0 -0
- /package/dist/{chunk-7JPCVEOY.js.map → chunk-U5V5J237.js.map} +0 -0
- /package/dist/{chunk-PVN5IGDZ.js.map → chunk-UDOXLAE7.js.map} +0 -0
- /package/dist/{chunk-MI3PS2SH.js.map → chunk-UOSZFFNY.js.map} +0 -0
- /package/dist/{chunk-7GQCPGKQ.js.map → chunk-X6VBITXV.js.map} +0 -0
- /package/dist/{chunk-OW46TR4G.js.map → chunk-XIL4QZFW.js.map} +0 -0
- /package/dist/{chunk-QX4LFFNS.js.map → chunk-ZR2KWY6V.js.map} +0 -0
- /package/dist/{cli-VGUJI5WG.js.map → cli-64TLWGRH.js.map} +0 -0
- /package/dist/{config-SSWYCX4C.js.map → config-MR7UZCST.js.map} +0 -0
- /package/dist/{diff-JBCBQM4I.js.map → diff-URDY6YMT.js.map} +0 -0
- /package/dist/{digest-WCZD6N7M.js.map → digest-D4FEZNLU.js.map} +0 -0
- /package/dist/{fork-RJ3ZPPWT.js.map → fork-7EUVNEB7.js.map} +0 -0
- /package/dist/{hook-CA5X3VKU.js.map → hook-6AD3FRKZ.js.map} +0 -0
- /package/dist/{hydrate-Q4FWUQRC.js.map → hydrate-ZJZPM6YW.js.map} +0 -0
- /package/dist/{init-AT3BQLXM.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-OLXCDNA3.js.map → move-URV7XIDT.js.map} +0 -0
- /package/dist/{note-JOR53JP4.js.map → note-S6EGTEIL.js.map} +0 -0
- /package/dist/{overlaps-GXSEH2LG.js.map → overlaps-4T7NLTJH.js.map} +0 -0
- /package/dist/{pin-DAWKCVB2.js.map → pin-KKQZ3AR6.js.map} +0 -0
- /package/dist/{pr-RKOVRSHC.js.map → pr-5ZILTVDM.js.map} +0 -0
- /package/dist/{pty-host-X3QK2LSK.js.map → pty-host-I5OJGWYA.js.map} +0 -0
- /package/dist/{read-IKDSIDJD.js.map → read-NHK26F22.js.map} +0 -0
- /package/dist/{recent-2LM44HN2.js.map → recent-DNSOJQVQ.js.map} +0 -0
- /package/dist/{restart-6ZAFDRBO.js.map → restart-WHJDPDQA.js.map} +0 -0
- /package/dist/{resume-VA34T7ZR.js.map → resume-BXIYEZM3.js.map} +0 -0
- /package/dist/{run-E2WZPHHK.js.map → run-4MQLY3XF.js.map} +0 -0
- /package/dist/{screen-KUXSDDLB.js.map → screen-URKN7PU6.js.map} +0 -0
- /package/dist/{search-FJUZPI3P.js.map → search-MNBYJEL7.js.map} +0 -0
- /package/dist/{section-QLUIAYAV.js.map → section-B3OQFADP.js.map} +0 -0
- /package/dist/{send-V6LL6YR6.js.map → send-2QTMQQ6E.js.map} +0 -0
- /package/dist/{sessions-MKXREA2M.js.map → sessions-4B22O45G.js.map} +0 -0
- /package/dist/{snooze-JXI7VZJ4.js.map → snooze-LSCCM3QT.js.map} +0 -0
- /package/dist/{start-5XFUYT6I.js.map → start-KVNLZRF5.js.map} +0 -0
- /package/dist/{status-U5HKQ7MY.js.map → status-UEMXFLZZ.js.map} +0 -0
- /package/dist/{stop-PFI7J2CS.js.map → stop-NEQBEYEY.js.map} +0 -0
- /package/dist/{time-VDRCEIYQ.js.map → time-ON27QFG4.js.map} +0 -0
- /package/dist/{timesheet-LSRRWV7Z.js.map → timesheet-HK5CHAA7.js.map} +0 -0
- /package/dist/{update-DXIY6BEX.js.map → update-M4KS23HB.js.map} +0 -0
- /package/dist/{wait-KPH5BQUD.js.map → wait-5QVWSCOL.js.map} +0 -0
|
@@ -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
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-VJNSIDOA.js";
|
|
6
6
|
import {
|
|
7
7
|
cliWaitDeps
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4CVUV2SE.js";
|
|
9
9
|
import {
|
|
10
10
|
parseDuration,
|
|
11
11
|
sendHowText,
|
|
@@ -14,19 +14,19 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
sessionFromArgs,
|
|
16
16
|
sessionPositionals
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EXJYPF64.js";
|
|
18
18
|
import "./chunk-6AQRYLOB.js";
|
|
19
19
|
import {
|
|
20
20
|
callWorkWeb
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-ZR2KWY6V.js";
|
|
22
|
+
import "./chunk-UDOXLAE7.js";
|
|
23
23
|
import "./chunk-ZSHWP2VS.js";
|
|
24
24
|
import "./chunk-E3Y4ZACK.js";
|
|
25
25
|
import "./chunk-HUXS3VAI.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-C7OK4XEZ.js";
|
|
27
27
|
import {
|
|
28
28
|
agentOf
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KTFDSJUD.js";
|
|
30
30
|
import "./chunk-RCYI7SRA.js";
|
|
31
31
|
import "./chunk-NEJVK5CF.js";
|
|
32
32
|
import {
|
|
@@ -85,4 +85,4 @@ var sendCommand = {
|
|
|
85
85
|
export {
|
|
86
86
|
sendCommand
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=send-
|
|
88
|
+
//# sourceMappingURL=send-2QTMQQ6E.js.map
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
lastActiveMs,
|
|
4
4
|
sessionWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-453EGT2R.js";
|
|
6
6
|
import {
|
|
7
7
|
scanChanges
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-OE34YZFO.js";
|
|
9
|
+
import "./chunk-RK6NHIL6.js";
|
|
10
10
|
import {
|
|
11
11
|
timeAgo
|
|
12
12
|
} from "./chunk-UQ35KLHH.js";
|
|
@@ -14,20 +14,20 @@ import "./chunk-AKMPF72Y.js";
|
|
|
14
14
|
import "./chunk-L6RUHCKB.js";
|
|
15
15
|
import {
|
|
16
16
|
statusFromOutput
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-U5V5J237.js";
|
|
18
|
+
import "./chunk-LBQR7KTC.js";
|
|
19
19
|
import {
|
|
20
20
|
PtyHostClient,
|
|
21
21
|
findHost
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-UOSZFFNY.js";
|
|
23
|
+
import "./chunk-TROTIHD5.js";
|
|
24
24
|
import {
|
|
25
25
|
AGE_LABEL,
|
|
26
26
|
DISPLAY_LABEL,
|
|
27
27
|
ageBucket,
|
|
28
28
|
displayStatus
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-62C3CJ5M.js";
|
|
30
|
+
import "./chunk-UDOXLAE7.js";
|
|
31
31
|
import "./chunk-ZSHWP2VS.js";
|
|
32
32
|
import "./chunk-E3Y4ZACK.js";
|
|
33
33
|
import "./chunk-HUXS3VAI.js";
|
|
@@ -35,8 +35,8 @@ import "./chunk-5PAPD6VT.js";
|
|
|
35
35
|
import "./chunk-4KZBZA5D.js";
|
|
36
36
|
import {
|
|
37
37
|
loadHistory
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
39
|
+
import "./chunk-KTFDSJUD.js";
|
|
40
40
|
import "./chunk-RCYI7SRA.js";
|
|
41
41
|
import "./chunk-NEJVK5CF.js";
|
|
42
42
|
import "./chunk-RT4QZRTC.js";
|
|
@@ -135,4 +135,4 @@ export {
|
|
|
135
135
|
sessionRows,
|
|
136
136
|
sessionsCommand
|
|
137
137
|
};
|
|
138
|
-
//# sourceMappingURL=sessions-
|
|
138
|
+
//# sourceMappingURL=sessions-4B22O45G.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
sessionFromArgs,
|
|
4
4
|
sessionPositionals
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EXJYPF64.js";
|
|
6
6
|
import "./chunk-6AQRYLOB.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-UDOXLAE7.js";
|
|
8
8
|
import "./chunk-ZSHWP2VS.js";
|
|
9
9
|
import "./chunk-E3Y4ZACK.js";
|
|
10
10
|
import "./chunk-HUXS3VAI.js";
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
parseWhen,
|
|
14
14
|
requestSnooze,
|
|
15
15
|
snoozeLabel
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
17
|
+
import "./chunk-KTFDSJUD.js";
|
|
18
18
|
import "./chunk-RCYI7SRA.js";
|
|
19
19
|
import "./chunk-NEJVK5CF.js";
|
|
20
20
|
import {
|
|
@@ -63,4 +63,4 @@ var snoozeCommand = {
|
|
|
63
63
|
export {
|
|
64
64
|
snoozeCommand
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=snooze-
|
|
66
|
+
//# sourceMappingURL=snooze-LSCCM3QT.js.map
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
sessionFromArgs,
|
|
4
4
|
sessionPositionals
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EXJYPF64.js";
|
|
6
6
|
import "./chunk-6AQRYLOB.js";
|
|
7
7
|
import {
|
|
8
8
|
callWorkWeb
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ZR2KWY6V.js";
|
|
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 {
|
|
@@ -54,4 +54,4 @@ var startCommand = {
|
|
|
54
54
|
export {
|
|
55
55
|
startCommand
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=start-
|
|
57
|
+
//# sourceMappingURL=start-KVNLZRF5.js.map
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
getSessionsForTarget,
|
|
15
15
|
loadHistory,
|
|
16
16
|
prunePersistedStaleEntries
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
18
|
+
import "./chunk-KTFDSJUD.js";
|
|
19
19
|
import "./chunk-RCYI7SRA.js";
|
|
20
20
|
import "./chunk-NEJVK5CF.js";
|
|
21
21
|
import "./chunk-RT4QZRTC.js";
|
|
@@ -116,4 +116,4 @@ function printSessionStatus(session) {
|
|
|
116
116
|
export {
|
|
117
117
|
statusCommand
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=status-
|
|
119
|
+
//# sourceMappingURL=status-UEMXFLZZ.js.map
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
sessionFromArgs,
|
|
4
4
|
sessionPositionals
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EXJYPF64.js";
|
|
6
6
|
import "./chunk-6AQRYLOB.js";
|
|
7
7
|
import {
|
|
8
8
|
callWorkWeb
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ZR2KWY6V.js";
|
|
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 stopCommand = {
|
|
|
43
43
|
export {
|
|
44
44
|
stopCommand
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=stop-
|
|
46
|
+
//# sourceMappingURL=stop-NEQBEYEY.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";
|
|
@@ -95,4 +97,4 @@ var syncCommand = {
|
|
|
95
97
|
export {
|
|
96
98
|
syncCommand
|
|
97
99
|
};
|
|
98
|
-
//# sourceMappingURL=sync-
|
|
100
|
+
//# sourceMappingURL=sync-BHEY6RXE.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/sync.ts"],"sourcesContent":["import chalk from 'chalk';\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 { printCleanupResults, removable } from './shared/cleanup-print.js';\n\nexport const syncCommand: CommandModule = {\n command: 'sync',\n describe: 'Fetch all repos and remove merged worktrees (non-interactive)',\n builder: (yargs) =>\n yargs\n .option('dry-run', {\n describe: 'Show what would be removed without removing anything',\n type: 'boolean',\n default: false,\n })\n .option('force', {\n describe:\n 'Also remove merged worktrees that have uncommitted changes (those changes are lost). ' +\n 'A worktree with commits the main branch lacks is never removed.',\n type: 'boolean',\n default: false,\n })\n .option('include-squash', {\n describe: 'Also remove branches detected as squash-merged ' + '(default: false — unattended sync requires a true merge)',\n type: 'boolean',\n default: false,\n }),\n handler: async (argv) => {\n const dryRun = argv['dryRun'] as boolean;\n const force = argv['force'] as boolean;\n const includeSquash = argv['includeSquash'] as boolean;\n ensureConfig();\n const deps = defaultCleanupDeps();\n\n console.log(chalk.gray('Fetching all repos and checking worktrees…\\n'));\n const scan = await scanCleanup(deps);\n // A repo whose fetch failed has stale refs: its worktrees were not judged.\n for (const f of scan.fetchFailed)\n console.log(chalk.yellow(` Warning: fetch failed for ${f.alias} — skipping it (refs may be stale): ${f.error}`));\n\n const chosen = removable(scan.candidates, { includeSquash, dirtyToo: force });\n const skippedDirty = removable(scan.candidates, { includeSquash, dirtyToo: true }).length - chosen.length;\n if (chosen.length === 0) {\n console.log(chalk.green('No merged worktrees to remove. Everything is in sync.'));\n if (skippedDirty > 0) console.log(chalk.yellow(`Skipped ${skippedDirty} merged worktree(s) with local changes (use --force).`));\n return;\n }\n console.log(chalk.cyan(`${dryRun ? 'Would remove' : 'Removing'} ${chosen.length} merged worktree(s):`));\n for (const c of chosen) console.log(` ${c.target}: ${c.branch}${c.isGroup ? ' [group]' : ''} — ${c.reason}`);\n console.log('');\n if (dryRun) {\n console.log(chalk.yellow(`Dry run: nothing removed.`));\n return;\n }\n const results = await applyCleanup(\n deps,\n chosen.map((c) => ({ sessionId: c.sessionId, action: c.verdict === 'gone' ? ('forget' as const) : ('delete' as const) })),\n { force },\n );\n printCleanupResults(chosen, results);\n if (skippedDirty > 0) console.log(chalk.yellow(`Skipped ${skippedDirty} merged worktree(s) with local changes (use --force).`));\n // A removal that git refused is a failure for scripts; \"changed since the\n // scan\" is a safe skip, counted in the summary above.\n if (results.some((r) => !r.ok && r.message.startsWith('git refused'))) process.exitCode = 1;\n },\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/commands/sync.ts"],"sourcesContent":["import chalk from 'chalk';\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 { printCleanupResults, removable } from './shared/cleanup-print.js';\n\nexport const syncCommand: CommandModule = {\n command: 'sync',\n describe: 'Fetch all repos and remove merged worktrees (non-interactive)',\n builder: (yargs) =>\n yargs\n .option('dry-run', {\n describe: 'Show what would be removed without removing anything',\n type: 'boolean',\n default: false,\n })\n .option('force', {\n describe:\n 'Also remove merged worktrees that have uncommitted changes (those changes are lost). ' +\n 'A worktree with commits the main branch lacks is never removed.',\n type: 'boolean',\n default: false,\n })\n .option('include-squash', {\n describe: 'Also remove branches detected as squash-merged ' + '(default: false — unattended sync requires a true merge)',\n type: 'boolean',\n default: false,\n }),\n handler: async (argv) => {\n const dryRun = argv['dryRun'] as boolean;\n const force = argv['force'] as boolean;\n const includeSquash = argv['includeSquash'] as boolean;\n ensureConfig();\n const deps = defaultCleanupDeps();\n\n console.log(chalk.gray('Fetching all repos and checking worktrees…\\n'));\n const scan = await scanCleanup(deps);\n // A repo whose fetch failed has stale refs: its worktrees were not judged.\n for (const f of scan.fetchFailed)\n console.log(chalk.yellow(` Warning: fetch failed for ${f.alias} — skipping it (refs may be stale): ${f.error}`));\n\n const chosen = removable(scan.candidates, { includeSquash, dirtyToo: force });\n const skippedDirty = removable(scan.candidates, { includeSquash, dirtyToo: true }).length - chosen.length;\n if (chosen.length === 0) {\n console.log(chalk.green('No merged worktrees to remove. Everything is in sync.'));\n if (skippedDirty > 0) console.log(chalk.yellow(`Skipped ${skippedDirty} merged worktree(s) with local changes (use --force).`));\n return;\n }\n console.log(chalk.cyan(`${dryRun ? 'Would remove' : 'Removing'} ${chosen.length} merged worktree(s):`));\n for (const c of chosen) console.log(` ${c.target}: ${c.branch}${c.isGroup ? ' [group]' : ''} — ${c.reason}`);\n console.log('');\n if (dryRun) {\n console.log(chalk.yellow(`Dry run: nothing removed.`));\n return;\n }\n const results = await applyCleanup(\n deps,\n chosen.map((c) => ({ sessionId: c.sessionId, action: c.verdict === 'gone' ? ('forget' as const) : ('delete' as const) })),\n { force },\n );\n printCleanupResults(chosen, results);\n if (skippedDirty > 0) console.log(chalk.yellow(`Skipped ${skippedDirty} merged worktree(s) with local changes (use --force).`));\n // A removal that git refused is a failure for scripts; \"changed since the\n // scan\" is a safe skip, counted in the summary above.\n if (results.some((r) => !r.ok && r.message.startsWith('git refused'))) process.exitCode = 1;\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,WAAW;AAOX,IAAM,cAA6B;AAAA,EACxC,SAAS;AAAA,EACT,UAAU;AAAA,EACV,SAAS,CAAC,UACR,MACG,OAAO,WAAW;AAAA,IACjB,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EACX,CAAC,EACA,OAAO,SAAS;AAAA,IACf,UACE;AAAA,IAEF,MAAM;AAAA,IACN,SAAS;AAAA,EACX,CAAC,EACA,OAAO,kBAAkB;AAAA,IACxB,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EACX,CAAC;AAAA,EACL,SAAS,OAAO,SAAS;AACvB,UAAM,SAAS,KAAK,QAAQ;AAC5B,UAAM,QAAQ,KAAK,OAAO;AAC1B,UAAM,gBAAgB,KAAK,eAAe;AAC1C,iBAAa;AACb,UAAM,OAAO,mBAAmB;AAEhC,YAAQ,IAAI,MAAM,KAAK,mDAA8C,CAAC;AACtE,UAAM,OAAO,MAAM,YAAY,IAAI;AAEnC,eAAW,KAAK,KAAK;AACnB,cAAQ,IAAI,MAAM,OAAO,+BAA+B,EAAE,KAAK,4CAAuC,EAAE,KAAK,EAAE,CAAC;AAElH,UAAM,SAAS,UAAU,KAAK,YAAY,EAAE,eAAe,UAAU,MAAM,CAAC;AAC5E,UAAM,eAAe,UAAU,KAAK,YAAY,EAAE,eAAe,UAAU,KAAK,CAAC,EAAE,SAAS,OAAO;AACnG,QAAI,OAAO,WAAW,GAAG;AACvB,cAAQ,IAAI,MAAM,MAAM,uDAAuD,CAAC;AAChF,UAAI,eAAe,EAAG,SAAQ,IAAI,MAAM,OAAO,WAAW,YAAY,uDAAuD,CAAC;AAC9H;AAAA,IACF;AACA,YAAQ,IAAI,MAAM,KAAK,GAAG,SAAS,iBAAiB,UAAU,IAAI,OAAO,MAAM,sBAAsB,CAAC;AACtG,eAAW,KAAK,OAAQ,SAAQ,IAAI,KAAK,EAAE,MAAM,KAAK,EAAE,MAAM,GAAG,EAAE,UAAU,aAAa,EAAE,WAAM,EAAE,MAAM,EAAE;AAC5G,YAAQ,IAAI,EAAE;AACd,QAAI,QAAQ;AACV,cAAQ,IAAI,MAAM,OAAO,2BAA2B,CAAC;AACrD;AAAA,IACF;AACA,UAAM,UAAU,MAAM;AAAA,MACpB;AAAA,MACA,OAAO,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,WAAW,QAAQ,EAAE,YAAY,SAAU,WAAsB,SAAmB,EAAE;AAAA,MACxH,EAAE,MAAM;AAAA,IACV;AACA,wBAAoB,QAAQ,OAAO;AACnC,QAAI,eAAe,EAAG,SAAQ,IAAI,MAAM,OAAO,WAAW,YAAY,uDAAuD,CAAC;AAG9H,QAAI,QAAQ,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,WAAW,aAAa,CAAC,EAAG,SAAQ,WAAW;AAAA,EAC5F;AACF;","names":[]}
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
} from "./chunk-LPJEV4R2.js";
|
|
8
8
|
import {
|
|
9
9
|
sessionWorkTime
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LGDECE7V.js";
|
|
11
11
|
import {
|
|
12
12
|
sessionFromArgs,
|
|
13
13
|
sessionPositionals
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EXJYPF64.js";
|
|
15
15
|
import "./chunk-6AQRYLOB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-UDOXLAE7.js";
|
|
17
17
|
import "./chunk-ZSHWP2VS.js";
|
|
18
18
|
import "./chunk-E3Y4ZACK.js";
|
|
19
19
|
import "./chunk-HUXS3VAI.js";
|
|
20
20
|
import {
|
|
21
21
|
loadHistory
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-C7OK4XEZ.js";
|
|
23
|
+
import "./chunk-KTFDSJUD.js";
|
|
24
24
|
import "./chunk-RCYI7SRA.js";
|
|
25
25
|
import {
|
|
26
26
|
dayKey,
|
|
@@ -112,4 +112,4 @@ var timeCommand = {
|
|
|
112
112
|
export {
|
|
113
113
|
timeCommand
|
|
114
114
|
};
|
|
115
|
-
//# sourceMappingURL=time-
|
|
115
|
+
//# sourceMappingURL=time-ON27QFG4.js.map
|