@moberg_hr/work-tree 2.2.1 → 2.3.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.
Files changed (243) hide show
  1. package/README.md +2 -2
  2. package/dist/{answer-OF2QNF4A.js → answer-UWI22VOE.js} +11 -11
  3. package/dist/{attach-PAFAZ2EH.js → attach-HYHEXW5J.js} +14 -14
  4. package/dist/bin.js +5 -5
  5. package/dist/{block-3LEG4LKJ.js → block-A25XE7HC.js} +11 -11
  6. package/dist/{broadcast-ZDIL7UBP.js → broadcast-AG7P5BKQ.js} +8 -8
  7. package/dist/{catchup-ZZ5HZJIT.js → catchup-VTGG7BAR.js} +14 -14
  8. package/dist/{chunk-LBQR7KTC.js → chunk-3D63HGOG.js} +3 -3
  9. package/dist/{chunk-4KZBZA5D.js → chunk-3GIH4WTA.js} +3 -2
  10. package/dist/chunk-3GIH4WTA.js.map +1 -0
  11. package/dist/{chunk-UDOXLAE7.js → chunk-4P533364.js} +4 -4
  12. package/dist/{chunk-XIL4QZFW.js → chunk-5EGGS6Y6.js} +6 -6
  13. package/dist/{chunk-5PAPD6VT.js → chunk-5WM24P5N.js} +2 -2
  14. package/dist/{chunk-3GAYLP7W.js → chunk-722K7XWW.js} +4 -4
  15. package/dist/chunk-72IRO7WA.js +9 -0
  16. package/dist/{chunk-TN2TXRHS.js → chunk-75I3DHVU.js} +3 -3
  17. package/dist/{chunk-TROTIHD5.js → chunk-7OBX4MJY.js} +4 -4
  18. package/dist/{chunk-R4M5DDSN.js → chunk-7W6I4VXA.js} +7 -7
  19. package/dist/{chunk-EDAOG56H.js → chunk-B2Q5BYOD.js} +5 -5
  20. package/dist/{chunk-JQXUIKU5.js → chunk-B3HIALTV.js} +2 -2
  21. package/dist/{chunk-ZVJEWMJN.js → chunk-C3E7XETB.js} +5 -5
  22. package/dist/{chunk-UOSZFFNY.js → chunk-CALBDLDJ.js} +3 -3
  23. package/dist/{chunk-ISZM5C22.js → chunk-CFO2JMKW.js} +15 -15
  24. package/dist/{chunk-NBI2INQS.js → chunk-CGMFZOS5.js} +25 -13
  25. package/dist/chunk-CGMFZOS5.js.map +1 -0
  26. package/dist/{chunk-U4YUMSJY.js → chunk-CIAXJC5H.js} +4 -4
  27. package/dist/{chunk-JTHILJFB.js → chunk-DMUZIBPM.js} +2 -2
  28. package/dist/{chunk-INVFNKU7.js → chunk-DRYY4BPY.js} +5 -5
  29. package/dist/{chunk-ZWD64IDK.js → chunk-EOETYHTD.js} +2 -2
  30. package/dist/{chunk-RT4QZRTC.js → chunk-GOHSGTR5.js} +9 -5
  31. package/dist/chunk-GOHSGTR5.js.map +1 -0
  32. package/dist/{chunk-OE34YZFO.js → chunk-H7KH5CDM.js} +4 -4
  33. package/dist/{chunk-BZA7NKWU.js → chunk-HMK3INUS.js} +2 -2
  34. package/dist/{chunk-KWU35O5S.js → chunk-HWIRY3WO.js} +6 -6
  35. package/dist/{chunk-IKYZ5CJZ.js → chunk-HWP4NEYL.js} +2 -2
  36. package/dist/{chunk-LGDECE7V.js → chunk-IJ6YYFXY.js} +3 -3
  37. package/dist/{chunk-DLSAAP3S.js → chunk-IVPV6VPW.js} +3 -3
  38. package/dist/{chunk-MRXD2NSO.js → chunk-KNYEQLIF.js} +2 -2
  39. package/dist/{chunk-77SVSNME.js → chunk-KPGO5VFR.js} +5 -5
  40. package/dist/{chunk-L6RUHCKB.js → chunk-KUCMJHQW.js} +2 -2
  41. package/dist/{chunk-RK6NHIL6.js → chunk-LMLVJEY7.js} +3 -3
  42. package/dist/{chunk-X6VBITXV.js → chunk-MEK7BIVS.js} +9 -9
  43. package/dist/{chunk-26IZBYVL.js → chunk-MF6LDFDW.js} +2 -2
  44. package/dist/{chunk-U5V5J237.js → chunk-NER44YB7.js} +8 -8
  45. package/dist/{chunk-C7OK4XEZ.js → chunk-NM4SABMQ.js} +9 -6
  46. package/dist/chunk-NM4SABMQ.js.map +1 -0
  47. package/dist/{chunk-3B3UMUE6.js → chunk-OB63GDEC.js} +2 -2
  48. package/dist/{chunk-4CVUV2SE.js → chunk-OBFHGN7Q.js} +2 -2
  49. package/dist/{chunk-KSVZVHTI.js → chunk-PIEYQBWL.js} +9 -9
  50. package/dist/chunk-PSUJZUYX.js +47 -0
  51. package/dist/chunk-PSUJZUYX.js.map +1 -0
  52. package/dist/{chunk-E3Y4ZACK.js → chunk-QDKLIYGR.js} +2 -2
  53. package/dist/{chunk-M4YXBQZN.js → chunk-QQNPAZNP.js} +9 -9
  54. package/dist/{chunk-LPJEV4R2.js → chunk-R5QLAXNJ.js} +2 -2
  55. package/dist/{chunk-62C3CJ5M.js → chunk-RFE4EBUP.js} +3 -3
  56. package/dist/{chunk-QXUHOISF.js → chunk-ROLNJOSE.js} +2 -1
  57. package/dist/chunk-ROLNJOSE.js.map +1 -0
  58. package/dist/{chunk-XLP24AH5.js → chunk-S5RS4YZT.js} +51 -51
  59. package/dist/{chunk-U27Q3DVF.js → chunk-T6YP6GPK.js} +3 -3
  60. package/dist/{chunk-2GX3IOSV.js → chunk-TBOE7DG5.js} +11 -7
  61. package/dist/chunk-TBOE7DG5.js.map +1 -0
  62. package/dist/{chunk-WH3SPT3N.js → chunk-TKL4B2OI.js} +3 -3
  63. package/dist/{chunk-TMNIOM4Y.js → chunk-U3NYRIFH.js} +2 -2
  64. package/dist/{chunk-453EGT2R.js → chunk-WMOXIFBF.js} +15 -10
  65. package/dist/chunk-WMOXIFBF.js.map +1 -0
  66. package/dist/{chunk-EXJYPF64.js → chunk-WRUQPVTS.js} +4 -4
  67. package/dist/{chunk-OIQY4OKO.js → chunk-XDBMLTFY.js} +4 -4
  68. package/dist/{chunk-KTFDSJUD.js → chunk-Y2HNFNCS.js} +61 -19
  69. package/dist/chunk-Y2HNFNCS.js.map +1 -0
  70. package/dist/{chunk-ZR2KWY6V.js → chunk-Y33WKESH.js} +2 -2
  71. package/dist/{chunk-RKEY4573.js → chunk-YIODX4PM.js} +2 -2
  72. package/dist/chunk-YV2MPIFG.js +123 -0
  73. package/dist/chunk-YV2MPIFG.js.map +1 -0
  74. package/dist/{chunk-46VAWZZX.js → chunk-ZSXMIPU4.js} +9 -5
  75. package/dist/chunk-ZSXMIPU4.js.map +1 -0
  76. package/dist/{cleanup-W5RGZ3Q6.js → cleanup-Q6AQXSRS.js} +28 -27
  77. package/dist/{cleanup-W5RGZ3Q6.js.map → cleanup-Q6AQXSRS.js.map} +1 -1
  78. package/dist/cli-5PNLG3YH.js +18 -0
  79. package/dist/{command-hook-installer-7JB3AC2S.js → command-hook-installer-2ZFJJGKY.js} +4 -4
  80. package/dist/{config-MR7UZCST.js → config-DOPH6NOU.js} +12 -12
  81. package/dist/{diff-URDY6YMT.js → diff-DZJLSTRO.js} +12 -12
  82. package/dist/{digest-D4FEZNLU.js → digest-QTNPN2E6.js} +10 -10
  83. package/dist/{fork-7EUVNEB7.js → fork-HDJ54HH2.js} +26 -25
  84. package/dist/{fork-7EUVNEB7.js.map → fork-HDJ54HH2.js.map} +1 -1
  85. package/dist/{hook-6AD3FRKZ.js → hook-V7JNOY2E.js} +12 -12
  86. package/dist/{hydrate-ZJZPM6YW.js → hydrate-NGZ26R2Y.js} +8 -8
  87. package/dist/{init-LWL4WVSJ.js → init-BQIBLPP5.js} +22 -14
  88. package/dist/init-BQIBLPP5.js.map +1 -0
  89. package/dist/{install-skills-TQVWZDUD.js → install-skills-LCXJIHK4.js} +4 -4
  90. package/dist/install-skills-bin.js +3 -3
  91. package/dist/{list-YTK2GLND.js → list-4KATUVO3.js} +5 -5
  92. package/dist/{move-URV7XIDT.js → move-LYO5J2ZH.js} +18 -17
  93. package/dist/{move-URV7XIDT.js.map → move-LYO5J2ZH.js.map} +1 -1
  94. package/dist/{note-S6EGTEIL.js → note-7XR4YA6R.js} +11 -11
  95. package/dist/{overlaps-4T7NLTJH.js → overlaps-5WKQT3LX.js} +10 -10
  96. package/dist/{pin-KKQZ3AR6.js → pin-GJM3KSG7.js} +11 -11
  97. package/dist/{pr-5ZILTVDM.js → pr-YO7XSYUA.js} +12 -12
  98. package/dist/{prune-OK23KLHG.js → prune-BUGPJLLO.js} +27 -26
  99. package/dist/{prune-OK23KLHG.js.map → prune-BUGPJLLO.js.map} +1 -1
  100. package/dist/{pty-host-I5OJGWYA.js → pty-host-O5H4FKWF.js} +13 -9
  101. package/dist/pty-host-O5H4FKWF.js.map +1 -0
  102. package/dist/{read-NHK26F22.js → read-XMU63E3F.js} +10 -10
  103. package/dist/{recent-DNSOJQVQ.js → recent-73SHXIFU.js} +8 -8
  104. package/dist/{remove-TZQVN2EG.js → remove-ZXDVVOHF.js} +26 -25
  105. package/dist/{remove-TZQVN2EG.js.map → remove-ZXDVVOHF.js.map} +1 -1
  106. package/dist/{report-335HKCCY.js → report-TEIRRYH4.js} +4 -4
  107. package/dist/{restart-WHJDPDQA.js → restart-S4D7LD3A.js} +11 -11
  108. package/dist/{resume-BXIYEZM3.js → resume-YIIQIJCS.js} +8 -8
  109. package/dist/{run-4MQLY3XF.js → run-WN2O7EX7.js} +10 -8
  110. package/dist/run-WN2O7EX7.js.map +1 -0
  111. package/dist/{screen-URKN7PU6.js → screen-LX6XHNYN.js} +11 -11
  112. package/dist/{search-MNBYJEL7.js → search-DCDJVBKW.js} +7 -7
  113. package/dist/{section-B3OQFADP.js → section-XD46IHMW.js} +11 -11
  114. package/dist/{send-2QTMQQ6E.js → send-P4NILVGL.js} +12 -12
  115. package/dist/{sessions-4B22O45G.js → sessions-POSS5NRV.js} +20 -20
  116. package/dist/{snooze-LSCCM3QT.js → snooze-ONAR2WNP.js} +10 -10
  117. package/dist/{start-KVNLZRF5.js → start-6YKHYYX5.js} +11 -11
  118. package/dist/{state-S776FFV5.js → state-NV4FQNMT.js} +7 -6
  119. package/dist/state-NV4FQNMT.js.map +1 -0
  120. package/dist/{status-UEMXFLZZ.js → status-KYRZRITO.js} +8 -8
  121. package/dist/{stop-NEQBEYEY.js → stop-QU372WAY.js} +11 -11
  122. package/dist/{sync-BHEY6RXE.js → sync-JR24WVJ7.js} +27 -26
  123. package/dist/{sync-BHEY6RXE.js.map → sync-JR24WVJ7.js.map} +1 -1
  124. package/dist/{time-ON27QFG4.js → time-FYXXC5XC.js} +12 -12
  125. package/dist/time-actions-L3OWQHEX.js +15 -0
  126. package/dist/{timesheet-HK5CHAA7.js → timesheet-57EG6ABE.js} +14 -14
  127. package/dist/{todo-2GKRUO4D.js → todo-UDYY4QTY.js} +6 -6
  128. package/dist/{tree-C5BEEKLO.js → tree-RDPJOIDT.js} +23 -22
  129. package/dist/{tree-C5BEEKLO.js.map → tree-RDPJOIDT.js.map} +1 -1
  130. package/dist/{update-M4KS23HB.js → update-OZXFQMYI.js} +13 -13
  131. package/dist/{wait-5QVWSCOL.js → wait-3MQST3FP.js} +11 -11
  132. package/dist/wd-bin.js +7 -7
  133. package/dist/web/assets/{PtyView-DIEUYCTu.js → PtyView-CVskPWtH.js} +2 -2
  134. package/dist/web/assets/{PtyView-DIEUYCTu.js.map → PtyView-CVskPWtH.js.map} +1 -1
  135. package/dist/web/assets/{index-Bi1IRGtb.js → index-CqY-C3y-.js} +5 -5
  136. package/dist/web/assets/index-CqY-C3y-.js.map +1 -0
  137. package/dist/web/index.html +1 -1
  138. package/dist/{web-CT3EZNBL.js → web-GYU324DV.js} +182 -122
  139. package/dist/web-GYU324DV.js.map +1 -0
  140. package/npm-shrinkwrap.json +2 -2
  141. package/package.json +1 -1
  142. package/dist/chunk-2GX3IOSV.js.map +0 -1
  143. package/dist/chunk-453EGT2R.js.map +0 -1
  144. package/dist/chunk-46VAWZZX.js.map +0 -1
  145. package/dist/chunk-4KZBZA5D.js.map +0 -1
  146. package/dist/chunk-6MLU6MNS.js +0 -9
  147. package/dist/chunk-C7OK4XEZ.js.map +0 -1
  148. package/dist/chunk-KTFDSJUD.js.map +0 -1
  149. package/dist/chunk-NBI2INQS.js.map +0 -1
  150. package/dist/chunk-QXUHOISF.js.map +0 -1
  151. package/dist/chunk-RT4QZRTC.js.map +0 -1
  152. package/dist/cli-3BI62MNT.js +0 -18
  153. package/dist/init-LWL4WVSJ.js.map +0 -1
  154. package/dist/pty-host-I5OJGWYA.js.map +0 -1
  155. package/dist/run-4MQLY3XF.js.map +0 -1
  156. package/dist/state-S776FFV5.js.map +0 -1
  157. package/dist/time-actions-ZRD74CPW.js +0 -15
  158. package/dist/web/assets/index-Bi1IRGtb.js.map +0 -1
  159. package/dist/web-CT3EZNBL.js.map +0 -1
  160. /package/dist/{answer-OF2QNF4A.js.map → answer-UWI22VOE.js.map} +0 -0
  161. /package/dist/{attach-PAFAZ2EH.js.map → attach-HYHEXW5J.js.map} +0 -0
  162. /package/dist/{block-3LEG4LKJ.js.map → block-A25XE7HC.js.map} +0 -0
  163. /package/dist/{broadcast-ZDIL7UBP.js.map → broadcast-AG7P5BKQ.js.map} +0 -0
  164. /package/dist/{catchup-ZZ5HZJIT.js.map → catchup-VTGG7BAR.js.map} +0 -0
  165. /package/dist/{chunk-LBQR7KTC.js.map → chunk-3D63HGOG.js.map} +0 -0
  166. /package/dist/{chunk-UDOXLAE7.js.map → chunk-4P533364.js.map} +0 -0
  167. /package/dist/{chunk-XIL4QZFW.js.map → chunk-5EGGS6Y6.js.map} +0 -0
  168. /package/dist/{chunk-5PAPD6VT.js.map → chunk-5WM24P5N.js.map} +0 -0
  169. /package/dist/{chunk-3GAYLP7W.js.map → chunk-722K7XWW.js.map} +0 -0
  170. /package/dist/{chunk-6MLU6MNS.js.map → chunk-72IRO7WA.js.map} +0 -0
  171. /package/dist/{chunk-TN2TXRHS.js.map → chunk-75I3DHVU.js.map} +0 -0
  172. /package/dist/{chunk-TROTIHD5.js.map → chunk-7OBX4MJY.js.map} +0 -0
  173. /package/dist/{chunk-R4M5DDSN.js.map → chunk-7W6I4VXA.js.map} +0 -0
  174. /package/dist/{chunk-EDAOG56H.js.map → chunk-B2Q5BYOD.js.map} +0 -0
  175. /package/dist/{chunk-JQXUIKU5.js.map → chunk-B3HIALTV.js.map} +0 -0
  176. /package/dist/{chunk-ZVJEWMJN.js.map → chunk-C3E7XETB.js.map} +0 -0
  177. /package/dist/{chunk-UOSZFFNY.js.map → chunk-CALBDLDJ.js.map} +0 -0
  178. /package/dist/{chunk-ISZM5C22.js.map → chunk-CFO2JMKW.js.map} +0 -0
  179. /package/dist/{chunk-U4YUMSJY.js.map → chunk-CIAXJC5H.js.map} +0 -0
  180. /package/dist/{chunk-JTHILJFB.js.map → chunk-DMUZIBPM.js.map} +0 -0
  181. /package/dist/{chunk-INVFNKU7.js.map → chunk-DRYY4BPY.js.map} +0 -0
  182. /package/dist/{chunk-ZWD64IDK.js.map → chunk-EOETYHTD.js.map} +0 -0
  183. /package/dist/{chunk-OE34YZFO.js.map → chunk-H7KH5CDM.js.map} +0 -0
  184. /package/dist/{chunk-BZA7NKWU.js.map → chunk-HMK3INUS.js.map} +0 -0
  185. /package/dist/{chunk-KWU35O5S.js.map → chunk-HWIRY3WO.js.map} +0 -0
  186. /package/dist/{chunk-IKYZ5CJZ.js.map → chunk-HWP4NEYL.js.map} +0 -0
  187. /package/dist/{chunk-LGDECE7V.js.map → chunk-IJ6YYFXY.js.map} +0 -0
  188. /package/dist/{chunk-DLSAAP3S.js.map → chunk-IVPV6VPW.js.map} +0 -0
  189. /package/dist/{chunk-MRXD2NSO.js.map → chunk-KNYEQLIF.js.map} +0 -0
  190. /package/dist/{chunk-77SVSNME.js.map → chunk-KPGO5VFR.js.map} +0 -0
  191. /package/dist/{chunk-L6RUHCKB.js.map → chunk-KUCMJHQW.js.map} +0 -0
  192. /package/dist/{chunk-RK6NHIL6.js.map → chunk-LMLVJEY7.js.map} +0 -0
  193. /package/dist/{chunk-X6VBITXV.js.map → chunk-MEK7BIVS.js.map} +0 -0
  194. /package/dist/{chunk-26IZBYVL.js.map → chunk-MF6LDFDW.js.map} +0 -0
  195. /package/dist/{chunk-U5V5J237.js.map → chunk-NER44YB7.js.map} +0 -0
  196. /package/dist/{chunk-3B3UMUE6.js.map → chunk-OB63GDEC.js.map} +0 -0
  197. /package/dist/{chunk-4CVUV2SE.js.map → chunk-OBFHGN7Q.js.map} +0 -0
  198. /package/dist/{chunk-KSVZVHTI.js.map → chunk-PIEYQBWL.js.map} +0 -0
  199. /package/dist/{chunk-E3Y4ZACK.js.map → chunk-QDKLIYGR.js.map} +0 -0
  200. /package/dist/{chunk-M4YXBQZN.js.map → chunk-QQNPAZNP.js.map} +0 -0
  201. /package/dist/{chunk-LPJEV4R2.js.map → chunk-R5QLAXNJ.js.map} +0 -0
  202. /package/dist/{chunk-62C3CJ5M.js.map → chunk-RFE4EBUP.js.map} +0 -0
  203. /package/dist/{chunk-XLP24AH5.js.map → chunk-S5RS4YZT.js.map} +0 -0
  204. /package/dist/{chunk-U27Q3DVF.js.map → chunk-T6YP6GPK.js.map} +0 -0
  205. /package/dist/{chunk-WH3SPT3N.js.map → chunk-TKL4B2OI.js.map} +0 -0
  206. /package/dist/{chunk-TMNIOM4Y.js.map → chunk-U3NYRIFH.js.map} +0 -0
  207. /package/dist/{chunk-EXJYPF64.js.map → chunk-WRUQPVTS.js.map} +0 -0
  208. /package/dist/{chunk-OIQY4OKO.js.map → chunk-XDBMLTFY.js.map} +0 -0
  209. /package/dist/{chunk-ZR2KWY6V.js.map → chunk-Y33WKESH.js.map} +0 -0
  210. /package/dist/{chunk-RKEY4573.js.map → chunk-YIODX4PM.js.map} +0 -0
  211. /package/dist/{cli-3BI62MNT.js.map → cli-5PNLG3YH.js.map} +0 -0
  212. /package/dist/{command-hook-installer-7JB3AC2S.js.map → command-hook-installer-2ZFJJGKY.js.map} +0 -0
  213. /package/dist/{config-MR7UZCST.js.map → config-DOPH6NOU.js.map} +0 -0
  214. /package/dist/{diff-URDY6YMT.js.map → diff-DZJLSTRO.js.map} +0 -0
  215. /package/dist/{digest-D4FEZNLU.js.map → digest-QTNPN2E6.js.map} +0 -0
  216. /package/dist/{hook-6AD3FRKZ.js.map → hook-V7JNOY2E.js.map} +0 -0
  217. /package/dist/{hydrate-ZJZPM6YW.js.map → hydrate-NGZ26R2Y.js.map} +0 -0
  218. /package/dist/{install-skills-TQVWZDUD.js.map → install-skills-LCXJIHK4.js.map} +0 -0
  219. /package/dist/{list-YTK2GLND.js.map → list-4KATUVO3.js.map} +0 -0
  220. /package/dist/{note-S6EGTEIL.js.map → note-7XR4YA6R.js.map} +0 -0
  221. /package/dist/{overlaps-4T7NLTJH.js.map → overlaps-5WKQT3LX.js.map} +0 -0
  222. /package/dist/{pin-KKQZ3AR6.js.map → pin-GJM3KSG7.js.map} +0 -0
  223. /package/dist/{pr-5ZILTVDM.js.map → pr-YO7XSYUA.js.map} +0 -0
  224. /package/dist/{read-NHK26F22.js.map → read-XMU63E3F.js.map} +0 -0
  225. /package/dist/{recent-DNSOJQVQ.js.map → recent-73SHXIFU.js.map} +0 -0
  226. /package/dist/{report-335HKCCY.js.map → report-TEIRRYH4.js.map} +0 -0
  227. /package/dist/{restart-WHJDPDQA.js.map → restart-S4D7LD3A.js.map} +0 -0
  228. /package/dist/{resume-BXIYEZM3.js.map → resume-YIIQIJCS.js.map} +0 -0
  229. /package/dist/{screen-URKN7PU6.js.map → screen-LX6XHNYN.js.map} +0 -0
  230. /package/dist/{search-MNBYJEL7.js.map → search-DCDJVBKW.js.map} +0 -0
  231. /package/dist/{section-B3OQFADP.js.map → section-XD46IHMW.js.map} +0 -0
  232. /package/dist/{send-2QTMQQ6E.js.map → send-P4NILVGL.js.map} +0 -0
  233. /package/dist/{sessions-4B22O45G.js.map → sessions-POSS5NRV.js.map} +0 -0
  234. /package/dist/{snooze-LSCCM3QT.js.map → snooze-ONAR2WNP.js.map} +0 -0
  235. /package/dist/{start-KVNLZRF5.js.map → start-6YKHYYX5.js.map} +0 -0
  236. /package/dist/{status-UEMXFLZZ.js.map → status-KYRZRITO.js.map} +0 -0
  237. /package/dist/{stop-NEQBEYEY.js.map → stop-QU372WAY.js.map} +0 -0
  238. /package/dist/{time-ON27QFG4.js.map → time-FYXXC5XC.js.map} +0 -0
  239. /package/dist/{time-actions-ZRD74CPW.js.map → time-actions-L3OWQHEX.js.map} +0 -0
  240. /package/dist/{timesheet-HK5CHAA7.js.map → timesheet-57EG6ABE.js.map} +0 -0
  241. /package/dist/{todo-2GKRUO4D.js.map → todo-UDYY4QTY.js.map} +0 -0
  242. /package/dist/{update-M4KS23HB.js.map → update-OZXFQMYI.js.map} +0 -0
  243. /package/dist/{wait-5QVWSCOL.js.map → wait-3MQST3FP.js.map} +0 -0
@@ -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-3B3UMUE6.js";
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-EDAOG56H.js";
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-453EGT2R.js";
40
+ } from "./chunk-WMOXIFBF.js";
37
41
  import {
38
42
  createDigestSource
39
- } from "./chunk-INVFNKU7.js";
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-M4YXBQZN.js";
52
+ } from "./chunk-QQNPAZNP.js";
49
53
  import {
50
54
  DiffStatCache,
51
55
  findOverlaps,
52
56
  wantsDiffStat
53
- } from "./chunk-RK6NHIL6.js";
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-R4M5DDSN.js";
70
+ } from "./chunk-7W6I4VXA.js";
67
71
  import {
68
72
  defaultCleanupDeps
69
- } from "./chunk-KSVZVHTI.js";
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-JQXUIKU5.js";
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-DLSAAP3S.js";
94
+ } from "./chunk-IVPV6VPW.js";
91
95
  import {
92
96
  jiraWorklogPoster,
93
97
  logWorkDay,
94
98
  loggedDays,
95
99
  worklogSettings
96
- } from "./chunk-LPJEV4R2.js";
100
+ } from "./chunk-R5QLAXNJ.js";
97
101
  import {
98
102
  sessionWorkTime
99
- } from "./chunk-LGDECE7V.js";
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-WH3SPT3N.js";
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-ZVJEWMJN.js";
125
+ } from "./chunk-C3E7XETB.js";
122
126
  import {
123
127
  editorArgs,
124
128
  openUrl
125
- } from "./chunk-2GX3IOSV.js";
129
+ } from "./chunk-TBOE7DG5.js";
126
130
  import {
127
131
  archiveMergedSession,
128
132
  archiveWaiting,
129
133
  defaultArchiveDeps
130
- } from "./chunk-ISZM5C22.js";
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-26IZBYVL.js";
146
- import "./chunk-TN2TXRHS.js";
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-X6VBITXV.js";
155
+ } from "./chunk-MEK7BIVS.js";
152
156
  import {
153
157
  createInChild,
154
158
  createInProcess,
155
159
  oneAtATime
156
- } from "./chunk-XIL4QZFW.js";
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-NBI2INQS.js";
168
+ } from "./chunk-CGMFZOS5.js";
165
169
  import {
166
170
  isWorktreeFolder
167
- } from "./chunk-L6RUHCKB.js";
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-U5V5J237.js";
196
+ } from "./chunk-NER44YB7.js";
193
197
  import {
194
198
  dbPtySessions
195
- } from "./chunk-LBQR7KTC.js";
196
- import "./chunk-UOSZFFNY.js";
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-KWU35O5S.js";
216
+ } from "./chunk-HWIRY3WO.js";
213
217
  import {
214
218
  sessionStatusView,
215
219
  shownState
216
- } from "./chunk-TROTIHD5.js";
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-77SVSNME.js";
227
+ } from "./chunk-KPGO5VFR.js";
224
228
  import {
225
229
  runInternal,
226
230
  summarizeCheckpoint,
227
231
  throttleTrailing
228
- } from "./chunk-3GAYLP7W.js";
232
+ } from "./chunk-722K7XWW.js";
229
233
  import {
230
234
  computeDiff,
231
235
  computeRangeDiff,
232
236
  parseGitDiff
233
- } from "./chunk-OIQY4OKO.js";
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-IKYZ5CJZ.js";
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-6MLU6MNS.js";
252
+ } from "./chunk-72IRO7WA.js";
249
253
  import {
250
254
  resolveProjectTarget
251
- } from "./chunk-JTHILJFB.js";
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-U27Q3DVF.js";
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-ZR2KWY6V.js";
289
+ } from "./chunk-Y33WKESH.js";
286
290
  import {
287
291
  CONTEXT_WARN,
288
292
  describeView,
289
293
  writeAssistantContext
290
- } from "./chunk-62C3CJ5M.js";
294
+ } from "./chunk-RFE4EBUP.js";
291
295
  import {
292
296
  NOTE_NUDGE,
293
297
  findSessionForCwd,
294
298
  readPendingForSession,
295
299
  readPendingForWorktree
296
- } from "./chunk-UDOXLAE7.js";
300
+ } from "./chunk-4P533364.js";
297
301
  import "./chunk-ZSHWP2VS.js";
298
302
  import {
299
303
  getCommentFileStore
300
- } from "./chunk-E3Y4ZACK.js";
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-46VAWZZX.js";
312
+ } from "./chunk-ZSXMIPU4.js";
309
313
  import {
310
314
  enrollProblem,
311
315
  groupProblem,
312
316
  suggestAlias
313
- } from "./chunk-BZA7NKWU.js";
314
- import "./chunk-5PAPD6VT.js";
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-4KZBZA5D.js";
325
+ } from "./chunk-3GIH4WTA.js";
321
326
  import {
322
327
  git
323
- } from "./chunk-RKEY4573.js";
328
+ } from "./chunk-YIODX4PM.js";
324
329
  import {
325
330
  DECISION_MARKER,
326
331
  STAGE_WANTS_YOU,
@@ -394,18 +399,19 @@ import {
394
399
  turnInProgress,
395
400
  updateCheckpoint,
396
401
  writeArchiveRecord
397
- } from "./chunk-C7OK4XEZ.js";
402
+ } from "./chunk-NM4SABMQ.js";
398
403
  import {
399
404
  activityRoots,
400
405
  agentOf,
401
406
  agentWriteMs,
407
+ detachHere,
402
408
  isPidAlive,
403
409
  knownAgents,
404
410
  lineTimeOf,
405
411
  liveAgents,
406
412
  readJsonlSince,
407
413
  recentProcessTable
408
- } from "./chunk-KTFDSJUD.js";
414
+ } from "./chunk-Y2HNFNCS.js";
409
415
  import {
410
416
  spawn_default
411
417
  } from "./chunk-RCYI7SRA.js";
@@ -419,11 +425,11 @@ import {
419
425
  sessionIdFor,
420
426
  tx,
421
427
  withDb
422
- } from "./chunk-RT4QZRTC.js";
428
+ } from "./chunk-GOHSGTR5.js";
423
429
  import {
424
430
  report
425
- } from "./chunk-TMNIOM4Y.js";
426
- import "./chunk-ZWD64IDK.js";
431
+ } from "./chunk-U3NYRIFH.js";
432
+ import "./chunk-EOETYHTD.js";
427
433
  import {
428
434
  DEFAULT_PROMPTS,
429
435
  DEFAULT_TIME_SETTINGS,
@@ -431,13 +437,13 @@ import {
431
437
  getConfigDir,
432
438
  isWorkday,
433
439
  loadConfig
434
- } from "./chunk-QXUHOISF.js";
440
+ } from "./chunk-ROLNJOSE.js";
435
441
 
436
442
  // src/commands/web.ts
437
443
  import chalk from "chalk";
438
444
 
439
445
  // src/server/web-server.ts
440
- import fs13 from "fs";
446
+ import fs12 from "fs";
441
447
 
442
448
  // src/server/routes/session-control-routes.ts
443
449
  function realDeps(app) {
@@ -1039,9 +1045,9 @@ var NOT_NAMES = /* @__PURE__ */ new Set([
1039
1045
  "typeof",
1040
1046
  "await"
1041
1047
  ]);
1042
- function declarationOf(path17, text) {
1048
+ function declarationOf(path16, text) {
1043
1049
  for (const r of RULES) {
1044
- if (!r.ext.test(path17)) continue;
1050
+ if (!r.ext.test(path16)) continue;
1045
1051
  const m = r.re.exec(text);
1046
1052
  if (!m) continue;
1047
1053
  const name = r.name(m);
@@ -2231,7 +2237,7 @@ function describeStall(s) {
2231
2237
  }
2232
2238
 
2233
2239
  // src/server/web-server.ts
2234
- import path15 from "path";
2240
+ import path14 from "path";
2235
2241
  import { Hono } from "hono";
2236
2242
  import { streamSSE as streamSSE2 } from "hono/streaming";
2237
2243
 
@@ -2711,7 +2717,7 @@ function mountWorktreeRoutes(app, opts) {
2711
2717
  const editor = loadConfig()?.editor?.trim() || "code";
2712
2718
  const failed = await new Promise((resolve) => {
2713
2719
  try {
2714
- const child = crossSpawn2(editor, editorArgs(editor, folder, file), { detached: true, stdio: "ignore", windowsHide: true });
2720
+ const child = crossSpawn2(editor, editorArgs(editor, folder, file), { detached: detachHere(), stdio: "ignore", windowsHide: true });
2715
2721
  const settle = setTimeout(() => resolve(null), 1500);
2716
2722
  child.once("error", (err) => {
2717
2723
  clearTimeout(settle);
@@ -2743,9 +2749,10 @@ function mountWorktreeRoutes(app, opts) {
2743
2749
  const title = `${session.target} \xB7 ${session.branch || "(base)"}`.replace(/;/g, " ");
2744
2750
  try {
2745
2751
  const child = spawn("wt.exe", ["-w", "0", "nt", "--title", title, "-d", spec.cwd, process.execPath, getWorkBin(), "attach"], {
2746
- detached: true,
2747
2752
  stdio: "ignore",
2748
- shell: false
2753
+ shell: false,
2754
+ windowsHide: false
2755
+ // a Windows Terminal tab: the window is what was asked for
2749
2756
  });
2750
2757
  child.on("error", () => {
2751
2758
  });
@@ -3246,6 +3253,40 @@ function createSeenStores() {
3246
3253
  }
3247
3254
  });
3248
3255
  }
3256
+ var isObject = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
3257
+ var PR_STATES = /* @__PURE__ */ new Set(["OPEN", "MERGED", "CLOSED"]);
3258
+ function isSessionCi(v) {
3259
+ if (!isObject(v) || typeof v.checkedAt !== "string" || !Array.isArray(v.repos)) return false;
3260
+ return v.repos.every(
3261
+ (r) => isObject(r) && typeof r.name === "string" && typeof r.done === "boolean" && (r.pr === null || isObject(r.pr) && typeof r.pr.number === "number" && typeof r.pr.url === "string" && typeof r.pr.state === "string" && PR_STATES.has(r.pr.state) && typeof r.pr.headSha === "string") && (r.openThreads === void 0 || typeof r.openThreads === "number") && (r.threads === void 0 || Array.isArray(r.threads))
3262
+ );
3263
+ }
3264
+ function createCiStore() {
3265
+ return {
3266
+ load() {
3267
+ let rows;
3268
+ try {
3269
+ rows = withDb((d) => d.prepare("SELECT session_id, data FROM pr_watch_state").all());
3270
+ } catch {
3271
+ return [];
3272
+ }
3273
+ const out = [];
3274
+ for (const r of rows) {
3275
+ const ci = json.parse(r.data);
3276
+ if (isSessionCi(ci)) out.push([r.session_id, ci]);
3277
+ }
3278
+ return out;
3279
+ },
3280
+ save(sessionId, ci) {
3281
+ try {
3282
+ withDb(
3283
+ (d) => d.prepare("INSERT OR REPLACE INTO pr_watch_state (session_id, data) VALUES (?, ?)").run(sessionId, JSON.stringify(ci))
3284
+ );
3285
+ } catch {
3286
+ }
3287
+ }
3288
+ };
3289
+ }
3249
3290
 
3250
3291
  // src/core/status/notifier.ts
3251
3292
  var MESSAGES = {
@@ -3293,8 +3334,10 @@ function notifyDesktop(sessionName, kind, opts = {}) {
3293
3334
  const spawnFn = opts.spawnFn ?? spawn_default;
3294
3335
  try {
3295
3336
  const child = spawnFn(command.cmd, command.args, {
3296
- detached: true,
3297
- stdio: "ignore"
3337
+ // Windows' toast is a PowerShell run: hidden, and not detached, or its window flashes up with every notification.
3338
+ detached: detachHere(platform),
3339
+ stdio: "ignore",
3340
+ windowsHide: true
3298
3341
  });
3299
3342
  child.on?.("error", () => {
3300
3343
  });
@@ -3316,8 +3359,10 @@ function runStatusHooks(kind, cwd, sessionName, hooks) {
3316
3359
  const child = spawn2(command, {
3317
3360
  cwd,
3318
3361
  shell: true,
3319
- detached: true,
3362
+ // Its output goes nowhere anyway: a console window would only flash up on Windows.
3363
+ detached: detachHere(),
3320
3364
  stdio: "ignore",
3365
+ windowsHide: true,
3321
3366
  env: {
3322
3367
  ...process.env,
3323
3368
  WORK_SESSION: sessionName,
@@ -4639,6 +4684,20 @@ function ciFixMessage(failing, isGroup, contextShare) {
4639
4684
  ...hint ? [hint] : []
4640
4685
  ].join("\n");
4641
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
+ }
4642
4701
  var REENTERED_GRACE_MS = 24 * 36e5;
4643
4702
  function archivable(r) {
4644
4703
  if (r.done) return true;
@@ -4691,9 +4750,14 @@ function withoutThread(ci, threadId) {
4691
4750
  })
4692
4751
  };
4693
4752
  }
4753
+ function savedChecks(rows, sessions) {
4754
+ const created = new Map(sessions.map((s) => [s.id, Date.parse(s.session.createdAt) || 0]));
4755
+ return rows.filter(([id, ci]) => created.has(id) && (Date.parse(ci.checkedAt) || 0) >= created.get(id));
4756
+ }
4694
4757
  function createPrWatch(deps) {
4695
4758
  const now = deps.now ?? Date.now;
4696
- const states = /* @__PURE__ */ new Map();
4759
+ const states = new Map(deps.saved ? savedChecks(deps.saved.load(), deps.sessions()) : []);
4760
+ const checked = /* @__PURE__ */ new Set();
4697
4761
  const feedbackCache = /* @__PURE__ */ new Map();
4698
4762
  const inflight = /* @__PURE__ */ new Map();
4699
4763
  let pausedUntil = 0;
@@ -4718,6 +4782,9 @@ function createPrWatch(deps) {
4718
4782
  seen.commit();
4719
4783
  return true;
4720
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
+ }
4721
4788
  function failingOf(ci) {
4722
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) }));
4723
4790
  }
@@ -4795,7 +4862,10 @@ function createPrWatch(deps) {
4795
4862
  };
4796
4863
  const before = JSON.stringify(states.get(id)?.repos);
4797
4864
  states.set(id, ci);
4798
- if (before !== JSON.stringify(ci.repos)) deps.broadcast("ci-changed", { sessionId: id });
4865
+ const changed = before !== JSON.stringify(ci.repos);
4866
+ if (changed) deps.saved?.save(id, ci);
4867
+ if (changed || !checked.has(id)) deps.broadcast("ci-changed", { sessionId: id });
4868
+ checked.add(id);
4799
4869
  if (!act) return ci;
4800
4870
  if (feedback.length) {
4801
4871
  const n = feedback.reduce((k, f) => k + f.items.length, 0);
@@ -4830,6 +4900,17 @@ function createPrWatch(deps) {
4830
4900
  else note(`checks fail on ${what}; couldn't reach its Claude, trying again next time`, "warn");
4831
4901
  }
4832
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
+ }
4833
4914
  if (opts.autoArchive) {
4834
4915
  const verdict = deps.ownCheckout?.(session) ? null : autoArchiveVerdict(pre, session, now());
4835
4916
  if (verdict?.archive && deps.busy?.(id)) note("every PR merged; archiving once its Claude finishes this turn");
@@ -4915,6 +4996,7 @@ function createPrWatch(deps) {
4915
4996
  const ci = withoutThread(was, threadId);
4916
4997
  if (ci === was) return;
4917
4998
  states.set(id, ci);
4999
+ deps.saved?.save(id, ci);
4918
5000
  deps.broadcast("ci-changed", { sessionId: id });
4919
5001
  },
4920
5002
  // Your click, not a sweep: a look-only watch does it too (the told-keys are shared, so no one repeats it).
@@ -5003,6 +5085,7 @@ function mountCiRoutes(app, opts) {
5003
5085
  return {
5004
5086
  autoArchive: w?.autoArchive !== false,
5005
5087
  fixCi: w?.fixCi !== false,
5088
+ fixConflicts: w?.fixConflicts !== false,
5006
5089
  reviewComments: w?.reviewComments !== false,
5007
5090
  ...w?.trustedBots ? { trustedBots: w.trustedBots } : {}
5008
5091
  };
@@ -5017,7 +5100,10 @@ function mountCiRoutes(app, opts) {
5017
5100
  const u = readContextUsage(s);
5018
5101
  return u && u.window > 0 ? u.used / u.window : null;
5019
5102
  },
5020
- told: createSeenStores()
5103
+ told: createSeenStores(),
5104
+ // The dev server reads what the real one saved, and writes none of it (its build's shape may differ).
5105
+ saved: opts.lookOnly ? { load: createCiStore().load, save: () => {
5106
+ } } : createCiStore()
5021
5107
  });
5022
5108
  app.get("/api/sessions/:id/ci", async (c) => {
5023
5109
  const id = c.req.param("id");
@@ -5308,40 +5394,13 @@ async function bridgeToHost(ws, sessionId, pending) {
5308
5394
  }
5309
5395
 
5310
5396
  // src/core/pty/agent-restart.ts
5311
- import fs12 from "fs";
5312
-
5313
- // src/core/platform/find-on-path.ts
5314
5397
  import fs11 from "fs";
5315
- import path14 from "path";
5316
- function findOnPath(cmd, env = process.env, platform = process.platform) {
5317
- const win = platform === "win32";
5318
- const isFile = (p) => {
5319
- try {
5320
- const st = fs11.statSync(p);
5321
- return st.isFile() && (win || (st.mode & 73) !== 0);
5322
- } catch {
5323
- return false;
5324
- }
5325
- };
5326
- const pathExt = (env.PATHEXT ?? env.Pathext ?? ".COM;.EXE;.BAT;.CMD").split(";").filter(Boolean).map((e) => e.toLowerCase());
5327
- const hasExt = pathExt.includes(path14.extname(cmd).toLowerCase());
5328
- const candidates = (base) => !win || hasExt ? [base] : pathExt.map((e) => base + e);
5329
- if (cmd.includes("/") || win && cmd.includes("\\")) return candidates(cmd).find(isFile) ?? null;
5330
- const dirs = (env.PATH ?? env.Path ?? "").split(win ? ";" : path14.delimiter).filter(Boolean);
5331
- for (const dir of dirs) {
5332
- const hit = candidates(path14.join(dir, cmd)).find(isFile);
5333
- if (hit) return hit;
5334
- }
5335
- return null;
5336
- }
5337
-
5338
- // src/core/pty/agent-restart.ts
5339
5398
  var PACKED_MTIME_BEFORE = Date.parse("1990-01-01T00:00:00Z");
5340
5399
  function installedAt(cmd, find = findOnPath) {
5341
5400
  const file = find(cmd);
5342
5401
  if (!file) return null;
5343
5402
  try {
5344
- return installTime(fs12.statSync(fs12.realpathSync(file)));
5403
+ return installTime(fs11.statSync(fs11.realpathSync(file)));
5345
5404
  } catch {
5346
5405
  return null;
5347
5406
  }
@@ -5551,7 +5610,7 @@ function sleepCandidates(ptys, now, afterMs, busy, keep = /* @__PURE__ */ new Se
5551
5610
  function computeSessionDiff(s, base) {
5552
5611
  const resolved = s.paths.map((p) => resolveRepoDiff(p, base, s.baseBranches?.[p] ?? s.baseBranch));
5553
5612
  const repos = s.paths.map((p, i) => ({
5554
- name: path15.basename(p),
5613
+ name: path14.basename(p),
5555
5614
  root: p,
5556
5615
  resolvedBase: resolved[i].resolvedBase,
5557
5616
  files: computeDiff({ root: p, diffArg: resolved[i].diffArg })
@@ -5602,7 +5661,7 @@ async function startWebServer(opts = {}) {
5602
5661
  let activityWatcher = null;
5603
5662
  if (!lean) {
5604
5663
  try {
5605
- const roots = activityRoots().filter((r) => fs13.existsSync(r));
5664
+ const roots = activityRoots().filter((r) => fs12.existsSync(r));
5606
5665
  if (roots.length > 0) {
5607
5666
  activityWatcher = createFsWatcher({
5608
5667
  roots,
@@ -5653,7 +5712,7 @@ async function startWebServer(opts = {}) {
5653
5712
  }, 500);
5654
5713
  }
5655
5714
  });
5656
- const repoNames = (s) => s.isGroup ? s.paths.map((p) => path15.basename(p)) : [s.target];
5715
+ const repoNames = (s) => s.isGroup ? s.paths.map((p) => path14.basename(p)) : [s.target];
5657
5716
  const diffStatFor = (id, s, hasStatus) => wantsDiffStat(s, hasStatus) ? diffStats.get(id, s.paths, repoNames(s)) : null;
5658
5717
  const archivedRow = createArchivedRows();
5659
5718
  app.get("/api/sessions", (c) => {
@@ -6123,7 +6182,7 @@ async function startWebServer(opts = {}) {
6123
6182
  updatesTimer?.unref?.();
6124
6183
  const desktopFile = desktopUpdatePath();
6125
6184
  const onDesktopUpdate = () => broadcast("updates-changed", { ts: Date.now() });
6126
- if (jobs) fs13.watchFile(desktopFile, { interval: 3e3 }, onDesktopUpdate);
6185
+ if (jobs) fs12.watchFile(desktopFile, { interval: 3e3 }, onDesktopUpdate);
6127
6186
  app.get("/api/pty-host/health", (c) => c.json(hostHealth(hostBeat())));
6128
6187
  let lastHostState = hostHealth(hostBeat()).state;
6129
6188
  const hostTick = lean ? null : setInterval(() => {
@@ -6188,7 +6247,7 @@ async function startWebServer(opts = {}) {
6188
6247
  if (timeFirst) clearTimeout(timeFirst);
6189
6248
  if (timeTimer) clearInterval(timeTimer);
6190
6249
  timeKeeper?.stop();
6191
- fs13.unwatchFile(desktopFile, onDesktopUpdate);
6250
+ fs12.unwatchFile(desktopFile, onDesktopUpdate);
6192
6251
  for (const t of conversationSyncs.values()) clearTimeout(t);
6193
6252
  clearTimeout(sweepTimer);
6194
6253
  activityWatcher?.stop();
@@ -6211,11 +6270,11 @@ async function startWebServer(opts = {}) {
6211
6270
  }
6212
6271
 
6213
6272
  // src/core/platform/autostart.ts
6214
- import fs14 from "fs";
6215
- import path16 from "path";
6273
+ import fs13 from "fs";
6274
+ import path15 from "path";
6216
6275
  function startupScriptPath() {
6217
6276
  if (process.platform !== "win32" || !process.env.APPDATA) return null;
6218
- return path16.join(process.env.APPDATA, "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "work-web.vbs");
6277
+ return path15.join(process.env.APPDATA, "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "work-web.vbs");
6219
6278
  }
6220
6279
  function vbsQuote(s) {
6221
6280
  return '"' + s.replace(/"/g, '""') + '"';
@@ -6233,11 +6292,11 @@ function setAutostart(enabled, workBin) {
6233
6292
  const file = startupScriptPath();
6234
6293
  if (!file) throw new Error("Autostart is only supported on Windows so far.");
6235
6294
  if (enabled) {
6236
- fs14.mkdirSync(path16.dirname(file), { recursive: true });
6237
- fs14.writeFileSync(file, buildStartupScript(process.execPath, workBin), "utf-8");
6295
+ fs13.mkdirSync(path15.dirname(file), { recursive: true });
6296
+ fs13.writeFileSync(file, buildStartupScript(process.execPath, workBin), "utf-8");
6238
6297
  } else {
6239
6298
  try {
6240
- fs14.unlinkSync(file);
6299
+ fs13.unlinkSync(file);
6241
6300
  } catch {
6242
6301
  }
6243
6302
  }
@@ -6281,7 +6340,7 @@ function createDemoRepos(liveTargets) {
6281
6340
  /** GET /api/projects: what New worktree offers, as the real one reads config. */
6282
6341
  projects() {
6283
6342
  return {
6284
- singles: Object.entries(repos).map(([name, path17]) => ({ name, kind: "single", path: path17 })),
6343
+ singles: Object.entries(repos).map(([name, path16]) => ({ name, kind: "single", path: path16 })),
6285
6344
  groups: Object.entries(groups).map(([name, members]) => ({ name, kind: "group", members }))
6286
6345
  };
6287
6346
  },
@@ -6323,12 +6382,12 @@ function createDemoRepos(liveTargets) {
6323
6382
  }));
6324
6383
  return { roots: [root], repos: rows, groups: groupRows };
6325
6384
  },
6326
- enroll(alias, path17) {
6327
- if (!found.some((f) => f.path === path17)) throw new DemoRepoError(`${path17} is not the top folder of a git repository`);
6328
- const problem = enrollProblem(alias, path17, config());
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());
6329
6388
  if (problem) throw new DemoRepoError(problem);
6330
- repos[alias] = path17;
6331
- ignored.delete(path17);
6389
+ repos[alias] = path16;
6390
+ ignored.delete(path16);
6332
6391
  },
6333
6392
  remove(alias, force) {
6334
6393
  if (!(alias in repos)) throw new DemoRepoError(`no repo \u201C${alias}\u201D`);
@@ -6337,9 +6396,9 @@ function createDemoRepos(liveTargets) {
6337
6396
  delete repos[alias];
6338
6397
  for (const g of Object.keys(groups)) groups[g] = groups[g].filter((m) => m !== alias);
6339
6398
  },
6340
- ignore(path17, on) {
6341
- if (on) ignored.add(path17);
6342
- else ignored.delete(path17);
6399
+ ignore(path16, on) {
6400
+ if (on) ignored.add(path16);
6401
+ else ignored.delete(path16);
6343
6402
  },
6344
6403
  saveGroup(name, members, creating) {
6345
6404
  const problem = groupProblem(name, members, config(), { creating });
@@ -7709,20 +7768,20 @@ function demoCodeFiles(repos, group) {
7709
7768
  })
7710
7769
  };
7711
7770
  }
7712
- function demoCodeFile(repos, group, repo, path17) {
7771
+ function demoCodeFile(repos, group, repo, path16) {
7713
7772
  if (repo === "") {
7714
- if (!group || path17 !== "CLAUDE.md") return null;
7773
+ if (!group || path16 !== "CLAUDE.md") return null;
7715
7774
  const text2 = `# Group instructions
7716
7775
 
7717
7776
  Repos: ${repos.map((r2) => r2.name).join(", ")}.
7718
7777
  `;
7719
- return { repo, path: path17, size: text2.length, text: text2 };
7778
+ return { repo, path: path16, size: text2.length, text: text2 };
7720
7779
  }
7721
7780
  const r = repos.find((x) => x.name === repo);
7722
7781
  if (!r) return null;
7723
- const changed = r.changed.find((f) => f.path === path17 && f.status !== "deleted");
7724
- const text = changed ? newSide(changed) : COMMON[path17]?.replace(/\{repo\}/g, repo);
7725
- return text === void 0 ? null : { repo, path: path17, size: text.length, text };
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 };
7726
7785
  }
7727
7786
  function demoCodeSearch(repos, group, query) {
7728
7787
  const q = query.trim();
@@ -7731,12 +7790,12 @@ function demoCodeSearch(repos, group, query) {
7731
7790
  const text = [];
7732
7791
  const fold = (x) => ignoresCase(q) ? x.toLowerCase() : x;
7733
7792
  for (const r of demoCodeFiles(repos, group).repos) {
7734
- for (const path17 of r.files) {
7735
- const lines = (demoCodeFile(repos, group, r.name, path17)?.text ?? "").split("\n");
7793
+ for (const path16 of r.files) {
7794
+ const lines = (demoCodeFile(repos, group, r.name, path16)?.text ?? "").split("\n");
7736
7795
  lines.forEach((line, i) => {
7737
- const d = declarationOf(path17, line);
7738
- if (d) symbols.push({ ...d, repo: r.name, path: path17, line: i + 1, text: line.trim() });
7739
- if (fold(line).includes(fold(q))) text.push({ repo: r.name, path: path17, line: i + 1, text: line });
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 });
7740
7799
  });
7741
7800
  }
7742
7801
  }
@@ -8987,6 +9046,7 @@ var webCommand = {
8987
9046
  process.exit(1);
8988
9047
  }
8989
9048
  clearWebDiscovery();
9049
+ if (!lean) ensureAgentPath();
8990
9050
  configurePtyPool({ workBin: resolveWorkBinPath(process.argv[1]) });
8991
9051
  let shutdown = () => {
8992
9052
  };
@@ -9136,4 +9196,4 @@ export {
9136
9196
  stopExisting,
9137
9197
  webCommand
9138
9198
  };
9139
- //# sourceMappingURL=web-CT3EZNBL.js.map
9199
+ //# sourceMappingURL=web-GYU324DV.js.map