@moberg_hr/work-tree 2.22.3 → 2.22.4

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 (239) hide show
  1. package/dist/{account-XM6AGLTP.js → account-J55P3HXH.js} +16 -16
  2. package/dist/{add-repo-Q2QRLPCY.js → add-repo-ALVEGU25.js} +9 -9
  3. package/dist/{answer-EN2SUUMI.js → answer-CI2SPQQL.js} +7 -7
  4. package/dist/{attach-WYSTXYA7.js → attach-7LBIFBLX.js} +14 -14
  5. package/dist/bin.js +2 -2
  6. package/dist/{block-O5XC4JSQ.js → block-TVIYWRJ5.js} +9 -9
  7. package/dist/{broadcast-MT77AQG5.js → broadcast-GZNMZFOY.js} +5 -5
  8. package/dist/{catchup-WNXY4QRC.js → catchup-ZURJI6BF.js} +10 -10
  9. package/dist/{child-4OQQ4RMP.js → child-K6YYF6MQ.js} +6 -6
  10. package/dist/{chunk-MHKDX7CD.js → chunk-23QLXVH6.js} +9 -9
  11. package/dist/{chunk-OHX7WKZU.js → chunk-4QMWNAEJ.js} +2 -2
  12. package/dist/{chunk-MD4G7DIO.js → chunk-5FIUVBUC.js} +5 -5
  13. package/dist/{chunk-XZF526OU.js → chunk-5P27YL64.js} +7 -7
  14. package/dist/{chunk-RDRQDE6J.js → chunk-6Y3VLCKA.js} +3 -3
  15. package/dist/{chunk-B4VQXZV4.js → chunk-7Q5PBXF6.js} +3 -3
  16. package/dist/{chunk-ZWD3QJLP.js → chunk-7ZOY2QQN.js} +2 -2
  17. package/dist/{chunk-VPFWY2GG.js → chunk-AITL3JYB.js} +2 -2
  18. package/dist/{chunk-SLA7CB3C.js → chunk-AIYZJ7XD.js} +4 -4
  19. package/dist/{chunk-VT6FJG3P.js → chunk-ATQB6PTV.js} +2 -2
  20. package/dist/{chunk-EXNRUU7Z.js → chunk-B2WV5RAL.js} +4 -4
  21. package/dist/{chunk-LVRV5UED.js → chunk-CA56ETYX.js} +4 -4
  22. package/dist/{chunk-MRMFJQZI.js → chunk-CMRTNTMU.js} +5 -5
  23. package/dist/{chunk-66OWGZAF.js → chunk-D2SVBU7R.js} +2 -2
  24. package/dist/{chunk-HF3ZGAW7.js → chunk-DC73NF67.js} +3 -3
  25. package/dist/{chunk-Z52GYYGA.js → chunk-DCENKA6E.js} +2 -2
  26. package/dist/{chunk-ORBZDEPN.js → chunk-DF4GOVDE.js} +2 -2
  27. package/dist/{chunk-R4DGGYME.js → chunk-EA4C6TVY.js} +3 -3
  28. package/dist/{chunk-YQSWVHKK.js → chunk-ED6YLB4S.js} +13 -13
  29. package/dist/chunk-ED6YLB4S.js.map +1 -0
  30. package/dist/{chunk-JBQOBCH4.js → chunk-EEHPZMS3.js} +2 -2
  31. package/dist/{chunk-JATQW6OX.js → chunk-EYJ42LDG.js} +4 -4
  32. package/dist/{chunk-TZ4BIOMS.js → chunk-F4UIKOU6.js} +4 -4
  33. package/dist/{chunk-HF4VUIGE.js → chunk-FGBLFF4O.js} +2 -2
  34. package/dist/{chunk-QAAYE6IY.js → chunk-FV7BSQPQ.js} +2 -2
  35. package/dist/{chunk-ZU36UJVG.js → chunk-G4T2HGLJ.js} +4 -4
  36. package/dist/{chunk-YYFYCOGY.js → chunk-GNERWNZY.js} +3 -3
  37. package/dist/{chunk-VRMALBZK.js → chunk-GQ5WECPJ.js} +2 -2
  38. package/dist/{chunk-7TAPYCLF.js → chunk-HUW27DSB.js} +57 -57
  39. package/dist/{chunk-WANJYVUP.js → chunk-IU6LA6EB.js} +3 -3
  40. package/dist/{chunk-QWD76K3E.js → chunk-KQMHGEI2.js} +805 -739
  41. package/dist/chunk-KQMHGEI2.js.map +1 -0
  42. package/dist/{chunk-EH4H2I72.js → chunk-KU3TQAA7.js} +3 -3
  43. package/dist/{chunk-WFKL2SJ3.js → chunk-LV5JRLBM.js} +2 -2
  44. package/dist/{chunk-RE6WWXD6.js → chunk-NOQA7MJ4.js} +2 -2
  45. package/dist/{chunk-I6GXPPEH.js → chunk-NYGKSOQ4.js} +6 -6
  46. package/dist/{chunk-GGBFSQEX.js → chunk-OCUUM755.js} +2 -2
  47. package/dist/{chunk-XYDGDIGZ.js → chunk-PUJSLL6R.js} +5 -5
  48. package/dist/{chunk-T4Y2Z6HB.js → chunk-Q2B3NUSM.js} +3 -3
  49. package/dist/{chunk-VOHPXD2P.js → chunk-QNOJOZYK.js} +2 -2
  50. package/dist/{chunk-WDKHEFR6.js → chunk-QOLHDDM2.js} +4 -4
  51. package/dist/{chunk-KSG6RRGI.js → chunk-RLPC3YKZ.js} +2 -2
  52. package/dist/{chunk-5C6N447O.js → chunk-RNPNBGVX.js} +2 -2
  53. package/dist/{chunk-GRHVKD2K.js → chunk-RTCTD5PJ.js} +3 -3
  54. package/dist/{chunk-5TW5NKYZ.js → chunk-SDYY5MHW.js} +6 -6
  55. package/dist/chunk-TDJVYUF2.js +9 -0
  56. package/dist/{chunk-4VM6GMMI.js → chunk-TOMDOA4P.js} +2 -2
  57. package/dist/{chunk-NHDZ3ECC.js → chunk-UAF2YFLZ.js} +6 -6
  58. package/dist/{chunk-DLV7TRON.js → chunk-USENBMUV.js} +2 -2
  59. package/dist/{chunk-J4CEJOSI.js → chunk-WRDULHAN.js} +14 -11
  60. package/dist/chunk-WRDULHAN.js.map +1 -0
  61. package/dist/{chunk-OOFCBN43.js → chunk-YO3BNAAK.js} +4 -4
  62. package/dist/{chunk-P3QIN44Y.js → chunk-Z4FWXDJG.js} +3 -3
  63. package/dist/{chunk-E5N4CJDI.js → chunk-Z4P23XG3.js} +4 -4
  64. package/dist/{chunk-4AAFXLXN.js → chunk-ZO7TF5OL.js} +3 -3
  65. package/dist/{chunk-RFE3HK2L.js → chunk-ZTWZS5RK.js} +3 -3
  66. package/dist/{cleanup-OZFN7I2N.js → cleanup-G4WQACD6.js} +26 -26
  67. package/dist/{cli-RA5CKMTR.js → cli-XI2W5KRQ.js} +3 -3
  68. package/dist/{color-47LQGPVK.js → color-C223W3Z6.js} +7 -7
  69. package/dist/{config-U7RPODOW.js → config-KQYXQCQA.js} +7 -7
  70. package/dist/{coordinate-UO432TPP.js → coordinate-4E5GIMC6.js} +7 -7
  71. package/dist/{diff-TXGP7XHY.js → diff-HEOLTXO2.js} +8 -8
  72. package/dist/{digest-OEU7P5GQ.js → digest-GYF4YLUH.js} +7 -7
  73. package/dist/{fork-PBSBRV6J.js → fork-B35ONP3Z.js} +23 -23
  74. package/dist/{history-WF7Z54MS.js → history-25DNQKKC.js} +5 -5
  75. package/dist/{hook-7INHBIR6.js → hook-B4JO2X57.js} +8 -8
  76. package/dist/{hydrate-RRASKNTO.js → hydrate-IJEKNZIP.js} +5 -5
  77. package/dist/{init-BPQTPNQ4.js → init-UJVOUDJI.js} +9 -9
  78. package/dist/{install-skills-KSLTHRHH.js → install-skills-FV2L5QHE.js} +5 -5
  79. package/dist/install-skills-bin.js +4 -4
  80. package/dist/{keep-G4WED2HV.js → keep-PKXGFZO2.js} +7 -7
  81. package/dist/{list-XVLFF6AY.js → list-VYQ3QE2H.js} +5 -5
  82. package/dist/{move-UXB5XDIY.js → move-IAZY23ZX.js} +12 -12
  83. package/dist/{note-3JZISZMY.js → note-6HQUKUYY.js} +7 -7
  84. package/dist/{overlaps-5VSNWHEA.js → overlaps-CGP3RJOW.js} +10 -10
  85. package/dist/{pin-QJZZZETK.js → pin-PAWGQ4Q2.js} +7 -7
  86. package/dist/{pr-P5JHMUIS.js → pr-OJOGE3A3.js} +17 -17
  87. package/dist/{prune-7VM47E6R.js → prune-42MS36OR.js} +24 -24
  88. package/dist/{pty-host-VOE63H3Q.js → pty-host-ULVOMW3R.js} +12 -12
  89. package/dist/{read-Y75YWFMD.js → read-ATNCW4KH.js} +7 -7
  90. package/dist/{recent-O67MPZAU.js → recent-MTBFQT36.js} +15 -13
  91. package/dist/recent-MTBFQT36.js.map +1 -0
  92. package/dist/{remove-L7UKL4HS.js → remove-GLDJOKUI.js} +25 -25
  93. package/dist/{report-F2ASNP5G.js → report-AK7Z2Y4S.js} +6 -6
  94. package/dist/{restart-QJPCIHLM.js → restart-DEPDGEZB.js} +7 -7
  95. package/dist/{resume-6GHK46FG.js → resume-C2QPKKFN.js} +15 -13
  96. package/dist/resume-C2QPKKFN.js.map +1 -0
  97. package/dist/{review-XUWVO4XU.js → review-RYAGH3PY.js} +6 -6
  98. package/dist/{run-XHU4OPHL.js → run-WNP2SMNW.js} +5 -5
  99. package/dist/{screen-BE5IFYMV.js → screen-P746M4F2.js} +7 -7
  100. package/dist/{search-AHBK3Q6S.js → search-XQ2WMK5X.js} +5 -5
  101. package/dist/{section-VHRFW7OS.js → section-Q7TPOV7U.js} +7 -7
  102. package/dist/{send-QN56VR4Q.js → send-EGG23J2B.js} +8 -8
  103. package/dist/{sessions-36NA666U.js → sessions-2NNCWIND.js} +21 -21
  104. package/dist/{show-5YRGL7E2.js → show-KSMC7AJL.js} +6 -6
  105. package/dist/{snooze-YQAIVXJ3.js → snooze-4LVYUQEX.js} +7 -7
  106. package/dist/{start-RYQVC4AV.js → start-YKLLXW3L.js} +7 -7
  107. package/dist/{status-IJARRSRU.js → status-4HGP4ZEF.js} +8 -8
  108. package/dist/{stop-XUYL3ICW.js → stop-YBQL6NFF.js} +7 -7
  109. package/dist/{sync-ZGU3G5OD.js → sync-DUXN2MFJ.js} +24 -24
  110. package/dist/{time-AQ3HEFPA.js → time-Q42HPZZ3.js} +8 -8
  111. package/dist/{timesheet-DM2YY3ZP.js → timesheet-YJ6O3GUU.js} +10 -10
  112. package/dist/{tree-2YWTOJEK.js → tree-H2UYE6LH.js} +26 -24
  113. package/dist/tree-H2UYE6LH.js.map +1 -0
  114. package/dist/{update-7YGHGCW5.js → update-RGNKMRUL.js} +12 -12
  115. package/dist/{usage-IEH7X5QH.js → usage-YZRZKJ3H.js} +7 -7
  116. package/dist/{usage-ask-52X2RMQC.js → usage-ask-BYPNLA2B.js} +2 -2
  117. package/dist/{version-6A3FWFQR.js → version-4IOMOIDP.js} +3 -3
  118. package/dist/{wait-I4UVNBU2.js → wait-YOHPFWVJ.js} +8 -8
  119. package/dist/wd-bin.js +2 -2
  120. package/dist/web/assets/{PtyView-BPgPdKsH.js → PtyView-CW2GxKSc.js} +2 -2
  121. package/dist/web/assets/{PtyView-BPgPdKsH.js.map → PtyView-CW2GxKSc.js.map} +1 -1
  122. package/dist/web/assets/{index-fsWlaZJc.js → index-DEdSxNCA.js} +4 -4
  123. package/dist/web/assets/{index-fsWlaZJc.js.map → index-DEdSxNCA.js.map} +1 -1
  124. package/dist/web/index.html +1 -1
  125. package/dist/{web-W3YHTTSV.js → web-EC3KKH6E.js} +48 -48
  126. package/npm-shrinkwrap.json +2 -2
  127. package/package.json +1 -1
  128. package/dist/chunk-J4CEJOSI.js.map +0 -1
  129. package/dist/chunk-QWD76K3E.js.map +0 -1
  130. package/dist/chunk-TJ5XUAJK.js +0 -9
  131. package/dist/chunk-YQSWVHKK.js.map +0 -1
  132. package/dist/recent-O67MPZAU.js.map +0 -1
  133. package/dist/resume-6GHK46FG.js.map +0 -1
  134. package/dist/tree-2YWTOJEK.js.map +0 -1
  135. /package/dist/{account-XM6AGLTP.js.map → account-J55P3HXH.js.map} +0 -0
  136. /package/dist/{add-repo-Q2QRLPCY.js.map → add-repo-ALVEGU25.js.map} +0 -0
  137. /package/dist/{answer-EN2SUUMI.js.map → answer-CI2SPQQL.js.map} +0 -0
  138. /package/dist/{attach-WYSTXYA7.js.map → attach-7LBIFBLX.js.map} +0 -0
  139. /package/dist/{block-O5XC4JSQ.js.map → block-TVIYWRJ5.js.map} +0 -0
  140. /package/dist/{broadcast-MT77AQG5.js.map → broadcast-GZNMZFOY.js.map} +0 -0
  141. /package/dist/{catchup-WNXY4QRC.js.map → catchup-ZURJI6BF.js.map} +0 -0
  142. /package/dist/{child-4OQQ4RMP.js.map → child-K6YYF6MQ.js.map} +0 -0
  143. /package/dist/{chunk-MHKDX7CD.js.map → chunk-23QLXVH6.js.map} +0 -0
  144. /package/dist/{chunk-OHX7WKZU.js.map → chunk-4QMWNAEJ.js.map} +0 -0
  145. /package/dist/{chunk-MD4G7DIO.js.map → chunk-5FIUVBUC.js.map} +0 -0
  146. /package/dist/{chunk-XZF526OU.js.map → chunk-5P27YL64.js.map} +0 -0
  147. /package/dist/{chunk-RDRQDE6J.js.map → chunk-6Y3VLCKA.js.map} +0 -0
  148. /package/dist/{chunk-B4VQXZV4.js.map → chunk-7Q5PBXF6.js.map} +0 -0
  149. /package/dist/{chunk-ZWD3QJLP.js.map → chunk-7ZOY2QQN.js.map} +0 -0
  150. /package/dist/{chunk-VPFWY2GG.js.map → chunk-AITL3JYB.js.map} +0 -0
  151. /package/dist/{chunk-SLA7CB3C.js.map → chunk-AIYZJ7XD.js.map} +0 -0
  152. /package/dist/{chunk-VT6FJG3P.js.map → chunk-ATQB6PTV.js.map} +0 -0
  153. /package/dist/{chunk-EXNRUU7Z.js.map → chunk-B2WV5RAL.js.map} +0 -0
  154. /package/dist/{chunk-LVRV5UED.js.map → chunk-CA56ETYX.js.map} +0 -0
  155. /package/dist/{chunk-MRMFJQZI.js.map → chunk-CMRTNTMU.js.map} +0 -0
  156. /package/dist/{chunk-66OWGZAF.js.map → chunk-D2SVBU7R.js.map} +0 -0
  157. /package/dist/{chunk-HF3ZGAW7.js.map → chunk-DC73NF67.js.map} +0 -0
  158. /package/dist/{chunk-Z52GYYGA.js.map → chunk-DCENKA6E.js.map} +0 -0
  159. /package/dist/{chunk-ORBZDEPN.js.map → chunk-DF4GOVDE.js.map} +0 -0
  160. /package/dist/{chunk-R4DGGYME.js.map → chunk-EA4C6TVY.js.map} +0 -0
  161. /package/dist/{chunk-JBQOBCH4.js.map → chunk-EEHPZMS3.js.map} +0 -0
  162. /package/dist/{chunk-JATQW6OX.js.map → chunk-EYJ42LDG.js.map} +0 -0
  163. /package/dist/{chunk-TZ4BIOMS.js.map → chunk-F4UIKOU6.js.map} +0 -0
  164. /package/dist/{chunk-HF4VUIGE.js.map → chunk-FGBLFF4O.js.map} +0 -0
  165. /package/dist/{chunk-QAAYE6IY.js.map → chunk-FV7BSQPQ.js.map} +0 -0
  166. /package/dist/{chunk-ZU36UJVG.js.map → chunk-G4T2HGLJ.js.map} +0 -0
  167. /package/dist/{chunk-YYFYCOGY.js.map → chunk-GNERWNZY.js.map} +0 -0
  168. /package/dist/{chunk-VRMALBZK.js.map → chunk-GQ5WECPJ.js.map} +0 -0
  169. /package/dist/{chunk-7TAPYCLF.js.map → chunk-HUW27DSB.js.map} +0 -0
  170. /package/dist/{chunk-WANJYVUP.js.map → chunk-IU6LA6EB.js.map} +0 -0
  171. /package/dist/{chunk-EH4H2I72.js.map → chunk-KU3TQAA7.js.map} +0 -0
  172. /package/dist/{chunk-WFKL2SJ3.js.map → chunk-LV5JRLBM.js.map} +0 -0
  173. /package/dist/{chunk-RE6WWXD6.js.map → chunk-NOQA7MJ4.js.map} +0 -0
  174. /package/dist/{chunk-I6GXPPEH.js.map → chunk-NYGKSOQ4.js.map} +0 -0
  175. /package/dist/{chunk-GGBFSQEX.js.map → chunk-OCUUM755.js.map} +0 -0
  176. /package/dist/{chunk-XYDGDIGZ.js.map → chunk-PUJSLL6R.js.map} +0 -0
  177. /package/dist/{chunk-T4Y2Z6HB.js.map → chunk-Q2B3NUSM.js.map} +0 -0
  178. /package/dist/{chunk-VOHPXD2P.js.map → chunk-QNOJOZYK.js.map} +0 -0
  179. /package/dist/{chunk-WDKHEFR6.js.map → chunk-QOLHDDM2.js.map} +0 -0
  180. /package/dist/{chunk-KSG6RRGI.js.map → chunk-RLPC3YKZ.js.map} +0 -0
  181. /package/dist/{chunk-5C6N447O.js.map → chunk-RNPNBGVX.js.map} +0 -0
  182. /package/dist/{chunk-GRHVKD2K.js.map → chunk-RTCTD5PJ.js.map} +0 -0
  183. /package/dist/{chunk-5TW5NKYZ.js.map → chunk-SDYY5MHW.js.map} +0 -0
  184. /package/dist/{chunk-TJ5XUAJK.js.map → chunk-TDJVYUF2.js.map} +0 -0
  185. /package/dist/{chunk-4VM6GMMI.js.map → chunk-TOMDOA4P.js.map} +0 -0
  186. /package/dist/{chunk-NHDZ3ECC.js.map → chunk-UAF2YFLZ.js.map} +0 -0
  187. /package/dist/{chunk-DLV7TRON.js.map → chunk-USENBMUV.js.map} +0 -0
  188. /package/dist/{chunk-OOFCBN43.js.map → chunk-YO3BNAAK.js.map} +0 -0
  189. /package/dist/{chunk-P3QIN44Y.js.map → chunk-Z4FWXDJG.js.map} +0 -0
  190. /package/dist/{chunk-E5N4CJDI.js.map → chunk-Z4P23XG3.js.map} +0 -0
  191. /package/dist/{chunk-4AAFXLXN.js.map → chunk-ZO7TF5OL.js.map} +0 -0
  192. /package/dist/{chunk-RFE3HK2L.js.map → chunk-ZTWZS5RK.js.map} +0 -0
  193. /package/dist/{cleanup-OZFN7I2N.js.map → cleanup-G4WQACD6.js.map} +0 -0
  194. /package/dist/{cli-RA5CKMTR.js.map → cli-XI2W5KRQ.js.map} +0 -0
  195. /package/dist/{color-47LQGPVK.js.map → color-C223W3Z6.js.map} +0 -0
  196. /package/dist/{config-U7RPODOW.js.map → config-KQYXQCQA.js.map} +0 -0
  197. /package/dist/{coordinate-UO432TPP.js.map → coordinate-4E5GIMC6.js.map} +0 -0
  198. /package/dist/{diff-TXGP7XHY.js.map → diff-HEOLTXO2.js.map} +0 -0
  199. /package/dist/{digest-OEU7P5GQ.js.map → digest-GYF4YLUH.js.map} +0 -0
  200. /package/dist/{fork-PBSBRV6J.js.map → fork-B35ONP3Z.js.map} +0 -0
  201. /package/dist/{history-WF7Z54MS.js.map → history-25DNQKKC.js.map} +0 -0
  202. /package/dist/{hook-7INHBIR6.js.map → hook-B4JO2X57.js.map} +0 -0
  203. /package/dist/{hydrate-RRASKNTO.js.map → hydrate-IJEKNZIP.js.map} +0 -0
  204. /package/dist/{init-BPQTPNQ4.js.map → init-UJVOUDJI.js.map} +0 -0
  205. /package/dist/{install-skills-KSLTHRHH.js.map → install-skills-FV2L5QHE.js.map} +0 -0
  206. /package/dist/{keep-G4WED2HV.js.map → keep-PKXGFZO2.js.map} +0 -0
  207. /package/dist/{list-XVLFF6AY.js.map → list-VYQ3QE2H.js.map} +0 -0
  208. /package/dist/{move-UXB5XDIY.js.map → move-IAZY23ZX.js.map} +0 -0
  209. /package/dist/{note-3JZISZMY.js.map → note-6HQUKUYY.js.map} +0 -0
  210. /package/dist/{overlaps-5VSNWHEA.js.map → overlaps-CGP3RJOW.js.map} +0 -0
  211. /package/dist/{pin-QJZZZETK.js.map → pin-PAWGQ4Q2.js.map} +0 -0
  212. /package/dist/{pr-P5JHMUIS.js.map → pr-OJOGE3A3.js.map} +0 -0
  213. /package/dist/{prune-7VM47E6R.js.map → prune-42MS36OR.js.map} +0 -0
  214. /package/dist/{pty-host-VOE63H3Q.js.map → pty-host-ULVOMW3R.js.map} +0 -0
  215. /package/dist/{read-Y75YWFMD.js.map → read-ATNCW4KH.js.map} +0 -0
  216. /package/dist/{remove-L7UKL4HS.js.map → remove-GLDJOKUI.js.map} +0 -0
  217. /package/dist/{report-F2ASNP5G.js.map → report-AK7Z2Y4S.js.map} +0 -0
  218. /package/dist/{restart-QJPCIHLM.js.map → restart-DEPDGEZB.js.map} +0 -0
  219. /package/dist/{review-XUWVO4XU.js.map → review-RYAGH3PY.js.map} +0 -0
  220. /package/dist/{run-XHU4OPHL.js.map → run-WNP2SMNW.js.map} +0 -0
  221. /package/dist/{screen-BE5IFYMV.js.map → screen-P746M4F2.js.map} +0 -0
  222. /package/dist/{search-AHBK3Q6S.js.map → search-XQ2WMK5X.js.map} +0 -0
  223. /package/dist/{section-VHRFW7OS.js.map → section-Q7TPOV7U.js.map} +0 -0
  224. /package/dist/{send-QN56VR4Q.js.map → send-EGG23J2B.js.map} +0 -0
  225. /package/dist/{sessions-36NA666U.js.map → sessions-2NNCWIND.js.map} +0 -0
  226. /package/dist/{show-5YRGL7E2.js.map → show-KSMC7AJL.js.map} +0 -0
  227. /package/dist/{snooze-YQAIVXJ3.js.map → snooze-4LVYUQEX.js.map} +0 -0
  228. /package/dist/{start-RYQVC4AV.js.map → start-YKLLXW3L.js.map} +0 -0
  229. /package/dist/{status-IJARRSRU.js.map → status-4HGP4ZEF.js.map} +0 -0
  230. /package/dist/{stop-XUYL3ICW.js.map → stop-YBQL6NFF.js.map} +0 -0
  231. /package/dist/{sync-ZGU3G5OD.js.map → sync-DUXN2MFJ.js.map} +0 -0
  232. /package/dist/{time-AQ3HEFPA.js.map → time-Q42HPZZ3.js.map} +0 -0
  233. /package/dist/{timesheet-DM2YY3ZP.js.map → timesheet-YJ6O3GUU.js.map} +0 -0
  234. /package/dist/{update-7YGHGCW5.js.map → update-RGNKMRUL.js.map} +0 -0
  235. /package/dist/{usage-IEH7X5QH.js.map → usage-YZRZKJ3H.js.map} +0 -0
  236. /package/dist/{usage-ask-52X2RMQC.js.map → usage-ask-BYPNLA2B.js.map} +0 -0
  237. /package/dist/{version-6A3FWFQR.js.map → version-4IOMOIDP.js.map} +0 -0
  238. /package/dist/{wait-I4UVNBU2.js.map → wait-YOHPFWVJ.js.map} +0 -0
  239. /package/dist/{web-W3YHTTSV.js.map → web-EC3KKH6E.js.map} +0 -0
@@ -26,7 +26,7 @@
26
26
  }
27
27
  })();
28
28
  </script>
29
- <script type="module" crossorigin src="/assets/index-fsWlaZJc.js"></script>
29
+ <script type="module" crossorigin src="/assets/index-DEdSxNCA.js"></script>
30
30
  <link rel="stylesheet" crossorigin href="/assets/index-Ca7KbCED.css">
31
31
  </head>
32
32
  <body>
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ensureAgentPath,
4
4
  restartHost
5
- } from "./chunk-OOFCBN43.js";
5
+ } from "./chunk-YO3BNAAK.js";
6
6
  import {
7
7
  addTask,
8
8
  completeTask,
@@ -24,7 +24,7 @@ import {
24
24
  serveSpa,
25
25
  sessionBaseForPath,
26
26
  submitReviewSchema
27
- } from "./chunk-YYFYCOGY.js";
27
+ } from "./chunk-GNERWNZY.js";
28
28
  import {
29
29
  announceChange,
30
30
  createArchivedRows,
@@ -39,25 +39,25 @@ import {
39
39
  stageSeenKey,
40
40
  storeHolding,
41
41
  withRestoring
42
- } from "./chunk-XZF526OU.js";
42
+ } from "./chunk-5P27YL64.js";
43
43
  import {
44
44
  createDigestSource
45
- } from "./chunk-JATQW6OX.js";
45
+ } from "./chunk-EYJ42LDG.js";
46
46
  import {
47
47
  createBuildFoldersJob,
48
48
  defaultBranchTidyDeps,
49
49
  defaultBuildFoldersDeps,
50
50
  deleteMergedBranches,
51
51
  findMergedBranches
52
- } from "./chunk-5TW5NKYZ.js";
52
+ } from "./chunk-SDYY5MHW.js";
53
53
  import {
54
54
  defaultCleanupDeps
55
- } from "./chunk-MRMFJQZI.js";
55
+ } from "./chunk-CMRTNTMU.js";
56
56
  import {
57
57
  DiffStatCache,
58
58
  findOverlaps,
59
59
  wantsDiffStat
60
- } from "./chunk-JBQOBCH4.js";
60
+ } from "./chunk-EEHPZMS3.js";
61
61
  import {
62
62
  dropLocalReview,
63
63
  readLocalReview,
@@ -77,14 +77,14 @@ import {
77
77
  graphProblem,
78
78
  signOutGraph,
79
79
  startDeviceLogin
80
- } from "./chunk-MD4G7DIO.js";
80
+ } from "./chunk-5FIUVBUC.js";
81
81
  import {
82
82
  anyOwnStatusLine,
83
83
  buildUsage,
84
84
  realUsageDeps,
85
85
  refreshUsage,
86
86
  setupAgentUsage
87
- } from "./chunk-ZU36UJVG.js";
87
+ } from "./chunk-G4T2HGLJ.js";
88
88
  import {
89
89
  archivedRefusal,
90
90
  sendToSession
@@ -106,7 +106,7 @@ import {
106
106
  removeBlocker,
107
107
  sweepBlocks,
108
108
  unblockedPrompt
109
- } from "./chunk-RFE3HK2L.js";
109
+ } from "./chunk-ZTWZS5RK.js";
110
110
  import {
111
111
  jiraWorklogPoster,
112
112
  logWorkDay,
@@ -115,7 +115,7 @@ import {
115
115
  } from "./chunk-WIXY4EDH.js";
116
116
  import {
117
117
  sessionWorkTime
118
- } from "./chunk-R4DGGYME.js";
118
+ } from "./chunk-EA4C6TVY.js";
119
119
  import {
120
120
  accountOverview,
121
121
  accountSkillsNote,
@@ -128,7 +128,7 @@ import {
128
128
  removeAgentAccount,
129
129
  setDefaultAgentAccount,
130
130
  switchRefusal
131
- } from "./chunk-NHDZ3ECC.js";
131
+ } from "./chunk-UAF2YFLZ.js";
132
132
  import "./chunk-LK7HJGUC.js";
133
133
  import {
134
134
  freeLeftovers,
@@ -138,25 +138,25 @@ import {
138
138
  parsePrRef,
139
139
  resolvePrToStart,
140
140
  workOnPrPrompt
141
- } from "./chunk-EH4H2I72.js";
141
+ } from "./chunk-KU3TQAA7.js";
142
142
  import {
143
143
  legacyUnsafeCheck
144
- } from "./chunk-I6GXPPEH.js";
144
+ } from "./chunk-NYGKSOQ4.js";
145
145
  import {
146
146
  howToLift
147
147
  } from "./chunk-FZHFD2AY.js";
148
148
  import {
149
149
  agentsBySession,
150
150
  summarizeAgents
151
- } from "./chunk-ZWD3QJLP.js";
151
+ } from "./chunk-7ZOY2QQN.js";
152
152
  import {
153
153
  removeWorktreeInChild
154
- } from "./chunk-66OWGZAF.js";
154
+ } from "./chunk-D2SVBU7R.js";
155
155
  import {
156
156
  archiveMergedSession,
157
157
  archiveWaiting,
158
158
  defaultArchiveDeps
159
- } from "./chunk-MHKDX7CD.js";
159
+ } from "./chunk-23QLXVH6.js";
160
160
  import {
161
161
  cleanupVerdict,
162
162
  createCleanupJob
@@ -176,7 +176,7 @@ import {
176
176
  retireResolvedReplies,
177
177
  sessionRepoRefs,
178
178
  withThreadContext
179
- } from "./chunk-LVRV5UED.js";
179
+ } from "./chunk-CA56ETYX.js";
180
180
  import {
181
181
  DEFAULT_TRUSTED_BOTS,
182
182
  createCiStore,
@@ -186,7 +186,7 @@ import {
186
186
  openThreadsOf,
187
187
  reviewMessage,
188
188
  subAgentHint
189
- } from "./chunk-HF3ZGAW7.js";
189
+ } from "./chunk-DC73NF67.js";
190
190
  import {
191
191
  commandWords,
192
192
  describeProcess,
@@ -200,7 +200,7 @@ import {
200
200
  defaultForkDeps,
201
201
  forkSession,
202
202
  startSessionWithPrompt
203
- } from "./chunk-E5N4CJDI.js";
203
+ } from "./chunk-Z4P23XG3.js";
204
204
  import {
205
205
  childText,
206
206
  createInChild,
@@ -208,7 +208,7 @@ import {
208
208
  keyedQueue,
209
209
  oneAtATime,
210
210
  runWorkChild
211
- } from "./chunk-WDKHEFR6.js";
211
+ } from "./chunk-QOLHDDM2.js";
212
212
  import {
213
213
  configurePtyPool,
214
214
  detachPtyPool,
@@ -233,25 +233,25 @@ import {
233
233
  syncPtyPool,
234
234
  terminalTicketUrl,
235
235
  writeToPty
236
- } from "./chunk-J4CEJOSI.js";
237
- import "./chunk-VRMALBZK.js";
236
+ } from "./chunk-WRDULHAN.js";
237
+ import "./chunk-GQ5WECPJ.js";
238
238
  import {
239
239
  disposeAllWatchers,
240
240
  disposeSessionWatcher,
241
241
  findSession as findSession2,
242
242
  subscribeSession
243
- } from "./chunk-GGBFSQEX.js";
244
- import "./chunk-OHX7WKZU.js";
245
- import "./chunk-DLV7TRON.js";
243
+ } from "./chunk-OCUUM755.js";
244
+ import "./chunk-4QMWNAEJ.js";
245
+ import "./chunk-USENBMUV.js";
246
246
  import {
247
247
  addRepoRefusal,
248
248
  addedRepoNote
249
- } from "./chunk-Z52GYYGA.js";
249
+ } from "./chunk-DCENKA6E.js";
250
250
  import {
251
251
  teardownWorktree,
252
252
  toBaseSpec,
253
253
  wouldRefuseRemoval
254
- } from "./chunk-WANJYVUP.js";
254
+ } from "./chunk-IU6LA6EB.js";
255
255
  import "./chunk-Y7PWSACJ.js";
256
256
  import {
257
257
  isWorktreeFolder
@@ -271,30 +271,30 @@ import {
271
271
  stackedOn,
272
272
  updateFromBase,
273
273
  updateFromMain
274
- } from "./chunk-EXNRUU7Z.js";
274
+ } from "./chunk-B2WV5RAL.js";
275
275
  import {
276
276
  sessionStatusView,
277
277
  shownState
278
- } from "./chunk-RDRQDE6J.js";
278
+ } from "./chunk-6Y3VLCKA.js";
279
279
  import {
280
280
  askCatchUp,
281
281
  cachedCatchUp,
282
282
  catchUp,
283
283
  catchUpFacts,
284
284
  forgetCatchUp
285
- } from "./chunk-TZ4BIOMS.js";
285
+ } from "./chunk-F4UIKOU6.js";
286
286
  import {
287
287
  internalReadOnly,
288
288
  runInternal,
289
289
  runInternalReadOnly,
290
290
  summarizeCheckpoint,
291
291
  throttleTrailing
292
- } from "./chunk-XYDGDIGZ.js";
292
+ } from "./chunk-PUJSLL6R.js";
293
293
  import {
294
294
  computeDiff,
295
295
  computeRangeDiff,
296
296
  parseGitDiff
297
- } from "./chunk-VOHPXD2P.js";
297
+ } from "./chunk-QNOJOZYK.js";
298
298
  import {
299
299
  changeRailSections,
300
300
  placeSession,
@@ -399,9 +399,9 @@ import {
399
399
  assistantDir,
400
400
  describeView,
401
401
  writeAssistantContext
402
- } from "./chunk-4VM6GMMI.js";
402
+ } from "./chunk-TOMDOA4P.js";
403
403
  import "./chunk-7E5XPDKX.js";
404
- import "./chunk-QAAYE6IY.js";
404
+ import "./chunk-FV7BSQPQ.js";
405
405
  import {
406
406
  clearDevWebDiscovery,
407
407
  clearWebDiscovery,
@@ -419,7 +419,7 @@ import {
419
419
  findSessionForCwd,
420
420
  readPendingForSession,
421
421
  readPendingForWorktree
422
- } from "./chunk-WFKL2SJ3.js";
422
+ } from "./chunk-LV5JRLBM.js";
423
423
  import "./chunk-ZSHWP2VS.js";
424
424
  import {
425
425
  getCommentFileStore
@@ -431,7 +431,7 @@ import {
431
431
  checkTools,
432
432
  saveFolders,
433
433
  setupState
434
- } from "./chunk-T4Y2Z6HB.js";
434
+ } from "./chunk-Q2B3NUSM.js";
435
435
  import {
436
436
  chooseWorktreesRoot,
437
437
  expandHome
@@ -444,17 +444,17 @@ import {
444
444
  stageInputOf,
445
445
  withRequiredChecks,
446
446
  workElsewhere
447
- } from "./chunk-SLA7CB3C.js";
447
+ } from "./chunk-AIYZJ7XD.js";
448
448
  import {
449
449
  createSessionBranches
450
- } from "./chunk-P3QIN44Y.js";
450
+ } from "./chunk-Z4FWXDJG.js";
451
451
  import {
452
452
  defaultHost,
453
453
  hostById,
454
454
  hostForRepo,
455
455
  hostOfPrUrl,
456
456
  originHostname
457
- } from "./chunk-RE6WWXD6.js";
457
+ } from "./chunk-NOQA7MJ4.js";
458
458
  import {
459
459
  MAX_THREAD_BODY
460
460
  } from "./chunk-FGPXMAYU.js";
@@ -479,13 +479,13 @@ import {
479
479
  setRepoIgnored,
480
480
  setReviewMode,
481
481
  setScanRoot
482
- } from "./chunk-VT6FJG3P.js";
482
+ } from "./chunk-ATQB6PTV.js";
483
483
  import {
484
484
  openUrl,
485
485
  openWithDefaultApp,
486
486
  revealInFileManager,
487
487
  startEditor
488
- } from "./chunk-GRHVKD2K.js";
488
+ } from "./chunk-RTCTD5PJ.js";
489
489
  import {
490
490
  enrollProblem,
491
491
  groupProblem,
@@ -585,7 +585,7 @@ import {
585
585
  updateCheckpoint,
586
586
  whileRestoring,
587
587
  writeArchiveRecord
588
- } from "./chunk-VPFWY2GG.js";
588
+ } from "./chunk-AITL3JYB.js";
589
589
  import {
590
590
  dayKey
591
591
  } from "./chunk-NEJVK5CF.js";
@@ -618,13 +618,13 @@ import {
618
618
  projectList,
619
619
  readJsonlSince,
620
620
  swallow
621
- } from "./chunk-QWD76K3E.js";
621
+ } from "./chunk-KQMHGEI2.js";
622
622
  import "./chunk-KGHWHAVF.js";
623
- import "./chunk-HF4VUIGE.js";
624
- import "./chunk-YQSWVHKK.js";
623
+ import "./chunk-FGBLFF4O.js";
624
+ import "./chunk-ED6YLB4S.js";
625
625
  import {
626
626
  VERSION
627
- } from "./chunk-TJ5XUAJK.js";
627
+ } from "./chunk-TDJVYUF2.js";
628
628
  import {
629
629
  resolveProjectTarget
630
630
  } from "./chunk-IPHADNF5.js";
@@ -15426,4 +15426,4 @@ export {
15426
15426
  stopExisting,
15427
15427
  webCommand
15428
15428
  };
15429
- //# sourceMappingURL=web-W3YHTTSV.js.map
15429
+ //# sourceMappingURL=web-EC3KKH6E.js.map
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@moberg_hr/work-tree",
3
- "version": "2.22.3",
3
+ "version": "2.22.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@moberg_hr/work-tree",
9
- "version": "2.22.3",
9
+ "version": "2.22.4",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moberg_hr/work-tree",
3
- "version": "2.22.3",
3
+ "version": "2.22.4",
4
4
  "description": "Cross-platform Git worktree manager for multiple repositories",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/core/pty/output-status.ts","../src/core/pty/pty-pool.ts","../src/core/pty/account-login.ts"],"sourcesContent":["import type { SessionAttention } from '../api-types.js';\n\n/**\n * A status for a session whose tool isn't Claude Code (config `aiCommand`,\n * e.g. opencode): no hooks report its turns, so the PTY host's \"last printed\n * anything\" stands in — a working agent redraws its spinner, an idle one\n * prints nothing. Working while it printed in the last `OUTPUT_WORKING_MS`,\n * idle after; never \"done, unseen\" or \"needs input\" (output can't tell a\n * finished turn from a question). Pure.\n */\n\nexport const OUTPUT_WORKING_MS = 10_000;\n\nexport interface PtyOutput {\n /** The tool's binary (the host's spawn spec). */\n tool?: string;\n /** When it last printed (ISO). */\n lastOutputAt?: string;\n startedAt: string;\n}\n\nexport function statusFromOutput(p: PtyOutput, now: number): SessionAttention | null {\n if (!p.tool || p.tool === 'claude' || !p.lastOutputAt) return null;\n const at = Date.parse(p.lastOutputAt);\n if (!Number.isFinite(at)) return null;\n const working = now - at < OUTPUT_WORKING_MS;\n return {\n state: working ? 'working' : 'idle',\n seen: true,\n since: p.lastOutputAt,\n updatedAt: p.lastOutputAt,\n stale: false,\n summary: `${working ? 'Printing' : 'Quiet'} — from its terminal output (${p.tool} has no status hooks)`,\n };\n}\n","import path from 'node:path';\nimport type { AgentAdapter } from '../agents/types.js';\nimport { agentFor, agentSettings, assistantAgent, sessionToolFor } from '../agents/index.js';\nimport { statusFromOutput, type PtyOutput } from './output-status.js';\nimport type { SessionAttention } from '../api-types.js';\nimport type { HostBeat } from './host-health.js';\nimport { PtyHostBusyError } from './pty-host-client.js';\nimport { noClaudeBecause } from '../archive/archiving.js';\nimport { findSession, sessionIdFor } from '../sessions/web-state.js';\nimport type { WorktreeSession } from '../sessions/history.js';\nimport { hostStartLockPath, type SpawnSpec, type HostInfo, type PtyInfo } from './pty-host-protocol.js';\nimport { dbPtySessions } from './pty-sessions-file.js';\nimport { ensureFile, withFileLock } from '../platform/fs-safe.js';\nimport { forgetPersistedSession } from './pty-sessions-file.js';\nimport { loadConfig } from '../platform/config.js';\nimport { hasEnvDelta, type EnvDelta } from '../platform/env-delta.js';\nimport { ensureHost, findHost, PtyHostClient, findHostPatient, PtyHostVersionError } from './pty-host-client.js';\nimport { logSwallowed, swallow } from '../platform/best-effort.js';\nimport { ASSISTANT_ID, prepareAssistantDir } from '../agents/assistant.js';\nimport { accountLoginId, accountOfLoginId } from './account-login-id.js';\nimport { accountLoginSpec } from './account-login.js';\n\n/**\n * `work web`'s view of the Claude PTYs. The PTYs themselves live in the\n * PTY host (`work pty-host`, see core/pty-host.ts), a separate long-lived\n * process — so restarting or rebuilding `work web` never kills an agent,\n * and a real terminal (`work attach`) can share the same session.\n *\n * This module resolves a dashboard session to a spawn spec, asks the host\n * to spawn it on first attach, and keeps a small cache of which sessions\n * have a live PTY for the synchronous badge path (`peekPty`).\n */\n\nlet workBin = process.argv[1] ?? '';\n/** Whether this server may start the PTY host when none runs (not the dev server: see configurePtyPool). */\nlet mayStartHost = true;\nlet client: PtyHostClient | null = null;\nlet live = new Set<string>();\n/** The pids of those PTYs' processes (the Claudes the app runs). */\nlet livePids = new Set<number>();\n/** Each live PTY's tool and last output (for output-status.ts). */\nlet outputs = new Map<string, PtyOutput & { pid: number }>();\nlet refreshTimer: NodeJS.Timeout | null = null;\n/** The heartbeat (host-health.ts): each list request is one. */\nconst beat: HostBeat = { known: false, lastOkAt: null, latencyMs: null, lastError: null, hostVersion: null };\n\n/** How the host answered lately (for GET /api/pty-host/health). */\nexport function hostBeat(): HostBeat {\n return { ...beat };\n}\nconst REFRESH_MS = 2000;\n\n/** Called by `work web` at startup with the resolved `work` binary path,\n * which is what the host is spawned from. */\nexport function configurePtyPool(opts: { workBin: string; startHost?: boolean }): void {\n workBin = opts.workBin;\n // The dev server (`work web --dev`) uses the host that runs and never starts one: started\n // from a checkout's build, the long-lived host that owns every Claude would outlive it,\n // and the installed work would become a client of the checkout's code.\n mayStartHost = opts.startHost ?? true;\n}\n\n/** The `work` binary path, for routes that launch `work attach`. */\nexport function getWorkBin(): string {\n return workBin;\n}\n\nasync function getClient(spawnIfMissing: boolean): Promise<PtyHostClient | null> {\n if (client) {\n // Cheap liveness re-check happens in refresh(); a dead host surfaces\n // as a failed call, which resets `client` below.\n return client;\n }\n const info = spawnIfMissing && mayStartHost ? await ensureHost(workBin) : await findHost();\n if (!info && spawnIfMissing && !mayStartHost)\n throw new Error(\n \"No PTY host is running, and the dev server doesn't start one: start the installed work (its app or `work web`) first.\",\n );\n if (!info) return null;\n client = new PtyHostClient(info);\n startRefresh();\n return client;\n}\n\nasync function refresh(): Promise<void> {\n const t0 = Date.now();\n try {\n const c = await getClient(false);\n if (!c) {\n beat.known = false;\n beat.hostVersion = null; // gone: the next host says its own\n live = new Set();\n livePids = new Set();\n outputs = new Map();\n return;\n }\n beat.known = true;\n const ptys = await c.list();\n beat.lastOkAt = Date.now();\n beat.latencyMs = beat.lastOkAt - t0;\n beat.lastError = null;\n // Asked once per host (the client keeps it): the release it runs, to say when it's older than this work.\n beat.hostVersion = await c.workVersion();\n live = new Set(ptys.filter((p) => !p.exited).map((p) => p.id));\n livePids = new Set(ptys.filter((p) => !p.exited).map((p) => p.pid));\n outputs = new Map(\n ptys.filter((p) => !p.exited).map((p) => [p.id, { tool: p.tool, lastOutputAt: p.lastOutputAt, startedAt: p.startedAt, pid: p.pid }]),\n );\n } catch (err) {\n // Host went away (or was restarted on a new port) — rediscover next tick.\n // A busy host is still a host (it is there, just not answering).\n beat.known = beat.known || err instanceof PtyHostBusyError;\n beat.lastError = (err as Error).message;\n client = null;\n beat.hostVersion = null;\n live = new Set();\n livePids = new Set();\n outputs = new Map();\n }\n}\n\nfunction startRefresh(): void {\n if (refreshTimer) return;\n refreshTimer = setInterval(() => void refresh(), REFRESH_MS);\n refreshTimer.unref?.();\n}\n\n/** Connect to an already-running host at `work web` startup so badges for\n * PTYs that survived a web restart show immediately. Never spawns. */\n/** Re-read the host's PTY list now (the periodic refresh can be seconds old,\n * or not have run at all right after `work web` started). */\nexport async function syncPtyPool(): Promise<void> {\n await refresh();\n}\n\nexport async function initPtyPool(): Promise<void> {\n await refresh().catch(() => {});\n startRefresh();\n}\n\n/**\n * After a reboot (or a host crash) nothing is running but\n * `pty-sessions.json` still lists the sessions that were live. Starting the\n * host restores them; do that when there's something to restore, so\n * reopening `work web` picks up where you left off. Returns how many\n * sessions the host will bring back (0 = nothing to do).\n */\nexport async function resumePersistedSessions(): Promise<number> {\n let count: number;\n try {\n count = Object.keys(dbPtySessions.read()).length;\n } catch {\n return 0;\n }\n if (count === 0) return 0;\n if (await findHost().catch(() => true)) return 0; // already running\n await getClient(true);\n await refresh();\n return count;\n}\n\n/**\n * Where Claude runs for a session — the same directory `work tree` launches\n * in: the worktree for a single repo, the group root (parent of the\n * sub-repos) for a group.\n */\nexport { ASSISTANT_ID };\n\n/** The assistant runs config `assistantAgent` (Claude Code by default), in its folder written for that agent. */\nexport function assistantSpec(): { cwd: string; tool: ReturnType<AgentAdapter['launch']['tool']>; agentEnv?: EnvDelta } {\n const settings = agentSettings();\n const agent = assistantAgent(settings);\n // Work's own session, not any session's: the configured default account (`launch.env(null)`).\n const agentEnv = agent.launch.env?.(null);\n return {\n cwd: prepareAssistantDir(agent),\n tool: sessionToolFor(agent.launch.tool(settings), { write: mayStartHost }),\n ...(hasEnvDelta(agentEnv) ? { agentEnv } : {}),\n };\n}\n\nexport function spawnSpecFor(session: WorktreeSession): SpawnSpec | null {\n const first = session.paths[0];\n if (!first) return null;\n const cwd = session.isGroup ? path.dirname(first) : first;\n const config = loadConfig();\n const launch = agentFor(config, session).launch;\n // The session's account: its agent's folder env, applied by the host over whatever environment it starts with.\n const agentEnv = launch.env?.(session);\n // Its hooks in the spec itself (`--settings`, agents/session-hooks.ts), so a PTY host from before this build — it\n // outlives updates — starts it with them too; a current host replaces the flag with its own, never twice. The dev\n // server names the file the installed work wrote, never its own build (`write: false`).\n const tool = sessionToolFor(launch.tool(config), { write: mayStartHost });\n return { cwd, tool, port: session.port, ...(hasEnvDelta(agentEnv) ? { agentEnv } : {}) };\n}\n\n/**\n * Ensure a live PTY exists for the session (spawning Claude in the host if\n * needed) and return the host WebSocket URL to attach to. Null for an\n * unknown session.\n */\nexport async function ensurePty(sessionId: string, extra: { initialPrompt?: string } = {}): Promise<string | null> {\n // An account's login terminal (the Accounts page) is no session: the agent's own CLI on that account (account-login.ts).\n const loginFor = accountOfLoginId(sessionId);\n // The dashboard assistant (Ctrl+K) is not a worktree: it runs in its own\n // folder, which is (re)written first (assistant.ts).\n const notASession = sessionId === ASSISTANT_ID || loginFor !== null;\n const session = notASession ? null : findSession(sessionId);\n // Not for a session being archived, or archived: its Claude was stopped on\n // purpose (a Terminal tab still open on it reconnects and would start it).\n const refused = notASession ? null : noClaudeBecause(session, sessionId);\n if (refused) throw new Error(refused);\n const base =\n loginFor !== null\n ? accountLoginSpec(loginFor, agentFor(loadConfig()).accounts)\n : sessionId === ASSISTANT_ID\n ? assistantSpec()\n : session\n ? spawnSpecFor(session)\n : null;\n if (!base) return null;\n // The first prompt only applies to a fresh spawn (the host ignores the\n // spec when the session's PTY is already running).\n const spec = extra.initialPrompt ? { ...base, initialPrompt: extra.initialPrompt } : base;\n\n let c = await getClient(true);\n if (!c) return null;\n // A host from before accounts would start it on its own environment — another account than the session's.\n if (setsEnv(spec.agentEnv) && !(await hostTakesAgentEnv(c)) && !(await runsIn(c, sessionId))) throw new Error(OLD_HOST_ACCOUNTS);\n try {\n await c.spawn(sessionId, spec);\n } catch (err) {\n // Stale client (host restarted on a new port) — retry once, fresh.\n client = null;\n c = await getClient(true);\n if (!c) throw err;\n await c.spawn(sessionId, spec);\n }\n live.add(sessionId);\n return c.attachUrl(sessionId);\n}\n\n/**\n * Where a dashboard page connects a terminal straight to the PTY host (with a one-time ticket for its origin), once\n * `ensurePty` has it running. Null when the host can't give one (from before tickets): the page goes through work\n * web's relay as before.\n */\nexport async function terminalTicketUrl(sessionId: string, origin: string): Promise<string | null> {\n const c = await getClient(false);\n return c ? c.ticketUrl(sessionId, origin).catch(() => null) : null;\n}\n\n/** Start an account's login terminal in the PTY host (or find it running); its id, for the terminal WebSocket. */\nexport async function startAccountLogin(name: string): Promise<string> {\n const id = accountLoginId(name);\n if (!(await ensurePty(id))) throw new Error('the PTY host could not be started');\n return id;\n}\n\n/** Stop an account's login terminal (nothing when none runs). */\nexport async function stopAccountLogin(name: string): Promise<void> {\n await disposePty(accountLoginId(name));\n}\n\n/** Side-effect-free check: does an active (non-exited) PTY exist for this\n * session? Served from the refresh cache — used by session-meta for the\n * \"running/idle\" badge, which must stay synchronous. */\n/** Every PTY in the host, fresh (never starts a host; [] without one). */\nexport async function listHostPtys(): Promise<PtyInfo[]> {\n const c = await getClient(false);\n return c ? c.list() : [];\n}\n\n/** Pids of the Claudes running in the PTY host (from the refresh cache). */\nexport function ptyPids(): ReadonlySet<number> {\n return livePids;\n}\n\n/** The live terminals with when each started and last printed (from the refresh cache), for startup-question.ts. */\nexport function ptyTerminals(): Array<{ id: string; startedAt: string; lastOutputAt?: string }> {\n return [...outputs].map(([id, o]) => ({ id, startedAt: o.startedAt, ...(o.lastOutputAt ? { lastOutputAt: o.lastOutputAt } : {}) }));\n}\n\n/** A status from its terminal output, for a session whose tool has no hooks (output-status.ts); null for Claude or no PTY. */\nexport function outputStatus(sessionId: string, now = Date.now()): SessionAttention | null {\n const o = outputs.get(sessionId);\n return o ? statusFromOutput(o, now) : null;\n}\n\n/** When a session's terminal last printed (ms, from the refresh cache); null with no PTY or a host that doesn't say. */\nexport function ptyLastOutputMs(sessionId: string): number | null {\n const at = outputs.get(sessionId)?.lastOutputAt;\n const ms = at ? Date.parse(at) : NaN;\n return Number.isFinite(ms) ? ms : null;\n}\n\n/** Its agent's process id in the host (from the refresh cache); null with no PTY. */\nexport function ptyPid(sessionId: string): number | null {\n return outputs.get(sessionId)?.pid ?? null;\n}\n\nexport function peekPty(sessionId: string): boolean {\n return live.has(sessionId);\n}\n\n/** A session's live PTY screen as text; null when there is none (never spawns). */\nexport async function readPtyScreen(sessionId: string): Promise<string | null> {\n if (!live.has(sessionId)) return null;\n const c = await getClient(false);\n return c ? c.screen(sessionId) : null;\n}\n\n/** Write to a session's live PTY. False when there is none (never spawns). */\nexport async function writeToPty(sessionId: string, data: string): Promise<boolean> {\n if (!live.has(sessionId)) return false;\n const c = await getClient(false);\n return c ? c.write(sessionId, data) : false;\n}\n\n/**\n * Restart a session's agent in the host, resuming its conversation, its terminals\n * kept attached (agent-restart.ts). A host from before that call: stopped and\n * started again (an open Terminal tab then offers Enter, as after a stop).\n */\nexport async function restartPty(sessionId: string): Promise<string | void> {\n let c = await getClient(false);\n if (!c) throw new Error('the PTY host is not running');\n let how: Awaited<ReturnType<PtyHostClient['restart']>>;\n try {\n how = await c.restart(sessionId);\n } catch (err) {\n // A stale client (the host restarted on a new port before the refresh noticed): once more, fresh.\n client = null;\n c = await getClient(false);\n if (!c) throw err;\n how = await c.restart(sessionId);\n }\n if (how === 'not-running') throw new Error('its agent is not running in the PTY host');\n if (how === 'unsupported') {\n await disposePty(sessionId);\n if (!(await ensurePty(sessionId))) throw new Error('its agent could not be started again');\n return OLD_HOST_RESTART;\n }\n}\n\n/**\n * Stop a session's agent and keep its session in the host (entry, restore record, attached terminals) until `resumePty`:\n * a switch of account moves its conversation files in between. `stopped`: a host from before the call stopped it the old\n * way (its terminals were told it ended; `resumePtyOnAccount` then starts it fresh); `gone`: nothing was running.\n */\nexport async function haltPty(sessionId: string): Promise<'halted' | 'stopped' | 'gone'> {\n let c = await getClient(false);\n if (!c) throw new Error('the PTY host is not running');\n let how: Awaited<ReturnType<PtyHostClient['halt']>>;\n try {\n how = await c.halt(sessionId);\n } catch (err) {\n // A stale client (the host restarted on a new port before the refresh noticed): once more, fresh.\n client = null;\n c = await getClient(false);\n if (!c) throw err;\n how = await c.halt(sessionId);\n }\n if (how === 'not-running') return 'gone';\n if (how === 'unsupported') {\n await disposePty(sessionId);\n return 'stopped';\n }\n return 'halted';\n}\n\n/** Why a switch of account can't be done in this PTY host now (it is from before accounts), or null: asked before halting. */\nexport async function accountSwitchRefusal(): Promise<string | null> {\n const c = await getClient(false);\n return c && !(await hostTakesAgentEnv(c)) ? OLD_HOST_ACCOUNTS : null;\n}\n\n/**\n * Start a halted session's agent again in place, on `opts.agentEnv` (its terminals carry on). `not-halted`: it isn't\n * halted any more — the host started it again by itself (HALT_RESUME_MS) or restarted, on its old spec.\n */\nexport async function resumePty(sessionId: string, opts: { agentEnv?: EnvDelta } = {}): Promise<'resumed' | 'not-halted'> {\n let c = await getClient(false);\n if (!c) throw new Error('the PTY host is not running');\n if (hasEnvDelta(opts.agentEnv) && !(await hostTakesAgentEnv(c))) throw new Error(OLD_HOST_ACCOUNTS);\n let how: Awaited<ReturnType<PtyHostClient['resume']>>;\n try {\n how = await c.resume(sessionId, opts);\n } catch (err) {\n client = null;\n c = await getClient(false);\n if (!c) throw err;\n how = await c.resume(sessionId, opts);\n }\n return how;\n}\n\n/**\n * Start the agent of a session `haltPty` stopped, on the account the session records NOW (after a switch: the new one;\n * after one that failed: the old): resumed in place with that environment, or — `stopped`, an older host — started\n * again from a fresh spec (its terminals show it ended; opening the session reconnects).\n */\nexport async function resumePtyOnAccount(sessionId: string, how: 'halted' | 'stopped'): Promise<string | void> {\n if (how === 'stopped') {\n if (!(await ensurePty(sessionId))) throw new Error('its agent could not be started again');\n return OLD_HOST_RESTART;\n }\n const session = findSession(sessionId);\n const spec = session ? spawnSpecFor(session) : null;\n if (!spec) throw new Error('unknown session');\n // Nothing in the delta means no account change to apply (the default, with no accounts configured): a plain resume.\n const agentEnv = hasEnvDelta(spec.agentEnv) ? spec.agentEnv : undefined;\n if ((await resumePty(sessionId, agentEnv ? { agentEnv } : {})) === 'resumed') return;\n // Started again meanwhile on its OLD spec (the host's own resume after HALT_RESUME_MS — a long move —, or a host\n // restart's restore): restarted in place on the account the session records now, so it doesn't stay on the old one.\n const c = await getClient(false);\n if (!c) throw new Error('the PTY host is not running');\n const restarted = await c.restart(sessionId, agentEnv ? { agentEnv } : {});\n if (restarted === 'restarted') return RESTARTED_AFTER_AUTO_RESUME;\n // Not running now (it ended), or a host that couldn't take the environment in place: started fresh from the new spec.\n if (restarted === 'unsupported') await disposePty(sessionId);\n if (!(await ensurePty(sessionId))) throw new Error('its agent could not be started again');\n return RESTARTED_AFTER_AUTO_RESUME;\n}\n\n/** What a switch says when its halted Claude had been started again (on the old account) before the move was done. */\nexport const RESTARTED_AFTER_AUTO_RESUME =\n 'it had been started again on its old account while the conversation moved, so it was restarted on the new one';\n\n/** Said when a session on a named account would start in a PTY host that drops the account (one from before accounts). */\nexport const OLD_HOST_ACCOUNTS = 'the PTY host is from before Claude accounts: run `work pty-host --restart`';\n\n/** The delta sets a variable (a session on a named account): what an older host would drop, starting it elsewhere. */\nconst setsEnv = (d: EnvDelta | undefined): boolean => !!d && Object.values(d).some((v) => typeof v === 'string');\n\n/** The host applies `agentEnv`; one that can't be asked right now is given the benefit of the doubt (its restart says). */\nasync function hostTakesAgentEnv(c: PtyHostClient): Promise<boolean> {\n const f = await c.features();\n return f === null || f.includes('agentEnv');\n}\n\n/** Its agent runs in this host now (a spawn would only attach to it). */\nasync function runsIn(c: PtyHostClient, sessionId: string): Promise<boolean> {\n return (await c.list()).some((p) => p.id === sessionId && !p.exited);\n}\n\n/** How a restart on a PTY host from before restart-in-place went: what differs, and the way to the real thing. */\nexport const OLD_HOST_RESTART =\n 'stopped and started again (an older PTY host: open terminals show it ended, and it runs with only the variables `hostEnv` keeps; `work pty-host --restart` gets restarts in place)';\n\n/** Kill one session's PTY (if any). Called before removing a worktree so\n * the Claude process doesn't hold its cwd open (Windows refuses to delete\n * a directory that is some process's working directory). */\nexport async function disposePty(sessionId: string): Promise<void> {\n live.delete(sessionId);\n let c = client;\n if (!c) {\n // A busy host (mid-restore) is waited for, not skipped: skipping left\n // Claude running inside the worktree about to be deleted. A host from\n // another build can't be talked to — nothing to do but proceed.\n let info: HostInfo | null;\n try {\n info = await findHostPatient();\n } catch (err) {\n if (err instanceof PtyHostVersionError) return;\n throw err; // still busy after waiting: let the caller report it\n }\n if (!info) return;\n c = new PtyHostClient(info);\n }\n await c.kill(sessionId).catch(swallow(`stop session ${sessionId} in the PTY host`));\n}\n\n/**\n * Stop a session's Claude in the PTY host before its worktree is deleted —\n * from any caller, including the CLI (`work remove` / prune / sync), which\n * doesn't run a pool. Never starts a host; waits for the process to exit\n * (the host's kill does) so Windows can then delete the directory.\n * Best-effort: no host, or a host that can't be reached, is a no-op.\n */\nexport async function stopSessionPty(target: string, branch: string): Promise<void> {\n const id = sessionIdFor({ target, branch } as WorktreeSession);\n live.delete(id);\n // Under the host START lock: a host that's starting holds it until it has\n // restored, so we either see it running (and kill the session) or know\n // none is — and then drop the session from the saved list so a later\n // start doesn't restore Claude into a worktree that's being deleted.\n const lock = hostStartLockPath();\n ensureFile(lock, '');\n await withFileLock(lock, async () => {\n let info;\n try {\n info = await findHostPatient();\n } catch (err) {\n // A host from another build can't be talked to; one still busy after\n // waiting is running and owns the session — leave both alone (and\n // never drop the saved entry: the host is what it belongs to).\n logSwallowed(`stop session ${id}: PTY host`, err);\n return;\n }\n if (info) await new PtyHostClient(info).kill(id).catch(swallow(`stop session ${id} in the PTY host`));\n else await forgetPersistedSession(id).catch(swallow(`forget saved session ${id}`));\n }).catch(swallow(`stop session ${id}: host start lock`));\n}\n\n/** `work web` shutdown. Deliberately does NOT kill anything: the PTYs belong\n * to the host and outlive the dashboard. Just stops polling. */\nexport function detachPtyPool(): void {\n if (refreshTimer) clearInterval(refreshTimer);\n refreshTimer = null;\n client = null;\n live = new Set();\n livePids = new Set();\n}\n","import fs from 'node:fs';\nimport path from 'node:path';\nimport { AccountAdminError, type AgentAccounts } from '../agents/types.js';\nimport { getConfigDir } from '../platform/config.js';\nimport { hasEnvDelta } from '../platform/env-delta.js';\nimport type { SpawnSpec } from './pty-host-protocol.js';\n\n/**\n * The dashboard's login terminal for an account (the Accounts page's Add / Log in): the agent's own CLI on that account\n * (`admin.loginLaunch`, what `work account add` runs in your terminal), started in the PTY host under\n * `accountLoginId(name)` (account-login-id.ts) so the page can show it. A new conversation every time (`fresh`): there is\n * nothing to resume, and it runs in a folder of its own, never a worktree. Never restored by a host restart\n * (pty-registry.ts), and stopped when its panel closes. The agent starts in its own permission mode, as every start.\n */\n\n/** Where the login terminal runs: a folder of work's own (an agent may ask once whether to trust it). */\nexport const accountLoginDir = (): string => path.join(getConfigDir(), 'account-login');\n\n/** The host's spawn spec for an account's login terminal. Throws an AccountAdminError for an account work can't log in to. */\nexport function accountLoginSpec(\n name: string,\n accounts: Pick<AgentAccounts, 'has' | 'admin'> | undefined,\n dir: string = accountLoginDir(),\n): SpawnSpec {\n if (!accounts?.admin) throw new AccountAdminError('its accounts are not managed by work');\n if (!accounts.has(name)) throw new AccountAdminError(`no account “${name}”`);\n const { tool, agentEnv } = accounts.admin.loginLaunch(name);\n fs.mkdirSync(dir, { recursive: true });\n return { cwd: dir, tool, fresh: true, ...(hasEnvDelta(agentEnv) ? { agentEnv } : {}) };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWO,IAAM,oBAAoB;AAU1B,SAAS,iBAAiB,GAAc,KAAsC;AACnF,MAAI,CAAC,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