@moberg_hr/work-tree 2.22.5 → 2.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/dist/{account-J55P3HXH.js → account-O62WFR7C.js} +23 -20
  2. package/dist/{account-J55P3HXH.js.map → account-O62WFR7C.js.map} +1 -1
  3. package/dist/{add-repo-ALVEGU25.js → add-repo-FTAMMPVM.js} +13 -13
  4. package/dist/{answer-CI2SPQQL.js → answer-LKNMN2ZM.js} +11 -11
  5. package/dist/{attach-7LBIFBLX.js → attach-A3KA4YTK.js} +20 -17
  6. package/dist/{attach-7LBIFBLX.js.map → attach-A3KA4YTK.js.map} +1 -1
  7. package/dist/bin.js +4 -4
  8. package/dist/{block-TVIYWRJ5.js → block-3ZUFH2RO.js} +12 -12
  9. package/dist/{broadcast-GZNMZFOY.js → broadcast-I23BZI3R.js} +8 -8
  10. package/dist/{catchup-ZURJI6BF.js → catchup-G4EOJIZP.js} +13 -13
  11. package/dist/{child-K6YYF6MQ.js → child-MVNEFA2I.js} +11 -11
  12. package/dist/{chunk-ZTWZS5RK.js → chunk-24FQ5XXN.js} +3 -3
  13. package/dist/{chunk-D2SVBU7R.js → chunk-2FNYJEOH.js} +2 -2
  14. package/dist/{chunk-EEHPZMS3.js → chunk-2JLG65GB.js} +2 -2
  15. package/dist/{chunk-DC73NF67.js → chunk-2MJQTFTI.js} +3 -3
  16. package/dist/chunk-44QJVFOF.js +64 -0
  17. package/dist/chunk-44QJVFOF.js.map +1 -0
  18. package/dist/{chunk-7Q5PBXF6.js → chunk-4FN45EAF.js} +51 -10
  19. package/dist/chunk-4FN45EAF.js.map +1 -0
  20. package/dist/{chunk-G4T2HGLJ.js → chunk-4HQEYZIM.js} +4 -4
  21. package/dist/{chunk-WRDULHAN.js → chunk-5QENUGSC.js} +117 -16
  22. package/dist/chunk-5QENUGSC.js.map +1 -0
  23. package/dist/{chunk-CA56ETYX.js → chunk-5SXTMOO6.js} +5 -5
  24. package/dist/chunk-6KMG4WNW.js +87 -0
  25. package/dist/chunk-6KMG4WNW.js.map +1 -0
  26. package/dist/{chunk-OCUUM755.js → chunk-6PZ7RCXK.js} +2 -2
  27. package/dist/{chunk-RTCTD5PJ.js → chunk-773UJC5C.js} +4 -4
  28. package/dist/{chunk-W4GDPHIF.js → chunk-7ZATXG5F.js} +2 -2
  29. package/dist/{chunk-PTAG6WIE.js → chunk-APHVSSLI.js} +17 -3
  30. package/dist/chunk-APHVSSLI.js.map +1 -0
  31. package/dist/chunk-BCYBF7KJ.js +207 -0
  32. package/dist/chunk-BCYBF7KJ.js.map +1 -0
  33. package/dist/{chunk-6Y3VLCKA.js → chunk-BI7HIO2I.js} +3 -3
  34. package/dist/{chunk-FGBLFF4O.js → chunk-BMPTUIP4.js} +2 -2
  35. package/dist/{chunk-VQDE3DRG.js → chunk-DHZ5DF6Y.js} +6 -2
  36. package/dist/{chunk-VQDE3DRG.js.map → chunk-DHZ5DF6Y.js.map} +1 -1
  37. package/dist/{chunk-BQS73CWR.js → chunk-ET5K6S5H.js} +2 -2
  38. package/dist/{chunk-B2WV5RAL.js → chunk-ETAPX4JN.js} +5 -5
  39. package/dist/{chunk-3ZPVKUYD.js → chunk-ETWP7MDS.js} +7 -1
  40. package/dist/chunk-ETWP7MDS.js.map +1 -0
  41. package/dist/{chunk-RLPC3YKZ.js → chunk-FHC6KHIH.js} +2 -2
  42. package/dist/{chunk-DF4GOVDE.js → chunk-GF7RAQFD.js} +2 -2
  43. package/dist/{chunk-ZO7TF5OL.js → chunk-GHY7GZWN.js} +4 -4
  44. package/dist/{chunk-5FIUVBUC.js → chunk-GN7EAXHU.js} +7 -7
  45. package/dist/{chunk-EYJ42LDG.js → chunk-GTFMUWK6.js} +4 -4
  46. package/dist/{chunk-4QMWNAEJ.js → chunk-HCYES6U7.js} +2 -2
  47. package/dist/{chunk-TOMDOA4P.js → chunk-HNZ736XN.js} +2 -2
  48. package/dist/{chunk-ATQB6PTV.js → chunk-HPUD5IGB.js} +3 -3
  49. package/dist/{chunk-FV7BSQPQ.js → chunk-HQDQRC4F.js} +2 -2
  50. package/dist/{chunk-AITL3JYB.js → chunk-HUWWMTNG.js} +399 -69
  51. package/dist/chunk-HUWWMTNG.js.map +1 -0
  52. package/dist/{chunk-SDYY5MHW.js → chunk-INXHVNMZ.js} +7 -7
  53. package/dist/{chunk-QNOJOZYK.js → chunk-IRDWXDID.js} +2 -2
  54. package/dist/{chunk-EA4C6TVY.js → chunk-IVS2MAHD.js} +3 -3
  55. package/dist/{chunk-QOLHDDM2.js → chunk-IXC6EXVJ.js} +4 -4
  56. package/dist/{chunk-IU6LA6EB.js → chunk-IXZOZZGD.js} +4 -4
  57. package/dist/{chunk-SZAD5U3J.js → chunk-LB2GAU7E.js} +2 -2
  58. package/dist/{chunk-VHENFC2S.js → chunk-M2X6OHHR.js} +14 -1
  59. package/dist/chunk-M2X6OHHR.js.map +1 -0
  60. package/dist/{chunk-23QLXVH6.js → chunk-MQXMYVZV.js} +12 -14
  61. package/dist/{chunk-23QLXVH6.js.map → chunk-MQXMYVZV.js.map} +1 -1
  62. package/dist/{chunk-GNERWNZY.js → chunk-MVBBESXK.js} +4 -4
  63. package/dist/{chunk-AIYZJ7XD.js → chunk-N7T6NPE2.js} +5 -5
  64. package/dist/{chunk-GQ5WECPJ.js → chunk-NREZVTBP.js} +3 -3
  65. package/dist/chunk-NRX5V443.js +9 -0
  66. package/dist/{chunk-USENBMUV.js → chunk-NS7WH53I.js} +1 -1
  67. package/dist/chunk-NS7WH53I.js.map +1 -0
  68. package/dist/{chunk-KQMHGEI2.js → chunk-NWKVTUTN.js} +53 -15
  69. package/dist/chunk-NWKVTUTN.js.map +1 -0
  70. package/dist/chunk-NXS53NHR.js +79 -0
  71. package/dist/chunk-NXS53NHR.js.map +1 -0
  72. package/dist/{chunk-NYGKSOQ4.js → chunk-OPV6BE3W.js} +6 -6
  73. package/dist/{chunk-UAF2YFLZ.js → chunk-ROEEXEN7.js} +6 -6
  74. package/dist/{chunk-F4UIKOU6.js → chunk-TL7VLRRF.js} +4 -4
  75. package/dist/{chunk-NOQA7MJ4.js → chunk-U2A2DHWP.js} +3 -3
  76. package/dist/{chunk-Q2B3NUSM.js → chunk-U4XSBYQW.js} +4 -4
  77. package/dist/{chunk-Z4FWXDJG.js → chunk-VH5FRKJM.js} +3 -3
  78. package/dist/{chunk-DCENKA6E.js → chunk-W5YYTITQ.js} +2 -2
  79. package/dist/{chunk-5P27YL64.js → chunk-WOY35FXP.js} +8 -8
  80. package/dist/{chunk-HI674QZF.js → chunk-XIN6XUFL.js} +2 -2
  81. package/dist/{chunk-KU3TQAA7.js → chunk-XTAYJDL2.js} +8 -10
  82. package/dist/{chunk-KU3TQAA7.js.map → chunk-XTAYJDL2.js.map} +1 -1
  83. package/dist/{chunk-EVTMZ5IH.js → chunk-XWKN2HJD.js} +60 -60
  84. package/dist/{chunk-CMRTNTMU.js → chunk-YKTJL4SW.js} +6 -6
  85. package/dist/{chunk-RNPNBGVX.js → chunk-ZG6HB4BO.js} +3 -5
  86. package/dist/{chunk-RNPNBGVX.js.map → chunk-ZG6HB4BO.js.map} +1 -1
  87. package/dist/{chunk-PUJSLL6R.js → chunk-ZLPK2LQ3.js} +5 -5
  88. package/dist/{chunk-LV5JRLBM.js → chunk-ZMJR4Z6O.js} +17 -7
  89. package/dist/chunk-ZMJR4Z6O.js.map +1 -0
  90. package/dist/{chunk-YO3BNAAK.js → chunk-ZNRPBP5O.js} +27 -5
  91. package/dist/chunk-ZNRPBP5O.js.map +1 -0
  92. package/dist/{chunk-Z4P23XG3.js → chunk-ZX4ONO5Y.js} +5 -5
  93. package/dist/{cleanup-G4WQACD6.js → cleanup-ANVUCOBK.js} +32 -31
  94. package/dist/{cleanup-G4WQACD6.js.map → cleanup-ANVUCOBK.js.map} +1 -1
  95. package/dist/{cli-OPORB5PF.js → cli-CAF6VCVO.js} +4 -4
  96. package/dist/{color-C223W3Z6.js → color-7CQNI6Y4.js} +11 -11
  97. package/dist/{config-KQYXQCQA.js → config-EXQY26W4.js} +10 -10
  98. package/dist/{coordinate-4E5GIMC6.js → coordinate-LRY7LXS6.js} +11 -11
  99. package/dist/{diff-HEOLTXO2.js → diff-JRK3AUD5.js} +12 -13
  100. package/dist/{diff-HEOLTXO2.js.map → diff-JRK3AUD5.js.map} +1 -1
  101. package/dist/{digest-GYF4YLUH.js → digest-2AFW3WBL.js} +11 -11
  102. package/dist/{fork-B35ONP3Z.js → fork-DSNMPWUE.js} +29 -26
  103. package/dist/{fork-B35ONP3Z.js.map → fork-DSNMPWUE.js.map} +1 -1
  104. package/dist/{history-25DNQKKC.js → history-RFIDCGQY.js} +8 -8
  105. package/dist/{hook-B4JO2X57.js → hook-XBALB337.js} +20 -20
  106. package/dist/{hydrate-IJEKNZIP.js → hydrate-DAEY4PB6.js} +8 -8
  107. package/dist/{init-UJVOUDJI.js → init-4BK3T34W.js} +12 -12
  108. package/dist/{install-skills-FV2L5QHE.js → install-skills-TL5D7HZU.js} +8 -9
  109. package/dist/install-skills-bin.js +7 -8
  110. package/dist/install-skills-bin.js.map +1 -1
  111. package/dist/{keep-PKXGFZO2.js → keep-57TUKADV.js} +10 -10
  112. package/dist/{list-VYQ3QE2H.js → list-DRQRIT6U.js} +8 -8
  113. package/dist/{move-IAZY23ZX.js → move-UEHJ375P.js} +16 -16
  114. package/dist/{note-6HQUKUYY.js → note-FHPDVBRI.js} +10 -10
  115. package/dist/{overlaps-CGP3RJOW.js → overlaps-GKAKEUB6.js} +13 -13
  116. package/dist/{pin-PAWGQ4Q2.js → pin-CFTQDPPC.js} +11 -11
  117. package/dist/{pr-OJOGE3A3.js → pr-ZP4COZEZ.js} +22 -21
  118. package/dist/{pr-OJOGE3A3.js.map → pr-ZP4COZEZ.js.map} +1 -1
  119. package/dist/{prune-42MS36OR.js → prune-IQB2T45B.js} +29 -29
  120. package/dist/pty-host-BPFGJFBC.js +2658 -0
  121. package/dist/pty-host-BPFGJFBC.js.map +1 -0
  122. package/dist/{read-ATNCW4KH.js → read-DHJ6VY44.js} +10 -10
  123. package/dist/{recent-MTBFQT36.js → recent-OZW2ZNJ4.js} +16 -15
  124. package/dist/{recent-MTBFQT36.js.map → recent-OZW2ZNJ4.js.map} +1 -1
  125. package/dist/{remove-GLDJOKUI.js → remove-MW25RLNV.js} +30 -30
  126. package/dist/{report-AK7Z2Y4S.js → report-II75EKM6.js} +11 -11
  127. package/dist/{restart-DEPDGEZB.js → restart-4BGVRBX6.js} +11 -11
  128. package/dist/{resume-C2QPKKFN.js → resume-4J53KDCO.js} +16 -15
  129. package/dist/{resume-C2QPKKFN.js.map → resume-4J53KDCO.js.map} +1 -1
  130. package/dist/{review-RYAGH3PY.js → review-WKB3K6LI.js} +10 -10
  131. package/dist/{review-now-K4UWD7A5.js → review-now-AT2SPPRO.js} +2 -2
  132. package/dist/{run-WNP2SMNW.js → run-YS2D7WAQ.js} +8 -8
  133. package/dist/{screen-P746M4F2.js → screen-VVRNQXVW.js} +11 -11
  134. package/dist/{search-XQ2WMK5X.js → search-MKYCKZF4.js} +8 -8
  135. package/dist/{section-Q7TPOV7U.js → section-Y6RDD3MN.js} +11 -11
  136. package/dist/{send-EGG23J2B.js → send-AZM2XKN2.js} +12 -12
  137. package/dist/{sessions-2NNCWIND.js → sessions-OER6VNQJ.js} +26 -24
  138. package/dist/{sessions-2NNCWIND.js.map → sessions-OER6VNQJ.js.map} +1 -1
  139. package/dist/{show-KSMC7AJL.js → show-33VV3XCF.js} +10 -10
  140. package/dist/{snooze-4LVYUQEX.js → snooze-OFYZVVYS.js} +10 -10
  141. package/dist/{start-YKLLXW3L.js → start-OEQ5VW7Y.js} +11 -11
  142. package/dist/{state-GM22X3RN.js → state-HK67C4UA.js} +3 -3
  143. package/dist/state-HK67C4UA.js.map +1 -0
  144. package/dist/{status-4HGP4ZEF.js → status-HPYMNO2T.js} +11 -11
  145. package/dist/{statusline-QJ6CJGHB.js → statusline-Z5HLKDIA.js} +5 -5
  146. package/dist/{statusline-hook-Q645N4XF.js → statusline-hook-VPPS3PFO.js} +3 -3
  147. package/dist/{stop-YBQL6NFF.js → stop-QNICDWAU.js} +11 -11
  148. package/dist/{sync-DUXN2MFJ.js → sync-RH3M47QK.js} +29 -29
  149. package/dist/{time-Q42HPZZ3.js → time-PM72GK5W.js} +11 -11
  150. package/dist/{time-actions-IXZRVKKQ.js → time-actions-O3MCB7FU.js} +3 -3
  151. package/dist/{timesheet-YJ6O3GUU.js → timesheet-HJXQ4KHL.js} +15 -15
  152. package/dist/{todo-ZBFRL2A5.js → todo-UVKGOG7D.js} +2 -2
  153. package/dist/{tree-H2UYE6LH.js → tree-RGT736E3.js} +30 -28
  154. package/dist/{tree-H2UYE6LH.js.map → tree-RGT736E3.js.map} +1 -1
  155. package/dist/{update-RGNKMRUL.js → update-CMYVBWV3.js} +15 -15
  156. package/dist/{usage-YZRZKJ3H.js → usage-VEKD3JPL.js} +10 -10
  157. package/dist/{usage-ask-BYPNLA2B.js → usage-ask-V2SIRW4F.js} +3 -3
  158. package/dist/{version-4IOMOIDP.js → version-RJ4PCHPB.js} +5 -5
  159. package/dist/{wait-YOHPFWVJ.js → wait-RQZU3KDY.js} +11 -11
  160. package/dist/wd-bin.js +3 -3
  161. package/dist/web/assets/{PtyView-CYAhB_pW.js → PtyView-qP6blm2-.js} +26 -28
  162. package/dist/web/assets/PtyView-qP6blm2-.js.map +1 -0
  163. package/dist/web/assets/index-DuFRboh6.js +129 -0
  164. package/dist/web/assets/index-DuFRboh6.js.map +1 -0
  165. package/dist/web/assets/index-yBTfBzDm.css +1 -0
  166. package/dist/web/index.html +2 -2
  167. package/dist/{web-Q672AIMZ.js → web-GOCU26ZD.js} +617 -526
  168. package/dist/web-GOCU26ZD.js.map +1 -0
  169. package/npm-shrinkwrap.json +3 -4
  170. package/package.json +2 -2
  171. package/dist/chunk-3ZPVKUYD.js.map +0 -1
  172. package/dist/chunk-7Q5PBXF6.js.map +0 -1
  173. package/dist/chunk-7ZOY2QQN.js +0 -43
  174. package/dist/chunk-7ZOY2QQN.js.map +0 -1
  175. package/dist/chunk-AITL3JYB.js.map +0 -1
  176. package/dist/chunk-EXZ4A6VJ.js +0 -9
  177. package/dist/chunk-ICEP4WAK.js +0 -256
  178. package/dist/chunk-ICEP4WAK.js.map +0 -1
  179. package/dist/chunk-KQMHGEI2.js.map +0 -1
  180. package/dist/chunk-LNHSBM4L.js +0 -26
  181. package/dist/chunk-LNHSBM4L.js.map +0 -1
  182. package/dist/chunk-LV5JRLBM.js.map +0 -1
  183. package/dist/chunk-PTAG6WIE.js.map +0 -1
  184. package/dist/chunk-USENBMUV.js.map +0 -1
  185. package/dist/chunk-VHENFC2S.js.map +0 -1
  186. package/dist/chunk-WRDULHAN.js.map +0 -1
  187. package/dist/chunk-YO3BNAAK.js.map +0 -1
  188. package/dist/pty-host-EAWW62U4.js +0 -1235
  189. package/dist/pty-host-EAWW62U4.js.map +0 -1
  190. package/dist/state-GM22X3RN.js.map +0 -1
  191. package/dist/web/assets/PtyView-CYAhB_pW.js.map +0 -1
  192. package/dist/web/assets/index-Ca7KbCED.css +0 -1
  193. package/dist/web/assets/index-iBmmgBZv.js +0 -129
  194. package/dist/web/assets/index-iBmmgBZv.js.map +0 -1
  195. package/dist/web-Q672AIMZ.js.map +0 -1
  196. /package/dist/{add-repo-ALVEGU25.js.map → add-repo-FTAMMPVM.js.map} +0 -0
  197. /package/dist/{answer-CI2SPQQL.js.map → answer-LKNMN2ZM.js.map} +0 -0
  198. /package/dist/{block-TVIYWRJ5.js.map → block-3ZUFH2RO.js.map} +0 -0
  199. /package/dist/{broadcast-GZNMZFOY.js.map → broadcast-I23BZI3R.js.map} +0 -0
  200. /package/dist/{catchup-ZURJI6BF.js.map → catchup-G4EOJIZP.js.map} +0 -0
  201. /package/dist/{child-K6YYF6MQ.js.map → child-MVNEFA2I.js.map} +0 -0
  202. /package/dist/{chunk-ZTWZS5RK.js.map → chunk-24FQ5XXN.js.map} +0 -0
  203. /package/dist/{chunk-D2SVBU7R.js.map → chunk-2FNYJEOH.js.map} +0 -0
  204. /package/dist/{chunk-EEHPZMS3.js.map → chunk-2JLG65GB.js.map} +0 -0
  205. /package/dist/{chunk-DC73NF67.js.map → chunk-2MJQTFTI.js.map} +0 -0
  206. /package/dist/{chunk-G4T2HGLJ.js.map → chunk-4HQEYZIM.js.map} +0 -0
  207. /package/dist/{chunk-CA56ETYX.js.map → chunk-5SXTMOO6.js.map} +0 -0
  208. /package/dist/{chunk-OCUUM755.js.map → chunk-6PZ7RCXK.js.map} +0 -0
  209. /package/dist/{chunk-RTCTD5PJ.js.map → chunk-773UJC5C.js.map} +0 -0
  210. /package/dist/{chunk-W4GDPHIF.js.map → chunk-7ZATXG5F.js.map} +0 -0
  211. /package/dist/{chunk-6Y3VLCKA.js.map → chunk-BI7HIO2I.js.map} +0 -0
  212. /package/dist/{chunk-FGBLFF4O.js.map → chunk-BMPTUIP4.js.map} +0 -0
  213. /package/dist/{chunk-BQS73CWR.js.map → chunk-ET5K6S5H.js.map} +0 -0
  214. /package/dist/{chunk-B2WV5RAL.js.map → chunk-ETAPX4JN.js.map} +0 -0
  215. /package/dist/{chunk-RLPC3YKZ.js.map → chunk-FHC6KHIH.js.map} +0 -0
  216. /package/dist/{chunk-DF4GOVDE.js.map → chunk-GF7RAQFD.js.map} +0 -0
  217. /package/dist/{chunk-ZO7TF5OL.js.map → chunk-GHY7GZWN.js.map} +0 -0
  218. /package/dist/{chunk-5FIUVBUC.js.map → chunk-GN7EAXHU.js.map} +0 -0
  219. /package/dist/{chunk-EYJ42LDG.js.map → chunk-GTFMUWK6.js.map} +0 -0
  220. /package/dist/{chunk-4QMWNAEJ.js.map → chunk-HCYES6U7.js.map} +0 -0
  221. /package/dist/{chunk-TOMDOA4P.js.map → chunk-HNZ736XN.js.map} +0 -0
  222. /package/dist/{chunk-ATQB6PTV.js.map → chunk-HPUD5IGB.js.map} +0 -0
  223. /package/dist/{chunk-FV7BSQPQ.js.map → chunk-HQDQRC4F.js.map} +0 -0
  224. /package/dist/{chunk-SDYY5MHW.js.map → chunk-INXHVNMZ.js.map} +0 -0
  225. /package/dist/{chunk-QNOJOZYK.js.map → chunk-IRDWXDID.js.map} +0 -0
  226. /package/dist/{chunk-EA4C6TVY.js.map → chunk-IVS2MAHD.js.map} +0 -0
  227. /package/dist/{chunk-QOLHDDM2.js.map → chunk-IXC6EXVJ.js.map} +0 -0
  228. /package/dist/{chunk-IU6LA6EB.js.map → chunk-IXZOZZGD.js.map} +0 -0
  229. /package/dist/{chunk-SZAD5U3J.js.map → chunk-LB2GAU7E.js.map} +0 -0
  230. /package/dist/{chunk-GNERWNZY.js.map → chunk-MVBBESXK.js.map} +0 -0
  231. /package/dist/{chunk-AIYZJ7XD.js.map → chunk-N7T6NPE2.js.map} +0 -0
  232. /package/dist/{chunk-GQ5WECPJ.js.map → chunk-NREZVTBP.js.map} +0 -0
  233. /package/dist/{chunk-EXZ4A6VJ.js.map → chunk-NRX5V443.js.map} +0 -0
  234. /package/dist/{chunk-NYGKSOQ4.js.map → chunk-OPV6BE3W.js.map} +0 -0
  235. /package/dist/{chunk-UAF2YFLZ.js.map → chunk-ROEEXEN7.js.map} +0 -0
  236. /package/dist/{chunk-F4UIKOU6.js.map → chunk-TL7VLRRF.js.map} +0 -0
  237. /package/dist/{chunk-NOQA7MJ4.js.map → chunk-U2A2DHWP.js.map} +0 -0
  238. /package/dist/{chunk-Q2B3NUSM.js.map → chunk-U4XSBYQW.js.map} +0 -0
  239. /package/dist/{chunk-Z4FWXDJG.js.map → chunk-VH5FRKJM.js.map} +0 -0
  240. /package/dist/{chunk-DCENKA6E.js.map → chunk-W5YYTITQ.js.map} +0 -0
  241. /package/dist/{chunk-5P27YL64.js.map → chunk-WOY35FXP.js.map} +0 -0
  242. /package/dist/{chunk-HI674QZF.js.map → chunk-XIN6XUFL.js.map} +0 -0
  243. /package/dist/{chunk-EVTMZ5IH.js.map → chunk-XWKN2HJD.js.map} +0 -0
  244. /package/dist/{chunk-CMRTNTMU.js.map → chunk-YKTJL4SW.js.map} +0 -0
  245. /package/dist/{chunk-PUJSLL6R.js.map → chunk-ZLPK2LQ3.js.map} +0 -0
  246. /package/dist/{chunk-Z4P23XG3.js.map → chunk-ZX4ONO5Y.js.map} +0 -0
  247. /package/dist/{cli-OPORB5PF.js.map → cli-CAF6VCVO.js.map} +0 -0
  248. /package/dist/{color-C223W3Z6.js.map → color-7CQNI6Y4.js.map} +0 -0
  249. /package/dist/{config-KQYXQCQA.js.map → config-EXQY26W4.js.map} +0 -0
  250. /package/dist/{coordinate-4E5GIMC6.js.map → coordinate-LRY7LXS6.js.map} +0 -0
  251. /package/dist/{digest-GYF4YLUH.js.map → digest-2AFW3WBL.js.map} +0 -0
  252. /package/dist/{history-25DNQKKC.js.map → history-RFIDCGQY.js.map} +0 -0
  253. /package/dist/{hook-B4JO2X57.js.map → hook-XBALB337.js.map} +0 -0
  254. /package/dist/{hydrate-IJEKNZIP.js.map → hydrate-DAEY4PB6.js.map} +0 -0
  255. /package/dist/{init-UJVOUDJI.js.map → init-4BK3T34W.js.map} +0 -0
  256. /package/dist/{install-skills-FV2L5QHE.js.map → install-skills-TL5D7HZU.js.map} +0 -0
  257. /package/dist/{keep-PKXGFZO2.js.map → keep-57TUKADV.js.map} +0 -0
  258. /package/dist/{list-VYQ3QE2H.js.map → list-DRQRIT6U.js.map} +0 -0
  259. /package/dist/{move-IAZY23ZX.js.map → move-UEHJ375P.js.map} +0 -0
  260. /package/dist/{note-6HQUKUYY.js.map → note-FHPDVBRI.js.map} +0 -0
  261. /package/dist/{overlaps-CGP3RJOW.js.map → overlaps-GKAKEUB6.js.map} +0 -0
  262. /package/dist/{pin-PAWGQ4Q2.js.map → pin-CFTQDPPC.js.map} +0 -0
  263. /package/dist/{prune-42MS36OR.js.map → prune-IQB2T45B.js.map} +0 -0
  264. /package/dist/{read-ATNCW4KH.js.map → read-DHJ6VY44.js.map} +0 -0
  265. /package/dist/{remove-GLDJOKUI.js.map → remove-MW25RLNV.js.map} +0 -0
  266. /package/dist/{report-AK7Z2Y4S.js.map → report-II75EKM6.js.map} +0 -0
  267. /package/dist/{restart-DEPDGEZB.js.map → restart-4BGVRBX6.js.map} +0 -0
  268. /package/dist/{review-RYAGH3PY.js.map → review-WKB3K6LI.js.map} +0 -0
  269. /package/dist/{review-now-K4UWD7A5.js.map → review-now-AT2SPPRO.js.map} +0 -0
  270. /package/dist/{run-WNP2SMNW.js.map → run-YS2D7WAQ.js.map} +0 -0
  271. /package/dist/{screen-P746M4F2.js.map → screen-VVRNQXVW.js.map} +0 -0
  272. /package/dist/{search-XQ2WMK5X.js.map → search-MKYCKZF4.js.map} +0 -0
  273. /package/dist/{section-Q7TPOV7U.js.map → section-Y6RDD3MN.js.map} +0 -0
  274. /package/dist/{send-EGG23J2B.js.map → send-AZM2XKN2.js.map} +0 -0
  275. /package/dist/{show-KSMC7AJL.js.map → show-33VV3XCF.js.map} +0 -0
  276. /package/dist/{snooze-4LVYUQEX.js.map → snooze-OFYZVVYS.js.map} +0 -0
  277. /package/dist/{start-YKLLXW3L.js.map → start-OEQ5VW7Y.js.map} +0 -0
  278. /package/dist/{status-4HGP4ZEF.js.map → status-HPYMNO2T.js.map} +0 -0
  279. /package/dist/{statusline-QJ6CJGHB.js.map → statusline-Z5HLKDIA.js.map} +0 -0
  280. /package/dist/{statusline-hook-Q645N4XF.js.map → statusline-hook-VPPS3PFO.js.map} +0 -0
  281. /package/dist/{stop-YBQL6NFF.js.map → stop-QNICDWAU.js.map} +0 -0
  282. /package/dist/{sync-DUXN2MFJ.js.map → sync-RH3M47QK.js.map} +0 -0
  283. /package/dist/{time-Q42HPZZ3.js.map → time-PM72GK5W.js.map} +0 -0
  284. /package/dist/{time-actions-IXZRVKKQ.js.map → time-actions-O3MCB7FU.js.map} +0 -0
  285. /package/dist/{timesheet-YJ6O3GUU.js.map → timesheet-HJXQ4KHL.js.map} +0 -0
  286. /package/dist/{todo-ZBFRL2A5.js.map → todo-UVKGOG7D.js.map} +0 -0
  287. /package/dist/{update-RGNKMRUL.js.map → update-CMYVBWV3.js.map} +0 -0
  288. /package/dist/{usage-YZRZKJ3H.js.map → usage-VEKD3JPL.js.map} +0 -0
  289. /package/dist/{usage-ask-BYPNLA2B.js.map → usage-ask-V2SIRW4F.js.map} +0 -0
  290. /package/dist/{version-4IOMOIDP.js.map → version-RJ4PCHPB.js.map} +0 -0
  291. /package/dist/{wait-YOHPFWVJ.js.map → wait-RQZU3KDY.js.map} +0 -0
@@ -5,64 +5,64 @@ import {
5
5
  } from "./chunk-ABQYKTG4.js";
6
6
  import {
7
7
  defaultCleanupDeps
8
- } from "./chunk-CMRTNTMU.js";
9
- import "./chunk-23QLXVH6.js";
8
+ } from "./chunk-YKTJL4SW.js";
9
+ import "./chunk-MQXMYVZV.js";
10
10
  import {
11
11
  applyCleanup,
12
12
  scanCleanup
13
13
  } from "./chunk-AKMPF72Y.js";
14
- import "./chunk-CA56ETYX.js";
15
- import "./chunk-DC73NF67.js";
16
- import "./chunk-ICEP4WAK.js";
17
- import "./chunk-WRDULHAN.js";
18
- import "./chunk-GQ5WECPJ.js";
19
- import "./chunk-OCUUM755.js";
20
- import "./chunk-4QMWNAEJ.js";
21
- import "./chunk-USENBMUV.js";
22
- import "./chunk-IU6LA6EB.js";
14
+ import "./chunk-5SXTMOO6.js";
15
+ import "./chunk-2MJQTFTI.js";
16
+ import "./chunk-5QENUGSC.js";
17
+ import "./chunk-BCYBF7KJ.js";
18
+ import "./chunk-NREZVTBP.js";
19
+ import "./chunk-6PZ7RCXK.js";
20
+ import "./chunk-HCYES6U7.js";
21
+ import "./chunk-NS7WH53I.js";
22
+ import "./chunk-IXZOZZGD.js";
23
23
  import "./chunk-Y7PWSACJ.js";
24
24
  import "./chunk-EORL2V7P.js";
25
- import "./chunk-6Y3VLCKA.js";
26
- import "./chunk-PUJSLL6R.js";
27
- import "./chunk-QNOJOZYK.js";
25
+ import "./chunk-BI7HIO2I.js";
26
+ import "./chunk-ZLPK2LQ3.js";
27
+ import "./chunk-IRDWXDID.js";
28
28
  import "./chunk-SJBEIYLK.js";
29
- import "./chunk-TOMDOA4P.js";
29
+ import "./chunk-HNZ736XN.js";
30
+ import "./chunk-DHZ5DF6Y.js";
30
31
  import "./chunk-7E5XPDKX.js";
31
- import "./chunk-FV7BSQPQ.js";
32
- import "./chunk-LV5JRLBM.js";
32
+ import "./chunk-HQDQRC4F.js";
33
+ import "./chunk-ZMJR4Z6O.js";
33
34
  import "./chunk-ZSHWP2VS.js";
34
35
  import "./chunk-UPS7NHKI.js";
35
36
  import "./chunk-HUXS3VAI.js";
36
37
  import "./chunk-LM2T5OR3.js";
37
- import "./chunk-AIYZJ7XD.js";
38
- import "./chunk-Z4FWXDJG.js";
39
- import "./chunk-NOQA7MJ4.js";
38
+ import "./chunk-N7T6NPE2.js";
39
+ import "./chunk-VH5FRKJM.js";
40
+ import "./chunk-U2A2DHWP.js";
40
41
  import "./chunk-FGPXMAYU.js";
41
42
  import "./chunk-MJIYIMPI.js";
42
43
  import "./chunk-GNIYYXQX.js";
43
44
  import "./chunk-T5GJVUSL.js";
44
45
  import "./chunk-XBWS77S2.js";
45
46
  import "./chunk-4CXUVBOD.js";
46
- import "./chunk-AITL3JYB.js";
47
+ import "./chunk-HUWWMTNG.js";
47
48
  import "./chunk-NEJVK5CF.js";
48
49
  import "./chunk-QGUBOOEN.js";
49
- import "./chunk-LNHSBM4L.js";
50
- import "./chunk-KQMHGEI2.js";
50
+ import "./chunk-NWKVTUTN.js";
51
51
  import "./chunk-KGHWHAVF.js";
52
- import "./chunk-FGBLFF4O.js";
52
+ import "./chunk-BMPTUIP4.js";
53
53
  import "./chunk-ED6YLB4S.js";
54
54
  import "./chunk-IPHADNF5.js";
55
55
  import "./chunk-JYWX2N5W.js";
56
56
  import "./chunk-Z6ACV5ZQ.js";
57
57
  import "./chunk-JUGF3YE7.js";
58
58
  import "./chunk-HK6AZQ5Z.js";
59
- import "./chunk-HI674QZF.js";
59
+ import "./chunk-XIN6XUFL.js";
60
60
  import {
61
61
  ensureConfig
62
- } from "./chunk-3ZPVKUYD.js";
63
- import "./chunk-W4GDPHIF.js";
62
+ } from "./chunk-ETWP7MDS.js";
63
+ import "./chunk-7ZATXG5F.js";
64
64
  import "./chunk-BR6OWWAA.js";
65
- import "./chunk-VHENFC2S.js";
65
+ import "./chunk-M2X6OHHR.js";
66
66
  import "./chunk-QOSAWNOU.js";
67
67
  import "./chunk-D2J3AD6L.js";
68
68
  import "./chunk-5ZCCUM75.js";
@@ -124,4 +124,4 @@ var syncCommand = {
124
124
  export {
125
125
  syncCommand
126
126
  };
127
- //# sourceMappingURL=sync-DUXN2MFJ.js.map
127
+ //# sourceMappingURL=sync-RH3M47QK.js.map
@@ -7,19 +7,19 @@ import {
7
7
  } from "./chunk-WIXY4EDH.js";
8
8
  import {
9
9
  sessionWorkTime
10
- } from "./chunk-EA4C6TVY.js";
10
+ } from "./chunk-IVS2MAHD.js";
11
11
  import {
12
12
  sessionFromArgs,
13
13
  sessionPositionals
14
- } from "./chunk-ZO7TF5OL.js";
14
+ } from "./chunk-GHY7GZWN.js";
15
15
  import "./chunk-6AQRYLOB.js";
16
- import "./chunk-LV5JRLBM.js";
16
+ import "./chunk-ZMJR4Z6O.js";
17
17
  import "./chunk-ZSHWP2VS.js";
18
18
  import "./chunk-UPS7NHKI.js";
19
19
  import "./chunk-HUXS3VAI.js";
20
20
  import {
21
21
  loadHistory
22
- } from "./chunk-AITL3JYB.js";
22
+ } from "./chunk-HUWWMTNG.js";
23
23
  import {
24
24
  dayKey,
25
25
  formatWorked,
@@ -28,20 +28,20 @@ import {
28
28
  import {
29
29
  sessionIdFor
30
30
  } from "./chunk-QGUBOOEN.js";
31
- import "./chunk-KQMHGEI2.js";
31
+ import "./chunk-NWKVTUTN.js";
32
32
  import "./chunk-KGHWHAVF.js";
33
- import "./chunk-FGBLFF4O.js";
33
+ import "./chunk-BMPTUIP4.js";
34
34
  import "./chunk-ED6YLB4S.js";
35
35
  import "./chunk-Z6ACV5ZQ.js";
36
36
  import "./chunk-JUGF3YE7.js";
37
37
  import "./chunk-HK6AZQ5Z.js";
38
- import "./chunk-HI674QZF.js";
38
+ import "./chunk-XIN6XUFL.js";
39
39
  import {
40
40
  loadConfig
41
- } from "./chunk-3ZPVKUYD.js";
42
- import "./chunk-W4GDPHIF.js";
41
+ } from "./chunk-ETWP7MDS.js";
42
+ import "./chunk-7ZATXG5F.js";
43
43
  import "./chunk-BR6OWWAA.js";
44
- import "./chunk-VHENFC2S.js";
44
+ import "./chunk-M2X6OHHR.js";
45
45
  import "./chunk-QOSAWNOU.js";
46
46
  import "./chunk-D2J3AD6L.js";
47
47
  import "./chunk-5ZCCUM75.js";
@@ -124,4 +124,4 @@ var timeCommand = {
124
124
  export {
125
125
  timeCommand
126
126
  };
127
- //# sourceMappingURL=time-Q42HPZZ3.js.map
127
+ //# sourceMappingURL=time-PM72GK5W.js.map
@@ -3,11 +3,11 @@ import {
3
3
  describeDayNow,
4
4
  describeMonthNow,
5
5
  postStoredDay
6
- } from "./chunk-BQS73CWR.js";
6
+ } from "./chunk-ET5K6S5H.js";
7
7
  import "./chunk-JVE2JFLV.js";
8
8
  import "./chunk-NEJVK5CF.js";
9
9
  import "./chunk-QGUBOOEN.js";
10
- import "./chunk-3ZPVKUYD.js";
10
+ import "./chunk-ETWP7MDS.js";
11
11
  import "./chunk-D2J3AD6L.js";
12
12
  import "./chunk-5ZCCUM75.js";
13
13
  import "./chunk-IAKOKZYW.js";
@@ -17,4 +17,4 @@ export {
17
17
  describeMonthNow,
18
18
  postStoredDay
19
19
  };
20
- //# sourceMappingURL=time-actions-IXZRVKKQ.js.map
20
+ //# sourceMappingURL=time-actions-O3MCB7FU.js.map
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  createMonthGather,
4
4
  defaultTimeDeps
5
- } from "./chunk-5FIUVBUC.js";
6
- import "./chunk-EA4C6TVY.js";
7
- import "./chunk-PUJSLL6R.js";
8
- import "./chunk-QNOJOZYK.js";
5
+ } from "./chunk-GN7EAXHU.js";
6
+ import "./chunk-IVS2MAHD.js";
7
+ import "./chunk-ZLPK2LQ3.js";
8
+ import "./chunk-IRDWXDID.js";
9
9
  import {
10
10
  buildDay,
11
11
  dayArg,
@@ -21,35 +21,35 @@ import {
21
21
  tempoClient,
22
22
  tempoSetup,
23
23
  updateDay
24
- } from "./chunk-BQS73CWR.js";
24
+ } from "./chunk-ET5K6S5H.js";
25
25
  import "./chunk-JVE2JFLV.js";
26
26
  import {
27
27
  callWorkWeb
28
- } from "./chunk-SZAD5U3J.js";
29
- import "./chunk-NOQA7MJ4.js";
28
+ } from "./chunk-LB2GAU7E.js";
29
+ import "./chunk-U2A2DHWP.js";
30
30
  import "./chunk-FGPXMAYU.js";
31
31
  import "./chunk-GNIYYXQX.js";
32
32
  import "./chunk-T5GJVUSL.js";
33
33
  import "./chunk-XBWS77S2.js";
34
34
  import "./chunk-4CXUVBOD.js";
35
- import "./chunk-AITL3JYB.js";
35
+ import "./chunk-HUWWMTNG.js";
36
36
  import "./chunk-NEJVK5CF.js";
37
37
  import "./chunk-QGUBOOEN.js";
38
- import "./chunk-KQMHGEI2.js";
38
+ import "./chunk-NWKVTUTN.js";
39
39
  import "./chunk-KGHWHAVF.js";
40
- import "./chunk-FGBLFF4O.js";
40
+ import "./chunk-BMPTUIP4.js";
41
41
  import "./chunk-ED6YLB4S.js";
42
42
  import "./chunk-JYWX2N5W.js";
43
43
  import "./chunk-Z6ACV5ZQ.js";
44
44
  import "./chunk-JUGF3YE7.js";
45
45
  import "./chunk-HK6AZQ5Z.js";
46
- import "./chunk-HI674QZF.js";
46
+ import "./chunk-XIN6XUFL.js";
47
47
  import {
48
48
  loadConfig
49
- } from "./chunk-3ZPVKUYD.js";
50
- import "./chunk-W4GDPHIF.js";
49
+ } from "./chunk-ETWP7MDS.js";
50
+ import "./chunk-7ZATXG5F.js";
51
51
  import "./chunk-BR6OWWAA.js";
52
- import "./chunk-VHENFC2S.js";
52
+ import "./chunk-M2X6OHHR.js";
53
53
  import "./chunk-QOSAWNOU.js";
54
54
  import "./chunk-D2J3AD6L.js";
55
55
  import "./chunk-5ZCCUM75.js";
@@ -207,4 +207,4 @@ var timesheetCommand = {
207
207
  export {
208
208
  timesheetCommand
209
209
  };
210
- //# sourceMappingURL=timesheet-YJ6O3GUU.js.map
210
+ //# sourceMappingURL=timesheet-HJXQ4KHL.js.map
@@ -8,7 +8,7 @@ import {
8
8
  uncompleteTask
9
9
  } from "./chunk-BDZDOPAA.js";
10
10
  import "./chunk-QGUBOOEN.js";
11
- import "./chunk-3ZPVKUYD.js";
11
+ import "./chunk-ETWP7MDS.js";
12
12
  import "./chunk-D2J3AD6L.js";
13
13
  import "./chunk-5ZCCUM75.js";
14
14
  import "./chunk-IAKOKZYW.js";
@@ -151,4 +151,4 @@ var todoCommand = {
151
151
  export {
152
152
  todoCommand
153
153
  };
154
- //# sourceMappingURL=todo-ZBFRL2A5.js.map
154
+ //# sourceMappingURL=todo-UVKGOG7D.js.map
@@ -4,55 +4,58 @@ import {
4
4
  openInLeftovers,
5
5
  resolvePrToStart,
6
6
  workOnPrPrompt
7
- } from "./chunk-KU3TQAA7.js";
7
+ } from "./chunk-XTAYJDL2.js";
8
8
  import {
9
9
  retiredUnsafeOption,
10
10
  warnRetiredUnsafe
11
11
  } from "./chunk-S3CTXKSN.js";
12
12
  import {
13
13
  clearLaunchedUnsafeWhenIdle
14
- } from "./chunk-NYGKSOQ4.js";
14
+ } from "./chunk-OPV6BE3W.js";
15
15
  import "./chunk-FZHFD2AY.js";
16
- import "./chunk-7ZOY2QQN.js";
17
- import "./chunk-ICEP4WAK.js";
16
+ import "./chunk-NXS53NHR.js";
17
+ import "./chunk-44QJVFOF.js";
18
18
  import {
19
19
  attachSession
20
- } from "./chunk-7Q5PBXF6.js";
20
+ } from "./chunk-4FN45EAF.js";
21
+ import "./chunk-6KMG4WNW.js";
21
22
  import {
22
23
  SETUP_WARNINGS
23
- } from "./chunk-QOLHDDM2.js";
24
- import "./chunk-WRDULHAN.js";
25
- import "./chunk-GQ5WECPJ.js";
26
- import "./chunk-OCUUM755.js";
27
- import "./chunk-4QMWNAEJ.js";
28
- import "./chunk-USENBMUV.js";
24
+ } from "./chunk-IXC6EXVJ.js";
25
+ import "./chunk-5QENUGSC.js";
26
+ import "./chunk-BCYBF7KJ.js";
27
+ import "./chunk-NREZVTBP.js";
28
+ import "./chunk-6PZ7RCXK.js";
29
+ import "./chunk-HCYES6U7.js";
30
+ import "./chunk-NS7WH53I.js";
29
31
  import {
30
32
  BaseSpecError,
31
33
  isEmptyBaseSpec,
32
34
  openBaseCheckout,
33
35
  parseBaseSpec,
34
36
  setupWorktree
35
- } from "./chunk-IU6LA6EB.js";
37
+ } from "./chunk-IXZOZZGD.js";
36
38
  import "./chunk-Y7PWSACJ.js";
37
39
  import "./chunk-EORL2V7P.js";
38
40
  import "./chunk-SJBEIYLK.js";
39
- import "./chunk-TOMDOA4P.js";
41
+ import "./chunk-HNZ736XN.js";
42
+ import "./chunk-DHZ5DF6Y.js";
40
43
  import "./chunk-7E5XPDKX.js";
41
- import "./chunk-FV7BSQPQ.js";
42
- import "./chunk-LV5JRLBM.js";
44
+ import "./chunk-HQDQRC4F.js";
45
+ import "./chunk-ZMJR4Z6O.js";
43
46
  import "./chunk-ZSHWP2VS.js";
44
47
  import "./chunk-UPS7NHKI.js";
45
48
  import "./chunk-HUXS3VAI.js";
46
49
  import "./chunk-LM2T5OR3.js";
47
- import "./chunk-AIYZJ7XD.js";
48
- import "./chunk-Z4FWXDJG.js";
49
- import "./chunk-NOQA7MJ4.js";
50
+ import "./chunk-N7T6NPE2.js";
51
+ import "./chunk-VH5FRKJM.js";
52
+ import "./chunk-U2A2DHWP.js";
50
53
  import "./chunk-FGPXMAYU.js";
51
54
  import "./chunk-MJIYIMPI.js";
52
55
  import {
53
56
  launchAi,
54
57
  openVSCode
55
- } from "./chunk-RTCTD5PJ.js";
58
+ } from "./chunk-773UJC5C.js";
56
59
  import "./chunk-GNIYYXQX.js";
57
60
  import "./chunk-T5GJVUSL.js";
58
61
  import "./chunk-XBWS77S2.js";
@@ -60,18 +63,17 @@ import "./chunk-4CXUVBOD.js";
60
63
  import {
61
64
  findSession,
62
65
  loadHistory
63
- } from "./chunk-AITL3JYB.js";
66
+ } from "./chunk-HUWWMTNG.js";
64
67
  import "./chunk-NEJVK5CF.js";
65
68
  import "./chunk-QGUBOOEN.js";
66
- import "./chunk-LNHSBM4L.js";
67
69
  import {
68
70
  agentFor,
69
71
  ownsBranch,
70
72
  sessionToolFor,
71
73
  trustAgentFolder
72
- } from "./chunk-KQMHGEI2.js";
74
+ } from "./chunk-NWKVTUTN.js";
73
75
  import "./chunk-KGHWHAVF.js";
74
- import "./chunk-FGBLFF4O.js";
76
+ import "./chunk-BMPTUIP4.js";
75
77
  import {
76
78
  envArgs
77
79
  } from "./chunk-ED6YLB4S.js";
@@ -84,13 +86,13 @@ import "./chunk-JYWX2N5W.js";
84
86
  import "./chunk-Z6ACV5ZQ.js";
85
87
  import "./chunk-JUGF3YE7.js";
86
88
  import "./chunk-HK6AZQ5Z.js";
87
- import "./chunk-HI674QZF.js";
89
+ import "./chunk-XIN6XUFL.js";
88
90
  import {
89
91
  ensureConfig
90
- } from "./chunk-3ZPVKUYD.js";
91
- import "./chunk-W4GDPHIF.js";
92
+ } from "./chunk-ETWP7MDS.js";
93
+ import "./chunk-7ZATXG5F.js";
92
94
  import "./chunk-BR6OWWAA.js";
93
- import "./chunk-VHENFC2S.js";
95
+ import "./chunk-M2X6OHHR.js";
94
96
  import "./chunk-QOSAWNOU.js";
95
97
  import "./chunk-D2J3AD6L.js";
96
98
  import {
@@ -336,4 +338,4 @@ var treeCommand = {
336
338
  export {
337
339
  treeCommand
338
340
  };
339
- //# sourceMappingURL=tree-H2UYE6LH.js.map
341
+ //# sourceMappingURL=tree-RGT736E3.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/commands/tree.ts"],"sourcesContent":["import fs from 'node:fs';\nimport { agentFor, sessionToolFor, trustAgentFolder } from '../core/agents/index.js';\nimport chalk from 'chalk';\nimport type { CommandModule } from 'yargs';\nimport { ensureConfig } from '../core/platform/config.js';\nimport { resolveProjectTarget, getAllTargetNames, resolveFromCwd } from '../core/worktree/resolve.js';\nimport { openBaseCheckout, setupWorktree } from '../core/worktree/worktree.js';\nimport { ownsBranch } from '../core/worktree/own-checkout.js';\nimport { findSession, loadHistory } from '../core/sessions/history.js';\nimport { clearLaunchedUnsafeWhenIdle } from '../core/sessions/legacy-unsafe-io.js';\nimport { retiredUnsafeOption, warnRetiredUnsafe } from './shared/retired-unsafe.js';\nimport { keepingWarnings } from '../core/platform/report.js';\nimport { SETUP_WARNINGS } from '../core/worktree/setup-child.js';\nimport { leftoversOf, openInLeftovers } from '../core/archive/restore-leftovers.js';\nimport { attachSession } from './shared/attach-session.js';\nimport { openVSCode, launchAi } from '../core/platform/launch.js';\nimport { envArgs } from '../core/platform/env-delta.js';\nimport { parseBaseSpec, isEmptyBaseSpec, BaseSpecError } from '../core/git/base-spec.js';\nimport { resolvePrToStart } from '../core/pr/pr-start.js';\nimport { workOnPrPrompt } from '../core/pr/pr-ref.js';\n\nexport const treeCommand: CommandModule = {\n command: ['tree [target] [branch]', 't [target] [branch]'],\n describe: 'Create or switch to a worktree and launch the configured AI tool',\n builder: (yargs) =>\n yargs\n .showHelpOnFail(true)\n .positional('target', {\n describe: 'Project alias or group name',\n type: 'string',\n })\n .positional('branch', {\n describe: 'Branch name (e.g., feature/login). Omit to work on the base repo.',\n type: 'string',\n })\n .option('here', {\n describe: 'Infer target and branch from the current worktree directory',\n type: 'boolean',\n default: false,\n })\n .option('open', {\n describe: 'Open VS Code in the worktree after creation',\n type: 'boolean',\n default: false,\n })\n .option('unsafe', retiredUnsafeOption)\n .option('pull', {\n describe: 'Pull latest changes when switching into an existing worktree or the base repo. Use --no-pull to skip.',\n type: 'boolean',\n default: true,\n })\n .option('host', {\n describe:\n 'Run the AI session in the PTY host and attach this terminal to it (the default): it survives closing the tab, shows in `work web` — the same screen there and here — and restores after a reboot. Ctrl+] detaches. --no-host (or config `launchViaHost: false`) launches directly in this terminal instead.',\n type: 'boolean',\n })\n .option('fresh', {\n describe: 'Start a new AI conversation instead of continuing the previous one for this directory',\n type: 'boolean',\n default: false,\n })\n .option('base', {\n describe:\n 'Base branch to fork from instead of HEAD. Repeatable. Use a bare branch (--base dev) for all repos, or alias=branch (--base backend=dev --base frontend=feat/x) for per-repo bases in a group.',\n type: 'string',\n })\n .option('prompt', {\n describe: 'Initial prompt to send to the AI tool on startup',\n type: 'string',\n })\n .option('prompt-file', {\n describe: 'File containing the initial prompt (deleted after reading)',\n type: 'string',\n })\n .option('pr', {\n describe:\n \"Work on a pull request, on its branch (what you push lands in it): its link, or its number with <target>. Someone else's too; not one from a fork\",\n type: 'string',\n })\n .option('name', {\n describe: 'Name the session (shown instead of the branch; rename later with F2 in the dashboard)',\n type: 'string',\n })\n .option('account', {\n describe:\n 'The Claude account a new session runs on (a name from `work account list`; default: the configured default). An existing session keeps its own.',\n type: 'string',\n })\n .option('issue-key', {\n describe: 'Link a Jira issue key to this worktree session',\n type: 'string',\n hidden: true,\n })\n .option('repos', {\n describe: \"A new session's repos (comma-separated aliases) instead of its group's: made as a session folder (used by Fork…)\",\n type: 'string',\n hidden: true,\n })\n .option('setup-only', {\n describe: 'Create worktree without launching the AI tool (used by dashboard)',\n type: 'boolean',\n default: false,\n hidden: true,\n }),\n handler: async (argv) => {\n let targetName = argv.target as string | undefined;\n let branchName = argv.branch as string | undefined;\n const here = argv.here as boolean;\n const open = argv.open as boolean;\n warnRetiredUnsafe(argv);\n const pull = argv.pull as boolean;\n const fresh = argv.fresh as boolean;\n const setupOnly = argv['setup-only'] as boolean;\n let baseSpec;\n try {\n baseSpec = parseBaseSpec(argv.base as string | string[] | undefined);\n } catch (err) {\n if (err instanceof BaseSpecError) {\n console.error(err.message);\n process.exitCode = 1;\n return;\n }\n throw err;\n }\n const issueKey = argv['issue-key'] as string | undefined;\n const account = argv.account as string | undefined;\n const promptFile = argv['prompt-file'] as string | undefined;\n let initialPrompt = argv.prompt as string | undefined;\n\n // --prompt-file takes precedence: read and delete the temp file\n if (promptFile) {\n try {\n initialPrompt = fs.readFileSync(promptFile, 'utf-8');\n fs.unlinkSync(promptFile);\n } catch {\n // ignore — fall through to --prompt or no prompt\n }\n }\n\n const config = ensureConfig();\n // Via the host unless told otherwise: one Claude that the terminal and\n // the dashboard both show. A direct launch is invisible to work web.\n const viaHost = (argv.host as boolean | undefined) ?? config.launchViaHost ?? true;\n\n /**\n * Launch the AI tool, continuing the previous conversation for this\n * directory when there is one. `--continue` errors out (\"No conversation\n * found to continue\") in a directory the tool has never run in, so the flag\n * is gated on an existing transcript.\n */\n const launchTool = async (dir: string, port: number | undefined, sessionKey: { target: string; branch: string }): Promise<void> => {\n if (viaHost) {\n const session = findSession(loadHistory(), sessionKey.target, sessionKey.branch);\n if (session) {\n // The host decides --continue itself (the agent's own canResume\n // gate); `fresh` and the prompt ride along on the first spawn.\n process.exitCode = await attachSession(session, {\n fresh,\n initialPrompt,\n forwardEnv: true,\n });\n return;\n }\n console.log(chalk.yellow('Session not found in history — launching directly instead of via the PTY host.'));\n }\n // The session's agent: what to run, and whether it can resume here.\n const own = findSession(loadHistory(), sessionKey.target, sessionKey.branch);\n const agent = agentFor(config, own);\n const tool = agent.launch.tool(config);\n // The session's account: its conversations are in that account's folder, and the agent starts on it.\n const resume = !fresh && agent.launch.canResume(dir, { session: own });\n if (resume) {\n console.log(chalk.gray(`Continuing the previous ${tool.cmd} conversation (--fresh starts a new one).`));\n }\n // Started normally now: a launchedUnsafe from before the retirement no longer describes it — unless that agent\n // still runs in another terminal, which keeps the flag and its guards (legacy-unsafe.ts; remove next release).\n clearLaunchedUnsafeWhenIdle(sessionKey.target, sessionKey.branch);\n trustAgentFolder(agent, own ?? null, dir);\n console.log(`Starting ${tool.cmd}...`);\n // With work's hooks for this process (--settings), never the user's settings' (agents/session-hooks.ts).\n launchAi(dir, sessionToolFor(tool), { initialPrompt, resume }, port, ...envArgs(agent.launch.env?.(own ?? null)));\n };\n\n // --pr: the PR's repo and branch, and a first prompt saying whose branch it is.\n const prArg = argv.pr as string | undefined;\n if (prArg !== undefined) {\n if (branchName || here || !isEmptyBaseSpec(baseSpec)) {\n console.error(\"--pr takes the PR's own branch: don't combine it with a branch, --here or --base.\");\n process.exitCode = 1;\n return;\n }\n const found = await resolvePrToStart(prArg, config, targetName);\n if (!found.ok) {\n console.error(found.error);\n process.exitCode = 1;\n return;\n }\n targetName = found.pr.alias;\n branchName = found.pr.branch;\n // The PR's context goes to a new session only (with your --prompt as what to do): back in\n // one, your --prompt goes as it is, and nothing re-sends the first message.\n if (!findSession(loadHistory(), targetName, branchName)) initialPrompt = workOnPrPrompt(found.pr, initialPrompt);\n console.log(\n chalk.cyan(`PR #${found.pr.number} by @${found.pr.author || '?'}: ${found.pr.title}, on its branch ${branchName} in ${targetName}`),\n );\n }\n\n // --here: infer target and branch from the current worktree directory\n if (here) {\n if (targetName) {\n console.error('Cannot combine --here with an explicit target.');\n process.exitCode = 1;\n return;\n }\n const inferred = resolveFromCwd(config, process.cwd(), loadHistory());\n if ('error' in inferred) {\n console.error(inferred.error);\n process.exitCode = 1;\n return;\n }\n targetName = inferred.target;\n branchName = inferred.isBaseRepo ? undefined : inferred.branch;\n console.log(chalk.cyan(`Resolved from current directory: ${targetName}${branchName ? ' @ ' + branchName : ' (base repo)'}`));\n } else if (!targetName) {\n console.error('Specify a target, or use --here to infer it from the current directory.');\n process.exitCode = 1;\n return;\n }\n\n // --base requires a branch name\n if (!isEmptyBaseSpec(baseSpec) && !branchName) {\n console.error('--base requires a branch name');\n console.log(chalk.yellow(`Usage: work tree ${targetName} <branch> --base <base>`));\n process.exitCode = 1;\n return;\n }\n\n // Resolve project target (for validation and base-repo handling)\n const target = resolveProjectTarget(targetName, config);\n if (!target) {\n const allNames = getAllTargetNames(config);\n console.error(`Project or group not found: ${targetName}`);\n console.log(chalk.yellow(`Available: ${allNames.join(', ')}`));\n console.log(chalk.yellow('Add a new project with: work config add <alias> <path>'));\n process.exitCode = 1;\n return;\n }\n\n // The branch the repo's own folder is on can't be checked out a second time: asking for it means that folder.\n if (branchName && isEmptyBaseSpec(baseSpec) && !target.isGroup && ownsBranch(targetName, branchName, config)) {\n console.log(chalk.gray(`${branchName} is the branch ${targetName}'s own folder is on: opening it there.`));\n branchName = undefined;\n }\n\n // No branch specified — work directly on the base repo\n if (!branchName) {\n if (target.isGroup) {\n console.error('Branch is required for group targets.');\n console.log(chalk.yellow(`Usage: work tree ${targetName} <branch>`));\n process.exitCode = 1;\n return;\n }\n\n console.log(chalk.cyan(`Working on base repo: ${targetName}`));\n const opened = await openBaseCheckout(targetName, config, {\n pull,\n issueKey,\n name: typeof argv.name === 'string' ? argv.name : undefined,\n account,\n });\n if (!opened.ok) {\n console.error(opened.error);\n process.exitCode = 1;\n return;\n }\n const { repoPath, branch: currentBranch } = opened;\n console.log(`Repo path: ${repoPath}`);\n if (opened.dropped.length) console.log(chalk.gray(`Replaced older entries for this checkout: ${opened.dropped.join(', ')}`));\n\n if (open) openVSCode(repoPath);\n if (!setupOnly) await launchTool(repoPath, undefined, { target: targetName, branch: currentBranch });\n return;\n }\n\n // Create/switch worktree via shared core logic\n const repos =\n typeof argv.repos === 'string'\n ? argv.repos\n .split(',')\n .map((a) => a.trim())\n .filter(Boolean)\n : [];\n const { value: result, warnings } = await keepingWarnings(() =>\n setupWorktree(targetName, branchName, config, baseSpec, issueKey, {\n pull,\n name: argv.name as string | undefined,\n ...(account ? { account } : {}),\n ...(repos.length ? { repos } : {}),\n }),\n );\n if (!result) {\n // Run by you (not work web's child, whose route says it): what keeps the old folder in use, by name.\n const left = setupOnly ? [] : leftoversOf(findSession(loadHistory(), targetName, branchName)?.paths ?? []);\n const open = await openInLeftovers(left);\n if (open.length) console.error(chalk.yellow(`Still open in its old folder: ${open.join(', ')}. Stop it and try again.`));\n process.exitCode = 1;\n return;\n }\n\n if (open) {\n for (const p of result.paths) {\n openVSCode(p);\n }\n }\n\n console.log(`Worktree path: ${result.launchDir}`);\n // work web's child: what it warned about, for the dashboard (it reads only this line).\n if (setupOnly) console.log(`${SETUP_WARNINGS}${JSON.stringify(warnings)}`);\n if (!setupOnly) {\n await launchTool(result.launchDir, result.port, { target: targetName, branch: branchName });\n }\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ;AAEf,OAAO,WAAW;AAmBX,IAAM,cAA6B;AAAA,EACxC,SAAS,CAAC,0BAA0B,qBAAqB;AAAA,EACzD,UAAU;AAAA,EACV,SAAS,CAAC,UACR,MACG,eAAe,IAAI,EACnB,WAAW,UAAU;AAAA,IACpB,UAAU;AAAA,IACV,MAAM;AAAA,EACR,CAAC,EACA,WAAW,UAAU;AAAA,IACpB,UAAU;AAAA,IACV,MAAM;AAAA,EACR,CAAC,EACA,OAAO,QAAQ;AAAA,IACd,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EACX,CAAC,EACA,OAAO,QAAQ;AAAA,IACd,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EACX,CAAC,EACA,OAAO,UAAU,mBAAmB,EACpC,OAAO,QAAQ;AAAA,IACd,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EACX,CAAC,EACA,OAAO,QAAQ;AAAA,IACd,UACE;AAAA,IACF,MAAM;AAAA,EACR,CAAC,EACA,OAAO,SAAS;AAAA,IACf,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EACX,CAAC,EACA,OAAO,QAAQ;AAAA,IACd,UACE;AAAA,IACF,MAAM;AAAA,EACR,CAAC,EACA,OAAO,UAAU;AAAA,IAChB,UAAU;AAAA,IACV,MAAM;AAAA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O,QAAQ,SAAS,IAAI,MAAM;AAAA,MAAgB,MACxD,cAAc,YAAY,YAAY,QAAQ,UAAU,UAAU;AAAA,QAChE;AAAA,QACA,MAAM,KAAK;AAAA,QACX,GAAI,UAAU,EAAE,QAAQ,IAAI,CAAC;AAAA,QAC7B,GAAI,MAAM,SAAS,EAAE,MAAM,IAAI,CAAC;AAAA,MAClC,CAAC;AAAA,IACH;AACA,QAAI,CAAC,QAAQ;AAEX,YAAM,OAAO,YAAY,CAAC,IAAI,YAAY,YAAY,YAAY,GAAG,YAAY,UAAU,GAAG,SAAS,CAAC,CAAC;AACzG,YAAMA,QAAO,MAAM,gBAAgB,IAAI;AACvC,UAAIA,MAAK,OAAQ,SAAQ,MAAM,MAAM,OAAO,iCAAiCA,MAAK,KAAK,IAAI,CAAC,0BAA0B,CAAC;AACvH,cAAQ,WAAW;AACnB;AAAA,IACF;AAEA,QAAI,MAAM;AACR,iBAAW,KAAK,OAAO,OAAO;AAC5B,mBAAW,CAAC;AAAA,MACd;AAAA,IACF;AAEA,YAAQ,IAAI,kBAAkB,OAAO,SAAS,EAAE;AAEhD,QAAI,UAAW,SAAQ,IAAI,GAAG,cAAc,GAAG,KAAK,UAAU,QAAQ,CAAC,EAAE;AACzE,QAAI,CAAC,WAAW;AACd,YAAM,WAAW,OAAO,WAAW,OAAO,MAAM,EAAE,QAAQ,YAAY,QAAQ,WAAW,CAAC;AAAA,IAC5F;AAAA,EACF;AACF;","names":["open"]}
1
+ {"version":3,"sources":["../src/commands/tree.ts"],"sourcesContent":["import fs from 'node:fs';\nimport { agentFor, sessionToolFor, trustAgentFolder } from '../core/agents/index.js';\nimport chalk from 'chalk';\nimport type { CommandModule } from 'yargs';\nimport { ensureConfig } from '../core/platform/config.js';\nimport { resolveProjectTarget, getAllTargetNames, resolveFromCwd } from '../core/worktree/resolve.js';\nimport { openBaseCheckout, setupWorktree } from '../core/worktree/worktree.js';\nimport { ownsBranch } from '../core/worktree/own-checkout.js';\nimport { findSession, loadHistory } from '../core/sessions/history.js';\nimport { clearLaunchedUnsafeWhenIdle } from '../core/sessions/legacy-unsafe-io.js';\nimport { retiredUnsafeOption, warnRetiredUnsafe } from './shared/retired-unsafe.js';\nimport { keepingWarnings } from '../core/platform/report.js';\nimport { SETUP_WARNINGS } from '../core/worktree/setup-child.js';\nimport { leftoversOf, openInLeftovers } from '../core/archive/restore-leftovers.js';\nimport { attachSession } from './shared/attach-session.js';\nimport { openVSCode, launchAi } from '../core/platform/launch.js';\nimport { envArgs } from '../core/platform/env-delta.js';\nimport { parseBaseSpec, isEmptyBaseSpec, BaseSpecError } from '../core/git/base-spec.js';\nimport { resolvePrToStart } from '../core/pr/pr-start.js';\nimport { workOnPrPrompt } from '../core/pr/pr-ref.js';\n\nexport const treeCommand: CommandModule = {\n command: ['tree [target] [branch]', 't [target] [branch]'],\n describe: 'Create or switch to a worktree and launch the configured AI tool',\n builder: (yargs) =>\n yargs\n .showHelpOnFail(true)\n .positional('target', {\n describe: 'Project alias or group name',\n type: 'string',\n })\n .positional('branch', {\n describe: 'Branch name (e.g., feature/login). Omit to work on the base repo.',\n type: 'string',\n })\n .option('here', {\n describe: 'Infer target and branch from the current worktree directory',\n type: 'boolean',\n default: false,\n })\n .option('open', {\n describe: 'Open VS Code in the worktree after creation',\n type: 'boolean',\n default: false,\n })\n .option('unsafe', retiredUnsafeOption)\n .option('pull', {\n describe: 'Pull latest changes when switching into an existing worktree or the base repo. Use --no-pull to skip.',\n type: 'boolean',\n default: true,\n })\n .option('host', {\n describe:\n 'Run the AI session in the PTY host and attach this terminal to it (the default): it survives closing the tab, shows in `work web` — the same screen there and here — and restores after a reboot. Ctrl+] detaches. --no-host (or config `launchViaHost: false`) launches directly in this terminal instead.',\n type: 'boolean',\n })\n .option('fresh', {\n describe: 'Start a new AI conversation instead of continuing the previous one for this directory',\n type: 'boolean',\n default: false,\n })\n .option('base', {\n describe:\n 'Base branch to fork from instead of HEAD. Repeatable. Use a bare branch (--base dev) for all repos, or alias=branch (--base backend=dev --base frontend=feat/x) for per-repo bases in a group.',\n type: 'string',\n })\n .option('prompt', {\n describe: 'Initial prompt to send to the AI tool on startup',\n type: 'string',\n })\n .option('prompt-file', {\n describe: 'File containing the initial prompt (deleted after reading)',\n type: 'string',\n })\n .option('pr', {\n describe:\n \"Work on a pull request, on its branch (what you push lands in it): its link, or its number with <target>. Someone else's too; not one from a fork\",\n type: 'string',\n })\n .option('name', {\n describe: 'Name the session (shown instead of the branch; rename later with F2 in the dashboard)',\n type: 'string',\n })\n .option('account', {\n describe:\n 'The Claude account a new session runs on (a name from `work account list`; default: the configured default). An existing session keeps its own.',\n type: 'string',\n })\n .option('issue-key', {\n describe: 'Link a Jira issue key to this worktree session',\n type: 'string',\n hidden: true,\n })\n .option('repos', {\n describe: \"A new session's repos (comma-separated aliases) instead of its group's: made as a session folder (used by Fork…)\",\n type: 'string',\n hidden: true,\n })\n .option('setup-only', {\n describe: 'Create worktree without launching the AI tool (used by dashboard)',\n type: 'boolean',\n default: false,\n hidden: true,\n }),\n handler: async (argv) => {\n let targetName = argv.target as string | undefined;\n let branchName = argv.branch as string | undefined;\n const here = argv.here as boolean;\n const open = argv.open as boolean;\n warnRetiredUnsafe(argv);\n const pull = argv.pull as boolean;\n const fresh = argv.fresh as boolean;\n const setupOnly = argv['setup-only'] as boolean;\n let baseSpec;\n try {\n baseSpec = parseBaseSpec(argv.base as string | string[] | undefined);\n } catch (err) {\n if (err instanceof BaseSpecError) {\n console.error(err.message);\n process.exitCode = 1;\n return;\n }\n throw err;\n }\n const issueKey = argv['issue-key'] as string | undefined;\n const account = argv.account as string | undefined;\n const promptFile = argv['prompt-file'] as string | undefined;\n let initialPrompt = argv.prompt as string | undefined;\n\n // --prompt-file takes precedence: read and delete the temp file\n if (promptFile) {\n try {\n initialPrompt = fs.readFileSync(promptFile, 'utf-8');\n fs.unlinkSync(promptFile);\n } catch {\n // ignore — fall through to --prompt or no prompt\n }\n }\n\n const config = ensureConfig();\n // Via the host unless told otherwise: one Claude that the terminal and\n // the dashboard both show. A direct launch is invisible to work web.\n const viaHost = (argv.host as boolean | undefined) ?? config.launchViaHost ?? true;\n\n /**\n * Launch the AI tool, continuing the previous conversation for this\n * directory when there is one. `--continue` errors out (\"No conversation\n * found to continue\") in a directory the tool has never run in, so the flag\n * is gated on an existing transcript.\n */\n const launchTool = async (dir: string, port: number | undefined, sessionKey: { target: string; branch: string }): Promise<void> => {\n if (viaHost) {\n const session = findSession(loadHistory(), sessionKey.target, sessionKey.branch);\n if (session) {\n // The host decides --continue itself (the agent's own canResume\n // gate); `fresh` and the prompt ride along on the first spawn.\n process.exitCode = await attachSession(session, {\n fresh,\n initialPrompt,\n forwardEnv: true,\n });\n return;\n }\n console.log(chalk.yellow('Session not found in history — launching directly instead of via the PTY host.'));\n }\n // The session's agent: what to run, and whether it can resume here.\n const own = findSession(loadHistory(), sessionKey.target, sessionKey.branch);\n const agent = agentFor(config, own);\n const tool = agent.launch.tool(config);\n // The session's account: its conversations are in that account's folder, and the agent starts on it.\n const resume = !fresh && agent.launch.canResume(dir, { session: own });\n if (resume) {\n console.log(chalk.gray(`Continuing the previous ${tool.cmd} conversation (--fresh starts a new one).`));\n }\n // Started normally now: a launchedUnsafe from before the retirement no longer describes it — unless that agent\n // still runs in another terminal, which keeps the flag and its guards (legacy-unsafe.ts; remove next release).\n clearLaunchedUnsafeWhenIdle(sessionKey.target, sessionKey.branch);\n trustAgentFolder(agent, own ?? null, dir);\n console.log(`Starting ${tool.cmd}...`);\n // With work's hooks for this process (--settings), never the user's settings' (agents/session-hooks.ts).\n launchAi(dir, sessionToolFor(tool), { initialPrompt, resume }, port, ...envArgs(agent.launch.env?.(own ?? null)));\n };\n\n // --pr: the PR's repo and branch, and a first prompt saying whose branch it is.\n const prArg = argv.pr as string | undefined;\n if (prArg !== undefined) {\n if (branchName || here || !isEmptyBaseSpec(baseSpec)) {\n console.error(\"--pr takes the PR's own branch: don't combine it with a branch, --here or --base.\");\n process.exitCode = 1;\n return;\n }\n const found = await resolvePrToStart(prArg, config, targetName);\n if (!found.ok) {\n console.error(found.error);\n process.exitCode = 1;\n return;\n }\n targetName = found.pr.alias;\n branchName = found.pr.branch;\n // The PR's context goes to a new session only (with your --prompt as what to do): back in\n // one, your --prompt goes as it is, and nothing re-sends the first message.\n if (!findSession(loadHistory(), targetName, branchName)) initialPrompt = workOnPrPrompt(found.pr, initialPrompt);\n console.log(\n chalk.cyan(`PR #${found.pr.number} by @${found.pr.author || '?'}: ${found.pr.title}, on its branch ${branchName} in ${targetName}`),\n );\n }\n\n // --here: infer target and branch from the current worktree directory\n if (here) {\n if (targetName) {\n console.error('Cannot combine --here with an explicit target.');\n process.exitCode = 1;\n return;\n }\n const inferred = resolveFromCwd(config, process.cwd(), loadHistory());\n if ('error' in inferred) {\n console.error(inferred.error);\n process.exitCode = 1;\n return;\n }\n targetName = inferred.target;\n branchName = inferred.isBaseRepo ? undefined : inferred.branch;\n console.log(chalk.cyan(`Resolved from current directory: ${targetName}${branchName ? ' @ ' + branchName : ' (base repo)'}`));\n } else if (!targetName) {\n console.error('Specify a target, or use --here to infer it from the current directory.');\n process.exitCode = 1;\n return;\n }\n\n // --base requires a branch name\n if (!isEmptyBaseSpec(baseSpec) && !branchName) {\n console.error('--base requires a branch name');\n console.log(chalk.yellow(`Usage: work tree ${targetName} <branch> --base <base>`));\n process.exitCode = 1;\n return;\n }\n\n // Resolve project target (for validation and base-repo handling)\n const target = resolveProjectTarget(targetName, config);\n if (!target) {\n const allNames = getAllTargetNames(config);\n console.error(`Project or group not found: ${targetName}`);\n console.log(chalk.yellow(`Available: ${allNames.join(', ')}`));\n console.log(chalk.yellow('Add a new project with: work config add <alias> <path>'));\n process.exitCode = 1;\n return;\n }\n\n // The branch the repo's own folder is on can't be checked out a second time: asking for it means that folder.\n if (branchName && isEmptyBaseSpec(baseSpec) && !target.isGroup && ownsBranch(targetName, branchName, config)) {\n console.log(chalk.gray(`${branchName} is the branch ${targetName}'s own folder is on: opening it there.`));\n branchName = undefined;\n }\n\n // No branch specified — work directly on the base repo\n if (!branchName) {\n if (target.isGroup) {\n console.error('Branch is required for group targets.');\n console.log(chalk.yellow(`Usage: work tree ${targetName} <branch>`));\n process.exitCode = 1;\n return;\n }\n\n console.log(chalk.cyan(`Working on base repo: ${targetName}`));\n const opened = await openBaseCheckout(targetName, config, {\n pull,\n issueKey,\n name: typeof argv.name === 'string' ? argv.name : undefined,\n account,\n });\n if (!opened.ok) {\n console.error(opened.error);\n process.exitCode = 1;\n return;\n }\n const { repoPath, branch: currentBranch } = opened;\n console.log(`Repo path: ${repoPath}`);\n if (opened.dropped.length) console.log(chalk.gray(`Replaced older entries for this checkout: ${opened.dropped.join(', ')}`));\n\n if (open) openVSCode(repoPath);\n if (!setupOnly) await launchTool(repoPath, undefined, { target: targetName, branch: currentBranch });\n return;\n }\n\n // Create/switch worktree via shared core logic\n const repos =\n typeof argv.repos === 'string'\n ? argv.repos\n .split(',')\n .map((a) => a.trim())\n .filter(Boolean)\n : [];\n const { value: result, warnings } = await keepingWarnings(() =>\n setupWorktree(targetName, branchName, config, baseSpec, issueKey, {\n pull,\n name: argv.name as string | undefined,\n ...(account ? { account } : {}),\n ...(repos.length ? { repos } : {}),\n }),\n );\n if (!result) {\n // Run by you (not work web's child, whose route says it): what keeps the old folder in use, by name.\n const left = setupOnly ? [] : leftoversOf(findSession(loadHistory(), targetName, branchName)?.paths ?? []);\n const open = await openInLeftovers(left);\n if (open.length) console.error(chalk.yellow(`Still open in its old folder: ${open.join(', ')}. Stop it and try again.`));\n process.exitCode = 1;\n return;\n }\n\n if (open) {\n for (const p of result.paths) {\n openVSCode(p);\n }\n }\n\n console.log(`Worktree path: ${result.launchDir}`);\n // work web's child: what it warned about, for the dashboard (it reads only this line).\n if (setupOnly) console.log(`${SETUP_WARNINGS}${JSON.stringify(warnings)}`);\n if (!setupOnly) {\n await launchTool(result.launchDir, result.port, { target: targetName, branch: branchName });\n }\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;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,QAAQ;AAEX,YAAM,OAAO,YAAY,CAAC,IAAI,YAAY,YAAY,YAAY,GAAG,YAAY,UAAU,GAAG,SAAS,CAAC,CAAC;AACzG,YAAMA,QAAO,MAAM,gBAAgB,IAAI;AACvC,UAAIA,MAAK,OAAQ,SAAQ,MAAM,MAAM,OAAO,iCAAiCA,MAAK,KAAK,IAAI,CAAC,0BAA0B,CAAC;AACvH,cAAQ,WAAW;AACnB;AAAA,IACF;AAEA,QAAI,MAAM;AACR,iBAAW,KAAK,OAAO,OAAO;AAC5B,mBAAW,CAAC;AAAA,MACd;AAAA,IACF;AAEA,YAAQ,IAAI,kBAAkB,OAAO,SAAS,EAAE;AAEhD,QAAI,UAAW,SAAQ,IAAI,GAAG,cAAc,GAAG,KAAK,UAAU,QAAQ,CAAC,EAAE;AACzE,QAAI,CAAC,WAAW;AACd,YAAM,WAAW,OAAO,WAAW,OAAO,MAAM,EAAE,QAAQ,YAAY,QAAQ,WAAW,CAAC;AAAA,IAC5F;AAAA,EACF;AACF;","names":["open"]}
@@ -1,41 +1,41 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  updateSession
4
- } from "./chunk-B2WV5RAL.js";
5
- import "./chunk-6Y3VLCKA.js";
4
+ } from "./chunk-ETAPX4JN.js";
5
+ import "./chunk-BI7HIO2I.js";
6
6
  import {
7
7
  sessionFromArgs,
8
8
  sessionPositionals
9
- } from "./chunk-ZO7TF5OL.js";
9
+ } from "./chunk-GHY7GZWN.js";
10
10
  import "./chunk-6AQRYLOB.js";
11
- import "./chunk-LV5JRLBM.js";
11
+ import "./chunk-ZMJR4Z6O.js";
12
12
  import "./chunk-ZSHWP2VS.js";
13
13
  import "./chunk-UPS7NHKI.js";
14
14
  import "./chunk-HUXS3VAI.js";
15
- import "./chunk-AIYZJ7XD.js";
16
- import "./chunk-Z4FWXDJG.js";
17
- import "./chunk-NOQA7MJ4.js";
15
+ import "./chunk-N7T6NPE2.js";
16
+ import "./chunk-VH5FRKJM.js";
17
+ import "./chunk-U2A2DHWP.js";
18
18
  import "./chunk-FGPXMAYU.js";
19
19
  import "./chunk-MJIYIMPI.js";
20
20
  import "./chunk-GNIYYXQX.js";
21
21
  import "./chunk-T5GJVUSL.js";
22
22
  import "./chunk-XBWS77S2.js";
23
23
  import "./chunk-4CXUVBOD.js";
24
- import "./chunk-AITL3JYB.js";
24
+ import "./chunk-HUWWMTNG.js";
25
25
  import "./chunk-NEJVK5CF.js";
26
26
  import "./chunk-QGUBOOEN.js";
27
- import "./chunk-KQMHGEI2.js";
27
+ import "./chunk-NWKVTUTN.js";
28
28
  import "./chunk-KGHWHAVF.js";
29
- import "./chunk-FGBLFF4O.js";
29
+ import "./chunk-BMPTUIP4.js";
30
30
  import "./chunk-ED6YLB4S.js";
31
31
  import "./chunk-Z6ACV5ZQ.js";
32
32
  import "./chunk-JUGF3YE7.js";
33
33
  import "./chunk-HK6AZQ5Z.js";
34
- import "./chunk-HI674QZF.js";
35
- import "./chunk-3ZPVKUYD.js";
36
- import "./chunk-W4GDPHIF.js";
34
+ import "./chunk-XIN6XUFL.js";
35
+ import "./chunk-ETWP7MDS.js";
36
+ import "./chunk-7ZATXG5F.js";
37
37
  import "./chunk-BR6OWWAA.js";
38
- import "./chunk-VHENFC2S.js";
38
+ import "./chunk-M2X6OHHR.js";
39
39
  import "./chunk-QOSAWNOU.js";
40
40
  import "./chunk-D2J3AD6L.js";
41
41
  import "./chunk-5ZCCUM75.js";
@@ -75,4 +75,4 @@ var updateCommand = {
75
75
  export {
76
76
  updateCommand
77
77
  };
78
- //# sourceMappingURL=update-RGNKMRUL.js.map
78
+ //# sourceMappingURL=update-CMYVBWV3.js.map
@@ -4,29 +4,29 @@ import {
4
4
  realUsageDeps,
5
5
  refreshUsage,
6
6
  restoreAgentUsage
7
- } from "./chunk-G4T2HGLJ.js";
8
- import "./chunk-EA4C6TVY.js";
7
+ } from "./chunk-4HQEYZIM.js";
8
+ import "./chunk-IVS2MAHD.js";
9
9
  import {
10
10
  formatTokens,
11
11
  resetPhrase
12
12
  } from "./chunk-LK7HJGUC.js";
13
- import "./chunk-AITL3JYB.js";
13
+ import "./chunk-HUWWMTNG.js";
14
14
  import "./chunk-NEJVK5CF.js";
15
15
  import "./chunk-QGUBOOEN.js";
16
16
  import {
17
17
  knownAgents
18
- } from "./chunk-KQMHGEI2.js";
18
+ } from "./chunk-NWKVTUTN.js";
19
19
  import "./chunk-KGHWHAVF.js";
20
- import "./chunk-FGBLFF4O.js";
20
+ import "./chunk-BMPTUIP4.js";
21
21
  import "./chunk-ED6YLB4S.js";
22
22
  import "./chunk-Z6ACV5ZQ.js";
23
23
  import "./chunk-JUGF3YE7.js";
24
24
  import "./chunk-HK6AZQ5Z.js";
25
- import "./chunk-HI674QZF.js";
26
- import "./chunk-3ZPVKUYD.js";
27
- import "./chunk-W4GDPHIF.js";
25
+ import "./chunk-XIN6XUFL.js";
26
+ import "./chunk-ETWP7MDS.js";
27
+ import "./chunk-7ZATXG5F.js";
28
28
  import "./chunk-BR6OWWAA.js";
29
- import "./chunk-VHENFC2S.js";
29
+ import "./chunk-M2X6OHHR.js";
30
30
  import "./chunk-QOSAWNOU.js";
31
31
  import "./chunk-D2J3AD6L.js";
32
32
  import "./chunk-5ZCCUM75.js";
@@ -91,4 +91,4 @@ export {
91
91
  usageCommand,
92
92
  usageLines
93
93
  };
94
- //# sourceMappingURL=usage-YZRZKJ3H.js.map
94
+ //# sourceMappingURL=usage-VEKD3JPL.js.map
@@ -13,8 +13,8 @@ import {
13
13
  accountEnv,
14
14
  isLoggedIn,
15
15
  setUpAccounts
16
- } from "./chunk-HI674QZF.js";
17
- import "./chunk-3ZPVKUYD.js";
16
+ } from "./chunk-XIN6XUFL.js";
17
+ import "./chunk-ETWP7MDS.js";
18
18
  import {
19
19
  accountOf,
20
20
  clampPercent,
@@ -173,4 +173,4 @@ export {
173
173
  parseUsageAnswer,
174
174
  resetUsageAsks
175
175
  };
176
- //# sourceMappingURL=usage-ask-BYPNLA2B.js.map
176
+ //# sourceMappingURL=usage-ask-V2SIRW4F.js.map
@@ -9,13 +9,13 @@ import {
9
9
  } from "./chunk-4CXUVBOD.js";
10
10
  import {
11
11
  READ_ONLY_MIN_VERSION
12
- } from "./chunk-FGBLFF4O.js";
12
+ } from "./chunk-BMPTUIP4.js";
13
13
  import "./chunk-ED6YLB4S.js";
14
- import "./chunk-HI674QZF.js";
15
- import "./chunk-3ZPVKUYD.js";
14
+ import "./chunk-XIN6XUFL.js";
15
+ import "./chunk-ETWP7MDS.js";
16
16
  import {
17
17
  killTreeAsync
18
- } from "./chunk-VHENFC2S.js";
18
+ } from "./chunk-M2X6OHHR.js";
19
19
  import {
20
20
  findOnPath,
21
21
  spawn_default
@@ -114,4 +114,4 @@ export {
114
114
  parseClaudeVersion,
115
115
  runVersion
116
116
  };
117
- //# sourceMappingURL=version-4IOMOIDP.js.map
117
+ //# sourceMappingURL=version-RJ4PCHPB.js.map