@moberg_hr/work-tree 2.12.0 → 2.12.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 (230) hide show
  1. package/dist/{account-V6GS7DII.js → account-H25RWDLL.js} +55 -19
  2. package/dist/account-H25RWDLL.js.map +1 -0
  3. package/dist/{add-repo-HG24PKHR.js → add-repo-6JP5XWPF.js} +10 -10
  4. package/dist/{answer-S3VZFV4N.js → answer-H3PTZZAX.js} +7 -7
  5. package/dist/{attach-RKIACTP2.js → attach-STMGUOI5.js} +14 -14
  6. package/dist/bin.js +2 -2
  7. package/dist/{block-UUK564QX.js → block-XJKNFMLV.js} +9 -9
  8. package/dist/{broadcast-73JJELJF.js → broadcast-RTFVOYTS.js} +5 -5
  9. package/dist/{catchup-JUEBM3QQ.js → catchup-4ANFB24Y.js} +10 -10
  10. package/dist/{chunk-CS5VPO7A.js → chunk-2KGZRG43.js} +4 -4
  11. package/dist/{chunk-552RUECR.js → chunk-2KL5MJIJ.js} +6 -6
  12. package/dist/{chunk-2KW4TFVP.js → chunk-2QIX5XDL.js} +2 -2
  13. package/dist/{chunk-HUX6XT2P.js → chunk-34DFG4E5.js} +3 -3
  14. package/dist/{chunk-NGHIFLCM.js → chunk-3DZR5LFG.js} +3 -3
  15. package/dist/{chunk-LN2DDJGG.js → chunk-3H5ZMSJT.js} +5 -5
  16. package/dist/{chunk-LYZQ6IKY.js → chunk-4IUSJXOY.js} +9 -9
  17. package/dist/{chunk-S4L6BURS.js → chunk-5DY4YW36.js} +2 -2
  18. package/dist/{chunk-LNRODEIP.js → chunk-6GNGPYL6.js} +2 -2
  19. package/dist/{chunk-QJZCTK25.js → chunk-7JNYJ6RL.js} +3 -3
  20. package/dist/{chunk-AORYYUMW.js → chunk-B7Q6K5EM.js} +2 -2
  21. package/dist/{chunk-GGYXNTEB.js → chunk-BLNWKPL7.js} +4 -4
  22. package/dist/{chunk-HXQYGI3R.js → chunk-BVBGCCXD.js} +51 -51
  23. package/dist/{chunk-6SRDHIAK.js → chunk-CP6W4MTM.js} +2 -2
  24. package/dist/{chunk-BMNH6B5U.js → chunk-CWQQCJKO.js} +4 -4
  25. package/dist/{chunk-KX75V4AT.js → chunk-D4FYTREI.js} +5 -5
  26. package/dist/{chunk-42MD5W5R.js → chunk-DQWZDA2E.js} +3 -3
  27. package/dist/{chunk-42MD5W5R.js.map → chunk-DQWZDA2E.js.map} +1 -1
  28. package/dist/{chunk-SQI5NYRZ.js → chunk-EL7CYYJF.js} +3 -3
  29. package/dist/{chunk-ZRY7AOET.js → chunk-FVGDOG5T.js} +4 -4
  30. package/dist/{chunk-QULZNML4.js → chunk-G5AAYK56.js} +2 -2
  31. package/dist/{chunk-SOOPR7HU.js → chunk-GBNEIQLL.js} +6 -6
  32. package/dist/{chunk-G6JZ3ZQI.js → chunk-GYR7P3V2.js} +2 -2
  33. package/dist/{chunk-4F2AH2LC.js → chunk-HVZAGQUV.js} +3 -3
  34. package/dist/{chunk-4GNX6CQ2.js → chunk-IIIAV6OD.js} +2 -2
  35. package/dist/{chunk-P6LDKZEY.js → chunk-ILF3BNIX.js} +3 -3
  36. package/dist/{chunk-NLSFJYU6.js → chunk-J4JORJBH.js} +4 -4
  37. package/dist/{chunk-4GPKT5A2.js → chunk-JJTEW3LB.js} +5 -5
  38. package/dist/{chunk-Y2RCCYRA.js → chunk-KMED3WHH.js} +2 -2
  39. package/dist/{chunk-52KXG5D3.js → chunk-KX4WF3XR.js} +6 -6
  40. package/dist/{chunk-2YTCAJT5.js → chunk-LFA2ACWM.js} +4 -4
  41. package/dist/{chunk-Z6B4ICOI.js → chunk-LQWNWPEO.js} +260 -38
  42. package/dist/chunk-LQWNWPEO.js.map +1 -0
  43. package/dist/{chunk-7LQTBAYP.js → chunk-MKHZFXGX.js} +2 -2
  44. package/dist/{chunk-KHGP6MS2.js → chunk-MOSPIQZF.js} +2 -2
  45. package/dist/chunk-MOSPIQZF.js.map +1 -0
  46. package/dist/{chunk-CLPCEQA2.js → chunk-MRE4WOHB.js} +5 -5
  47. package/dist/{chunk-SNUAISLX.js → chunk-MZFSW3VF.js} +2 -2
  48. package/dist/{chunk-M4NZ4UJA.js → chunk-N6QKAQ4V.js} +3 -3
  49. package/dist/{chunk-TW57JSKU.js → chunk-ONWG3PI5.js} +9 -9
  50. package/dist/{chunk-HHXVHUGP.js → chunk-PDOG3O4N.js} +3 -1
  51. package/dist/{chunk-5VV5IQC6.js → chunk-PUDJV2PE.js} +5 -5
  52. package/dist/{chunk-FFYYODXG.js → chunk-RECQAHC5.js} +2 -2
  53. package/dist/{chunk-AMEJQT64.js → chunk-RHQ5DWJQ.js} +3 -3
  54. package/dist/{chunk-MX3JVY64.js → chunk-RUN6ISZA.js} +2 -2
  55. package/dist/{chunk-UXL75FQC.js → chunk-T7RSU35I.js} +2 -2
  56. package/dist/{chunk-NDIAONVE.js → chunk-U55AFVHY.js} +3 -3
  57. package/dist/{chunk-6RVZYOED.js → chunk-VHPMBDOM.js} +4 -4
  58. package/dist/{chunk-7XT5MRJ2.js → chunk-VIBM55WP.js} +3 -3
  59. package/dist/{chunk-D7ZQNQOJ.js → chunk-VR53YKEJ.js} +4 -4
  60. package/dist/{chunk-3GCD3DAB.js → chunk-X3SDPWEE.js} +5 -5
  61. package/dist/{chunk-XXKEL6JG.js → chunk-XHIL6L5U.js} +7 -7
  62. package/dist/{chunk-WIJO2LYS.js → chunk-XQ2CNRYH.js} +2 -2
  63. package/dist/{chunk-6Q4PTZ3J.js → chunk-XT2VC2OW.js} +2 -2
  64. package/dist/{chunk-JVG4U3LK.js → chunk-YDXRZ5SD.js} +3 -3
  65. package/dist/{chunk-YWB42FW6.js → chunk-YF4MPWTZ.js} +3 -3
  66. package/dist/chunk-ZG5B4RRH.js +9 -0
  67. package/dist/{cleanup-5DPCUQJQ.js → cleanup-K2QJM4DG.js} +27 -27
  68. package/dist/{cli-IELHMGEY.js → cli-PDSM3JJN.js} +3 -3
  69. package/dist/{config-E6ORLTCE.js → config-KXMYBBR2.js} +7 -7
  70. package/dist/{diff-DQFERMIX.js → diff-YE4NJ3ZF.js} +8 -8
  71. package/dist/{digest-ALSU7EYK.js → digest-HHN5ZHPV.js} +7 -7
  72. package/dist/{fork-NY4QWSPG.js → fork-WBVQ64NR.js} +24 -24
  73. package/dist/{history-JY54YEZX.js → history-HDGGYOZK.js} +5 -5
  74. package/dist/{hook-7Q53RMB2.js → hook-6QS5OPM6.js} +9 -9
  75. package/dist/{hydrate-PV3F3QEI.js → hydrate-LNFOMIY4.js} +5 -5
  76. package/dist/{init-OH6UWFOJ.js → init-YKVXA7HB.js} +10 -10
  77. package/dist/{install-skills-7DE3ADWA.js → install-skills-O3X5SQP7.js} +5 -5
  78. package/dist/install-skills-bin.js +4 -4
  79. package/dist/{keep-H5VWXD2E.js → keep-IWCSOV3Y.js} +7 -7
  80. package/dist/{list-7OTXLACR.js → list-6WP3AWGR.js} +5 -5
  81. package/dist/{move-UOKARORU.js → move-YD6J4BEI.js} +13 -13
  82. package/dist/{note-2BW5MIC6.js → note-X2FOVB5E.js} +7 -7
  83. package/dist/{overlaps-UHF6XJML.js → overlaps-EXDYGDL6.js} +11 -11
  84. package/dist/{pin-GP6BZYYM.js → pin-IOV7TXP2.js} +7 -7
  85. package/dist/{pr-F5PWLPUU.js → pr-J6MQ37D2.js} +18 -18
  86. package/dist/{prune-ISXTZRRM.js → prune-B47MCBAQ.js} +25 -25
  87. package/dist/{pty-host-IKZRLX3W.js → pty-host-4YJMGVXO.js} +12 -12
  88. package/dist/{read-ARVCB7A2.js → read-JAIM2DYY.js} +7 -7
  89. package/dist/{recent-NZMHV2NQ.js → recent-XNVY5UVF.js} +12 -12
  90. package/dist/{remove-NCWMZUDU.js → remove-SBTYBMEX.js} +26 -26
  91. package/dist/{restart-QQEWWBSM.js → restart-QO7UT3BS.js} +7 -7
  92. package/dist/{resume-V4P7XAT2.js → resume-SEN6WIHS.js} +12 -12
  93. package/dist/{run-M4RWGT2R.js → run-RTYE6K3I.js} +5 -5
  94. package/dist/{screen-KCVCST6K.js → screen-N2TLCEUU.js} +7 -7
  95. package/dist/{search-BRKX3NF5.js → search-D5ECXHUE.js} +5 -5
  96. package/dist/{section-272JIEIG.js → section-4L3EIRIA.js} +7 -7
  97. package/dist/{send-4LFQLZR3.js → send-MGIL5V3H.js} +8 -8
  98. package/dist/{sessions-Y7JJHAVI.js → sessions-2OK2D7NT.js} +22 -22
  99. package/dist/{snooze-LJ3INJ47.js → snooze-IYRTDL3T.js} +7 -7
  100. package/dist/{start-MULJ7JIP.js → start-5LZ7YZGK.js} +7 -7
  101. package/dist/{status-Q4ZX37RP.js → status-AXM4QWC5.js} +9 -9
  102. package/dist/{statusline-MIFW47UA.js → statusline-OU4LKQQD.js} +2 -2
  103. package/dist/{stop-CBCMLFNH.js → stop-RB5PF5I6.js} +7 -7
  104. package/dist/{sync-IYFBEFQX.js → sync-RRDTJ7S6.js} +25 -25
  105. package/dist/{time-WSCPEGQC.js → time-INJY7DSM.js} +8 -8
  106. package/dist/{timesheet-6W6OPPVP.js → timesheet-TPXVMNSL.js} +10 -10
  107. package/dist/{tree-32OEZDDU.js → tree-6OE7SYA2.js} +24 -24
  108. package/dist/{update-JQSKHI47.js → update-YMDG7O3M.js} +13 -13
  109. package/dist/{usage-5BOIIANY.js → usage-U3VFDLZD.js} +7 -7
  110. package/dist/{version-4S7I7GHM.js → version-B5PGYRJS.js} +3 -3
  111. package/dist/{wait-I3I35CV6.js → wait-G7OYEH7U.js} +8 -8
  112. package/dist/wd-bin.js +2 -2
  113. package/dist/web/assets/{PtyView-BLYE_3wP.js → PtyView-DC7FyzKJ.js} +2 -2
  114. package/dist/web/assets/{PtyView-BLYE_3wP.js.map → PtyView-DC7FyzKJ.js.map} +1 -1
  115. package/dist/web/assets/{index-I3G9prc8.css → index-BGsdgBN7.css} +1 -1
  116. package/dist/web/assets/index-qy9AXQPg.js +126 -0
  117. package/dist/web/assets/index-qy9AXQPg.js.map +1 -0
  118. package/dist/web/index.html +2 -2
  119. package/dist/{web-JBDK5WWW.js → web-E657YMOA.js} +116 -60
  120. package/dist/web-E657YMOA.js.map +1 -0
  121. package/npm-shrinkwrap.json +2 -2
  122. package/package.json +1 -1
  123. package/dist/account-V6GS7DII.js.map +0 -1
  124. package/dist/chunk-G7OFGBLT.js +0 -9
  125. package/dist/chunk-KHGP6MS2.js.map +0 -1
  126. package/dist/chunk-Z6B4ICOI.js.map +0 -1
  127. package/dist/web/assets/index-k8sUbiKa.js +0 -126
  128. package/dist/web/assets/index-k8sUbiKa.js.map +0 -1
  129. package/dist/web-JBDK5WWW.js.map +0 -1
  130. /package/dist/{add-repo-HG24PKHR.js.map → add-repo-6JP5XWPF.js.map} +0 -0
  131. /package/dist/{answer-S3VZFV4N.js.map → answer-H3PTZZAX.js.map} +0 -0
  132. /package/dist/{attach-RKIACTP2.js.map → attach-STMGUOI5.js.map} +0 -0
  133. /package/dist/{block-UUK564QX.js.map → block-XJKNFMLV.js.map} +0 -0
  134. /package/dist/{broadcast-73JJELJF.js.map → broadcast-RTFVOYTS.js.map} +0 -0
  135. /package/dist/{catchup-JUEBM3QQ.js.map → catchup-4ANFB24Y.js.map} +0 -0
  136. /package/dist/{chunk-CS5VPO7A.js.map → chunk-2KGZRG43.js.map} +0 -0
  137. /package/dist/{chunk-552RUECR.js.map → chunk-2KL5MJIJ.js.map} +0 -0
  138. /package/dist/{chunk-2KW4TFVP.js.map → chunk-2QIX5XDL.js.map} +0 -0
  139. /package/dist/{chunk-HUX6XT2P.js.map → chunk-34DFG4E5.js.map} +0 -0
  140. /package/dist/{chunk-NGHIFLCM.js.map → chunk-3DZR5LFG.js.map} +0 -0
  141. /package/dist/{chunk-LN2DDJGG.js.map → chunk-3H5ZMSJT.js.map} +0 -0
  142. /package/dist/{chunk-LYZQ6IKY.js.map → chunk-4IUSJXOY.js.map} +0 -0
  143. /package/dist/{chunk-S4L6BURS.js.map → chunk-5DY4YW36.js.map} +0 -0
  144. /package/dist/{chunk-LNRODEIP.js.map → chunk-6GNGPYL6.js.map} +0 -0
  145. /package/dist/{chunk-QJZCTK25.js.map → chunk-7JNYJ6RL.js.map} +0 -0
  146. /package/dist/{chunk-AORYYUMW.js.map → chunk-B7Q6K5EM.js.map} +0 -0
  147. /package/dist/{chunk-GGYXNTEB.js.map → chunk-BLNWKPL7.js.map} +0 -0
  148. /package/dist/{chunk-HXQYGI3R.js.map → chunk-BVBGCCXD.js.map} +0 -0
  149. /package/dist/{chunk-6SRDHIAK.js.map → chunk-CP6W4MTM.js.map} +0 -0
  150. /package/dist/{chunk-BMNH6B5U.js.map → chunk-CWQQCJKO.js.map} +0 -0
  151. /package/dist/{chunk-KX75V4AT.js.map → chunk-D4FYTREI.js.map} +0 -0
  152. /package/dist/{chunk-SQI5NYRZ.js.map → chunk-EL7CYYJF.js.map} +0 -0
  153. /package/dist/{chunk-ZRY7AOET.js.map → chunk-FVGDOG5T.js.map} +0 -0
  154. /package/dist/{chunk-QULZNML4.js.map → chunk-G5AAYK56.js.map} +0 -0
  155. /package/dist/{chunk-SOOPR7HU.js.map → chunk-GBNEIQLL.js.map} +0 -0
  156. /package/dist/{chunk-G6JZ3ZQI.js.map → chunk-GYR7P3V2.js.map} +0 -0
  157. /package/dist/{chunk-4F2AH2LC.js.map → chunk-HVZAGQUV.js.map} +0 -0
  158. /package/dist/{chunk-4GNX6CQ2.js.map → chunk-IIIAV6OD.js.map} +0 -0
  159. /package/dist/{chunk-P6LDKZEY.js.map → chunk-ILF3BNIX.js.map} +0 -0
  160. /package/dist/{chunk-NLSFJYU6.js.map → chunk-J4JORJBH.js.map} +0 -0
  161. /package/dist/{chunk-4GPKT5A2.js.map → chunk-JJTEW3LB.js.map} +0 -0
  162. /package/dist/{chunk-Y2RCCYRA.js.map → chunk-KMED3WHH.js.map} +0 -0
  163. /package/dist/{chunk-52KXG5D3.js.map → chunk-KX4WF3XR.js.map} +0 -0
  164. /package/dist/{chunk-2YTCAJT5.js.map → chunk-LFA2ACWM.js.map} +0 -0
  165. /package/dist/{chunk-7LQTBAYP.js.map → chunk-MKHZFXGX.js.map} +0 -0
  166. /package/dist/{chunk-CLPCEQA2.js.map → chunk-MRE4WOHB.js.map} +0 -0
  167. /package/dist/{chunk-SNUAISLX.js.map → chunk-MZFSW3VF.js.map} +0 -0
  168. /package/dist/{chunk-M4NZ4UJA.js.map → chunk-N6QKAQ4V.js.map} +0 -0
  169. /package/dist/{chunk-TW57JSKU.js.map → chunk-ONWG3PI5.js.map} +0 -0
  170. /package/dist/{chunk-HHXVHUGP.js.map → chunk-PDOG3O4N.js.map} +0 -0
  171. /package/dist/{chunk-5VV5IQC6.js.map → chunk-PUDJV2PE.js.map} +0 -0
  172. /package/dist/{chunk-FFYYODXG.js.map → chunk-RECQAHC5.js.map} +0 -0
  173. /package/dist/{chunk-AMEJQT64.js.map → chunk-RHQ5DWJQ.js.map} +0 -0
  174. /package/dist/{chunk-MX3JVY64.js.map → chunk-RUN6ISZA.js.map} +0 -0
  175. /package/dist/{chunk-UXL75FQC.js.map → chunk-T7RSU35I.js.map} +0 -0
  176. /package/dist/{chunk-NDIAONVE.js.map → chunk-U55AFVHY.js.map} +0 -0
  177. /package/dist/{chunk-6RVZYOED.js.map → chunk-VHPMBDOM.js.map} +0 -0
  178. /package/dist/{chunk-7XT5MRJ2.js.map → chunk-VIBM55WP.js.map} +0 -0
  179. /package/dist/{chunk-D7ZQNQOJ.js.map → chunk-VR53YKEJ.js.map} +0 -0
  180. /package/dist/{chunk-3GCD3DAB.js.map → chunk-X3SDPWEE.js.map} +0 -0
  181. /package/dist/{chunk-XXKEL6JG.js.map → chunk-XHIL6L5U.js.map} +0 -0
  182. /package/dist/{chunk-WIJO2LYS.js.map → chunk-XQ2CNRYH.js.map} +0 -0
  183. /package/dist/{chunk-6Q4PTZ3J.js.map → chunk-XT2VC2OW.js.map} +0 -0
  184. /package/dist/{chunk-JVG4U3LK.js.map → chunk-YDXRZ5SD.js.map} +0 -0
  185. /package/dist/{chunk-YWB42FW6.js.map → chunk-YF4MPWTZ.js.map} +0 -0
  186. /package/dist/{chunk-G7OFGBLT.js.map → chunk-ZG5B4RRH.js.map} +0 -0
  187. /package/dist/{cleanup-5DPCUQJQ.js.map → cleanup-K2QJM4DG.js.map} +0 -0
  188. /package/dist/{cli-IELHMGEY.js.map → cli-PDSM3JJN.js.map} +0 -0
  189. /package/dist/{config-E6ORLTCE.js.map → config-KXMYBBR2.js.map} +0 -0
  190. /package/dist/{diff-DQFERMIX.js.map → diff-YE4NJ3ZF.js.map} +0 -0
  191. /package/dist/{digest-ALSU7EYK.js.map → digest-HHN5ZHPV.js.map} +0 -0
  192. /package/dist/{fork-NY4QWSPG.js.map → fork-WBVQ64NR.js.map} +0 -0
  193. /package/dist/{history-JY54YEZX.js.map → history-HDGGYOZK.js.map} +0 -0
  194. /package/dist/{hook-7Q53RMB2.js.map → hook-6QS5OPM6.js.map} +0 -0
  195. /package/dist/{hydrate-PV3F3QEI.js.map → hydrate-LNFOMIY4.js.map} +0 -0
  196. /package/dist/{init-OH6UWFOJ.js.map → init-YKVXA7HB.js.map} +0 -0
  197. /package/dist/{install-skills-7DE3ADWA.js.map → install-skills-O3X5SQP7.js.map} +0 -0
  198. /package/dist/{keep-H5VWXD2E.js.map → keep-IWCSOV3Y.js.map} +0 -0
  199. /package/dist/{list-7OTXLACR.js.map → list-6WP3AWGR.js.map} +0 -0
  200. /package/dist/{move-UOKARORU.js.map → move-YD6J4BEI.js.map} +0 -0
  201. /package/dist/{note-2BW5MIC6.js.map → note-X2FOVB5E.js.map} +0 -0
  202. /package/dist/{overlaps-UHF6XJML.js.map → overlaps-EXDYGDL6.js.map} +0 -0
  203. /package/dist/{pin-GP6BZYYM.js.map → pin-IOV7TXP2.js.map} +0 -0
  204. /package/dist/{pr-F5PWLPUU.js.map → pr-J6MQ37D2.js.map} +0 -0
  205. /package/dist/{prune-ISXTZRRM.js.map → prune-B47MCBAQ.js.map} +0 -0
  206. /package/dist/{pty-host-IKZRLX3W.js.map → pty-host-4YJMGVXO.js.map} +0 -0
  207. /package/dist/{read-ARVCB7A2.js.map → read-JAIM2DYY.js.map} +0 -0
  208. /package/dist/{recent-NZMHV2NQ.js.map → recent-XNVY5UVF.js.map} +0 -0
  209. /package/dist/{remove-NCWMZUDU.js.map → remove-SBTYBMEX.js.map} +0 -0
  210. /package/dist/{restart-QQEWWBSM.js.map → restart-QO7UT3BS.js.map} +0 -0
  211. /package/dist/{resume-V4P7XAT2.js.map → resume-SEN6WIHS.js.map} +0 -0
  212. /package/dist/{run-M4RWGT2R.js.map → run-RTYE6K3I.js.map} +0 -0
  213. /package/dist/{screen-KCVCST6K.js.map → screen-N2TLCEUU.js.map} +0 -0
  214. /package/dist/{search-BRKX3NF5.js.map → search-D5ECXHUE.js.map} +0 -0
  215. /package/dist/{section-272JIEIG.js.map → section-4L3EIRIA.js.map} +0 -0
  216. /package/dist/{send-4LFQLZR3.js.map → send-MGIL5V3H.js.map} +0 -0
  217. /package/dist/{sessions-Y7JJHAVI.js.map → sessions-2OK2D7NT.js.map} +0 -0
  218. /package/dist/{snooze-LJ3INJ47.js.map → snooze-IYRTDL3T.js.map} +0 -0
  219. /package/dist/{start-MULJ7JIP.js.map → start-5LZ7YZGK.js.map} +0 -0
  220. /package/dist/{status-Q4ZX37RP.js.map → status-AXM4QWC5.js.map} +0 -0
  221. /package/dist/{statusline-MIFW47UA.js.map → statusline-OU4LKQQD.js.map} +0 -0
  222. /package/dist/{stop-CBCMLFNH.js.map → stop-RB5PF5I6.js.map} +0 -0
  223. /package/dist/{sync-IYFBEFQX.js.map → sync-RRDTJ7S6.js.map} +0 -0
  224. /package/dist/{time-WSCPEGQC.js.map → time-INJY7DSM.js.map} +0 -0
  225. /package/dist/{timesheet-6W6OPPVP.js.map → timesheet-TPXVMNSL.js.map} +0 -0
  226. /package/dist/{tree-32OEZDDU.js.map → tree-6OE7SYA2.js.map} +0 -0
  227. /package/dist/{update-JQSKHI47.js.map → update-YMDG7O3M.js.map} +0 -0
  228. /package/dist/{usage-5BOIIANY.js.map → usage-U3VFDLZD.js.map} +0 -0
  229. /package/dist/{version-4S7I7GHM.js.map → version-B5PGYRJS.js.map} +0 -0
  230. /package/dist/{wait-I3I35CV6.js.map → wait-G7OYEH7U.js.map} +0 -0
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-ZSHWP2VS.js";
10
10
  import {
11
11
  loadHistory
12
- } from "./chunk-KHGP6MS2.js";
12
+ } from "./chunk-MOSPIQZF.js";
13
13
  import {
14
14
  sessionIdFor,
15
15
  tx,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-RRNIJ7YO.js";
18
18
  import {
19
19
  checkedOutBranch
20
- } from "./chunk-Z6B4ICOI.js";
20
+ } from "./chunk-LQWNWPEO.js";
21
21
 
22
22
  // src/core/comments/pending-delivery.ts
23
23
  import fs from "fs";
@@ -186,4 +186,4 @@ export {
186
186
  claimForDelivery,
187
187
  formatPendingForPrompt
188
188
  };
189
- //# sourceMappingURL=chunk-P6LDKZEY.js.map
189
+ //# sourceMappingURL=chunk-ILF3BNIX.js.map
@@ -6,7 +6,7 @@ import {
6
6
  noteBranchFacts,
7
7
  readSessionBranches,
8
8
  repoNameOf
9
- } from "./chunk-UXL75FQC.js";
9
+ } from "./chunk-T7RSU35I.js";
10
10
  import {
11
11
  defaultRunner
12
12
  } from "./chunk-MKQ7IA6U.js";
@@ -14,13 +14,13 @@ import {
14
14
  bestEffort,
15
15
  logSwallowed,
16
16
  stageOfPr
17
- } from "./chunk-KHGP6MS2.js";
17
+ } from "./chunk-MOSPIQZF.js";
18
18
  import {
19
19
  sessionIdFor
20
20
  } from "./chunk-RRNIJ7YO.js";
21
21
  import {
22
22
  checkedOutBranch
23
- } from "./chunk-Z6B4ICOI.js";
23
+ } from "./chunk-LQWNWPEO.js";
24
24
 
25
25
  // src/core/stacks/branch-facts.ts
26
26
  async function repoBase(repo, run = defaultRunner) {
@@ -242,4 +242,4 @@ export {
242
242
  createSessionBranches,
243
243
  sessionBranchesNow
244
244
  };
245
- //# sourceMappingURL=chunk-NLSFJYU6.js.map
245
+ //# sourceMappingURL=chunk-J4JORJBH.js.map
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  computeRangeDiff
4
- } from "./chunk-S4L6BURS.js";
4
+ } from "./chunk-5DY4YW36.js";
5
5
  import {
6
6
  loadManifest
7
- } from "./chunk-KHGP6MS2.js";
7
+ } from "./chunk-MOSPIQZF.js";
8
8
  import {
9
9
  agentSettings,
10
10
  internalAgent
11
- } from "./chunk-Z6B4ICOI.js";
11
+ } from "./chunk-LQWNWPEO.js";
12
12
  import {
13
13
  internalRunEnv
14
- } from "./chunk-42MD5W5R.js";
14
+ } from "./chunk-DQWZDA2E.js";
15
15
  import {
16
16
  killTree
17
17
  } from "./chunk-G2V2V5UC.js";
@@ -232,4 +232,4 @@ export {
232
232
  runInternalReadOnly,
233
233
  summarizeCheckpoint
234
234
  };
235
- //# sourceMappingURL=chunk-4GPKT5A2.js.map
235
+ //# sourceMappingURL=chunk-JJTEW3LB.js.map
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  childText,
4
4
  runWorkChild
5
- } from "./chunk-BMNH6B5U.js";
5
+ } from "./chunk-CWQQCJKO.js";
6
6
  import {
7
7
  report
8
8
  } from "./chunk-AU27USPZ.js";
@@ -34,4 +34,4 @@ export {
34
34
  WORKTREE_REMOVED,
35
35
  removeWorktreeInChild
36
36
  };
37
- //# sourceMappingURL=chunk-Y2RCCYRA.js.map
37
+ //# sourceMappingURL=chunk-KMED3WHH.js.map
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  defaultCleanupDeps
4
- } from "./chunk-3GCD3DAB.js";
4
+ } from "./chunk-X3SDPWEE.js";
5
5
  import {
6
6
  agentsBySession
7
- } from "./chunk-6SRDHIAK.js";
7
+ } from "./chunk-CP6W4MTM.js";
8
8
  import {
9
9
  normPath
10
10
  } from "./chunk-AKMPF72Y.js";
11
11
  import {
12
12
  hostForRepo
13
- } from "./chunk-NDIAONVE.js";
13
+ } from "./chunk-U55AFVHY.js";
14
14
  import {
15
15
  buildFoldersOf,
16
16
  clearBuildFolders
@@ -21,13 +21,13 @@ import {
21
21
  import {
22
22
  loadHistory,
23
23
  sessionAliases
24
- } from "./chunk-KHGP6MS2.js";
24
+ } from "./chunk-MOSPIQZF.js";
25
25
  import {
26
26
  sessionIdFor
27
27
  } from "./chunk-RRNIJ7YO.js";
28
28
  import {
29
29
  liveAgents
30
- } from "./chunk-Z6B4ICOI.js";
30
+ } from "./chunk-LQWNWPEO.js";
31
31
  import {
32
32
  loadConfig
33
33
  } from "./chunk-INI6TEYT.js";
@@ -253,4 +253,4 @@ export {
253
253
  deleteMergedBranches,
254
254
  defaultBranchTidyDeps
255
255
  };
256
- //# sourceMappingURL=chunk-52KXG5D3.js.map
256
+ //# sourceMappingURL=chunk-KX4WF3XR.js.map
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-LM2T5OR3.js";
15
15
  import {
16
16
  recordCheckedOutBranches
17
- } from "./chunk-UXL75FQC.js";
17
+ } from "./chunk-T7RSU35I.js";
18
18
  import {
19
19
  isBuildOutputPath
20
20
  } from "./chunk-ZIFWZJ7X.js";
@@ -36,13 +36,13 @@ import {
36
36
  upsertSession,
37
37
  upsertSessionWithPort,
38
38
  writeArchiveRecord
39
- } from "./chunk-KHGP6MS2.js";
39
+ } from "./chunk-MOSPIQZF.js";
40
40
  import {
41
41
  sessionIdFor
42
42
  } from "./chunk-RRNIJ7YO.js";
43
43
  import {
44
44
  agentFor
45
- } from "./chunk-Z6B4ICOI.js";
45
+ } from "./chunk-LQWNWPEO.js";
46
46
  import {
47
47
  resolveProjectTarget
48
48
  } from "./chunk-7UXV4X2Y.js";
@@ -1100,4 +1100,4 @@ export {
1100
1100
  teardownWorktree,
1101
1101
  openBaseCheckout
1102
1102
  };
1103
- //# sourceMappingURL=chunk-2YTCAJT5.js.map
1103
+ //# sourceMappingURL=chunk-LFA2ACWM.js.map
@@ -14,22 +14,24 @@ import {
14
14
  claudeSettingsFile,
15
15
  internalClaudeReadOnlySpawn,
16
16
  internalClaudeSpawn
17
- } from "./chunk-42MD5W5R.js";
17
+ } from "./chunk-DQWZDA2E.js";
18
18
  import {
19
19
  accountDir,
20
+ accountDirKey,
20
21
  accountEnv,
21
22
  accountForbiddenRoots,
22
23
  accountProblem,
23
24
  claudeAccounts,
24
25
  configDirEnv,
25
26
  configView,
27
+ defaultAccountDir,
26
28
  defaultAccountName,
27
29
  expandAccountDir,
28
30
  isLoggedIn,
29
31
  sessionAccount,
30
32
  setUpAccounts,
31
33
  validateClaudeAccounts
32
- } from "./chunk-HHXVHUGP.js";
34
+ } from "./chunk-PDOG3O4N.js";
33
35
  import {
34
36
  DEFAULT_ACCOUNT,
35
37
  getConfigPath,
@@ -45,7 +47,9 @@ import {
45
47
  } from "./chunk-DW245WK4.js";
46
48
  import {
47
49
  atomicWriteFile,
48
- withFileLock
50
+ ensureFile,
51
+ withFileLock,
52
+ withFileLockSync
49
53
  } from "./chunk-D2J3AD6L.js";
50
54
 
51
55
  // src/core/platform/ai-launcher.ts
@@ -198,6 +202,12 @@ function ownsBranch(target, branch, config, read = checkedOutBranch) {
198
202
  const repo = config.repos[target];
199
203
  return !!repo && read(repo) === branch;
200
204
  }
205
+ function projectList(config, read = checkedOutBranch) {
206
+ return {
207
+ singles: Object.entries(config.repos).map(([name, p]) => ({ name, kind: "single", path: p, ownBranch: read(p) })),
208
+ groups: Object.entries(config.groups ?? {}).map(([name, members]) => ({ name, kind: "group", members }))
209
+ };
210
+ }
201
211
 
202
212
  // src/core/agents/types.ts
203
213
  var AccountAdminError = class extends Error {
@@ -209,10 +219,10 @@ var AccountAdminError = class extends Error {
209
219
  };
210
220
 
211
221
  // src/core/agents/index.ts
212
- import path12 from "path";
222
+ import path13 from "path";
213
223
 
214
224
  // src/core/agents/claude/adapter.ts
215
- import path11 from "path";
225
+ import path12 from "path";
216
226
 
217
227
  // src/core/agents/claude/files.ts
218
228
  import fs4 from "fs";
@@ -937,7 +947,7 @@ function installClaudeSkillsFor(dir, run = runClaude) {
937
947
 
938
948
  // src/core/agents/claude/usage.ts
939
949
  var installer2;
940
- var loadInstaller2 = async () => installer2 ??= await import("./statusline-MIFW47UA.js");
950
+ var loadInstaller2 = async () => installer2 ??= await import("./statusline-OU4LKQQD.js");
941
951
  function restoreMessage(o, saved = "~/.work/statusline.json") {
942
952
  switch (o) {
943
953
  case "restored":
@@ -981,18 +991,218 @@ var claudeUsage = {
981
991
  };
982
992
 
983
993
  // src/core/agents/claude/account-move.ts
994
+ import fs10 from "fs";
995
+ import path11 from "path";
996
+
997
+ // src/core/agents/claude/account-admin.ts
984
998
  import fs9 from "fs";
999
+ import os4 from "os";
985
1000
  import path10 from "path";
986
1001
 
987
- // src/core/agents/claude/account-admin.ts
1002
+ // src/core/agents/claude/setup-copy.ts
988
1003
  import fs8 from "fs";
989
1004
  import os3 from "os";
990
1005
  import path9 from "path";
1006
+ function globalConfigFile(dir, home = os3.homedir()) {
1007
+ return accountDirKey(dir) === accountDirKey(path9.join(home, ".claude")) ? path9.join(home, ".claude.json") : path9.join(dir, ".claude.json");
1008
+ }
1009
+ var isObject = (v) => !!v && typeof v === "object" && !Array.isArray(v);
1010
+ var same = (a, b) => JSON.stringify(a) === JSON.stringify(b);
1011
+ var NEVER_COPIED = /* @__PURE__ */ new Set(["statusLine"]);
1012
+ var MAPS = /* @__PURE__ */ new Set(["enabledPlugins", "extraKnownMarketplaces", "mcpServers", "env", "skillOverrides"]);
1013
+ function mergeSettings(source, target) {
1014
+ const out = { ...target };
1015
+ for (const [key2, value] of Object.entries(source)) {
1016
+ if (NEVER_COPIED.has(key2)) continue;
1017
+ if (key2 === "hooks") {
1018
+ if (!isObject(value)) continue;
1019
+ const hooks = {};
1020
+ for (const [event, list] of Object.entries(isObject(target.hooks) ? target.hooks : {}))
1021
+ hooks[event] = Array.isArray(list) ? [...list] : [];
1022
+ for (const [event, list] of Object.entries(value)) {
1023
+ for (const entry of Array.isArray(list) ? list : []) {
1024
+ if (isObject(entry) && "_workHookOwner" in entry) continue;
1025
+ if (!(hooks[event] ??= []).some((have) => same(have, entry))) hooks[event].push(entry);
1026
+ }
1027
+ }
1028
+ if (Object.keys(hooks).length) out.hooks = hooks;
1029
+ } else if (key2 === "permissions" && isObject(value)) {
1030
+ const have = isObject(target.permissions) ? target.permissions : {};
1031
+ const merged = { ...have };
1032
+ for (const [k, v] of Object.entries(value)) {
1033
+ merged[k] = Array.isArray(v) ? [.../* @__PURE__ */ new Set([...Array.isArray(have[k]) ? have[k] : [], ...v])] : v;
1034
+ }
1035
+ out.permissions = merged;
1036
+ } else if (MAPS.has(key2) && isObject(value)) {
1037
+ out[key2] = { ...isObject(target[key2]) ? target[key2] : {}, ...value };
1038
+ } else {
1039
+ out[key2] = value;
1040
+ }
1041
+ }
1042
+ return out;
1043
+ }
1044
+ function marketplaceAddArgs(source) {
1045
+ if (!isObject(source)) return null;
1046
+ const sparse = Array.isArray(source.sparsePaths) && source.sparsePaths.every((p) => typeof p === "string") ? source.sparsePaths : [];
1047
+ const where = source.source === "github" && typeof source.repo === "string" ? source.repo : source.source === "directory" && typeof source.path === "string" ? source.path : (source.source === "git" || source.source === "url") && typeof source.url === "string" ? source.url : null;
1048
+ if (!where || where.startsWith("-") || sparse.some((p) => p.startsWith("-"))) return null;
1049
+ return ["plugin", "marketplace", "add", where, "--scope", "user", ...sparse.length ? ["--sparse", ...sparse] : []];
1050
+ }
1051
+ var FILES = ["CLAUDE.md", "statusline-command.sh"];
1052
+ var FOLDERS = ["agents", "commands"];
1053
+ var SETTINGS = ["settings.json", "settings.local.json"];
1054
+ var realSetupIo = {
1055
+ exists: (p) => fs8.existsSync(p),
1056
+ isDir: (p) => {
1057
+ try {
1058
+ return fs8.statSync(p).isDirectory();
1059
+ } catch {
1060
+ return false;
1061
+ }
1062
+ },
1063
+ list: (dir) => {
1064
+ try {
1065
+ return fs8.readdirSync(dir);
1066
+ } catch {
1067
+ return [];
1068
+ }
1069
+ },
1070
+ readJson: (file) => {
1071
+ try {
1072
+ return JSON.parse(fs8.readFileSync(file, "utf-8"));
1073
+ } catch {
1074
+ return null;
1075
+ }
1076
+ }
1077
+ };
1078
+ var objectAt = (v, key2) => isObject(v) && isObject(v[key2]) ? v[key2] : {};
1079
+ function userMcpServers(dir, io = realSetupIo) {
1080
+ return objectAt(io.readJson(globalConfigFile(dir)), "mcpServers");
1081
+ }
1082
+ function planSetupCopy(from, to, io = realSetupIo) {
1083
+ const items = [];
1084
+ const there = (rel) => io.exists(path9.join(to.dir, rel));
1085
+ for (const f of FILES) if (io.exists(path9.join(from.dir, f))) items.push({ kind: "file", name: f, does: there(f) ? "replaces" : "adds" });
1086
+ for (const d of FOLDERS)
1087
+ if (io.isDir(path9.join(from.dir, d)) && io.list(path9.join(from.dir, d)).length)
1088
+ items.push({ kind: "folder", name: `${d}/`, does: there(d) ? "merges into" : "adds" });
1089
+ for (const skill of io.list(path9.join(from.dir, "skills")).filter((s) => s !== "synced" && io.isDir(path9.join(from.dir, "skills", s))))
1090
+ items.push({ kind: "folder", name: `skills/${skill}/`, does: there(path9.join("skills", skill)) ? "replaces" : "adds" });
1091
+ for (const s of SETTINGS) {
1092
+ const source = io.readJson(path9.join(from.dir, s));
1093
+ if (!isObject(source)) continue;
1094
+ const target = io.readJson(path9.join(to.dir, s));
1095
+ const have = isObject(target) ? target : {};
1096
+ if (!same(mergeSettings(source, have), have))
1097
+ items.push({
1098
+ kind: "settings",
1099
+ name: s,
1100
+ does: "merges into",
1101
+ note: "permissions, plugins and your own hooks; never the status line or work\u2019s hooks"
1102
+ });
1103
+ }
1104
+ const servers = userMcpServers(from.dir, io);
1105
+ const haveServers = userMcpServers(to.dir, io);
1106
+ for (const [name, def] of Object.entries(servers)) {
1107
+ if (same(haveServers[name], def)) continue;
1108
+ const remote = isObject(def) && (def.type === "http" || def.type === "sse");
1109
+ items.push({
1110
+ kind: "mcp",
1111
+ name,
1112
+ does: name in haveServers ? "replaces" : "adds",
1113
+ ...remote ? { note: `needs its own sign-in on ${to.name}: /mcp \u2192 ${name} \u2192 Authenticate` } : {}
1114
+ });
1115
+ }
1116
+ const markets = io.readJson(path9.join(from.dir, "plugins", "known_marketplaces.json"));
1117
+ const haveMarkets = io.readJson(path9.join(to.dir, "plugins", "known_marketplaces.json"));
1118
+ for (const [name, m] of Object.entries(isObject(markets) ? markets : {})) {
1119
+ if (isObject(haveMarkets) && name in haveMarkets) continue;
1120
+ const args = marketplaceAddArgs(isObject(m) ? m.source : null);
1121
+ if (args) items.push({ kind: "marketplace", name, does: "adds", note: args[3] });
1122
+ }
1123
+ const enabled = objectAt(io.readJson(path9.join(from.dir, "settings.json")), "enabledPlugins");
1124
+ const installed = objectAt(io.readJson(path9.join(to.dir, "plugins", "installed_plugins.json")), "plugins");
1125
+ for (const [id, on] of Object.entries(enabled))
1126
+ if (on === true && !(id in installed)) items.push({ kind: "plugin", name: id, does: "adds", note: "installed from its marketplace" });
1127
+ return items;
1128
+ }
1129
+ var runClaude2 = (args, env, input) => {
1130
+ const r = spawn_default.sync("claude", args, {
1131
+ encoding: "utf8",
1132
+ timeout: 18e4,
1133
+ windowsHide: true,
1134
+ stdio: "pipe",
1135
+ env: applyEnvDelta(process.env, env),
1136
+ ...input !== void 0 ? { input } : {}
1137
+ });
1138
+ const text = (v) => typeof v === "string" ? v : "";
1139
+ return { ok: !r.error && r.status === 0, out: r.error ? r.error.message : `${text(r.stderr)}
1140
+ ${text(r.stdout)}` };
1141
+ };
1142
+ var lastLine2 = (out) => out.split("\n").map((l) => l.trim()).filter(Boolean).pop() ?? "it failed";
1143
+ function setupEnv(dir) {
1144
+ return accountDirKey(dir) === accountDirKey(defaultAccountDir()) ? { CLAUDE_CONFIG_DIR: null } : { CLAUDE_CONFIG_DIR: dir };
1145
+ }
1146
+ function mergeSettingsFile(fromFile, toFile) {
1147
+ const source = JSON.parse(fs8.readFileSync(fromFile, "utf-8"));
1148
+ if (!isObject(source)) throw new Error("its settings are not an object");
1149
+ fs8.mkdirSync(path9.dirname(toFile), { recursive: true });
1150
+ ensureFile(toFile, "{}\n");
1151
+ withFileLockSync(toFile, () => {
1152
+ let target = {};
1153
+ try {
1154
+ target = JSON.parse(fs8.readFileSync(toFile, "utf-8"));
1155
+ } catch {
1156
+ }
1157
+ atomicWriteFile(toFile, `${JSON.stringify(mergeSettings(source, isObject(target) ? target : {}), null, 2)}
1158
+ `);
1159
+ });
1160
+ }
1161
+ async function applySetupCopy(from, to, run = runClaude2) {
1162
+ if (accountDirKey(from.dir) === accountDirKey(to.dir)) throw new Error("an account\u2019s setup can\u2019t be copied to itself");
1163
+ const env = setupEnv(to.dir);
1164
+ const servers = userMcpServers(from.dir);
1165
+ const markets = realSetupIo.readJson(path9.join(from.dir, "plugins", "known_marketplaces.json"));
1166
+ const results = [];
1167
+ for (const item of planSetupCopy(from, to)) {
1168
+ try {
1169
+ const rel = item.name.replace(/\/$/, "");
1170
+ if (item.kind === "file") {
1171
+ fs8.mkdirSync(to.dir, { recursive: true });
1172
+ fs8.copyFileSync(path9.join(from.dir, rel), path9.join(to.dir, rel));
1173
+ } else if (item.kind === "folder") {
1174
+ fs8.cpSync(path9.join(from.dir, rel), path9.join(to.dir, rel), { recursive: true, force: true, verbatimSymlinks: true });
1175
+ } else if (item.kind === "settings") {
1176
+ mergeSettingsFile(path9.join(from.dir, rel), path9.join(to.dir, rel));
1177
+ } else if (item.kind === "mcp") {
1178
+ if (item.does === "replaces") run(["mcp", "remove", item.name, "--scope", "user"], env);
1179
+ const r = run(["mcp", "add-json", item.name, "-", "--scope", "user"], env, JSON.stringify(servers[item.name]));
1180
+ if (!r.ok) throw new Error(lastLine2(r.out));
1181
+ } else if (item.kind === "marketplace") {
1182
+ const args = marketplaceAddArgs(
1183
+ isObject(markets) && isObject(markets[item.name]) ? markets[item.name].source : null
1184
+ );
1185
+ if (!args) throw new Error("work doesn\u2019t know how to add this kind of marketplace");
1186
+ const r = run(args, env);
1187
+ if (!r.ok) throw new Error(lastLine2(r.out));
1188
+ } else {
1189
+ const r = run(["plugin", "install", item.name, "--scope", "user", "-y"], env);
1190
+ if (!r.ok) throw new Error(lastLine2(r.out));
1191
+ }
1192
+ results.push({ ...item, ok: true });
1193
+ } catch (err) {
1194
+ results.push({ ...item, ok: false, error: err instanceof Error ? err.message : String(err) });
1195
+ }
1196
+ }
1197
+ return results;
1198
+ }
1199
+
1200
+ // src/core/agents/claude/account-admin.ts
991
1201
  async function editConfig(fn) {
992
1202
  const file = getConfigPath();
993
- if (!fs8.existsSync(file)) throw new AccountAdminError("No configuration yet: run `work init` first.");
1203
+ if (!fs9.existsSync(file)) throw new AccountAdminError("No configuration yet: run `work init` first.");
994
1204
  return withFileLock(file, () => {
995
- const raw = JSON.parse(fs8.readFileSync(file, "utf-8"));
1205
+ const raw = JSON.parse(fs9.readFileSync(file, "utf-8"));
996
1206
  const existing = raw.claudeAccounts;
997
1207
  const accounts = existing && typeof existing === "object" && !Array.isArray(existing) ? { ...existing } : {};
998
1208
  const out = fn(raw, accounts);
@@ -1004,14 +1214,14 @@ async function editConfig(fn) {
1004
1214
  }
1005
1215
  var validIn = (raw) => validateClaudeAccounts(raw.claudeAccounts, void 0, accountForbiddenRoots(raw)).accounts ?? {};
1006
1216
  async function addAccount(name, dir) {
1007
- const folder = expandAccountDir(dir?.trim() || path9.join(os3.homedir(), `.claude-${name}`));
1217
+ const folder = expandAccountDir(dir?.trim() || path10.join(os4.homedir(), `.claude-${name}`));
1008
1218
  if (!folder) throw new AccountAdminError(`${dir} is not an absolute folder`);
1009
1219
  return editConfig((raw, accounts) => {
1010
1220
  if (name in accounts) throw new AccountAdminError(`there is already an account \u201C${name}\u201D`);
1011
1221
  const problem = accountProblem(name, folder, Object.values(validIn(raw)), accountForbiddenRoots(raw));
1012
1222
  if (problem) throw new AccountAdminError(problem);
1013
1223
  try {
1014
- fs8.mkdirSync(folder, { recursive: true });
1224
+ fs9.mkdirSync(folder, { recursive: true });
1015
1225
  } catch (e) {
1016
1226
  throw new AccountAdminError(`couldn't make ${folder}: ${e instanceof Error ? e.message : String(e)}`);
1017
1227
  }
@@ -1063,8 +1273,19 @@ var claudeAccountAdmin = {
1063
1273
  const dir = accountDir(name);
1064
1274
  if (!dir) return { ok: false, message: `no account \u201C${name}\u201D` };
1065
1275
  return installClaudeSkillsFor(dir);
1066
- }
1276
+ },
1277
+ setupPlan: (from, to) => planSetupCopy(...setupPair(from, to)),
1278
+ copySetup: (from, to) => applySetupCopy(...setupPair(from, to))
1067
1279
  };
1280
+ function setupPair(from, to) {
1281
+ const [a, b] = [from, to].map((name) => {
1282
+ const dir = accountDir(name);
1283
+ if (!dir) throw new AccountAdminError(`no account \u201C${name}\u201D`);
1284
+ return { name, dir };
1285
+ });
1286
+ if (a.name === b.name) throw new AccountAdminError("an account\u2019s setup can\u2019t be copied to itself");
1287
+ return [a, b];
1288
+ }
1068
1289
 
1069
1290
  // src/core/agents/claude/account-move.ts
1070
1291
  var AccountMoveError = class extends Error {
@@ -1077,14 +1298,14 @@ var AccountMoveError = class extends Error {
1077
1298
  };
1078
1299
  var isDir = (p) => {
1079
1300
  try {
1080
- return fs9.statSync(p).isDirectory();
1301
+ return fs10.statSync(p).isDirectory();
1081
1302
  } catch {
1082
1303
  return false;
1083
1304
  }
1084
1305
  };
1085
1306
  var exists = (p) => {
1086
1307
  try {
1087
- fs9.lstatSync(p);
1308
+ fs10.lstatSync(p);
1088
1309
  return true;
1089
1310
  } catch {
1090
1311
  return false;
@@ -1092,31 +1313,31 @@ var exists = (p) => {
1092
1313
  };
1093
1314
  var mtime = (p) => {
1094
1315
  try {
1095
- return fs9.statSync(p).mtimeMs;
1316
+ return fs10.statSync(p).mtimeMs;
1096
1317
  } catch {
1097
1318
  return 0;
1098
1319
  }
1099
1320
  };
1100
1321
  function moveEntry(from, to) {
1101
- fs9.mkdirSync(path10.dirname(to), { recursive: true });
1322
+ fs10.mkdirSync(path11.dirname(to), { recursive: true });
1102
1323
  try {
1103
- fs9.renameSync(from, to);
1324
+ fs10.renameSync(from, to);
1104
1325
  return;
1105
1326
  } catch (err) {
1106
1327
  const code = err.code;
1107
1328
  if (code !== "EXDEV" && code !== "EPERM") throw err;
1108
1329
  }
1109
1330
  try {
1110
- fs9.cpSync(from, to, { recursive: true, errorOnExist: true, force: false, preserveTimestamps: true });
1331
+ fs10.cpSync(from, to, { recursive: true, errorOnExist: true, force: false, preserveTimestamps: true });
1111
1332
  } catch (err) {
1112
- fs9.rmSync(to, { recursive: true, force: true });
1333
+ fs10.rmSync(to, { recursive: true, force: true });
1113
1334
  throw err;
1114
1335
  }
1115
1336
  try {
1116
- fs9.rmSync(from, { recursive: true, force: true });
1337
+ fs10.rmSync(from, { recursive: true, force: true });
1117
1338
  } catch (err) {
1118
1339
  try {
1119
- fs9.cpSync(to, from, { recursive: true, force: false, errorOnExist: false, preserveTimestamps: true });
1340
+ fs10.cpSync(to, from, { recursive: true, force: false, errorOnExist: false, preserveTimestamps: true });
1120
1341
  } catch (back) {
1121
1342
  const why = (e) => e instanceof Error ? e.message : String(e);
1122
1343
  throw new Error(`${why(err)}; what its delete took couldn't be put back (${why(back)}), so it is kept at ${to} too`, {
@@ -1124,7 +1345,7 @@ function moveEntry(from, to) {
1124
1345
  });
1125
1346
  }
1126
1347
  try {
1127
- fs9.rmSync(to, { recursive: true, force: true });
1348
+ fs10.rmSync(to, { recursive: true, force: true });
1128
1349
  } catch {
1129
1350
  }
1130
1351
  throw err;
@@ -1143,9 +1364,9 @@ function mergeInto(src, dst, tag, steps, moved) {
1143
1364
  return;
1144
1365
  }
1145
1366
  if (isDir(src) && isDir(dst)) {
1146
- for (const name of fs9.readdirSync(src)) mergeInto(path10.join(src, name), path10.join(dst, name), tag, steps, moved);
1367
+ for (const name of fs10.readdirSync(src)) mergeInto(path11.join(src, name), path11.join(dst, name), tag, steps, moved);
1147
1368
  try {
1148
- fs9.rmdirSync(src);
1369
+ fs10.rmdirSync(src);
1149
1370
  } catch {
1150
1371
  }
1151
1372
  return;
@@ -1179,32 +1400,32 @@ function undo(steps) {
1179
1400
  }
1180
1401
  function latestConversation(dir) {
1181
1402
  let best = null;
1182
- for (const name of fs9.readdirSync(dir)) {
1403
+ for (const name of fs10.readdirSync(dir)) {
1183
1404
  if (!name.endsWith(".jsonl")) continue;
1184
- const at = mtime(path10.join(dir, name));
1405
+ const at = mtime(path11.join(dir, name));
1185
1406
  if (!best || at > best.at) best = { name, at };
1186
1407
  }
1187
1408
  if (!best) return [];
1188
1409
  const id = best.name.slice(0, -".jsonl".length);
1189
- return [best.name, ...isDir(path10.join(dir, id)) ? [id] : []];
1410
+ return [best.name, ...isDir(path11.join(dir, id)) ? [id] : []];
1190
1411
  }
1191
1412
  function moveConversations(session, fromDir, toDir, tag = "old", opts = {}) {
1192
1413
  const steps = [];
1193
1414
  const moved = [];
1194
- if (path10.resolve(fromDir) === path10.resolve(toDir)) return { moved };
1415
+ if (path11.resolve(fromDir) === path11.resolve(toDir)) return { moved };
1195
1416
  const emptied = [];
1196
1417
  let at = "";
1197
1418
  try {
1198
1419
  for (const cwd of sessionRunFolders(session, false)) {
1199
1420
  const name = encodeProjectDir(cwd);
1200
- const src = path10.join(projectsRootOf(fromDir), name);
1421
+ const src = path11.join(projectsRootOf(fromDir), name);
1201
1422
  if (!isDir(src)) continue;
1202
1423
  at = src;
1203
- const dst = path10.join(projectsRootOf(toDir), name);
1424
+ const dst = path11.join(projectsRootOf(toDir), name);
1204
1425
  if (opts.onlyLatest) {
1205
1426
  for (const entry of latestConversation(src)) {
1206
- at = path10.join(src, entry);
1207
- mergeInto(path10.join(src, entry), path10.join(dst, entry), tag, steps, moved);
1427
+ at = path11.join(src, entry);
1428
+ mergeInto(path11.join(src, entry), path11.join(dst, entry), tag, steps, moved);
1208
1429
  }
1209
1430
  continue;
1210
1431
  }
@@ -1223,7 +1444,7 @@ function moveConversations(session, fromDir, toDir, tag = "old", opts = {}) {
1223
1444
  }
1224
1445
  for (const src of emptied) {
1225
1446
  try {
1226
- fs9.rmdirSync(src);
1447
+ fs10.rmdirSync(src);
1227
1448
  } catch {
1228
1449
  }
1229
1450
  }
@@ -1288,8 +1509,8 @@ var claudeAgent = {
1288
1509
  prLinks: claudePrLinks,
1289
1510
  // In the session's own account's projects folder: that is where its `--continue` looks.
1290
1511
  restoreDir: (s) => {
1291
- const cwd = s.isGroup && s.paths[0] ? path11.dirname(s.paths[0]) : s.paths[0];
1292
- return cwd ? path11.join(projectsRootOf(accountDir(sessionAccount(s)) ?? void 0), encodeProjectDir(cwd)) : null;
1512
+ const cwd = s.isGroup && s.paths[0] ? path12.dirname(s.paths[0]) : s.paths[0];
1513
+ return cwd ? path12.join(projectsRootOf(accountDir(sessionAccount(s)) ?? void 0), encodeProjectDir(cwd)) : null;
1293
1514
  }
1294
1515
  },
1295
1516
  events: claudeEvents,
@@ -1316,7 +1537,7 @@ var claudeAgent = {
1316
1537
  denyRules: (repos) => claudeReadDenyRules(repos),
1317
1538
  // Its flags were measured on one Claude Code (READ_ONLY_MIN_VERSION): an older one gets no checkout run.
1318
1539
  // Loaded when a review asks: the hook processes load this adapter on every turn edge.
1319
- available: async () => (await import("./version-4S7I7GHM.js")).claudeReadOnlyAvailable()
1540
+ available: async () => (await import("./version-B5PGYRJS.js")).claudeReadOnlyAvailable()
1320
1541
  }
1321
1542
  },
1322
1543
  instructionsFile: "CLAUDE.md",
@@ -1355,7 +1576,7 @@ function plainAgent(id) {
1355
1576
  launch: {
1356
1577
  tool: (config) => getAiTool(config && getAiTool(config).cmd === id ? config : { aiCommand: id }),
1357
1578
  canResume: () => false,
1358
- resumeLaunch: (s) => ({ launchPath: s.isGroup ? path12.dirname(s.paths[0] ?? "") : s.paths[0] ?? "", hasConversation: false }),
1579
+ resumeLaunch: (s) => ({ launchPath: s.isGroup ? path13.dirname(s.paths[0] ?? "") : s.paths[0] ?? "", hasConversation: false }),
1359
1580
  cleanEnv: (env) => ({ ...env })
1360
1581
  },
1361
1582
  // Text, a pause, Enter — and no dialog to answer by keystroke (its screen is unknown).
@@ -1427,6 +1648,7 @@ export {
1427
1648
  isOwnCheckout,
1428
1649
  ownCheckoutNote,
1429
1650
  ownsBranch,
1651
+ projectList,
1430
1652
  AccountAdminError,
1431
1653
  agentSettings,
1432
1654
  agentOf,
@@ -1443,4 +1665,4 @@ export {
1443
1665
  agentToRecord,
1444
1666
  agentFor
1445
1667
  };
1446
- //# sourceMappingURL=chunk-Z6B4ICOI.js.map
1668
+ //# sourceMappingURL=chunk-LQWNWPEO.js.map