@moberg_hr/work-tree 2.16.0 → 2.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-MYGAXTF6.js → account-PA3RHK4E.js} +17 -17
- package/dist/{add-repo-7PLONSB6.js → add-repo-QI7XUFKB.js} +11 -11
- package/dist/{answer-H3D6OLHJ.js → answer-EAVRRXCR.js} +8 -8
- package/dist/{attach-Z2HEZVZW.js → attach-T7YF5P37.js} +15 -15
- package/dist/bin.js +3 -3
- package/dist/{block-BWRLOTSM.js → block-N63GSISZ.js} +10 -10
- package/dist/{broadcast-RY6NAYGN.js → broadcast-OD4WMWM2.js} +6 -6
- package/dist/{catchup-K5ICNWDH.js → catchup-OSTBIVR3.js} +11 -11
- package/dist/{chunk-I5YQ7AC5.js → chunk-24FC64HP.js} +3 -3
- package/dist/{chunk-QTUYNY3F.js → chunk-2H3WHT32.js} +2 -2
- package/dist/{chunk-XHVRFFOY.js → chunk-2PRMDZBI.js} +4 -4
- package/dist/{chunk-EQJZ2GXX.js → chunk-34WI4R2U.js} +3 -3
- package/dist/{chunk-SRGOCF73.js → chunk-3A3HSUBD.js} +2 -2
- package/dist/{chunk-EX6ELNTN.js → chunk-3L67MINA.js} +3 -3
- package/dist/{chunk-NIAXRF5E.js → chunk-4KL62W3H.js} +2 -2
- package/dist/{chunk-WPHTWUNV.js → chunk-4MBK25I7.js} +10 -10
- package/dist/{chunk-3L5VDONX.js → chunk-4TTIEI7I.js} +2 -2
- package/dist/{chunk-42WCSVBK.js → chunk-56D4WJ2S.js} +2 -2
- package/dist/{chunk-XIOGNTUA.js → chunk-63HMFHNG.js} +2 -2
- package/dist/{chunk-2L2TNYQA.js → chunk-7334DEPX.js} +2 -2
- package/dist/{chunk-P5633SI2.js → chunk-7FYYBKJ3.js} +7 -7
- package/dist/{chunk-ZAAWSVTU.js → chunk-7WOSK73E.js} +6 -6
- package/dist/{chunk-CJQPKHDO.js → chunk-A4KVQ6ZI.js} +4 -4
- package/dist/{chunk-VHYFFFZU.js → chunk-A5OQHOEV.js} +2 -2
- package/dist/chunk-ATBSACIU.js +71 -0
- package/dist/chunk-ATBSACIU.js.map +1 -0
- package/dist/{chunk-SSXKC635.js → chunk-CI2M7BKU.js} +3 -3
- package/dist/{chunk-C5F36EGT.js → chunk-DHF2USLL.js} +4 -4
- package/dist/{chunk-XHUKX3HO.js → chunk-DOESL4MD.js} +3 -3
- package/dist/chunk-E22Y75WX.js +9 -0
- package/dist/{chunk-YLB2QGAR.js → chunk-FXJOUAWP.js} +4 -4
- package/dist/{chunk-LMSKMRNU.js → chunk-GEMTSSVY.js} +4 -4
- package/dist/{chunk-LMD2J2JN.js → chunk-HN4BEMHV.js} +3 -3
- package/dist/{chunk-N5P2OY5O.js → chunk-I3RYSDAH.js} +2 -2
- package/dist/{chunk-WMIQOBHU.js → chunk-IWMODEU4.js} +4 -4
- package/dist/{chunk-O2IARWVM.js → chunk-IYXZFXO5.js} +2 -2
- package/dist/{chunk-4HNMJIUZ.js → chunk-JHCR7H4Y.js} +2 -2
- package/dist/{chunk-45QJQIWF.js → chunk-JVN3AHWH.js} +7 -7
- package/dist/{chunk-473UMEVN.js → chunk-KC3A7ZKN.js} +57 -57
- package/dist/{chunk-TLXZUE4T.js → chunk-KNGK73TF.js} +3 -3
- package/dist/{chunk-ZXDRQ2MV.js → chunk-LD5EGGW6.js} +6 -6
- package/dist/{chunk-UAXKMJYA.js → chunk-MQXGUZAX.js} +6 -6
- package/dist/{chunk-ZWBXRP2V.js → chunk-MSBPZVVJ.js} +6 -6
- package/dist/{chunk-IKGSTBTG.js → chunk-MWIPHUAE.js} +120 -1
- package/dist/chunk-MWIPHUAE.js.map +1 -0
- package/dist/{chunk-SMARTMBW.js → chunk-NFST7BLF.js} +4 -4
- package/dist/{chunk-QUL26RYB.js → chunk-NKHTQHYM.js} +10 -10
- package/dist/{chunk-PJPYRXKJ.js → chunk-O3YVUM4P.js} +6 -6
- package/dist/{chunk-2H3H23W5.js → chunk-O6GOH6QL.js} +2 -2
- package/dist/{chunk-H3WBTKPB.js → chunk-OHMLCXRW.js} +6 -6
- package/dist/{chunk-LBPYBBXX.js → chunk-OX4QHT4Y.js} +2 -2
- package/dist/{chunk-HT52LVYU.js → chunk-P5XCHHR6.js} +3 -3
- package/dist/{chunk-GT3KUREW.js → chunk-QWU67XGR.js} +5 -5
- package/dist/{chunk-SWAFQ343.js → chunk-S6V3G3J5.js} +3 -3
- package/dist/{chunk-VH6EUWX7.js → chunk-SPCANSN2.js} +5 -5
- package/dist/{chunk-63NT2NZD.js → chunk-UBGZM3TD.js} +6 -6
- package/dist/{chunk-HWMQV4YD.js → chunk-UC7LKU2U.js} +4 -4
- package/dist/{chunk-2CVBAJH7.js → chunk-UKEI5DJS.js} +2 -2
- package/dist/{chunk-RJAGFLAP.js → chunk-UR2NJS4C.js} +2 -2
- package/dist/{chunk-EVZUJLZH.js → chunk-VCWQ4VED.js} +6 -6
- package/dist/{chunk-3JANKWY2.js → chunk-WK5ZIO6B.js} +2 -2
- package/dist/{chunk-4YO2PDUC.js → chunk-XGE3OPXP.js} +3 -3
- package/dist/{chunk-OA3TYOAY.js → chunk-XGRMJHE6.js} +3 -3
- package/dist/{chunk-WLU7EWPD.js → chunk-XNLJDPSH.js} +8 -8
- package/dist/{chunk-UN33JXAD.js → chunk-ZCFKFAOT.js} +3 -3
- package/dist/chunk-ZCFKFAOT.js.map +1 -0
- package/dist/{chunk-Z3HC36JK.js → chunk-ZFFWFVER.js} +2 -2
- package/dist/{chunk-MH4D37RT.js → chunk-ZQY52HIP.js} +2 -2
- package/dist/{cleanup-HXZ4S2IO.js → cleanup-6JAMAF6I.js} +28 -28
- package/dist/{cli-GKHHCDRV.js → cli-K2CH3CIU.js} +4 -4
- package/dist/{color-E73MIJWD.js → color-EHNTMQIE.js} +12 -11
- package/dist/{color-E73MIJWD.js.map → color-EHNTMQIE.js.map} +1 -1
- package/dist/{config-24BNXN5C.js → config-4VEKBBLZ.js} +8 -8
- package/dist/{diff-NAL5334E.js → diff-OOH5HOXG.js} +9 -9
- package/dist/{digest-NU6XNA7D.js → digest-ZNYODJ3A.js} +8 -8
- package/dist/{fork-QVFWYP2Z.js → fork-OFRN64IT.js} +25 -25
- package/dist/{history-W5DQNAY3.js → history-QNEYVVPI.js} +6 -6
- package/dist/{hook-OIAJHLTJ.js → hook-3LE6BWLO.js} +13 -13
- package/dist/{hydrate-VAJO2JGT.js → hydrate-2KSEV4E2.js} +6 -6
- package/dist/{init-2IHQUZ4E.js → init-M664MBPZ.js} +11 -11
- package/dist/{install-skills-RJPZOV37.js → install-skills-LAFRMJ7N.js} +6 -6
- package/dist/install-skills-bin.js +5 -5
- package/dist/{keep-IJDON5AL.js → keep-I4BRQQWG.js} +8 -8
- package/dist/{list-6LPLVUUD.js → list-NUYPCYLY.js} +6 -6
- package/dist/{move-GY5G47JO.js → move-WYMMOZMK.js} +14 -14
- package/dist/{note-6Q3AT7W6.js → note-ZRWRTFJG.js} +8 -8
- package/dist/{overlaps-JQVWZXEB.js → overlaps-YNU6JCTT.js} +12 -12
- package/dist/{pin-MIWOAQ7R.js → pin-36BGIIMW.js} +9 -9
- package/dist/{pr-3F3PJCQN.js → pr-6YPNUHRI.js} +19 -19
- package/dist/{prune-RKQQWEU6.js → prune-LINCOW7H.js} +26 -26
- package/dist/{pty-host-QTWYR5QT.js → pty-host-CE57F776.js} +13 -13
- package/dist/{read-RFLYBHLU.js → read-MX7ZURF3.js} +8 -8
- package/dist/{recent-R24GG3OG.js → recent-FU4Z4AFU.js} +13 -13
- package/dist/{remove-ULIYLBRK.js → remove-BTZAZ6ZA.js} +27 -27
- package/dist/{restart-VKQEQEU3.js → restart-AX3FNSDF.js} +8 -8
- package/dist/{resume-LE3SXWGI.js → resume-LR4ILRBQ.js} +13 -13
- package/dist/{review-QGBSWK2M.js → review-4K2FBZES.js} +7 -7
- package/dist/{review-now-74ISYEFP.js → review-now-LYGJDHDE.js} +2 -2
- package/dist/{run-RXCZSZKP.js → run-65HDAKBN.js} +6 -6
- package/dist/{screen-27WNAGP5.js → screen-NOYYOB5G.js} +8 -8
- package/dist/{search-OSNZYFMI.js → search-YQYEF4DW.js} +6 -6
- package/dist/{section-HIYOC5HZ.js → section-6HLNG5GQ.js} +11 -10
- package/dist/{section-HIYOC5HZ.js.map → section-6HLNG5GQ.js.map} +1 -1
- package/dist/{send-BFS32VDO.js → send-IBCRUS7B.js} +9 -9
- package/dist/{sessions-Q5EVPLLK.js → sessions-IJK4DPMU.js} +23 -23
- package/dist/{show-JYXEQQM2.js → show-CSGVG5BL.js} +7 -7
- package/dist/{snooze-YDBFRJYB.js → snooze-NNQXOPNI.js} +8 -8
- package/dist/{start-KWQLMKAL.js → start-I3CLQ2CJ.js} +8 -8
- package/dist/{state-NXTIYKP5.js → state-24H5QRPO.js} +2 -2
- package/dist/{status-ROO4SRGQ.js → status-XCJGTMB4.js} +10 -10
- package/dist/{statusline-AMFMWPTV.js → statusline-NEVXTHUY.js} +3 -3
- package/dist/{stop-FMBFJUXI.js → stop-JVMDCXB4.js} +8 -8
- package/dist/{sync-2DVHV7FT.js → sync-E2GXLD6K.js} +26 -26
- package/dist/{time-LMBQVMQG.js → time-KBS66SV5.js} +9 -9
- package/dist/{time-actions-4GZLAV4C.js → time-actions-AIKJ7ENX.js} +3 -3
- package/dist/{timesheet-DWWIBU5Y.js → timesheet-XUMTURH5.js} +12 -12
- package/dist/{todo-SECMZCGC.js → todo-GB7X6KWW.js} +2 -2
- package/dist/{tree-NH43RR6O.js → tree-CZUUTSZX.js} +25 -25
- package/dist/{update-THIANISA.js → update-7NU3M4DL.js} +14 -14
- package/dist/{usage-CZZOI34H.js → usage-GCZV3GDA.js} +8 -8
- package/dist/{version-2YUMQ4EN.js → version-U2QIALPO.js} +4 -4
- package/dist/{wait-QBBM7MR5.js → wait-OHES2ZLG.js} +9 -9
- package/dist/wd-bin.js +3 -3
- package/dist/web/assets/{PtyView-CJOk_dgn.js → PtyView-CjtGMoNT.js} +2 -2
- package/dist/web/assets/{PtyView-CJOk_dgn.js.map → PtyView-CjtGMoNT.js.map} +1 -1
- package/dist/web/assets/index-BIugalNC.js +126 -0
- package/dist/web/assets/index-BIugalNC.js.map +1 -0
- package/dist/web/assets/index-CBymxw_N.css +1 -0
- package/dist/web/index.html +2 -2
- package/dist/{web-PHQBICO5.js → web-OQLZHYOM.js} +136 -71
- package/dist/web-OQLZHYOM.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-3OMFMSZ4.js +0 -9
- package/dist/chunk-C6TKUX7I.js +0 -172
- package/dist/chunk-C6TKUX7I.js.map +0 -1
- package/dist/chunk-IKGSTBTG.js.map +0 -1
- package/dist/chunk-UN33JXAD.js.map +0 -1
- package/dist/web/assets/index-1hFrx0fV.js +0 -126
- package/dist/web/assets/index-1hFrx0fV.js.map +0 -1
- package/dist/web/assets/index-DXP8G0eh.css +0 -1
- package/dist/web-PHQBICO5.js.map +0 -1
- /package/dist/{account-MYGAXTF6.js.map → account-PA3RHK4E.js.map} +0 -0
- /package/dist/{add-repo-7PLONSB6.js.map → add-repo-QI7XUFKB.js.map} +0 -0
- /package/dist/{answer-H3D6OLHJ.js.map → answer-EAVRRXCR.js.map} +0 -0
- /package/dist/{attach-Z2HEZVZW.js.map → attach-T7YF5P37.js.map} +0 -0
- /package/dist/{block-BWRLOTSM.js.map → block-N63GSISZ.js.map} +0 -0
- /package/dist/{broadcast-RY6NAYGN.js.map → broadcast-OD4WMWM2.js.map} +0 -0
- /package/dist/{catchup-K5ICNWDH.js.map → catchup-OSTBIVR3.js.map} +0 -0
- /package/dist/{chunk-I5YQ7AC5.js.map → chunk-24FC64HP.js.map} +0 -0
- /package/dist/{chunk-QTUYNY3F.js.map → chunk-2H3WHT32.js.map} +0 -0
- /package/dist/{chunk-XHVRFFOY.js.map → chunk-2PRMDZBI.js.map} +0 -0
- /package/dist/{chunk-EQJZ2GXX.js.map → chunk-34WI4R2U.js.map} +0 -0
- /package/dist/{chunk-SRGOCF73.js.map → chunk-3A3HSUBD.js.map} +0 -0
- /package/dist/{chunk-EX6ELNTN.js.map → chunk-3L67MINA.js.map} +0 -0
- /package/dist/{chunk-NIAXRF5E.js.map → chunk-4KL62W3H.js.map} +0 -0
- /package/dist/{chunk-WPHTWUNV.js.map → chunk-4MBK25I7.js.map} +0 -0
- /package/dist/{chunk-3L5VDONX.js.map → chunk-4TTIEI7I.js.map} +0 -0
- /package/dist/{chunk-42WCSVBK.js.map → chunk-56D4WJ2S.js.map} +0 -0
- /package/dist/{chunk-XIOGNTUA.js.map → chunk-63HMFHNG.js.map} +0 -0
- /package/dist/{chunk-2L2TNYQA.js.map → chunk-7334DEPX.js.map} +0 -0
- /package/dist/{chunk-P5633SI2.js.map → chunk-7FYYBKJ3.js.map} +0 -0
- /package/dist/{chunk-ZAAWSVTU.js.map → chunk-7WOSK73E.js.map} +0 -0
- /package/dist/{chunk-CJQPKHDO.js.map → chunk-A4KVQ6ZI.js.map} +0 -0
- /package/dist/{chunk-VHYFFFZU.js.map → chunk-A5OQHOEV.js.map} +0 -0
- /package/dist/{chunk-SSXKC635.js.map → chunk-CI2M7BKU.js.map} +0 -0
- /package/dist/{chunk-C5F36EGT.js.map → chunk-DHF2USLL.js.map} +0 -0
- /package/dist/{chunk-XHUKX3HO.js.map → chunk-DOESL4MD.js.map} +0 -0
- /package/dist/{chunk-3OMFMSZ4.js.map → chunk-E22Y75WX.js.map} +0 -0
- /package/dist/{chunk-YLB2QGAR.js.map → chunk-FXJOUAWP.js.map} +0 -0
- /package/dist/{chunk-LMSKMRNU.js.map → chunk-GEMTSSVY.js.map} +0 -0
- /package/dist/{chunk-LMD2J2JN.js.map → chunk-HN4BEMHV.js.map} +0 -0
- /package/dist/{chunk-N5P2OY5O.js.map → chunk-I3RYSDAH.js.map} +0 -0
- /package/dist/{chunk-WMIQOBHU.js.map → chunk-IWMODEU4.js.map} +0 -0
- /package/dist/{chunk-O2IARWVM.js.map → chunk-IYXZFXO5.js.map} +0 -0
- /package/dist/{chunk-4HNMJIUZ.js.map → chunk-JHCR7H4Y.js.map} +0 -0
- /package/dist/{chunk-45QJQIWF.js.map → chunk-JVN3AHWH.js.map} +0 -0
- /package/dist/{chunk-473UMEVN.js.map → chunk-KC3A7ZKN.js.map} +0 -0
- /package/dist/{chunk-TLXZUE4T.js.map → chunk-KNGK73TF.js.map} +0 -0
- /package/dist/{chunk-ZXDRQ2MV.js.map → chunk-LD5EGGW6.js.map} +0 -0
- /package/dist/{chunk-UAXKMJYA.js.map → chunk-MQXGUZAX.js.map} +0 -0
- /package/dist/{chunk-ZWBXRP2V.js.map → chunk-MSBPZVVJ.js.map} +0 -0
- /package/dist/{chunk-SMARTMBW.js.map → chunk-NFST7BLF.js.map} +0 -0
- /package/dist/{chunk-QUL26RYB.js.map → chunk-NKHTQHYM.js.map} +0 -0
- /package/dist/{chunk-PJPYRXKJ.js.map → chunk-O3YVUM4P.js.map} +0 -0
- /package/dist/{chunk-2H3H23W5.js.map → chunk-O6GOH6QL.js.map} +0 -0
- /package/dist/{chunk-H3WBTKPB.js.map → chunk-OHMLCXRW.js.map} +0 -0
- /package/dist/{chunk-LBPYBBXX.js.map → chunk-OX4QHT4Y.js.map} +0 -0
- /package/dist/{chunk-HT52LVYU.js.map → chunk-P5XCHHR6.js.map} +0 -0
- /package/dist/{chunk-GT3KUREW.js.map → chunk-QWU67XGR.js.map} +0 -0
- /package/dist/{chunk-SWAFQ343.js.map → chunk-S6V3G3J5.js.map} +0 -0
- /package/dist/{chunk-VH6EUWX7.js.map → chunk-SPCANSN2.js.map} +0 -0
- /package/dist/{chunk-63NT2NZD.js.map → chunk-UBGZM3TD.js.map} +0 -0
- /package/dist/{chunk-HWMQV4YD.js.map → chunk-UC7LKU2U.js.map} +0 -0
- /package/dist/{chunk-2CVBAJH7.js.map → chunk-UKEI5DJS.js.map} +0 -0
- /package/dist/{chunk-RJAGFLAP.js.map → chunk-UR2NJS4C.js.map} +0 -0
- /package/dist/{chunk-EVZUJLZH.js.map → chunk-VCWQ4VED.js.map} +0 -0
- /package/dist/{chunk-3JANKWY2.js.map → chunk-WK5ZIO6B.js.map} +0 -0
- /package/dist/{chunk-4YO2PDUC.js.map → chunk-XGE3OPXP.js.map} +0 -0
- /package/dist/{chunk-OA3TYOAY.js.map → chunk-XGRMJHE6.js.map} +0 -0
- /package/dist/{chunk-WLU7EWPD.js.map → chunk-XNLJDPSH.js.map} +0 -0
- /package/dist/{chunk-Z3HC36JK.js.map → chunk-ZFFWFVER.js.map} +0 -0
- /package/dist/{chunk-MH4D37RT.js.map → chunk-ZQY52HIP.js.map} +0 -0
- /package/dist/{cleanup-HXZ4S2IO.js.map → cleanup-6JAMAF6I.js.map} +0 -0
- /package/dist/{cli-GKHHCDRV.js.map → cli-K2CH3CIU.js.map} +0 -0
- /package/dist/{config-24BNXN5C.js.map → config-4VEKBBLZ.js.map} +0 -0
- /package/dist/{diff-NAL5334E.js.map → diff-OOH5HOXG.js.map} +0 -0
- /package/dist/{digest-NU6XNA7D.js.map → digest-ZNYODJ3A.js.map} +0 -0
- /package/dist/{fork-QVFWYP2Z.js.map → fork-OFRN64IT.js.map} +0 -0
- /package/dist/{history-W5DQNAY3.js.map → history-QNEYVVPI.js.map} +0 -0
- /package/dist/{hook-OIAJHLTJ.js.map → hook-3LE6BWLO.js.map} +0 -0
- /package/dist/{hydrate-VAJO2JGT.js.map → hydrate-2KSEV4E2.js.map} +0 -0
- /package/dist/{init-2IHQUZ4E.js.map → init-M664MBPZ.js.map} +0 -0
- /package/dist/{install-skills-RJPZOV37.js.map → install-skills-LAFRMJ7N.js.map} +0 -0
- /package/dist/{keep-IJDON5AL.js.map → keep-I4BRQQWG.js.map} +0 -0
- /package/dist/{list-6LPLVUUD.js.map → list-NUYPCYLY.js.map} +0 -0
- /package/dist/{move-GY5G47JO.js.map → move-WYMMOZMK.js.map} +0 -0
- /package/dist/{note-6Q3AT7W6.js.map → note-ZRWRTFJG.js.map} +0 -0
- /package/dist/{overlaps-JQVWZXEB.js.map → overlaps-YNU6JCTT.js.map} +0 -0
- /package/dist/{pin-MIWOAQ7R.js.map → pin-36BGIIMW.js.map} +0 -0
- /package/dist/{pr-3F3PJCQN.js.map → pr-6YPNUHRI.js.map} +0 -0
- /package/dist/{prune-RKQQWEU6.js.map → prune-LINCOW7H.js.map} +0 -0
- /package/dist/{pty-host-QTWYR5QT.js.map → pty-host-CE57F776.js.map} +0 -0
- /package/dist/{read-RFLYBHLU.js.map → read-MX7ZURF3.js.map} +0 -0
- /package/dist/{recent-R24GG3OG.js.map → recent-FU4Z4AFU.js.map} +0 -0
- /package/dist/{remove-ULIYLBRK.js.map → remove-BTZAZ6ZA.js.map} +0 -0
- /package/dist/{restart-VKQEQEU3.js.map → restart-AX3FNSDF.js.map} +0 -0
- /package/dist/{resume-LE3SXWGI.js.map → resume-LR4ILRBQ.js.map} +0 -0
- /package/dist/{review-QGBSWK2M.js.map → review-4K2FBZES.js.map} +0 -0
- /package/dist/{review-now-74ISYEFP.js.map → review-now-LYGJDHDE.js.map} +0 -0
- /package/dist/{run-RXCZSZKP.js.map → run-65HDAKBN.js.map} +0 -0
- /package/dist/{screen-27WNAGP5.js.map → screen-NOYYOB5G.js.map} +0 -0
- /package/dist/{search-OSNZYFMI.js.map → search-YQYEF4DW.js.map} +0 -0
- /package/dist/{send-BFS32VDO.js.map → send-IBCRUS7B.js.map} +0 -0
- /package/dist/{sessions-Q5EVPLLK.js.map → sessions-IJK4DPMU.js.map} +0 -0
- /package/dist/{show-JYXEQQM2.js.map → show-CSGVG5BL.js.map} +0 -0
- /package/dist/{snooze-YDBFRJYB.js.map → snooze-NNQXOPNI.js.map} +0 -0
- /package/dist/{start-KWQLMKAL.js.map → start-I3CLQ2CJ.js.map} +0 -0
- /package/dist/{state-NXTIYKP5.js.map → state-24H5QRPO.js.map} +0 -0
- /package/dist/{status-ROO4SRGQ.js.map → status-XCJGTMB4.js.map} +0 -0
- /package/dist/{statusline-AMFMWPTV.js.map → statusline-NEVXTHUY.js.map} +0 -0
- /package/dist/{stop-FMBFJUXI.js.map → stop-JVMDCXB4.js.map} +0 -0
- /package/dist/{sync-2DVHV7FT.js.map → sync-E2GXLD6K.js.map} +0 -0
- /package/dist/{time-LMBQVMQG.js.map → time-KBS66SV5.js.map} +0 -0
- /package/dist/{time-actions-4GZLAV4C.js.map → time-actions-AIKJ7ENX.js.map} +0 -0
- /package/dist/{timesheet-DWWIBU5Y.js.map → timesheet-XUMTURH5.js.map} +0 -0
- /package/dist/{todo-SECMZCGC.js.map → todo-GB7X6KWW.js.map} +0 -0
- /package/dist/{tree-NH43RR6O.js.map → tree-CZUUTSZX.js.map} +0 -0
- /package/dist/{update-THIANISA.js.map → update-7NU3M4DL.js.map} +0 -0
- /package/dist/{usage-CZZOI34H.js.map → usage-GCZV3GDA.js.map} +0 -0
- /package/dist/{version-2YUMQ4EN.js.map → version-U2QIALPO.js.map} +0 -0
- /package/dist/{wait-QBBM7MR5.js.map → wait-OHES2ZLG.js.map} +0 -0
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
serveSpa,
|
|
13
13
|
sessionBaseForPath,
|
|
14
14
|
submitReviewSchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XGE3OPXP.js";
|
|
16
16
|
import {
|
|
17
17
|
ensureAgentPath,
|
|
18
18
|
restartHost
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IWMODEU4.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-JVN3AHWH.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-XNLJDPSH.js";
|
|
62
62
|
import {
|
|
63
63
|
createDigestSource
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-FXJOUAWP.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-7FYYBKJ3.js";
|
|
72
72
|
import {
|
|
73
73
|
defaultCleanupDeps
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-MQXGUZAX.js";
|
|
75
75
|
import {
|
|
76
76
|
DiffStatCache,
|
|
77
77
|
findOverlaps,
|
|
78
78
|
wantsDiffStat
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-ZFFWFVER.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-XGRMJHE6.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-VCWQ4VED.js";
|
|
119
119
|
import {
|
|
120
120
|
buildUsage,
|
|
121
121
|
realUsageDeps,
|
|
122
122
|
setupAgentUsage
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-DHF2USLL.js";
|
|
124
124
|
import {
|
|
125
125
|
sessionWorkTime
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-24FC64HP.js";
|
|
127
127
|
import "./chunk-UVZITL47.js";
|
|
128
128
|
import {
|
|
129
129
|
removeWorktreeInChild
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-ZQY52HIP.js";
|
|
131
131
|
import {
|
|
132
132
|
archiveMergedSession,
|
|
133
133
|
archiveWaiting,
|
|
134
134
|
defaultArchiveDeps
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-4MBK25I7.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-O3YVUM4P.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-CI2M7BKU.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-MSBPZVVJ.js";
|
|
171
171
|
import {
|
|
172
172
|
addRepoRefusal,
|
|
173
173
|
addedRepoNote
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-OX4QHT4Y.js";
|
|
175
175
|
import {
|
|
176
176
|
BehindCache,
|
|
177
177
|
behindMain,
|
|
@@ -187,40 +187,35 @@ import {
|
|
|
187
187
|
stackedOn,
|
|
188
188
|
updateFromBase,
|
|
189
189
|
updateFromMain
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-7WOSK73E.js";
|
|
191
191
|
import {
|
|
192
192
|
sessionStatusView,
|
|
193
193
|
shownState
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-HN4BEMHV.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-UC7LKU2U.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-QWU67XGR.js";
|
|
209
209
|
import {
|
|
210
210
|
computeDiff,
|
|
211
211
|
computeRangeDiff,
|
|
212
212
|
parseGitDiff
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-2H3WHT32.js";
|
|
214
214
|
import {
|
|
215
|
-
PLACE_PATCH_EXPECTED,
|
|
216
|
-
applyPlacePatch,
|
|
217
|
-
applySectionOp,
|
|
218
215
|
changeRailSections,
|
|
219
|
-
cleanPlacePatch,
|
|
220
|
-
cleanSectionOp,
|
|
221
216
|
placeSession,
|
|
222
217
|
readRailLayout
|
|
223
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-ATBSACIU.js";
|
|
224
219
|
import {
|
|
225
220
|
QUEUE_RECHECK_MS,
|
|
226
221
|
busyForRestart,
|
|
@@ -254,7 +249,7 @@ import {
|
|
|
254
249
|
tempoSetup,
|
|
255
250
|
timeRange,
|
|
256
251
|
updateDay
|
|
257
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-56D4WJ2S.js";
|
|
258
253
|
import {
|
|
259
254
|
DISCUSSION_OPEN_MIN_MS,
|
|
260
255
|
LEFT_OVER_SUBMIT,
|
|
@@ -319,7 +314,7 @@ import {
|
|
|
319
314
|
checkTools,
|
|
320
315
|
saveFolders,
|
|
321
316
|
setupState
|
|
322
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-2PRMDZBI.js";
|
|
323
318
|
import {
|
|
324
319
|
RepoAdminError,
|
|
325
320
|
deleteGroup,
|
|
@@ -331,7 +326,7 @@ import {
|
|
|
331
326
|
setRepoIgnored,
|
|
332
327
|
setReviewMode,
|
|
333
328
|
setScanRoot
|
|
334
|
-
} from "./chunk-
|
|
329
|
+
} from "./chunk-3L67MINA.js";
|
|
335
330
|
import {
|
|
336
331
|
freeLeftovers,
|
|
337
332
|
leftoversOf,
|
|
@@ -340,17 +335,17 @@ import {
|
|
|
340
335
|
parsePrRef,
|
|
341
336
|
resolvePrToStart,
|
|
342
337
|
workOnPrPrompt
|
|
343
|
-
} from "./chunk-
|
|
338
|
+
} from "./chunk-KNGK73TF.js";
|
|
344
339
|
import {
|
|
345
340
|
legacyUnsafeCheck
|
|
346
|
-
} from "./chunk-
|
|
341
|
+
} from "./chunk-UBGZM3TD.js";
|
|
347
342
|
import {
|
|
348
343
|
howToLift
|
|
349
344
|
} from "./chunk-FZHFD2AY.js";
|
|
350
345
|
import {
|
|
351
346
|
agentsBySession,
|
|
352
347
|
summarizeAgents
|
|
353
|
-
} from "./chunk-
|
|
348
|
+
} from "./chunk-UR2NJS4C.js";
|
|
354
349
|
import {
|
|
355
350
|
commandWords,
|
|
356
351
|
describeProcess,
|
|
@@ -367,7 +362,7 @@ import {
|
|
|
367
362
|
keyedQueue,
|
|
368
363
|
oneAtATime,
|
|
369
364
|
runWorkChild
|
|
370
|
-
} from "./chunk-
|
|
365
|
+
} from "./chunk-GEMTSSVY.js";
|
|
371
366
|
import {
|
|
372
367
|
configurePtyPool,
|
|
373
368
|
detachPtyPool,
|
|
@@ -392,21 +387,21 @@ import {
|
|
|
392
387
|
syncPtyPool,
|
|
393
388
|
terminalTicketUrl,
|
|
394
389
|
writeToPty
|
|
395
|
-
} from "./chunk-
|
|
396
|
-
import "./chunk-
|
|
390
|
+
} from "./chunk-NKHTQHYM.js";
|
|
391
|
+
import "./chunk-4TTIEI7I.js";
|
|
397
392
|
import {
|
|
398
393
|
disposeAllWatchers,
|
|
399
394
|
disposeSessionWatcher,
|
|
400
395
|
findSession as findSession2,
|
|
401
396
|
subscribeSession
|
|
402
|
-
} from "./chunk-
|
|
403
|
-
import "./chunk-
|
|
404
|
-
import "./chunk-
|
|
397
|
+
} from "./chunk-O6GOH6QL.js";
|
|
398
|
+
import "./chunk-UKEI5DJS.js";
|
|
399
|
+
import "./chunk-63HMFHNG.js";
|
|
405
400
|
import {
|
|
406
401
|
teardownWorktree,
|
|
407
402
|
toBaseSpec,
|
|
408
403
|
wouldRefuseRemoval
|
|
409
|
-
} from "./chunk-
|
|
404
|
+
} from "./chunk-SPCANSN2.js";
|
|
410
405
|
import "./chunk-PZ7WTBSI.js";
|
|
411
406
|
import {
|
|
412
407
|
isWorktreeFolder
|
|
@@ -420,15 +415,15 @@ import {
|
|
|
420
415
|
assistantDir,
|
|
421
416
|
describeView,
|
|
422
417
|
writeAssistantContext
|
|
423
|
-
} from "./chunk-
|
|
418
|
+
} from "./chunk-IYXZFXO5.js";
|
|
424
419
|
import "./chunk-7E5XPDKX.js";
|
|
425
|
-
import "./chunk-
|
|
420
|
+
import "./chunk-4KL62W3H.js";
|
|
426
421
|
import {
|
|
427
422
|
NOTE_NUDGE,
|
|
428
423
|
findSessionForCwd,
|
|
429
424
|
readPendingForSession,
|
|
430
425
|
readPendingForWorktree
|
|
431
|
-
} from "./chunk-
|
|
426
|
+
} from "./chunk-DOESL4MD.js";
|
|
432
427
|
import "./chunk-ZSHWP2VS.js";
|
|
433
428
|
import {
|
|
434
429
|
getCommentFileStore
|
|
@@ -448,17 +443,17 @@ import {
|
|
|
448
443
|
stageInputOf,
|
|
449
444
|
withRequiredChecks,
|
|
450
445
|
workElsewhere
|
|
451
|
-
} from "./chunk-
|
|
446
|
+
} from "./chunk-LD5EGGW6.js";
|
|
452
447
|
import {
|
|
453
448
|
createSessionBranches
|
|
454
|
-
} from "./chunk-
|
|
449
|
+
} from "./chunk-A4KVQ6ZI.js";
|
|
455
450
|
import {
|
|
456
451
|
defaultHost,
|
|
457
452
|
hostById,
|
|
458
453
|
hostForRepo,
|
|
459
454
|
hostOfPrUrl,
|
|
460
455
|
originHostname
|
|
461
|
-
} from "./chunk-
|
|
456
|
+
} from "./chunk-P5XCHHR6.js";
|
|
462
457
|
import {
|
|
463
458
|
MAX_THREAD_BODY
|
|
464
459
|
} from "./chunk-FGPXMAYU.js";
|
|
@@ -471,11 +466,11 @@ import {
|
|
|
471
466
|
readSessionBranches,
|
|
472
467
|
repoNameOf,
|
|
473
468
|
wasPushed
|
|
474
|
-
} from "./chunk-
|
|
469
|
+
} from "./chunk-3A3HSUBD.js";
|
|
475
470
|
import {
|
|
476
471
|
editorArgs,
|
|
477
472
|
openUrl
|
|
478
|
-
} from "./chunk-
|
|
473
|
+
} from "./chunk-S6V3G3J5.js";
|
|
479
474
|
import {
|
|
480
475
|
enrollProblem,
|
|
481
476
|
groupProblem,
|
|
@@ -575,7 +570,7 @@ import {
|
|
|
575
570
|
updateCheckpoint,
|
|
576
571
|
whileRestoring,
|
|
577
572
|
writeArchiveRecord
|
|
578
|
-
} from "./chunk-
|
|
573
|
+
} from "./chunk-ZCFKFAOT.js";
|
|
579
574
|
import {
|
|
580
575
|
dayKey
|
|
581
576
|
} from "./chunk-NEJVK5CF.js";
|
|
@@ -612,11 +607,11 @@ import {
|
|
|
612
607
|
refShaFromFiles,
|
|
613
608
|
swallow,
|
|
614
609
|
workingBranch
|
|
615
|
-
} from "./chunk-
|
|
616
|
-
import "./chunk-
|
|
610
|
+
} from "./chunk-OHMLCXRW.js";
|
|
611
|
+
import "./chunk-JHCR7H4Y.js";
|
|
617
612
|
import {
|
|
618
613
|
VERSION
|
|
619
|
-
} from "./chunk-
|
|
614
|
+
} from "./chunk-E22Y75WX.js";
|
|
620
615
|
import {
|
|
621
616
|
resolveProjectTarget
|
|
622
617
|
} from "./chunk-IPHADNF5.js";
|
|
@@ -632,15 +627,22 @@ import {
|
|
|
632
627
|
import {
|
|
633
628
|
DEFAULT_ACCOUNT_NAME,
|
|
634
629
|
accountNameProblem
|
|
635
|
-
} from "./chunk-
|
|
630
|
+
} from "./chunk-7334DEPX.js";
|
|
636
631
|
import {
|
|
637
632
|
DEFAULT_ACCOUNT,
|
|
638
633
|
DEFAULT_PROMPTS,
|
|
639
634
|
DEFAULT_TIME_SETTINGS,
|
|
635
|
+
PLACE_PATCH_EXPECTED,
|
|
636
|
+
RAIL_COLORS,
|
|
637
|
+
applyPlacePatch,
|
|
638
|
+
applySectionOp,
|
|
639
|
+
cleanPlacePatch,
|
|
640
|
+
cleanSectionOp,
|
|
640
641
|
getConfigPath,
|
|
642
|
+
isRailColor,
|
|
641
643
|
isWorkday,
|
|
642
644
|
loadConfig
|
|
643
|
-
} from "./chunk-
|
|
645
|
+
} from "./chunk-MWIPHUAE.js";
|
|
644
646
|
import "./chunk-REPFZIPP.js";
|
|
645
647
|
import {
|
|
646
648
|
bootTime,
|
|
@@ -1644,6 +1646,23 @@ function localReviewNote(review, ids) {
|
|
|
1644
1646
|
"For each: say whether you agree, and fix the ones you agree with (with a test where it applies). Leave the ones you disagree with and say why. Then build and run the tests."
|
|
1645
1647
|
].join("\n");
|
|
1646
1648
|
}
|
|
1649
|
+
var MAX_DECISION_CHARS = 4e3;
|
|
1650
|
+
function localRecommendationNote(review, decision) {
|
|
1651
|
+
const rec = review.recommendation;
|
|
1652
|
+
if (!rec) return null;
|
|
1653
|
+
const said = (decision ?? "").trim().slice(0, MAX_DECISION_CHARS);
|
|
1654
|
+
return [
|
|
1655
|
+
`A review of this branch's changes in ${review.repo} ended with the recommendation below ("${VERDICT_LABEL[rec.verdict]}"). It is a reviewer's reading of the diff, between <<< and >>>: weigh it, don't just obey it.`,
|
|
1656
|
+
`<<< ${asData(rec.text, 3e3)} >>>`,
|
|
1657
|
+
...said ? [
|
|
1658
|
+
"My decision on it (my own words \u2014 follow them):",
|
|
1659
|
+
said,
|
|
1660
|
+
"Say back in a line what you understood, then do it (with a test where it applies), build and run the tests. If my decision leaves one of its questions open, ask me before changing anything about that one."
|
|
1661
|
+
] : [
|
|
1662
|
+
"I have not decided yet. For each open question it raises: say what the code does today, whether the concern is real (show the lines), and what the options are with what each would change. Change nothing until I answer."
|
|
1663
|
+
]
|
|
1664
|
+
].join("\n");
|
|
1665
|
+
}
|
|
1647
1666
|
|
|
1648
1667
|
// src/server/routes/session-review-routes.ts
|
|
1649
1668
|
function mountSessionReviewRoutes(app, deps) {
|
|
@@ -1734,6 +1753,26 @@ function mountSessionReviewRoutes(app, deps) {
|
|
|
1734
1753
|
deps.broadcast("session-review-changed", { sessionId: id });
|
|
1735
1754
|
return c.json({ ok: true, sent: went.length });
|
|
1736
1755
|
});
|
|
1756
|
+
app.post("/api/sessions/:id/review/recommendation", async (c) => {
|
|
1757
|
+
const id = c.req.param("id");
|
|
1758
|
+
const session = findSession2(id);
|
|
1759
|
+
if (!session) return c.json({ error: "unknown session" }, 404);
|
|
1760
|
+
if (session.archivedAt) return c.json({ error: "It is archived: restore it first." }, 409);
|
|
1761
|
+
const body = await c.req.json().catch(() => ({}));
|
|
1762
|
+
if (body.decision !== void 0 && typeof body.decision !== "string") return c.json({ error: "decision: string" }, 400);
|
|
1763
|
+
if (body.decision && body.decision.length > MAX_DECISION_CHARS)
|
|
1764
|
+
return c.json({ error: `decision: at most ${MAX_DECISION_CHARS} characters` }, 400);
|
|
1765
|
+
const review = reviews.state(id).review;
|
|
1766
|
+
if (!review) return c.json({ error: "no review of it is prepared" }, 409);
|
|
1767
|
+
const note = localRecommendationNote(review, body.decision);
|
|
1768
|
+
if (!note) return c.json({ error: "It has no recommendation to hand over." }, 409);
|
|
1769
|
+
try {
|
|
1770
|
+
await deps.tell(id, note);
|
|
1771
|
+
} catch (err) {
|
|
1772
|
+
return c.json({ error: err.message }, 502);
|
|
1773
|
+
}
|
|
1774
|
+
return c.json({ ok: true, decided: !!body.decision?.trim() });
|
|
1775
|
+
});
|
|
1737
1776
|
app.post("/api/sessions/:id/review/dismiss", async (c) => {
|
|
1738
1777
|
const id = c.req.param("id");
|
|
1739
1778
|
if (!findSession2(id)) return c.json({ error: "unknown session" }, 404);
|
|
@@ -3474,7 +3513,8 @@ var REPO_SETTING_PATH = {
|
|
|
3474
3513
|
requiredChecks: "prWatch.requiredChecks",
|
|
3475
3514
|
devCommand: "devCommands",
|
|
3476
3515
|
reviews: "reviews.projects",
|
|
3477
|
-
reviewFocus: "reviews.focusFor"
|
|
3516
|
+
reviewFocus: "reviews.focusFor",
|
|
3517
|
+
color: "colors"
|
|
3478
3518
|
};
|
|
3479
3519
|
function checkRepoSetting(key, raw) {
|
|
3480
3520
|
if (raw === null) return { ok: true, value: null };
|
|
@@ -3484,6 +3524,7 @@ function checkRepoSetting(key, raw) {
|
|
|
3484
3524
|
return r.value.length ? r : { ok: true, value: null };
|
|
3485
3525
|
}
|
|
3486
3526
|
if (key === "devCommand") return checkSetting({ ...SETTINGS[0], kind: { type: "text" } }, raw);
|
|
3527
|
+
if (key === "color") return isRailColor(raw) ? { ok: true, value: raw } : { ok: false, error: RAIL_COLORS.join(", ") };
|
|
3487
3528
|
return raw === "all" || raw === "asked" || raw === "off" ? { ok: true, value: raw } : { ok: false, error: "all, asked or off" };
|
|
3488
3529
|
}
|
|
3489
3530
|
function repoSettingsOf(raw, alias) {
|
|
@@ -3495,11 +3536,13 @@ function repoSettingsOf(raw, alias) {
|
|
|
3495
3536
|
const dev = map(REPO_SETTING_PATH.devCommand)[alias];
|
|
3496
3537
|
const review = map(REPO_SETTING_PATH.reviews)[alias];
|
|
3497
3538
|
const focus = map(REPO_SETTING_PATH.reviewFocus)[alias];
|
|
3539
|
+
const color = map(REPO_SETTING_PATH.color)[alias];
|
|
3498
3540
|
return {
|
|
3499
3541
|
requiredChecks: Array.isArray(checks) ? checks.filter((c) => typeof c === "string") : null,
|
|
3500
3542
|
devCommand: typeof dev === "string" && dev ? dev : null,
|
|
3501
3543
|
reviews: review === "all" || review === "asked" || review === "off" ? review : null,
|
|
3502
|
-
reviewFocus: Array.isArray(focus) && focus.some((c) => typeof c === "string") ? focus.filter((c) => typeof c === "string") : null
|
|
3544
|
+
reviewFocus: Array.isArray(focus) && focus.some((c) => typeof c === "string") ? focus.filter((c) => typeof c === "string") : null,
|
|
3545
|
+
color: isRailColor(color) ? color : null
|
|
3503
3546
|
};
|
|
3504
3547
|
}
|
|
3505
3548
|
|
|
@@ -3537,6 +3580,7 @@ function mountSettingsRoutes(app, opts) {
|
|
|
3537
3580
|
const out = await src.writeRepo(c.req.param("alias"), b.key, b.value);
|
|
3538
3581
|
opts.broadcast("settings-changed", { ts: Date.now() });
|
|
3539
3582
|
opts.broadcast("repos-changed", { ts: Date.now() });
|
|
3583
|
+
if (b.key === "color") opts.broadcast("rail-changed", { ts: Date.now() });
|
|
3540
3584
|
return c.json(out);
|
|
3541
3585
|
} catch (err) {
|
|
3542
3586
|
return refused(c, err);
|
|
@@ -12948,7 +12992,8 @@ function createDemoSettings(repoPathOf) {
|
|
|
12948
12992
|
requiredChecks: ["build", "test"],
|
|
12949
12993
|
devCommand: "npm run dev",
|
|
12950
12994
|
reviews: "all",
|
|
12951
|
-
reviewFocus: ["A refund never exceeds what was paid"]
|
|
12995
|
+
reviewFocus: ["A refund never exceeds what was paid"],
|
|
12996
|
+
color: "blue"
|
|
12952
12997
|
}
|
|
12953
12998
|
]
|
|
12954
12999
|
]);
|
|
@@ -12961,7 +13006,7 @@ function createDemoSettings(repoPathOf) {
|
|
|
12961
13006
|
path: p,
|
|
12962
13007
|
origin: `https://github.com/acme/${alias}`,
|
|
12963
13008
|
host: alias === "payments" ? "Azure DevOps" : "GitHub",
|
|
12964
|
-
...repos.get(alias) ?? { requiredChecks: null, devCommand: null, reviews: null, reviewFocus: null }
|
|
13009
|
+
...repos.get(alias) ?? { requiredChecks: null, devCommand: null, reviews: null, reviewFocus: null, color: null }
|
|
12965
13010
|
};
|
|
12966
13011
|
};
|
|
12967
13012
|
return {
|
|
@@ -12978,10 +13023,11 @@ function createDemoSettings(repoPathOf) {
|
|
|
12978
13023
|
readRepo,
|
|
12979
13024
|
async writeRepo(alias, key, value) {
|
|
12980
13025
|
readRepo(alias);
|
|
12981
|
-
if (!["requiredChecks", "devCommand", "reviews", "reviewFocus"].includes(key))
|
|
13026
|
+
if (!["requiredChecks", "devCommand", "reviews", "reviewFocus", "color"].includes(key))
|
|
13027
|
+
throw new SettingsError(`no repo setting ${key}`, 404);
|
|
12982
13028
|
const r = checkRepoSetting(key, value);
|
|
12983
13029
|
if (!r.ok) throw new SettingsError(r.error);
|
|
12984
|
-
const now = repos.get(alias) ?? { requiredChecks: null, devCommand: null, reviews: null, reviewFocus: null };
|
|
13030
|
+
const now = repos.get(alias) ?? { requiredChecks: null, devCommand: null, reviews: null, reviewFocus: null, color: null };
|
|
12985
13031
|
repos.set(alias, { ...now, [key]: r.value });
|
|
12986
13032
|
return readRepo(alias);
|
|
12987
13033
|
}
|
|
@@ -13019,6 +13065,7 @@ function mountDemoSettings(app, broadcast, src) {
|
|
|
13019
13065
|
const out = await src.writeRepo(c.req.param("alias"), b.key, b.value);
|
|
13020
13066
|
broadcast("settings-changed", { ts: Date.now() });
|
|
13021
13067
|
broadcast("repos-changed", { ts: Date.now() });
|
|
13068
|
+
if (b.key === "color") broadcast("rail-changed", { ts: Date.now() });
|
|
13022
13069
|
return c.json(out);
|
|
13023
13070
|
} catch (err) {
|
|
13024
13071
|
return refused(c, err);
|
|
@@ -13219,6 +13266,16 @@ async function startDemoServer(opts) {
|
|
|
13219
13266
|
if (!w) return notFound(c);
|
|
13220
13267
|
return localReviews.has(w.id) ? c.json({ files: demoReviewFiles() }) : c.json({ error: "no review of it is prepared" }, 404);
|
|
13221
13268
|
});
|
|
13269
|
+
app.post("/api/sessions/:id/review/recommendation", async (c) => {
|
|
13270
|
+
const w = scenario.list().find((x) => x.id === c.req.param("id"));
|
|
13271
|
+
if (!w) return notFound(c);
|
|
13272
|
+
if (w.archivedAt) return c.json({ error: "It is archived: restore it first." }, 409);
|
|
13273
|
+
const review = demoLocalReview(w).review;
|
|
13274
|
+
if (!review) return c.json({ error: "no review of it is prepared" }, 409);
|
|
13275
|
+
if (!review.recommendation) return c.json({ error: "It has no recommendation to hand over." }, 409);
|
|
13276
|
+
const body = await json2(c);
|
|
13277
|
+
return c.json({ ok: true, decided: typeof body.decision === "string" && !!body.decision.trim() });
|
|
13278
|
+
});
|
|
13222
13279
|
app.post("/api/sessions/:id/review/send", async (c) => {
|
|
13223
13280
|
const w = scenario.list().find((x) => x.id === c.req.param("id"));
|
|
13224
13281
|
if (!w) return notFound(c);
|
|
@@ -13589,7 +13646,19 @@ async function startDemoServer(opts) {
|
|
|
13589
13646
|
});
|
|
13590
13647
|
let rail = { sections: [], places: {} };
|
|
13591
13648
|
const railChanged = () => broadcast({ event: "rail-changed", data: { ts: Date.now() } });
|
|
13592
|
-
|
|
13649
|
+
const demoSettings = createDemoSettings(
|
|
13650
|
+
(alias) => scenario.repos.inventory().repos.find((r) => r.alias === alias && r.status !== "new")?.path ?? null
|
|
13651
|
+
);
|
|
13652
|
+
const railView = () => {
|
|
13653
|
+
const projectColors = {};
|
|
13654
|
+
for (const r of scenario.repos.inventory().repos) {
|
|
13655
|
+
if (r.status === "new" || !r.alias) continue;
|
|
13656
|
+
const color = demoSettings.readRepo(r.alias).color;
|
|
13657
|
+
if (color) projectColors[r.alias] = color;
|
|
13658
|
+
}
|
|
13659
|
+
return { ...rail, ...Object.keys(projectColors).length ? { projectColors } : {} };
|
|
13660
|
+
};
|
|
13661
|
+
app.get("/api/rail", (c) => c.json(railView()));
|
|
13593
13662
|
app.post("/api/rail/sections", async (c) => {
|
|
13594
13663
|
const op = cleanSectionOp(await json2(c));
|
|
13595
13664
|
if (!op) return c.json({ error: "expected {op: add|rename|move|remove, id, name?, by?}" }, 400);
|
|
@@ -13604,7 +13673,7 @@ async function startDemoServer(opts) {
|
|
|
13604
13673
|
}
|
|
13605
13674
|
rail = { sections, places };
|
|
13606
13675
|
railChanged();
|
|
13607
|
-
return c.json(
|
|
13676
|
+
return c.json(railView());
|
|
13608
13677
|
});
|
|
13609
13678
|
app.put("/api/sessions/:id/rail", async (c) => {
|
|
13610
13679
|
const id = c.req.param("id");
|
|
@@ -13618,7 +13687,7 @@ async function startDemoServer(opts) {
|
|
|
13618
13687
|
else delete places[id];
|
|
13619
13688
|
rail = { ...rail, places };
|
|
13620
13689
|
railChanged();
|
|
13621
|
-
return c.json(
|
|
13690
|
+
return c.json(railView());
|
|
13622
13691
|
});
|
|
13623
13692
|
app.post("/api/sessions/:id/send", async (c) => {
|
|
13624
13693
|
const id = c.req.param("id");
|
|
@@ -13844,11 +13913,7 @@ async function startDemoServer(opts) {
|
|
|
13844
13913
|
return repoAnswer(c, () => repoModel.saveGroup(b.name, members, b.creating === true));
|
|
13845
13914
|
});
|
|
13846
13915
|
app.delete("/api/groups/:name", (c) => repoAnswer(c, () => repoModel.deleteGroup(c.req.param("name"), c.req.query("force") === "1")));
|
|
13847
|
-
mountDemoSettings(
|
|
13848
|
-
app,
|
|
13849
|
-
(event, data) => broadcast({ event, data }),
|
|
13850
|
-
createDemoSettings((alias) => repoModel.inventory().repos.find((r) => r.alias === alias && r.status !== "new")?.path ?? null)
|
|
13851
|
-
);
|
|
13916
|
+
mountDemoSettings(app, (event, data) => broadcast({ event, data }), demoSettings);
|
|
13852
13917
|
const demoNotes = [
|
|
13853
13918
|
{
|
|
13854
13919
|
version: "2.1.0",
|
|
@@ -14533,4 +14598,4 @@ export {
|
|
|
14533
14598
|
stopExisting,
|
|
14534
14599
|
webCommand
|
|
14535
14600
|
};
|
|
14536
|
-
//# sourceMappingURL=web-
|
|
14601
|
+
//# sourceMappingURL=web-OQLZHYOM.js.map
|