@dylanpiercey/work 0.0.122 → 0.0.124

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 (252) hide show
  1. package/bin/work.mjs +61 -17
  2. package/dist/_8GaDFTzQ.js +2 -0
  3. package/dist/{_DJyHc1w-.js → _930ti7l4.js} +4 -4
  4. package/dist/{_CfwTkTbL.js → _BJcBOXUi.js} +2 -2
  5. package/dist/{_BPX2_wNT.js → _Bzb6xzDq.js} +17 -17
  6. package/dist/{_BdBrOaZF.js → _CBA__L3F.js} +50 -50
  7. package/dist/_CrVv317N.js +2 -0
  8. package/dist/{_Cr71Xd0d.js → _DOBRRnfU.js} +13 -3
  9. package/dist/_iX5oUHA_.js +2 -0
  10. package/dist/index.mjs +1196 -737
  11. package/dist/public/assets/{_Dwsfrcqr.js → _0BOh03kg.js} +1 -1
  12. package/dist/public/assets/_0BOh03kg.js.br +0 -0
  13. package/dist/public/assets/{_ih_22Lwc.js → _6APRznCj.js} +1 -1
  14. package/dist/public/assets/_6APRznCj.js.br +0 -0
  15. package/dist/public/assets/{_DZXcx3AV2.js → _7mj205Em2.js} +1 -1
  16. package/dist/public/assets/_7mj205Em2.js.br +0 -0
  17. package/dist/public/assets/{_9NNG2Bg-.js → _9aVyqty8.js} +1 -1
  18. package/dist/public/assets/_9aVyqty8.js.br +0 -0
  19. package/dist/public/assets/{_Bkd9T8qO2.js → _AmbAR7S52.js} +1 -1
  20. package/dist/public/assets/_AmbAR7S52.js.br +0 -0
  21. package/dist/public/assets/{_a18bdHwu2.js → _B44tyyUG2.js} +1 -1
  22. package/dist/public/assets/_B44tyyUG2.js.br +0 -0
  23. package/dist/public/assets/{_ClA-9QLW.js → _BBxg4PRF.js} +1 -1
  24. package/dist/public/assets/_BBxg4PRF.js.br +0 -0
  25. package/dist/public/assets/{_DegNdi0y2.js → _BC012r8W2.js} +1 -1
  26. package/dist/public/assets/_BC012r8W2.js.br +0 -0
  27. package/dist/public/assets/{_BxfzYLyp.js → _BDrcfwfI.js} +1 -1
  28. package/dist/public/assets/_BDrcfwfI.js.br +0 -0
  29. package/dist/public/assets/{_DL2HExUi2.js → _BHJ9GJI52.js} +1 -1
  30. package/dist/public/assets/_BHJ9GJI52.js.br +0 -0
  31. package/dist/public/assets/{_CPCFHsPT2.js → _BHZFjFr72.js} +1 -1
  32. package/dist/public/assets/_BHZFjFr72.js.br +0 -0
  33. package/dist/public/assets/{_DLbcflUX2.js → _BJFqA5yY2.js} +1 -1
  34. package/dist/public/assets/_BJFqA5yY2.js.br +0 -0
  35. package/dist/public/assets/{_6yLwnUth.js → _BKfwbuKk.js} +1 -1
  36. package/dist/public/assets/_BKfwbuKk.js.br +0 -0
  37. package/dist/public/assets/{_Y8lHXkX62.js → _BLqcxg502.js} +1 -1
  38. package/dist/public/assets/_BLqcxg502.js.br +0 -0
  39. package/dist/public/assets/{_BO_carFG.js → _BOMd8TCK.js} +1 -1
  40. package/dist/public/assets/_BOMd8TCK.js.br +0 -0
  41. package/dist/public/assets/{_DWZLw9u5.js → _BZ1ORFOG.js} +1 -1
  42. package/dist/public/assets/_BZ1ORFOG.js.br +0 -0
  43. package/dist/public/assets/{_BvJHLrwP2.js → _BbElRt4j2.js} +1 -1
  44. package/dist/public/assets/_BbElRt4j2.js.br +0 -0
  45. package/dist/public/assets/{_BPjnrd1A.js → _BeiKlFyF.js} +1 -1
  46. package/dist/public/assets/_BeiKlFyF.js.br +0 -0
  47. package/dist/public/assets/{_DDNq8klN.js → _Bfxr0cJZ.js} +1 -1
  48. package/dist/public/assets/_Bfxr0cJZ.js.br +0 -0
  49. package/dist/public/assets/{_CW70CETb.js → _BngsVbfs.js} +1 -1
  50. package/dist/public/assets/_BngsVbfs.js.br +0 -0
  51. package/dist/public/assets/{_BO5eXuo12.js → _Bo6N68cW2.js} +1 -1
  52. package/dist/public/assets/_Bo6N68cW2.js.br +0 -0
  53. package/dist/public/assets/{_4C4ZKftZ.js → _BqMMY6m_.js} +1 -1
  54. package/dist/public/assets/_BqMMY6m_.js.br +0 -0
  55. package/dist/public/assets/{_9wp1Weya.js → _Bu1p9uSE.js} +1 -1
  56. package/dist/public/assets/_Bu1p9uSE.js.br +0 -0
  57. package/dist/public/assets/{_BcnKn75V.js → _Bwf6AXcG.js} +23 -23
  58. package/dist/public/assets/_Bwf6AXcG.js.br +0 -0
  59. package/dist/public/assets/{_22Wep3Qj2.js → _BxfEGvTl2.js} +1 -1
  60. package/dist/public/assets/{_Bhf_wksG.js → _By0ZhvwN.js} +1 -1
  61. package/dist/public/assets/_By0ZhvwN.js.br +0 -0
  62. package/dist/public/assets/{_BgxHsV2q.js → _BzZTGAcf.js} +1 -1
  63. package/dist/public/assets/_BzZTGAcf.js.br +0 -0
  64. package/dist/public/assets/{_CLM87vGj.js → _C3jgMqec.js} +1 -1
  65. package/dist/public/assets/_C3jgMqec.js.br +0 -0
  66. package/dist/public/assets/{_BvTWp2QQ.js → _C7K5skmZ.js} +1 -1
  67. package/dist/public/assets/_C7K5skmZ.js.br +0 -0
  68. package/dist/public/assets/{_8ixfpSLV.js → _C7xNavdA.js} +1 -1
  69. package/dist/public/assets/_C7xNavdA.js.br +0 -0
  70. package/dist/public/assets/{_DOa36sDf2.js → _C8zp54RX2.js} +1 -1
  71. package/dist/public/assets/_C8zp54RX2.js.br +0 -0
  72. package/dist/public/assets/{_DfLxwQXd.js → _CNIVJCYh.js} +1 -1
  73. package/dist/public/assets/_CNIVJCYh.js.br +0 -0
  74. package/dist/public/assets/{_BcA9iBrt.js → _Ccw2WcFJ.js} +1 -1
  75. package/dist/public/assets/_Ccw2WcFJ.js.br +0 -0
  76. package/dist/public/assets/{_CorgOnjQ.js → _CdJgBBp1.js} +1 -1
  77. package/dist/public/assets/_CdJgBBp1.js.br +0 -0
  78. package/dist/public/assets/{_D2SIC9vH2.js → _Ce_0QLmD2.js} +1 -1
  79. package/dist/public/assets/_Ce_0QLmD2.js.br +0 -0
  80. package/dist/public/assets/{_CpByFq0N.js → _Cg4e3YdF.js} +1 -1
  81. package/dist/public/assets/_Cg4e3YdF.js.br +0 -0
  82. package/dist/public/assets/{_Buu8_cyc.js → _ChgUBap2.js} +1 -1
  83. package/dist/public/assets/_ChgUBap2.js.br +0 -0
  84. package/dist/public/assets/{_kQ849tt6.js → _CkMbbZTV.js} +1 -1
  85. package/dist/public/assets/_CkMbbZTV.js.br +0 -0
  86. package/dist/public/assets/{_BllRu2dt.js → _Clf2e2n_.js} +1 -1
  87. package/dist/public/assets/_Clf2e2n_.js.br +0 -0
  88. package/dist/public/assets/{_DY5MuJqh.js → _CpBLPn2w.js} +1 -1
  89. package/dist/public/assets/_CpBLPn2w.js.br +0 -0
  90. package/dist/public/assets/{_D_5rjG0o.js → _CrdZJZZd.js} +1 -1
  91. package/dist/public/assets/_CrdZJZZd.js.br +0 -0
  92. package/dist/public/assets/{_CNVk64eD.js → _Csc5thvE.js} +1 -1
  93. package/dist/public/assets/_Csc5thvE.js.br +0 -0
  94. package/dist/public/assets/{_Bz61WBUI.js → _Cxsd1Imx.js} +1 -1
  95. package/dist/public/assets/_Cxsd1Imx.js.br +0 -0
  96. package/dist/public/assets/{_CNBki2Aq.js → _D1EW4Pmg.js} +1 -1
  97. package/dist/public/assets/_D1EW4Pmg.js.br +0 -0
  98. package/dist/public/assets/{_W9aOkr2v.js → _D7F06nEE.js} +1 -1
  99. package/dist/public/assets/_D7F06nEE.js.br +0 -0
  100. package/dist/public/assets/{_CM8zmLXB.js → _DCWzPBMu.js} +1 -1
  101. package/dist/public/assets/_DCWzPBMu.js.br +0 -0
  102. package/dist/public/assets/{_sWtKlZZ5.js → _DFti8M4d.js} +6 -6
  103. package/dist/public/assets/_DFti8M4d.js.br +0 -0
  104. package/dist/public/assets/{_DwTIenq9.js → _DHzj4OkK.js} +1 -1
  105. package/dist/public/assets/_DHzj4OkK.js.br +0 -0
  106. package/dist/public/assets/{_hO1aV02w2.js → _DLblqdFG2.js} +1 -1
  107. package/dist/public/assets/{_BfzwZXGo.js → _DSMA17Ls.js} +1 -1
  108. package/dist/public/assets/_DSMA17Ls.js.br +0 -0
  109. package/dist/public/assets/{_xvmiPi6J2.js → _DSZXi7PW2.js} +1 -1
  110. package/dist/public/assets/_DSZXi7PW2.js.br +0 -0
  111. package/dist/public/assets/{_CWU_IJjz2.js → _DU-HvI1X2.js} +1 -1
  112. package/dist/public/assets/_DU-HvI1X2.js.br +0 -0
  113. package/dist/public/assets/{_CrlXwiFN2.js → _DU546zvR2.js} +1 -1
  114. package/dist/public/assets/_DU546zvR2.js.br +0 -0
  115. package/dist/public/assets/{_B80Me7dX.js → _DXtAKSWy.js} +1 -1
  116. package/dist/public/assets/{_D1zxC16I2.js → _DYiWc3Qv2.js} +1 -1
  117. package/dist/public/assets/_DYiWc3Qv2.js.br +0 -0
  118. package/dist/public/assets/{_CKAWtCKg2.js → _DaicYUdR2.js} +1 -1
  119. package/dist/public/assets/_DaicYUdR2.js.br +0 -0
  120. package/dist/public/assets/{_C5fkGs032.js → _Dbdv5Cok2.js} +1 -1
  121. package/dist/public/assets/_Dbdv5Cok2.js.br +0 -0
  122. package/dist/public/assets/{_C0Wcm1DA.js → _DeGTY8L-.js} +1 -1
  123. package/dist/public/assets/_DeGTY8L-.js.br +0 -0
  124. package/dist/public/assets/{_MEclBKIH.js → _Df4m81GI.js} +1 -1
  125. package/dist/public/assets/_Df4m81GI.js.br +0 -0
  126. package/dist/public/assets/{_Z4spekbX.js → _Dg8W2qKd.js} +1 -1
  127. package/dist/public/assets/_Dg8W2qKd.js.br +0 -0
  128. package/dist/public/assets/{_lo4uGYhv.js → _DhF3kqKM.js} +1 -1
  129. package/dist/public/assets/_DhF3kqKM.js.br +0 -0
  130. package/dist/public/assets/{_CqgcFjOQ.js → _Dkj5kUs_.js} +1 -1
  131. package/dist/public/assets/_Dkj5kUs_.js.br +0 -0
  132. package/dist/public/assets/{_CqEc7KwE.js → _DrK8xGce.js} +1 -1
  133. package/dist/public/assets/_DrK8xGce.js.br +0 -0
  134. package/dist/public/assets/{_Tpid4lIw.js → _DsFrJ9e-.js} +1 -1
  135. package/dist/public/assets/_DsFrJ9e-.js.br +0 -0
  136. package/dist/public/assets/{_DyZPE8LD2.js → _Dtnyhhg42.js} +1 -1
  137. package/dist/public/assets/_Dtnyhhg42.js.br +0 -0
  138. package/dist/public/assets/{_BJVUTWAN.js → _DuA-u7gQ.js} +1 -1
  139. package/dist/public/assets/_DuA-u7gQ.js.br +0 -0
  140. package/dist/public/assets/{_BYOrCsb12.js → _DxEgOJrA2.js} +1 -1
  141. package/dist/public/assets/_DxEgOJrA2.js.br +0 -0
  142. package/dist/public/assets/{_BO6TG3u42.js → _DyFKKRcb2.js} +1 -1
  143. package/dist/public/assets/_DyFKKRcb2.js.br +0 -0
  144. package/dist/public/assets/{_BeYy7LJv.js → _PyWD-OLD.js} +1 -1
  145. package/dist/public/assets/_PyWD-OLD.js.br +0 -0
  146. package/dist/public/assets/{_5waGGcsH2.js → _XKdqeQJS2.js} +1 -1
  147. package/dist/public/assets/_XKdqeQJS2.js.br +0 -0
  148. package/dist/public/assets/{_DMzElmqz.js → _YUHil-cs.js} +1 -1
  149. package/dist/public/assets/_YUHil-cs.js.br +0 -0
  150. package/dist/public/assets/{_DbEs3COY.js → _gz2ki5-c.js} +1 -1
  151. package/dist/public/assets/_gz2ki5-c.js.br +0 -0
  152. package/dist/public/assets/{_D9QYQO8L.js → _hv6mbBf-.js} +1 -1
  153. package/dist/public/assets/_hv6mbBf-.js.br +0 -0
  154. package/dist/public/assets/{_Bgq0Djxf.js → _iUhOV8GI.js} +1 -1
  155. package/dist/public/assets/_iUhOV8GI.js.br +0 -0
  156. package/dist/public/assets/{_BQfrm6Hv.js → _kZUgqOeI.js} +1 -1
  157. package/dist/public/assets/_kZUgqOeI.js.br +0 -0
  158. package/dist/public/assets/{_CtuCeJaB.js → _lcPvr6W1.js} +1 -1
  159. package/dist/public/assets/_lcPvr6W1.js.br +0 -0
  160. package/dist/public/assets/{app-page-9ukuDxSW.css → app-page-Dk_mvqt2.css} +1 -1
  161. package/dist/public/assets/app-page-Dk_mvqt2.css.br +0 -0
  162. package/dist/public/assets/{diff-view-BmyKvz_f.css → diff-view-DJbuoCt_.css} +1 -1
  163. package/dist/public/assets/diff-view-DJbuoCt_.css.br +0 -0
  164. package/dist/public/assets/new-B8Rn8B9U.js +1 -0
  165. package/dist/public/assets/settings-B8Rn8B9U.js +1 -0
  166. package/dist/public/assets/w-B8Rn8B9U.js +1 -0
  167. package/dist/public/assets/w._-B8Rn8B9U.js +1 -0
  168. package/dist/public/assets/w._-DIHEc1VL.js +1 -0
  169. package/package.json +1 -1
  170. package/dist/_B1lVb01g.js +0 -2
  171. package/dist/_Bjh5JEm7.js +0 -2
  172. package/dist/_Dpa8WFuv.js +0 -2
  173. package/dist/public/assets/_4C4ZKftZ.js.br +0 -0
  174. package/dist/public/assets/_5waGGcsH2.js.br +0 -0
  175. package/dist/public/assets/_6yLwnUth.js.br +0 -0
  176. package/dist/public/assets/_8ixfpSLV.js.br +0 -0
  177. package/dist/public/assets/_9NNG2Bg-.js.br +0 -0
  178. package/dist/public/assets/_9wp1Weya.js.br +0 -0
  179. package/dist/public/assets/_BJVUTWAN.js.br +0 -0
  180. package/dist/public/assets/_BO5eXuo12.js.br +0 -0
  181. package/dist/public/assets/_BO6TG3u42.js.br +0 -0
  182. package/dist/public/assets/_BO_carFG.js.br +0 -0
  183. package/dist/public/assets/_BPjnrd1A.js.br +0 -0
  184. package/dist/public/assets/_BQfrm6Hv.js.br +0 -0
  185. package/dist/public/assets/_BYOrCsb12.js.br +0 -0
  186. package/dist/public/assets/_BcA9iBrt.js.br +0 -0
  187. package/dist/public/assets/_BcnKn75V.js.br +0 -0
  188. package/dist/public/assets/_BeYy7LJv.js.br +0 -0
  189. package/dist/public/assets/_BfzwZXGo.js.br +0 -0
  190. package/dist/public/assets/_Bgq0Djxf.js.br +0 -0
  191. package/dist/public/assets/_BgxHsV2q.js.br +0 -0
  192. package/dist/public/assets/_Bhf_wksG.js.br +0 -0
  193. package/dist/public/assets/_Bkd9T8qO2.js.br +0 -0
  194. package/dist/public/assets/_BllRu2dt.js.br +0 -0
  195. package/dist/public/assets/_Buu8_cyc.js.br +0 -0
  196. package/dist/public/assets/_BvJHLrwP2.js.br +0 -0
  197. package/dist/public/assets/_BvTWp2QQ.js.br +0 -0
  198. package/dist/public/assets/_BxfzYLyp.js.br +0 -0
  199. package/dist/public/assets/_Bz61WBUI.js.br +0 -0
  200. package/dist/public/assets/_C0Wcm1DA.js.br +0 -0
  201. package/dist/public/assets/_C5fkGs032.js.br +0 -0
  202. package/dist/public/assets/_CKAWtCKg2.js.br +0 -0
  203. package/dist/public/assets/_CLM87vGj.js.br +0 -0
  204. package/dist/public/assets/_CM8zmLXB.js.br +0 -0
  205. package/dist/public/assets/_CNBki2Aq.js.br +0 -0
  206. package/dist/public/assets/_CNVk64eD.js.br +0 -0
  207. package/dist/public/assets/_CPCFHsPT2.js.br +0 -0
  208. package/dist/public/assets/_CW70CETb.js.br +0 -0
  209. package/dist/public/assets/_CWU_IJjz2.js.br +0 -0
  210. package/dist/public/assets/_ClA-9QLW.js.br +0 -0
  211. package/dist/public/assets/_CorgOnjQ.js.br +0 -0
  212. package/dist/public/assets/_CpByFq0N.js.br +0 -0
  213. package/dist/public/assets/_CqEc7KwE.js.br +0 -0
  214. package/dist/public/assets/_CqgcFjOQ.js.br +0 -0
  215. package/dist/public/assets/_CrlXwiFN2.js.br +0 -0
  216. package/dist/public/assets/_CtuCeJaB.js.br +0 -0
  217. package/dist/public/assets/_D1zxC16I2.js.br +0 -0
  218. package/dist/public/assets/_D2SIC9vH2.js.br +0 -0
  219. package/dist/public/assets/_D9QYQO8L.js.br +0 -0
  220. package/dist/public/assets/_DDNq8klN.js.br +0 -0
  221. package/dist/public/assets/_DL2HExUi2.js.br +0 -0
  222. package/dist/public/assets/_DLbcflUX2.js.br +0 -0
  223. package/dist/public/assets/_DMzElmqz.js.br +0 -0
  224. package/dist/public/assets/_DOa36sDf2.js.br +0 -0
  225. package/dist/public/assets/_DWZLw9u5.js.br +0 -0
  226. package/dist/public/assets/_DY5MuJqh.js.br +0 -0
  227. package/dist/public/assets/_DZXcx3AV2.js.br +0 -0
  228. package/dist/public/assets/_D_5rjG0o.js.br +0 -0
  229. package/dist/public/assets/_DbEs3COY.js.br +0 -0
  230. package/dist/public/assets/_DegNdi0y2.js.br +0 -0
  231. package/dist/public/assets/_DfLxwQXd.js.br +0 -0
  232. package/dist/public/assets/_DwTIenq9.js.br +0 -0
  233. package/dist/public/assets/_Dwsfrcqr.js.br +0 -0
  234. package/dist/public/assets/_DyZPE8LD2.js.br +0 -0
  235. package/dist/public/assets/_MEclBKIH.js.br +0 -0
  236. package/dist/public/assets/_Tpid4lIw.js.br +0 -0
  237. package/dist/public/assets/_W9aOkr2v.js.br +0 -0
  238. package/dist/public/assets/_Y8lHXkX62.js.br +0 -0
  239. package/dist/public/assets/_Z4spekbX.js.br +0 -0
  240. package/dist/public/assets/_a18bdHwu2.js.br +0 -0
  241. package/dist/public/assets/_ih_22Lwc.js.br +0 -0
  242. package/dist/public/assets/_kQ849tt6.js.br +0 -0
  243. package/dist/public/assets/_lo4uGYhv.js.br +0 -0
  244. package/dist/public/assets/_sWtKlZZ5.js.br +0 -0
  245. package/dist/public/assets/_xvmiPi6J2.js.br +0 -0
  246. package/dist/public/assets/app-page-9ukuDxSW.css.br +0 -0
  247. package/dist/public/assets/diff-view-BmyKvz_f.css.br +0 -0
  248. package/dist/public/assets/new-PmY_tc2O.js +0 -1
  249. package/dist/public/assets/settings-PmY_tc2O.js +0 -1
  250. package/dist/public/assets/w-PmY_tc2O.js +0 -1
  251. package/dist/public/assets/w._-DL1tdfaH.js +0 -1
  252. package/dist/public/assets/w._-PmY_tc2O.js +0 -1
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
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, V as publish, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as git, a as ensureTmuxServer, at as which, b as readHookPayload, bt as config, ct as agentById, d as newSessionArgs, dt as all, et as discoverAgents, ft as db, g as sessionStates, h as sendToSession, ht as TMUX_SOCKET, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as agentLabel$1, m as renameSession, mt as workspacePath, n as clearTmuxStarted, o as getSession, pt as get, 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 toolById, v as tmuxWasStarted, w as agentFamily, x as reportsWorking, y as AGENTS, yt as tmux, z as pushPublicKey } from "./_Cr71Xd0d.js";
3
- import { B as withLock, C as revParse, D as ensureAllPushHooks, E as workspaceBranches, F as repoBranches, G as ensureGitCredentials, H as addHost, I as repoCatalog, K as forgetToken, L as repoDefaultBranch, M as headOid, N as remoteHasHeads, O as hookToken, P as pendingSsoOrgs, Q as ownsBranch, S as resumePendingWorkspaces, T as withProgressOp, U as cloneUrl, V as DEFAULT_HOST, W as configuredHosts, X as removeHost, Z as splitRepo, _ as progress$1, b as queueMaterialize, c as setAutoPush, d as createWorkspace, f as deleteWorkspace, g as otherWorkspaceBranches, h as listWorkspaces, i as noteRemoteRef, j as workspaceProcs, k as killWorkspaceProc, l as addRepo$1, m as insertPendingWorkspace, p as getWorkspace, r as noteLocalRefs, s as pushWorkspaceRepo, t as autoPushEnabled, u as barePath, v as progressSince, w as setWorkspaceStatus, x as removeRepo, y as pruneLaneBranch, z as swr } from "./_DJyHc1w-.js";
4
- import { a as statusForAllFresh, c as refreshPrsBatch, i as statusForAll, l as workspacePrs, n as pokeStatusWatch, o as dismissPr, r as startStatusWatch, s as notePushActivity, t as activeRepoTargets } from "./_CfwTkTbL.js";
5
- import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./_BPX2_wNT.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, V as publish, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as git, a as ensureTmuxServer, at as which, b as readHookPayload, bt as config, ct as agentById, d as newSessionArgs, dt as all, et as discoverAgents, ft as db, g as sessionStates, h as sendToSession, ht as TMUX_SOCKET, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as agentLabel$1, m as renameSession, mt as workspacePath, n as clearTmuxStarted, o as getSession, pt as get, 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 toolById, v as tmuxWasStarted, w as agentFamily, x as reportsWorking, y as AGENTS, yt as tmux, z as pushPublicKey } from "./_DOBRRnfU.js";
3
+ import { B as withLock, C as revParse, D as ensureAllPushHooks, E as workspaceBranches, F as repoBranches, G as ensureGitCredentials, H as addHost, I as repoCatalog, K as forgetToken, L as repoDefaultBranch, M as headOid, N as remoteHasHeads, O as hookToken, P as pendingSsoOrgs, Q as ownsBranch, S as resumePendingWorkspaces, T as withProgressOp, U as cloneUrl, V as DEFAULT_HOST, W as configuredHosts, X as removeHost, Z as splitRepo, _ as progress$1, b as queueMaterialize, c as setAutoPush, d as createWorkspace, f as deleteWorkspace, g as otherWorkspaceBranches, h as listWorkspaces, i as noteRemoteRef, j as workspaceProcs, k as killWorkspaceProc, l as addRepo$1, m as insertPendingWorkspace, p as getWorkspace, r as noteLocalRefs, s as pushWorkspaceRepo, t as autoPushEnabled, u as barePath, v as progressSince, w as setWorkspaceStatus, x as removeRepo, y as pruneLaneBranch, z as swr } from "./_930ti7l4.js";
4
+ import { a as statusForAllFresh, c as refreshPrsBatch, i as statusForAll, l as workspacePrs, n as pokeStatusWatch, o as dismissPr, r as startStatusWatch, s as notePushActivity, t as activeRepoTargets } from "./_BJcBOXUi.js";
5
+ import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./_Bzb6xzDq.js";
6
6
  import fs from "node:fs";
7
7
  import { createServer } from "node:http";
8
8
  import path from "node:path";
@@ -2195,7 +2195,7 @@ function getUsage(refresh = false) {
2195
2195
  }
2196
2196
  /** The plan row an agent instance draws on: its own account (`claude2`)
2197
2197
  * when the provider reports per account, else the family's (`codex`). */
2198
- function usageFor(agentId, usage) {
2198
+ function usageFor$1(agentId, usage) {
2199
2199
  const rows = usage?.agents || [];
2200
2200
  const exact = rows.find((r) => r.agent === agentId);
2201
2201
  if (exact) return exact;
@@ -2323,18 +2323,18 @@ function applyInstance(inst) {
2323
2323
  }
2324
2324
  //#endregion
2325
2325
  //#region src/tags/settings-page.css.ts
2326
- var content$2 = "_cc _bp _bq";
2327
- var agentGrid = "_ci _bA";
2328
- var toolGrid = "_cs _bA";
2326
+ var content$2 = "_cc _bF _bG";
2327
+ var agentGrid = "_ci _br";
2328
+ var toolGrid = "_cs _br";
2329
2329
  var themeSeg = "_cH _6";
2330
2330
  var swatches = "_cP _6";
2331
- var checkList = "_de _bA";
2331
+ var checkList = "_de _br";
2332
2332
  //#endregion
2333
2333
  //#region src/tags/page-head.marko
2334
- var page_head_default = _template("s", (input) => {
2334
+ var page_head_default = _template("t", (input) => {
2335
2335
  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);
2336
2336
  const $scope0_id = _scope_id();
2337
- _html(`<header${_attr_class("_br")}>`);
2337
+ _html(`<header${_attr_class("_bH")}>`);
2338
2338
  _if(() => {
2339
2339
  if (input.backHref) {
2340
2340
  const $scope1_id = _scope_id();
@@ -2348,16 +2348,16 @@ var page_head_default = _template("s", (input) => {
2348
2348
  _html(`<button${_attr_class([iconBtnRow, "_di"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
2349
2349
  icon_back_default({ size: 16 });
2350
2350
  _html(`</button>${_el_resume($scope2_id, "a")}`);
2351
- _script($scope2_id, "s0");
2351
+ _script($scope2_id, "t0");
2352
2352
  writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
2353
2353
  return 1;
2354
2354
  }
2355
2355
  }, $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);
2356
- _html(`<div${_attr_class("_bt")}><h1${_attr("id", input.titleId)}${_attr_class("_bs")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
2356
+ _html(`<div${_attr_class("_bJ")}><h1${_attr("id", input.titleId)}${_attr_class("_bI")}>${_escape(input.title)}${_el_resume($scope0_id, "e", _serialize_guard($scope0_reason, 5))}</h1>${_el_resume($scope0_id, "d", _serialize_guard($scope0_reason, 4))}`);
2357
2357
  _if(() => {
2358
2358
  if (input.meta) {
2359
2359
  const $scope3_id = _scope_id();
2360
- _html(`<p${_attr_class("_bu")}>`);
2360
+ _html(`<p${_attr_class("_bK")}>`);
2361
2361
  _dynamic_tag($scope3_id, "b", input.meta, {}, 0, 0, $sg__input_meta);
2362
2362
  _html("</p>");
2363
2363
  $si__input_meta && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
@@ -2368,7 +2368,7 @@ var page_head_default = _template("s", (input) => {
2368
2368
  _if(() => {
2369
2369
  if (input.actions) {
2370
2370
  const $scope4_id = _scope_id();
2371
- _html(`<div${_attr_class("_bv")}>`);
2371
+ _html(`<div${_attr_class("_bL")}>`);
2372
2372
  _dynamic_tag($scope4_id, "b", input.actions, {}, 0, 0, $sg__input_actions);
2373
2373
  _html("</div>");
2374
2374
  $si__input_actions && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
@@ -2386,7 +2386,7 @@ var page_head_default = _template("s", (input) => {
2386
2386
  });
2387
2387
  //#endregion
2388
2388
  //#region src/tags/icons/icon-agent.marko
2389
- var icon_agent_default = _template("H", (input) => {
2389
+ var icon_agent_default = _template("I", (input) => {
2390
2390
  const $scope0_reason = _scope_reason(), $sg__input_agent = _serialize_guard($scope0_reason, 2), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0), $si__input_size__OR__input_class = _serialize_if($scope0_reason, 0), $si__input_size__OR__input_agent__OR__input_class = _serialize_if($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 2);
2391
2391
  const $scope0_id = _scope_id();
2392
2392
  const $badge__closures = /* @__PURE__ */ new Set();
@@ -2436,10 +2436,10 @@ var icon_agent_default = _template("H", (input) => {
2436
2436
  n: $badge__closures
2437
2437
  });
2438
2438
  });
2439
- var usageNote = "_fH _R";
2439
+ var usageNote = "_fe _R";
2440
2440
  //#endregion
2441
2441
  //#region src/tags/icons/icon-warning.marko
2442
- var icon_warning_default = _template("lb", (input) => {
2442
+ var icon_warning_default = _template("mb", (input) => {
2443
2443
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
2444
2444
  const $scope0_id = _scope_id();
2445
2445
  _set_serialize_reason({
@@ -2462,15 +2462,15 @@ function resetLabel(iso, stale) {
2462
2462
  if (ms <= 0) return stale ? null : "now";
2463
2463
  return duration(ms);
2464
2464
  }
2465
- var usage_meters_default = _template("E", (input) => {
2465
+ var usage_meters_default = _template("F", (input) => {
2466
2466
  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);
2467
2467
  const $scope0_id = _scope_id();
2468
2468
  const agent = input.agent;
2469
- _html(`<div${_attr_class(["_fB", { ["_fC"]: input.hideName }])}><div${_attr_class("_fD")}>`);
2469
+ _html(`<div${_attr_class(["_e9", { ["_e_"]: input.hideName }])}><div${_attr_class("_fa")}>`);
2470
2470
  _if(() => {
2471
2471
  if (!input.hideName) {
2472
2472
  const $scope1_id = _scope_id();
2473
- _html(`<strong${_attr_class("_fW")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
2473
+ _html(`<strong${_attr_class("_ft")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
2474
2474
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
2475
2475
  return 0;
2476
2476
  }
@@ -2478,7 +2478,7 @@ var usage_meters_default = _template("E", (input) => {
2478
2478
  _if(() => {
2479
2479
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
2480
2480
  const $scope2_id = _scope_id();
2481
- _html(`<span${_attr_class("_fE")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
2481
+ _html(`<span${_attr_class("_fb")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
2482
2482
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
2483
2483
  return 0;
2484
2484
  }
@@ -2486,21 +2486,21 @@ var usage_meters_default = _template("E", (input) => {
2486
2486
  _if(() => {
2487
2487
  if (agent.stale_seconds != null) {
2488
2488
  const $scope3_id = _scope_id();
2489
- _html(`<span${_attr_class("_fF")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
2489
+ _html(`<span${_attr_class("_fc")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
2490
2490
  icon_warning_default({ size: 12 });
2491
2491
  _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)}`);
2492
2492
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
2493
2493
  return 0;
2494
2494
  }
2495
2495
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
2496
- _html(`</div><div${_attr_class(["_fG", { ["_fX"]: agent.stale_seconds != null }])}>`);
2496
+ _html(`</div><div${_attr_class(["_fd", { ["_fu"]: agent.stale_seconds != null }])}>`);
2497
2497
  _for_of(agent.windows || [], (win) => {
2498
2498
  const $scope4_id = _scope_id();
2499
2499
  const pct = pctText(win.used_percent);
2500
2500
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
2501
- const fillClass = win.used_percent >= 90 ? "_fP" : win.used_percent >= 70 ? "_fO" : win.used_percent >= 40 ? "_fN" : "_fM";
2502
- const pctClass = win.used_percent >= 90 ? "_fU" : win.used_percent >= 70 ? "_fT" : win.used_percent >= 40 ? "_fS" : "_fR";
2503
- _html(`<div${_attr_class("_fI")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_fJ")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_fK")}><span${_attr_class(["_fL", 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(["_fQ", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fV")}>`);
2501
+ const fillClass = win.used_percent >= 90 ? "_fm" : win.used_percent >= 70 ? "_fl" : win.used_percent >= 40 ? "_fk" : "_fj";
2502
+ const pctClass = win.used_percent >= 90 ? "_fr" : win.used_percent >= 70 ? "_fq" : win.used_percent >= 40 ? "_fp" : "_fo";
2503
+ _html(`<div${_attr_class("_ff")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_fg")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_fh")}><span${_attr_class(["_fi", 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(["_fn", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fs")}>`);
2504
2504
  _if(() => {
2505
2505
  if (label) {
2506
2506
  const $scope6_id = _scope_id();
@@ -2532,12 +2532,12 @@ var usage_meters_default = _template("E", (input) => {
2532
2532
  q: $si__input_agent && agent?.note
2533
2533
  });
2534
2534
  });
2535
- var orgSkip = "_fs _1 _j";
2535
+ var orgSkip = "_e0 _1 _j";
2536
2536
  //#endregion
2537
2537
  //#region src/tags/sso-auth.marko
2538
2538
  var api$7;
2539
2539
  var watchProgress$3;
2540
- var sso_auth_default = _template("A", (input) => {
2540
+ var sso_auth_default = _template("B", (input) => {
2541
2541
  const $scope0_reason = _scope_reason(), $sg__input_items = _serialize_guard($scope0_reason, 2), $sg__input_skipped = _serialize_guard($scope0_reason, 1), $sg__input_skipped__OR__input_items_length = _serialize_guard($scope0_reason, 0), $si__input_items_0_host = _serialize_if($scope0_reason, 3);
2542
2542
  const $scope0_id = _scope_id();
2543
2543
  const $busy__closures = /* @__PURE__ */ new Set();
@@ -2579,40 +2579,40 @@ var sso_auth_default = _template("A", (input) => {
2579
2579
  localBusy = false;
2580
2580
  localCode = null;
2581
2581
  }
2582
- }, "A0", $scope0_id);
2583
- _html(`<div${_attr_class("_fp")}>`);
2582
+ }, "B0", $scope0_id);
2583
+ _html(`<div${_attr_class("_eX")}>`);
2584
2584
  _if(() => {
2585
2585
  if (input.items.length) {
2586
2586
  const $scope1_id = _scope_id();
2587
- _html(`<p${_attr_class("_fA")}>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("_fq")}>`);
2587
+ _html(`<p${_attr_class("_e8")}>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("_eY")}>`);
2588
2588
  _for_of(input.items, (s) => {
2589
2589
  const $scope2_id = _scope_id();
2590
- _html(`<li${_attr_class("_fr")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class(orgSkip)}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
2590
+ _html(`<li${_attr_class("_eZ")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class(orgSkip)}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
2591
2591
  icon_xmark_default({ size: 11 });
2592
2592
  _html(`</button>${_el_resume($scope2_id, "c")}</li>`);
2593
- _script($scope2_id, "A1");
2593
+ _script($scope2_id, "B1");
2594
2594
  _subscribe($busy__closures, writeScope($scope2_id, {
2595
2595
  g: s?.org,
2596
2596
  _: _scope_with_id($scope1_id)
2597
2597
  }));
2598
2598
  }, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
2599
- _html(`<div${_attr_class("_ft")}>`);
2599
+ _html(`<div${_attr_class("_e1")}>`);
2600
2600
  _if(() => {
2601
2601
  if (busy && authCode$2) {
2602
2602
  const $scope5_id = _scope_id();
2603
- _html(`<span${_attr_class("_fu")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_fv")}>${_escape(authCode$2)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_fw")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
2604
- _script($scope5_id, "A2");
2603
+ _html(`<span${_attr_class("_e2")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_e3")}>${_escape(authCode$2)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_e4")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
2604
+ _script($scope5_id, "B2");
2605
2605
  _subscribe($authCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
2606
2606
  return 0;
2607
2607
  } else if (busy) {
2608
2608
  const $scope8_id = _scope_id();
2609
- _html(`<span${_attr_class("_fu")}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</span>`);
2609
+ _html(`<span${_attr_class("_e2")}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</span>`);
2610
2610
  writeScope($scope8_id, {});
2611
2611
  return 1;
2612
2612
  } else {
2613
2613
  const $scope7_id = _scope_id();
2614
2614
  _html(`<button type=button${_attr_class(btnSm)} title="Re-authorize GitHub CLI (same device flow as Sign in)">Authorize SSO</button>${_el_resume($scope7_id, "a")}`);
2615
- _script($scope7_id, "A3");
2615
+ _script($scope7_id, "B3");
2616
2616
  writeScope($scope7_id, {});
2617
2617
  return 2;
2618
2618
  }
@@ -2620,7 +2620,7 @@ var sso_auth_default = _template("A", (input) => {
2620
2620
  _if(() => {
2621
2621
  if (localError) {
2622
2622
  const $scope6_id = _scope_id();
2623
- _html(`<p${_attr_class("_fA")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
2623
+ _html(`<p${_attr_class("_e8")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
2624
2624
  _subscribe($localError__closures, writeScope($scope6_id, {}));
2625
2625
  return 0;
2626
2626
  }
@@ -2632,11 +2632,11 @@ var sso_auth_default = _template("A", (input) => {
2632
2632
  _if(() => {
2633
2633
  if (skipped$1.length) {
2634
2634
  const $scope3_id = _scope_id();
2635
- _html(`<p${_attr_class("_fx")}>Skipped SSO for `);
2635
+ _html(`<p${_attr_class("_e5")}>Skipped SSO for `);
2636
2636
  _for_of(skipped$1, (s) => {
2637
2637
  const $scope4_id = _scope_id();
2638
- _html(`<span${_attr_class("_fy")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_fz")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
2639
- _script($scope4_id, "A4");
2638
+ _html(`<span${_attr_class("_e6")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_e7")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
2639
+ _script($scope4_id, "B4");
2640
2640
  writeScope($scope4_id, {
2641
2641
  f: s?.org,
2642
2642
  _: _scope_with_id($scope3_id)
@@ -2672,7 +2672,7 @@ var sso_auth_default = _template("A", (input) => {
2672
2672
  });
2673
2673
  //#endregion
2674
2674
  //#region src/tags/icons/icon-plus.marko
2675
- var icon_plus_default = _template("eb", (input) => {
2675
+ var icon_plus_default = _template("fb", (input) => {
2676
2676
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
2677
2677
  const $scope0_id = _scope_id();
2678
2678
  _set_serialize_reason({
@@ -2704,13 +2704,13 @@ var dialog_close_default = _template("f", (input) => {
2704
2704
  });
2705
2705
  //#endregion
2706
2706
  //#region src/tags/modal-view.marko
2707
- var modal_view_default = _template("q", (input) => {
2707
+ var modal_view_default = _template("r", (input) => {
2708
2708
  const $scope0_reason = _scope_reason(), $si__input_openChange__OR__input_footer = _serialize_if($scope0_reason, 1), $sg__input_openChange__OR__input_footer = _serialize_guard($scope0_reason, 1), $si__input_openChange = _serialize_if($scope0_reason, 5);
2709
2709
  const $scope0_id = _scope_id();
2710
2710
  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;
2711
2711
  const dismissable = input.dismissable !== false;
2712
2712
  let open = input.open;
2713
- _html(`<dialog${_attr_class(["_f4", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
2713
+ _html(`<dialog${_attr_class(["_fv", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
2714
2714
  ...htmlInput,
2715
2715
  open: null
2716
2716
  }, {
@@ -2720,23 +2720,23 @@ var modal_view_default = _template("q", (input) => {
2720
2720
  closedby: 1,
2721
2721
  "on-cancel": 1,
2722
2722
  "on-close": 1
2723
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_f5")}>`);
2723
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_fw")}>`);
2724
2724
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
2725
2725
  _html("</div>");
2726
2726
  _if(() => {
2727
2727
  if (footer) {
2728
2728
  const $scope1_id = _scope_id();
2729
- _html(`<form method=dialog${_attr_class("_f6")}>`);
2729
+ _html(`<form method=dialog${_attr_class("_fx")}>`);
2730
2730
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
2731
2731
  _html("</form>");
2732
2732
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
2733
2733
  return 0;
2734
2734
  } else if (input.openChange) {
2735
2735
  const $scope2_id = _scope_id();
2736
- _html(`<form method=dialog${_attr_class("_f6")}>`);
2736
+ _html(`<form method=dialog${_attr_class("_fx")}>`);
2737
2737
  dialog_close_default({
2738
2738
  class: ["_o", "_p"],
2739
- content: _content("q0", () => {
2739
+ content: _content("r0", () => {
2740
2740
  _scope_reason();
2741
2741
  _scope_id();
2742
2742
  _html("Done");
@@ -2748,9 +2748,9 @@ var modal_view_default = _template("q", (input) => {
2748
2748
  }
2749
2749
  }, $scope0_id, "d", $sg__input_openChange__OR__input_footer, $sg__input_openChange__OR__input_footer, $sg__input_openChange__OR__input_footer, 0, 1);
2750
2750
  _html(`</dialog>${_el_resume($scope0_id, "a")}`);
2751
- _script($scope0_id, "q1");
2752
- _script($scope0_id, "q2");
2753
- _script($scope0_id, "q3");
2751
+ _script($scope0_id, "r1");
2752
+ _script($scope0_id, "r2");
2753
+ _script($scope0_id, "r3");
2754
2754
  writeScope($scope0_id, {
2755
2755
  h: $si__input_openChange && input.open,
2756
2756
  i: _serialize_if($scope0_reason, 0) && input.openChange,
@@ -2768,7 +2768,7 @@ var modal_view_default = _template("q", (input) => {
2768
2768
  });
2769
2769
  //#endregion
2770
2770
  //#region src/tags/prompt-dialog.marko
2771
- var prompt_dialog_default = _template("t", (input) => {
2771
+ var prompt_dialog_default = _template("u", (input) => {
2772
2772
  const $scope0_reason = _scope_reason(), $sg__input_label = _serialize_guard($scope0_reason, 1), $sg__input_openChange = _serialize_guard($scope0_reason, 3), $si__input_submitLabel = _serialize_if($scope0_reason, 4), $si__input_label = _serialize_if($scope0_reason, 1), $si__input_placeholder = _serialize_if($scope0_reason, 5);
2773
2773
  const $scope0_id = _scope_id();
2774
2774
  const $modalview_content__subscribers = /* @__PURE__ */ new Set();
@@ -2780,7 +2780,7 @@ var prompt_dialog_default = _template("t", (input) => {
2780
2780
  const submit = _resume(() => {
2781
2781
  const v = value.trim();
2782
2782
  if (v) input.onSubmit(v);
2783
- }, "t1", $scope0_id);
2783
+ }, "u1", $scope0_id);
2784
2784
  const titleId = _id();
2785
2785
  _set_serialize_reason({
2786
2786
  0: _serialize_guard($scope0_reason, 2),
@@ -2792,33 +2792,33 @@ var prompt_dialog_default = _template("t", (input) => {
2792
2792
  const $childScope = _peek_scope_id();
2793
2793
  modal_view_default({
2794
2794
  label: input.label,
2795
- class: "_fn",
2795
+ class: "_fy",
2796
2796
  open: input.open,
2797
2797
  openChange: input.openChange,
2798
2798
  "aria-labelledby": titleId,
2799
- footer: attrTag({ content: _content_resume("t5", () => {
2799
+ footer: attrTag({ content: _content_resume("u5", () => {
2800
2800
  _scope_reason();
2801
2801
  const $scope1_id = _scope_id();
2802
2802
  _html(`<button type=button${_attr_class(["_o", "_p"])}${_attr("disabled", !value.trim())}>${_escape(input.submitLabel || "OK")}${_el_resume($scope1_id, "b", _serialize_guard($scope0_reason, 4))}</button>${_el_resume($scope1_id, "a")}<div${_attr_class("_x")}></div>`);
2803
2803
  dialog_close_default({
2804
2804
  class: "_o",
2805
- content: _content("t2", () => {
2805
+ content: _content("u2", () => {
2806
2806
  _scope_reason();
2807
2807
  _scope_id();
2808
2808
  _html("Cancel");
2809
2809
  }, $scope1_id)
2810
2810
  });
2811
- _script($scope1_id, "t3");
2811
+ _script($scope1_id, "u3");
2812
2812
  _subscribe($value__closures, _subscribe($si__input_submitLabel && $input_submitLabel__closures, writeScope($scope1_id, { _: _scope_with_id($scope0_id) })));
2813
2813
  _resume_branch($scope1_id);
2814
2814
  }, $scope0_id) }),
2815
- content: _content("t6", () => {
2815
+ content: _content("u6", () => {
2816
2816
  _scope_reason();
2817
2817
  const $scope2_id = _scope_id();
2818
- _html(`<h2${_attr_class("_fo")}${_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) => {
2818
+ _html(`<h2${_attr_class("_fz")}${_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) => {
2819
2819
  value = _new_value;
2820
- }, "t0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
2821
- _script($scope2_id, "t4");
2820
+ }, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
2821
+ _script($scope2_id, "u4");
2822
2822
  _subscribe($value__closures, _subscribe($si__input_placeholder && $input_placeholder__closures, _subscribe($si__input_label && $input_label__closures, _subscribe($modalview_content__subscribers, writeScope($scope2_id, {
2823
2823
  _: _scope_with_id($scope0_id),
2824
2824
  Cr: 1
@@ -2826,7 +2826,7 @@ var prompt_dialog_default = _template("t", (input) => {
2826
2826
  _resume_branch($scope2_id);
2827
2827
  }, $scope0_id)
2828
2828
  });
2829
- _script($scope0_id, "t7");
2829
+ _script($scope0_id, "u7");
2830
2830
  writeScope($scope0_id, {
2831
2831
  e: input.onSubmit,
2832
2832
  h: input.openChange,
@@ -2855,7 +2855,7 @@ function familyOf(usageAgent, families) {
2855
2855
  }
2856
2856
  var lastSetup = null;
2857
2857
  var lastSkills = null;
2858
- var settings_page_default = _template("w", (input) => {
2858
+ var settings_page_default = _template("x", (input) => {
2859
2859
  const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onExit = _serialize_guard($scope0_reason, 1), $sg__input_agents = _serialize_guard($scope0_reason, 5), $sg__input_instance_accent = _serialize_guard($scope0_reason, 6), $si__input_instance__OR__input_instanceChange = _serialize_if($scope0_reason, 0), $si__input_preferred = _serialize_if($scope0_reason, 3), $si__input_setupChange = _serialize_if($scope0_reason, 2);
2860
2860
  const $scope0_id = _scope_id();
2861
2861
  const $setup_missing__closures = /* @__PURE__ */ new Set();
@@ -2919,7 +2919,7 @@ var settings_page_default = _template("w", (input) => {
2919
2919
  themeMode = mode;
2920
2920
  setTheme(mode);
2921
2921
  applyTheme(mode);
2922
- }, "w7", $scope0_id);
2922
+ }, "x7", $scope0_id);
2923
2923
  const selfUpdatePending = !!(self && !selfUpdating && self.install !== "source" && self.latest && self.latest !== self.version);
2924
2924
  const applySetup = _resume((s) => {
2925
2925
  setup = s;
@@ -2927,28 +2927,28 @@ var settings_page_default = _template("w", (input) => {
2927
2927
  if (!s.ready) machineOpen = true;
2928
2928
  setPrimaryHost(s.github);
2929
2929
  input.setupChange?.(s);
2930
- }, "w8", $scope0_id);
2930
+ }, "x8", $scope0_id);
2931
2931
  const syncAgents = _resume(async () => {
2932
2932
  try {
2933
2933
  const snap = await api$6("/api/settings");
2934
2934
  input.agentsChange?.(snap.agents);
2935
2935
  if (snap.preferredAgent !== input.preferred) input.preferredChange?.(snap.preferredAgent);
2936
2936
  } catch {}
2937
- }, "w9", $scope0_id);
2937
+ }, "x9", $scope0_id);
2938
2938
  const loadSetup = _resume(async (refresh) => {
2939
2939
  try {
2940
2940
  applySetup(await api$6(`/api/setup${refresh ? "?refresh" : ""}`));
2941
2941
  } catch (err) {
2942
2942
  error = String(err.message || err);
2943
2943
  }
2944
- }, "w10", $scope0_id);
2944
+ }, "x10", $scope0_id);
2945
2945
  const loadSelf = _resume(async (refresh) => {
2946
2946
  try {
2947
2947
  const info = await api$6(`/api/setup/self${refresh ? "?refresh" : ""}`);
2948
2948
  self = info;
2949
2949
  if (info.updating) selfUpdating = true;
2950
2950
  } catch {}
2951
- }, "w11", $scope0_id);
2951
+ }, "x11", $scope0_id);
2952
2952
  const updateSelf = _resume(async () => {
2953
2953
  if (!self || selfUpdating) return;
2954
2954
  selfUpdating = true;
@@ -2972,26 +2972,26 @@ var settings_page_default = _template("w", (input) => {
2972
2972
  else selfUpdating = false;
2973
2973
  };
2974
2974
  setTimeout(tick, 4e3);
2975
- }, "w12", $scope0_id);
2975
+ }, "x12", $scope0_id);
2976
2976
  const loadUsage = _resume((refresh) => getUsage(refresh).then((u) => {
2977
2977
  usage = u;
2978
- }), "w13", $scope0_id);
2978
+ }), "x13", $scope0_id);
2979
2979
  const refresh = _resume(async () => {
2980
2980
  refreshing = true;
2981
2981
  await Promise.all([loadSetup(true), loadSelf(true)]);
2982
2982
  refreshing = false;
2983
- }, "w14", $scope0_id);
2983
+ }, "x14", $scope0_id);
2984
2984
  const refreshUsage = _resume(async () => {
2985
2985
  usageRefreshing = true;
2986
2986
  await loadUsage(true);
2987
2987
  usageRefreshing = false;
2988
- }, "w15", $scope0_id);
2988
+ }, "x15", $scope0_id);
2989
2989
  const setActive = _resume((id, line) => {
2990
2990
  const next = new Map(active);
2991
2991
  if (line === null) next.delete(id);
2992
2992
  else next.set(id, line);
2993
2993
  active = next;
2994
- }, "w16", $scope0_id);
2994
+ }, "x16", $scope0_id);
2995
2995
  const run = _resume(async (id, action, version) => {
2996
2996
  if (active.has(id)) return;
2997
2997
  error = null;
@@ -3023,16 +3023,16 @@ var settings_page_default = _template("w", (input) => {
3023
3023
  watcher.stop();
3024
3024
  setActive(id, null);
3025
3025
  }
3026
- }, "w17", $scope0_id);
3026
+ }, "x17", $scope0_id);
3027
3027
  const applySkills = _resume((snap) => {
3028
3028
  skills = snap;
3029
3029
  lastSkills = snap;
3030
- }, "w18", $scope0_id);
3030
+ }, "x18", $scope0_id);
3031
3031
  const loadSkills = _resume(async () => {
3032
3032
  try {
3033
3033
  applySkills(await api$6("/api/skills"));
3034
3034
  } catch {}
3035
- }, "w19", $scope0_id);
3035
+ }, "x19", $scope0_id);
3036
3036
  const runSkill = _resume(async (key, body) => {
3037
3037
  if (active.has(key)) return;
3038
3038
  error = null;
@@ -3055,7 +3055,7 @@ var settings_page_default = _template("w", (input) => {
3055
3055
  watcher.stop();
3056
3056
  setActive(key, null);
3057
3057
  }
3058
- }, "w20", $scope0_id);
3058
+ }, "x20", $scope0_id);
3059
3059
  let autoPush = null;
3060
3060
  let backupBusy = null;
3061
3061
  let backupLine = "";
@@ -3073,7 +3073,7 @@ var settings_page_default = _template("w", (input) => {
3073
3073
  try {
3074
3074
  autoPush = (await api$6("/api/settings")).autoPush ?? true;
3075
3075
  } catch {}
3076
- }, "w21", $scope0_id);
3076
+ }, "x21", $scope0_id);
3077
3077
  const setAutoPush = _resume(async (on) => {
3078
3078
  autoPush = on;
3079
3079
  try {
@@ -3086,7 +3086,7 @@ var settings_page_default = _template("w", (input) => {
3086
3086
  autoPush = !on;
3087
3087
  error = String(err.message || err);
3088
3088
  }
3089
- }, "w22", $scope0_id);
3089
+ }, "x22", $scope0_id);
3090
3090
  const downloadManifest = _resume(() => {
3091
3091
  const a = document.createElement("a");
3092
3092
  a.href = "/api/backup/export";
@@ -3095,7 +3095,7 @@ var settings_page_default = _template("w", (input) => {
3095
3095
  a.click();
3096
3096
  a.remove();
3097
3097
  preflight = null;
3098
- }, "w23", $scope0_id);
3098
+ }, "x23", $scope0_id);
3099
3099
  const startExport = _resume(async () => {
3100
3100
  if (backupBusy) return;
3101
3101
  error = null;
@@ -3110,7 +3110,7 @@ var settings_page_default = _template("w", (input) => {
3110
3110
  } finally {
3111
3111
  backupBusy = null;
3112
3112
  }
3113
- }, "w24", $scope0_id);
3113
+ }, "x24", $scope0_id);
3114
3114
  const pushAndExport = _resume(async () => {
3115
3115
  if (backupBusy) return;
3116
3116
  error = null;
@@ -3130,7 +3130,7 @@ var settings_page_default = _template("w", (input) => {
3130
3130
  watcher.stop();
3131
3131
  backupBusy = null;
3132
3132
  }
3133
- }, "w25", $scope0_id);
3133
+ }, "x25", $scope0_id);
3134
3134
  const pickRestoreFile = _resume(async (input) => {
3135
3135
  const file = input.files?.[0];
3136
3136
  input.value = "";
@@ -3164,13 +3164,13 @@ var settings_page_default = _template("w", (input) => {
3164
3164
  } catch (err) {
3165
3165
  error = String(err.message || err);
3166
3166
  }
3167
- }, "w26", $scope0_id);
3167
+ }, "x26", $scope0_id);
3168
3168
  const toggleRestoreWs = _resume((id, on) => {
3169
3169
  const next = new Set(restoreWs);
3170
3170
  if (on) next.add(id);
3171
3171
  else next.delete(id);
3172
3172
  restoreWs = next;
3173
- }, "w27", $scope0_id);
3173
+ }, "x27", $scope0_id);
3174
3174
  const runRestore = _resume(async () => {
3175
3175
  if (!restorePreview || backupBusy) return;
3176
3176
  error = null;
@@ -3205,7 +3205,7 @@ var settings_page_default = _template("w", (input) => {
3205
3205
  watcher.stop();
3206
3206
  backupBusy = null;
3207
3207
  }
3208
- }, "w28", $scope0_id);
3208
+ }, "x28", $scope0_id);
3209
3209
  const searchSkills = _resume((q) => {
3210
3210
  skillQuery = q;
3211
3211
  clearTimeout(skillTimer.id);
@@ -3225,7 +3225,7 @@ var settings_page_default = _template("w", (input) => {
3225
3225
  if (skillQuery === q) skillSearching = false;
3226
3226
  }
3227
3227
  }, 250);
3228
- }, "w0", $scope0_id);
3228
+ }, "x0", $scope0_id);
3229
3229
  const changeHost = _resume(async (host, remove) => {
3230
3230
  hostBusy = true;
3231
3231
  error = null;
@@ -3244,10 +3244,10 @@ var settings_page_default = _template("w", (input) => {
3244
3244
  } finally {
3245
3245
  hostBusy = false;
3246
3246
  }
3247
- }, "w29", $scope0_id);
3247
+ }, "x29", $scope0_id);
3248
3248
  const runEach = _resume(async (ids, action) => {
3249
3249
  for (const id of ids) await run(id, action);
3250
- }, "w30", $scope0_id);
3250
+ }, "x30", $scope0_id);
3251
3251
  const setPreferred = _resume(async (agent) => {
3252
3252
  input.preferredChange?.(agent);
3253
3253
  try {
@@ -3259,7 +3259,7 @@ var settings_page_default = _template("w", (input) => {
3259
3259
  } catch (err) {
3260
3260
  error = String(err.message || err);
3261
3261
  }
3262
- }, "w31", $scope0_id);
3262
+ }, "x31", $scope0_id);
3263
3263
  const saveTimer = { id: 0 };
3264
3264
  const setInstance = _resume((patch) => {
3265
3265
  const next = {
@@ -3284,7 +3284,7 @@ var settings_page_default = _template("w", (input) => {
3284
3284
  error = String(err.message || err);
3285
3285
  }
3286
3286
  }, 300);
3287
- }, "w32", $scope0_id);
3287
+ }, "x32", $scope0_id);
3288
3288
  const setEnabled = _resume(async (id, on) => {
3289
3289
  if (!setup) return;
3290
3290
  const off = new Set(setup.agents.flatMap((f) => f.instances.filter((i) => !i.enabled).map((i) => i.id)));
@@ -3311,7 +3311,7 @@ var settings_page_default = _template("w", (input) => {
3311
3311
  } catch (err) {
3312
3312
  error = String(err.message || err);
3313
3313
  }
3314
- }, "w33", $scope0_id);
3314
+ }, "x33", $scope0_id);
3315
3315
  const search = _resume((q) => {
3316
3316
  query = q;
3317
3317
  clearTimeout(searchTimer.id);
@@ -3331,16 +3331,16 @@ var settings_page_default = _template("w", (input) => {
3331
3331
  if (query === q) searching = false;
3332
3332
  }
3333
3333
  }, 250);
3334
- }, "w1", $scope0_id);
3335
- const outdated = _resume((t) => !!(t.installed && t.latest && t.latest !== t.version), "w34");
3334
+ }, "x1", $scope0_id);
3335
+ const outdated = _resume((t) => !!(t.installed && t.latest && t.latest !== t.version), "x34");
3336
3336
  const tools = setup?.tools || [];
3337
3337
  const missingInstallable = tools.filter((t) => t.recommended && !t.installed && t.installable);
3338
3338
  const missingCount = tools.filter((t) => t.recommended && !t.installed).length;
3339
3339
  const outdatedIds = tools.filter(outdated).map((t) => t.id);
3340
3340
  const families = setup?.agents || [];
3341
3341
  const instanceIds = new Set(families.flatMap((f) => f.instances.map((i) => i.id)));
3342
- const accountsFor = _resume((id) => (usage?.agents || []).filter((u) => u.agent === id), "w35", $scope0_id);
3343
- const strayAccountsFor = _resume((f) => (usage?.agents || []).filter((u) => !instanceIds.has(u.agent) && familyOf(u.agent, families) === f.id), "w36", $scope0_id);
3342
+ const accountsFor = _resume((id) => (usage?.agents || []).filter((u) => u.agent === id), "x35", $scope0_id);
3343
+ const strayAccountsFor = _resume((f) => (usage?.agents || []).filter((u) => !instanceIds.has(u.agent) && familyOf(u.agent, families) === f.id), "x36", $scope0_id);
3344
3344
  const otherUsage = (usage?.agents || []).filter((u) => familyOf(u.agent, families) === null);
3345
3345
  const titleId = _id();
3346
3346
  const agentsId = _id();
@@ -3349,7 +3349,7 @@ var settings_page_default = _template("w", (input) => {
3349
3349
  const backupId = _id();
3350
3350
  const machineId = _id();
3351
3351
  const skillsId = _id();
3352
- _html(`<div${_attr_class("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><div${_attr_class(content$2)}>`);
3352
+ _html(`<div${_attr_class("_bD")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bE")}><div${_attr_class(content$2)}>`);
3353
3353
  _set_serialize_reason({
3354
3354
  0: _serialize_guard($scope0_reason, 4),
3355
3355
  1: $sg__input_backHref__OR__input_onExit,
@@ -3358,7 +3358,7 @@ var settings_page_default = _template("w", (input) => {
3358
3358
  6: 1
3359
3359
  });
3360
3360
  let $meta;
3361
- if (setup && !setup.ready) $meta = attrTag({ content: _content_resume("w45", () => {
3361
+ if (setup && !setup.ready) $meta = attrTag({ content: _content_resume("x45", () => {
3362
3362
  _scope_reason();
3363
3363
  const $scope5_id = _scope_id();
3364
3364
  _html(`<span${_attr_class("_ce")}>Not ready</span>. Missing <!>${_escape(setup.missing.map((m) => MISSING_LABEL[m] || m).join(", "))}${_el_resume($scope5_id, "b")}.`);
@@ -3370,9 +3370,9 @@ var settings_page_default = _template("w", (input) => {
3370
3370
  title: "Settings",
3371
3371
  titleId,
3372
3372
  backHref: input.backHref,
3373
- onBack: input.onExit && _resume(() => input.onExit?.(), "w37", $scope0_id),
3373
+ onBack: input.onExit && _resume(() => input.onExit?.(), "x37", $scope0_id),
3374
3374
  meta: $meta,
3375
- actions: attrTag({ content: _content_resume("w46", () => {
3375
+ actions: attrTag({ content: _content_resume("x46", () => {
3376
3376
  _scope_reason();
3377
3377
  const $scope10_id = _scope_id();
3378
3378
  _html(`<button${_attr_class(iconBtnRow)} title="Re-check this machine" aria-label="Re-check this machine"${_attr("disabled", refreshing)}>`);
@@ -3383,7 +3383,7 @@ var settings_page_default = _template("w", (input) => {
3383
3383
  class: refreshing && "_D"
3384
3384
  });
3385
3385
  _html(`</button>${_el_resume($scope10_id, "a")}`);
3386
- _script($scope10_id, "w44");
3386
+ _script($scope10_id, "x44");
3387
3387
  _subscribe($refreshing__closures, writeScope($scope10_id, {
3388
3388
  _: _scope_with_id($scope0_id),
3389
3389
  b: _existing_scope($childScope)
@@ -3398,8 +3398,8 @@ var settings_page_default = _template("w", (input) => {
3398
3398
  placement: "inline",
3399
3399
  onDismiss: _resume(function() {
3400
3400
  error = null;
3401
- }, "w38", $scope8_id),
3402
- content: _content_resume("w47", () => {
3401
+ }, "x38", $scope8_id),
3402
+ content: _content_resume("x47", () => {
3403
3403
  _scope_reason();
3404
3404
  const $scope9_id = _scope_id();
3405
3405
  _html(`${_escape(error)}${_el_resume($scope9_id, "a")}`);
@@ -3432,7 +3432,7 @@ var settings_page_default = _template("w", (input) => {
3432
3432
  if (!selfUpdating) {
3433
3433
  const $scope48_id = _scope_id();
3434
3434
  _html(`<button${_attr_class(["_o", "_p"])}${_attr("title", `Update work to v${self.latest} and restart`)}>Update and restart</button>${_el_resume($scope48_id, "a")}`);
3435
- _script($scope48_id, "w48");
3435
+ _script($scope48_id, "x48");
3436
3436
  _subscribe($self_latest__closures, writeScope($scope48_id, { Cgv: 1 }));
3437
3437
  return 0;
3438
3438
  }
@@ -3442,10 +3442,10 @@ var settings_page_default = _template("w", (input) => {
3442
3442
  return 0;
3443
3443
  }
3444
3444
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
3445
- _html(`<section${_attr_class("_bx")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_by")}><h2${_attr("id", agentsId)}${_attr_class("_bL")}>Agents</h2><div${_attr_class("_x")}></div><label${_attr_class("_ck")}><span${_attr_class("_R")}>Default</span><span${_attr_class("_m")}>`);
3445
+ _html(`<section${_attr_class("_bo")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bp")}><h2${_attr("id", agentsId)}${_attr_class("_bC")}>Agents</h2><div${_attr_class("_x")}></div><label${_attr_class("_ck")}><span${_attr_class("_R")}>Default</span><span${_attr_class("_m")}>`);
3446
3446
  _attr_select_value($scope0_id, "n", input.preferred, _resume(function(v) {
3447
3447
  setPreferred(v);
3448
- }, "w2", $scope0_id), () => {
3448
+ }, "x2", $scope0_id), () => {
3449
3449
  _html(`<select${_attr_class(["_n", "_cl"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
3450
3450
  _for_of(input.agents.filter((a) => a !== "shell"), (id) => {
3451
3451
  const $scope83_id = _scope_id();
@@ -3467,14 +3467,14 @@ var settings_page_default = _template("w", (input) => {
3467
3467
  const rows = lone ? [] : a.instances;
3468
3468
  const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
3469
3469
  const extraAccounts = a.installed ? strayAccountsFor(a) : [];
3470
- _html(`<li${_attr_class(["_bC", "_cj"])}><div${_attr_class(["_cm", { ["_cp"]: lone && !lone.enabled }])}>`);
3470
+ _html(`<li${_attr_class(["_bt", "_cj"])}><div${_attr_class(["_cm", { ["_cp"]: lone && !lone.enabled }])}>`);
3471
3471
  _set_serialize_reason(12);
3472
3472
  const $childScope4 = _peek_scope_id();
3473
3473
  icon_agent_default({
3474
3474
  agent: a.id,
3475
3475
  size: 18
3476
3476
  });
3477
- _html(`<div${_attr_class("_bD")}><span${_attr_class("_bF")}><span${_attr_class("_bE")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
3477
+ _html(`<div${_attr_class("_bu")}><span${_attr_class("_bw")}><span${_attr_class("_bv")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
3478
3478
  _if(() => {
3479
3479
  if (lone && input.preferred === lone.id) {
3480
3480
  const $scope84_id = _scope_id();
@@ -3492,7 +3492,7 @@ var settings_page_default = _template("w", (input) => {
3492
3492
  return 0;
3493
3493
  } else if (!a.installed) {
3494
3494
  const $scope85_id = _scope_id();
3495
- _html(`<span${_attr_class("_bG")}>Not installed</span>`);
3495
+ _html(`<span${_attr_class("_bx")}>Not installed</span>`);
3496
3496
  writeScope($scope85_id, {});
3497
3497
  return 1;
3498
3498
  }
@@ -3502,7 +3502,7 @@ var settings_page_default = _template("w", (input) => {
3502
3502
  if (!a.installed && !active.has(a.id)) {
3503
3503
  const $scope58_id = _scope_id();
3504
3504
  _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope58_id, "a")}`);
3505
- _script($scope58_id, "w49");
3505
+ _script($scope58_id, "x49");
3506
3506
  writeScope($scope58_id, {});
3507
3507
  return 0;
3508
3508
  }
@@ -3515,7 +3515,7 @@ var settings_page_default = _template("w", (input) => {
3515
3515
  "_J",
3516
3516
  { [tone.ok]: lone.enabled }
3517
3517
  ])} role=switch aria-checked=${lone.enabled ? "true" : "false"} title=${lone.enabled ? "\"Shown in session pickers. Hide it\"" : "\"Hidden from session pickers. Show it\""}>${lone.enabled ? "on" : "off"}${_el_resume($scope79_id, "b")}</button>${_el_resume($scope79_id, "a")}`);
3518
- _script($scope79_id, "w50");
3518
+ _script($scope79_id, "x50");
3519
3519
  writeScope($scope79_id, {});
3520
3520
  return 0;
3521
3521
  }
@@ -3560,7 +3560,7 @@ var settings_page_default = _template("w", (input) => {
3560
3560
  writeScope($scope87_id, { a: _existing_scope($childScope6) });
3561
3561
  }, (u) => `${u.agent}-${u.account || ""}`, $scope3_id, "j", 1, 1, 1, 0, 1);
3562
3562
  _html("</li>");
3563
- _script($scope3_id, "w51");
3563
+ _script($scope3_id, "x51");
3564
3564
  _subscribe($accountsFor2__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope3_id, {
3565
3565
  m: inst?.enabled,
3566
3566
  n: inst?.id,
@@ -3610,7 +3610,7 @@ var settings_page_default = _template("w", (input) => {
3610
3610
  }, "id", $scope0_id, "r", 1, 1, 1, 0, 1);
3611
3611
  _for_of(otherUsage, (u) => {
3612
3612
  const $scope90_id = _scope_id();
3613
- _html(`<li${_attr_class(["_bC", "_cj"])}>`);
3613
+ _html(`<li${_attr_class(["_bt", "_cj"])}>`);
3614
3614
  _set_serialize_reason(6);
3615
3615
  const $childScope9 = _peek_scope_id();
3616
3616
  usage_meters_default({ agent: u });
@@ -3621,17 +3621,17 @@ var settings_page_default = _template("w", (input) => {
3621
3621
  _if(() => {
3622
3622
  if (!usage && families.length) {
3623
3623
  const $scope91_id = _scope_id();
3624
- _html(`<p${_attr_class("_bI")}><span${_attr_class("_E")}></span> Loading usage…</p>`);
3624
+ _html(`<p${_attr_class("_bz")}><span${_attr_class("_E")}></span> Loading usage…</p>`);
3625
3625
  writeScope($scope91_id, {});
3626
3626
  return 0;
3627
3627
  } else if (usage?.error) {
3628
3628
  const $scope7_id = _scope_id();
3629
- _html(`<p${_attr_class("_bI")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
3629
+ _html(`<p${_attr_class("_bz")}>${_escape(usage.error)}${_el_resume($scope7_id, "b")}</p>`);
3630
3630
  writeScope($scope7_id, {});
3631
3631
  return 1;
3632
3632
  }
3633
3633
  }, $scope0_id, "t", 1, 1, 1, 0, 1);
3634
- _html(`</section><section${_attr_class("_bx")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_by")}><h2${_attr("id", githubId)}${_attr_class("_bL")}>GitHub</h2></div><ul${_attr_class("_bA")}>`);
3634
+ _html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", githubId)}><div${_attr_class("_bp")}><h2${_attr("id", githubId)}${_attr_class("_bC")}>GitHub</h2></div><ul${_attr_class("_br")}>`);
3635
3635
  _for_of(setup?.github || [], (h) => {
3636
3636
  const $scope12_id = _scope_id();
3637
3637
  const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
@@ -3645,7 +3645,7 @@ var settings_page_default = _template("w", (input) => {
3645
3645
  const skippedSso = (() => {
3646
3646
  return (h.sso || []).filter((s) => ignoredSso.has(s.org));
3647
3647
  })();
3648
- _html(`<li${_attr_class(["_bC", "_cB"])}><div${_attr_class("_cC")}><div${_attr_class("_bD")}><span${_attr_class("_bF")}><span${_attr_class(["_bE", "_w"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
3648
+ _html(`<li${_attr_class(["_bt", "_cB"])}><div${_attr_class("_cC")}><div${_attr_class("_bu")}><span${_attr_class("_bw")}><span${_attr_class(["_bv", "_w"])}>${_escape(h.host)}${_el_resume($scope12_id, "f")}</span>`);
3649
3649
  _if(() => {
3650
3650
  if (h.isEnterprise) {
3651
3651
  const $scope94_id = _scope_id();
@@ -3668,12 +3668,12 @@ var settings_page_default = _template("w", (input) => {
3668
3668
  return 1;
3669
3669
  } else if (h.authed) {
3670
3670
  const $scope92_id = _scope_id();
3671
- _html(`<span${_attr_class("_bG")}>Signed in <!>${h.user ? `${_escape(`${_to_text(" ")}`)}as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope92_id, "b")}</span>`);
3671
+ _html(`<span${_attr_class("_bx")}>Signed in <!>${h.user ? `${_escape(`${_to_text(" ")}`)}as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope92_id, "b")}</span>`);
3672
3672
  writeScope($scope92_id, {});
3673
3673
  return 2;
3674
3674
  } else {
3675
3675
  const $scope93_id = _scope_id();
3676
- _html(`<span${_attr_class("_bG")}>${_escape(h.error || "Not signed in")}${_el_resume($scope93_id, "b")}</span>`);
3676
+ _html(`<span${_attr_class("_bx")}>${_escape(h.error || "Not signed in")}${_el_resume($scope93_id, "b")}</span>`);
3677
3677
  writeScope($scope93_id, {});
3678
3678
  return 3;
3679
3679
  }
@@ -3686,7 +3686,7 @@ var settings_page_default = _template("w", (input) => {
3686
3686
  if (!h.authed) {
3687
3687
  const $scope59_id = _scope_id();
3688
3688
  _html(`<button${_attr_class(btnSm)}>Sign in</button>${_el_resume($scope59_id, "a")}`);
3689
- _script($scope59_id, "w52");
3689
+ _script($scope59_id, "x52");
3690
3690
  writeScope($scope59_id, {});
3691
3691
  return 0;
3692
3692
  } else {
@@ -3695,7 +3695,7 @@ var settings_page_default = _template("w", (input) => {
3695
3695
  ["_r"]: confirmingRemove === `out:${h.host}`,
3696
3696
  ["_q"]: confirmingRemove === `out:${h.host}`
3697
3697
  }])}${confirmingRemove === `out:${h.host}` ? _attr("title", `Sign out of ${h.host}?`) : _attr("title", `Sign out of ${h.host}`)}>${confirmingRemove === `out:${h.host}` ? "Sign out?" : "Sign out"}${_el_resume($scope35_id, "b")}</button>${_el_resume($scope35_id, "a")}`);
3698
- _script($scope35_id, "w53");
3698
+ _script($scope35_id, "x53");
3699
3699
  _subscribe($for_content4__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope35_id, {})));
3700
3700
  return 1;
3701
3701
  }
@@ -3704,7 +3704,7 @@ var settings_page_default = _template("w", (input) => {
3704
3704
  if (h.isEnterprise) {
3705
3705
  const $scope36_id = _scope_id();
3706
3706
  _html(`<button${_attr_class([
3707
- "_bH",
3707
+ "_by",
3708
3708
  "_2",
3709
3709
  "_3",
3710
3710
  { ["_q"]: confirmingRemove === h.host }
@@ -3722,7 +3722,7 @@ var settings_page_default = _template("w", (input) => {
3722
3722
  return 1;
3723
3723
  }
3724
3724
  }, $scope36_id, "a", 1, 1, 1, "</button>");
3725
- _script($scope36_id, "w54");
3725
+ _script($scope36_id, "x54");
3726
3726
  _subscribe($for_content4__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope36_id, {
3727
3727
  Cgl: 1,
3728
3728
  Ca2: 1
@@ -3747,13 +3747,13 @@ var settings_page_default = _template("w", (input) => {
3747
3747
  authCode: authCodes.get(h.host),
3748
3748
  onChange: _resume(function() {
3749
3749
  ssoIgnoreTick++;
3750
- }, "w39", $scope14_id),
3750
+ }, "x39", $scope14_id),
3751
3751
  onAuthorize: _resume(function() {
3752
3752
  run(h.host, "auth-refresh");
3753
- }, "w40", $scope14_id),
3753
+ }, "x40", $scope14_id),
3754
3754
  onDone: _resume(function() {
3755
3755
  refresh();
3756
- }, "w41", $scope14_id)
3756
+ }, "x41", $scope14_id)
3757
3757
  });
3758
3758
  _subscribe($run2__closures, _subscribe($si__input_setupChange && $refresh2__closures, _subscribe($authCodes__closures, _subscribe($active__closures, writeScope($scope14_id, {
3759
3759
  a: _existing_scope($childScope10),
@@ -3780,7 +3780,7 @@ var settings_page_default = _template("w", (input) => {
3780
3780
  _if(() => {
3781
3781
  if (setup && !setup.github.length) {
3782
3782
  const $scope97_id = _scope_id();
3783
- _html(`<p${_attr_class("_bI")}>Install the GitHub CLI below to sign in.</p>`);
3783
+ _html(`<p${_attr_class("_bz")}>Install the GitHub CLI below to sign in.</p>`);
3784
3784
  writeScope($scope97_id, {});
3785
3785
  return 0;
3786
3786
  }
@@ -3788,12 +3788,12 @@ var settings_page_default = _template("w", (input) => {
3788
3788
  _if(() => {
3789
3789
  if (autoPush !== null) {
3790
3790
  const $scope65_id = _scope_id();
3791
- _html(`<div${_attr_class(row)}><div${_attr_class("_bD")}><span${_attr_class("_cu")}>Auto-push</span><span${_attr_class("_bG")}>Every commit on a workspace branch goes to origin. A push that fails shows on the workspace.</span></div><button${_attr_class([
3791
+ _html(`<div${_attr_class(row)}><div${_attr_class("_bu")}><span${_attr_class("_cu")}>Auto-push</span><span${_attr_class("_bx")}>Every commit on a workspace branch goes to origin. A push that fails shows on the workspace.</span></div><button${_attr_class([
3792
3792
  "_H",
3793
3793
  "_J",
3794
3794
  { [tone.ok]: autoPush }
3795
3795
  ])} role=switch aria-checked=${autoPush ? "true" : "false"} title=${autoPush ? "\"Workspace branches are pushed on every commit. Turn off\"" : "\"Workspace branches are only pushed by hand. Turn on\""}>${autoPush ? "on" : "off"}${_el_resume($scope65_id, "f")}</button>${_el_resume($scope65_id, "e")}</div>`);
3796
- _script($scope65_id, "w55");
3796
+ _script($scope65_id, "x55");
3797
3797
  writeScope($scope65_id, {});
3798
3798
  return 0;
3799
3799
  }
@@ -3808,13 +3808,13 @@ var settings_page_default = _template("w", (input) => {
3808
3808
  });
3809
3809
  _html(`<input${_attr_input_value($scope44_id, "d", hostInput, _resume((_new_hostInput) => {
3810
3810
  hostInput = _new_hostInput;
3811
- }, "w3", $scope44_id))}${_attr_class([inputLg, "_X"])} type=text placeholder="Add a GitHub Enterprise host, e.g. github.example.com" aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope44_id, "d")}</label><button${_attr_class(btnSm)} type=submit${_attr("disabled", !hostInput.trim() || hostBusy)}>${hostBusy ? "Adding…" : "Add host"}${_el_resume($scope44_id, "f")}</button>${_el_resume($scope44_id, "e")}</form>${_el_resume($scope44_id, "a")}`);
3812
- _script($scope44_id, "w56");
3811
+ }, "x3", $scope44_id))}${_attr_class([inputLg, "_X"])} type=text placeholder="Add a GitHub Enterprise host, e.g. github.example.com" aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope44_id, "d")}</label><button${_attr_class(btnSm)} type=submit${_attr("disabled", !hostInput.trim() || hostBusy)}>${hostBusy ? "Adding…" : "Add host"}${_el_resume($scope44_id, "f")}</button>${_el_resume($scope44_id, "e")}</form>${_el_resume($scope44_id, "a")}`);
3812
+ _script($scope44_id, "x56");
3813
3813
  writeScope($scope44_id, {});
3814
3814
  return 0;
3815
3815
  }
3816
3816
  }, $scope0_id, "a0", 1, 1, 1, 0, 1);
3817
- _html(`</section><section${_attr_class("_bx")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_by")}><h2${_attr("id", machineId)}${_attr_class("_bL")}><button${_attr_class("_cf")} aria-expanded=${machineOpen ? "true" : "false"}>`);
3817
+ _html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", machineId)}><div${_attr_class("_bp")}><h2${_attr("id", machineId)}${_attr_class("_bC")}><button${_attr_class("_cf")} aria-expanded=${machineOpen ? "true" : "false"}>`);
3818
3818
  _set_serialize_reason(1);
3819
3819
  const $childScope11 = _peek_scope_id();
3820
3820
  icon_chevron_right_default({
@@ -3843,7 +3843,7 @@ var settings_page_default = _template("w", (input) => {
3843
3843
  if (machineOpen && outdatedIds.length > 1) {
3844
3844
  const $scope15_id = _scope_id();
3845
3845
  _html(`<button${_attr_class(btnSm)}${_attr("disabled", active.size > 0)}>Update all</button>${_el_resume($scope15_id, "a")}`);
3846
- _script($scope15_id, "w57");
3846
+ _script($scope15_id, "x57");
3847
3847
  writeScope($scope15_id, {});
3848
3848
  return 0;
3849
3849
  }
@@ -3852,7 +3852,7 @@ var settings_page_default = _template("w", (input) => {
3852
3852
  if (machineOpen && missingInstallable.length > 1) {
3853
3853
  const $scope16_id = _scope_id();
3854
3854
  _html(`<button${_attr_class(btnSm)}${_attr("disabled", active.size > 0)}>Install missing</button>${_el_resume($scope16_id, "a")}`);
3855
- _script($scope16_id, "w58");
3855
+ _script($scope16_id, "x58");
3856
3856
  writeScope($scope16_id, {});
3857
3857
  return 0;
3858
3858
  }
@@ -3864,8 +3864,8 @@ var settings_page_default = _template("w", (input) => {
3864
3864
  _if(() => {
3865
3865
  if (setup && !setup.mise.installed) {
3866
3866
  const $scope17_id = _scope_id();
3867
- _html(`<p${_attr_class("_bI")}>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>`);
3868
- _script($scope17_id, "w59");
3867
+ _html(`<p${_attr_class("_bz")}>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>`);
3868
+ _script($scope17_id, "x59");
3869
3869
  _subscribe($active__closures, writeScope($scope17_id, { Cgi: 3 }));
3870
3870
  return 0;
3871
3871
  }
@@ -3895,7 +3895,7 @@ var settings_page_default = _template("w", (input) => {
3895
3895
  _html(`<button${_attr_class([btnSm, "_cw"])}${_attr("title", `Update work to v${self.latest} and restart`)}>`);
3896
3896
  icon_arrow_up_default({ size: 12 });
3897
3897
  _html(` <!>${_escape(self.latest)}${_el_resume($scope51_id, "c")}</button>${_el_resume($scope51_id, "a")}`);
3898
- _script($scope51_id, "w60");
3898
+ _script($scope51_id, "x60");
3899
3899
  _subscribe($self_latest__closures, writeScope($scope51_id, { Cgv: 3 }));
3900
3900
  return 1;
3901
3901
  } else if (self.latest) {
@@ -3946,7 +3946,7 @@ var settings_page_default = _template("w", (input) => {
3946
3946
  if (t.version) {
3947
3947
  const $scope41_id = _scope_id();
3948
3948
  _html(`<button${_attr_class(["_cv", "_w"])}${_attr("title", `${t.path || t.label}. Pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
3949
- _script($scope41_id, "w61");
3949
+ _script($scope41_id, "x61");
3950
3950
  _subscribe($for_content5__t_path__closures, _subscribe($for_content5__t_version__closures, _subscribe($for_content5__t_label__closures, writeScope($scope41_id, { Cu: 1 }))));
3951
3951
  return 0;
3952
3952
  } else {
@@ -3962,7 +3962,7 @@ var settings_page_default = _template("w", (input) => {
3962
3962
  _html(`<button${_attr_class([btnSm, "_cw"])}${_attr("title", `Update to v${t.latest}`)}>`);
3963
3963
  icon_arrow_up_default({ size: 12 });
3964
3964
  _html(` <!>${_escape(t.latest)}${_el_resume($scope60_id, "c")}</button>${_el_resume($scope60_id, "a")}`);
3965
- _script($scope60_id, "w62");
3965
+ _script($scope60_id, "x62");
3966
3966
  _subscribe($for_content5__t_latest__closures, writeScope($scope60_id, {}));
3967
3967
  return 0;
3968
3968
  }
@@ -3997,7 +3997,7 @@ var settings_page_default = _template("w", (input) => {
3997
3997
  if (!t.installed && t.installable) {
3998
3998
  const $scope61_id = _scope_id();
3999
3999
  _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope61_id, "a")}`);
4000
- _script($scope61_id, "w63");
4000
+ _script($scope61_id, "x63");
4001
4001
  writeScope($scope61_id, {});
4002
4002
  return 0;
4003
4003
  } else if (t.installed && t.version && !t.required) {
@@ -4021,7 +4021,7 @@ var settings_page_default = _template("w", (input) => {
4021
4021
  return 1;
4022
4022
  }
4023
4023
  }, $scope38_id, "a", 1, 1, 1, "</button>");
4024
- _script($scope38_id, "w64");
4024
+ _script($scope38_id, "x64");
4025
4025
  _subscribe($for_content5__t_id__closures, _subscribe($for_content5__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope38_id, { Cgl: 2 }))));
4026
4026
  return 1;
4027
4027
  }
@@ -4065,7 +4065,7 @@ var settings_page_default = _template("w", (input) => {
4065
4065
  _html(`<ul${_attr_class([toolGrid, "_cx"])}>`);
4066
4066
  _for_of(hits, (h) => {
4067
4067
  const $scope22_id = _scope_id();
4068
- _html(`<li${_attr_class(row)}><div${_attr_class("_bD")}><span${_attr_class(["_cu", "_w"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
4068
+ _html(`<li${_attr_class(row)}><div${_attr_class("_bu")}><span${_attr_class(["_cu", "_w"])}>${_escape(h.name)}${_el_resume($scope22_id, "d")}</span>`);
4069
4069
  _if(() => {
4070
4070
  if (active.has(h.name)) {
4071
4071
  const $scope23_id = _scope_id();
@@ -4074,7 +4074,7 @@ var settings_page_default = _template("w", (input) => {
4074
4074
  return 0;
4075
4075
  } else if (h.description) {
4076
4076
  const $scope108_id = _scope_id();
4077
- _html(`<span${_attr_class("_bG")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope108_id, "b")}</span>${_el_resume($scope108_id, "a")}`);
4077
+ _html(`<span${_attr_class("_bx")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope108_id, "b")}</span>${_el_resume($scope108_id, "a")}`);
4078
4078
  writeScope($scope108_id, {});
4079
4079
  return 1;
4080
4080
  }
@@ -4092,7 +4092,7 @@ var settings_page_default = _template("w", (input) => {
4092
4092
  } else {
4093
4093
  const $scope43_id = _scope_id();
4094
4094
  _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope43_id, "a")}<button${_attr_class(btnSm)} title="Install a specific version">@…</button>${_el_resume($scope43_id, "b")}`);
4095
- _script($scope43_id, "w65");
4095
+ _script($scope43_id, "x65");
4096
4096
  writeScope($scope43_id, {});
4097
4097
  return 1;
4098
4098
  }
@@ -4113,13 +4113,13 @@ var settings_page_default = _template("w", (input) => {
4113
4113
  return 0;
4114
4114
  } else if (hits && !searching) {
4115
4115
  const $scope45_id = _scope_id();
4116
- _html(`<p${_attr_class("_bI")}>No tools match "<!>${_escape(query)}${_el_resume($scope45_id, "b")}".</p>`);
4116
+ _html(`<p${_attr_class("_bz")}>No tools match "<!>${_escape(query)}${_el_resume($scope45_id, "b")}".</p>`);
4117
4117
  _subscribe($query__closures, writeScope($scope45_id, { Cgr: 1 }));
4118
4118
  return 1;
4119
4119
  }
4120
4120
  }, $scope20_id, "d", 1, 1, 1, 0, 1);
4121
4121
  _html("</div>");
4122
- _script($scope20_id, "w66");
4122
+ _script($scope20_id, "x66");
4123
4123
  _subscribe($search2__closures, _subscribe($searching__closures, _subscribe($hits__closures, _subscribe($query__closures, writeScope($scope20_id, {})))));
4124
4124
  return 0;
4125
4125
  }
@@ -4128,7 +4128,7 @@ var settings_page_default = _template("w", (input) => {
4128
4128
  return 0;
4129
4129
  }
4130
4130
  }, $scope0_id, "ab");
4131
- _html(`</section><section${_attr_class("_bx")}${_attr("aria-labelledby", skillsId)}><div${_attr_class("_by")}><h2${_attr("id", skillsId)}${_attr_class("_bL")}><button${_attr_class("_cf")} aria-expanded=false>`);
4131
+ _html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", skillsId)}><div${_attr_class("_bp")}><h2${_attr("id", skillsId)}${_attr_class("_bC")}><button${_attr_class("_cf")} aria-expanded=false>`);
4132
4132
  _set_serialize_reason(1);
4133
4133
  const $childScope12 = _peek_scope_id();
4134
4134
  icon_chevron_right_default({
@@ -4160,13 +4160,13 @@ var settings_page_default = _template("w", (input) => {
4160
4160
  label: "Dark"
4161
4161
  }
4162
4162
  ];
4163
- _html(`</section><section${_attr_class("_bx")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_by")}><h2${_attr("id", appearanceId)}${_attr_class("_bL")}>Appearance</h2></div><div${_attr_class(["_bC", "_cD"])}><label${_attr_class("_cE")}><span${_attr_class("_cF")}>Name</span><input${_attr_input_value($scope0_id, "ap", input.instance.name, _resume(function(v) {
4163
+ _html(`</section><section${_attr_class("_bo")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bp")}><h2${_attr("id", appearanceId)}${_attr_class("_bC")}>Appearance</h2></div><div${_attr_class(["_bt", "_cD"])}><label${_attr_class("_cE")}><span${_attr_class("_cF")}>Name</span><input${_attr_input_value($scope0_id, "ap", input.instance.name, _resume(function(v) {
4164
4164
  setInstance({ name: v });
4165
- }, "w4", $scope0_id))}${_attr_class(["_T", "_cG"])} type=text placeholder="Tab title" maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "ap")}</label><div${_attr_class("_cE")}><span${_attr_class("_cF")}>Theme</span><span${_attr_class("_cI")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
4165
+ }, "x4", $scope0_id))}${_attr_class(["_T", "_cG"])} type=text placeholder="Tab title" maxlength=32 autocomplete=off spellcheck=false>${_el_resume($scope0_id, "ap")}</label><div${_attr_class("_cE")}><span${_attr_class("_cF")}>Theme</span><span${_attr_class("_cI")}><span${_attr_class(themeSeg)} role=radiogroup aria-label="Color theme">`);
4166
4166
  _for_of(themeOpts, (opt) => {
4167
4167
  const $scope52_id = _scope_id();
4168
4168
  _html(`<button type=button${_attr_class(["_8", { ["_7"]: themeMode === opt.id }])} role=radio aria-checked=${themeMode === opt.id ? "true" : "false"}>${_escape(opt.label)}</button>${_el_resume($scope52_id, "a")}`);
4169
- _script($scope52_id, "w74");
4169
+ _script($scope52_id, "x74");
4170
4170
  writeScope($scope52_id, {
4171
4171
  e: opt?.id,
4172
4172
  _: _scope_with_id($scope0_id)
@@ -4175,7 +4175,7 @@ var settings_page_default = _template("w", (input) => {
4175
4175
  _html(`</span><span${_attr_class(["_m", "_cJ"])}>`);
4176
4176
  _attr_select_value($scope0_id, "av", themeMode, _resume(function(v) {
4177
4177
  setThemeMode(v);
4178
- }, "w5", $scope0_id), () => {
4178
+ }, "x5", $scope0_id), () => {
4179
4179
  _html(`<select${_attr_class(["_n", "_cK"])} aria-label="Color theme">`);
4180
4180
  forOf(themeOpts, (opt) => {
4181
4181
  _scope_id();
@@ -4191,7 +4191,7 @@ var settings_page_default = _template("w", (input) => {
4191
4191
  _for_of(ACCENT_PRESETS, (p) => {
4192
4192
  const $scope4_id = _scope_id();
4193
4193
  _html(`<button type=button${_attr_class(["_cQ", { ["_cR"]: input.instance.accent === p.value }])}${_attr_style(`--swatch:${p.value}`)} role=radio aria-checked=${input.instance.accent === p.value ? "true" : "false"}${_attr("title", p.name)}${_attr("aria-label", p.name)}></button>${_el_resume($scope4_id, "a")}`);
4194
- _script($scope4_id, "w75");
4194
+ _script($scope4_id, "x75");
4195
4195
  writeScope($scope4_id, {
4196
4196
  d: p?.value,
4197
4197
  _: _scope_with_id($scope0_id)
@@ -4204,7 +4204,7 @@ var settings_page_default = _template("w", (input) => {
4204
4204
  { ["_cR"]: customOn }
4205
4205
  ])}${customOn ? _attr_style(`--swatch:${input.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "b2", input.instance.accent || "#3556d8", _resume(function(v) {
4206
4206
  setInstance({ accent: v });
4207
- }, "w6", $scope0_id))}${_attr_class("_cU")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "b2")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "b1", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bx")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_by")}><h2${_attr("id", backupId)}${_attr_class("_bL")}>Backup</h2></div><ul${_attr_class("_bA")}><li${_attr_class(["_bC", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>Export</span>`);
4207
+ }, "x6", $scope0_id))}${_attr_class("_cU")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "b2")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "b1", $sg__input_instance_accent)}</span></div></div></section><section${_attr_class("_bo")}${_attr("aria-labelledby", backupId)}><div${_attr_class("_bp")}><h2${_attr("id", backupId)}${_attr_class("_bC")}>Backup</h2></div><ul${_attr_class("_br")}><li${_attr_class(["_bt", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bu")}><span${_attr_class("_bv")}>Export</span>`);
4208
4208
  _if(() => {
4209
4209
  if (backupBusy === "preflight" || backupBusy === "push") {
4210
4210
  const $scope66_id = _scope_id();
@@ -4213,7 +4213,7 @@ var settings_page_default = _template("w", (input) => {
4213
4213
  return 0;
4214
4214
  } else {
4215
4215
  const $scope124_id = _scope_id();
4216
- _html(`<span${_attr_class("_bG")}>Workspaces and their branches, settings, skills and tool pins in one file. Code stays on GitHub.</span>`);
4216
+ _html(`<span${_attr_class("_bx")}>Workspaces and their branches, settings, skills and tool pins in one file. Code stays on GitHub.</span>`);
4217
4217
  writeScope($scope124_id, {});
4218
4218
  return 1;
4219
4219
  }
@@ -4223,7 +4223,7 @@ var settings_page_default = _template("w", (input) => {
4223
4223
  if (!backupBusy && !preflight) {
4224
4224
  const $scope76_id = _scope_id();
4225
4225
  _html(`<button${_attr_class(btnSm)}>Export…</button>${_el_resume($scope76_id, "a")}`);
4226
- _script($scope76_id, "w76");
4226
+ _script($scope76_id, "x76");
4227
4227
  writeScope($scope76_id, {});
4228
4228
  return 0;
4229
4229
  }
@@ -4253,7 +4253,7 @@ var settings_page_default = _template("w", (input) => {
4253
4253
  _for_of(preflight.workspaces, (w) => {
4254
4254
  const $scope126_id = _scope_id();
4255
4255
  const $for_content18__w_name__closures = /* @__PURE__ */ new Set();
4256
- _html(`<li${_attr_class("_c8")}><span${_attr_class("_bE")}>${_escape(w.name)}${_el_resume($scope126_id, "c")}</span><ul${_attr_class("_c7")}>`);
4256
+ _html(`<li${_attr_class("_c8")}><span${_attr_class("_bv")}>${_escape(w.name)}${_el_resume($scope126_id, "c")}</span><ul${_attr_class("_c7")}>`);
4257
4257
  _for_of(w.repos, (r) => {
4258
4258
  const $scope127_id = _scope_id();
4259
4259
  const $for_content19__r_more__closures = /* @__PURE__ */ new Set();
@@ -4329,18 +4329,18 @@ var settings_page_default = _template("w", (input) => {
4329
4329
  if (preflight.unpushed) {
4330
4330
  const $scope77_id = _scope_id();
4331
4331
  _html(`<button${_attr_class([btnSm, "_p"])} title="Push every workspace branch, then export">Push and export</button>${_el_resume($scope77_id, "a")}`);
4332
- _script($scope77_id, "w77");
4332
+ _script($scope77_id, "x77");
4333
4333
  writeScope($scope77_id, {});
4334
4334
  return 0;
4335
4335
  }
4336
4336
  }, $scope68_id, "q", 1, 1, 1, 0, 1);
4337
4337
  _html(`<button${_attr_class([btnSm, { ["_p"]: !preflight.unpushed }])}>${preflight.unpushed ? "Export anyway" : "Export"}${_el_resume($scope68_id, "s")}</button>${_el_resume($scope68_id, "r")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope68_id, "t")}</div></div>`);
4338
- _script($scope68_id, "w78");
4338
+ _script($scope68_id, "x78");
4339
4339
  writeScope($scope68_id, {});
4340
4340
  return 0;
4341
4341
  }
4342
4342
  }, $scope0_id, "bd", 1, 1, 1, 0, 1);
4343
- _html(`</li><li${_attr_class(["_bC", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>Restore</span>`);
4343
+ _html(`</li><li${_attr_class(["_bt", "_c2"])}><div${_attr_class("_c3")}><div${_attr_class("_bu")}><span${_attr_class("_bv")}>Restore</span>`);
4344
4344
  _if(() => {
4345
4345
  if (backupBusy === "restore") {
4346
4346
  const $scope67_id = _scope_id();
@@ -4349,12 +4349,12 @@ var settings_page_default = _template("w", (input) => {
4349
4349
  return 0;
4350
4350
  } else if (restoreDone) {
4351
4351
  const $scope75_id = _scope_id();
4352
- _html(`<span${_attr_class("_bG")}>${_escape(restoreDone)}${_el_resume($scope75_id, "b")}</span>`);
4352
+ _html(`<span${_attr_class("_bx")}>${_escape(restoreDone)}${_el_resume($scope75_id, "b")}</span>`);
4353
4353
  writeScope($scope75_id, {});
4354
4354
  return 1;
4355
4355
  } else {
4356
4356
  const $scope135_id = _scope_id();
4357
- _html(`<span${_attr_class("_bG")}>From a file exported here or on another machine. Workspaces come back as they were; their repos clone in the background.</span>`);
4357
+ _html(`<span${_attr_class("_bx")}>From a file exported here or on another machine. Workspaces come back as they were; their repos clone in the background.</span>`);
4358
4358
  writeScope($scope135_id, {});
4359
4359
  return 2;
4360
4360
  }
@@ -4364,7 +4364,7 @@ var settings_page_default = _template("w", (input) => {
4364
4364
  if (!restorePreview && backupBusy !== "restore") {
4365
4365
  const $scope78_id = _scope_id();
4366
4366
  _html(`<label${_attr_class(btnSm)} title="Pick a work backup file">Restore… <input${_attr_class("_c4")} type=file accept=application/json,.json aria-label="Backup file">${_el_resume($scope78_id, "b")}</label>`);
4367
- _script($scope78_id, "w79");
4367
+ _script($scope78_id, "x79");
4368
4368
  writeScope($scope78_id, {});
4369
4369
  return 0;
4370
4370
  }
@@ -4381,7 +4381,7 @@ var settings_page_default = _template("w", (input) => {
4381
4381
  _html(`<ul${_attr_class(checkList)}>`);
4382
4382
  _for_of(preview.workspaces, (w) => {
4383
4383
  const $scope72_id = _scope_id();
4384
- _html(`<li><label${_attr_class(["_df", { ["_dh"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dg")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_bD")}><span${_attr_class("_bF")}><span${_attr_class("_bE")}>${_escape(w.name)}${_el_resume($scope72_id, "f")}</span>`);
4384
+ _html(`<li><label${_attr_class(["_df", { ["_dh"]: w.exists || !!w.unknownHost }])}><input${_attr_input_checked($scope72_id, "b", restoreWs.has(w.id))}${_attr_class("_dg")} type=checkbox${_attr("disabled", w.exists || !!w.unknownHost)}>${_el_resume($scope72_id, "b")}<span${_attr_class("_bu")}><span${_attr_class("_bw")}><span${_attr_class("_bv")}>${_escape(w.name)}${_el_resume($scope72_id, "f")}</span>`);
4385
4385
  _if(() => {
4386
4386
  if (w.status === "archived") {
4387
4387
  const $scope139_id = _scope_id();
@@ -4403,8 +4403,8 @@ var settings_page_default = _template("w", (input) => {
4403
4403
  return 1;
4404
4404
  }
4405
4405
  }, $scope72_id, "h", 1, 1, 1, 0, 1);
4406
- _html(`</span><span${_attr_class("_bG")}>${_escape(w.repos.join(", ") || "no repos")}${_el_resume($scope72_id, "j")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
4407
- _script($scope72_id, "w80");
4406
+ _html(`</span><span${_attr_class("_bx")}>${_escape(w.repos.join(", ") || "no repos")}${_el_resume($scope72_id, "j")}</span></span></label>${_el_resume($scope72_id, "a")}</li>`);
4407
+ _script($scope72_id, "x80");
4408
4408
  _subscribe($restoreWs__closures, writeScope($scope72_id, {
4409
4409
  n: w?.unknownHost,
4410
4410
  p: w?.id
@@ -4414,7 +4414,7 @@ var settings_page_default = _template("w", (input) => {
4414
4414
  return 0;
4415
4415
  } else {
4416
4416
  const $scope137_id = _scope_id();
4417
- _html(`<p${_attr_class("_bI")}>No workspaces in this file.</p>`);
4417
+ _html(`<p${_attr_class("_bz")}>No workspaces in this file.</p>`);
4418
4418
  writeScope($scope137_id, {});
4419
4419
  return 1;
4420
4420
  }
@@ -4454,7 +4454,7 @@ var settings_page_default = _template("w", (input) => {
4454
4454
  _if(() => {
4455
4455
  if (p.total) {
4456
4456
  const $scope74_id = _scope_id();
4457
- _html(`<li><label${_attr_class(["_df", { ["_dh"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dg")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_bD")}><span${_attr_class("_bE")}>${_escape(p.label)}${_el_resume($scope74_id, "e")}</span><span${_attr_class("_bG")}>`);
4457
+ _html(`<li><label${_attr_class(["_df", { ["_dh"]: !p.missing.length && p.key !== "settings" }])}><input${_attr_input_checked($scope74_id, "b", restoreParts[p.key])}${_attr_class("_dg")} type=checkbox${_attr("disabled", !p.missing.length && p.key !== "settings")}>${_el_resume($scope74_id, "b")}<span${_attr_class("_bu")}><span${_attr_class("_bv")}>${_escape(p.label)}${_el_resume($scope74_id, "e")}</span><span${_attr_class("_bx")}>`);
4458
4458
  _if(() => {
4459
4459
  if (p.key === "settings") {
4460
4460
  const $scope136_id = _scope_id();
@@ -4485,7 +4485,7 @@ var settings_page_default = _template("w", (input) => {
4485
4485
  }
4486
4486
  }, $scope74_id, "f", 1, 1, 1, "</span>");
4487
4487
  _html(`</span></label>${_el_resume($scope74_id, "a")}</li>`);
4488
- _script($scope74_id, "w81");
4488
+ _script($scope74_id, "x81");
4489
4489
  _subscribe($restoreParts__closures, writeScope($scope74_id, {}));
4490
4490
  return 0;
4491
4491
  }
@@ -4502,7 +4502,7 @@ var settings_page_default = _template("w", (input) => {
4502
4502
  });
4503
4503
  }, "key", $scope70_id, "h");
4504
4504
  _html(`</ul><div${_attr_class("_dd")}><button${_attr_class([btnSm, "_p"])}${_attr("disabled", !restoreWs.size && !Object.values(restoreParts).some(Boolean))}>Restore</button>${_el_resume($scope70_id, "j")}<button${_attr_class(btnSm)}>Cancel</button>${_el_resume($scope70_id, "k")}</div></div>`);
4505
- _script($scope70_id, "w82");
4505
+ _script($scope70_id, "x82");
4506
4506
  writeScope($scope70_id, {});
4507
4507
  return 0;
4508
4508
  }
@@ -4521,19 +4521,19 @@ var settings_page_default = _template("w", (input) => {
4521
4521
  open: versionPick != null,
4522
4522
  openChange: _resume(function(o) {
4523
4523
  if (!o) versionPick = null;
4524
- }, "w42", $scope39_id),
4524
+ }, "x42", $scope39_id),
4525
4525
  onSubmit: _resume(function(v) {
4526
4526
  const pick = versionPick;
4527
4527
  versionPick = null;
4528
4528
  run(pick.id, "install", v);
4529
- }, "w43", $scope39_id)
4529
+ }, "x43", $scope39_id)
4530
4530
  });
4531
4531
  writeScope($scope39_id, { a: _existing_scope($childScope13) });
4532
4532
  return 0;
4533
4533
  }
4534
4534
  }, $scope0_id, "bl", 1, 1, 1, 0, 1);
4535
- _script($scope0_id, "w83");
4536
- _script($scope0_id, "w84");
4535
+ _script($scope0_id, "x83");
4536
+ _script($scope0_id, "x84");
4537
4537
  writeScope($scope0_id, {
4538
4538
  bp: input.setupChange,
4539
4539
  bq: input.agentsChange,
@@ -4691,15 +4691,15 @@ var settings_page_default = _template("w", (input) => {
4691
4691
  });
4692
4692
  //#endregion
4693
4693
  //#region src/tags/new-workspace.css.ts
4694
- var content$1 = "_bM _bp";
4695
- var section$1 = "_bQ _bx";
4694
+ var content$1 = "_bM _bF";
4695
+ var section$1 = "_bQ _bo";
4696
4696
  var curBase = "_bV _S _R";
4697
- var archived = "_b0 _bx";
4697
+ var archived = "_b0 _bo";
4698
4698
  var archivedHint = "_b1 _R";
4699
- var archivedCard = "_b2 _bC";
4699
+ var archivedCard = "_b2 _bt";
4700
4700
  //#endregion
4701
4701
  //#region src/tags/icons/icon-group.marko
4702
- var icon_group_default = _template("bb", (input) => {
4702
+ var icon_group_default = _template("cb", (input) => {
4703
4703
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
4704
4704
  const $scope0_id = _scope_id();
4705
4705
  _set_serialize_reason({
@@ -4716,7 +4716,7 @@ var icon_group_default = _template("bb", (input) => {
4716
4716
  });
4717
4717
  //#endregion
4718
4718
  //#region src/tags/icons/icon-check.marko
4719
- var icon_check_default = _template("Q", (input) => {
4719
+ var icon_check_default = _template("R", (input) => {
4720
4720
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
4721
4721
  const $scope0_id = _scope_id();
4722
4722
  _set_serialize_reason({
@@ -4733,7 +4733,7 @@ var icon_check_default = _template("Q", (input) => {
4733
4733
  });
4734
4734
  //#endregion
4735
4735
  //#region src/tags/icons/icon-branch.marko
4736
- var icon_branch_default = _template("P", (input) => {
4736
+ var icon_branch_default = _template("Q", (input) => {
4737
4737
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
4738
4738
  const $scope0_id = _scope_id();
4739
4739
  _set_serialize_reason({
@@ -4748,7 +4748,7 @@ var icon_branch_default = _template("P", (input) => {
4748
4748
  });
4749
4749
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
4750
4750
  });
4751
- var resultBranch = "_dD _Y _j";
4751
+ var resultBranch = "_dq _Y _j";
4752
4752
  //#endregion
4753
4753
  //#region src/tags/branch-pick.marko
4754
4754
  var branch_pick_default = _template("d", (input) => {
@@ -4761,11 +4761,11 @@ var branch_pick_default = _template("d", (input) => {
4761
4761
  let branchFilter = "";
4762
4762
  let reloadTick = 0;
4763
4763
  let refreshing = false;
4764
- _html(`<div${_attr_class("_dF")}>`);
4764
+ _html(`<div${_attr_class("_ds")}>`);
4765
4765
  _if(() => {
4766
4766
  {
4767
4767
  const $scope4_id = _scope_id();
4768
- _html(`<p${_attr_class("_bI")}><span${_attr_class("_E")}></span> Loading branches…</p>`);
4768
+ _html(`<p${_attr_class("_bz")}><span${_attr_class("_E")}></span> Loading branches…</p>`);
4769
4769
  writeScope($scope4_id, {});
4770
4770
  return 0;
4771
4771
  }
@@ -4791,7 +4791,7 @@ var branch_pick_default = _template("d", (input) => {
4791
4791
  //#region src/tags/repo-picker.marko
4792
4792
  var api$5;
4793
4793
  var prefs$1;
4794
- var repo_picker_default = _template("u", (input) => {
4794
+ var repo_picker_default = _template("v", (input) => {
4795
4795
  const $scope0_reason = _scope_reason(), $si__input_onError = _serialize_if($scope0_reason, 2);
4796
4796
  const $scope0_id = _scope_id();
4797
4797
  const $pasted__closures = /* @__PURE__ */ new Set();
@@ -4811,14 +4811,14 @@ var repo_picker_default = _template("u", (input) => {
4811
4811
  input.onError?.(String(err.message || err));
4812
4812
  }
4813
4813
  if (refresh);
4814
- }, "u2", $scope0_id);
4814
+ }, "v2", $scope0_id);
4815
4815
  const excluded = _resume((name) => {
4816
4816
  if (input.exclude.has(name)) return true;
4817
4817
  const repos = catalog?.repos || [];
4818
4818
  if (repos.some((r) => input.exclude.has(r.nameWithOwner) && r.parent === name)) return true;
4819
4819
  const entry = repos.find((r) => r.nameWithOwner === name);
4820
4820
  return !!(entry?.parent && input.exclude.has(entry.parent));
4821
- }, "u3", $scope0_id);
4821
+ }, "v3", $scope0_id);
4822
4822
  const results = catalog && filter ? rankRepos(filter, catalog.repos, (name) => excluded(name)) : [];
4823
4823
  const pasted = (() => {
4824
4824
  const name = parseRepoUrl(filter);
@@ -4832,32 +4832,32 @@ var repo_picker_default = _template("u", (input) => {
4832
4832
  branchesFor = null;
4833
4833
  pasteWillFork = false;
4834
4834
  input.onPick(fullName, baseBranch, fork);
4835
- }, "u4", $scope0_id);
4836
- const pastedFork = _resume((fork) => pastedForkable ? fork : void 0, "u5", $scope0_id);
4835
+ }, "v4", $scope0_id);
4836
+ const pastedFork = _resume((fork) => pastedForkable ? fork : void 0, "v5", $scope0_id);
4837
4837
  const toggleBranches = _resume((fullName) => {
4838
4838
  branchesFor = branchesFor === fullName ? null : fullName;
4839
4839
  if (fullName !== pasted) pasteWillFork = false;
4840
- }, "u6", $scope0_id);
4840
+ }, "v6", $scope0_id);
4841
4841
  let ssoIgnoreTick = 0;
4842
4842
  const ssoPending = (() => {
4843
4843
  const ignored = new Set(prefs$1?.ignoredSsoOrgs?.() ?? []);
4844
4844
  return (catalog?.sso || []).filter((s) => !ignored.has(s.org));
4845
4845
  })();
4846
- _html(`<div${_attr_class("_dw")}>`);
4846
+ _html(`<div${_attr_class("_dj")}>`);
4847
4847
  _if(() => {
4848
4848
  if (ssoPending.length) {
4849
4849
  const $scope7_id = _scope_id();
4850
- _html(`<div${_attr_class("_dx")}>`);
4850
+ _html(`<div${_attr_class("_dk")}>`);
4851
4851
  _set_serialize_reason(154);
4852
4852
  const $childScope = _peek_scope_id();
4853
4853
  sso_auth_default({
4854
4854
  items: ssoPending,
4855
4855
  onChange: _resume(function() {
4856
4856
  ssoIgnoreTick++;
4857
- }, "u7", $scope7_id),
4857
+ }, "v7", $scope7_id),
4858
4858
  onDone: _resume(function() {
4859
4859
  loadCatalog(true);
4860
- }, "u8", $scope7_id)
4860
+ }, "v8", $scope7_id)
4861
4861
  });
4862
4862
  _html("</div>");
4863
4863
  writeScope($scope7_id, { b: _existing_scope($childScope) });
@@ -4873,20 +4873,20 @@ var repo_picker_default = _template("u", (input) => {
4873
4873
  filter = v;
4874
4874
  highlight = 0;
4875
4875
  pasteWillFork = false;
4876
- }, "u0", $scope0_id))}${_attr_class([inputLg, "_X"])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input.disabled)}>${_el_resume($scope0_id, "e")}</label>`);
4876
+ }, "v0", $scope0_id))}${_attr_class([inputLg, "_X"])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input.disabled)}>${_el_resume($scope0_id, "e")}</label>`);
4877
4877
  _if(() => {
4878
4878
  if (pasted) {
4879
4879
  const $scope1_id = _scope_id();
4880
- _html(`<ul${_attr_class("_dy")}><li><div${_attr_class(["_dA", "_dz"])}><button${_attr_class("_dB")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
4880
+ _html(`<ul${_attr_class("_dl")}><li><div${_attr_class(["_dn", "_dm"])}><button${_attr_class("_do")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
4881
4881
  icon_plus_default({
4882
4882
  size: 12,
4883
- class: "_dH"
4883
+ class: "_du"
4884
4884
  });
4885
- _html(`<span${_attr_class("_dI")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
4885
+ _html(`<span${_attr_class("_dv")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
4886
4886
  _if(() => {
4887
4887
  if (pastedForkable) {
4888
4888
  const $scope8_id = _scope_id();
4889
- _html(`<button${_attr_class(["_dE", { ["_dC"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
4889
+ _html(`<button${_attr_class(["_dr", { ["_dp"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
4890
4890
  _if(() => {
4891
4891
  if (pasteWillFork) {
4892
4892
  const $scope10_id = _scope_id();
@@ -4901,12 +4901,12 @@ var repo_picker_default = _template("u", (input) => {
4901
4901
  return 1;
4902
4902
  }
4903
4903
  }, $scope8_id, "a", 1, 1, 1, "</button>");
4904
- _script($scope8_id, "u13");
4904
+ _script($scope8_id, "v13");
4905
4905
  _subscribe($pasteWillFork__closures, _subscribe($pasted__closures, writeScope($scope8_id, { Cao: 1 })));
4906
4906
  return 0;
4907
4907
  }
4908
4908
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
4909
- _html(`<button${_attr_class([resultBranch, { ["_dC"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
4909
+ _html(`<button${_attr_class([resultBranch, { ["_dp"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
4910
4910
  icon_branch_default({ size: 12 });
4911
4911
  _html(`</button>${_el_resume($scope1_id, "h")}</div>`);
4912
4912
  _if(() => {
@@ -4917,23 +4917,23 @@ var repo_picker_default = _template("u", (input) => {
4917
4917
  repo: pasted,
4918
4918
  onPick: _resume(function(branch, isDefault) {
4919
4919
  pick(pasted, isDefault ? void 0 : branch, pastedFork(pasteWillFork));
4920
- }, "u9", $scope2_id),
4920
+ }, "v9", $scope2_id),
4921
4921
  onError: _resume(function(message) {
4922
4922
  branchesFor = null;
4923
4923
  input.onError?.(message);
4924
- }, "u10", $scope2_id)
4924
+ }, "v10", $scope2_id)
4925
4925
  });
4926
4926
  _subscribe($pasted__closures, _subscribe($si__input_onError && $input_onError__closures, writeScope($scope2_id, { a: _existing_scope($childScope2) })));
4927
4927
  return 0;
4928
4928
  }
4929
4929
  }, $scope1_id, "j", 1, 1, 1, 0, 1);
4930
4930
  _html("</li></ul>");
4931
- _script($scope1_id, "u14");
4931
+ _script($scope1_id, "v14");
4932
4932
  writeScope($scope1_id, {});
4933
4933
  return 0;
4934
4934
  } else if (filter && !catalog) {
4935
4935
  const $scope9_id = _scope_id();
4936
- _html(`<p${_attr_class("_bI")}>Loading repos…</p>`);
4936
+ _html(`<p${_attr_class("_bz")}>Loading repos…</p>`);
4937
4937
  writeScope($scope9_id, {});
4938
4938
  return 1;
4939
4939
  }
@@ -4941,15 +4941,15 @@ var repo_picker_default = _template("u", (input) => {
4941
4941
  _if(() => {
4942
4942
  if (results.length) {
4943
4943
  const $scope3_id = _scope_id();
4944
- _html(`<ul${_attr_class("_dy")}>`);
4944
+ _html(`<ul${_attr_class("_dl")}>`);
4945
4945
  _for_of(results, (repo, i) => {
4946
4946
  const $scope4_id = _scope_id();
4947
- _html(`<li><div${_attr_class(["_dA", { ["_dz"]: i === highlight }])}><button${_attr_class("_dB")}>`);
4947
+ _html(`<li><div${_attr_class(["_dn", { ["_dm"]: i === highlight }])}><button${_attr_class("_do")}>`);
4948
4948
  icon_plus_default({
4949
4949
  size: 12,
4950
- class: "_dH"
4950
+ class: "_du"
4951
4951
  });
4952
- _html(`<span${_attr_class("_dI")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_dC"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
4952
+ _html(`<span${_attr_class("_dv")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_dp"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
4953
4953
  icon_branch_default({ size: 12 });
4954
4954
  _html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
4955
4955
  _if(() => {
@@ -4960,11 +4960,11 @@ var repo_picker_default = _template("u", (input) => {
4960
4960
  repo: repo.nameWithOwner,
4961
4961
  onPick: _resume(function(branch, isDefault) {
4962
4962
  pick(repo.nameWithOwner, isDefault ? void 0 : branch);
4963
- }, "u11", $scope5_id),
4963
+ }, "v11", $scope5_id),
4964
4964
  onError: _resume(function(message) {
4965
4965
  branchesFor = null;
4966
4966
  input.onError?.(message);
4967
- }, "u12", $scope5_id)
4967
+ }, "v12", $scope5_id)
4968
4968
  });
4969
4969
  _subscribe($si__input_onError && $input_onError__closures, writeScope($scope5_id, {
4970
4970
  a: _existing_scope($childScope3),
@@ -4974,7 +4974,7 @@ var repo_picker_default = _template("u", (input) => {
4974
4974
  }
4975
4975
  }, $scope4_id, "h", 1, 1, 1, 0, 1);
4976
4976
  _html("</li>");
4977
- _script($scope4_id, "u15");
4977
+ _script($scope4_id, "v15");
4978
4978
  _subscribe($branchesFor__closures, _subscribe($highlight__closures, writeScope($scope4_id, {
4979
4979
  k: repo?.nameWithOwner,
4980
4980
  m: i
@@ -4984,15 +4984,15 @@ var repo_picker_default = _template("u", (input) => {
4984
4984
  return 0;
4985
4985
  } else if (filter && catalog && !pasted) {
4986
4986
  const $scope6_id = _scope_id();
4987
- _html(`<p${_attr_class("_bI")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
4987
+ _html(`<p${_attr_class("_bz")}>No repos match "<!>${_escape(filter)}${_el_resume($scope6_id, "b")}". Paste a clone URL to add any repo.</p>`);
4988
4988
  writeScope($scope6_id, {});
4989
4989
  return 1;
4990
4990
  }
4991
4991
  }, $scope0_id, "g", 1, 1, 1, 0, 1);
4992
4992
  _html("</div>");
4993
- const $return = _resume(() => loadCatalog(true), "u1", $scope0_id);
4994
- _script($scope0_id, "u16");
4995
- _script($scope0_id, "u17");
4993
+ const $return = _resume(() => loadCatalog(true), "v1", $scope0_id);
4994
+ _script($scope0_id, "v16");
4995
+ _script($scope0_id, "v17");
4996
4996
  writeScope($scope0_id, {
4997
4997
  j: _serialize_if($scope0_reason, 1) && input.refreshing,
4998
4998
  k: _serialize_if($scope0_reason, 0) && input.refreshingChange,
@@ -5136,7 +5136,7 @@ function parseInvite(text) {
5136
5136
  repos
5137
5137
  };
5138
5138
  }
5139
- var hint = "_dl _R";
5139
+ var hint = "_dC _R";
5140
5140
  //#endregion
5141
5141
  //#region src/tags/join-dialog.marko
5142
5142
  var api$4;
@@ -5246,7 +5246,7 @@ var join_dialog_default = _template("o", (input) => {
5246
5246
  const $childScope = _peek_scope_id();
5247
5247
  modal_view_default({
5248
5248
  label: "Join a workspace",
5249
- class: "_dj",
5249
+ class: "_dA",
5250
5250
  open: input.open,
5251
5251
  openChange: _resume(function(next) {
5252
5252
  if (!next) reset();
@@ -5269,26 +5269,26 @@ var join_dialog_default = _template("o", (input) => {
5269
5269
  content: _content("o12", () => {
5270
5270
  _scope_reason();
5271
5271
  const $scope1_id = _scope_id();
5272
- _html(`<h2${_attr_class("_dk")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
5272
+ _html(`<h2${_attr_class("_dB")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
5273
5273
  "_T",
5274
5274
  "_w",
5275
- "_dn"
5275
+ "_dE"
5276
5276
  ])} placeholder="{ &#34;name&#34;: …, &#34;branch&#34;: …, &#34;repos&#34;: [&#34;owner/name&#34;, …] }" aria-label="Workspace invite" rows=6 autocomplete=off spellcheck=false${_attr("disabled", busy)} autofocus>${_attr_textarea_value($scope1_id, "c", invite, setInvite)}</textarea>${_el_resume($scope1_id, "c")}`);
5277
5277
  _if(() => {
5278
5278
  if (parsed.error) {
5279
5279
  const $scope8_id = _scope_id();
5280
- _html(`<p${_attr_class([hint, "_dm"])}>${_escape(parsed.error)}${_el_resume($scope8_id, "b")}</p>`);
5280
+ _html(`<p${_attr_class([hint, "_dD"])}>${_escape(parsed.error)}${_el_resume($scope8_id, "b")}</p>`);
5281
5281
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cae: 1 }));
5282
5282
  return 0;
5283
5283
  } else if (parsed.ok) {
5284
5284
  const $scope3_id = _scope_id();
5285
- _html(`<ul${_attr_class("_do")}>`);
5285
+ _html(`<ul${_attr_class("_dF")}>`);
5286
5286
  _for_of(parsed.ok.repos, (fullName) => {
5287
5287
  const $scope9_id = _scope_id();
5288
- _html(`<li${_attr_class("_dp")}><span${_attr_class("_dq")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
5288
+ _html(`<li${_attr_class("_dG")}><span${_attr_class("_dH")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
5289
5289
  writeScope($scope9_id, {});
5290
5290
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
5291
- _html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_w")}>${_escape(parsed.ok.branch)}${_el_resume($scope3_id, "d")}</span> in each; PRs target theirs.</p><label${_attr_class("_dr")}><span${_attr_class("_bL")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
5291
+ _html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_w")}>${_escape(parsed.ok.branch)}${_el_resume($scope3_id, "d")}</span> in each; PRs target theirs.</p><label${_attr_class("_dI")}><span${_attr_class("_bC")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
5292
5292
  name = _new_name;
5293
5293
  }, "o1", $scope3_id))}${_attr_class("_T")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
5294
5294
  _script($scope3_id, "o8");
@@ -5325,10 +5325,10 @@ var join_dialog_default = _template("o", (input) => {
5325
5325
  _if(() => {
5326
5326
  if (busy && steps$2.length) {
5327
5327
  const $scope6_id = _scope_id();
5328
- _html(`<ul${_attr_class("_ds")}>`);
5328
+ _html(`<ul${_attr_class("_dJ")}>`);
5329
5329
  _for_of(steps$2, (step$2, i) => {
5330
5330
  const $scope7_id = _scope_id();
5331
- _html(`<li${_attr_class(["_du", { ["_dt"]: i === steps$2.length - 1 }])}>`);
5331
+ _html(`<li${_attr_class(["_dL", { ["_dK"]: i === steps$2.length - 1 }])}>`);
5332
5332
  _if(() => {
5333
5333
  if (i === steps$2.length - 1) {
5334
5334
  const $scope10_id = _scope_id();
@@ -5337,7 +5337,7 @@ var join_dialog_default = _template("o", (input) => {
5337
5337
  return 0;
5338
5338
  } else {
5339
5339
  const $scope11_id = _scope_id();
5340
- _html(`<span${_attr_class("_dv")}>`);
5340
+ _html(`<span${_attr_class("_dM")}>`);
5341
5341
  icon_check_default({ size: 14 });
5342
5342
  _html("</span>");
5343
5343
  writeScope($scope11_id, {});
@@ -5396,7 +5396,7 @@ var join_dialog_default = _template("o", (input) => {
5396
5396
  //#region src/tags/new-workspace.marko
5397
5397
  var api$3;
5398
5398
  var watchProgress;
5399
- var new_workspace_default = _template("r", (input) => {
5399
+ var new_workspace_default = _template("s", (input) => {
5400
5400
  const $scope0_reason = _scope_reason(), $sg__input_backHref__OR__input_onExit = _serialize_guard($scope0_reason, 0), $sg__input_workspaces = _serialize_guard($scope0_reason, 1), $si__input_workspaces = _serialize_if($scope0_reason, 1);
5401
5401
  const $scope0_id = _scope_id();
5402
5402
  const $busy__closures = /* @__PURE__ */ new Set();
@@ -5419,25 +5419,25 @@ var new_workspace_default = _template("r", (input) => {
5419
5419
  baseBranch,
5420
5420
  fork
5421
5421
  });
5422
- }, "r1", $scope0_id);
5422
+ }, "s1", $scope0_id);
5423
5423
  let branchesFor = null;
5424
5424
  const removeRepo = _resume((fullName) => {
5425
5425
  selected = selected.filter((r) => r.fullName !== fullName);
5426
5426
  if (branchesFor === fullName) branchesFor = null;
5427
- }, "r2", $scope0_id);
5427
+ }, "s2", $scope0_id);
5428
5428
  const toggleFork = _resume((fullName) => {
5429
5429
  selected = selected.map((r) => r.fullName === fullName ? {
5430
5430
  ...r,
5431
5431
  fork: !r.fork
5432
5432
  } : r);
5433
- }, "r3", $scope0_id);
5433
+ }, "s3", $scope0_id);
5434
5434
  const setBranch = _resume((fullName, baseBranch) => {
5435
5435
  selected = selected.map((r) => r.fullName === fullName ? {
5436
5436
  ...r,
5437
5437
  baseBranch
5438
5438
  } : r);
5439
5439
  branchesFor = null;
5440
- }, "r4", $scope0_id);
5440
+ }, "s4", $scope0_id);
5441
5441
  const restore = _resume(async (ws) => {
5442
5442
  if (busy || restoring) return;
5443
5443
  error = null;
@@ -5457,7 +5457,7 @@ var new_workspace_default = _template("r", (input) => {
5457
5457
  } finally {
5458
5458
  restoring = null;
5459
5459
  }
5460
- }, "r5", $scope0_id);
5460
+ }, "s5", $scope0_id);
5461
5461
  const createGen = { n: 0 };
5462
5462
  const create = _resume(async () => {
5463
5463
  if (restoring) return;
@@ -5490,9 +5490,9 @@ var new_workspace_default = _template("r", (input) => {
5490
5490
  } finally {
5491
5491
  watcher.stop();
5492
5492
  }
5493
- }, "r6", $scope0_id);
5493
+ }, "s6", $scope0_id);
5494
5494
  const titleId = _id();
5495
- _html(`<div${_attr_class("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><div${_attr_class(content$1)}>`);
5495
+ _html(`<div${_attr_class("_bD")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bE")}><div${_attr_class(content$1)}>`);
5496
5496
  _set_serialize_reason({
5497
5497
  0: _serialize_guard($scope0_reason, 2),
5498
5498
  1: $sg__input_backHref__OR__input_onExit,
@@ -5504,19 +5504,19 @@ var new_workspace_default = _template("r", (input) => {
5504
5504
  title: "New workspace",
5505
5505
  titleId,
5506
5506
  backHref: input.backHref,
5507
- onBack: input.onExit && _resume(() => input.onExit?.(), "r7", $scope0_id),
5508
- meta: attrTag({ content: _content_resume("r16", () => {
5507
+ onBack: input.onExit && _resume(() => input.onExit?.(), "s7", $scope0_id),
5508
+ meta: attrTag({ content: _content_resume("s16", () => {
5509
5509
  _scope_reason();
5510
5510
  _scope_id();
5511
5511
  _html("Name the workspace and pick repos, or restore an archived one below.");
5512
5512
  }, $scope0_id) }),
5513
- actions: attrTag({ content: _content_resume("r17", () => {
5513
+ actions: attrTag({ content: _content_resume("s17", () => {
5514
5514
  _scope_reason();
5515
5515
  const $scope3_id = _scope_id();
5516
5516
  _html(`<button type=button${_attr_class(iconBtnRow)} aria-label="Join a workspace" title="Join a workspace from an invite"${_attr("disabled", busy)}>`);
5517
5517
  icon_group_default({ size: 14 });
5518
5518
  _html(`</button>${_el_resume($scope3_id, "a")}`);
5519
- _script($scope3_id, "r15");
5519
+ _script($scope3_id, "s15");
5520
5520
  _subscribe($busy__closures, writeScope($scope3_id, { _: _scope_with_id($scope0_id) }));
5521
5521
  _resume_branch($scope3_id);
5522
5522
  }, $scope0_id) })
@@ -5528,8 +5528,8 @@ var new_workspace_default = _template("r", (input) => {
5528
5528
  placement: "inline",
5529
5529
  onDismiss: _resume(function() {
5530
5530
  error = null;
5531
- }, "r8", $scope8_id),
5532
- content: _content_resume("r18", () => {
5531
+ }, "s8", $scope8_id),
5532
+ content: _content_resume("s18", () => {
5533
5533
  _scope_reason();
5534
5534
  const $scope9_id = _scope_id();
5535
5535
  _html(`${_escape(error)}${_el_resume($scope9_id, "a")}`);
@@ -5541,9 +5541,9 @@ var new_workspace_default = _template("r", (input) => {
5541
5541
  return 0;
5542
5542
  }
5543
5543
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
5544
- _html(`<label${_attr_class("_bP")}><span${_attr_class("_bL")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
5544
+ _html(`<label${_attr_class("_bP")}><span${_attr_class("_bC")}>Name</span><input${_attr_input_value($scope0_id, "h", name, _resume((_new_name) => {
5545
5545
  name = _new_name;
5546
- }, "r0", $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("_bR")}><h2${_attr_class("_bL")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
5546
+ }, "s0", $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("_bR")}><h2${_attr_class("_bC")}>Repos</h2><button${_attr_class(iconBtnRow)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
5547
5547
  _set_serialize_reason(1);
5548
5548
  const $childScope2 = _peek_scope_id();
5549
5549
  icon_refresh_default({
@@ -5572,7 +5572,7 @@ var new_workspace_default = _template("r", (input) => {
5572
5572
  return 1;
5573
5573
  }
5574
5574
  }, $scope5_id, "a", 1, 1, 1, "</button>");
5575
- _script($scope5_id, "r19");
5575
+ _script($scope5_id, "s19");
5576
5576
  _subscribe($busy__closures, writeScope($scope5_id, { Cb1: 1 }));
5577
5577
  return 0;
5578
5578
  }
@@ -5595,18 +5595,18 @@ var new_workspace_default = _template("r", (input) => {
5595
5595
  current: repo.baseBranch,
5596
5596
  onPick: _resume(function(branch, isDefault) {
5597
5597
  setBranch(repo.fullName, isDefault ? void 0 : branch);
5598
- }, "r9", $scope10_id),
5598
+ }, "s9", $scope10_id),
5599
5599
  onError: _resume(function(message) {
5600
5600
  branchesFor = null;
5601
5601
  error = message;
5602
- }, "r10", $scope10_id)
5602
+ }, "s10", $scope10_id)
5603
5603
  });
5604
5604
  writeScope($scope10_id, { a: _existing_scope($childScope3) });
5605
5605
  return 0;
5606
5606
  }
5607
5607
  }, $scope4_id, "j", 1, 1, 1, 0, 1);
5608
5608
  _html("</li>");
5609
- _script($scope4_id, "r20");
5609
+ _script($scope4_id, "s20");
5610
5610
  writeScope($scope4_id, {
5611
5611
  m: repo?.fullName,
5612
5612
  o: repo?.fork,
@@ -5616,7 +5616,7 @@ var new_workspace_default = _template("r", (input) => {
5616
5616
  _if(() => {
5617
5617
  if (!selected.length) {
5618
5618
  const $scope16_id = _scope_id();
5619
- _html(`<li${_attr_class("_bI")}>No repos yet. Search below to add one, or create it empty.</li>`);
5619
+ _html(`<li${_attr_class("_bz")}>No repos yet. Search below to add one, or create it empty.</li>`);
5620
5620
  writeScope($scope16_id, {});
5621
5621
  return 0;
5622
5622
  }
@@ -5628,15 +5628,15 @@ var new_workspace_default = _template("r", (input) => {
5628
5628
  disabled: busy,
5629
5629
  onPick: _resume(function(fullName, baseBranch, fork) {
5630
5630
  addRepo(fullName, baseBranch, fork);
5631
- }, "r11", $scope0_id),
5631
+ }, "s11", $scope0_id),
5632
5632
  onError: _resume(function(message) {
5633
5633
  error = message;
5634
- }, "r12", $scope0_id),
5634
+ }, "s12", $scope0_id),
5635
5635
  refreshingChange: _resume(function(v) {
5636
5636
  catalogRefreshing = v;
5637
- }, "r13", $scope0_id)
5637
+ }, "s13", $scope0_id)
5638
5638
  });
5639
- _var($scope0_id, "r", $childScope4, "r21");
5639
+ _var($scope0_id, "r", $childScope4, "s21");
5640
5640
  _html("</section>");
5641
5641
  _if(() => {
5642
5642
  if (busy && steps.length) {
@@ -5672,7 +5672,7 @@ var new_workspace_default = _template("r", (input) => {
5672
5672
  if (input.onExit || busy) {
5673
5673
  const $scope1_id = _scope_id();
5674
5674
  _html(`<button type=button${_attr_class(btnLg)}${_attr("disabled", !!restoring)}>Cancel</button>${_el_resume($scope1_id, "a")}`);
5675
- _script($scope1_id, "r22");
5675
+ _script($scope1_id, "s22");
5676
5676
  writeScope($scope1_id, {});
5677
5677
  return 0;
5678
5678
  }
@@ -5685,10 +5685,10 @@ var new_workspace_default = _template("r", (input) => {
5685
5685
  _if(() => {
5686
5686
  if (archived$1.length) {
5687
5687
  const $scope6_id = _scope_id();
5688
- _html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("_bL")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope6_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("_bA")}>`);
5688
+ _html(`<section${_attr_class(archived)}><div${_attr_class("_bR")}><h2${_attr_class("_bC")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope6_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("_br")}>`);
5689
5689
  _for_of(archived$1, (ws) => {
5690
5690
  const $scope7_id = _scope_id();
5691
- _html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bD")}><span${_attr_class("_bE")}>${_escape(ws.name)}${_el_resume($scope7_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($scope7_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope7_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
5691
+ _html(`<li${_attr_class(archivedCard)}><div${_attr_class("_bu")}><span${_attr_class("_bv")}>${_escape(ws.name)}${_el_resume($scope7_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($scope7_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope7_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
5692
5692
  _if(() => {
5693
5693
  if (restoring === ws.id) {
5694
5694
  const $scope19_id = _scope_id();
@@ -5703,7 +5703,7 @@ var new_workspace_default = _template("r", (input) => {
5703
5703
  }
5704
5704
  }, $scope7_id, "g", 1, 1, 1, "</button>");
5705
5705
  _html("</li>");
5706
- _script($scope7_id, "r23");
5706
+ _script($scope7_id, "s23");
5707
5707
  _subscribe($restoring__closures, _subscribe($busy__closures, writeScope($scope7_id, {
5708
5708
  j: ws,
5709
5709
  o: ws?.id,
@@ -5726,7 +5726,7 @@ var new_workspace_default = _template("r", (input) => {
5726
5726
  open: joinOpen,
5727
5727
  openChange: _resume((_new_joinOpen) => {
5728
5728
  joinOpen = _new_joinOpen;
5729
- }, "r14", $scope2_id),
5729
+ }, "s14", $scope2_id),
5730
5730
  onJoin: input.onCreate
5731
5731
  });
5732
5732
  writeScope($scope2_id, { a: _existing_scope($childScope5) });
@@ -5734,7 +5734,7 @@ var new_workspace_default = _template("r", (input) => {
5734
5734
  }
5735
5735
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
5736
5736
  _html("</div>");
5737
- _script($scope0_id, "r24");
5737
+ _script($scope0_id, "s24");
5738
5738
  writeScope($scope0_id, {
5739
5739
  a2: input.onRestore,
5740
5740
  a3: input.onCreate,
@@ -5812,9 +5812,9 @@ function vapidKey(base64) {
5812
5812
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
5813
5813
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
5814
5814
  }
5815
- var iconBtn$1 = "_dO _j";
5816
- var navToggle = "_dT _j";
5817
- _template("O", (input) => {
5815
+ var iconBtn$1 = "_dX _j";
5816
+ var navToggle = "_d2 _j";
5817
+ _template("P", (input) => {
5818
5818
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
5819
5819
  const $scope0_id = _scope_id();
5820
5820
  _set_serialize_reason({
@@ -5831,7 +5831,7 @@ _template("O", (input) => {
5831
5831
  });
5832
5832
  //#endregion
5833
5833
  //#region src/tags/icons/icon-settings.marko
5834
- var icon_settings_default = _template("hb", (input) => {
5834
+ var icon_settings_default = _template("ib", (input) => {
5835
5835
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
5836
5836
  const $scope0_id = _scope_id();
5837
5837
  _set_serialize_reason({
@@ -5856,12 +5856,12 @@ var ARM_MS = 3500;
5856
5856
  function disarmLater(fn) {
5857
5857
  return setTimeout(fn, ARM_MS);
5858
5858
  }
5859
- var railBtn = "_gr _j";
5860
- var rowIcon = "_gA _Y _j";
5861
- var close = "_gB _1 _j _2";
5859
+ var railBtn = "_gn _j";
5860
+ var rowIcon = "_gw _Y _j";
5861
+ var close = "_gx _1 _j _2";
5862
5862
  //#endregion
5863
5863
  //#region src/styles/session-pop.css.ts
5864
- var sessionPop = "_gn _4";
5864
+ var sessionPop = "_gj _4";
5865
5865
  //#endregion
5866
5866
  //#region src/client/status.ts
5867
5867
  /** Workspace activity dot from its polled status counts. */
@@ -5885,7 +5885,7 @@ function activeAgent(session) {
5885
5885
  }
5886
5886
  //#endregion
5887
5887
  //#region src/tags/icons/icon-diff.marko
5888
- var icon_diff_default = _template("W", (input) => {
5888
+ var icon_diff_default = _template("X", (input) => {
5889
5889
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
5890
5890
  const $scope0_id = _scope_id();
5891
5891
  _set_serialize_reason({
@@ -5902,7 +5902,7 @@ var icon_diff_default = _template("W", (input) => {
5902
5902
  });
5903
5903
  //#endregion
5904
5904
  //#region src/tags/icons/icon-manage.marko
5905
- var icon_manage_default = _template("db", (input) => {
5905
+ var icon_manage_default = _template("eb", (input) => {
5906
5906
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
5907
5907
  const $scope0_id = _scope_id();
5908
5908
  _set_serialize_reason({
@@ -5919,7 +5919,7 @@ var icon_manage_default = _template("db", (input) => {
5919
5919
  });
5920
5920
  //#endregion
5921
5921
  //#region src/tags/usage-pcts.marko
5922
- var usage_pcts_default = _template("F", (input) => {
5922
+ var usage_pcts_default = _template("G", (input) => {
5923
5923
  const $scope0_reason = _scope_reason(), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_agent__OR__input_class = _serialize_guard($scope0_reason, 0), $si__input_agent__OR__input_class = _serialize_if($scope0_reason, 0);
5924
5924
  const $scope0_id = _scope_id();
5925
5925
  const agent = input.agent;
@@ -5928,22 +5928,22 @@ var usage_pcts_default = _template("F", (input) => {
5928
5928
  if (windows.length) {
5929
5929
  const $scope1_id = _scope_id();
5930
5930
  _html(`<span${_attr_class([
5931
- "_fY",
5931
+ "_f1",
5932
5932
  input.class,
5933
- { ["_fZ"]: agent.stale_seconds != null }
5933
+ { ["_f2"]: agent.stale_seconds != null }
5934
5934
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
5935
5935
  _for_of(windows, (win$1, i) => {
5936
5936
  const $scope2_id = _scope_id();
5937
- _html(`<span${_attr_class("_f0")}>`);
5937
+ _html(`<span${_attr_class("_f3")}>`);
5938
5938
  _if(() => {
5939
5939
  if (i) {
5940
5940
  const $scope3_id = _scope_id();
5941
- _html(`<span${_attr_class("_f3")} aria-hidden=true>·</span>`);
5941
+ _html(`<span${_attr_class("_f6")} aria-hidden=true>·</span>`);
5942
5942
  $si__input_agent && writeScope($scope3_id, {});
5943
5943
  return 0;
5944
5944
  }
5945
5945
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
5946
- _html(`<span${_attr_class("_f1")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f2", win$1.used_percent >= 90 ? "_fU" : win$1.used_percent >= 70 ? "_fT" : win$1.used_percent >= 40 ? "_fS" : "_fR"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
5946
+ _html(`<span${_attr_class("_f4")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f5", win$1.used_percent >= 90 ? "_fr" : win$1.used_percent >= 70 ? "_fq" : win$1.used_percent >= 40 ? "_fp" : "_fo"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
5947
5947
  $si__input_agent && writeScope($scope2_id, {});
5948
5948
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
5949
5949
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -5959,7 +5959,7 @@ var usage_pcts_default = _template("F", (input) => {
5959
5959
  });
5960
5960
  //#endregion
5961
5961
  //#region src/tags/icons/icon-edit.marko
5962
- var icon_edit_default = _template("Y", (input) => {
5962
+ var icon_edit_default = _template("Z", (input) => {
5963
5963
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
5964
5964
  const $scope0_id = _scope_id();
5965
5965
  _set_serialize_reason({
@@ -5974,12 +5974,12 @@ var icon_edit_default = _template("Y", (input) => {
5974
5974
  });
5975
5975
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
5976
5976
  });
5977
- var prChip = "_h6 _s _h5";
5978
- var portChip = "_h7 _s _h5";
5977
+ var prChip = "_h3 _s _h2";
5978
+ var portChip = "_h4 _s _h2";
5979
5979
  var prState = {
5980
- open: "_ia",
5981
- merged: "_ib",
5982
- closed: "_ic"
5980
+ open: "_h8",
5981
+ merged: "_h9",
5982
+ closed: "_h_"
5983
5983
  };
5984
5984
  //#endregion
5985
5985
  //#region src/tags/side-nav-chips.marko
@@ -5992,7 +5992,7 @@ var prTitle = (repo, pr) => {
5992
5992
  return parts.join(" · ");
5993
5993
  };
5994
5994
  var isOpen = (pr) => !pr.state || pr.state === "OPEN";
5995
- var side_nav_chips_default = _template("x", (input) => {
5995
+ var side_nav_chips_default = _template("y", (input) => {
5996
5996
  const $scope0_reason = _scope_reason(), $si__input_workspaceId = _serialize_if($scope0_reason, 0);
5997
5997
  const $scope0_id = _scope_id();
5998
5998
  const $input_workspaceId__closures = /* @__PURE__ */ new Set();
@@ -6005,9 +6005,9 @@ var side_nav_chips_default = _template("x", (input) => {
6005
6005
  armBox.timer = disarmLater(() => {
6006
6006
  armedPid = null;
6007
6007
  });
6008
- }, "x0", $scope0_id);
6008
+ }, "y0", $scope0_id);
6009
6009
  let dismissed = /* @__PURE__ */ new Set();
6010
- const prKey = _resume((fullName, number) => `${fullName}#${number}`, "x1");
6010
+ const prKey = _resume((fullName, number) => `${fullName}#${number}`, "y1");
6011
6011
  const dismissPr = _resume((fullName, number) => {
6012
6012
  const key = prKey(fullName, number);
6013
6013
  dismissed = new Set(dismissed).add(key);
@@ -6025,7 +6025,7 @@ var side_nav_chips_default = _template("x", (input) => {
6025
6025
  next.delete(key);
6026
6026
  dismissed = next;
6027
6027
  });
6028
- }, "x2", $scope0_id);
6028
+ }, "y2", $scope0_id);
6029
6029
  let killed = /* @__PURE__ */ new Set();
6030
6030
  const killPort = _resume((pid) => {
6031
6031
  killed = new Set(killed).add(pid);
@@ -6036,7 +6036,7 @@ var side_nav_chips_default = _template("x", (input) => {
6036
6036
  next.delete(pid);
6037
6037
  killed = next;
6038
6038
  });
6039
- }, "x3", $scope0_id);
6039
+ }, "y3", $scope0_id);
6040
6040
  const repos = (input.status?.repos || []).map((r) => ({
6041
6041
  ...r,
6042
6042
  prs: (r.prs || []).filter((pr) => !dismissed.has(prKey(r.full_name, pr.number)))
@@ -6051,8 +6051,8 @@ var side_nav_chips_default = _template("x", (input) => {
6051
6051
  if (repos.length < 2) return "";
6052
6052
  const name = repo.full_name.split("/").at(-1);
6053
6053
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
6054
- }, "x4", $scope1_id);
6055
- _html(`<div${_attr_class("_h4")}>`);
6054
+ }, "y4", $scope1_id);
6055
+ _html(`<div${_attr_class("_h1")}>`);
6056
6056
  _for_of(unpushed, (repo) => {
6057
6057
  const $scope7_id = _scope_id();
6058
6058
  _html(`<span${_attr_class(["_s", tone.warn])}${_attr("title", `${repo.worktree}: ${repo.unpushed}`)}>${_escape(repoLabel$1(repo))}${_el_resume($scope7_id, "b")}<!>${repoLabel$1(repo) ? _escape(`${_to_text(" ")}`) : ""}${_el_resume($scope7_id, "c")} unpushed</span>${_el_resume($scope7_id, "a")}`);
@@ -6073,11 +6073,11 @@ var side_nav_chips_default = _template("x", (input) => {
6073
6073
  [prState.merged]: pr.state === "MERGED",
6074
6074
  [prState.closed]: pr.state === "CLOSED"
6075
6075
  }
6076
- ])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_h8", { ["_ie"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c")}#<!>${_escape(pr.number)}${_el_resume($scope3_id, "d")}</a>${_el_resume($scope3_id, "b")}`);
6076
+ ])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_h5", { ["_ib"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c")}#<!>${_escape(pr.number)}${_el_resume($scope3_id, "d")}</a>${_el_resume($scope3_id, "b")}`);
6077
6077
  _if(() => {
6078
6078
  if (open) {
6079
6079
  const $scope4_id = _scope_id();
6080
- _html(`<a${_attr_class(["_h8", "_h9"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
6080
+ _html(`<a${_attr_class(["_h5", "_h6"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
6081
6081
  icon_diff_default({ size: 12 });
6082
6082
  _html(`</a>${_el_resume($scope4_id, "a")}`);
6083
6083
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -6085,13 +6085,13 @@ var side_nav_chips_default = _template("x", (input) => {
6085
6085
  } else {
6086
6086
  const $scope6_id = _scope_id();
6087
6087
  _html(`<button type=button${_attr_class([
6088
- "_h8",
6089
- "_h9",
6090
- "_h_"
6088
+ "_h5",
6089
+ "_h6",
6090
+ "_h7"
6091
6091
  ])}${_attr("title", `Dismiss #${pr.number}`)}>`);
6092
6092
  icon_xmark_default({ size: 12 });
6093
6093
  _html(`</button>${_el_resume($scope6_id, "a")}`);
6094
- _script($scope6_id, "x5");
6094
+ _script($scope6_id, "y5");
6095
6095
  writeScope($scope6_id, {});
6096
6096
  return 1;
6097
6097
  }
@@ -6111,15 +6111,15 @@ var side_nav_chips_default = _template("x", (input) => {
6111
6111
  }, "full_name", $scope1_id, "c");
6112
6112
  _for_of(ports, (p) => {
6113
6113
  const $scope5_id = _scope_id();
6114
- _html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_h8", "_id"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:<!>${_escape(p.port)}${_el_resume($scope5_id, "c")}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
6115
- "_h8",
6116
- "_h9",
6117
- "_h_",
6114
+ _html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_h5", "_ia"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:<!>${_escape(p.port)}${_el_resume($scope5_id, "c")}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
6115
+ "_h5",
6116
+ "_h6",
6117
+ "_h7",
6118
6118
  { ["_q"]: armedPid === p.pid }
6119
6119
  ])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
6120
6120
  icon_xmark_default({ size: 12 });
6121
6121
  _html(`</button>${_el_resume($scope5_id, "d")}</span>${_el_resume($scope5_id, "a")}`);
6122
- _script($scope5_id, "x6");
6122
+ _script($scope5_id, "y6");
6123
6123
  _subscribe($armedPid__closures, writeScope($scope5_id, {
6124
6124
  h: p?.cmd,
6125
6125
  i: p?.port,
@@ -6158,7 +6158,7 @@ var side_nav_chips_default = _template("x", (input) => {
6158
6158
  });
6159
6159
  //#endregion
6160
6160
  //#region src/tags/side-nav-item.marko
6161
- var side_nav_item_default = _template("y", (input) => {
6161
+ var side_nav_item_default = _template("z", (input) => {
6162
6162
  const $scope0_reason = _scope_reason(), $si__input_workspaces__OR__input_workspaceId = _serialize_if($scope0_reason, 0), $sg__input_workspaces__OR__input_workspaceId = _serialize_guard($scope0_reason, 0), $sg__input_workspaceId__OR__input_status = _serialize_guard($scope0_reason, 1), $sg__input_sessions = _serialize_guard($scope0_reason, 23), $sg__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status = _serialize_guard($scope0_reason, 9), $si__input_current = _serialize_if($scope0_reason, 21), $sg__input_page = _serialize_guard($scope0_reason, 22), $si__input_agents = _serialize_if($scope0_reason, 29), $sg__input_onNewSession = _serialize_guard($scope0_reason, 28), $sg__input_onNewSession__OR__input_onReview = _serialize_guard($scope0_reason, 2), $sg__input_onReview = _serialize_guard($scope0_reason, 30), $si__input_sessions = _serialize_if($scope0_reason, 23), $si__input_page = _serialize_if($scope0_reason, 22), $si__input_railPop = _serialize_if($scope0_reason, 27), $si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status = _serialize_if($scope0_reason, 9), $sg__input_rail__OR__input_workspaces__OR__input_workspaceId = _serialize_guard($scope0_reason, 4), $si__input_rail__OR__input_workspaces__OR__input_workspaceId = _serialize_if($scope0_reason, 4), $sg__input_rail__OR__input_workspaces__OR__input_workspaceId__OR__input_status = _serialize_guard($scope0_reason, 11), $si__input_workspaceId = _serialize_if($scope0_reason, 25), $si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId = _serialize_if($scope0_reason, 13), $si__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId = _serialize_if($scope0_reason, 8), $si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab = _serialize_if($scope0_reason, 12), $si__input_index = _serialize_if($scope0_reason, 26), $si__input_onNewSession = _serialize_if($scope0_reason, 28), $si__input_onReview = _serialize_if($scope0_reason, 30), $si__input_managing = _serialize_if($scope0_reason, 31), $si__input_currentTab = _serialize_if($scope0_reason, 24);
6163
6163
  const $scope0_id = _scope_id();
6164
6164
  const $input_current__closures = /* @__PURE__ */ new Set();
@@ -6190,14 +6190,14 @@ var side_nav_item_default = _template("y", (input) => {
6190
6190
  armBox.timer = disarmLater(() => {
6191
6191
  armedKill = null;
6192
6192
  });
6193
- }, "y1", $scope0_id);
6193
+ }, "z1", $scope0_id);
6194
6194
  let renamingId = null;
6195
6195
  let renameValue = "";
6196
6196
  const commitRename = _resume((s) => {
6197
6197
  if (renamingId !== s.id) return;
6198
6198
  renamingId = null;
6199
6199
  input.onRenameSession?.(s, renameValue.trim());
6200
- }, "y2", $scope0_id);
6200
+ }, "z2", $scope0_id);
6201
6201
  let usage = lastUsage();
6202
6202
  const openSess = (() => {
6203
6203
  if (!input.current || input.page || input.rail) return null;
@@ -6205,7 +6205,7 @@ var side_nav_item_default = _template("y", (input) => {
6205
6205
  const s = list.find((x) => x.id === input.currentTab) ?? (list.length === 1 ? list[0] : null);
6206
6206
  return s && s.agent !== "shell" ? s : null;
6207
6207
  })();
6208
- const openPlan = openSess ? usageFor(openSess.agent, usage) : null;
6208
+ const openPlan = openSess ? usageFor$1(openSess.agent, usage) : null;
6209
6209
  const ws$1 = input.workspaces.find((w) => w.id === input.workspaceId);
6210
6210
  let restoreLine = "";
6211
6211
  _if(() => {
@@ -6216,40 +6216,40 @@ var side_nav_item_default = _template("y", (input) => {
6216
6216
  _if(() => {
6217
6217
  if (input.rail) {
6218
6218
  const $scope2_id = _scope_id();
6219
- _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gp"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${input.index === void 0 ? "·" : _escape(input.index + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 26))}<span${_attr_class([
6219
+ _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gl"]: input.current }])}${ws$1.pending ? _attr("title", `${ws$1.name} — restoring`) : _attr("title", ws$1.name)}>${input.index === void 0 ? "·" : _escape(input.index + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 26))}<span${_attr_class([
6220
6220
  "_y",
6221
6221
  phase[dot],
6222
- "_gs"
6222
+ "_go"
6223
6223
  ])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
6224
6224
  _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_workspaces__OR__input_workspaceId && $ws_pending__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) }))))));
6225
6225
  return 0;
6226
6226
  } else if (ws$1.pending) {
6227
6227
  const $scope3_id = _scope_id();
6228
6228
  _html(`<section${_attr_class([
6229
- "_gu",
6230
- "_gR",
6229
+ "_gq",
6230
+ "_gN",
6231
6231
  {
6232
- ["_gv"]: input.railPop,
6233
- ["_gt"]: input.page
6232
+ ["_gr"]: input.railPop,
6233
+ ["_gp"]: input.page
6234
6234
  }
6235
- ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_gw")}><div${_attr_class("_gx")}>`);
6235
+ ])} aria-busy=${ws$1.pending_error ? "false" : "true"}><div${_attr_class("_gs")}><div${_attr_class("_gt")}>`);
6236
6236
  _if(() => {
6237
6237
  if (ws$1.pending_error) {
6238
6238
  const $scope15_id = _scope_id();
6239
6239
  icon_warning_default({
6240
6240
  size: 12,
6241
- class: "_gT"
6241
+ class: "_gP"
6242
6242
  });
6243
6243
  $si__input_workspaces__OR__input_workspaceId && writeScope($scope15_id, {});
6244
6244
  return 0;
6245
6245
  } else {
6246
6246
  const $scope16_id = _scope_id();
6247
- _html(`<span${_attr_class(["_E", "_gS"])}></span>`);
6247
+ _html(`<span${_attr_class(["_E", "_gO"])}></span>`);
6248
6248
  $si__input_workspaces__OR__input_workspaceId && writeScope($scope16_id, {});
6249
6249
  return 1;
6250
6250
  }
6251
6251
  }, $scope3_id, "d", $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId, 0, 1);
6252
- _html(`<span${_attr_class("_gD")}><span${_attr_class("_gE")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "g", $sg__input_workspaces__OR__input_workspaceId)}</span><span${_attr_class("_gU")}${_attr("title", ws$1.pending_error || restoreLine)}>${ws$1.pending_error ? `Restore failed: ${_escape(`${ws$1.pending_error}`)}` : _escape("Restoring…")}${_el_resume($scope3_id, "i")}</span>${_el_resume($scope3_id, "h")}</span></div></div></section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 10))}`);
6252
+ _html(`<span${_attr_class("_gz")}><span${_attr_class("_gA")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "g", $sg__input_workspaces__OR__input_workspaceId)}</span><span${_attr_class("_gQ")}${_attr("title", ws$1.pending_error || restoreLine)}>${ws$1.pending_error ? `Restore failed: ${_escape(`${ws$1.pending_error}`)}` : _escape("Restoring…")}${_el_resume($scope3_id, "i")}</span>${_el_resume($scope3_id, "h")}</span></div></div></section>${_el_resume($scope3_id, "a", _serialize_guard($scope0_reason, 10))}`);
6253
6253
  _subscribe($restoreLine__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_pending_error__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_page && $input_page__closures, writeScope($scope3_id, {
6254
6254
  _: _scope_with_id($scope1_id),
6255
6255
  Cb0: $si__input_workspaces__OR__input_workspaceId && 1
@@ -6259,15 +6259,15 @@ var side_nav_item_default = _template("y", (input) => {
6259
6259
  const $scope4_id = _scope_id();
6260
6260
  const sessions$1 = input.sessions || [];
6261
6261
  const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
6262
- _html(`<section${_attr_class(["_gu", {
6263
- ["_gp"]: input.current,
6262
+ _html(`<section${_attr_class(["_gq", {
6263
+ ["_gl"]: input.current,
6264
6264
  ["_5"]: input.current,
6265
- ["_gv"]: input.railPop,
6266
- ["_gt"]: input.page
6267
- }])}><div${_attr_class("_gw")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gx")}><span${_attr_class([
6265
+ ["_gr"]: input.railPop,
6266
+ ["_gp"]: input.page
6267
+ }])}><div${_attr_class("_gs")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gt")}><span${_attr_class([
6268
6268
  "_y",
6269
6269
  phase[dot],
6270
- "_gJ"
6270
+ "_gF"
6271
6271
  ])}${_attr("title", phaseLabel)}></span>${_el_resume($scope4_id, "d", $sg__input_workspaceId__OR__input_status)}`);
6272
6272
  _if(() => {
6273
6273
  if (sessions$1.length === 1) {
@@ -6280,7 +6280,7 @@ var side_nav_item_default = _template("y", (input) => {
6280
6280
  icon_agent_default({
6281
6281
  agent: activeAgent(sessions$1[0]),
6282
6282
  size: 12,
6283
- class: "_gC"
6283
+ class: "_gy"
6284
6284
  });
6285
6285
  $si__input_sessions && writeScope($scope17_id, {
6286
6286
  _: _scope_with_id($scope4_id),
@@ -6290,11 +6290,11 @@ var side_nav_item_default = _template("y", (input) => {
6290
6290
  }
6291
6291
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions);
6292
6292
  const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length > 1 ? `${sessions$1.length} sessions` : "";
6293
- _html(`<span${_attr_class("_gD")}><span${_attr_class("_gE")}>${_escape(ws$1.name)}${_el_resume($scope4_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
6293
+ _html(`<span${_attr_class("_gz")}><span${_attr_class("_gA")}>${_escape(ws$1.name)}${_el_resume($scope4_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
6294
6294
  _if(() => {
6295
6295
  if (input.page && metaText) {
6296
6296
  const $scope18_id = _scope_id();
6297
- _html(`<span${_attr_class("_gH")}>${_escape(metaText)}${_el_resume($scope18_id, "b", _serialize_guard($scope0_reason, 6))}</span>`);
6297
+ _html(`<span${_attr_class("_gD")}>${_escape(metaText)}${_el_resume($scope18_id, "b", _serialize_guard($scope0_reason, 6))}</span>`);
6298
6298
  $si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope18_id, { _: _serialize_if($scope0_reason, 6) && _scope_with_id($scope4_id) });
6299
6299
  return 0;
6300
6300
  }
@@ -6307,7 +6307,7 @@ var side_nav_item_default = _template("y", (input) => {
6307
6307
  "_H",
6308
6308
  "_Q",
6309
6309
  "_J",
6310
- "_gI"
6310
+ "_gE"
6311
6311
  ])}>${input.current ? "Open" : ""}${_el_resume($scope5_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
6312
6312
  $si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope5_id, {
6313
6313
  _: _scope_with_id($scope4_id),
@@ -6320,7 +6320,7 @@ var side_nav_item_default = _template("y", (input) => {
6320
6320
  _if(() => {
6321
6321
  if (!input.page) {
6322
6322
  const $scope6_id = _scope_id();
6323
- _html(`<div${_attr_class("_gy")}>`);
6323
+ _html(`<div${_attr_class("_gu")}>`);
6324
6324
  _if(() => {
6325
6325
  if (input.onNewSession) {
6326
6326
  const $scope7_id = _scope_id();
@@ -6334,7 +6334,7 @@ var side_nav_item_default = _template("y", (input) => {
6334
6334
  _html(`</button>${_el_resume($scope7_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
6335
6335
  _for_of([], (agent) => {
6336
6336
  const $scope8_id = _scope_id();
6337
- _html(`<button${_attr_class("_go")}>`);
6337
+ _html(`<button${_attr_class("_gk")}>`);
6338
6338
  _set_serialize_reason(12);
6339
6339
  const $childScope2 = _peek_scope_id();
6340
6340
  icon_agent_default({
@@ -6342,13 +6342,13 @@ var side_nav_item_default = _template("y", (input) => {
6342
6342
  size: 14
6343
6343
  });
6344
6344
  _html(`<!>${_escape(agent)}${_el_resume($scope8_id, "c")}</button>${_el_resume($scope8_id, "a")}`);
6345
- _script($scope8_id, "y3");
6345
+ _script($scope8_id, "z3");
6346
6346
  writeScope($scope8_id, {
6347
6347
  e: agent,
6348
6348
  b: _existing_scope($childScope2)
6349
6349
  });
6350
6350
  }, (a) => a, $scope7_id, "c", 1, 1, 1, "</div>", 1);
6351
- _script($scope7_id, "y4");
6351
+ _script($scope7_id, "z4");
6352
6352
  _subscribe($si__input_agents && $input_agents__closures, writeScope($scope7_id, {
6353
6353
  e: $si__input_agents && pickerReady,
6354
6354
  _: _scope_with_id($scope6_id)
@@ -6369,7 +6369,7 @@ var side_nav_item_default = _template("y", (input) => {
6369
6369
  return 0;
6370
6370
  }
6371
6371
  }, $scope6_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
6372
- _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_gq"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
6372
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_gm"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
6373
6373
  icon_manage_default({ size: 12 });
6374
6374
  _html(`</a>${_el_resume($scope6_id, "d", _serialize_guard($scope0_reason, 7))}</div>`);
6375
6375
  _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($scope6_id, {
@@ -6379,7 +6379,7 @@ var side_nav_item_default = _template("y", (input) => {
6379
6379
  return 0;
6380
6380
  }
6381
6381
  }, $scope4_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
6382
- _html(`</div><div${_attr_class("_gO")}>`);
6382
+ _html(`</div><div${_attr_class("_gK")}>`);
6383
6383
  _if(() => {
6384
6384
  if (sessions$1.length === 1 && openPlan) {
6385
6385
  const $scope12_id = _scope_id();
@@ -6387,7 +6387,7 @@ var side_nav_item_default = _template("y", (input) => {
6387
6387
  const $childScope3 = _peek_scope_id();
6388
6388
  usage_pcts_default({
6389
6389
  agent: openPlan,
6390
- class: "_gF"
6390
+ class: "_gB"
6391
6391
  });
6392
6392
  _subscribe($openPlan__closures, writeScope($scope12_id, {
6393
6393
  a: _existing_scope($childScope3),
@@ -6398,14 +6398,14 @@ var side_nav_item_default = _template("y", (input) => {
6398
6398
  }, $scope4_id, "m");
6399
6399
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
6400
6400
  const $scope9_id = _scope_id();
6401
- _html(`<div${_attr_class(["_gz", { ["_gp"]: s.id === input.currentTab }])}>`);
6401
+ _html(`<div${_attr_class(["_gv", { ["_gl"]: s.id === input.currentTab }])}>`);
6402
6402
  _if(() => {
6403
6403
  if (renamingId === s.id) {
6404
6404
  const $scope11_id = _scope_id();
6405
6405
  _html(`<span${_attr_class([
6406
6406
  "_y",
6407
6407
  phase[sessionPhase(s.state)],
6408
- "_gM"
6408
+ "_gI"
6409
6409
  ])}></span>${_el_resume($scope11_id, "a", $sg__input_sessions)}`);
6410
6410
  _set_serialize_reason({
6411
6411
  1: $sg__input_sessions,
@@ -6415,17 +6415,17 @@ var side_nav_item_default = _template("y", (input) => {
6415
6415
  icon_agent_default({
6416
6416
  agent: activeAgent(s),
6417
6417
  size: 13,
6418
- class: "_gQ"
6418
+ class: "_gM"
6419
6419
  });
6420
6420
  _html(`<input${_attr_input_value($scope11_id, "c", renameValue, _resume((_new_renameValue) => {
6421
6421
  renameValue = _new_renameValue;
6422
- }, "y0", $scope11_id))}${_attr_class(["_T", "_gN"])} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
6423
- _script($scope11_id, "y5");
6422
+ }, "z0", $scope11_id))}${_attr_class(["_T", "_gJ"])} aria-label="Session name">${_el_resume($scope11_id, "c")}`);
6423
+ _script($scope11_id, "z5");
6424
6424
  _subscribe($renameValue__closures, writeScope($scope11_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
6425
6425
  return 0;
6426
6426
  } else {
6427
6427
  const $scope10_id = _scope_id();
6428
- _html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_gP")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
6428
+ _html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_gL")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope10_id, "b", $sg__input_sessions)}`);
6429
6429
  _set_serialize_reason({
6430
6430
  1: $sg__input_sessions,
6431
6431
  2: $sg__input_sessions
@@ -6434,9 +6434,9 @@ var side_nav_item_default = _template("y", (input) => {
6434
6434
  icon_agent_default({
6435
6435
  agent: activeAgent(s),
6436
6436
  size: 13,
6437
- class: "_gQ"
6437
+ class: "_gM"
6438
6438
  });
6439
- _html(`<span${_attr_class("_gK")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope10_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope10_id, "a", _serialize_guard($scope0_reason, 5))}<div${_attr_class("_gL")}><button${_attr_class(rowIcon)} title="Rename session">`);
6439
+ _html(`<span${_attr_class("_gG")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope10_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope10_id, "a", _serialize_guard($scope0_reason, 5))}<div${_attr_class("_gH")}><button${_attr_class(rowIcon)} title="Rename session">`);
6440
6440
  icon_edit_default({ size: 12 });
6441
6441
  _html(`</button>${_el_resume($scope10_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
6442
6442
  icon_xmark_default({ size: 12 });
@@ -6448,7 +6448,7 @@ var side_nav_item_default = _template("y", (input) => {
6448
6448
  const $childScope6 = _peek_scope_id();
6449
6449
  usage_pcts_default({
6450
6450
  agent: openPlan,
6451
- class: "_gG"
6451
+ class: "_gC"
6452
6452
  });
6453
6453
  _subscribe($openPlan__closures, writeScope($scope13_id, {
6454
6454
  a: _existing_scope($childScope6),
@@ -6457,7 +6457,7 @@ var side_nav_item_default = _template("y", (input) => {
6457
6457
  return 0;
6458
6458
  }
6459
6459
  }, $scope10_id, "k");
6460
- _script($scope10_id, "y6");
6460
+ _script($scope10_id, "z6");
6461
6461
  _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($openPlan__closures, _subscribe($si__input_current__OR__input_page__OR__input_rail__OR__input_sessions__OR__input_currentTab && $openSess_id__closures, _subscribe($armedKill__closures, writeScope($scope10_id, {
6462
6462
  c: $si__input_sessions && _existing_scope($childScope5),
6463
6463
  Cax: 1,
@@ -6482,7 +6482,7 @@ var side_nav_item_default = _template("y", (input) => {
6482
6482
  status: st
6483
6483
  });
6484
6484
  _html(`</div></section>${_el_resume($scope4_id, "a")}`);
6485
- _script($scope4_id, "y7");
6485
+ _script($scope4_id, "z7");
6486
6486
  _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($openPlan__closures, _subscribe($si__input_railPop && $input_railPop__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_page && $input_page__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
6487
6487
  r: sessions$1.length,
6488
6488
  t: $si__input_sessions && sessions$1[0],
@@ -6507,9 +6507,9 @@ var side_nav_item_default = _template("y", (input) => {
6507
6507
  return 0;
6508
6508
  }
6509
6509
  }, $scope0_id, "a", $sg__input_rail__OR__input_workspaces__OR__input_workspaceId__OR__input_status, $sg__input_workspaces__OR__input_workspaceId, $sg__input_workspaces__OR__input_workspaceId);
6510
- _script($scope0_id, "y8");
6511
- _script($scope0_id, "y9");
6512
- _script($scope0_id, "y10");
6510
+ _script($scope0_id, "z8");
6511
+ _script($scope0_id, "z9");
6512
+ _script($scope0_id, "z10");
6513
6513
  writeScope($scope0_id, {
6514
6514
  d: input.onRenameSession,
6515
6515
  e: _serialize_if($scope0_reason, 19) && input.current,
@@ -6569,7 +6569,7 @@ var side_nav_item_default = _template("y", (input) => {
6569
6569
  });
6570
6570
  //#endregion
6571
6571
  //#region src/tags/icons/icon-folder-plus.marko
6572
- var icon_folder_plus_default = _template("ab", (input) => {
6572
+ var icon_folder_plus_default = _template("bb", (input) => {
6573
6573
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
6574
6574
  const $scope0_id = _scope_id();
6575
6575
  _set_serialize_reason({
@@ -6586,7 +6586,7 @@ var icon_folder_plus_default = _template("ab", (input) => {
6586
6586
  });
6587
6587
  //#endregion
6588
6588
  //#region src/tags/icons/icon-sidebar-collapse.marko
6589
- var icon_sidebar_collapse_default = _template("ib", (input) => {
6589
+ var icon_sidebar_collapse_default = _template("jb", (input) => {
6590
6590
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
6591
6591
  const $scope0_id = _scope_id();
6592
6592
  _set_serialize_reason({
@@ -6603,7 +6603,7 @@ var icon_sidebar_collapse_default = _template("ib", (input) => {
6603
6603
  });
6604
6604
  //#endregion
6605
6605
  //#region src/tags/side-nav.marko
6606
- var side_nav_default = _template("z", (input) => {
6606
+ var side_nav_default = _template("A", (input) => {
6607
6607
  const $scope0_reason = _scope_reason(), $sg__input_instanceName = _serialize_guard($scope0_reason, 12), $sg__input_setupReady = _serialize_guard($scope0_reason, 13), $sg__input_instanceAccent = _serialize_guard($scope0_reason, 11), $sg__input_workspace__OR__input_allWorkspaces = _serialize_guard($scope0_reason, 0), $sg__input_workspace__OR__input_allWorkspaces__OR__input_allStatus = _serialize_guard($scope0_reason, 3), $si__input_workspace__OR__input_allWorkspaces = _serialize_if($scope0_reason, 0), $sg__input_agents = _serialize_guard($scope0_reason, 14), $si__input_workspace = _serialize_if($scope0_reason, 4), $si__input_allStatus = _serialize_if($scope0_reason, 10), $si__input_setupReady = _serialize_if($scope0_reason, 13), $si__input_instanceName = _serialize_if($scope0_reason, 12), $si__input_instanceAccent = _serialize_if($scope0_reason, 11), $si__input_agents = _serialize_if($scope0_reason, 14), $si__input_onNewSession = _serialize_if($scope0_reason, 15), $si__input_onReviewOpened = _serialize_if($scope0_reason, 16), $si__input_onReviewOther = _serialize_if($scope0_reason, 17), $si__input_sessions = _serialize_if($scope0_reason, 18), $si__input_onRenameSession = _serialize_if($scope0_reason, 19), $si__input_onCloseSession = _serialize_if($scope0_reason, 20), $si__input_tab__OR__input_tabChange = _serialize_if($scope0_reason, 1);
6608
6608
  const $scope0_id = _scope_id();
6609
6609
  const $input_instanceName__closures = /* @__PURE__ */ new Set();
@@ -6630,7 +6630,7 @@ var side_nav_default = _template("z", (input) => {
6630
6630
  let canPush = false;
6631
6631
  const leaveNav = _resume(() => {
6632
6632
  if (view === "nav") view = "term";
6633
- }, "z0", $scope0_id);
6633
+ }, "A0", $scope0_id);
6634
6634
  const toggleNotify = _resume(async () => {
6635
6635
  try {
6636
6636
  if (notifyOn) {
@@ -6644,7 +6644,7 @@ var side_nav_default = _template("z", (input) => {
6644
6644
  notifyOn = false;
6645
6645
  input.onError?.(`Notifications failed: ${String(err.message || err)}`);
6646
6646
  }
6647
- }, "z1", $scope0_id);
6647
+ }, "A1", $scope0_id);
6648
6648
  const itemIds = input.allWorkspaces?.length ? input.allWorkspaces.filter((w) => w.status === "active").map((w) => w.id) : [ws.id];
6649
6649
  const keyIndex = (() => {
6650
6650
  const m = /* @__PURE__ */ new Map();
@@ -6664,34 +6664,34 @@ var side_nav_default = _template("z", (input) => {
6664
6664
  const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
6665
6665
  _html(`<script${_attr_nonce()}>${_escape_script(`
6666
6666
  ${_to_text(`if (matchMedia("(max-width: 899px)").matches) document.documentElement.classList.add("work-no-rail");`)};
6667
- `)}<\/script><aside${_attr_class(["_dS", {
6668
- ["_dQ"]: !navOpen,
6669
- ["_dR"]: isPage
6667
+ `)}<\/script><aside${_attr_class(["_d1", {
6668
+ ["_dZ"]: !navOpen,
6669
+ ["_d0"]: isPage
6670
6670
  }])}${_attr("hidden", view === "diff")}>`);
6671
6671
  _if(() => {
6672
6672
  if (isPage) {
6673
6673
  const $scope1_id = _scope_id();
6674
- _html(`<header${_attr_class("_dV")}><div${_attr_class("_d4")}>`);
6674
+ _html(`<header${_attr_class("_d4")}><div${_attr_class("_ec")}>`);
6675
6675
  _if(() => {
6676
6676
  if (input.instanceName) {
6677
6677
  const $scope2_id = _scope_id();
6678
- _html(`<div${_attr_class("_d1")} title="This work server (Settings → Appearance)"><img${_attr_class("_d2")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_d3")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
6678
+ _html(`<div${_attr_class("_d_")} title="This work server (Settings → Appearance)"><img${_attr_class("_ea")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eb")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
6679
6679
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
6680
6680
  return 0;
6681
6681
  }
6682
6682
  }, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
6683
- _html(`<h1${_attr_class("_dW")}>Workspaces</h1></div><div${_attr_class("_dX")}>`);
6683
+ _html(`<h1${_attr_class("_d5")}>Workspaces</h1></div><div${_attr_class("_d6")}>`);
6684
6684
  _if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
6685
6685
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
6686
6686
  iconBtn$1,
6687
- "_dY",
6688
- { ["_dN"]: view === "settings" }
6687
+ "_d7",
6688
+ { ["_dW"]: view === "settings" }
6689
6689
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
6690
6690
  icon_settings_default({ size: 16 });
6691
6691
  _if(() => {
6692
6692
  if (input.setupReady === false) {
6693
6693
  const $scope12_id = _scope_id();
6694
- _html(`<span${_attr_class(["_y", "_dP"])} title="Machine setup incomplete"></span>`);
6694
+ _html(`<span${_attr_class(["_y", "_dY"])} title="Machine setup incomplete"></span>`);
6695
6695
  $si__input_setupReady && writeScope($scope12_id, {});
6696
6696
  return 0;
6697
6697
  }
@@ -6704,18 +6704,18 @@ var side_nav_default = _template("z", (input) => {
6704
6704
  _if(() => {
6705
6705
  if (!isPage && input.instanceName) {
6706
6706
  const $scope3_id = _scope_id();
6707
- _html(`<div${_attr_class("_d1")} title="This work server (Settings → Appearance)"><img${_attr_class("_d2")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_d3")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
6707
+ _html(`<div${_attr_class("_d_")} title="This work server (Settings → Appearance)"><img${_attr_class("_ea")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eb")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
6708
6708
  writeScope($scope3_id, {});
6709
6709
  return 0;
6710
6710
  }
6711
6711
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
6712
- _html(`<div${_attr_class("_d5")}>`);
6712
+ _html(`<div${_attr_class("_ed")}>`);
6713
6713
  _for_of(listIds, (wsId) => {
6714
6714
  const $scope4_id = _scope_id();
6715
6715
  _if(() => {
6716
6716
  if (isPage && wsId === ws.id) {
6717
6717
  const $scope13_id = _scope_id();
6718
- _html(`<h2${_attr_class(["_bL", "_dZ"])}>Current</h2>`);
6718
+ _html(`<h2${_attr_class(["_bC", "_d8"])}>Current</h2>`);
6719
6719
  writeScope($scope13_id, {});
6720
6720
  return 0;
6721
6721
  }
@@ -6723,7 +6723,7 @@ var side_nav_default = _template("z", (input) => {
6723
6723
  _if(() => {
6724
6724
  if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
6725
6725
  const $scope14_id = _scope_id();
6726
- _html(`<h2${_attr_class(["_bL", "_dZ"])}>Other workspaces</h2>`);
6726
+ _html(`<h2${_attr_class(["_bC", "_d8"])}>Other workspaces</h2>`);
6727
6727
  writeScope($scope14_id, {});
6728
6728
  return 0;
6729
6729
  }
@@ -6773,18 +6773,18 @@ var side_nav_default = _template("z", (input) => {
6773
6773
  leaveNav();
6774
6774
  input.onSelectWorkspace?.(wsId);
6775
6775
  } else if (view === "nav" || view === "manage" || view === "settings" || view === "new") view = "term";
6776
- }, "z2", $scope4_id),
6776
+ }, "A2", $scope4_id),
6777
6777
  agents: input.agents,
6778
6778
  onNewSession: _resume(function(agent) {
6779
6779
  leaveNav();
6780
6780
  input.onNewSession(wsId, agent);
6781
- }, "z3", $scope4_id),
6781
+ }, "A3", $scope4_id),
6782
6782
  onReview: _resume(function() {
6783
6783
  if (wsId === ws.id) {
6784
6784
  if (view === "diff") view = "term";
6785
6785
  else input.onReviewOpened?.();
6786
6786
  } else input.onReviewOther?.(wsId);
6787
- }, "z4", $scope4_id),
6787
+ }, "A4", $scope4_id),
6788
6788
  sessions: wsId === ws.id && input.sessions ? input.sessions : allStatus[wsId]?.sessions || [],
6789
6789
  currentTab: wsId === ws.id && view === "term" ? tab : null,
6790
6790
  onRenameSession: input.onRenameSession,
@@ -6800,14 +6800,14 @@ var side_nav_default = _template("z", (input) => {
6800
6800
  const $scope5_id = _scope_id();
6801
6801
  let railHover = null;
6802
6802
  const railHoverBox = { timer: 0 };
6803
- const railKeep = _resume(() => clearTimeout(railHoverBox.timer), "z5", $scope5_id);
6803
+ const railKeep = _resume(() => clearTimeout(railHoverBox.timer), "A5", $scope5_id);
6804
6804
  const railHide = _resume(() => {
6805
6805
  clearTimeout(railHoverBox.timer);
6806
6806
  railHoverBox.timer = setTimeout(() => {
6807
6807
  railHover = null;
6808
6808
  }, 150);
6809
- }, "z6", $scope5_id);
6810
- _html(`<div${_attr_class("_d6")} data-rail>`);
6809
+ }, "A6", $scope5_id);
6810
+ _html(`<div${_attr_class("_ee")} data-rail>`);
6811
6811
  _for_of(itemIds, (wsId, i) => {
6812
6812
  const $scope6_id = _scope_id();
6813
6813
  _html("<span>");
@@ -6847,10 +6847,10 @@ var side_nav_default = _template("z", (input) => {
6847
6847
  onSelect: _resume(function() {
6848
6848
  if (wsId !== ws.id) input.onSelectWorkspace?.(wsId);
6849
6849
  else if (view === "manage" || view === "settings" || view === "new") view = "term";
6850
- }, "z7", $scope6_id)
6850
+ }, "A7", $scope6_id)
6851
6851
  });
6852
6852
  _html(`</span>${_el_resume($scope6_id, "a")}`);
6853
- _script($scope6_id, "z12");
6853
+ _script($scope6_id, "A12");
6854
6854
  _subscribe($si__input_allStatus && $allStatus__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $workspaces__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $keyIndex__closures, _subscribe($si__input_workspace && $ws_id__closures, writeScope($scope6_id, {
6855
6855
  d: wsId,
6856
6856
  _: _scope_with_id($scope5_id),
@@ -6861,7 +6861,7 @@ var side_nav_default = _template("z", (input) => {
6861
6861
  if (railHover) {
6862
6862
  const $scope7_id = _scope_id();
6863
6863
  const hoverId = railHover.id;
6864
- _html(`<div${_attr_class(["_4", "_d9"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
6864
+ _html(`<div${_attr_class(["_4", "_eh"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
6865
6865
  _set_serialize_reason({
6866
6866
  0: 1,
6867
6867
  1: 1,
@@ -6905,26 +6905,26 @@ var side_nav_default = _template("z", (input) => {
6905
6905
  railHover = null;
6906
6906
  if (hoverId !== ws.id) input.onSelectWorkspace?.(hoverId);
6907
6907
  else if (view === "manage" || view === "settings" || view === "new") view = "term";
6908
- }, "z8", $scope7_id),
6908
+ }, "A8", $scope7_id),
6909
6909
  agents: input.agents,
6910
6910
  onNewSession: _resume(function(agent) {
6911
6911
  railHover = null;
6912
6912
  input.onNewSession(hoverId, agent);
6913
- }, "z9", $scope7_id),
6913
+ }, "A9", $scope7_id),
6914
6914
  onReview: _resume(function() {
6915
6915
  railHover = null;
6916
6916
  if (hoverId === ws.id) {
6917
6917
  if (view === "diff") view = "term";
6918
6918
  else input.onReviewOpened?.();
6919
6919
  } else input.onReviewOther?.(hoverId);
6920
- }, "z10", $scope7_id),
6920
+ }, "A10", $scope7_id),
6921
6921
  sessions: hoverId === ws.id && input.sessions ? input.sessions : allStatus[hoverId]?.sessions || [],
6922
6922
  currentTab: hoverId === ws.id && view === "term" ? tab : null,
6923
6923
  onRenameSession: input.onRenameSession,
6924
6924
  onCloseSession: input.onCloseSession
6925
6925
  });
6926
6926
  _html(`</div>${_el_resume($scope7_id, "a")}`);
6927
- _script($scope7_id, "z13");
6927
+ _script($scope7_id, "A13");
6928
6928
  _subscribe($si__input_allStatus && $allStatus__closures, _subscribe($si__input_workspace__OR__input_allWorkspaces && $workspaces__closures, _subscribe($view__closures, _subscribe($si__input_tab__OR__input_tabChange && $tab__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($si__input_onCloseSession && $input_onCloseSession__closures, _subscribe($si__input_onRenameSession && $input_onRenameSession__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_onReviewOther && $input_onReviewOther__closures, _subscribe($si__input_onReviewOpened && $input_onReviewOpened__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, _subscribe($si__input_agents && $input_agents__closures, writeScope($scope7_id, {
6929
6929
  d: hoverId,
6930
6930
  b: _existing_scope($childScope3),
@@ -6946,7 +6946,7 @@ var side_nav_default = _template("z", (input) => {
6946
6946
  return 0;
6947
6947
  }
6948
6948
  }, $scope0_id, "f");
6949
- _html(`<div${_attr_class("_d7")}>`);
6949
+ _html(`<div${_attr_class("_ef")}>`);
6950
6950
  _if(() => {
6951
6951
  if (isPage) {
6952
6952
  const $scope9_id = _scope_id();
@@ -6954,7 +6954,7 @@ var side_nav_default = _template("z", (input) => {
6954
6954
  "_o",
6955
6955
  "_p",
6956
6956
  btnLg,
6957
- "_d0"
6957
+ "_d9"
6958
6958
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
6959
6959
  icon_folder_plus_default({ size: 16 });
6960
6960
  _html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
@@ -6976,30 +6976,30 @@ var side_nav_default = _template("z", (input) => {
6976
6976
  return 1;
6977
6977
  }
6978
6978
  }, $scope8_id, "a", 1, 1, 1, "</button>", 1);
6979
- _html(`<div${_attr_class(["_x", "_d8"])}></div>`);
6979
+ _html(`<div${_attr_class(["_x", "_eg"])}></div>`);
6980
6980
  _if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
6981
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_dN"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
6981
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_dW"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
6982
6982
  icon_settings_default({ size: 15 });
6983
6983
  _if(() => {
6984
6984
  if (input.setupReady === false) {
6985
6985
  const $scope17_id = _scope_id();
6986
- _html(`<span${_attr_class(["_y", "_dP"])} title="Machine setup incomplete"></span>`);
6986
+ _html(`<span${_attr_class(["_y", "_dY"])} title="Machine setup incomplete"></span>`);
6987
6987
  $si__input_setupReady && writeScope($scope17_id, {});
6988
6988
  return 0;
6989
6989
  }
6990
6990
  }, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
6991
- _html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_dN"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
6991
+ _html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_dW"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
6992
6992
  icon_folder_plus_default({ size: 16 });
6993
6993
  _html(`</a>${_el_resume($scope8_id, "g")}`);
6994
- _script($scope8_id, "z15");
6994
+ _script($scope8_id, "A15");
6995
6995
  writeScope($scope8_id, {});
6996
6996
  return 1;
6997
6997
  }
6998
6998
  }, $scope0_id, "g", 1, 1, 1, "</div>");
6999
6999
  _html(`</aside>${_el_resume($scope0_id, "b")}`);
7000
- _script($scope0_id, "z16");
7001
- _script($scope0_id, "z17");
7002
- _script($scope0_id, "z18");
7000
+ _script($scope0_id, "A16");
7001
+ _script($scope0_id, "A17");
7002
+ _script($scope0_id, "A18");
7003
7003
  writeScope($scope0_id, {
7004
7004
  k: _serialize_if($scope0_reason, 6) && input.tab,
7005
7005
  l: _serialize_if($scope0_reason, 5) && input.tabChange,
@@ -7057,14 +7057,14 @@ var side_nav_default = _template("z", (input) => {
7057
7057
  _resume_branch($scope0_id);
7058
7058
  });
7059
7059
  var iconBtn = "_Z _j";
7060
- var sectionCount = "_bz _H _I";
7061
- var content = "_d_ _bp";
7062
- var pageMeta = "_ea _bu";
7063
- var pathMeta = "_ed _w";
7064
- var dangerHint = "_ei _R";
7060
+ var sectionCount = "_bq _H _I";
7061
+ var content = "_ei _bF";
7062
+ var pageMeta = "_ej _bK";
7063
+ var pathMeta = "_em _w";
7064
+ var dangerHint = "_er _R";
7065
7065
  //#endregion
7066
7066
  //#region src/tags/icons/icon-clipboard.marko
7067
- var icon_clipboard_default = _template("T", (input) => {
7067
+ var icon_clipboard_default = _template("U", (input) => {
7068
7068
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7069
7069
  const $scope0_id = _scope_id();
7070
7070
  _set_serialize_reason({
@@ -7084,7 +7084,7 @@ var icon_clipboard_default = _template("T", (input) => {
7084
7084
  var api$2;
7085
7085
  var copyText;
7086
7086
  var lastData = /* @__PURE__ */ new Map();
7087
- var manage_workspace_default = _template("p", (input) => {
7087
+ var manage_workspace_default = _template("q", (input) => {
7088
7088
  const $scope0_reason = _scope_reason();
7089
7089
  const $scope0_id = _scope_id();
7090
7090
  const $ws_name__closures = /* @__PURE__ */ new Set();
@@ -7126,28 +7126,28 @@ var manage_workspace_default = _template("p", (input) => {
7126
7126
  copyTimer.id = setTimeout(() => {
7127
7127
  copied = false;
7128
7128
  }, 1500);
7129
- }, "p0", $scope0_id);
7129
+ }, "q0", $scope0_id);
7130
7130
  const loadSkills = _resume(async (signal) => {
7131
7131
  try {
7132
7132
  const data = await api$2(`/api/workspaces/${ws.id}/skills`, { signal });
7133
7133
  skills = data;
7134
7134
  lastData.set(`skills:${ws.id}`, data);
7135
7135
  } catch {}
7136
- }, "p1", $scope0_id);
7136
+ }, "q1", $scope0_id);
7137
7137
  const loadProcs = _resume(async (signal) => {
7138
7138
  try {
7139
7139
  const data = await api$2(`/api/workspaces/${ws.id}/procs`, { signal });
7140
7140
  procs = data;
7141
7141
  lastData.set(`procs:${ws.id}`, data);
7142
7142
  } catch {}
7143
- }, "p2", $scope0_id);
7143
+ }, "q2", $scope0_id);
7144
7144
  const inWorkspace = new Set(ws.repos.map((r) => r.full_name));
7145
7145
  const setBusy = _resume((name, on) => {
7146
7146
  const next = new Set(busy);
7147
7147
  if (on) next.add(name);
7148
7148
  else next.delete(name);
7149
7149
  busy = next;
7150
- }, "p3", $scope0_id);
7150
+ }, "q3", $scope0_id);
7151
7151
  const runSkill = _resume(async (key, body) => {
7152
7152
  if (busy.has(key)) return;
7153
7153
  error = null;
@@ -7165,7 +7165,7 @@ var manage_workspace_default = _template("p", (input) => {
7165
7165
  } finally {
7166
7166
  setBusy(key, false);
7167
7167
  }
7168
- }, "p4", $scope0_id);
7168
+ }, "q4", $scope0_id);
7169
7169
  const addRepo = _resume(async (name, baseBranch, fork) => {
7170
7170
  if (!name || busy.has(name)) return;
7171
7171
  error = null;
@@ -7184,7 +7184,7 @@ var manage_workspace_default = _template("p", (input) => {
7184
7184
  error = String(err.message || err);
7185
7185
  }
7186
7186
  setBusy(name, false);
7187
- }, "p5", $scope0_id);
7187
+ }, "q5", $scope0_id);
7188
7188
  const removeRepo = _resume(async (row) => {
7189
7189
  if (busy.has(row.full_name)) return;
7190
7190
  error = null;
@@ -7199,7 +7199,7 @@ var manage_workspace_default = _template("p", (input) => {
7199
7199
  error = String(err.message || err);
7200
7200
  }
7201
7201
  setBusy(row.full_name, false);
7202
- }, "p6", $scope0_id);
7202
+ }, "q6", $scope0_id);
7203
7203
  const runAction = _resume(async (action) => {
7204
7204
  error = null;
7205
7205
  pendingAction = action;
@@ -7221,16 +7221,16 @@ var manage_workspace_default = _template("p", (input) => {
7221
7221
  pendingAction = null;
7222
7222
  actionStep = null;
7223
7223
  }
7224
- }, "p7", $scope0_id);
7224
+ }, "q7", $scope0_id);
7225
7225
  const killProc = _resume(async (pid) => {
7226
7226
  await fetch(`/api/procs/${pid}`, { method: "DELETE" });
7227
7227
  setTimeout(() => loadProcs(void 0), 500);
7228
- }, "p8", $scope0_id);
7228
+ }, "q8", $scope0_id);
7229
7229
  const titleId = _id();
7230
- _html(`<div${_attr_class("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><div${_attr_class(content)}>`);
7230
+ _html(`<div${_attr_class("_bD")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bE")}><div${_attr_class(content)}>`);
7231
7231
  _set_serialize_reason(286);
7232
7232
  let $actions;
7233
- if (ws.repos.length) $actions = attrTag({ content: _content_resume("p16", () => {
7233
+ if (ws.repos.length) $actions = attrTag({ content: _content_resume("q16", () => {
7234
7234
  _scope_reason();
7235
7235
  const $scope13_id = _scope_id();
7236
7236
  _html(`<button type=button${_attr_class(iconBtnRow)}${copied ? " title=\"Invite copied\"" : _attr("title", `Copy invite — anyone with it can join from New: the same repos on their own lane of ${ws.origin_branch || ws.branch}`)} aria-label="Copy invite">`);
@@ -7247,7 +7247,7 @@ var manage_workspace_default = _template("p", (input) => {
7247
7247
  return 1;
7248
7248
  }
7249
7249
  }, $scope13_id, "a", 1, 1, 1, "</button>", 1);
7250
- _script($scope13_id, "p14");
7250
+ _script($scope13_id, "q14");
7251
7251
  _subscribe($ws_branch__closures, _subscribe($ws_origin_branch__closures, _subscribe($copied__closures, writeScope($scope13_id, { _: _scope_with_id($scope0_id) }))));
7252
7252
  _resume_branch($scope13_id);
7253
7253
  }, $scope0_id) });
@@ -7258,12 +7258,12 @@ var manage_workspace_default = _template("p", (input) => {
7258
7258
  backHref: `/w/${ws.id}`,
7259
7259
  onBack: _resume(function() {
7260
7260
  input.onExit?.();
7261
- }, "p9", $scope0_id),
7261
+ }, "q9", $scope0_id),
7262
7262
  actions: $actions,
7263
- meta: attrTag({ content: _content_resume("p15", () => {
7263
+ meta: attrTag({ content: _content_resume("q15", () => {
7264
7264
  _scope_reason();
7265
7265
  const $scope14_id = _scope_id();
7266
- _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_eb")}>${_escape(ws.name)}${_el_resume($scope14_id, "c")}</span>`);
7266
+ _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_ek")}>${_escape(ws.name)}${_el_resume($scope14_id, "c")}</span>`);
7267
7267
  _if(() => {
7268
7268
  if (ws.status !== "active") {
7269
7269
  const $scope18_id = _scope_id();
@@ -7272,7 +7272,7 @@ var manage_workspace_default = _template("p", (input) => {
7272
7272
  return 0;
7273
7273
  }
7274
7274
  }, $scope14_id, "d", 1, 1, 1, 0, 1);
7275
- _html(`<span${_attr_class("_ec")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope14_id, "g")}</span></span>${_el_resume($scope14_id, "a")}`);
7275
+ _html(`<span${_attr_class("_el")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope14_id, "g")}</span></span>${_el_resume($scope14_id, "a")}`);
7276
7276
  _subscribe($ws_status__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, _subscribe($ws_name__closures, writeScope($scope14_id, { _: _scope_with_id($scope0_id) })))));
7277
7277
  _resume_branch($scope14_id);
7278
7278
  }, $scope0_id) })
@@ -7284,8 +7284,8 @@ var manage_workspace_default = _template("p", (input) => {
7284
7284
  placement: "inline",
7285
7285
  onDismiss: _resume(function() {
7286
7286
  error = null;
7287
- }, "p10", $scope6_id),
7288
- content: _content_resume("p17", () => {
7287
+ }, "q10", $scope6_id),
7288
+ content: _content_resume("q17", () => {
7289
7289
  _scope_reason();
7290
7290
  const $scope7_id = _scope_id();
7291
7291
  _html(`${_escape(error)}${_el_resume($scope7_id, "a")}`);
@@ -7300,23 +7300,23 @@ var manage_workspace_default = _template("p", (input) => {
7300
7300
  _if(() => {
7301
7301
  if (pendingAction && actionStep) {
7302
7302
  const $scope11_id = _scope_id();
7303
- _html(`<p${_attr_class("_bw")}><span${_attr_class("_E")}></span><!>${_escape(actionStep)}${_el_resume($scope11_id, "c")}</p>`);
7303
+ _html(`<p${_attr_class("_bn")}><span${_attr_class("_E")}></span><!>${_escape(actionStep)}${_el_resume($scope11_id, "c")}</p>`);
7304
7304
  writeScope($scope11_id, {});
7305
7305
  return 0;
7306
7306
  }
7307
7307
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
7308
- _html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Workspace</h2></div><div${_attr_class("_eh")}>`);
7308
+ _html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Workspace</h2></div><div${_attr_class("_eq")}>`);
7309
7309
  _if(() => {
7310
7310
  if (ws.status === "active") {
7311
7311
  const $scope8_id = _scope_id();
7312
7312
  _html(`<button type=button${_attr_class(btnLg)}${_attr("disabled", !!pendingAction)}>${pendingAction === "archive" ? "Archiving…" : "Archive"}${_el_resume($scope8_id, "b")}</button>${_el_resume($scope8_id, "a")}`);
7313
- _script($scope8_id, "p18");
7313
+ _script($scope8_id, "q18");
7314
7314
  writeScope($scope8_id, {});
7315
7315
  return 0;
7316
7316
  } else {
7317
7317
  const $scope9_id = _scope_id();
7318
7318
  _html(`<button type=button${_attr_class(btnLg)}${_attr("disabled", !!pendingAction)}>Restore</button>${_el_resume($scope9_id, "a")}`);
7319
- _script($scope9_id, "p19");
7319
+ _script($scope9_id, "q19");
7320
7320
  writeScope($scope9_id, {});
7321
7321
  return 1;
7322
7322
  }
@@ -7325,17 +7325,17 @@ var manage_workspace_default = _template("p", (input) => {
7325
7325
  btnLg,
7326
7326
  "_r",
7327
7327
  { ["_q"]: confirmingDelete }
7328
- ])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "m")}</button>${_el_resume($scope0_id, "l")}</div><p${_attr_class(dangerHint)}>Archive hides the workspace from the list. Delete removes it and its worktrees.</p></section><section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "s")}</span><div${_attr_class("_x")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
7328
+ ])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "m")}</button>${_el_resume($scope0_id, "l")}</div><p${_attr_class(dangerHint)}>Archive hides the workspace from the list. Delete removes it and its worktrees.</p></section><section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "s")}</span><div${_attr_class("_x")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
7329
7329
  _set_serialize_reason(1);
7330
7330
  const $childScope2 = _peek_scope_id();
7331
7331
  icon_refresh_default({
7332
7332
  size: 14,
7333
7333
  class: catalogRefreshing && "_D"
7334
7334
  });
7335
- _html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("_bA")}>`);
7335
+ _html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("_br")}>`);
7336
7336
  _for_of(ws.repos, (row) => {
7337
7337
  const $scope1_id = _scope_id();
7338
- _html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bF")}><a${_attr_class(["_bG", "_ef"])}${_attr("href", repoWebUrl(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")}`);
7338
+ _html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_w"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bw")}><a${_attr_class(["_bx", "_eo"])}${_attr("href", repoWebUrl(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")}`);
7339
7339
  _if(() => {
7340
7340
  if (row.base_branch !== row.default_branch) {
7341
7341
  const $scope21_id = _scope_id();
@@ -7356,7 +7356,7 @@ var manage_workspace_default = _template("p", (input) => {
7356
7356
  } else {
7357
7357
  const $scope10_id = _scope_id();
7358
7358
  _html(`<button${_attr_class([
7359
- "_bH",
7359
+ "_by",
7360
7360
  "_2",
7361
7361
  "_3",
7362
7362
  { ["_q"]: confirmingRemove === row.full_name }
@@ -7374,7 +7374,7 @@ var manage_workspace_default = _template("p", (input) => {
7374
7374
  return 1;
7375
7375
  }
7376
7376
  }, $scope10_id, "a", 1, 1, 1, "</button>");
7377
- _script($scope10_id, "p20");
7377
+ _script($scope10_id, "q20");
7378
7378
  _subscribe($confirmingRemove__closures, writeScope($scope10_id, {}));
7379
7379
  return 1;
7380
7380
  }
@@ -7389,40 +7389,40 @@ var manage_workspace_default = _template("p", (input) => {
7389
7389
  }, "full_name", $scope0_id, "x", 1, 1, 1, 0, 1);
7390
7390
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
7391
7391
  const $scope25_id = _scope_id();
7392
- _html(`<li${_attr_class(["_bC", "_bB"])}><span${_attr_class("_E")}></span><div${_attr_class("_bD")}><span${_attr_class("_bG")}>Adding <!>${_escape(name)}${_el_resume($scope25_id, "e")}…</span></div></li>`);
7392
+ _html(`<li${_attr_class(["_bt", "_bs"])}><span${_attr_class("_E")}></span><div${_attr_class("_bu")}><span${_attr_class("_bx")}>Adding <!>${_escape(name)}${_el_resume($scope25_id, "e")}…</span></div></li>`);
7393
7393
  writeScope($scope25_id, {});
7394
7394
  }, (n) => n, $scope0_id, "y", 1, 1, 1, 0, 1);
7395
7395
  _html("</ul>");
7396
7396
  _if(() => {
7397
7397
  if (!ws.repos.length && !busy.size) {
7398
7398
  const $scope26_id = _scope_id();
7399
- _html(`<p${_attr_class("_bI")}>No repos yet. Search below to add one.</p>`);
7399
+ _html(`<p${_attr_class("_bz")}>No repos yet. Search below to add one.</p>`);
7400
7400
  writeScope($scope26_id, {});
7401
7401
  return 0;
7402
7402
  }
7403
7403
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
7404
- _html(`<div${_attr_class("_ee")}>`);
7404
+ _html(`<div${_attr_class("_en")}>`);
7405
7405
  const $childScope3 = _peek_scope_id();
7406
7406
  let refreshCatalog = repo_picker_default({
7407
7407
  exclude: inWorkspace,
7408
7408
  onPick: _resume(function(name, baseBranch, fork) {
7409
7409
  addRepo(name, baseBranch, fork);
7410
- }, "p11", $scope0_id),
7410
+ }, "q11", $scope0_id),
7411
7411
  onError: _resume(function(message) {
7412
7412
  error = message;
7413
- }, "p12", $scope0_id),
7413
+ }, "q12", $scope0_id),
7414
7414
  refreshingChange: _resume(function(busy) {
7415
7415
  catalogRefreshing = busy;
7416
- }, "p13", $scope0_id)
7416
+ }, "q13", $scope0_id)
7417
7417
  });
7418
- _var($scope0_id, "a2", $childScope3, "p21");
7418
+ _var($scope0_id, "a2", $childScope3, "q21");
7419
7419
  const wsSkills = skills?.workspace || [];
7420
7420
  const repoSkills = (skills?.repo || []).filter((s) => !wsSkills.some((w) => w.id === s.id));
7421
7421
  _html("</div></section>");
7422
7422
  _if(() => {
7423
7423
  if (wsSkills.length || repoSkills.length) {
7424
7424
  const $scope2_id = _scope_id();
7425
- _html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Skills</h2>`);
7425
+ _html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Skills</h2>`);
7426
7426
  _if(() => {
7427
7427
  if (wsSkills.length) {
7428
7428
  const $scope27_id = _scope_id();
@@ -7431,10 +7431,10 @@ var manage_workspace_default = _template("p", (input) => {
7431
7431
  return 0;
7432
7432
  }
7433
7433
  }, $scope2_id, "d", 1, 1, 1, 0, 1);
7434
- _html(`</div><ul${_attr_class("_bA")}>`);
7434
+ _html(`</div><ul${_attr_class("_br")}>`);
7435
7435
  _for_of(wsSkills, (s) => {
7436
7436
  const $scope3_id = _scope_id();
7437
- _html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(s.name)}${_el_resume($scope3_id, "d")}</span><span${_attr_class("_bF")}>`);
7437
+ _html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_w"])}>${_escape(s.name)}${_el_resume($scope3_id, "d")}</span><span${_attr_class("_bw")}>`);
7438
7438
  _if(() => {
7439
7439
  if (s.broken) {
7440
7440
  const $scope28_id = _scope_id();
@@ -7472,7 +7472,7 @@ var manage_workspace_default = _template("p", (input) => {
7472
7472
  _if(() => {
7473
7473
  if (s.description) {
7474
7474
  const $scope31_id = _scope_id();
7475
- _html(`<span${_attr_class("_bG")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope31_id, "b")}</span>${_el_resume($scope31_id, "a")}`);
7475
+ _html(`<span${_attr_class("_bx")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope31_id, "b")}</span>${_el_resume($scope31_id, "a")}`);
7476
7476
  writeScope($scope31_id, {});
7477
7477
  return 0;
7478
7478
  }
@@ -7480,7 +7480,7 @@ var manage_workspace_default = _template("p", (input) => {
7480
7480
  _if(() => {
7481
7481
  if (s.sourceUrl) {
7482
7482
  const $scope32_id = _scope_id();
7483
- _html(`<a${_attr_class(["_bG", "_ef"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope32_id, "b")}</a>${_el_resume($scope32_id, "a")}`);
7483
+ _html(`<a${_attr_class(["_bx", "_eo"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope32_id, "b")}</a>${_el_resume($scope32_id, "a")}`);
7484
7484
  writeScope($scope32_id, {});
7485
7485
  return 0;
7486
7486
  }
@@ -7495,7 +7495,7 @@ var manage_workspace_default = _template("p", (input) => {
7495
7495
  } else {
7496
7496
  const $scope12_id = _scope_id();
7497
7497
  _html(`<button${_attr_class([
7498
- "_bH",
7498
+ "_by",
7499
7499
  "_2",
7500
7500
  "_3",
7501
7501
  { ["_q"]: confirmingSkill === s.id }
@@ -7513,7 +7513,7 @@ var manage_workspace_default = _template("p", (input) => {
7513
7513
  return 1;
7514
7514
  }
7515
7515
  }, $scope12_id, "a", 1, 1, 1, "</button>");
7516
- _script($scope12_id, "p22");
7516
+ _script($scope12_id, "q22");
7517
7517
  _subscribe($confirmingSkill__closures, writeScope($scope12_id, {}));
7518
7518
  return 1;
7519
7519
  }
@@ -7533,10 +7533,10 @@ var manage_workspace_default = _template("p", (input) => {
7533
7533
  _if(() => {
7534
7534
  if (repoSkills.length) {
7535
7535
  const $scope4_id = _scope_id();
7536
- _html(`<ul${_attr_class("_bA")}>`);
7536
+ _html(`<ul${_attr_class("_br")}>`);
7537
7537
  _for_of(repoSkills, (s) => {
7538
7538
  const $scope5_id = _scope_id();
7539
- _html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(s.name)}${_el_resume($scope5_id, "d")}</span><span${_attr_class("_bF")}><span${_attr_class(["_bG", "_w"])}>${_escape(s.worktree)}${_el_resume($scope5_id, "g")}/</span>`);
7539
+ _html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}><span${_attr_class(["_bv", "_w"])}>${_escape(s.name)}${_el_resume($scope5_id, "d")}</span><span${_attr_class("_bw")}><span${_attr_class(["_bx", "_w"])}>${_escape(s.worktree)}${_el_resume($scope5_id, "g")}/</span>`);
7540
7540
  _if(() => {
7541
7541
  if (s.shadows) {
7542
7542
  const $scope37_id = _scope_id();
@@ -7549,7 +7549,7 @@ var manage_workspace_default = _template("p", (input) => {
7549
7549
  _if(() => {
7550
7550
  if (s.description) {
7551
7551
  const $scope38_id = _scope_id();
7552
- _html(`<span${_attr_class("_bG")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope38_id, "b")}</span>${_el_resume($scope38_id, "a")}`);
7552
+ _html(`<span${_attr_class("_bx")}${_attr("title", s.description)}>${_escape(s.description)}${_el_resume($scope38_id, "b")}</span>${_el_resume($scope38_id, "a")}`);
7553
7553
  writeScope($scope38_id, {});
7554
7554
  return 0;
7555
7555
  }
@@ -7564,7 +7564,7 @@ var manage_workspace_default = _template("p", (input) => {
7564
7564
  } else if (!s.shadows) {
7565
7565
  const $scope15_id = _scope_id();
7566
7566
  _html(`<button${_attr_class(btnSm)}${_attr("title", `Link ${s.name} into this workspace`)}>Use here</button>${_el_resume($scope15_id, "a")}`);
7567
- _script($scope15_id, "p23");
7567
+ _script($scope15_id, "q23");
7568
7568
  writeScope($scope15_id, {});
7569
7569
  return 1;
7570
7570
  }
@@ -7592,28 +7592,28 @@ var manage_workspace_default = _template("p", (input) => {
7592
7592
  _if(() => {
7593
7593
  if (running.length) {
7594
7594
  const $scope16_id = _scope_id();
7595
- _html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope16_id, "e")}</span></div><ul${_attr_class("_bA")}>`);
7595
+ _html(`<section${_attr_class("_bo")}><div${_attr_class("_bp")}><h2${_attr_class("_bC")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope16_id, "e")}</span></div><ul${_attr_class("_br")}>`);
7596
7596
  _for_of(running, (p) => {
7597
7597
  const $scope17_id = _scope_id();
7598
- _html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}${_attr("title", p.args)}><span${_attr_class(["_bE", "_w"])}>${_escape(p.cmd)}${_el_resume($scope17_id, "d")}</span>`);
7598
+ _html(`<li${_attr_class("_bt")}><div${_attr_class("_bu")}${_attr("title", p.args)}><span${_attr_class(["_bv", "_w"])}>${_escape(p.cmd)}${_el_resume($scope17_id, "d")}</span>`);
7599
7599
  _if(() => {
7600
7600
  if (p.ports.length) {
7601
7601
  const $scope40_id = _scope_id();
7602
- _html(`<span${_attr_class("_bF")}>`);
7602
+ _html(`<span${_attr_class("_bw")}>`);
7603
7603
  _for_of(p.ports, (port) => {
7604
7604
  const $scope41_id = _scope_id();
7605
- _html(`<button${_attr_class(["_s", "_eg"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
7606
- _script($scope41_id, "p24");
7605
+ _html(`<button${_attr_class(["_s", "_ep"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
7606
+ _script($scope41_id, "q24");
7607
7607
  writeScope($scope41_id, { d: port });
7608
7608
  }, (x) => String(x), $scope40_id, "a", 1, 1, 1, "</span>", 1);
7609
7609
  writeScope($scope40_id, {});
7610
7610
  return 0;
7611
7611
  }
7612
7612
  }, $scope17_id, "e", 1, 1, 1, 0, 1);
7613
- _html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["_bH", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
7613
+ _html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["_by", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
7614
7614
  icon_xmark_default({ size: 14 });
7615
7615
  _html(`</button>${_el_resume($scope17_id, "f")}</li>`);
7616
- _script($scope17_id, "p25");
7616
+ _script($scope17_id, "q25");
7617
7617
  writeScope($scope17_id, {
7618
7618
  l: p?.ports,
7619
7619
  n: p?.pid
@@ -7625,8 +7625,8 @@ var manage_workspace_default = _template("p", (input) => {
7625
7625
  }
7626
7626
  }, $scope0_id, "a4", 1, 1, 1, 0, 1);
7627
7627
  _html("</div></div></div>");
7628
- _script($scope0_id, "p26");
7629
- _script($scope0_id, "p27");
7628
+ _script($scope0_id, "q26");
7629
+ _script($scope0_id, "q27");
7630
7630
  writeScope($scope0_id, {
7631
7631
  a7: _serialize_if($scope0_reason, 0) && input.workspace,
7632
7632
  a9: input.workspaceChange,
@@ -7691,9 +7691,13 @@ var manage_workspace_default = _template("p", (input) => {
7691
7691
  });
7692
7692
  _resume_branch($scope0_id);
7693
7693
  });
7694
+ var kbtn = "_dV _0 _j";
7695
+ var dpadPaste = "_eS _eR";
7696
+ var repeat = "_eT _eR";
7697
+ var dpadEsc = "_eV _eR";
7694
7698
  //#endregion
7695
7699
  //#region src/tags/term-find.marko
7696
- var term_find_default = _template("B", (input) => {
7700
+ var term_find_default = _template("C", (input) => {
7697
7701
  const $scope0_reason = _scope_reason();
7698
7702
  const $scope0_id = _scope_id();
7699
7703
  let open = input.open;
@@ -7710,41 +7714,41 @@ var term_find_default = _template("B", (input) => {
7710
7714
  if (!live.open) return;
7711
7715
  const search = input.onSearch;
7712
7716
  if (search) search(live.query, dir);
7713
- }, "B1", $scope0_id);
7717
+ }, "C1", $scope0_id);
7714
7718
  const close = _resume(() => {
7715
7719
  open = false;
7716
7720
  live.open = false;
7717
7721
  const clear = input.onClear;
7718
7722
  if (clear) clear();
7719
- }, "B2", $scope0_id);
7723
+ }, "C2", $scope0_id);
7720
7724
  const focusInput = _resume(() => {
7721
7725
  const el = ((findEl) => findEl())(_el_read_error);
7722
7726
  if (!el) return;
7723
7727
  el.focus();
7724
7728
  if (document.activeElement !== el) setTimeout(() => el.focus(), 0);
7725
- }, "B3", $scope0_id);
7729
+ }, "C3", $scope0_id);
7726
7730
  const hasQuery = !!query.trim();
7727
7731
  const canStep = hasQuery && open;
7728
7732
  const keybar = input.placement === "keybar";
7729
7733
  _html(`<div${_attr_class([
7730
- "_gg",
7731
- keybar ? "_gi" : "_gh",
7732
- !open && "_gk"
7733
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_gb", keybar ? "_gj" : "_gd"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
7734
+ "_gc",
7735
+ keybar ? "_ge" : "_gd",
7736
+ !open && "_gg"
7737
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_f8", keybar ? "_gf" : "_f_"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
7734
7738
  if (!open) return;
7735
7739
  query = v;
7736
7740
  live.query = v;
7737
7741
  run(0);
7738
- }, "B0", $scope0_id))}${_attr_class([findInput, keybar && "_gl"])} 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 && "_gm"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
7742
+ }, "C0", $scope0_id))}${_attr_class([findInput, keybar && "_gh"])} 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 && "_gi"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
7739
7743
  icon_arrow_up_default({ size: 14 });
7740
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_gm"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
7744
+ _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_gi"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
7741
7745
  icon_arrow_down_default({ size: 14 });
7742
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_gm"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
7746
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_gi"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
7743
7747
  icon_xmark_default({ size: 14 });
7744
7748
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
7745
- _script($scope0_id, "B4");
7746
- _script($scope0_id, "B5");
7747
- _script($scope0_id, "B6");
7749
+ _script($scope0_id, "C4");
7750
+ _script($scope0_id, "C5");
7751
+ _script($scope0_id, "C6");
7748
7752
  writeScope($scope0_id, {
7749
7753
  l: _serialize_if($scope0_reason, 1) && input.open,
7750
7754
  m: _serialize_if($scope0_reason, 0) && input.openChange,
@@ -7767,7 +7771,9 @@ var term_find_default = _template("B", (input) => {
7767
7771
  });
7768
7772
  _resume_branch($scope0_id);
7769
7773
  });
7770
- _template("mb", (input) => {
7774
+ //#endregion
7775
+ //#region src/tags/icons/icon-dpad.marko
7776
+ var icon_dpad_default = _template("Y", (input) => {
7771
7777
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7772
7778
  const $scope0_id = _scope_id();
7773
7779
  _set_serialize_reason({
@@ -7776,13 +7782,15 @@ _template("mb", (input) => {
7776
7782
  });
7777
7783
  const $childScope = _peek_scope_id();
7778
7784
  icon_base_default({
7779
- d: "M8 6L20 6 M4 6.01L4.01 5.99889 M4 12.01L4.01 11.9989 M4 18.01L4.01 17.9989 M8 12L20 12 M8 18L20 18",
7785
+ d: "M15 4L8 20",
7780
7786
  size: input.size,
7781
7787
  class: input.class
7782
7788
  });
7783
7789
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
7784
7790
  });
7785
- _template("X", (input) => {
7791
+ //#endregion
7792
+ //#region src/tags/icons/icon-keyboard.marko
7793
+ var icon_keyboard_default = _template("db", (input) => {
7786
7794
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7787
7795
  const $scope0_id = _scope_id();
7788
7796
  _set_serialize_reason({
@@ -7791,13 +7799,15 @@ _template("X", (input) => {
7791
7799
  });
7792
7800
  const $childScope = _peek_scope_id();
7793
7801
  icon_base_default({
7794
- d: "M15 4L8 20",
7802
+ d: "M7 12L17 12 M7 8L13 8 M3 20.2895V5C3 3.89543 3.89543 3 5 3H19C20.1046 3 21 3.89543 21 5V15C21 16.1046 20.1046 17 19 17H7.96125C7.35368 17 6.77906 17.2762 6.39951 17.7506L4.06852 20.6643C3.71421 21.1072 3 20.8567 3 20.2895Z",
7795
7803
  size: input.size,
7796
7804
  class: input.class
7797
7805
  });
7798
7806
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
7799
7807
  });
7800
- _template("cb", (input) => {
7808
+ //#endregion
7809
+ //#region src/tags/icons/icon-arrow-left.marko
7810
+ var icon_arrow_left_default = _template("K", (input) => {
7801
7811
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7802
7812
  const $scope0_id = _scope_id();
7803
7813
  _set_serialize_reason({
@@ -7806,13 +7816,15 @@ _template("cb", (input) => {
7806
7816
  });
7807
7817
  const $childScope = _peek_scope_id();
7808
7818
  icon_base_default({
7809
- d: "M7 12L17 12 M7 8L13 8 M3 20.2895V5C3 3.89543 3.89543 3 5 3H19C20.1046 3 21 3.89543 21 5V15C21 16.1046 20.1046 17 19 17H7.96125C7.35368 17 6.77906 17.2762 6.39951 17.7506L4.06852 20.6643C3.71421 21.1072 3 20.8567 3 20.2895Z",
7819
+ d: "M21 12L3 12M3 12L11.5 3.5M3 12L11.5 20.5",
7810
7820
  size: input.size,
7811
7821
  class: input.class
7812
7822
  });
7813
7823
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
7814
7824
  });
7815
- _template("J", (input) => {
7825
+ //#endregion
7826
+ //#region src/tags/icons/icon-arrow-right.marko
7827
+ var icon_arrow_right_default = _template("L", (input) => {
7816
7828
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7817
7829
  const $scope0_id = _scope_id();
7818
7830
  _set_serialize_reason({
@@ -7821,13 +7833,15 @@ _template("J", (input) => {
7821
7833
  });
7822
7834
  const $childScope = _peek_scope_id();
7823
7835
  icon_base_default({
7824
- d: "M21 12L3 12M3 12L11.5 3.5M3 12L11.5 20.5",
7836
+ d: "M3 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5",
7825
7837
  size: input.size,
7826
7838
  class: input.class
7827
7839
  });
7828
7840
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
7829
7841
  });
7830
- _template("K", (input) => {
7842
+ //#endregion
7843
+ //#region src/tags/icons/icon-enter.marko
7844
+ var icon_enter_default = _template("$", (input) => {
7831
7845
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7832
7846
  const $scope0_id = _scope_id();
7833
7847
  _set_serialize_reason({
@@ -7836,13 +7850,15 @@ _template("K", (input) => {
7836
7850
  });
7837
7851
  const $childScope = _peek_scope_id();
7838
7852
  icon_base_default({
7839
- d: "M3 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5",
7853
+ d: "M19 6V11C19 12.1046 18.1046 13 17 13H5 M9 9L5 13L9 17",
7840
7854
  size: input.size,
7841
7855
  class: input.class
7842
7856
  });
7843
7857
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
7844
7858
  });
7845
- _template("Z", (input) => {
7859
+ //#endregion
7860
+ //#region src/tags/icons/icon-tab.marko
7861
+ var icon_tab_default = _template("lb", (input) => {
7846
7862
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7847
7863
  const $scope0_id = _scope_id();
7848
7864
  _set_serialize_reason({
@@ -7851,13 +7867,13 @@ _template("Z", (input) => {
7851
7867
  });
7852
7868
  const $childScope = _peek_scope_id();
7853
7869
  icon_base_default({
7854
- d: "M19 6V11C19 12.1046 18.1046 13 17 13H5 M9 9L5 13L9 17",
7870
+ d: "M4 12H16 M12 8L16 12L12 16 M20 7V17",
7855
7871
  size: input.size,
7856
7872
  class: input.class
7857
7873
  });
7858
7874
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
7859
7875
  });
7860
- _template("kb", (input) => {
7876
+ _template("nb", (input) => {
7861
7877
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
7862
7878
  const $scope0_id = _scope_id();
7863
7879
  _set_serialize_reason({
@@ -7866,47 +7882,129 @@ _template("kb", (input) => {
7866
7882
  });
7867
7883
  const $childScope = _peek_scope_id();
7868
7884
  icon_base_default({
7869
- d: "M4 12H16 M12 8L16 12L12 16 M20 7V17",
7885
+ d: "M8 6L20 6 M4 6.01L4.01 5.99889 M4 12.01L4.01 11.9989 M4 18.01L4.01 17.9989 M8 12L20 12 M8 18L20 18",
7870
7886
  size: input.size,
7871
7887
  class: input.class
7872
7888
  });
7873
7889
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
7874
7890
  });
7875
7891
  //#endregion
7876
- //#region src/tags/term.marko
7877
- var REPEAT_DELAY = 400;
7878
- var REPEAT_EVERY = 55;
7879
- var term_default = _template("C", (input) => {
7892
+ //#region src/tags/key-bar.marko
7893
+ var key_bar_default = _template("p", (input) => {
7880
7894
  const $scope0_reason = _scope_reason();
7881
- _serialize_guard($scope0_reason, 5);
7895
+ _serialize_guard($scope0_reason, 2);
7882
7896
  _serialize_guard($scope0_reason, 0);
7883
7897
  _serialize_guard($scope0_reason, 1);
7884
- _serialize_guard($scope0_reason, 10);
7885
- const $si__input_sessions = _serialize_if($scope0_reason, 10);
7886
- _serialize_guard($scope0_reason, 2);
7887
7898
  _serialize_guard($scope0_reason, 4);
7888
- _serialize_guard($scope0_reason, 11);
7899
+ _serialize_guard($scope0_reason, 5);
7900
+ _serialize_guard($scope0_reason, 6);
7889
7901
  _serialize_guard($scope0_reason, 7);
7890
- const $si__input_sessionId = _serialize_if($scope0_reason, 8), $si__input_onRenameSession = _serialize_if($scope0_reason, 11);
7891
- _serialize_guard($scope0_reason, 12);
7892
- const $si__input_agents = _serialize_if($scope0_reason, 12), $si__input_mode = _serialize_if($scope0_reason, 5), $si__input_agent__OR__input_sessionState = _serialize_if($scope0_reason, 1);
7893
- _serialize_guard($scope0_reason, 3);
7894
- _serialize_guard($scope0_reason, 9);
7895
- _serialize_guard($scope0_reason, 13);
7896
- const $si__input_sessionState = _serialize_if($scope0_reason, 6), $si__input_onCloseSession = _serialize_if($scope0_reason, 7), $si__input_workspaceName = _serialize_if($scope0_reason, 13);
7902
+ const $si__input_find = _serialize_if($scope0_reason, 2), $si__input_centre = _serialize_if($scope0_reason, 4), $si__input_workspaceName = _serialize_if($scope0_reason, 5), $si__input_tools = _serialize_if($scope0_reason, 6), $si__input_overlay = _serialize_if($scope0_reason, 7);
7903
+ const $scope0_id = _scope_id();
7904
+ const $input_find__closures = /* @__PURE__ */ new Set();
7905
+ const $input_centre__closures = /* @__PURE__ */ new Set();
7906
+ const $input_workspaceName__closures = /* @__PURE__ */ new Set();
7907
+ const $input_tools__closures = /* @__PURE__ */ new Set();
7908
+ const $input_overlay__closures = /* @__PURE__ */ new Set();
7909
+ _if(() => {}, $scope0_id, "a", 1, 1, 1, 0, 1);
7910
+ _script($scope0_id, "p1");
7911
+ writeScope($scope0_id, {
7912
+ d: input.find,
7913
+ e: input.findOpen,
7914
+ f: input.mode,
7915
+ g: input.onOpenNav,
7916
+ h: input.workspaceId,
7917
+ i: input.centre,
7918
+ j: input.workspaceName,
7919
+ k: input.tools,
7920
+ l: input.overlay,
7921
+ n: $si__input_find && $input_find__closures,
7922
+ r: $si__input_centre && $input_centre__closures,
7923
+ s: $si__input_workspaceName && $input_workspaceName__closures,
7924
+ t: $si__input_tools && $input_tools__closures,
7925
+ u: $si__input_overlay && $input_overlay__closures
7926
+ });
7927
+ _resume_branch($scope0_id);
7928
+ });
7929
+ //#endregion
7930
+ //#region src/tags/term.marko
7931
+ var usageFor;
7932
+ var REPEAT_DELAY = 400;
7933
+ var REPEAT_EVERY = 55;
7934
+ var DPAD = [
7935
+ [
7936
+ { kind: "paste" },
7937
+ {
7938
+ kind: "key",
7939
+ label: "Up",
7940
+ icon: "arrow-up",
7941
+ seq: "\x1B[A"
7942
+ },
7943
+ {
7944
+ kind: "key",
7945
+ label: "Tab",
7946
+ icon: "tab",
7947
+ seq: " "
7948
+ }
7949
+ ],
7950
+ [
7951
+ {
7952
+ kind: "key",
7953
+ label: "Left",
7954
+ icon: "arrow-left",
7955
+ seq: "\x1B[D"
7956
+ },
7957
+ {
7958
+ kind: "key",
7959
+ label: "Enter",
7960
+ icon: "enter",
7961
+ seq: "\r"
7962
+ },
7963
+ {
7964
+ kind: "key",
7965
+ label: "Right",
7966
+ icon: "arrow-right",
7967
+ seq: "\x1B[C"
7968
+ }
7969
+ ],
7970
+ [
7971
+ { kind: "esc" },
7972
+ {
7973
+ kind: "key",
7974
+ label: "Down",
7975
+ icon: "arrow-down",
7976
+ seq: "\x1B[B"
7977
+ },
7978
+ {
7979
+ kind: "key",
7980
+ label: "^C",
7981
+ icon: "",
7982
+ seq: ""
7983
+ }
7984
+ ]
7985
+ ];
7986
+ var term_default = _template("D", (input) => {
7987
+ const $scope0_reason = _scope_reason(), $sg__input_mode = _serialize_guard($scope0_reason, 4), $si__input_mode = _serialize_if($scope0_reason, 4), $sg__input_agent__OR__input_sessionState = _serialize_guard($scope0_reason, 1), $sg__input_sessions = _serialize_guard($scope0_reason, 10), $si__input_sessions = _serialize_if($scope0_reason, 10), $sg__input_sessionId__OR__input_sessions = _serialize_guard($scope0_reason, 2), $sg__input_onCloseSession__OR__input_sessionId__OR__input_sessions__OR__input_onRenameSession = _serialize_guard($scope0_reason, 3), $sg__input_onRenameSession = _serialize_guard($scope0_reason, 11), $sg__input_onCloseSession = _serialize_guard($scope0_reason, 6), $si__input_sessionId = _serialize_if($scope0_reason, 7), $si__input_onRenameSession = _serialize_if($scope0_reason, 11), $sg__input_agents = _serialize_guard($scope0_reason, 12), $si__input_agents = _serialize_if($scope0_reason, 12), $si__input_agent__OR__input_sessionState = _serialize_if($scope0_reason, 1), $sg__input_onNewSession = _serialize_guard($scope0_reason, 9), $sg__input_workspaceName = _serialize_guard($scope0_reason, 8), $si__input_sessionState = _serialize_if($scope0_reason, 5), $si__input_onCloseSession = _serialize_if($scope0_reason, 6), $si__input_onNewSession = _serialize_if($scope0_reason, 9);
7897
7988
  const $scope0_id = _scope_id();
7898
- _hoist($scope0_id, "C21");
7989
+ _hoist($scope0_id, "D22");
7990
+ const $dpadId_getter = _hoist($scope0_id, "D23");
7991
+ const $tools_content__subscribers = /* @__PURE__ */ new Set();
7992
+ const $overlay_content__subscribers = /* @__PURE__ */ new Set();
7899
7993
  const $findOpen__closures = /* @__PURE__ */ new Set();
7900
7994
  const $findTick__closures = /* @__PURE__ */ new Set();
7995
+ const $onTermPage__closures = /* @__PURE__ */ new Set();
7901
7996
  const $input_onCloseSession__closures = /* @__PURE__ */ new Set();
7902
7997
  const $input_sessionId__closures = /* @__PURE__ */ new Set();
7903
7998
  const $input_onRenameSession__closures = /* @__PURE__ */ new Set();
7904
7999
  const $input_sessions__closures = /* @__PURE__ */ new Set();
7905
8000
  const $input_sessionState__closures = /* @__PURE__ */ new Set();
7906
8001
  const $input_agents__closures = /* @__PURE__ */ new Set();
7907
- const $onTermPage__closures = /* @__PURE__ */ new Set();
7908
8002
  const $thisAgent__closures = /* @__PURE__ */ new Set();
7909
- const $input_workspaceName__closures = /* @__PURE__ */ new Set();
8003
+ const $input_onNewSession__closures = /* @__PURE__ */ new Set();
8004
+ const $input_mode__closures = /* @__PURE__ */ new Set();
8005
+ const $kb__closures = /* @__PURE__ */ new Set();
8006
+ const $canKeys__closures = /* @__PURE__ */ new Set();
8007
+ const $findLit__closures = /* @__PURE__ */ new Set();
7910
8008
  let dead = false;
7911
8009
  let deadReason = "exited";
7912
8010
  let kb = false;
@@ -7917,7 +8015,7 @@ var term_default = _template("C", (input) => {
7917
8015
  let findOpen = false;
7918
8016
  const $openChange = _resume((_new_findOpen) => {
7919
8017
  findOpen = _new_findOpen;
7920
- }, "C1", $scope0_id);
8018
+ }, "D1", $scope0_id);
7921
8019
  let findTick = 0;
7922
8020
  const ioBox = { current: null };
7923
8021
  const searchBox = {
@@ -7925,7 +8023,7 @@ var term_default = _template("C", (input) => {
7925
8023
  query: "",
7926
8024
  refreshTimer: 0
7927
8025
  };
7928
- const findFocusRef = { focus: _resume(function() {}, "C2") };
8026
+ const findFocusRef = { focus: _resume(function() {}, "D2") };
7929
8027
  const scheduleFindRefresh = _resume(() => {
7930
8028
  if (!searchBox.query.trim() || !searchBox.overlay) return;
7931
8029
  if (searchBox.refreshTimer) clearTimeout(searchBox.refreshTimer);
@@ -7933,7 +8031,7 @@ var term_default = _template("C", (input) => {
7933
8031
  searchBox.refreshTimer = 0;
7934
8032
  searchBox.overlay?.refresh();
7935
8033
  }, 32);
7936
- }, "C3", $scope0_id);
8034
+ }, "D3", $scope0_id);
7937
8035
  const runFind = _resume((query, dir) => {
7938
8036
  const overlay = searchBox.overlay;
7939
8037
  if (!overlay) return;
@@ -7947,7 +8045,7 @@ var term_default = _template("C", (input) => {
7947
8045
  return;
7948
8046
  }
7949
8047
  overlay.search(query, dir);
7950
- }, "C4", $scope0_id);
8048
+ }, "D4", $scope0_id);
7951
8049
  const clearFind = _resume(() => {
7952
8050
  if (searchBox.refreshTimer) {
7953
8051
  clearTimeout(searchBox.refreshTimer);
@@ -7955,7 +8053,7 @@ var term_default = _template("C", (input) => {
7955
8053
  }
7956
8054
  searchBox.query = "";
7957
8055
  searchBox.overlay?.clear();
7958
- }, "C5", $scope0_id);
8056
+ }, "D5", $scope0_id);
7959
8057
  const openFind = _resume(() => {
7960
8058
  if (kb) {
7961
8059
  kb = false;
@@ -7965,7 +8063,7 @@ var term_default = _template("C", (input) => {
7965
8063
  findOpen = true;
7966
8064
  findTick++;
7967
8065
  findFocusRef.focus();
7968
- }, "C6", $scope0_id);
8066
+ }, "D6", $scope0_id);
7969
8067
  const toggleFind = _resume(() => {
7970
8068
  if (findOpen) {
7971
8069
  findOpen = false;
@@ -7974,7 +8072,7 @@ var term_default = _template("C", (input) => {
7974
8072
  return;
7975
8073
  }
7976
8074
  openFind();
7977
- }, "C7", $scope0_id);
8075
+ }, "D7", $scope0_id);
7978
8076
  const onTermPage = input.mode == null || input.mode === "term";
7979
8077
  const canKeys = onTermPage || input.mode === "diff";
7980
8078
  const findLit = onTermPage ? findOpen : input.mode === "diff" && !!input.reviewFindOpen;
@@ -7985,7 +8083,7 @@ var term_default = _template("C", (input) => {
7985
8083
  return;
7986
8084
  }
7987
8085
  if (input.mode === "diff") input.onToggleReviewFind?.();
7988
- }, "C8", $scope0_id);
8086
+ }, "D8", $scope0_id);
7989
8087
  const thisAgent = activeAgent({
7990
8088
  agent: input.agent || "shell",
7991
8089
  state: input.sessionState
@@ -7997,7 +8095,7 @@ var term_default = _template("C", (input) => {
7997
8095
  copyFlashBox.timer = setTimeout(() => {
7998
8096
  copiedFlash = false;
7999
8097
  }, 1200);
8000
- }, "C9", $scope0_id);
8098
+ }, "D9", $scope0_id);
8001
8099
  const holdBox = { current: null };
8002
8100
  const startHold = _resume((seq) => {
8003
8101
  ((stopHold) => stopHold())(_hoist_read_error);
@@ -8007,7 +8105,7 @@ var term_default = _template("C", (input) => {
8007
8105
  state.repeat = setInterval(() => ioBox.current?.send(seq), REPEAT_EVERY);
8008
8106
  }, REPEAT_DELAY);
8009
8107
  holdBox.current = state;
8010
- }, "C10", $scope0_id);
8108
+ }, "D10", $scope0_id);
8011
8109
  const stopHold = _resume(() => {
8012
8110
  const hold = holdBox.current;
8013
8111
  if (hold) {
@@ -8015,7 +8113,7 @@ var term_default = _template("C", (input) => {
8015
8113
  clearInterval(hold.repeat);
8016
8114
  holdBox.current = null;
8017
8115
  }
8018
- }, "C11", $scope0_id);
8116
+ }, "D11", $scope0_id);
8019
8117
  const uploadAsset = _resume(async (file) => {
8020
8118
  if (!file) return;
8021
8119
  uploading = true;
@@ -8028,7 +8126,7 @@ var term_default = _template("C", (input) => {
8028
8126
  } finally {
8029
8127
  uploading = false;
8030
8128
  }
8031
- }, "C12", $scope0_id);
8129
+ }, "D12", $scope0_id);
8032
8130
  const handlePasted = _resume(async (clipboardData) => {
8033
8131
  const files = [...clipboardData?.files || []];
8034
8132
  for (const file of files) await uploadAsset(file);
@@ -8037,7 +8135,7 @@ var term_default = _template("C", (input) => {
8037
8135
  if (text) ioBox.current?.send(text);
8038
8136
  }
8039
8137
  trapOpen = false;
8040
- }, "C13", $scope0_id);
8138
+ }, "D13", $scope0_id);
8041
8139
  const pasteClipboard = _resume(async () => {
8042
8140
  if (!navigator.clipboard?.read) {
8043
8141
  trapOpen = true;
@@ -8057,8 +8155,8 @@ var term_default = _template("C", (input) => {
8057
8155
  } catch {
8058
8156
  trapOpen = true;
8059
8157
  }
8060
- }, "C14", $scope0_id);
8061
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_ej")}><div${_attr_class("_ek")}></div>${_el_resume($scope0_id, "b")}`);
8158
+ }, "D14", $scope0_id);
8159
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_es")}><div${_attr_class("_et")}></div>${_el_resume($scope0_id, "b")}`);
8062
8160
  _if(() => {
8063
8161
  if (findOpen) {
8064
8162
  const $scope12_id = _scope_id();
@@ -8072,11 +8170,11 @@ var term_default = _template("C", (input) => {
8072
8170
  focusRef: findFocusRef,
8073
8171
  onSearch: _resume(function(q, dir) {
8074
8172
  runFind(q, dir);
8075
- }, "C15", $scope12_id),
8173
+ }, "D15", $scope12_id),
8076
8174
  onClear: _resume(function() {
8077
8175
  clearFind();
8078
8176
  ioBox.current?.setFindMode(false);
8079
- }, "C16", $scope12_id)
8177
+ }, "D16", $scope12_id)
8080
8178
  });
8081
8179
  writeScope($scope12_id, { a: _existing_scope($childScope) });
8082
8180
  return 0;
@@ -8084,17 +8182,17 @@ var term_default = _template("C", (input) => {
8084
8182
  }, $scope0_id, "c", 1, 1, 1, 0, 1);
8085
8183
  _if(() => {
8086
8184
  if (uploading) {
8087
- const $scope19_id = _scope_id();
8088
- _html(`<div${_attr_class("_eq")}>uploading…</div>`);
8089
- writeScope($scope19_id, {});
8185
+ const $scope21_id = _scope_id();
8186
+ _html(`<div${_attr_class("_ez")}>uploading…</div>`);
8187
+ writeScope($scope21_id, {});
8090
8188
  return 0;
8091
8189
  }
8092
8190
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
8093
8191
  _if(() => {
8094
8192
  if (copiedFlash) {
8095
- const $scope20_id = _scope_id();
8096
- _html(`<div${_attr_class("_ep")}>Copied</div>`);
8097
- writeScope($scope20_id, {});
8193
+ const $scope22_id = _scope_id();
8194
+ _html(`<div${_attr_class("_ey")}>Copied</div>`);
8195
+ writeScope($scope22_id, {});
8098
8196
  return 0;
8099
8197
  }
8100
8198
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
@@ -8102,18 +8200,352 @@ var term_default = _template("C", (input) => {
8102
8200
  _if(() => {
8103
8201
  if (trapOpen) {
8104
8202
  const $scope11_id = _scope_id();
8105
- _html(`<div${_attr_class("_er")}><div${_attr_class("_es")}><p${_attr_class("_eW")}>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")}`);
8106
- _script($scope11_id, "C25");
8107
- _script($scope11_id, "C26");
8203
+ _html(`<div${_attr_class("_eA")}><div${_attr_class("_eB")}><p${_attr_class("_eW")}>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")}`);
8204
+ _script($scope11_id, "D26");
8205
+ _script($scope11_id, "D27");
8108
8206
  writeScope($scope11_id, {});
8109
8207
  return 0;
8110
8208
  }
8111
8209
  }, $scope0_id, "g", 1, 1, 1, 0, 1);
8112
8210
  _html(`</div>${_el_resume($scope0_id, "a")}`);
8113
- _if(() => {}, $scope0_id, "h", 1, 1, 1, 0, 1);
8114
- _script($scope0_id, "C41");
8115
- _script($scope0_id, "C42");
8116
- _script($scope0_id, "C43");
8211
+ _set_serialize_reason({
8212
+ 0: _serialize_guard($scope0_reason, 0),
8213
+ 1: $sg__input_workspaceName,
8214
+ 3: 1,
8215
+ 5: $sg__input_workspaceName
8216
+ });
8217
+ const $childScope8 = _peek_scope_id();
8218
+ key_bar_default({
8219
+ workspaceId: input.workspaceId,
8220
+ mode: input.mode,
8221
+ workspaceName: input.workspaceName,
8222
+ findOpen: findOpen || !!input.reviewFindOpen && input.mode === "diff",
8223
+ onOpenNav: _resume(function() {
8224
+ input.onOpenNav?.();
8225
+ }, "D17", $scope0_id),
8226
+ find: attrTag({ content: _content_resume("D43", () => {
8227
+ _scope_reason();
8228
+ const $scope13_id = _scope_id();
8229
+ _if(() => {
8230
+ if (onTermPage) {
8231
+ const $scope14_id = _scope_id();
8232
+ _set_serialize_reason(2);
8233
+ const $childScope2 = _peek_scope_id();
8234
+ term_find_default({
8235
+ tick: findTick,
8236
+ open: findOpen,
8237
+ openChange: $openChange,
8238
+ placement: "keybar",
8239
+ focusRef: findFocusRef,
8240
+ onSearch: _resume(function(q, dir) {
8241
+ runFind(q, dir);
8242
+ }, "D18", $scope14_id),
8243
+ onClear: _resume(function() {
8244
+ clearFind();
8245
+ ioBox.current?.setFindMode(false);
8246
+ }, "D19", $scope14_id)
8247
+ });
8248
+ _subscribe($findTick__closures, _subscribe($findOpen__closures, writeScope($scope14_id, {
8249
+ _: _scope_with_id($scope13_id),
8250
+ a: _existing_scope($childScope2)
8251
+ })));
8252
+ return 0;
8253
+ }
8254
+ }, $scope13_id, "a", $sg__input_mode, $sg__input_mode, $sg__input_mode, 0, 1);
8255
+ _subscribe($si__input_mode && $onTermPage__closures, writeScope($scope13_id, {
8256
+ _: _scope_with_id($scope0_id),
8257
+ Cbx: $si__input_mode && 1
8258
+ }));
8259
+ _resume_branch($scope13_id);
8260
+ }, $scope0_id) }),
8261
+ centre: attrTag({ content: _content_resume("D44", () => {
8262
+ _scope_reason();
8263
+ const $scope3_id = _scope_id();
8264
+ _if(() => {
8265
+ if (input.onNewSession) {
8266
+ const $scope4_id = _scope_id();
8267
+ const $if_content3__usage__closures = /* @__PURE__ */ new Set();
8268
+ const $if_content3__armedClose__closures = /* @__PURE__ */ new Set();
8269
+ let armedClose = null;
8270
+ const sessPopId = _id();
8271
+ let usage = null;
8272
+ const placePop = _resume((popEl) => {
8273
+ const btn = ((sessBtnEl) => sessBtnEl())(_el_read_error).getBoundingClientRect();
8274
+ popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
8275
+ popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
8276
+ }, "D20", $scope4_id);
8277
+ _html(`<button${_attr_class([kbtn, "_eC"])} title=${onTermPage ? "Sessions" : "\"Back to session\""}${onTermPage ? _attr("popovertarget", sessPopId) : ""}>`);
8278
+ _set_serialize_reason({
8279
+ 1: $sg__input_agent__OR__input_sessionState,
8280
+ 2: $sg__input_agent__OR__input_sessionState
8281
+ });
8282
+ const $childScope3 = _peek_scope_id();
8283
+ icon_agent_default({
8284
+ agent: thisAgent,
8285
+ size: 16
8286
+ });
8287
+ _html(`<span${_attr_class([
8288
+ "_y",
8289
+ "_eD",
8290
+ phase[sessionPhase(input.sessionState)]
8291
+ ])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["_4", "_eE"])}>`);
8292
+ _if(() => {
8293
+ if ((input.sessions || []).length > 0) {
8294
+ const $scope5_id = _scope_id();
8295
+ const $if_content4__renameValue__closures = /* @__PURE__ */ new Set();
8296
+ let renamingId = null;
8297
+ let renameValue = "";
8298
+ const commitRename = _resume((id) => {
8299
+ if (renamingId !== id) return;
8300
+ renamingId = null;
8301
+ input.onRenameSession?.(id, renameValue.trim());
8302
+ }, "D21", $scope5_id);
8303
+ _for_of(input.sessions || [], (s) => {
8304
+ const $scope6_id = _scope_id();
8305
+ const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
8306
+ const $for_content__s_id__closures = /* @__PURE__ */ new Set();
8307
+ _html(`<div${_attr_class(["_eG", { ["_eF"]: s.id === input.sessionId }])}>`);
8308
+ _if(() => {
8309
+ if (renamingId === s.id) {
8310
+ const $scope24_id = _scope_id();
8311
+ _html(`<span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope24_id, "a", $sg__input_sessions)}`);
8312
+ _set_serialize_reason({
8313
+ 1: $sg__input_sessions,
8314
+ 2: $sg__input_sessions
8315
+ });
8316
+ const $childScope4 = _peek_scope_id();
8317
+ icon_agent_default({
8318
+ agent: activeAgent(s),
8319
+ size: 14
8320
+ });
8321
+ _html(`<input${_attr_input_value($scope24_id, "c", renameValue, _resume((_new_renameValue) => {
8322
+ renameValue = _new_renameValue;
8323
+ }, "D0", $scope24_id))}${_attr_class(["_T", "_eL"])} aria-label="Session name">${_el_resume($scope24_id, "c")}`);
8324
+ _script($scope24_id, "D28");
8325
+ _subscribe($if_content4__renameValue__closures, writeScope($scope24_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
8326
+ return 0;
8327
+ } else {
8328
+ const $scope7_id = _scope_id();
8329
+ _html(`<button${_attr_class("_eH")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope7_id, "b", $sg__input_sessions)}`);
8330
+ _set_serialize_reason({
8331
+ 1: $sg__input_sessions,
8332
+ 2: $sg__input_sessions
8333
+ });
8334
+ const $childScope5 = _peek_scope_id();
8335
+ icon_agent_default({
8336
+ agent: activeAgent(s),
8337
+ size: 14
8338
+ });
8339
+ _html(`<span${_attr_class("_eI")}><span${_attr_class("_eK")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope7_id, "f", $sg__input_sessions)}</span>`);
8340
+ _if(() => {
8341
+ if (s.id === input.sessionId) {
8342
+ const $scope23_id = _scope_id();
8343
+ const plan = usageFor(s.agent, usage);
8344
+ _if(() => {
8345
+ if (plan) {
8346
+ const $scope26_id = _scope_id();
8347
+ _set_serialize_reason(1);
8348
+ const $childScope6 = _peek_scope_id();
8349
+ usage_pcts_default({
8350
+ agent: plan,
8351
+ class: "_eJ"
8352
+ });
8353
+ writeScope($scope26_id, { a: _existing_scope($childScope6) });
8354
+ return 0;
8355
+ }
8356
+ }, $scope23_id, "a");
8357
+ _subscribe($si__input_sessions && $for_content__s_agent__closures, _subscribe($if_content3__usage__closures, writeScope($scope23_id, {
8358
+ c: plan,
8359
+ _: _scope_with_id($scope7_id)
8360
+ })));
8361
+ return 0;
8362
+ }
8363
+ }, $scope7_id, "g", $sg__input_sessionId__OR__input_sessions, $sg__input_sessionId__OR__input_sessions, $sg__input_onCloseSession__OR__input_sessionId__OR__input_sessions__OR__input_onRenameSession);
8364
+ _html(`</span></button>${_el_resume($scope7_id, "a")}`);
8365
+ _if(() => {
8366
+ if (input.onRenameSession) {
8367
+ const $scope25_id = _scope_id();
8368
+ _html(`<button${_attr_class(["_eM", "_eN"])} title="Rename session">`);
8369
+ icon_edit_default({ size: 12 });
8370
+ _html(`</button>${_el_resume($scope25_id, "a")}`);
8371
+ _script($scope25_id, "D29");
8372
+ writeScope($scope25_id, { _: _scope_with_id($scope7_id) });
8373
+ return 0;
8374
+ }
8375
+ }, $scope7_id, "h", $sg__input_onRenameSession, $sg__input_onRenameSession, $sg__input_onCloseSession__OR__input_sessionId__OR__input_sessions__OR__input_onRenameSession, 0, 1);
8376
+ _if(() => {
8377
+ if (input.onCloseSession) {
8378
+ const $scope8_id = _scope_id();
8379
+ _html(`<button${_attr_class([
8380
+ "_eM",
8381
+ "_2",
8382
+ { ["_q"]: armedClose === s.id }
8383
+ ])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
8384
+ icon_xmark_default({ size: 12 });
8385
+ _html(`</button>${_el_resume($scope8_id, "a")}`);
8386
+ _script($scope8_id, "D30");
8387
+ _subscribe($si__input_sessions && $for_content__s_id__closures, _subscribe($if_content3__armedClose__closures, writeScope($scope8_id, { _: _scope_with_id($scope7_id) })));
8388
+ return 0;
8389
+ }
8390
+ }, $scope7_id, "i", $sg__input_onCloseSession, $sg__input_onCloseSession, $sg__input_onCloseSession__OR__input_sessionId__OR__input_sessions__OR__input_onRenameSession, 0, 1);
8391
+ _script($scope7_id, "D31");
8392
+ _subscribe($si__input_onRenameSession && $input_onRenameSession__closures, _subscribe($si__input_sessionId && $input_sessionId__closures, _subscribe($si__input_onCloseSession && $input_onCloseSession__closures, writeScope($scope7_id, {
8393
+ c: $si__input_sessions && _existing_scope($childScope5),
8394
+ Cbi: $si__input_sessionId && 1,
8395
+ Cbl: $si__input_onRenameSession && 1
8396
+ }))));
8397
+ return 1;
8398
+ }
8399
+ }, $scope6_id, "a", 1, 1, 1, "</div>");
8400
+ _subscribe($si__input_sessionId && $input_sessionId__closures, writeScope($scope6_id, {
8401
+ c: s,
8402
+ d: s?.id,
8403
+ g: s?.state,
8404
+ h: s?.title,
8405
+ i: s?.agent,
8406
+ _: _scope_with_id($scope5_id),
8407
+ m: $si__input_sessions && $for_content__s_agent__closures,
8408
+ k: $si__input_sessions && $for_content__s_id__closures
8409
+ }));
8410
+ }, "id", $scope5_id, "a", 1, $sg__input_sessions, $sg__input_sessions, 0, 1);
8411
+ _subscribe($si__input_onRenameSession && $input_onRenameSession__closures, _subscribe($si__input_sessions && $input_sessions__closures, writeScope($scope5_id, {
8412
+ b: renamingId,
8413
+ c: renameValue,
8414
+ e: commitRename,
8415
+ _: _scope_with_id($scope4_id),
8416
+ g: $if_content4__renameValue__closures,
8417
+ Cbk: $si__input_sessions && 1
8418
+ })));
8419
+ return 0;
8420
+ }
8421
+ }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions);
8422
+ _html(`<div${_attr_class("_eO")}><span${_attr_class("_eP")}>New session</span>`);
8423
+ _for_of([...input.agents || [], "shell"], (agent) => {
8424
+ const $scope9_id = _scope_id();
8425
+ _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
8426
+ _set_serialize_reason({
8427
+ 1: $sg__input_agents,
8428
+ 2: $sg__input_agents
8429
+ });
8430
+ const $childScope7 = _peek_scope_id();
8431
+ icon_agent_default({
8432
+ agent,
8433
+ size: 15
8434
+ });
8435
+ _html(`</button>${_el_resume($scope9_id, "a")}`);
8436
+ _script($scope9_id, "D32");
8437
+ writeScope($scope9_id, {
8438
+ d: agent,
8439
+ _: _scope_with_id($scope4_id),
8440
+ b: $si__input_agents && _existing_scope($childScope7)
8441
+ });
8442
+ }, (a) => a, $scope4_id, "h", $sg__input_agents, $sg__input_agents, $sg__input_agents, 0, 1);
8443
+ _html(`</div></div>${_el_resume($scope4_id, "d")}`);
8444
+ _script($scope4_id, "D33");
8445
+ _script($scope4_id, "D34");
8446
+ _subscribe($si__input_agent__OR__input_sessionState && $thisAgent__closures, _subscribe($si__input_mode && $onTermPage__closures, _subscribe($si__input_agents && $input_agents__closures, _subscribe($si__input_sessions && $input_sessions__closures, _subscribe($si__input_sessionState && $input_sessionState__closures, writeScope($scope4_id, {
8447
+ i: armedClose,
8448
+ j: $si__input_mode && sessPopId,
8449
+ l: usage,
8450
+ m: placePop,
8451
+ _: _scope_with_id($scope3_id),
8452
+ b: $si__input_agent__OR__input_sessionState && _existing_scope($childScope3),
8453
+ o: $if_content3__usage__closures,
8454
+ n: $if_content3__armedClose__closures
8455
+ }))))));
8456
+ return 0;
8457
+ }
8458
+ }, $scope3_id, "a", $sg__input_onNewSession, $sg__input_onNewSession, $sg__input_onNewSession);
8459
+ _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope3_id, { _: _scope_with_id($scope0_id) }));
8460
+ _resume_branch($scope3_id);
8461
+ }, $scope0_id) }),
8462
+ tools: attrTag({ content: _content_resume("D45", () => {
8463
+ _scope_reason();
8464
+ const $scope10_id = _scope_id();
8465
+ const dpadId = _id();
8466
+ const dpadOpenBox = { open: false };
8467
+ _html(`<button${_attr_class(kbtn)} title=${canKeys ? "\"More keys\"" : "\"Keys unavailable on this page\""} aria-haspopup=dialog${_attr("aria-controls", dpadId)}${_attr("disabled", !canKeys)}>`);
8468
+ icon_dpad_default({ size: 16 });
8469
+ _html(`</button>${_el_resume($scope10_id, "a")}<button${_attr_class([kbtn, { ["_dU"]: findLit }])}${findLit ? " title=\"Close find\"" : canKeys ? ` title=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " title=\"Find unavailable on this page\""}${findLit ? " aria-label=\"Close find\"" : canKeys ? ` aria-label=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " aria-label=\"Find unavailable on this page\""} aria-pressed=${findLit ? "true" : "false"}${_attr("disabled", !canKeys)}>`);
8470
+ icon_search_default({ size: 16 });
8471
+ _html(`</button>${_el_resume($scope10_id, "c")}<button${_attr_class([kbtn, { ["_dU"]: kb }])}${canKeys ? ` title=${kb ? "\"Hide keyboard\"" : "\"Show keyboard\""}` : " title=\"Keyboard unavailable on this page\""}${_attr("disabled", !canKeys)}>`);
8472
+ icon_keyboard_default({ size: 16 });
8473
+ _html(`</button>${_el_resume($scope10_id, "e")}`);
8474
+ _script($scope10_id, "D35");
8475
+ _script($scope10_id, "D36");
8476
+ _script($scope10_id, "D37");
8477
+ _subscribe($findLit__closures, _subscribe($si__input_mode && $canKeys__closures, _subscribe($kb__closures, _subscribe($si__input_mode && $input_mode__closures, _subscribe($tools_content__subscribers, writeScope($scope10_id, {
8478
+ i: dpadId,
8479
+ k: dpadOpenBox.open,
8480
+ _: _scope_with_id($scope0_id)
8481
+ }))))));
8482
+ _resume_branch($scope10_id);
8483
+ }, $scope0_id) }),
8484
+ overlay: attrTag({ content: _content_resume("D46", () => {
8485
+ _scope_reason();
8486
+ const $scope15_id = _scope_id();
8487
+ _html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("_eQ")}>`);
8488
+ forOf(DPAD, (row) => {
8489
+ const $scope16_id = _scope_id();
8490
+ forOf(row, (cell) => {
8491
+ const $scope17_id = _scope_id();
8492
+ if (cell.kind === "paste") {
8493
+ const $scope20_id = _scope_id();
8494
+ _html(`<button${_attr_class(dpadPaste)} title=Paste>`);
8495
+ icon_clipboard_default({ size: 16 });
8496
+ _html(`</button>${_el_resume($scope20_id, "a")}`);
8497
+ _script($scope20_id, "D38");
8498
+ writeScope($scope20_id, { _: _scope_with_id($scope17_id) });
8499
+ } else if (cell.kind === "esc") {
8500
+ const $scope18_id = _scope_id();
8501
+ _html(`<button${_attr_class(dpadEsc)} title=Escape>esc</button>${_el_resume($scope18_id, "a")}`);
8502
+ _script($scope18_id, "D39");
8503
+ _script($scope18_id, "D40");
8504
+ writeScope($scope18_id, { _: _scope_with_id($scope17_id) });
8505
+ } else {
8506
+ const $scope19_id = _scope_id();
8507
+ _html(`<button${_attr_class([repeat, { ["_eU"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
8508
+ if (cell.icon === "arrow-up") {
8509
+ _scope_id();
8510
+ icon_arrow_up_default({ size: 18 });
8511
+ } else if (cell.icon === "arrow-down") {
8512
+ _scope_id();
8513
+ icon_arrow_down_default({ size: 18 });
8514
+ } else if (cell.icon === "arrow-left") {
8515
+ _scope_id();
8516
+ icon_arrow_left_default({ size: 18 });
8517
+ } else if (cell.icon === "arrow-right") {
8518
+ _scope_id();
8519
+ icon_arrow_right_default({ size: 18 });
8520
+ } else if (cell.icon === "enter") {
8521
+ _scope_id();
8522
+ icon_enter_default({ size: 18 });
8523
+ } else if (cell.icon === "tab") {
8524
+ _scope_id();
8525
+ icon_tab_default({ size: 18 });
8526
+ } else {
8527
+ _scope_id();
8528
+ _html(_escape(cell.label));
8529
+ }
8530
+ _html(`</button>${_el_resume($scope19_id, "a")}`);
8531
+ _script($scope19_id, "D41");
8532
+ writeScope($scope19_id, { _: _scope_with_id($scope17_id) });
8533
+ }
8534
+ writeScope($scope17_id, {
8535
+ g: cell?.seq,
8536
+ _: _scope_with_id($scope16_id)
8537
+ });
8538
+ });
8539
+ writeScope($scope16_id, { _: _scope_with_id($scope15_id) });
8540
+ });
8541
+ _html(`</div>${_el_resume($scope15_id, "a")}`);
8542
+ _script($scope15_id, "D42");
8543
+ _subscribe($overlay_content__subscribers, writeScope($scope15_id, { _: _scope_with_id($scope0_id) }));
8544
+ }, $scope0_id) })
8545
+ });
8546
+ _script($scope0_id, "D47");
8547
+ _script($scope0_id, "D48");
8548
+ _script($scope0_id, "D49");
8117
8549
  writeScope($scope0_id, {
8118
8550
  k: input.mode,
8119
8551
  l: input.reviewFindOpen,
@@ -8123,13 +8555,12 @@ var term_default = _template("C", (input) => {
8123
8555
  q: input.workspaceId,
8124
8556
  r: input.onCloseSession,
8125
8557
  s: input.sessionId,
8126
- t: input.onOpenNav,
8127
- u: input.onNewSession,
8128
- v: input.onOpenTab,
8129
- w: input.sessions,
8130
- x: input.onRenameSession,
8131
- y: input.agents,
8132
- z: input.workspaceName,
8558
+ u: input.onOpenNav,
8559
+ v: input.onNewSession,
8560
+ w: input.onOpenTab,
8561
+ x: input.sessions,
8562
+ y: input.onRenameSession,
8563
+ z: input.agents,
8133
8564
  a0: input.active,
8134
8565
  a1: input.parked,
8135
8566
  a2: dead,
@@ -8138,42 +8569,49 @@ var term_default = _template("C", (input) => {
8138
8569
  a5: touch,
8139
8570
  a8: trapOpen,
8140
8571
  a9: findOpen,
8141
- ab: $openChange,
8142
- ac: findTick,
8143
- ae: ioBox.current,
8144
- ah: searchBox.query,
8145
- ai: searchBox.overlay,
8146
- aj: searchBox.refreshTimer,
8147
- al: findFocusRef,
8148
- an: scheduleFindRefresh,
8149
- ao: runFind,
8150
- ap: clearFind,
8151
- aq: openFind,
8152
- as: toggleFind,
8153
- at: onTermPage,
8154
- aw: canKeys,
8155
- ay: findLit,
8156
- az: toggleSharedFind,
8157
- b0: thisAgent,
8158
- b2: copyFlashBox.timer,
8159
- b3: flashCopied,
8160
- b5: holdBox.current,
8161
- b7: startHold,
8162
- b8: stopHold,
8163
- b9: uploadAsset,
8164
- bc: handlePasted,
8165
- bd: pasteClipboard,
8166
- bs: $findOpen__closures,
8167
- bu: $findTick__closures,
8168
- bi: $si__input_onCloseSession && $input_onCloseSession__closures,
8169
- bj: $si__input_sessionId && $input_sessionId__closures,
8170
- bm: $si__input_onRenameSession && $input_onRenameSession__closures,
8171
- bl: $si__input_sessions && $input_sessions__closures,
8572
+ ac: $openChange,
8573
+ ad: findTick,
8574
+ af: ioBox.current,
8575
+ ai: searchBox.query,
8576
+ aj: searchBox.overlay,
8577
+ ak: searchBox.refreshTimer,
8578
+ am: findFocusRef,
8579
+ ao: scheduleFindRefresh,
8580
+ ap: runFind,
8581
+ aq: clearFind,
8582
+ ar: openFind,
8583
+ at: toggleFind,
8584
+ au: onTermPage,
8585
+ ax: canKeys,
8586
+ az: findLit,
8587
+ b0: toggleSharedFind,
8588
+ b1: thisAgent,
8589
+ b3: copyFlashBox.timer,
8590
+ b4: flashCopied,
8591
+ b6: holdBox.current,
8592
+ b8: startHold,
8593
+ b9: stopHold,
8594
+ ba: uploadAsset,
8595
+ bd: handlePasted,
8596
+ be: pasteClipboard,
8597
+ B10: $tools_content__subscribers,
8598
+ B15: $overlay_content__subscribers,
8599
+ bq: $findOpen__closures,
8600
+ bs: $findTick__closures,
8601
+ bx: $si__input_mode && $onTermPage__closures,
8602
+ bh: $si__input_onCloseSession && $input_onCloseSession__closures,
8603
+ bi: $si__input_sessionId && $input_sessionId__closures,
8604
+ bl: $si__input_onRenameSession && $input_onRenameSession__closures,
8605
+ bk: $si__input_sessions && $input_sessions__closures,
8172
8606
  bg: $si__input_sessionState && $input_sessionState__closures,
8173
- bn: $si__input_agents && $input_agents__closures,
8174
- bz: $si__input_mode && $onTermPage__closures,
8175
- c2: $si__input_agent__OR__input_sessionState && $thisAgent__closures,
8176
- bo: $si__input_workspaceName && $input_workspaceName__closures
8607
+ bm: $si__input_agents && $input_agents__closures,
8608
+ c0: $si__input_agent__OR__input_sessionState && $thisAgent__closures,
8609
+ bj: $si__input_onNewSession && $input_onNewSession__closures,
8610
+ bf: $si__input_mode && $input_mode__closures,
8611
+ bo: $kb__closures,
8612
+ by: $si__input_mode && $canKeys__closures,
8613
+ bz: $findLit__closures,
8614
+ h: _existing_scope($childScope8)
8177
8615
  });
8178
8616
  _resume_branch($scope0_id);
8179
8617
  });
@@ -8181,7 +8619,7 @@ var term_default = _template("C", (input) => {
8181
8619
  //#region src/tags/work-view.marko
8182
8620
  var api$1;
8183
8621
  var isTransientApiError$1;
8184
- var work_view_default = _template("G", (input) => {
8622
+ var work_view_default = _template("H", (input) => {
8185
8623
  const $scope0_reason = _scope_reason(), $sg__input_workspace = _serialize_guard($scope0_reason, 6), $sg__input_agents = _serialize_guard($scope0_reason, 15), $sg__input_allWorkspaces = _serialize_guard($scope0_reason, 14), $si__input_workspace = _serialize_if($scope0_reason, 6), $si__input_active = _serialize_if($scope0_reason, 8), $si__input_agents = _serialize_if($scope0_reason, 15), $si__input_preferred = _serialize_if($scope0_reason, 9);
8186
8624
  const $scope0_id = _scope_id();
8187
8625
  const $error__closures = /* @__PURE__ */ new Set();
@@ -8206,16 +8644,16 @@ var work_view_default = _template("G", (input) => {
8206
8644
  let DiffView = null;
8207
8645
  const loadDiffView = _resume(() => {
8208
8646
  if (DiffView) return;
8209
- import("./_BdBrOaZF.js").then((m) => {
8647
+ import("./_CBA__L3F.js").then((m) => {
8210
8648
  DiffView = m.default;
8211
8649
  });
8212
- }, "G6", $scope0_id);
8650
+ }, "H6", $scope0_id);
8213
8651
  let manageMounted = input.initialView === "manage";
8214
8652
  let settingsMounted = input.initialView === "settings";
8215
8653
  let newMounted = input.initialView === "new";
8216
8654
  let reviewFindOpen = false;
8217
8655
  let reviewFindTick = 0;
8218
- const reviewFindFocus = { focus: _resume(function() {}, "G0") };
8656
+ const reviewFindFocus = { focus: _resume(function() {}, "H0") };
8219
8657
  let focusPr = input.initialPr ?? "";
8220
8658
  let focusNonce = 0;
8221
8659
  let reviewScope = input.initialScope ?? null;
@@ -8233,22 +8671,22 @@ var work_view_default = _template("G", (input) => {
8233
8671
  loadDiffView();
8234
8672
  diffMounted = true;
8235
8673
  view = "diff";
8236
- }, "G7", $scope0_id);
8674
+ }, "H7", $scope0_id);
8237
8675
  const openManage = _resume(() => {
8238
8676
  manageMounted = true;
8239
8677
  view = "manage";
8240
- }, "G8", $scope0_id);
8678
+ }, "H8", $scope0_id);
8241
8679
  const openSettings = _resume(() => {
8242
8680
  settingsMounted = true;
8243
8681
  view = "settings";
8244
- }, "G9", $scope0_id);
8682
+ }, "H9", $scope0_id);
8245
8683
  const toggleNav = _resume(() => {
8246
8684
  view = view === "nav" ? "term" : "nav";
8247
- }, "G10", $scope0_id);
8685
+ }, "H10", $scope0_id);
8248
8686
  const toggleDiff = _resume(() => {
8249
8687
  if (view === "diff") view = "term";
8250
8688
  else openDiff();
8251
- }, "G11", $scope0_id);
8689
+ }, "H11", $scope0_id);
8252
8690
  const shownSessions = sessions ?? input.allStatus?.[ws.id]?.sessions ?? null;
8253
8691
  const curTab = (() => {
8254
8692
  if (tab && shownSessions?.some((s) => s.id === tab)) return tab;
@@ -8265,10 +8703,10 @@ var work_view_default = _template("G", (input) => {
8265
8703
  reviewFindOpen = true;
8266
8704
  reviewFindTick++;
8267
8705
  reviewFindFocus.focus();
8268
- }, "G12", $scope0_id);
8706
+ }, "H12", $scope0_id);
8269
8707
  const exitCreate = _resume(() => {
8270
8708
  if (view === "new") view = "term";
8271
- }, "G13", $scope0_id);
8709
+ }, "H13", $scope0_id);
8272
8710
  const applyView = _resume((v) => {
8273
8711
  if (v.view === "diff") {
8274
8712
  if (v.scope !== void 0) reviewScope = v.scope ?? null;
@@ -8284,7 +8722,7 @@ var work_view_default = _template("G", (input) => {
8284
8722
  }
8285
8723
  view = "term";
8286
8724
  }
8287
- }, "G14", $scope0_id);
8725
+ }, "H14", $scope0_id);
8288
8726
  const navGate = { seen: -1 };
8289
8727
  const createSession = _resume(async (agent, select) => {
8290
8728
  spawning = true;
@@ -8306,7 +8744,7 @@ var work_view_default = _template("G", (input) => {
8306
8744
  } finally {
8307
8745
  spawning = false;
8308
8746
  }
8309
- }, "G15", $scope0_id);
8747
+ }, "H15", $scope0_id);
8310
8748
  const loadMem = {
8311
8749
  wanted: false,
8312
8750
  run: void 0
@@ -8332,11 +8770,11 @@ var work_view_default = _template("G", (input) => {
8332
8770
  if (isTransientApiError$1(err)) return;
8333
8771
  error = String(err.message || err);
8334
8772
  }
8335
- }, "G16", $scope0_id);
8773
+ }, "H16", $scope0_id);
8336
8774
  const loadSessions = _resume((autoCreate) => {
8337
8775
  if (autoCreate) loadMem.wanted = true;
8338
8776
  return (loadMem.run ??= coalesce(loadBody))();
8339
- }, "G17", $scope0_id);
8777
+ }, "H17", $scope0_id);
8340
8778
  const closeSession = _resume(async (id) => {
8341
8779
  try {
8342
8780
  sessions = (sessions || []).filter((s) => s.id !== id);
@@ -8346,7 +8784,7 @@ var work_view_default = _template("G", (input) => {
8346
8784
  error = `Close session failed: ${String(err.message || err)}`;
8347
8785
  loadSessions(false);
8348
8786
  }
8349
- }, "G18", $scope0_id);
8787
+ }, "H18", $scope0_id);
8350
8788
  const renameSession = _resume(async (id, title) => {
8351
8789
  title = title.trim();
8352
8790
  const cur = (sessions || []).find((s) => s.id === id);
@@ -8361,7 +8799,7 @@ var work_view_default = _template("G", (input) => {
8361
8799
  headers: { "content-type": "application/json" },
8362
8800
  body: JSON.stringify({ title })
8363
8801
  });
8364
- }, "G19", $scope0_id);
8802
+ }, "H19", $scope0_id);
8365
8803
  const newSession = _resume(async (wsId, agent) => {
8366
8804
  if (wsId === ws.id) {
8367
8805
  const session = await createSession(agent, true);
@@ -8379,7 +8817,7 @@ var work_view_default = _template("G", (input) => {
8379
8817
  } catch (err) {
8380
8818
  error = String(err.message || err);
8381
8819
  }
8382
- }, "G20", $scope0_id);
8820
+ }, "H20", $scope0_id);
8383
8821
  const onKey = _resume((e) => {
8384
8822
  const target = e.target;
8385
8823
  const typing = !!target && !target.closest(".xterm") && (target.tagName === "INPUT" || target.tagName === "TEXTAREA" || target.tagName === "SELECT" || target.isContentEditable);
@@ -8393,7 +8831,7 @@ var work_view_default = _template("G", (input) => {
8393
8831
  e.preventDefault();
8394
8832
  toggleDiff();
8395
8833
  }
8396
- }, "G21", $scope0_id);
8834
+ }, "H21", $scope0_id);
8397
8835
  _html(`<div${_attr_class(["_b6", {
8398
8836
  ["_b4"]: view === "nav",
8399
8837
  ["_b5"]: !input.active
@@ -8429,60 +8867,60 @@ var work_view_default = _template("G", (input) => {
8429
8867
  tab: curTab,
8430
8868
  tabChange: _resume(function(id) {
8431
8869
  tab = id;
8432
- }, "G22", $scope0_id),
8870
+ }, "H22", $scope0_id),
8433
8871
  view,
8434
8872
  viewChange: _resume((_new_view) => {
8435
8873
  view = _new_view;
8436
- }, "G23", $scope0_id),
8874
+ }, "H23", $scope0_id),
8437
8875
  allWorkspaces: input.allWorkspaces,
8438
8876
  allStatus: input.allStatus,
8439
8877
  agents: input.agents,
8440
8878
  onError: _resume(function(message) {
8441
8879
  error = message;
8442
- }, "G24", $scope0_id),
8880
+ }, "H24", $scope0_id),
8443
8881
  onSelectWorkspace: _resume(function(id) {
8444
8882
  exitCreate();
8445
8883
  input.onSelectWorkspace?.(id);
8446
- }, "G25", $scope0_id),
8884
+ }, "H25", $scope0_id),
8447
8885
  onNewSession: _resume(function(wsId, agent) {
8448
8886
  exitCreate();
8449
8887
  newSession(wsId, agent);
8450
- }, "G26", $scope0_id),
8888
+ }, "H26", $scope0_id),
8451
8889
  onCloseSession: _resume(function(id) {
8452
8890
  closeSession(id);
8453
- }, "G27", $scope0_id),
8891
+ }, "H27", $scope0_id),
8454
8892
  onRenameSession: _resume(function(s, title) {
8455
8893
  renameSession(s.id, title);
8456
- }, "G28", $scope0_id),
8894
+ }, "H28", $scope0_id),
8457
8895
  onReviewOpened: _resume(function(pr) {
8458
8896
  exitCreate();
8459
8897
  openDiff(pr);
8460
- }, "G29", $scope0_id),
8898
+ }, "H29", $scope0_id),
8461
8899
  onReviewOther: _resume(function(wsId) {
8462
8900
  exitCreate();
8463
8901
  input.onNavigate?.({
8464
8902
  workspaceId: wsId,
8465
8903
  view: "diff"
8466
8904
  });
8467
- }, "G30", $scope0_id)
8905
+ }, "H30", $scope0_id)
8468
8906
  });
8469
8907
  _html(`</div><div${_attr_class("_b8")}>`);
8470
8908
  _if(() => {
8471
8909
  if (error) {
8472
- const $scope8_id = _scope_id();
8910
+ const $scope9_id = _scope_id();
8473
8911
  toast_default({
8474
8912
  onDismiss: _resume(function() {
8475
8913
  error = null;
8476
- }, "G31", $scope8_id),
8477
- content: _content_resume("G49", () => {
8914
+ }, "H31", $scope9_id),
8915
+ content: _content_resume("H50", () => {
8478
8916
  _scope_reason();
8479
- const $scope9_id = _scope_id();
8480
- _html(`${_escape(error)}${_el_resume($scope9_id, "a")}`);
8481
- _subscribe($error__closures, writeScope($scope9_id, { _: _scope_with_id($scope8_id) }));
8482
- _resume_branch($scope9_id);
8483
- }, $scope8_id)
8917
+ const $scope10_id = _scope_id();
8918
+ _html(`${_escape(error)}${_el_resume($scope10_id, "a")}`);
8919
+ _subscribe($error__closures, writeScope($scope10_id, { _: _scope_with_id($scope9_id) }));
8920
+ _resume_branch($scope10_id);
8921
+ }, $scope9_id)
8484
8922
  });
8485
- writeScope($scope8_id, {});
8923
+ writeScope($scope9_id, {});
8486
8924
  return 0;
8487
8925
  }
8488
8926
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
@@ -8503,23 +8941,23 @@ var work_view_default = _template("G", (input) => {
8503
8941
  scope: reviewScope,
8504
8942
  onScopeChange: _resume(function(s) {
8505
8943
  reviewScope = s === "committed" ? null : s;
8506
- }, "G1", $scope1_id),
8944
+ }, "H1", $scope1_id),
8507
8945
  onFileChange: _resume(function(f) {
8508
8946
  reviewFile = f;
8509
- }, "G2", $scope1_id),
8947
+ }, "H2", $scope1_id),
8510
8948
  findOpen: reviewFindOpen,
8511
8949
  findOpenChange: _resume((_new_reviewFindOpen) => {
8512
8950
  reviewFindOpen = _new_reviewFindOpen;
8513
- }, "G3", $scope1_id),
8951
+ }, "H3", $scope1_id),
8514
8952
  findTick: reviewFindTick,
8515
8953
  findFocusRef: reviewFindFocus,
8516
8954
  onSent: _resume(function(sessionId) {
8517
8955
  tab = sessionId;
8518
8956
  view = "term";
8519
- }, "G4", $scope1_id),
8957
+ }, "H4", $scope1_id),
8520
8958
  onExit: _resume(function() {
8521
8959
  view = "term";
8522
- }, "G5", $scope1_id)
8960
+ }, "H5", $scope1_id)
8523
8961
  });
8524
8962
  _html(`</div>${_el_resume($scope1_id, "a")}`);
8525
8963
  writeScope($scope1_id, {});
@@ -8536,13 +8974,13 @@ var work_view_default = _template("G", (input) => {
8536
8974
  workspace: ws,
8537
8975
  workspaceChange: _resume(function(next) {
8538
8976
  input.onWorkspaceChange?.(next);
8539
- }, "G32", $scope2_id),
8977
+ }, "H32", $scope2_id),
8540
8978
  onExit: _resume(function() {
8541
8979
  view = "term";
8542
- }, "G33", $scope2_id),
8980
+ }, "H33", $scope2_id),
8543
8981
  onDeleted: _resume(function() {
8544
8982
  input.onWorkspaceDeleted?.(ws.id);
8545
- }, "G34", $scope2_id)
8983
+ }, "H34", $scope2_id)
8546
8984
  });
8547
8985
  _html(`</div>${_el_resume($scope2_id, "a")}`);
8548
8986
  writeScope($scope2_id, { b: _serialize_if($scope0_reason, 4) && _existing_scope($childScope2) });
@@ -8569,21 +9007,21 @@ var work_view_default = _template("G", (input) => {
8569
9007
  instance: input.instance,
8570
9008
  instanceChange: _resume(function(i) {
8571
9009
  input.onInstanceChange?.(i);
8572
- }, "G35", $scope3_id),
9010
+ }, "H35", $scope3_id),
8573
9011
  backHref: `/w/${ws.id}`,
8574
9012
  onExit: _resume(function() {
8575
9013
  view = "term";
8576
- }, "G36", $scope3_id),
9014
+ }, "H36", $scope3_id),
8577
9015
  setup: input.setup,
8578
9016
  setupChange: _resume(function(s) {
8579
9017
  input.onSetupChange?.(s);
8580
- }, "G37", $scope3_id),
9018
+ }, "H37", $scope3_id),
8581
9019
  preferredChange: _resume(function(agent) {
8582
9020
  input.onPreferredChange?.(agent);
8583
- }, "G38", $scope3_id),
9021
+ }, "H38", $scope3_id),
8584
9022
  agentsChange: _resume(function(agents) {
8585
9023
  input.onAgentsChange?.(agents);
8586
- }, "G39", $scope3_id)
9024
+ }, "H39", $scope3_id)
8587
9025
  });
8588
9026
  _html(`</div>${_el_resume($scope3_id, "a")}`);
8589
9027
  writeScope($scope3_id, { b: _serialize_if($scope0_reason, 5) && _existing_scope($childScope3) });
@@ -8605,15 +9043,15 @@ var work_view_default = _template("G", (input) => {
8605
9043
  backHref: `/w/${ws.id}`,
8606
9044
  onExit: _resume(function() {
8607
9045
  exitCreate();
8608
- }, "G40", $scope4_id),
9046
+ }, "H40", $scope4_id),
8609
9047
  onCreate: _resume(function(ws) {
8610
9048
  input.onCreated?.(ws);
8611
- }, "G41", $scope4_id),
9049
+ }, "H41", $scope4_id),
8612
9050
  onRestore: _resume(function(next) {
8613
9051
  input.onWorkspaceChange?.(next);
8614
9052
  input.onSelectWorkspace?.(next.id);
8615
9053
  exitCreate();
8616
- }, "G42", $scope4_id)
9054
+ }, "H42", $scope4_id)
8617
9055
  });
8618
9056
  _html(`</div>${_el_resume($scope4_id, "a")}`);
8619
9057
  writeScope($scope4_id, { b: _existing_scope($childScope4) });
@@ -8636,12 +9074,11 @@ var work_view_default = _template("G", (input) => {
8636
9074
  5: 1,
8637
9075
  6: 1,
8638
9076
  7: 1,
8639
- 8: 1,
9077
+ 8: $sg__input_workspace,
8640
9078
  9: 1,
8641
9079
  10: 1,
8642
9080
  11: 1,
8643
- 12: $sg__input_agents,
8644
- 13: $sg__input_workspace
9081
+ 12: $sg__input_agents
8645
9082
  });
8646
9083
  const $childScope5 = _peek_scope_id();
8647
9084
  term_default({
@@ -8655,27 +9092,27 @@ var work_view_default = _template("G", (input) => {
8655
9092
  onNewSession: _resume(function(agent) {
8656
9093
  view = "term";
8657
9094
  newSession(ws.id, agent);
8658
- }, "G43", $scope6_id),
9095
+ }, "H43", $scope6_id),
8659
9096
  onOpenTab: _resume(function(id) {
8660
9097
  tab = id;
8661
9098
  view = "term";
8662
- }, "G44", $scope6_id),
9099
+ }, "H44", $scope6_id),
8663
9100
  onCloseSession: _resume(function(id) {
8664
9101
  closeSession(id);
8665
- }, "G45", $scope6_id),
9102
+ }, "H45", $scope6_id),
8666
9103
  onRenameSession: _resume(function(id, title) {
8667
9104
  renameSession(id, title);
8668
- }, "G46", $scope6_id),
9105
+ }, "H46", $scope6_id),
8669
9106
  active: input.active && view === "term" && s.id === curTab,
8670
9107
  parked: !input.active,
8671
9108
  mode: view,
8672
9109
  onOpenNav: _resume(function() {
8673
9110
  toggleNav();
8674
- }, "G47", $scope6_id),
9111
+ }, "H47", $scope6_id),
8675
9112
  reviewFindOpen,
8676
9113
  onToggleReviewFind: _resume(function() {
8677
9114
  toggleReviewFind();
8678
- }, "G48", $scope6_id)
9115
+ }, "H48", $scope6_id)
8679
9116
  });
8680
9117
  _html(`</div>${_el_resume($scope6_id, "a")}`);
8681
9118
  _subscribe($newSession2__closures, _subscribe($renameSession2__closures, _subscribe($closeSession2__closures, _subscribe($toggleReviewFind2__closures, _subscribe($curTab__closures, _subscribe($shownSessions__closures, _subscribe($si__input_workspace && $ws_name__closures, _subscribe($si__input_workspace && $ws_id__closures, _subscribe($reviewFindOpen__closures, _subscribe($view__closures, _subscribe($si__input_agents && $input_agents__closures, _subscribe($si__input_active && $input_active__closures, writeScope($scope6_id, {
@@ -8686,8 +9123,8 @@ var work_view_default = _template("G", (input) => {
8686
9123
  _if(() => {
8687
9124
  if (!shownSessions.length && view === "term") {
8688
9125
  const $scope7_id = _scope_id();
8689
- _html(`<div${_attr_class("_bJ")}><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>`);
8690
- _script($scope7_id, "G50");
9126
+ _html(`<div${_attr_class("_bA")}><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>`);
9127
+ _script($scope7_id, "H51");
8691
9128
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
8692
9129
  return 0;
8693
9130
  }
@@ -8695,109 +9132,130 @@ var work_view_default = _template("G", (input) => {
8695
9132
  writeScope($scope5_id, {});
8696
9133
  return 0;
8697
9134
  } else {
8698
- const $scope10_id = _scope_id();
8699
- _html(`<p${_attr_class("_bJ")}>Loading sessions…</p>`);
8700
- writeScope($scope10_id, {});
9135
+ const $scope11_id = _scope_id();
9136
+ _html(`<p${_attr_class("_bA")}>Loading sessions…</p>`);
9137
+ writeScope($scope11_id, {});
8701
9138
  return 1;
8702
9139
  }
8703
- }, $scope0_id, "j", 1, 1, 1, "</div>");
8704
- _html(`</div></div>${_el_resume($scope0_id, "a")}`);
8705
- _script($scope0_id, "G51");
8706
- _script($scope0_id, "G52");
8707
- _script($scope0_id, "G53");
8708
- _script($scope0_id, "G54");
8709
- _script($scope0_id, "G55");
8710
- _script($scope0_id, "G56");
8711
- _script($scope0_id, "G57");
8712
- _script($scope0_id, "G58");
8713
- _script($scope0_id, "G59");
9140
+ }, $scope0_id, "k");
9141
+ _if(() => {
9142
+ if (!shownSessions?.length) {
9143
+ const $scope8_id = _scope_id();
9144
+ _set_serialize_reason({
9145
+ 0: 1,
9146
+ 1: $sg__input_workspace,
9147
+ 5: $sg__input_workspace
9148
+ });
9149
+ const $childScope6 = _peek_scope_id();
9150
+ key_bar_default({
9151
+ workspaceId: ws.id,
9152
+ mode: view,
9153
+ workspaceName: ws.name,
9154
+ onOpenNav: _resume(function() {
9155
+ toggleNav();
9156
+ }, "H49", $scope8_id)
9157
+ });
9158
+ writeScope($scope8_id, { a: _existing_scope($childScope6) });
9159
+ return 0;
9160
+ }
9161
+ }, $scope0_id, "l");
9162
+ _html(`</div>${_el_resume($scope0_id, "j")}</div></div>${_el_resume($scope0_id, "a")}`);
9163
+ _script($scope0_id, "H52");
9164
+ _script($scope0_id, "H53");
9165
+ _script($scope0_id, "H54");
9166
+ _script($scope0_id, "H55");
9167
+ _script($scope0_id, "H56");
9168
+ _script($scope0_id, "H57");
9169
+ _script($scope0_id, "H58");
9170
+ _script($scope0_id, "H59");
9171
+ _script($scope0_id, "H60");
8714
9172
  writeScope($scope0_id, {
8715
- n: input.initialView,
8716
- s: input.allStatus,
8717
- t: input.active,
8718
- u: input.creating,
8719
- v: input.onExitCreate,
8720
- w: input.onNew,
8721
- x: input.onRouteChange,
8722
- y: input.nav,
8723
- z: input.navNonce,
8724
- a0: input.preferred,
8725
- a1: input.onSelectWorkspace,
8726
- a2: input.instance,
8727
- a5: input.setup,
8728
- a6: input.allWorkspaces,
8729
- a7: input.agents,
8730
- a8: input.onNavigate,
8731
- a9: input.onWorkspaceChange,
8732
- aa: input.onWorkspaceDeleted,
8733
- ab: input.onInstanceChange,
8734
- ac: input.onSetupChange,
8735
- ad: input.onPreferredChange,
8736
- ae: input.onAgentsChange,
8737
- af: input.onCreated,
8738
- ag: sessions,
8739
- ah: tab,
8740
- ai: view,
8741
- ak: diffMounted,
8742
- al: DiffView,
8743
- an: loadDiffView,
8744
- ap: manageMounted,
8745
- aq: settingsMounted,
8746
- ar: newMounted,
8747
- at: reviewFindOpen,
8748
- av: reviewFindTick,
8749
- aw: reviewFindFocus,
8750
- ay: focusPr,
8751
- az: focusNonce,
8752
- b0: reviewScope,
8753
- b1: reviewFile,
8754
- b2: focusFile,
8755
- b3: focusFileNonce,
8756
- b5: error,
8757
- b6: spawning,
8758
- b7: ws,
8759
- b8: ws?.id,
8760
- bc: ws?.status,
8761
- bd: ws?.branch,
8762
- be: ws?.name,
8763
- bf: openDiff,
8764
- bh: openManage,
8765
- bj: openSettings,
8766
- bm: toggleNav,
8767
- bn: toggleDiff,
8768
- bo: shownSessions,
8769
- bq: shownSessions?.length,
8770
- br: curTab,
8771
- bu: createGate.open,
8772
- bw: toggleReviewFind,
8773
- bx: exitCreate,
8774
- c1: applyView,
8775
- c3: navGate.seen,
8776
- c5: createSession,
8777
- c8: loadMem.wanted,
8778
- ca: loadMem.run,
8779
- cb: loadBody,
8780
- cd: loadSessions,
8781
- cg: closeSession,
8782
- ch: renameSession,
8783
- ci: newSession,
8784
- ck: onKey,
9173
+ p: input.initialView,
9174
+ u: input.allStatus,
9175
+ v: input.active,
9176
+ w: input.creating,
9177
+ x: input.onExitCreate,
9178
+ y: input.onNew,
9179
+ z: input.onRouteChange,
9180
+ a0: input.nav,
9181
+ a1: input.navNonce,
9182
+ a2: input.preferred,
9183
+ a3: input.onSelectWorkspace,
9184
+ a4: input.instance,
9185
+ a7: input.setup,
9186
+ a8: input.allWorkspaces,
9187
+ a9: input.agents,
9188
+ aa: input.onNavigate,
9189
+ ab: input.onWorkspaceChange,
9190
+ ac: input.onWorkspaceDeleted,
9191
+ ad: input.onInstanceChange,
9192
+ ae: input.onSetupChange,
9193
+ af: input.onPreferredChange,
9194
+ ag: input.onAgentsChange,
9195
+ ah: input.onCreated,
9196
+ ai: sessions,
9197
+ aj: tab,
9198
+ ak: view,
9199
+ am: diffMounted,
9200
+ an: DiffView,
9201
+ ap: loadDiffView,
9202
+ ar: manageMounted,
9203
+ as: settingsMounted,
9204
+ at: newMounted,
9205
+ av: reviewFindOpen,
9206
+ ax: reviewFindTick,
9207
+ ay: reviewFindFocus,
9208
+ b0: focusPr,
9209
+ b1: focusNonce,
9210
+ b2: reviewScope,
9211
+ b3: reviewFile,
9212
+ b4: focusFile,
9213
+ b5: focusFileNonce,
9214
+ b7: error,
9215
+ b8: spawning,
9216
+ b9: ws,
9217
+ ba: ws?.id,
9218
+ be: ws?.status,
9219
+ bf: ws?.branch,
9220
+ bg: ws?.name,
9221
+ bh: openDiff,
9222
+ bj: openManage,
9223
+ bl: openSettings,
9224
+ bo: toggleNav,
9225
+ bp: toggleDiff,
9226
+ bq: shownSessions,
9227
+ bs: shownSessions?.length,
9228
+ bt: curTab,
9229
+ bw: createGate.open,
9230
+ by: toggleReviewFind,
9231
+ bz: exitCreate,
9232
+ c3: applyView,
9233
+ c5: navGate.seen,
9234
+ c7: createSession,
9235
+ ca: loadMem.wanted,
9236
+ cc: loadMem.run,
9237
+ cd: loadBody,
9238
+ cf: loadSessions,
9239
+ ci: closeSession,
9240
+ cj: renameSession,
9241
+ ck: newSession,
9242
+ cm: onKey,
8785
9243
  c: _existing_scope($childScope),
8786
- da: $error__closures,
8787
- cm: $si__input_active && $input_active__closures,
8788
- cs: $si__input_agents && $input_agents__closures,
8789
- d0: $view__closures,
8790
- d2: $reviewFindOpen__closures,
8791
- dd: $si__input_workspace && $ws_id__closures,
8792
- df: $si__input_workspace && $ws_name__closures,
8793
- dg: $shownSessions__closures,
8794
- di: $curTab__closures,
8795
- dj: $toggleReviewFind2__closures,
8796
- dl: $closeSession2__closures,
8797
- dm: $renameSession2__closures,
8798
- dn: $newSession2__closures,
8799
- cn: $si__input_preferred && $input_preferred__closures,
8800
- db: $spawning__closures
9244
+ dc: $error__closures,
9245
+ co: $si__input_active && $input_active__closures,
9246
+ cu: $si__input_agents && $input_agents__closures,
9247
+ d2: $view__closures,
9248
+ d4: $reviewFindOpen__closures,
9249
+ df: $si__input_workspace && $ws_id__closures,
9250
+ dh: $si__input_workspace && $ws_name__closures,
9251
+ di: $shownSessions__closures,
9252
+ dk: $curTab__closures,
9253
+ dl: $toggleReviewFind2__closures,
9254
+ dn: $closeSession2__closures,
9255
+ do: $renameSession2__closures,
9256
+ dp: $newSession2__closures,
9257
+ cp: $si__input_preferred && $input_preferred__closures,
9258
+ dd: $spawning__closures
8801
9259
  });
8802
9260
  _resume_branch($scope0_id);
8803
9261
  });
@@ -9218,7 +9676,7 @@ var app_page_default = _template("b", (input) => {
9218
9676
  });
9219
9677
  //#endregion
9220
9678
  //#region src/routes/_app/new/+page.marko
9221
- var _page_default$4 = _template("ob", (input) => {
9679
+ var _page_default$4 = _template("pb", (input) => {
9222
9680
  _scope_reason();
9223
9681
  _scope_id();
9224
9682
  app_page_default({ initial: {
@@ -9260,7 +9718,7 @@ var GET$24 = Run.GET(async (_ctx, next) => {
9260
9718
  });
9261
9719
  //#endregion
9262
9720
  //#region src/routes/_app/settings/+page.marko
9263
- var _page_default$3 = _template("pb", (input) => {
9721
+ var _page_default$3 = _template("qb", (input) => {
9264
9722
  _scope_reason();
9265
9723
  _scope_id();
9266
9724
  app_page_default({ initial: {
@@ -9297,7 +9755,7 @@ function head3(context) {
9297
9755
  }
9298
9756
  //#endregion
9299
9757
  //#region src/routes/_app/w/$id/+page.marko
9300
- var _page_default$2 = _template("qb", (input) => {
9758
+ var _page_default$2 = _template("rb", (input) => {
9301
9759
  _scope_reason();
9302
9760
  _scope_id();
9303
9761
  const $global$3 = $global();
@@ -9335,7 +9793,7 @@ function head4(context) {
9335
9793
  }
9336
9794
  //#endregion
9337
9795
  //#region src/routes/_app/w/$id/manage/+page.marko
9338
- var _page_default$1 = _template("rb", (input) => {
9796
+ var _page_default$1 = _template("sb", (input) => {
9339
9797
  _scope_reason();
9340
9798
  _scope_id();
9341
9799
  app_page_default({ initial: {
@@ -9371,7 +9829,7 @@ function head5(context) {
9371
9829
  }
9372
9830
  //#endregion
9373
9831
  //#region src/routes/_app/w/$id/review/+page.marko
9374
- var _page_default = _template("sb", (input) => {
9832
+ var _page_default = _template("tb", (input) => {
9375
9833
  _scope_reason();
9376
9834
  _scope_id();
9377
9835
  const $global$1 = $global();
@@ -10752,8 +11210,9 @@ async function pushAll() {
10752
11210
  * Most `ui.*` rows stay behind (layout state, many keyed by workspace id),
10753
11211
  * but the diff scope is a real preference and lives under that prefix only
10754
11212
  * because the client writes it through `setPref`. Not `review.seen:*`, not
10755
- * the one-shot migration flags. `command.<agent>` overrides come as a
10756
- * family. */
11213
+ * the one-shot migration flags, and deliberately not `command.<agent>`: an
11214
+ * override names a binary that exists on the machine it was set on, so
11215
+ * carrying it to a new one points the agent at something that is not there. */
10757
11216
  var SETTING_KEYS = [
10758
11217
  "preferredAgent",
10759
11218
  "disabledAgents",
@@ -10764,7 +11223,7 @@ var SETTING_KEYS = [
10764
11223
  ];
10765
11224
  function exportableSettings() {
10766
11225
  const out = {};
10767
- for (const { key, value } of all("SELECT key, value FROM settings")) if (SETTING_KEYS.includes(key) || key.startsWith("command.")) out[key] = value;
11226
+ for (const { key, value } of all("SELECT key, value FROM settings")) if (SETTING_KEYS.includes(key)) out[key] = value;
10768
11227
  return out;
10769
11228
  }
10770
11229
  /** Global mise pins straight from its config: `mise ls` reports what is
@@ -10994,7 +11453,7 @@ async function restore(m, sel) {
10994
11453
  }
10995
11454
  let n = 0;
10996
11455
  for (const [key, value] of Object.entries(m.settings)) {
10997
- if (!SETTING_KEYS.includes(key) && !key.startsWith("command.")) continue;
11456
+ if (!SETTING_KEYS.includes(key)) continue;
10998
11457
  setSetting(key, value);
10999
11458
  n++;
11000
11459
  }
@@ -17909,4 +18368,4 @@ server.listen(port, () => {
17909
18368
  //#endregion
17910
18369
  export {};
17911
18370
 
17912
- ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-9ukuDxSW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-9ukuDxSW.css\"",">"],"defer":[2,"/assets/new-PmY_tc2O.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-PmY_tc2O.js\"","></script>",2,"modulepreload#/assets/_BcnKn75V.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BcnKn75V.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-9ukuDxSW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-9ukuDxSW.css\"",">"],"defer":[2,"/assets/w._-PmY_tc2O.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-PmY_tc2O.js\"","></script>",2,"modulepreload#/assets/_BcnKn75V.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BcnKn75V.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-9ukuDxSW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-9ukuDxSW.css\"",">"],"defer":[2,"/assets/settings-PmY_tc2O.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-PmY_tc2O.js\"","></script>",2,"modulepreload#/assets/_BcnKn75V.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BcnKn75V.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-9ukuDxSW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-9ukuDxSW.css\"",">"],"defer":[2,"/assets/w._-DL1tdfaH.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DL1tdfaH.js\"","></script>",2,"modulepreload#/assets/_BcnKn75V.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BcnKn75V.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-9ukuDxSW.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-9ukuDxSW.css\"",">"],"defer":[2,"/assets/w-PmY_tc2O.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-PmY_tc2O.js\"","></script>",2,"modulepreload#/assets/_BcnKn75V.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BcnKn75V.js\"",">"]}};
18371
+ ;var __MARKO_MANIFEST__={"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-Dk_mvqt2.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Dk_mvqt2.css\"",">"],"defer":[2,"/assets/w-B8Rn8B9U.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-B8Rn8B9U.js\"","></script>",2,"modulepreload#/assets/_Bwf6AXcG.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bwf6AXcG.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-Dk_mvqt2.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Dk_mvqt2.css\"",">"],"defer":[2,"/assets/w._-B8Rn8B9U.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-B8Rn8B9U.js\"","></script>",2,"modulepreload#/assets/_Bwf6AXcG.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bwf6AXcG.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-Dk_mvqt2.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Dk_mvqt2.css\"",">"],"defer":[2,"/assets/new-B8Rn8B9U.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-B8Rn8B9U.js\"","></script>",2,"modulepreload#/assets/_Bwf6AXcG.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bwf6AXcG.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-Dk_mvqt2.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Dk_mvqt2.css\"",">"],"defer":[2,"/assets/w._-DIHEc1VL.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DIHEc1VL.js\"","></script>",2,"modulepreload#/assets/_Bwf6AXcG.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bwf6AXcG.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-Dk_mvqt2.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-Dk_mvqt2.css\"",">"],"defer":[2,"/assets/settings-B8Rn8B9U.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-B8Rn8B9U.js\"","></script>",2,"modulepreload#/assets/_Bwf6AXcG.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bwf6AXcG.js\"",">"]}};