@moberg_hr/work-tree 2.17.2 → 2.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-H2PGGR3Q.js → account-B3HHUCH6.js} +25 -22
- package/dist/{account-H2PGGR3Q.js.map → account-B3HHUCH6.js.map} +1 -1
- package/dist/{add-repo-6OLFENCR.js → add-repo-2U2FLGJQ.js} +20 -17
- package/dist/{add-repo-6OLFENCR.js.map → add-repo-2U2FLGJQ.js.map} +1 -1
- package/dist/{answer-AAWIGGVF.js → answer-HHCSBUQE.js} +12 -9
- package/dist/{answer-AAWIGGVF.js.map → answer-HHCSBUQE.js.map} +1 -1
- package/dist/{attach-3CLKNIHR.js → attach-RNWANIFC.js} +20 -17
- package/dist/{attach-3CLKNIHR.js.map → attach-RNWANIFC.js.map} +1 -1
- package/dist/bin.js +3 -3
- package/dist/{block-CCHW2U25.js → block-FSGNBJSN.js} +13 -10
- package/dist/{block-CCHW2U25.js.map → block-FSGNBJSN.js.map} +1 -1
- package/dist/{broadcast-RWGJLRU7.js → broadcast-5WAUMYVO.js} +9 -6
- package/dist/{broadcast-RWGJLRU7.js.map → broadcast-5WAUMYVO.js.map} +1 -1
- package/dist/{catchup-CWPIE6X3.js → catchup-T5SOCXHV.js} +14 -11
- package/dist/{catchup-CWPIE6X3.js.map → catchup-T5SOCXHV.js.map} +1 -1
- package/dist/{chunk-WC23KWN4.js → chunk-26DBVWJC.js} +3 -3
- package/dist/{chunk-A5OQHOEV.js → chunk-2LUTV7UB.js} +2 -2
- package/dist/{chunk-XT2ZKXMT.js → chunk-2SLALFWA.js} +17 -5
- package/dist/chunk-2SLALFWA.js.map +1 -0
- package/dist/{chunk-JTQBQEL4.js → chunk-2YRR5Q3C.js} +3 -3
- package/dist/{chunk-QAY2Q2JC.js → chunk-374HKMSE.js} +2 -2
- package/dist/{chunk-3A3HSUBD.js → chunk-3JLMVWRO.js} +2 -2
- package/dist/{chunk-UKEI5DJS.js → chunk-4J2F6OWM.js} +2 -2
- package/dist/chunk-4YG55UQ6.js +9 -0
- package/dist/{chunk-WJGSOT6H.js → chunk-55T4LC2P.js} +3 -3
- package/dist/{chunk-LHUSNLSJ.js → chunk-6EW27TKI.js} +9 -9
- package/dist/{chunk-VS6DDWIX.js → chunk-A72CRTFG.js} +2 -2
- package/dist/{chunk-6T5JRU75.js → chunk-AC7FECH5.js} +5 -5
- package/dist/{chunk-YXDWREKR.js → chunk-ADVMIHTB.js} +2 -2
- package/dist/{chunk-ZWFNIN6O.js → chunk-AMKLWFT3.js} +2 -2
- package/dist/{chunk-ZFFWFVER.js → chunk-AT4EPCOV.js} +2 -2
- package/dist/{chunk-RF6DCSJM.js → chunk-AWP2MCMN.js} +3 -3
- package/dist/{chunk-2AENPORN.js → chunk-BGPCIL4U.js} +5 -5
- package/dist/{chunk-TMRRQ6TT.js → chunk-BGS5M542.js} +2 -2
- package/dist/{chunk-DOOT25BN.js → chunk-BMLV63AW.js} +2 -2
- package/dist/chunk-BR6OWWAA.js +64 -0
- package/dist/chunk-BR6OWWAA.js.map +1 -0
- package/dist/{chunk-YJVBX3HU.js → chunk-CIUTNNF4.js} +4 -4
- package/dist/{chunk-RFNMR7M4.js → chunk-DAQJZE3B.js} +13 -13
- package/dist/{chunk-63HMFHNG.js → chunk-DLV7TRON.js} +2 -2
- package/dist/{chunk-INQVYKB4.js → chunk-F5RPC3LT.js} +3 -3
- package/dist/{chunk-OHMLCXRW.js → chunk-FJYM2JQN.js} +21 -26
- package/dist/chunk-FJYM2JQN.js.map +1 -0
- package/dist/{chunk-D4V5W6IC.js → chunk-G7VLIMOH.js} +4 -4
- package/dist/{chunk-DAVDKNRH.js → chunk-GUEJVX2X.js} +2 -2
- package/dist/{chunk-CHSKQHYY.js → chunk-H4TNGZKT.js} +5 -5
- package/dist/{chunk-S6V3G3J5.js → chunk-H5JNYD63.js} +3 -3
- package/dist/{chunk-REPFZIPP.js → chunk-HGB7BITW.js} +16 -70
- package/dist/chunk-HGB7BITW.js.map +1 -0
- package/dist/{chunk-FDTBJW7M.js → chunk-IBTA4DSY.js} +5 -5
- package/dist/{chunk-GUHRMQNP.js → chunk-ITNSUPVJ.js} +4 -4
- package/dist/{chunk-E2PKPMWC.js → chunk-IVH5T4U2.js} +2 -2
- package/dist/{chunk-3HWQYW6S.js → chunk-J5B2Z7SO.js} +2 -2
- package/dist/{chunk-DOYJR2HF.js → chunk-JUGF3YE7.js} +5 -4
- package/dist/chunk-JUGF3YE7.js.map +1 -0
- package/dist/chunk-KGHWHAVF.js +24 -0
- package/dist/chunk-KGHWHAVF.js.map +1 -0
- package/dist/{chunk-UM4R6YIC.js → chunk-KK5RCNDL.js} +8 -8
- package/dist/{chunk-UBGKHTXX.js → chunk-LBJHFVH3.js} +9 -9
- package/dist/{chunk-UVZITL47.js → chunk-LK7HJGUC.js} +1 -1
- package/dist/chunk-LK7HJGUC.js.map +1 -0
- package/dist/{chunk-V2TTONXR.js → chunk-LVNPLXUO.js} +5 -5
- package/dist/{chunk-HX7B4PI2.js → chunk-N2IDEZGB.js} +4 -4
- package/dist/{chunk-WK5ZIO6B.js → chunk-PJ7ZKAZF.js} +2 -2
- package/dist/{chunk-T3HVNKHI.js → chunk-PYHYZGY4.js} +3 -3
- package/dist/{chunk-33SBTWZW.js → chunk-PZGLIYMD.js} +54 -54
- package/dist/{chunk-DZACN5FM.js → chunk-QDNNFL56.js} +3 -3
- package/dist/{chunk-2I3HHZMS.js → chunk-QO4QWQUO.js} +2 -2
- package/dist/{chunk-OUPQW7WQ.js → chunk-QTENJUM3.js} +5 -5
- package/dist/{chunk-4GUB7MQG.js → chunk-S7OCHVVD.js} +9 -9
- package/dist/{chunk-IWMODEU4.js → chunk-V76KARDB.js} +4 -4
- package/dist/{chunk-Q6RMN7PX.js → chunk-VBB3E37Z.js} +5 -5
- package/dist/{chunk-RYFHY3JQ.js → chunk-VG5WQPQB.js} +3 -3
- package/dist/{chunk-4TTIEI7I.js → chunk-VRMALBZK.js} +2 -2
- package/dist/{chunk-JHCR7H4Y.js → chunk-WIYDT3PY.js} +5 -29
- package/dist/chunk-WIYDT3PY.js.map +1 -0
- package/dist/{chunk-SNQVTLBX.js → chunk-WKHP3AXS.js} +2 -2
- package/dist/{chunk-3E3WHGSI.js → chunk-WVDIS22N.js} +3 -3
- package/dist/{chunk-6FD52UQ6.js → chunk-WXYUABCL.js} +6 -6
- package/dist/{chunk-NKKISMHV.js → chunk-XKPF4MD2.js} +3 -3
- package/dist/{chunk-ZED6QQJ5.js → chunk-XQEP3QYX.js} +4 -4
- package/dist/chunk-YQSWVHKK.js +33 -0
- package/dist/chunk-YQSWVHKK.js.map +1 -0
- package/dist/{cleanup-6QC2ISW2.js → cleanup-LJHC5O6U.js} +31 -28
- package/dist/{cleanup-6QC2ISW2.js.map → cleanup-LJHC5O6U.js.map} +1 -1
- package/dist/{cli-7RMR5D5O.js → cli-K6T6AJHP.js} +3 -3
- package/dist/{color-CRVXKHMC.js → color-7PZNDE4R.js} +11 -8
- package/dist/{color-CRVXKHMC.js.map → color-7PZNDE4R.js.map} +1 -1
- package/dist/{config-4EZIXQDV.js → config-TM37HUBM.js} +11 -8
- package/dist/{config-4EZIXQDV.js.map → config-TM37HUBM.js.map} +1 -1
- package/dist/{diff-PU2AYXR7.js → diff-RSSLOKE7.js} +12 -9
- package/dist/{diff-PU2AYXR7.js.map → diff-RSSLOKE7.js.map} +1 -1
- package/dist/{digest-NRVPOSQO.js → digest-LCHLLJ4M.js} +11 -8
- package/dist/{digest-NRVPOSQO.js.map → digest-LCHLLJ4M.js.map} +1 -1
- package/dist/{fork-AHV22A2S.js → fork-XVNZMWCA.js} +32 -29
- package/dist/{fork-AHV22A2S.js.map → fork-XVNZMWCA.js.map} +1 -1
- package/dist/{history-II3FYVXY.js → history-CRUFLMA2.js} +9 -6
- package/dist/{hook-CSOXC4SP.js → hook-U4WCMGD6.js} +16 -13
- package/dist/{hook-CSOXC4SP.js.map → hook-U4WCMGD6.js.map} +1 -1
- package/dist/{hydrate-MMQX5KGM.js → hydrate-BYXK4W6T.js} +9 -6
- package/dist/{hydrate-MMQX5KGM.js.map → hydrate-BYXK4W6T.js.map} +1 -1
- package/dist/{init-2GUP4SBN.js → init-JWBB4HBE.js} +14 -11
- package/dist/{init-2GUP4SBN.js.map → init-JWBB4HBE.js.map} +1 -1
- package/dist/{install-skills-LAFRMJ7N.js → install-skills-M2Y6ZGQC.js} +9 -6
- package/dist/install-skills-bin.js +8 -5
- package/dist/install-skills-bin.js.map +1 -1
- package/dist/{keep-HD6TXD65.js → keep-OZJ2XXKF.js} +11 -8
- package/dist/{keep-HD6TXD65.js.map → keep-OZJ2XXKF.js.map} +1 -1
- package/dist/{list-7HHYTAIA.js → list-YVZSGKT4.js} +9 -6
- package/dist/{list-7HHYTAIA.js.map → list-YVZSGKT4.js.map} +1 -1
- package/dist/{move-AJTGIGJR.js → move-7TAU3LI3.js} +21 -18
- package/dist/{move-AJTGIGJR.js.map → move-7TAU3LI3.js.map} +1 -1
- package/dist/{note-5H5CDNXB.js → note-ESLGTIYH.js} +11 -8
- package/dist/{note-5H5CDNXB.js.map → note-ESLGTIYH.js.map} +1 -1
- package/dist/{overlaps-YB2S7TEC.js → overlaps-FYXO3OL2.js} +15 -12
- package/dist/{overlaps-YB2S7TEC.js.map → overlaps-FYXO3OL2.js.map} +1 -1
- package/dist/{pin-4IHOP6F6.js → pin-AAMXBCV3.js} +11 -8
- package/dist/{pin-4IHOP6F6.js.map → pin-AAMXBCV3.js.map} +1 -1
- package/dist/{pr-RTFRPS5N.js → pr-42UBVLUT.js} +27 -24
- package/dist/{pr-RTFRPS5N.js.map → pr-42UBVLUT.js.map} +1 -1
- package/dist/{prune-P3Y6HAGE.js → prune-B72T33B6.js} +29 -26
- package/dist/{prune-P3Y6HAGE.js.map → prune-B72T33B6.js.map} +1 -1
- package/dist/{pty-host-CXWNRSC6.js → pty-host-72L4DQL5.js} +16 -13
- package/dist/{pty-host-CXWNRSC6.js.map → pty-host-72L4DQL5.js.map} +1 -1
- package/dist/{read-FAAEZAAH.js → read-75KS2EXO.js} +11 -8
- package/dist/{read-FAAEZAAH.js.map → read-75KS2EXO.js.map} +1 -1
- package/dist/{recent-4A7ROGTU.js → recent-H665DNCJ.js} +16 -13
- package/dist/{recent-4A7ROGTU.js.map → recent-H665DNCJ.js.map} +1 -1
- package/dist/{remove-4HT5JHPR.js → remove-ZZBCNASU.js} +30 -27
- package/dist/{remove-4HT5JHPR.js.map → remove-ZZBCNASU.js.map} +1 -1
- package/dist/{restart-X4VCGVVD.js → restart-WFMCSOPB.js} +11 -8
- package/dist/{restart-X4VCGVVD.js.map → restart-WFMCSOPB.js.map} +1 -1
- package/dist/{resume-CIYUYUGR.js → resume-GICIEI2I.js} +16 -13
- package/dist/{resume-CIYUYUGR.js.map → resume-GICIEI2I.js.map} +1 -1
- package/dist/{review-WTNHUBNY.js → review-TZUVYEAL.js} +10 -7
- package/dist/{review-WTNHUBNY.js.map → review-TZUVYEAL.js.map} +1 -1
- package/dist/{run-VYG6IYO4.js → run-SVJLTKSR.js} +9 -6
- package/dist/{run-VYG6IYO4.js.map → run-SVJLTKSR.js.map} +1 -1
- package/dist/{screen-LPWYIT4D.js → screen-JC6L6MT5.js} +11 -8
- package/dist/{screen-LPWYIT4D.js.map → screen-JC6L6MT5.js.map} +1 -1
- package/dist/{search-T3GQMWFL.js → search-3BZMJM3P.js} +9 -6
- package/dist/{search-T3GQMWFL.js.map → search-3BZMJM3P.js.map} +1 -1
- package/dist/{section-Y6LOV4R5.js → section-GNYPAEQC.js} +11 -8
- package/dist/{section-Y6LOV4R5.js.map → section-GNYPAEQC.js.map} +1 -1
- package/dist/{send-HSDMFC6W.js → send-KVUFOWCP.js} +13 -10
- package/dist/{send-HSDMFC6W.js.map → send-KVUFOWCP.js.map} +1 -1
- package/dist/{sessions-WLYINQDP.js → sessions-W36QTHAD.js} +29 -26
- package/dist/{sessions-WLYINQDP.js.map → sessions-W36QTHAD.js.map} +1 -1
- package/dist/{show-CRU7ZNCF.js → show-FQPMGZO3.js} +10 -7
- package/dist/{show-CRU7ZNCF.js.map → show-FQPMGZO3.js.map} +1 -1
- package/dist/{snooze-YQFTGZL5.js → snooze-HGO3W2OF.js} +11 -8
- package/dist/{snooze-YQFTGZL5.js.map → snooze-HGO3W2OF.js.map} +1 -1
- package/dist/{start-EYFMHXJ6.js → start-UQSJGUMJ.js} +11 -8
- package/dist/{start-EYFMHXJ6.js.map → start-UQSJGUMJ.js.map} +1 -1
- package/dist/{status-PFGSYLDB.js → status-MGTUAZTA.js} +13 -10
- package/dist/{status-PFGSYLDB.js.map → status-MGTUAZTA.js.map} +1 -1
- package/dist/{statusline-NEVXTHUY.js → statusline-B6U3ANSM.js} +3 -2
- package/dist/{statusline-NEVXTHUY.js.map → statusline-B6U3ANSM.js.map} +1 -1
- package/dist/{statusline-hook-H5MM2PA2.js → statusline-hook-SYRLMSDL.js} +7 -5
- package/dist/{statusline-hook-H5MM2PA2.js.map → statusline-hook-SYRLMSDL.js.map} +1 -1
- package/dist/{stop-AV7NEC7U.js → stop-JBUL4WY3.js} +11 -8
- package/dist/{stop-AV7NEC7U.js.map → stop-JBUL4WY3.js.map} +1 -1
- package/dist/{sync-2M5O3NX7.js → sync-ILYA3AHS.js} +29 -26
- package/dist/{sync-2M5O3NX7.js.map → sync-ILYA3AHS.js.map} +1 -1
- package/dist/{time-E7FJHTKI.js → time-ZOJD7HFL.js} +12 -9
- package/dist/{time-E7FJHTKI.js.map → time-ZOJD7HFL.js.map} +1 -1
- package/dist/{timesheet-LTC7EXNJ.js → timesheet-WT7QUB7M.js} +14 -11
- package/dist/{timesheet-LTC7EXNJ.js.map → timesheet-WT7QUB7M.js.map} +1 -1
- package/dist/{tree-CQT5LU62.js → tree-M6YEJCXF.js} +28 -25
- package/dist/{tree-CQT5LU62.js.map → tree-M6YEJCXF.js.map} +1 -1
- package/dist/{update-BZOZCI7G.js → update-47FZ6YO5.js} +17 -14
- package/dist/{update-BZOZCI7G.js.map → update-47FZ6YO5.js.map} +1 -1
- package/dist/{usage-IOCB7U4W.js → usage-PTD3C34L.js} +15 -10
- package/dist/usage-PTD3C34L.js.map +1 -0
- package/dist/usage-ask-BULFMCUZ.js +176 -0
- package/dist/usage-ask-BULFMCUZ.js.map +1 -0
- package/dist/{version-U2QIALPO.js → version-6UJN2CCE.js} +3 -2
- package/dist/{version-U2QIALPO.js.map → version-6UJN2CCE.js.map} +1 -1
- package/dist/{wait-J5BM6222.js → wait-JHFM3MA7.js} +13 -10
- package/dist/{wait-J5BM6222.js.map → wait-JHFM3MA7.js.map} +1 -1
- package/dist/wd-bin.js +2 -2
- package/dist/web/assets/{PtyView-DiTbw6LM.js → PtyView-DpIVcrTI.js} +2 -2
- package/dist/web/assets/{PtyView-DiTbw6LM.js.map → PtyView-DpIVcrTI.js.map} +1 -1
- package/dist/web/assets/{index-Du3J-M5I.js → index-DhXqtaRc.js} +4 -4
- package/dist/web/assets/index-DhXqtaRc.js.map +1 -0
- package/dist/web/index.html +1 -1
- package/dist/{web-52FISJAC.js → web-HRGWOUDV.js} +178 -158
- package/dist/web-HRGWOUDV.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-DOYJR2HF.js.map +0 -1
- package/dist/chunk-JHCR7H4Y.js.map +0 -1
- package/dist/chunk-M7CC2GUA.js +0 -9
- package/dist/chunk-OHMLCXRW.js.map +0 -1
- package/dist/chunk-REPFZIPP.js.map +0 -1
- package/dist/chunk-UVZITL47.js.map +0 -1
- package/dist/chunk-XT2ZKXMT.js.map +0 -1
- package/dist/usage-IOCB7U4W.js.map +0 -1
- package/dist/web/assets/index-Du3J-M5I.js.map +0 -1
- package/dist/web-52FISJAC.js.map +0 -1
- /package/dist/{chunk-WC23KWN4.js.map → chunk-26DBVWJC.js.map} +0 -0
- /package/dist/{chunk-A5OQHOEV.js.map → chunk-2LUTV7UB.js.map} +0 -0
- /package/dist/{chunk-JTQBQEL4.js.map → chunk-2YRR5Q3C.js.map} +0 -0
- /package/dist/{chunk-QAY2Q2JC.js.map → chunk-374HKMSE.js.map} +0 -0
- /package/dist/{chunk-3A3HSUBD.js.map → chunk-3JLMVWRO.js.map} +0 -0
- /package/dist/{chunk-UKEI5DJS.js.map → chunk-4J2F6OWM.js.map} +0 -0
- /package/dist/{chunk-M7CC2GUA.js.map → chunk-4YG55UQ6.js.map} +0 -0
- /package/dist/{chunk-WJGSOT6H.js.map → chunk-55T4LC2P.js.map} +0 -0
- /package/dist/{chunk-LHUSNLSJ.js.map → chunk-6EW27TKI.js.map} +0 -0
- /package/dist/{chunk-VS6DDWIX.js.map → chunk-A72CRTFG.js.map} +0 -0
- /package/dist/{chunk-6T5JRU75.js.map → chunk-AC7FECH5.js.map} +0 -0
- /package/dist/{chunk-YXDWREKR.js.map → chunk-ADVMIHTB.js.map} +0 -0
- /package/dist/{chunk-ZWFNIN6O.js.map → chunk-AMKLWFT3.js.map} +0 -0
- /package/dist/{chunk-ZFFWFVER.js.map → chunk-AT4EPCOV.js.map} +0 -0
- /package/dist/{chunk-RF6DCSJM.js.map → chunk-AWP2MCMN.js.map} +0 -0
- /package/dist/{chunk-2AENPORN.js.map → chunk-BGPCIL4U.js.map} +0 -0
- /package/dist/{chunk-TMRRQ6TT.js.map → chunk-BGS5M542.js.map} +0 -0
- /package/dist/{chunk-DOOT25BN.js.map → chunk-BMLV63AW.js.map} +0 -0
- /package/dist/{chunk-YJVBX3HU.js.map → chunk-CIUTNNF4.js.map} +0 -0
- /package/dist/{chunk-RFNMR7M4.js.map → chunk-DAQJZE3B.js.map} +0 -0
- /package/dist/{chunk-63HMFHNG.js.map → chunk-DLV7TRON.js.map} +0 -0
- /package/dist/{chunk-INQVYKB4.js.map → chunk-F5RPC3LT.js.map} +0 -0
- /package/dist/{chunk-D4V5W6IC.js.map → chunk-G7VLIMOH.js.map} +0 -0
- /package/dist/{chunk-DAVDKNRH.js.map → chunk-GUEJVX2X.js.map} +0 -0
- /package/dist/{chunk-CHSKQHYY.js.map → chunk-H4TNGZKT.js.map} +0 -0
- /package/dist/{chunk-S6V3G3J5.js.map → chunk-H5JNYD63.js.map} +0 -0
- /package/dist/{chunk-FDTBJW7M.js.map → chunk-IBTA4DSY.js.map} +0 -0
- /package/dist/{chunk-GUHRMQNP.js.map → chunk-ITNSUPVJ.js.map} +0 -0
- /package/dist/{chunk-E2PKPMWC.js.map → chunk-IVH5T4U2.js.map} +0 -0
- /package/dist/{chunk-3HWQYW6S.js.map → chunk-J5B2Z7SO.js.map} +0 -0
- /package/dist/{chunk-UM4R6YIC.js.map → chunk-KK5RCNDL.js.map} +0 -0
- /package/dist/{chunk-UBGKHTXX.js.map → chunk-LBJHFVH3.js.map} +0 -0
- /package/dist/{chunk-V2TTONXR.js.map → chunk-LVNPLXUO.js.map} +0 -0
- /package/dist/{chunk-HX7B4PI2.js.map → chunk-N2IDEZGB.js.map} +0 -0
- /package/dist/{chunk-WK5ZIO6B.js.map → chunk-PJ7ZKAZF.js.map} +0 -0
- /package/dist/{chunk-T3HVNKHI.js.map → chunk-PYHYZGY4.js.map} +0 -0
- /package/dist/{chunk-33SBTWZW.js.map → chunk-PZGLIYMD.js.map} +0 -0
- /package/dist/{chunk-DZACN5FM.js.map → chunk-QDNNFL56.js.map} +0 -0
- /package/dist/{chunk-2I3HHZMS.js.map → chunk-QO4QWQUO.js.map} +0 -0
- /package/dist/{chunk-OUPQW7WQ.js.map → chunk-QTENJUM3.js.map} +0 -0
- /package/dist/{chunk-4GUB7MQG.js.map → chunk-S7OCHVVD.js.map} +0 -0
- /package/dist/{chunk-IWMODEU4.js.map → chunk-V76KARDB.js.map} +0 -0
- /package/dist/{chunk-Q6RMN7PX.js.map → chunk-VBB3E37Z.js.map} +0 -0
- /package/dist/{chunk-RYFHY3JQ.js.map → chunk-VG5WQPQB.js.map} +0 -0
- /package/dist/{chunk-4TTIEI7I.js.map → chunk-VRMALBZK.js.map} +0 -0
- /package/dist/{chunk-SNQVTLBX.js.map → chunk-WKHP3AXS.js.map} +0 -0
- /package/dist/{chunk-3E3WHGSI.js.map → chunk-WVDIS22N.js.map} +0 -0
- /package/dist/{chunk-6FD52UQ6.js.map → chunk-WXYUABCL.js.map} +0 -0
- /package/dist/{chunk-NKKISMHV.js.map → chunk-XKPF4MD2.js.map} +0 -0
- /package/dist/{chunk-ZED6QQJ5.js.map → chunk-XQEP3QYX.js.map} +0 -0
- /package/dist/{cli-7RMR5D5O.js.map → cli-K6T6AJHP.js.map} +0 -0
- /package/dist/{history-II3FYVXY.js.map → history-CRUFLMA2.js.map} +0 -0
- /package/dist/{install-skills-LAFRMJ7N.js.map → install-skills-M2Y6ZGQC.js.map} +0 -0
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
blockRefFrom,
|
|
6
6
|
readBlock,
|
|
7
7
|
removeBlocker
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-55T4LC2P.js";
|
|
9
9
|
import {
|
|
10
10
|
sessionFromArgs,
|
|
11
11
|
sessionPositionals
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VG5WQPQB.js";
|
|
13
13
|
import "./chunk-6AQRYLOB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-AWP2MCMN.js";
|
|
15
15
|
import "./chunk-ZSHWP2VS.js";
|
|
16
16
|
import "./chunk-CNZV3UCM.js";
|
|
17
17
|
import "./chunk-HUXS3VAI.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-WKHP3AXS.js";
|
|
19
19
|
import "./chunk-FGPXMAYU.js";
|
|
20
20
|
import "./chunk-GNIYYXQX.js";
|
|
21
21
|
import "./chunk-T5GJVUSL.js";
|
|
@@ -24,18 +24,21 @@ import "./chunk-4CXUVBOD.js";
|
|
|
24
24
|
import {
|
|
25
25
|
findSession,
|
|
26
26
|
loadHistory
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-A72CRTFG.js";
|
|
28
28
|
import "./chunk-NEJVK5CF.js";
|
|
29
29
|
import {
|
|
30
30
|
sessionIdFor
|
|
31
31
|
} from "./chunk-ALBTIOP3.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-FJYM2JQN.js";
|
|
33
|
+
import "./chunk-KGHWHAVF.js";
|
|
34
|
+
import "./chunk-WIYDT3PY.js";
|
|
35
|
+
import "./chunk-YQSWVHKK.js";
|
|
36
|
+
import "./chunk-JUGF3YE7.js";
|
|
35
37
|
import "./chunk-HK6AZQ5Z.js";
|
|
36
38
|
import "./chunk-7334DEPX.js";
|
|
37
39
|
import "./chunk-MWIPHUAE.js";
|
|
38
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-HGB7BITW.js";
|
|
41
|
+
import "./chunk-BR6OWWAA.js";
|
|
39
42
|
import "./chunk-VHENFC2S.js";
|
|
40
43
|
import "./chunk-QOSAWNOU.js";
|
|
41
44
|
import "./chunk-D2J3AD6L.js";
|
|
@@ -96,4 +99,4 @@ var blockCommand = {
|
|
|
96
99
|
export {
|
|
97
100
|
blockCommand
|
|
98
101
|
};
|
|
99
|
-
//# sourceMappingURL=block-
|
|
102
|
+
//# sourceMappingURL=block-FSGNBJSN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/block.ts"],"sourcesContent":["import chalk from 'chalk';\nimport type { CommandModule } from 'yargs';\nimport { blockRefFrom } from '../core/rail/session-blocks.js';\nimport { addBlocker, blockKey, readBlock, removeBlocker } from '../core/rail/session-blocks.js';\nimport { findSession, loadHistory } from '../core/sessions/history.js';\nimport { sessionIdFor } from '../core/sessions/session-id.js';\nimport { sessionFromArgs, sessionPositionals } from './shared/session-arg.js';\n\n/**\n * `work block` — \"Blocked by\" (session-blocks.ts) from a terminal: the\n * session waits on another session (`--on <alias> --on-branch <branch>`) or\n * a pull request (`--pr <url>`); `--off` stops waiting; no option lists it.\n */\nexport const blockCommand: CommandModule = {\n command: 'block [target] [branch]',\n describe: 'Mark a session as waiting on another session or a PR (out of the Inbox until that is done)',\n builder: (yargs) =>\n sessionPositionals(yargs)\n .option('on', { type: 'string', describe: 'The repo or group of the session it waits on' })\n .option('on-branch', { type: 'string', describe: 'The branch of the session it waits on' })\n .option('pr', { type: 'string', describe: 'A pull request URL it waits on' })\n .option('off', { type: 'boolean', describe: 'Stop waiting (on everything, or with --on/--pr on that one)' }),\n handler: (argv) => {\n const s = sessionFromArgs(argv);\n if (!s) return;\n const id = sessionIdFor(s);\n const name = `${s.target} · ${s.branch}`;\n let ref = null;\n if (typeof argv.on === 'string') {\n const other = typeof argv['on-branch'] === 'string' ? findSession(loadHistory(), argv.on, argv['on-branch']) : null;\n if (!other) {\n console.error(chalk.red(`No live session ${argv.on} ${argv['on-branch'] ?? '(give --on-branch)'}.`));\n process.exitCode = 1;\n return;\n }\n ref = blockRefFrom({ kind: 'session', id: sessionIdFor(other) });\n } else if (typeof argv.pr === 'string') {\n ref = blockRefFrom({ kind: 'pr', url: argv.pr });\n if (!ref) {\n console.error(chalk.red(`Not a pull request link: ${argv.pr}`));\n process.exitCode = 1;\n return;\n }\n }\n if (argv.off) {\n removeBlocker(id, ref ? blockKey(ref) : undefined);\n console.log(chalk.green(ref ? `${name} no longer waits on ${ref.label}.` : `${name} no longer waits on anything.`));\n return;\n }\n if (!ref) {\n const b = readBlock(id);\n if (!b) console.log(chalk.gray(`${name} waits on nothing.`));\n else\n for (const x of b.by)\n console.log(`${x.label}${x.kind === 'pr' ? ` ${chalk.gray(x.url)}${x.state ? ` (${x.state.toLowerCase()})` : ''}` : ''}`);\n return;\n }\n const r = addBlocker(id, ref);\n if (!r.ok) {\n console.error(chalk.red(r.error));\n process.exitCode = 1;\n return;\n }\n console.log(chalk.green(`${name} waits on ${ref.label}: out of the Inbox until it is done.`));\n },\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/commands/block.ts"],"sourcesContent":["import chalk from 'chalk';\nimport type { CommandModule } from 'yargs';\nimport { blockRefFrom } from '../core/rail/session-blocks.js';\nimport { addBlocker, blockKey, readBlock, removeBlocker } from '../core/rail/session-blocks.js';\nimport { findSession, loadHistory } from '../core/sessions/history.js';\nimport { sessionIdFor } from '../core/sessions/session-id.js';\nimport { sessionFromArgs, sessionPositionals } from './shared/session-arg.js';\n\n/**\n * `work block` — \"Blocked by\" (session-blocks.ts) from a terminal: the\n * session waits on another session (`--on <alias> --on-branch <branch>`) or\n * a pull request (`--pr <url>`); `--off` stops waiting; no option lists it.\n */\nexport const blockCommand: CommandModule = {\n command: 'block [target] [branch]',\n describe: 'Mark a session as waiting on another session or a PR (out of the Inbox until that is done)',\n builder: (yargs) =>\n sessionPositionals(yargs)\n .option('on', { type: 'string', describe: 'The repo or group of the session it waits on' })\n .option('on-branch', { type: 'string', describe: 'The branch of the session it waits on' })\n .option('pr', { type: 'string', describe: 'A pull request URL it waits on' })\n .option('off', { type: 'boolean', describe: 'Stop waiting (on everything, or with --on/--pr on that one)' }),\n handler: (argv) => {\n const s = sessionFromArgs(argv);\n if (!s) return;\n const id = sessionIdFor(s);\n const name = `${s.target} · ${s.branch}`;\n let ref = null;\n if (typeof argv.on === 'string') {\n const other = typeof argv['on-branch'] === 'string' ? findSession(loadHistory(), argv.on, argv['on-branch']) : null;\n if (!other) {\n console.error(chalk.red(`No live session ${argv.on} ${argv['on-branch'] ?? '(give --on-branch)'}.`));\n process.exitCode = 1;\n return;\n }\n ref = blockRefFrom({ kind: 'session', id: sessionIdFor(other) });\n } else if (typeof argv.pr === 'string') {\n ref = blockRefFrom({ kind: 'pr', url: argv.pr });\n if (!ref) {\n console.error(chalk.red(`Not a pull request link: ${argv.pr}`));\n process.exitCode = 1;\n return;\n }\n }\n if (argv.off) {\n removeBlocker(id, ref ? blockKey(ref) : undefined);\n console.log(chalk.green(ref ? `${name} no longer waits on ${ref.label}.` : `${name} no longer waits on anything.`));\n return;\n }\n if (!ref) {\n const b = readBlock(id);\n if (!b) console.log(chalk.gray(`${name} waits on nothing.`));\n else\n for (const x of b.by)\n console.log(`${x.label}${x.kind === 'pr' ? ` ${chalk.gray(x.url)}${x.state ? ` (${x.state.toLowerCase()})` : ''}` : ''}`);\n return;\n }\n const r = addBlocker(id, ref);\n if (!r.ok) {\n console.error(chalk.red(r.error));\n process.exitCode = 1;\n return;\n }\n console.log(chalk.green(`${name} waits on ${ref.label}: out of the Inbox until it is done.`));\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,WAAW;AAaX,IAAM,eAA8B;AAAA,EACzC,SAAS;AAAA,EACT,UAAU;AAAA,EACV,SAAS,CAAC,UACR,mBAAmB,KAAK,EACrB,OAAO,MAAM,EAAE,MAAM,UAAU,UAAU,+CAA+C,CAAC,EACzF,OAAO,aAAa,EAAE,MAAM,UAAU,UAAU,wCAAwC,CAAC,EACzF,OAAO,MAAM,EAAE,MAAM,UAAU,UAAU,iCAAiC,CAAC,EAC3E,OAAO,OAAO,EAAE,MAAM,WAAW,UAAU,8DAA8D,CAAC;AAAA,EAC/G,SAAS,CAAC,SAAS;AACjB,UAAM,IAAI,gBAAgB,IAAI;AAC9B,QAAI,CAAC,EAAG;AACR,UAAM,KAAK,aAAa,CAAC;AACzB,UAAM,OAAO,GAAG,EAAE,MAAM,SAAM,EAAE,MAAM;AACtC,QAAI,MAAM;AACV,QAAI,OAAO,KAAK,OAAO,UAAU;AAC/B,YAAM,QAAQ,OAAO,KAAK,WAAW,MAAM,WAAW,YAAY,YAAY,GAAG,KAAK,IAAI,KAAK,WAAW,CAAC,IAAI;AAC/G,UAAI,CAAC,OAAO;AACV,gBAAQ,MAAM,MAAM,IAAI,mBAAmB,KAAK,EAAE,IAAI,KAAK,WAAW,KAAK,oBAAoB,GAAG,CAAC;AACnG,gBAAQ,WAAW;AACnB;AAAA,MACF;AACA,YAAM,aAAa,EAAE,MAAM,WAAW,IAAI,aAAa,KAAK,EAAE,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F.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionIdFor
|
|
15
15
|
} from "./chunk-ALBTIOP3.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-FJYM2JQN.js";
|
|
17
|
+
import "./chunk-KGHWHAVF.js";
|
|
18
|
+
import "./chunk-WIYDT3PY.js";
|
|
19
|
+
import "./chunk-YQSWVHKK.js";
|
|
20
|
+
import "./chunk-JUGF3YE7.js";
|
|
19
21
|
import "./chunk-HK6AZQ5Z.js";
|
|
20
22
|
import "./chunk-7334DEPX.js";
|
|
21
23
|
import "./chunk-MWIPHUAE.js";
|
|
22
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-HGB7BITW.js";
|
|
25
|
+
import "./chunk-BR6OWWAA.js";
|
|
23
26
|
import "./chunk-VHENFC2S.js";
|
|
24
27
|
import "./chunk-QOSAWNOU.js";
|
|
25
28
|
import "./chunk-D2J3AD6L.js";
|
|
@@ -110,4 +113,4 @@ var broadcastCommand = {
|
|
|
110
113
|
export {
|
|
111
114
|
broadcastCommand
|
|
112
115
|
};
|
|
113
|
-
//# sourceMappingURL=broadcast-
|
|
116
|
+
//# sourceMappingURL=broadcast-5WAUMYVO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/broadcast.ts","../src/core/comments/broadcast.ts"],"sourcesContent":["import fs from 'node:fs';\nimport chalk from 'chalk';\nimport type { CommandModule } from 'yargs';\nimport { loadHistory } from '../core/sessions/history.js';\nimport { broadcastPrompt } from '../core/comments/broadcast.js';\n\n/** Read the whole of stdin synchronously (for `broadcast -`). */\nfunction readStdin(): string {\n try {\n return fs.readFileSync(0, 'utf-8');\n } catch {\n return '';\n }\n}\n\nexport const broadcastCommand: CommandModule = {\n command: 'broadcast <prompt>',\n describe: \"Queue a prompt to every live session; delivered on each session's next turn\",\n builder: (yargs) =>\n yargs\n .positional('prompt', {\n describe: 'Prompt to send, or \"-\" to read from stdin',\n type: 'string',\n })\n .option('target', {\n describe: 'Only sessions for this project/group alias',\n type: 'string',\n })\n .option('branch', {\n describe: 'With --target, only this branch',\n type: 'string',\n })\n .option('all', {\n describe: 'Required to broadcast to every session when no --target',\n type: 'boolean',\n default: false,\n }),\n handler: async (argv) => {\n let prompt = (argv.prompt as string | undefined) ?? '';\n if (prompt === '-') {\n prompt = readStdin();\n }\n prompt = prompt.trim();\n if (!prompt) {\n console.error(chalk.red('Empty prompt. Usage: work broadcast <prompt>'));\n process.exitCode = 1;\n return;\n }\n\n const target = argv.target as string | undefined;\n const branch = argv.branch as string | undefined;\n const all = argv.all as boolean;\n if (branch && !target) {\n console.error(chalk.red('--branch requires --target.'));\n process.exitCode = 1;\n return;\n }\n // Guardrail: broadcasting to every session is a wide blast radius, so\n // require an explicit --all (or a narrowing --target) rather than letting\n // a bare `work broadcast \"...\"` fan out to the whole fleet by accident.\n if (!target && !all) {\n console.error(chalk.red('Refusing to broadcast to every session. Pass --all to confirm, or --target <alias> to narrow.'));\n process.exitCode = 1;\n return;\n }\n\n const queued = await broadcastPrompt(loadHistory(), { target, branch }, prompt);\n\n if (queued.length === 0) {\n console.log(chalk.yellow('No matching sessions to broadcast to.'));\n return;\n }\n\n console.log(chalk.cyan(`Queued prompt to ${queued.length} session${queued.length === 1 ? '' : 's'}:`));\n for (const t of queued) {\n console.log(` ${chalk.cyan(`[${t.session.target}/${t.session.branch}]`)} ${chalk.gray(t.sessionId)}`);\n }\n console.log('');\n console.log(chalk.gray('Delivery is lazy: each session picks this up on its next prompt (UserPromptSubmit hook).'));\n },\n};\n","/**\n * Core for `work broadcast`: queue a prompt to every (filtered) live session\n * via the existing pending-delivery mechanism. We do NOT touch PTYs — those\n * are per-process and unreachable from a separate CLI. Instead we post a\n * `published`, `author:'user'` comment to each session's comment file store;\n * `work hook prompt-submit` surfaces it on that session's next turn (see\n * pending-delivery.ts `readPendingForSession`, which selects exactly those).\n *\n * Broadcast writes from a SEPARATE process while `work web` may be writing\n * the same session's comments; the comment store's writes are database\n * transactions that reload first, so neither side's write is lost.\n */\n\nimport { getCommentFileStore } from './comment-file-store.js';\nimport { sessionIdFor } from '../sessions/session-id.js';\nimport { selectSessions, type FleetFilter } from '../sessions/fleet.js';\nimport type { WorktreeSession } from '../sessions/history.js';\n\nexport interface BroadcastTarget {\n session: WorktreeSession;\n sessionId: string;\n commentId: string;\n}\n\n/**\n * Post `prompt` as a published user comment (side 'general') to every session\n * matching `filter`. Returns one entry per session queued.\n */\nexport async function broadcastPrompt(sessions: WorktreeSession[], filter: FleetFilter, prompt: string): Promise<BroadcastTarget[]> {\n const body = prompt.trim();\n if (!body) throw new Error('broadcast prompt is empty');\n\n const selected = selectSessions(sessions, filter);\n const out: BroadcastTarget[] = [];\n for (const session of selected) {\n const sessionId = sessionIdFor(session);\n // The store's post is a transaction that reloads first, so a\n // concurrent work web write to the same session can't be lost.\n const c = getCommentFileStore(sessionId).post({ side: 'general', status: 'published', author: 'user', body });\n out.push({ session, sessionId, commentId: c.id });\n }\n return out;\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/commands/broadcast.ts","../src/core/comments/broadcast.ts"],"sourcesContent":["import fs from 'node:fs';\nimport chalk from 'chalk';\nimport type { CommandModule } from 'yargs';\nimport { loadHistory } from '../core/sessions/history.js';\nimport { broadcastPrompt } from '../core/comments/broadcast.js';\n\n/** Read the whole of stdin synchronously (for `broadcast -`). */\nfunction readStdin(): string {\n try {\n return fs.readFileSync(0, 'utf-8');\n } catch {\n return '';\n }\n}\n\nexport const broadcastCommand: CommandModule = {\n command: 'broadcast <prompt>',\n describe: \"Queue a prompt to every live session; delivered on each session's next turn\",\n builder: (yargs) =>\n yargs\n .positional('prompt', {\n describe: 'Prompt to send, or \"-\" to read from stdin',\n type: 'string',\n })\n .option('target', {\n describe: 'Only sessions for this project/group alias',\n type: 'string',\n })\n .option('branch', {\n describe: 'With --target, only this branch',\n type: 'string',\n })\n .option('all', {\n describe: 'Required to broadcast to every session when no --target',\n type: 'boolean',\n default: false,\n }),\n handler: async (argv) => {\n let prompt = (argv.prompt as string | undefined) ?? '';\n if (prompt === '-') {\n prompt = readStdin();\n }\n prompt = prompt.trim();\n if (!prompt) {\n console.error(chalk.red('Empty prompt. Usage: work broadcast <prompt>'));\n process.exitCode = 1;\n return;\n }\n\n const target = argv.target as string | undefined;\n const branch = argv.branch as string | undefined;\n const all = argv.all as boolean;\n if (branch && !target) {\n console.error(chalk.red('--branch requires --target.'));\n process.exitCode = 1;\n return;\n }\n // Guardrail: broadcasting to every session is a wide blast radius, so\n // require an explicit --all (or a narrowing --target) rather than letting\n // a bare `work broadcast \"...\"` fan out to the whole fleet by accident.\n if (!target && !all) {\n console.error(chalk.red('Refusing to broadcast to every session. Pass --all to confirm, or --target <alias> to narrow.'));\n process.exitCode = 1;\n return;\n }\n\n const queued = await broadcastPrompt(loadHistory(), { target, branch }, prompt);\n\n if (queued.length === 0) {\n console.log(chalk.yellow('No matching sessions to broadcast to.'));\n return;\n }\n\n console.log(chalk.cyan(`Queued prompt to ${queued.length} session${queued.length === 1 ? '' : 's'}:`));\n for (const t of queued) {\n console.log(` ${chalk.cyan(`[${t.session.target}/${t.session.branch}]`)} ${chalk.gray(t.sessionId)}`);\n }\n console.log('');\n console.log(chalk.gray('Delivery is lazy: each session picks this up on its next prompt (UserPromptSubmit hook).'));\n },\n};\n","/**\n * Core for `work broadcast`: queue a prompt to every (filtered) live session\n * via the existing pending-delivery mechanism. We do NOT touch PTYs — those\n * are per-process and unreachable from a separate CLI. Instead we post a\n * `published`, `author:'user'` comment to each session's comment file store;\n * `work hook prompt-submit` surfaces it on that session's next turn (see\n * pending-delivery.ts `readPendingForSession`, which selects exactly those).\n *\n * Broadcast writes from a SEPARATE process while `work web` may be writing\n * the same session's comments; the comment store's writes are database\n * transactions that reload first, so neither side's write is lost.\n */\n\nimport { getCommentFileStore } from './comment-file-store.js';\nimport { sessionIdFor } from '../sessions/session-id.js';\nimport { selectSessions, type FleetFilter } from '../sessions/fleet.js';\nimport type { WorktreeSession } from '../sessions/history.js';\n\nexport interface BroadcastTarget {\n session: WorktreeSession;\n sessionId: string;\n commentId: string;\n}\n\n/**\n * Post `prompt` as a published user comment (side 'general') to every session\n * matching `filter`. Returns one entry per session queued.\n */\nexport async function broadcastPrompt(sessions: WorktreeSession[], filter: FleetFilter, prompt: string): Promise<BroadcastTarget[]> {\n const body = prompt.trim();\n if (!body) throw new Error('broadcast prompt is empty');\n\n const selected = selectSessions(sessions, filter);\n const out: BroadcastTarget[] = [];\n for (const session of selected) {\n const sessionId = sessionIdFor(session);\n // The store's post is a transaction that reloads first, so a\n // concurrent work web write to the same session can't be lost.\n const c = getCommentFileStore(sessionId).post({ side: 'general', status: 'published', author: 'user', body });\n out.push({ session, sessionId, commentId: c.id });\n }\n return out;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ;AACf,OAAO,WAAW;;;AC2BlB,eAAsB,gBAAgB,UAA6B,QAAqB,QAA4C;AAClI,QAAM,OAAO,OAAO,KAAK;AACzB,MAAI,CAAC,KAAM,OAAM,IAAI,MAAM,2BAA2B;AAEtD,QAAM,WAAW,eAAe,UAAU,MAAM;AAChD,QAAM,MAAyB,CAAC;AAChC,aAAW,WAAW,UAAU;AAC9B,UAAM,YAAY,aAAa,OAAO;AAGtC,UAAM,IAAI,oBAAoB,SAAS,EAAE,KAAK,EAAE,MAAM,WAAW,QAAQ,aAAa,QAAQ,QAAQ,KAAK,CAAC;AAC5G,QAAI,KAAK,EAAE,SAAS,WAAW,WAAW,EAAE,GAAG,CAAC;AAAA,EAClD;AACA,SAAO;AACT;;;ADnCA,SAAS,YAAoB;AAC3B,MAAI;AACF,WAAO,GAAG,aAAa,GAAG,OAAO;AAAA,EACnC,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAEO,IAAM,mBAAkC;AAAA,EAC7C,SAAS;AAAA,EACT,UAAU;AAAA,EAC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MAAM,GAAG,CAAC,IAAI,MAAM,KAAK,EAAE,SAAS,CAAC,EAAE;AAAA,IACvG;AACA,YAAQ,IAAI,EAAE;AACd,YAAQ,IAAI,MAAM,KAAK,0FAA0F,CAAC;AAAA,EACpH;AACF;","names":[]}
|
|
@@ -3,31 +3,34 @@ import {
|
|
|
3
3
|
askCatchUp,
|
|
4
4
|
catchUp,
|
|
5
5
|
catchUpFacts
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-CIUTNNF4.js";
|
|
7
|
+
import "./chunk-BGPCIL4U.js";
|
|
8
|
+
import "./chunk-QO4QWQUO.js";
|
|
9
9
|
import {
|
|
10
10
|
sessionFromArgs,
|
|
11
11
|
sessionPositionals
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VG5WQPQB.js";
|
|
13
13
|
import "./chunk-6AQRYLOB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-AWP2MCMN.js";
|
|
15
15
|
import "./chunk-ZSHWP2VS.js";
|
|
16
16
|
import "./chunk-CNZV3UCM.js";
|
|
17
17
|
import "./chunk-HUXS3VAI.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-A72CRTFG.js";
|
|
19
19
|
import "./chunk-NEJVK5CF.js";
|
|
20
20
|
import {
|
|
21
21
|
sessionIdFor
|
|
22
22
|
} from "./chunk-ALBTIOP3.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-FJYM2JQN.js";
|
|
24
|
+
import "./chunk-KGHWHAVF.js";
|
|
25
|
+
import "./chunk-WIYDT3PY.js";
|
|
26
|
+
import "./chunk-YQSWVHKK.js";
|
|
25
27
|
import "./chunk-JYWX2N5W.js";
|
|
26
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-JUGF3YE7.js";
|
|
27
29
|
import "./chunk-HK6AZQ5Z.js";
|
|
28
30
|
import "./chunk-7334DEPX.js";
|
|
29
31
|
import "./chunk-MWIPHUAE.js";
|
|
30
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-HGB7BITW.js";
|
|
33
|
+
import "./chunk-BR6OWWAA.js";
|
|
31
34
|
import "./chunk-VHENFC2S.js";
|
|
32
35
|
import "./chunk-QOSAWNOU.js";
|
|
33
36
|
import "./chunk-D2J3AD6L.js";
|
|
@@ -57,4 +60,4 @@ var catchupCommand = {
|
|
|
57
60
|
export {
|
|
58
61
|
catchupCommand
|
|
59
62
|
};
|
|
60
|
-
//# sourceMappingURL=catchup-
|
|
63
|
+
//# sourceMappingURL=catchup-T5SOCXHV.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/catchup.ts"],"sourcesContent":["import chalk from 'chalk';\nimport type { CommandModule } from 'yargs';\nimport { askCatchUp, catchUpFacts } from '../core/conversations/catch-up-deps.js';\nimport { catchUp } from '../core/conversations/catch-up.js';\nimport { sessionIdFor } from '../core/sessions/session-id.js';\nimport { sessionFromArgs, sessionPositionals } from './shared/session-arg.js';\n\n/** `work catchup` — the dashboard's Catch me up (catch-up.ts): a few sentences on where a session stands. */\nexport const catchupCommand: CommandModule = {\n command: 'catchup [target] [branch]',\n describe: 'A few sentences on where a session stands: done, left, anything waiting on you (default: the session for this folder)',\n builder: (yargs) => sessionPositionals(yargs),\n handler: async (argv) => {\n const s = sessionFromArgs(argv);\n if (!s) return;\n console.error(chalk.gray(`Reading the last week of ${s.target} · ${s.branch}…`));\n const r = await catchUp(s, askCatchUp, catchUpFacts(sessionIdFor(s)));\n if (!r) {\n console.error(chalk.yellow('Nothing to go on: no conversation in the last week, or no answer from Claude.'));\n process.exitCode = 1;\n return;\n }\n console.log(r.text);\n },\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/commands/catchup.ts"],"sourcesContent":["import chalk from 'chalk';\nimport type { CommandModule } from 'yargs';\nimport { askCatchUp, catchUpFacts } from '../core/conversations/catch-up-deps.js';\nimport { catchUp } from '../core/conversations/catch-up.js';\nimport { sessionIdFor } from '../core/sessions/session-id.js';\nimport { sessionFromArgs, sessionPositionals } from './shared/session-arg.js';\n\n/** `work catchup` — the dashboard's Catch me up (catch-up.ts): a few sentences on where a session stands. */\nexport const catchupCommand: CommandModule = {\n command: 'catchup [target] [branch]',\n describe: 'A few sentences on where a session stands: done, left, anything waiting on you (default: the session for this folder)',\n builder: (yargs) => sessionPositionals(yargs),\n handler: async (argv) => {\n const s = sessionFromArgs(argv);\n if (!s) return;\n console.error(chalk.gray(`Reading the last week of ${s.target} · ${s.branch}…`));\n const r = await catchUp(s, askCatchUp, catchUpFacts(sessionIdFor(s)));\n if (!r) {\n console.error(chalk.yellow('Nothing to go on: no conversation in the last week, or no answer from Claude.'));\n process.exitCode = 1;\n return;\n }\n console.log(r.text);\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,WAAW;AAQX,IAAM,iBAAgC;AAAA,EAC3C,SAAS;AAAA,EACT,UAAU;AAAA,EACV,SAAS,CAAC,UAAU,mBAAmB,KAAK;AAAA,EAC5C,SAAS,OAAO,SAAS;AACvB,UAAM,IAAI,gBAAgB,IAAI;AAC9B,QAAI,CAAC,EAAG;AACR,YAAQ,MAAM,MAAM,KAAK,4BAA4B,EAAE,MAAM,SAAM,EAAE,MAAM,QAAG,CAAC;AAC/E,UAAM,IAAI,MAAM,QAAQ,GAAG,YAAY,aAAa,aAAa,CAAC,CAAC,CAAC;AACpE,QAAI,CAAC,GAAG;AACN,cAAQ,MAAM,MAAM,OAAO,+EAA+E,CAAC;AAC3G,cAAQ,WAAW;AACnB;AAAA,IACF;AACA,YAAQ,IAAI,EAAE,IAAI;AAAA,EACpB;AACF;","names":[]}
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
hostForRepo,
|
|
7
7
|
knownHosts
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WKHP3AXS.js";
|
|
9
9
|
import {
|
|
10
10
|
defaultRunner
|
|
11
11
|
} from "./chunk-XBWS77S2.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_HOST,
|
|
14
14
|
loadHistory
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-A72CRTFG.js";
|
|
16
16
|
import {
|
|
17
17
|
getConfigPath,
|
|
18
18
|
loadConfig
|
|
@@ -138,4 +138,4 @@ export {
|
|
|
138
138
|
checkTools,
|
|
139
139
|
setupState
|
|
140
140
|
};
|
|
141
|
-
//# sourceMappingURL=chunk-
|
|
141
|
+
//# sourceMappingURL=chunk-26DBVWJC.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-LNHSBM4L.js";
|
|
5
5
|
import {
|
|
6
6
|
knownAgents
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FJYM2JQN.js";
|
|
8
8
|
|
|
9
9
|
// src/commands/install-skills.ts
|
|
10
10
|
import chalk from "chalk";
|
|
@@ -44,4 +44,4 @@ export {
|
|
|
44
44
|
runInstallSkills,
|
|
45
45
|
installSkillsCommand
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=chunk-
|
|
47
|
+
//# sourceMappingURL=chunk-2LUTV7UB.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
sessionTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F5RPC3LT.js";
|
|
5
5
|
import {
|
|
6
6
|
agedWindow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LK7HJGUC.js";
|
|
8
8
|
import {
|
|
9
9
|
lastConversationWriteMs,
|
|
10
10
|
loadHistory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-A72CRTFG.js";
|
|
12
12
|
import {
|
|
13
13
|
dayKey
|
|
14
14
|
} from "./chunk-NEJVK5CF.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
knownAgents,
|
|
20
20
|
logSwallowed
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FJYM2JQN.js";
|
|
22
22
|
|
|
23
23
|
// src/core/usage/usage-source.ts
|
|
24
24
|
var WEEK_DAYS = 7;
|
|
@@ -87,6 +87,17 @@ async function buildUsage(deps, now = Date.now()) {
|
|
|
87
87
|
at: new Date(now).toISOString()
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
+
async function refreshUsage(agents) {
|
|
91
|
+
await Promise.all(
|
|
92
|
+
agents.map(async (a) => {
|
|
93
|
+
try {
|
|
94
|
+
await a.usage?.refresh?.();
|
|
95
|
+
} catch (e) {
|
|
96
|
+
logSwallowed(`usage: refresh of ${a.id}`, e);
|
|
97
|
+
}
|
|
98
|
+
})
|
|
99
|
+
);
|
|
100
|
+
}
|
|
90
101
|
function usageSessions(all, lastWriteMs, now) {
|
|
91
102
|
return all.filter((s) => !s.archivedAt && lastWriteMs(s) >= now - WEEK_DAYS * 24 * 36e5);
|
|
92
103
|
}
|
|
@@ -128,8 +139,9 @@ async function restoreAgentUsage(agents) {
|
|
|
128
139
|
|
|
129
140
|
export {
|
|
130
141
|
buildUsage,
|
|
142
|
+
refreshUsage,
|
|
131
143
|
realUsageDeps,
|
|
132
144
|
setupAgentUsage,
|
|
133
145
|
restoreAgentUsage
|
|
134
146
|
};
|
|
135
|
-
//# sourceMappingURL=chunk-
|
|
147
|
+
//# sourceMappingURL=chunk-2SLALFWA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/core/usage/usage-source.ts","../src/core/usage/usage-setup.ts"],"sourcesContent":["import { knownAgents } from '../agents/index.js';\nimport { sessionTokens } from '../conversations/work-time-source.js';\nimport { dayKey } from '../conversations/work-time-view.js';\nimport { loadHistory } from '../sessions/history.js';\nimport { sessionIdFor } from '../sessions/session-id.js';\nimport { logSwallowed } from '../platform/best-effort.js';\nimport { lastConversationWriteMs } from '../sessions/session-activity.js';\nimport type { WorktreeSession } from '../sessions/session-types.js';\nimport type { TokenTotals, UsageWire } from '../api-types.js';\nimport type { AgentUsageSource } from '../agents/types.js';\nimport { agedWindow } from './usage.js';\n\n/**\n * What GET /api/usage and `work usage` answer: each agent's plan limits as\n * the last reading says (aged to now) and the tokens its sessions' transcripts\n * show, today and over the last 7 days. The I/O comes in through `deps`.\n */\n\nconst WEEK_DAYS = 7;\nconst TOP_SESSIONS = 5;\n\nexport interface UsageDeps {\n /** The agents that may have a usage part. */\n agents(): Array<{ id: string; name: string; usage?: Pick<AgentUsageSource, 'read'> }>;\n /** Sessions worth reading: live ones its agent wrote in lately. */\n sessions(now: number): WorktreeSession[];\n tokens(s: WorktreeSession, sinceDay: string): Promise<Record<string, Record<string, TokenTotals>>>;\n label(s: WorktreeSession): string;\n}\n\nconst zero = (): TokenTotals => ({ input: 0, cached: 0, output: 0 });\n\nfunction add(into: TokenTotals, t: TokenTotals): void {\n into.input += t.input;\n into.cached += t.cached;\n into.output += t.output;\n}\n\n/** The `week` days begin at: today and the 6 local days before it (by the calendar, not 24 h steps). */\nexport function weekStartDay(now: number): string {\n const d = new Date(now);\n d.setDate(d.getDate() - (WEEK_DAYS - 1));\n return dayKey(d.getTime());\n}\n\nexport async function buildUsage(deps: UsageDeps, now = Date.now()): Promise<UsageWire> {\n const agents: UsageWire['agents'] = [];\n for (const a of deps.agents()) {\n if (!a.usage) continue;\n agents.push({\n agent: a.id,\n name: a.name,\n accounts: a.usage.read().map((acc) => ({ ...acc, windows: acc.windows.map((w) => agedWindow(w, now)) })),\n });\n }\n\n const today = dayKey(now);\n const since = weekStartDay(now);\n const todayTotal = zero();\n const weekTotal = zero();\n const models = new Map<string, { today: TokenTotals; week: TokenTotals }>();\n const perSession: Array<{ id: string; label: string; week: TokenTotals }> = [];\n for (const s of deps.sessions(now)) {\n let days: Record<string, Record<string, TokenTotals>>;\n try {\n days = await deps.tokens(s, since);\n } catch (e) {\n logSwallowed(`usage: tokens of ${sessionIdFor(s)}`, e);\n continue; // one unreadable session doesn't hide the rest\n }\n const week = zero();\n for (const [day, byModel] of Object.entries(days)) {\n if (day < since || day > today) continue;\n for (const [model, t] of Object.entries(byModel)) {\n const m = models.get(model) ?? { today: zero(), week: zero() };\n models.set(model, m);\n add(m.week, t);\n add(weekTotal, t);\n add(week, t);\n if (day === today) {\n add(m.today, t);\n add(todayTotal, t);\n }\n }\n }\n if (week.input + week.output > 0) perSession.push({ id: sessionIdFor(s), label: deps.label(s), week });\n }\n\n const size = (t: TokenTotals) => t.input + t.output;\n return {\n agents,\n tokens: {\n today: todayTotal,\n week: weekTotal,\n byModel: [...models].map(([model, v]) => ({ model, ...v })).sort((a, b) => size(b.week) - size(a.week)),\n topSessions: perSession.sort((a, b) => size(b.week) - size(a.week)).slice(0, TOP_SESSIONS),\n },\n at: new Date(now).toISOString(),\n };\n}\n\n/**\n * Let each agent ask for what its readings can't carry (`AgentUsageSource.refresh`: Claude's per-model windows); the\n * answers land in the readings folder. One that fails is logged, never thrown: the readings there still answer.\n */\nexport async function refreshUsage(agents: Array<{ id: string; usage?: Pick<AgentUsageSource, 'refresh'> }>): Promise<void> {\n await Promise.all(\n agents.map(async (a) => {\n try {\n await a.usage?.refresh?.();\n } catch (e) {\n logSwallowed(`usage: refresh of ${a.id}`, e);\n }\n }),\n );\n}\n\n/** The sessions whose tokens can fall in the week: not archived, and their agent wrote in the last 7 days. */\nexport function usageSessions(all: WorktreeSession[], lastWriteMs: (s: WorktreeSession) => number, now: number): WorktreeSession[] {\n return all.filter((s) => !s.archivedAt && lastWriteMs(s) >= now - WEEK_DAYS * 24 * 3_600_000);\n}\n\nexport function realUsageDeps(): UsageDeps {\n return {\n agents: () => knownAgents(),\n sessions: (now) => usageSessions(loadHistory(), lastConversationWriteMs, now),\n tokens: sessionTokens,\n label: (s) => `${s.target} · ${s.title ? s.title : s.branch}`,\n };\n}\n","import { logSwallowed } from '../platform/best-effort.js';\nimport type { AgentUsageSource } from '../agents/types.js';\n\n/** What setup and restore need of an agent: its name and usage part (AgentAdapter fits). */\nexport interface UsageAgent {\n id: string;\n name: string;\n usage?: Pick<AgentUsageSource, 'setup' | 'restore'>;\n}\n\n/**\n * Work web's start: every agent with a usage part puts in place (or, with config `usage.statusLine: false`, takes away)\n * what records its readings. One agent's failure is logged and the rest go on; what each did is returned.\n */\nexport async function setupAgentUsage(\n agents: readonly UsageAgent[],\n config: { usage?: { statusLine?: boolean } } | null,\n lean: boolean,\n): Promise<Array<{ agent: string; message: string }>> {\n const enabled = config?.usage?.statusLine !== false;\n const done: Array<{ agent: string; message: string }> = [];\n for (const a of agents) {\n if (!a.usage?.setup) continue;\n try {\n done.push({ agent: a.id, message: await a.usage.setup({ enabled, lean }) });\n } catch (e) {\n logSwallowed(`set up ${a.name}'s usage readings`, e);\n }\n }\n return done;\n}\n\n/** `work usage --restore`: each agent gives its own setting back. A failure is that agent's `ok: false`, with why. */\nexport async function restoreAgentUsage(\n agents: readonly UsageAgent[],\n): Promise<Array<{ agent: string; name: string; ok: boolean; message: string }>> {\n const out: Array<{ agent: string; name: string; ok: boolean; message: string }> = [];\n for (const a of agents) {\n if (!a.usage?.restore) continue;\n try {\n out.push({ agent: a.id, name: a.name, ...(await a.usage.restore()) });\n } catch (e) {\n out.push({ agent: a.id, name: a.name, ok: false, message: e instanceof Error ? e.message : String(e) });\n }\n }\n return out;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAkBA,IAAM,YAAY;AAClB,IAAM,eAAe;AAWrB,IAAM,OAAO,OAAoB,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,EAAE;AAElE,SAAS,IAAI,MAAmB,GAAsB;AACpD,OAAK,SAAS,EAAE;AAChB,OAAK,UAAU,EAAE;AACjB,OAAK,UAAU,EAAE;AACnB;AAGO,SAAS,aAAa,KAAqB;AAChD,QAAM,IAAI,I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
8
|
+
} from "./chunk-VRMALBZK.js";
|
|
9
9
|
import {
|
|
10
10
|
sessionIdFor
|
|
11
11
|
} from "./chunk-ALBTIOP3.js";
|
|
@@ -116,4 +116,4 @@ async function attachSession(session, launch = {}) {
|
|
|
116
116
|
export {
|
|
117
117
|
attachSession
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=chunk-
|
|
119
|
+
//# sourceMappingURL=chunk-2YRR5Q3C.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createFsWatcher,
|
|
4
4
|
findSessionById
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-A72CRTFG.js";
|
|
6
6
|
|
|
7
7
|
// src/core/sessions/web-state.ts
|
|
8
8
|
function findSession(sessionId) {
|
|
@@ -68,4 +68,4 @@ export {
|
|
|
68
68
|
disposeSessionWatcher,
|
|
69
69
|
disposeAllWatchers
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-374HKMSE.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
checkedOutBranch,
|
|
10
10
|
gitDirs
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FJYM2JQN.js";
|
|
12
12
|
|
|
13
13
|
// src/core/sessions/session-branches.ts
|
|
14
14
|
import path2 from "path";
|
|
@@ -375,4 +375,4 @@ export {
|
|
|
375
375
|
MAX_WATCHED_BRANCHES,
|
|
376
376
|
otherBranchesToWatch
|
|
377
377
|
};
|
|
378
|
-
//# sourceMappingURL=chunk-
|
|
378
|
+
//# sourceMappingURL=chunk-3JLMVWRO.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
isPersistedPty,
|
|
4
4
|
ptySessionsPath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DLV7TRON.js";
|
|
6
6
|
import {
|
|
7
7
|
json,
|
|
8
8
|
tx,
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
adoptLegacyRestoreList,
|
|
74
74
|
forgetPersistedSession
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-4J2F6OWM.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
hostOfPrUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WKHP3AXS.js";
|
|
5
5
|
import {
|
|
6
6
|
loadHistory,
|
|
7
7
|
parsePrLink
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-A72CRTFG.js";
|
|
9
9
|
import {
|
|
10
10
|
json,
|
|
11
11
|
sessionIdFor,
|
|
@@ -164,4 +164,4 @@ export {
|
|
|
164
164
|
blockRefFrom,
|
|
165
165
|
blockedPrState
|
|
166
166
|
};
|
|
167
|
-
//# sourceMappingURL=chunk-
|
|
167
|
+
//# sourceMappingURL=chunk-55T4LC2P.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
sessionStatusView
|
|
4
|
-
} from "./chunk-DZACN5FM.js";
|
|
5
2
|
import {
|
|
6
3
|
peekPty
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S7OCHVVD.js";
|
|
8
5
|
import {
|
|
9
6
|
isLeftover
|
|
10
7
|
} from "./chunk-EORL2V7P.js";
|
|
8
|
+
import {
|
|
9
|
+
sessionStatusView
|
|
10
|
+
} from "./chunk-QDNNFL56.js";
|
|
11
11
|
import {
|
|
12
12
|
readPendingForWorktree,
|
|
13
13
|
scopeStoreIdsForPaths
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AWP2MCMN.js";
|
|
15
15
|
import {
|
|
16
16
|
readStoresComments
|
|
17
17
|
} from "./chunk-CNZV3UCM.js";
|
|
18
18
|
import {
|
|
19
19
|
stageInputOf
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VBB3E37Z.js";
|
|
21
21
|
import {
|
|
22
22
|
STAGE_WANTS_YOU,
|
|
23
23
|
archiveDirFor,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
snoozeActive,
|
|
38
38
|
stageRepos,
|
|
39
39
|
withLiveClaude
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-A72CRTFG.js";
|
|
41
41
|
import {
|
|
42
42
|
sessionIdFor
|
|
43
43
|
} from "./chunk-ALBTIOP3.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
bestEffort,
|
|
48
48
|
checkedOutBranch,
|
|
49
49
|
readJsonlTail
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-FJYM2JQN.js";
|
|
51
51
|
import {
|
|
52
52
|
DEFAULT_ACCOUNT,
|
|
53
53
|
getConfigPath,
|
|
@@ -417,4 +417,4 @@ export {
|
|
|
417
417
|
lastActiveMs,
|
|
418
418
|
createArchivedRows
|
|
419
419
|
};
|
|
420
|
-
//# sourceMappingURL=chunk-
|
|
420
|
+
//# sourceMappingURL=chunk-6EW27TKI.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
logSwallowed,
|
|
17
17
|
readJsonlTail,
|
|
18
18
|
workingBranch
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FJYM2JQN.js";
|
|
20
20
|
import {
|
|
21
21
|
loadConfig
|
|
22
22
|
} from "./chunk-MWIPHUAE.js";
|
|
@@ -3198,4 +3198,4 @@ export {
|
|
|
3198
3198
|
mergeHydratedSessions,
|
|
3199
3199
|
forgetOtherBaseCheckoutEntries
|
|
3200
3200
|
};
|
|
3201
|
-
//# sourceMappingURL=chunk-
|
|
3201
|
+
//# sourceMappingURL=chunk-A72CRTFG.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
isSessionCi
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PYHYZGY4.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultHost,
|
|
7
7
|
hostForOrigin,
|
|
8
8
|
hostOfThread,
|
|
9
9
|
knownHosts
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WKHP3AXS.js";
|
|
11
11
|
import {
|
|
12
12
|
MAX_THREAD_BODY,
|
|
13
13
|
isThreadCode,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-GNIYYXQX.js";
|
|
20
20
|
import {
|
|
21
21
|
sessionRepos
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-A72CRTFG.js";
|
|
23
23
|
import {
|
|
24
24
|
json,
|
|
25
25
|
sessionIdFor,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-ALBTIOP3.js";
|
|
29
29
|
import {
|
|
30
30
|
checkedOutBranch
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FJYM2JQN.js";
|
|
32
32
|
import {
|
|
33
33
|
loadConfig
|
|
34
34
|
} from "./chunk-MWIPHUAE.js";
|
|
@@ -306,4 +306,4 @@ export {
|
|
|
306
306
|
draftReply,
|
|
307
307
|
retireResolvedReplies
|
|
308
308
|
};
|
|
309
|
-
//# sourceMappingURL=chunk-
|
|
309
|
+
//# sourceMappingURL=chunk-AC7FECH5.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readStatus
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A72CRTFG.js";
|
|
5
5
|
|
|
6
6
|
// src/commands/shared/turn-wait.ts
|
|
7
7
|
var cliWaitDeps = {
|
|
@@ -16,4 +16,4 @@ var cliWaitDeps = {
|
|
|
16
16
|
export {
|
|
17
17
|
cliWaitDeps
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=chunk-
|
|
19
|
+
//# sourceMappingURL=chunk-ADVMIHTB.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
DISPLAY_LABEL,
|
|
7
7
|
displayStatus
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GUEJVX2X.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-AMKLWFT3.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-XBWS77S2.js";
|
|
5
5
|
import {
|
|
6
6
|
logSwallowed
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FJYM2JQN.js";
|
|
8
8
|
|
|
9
9
|
// src/core/diff/diff-stat.ts
|
|
10
10
|
import fs from "fs";
|
|
@@ -207,4 +207,4 @@ export {
|
|
|
207
207
|
wantsDiffStat,
|
|
208
208
|
findOverlaps
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=chunk-
|
|
210
|
+
//# sourceMappingURL=chunk-AT4EPCOV.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-CNZV3UCM.js";
|
|
10
10
|
import {
|
|
11
11
|
loadHistory
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-A72CRTFG.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionIdFor,
|
|
15
15
|
tx,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-ALBTIOP3.js";
|
|
18
18
|
import {
|
|
19
19
|
checkedOutBranch
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FJYM2JQN.js";
|
|
21
21
|
|
|
22
22
|
// src/core/comments/pending-delivery.ts
|
|
23
23
|
import fs from "fs";
|
|
@@ -186,4 +186,4 @@ export {
|
|
|
186
186
|
claimForDelivery,
|
|
187
187
|
formatPendingForPrompt
|
|
188
188
|
};
|
|
189
|
-
//# sourceMappingURL=chunk-
|
|
189
|
+
//# sourceMappingURL=chunk-AWP2MCMN.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
computeRangeDiff
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QO4QWQUO.js";
|
|
5
5
|
import {
|
|
6
6
|
loadManifest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-A72CRTFG.js";
|
|
8
8
|
import {
|
|
9
9
|
agentSettings,
|
|
10
10
|
internalAgent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FJYM2JQN.js";
|
|
12
12
|
import {
|
|
13
13
|
internalRunEnv
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YQSWVHKK.js";
|
|
15
15
|
import {
|
|
16
16
|
killTree
|
|
17
17
|
} from "./chunk-VHENFC2S.js";
|
|
@@ -232,4 +232,4 @@ export {
|
|
|
232
232
|
runInternalReadOnly,
|
|
233
233
|
summarizeCheckpoint
|
|
234
234
|
};
|
|
235
|
-
//# sourceMappingURL=chunk-
|
|
235
|
+
//# sourceMappingURL=chunk-BGPCIL4U.js.map
|