@dylanpiercey/work 0.0.83 → 0.0.85

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 (243) hide show
  1. package/dist/{_Ca65AieL.js → _D30X7Qrj.js} +72 -72
  2. package/dist/{_BLfl5xCk.js → _mv7NEfX0.js} +22 -22
  3. package/dist/index.mjs +210 -180
  4. package/dist/public/assets/{_DDSIV5XW2.js → _-WmXU-Ck2.js} +1 -1
  5. package/dist/public/assets/_-WmXU-Ck2.js.br +0 -0
  6. package/dist/public/assets/{_71X9fj6D.js → _-ru5vl7a.js} +1 -1
  7. package/dist/public/assets/_-ru5vl7a.js.br +0 -0
  8. package/dist/public/assets/{_BkJekmrD2.js → _8c-uHmeW2.js} +1 -1
  9. package/dist/public/assets/_8c-uHmeW2.js.br +0 -0
  10. package/dist/public/assets/{_Cqt93gRb2.js → _B1Z1hJGn2.js} +1 -1
  11. package/dist/public/assets/_B1Z1hJGn2.js.br +0 -0
  12. package/dist/public/assets/{_COBgV0Ex.js → _B21IMSvY.js} +1 -1
  13. package/dist/public/assets/_B21IMSvY.js.br +0 -0
  14. package/dist/public/assets/{_DoAI1Cio.js → _BCV01fYS.js} +1 -1
  15. package/dist/public/assets/_BCV01fYS.js.br +0 -0
  16. package/dist/public/assets/{_CvL7IC5I.js → _BD8O2K_O.js} +1 -1
  17. package/dist/public/assets/_BD8O2K_O.js.br +0 -0
  18. package/dist/public/assets/{_B8WT48P_2.js → _BFNm4iX52.js} +1 -1
  19. package/dist/public/assets/_BFNm4iX52.js.br +0 -0
  20. package/dist/public/assets/{_C2LcDpnr.js → _BJcu7zuL.js} +1 -1
  21. package/dist/public/assets/_BJcu7zuL.js.br +0 -0
  22. package/dist/public/assets/{_1lHl-1Rm2.js → _BPLDg25T2.js} +1 -1
  23. package/dist/public/assets/{_DDUZJRiJ.js → _BUXWMqIU.js} +1 -1
  24. package/dist/public/assets/_BUXWMqIU.js.br +0 -0
  25. package/dist/public/assets/{_BNdhhhCZ.js → _BXsHAtou.js} +1 -1
  26. package/dist/public/assets/_BXsHAtou.js.br +0 -0
  27. package/dist/public/assets/{_D8BrjHYz2.js → _BbigvT1q2.js} +1 -1
  28. package/dist/public/assets/_BbigvT1q2.js.br +0 -0
  29. package/dist/public/assets/{_B-AJiJGO.js → _BdsfdexS.js} +1 -1
  30. package/dist/public/assets/_BdsfdexS.js.br +0 -0
  31. package/dist/public/assets/{_XM5e4Yae.js → _BiTayVh0.js} +1 -1
  32. package/dist/public/assets/_BiTayVh0.js.br +0 -0
  33. package/dist/public/assets/{_DXW9fmgm.js → _BjEsAKXh.js} +1 -1
  34. package/dist/public/assets/_BjEsAKXh.js.br +0 -0
  35. package/dist/public/assets/{_BTBSshGN.js → _BjVUCdYI.js} +1 -1
  36. package/dist/public/assets/_BjVUCdYI.js.br +0 -0
  37. package/dist/public/assets/{_P3pi7WhS.js → _BlE98RWB.js} +1 -1
  38. package/dist/public/assets/_BlE98RWB.js.br +0 -0
  39. package/dist/public/assets/{_CKhhDaA8.js → _Bpg_ooRv.js} +1 -1
  40. package/dist/public/assets/_Bpg_ooRv.js.br +0 -0
  41. package/dist/public/assets/{_qNUpyBGd.js → _BrNrnCdj.js} +1 -1
  42. package/dist/public/assets/_BrNrnCdj.js.br +0 -0
  43. package/dist/public/assets/{_CIjpqTI-.js → _BvAqq5m6.js} +1 -1
  44. package/dist/public/assets/_BvAqq5m6.js.br +0 -0
  45. package/dist/public/assets/{_DyY5UoNQ.js → _BvUZ8h-x.js} +1 -1
  46. package/dist/public/assets/_BvUZ8h-x.js.br +0 -0
  47. package/dist/public/assets/{_Cywp9KWf2.js → _ByxTzbwH2.js} +1 -1
  48. package/dist/public/assets/_ByxTzbwH2.js.br +0 -0
  49. package/dist/public/assets/{_BNAx3Tvj.js → _Bz5O3Mrq.js} +1 -1
  50. package/dist/public/assets/_Bz5O3Mrq.js.br +0 -0
  51. package/dist/public/assets/{_J_yTPbzZ.js → _C-BzebGR.js} +1 -1
  52. package/dist/public/assets/_C-BzebGR.js.br +0 -0
  53. package/dist/public/assets/{_i7IDJStN.js → _C07OAOG6.js} +1 -1
  54. package/dist/public/assets/_C07OAOG6.js.br +0 -0
  55. package/dist/public/assets/{_CB9aQE1R2.js → _C1a8yKxf2.js} +1 -1
  56. package/dist/public/assets/_C1a8yKxf2.js.br +0 -0
  57. package/dist/public/assets/{_CURT6lGE.js → _C8oyUxT6.js} +1 -1
  58. package/dist/public/assets/_C8oyUxT6.js.br +0 -0
  59. package/dist/public/assets/{_ZQ-ezWX8.js → _CEV-O2hk.js} +1 -1
  60. package/dist/public/assets/_CEV-O2hk.js.br +0 -0
  61. package/dist/public/assets/{_CGtQk7b82.js → _CFvnHEVa2.js} +1 -1
  62. package/dist/public/assets/_CFvnHEVa2.js.br +0 -0
  63. package/dist/public/assets/{_CC7YPvFo.js → _CUFjqbZE.js} +1 -1
  64. package/dist/public/assets/_CUFjqbZE.js.br +0 -0
  65. package/dist/public/assets/{_CqrvgCsT.js → _CV-6gAkw.js} +1 -1
  66. package/dist/public/assets/_CV-6gAkw.js.br +0 -0
  67. package/dist/public/assets/{_C0-yuWNo2.js → _CeI4faG12.js} +1 -1
  68. package/dist/public/assets/_CeI4faG12.js.br +0 -0
  69. package/dist/public/assets/{_IeYqvfsh2.js → _CeiupuAL2.js} +1 -1
  70. package/dist/public/assets/_CeiupuAL2.js.br +0 -0
  71. package/dist/public/assets/{_DRA2wEgv2.js → _CgkfHUqc2.js} +1 -1
  72. package/dist/public/assets/_CgkfHUqc2.js.br +0 -0
  73. package/dist/public/assets/{_BBiuY4UK.js → _Chrp8y2F.js} +1 -1
  74. package/dist/public/assets/_Chrp8y2F.js.br +0 -0
  75. package/dist/public/assets/{_DWIUnSeX.js → _CtCr-bK2.js} +1 -1
  76. package/dist/public/assets/_CtCr-bK2.js.br +0 -0
  77. package/dist/public/assets/{_Dxbfkc2B.js → _Cv3WsmqQ.js} +1 -1
  78. package/dist/public/assets/_Cv3WsmqQ.js.br +0 -0
  79. package/dist/public/assets/{_5zsw-7Cr.js → _Cvt5BAln.js} +1 -1
  80. package/dist/public/assets/_Cvt5BAln.js.br +0 -0
  81. package/dist/public/assets/{_D2bGG_RX.js → _CwZZbyL7.js} +1 -1
  82. package/dist/public/assets/_CwZZbyL7.js.br +0 -0
  83. package/dist/public/assets/{_Cwv4XAV0.js → _D88tqCHV.js} +1 -1
  84. package/dist/public/assets/_D88tqCHV.js.br +0 -0
  85. package/dist/public/assets/{_idtdrYvz.js → _D8FrQTdt.js} +1 -1
  86. package/dist/public/assets/_D8FrQTdt.js.br +0 -0
  87. package/dist/public/assets/{_D2x1WYfZ.js → _DDpSvFlC.js} +1 -1
  88. package/dist/public/assets/_DDpSvFlC.js.br +0 -0
  89. package/dist/public/assets/{_CSZL_zs72.js → _DDphf7Gv2.js} +1 -1
  90. package/dist/public/assets/_DDphf7Gv2.js.br +0 -0
  91. package/dist/public/assets/{_Cs_y81HQ2.js → _DEY6fLoS2.js} +1 -1
  92. package/dist/public/assets/_DEY6fLoS2.js.br +0 -0
  93. package/dist/public/assets/{_DVn08SF42.js → _DGyPz6VI2.js} +1 -1
  94. package/dist/public/assets/_DGyPz6VI2.js.br +0 -0
  95. package/dist/public/assets/{_WenLkIjY.js → _DK9AAOZp.js} +6 -6
  96. package/dist/public/assets/_DK9AAOZp.js.br +0 -0
  97. package/dist/public/assets/{_CXWT7nK9.js → _DMz1MwaQ.js} +1 -1
  98. package/dist/public/assets/_DMz1MwaQ.js.br +0 -0
  99. package/dist/public/assets/{_Cz2jRq37.js → _DOav6UsU.js} +1 -1
  100. package/dist/public/assets/_DOav6UsU.js.br +0 -0
  101. package/dist/public/assets/{_DsFfIB9W2.js → _DPz8SQGB2.js} +1 -1
  102. package/dist/public/assets/_DPz8SQGB2.js.br +0 -0
  103. package/dist/public/assets/{_CE_6fit5.js → _DQDkXhCW.js} +1 -1
  104. package/dist/public/assets/{_B8DzQMv92.js → _DSS7F-KT2.js} +1 -1
  105. package/dist/public/assets/_DSS7F-KT2.js.br +0 -0
  106. package/dist/public/assets/{_DbpmyGgl2.js → _DUXtjYQn2.js} +1 -1
  107. package/dist/public/assets/_DUXtjYQn2.js.br +0 -0
  108. package/dist/public/assets/{_CfZzHhpg2.js → _DUko1Sy92.js} +1 -1
  109. package/dist/public/assets/_DUko1Sy92.js.br +0 -0
  110. package/dist/public/assets/{_BeJffPsp.js → _DWhr2Wyd.js} +3 -3
  111. package/dist/public/assets/_DWhr2Wyd.js.br +0 -0
  112. package/dist/public/assets/{_D5cWvWuM.js → _DZY5Isxk.js} +1 -1
  113. package/dist/public/assets/_DZY5Isxk.js.br +0 -0
  114. package/dist/public/assets/{_e7CPMPrv.js → _D_LErC4-.js} +1 -1
  115. package/dist/public/assets/_D_LErC4-.js.br +0 -0
  116. package/dist/public/assets/{_9c4YB0Zk.js → _DbfrRxLt.js} +1 -1
  117. package/dist/public/assets/_DbfrRxLt.js.br +0 -0
  118. package/dist/public/assets/{_CMWsOFy3.js → _DiGtUP0z.js} +1 -1
  119. package/dist/public/assets/_DiGtUP0z.js.br +0 -0
  120. package/dist/public/assets/{_m_DP0WPC.js → _DjQpfByq.js} +1 -1
  121. package/dist/public/assets/_DjQpfByq.js.br +0 -0
  122. package/dist/public/assets/{_CN3D32Vg2.js → _Djp7iq652.js} +1 -1
  123. package/dist/public/assets/{_DK8vvdFF.js → _DlNb-fYu.js} +1 -1
  124. package/dist/public/assets/_DlNb-fYu.js.br +0 -0
  125. package/dist/public/assets/{_BpH_rTuR2.js → _Dm07KeQi2.js} +1 -1
  126. package/dist/public/assets/_Dm07KeQi2.js.br +0 -0
  127. package/dist/public/assets/{_CivgOlHG.js → _Drj40pVX.js} +1 -1
  128. package/dist/public/assets/_Drj40pVX.js.br +0 -0
  129. package/dist/public/assets/{_DcVr_TjS.js → _DunIU1gI.js} +1 -1
  130. package/dist/public/assets/_DunIU1gI.js.br +0 -0
  131. package/dist/public/assets/{_Bw8PBJao.js → _DwWcfMba.js} +1 -1
  132. package/dist/public/assets/_DwWcfMba.js.br +0 -0
  133. package/dist/public/assets/{_ClQgvU1_.js → _Dxxi3lS5.js} +1 -1
  134. package/dist/public/assets/_Dxxi3lS5.js.br +0 -0
  135. package/dist/public/assets/{_ahQRSeLl2.js → _JSFtvHrr2.js} +1 -1
  136. package/dist/public/assets/_JSFtvHrr2.js.br +0 -0
  137. package/dist/public/assets/{_DXmHpEMS.js → _SR9h4Okl.js} +1 -1
  138. package/dist/public/assets/_SR9h4Okl.js.br +0 -0
  139. package/dist/public/assets/{_De67jPbo.js → _T9z-lYxT.js} +1 -1
  140. package/dist/public/assets/_T9z-lYxT.js.br +0 -0
  141. package/dist/public/assets/{_D2MGiD8V.js → _bAY6mkrH.js} +1 -1
  142. package/dist/public/assets/_bAY6mkrH.js.br +0 -0
  143. package/dist/public/assets/{_sCtbaNyE2.js → _igERlCUJ2.js} +1 -1
  144. package/dist/public/assets/_igERlCUJ2.js.br +0 -0
  145. package/dist/public/assets/{_lolrb9dN.js → _nz3ixzI3.js} +1 -1
  146. package/dist/public/assets/_nz3ixzI3.js.br +0 -0
  147. package/dist/public/assets/{_D3IUSXVw.js → _tX_6AA9a.js} +1 -1
  148. package/dist/public/assets/_tX_6AA9a.js.br +0 -0
  149. package/dist/public/assets/{_B4ZyyQsV2.js → _tng7Ctl52.js} +1 -1
  150. package/dist/public/assets/_tng7Ctl52.js.br +0 -0
  151. package/dist/public/assets/{_CWGeGR1-.js → _uI46O0Ad.js} +1 -1
  152. package/dist/public/assets/_uI46O0Ad.js.br +0 -0
  153. package/dist/public/assets/{app-page-5plmHdjK.css → app-page-CBOLkS3u.css} +1 -1
  154. package/dist/public/assets/app-page-CBOLkS3u.css.br +0 -0
  155. package/dist/public/assets/diff-view-Baatv3LB.css +1 -0
  156. package/dist/public/assets/diff-view-Baatv3LB.css.br +0 -0
  157. package/dist/public/assets/new-Btf-ladG.js +1 -0
  158. package/dist/public/assets/settings-Btf-ladG.js +1 -0
  159. package/dist/public/assets/w-Btf-ladG.js +1 -0
  160. package/dist/public/assets/w._-Btf-ladG.js +1 -0
  161. package/dist/public/assets/w._-ihiSObwS.js +1 -0
  162. package/package.json +1 -1
  163. package/dist/public/assets/_5zsw-7Cr.js.br +0 -0
  164. package/dist/public/assets/_71X9fj6D.js.br +0 -0
  165. package/dist/public/assets/_9c4YB0Zk.js.br +0 -0
  166. package/dist/public/assets/_B-AJiJGO.js.br +0 -0
  167. package/dist/public/assets/_B4ZyyQsV2.js.br +0 -0
  168. package/dist/public/assets/_B8DzQMv92.js.br +0 -0
  169. package/dist/public/assets/_B8WT48P_2.js.br +0 -0
  170. package/dist/public/assets/_BBiuY4UK.js.br +0 -0
  171. package/dist/public/assets/_BNAx3Tvj.js.br +0 -0
  172. package/dist/public/assets/_BNdhhhCZ.js.br +0 -0
  173. package/dist/public/assets/_BTBSshGN.js.br +0 -0
  174. package/dist/public/assets/_BeJffPsp.js.br +0 -0
  175. package/dist/public/assets/_BkJekmrD2.js.br +0 -0
  176. package/dist/public/assets/_BpH_rTuR2.js.br +0 -0
  177. package/dist/public/assets/_Bw8PBJao.js.br +0 -0
  178. package/dist/public/assets/_C0-yuWNo2.js.br +0 -0
  179. package/dist/public/assets/_C2LcDpnr.js.br +0 -0
  180. package/dist/public/assets/_CB9aQE1R2.js.br +0 -0
  181. package/dist/public/assets/_CC7YPvFo.js.br +0 -0
  182. package/dist/public/assets/_CGtQk7b82.js.br +0 -0
  183. package/dist/public/assets/_CIjpqTI-.js.br +0 -0
  184. package/dist/public/assets/_CKhhDaA8.js.br +0 -0
  185. package/dist/public/assets/_CMWsOFy3.js.br +0 -0
  186. package/dist/public/assets/_COBgV0Ex.js.br +0 -0
  187. package/dist/public/assets/_CSZL_zs72.js.br +0 -0
  188. package/dist/public/assets/_CURT6lGE.js.br +0 -0
  189. package/dist/public/assets/_CWGeGR1-.js.br +0 -0
  190. package/dist/public/assets/_CXWT7nK9.js.br +0 -0
  191. package/dist/public/assets/_CfZzHhpg2.js.br +0 -0
  192. package/dist/public/assets/_CivgOlHG.js.br +0 -0
  193. package/dist/public/assets/_ClQgvU1_.js.br +0 -0
  194. package/dist/public/assets/_CqrvgCsT.js.br +0 -0
  195. package/dist/public/assets/_Cqt93gRb2.js.br +0 -0
  196. package/dist/public/assets/_Cs_y81HQ2.js.br +0 -0
  197. package/dist/public/assets/_CvL7IC5I.js.br +0 -4
  198. package/dist/public/assets/_Cwv4XAV0.js.br +0 -0
  199. package/dist/public/assets/_Cywp9KWf2.js.br +0 -0
  200. package/dist/public/assets/_Cz2jRq37.js.br +0 -0
  201. package/dist/public/assets/_D2MGiD8V.js.br +0 -0
  202. package/dist/public/assets/_D2bGG_RX.js.br +0 -0
  203. package/dist/public/assets/_D2x1WYfZ.js.br +0 -0
  204. package/dist/public/assets/_D3IUSXVw.js.br +0 -0
  205. package/dist/public/assets/_D5cWvWuM.js.br +0 -0
  206. package/dist/public/assets/_D8BrjHYz2.js.br +0 -0
  207. package/dist/public/assets/_DDSIV5XW2.js.br +0 -0
  208. package/dist/public/assets/_DDUZJRiJ.js.br +0 -0
  209. package/dist/public/assets/_DK8vvdFF.js.br +0 -0
  210. package/dist/public/assets/_DRA2wEgv2.js.br +0 -0
  211. package/dist/public/assets/_DVn08SF42.js.br +0 -0
  212. package/dist/public/assets/_DWIUnSeX.js.br +0 -0
  213. package/dist/public/assets/_DXW9fmgm.js.br +0 -0
  214. package/dist/public/assets/_DXmHpEMS.js.br +0 -0
  215. package/dist/public/assets/_DbpmyGgl2.js.br +0 -0
  216. package/dist/public/assets/_DcVr_TjS.js.br +0 -0
  217. package/dist/public/assets/_De67jPbo.js.br +0 -0
  218. package/dist/public/assets/_DoAI1Cio.js.br +0 -0
  219. package/dist/public/assets/_DsFfIB9W2.js.br +0 -0
  220. package/dist/public/assets/_Dxbfkc2B.js.br +0 -0
  221. package/dist/public/assets/_DyY5UoNQ.js.br +0 -0
  222. package/dist/public/assets/_IeYqvfsh2.js.br +0 -0
  223. package/dist/public/assets/_J_yTPbzZ.js.br +0 -0
  224. package/dist/public/assets/_P3pi7WhS.js.br +0 -0
  225. package/dist/public/assets/_WenLkIjY.js.br +0 -0
  226. package/dist/public/assets/_XM5e4Yae.js.br +0 -0
  227. package/dist/public/assets/_ZQ-ezWX8.js.br +0 -0
  228. package/dist/public/assets/_ahQRSeLl2.js.br +0 -0
  229. package/dist/public/assets/_e7CPMPrv.js.br +0 -0
  230. package/dist/public/assets/_i7IDJStN.js.br +0 -0
  231. package/dist/public/assets/_idtdrYvz.js.br +0 -0
  232. package/dist/public/assets/_lolrb9dN.js.br +0 -0
  233. package/dist/public/assets/_m_DP0WPC.js.br +0 -0
  234. package/dist/public/assets/_qNUpyBGd.js.br +0 -0
  235. package/dist/public/assets/_sCtbaNyE2.js.br +0 -0
  236. package/dist/public/assets/app-page-5plmHdjK.css.br +0 -0
  237. package/dist/public/assets/diff-view-DzsI9FBu.css +0 -1
  238. package/dist/public/assets/diff-view-DzsI9FBu.css.br +0 -0
  239. package/dist/public/assets/new-LrOl93NC.js +0 -1
  240. package/dist/public/assets/settings-LrOl93NC.js +0 -1
  241. package/dist/public/assets/w-LrOl93NC.js +0 -1
  242. package/dist/public/assets/w._-GgKc86fL.js +0 -1
  243. package/dist/public/assets/w._-LrOl93NC.js +0 -1
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
2
2
  import { $ as setSetting, A as setScrapedPhase, B as saveSubscription, C as agentBadge, D as agentMeta, E as agentLabel, F as manifest, G as agentChoices, H as subscribe, I as normalizeAccent, J as enabledAgents, K as allPrefs, L as setInstance, M as ACCENT_RE, N as getInstance, O as clearAgentPhase, P as iconSvg, Q as setPref, R as deleteSubscription, S as blankRow, T as agentFromCommand, U as subscriberCount, V as publish, W as subscriberJoins, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as tmux, a as ensureTmuxServer, at as DEFAULT_GITHUB_HOST, b as readHookPayload, c as killWorkspaceSessions, ct as toolById, d as newSessionArgs, dt as get, et as doctor, ft as workspacePath, g as sessionStates, gt as run, h as sendToSession, ht as git, i as disposeSessions, it as which, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as all, m as renameSession, mt as gh, n as clearTmuxStarted, nt as miseVersions, o as getSession, ot as TOOLS, p as panePids, pt as TMUX_SOCKET, q as disabledAgents, r as createSession, rt as setupPath, s as killSession, st as agentById, t as cleanEnv, tt as ghKnownHosts, u as markTmuxStarted, ut as db, v as tmuxWasStarted, vt as config, w as agentFamily, x as reportsWorking, y as AGENTS, z as pushPublicKey } from "./_CExzMbX7.js";
3
- import { $ as _el_resume, A as iconBtnRow, B as _attr_input_value, C as icon_base_default, Ct as _trailers, D as btnLg, Dt as withPageAssets, E as setPrimaryHost, Et as attrTag, F as tone, G as _attrs, H as _attr_or, I as $global, J as _content, K as _attrs_partial, L as _attr, M as inputLg, N as metaTrunc, O as btnSm, Ot as writeScope, P as phase, Q as _el_read_error, R as _attr_class, S as icon_xmark_default, St as _to_text, T as repoWebUrl$1, Tt as _var, U as _attr_select_value, V as _attr_option_value, W as _attr_style, X as _dynamic_tag, Y as _content_resume, _ as icon_refresh_default, _t as _serialize_guard, at as _hoist_read_error, b as sectionCount$1, bt as _subscribe, ct as _if, d as sideNavOpen, dt as _resume_branch, et as _escape, f as workspaceTab, ft as _scope_id, g as icon_back_default, gt as _sep, h as icon_search_default, ht as _script, it as _hoist, j as iconBtnXs, lt as _peek_scope_id, m as rankRepos, mt as _scope_with_id, n as findInput, nt as _flush_head, ot as _html, pt as _scope_reason, q as _await, r as icon_sidebar_default, rt as _for_of, st as _id, t as findIconBtn, tt as _existing_scope, u as setWorkspaceTab, ut as _resume, v as iconBtn$2, vt as _serialize_if, w as repoLabel, wt as _try, x as toast_default, xt as _template, y as row, yt as _set_serialize_reason } from "./_BLfl5xCk.js";
3
+ import { $ as _el_resume, A as iconBtnRow, B as _attr_input_value, C as icon_base_default, Ct as _trailers, D as btnLg, Dt as withPageAssets, E as setPrimaryHost, Et as attrTag, F as tone, G as _attrs, H as _attr_or, I as $global, J as _content, K as _attrs_partial, L as _attr, M as inputLg, N as metaTrunc, O as btnSm, Ot as writeScope, P as phase, Q as _el_read_error, R as _attr_class, S as icon_xmark_default, St as _to_text, T as repoWebUrl$1, Tt as _var, U as _attr_select_value, V as _attr_option_value, W as _attr_style, X as _dynamic_tag, Y as _content_resume, _ as icon_refresh_default, _t as _serialize_guard, at as _hoist_read_error, b as sectionCount$1, bt as _subscribe, ct as _if, d as sideNavOpen, dt as _resume_branch, et as _escape, f as workspaceTab, ft as _scope_id, g as icon_back_default, gt as _sep, h as icon_search_default, ht as _script, it as _hoist, j as iconBtnXs, lt as _peek_scope_id, m as rankRepos, mt as _scope_with_id, n as findInput, nt as _flush_head, ot as _html, pt as _scope_reason, q as _await, r as icon_sidebar_default, rt as _for_of, st as _id, t as findIconBtn, tt as _existing_scope, u as setWorkspaceTab, ut as _resume, v as iconBtn$2, vt as _serialize_if, w as repoLabel, wt as _try, x as toast_default, xt as _template, y as row, yt as _set_serialize_reason } from "./_mv7NEfX0.js";
4
4
  import fs from "node:fs";
5
5
  import { createServer } from "node:http";
6
6
  import path from "node:path";
@@ -3361,14 +3361,14 @@ var page_head_default = _template("q", (input) => {
3361
3361
  _if(() => {
3362
3362
  if (input.backHref) {
3363
3363
  const $scope1_id = _scope_id();
3364
- _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_cH"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
3364
+ _html(`<a${_attr("href", input.backHref)}${_attr_class([iconBtnRow, "_cV"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
3365
3365
  icon_back_default({ size: 16 });
3366
3366
  _html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 0))}`);
3367
3367
  _serialize_if($scope0_reason, 2) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 0) && _scope_with_id($scope0_id) });
3368
3368
  return 0;
3369
3369
  } else if (input.onBack) {
3370
3370
  const $scope2_id = _scope_id();
3371
- _html(`<button${_attr_class([iconBtnRow, "_cH"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
3371
+ _html(`<button${_attr_class([iconBtnRow, "_cV"])}${_attr_or("title", input.backTitle, " title=\"Back (Esc)\"")}${_attr_or("aria-label", input.backTitle, " aria-label=Back")}>`);
3372
3372
  icon_back_default({ size: 16 });
3373
3373
  _html(`</button>${_el_resume($scope2_id, "a")}`);
3374
3374
  _script($scope2_id, "q0");
@@ -3419,7 +3419,7 @@ var icon_agent_default = _template("E", (input) => {
3419
3419
  _if(() => {
3420
3420
  if (d) {
3421
3421
  const $scope1_id = _scope_id();
3422
- _html(`<svg${_attr_class(["_k", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=currentColor fill-rule=evenodd aria-hidden=true><path${_attr("d", d)}></path>${_el_resume($scope1_id, "b", $sg__input_agent)}`);
3422
+ _html(`<svg${_attr_class(["_e", input.class])}${_attr("width", size)}${_attr("height", size)} viewBox="0 0 24 24" fill=currentColor fill-rule=evenodd aria-hidden=true><path${_attr("d", d)}></path>${_el_resume($scope1_id, "b", $sg__input_agent)}`);
3423
3423
  _if(() => {
3424
3424
  if (badge) {
3425
3425
  const $scope3_id = _scope_id();
@@ -3459,7 +3459,7 @@ var icon_agent_default = _template("E", (input) => {
3459
3459
  n: $badge__closures
3460
3460
  });
3461
3461
  });
3462
- var usageNote = "_c4 _S";
3462
+ var usageNote = "_de _M";
3463
3463
  //#endregion
3464
3464
  //#region src/tags/usage-meters.marko
3465
3465
  function duration(ms) {
@@ -3483,11 +3483,11 @@ var usage_meters_default = _template("B", (input) => {
3483
3483
  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);
3484
3484
  const $scope0_id = _scope_id();
3485
3485
  const agent = input.agent;
3486
- _html(`<div${_attr_class(["_cY", { ["_cZ"]: input.hideName }])}><div${_attr_class("_c0")}>`);
3486
+ _html(`<div${_attr_class(["_c9", { ["_c_"]: input.hideName }])}><div${_attr_class("_da")}>`);
3487
3487
  _if(() => {
3488
3488
  if (!input.hideName) {
3489
3489
  const $scope1_id = _scope_id();
3490
- _html(`<strong${_attr_class("_di")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
3490
+ _html(`<strong${_attr_class("_dt")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
3491
3491
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
3492
3492
  return 0;
3493
3493
  }
@@ -3495,7 +3495,7 @@ var usage_meters_default = _template("B", (input) => {
3495
3495
  _if(() => {
3496
3496
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
3497
3497
  const $scope2_id = _scope_id();
3498
- _html(`<span${_attr_class("_c1")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
3498
+ _html(`<span${_attr_class("_db")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
3499
3499
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
3500
3500
  return 0;
3501
3501
  }
@@ -3503,19 +3503,19 @@ var usage_meters_default = _template("B", (input) => {
3503
3503
  _if(() => {
3504
3504
  if (agent.stale_seconds != null) {
3505
3505
  const $scope3_id = _scope_id();
3506
- _html(`<span${_attr_class("_c2")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>⚠ ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "b", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
3506
+ _html(`<span${_attr_class("_dc")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>⚠ ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "b", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
3507
3507
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
3508
3508
  return 0;
3509
3509
  }
3510
3510
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
3511
- _html(`</div><div${_attr_class(["_c3", { ["_dj"]: agent.stale_seconds != null }])}>`);
3511
+ _html(`</div><div${_attr_class(["_dd", { ["_du"]: agent.stale_seconds != null }])}>`);
3512
3512
  _for_of(agent.windows || [], (win) => {
3513
3513
  const $scope4_id = _scope_id();
3514
3514
  const pct = pctText$1(win.used_percent);
3515
3515
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
3516
- const fillClass = win.used_percent >= 90 ? "_db" : win.used_percent >= 70 ? "_da" : win.used_percent >= 40 ? "_c_" : "_c9";
3517
- const pctClass = win.used_percent >= 90 ? "_dg" : win.used_percent >= 70 ? "_df" : win.used_percent >= 40 ? "_de" : "_dd";
3518
- _html(`<div${_attr_class("_c5")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_c6")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_c7")}><span${_attr_class(["_c8", 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(["_dc", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_dh")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
3516
+ const fillClass = win.used_percent >= 90 ? "_dm" : win.used_percent >= 70 ? "_dl" : win.used_percent >= 40 ? "_dk" : "_dj";
3517
+ const pctClass = win.used_percent >= 90 ? "_dr" : win.used_percent >= 70 ? "_dq" : win.used_percent >= 40 ? "_dp" : "_do";
3518
+ _html(`<div${_attr_class("_df")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_dg")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_dh")}><span${_attr_class(["_di", 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(["_dn", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_ds")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
3519
3519
  $si__input_agent && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
3520
3520
  }, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
3521
3521
  _if(() => {
@@ -3599,7 +3599,7 @@ var modal_view_default = _template("o", (input) => {
3599
3599
  const $scope2_id = _scope_id();
3600
3600
  _html(`<form method=dialog${_attr_class("_e1")}>`);
3601
3601
  dialog_close_default({
3602
- class: ["_o", "_p"],
3602
+ class: ["_i", "_j"],
3603
3603
  content: _content("o0", () => {
3604
3604
  _scope_reason();
3605
3605
  _scope_id();
@@ -3663,9 +3663,9 @@ var prompt_dialog_default = _template("r", (input) => {
3663
3663
  footer: attrTag({ content: _content_resume("r5", () => {
3664
3664
  _scope_reason();
3665
3665
  const $scope1_id = _scope_id();
3666
- _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("_y")}></div>`);
3666
+ _html(`<button type=button${_attr_class(["_i", "_j"])}${_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("_s")}></div>`);
3667
3667
  dialog_close_default({
3668
- class: "_o",
3668
+ class: "_i",
3669
3669
  content: _content("r2", () => {
3670
3670
  _scope_reason();
3671
3671
  _scope_id();
@@ -4025,7 +4025,7 @@ var settings_page_default = _template("u", (input) => {
4025
4025
  const $childScope = _peek_scope_id();
4026
4026
  icon_refresh_default({
4027
4027
  size: 14,
4028
- class: refreshing && "_E"
4028
+ class: refreshing && "_y"
4029
4029
  });
4030
4030
  _html(`</button>${_el_resume($scope10_id, "a")}`);
4031
4031
  _script($scope10_id, "u27");
@@ -4056,11 +4056,11 @@ var settings_page_default = _template("u", (input) => {
4056
4056
  return 0;
4057
4057
  }
4058
4058
  }, $scope0_id, "e", 1, 1, 1, 0, 1);
4059
- _html(`<section${_attr_class("_bs")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bt")}><h2${_attr("id", agentsId)}${_attr_class("_bH")}>Agents</h2><div${_attr_class("_y")}></div><label${_attr_class("_cf")}><span${_attr_class("_S")}>Default</span><span${_attr_class("_m")}>`);
4059
+ _html(`<section${_attr_class("_bs")}${_attr("aria-labelledby", agentsId)}><div${_attr_class("_bt")}><h2${_attr("id", agentsId)}${_attr_class("_bH")}>Agents</h2><div${_attr_class("_s")}></div><label${_attr_class("_cf")}><span${_attr_class("_M")}>Default</span><span${_attr_class("_g")}>`);
4060
4060
  _attr_select_value($scope0_id, "m", input.preferred, _resume(function(v) {
4061
4061
  setPreferred(v);
4062
4062
  }, "u1", $scope0_id), () => {
4063
- _html(`<select${_attr_class(["_n", "_cg"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
4063
+ _html(`<select${_attr_class(["_h", "_cg"])} aria-label="Default agent (starts when a workspace has no session yet)" title="Starts when a workspace has no session yet">`);
4064
4064
  _for_of(input.agents.filter((a) => a !== "shell"), (id) => {
4065
4065
  const $scope48_id = _scope_id();
4066
4066
  _html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope48_id, "b", $sg__input_agents)}</option>${_el_resume($scope48_id, "a", $sg__input_agents)}`);
@@ -4072,7 +4072,7 @@ var settings_page_default = _template("u", (input) => {
4072
4072
  const $childScope3 = _peek_scope_id();
4073
4073
  icon_refresh_default({
4074
4074
  size: 14,
4075
- class: usageRefreshing && "_E"
4075
+ class: usageRefreshing && "_y"
4076
4076
  });
4077
4077
  _html(`</button>${_el_resume($scope0_id, "n")}</div><ul${_attr_class(agentGrid)}>`);
4078
4078
  _for_of(families, (a) => {
@@ -4092,7 +4092,7 @@ var settings_page_default = _template("u", (input) => {
4092
4092
  _if(() => {
4093
4093
  if (lone && input.preferred === lone.id) {
4094
4094
  const $scope49_id = _scope_id();
4095
- _html(`<span${_attr_class(["_I", tone.accent])}>default</span>`);
4095
+ _html(`<span${_attr_class(["_C", tone.accent])}>default</span>`);
4096
4096
  writeScope($scope49_id, {});
4097
4097
  return 0;
4098
4098
  }
@@ -4101,7 +4101,7 @@ var settings_page_default = _template("u", (input) => {
4101
4101
  _if(() => {
4102
4102
  if (active.has(a.id)) {
4103
4103
  const $scope11_id = _scope_id();
4104
- _html(`<span${_attr_class("_ca")}><span${_attr_class("_F")}></span><!>${_escape(active.get(a.id) || "Starting…")}${_el_resume($scope11_id, "c")}</span>`);
4104
+ _html(`<span${_attr_class("_ca")}><span${_attr_class("_z")}></span><!>${_escape(active.get(a.id) || "Starting…")}${_el_resume($scope11_id, "c")}</span>`);
4105
4105
  _subscribe($active__closures, writeScope($scope11_id, {}));
4106
4106
  return 0;
4107
4107
  } else if (!a.installed) {
@@ -4125,8 +4125,8 @@ var settings_page_default = _template("u", (input) => {
4125
4125
  if (lone) {
4126
4126
  const $scope43_id = _scope_id();
4127
4127
  _html(`<button${_attr_class([
4128
- "_I",
4129
- "_K",
4128
+ "_C",
4129
+ "_E",
4130
4130
  { [tone.ok]: lone.enabled }
4131
4131
  ])} 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($scope43_id, "b")}</button>${_el_resume($scope43_id, "a")}`);
4132
4132
  _script($scope43_id, "u32");
@@ -4149,18 +4149,18 @@ var settings_page_default = _template("u", (input) => {
4149
4149
  agent: inst.id,
4150
4150
  size: 15
4151
4151
  });
4152
- _html(`<span${_attr_class(["_cl", "_x"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
4152
+ _html(`<span${_attr_class(["_cl", "_r"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
4153
4153
  _if(() => {
4154
4154
  if (input.preferred === inst.id) {
4155
4155
  const $scope51_id = _scope_id();
4156
- _html(`<span${_attr_class(["_I", tone.accent])}>default</span>`);
4156
+ _html(`<span${_attr_class(["_C", tone.accent])}>default</span>`);
4157
4157
  writeScope($scope51_id, {});
4158
4158
  return 0;
4159
4159
  }
4160
4160
  }, $scope3_id, "f", 1, 1, 1, 0, 1);
4161
- _html(`<span${_attr_class("_y")}></span><button${_attr_class([
4162
- "_I",
4163
- "_K",
4161
+ _html(`<span${_attr_class("_s")}></span><button${_attr_class([
4162
+ "_C",
4163
+ "_E",
4164
4164
  { [tone.ok]: inst.enabled }
4165
4165
  ])} role=switch aria-checked=${inst.enabled ? "true" : "false"} title=${inst.enabled ? "\"Shown in session pickers. Hide it\"" : "\"Hidden from session pickers. Show it\""}>${inst.enabled ? "on" : "off"}${_el_resume($scope3_id, "i")}</button>${_el_resume($scope3_id, "h")}</div>${_el_resume($scope3_id, "b")}`);
4166
4166
  _for_of(accounts, (u) => {
@@ -4235,7 +4235,7 @@ var settings_page_default = _template("u", (input) => {
4235
4235
  _if(() => {
4236
4236
  if (!usage && families.length) {
4237
4237
  const $scope56_id = _scope_id();
4238
- _html(`<p${_attr_class("_bD")}><span${_attr_class("_F")}></span> Loading usage…</p>`);
4238
+ _html(`<p${_attr_class("_bD")}><span${_attr_class("_z")}></span> Loading usage…</p>`);
4239
4239
  writeScope($scope56_id, {});
4240
4240
  return 0;
4241
4241
  } else if (usage?.error) {
@@ -4249,11 +4249,11 @@ var settings_page_default = _template("u", (input) => {
4249
4249
  _for_of(setup?.github || [], (h) => {
4250
4250
  const $scope12_id = _scope_id();
4251
4251
  const $for_content4__h_host__closures = /* @__PURE__ */ new Set();
4252
- _html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}><span${_attr_class("_bA")}><span${_attr_class(["_bz", "_x"])}>${_escape(h.host)}${_el_resume($scope12_id, "e")}</span>`);
4252
+ _html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}><span${_attr_class("_bA")}><span${_attr_class(["_bz", "_r"])}>${_escape(h.host)}${_el_resume($scope12_id, "e")}</span>`);
4253
4253
  _if(() => {
4254
4254
  if (h.isEnterprise) {
4255
4255
  const $scope59_id = _scope_id();
4256
- _html(`<span${_attr_class("_I")}>Enterprise</span>`);
4256
+ _html(`<span${_attr_class("_C")}>Enterprise</span>`);
4257
4257
  writeScope($scope59_id, {});
4258
4258
  return 0;
4259
4259
  }
@@ -4262,12 +4262,12 @@ var settings_page_default = _template("u", (input) => {
4262
4262
  _if(() => {
4263
4263
  if (active.has(h.host) && authCodes.has(h.host)) {
4264
4264
  const $scope23_id = _scope_id();
4265
- _html(`<span${_attr_class("_ca")}><span${_attr_class("_F")}></span> Enter code <strong${_attr_class("_cu")}>${_escape(authCodes.get(h.host))}${_el_resume($scope23_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_cv")}>${_escape(h.host)}${_el_resume($scope23_id, "f")}/login/device</a>${_el_resume($scope23_id, "e")}</span>`);
4265
+ _html(`<span${_attr_class("_ca")}><span${_attr_class("_z")}></span> Enter code <strong${_attr_class("_cu")}>${_escape(authCodes.get(h.host))}${_el_resume($scope23_id, "d")}</strong> at <a${_attr("href", `https://${h.host}/login/device`)} target=_blank rel=noopener${_attr_class("_cv")}>${_escape(h.host)}${_el_resume($scope23_id, "f")}/login/device</a>${_el_resume($scope23_id, "e")}</span>`);
4266
4266
  _subscribe($authCodes__closures, writeScope($scope23_id, {}));
4267
4267
  return 0;
4268
4268
  } else if (active.has(h.host)) {
4269
4269
  const $scope13_id = _scope_id();
4270
- _html(`<span${_attr_class("_ca")}><span${_attr_class("_F")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope13_id, "c")}</span>`);
4270
+ _html(`<span${_attr_class("_ca")}><span${_attr_class("_z")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope13_id, "c")}</span>`);
4271
4271
  _subscribe($active__closures, writeScope($scope13_id, { Cdo: 1 }));
4272
4272
  return 1;
4273
4273
  } else if (h.authed) {
@@ -4296,8 +4296,8 @@ var settings_page_default = _template("u", (input) => {
4296
4296
  } else {
4297
4297
  const $scope25_id = _scope_id();
4298
4298
  _html(`<button${_attr_class([btnSm, {
4299
- ["_r"]: confirmingRemove === `out:${h.host}`,
4300
- ["_q"]: confirmingRemove === `out:${h.host}`
4299
+ ["_l"]: confirmingRemove === `out:${h.host}`,
4300
+ ["_k"]: confirmingRemove === `out:${h.host}`
4301
4301
  }])}${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($scope25_id, "b")}</button>${_el_resume($scope25_id, "a")}`);
4302
4302
  _script($scope25_id, "u35");
4303
4303
  _subscribe($for_content4__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope25_id, {})));
@@ -4309,9 +4309,9 @@ var settings_page_default = _template("u", (input) => {
4309
4309
  const $scope26_id = _scope_id();
4310
4310
  _html(`<button${_attr_class([
4311
4311
  "_bC",
4312
- "_2",
4313
- "_3",
4314
- { ["_q"]: confirmingRemove === h.host }
4312
+ "_W",
4313
+ "_X",
4314
+ { ["_k"]: confirmingRemove === h.host }
4315
4315
  ])}${confirmingRemove === h.host ? _attr("title", `Forget ${h.host}? (gh stays signed in)`) : _attr("title", `Forget ${h.host}`)}>`);
4316
4316
  _if(() => {
4317
4317
  if (confirmingRemove === h.host) {
@@ -4359,14 +4359,14 @@ var settings_page_default = _template("u", (input) => {
4359
4359
  _if(() => {
4360
4360
  if (setup) {
4361
4361
  const $scope34_id = _scope_id();
4362
- _html(`<form${_attr_class("_ct")}><label${_attr_class("_W")}>`);
4362
+ _html(`<form${_attr_class("_ct")}><label${_attr_class("_Q")}>`);
4363
4363
  icon_plus_default({
4364
4364
  size: 14,
4365
- class: "_X"
4365
+ class: "_R"
4366
4366
  });
4367
4367
  _html(`<input${_attr_input_value($scope34_id, "d", hostInput, _resume((_new_hostInput) => {
4368
4368
  hostInput = _new_hostInput;
4369
- }, "u2", $scope34_id))}${_attr_class([inputLg, "_Y"])} type=text placeholder="Add a GitHub Enterprise host, e.g. github.example.com" aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope34_id, "d")}</label><button${_attr_class(btnSm)} type=submit${_attr("disabled", !hostInput.trim() || hostBusy)}>${hostBusy ? "Adding…" : "Add host"}${_el_resume($scope34_id, "f")}</button>${_el_resume($scope34_id, "e")}</form>${_el_resume($scope34_id, "a")}`);
4369
+ }, "u2", $scope34_id))}${_attr_class([inputLg, "_S"])} type=text placeholder="Add a GitHub Enterprise host, e.g. github.example.com" aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope34_id, "d")}</label><button${_attr_class(btnSm)} type=submit${_attr("disabled", !hostInput.trim() || hostBusy)}>${hostBusy ? "Adding…" : "Add host"}${_el_resume($scope34_id, "f")}</button>${_el_resume($scope34_id, "e")}</form>${_el_resume($scope34_id, "a")}`);
4370
4370
  _script($scope34_id, "u37");
4371
4371
  writeScope($scope34_id, {});
4372
4372
  return 0;
@@ -4389,7 +4389,7 @@ var settings_page_default = _template("u", (input) => {
4389
4389
  return 0;
4390
4390
  }
4391
4391
  }, $scope0_id, "a3", 1, 1, 1, 0, 1);
4392
- _html(`<div${_attr_class("_y")}></div>`);
4392
+ _html(`<div${_attr_class("_s")}></div>`);
4393
4393
  _if(() => {
4394
4394
  if (outdatedIds.length > 1) {
4395
4395
  const $scope14_id = _scope_id();
@@ -4422,16 +4422,16 @@ var settings_page_default = _template("u", (input) => {
4422
4422
  _if(() => {
4423
4423
  if (self) {
4424
4424
  const $scope36_id = _scope_id();
4425
- _html(`<li${_attr_class(row)}><span${_attr_class(["_cp", "_x"])}>work</span>`);
4425
+ _html(`<li${_attr_class(row)}><span${_attr_class(["_cp", "_r"])}>work</span>`);
4426
4426
  _if(() => {
4427
4427
  if (selfUpdating) {
4428
4428
  const $scope63_id = _scope_id();
4429
- _html(`<span${_attr_class("_ca")}><span${_attr_class("_F")}></span>Updating — the app restarts and reloads when it is done…</span>`);
4429
+ _html(`<span${_attr_class("_ca")}><span${_attr_class("_z")}></span>Updating — the app restarts and reloads when it is done…</span>`);
4430
4430
  writeScope($scope63_id, {});
4431
4431
  return 0;
4432
4432
  } else {
4433
4433
  const $scope37_id = _scope_id();
4434
- _html(`<span${_attr_class(["_x", metaTrunc])} title="Running version">v<!>${_escape(self.version)}${_el_resume($scope37_id, "b")}</span>`);
4434
+ _html(`<span${_attr_class(["_r", metaTrunc])} title="Running version">v<!>${_escape(self.version)}${_el_resume($scope37_id, "b")}</span>`);
4435
4435
  _if(() => {
4436
4436
  if (self.install === "source") {
4437
4437
  const $scope64_id = _scope_id();
@@ -4455,11 +4455,11 @@ var settings_page_default = _template("u", (input) => {
4455
4455
  return 1;
4456
4456
  }
4457
4457
  }, $scope36_id, "c");
4458
- _html(`<span${_attr_class("_y")}></span>`);
4458
+ _html(`<span${_attr_class("_s")}></span>`);
4459
4459
  _if(() => {
4460
4460
  if (!selfUpdating) {
4461
4461
  const $scope66_id = _scope_id();
4462
- _html(`<span${_attr_class("_I")}>app</span>`);
4462
+ _html(`<span${_attr_class("_C")}>app</span>`);
4463
4463
  writeScope($scope66_id, {});
4464
4464
  return 0;
4465
4465
  }
@@ -4476,11 +4476,11 @@ var settings_page_default = _template("u", (input) => {
4476
4476
  const $for_content5__t_path__closures = /* @__PURE__ */ new Set();
4477
4477
  const $for_content5__t_latest__closures = /* @__PURE__ */ new Set();
4478
4478
  const $for_content5__t_id__closures = /* @__PURE__ */ new Set();
4479
- _html(`<li${_attr_class([row, { ["_co"]: !t.installed }])}><span${_attr_class(["_cp", "_x"])}>${_escape(t.label)}${_el_resume($scope17_id, "c")}</span>`);
4479
+ _html(`<li${_attr_class([row, { ["_co"]: !t.installed }])}><span${_attr_class(["_cp", "_r"])}>${_escape(t.label)}${_el_resume($scope17_id, "c")}</span>`);
4480
4480
  _if(() => {
4481
4481
  if (active.has(t.id)) {
4482
4482
  const $scope18_id = _scope_id();
4483
- _html(`<span${_attr_class("_ca")}><span${_attr_class("_F")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope18_id, "c")}</span>`);
4483
+ _html(`<span${_attr_class("_ca")}><span${_attr_class("_z")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope18_id, "c")}</span>`);
4484
4484
  _subscribe($active__closures, writeScope($scope18_id, { Cdo: 2 }));
4485
4485
  return 0;
4486
4486
  } else if (t.installed) {
@@ -4488,13 +4488,13 @@ var settings_page_default = _template("u", (input) => {
4488
4488
  _if(() => {
4489
4489
  if (t.version) {
4490
4490
  const $scope31_id = _scope_id();
4491
- _html(`<button${_attr_class(["_cq", "_x"])}${_attr("title", `${t.path || t.label}. Pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope31_id, "b")}</button>${_el_resume($scope31_id, "a")}`);
4491
+ _html(`<button${_attr_class(["_cq", "_r"])}${_attr("title", `${t.path || t.label}. Pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope31_id, "b")}</button>${_el_resume($scope31_id, "a")}`);
4492
4492
  _script($scope31_id, "u42");
4493
4493
  _subscribe($for_content5__t_path__closures, _subscribe($for_content5__t_version__closures, _subscribe($for_content5__t_label__closures, writeScope($scope31_id, { Cu: 1 }))));
4494
4494
  return 0;
4495
4495
  } else {
4496
4496
  const $scope67_id = _scope_id();
4497
- _html(`<span${_attr_class([metaTrunc, "_x"])}${_attr("title", t.path)}>${_escape(t.path)}${_el_resume($scope67_id, "b")}</span>${_el_resume($scope67_id, "a")}`);
4497
+ _html(`<span${_attr_class([metaTrunc, "_r"])}${_attr("title", t.path)}>${_escape(t.path)}${_el_resume($scope67_id, "b")}</span>${_el_resume($scope67_id, "a")}`);
4498
4498
  _subscribe($for_content5__t_path__closures, writeScope($scope67_id, { Cx: 1 }));
4499
4499
  return 1;
4500
4500
  }
@@ -4522,14 +4522,14 @@ var settings_page_default = _template("u", (input) => {
4522
4522
  return 3;
4523
4523
  }
4524
4524
  }, $scope17_id, "d");
4525
- _html(`<span${_attr_class("_y")}></span>`);
4525
+ _html(`<span${_attr_class("_s")}></span>`);
4526
4526
  _if(() => {
4527
4527
  if (!active.has(t.id)) {
4528
4528
  const $scope27_id = _scope_id();
4529
4529
  _if(() => {
4530
4530
  if (t.required) {
4531
4531
  const $scope70_id = _scope_id();
4532
- _html(`<span${_attr_class("_I")}>required</span>`);
4532
+ _html(`<span${_attr_class("_C")}>required</span>`);
4533
4533
  writeScope($scope70_id, {});
4534
4534
  return 0;
4535
4535
  }
@@ -4545,9 +4545,9 @@ var settings_page_default = _template("u", (input) => {
4545
4545
  const $scope28_id = _scope_id();
4546
4546
  _html(`<button${_attr_class([
4547
4547
  iconBtnXs,
4548
- "_2",
4549
- "_3",
4550
- { ["_q"]: confirmingRemove === t.id }
4548
+ "_W",
4549
+ "_X",
4550
+ { ["_k"]: confirmingRemove === t.id }
4551
4551
  ])}${confirmingRemove === t.id ? _attr("title", `Remove ${t.label}?`) : _attr("title", `Remove ${t.label}`)}>`);
4552
4552
  _if(() => {
4553
4553
  if (confirmingRemove === t.id) {
@@ -4593,23 +4593,23 @@ var settings_page_default = _template("u", (input) => {
4593
4593
  _if(() => {
4594
4594
  if (setup && setup.mise.installed) {
4595
4595
  const $scope19_id = _scope_id();
4596
- _html(`<div><label${_attr_class("_W")}>`);
4596
+ _html(`<div><label${_attr_class("_Q")}>`);
4597
4597
  icon_search_default({
4598
4598
  size: 14,
4599
- class: "_X"
4599
+ class: "_R"
4600
4600
  });
4601
- _html(`<input${_attr_input_value($scope19_id, "c", query, search)}${_attr_class([inputLg, "_Y"])} type=text placeholder="Add a tool from the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope19_id, "c")}</label>`);
4601
+ _html(`<input${_attr_input_value($scope19_id, "c", query, search)}${_attr_class([inputLg, "_S"])} type=text placeholder="Add a tool from the mise registry…" aria-label="Search the mise registry" autocomplete=off>${_el_resume($scope19_id, "c")}</label>`);
4602
4602
  _if(() => {
4603
4603
  if (hits && hits.length) {
4604
4604
  const $scope20_id = _scope_id();
4605
4605
  _html(`<ul${_attr_class([toolGrid, "_cs"])}>`);
4606
4606
  _for_of(hits, (h) => {
4607
4607
  const $scope21_id = _scope_id();
4608
- _html(`<li${_attr_class(row)}><div${_attr_class("_by")}><span${_attr_class(["_cp", "_x"])}>${_escape(h.name)}${_el_resume($scope21_id, "d")}</span>`);
4608
+ _html(`<li${_attr_class(row)}><div${_attr_class("_by")}><span${_attr_class(["_cp", "_r"])}>${_escape(h.name)}${_el_resume($scope21_id, "d")}</span>`);
4609
4609
  _if(() => {
4610
4610
  if (active.has(h.name)) {
4611
4611
  const $scope22_id = _scope_id();
4612
- _html(`<span${_attr_class("_ca")}><span${_attr_class("_F")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope22_id, "c")}</span>`);
4612
+ _html(`<span${_attr_class("_ca")}><span${_attr_class("_z")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope22_id, "c")}</span>`);
4613
4613
  _subscribe($active__closures, writeScope($scope22_id, { Cdo: 4 }));
4614
4614
  return 0;
4615
4615
  } else if (h.description) {
@@ -4626,7 +4626,7 @@ var settings_page_default = _template("u", (input) => {
4626
4626
  _if(() => {
4627
4627
  if (h.installed) {
4628
4628
  const $scope74_id = _scope_id();
4629
- _html(`<span${_attr_class("_I")}>installed</span>`);
4629
+ _html(`<span${_attr_class("_C")}>installed</span>`);
4630
4630
  writeScope($scope74_id, {});
4631
4631
  return 0;
4632
4632
  } else {
@@ -4666,7 +4666,7 @@ var settings_page_default = _template("u", (input) => {
4666
4666
  }, $scope0_id, "ab", 1, 1, 1, 0, 1);
4667
4667
  _html(`</section><section${_attr_class("_bs")}${_attr("aria-labelledby", appearanceId)}><div${_attr_class("_bt")}><h2${_attr("id", appearanceId)}${_attr_class("_bH")}>Appearance</h2></div><div${_attr_class(["_bx", "_cw"])}><label${_attr_class("_cx")}><span${_attr_class("_cy")}>Name</span><input${_attr_input_value($scope0_id, "ai", input.instance.name, _resume(function(v) {
4668
4668
  setInstance({ name: v });
4669
- }, "u3", $scope0_id))}${_attr_class(["_U", "_cz"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false aria-describedby=look-name-hint>${_el_resume($scope0_id, "ai")}<span id=look-name-hint${_attr_class(["_S", "_cA"])}>Tab title, home-screen icon, and notifications.</span></label><div${_attr_class("_cx")} role=radiogroup aria-label="Accent colour"><span${_attr_class("_cy")}>Accent</span><span${_attr_class("_cB")}><button type=button${_attr_class([
4669
+ }, "u3", $scope0_id))}${_attr_class(["_O", "_cz"])} type=text placeholder=work maxlength=32 autocomplete=off spellcheck=false aria-describedby=look-name-hint>${_el_resume($scope0_id, "ai")}<span id=look-name-hint${_attr_class(["_M", "_cA"])}>Tab title, home-screen icon, and notifications.</span></label><div${_attr_class("_cx")} role=radiogroup aria-label="Accent colour"><span${_attr_class("_cy")}>Accent</span><span${_attr_class("_cB")}><button type=button${_attr_class([
4670
4670
  "_cC",
4671
4671
  "_cE",
4672
4672
  { ["_cD"]: !input.instance.accent }
@@ -4687,7 +4687,7 @@ var settings_page_default = _template("u", (input) => {
4687
4687
  { ["_cD"]: customOn }
4688
4688
  ])}${customOn ? _attr_style(`--swatch:${input.instance.accent}`) : ""} title="Custom colour"><input${_attr_input_value($scope0_id, "aq", input.instance.accent || "#3556d8", _resume(function(v) {
4689
4689
  setInstance({ accent: v });
4690
- }, "u4", $scope0_id))}${_attr_class("_cG")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "aq")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "ap", $sg__input_instance_accent)}</span><span${_attr_class(["_S", "_cA"])}>Selected rows, buttons, and the icon.</span></div></div></section></div></div></div>`);
4690
+ }, "u4", $scope0_id))}${_attr_class("_cG")} type=color aria-label="Custom accent colour">${_el_resume($scope0_id, "aq")}<span aria-hidden=true>+</span></label>${_el_resume($scope0_id, "ap", $sg__input_instance_accent)}</span><span${_attr_class(["_M", "_cA"])}>Selected rows, buttons, and the icon.</span></div></div></section></div></div></div>`);
4691
4691
  _if(() => {
4692
4692
  if (versionPick) {
4693
4693
  const $scope29_id = _scope_id();
@@ -4800,11 +4800,11 @@ var settings_page_default = _template("u", (input) => {
4800
4800
  //#region src/tags/new-workspace.css.ts
4801
4801
  var content$1 = "_bI _bk";
4802
4802
  var section$1 = "_bM _bs";
4803
- var curBase = "_bR _T _S";
4803
+ var curBase = "_bR _N _M";
4804
4804
  var archived = "_bV _bs";
4805
- var archivedHint = "_bW _S";
4805
+ var archivedHint = "_bW _M";
4806
4806
  var archivedCard = "_bX _bx";
4807
- var resultBranch = "_cO _Z _j";
4807
+ var resultBranch = "_cN _T _d";
4808
4808
  //#endregion
4809
4809
  //#region src/tags/branch-pick.marko
4810
4810
  var branch_pick_default = _template("d", (input) => {
@@ -4815,11 +4815,11 @@ var branch_pick_default = _template("d", (input) => {
4815
4815
  let branches = null;
4816
4816
  let defaultBranch = null;
4817
4817
  let branchFilter = "";
4818
- _html(`<div${_attr_class("_cP")}>`);
4818
+ _html(`<div${_attr_class("_cO")}>`);
4819
4819
  _if(() => {
4820
4820
  {
4821
4821
  const $scope4_id = _scope_id();
4822
- _html(`<p${_attr_class("_bD")}><span${_attr_class("_F")}></span> Loading branches…</p>`);
4822
+ _html(`<p${_attr_class("_bD")}><span${_attr_class("_z")}></span> Loading branches…</p>`);
4823
4823
  writeScope($scope4_id, {});
4824
4824
  return 0;
4825
4825
  }
@@ -4871,15 +4871,15 @@ var repo_picker_default = _template("s", (input) => {
4871
4871
  const toggleBranches = _resume((fullName) => {
4872
4872
  branchesFor = branchesFor === fullName ? null : fullName;
4873
4873
  }, "s4", $scope0_id);
4874
- _html(`<div${_attr_class("_cI")}><label${_attr_class("_W")}>`);
4874
+ _html(`<div${_attr_class("_cH")}><label${_attr_class("_Q")}>`);
4875
4875
  icon_search_default({
4876
4876
  size: 14,
4877
- class: "_X"
4877
+ class: "_R"
4878
4878
  });
4879
4879
  _html(`<input${_attr_input_value($scope0_id, "d", filter, _resume(function(v) {
4880
4880
  filter = v;
4881
4881
  highlight = 0;
4882
- }, "s0", $scope0_id))}${_attr_class([inputLg, "_Y"])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input.disabled)}>${_el_resume($scope0_id, "d")}</label>`);
4882
+ }, "s0", $scope0_id))}${_attr_class([inputLg, "_S"])} placeholder="Add a repo…" aria-label="Add a repo"${_attr("disabled", input.disabled)}>${_el_resume($scope0_id, "d")}</label>`);
4883
4883
  _if(() => {
4884
4884
  if (filter && !catalog) {
4885
4885
  const $scope5_id = _scope_id();
@@ -4891,15 +4891,15 @@ var repo_picker_default = _template("s", (input) => {
4891
4891
  _if(() => {
4892
4892
  if (results.length) {
4893
4893
  const $scope1_id = _scope_id();
4894
- _html(`<ul${_attr_class("_cJ")}>`);
4894
+ _html(`<ul${_attr_class("_cI")}>`);
4895
4895
  _for_of(results, (repo, i) => {
4896
4896
  const $scope2_id = _scope_id();
4897
- _html(`<li><div${_attr_class(["_cL", { ["_cK"]: i === highlight }])}><button${_attr_class("_cM")}>`);
4897
+ _html(`<li><div${_attr_class(["_cK", { ["_cJ"]: i === highlight }])}><button${_attr_class("_cL")}>`);
4898
4898
  icon_plus_default({
4899
4899
  size: 12,
4900
- class: "_cR"
4900
+ class: "_cQ"
4901
4901
  });
4902
- _html(`<span${_attr_class("_cS")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope2_id, "e")}</span></button>${_el_resume($scope2_id, "b")}<button${_attr_class([resultBranch, { ["_cN"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>⎇</button>${_el_resume($scope2_id, "f")}</div>${_el_resume($scope2_id, "a")}`);
4902
+ _html(`<span${_attr_class("_cR")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope2_id, "e")}</span></button>${_el_resume($scope2_id, "b")}<button${_attr_class([resultBranch, { ["_cM"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>⎇</button>${_el_resume($scope2_id, "f")}</div>${_el_resume($scope2_id, "a")}`);
4903
4903
  _if(() => {
4904
4904
  if (branchesFor === repo.nameWithOwner) {
4905
4905
  const $scope3_id = _scope_id();
@@ -5098,16 +5098,16 @@ var new_workspace_default = _template("p", (input) => {
5098
5098
  const $childScope2 = _peek_scope_id();
5099
5099
  icon_refresh_default({
5100
5100
  size: 14,
5101
- class: catalogRefreshing && "_E"
5101
+ class: catalogRefreshing && "_y"
5102
5102
  });
5103
5103
  _html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("_bO")}>`);
5104
5104
  _for_of(selected, (repo) => {
5105
5105
  const $scope2_id = _scope_id();
5106
5106
  _html(`<li><div${_attr_class(row)}><span${_attr_class("_bP")}>${_escape(repoLabel(repo.fullName))}${_el_resume($scope2_id, "c")}</span><button${_attr_class([
5107
5107
  curBase,
5108
- "_x",
5108
+ "_r",
5109
5109
  { ["_bQ"]: branchesFor === repo.fullName }
5110
- ])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>${repo.baseBranch ? `⎇ ${_escape(`${repo.baseBranch}`)}` : "⎇"}${_el_resume($scope2_id, "e")}</button>${_el_resume($scope2_id, "d")}<button${_attr_class([iconBtnXs, "_2"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
5110
+ ])}${_attr("title", `Change base branch for ${repo.fullName}`)}${_attr("aria-label", `Change base branch for ${repo.fullName}`)}${_attr("disabled", busy)}>${repo.baseBranch ? `⎇ ${_escape(`${repo.baseBranch}`)}` : "⎇"}${_el_resume($scope2_id, "e")}</button>${_el_resume($scope2_id, "d")}<button${_attr_class([iconBtnXs, "_W"])}${_attr("title", `Remove ${repo.fullName}`)}${_attr("disabled", busy)}>`);
5111
5111
  icon_xmark_default({ size: 12 });
5112
5112
  _html(`</button>${_el_resume($scope2_id, "f")}</div>`);
5113
5113
  _if(() => {
@@ -5171,7 +5171,7 @@ var new_workspace_default = _template("p", (input) => {
5171
5171
  _if(() => {
5172
5172
  if (i === steps$1.length - 1) {
5173
5173
  const $scope12_id = _scope_id();
5174
- _html(`<span${_attr_class("_F")}></span>`);
5174
+ _html(`<span${_attr_class("_z")}></span>`);
5175
5175
  writeScope($scope12_id, {});
5176
5176
  return 0;
5177
5177
  } else {
@@ -5200,7 +5200,7 @@ var new_workspace_default = _template("p", (input) => {
5200
5200
  }, $scope0_id, "u", 1, 1, 1, 0, 1);
5201
5201
  _html(`<button type=button${_attr_class([
5202
5202
  btnLg,
5203
- "_p",
5203
+ "_j",
5204
5204
  "_bK"
5205
5205
  ])}${_attr("disabled", busy || !!restoring || !name.trim())}>${busy ? "Creating…" : "Create workspace"}${_el_resume($scope0_id, "w")}</button>${_el_resume($scope0_id, "v")}</div>`);
5206
5206
  _if(() => {
@@ -5209,11 +5209,11 @@ var new_workspace_default = _template("p", (input) => {
5209
5209
  _html(`<section${_attr_class(archived)}><div${_attr_class("_bN")}><h2${_attr_class("_bH")}>Archived</h2><span${_attr_class(sectionCount$1)}>${_escape(archived$1.length)}${_el_resume($scope3_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("_bv")}>`);
5210
5210
  _for_of(archived$1, (ws) => {
5211
5211
  const $scope4_id = _scope_id();
5212
- _html(`<li${_attr_class(archivedCard)}><div${_attr_class("_by")}><span${_attr_class("_bz")}>${_escape(ws.name)}${_el_resume($scope4_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_x"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope4_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope4_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
5212
+ _html(`<li${_attr_class(archivedCard)}><div${_attr_class("_by")}><span${_attr_class("_bz")}>${_escape(ws.name)}${_el_resume($scope4_id, "d", $sg__input_workspaces)}</span><span${_attr_class([metaTrunc, "_r"])}${_attr("title", ws.display_path || ws.path)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope4_id, "f", $sg__input_workspaces)}</span>${_el_resume($scope4_id, "e", $sg__input_workspaces)}</div><button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>`);
5213
5213
  _if(() => {
5214
5214
  if (restoring === ws.id) {
5215
5215
  const $scope14_id = _scope_id();
5216
- _html(`<span${_attr_class("_F")}></span> Restoring…`);
5216
+ _html(`<span${_attr_class("_z")}></span> Restoring…`);
5217
5217
  writeScope($scope14_id, {});
5218
5218
  return 0;
5219
5219
  } else {
@@ -5352,8 +5352,8 @@ function activeAgent(session) {
5352
5352
  const command = session.state?.command?.trim();
5353
5353
  return command && agentFromCommand(command) || session.agent;
5354
5354
  }
5355
- var iconBtn$1 = "_ea _j";
5356
- var navToggle = "_ef _j";
5355
+ var iconBtn$1 = "_dZ _d";
5356
+ var navToggle = "_d4 _d";
5357
5357
  _template("H", (input) => {
5358
5358
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
5359
5359
  const $scope0_id = _scope_id();
@@ -5396,12 +5396,12 @@ var ARM_MS = 3500;
5396
5396
  function disarmLater(fn) {
5397
5397
  return setTimeout(fn, ARM_MS);
5398
5398
  }
5399
- var railBtn = "_gv _j";
5400
- var rowIcon = "_gE _Z _j";
5401
- var close = "_gF _Z _j _2";
5399
+ var railBtn = "_gv _d";
5400
+ var rowIcon = "_gE _T _d";
5401
+ var close = "_gF _T _d _W";
5402
5402
  //#endregion
5403
5403
  //#region src/styles/session-pop.css.ts
5404
- var sessionPop = "_gr _4";
5404
+ var sessionPop = "_fe _Y";
5405
5405
  //#endregion
5406
5406
  //#region src/client/usage.ts
5407
5407
  /** The plan row an agent instance draws on: its own account (`claude2`)
@@ -5462,22 +5462,22 @@ var usage_pcts_default = _template("C", (input) => {
5462
5462
  if (windows.length) {
5463
5463
  const $scope1_id = _scope_id();
5464
5464
  _html(`<span${_attr_class([
5465
- "_e2",
5465
+ "_fg",
5466
5466
  input.class,
5467
- { ["_e3"]: agent.stale_seconds != null }
5467
+ { ["_fh"]: agent.stale_seconds != null }
5468
5468
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
5469
5469
  _for_of(windows, (win$1, i) => {
5470
5470
  const $scope2_id = _scope_id();
5471
- _html(`<span${_attr_class("_e4")}>`);
5471
+ _html(`<span${_attr_class("_fi")}>`);
5472
5472
  _if(() => {
5473
5473
  if (i) {
5474
5474
  const $scope3_id = _scope_id();
5475
- _html(`<span${_attr_class("_e7")} aria-hidden=true>·</span>`);
5475
+ _html(`<span${_attr_class("_fl")} aria-hidden=true>·</span>`);
5476
5476
  $si__input_agent && writeScope($scope3_id, {});
5477
5477
  return 0;
5478
5478
  }
5479
5479
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
5480
- _html(`<span${_attr_class("_e5")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_e6", win$1.used_percent >= 90 ? "_dg" : win$1.used_percent >= 70 ? "_df" : win$1.used_percent >= 40 ? "_de" : "_dd"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
5480
+ _html(`<span${_attr_class("_fj")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_fk", win$1.used_percent >= 90 ? "_dr" : win$1.used_percent >= 70 ? "_dq" : win$1.used_percent >= 40 ? "_dp" : "_do"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
5481
5481
  $si__input_agent && writeScope($scope2_id, {});
5482
5482
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
5483
5483
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -5508,8 +5508,8 @@ var icon_edit_default = _template("M", (input) => {
5508
5508
  });
5509
5509
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
5510
5510
  });
5511
- var prChip = "_g1 _s _g0";
5512
- var portChip = "_g2 _s _g0";
5511
+ var prChip = "_g1 _m _g0";
5512
+ var portChip = "_g2 _m _g0";
5513
5513
  var prState = {
5514
5514
  open: "_g6",
5515
5515
  merged: "_g7",
@@ -5569,11 +5569,11 @@ var side_nav_chips_default = _template("v", (input) => {
5569
5569
  const $scope3_id = _scope_id();
5570
5570
  const open = isOpen(pr);
5571
5571
  _html(`<span${_attr_class([
5572
- "_s",
5572
+ "_m",
5573
5573
  prChip,
5574
5574
  {
5575
- ["_u"]: open && !pr.isDraft,
5576
- ["_v"]: open && pr.isDraft,
5575
+ ["_o"]: open && !pr.isDraft,
5576
+ ["_p"]: open && pr.isDraft,
5577
5577
  [prState.merged]: pr.state === "MERGED",
5578
5578
  [prState.closed]: pr.state === "CLOSED"
5579
5579
  }
@@ -5616,11 +5616,11 @@ var side_nav_chips_default = _template("v", (input) => {
5616
5616
  }, "full_name", $scope1_id, "b", $sg__input_status_repos, $sg__input_status_repos, $sg__input_status_repos__OR__input_status_ports);
5617
5617
  _for_of(ports, (p) => {
5618
5618
  const $scope5_id = _scope_id();
5619
- _html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_g3", "_g9"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:${_sep($sg__input_status_ports)}${_escape(p.port)}${_el_resume($scope5_id, "c", $sg__input_status_ports)}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
5619
+ _html(`<span${_attr_class(["_m", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_g3", "_g9"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:${_sep($sg__input_status_ports)}${_escape(p.port)}${_el_resume($scope5_id, "c", $sg__input_status_ports)}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
5620
5620
  "_g3",
5621
5621
  "_g4",
5622
5622
  "_g5",
5623
- { ["_q"]: armedPid === p.pid }
5623
+ { ["_k"]: armedPid === p.pid }
5624
5624
  ])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
5625
5625
  icon_xmark_default({ size: 12 });
5626
5626
  _html(`</button>${_el_resume($scope5_id, "d")}</span>${_el_resume($scope5_id, "a", $sg__input_status_ports)}`);
@@ -5712,7 +5712,7 @@ var side_nav_item_default = _template("w", (input) => {
5712
5712
  if (input.rail) {
5713
5713
  const $scope2_id = _scope_id();
5714
5714
  _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gt"]: input.current }])}${_attr("title", ws$1.name)}>${_escape((input.index ?? 0) + 1)}${_el_resume($scope2_id, "b", _serialize_guard($scope0_reason, 27))}<span${_attr_class([
5715
- "_z",
5715
+ "_t",
5716
5716
  phase[dot],
5717
5717
  "_gw"
5718
5718
  ])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
@@ -5724,11 +5724,11 @@ var side_nav_item_default = _template("w", (input) => {
5724
5724
  const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
5725
5725
  _html(`<section${_attr_class(["_gy", {
5726
5726
  ["_gt"]: input.current,
5727
- ["_5"]: input.current,
5727
+ ["_Z"]: input.current,
5728
5728
  ["_gz"]: input.railPop,
5729
5729
  ["_gx"]: input.page
5730
5730
  }])}><div${_attr_class("_gA")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gB")}><span${_attr_class([
5731
- "_z",
5731
+ "_t",
5732
5732
  phase[dot],
5733
5733
  "_gO"
5734
5734
  ])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
@@ -5772,9 +5772,9 @@ var side_nav_item_default = _template("w", (input) => {
5772
5772
  if (input.page) {
5773
5773
  const $scope4_id = _scope_id();
5774
5774
  _html(`<span${_attr_class([
5775
- "_I",
5776
- "_R",
5777
- "_K",
5775
+ "_C",
5776
+ "_L",
5777
+ "_E",
5778
5778
  "_gN"
5779
5779
  ])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
5780
5780
  $si__input_current__OR__input_page__OR__input_rail__OR__input_workspaces__OR__input_workspaceId && _subscribe($si__input_current && $input_current__closures, writeScope($scope4_id, {
@@ -5802,7 +5802,7 @@ var side_nav_item_default = _template("w", (input) => {
5802
5802
  _html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
5803
5803
  _for_of([], (agent) => {
5804
5804
  const $scope7_id = _scope_id();
5805
- _html(`<button${_attr_class("_gs")}>`);
5805
+ _html(`<button${_attr_class("_ff")}>`);
5806
5806
  _set_serialize_reason(12);
5807
5807
  const $childScope2 = _peek_scope_id();
5808
5808
  icon_agent_default({
@@ -5871,7 +5871,7 @@ var side_nav_item_default = _template("w", (input) => {
5871
5871
  if (renamingId === s.id) {
5872
5872
  const $scope10_id = _scope_id();
5873
5873
  _html(`<span${_attr_class([
5874
- "_z",
5874
+ "_t",
5875
5875
  phase[sessionPhase(s.state)],
5876
5876
  "_gR"
5877
5877
  ])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
@@ -5887,13 +5887,13 @@ var side_nav_item_default = _template("w", (input) => {
5887
5887
  });
5888
5888
  _html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
5889
5889
  renameValue = _new_renameValue;
5890
- }, "w0", $scope10_id))}${_attr_class(["_U", "_gS"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
5890
+ }, "w0", $scope10_id))}${_attr_class(["_O", "_gS"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
5891
5891
  _script($scope10_id, "w5");
5892
5892
  _subscribe($renameValue__closures, writeScope($scope10_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
5893
5893
  return 0;
5894
5894
  } else {
5895
5895
  const $scope9_id = _scope_id();
5896
- _html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_gU")}><span${_attr_class(["_z", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
5896
+ _html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_gU")}><span${_attr_class(["_t", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
5897
5897
  _set_serialize_reason({
5898
5898
  1: $sg__input_sessions,
5899
5899
  2: $sg__input_sessions
@@ -5906,7 +5906,7 @@ var side_nav_item_default = _template("w", (input) => {
5906
5906
  });
5907
5907
  _html(`<span${_attr_class("_gP")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope9_id, "e", $sg__input_sessions)}</span></a>${_el_resume($scope9_id, "a", _serialize_guard($scope0_reason, 6))}<div${_attr_class("_gQ")}><button${_attr_class(rowIcon)} title="Rename session">`);
5908
5908
  icon_edit_default({ size: 12 });
5909
- _html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
5909
+ _html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_k"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
5910
5910
  icon_xmark_default({ size: 12 });
5911
5911
  _html(`</button>${_el_resume($scope9_id, "i")}</div>`);
5912
5912
  _if(() => {
@@ -6119,34 +6119,34 @@ var side_nav_default = _template("x", (input) => {
6119
6119
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
6120
6120
  const otherIds = itemIds.filter((id) => id !== ws.id);
6121
6121
  const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
6122
- _html(`<aside${_attr_class(["_ee", {
6123
- ["_ec"]: !navOpen,
6124
- ["_ed"]: isPage
6122
+ _html(`<aside${_attr_class(["_d3", {
6123
+ ["_d1"]: !navOpen,
6124
+ ["_d2"]: isPage
6125
6125
  }])}${_attr("hidden", view === "diff")}>`);
6126
6126
  _if(() => {
6127
6127
  if (isPage) {
6128
6128
  const $scope1_id = _scope_id();
6129
- _html(`<header${_attr_class("_eh")}><div${_attr_class("_eq")}>`);
6129
+ _html(`<header${_attr_class("_d6")}><div${_attr_class("_ee")}>`);
6130
6130
  _if(() => {
6131
6131
  if (input.instanceName) {
6132
6132
  const $scope2_id = _scope_id();
6133
- _html(`<div${_attr_class("_en")} title="This work server (Settings → Appearance)"><img${_attr_class("_eo")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_ep")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
6133
+ _html(`<div${_attr_class("_eb")} title="This work server (Settings → Appearance)"><img${_attr_class("_ec")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_ed")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
6134
6134
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
6135
6135
  return 0;
6136
6136
  }
6137
6137
  }, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
6138
- _html(`<h1${_attr_class("_ei")}>Workspaces</h1></div><div${_attr_class("_ej")}>`);
6138
+ _html(`<h1${_attr_class("_d7")}>Workspaces</h1></div><div${_attr_class("_d8")}>`);
6139
6139
  _if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
6140
6140
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
6141
6141
  iconBtn$1,
6142
- "_ek",
6143
- { ["_d_"]: view === "settings" }
6142
+ "_d9",
6143
+ { ["_dY"]: view === "settings" }
6144
6144
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
6145
6145
  icon_settings_default({ size: 16 });
6146
6146
  _if(() => {
6147
6147
  if (input.setupReady === false) {
6148
6148
  const $scope12_id = _scope_id();
6149
- _html(`<span${_attr_class(["_z", "_eb"])} title="Machine setup incomplete"></span>`);
6149
+ _html(`<span${_attr_class(["_t", "_d0"])} title="Machine setup incomplete"></span>`);
6150
6150
  $si__input_setupReady && writeScope($scope12_id, {});
6151
6151
  return 0;
6152
6152
  }
@@ -6159,18 +6159,18 @@ var side_nav_default = _template("x", (input) => {
6159
6159
  _if(() => {
6160
6160
  if (!isPage && input.instanceName) {
6161
6161
  const $scope3_id = _scope_id();
6162
- _html(`<div${_attr_class("_en")} title="This work server (Settings → Appearance)"><img${_attr_class("_eo")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_ep")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
6162
+ _html(`<div${_attr_class("_eb")} title="This work server (Settings → Appearance)"><img${_attr_class("_ec")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_ed")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
6163
6163
  writeScope($scope3_id, {});
6164
6164
  return 0;
6165
6165
  }
6166
6166
  }, $scope0_id, "c", 1, 1, 1, 0, 1);
6167
- _html(`<div${_attr_class("_er")}>`);
6167
+ _html(`<div${_attr_class("_ef")}>`);
6168
6168
  _for_of(listIds, (wsId) => {
6169
6169
  const $scope4_id = _scope_id();
6170
6170
  _if(() => {
6171
6171
  if (isPage && wsId === ws.id) {
6172
6172
  const $scope13_id = _scope_id();
6173
- _html(`<h2${_attr_class(["_bH", "_el"])}>Current</h2>`);
6173
+ _html(`<h2${_attr_class(["_bH", "_d_"])}>Current</h2>`);
6174
6174
  writeScope($scope13_id, {});
6175
6175
  return 0;
6176
6176
  }
@@ -6178,7 +6178,7 @@ var side_nav_default = _template("x", (input) => {
6178
6178
  _if(() => {
6179
6179
  if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
6180
6180
  const $scope14_id = _scope_id();
6181
- _html(`<h2${_attr_class(["_bH", "_el"])}>Other workspaces</h2>`);
6181
+ _html(`<h2${_attr_class(["_bH", "_d_"])}>Other workspaces</h2>`);
6182
6182
  writeScope($scope14_id, {});
6183
6183
  return 0;
6184
6184
  }
@@ -6265,7 +6265,7 @@ var side_nav_default = _template("x", (input) => {
6265
6265
  railHover = null;
6266
6266
  }, 150);
6267
6267
  }, "x6", $scope5_id);
6268
- _html(`<div${_attr_class("_es")}>`);
6268
+ _html(`<div${_attr_class("_eg")}>`);
6269
6269
  _for_of(itemIds, (wsId, i) => {
6270
6270
  const $scope6_id = _scope_id();
6271
6271
  _html("<span>");
@@ -6319,7 +6319,7 @@ var side_nav_default = _template("x", (input) => {
6319
6319
  if (railHover) {
6320
6320
  const $scope7_id = _scope_id();
6321
6321
  const hoverId = railHover.id;
6322
- _html(`<div${_attr_class(["_4", "_ev"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
6322
+ _html(`<div${_attr_class(["_Y", "_ej"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
6323
6323
  _set_serialize_reason({
6324
6324
  0: 1,
6325
6325
  1: 1,
@@ -6407,15 +6407,15 @@ var side_nav_default = _template("x", (input) => {
6407
6407
  return 0;
6408
6408
  }
6409
6409
  }, $scope0_id, "e");
6410
- _html(`<div${_attr_class("_et")}>`);
6410
+ _html(`<div${_attr_class("_eh")}>`);
6411
6411
  _if(() => {
6412
6412
  if (isPage) {
6413
6413
  const $scope9_id = _scope_id();
6414
6414
  _html(`<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([
6415
- "_o",
6416
- "_p",
6415
+ "_i",
6416
+ "_j",
6417
6417
  btnLg,
6418
- "_em"
6418
+ "_ea"
6419
6419
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
6420
6420
  icon_folder_plus_default({ size: 16 });
6421
6421
  _html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
@@ -6437,19 +6437,19 @@ var side_nav_default = _template("x", (input) => {
6437
6437
  return 1;
6438
6438
  }
6439
6439
  }, $scope8_id, "a", 1, 1, 1, "</button>", 1);
6440
- _html(`<div${_attr_class(["_y", "_eu"])}></div>`);
6440
+ _html(`<div${_attr_class(["_s", "_ei"])}></div>`);
6441
6441
  _if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
6442
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_d_"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
6442
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_dY"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
6443
6443
  icon_settings_default({ size: 15 });
6444
6444
  _if(() => {
6445
6445
  if (input.setupReady === false) {
6446
6446
  const $scope17_id = _scope_id();
6447
- _html(`<span${_attr_class(["_z", "_eb"])} title="Machine setup incomplete"></span>`);
6447
+ _html(`<span${_attr_class(["_t", "_d0"])} title="Machine setup incomplete"></span>`);
6448
6448
  $si__input_setupReady && writeScope($scope17_id, {});
6449
6449
  return 0;
6450
6450
  }
6451
6451
  }, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
6452
- _html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_d_"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
6452
+ _html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_dY"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
6453
6453
  icon_folder_plus_default({ size: 16 });
6454
6454
  _html(`</a>${_el_resume($scope8_id, "g")}`);
6455
6455
  _script($scope8_id, "x15");
@@ -6514,12 +6514,12 @@ var side_nav_default = _template("x", (input) => {
6514
6514
  });
6515
6515
  _resume_branch($scope0_id);
6516
6516
  });
6517
- var iconBtn = "_0 _j";
6518
- var sectionCount = "_bu _I _J";
6519
- var content = "_dZ _bk";
6520
- var pageMeta = "_d0 _bp";
6521
- var pathMeta = "_d3 _x";
6522
- var dangerHint = "_d9 _S";
6517
+ var iconBtn = "_U _d";
6518
+ var sectionCount = "_bu _C _D";
6519
+ var content = "_cY _bk";
6520
+ var pageMeta = "_cZ _bp";
6521
+ var pathMeta = "_c2 _r";
6522
+ var dangerHint = "_c8 _M";
6523
6523
  //#endregion
6524
6524
  //#region src/tags/manage-workspace.marko
6525
6525
  var api$2;
@@ -6630,16 +6630,16 @@ var manage_workspace_default = _template("n", (input) => {
6630
6630
  meta: attrTag({ content: _content_resume("n11", () => {
6631
6631
  _scope_reason();
6632
6632
  const $scope8_id = _scope_id();
6633
- _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_d1")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
6633
+ _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_c0")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
6634
6634
  _if(() => {
6635
6635
  if (ws.status !== "active") {
6636
6636
  const $scope11_id = _scope_id();
6637
- _html(`<span${_attr_class(["_I", "_K"])}>Archived</span>`);
6637
+ _html(`<span${_attr_class(["_C", "_E"])}>Archived</span>`);
6638
6638
  writeScope($scope11_id, {});
6639
6639
  return 0;
6640
6640
  }
6641
6641
  }, $scope8_id, "d", 1, 1, 1, 0, 1);
6642
- _html(`<span${_attr_class("_d2")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope8_id, "g")}</span></span>${_el_resume($scope8_id, "a")}`);
6642
+ _html(`<span${_attr_class("_c1")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope8_id, "g")}</span></span>${_el_resume($scope8_id, "a")}`);
6643
6643
  _subscribe($ws_status__closures, _subscribe($ws_name__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, writeScope($scope8_id, { _: _scope_with_id($scope0_id) })))));
6644
6644
  _resume_branch($scope8_id);
6645
6645
  }, $scope0_id) })
@@ -6667,26 +6667,26 @@ var manage_workspace_default = _template("n", (input) => {
6667
6667
  _if(() => {
6668
6668
  if (pendingAction && actionStep) {
6669
6669
  const $scope7_id = _scope_id();
6670
- _html(`<p${_attr_class("_br")}><span${_attr_class("_F")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
6670
+ _html(`<p${_attr_class("_br")}><span${_attr_class("_z")}></span><!>${_escape(actionStep)}${_el_resume($scope7_id, "c")}</p>`);
6671
6671
  writeScope($scope7_id, {});
6672
6672
  return 0;
6673
6673
  }
6674
6674
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
6675
- _html(`<section${_attr_class("_bs")}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "k")}</span><div${_attr_class("_y")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
6675
+ _html(`<section${_attr_class("_bs")}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Repos</h2><span${_attr_class(sectionCount)}>${_escape(ws.repos.length)}${_el_resume($scope0_id, "k")}</span><div${_attr_class("_s")}></div><button${_attr_class(iconBtn)} title="Refresh repo list" aria-label="Refresh repo list"${_attr("disabled", catalogRefreshing)}>`);
6676
6676
  _set_serialize_reason(1);
6677
6677
  const $childScope2 = _peek_scope_id();
6678
6678
  icon_refresh_default({
6679
6679
  size: 14,
6680
- class: catalogRefreshing && "_E"
6680
+ class: catalogRefreshing && "_y"
6681
6681
  });
6682
6682
  _html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bv")}>`);
6683
6683
  _for_of(ws.repos, (row) => {
6684
6684
  const $scope1_id = _scope_id();
6685
- _html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}><span${_attr_class(["_bz", "_x"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bA")}><a${_attr_class(["_bB", "_d5"])}${_attr("href", repoWebUrl$1(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
6685
+ _html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}><span${_attr_class(["_bz", "_r"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bA")}><a${_attr_class(["_bB", "_c4"])}${_attr("href", repoWebUrl$1(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
6686
6686
  _if(() => {
6687
6687
  if (row.base_branch !== row.default_branch) {
6688
6688
  const $scope12_id = _scope_id();
6689
- _html(`<span${_attr_class(["_I", "_x"])} title="Base branch">⎇ <!>${_escape(row.base_branch)}${_el_resume($scope12_id, "b")}</span>`);
6689
+ _html(`<span${_attr_class(["_C", "_r"])} title="Base branch">⎇ <!>${_escape(row.base_branch)}${_el_resume($scope12_id, "b")}</span>`);
6690
6690
  writeScope($scope12_id, {});
6691
6691
  return 0;
6692
6692
  }
@@ -6695,16 +6695,16 @@ var manage_workspace_default = _template("n", (input) => {
6695
6695
  _if(() => {
6696
6696
  if (busy.has(row.full_name)) {
6697
6697
  const $scope13_id = _scope_id();
6698
- _html(`<span${_attr_class("_F")}></span>`);
6698
+ _html(`<span${_attr_class("_z")}></span>`);
6699
6699
  writeScope($scope13_id, {});
6700
6700
  return 0;
6701
6701
  } else {
6702
6702
  const $scope6_id = _scope_id();
6703
6703
  _html(`<button${_attr_class([
6704
6704
  "_bC",
6705
- "_2",
6706
- "_3",
6707
- { ["_q"]: confirmingRemove === row.full_name }
6705
+ "_W",
6706
+ "_X",
6707
+ { ["_k"]: confirmingRemove === row.full_name }
6708
6708
  ])}${confirmingRemove === row.full_name ? _attr("title", `Remove ${row.worktree}/? Uncommitted changes are lost.`) : _attr("title", `Remove ${row.worktree}/`)}>`);
6709
6709
  _if(() => {
6710
6710
  if (confirmingRemove === row.full_name) {
@@ -6734,7 +6734,7 @@ var manage_workspace_default = _template("n", (input) => {
6734
6734
  }, "full_name", $scope0_id, "p", 1, 1, 1, 0, 1);
6735
6735
  _for_of([...busy].filter((n) => !inWorkspace.has(n)), (name) => {
6736
6736
  const $scope16_id = _scope_id();
6737
- _html(`<li${_attr_class(["_bx", "_bw"])}><span${_attr_class("_F")}></span><div${_attr_class("_by")}><span${_attr_class("_bB")}>Adding <!>${_escape(name)}${_el_resume($scope16_id, "e")}…</span></div></li>`);
6737
+ _html(`<li${_attr_class(["_bx", "_bw"])}><span${_attr_class("_z")}></span><div${_attr_class("_by")}><span${_attr_class("_bB")}>Adding <!>${_escape(name)}${_el_resume($scope16_id, "e")}…</span></div></li>`);
6738
6738
  writeScope($scope16_id, {});
6739
6739
  }, (n) => n, $scope0_id, "q", 1, 1, 1, 0, 1);
6740
6740
  _html("</ul>");
@@ -6746,7 +6746,7 @@ var manage_workspace_default = _template("n", (input) => {
6746
6746
  return 0;
6747
6747
  }
6748
6748
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
6749
- _html(`<div${_attr_class("_d4")}>`);
6749
+ _html(`<div${_attr_class("_c3")}>`);
6750
6750
  const $childScope3 = _peek_scope_id();
6751
6751
  let refreshCatalog = repo_picker_default({
6752
6752
  exclude: inWorkspace,
@@ -6769,14 +6769,14 @@ var manage_workspace_default = _template("n", (input) => {
6769
6769
  _html(`<section${_attr_class("_bs")}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Running</h2><span${_attr_class(sectionCount)}>${_escape(running.length)}${_el_resume($scope9_id, "e")}</span></div><ul${_attr_class("_bv")}>`);
6770
6770
  _for_of(running, (p) => {
6771
6771
  const $scope10_id = _scope_id();
6772
- _html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}${_attr("title", p.args)}><span${_attr_class(["_bz", "_x"])}>${_escape(p.cmd)}${_el_resume($scope10_id, "d")}</span>`);
6772
+ _html(`<li${_attr_class("_bx")}><div${_attr_class("_by")}${_attr("title", p.args)}><span${_attr_class(["_bz", "_r"])}>${_escape(p.cmd)}${_el_resume($scope10_id, "d")}</span>`);
6773
6773
  _if(() => {
6774
6774
  if (p.ports.length) {
6775
6775
  const $scope18_id = _scope_id();
6776
6776
  _html(`<span${_attr_class("_bA")}>`);
6777
6777
  _for_of(p.ports, (port) => {
6778
6778
  const $scope19_id = _scope_id();
6779
- _html(`<button${_attr_class(["_s", "_d6"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
6779
+ _html(`<button${_attr_class(["_m", "_c5"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
6780
6780
  _script($scope19_id, "n15");
6781
6781
  writeScope($scope19_id, { d: port });
6782
6782
  }, (x) => String(x), $scope18_id, "a", 1, 1, 1, "</span>", 1);
@@ -6784,7 +6784,7 @@ var manage_workspace_default = _template("n", (input) => {
6784
6784
  return 0;
6785
6785
  }
6786
6786
  }, $scope10_id, "e", 1, 1, 1, 0, 1);
6787
- _html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["_bC", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
6787
+ _html(`</div>${_el_resume($scope10_id, "b")}<button${_attr_class(["_bC", "_W"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
6788
6788
  icon_xmark_default({ size: 14 });
6789
6789
  _html(`</button>${_el_resume($scope10_id, "f")}</li>`);
6790
6790
  _script($scope10_id, "n16");
@@ -6798,7 +6798,7 @@ var manage_workspace_default = _template("n", (input) => {
6798
6798
  return 0;
6799
6799
  }
6800
6800
  }, $scope0_id, "v", 1, 1, 1, 0, 1);
6801
- _html(`<section${_attr_class(["_bs", "_d7"])}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Workspace</h2></div><div${_attr_class("_d8")}>`);
6801
+ _html(`<section${_attr_class(["_bs", "_c6"])}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Workspace</h2></div><div${_attr_class("_c7")}>`);
6802
6802
  _if(() => {
6803
6803
  if (ws.status === "active") {
6804
6804
  const $scope4_id = _scope_id();
@@ -6816,8 +6816,8 @@ var manage_workspace_default = _template("n", (input) => {
6816
6816
  }, $scope0_id, "a0", 1, 1, 1, 0, 1);
6817
6817
  _html(`<button type=button${_attr_class([
6818
6818
  btnLg,
6819
- "_r",
6820
- { ["_q"]: confirmingDelete }
6819
+ "_l",
6820
+ { ["_k"]: confirmingDelete }
6821
6821
  ])}${_attr("disabled", !!pendingAction)}>${pendingAction === "delete" ? "Deleting…" : "Delete"}${_el_resume($scope0_id, "a2")}</button>${_el_resume($scope0_id, "a1")}</div><p${_attr_class(dangerHint)}>Archive hides the workspace from the list. Delete removes it and its worktrees.</p></section></div></div></div>`);
6822
6822
  _script($scope0_id, "n19");
6823
6823
  _script($scope0_id, "n20");
@@ -6899,15 +6899,15 @@ var term_find_default = _template("y", (input) => {
6899
6899
  const canStep = hasQuery && open;
6900
6900
  const keybar = input.placement === "keybar";
6901
6901
  _html(`<div${_attr_class([
6902
- "_fh",
6903
- keybar ? "_fj" : "_fi",
6904
- !open && "_fl"
6905
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fc", keybar ? "_fk" : "_fe"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
6902
+ "_e8",
6903
+ keybar ? "_e_" : "_e9",
6904
+ !open && "_fb"
6905
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_e3", keybar ? "_fa" : "_e5"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
6906
6906
  if (!open) return;
6907
6907
  query = v;
6908
6908
  live.query = v;
6909
6909
  run(0);
6910
- }, "y0", $scope0_id))}${_attr_class([findInput, keybar && "_fm"])} 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 && "_fn"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fn"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_fn"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
6910
+ }, "y0", $scope0_id))}${_attr_class([findInput, keybar && "_fc"])} 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 && "_fd"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fd"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_fd"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
6911
6911
  icon_xmark_default({ size: 14 });
6912
6912
  _html(`</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
6913
6913
  _script($scope0_id, "y4");
@@ -7181,7 +7181,7 @@ var term_default = _template("z", (input) => {
7181
7181
  trapOpen = true;
7182
7182
  }
7183
7183
  }, "z14", $scope0_id);
7184
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_dk")}><div${_attr_class("_dl")}></div>${_el_resume($scope0_id, "b")}`);
7184
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_ek")}><div${_attr_class("_el")}></div>${_el_resume($scope0_id, "b")}`);
7185
7185
  _if(() => {
7186
7186
  if (findOpen) {
7187
7187
  const $scope12_id = _scope_id();
@@ -7208,7 +7208,7 @@ var term_default = _template("z", (input) => {
7208
7208
  _if(() => {
7209
7209
  if (uploading) {
7210
7210
  const $scope19_id = _scope_id();
7211
- _html(`<div${_attr_class("_dr")}>uploading…</div>`);
7211
+ _html(`<div${_attr_class("_er")}>uploading…</div>`);
7212
7212
  writeScope($scope19_id, {});
7213
7213
  return 0;
7214
7214
  }
@@ -7216,7 +7216,7 @@ var term_default = _template("z", (input) => {
7216
7216
  _if(() => {
7217
7217
  if (copiedFlash) {
7218
7218
  const $scope20_id = _scope_id();
7219
- _html(`<div${_attr_class("_dq")}>Copied</div>`);
7219
+ _html(`<div${_attr_class("_eq")}>Copied</div>`);
7220
7220
  writeScope($scope20_id, {});
7221
7221
  return 0;
7222
7222
  }
@@ -7225,7 +7225,7 @@ var term_default = _template("z", (input) => {
7225
7225
  _if(() => {
7226
7226
  if (trapOpen) {
7227
7227
  const $scope11_id = _scope_id();
7228
- _html(`<div${_attr_class("_ds")}><div${_attr_class("_dt")}><p${_attr_class("_dY")}>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")}`);
7228
+ _html(`<div${_attr_class("_es")}><div${_attr_class("_et")}><p${_attr_class("_eY")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_i")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
7229
7229
  _script($scope11_id, "z25");
7230
7230
  _script($scope11_id, "z26");
7231
7231
  writeScope($scope11_id, {});
@@ -7328,7 +7328,7 @@ var work_view_default = _template("D", (input) => {
7328
7328
  let DiffView = null;
7329
7329
  const loadDiffView = _resume(() => {
7330
7330
  if (DiffView) return;
7331
- import("./_Ca65AieL.js").then((m) => {
7331
+ import("./_D30X7Qrj.js").then((m) => {
7332
7332
  DiffView = m.default;
7333
7333
  });
7334
7334
  }, "D6", $scope0_id);
@@ -7796,7 +7796,7 @@ var work_view_default = _template("D", (input) => {
7796
7796
  _if(() => {
7797
7797
  if (!shownSessions.length && view === "term") {
7798
7798
  const $scope7_id = _scope_id();
7799
- _html(`<div${_attr_class("_bE")}><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>`);
7799
+ _html(`<div${_attr_class("_bE")}><span>No sessions in this workspace.</span><button${_attr_class(["_i", "_j"])}${_attr("disabled", spawning)}>${spawning ? "Starting…" : `Start ${_escape(`${input.preferred || "shell"}`)}`}${_el_resume($scope7_id, "c")}</button>${_el_resume($scope7_id, "b")}</div>`);
7800
7800
  _script($scope7_id, "D49");
7801
7801
  _subscribe($spawning__closures, _subscribe($si__input_preferred && $input_preferred__closures, writeScope($scope7_id, {})));
7802
7802
  return 0;
@@ -8029,7 +8029,7 @@ var app_shell_default = _template("c", (input) => {
8029
8029
  if (!openIds.includes(id)) openIds = openIds.concat(id);
8030
8030
  prefs.setLastWorkspace(id);
8031
8031
  }, "c4", $scope0_id);
8032
- _html(`<div${_attr_class("_d")}>`);
8032
+ _html(`<div${_attr_class("_0")}>`);
8033
8033
  _if(() => {
8034
8034
  if (error) {
8035
8035
  const $scope5_id = _scope_id();
@@ -8052,7 +8052,7 @@ var app_shell_default = _template("c", (input) => {
8052
8052
  _if(() => {
8053
8053
  if (!selectedId && showSetup) {
8054
8054
  const $scope4_id = _scope_id();
8055
- _html(`<div${_attr_class("_h")}>`);
8055
+ _html(`<div${_attr_class("_4")}>`);
8056
8056
  _set_serialize_reason(106);
8057
8057
  const $childScope = _peek_scope_id();
8058
8058
  settings_page_default({
@@ -8086,7 +8086,7 @@ var app_shell_default = _template("c", (input) => {
8086
8086
  };
8087
8087
  }, "c9", $scope4_id)
8088
8088
  });
8089
- _html(`<div${_attr_class("_i")}><button type=button${_attr_class("_o")}>Later, go to workspaces</button>${_el_resume($scope4_id, "d")}</div></div>`);
8089
+ _html(`<div${_attr_class("_5")}><button type=button${_attr_class("_i")}>Later, go to workspaces</button>${_el_resume($scope4_id, "d")}</div></div>`);
8090
8090
  _script($scope4_id, "c24");
8091
8091
  writeScope($scope4_id, { b: _existing_scope($childScope) });
8092
8092
  return 0;
@@ -8111,14 +8111,14 @@ var app_shell_default = _template("c", (input) => {
8111
8111
  return 1;
8112
8112
  }
8113
8113
  }, $scope0_id, "c", 1, 1, 1, 0, 1);
8114
- _html(`<div${_attr_class(["_e", { ["_f"]: !selectedId }])}>`);
8114
+ _html(`<div${_attr_class(["_1", { ["_2"]: !selectedId }])}>`);
8115
8115
  _for_of(openIds, (id) => {
8116
8116
  const $scope1_id = _scope_id();
8117
8117
  const ws = workspaces.find((w) => w.id === id);
8118
8118
  _if(() => {
8119
8119
  if (ws) {
8120
8120
  const $scope2_id = _scope_id();
8121
- _html(`<div${_attr_class("_g")}>`);
8121
+ _html(`<div${_attr_class("_3")}>`);
8122
8122
  _set_serialize_reason(1);
8123
8123
  const $childScope3 = _peek_scope_id();
8124
8124
  work_view_default({
@@ -15302,6 +15302,22 @@ var FLUSH_MS = 16;
15302
15302
  /** Unacked websocket bytes beyond which the pty is paused instead of
15303
15303
  * buffering more output for a client that isn't draining. */
15304
15304
  var SEND_HIGH_WATER = 1 << 20;
15305
+ /** Protocol-level ping cadence. A quiet pane (agent idle, nobody typing)
15306
+ * sends nothing for minutes, and a tunnel / NAT / proxy idle timeout then
15307
+ * drops the socket half-open: the next keystrokes vanish into a dead TCP
15308
+ * connection until the browser notices and reconnects — felt as "typing
15309
+ * went laggy, then fixed itself". Pings are traffic to every intermediary
15310
+ * and the browser answers them without involving the page; a missed pong
15311
+ * terminates here so the client's onclose fires and it reconnects at once
15312
+ * instead of waiting out the half-open socket. The events bus does the same
15313
+ * at the app level (events-ws.ts). */
15314
+ var PING_MS$1 = 15e3;
15315
+ /** Frames at least this large are deflated. Small frames — keystroke echo,
15316
+ * a copy-mode scroll line (~0.4 KB) — skip zlib so their latency is
15317
+ * untouched; the win is agent TUI repaints of several KB, which shrink
15318
+ * 5–20× on the wire. Few sockets live at once, so per-socket zlib state is
15319
+ * not the concern ws's docs raise for large fleets. */
15320
+ var DEFLATE_THRESHOLD = 512;
15305
15321
  /** Which dims each session's tmux window was last forced to — lets the
15306
15322
  * input path skip the tmux exec when this client already holds the size.
15307
15323
  * A memo, not the truth: the window can move under it (another client, a
@@ -15338,7 +15354,10 @@ function trackViewer(sessionId, delta) {
15338
15354
  function attachTermServer(server) {
15339
15355
  ensureTmuxServer();
15340
15356
  detachStaleClients();
15341
- const wss = new import_websocket_server.default({ noServer: true });
15357
+ const wss = new import_websocket_server.default({
15358
+ noServer: true,
15359
+ perMessageDeflate: { threshold: DEFLATE_THRESHOLD }
15360
+ });
15342
15361
  server.on("upgrade", (req, socket, head) => {
15343
15362
  if (!(req.url || "").startsWith("/term/")) return;
15344
15363
  wss.handleUpgrade(req, socket, head, (ws) => wss.emit("connection", ws, req));
@@ -15498,8 +15517,19 @@ async function handleTermConnection(ws, req) {
15498
15517
  }
15499
15518
  }
15500
15519
  });
15520
+ let pongSeen = true;
15521
+ ws.on("pong", () => {
15522
+ pongSeen = true;
15523
+ });
15524
+ const ping = setInterval(() => {
15525
+ if (ws.readyState !== ws.OPEN) return;
15526
+ if (!pongSeen) return ws.terminate();
15527
+ pongSeen = false;
15528
+ ws.ping();
15529
+ }, PING_MS$1);
15501
15530
  ws.on("close", () => {
15502
15531
  if (visible) trackViewer(session.id, -1);
15532
+ clearInterval(ping);
15503
15533
  clearTimeout(flushTimer);
15504
15534
  proc.kill();
15505
15535
  });
@@ -15662,4 +15692,4 @@ server.listen(port, () => {
15662
15692
  //#endregion
15663
15693
  export {};
15664
15694
 
15665
- ;var __MARKO_MANIFEST__={"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-5plmHdjK.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-5plmHdjK.css\"",">"],"defer":[2,"/assets/w-LrOl93NC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-LrOl93NC.js\"","></script>",2,"modulepreload#/assets/_BeJffPsp.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BeJffPsp.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-5plmHdjK.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-5plmHdjK.css\"",">"],"defer":[2,"/assets/w._-LrOl93NC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-LrOl93NC.js\"","></script>",2,"modulepreload#/assets/_BeJffPsp.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BeJffPsp.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-5plmHdjK.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-5plmHdjK.css\"",">"],"defer":[2,"/assets/new-LrOl93NC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-LrOl93NC.js\"","></script>",2,"modulepreload#/assets/_BeJffPsp.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BeJffPsp.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-5plmHdjK.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-5plmHdjK.css\"",">"],"defer":[2,"/assets/w._-GgKc86fL.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-GgKc86fL.js\"","></script>",2,"modulepreload#/assets/_BeJffPsp.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BeJffPsp.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-5plmHdjK.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-5plmHdjK.css\"",">"],"defer":[2,"/assets/settings-LrOl93NC.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-LrOl93NC.js\"","></script>",2,"modulepreload#/assets/_BeJffPsp.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BeJffPsp.js\"",">"]}};
15695
+ ;var __MARKO_MANIFEST__={"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-CBOLkS3u.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CBOLkS3u.css\"",">"],"defer":[2,"/assets/w._-Btf-ladG.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Btf-ladG.js\"","></script>",2,"modulepreload#/assets/_DWhr2Wyd.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWhr2Wyd.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-CBOLkS3u.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CBOLkS3u.css\"",">"],"defer":[2,"/assets/new-Btf-ladG.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-Btf-ladG.js\"","></script>",2,"modulepreload#/assets/_DWhr2Wyd.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWhr2Wyd.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-CBOLkS3u.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CBOLkS3u.css\"",">"],"defer":[2,"/assets/settings-Btf-ladG.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-Btf-ladG.js\"","></script>",2,"modulepreload#/assets/_DWhr2Wyd.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWhr2Wyd.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-CBOLkS3u.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CBOLkS3u.css\"",">"],"defer":[2,"/assets/w._-ihiSObwS.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-ihiSObwS.js\"","></script>",2,"modulepreload#/assets/_DWhr2Wyd.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWhr2Wyd.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-CBOLkS3u.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CBOLkS3u.css\"",">"],"defer":[2,"/assets/w-Btf-ladG.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-Btf-ladG.js\"","></script>",2,"modulepreload#/assets/_DWhr2Wyd.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWhr2Wyd.js\"",">"]}};