@moberg_hr/work-tree 2.15.0 → 2.16.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-X42JQCYT.js → account-MYGAXTF6.js} +17 -17
- package/dist/{add-repo-UZHIG6LN.js → add-repo-7PLONSB6.js} +11 -11
- package/dist/{answer-NDX2DNXK.js → answer-H3D6OLHJ.js} +8 -8
- package/dist/{attach-ETPEGXYM.js → attach-Z2HEZVZW.js} +15 -15
- package/dist/bin.js +3 -3
- package/dist/{block-5HJQWQNX.js → block-BWRLOTSM.js} +10 -10
- package/dist/{broadcast-TMCWRTIY.js → broadcast-RY6NAYGN.js} +6 -6
- package/dist/{catchup-BBJ43GWY.js → catchup-K5ICNWDH.js} +11 -11
- package/dist/{chunk-XMKYQVJU.js → chunk-2CVBAJH7.js} +2 -2
- package/dist/{chunk-O32OINY3.js → chunk-2H3H23W5.js} +2 -2
- package/dist/{chunk-TZLCBDJZ.js → chunk-2L2TNYQA.js} +2 -2
- package/dist/{chunk-K2OOUNXH.js → chunk-3JANKWY2.js} +2 -2
- package/dist/{chunk-JVJ5IJSF.js → chunk-3L5VDONX.js} +2 -2
- package/dist/chunk-3OMFMSZ4.js +9 -0
- package/dist/{chunk-R6KQDWHC.js → chunk-42WCSVBK.js} +4 -4
- package/dist/chunk-42WCSVBK.js.map +1 -0
- package/dist/{chunk-DBGHDWM7.js → chunk-45QJQIWF.js} +7 -7
- package/dist/chunk-45QJQIWF.js.map +1 -0
- package/dist/{chunk-OL7S2KFH.js → chunk-473UMEVN.js} +57 -57
- package/dist/{chunk-UCNYEHQY.js → chunk-4HNMJIUZ.js} +2 -2
- package/dist/{chunk-R5HG665I.js → chunk-4YO2PDUC.js} +3 -3
- package/dist/{chunk-2PAHTJ3B.js → chunk-63NT2NZD.js} +6 -6
- package/dist/{chunk-C6OEPSH2.js → chunk-C5F36EGT.js} +4 -4
- package/dist/{chunk-GPLCT5TZ.js → chunk-CJQPKHDO.js} +4 -4
- package/dist/{chunk-4WTY3SFZ.js → chunk-EQJZ2GXX.js} +3 -3
- package/dist/{chunk-MZY557LZ.js → chunk-EVZUJLZH.js} +6 -6
- package/dist/{chunk-ITY6R2LC.js → chunk-EX6ELNTN.js} +3 -3
- package/dist/{chunk-CVTM4TCZ.js → chunk-GT3KUREW.js} +5 -5
- package/dist/{chunk-CYUSOVO5.js → chunk-H3WBTKPB.js} +6 -6
- package/dist/{chunk-2IDWQ5NO.js → chunk-HT52LVYU.js} +3 -3
- package/dist/{chunk-3YON263F.js → chunk-HWMQV4YD.js} +4 -4
- package/dist/{chunk-QHA4VF4B.js → chunk-I5YQ7AC5.js} +3 -3
- package/dist/{chunk-BZGIKO6I.js → chunk-IKGSTBTG.js} +2 -1
- package/dist/chunk-IKGSTBTG.js.map +1 -0
- package/dist/{chunk-KCYYIUUQ.js → chunk-LBPYBBXX.js} +2 -2
- package/dist/{chunk-ZNGR2CB6.js → chunk-LMD2J2JN.js} +3 -3
- package/dist/{chunk-5LAFHPNB.js → chunk-LMSKMRNU.js} +7 -7
- package/dist/chunk-LMSKMRNU.js.map +1 -0
- package/dist/{chunk-LMP3WGRW.js → chunk-MH4D37RT.js} +2 -2
- package/dist/{chunk-UIIEP6VP.js → chunk-N5P2OY5O.js} +2 -2
- package/dist/{chunk-AHGMXBY3.js → chunk-NIAXRF5E.js} +2 -2
- package/dist/{chunk-BRUYXYO2.js → chunk-O2IARWVM.js} +2 -2
- package/dist/{chunk-S2MOK3CT.js → chunk-OA3TYOAY.js} +3 -3
- package/dist/{chunk-EQD3YBGA.js → chunk-P5633SI2.js} +7 -7
- package/dist/{chunk-WNWSO4VO.js → chunk-PJPYRXKJ.js} +6 -6
- package/dist/{chunk-QP7VLMFJ.js → chunk-QTUYNY3F.js} +2 -2
- package/dist/{chunk-6SYQQXPQ.js → chunk-QUL26RYB.js} +10 -10
- package/dist/{chunk-FIEBI3UB.js → chunk-RJAGFLAP.js} +2 -2
- package/dist/{chunk-X6EMCJ2L.js → chunk-SMARTMBW.js} +4 -4
- package/dist/{chunk-U64SNFIZ.js → chunk-SRGOCF73.js} +2 -2
- package/dist/{chunk-7QDZGVIT.js → chunk-SSXKC635.js} +3 -3
- package/dist/{chunk-MXH7DV4Q.js → chunk-SWAFQ343.js} +3 -3
- package/dist/{chunk-Z3OHGPIN.js → chunk-TLXZUE4T.js} +3 -3
- package/dist/{chunk-PSFOA7P6.js → chunk-UAXKMJYA.js} +6 -6
- package/dist/{chunk-FNWPOM4B.js → chunk-UN33JXAD.js} +134 -14
- package/dist/chunk-UN33JXAD.js.map +1 -0
- package/dist/{chunk-4ZP6NN2X.js → chunk-VH6EUWX7.js} +13 -13
- package/dist/chunk-VH6EUWX7.js.map +1 -0
- package/dist/{chunk-UJWYQVXI.js → chunk-VHYFFFZU.js} +2 -2
- package/dist/{chunk-QMHFXIMX.js → chunk-WLU7EWPD.js} +13 -10
- package/dist/chunk-WLU7EWPD.js.map +1 -0
- package/dist/{chunk-46WW3Z6C.js → chunk-WMIQOBHU.js} +4 -4
- package/dist/{chunk-GGE55DO3.js → chunk-WPHTWUNV.js} +16 -11
- package/dist/{chunk-GGE55DO3.js.map → chunk-WPHTWUNV.js.map} +1 -1
- package/dist/{chunk-RXORNKSJ.js → chunk-XHUKX3HO.js} +3 -3
- package/dist/{chunk-7S3NPGVM.js → chunk-XHVRFFOY.js} +4 -4
- package/dist/{chunk-XPWWOR7Z.js → chunk-XIOGNTUA.js} +2 -2
- package/dist/{chunk-TI6AR4QF.js → chunk-YLB2QGAR.js} +4 -4
- package/dist/{chunk-EQFDUC6F.js → chunk-Z3HC36JK.js} +2 -2
- package/dist/{chunk-BWUN33QN.js → chunk-ZAAWSVTU.js} +6 -6
- package/dist/{chunk-REAZAE5C.js → chunk-ZWBXRP2V.js} +6 -6
- package/dist/{chunk-MVME4LH7.js → chunk-ZXDRQ2MV.js} +6 -6
- package/dist/{cleanup-BD44PDRE.js → cleanup-HXZ4S2IO.js} +28 -28
- package/dist/{cli-OMADLGGY.js → cli-GKHHCDRV.js} +4 -4
- package/dist/{color-IZ2J3CT2.js → color-E73MIJWD.js} +8 -8
- package/dist/{config-65HXBCMW.js → config-24BNXN5C.js} +8 -8
- package/dist/{diff-CJNSUX25.js → diff-NAL5334E.js} +9 -9
- package/dist/{digest-FH3JBHSO.js → digest-NU6XNA7D.js} +8 -8
- package/dist/{fork-O6NS34MV.js → fork-QVFWYP2Z.js} +25 -25
- package/dist/{history-URHFR4MO.js → history-W5DQNAY3.js} +6 -6
- package/dist/{hook-6PWP3JVL.js → hook-OIAJHLTJ.js} +13 -13
- package/dist/{hydrate-V6PVQ6OO.js → hydrate-VAJO2JGT.js} +6 -6
- package/dist/{init-SENRHJ4R.js → init-2IHQUZ4E.js} +11 -11
- package/dist/{install-skills-DJE7LU66.js → install-skills-RJPZOV37.js} +6 -6
- package/dist/install-skills-bin.js +5 -5
- package/dist/{keep-M7E7UMRL.js → keep-IJDON5AL.js} +8 -8
- package/dist/{list-YPKCU3GB.js → list-6LPLVUUD.js} +6 -6
- package/dist/{move-ME7JMNJI.js → move-GY5G47JO.js} +14 -14
- package/dist/{note-JFZ3F7UY.js → note-6Q3AT7W6.js} +8 -8
- package/dist/{overlaps-ZN3WA35A.js → overlaps-JQVWZXEB.js} +12 -12
- package/dist/{pin-3S2MQQPM.js → pin-MIWOAQ7R.js} +8 -8
- package/dist/{pr-KNJ2TVC3.js → pr-3F3PJCQN.js} +19 -19
- package/dist/{prune-2GAXXNPM.js → prune-RKQQWEU6.js} +26 -26
- package/dist/{pty-host-WZZIQIKX.js → pty-host-QTWYR5QT.js} +13 -13
- package/dist/{read-UIV42F5D.js → read-RFLYBHLU.js} +8 -8
- package/dist/{recent-SJPAIY2T.js → recent-R24GG3OG.js} +13 -13
- package/dist/{remove-KQW35I5D.js → remove-ULIYLBRK.js} +27 -27
- package/dist/{restart-7VTSNTZ3.js → restart-VKQEQEU3.js} +8 -8
- package/dist/{resume-MPBXIF7C.js → resume-LE3SXWGI.js} +13 -13
- package/dist/{review-IRVOI4ZK.js → review-QGBSWK2M.js} +7 -7
- package/dist/{review-now-QAAL5C6N.js → review-now-74ISYEFP.js} +2 -2
- package/dist/{run-2EKY2R5R.js → run-RXCZSZKP.js} +6 -6
- package/dist/{screen-GQTKTUTD.js → screen-27WNAGP5.js} +8 -8
- package/dist/{search-N7XUYKYV.js → search-OSNZYFMI.js} +6 -6
- package/dist/{section-6MDCSJS5.js → section-HIYOC5HZ.js} +8 -8
- package/dist/{send-32U465SB.js → send-BFS32VDO.js} +9 -9
- package/dist/{sessions-E5OEZF2C.js → sessions-Q5EVPLLK.js} +23 -23
- package/dist/{show-AQQDICKX.js → show-JYXEQQM2.js} +7 -7
- package/dist/{snooze-LXHYYV5G.js → snooze-YDBFRJYB.js} +8 -8
- package/dist/{start-OCGLP6N6.js → start-KWQLMKAL.js} +8 -8
- package/dist/{state-FSZ6TIYE.js → state-NXTIYKP5.js} +2 -2
- package/dist/{status-35FEMHVO.js → status-ROO4SRGQ.js} +10 -10
- package/dist/{statusline-WEZSDGOU.js → statusline-AMFMWPTV.js} +3 -3
- package/dist/{stop-6QOVDV2A.js → stop-FMBFJUXI.js} +8 -8
- package/dist/{sync-GEG3O54C.js → sync-2DVHV7FT.js} +26 -26
- package/dist/{time-UXSYQHN4.js → time-LMBQVMQG.js} +13 -13
- package/dist/time-LMBQVMQG.js.map +1 -0
- package/dist/{time-actions-3KLS5WGD.js → time-actions-4GZLAV4C.js} +3 -3
- package/dist/{timesheet-RNUTAWR4.js → timesheet-DWWIBU5Y.js} +12 -12
- package/dist/{todo-MP4WUDMW.js → todo-SECMZCGC.js} +2 -2
- package/dist/{tree-U2LS4NHP.js → tree-NH43RR6O.js} +29 -29
- package/dist/tree-NH43RR6O.js.map +1 -0
- package/dist/{update-PHTB3AB5.js → update-THIANISA.js} +14 -14
- package/dist/{usage-2Z7354NZ.js → usage-CZZOI34H.js} +8 -8
- package/dist/{version-G2HN4GTL.js → version-2YUMQ4EN.js} +4 -4
- package/dist/{wait-MEMUQGDV.js → wait-QBBM7MR5.js} +9 -9
- package/dist/wd-bin.js +3 -3
- package/dist/web/assets/{PtyView-CyqsvkBt.js → PtyView-CJOk_dgn.js} +2 -2
- package/dist/web/assets/{PtyView-CyqsvkBt.js.map → PtyView-CJOk_dgn.js.map} +1 -1
- package/dist/web/assets/{index-DjFmAhbY.js → index-1hFrx0fV.js} +13 -13
- package/dist/web/assets/index-1hFrx0fV.js.map +1 -0
- package/dist/web/index.html +1 -1
- package/dist/{web-P7TKPZFB.js → web-PHQBICO5.js} +202 -87
- package/dist/web-PHQBICO5.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-4ZP6NN2X.js.map +0 -1
- package/dist/chunk-5LAFHPNB.js.map +0 -1
- package/dist/chunk-BZGIKO6I.js.map +0 -1
- package/dist/chunk-DBGHDWM7.js.map +0 -1
- package/dist/chunk-FNWPOM4B.js.map +0 -1
- package/dist/chunk-OX33X3NH.js +0 -9
- package/dist/chunk-QMHFXIMX.js.map +0 -1
- package/dist/chunk-R6KQDWHC.js.map +0 -1
- package/dist/time-UXSYQHN4.js.map +0 -1
- package/dist/tree-U2LS4NHP.js.map +0 -1
- package/dist/web/assets/index-DjFmAhbY.js.map +0 -1
- package/dist/web-P7TKPZFB.js.map +0 -1
- /package/dist/{account-X42JQCYT.js.map → account-MYGAXTF6.js.map} +0 -0
- /package/dist/{add-repo-UZHIG6LN.js.map → add-repo-7PLONSB6.js.map} +0 -0
- /package/dist/{answer-NDX2DNXK.js.map → answer-H3D6OLHJ.js.map} +0 -0
- /package/dist/{attach-ETPEGXYM.js.map → attach-Z2HEZVZW.js.map} +0 -0
- /package/dist/{block-5HJQWQNX.js.map → block-BWRLOTSM.js.map} +0 -0
- /package/dist/{broadcast-TMCWRTIY.js.map → broadcast-RY6NAYGN.js.map} +0 -0
- /package/dist/{catchup-BBJ43GWY.js.map → catchup-K5ICNWDH.js.map} +0 -0
- /package/dist/{chunk-XMKYQVJU.js.map → chunk-2CVBAJH7.js.map} +0 -0
- /package/dist/{chunk-O32OINY3.js.map → chunk-2H3H23W5.js.map} +0 -0
- /package/dist/{chunk-TZLCBDJZ.js.map → chunk-2L2TNYQA.js.map} +0 -0
- /package/dist/{chunk-K2OOUNXH.js.map → chunk-3JANKWY2.js.map} +0 -0
- /package/dist/{chunk-JVJ5IJSF.js.map → chunk-3L5VDONX.js.map} +0 -0
- /package/dist/{chunk-OX33X3NH.js.map → chunk-3OMFMSZ4.js.map} +0 -0
- /package/dist/{chunk-OL7S2KFH.js.map → chunk-473UMEVN.js.map} +0 -0
- /package/dist/{chunk-UCNYEHQY.js.map → chunk-4HNMJIUZ.js.map} +0 -0
- /package/dist/{chunk-R5HG665I.js.map → chunk-4YO2PDUC.js.map} +0 -0
- /package/dist/{chunk-2PAHTJ3B.js.map → chunk-63NT2NZD.js.map} +0 -0
- /package/dist/{chunk-C6OEPSH2.js.map → chunk-C5F36EGT.js.map} +0 -0
- /package/dist/{chunk-GPLCT5TZ.js.map → chunk-CJQPKHDO.js.map} +0 -0
- /package/dist/{chunk-4WTY3SFZ.js.map → chunk-EQJZ2GXX.js.map} +0 -0
- /package/dist/{chunk-MZY557LZ.js.map → chunk-EVZUJLZH.js.map} +0 -0
- /package/dist/{chunk-ITY6R2LC.js.map → chunk-EX6ELNTN.js.map} +0 -0
- /package/dist/{chunk-CVTM4TCZ.js.map → chunk-GT3KUREW.js.map} +0 -0
- /package/dist/{chunk-CYUSOVO5.js.map → chunk-H3WBTKPB.js.map} +0 -0
- /package/dist/{chunk-2IDWQ5NO.js.map → chunk-HT52LVYU.js.map} +0 -0
- /package/dist/{chunk-3YON263F.js.map → chunk-HWMQV4YD.js.map} +0 -0
- /package/dist/{chunk-QHA4VF4B.js.map → chunk-I5YQ7AC5.js.map} +0 -0
- /package/dist/{chunk-KCYYIUUQ.js.map → chunk-LBPYBBXX.js.map} +0 -0
- /package/dist/{chunk-ZNGR2CB6.js.map → chunk-LMD2J2JN.js.map} +0 -0
- /package/dist/{chunk-LMP3WGRW.js.map → chunk-MH4D37RT.js.map} +0 -0
- /package/dist/{chunk-UIIEP6VP.js.map → chunk-N5P2OY5O.js.map} +0 -0
- /package/dist/{chunk-AHGMXBY3.js.map → chunk-NIAXRF5E.js.map} +0 -0
- /package/dist/{chunk-BRUYXYO2.js.map → chunk-O2IARWVM.js.map} +0 -0
- /package/dist/{chunk-S2MOK3CT.js.map → chunk-OA3TYOAY.js.map} +0 -0
- /package/dist/{chunk-EQD3YBGA.js.map → chunk-P5633SI2.js.map} +0 -0
- /package/dist/{chunk-WNWSO4VO.js.map → chunk-PJPYRXKJ.js.map} +0 -0
- /package/dist/{chunk-QP7VLMFJ.js.map → chunk-QTUYNY3F.js.map} +0 -0
- /package/dist/{chunk-6SYQQXPQ.js.map → chunk-QUL26RYB.js.map} +0 -0
- /package/dist/{chunk-FIEBI3UB.js.map → chunk-RJAGFLAP.js.map} +0 -0
- /package/dist/{chunk-X6EMCJ2L.js.map → chunk-SMARTMBW.js.map} +0 -0
- /package/dist/{chunk-U64SNFIZ.js.map → chunk-SRGOCF73.js.map} +0 -0
- /package/dist/{chunk-7QDZGVIT.js.map → chunk-SSXKC635.js.map} +0 -0
- /package/dist/{chunk-MXH7DV4Q.js.map → chunk-SWAFQ343.js.map} +0 -0
- /package/dist/{chunk-Z3OHGPIN.js.map → chunk-TLXZUE4T.js.map} +0 -0
- /package/dist/{chunk-PSFOA7P6.js.map → chunk-UAXKMJYA.js.map} +0 -0
- /package/dist/{chunk-UJWYQVXI.js.map → chunk-VHYFFFZU.js.map} +0 -0
- /package/dist/{chunk-46WW3Z6C.js.map → chunk-WMIQOBHU.js.map} +0 -0
- /package/dist/{chunk-RXORNKSJ.js.map → chunk-XHUKX3HO.js.map} +0 -0
- /package/dist/{chunk-7S3NPGVM.js.map → chunk-XHVRFFOY.js.map} +0 -0
- /package/dist/{chunk-XPWWOR7Z.js.map → chunk-XIOGNTUA.js.map} +0 -0
- /package/dist/{chunk-TI6AR4QF.js.map → chunk-YLB2QGAR.js.map} +0 -0
- /package/dist/{chunk-EQFDUC6F.js.map → chunk-Z3HC36JK.js.map} +0 -0
- /package/dist/{chunk-BWUN33QN.js.map → chunk-ZAAWSVTU.js.map} +0 -0
- /package/dist/{chunk-REAZAE5C.js.map → chunk-ZWBXRP2V.js.map} +0 -0
- /package/dist/{chunk-MVME4LH7.js.map → chunk-ZXDRQ2MV.js.map} +0 -0
- /package/dist/{cleanup-BD44PDRE.js.map → cleanup-HXZ4S2IO.js.map} +0 -0
- /package/dist/{cli-OMADLGGY.js.map → cli-GKHHCDRV.js.map} +0 -0
- /package/dist/{color-IZ2J3CT2.js.map → color-E73MIJWD.js.map} +0 -0
- /package/dist/{config-65HXBCMW.js.map → config-24BNXN5C.js.map} +0 -0
- /package/dist/{diff-CJNSUX25.js.map → diff-NAL5334E.js.map} +0 -0
- /package/dist/{digest-FH3JBHSO.js.map → digest-NU6XNA7D.js.map} +0 -0
- /package/dist/{fork-O6NS34MV.js.map → fork-QVFWYP2Z.js.map} +0 -0
- /package/dist/{history-URHFR4MO.js.map → history-W5DQNAY3.js.map} +0 -0
- /package/dist/{hook-6PWP3JVL.js.map → hook-OIAJHLTJ.js.map} +0 -0
- /package/dist/{hydrate-V6PVQ6OO.js.map → hydrate-VAJO2JGT.js.map} +0 -0
- /package/dist/{init-SENRHJ4R.js.map → init-2IHQUZ4E.js.map} +0 -0
- /package/dist/{install-skills-DJE7LU66.js.map → install-skills-RJPZOV37.js.map} +0 -0
- /package/dist/{keep-M7E7UMRL.js.map → keep-IJDON5AL.js.map} +0 -0
- /package/dist/{list-YPKCU3GB.js.map → list-6LPLVUUD.js.map} +0 -0
- /package/dist/{move-ME7JMNJI.js.map → move-GY5G47JO.js.map} +0 -0
- /package/dist/{note-JFZ3F7UY.js.map → note-6Q3AT7W6.js.map} +0 -0
- /package/dist/{overlaps-ZN3WA35A.js.map → overlaps-JQVWZXEB.js.map} +0 -0
- /package/dist/{pin-3S2MQQPM.js.map → pin-MIWOAQ7R.js.map} +0 -0
- /package/dist/{pr-KNJ2TVC3.js.map → pr-3F3PJCQN.js.map} +0 -0
- /package/dist/{prune-2GAXXNPM.js.map → prune-RKQQWEU6.js.map} +0 -0
- /package/dist/{pty-host-WZZIQIKX.js.map → pty-host-QTWYR5QT.js.map} +0 -0
- /package/dist/{read-UIV42F5D.js.map → read-RFLYBHLU.js.map} +0 -0
- /package/dist/{recent-SJPAIY2T.js.map → recent-R24GG3OG.js.map} +0 -0
- /package/dist/{remove-KQW35I5D.js.map → remove-ULIYLBRK.js.map} +0 -0
- /package/dist/{restart-7VTSNTZ3.js.map → restart-VKQEQEU3.js.map} +0 -0
- /package/dist/{resume-MPBXIF7C.js.map → resume-LE3SXWGI.js.map} +0 -0
- /package/dist/{review-IRVOI4ZK.js.map → review-QGBSWK2M.js.map} +0 -0
- /package/dist/{review-now-QAAL5C6N.js.map → review-now-74ISYEFP.js.map} +0 -0
- /package/dist/{run-2EKY2R5R.js.map → run-RXCZSZKP.js.map} +0 -0
- /package/dist/{screen-GQTKTUTD.js.map → screen-27WNAGP5.js.map} +0 -0
- /package/dist/{search-N7XUYKYV.js.map → search-OSNZYFMI.js.map} +0 -0
- /package/dist/{section-6MDCSJS5.js.map → section-HIYOC5HZ.js.map} +0 -0
- /package/dist/{send-32U465SB.js.map → send-BFS32VDO.js.map} +0 -0
- /package/dist/{sessions-E5OEZF2C.js.map → sessions-Q5EVPLLK.js.map} +0 -0
- /package/dist/{show-AQQDICKX.js.map → show-JYXEQQM2.js.map} +0 -0
- /package/dist/{snooze-LXHYYV5G.js.map → snooze-YDBFRJYB.js.map} +0 -0
- /package/dist/{start-OCGLP6N6.js.map → start-KWQLMKAL.js.map} +0 -0
- /package/dist/{state-FSZ6TIYE.js.map → state-NXTIYKP5.js.map} +0 -0
- /package/dist/{status-35FEMHVO.js.map → status-ROO4SRGQ.js.map} +0 -0
- /package/dist/{statusline-WEZSDGOU.js.map → statusline-AMFMWPTV.js.map} +0 -0
- /package/dist/{stop-6QOVDV2A.js.map → stop-FMBFJUXI.js.map} +0 -0
- /package/dist/{sync-GEG3O54C.js.map → sync-2DVHV7FT.js.map} +0 -0
- /package/dist/{time-actions-3KLS5WGD.js.map → time-actions-4GZLAV4C.js.map} +0 -0
- /package/dist/{timesheet-RNUTAWR4.js.map → timesheet-DWWIBU5Y.js.map} +0 -0
- /package/dist/{todo-MP4WUDMW.js.map → todo-SECMZCGC.js.map} +0 -0
- /package/dist/{update-PHTB3AB5.js.map → update-THIANISA.js.map} +0 -0
- /package/dist/{usage-2Z7354NZ.js.map → usage-CZZOI34H.js.map} +0 -0
- /package/dist/{version-G2HN4GTL.js.map → version-2YUMQ4EN.js.map} +0 -0
- /package/dist/{wait-MEMUQGDV.js.map → wait-QBBM7MR5.js.map} +0 -0
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
serveSpa,
|
|
13
13
|
sessionBaseForPath,
|
|
14
14
|
submitReviewSchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4YO2PDUC.js";
|
|
16
16
|
import {
|
|
17
17
|
ensureAgentPath,
|
|
18
18
|
restartHost
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WMIQOBHU.js";
|
|
20
20
|
import {
|
|
21
21
|
dropLocalReview,
|
|
22
22
|
readLocalReview,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
graphProblem,
|
|
36
36
|
signOutGraph,
|
|
37
37
|
startDeviceLogin
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-45QJQIWF.js";
|
|
39
39
|
import {
|
|
40
40
|
addTask,
|
|
41
41
|
completeTask,
|
|
@@ -58,25 +58,25 @@ import {
|
|
|
58
58
|
stageSeenKey,
|
|
59
59
|
storeHolding,
|
|
60
60
|
withRestoring
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-WLU7EWPD.js";
|
|
62
62
|
import {
|
|
63
63
|
createDigestSource
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-YLB2QGAR.js";
|
|
65
65
|
import {
|
|
66
66
|
createBuildFoldersJob,
|
|
67
67
|
defaultBranchTidyDeps,
|
|
68
68
|
defaultBuildFoldersDeps,
|
|
69
69
|
deleteMergedBranches,
|
|
70
70
|
findMergedBranches
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-P5633SI2.js";
|
|
72
72
|
import {
|
|
73
73
|
defaultCleanupDeps
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-UAXKMJYA.js";
|
|
75
75
|
import {
|
|
76
76
|
DiffStatCache,
|
|
77
77
|
findOverlaps,
|
|
78
78
|
wantsDiffStat
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-Z3HC36JK.js";
|
|
80
80
|
import {
|
|
81
81
|
sendToSession
|
|
82
82
|
} from "./chunk-KWHHB737.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
removeBlocker,
|
|
98
98
|
sweepBlocks,
|
|
99
99
|
unblockedPrompt
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-OA3TYOAY.js";
|
|
101
101
|
import {
|
|
102
102
|
jiraWorklogPoster,
|
|
103
103
|
logWorkDay,
|
|
@@ -115,24 +115,24 @@ import {
|
|
|
115
115
|
removeAgentAccount,
|
|
116
116
|
setDefaultAgentAccount,
|
|
117
117
|
switchRefusal
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-EVZUJLZH.js";
|
|
119
119
|
import {
|
|
120
120
|
buildUsage,
|
|
121
121
|
realUsageDeps,
|
|
122
122
|
setupAgentUsage
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-C5F36EGT.js";
|
|
124
124
|
import {
|
|
125
125
|
sessionWorkTime
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-I5YQ7AC5.js";
|
|
127
127
|
import "./chunk-UVZITL47.js";
|
|
128
128
|
import {
|
|
129
129
|
removeWorktreeInChild
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-MH4D37RT.js";
|
|
131
131
|
import {
|
|
132
132
|
archiveMergedSession,
|
|
133
133
|
archiveWaiting,
|
|
134
134
|
defaultArchiveDeps
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-WPHTWUNV.js";
|
|
136
136
|
import {
|
|
137
137
|
MAX_REPLY_CHARS,
|
|
138
138
|
discardReply,
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
retireResolvedReplies,
|
|
149
149
|
sessionRepoRefs,
|
|
150
150
|
withThreadContext
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-PJPYRXKJ.js";
|
|
152
152
|
import {
|
|
153
153
|
DEFAULT_TRUSTED_BOTS,
|
|
154
154
|
createCiStore,
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
openThreadsOf,
|
|
159
159
|
reviewMessage,
|
|
160
160
|
subAgentHint
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-SSXKC635.js";
|
|
162
162
|
import {
|
|
163
163
|
cleanupVerdict,
|
|
164
164
|
createCleanupJob
|
|
@@ -167,11 +167,11 @@ import {
|
|
|
167
167
|
defaultForkDeps,
|
|
168
168
|
forkSession,
|
|
169
169
|
startSessionWithPrompt
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-ZWBXRP2V.js";
|
|
171
171
|
import {
|
|
172
172
|
addRepoRefusal,
|
|
173
173
|
addedRepoNote
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-LBPYBBXX.js";
|
|
175
175
|
import {
|
|
176
176
|
BehindCache,
|
|
177
177
|
behindMain,
|
|
@@ -187,30 +187,30 @@ import {
|
|
|
187
187
|
stackedOn,
|
|
188
188
|
updateFromBase,
|
|
189
189
|
updateFromMain
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-ZAAWSVTU.js";
|
|
191
191
|
import {
|
|
192
192
|
sessionStatusView,
|
|
193
193
|
shownState
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-LMD2J2JN.js";
|
|
195
195
|
import {
|
|
196
196
|
askCatchUp,
|
|
197
197
|
cachedCatchUp,
|
|
198
198
|
catchUp,
|
|
199
199
|
catchUpFacts,
|
|
200
200
|
forgetCatchUp
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-HWMQV4YD.js";
|
|
202
202
|
import {
|
|
203
203
|
internalReadOnly,
|
|
204
204
|
runInternal,
|
|
205
205
|
runInternalReadOnly,
|
|
206
206
|
summarizeCheckpoint,
|
|
207
207
|
throttleTrailing
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-GT3KUREW.js";
|
|
209
209
|
import {
|
|
210
210
|
computeDiff,
|
|
211
211
|
computeRangeDiff,
|
|
212
212
|
parseGitDiff
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-QTUYNY3F.js";
|
|
214
214
|
import {
|
|
215
215
|
PLACE_PATCH_EXPECTED,
|
|
216
216
|
applyPlacePatch,
|
|
@@ -254,7 +254,7 @@ import {
|
|
|
254
254
|
tempoSetup,
|
|
255
255
|
timeRange,
|
|
256
256
|
updateDay
|
|
257
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-42WCSVBK.js";
|
|
258
258
|
import {
|
|
259
259
|
DISCUSSION_OPEN_MIN_MS,
|
|
260
260
|
LEFT_OVER_SUBMIT,
|
|
@@ -319,7 +319,7 @@ import {
|
|
|
319
319
|
checkTools,
|
|
320
320
|
saveFolders,
|
|
321
321
|
setupState
|
|
322
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-XHVRFFOY.js";
|
|
323
323
|
import {
|
|
324
324
|
RepoAdminError,
|
|
325
325
|
deleteGroup,
|
|
@@ -331,7 +331,7 @@ import {
|
|
|
331
331
|
setRepoIgnored,
|
|
332
332
|
setReviewMode,
|
|
333
333
|
setScanRoot
|
|
334
|
-
} from "./chunk-
|
|
334
|
+
} from "./chunk-EX6ELNTN.js";
|
|
335
335
|
import {
|
|
336
336
|
freeLeftovers,
|
|
337
337
|
leftoversOf,
|
|
@@ -340,17 +340,17 @@ import {
|
|
|
340
340
|
parsePrRef,
|
|
341
341
|
resolvePrToStart,
|
|
342
342
|
workOnPrPrompt
|
|
343
|
-
} from "./chunk-
|
|
343
|
+
} from "./chunk-TLXZUE4T.js";
|
|
344
344
|
import {
|
|
345
345
|
legacyUnsafeCheck
|
|
346
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-63NT2NZD.js";
|
|
347
347
|
import {
|
|
348
348
|
howToLift
|
|
349
349
|
} from "./chunk-FZHFD2AY.js";
|
|
350
350
|
import {
|
|
351
351
|
agentsBySession,
|
|
352
352
|
summarizeAgents
|
|
353
|
-
} from "./chunk-
|
|
353
|
+
} from "./chunk-RJAGFLAP.js";
|
|
354
354
|
import {
|
|
355
355
|
commandWords,
|
|
356
356
|
describeProcess,
|
|
@@ -367,7 +367,7 @@ import {
|
|
|
367
367
|
keyedQueue,
|
|
368
368
|
oneAtATime,
|
|
369
369
|
runWorkChild
|
|
370
|
-
} from "./chunk-
|
|
370
|
+
} from "./chunk-LMSKMRNU.js";
|
|
371
371
|
import {
|
|
372
372
|
configurePtyPool,
|
|
373
373
|
detachPtyPool,
|
|
@@ -392,21 +392,21 @@ import {
|
|
|
392
392
|
syncPtyPool,
|
|
393
393
|
terminalTicketUrl,
|
|
394
394
|
writeToPty
|
|
395
|
-
} from "./chunk-
|
|
396
|
-
import "./chunk-
|
|
395
|
+
} from "./chunk-QUL26RYB.js";
|
|
396
|
+
import "./chunk-3L5VDONX.js";
|
|
397
397
|
import {
|
|
398
398
|
disposeAllWatchers,
|
|
399
399
|
disposeSessionWatcher,
|
|
400
400
|
findSession as findSession2,
|
|
401
401
|
subscribeSession
|
|
402
|
-
} from "./chunk-
|
|
403
|
-
import "./chunk-
|
|
404
|
-
import "./chunk-
|
|
402
|
+
} from "./chunk-2H3H23W5.js";
|
|
403
|
+
import "./chunk-2CVBAJH7.js";
|
|
404
|
+
import "./chunk-XIOGNTUA.js";
|
|
405
405
|
import {
|
|
406
406
|
teardownWorktree,
|
|
407
407
|
toBaseSpec,
|
|
408
408
|
wouldRefuseRemoval
|
|
409
|
-
} from "./chunk-
|
|
409
|
+
} from "./chunk-VH6EUWX7.js";
|
|
410
410
|
import "./chunk-PZ7WTBSI.js";
|
|
411
411
|
import {
|
|
412
412
|
isWorktreeFolder
|
|
@@ -420,15 +420,15 @@ import {
|
|
|
420
420
|
assistantDir,
|
|
421
421
|
describeView,
|
|
422
422
|
writeAssistantContext
|
|
423
|
-
} from "./chunk-
|
|
423
|
+
} from "./chunk-O2IARWVM.js";
|
|
424
424
|
import "./chunk-7E5XPDKX.js";
|
|
425
|
-
import "./chunk-
|
|
425
|
+
import "./chunk-NIAXRF5E.js";
|
|
426
426
|
import {
|
|
427
427
|
NOTE_NUDGE,
|
|
428
428
|
findSessionForCwd,
|
|
429
429
|
readPendingForSession,
|
|
430
430
|
readPendingForWorktree
|
|
431
|
-
} from "./chunk-
|
|
431
|
+
} from "./chunk-XHUKX3HO.js";
|
|
432
432
|
import "./chunk-ZSHWP2VS.js";
|
|
433
433
|
import {
|
|
434
434
|
getCommentFileStore
|
|
@@ -448,17 +448,17 @@ import {
|
|
|
448
448
|
stageInputOf,
|
|
449
449
|
withRequiredChecks,
|
|
450
450
|
workElsewhere
|
|
451
|
-
} from "./chunk-
|
|
451
|
+
} from "./chunk-ZXDRQ2MV.js";
|
|
452
452
|
import {
|
|
453
453
|
createSessionBranches
|
|
454
|
-
} from "./chunk-
|
|
454
|
+
} from "./chunk-CJQPKHDO.js";
|
|
455
455
|
import {
|
|
456
456
|
defaultHost,
|
|
457
457
|
hostById,
|
|
458
458
|
hostForRepo,
|
|
459
459
|
hostOfPrUrl,
|
|
460
460
|
originHostname
|
|
461
|
-
} from "./chunk-
|
|
461
|
+
} from "./chunk-HT52LVYU.js";
|
|
462
462
|
import {
|
|
463
463
|
MAX_THREAD_BODY
|
|
464
464
|
} from "./chunk-FGPXMAYU.js";
|
|
@@ -471,11 +471,11 @@ import {
|
|
|
471
471
|
readSessionBranches,
|
|
472
472
|
repoNameOf,
|
|
473
473
|
wasPushed
|
|
474
|
-
} from "./chunk-
|
|
474
|
+
} from "./chunk-SRGOCF73.js";
|
|
475
475
|
import {
|
|
476
476
|
editorArgs,
|
|
477
477
|
openUrl
|
|
478
|
-
} from "./chunk-
|
|
478
|
+
} from "./chunk-SWAFQ343.js";
|
|
479
479
|
import {
|
|
480
480
|
enrollProblem,
|
|
481
481
|
groupProblem,
|
|
@@ -519,6 +519,7 @@ import {
|
|
|
519
519
|
hostName,
|
|
520
520
|
isRestoring,
|
|
521
521
|
lastConversationWriteMs,
|
|
522
|
+
listIssues,
|
|
522
523
|
listScopes,
|
|
523
524
|
loadHistory,
|
|
524
525
|
loadManifest,
|
|
@@ -530,6 +531,7 @@ import {
|
|
|
530
531
|
notifyKindForTransition,
|
|
531
532
|
onArchived,
|
|
532
533
|
onArchivingChange,
|
|
534
|
+
placeBySource,
|
|
533
535
|
prStageOf,
|
|
534
536
|
promptsSince,
|
|
535
537
|
readArchive,
|
|
@@ -573,7 +575,7 @@ import {
|
|
|
573
575
|
updateCheckpoint,
|
|
574
576
|
whileRestoring,
|
|
575
577
|
writeArchiveRecord
|
|
576
|
-
} from "./chunk-
|
|
578
|
+
} from "./chunk-UN33JXAD.js";
|
|
577
579
|
import {
|
|
578
580
|
dayKey
|
|
579
581
|
} from "./chunk-NEJVK5CF.js";
|
|
@@ -610,11 +612,11 @@ import {
|
|
|
610
612
|
refShaFromFiles,
|
|
611
613
|
swallow,
|
|
612
614
|
workingBranch
|
|
613
|
-
} from "./chunk-
|
|
614
|
-
import "./chunk-
|
|
615
|
+
} from "./chunk-H3WBTKPB.js";
|
|
616
|
+
import "./chunk-4HNMJIUZ.js";
|
|
615
617
|
import {
|
|
616
618
|
VERSION
|
|
617
|
-
} from "./chunk-
|
|
619
|
+
} from "./chunk-3OMFMSZ4.js";
|
|
618
620
|
import {
|
|
619
621
|
resolveProjectTarget
|
|
620
622
|
} from "./chunk-IPHADNF5.js";
|
|
@@ -630,7 +632,7 @@ import {
|
|
|
630
632
|
import {
|
|
631
633
|
DEFAULT_ACCOUNT_NAME,
|
|
632
634
|
accountNameProblem
|
|
633
|
-
} from "./chunk-
|
|
635
|
+
} from "./chunk-2L2TNYQA.js";
|
|
634
636
|
import {
|
|
635
637
|
DEFAULT_ACCOUNT,
|
|
636
638
|
DEFAULT_PROMPTS,
|
|
@@ -638,7 +640,7 @@ import {
|
|
|
638
640
|
getConfigPath,
|
|
639
641
|
isWorkday,
|
|
640
642
|
loadConfig
|
|
641
|
-
} from "./chunk-
|
|
643
|
+
} from "./chunk-IKGSTBTG.js";
|
|
642
644
|
import "./chunk-REPFZIPP.js";
|
|
643
645
|
import {
|
|
644
646
|
bootTime,
|
|
@@ -1046,7 +1048,7 @@ function mountCatchUpRoutes(app, opts = {}) {
|
|
|
1046
1048
|
const s = findSession2(id);
|
|
1047
1049
|
if (!s) return c.json({ error: "unknown session" }, 404);
|
|
1048
1050
|
const logged = Object.fromEntries(Object.entries(loggedDays(id)).map(([day, l]) => [day, l.seconds]));
|
|
1049
|
-
return c.json({ configured: !!worklogSettings(loadConfig()), issueKey: s.
|
|
1051
|
+
return c.json({ configured: !!worklogSettings(loadConfig()), issueKey: s.issueKey ?? null, logged });
|
|
1050
1052
|
});
|
|
1051
1053
|
app.post("/api/sessions/:id/worklog", async (c) => {
|
|
1052
1054
|
const id = c.req.param("id");
|
|
@@ -1055,12 +1057,12 @@ function mountCatchUpRoutes(app, opts = {}) {
|
|
|
1055
1057
|
const settings = worklogSettings(loadConfig());
|
|
1056
1058
|
if (!settings)
|
|
1057
1059
|
return c.json({ error: "Jira worklogs are not set up (config jiraWorklog: site, email, and an API token in JIRA_API_TOKEN)." }, 409);
|
|
1058
|
-
if (!s.
|
|
1060
|
+
if (!s.issueKey) return c.json({ error: "this session has no Jira issue" }, 409);
|
|
1059
1061
|
const body = await c.req.json().catch(() => ({}));
|
|
1060
1062
|
const time = await sessionWorkTime(s);
|
|
1061
1063
|
const day = typeof body.day === "string" ? time.byDay.find((d) => d.day === body.day) : time.byDay[0];
|
|
1062
1064
|
if (!day) return c.json({ error: "no work that day to log" }, 409);
|
|
1063
|
-
const r = await logWorkDay(id, s.
|
|
1065
|
+
const r = await logWorkDay(id, s.issueKey, day.day, day.ms, opts.postWorklog?.(settings) ?? jiraWorklogPoster(settings));
|
|
1064
1066
|
if (!r.ok) return c.json({ error: r.error }, r.status);
|
|
1065
1067
|
return c.json(r);
|
|
1066
1068
|
});
|
|
@@ -2994,6 +2996,8 @@ var SettingsError = class extends Error {
|
|
|
2994
2996
|
}
|
|
2995
2997
|
};
|
|
2996
2998
|
var SETTING_PATTERNS = {
|
|
2999
|
+
/** A line of `issues.rules` (issue-place.ts's parseIssueRule reads the same shape; a GitHub scope is owner/repo). */
|
|
3000
|
+
issueRule: "^\\s*(?:(?:jira|azure)\\s*:\\s*[^/\\s][^/]*(?:/\\s*\\S.*?)?|github\\s*:\\s*[^/\\s]+/[^/\\s]+)\\s*(?:->|\u2192|=>)\\s*[^\\s(][^(]*?(?:\\s*\\(\\s*(?:[Aa][Uu][Tt][Oo]|[Aa][Ss][Kk])\\s*\\))?\\s*$",
|
|
2997
3001
|
issueKey: "^[A-Z][A-Z0-9]{1,9}-\\d+$",
|
|
2998
3002
|
project: "^[A-Z][A-Z0-9]{1,9}$",
|
|
2999
3003
|
customField: "^customfield_\\d+$",
|
|
@@ -3199,18 +3203,32 @@ var SETTINGS = [
|
|
|
3199
3203
|
kind: { type: "number", min: 1, max: 1e6 },
|
|
3200
3204
|
default: 3e3
|
|
3201
3205
|
},
|
|
3202
|
-
// ----
|
|
3206
|
+
// ---- Issues
|
|
3207
|
+
{
|
|
3208
|
+
path: "issues.rules",
|
|
3209
|
+
section: "Issues",
|
|
3210
|
+
label: "Issues start in",
|
|
3211
|
+
help: 'Which of your projects (a repo or a group) an issue\u2019s work starts in, one rule a line: "jira:PAY -> api" (every issue of the Jira project PAY), "jira:SHOP/checkout -> shop" (issues of SHOP with that component or label; the narrower rule wins), "github:acme/web -> shop" (issues of that GitHub repo). Start on the Issues tab opens with that project filled in. Add "(auto)" after the project \u2014 "jira:PAY -> api (auto)" \u2014 to let the watch start a newly assigned issue of that rule by itself; nothing starts by itself without it. An issue with no (auto) rule is listed with the project it would go in, for you to start.',
|
|
3212
|
+
kind: {
|
|
3213
|
+
type: "list",
|
|
3214
|
+
placeholder: "e.g. jira:PAY -> api",
|
|
3215
|
+
pattern: SETTING_PATTERNS.issueRule,
|
|
3216
|
+
patternError: "isn\u2019t a rule: write source:scope -> project, optionally followed by (auto); the source is one of jira, github, azure"
|
|
3217
|
+
},
|
|
3218
|
+
default: [],
|
|
3219
|
+
when: "the next issue started"
|
|
3220
|
+
},
|
|
3203
3221
|
{
|
|
3204
3222
|
path: "jiraWatch.maxPerDay",
|
|
3205
|
-
section: "
|
|
3223
|
+
section: "Issues",
|
|
3206
3224
|
label: "Most issues the Jira watch starts a day",
|
|
3207
|
-
help: "Newly assigned issues it starts by itself (when it is on, on the
|
|
3225
|
+
help: "Newly assigned issues it starts by itself (when it is on, on the Issues tab).",
|
|
3208
3226
|
kind: { type: "number", min: 0, max: 100 },
|
|
3209
3227
|
default: 5
|
|
3210
3228
|
},
|
|
3211
3229
|
{
|
|
3212
3230
|
path: "jiraWorklog.site",
|
|
3213
|
-
section: "
|
|
3231
|
+
section: "Issues",
|
|
3214
3232
|
label: "Jira site for worklogs",
|
|
3215
3233
|
help: "Where \u2192 PAY-12 writes a worklog, e.g. yourcompany.atlassian.net.",
|
|
3216
3234
|
kind: { type: "text", placeholder: "yourcompany.atlassian.net" },
|
|
@@ -3218,7 +3236,7 @@ var SETTINGS = [
|
|
|
3218
3236
|
},
|
|
3219
3237
|
{
|
|
3220
3238
|
path: "jiraWorklog.email",
|
|
3221
|
-
section: "
|
|
3239
|
+
section: "Issues",
|
|
3222
3240
|
label: "Your Jira email",
|
|
3223
3241
|
help: "Who the worklog is written as.",
|
|
3224
3242
|
kind: { type: "text" },
|
|
@@ -3226,7 +3244,7 @@ var SETTINGS = [
|
|
|
3226
3244
|
},
|
|
3227
3245
|
{
|
|
3228
3246
|
path: "jiraWorklog.tokenEnv",
|
|
3229
|
-
section: "
|
|
3247
|
+
section: "Issues",
|
|
3230
3248
|
label: "Environment variable with the API token",
|
|
3231
3249
|
help: "The token itself is never stored here.",
|
|
3232
3250
|
kind: { type: "text", placeholder: "JIRA_API_TOKEN" },
|
|
@@ -3734,14 +3752,10 @@ function mountBlockRoutes(app, opts) {
|
|
|
3734
3752
|
});
|
|
3735
3753
|
}
|
|
3736
3754
|
|
|
3737
|
-
// src/server/routes/jira-watch-routes.ts
|
|
3738
|
-
import fs8 from "fs";
|
|
3739
|
-
import path9 from "path";
|
|
3740
|
-
|
|
3741
3755
|
// src/core/jira/jira-prompt.ts
|
|
3742
3756
|
var branchFor = (issue) => `feat/${issue.key}`;
|
|
3743
3757
|
function sessionIsForIssue(s, issue) {
|
|
3744
|
-
return s.
|
|
3758
|
+
return s.issueKey === issue.key || s.branch === branchFor(issue);
|
|
3745
3759
|
}
|
|
3746
3760
|
function jiraPrompt(issue, opts = {}) {
|
|
3747
3761
|
const lines = [
|
|
@@ -3759,6 +3773,58 @@ function jiraPrompt(issue, opts = {}) {
|
|
|
3759
3773
|
return lines.join("\n");
|
|
3760
3774
|
}
|
|
3761
3775
|
|
|
3776
|
+
// src/core/issues/jira-source.ts
|
|
3777
|
+
var JIRA_KEY = /^[A-Z][A-Z0-9_]*-\d+$/;
|
|
3778
|
+
function jiraAsIssue(issue) {
|
|
3779
|
+
return {
|
|
3780
|
+
source: "jira",
|
|
3781
|
+
key: issue.key,
|
|
3782
|
+
summary: issue.summary,
|
|
3783
|
+
status: issue.status,
|
|
3784
|
+
...issue.statusCategory ? { statusCategory: issue.statusCategory } : {},
|
|
3785
|
+
issuetype: issue.issuetype,
|
|
3786
|
+
priority: issue.priority,
|
|
3787
|
+
url: issue.url
|
|
3788
|
+
};
|
|
3789
|
+
}
|
|
3790
|
+
function jiraSource(deps = {}) {
|
|
3791
|
+
const pane = deps.pane ?? fetchJiraPane;
|
|
3792
|
+
const all = deps.all ?? fetchMyIssuesOrThrow;
|
|
3793
|
+
const detail = deps.detail ?? fetchIssueDetail;
|
|
3794
|
+
return {
|
|
3795
|
+
id: "jira",
|
|
3796
|
+
name: "Jira",
|
|
3797
|
+
async mine() {
|
|
3798
|
+
const r = await pane();
|
|
3799
|
+
return { available: r.available, issues: r.issues.map(jiraAsIssue) };
|
|
3800
|
+
},
|
|
3801
|
+
async mineOrThrow() {
|
|
3802
|
+
return (await all()).map(jiraAsIssue);
|
|
3803
|
+
},
|
|
3804
|
+
async detail(key) {
|
|
3805
|
+
const d = await detail(key);
|
|
3806
|
+
return d ? { scope: d.project, facets: [...d.components, ...d.labels], description: d.description, created: d.created } : null;
|
|
3807
|
+
},
|
|
3808
|
+
scopeOf: (key) => JIRA_KEY.test(key) ? key.split("-")[0] : null,
|
|
3809
|
+
isKey: (text) => JIRA_KEY.test(text),
|
|
3810
|
+
branchFor: (issue) => branchFor(issue),
|
|
3811
|
+
prompt: (issue, opts) => jiraPrompt(issue, opts)
|
|
3812
|
+
};
|
|
3813
|
+
}
|
|
3814
|
+
function issueSources() {
|
|
3815
|
+
return [jiraSource()];
|
|
3816
|
+
}
|
|
3817
|
+
|
|
3818
|
+
// src/core/issues/jira-placed.ts
|
|
3819
|
+
var asDetail = (d) => d ? { scope: d.project, facets: [...d.components, ...d.labels] } : d;
|
|
3820
|
+
function placeJira(issue, detail, cfg) {
|
|
3821
|
+
return placeBySource(jiraSource(), issue.key, asDetail(detail), cfg);
|
|
3822
|
+
}
|
|
3823
|
+
|
|
3824
|
+
// src/server/routes/jira-watch-routes.ts
|
|
3825
|
+
import fs8 from "fs";
|
|
3826
|
+
import path9 from "path";
|
|
3827
|
+
|
|
3762
3828
|
// src/core/jira/jira-watch.ts
|
|
3763
3829
|
var START_PER_SWEEP = 2;
|
|
3764
3830
|
var DEFAULT_MAX_PER_DAY = 5;
|
|
@@ -3834,7 +3900,7 @@ function adoptListChange(issues, now = /* @__PURE__ */ new Date()) {
|
|
|
3834
3900
|
function projectHistory(sessions) {
|
|
3835
3901
|
const out = /* @__PURE__ */ new Map();
|
|
3836
3902
|
for (const s of sessions) {
|
|
3837
|
-
const key = s.
|
|
3903
|
+
const key = s.issueKey ?? /\b([A-Za-z][A-Za-z0-9]+)-\d+\b/.exec(s.branch)?.[0];
|
|
3838
3904
|
const project = key ? key.split("-")[0].toUpperCase() : null;
|
|
3839
3905
|
if (!project) continue;
|
|
3840
3906
|
const m = out.get(project) ?? /* @__PURE__ */ new Map();
|
|
@@ -3917,7 +3983,10 @@ async function sweepJira(deps) {
|
|
|
3917
3983
|
continue;
|
|
3918
3984
|
}
|
|
3919
3985
|
const detail = await deps.detail(issue.key);
|
|
3920
|
-
const
|
|
3986
|
+
const placed = deps.place?.(issue, detail) ?? null;
|
|
3987
|
+
const guess = placed ? null : parseChoice(await deps.ask(choicePrompt(issue, detail, targets, history)), targets);
|
|
3988
|
+
const choice = placed ? { target: placed.target, confident: placed.target !== null && placed.auto, reason: placed.reason } : { target: guess.target, confident: false, reason: guess.reason };
|
|
3989
|
+
const why = placed ? placed.target === null ? "your rules don\u2019t settle where it belongs" : "its rule doesn\u2019t say (auto)" : "no rule of yours is about it";
|
|
3921
3990
|
if (!choice.confident || !choice.target) {
|
|
3922
3991
|
saveDecision({
|
|
3923
3992
|
...base,
|
|
@@ -3927,7 +3996,7 @@ async function sweepJira(deps) {
|
|
|
3927
3996
|
reason: choice.reason
|
|
3928
3997
|
});
|
|
3929
3998
|
deps.note?.(
|
|
3930
|
-
`${issue.key}: not
|
|
3999
|
+
`${issue.key}: not started by itself (${why})${choice.target ? `; it would go in ${choice.target}` : ""} \u2014 start it from the Issues tab. ${choice.reason}`,
|
|
3931
4000
|
"info"
|
|
3932
4001
|
);
|
|
3933
4002
|
out.suggested++;
|
|
@@ -3993,7 +4062,7 @@ function mountJiraWatchRoutes(app, opts) {
|
|
|
3993
4062
|
const config = loadConfig();
|
|
3994
4063
|
if (!config) throw new Error("no work config");
|
|
3995
4064
|
const made = await (opts.create ?? createInProcess)(
|
|
3996
|
-
{ target, branch,
|
|
4065
|
+
{ target, branch, issueKey: issue.key, name: `${issue.key} ${issue.summary}`.slice(0, 120) },
|
|
3997
4066
|
config
|
|
3998
4067
|
);
|
|
3999
4068
|
if (!made.ok) throw new Error(made.error || `could not create ${branch} in ${target}`);
|
|
@@ -4017,6 +4086,7 @@ function mountJiraWatchRoutes(app, opts) {
|
|
|
4017
4086
|
detail: fetchIssueDetail,
|
|
4018
4087
|
targets: () => watchTargets(),
|
|
4019
4088
|
sessions: () => loadHistory(),
|
|
4089
|
+
place: (issue, detail) => placeJira(issue, detail, loadConfig()),
|
|
4020
4090
|
ask: (prompt) => runInternal(prompt, 9e4),
|
|
4021
4091
|
start: (target, branch, issue) => start(target, branch, issue, true),
|
|
4022
4092
|
note: (text, level, sessionId) => run2?.note(text, { level, ...sessionId ? { sessionId } : {} }),
|
|
@@ -4049,7 +4119,8 @@ function mountJiraWatchRoutes(app, opts) {
|
|
|
4049
4119
|
nextRunAt = new Date(Date.now() + EVERY_MS).toISOString();
|
|
4050
4120
|
schedule?.next(Date.now() + EVERY_MS);
|
|
4051
4121
|
}
|
|
4052
|
-
|
|
4122
|
+
const at = (tail = "") => [`/api/issues/watch${tail}`, `/api/jira/watch${tail}`];
|
|
4123
|
+
app.on("GET", [...at()], (c) => {
|
|
4053
4124
|
const body = {
|
|
4054
4125
|
settings: readSettings2(),
|
|
4055
4126
|
decisions: listDecisions().filter((d) => d.action !== "baseline").slice(0, 30),
|
|
@@ -4059,7 +4130,7 @@ function mountJiraWatchRoutes(app, opts) {
|
|
|
4059
4130
|
};
|
|
4060
4131
|
return c.json(body);
|
|
4061
4132
|
});
|
|
4062
|
-
app.
|
|
4133
|
+
app.on("PUT", [...at()], async (c) => {
|
|
4063
4134
|
const body = await c.req.json().catch(() => null);
|
|
4064
4135
|
if (typeof body?.enabled !== "boolean") return c.json({ error: "enabled (true/false) required" }, 400);
|
|
4065
4136
|
let current = [];
|
|
@@ -4077,8 +4148,8 @@ function mountJiraWatchRoutes(app, opts) {
|
|
|
4077
4148
|
opts.broadcast("jira-watch-changed", { ts: Date.now() });
|
|
4078
4149
|
return c.json({ settings });
|
|
4079
4150
|
});
|
|
4080
|
-
app.
|
|
4081
|
-
const key = c.req.param("key");
|
|
4151
|
+
app.on("POST", [...at("/:key/start")], async (c) => {
|
|
4152
|
+
const key = c.req.param("key") ?? "";
|
|
4082
4153
|
const body = await c.req.json().catch(() => null);
|
|
4083
4154
|
const target = typeof body?.target === "string" ? body.target : "";
|
|
4084
4155
|
if (!watchTargets().some((t) => t.name === target)) return c.json({ error: "unknown project" }, 400);
|
|
@@ -4105,8 +4176,8 @@ function mountJiraWatchRoutes(app, opts) {
|
|
|
4105
4176
|
return c.json({ error: err.message }, 500);
|
|
4106
4177
|
}
|
|
4107
4178
|
});
|
|
4108
|
-
app.
|
|
4109
|
-
const d = readDecision(c.req.param("key"));
|
|
4179
|
+
app.on("POST", [...at("/:key/dismiss")], (c) => {
|
|
4180
|
+
const d = readDecision(c.req.param("key") ?? "");
|
|
4110
4181
|
if (!d) return c.json({ error: "no such issue" }, 404);
|
|
4111
4182
|
saveDecision({ ...d, action: "dismissed", at: (/* @__PURE__ */ new Date()).toISOString(), reason: "you said not this one" });
|
|
4112
4183
|
opts.broadcast("jira-watch-changed", { ts: Date.now() });
|
|
@@ -4410,13 +4481,48 @@ function mountPanesRoutes(app, opts) {
|
|
|
4410
4481
|
});
|
|
4411
4482
|
}
|
|
4412
4483
|
});
|
|
4484
|
+
let issuesInFlight = null;
|
|
4485
|
+
app.get("/api/issues", async (c) => {
|
|
4486
|
+
issuesInFlight ??= (async () => {
|
|
4487
|
+
const run2 = opts.activity?.start("jira", "Fetching your issues");
|
|
4488
|
+
try {
|
|
4489
|
+
const r = await listIssues(issueSources(), loadConfig());
|
|
4490
|
+
const down = r.sources.filter((s) => !s.available);
|
|
4491
|
+
if (down.length && down.length === r.sources.length)
|
|
4492
|
+
run2?.fail(`${down.map((s) => s.name).join(", ")}: not available or not signed in`);
|
|
4493
|
+
else
|
|
4494
|
+
run2?.done(
|
|
4495
|
+
`${r.issues.length} issue${r.issues.length === 1 ? "" : "s"}${down.length ? ` \xB7 ${down.map((s) => s.name).join(", ")} not available` : ""}`
|
|
4496
|
+
);
|
|
4497
|
+
return r;
|
|
4498
|
+
} catch (err) {
|
|
4499
|
+
run2?.fail(err.message);
|
|
4500
|
+
throw err;
|
|
4501
|
+
} finally {
|
|
4502
|
+
issuesInFlight = null;
|
|
4503
|
+
}
|
|
4504
|
+
})();
|
|
4505
|
+
try {
|
|
4506
|
+
return c.json(await issuesInFlight);
|
|
4507
|
+
} catch (err) {
|
|
4508
|
+
return c.json({ sources: [], issues: [], error: err.message }, 502);
|
|
4509
|
+
}
|
|
4510
|
+
});
|
|
4413
4511
|
let jiraInFlight = null;
|
|
4414
4512
|
app.get("/api/jira", async (c) => {
|
|
4415
4513
|
if (!jiraInFlight) {
|
|
4416
4514
|
jiraInFlight = (async () => {
|
|
4417
4515
|
const run2 = opts.activity?.start("jira", "Fetching your Jira issues");
|
|
4418
4516
|
try {
|
|
4419
|
-
const
|
|
4517
|
+
const got = await fetchJiraPane();
|
|
4518
|
+
const cfg = loadConfig();
|
|
4519
|
+
const r = {
|
|
4520
|
+
...got,
|
|
4521
|
+
issues: got.issues.map((i) => {
|
|
4522
|
+
const placed = placeJira(i, void 0, cfg);
|
|
4523
|
+
return placed?.target ? { ...i, startsIn: placed.target } : i;
|
|
4524
|
+
})
|
|
4525
|
+
};
|
|
4420
4526
|
if (!r.available) run2?.fail("Jira CLI (acli) not available or not logged in");
|
|
4421
4527
|
else run2?.done(`${r.issues.length} issue${r.issues.length === 1 ? "" : "s"}`);
|
|
4422
4528
|
return r;
|
|
@@ -4510,7 +4616,7 @@ function mountWorktreeRoutes(app, opts) {
|
|
|
4510
4616
|
/** Empty or left out: the repo's own checkout, on the branch it has (`work tree <repo>`). */
|
|
4511
4617
|
branch: z4.string().optional(),
|
|
4512
4618
|
base: z4.string().optional(),
|
|
4513
|
-
|
|
4619
|
+
issueKey: z4.string().optional(),
|
|
4514
4620
|
/** Start Claude with this as its first message. */
|
|
4515
4621
|
prompt: z4.string().max(2e4).optional(),
|
|
4516
4622
|
/** Name the session (its title); the branch stays its identity. */
|
|
@@ -4527,7 +4633,7 @@ function mountWorktreeRoutes(app, opts) {
|
|
|
4527
4633
|
return r.ok ? c.json({ pr: r.pr }) : c.json({ error: r.error }, 400);
|
|
4528
4634
|
});
|
|
4529
4635
|
app.post("/api/worktrees", zValidator5("json", createSchema), async (c) => {
|
|
4530
|
-
const { target, base,
|
|
4636
|
+
const { target, base, issueKey, prompt, name } = c.req.valid("json");
|
|
4531
4637
|
const account = c.req.valid("json").account?.trim() || void 0;
|
|
4532
4638
|
const config = loadConfig();
|
|
4533
4639
|
if (!config) return c.json({ error: "no config" }, 400);
|
|
@@ -4536,7 +4642,7 @@ function mountWorktreeRoutes(app, opts) {
|
|
|
4536
4642
|
return c.json({ error: "a base needs a branch to fork (leave both empty to open the repo as it is)" }, 400);
|
|
4537
4643
|
try {
|
|
4538
4644
|
const made = await create(
|
|
4539
|
-
{ target, branch: wanted || void 0, base: base?.trim() ? toBaseSpec(base.trim()) : void 0,
|
|
4645
|
+
{ target, branch: wanted || void 0, base: base?.trim() ? toBaseSpec(base.trim()) : void 0, issueKey, name, account },
|
|
4540
4646
|
config
|
|
4541
4647
|
);
|
|
4542
4648
|
if (!made.ok) return c.json({ error: made.error }, 400);
|
|
@@ -13023,15 +13129,15 @@ async function startDemoServer(opts) {
|
|
|
13023
13129
|
const worklogs = /* @__PURE__ */ new Map();
|
|
13024
13130
|
app.get("/api/sessions/:id/worklog", (c) => {
|
|
13025
13131
|
const w = scenario.list().find((x) => x.id === c.req.param("id"));
|
|
13026
|
-
return w ? c.json({ configured: true, issueKey: w.
|
|
13132
|
+
return w ? c.json({ configured: true, issueKey: w.issueKey ?? null, logged: worklogs.get(w.id) ?? {} }) : notFound(c);
|
|
13027
13133
|
});
|
|
13028
13134
|
app.post("/api/sessions/:id/worklog", (c) => {
|
|
13029
13135
|
const w = scenario.list().find((x) => x.id === c.req.param("id"));
|
|
13030
13136
|
if (!w) return notFound(c);
|
|
13031
|
-
if (!w.
|
|
13137
|
+
if (!w.issueKey) return c.json({ error: "this session has no Jira issue" }, 409);
|
|
13032
13138
|
const day = dayKey(scenario.clockMs());
|
|
13033
13139
|
worklogs.set(w.id, { ...worklogs.get(w.id) ?? {}, [day]: 3600 });
|
|
13034
|
-
return c.json({ ok: true, logged: 3600, total: 3600, text: `1h logged on ${w.
|
|
13140
|
+
return c.json({ ok: true, logged: 3600, total: 3600, text: `1h logged on ${w.issueKey} for ${day}` });
|
|
13035
13141
|
});
|
|
13036
13142
|
app.get("/api/sessions/:id/timeline", (c) => {
|
|
13037
13143
|
const w = scenario.list().find((x) => x.id === c.req.param("id"));
|
|
@@ -13921,10 +14027,19 @@ async function startDemoServer(opts) {
|
|
|
13921
14027
|
app.get("/api/activity", (c) => c.json(activity.log.snapshot()));
|
|
13922
14028
|
app.get("/api/prs", (c) => c.json({ prs: scenario.prs() }));
|
|
13923
14029
|
app.get("/api/jira", (c) => c.json({ available: true, issues: scenario.jira() }));
|
|
14030
|
+
app.get(
|
|
14031
|
+
"/api/issues",
|
|
14032
|
+
(c) => c.json({
|
|
14033
|
+
sources: [{ id: "jira", name: "Jira", available: true }],
|
|
14034
|
+
issues: scenario.jira().map((i) => ({ source: "jira", ...i }))
|
|
14035
|
+
})
|
|
14036
|
+
);
|
|
13924
14037
|
let jiraWatch = { enabled: false, since: null };
|
|
13925
14038
|
const jiraDecisions = [];
|
|
13926
|
-
|
|
13927
|
-
|
|
14039
|
+
const watchAt = (tail = "") => [`/api/issues/watch${tail}`, `/api/jira/watch${tail}`];
|
|
14040
|
+
app.on(
|
|
14041
|
+
"GET",
|
|
14042
|
+
watchAt(),
|
|
13928
14043
|
(c) => c.json({
|
|
13929
14044
|
settings: jiraWatch,
|
|
13930
14045
|
decisions: jiraDecisions,
|
|
@@ -13933,14 +14048,14 @@ async function startDemoServer(opts) {
|
|
|
13933
14048
|
nextRunAt: null
|
|
13934
14049
|
})
|
|
13935
14050
|
);
|
|
13936
|
-
app.
|
|
14051
|
+
app.on("PUT", watchAt(), async (c) => {
|
|
13937
14052
|
const body = await json2(c);
|
|
13938
14053
|
if (typeof body.enabled !== "boolean") return c.json({ error: "enabled (true/false) required" }, 400);
|
|
13939
14054
|
jiraWatch = { enabled: body.enabled, since: body.enabled ? (/* @__PURE__ */ new Date()).toISOString() : null };
|
|
13940
14055
|
return c.json({ settings: jiraWatch });
|
|
13941
14056
|
});
|
|
13942
|
-
app.
|
|
13943
|
-
app.
|
|
14057
|
+
app.on("POST", watchAt("/:key/start"), (c) => c.json({ error: "the demo starts nothing" }, 400));
|
|
14058
|
+
app.on("POST", watchAt("/:key/dismiss"), (c) => {
|
|
13944
14059
|
const d = jiraDecisions.find((x) => x.key === c.req.param("key"));
|
|
13945
14060
|
if (!d) return c.json({ error: "no such issue" }, 404);
|
|
13946
14061
|
d.action = "dismissed";
|
|
@@ -14418,4 +14533,4 @@ export {
|
|
|
14418
14533
|
stopExisting,
|
|
14419
14534
|
webCommand
|
|
14420
14535
|
};
|
|
14421
|
-
//# sourceMappingURL=web-
|
|
14536
|
+
//# sourceMappingURL=web-PHQBICO5.js.map
|