@dylanpiercey/work 0.0.117 → 0.0.118

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 (256) hide show
  1. package/dist/_BIDn_RW1.js +2 -0
  2. package/dist/{_4-M1FiLt.js → _CeVZfkIY.js} +64 -48
  3. package/dist/{_b8Fct3kh.js → _DE2RUdbF.js} +29 -11
  4. package/dist/{_BBnpIqz1.js → _EzN3zMKL.js} +4 -4
  5. package/dist/index.mjs +280 -220
  6. package/dist/public/assets/{_bwdm3qFa.js → _5MxjuuKr.js} +1 -1
  7. package/dist/public/assets/_5MxjuuKr.js.br +0 -0
  8. package/dist/public/assets/{_BdCj3x0L2.js → _6hN6Ymx42.js} +1 -1
  9. package/dist/public/assets/_6hN6Ymx42.js.br +0 -0
  10. package/dist/public/assets/{_CH6beBRd.js → _6nWMLOH4.js} +1 -1
  11. package/dist/public/assets/_6nWMLOH4.js.br +0 -0
  12. package/dist/public/assets/{_snEbm2Ar2.js → _A2tLqg9y2.js} +1 -1
  13. package/dist/public/assets/_A2tLqg9y2.js.br +0 -0
  14. package/dist/public/assets/{_CkvKurj3.js → _Ar4UEz40.js} +1 -1
  15. package/dist/public/assets/_Ar4UEz40.js.br +0 -0
  16. package/dist/public/assets/{_18MJzEZM.js → _B-wISkbs.js} +1 -1
  17. package/dist/public/assets/_B-wISkbs.js.br +0 -0
  18. package/dist/public/assets/{_B_vKus4A2.js → _B0HJN5ud2.js} +1 -1
  19. package/dist/public/assets/_B0HJN5ud2.js.br +0 -0
  20. package/dist/public/assets/{_CT_4aU9v.js → _B6RbG5-A.js} +1 -1
  21. package/dist/public/assets/_B6RbG5-A.js.br +0 -0
  22. package/dist/public/assets/{_9m5DBxeF.js → _B7cCygGe.js} +1 -1
  23. package/dist/public/assets/_B7cCygGe.js.br +0 -0
  24. package/dist/public/assets/{_ghie1-zD2.js → _B7n-BASn2.js} +1 -1
  25. package/dist/public/assets/{_BBji3Y6b.js → _BBPUNQgX.js} +1 -1
  26. package/dist/public/assets/_BBPUNQgX.js.br +0 -0
  27. package/dist/public/assets/{_tejT-pAf2.js → _BHhGmIxX2.js} +1 -1
  28. package/dist/public/assets/_BHhGmIxX2.js.br +0 -0
  29. package/dist/public/assets/{_DIcIfpSi2.js → _BJjI-m6s2.js} +1 -1
  30. package/dist/public/assets/_BJjI-m6s2.js.br +0 -0
  31. package/dist/public/assets/{_C9uj0n8L.js → _BJz-Y1HI.js} +1 -1
  32. package/dist/public/assets/_BJz-Y1HI.js.br +0 -0
  33. package/dist/public/assets/{_BTgPFRhu2.js → _BLeHC7zC2.js} +1 -1
  34. package/dist/public/assets/_BLeHC7zC2.js.br +0 -0
  35. package/dist/public/assets/{_D1v40D0_.js → _BO_BKeKC.js} +1 -1
  36. package/dist/public/assets/_BO_BKeKC.js.br +0 -0
  37. package/dist/public/assets/{_DcQSDUkF.js → _BVhnP3T6.js} +1 -1
  38. package/dist/public/assets/_BVhnP3T6.js.br +0 -0
  39. package/dist/public/assets/{_nKN2u-0c2.js → _BXK6LHvo2.js} +1 -1
  40. package/dist/public/assets/_BXK6LHvo2.js.br +0 -0
  41. package/dist/public/assets/{_BK807sss2.js → _BYPDDEEO2.js} +1 -1
  42. package/dist/public/assets/_BYPDDEEO2.js.br +0 -0
  43. package/dist/public/assets/{_BqGtsnPj.js → _BbB3wFGa.js} +1 -1
  44. package/dist/public/assets/_BbB3wFGa.js.br +0 -0
  45. package/dist/public/assets/{_RD4UJVHf.js → _BicOIlC8.js} +1 -1
  46. package/dist/public/assets/_BicOIlC8.js.br +0 -0
  47. package/dist/public/assets/{_D-lWfj_d.js → _BjVuWYXf.js} +1 -1
  48. package/dist/public/assets/_BjVuWYXf.js.br +0 -0
  49. package/dist/public/assets/{_BZO0Y-8B.js → _BjeXgSse.js} +1 -1
  50. package/dist/public/assets/_BjeXgSse.js.br +0 -0
  51. package/dist/public/assets/{_BD7DcChF2.js → _Bk7GDGa82.js} +1 -1
  52. package/dist/public/assets/_Bk7GDGa82.js.br +0 -0
  53. package/dist/public/assets/{_Cc0zTPig.js → _BmJ9IUv4.js} +1 -1
  54. package/dist/public/assets/_BmJ9IUv4.js.br +0 -0
  55. package/dist/public/assets/{_D2CBcmy92.js → _BtxdHY0V2.js} +1 -1
  56. package/dist/public/assets/_BtxdHY0V2.js.br +0 -0
  57. package/dist/public/assets/{_Ds-nHHU4.js → _Bu7Rb2KV.js} +1 -1
  58. package/dist/public/assets/_Bu7Rb2KV.js.br +0 -0
  59. package/dist/public/assets/{_BRsp-Ky6.js → _BzIW49zC.js} +1 -1
  60. package/dist/public/assets/_BzIW49zC.js.br +0 -0
  61. package/dist/public/assets/{_DPYxtc2v.js → _C1oox0_T.js} +1 -1
  62. package/dist/public/assets/_C1oox0_T.js.br +0 -0
  63. package/dist/public/assets/{_DFxITRGV.js → _C45kLCWD.js} +8 -8
  64. package/dist/public/assets/_C45kLCWD.js.br +0 -0
  65. package/dist/public/assets/{_CKsCeryF.js → _C4B_GVHB.js} +1 -1
  66. package/dist/public/assets/_C4B_GVHB.js.br +0 -0
  67. package/dist/public/assets/{_CK_oq_Zy.js → _C4tiWhG4.js} +1 -1
  68. package/dist/public/assets/_C4tiWhG4.js.br +0 -0
  69. package/dist/public/assets/{_DmOEoBSj.js → _C7wuWtJ1.js} +1 -1
  70. package/dist/public/assets/{_KkA9wgSQ.js → _CE6eJWkd.js} +1 -1
  71. package/dist/public/assets/_CE6eJWkd.js.br +0 -0
  72. package/dist/public/assets/{_CD2VZxgc.js → _CHWTX_c6.js} +1 -1
  73. package/dist/public/assets/_CHWTX_c6.js.br +0 -0
  74. package/dist/public/assets/{_VPFo3zSh.js → _CK9tV5oJ.js} +1 -1
  75. package/dist/public/assets/_CK9tV5oJ.js.br +0 -0
  76. package/dist/public/assets/{_DANBCOm8.js → _CQRIuNJi.js} +1 -1
  77. package/dist/public/assets/_CQRIuNJi.js.br +0 -0
  78. package/dist/public/assets/{_CxAIftOa.js → _CUgERK7S.js} +1 -1
  79. package/dist/public/assets/_CUgERK7S.js.br +0 -0
  80. package/dist/public/assets/{_Yb5xKwv4.js → _CV5RGu5i.js} +1 -1
  81. package/dist/public/assets/_CV5RGu5i.js.br +0 -0
  82. package/dist/public/assets/{_BrtordPT.js → _CVtWHYIm.js} +5 -5
  83. package/dist/public/assets/_CVtWHYIm.js.br +0 -0
  84. package/dist/public/assets/{_Ddhg8pUf2.js → _CYUpTPHg2.js} +1 -1
  85. package/dist/public/assets/_CYUpTPHg2.js.br +0 -0
  86. package/dist/public/assets/{_KIdOm5wV.js → _CYemOBLN.js} +1 -1
  87. package/dist/public/assets/_CYemOBLN.js.br +0 -0
  88. package/dist/public/assets/{_tGNZxau42.js → _CZ0_xhSs2.js} +1 -1
  89. package/dist/public/assets/{_B9EjUGkg2.js → _C_mUeGVh2.js} +1 -1
  90. package/dist/public/assets/_C_mUeGVh2.js.br +0 -0
  91. package/dist/public/assets/{_DMyeY0fg.js → _Cb-dgrCB.js} +1 -1
  92. package/dist/public/assets/_Cb-dgrCB.js.br +0 -0
  93. package/dist/public/assets/{_BmgHXWoi.js → _CdAkLhxG.js} +1 -1
  94. package/dist/public/assets/_CdAkLhxG.js.br +0 -0
  95. package/dist/public/assets/{_CN6zO7Nx.js → _Cf4M5kpG.js} +1 -1
  96. package/dist/public/assets/_Cf4M5kpG.js.br +0 -0
  97. package/dist/public/assets/{_C8S11_GE.js → _CoGdSkvu.js} +1 -1
  98. package/dist/public/assets/_CoGdSkvu.js.br +0 -0
  99. package/dist/public/assets/{_BUfH9de1.js → _Cpm5RoWi.js} +1 -1
  100. package/dist/public/assets/_Cpm5RoWi.js.br +0 -0
  101. package/dist/public/assets/{_CBhJbYqJ.js → _CpuBCvd6.js} +1 -1
  102. package/dist/public/assets/_CpuBCvd6.js.br +0 -0
  103. package/dist/public/assets/{_BWPyMgyP2.js → _CsM5ftwz2.js} +1 -1
  104. package/dist/public/assets/_CsM5ftwz2.js.br +0 -0
  105. package/dist/public/assets/{_DIiQj1WK2.js → _CtcH3ZyQ2.js} +1 -1
  106. package/dist/public/assets/_CtcH3ZyQ2.js.br +0 -0
  107. package/dist/public/assets/{_-Z8UOkRe.js → _CyDfS08K.js} +1 -1
  108. package/dist/public/assets/_CyDfS08K.js.br +0 -0
  109. package/dist/public/assets/{_C8tBcmDQ2.js → _D5qcTAVE2.js} +1 -1
  110. package/dist/public/assets/_D5qcTAVE2.js.br +0 -0
  111. package/dist/public/assets/{_Cxc4x3kp2.js → _DAGSDF8g2.js} +1 -1
  112. package/dist/public/assets/_DAGSDF8g2.js.br +0 -0
  113. package/dist/public/assets/{_E92w3rhc.js → _DIBThzVN.js} +1 -1
  114. package/dist/public/assets/_DIBThzVN.js.br +0 -0
  115. package/dist/public/assets/{_Dza3l03i2.js → _DJEzPcA82.js} +1 -1
  116. package/dist/public/assets/_DJEzPcA82.js.br +0 -0
  117. package/dist/public/assets/{_BSES323S.js → _DLBE7zID.js} +1 -1
  118. package/dist/public/assets/_DLBE7zID.js.br +0 -0
  119. package/dist/public/assets/{_DY5rDZr62.js → _DP-5FfqK2.js} +1 -1
  120. package/dist/public/assets/_DP-5FfqK2.js.br +0 -0
  121. package/dist/public/assets/{_BdVI9Fdo.js → _DglnXAKo.js} +1 -1
  122. package/dist/public/assets/_DglnXAKo.js.br +0 -0
  123. package/dist/public/assets/{_DZBUwVb4.js → _Dh3HoKhq.js} +1 -1
  124. package/dist/public/assets/_Dh3HoKhq.js.br +0 -0
  125. package/dist/public/assets/{_ulYs8wvn.js → _DkxpDwXy.js} +1 -1
  126. package/dist/public/assets/_DkxpDwXy.js.br +0 -0
  127. package/dist/public/assets/{_CqCBTa4i2.js → _DoWF8ByT2.js} +1 -1
  128. package/dist/public/assets/_DoWF8ByT2.js.br +0 -0
  129. package/dist/public/assets/{_Rw9EiWl4.js → _HSgzwAmZ.js} +1 -1
  130. package/dist/public/assets/_HSgzwAmZ.js.br +0 -0
  131. package/dist/public/assets/{_7MvaMNIr.js → _J22ldpof.js} +1 -1
  132. package/dist/public/assets/_J22ldpof.js.br +0 -0
  133. package/dist/public/assets/{_C52Kc8e02.js → _J98Rxkdb2.js} +1 -1
  134. package/dist/public/assets/_J98Rxkdb2.js.br +0 -0
  135. package/dist/public/assets/{_6WLgQe1U2.js → _JVw8w_7p2.js} +1 -1
  136. package/dist/public/assets/_JVw8w_7p2.js.br +0 -0
  137. package/dist/public/assets/{_Qnv2YVI1.js → _JoWlQVpX.js} +1 -1
  138. package/dist/public/assets/_JoWlQVpX.js.br +0 -0
  139. package/dist/public/assets/{_CD9LUiA1.js → _TbUx96Br.js} +1 -1
  140. package/dist/public/assets/_TbUx96Br.js.br +0 -0
  141. package/dist/public/assets/{_qR1knnaE.js → _akTAmktB.js} +1 -1
  142. package/dist/public/assets/_akTAmktB.js.br +0 -0
  143. package/dist/public/assets/{_DoJIySsK2.js → _dFDJ9A9g2.js} +1 -1
  144. package/dist/public/assets/_dFDJ9A9g2.js.br +0 -0
  145. package/dist/public/assets/{_DJF1Yq0V.js → _gHuYn_71.js} +1 -1
  146. package/dist/public/assets/_gHuYn_71.js.br +0 -0
  147. package/dist/public/assets/{_CGfW8lhA.js → _j9TQP7q5.js} +1 -1
  148. package/dist/public/assets/_j9TQP7q5.js.br +0 -0
  149. package/dist/public/assets/_sWLklcDZ.js +1 -0
  150. package/dist/public/assets/{_Dev6jrQa.js → _tshHvoEk.js} +1 -1
  151. package/dist/public/assets/_tshHvoEk.js.br +0 -0
  152. package/dist/public/assets/{_BzVV11vP.js → _xVSWwNNy.js} +1 -1
  153. package/dist/public/assets/_xVSWwNNy.js.br +0 -0
  154. package/dist/public/assets/{_BybHWkEd.js → _x_T0NsDl.js} +1 -1
  155. package/dist/public/assets/_x_T0NsDl.js.br +0 -0
  156. package/dist/public/assets/{app-page-DuEXAcnI.css → app-page-LDZ2KXKs.css} +1 -1
  157. package/dist/public/assets/app-page-LDZ2KXKs.css.br +0 -0
  158. package/dist/public/assets/{diff-view-BK4TD-oL.css → diff-view-0Uofj0Dv.css} +1 -1
  159. package/dist/public/assets/diff-view-0Uofj0Dv.css.br +0 -0
  160. package/dist/public/assets/new-CwlftYMt.js +1 -0
  161. package/dist/public/assets/settings-CwlftYMt.js +1 -0
  162. package/dist/public/assets/shiki-wasm-stub-sWLklcDZ.js +1 -0
  163. package/dist/public/assets/w-CwlftYMt.js +1 -0
  164. package/dist/public/assets/w._-BGFF38Oe.js +1 -0
  165. package/dist/public/assets/w._-CwlftYMt.js +1 -0
  166. package/dist/public/assets/{worker-DZo603XT.js → worker-hTZla-j_.js} +1 -1
  167. package/dist/public/assets/worker-hTZla-j_.js.br +0 -0
  168. package/lib/setup/doctor.mjs +15 -1
  169. package/package.json +1 -1
  170. package/scripts/migrate.mjs +25 -0
  171. package/dist/_DHnrMF7e.js +0 -2
  172. package/dist/public/assets/_-Z8UOkRe.js.br +0 -0
  173. package/dist/public/assets/_18MJzEZM.js.br +0 -0
  174. package/dist/public/assets/_6WLgQe1U2.js.br +0 -0
  175. package/dist/public/assets/_7MvaMNIr.js.br +0 -0
  176. package/dist/public/assets/_9m5DBxeF.js.br +0 -0
  177. package/dist/public/assets/_B9EjUGkg2.js.br +0 -0
  178. package/dist/public/assets/_BBji3Y6b.js.br +0 -0
  179. package/dist/public/assets/_BD7DcChF2.js.br +0 -0
  180. package/dist/public/assets/_BK807sss2.js.br +0 -0
  181. package/dist/public/assets/_BRsp-Ky6.js.br +0 -0
  182. package/dist/public/assets/_BSES323S.js.br +0 -0
  183. package/dist/public/assets/_BTgPFRhu2.js.br +0 -0
  184. package/dist/public/assets/_BUfH9de1.js.br +0 -0
  185. package/dist/public/assets/_BWPyMgyP2.js.br +0 -0
  186. package/dist/public/assets/_BZO0Y-8B.js.br +0 -0
  187. package/dist/public/assets/_B_vKus4A2.js.br +0 -0
  188. package/dist/public/assets/_BdCj3x0L2.js.br +0 -0
  189. package/dist/public/assets/_BdVI9Fdo.js.br +0 -0
  190. package/dist/public/assets/_BmgHXWoi.js.br +0 -0
  191. package/dist/public/assets/_BnjxR4X6.js +0 -1
  192. package/dist/public/assets/_BnjxR4X6.js.br +0 -0
  193. package/dist/public/assets/_BqGtsnPj.js.br +0 -0
  194. package/dist/public/assets/_BrtordPT.js.br +0 -0
  195. package/dist/public/assets/_BybHWkEd.js.br +0 -0
  196. package/dist/public/assets/_BzVV11vP.js.br +0 -0
  197. package/dist/public/assets/_C52Kc8e02.js.br +0 -0
  198. package/dist/public/assets/_C8S11_GE.js.br +0 -0
  199. package/dist/public/assets/_C8tBcmDQ2.js.br +0 -0
  200. package/dist/public/assets/_C9uj0n8L.js.br +0 -0
  201. package/dist/public/assets/_CBhJbYqJ.js.br +0 -0
  202. package/dist/public/assets/_CD2VZxgc.js.br +0 -0
  203. package/dist/public/assets/_CD9LUiA1.js.br +0 -0
  204. package/dist/public/assets/_CGfW8lhA.js.br +0 -0
  205. package/dist/public/assets/_CH6beBRd.js.br +0 -0
  206. package/dist/public/assets/_CK_oq_Zy.js.br +0 -0
  207. package/dist/public/assets/_CKsCeryF.js.br +0 -0
  208. package/dist/public/assets/_CN6zO7Nx.js.br +0 -0
  209. package/dist/public/assets/_CT_4aU9v.js.br +0 -0
  210. package/dist/public/assets/_Cc0zTPig.js.br +0 -0
  211. package/dist/public/assets/_CkvKurj3.js.br +0 -0
  212. package/dist/public/assets/_CqCBTa4i2.js.br +0 -0
  213. package/dist/public/assets/_CxAIftOa.js.br +0 -0
  214. package/dist/public/assets/_Cxc4x3kp2.js.br +0 -0
  215. package/dist/public/assets/_D-lWfj_d.js.br +0 -0
  216. package/dist/public/assets/_D1v40D0_.js.br +0 -0
  217. package/dist/public/assets/_D2CBcmy92.js.br +0 -0
  218. package/dist/public/assets/_DANBCOm8.js.br +0 -0
  219. package/dist/public/assets/_DFxITRGV.js.br +0 -0
  220. package/dist/public/assets/_DIcIfpSi2.js.br +0 -0
  221. package/dist/public/assets/_DIiQj1WK2.js.br +0 -0
  222. package/dist/public/assets/_DJF1Yq0V.js.br +0 -0
  223. package/dist/public/assets/_DMyeY0fg.js.br +0 -0
  224. package/dist/public/assets/_DPYxtc2v.js.br +0 -0
  225. package/dist/public/assets/_DY5rDZr62.js.br +0 -0
  226. package/dist/public/assets/_DZBUwVb4.js.br +0 -0
  227. package/dist/public/assets/_DcQSDUkF.js.br +0 -0
  228. package/dist/public/assets/_Ddhg8pUf2.js.br +0 -0
  229. package/dist/public/assets/_Dev6jrQa.js.br +0 -0
  230. package/dist/public/assets/_DoJIySsK2.js.br +0 -0
  231. package/dist/public/assets/_Ds-nHHU4.js.br +0 -0
  232. package/dist/public/assets/_Dza3l03i2.js.br +0 -0
  233. package/dist/public/assets/_E92w3rhc.js.br +0 -0
  234. package/dist/public/assets/_KIdOm5wV.js.br +0 -0
  235. package/dist/public/assets/_KkA9wgSQ.js.br +0 -0
  236. package/dist/public/assets/_Qnv2YVI1.js.br +0 -0
  237. package/dist/public/assets/_RD4UJVHf.js.br +0 -0
  238. package/dist/public/assets/_Rw9EiWl4.js.br +0 -0
  239. package/dist/public/assets/_VPFo3zSh.js.br +0 -0
  240. package/dist/public/assets/_Yb5xKwv4.js.br +0 -0
  241. package/dist/public/assets/_bwdm3qFa.js.br +0 -0
  242. package/dist/public/assets/_nKN2u-0c2.js.br +0 -0
  243. package/dist/public/assets/_qR1knnaE.js.br +0 -0
  244. package/dist/public/assets/_snEbm2Ar2.js.br +0 -0
  245. package/dist/public/assets/_tejT-pAf2.js.br +0 -0
  246. package/dist/public/assets/_ulYs8wvn.js.br +0 -0
  247. package/dist/public/assets/app-page-DuEXAcnI.css.br +0 -0
  248. package/dist/public/assets/diff-view-BK4TD-oL.css.br +0 -0
  249. package/dist/public/assets/new-gddPZdgU.js +0 -1
  250. package/dist/public/assets/settings-gddPZdgU.js +0 -1
  251. package/dist/public/assets/w-gddPZdgU.js +0 -1
  252. package/dist/public/assets/w._-E2EHSRw5.js +0 -1
  253. package/dist/public/assets/w._-gddPZdgU.js +0 -1
  254. package/dist/public/assets/wasm-S0UXjx1m.js +0 -1
  255. package/dist/public/assets/wasm-S0UXjx1m.js.br +0 -0
  256. package/dist/public/assets/worker-DZo603XT.js.br +0 -0
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
2
- import { $ as setSetting, A as setScrapedPhase, B as saveSubscription, C as agentBadge, D as agentMeta, E as agentLabel, F as manifest, G as agentChoices, H as subscribe, I as normalizeAccent, J as enabledAgents, K as allPrefs, L as setInstance, M as ACCENT_RE, N as getInstance, O as clearAgentPhase, P as iconSvg, Q as setPref, R as deleteSubscription, S as blankRow, T as agentFromCommand, U as subscriberCount, V as publish, W as subscriberJoins, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as run, a as ensureTmuxServer, at as which, b as readHookPayload, c as killWorkspaceSessions, ct as agentById, d as newSessionArgs, dt as db, et as discoverAgents, ft as get, g as sessionStates, gt as git, h as sendToSession, ht as gh, i as disposeSessions, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as toolById, m as renameSession, mt as TMUX_SOCKET, n as clearTmuxStarted, nt as ghKnownHosts, o as getSession, ot as DEFAULT_GITHUB_HOST, p as panePids, pt as workspacePath, q as disabledAgents, r as createSession, rt as miseVersions, s as killSession, st as TOOLS, t as cleanEnv, tt as doctor, u as markTmuxStarted, ut as all, v as tmuxWasStarted, vt as tmux, w as agentFamily, x as reportsWorking, y as AGENTS, yt as config, z as pushPublicKey } from "./_b8Fct3kh.js";
3
- import { $ as _content, A as repoLabel, At as attrTag, B as phase, C as sideNavOpen, Ct as _serialize_if, D as icon_xmark_default, Dt as _to_text, E as toast_default, Et as _template, H as $global, I as iconBtnRow, J as _attr_or, K as _attr_input_value, L as iconBtnXs, M as setPrimaryHost, Mt as withPageAssets, N as btnLg, Nt as writeScope, O as icon_base_default, Ot as _trailers, P as btnSm, Q as _attrs_partial, R as inputLg, S as setWorkspaceTab, St as _serialize_guard, T as workspaceTab, Tt as _subscribe, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, Z as _attrs, _t as _scope_id, at as _escape, bt as _script, c as icon_arrow_up_default, ct as _for_of, d as iconBtn$2, dt as _html, et as _content_resume, f as row, ft as _id, gt as _resume_branch, ht as _resume, i as icon_sidebar_default, it as _el_resume, j as repoWebUrl$1, jt as forOf, k as parseRepoUrl, kt as _var, l as icon_back_default, lt as _hoist, mt as _peek_scope_id, n as findIconBtn, o as rankRepos, ot as _existing_scope, p as sectionCount$1, pt as _if, q as _attr_option_value, r as findInput, rt as _el_read_error, s as icon_search_default, st as _flush_head, t as icon_arrow_down_default, tt as _dynamic_tag, u as icon_refresh_default, ut as _hoist_read_error, v as ignoredSsoOrgs, vt as _scope_reason, w as theme, wt as _set_serialize_reason, x as setTheme, xt as _sep, yt as _scope_with_id, z as metaTrunc } from "./_BBnpIqz1.js";
2
+ import { $ as setSetting, A as setScrapedPhase, B as saveSubscription, C as agentBadge, D as agentMeta, E as agentLabel, F as manifest, G as agentChoices, H as subscribe, I as normalizeAccent, J as enabledAgents, K as allPrefs, L as setInstance, M as ACCENT_RE, N as getInstance, O as clearAgentPhase, P as iconSvg, Q as setPref, R as deleteSubscription, S as blankRow, T as agentFromCommand, U as subscriberCount, V as publish, W as subscriberJoins, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as run, a as ensureTmuxServer, at as which, b as readHookPayload, c as killWorkspaceSessions, ct as agentById, d as newSessionArgs, dt as db, et as discoverAgents, ft as get, g as sessionStates, gt as git, h as sendToSession, ht as gh, i as disposeSessions, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as toolById, m as renameSession, mt as TMUX_SOCKET, n as clearTmuxStarted, nt as ghKnownHosts, o as getSession, ot as DEFAULT_GITHUB_HOST, p as panePids, pt as workspacePath, q as disabledAgents, r as createSession, rt as miseVersions, s as killSession, st as TOOLS, t as cleanEnv, tt as doctor, u as markTmuxStarted, ut as all, v as tmuxWasStarted, vt as tmux, w as agentFamily, x as reportsWorking, y as AGENTS, yt as config, z as pushPublicKey } from "./_DE2RUdbF.js";
3
+ import { $ as _content, A as repoLabel, At as attrTag, B as phase, C as sideNavOpen, Ct as _serialize_if, D as icon_xmark_default, Dt as _to_text, E as toast_default, Et as _template, H as $global, I as iconBtnRow, J as _attr_or, K as _attr_input_value, L as iconBtnXs, M as setPrimaryHost, Mt as withPageAssets, N as btnLg, Nt as writeScope, O as icon_base_default, Ot as _trailers, P as btnSm, Q as _attrs_partial, R as inputLg, S as setWorkspaceTab, St as _serialize_guard, T as workspaceTab, Tt as _subscribe, U as _attr, V as tone, W as _attr_class, X as _attr_style, Y as _attr_select_value, Z as _attrs, _t as _scope_id, at as _escape, bt as _script, c as icon_arrow_up_default, ct as _for_of, d as iconBtn$2, dt as _html, et as _content_resume, f as row, ft as _id, gt as _resume_branch, ht as _resume, i as icon_sidebar_default, it as _el_resume, j as repoWebUrl$1, jt as forOf, k as parseRepoUrl, kt as _var, l as icon_back_default, lt as _hoist, mt as _peek_scope_id, n as findIconBtn, o as rankRepos, ot as _existing_scope, p as sectionCount$1, pt as _if, q as _attr_option_value, r as findInput, rt as _el_read_error, s as icon_search_default, st as _flush_head, t as icon_arrow_down_default, tt as _dynamic_tag, u as icon_refresh_default, ut as _hoist_read_error, v as ignoredSsoOrgs, vt as _scope_reason, w as theme, wt as _set_serialize_reason, x as setTheme, xt as _sep, yt as _scope_with_id, z as metaTrunc } from "./_EzN3zMKL.js";
4
4
  import fs from "node:fs";
5
5
  import { createServer } from "node:http";
6
6
  import path from "node:path";
@@ -1662,8 +1662,10 @@ var LIST_FIELDS = "nameWithOwner,defaultBranchRef,isArchived,parent";
1662
1662
  var LIST_FIELDS_NO_PARENT = "nameWithOwner,defaultBranchRef,isArchived";
1663
1663
  /** Orgs that still need SAML SSO for this host's gh token. Memberships
1664
1664
  * list them even when unauthorized; probing `orgs/<login>` yields the
1665
- * authorize URL via `X-GitHub-SSO`. URLs expire (~1h) short TTL only. */
1666
- var ssoCache = swr(6e4, (host) => probePendingSso(host));
1665
+ * authorize URL via `X-GitHub-SSO`. Authorize URLs live ~1 h; both
1666
+ * authorize flows pass `refresh=true`, so a 15 min TTL is enough and
1667
+ * keeps the status poll from re-probing every minute. */
1668
+ var ssoCache = swr(9e5, (host) => probePendingSso(host));
1667
1669
  function pendingSsoOrgs(host, refresh = false) {
1668
1670
  return ssoCache(host, refresh);
1669
1671
  }
@@ -1930,7 +1932,15 @@ function inside(cwd, root) {
1930
1932
  async function portsByWorkspace(paths) {
1931
1933
  const result = /* @__PURE__ */ new Map();
1932
1934
  const canonical = new Map([...paths].map(([wsId, p]) => [wsId, realPath(p)]));
1933
- const [ports, cwds] = await Promise.all([listeningPorts(), processCwds()]);
1935
+ const [ports, cwds] = darwin ? await Promise.all([listeningPorts(), processCwds()]) : await (async () => {
1936
+ const ports = await listeningPorts();
1937
+ const cwds = /* @__PURE__ */ new Map();
1938
+ await Promise.all([...new Set(ports.map((p) => p.pid))].map(async (pid) => {
1939
+ const cwd = await readCwd(pid);
1940
+ if (cwd) cwds.set(pid, cwd);
1941
+ }));
1942
+ return [ports, cwds];
1943
+ })();
1934
1944
  for (const info of ports) {
1935
1945
  const cwd = cwds.get(info.pid);
1936
1946
  if (!cwd) continue;
@@ -2165,10 +2175,10 @@ async function createWorkspace(name, repos) {
2165
2175
  const added = [];
2166
2176
  fs.mkdirSync(dir, { recursive: true });
2167
2177
  try {
2168
- for (const repo of repos) {
2178
+ const results = await Promise.allSettled(repos.map(async (repo) => {
2169
2179
  const worktree = siblings.get(repo.fullName);
2170
2180
  const fullName = await resolveFork(repo);
2171
- const row = await withRepoLock(fullName, async () => {
2181
+ return withRepoLock(fullName, async () => {
2172
2182
  const bare = await ensureBare(fullName);
2173
2183
  const defaultBranch = await bareDefaultBranch(bare);
2174
2184
  const base = repo.baseBranch || defaultBranch;
@@ -2180,8 +2190,10 @@ async function createWorkspace(name, repos) {
2180
2190
  default_branch: defaultBranch
2181
2191
  };
2182
2192
  });
2183
- added.push(row);
2184
- }
2193
+ }));
2194
+ for (const r of results) if (r.status === "fulfilled") added.push(r.value);
2195
+ const failed = results.find((r) => r.status === "rejected");
2196
+ if (failed && failed.status === "rejected") throw failed.reason;
2185
2197
  } catch (err) {
2186
2198
  for (const r of added) await withRepoLock(r.full_name, () => git([
2187
2199
  "worktree",
@@ -2286,6 +2298,7 @@ async function deleteWorkspace(id) {
2286
2298
  const sessions = listSessions(id);
2287
2299
  db.prepare("DELETE FROM workspaces WHERE id = ?").run(id);
2288
2300
  db.prepare("DELETE FROM settings WHERE key = ?").run(`review.seen:${id}`);
2301
+ db.prepare("DELETE FROM settings WHERE key IN (?, ?, ?)").run(`ui.tab:${id}`, `ui.diff-filter:${id}`, `ui.diff-pos:${id}`);
2289
2302
  notifyWorkspacesChanged();
2290
2303
  progress$1(`Stopping sessions and processes…`);
2291
2304
  await disposeSessions(sessions);
@@ -3350,13 +3363,15 @@ function withoutDismissed(workspaceId, fullName, list) {
3350
3363
  }
3351
3364
  //#endregion
3352
3365
  //#region src/server/git-refs.ts
3353
- /** The checked-out commit of a worktree, read off disk instead of spawned.
3366
+ /** The checked-out commit (and branch name) of a worktree, read off disk
3367
+ * instead of spawned.
3354
3368
  *
3355
- * Every status tick needs this for every repo of every active workspace —
3369
+ * Every status tick needs the oid for every repo of every active workspace —
3356
3370
  * it is what tells an open review that an agent committed, since a local
3357
- * commit reaches GitHub through nothing the app can be told about. As a
3358
- * process per repo per tick that was the bulk of the git the server ran;
3359
- * the same answer is three small file reads.
3371
+ * commit reaches GitHub through nothing the app can be told about. Diff
3372
+ * loads also need the branch; both answers come from the same HEAD read.
3373
+ * As a process per repo per tick that was the bulk of the git the server
3374
+ * ran; the same answer is three small file reads.
3360
3375
  *
3361
3376
  * `git` stays the authority for anything this cannot read confidently: a
3362
3377
  * ref backend it does not understand, a chain that does not end in an oid,
@@ -3364,7 +3379,17 @@ function withoutDismissed(workspaceId, fullName, list) {
3364
3379
  * because the drift banner reads a stale oid as "your checkout differs
3365
3380
  * from the review". */
3366
3381
  async function headOid(dir) {
3367
- return await readHead(dir).catch(() => "") || spawnHead(dir);
3382
+ const read = await readHead(dir).catch(() => null);
3383
+ if (read) return read;
3384
+ const [oid, branch] = await Promise.all([spawnHead(dir), git([
3385
+ "rev-parse",
3386
+ "--abbrev-ref",
3387
+ "HEAD"
3388
+ ], dir).catch(() => "HEAD")]);
3389
+ return {
3390
+ oid,
3391
+ branch
3392
+ };
3368
3393
  }
3369
3394
  var spawnHead = (dir) => git(["rev-parse", "HEAD"], dir).catch(() => "");
3370
3395
  /** Both hash algorithms, since a repo may be SHA-256. */
@@ -3373,8 +3398,17 @@ var OID = /^[0-9a-f]{40}(?:[0-9a-f]{24})?$/;
3373
3398
  var MAX_HOPS = 5;
3374
3399
  async function readHead(dir) {
3375
3400
  const { gitDir, common } = await gitDirs(dir);
3376
- if (await exists(path.join(common, "reftable"))) return "";
3401
+ if (await exists(path.join(common, "reftable"))) return null;
3377
3402
  let ref = (await fsp.readFile(path.join(gitDir, "HEAD"), "utf8")).trim();
3403
+ let branch = "HEAD";
3404
+ if (ref.startsWith("ref: ")) {
3405
+ const name = ref.slice(5).trim();
3406
+ if (name.startsWith("refs/heads/")) branch = name.slice(11);
3407
+ } else if (OID.test(ref)) return {
3408
+ oid: ref,
3409
+ branch: "HEAD"
3410
+ };
3411
+ else return null;
3378
3412
  for (let hop = 0; ref.startsWith("ref: ") && hop < MAX_HOPS; hop++) {
3379
3413
  const name = ref.slice(5).trim();
3380
3414
  const loose = await read(path.join(gitDir, name)) ?? await read(path.join(common, name));
@@ -3383,12 +3417,21 @@ async function readHead(dir) {
3383
3417
  continue;
3384
3418
  }
3385
3419
  const packed = await read(path.join(common, "packed-refs"));
3386
- if (packed === void 0) return "";
3420
+ if (packed === void 0) return {
3421
+ oid: "",
3422
+ branch
3423
+ };
3387
3424
  const line = packed.split("\n").find((l) => !l.startsWith("^") && l.endsWith(` ${name}`));
3388
- if (!line) return "";
3425
+ if (!line) return {
3426
+ oid: "",
3427
+ branch
3428
+ };
3389
3429
  ref = line.slice(0, line.indexOf(" "));
3390
3430
  }
3391
- return OID.test(ref) ? ref : "";
3431
+ return OID.test(ref) ? {
3432
+ oid: ref,
3433
+ branch
3434
+ } : null;
3392
3435
  }
3393
3436
  /** A worktree's `.git` is a file pointing at its admin directory inside the
3394
3437
  * shared bare cache, which in turn points back at the common ref store. */
@@ -3531,7 +3574,7 @@ async function computeStatus() {
3531
3574
  }
3532
3575
  async function repoStatus(ws, repo, foreign) {
3533
3576
  const dir = path.join(ws.path, repo.worktree);
3534
- const [repoPrs, localHead] = await Promise.all([workspacePrs(repo.full_name, ws.branch, foreign).then((list) => withoutDismissed(ws.id, repo.full_name, list)), headOid(dir)]);
3577
+ const [repoPrs, localHead] = await Promise.all([workspacePrs(repo.full_name, ws.branch, foreign).then((list) => withoutDismissed(ws.id, repo.full_name, list)), headOid(dir).then((h) => h.oid)]);
3535
3578
  return {
3536
3579
  full_name: repo.full_name,
3537
3580
  worktree: repo.worktree,
@@ -3580,11 +3623,12 @@ var QUICK_MS = 80;
3580
3623
  var _middleware_default$3 = Run.ALL(async (_ctx, next) => {
3581
3624
  const statusP = statusForAll();
3582
3625
  const quick = await Promise.race([statusP.then((s) => ({ s })), sleep(QUICK_MS).then(() => null)]).catch(() => null);
3626
+ const agents = enabledAgents();
3583
3627
  const res = await next({
3584
3628
  workspaces: listWorkspaces(),
3585
3629
  settings: {
3586
- preferredAgent: preferredAgent(),
3587
- agents: enabledAgents(),
3630
+ preferredAgent: preferredAgent(agents),
3631
+ agents,
3588
3632
  instance: getInstance()
3589
3633
  },
3590
3634
  prefs: allPrefs(),
@@ -3942,9 +3986,9 @@ function applyInstance(inst) {
3942
3986
  }
3943
3987
  //#endregion
3944
3988
  //#region src/tags/settings-page.css.ts
3945
- var content$2 = "_cb _bo _bp";
3946
- var agentGrid = "_cf _bz";
3947
- var toolGrid = "_cp _bz";
3989
+ var content$2 = "_cb _bE _bF";
3990
+ var agentGrid = "_cf _bq";
3991
+ var toolGrid = "_cp _bq";
3948
3992
  var themeSeg = "_cE _5";
3949
3993
  var swatches = "_cM _5";
3950
3994
  //#endregion
@@ -3952,7 +3996,7 @@ var swatches = "_cM _5";
3952
3996
  var page_head_default = _template("r", (input) => {
3953
3997
  const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions = _serialize_guard($scope0_reason, 3), $sg__input_meta = _serialize_guard($scope0_reason, 6), $sg__input_actions = _serialize_guard($scope0_reason, 7), $si__input_backHref__OR__input_onBack = _serialize_if($scope0_reason, 1), $si__input_meta = _serialize_if($scope0_reason, 6), $si__input_actions = _serialize_if($scope0_reason, 7);
3954
3998
  const $scope0_id = _scope_id();
3955
- _html(`<header${_attr_class("_bq")}>`);
3999
+ _html(`<header${_attr_class("_bG")}>`);
3956
4000
  _if(() => {
3957
4001
  if (input.backHref) {
3958
4002
  const $scope1_id = _scope_id();
@@ -3971,11 +4015,11 @@ var page_head_default = _template("r", (input) => {
3971
4015
  return 1;
3972
4016
  }
3973
4017
  }, $scope0_id, "b", _serialize_guard($scope0_reason, 2), _serialize_guard($scope0_reason, 1), $sg__input_backHref__OR__input_onBack__OR__input_meta__OR__input_actions, 0, 1);
3974
- _html(`<div${_attr_class("_bs")}><h1${_attr("id", input.titleId)}${_attr_class("_br")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
4018
+ _html(`<div${_attr_class("_bI")}><h1${_attr("id", input.titleId)}${_attr_class("_bH")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
3975
4019
  _if(() => {
3976
4020
  if (input.meta) {
3977
4021
  const $scope3_id = _scope_id();
3978
- _html(`<p${_attr_class("_bt")}>`);
4022
+ _html(`<p${_attr_class("_bJ")}>`);
3979
4023
  _dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
3980
4024
  _html("</p>");
3981
4025
  $si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
@@ -3986,7 +4030,7 @@ var page_head_default = _template("r", (input) => {
3986
4030
  _if(() => {
3987
4031
  if (input.actions) {
3988
4032
  const $scope4_id = _scope_id();
3989
- _html(`<div${_attr_class("_bu")}>`);
4033
+ _html(`<div${_attr_class("_bK")}>`);
3990
4034
  _dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
3991
4035
  _html("</div>");
3992
4036
  $si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -4054,7 +4098,7 @@ var icon_agent_default = _template("G", (input) => {
4054
4098
  n: $badge__closures
4055
4099
  });
4056
4100
  });
4057
- var usageNote = "_e6 _R";
4101
+ var usageNote = "_di _R";
4058
4102
  //#endregion
4059
4103
  //#region src/tags/icons/icon-warning.marko
4060
4104
  var icon_warning_default = _template("jb", (input) => {
@@ -4084,11 +4128,11 @@ var usage_meters_default = _template("D", (input) => {
4084
4128
  const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
4085
4129
  const $scope0_id = _scope_id();
4086
4130
  const agent = input.agent;
4087
- _html(`<div${_attr_class(["_e0", { ["_e1"]: input.hideName }])}><div${_attr_class("_e2")}>`);
4131
+ _html(`<div${_attr_class(["_dc", { ["_dd"]: input.hideName }])}><div${_attr_class("_de")}>`);
4088
4132
  _if(() => {
4089
4133
  if (!input.hideName) {
4090
4134
  const $scope1_id = _scope_id();
4091
- _html(`<strong${_attr_class("_fk")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
4135
+ _html(`<strong${_attr_class("_dx")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
4092
4136
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
4093
4137
  return 0;
4094
4138
  }
@@ -4096,7 +4140,7 @@ var usage_meters_default = _template("D", (input) => {
4096
4140
  _if(() => {
4097
4141
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
4098
4142
  const $scope2_id = _scope_id();
4099
- _html(`<span${_attr_class("_e3")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
4143
+ _html(`<span${_attr_class("_df")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
4100
4144
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
4101
4145
  return 0;
4102
4146
  }
@@ -4104,21 +4148,21 @@ var usage_meters_default = _template("D", (input) => {
4104
4148
  _if(() => {
4105
4149
  if (agent.stale_seconds != null) {
4106
4150
  const $scope3_id = _scope_id();
4107
- _html(`<span${_attr_class("_e4")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
4151
+ _html(`<span${_attr_class("_dg")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
4108
4152
  icon_warning_default({ size: 12 });
4109
4153
  _html(` ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "c", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
4110
4154
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
4111
4155
  return 0;
4112
4156
  }
4113
4157
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
4114
- _html(`</div><div${_attr_class(["_e5", { ["_fl"]: agent.stale_seconds != null }])}>`);
4158
+ _html(`</div><div${_attr_class(["_dh", { ["_dy"]: agent.stale_seconds != null }])}>`);
4115
4159
  _for_of(agent.windows || [], (win) => {
4116
4160
  const $scope4_id = _scope_id();
4117
4161
  const pct = pctText(win.used_percent);
4118
4162
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
4119
- const fillClass = win.used_percent >= 90 ? "_fd" : win.used_percent >= 70 ? "_fc" : win.used_percent >= 40 ? "_fb" : "_fa";
4120
- const pctClass = win.used_percent >= 90 ? "_fi" : win.used_percent >= 70 ? "_fh" : win.used_percent >= 40 ? "_fg" : "_ff";
4121
- _html(`<div${_attr_class("_e7")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_e8")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_e9")}><span${_attr_class(["_e_", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_fe", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fj")}>`);
4163
+ const fillClass = win.used_percent >= 90 ? "_dq" : win.used_percent >= 70 ? "_dp" : win.used_percent >= 40 ? "_do" : "_dn";
4164
+ const pctClass = win.used_percent >= 90 ? "_dv" : win.used_percent >= 70 ? "_du" : win.used_percent >= 40 ? "_dt" : "_ds";
4165
+ _html(`<div${_attr_class("_dj")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_dk")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_dl")}><span${_attr_class(["_dm", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_dr", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_dw")}>`);
4122
4166
  _if(() => {
4123
4167
  if (label) {
4124
4168
  const $scope6_id = _scope_id();
@@ -4197,14 +4241,14 @@ var sso_auth_default = _template("z", (input) => {
4197
4241
  localCode = null;
4198
4242
  }
4199
4243
  }, "z0", $scope0_id);
4200
- _html(`<div${_attr_class("_eO")}>`);
4244
+ _html(`<div${_attr_class("_dz")}>`);
4201
4245
  _if(() => {
4202
4246
  if (input.items.length) {
4203
4247
  const $scope1_id = _scope_id();
4204
- _html(`<p${_attr_class("_eZ")}>GitHub CLI needs org SSO for ${_sep($sg__input_items)}${_escape(input.items.map((s) => s.org).join(", "))}${_el_resume($scope1_id, "b", $sg__input_items)}.</p><ul${_attr_class("_eP")}>`);
4248
+ _html(`<p${_attr_class("_dK")}>GitHub CLI needs org SSO for ${_sep($sg__input_items)}${_escape(input.items.map((s) => s.org).join(", "))}${_el_resume($scope1_id, "b", $sg__input_items)}.</p><ul${_attr_class("_dA")}>`);
4205
4249
  _for_of(input.items, (s) => {
4206
4250
  const $scope2_id = _scope_id();
4207
- _html(`<li${_attr_class("_eQ")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class("_eR")}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
4251
+ _html(`<li${_attr_class("_dB")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class("_dC")}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
4208
4252
  icon_xmark_default({ size: 11 });
4209
4253
  _html(`</button>${_el_resume($scope2_id, "c")}</li>`);
4210
4254
  _script($scope2_id, "z1");
@@ -4213,17 +4257,17 @@ var sso_auth_default = _template("z", (input) => {
4213
4257
  _: _scope_with_id($scope1_id)
4214
4258
  }));
4215
4259
  }, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
4216
- _html(`<div${_attr_class("_eS")}>`);
4260
+ _html(`<div${_attr_class("_dD")}>`);
4217
4261
  _if(() => {
4218
4262
  if (busy && authCode$2) {
4219
4263
  const $scope5_id = _scope_id();
4220
- _html(`<span${_attr_class("_eT")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_eU")}>${_escape(authCode$2)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_eV")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
4264
+ _html(`<span${_attr_class("_dE")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_dF")}>${_escape(authCode$2)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_dG")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
4221
4265
  _script($scope5_id, "z2");
4222
4266
  _subscribe($authCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
4223
4267
  return 0;
4224
4268
  } else if (busy) {
4225
4269
  const $scope8_id = _scope_id();
4226
- _html(`<span${_attr_class("_eT")}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</span>`);
4270
+ _html(`<span${_attr_class("_dE")}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</span>`);
4227
4271
  writeScope($scope8_id, {});
4228
4272
  return 1;
4229
4273
  } else {
@@ -4237,7 +4281,7 @@ var sso_auth_default = _template("z", (input) => {
4237
4281
  _if(() => {
4238
4282
  if (localError) {
4239
4283
  const $scope6_id = _scope_id();
4240
- _html(`<p${_attr_class("_eZ")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
4284
+ _html(`<p${_attr_class("_dK")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
4241
4285
  _subscribe($localError__closures, writeScope($scope6_id, {}));
4242
4286
  return 0;
4243
4287
  }
@@ -4249,10 +4293,10 @@ var sso_auth_default = _template("z", (input) => {
4249
4293
  _if(() => {
4250
4294
  if (skipped$1.length) {
4251
4295
  const $scope3_id = _scope_id();
4252
- _html(`<p${_attr_class("_eW")}>Skipped SSO for `);
4296
+ _html(`<p${_attr_class("_dH")}>Skipped SSO for `);
4253
4297
  _for_of(skipped$1, (s) => {
4254
4298
  const $scope4_id = _scope_id();
4255
- _html(`<span${_attr_class("_eX")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_eY")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
4299
+ _html(`<span${_attr_class("_dI")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_dJ")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
4256
4300
  _script($scope4_id, "z4");
4257
4301
  writeScope($scope4_id, {
4258
4302
  f: s?.org,
@@ -4327,7 +4371,7 @@ var modal_view_default = _template("p", (input) => {
4327
4371
  const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
4328
4372
  const dismissable = input.dismissable !== false;
4329
4373
  let open = input.open;
4330
- _html(`<dialog${_attr_class(["_gv", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
4374
+ _html(`<dialog${_attr_class(["_fw", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
4331
4375
  ...htmlInput,
4332
4376
  open: null
4333
4377
  }, {
@@ -4337,20 +4381,20 @@ var modal_view_default = _template("p", (input) => {
4337
4381
  closedby: 1,
4338
4382
  "on-cancel": 1,
4339
4383
  "on-close": 1
4340
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_gw")}>`);
4384
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_fx")}>`);
4341
4385
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
4342
4386
  _html("</div>");
4343
4387
  _if(() => {
4344
4388
  if (footer) {
4345
4389
  const $scope1_id = _scope_id();
4346
- _html(`<form method=dialog${_attr_class("_gx")}>`);
4390
+ _html(`<form method=dialog${_attr_class("_fy")}>`);
4347
4391
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
4348
4392
  _html("</form>");
4349
4393
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
4350
4394
  return 0;
4351
4395
  } else if (input.openChange) {
4352
4396
  const $scope2_id = _scope_id();
4353
- _html(`<form method=dialog${_attr_class("_gx")}>`);
4397
+ _html(`<form method=dialog${_attr_class("_fy")}>`);
4354
4398
  dialog_close_default({
4355
4399
  class: ["_o", "_p"],
4356
4400
  content: _content("p0", () => {
@@ -4409,7 +4453,7 @@ var prompt_dialog_default = _template("s", (input) => {
4409
4453
  const $childScope = _peek_scope_id();
4410
4454
  modal_view_default({
4411
4455
  label: input.label,
4412
- class: "_eM",
4456
+ class: "_da",
4413
4457
  open: input.open,
4414
4458
  openChange: input.openChange,
4415
4459
  "aria-labelledby": titleId,
@@ -4432,7 +4476,7 @@ var prompt_dialog_default = _template("s", (input) => {
4432
4476
  content: _content("s6", () => {
4433
4477
  _scope_reason();
4434
4478
  const $scope2_id = _scope_id();
4435
- _html(`<h2${_attr_class("_eN")}${_attr("id", titleId)}>${_escape(input.label)}${_el_resume($scope2_id, "b", $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
4479
+ _html(`<h2${_attr_class("_db")}${_attr("id", titleId)}>${_escape(input.label)}${_el_resume($scope2_id, "b", $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
4436
4480
  value = _new_value;
4437
4481
  }, "s0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
4438
4482
  _script($scope2_id, "s4");
@@ -4814,7 +4858,7 @@ var settings_page_default = _template("v", (input) => {
4814
4858
  const githubId = _id();
4815
4859
  const machineId = _id();
4816
4860
  const skillsId = _id();
4817
- _html(`<div${_attr_class("_bm")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bn")}><div${_attr_class(content$2)}>`);
4861
+ _html(`<div${_attr_class("_bC")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bD")}><div${_attr_class(content$2)}>`);
4818
4862
  _set_serialize_reason({
4819
4863
  0: _serialize_guard($scope0_reason, 4),
4820
4864
  1: $sg__input_backHref__OR__input_onExit,
@@ -4921,7 +4965,7 @@ var settings_page_default = _template("v", (input) => {
4921
4965
  return 0;
4922
4966
  }
4923
4967
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
4924
- _html(`<section${_attr_class("_bw")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bx")}><h2${_attr("id", agentsId)}${_attr_class("_bK")}>Agents</h2><div${_attr_class("_x")}></div><label${_attr_class("_ch")}><span${_attr_class("_R")}>Default</span><span${_attr_class("_m")}>`);
4968
+ _html(`<section${_attr_class("_bn")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bo")}><h2${_attr("id", agentsId)}${_attr_class("_bB")}>Agents</h2><div${_attr_class("_x")}></div><label${_attr_class("_ch")}><span${_attr_class("_R")}>Default</span><span${_attr_class("_m")}>`);
4925
4969
  _attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
4926
4970
  setPreferred(v);
4927
4971
  }, "v2", $scope0_id), () => {
@@ -4946,14 +4990,14 @@ var settings_page_default = _template("v", (input) => {
4946
4990
  const rows = lone ? [] : a.instances;
4947
4991
  const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
4948
4992
  const extraAccounts = a.installed ? strayAccountsFor(a) : [];
4949
- _html(`<li${_attr_class(["_bB", "_cg"])}><div${_attr_class(["_cj", { ["_cm"]: lone && !lone.enabled }])}>`);
4993
+ _html(`<li${_attr_class(["_bs", "_cg"])}><div${_attr_class(["_cj", { ["_cm"]: lone && !lone.enabled }])}>`);
4950
4994
  _set_serialize_reason(12);
4951
4995
  const $childScope4 = _peek_scope_id();
4952
4996
  icon_agent_default({
4953
4997
  agent: a.id,
4954
4998
  size: 18
4955
4999
  });
4956
- _html(`<div${_attr_class("_bC")}><span${_attr_class("_bE")}><span${_attr_class("_bD")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
5000
+ _html(`<div${_attr_class("_bt")}><span${_attr_class("_bv")}><span${_attr_class("_bu")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
4957
5001
  _if(() => {
4958
5002
  if (lone && input.preferred === lone.id) {
4959
5003
  const $scope70_id = _scope_id();
@@ -4971,7 +5015,7 @@ var settings_page_default = _template("v", (input) => {
4971
5015
  return 0;
4972
5016
  } else if (!a.installed) {
4973
5017
  const $scope71_id = _scope_id();
4974
- _html(`<span${_attr_class("_bF")}>Not installed</span>`);
5018
+ _html(`<span${_attr_class("_bw")}>Not installed</span>`);
4975
5019
  writeScope($scope71_id, {});
4976
5020
  return 1;
4977
5021
  }
@@ -5089,7 +5133,7 @@ var settings_page_default = _template("v", (input) => {
5089
5133
  }, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
5090
5134
  _for_of(otherUsage, (u) => {
5091
5135
  const $scope76_id = _scope_id();
5092
- _html(`<li${_attr_class(["_bB", "_cg"])}>`);
5136
+ _html(`<li${_attr_class(["_bs", "_cg"])}>`);
5093
5137
  _set_serialize_reason(6);
5094
5138
  const $childScope9 = _peek_scope_id();
5095
5139
  usage_meters_default({ agent: u });
@@ -5100,17 +5144,17 @@ var settings_page_default = _template("v", (input) => {
5100
5144
  _if(() => {
5101
5145
  if (!usage && families.length) {
5102
5146
  const $scope77_id = _scope_id();
5103
- _html(`<p${_attr_class("_bH")}><span${_attr_class("_E")}></span> Loading usage…</p>`);
5147
+ _html(`<p${_attr_class("_by")}><span${_attr_class("_E")}></span> Loading usage…</p>`);
5104
5148
  writeScope($scope77_id, {});
5105
5149
  return 0;
5106
5150
  } else if (usage?.error) {
5107
5151
  const $scope7_id = _scope_id();
5108
- _html(`<p${_attr_class("_bH")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
5152
+ _html(`<p${_attr_class("_by")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
5109
5153
  writeScope($scope7_id, {});
5110
5154
  return 1;
5111
5155
  }
5112
5156
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
5113
- _html(`</section><section${_attr_class("_bw")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bx")}><h2${_attr("id", githubId)}${_attr_class("_bK")}>GitHub</h2></div><ul${_attr_class("_bz")}>`);
5157
+ _html(`</section><section${_attr_class("_bn")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bo")}><h2${_attr("id", githubId)}${_attr_class("_bB")}>GitHub</h2></div><ul${_attr_class("_bq")}>`);
5114
5158
  _for_of(setup?.github || [], (h) => {
5115
5159
  const $scope12_id = _scope_id();
5116
5160
  const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
@@ -5124,7 +5168,7 @@ var settings_page_default = _template("v", (input) => {
5124
5168
  const skippedSso = (() => {
5125
5169
  return (h.sso || []).filter((s) => ignoredSso.has(s.org));
5126
5170
  })();
5127
- _html(`<li${_attr_class(["_bB", "_cy"])}><div${_attr_class("_cz")}><div${_attr_class("_bC")}><span${_attr_class("_bE")}><span${_attr_class(["_bD", "_w"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
5171
+ _html(`<li${_attr_class(["_bs", "_cy"])}><div${_attr_class("_cz")}><div${_attr_class("_bt")}><span${_attr_class("_bv")}><span${_attr_class(["_bu", "_w"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
5128
5172
  _if(() => {
5129
5173
  if (h.isEnterprise) {
5130
5174
  const $scope80_id = _scope_id();
@@ -5147,12 +5191,12 @@ var settings_page_default = _template("v", (input) => {
5147
5191
  return 1;
5148
5192
  } else if (h.authed) {
5149
5193
  const $scope78_id = _scope_id();
5150
- _html(`<span${_attr_class("_bF")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope78_id, "b")}</span>`);
5194
+ _html(`<span${_attr_class("_bw")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope78_id, "b")}</span>`);
5151
5195
  writeScope($scope78_id, {});
5152
5196
  return 2;
5153
5197
  } else {
5154
5198
  const $scope79_id = _scope_id();
5155
- _html(`<span${_attr_class("_bF")}>${_escape(h.error || "Not signed in")}${_el_resume($scope79_id, "b")}</span>`);
5199
+ _html(`<span${_attr_class("_bw")}>${_escape(h.error || "Not signed in")}${_el_resume($scope79_id, "b")}</span>`);
5156
5200
  writeScope($scope79_id, {});
5157
5201
  return 3;
5158
5202
  }
@@ -5183,7 +5227,7 @@ var settings_page_default = _template("v", (input) => {
5183
5227
  if (h.isEnterprise) {
5184
5228
  const $scope35_id = _scope_id();
5185
5229
  _html(`<button${_attr_class([
5186
- "_bG",
5230
+ "_bx",
5187
5231
  "_1",
5188
5232
  "_2",
5189
5233
  { ["_q"]: confirmingRemove === h.host }
@@ -5259,7 +5303,7 @@ var settings_page_default = _template("v", (input) => {
5259
5303
  _if(() => {
5260
5304
  if (setup && !setup.github.length) {
5261
5305
  const $scope83_id = _scope_id();
5262
- _html(`<p${_attr_class("_bH")}>Install the GitHub CLI below to sign in.</p>`);
5306
+ _html(`<p${_attr_class("_by")}>Install the GitHub CLI below to sign in.</p>`);
5263
5307
  writeScope($scope83_id, {});
5264
5308
  return 0;
5265
5309
  }
@@ -5280,7 +5324,7 @@ var settings_page_default = _template("v", (input) => {
5280
5324
  return 0;
5281
5325
  }
5282
5326
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
5283
- _html(`</section><section${_attr_class("_bw")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bx")}><h2${_attr("id", machineId)}${_attr_class("_bK")}>Machine</h2>`);
5327
+ _html(`</section><section${_attr_class("_bn")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bo")}><h2${_attr("id", machineId)}${_attr_class("_bB")}>Machine</h2>`);
5284
5328
  _if(() => {
5285
5329
  if (missingCount) {
5286
5330
  const $scope64_id = _scope_id();
@@ -5320,7 +5364,7 @@ var settings_page_default = _template("v", (input) => {
5320
5364
  _if(() => {
5321
5365
  if (setup && !setup.mise.installed) {
5322
5366
  const $scope17_id = _scope_id();
5323
- _html(`<p${_attr_class("_bH")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope17_id, "c")}</button>${_el_resume($scope17_id, "b")}</p>`);
5367
+ _html(`<p${_attr_class("_by")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope17_id, "c")}</button>${_el_resume($scope17_id, "b")}</p>`);
5324
5368
  _script($scope17_id, "v50");
5325
5369
  writeScope($scope17_id, {});
5326
5370
  return 0;
@@ -5520,7 +5564,7 @@ var settings_page_default = _template("v", (input) => {
5520
5564
  _html(`<ul${_attr_class([toolGrid, "_cu"])}>`);
5521
5565
  _for_of(hits, (h) => {
5522
5566
  const $scope22_id = _scope_id();
5523
- _html(`<li${_attr_class(row)}><div${_attr_class("_bC")}><span${_attr_class(["_cr", "_w"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
5567
+ _html(`<li${_attr_class(row)}><div${_attr_class("_bt")}><span${_attr_class(["_cr", "_w"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
5524
5568
  _if(() => {
5525
5569
  if (active.has(h.name)) {
5526
5570
  const $scope23_id = _scope_id();
@@ -5529,7 +5573,7 @@ var settings_page_default = _template("v", (input) => {
5529
5573
  return 0;
5530
5574
  } else if (h.description) {
5531
5575
  const $scope94_id = _scope_id();
5532
- _html(`<span${_attr_class("_bF")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope94_id, "b")}</span>${_el_resume($scope94_id, "a")}`);
5576
+ _html(`<span${_attr_class("_bw")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope94_id, "b")}</span>${_el_resume($scope94_id, "a")}`);
5533
5577
  writeScope($scope94_id, {});
5534
5578
  return 1;
5535
5579
  }
@@ -5568,7 +5612,7 @@ var settings_page_default = _template("v", (input) => {
5568
5612
  return 0;
5569
5613
  } else if (hits && !searching) {
5570
5614
  const $scope44_id = _scope_id();
5571
- _html(`<p${_attr_class("_bH")}>No tools match "<!>${_escape(query)}${_el_resume($scope44_id, "b")}".</p>`);
5615
+ _html(`<p${_attr_class("_by")}>No tools match "<!>${_escape(query)}${_el_resume($scope44_id, "b")}".</p>`);
5572
5616
  _subscribe($query__closures, writeScope($scope44_id, {}));
5573
5617
  return 1;
5574
5618
  }
@@ -5579,7 +5623,7 @@ var settings_page_default = _template("v", (input) => {
5579
5623
  return 0;
5580
5624
  }
5581
5625
  }, $scope0_id, "ac", 1, 1, 1, 0, 1);
5582
- _html(`</section><section${_attr_class("_bw")}${_attr("aria-labelledby", skillsId)}><div${_attr_class("_bx")}><h2${_attr("id", skillsId)}${_attr_class("_bK")}>Skills</h2>`);
5626
+ _html(`</section><section${_attr_class("_bn")}${_attr("aria-labelledby", skillsId)}><div${_attr_class("_bo")}><h2${_attr("id", skillsId)}${_attr_class("_bB")}>Skills</h2>`);
5583
5627
  _if(() => {
5584
5628
  if (skills?.global.length) {
5585
5629
  const $scope52_id = _scope_id();
@@ -5592,21 +5636,21 @@ var settings_page_default = _template("v", (input) => {
5592
5636
  _if(() => {
5593
5637
  if (skills && !skills.agents.length) {
5594
5638
  const $scope96_id = _scope_id();
5595
- _html(`<p${_attr_class("_bH")}>No agent CLIs are installed, so a skill would have nowhere to go.</p>`);
5639
+ _html(`<p${_attr_class("_by")}>No agent CLIs are installed, so a skill would have nowhere to go.</p>`);
5596
5640
  writeScope($scope96_id, {});
5597
5641
  return 0;
5598
5642
  } else if (skills && !skills.available) {
5599
5643
  const $scope24_id = _scope_id();
5600
- _html(`<p${_attr_class("_bH")}>The skills CLI is not installed, so these can be listed but not changed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${active.has("skills") ? "Installing…" : "Install it"}${_el_resume($scope24_id, "c")}</button>${_el_resume($scope24_id, "b")}</p>`);
5644
+ _html(`<p${_attr_class("_by")}>The skills CLI is not installed, so these can be listed but not changed. <button${_attr_class(btnSm)}${_attr("disabled", active.has("skills"))}>${active.has("skills") ? "Installing…" : "Install it"}${_el_resume($scope24_id, "c")}</button>${_el_resume($scope24_id, "b")}</p>`);
5601
5645
  _script($scope24_id, "v58");
5602
5646
  writeScope($scope24_id, {});
5603
5647
  return 1;
5604
5648
  }
5605
5649
  }, $scope0_id, "ah", 1, 1, 1, 0, 1);
5606
- _html(`<ul${_attr_class("_bz")}>`);
5650
+ _html(`<ul${_attr_class("_bq")}>`);
5607
5651
  _for_of(skills?.global || [], (s) => {
5608
5652
  const $scope25_id = _scope_id();
5609
- _html(`<li${_attr_class("_bB")}><div${_attr_class("_bC")}><span${_attr_class(["_bD", "_w"])}>${_escape(s.name)}${_el_resume($scope25_id, "d")}</span>`);
5653
+ _html(`<li${_attr_class("_bs")}><div${_attr_class("_bt")}><span${_attr_class(["_bu", "_w"])}>${_escape(s.name)}${_el_resume($scope25_id, "d")}</span>`);
5610
5654
  _if(() => {
5611
5655
  if (active.has(s.id)) {
5612
5656
  const $scope26_id = _scope_id();
@@ -5615,7 +5659,7 @@ var settings_page_default = _template("v", (input) => {
5615
5659
  return 0;
5616
5660
  } else if (s.description) {
5617
5661
  const $scope97_id = _scope_id();
5618
- _html(`<span${_attr_class("_bF")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope97_id, "b")}</span>${_el_resume($scope97_id, "a")}`);
5662
+ _html(`<span${_attr_class("_bw")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope97_id, "b")}</span>${_el_resume($scope97_id, "a")}`);
5619
5663
  writeScope($scope97_id, {});
5620
5664
  return 1;
5621
5665
  }
@@ -5623,17 +5667,17 @@ var settings_page_default = _template("v", (input) => {
5623
5667
  _if(() => {
5624
5668
  if (s.sourceUrl) {
5625
5669
  const $scope98_id = _scope_id();
5626
- _html(`<a${_attr_class(["_bF", "_cS"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope98_id, "b")}</a>${_el_resume($scope98_id, "a")}`);
5670
+ _html(`<a${_attr_class(["_bw", "_cS"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope98_id, "b")}</a>${_el_resume($scope98_id, "a")}`);
5627
5671
  writeScope($scope98_id, {});
5628
5672
  return 0;
5629
5673
  } else if (s.source) {
5630
5674
  const $scope99_id = _scope_id();
5631
- _html(`<span${_attr_class("_bF")}>${_escape(s.source)}${_el_resume($scope99_id, "b")}</span>`);
5675
+ _html(`<span${_attr_class("_bw")}>${_escape(s.source)}${_el_resume($scope99_id, "b")}</span>`);
5632
5676
  writeScope($scope99_id, {});
5633
5677
  return 1;
5634
5678
  } else {
5635
5679
  const $scope101_id = _scope_id();
5636
- _html(`<span${_attr_class(["_bF", "_v"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
5680
+ _html(`<span${_attr_class(["_bw", "_v"])} title="Not installed from a source, so it cannot be updated">local only</span>`);
5637
5681
  writeScope($scope101_id, {});
5638
5682
  return 2;
5639
5683
  }
@@ -5642,7 +5686,7 @@ var settings_page_default = _template("v", (input) => {
5642
5686
  _if(() => {
5643
5687
  if (skills && s.agents.length < skills.agents.length) {
5644
5688
  const $scope100_id = _scope_id();
5645
- _html(`<span${_attr_class("_bE")}><span${_attr_class("_H")}${_attr("title", `Only installed for ${s.agents.map(agentLabel).join(", ")}`)}>${_escape(s.agents.map(agentLabel).join(", "))}${_el_resume($scope100_id, "c")} only</span>${_el_resume($scope100_id, "b")}</span>`);
5689
+ _html(`<span${_attr_class("_bv")}><span${_attr_class("_H")}${_attr("title", `Only installed for ${s.agents.map(agentLabel).join(", ")}`)}>${_escape(s.agents.map(agentLabel).join(", "))}${_el_resume($scope100_id, "c")} only</span>${_el_resume($scope100_id, "b")}</span>`);
5646
5690
  writeScope($scope100_id, {});
5647
5691
  return 0;
5648
5692
  }
@@ -5696,7 +5740,7 @@ var settings_page_default = _template("v", (input) => {
5696
5740
  _if(() => {
5697
5741
  if (skills && !skills.global.length) {
5698
5742
  const $scope104_id = _scope_id();
5699
- _html(`<p${_attr_class("_bH")}>No skills installed. Search below, or paste an owner/repo.</p>`);
5743
+ _html(`<p${_attr_class("_by")}>No skills installed. Search below, or paste an owner/repo.</p>`);
5700
5744
  writeScope($scope104_id, {});
5701
5745
  return 0;
5702
5746
  }
@@ -5713,7 +5757,7 @@ var settings_page_default = _template("v", (input) => {
5713
5757
  _if(() => {
5714
5758
  if (looksLikeSource(skillQuery)) {
5715
5759
  const $scope28_id = _scope_id();
5716
- _html(`<li${_attr_class(row)}><div${_attr_class("_bC")}><span${_attr_class(["_cr", "_w"])}>${_escape(skillQuery.trim())}${_el_resume($scope28_id, "d")}</span>`);
5760
+ _html(`<li${_attr_class(row)}><div${_attr_class("_bt")}><span${_attr_class(["_cr", "_w"])}>${_escape(skillQuery.trim())}${_el_resume($scope28_id, "d")}</span>`);
5717
5761
  _if(() => {
5718
5762
  if (active.has(skillQuery.trim())) {
5719
5763
  const $scope29_id = _scope_id();
@@ -5725,7 +5769,7 @@ var settings_page_default = _template("v", (input) => {
5725
5769
  return 0;
5726
5770
  } else {
5727
5771
  const $scope105_id = _scope_id();
5728
- _html(`<span${_attr_class("_bF")}>Add straight from this source</span>`);
5772
+ _html(`<span${_attr_class("_bw")}>Add straight from this source</span>`);
5729
5773
  writeScope($scope105_id, {});
5730
5774
  return 1;
5731
5775
  }
@@ -5748,7 +5792,7 @@ var settings_page_default = _template("v", (input) => {
5748
5792
  _for_of(skillHits || [], (h) => {
5749
5793
  const $scope30_id = _scope_id();
5750
5794
  const $for_content8__h_installs__closures = /* @__PURE__ */ new Set();
5751
- _html(`<li${_attr_class(row)}><div${_attr_class("_bC")}><span${_attr_class(["_cr", "_w"])}>${_escape(h.name)}${_el_resume($scope30_id, "d")}</span>`);
5795
+ _html(`<li${_attr_class(row)}><div${_attr_class("_bt")}><span${_attr_class(["_cr", "_w"])}>${_escape(h.name)}${_el_resume($scope30_id, "d")}</span>`);
5752
5796
  _if(() => {
5753
5797
  if (active.has(h.skillId)) {
5754
5798
  const $scope31_id = _scope_id();
@@ -5757,7 +5801,7 @@ var settings_page_default = _template("v", (input) => {
5757
5801
  return 0;
5758
5802
  } else {
5759
5803
  const $scope106_id = _scope_id();
5760
- _html(`<span${_attr_class("_bF")}${_attr("title", h.source)}>${_escape(h.source)}${_el_resume($scope106_id, "b")}</span>${_el_resume($scope106_id, "a")}`);
5804
+ _html(`<span${_attr_class("_bw")}${_attr("title", h.source)}>${_escape(h.source)}${_el_resume($scope106_id, "b")}</span>${_el_resume($scope106_id, "a")}`);
5761
5805
  writeScope($scope106_id, {});
5762
5806
  return 1;
5763
5807
  }
@@ -5806,7 +5850,7 @@ var settings_page_default = _template("v", (input) => {
5806
5850
  _if(() => {
5807
5851
  if (skillHits && !skillHits.length && !skillSearching && !looksLikeSource(skillQuery)) {
5808
5852
  const $scope54_id = _scope_id();
5809
- _html(`<p${_attr_class("_bH")}>No skills match "<!>${_escape(skillQuery)}${_el_resume($scope54_id, "b")}".</p>`);
5853
+ _html(`<p${_attr_class("_by")}>No skills match "<!>${_escape(skillQuery)}${_el_resume($scope54_id, "b")}".</p>`);
5810
5854
  _subscribe($skillQuery__closures, writeScope($scope54_id, { Cfa: 2 }));
5811
5855
  return 0;
5812
5856
  }
@@ -5831,7 +5875,7 @@ var settings_page_default = _template("v", (input) => {
5831
5875
  label: "Dark"
5832
5876
  }
5833
5877
  ];
5834
- _html(`</section><section${_attr_class("_bw")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bx")}><h2${_attr("id", appearanceId)}${_attr_class("_bK")}>Appearance</h2></div><div${_attr_class(["_bB", "_cA"])}><label${_attr_class("_cB")}><span${_attr_class("_cC")}>Name</span><input${_attr_input_value($scope0_id, "ar", input.instance.name, _resume(function(v) {
5878
+ _html(`</section><section${_attr_class("_bn")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bo")}><h2${_attr("id", appearanceId)}${_attr_class("_bB")}>Appearance</h2></div><div${_attr_class(["_bs", "_cA"])}><label${_attr_class("_cB")}><span${_attr_class("_cC")}>Name</span><input${_attr_input_value($scope0_id, "ar", input.instance.name, _resume(function(v) {
5835
5879
  setInstance({ name: v });
5836
5880
  }, "v4", $scope0_id))}${_attr_class(["_T", "_cD"])} type=text placeholder="Tab title" maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "ar")}</label><div${_attr_class("_cB")}><span${_attr_class("_cC")}>Theme</span><span${_attr_class("_cF")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
5837
5881
  _for_of(themeOpts, (opt) => {
@@ -6003,12 +6047,12 @@ var settings_page_default = _template("v", (input) => {
6003
6047
  });
6004
6048
  //#endregion
6005
6049
  //#region src/tags/new-workspace.css.ts
6006
- var content$1 = "_bL _bo";
6007
- var section$1 = "_bP _bw";
6050
+ var content$1 = "_bL _bE";
6051
+ var section$1 = "_bP _bn";
6008
6052
  var curBase = "_bU _S _R";
6009
- var archived = "_bZ _bw";
6053
+ var archived = "_bZ _bn";
6010
6054
  var archivedHint = "_b0 _R";
6011
- var archivedCard = "_b1 _bB";
6055
+ var archivedCard = "_b1 _bs";
6012
6056
  //#endregion
6013
6057
  //#region src/tags/icons/icon-check.marko
6014
6058
  var icon_check_default = _template("P", (input) => {
@@ -6060,7 +6104,7 @@ var branch_pick_default = _template("d", (input) => {
6060
6104
  _if(() => {
6061
6105
  {
6062
6106
  const $scope4_id = _scope_id();
6063
- _html(`<p${_attr_class("_bH")}><span${_attr_class("_E")}></span> Loading branches…</p>`);
6107
+ _html(`<p${_attr_class("_by")}><span${_attr_class("_E")}></span> Loading branches…</p>`);
6064
6108
  writeScope($scope4_id, {});
6065
6109
  return 0;
6066
6110
  }
@@ -6228,7 +6272,7 @@ var repo_picker_default = _template("t", (input) => {
6228
6272
  return 0;
6229
6273
  } else if (filter && !catalog) {
6230
6274
  const $scope9_id = _scope_id();
6231
- _html(`<p${_attr_class("_bH")}>Loading repos…</p>`);
6275
+ _html(`<p${_attr_class("_by")}>Loading repos…</p>`);
6232
6276
  writeScope($scope9_id, {});
6233
6277
  return 1;
6234
6278
  }
@@ -6279,7 +6323,7 @@ var repo_picker_default = _template("t", (input) => {
6279
6323
  return 0;
6280
6324
  } else if (filter && catalog && !pasted) {
6281
6325
  const $scope6_id = _scope_id();
6282
- _html(`<p${_attr_class("_bH")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
6326
+ _html(`<p${_attr_class("_by")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
6283
6327
  writeScope($scope6_id, {});
6284
6328
  return 1;
6285
6329
  }
@@ -6420,7 +6464,7 @@ var new_workspace_default = _template("q", (input) => {
6420
6464
  }
6421
6465
  }, "q6", $scope0_id);
6422
6466
  const titleId = _id();
6423
- _html(`<div${_attr_class("_bm")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bn")}><div${_attr_class(content$1)}>`);
6467
+ _html(`<div${_attr_class("_bC")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bD")}><div${_attr_class(content$1)}>`);
6424
6468
  _set_serialize_reason({
6425
6469
  0: _serialize_guard($scope0_reason, 2),
6426
6470
  1: $sg__input_backHref__OR__input_onExit,
@@ -6459,9 +6503,9 @@ var new_workspace_default = _template("q", (input) => {
6459
6503
  return 0;
6460
6504
  }
6461
6505
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
6462
- _html(`<label${_attr_class("_bO")}><span${_attr_class("_bK")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
6506
+ _html(`<label${_attr_class("_bO")}><span${_attr_class("_bB")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
6463
6507
  name = _new_name;
6464
- }, "q0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class(section$1)}><div${_attr_class("_bQ")}><h2${_attr_class("_bK")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
6508
+ }, "q0", $scope0_id))}${_attr_class(inputLg)} placeholder=my-feature${_attr("disabled", busy)} autofocus>${_el_resume($scope0_id, "h")}</label><section${_attr_class(section$1)}><div${_attr_class("_bQ")}><h2${_attr_class("_bB")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
6465
6509
  _set_serialize_reason(1);
6466
6510
  const $childScope2 = _peek_scope_id();
6467
6511
  icon_refresh_default({
@@ -6534,7 +6578,7 @@ var new_workspace_default = _template("q", (input) => {
6534
6578
  _if(() => {
6535
6579
  if (!selected.length) {
6536
6580
  const $scope14_id = _scope_id();
6537
- _html(`<li${_attr_class("_bH")}>No repos yet. Search below to add one, or create it empty.</li>`);
6581
+ _html(`<li${_attr_class("_by")}>No repos yet. Search below to add one, or create it empty.</li>`);
6538
6582
  writeScope($scope14_id, {});
6539
6583
  return 0;
6540
6584
  }
@@ -6603,10 +6647,10 @@ var new_workspace_default = _template("q", (input) => {
6603
6647
  _if(() => {
6604
6648
  if (archived$1.length) {
6605
6649
  const $scope4_id = _scope_id();
6606
- _html(`<section${_attr_class(archived)}><div${_attr_class("_bQ")}><h2${_attr_class("_bK")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope4_id, "e", $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class("_bz")}>`);
6650
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_bQ")}><h2${_attr_class("_bB")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope4_id, "e", $sg__input_workspaces)}</span></div><p${_attr_class(archivedHint)}>Restore an archived workspace instead of creating a new one.</p><ul${_attr_class("_bq")}>`);
6607
6651
  _for_of(archived$1, (ws) => {
6608
6652
  const $scope5_id = _scope_id();
6609
- _html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bC")}><span${_attr_class("_bD")}>${_escape(ws.name)}${_el_resume($scope5_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_w"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope5_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope5_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
6653
+ _html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bt")}><span${_attr_class("_bu")}>${_escape(ws.name)}${_el_resume($scope5_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_w"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope5_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope5_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
6610
6654
  _if(() => {
6611
6655
  if (restoring === ws.id) {
6612
6656
  const $scope17_id = _scope_id();
@@ -6712,8 +6756,8 @@ function vapidKey(base64) {
6712
6756
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
6713
6757
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
6714
6758
  }
6715
- var iconBtn$1 = "_db _j";
6716
- var navToggle = "_dg _j";
6759
+ var iconBtn$1 = "_ep _j";
6760
+ var navToggle = "_eu _j";
6717
6761
  _template("N", (input) => {
6718
6762
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
6719
6763
  const $scope0_id = _scope_id();
@@ -6756,12 +6800,12 @@ var ARM_MS = 3500;
6756
6800
  function disarmLater(fn) {
6757
6801
  return setTimeout(fn, ARM_MS);
6758
6802
  }
6759
- var railBtn = "_fJ _j";
6760
- var rowIcon = "_fS _Y _j";
6761
- var close = "_fT _Y _j _1";
6803
+ var railBtn = "_gp _j";
6804
+ var rowIcon = "_gy _Y _j";
6805
+ var close = "_gz _Y _j _1";
6762
6806
  //#endregion
6763
6807
  //#region src/styles/session-pop.css.ts
6764
- var sessionPop = "_fs _3";
6808
+ var sessionPop = "_f4 _3";
6765
6809
  //#endregion
6766
6810
  //#region src/client/status.ts
6767
6811
  /** Workspace activity dot from its polled status counts. */
@@ -6843,7 +6887,7 @@ var usage_pcts_default = _template("E", (input) => {
6843
6887
  return 0;
6844
6888
  }
6845
6889
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
6846
- _html(`<span${_attr_class("_fp")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_fq", win$1.used_percent >= 90 ? "_fi" : win$1.used_percent >= 70 ? "_fh" : win$1.used_percent >= 40 ? "_fg" : "_ff"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
6890
+ _html(`<span${_attr_class("_fp")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_fq", win$1.used_percent >= 90 ? "_dv" : win$1.used_percent >= 70 ? "_du" : win$1.used_percent >= 40 ? "_dt" : "_ds"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
6847
6891
  $si__input_agent && writeScope($scope2_id, {});
6848
6892
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
6849
6893
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -7101,10 +7145,10 @@ var side_nav_item_default = _template("x", (input) => {
7101
7145
  _if(() => {
7102
7146
  if (input.rail) {
7103
7147
  const $scope2_id = _scope_id();
7104
- _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fH"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 27))}<span${_attr_class([
7148
+ _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gn"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 27))}<span${_attr_class([
7105
7149
  "_y",
7106
7150
  phase[dot],
7107
- "_fK"
7151
+ "_gq"
7108
7152
  ])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
7109
7153
  _serialize_if($scope0_reason, 18) && _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })))));
7110
7154
  return 0;
@@ -7112,15 +7156,15 @@ var side_nav_item_default = _template("x", (input) => {
7112
7156
  const $scope3_id = _scope_id();
7113
7157
  const sessions$1 = input.sessions || [];
7114
7158
  const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
7115
- _html(`<section${_attr_class(["_fM", {
7116
- ["_fH"]: input.current,
7159
+ _html(`<section${_attr_class(["_gs", {
7160
+ ["_gn"]: input.current,
7117
7161
  ["_4"]: input.current,
7118
- ["_fN"]: input.railPop,
7119
- ["_fL"]: input.page
7120
- }])}><div${_attr_class("_fO")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_fP")}><span${_attr_class([
7162
+ ["_gt"]: input.railPop,
7163
+ ["_gr"]: input.page
7164
+ }])}><div${_attr_class("_gu")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gv")}><span${_attr_class([
7121
7165
  "_y",
7122
7166
  phase[dot],
7123
- "_f2"
7167
+ "_gI"
7124
7168
  ])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
7125
7169
  _if(() => {
7126
7170
  if (sessions$1.length === 1) {
@@ -7133,7 +7177,7 @@ var side_nav_item_default = _template("x", (input) => {
7133
7177
  icon_agent_default({
7134
7178
  agent: activeAgent(sessions$1[0]),
7135
7179
  size: 12,
7136
- class: "_fU"
7180
+ class: "_gA"
7137
7181
  });
7138
7182
  $si__input_sessions && writeScope($scope14_id, {
7139
7183
  _: _scope_with_id($scope3_id),
@@ -7143,16 +7187,16 @@ var side_nav_item_default = _template("x", (input) => {
7143
7187
  }
7144
7188
  }, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions);
7145
7189
  const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
7146
- _html(`<span${_attr_class("_fV")}><span${_attr_class("_fW")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
7190
+ _html(`<span${_attr_class("_gB")}><span${_attr_class("_gC")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
7147
7191
  _if(() => {
7148
7192
  if (input.page && metaText) {
7149
7193
  const $scope16_id = _scope_id();
7150
- _html(`<span${_attr_class("_f0")}>${_escape(metaText)}${_el_resume($scope16_id, "b", _serialize_guard($scope0_reason, 7))}</span>`);
7194
+ _html(`<span${_attr_class("_gG")}>${_escape(metaText)}${_el_resume($scope16_id, "b", _serialize_guard($scope0_reason, 7))}</span>`);
7151
7195
  $si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope16_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope3_id) });
7152
7196
  return 0;
7153
7197
  } else if (sessions$1.length === 1 && sessions$1[0].title) {
7154
7198
  const $scope15_id = _scope_id();
7155
- _html(`<span${_attr_class("_fX")}>${_escape(sessions$1[0].title)}${_el_resume($scope15_id, "b", $sg__input_sessions)}</span>`);
7199
+ _html(`<span${_attr_class("_gD")}>${_escape(sessions$1[0].title)}${_el_resume($scope15_id, "b", $sg__input_sessions)}</span>`);
7156
7200
  $si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope15_id, { _: $si__input_sessions && _scope_with_id($scope3_id) });
7157
7201
  return 1;
7158
7202
  }
@@ -7165,7 +7209,7 @@ var side_nav_item_default = _template("x", (input) => {
7165
7209
  "_H",
7166
7210
  "_Q",
7167
7211
  "_J",
7168
- "_f1"
7212
+ "_gH"
7169
7213
  ])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
7170
7214
  $si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
7171
7215
  _: _scope_with_id($scope3_id),
@@ -7178,7 +7222,7 @@ var side_nav_item_default = _template("x", (input) => {
7178
7222
  _if(() => {
7179
7223
  if (!input.page) {
7180
7224
  const $scope5_id = _scope_id();
7181
- _html(`<div${_attr_class("_fQ")}>`);
7225
+ _html(`<div${_attr_class("_gw")}>`);
7182
7226
  _if(() => {
7183
7227
  if (input.onNewSession) {
7184
7228
  const $scope6_id = _scope_id();
@@ -7192,7 +7236,7 @@ var side_nav_item_default = _template("x", (input) => {
7192
7236
  _html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
7193
7237
  _for_of([], (agent) => {
7194
7238
  const $scope7_id = _scope_id();
7195
- _html(`<button${_attr_class("_ft")}>`);
7239
+ _html(`<button${_attr_class("_f5")}>`);
7196
7240
  _set_serialize_reason(12);
7197
7241
  const $childScope2 = _peek_scope_id();
7198
7242
  icon_agent_default({
@@ -7227,7 +7271,7 @@ var side_nav_item_default = _template("x", (input) => {
7227
7271
  return 0;
7228
7272
  }
7229
7273
  }, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
7230
- _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fI"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
7274
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_go"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
7231
7275
  icon_manage_default({ size: 12 });
7232
7276
  _html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 8))}</div>`);
7233
7277
  _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope5_id, {
@@ -7237,7 +7281,7 @@ var side_nav_item_default = _template("x", (input) => {
7237
7281
  return 0;
7238
7282
  }
7239
7283
  }, $scope3_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
7240
- _html(`</div><div${_attr_class("_f7")}>`);
7284
+ _html(`</div><div${_attr_class("_gN")}>`);
7241
7285
  _if(() => {
7242
7286
  if (sessions$1.length === 1 && openPlan) {
7243
7287
  const $scope11_id = _scope_id();
@@ -7245,7 +7289,7 @@ var side_nav_item_default = _template("x", (input) => {
7245
7289
  const $childScope3 = _peek_scope_id();
7246
7290
  usage_pcts_default({
7247
7291
  agent: openPlan,
7248
- class: "_fY"
7292
+ class: "_gE"
7249
7293
  });
7250
7294
  _subscribe($openPlan__closures, writeScope($scope11_id, {
7251
7295
  a: _existing_scope($childScope3),
@@ -7256,14 +7300,14 @@ var side_nav_item_default = _template("x", (input) => {
7256
7300
  }, $scope3_id, "m");
7257
7301
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
7258
7302
  const $scope8_id = _scope_id();
7259
- _html(`<div${_attr_class(["_fR", { ["_fH"]: s.id === input.currentTab }])}>`);
7303
+ _html(`<div${_attr_class(["_gx", { ["_gn"]: s.id === input.currentTab }])}>`);
7260
7304
  _if(() => {
7261
7305
  if (renamingId === s.id) {
7262
7306
  const $scope10_id = _scope_id();
7263
7307
  _html(`<span${_attr_class([
7264
7308
  "_y",
7265
7309
  phase[sessionPhase(s.state)],
7266
- "_f5"
7310
+ "_gL"
7267
7311
  ])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
7268
7312
  _set_serialize_reason({
7269
7313
  1: $sg__input_sessions,
@@ -7273,17 +7317,17 @@ var side_nav_item_default = _template("x", (input) => {
7273
7317
  icon_agent_default({
7274
7318
  agent: activeAgent(s),
7275
7319
  size: 13,
7276
- class: "_f9"
7320
+ class: "_gP"
7277
7321
  });
7278
7322
  _html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
7279
7323
  renameValue = _new_renameValue;
7280
- }, "x0", $scope10_id))}${_attr_class(["_T", "_f6"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
7324
+ }, "x0", $scope10_id))}${_attr_class(["_T", "_gM"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
7281
7325
  _script($scope10_id, "x5");
7282
7326
  _subscribe($renameValue__closures, writeScope($scope10_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
7283
7327
  return 0;
7284
7328
  } else {
7285
7329
  const $scope9_id = _scope_id();
7286
- _html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_f8")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
7330
+ _html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_gO")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
7287
7331
  _set_serialize_reason({
7288
7332
  1: $sg__input_sessions,
7289
7333
  2: $sg__input_sessions
@@ -7292,9 +7336,9 @@ var side_nav_item_default = _template("x", (input) => {
7292
7336
  icon_agent_default({
7293
7337
  agent: activeAgent(s),
7294
7338
  size: 13,
7295
- class: "_f9"
7339
+ class: "_gP"
7296
7340
  });
7297
- _html(`<span${_attr_class("_f3")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope9_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 6))}<div${_attr_class("_f4")}><button${_attr_class(rowIcon)} title="Rename session">`);
7341
+ _html(`<span${_attr_class("_gJ")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope9_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 6))}<div${_attr_class("_gK")}><button${_attr_class(rowIcon)} title="Rename session">`);
7298
7342
  icon_edit_default({ size: 12 });
7299
7343
  _html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
7300
7344
  icon_xmark_default({ size: 12 });
@@ -7306,7 +7350,7 @@ var side_nav_item_default = _template("x", (input) => {
7306
7350
  const $childScope6 = _peek_scope_id();
7307
7351
  usage_pcts_default({
7308
7352
  agent: openPlan,
7309
- class: "_fZ"
7353
+ class: "_gF"
7310
7354
  });
7311
7355
  _subscribe($openPlan__closures, writeScope($scope12_id, {
7312
7356
  a: _existing_scope($childScope6),
@@ -7501,34 +7545,34 @@ var side_nav_default = _template("y", (input) => {
7501
7545
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
7502
7546
  const otherIds = itemIds.filter((id) => id !== ws.id);
7503
7547
  const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
7504
- _html(`<aside${_attr_class(["_df", {
7505
- ["_dd"]: !navOpen,
7506
- ["_de"]: isPage
7548
+ _html(`<aside${_attr_class(["_et", {
7549
+ ["_er"]: !navOpen,
7550
+ ["_es"]: isPage
7507
7551
  }])}${_attr("hidden", view === "diff")}>`);
7508
7552
  _if(() => {
7509
7553
  if (isPage) {
7510
7554
  const $scope1_id = _scope_id();
7511
- _html(`<header${_attr_class("_di")}><div${_attr_class("_dr")}>`);
7555
+ _html(`<header${_attr_class("_ew")}><div${_attr_class("_eF")}>`);
7512
7556
  _if(() => {
7513
7557
  if (input.instanceName) {
7514
7558
  const $scope2_id = _scope_id();
7515
- _html(`<div${_attr_class("_do")} title="This work server (Settings → Appearance)"><img${_attr_class("_dp")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_dq")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
7559
+ _html(`<div${_attr_class("_eC")} title="This work server (Settings → Appearance)"><img${_attr_class("_eD")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eE")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
7516
7560
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
7517
7561
  return 0;
7518
7562
  }
7519
7563
  }, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
7520
- _html(`<h1${_attr_class("_dj")}>Workspaces</h1></div><div${_attr_class("_dk")}>`);
7564
+ _html(`<h1${_attr_class("_ex")}>Workspaces</h1></div><div${_attr_class("_ey")}>`);
7521
7565
  _if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
7522
7566
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
7523
7567
  iconBtn$1,
7524
- "_dl",
7525
- { ["_da"]: view === "settings" }
7568
+ "_ez",
7569
+ { ["_eo"]: view === "settings" }
7526
7570
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
7527
7571
  icon_settings_default({ size: 16 });
7528
7572
  _if(() => {
7529
7573
  if (input.setupReady === false) {
7530
7574
  const $scope12_id = _scope_id();
7531
- _html(`<span${_attr_class(["_y", "_dc"])} title="Machine setup incomplete"></span>`);
7575
+ _html(`<span${_attr_class(["_y", "_eq"])} title="Machine setup incomplete"></span>`);
7532
7576
  $si__input_setupReady && writeScope($scope12_id, {});
7533
7577
  return 0;
7534
7578
  }
@@ -7541,18 +7585,18 @@ var side_nav_default = _template("y", (input) => {
7541
7585
  _if(() => {
7542
7586
  if (!isPage && input.instanceName) {
7543
7587
  const $scope3_id = _scope_id();
7544
- _html(`<div${_attr_class("_do")} title="This work server (Settings → Appearance)"><img${_attr_class("_dp")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_dq")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
7588
+ _html(`<div${_attr_class("_eC")} title="This work server (Settings → Appearance)"><img${_attr_class("_eD")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eE")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
7545
7589
  writeScope($scope3_id, {});
7546
7590
  return 0;
7547
7591
  }
7548
7592
  }, $scope0_id, "c", 1, 1, 1, 0, 1);
7549
- _html(`<div${_attr_class("_ds")}>`);
7593
+ _html(`<div${_attr_class("_eG")}>`);
7550
7594
  _for_of(listIds, (wsId) => {
7551
7595
  const $scope4_id = _scope_id();
7552
7596
  _if(() => {
7553
7597
  if (isPage && wsId === ws.id) {
7554
7598
  const $scope13_id = _scope_id();
7555
- _html(`<h2${_attr_class(["_bK", "_dm"])}>Current</h2>`);
7599
+ _html(`<h2${_attr_class(["_bB", "_eA"])}>Current</h2>`);
7556
7600
  writeScope($scope13_id, {});
7557
7601
  return 0;
7558
7602
  }
@@ -7560,7 +7604,7 @@ var side_nav_default = _template("y", (input) => {
7560
7604
  _if(() => {
7561
7605
  if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
7562
7606
  const $scope14_id = _scope_id();
7563
- _html(`<h2${_attr_class(["_bK", "_dm"])}>Other workspaces</h2>`);
7607
+ _html(`<h2${_attr_class(["_bB", "_eA"])}>Other workspaces</h2>`);
7564
7608
  writeScope($scope14_id, {});
7565
7609
  return 0;
7566
7610
  }
@@ -7644,7 +7688,7 @@ var side_nav_default = _template("y", (input) => {
7644
7688
  railHover = null;
7645
7689
  }, 150);
7646
7690
  }, "y6", $scope5_id);
7647
- _html(`<div${_attr_class("_dt")}>`);
7691
+ _html(`<div${_attr_class("_eH")}>`);
7648
7692
  _for_of(itemIds, (wsId, i) => {
7649
7693
  const $scope6_id = _scope_id();
7650
7694
  _html("<span>");
@@ -7698,7 +7742,7 @@ var side_nav_default = _template("y", (input) => {
7698
7742
  if (railHover) {
7699
7743
  const $scope7_id = _scope_id();
7700
7744
  const hoverId = railHover.id;
7701
- _html(`<div${_attr_class(["_3", "_dw"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
7745
+ _html(`<div${_attr_class(["_3", "_eK"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
7702
7746
  _set_serialize_reason({
7703
7747
  0: 1,
7704
7748
  1: 1,
@@ -7783,7 +7827,7 @@ var side_nav_default = _template("y", (input) => {
7783
7827
  return 0;
7784
7828
  }
7785
7829
  }, $scope0_id, "e");
7786
- _html(`<div${_attr_class("_du")}>`);
7830
+ _html(`<div${_attr_class("_eI")}>`);
7787
7831
  _if(() => {
7788
7832
  if (isPage) {
7789
7833
  const $scope9_id = _scope_id();
@@ -7791,7 +7835,7 @@ var side_nav_default = _template("y", (input) => {
7791
7835
  "_o",
7792
7836
  "_p",
7793
7837
  btnLg,
7794
- "_dn"
7838
+ "_eB"
7795
7839
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
7796
7840
  icon_folder_plus_default({ size: 16 });
7797
7841
  _html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
@@ -7813,19 +7857,19 @@ var side_nav_default = _template("y", (input) => {
7813
7857
  return 1;
7814
7858
  }
7815
7859
  }, $scope8_id, "a", 1, 1, 1, "</button>", 1);
7816
- _html(`<div${_attr_class(["_x", "_dv"])}></div>`);
7860
+ _html(`<div${_attr_class(["_x", "_eJ"])}></div>`);
7817
7861
  _if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
7818
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_da"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
7862
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_eo"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
7819
7863
  icon_settings_default({ size: 15 });
7820
7864
  _if(() => {
7821
7865
  if (input.setupReady === false) {
7822
7866
  const $scope17_id = _scope_id();
7823
- _html(`<span${_attr_class(["_y", "_dc"])} title="Machine setup incomplete"></span>`);
7867
+ _html(`<span${_attr_class(["_y", "_eq"])} title="Machine setup incomplete"></span>`);
7824
7868
  $si__input_setupReady && writeScope($scope17_id, {});
7825
7869
  return 0;
7826
7870
  }
7827
7871
  }, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
7828
- _html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_da"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
7872
+ _html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_eo"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
7829
7873
  icon_folder_plus_default({ size: 16 });
7830
7874
  _html(`</a>${_el_resume($scope8_id, "g")}`);
7831
7875
  _script($scope8_id, "y15");
@@ -7891,11 +7935,11 @@ var side_nav_default = _template("y", (input) => {
7891
7935
  _resume_branch($scope0_id);
7892
7936
  });
7893
7937
  var iconBtn = "_Z _j";
7894
- var sectionCount = "_by _H _I";
7895
- var content = "_ea _bo";
7896
- var pageMeta = "_eb _bt";
7897
- var pathMeta = "_ee _w";
7898
- var dangerHint = "_ek _R";
7938
+ var sectionCount = "_bp _H _I";
7939
+ var content = "_eL _bE";
7940
+ var pageMeta = "_eM _bJ";
7941
+ var pathMeta = "_eP _w";
7942
+ var dangerHint = "_eV _R";
7899
7943
  //#endregion
7900
7944
  //#region src/tags/manage-workspace.marko
7901
7945
  var api$2;
@@ -8026,7 +8070,7 @@ var manage_workspace_default = _template("o", (input) => {
8026
8070
  setTimeout(() => loadProcs(void 0), 500);
8027
8071
  }, "o7", $scope0_id);
8028
8072
  const titleId = _id();
8029
- _html(`<div${_attr_class("_bm")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bn")}><div${_attr_class(content)}>`);
8073
+ _html(`<div${_attr_class("_bC")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bD")}><div${_attr_class(content)}>`);
8030
8074
  _set_serialize_reason(30);
8031
8075
  const $childScope = _peek_scope_id();
8032
8076
  page_head_default({
@@ -8039,7 +8083,7 @@ var manage_workspace_default = _template("o", (input) => {
8039
8083
  meta: attrTag({ content: _content_resume("o13", () => {
8040
8084
  _scope_reason();
8041
8085
  const $scope13_id = _scope_id();
8042
- _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_ec")}>${_escape(ws.name)}${_el_resume($scope13_id, "c")}</span>`);
8086
+ _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_eN")}>${_escape(ws.name)}${_el_resume($scope13_id, "c")}</span>`);
8043
8087
  _if(() => {
8044
8088
  if (ws.status !== "active") {
8045
8089
  const $scope17_id = _scope_id();
@@ -8048,7 +8092,7 @@ var manage_workspace_default = _template("o", (input) => {
8048
8092
  return 0;
8049
8093
  }
8050
8094
  }, $scope13_id, "d", 1, 1, 1, 0, 1);
8051
- _html(`<span${_attr_class("_ed")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope13_id, "g")}</span></span>${_el_resume($scope13_id, "a")}`);
8095
+ _html(`<span${_attr_class("_eO")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope13_id, "g")}</span></span>${_el_resume($scope13_id, "a")}`);
8052
8096
  _subscribe($ws_status__closures, _subscribe($ws_name__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, writeScope($scope13_id, { _: _scope_with_id($scope0_id) })))));
8053
8097
  _resume_branch($scope13_id);
8054
8098
  }, $scope0_id) })
@@ -8076,22 +8120,22 @@ var manage_workspace_default = _template("o", (input) => {
8076
8120
  _if(() => {
8077
8121
  if (pendingAction && actionStep) {
8078
8122
  const $scope11_id = _scope_id();
8079
- _html(`<p${_attr_class("_bv")}><span${_attr_class("_E")}></span><!>${_escape(actionStep)}${_el_resume($scope11_id, "c")}</p>`);
8123
+ _html(`<p${_attr_class("_bm")}><span${_attr_class("_E")}></span><!>${_escape(actionStep)}${_el_resume($scope11_id, "c")}</p>`);
8080
8124
  writeScope($scope11_id, {});
8081
8125
  return 0;
8082
8126
  }
8083
8127
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
8084
- _html(`<section${_attr_class("_bw")}><div${_attr_class("_bx")}><h2${_attr_class("_bK")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "k")}</span><div${_attr_class("_x")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
8128
+ _html(`<section${_attr_class("_bn")}><div${_attr_class("_bo")}><h2${_attr_class("_bB")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "k")}</span><div${_attr_class("_x")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
8085
8129
  _set_serialize_reason(1);
8086
8130
  const $childScope2 = _peek_scope_id();
8087
8131
  icon_refresh_default({
8088
8132
  size: 14,
8089
8133
  class: catalogRefreshing && "_D"
8090
8134
  });
8091
- _html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bz")}>`);
8135
+ _html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bq")}>`);
8092
8136
  _for_of(ws.repos, (row) => {
8093
8137
  const $scope1_id = _scope_id();
8094
- _html(`<li${_attr_class("_bB")}><div${_attr_class("_bC")}><span${_attr_class(["_bD", "_w"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bE")}><a${_attr_class(["_bF", "_eg"])}${_attr("href", repoWebUrl$1(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
8138
+ _html(`<li${_attr_class("_bs")}><div${_attr_class("_bt")}><span${_attr_class(["_bu", "_w"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bv")}><a${_attr_class(["_bw", "_eR"])}${_attr("href", repoWebUrl$1(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
8095
8139
  _if(() => {
8096
8140
  if (row.base_branch !== row.default_branch) {
8097
8141
  const $scope18_id = _scope_id();
@@ -8112,7 +8156,7 @@ var manage_workspace_default = _template("o", (input) => {
8112
8156
  } else {
8113
8157
  const $scope10_id = _scope_id();
8114
8158
  _html(`<button${_attr_class([
8115
- "_bG",
8159
+ "_bx",
8116
8160
  "_1",
8117
8161
  "_2",
8118
8162
  { ["_q"]: confirmingRemove === row.full_name }
@@ -8145,19 +8189,19 @@ var manage_workspace_default = _template("o", (input) => {
8145
8189
  }, "full_name", $scope0_id, "p", 1, 1, 1, 0, 1);
8146
8190
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
8147
8191
  const $scope22_id = _scope_id();
8148
- _html(`<li${_attr_class(["_bB", "_bA"])}><span${_attr_class("_E")}></span><div${_attr_class("_bC")}><span${_attr_class("_bF")}>Adding <!>${_escape(name)}${_el_resume($scope22_id, "e")}…</span></div></li>`);
8192
+ _html(`<li${_attr_class(["_bs", "_br"])}><span${_attr_class("_E")}></span><div${_attr_class("_bt")}><span${_attr_class("_bw")}>Adding <!>${_escape(name)}${_el_resume($scope22_id, "e")}…</span></div></li>`);
8149
8193
  writeScope($scope22_id, {});
8150
8194
  }, (n) => n, $scope0_id, "q", 1, 1, 1, 0, 1);
8151
8195
  _html("</ul>");
8152
8196
  _if(() => {
8153
8197
  if (!ws.repos.length && !busy.size) {
8154
8198
  const $scope23_id = _scope_id();
8155
- _html(`<p${_attr_class("_bH")}>No repos yet. Search below to add one.</p>`);
8199
+ _html(`<p${_attr_class("_by")}>No repos yet. Search below to add one.</p>`);
8156
8200
  writeScope($scope23_id, {});
8157
8201
  return 0;
8158
8202
  }
8159
8203
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
8160
- _html(`<div${_attr_class("_ef")}>`);
8204
+ _html(`<div${_attr_class("_eQ")}>`);
8161
8205
  const $childScope3 = _peek_scope_id();
8162
8206
  let refreshCatalog = repo_picker_default({
8163
8207
  exclude: inWorkspace,
@@ -8178,7 +8222,7 @@ var manage_workspace_default = _template("o", (input) => {
8178
8222
  _if(() => {
8179
8223
  if (wsSkills.length || repoSkills.length) {
8180
8224
  const $scope2_id = _scope_id();
8181
- _html(`<section${_attr_class("_bw")}><div${_attr_class("_bx")}><h2${_attr_class("_bK")}>Skills</h2>`);
8225
+ _html(`<section${_attr_class("_bn")}><div${_attr_class("_bo")}><h2${_attr_class("_bB")}>Skills</h2>`);
8182
8226
  _if(() => {
8183
8227
  if (wsSkills.length) {
8184
8228
  const $scope24_id = _scope_id();
@@ -8187,10 +8231,10 @@ var manage_workspace_default = _template("o", (input) => {
8187
8231
  return 0;
8188
8232
  }
8189
8233
  }, $scope2_id, "d", 1, 1, 1, 0, 1);
8190
- _html(`</div><ul${_attr_class("_bz")}>`);
8234
+ _html(`</div><ul${_attr_class("_bq")}>`);
8191
8235
  _for_of(wsSkills, (s) => {
8192
8236
  const $scope3_id = _scope_id();
8193
- _html(`<li${_attr_class("_bB")}><div${_attr_class("_bC")}><span${_attr_class(["_bD", "_w"])}>${_escape(s.name)}${_el_resume($scope3_id, "d")}</span><span${_attr_class("_bE")}>`);
8237
+ _html(`<li${_attr_class("_bs")}><div${_attr_class("_bt")}><span${_attr_class(["_bu", "_w"])}>${_escape(s.name)}${_el_resume($scope3_id, "d")}</span><span${_attr_class("_bv")}>`);
8194
8238
  _if(() => {
8195
8239
  if (s.broken) {
8196
8240
  const $scope25_id = _scope_id();
@@ -8228,7 +8272,7 @@ var manage_workspace_default = _template("o", (input) => {
8228
8272
  _if(() => {
8229
8273
  if (s.description) {
8230
8274
  const $scope28_id = _scope_id();
8231
- _html(`<span${_attr_class("_bF")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope28_id, "b")}</span>${_el_resume($scope28_id, "a")}`);
8275
+ _html(`<span${_attr_class("_bw")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope28_id, "b")}</span>${_el_resume($scope28_id, "a")}`);
8232
8276
  writeScope($scope28_id, {});
8233
8277
  return 0;
8234
8278
  }
@@ -8236,7 +8280,7 @@ var manage_workspace_default = _template("o", (input) => {
8236
8280
  _if(() => {
8237
8281
  if (s.sourceUrl) {
8238
8282
  const $scope29_id = _scope_id();
8239
- _html(`<a${_attr_class(["_bF", "_eg"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope29_id, "b")}</a>${_el_resume($scope29_id, "a")}`);
8283
+ _html(`<a${_attr_class(["_bw", "_eR"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope29_id, "b")}</a>${_el_resume($scope29_id, "a")}`);
8240
8284
  writeScope($scope29_id, {});
8241
8285
  return 0;
8242
8286
  }
@@ -8251,7 +8295,7 @@ var manage_workspace_default = _template("o", (input) => {
8251
8295
  } else {
8252
8296
  const $scope12_id = _scope_id();
8253
8297
  _html(`<button${_attr_class([
8254
- "_bG",
8298
+ "_bx",
8255
8299
  "_1",
8256
8300
  "_2",
8257
8301
  { ["_q"]: confirmingSkill === s.id }
@@ -8289,10 +8333,10 @@ var manage_workspace_default = _template("o", (input) => {
8289
8333
  _if(() => {
8290
8334
  if (repoSkills.length) {
8291
8335
  const $scope4_id = _scope_id();
8292
- _html(`<ul${_attr_class("_bz")}>`);
8336
+ _html(`<ul${_attr_class("_bq")}>`);
8293
8337
  _for_of(repoSkills, (s) => {
8294
8338
  const $scope5_id = _scope_id();
8295
- _html(`<li${_attr_class("_bB")}><div${_attr_class("_bC")}><span${_attr_class(["_bD", "_w"])}>${_escape(s.name)}${_el_resume($scope5_id, "d")}</span><span${_attr_class("_bE")}><span${_attr_class(["_bF", "_w"])}>${_escape(s.worktree)}${_el_resume($scope5_id, "g")}/</span>`);
8339
+ _html(`<li${_attr_class("_bs")}><div${_attr_class("_bt")}><span${_attr_class(["_bu", "_w"])}>${_escape(s.name)}${_el_resume($scope5_id, "d")}</span><span${_attr_class("_bv")}><span${_attr_class(["_bw", "_w"])}>${_escape(s.worktree)}${_el_resume($scope5_id, "g")}/</span>`);
8296
8340
  _if(() => {
8297
8341
  if (s.shadows) {
8298
8342
  const $scope34_id = _scope_id();
@@ -8305,7 +8349,7 @@ var manage_workspace_default = _template("o", (input) => {
8305
8349
  _if(() => {
8306
8350
  if (s.description) {
8307
8351
  const $scope35_id = _scope_id();
8308
- _html(`<span${_attr_class("_bF")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope35_id, "b")}</span>${_el_resume($scope35_id, "a")}`);
8352
+ _html(`<span${_attr_class("_bw")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope35_id, "b")}</span>${_el_resume($scope35_id, "a")}`);
8309
8353
  writeScope($scope35_id, {});
8310
8354
  return 0;
8311
8355
  }
@@ -8348,17 +8392,17 @@ var manage_workspace_default = _template("o", (input) => {
8348
8392
  _if(() => {
8349
8393
  if (running.length) {
8350
8394
  const $scope15_id = _scope_id();
8351
- _html(`<section${_attr_class("_bw")}><div${_attr_class("_bx")}><h2${_attr_class("_bK")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope15_id, "e")}</span></div><ul${_attr_class("_bz")}>`);
8395
+ _html(`<section${_attr_class("_bn")}><div${_attr_class("_bo")}><h2${_attr_class("_bB")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope15_id, "e")}</span></div><ul${_attr_class("_bq")}>`);
8352
8396
  _for_of(running, (p) => {
8353
8397
  const $scope16_id = _scope_id();
8354
- _html(`<li${_attr_class("_bB")}><div${_attr_class("_bC")}${_attr("title", p.args)}><span${_attr_class(["_bD", "_w"])}>${_escape(p.cmd)}${_el_resume($scope16_id, "d")}</span>`);
8398
+ _html(`<li${_attr_class("_bs")}><div${_attr_class("_bt")}${_attr("title", p.args)}><span${_attr_class(["_bu", "_w"])}>${_escape(p.cmd)}${_el_resume($scope16_id, "d")}</span>`);
8355
8399
  _if(() => {
8356
8400
  if (p.ports.length) {
8357
8401
  const $scope37_id = _scope_id();
8358
- _html(`<span${_attr_class("_bE")}>`);
8402
+ _html(`<span${_attr_class("_bv")}>`);
8359
8403
  _for_of(p.ports, (port) => {
8360
8404
  const $scope38_id = _scope_id();
8361
- _html(`<button${_attr_class(["_s", "_eh"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope38_id, "b")}</button>${_el_resume($scope38_id, "a")}`);
8405
+ _html(`<button${_attr_class(["_s", "_eS"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope38_id, "b")}</button>${_el_resume($scope38_id, "a")}`);
8362
8406
  _script($scope38_id, "o19");
8363
8407
  writeScope($scope38_id, { d: port });
8364
8408
  }, (x) => String(x), $scope37_id, "a", 1, 1, 1, "</span>", 1);
@@ -8366,7 +8410,7 @@ var manage_workspace_default = _template("o", (input) => {
8366
8410
  return 0;
8367
8411
  }
8368
8412
  }, $scope16_id, "e", 1, 1, 1, 0, 1);
8369
- _html(`</div>${_el_resume($scope16_id, "b")}<button${_attr_class(["_bG", "_1"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
8413
+ _html(`</div>${_el_resume($scope16_id, "b")}<button${_attr_class(["_bx", "_1"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
8370
8414
  icon_xmark_default({ size: 14 });
8371
8415
  _html(`</button>${_el_resume($scope16_id, "f")}</li>`);
8372
8416
  _script($scope16_id, "o20");
@@ -8380,7 +8424,7 @@ var manage_workspace_default = _template("o", (input) => {
8380
8424
  return 0;
8381
8425
  }
8382
8426
  }, $scope0_id, "w", 1, 1, 1, 0, 1);
8383
- _html(`<section${_attr_class(["_bw", "_ei"])}><div${_attr_class("_bx")}><h2${_attr_class("_bK")}>Workspace</h2></div><div${_attr_class("_ej")}>`);
8427
+ _html(`<section${_attr_class(["_bn", "_eT"])}><div${_attr_class("_bo")}><h2${_attr_class("_bB")}>Workspace</h2></div><div${_attr_class("_eU")}>`);
8384
8428
  _if(() => {
8385
8429
  if (ws.status === "active") {
8386
8430
  const $scope8_id = _scope_id();
@@ -8494,19 +8538,19 @@ var term_find_default = _template("A", (input) => {
8494
8538
  const canStep = hasQuery && open;
8495
8539
  const keybar = input.placement === "keybar";
8496
8540
  _html(`<div${_attr_class([
8497
- "_fA",
8498
- keybar ? "_fC" : "_fB",
8499
- !open && "_fE"
8500
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fv", keybar ? "_fD" : "_fx"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
8541
+ "_fX",
8542
+ keybar ? "_fZ" : "_fY",
8543
+ !open && "_f1"
8544
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fS", keybar ? "_f0" : "_fU"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
8501
8545
  if (!open) return;
8502
8546
  query = v;
8503
8547
  live.query = v;
8504
8548
  run(0);
8505
- }, "A0", $scope0_id))}${_attr_class([findInput, keybar && "_fF"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_fG"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
8549
+ }, "A0", $scope0_id))}${_attr_class([findInput, keybar && "_f2"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_f3"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
8506
8550
  icon_arrow_up_default({ size: 14 });
8507
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fG"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
8551
+ _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_f3"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
8508
8552
  icon_arrow_down_default({ size: 14 });
8509
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_fG"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
8553
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_f3"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
8510
8554
  icon_xmark_default({ size: 14 });
8511
8555
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
8512
8556
  _script($scope0_id, "A4");
@@ -8840,7 +8884,7 @@ var term_default = _template("B", (input) => {
8840
8884
  trapOpen = true;
8841
8885
  }
8842
8886
  }, "B14", $scope0_id);
8843
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_dx")}><div${_attr_class("_dy")}></div>${_el_resume($scope0_id, "b")}`);
8887
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_dL")}><div${_attr_class("_dM")}></div>${_el_resume($scope0_id, "b")}`);
8844
8888
  _if(() => {
8845
8889
  if (findOpen) {
8846
8890
  const $scope12_id = _scope_id();
@@ -8867,7 +8911,7 @@ var term_default = _template("B", (input) => {
8867
8911
  _if(() => {
8868
8912
  if (uploading) {
8869
8913
  const $scope19_id = _scope_id();
8870
- _html(`<div${_attr_class("_dE")}>uploading…</div>`);
8914
+ _html(`<div${_attr_class("_dS")}>uploading…</div>`);
8871
8915
  writeScope($scope19_id, {});
8872
8916
  return 0;
8873
8917
  }
@@ -8875,7 +8919,7 @@ var term_default = _template("B", (input) => {
8875
8919
  _if(() => {
8876
8920
  if (copiedFlash) {
8877
8921
  const $scope20_id = _scope_id();
8878
- _html(`<div${_attr_class("_dD")}>Copied</div>`);
8922
+ _html(`<div${_attr_class("_dR")}>Copied</div>`);
8879
8923
  writeScope($scope20_id, {});
8880
8924
  return 0;
8881
8925
  }
@@ -8884,7 +8928,7 @@ var term_default = _template("B", (input) => {
8884
8928
  _if(() => {
8885
8929
  if (trapOpen) {
8886
8930
  const $scope11_id = _scope_id();
8887
- _html(`<div${_attr_class("_dF")}><div${_attr_class("_dG")}><p${_attr_class("_d_")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_o")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
8931
+ _html(`<div${_attr_class("_dT")}><div${_attr_class("_dU")}><p${_attr_class("_en")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_o")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
8888
8932
  _script($scope11_id, "B25");
8889
8933
  _script($scope11_id, "B26");
8890
8934
  writeScope($scope11_id, {});
@@ -8988,7 +9032,7 @@ var work_view_default = _template("F", (input) => {
8988
9032
  let DiffView = null;
8989
9033
  const loadDiffView = _resume(() => {
8990
9034
  if (DiffView) return;
8991
- import("./_4-M1FiLt.js").then((m) => {
9035
+ import("./_CeVZfkIY.js").then((m) => {
8992
9036
  DiffView = m.default;
8993
9037
  });
8994
9038
  }, "F6", $scope0_id);
@@ -9468,7 +9512,7 @@ var work_view_default = _template("F", (input) => {
9468
9512
  _if(() => {
9469
9513
  if (!shownSessions.length && view === "term") {
9470
9514
  const $scope7_id = _scope_id();
9471
- _html(`<div${_attr_class("_bI")}><span>No sessions in this workspace.</span><button${_attr_class(["_o", "_p"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
9515
+ _html(`<div${_attr_class("_bz")}><span>No sessions in this workspace.</span><button${_attr_class(["_o", "_p"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
9472
9516
  _script($scope7_id, "F50");
9473
9517
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
9474
9518
  return 0;
@@ -9478,7 +9522,7 @@ var work_view_default = _template("F", (input) => {
9478
9522
  return 0;
9479
9523
  } else {
9480
9524
  const $scope10_id = _scope_id();
9481
- _html(`<p${_attr_class("_bI")}>Loading sessions…</p>`);
9525
+ _html(`<p${_attr_class("_bz")}>Loading sessions…</p>`);
9482
9526
  writeScope($scope10_id, {});
9483
9527
  return 1;
9484
9528
  }
@@ -11157,11 +11201,15 @@ var Pref = /* @__PURE__ */ object({
11157
11201
  key: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ maxLength(120)),
11158
11202
  value: /* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ maxLength(4096)))
11159
11203
  });
11204
+ /** Per-workspace UI prefs — the workspace id is the suffix after the last `:`. */
11205
+ var OWNED = /^(?:tab|diff-filter|diff-pos):(.+)$/;
11160
11206
  var GET$19 = Run.GET(() => Response.json(allPrefs()));
11161
11207
  //#endregion
11162
11208
  //#region __marko-run__api.prefs.js
11163
11209
  var postHandler$14 = normalizeHandler(Run.POST({ json: Pref }, async (ctx) => {
11164
11210
  const body = await readBody(ctx);
11211
+ const owned = OWNED.exec(body.key);
11212
+ if (owned && !get("SELECT id FROM workspaces WHERE id = ?", owned[1])) return Response.json({ ok: true });
11165
11213
  setPref(body.key, body.value);
11166
11214
  return Response.json({ ok: true });
11167
11215
  }), "POST");
@@ -11378,10 +11426,12 @@ var Patch = /* @__PURE__ */ object({
11378
11426
  }))
11379
11427
  });
11380
11428
  function snapshot$1() {
11429
+ const catalog = agentChoices();
11430
+ const agents = catalog.filter((a) => a.enabled && a.id !== "shell").map((a) => a.id);
11381
11431
  return {
11382
- preferredAgent: preferredAgent(),
11383
- agents: enabledAgents(),
11384
- catalog: agentChoices(),
11432
+ preferredAgent: preferredAgent(agents),
11433
+ agents,
11434
+ catalog,
11385
11435
  disabledAgents: [...disabledAgents()],
11386
11436
  instance: getInstance()
11387
11437
  };
@@ -12290,10 +12340,27 @@ async function resolveBase(dir, wsBranch, baseBranch, headBranch, foreign, baseR
12290
12340
  missing: true
12291
12341
  };
12292
12342
  }
12343
+ /** Memo keyed on resolved shas — never on ref names, or a fetch/commit
12344
+ * would pin a stale `contained` and silently diff the wrong side.
12345
+ * Size-capped (Map insertion order = oldest first): an open review that
12346
+ * auto-reloads on every agent commit would otherwise grow without bound
12347
+ * for the life of the process. */
12348
+ var CONTAINED_CACHE_MAX = 1e3;
12349
+ var containedCache = /* @__PURE__ */ new Map();
12293
12350
  /** True when merging `head` into `base` is a no-op (head's unique work
12294
12351
  * is already in `base` — the squash-merge case). A conflict is not
12295
12352
  * containment; the caller falls through to three-dot. */
12296
- async function treeContainedIn(dir, base, head) {
12353
+ function treeContainedIn(dir, baseSha, headSha) {
12354
+ const key = `${dir}\0${baseSha}\0${headSha}`;
12355
+ let hit = containedCache.get(key);
12356
+ if (!hit) {
12357
+ hit = treeContainedInUncached(dir, baseSha, headSha);
12358
+ containedCache.set(key, hit);
12359
+ if (containedCache.size > CONTAINED_CACHE_MAX) containedCache.delete(containedCache.keys().next().value);
12360
+ }
12361
+ return hit;
12362
+ }
12363
+ async function treeContainedInUncached(dir, base, head) {
12297
12364
  try {
12298
12365
  return (await git([
12299
12366
  "merge-tree",
@@ -12316,12 +12383,7 @@ async function workspaceDiff(ws, opts = {}) {
12316
12383
  const seen = reviewSeen(ws.id);
12317
12384
  return (await Promise.all(ws.repos.map(async (repo) => {
12318
12385
  const dir = path.join(ws.path, repo.worktree);
12319
- const branch = await git([
12320
- "rev-parse",
12321
- "--abbrev-ref",
12322
- "HEAD"
12323
- ], dir).catch(() => "HEAD");
12324
- const localHead = await headOid(dir);
12386
+ const { oid: localHead, branch } = await headOid(dir);
12325
12387
  const open = (await workspacePrs(repo.full_name, ws.branch, foreign, refresh)).filter((p) => p.state === "OPEN" && p.baseRefName && p.headRefName && (!focus || focus === `${repo.worktree}/${p.number}`));
12326
12388
  let list;
12327
12389
  if (open.length) list = await Promise.all(open.map((p) => prDiff(dir, repo, p, {
@@ -12365,8 +12427,8 @@ async function prDiff(dir, repo, pr, ctx) {
12365
12427
  await freshenBaseRefs(dir, repo.full_name, [pr.baseRefName, pr.headRefName]);
12366
12428
  const headRef = `origin/${pr.headRefName}`;
12367
12429
  const baseRef = `origin/${pr.baseRefName}`;
12368
- const head = await git(["rev-parse", headRef], dir).catch(() => "") || pr.headRefOid || "";
12369
- const baseSha = await git(["rev-parse", baseRef], dir).catch(() => "");
12430
+ const [headResolved, baseSha] = await Promise.all([git(["rev-parse", headRef], dir).catch(() => ""), git(["rev-parse", baseRef], dir).catch(() => "")]);
12431
+ const head = headResolved || pr.headRefOid || "";
12370
12432
  const base = {
12371
12433
  id: `${repo.worktree}#${pr.number}`,
12372
12434
  worktree: repo.worktree,
@@ -12389,7 +12451,7 @@ async function prDiff(dir, repo, pr, ctx) {
12389
12451
  baseRef,
12390
12452
  head
12391
12453
  ], dir).catch(() => "");
12392
- const contained = await treeContainedIn(dir, baseRef, head);
12454
+ const contained = await treeContainedIn(dir, baseSha, head);
12393
12455
  const files = await collectFiles(dir, contained ? head : mergeBase || baseRef, head, ctx.scope);
12394
12456
  const githubDrift = !!pr.headRefOid && head !== pr.headRefOid;
12395
12457
  return {
@@ -12441,10 +12503,9 @@ async function localDiff(dir, ws, repo, branch, localHead, baseRef, scope) {
12441
12503
  baseMissing: true,
12442
12504
  files: []
12443
12505
  };
12444
- const contained = !missing && !emptyRemote && await treeContainedIn(dir, ref, "HEAD");
12445
- const against = contained ? "HEAD" : mergeBase;
12446
12506
  const baseSha = missing ? localHead : emptyRemote ? mergeBase : await git(["rev-parse", ref], dir).catch(() => mergeBase);
12447
- const files = await collectFiles(dir, against, "HEAD", scope);
12507
+ const contained = !missing && !emptyRemote && !!baseSha && await treeContainedIn(dir, baseSha, localHead);
12508
+ const files = await collectFiles(dir, contained ? "HEAD" : mergeBase, "HEAD", scope);
12448
12509
  return {
12449
12510
  ...base,
12450
12511
  head: localHead,
@@ -12513,8 +12574,7 @@ async function collectFiles(dir, oldRev, newRev, scope) {
12513
12574
  status: "A"
12514
12575
  });
12515
12576
  const stats = parseNumstat(numstat);
12516
- const olds = await batchContents(dir, oldRev, entries.filter((e) => e.status !== "A").map((e) => e.path));
12517
- const news = uncommitted ? null : await batchContents(dir, newRev, entries.filter((e) => e.status !== "D").map((e) => e.path));
12577
+ const [olds, news] = await Promise.all([batchContents(dir, oldRev, entries.filter((e) => e.status !== "A").map((e) => e.path)), uncommitted ? Promise.resolve(null) : batchContents(dir, newRev, entries.filter((e) => e.status !== "D").map((e) => e.path))]);
12518
12578
  const files = await Promise.all(entries.map(async (e) => {
12519
12579
  const file = news ? fromBlobs(e.path, e.status, olds.get(e.path), news.get(e.path)) : await loadWorktreeFile(dir, e.path, e.status, olds.get(e.path));
12520
12580
  if (!news && dirtyPaths.has(e.path)) file.hash = createHash("sha1").update(e.status).update(file.new ?? "").digest("hex").slice(0, 16);
@@ -17963,4 +18023,4 @@ server.listen(port, () => {
17963
18023
  //#endregion
17964
18024
  export {};
17965
18025
 
17966
- ;var __MARKO_MANIFEST__={"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-DuEXAcnI.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DuEXAcnI.css\"",">"],"defer":[2,"/assets/w._-gddPZdgU.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-gddPZdgU.js\"","></script>",2,"modulepreload#/assets/_BrtordPT.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BrtordPT.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-DuEXAcnI.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DuEXAcnI.css\"",">"],"defer":[2,"/assets/new-gddPZdgU.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-gddPZdgU.js\"","></script>",2,"modulepreload#/assets/_BrtordPT.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BrtordPT.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-DuEXAcnI.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DuEXAcnI.css\"",">"],"defer":[2,"/assets/w._-E2EHSRw5.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-E2EHSRw5.js\"","></script>",2,"modulepreload#/assets/_BrtordPT.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BrtordPT.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-DuEXAcnI.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DuEXAcnI.css\"",">"],"defer":[2,"/assets/settings-gddPZdgU.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-gddPZdgU.js\"","></script>",2,"modulepreload#/assets/_BrtordPT.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BrtordPT.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-DuEXAcnI.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-DuEXAcnI.css\"",">"],"defer":[2,"/assets/w-gddPZdgU.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-gddPZdgU.js\"","></script>",2,"modulepreload#/assets/_BrtordPT.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BrtordPT.js\"",">"]}};
18026
+ ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-LDZ2KXKs.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-LDZ2KXKs.css\"",">"],"defer":[2,"/assets/new-CwlftYMt.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-CwlftYMt.js\"","></script>",2,"modulepreload#/assets/_CVtWHYIm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CVtWHYIm.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-LDZ2KXKs.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-LDZ2KXKs.css\"",">"],"defer":[2,"/assets/settings-CwlftYMt.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-CwlftYMt.js\"","></script>",2,"modulepreload#/assets/_CVtWHYIm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CVtWHYIm.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-LDZ2KXKs.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-LDZ2KXKs.css\"",">"],"defer":[2,"/assets/w-CwlftYMt.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-CwlftYMt.js\"","></script>",2,"modulepreload#/assets/_CVtWHYIm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CVtWHYIm.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-LDZ2KXKs.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-LDZ2KXKs.css\"",">"],"defer":[2,"/assets/w._-CwlftYMt.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CwlftYMt.js\"","></script>",2,"modulepreload#/assets/_CVtWHYIm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CVtWHYIm.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-LDZ2KXKs.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-LDZ2KXKs.css\"",">"],"defer":[2,"/assets/w._-BGFF38Oe.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BGFF38Oe.js\"","></script>",2,"modulepreload#/assets/_CVtWHYIm.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CVtWHYIm.js\"",">"]}};