@moberg_hr/work-tree 2.23.0 → 2.23.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 (262) hide show
  1. package/dist/{account-FKQZQP3W.js → account-O62WFR7C.js} +19 -19
  2. package/dist/{add-repo-VJ2OPGRB.js → add-repo-FTAMMPVM.js} +13 -13
  3. package/dist/{answer-HQGVCGOF.js → answer-LKNMN2ZM.js} +11 -11
  4. package/dist/{attach-M46SZYRL.js → attach-A3KA4YTK.js} +15 -15
  5. package/dist/bin.js +4 -4
  6. package/dist/{block-B2WNCH52.js → block-3ZUFH2RO.js} +12 -12
  7. package/dist/{broadcast-JD755S3I.js → broadcast-I23BZI3R.js} +8 -8
  8. package/dist/{catchup-PTV2VTWT.js → catchup-G4EOJIZP.js} +13 -13
  9. package/dist/{child-XFLJLJ6I.js → child-MVNEFA2I.js} +10 -10
  10. package/dist/{chunk-OETBYJFV.js → chunk-24FQ5XXN.js} +3 -3
  11. package/dist/{chunk-ULI54QYZ.js → chunk-2FNYJEOH.js} +2 -2
  12. package/dist/{chunk-ZIZ5ZTEN.js → chunk-2JLG65GB.js} +2 -2
  13. package/dist/{chunk-ETO7CUIS.js → chunk-2MJQTFTI.js} +3 -3
  14. package/dist/{chunk-PCJVBGRS.js → chunk-44QJVFOF.js} +3 -3
  15. package/dist/{chunk-V56WW2LA.js → chunk-4FN45EAF.js} +3 -3
  16. package/dist/{chunk-V6FD76AQ.js → chunk-4HQEYZIM.js} +4 -4
  17. package/dist/{chunk-HTV7366A.js → chunk-5QENUGSC.js} +7 -7
  18. package/dist/{chunk-TVIM5VV5.js → chunk-5SXTMOO6.js} +5 -5
  19. package/dist/{chunk-4FOC35LW.js → chunk-6PZ7RCXK.js} +2 -2
  20. package/dist/{chunk-26BZGPFZ.js → chunk-773UJC5C.js} +4 -4
  21. package/dist/{chunk-W4GDPHIF.js → chunk-7ZATXG5F.js} +2 -2
  22. package/dist/{chunk-UGDTSOPX.js → chunk-APHVSSLI.js} +2 -2
  23. package/dist/{chunk-AZF7HIDT.js → chunk-BI7HIO2I.js} +3 -3
  24. package/dist/{chunk-KUYEYPO4.js → chunk-BMPTUIP4.js} +2 -2
  25. package/dist/{chunk-4LZLVHZE.js → chunk-ET5K6S5H.js} +2 -2
  26. package/dist/{chunk-4GIAERRK.js → chunk-ETAPX4JN.js} +5 -5
  27. package/dist/{chunk-ASGJ3MCL.js → chunk-ETWP7MDS.js} +2 -1
  28. package/dist/chunk-ETWP7MDS.js.map +1 -0
  29. package/dist/{chunk-EE744F4B.js → chunk-FHC6KHIH.js} +2 -2
  30. package/dist/{chunk-AUIHERJ7.js → chunk-GF7RAQFD.js} +2 -2
  31. package/dist/{chunk-ETRKZHM5.js → chunk-GHY7GZWN.js} +4 -4
  32. package/dist/{chunk-JIMD77FI.js → chunk-GN7EAXHU.js} +7 -7
  33. package/dist/{chunk-EOXYDFBB.js → chunk-GTFMUWK6.js} +4 -4
  34. package/dist/{chunk-K76NOSEX.js → chunk-HNZ736XN.js} +2 -2
  35. package/dist/{chunk-5THKIWZU.js → chunk-HPUD5IGB.js} +3 -3
  36. package/dist/{chunk-AEH72XTU.js → chunk-HQDQRC4F.js} +2 -2
  37. package/dist/{chunk-XJQ7XJJC.js → chunk-HUWWMTNG.js} +4 -4
  38. package/dist/{chunk-EJZMCAM2.js → chunk-INXHVNMZ.js} +7 -7
  39. package/dist/{chunk-VVJY6IKW.js → chunk-IRDWXDID.js} +2 -2
  40. package/dist/{chunk-O7BXNXU2.js → chunk-IVS2MAHD.js} +3 -3
  41. package/dist/{chunk-EEMPMVCP.js → chunk-IXC6EXVJ.js} +4 -4
  42. package/dist/{chunk-WYCGV5Z7.js → chunk-IXZOZZGD.js} +4 -4
  43. package/dist/{chunk-SZAD5U3J.js → chunk-LB2GAU7E.js} +2 -2
  44. package/dist/{chunk-VHENFC2S.js → chunk-M2X6OHHR.js} +14 -1
  45. package/dist/chunk-M2X6OHHR.js.map +1 -0
  46. package/dist/{chunk-R7JIKEIL.js → chunk-MQXMYVZV.js} +10 -10
  47. package/dist/{chunk-5IZMEAKN.js → chunk-MVBBESXK.js} +4 -4
  48. package/dist/{chunk-BTGPUOF7.js → chunk-N7T6NPE2.js} +5 -5
  49. package/dist/{chunk-ZDTFAMD2.js → chunk-NREZVTBP.js} +2 -2
  50. package/dist/chunk-NRX5V443.js +9 -0
  51. package/dist/{chunk-BS6GTKF2.js → chunk-NWKVTUTN.js} +9 -9
  52. package/dist/{chunk-R7IENU76.js → chunk-NXS53NHR.js} +4 -4
  53. package/dist/{chunk-6ISLCEBR.js → chunk-OPV6BE3W.js} +5 -5
  54. package/dist/{chunk-ZBVM57LO.js → chunk-ROEEXEN7.js} +6 -6
  55. package/dist/{chunk-6RFDASKQ.js → chunk-TL7VLRRF.js} +4 -4
  56. package/dist/{chunk-6HVDHGNE.js → chunk-U2A2DHWP.js} +3 -3
  57. package/dist/{chunk-WLYWO6JH.js → chunk-U4XSBYQW.js} +4 -4
  58. package/dist/{chunk-DSDPJATB.js → chunk-VH5FRKJM.js} +3 -3
  59. package/dist/{chunk-4VTRRZWZ.js → chunk-W5YYTITQ.js} +2 -2
  60. package/dist/{chunk-7I2UHJJF.js → chunk-WOY35FXP.js} +8 -8
  61. package/dist/{chunk-EVGYDJI2.js → chunk-XIN6XUFL.js} +2 -2
  62. package/dist/{chunk-FRFS6JC4.js → chunk-XTAYJDL2.js} +3 -3
  63. package/dist/{chunk-336YLJ5L.js → chunk-XWKN2HJD.js} +60 -60
  64. package/dist/{chunk-Z3JSYKOS.js → chunk-YKTJL4SW.js} +6 -6
  65. package/dist/{chunk-QPQV3IU2.js → chunk-ZG6HB4BO.js} +2 -2
  66. package/dist/{chunk-FEI73IPX.js → chunk-ZLPK2LQ3.js} +5 -5
  67. package/dist/{chunk-DP6YMZUL.js → chunk-ZMJR4Z6O.js} +17 -7
  68. package/dist/chunk-ZMJR4Z6O.js.map +1 -0
  69. package/dist/{chunk-LZJ5VDUD.js → chunk-ZNRPBP5O.js} +4 -4
  70. package/dist/{chunk-L5U47Q63.js → chunk-ZX4ONO5Y.js} +5 -5
  71. package/dist/{cleanup-RVQ2PPCC.js → cleanup-ANVUCOBK.js} +28 -28
  72. package/dist/{cli-RQ7LQXRX.js → cli-CAF6VCVO.js} +4 -4
  73. package/dist/{color-37SJ7NPH.js → color-7CQNI6Y4.js} +11 -11
  74. package/dist/{config-QMNCPBT7.js → config-EXQY26W4.js} +10 -10
  75. package/dist/{coordinate-22N2UBE4.js → coordinate-LRY7LXS6.js} +10 -10
  76. package/dist/{diff-VSM47DNB.js → diff-JRK3AUD5.js} +12 -12
  77. package/dist/{digest-H5YMEW54.js → digest-2AFW3WBL.js} +11 -11
  78. package/dist/{fork-Q2AEFG5M.js → fork-DSNMPWUE.js} +24 -24
  79. package/dist/{history-E34WUNZO.js → history-RFIDCGQY.js} +8 -8
  80. package/dist/{hook-IMBHXXH2.js → hook-XBALB337.js} +15 -15
  81. package/dist/{hydrate-IPNTSEDA.js → hydrate-DAEY4PB6.js} +8 -8
  82. package/dist/{init-V7Z3RVHQ.js → init-4BK3T34W.js} +12 -12
  83. package/dist/{install-skills-PP7WYASM.js → install-skills-TL5D7HZU.js} +8 -8
  84. package/dist/install-skills-bin.js +7 -7
  85. package/dist/{keep-JZBFDYC5.js → keep-57TUKADV.js} +10 -10
  86. package/dist/{list-D6GWBNUI.js → list-DRQRIT6U.js} +8 -8
  87. package/dist/{move-T6IVLRRI.js → move-UEHJ375P.js} +15 -15
  88. package/dist/{note-L4YF6DYN.js → note-FHPDVBRI.js} +10 -10
  89. package/dist/{overlaps-33U2T7IV.js → overlaps-GKAKEUB6.js} +13 -13
  90. package/dist/{pin-BVNCXHQI.js → pin-CFTQDPPC.js} +11 -11
  91. package/dist/{pr-DBTWVMRE.js → pr-ZP4COZEZ.js} +20 -20
  92. package/dist/{prune-HUYBTMZM.js → prune-IQB2T45B.js} +25 -25
  93. package/dist/{pty-host-IJFDGRA4.js → pty-host-BPFGJFBC.js} +21 -16
  94. package/dist/pty-host-BPFGJFBC.js.map +1 -0
  95. package/dist/{read-4OUYRSKS.js → read-DHJ6VY44.js} +10 -10
  96. package/dist/{recent-PB233FPD.js → recent-OZW2ZNJ4.js} +14 -14
  97. package/dist/{remove-YCQLIDTS.js → remove-MW25RLNV.js} +26 -26
  98. package/dist/{report-XMESBL7C.js → report-II75EKM6.js} +10 -10
  99. package/dist/{restart-NQ5DJ3TN.js → restart-4BGVRBX6.js} +11 -11
  100. package/dist/{resume-KL5JCKVD.js → resume-4J53KDCO.js} +14 -14
  101. package/dist/{review-MIKB545E.js → review-WKB3K6LI.js} +10 -10
  102. package/dist/{review-now-VF6X6M64.js → review-now-AT2SPPRO.js} +2 -2
  103. package/dist/{run-Y255ESUN.js → run-YS2D7WAQ.js} +8 -8
  104. package/dist/{screen-AZFHPOCB.js → screen-VVRNQXVW.js} +11 -11
  105. package/dist/{search-DAFKJTLY.js → search-MKYCKZF4.js} +8 -8
  106. package/dist/{section-WCC35C44.js → section-Y6RDD3MN.js} +11 -11
  107. package/dist/{send-MYEMZU7Z.js → send-AZM2XKN2.js} +12 -12
  108. package/dist/{sessions-P3D46QLP.js → sessions-OER6VNQJ.js} +22 -22
  109. package/dist/{show-JOO5OT2F.js → show-33VV3XCF.js} +10 -10
  110. package/dist/{snooze-7KLABMIG.js → snooze-OFYZVVYS.js} +10 -10
  111. package/dist/{start-PGVZZJQT.js → start-OEQ5VW7Y.js} +11 -11
  112. package/dist/{state-XHTOESKK.js → state-HK67C4UA.js} +2 -2
  113. package/dist/{status-CXIRNRMP.js → status-HPYMNO2T.js} +11 -11
  114. package/dist/{statusline-HPH2ORNT.js → statusline-Z5HLKDIA.js} +5 -5
  115. package/dist/{statusline-hook-Q645N4XF.js → statusline-hook-VPPS3PFO.js} +3 -3
  116. package/dist/{stop-IJNUSRIG.js → stop-QNICDWAU.js} +11 -11
  117. package/dist/{sync-3HMCC55V.js → sync-RH3M47QK.js} +25 -25
  118. package/dist/{time-DUDNSHM3.js → time-PM72GK5W.js} +11 -11
  119. package/dist/{time-actions-M4QTTH4M.js → time-actions-O3MCB7FU.js} +3 -3
  120. package/dist/{timesheet-BMKDX5KZ.js → timesheet-HJXQ4KHL.js} +15 -15
  121. package/dist/{todo-QMXJ5R3E.js → todo-UVKGOG7D.js} +2 -2
  122. package/dist/{tree-TL4GISI5.js → tree-RGT736E3.js} +25 -25
  123. package/dist/{update-3TODL7J3.js → update-CMYVBWV3.js} +15 -15
  124. package/dist/{usage-YFTN2IS7.js → usage-VEKD3JPL.js} +10 -10
  125. package/dist/{usage-ask-EZR3W3UW.js → usage-ask-V2SIRW4F.js} +3 -3
  126. package/dist/{version-LNHKXZBP.js → version-RJ4PCHPB.js} +5 -5
  127. package/dist/{wait-B37BTCVG.js → wait-RQZU3KDY.js} +11 -11
  128. package/dist/wd-bin.js +3 -3
  129. package/dist/web/assets/{PtyView-C8yW4SST.js → PtyView-qP6blm2-.js} +26 -26
  130. package/dist/web/assets/PtyView-qP6blm2-.js.map +1 -0
  131. package/dist/web/assets/{index-DDZCgbD-.js → index-DuFRboh6.js} +5 -5
  132. package/dist/web/assets/index-DuFRboh6.js.map +1 -0
  133. package/dist/web/index.html +1 -1
  134. package/dist/{web-JAAXINIU.js → web-GOCU26ZD.js} +200 -85
  135. package/dist/web-GOCU26ZD.js.map +1 -0
  136. package/npm-shrinkwrap.json +2 -2
  137. package/package.json +1 -1
  138. package/dist/chunk-ASGJ3MCL.js.map +0 -1
  139. package/dist/chunk-CJFAJV2K.js +0 -9
  140. package/dist/chunk-DP6YMZUL.js.map +0 -1
  141. package/dist/chunk-VHENFC2S.js.map +0 -1
  142. package/dist/pty-host-IJFDGRA4.js.map +0 -1
  143. package/dist/web/assets/PtyView-C8yW4SST.js.map +0 -1
  144. package/dist/web/assets/index-DDZCgbD-.js.map +0 -1
  145. package/dist/web-JAAXINIU.js.map +0 -1
  146. /package/dist/{account-FKQZQP3W.js.map → account-O62WFR7C.js.map} +0 -0
  147. /package/dist/{add-repo-VJ2OPGRB.js.map → add-repo-FTAMMPVM.js.map} +0 -0
  148. /package/dist/{answer-HQGVCGOF.js.map → answer-LKNMN2ZM.js.map} +0 -0
  149. /package/dist/{attach-M46SZYRL.js.map → attach-A3KA4YTK.js.map} +0 -0
  150. /package/dist/{block-B2WNCH52.js.map → block-3ZUFH2RO.js.map} +0 -0
  151. /package/dist/{broadcast-JD755S3I.js.map → broadcast-I23BZI3R.js.map} +0 -0
  152. /package/dist/{catchup-PTV2VTWT.js.map → catchup-G4EOJIZP.js.map} +0 -0
  153. /package/dist/{child-XFLJLJ6I.js.map → child-MVNEFA2I.js.map} +0 -0
  154. /package/dist/{chunk-OETBYJFV.js.map → chunk-24FQ5XXN.js.map} +0 -0
  155. /package/dist/{chunk-ULI54QYZ.js.map → chunk-2FNYJEOH.js.map} +0 -0
  156. /package/dist/{chunk-ZIZ5ZTEN.js.map → chunk-2JLG65GB.js.map} +0 -0
  157. /package/dist/{chunk-ETO7CUIS.js.map → chunk-2MJQTFTI.js.map} +0 -0
  158. /package/dist/{chunk-PCJVBGRS.js.map → chunk-44QJVFOF.js.map} +0 -0
  159. /package/dist/{chunk-V56WW2LA.js.map → chunk-4FN45EAF.js.map} +0 -0
  160. /package/dist/{chunk-V6FD76AQ.js.map → chunk-4HQEYZIM.js.map} +0 -0
  161. /package/dist/{chunk-HTV7366A.js.map → chunk-5QENUGSC.js.map} +0 -0
  162. /package/dist/{chunk-TVIM5VV5.js.map → chunk-5SXTMOO6.js.map} +0 -0
  163. /package/dist/{chunk-4FOC35LW.js.map → chunk-6PZ7RCXK.js.map} +0 -0
  164. /package/dist/{chunk-26BZGPFZ.js.map → chunk-773UJC5C.js.map} +0 -0
  165. /package/dist/{chunk-W4GDPHIF.js.map → chunk-7ZATXG5F.js.map} +0 -0
  166. /package/dist/{chunk-UGDTSOPX.js.map → chunk-APHVSSLI.js.map} +0 -0
  167. /package/dist/{chunk-AZF7HIDT.js.map → chunk-BI7HIO2I.js.map} +0 -0
  168. /package/dist/{chunk-KUYEYPO4.js.map → chunk-BMPTUIP4.js.map} +0 -0
  169. /package/dist/{chunk-4LZLVHZE.js.map → chunk-ET5K6S5H.js.map} +0 -0
  170. /package/dist/{chunk-4GIAERRK.js.map → chunk-ETAPX4JN.js.map} +0 -0
  171. /package/dist/{chunk-EE744F4B.js.map → chunk-FHC6KHIH.js.map} +0 -0
  172. /package/dist/{chunk-AUIHERJ7.js.map → chunk-GF7RAQFD.js.map} +0 -0
  173. /package/dist/{chunk-ETRKZHM5.js.map → chunk-GHY7GZWN.js.map} +0 -0
  174. /package/dist/{chunk-JIMD77FI.js.map → chunk-GN7EAXHU.js.map} +0 -0
  175. /package/dist/{chunk-EOXYDFBB.js.map → chunk-GTFMUWK6.js.map} +0 -0
  176. /package/dist/{chunk-K76NOSEX.js.map → chunk-HNZ736XN.js.map} +0 -0
  177. /package/dist/{chunk-5THKIWZU.js.map → chunk-HPUD5IGB.js.map} +0 -0
  178. /package/dist/{chunk-AEH72XTU.js.map → chunk-HQDQRC4F.js.map} +0 -0
  179. /package/dist/{chunk-XJQ7XJJC.js.map → chunk-HUWWMTNG.js.map} +0 -0
  180. /package/dist/{chunk-EJZMCAM2.js.map → chunk-INXHVNMZ.js.map} +0 -0
  181. /package/dist/{chunk-VVJY6IKW.js.map → chunk-IRDWXDID.js.map} +0 -0
  182. /package/dist/{chunk-O7BXNXU2.js.map → chunk-IVS2MAHD.js.map} +0 -0
  183. /package/dist/{chunk-EEMPMVCP.js.map → chunk-IXC6EXVJ.js.map} +0 -0
  184. /package/dist/{chunk-WYCGV5Z7.js.map → chunk-IXZOZZGD.js.map} +0 -0
  185. /package/dist/{chunk-SZAD5U3J.js.map → chunk-LB2GAU7E.js.map} +0 -0
  186. /package/dist/{chunk-R7JIKEIL.js.map → chunk-MQXMYVZV.js.map} +0 -0
  187. /package/dist/{chunk-5IZMEAKN.js.map → chunk-MVBBESXK.js.map} +0 -0
  188. /package/dist/{chunk-BTGPUOF7.js.map → chunk-N7T6NPE2.js.map} +0 -0
  189. /package/dist/{chunk-ZDTFAMD2.js.map → chunk-NREZVTBP.js.map} +0 -0
  190. /package/dist/{chunk-CJFAJV2K.js.map → chunk-NRX5V443.js.map} +0 -0
  191. /package/dist/{chunk-BS6GTKF2.js.map → chunk-NWKVTUTN.js.map} +0 -0
  192. /package/dist/{chunk-R7IENU76.js.map → chunk-NXS53NHR.js.map} +0 -0
  193. /package/dist/{chunk-6ISLCEBR.js.map → chunk-OPV6BE3W.js.map} +0 -0
  194. /package/dist/{chunk-ZBVM57LO.js.map → chunk-ROEEXEN7.js.map} +0 -0
  195. /package/dist/{chunk-6RFDASKQ.js.map → chunk-TL7VLRRF.js.map} +0 -0
  196. /package/dist/{chunk-6HVDHGNE.js.map → chunk-U2A2DHWP.js.map} +0 -0
  197. /package/dist/{chunk-WLYWO6JH.js.map → chunk-U4XSBYQW.js.map} +0 -0
  198. /package/dist/{chunk-DSDPJATB.js.map → chunk-VH5FRKJM.js.map} +0 -0
  199. /package/dist/{chunk-4VTRRZWZ.js.map → chunk-W5YYTITQ.js.map} +0 -0
  200. /package/dist/{chunk-7I2UHJJF.js.map → chunk-WOY35FXP.js.map} +0 -0
  201. /package/dist/{chunk-EVGYDJI2.js.map → chunk-XIN6XUFL.js.map} +0 -0
  202. /package/dist/{chunk-FRFS6JC4.js.map → chunk-XTAYJDL2.js.map} +0 -0
  203. /package/dist/{chunk-336YLJ5L.js.map → chunk-XWKN2HJD.js.map} +0 -0
  204. /package/dist/{chunk-Z3JSYKOS.js.map → chunk-YKTJL4SW.js.map} +0 -0
  205. /package/dist/{chunk-QPQV3IU2.js.map → chunk-ZG6HB4BO.js.map} +0 -0
  206. /package/dist/{chunk-FEI73IPX.js.map → chunk-ZLPK2LQ3.js.map} +0 -0
  207. /package/dist/{chunk-LZJ5VDUD.js.map → chunk-ZNRPBP5O.js.map} +0 -0
  208. /package/dist/{chunk-L5U47Q63.js.map → chunk-ZX4ONO5Y.js.map} +0 -0
  209. /package/dist/{cleanup-RVQ2PPCC.js.map → cleanup-ANVUCOBK.js.map} +0 -0
  210. /package/dist/{cli-RQ7LQXRX.js.map → cli-CAF6VCVO.js.map} +0 -0
  211. /package/dist/{color-37SJ7NPH.js.map → color-7CQNI6Y4.js.map} +0 -0
  212. /package/dist/{config-QMNCPBT7.js.map → config-EXQY26W4.js.map} +0 -0
  213. /package/dist/{coordinate-22N2UBE4.js.map → coordinate-LRY7LXS6.js.map} +0 -0
  214. /package/dist/{diff-VSM47DNB.js.map → diff-JRK3AUD5.js.map} +0 -0
  215. /package/dist/{digest-H5YMEW54.js.map → digest-2AFW3WBL.js.map} +0 -0
  216. /package/dist/{fork-Q2AEFG5M.js.map → fork-DSNMPWUE.js.map} +0 -0
  217. /package/dist/{history-E34WUNZO.js.map → history-RFIDCGQY.js.map} +0 -0
  218. /package/dist/{hook-IMBHXXH2.js.map → hook-XBALB337.js.map} +0 -0
  219. /package/dist/{hydrate-IPNTSEDA.js.map → hydrate-DAEY4PB6.js.map} +0 -0
  220. /package/dist/{init-V7Z3RVHQ.js.map → init-4BK3T34W.js.map} +0 -0
  221. /package/dist/{install-skills-PP7WYASM.js.map → install-skills-TL5D7HZU.js.map} +0 -0
  222. /package/dist/{keep-JZBFDYC5.js.map → keep-57TUKADV.js.map} +0 -0
  223. /package/dist/{list-D6GWBNUI.js.map → list-DRQRIT6U.js.map} +0 -0
  224. /package/dist/{move-T6IVLRRI.js.map → move-UEHJ375P.js.map} +0 -0
  225. /package/dist/{note-L4YF6DYN.js.map → note-FHPDVBRI.js.map} +0 -0
  226. /package/dist/{overlaps-33U2T7IV.js.map → overlaps-GKAKEUB6.js.map} +0 -0
  227. /package/dist/{pin-BVNCXHQI.js.map → pin-CFTQDPPC.js.map} +0 -0
  228. /package/dist/{pr-DBTWVMRE.js.map → pr-ZP4COZEZ.js.map} +0 -0
  229. /package/dist/{prune-HUYBTMZM.js.map → prune-IQB2T45B.js.map} +0 -0
  230. /package/dist/{read-4OUYRSKS.js.map → read-DHJ6VY44.js.map} +0 -0
  231. /package/dist/{recent-PB233FPD.js.map → recent-OZW2ZNJ4.js.map} +0 -0
  232. /package/dist/{remove-YCQLIDTS.js.map → remove-MW25RLNV.js.map} +0 -0
  233. /package/dist/{report-XMESBL7C.js.map → report-II75EKM6.js.map} +0 -0
  234. /package/dist/{restart-NQ5DJ3TN.js.map → restart-4BGVRBX6.js.map} +0 -0
  235. /package/dist/{resume-KL5JCKVD.js.map → resume-4J53KDCO.js.map} +0 -0
  236. /package/dist/{review-MIKB545E.js.map → review-WKB3K6LI.js.map} +0 -0
  237. /package/dist/{review-now-VF6X6M64.js.map → review-now-AT2SPPRO.js.map} +0 -0
  238. /package/dist/{run-Y255ESUN.js.map → run-YS2D7WAQ.js.map} +0 -0
  239. /package/dist/{screen-AZFHPOCB.js.map → screen-VVRNQXVW.js.map} +0 -0
  240. /package/dist/{search-DAFKJTLY.js.map → search-MKYCKZF4.js.map} +0 -0
  241. /package/dist/{section-WCC35C44.js.map → section-Y6RDD3MN.js.map} +0 -0
  242. /package/dist/{send-MYEMZU7Z.js.map → send-AZM2XKN2.js.map} +0 -0
  243. /package/dist/{sessions-P3D46QLP.js.map → sessions-OER6VNQJ.js.map} +0 -0
  244. /package/dist/{show-JOO5OT2F.js.map → show-33VV3XCF.js.map} +0 -0
  245. /package/dist/{snooze-7KLABMIG.js.map → snooze-OFYZVVYS.js.map} +0 -0
  246. /package/dist/{start-PGVZZJQT.js.map → start-OEQ5VW7Y.js.map} +0 -0
  247. /package/dist/{state-XHTOESKK.js.map → state-HK67C4UA.js.map} +0 -0
  248. /package/dist/{status-CXIRNRMP.js.map → status-HPYMNO2T.js.map} +0 -0
  249. /package/dist/{statusline-HPH2ORNT.js.map → statusline-Z5HLKDIA.js.map} +0 -0
  250. /package/dist/{statusline-hook-Q645N4XF.js.map → statusline-hook-VPPS3PFO.js.map} +0 -0
  251. /package/dist/{stop-IJNUSRIG.js.map → stop-QNICDWAU.js.map} +0 -0
  252. /package/dist/{sync-3HMCC55V.js.map → sync-RH3M47QK.js.map} +0 -0
  253. /package/dist/{time-DUDNSHM3.js.map → time-PM72GK5W.js.map} +0 -0
  254. /package/dist/{time-actions-M4QTTH4M.js.map → time-actions-O3MCB7FU.js.map} +0 -0
  255. /package/dist/{timesheet-BMKDX5KZ.js.map → timesheet-HJXQ4KHL.js.map} +0 -0
  256. /package/dist/{todo-QMXJ5R3E.js.map → todo-UVKGOG7D.js.map} +0 -0
  257. /package/dist/{tree-TL4GISI5.js.map → tree-RGT736E3.js.map} +0 -0
  258. /package/dist/{update-3TODL7J3.js.map → update-CMYVBWV3.js.map} +0 -0
  259. /package/dist/{usage-YFTN2IS7.js.map → usage-VEKD3JPL.js.map} +0 -0
  260. /package/dist/{usage-ask-EZR3W3UW.js.map → usage-ask-V2SIRW4F.js.map} +0 -0
  261. /package/dist/{version-LNHKXZBP.js.map → version-RJ4PCHPB.js.map} +0 -0
  262. /package/dist/{wait-B37BTCVG.js.map → wait-RQZU3KDY.js.map} +0 -0
@@ -26,7 +26,7 @@
26
26
  }
27
27
  })();
28
28
  </script>
29
- <script type="module" crossorigin src="/assets/index-DDZCgbD-.js"></script>
29
+ <script type="module" crossorigin src="/assets/index-DuFRboh6.js"></script>
30
30
  <link rel="stylesheet" crossorigin href="/assets/index-yBTfBzDm.css">
31
31
  </head>
32
32
  <body>
@@ -4,7 +4,7 @@ import {
4
4
  restartHost,
5
5
  resumeFromParams,
6
6
  withResume
7
- } from "./chunk-LZJ5VDUD.js";
7
+ } from "./chunk-ZNRPBP5O.js";
8
8
  import {
9
9
  addTask,
10
10
  completeTask,
@@ -26,7 +26,7 @@ import {
26
26
  serveSpa,
27
27
  sessionBaseForPath,
28
28
  submitReviewSchema
29
- } from "./chunk-5IZMEAKN.js";
29
+ } from "./chunk-MVBBESXK.js";
30
30
  import {
31
31
  announceChange,
32
32
  createArchivedRows,
@@ -41,25 +41,25 @@ import {
41
41
  stageSeenKey,
42
42
  storeHolding,
43
43
  withRestoring
44
- } from "./chunk-7I2UHJJF.js";
44
+ } from "./chunk-WOY35FXP.js";
45
45
  import {
46
46
  createDigestSource
47
- } from "./chunk-EOXYDFBB.js";
47
+ } from "./chunk-GTFMUWK6.js";
48
48
  import {
49
49
  createBuildFoldersJob,
50
50
  defaultBranchTidyDeps,
51
51
  defaultBuildFoldersDeps,
52
52
  deleteMergedBranches,
53
53
  findMergedBranches
54
- } from "./chunk-EJZMCAM2.js";
54
+ } from "./chunk-INXHVNMZ.js";
55
55
  import {
56
56
  defaultCleanupDeps
57
- } from "./chunk-Z3JSYKOS.js";
57
+ } from "./chunk-YKTJL4SW.js";
58
58
  import {
59
59
  DiffStatCache,
60
60
  findOverlaps,
61
61
  wantsDiffStat
62
- } from "./chunk-ZIZ5ZTEN.js";
62
+ } from "./chunk-2JLG65GB.js";
63
63
  import {
64
64
  dropLocalReview,
65
65
  readLocalReview,
@@ -79,14 +79,14 @@ import {
79
79
  graphProblem,
80
80
  signOutGraph,
81
81
  startDeviceLogin
82
- } from "./chunk-JIMD77FI.js";
82
+ } from "./chunk-GN7EAXHU.js";
83
83
  import {
84
84
  anyOwnStatusLine,
85
85
  buildUsage,
86
86
  realUsageDeps,
87
87
  refreshUsage,
88
88
  setupAgentUsage
89
- } from "./chunk-V6FD76AQ.js";
89
+ } from "./chunk-4HQEYZIM.js";
90
90
  import {
91
91
  archivedRefusal,
92
92
  sendToSession
@@ -108,7 +108,7 @@ import {
108
108
  removeBlocker,
109
109
  sweepBlocks,
110
110
  unblockedPrompt
111
- } from "./chunk-OETBYJFV.js";
111
+ } from "./chunk-24FQ5XXN.js";
112
112
  import {
113
113
  jiraWorklogPoster,
114
114
  logWorkDay,
@@ -117,7 +117,7 @@ import {
117
117
  } from "./chunk-WIXY4EDH.js";
118
118
  import {
119
119
  sessionWorkTime
120
- } from "./chunk-O7BXNXU2.js";
120
+ } from "./chunk-IVS2MAHD.js";
121
121
  import {
122
122
  accountOverview,
123
123
  accountSkillsNote,
@@ -130,7 +130,7 @@ import {
130
130
  removeAgentAccount,
131
131
  setDefaultAgentAccount,
132
132
  switchRefusal
133
- } from "./chunk-ZBVM57LO.js";
133
+ } from "./chunk-ROEEXEN7.js";
134
134
  import "./chunk-LK7HJGUC.js";
135
135
  import {
136
136
  freeLeftovers,
@@ -140,10 +140,10 @@ import {
140
140
  parsePrRef,
141
141
  resolvePrToStart,
142
142
  workOnPrPrompt
143
- } from "./chunk-FRFS6JC4.js";
143
+ } from "./chunk-XTAYJDL2.js";
144
144
  import {
145
145
  legacyUnsafeCheck
146
- } from "./chunk-6ISLCEBR.js";
146
+ } from "./chunk-OPV6BE3W.js";
147
147
  import {
148
148
  howToLift
149
149
  } from "./chunk-FZHFD2AY.js";
@@ -151,16 +151,16 @@ import {
151
151
  agentsBySession,
152
152
  stopBackgroundWork,
153
153
  summarizeAgents
154
- } from "./chunk-R7IENU76.js";
155
- import "./chunk-PCJVBGRS.js";
154
+ } from "./chunk-NXS53NHR.js";
155
+ import "./chunk-44QJVFOF.js";
156
156
  import {
157
157
  removeWorktreeInChild
158
- } from "./chunk-ULI54QYZ.js";
158
+ } from "./chunk-2FNYJEOH.js";
159
159
  import {
160
160
  archiveMergedSession,
161
161
  archiveWaiting,
162
162
  defaultArchiveDeps
163
- } from "./chunk-R7JIKEIL.js";
163
+ } from "./chunk-MQXMYVZV.js";
164
164
  import {
165
165
  cleanupVerdict,
166
166
  createCleanupJob
@@ -180,7 +180,7 @@ import {
180
180
  retireResolvedReplies,
181
181
  sessionRepoRefs,
182
182
  withThreadContext
183
- } from "./chunk-TVIM5VV5.js";
183
+ } from "./chunk-5SXTMOO6.js";
184
184
  import {
185
185
  DEFAULT_TRUSTED_BOTS,
186
186
  createCiStore,
@@ -190,12 +190,12 @@ import {
190
190
  openThreadsOf,
191
191
  reviewMessage,
192
192
  subAgentHint
193
- } from "./chunk-ETO7CUIS.js";
193
+ } from "./chunk-2MJQTFTI.js";
194
194
  import {
195
195
  defaultForkDeps,
196
196
  forkSession,
197
197
  startSessionWithPrompt
198
- } from "./chunk-L5U47Q63.js";
198
+ } from "./chunk-ZX4ONO5Y.js";
199
199
  import {
200
200
  FLOW_PARAM,
201
201
  gridFromParams,
@@ -210,7 +210,7 @@ import {
210
210
  keyedQueue,
211
211
  oneAtATime,
212
212
  runWorkChild
213
- } from "./chunk-EEMPMVCP.js";
213
+ } from "./chunk-IXC6EXVJ.js";
214
214
  import {
215
215
  configurePtyPool,
216
216
  detachPtyPool,
@@ -235,26 +235,26 @@ import {
235
235
  syncPtyPool,
236
236
  terminalTicketUrl,
237
237
  writeToPty
238
- } from "./chunk-HTV7366A.js";
238
+ } from "./chunk-5QENUGSC.js";
239
239
  import "./chunk-BCYBF7KJ.js";
240
- import "./chunk-ZDTFAMD2.js";
240
+ import "./chunk-NREZVTBP.js";
241
241
  import {
242
242
  disposeAllWatchers,
243
243
  disposeSessionWatcher,
244
244
  findSession as findSession2,
245
245
  subscribeSession
246
- } from "./chunk-4FOC35LW.js";
246
+ } from "./chunk-6PZ7RCXK.js";
247
247
  import "./chunk-HCYES6U7.js";
248
248
  import "./chunk-NS7WH53I.js";
249
249
  import {
250
250
  addRepoRefusal,
251
251
  addedRepoNote
252
- } from "./chunk-4VTRRZWZ.js";
252
+ } from "./chunk-W5YYTITQ.js";
253
253
  import {
254
254
  teardownWorktree,
255
255
  toBaseSpec,
256
256
  wouldRefuseRemoval
257
- } from "./chunk-WYCGV5Z7.js";
257
+ } from "./chunk-IXZOZZGD.js";
258
258
  import "./chunk-Y7PWSACJ.js";
259
259
  import {
260
260
  isWorktreeFolder
@@ -274,36 +274,36 @@ import {
274
274
  stackedOn,
275
275
  updateFromBase,
276
276
  updateFromMain
277
- } from "./chunk-4GIAERRK.js";
277
+ } from "./chunk-ETAPX4JN.js";
278
278
  import {
279
279
  sessionStatusView,
280
280
  shownState
281
- } from "./chunk-AZF7HIDT.js";
281
+ } from "./chunk-BI7HIO2I.js";
282
282
  import {
283
283
  askCatchUp,
284
284
  cachedCatchUp,
285
285
  catchUp,
286
286
  catchUpFacts,
287
287
  forgetCatchUp
288
- } from "./chunk-6RFDASKQ.js";
288
+ } from "./chunk-TL7VLRRF.js";
289
289
  import {
290
290
  internalReadOnly,
291
291
  runInternal,
292
292
  runInternalReadOnly,
293
293
  summarizeCheckpoint,
294
294
  throttleTrailing
295
- } from "./chunk-FEI73IPX.js";
295
+ } from "./chunk-ZLPK2LQ3.js";
296
296
  import {
297
297
  computeDiff,
298
298
  computeRangeDiff,
299
299
  parseGitDiff
300
- } from "./chunk-VVJY6IKW.js";
300
+ } from "./chunk-IRDWXDID.js";
301
301
  import {
302
302
  changeRailSections,
303
303
  placeSession,
304
304
  readRailLayout,
305
305
  saveRailView
306
- } from "./chunk-UGDTSOPX.js";
306
+ } from "./chunk-APHVSSLI.js";
307
307
  import {
308
308
  QUEUE_RECHECK_MS,
309
309
  busyForRestart,
@@ -341,7 +341,7 @@ import {
341
341
  tempoSetup,
342
342
  timeRange,
343
343
  updateDay
344
- } from "./chunk-4LZLVHZE.js";
344
+ } from "./chunk-ET5K6S5H.js";
345
345
  import {
346
346
  DISCUSSION_OPEN_MIN_MS,
347
347
  LEFT_OVER_SUBMIT,
@@ -395,7 +395,7 @@ import {
395
395
  assistantDir,
396
396
  describeView,
397
397
  writeAssistantContext
398
- } from "./chunk-K76NOSEX.js";
398
+ } from "./chunk-HNZ736XN.js";
399
399
  import {
400
400
  childBrief,
401
401
  childrenOf,
@@ -405,7 +405,7 @@ import {
405
405
  spawnCheck
406
406
  } from "./chunk-DHZ5DF6Y.js";
407
407
  import "./chunk-7E5XPDKX.js";
408
- import "./chunk-AEH72XTU.js";
408
+ import "./chunk-HQDQRC4F.js";
409
409
  import {
410
410
  clearDevWebDiscovery,
411
411
  clearWebDiscovery,
@@ -417,13 +417,13 @@ import {
417
417
  readWebUrl,
418
418
  writeDevWebDiscovery,
419
419
  writeWebDiscovery
420
- } from "./chunk-SZAD5U3J.js";
420
+ } from "./chunk-LB2GAU7E.js";
421
421
  import {
422
422
  NOTE_NUDGE,
423
423
  findSessionForCwd,
424
424
  readPendingForSession,
425
425
  readPendingForWorktree
426
- } from "./chunk-DP6YMZUL.js";
426
+ } from "./chunk-ZMJR4Z6O.js";
427
427
  import "./chunk-ZSHWP2VS.js";
428
428
  import {
429
429
  getCommentFileStore
@@ -435,7 +435,7 @@ import {
435
435
  checkTools,
436
436
  saveFolders,
437
437
  setupState
438
- } from "./chunk-WLYWO6JH.js";
438
+ } from "./chunk-U4XSBYQW.js";
439
439
  import {
440
440
  chooseWorktreesRoot,
441
441
  expandHome
@@ -448,17 +448,17 @@ import {
448
448
  stageInputOf,
449
449
  withRequiredChecks,
450
450
  workElsewhere
451
- } from "./chunk-BTGPUOF7.js";
451
+ } from "./chunk-N7T6NPE2.js";
452
452
  import {
453
453
  createSessionBranches
454
- } from "./chunk-DSDPJATB.js";
454
+ } from "./chunk-VH5FRKJM.js";
455
455
  import {
456
456
  defaultHost,
457
457
  hostById,
458
458
  hostForRepo,
459
459
  hostOfPrUrl,
460
460
  originHostname
461
- } from "./chunk-6HVDHGNE.js";
461
+ } from "./chunk-U2A2DHWP.js";
462
462
  import {
463
463
  MAX_THREAD_BODY
464
464
  } from "./chunk-FGPXMAYU.js";
@@ -483,13 +483,13 @@ import {
483
483
  setRepoIgnored,
484
484
  setReviewMode,
485
485
  setScanRoot
486
- } from "./chunk-5THKIWZU.js";
486
+ } from "./chunk-HPUD5IGB.js";
487
487
  import {
488
488
  openUrl,
489
489
  openWithDefaultApp,
490
490
  revealInFileManager,
491
491
  startEditor
492
- } from "./chunk-26BZGPFZ.js";
492
+ } from "./chunk-773UJC5C.js";
493
493
  import {
494
494
  enrollProblem,
495
495
  groupProblem,
@@ -596,7 +596,7 @@ import {
596
596
  updateCheckpoint,
597
597
  whileRestoring,
598
598
  writeArchiveRecord
599
- } from "./chunk-XJQ7XJJC.js";
599
+ } from "./chunk-HUWWMTNG.js";
600
600
  import {
601
601
  dayKey
602
602
  } from "./chunk-NEJVK5CF.js";
@@ -627,13 +627,13 @@ import {
627
627
  projectList,
628
628
  readJsonlSince,
629
629
  swallow
630
- } from "./chunk-BS6GTKF2.js";
630
+ } from "./chunk-NWKVTUTN.js";
631
631
  import "./chunk-KGHWHAVF.js";
632
- import "./chunk-KUYEYPO4.js";
632
+ import "./chunk-BMPTUIP4.js";
633
633
  import "./chunk-ED6YLB4S.js";
634
634
  import {
635
635
  VERSION
636
- } from "./chunk-CJFAJV2K.js";
636
+ } from "./chunk-NRX5V443.js";
637
637
  import {
638
638
  resolveProjectTarget
639
639
  } from "./chunk-IPHADNF5.js";
@@ -655,7 +655,7 @@ import {
655
655
  import {
656
656
  DEFAULT_ACCOUNT_NAME,
657
657
  accountNameProblem
658
- } from "./chunk-EVGYDJI2.js";
658
+ } from "./chunk-XIN6XUFL.js";
659
659
  import {
660
660
  DEFAULT_ACCOUNT,
661
661
  DEFAULT_PROMPTS,
@@ -671,18 +671,20 @@ import {
671
671
  isRailColor,
672
672
  isWorkday,
673
673
  loadConfig
674
- } from "./chunk-ASGJ3MCL.js";
675
- import "./chunk-W4GDPHIF.js";
674
+ } from "./chunk-ETWP7MDS.js";
675
+ import "./chunk-7ZATXG5F.js";
676
676
  import "./chunk-BR6OWWAA.js";
677
677
  import {
678
678
  bootTime,
679
679
  detachHere,
680
680
  isPidAlive,
681
+ isPidRunning,
681
682
  killTreeAsync,
682
683
  recentProcessTable
683
- } from "./chunk-VHENFC2S.js";
684
+ } from "./chunk-M2X6OHHR.js";
684
685
  import {
685
686
  explainNotOnPath,
687
+ findOnPath,
686
688
  programPath,
687
689
  shellEnv,
688
690
  spawn_default,
@@ -3431,6 +3433,14 @@ var SETTINGS = [
3431
3433
  kind: { type: "text", placeholder: "code" },
3432
3434
  default: "code"
3433
3435
  },
3436
+ {
3437
+ path: "terminalApp",
3438
+ section: "General",
3439
+ label: "Terminal app",
3440
+ help: "The terminal Open in terminal starts: a name (ptyxis, gnome-terminal, konsole, kitty, wezterm, ghostty, alacritty, foot, xterm\u2026; Terminal or iTerm on macOS; wt or conhost on Windows). Empty: Windows Terminal, Terminal.app, or on Linux $TERMINAL, else the first one installed.",
3441
+ kind: { type: "text", placeholder: "automatic" },
3442
+ default: null
3443
+ },
3434
3444
  bool(
3435
3445
  "notifications",
3436
3446
  "General",
@@ -5346,6 +5356,10 @@ function mountPanesRoutes(app, opts) {
5346
5356
  // src/server/routes/worktree-routes.ts
5347
5357
  import fs11 from "fs";
5348
5358
  import path12 from "path";
5359
+ import { zValidator as zValidator6 } from "@hono/zod-validator";
5360
+ import { z as z5 } from "zod";
5361
+
5362
+ // src/core/platform/terminal-launch.ts
5349
5363
  import { spawn } from "child_process";
5350
5364
 
5351
5365
  // src/core/platform/started.ts
@@ -5363,9 +5377,119 @@ function whenStarted(child) {
5363
5377
  });
5364
5378
  }
5365
5379
 
5380
+ // src/core/platform/terminal-launch.ts
5381
+ var TERMINALS = {
5382
+ // wt splits its own command line on `;`: the caller refuses a folder with one and strips it from the title.
5383
+ wt: (j) => ["-w", "0", "nt", "--title", j.title, "-d", j.cwd, ...j.argv],
5384
+ ptyxis: (j) => ["--new-window", "-d", j.cwd, "-T", j.title, "--", ...j.argv],
5385
+ "gnome-terminal": (j) => ["--tab", `--working-directory=${j.cwd}`, "--", ...j.argv],
5386
+ kgx: (j) => ["--tab", `--working-directory=${j.cwd}`, "--", ...j.argv],
5387
+ konsole: (j) => ["--new-tab", "--workdir", j.cwd, "-p", `tabtitle=${j.title}`, "-e", ...j.argv],
5388
+ "xfce4-terminal": (j) => ["--tab", "--working-directory", j.cwd, "--title", j.title, "-x", ...j.argv],
5389
+ kitty: (j) => ["--directory", j.cwd, "--title", j.title, ...j.argv],
5390
+ alacritty: (j) => ["--working-directory", j.cwd, "--title", j.title, "-e", ...j.argv],
5391
+ wezterm: (j) => ["start", "--cwd", j.cwd, "--", ...j.argv],
5392
+ ghostty: (j) => [`--working-directory=${j.cwd}`, `--title=${j.title}`, "-e", ...j.argv],
5393
+ foot: (j) => ["--working-directory", j.cwd, "--title", j.title, ...j.argv],
5394
+ xterm: (j) => ["-T", j.title, "-e", ...j.argv],
5395
+ "x-terminal-emulator": (j) => ["-e", ...j.argv]
5396
+ };
5397
+ var LINUX_TERMINALS = [
5398
+ "ptyxis",
5399
+ "gnome-terminal",
5400
+ "konsole",
5401
+ "kgx",
5402
+ "xfce4-terminal",
5403
+ "ghostty",
5404
+ "kitty",
5405
+ "wezterm",
5406
+ "alacritty",
5407
+ "foot",
5408
+ "x-terminal-emulator",
5409
+ "xterm"
5410
+ ];
5411
+ var MAC_LINE = `"cd " & quoted form of (item 1 of argv) & " && exec" & my shellWords(rest of argv)`;
5412
+ var MAC_WORDS = [
5413
+ "on shellWords(xs)",
5414
+ 'set s to ""',
5415
+ "repeat with x in xs",
5416
+ 'set s to s & " " & quoted form of (x as text)',
5417
+ "end repeat",
5418
+ "return s",
5419
+ "end shellWords"
5420
+ ];
5421
+ var MAC_SCRIPTS = {
5422
+ terminal: ["on run argv", 'tell application "Terminal"', "activate", `do script ${MAC_LINE}`, "end tell", "end run", ...MAC_WORDS],
5423
+ iterm: [
5424
+ "on run argv",
5425
+ 'tell application "iTerm"',
5426
+ "activate",
5427
+ "set w to (create window with default profile)",
5428
+ `tell current session of w to write text ${MAC_LINE}`,
5429
+ "end tell",
5430
+ "end run",
5431
+ ...MAC_WORDS
5432
+ ]
5433
+ };
5434
+ function terminalName(program) {
5435
+ return (program.trim().split(/[\\/]/).pop() ?? "").replace(/\.(exe|app)$/i, "").toLowerCase();
5436
+ }
5437
+ function terminalLaunch(terminal, job, platform = process.platform) {
5438
+ const name = terminalName(terminal);
5439
+ if (platform === "win32" && (name === "conhost" || name === "console")) {
5440
+ return { cmd: job.argv[0], args: job.argv.slice(1), detached: true };
5441
+ }
5442
+ if (platform === "darwin" && (name === "terminal" || name === "iterm" || name === "iterm2")) {
5443
+ const script = MAC_SCRIPTS[name === "terminal" ? "terminal" : "iterm"];
5444
+ return { cmd: "osascript", args: [...script.flatMap((l) => ["-e", l]), job.cwd, ...job.argv], detached: detachHere(platform) };
5445
+ }
5446
+ const args = TERMINALS[name];
5447
+ if (!args) return null;
5448
+ const run = platform === "win32" ? job : { ...job, argv: inFolder(job.cwd, job.argv) };
5449
+ return { cmd: terminal.trim(), args: args(run), detached: detachHere(platform) };
5450
+ }
5451
+ function inFolder(cwd, argv) {
5452
+ return ["/bin/sh", "-c", 'cd -- "$1" && shift && exec "$@"', "sh", cwd, ...argv];
5453
+ }
5454
+ function pickTerminal(configured, platform = process.platform, env = process.env, onPath = (cmd) => findOnPath(cmd, env, platform) !== null) {
5455
+ if (configured?.trim()) return configured.trim();
5456
+ if (platform === "win32") return onPath("wt.exe") ? "wt.exe" : "conhost";
5457
+ if (platform === "darwin") return "Terminal";
5458
+ const preferred = env.TERMINAL?.trim();
5459
+ if (preferred && TERMINALS[terminalName(preferred)] && onPath(preferred)) return preferred;
5460
+ return LINUX_TERMINALS.find(onPath) ?? null;
5461
+ }
5462
+ async function openTerminal(job) {
5463
+ const configured = loadConfig()?.terminalApp;
5464
+ const terminal = pickTerminal(configured);
5465
+ if (!terminal) {
5466
+ return `no terminal found (tried ${LINUX_TERMINALS.join(", ")}) \u2014 set "terminalApp" in work's config, or run \`work attach\` in the worktree`;
5467
+ }
5468
+ const launch2 = terminalLaunch(terminal, job);
5469
+ if (!launch2) {
5470
+ return `work doesn't know how to start ${terminal} in a folder \u2014 set "terminalApp" in work's config to one of: ${Object.keys(TERMINALS).join(", ")}`;
5471
+ }
5472
+ if (terminalName(launch2.cmd) === "wt" && job.cwd.includes(";")) return 'worktree path contains ";", which wt.exe cannot take';
5473
+ let child;
5474
+ try {
5475
+ child = spawn(programPath(launch2.cmd), launch2.args, {
5476
+ cwd: job.cwd,
5477
+ stdio: "ignore",
5478
+ shell: false,
5479
+ detached: launch2.detached,
5480
+ windowsHide: false
5481
+ // a terminal window: the window is what was asked for
5482
+ // node's spawn, not work's wrapper: no shellEnv — the shell in the window is the user's (shell-env.ts).
5483
+ });
5484
+ } catch (err) {
5485
+ return `could not start ${terminal}: ${err.message}`;
5486
+ }
5487
+ const why = await whenStarted(child);
5488
+ child.unref();
5489
+ return why ? `${terminal} didn't start: ${why}` : null;
5490
+ }
5491
+
5366
5492
  // src/server/routes/worktree-routes.ts
5367
- import { zValidator as zValidator6 } from "@hono/zod-validator";
5368
- import { z as z5 } from "zod";
5369
5493
  var queues = /* @__PURE__ */ new Map();
5370
5494
  function oneAtATime2(key, fn) {
5371
5495
  const run = (queues.get(key) ?? Promise.resolve()).catch(() => void 0).then(fn);
@@ -5597,28 +5721,9 @@ function mountWorktreeRoutes(app, opts) {
5597
5721
  const session = findSession2(id);
5598
5722
  const spec = session ? spawnSpecFor(session) : null;
5599
5723
  if (!session || !spec) return c.json({ error: "unknown session" }, 404);
5600
- if (process.platform !== "win32") {
5601
- return c.json({ error: "Only Windows Terminal is supported so far \u2014 run `work attach` in the worktree." }, 501);
5602
- }
5603
- if (spec.cwd.includes(";")) {
5604
- return c.json({ error: 'worktree path contains ";", which wt.exe cannot take' }, 400);
5605
- }
5606
5724
  const title = `${session.target} \xB7 ${session.branch || "(base)"}`.replace(/;/g, " ");
5607
- let child;
5608
- try {
5609
- child = spawn(programPath("wt.exe"), ["-w", "0", "nt", "--title", title, "-d", spec.cwd, process.execPath, getWorkBin(), "attach"], {
5610
- stdio: "ignore",
5611
- shell: false,
5612
- windowsHide: false
5613
- // a Windows Terminal tab: the window is what was asked for
5614
- // node's spawn, not work's wrapper: no shellEnv — the shell in the tab is the user's (shell-env.ts).
5615
- });
5616
- } catch (err) {
5617
- return c.json({ error: err.message }, 500);
5618
- }
5619
- const why = await whenStarted(child);
5620
- child.unref();
5621
- if (why) return c.json({ error: `Windows Terminal didn't start: ${why}` }, 500);
5725
+ const failed = await openTerminal({ cwd: spec.cwd, title, argv: [process.execPath, getWorkBin(), "attach"] });
5726
+ if (failed) return c.json({ error: failed }, 500);
5622
5727
  return c.json({ ok: true });
5623
5728
  });
5624
5729
  }
@@ -8444,12 +8549,22 @@ async function reviewDiff(run, repoPath, from, to) {
8444
8549
  const d = await git2(run, repoPath, "diff", "--no-color", "--no-ext-diff", "-M", from, to);
8445
8550
  return d.code === 0 ? parseGitDiff(d.stdout) : null;
8446
8551
  }
8552
+ function numstatChanged(stdout) {
8553
+ const out = /* @__PURE__ */ new Set();
8554
+ const parts = stdout.split("\0");
8555
+ for (let i = 0; i < parts.length; i++) {
8556
+ const m = /^(-|\d+)\t(-|\d+)\t(.*)$/s.exec(parts[i].replace(/^\n+/, ""));
8557
+ if (!m) continue;
8558
+ const path25 = m[3] === "" ? parts[i += 2] : m[3];
8559
+ const counted = m[1] === "-" || m[2] === "-" || Number(m[1]) + Number(m[2]) > 0;
8560
+ if (path25 && counted) out.add(path25);
8561
+ }
8562
+ return out;
8563
+ }
8447
8564
  async function diffExtras(run, repoPath, from, to, files) {
8448
8565
  const changed = files.filter((f) => f.added + f.deleted > 0).map((f) => f.path);
8449
- const w = await git2(run, repoPath, "diff", "--no-color", "--no-ext-diff", "-M", "-w", "--name-only", from, to);
8450
- const real = new Set(
8451
- w.code === 0 ? w.stdout.split("\n").map((l) => l.trim()).filter(Boolean) : changed
8452
- );
8566
+ const w = await git2(run, repoPath, "diff", "--no-color", "--no-ext-diff", "-M", "-w", "--numstat", "-z", from, to);
8567
+ const real = w.code === 0 ? numstatChanged(w.stdout) : new Set(changed);
8453
8568
  const whitespaceOnly = new Set(w.code === 0 ? changed.filter((p) => !real.has(p)) : []);
8454
8569
  const generated = /* @__PURE__ */ new Set();
8455
8570
  const paths = files.map((f) => f.path);
@@ -15194,9 +15309,9 @@ async function stopExisting(kill = (pid) => process.kill(pid), graceMs = 8e3) {
15194
15309
  const asked = await fetch(`${url}api/shutdown`, { method: "POST", signal: AbortSignal.timeout(3e3) }).then((r) => r.ok).catch(() => false);
15195
15310
  if (asked) {
15196
15311
  const until = Date.now() + graceMs;
15197
- while (Date.now() < until && isPidAlive(pid)) await new Promise((r) => setTimeout(r, 100));
15312
+ while (Date.now() < until && isPidRunning(pid)) await new Promise((r) => setTimeout(r, 100));
15198
15313
  }
15199
- if (isPidAlive(pid)) {
15314
+ if (isPidRunning(pid)) {
15200
15315
  try {
15201
15316
  kill(pid);
15202
15317
  } catch {
@@ -15418,17 +15533,17 @@ async function stopDev2() {
15418
15533
  const asked = await fetch(`${found2.url}api/shutdown`, { method: "POST", signal: AbortSignal.timeout(3e3) }).then((r) => r.ok).catch(() => false);
15419
15534
  const waitGone = async (ms) => {
15420
15535
  const until = Date.now() + ms;
15421
- while (Date.now() < until && isPidAlive(found2.pid)) await new Promise((r) => setTimeout(r, 100));
15536
+ while (Date.now() < until && isPidRunning(found2.pid)) await new Promise((r) => setTimeout(r, 100));
15422
15537
  };
15423
15538
  if (asked) await waitGone(1e4);
15424
- if (isPidAlive(found2.pid)) {
15539
+ if (isPidRunning(found2.pid)) {
15425
15540
  try {
15426
15541
  process.kill(found2.pid);
15427
15542
  } catch {
15428
15543
  }
15429
15544
  await waitGone(3e3);
15430
15545
  }
15431
- const gone = !isPidAlive(found2.pid);
15546
+ const gone = !isPidRunning(found2.pid);
15432
15547
  if (gone) clearDevWebDiscovery(found2.pid);
15433
15548
  info(gone ? chalk.gray("Stopped the dev server.") : chalk.red(`The dev server (PID ${found2.pid}) did not stop.`));
15434
15549
  return gone;
@@ -15456,4 +15571,4 @@ export {
15456
15571
  stopExisting,
15457
15572
  webCommand
15458
15573
  };
15459
- //# sourceMappingURL=web-JAAXINIU.js.map
15574
+ //# sourceMappingURL=web-GOCU26ZD.js.map