@moberg_hr/work-tree 2.23.1 → 2.23.2
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/{account-O62WFR7C.js → account-6ZQ3VFA2.js} +15 -13
- package/dist/{account-O62WFR7C.js.map → account-6ZQ3VFA2.js.map} +1 -1
- package/dist/{add-repo-FTAMMPVM.js → add-repo-WXDEKZRX.js} +6 -6
- package/dist/{answer-LKNMN2ZM.js → answer-L55DWMR5.js} +4 -4
- package/dist/{attach-A3KA4YTK.js → attach-KLVI7BHS.js} +9 -9
- package/dist/bin.js +2 -2
- package/dist/{block-3ZUFH2RO.js → block-BRNRP226.js} +6 -6
- package/dist/{broadcast-I23BZI3R.js → broadcast-GQE7H3MF.js} +2 -2
- package/dist/{catchup-G4EOJIZP.js → catchup-ZMG4OWF2.js} +7 -7
- package/dist/{child-MVNEFA2I.js → child-MPXXJ2QX.js} +4 -4
- package/dist/{chunk-N7T6NPE2.js → chunk-6S3DYLGH.js} +4 -4
- package/dist/{chunk-ZLPK2LQ3.js → chunk-7BH2PUYY.js} +3 -3
- package/dist/{chunk-NXS53NHR.js → chunk-7HQSILMM.js} +4 -4
- package/dist/{chunk-4HQEYZIM.js → chunk-A53OR6P5.js} +3 -3
- package/dist/{chunk-5QENUGSC.js → chunk-BBI4YQTS.js} +5 -5
- package/dist/{chunk-GHY7GZWN.js → chunk-BGQ6NUU7.js} +3 -3
- package/dist/{chunk-BI7HIO2I.js → chunk-BZOYUBK4.js} +2 -2
- package/dist/{chunk-6PZ7RCXK.js → chunk-C5BBVVHW.js} +2 -2
- package/dist/{chunk-INXHVNMZ.js → chunk-CRAGAIOS.js} +5 -5
- package/dist/{chunk-HQDQRC4F.js → chunk-DK3UMOX7.js} +2 -2
- package/dist/{chunk-TL7VLRRF.js → chunk-DNC2ZJOF.js} +3 -3
- package/dist/chunk-DYKA3LO3.js +9 -0
- package/dist/{chunk-MQXMYVZV.js → chunk-G4VKMMIC.js} +8 -8
- package/dist/{chunk-ZX4ONO5Y.js → chunk-HBYXSFLN.js} +4 -4
- package/dist/{chunk-HPUD5IGB.js → chunk-HO5KESIB.js} +2 -2
- package/dist/{chunk-4FN45EAF.js → chunk-HUGHF45U.js} +2 -2
- package/dist/{chunk-5SXTMOO6.js → chunk-IUVMVNIO.js} +4 -4
- package/dist/chunk-JVOQSU6R.js +151 -0
- package/dist/chunk-JVOQSU6R.js.map +1 -0
- package/dist/{chunk-OPV6BE3W.js → chunk-K6FD5WDW.js} +4 -4
- package/dist/{chunk-ET5K6S5H.js → chunk-KJAE7WO5.js} +21 -10
- package/dist/chunk-KJAE7WO5.js.map +1 -0
- package/dist/{chunk-IXZOZZGD.js → chunk-KWJ6S4NZ.js} +2 -2
- package/dist/{chunk-U4XSBYQW.js → chunk-LCYYJFSZ.js} +3 -3
- package/dist/{chunk-ZMJR4Z6O.js → chunk-LOFGDH5B.js} +2 -2
- package/dist/{chunk-YKTJL4SW.js → chunk-LW6VCL6S.js} +5 -5
- package/dist/{chunk-44QJVFOF.js → chunk-M2P722BR.js} +2 -2
- package/dist/{chunk-VH5FRKJM.js → chunk-MMEFW2PI.js} +2 -2
- package/dist/{chunk-ETAPX4JN.js → chunk-MYASALCU.js} +3 -3
- package/dist/{chunk-DHZ5DF6Y.js → chunk-MYXEX6BB.js} +2 -1
- package/dist/{chunk-WOY35FXP.js → chunk-NLU6MBYT.js} +8 -6
- package/dist/chunk-NLU6MBYT.js.map +1 -0
- package/dist/{chunk-W5YYTITQ.js → chunk-P53UYZZ4.js} +2 -2
- package/dist/{chunk-U2A2DHWP.js → chunk-PSALWCBD.js} +2 -2
- package/dist/{chunk-IVS2MAHD.js → chunk-QAIG5FSQ.js} +2 -2
- package/dist/{chunk-2MJQTFTI.js → chunk-QMWV4UKB.js} +3 -3
- package/dist/{chunk-MVBBESXK.js → chunk-QSSCVTFG.js} +3 -3
- package/dist/{chunk-ZNRPBP5O.js → chunk-RGKGJOES.js} +135 -4
- package/dist/chunk-RGKGJOES.js.map +1 -0
- package/dist/{chunk-24FQ5XXN.js → chunk-SF3DIIKN.js} +3 -3
- package/dist/{chunk-GTFMUWK6.js → chunk-SUHANL3G.js} +3 -3
- package/dist/{chunk-XTAYJDL2.js → chunk-VNZBFVGY.js} +3 -3
- package/dist/{chunk-IXC6EXVJ.js → chunk-VPZ5ILKT.js} +3 -3
- package/dist/{chunk-FHC6KHIH.js → chunk-VQEMPGJL.js} +2 -2
- package/dist/{chunk-2FNYJEOH.js → chunk-WH6DAD6D.js} +2 -2
- package/dist/{chunk-GN7EAXHU.js → chunk-XB4SCJWD.js} +82 -20
- package/dist/chunk-XB4SCJWD.js.map +1 -0
- package/dist/{chunk-HUWWMTNG.js → chunk-XL4YNA3L.js} +1 -1
- package/dist/chunk-XL4YNA3L.js.map +1 -0
- package/dist/{chunk-HNZ736XN.js → chunk-XT3FON6A.js} +2 -2
- package/dist/{chunk-ROEEXEN7.js → chunk-XWUX474Q.js} +4 -150
- package/dist/chunk-XWUX474Q.js.map +1 -0
- package/dist/{chunk-XWKN2HJD.js → chunk-ZHK5XOV5.js} +56 -56
- package/dist/{chunk-IRDWXDID.js → chunk-ZPDCVDE2.js} +2 -2
- package/dist/{cleanup-ANVUCOBK.js → cleanup-DRELB6UC.js} +22 -22
- package/dist/{cli-CAF6VCVO.js → cli-C3U2BC44.js} +3 -3
- package/dist/{color-7CQNI6Y4.js → color-T75ANAWG.js} +4 -4
- package/dist/{config-EXQY26W4.js → config-KI6JOXKW.js} +3 -3
- package/dist/{coordinate-LRY7LXS6.js → coordinate-4PPZN4U4.js} +5 -5
- package/dist/{diff-JRK3AUD5.js → diff-NDZPRQV7.js} +4 -4
- package/dist/{digest-2AFW3WBL.js → digest-H5YFX5WR.js} +4 -4
- package/dist/{fork-DSNMPWUE.js → fork-HHHATXVI.js} +18 -18
- package/dist/{history-RFIDCGQY.js → history-3Z7AS2AC.js} +2 -2
- package/dist/{hook-XBALB337.js → hook-KOK7NKCO.js} +8 -8
- package/dist/{hydrate-DAEY4PB6.js → hydrate-VI3XSZQH.js} +2 -2
- package/dist/{init-4BK3T34W.js → init-7NOKRHNJ.js} +6 -6
- package/dist/{keep-57TUKADV.js → keep-G62GSDOQ.js} +4 -4
- package/dist/{list-DRQRIT6U.js → list-CEVAZQ4V.js} +2 -2
- package/dist/{move-UEHJ375P.js → move-ISAW6RDM.js} +7 -7
- package/dist/{note-FHPDVBRI.js → note-YIVFXTGM.js} +4 -4
- package/dist/{overlaps-GKAKEUB6.js → overlaps-YBEHBRRK.js} +5 -5
- package/dist/{pin-CFTQDPPC.js → pin-J4IDSHRG.js} +4 -4
- package/dist/{pr-ZP4COZEZ.js → pr-Z7CPBBGT.js} +13 -13
- package/dist/{prune-IQB2T45B.js → prune-UA3UDZSM.js} +19 -19
- package/dist/{pty-host-BPFGJFBC.js → pty-host-JIQUP62K.js} +49 -7
- package/dist/pty-host-JIQUP62K.js.map +1 -0
- package/dist/{read-DHJ6VY44.js → read-DG4PCLFH.js} +4 -4
- package/dist/{recent-OZW2ZNJ4.js → recent-PGD6QYAH.js} +7 -7
- package/dist/{remove-MW25RLNV.js → remove-TPLA64HP.js} +20 -20
- package/dist/{report-II75EKM6.js → report-K3OTT2ED.js} +4 -4
- package/dist/{restart-4BGVRBX6.js → restart-477IX2JX.js} +4 -4
- package/dist/{resume-4J53KDCO.js → resume-OYBAJCYE.js} +7 -7
- package/dist/{review-WKB3K6LI.js → review-6PWFSBAO.js} +3 -3
- package/dist/{run-YS2D7WAQ.js → run-XEHF2N4A.js} +2 -2
- package/dist/{screen-VVRNQXVW.js → screen-SFU6TCDV.js} +4 -4
- package/dist/{search-MKYCKZF4.js → search-VJ3BGWPX.js} +2 -2
- package/dist/{section-Y6RDD3MN.js → section-ZLINSTGS.js} +4 -4
- package/dist/{send-AZM2XKN2.js → send-NBP2WYBG.js} +5 -5
- package/dist/{sessions-OER6VNQJ.js → sessions-UT4I7A43.js} +14 -14
- package/dist/{show-33VV3XCF.js → show-RK2EWOR6.js} +3 -3
- package/dist/{snooze-OFYZVVYS.js → snooze-T2WWIKZN.js} +4 -4
- package/dist/{start-OEQ5VW7Y.js → start-AWHOIA3Q.js} +4 -4
- package/dist/{status-HPYMNO2T.js → status-QE2DA6RR.js} +5 -5
- package/dist/{stop-QNICDWAU.js → stop-YOU3P3ZR.js} +4 -4
- package/dist/{sync-RH3M47QK.js → sync-74EFTPBJ.js} +19 -19
- package/dist/{time-PM72GK5W.js → time-ZGMZZ5OY.js} +5 -5
- package/dist/{time-actions-O3MCB7FU.js → time-actions-VAGRSY5B.js} +2 -2
- package/dist/{timesheet-HJXQ4KHL.js → timesheet-N74LPF5M.js} +11 -10
- package/dist/timesheet-N74LPF5M.js.map +1 -0
- package/dist/{tree-RGT736E3.js → tree-FXTCWC6D.js} +18 -18
- package/dist/{update-CMYVBWV3.js → update-5QSRHIWH.js} +9 -9
- package/dist/{usage-VEKD3JPL.js → usage-CW7CDFU3.js} +4 -4
- package/dist/{wait-RQZU3KDY.js → wait-XXC3I6DK.js} +5 -5
- package/dist/wd-bin.js +2 -2
- package/dist/web/assets/{PtyView-qP6blm2-.js → PtyView-BLTE5F3E.js} +2 -2
- package/dist/web/assets/{PtyView-qP6blm2-.js.map → PtyView-BLTE5F3E.js.map} +1 -1
- package/dist/web/assets/{index-DuFRboh6.js → index-BiadbzE6.js} +59 -59
- package/dist/web/assets/index-BiadbzE6.js.map +1 -0
- package/dist/web/assets/{index-yBTfBzDm.css → index-CfTmdABt.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/{web-GOCU26ZD.js → web-SUSR4IAK.js} +87 -54
- package/dist/web-SUSR4IAK.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-ET5K6S5H.js.map +0 -1
- package/dist/chunk-GN7EAXHU.js.map +0 -1
- package/dist/chunk-HUWWMTNG.js.map +0 -1
- package/dist/chunk-NRX5V443.js +0 -9
- package/dist/chunk-ROEEXEN7.js.map +0 -1
- package/dist/chunk-WOY35FXP.js.map +0 -1
- package/dist/chunk-ZNRPBP5O.js.map +0 -1
- package/dist/pty-host-BPFGJFBC.js.map +0 -1
- package/dist/timesheet-HJXQ4KHL.js.map +0 -1
- package/dist/web/assets/index-DuFRboh6.js.map +0 -1
- package/dist/web-GOCU26ZD.js.map +0 -1
- /package/dist/{add-repo-FTAMMPVM.js.map → add-repo-WXDEKZRX.js.map} +0 -0
- /package/dist/{answer-LKNMN2ZM.js.map → answer-L55DWMR5.js.map} +0 -0
- /package/dist/{attach-A3KA4YTK.js.map → attach-KLVI7BHS.js.map} +0 -0
- /package/dist/{block-3ZUFH2RO.js.map → block-BRNRP226.js.map} +0 -0
- /package/dist/{broadcast-I23BZI3R.js.map → broadcast-GQE7H3MF.js.map} +0 -0
- /package/dist/{catchup-G4EOJIZP.js.map → catchup-ZMG4OWF2.js.map} +0 -0
- /package/dist/{child-MVNEFA2I.js.map → child-MPXXJ2QX.js.map} +0 -0
- /package/dist/{chunk-N7T6NPE2.js.map → chunk-6S3DYLGH.js.map} +0 -0
- /package/dist/{chunk-ZLPK2LQ3.js.map → chunk-7BH2PUYY.js.map} +0 -0
- /package/dist/{chunk-NXS53NHR.js.map → chunk-7HQSILMM.js.map} +0 -0
- /package/dist/{chunk-4HQEYZIM.js.map → chunk-A53OR6P5.js.map} +0 -0
- /package/dist/{chunk-5QENUGSC.js.map → chunk-BBI4YQTS.js.map} +0 -0
- /package/dist/{chunk-GHY7GZWN.js.map → chunk-BGQ6NUU7.js.map} +0 -0
- /package/dist/{chunk-BI7HIO2I.js.map → chunk-BZOYUBK4.js.map} +0 -0
- /package/dist/{chunk-6PZ7RCXK.js.map → chunk-C5BBVVHW.js.map} +0 -0
- /package/dist/{chunk-INXHVNMZ.js.map → chunk-CRAGAIOS.js.map} +0 -0
- /package/dist/{chunk-HQDQRC4F.js.map → chunk-DK3UMOX7.js.map} +0 -0
- /package/dist/{chunk-TL7VLRRF.js.map → chunk-DNC2ZJOF.js.map} +0 -0
- /package/dist/{chunk-NRX5V443.js.map → chunk-DYKA3LO3.js.map} +0 -0
- /package/dist/{chunk-MQXMYVZV.js.map → chunk-G4VKMMIC.js.map} +0 -0
- /package/dist/{chunk-ZX4ONO5Y.js.map → chunk-HBYXSFLN.js.map} +0 -0
- /package/dist/{chunk-HPUD5IGB.js.map → chunk-HO5KESIB.js.map} +0 -0
- /package/dist/{chunk-4FN45EAF.js.map → chunk-HUGHF45U.js.map} +0 -0
- /package/dist/{chunk-5SXTMOO6.js.map → chunk-IUVMVNIO.js.map} +0 -0
- /package/dist/{chunk-OPV6BE3W.js.map → chunk-K6FD5WDW.js.map} +0 -0
- /package/dist/{chunk-IXZOZZGD.js.map → chunk-KWJ6S4NZ.js.map} +0 -0
- /package/dist/{chunk-U4XSBYQW.js.map → chunk-LCYYJFSZ.js.map} +0 -0
- /package/dist/{chunk-ZMJR4Z6O.js.map → chunk-LOFGDH5B.js.map} +0 -0
- /package/dist/{chunk-YKTJL4SW.js.map → chunk-LW6VCL6S.js.map} +0 -0
- /package/dist/{chunk-44QJVFOF.js.map → chunk-M2P722BR.js.map} +0 -0
- /package/dist/{chunk-VH5FRKJM.js.map → chunk-MMEFW2PI.js.map} +0 -0
- /package/dist/{chunk-ETAPX4JN.js.map → chunk-MYASALCU.js.map} +0 -0
- /package/dist/{chunk-DHZ5DF6Y.js.map → chunk-MYXEX6BB.js.map} +0 -0
- /package/dist/{chunk-W5YYTITQ.js.map → chunk-P53UYZZ4.js.map} +0 -0
- /package/dist/{chunk-U2A2DHWP.js.map → chunk-PSALWCBD.js.map} +0 -0
- /package/dist/{chunk-IVS2MAHD.js.map → chunk-QAIG5FSQ.js.map} +0 -0
- /package/dist/{chunk-2MJQTFTI.js.map → chunk-QMWV4UKB.js.map} +0 -0
- /package/dist/{chunk-MVBBESXK.js.map → chunk-QSSCVTFG.js.map} +0 -0
- /package/dist/{chunk-24FQ5XXN.js.map → chunk-SF3DIIKN.js.map} +0 -0
- /package/dist/{chunk-GTFMUWK6.js.map → chunk-SUHANL3G.js.map} +0 -0
- /package/dist/{chunk-XTAYJDL2.js.map → chunk-VNZBFVGY.js.map} +0 -0
- /package/dist/{chunk-IXC6EXVJ.js.map → chunk-VPZ5ILKT.js.map} +0 -0
- /package/dist/{chunk-FHC6KHIH.js.map → chunk-VQEMPGJL.js.map} +0 -0
- /package/dist/{chunk-2FNYJEOH.js.map → chunk-WH6DAD6D.js.map} +0 -0
- /package/dist/{chunk-HNZ736XN.js.map → chunk-XT3FON6A.js.map} +0 -0
- /package/dist/{chunk-XWKN2HJD.js.map → chunk-ZHK5XOV5.js.map} +0 -0
- /package/dist/{chunk-IRDWXDID.js.map → chunk-ZPDCVDE2.js.map} +0 -0
- /package/dist/{cleanup-ANVUCOBK.js.map → cleanup-DRELB6UC.js.map} +0 -0
- /package/dist/{cli-CAF6VCVO.js.map → cli-C3U2BC44.js.map} +0 -0
- /package/dist/{color-7CQNI6Y4.js.map → color-T75ANAWG.js.map} +0 -0
- /package/dist/{config-EXQY26W4.js.map → config-KI6JOXKW.js.map} +0 -0
- /package/dist/{coordinate-LRY7LXS6.js.map → coordinate-4PPZN4U4.js.map} +0 -0
- /package/dist/{diff-JRK3AUD5.js.map → diff-NDZPRQV7.js.map} +0 -0
- /package/dist/{digest-2AFW3WBL.js.map → digest-H5YFX5WR.js.map} +0 -0
- /package/dist/{fork-DSNMPWUE.js.map → fork-HHHATXVI.js.map} +0 -0
- /package/dist/{history-RFIDCGQY.js.map → history-3Z7AS2AC.js.map} +0 -0
- /package/dist/{hook-XBALB337.js.map → hook-KOK7NKCO.js.map} +0 -0
- /package/dist/{hydrate-DAEY4PB6.js.map → hydrate-VI3XSZQH.js.map} +0 -0
- /package/dist/{init-4BK3T34W.js.map → init-7NOKRHNJ.js.map} +0 -0
- /package/dist/{keep-57TUKADV.js.map → keep-G62GSDOQ.js.map} +0 -0
- /package/dist/{list-DRQRIT6U.js.map → list-CEVAZQ4V.js.map} +0 -0
- /package/dist/{move-UEHJ375P.js.map → move-ISAW6RDM.js.map} +0 -0
- /package/dist/{note-FHPDVBRI.js.map → note-YIVFXTGM.js.map} +0 -0
- /package/dist/{overlaps-GKAKEUB6.js.map → overlaps-YBEHBRRK.js.map} +0 -0
- /package/dist/{pin-CFTQDPPC.js.map → pin-J4IDSHRG.js.map} +0 -0
- /package/dist/{pr-ZP4COZEZ.js.map → pr-Z7CPBBGT.js.map} +0 -0
- /package/dist/{prune-IQB2T45B.js.map → prune-UA3UDZSM.js.map} +0 -0
- /package/dist/{read-DHJ6VY44.js.map → read-DG4PCLFH.js.map} +0 -0
- /package/dist/{recent-OZW2ZNJ4.js.map → recent-PGD6QYAH.js.map} +0 -0
- /package/dist/{remove-MW25RLNV.js.map → remove-TPLA64HP.js.map} +0 -0
- /package/dist/{report-II75EKM6.js.map → report-K3OTT2ED.js.map} +0 -0
- /package/dist/{restart-4BGVRBX6.js.map → restart-477IX2JX.js.map} +0 -0
- /package/dist/{resume-4J53KDCO.js.map → resume-OYBAJCYE.js.map} +0 -0
- /package/dist/{review-WKB3K6LI.js.map → review-6PWFSBAO.js.map} +0 -0
- /package/dist/{run-YS2D7WAQ.js.map → run-XEHF2N4A.js.map} +0 -0
- /package/dist/{screen-VVRNQXVW.js.map → screen-SFU6TCDV.js.map} +0 -0
- /package/dist/{search-MKYCKZF4.js.map → search-VJ3BGWPX.js.map} +0 -0
- /package/dist/{section-Y6RDD3MN.js.map → section-ZLINSTGS.js.map} +0 -0
- /package/dist/{send-AZM2XKN2.js.map → send-NBP2WYBG.js.map} +0 -0
- /package/dist/{sessions-OER6VNQJ.js.map → sessions-UT4I7A43.js.map} +0 -0
- /package/dist/{show-33VV3XCF.js.map → show-RK2EWOR6.js.map} +0 -0
- /package/dist/{snooze-OFYZVVYS.js.map → snooze-T2WWIKZN.js.map} +0 -0
- /package/dist/{start-OEQ5VW7Y.js.map → start-AWHOIA3Q.js.map} +0 -0
- /package/dist/{status-HPYMNO2T.js.map → status-QE2DA6RR.js.map} +0 -0
- /package/dist/{stop-QNICDWAU.js.map → stop-YOU3P3ZR.js.map} +0 -0
- /package/dist/{sync-RH3M47QK.js.map → sync-74EFTPBJ.js.map} +0 -0
- /package/dist/{time-PM72GK5W.js.map → time-ZGMZZ5OY.js.map} +0 -0
- /package/dist/{time-actions-O3MCB7FU.js.map → time-actions-VAGRSY5B.js.map} +0 -0
- /package/dist/{tree-RGT736E3.js.map → tree-FXTCWC6D.js.map} +0 -0
- /package/dist/{update-CMYVBWV3.js.map → update-5QSRHIWH.js.map} +0 -0
- /package/dist/{usage-VEKD3JPL.js.map → usage-CW7CDFU3.js.map} +0 -0
- /package/dist/{wait-RQZU3KDY.js.map → wait-XXC3I6DK.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
DISPLAY_LABEL,
|
|
7
7
|
displayStatus
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DK3UMOX7.js";
|
|
9
9
|
import {
|
|
10
10
|
workCommand
|
|
11
11
|
} from "./chunk-HK6AZQ5Z.js";
|
|
@@ -167,4 +167,4 @@ export {
|
|
|
167
167
|
assistantContextReview,
|
|
168
168
|
readAssistantContext
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-XT3FON6A.js.map
|
|
@@ -1,28 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
agentsBySession
|
|
4
|
-
} from "./chunk-NXS53NHR.js";
|
|
5
|
-
import {
|
|
6
|
-
accountSwitchRefusal,
|
|
7
|
-
haltPty,
|
|
8
|
-
peekPty,
|
|
9
|
-
ptyPid,
|
|
10
|
-
ptyPids,
|
|
11
|
-
resumePtyOnAccount
|
|
12
|
-
} from "./chunk-5QENUGSC.js";
|
|
13
|
-
import {
|
|
14
|
-
findSession
|
|
15
|
-
} from "./chunk-6PZ7RCXK.js";
|
|
16
|
-
import {
|
|
17
|
-
isArchiving,
|
|
18
|
-
loadHistory,
|
|
19
|
-
setSessionAccount
|
|
20
|
-
} from "./chunk-HUWWMTNG.js";
|
|
21
|
-
import {
|
|
22
|
-
AccountAdminError,
|
|
23
|
-
agentOf,
|
|
24
|
-
liveAgents
|
|
25
|
-
} from "./chunk-NWKVTUTN.js";
|
|
26
2
|
|
|
27
3
|
// src/core/sessions/account-switch-rules.ts
|
|
28
4
|
function switchRefusal(to, f) {
|
|
@@ -195,9 +171,9 @@ async function continueWhenReady(id, io, opts = {}) {
|
|
|
195
171
|
}
|
|
196
172
|
return false;
|
|
197
173
|
}
|
|
198
|
-
function accountSwitchNote(activity,
|
|
174
|
+
function accountSwitchNote(activity, label) {
|
|
199
175
|
return (id, text, level) => {
|
|
200
|
-
const name =
|
|
176
|
+
const name = label(id);
|
|
201
177
|
const run = activity.start("accounts", "Switching a Claude account");
|
|
202
178
|
run.note(`${name ?? id}: ${text}`, { level, sessionId: name ? id : void 0 });
|
|
203
179
|
if (level === "warn") run.fail(text);
|
|
@@ -205,132 +181,10 @@ function accountSwitchNote(activity, label2) {
|
|
|
205
181
|
};
|
|
206
182
|
}
|
|
207
183
|
|
|
208
|
-
// src/core/sessions/account-switch-deps.ts
|
|
209
|
-
import path from "path";
|
|
210
|
-
function defaultAccountSwitchDeps(opts) {
|
|
211
|
-
return {
|
|
212
|
-
session: findSession,
|
|
213
|
-
beingArchived: isArchiving,
|
|
214
|
-
accounts: (s) => {
|
|
215
|
-
const accounts = agentOf(s).accounts;
|
|
216
|
-
return accounts ? { list: accounts.list(), current: accounts.current(s) } : null;
|
|
217
|
-
},
|
|
218
|
-
switchFiles: (s, to) => {
|
|
219
|
-
const accounts = agentOf(s).accounts;
|
|
220
|
-
if (!accounts) throw new Error("its agent has no accounts");
|
|
221
|
-
return accounts.switchFiles(s, to);
|
|
222
|
-
},
|
|
223
|
-
record: async (s, to) => {
|
|
224
|
-
if (!await setSessionAccount(s.target, s.branch, to)) throw new Error("unknown session");
|
|
225
|
-
},
|
|
226
|
-
hostRuns: peekPty,
|
|
227
|
-
// Claude Code's process files say one runs for it that isn't the host's (terminal-ws.ts, session-control-routes.ts).
|
|
228
|
-
runningOutside: (id) => {
|
|
229
|
-
const hostPids = ptyPids();
|
|
230
|
-
return (agentsBySession(liveAgents(), loadHistory()).get(id) ?? []).some((c) => !hostPids.has(c.pid));
|
|
231
|
-
},
|
|
232
|
-
othersRunningIn: (s, id) => {
|
|
233
|
-
const folders = agentOf(s).accounts?.folders(s) ?? [];
|
|
234
|
-
if (!folders.length) return null;
|
|
235
|
-
const own = ptyPid(id);
|
|
236
|
-
const key = (p) => {
|
|
237
|
-
const r = path.resolve(p).replace(/[\\/]+$/, "");
|
|
238
|
-
return process.platform === "win32" ? r.toLowerCase() : r;
|
|
239
|
-
};
|
|
240
|
-
const wanted = new Map(folders.map((f) => [key(f), f]));
|
|
241
|
-
const other = liveAgents().find((a) => a.pid !== own && wanted.has(key(a.cwd)));
|
|
242
|
-
return other ? wanted.get(key(other.cwd)) ?? other.cwd : null;
|
|
243
|
-
},
|
|
244
|
-
hostRefusal: accountSwitchRefusal,
|
|
245
|
-
halt: haltPty,
|
|
246
|
-
resume: resumePtyOnAccount,
|
|
247
|
-
...opts
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
// src/core/sessions/account-users.ts
|
|
252
|
-
var label = (s) => `${s.target} \xB7 ${s.branch}`;
|
|
253
|
-
function sessionsOnAccount(name, accounts, sessions = loadHistory()) {
|
|
254
|
-
const on = sessions.filter((s) => agentOf(s).accounts === accounts && accounts.current(s) === name);
|
|
255
|
-
return { live: on.filter((s) => !s.archivedAt).map(label), archived: on.filter((s) => s.archivedAt).map(label) };
|
|
256
|
-
}
|
|
257
|
-
async function removeAgentAccount(accounts, name, opts = {}) {
|
|
258
|
-
if (!accounts.admin) throw new AccountAdminError("its accounts are not managed by work");
|
|
259
|
-
await accounts.admin.remove(name, () => {
|
|
260
|
-
const users = sessionsOnAccount(name, accounts, opts.sessions ? opts.sessions() : loadHistory());
|
|
261
|
-
return opts.force ? { live: users.live, archived: [] } : users;
|
|
262
|
-
});
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
// src/core/sessions/account-admin.ts
|
|
266
|
-
function accountOverview(accounts, readings, sessions = loadHistory()) {
|
|
267
|
-
return accounts.list().map((a) => {
|
|
268
|
-
const users = sessionsOnAccount(a.name, accounts, sessions);
|
|
269
|
-
return {
|
|
270
|
-
name: a.name,
|
|
271
|
-
dir: a.dir,
|
|
272
|
-
isDefault: a.isDefault,
|
|
273
|
-
loggedIn: a.loggedIn,
|
|
274
|
-
live: users.live,
|
|
275
|
-
archived: users.archived,
|
|
276
|
-
usage: readings.find((r) => r.account === a.name) ?? null
|
|
277
|
-
};
|
|
278
|
-
});
|
|
279
|
-
}
|
|
280
|
-
function adminOf(accounts) {
|
|
281
|
-
if (!accounts?.admin) throw new AccountAdminError("its accounts are not managed by work");
|
|
282
|
-
return accounts.admin;
|
|
283
|
-
}
|
|
284
|
-
async function addAgentAccount(accounts, name, folder) {
|
|
285
|
-
return adminOf(accounts).add(name, folder?.trim() || void 0);
|
|
286
|
-
}
|
|
287
|
-
async function setDefaultAgentAccount(accounts, name) {
|
|
288
|
-
return adminOf(accounts).setDefault(name);
|
|
289
|
-
}
|
|
290
|
-
function createAccountLogins(deps) {
|
|
291
|
-
const installed = /* @__PURE__ */ new Set();
|
|
292
|
-
const installing = /* @__PURE__ */ new Set();
|
|
293
|
-
return {
|
|
294
|
-
async start(name) {
|
|
295
|
-
if (!deps.has(name)) throw new AccountAdminError(`no account \u201C${name}\u201D`);
|
|
296
|
-
return deps.start(name);
|
|
297
|
-
},
|
|
298
|
-
async stop(name) {
|
|
299
|
-
await deps.stop(name);
|
|
300
|
-
if (!deps.has(name) || installed.has(name) || installing.has(name)) return { skills: null };
|
|
301
|
-
installing.add(name);
|
|
302
|
-
const skills = deps.installSkills(name).catch((e) => ({ ok: false, message: e instanceof Error ? e.message : String(e) })).then((r) => {
|
|
303
|
-
installing.delete(name);
|
|
304
|
-
if (r.ok) installed.add(name);
|
|
305
|
-
deps.note?.(name, r);
|
|
306
|
-
return r;
|
|
307
|
-
});
|
|
308
|
-
return { skills };
|
|
309
|
-
}
|
|
310
|
-
};
|
|
311
|
-
}
|
|
312
|
-
function accountSkillsNote(activity) {
|
|
313
|
-
return (name, r) => {
|
|
314
|
-
const run = activity.start("accounts", `Work's skills for the ${name} account`);
|
|
315
|
-
if (r.ok) run.done(r.message);
|
|
316
|
-
else {
|
|
317
|
-
run.note(`${r.message} \u2014 or run \`work account skills ${name}\``, { level: "warn" });
|
|
318
|
-
run.fail(r.message);
|
|
319
|
-
}
|
|
320
|
-
};
|
|
321
|
-
}
|
|
322
|
-
|
|
323
184
|
export {
|
|
324
185
|
switchRefusal,
|
|
325
186
|
createAccountSwitcher,
|
|
326
187
|
continueWhenReady,
|
|
327
|
-
accountSwitchNote
|
|
328
|
-
defaultAccountSwitchDeps,
|
|
329
|
-
removeAgentAccount,
|
|
330
|
-
accountOverview,
|
|
331
|
-
addAgentAccount,
|
|
332
|
-
setDefaultAgentAccount,
|
|
333
|
-
createAccountLogins,
|
|
334
|
-
accountSkillsNote
|
|
188
|
+
accountSwitchNote
|
|
335
189
|
};
|
|
336
|
-
//# sourceMappingURL=chunk-
|
|
190
|
+
//# sourceMappingURL=chunk-XWUX474Q.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/core/sessions/account-switch-rules.ts","../src/core/sessions/account-switch.ts"],"sourcesContent":["/**\n * When a switch of account is refused before anything is stopped or moved — the rules the real switch\n * (account-switch.ts) and the demo's (server/demo/demo-accounts.ts) share. Pure: no imports.\n */\n\n/** An account as the rules see it (agents/types.ts `AccountInfo`; the wire's `AccountWire`). */\nexport interface SwitchAccountInfo {\n name: string;\n /** Logged in; null: can't tell (macOS keeps Claude's credentials in the keychain) — allowed. */\n loggedIn: boolean | null;\n}\n\nexport interface SwitchFacts {\n /** Archived, or being archived right now. */\n archived: boolean;\n /** Its agent's accounts and the one it is on; null: its agent has none. */\n accounts: { list: readonly SwitchAccountInfo[]; current: string } | null;\n /** Where a switch being done now goes; null: none. */\n pendingTo: string | null;\n /** Its agent runs in the PTY host (a switch can stop and start it there). */\n inHost: boolean;\n /** Its agent runs in a terminal outside work. */\n runningOutside: boolean;\n}\n\nexport type SwitchRefusal = { status: 400 | 409; error: string };\n\n/** Why the session can't be moved to `to` (status and reason), or null. In the order the user is told them. */\nexport function switchRefusal(to: string, f: SwitchFacts): SwitchRefusal | null {\n if (f.archived) return { status: 409, error: 'it is archived: restore it first' };\n if (!f.accounts) return { status: 409, error: \"its agent doesn't have accounts\" };\n const target = f.accounts.list.find((a) => a.name === to);\n if (!target) return { status: 400, error: `no account “${to}” (see \\`work account list\\`)` };\n if (target.loggedIn === false)\n return { status: 409, error: `nobody is logged in on “${to}”: run \\`work account add ${to}\\` again to log in, or /login on it` };\n if (f.pendingTo !== null) return { status: 409, error: `a switch is already being done (to ${f.pendingTo || 'another account'})` };\n if (f.accounts.current === to) return { status: 409, error: `it already runs on “${to}”` };\n if (!f.inHost && f.runningOutside)\n return {\n status: 409,\n error: 'its Claude runs in a terminal outside work: stop it there first (its conversation would be moved from under it)',\n };\n return null;\n}\n","import type { AccountInfo } from '../agents/types.js';\nimport type { WorktreeSession } from './session-types.js';\nimport type { ActivityLog } from '../platform/activity.js';\nimport { switchRefusal } from './account-switch-rules.js';\n\n/**\n * Moving a session to another account of its agent (Claude: another login, for when the first one's limit runs out).\n * The policy is here; I/O is passed in (account-routes.ts and web-server.ts give the real one, tests a fake).\n *\n * Refused: an unknown or archived session, an agent with no accounts, an unknown account, one nobody is logged in to, the\n * account it is on, a Claude running in a terminal outside work (a switch can't stop it), one switch already being done.\n *\n * Not running in the PTY host: its conversations move and the account is recorded — the next start uses it. Running and\n * idle: its Claude is halted in the host (stopped, its terminals kept), the conversations move, the account is recorded, and it\n * is resumed in place on the new account — in that order, so nothing writes into the old folder while it moves. Working, or waiting\n * on you: the same, at once — its turn is interrupted (asked for: a switch that waited for the turn to end kept a session\n * whose limit ran out on the old account). The turn it interrupted is continued: once the restarted Claude is ready,\n * work tells it to (`carryOn`, asked for: \"send continue after the switch is done\", for the interrupted ones only); an\n * idle session is left alone. Without `carryOn` the answer and Activity say to tell it. An agent restart waiting\n * for that turn is dropped (the switch restarts it), and one asked for meanwhile is folded into it (account-switch-link.ts).\n */\n\nexport interface AccountSwitchDeps {\n session: (id: string) => WorktreeSession | null;\n /** Being archived right now (its Claude was stopped on purpose, and mustn't be started again). */\n beingArchived: (id: string) => boolean;\n /** Its agent's accounts; null: its agent has none. */\n accounts: (session: WorktreeSession) => { list: AccountInfo[]; current: string } | null;\n /** Move its conversations to `to`'s folders (puts back what it moved when it fails, and throws). */\n switchFiles: (session: WorktreeSession, to: string) => Promise<{ moved: string[] }>;\n /** Record the account on the session, in one transaction. */\n record: (session: WorktreeSession, to: string) => Promise<void>;\n /** Its Claude runs in the PTY host. */\n hostRuns: (id: string) => boolean;\n /** Its Claude runs in a terminal outside work. */\n runningOutside: (id: string) => boolean;\n /** A folder whose conversations the switch would move where another agent (of any account, not this session's own in\n * the host) runs now — its files would move from under it; null: none. */\n othersRunningIn?: (session: WorktreeSession, id: string) => string | null;\n /** Why the PTY host can't run it on another account (one from before accounts), or null. Asked before anything stops. */\n hostRefusal?: () => Promise<string | null>;\n /** Working, or waiting on you: a switch doesn't wait for it, but says the turn it interrupted. */\n busy: (id: string, opts?: { turnEnded?: boolean }) => boolean;\n /** Stop its Claude in the host and keep its session (terminals attached) until `resume`: the files move only after it is stopped.\n * `stopped`: an older host stopped it the old way; `gone`: nothing was running. */\n halt: (id: string) => Promise<'halted' | 'stopped' | 'gone'>;\n /** Start it again after `halt`, on the account the session records now (so the old one after a switch that failed): in place\n * when it was `halted` (its terminals carry on), from a fresh spec when `stopped` (an older host). A string: how it went instead. */\n resume: (id: string, how: 'halted' | 'stopped') => Promise<string | void>;\n /** One line of what a switch decided, for the Activity panel. */\n note?: (id: string, text: string, level: 'action' | 'info' | 'warn') => void;\n changed?: () => void;\n /** Drop an agent restart waiting for its turn (agent-restart.ts): the switch restarts it anyway. True when one was waiting. */\n cancelRestart?: (id: string) => boolean;\n /** Tell its restarted Claude to continue, once it is ready for a prompt. Resolves whether it was told. */\n carryOn?: (id: string) => Promise<boolean>;\n}\n\nexport type SwitchOutcome = 'switched' | 'recorded';\n\nexport type SwitchResult =\n | { ok: true; outcome: SwitchOutcome; moved?: number; interrupted?: boolean; continued?: boolean }\n | { ok: false; status: 400 | 404 | 409 | 502; error: string };\n\n/** Said of a switch that stopped its Claude mid-turn: the conversation is there, the turn's remaining work isn't done. */\nexport const INTERRUPTED = '; it was working or waiting on you, so that turn was interrupted: tell it to continue';\n/** Said when work tells it to continue itself (asked for: \"send continue after the switch is done\"). */\nexport const CONTINUED = '; it was working or waiting on you, so that turn was interrupted: work tells it to continue once it is ready';\n\nconst msg = (err: unknown) => (err instanceof Error ? err.message : String(err));\n\nexport function createAccountSwitcher(deps: AccountSwitchDeps) {\n /** Where each switch being done goes. */\n const targets = new Map<string, string>();\n\n const name = (s: WorktreeSession) => `${s.target} ${s.branch}`;\n\n /** Move the files and record the account; a failed record puts the files back. Returns how many entries moved. */\n const moveAndRecord = async (s: WorktreeSession, to: string, from: string): Promise<number> => {\n const { moved } = await deps.switchFiles(s, to);\n try {\n await deps.record(s, to);\n } catch (err) {\n // The files are in the new account's folders and the session still says the old one: back, or its --continue finds\n // nothing. A move back that fails is said with the error (its message names what is stuck where).\n const back = await deps.switchFiles({ ...s, account: to }, from).then(\n () => '',\n (e2: unknown) => `; and its conversations couldn't all be moved back: ${msg(e2)}`,\n );\n throw new Error(`${msg(err)}${back}`, { cause: err });\n }\n return moved.length;\n };\n\n /** A switch of a session running in the host: the stop, the move, the record, the start again. */\n const perform = async (id: string, to: string): Promise<{ moved: number; interrupted: boolean; continued: boolean }> => {\n const s = deps.session(id);\n try {\n if (!s) throw new Error('the session is gone');\n if (s.archivedAt || deps.beingArchived(id)) throw new Error('it was archived meanwhile');\n const acc = deps.accounts(s);\n if (!acc) throw new Error('its agent has no accounts');\n const from = acc.current;\n if (from === to) return { moved: 0, interrupted: false, continued: false };\n const before = await refusalBeforeStop(s, id);\n if (before) throw new Error(`stays on ${from}: ${before}`);\n // A restart of its agent that waited for this turn too would stop it a second time: the switch's restart does its job.\n if (deps.cancelRestart?.(id)) deps.note?.(id, 'its agent restart that waited for this turn is done by the switch instead', 'info');\n // Stopped first: a running (or just exiting) Claude writes to its transcript, and on Windows holds the file.\n let halted: 'halted' | 'stopped' | null = null;\n let interrupted = false;\n if (deps.hostRuns(id)) {\n interrupted = deps.busy(id);\n let h: 'halted' | 'stopped' | 'gone';\n try {\n h = await deps.halt(id);\n } catch (err) {\n throw new Error(`stays on ${from}: couldn't stop its Claude: ${msg(err)}`, { cause: err });\n }\n if (h !== 'gone') halted = h;\n }\n /** Start it again on the account the session records (still the old one until the record is made). */\n const resume = async (): Promise<string | void> => (halted ? deps.resume(id, halted) : undefined);\n let moved: number;\n try {\n moved = await moveAndRecord(s, to, from);\n } catch (err) {\n // Put back (the move rolled itself back, a failed record moved the files back): it goes on running on the account it has.\n const back = await resume().then(\n () => '',\n (e2: unknown) => ` (and couldn't start its Claude again: ${msg(e2)}; opening the session starts it)`,\n );\n throw new Error(`stays on ${from}: ${msg(err)}${back}`, { cause: err });\n }\n if (!halted) {\n deps.note?.(id, `moved to the ${to} account (${moved} entries moved; its next start uses it)`, 'action');\n return { moved, interrupted: false, continued: false };\n }\n try {\n const how = await resume();\n // Interrupted by this switch: told to continue, once its Claude is up — not awaited, so the switch answers at\n // once; the note says how that went. Only that turn: an idle session is left alone (asked for: \"just interrupted ones\").\n const continued = interrupted && !!deps.carryOn;\n const cut = continued ? CONTINUED : interrupted ? INTERRUPTED : '';\n deps.note?.(id, `moved to the ${to} account: its Claude restarted on it${how ? ` (${how})` : ''}${cut}`, 'action');\n if (continued)\n void deps.carryOn!(id).then(\n (told) =>\n deps.note?.(\n id,\n told ? 'told it to continue' : \"couldn't tell it to continue (it didn't get ready in time): send it a message to carry on\",\n told ? 'action' : 'warn',\n ),\n (err: unknown) => deps.note?.(id, `couldn't tell it to continue: ${msg(err)}`, 'warn'),\n );\n return { moved, interrupted, continued };\n } catch (err) {\n // The account is recorded and the files are there: opening the session starts it on the new one.\n const why = `moved to the ${to} account, but its Claude couldn't be restarted: ${msg(err)} (opening the session starts it on ${to})`;\n deps.note?.(id, why, 'warn');\n throw new Error(why, { cause: err });\n }\n } catch (err) {\n if (s && !String(msg(err)).startsWith('moved to')) deps.note?.(id, `couldn't switch: ${msg(err)}`, 'warn');\n throw err;\n }\n };\n\n /** What stops a switch before anything is stopped or moved: an older PTY host, another Claude in one of its folders. */\n const refusalBeforeStop = async (s: WorktreeSession, id: string): Promise<string | null> => {\n const other = deps.othersRunningIn?.(s, id);\n if (other) return `a Claude outside this session runs in ${other}`;\n return deps.hostRuns(id) ? ((await deps.hostRefusal?.()) ?? null) : null;\n };\n\n async function switchAccount(id: string, to: string): Promise<SwitchResult> {\n const s = deps.session(id);\n if (!s) return { ok: false, status: 404, error: 'unknown session' };\n const acc = deps.accounts(s);\n const inHost = deps.hostRuns(id);\n const refused = switchRefusal(to, {\n archived: !!s.archivedAt || deps.beingArchived(id),\n accounts: acc,\n pendingTo: targets.get(id) ?? null,\n inHost,\n runningOutside: !inHost && deps.runningOutside(id),\n });\n if (refused) return { ok: false, ...refused };\n if (!acc) return { ok: false, status: 409, error: \"its agent doesn't have accounts\" }; // (refused above: for the type)\n\n const before = await refusalBeforeStop(s, id);\n if (before) return { ok: false, status: 409, error: `stays on ${acc.current}: ${before}` };\n\n if (!inHost) {\n // Nothing to stop: the files move and the account is recorded; the next start uses it.\n try {\n const moved = await moveAndRecord(s, to, acc.current);\n deps.note?.(id, `${name(s)}: moved to the ${to} account (${moved} entries moved; its next start uses it)`, 'action');\n deps.changed?.();\n return { ok: true, outcome: 'recorded', moved };\n } catch (err) {\n deps.note?.(id, `couldn't switch: ${msg(err)}`, 'warn');\n return { ok: false, status: 502, error: `stays on ${acc.current}: ${msg(err)}` };\n }\n }\n\n // At once, working or not: a switch is asked for when the account must change now (its limit ran out).\n targets.set(id, to);\n try {\n const { moved, interrupted, continued } = await perform(id, to);\n return {\n ok: true,\n outcome: 'switched',\n moved,\n ...(interrupted ? { interrupted: true } : {}),\n ...(continued ? { continued: true } : {}),\n };\n } catch (err) {\n return { ok: false, status: 502, error: msg(err) };\n } finally {\n targets.delete(id);\n deps.changed?.();\n }\n }\n\n return {\n switchAccount,\n /** The account a switch being done now moves it to; null: none. Its agent restarts with it. */\n restartsAnyway: (id: string): string | null => targets.get(id) ?? null,\n };\n}\n\nexport type AccountSwitcher = ReturnType<typeof createAccountSwitcher>;\n\n/** What a switch types to carry on a turn it found cut short. */\nexport const CONTINUE_TEXT = 'continue';\n\n/**\n * Tell a just-restarted Claude to continue, once it says it is at its prompt (`ready`): typed before Claude Code is up,\n * the nudge would be lost and the message wait for your next prompt. Asked every `everyMs` up to `timeoutMs`; false\n * when it never got ready (nothing is sent).\n */\nexport async function continueWhenReady(\n id: string,\n io: { ready: (id: string) => boolean; send: (id: string, text: string) => Promise<unknown>; sleep?: (ms: number) => Promise<void> },\n opts: { everyMs?: number; timeoutMs?: number } = {},\n): Promise<boolean> {\n const every = opts.everyMs ?? 1000;\n const tries = Math.max(1, Math.ceil((opts.timeoutMs ?? 60_000) / every));\n const sleep = io.sleep ?? ((ms: number) => new Promise<void>((r) => setTimeout(r, ms)));\n for (let i = 0; i < tries; i++) {\n if (io.ready(id)) {\n await io.send(id, CONTINUE_TEXT);\n return true;\n }\n await sleep(every);\n }\n return false;\n}\n\n/** The switcher's `note` as Activity runs: one run per note, a failure (`warn`) failing it, so the Activity dot lights. */\nexport function accountSwitchNote(\n activity: Pick<ActivityLog, 'start'>,\n label: (id: string) => string | null,\n): NonNullable<AccountSwitchDeps['note']> {\n return (id, text, level) => {\n const name = label(id);\n const run = activity.start('accounts', 'Switching a Claude account');\n run.note(`${name ?? id}: ${text}`, { level, sessionId: name ? id : undefined });\n if (level === 'warn') run.fail(text);\n else run.done(text);\n };\n}\n"],"mappings":";;;AA4BO,SAAS,cAAc,IAAY,GAAsC;AAC9E,MAAI,EAAE,SAAU,QAAO,EAAE,QAAQ,KAAK,OAAO,mCAAmC;AAChF,MAAI,CAAC,EAAE,SAAU,QAAO,EAAE,QAAQ,KAAK,OAAO,kCAAkC;AAChF,QAAM,SAAS,EAAE,SAAS,KAAK,KAAK,CAAC,MAAM,EAAE,SAAS,EAAE;AACxD,MAAI,CAAC,OAAQ,QAAO,EAAE,QAAQ,KAAK,OAAO,oBAAe,EAAE,qCAAgC;AAC3F,MAAI,OAAO,aAAa;AACtB,WAAO,EAAE,QAAQ,KAAK,OAAO,gCAA2B,EAAE,kCAA6B,EAAE,sCAAsC;AACjI,MAAI,EAAE,cAAc,KAAM,QAAO,EAAE,QAAQ,KAAK,OAAO,sCAAsC,EAAE,aAAa,iBAAiB,IAAI;AACjI,MAAI,EAAE,SAAS,YAAY,GAAI,QAAO,EAAE,QAAQ,KAAK,OAAO,4BAAuB,EAAE,SAAI;AACzF,MAAI,CAAC,EAAE,UAAU,EAAE;AACjB,WAAO;AAAA,MACL,QAAQ;AAAA,MACR,OAAO;AAAA,IACT;AACF,SAAO;AACT;;;ACsBO,IAAM,cAAc;AAEpB,IAAM,YAAY;AAEzB,IAAM,MAAM,CAAC,QAAkB,eAAe,QAAQ,IAAI,UAAU,OAAO,GAAG;AAEvE,SAAS,sBAAsB,MAAyB;AAE7D,QAAM,UAAU,oBAAI,IAAoB;AAExC,QAAM,OAAO,CAAC,MAAuB,GAAG,EAAE,MAAM,IAAI,EAAE,MAAM;AAG5D,QAAM,gBAAgB,OAAO,GAAoB,IAAY,SAAkC;AAC7F,UAAM,EAAE,MAAM,IAAI,MAAM,KAAK,YAAY,GAAG,EAAE;AAC9C,QAAI;AACF,YAAM,KAAK,OAAO,GAAG,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G,IAAI,OAAO,KAAK;AAC9B,QAAI,GAAG,MAAM,EAAE,GAAG;AAChB,YAAM,GAAG,KAAK,IAAI,aAAa;AAC/B,aAAO;AAAA,IACT;AACA,UAAM,MAAM,KAAK;AAAA,EACnB;AACA,SAAO;AACT;AAGO,SAAS,kBACd,UACA,OACwC;AACxC,SAAO,CAAC,IAAI,MAAM,UAAU;AAC1B,UAAM,OAAO,MAAM,EAAE;AACrB,UAAM,MAAM,SAAS,MAAM,YAAY,4BAA4B;AACnE,QAAI,KAAK,GAAG,QAAQ,EAAE,KAAK,IAAI,IAAI,EAAE,OAAO,WAAW,OAAO,KAAK,OAAU,CAAC;AAC9E,QAAI,UAAU,OAAQ,KAAI,KAAK,IAAI;AAAA,QAC9B,KAAI,KAAK,IAAI;AAAA,EACpB;AACF;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
VERSION
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DYKA3LO3.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveProjectTarget
|
|
7
7
|
} from "./chunk-IPHADNF5.js";
|
|
@@ -136,7 +136,7 @@ function completeRepoBranches(alias, current, config, done) {
|
|
|
136
136
|
}
|
|
137
137
|
async function recordedGroupBranches(groupName) {
|
|
138
138
|
try {
|
|
139
|
-
const { loadHistory } = await import("./history-
|
|
139
|
+
const { loadHistory } = await import("./history-3Z7AS2AC.js");
|
|
140
140
|
return loadHistory().filter((s) => s.target === groupName && s.isGroup && !s.archivedAt).map((s) => s.branch);
|
|
141
141
|
} catch {
|
|
142
142
|
return [];
|
|
@@ -172,61 +172,61 @@ async function completeGroupBranches(groupName, repoAliases, current, config, do
|
|
|
172
172
|
|
|
173
173
|
// src/cli.ts
|
|
174
174
|
var COMMANDS = [
|
|
175
|
-
{ names: ["init"], load: async () => (await import("./init-
|
|
176
|
-
{ names: ["config"], load: async () => (await import("./config-
|
|
177
|
-
{ names: ["tree", "t"], load: async () => (await import("./tree-
|
|
178
|
-
{ names: ["remove"], load: async () => (await import("./remove-
|
|
179
|
-
{ names: ["fork"], load: async () => (await import("./fork-
|
|
180
|
-
{ names: ["add-repo"], load: async () => (await import("./add-repo-
|
|
181
|
-
{ names: ["update"], load: async () => (await import("./update-
|
|
182
|
-
{ names: ["catchup"], load: async () => (await import("./catchup-
|
|
183
|
-
{ names: ["snooze"], load: async () => (await import("./snooze-
|
|
184
|
-
{ names: ["pin"], load: async () => (await import("./pin-
|
|
185
|
-
{ names: ["keep"], load: async () => (await import("./keep-
|
|
186
|
-
{ names: ["show"], load: async () => (await import("./show-
|
|
187
|
-
{ names: ["section"], load: async () => (await import("./section-
|
|
188
|
-
{ names: ["color"], load: async () => (await import("./color-
|
|
189
|
-
{ names: ["note"], load: async () => (await import("./note-
|
|
190
|
-
{ names: ["block"], load: async () => (await import("./block-
|
|
191
|
-
{ names: ["time"], load: async () => (await import("./time-
|
|
192
|
-
{ names: ["account"], load: async () => (await import("./account-
|
|
193
|
-
{ names: ["usage"], load: async () => (await import("./usage-
|
|
194
|
-
{ names: ["read"], load: async () => (await import("./read-
|
|
195
|
-
{ names: ["screen"], load: async () => (await import("./screen-
|
|
196
|
-
{ names: ["send"], load: async () => (await import("./send-
|
|
197
|
-
{ names: ["wait"], load: async () => (await import("./wait-
|
|
198
|
-
{ names: ["start"], load: async () => (await import("./start-
|
|
199
|
-
{ names: ["stop"], load: async () => (await import("./stop-
|
|
200
|
-
{ names: ["restart"], load: async () => (await import("./restart-
|
|
201
|
-
{ names: ["answer"], load: async () => (await import("./answer-
|
|
202
|
-
{ names: ["coordinate"], load: async () => (await import("./coordinate-
|
|
203
|
-
{ names: ["child"], load: async () => (await import("./child-
|
|
204
|
-
{ names: ["report"], load: async () => (await import("./report-
|
|
205
|
-
{ names: ["list"], load: async () => (await import("./list-
|
|
206
|
-
{ names: ["status"], load: async () => (await import("./status-
|
|
207
|
-
{ names: ["recent"], load: async () => (await import("./recent-
|
|
208
|
-
{ names: ["resume"], load: async () => (await import("./resume-
|
|
209
|
-
{ names: ["sessions"], load: async () => (await import("./sessions-
|
|
210
|
-
{ names: ["digest"], load: async () => (await import("./digest-
|
|
211
|
-
{ names: ["cleanup"], load: async () => (await import("./cleanup-
|
|
212
|
-
{ names: ["overlaps"], load: async () => (await import("./overlaps-
|
|
213
|
-
{ names: ["search"], load: async () => (await import("./search-
|
|
214
|
-
{ names: ["pr"], load: async () => (await import("./pr-
|
|
215
|
-
{ names: ["review"], load: async () => (await import("./review-
|
|
216
|
-
{ names: ["timesheet"], load: async () => (await import("./timesheet-
|
|
217
|
-
{ names: ["prune"], load: async () => (await import("./prune-
|
|
218
|
-
{ names: ["sync"], load: async () => (await import("./sync-
|
|
175
|
+
{ names: ["init"], load: async () => (await import("./init-7NOKRHNJ.js")).initCommand },
|
|
176
|
+
{ names: ["config"], load: async () => (await import("./config-KI6JOXKW.js")).configCommand },
|
|
177
|
+
{ names: ["tree", "t"], load: async () => (await import("./tree-FXTCWC6D.js")).treeCommand },
|
|
178
|
+
{ names: ["remove"], load: async () => (await import("./remove-TPLA64HP.js")).removeCommand },
|
|
179
|
+
{ names: ["fork"], load: async () => (await import("./fork-HHHATXVI.js")).forkCommand },
|
|
180
|
+
{ names: ["add-repo"], load: async () => (await import("./add-repo-WXDEKZRX.js")).addRepoCommand },
|
|
181
|
+
{ names: ["update"], load: async () => (await import("./update-5QSRHIWH.js")).updateCommand },
|
|
182
|
+
{ names: ["catchup"], load: async () => (await import("./catchup-ZMG4OWF2.js")).catchupCommand },
|
|
183
|
+
{ names: ["snooze"], load: async () => (await import("./snooze-T2WWIKZN.js")).snoozeCommand },
|
|
184
|
+
{ names: ["pin"], load: async () => (await import("./pin-J4IDSHRG.js")).pinCommand },
|
|
185
|
+
{ names: ["keep"], load: async () => (await import("./keep-G62GSDOQ.js")).keepCommand },
|
|
186
|
+
{ names: ["show"], load: async () => (await import("./show-RK2EWOR6.js")).showCommand },
|
|
187
|
+
{ names: ["section"], load: async () => (await import("./section-ZLINSTGS.js")).sectionCommand },
|
|
188
|
+
{ names: ["color"], load: async () => (await import("./color-T75ANAWG.js")).colorCommand },
|
|
189
|
+
{ names: ["note"], load: async () => (await import("./note-YIVFXTGM.js")).noteCommand },
|
|
190
|
+
{ names: ["block"], load: async () => (await import("./block-BRNRP226.js")).blockCommand },
|
|
191
|
+
{ names: ["time"], load: async () => (await import("./time-ZGMZZ5OY.js")).timeCommand },
|
|
192
|
+
{ names: ["account"], load: async () => (await import("./account-6ZQ3VFA2.js")).accountCommand },
|
|
193
|
+
{ names: ["usage"], load: async () => (await import("./usage-CW7CDFU3.js")).usageCommand },
|
|
194
|
+
{ names: ["read"], load: async () => (await import("./read-DG4PCLFH.js")).readCommand },
|
|
195
|
+
{ names: ["screen"], load: async () => (await import("./screen-SFU6TCDV.js")).screenCommand },
|
|
196
|
+
{ names: ["send"], load: async () => (await import("./send-NBP2WYBG.js")).sendCommand },
|
|
197
|
+
{ names: ["wait"], load: async () => (await import("./wait-XXC3I6DK.js")).waitCommand },
|
|
198
|
+
{ names: ["start"], load: async () => (await import("./start-AWHOIA3Q.js")).startCommand },
|
|
199
|
+
{ names: ["stop"], load: async () => (await import("./stop-YOU3P3ZR.js")).stopCommand },
|
|
200
|
+
{ names: ["restart"], load: async () => (await import("./restart-477IX2JX.js")).restartCommand },
|
|
201
|
+
{ names: ["answer"], load: async () => (await import("./answer-L55DWMR5.js")).answerCommand },
|
|
202
|
+
{ names: ["coordinate"], load: async () => (await import("./coordinate-4PPZN4U4.js")).coordinateCommand },
|
|
203
|
+
{ names: ["child"], load: async () => (await import("./child-MPXXJ2QX.js")).childCommand },
|
|
204
|
+
{ names: ["report"], load: async () => (await import("./report-K3OTT2ED.js")).reportCommand },
|
|
205
|
+
{ names: ["list"], load: async () => (await import("./list-CEVAZQ4V.js")).listCommand },
|
|
206
|
+
{ names: ["status"], load: async () => (await import("./status-QE2DA6RR.js")).statusCommand },
|
|
207
|
+
{ names: ["recent"], load: async () => (await import("./recent-PGD6QYAH.js")).recentCommand },
|
|
208
|
+
{ names: ["resume"], load: async () => (await import("./resume-OYBAJCYE.js")).resumeCommand },
|
|
209
|
+
{ names: ["sessions"], load: async () => (await import("./sessions-UT4I7A43.js")).sessionsCommand },
|
|
210
|
+
{ names: ["digest"], load: async () => (await import("./digest-H5YFX5WR.js")).digestCommand },
|
|
211
|
+
{ names: ["cleanup"], load: async () => (await import("./cleanup-DRELB6UC.js")).cleanupCommand },
|
|
212
|
+
{ names: ["overlaps"], load: async () => (await import("./overlaps-YBEHBRRK.js")).overlapsCommand },
|
|
213
|
+
{ names: ["search"], load: async () => (await import("./search-VJ3BGWPX.js")).searchCommand },
|
|
214
|
+
{ names: ["pr"], load: async () => (await import("./pr-Z7CPBBGT.js")).prCommand },
|
|
215
|
+
{ names: ["review"], load: async () => (await import("./review-6PWFSBAO.js")).reviewCommand },
|
|
216
|
+
{ names: ["timesheet"], load: async () => (await import("./timesheet-N74LPF5M.js")).timesheetCommand },
|
|
217
|
+
{ names: ["prune"], load: async () => (await import("./prune-UA3UDZSM.js")).pruneCommand },
|
|
218
|
+
{ names: ["sync"], load: async () => (await import("./sync-74EFTPBJ.js")).syncCommand },
|
|
219
219
|
{ names: ["todo"], load: async () => (await import("./todo-UVKGOG7D.js")).todoCommand },
|
|
220
|
-
{ names: ["hydrate"], load: async () => (await import("./hydrate-
|
|
221
|
-
{ names: ["diff"], load: async () => (await import("./diff-
|
|
222
|
-
{ names: ["web"], load: async () => (await import("./web-
|
|
223
|
-
{ names: ["hook"], load: async () => (await import("./hook-
|
|
224
|
-
{ names: ["run"], load: async () => (await import("./run-
|
|
225
|
-
{ names: ["broadcast"], load: async () => (await import("./broadcast-
|
|
226
|
-
{ names: ["attach", "a"], load: async () => (await import("./attach-
|
|
227
|
-
{ names: ["pty-host"], load: async () => (await import("./pty-host-
|
|
220
|
+
{ names: ["hydrate"], load: async () => (await import("./hydrate-VI3XSZQH.js")).hydrateCommand },
|
|
221
|
+
{ names: ["diff"], load: async () => (await import("./diff-NDZPRQV7.js")).diffCommand },
|
|
222
|
+
{ names: ["web"], load: async () => (await import("./web-SUSR4IAK.js")).webCommand },
|
|
223
|
+
{ names: ["hook"], load: async () => (await import("./hook-KOK7NKCO.js")).hookCommand },
|
|
224
|
+
{ names: ["run"], load: async () => (await import("./run-XEHF2N4A.js")).runCommand },
|
|
225
|
+
{ names: ["broadcast"], load: async () => (await import("./broadcast-GQE7H3MF.js")).broadcastCommand },
|
|
226
|
+
{ names: ["attach", "a"], load: async () => (await import("./attach-KLVI7BHS.js")).attachCommand },
|
|
227
|
+
{ names: ["pty-host"], load: async () => (await import("./pty-host-JIQUP62K.js")).ptyHostCommand },
|
|
228
228
|
{ names: ["state"], load: async () => (await import("./state-HK67C4UA.js")).stateCommand },
|
|
229
|
-
{ names: ["move"], load: async () => (await import("./move-
|
|
229
|
+
{ names: ["move"], load: async () => (await import("./move-ISAW6RDM.js")).moveCommand },
|
|
230
230
|
{ names: ["install-skills"], load: async () => (await import("./install-skills-TL5D7HZU.js")).installSkillsCommand },
|
|
231
231
|
{ names: ["completion"], load: async () => (await import("./completion-SV446DXJ.js")).completionCommand }
|
|
232
232
|
];
|
|
@@ -328,4 +328,4 @@ export {
|
|
|
328
328
|
commandsFor,
|
|
329
329
|
run
|
|
330
330
|
};
|
|
331
|
-
//# sourceMappingURL=chunk-
|
|
331
|
+
//# sourceMappingURL=chunk-ZHK5XOV5.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
writeTempTree
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XL4YNA3L.js";
|
|
5
5
|
import {
|
|
6
6
|
git
|
|
7
7
|
} from "./chunk-JYWX2N5W.js";
|
|
@@ -534,4 +534,4 @@ export {
|
|
|
534
534
|
computeDiff,
|
|
535
535
|
computeRangeDiff
|
|
536
536
|
};
|
|
537
|
-
//# sourceMappingURL=chunk-
|
|
537
|
+
//# sourceMappingURL=chunk-ZPDCVDE2.js.map
|
|
@@ -6,54 +6,54 @@ import {
|
|
|
6
6
|
deleteMergedBranches,
|
|
7
7
|
findMergedBranches,
|
|
8
8
|
scanBuildFolders
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CRAGAIOS.js";
|
|
10
10
|
import {
|
|
11
11
|
defaultCleanupDeps
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LW6VCL6S.js";
|
|
13
13
|
import {
|
|
14
14
|
timeAgo
|
|
15
15
|
} from "./chunk-UQ35KLHH.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-7HQSILMM.js";
|
|
17
|
+
import "./chunk-M2P722BR.js";
|
|
18
|
+
import "./chunk-G4VKMMIC.js";
|
|
19
19
|
import {
|
|
20
20
|
applyCleanup,
|
|
21
21
|
scanCleanup
|
|
22
22
|
} from "./chunk-AKMPF72Y.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-IUVMVNIO.js";
|
|
24
|
+
import "./chunk-QMWV4UKB.js";
|
|
25
|
+
import "./chunk-BBI4YQTS.js";
|
|
26
26
|
import "./chunk-BCYBF7KJ.js";
|
|
27
27
|
import "./chunk-NREZVTBP.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-C5BBVVHW.js";
|
|
29
29
|
import "./chunk-HCYES6U7.js";
|
|
30
30
|
import "./chunk-NS7WH53I.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-KWJ6S4NZ.js";
|
|
32
32
|
import "./chunk-Y7PWSACJ.js";
|
|
33
33
|
import "./chunk-EORL2V7P.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-BZOYUBK4.js";
|
|
35
|
+
import "./chunk-7BH2PUYY.js";
|
|
36
|
+
import "./chunk-ZPDCVDE2.js";
|
|
37
37
|
import "./chunk-SJBEIYLK.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-XT3FON6A.js";
|
|
39
|
+
import "./chunk-MYXEX6BB.js";
|
|
40
40
|
import "./chunk-7E5XPDKX.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-DK3UMOX7.js";
|
|
42
|
+
import "./chunk-LOFGDH5B.js";
|
|
43
43
|
import "./chunk-ZSHWP2VS.js";
|
|
44
44
|
import "./chunk-UPS7NHKI.js";
|
|
45
45
|
import "./chunk-HUXS3VAI.js";
|
|
46
46
|
import "./chunk-LM2T5OR3.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-6S3DYLGH.js";
|
|
48
|
+
import "./chunk-MMEFW2PI.js";
|
|
49
|
+
import "./chunk-PSALWCBD.js";
|
|
50
50
|
import "./chunk-FGPXMAYU.js";
|
|
51
51
|
import "./chunk-MJIYIMPI.js";
|
|
52
52
|
import "./chunk-GNIYYXQX.js";
|
|
53
53
|
import "./chunk-T5GJVUSL.js";
|
|
54
54
|
import "./chunk-XBWS77S2.js";
|
|
55
55
|
import "./chunk-4CXUVBOD.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-XL4YNA3L.js";
|
|
57
57
|
import "./chunk-NEJVK5CF.js";
|
|
58
58
|
import "./chunk-QGUBOOEN.js";
|
|
59
59
|
import "./chunk-NWKVTUTN.js";
|
|
@@ -222,4 +222,4 @@ var cleanupCommand = {
|
|
|
222
222
|
export {
|
|
223
223
|
cleanupCommand
|
|
224
224
|
};
|
|
225
|
-
//# sourceMappingURL=cleanup-
|
|
225
|
+
//# sourceMappingURL=cleanup-DRELB6UC.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
COMMANDS,
|
|
4
4
|
commandsFor,
|
|
5
5
|
run
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-ZHK5XOV5.js";
|
|
7
|
+
import "./chunk-DYKA3LO3.js";
|
|
8
8
|
import "./chunk-IPHADNF5.js";
|
|
9
9
|
import "./chunk-JYWX2N5W.js";
|
|
10
10
|
import "./chunk-ETWP7MDS.js";
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
commandsFor,
|
|
18
18
|
run
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=cli-
|
|
20
|
+
//# sourceMappingURL=cli-C3U2BC44.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
sessionFromArgs,
|
|
8
8
|
sessionPositionals
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BGQ6NUU7.js";
|
|
10
10
|
import "./chunk-6AQRYLOB.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-LOFGDH5B.js";
|
|
12
12
|
import "./chunk-ZSHWP2VS.js";
|
|
13
13
|
import "./chunk-UPS7NHKI.js";
|
|
14
14
|
import "./chunk-HUXS3VAI.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-XL4YNA3L.js";
|
|
16
16
|
import "./chunk-NEJVK5CF.js";
|
|
17
17
|
import {
|
|
18
18
|
sessionIdFor
|
|
@@ -67,4 +67,4 @@ var colorCommand = {
|
|
|
67
67
|
export {
|
|
68
68
|
colorCommand
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=color-
|
|
70
|
+
//# sourceMappingURL=color-T75ANAWG.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
RepoAdminError,
|
|
4
4
|
enrollRepo,
|
|
5
5
|
repoInventory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HO5KESIB.js";
|
|
7
7
|
import {
|
|
8
8
|
openInEditor
|
|
9
9
|
} from "./chunk-773UJC5C.js";
|
|
@@ -15,7 +15,7 @@ import "./chunk-XBWS77S2.js";
|
|
|
15
15
|
import "./chunk-4CXUVBOD.js";
|
|
16
16
|
import {
|
|
17
17
|
loadHistory
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XL4YNA3L.js";
|
|
19
19
|
import "./chunk-NEJVK5CF.js";
|
|
20
20
|
import "./chunk-QGUBOOEN.js";
|
|
21
21
|
import {
|
|
@@ -422,4 +422,4 @@ function showGroupHelp() {
|
|
|
422
422
|
export {
|
|
423
423
|
configCommand
|
|
424
424
|
};
|
|
425
|
-
//# sourceMappingURL=config-
|
|
425
|
+
//# sourceMappingURL=config-KI6JOXKW.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
sessionFromArgs,
|
|
4
4
|
sessionPositionals
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BGQ6NUU7.js";
|
|
6
6
|
import "./chunk-6AQRYLOB.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_CHILDREN,
|
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
coordinatorSince,
|
|
11
11
|
releaseChild,
|
|
12
12
|
setCoordinator
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-MYXEX6BB.js";
|
|
14
|
+
import "./chunk-LOFGDH5B.js";
|
|
15
15
|
import "./chunk-ZSHWP2VS.js";
|
|
16
16
|
import "./chunk-UPS7NHKI.js";
|
|
17
17
|
import "./chunk-HUXS3VAI.js";
|
|
18
18
|
import {
|
|
19
19
|
findSession,
|
|
20
20
|
loadHistory
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XL4YNA3L.js";
|
|
22
22
|
import "./chunk-NEJVK5CF.js";
|
|
23
23
|
import {
|
|
24
24
|
sessionIdFor
|
|
@@ -119,4 +119,4 @@ var coordinateCommand = {
|
|
|
119
119
|
export {
|
|
120
120
|
coordinateCommand
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=coordinate-
|
|
122
|
+
//# sourceMappingURL=coordinate-4PPZN4U4.js.map
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
resolveWebRoot,
|
|
10
10
|
startDiffServer,
|
|
11
11
|
submitReviewSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QSSCVTFG.js";
|
|
13
13
|
import {
|
|
14
14
|
computeDiff
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZPDCVDE2.js";
|
|
16
16
|
import {
|
|
17
17
|
existingWebDecision,
|
|
18
18
|
readWebUrl,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
openUrl
|
|
30
30
|
} from "./chunk-773UJC5C.js";
|
|
31
31
|
import "./chunk-4CXUVBOD.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-XL4YNA3L.js";
|
|
33
33
|
import "./chunk-NEJVK5CF.js";
|
|
34
34
|
import "./chunk-QGUBOOEN.js";
|
|
35
35
|
import "./chunk-NWKVTUTN.js";
|
|
@@ -591,4 +591,4 @@ export {
|
|
|
591
591
|
resolveWorkBinPath,
|
|
592
592
|
webServerResponds
|
|
593
593
|
};
|
|
594
|
-
//# sourceMappingURL=diff-
|
|
594
|
+
//# sourceMappingURL=diff-NDZPRQV7.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createDigestSource
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-SUHANL3G.js";
|
|
5
|
+
import "./chunk-BZOYUBK4.js";
|
|
6
6
|
import {
|
|
7
7
|
askWorkWeb
|
|
8
8
|
} from "./chunk-LB2GAU7E.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-XL4YNA3L.js";
|
|
10
10
|
import {
|
|
11
11
|
formatWorked
|
|
12
12
|
} from "./chunk-NEJVK5CF.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
digestCommand,
|
|
111
111
|
parseSince
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=digest-
|
|
113
|
+
//# sourceMappingURL=digest-H5YFX5WR.js.map
|