@moberg_hr/work-tree 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/{answer-7C4BZSYE.js → answer-UWI22VOE.js} +11 -11
- package/dist/{attach-PITHAQC4.js → attach-HYHEXW5J.js} +14 -14
- package/dist/bin.js +5 -5
- package/dist/{block-45UQKMA3.js → block-A25XE7HC.js} +11 -11
- package/dist/{broadcast-CUJDQYEW.js → broadcast-AG7P5BKQ.js} +8 -8
- package/dist/{catchup-ZXYFL4XZ.js → catchup-VTGG7BAR.js} +14 -14
- package/dist/{chunk-SPS3SSXO.js → chunk-3D63HGOG.js} +3 -3
- package/dist/{chunk-4KZBZA5D.js → chunk-3GIH4WTA.js} +3 -2
- package/dist/chunk-3GIH4WTA.js.map +1 -0
- package/dist/{chunk-DOD6DEWO.js → chunk-4P533364.js} +4 -4
- package/dist/{chunk-IS44ZO7V.js → chunk-5EGGS6Y6.js} +6 -6
- package/dist/{chunk-5PAPD6VT.js → chunk-5WM24P5N.js} +2 -2
- package/dist/{chunk-3N64LEF5.js → chunk-722K7XWW.js} +4 -4
- package/dist/{chunk-ZZ57KXHU.js → chunk-75I3DHVU.js} +3 -3
- package/dist/{chunk-DEW3VLLK.js → chunk-7OBX4MJY.js} +4 -4
- package/dist/{chunk-WQJRZXWB.js → chunk-7W6I4VXA.js} +7 -7
- package/dist/{chunk-VFJYLTWC.js → chunk-B2Q5BYOD.js} +5 -5
- package/dist/{chunk-VEXEV32Q.js → chunk-B3HIALTV.js} +2 -2
- package/dist/{chunk-W2W7MOHA.js → chunk-C3E7XETB.js} +5 -5
- package/dist/{chunk-UWSJHSZM.js → chunk-CALBDLDJ.js} +3 -3
- package/dist/{chunk-N4J65ADX.js → chunk-CFO2JMKW.js} +15 -15
- package/dist/{chunk-LESRAPQH.js → chunk-CGMFZOS5.js} +25 -13
- package/dist/chunk-CGMFZOS5.js.map +1 -0
- package/dist/{chunk-PVNQJFIU.js → chunk-CIAXJC5H.js} +4 -4
- package/dist/{chunk-JTHILJFB.js → chunk-DMUZIBPM.js} +2 -2
- package/dist/{chunk-EAUE4VEJ.js → chunk-DRYY4BPY.js} +5 -5
- package/dist/{chunk-ZWD64IDK.js → chunk-EOETYHTD.js} +2 -2
- package/dist/{chunk-EHJ63GMQ.js → chunk-GOHSGTR5.js} +3 -3
- package/dist/{chunk-6BITLING.js → chunk-H7KH5CDM.js} +4 -4
- package/dist/{chunk-BZA7NKWU.js → chunk-HMK3INUS.js} +2 -2
- package/dist/{chunk-JR4UAMZM.js → chunk-HWIRY3WO.js} +6 -6
- package/dist/{chunk-G3RZAZAI.js → chunk-HWP4NEYL.js} +2 -2
- package/dist/{chunk-LZ7LYVHR.js → chunk-IJ6YYFXY.js} +3 -3
- package/dist/{chunk-X63PWGRB.js → chunk-IVPV6VPW.js} +3 -3
- package/dist/{chunk-WQ6NM7RO.js → chunk-KNYEQLIF.js} +2 -2
- package/dist/{chunk-56G6RE5J.js → chunk-KPGO5VFR.js} +5 -5
- package/dist/chunk-KPGR4JRE.js +9 -0
- package/dist/{chunk-L6RUHCKB.js → chunk-KUCMJHQW.js} +2 -2
- package/dist/{chunk-CQR657PU.js → chunk-LMLVJEY7.js} +3 -3
- package/dist/{chunk-BSSYIB4W.js → chunk-MEK7BIVS.js} +9 -9
- package/dist/{chunk-NSH62BFD.js → chunk-MF6LDFDW.js} +2 -2
- package/dist/{chunk-M5E6EM5B.js → chunk-NER44YB7.js} +8 -8
- package/dist/{chunk-YLYBMVBD.js → chunk-NM4SABMQ.js} +6 -6
- package/dist/chunk-NM4SABMQ.js.map +1 -0
- package/dist/{chunk-YLRFDJVU.js → chunk-OB63GDEC.js} +2 -2
- package/dist/{chunk-OOZ77YJI.js → chunk-OBFHGN7Q.js} +2 -2
- package/dist/{chunk-OLT6A5L4.js → chunk-PIEYQBWL.js} +9 -9
- package/dist/chunk-PSUJZUYX.js +47 -0
- package/dist/chunk-PSUJZUYX.js.map +1 -0
- package/dist/{chunk-EAUSWDOQ.js → chunk-QDKLIYGR.js} +2 -2
- package/dist/{chunk-3GTLGDP3.js → chunk-QQNPAZNP.js} +9 -9
- package/dist/{chunk-7UPS3IZ2.js → chunk-R5QLAXNJ.js} +2 -2
- package/dist/{chunk-GACMWI3H.js → chunk-RFE4EBUP.js} +3 -3
- package/dist/{chunk-QXUHOISF.js → chunk-ROLNJOSE.js} +2 -1
- package/dist/chunk-ROLNJOSE.js.map +1 -0
- package/dist/{chunk-XVTUJ5JP.js → chunk-T6YP6GPK.js} +3 -3
- package/dist/{chunk-G3LZU2LT.js → chunk-TBOE7DG5.js} +2 -2
- package/dist/{chunk-WH3SPT3N.js → chunk-TKL4B2OI.js} +3 -3
- package/dist/{chunk-TMNIOM4Y.js → chunk-U3NYRIFH.js} +2 -2
- package/dist/{chunk-6VHECWTC.js → chunk-WMOXIFBF.js} +9 -9
- package/dist/{chunk-FAFWD2BZ.js → chunk-WRUQPVTS.js} +4 -4
- package/dist/{chunk-SEU6GTXI.js → chunk-XDBMLTFY.js} +4 -4
- package/dist/{chunk-2IM7Q7WT.js → chunk-XFRSOUBJ.js} +51 -51
- package/dist/{chunk-BTFVGXUG.js → chunk-Y2HNFNCS.js} +3 -3
- package/dist/chunk-Y2HNFNCS.js.map +1 -0
- package/dist/{chunk-5P7XE7HW.js → chunk-Y33WKESH.js} +2 -2
- package/dist/{chunk-RKEY4573.js → chunk-YIODX4PM.js} +2 -2
- package/dist/chunk-YV2MPIFG.js +123 -0
- package/dist/chunk-YV2MPIFG.js.map +1 -0
- package/dist/{chunk-4O7B3ODB.js → chunk-ZSXMIPU4.js} +9 -5
- package/dist/chunk-ZSXMIPU4.js.map +1 -0
- package/dist/{cleanup-O33DLVYY.js → cleanup-Q6AQXSRS.js} +28 -27
- package/dist/{cleanup-O33DLVYY.js.map → cleanup-Q6AQXSRS.js.map} +1 -1
- package/dist/cli-X4Z2UYJZ.js +18 -0
- package/dist/{command-hook-installer-7JB3AC2S.js → command-hook-installer-2ZFJJGKY.js} +4 -4
- package/dist/{config-IVFI5HKI.js → config-DOPH6NOU.js} +12 -12
- package/dist/{diff-RJFPY5UC.js → diff-DZJLSTRO.js} +12 -12
- package/dist/{digest-KU7AV7LU.js → digest-QTNPN2E6.js} +10 -10
- package/dist/{fork-GGNDPT5D.js → fork-HDJ54HH2.js} +26 -25
- package/dist/{fork-GGNDPT5D.js.map → fork-HDJ54HH2.js.map} +1 -1
- package/dist/{hook-SXCVFIKJ.js → hook-V7JNOY2E.js} +12 -12
- package/dist/{hydrate-LLHAMA6B.js → hydrate-NGZ26R2Y.js} +8 -8
- package/dist/{init-JDJFQEPW.js → init-BQIBLPP5.js} +22 -14
- package/dist/init-BQIBLPP5.js.map +1 -0
- package/dist/{install-skills-OXXTF7QP.js → install-skills-LCXJIHK4.js} +4 -4
- package/dist/install-skills-bin.js +3 -3
- package/dist/{list-YTK2GLND.js → list-4KATUVO3.js} +5 -5
- package/dist/{move-OYZGR76R.js → move-LYO5J2ZH.js} +18 -17
- package/dist/{move-OYZGR76R.js.map → move-LYO5J2ZH.js.map} +1 -1
- package/dist/{note-UT4F7TU4.js → note-7XR4YA6R.js} +11 -11
- package/dist/{overlaps-H7ZTPYGI.js → overlaps-5WKQT3LX.js} +10 -10
- package/dist/{pin-B7JAUL62.js → pin-GJM3KSG7.js} +11 -11
- package/dist/{pr-U2O4WICL.js → pr-YO7XSYUA.js} +12 -12
- package/dist/{prune-DSV7XBIY.js → prune-BUGPJLLO.js} +27 -26
- package/dist/{prune-DSV7XBIY.js.map → prune-BUGPJLLO.js.map} +1 -1
- package/dist/{pty-host-XZPHJWCJ.js → pty-host-O5H4FKWF.js} +13 -9
- package/dist/pty-host-O5H4FKWF.js.map +1 -0
- package/dist/{read-SOC7UER2.js → read-XMU63E3F.js} +10 -10
- package/dist/{recent-7XAWE6FF.js → recent-73SHXIFU.js} +8 -8
- package/dist/{remove-KC276OMW.js → remove-ZXDVVOHF.js} +26 -25
- package/dist/{remove-KC276OMW.js.map → remove-ZXDVVOHF.js.map} +1 -1
- package/dist/{report-335HKCCY.js → report-TEIRRYH4.js} +4 -4
- package/dist/{restart-LDPKYFLI.js → restart-S4D7LD3A.js} +11 -11
- package/dist/{resume-MME3OFRQ.js → resume-YIIQIJCS.js} +8 -8
- package/dist/{run-5NK2IO5X.js → run-WN2O7EX7.js} +7 -7
- package/dist/{screen-KSCRMLCO.js → screen-LX6XHNYN.js} +11 -11
- package/dist/{search-ME2ME7O2.js → search-DCDJVBKW.js} +7 -7
- package/dist/{section-XQ2C5OAR.js → section-XD46IHMW.js} +11 -11
- package/dist/{send-KG2REDEE.js → send-P4NILVGL.js} +12 -12
- package/dist/{sessions-7KNUFP7M.js → sessions-POSS5NRV.js} +20 -20
- package/dist/{snooze-XAUGXI6F.js → snooze-ONAR2WNP.js} +10 -10
- package/dist/{start-HJC6EGEL.js → start-6YKHYYX5.js} +11 -11
- package/dist/{state-6QP5ST4N.js → state-NV4FQNMT.js} +5 -5
- package/dist/{status-JNR4BZH6.js → status-KYRZRITO.js} +8 -8
- package/dist/{stop-5LIH3DUX.js → stop-QU372WAY.js} +11 -11
- package/dist/{sync-U3BOXQ2S.js → sync-JR24WVJ7.js} +27 -26
- package/dist/{sync-U3BOXQ2S.js.map → sync-JR24WVJ7.js.map} +1 -1
- package/dist/{time-ZAXB2XSF.js → time-FYXXC5XC.js} +12 -12
- package/dist/time-actions-L3OWQHEX.js +15 -0
- package/dist/{timesheet-2SHXLLHP.js → timesheet-57EG6ABE.js} +14 -14
- package/dist/{todo-YBDZZUCH.js → todo-UDYY4QTY.js} +6 -6
- package/dist/{tree-OKM2MYTD.js → tree-RDPJOIDT.js} +23 -22
- package/dist/{tree-OKM2MYTD.js.map → tree-RDPJOIDT.js.map} +1 -1
- package/dist/{update-SC5XCH5P.js → update-OZXFQMYI.js} +13 -13
- package/dist/{wait-FTQQM7ME.js → wait-3MQST3FP.js} +11 -11
- package/dist/wd-bin.js +7 -7
- package/dist/web/assets/{PtyView-DT2KQFV3.js → PtyView-DBG0B_A4.js} +2 -2
- package/dist/web/assets/{PtyView-DT2KQFV3.js.map → PtyView-DBG0B_A4.js.map} +1 -1
- package/dist/web/assets/{index-YbJdcXjZ.css → index-DoT3bzyK.css} +1 -1
- package/dist/web/assets/{index-Bc4ETz8-.js → index-rLMVfFdt.js} +29 -29
- package/dist/web/assets/index-rLMVfFdt.js.map +1 -0
- package/dist/web/index.html +2 -2
- package/dist/{web-H2IVQUID.js → web-DSJT4HSI.js} +121 -113
- package/dist/web-DSJT4HSI.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-4KZBZA5D.js.map +0 -1
- package/dist/chunk-4O7B3ODB.js.map +0 -1
- package/dist/chunk-BTFVGXUG.js.map +0 -1
- package/dist/chunk-LESRAPQH.js.map +0 -1
- package/dist/chunk-MCCF7PIY.js +0 -9
- package/dist/chunk-QXUHOISF.js.map +0 -1
- package/dist/chunk-YLYBMVBD.js.map +0 -1
- package/dist/cli-XA33SNZC.js +0 -18
- package/dist/init-JDJFQEPW.js.map +0 -1
- package/dist/pty-host-XZPHJWCJ.js.map +0 -1
- package/dist/time-actions-WBXW6XAY.js +0 -15
- package/dist/web/assets/index-Bc4ETz8-.js.map +0 -1
- package/dist/web-H2IVQUID.js.map +0 -1
- /package/dist/{answer-7C4BZSYE.js.map → answer-UWI22VOE.js.map} +0 -0
- /package/dist/{attach-PITHAQC4.js.map → attach-HYHEXW5J.js.map} +0 -0
- /package/dist/{block-45UQKMA3.js.map → block-A25XE7HC.js.map} +0 -0
- /package/dist/{broadcast-CUJDQYEW.js.map → broadcast-AG7P5BKQ.js.map} +0 -0
- /package/dist/{catchup-ZXYFL4XZ.js.map → catchup-VTGG7BAR.js.map} +0 -0
- /package/dist/{chunk-SPS3SSXO.js.map → chunk-3D63HGOG.js.map} +0 -0
- /package/dist/{chunk-DOD6DEWO.js.map → chunk-4P533364.js.map} +0 -0
- /package/dist/{chunk-IS44ZO7V.js.map → chunk-5EGGS6Y6.js.map} +0 -0
- /package/dist/{chunk-5PAPD6VT.js.map → chunk-5WM24P5N.js.map} +0 -0
- /package/dist/{chunk-3N64LEF5.js.map → chunk-722K7XWW.js.map} +0 -0
- /package/dist/{chunk-ZZ57KXHU.js.map → chunk-75I3DHVU.js.map} +0 -0
- /package/dist/{chunk-DEW3VLLK.js.map → chunk-7OBX4MJY.js.map} +0 -0
- /package/dist/{chunk-WQJRZXWB.js.map → chunk-7W6I4VXA.js.map} +0 -0
- /package/dist/{chunk-VFJYLTWC.js.map → chunk-B2Q5BYOD.js.map} +0 -0
- /package/dist/{chunk-VEXEV32Q.js.map → chunk-B3HIALTV.js.map} +0 -0
- /package/dist/{chunk-W2W7MOHA.js.map → chunk-C3E7XETB.js.map} +0 -0
- /package/dist/{chunk-UWSJHSZM.js.map → chunk-CALBDLDJ.js.map} +0 -0
- /package/dist/{chunk-N4J65ADX.js.map → chunk-CFO2JMKW.js.map} +0 -0
- /package/dist/{chunk-PVNQJFIU.js.map → chunk-CIAXJC5H.js.map} +0 -0
- /package/dist/{chunk-JTHILJFB.js.map → chunk-DMUZIBPM.js.map} +0 -0
- /package/dist/{chunk-EAUE4VEJ.js.map → chunk-DRYY4BPY.js.map} +0 -0
- /package/dist/{chunk-ZWD64IDK.js.map → chunk-EOETYHTD.js.map} +0 -0
- /package/dist/{chunk-EHJ63GMQ.js.map → chunk-GOHSGTR5.js.map} +0 -0
- /package/dist/{chunk-6BITLING.js.map → chunk-H7KH5CDM.js.map} +0 -0
- /package/dist/{chunk-BZA7NKWU.js.map → chunk-HMK3INUS.js.map} +0 -0
- /package/dist/{chunk-JR4UAMZM.js.map → chunk-HWIRY3WO.js.map} +0 -0
- /package/dist/{chunk-G3RZAZAI.js.map → chunk-HWP4NEYL.js.map} +0 -0
- /package/dist/{chunk-LZ7LYVHR.js.map → chunk-IJ6YYFXY.js.map} +0 -0
- /package/dist/{chunk-X63PWGRB.js.map → chunk-IVPV6VPW.js.map} +0 -0
- /package/dist/{chunk-WQ6NM7RO.js.map → chunk-KNYEQLIF.js.map} +0 -0
- /package/dist/{chunk-56G6RE5J.js.map → chunk-KPGO5VFR.js.map} +0 -0
- /package/dist/{chunk-MCCF7PIY.js.map → chunk-KPGR4JRE.js.map} +0 -0
- /package/dist/{chunk-L6RUHCKB.js.map → chunk-KUCMJHQW.js.map} +0 -0
- /package/dist/{chunk-CQR657PU.js.map → chunk-LMLVJEY7.js.map} +0 -0
- /package/dist/{chunk-BSSYIB4W.js.map → chunk-MEK7BIVS.js.map} +0 -0
- /package/dist/{chunk-NSH62BFD.js.map → chunk-MF6LDFDW.js.map} +0 -0
- /package/dist/{chunk-M5E6EM5B.js.map → chunk-NER44YB7.js.map} +0 -0
- /package/dist/{chunk-YLRFDJVU.js.map → chunk-OB63GDEC.js.map} +0 -0
- /package/dist/{chunk-OOZ77YJI.js.map → chunk-OBFHGN7Q.js.map} +0 -0
- /package/dist/{chunk-OLT6A5L4.js.map → chunk-PIEYQBWL.js.map} +0 -0
- /package/dist/{chunk-EAUSWDOQ.js.map → chunk-QDKLIYGR.js.map} +0 -0
- /package/dist/{chunk-3GTLGDP3.js.map → chunk-QQNPAZNP.js.map} +0 -0
- /package/dist/{chunk-7UPS3IZ2.js.map → chunk-R5QLAXNJ.js.map} +0 -0
- /package/dist/{chunk-GACMWI3H.js.map → chunk-RFE4EBUP.js.map} +0 -0
- /package/dist/{chunk-XVTUJ5JP.js.map → chunk-T6YP6GPK.js.map} +0 -0
- /package/dist/{chunk-G3LZU2LT.js.map → chunk-TBOE7DG5.js.map} +0 -0
- /package/dist/{chunk-WH3SPT3N.js.map → chunk-TKL4B2OI.js.map} +0 -0
- /package/dist/{chunk-TMNIOM4Y.js.map → chunk-U3NYRIFH.js.map} +0 -0
- /package/dist/{chunk-6VHECWTC.js.map → chunk-WMOXIFBF.js.map} +0 -0
- /package/dist/{chunk-FAFWD2BZ.js.map → chunk-WRUQPVTS.js.map} +0 -0
- /package/dist/{chunk-SEU6GTXI.js.map → chunk-XDBMLTFY.js.map} +0 -0
- /package/dist/{chunk-2IM7Q7WT.js.map → chunk-XFRSOUBJ.js.map} +0 -0
- /package/dist/{chunk-5P7XE7HW.js.map → chunk-Y33WKESH.js.map} +0 -0
- /package/dist/{chunk-RKEY4573.js.map → chunk-YIODX4PM.js.map} +0 -0
- /package/dist/{cli-XA33SNZC.js.map → cli-X4Z2UYJZ.js.map} +0 -0
- /package/dist/{command-hook-installer-7JB3AC2S.js.map → command-hook-installer-2ZFJJGKY.js.map} +0 -0
- /package/dist/{config-IVFI5HKI.js.map → config-DOPH6NOU.js.map} +0 -0
- /package/dist/{diff-RJFPY5UC.js.map → diff-DZJLSTRO.js.map} +0 -0
- /package/dist/{digest-KU7AV7LU.js.map → digest-QTNPN2E6.js.map} +0 -0
- /package/dist/{hook-SXCVFIKJ.js.map → hook-V7JNOY2E.js.map} +0 -0
- /package/dist/{hydrate-LLHAMA6B.js.map → hydrate-NGZ26R2Y.js.map} +0 -0
- /package/dist/{install-skills-OXXTF7QP.js.map → install-skills-LCXJIHK4.js.map} +0 -0
- /package/dist/{list-YTK2GLND.js.map → list-4KATUVO3.js.map} +0 -0
- /package/dist/{note-UT4F7TU4.js.map → note-7XR4YA6R.js.map} +0 -0
- /package/dist/{overlaps-H7ZTPYGI.js.map → overlaps-5WKQT3LX.js.map} +0 -0
- /package/dist/{pin-B7JAUL62.js.map → pin-GJM3KSG7.js.map} +0 -0
- /package/dist/{pr-U2O4WICL.js.map → pr-YO7XSYUA.js.map} +0 -0
- /package/dist/{read-SOC7UER2.js.map → read-XMU63E3F.js.map} +0 -0
- /package/dist/{recent-7XAWE6FF.js.map → recent-73SHXIFU.js.map} +0 -0
- /package/dist/{report-335HKCCY.js.map → report-TEIRRYH4.js.map} +0 -0
- /package/dist/{restart-LDPKYFLI.js.map → restart-S4D7LD3A.js.map} +0 -0
- /package/dist/{resume-MME3OFRQ.js.map → resume-YIIQIJCS.js.map} +0 -0
- /package/dist/{run-5NK2IO5X.js.map → run-WN2O7EX7.js.map} +0 -0
- /package/dist/{screen-KSCRMLCO.js.map → screen-LX6XHNYN.js.map} +0 -0
- /package/dist/{search-ME2ME7O2.js.map → search-DCDJVBKW.js.map} +0 -0
- /package/dist/{section-XQ2C5OAR.js.map → section-XD46IHMW.js.map} +0 -0
- /package/dist/{send-KG2REDEE.js.map → send-P4NILVGL.js.map} +0 -0
- /package/dist/{sessions-7KNUFP7M.js.map → sessions-POSS5NRV.js.map} +0 -0
- /package/dist/{snooze-XAUGXI6F.js.map → snooze-ONAR2WNP.js.map} +0 -0
- /package/dist/{start-HJC6EGEL.js.map → start-6YKHYYX5.js.map} +0 -0
- /package/dist/{state-6QP5ST4N.js.map → state-NV4FQNMT.js.map} +0 -0
- /package/dist/{status-JNR4BZH6.js.map → status-KYRZRITO.js.map} +0 -0
- /package/dist/{stop-5LIH3DUX.js.map → stop-QU372WAY.js.map} +0 -0
- /package/dist/{time-ZAXB2XSF.js.map → time-FYXXC5XC.js.map} +0 -0
- /package/dist/{time-actions-WBXW6XAY.js.map → time-actions-L3OWQHEX.js.map} +0 -0
- /package/dist/{timesheet-2SHXLLHP.js.map → timesheet-57EG6ABE.js.map} +0 -0
- /package/dist/{todo-YBDZZUCH.js.map → todo-UDYY4QTY.js.map} +0 -0
- /package/dist/{update-SC5XCH5P.js.map → update-OZXFQMYI.js.map} +0 -0
- /package/dist/{wait-FTQQM7ME.js.map → wait-3MQST3FP.js.map} +0 -0
package/dist/web/index.html
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
}
|
|
21
21
|
})();
|
|
22
22
|
</script>
|
|
23
|
-
<script type="module" crossorigin src="/assets/index-
|
|
24
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
23
|
+
<script type="module" crossorigin src="/assets/index-rLMVfFdt.js"></script>
|
|
24
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DoT3bzyK.css">
|
|
25
25
|
</head>
|
|
26
26
|
<body>
|
|
27
27
|
<div id="root"></div>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
ensureAgentPath,
|
|
4
|
+
findOnPath
|
|
5
|
+
} from "./chunk-YV2MPIFG.js";
|
|
2
6
|
import {
|
|
3
7
|
addTask,
|
|
4
8
|
completeTask,
|
|
@@ -6,7 +10,7 @@ import {
|
|
|
6
10
|
getTasks,
|
|
7
11
|
removeTask,
|
|
8
12
|
uncompleteTask
|
|
9
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OB63GDEC.js";
|
|
10
14
|
import {
|
|
11
15
|
commentInputSchema,
|
|
12
16
|
detectParentBranch,
|
|
@@ -19,7 +23,7 @@ import {
|
|
|
19
23
|
serveSpa,
|
|
20
24
|
sessionBaseForPath,
|
|
21
25
|
submitReviewSchema
|
|
22
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-B2Q5BYOD.js";
|
|
23
27
|
import {
|
|
24
28
|
announceChange,
|
|
25
29
|
createArchivedRows,
|
|
@@ -33,10 +37,10 @@ import {
|
|
|
33
37
|
sessionWire,
|
|
34
38
|
stageSeenKey,
|
|
35
39
|
storeHolding
|
|
36
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WMOXIFBF.js";
|
|
37
41
|
import {
|
|
38
42
|
createDigestSource
|
|
39
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DRYY4BPY.js";
|
|
40
44
|
import {
|
|
41
45
|
agentsBySession,
|
|
42
46
|
createBuildFoldersJob,
|
|
@@ -45,12 +49,12 @@ import {
|
|
|
45
49
|
deleteMergedBranches,
|
|
46
50
|
findMergedBranches,
|
|
47
51
|
summarizeAgents
|
|
48
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-QQNPAZNP.js";
|
|
49
53
|
import {
|
|
50
54
|
DiffStatCache,
|
|
51
55
|
findOverlaps,
|
|
52
56
|
wantsDiffStat
|
|
53
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-LMLVJEY7.js";
|
|
54
58
|
import {
|
|
55
59
|
defaultTimeDeps,
|
|
56
60
|
fetchIssueDetail,
|
|
@@ -63,10 +67,10 @@ import {
|
|
|
63
67
|
graphProblem,
|
|
64
68
|
signOutGraph,
|
|
65
69
|
startDeviceLogin
|
|
66
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-7W6I4VXA.js";
|
|
67
71
|
import {
|
|
68
72
|
defaultCleanupDeps
|
|
69
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-PIEYQBWL.js";
|
|
70
74
|
import {
|
|
71
75
|
LATER_TEXT,
|
|
72
76
|
restartCountsText
|
|
@@ -76,7 +80,7 @@ import {
|
|
|
76
80
|
readNote,
|
|
77
81
|
saveNote,
|
|
78
82
|
sessionsWithNotes
|
|
79
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-B3HIALTV.js";
|
|
80
84
|
import {
|
|
81
85
|
addBlocker,
|
|
82
86
|
allBlocks,
|
|
@@ -87,16 +91,16 @@ import {
|
|
|
87
91
|
removeBlocker,
|
|
88
92
|
sweepBlocks,
|
|
89
93
|
unblockedPrompt
|
|
90
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-IVPV6VPW.js";
|
|
91
95
|
import {
|
|
92
96
|
jiraWorklogPoster,
|
|
93
97
|
logWorkDay,
|
|
94
98
|
loggedDays,
|
|
95
99
|
worklogSettings
|
|
96
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-R5QLAXNJ.js";
|
|
97
101
|
import {
|
|
98
102
|
sessionWorkTime
|
|
99
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-IJ6YYFXY.js";
|
|
100
104
|
import {
|
|
101
105
|
sendToSession
|
|
102
106
|
} from "./chunk-RYNBBSLY.js";
|
|
@@ -109,7 +113,7 @@ import {
|
|
|
109
113
|
saveGroup,
|
|
110
114
|
setRepoIgnored,
|
|
111
115
|
setScanRoot
|
|
112
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-TKL4B2OI.js";
|
|
113
117
|
import {
|
|
114
118
|
fetchAllPullRequests,
|
|
115
119
|
freeLeftovers,
|
|
@@ -118,16 +122,16 @@ import {
|
|
|
118
122
|
openInLeftovers,
|
|
119
123
|
parsePrRef,
|
|
120
124
|
resolvePrToStart
|
|
121
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-C3E7XETB.js";
|
|
122
126
|
import {
|
|
123
127
|
editorArgs,
|
|
124
128
|
openUrl
|
|
125
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-TBOE7DG5.js";
|
|
126
130
|
import {
|
|
127
131
|
archiveMergedSession,
|
|
128
132
|
archiveWaiting,
|
|
129
133
|
defaultArchiveDeps
|
|
130
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-CFO2JMKW.js";
|
|
131
135
|
import {
|
|
132
136
|
cleanupVerdict,
|
|
133
137
|
createCleanupJob
|
|
@@ -142,18 +146,18 @@ import {
|
|
|
142
146
|
postReply,
|
|
143
147
|
rememberSent,
|
|
144
148
|
saveDraft
|
|
145
|
-
} from "./chunk-
|
|
146
|
-
import "./chunk-
|
|
149
|
+
} from "./chunk-MF6LDFDW.js";
|
|
150
|
+
import "./chunk-75I3DHVU.js";
|
|
147
151
|
import {
|
|
148
152
|
defaultForkDeps,
|
|
149
153
|
forkSession,
|
|
150
154
|
startSessionWithPrompt
|
|
151
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-MEK7BIVS.js";
|
|
152
156
|
import {
|
|
153
157
|
createInChild,
|
|
154
158
|
createInProcess,
|
|
155
159
|
oneAtATime
|
|
156
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-5EGGS6Y6.js";
|
|
157
161
|
import {
|
|
158
162
|
resolveWorkBinPath
|
|
159
163
|
} from "./chunk-AH5TM3NB.js";
|
|
@@ -161,10 +165,10 @@ import {
|
|
|
161
165
|
teardownWorktree,
|
|
162
166
|
toBaseSpec,
|
|
163
167
|
wouldRefuseRemoval
|
|
164
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-CGMFZOS5.js";
|
|
165
169
|
import {
|
|
166
170
|
isWorktreeFolder
|
|
167
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-KUCMJHQW.js";
|
|
168
172
|
import {
|
|
169
173
|
configurePtyPool,
|
|
170
174
|
detachPtyPool,
|
|
@@ -189,11 +193,11 @@ import {
|
|
|
189
193
|
subscribeSession,
|
|
190
194
|
syncPtyPool,
|
|
191
195
|
writeToPty
|
|
192
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-NER44YB7.js";
|
|
193
197
|
import {
|
|
194
198
|
dbPtySessions
|
|
195
|
-
} from "./chunk-
|
|
196
|
-
import "./chunk-
|
|
199
|
+
} from "./chunk-3D63HGOG.js";
|
|
200
|
+
import "./chunk-CALBDLDJ.js";
|
|
197
201
|
import {
|
|
198
202
|
BehindCache,
|
|
199
203
|
behindMain,
|
|
@@ -209,28 +213,28 @@ import {
|
|
|
209
213
|
stackedOn,
|
|
210
214
|
updateFromBase,
|
|
211
215
|
updateFromMain
|
|
212
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-HWIRY3WO.js";
|
|
213
217
|
import {
|
|
214
218
|
sessionStatusView,
|
|
215
219
|
shownState
|
|
216
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-7OBX4MJY.js";
|
|
217
221
|
import {
|
|
218
222
|
askCatchUp,
|
|
219
223
|
cachedCatchUp,
|
|
220
224
|
catchUp,
|
|
221
225
|
catchUpFacts,
|
|
222
226
|
forgetCatchUp
|
|
223
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-KPGO5VFR.js";
|
|
224
228
|
import {
|
|
225
229
|
runInternal,
|
|
226
230
|
summarizeCheckpoint,
|
|
227
231
|
throttleTrailing
|
|
228
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-722K7XWW.js";
|
|
229
233
|
import {
|
|
230
234
|
computeDiff,
|
|
231
235
|
computeRangeDiff,
|
|
232
236
|
parseGitDiff
|
|
233
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-XDBMLTFY.js";
|
|
234
238
|
import {
|
|
235
239
|
applyPlacePatch,
|
|
236
240
|
applySectionOp,
|
|
@@ -239,16 +243,16 @@ import {
|
|
|
239
243
|
cleanSectionOp,
|
|
240
244
|
placeSession,
|
|
241
245
|
readRailLayout
|
|
242
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-HWP4NEYL.js";
|
|
243
247
|
import {
|
|
244
248
|
packageRoot
|
|
245
249
|
} from "./chunk-LNHSBM4L.js";
|
|
246
250
|
import {
|
|
247
251
|
VERSION
|
|
248
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-KPGR4JRE.js";
|
|
249
253
|
import {
|
|
250
254
|
resolveProjectTarget
|
|
251
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-DMUZIBPM.js";
|
|
252
256
|
import {
|
|
253
257
|
DEFAULT_CATCH_UP_DAYS,
|
|
254
258
|
addDays,
|
|
@@ -267,7 +271,7 @@ import {
|
|
|
267
271
|
tempoSetup,
|
|
268
272
|
timeRange,
|
|
269
273
|
updateDay
|
|
270
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-T6YP6GPK.js";
|
|
271
275
|
import {
|
|
272
276
|
isOwnCheckout
|
|
273
277
|
} from "./chunk-TUFQJXXO.js";
|
|
@@ -282,22 +286,22 @@ import {
|
|
|
282
286
|
readWebUrl,
|
|
283
287
|
writeDevWebDiscovery,
|
|
284
288
|
writeWebDiscovery
|
|
285
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-Y33WKESH.js";
|
|
286
290
|
import {
|
|
287
291
|
CONTEXT_WARN,
|
|
288
292
|
describeView,
|
|
289
293
|
writeAssistantContext
|
|
290
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-RFE4EBUP.js";
|
|
291
295
|
import {
|
|
292
296
|
NOTE_NUDGE,
|
|
293
297
|
findSessionForCwd,
|
|
294
298
|
readPendingForSession,
|
|
295
299
|
readPendingForWorktree
|
|
296
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-4P533364.js";
|
|
297
301
|
import "./chunk-ZSHWP2VS.js";
|
|
298
302
|
import {
|
|
299
303
|
getCommentFileStore
|
|
300
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-QDKLIYGR.js";
|
|
301
305
|
import {
|
|
302
306
|
createCommentStore
|
|
303
307
|
} from "./chunk-HUXS3VAI.js";
|
|
@@ -305,22 +309,23 @@ import {
|
|
|
305
309
|
checkTools,
|
|
306
310
|
saveFolders,
|
|
307
311
|
setupState
|
|
308
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-ZSXMIPU4.js";
|
|
309
313
|
import {
|
|
310
314
|
enrollProblem,
|
|
311
315
|
groupProblem,
|
|
312
316
|
suggestAlias
|
|
313
|
-
} from "./chunk-
|
|
314
|
-
import "./chunk-
|
|
317
|
+
} from "./chunk-HMK3INUS.js";
|
|
318
|
+
import "./chunk-PSUJZUYX.js";
|
|
319
|
+
import "./chunk-5WM24P5N.js";
|
|
315
320
|
import {
|
|
316
321
|
defaultRunner,
|
|
317
322
|
mergeSelected,
|
|
318
323
|
runShipAction,
|
|
319
324
|
shipPreflight
|
|
320
|
-
} from "./chunk-
|
|
325
|
+
} from "./chunk-3GIH4WTA.js";
|
|
321
326
|
import {
|
|
322
327
|
git
|
|
323
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-YIODX4PM.js";
|
|
324
329
|
import {
|
|
325
330
|
DECISION_MARKER,
|
|
326
331
|
STAGE_WANTS_YOU,
|
|
@@ -394,7 +399,7 @@ import {
|
|
|
394
399
|
turnInProgress,
|
|
395
400
|
updateCheckpoint,
|
|
396
401
|
writeArchiveRecord
|
|
397
|
-
} from "./chunk-
|
|
402
|
+
} from "./chunk-NM4SABMQ.js";
|
|
398
403
|
import {
|
|
399
404
|
activityRoots,
|
|
400
405
|
agentOf,
|
|
@@ -406,7 +411,7 @@ import {
|
|
|
406
411
|
liveAgents,
|
|
407
412
|
readJsonlSince,
|
|
408
413
|
recentProcessTable
|
|
409
|
-
} from "./chunk-
|
|
414
|
+
} from "./chunk-Y2HNFNCS.js";
|
|
410
415
|
import {
|
|
411
416
|
spawn_default
|
|
412
417
|
} from "./chunk-RCYI7SRA.js";
|
|
@@ -420,11 +425,11 @@ import {
|
|
|
420
425
|
sessionIdFor,
|
|
421
426
|
tx,
|
|
422
427
|
withDb
|
|
423
|
-
} from "./chunk-
|
|
428
|
+
} from "./chunk-GOHSGTR5.js";
|
|
424
429
|
import {
|
|
425
430
|
report
|
|
426
|
-
} from "./chunk-
|
|
427
|
-
import "./chunk-
|
|
431
|
+
} from "./chunk-U3NYRIFH.js";
|
|
432
|
+
import "./chunk-EOETYHTD.js";
|
|
428
433
|
import {
|
|
429
434
|
DEFAULT_PROMPTS,
|
|
430
435
|
DEFAULT_TIME_SETTINGS,
|
|
@@ -432,13 +437,13 @@ import {
|
|
|
432
437
|
getConfigDir,
|
|
433
438
|
isWorkday,
|
|
434
439
|
loadConfig
|
|
435
|
-
} from "./chunk-
|
|
440
|
+
} from "./chunk-ROLNJOSE.js";
|
|
436
441
|
|
|
437
442
|
// src/commands/web.ts
|
|
438
443
|
import chalk from "chalk";
|
|
439
444
|
|
|
440
445
|
// src/server/web-server.ts
|
|
441
|
-
import
|
|
446
|
+
import fs12 from "fs";
|
|
442
447
|
|
|
443
448
|
// src/server/routes/session-control-routes.ts
|
|
444
449
|
function realDeps(app) {
|
|
@@ -1040,9 +1045,9 @@ var NOT_NAMES = /* @__PURE__ */ new Set([
|
|
|
1040
1045
|
"typeof",
|
|
1041
1046
|
"await"
|
|
1042
1047
|
]);
|
|
1043
|
-
function declarationOf(
|
|
1048
|
+
function declarationOf(path16, text) {
|
|
1044
1049
|
for (const r of RULES) {
|
|
1045
|
-
if (!r.ext.test(
|
|
1050
|
+
if (!r.ext.test(path16)) continue;
|
|
1046
1051
|
const m = r.re.exec(text);
|
|
1047
1052
|
if (!m) continue;
|
|
1048
1053
|
const name = r.name(m);
|
|
@@ -2232,7 +2237,7 @@ function describeStall(s) {
|
|
|
2232
2237
|
}
|
|
2233
2238
|
|
|
2234
2239
|
// src/server/web-server.ts
|
|
2235
|
-
import
|
|
2240
|
+
import path14 from "path";
|
|
2236
2241
|
import { Hono } from "hono";
|
|
2237
2242
|
import { streamSSE as streamSSE2 } from "hono/streaming";
|
|
2238
2243
|
|
|
@@ -4679,6 +4684,20 @@ function ciFixMessage(failing, isGroup, contextShare) {
|
|
|
4679
4684
|
...hint ? [hint] : []
|
|
4680
4685
|
].join("\n");
|
|
4681
4686
|
}
|
|
4687
|
+
function conflictMessage(conflicts, isGroup, contextShare) {
|
|
4688
|
+
const lines = conflicts.map(
|
|
4689
|
+
(c) => `- PR #${c.number}${isGroup ? ` (${c.repo})` : ""} can't merge into ${c.base ?? "its base branch"}: ${c.base ? `\`git merge origin/${c.base}\`` : "merge its base branch from origin"}`
|
|
4690
|
+
);
|
|
4691
|
+
const hint = subAgentHint(contextShare);
|
|
4692
|
+
return [
|
|
4693
|
+
"Merge conflict on a pull request:",
|
|
4694
|
+
...lines,
|
|
4695
|
+
"",
|
|
4696
|
+
`Bring ${conflicts.length === 1 ? "the branch" : "each branch"} up to date: \`git fetch origin\`${isGroup ? " in that repo" : ""}, then the merge above \u2014 a merge, not a rebase, and never a force push (the branch is pushed). Resolve the conflicts keeping what both sides meant, check that it builds and its tests pass, commit the merge and push.`,
|
|
4697
|
+
`If a conflict needs a decision from me \u2014 both sides changed the same behaviour and it isn't clear which should win \u2014 don't guess: \`git merge --abort\`, and start your reply with a line \`${DECISION_MARKER} <the question>\`.`,
|
|
4698
|
+
...hint ? [hint] : []
|
|
4699
|
+
].join("\n");
|
|
4700
|
+
}
|
|
4682
4701
|
var REENTERED_GRACE_MS = 24 * 36e5;
|
|
4683
4702
|
function archivable(r) {
|
|
4684
4703
|
if (r.done) return true;
|
|
@@ -4763,6 +4782,9 @@ function createPrWatch(deps) {
|
|
|
4763
4782
|
seen.commit();
|
|
4764
4783
|
return true;
|
|
4765
4784
|
}
|
|
4785
|
+
function conflictingOf(ci) {
|
|
4786
|
+
return ci.repos.filter((r) => r.pr?.state === "OPEN" && r.pr.mergeStateStatus === "DIRTY").map((r) => ({ repo: r.name, number: r.pr.number, headSha: r.pr.headSha, base: r.pr.baseBranch ?? null }));
|
|
4787
|
+
}
|
|
4766
4788
|
function failingOf(ci) {
|
|
4767
4789
|
return ci.repos.filter((r) => r.pr?.state === "OPEN" && r.pr.checks === "fail").map((r) => ({ repo: r.name, number: r.pr.number, headSha: r.pr.headSha, checks: (r.pr.failing ?? []).map((f) => f.name) }));
|
|
4768
4790
|
}
|
|
@@ -4878,6 +4900,17 @@ function createPrWatch(deps) {
|
|
|
4878
4900
|
else note(`checks fail on ${what}; couldn't reach its Claude, trying again next time`, "warn");
|
|
4879
4901
|
}
|
|
4880
4902
|
}
|
|
4903
|
+
if (opts.fixConflicts !== false) {
|
|
4904
|
+
const fresh = conflictingOf(ci).filter((c) => !theirs.has(c.repo) && !deps.told(id).has(`${id}:${c.repo}:conflict:${c.headSha}`));
|
|
4905
|
+
if (fresh.length) {
|
|
4906
|
+
const seen = staged(id);
|
|
4907
|
+
for (const c of fresh) seen.add(`${id}:${c.repo}:conflict:${c.headSha}`);
|
|
4908
|
+
const what = fresh.map((c) => `#${c.number}${c.base ? ` (into ${c.base})` : ""}`).join(", ");
|
|
4909
|
+
if (await tellThenRecord(id, conflictMessage(fresh, session.isGroup, deps.contextShare?.(session)), seen))
|
|
4910
|
+
note(`merge conflict on ${what}: asked its Claude to merge the base in and resolve it${await wakeNote(id)}`, "action");
|
|
4911
|
+
else note(`merge conflict on ${what}; couldn't reach its Claude, trying again next time`, "warn");
|
|
4912
|
+
}
|
|
4913
|
+
}
|
|
4881
4914
|
if (opts.autoArchive) {
|
|
4882
4915
|
const verdict = deps.ownCheckout?.(session) ? null : autoArchiveVerdict(pre, session, now());
|
|
4883
4916
|
if (verdict?.archive && deps.busy?.(id)) note("every PR merged; archiving once its Claude finishes this turn");
|
|
@@ -5052,6 +5085,7 @@ function mountCiRoutes(app, opts) {
|
|
|
5052
5085
|
return {
|
|
5053
5086
|
autoArchive: w?.autoArchive !== false,
|
|
5054
5087
|
fixCi: w?.fixCi !== false,
|
|
5088
|
+
fixConflicts: w?.fixConflicts !== false,
|
|
5055
5089
|
reviewComments: w?.reviewComments !== false,
|
|
5056
5090
|
...w?.trustedBots ? { trustedBots: w.trustedBots } : {}
|
|
5057
5091
|
};
|
|
@@ -5360,40 +5394,13 @@ async function bridgeToHost(ws, sessionId, pending) {
|
|
|
5360
5394
|
}
|
|
5361
5395
|
|
|
5362
5396
|
// src/core/pty/agent-restart.ts
|
|
5363
|
-
import fs12 from "fs";
|
|
5364
|
-
|
|
5365
|
-
// src/core/platform/find-on-path.ts
|
|
5366
5397
|
import fs11 from "fs";
|
|
5367
|
-
import path14 from "path";
|
|
5368
|
-
function findOnPath(cmd, env = process.env, platform = process.platform) {
|
|
5369
|
-
const win = platform === "win32";
|
|
5370
|
-
const isFile = (p) => {
|
|
5371
|
-
try {
|
|
5372
|
-
const st = fs11.statSync(p);
|
|
5373
|
-
return st.isFile() && (win || (st.mode & 73) !== 0);
|
|
5374
|
-
} catch {
|
|
5375
|
-
return false;
|
|
5376
|
-
}
|
|
5377
|
-
};
|
|
5378
|
-
const pathExt = (env.PATHEXT ?? env.Pathext ?? ".COM;.EXE;.BAT;.CMD").split(";").filter(Boolean).map((e) => e.toLowerCase());
|
|
5379
|
-
const hasExt = pathExt.includes(path14.extname(cmd).toLowerCase());
|
|
5380
|
-
const candidates = (base) => !win || hasExt ? [base] : pathExt.map((e) => base + e);
|
|
5381
|
-
if (cmd.includes("/") || win && cmd.includes("\\")) return candidates(cmd).find(isFile) ?? null;
|
|
5382
|
-
const dirs = (env.PATH ?? env.Path ?? "").split(win ? ";" : path14.delimiter).filter(Boolean);
|
|
5383
|
-
for (const dir of dirs) {
|
|
5384
|
-
const hit = candidates(path14.join(dir, cmd)).find(isFile);
|
|
5385
|
-
if (hit) return hit;
|
|
5386
|
-
}
|
|
5387
|
-
return null;
|
|
5388
|
-
}
|
|
5389
|
-
|
|
5390
|
-
// src/core/pty/agent-restart.ts
|
|
5391
5398
|
var PACKED_MTIME_BEFORE = Date.parse("1990-01-01T00:00:00Z");
|
|
5392
5399
|
function installedAt(cmd, find = findOnPath) {
|
|
5393
5400
|
const file = find(cmd);
|
|
5394
5401
|
if (!file) return null;
|
|
5395
5402
|
try {
|
|
5396
|
-
return installTime(
|
|
5403
|
+
return installTime(fs11.statSync(fs11.realpathSync(file)));
|
|
5397
5404
|
} catch {
|
|
5398
5405
|
return null;
|
|
5399
5406
|
}
|
|
@@ -5603,7 +5610,7 @@ function sleepCandidates(ptys, now, afterMs, busy, keep = /* @__PURE__ */ new Se
|
|
|
5603
5610
|
function computeSessionDiff(s, base) {
|
|
5604
5611
|
const resolved = s.paths.map((p) => resolveRepoDiff(p, base, s.baseBranches?.[p] ?? s.baseBranch));
|
|
5605
5612
|
const repos = s.paths.map((p, i) => ({
|
|
5606
|
-
name:
|
|
5613
|
+
name: path14.basename(p),
|
|
5607
5614
|
root: p,
|
|
5608
5615
|
resolvedBase: resolved[i].resolvedBase,
|
|
5609
5616
|
files: computeDiff({ root: p, diffArg: resolved[i].diffArg })
|
|
@@ -5654,7 +5661,7 @@ async function startWebServer(opts = {}) {
|
|
|
5654
5661
|
let activityWatcher = null;
|
|
5655
5662
|
if (!lean) {
|
|
5656
5663
|
try {
|
|
5657
|
-
const roots = activityRoots().filter((r) =>
|
|
5664
|
+
const roots = activityRoots().filter((r) => fs12.existsSync(r));
|
|
5658
5665
|
if (roots.length > 0) {
|
|
5659
5666
|
activityWatcher = createFsWatcher({
|
|
5660
5667
|
roots,
|
|
@@ -5705,7 +5712,7 @@ async function startWebServer(opts = {}) {
|
|
|
5705
5712
|
}, 500);
|
|
5706
5713
|
}
|
|
5707
5714
|
});
|
|
5708
|
-
const repoNames = (s) => s.isGroup ? s.paths.map((p) =>
|
|
5715
|
+
const repoNames = (s) => s.isGroup ? s.paths.map((p) => path14.basename(p)) : [s.target];
|
|
5709
5716
|
const diffStatFor = (id, s, hasStatus) => wantsDiffStat(s, hasStatus) ? diffStats.get(id, s.paths, repoNames(s)) : null;
|
|
5710
5717
|
const archivedRow = createArchivedRows();
|
|
5711
5718
|
app.get("/api/sessions", (c) => {
|
|
@@ -6175,7 +6182,7 @@ async function startWebServer(opts = {}) {
|
|
|
6175
6182
|
updatesTimer?.unref?.();
|
|
6176
6183
|
const desktopFile = desktopUpdatePath();
|
|
6177
6184
|
const onDesktopUpdate = () => broadcast("updates-changed", { ts: Date.now() });
|
|
6178
|
-
if (jobs)
|
|
6185
|
+
if (jobs) fs12.watchFile(desktopFile, { interval: 3e3 }, onDesktopUpdate);
|
|
6179
6186
|
app.get("/api/pty-host/health", (c) => c.json(hostHealth(hostBeat())));
|
|
6180
6187
|
let lastHostState = hostHealth(hostBeat()).state;
|
|
6181
6188
|
const hostTick = lean ? null : setInterval(() => {
|
|
@@ -6240,7 +6247,7 @@ async function startWebServer(opts = {}) {
|
|
|
6240
6247
|
if (timeFirst) clearTimeout(timeFirst);
|
|
6241
6248
|
if (timeTimer) clearInterval(timeTimer);
|
|
6242
6249
|
timeKeeper?.stop();
|
|
6243
|
-
|
|
6250
|
+
fs12.unwatchFile(desktopFile, onDesktopUpdate);
|
|
6244
6251
|
for (const t of conversationSyncs.values()) clearTimeout(t);
|
|
6245
6252
|
clearTimeout(sweepTimer);
|
|
6246
6253
|
activityWatcher?.stop();
|
|
@@ -6263,11 +6270,11 @@ async function startWebServer(opts = {}) {
|
|
|
6263
6270
|
}
|
|
6264
6271
|
|
|
6265
6272
|
// src/core/platform/autostart.ts
|
|
6266
|
-
import
|
|
6267
|
-
import
|
|
6273
|
+
import fs13 from "fs";
|
|
6274
|
+
import path15 from "path";
|
|
6268
6275
|
function startupScriptPath() {
|
|
6269
6276
|
if (process.platform !== "win32" || !process.env.APPDATA) return null;
|
|
6270
|
-
return
|
|
6277
|
+
return path15.join(process.env.APPDATA, "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "work-web.vbs");
|
|
6271
6278
|
}
|
|
6272
6279
|
function vbsQuote(s) {
|
|
6273
6280
|
return '"' + s.replace(/"/g, '""') + '"';
|
|
@@ -6285,11 +6292,11 @@ function setAutostart(enabled, workBin) {
|
|
|
6285
6292
|
const file = startupScriptPath();
|
|
6286
6293
|
if (!file) throw new Error("Autostart is only supported on Windows so far.");
|
|
6287
6294
|
if (enabled) {
|
|
6288
|
-
|
|
6289
|
-
|
|
6295
|
+
fs13.mkdirSync(path15.dirname(file), { recursive: true });
|
|
6296
|
+
fs13.writeFileSync(file, buildStartupScript(process.execPath, workBin), "utf-8");
|
|
6290
6297
|
} else {
|
|
6291
6298
|
try {
|
|
6292
|
-
|
|
6299
|
+
fs13.unlinkSync(file);
|
|
6293
6300
|
} catch {
|
|
6294
6301
|
}
|
|
6295
6302
|
}
|
|
@@ -6333,7 +6340,7 @@ function createDemoRepos(liveTargets) {
|
|
|
6333
6340
|
/** GET /api/projects: what New worktree offers, as the real one reads config. */
|
|
6334
6341
|
projects() {
|
|
6335
6342
|
return {
|
|
6336
|
-
singles: Object.entries(repos).map(([name,
|
|
6343
|
+
singles: Object.entries(repos).map(([name, path16]) => ({ name, kind: "single", path: path16 })),
|
|
6337
6344
|
groups: Object.entries(groups).map(([name, members]) => ({ name, kind: "group", members }))
|
|
6338
6345
|
};
|
|
6339
6346
|
},
|
|
@@ -6375,12 +6382,12 @@ function createDemoRepos(liveTargets) {
|
|
|
6375
6382
|
}));
|
|
6376
6383
|
return { roots: [root], repos: rows, groups: groupRows };
|
|
6377
6384
|
},
|
|
6378
|
-
enroll(alias,
|
|
6379
|
-
if (!found.some((f) => f.path ===
|
|
6380
|
-
const problem = enrollProblem(alias,
|
|
6385
|
+
enroll(alias, path16) {
|
|
6386
|
+
if (!found.some((f) => f.path === path16)) throw new DemoRepoError(`${path16} is not the top folder of a git repository`);
|
|
6387
|
+
const problem = enrollProblem(alias, path16, config());
|
|
6381
6388
|
if (problem) throw new DemoRepoError(problem);
|
|
6382
|
-
repos[alias] =
|
|
6383
|
-
ignored.delete(
|
|
6389
|
+
repos[alias] = path16;
|
|
6390
|
+
ignored.delete(path16);
|
|
6384
6391
|
},
|
|
6385
6392
|
remove(alias, force) {
|
|
6386
6393
|
if (!(alias in repos)) throw new DemoRepoError(`no repo \u201C${alias}\u201D`);
|
|
@@ -6389,9 +6396,9 @@ function createDemoRepos(liveTargets) {
|
|
|
6389
6396
|
delete repos[alias];
|
|
6390
6397
|
for (const g of Object.keys(groups)) groups[g] = groups[g].filter((m) => m !== alias);
|
|
6391
6398
|
},
|
|
6392
|
-
ignore(
|
|
6393
|
-
if (on) ignored.add(
|
|
6394
|
-
else ignored.delete(
|
|
6399
|
+
ignore(path16, on) {
|
|
6400
|
+
if (on) ignored.add(path16);
|
|
6401
|
+
else ignored.delete(path16);
|
|
6395
6402
|
},
|
|
6396
6403
|
saveGroup(name, members, creating) {
|
|
6397
6404
|
const problem = groupProblem(name, members, config(), { creating });
|
|
@@ -7761,20 +7768,20 @@ function demoCodeFiles(repos, group) {
|
|
|
7761
7768
|
})
|
|
7762
7769
|
};
|
|
7763
7770
|
}
|
|
7764
|
-
function demoCodeFile(repos, group, repo,
|
|
7771
|
+
function demoCodeFile(repos, group, repo, path16) {
|
|
7765
7772
|
if (repo === "") {
|
|
7766
|
-
if (!group ||
|
|
7773
|
+
if (!group || path16 !== "CLAUDE.md") return null;
|
|
7767
7774
|
const text2 = `# Group instructions
|
|
7768
7775
|
|
|
7769
7776
|
Repos: ${repos.map((r2) => r2.name).join(", ")}.
|
|
7770
7777
|
`;
|
|
7771
|
-
return { repo, path:
|
|
7778
|
+
return { repo, path: path16, size: text2.length, text: text2 };
|
|
7772
7779
|
}
|
|
7773
7780
|
const r = repos.find((x) => x.name === repo);
|
|
7774
7781
|
if (!r) return null;
|
|
7775
|
-
const changed = r.changed.find((f) => f.path ===
|
|
7776
|
-
const text = changed ? newSide(changed) : COMMON[
|
|
7777
|
-
return text === void 0 ? null : { repo, path:
|
|
7782
|
+
const changed = r.changed.find((f) => f.path === path16 && f.status !== "deleted");
|
|
7783
|
+
const text = changed ? newSide(changed) : COMMON[path16]?.replace(/\{repo\}/g, repo);
|
|
7784
|
+
return text === void 0 ? null : { repo, path: path16, size: text.length, text };
|
|
7778
7785
|
}
|
|
7779
7786
|
function demoCodeSearch(repos, group, query) {
|
|
7780
7787
|
const q = query.trim();
|
|
@@ -7783,12 +7790,12 @@ function demoCodeSearch(repos, group, query) {
|
|
|
7783
7790
|
const text = [];
|
|
7784
7791
|
const fold = (x) => ignoresCase(q) ? x.toLowerCase() : x;
|
|
7785
7792
|
for (const r of demoCodeFiles(repos, group).repos) {
|
|
7786
|
-
for (const
|
|
7787
|
-
const lines = (demoCodeFile(repos, group, r.name,
|
|
7793
|
+
for (const path16 of r.files) {
|
|
7794
|
+
const lines = (demoCodeFile(repos, group, r.name, path16)?.text ?? "").split("\n");
|
|
7788
7795
|
lines.forEach((line, i) => {
|
|
7789
|
-
const d = declarationOf(
|
|
7790
|
-
if (d) symbols.push({ ...d, repo: r.name, path:
|
|
7791
|
-
if (fold(line).includes(fold(q))) text.push({ repo: r.name, path:
|
|
7796
|
+
const d = declarationOf(path16, line);
|
|
7797
|
+
if (d) symbols.push({ ...d, repo: r.name, path: path16, line: i + 1, text: line.trim() });
|
|
7798
|
+
if (fold(line).includes(fold(q))) text.push({ repo: r.name, path: path16, line: i + 1, text: line });
|
|
7792
7799
|
});
|
|
7793
7800
|
}
|
|
7794
7801
|
}
|
|
@@ -9039,6 +9046,7 @@ var webCommand = {
|
|
|
9039
9046
|
process.exit(1);
|
|
9040
9047
|
}
|
|
9041
9048
|
clearWebDiscovery();
|
|
9049
|
+
if (!lean) ensureAgentPath();
|
|
9042
9050
|
configurePtyPool({ workBin: resolveWorkBinPath(process.argv[1]) });
|
|
9043
9051
|
let shutdown = () => {
|
|
9044
9052
|
};
|
|
@@ -9188,4 +9196,4 @@ export {
|
|
|
9188
9196
|
stopExisting,
|
|
9189
9197
|
webCommand
|
|
9190
9198
|
};
|
|
9191
|
-
//# sourceMappingURL=web-
|
|
9199
|
+
//# sourceMappingURL=web-DSJT4HSI.js.map
|