@moberg_hr/work-tree 2.14.0 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-TNPXQ3BO.js → account-X42JQCYT.js} +31 -30
- package/dist/account-X42JQCYT.js.map +1 -0
- package/dist/{add-repo-YJQ65OV4.js → add-repo-UZHIG6LN.js} +30 -29
- package/dist/{add-repo-YJQ65OV4.js.map → add-repo-UZHIG6LN.js.map} +1 -1
- package/dist/{answer-BGZIWFVB.js → answer-NDX2DNXK.js} +19 -18
- package/dist/{answer-BGZIWFVB.js.map → answer-NDX2DNXK.js.map} +1 -1
- package/dist/{attach-E2OJC7ST.js → attach-ETPEGXYM.js} +26 -26
- package/dist/bin.js +9 -7
- package/dist/bin.js.map +1 -1
- package/dist/{block-44POA6KR.js → block-5HJQWQNX.js} +24 -23
- package/dist/{block-44POA6KR.js.map → block-5HJQWQNX.js.map} +1 -1
- package/dist/{broadcast-E7357IWA.js → broadcast-TMCWRTIY.js} +16 -15
- package/dist/{broadcast-E7357IWA.js.map → broadcast-TMCWRTIY.js.map} +1 -1
- package/dist/{catchup-KAB23EFN.js → catchup-BBJ43GWY.js} +22 -21
- package/dist/{catchup-KAB23EFN.js.map → catchup-BBJ43GWY.js.map} +1 -1
- package/dist/{chunk-PBJVVXG7.js → chunk-2IDWQ5NO.js} +7 -7
- package/dist/{chunk-GWANOCQ4.js → chunk-2PAHTJ3B.js} +7 -7
- package/dist/{chunk-G6K5U3KW.js → chunk-3YON263F.js} +5 -5
- package/dist/{chunk-JQ42ERH3.js → chunk-44UME4JD.js} +2 -2
- package/dist/{chunk-PAEWU7UC.js → chunk-46WW3Z6C.js} +8 -8
- package/dist/{chunk-AYHDJMMJ.js → chunk-4CXUVBOD.js} +2 -2
- package/dist/{chunk-MKJH2D4V.js → chunk-4NIOURHZ.js} +2 -2
- package/dist/{chunk-BHYTCA55.js → chunk-4WTY3SFZ.js} +7 -7
- package/dist/{chunk-ZH5M36JU.js → chunk-4ZP6NN2X.js} +18 -16
- package/dist/{chunk-ZH5M36JU.js.map → chunk-4ZP6NN2X.js.map} +1 -1
- package/dist/{chunk-LEDE3P4Q.js → chunk-5LAFHPNB.js} +8 -8
- package/dist/{chunk-AU27USPZ.js → chunk-5ZCCUM75.js} +2 -2
- package/dist/{chunk-CF6Y2RZJ.js → chunk-6SYQQXPQ.js} +32 -22
- package/dist/chunk-6SYQQXPQ.js.map +1 -0
- package/dist/{chunk-VQTPBS63.js → chunk-7QDZGVIT.js} +4 -4
- package/dist/{chunk-BB44TXV4.js → chunk-7S3NPGVM.js} +6 -6
- package/dist/{chunk-XWFL5U4X.js → chunk-AHGMXBY3.js} +4 -3
- package/dist/{chunk-XWFL5U4X.js.map → chunk-AHGMXBY3.js.map} +1 -1
- package/dist/{chunk-RRNIJ7YO.js → chunk-ALBTIOP3.js} +3 -3
- package/dist/{chunk-D4ZDTXFV.js → chunk-BRUYXYO2.js} +9 -6
- package/dist/chunk-BRUYXYO2.js.map +1 -0
- package/dist/{chunk-WOD7XSNC.js → chunk-BWUN33QN.js} +11 -9
- package/dist/{chunk-WOD7XSNC.js.map → chunk-BWUN33QN.js.map} +1 -1
- package/dist/{chunk-FLY3VR6B.js → chunk-BZGIKO6I.js} +2 -2
- package/dist/{chunk-M3RDUGQV.js → chunk-C6OEPSH2.js} +8 -8
- package/dist/{chunk-MOTKVMGL.js → chunk-C6TKUX7I.js} +30 -5
- package/dist/chunk-C6TKUX7I.js.map +1 -0
- package/dist/{chunk-RVSRZ57P.js → chunk-CNZV3UCM.js} +2 -2
- package/dist/{chunk-4D52OAAP.js → chunk-CVTM4TCZ.js} +7 -7
- package/dist/{chunk-Y2DBNXZH.js → chunk-CYUSOVO5.js} +291 -114
- package/dist/chunk-CYUSOVO5.js.map +1 -0
- package/dist/{chunk-M5YM3CQY.js → chunk-DBGHDWM7.js} +12 -12
- package/dist/{chunk-CBCOVIXZ.js → chunk-DOYJR2HF.js} +5 -3
- package/dist/{chunk-CBCOVIXZ.js.map → chunk-DOYJR2HF.js.map} +1 -1
- package/dist/{chunk-LSZ6HI3U.js → chunk-EORL2V7P.js} +2 -2
- package/dist/{chunk-POHAQY4D.js → chunk-EQD3YBGA.js} +12 -12
- package/dist/{chunk-L5OZXDTB.js → chunk-EQFDUC6F.js} +3 -3
- package/dist/chunk-F2ECTTSY.js +22 -0
- package/dist/chunk-F2ECTTSY.js.map +1 -0
- package/dist/{chunk-DBWVWWUO.js → chunk-FIEBI3UB.js} +3 -3
- package/dist/{chunk-OGGGOFCZ.js → chunk-FNWPOM4B.js} +14 -42
- package/dist/chunk-FNWPOM4B.js.map +1 -0
- package/dist/{chunk-7VAKNNLB.js → chunk-GGE55DO3.js} +17 -17
- package/dist/{chunk-AGRUEZQX.js → chunk-GNIYYXQX.js} +2 -2
- package/dist/{chunk-PR3BA5BP.js → chunk-GPLCT5TZ.js} +9 -9
- package/dist/chunk-HK6AZQ5Z.js +54 -0
- package/dist/chunk-HK6AZQ5Z.js.map +1 -0
- package/dist/{chunk-6THUVP6T.js → chunk-IAKOKZYW.js} +13 -27
- package/dist/chunk-IAKOKZYW.js.map +1 -0
- package/dist/{chunk-TUDDISCX.js → chunk-ICEP4WAK.js} +4 -4
- package/dist/{chunk-7UXV4X2Y.js → chunk-IPHADNF5.js} +2 -2
- package/dist/{chunk-6NTMQ7XI.js → chunk-ITY6R2LC.js} +5 -5
- package/dist/{chunk-VLUME72O.js → chunk-JVJ5IJSF.js} +4 -4
- package/dist/{chunk-K5EAVRXX.js → chunk-JYWX2N5W.js} +4 -6
- package/dist/{chunk-K5EAVRXX.js.map → chunk-JYWX2N5W.js.map} +1 -1
- package/dist/{chunk-LK2ZVCKH.js → chunk-K2OOUNXH.js} +4 -4
- package/dist/{chunk-V3MRBAZU.js → chunk-KCYYIUUQ.js} +2 -2
- package/dist/chunk-KL7RY6UG.js +36 -0
- package/dist/chunk-KL7RY6UG.js.map +1 -0
- package/dist/{chunk-B4G5QHTU.js → chunk-LMP3WGRW.js} +3 -3
- package/dist/{chunk-2Y2ARDXI.js → chunk-MD6QMSXQ.js} +2 -2
- package/dist/{chunk-U2MOKVPZ.js → chunk-MHL66TIL.js} +2 -2
- package/dist/{chunk-Q5WOXF2D.js → chunk-MVME4LH7.js} +8 -8
- package/dist/{chunk-S43GVNRB.js → chunk-MXH7DV4Q.js} +8 -8
- package/dist/{chunk-IJEAHNJZ.js → chunk-MZY557LZ.js} +9 -9
- package/dist/{chunk-UY77MGXI.js → chunk-O32OINY3.js} +2 -2
- package/dist/{chunk-TJAF3K5D.js → chunk-OL7S2KFH.js} +60 -59
- package/dist/chunk-OL7S2KFH.js.map +1 -0
- package/dist/chunk-OX33X3NH.js +9 -0
- package/dist/{chunk-OMY7MGNN.js → chunk-PSFOA7P6.js} +9 -9
- package/dist/{chunk-UH72CZAX.js → chunk-PZ7WTBSI.js} +2 -2
- package/dist/{chunk-XGOSOA7U.js → chunk-QHA4VF4B.js} +3 -3
- package/dist/{chunk-BD26XB2E.js → chunk-QMHFXIMX.js} +18 -14
- package/dist/chunk-QMHFXIMX.js.map +1 -0
- package/dist/{chunk-ZS7ZXAXB.js → chunk-QOSAWNOU.js} +66 -2
- package/dist/chunk-QOSAWNOU.js.map +1 -0
- package/dist/{chunk-XGZB2DOA.js → chunk-QP7VLMFJ.js} +5 -5
- package/dist/{chunk-4YJQZE7D.js → chunk-R5DHVUA2.js} +5 -3
- package/dist/{chunk-4YJQZE7D.js.map → chunk-R5DHVUA2.js.map} +1 -1
- package/dist/{chunk-W7KGS2OH.js → chunk-R5HG665I.js} +6 -6
- package/dist/{chunk-RUIBZ6DI.js → chunk-R6KQDWHC.js} +3 -3
- package/dist/{chunk-CO6BX4RN.js → chunk-REAZAE5C.js} +10 -10
- package/dist/{chunk-BK73QU45.js → chunk-REPFZIPP.js} +27 -8
- package/dist/chunk-REPFZIPP.js.map +1 -0
- package/dist/{chunk-ZKGCL4HY.js → chunk-RXORNKSJ.js} +8 -8
- package/dist/{chunk-WI5WFJJW.js → chunk-S2MOK3CT.js} +4 -4
- package/dist/{chunk-ZLQGKBBE.js → chunk-SRE4CK6Y.js} +2 -2
- package/dist/{chunk-TMBO55MM.js → chunk-SZAD5U3J.js} +2 -2
- package/dist/{chunk-ZIFWZJ7X.js → chunk-T5GJVUSL.js} +2 -2
- package/dist/{chunk-DZ6SLAIZ.js → chunk-TC3H7I6O.js} +2 -2
- package/dist/{chunk-LQ4BEHS4.js → chunk-TI6AR4QF.js} +5 -5
- package/dist/{chunk-7ZL3GJGY.js → chunk-TZLCBDJZ.js} +4 -4
- package/dist/{chunk-LKJLUSYR.js → chunk-U64SNFIZ.js} +3 -3
- package/dist/{chunk-Z3T5FWM6.js → chunk-UCNYEHQY.js} +2 -2
- package/dist/{chunk-B7BNMPY3.js → chunk-UIIEP6VP.js} +2 -2
- package/dist/{chunk-7XKIRMS4.js → chunk-UJWYQVXI.js} +2 -2
- package/dist/{chunk-G2V2V5UC.js → chunk-VHENFC2S.js} +2 -2
- package/dist/{chunk-ESZ52W6E.js → chunk-WNWSO4VO.js} +8 -8
- package/dist/{chunk-TYZSHKFP.js → chunk-X6EMCJ2L.js} +4 -4
- package/dist/{chunk-MKQ7IA6U.js → chunk-XBWS77S2.js} +3 -3
- package/dist/{chunk-WAZCBD7Y.js → chunk-XMKYQVJU.js} +3 -3
- package/dist/{chunk-JNKFPFH6.js → chunk-XPWWOR7Z.js} +3 -3
- package/dist/{chunk-7JEMR4RU.js → chunk-Z3OHGPIN.js} +7 -7
- package/dist/{chunk-ESZXUBYI.js → chunk-ZNGR2CB6.js} +4 -4
- package/dist/{cleanup-5QEBRJHT.js → cleanup-BD44PDRE.js} +48 -47
- package/dist/{cleanup-5QEBRJHT.js.map → cleanup-BD44PDRE.js.map} +1 -1
- package/dist/cli-OMADLGGY.js +20 -0
- package/dist/color-IZ2J3CT2.js +65 -0
- package/dist/color-IZ2J3CT2.js.map +1 -0
- package/dist/{command-hook-installer-GMQ4IVDE.js → command-hook-installer-TRLJ4QFP.js} +13 -4
- package/dist/{command-hook-installer-GMQ4IVDE.js.map → command-hook-installer-TRLJ4QFP.js.map} +1 -1
- package/dist/{completion-OEU4UZEA.js → completion-SV446DXJ.js} +3 -4
- package/dist/{completion-OEU4UZEA.js.map → completion-SV446DXJ.js.map} +1 -1
- package/dist/{config-4QLJCSBD.js → config-65HXBCMW.js} +21 -20
- package/dist/{config-4QLJCSBD.js.map → config-65HXBCMW.js.map} +1 -1
- package/dist/{diff-TXIFHZ4Q.js → diff-CJNSUX25.js} +27 -27
- package/dist/{digest-QJCR5LY7.js → digest-FH3JBHSO.js} +18 -17
- package/dist/{digest-QJCR5LY7.js.map → digest-FH3JBHSO.js.map} +1 -1
- package/dist/{fork-NUAOPRCN.js → fork-O6NS34MV.js} +44 -44
- package/dist/{history-C4RXAT65.js → history-URHFR4MO.js} +15 -14
- package/dist/{hook-S3IBPKGS.js → hook-6PWP3JVL.js} +27 -29
- package/dist/hook-6PWP3JVL.js.map +1 -0
- package/dist/{hydrate-B54DIUGL.js → hydrate-V6PVQ6OO.js} +17 -16
- package/dist/{hydrate-B54DIUGL.js.map → hydrate-V6PVQ6OO.js.map} +1 -1
- package/dist/{init-F2MYX6MQ.js → init-SENRHJ4R.js} +26 -25
- package/dist/{init-F2MYX6MQ.js.map → init-SENRHJ4R.js.map} +1 -1
- package/dist/install-skills-DJE7LU66.js +24 -0
- package/dist/install-skills-bin.js +13 -12
- package/dist/install-skills-bin.js.map +1 -1
- package/dist/{keep-NE6TML4Z.js → keep-M7E7UMRL.js} +18 -17
- package/dist/{keep-NE6TML4Z.js.map → keep-M7E7UMRL.js.map} +1 -1
- package/dist/{list-MW6QCFUB.js → list-YPKCU3GB.js} +17 -16
- package/dist/{list-MW6QCFUB.js.map → list-YPKCU3GB.js.map} +1 -1
- package/dist/{move-33T6LDPZ.js → move-ME7JMNJI.js} +32 -31
- package/dist/{move-33T6LDPZ.js.map → move-ME7JMNJI.js.map} +1 -1
- package/dist/{note-BPDRSGX2.js → note-JFZ3F7UY.js} +19 -18
- package/dist/{note-BPDRSGX2.js.map → note-JFZ3F7UY.js.map} +1 -1
- package/dist/{overlaps-6VZ5MP5T.js → overlaps-ZN3WA35A.js} +25 -24
- package/dist/{overlaps-6VZ5MP5T.js.map → overlaps-ZN3WA35A.js.map} +1 -1
- package/dist/{pin-CDRRJE6B.js → pin-3S2MQQPM.js} +19 -18
- package/dist/{pin-CDRRJE6B.js.map → pin-3S2MQQPM.js.map} +1 -1
- package/dist/{pr-HLIRK7AT.js → pr-KNJ2TVC3.js} +39 -38
- package/dist/{pr-HLIRK7AT.js.map → pr-KNJ2TVC3.js.map} +1 -1
- package/dist/{prune-UMGF6EES.js → prune-2GAXXNPM.js} +46 -45
- package/dist/{prune-UMGF6EES.js.map → prune-2GAXXNPM.js.map} +1 -1
- package/dist/{pty-host-JB3RIUDL.js → pty-host-WZZIQIKX.js} +43 -39
- package/dist/pty-host-WZZIQIKX.js.map +1 -0
- package/dist/{read-HDFVXH6H.js → read-UIV42F5D.js} +18 -17
- package/dist/{read-HDFVXH6H.js.map → read-UIV42F5D.js.map} +1 -1
- package/dist/{recent-NKWAXBYW.js → recent-SJPAIY2T.js} +35 -27
- package/dist/recent-SJPAIY2T.js.map +1 -0
- package/dist/{remove-ELVCCF4J.js → remove-KQW35I5D.js} +47 -46
- package/dist/{remove-ELVCCF4J.js.map → remove-KQW35I5D.js.map} +1 -1
- package/dist/{report-J7TUQRJS.js → report-Z36H65YG.js} +4 -3
- package/dist/{restart-PJIRMPK2.js → restart-7VTSNTZ3.js} +22 -21
- package/dist/{restart-PJIRMPK2.js.map → restart-7VTSNTZ3.js.map} +1 -1
- package/dist/{resume-3R6FOHL7.js → resume-MPBXIF7C.js} +35 -27
- package/dist/resume-MPBXIF7C.js.map +1 -0
- package/dist/{review-AOSPR5KG.js → review-IRVOI4ZK.js} +57 -10
- package/dist/review-IRVOI4ZK.js.map +1 -0
- package/dist/{review-now-X34EXZ5U.js → review-now-QAAL5C6N.js} +7 -6
- package/dist/{review-now-X34EXZ5U.js.map → review-now-QAAL5C6N.js.map} +1 -1
- package/dist/{run-MV2LFD4H.js → run-2EKY2R5R.js} +15 -14
- package/dist/{run-MV2LFD4H.js.map → run-2EKY2R5R.js.map} +1 -1
- package/dist/{screen-I4PKJUDE.js → screen-GQTKTUTD.js} +19 -18
- package/dist/{screen-I4PKJUDE.js.map → screen-GQTKTUTD.js.map} +1 -1
- package/dist/{search-S7O4M35Q.js → search-N7XUYKYV.js} +15 -14
- package/dist/{search-S7O4M35Q.js.map → search-N7XUYKYV.js.map} +1 -1
- package/dist/{section-BCBQOMG5.js → section-6MDCSJS5.js} +19 -18
- package/dist/{section-BCBQOMG5.js.map → section-6MDCSJS5.js.map} +1 -1
- package/dist/{send-JMKAMSUB.js → send-32U465SB.js} +24 -23
- package/dist/{send-JMKAMSUB.js.map → send-32U465SB.js.map} +1 -1
- package/dist/{sessions-DNZPSWOU.js → sessions-E5OEZF2C.js} +42 -41
- package/dist/{sessions-DNZPSWOU.js.map → sessions-E5OEZF2C.js.map} +1 -1
- package/dist/{show-UAOY55EY.js → show-AQQDICKX.js} +18 -17
- package/dist/{show-UAOY55EY.js.map → show-AQQDICKX.js.map} +1 -1
- package/dist/{snooze-CLKJDZAJ.js → snooze-LXHYYV5G.js} +18 -17
- package/dist/{snooze-CLKJDZAJ.js.map → snooze-LXHYYV5G.js.map} +1 -1
- package/dist/{start-KJODTJXK.js → start-OCGLP6N6.js} +19 -18
- package/dist/{start-KJODTJXK.js.map → start-OCGLP6N6.js.map} +1 -1
- package/dist/{state-GPEV4FHA.js → state-FSZ6TIYE.js} +6 -5
- package/dist/{state-GPEV4FHA.js.map → state-FSZ6TIYE.js.map} +1 -1
- package/dist/{status-PPXTDG43.js → status-35FEMHVO.js} +22 -21
- package/dist/{status-PPXTDG43.js.map → status-35FEMHVO.js.map} +1 -1
- package/dist/statusline-WEZSDGOU.js +67 -0
- package/dist/statusline-WEZSDGOU.js.map +1 -0
- package/dist/{statusline-hook-W7KWKWAC.js → statusline-hook-H5MM2PA2.js} +16 -11
- package/dist/statusline-hook-H5MM2PA2.js.map +1 -0
- package/dist/{stop-YFCYGC6D.js → stop-6QOVDV2A.js} +19 -18
- package/dist/{stop-YFCYGC6D.js.map → stop-6QOVDV2A.js.map} +1 -1
- package/dist/{sync-QACKQ2X2.js → sync-GEG3O54C.js} +46 -45
- package/dist/{sync-QACKQ2X2.js.map → sync-GEG3O54C.js.map} +1 -1
- package/dist/{time-LPNBJFCY.js → time-UXSYQHN4.js} +20 -19
- package/dist/{time-LPNBJFCY.js.map → time-UXSYQHN4.js.map} +1 -1
- package/dist/{time-actions-B7YKVDVE.js → time-actions-3KLS5WGD.js} +7 -6
- package/dist/{timesheet-SSDDOKBL.js → timesheet-RNUTAWR4.js} +27 -26
- package/dist/{timesheet-SSDDOKBL.js.map → timesheet-RNUTAWR4.js.map} +1 -1
- package/dist/{todo-VBWHS2HU.js → todo-MP4WUDMW.js} +7 -6
- package/dist/{todo-VBWHS2HU.js.map → todo-MP4WUDMW.js.map} +1 -1
- package/dist/{tree-26MFCA27.js → tree-U2LS4NHP.js} +53 -52
- package/dist/tree-U2LS4NHP.js.map +1 -0
- package/dist/{update-DMPTLZFM.js → update-PHTB3AB5.js} +28 -27
- package/dist/{update-DMPTLZFM.js.map → update-PHTB3AB5.js.map} +1 -1
- package/dist/{usage-4UULCJXY.js → usage-2Z7354NZ.js} +17 -16
- package/dist/{usage-4UULCJXY.js.map → usage-2Z7354NZ.js.map} +1 -1
- package/dist/{version-VXE4NJRN.js → version-G2HN4GTL.js} +12 -13
- package/dist/{version-VXE4NJRN.js.map → version-G2HN4GTL.js.map} +1 -1
- package/dist/{wait-6UPWZO3M.js → wait-MEMUQGDV.js} +19 -18
- package/dist/{wait-6UPWZO3M.js.map → wait-MEMUQGDV.js.map} +1 -1
- package/dist/wd-bin.js +9 -9
- package/dist/web/assets/{PtyView-D2PAxKJT.js → PtyView-CyqsvkBt.js} +2 -2
- package/dist/web/assets/{PtyView-D2PAxKJT.js.map → PtyView-CyqsvkBt.js.map} +1 -1
- package/dist/web/assets/index-DXP8G0eh.css +1 -0
- package/dist/web/assets/index-DjFmAhbY.js +126 -0
- package/dist/web/assets/index-DjFmAhbY.js.map +1 -0
- package/dist/web/index.html +2 -2
- package/dist/{web-6FWX5663.js → web-P7TKPZFB.js} +466 -313
- package/dist/web-P7TKPZFB.js.map +1 -0
- package/dist/work-command-JHNC4JZK.js +13 -0
- package/dist/work-command-JHNC4JZK.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/plugins/work-tree/skills/work-sessions/SKILL.md +3 -1
- package/dist/account-TNPXQ3BO.js.map +0 -1
- package/dist/chunk-6THUVP6T.js.map +0 -1
- package/dist/chunk-AH5TM3NB.js +0 -21
- package/dist/chunk-AH5TM3NB.js.map +0 -1
- package/dist/chunk-BD26XB2E.js.map +0 -1
- package/dist/chunk-BK73QU45.js.map +0 -1
- package/dist/chunk-CF6Y2RZJ.js.map +0 -1
- package/dist/chunk-D4ZDTXFV.js.map +0 -1
- package/dist/chunk-DW245WK4.js +0 -74
- package/dist/chunk-DW245WK4.js.map +0 -1
- package/dist/chunk-MOTKVMGL.js.map +0 -1
- package/dist/chunk-OGGGOFCZ.js.map +0 -1
- package/dist/chunk-QXDSIIID.js +0 -9
- package/dist/chunk-TJAF3K5D.js.map +0 -1
- package/dist/chunk-Y2DBNXZH.js.map +0 -1
- package/dist/chunk-ZS7ZXAXB.js.map +0 -1
- package/dist/cli-7RDR5XZ5.js +0 -20
- package/dist/hook-S3IBPKGS.js.map +0 -1
- package/dist/install-skills-QX4OATOS.js +0 -23
- package/dist/pty-host-JB3RIUDL.js.map +0 -1
- package/dist/recent-NKWAXBYW.js.map +0 -1
- package/dist/resume-3R6FOHL7.js.map +0 -1
- package/dist/review-AOSPR5KG.js.map +0 -1
- package/dist/statusline-QN4AERZC.js +0 -107
- package/dist/statusline-QN4AERZC.js.map +0 -1
- package/dist/statusline-hook-W7KWKWAC.js.map +0 -1
- package/dist/tree-26MFCA27.js.map +0 -1
- package/dist/web/assets/index-BNHgDFNt.css +0 -1
- package/dist/web/assets/index-BnoJcoyB.js +0 -126
- package/dist/web/assets/index-BnoJcoyB.js.map +0 -1
- package/dist/web-6FWX5663.js.map +0 -1
- /package/dist/{attach-E2OJC7ST.js.map → attach-ETPEGXYM.js.map} +0 -0
- /package/dist/{chunk-PBJVVXG7.js.map → chunk-2IDWQ5NO.js.map} +0 -0
- /package/dist/{chunk-GWANOCQ4.js.map → chunk-2PAHTJ3B.js.map} +0 -0
- /package/dist/{chunk-G6K5U3KW.js.map → chunk-3YON263F.js.map} +0 -0
- /package/dist/{chunk-JQ42ERH3.js.map → chunk-44UME4JD.js.map} +0 -0
- /package/dist/{chunk-PAEWU7UC.js.map → chunk-46WW3Z6C.js.map} +0 -0
- /package/dist/{chunk-AYHDJMMJ.js.map → chunk-4CXUVBOD.js.map} +0 -0
- /package/dist/{chunk-MKJH2D4V.js.map → chunk-4NIOURHZ.js.map} +0 -0
- /package/dist/{chunk-BHYTCA55.js.map → chunk-4WTY3SFZ.js.map} +0 -0
- /package/dist/{chunk-LEDE3P4Q.js.map → chunk-5LAFHPNB.js.map} +0 -0
- /package/dist/{chunk-AU27USPZ.js.map → chunk-5ZCCUM75.js.map} +0 -0
- /package/dist/{chunk-VQTPBS63.js.map → chunk-7QDZGVIT.js.map} +0 -0
- /package/dist/{chunk-BB44TXV4.js.map → chunk-7S3NPGVM.js.map} +0 -0
- /package/dist/{chunk-RRNIJ7YO.js.map → chunk-ALBTIOP3.js.map} +0 -0
- /package/dist/{chunk-FLY3VR6B.js.map → chunk-BZGIKO6I.js.map} +0 -0
- /package/dist/{chunk-M3RDUGQV.js.map → chunk-C6OEPSH2.js.map} +0 -0
- /package/dist/{chunk-RVSRZ57P.js.map → chunk-CNZV3UCM.js.map} +0 -0
- /package/dist/{chunk-4D52OAAP.js.map → chunk-CVTM4TCZ.js.map} +0 -0
- /package/dist/{chunk-M5YM3CQY.js.map → chunk-DBGHDWM7.js.map} +0 -0
- /package/dist/{chunk-LSZ6HI3U.js.map → chunk-EORL2V7P.js.map} +0 -0
- /package/dist/{chunk-POHAQY4D.js.map → chunk-EQD3YBGA.js.map} +0 -0
- /package/dist/{chunk-L5OZXDTB.js.map → chunk-EQFDUC6F.js.map} +0 -0
- /package/dist/{chunk-DBWVWWUO.js.map → chunk-FIEBI3UB.js.map} +0 -0
- /package/dist/{chunk-7VAKNNLB.js.map → chunk-GGE55DO3.js.map} +0 -0
- /package/dist/{chunk-AGRUEZQX.js.map → chunk-GNIYYXQX.js.map} +0 -0
- /package/dist/{chunk-PR3BA5BP.js.map → chunk-GPLCT5TZ.js.map} +0 -0
- /package/dist/{chunk-TUDDISCX.js.map → chunk-ICEP4WAK.js.map} +0 -0
- /package/dist/{chunk-7UXV4X2Y.js.map → chunk-IPHADNF5.js.map} +0 -0
- /package/dist/{chunk-6NTMQ7XI.js.map → chunk-ITY6R2LC.js.map} +0 -0
- /package/dist/{chunk-VLUME72O.js.map → chunk-JVJ5IJSF.js.map} +0 -0
- /package/dist/{chunk-LK2ZVCKH.js.map → chunk-K2OOUNXH.js.map} +0 -0
- /package/dist/{chunk-V3MRBAZU.js.map → chunk-KCYYIUUQ.js.map} +0 -0
- /package/dist/{chunk-B4G5QHTU.js.map → chunk-LMP3WGRW.js.map} +0 -0
- /package/dist/{chunk-2Y2ARDXI.js.map → chunk-MD6QMSXQ.js.map} +0 -0
- /package/dist/{chunk-U2MOKVPZ.js.map → chunk-MHL66TIL.js.map} +0 -0
- /package/dist/{chunk-Q5WOXF2D.js.map → chunk-MVME4LH7.js.map} +0 -0
- /package/dist/{chunk-S43GVNRB.js.map → chunk-MXH7DV4Q.js.map} +0 -0
- /package/dist/{chunk-IJEAHNJZ.js.map → chunk-MZY557LZ.js.map} +0 -0
- /package/dist/{chunk-UY77MGXI.js.map → chunk-O32OINY3.js.map} +0 -0
- /package/dist/{chunk-QXDSIIID.js.map → chunk-OX33X3NH.js.map} +0 -0
- /package/dist/{chunk-OMY7MGNN.js.map → chunk-PSFOA7P6.js.map} +0 -0
- /package/dist/{chunk-UH72CZAX.js.map → chunk-PZ7WTBSI.js.map} +0 -0
- /package/dist/{chunk-XGOSOA7U.js.map → chunk-QHA4VF4B.js.map} +0 -0
- /package/dist/{chunk-XGZB2DOA.js.map → chunk-QP7VLMFJ.js.map} +0 -0
- /package/dist/{chunk-W7KGS2OH.js.map → chunk-R5HG665I.js.map} +0 -0
- /package/dist/{chunk-RUIBZ6DI.js.map → chunk-R6KQDWHC.js.map} +0 -0
- /package/dist/{chunk-CO6BX4RN.js.map → chunk-REAZAE5C.js.map} +0 -0
- /package/dist/{chunk-ZKGCL4HY.js.map → chunk-RXORNKSJ.js.map} +0 -0
- /package/dist/{chunk-WI5WFJJW.js.map → chunk-S2MOK3CT.js.map} +0 -0
- /package/dist/{chunk-ZLQGKBBE.js.map → chunk-SRE4CK6Y.js.map} +0 -0
- /package/dist/{chunk-TMBO55MM.js.map → chunk-SZAD5U3J.js.map} +0 -0
- /package/dist/{chunk-ZIFWZJ7X.js.map → chunk-T5GJVUSL.js.map} +0 -0
- /package/dist/{chunk-DZ6SLAIZ.js.map → chunk-TC3H7I6O.js.map} +0 -0
- /package/dist/{chunk-LQ4BEHS4.js.map → chunk-TI6AR4QF.js.map} +0 -0
- /package/dist/{chunk-7ZL3GJGY.js.map → chunk-TZLCBDJZ.js.map} +0 -0
- /package/dist/{chunk-LKJLUSYR.js.map → chunk-U64SNFIZ.js.map} +0 -0
- /package/dist/{chunk-Z3T5FWM6.js.map → chunk-UCNYEHQY.js.map} +0 -0
- /package/dist/{chunk-B7BNMPY3.js.map → chunk-UIIEP6VP.js.map} +0 -0
- /package/dist/{chunk-7XKIRMS4.js.map → chunk-UJWYQVXI.js.map} +0 -0
- /package/dist/{chunk-G2V2V5UC.js.map → chunk-VHENFC2S.js.map} +0 -0
- /package/dist/{chunk-ESZ52W6E.js.map → chunk-WNWSO4VO.js.map} +0 -0
- /package/dist/{chunk-TYZSHKFP.js.map → chunk-X6EMCJ2L.js.map} +0 -0
- /package/dist/{chunk-MKQ7IA6U.js.map → chunk-XBWS77S2.js.map} +0 -0
- /package/dist/{chunk-WAZCBD7Y.js.map → chunk-XMKYQVJU.js.map} +0 -0
- /package/dist/{chunk-JNKFPFH6.js.map → chunk-XPWWOR7Z.js.map} +0 -0
- /package/dist/{chunk-7JEMR4RU.js.map → chunk-Z3OHGPIN.js.map} +0 -0
- /package/dist/{chunk-ESZXUBYI.js.map → chunk-ZNGR2CB6.js.map} +0 -0
- /package/dist/{cli-7RDR5XZ5.js.map → cli-OMADLGGY.js.map} +0 -0
- /package/dist/{diff-TXIFHZ4Q.js.map → diff-CJNSUX25.js.map} +0 -0
- /package/dist/{fork-NUAOPRCN.js.map → fork-O6NS34MV.js.map} +0 -0
- /package/dist/{history-C4RXAT65.js.map → history-URHFR4MO.js.map} +0 -0
- /package/dist/{install-skills-QX4OATOS.js.map → install-skills-DJE7LU66.js.map} +0 -0
- /package/dist/{report-J7TUQRJS.js.map → report-Z36H65YG.js.map} +0 -0
- /package/dist/{time-actions-B7YKVDVE.js.map → time-actions-3KLS5WGD.js.map} +0 -0
package/dist/bin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/bin.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\nimport { installConsoleLogger, debug } from './core/platform/logger.js';\nimport { getConfigDir } from './core/platform/config.js';\n\n// Install debug logging — all console.log/error/warn also write to ~/.work/debug.log\ninstallConsoleLogger();\n// Not for hooks: Claude runs several per turn in every session, and a\n// banner each made most of the log. What a hook actually logs still lands.\nif (process.argv[2] !== 'hook') debug('--- work started', process.argv.slice(2).join(' '), '---');\n\nfunction handleFatalError(err: unknown): void {\n if (err instanceof Error && err.name === 'ExitPromptError') {\n console.log('\\nCancelled.');\n process.exit(0);\n }\n // node-pty can throw async errors for already-exited PTYs (the PTY host) — non-fatal\n if (err instanceof Error && err.message?.includes('pty that has already exited')) {\n try {\n fs.appendFileSync(\n path.join(getConfigDir(), 'debug.log'),\n `${new Date().toISOString()} [WARN] Ignored async node-pty error: ${err.message}\\n`,\n );\n } catch {\n /* */\n }\n return;\n }\n try {\n const msg = err instanceof Error ? err.stack || err.message : String(err);\n fs.appendFileSync(path.join(getConfigDir(), 'debug.log'), `${new Date().toISOString()} [FATAL] handleFatalError: ${msg}\\n`);\n } catch {\n /* */\n }\n console.error(err);\n process.exit(1);\n}\n\nprocess.on('uncaughtException', handleFatalError);\nprocess.on('unhandledRejection', handleFatalError);\n\n// Claude runs `work hook <event>` several times per turn, each with a 5 s\n// timeout. The full CLI statically loads every command — node-pty, the web\n// and PTY-host servers, SQLite — so a hook paid for all of it on every\n// event. Hooks load only their own module.\nconst args = process.argv.slice(2);\nif (args[0] === 'hook' && args[1] === 'statusline') {\n // Claude's status line: it runs on every refresh, so nothing but its own module loads.\n const { runStatusLineHook } = await import('./core/agents/claude/statusline-hook.js');\n await runStatusLineHook();\n // Out once the line is written: anything the user's command left behind (a pipe, a child) must not keep Claude's hook alive.\n process.stdout.write('', () => process.exit(0));\n} else if (args[0] === 'hook') {\n const { runHookEvent } = await import('./commands/hook.js');\n await runHookEvent(args[1], args.slice(2));\n} else {\n // Force color support — this is an interactive CLI, and some Windows terminals\n // (e.g. PowerShell via conhost) don't set isTTY on spawned .cmd shims. (Not\n // for hooks: they print JSON, and chalk is one more module on every turn.)\n const { default: chalk } = await import('chalk');\n if (!process.env.NO_COLOR && chalk.level === 0) chalk.level = 1;\n const { run } = await import('./cli.js');\n const { withReporter } = await import('./core/platform/report.js');\n const { consoleReporter, reportStreamFor } = await import('./commands/shared/console-reporter.js');\n // Core never prints; in a terminal, what it reports is shown here — on\n // stderr for --json, so stdout stays the data.\n await withReporter(consoleReporter(reportStreamFor(args)), () => run(args));\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/bin.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\nimport { installConsoleLogger, debug } from './core/platform/logger.js';\nimport { getConfigDir } from './core/platform/config.js';\n\n// Install debug logging — all console.log/error/warn also write to ~/.work/debug.log\ninstallConsoleLogger();\n// Not for hooks: Claude runs several per turn in every session, and a\n// banner each made most of the log. What a hook actually logs still lands.\nif (process.argv[2] !== 'hook') debug('--- work started', process.argv.slice(2).join(' '), '---');\n\nfunction handleFatalError(err: unknown): void {\n if (err instanceof Error && err.name === 'ExitPromptError') {\n console.log('\\nCancelled.');\n process.exit(0);\n }\n // node-pty can throw async errors for already-exited PTYs (the PTY host) — non-fatal\n if (err instanceof Error && err.message?.includes('pty that has already exited')) {\n try {\n fs.appendFileSync(\n path.join(getConfigDir(), 'debug.log'),\n `${new Date().toISOString()} [WARN] Ignored async node-pty error: ${err.message}\\n`,\n );\n } catch {\n /* */\n }\n return;\n }\n try {\n const msg = err instanceof Error ? err.stack || err.message : String(err);\n fs.appendFileSync(path.join(getConfigDir(), 'debug.log'), `${new Date().toISOString()} [FATAL] handleFatalError: ${msg}\\n`);\n } catch {\n /* */\n }\n console.error(err);\n process.exit(1);\n}\n\nprocess.on('uncaughtException', handleFatalError);\nprocess.on('unhandledRejection', handleFatalError);\n\n// Claude runs `work hook <event>` several times per turn, each with a 5 s\n// timeout. The full CLI statically loads every command — node-pty, the web\n// and PTY-host servers, SQLite — so a hook paid for all of it on every\n// event. Hooks load only their own module.\nconst args = process.argv.slice(2);\nif (args[0] === 'hook' && args[1] === 'statusline') {\n // Claude's status line: it runs on every refresh, so nothing but its own module loads.\n const { runStatusLineHook } = await import('./core/agents/claude/statusline-hook.js');\n await runStatusLineHook();\n // Out once the line is written: anything the user's command left behind (a pipe, a child) must not keep Claude's hook alive.\n process.stdout.write('', () => process.exit(0));\n} else if (args[0] === 'hook') {\n const { runHookEvent } = await import('./commands/hook.js');\n await runHookEvent(args[1], args.slice(2));\n} else {\n // Force color support — this is an interactive CLI, and some Windows terminals\n // (e.g. PowerShell via conhost) don't set isTTY on spawned .cmd shims. (Not\n // for hooks: they print JSON, and chalk is one more module on every turn.)\n const { default: chalk } = await import('chalk');\n if (!process.env.NO_COLOR && chalk.level === 0) chalk.level = 1;\n const { run } = await import('./cli.js');\n const { withReporter } = await import('./core/platform/report.js');\n const { consoleReporter, reportStreamFor } = await import('./commands/shared/console-reporter.js');\n // Core never prints; in a terminal, what it reports is shown here — on\n // stderr for --json, so stdout stays the data.\n await withReporter(consoleReporter(reportStreamFor(args)), () => run(args));\n}\n"],"mappings":";;;;;;;;;;;;AAAA,OAAO,QAAQ;AACf,OAAO,UAAU;AAKjB,qBAAqB;AAGrB,IAAI,QAAQ,KAAK,CAAC,MAAM,OAAQ,OAAM,oBAAoB,QAAQ,KAAK,MAAM,CAAC,EAAE,KAAK,GAAG,GAAG,KAAK;AAEhG,SAAS,iBAAiB,KAAoB;AAC5C,MAAI,eAAe,SAAS,IAAI,SAAS,mBAAmB;AAC1D,YAAQ,IAAI,cAAc;AAC1B,YAAQ,KAAK,CAAC;AAAA,EAChB;AAEA,MAAI,eAAe,SAAS,IAAI,SAAS,SAAS,6BAA6B,GAAG;AAChF,QAAI;AACF,SAAG;AAAA,QACD,KAAK,KAAK,aAAa,GAAG,WAAW;AAAA,QACrC,IAAG,oBAAI,KAAK,GAAE,YAAY,CAAC,yCAAyC,IAAI,OAAO;AAAA;AAAA,MACjF;AAAA,IACF,QAAQ;AAAA,IAER;AACA;AAAA,EACF;AACA,MAAI;AACF,UAAM,MAAM,eAAe,QAAQ,IAAI,SAAS,IAAI,UAAU,OAAO,GAAG;AACxE,OAAG,eAAe,KAAK,KAAK,aAAa,GAAG,WAAW,GAAG,IAAG,oBAAI,KAAK,GAAE,YAAY,CAAC,8BAA8B,GAAG;AAAA,CAAI;AAAA,EAC5H,QAAQ;AAAA,EAER;AACA,UAAQ,MAAM,GAAG;AACjB,UAAQ,KAAK,CAAC;AAChB;AAEA,QAAQ,GAAG,qBAAqB,gBAAgB;AAChD,QAAQ,GAAG,sBAAsB,gBAAgB;AAMjD,IAAM,OAAO,QAAQ,KAAK,MAAM,CAAC;AACjC,IAAI,KAAK,CAAC,MAAM,UAAU,KAAK,CAAC,MAAM,cAAc;AAElD,QAAM,EAAE,kBAAkB,IAAI,MAAM,OAAO,+BAAyC;AACpF,QAAM,kBAAkB;AAExB,UAAQ,OAAO,MAAM,IAAI,MAAM,QAAQ,KAAK,CAAC,CAAC;AAChD,WAAW,KAAK,CAAC,MAAM,QAAQ;AAC7B,QAAM,EAAE,aAAa,IAAI,MAAM,OAAO,oBAAoB;AAC1D,QAAM,aAAa,KAAK,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC;AAC3C,OAAO;AAIL,QAAM,EAAE,SAAS,MAAM,IAAI,MAAM,OAAO,OAAO;AAC/C,MAAI,CAAC,QAAQ,IAAI,YAAY,MAAM,UAAU,EAAG,OAAM,QAAQ;AAC9D,QAAM,EAAE,IAAI,IAAI,MAAM,OAAO,mBAAU;AACvC,QAAM,EAAE,aAAa,IAAI,MAAM,OAAO,sBAA2B;AACjE,QAAM,EAAE,iBAAiB,gBAAgB,IAAI,MAAM,OAAO,gCAAuC;AAGjG,QAAM,aAAa,gBAAgB,gBAAgB,IAAI,CAAC,GAAG,MAAM,IAAI,IAAI,CAAC;AAC5E;","names":[]}
|
|
@@ -5,42 +5,43 @@ import {
|
|
|
5
5
|
blockRefFrom,
|
|
6
6
|
readBlock,
|
|
7
7
|
removeBlocker
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S2MOK3CT.js";
|
|
9
9
|
import {
|
|
10
10
|
sessionFromArgs,
|
|
11
11
|
sessionPositionals
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-X6EMCJ2L.js";
|
|
13
13
|
import "./chunk-6AQRYLOB.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-RVSRZ57P.js";
|
|
14
|
+
import "./chunk-RXORNKSJ.js";
|
|
16
15
|
import "./chunk-ZSHWP2VS.js";
|
|
16
|
+
import "./chunk-CNZV3UCM.js";
|
|
17
17
|
import "./chunk-HUXS3VAI.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-2IDWQ5NO.js";
|
|
19
19
|
import "./chunk-FGPXMAYU.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-GNIYYXQX.js";
|
|
21
|
+
import "./chunk-T5GJVUSL.js";
|
|
22
|
+
import "./chunk-XBWS77S2.js";
|
|
23
|
+
import "./chunk-4CXUVBOD.js";
|
|
23
24
|
import {
|
|
24
25
|
findSession,
|
|
25
26
|
loadHistory
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FNWPOM4B.js";
|
|
27
28
|
import "./chunk-NEJVK5CF.js";
|
|
28
29
|
import {
|
|
29
30
|
sessionIdFor
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-ZS7ZXAXB.js";
|
|
31
|
+
} from "./chunk-ALBTIOP3.js";
|
|
32
|
+
import "./chunk-CYUSOVO5.js";
|
|
33
|
+
import "./chunk-UCNYEHQY.js";
|
|
34
|
+
import "./chunk-DOYJR2HF.js";
|
|
35
|
+
import "./chunk-HK6AZQ5Z.js";
|
|
36
|
+
import "./chunk-TZLCBDJZ.js";
|
|
37
|
+
import "./chunk-BZGIKO6I.js";
|
|
38
|
+
import "./chunk-REPFZIPP.js";
|
|
39
|
+
import "./chunk-VHENFC2S.js";
|
|
40
|
+
import "./chunk-QOSAWNOU.js";
|
|
41
41
|
import "./chunk-D2J3AD6L.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-5ZCCUM75.js";
|
|
43
|
+
import "./chunk-IAKOKZYW.js";
|
|
44
|
+
import "./chunk-F2ECTTSY.js";
|
|
44
45
|
|
|
45
46
|
// src/commands/block.ts
|
|
46
47
|
import chalk from "chalk";
|
|
@@ -95,4 +96,4 @@ var blockCommand = {
|
|
|
95
96
|
export {
|
|
96
97
|
blockCommand
|
|
97
98
|
};
|
|
98
|
-
//# sourceMappingURL=block-
|
|
99
|
+
//# sourceMappingURL=block-5HJQWQNX.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,CAAC;AAAA,IACjE,WAAW,OAAO,KAAK,OAAO,UAAU;AACtC,YAAM,aAAa,EAAE,MAAM,MAAM,KAAK,KAAK,GAAG,CAAC;AAC/C,UAAI,CAAC,KAAK;AACR,gBAAQ,MAAM,MAAM,IAAI,4BAA4B,KAAK,EAAE,EAAE,CAAC;AAC9D,gBAAQ,WAAW;AACnB;AAAA,MACF;AAAA,IACF;AACA,QAAI,KAAK,KAAK;AACZ,oBAAc,IAAI,MAAM,SAAS,GAAG,IAAI,MAAS;AACjD,cAAQ,IAAI,MAAM,MAAM,MAAM,GAAG,IAAI,uBAAuB,IAAI,KAAK,MAAM,GAAG,IAAI,+BAA+B,CAAC;AAClH;AAAA,IACF;AACA,QAAI,CAAC,KAAK;AACR,YAAM,IAAI,UAAU,EAAE;AACtB,UAAI,CAAC,EAAG,SAAQ,IAAI,MAAM,KAAK,GAAG,IAAI,oBAAoB,CAAC;AAAA;AAEzD,mBAAW,KAAK,EAAE;AAChB,kBAAQ,IAAI,GAAG,EAAE,KAAK,GAAG,EAAE,SAAS,OAAO,KAAK,MAAM,KAAK,EAAE,GAAG,CAAC,GAAG,EAAE,QAAQ,KAAK,EAAE,MAAM,YAAY,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;AAC7H;AAAA,IACF;AACA,UAAM,IAAI,WAAW,IAAI,GAAG;AAC5B,QAAI,CAAC,EAAE,IAAI;AACT,cAAQ,MAAM,MAAM,IAAI,EAAE,KAAK,CAAC;AAChC,cAAQ,WAAW;AACnB;AAAA,IACF;AACA,YAAQ,IAAI,MAAM,MAAM,GAAG,IAAI,aAAa,IAAI,KAAK,sCAAsC,CAAC;AAAA,EAC9F;AACF;","names":[]}
|
|
@@ -4,27 +4,28 @@ import {
|
|
|
4
4
|
} from "./chunk-WMJIU3YW.js";
|
|
5
5
|
import {
|
|
6
6
|
getCommentFileStore
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CNZV3UCM.js";
|
|
8
8
|
import "./chunk-HUXS3VAI.js";
|
|
9
9
|
import {
|
|
10
10
|
loadHistory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FNWPOM4B.js";
|
|
12
12
|
import "./chunk-NEJVK5CF.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionIdFor
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-ALBTIOP3.js";
|
|
16
|
+
import "./chunk-CYUSOVO5.js";
|
|
17
|
+
import "./chunk-UCNYEHQY.js";
|
|
18
|
+
import "./chunk-DOYJR2HF.js";
|
|
19
|
+
import "./chunk-HK6AZQ5Z.js";
|
|
20
|
+
import "./chunk-TZLCBDJZ.js";
|
|
21
|
+
import "./chunk-BZGIKO6I.js";
|
|
22
|
+
import "./chunk-REPFZIPP.js";
|
|
23
|
+
import "./chunk-VHENFC2S.js";
|
|
24
|
+
import "./chunk-QOSAWNOU.js";
|
|
25
25
|
import "./chunk-D2J3AD6L.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-5ZCCUM75.js";
|
|
27
|
+
import "./chunk-IAKOKZYW.js";
|
|
28
|
+
import "./chunk-F2ECTTSY.js";
|
|
28
29
|
|
|
29
30
|
// src/commands/broadcast.ts
|
|
30
31
|
import fs from "fs";
|
|
@@ -109,4 +110,4 @@ var broadcastCommand = {
|
|
|
109
110
|
export {
|
|
110
111
|
broadcastCommand
|
|
111
112
|
};
|
|
112
|
-
//# sourceMappingURL=broadcast-
|
|
113
|
+
//# sourceMappingURL=broadcast-TMCWRTIY.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,EACV,SAAS,CAAC,UACR,MACG,WAAW,UAAU;AAAA,IACpB,UAAU;AAAA,IACV,MAAM;AAAA,EACR,CAAC,EACA,OAAO,UAAU;AAAA,IAChB,UAAU;AAAA,IACV,MAAM;AAAA,EACR,CAAC,EACA,OAAO,UAAU;AAAA,IAChB,UAAU;AAAA,IACV,MAAM;AAAA,EACR,CAAC,EACA,OAAO,OAAO;AAAA,IACb,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EACX,CAAC;AAAA,EACL,SAAS,OAAO,SAAS;AACvB,QAAI,SAAU,KAAK,UAAiC;AACpD,QAAI,WAAW,KAAK;AAClB,eAAS,UAAU;AAAA,IACrB;AACA,aAAS,OAAO,KAAK;AACrB,QAAI,CAAC,QAAQ;AACX,cAAQ,MAAM,MAAM,IAAI,8CAA8C,CAAC;AACvE,cAAQ,WAAW;AACnB;AAAA,IACF;AAEA,UAAM,SAAS,KAAK;AACpB,UAAM,SAAS,KAAK;AACpB,UAAM,MAAM,KAAK;AACjB,QAAI,UAAU,CAAC,QAAQ;AACrB,cAAQ,MAAM,MAAM,IAAI,6BAA6B,CAAC;AACtD,cAAQ,WAAW;AACnB;AAAA,IACF;AAIA,QAAI,CAAC,UAAU,CAAC,KAAK;AACnB,cAAQ,MAAM,MAAM,IAAI,+FAA+F,CAAC;AACxH,cAAQ,WAAW;AACnB;AAAA,IACF;AAEA,UAAM,SAAS,MAAM,gBAAgB,YAAY,GAAG,EAAE,QAAQ,OAAO,GAAG,MAAM;AAE9E,QAAI,OAAO,WAAW,GAAG;AACvB,cAAQ,IAAI,MAAM,OAAO,uCAAuC,CAAC;AACjE;AAAA,IACF;AAEA,YAAQ,IAAI,MAAM,KAAK,oBAAoB,OAAO,MAAM,WAAW,OAAO,WAAW,IAAI,KAAK,GAAG,GAAG,CAAC;AACrG,eAAW,KAAK,QAAQ;AACtB,cAAQ,IAAI,KAAK,MAAM,KAAK,IAAI,EAAE,QAAQ,MAAM,IAAI,EAAE,QAAQ,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,36 +3,37 @@ import {
|
|
|
3
3
|
askCatchUp,
|
|
4
4
|
catchUp,
|
|
5
5
|
catchUpFacts
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3YON263F.js";
|
|
7
|
+
import "./chunk-CVTM4TCZ.js";
|
|
8
|
+
import "./chunk-QP7VLMFJ.js";
|
|
7
9
|
import {
|
|
8
10
|
sessionFromArgs,
|
|
9
11
|
sessionPositionals
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-X6EMCJ2L.js";
|
|
11
13
|
import "./chunk-6AQRYLOB.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-XGZB2DOA.js";
|
|
14
|
-
import "./chunk-ZKGCL4HY.js";
|
|
15
|
-
import "./chunk-RVSRZ57P.js";
|
|
14
|
+
import "./chunk-RXORNKSJ.js";
|
|
16
15
|
import "./chunk-ZSHWP2VS.js";
|
|
16
|
+
import "./chunk-CNZV3UCM.js";
|
|
17
17
|
import "./chunk-HUXS3VAI.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-FNWPOM4B.js";
|
|
19
19
|
import "./chunk-NEJVK5CF.js";
|
|
20
20
|
import {
|
|
21
21
|
sessionIdFor
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-ALBTIOP3.js";
|
|
23
|
+
import "./chunk-CYUSOVO5.js";
|
|
24
|
+
import "./chunk-UCNYEHQY.js";
|
|
25
|
+
import "./chunk-JYWX2N5W.js";
|
|
26
|
+
import "./chunk-DOYJR2HF.js";
|
|
27
|
+
import "./chunk-HK6AZQ5Z.js";
|
|
28
|
+
import "./chunk-TZLCBDJZ.js";
|
|
29
|
+
import "./chunk-BZGIKO6I.js";
|
|
30
|
+
import "./chunk-REPFZIPP.js";
|
|
31
|
+
import "./chunk-VHENFC2S.js";
|
|
32
|
+
import "./chunk-QOSAWNOU.js";
|
|
33
33
|
import "./chunk-D2J3AD6L.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-5ZCCUM75.js";
|
|
35
|
+
import "./chunk-IAKOKZYW.js";
|
|
36
|
+
import "./chunk-F2ECTTSY.js";
|
|
36
37
|
|
|
37
38
|
// src/commands/catchup.ts
|
|
38
39
|
import chalk from "chalk";
|
|
@@ -56,4 +57,4 @@ var catchupCommand = {
|
|
|
56
57
|
export {
|
|
57
58
|
catchupCommand
|
|
58
59
|
};
|
|
59
|
-
//# sourceMappingURL=catchup-
|
|
60
|
+
//# sourceMappingURL=catchup-BBJ43GWY.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":[]}
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
originUrl,
|
|
7
7
|
ownerRepo,
|
|
8
8
|
readGitConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GNIYYXQX.js";
|
|
10
10
|
import {
|
|
11
11
|
RUN_TIMED_OUT,
|
|
12
12
|
defaultRunner
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XBWS77S2.js";
|
|
14
14
|
import {
|
|
15
15
|
AZURE_THREAD_ID,
|
|
16
16
|
DEFAULT_HOST,
|
|
@@ -28,17 +28,17 @@ import {
|
|
|
28
28
|
parseAzurePrUrl,
|
|
29
29
|
parseAzureThreadId,
|
|
30
30
|
parseGithubPrUrl
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FNWPOM4B.js";
|
|
32
32
|
import {
|
|
33
33
|
json
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ALBTIOP3.js";
|
|
35
35
|
import {
|
|
36
36
|
configView
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-TZLCBDJZ.js";
|
|
38
38
|
import {
|
|
39
39
|
explainNotOnPath,
|
|
40
40
|
programPath
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-QOSAWNOU.js";
|
|
42
42
|
|
|
43
43
|
// src/core/hosts/origin-hostname.ts
|
|
44
44
|
function originHostname(origin) {
|
|
@@ -1575,4 +1575,4 @@ export {
|
|
|
1575
1575
|
hostOfThread,
|
|
1576
1576
|
hostOfPrUrl
|
|
1577
1577
|
};
|
|
1578
|
-
//# sourceMappingURL=chunk-
|
|
1578
|
+
//# sourceMappingURL=chunk-2IDWQ5NO.js.map
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
} from "./chunk-FZHFD2AY.js";
|
|
5
5
|
import {
|
|
6
6
|
agentsBySession
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FIEBI3UB.js";
|
|
8
8
|
import {
|
|
9
9
|
findSession as findSession2
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O32OINY3.js";
|
|
11
11
|
import {
|
|
12
12
|
dbPtySessions
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XMKYQVJU.js";
|
|
14
14
|
import {
|
|
15
15
|
clearLaunchedUnsafe,
|
|
16
16
|
findSession,
|
|
17
17
|
loadHistory
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FNWPOM4B.js";
|
|
19
19
|
import {
|
|
20
20
|
sessionIdFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ALBTIOP3.js";
|
|
22
22
|
import {
|
|
23
23
|
liveAgents
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CYUSOVO5.js";
|
|
25
25
|
|
|
26
26
|
// src/core/sessions/legacy-unsafe-io.ts
|
|
27
27
|
function agentsOf(id, io) {
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
legacyUnsafeCheck,
|
|
48
48
|
clearLaunchedUnsafeWhenIdle
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=chunk-
|
|
50
|
+
//# sourceMappingURL=chunk-2PAHTJ3B.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runInternal
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CVTM4TCZ.js";
|
|
5
5
|
import {
|
|
6
6
|
messageOf,
|
|
7
7
|
readStatus
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FNWPOM4B.js";
|
|
9
9
|
import {
|
|
10
10
|
sessionIdFor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ALBTIOP3.js";
|
|
12
12
|
import {
|
|
13
13
|
agentOf,
|
|
14
14
|
lineTimeOf,
|
|
15
15
|
readJsonlSince
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CYUSOVO5.js";
|
|
17
17
|
|
|
18
18
|
// src/core/conversations/catch-up-deps.ts
|
|
19
19
|
var askCatchUp = (prompt) => runInternal(prompt, 9e4);
|
|
@@ -100,4 +100,4 @@ export {
|
|
|
100
100
|
cachedCatchUp,
|
|
101
101
|
catchUp
|
|
102
102
|
};
|
|
103
|
-
//# sourceMappingURL=chunk-
|
|
103
|
+
//# sourceMappingURL=chunk-3YON263F.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
json,
|
|
4
4
|
tx,
|
|
5
5
|
withDb
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ALBTIOP3.js";
|
|
7
7
|
|
|
8
8
|
// src/core/tasks.ts
|
|
9
9
|
function isTask(x) {
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
removeTask,
|
|
88
88
|
editTask
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-44UME4JD.js.map
|
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ensureHost,
|
|
4
4
|
probeHostDetailed
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JVJ5IJSF.js";
|
|
6
6
|
import {
|
|
7
7
|
hostInfoPath,
|
|
8
8
|
readHostInfo
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XPWWOR7Z.js";
|
|
10
10
|
import {
|
|
11
11
|
agentFor,
|
|
12
12
|
agentSettings,
|
|
13
13
|
assistantAgent,
|
|
14
14
|
internalAgent
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CYUSOVO5.js";
|
|
16
16
|
import {
|
|
17
17
|
detachHere,
|
|
18
18
|
isPidAlive,
|
|
19
19
|
killTree
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VHENFC2S.js";
|
|
21
21
|
import {
|
|
22
22
|
findOnPath,
|
|
23
23
|
programPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QOSAWNOU.js";
|
|
25
25
|
import {
|
|
26
26
|
report
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5ZCCUM75.js";
|
|
28
28
|
import {
|
|
29
29
|
debugLog
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-IAKOKZYW.js";
|
|
31
31
|
|
|
32
32
|
// src/core/pty/host-control.ts
|
|
33
33
|
import fs from "fs";
|
|
@@ -169,4 +169,4 @@ export {
|
|
|
169
169
|
restartHost,
|
|
170
170
|
ensureAgentPath
|
|
171
171
|
};
|
|
172
|
-
//# sourceMappingURL=chunk-
|
|
172
|
+
//# sourceMappingURL=chunk-46WW3Z6C.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
notOnPath,
|
|
4
4
|
whereOnPath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QOSAWNOU.js";
|
|
6
6
|
|
|
7
7
|
// src/core/platform/batch-launch.ts
|
|
8
8
|
import fs from "fs";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
programFor,
|
|
74
74
|
launchFor
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-4CXUVBOD.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-D2J3AD6L.js";
|
|
9
9
|
import {
|
|
10
10
|
report
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5ZCCUM75.js";
|
|
12
12
|
|
|
13
13
|
// src/core/platform/settings-editor.ts
|
|
14
14
|
import fs from "fs";
|
|
@@ -131,4 +131,4 @@ export {
|
|
|
131
131
|
isStaleEntry,
|
|
132
132
|
tag
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=chunk-
|
|
134
|
+
//# sourceMappingURL=chunk-4NIOURHZ.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
resolveWorkBinPath
|
|
4
|
-
} from "./chunk-AH5TM3NB.js";
|
|
5
2
|
import {
|
|
6
3
|
spawnSpecFor
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6SYQQXPQ.js";
|
|
8
5
|
import {
|
|
9
6
|
PtyHostClient,
|
|
10
7
|
ensureHost
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JVJ5IJSF.js";
|
|
12
9
|
import {
|
|
13
10
|
sessionIdFor
|
|
14
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ALBTIOP3.js";
|
|
12
|
+
import {
|
|
13
|
+
resolveWorkBinPath
|
|
14
|
+
} from "./chunk-HK6AZQ5Z.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/shared/attach-session.ts
|
|
17
17
|
import chalk from "chalk";
|
|
@@ -116,4 +116,4 @@ async function attachSession(session, launch = {}) {
|
|
|
116
116
|
export {
|
|
117
117
|
attachSession
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=chunk-
|
|
119
|
+
//# sourceMappingURL=chunk-4WTY3SFZ.js.map
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
sessionFolderPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PZ7WTBSI.js";
|
|
5
5
|
import {
|
|
6
6
|
isLeftover,
|
|
7
7
|
putLeftoverBack,
|
|
8
8
|
setLeftoverAside,
|
|
9
9
|
takeLeftover
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EORL2V7P.js";
|
|
11
11
|
import {
|
|
12
12
|
makeFolder,
|
|
13
13
|
worktreeFolderMessage
|
|
14
14
|
} from "./chunk-LM2T5OR3.js";
|
|
15
15
|
import {
|
|
16
16
|
recordCheckedOutBranches
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-U64SNFIZ.js";
|
|
18
18
|
import {
|
|
19
19
|
isBuildOutputPath
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-T5GJVUSL.js";
|
|
21
21
|
import {
|
|
22
22
|
archiveDirFor,
|
|
23
23
|
archiveRoot,
|
|
24
|
-
bestEffort,
|
|
25
24
|
findSession,
|
|
26
25
|
forgetOtherBaseCheckoutEntries,
|
|
27
26
|
isFolderSession,
|
|
@@ -36,16 +35,17 @@ import {
|
|
|
36
35
|
upsertSession,
|
|
37
36
|
upsertSessionWithPort,
|
|
38
37
|
writeArchiveRecord
|
|
39
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FNWPOM4B.js";
|
|
40
39
|
import {
|
|
41
40
|
sessionIdFor
|
|
42
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ALBTIOP3.js";
|
|
43
42
|
import {
|
|
44
|
-
agentFor
|
|
45
|
-
|
|
43
|
+
agentFor,
|
|
44
|
+
bestEffort
|
|
45
|
+
} from "./chunk-CYUSOVO5.js";
|
|
46
46
|
import {
|
|
47
47
|
resolveProjectTarget
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IPHADNF5.js";
|
|
49
49
|
import {
|
|
50
50
|
fetchRemoteAsync,
|
|
51
51
|
getCurrentBranch,
|
|
@@ -57,20 +57,22 @@ import {
|
|
|
57
57
|
parseWorktreeList,
|
|
58
58
|
remoteBranchExists,
|
|
59
59
|
repoState
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-JYWX2N5W.js";
|
|
61
61
|
import {
|
|
62
62
|
DEFAULT_ACCOUNT
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-BZGIKO6I.js";
|
|
64
64
|
import {
|
|
65
65
|
atomicWriteFile
|
|
66
66
|
} from "./chunk-D2J3AD6L.js";
|
|
67
67
|
import {
|
|
68
68
|
report
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-5ZCCUM75.js";
|
|
70
|
+
import {
|
|
71
|
+
debug
|
|
72
|
+
} from "./chunk-IAKOKZYW.js";
|
|
70
73
|
import {
|
|
71
|
-
debug,
|
|
72
74
|
getConfigDir
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-F2ECTTSY.js";
|
|
74
76
|
|
|
75
77
|
// src/core/git/base-spec.ts
|
|
76
78
|
var BaseSpecError = class extends Error {
|
|
@@ -1100,4 +1102,4 @@ export {
|
|
|
1100
1102
|
teardownWorktree,
|
|
1101
1103
|
openBaseCheckout
|
|
1102
1104
|
};
|
|
1103
|
-
//# sourceMappingURL=chunk-
|
|
1105
|
+
//# sourceMappingURL=chunk-4ZP6NN2X.js.map
|