@moberg_hr/work-tree 2.23.0 → 2.23.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.
Files changed (274) hide show
  1. package/dist/{account-FKQZQP3W.js → account-6ZQ3VFA2.js} +23 -21
  2. package/dist/{account-FKQZQP3W.js.map → account-6ZQ3VFA2.js.map} +1 -1
  3. package/dist/{add-repo-VJ2OPGRB.js → add-repo-WXDEKZRX.js} +13 -13
  4. package/dist/{answer-HQGVCGOF.js → answer-L55DWMR5.js} +11 -11
  5. package/dist/{attach-M46SZYRL.js → attach-KLVI7BHS.js} +16 -16
  6. package/dist/bin.js +4 -4
  7. package/dist/{block-B2WNCH52.js → block-BRNRP226.js} +12 -12
  8. package/dist/{broadcast-JD755S3I.js → broadcast-GQE7H3MF.js} +8 -8
  9. package/dist/{catchup-PTV2VTWT.js → catchup-ZMG4OWF2.js} +13 -13
  10. package/dist/{child-XFLJLJ6I.js → child-MPXXJ2QX.js} +11 -11
  11. package/dist/{chunk-ZIZ5ZTEN.js → chunk-2JLG65GB.js} +2 -2
  12. package/dist/{chunk-BTGPUOF7.js → chunk-6S3DYLGH.js} +5 -5
  13. package/dist/{chunk-26BZGPFZ.js → chunk-773UJC5C.js} +4 -4
  14. package/dist/{chunk-FEI73IPX.js → chunk-7BH2PUYY.js} +5 -5
  15. package/dist/{chunk-R7IENU76.js → chunk-7HQSILMM.js} +4 -4
  16. package/dist/{chunk-W4GDPHIF.js → chunk-7ZATXG5F.js} +2 -2
  17. package/dist/{chunk-V6FD76AQ.js → chunk-A53OR6P5.js} +4 -4
  18. package/dist/{chunk-UGDTSOPX.js → chunk-APHVSSLI.js} +2 -2
  19. package/dist/{chunk-HTV7366A.js → chunk-BBI4YQTS.js} +8 -8
  20. package/dist/{chunk-ETRKZHM5.js → chunk-BGQ6NUU7.js} +4 -4
  21. package/dist/{chunk-KUYEYPO4.js → chunk-BMPTUIP4.js} +2 -2
  22. package/dist/{chunk-AZF7HIDT.js → chunk-BZOYUBK4.js} +3 -3
  23. package/dist/{chunk-4FOC35LW.js → chunk-C5BBVVHW.js} +2 -2
  24. package/dist/{chunk-EJZMCAM2.js → chunk-CRAGAIOS.js} +7 -7
  25. package/dist/{chunk-AEH72XTU.js → chunk-DK3UMOX7.js} +2 -2
  26. package/dist/{chunk-6RFDASKQ.js → chunk-DNC2ZJOF.js} +4 -4
  27. package/dist/chunk-DYKA3LO3.js +9 -0
  28. package/dist/{chunk-ASGJ3MCL.js → chunk-ETWP7MDS.js} +2 -1
  29. package/dist/chunk-ETWP7MDS.js.map +1 -0
  30. package/dist/{chunk-R7JIKEIL.js → chunk-G4VKMMIC.js} +10 -10
  31. package/dist/{chunk-AUIHERJ7.js → chunk-GF7RAQFD.js} +2 -2
  32. package/dist/{chunk-L5U47Q63.js → chunk-HBYXSFLN.js} +5 -5
  33. package/dist/{chunk-5THKIWZU.js → chunk-HO5KESIB.js} +3 -3
  34. package/dist/{chunk-V56WW2LA.js → chunk-HUGHF45U.js} +3 -3
  35. package/dist/{chunk-TVIM5VV5.js → chunk-IUVMVNIO.js} +5 -5
  36. package/dist/chunk-JVOQSU6R.js +151 -0
  37. package/dist/chunk-JVOQSU6R.js.map +1 -0
  38. package/dist/{chunk-6ISLCEBR.js → chunk-K6FD5WDW.js} +5 -5
  39. package/dist/{chunk-4LZLVHZE.js → chunk-KJAE7WO5.js} +22 -11
  40. package/dist/chunk-KJAE7WO5.js.map +1 -0
  41. package/dist/{chunk-WYCGV5Z7.js → chunk-KWJ6S4NZ.js} +4 -4
  42. package/dist/{chunk-SZAD5U3J.js → chunk-LB2GAU7E.js} +2 -2
  43. package/dist/{chunk-WLYWO6JH.js → chunk-LCYYJFSZ.js} +4 -4
  44. package/dist/{chunk-DP6YMZUL.js → chunk-LOFGDH5B.js} +17 -7
  45. package/dist/chunk-LOFGDH5B.js.map +1 -0
  46. package/dist/{chunk-Z3JSYKOS.js → chunk-LW6VCL6S.js} +6 -6
  47. package/dist/{chunk-PCJVBGRS.js → chunk-M2P722BR.js} +3 -3
  48. package/dist/{chunk-VHENFC2S.js → chunk-M2X6OHHR.js} +14 -1
  49. package/dist/chunk-M2X6OHHR.js.map +1 -0
  50. package/dist/{chunk-DSDPJATB.js → chunk-MMEFW2PI.js} +3 -3
  51. package/dist/{chunk-4GIAERRK.js → chunk-MYASALCU.js} +5 -5
  52. package/dist/{chunk-DHZ5DF6Y.js → chunk-MYXEX6BB.js} +2 -1
  53. package/dist/{chunk-7I2UHJJF.js → chunk-NLU6MBYT.js} +10 -8
  54. package/dist/chunk-NLU6MBYT.js.map +1 -0
  55. package/dist/{chunk-ZDTFAMD2.js → chunk-NREZVTBP.js} +2 -2
  56. package/dist/{chunk-BS6GTKF2.js → chunk-NWKVTUTN.js} +9 -9
  57. package/dist/{chunk-4VTRRZWZ.js → chunk-P53UYZZ4.js} +2 -2
  58. package/dist/{chunk-6HVDHGNE.js → chunk-PSALWCBD.js} +3 -3
  59. package/dist/{chunk-O7BXNXU2.js → chunk-QAIG5FSQ.js} +3 -3
  60. package/dist/{chunk-ETO7CUIS.js → chunk-QMWV4UKB.js} +3 -3
  61. package/dist/{chunk-5IZMEAKN.js → chunk-QSSCVTFG.js} +4 -4
  62. package/dist/{chunk-LZJ5VDUD.js → chunk-RGKGJOES.js} +138 -7
  63. package/dist/chunk-RGKGJOES.js.map +1 -0
  64. package/dist/{chunk-OETBYJFV.js → chunk-SF3DIIKN.js} +3 -3
  65. package/dist/{chunk-EOXYDFBB.js → chunk-SUHANL3G.js} +4 -4
  66. package/dist/{chunk-FRFS6JC4.js → chunk-VNZBFVGY.js} +3 -3
  67. package/dist/{chunk-EEMPMVCP.js → chunk-VPZ5ILKT.js} +4 -4
  68. package/dist/{chunk-EE744F4B.js → chunk-VQEMPGJL.js} +2 -2
  69. package/dist/{chunk-ULI54QYZ.js → chunk-WH6DAD6D.js} +2 -2
  70. package/dist/{chunk-JIMD77FI.js → chunk-XB4SCJWD.js} +83 -21
  71. package/dist/chunk-XB4SCJWD.js.map +1 -0
  72. package/dist/{chunk-EVGYDJI2.js → chunk-XIN6XUFL.js} +2 -2
  73. package/dist/{chunk-XJQ7XJJC.js → chunk-XL4YNA3L.js} +4 -4
  74. package/dist/chunk-XL4YNA3L.js.map +1 -0
  75. package/dist/{chunk-K76NOSEX.js → chunk-XT3FON6A.js} +2 -2
  76. package/dist/{chunk-ZBVM57LO.js → chunk-XWUX474Q.js} +4 -150
  77. package/dist/chunk-XWUX474Q.js.map +1 -0
  78. package/dist/{chunk-QPQV3IU2.js → chunk-ZG6HB4BO.js} +2 -2
  79. package/dist/{chunk-336YLJ5L.js → chunk-ZHK5XOV5.js} +60 -60
  80. package/dist/{chunk-VVJY6IKW.js → chunk-ZPDCVDE2.js} +2 -2
  81. package/dist/{cleanup-RVQ2PPCC.js → cleanup-DRELB6UC.js} +29 -29
  82. package/dist/{cli-RQ7LQXRX.js → cli-C3U2BC44.js} +4 -4
  83. package/dist/{color-37SJ7NPH.js → color-T75ANAWG.js} +11 -11
  84. package/dist/{config-QMNCPBT7.js → config-KI6JOXKW.js} +10 -10
  85. package/dist/{coordinate-22N2UBE4.js → coordinate-4PPZN4U4.js} +11 -11
  86. package/dist/{diff-VSM47DNB.js → diff-NDZPRQV7.js} +12 -12
  87. package/dist/{digest-H5YMEW54.js → digest-H5YFX5WR.js} +11 -11
  88. package/dist/{fork-Q2AEFG5M.js → fork-HHHATXVI.js} +25 -25
  89. package/dist/{history-E34WUNZO.js → history-3Z7AS2AC.js} +8 -8
  90. package/dist/{hook-IMBHXXH2.js → hook-KOK7NKCO.js} +16 -16
  91. package/dist/{hydrate-IPNTSEDA.js → hydrate-VI3XSZQH.js} +8 -8
  92. package/dist/{init-V7Z3RVHQ.js → init-7NOKRHNJ.js} +12 -12
  93. package/dist/{install-skills-PP7WYASM.js → install-skills-TL5D7HZU.js} +8 -8
  94. package/dist/install-skills-bin.js +7 -7
  95. package/dist/{keep-JZBFDYC5.js → keep-G62GSDOQ.js} +10 -10
  96. package/dist/{list-D6GWBNUI.js → list-CEVAZQ4V.js} +8 -8
  97. package/dist/{move-T6IVLRRI.js → move-ISAW6RDM.js} +15 -15
  98. package/dist/{note-L4YF6DYN.js → note-YIVFXTGM.js} +10 -10
  99. package/dist/{overlaps-33U2T7IV.js → overlaps-YBEHBRRK.js} +13 -13
  100. package/dist/{pin-BVNCXHQI.js → pin-J4IDSHRG.js} +11 -11
  101. package/dist/{pr-DBTWVMRE.js → pr-Z7CPBBGT.js} +20 -20
  102. package/dist/{prune-HUYBTMZM.js → prune-UA3UDZSM.js} +26 -26
  103. package/dist/{pty-host-IJFDGRA4.js → pty-host-JIQUP62K.js} +63 -16
  104. package/dist/pty-host-JIQUP62K.js.map +1 -0
  105. package/dist/{read-4OUYRSKS.js → read-DG4PCLFH.js} +10 -10
  106. package/dist/{recent-PB233FPD.js → recent-PGD6QYAH.js} +14 -14
  107. package/dist/{remove-YCQLIDTS.js → remove-TPLA64HP.js} +27 -27
  108. package/dist/{report-XMESBL7C.js → report-K3OTT2ED.js} +11 -11
  109. package/dist/{restart-NQ5DJ3TN.js → restart-477IX2JX.js} +11 -11
  110. package/dist/{resume-KL5JCKVD.js → resume-OYBAJCYE.js} +14 -14
  111. package/dist/{review-MIKB545E.js → review-6PWFSBAO.js} +10 -10
  112. package/dist/{review-now-VF6X6M64.js → review-now-AT2SPPRO.js} +2 -2
  113. package/dist/{run-Y255ESUN.js → run-XEHF2N4A.js} +8 -8
  114. package/dist/{screen-AZFHPOCB.js → screen-SFU6TCDV.js} +11 -11
  115. package/dist/{search-DAFKJTLY.js → search-VJ3BGWPX.js} +8 -8
  116. package/dist/{section-WCC35C44.js → section-ZLINSTGS.js} +11 -11
  117. package/dist/{send-MYEMZU7Z.js → send-NBP2WYBG.js} +12 -12
  118. package/dist/{sessions-P3D46QLP.js → sessions-UT4I7A43.js} +23 -23
  119. package/dist/{show-JOO5OT2F.js → show-RK2EWOR6.js} +10 -10
  120. package/dist/{snooze-7KLABMIG.js → snooze-T2WWIKZN.js} +10 -10
  121. package/dist/{start-PGVZZJQT.js → start-AWHOIA3Q.js} +11 -11
  122. package/dist/{state-XHTOESKK.js → state-HK67C4UA.js} +2 -2
  123. package/dist/{status-CXIRNRMP.js → status-QE2DA6RR.js} +11 -11
  124. package/dist/{statusline-HPH2ORNT.js → statusline-Z5HLKDIA.js} +5 -5
  125. package/dist/{statusline-hook-Q645N4XF.js → statusline-hook-VPPS3PFO.js} +3 -3
  126. package/dist/{stop-IJNUSRIG.js → stop-YOU3P3ZR.js} +11 -11
  127. package/dist/{sync-3HMCC55V.js → sync-74EFTPBJ.js} +26 -26
  128. package/dist/{time-DUDNSHM3.js → time-ZGMZZ5OY.js} +11 -11
  129. package/dist/{time-actions-M4QTTH4M.js → time-actions-VAGRSY5B.js} +3 -3
  130. package/dist/{timesheet-BMKDX5KZ.js → timesheet-N74LPF5M.js} +18 -17
  131. package/dist/timesheet-N74LPF5M.js.map +1 -0
  132. package/dist/{todo-QMXJ5R3E.js → todo-UVKGOG7D.js} +2 -2
  133. package/dist/{tree-TL4GISI5.js → tree-FXTCWC6D.js} +26 -26
  134. package/dist/{update-3TODL7J3.js → update-5QSRHIWH.js} +15 -15
  135. package/dist/{usage-YFTN2IS7.js → usage-CW7CDFU3.js} +10 -10
  136. package/dist/{usage-ask-EZR3W3UW.js → usage-ask-V2SIRW4F.js} +3 -3
  137. package/dist/{version-LNHKXZBP.js → version-RJ4PCHPB.js} +5 -5
  138. package/dist/{wait-B37BTCVG.js → wait-XXC3I6DK.js} +11 -11
  139. package/dist/wd-bin.js +3 -3
  140. package/dist/web/assets/{PtyView-C8yW4SST.js → PtyView-BLTE5F3E.js} +26 -26
  141. package/dist/web/assets/PtyView-BLTE5F3E.js.map +1 -0
  142. package/dist/web/assets/{index-DDZCgbD-.js → index-BiadbzE6.js} +59 -59
  143. package/dist/web/assets/index-BiadbzE6.js.map +1 -0
  144. package/dist/web/assets/{index-yBTfBzDm.css → index-CfTmdABt.css} +1 -1
  145. package/dist/web/index.html +2 -2
  146. package/dist/{web-JAAXINIU.js → web-SUSR4IAK.js} +245 -97
  147. package/dist/web-SUSR4IAK.js.map +1 -0
  148. package/npm-shrinkwrap.json +2 -2
  149. package/package.json +1 -1
  150. package/dist/chunk-4LZLVHZE.js.map +0 -1
  151. package/dist/chunk-7I2UHJJF.js.map +0 -1
  152. package/dist/chunk-ASGJ3MCL.js.map +0 -1
  153. package/dist/chunk-CJFAJV2K.js +0 -9
  154. package/dist/chunk-DP6YMZUL.js.map +0 -1
  155. package/dist/chunk-JIMD77FI.js.map +0 -1
  156. package/dist/chunk-LZJ5VDUD.js.map +0 -1
  157. package/dist/chunk-VHENFC2S.js.map +0 -1
  158. package/dist/chunk-XJQ7XJJC.js.map +0 -1
  159. package/dist/chunk-ZBVM57LO.js.map +0 -1
  160. package/dist/pty-host-IJFDGRA4.js.map +0 -1
  161. package/dist/timesheet-BMKDX5KZ.js.map +0 -1
  162. package/dist/web/assets/PtyView-C8yW4SST.js.map +0 -1
  163. package/dist/web/assets/index-DDZCgbD-.js.map +0 -1
  164. package/dist/web-JAAXINIU.js.map +0 -1
  165. /package/dist/{add-repo-VJ2OPGRB.js.map → add-repo-WXDEKZRX.js.map} +0 -0
  166. /package/dist/{answer-HQGVCGOF.js.map → answer-L55DWMR5.js.map} +0 -0
  167. /package/dist/{attach-M46SZYRL.js.map → attach-KLVI7BHS.js.map} +0 -0
  168. /package/dist/{block-B2WNCH52.js.map → block-BRNRP226.js.map} +0 -0
  169. /package/dist/{broadcast-JD755S3I.js.map → broadcast-GQE7H3MF.js.map} +0 -0
  170. /package/dist/{catchup-PTV2VTWT.js.map → catchup-ZMG4OWF2.js.map} +0 -0
  171. /package/dist/{child-XFLJLJ6I.js.map → child-MPXXJ2QX.js.map} +0 -0
  172. /package/dist/{chunk-ZIZ5ZTEN.js.map → chunk-2JLG65GB.js.map} +0 -0
  173. /package/dist/{chunk-BTGPUOF7.js.map → chunk-6S3DYLGH.js.map} +0 -0
  174. /package/dist/{chunk-26BZGPFZ.js.map → chunk-773UJC5C.js.map} +0 -0
  175. /package/dist/{chunk-FEI73IPX.js.map → chunk-7BH2PUYY.js.map} +0 -0
  176. /package/dist/{chunk-R7IENU76.js.map → chunk-7HQSILMM.js.map} +0 -0
  177. /package/dist/{chunk-W4GDPHIF.js.map → chunk-7ZATXG5F.js.map} +0 -0
  178. /package/dist/{chunk-V6FD76AQ.js.map → chunk-A53OR6P5.js.map} +0 -0
  179. /package/dist/{chunk-UGDTSOPX.js.map → chunk-APHVSSLI.js.map} +0 -0
  180. /package/dist/{chunk-HTV7366A.js.map → chunk-BBI4YQTS.js.map} +0 -0
  181. /package/dist/{chunk-ETRKZHM5.js.map → chunk-BGQ6NUU7.js.map} +0 -0
  182. /package/dist/{chunk-KUYEYPO4.js.map → chunk-BMPTUIP4.js.map} +0 -0
  183. /package/dist/{chunk-AZF7HIDT.js.map → chunk-BZOYUBK4.js.map} +0 -0
  184. /package/dist/{chunk-4FOC35LW.js.map → chunk-C5BBVVHW.js.map} +0 -0
  185. /package/dist/{chunk-EJZMCAM2.js.map → chunk-CRAGAIOS.js.map} +0 -0
  186. /package/dist/{chunk-AEH72XTU.js.map → chunk-DK3UMOX7.js.map} +0 -0
  187. /package/dist/{chunk-6RFDASKQ.js.map → chunk-DNC2ZJOF.js.map} +0 -0
  188. /package/dist/{chunk-CJFAJV2K.js.map → chunk-DYKA3LO3.js.map} +0 -0
  189. /package/dist/{chunk-R7JIKEIL.js.map → chunk-G4VKMMIC.js.map} +0 -0
  190. /package/dist/{chunk-AUIHERJ7.js.map → chunk-GF7RAQFD.js.map} +0 -0
  191. /package/dist/{chunk-L5U47Q63.js.map → chunk-HBYXSFLN.js.map} +0 -0
  192. /package/dist/{chunk-5THKIWZU.js.map → chunk-HO5KESIB.js.map} +0 -0
  193. /package/dist/{chunk-V56WW2LA.js.map → chunk-HUGHF45U.js.map} +0 -0
  194. /package/dist/{chunk-TVIM5VV5.js.map → chunk-IUVMVNIO.js.map} +0 -0
  195. /package/dist/{chunk-6ISLCEBR.js.map → chunk-K6FD5WDW.js.map} +0 -0
  196. /package/dist/{chunk-WYCGV5Z7.js.map → chunk-KWJ6S4NZ.js.map} +0 -0
  197. /package/dist/{chunk-SZAD5U3J.js.map → chunk-LB2GAU7E.js.map} +0 -0
  198. /package/dist/{chunk-WLYWO6JH.js.map → chunk-LCYYJFSZ.js.map} +0 -0
  199. /package/dist/{chunk-Z3JSYKOS.js.map → chunk-LW6VCL6S.js.map} +0 -0
  200. /package/dist/{chunk-PCJVBGRS.js.map → chunk-M2P722BR.js.map} +0 -0
  201. /package/dist/{chunk-DSDPJATB.js.map → chunk-MMEFW2PI.js.map} +0 -0
  202. /package/dist/{chunk-4GIAERRK.js.map → chunk-MYASALCU.js.map} +0 -0
  203. /package/dist/{chunk-DHZ5DF6Y.js.map → chunk-MYXEX6BB.js.map} +0 -0
  204. /package/dist/{chunk-ZDTFAMD2.js.map → chunk-NREZVTBP.js.map} +0 -0
  205. /package/dist/{chunk-BS6GTKF2.js.map → chunk-NWKVTUTN.js.map} +0 -0
  206. /package/dist/{chunk-4VTRRZWZ.js.map → chunk-P53UYZZ4.js.map} +0 -0
  207. /package/dist/{chunk-6HVDHGNE.js.map → chunk-PSALWCBD.js.map} +0 -0
  208. /package/dist/{chunk-O7BXNXU2.js.map → chunk-QAIG5FSQ.js.map} +0 -0
  209. /package/dist/{chunk-ETO7CUIS.js.map → chunk-QMWV4UKB.js.map} +0 -0
  210. /package/dist/{chunk-5IZMEAKN.js.map → chunk-QSSCVTFG.js.map} +0 -0
  211. /package/dist/{chunk-OETBYJFV.js.map → chunk-SF3DIIKN.js.map} +0 -0
  212. /package/dist/{chunk-EOXYDFBB.js.map → chunk-SUHANL3G.js.map} +0 -0
  213. /package/dist/{chunk-FRFS6JC4.js.map → chunk-VNZBFVGY.js.map} +0 -0
  214. /package/dist/{chunk-EEMPMVCP.js.map → chunk-VPZ5ILKT.js.map} +0 -0
  215. /package/dist/{chunk-EE744F4B.js.map → chunk-VQEMPGJL.js.map} +0 -0
  216. /package/dist/{chunk-ULI54QYZ.js.map → chunk-WH6DAD6D.js.map} +0 -0
  217. /package/dist/{chunk-EVGYDJI2.js.map → chunk-XIN6XUFL.js.map} +0 -0
  218. /package/dist/{chunk-K76NOSEX.js.map → chunk-XT3FON6A.js.map} +0 -0
  219. /package/dist/{chunk-QPQV3IU2.js.map → chunk-ZG6HB4BO.js.map} +0 -0
  220. /package/dist/{chunk-336YLJ5L.js.map → chunk-ZHK5XOV5.js.map} +0 -0
  221. /package/dist/{chunk-VVJY6IKW.js.map → chunk-ZPDCVDE2.js.map} +0 -0
  222. /package/dist/{cleanup-RVQ2PPCC.js.map → cleanup-DRELB6UC.js.map} +0 -0
  223. /package/dist/{cli-RQ7LQXRX.js.map → cli-C3U2BC44.js.map} +0 -0
  224. /package/dist/{color-37SJ7NPH.js.map → color-T75ANAWG.js.map} +0 -0
  225. /package/dist/{config-QMNCPBT7.js.map → config-KI6JOXKW.js.map} +0 -0
  226. /package/dist/{coordinate-22N2UBE4.js.map → coordinate-4PPZN4U4.js.map} +0 -0
  227. /package/dist/{diff-VSM47DNB.js.map → diff-NDZPRQV7.js.map} +0 -0
  228. /package/dist/{digest-H5YMEW54.js.map → digest-H5YFX5WR.js.map} +0 -0
  229. /package/dist/{fork-Q2AEFG5M.js.map → fork-HHHATXVI.js.map} +0 -0
  230. /package/dist/{history-E34WUNZO.js.map → history-3Z7AS2AC.js.map} +0 -0
  231. /package/dist/{hook-IMBHXXH2.js.map → hook-KOK7NKCO.js.map} +0 -0
  232. /package/dist/{hydrate-IPNTSEDA.js.map → hydrate-VI3XSZQH.js.map} +0 -0
  233. /package/dist/{init-V7Z3RVHQ.js.map → init-7NOKRHNJ.js.map} +0 -0
  234. /package/dist/{install-skills-PP7WYASM.js.map → install-skills-TL5D7HZU.js.map} +0 -0
  235. /package/dist/{keep-JZBFDYC5.js.map → keep-G62GSDOQ.js.map} +0 -0
  236. /package/dist/{list-D6GWBNUI.js.map → list-CEVAZQ4V.js.map} +0 -0
  237. /package/dist/{move-T6IVLRRI.js.map → move-ISAW6RDM.js.map} +0 -0
  238. /package/dist/{note-L4YF6DYN.js.map → note-YIVFXTGM.js.map} +0 -0
  239. /package/dist/{overlaps-33U2T7IV.js.map → overlaps-YBEHBRRK.js.map} +0 -0
  240. /package/dist/{pin-BVNCXHQI.js.map → pin-J4IDSHRG.js.map} +0 -0
  241. /package/dist/{pr-DBTWVMRE.js.map → pr-Z7CPBBGT.js.map} +0 -0
  242. /package/dist/{prune-HUYBTMZM.js.map → prune-UA3UDZSM.js.map} +0 -0
  243. /package/dist/{read-4OUYRSKS.js.map → read-DG4PCLFH.js.map} +0 -0
  244. /package/dist/{recent-PB233FPD.js.map → recent-PGD6QYAH.js.map} +0 -0
  245. /package/dist/{remove-YCQLIDTS.js.map → remove-TPLA64HP.js.map} +0 -0
  246. /package/dist/{report-XMESBL7C.js.map → report-K3OTT2ED.js.map} +0 -0
  247. /package/dist/{restart-NQ5DJ3TN.js.map → restart-477IX2JX.js.map} +0 -0
  248. /package/dist/{resume-KL5JCKVD.js.map → resume-OYBAJCYE.js.map} +0 -0
  249. /package/dist/{review-MIKB545E.js.map → review-6PWFSBAO.js.map} +0 -0
  250. /package/dist/{review-now-VF6X6M64.js.map → review-now-AT2SPPRO.js.map} +0 -0
  251. /package/dist/{run-Y255ESUN.js.map → run-XEHF2N4A.js.map} +0 -0
  252. /package/dist/{screen-AZFHPOCB.js.map → screen-SFU6TCDV.js.map} +0 -0
  253. /package/dist/{search-DAFKJTLY.js.map → search-VJ3BGWPX.js.map} +0 -0
  254. /package/dist/{section-WCC35C44.js.map → section-ZLINSTGS.js.map} +0 -0
  255. /package/dist/{send-MYEMZU7Z.js.map → send-NBP2WYBG.js.map} +0 -0
  256. /package/dist/{sessions-P3D46QLP.js.map → sessions-UT4I7A43.js.map} +0 -0
  257. /package/dist/{show-JOO5OT2F.js.map → show-RK2EWOR6.js.map} +0 -0
  258. /package/dist/{snooze-7KLABMIG.js.map → snooze-T2WWIKZN.js.map} +0 -0
  259. /package/dist/{start-PGVZZJQT.js.map → start-AWHOIA3Q.js.map} +0 -0
  260. /package/dist/{state-XHTOESKK.js.map → state-HK67C4UA.js.map} +0 -0
  261. /package/dist/{status-CXIRNRMP.js.map → status-QE2DA6RR.js.map} +0 -0
  262. /package/dist/{statusline-HPH2ORNT.js.map → statusline-Z5HLKDIA.js.map} +0 -0
  263. /package/dist/{statusline-hook-Q645N4XF.js.map → statusline-hook-VPPS3PFO.js.map} +0 -0
  264. /package/dist/{stop-IJNUSRIG.js.map → stop-YOU3P3ZR.js.map} +0 -0
  265. /package/dist/{sync-3HMCC55V.js.map → sync-74EFTPBJ.js.map} +0 -0
  266. /package/dist/{time-DUDNSHM3.js.map → time-ZGMZZ5OY.js.map} +0 -0
  267. /package/dist/{time-actions-M4QTTH4M.js.map → time-actions-VAGRSY5B.js.map} +0 -0
  268. /package/dist/{todo-QMXJ5R3E.js.map → todo-UVKGOG7D.js.map} +0 -0
  269. /package/dist/{tree-TL4GISI5.js.map → tree-FXTCWC6D.js.map} +0 -0
  270. /package/dist/{update-3TODL7J3.js.map → update-5QSRHIWH.js.map} +0 -0
  271. /package/dist/{usage-YFTN2IS7.js.map → usage-CW7CDFU3.js.map} +0 -0
  272. /package/dist/{usage-ask-EZR3W3UW.js.map → usage-ask-V2SIRW4F.js.map} +0 -0
  273. /package/dist/{version-LNHKXZBP.js.map → version-RJ4PCHPB.js.map} +0 -0
  274. /package/dist/{wait-B37BTCVG.js.map → wait-XXC3I6DK.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  restartHost,
5
5
  resumeFromParams,
6
6
  withResume
7
- } from "./chunk-LZJ5VDUD.js";
7
+ } from "./chunk-RGKGJOES.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-QSSCVTFG.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-NLU6MBYT.js";
45
45
  import {
46
46
  createDigestSource
47
- } from "./chunk-EOXYDFBB.js";
47
+ } from "./chunk-SUHANL3G.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-CRAGAIOS.js";
55
55
  import {
56
56
  defaultCleanupDeps
57
- } from "./chunk-Z3JSYKOS.js";
57
+ } from "./chunk-LW6VCL6S.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,
@@ -67,6 +67,7 @@ import {
67
67
  saveLocalReview
68
68
  } from "./chunk-NHZZMY3H.js";
69
69
  import {
70
+ connectTempo,
70
71
  createMonthGather,
71
72
  defaultTimeDeps,
72
73
  fetchIssueDetail,
@@ -74,19 +75,23 @@ import {
74
75
  fetchMyIssues,
75
76
  fetchMyIssuesOrThrow,
76
77
  finishDeviceLogin,
78
+ forgetTempoToken,
77
79
  graphAccount,
78
80
  graphApp,
79
81
  graphProblem,
82
+ myAccountId,
83
+ readStoredTempoToken,
80
84
  signOutGraph,
81
- startDeviceLogin
82
- } from "./chunk-JIMD77FI.js";
85
+ startDeviceLogin,
86
+ storeTempoToken
87
+ } from "./chunk-XB4SCJWD.js";
83
88
  import {
84
89
  anyOwnStatusLine,
85
90
  buildUsage,
86
91
  realUsageDeps,
87
92
  refreshUsage,
88
93
  setupAgentUsage
89
- } from "./chunk-V6FD76AQ.js";
94
+ } from "./chunk-A53OR6P5.js";
90
95
  import {
91
96
  archivedRefusal,
92
97
  sendToSession
@@ -108,7 +113,7 @@ import {
108
113
  removeBlocker,
109
114
  sweepBlocks,
110
115
  unblockedPrompt
111
- } from "./chunk-OETBYJFV.js";
116
+ } from "./chunk-SF3DIIKN.js";
112
117
  import {
113
118
  jiraWorklogPoster,
114
119
  logWorkDay,
@@ -117,20 +122,22 @@ import {
117
122
  } from "./chunk-WIXY4EDH.js";
118
123
  import {
119
124
  sessionWorkTime
120
- } from "./chunk-O7BXNXU2.js";
125
+ } from "./chunk-QAIG5FSQ.js";
121
126
  import {
122
127
  accountOverview,
123
128
  accountSkillsNote,
124
- accountSwitchNote,
125
129
  addAgentAccount,
126
- continueWhenReady,
127
130
  createAccountLogins,
128
- createAccountSwitcher,
129
131
  defaultAccountSwitchDeps,
130
132
  removeAgentAccount,
131
- setDefaultAgentAccount,
133
+ setDefaultAgentAccount
134
+ } from "./chunk-JVOQSU6R.js";
135
+ import {
136
+ accountSwitchNote,
137
+ continueWhenReady,
138
+ createAccountSwitcher,
132
139
  switchRefusal
133
- } from "./chunk-ZBVM57LO.js";
140
+ } from "./chunk-XWUX474Q.js";
134
141
  import "./chunk-LK7HJGUC.js";
135
142
  import {
136
143
  freeLeftovers,
@@ -140,10 +147,10 @@ import {
140
147
  parsePrRef,
141
148
  resolvePrToStart,
142
149
  workOnPrPrompt
143
- } from "./chunk-FRFS6JC4.js";
150
+ } from "./chunk-VNZBFVGY.js";
144
151
  import {
145
152
  legacyUnsafeCheck
146
- } from "./chunk-6ISLCEBR.js";
153
+ } from "./chunk-K6FD5WDW.js";
147
154
  import {
148
155
  howToLift
149
156
  } from "./chunk-FZHFD2AY.js";
@@ -151,16 +158,16 @@ import {
151
158
  agentsBySession,
152
159
  stopBackgroundWork,
153
160
  summarizeAgents
154
- } from "./chunk-R7IENU76.js";
155
- import "./chunk-PCJVBGRS.js";
161
+ } from "./chunk-7HQSILMM.js";
162
+ import "./chunk-M2P722BR.js";
156
163
  import {
157
164
  removeWorktreeInChild
158
- } from "./chunk-ULI54QYZ.js";
165
+ } from "./chunk-WH6DAD6D.js";
159
166
  import {
160
167
  archiveMergedSession,
161
168
  archiveWaiting,
162
169
  defaultArchiveDeps
163
- } from "./chunk-R7JIKEIL.js";
170
+ } from "./chunk-G4VKMMIC.js";
164
171
  import {
165
172
  cleanupVerdict,
166
173
  createCleanupJob
@@ -180,7 +187,7 @@ import {
180
187
  retireResolvedReplies,
181
188
  sessionRepoRefs,
182
189
  withThreadContext
183
- } from "./chunk-TVIM5VV5.js";
190
+ } from "./chunk-IUVMVNIO.js";
184
191
  import {
185
192
  DEFAULT_TRUSTED_BOTS,
186
193
  createCiStore,
@@ -190,12 +197,12 @@ import {
190
197
  openThreadsOf,
191
198
  reviewMessage,
192
199
  subAgentHint
193
- } from "./chunk-ETO7CUIS.js";
200
+ } from "./chunk-QMWV4UKB.js";
194
201
  import {
195
202
  defaultForkDeps,
196
203
  forkSession,
197
204
  startSessionWithPrompt
198
- } from "./chunk-L5U47Q63.js";
205
+ } from "./chunk-HBYXSFLN.js";
199
206
  import {
200
207
  FLOW_PARAM,
201
208
  gridFromParams,
@@ -210,7 +217,7 @@ import {
210
217
  keyedQueue,
211
218
  oneAtATime,
212
219
  runWorkChild
213
- } from "./chunk-EEMPMVCP.js";
220
+ } from "./chunk-VPZ5ILKT.js";
214
221
  import {
215
222
  configurePtyPool,
216
223
  detachPtyPool,
@@ -235,26 +242,26 @@ import {
235
242
  syncPtyPool,
236
243
  terminalTicketUrl,
237
244
  writeToPty
238
- } from "./chunk-HTV7366A.js";
245
+ } from "./chunk-BBI4YQTS.js";
239
246
  import "./chunk-BCYBF7KJ.js";
240
- import "./chunk-ZDTFAMD2.js";
247
+ import "./chunk-NREZVTBP.js";
241
248
  import {
242
249
  disposeAllWatchers,
243
250
  disposeSessionWatcher,
244
251
  findSession as findSession2,
245
252
  subscribeSession
246
- } from "./chunk-4FOC35LW.js";
253
+ } from "./chunk-C5BBVVHW.js";
247
254
  import "./chunk-HCYES6U7.js";
248
255
  import "./chunk-NS7WH53I.js";
249
256
  import {
250
257
  addRepoRefusal,
251
258
  addedRepoNote
252
- } from "./chunk-4VTRRZWZ.js";
259
+ } from "./chunk-P53UYZZ4.js";
253
260
  import {
254
261
  teardownWorktree,
255
262
  toBaseSpec,
256
263
  wouldRefuseRemoval
257
- } from "./chunk-WYCGV5Z7.js";
264
+ } from "./chunk-KWJ6S4NZ.js";
258
265
  import "./chunk-Y7PWSACJ.js";
259
266
  import {
260
267
  isWorktreeFolder
@@ -274,36 +281,36 @@ import {
274
281
  stackedOn,
275
282
  updateFromBase,
276
283
  updateFromMain
277
- } from "./chunk-4GIAERRK.js";
284
+ } from "./chunk-MYASALCU.js";
278
285
  import {
279
286
  sessionStatusView,
280
287
  shownState
281
- } from "./chunk-AZF7HIDT.js";
288
+ } from "./chunk-BZOYUBK4.js";
282
289
  import {
283
290
  askCatchUp,
284
291
  cachedCatchUp,
285
292
  catchUp,
286
293
  catchUpFacts,
287
294
  forgetCatchUp
288
- } from "./chunk-6RFDASKQ.js";
295
+ } from "./chunk-DNC2ZJOF.js";
289
296
  import {
290
297
  internalReadOnly,
291
298
  runInternal,
292
299
  runInternalReadOnly,
293
300
  summarizeCheckpoint,
294
301
  throttleTrailing
295
- } from "./chunk-FEI73IPX.js";
302
+ } from "./chunk-7BH2PUYY.js";
296
303
  import {
297
304
  computeDiff,
298
305
  computeRangeDiff,
299
306
  parseGitDiff
300
- } from "./chunk-VVJY6IKW.js";
307
+ } from "./chunk-ZPDCVDE2.js";
301
308
  import {
302
309
  changeRailSections,
303
310
  placeSession,
304
311
  readRailLayout,
305
312
  saveRailView
306
- } from "./chunk-UGDTSOPX.js";
313
+ } from "./chunk-APHVSSLI.js";
307
314
  import {
308
315
  QUEUE_RECHECK_MS,
309
316
  busyForRestart,
@@ -341,7 +348,7 @@ import {
341
348
  tempoSetup,
342
349
  timeRange,
343
350
  updateDay
344
- } from "./chunk-4LZLVHZE.js";
351
+ } from "./chunk-KJAE7WO5.js";
345
352
  import {
346
353
  DISCUSSION_OPEN_MIN_MS,
347
354
  LEFT_OVER_SUBMIT,
@@ -395,17 +402,18 @@ import {
395
402
  assistantDir,
396
403
  describeView,
397
404
  writeAssistantContext
398
- } from "./chunk-K76NOSEX.js";
405
+ } from "./chunk-XT3FON6A.js";
399
406
  import {
407
+ allParents,
400
408
  childBrief,
401
409
  childrenOf,
402
410
  coordinatorSince,
403
411
  newBranchCheck,
404
412
  setParent,
405
413
  spawnCheck
406
- } from "./chunk-DHZ5DF6Y.js";
414
+ } from "./chunk-MYXEX6BB.js";
407
415
  import "./chunk-7E5XPDKX.js";
408
- import "./chunk-AEH72XTU.js";
416
+ import "./chunk-DK3UMOX7.js";
409
417
  import {
410
418
  clearDevWebDiscovery,
411
419
  clearWebDiscovery,
@@ -417,13 +425,13 @@ import {
417
425
  readWebUrl,
418
426
  writeDevWebDiscovery,
419
427
  writeWebDiscovery
420
- } from "./chunk-SZAD5U3J.js";
428
+ } from "./chunk-LB2GAU7E.js";
421
429
  import {
422
430
  NOTE_NUDGE,
423
431
  findSessionForCwd,
424
432
  readPendingForSession,
425
433
  readPendingForWorktree
426
- } from "./chunk-DP6YMZUL.js";
434
+ } from "./chunk-LOFGDH5B.js";
427
435
  import "./chunk-ZSHWP2VS.js";
428
436
  import {
429
437
  getCommentFileStore
@@ -435,7 +443,7 @@ import {
435
443
  checkTools,
436
444
  saveFolders,
437
445
  setupState
438
- } from "./chunk-WLYWO6JH.js";
446
+ } from "./chunk-LCYYJFSZ.js";
439
447
  import {
440
448
  chooseWorktreesRoot,
441
449
  expandHome
@@ -448,17 +456,17 @@ import {
448
456
  stageInputOf,
449
457
  withRequiredChecks,
450
458
  workElsewhere
451
- } from "./chunk-BTGPUOF7.js";
459
+ } from "./chunk-6S3DYLGH.js";
452
460
  import {
453
461
  createSessionBranches
454
- } from "./chunk-DSDPJATB.js";
462
+ } from "./chunk-MMEFW2PI.js";
455
463
  import {
456
464
  defaultHost,
457
465
  hostById,
458
466
  hostForRepo,
459
467
  hostOfPrUrl,
460
468
  originHostname
461
- } from "./chunk-6HVDHGNE.js";
469
+ } from "./chunk-PSALWCBD.js";
462
470
  import {
463
471
  MAX_THREAD_BODY
464
472
  } from "./chunk-FGPXMAYU.js";
@@ -483,13 +491,13 @@ import {
483
491
  setRepoIgnored,
484
492
  setReviewMode,
485
493
  setScanRoot
486
- } from "./chunk-5THKIWZU.js";
494
+ } from "./chunk-HO5KESIB.js";
487
495
  import {
488
496
  openUrl,
489
497
  openWithDefaultApp,
490
498
  revealInFileManager,
491
499
  startEditor
492
- } from "./chunk-26BZGPFZ.js";
500
+ } from "./chunk-773UJC5C.js";
493
501
  import {
494
502
  enrollProblem,
495
503
  groupProblem,
@@ -596,7 +604,7 @@ import {
596
604
  updateCheckpoint,
597
605
  whileRestoring,
598
606
  writeArchiveRecord
599
- } from "./chunk-XJQ7XJJC.js";
607
+ } from "./chunk-XL4YNA3L.js";
600
608
  import {
601
609
  dayKey
602
610
  } from "./chunk-NEJVK5CF.js";
@@ -627,13 +635,13 @@ import {
627
635
  projectList,
628
636
  readJsonlSince,
629
637
  swallow
630
- } from "./chunk-BS6GTKF2.js";
638
+ } from "./chunk-NWKVTUTN.js";
631
639
  import "./chunk-KGHWHAVF.js";
632
- import "./chunk-KUYEYPO4.js";
640
+ import "./chunk-BMPTUIP4.js";
633
641
  import "./chunk-ED6YLB4S.js";
634
642
  import {
635
643
  VERSION
636
- } from "./chunk-CJFAJV2K.js";
644
+ } from "./chunk-DYKA3LO3.js";
637
645
  import {
638
646
  resolveProjectTarget
639
647
  } from "./chunk-IPHADNF5.js";
@@ -655,7 +663,7 @@ import {
655
663
  import {
656
664
  DEFAULT_ACCOUNT_NAME,
657
665
  accountNameProblem
658
- } from "./chunk-EVGYDJI2.js";
666
+ } from "./chunk-XIN6XUFL.js";
659
667
  import {
660
668
  DEFAULT_ACCOUNT,
661
669
  DEFAULT_PROMPTS,
@@ -671,18 +679,20 @@ import {
671
679
  isRailColor,
672
680
  isWorkday,
673
681
  loadConfig
674
- } from "./chunk-ASGJ3MCL.js";
675
- import "./chunk-W4GDPHIF.js";
682
+ } from "./chunk-ETWP7MDS.js";
683
+ import "./chunk-7ZATXG5F.js";
676
684
  import "./chunk-BR6OWWAA.js";
677
685
  import {
678
686
  bootTime,
679
687
  detachHere,
680
688
  isPidAlive,
689
+ isPidRunning,
681
690
  killTreeAsync,
682
691
  recentProcessTable
683
- } from "./chunk-VHENFC2S.js";
692
+ } from "./chunk-M2X6OHHR.js";
684
693
  import {
685
694
  explainNotOnPath,
695
+ findOnPath,
686
696
  programPath,
687
697
  shellEnv,
688
698
  spawn_default,
@@ -3431,6 +3441,14 @@ var SETTINGS = [
3431
3441
  kind: { type: "text", placeholder: "code" },
3432
3442
  default: "code"
3433
3443
  },
3444
+ {
3445
+ path: "terminalApp",
3446
+ section: "General",
3447
+ label: "Terminal app",
3448
+ 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.",
3449
+ kind: { type: "text", placeholder: "automatic" },
3450
+ default: null
3451
+ },
3434
3452
  bool(
3435
3453
  "notifications",
3436
3454
  "General",
@@ -3836,7 +3854,7 @@ var SETTINGS = [
3836
3854
  path: "time.tempo.accountId",
3837
3855
  section: "Time",
3838
3856
  label: "Your Jira account id (Tempo)",
3839
- help: "Else JIRA_ACCOUNT_ID.",
3857
+ help: "Filled in by itself when you set up Tempo on the Time tab; else JIRA_ACCOUNT_ID.",
3840
3858
  kind: { type: "text" },
3841
3859
  default: null
3842
3860
  },
@@ -3844,7 +3862,7 @@ var SETTINGS = [
3844
3862
  path: "time.tempo.tokenEnv",
3845
3863
  section: "Time",
3846
3864
  label: "Environment variable with the Tempo token",
3847
- help: "The token itself is never stored here.",
3865
+ help: "Set up Tempo on the Time tab instead, or set this variable for work web (it wins). The token is never stored in config.",
3848
3866
  kind: { type: "text", placeholder: "TEMPO_API_TOKEN" },
3849
3867
  default: "TEMPO_API_TOKEN"
3850
3868
  },
@@ -5346,6 +5364,10 @@ function mountPanesRoutes(app, opts) {
5346
5364
  // src/server/routes/worktree-routes.ts
5347
5365
  import fs11 from "fs";
5348
5366
  import path12 from "path";
5367
+ import { zValidator as zValidator6 } from "@hono/zod-validator";
5368
+ import { z as z5 } from "zod";
5369
+
5370
+ // src/core/platform/terminal-launch.ts
5349
5371
  import { spawn } from "child_process";
5350
5372
 
5351
5373
  // src/core/platform/started.ts
@@ -5363,9 +5385,119 @@ function whenStarted(child) {
5363
5385
  });
5364
5386
  }
5365
5387
 
5388
+ // src/core/platform/terminal-launch.ts
5389
+ var TERMINALS = {
5390
+ // wt splits its own command line on `;`: the caller refuses a folder with one and strips it from the title.
5391
+ wt: (j) => ["-w", "0", "nt", "--title", j.title, "-d", j.cwd, ...j.argv],
5392
+ ptyxis: (j) => ["--new-window", "-d", j.cwd, "-T", j.title, "--", ...j.argv],
5393
+ "gnome-terminal": (j) => ["--tab", `--working-directory=${j.cwd}`, "--", ...j.argv],
5394
+ kgx: (j) => ["--tab", `--working-directory=${j.cwd}`, "--", ...j.argv],
5395
+ konsole: (j) => ["--new-tab", "--workdir", j.cwd, "-p", `tabtitle=${j.title}`, "-e", ...j.argv],
5396
+ "xfce4-terminal": (j) => ["--tab", "--working-directory", j.cwd, "--title", j.title, "-x", ...j.argv],
5397
+ kitty: (j) => ["--directory", j.cwd, "--title", j.title, ...j.argv],
5398
+ alacritty: (j) => ["--working-directory", j.cwd, "--title", j.title, "-e", ...j.argv],
5399
+ wezterm: (j) => ["start", "--cwd", j.cwd, "--", ...j.argv],
5400
+ ghostty: (j) => [`--working-directory=${j.cwd}`, `--title=${j.title}`, "-e", ...j.argv],
5401
+ foot: (j) => ["--working-directory", j.cwd, "--title", j.title, ...j.argv],
5402
+ xterm: (j) => ["-T", j.title, "-e", ...j.argv],
5403
+ "x-terminal-emulator": (j) => ["-e", ...j.argv]
5404
+ };
5405
+ var LINUX_TERMINALS = [
5406
+ "ptyxis",
5407
+ "gnome-terminal",
5408
+ "konsole",
5409
+ "kgx",
5410
+ "xfce4-terminal",
5411
+ "ghostty",
5412
+ "kitty",
5413
+ "wezterm",
5414
+ "alacritty",
5415
+ "foot",
5416
+ "x-terminal-emulator",
5417
+ "xterm"
5418
+ ];
5419
+ var MAC_LINE = `"cd " & quoted form of (item 1 of argv) & " && exec" & my shellWords(rest of argv)`;
5420
+ var MAC_WORDS = [
5421
+ "on shellWords(xs)",
5422
+ 'set s to ""',
5423
+ "repeat with x in xs",
5424
+ 'set s to s & " " & quoted form of (x as text)',
5425
+ "end repeat",
5426
+ "return s",
5427
+ "end shellWords"
5428
+ ];
5429
+ var MAC_SCRIPTS = {
5430
+ terminal: ["on run argv", 'tell application "Terminal"', "activate", `do script ${MAC_LINE}`, "end tell", "end run", ...MAC_WORDS],
5431
+ iterm: [
5432
+ "on run argv",
5433
+ 'tell application "iTerm"',
5434
+ "activate",
5435
+ "set w to (create window with default profile)",
5436
+ `tell current session of w to write text ${MAC_LINE}`,
5437
+ "end tell",
5438
+ "end run",
5439
+ ...MAC_WORDS
5440
+ ]
5441
+ };
5442
+ function terminalName(program) {
5443
+ return (program.trim().split(/[\\/]/).pop() ?? "").replace(/\.(exe|app)$/i, "").toLowerCase();
5444
+ }
5445
+ function terminalLaunch(terminal, job, platform = process.platform) {
5446
+ const name = terminalName(terminal);
5447
+ if (platform === "win32" && (name === "conhost" || name === "console")) {
5448
+ return { cmd: job.argv[0], args: job.argv.slice(1), detached: true };
5449
+ }
5450
+ if (platform === "darwin" && (name === "terminal" || name === "iterm" || name === "iterm2")) {
5451
+ const script = MAC_SCRIPTS[name === "terminal" ? "terminal" : "iterm"];
5452
+ return { cmd: "osascript", args: [...script.flatMap((l) => ["-e", l]), job.cwd, ...job.argv], detached: detachHere(platform) };
5453
+ }
5454
+ const args = TERMINALS[name];
5455
+ if (!args) return null;
5456
+ const run = platform === "win32" ? job : { ...job, argv: inFolder(job.cwd, job.argv) };
5457
+ return { cmd: terminal.trim(), args: args(run), detached: detachHere(platform) };
5458
+ }
5459
+ function inFolder(cwd, argv) {
5460
+ return ["/bin/sh", "-c", 'cd -- "$1" && shift && exec "$@"', "sh", cwd, ...argv];
5461
+ }
5462
+ function pickTerminal(configured, platform = process.platform, env = process.env, onPath = (cmd) => findOnPath(cmd, env, platform) !== null) {
5463
+ if (configured?.trim()) return configured.trim();
5464
+ if (platform === "win32") return onPath("wt.exe") ? "wt.exe" : "conhost";
5465
+ if (platform === "darwin") return "Terminal";
5466
+ const preferred = env.TERMINAL?.trim();
5467
+ if (preferred && TERMINALS[terminalName(preferred)] && onPath(preferred)) return preferred;
5468
+ return LINUX_TERMINALS.find(onPath) ?? null;
5469
+ }
5470
+ async function openTerminal(job) {
5471
+ const configured = loadConfig()?.terminalApp;
5472
+ const terminal = pickTerminal(configured);
5473
+ if (!terminal) {
5474
+ return `no terminal found (tried ${LINUX_TERMINALS.join(", ")}) \u2014 set "terminalApp" in work's config, or run \`work attach\` in the worktree`;
5475
+ }
5476
+ const launch2 = terminalLaunch(terminal, job);
5477
+ if (!launch2) {
5478
+ 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(", ")}`;
5479
+ }
5480
+ if (terminalName(launch2.cmd) === "wt" && job.cwd.includes(";")) return 'worktree path contains ";", which wt.exe cannot take';
5481
+ let child;
5482
+ try {
5483
+ child = spawn(programPath(launch2.cmd), launch2.args, {
5484
+ cwd: job.cwd,
5485
+ stdio: "ignore",
5486
+ shell: false,
5487
+ detached: launch2.detached,
5488
+ windowsHide: false
5489
+ // a terminal window: the window is what was asked for
5490
+ // node's spawn, not work's wrapper: no shellEnv — the shell in the window is the user's (shell-env.ts).
5491
+ });
5492
+ } catch (err) {
5493
+ return `could not start ${terminal}: ${err.message}`;
5494
+ }
5495
+ const why = await whenStarted(child);
5496
+ child.unref();
5497
+ return why ? `${terminal} didn't start: ${why}` : null;
5498
+ }
5499
+
5366
5500
  // src/server/routes/worktree-routes.ts
5367
- import { zValidator as zValidator6 } from "@hono/zod-validator";
5368
- import { z as z5 } from "zod";
5369
5501
  var queues = /* @__PURE__ */ new Map();
5370
5502
  function oneAtATime2(key, fn) {
5371
5503
  const run = (queues.get(key) ?? Promise.resolve()).catch(() => void 0).then(fn);
@@ -5597,28 +5729,9 @@ function mountWorktreeRoutes(app, opts) {
5597
5729
  const session = findSession2(id);
5598
5730
  const spec = session ? spawnSpecFor(session) : null;
5599
5731
  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
5732
  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);
5733
+ const failed = await openTerminal({ cwd: spec.cwd, title, argv: [process.execPath, getWorkBin(), "attach"] });
5734
+ if (failed) return c.json({ error: failed }, 500);
5622
5735
  return c.json({ ok: true });
5623
5736
  });
5624
5737
  }
@@ -7862,8 +7975,16 @@ function createTimeKeeper(deps, opts) {
7862
7975
 
7863
7976
  // src/server/routes/time-routes.ts
7864
7977
  var realTempo = () => {
7865
- const s = tempoSetup(loadConfig()?.time?.tempo, process.env);
7866
- return s.ready ? { api: tempoClient(s.token), accountId: s.accountId } : { why: s.why };
7978
+ const s = tempoSetup(loadConfig()?.time?.tempo, process.env, readStoredTempoToken());
7979
+ return s.ready ? { api: tempoClient(s.token), accountId: s.accountId, fromApp: s.fromApp } : { why: s.why };
7980
+ };
7981
+ var realConnect = {
7982
+ configured: () => loadConfig()?.time?.tempo?.accountId?.trim() || process.env.JIRA_ACCOUNT_ID?.trim() || null,
7983
+ detect: () => myAccountId(),
7984
+ client: (token) => tempoClient(token),
7985
+ store: storeTempoToken,
7986
+ saveAccountId: async (id) => void await writeSetting("time.tempo.accountId", id),
7987
+ today: () => localDay()
7867
7988
  };
7868
7989
  var realGraph = {
7869
7990
  app: () => graphApp(loadConfig()?.time?.graph, process.env),
@@ -7927,9 +8048,10 @@ function mountTimeRoutes(app, opts) {
7927
8048
  });
7928
8049
  const changed = (day) => opts.broadcast("time-changed", { day });
7929
8050
  const tempo = opts.tempo ?? realTempo;
8051
+ const postingOf = (t) => "why" in t ? { ready: false, why: t.why } : { ready: true, why: null, ...t.fromApp ? { fromApp: true } : {} };
7930
8052
  const withPosting = (w) => {
7931
8053
  const t = tempo();
7932
- return { ...w, posting: "why" in t ? { ready: false, why: t.why } : { ready: true, why: null } };
8054
+ return { ...w, posting: postingOf(t) };
7933
8055
  };
7934
8056
  app.get("/api/time", (c) => {
7935
8057
  const settings = opts.deps.settings();
@@ -7944,7 +8066,7 @@ function mountTimeRoutes(app, opts) {
7944
8066
  ...monthWire(month, localDay(), opts.deps.settings()),
7945
8067
  gathering: gather.state(month).gathering,
7946
8068
  gatherError: gather.state(month).error,
7947
- posting: "why" in t ? { ready: false, why: t.why } : { ready: true, why: null }
8069
+ posting: postingOf(t)
7948
8070
  };
7949
8071
  };
7950
8072
  const badMonth = (month) => !isMonth(month) ? "month: YYYY-MM" : !monthRange(month, localDay()) ? "month: one that has started" : null;
@@ -7961,6 +8083,18 @@ function mountTimeRoutes(app, opts) {
7961
8083
  gather.start(month);
7962
8084
  return c.json(monthWithState(month), 202);
7963
8085
  });
8086
+ app.post("/api/time/tempo", async (c) => {
8087
+ const body = await c.req.json().catch(() => null);
8088
+ const r = await connectTempo(body?.token, body?.accountId, opts.connect ?? realConnect);
8089
+ if (!r.ok) return c.json({ error: r.error, ...r.needsAccountId ? { needsAccountId: true } : {} }, 400);
8090
+ changed("");
8091
+ return c.json({ ok: true, accountId: r.accountId });
8092
+ });
8093
+ app.delete("/api/time/tempo", (c) => {
8094
+ (opts.forget ?? forgetTempoToken)();
8095
+ changed("");
8096
+ return c.json({ ok: true });
8097
+ });
7964
8098
  app.get("/api/time/:day", (c) => {
7965
8099
  const day = c.req.param("day");
7966
8100
  if (!isDay(day)) return c.json({ error: "day: a real day, YYYY-MM-DD" }, 400);
@@ -8444,12 +8578,22 @@ async function reviewDiff(run, repoPath, from, to) {
8444
8578
  const d = await git2(run, repoPath, "diff", "--no-color", "--no-ext-diff", "-M", from, to);
8445
8579
  return d.code === 0 ? parseGitDiff(d.stdout) : null;
8446
8580
  }
8581
+ function numstatChanged(stdout) {
8582
+ const out = /* @__PURE__ */ new Set();
8583
+ const parts = stdout.split("\0");
8584
+ for (let i = 0; i < parts.length; i++) {
8585
+ const m = /^(-|\d+)\t(-|\d+)\t(.*)$/s.exec(parts[i].replace(/^\n+/, ""));
8586
+ if (!m) continue;
8587
+ const path25 = m[3] === "" ? parts[i += 2] : m[3];
8588
+ const counted = m[1] === "-" || m[2] === "-" || Number(m[1]) + Number(m[2]) > 0;
8589
+ if (path25 && counted) out.add(path25);
8590
+ }
8591
+ return out;
8592
+ }
8447
8593
  async function diffExtras(run, repoPath, from, to, files) {
8448
8594
  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
- );
8595
+ const w = await git2(run, repoPath, "diff", "--no-color", "--no-ext-diff", "-M", "-w", "--numstat", "-z", from, to);
8596
+ const real = w.code === 0 ? numstatChanged(w.stdout) : new Set(changed);
8453
8597
  const whitespaceOnly = new Set(w.code === 0 ? changed.filter((p) => !real.has(p)) : []);
8454
8598
  const generated = /* @__PURE__ */ new Set();
8455
8599
  const paths = files.map((f) => f.path);
@@ -10269,6 +10413,7 @@ async function startWebServer(opts = {}) {
10269
10413
  const drafts = draftCounts();
10270
10414
  const snoozes = allSnoozes();
10271
10415
  const noted = sessionsWithNotes();
10416
+ const parents = bestEffort("read who started which session", () => allParents(), /* @__PURE__ */ new Map()) ?? /* @__PURE__ */ new Map();
10272
10417
  const blocks = allBlocks();
10273
10418
  const branchRecords = allSessionBranches();
10274
10419
  const live = new Set(history.filter((x) => !x.archivedAt).map((x) => sessionIdFor(x)));
@@ -10304,6 +10449,7 @@ async function startWebServer(opts = {}) {
10304
10449
  branchesFor: (id, s2) => sessionBranches.wire(s2, branchRecords.get(id), prWatch.state(id)),
10305
10450
  replyDraftsFor: (id) => drafts.get(id) ?? 0,
10306
10451
  hasNote: (id) => noted.has(id),
10452
+ startedByFor: (id) => parents.get(id)?.parentId ?? null,
10307
10453
  blockedByFor: (id) => (blocks.get(id)?.by ?? []).filter((b) => !blockerDone(b, (x) => !live.has(x))).map((b) => ({
10308
10454
  key: blockKey(b),
10309
10455
  kind: b.kind,
@@ -14674,6 +14820,8 @@ async function startDemoServer(opts) {
14674
14820
  if (!monthRange(month, localDay(scenario.clockMs()))) return c.json({ error: "month: YYYY-MM, one that has started" }, 400);
14675
14821
  return c.json(demoTime.month(month), 202);
14676
14822
  });
14823
+ app.post("/api/time/tempo", (c) => c.json({ ok: true, accountId: "demo-account" }));
14824
+ app.delete("/api/time/tempo", (c) => c.json({ ok: true }));
14677
14825
  app.get("/api/time/:day", (c) => {
14678
14826
  const day = c.req.param("day");
14679
14827
  if (!isDay(day)) return c.json({ error: "day: YYYY-MM-DD" }, 400);
@@ -15194,9 +15342,9 @@ async function stopExisting(kill = (pid) => process.kill(pid), graceMs = 8e3) {
15194
15342
  const asked = await fetch(`${url}api/shutdown`, { method: "POST", signal: AbortSignal.timeout(3e3) }).then((r) => r.ok).catch(() => false);
15195
15343
  if (asked) {
15196
15344
  const until = Date.now() + graceMs;
15197
- while (Date.now() < until && isPidAlive(pid)) await new Promise((r) => setTimeout(r, 100));
15345
+ while (Date.now() < until && isPidRunning(pid)) await new Promise((r) => setTimeout(r, 100));
15198
15346
  }
15199
- if (isPidAlive(pid)) {
15347
+ if (isPidRunning(pid)) {
15200
15348
  try {
15201
15349
  kill(pid);
15202
15350
  } catch {
@@ -15418,17 +15566,17 @@ async function stopDev2() {
15418
15566
  const asked = await fetch(`${found2.url}api/shutdown`, { method: "POST", signal: AbortSignal.timeout(3e3) }).then((r) => r.ok).catch(() => false);
15419
15567
  const waitGone = async (ms) => {
15420
15568
  const until = Date.now() + ms;
15421
- while (Date.now() < until && isPidAlive(found2.pid)) await new Promise((r) => setTimeout(r, 100));
15569
+ while (Date.now() < until && isPidRunning(found2.pid)) await new Promise((r) => setTimeout(r, 100));
15422
15570
  };
15423
15571
  if (asked) await waitGone(1e4);
15424
- if (isPidAlive(found2.pid)) {
15572
+ if (isPidRunning(found2.pid)) {
15425
15573
  try {
15426
15574
  process.kill(found2.pid);
15427
15575
  } catch {
15428
15576
  }
15429
15577
  await waitGone(3e3);
15430
15578
  }
15431
- const gone = !isPidAlive(found2.pid);
15579
+ const gone = !isPidRunning(found2.pid);
15432
15580
  if (gone) clearDevWebDiscovery(found2.pid);
15433
15581
  info(gone ? chalk.gray("Stopped the dev server.") : chalk.red(`The dev server (PID ${found2.pid}) did not stop.`));
15434
15582
  return gone;
@@ -15456,4 +15604,4 @@ export {
15456
15604
  stopExisting,
15457
15605
  webCommand
15458
15606
  };
15459
- //# sourceMappingURL=web-JAAXINIU.js.map
15607
+ //# sourceMappingURL=web-SUSR4IAK.js.map