@dylanpiercey/work 0.0.90 → 0.0.91

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/{_BoHSyzGw.js → _C_ZBgO7_.js} +2 -2
  2. package/dist/{_BI3Xi4eO.js → _DWAnBXsO.js} +68 -68
  3. package/dist/index.mjs +176 -132
  4. package/dist/public/assets/{_aE4RRi8y.js → _0U59zJUz.js} +1 -1
  5. package/dist/public/assets/_0U59zJUz.js.br +0 -0
  6. package/dist/public/assets/{_CZTLFFJd.js → _4MFVuOce.js} +1 -1
  7. package/dist/public/assets/_4MFVuOce.js.br +0 -0
  8. package/dist/public/assets/{_DfNptl8V.js → _5hwLq2GH.js} +1 -1
  9. package/dist/public/assets/_5hwLq2GH.js.br +0 -0
  10. package/dist/public/assets/{_D8Iy1C9u.js → _9th6P7LB.js} +1 -1
  11. package/dist/public/assets/_9th6P7LB.js.br +0 -0
  12. package/dist/public/assets/{_B8cmFbkc.js → _B1PdYMXj.js} +1 -1
  13. package/dist/public/assets/_B1PdYMXj.js.br +0 -0
  14. package/dist/public/assets/{_DGM3-GL02.js → _B1l2to3W2.js} +1 -1
  15. package/dist/public/assets/_B1l2to3W2.js.br +0 -0
  16. package/dist/public/assets/{_DoMUzoqQ.js → _B47M2_E2.js} +1 -1
  17. package/dist/public/assets/_B47M2_E2.js.br +0 -0
  18. package/dist/public/assets/{_Bat7nbwI.js → _B5nVsEO7.js} +1 -1
  19. package/dist/public/assets/_B5nVsEO7.js.br +0 -0
  20. package/dist/public/assets/{_Bx6kQ7i82.js → _BCRUYzYR2.js} +1 -1
  21. package/dist/public/assets/_BCRUYzYR2.js.br +0 -0
  22. package/dist/public/assets/{_EZAd6l9R2.js → _BDdxYfg22.js} +1 -1
  23. package/dist/public/assets/{_B-X5aTOX.js → _BHXSbGv5.js} +1 -1
  24. package/dist/public/assets/{_BTWYV-Lp.js → _BJ6xcj15.js} +1 -1
  25. package/dist/public/assets/_BJ6xcj15.js.br +0 -0
  26. package/dist/public/assets/{_BgHgS7fo.js → _BKVXSOII.js} +1 -1
  27. package/dist/public/assets/_BKVXSOII.js.br +0 -0
  28. package/dist/public/assets/{_CMqX47N9.js → _BO9TT4HF.js} +1 -1
  29. package/dist/public/assets/_BO9TT4HF.js.br +0 -0
  30. package/dist/public/assets/{_h3cff2nW.js → _BTvtbYr4.js} +1 -1
  31. package/dist/public/assets/_BTvtbYr4.js.br +0 -0
  32. package/dist/public/assets/{_Ds32TzIf.js → _BZkYY3K6.js} +1 -1
  33. package/dist/public/assets/_BZkYY3K6.js.br +0 -0
  34. package/dist/public/assets/{_BkUG7KqS2.js → _B__m0-au2.js} +1 -1
  35. package/dist/public/assets/_B__m0-au2.js.br +0 -0
  36. package/dist/public/assets/{_C_IYNn8f.js → _BcI1MQaj.js} +1 -1
  37. package/dist/public/assets/_BcI1MQaj.js.br +0 -0
  38. package/dist/public/assets/{_mIIXioBP2.js → _BhH6Vf1I2.js} +1 -1
  39. package/dist/public/assets/_BhH6Vf1I2.js.br +0 -0
  40. package/dist/public/assets/{_DJdiUu64.js → _BpH_GNWO.js} +1 -1
  41. package/dist/public/assets/_BpH_GNWO.js.br +0 -0
  42. package/dist/public/assets/{_CTbAK0l2.js → _BpvLawI8.js} +1 -1
  43. package/dist/public/assets/_BpvLawI8.js.br +0 -0
  44. package/dist/public/assets/{_6JqdBfNo.js → _Btib1Grb.js} +6 -6
  45. package/dist/public/assets/_Btib1Grb.js.br +0 -0
  46. package/dist/public/assets/{_vxAYCrUk.js → _Bv4Bd6iM.js} +1 -1
  47. package/dist/public/assets/_Bv4Bd6iM.js.br +0 -0
  48. package/dist/public/assets/{_3ynplbg02.js → _BxNkF6Fm2.js} +1 -1
  49. package/dist/public/assets/_BxNkF6Fm2.js.br +0 -0
  50. package/dist/public/assets/{_B5L88Fun.js → _Bxk7ict1.js} +1 -1
  51. package/dist/public/assets/_Bxk7ict1.js.br +0 -0
  52. package/dist/public/assets/{_DAWoam_-.js → _By0uOG1b.js} +1 -1
  53. package/dist/public/assets/_By0uOG1b.js.br +0 -0
  54. package/dist/public/assets/{_DPayMNVG2.js → _BymS2Asd2.js} +1 -1
  55. package/dist/public/assets/_BymS2Asd2.js.br +0 -0
  56. package/dist/public/assets/{_BgTMYO5f.js → _C0R7gKGB.js} +1 -1
  57. package/dist/public/assets/_C0R7gKGB.js.br +0 -0
  58. package/dist/public/assets/{_SzbJBQbg2.js → _C4EHNcOe2.js} +1 -1
  59. package/dist/public/assets/_C4EHNcOe2.js.br +0 -0
  60. package/dist/public/assets/{_CwJ0At0b2.js → _C81Givkg2.js} +1 -1
  61. package/dist/public/assets/_C81Givkg2.js.br +0 -0
  62. package/dist/public/assets/{_PoE8SOKi.js → _CFmM_OT1.js} +1 -1
  63. package/dist/public/assets/_CFmM_OT1.js.br +0 -0
  64. package/dist/public/assets/{_C_qZ5uwd2.js → _CKgWIiOt2.js} +1 -1
  65. package/dist/public/assets/_CKgWIiOt2.js.br +0 -0
  66. package/dist/public/assets/{_kzWcm3nm.js → _CMzV9b8B.js} +1 -1
  67. package/dist/public/assets/_CMzV9b8B.js.br +0 -0
  68. package/dist/public/assets/{_D1XnveBV.js → _CPiqUDDy.js} +1 -1
  69. package/dist/public/assets/_CPiqUDDy.js.br +0 -0
  70. package/dist/public/assets/{_BL7dyWXL.js → _CS052Ucq.js} +20 -20
  71. package/dist/public/assets/_CS052Ucq.js.br +0 -0
  72. package/dist/public/assets/{_DwFOcLsI2.js → _CSpkcUjh2.js} +1 -1
  73. package/dist/public/assets/_CSpkcUjh2.js.br +0 -0
  74. package/dist/public/assets/{_CbSFdGhW.js → _CUvcmgdP.js} +1 -1
  75. package/dist/public/assets/_CUvcmgdP.js.br +0 -0
  76. package/dist/public/assets/{_CU55G8Yf2.js → _C_aTh2522.js} +1 -1
  77. package/dist/public/assets/_C_aTh2522.js.br +0 -0
  78. package/dist/public/assets/{_avsueLNZ.js → _Ccn42CEK.js} +1 -1
  79. package/dist/public/assets/_Ccn42CEK.js.br +0 -0
  80. package/dist/public/assets/{_BJRef8Og2.js → _ChytUZvv2.js} +1 -1
  81. package/dist/public/assets/_ChytUZvv2.js.br +0 -0
  82. package/dist/public/assets/{_DK35E5612.js → _Cj7Uk97l2.js} +1 -1
  83. package/dist/public/assets/_Cj7Uk97l2.js.br +0 -0
  84. package/dist/public/assets/{_DijIqSaj2.js → _CjVBlSfy2.js} +1 -1
  85. package/dist/public/assets/_CjVBlSfy2.js.br +0 -0
  86. package/dist/public/assets/{_DciRF9rE.js → _CjVD9WF4.js} +1 -1
  87. package/dist/public/assets/_CjVD9WF4.js.br +0 -0
  88. package/dist/public/assets/{_B77CKFnL.js → _CuMN4b-0.js} +1 -1
  89. package/dist/public/assets/_CuMN4b-0.js.br +0 -0
  90. package/dist/public/assets/{_DyzNnEOs.js → _CxZjewAb.js} +1 -1
  91. package/dist/public/assets/_CxZjewAb.js.br +0 -0
  92. package/dist/public/assets/{_DkpU65ju.js → _D-wSazJF.js} +1 -1
  93. package/dist/public/assets/_D-wSazJF.js.br +0 -0
  94. package/dist/public/assets/{_D9Wr0Ggc.js → _D4bPDD54.js} +1 -1
  95. package/dist/public/assets/_D4bPDD54.js.br +0 -0
  96. package/dist/public/assets/{_BcsnmmsA.js → _D7rMA7Ee.js} +1 -1
  97. package/dist/public/assets/_D7rMA7Ee.js.br +0 -0
  98. package/dist/public/assets/{_B2W6--GA.js → _D8Nb0E5n.js} +1 -1
  99. package/dist/public/assets/_D8Nb0E5n.js.br +0 -0
  100. package/dist/public/assets/{_CAGMXD3z.js → _DC2u87q6.js} +1 -1
  101. package/dist/public/assets/_DC2u87q6.js.br +0 -0
  102. package/dist/public/assets/{_CW0r9JmM2.js → _DFwSVkTH2.js} +1 -1
  103. package/dist/public/assets/_DFwSVkTH2.js.br +0 -0
  104. package/dist/public/assets/{_BRtEkH0S.js → _DKrfX_Lr.js} +1 -1
  105. package/dist/public/assets/_DKrfX_Lr.js.br +0 -0
  106. package/dist/public/assets/{_4S5nbYez.js → _DLS-FteL.js} +1 -1
  107. package/dist/public/assets/_DLS-FteL.js.br +0 -0
  108. package/dist/public/assets/{_BEk6xpoo.js → _DVRuxWUw.js} +1 -1
  109. package/dist/public/assets/_DVRuxWUw.js.br +0 -0
  110. package/dist/public/assets/{_IL1tPh9k.js → _DezSJD4X.js} +1 -1
  111. package/dist/public/assets/_DezSJD4X.js.br +0 -0
  112. package/dist/public/assets/{_D_iLSXxo.js → _DfanBg_-.js} +1 -1
  113. package/dist/public/assets/_DfanBg_-.js.br +0 -0
  114. package/dist/public/assets/{_BNpauKOa.js → _DfyhPBNC.js} +1 -1
  115. package/dist/public/assets/_DfyhPBNC.js.br +7 -0
  116. package/dist/public/assets/{_Cy-7OIHA.js → _DgTwJOzV.js} +1 -1
  117. package/dist/public/assets/_DgTwJOzV.js.br +0 -0
  118. package/dist/public/assets/{_BDurrHP5.js → _DjyLCiwz.js} +1 -1
  119. package/dist/public/assets/_DjyLCiwz.js.br +0 -0
  120. package/dist/public/assets/{_CDHF4ZQE2.js → _DnTnF7qV2.js} +1 -1
  121. package/dist/public/assets/_DnTnF7qV2.js.br +0 -0
  122. package/dist/public/assets/{_leSBrm_6.js → _DtVjXhGi.js} +1 -1
  123. package/dist/public/assets/_DtVjXhGi.js.br +0 -0
  124. package/dist/public/assets/{_BGveroZ62.js → _Dvwf0Qjr2.js} +1 -1
  125. package/dist/public/assets/_Dvwf0Qjr2.js.br +0 -0
  126. package/dist/public/assets/{_vDRZXcov.js → _Dw686Grs.js} +1 -1
  127. package/dist/public/assets/_Dw686Grs.js.br +0 -0
  128. package/dist/public/assets/{_tYnN-yyR.js → _EKxr0Pk6.js} +1 -1
  129. package/dist/public/assets/_EKxr0Pk6.js.br +0 -0
  130. package/dist/public/assets/{_DyODLJ7v.js → _H2EMk3sR.js} +1 -1
  131. package/dist/public/assets/_H2EMk3sR.js.br +0 -0
  132. package/dist/public/assets/{_BYxENZ8N2.js → __ji2OfDR2.js} +1 -1
  133. package/dist/public/assets/__ji2OfDR2.js.br +0 -0
  134. package/dist/public/assets/{_WhpyuASW.js → _axfy2ci4.js} +1 -1
  135. package/dist/public/assets/_axfy2ci4.js.br +0 -0
  136. package/dist/public/assets/{_Cyv5hWnQ.js → _gpwHwzTz.js} +1 -1
  137. package/dist/public/assets/_gpwHwzTz.js.br +0 -0
  138. package/dist/public/assets/{_C4At0P-72.js → _iOsRP2432.js} +1 -1
  139. package/dist/public/assets/_iOsRP2432.js.br +0 -0
  140. package/dist/public/assets/{_u_QJIZlf2.js → _jNzrKWN72.js} +1 -1
  141. package/dist/public/assets/_jNzrKWN72.js.br +0 -0
  142. package/dist/public/assets/{_BDpDNdO22.js → _jl7SJGL42.js} +1 -1
  143. package/dist/public/assets/_jl7SJGL42.js.br +0 -0
  144. package/dist/public/assets/{_BmE5vg1I2.js → _kFsV7DDO2.js} +1 -1
  145. package/dist/public/assets/_kFsV7DDO2.js.br +0 -0
  146. package/dist/public/assets/{_C6C6kASF.js → _mkz0gZxI.js} +1 -1
  147. package/dist/public/assets/_mkz0gZxI.js.br +0 -0
  148. package/dist/public/assets/{_CyBvc9ho.js → _oTAPJGK3.js} +1 -1
  149. package/dist/public/assets/_oTAPJGK3.js.br +0 -0
  150. package/dist/public/assets/{_B5zr-Eqv2.js → _rGCA2okb2.js} +1 -1
  151. package/dist/public/assets/{_BDDJCM8z.js → _rKTMTs__.js} +1 -1
  152. package/dist/public/assets/_rKTMTs__.js.br +0 -0
  153. package/dist/public/assets/{app-page-CYLbQ8QR.css → app-page-C3FxPnzd.css} +1 -1
  154. package/dist/public/assets/app-page-C3FxPnzd.css.br +0 -0
  155. package/dist/public/assets/diff-view-D7ApUcje.css +1 -0
  156. package/dist/public/assets/diff-view-D7ApUcje.css.br +0 -0
  157. package/dist/public/assets/new-BFBAvSDQ.js +1 -0
  158. package/dist/public/assets/settings-BFBAvSDQ.js +1 -0
  159. package/dist/public/assets/w-BFBAvSDQ.js +1 -0
  160. package/dist/public/assets/w._-BFBAvSDQ.js +1 -0
  161. package/dist/public/assets/w._-BW-aNPpR.js +1 -0
  162. package/package.json +1 -1
  163. package/dist/public/assets/_3ynplbg02.js.br +0 -0
  164. package/dist/public/assets/_4S5nbYez.js.br +0 -0
  165. package/dist/public/assets/_6JqdBfNo.js.br +0 -0
  166. package/dist/public/assets/_B2W6--GA.js.br +0 -0
  167. package/dist/public/assets/_B5L88Fun.js.br +0 -0
  168. package/dist/public/assets/_B77CKFnL.js.br +0 -0
  169. package/dist/public/assets/_B8cmFbkc.js.br +0 -0
  170. package/dist/public/assets/_BDDJCM8z.js.br +0 -0
  171. package/dist/public/assets/_BDpDNdO22.js.br +0 -0
  172. package/dist/public/assets/_BDurrHP5.js.br +0 -0
  173. package/dist/public/assets/_BEk6xpoo.js.br +0 -0
  174. package/dist/public/assets/_BGveroZ62.js.br +0 -0
  175. package/dist/public/assets/_BJRef8Og2.js.br +0 -0
  176. package/dist/public/assets/_BL7dyWXL.js.br +0 -0
  177. package/dist/public/assets/_BNpauKOa.js.br +0 -5
  178. package/dist/public/assets/_BRtEkH0S.js.br +0 -0
  179. package/dist/public/assets/_BTWYV-Lp.js.br +0 -0
  180. package/dist/public/assets/_BYxENZ8N2.js.br +0 -0
  181. package/dist/public/assets/_Bat7nbwI.js.br +0 -0
  182. package/dist/public/assets/_BcsnmmsA.js.br +0 -0
  183. package/dist/public/assets/_BgHgS7fo.js.br +0 -0
  184. package/dist/public/assets/_BgTMYO5f.js.br +0 -0
  185. package/dist/public/assets/_BkUG7KqS2.js.br +0 -0
  186. package/dist/public/assets/_BmE5vg1I2.js.br +0 -0
  187. package/dist/public/assets/_Bx6kQ7i82.js.br +0 -0
  188. package/dist/public/assets/_C4At0P-72.js.br +0 -0
  189. package/dist/public/assets/_C6C6kASF.js.br +0 -0
  190. package/dist/public/assets/_CAGMXD3z.js.br +0 -0
  191. package/dist/public/assets/_CDHF4ZQE2.js.br +0 -0
  192. package/dist/public/assets/_CMqX47N9.js.br +0 -0
  193. package/dist/public/assets/_CTbAK0l2.js.br +0 -0
  194. package/dist/public/assets/_CU55G8Yf2.js.br +0 -0
  195. package/dist/public/assets/_CW0r9JmM2.js.br +0 -0
  196. package/dist/public/assets/_CZTLFFJd.js.br +0 -0
  197. package/dist/public/assets/_C_IYNn8f.js.br +0 -0
  198. package/dist/public/assets/_C_qZ5uwd2.js.br +0 -0
  199. package/dist/public/assets/_CbSFdGhW.js.br +0 -0
  200. package/dist/public/assets/_CwJ0At0b2.js.br +0 -0
  201. package/dist/public/assets/_Cy-7OIHA.js.br +0 -0
  202. package/dist/public/assets/_CyBvc9ho.js.br +0 -0
  203. package/dist/public/assets/_Cyv5hWnQ.js.br +0 -0
  204. package/dist/public/assets/_D1XnveBV.js.br +0 -0
  205. package/dist/public/assets/_D8Iy1C9u.js.br +0 -0
  206. package/dist/public/assets/_D9Wr0Ggc.js.br +0 -0
  207. package/dist/public/assets/_DAWoam_-.js.br +0 -0
  208. package/dist/public/assets/_DGM3-GL02.js.br +0 -0
  209. package/dist/public/assets/_DJdiUu64.js.br +0 -0
  210. package/dist/public/assets/_DK35E5612.js.br +0 -0
  211. package/dist/public/assets/_DPayMNVG2.js.br +0 -0
  212. package/dist/public/assets/_D_iLSXxo.js.br +0 -0
  213. package/dist/public/assets/_DciRF9rE.js.br +0 -0
  214. package/dist/public/assets/_DfNptl8V.js.br +0 -0
  215. package/dist/public/assets/_DijIqSaj2.js.br +0 -0
  216. package/dist/public/assets/_DkpU65ju.js.br +0 -0
  217. package/dist/public/assets/_DoMUzoqQ.js.br +0 -0
  218. package/dist/public/assets/_Ds32TzIf.js.br +0 -0
  219. package/dist/public/assets/_DwFOcLsI2.js.br +0 -0
  220. package/dist/public/assets/_DyODLJ7v.js.br +0 -0
  221. package/dist/public/assets/_DyzNnEOs.js.br +0 -0
  222. package/dist/public/assets/_IL1tPh9k.js.br +0 -0
  223. package/dist/public/assets/_PoE8SOKi.js.br +0 -0
  224. package/dist/public/assets/_SzbJBQbg2.js.br +0 -0
  225. package/dist/public/assets/_WhpyuASW.js.br +0 -0
  226. package/dist/public/assets/_aE4RRi8y.js.br +0 -0
  227. package/dist/public/assets/_avsueLNZ.js.br +0 -0
  228. package/dist/public/assets/_h3cff2nW.js.br +0 -0
  229. package/dist/public/assets/_kzWcm3nm.js.br +0 -0
  230. package/dist/public/assets/_leSBrm_6.js.br +0 -0
  231. package/dist/public/assets/_mIIXioBP2.js.br +0 -0
  232. package/dist/public/assets/_tYnN-yyR.js.br +0 -0
  233. package/dist/public/assets/_u_QJIZlf2.js.br +0 -0
  234. package/dist/public/assets/_vDRZXcov.js.br +0 -0
  235. package/dist/public/assets/_vxAYCrUk.js.br +0 -0
  236. package/dist/public/assets/app-page-CYLbQ8QR.css.br +0 -0
  237. package/dist/public/assets/diff-view-DM89dUsm.css +0 -1
  238. package/dist/public/assets/diff-view-DM89dUsm.css.br +0 -0
  239. package/dist/public/assets/new-C7B6EV0t.js +0 -1
  240. package/dist/public/assets/settings-C7B6EV0t.js +0 -1
  241. package/dist/public/assets/w-C7B6EV0t.js +0 -1
  242. package/dist/public/assets/w._-Bwtl9yyA.js +0 -1
  243. package/dist/public/assets/w._-C7B6EV0t.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 "./_BdPU13C_.js";
3
- import { $ as _content_resume, A as setPrimaryHost, At as attrTag, B as $global, C as workspaceTab, Ct as _set_serialize_reason, D as parseRepoUrl, Dt as _trailers, E as icon_base_default, Et as _to_text, F as iconBtnXs, G as _attr_option_value, H as _attr_class, I as inputLg, J as _attr_style, K as _attr_or, L as metaTrunc, M as btnSm, Mt as writeScope, O as repoLabel, Ot as _try, P as iconBtnRow, Q as _content, R as phase, S as theme, St as _serialize_if, T as icon_xmark_default, Tt as _template, V as _attr, W as _attr_input_value, X as _attrs_partial, Y as _attrs, Z as _await, _t as _scope_reason, a as rankRepos, at as _existing_scope, b as setWorkspaceTab, bt as _sep, c as icon_refresh_default, ct as _hoist, d as sectionCount$1, dt as _id, et as _dynamic_tag, ft as _if, g as ignoredSsoOrgs, gt as _scope_id, ht as _resume_branch, it as _escape, j as btnLg, jt as withPageAssets, k as repoWebUrl$1, kt as _var, l as iconBtn$2, lt as _hoist_read_error, mt as _resume, n as findInput, nt as _el_read_error, o as icon_search_default, ot as _flush_head, pt as _peek_scope_id, q as _attr_select_value, r as icon_sidebar_default, rt as _el_resume, s as icon_back_default, st as _for_of, t as findIconBtn, u as row, ut as _html, vt as _scope_with_id, w as toast_default, wt as _subscribe, x as sideNavOpen, xt as _serialize_guard, y as setTheme, yt as _script, z as tone } from "./_BoHSyzGw.js";
3
+ import { $ as _content_resume, A as setPrimaryHost, At as attrTag, B as $global, C as workspaceTab, Ct as _set_serialize_reason, D as parseRepoUrl, Dt as _trailers, E as icon_base_default, Et as _to_text, F as iconBtnXs, G as _attr_option_value, H as _attr_class, I as inputLg, J as _attr_style, K as _attr_or, L as metaTrunc, M as btnSm, Mt as writeScope, O as repoLabel, Ot as _try, P as iconBtnRow, Q as _content, R as phase, S as theme, St as _serialize_if, T as icon_xmark_default, Tt as _template, V as _attr, W as _attr_input_value, X as _attrs_partial, Y as _attrs, Z as _await, _t as _scope_reason, a as rankRepos, at as _existing_scope, b as setWorkspaceTab, bt as _sep, c as icon_refresh_default, ct as _hoist, d as sectionCount$1, dt as _id, et as _dynamic_tag, ft as _if, g as ignoredSsoOrgs, gt as _scope_id, ht as _resume_branch, it as _escape, j as btnLg, jt as withPageAssets, k as repoWebUrl$1, kt as _var, l as iconBtn$2, lt as _hoist_read_error, mt as _resume, n as findInput, nt as _el_read_error, o as icon_search_default, ot as _flush_head, pt as _peek_scope_id, q as _attr_select_value, r as icon_sidebar_default, rt as _el_resume, s as icon_back_default, st as _for_of, t as findIconBtn, u as row, ut as _html, vt as _scope_with_id, w as toast_default, wt as _subscribe, x as sideNavOpen, xt as _serialize_guard, y as setTheme, yt as _script, z as tone } from "./_C_ZBgO7_.js";
4
4
  import fs from "node:fs";
5
5
  import { createServer } from "node:http";
6
6
  import path from "node:path";
@@ -3576,6 +3576,38 @@ function coalesce(fn) {
3576
3576
  };
3577
3577
  }
3578
3578
  //#endregion
3579
+ //#region src/client/session.ts
3580
+ /** When an edge auth proxy (oauth2-proxy, Cloudflare Access, …) drops the
3581
+ * session, API fetches turn into login HTML and websocket upgrades fail.
3582
+ * A full reload is what users already do — and unlike a hardcoded
3583
+ * `/oauth2/sign_in` URL, it works for any hosting setup (or none). */
3584
+ var RELOAD_KEY = "work:auth-reload";
3585
+ var reloading = false;
3586
+ /** One reload per death episode. Cleared after a successful API call so a
3587
+ * later expiry can recover again; blocks loops if reload didn't help. */
3588
+ function reloadOnceForAuth() {
3589
+ if (typeof location === "undefined" || reloading) return;
3590
+ try {
3591
+ if (sessionStorage.getItem(RELOAD_KEY)) return;
3592
+ sessionStorage.setItem(RELOAD_KEY, "1");
3593
+ } catch {}
3594
+ reloading = true;
3595
+ location.reload();
3596
+ }
3597
+ /** Successful traffic means we're past any auth gate — allow a future reload. */
3598
+ function clearAuthReloadGuard() {
3599
+ try {
3600
+ sessionStorage.removeItem(RELOAD_KEY);
3601
+ } catch {}
3602
+ }
3603
+ /** True when a Response looks like an auth/proxy bounce instead of our JSON API. */
3604
+ function isAuthDeathResponse(res) {
3605
+ if (res.status === 401 || res.status === 403) return true;
3606
+ const ct = res.headers.get("content-type") || "";
3607
+ if (ct.includes("text/html") && !ct.includes("json")) return true;
3608
+ return false;
3609
+ }
3610
+ //#endregion
3579
3611
  //#region src/client/theme.ts
3580
3612
  var LIGHT_CHROME = "#fafafa";
3581
3613
  var DARK_CHROME = "#131316";
@@ -3772,7 +3804,7 @@ var icon_agent_default = _template("F", (input) => {
3772
3804
  n: $badge__closures
3773
3805
  });
3774
3806
  });
3775
- var usageNote = "_e5 _S";
3807
+ var usageNote = "_dq _S";
3776
3808
  //#endregion
3777
3809
  //#region src/tags/usage-meters.marko
3778
3810
  function duration(ms) {
@@ -3796,11 +3828,11 @@ var usage_meters_default = _template("C", (input) => {
3796
3828
  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);
3797
3829
  const $scope0_id = _scope_id();
3798
3830
  const agent = input.agent;
3799
- _html(`<div${_attr_class(["_eZ", { ["_e0"]: input.hideName }])}><div${_attr_class("_e1")}>`);
3831
+ _html(`<div${_attr_class(["_dk", { ["_dl"]: input.hideName }])}><div${_attr_class("_dm")}>`);
3800
3832
  _if(() => {
3801
3833
  if (!input.hideName) {
3802
3834
  const $scope1_id = _scope_id();
3803
- _html(`<strong${_attr_class("_fj")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
3835
+ _html(`<strong${_attr_class("_dF")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
3804
3836
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
3805
3837
  return 0;
3806
3838
  }
@@ -3808,7 +3840,7 @@ var usage_meters_default = _template("C", (input) => {
3808
3840
  _if(() => {
3809
3841
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
3810
3842
  const $scope2_id = _scope_id();
3811
- _html(`<span${_attr_class("_e2")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
3843
+ _html(`<span${_attr_class("_dn")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
3812
3844
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
3813
3845
  return 0;
3814
3846
  }
@@ -3816,19 +3848,19 @@ var usage_meters_default = _template("C", (input) => {
3816
3848
  _if(() => {
3817
3849
  if (agent.stale_seconds != null) {
3818
3850
  const $scope3_id = _scope_id();
3819
- _html(`<span${_attr_class("_e3")}${_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)}`);
3851
+ _html(`<span${_attr_class("_do")}${_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)}`);
3820
3852
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
3821
3853
  return 0;
3822
3854
  }
3823
3855
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
3824
- _html(`</div><div${_attr_class(["_e4", { ["_fk"]: agent.stale_seconds != null }])}>`);
3856
+ _html(`</div><div${_attr_class(["_dp", { ["_dG"]: agent.stale_seconds != null }])}>`);
3825
3857
  _for_of(agent.windows || [], (win) => {
3826
3858
  const $scope4_id = _scope_id();
3827
3859
  const pct = pctText$1(win.used_percent);
3828
3860
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
3829
- const fillClass = win.used_percent >= 90 ? "_fc" : win.used_percent >= 70 ? "_fb" : win.used_percent >= 40 ? "_fa" : "_e_";
3830
- const pctClass = win.used_percent >= 90 ? "_fh" : win.used_percent >= 70 ? "_fg" : win.used_percent >= 40 ? "_ff" : "_fe";
3831
- _html(`<div${_attr_class("_e6")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_e7")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_e8")}><span${_attr_class(["_e9", 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(["_fd", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fi")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
3861
+ const fillClass = win.used_percent >= 90 ? "_dy" : win.used_percent >= 70 ? "_dx" : win.used_percent >= 40 ? "_dw" : "_dv";
3862
+ const pctClass = win.used_percent >= 90 ? "_dD" : win.used_percent >= 70 ? "_dC" : win.used_percent >= 40 ? "_dB" : "_dA";
3863
+ _html(`<div${_attr_class("_dr")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_ds")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_dt")}><span${_attr_class(["_du", 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(["_dz", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_dE")}>${label ? `↻ ${_escape(`${_to_text(label)}`)}` : ""}${_el_resume($scope4_id, "i", $sg__input_agent)}</span></div>${_el_resume($scope4_id, "a", $sg__input_agent)}`);
3832
3864
  $si__input_agent && writeScope($scope4_id, { _: _scope_with_id($scope0_id) });
3833
3865
  }, "window", $scope0_id, "g", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
3834
3866
  _if(() => {
@@ -3890,10 +3922,10 @@ var sso_auth_default = _template("y", (input) => {
3890
3922
  localCode = null;
3891
3923
  }
3892
3924
  }, "y0", $scope0_id);
3893
- _html(`<div${_attr_class("_eO")}><p${_attr_class("_eY")}>GitHub CLI needs org SSO for ${_sep($sg__input_items)}${_escape(input.items.map((s) => s.org).join(", "))}${_el_resume($scope0_id, "c", $sg__input_items)}.</p><ul${_attr_class("_eP")}>`);
3925
+ _html(`<div${_attr_class("_cS")}><p${_attr_class("_c2")}>GitHub CLI needs org SSO for ${_sep($sg__input_items)}${_escape(input.items.map((s) => s.org).join(", "))}${_el_resume($scope0_id, "c", $sg__input_items)}.</p><ul${_attr_class("_cT")}>`);
3894
3926
  _for_of(input.items, (s) => {
3895
3927
  const $scope1_id = _scope_id();
3896
- _html(`<li${_attr_class("_eQ")}>${_escape(s.org)}${_el_resume($scope1_id, "b", $sg__input_items)}<button type=button${_attr_class("_eR")}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
3928
+ _html(`<li${_attr_class("_cU")}>${_escape(s.org)}${_el_resume($scope1_id, "b", $sg__input_items)}<button type=button${_attr_class("_cV")}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
3897
3929
  icon_xmark_default({ size: 11 });
3898
3930
  _html(`</button>${_el_resume($scope1_id, "c")}</li>`);
3899
3931
  _script($scope1_id, "y1");
@@ -3902,17 +3934,17 @@ var sso_auth_default = _template("y", (input) => {
3902
3934
  _: _scope_with_id($scope0_id)
3903
3935
  });
3904
3936
  }, "org", $scope0_id, "d", 1, $sg__input_items, $sg__input_items, "</ul>", 1);
3905
- _html(`<div${_attr_class("_eS")}>`);
3937
+ _html(`<div${_attr_class("_cW")}>`);
3906
3938
  _if(() => {
3907
3939
  if (busy && authCode$2) {
3908
3940
  const $scope4_id = _scope_id();
3909
- _html(`<span${_attr_class("_eT")}><span${_attr_class("_F")}></span> Enter code <strong${_attr_class("_eU")}>${_escape(authCode$2)}${_el_resume($scope4_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_eV")}>${_escape(host)}${_el_resume($scope4_id, "f", _serialize_guard($scope0_reason, 2))}/login/device</a>${_el_resume($scope4_id, "e")}</span>`);
3941
+ _html(`<span${_attr_class("_cX")}><span${_attr_class("_F")}></span> Enter code <strong${_attr_class("_cY")}>${_escape(authCode$2)}${_el_resume($scope4_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_cZ")}>${_escape(host)}${_el_resume($scope4_id, "f", _serialize_guard($scope0_reason, 2))}/login/device</a>${_el_resume($scope4_id, "e")}</span>`);
3910
3942
  _script($scope4_id, "y2");
3911
3943
  writeScope($scope4_id, {});
3912
3944
  return 0;
3913
3945
  } else if (busy) {
3914
3946
  const $scope7_id = _scope_id();
3915
- _html(`<span${_attr_class("_eT")}><span${_attr_class("_F")}></span>Starting GitHub re-authorization…</span>`);
3947
+ _html(`<span${_attr_class("_cX")}><span${_attr_class("_F")}></span>Starting GitHub re-authorization…</span>`);
3916
3948
  writeScope($scope7_id, {});
3917
3949
  return 1;
3918
3950
  } else {
@@ -3926,7 +3958,7 @@ var sso_auth_default = _template("y", (input) => {
3926
3958
  _if(() => {
3927
3959
  if (localError) {
3928
3960
  const $scope5_id = _scope_id();
3929
- _html(`<p${_attr_class("_eY")}>${_escape(localError)}${_el_resume($scope5_id, "b")}</p>`);
3961
+ _html(`<p${_attr_class("_c2")}>${_escape(localError)}${_el_resume($scope5_id, "b")}</p>`);
3930
3962
  writeScope($scope5_id, {});
3931
3963
  return 0;
3932
3964
  }
@@ -3934,7 +3966,7 @@ var sso_auth_default = _template("y", (input) => {
3934
3966
  _if(() => {
3935
3967
  if (skipped$1.length) {
3936
3968
  const $scope2_id = _scope_id();
3937
- _html(`<p${_attr_class("_eW")}>Skipped `);
3969
+ _html(`<p${_attr_class("_c0")}>Skipped `);
3938
3970
  _for_of(skipped$1, (s, i) => {
3939
3971
  const $scope3_id = _scope_id();
3940
3972
  _if(() => {
@@ -3945,7 +3977,7 @@ var sso_auth_default = _template("y", (input) => {
3945
3977
  return 0;
3946
3978
  }
3947
3979
  }, $scope3_id, "a", $sg__input_skipped, $sg__input_skipped, $sg__input_skipped);
3948
- _html(`${_sep($sg__input_skipped)}${_escape(s.org)}${_el_resume($scope3_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_eX")}${_attr("title", `Show ${s.org} again`)}> undo</button>${_el_resume($scope3_id, "c")}`);
3980
+ _html(`${_sep($sg__input_skipped)}${_escape(s.org)}${_el_resume($scope3_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_c1")}${_attr("title", `Show ${s.org} again`)}> undo</button>${_el_resume($scope3_id, "c")}`);
3949
3981
  _script($scope3_id, "y4");
3950
3982
  writeScope($scope3_id, {
3951
3983
  f: s?.org,
@@ -4015,7 +4047,7 @@ var modal_view_default = _template("o", (input) => {
4015
4047
  const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
4016
4048
  const dismissable = input.dismissable !== false;
4017
4049
  let open = input.open;
4018
- _html(`<dialog${_attr_class(["_hu", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
4050
+ _html(`<dialog${_attr_class(["_fl", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
4019
4051
  ...htmlInput,
4020
4052
  open: null
4021
4053
  }, {
@@ -4025,20 +4057,20 @@ var modal_view_default = _template("o", (input) => {
4025
4057
  closedby: 1,
4026
4058
  "on-cancel": 1,
4027
4059
  "on-close": 1
4028
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_hv")}>`);
4060
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_fm")}>`);
4029
4061
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
4030
4062
  _html("</div>");
4031
4063
  _if(() => {
4032
4064
  if (footer) {
4033
4065
  const $scope1_id = _scope_id();
4034
- _html(`<form method=dialog${_attr_class("_hw")}>`);
4066
+ _html(`<form method=dialog${_attr_class("_fn")}>`);
4035
4067
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
4036
4068
  _html("</form>");
4037
4069
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
4038
4070
  return 0;
4039
4071
  } else if (input.openChange) {
4040
4072
  const $scope2_id = _scope_id();
4041
- _html(`<form method=dialog${_attr_class("_hw")}>`);
4073
+ _html(`<form method=dialog${_attr_class("_fn")}>`);
4042
4074
  dialog_close_default({
4043
4075
  class: ["_o", "_p"],
4044
4076
  content: _content("o0", () => {
@@ -4097,7 +4129,7 @@ var prompt_dialog_default = _template("r", (input) => {
4097
4129
  const $childScope = _peek_scope_id();
4098
4130
  modal_view_default({
4099
4131
  label: input.label,
4100
- class: "_eM",
4132
+ class: "_di",
4101
4133
  open: input.open,
4102
4134
  openChange: input.openChange,
4103
4135
  "aria-labelledby": titleId,
@@ -4120,7 +4152,7 @@ var prompt_dialog_default = _template("r", (input) => {
4120
4152
  content: _content("r6", () => {
4121
4153
  _scope_reason();
4122
4154
  const $scope2_id = _scope_id();
4123
- _html(`<h2${_attr_class("_eN")}${_attr("id", titleId)}>${_escape(input.label)}${_el_resume($scope2_id, "b", $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
4155
+ _html(`<h2${_attr_class("_dj")}${_attr("id", titleId)}>${_escape(input.label)}${_el_resume($scope2_id, "b", $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
4124
4156
  value = _new_value;
4125
4157
  }, "r0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
4126
4158
  _script($scope2_id, "r4");
@@ -5357,7 +5389,7 @@ var curBase = "_bR _T _S";
5357
5389
  var archived = "_bW _bs";
5358
5390
  var archivedHint = "_bX _S";
5359
5391
  var archivedCard = "_bY _bx";
5360
- var resultBranch = "_cZ _Z _j";
5392
+ var resultBranch = "_c_ _Z _j";
5361
5393
  //#endregion
5362
5394
  //#region src/tags/branch-pick.marko
5363
5395
  var branch_pick_default = _template("d", (input) => {
@@ -5368,7 +5400,7 @@ var branch_pick_default = _template("d", (input) => {
5368
5400
  let branches = null;
5369
5401
  let defaultBranch = null;
5370
5402
  let branchFilter = "";
5371
- _html(`<div${_attr_class("_c1")}>`);
5403
+ _html(`<div${_attr_class("_db")}>`);
5372
5404
  _if(() => {
5373
5405
  {
5374
5406
  const $scope4_id = _scope_id();
@@ -5448,11 +5480,11 @@ var repo_picker_default = _template("s", (input) => {
5448
5480
  const ignored = new Set(prefs$1?.ignoredSsoOrgs?.() ?? []);
5449
5481
  return (catalog?.sso || []).filter((s) => !ignored.has(s.org));
5450
5482
  })();
5451
- _html(`<div${_attr_class("_cS")}>`);
5483
+ _html(`<div${_attr_class("_c3")}>`);
5452
5484
  _if(() => {
5453
5485
  if (ssoPending.length) {
5454
5486
  const $scope7_id = _scope_id();
5455
- _html(`<div${_attr_class("_cT")}>`);
5487
+ _html(`<div${_attr_class("_c4")}>`);
5456
5488
  _set_serialize_reason(12);
5457
5489
  const $childScope = _peek_scope_id();
5458
5490
  sso_auth_default({
@@ -5482,22 +5514,22 @@ var repo_picker_default = _template("s", (input) => {
5482
5514
  _if(() => {
5483
5515
  if (pasted) {
5484
5516
  const $scope1_id = _scope_id();
5485
- _html(`<ul${_attr_class("_cU")}><li><div${_attr_class(["_cW", "_cV"])}><button${_attr_class("_cX")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
5517
+ _html(`<ul${_attr_class("_c5")}><li><div${_attr_class(["_c7", "_c6"])}><button${_attr_class("_c8")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
5486
5518
  icon_plus_default({
5487
5519
  size: 12,
5488
- class: "_c3"
5520
+ class: "_dd"
5489
5521
  });
5490
- _html(`<span${_attr_class("_c4")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
5522
+ _html(`<span${_attr_class("_de")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
5491
5523
  _if(() => {
5492
5524
  if (pastedForkable) {
5493
5525
  const $scope8_id = _scope_id();
5494
- _html(`<button${_attr_class(["_c0", { ["_cY"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>${pasteWillFork ? "✓ fork" : "Fork"}${_el_resume($scope8_id, "b")}</button>${_el_resume($scope8_id, "a")}`);
5526
+ _html(`<button${_attr_class(["_da", { ["_c9"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>${pasteWillFork ? "✓ fork" : "Fork"}${_el_resume($scope8_id, "b")}</button>${_el_resume($scope8_id, "a")}`);
5495
5527
  _script($scope8_id, "s13");
5496
5528
  _subscribe($pasteWillFork__closures, _subscribe($pasted__closures, writeScope($scope8_id, { Cao: 1 })));
5497
5529
  return 0;
5498
5530
  }
5499
5531
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
5500
- _html(`<button${_attr_class([resultBranch, { ["_cY"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>⎇</button>${_el_resume($scope1_id, "h")}</div>`);
5532
+ _html(`<button${_attr_class([resultBranch, { ["_c9"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>⎇</button>${_el_resume($scope1_id, "h")}</div>`);
5501
5533
  _if(() => {
5502
5534
  if (branchesFor === pasted) {
5503
5535
  const $scope2_id = _scope_id();
@@ -5530,15 +5562,15 @@ var repo_picker_default = _template("s", (input) => {
5530
5562
  _if(() => {
5531
5563
  if (results.length) {
5532
5564
  const $scope3_id = _scope_id();
5533
- _html(`<ul${_attr_class("_cU")}>`);
5565
+ _html(`<ul${_attr_class("_c5")}>`);
5534
5566
  _for_of(results, (repo, i) => {
5535
5567
  const $scope4_id = _scope_id();
5536
- _html(`<li><div${_attr_class(["_cW", { ["_cV"]: i === highlight }])}><button${_attr_class("_cX")}>`);
5568
+ _html(`<li><div${_attr_class(["_c7", { ["_c6"]: i === highlight }])}><button${_attr_class("_c8")}>`);
5537
5569
  icon_plus_default({
5538
5570
  size: 12,
5539
- class: "_c3"
5571
+ class: "_dd"
5540
5572
  });
5541
- _html(`<span${_attr_class("_c4")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_cY"]: 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($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
5573
+ _html(`<span${_attr_class("_de")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_c9"]: 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($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
5542
5574
  _if(() => {
5543
5575
  if (branchesFor === repo.nameWithOwner) {
5544
5576
  const $scope5_id = _scope_id();
@@ -5947,17 +5979,29 @@ var new_workspace_default = _template("p", (input) => {
5947
5979
  /** Fetch JSON from an API route. Error bodies are always `{ error: string }`;
5948
5980
  * when one comes back (or the response isn't ok / isn't JSON) this throws,
5949
5981
  * so callers handle failure in one place. Pass `{ signal: $signal }` where
5950
- * a component-scoped fetch should abort on destroy. */
5982
+ * a component-scoped fetch should abort on destroy.
5983
+ *
5984
+ * Behind an auth proxy, an expired session turns into login HTML (or 401).
5985
+ * Reload once — same fix users already apply by hand, hosting-agnostic. */
5951
5986
  async function api$3(url, init) {
5952
5987
  const res = await fetch(url, init);
5988
+ if (isAuthDeathResponse(res)) {
5989
+ reloadOnceForAuth();
5990
+ throw new Error("session expired");
5991
+ }
5953
5992
  let data;
5954
5993
  try {
5955
5994
  data = await res.json();
5956
5995
  } catch {
5996
+ if (isAuthDeathResponse(res)) {
5997
+ reloadOnceForAuth();
5998
+ throw new Error("session expired");
5999
+ }
5957
6000
  throw new Error(res.ok ? "invalid response" : `HTTP ${res.status}`);
5958
6001
  }
5959
6002
  if (data && typeof data === "object" && data.error) throw new Error(data.error);
5960
6003
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
6004
+ clearAuthReloadGuard();
5961
6005
  return data;
5962
6006
  }
5963
6007
  //#endregion
@@ -6025,8 +6069,8 @@ function activeAgent(session) {
6025
6069
  const command = session.state?.command?.trim();
6026
6070
  return command && agentFromCommand(command) || session.agent;
6027
6071
  }
6028
- var iconBtn$1 = "_dj _j";
6029
- var navToggle = "_do _j";
6072
+ var iconBtn$1 = "_dT _j";
6073
+ var navToggle = "_dY _j";
6030
6074
  _template("I", (input) => {
6031
6075
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
6032
6076
  const $scope0_id = _scope_id();
@@ -6069,12 +6113,12 @@ var ARM_MS = 3500;
6069
6113
  function disarmLater(fn) {
6070
6114
  return setTimeout(fn, ARM_MS);
6071
6115
  }
6072
- var railBtn = "_gk _j";
6073
- var rowIcon = "_gt _Z _j";
6074
- var close = "_gu _Z _j _2";
6116
+ var railBtn = "_fL _j";
6117
+ var rowIcon = "_fU _Z _j";
6118
+ var close = "_fV _Z _j _2";
6075
6119
  //#endregion
6076
6120
  //#region src/styles/session-pop.css.ts
6077
- var sessionPop = "_gg _4";
6121
+ var sessionPop = "_fu _4";
6078
6122
  //#endregion
6079
6123
  //#region src/client/usage.ts
6080
6124
  /** The plan row an agent instance draws on: its own account (`claude2`)
@@ -6135,22 +6179,22 @@ var usage_pcts_default = _template("D", (input) => {
6135
6179
  if (windows.length) {
6136
6180
  const $scope1_id = _scope_id();
6137
6181
  _html(`<span${_attr_class([
6138
- "_fl",
6182
+ "_fo",
6139
6183
  input.class,
6140
- { ["_fm"]: agent.stale_seconds != null }
6184
+ { ["_fp"]: agent.stale_seconds != null }
6141
6185
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
6142
6186
  _for_of(windows, (win$1, i) => {
6143
6187
  const $scope2_id = _scope_id();
6144
- _html(`<span${_attr_class("_fn")}>`);
6188
+ _html(`<span${_attr_class("_fq")}>`);
6145
6189
  _if(() => {
6146
6190
  if (i) {
6147
6191
  const $scope3_id = _scope_id();
6148
- _html(`<span${_attr_class("_fq")} aria-hidden=true>·</span>`);
6192
+ _html(`<span${_attr_class("_ft")} aria-hidden=true>·</span>`);
6149
6193
  $si__input_agent && writeScope($scope3_id, {});
6150
6194
  return 0;
6151
6195
  }
6152
6196
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
6153
- _html(`<span${_attr_class("_fo")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_fp", win$1.used_percent >= 90 ? "_fh" : win$1.used_percent >= 70 ? "_fg" : win$1.used_percent >= 40 ? "_ff" : "_fe"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
6197
+ _html(`<span${_attr_class("_fr")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_fs", win$1.used_percent >= 90 ? "_dD" : win$1.used_percent >= 70 ? "_dC" : win$1.used_percent >= 40 ? "_dB" : "_dA"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
6154
6198
  $si__input_agent && writeScope($scope2_id, {});
6155
6199
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
6156
6200
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -6181,12 +6225,12 @@ var icon_edit_default = _template("N", (input) => {
6181
6225
  });
6182
6226
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
6183
6227
  });
6184
- var prChip = "_hk _s _hj";
6185
- var portChip = "_hl _s _hj";
6228
+ var prChip = "_hn _s _hm";
6229
+ var portChip = "_ho _s _hm";
6186
6230
  var prState = {
6187
- open: "_hp",
6188
- merged: "_hq",
6189
- closed: "_hr"
6231
+ open: "_hs",
6232
+ merged: "_ht",
6233
+ closed: "_hu"
6190
6234
  };
6191
6235
  //#endregion
6192
6236
  //#region src/tags/side-nav-chips.marko
@@ -6234,7 +6278,7 @@ var side_nav_chips_default = _template("v", (input) => {
6234
6278
  const name = repo.full_name.split("/").at(-1);
6235
6279
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
6236
6280
  }, "v2", $scope1_id);
6237
- _html(`<div${_attr_class("_hi")}>`);
6281
+ _html(`<div${_attr_class("_hl")}>`);
6238
6282
  _for_of(repos, (repo) => {
6239
6283
  const $scope2_id = _scope_id();
6240
6284
  const $for_content__repo_worktree__closures = /* @__PURE__ */ new Set();
@@ -6250,11 +6294,11 @@ var side_nav_chips_default = _template("v", (input) => {
6250
6294
  [prState.merged]: pr.state === "MERGED",
6251
6295
  [prState.closed]: pr.state === "CLOSED"
6252
6296
  }
6253
- ])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_hm", { ["_ht"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c", $sg__input_status_repos)}#${_sep($sg__input_status_repos)}${_escape(pr.number)}${_el_resume($scope3_id, "d", $sg__input_status_repos)}</a>${_el_resume($scope3_id, "b", $sg__input_status_repos)}`);
6297
+ ])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_hp", { ["_hw"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c", $sg__input_status_repos)}#${_sep($sg__input_status_repos)}${_escape(pr.number)}${_el_resume($scope3_id, "d", $sg__input_status_repos)}</a>${_el_resume($scope3_id, "b", $sg__input_status_repos)}`);
6254
6298
  _if(() => {
6255
6299
  if (open) {
6256
6300
  const $scope4_id = _scope_id();
6257
- _html(`<a${_attr_class(["_hm", "_hn"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
6301
+ _html(`<a${_attr_class(["_hp", "_hq"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
6258
6302
  icon_diff_default({ size: 12 });
6259
6303
  _html(`</a>${_el_resume($scope4_id, "a", _serialize_guard($scope0_reason, 0))}`);
6260
6304
  _serialize_if($scope0_reason, 2) && _subscribe($si__input_status_repos && $for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, { _: _scope_with_id($scope3_id) })));
@@ -6262,9 +6306,9 @@ var side_nav_chips_default = _template("v", (input) => {
6262
6306
  } else {
6263
6307
  const $scope6_id = _scope_id();
6264
6308
  _html(`<button type=button${_attr_class([
6265
- "_hm",
6266
- "_hn",
6267
- "_ho"
6309
+ "_hp",
6310
+ "_hq",
6311
+ "_hr"
6268
6312
  ])}${_attr("title", `Dismiss #${pr.number}`)}>`);
6269
6313
  icon_xmark_default({ size: 12 });
6270
6314
  _html(`</button>${_el_resume($scope6_id, "a")}`);
@@ -6289,10 +6333,10 @@ var side_nav_chips_default = _template("v", (input) => {
6289
6333
  }, "full_name", $scope1_id, "b", $sg__input_status_repos, $sg__input_status_repos, $sg__input_status_repos__OR__input_status_ports);
6290
6334
  _for_of(ports, (p) => {
6291
6335
  const $scope5_id = _scope_id();
6292
- _html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_hm", "_hs"])}${_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([
6293
- "_hm",
6294
- "_hn",
6295
- "_ho",
6336
+ _html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_hp", "_hv"])}${_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([
6337
+ "_hp",
6338
+ "_hq",
6339
+ "_hr",
6296
6340
  { ["_q"]: armedPid === p.pid }
6297
6341
  ])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
6298
6342
  icon_xmark_default({ size: 12 });
@@ -6384,10 +6428,10 @@ var side_nav_item_default = _template("w", (input) => {
6384
6428
  _if(() => {
6385
6429
  if (input.rail) {
6386
6430
  const $scope2_id = _scope_id();
6387
- _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_gi"]: 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([
6431
+ _html(`<a${_attr("href", `/w/${ws$1.id}`)}${_attr_class([railBtn, { ["_fJ"]: 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([
6388
6432
  "_z",
6389
6433
  phase[dot],
6390
- "_gl"
6434
+ "_fM"
6391
6435
  ])}></span>${_el_resume($scope2_id, "c", $sg__input_workspaceId__OR__input_status)}</a>${_el_resume($scope2_id, "a", _serialize_guard($scope0_reason, 3))}`);
6392
6436
  _serialize_if($scope0_reason, 18) && _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_name__closures, _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_index && $input_index__closures, _subscribe($si__input_current && $input_current__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })))));
6393
6437
  return 0;
@@ -6395,15 +6439,15 @@ var side_nav_item_default = _template("w", (input) => {
6395
6439
  const $scope3_id = _scope_id();
6396
6440
  const sessions$1 = input.sessions || [];
6397
6441
  const phaseLabel = dot === "working" ? "Working" : dot === "waiting" ? "Needs input" : dot === "idle" ? "Idle" : "Not running";
6398
- _html(`<section${_attr_class(["_gn", {
6399
- ["_gi"]: input.current,
6442
+ _html(`<section${_attr_class(["_fO", {
6443
+ ["_fJ"]: input.current,
6400
6444
  ["_5"]: input.current,
6401
- ["_go"]: input.railPop,
6402
- ["_gm"]: input.page
6403
- }])}><div${_attr_class("_gp")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_gq")}><span${_attr_class([
6445
+ ["_fP"]: input.railPop,
6446
+ ["_fN"]: input.page
6447
+ }])}><div${_attr_class("_fQ")}><a${_attr("href", `/w/${ws$1.id}`)}${_attr_class("_fR")}><span${_attr_class([
6404
6448
  "_z",
6405
6449
  phase[dot],
6406
- "_gD"
6450
+ "_f4"
6407
6451
  ])}${_attr("title", phaseLabel)}></span>${_el_resume($scope3_id, "d", $sg__input_workspaceId__OR__input_status)}`);
6408
6452
  _if(() => {
6409
6453
  if (sessions$1.length === 1) {
@@ -6416,7 +6460,7 @@ var side_nav_item_default = _template("w", (input) => {
6416
6460
  icon_agent_default({
6417
6461
  agent: activeAgent(sessions$1[0]),
6418
6462
  size: 12,
6419
- class: "_gv"
6463
+ class: "_fW"
6420
6464
  });
6421
6465
  $si__input_sessions && writeScope($scope14_id, {
6422
6466
  _: _scope_with_id($scope3_id),
@@ -6426,16 +6470,16 @@ var side_nav_item_default = _template("w", (input) => {
6426
6470
  }
6427
6471
  }, $scope3_id, "e", $sg__input_sessions, $sg__input_sessions);
6428
6472
  const metaText = sessions$1.length === 0 ? phaseLabel : sessions$1.length === 1 ? sessions$1[0].title || "" : `${sessions$1.length} sessions`;
6429
- _html(`<span${_attr_class("_gw")}><span${_attr_class("_gx")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
6473
+ _html(`<span${_attr_class("_fX")}><span${_attr_class("_fY")}>${_escape(ws$1.name)}${_el_resume($scope3_id, "h", $sg__input_workspaces__OR__input_workspaceId)}</span>`);
6430
6474
  _if(() => {
6431
6475
  if (input.page && metaText) {
6432
6476
  const $scope16_id = _scope_id();
6433
- _html(`<span${_attr_class("_gB")}>${_escape(metaText)}${_el_resume($scope16_id, "b", _serialize_guard($scope0_reason, 7))}</span>`);
6477
+ _html(`<span${_attr_class("_f2")}>${_escape(metaText)}${_el_resume($scope16_id, "b", _serialize_guard($scope0_reason, 7))}</span>`);
6434
6478
  $si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope16_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope3_id) });
6435
6479
  return 0;
6436
6480
  } else if (sessions$1.length === 1 && sessions$1[0].title) {
6437
6481
  const $scope15_id = _scope_id();
6438
- _html(`<span${_attr_class("_gy")}>${_escape(sessions$1[0].title)}${_el_resume($scope15_id, "b", $sg__input_sessions)}</span>`);
6482
+ _html(`<span${_attr_class("_fZ")}>${_escape(sessions$1[0].title)}${_el_resume($scope15_id, "b", $sg__input_sessions)}</span>`);
6439
6483
  $si__input_page__OR__input_sessions__OR__input_workspaceId__OR__input_status && writeScope($scope15_id, { _: $si__input_sessions && _scope_with_id($scope3_id) });
6440
6484
  return 1;
6441
6485
  }
@@ -6448,7 +6492,7 @@ var side_nav_item_default = _template("w", (input) => {
6448
6492
  "_I",
6449
6493
  "_R",
6450
6494
  "_K",
6451
- "_gC"
6495
+ "_f3"
6452
6496
  ])}>${input.current ? "Open" : ""}${_el_resume($scope4_id, "b", _serialize_guard($scope0_reason, 21))}</span>`);
6453
6497
  $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, {
6454
6498
  _: _scope_with_id($scope3_id),
@@ -6461,7 +6505,7 @@ var side_nav_item_default = _template("w", (input) => {
6461
6505
  _if(() => {
6462
6506
  if (!input.page) {
6463
6507
  const $scope5_id = _scope_id();
6464
- _html(`<div${_attr_class("_gr")}>`);
6508
+ _html(`<div${_attr_class("_fS")}>`);
6465
6509
  _if(() => {
6466
6510
  if (input.onNewSession) {
6467
6511
  const $scope6_id = _scope_id();
@@ -6475,7 +6519,7 @@ var side_nav_item_default = _template("w", (input) => {
6475
6519
  _html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
6476
6520
  _for_of([], (agent) => {
6477
6521
  const $scope7_id = _scope_id();
6478
- _html(`<button${_attr_class("_gh")}>`);
6522
+ _html(`<button${_attr_class("_fv")}>`);
6479
6523
  _set_serialize_reason(12);
6480
6524
  const $childScope2 = _peek_scope_id();
6481
6525
  icon_agent_default({
@@ -6510,7 +6554,7 @@ var side_nav_item_default = _template("w", (input) => {
6510
6554
  return 0;
6511
6555
  }
6512
6556
  }, $scope5_id, "c", $sg__input_onReview, $sg__input_onReview, $sg__input_onNewSession__OR__input_onReview, 0, 1);
6513
- _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_gj"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
6557
+ _html(`<a${input.managing ? _attr("href", `/w/${ws$1.id}`) : _attr("href", `/w/${ws$1.id}/manage`)}${_attr_class([rowIcon, { ["_fK"]: input.managing }])} title=${input.managing ? "\"Back to terminal\"" : "\"Manage workspace\""}${input.managing ? " aria-current=page" : ""}>`);
6514
6558
  icon_manage_default({ size: 12 });
6515
6559
  _html(`</a>${_el_resume($scope5_id, "d", _serialize_guard($scope0_reason, 8))}</div>`);
6516
6560
  _subscribe($si__input_workspaces__OR__input_workspaceId && $ws_id__closures, _subscribe($si__input_managing && $input_managing__closures, _subscribe($si__input_onReview && $input_onReview__closures, _subscribe($si__input_onNewSession && $input_onNewSession__closures, writeScope($scope5_id, {
@@ -6520,7 +6564,7 @@ var side_nav_item_default = _template("w", (input) => {
6520
6564
  return 0;
6521
6565
  }
6522
6566
  }, $scope3_id, "k", $sg__input_page, $sg__input_page, 1, 0, 1);
6523
- _html(`</div><div${_attr_class("_gI")}>`);
6567
+ _html(`</div><div${_attr_class("_f9")}>`);
6524
6568
  _if(() => {
6525
6569
  if (sessions$1.length === 1 && openPlan) {
6526
6570
  const $scope11_id = _scope_id();
@@ -6528,7 +6572,7 @@ var side_nav_item_default = _template("w", (input) => {
6528
6572
  const $childScope3 = _peek_scope_id();
6529
6573
  usage_pcts_default({
6530
6574
  agent: openPlan,
6531
- class: "_gz"
6575
+ class: "_f0"
6532
6576
  });
6533
6577
  _subscribe($openPlan__closures, writeScope($scope11_id, {
6534
6578
  a: _existing_scope($childScope3),
@@ -6539,14 +6583,14 @@ var side_nav_item_default = _template("w", (input) => {
6539
6583
  }, $scope3_id, "m");
6540
6584
  _for_of(sessions$1.length > 1 ? sessions$1 : [], (s) => {
6541
6585
  const $scope8_id = _scope_id();
6542
- _html(`<div${_attr_class(["_gs", { ["_gi"]: s.id === input.currentTab }])}>`);
6586
+ _html(`<div${_attr_class(["_fT", { ["_fJ"]: s.id === input.currentTab }])}>`);
6543
6587
  _if(() => {
6544
6588
  if (renamingId === s.id) {
6545
6589
  const $scope10_id = _scope_id();
6546
6590
  _html(`<span${_attr_class([
6547
6591
  "_z",
6548
6592
  phase[sessionPhase(s.state)],
6549
- "_gG"
6593
+ "_f7"
6550
6594
  ])}></span>${_el_resume($scope10_id, "a", $sg__input_sessions)}`);
6551
6595
  _set_serialize_reason({
6552
6596
  1: $sg__input_sessions,
@@ -6556,17 +6600,17 @@ var side_nav_item_default = _template("w", (input) => {
6556
6600
  icon_agent_default({
6557
6601
  agent: activeAgent(s),
6558
6602
  size: 13,
6559
- class: "_gK"
6603
+ class: "_ga"
6560
6604
  });
6561
6605
  _html(`<input${_attr_input_value($scope10_id, "c", renameValue, _resume((_new_renameValue) => {
6562
6606
  renameValue = _new_renameValue;
6563
- }, "w0", $scope10_id))}${_attr_class(["_U", "_gH"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
6607
+ }, "w0", $scope10_id))}${_attr_class(["_U", "_f8"])} aria-label="Session name">${_el_resume($scope10_id, "c")}`);
6564
6608
  _script($scope10_id, "w5");
6565
6609
  _subscribe($renameValue__closures, writeScope($scope10_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
6566
6610
  return 0;
6567
6611
  } else {
6568
6612
  const $scope9_id = _scope_id();
6569
- _html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_gJ")}><span${_attr_class(["_z", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
6613
+ _html(`<a${_attr("href", `/w/${ws$1.id}?s=${s.id}`)}${_attr_class("_f_")}><span${_attr_class(["_z", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope9_id, "b", $sg__input_sessions)}`);
6570
6614
  _set_serialize_reason({
6571
6615
  1: $sg__input_sessions,
6572
6616
  2: $sg__input_sessions
@@ -6575,9 +6619,9 @@ var side_nav_item_default = _template("w", (input) => {
6575
6619
  icon_agent_default({
6576
6620
  agent: activeAgent(s),
6577
6621
  size: 13,
6578
- class: "_gK"
6622
+ class: "_ga"
6579
6623
  });
6580
- _html(`<span${_attr_class("_gE")}>${_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("_gF")}><button${_attr_class(rowIcon)} title="Rename session">`);
6624
+ _html(`<span${_attr_class("_f5")}>${_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("_f6")}><button${_attr_class(rowIcon)} title="Rename session">`);
6581
6625
  icon_edit_default({ size: 12 });
6582
6626
  _html(`</button>${_el_resume($scope9_id, "g")}<button${_attr_class([close, { ["_q"]: armedKill === s.id }])} title=${armedKill === s.id ? "Close?" : "\"Close session\""}>`);
6583
6627
  icon_xmark_default({ size: 12 });
@@ -6589,7 +6633,7 @@ var side_nav_item_default = _template("w", (input) => {
6589
6633
  const $childScope6 = _peek_scope_id();
6590
6634
  usage_pcts_default({
6591
6635
  agent: openPlan,
6592
- class: "_gA"
6636
+ class: "_f1"
6593
6637
  });
6594
6638
  _subscribe($openPlan__closures, writeScope($scope12_id, {
6595
6639
  a: _existing_scope($childScope6),
@@ -6792,34 +6836,34 @@ var side_nav_default = _template("x", (input) => {
6792
6836
  const iconSrc = `/api/instance/icon${input.instanceAccent ? `?v=${input.instanceAccent.slice(1)}` : ""}`;
6793
6837
  const otherIds = itemIds.filter((id) => id !== ws.id);
6794
6838
  const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
6795
- _html(`<aside${_attr_class(["_dn", {
6796
- ["_dl"]: !navOpen,
6797
- ["_dm"]: isPage
6839
+ _html(`<aside${_attr_class(["_dX", {
6840
+ ["_dV"]: !navOpen,
6841
+ ["_dW"]: isPage
6798
6842
  }])}${_attr("hidden", view === "diff")}>`);
6799
6843
  _if(() => {
6800
6844
  if (isPage) {
6801
6845
  const $scope1_id = _scope_id();
6802
- _html(`<header${_attr_class("_dq")}><div${_attr_class("_dz")}>`);
6846
+ _html(`<header${_attr_class("_d0")}><div${_attr_class("_d9")}>`);
6803
6847
  _if(() => {
6804
6848
  if (input.instanceName) {
6805
6849
  const $scope2_id = _scope_id();
6806
- _html(`<div${_attr_class("_dw")} title="This work server (Settings → Appearance)"><img${_attr_class("_dx")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_dy")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
6850
+ _html(`<div${_attr_class("_d6")} title="This work server (Settings → Appearance)"><img${_attr_class("_d7")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_d8")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
6807
6851
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
6808
6852
  return 0;
6809
6853
  }
6810
6854
  }, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
6811
- _html(`<h1${_attr_class("_dr")}>Workspaces</h1></div><div${_attr_class("_ds")}>`);
6855
+ _html(`<h1${_attr_class("_d1")}>Workspaces</h1></div><div${_attr_class("_d2")}>`);
6812
6856
  _if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
6813
6857
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
6814
6858
  iconBtn$1,
6815
- "_dt",
6816
- { ["_di"]: view === "settings" }
6859
+ "_d3",
6860
+ { ["_dS"]: view === "settings" }
6817
6861
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
6818
6862
  icon_settings_default({ size: 16 });
6819
6863
  _if(() => {
6820
6864
  if (input.setupReady === false) {
6821
6865
  const $scope12_id = _scope_id();
6822
- _html(`<span${_attr_class(["_z", "_dk"])} title="Machine setup incomplete"></span>`);
6866
+ _html(`<span${_attr_class(["_z", "_dU"])} title="Machine setup incomplete"></span>`);
6823
6867
  $si__input_setupReady && writeScope($scope12_id, {});
6824
6868
  return 0;
6825
6869
  }
@@ -6832,18 +6876,18 @@ var side_nav_default = _template("x", (input) => {
6832
6876
  _if(() => {
6833
6877
  if (!isPage && input.instanceName) {
6834
6878
  const $scope3_id = _scope_id();
6835
- _html(`<div${_attr_class("_dw")} title="This work server (Settings → Appearance)"><img${_attr_class("_dx")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_dy")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
6879
+ _html(`<div${_attr_class("_d6")} title="This work server (Settings → Appearance)"><img${_attr_class("_d7")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_d8")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
6836
6880
  writeScope($scope3_id, {});
6837
6881
  return 0;
6838
6882
  }
6839
6883
  }, $scope0_id, "c", 1, 1, 1, 0, 1);
6840
- _html(`<div${_attr_class("_dA")}>`);
6884
+ _html(`<div${_attr_class("_d_")}>`);
6841
6885
  _for_of(listIds, (wsId) => {
6842
6886
  const $scope4_id = _scope_id();
6843
6887
  _if(() => {
6844
6888
  if (isPage && wsId === ws.id) {
6845
6889
  const $scope13_id = _scope_id();
6846
- _html(`<h2${_attr_class(["_bH", "_du"])}>Current</h2>`);
6890
+ _html(`<h2${_attr_class(["_bH", "_d4"])}>Current</h2>`);
6847
6891
  writeScope($scope13_id, {});
6848
6892
  return 0;
6849
6893
  }
@@ -6851,7 +6895,7 @@ var side_nav_default = _template("x", (input) => {
6851
6895
  _if(() => {
6852
6896
  if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
6853
6897
  const $scope14_id = _scope_id();
6854
- _html(`<h2${_attr_class(["_bH", "_du"])}>Other workspaces</h2>`);
6898
+ _html(`<h2${_attr_class(["_bH", "_d4"])}>Other workspaces</h2>`);
6855
6899
  writeScope($scope14_id, {});
6856
6900
  return 0;
6857
6901
  }
@@ -6938,7 +6982,7 @@ var side_nav_default = _template("x", (input) => {
6938
6982
  railHover = null;
6939
6983
  }, 150);
6940
6984
  }, "x6", $scope5_id);
6941
- _html(`<div${_attr_class("_dB")}>`);
6985
+ _html(`<div${_attr_class("_ea")}>`);
6942
6986
  _for_of(itemIds, (wsId, i) => {
6943
6987
  const $scope6_id = _scope_id();
6944
6988
  _html("<span>");
@@ -6992,7 +7036,7 @@ var side_nav_default = _template("x", (input) => {
6992
7036
  if (railHover) {
6993
7037
  const $scope7_id = _scope_id();
6994
7038
  const hoverId = railHover.id;
6995
- _html(`<div${_attr_class(["_4", "_dE"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
7039
+ _html(`<div${_attr_class(["_4", "_ed"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
6996
7040
  _set_serialize_reason({
6997
7041
  0: 1,
6998
7042
  1: 1,
@@ -7080,7 +7124,7 @@ var side_nav_default = _template("x", (input) => {
7080
7124
  return 0;
7081
7125
  }
7082
7126
  }, $scope0_id, "e");
7083
- _html(`<div${_attr_class("_dC")}>`);
7127
+ _html(`<div${_attr_class("_eb")}>`);
7084
7128
  _if(() => {
7085
7129
  if (isPage) {
7086
7130
  const $scope9_id = _scope_id();
@@ -7088,7 +7132,7 @@ var side_nav_default = _template("x", (input) => {
7088
7132
  "_o",
7089
7133
  "_p",
7090
7134
  btnLg,
7091
- "_dv"
7135
+ "_d5"
7092
7136
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
7093
7137
  icon_folder_plus_default({ size: 16 });
7094
7138
  _html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
@@ -7110,19 +7154,19 @@ var side_nav_default = _template("x", (input) => {
7110
7154
  return 1;
7111
7155
  }
7112
7156
  }, $scope8_id, "a", 1, 1, 1, "</button>", 1);
7113
- _html(`<div${_attr_class(["_y", "_dD"])}></div>`);
7157
+ _html(`<div${_attr_class(["_y", "_ec"])}></div>`);
7114
7158
  _if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
7115
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_di"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
7159
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_dS"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
7116
7160
  icon_settings_default({ size: 15 });
7117
7161
  _if(() => {
7118
7162
  if (input.setupReady === false) {
7119
7163
  const $scope17_id = _scope_id();
7120
- _html(`<span${_attr_class(["_z", "_dk"])} title="Machine setup incomplete"></span>`);
7164
+ _html(`<span${_attr_class(["_z", "_dU"])} title="Machine setup incomplete"></span>`);
7121
7165
  $si__input_setupReady && writeScope($scope17_id, {});
7122
7166
  return 0;
7123
7167
  }
7124
7168
  }, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
7125
- _html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_di"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
7169
+ _html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_dS"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
7126
7170
  icon_folder_plus_default({ size: 16 });
7127
7171
  _html(`</a>${_el_resume($scope8_id, "g")}`);
7128
7172
  _script($scope8_id, "x15");
@@ -7188,10 +7232,10 @@ var side_nav_default = _template("x", (input) => {
7188
7232
  });
7189
7233
  var iconBtn = "_0 _j";
7190
7234
  var sectionCount = "_bu _I _J";
7191
- var content = "_c8 _bk";
7192
- var pageMeta = "_c9 _bp";
7193
- var pathMeta = "_db _x";
7194
- var dangerHint = "_dh _S";
7235
+ var content = "_dH _bk";
7236
+ var pageMeta = "_dI _bp";
7237
+ var pathMeta = "_dL _x";
7238
+ var dangerHint = "_dR _S";
7195
7239
  //#endregion
7196
7240
  //#region src/tags/manage-workspace.marko
7197
7241
  var api$2;
@@ -7303,7 +7347,7 @@ var manage_workspace_default = _template("n", (input) => {
7303
7347
  meta: attrTag({ content: _content_resume("n11", () => {
7304
7348
  _scope_reason();
7305
7349
  const $scope8_id = _scope_id();
7306
- _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_c_")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
7350
+ _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_dJ")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
7307
7351
  _if(() => {
7308
7352
  if (ws.status !== "active") {
7309
7353
  const $scope11_id = _scope_id();
@@ -7312,7 +7356,7 @@ var manage_workspace_default = _template("n", (input) => {
7312
7356
  return 0;
7313
7357
  }
7314
7358
  }, $scope8_id, "d", 1, 1, 1, 0, 1);
7315
- _html(`<span${_attr_class("_da")} 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")}`);
7359
+ _html(`<span${_attr_class("_dK")} 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")}`);
7316
7360
  _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) })))));
7317
7361
  _resume_branch($scope8_id);
7318
7362
  }, $scope0_id) })
@@ -7355,7 +7399,7 @@ var manage_workspace_default = _template("n", (input) => {
7355
7399
  _html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bv")}>`);
7356
7400
  _for_of(ws.repos, (row) => {
7357
7401
  const $scope1_id = _scope_id();
7358
- _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", "_dd"])}${_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")}`);
7402
+ _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", "_dN"])}${_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")}`);
7359
7403
  _if(() => {
7360
7404
  if (row.base_branch !== row.default_branch) {
7361
7405
  const $scope12_id = _scope_id();
@@ -7419,7 +7463,7 @@ var manage_workspace_default = _template("n", (input) => {
7419
7463
  return 0;
7420
7464
  }
7421
7465
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
7422
- _html(`<div${_attr_class("_dc")}>`);
7466
+ _html(`<div${_attr_class("_dM")}>`);
7423
7467
  const $childScope3 = _peek_scope_id();
7424
7468
  let refreshCatalog = repo_picker_default({
7425
7469
  exclude: inWorkspace,
@@ -7449,7 +7493,7 @@ var manage_workspace_default = _template("n", (input) => {
7449
7493
  _html(`<span${_attr_class("_bA")}>`);
7450
7494
  _for_of(p.ports, (port) => {
7451
7495
  const $scope19_id = _scope_id();
7452
- _html(`<button${_attr_class(["_s", "_de"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
7496
+ _html(`<button${_attr_class(["_s", "_dO"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope19_id, "b")}</button>${_el_resume($scope19_id, "a")}`);
7453
7497
  _script($scope19_id, "n15");
7454
7498
  writeScope($scope19_id, { d: port });
7455
7499
  }, (x) => String(x), $scope18_id, "a", 1, 1, 1, "</span>", 1);
@@ -7471,7 +7515,7 @@ var manage_workspace_default = _template("n", (input) => {
7471
7515
  return 0;
7472
7516
  }
7473
7517
  }, $scope0_id, "v", 1, 1, 1, 0, 1);
7474
- _html(`<section${_attr_class(["_bs", "_df"])}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Workspace</h2></div><div${_attr_class("_dg")}>`);
7518
+ _html(`<section${_attr_class(["_bs", "_dP"])}><div${_attr_class("_bt")}><h2${_attr_class("_bH")}>Workspace</h2></div><div${_attr_class("_dQ")}>`);
7475
7519
  _if(() => {
7476
7520
  if (ws.status === "active") {
7477
7521
  const $scope4_id = _scope_id();
@@ -7572,15 +7616,15 @@ var term_find_default = _template("z", (input) => {
7572
7616
  const canStep = hasQuery && open;
7573
7617
  const keybar = input.placement === "keybar";
7574
7618
  _html(`<div${_attr_class([
7575
- "_f_",
7576
- keybar ? "_gb" : "_ga",
7577
- !open && "_gd"
7578
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_f5", keybar ? "_gc" : "_f7"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
7619
+ "_fC",
7620
+ keybar ? "_fE" : "_fD",
7621
+ !open && "_fG"
7622
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_fx", keybar ? "_fF" : "_fz"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
7579
7623
  if (!open) return;
7580
7624
  query = v;
7581
7625
  live.query = v;
7582
7626
  run(0);
7583
- }, "z0", $scope0_id))}${_attr_class([findInput, keybar && "_ge"])} 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 && "_gf"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_gf"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_gf"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
7627
+ }, "z0", $scope0_id))}${_attr_class([findInput, keybar && "_fH"])} 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 && "_fI"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_fI"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_fI"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
7584
7628
  icon_xmark_default({ size: 14 });
7585
7629
  _html(`</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
7586
7630
  _script($scope0_id, "z4");
@@ -7854,7 +7898,7 @@ var term_default = _template("A", (input) => {
7854
7898
  trapOpen = true;
7855
7899
  }
7856
7900
  }, "A14", $scope0_id);
7857
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_dF")}><div${_attr_class("_dG")}></div>${_el_resume($scope0_id, "b")}`);
7901
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_ee")}><div${_attr_class("_ef")}></div>${_el_resume($scope0_id, "b")}`);
7858
7902
  _if(() => {
7859
7903
  if (findOpen) {
7860
7904
  const $scope12_id = _scope_id();
@@ -7881,7 +7925,7 @@ var term_default = _template("A", (input) => {
7881
7925
  _if(() => {
7882
7926
  if (uploading) {
7883
7927
  const $scope19_id = _scope_id();
7884
- _html(`<div${_attr_class("_dM")}>uploading…</div>`);
7928
+ _html(`<div${_attr_class("_el")}>uploading…</div>`);
7885
7929
  writeScope($scope19_id, {});
7886
7930
  return 0;
7887
7931
  }
@@ -7889,7 +7933,7 @@ var term_default = _template("A", (input) => {
7889
7933
  _if(() => {
7890
7934
  if (copiedFlash) {
7891
7935
  const $scope20_id = _scope_id();
7892
- _html(`<div${_attr_class("_dL")}>Copied</div>`);
7936
+ _html(`<div${_attr_class("_ek")}>Copied</div>`);
7893
7937
  writeScope($scope20_id, {});
7894
7938
  return 0;
7895
7939
  }
@@ -7898,7 +7942,7 @@ var term_default = _template("A", (input) => {
7898
7942
  _if(() => {
7899
7943
  if (trapOpen) {
7900
7944
  const $scope11_id = _scope_id();
7901
- _html(`<div${_attr_class("_dN")}><div${_attr_class("_dO")}><p${_attr_class("_ei")}>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")}`);
7945
+ _html(`<div${_attr_class("_em")}><div${_attr_class("_en")}><p${_attr_class("_eS")}>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")}`);
7902
7946
  _script($scope11_id, "A25");
7903
7947
  _script($scope11_id, "A26");
7904
7948
  writeScope($scope11_id, {});
@@ -8001,7 +8045,7 @@ var work_view_default = _template("E", (input) => {
8001
8045
  let DiffView = null;
8002
8046
  const loadDiffView = _resume(() => {
8003
8047
  if (DiffView) return;
8004
- import("./_BI3Xi4eO.js").then((m) => {
8048
+ import("./_DWAnBXsO.js").then((m) => {
8005
8049
  DiffView = m.default;
8006
8050
  });
8007
8051
  }, "E6", $scope0_id);
@@ -16474,4 +16518,4 @@ server.listen(port, () => {
16474
16518
  //#endregion
16475
16519
  export {};
16476
16520
 
16477
- ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-CYLbQ8QR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CYLbQ8QR.css\"",">"],"defer":[2,"/assets/new-C7B6EV0t.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-C7B6EV0t.js\"","></script>",2,"modulepreload#/assets/_BL7dyWXL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BL7dyWXL.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-CYLbQ8QR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CYLbQ8QR.css\"",">"],"defer":[2,"/assets/w-C7B6EV0t.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-C7B6EV0t.js\"","></script>",2,"modulepreload#/assets/_BL7dyWXL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BL7dyWXL.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-CYLbQ8QR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CYLbQ8QR.css\"",">"],"defer":[2,"/assets/settings-C7B6EV0t.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-C7B6EV0t.js\"","></script>",2,"modulepreload#/assets/_BL7dyWXL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BL7dyWXL.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-CYLbQ8QR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CYLbQ8QR.css\"",">"],"defer":[2,"/assets/w._-C7B6EV0t.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-C7B6EV0t.js\"","></script>",2,"modulepreload#/assets/_BL7dyWXL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BL7dyWXL.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-CYLbQ8QR.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CYLbQ8QR.css\"",">"],"defer":[2,"/assets/w._-Bwtl9yyA.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Bwtl9yyA.js\"","></script>",2,"modulepreload#/assets/_BL7dyWXL.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BL7dyWXL.js\"",">"]}};
16521
+ ;var __MARKO_MANIFEST__={"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-C3FxPnzd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C3FxPnzd.css\"",">"],"defer":[2,"/assets/settings-BFBAvSDQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-BFBAvSDQ.js\"","></script>",2,"modulepreload#/assets/_CS052Ucq.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CS052Ucq.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-C3FxPnzd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C3FxPnzd.css\"",">"],"defer":[2,"/assets/w-BFBAvSDQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-BFBAvSDQ.js\"","></script>",2,"modulepreload#/assets/_CS052Ucq.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CS052Ucq.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-C3FxPnzd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C3FxPnzd.css\"",">"],"defer":[2,"/assets/w._-BFBAvSDQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BFBAvSDQ.js\"","></script>",2,"modulepreload#/assets/_CS052Ucq.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CS052Ucq.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-C3FxPnzd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C3FxPnzd.css\"",">"],"defer":[2,"/assets/w._-BW-aNPpR.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BW-aNPpR.js\"","></script>",2,"modulepreload#/assets/_CS052Ucq.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CS052Ucq.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-C3FxPnzd.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-C3FxPnzd.css\"",">"],"defer":[2,"/assets/new-BFBAvSDQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-BFBAvSDQ.js\"","></script>",2,"modulepreload#/assets/_CS052Ucq.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CS052Ucq.js\"",">"]}};