@dylanpiercey/work 0.0.58 → 0.0.59

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 (236) hide show
  1. package/bin/work.mjs +10 -28
  2. package/dist/{_DvTZBSt5.js → _CBPKAw5M.js} +15 -15
  3. package/dist/{_Cb3KjoHw.js → _DlRAzicn.js} +26 -3
  4. package/dist/index.mjs +246 -217
  5. package/dist/public/assets/{_rYS8Jg7q.js → _4C0UpFVx.js} +1 -1
  6. package/dist/public/assets/_4C0UpFVx.js.br +0 -0
  7. package/dist/public/assets/{_WO60AwgK2.js → _9LzCBhS_2.js} +1 -1
  8. package/dist/public/assets/_9LzCBhS_2.js.br +0 -0
  9. package/dist/public/assets/{_BUbGUBWq.js → _Aq6Y2T0v.js} +1 -1
  10. package/dist/public/assets/_Aq6Y2T0v.js.br +0 -0
  11. package/dist/public/assets/{_vooPnW75.js → _B01zAY-u.js} +1 -1
  12. package/dist/public/assets/_B01zAY-u.js.br +0 -0
  13. package/dist/public/assets/{_CwmnUEmm.js → _B9NTGug5.js} +1 -1
  14. package/dist/public/assets/_B9NTGug5.js.br +0 -0
  15. package/dist/public/assets/{_FrhVGlkX2.js → _B9hkAC6z2.js} +1 -1
  16. package/dist/public/assets/_B9hkAC6z2.js.br +0 -0
  17. package/dist/public/assets/{_CUrj0V6l2.js → _BBb3VfqT2.js} +1 -1
  18. package/dist/public/assets/_BBb3VfqT2.js.br +0 -0
  19. package/dist/public/assets/{_CxKhvkgU.js → _BEspmXDA.js} +1 -1
  20. package/dist/public/assets/_BEspmXDA.js.br +0 -0
  21. package/dist/public/assets/{_DbAtKX6v.js → _BHVhtRKY.js} +1 -1
  22. package/dist/public/assets/_BHVhtRKY.js.br +0 -0
  23. package/dist/public/assets/{_C7rg8vAk2.js → _BJOUijGq2.js} +1 -1
  24. package/dist/public/assets/_BJOUijGq2.js.br +0 -0
  25. package/dist/public/assets/{_aTBAqWUi2.js → _BJb-9ysw2.js} +1 -1
  26. package/dist/public/assets/_BJb-9ysw2.js.br +0 -0
  27. package/dist/public/assets/{_BJsj50u-.js → _BKeftndI.js} +1 -1
  28. package/dist/public/assets/_BKeftndI.js.br +0 -0
  29. package/dist/public/assets/{_2enE2mXk.js → _BLgHPwA3.js} +1 -1
  30. package/dist/public/assets/_BLgHPwA3.js.br +0 -0
  31. package/dist/public/assets/{_Donn4ZV3.js → _BNgrfL8o.js} +1 -1
  32. package/dist/public/assets/_BNgrfL8o.js.br +0 -0
  33. package/dist/public/assets/{_2eGBqq7u.js → _BVgS7NCP.js} +1 -1
  34. package/dist/public/assets/_BVgS7NCP.js.br +0 -0
  35. package/dist/public/assets/{_CnQ1qTVp.js → _BZBtmMSn.js} +1 -1
  36. package/dist/public/assets/_BZBtmMSn.js.br +0 -0
  37. package/dist/public/assets/{_Gc8cRUIR.js → _BZXMvrbw.js} +1 -1
  38. package/dist/public/assets/_BZXMvrbw.js.br +0 -0
  39. package/dist/public/assets/{_CkGun6pW2.js → _Bk7dXsZx2.js} +1 -1
  40. package/dist/public/assets/_Bk7dXsZx2.js.br +0 -0
  41. package/dist/public/assets/{_BcxfZRD_.js → _Bk7ftDUt.js} +1 -1
  42. package/dist/public/assets/_Bk7ftDUt.js.br +0 -0
  43. package/dist/public/assets/{_FcsxOYFa.js → _BluNlEZv.js} +1 -1
  44. package/dist/public/assets/_BluNlEZv.js.br +0 -0
  45. package/dist/public/assets/{_BDLl6zCb.js → _BuYT8HKk.js} +1 -1
  46. package/dist/public/assets/_BuYT8HKk.js.br +0 -0
  47. package/dist/public/assets/{_CABt3f9f2.js → _Bub7buTu2.js} +1 -1
  48. package/dist/public/assets/_Bub7buTu2.js.br +0 -0
  49. package/dist/public/assets/{_rz4NzBjK.js → _ByRG5g91.js} +1 -1
  50. package/dist/public/assets/_ByRG5g91.js.br +0 -0
  51. package/dist/public/assets/{_DuBgsDGT.js → _C14R-b_v.js} +1 -1
  52. package/dist/public/assets/_C14R-b_v.js.br +0 -0
  53. package/dist/public/assets/{_eHliiA8e.js → _C6IjtbVg.js} +1 -1
  54. package/dist/public/assets/_C6IjtbVg.js.br +0 -0
  55. package/dist/public/assets/{_BXMs216Y2.js → _C7JJMpo42.js} +1 -1
  56. package/dist/public/assets/_C7JJMpo42.js.br +0 -0
  57. package/dist/public/assets/{_h97mmeY5.js → _CA3tdsQv.js} +1 -1
  58. package/dist/public/assets/_CA3tdsQv.js.br +0 -0
  59. package/dist/public/assets/{_DdkVC_L3.js → _CBPJ4RVr.js} +1 -1
  60. package/dist/public/assets/_CBPJ4RVr.js.br +0 -0
  61. package/dist/public/assets/{_Vhemgosw2.js → _CCafS5sw2.js} +1 -1
  62. package/dist/public/assets/_CCafS5sw2.js.br +0 -0
  63. package/dist/public/assets/{_BEiHICL92.js → _CMvFdyIa2.js} +1 -1
  64. package/dist/public/assets/_CMvFdyIa2.js.br +0 -0
  65. package/dist/public/assets/{_DTQJWxJ3.js → _CNcDdAH8.js} +1 -1
  66. package/dist/public/assets/_CNcDdAH8.js.br +0 -0
  67. package/dist/public/assets/{_BbqCJvNQ2.js → _CYMo9MTE2.js} +1 -1
  68. package/dist/public/assets/_CYMo9MTE2.js.br +0 -0
  69. package/dist/public/assets/{_CogE7pQW.js → _CYXUTd7l.js} +1 -1
  70. package/dist/public/assets/_CYXUTd7l.js.br +0 -0
  71. package/dist/public/assets/{_B1vDwe3h.js → _CZEgD1x7.js} +1 -1
  72. package/dist/public/assets/_CZEgD1x7.js.br +0 -0
  73. package/dist/public/assets/{_Dylxmxf9.js → _CcuGGPVb.js} +1 -1
  74. package/dist/public/assets/_CcuGGPVb.js.br +0 -0
  75. package/dist/public/assets/{_DHQA_xFp2.js → _Cebuufke2.js} +1 -1
  76. package/dist/public/assets/_Cebuufke2.js.br +0 -0
  77. package/dist/public/assets/{_BsIllTK-.js → _CggqBYox.js} +1 -1
  78. package/dist/public/assets/_CggqBYox.js.br +0 -0
  79. package/dist/public/assets/{_DGChusXS.js → _ChcMMi8_.js} +1 -1
  80. package/dist/public/assets/_ChcMMi8_.js.br +0 -0
  81. package/dist/public/assets/{_TYzcqd7s.js → _Chrwmafx.js} +1 -1
  82. package/dist/public/assets/_Chrwmafx.js.br +0 -0
  83. package/dist/public/assets/{_CV_Ae5Rk.js → _Cj4m0y5p.js} +1 -1
  84. package/dist/public/assets/_Cj4m0y5p.js.br +0 -0
  85. package/dist/public/assets/{_Bb3yoWYL.js → _Ct2eXJFw.js} +1 -1
  86. package/dist/public/assets/_Ct2eXJFw.js.br +0 -0
  87. package/dist/public/assets/{_C16-D_Ch2.js → _CufQkVCk2.js} +1 -1
  88. package/dist/public/assets/_CufQkVCk2.js.br +0 -0
  89. package/dist/public/assets/{_D3ekmaa_.js → _CuuU2kTd.js} +1 -1
  90. package/dist/public/assets/_CuuU2kTd.js.br +0 -0
  91. package/dist/public/assets/{_xriTRTEq2.js → _CzHu5Yml2.js} +1 -1
  92. package/dist/public/assets/_CzHu5Yml2.js.br +0 -0
  93. package/dist/public/assets/{__dsfQUPl.js → _CzmS5OWM.js} +1 -1
  94. package/dist/public/assets/_CzmS5OWM.js.br +0 -0
  95. package/dist/public/assets/{_BWEYGWEd.js → _D13rZRRa.js} +1 -1
  96. package/dist/public/assets/_D13rZRRa.js.br +0 -0
  97. package/dist/public/assets/{_CoSL1kZW2.js → _D2Mf1_R32.js} +1 -1
  98. package/dist/public/assets/_D2Mf1_R32.js.br +0 -0
  99. package/dist/public/assets/{_4nL2uQpg.js → _D2_tGg5T.js} +1 -1
  100. package/dist/public/assets/_D2_tGg5T.js.br +0 -0
  101. package/dist/public/assets/{_D_Ht0sHB.js → _D2quHHcV.js} +1 -1
  102. package/dist/public/assets/_D2quHHcV.js.br +0 -0
  103. package/dist/public/assets/{_DSCzozlR2.js → _D7tlC7QS2.js} +1 -1
  104. package/dist/public/assets/_D7tlC7QS2.js.br +0 -0
  105. package/dist/public/assets/{_Cs_cvN1j2.js → _DDsJiq8D2.js} +1 -1
  106. package/dist/public/assets/_DDsJiq8D2.js.br +0 -0
  107. package/dist/public/assets/{_sMuZrVfM.js → _DFVeM5NA.js} +1 -1
  108. package/dist/public/assets/_DFVeM5NA.js.br +0 -0
  109. package/dist/public/assets/{_CTObmQlY.js → _DFrArZs9.js} +1 -1
  110. package/dist/public/assets/_DFrArZs9.js.br +0 -0
  111. package/dist/public/assets/{_BX_wL0YE.js → _DGtjfukV.js} +1 -1
  112. package/dist/public/assets/_DGtjfukV.js.br +0 -0
  113. package/dist/public/assets/{_C5UB-NsT.js → _DLfLpiZj.js} +1 -1
  114. package/dist/public/assets/{_Bcfy36362.js → _DN9XEtZz2.js} +1 -1
  115. package/dist/public/assets/{_DEBVsO__.js → _DP-17N2s.js} +1 -1
  116. package/dist/public/assets/_DP-17N2s.js.br +0 -0
  117. package/dist/public/assets/{_GT3_DJs7.js → _DR0mwaFQ.js} +1 -1
  118. package/dist/public/assets/_DR0mwaFQ.js.br +0 -0
  119. package/dist/public/assets/{_DgowXRep.js → _DRahWkav.js} +1 -1
  120. package/dist/public/assets/_DRahWkav.js.br +0 -0
  121. package/dist/public/assets/{_ok38vxPs.js → _DY7iDxoP.js} +1 -1
  122. package/dist/public/assets/_DY7iDxoP.js.br +7 -0
  123. package/dist/public/assets/{_BX-7KyDA.js → _Deyb3rSm.js} +1 -1
  124. package/dist/public/assets/_Deyb3rSm.js.br +0 -0
  125. package/dist/public/assets/{_Cw2Yp_cn2.js → _DgoS2wC12.js} +1 -1
  126. package/dist/public/assets/_DgoS2wC12.js.br +0 -0
  127. package/dist/public/assets/{_De-u8h72.js → _Dj_tOoaj.js} +1 -1
  128. package/dist/public/assets/_Dj_tOoaj.js.br +0 -0
  129. package/dist/public/assets/{_BsqNUn4o.js → _DtUxmPJy.js} +1 -1
  130. package/dist/public/assets/_DtUxmPJy.js.br +0 -0
  131. package/dist/public/assets/{_DyraSGWg.js → _Du2rfXEU.js} +1 -1
  132. package/dist/public/assets/_Du2rfXEU.js.br +0 -0
  133. package/dist/public/assets/{_uKbtpQux.js → _DurjFcgk.js} +1 -1
  134. package/dist/public/assets/_DurjFcgk.js.br +0 -0
  135. package/dist/public/assets/{_D5QR-lwA2.js → _DwFXsHPv2.js} +1 -1
  136. package/dist/public/assets/_DwFXsHPv2.js.br +0 -0
  137. package/dist/public/assets/{_DYoRFUu32.js → _HUnZTZzC2.js} +1 -1
  138. package/dist/public/assets/_HUnZTZzC2.js.br +0 -0
  139. package/dist/public/assets/{_Dcepauhq2.js → _J2G4VP2o2.js} +1 -1
  140. package/dist/public/assets/_J2G4VP2o2.js.br +0 -0
  141. package/dist/public/assets/{_DW30hPqj.js → _J9_cXa3d.js} +44 -44
  142. package/dist/public/assets/_J9_cXa3d.js.br +0 -0
  143. package/dist/public/assets/{_BWZ5PUEV.js → _MtHFvhAh.js} +1 -1
  144. package/dist/public/assets/_MtHFvhAh.js.br +0 -0
  145. package/dist/public/assets/{_BPUzMj1d2.js → _SACEj-V12.js} +1 -1
  146. package/dist/public/assets/{_D67E_AcU2.js → _Z8pHVZX12.js} +1 -1
  147. package/dist/public/assets/_Z8pHVZX12.js.br +0 -0
  148. package/dist/public/assets/{_CR2XV8hm.js → _rAo0Ovch.js} +1 -1
  149. package/dist/public/assets/_rAo0Ovch.js.br +0 -0
  150. package/dist/public/assets/{_BROdi7Gp.js → _t6cd2p_I.js} +1 -1
  151. package/dist/public/assets/_t6cd2p_I.js.br +0 -0
  152. package/dist/public/assets/{diff-view-C1EWWWXL.css → diff-view-Cj44T1y7.css} +1 -1
  153. package/dist/public/assets/diff-view-Cj44T1y7.css.br +0 -0
  154. package/dist/public/assets/{index-CMhO9RSz.js → index-D9hzDezQ.js} +20 -20
  155. package/dist/public/assets/index-D9hzDezQ.js.br +0 -0
  156. package/dist/public/assets/{index-I2jhJMJc.css → index-DdvzAbHa.css} +1 -1
  157. package/dist/public/assets/index-DdvzAbHa.css.br +0 -0
  158. package/install.sh +1 -3
  159. package/lib/setup/install.d.mts +1 -0
  160. package/lib/setup/install.mjs +6 -0
  161. package/package.json +1 -1
  162. package/dist/public/assets/_2eGBqq7u.js.br +0 -0
  163. package/dist/public/assets/_2enE2mXk.js.br +0 -0
  164. package/dist/public/assets/_4nL2uQpg.js.br +0 -0
  165. package/dist/public/assets/_B1vDwe3h.js.br +0 -0
  166. package/dist/public/assets/_BDLl6zCb.js.br +0 -0
  167. package/dist/public/assets/_BEiHICL92.js.br +0 -0
  168. package/dist/public/assets/_BJsj50u-.js.br +0 -0
  169. package/dist/public/assets/_BROdi7Gp.js.br +0 -0
  170. package/dist/public/assets/_BUbGUBWq.js.br +0 -0
  171. package/dist/public/assets/_BWEYGWEd.js.br +0 -0
  172. package/dist/public/assets/_BWZ5PUEV.js.br +0 -0
  173. package/dist/public/assets/_BX-7KyDA.js.br +0 -0
  174. package/dist/public/assets/_BXMs216Y2.js.br +0 -0
  175. package/dist/public/assets/_BX_wL0YE.js.br +0 -0
  176. package/dist/public/assets/_Bb3yoWYL.js.br +0 -0
  177. package/dist/public/assets/_BbqCJvNQ2.js.br +0 -0
  178. package/dist/public/assets/_BcxfZRD_.js.br +0 -0
  179. package/dist/public/assets/_BsIllTK-.js.br +0 -0
  180. package/dist/public/assets/_BsqNUn4o.js.br +0 -0
  181. package/dist/public/assets/_C16-D_Ch2.js.br +0 -0
  182. package/dist/public/assets/_C7rg8vAk2.js.br +0 -0
  183. package/dist/public/assets/_CABt3f9f2.js.br +0 -0
  184. package/dist/public/assets/_CR2XV8hm.js.br +0 -0
  185. package/dist/public/assets/_CTObmQlY.js.br +0 -0
  186. package/dist/public/assets/_CUrj0V6l2.js.br +0 -0
  187. package/dist/public/assets/_CV_Ae5Rk.js.br +0 -0
  188. package/dist/public/assets/_CkGun6pW2.js.br +0 -0
  189. package/dist/public/assets/_CnQ1qTVp.js.br +0 -0
  190. package/dist/public/assets/_CoSL1kZW2.js.br +0 -0
  191. package/dist/public/assets/_CogE7pQW.js.br +0 -0
  192. package/dist/public/assets/_Cs_cvN1j2.js.br +0 -0
  193. package/dist/public/assets/_Cw2Yp_cn2.js.br +0 -0
  194. package/dist/public/assets/_CwmnUEmm.js.br +0 -0
  195. package/dist/public/assets/_CxKhvkgU.js.br +0 -0
  196. package/dist/public/assets/_D3ekmaa_.js.br +0 -0
  197. package/dist/public/assets/_D5QR-lwA2.js.br +0 -0
  198. package/dist/public/assets/_D67E_AcU2.js.br +0 -0
  199. package/dist/public/assets/_DEBVsO__.js.br +0 -0
  200. package/dist/public/assets/_DGChusXS.js.br +0 -0
  201. package/dist/public/assets/_DHQA_xFp2.js.br +0 -0
  202. package/dist/public/assets/_DSCzozlR2.js.br +0 -0
  203. package/dist/public/assets/_DTQJWxJ3.js.br +0 -0
  204. package/dist/public/assets/_DW30hPqj.js.br +0 -0
  205. package/dist/public/assets/_DYoRFUu32.js.br +0 -0
  206. package/dist/public/assets/_D_Ht0sHB.js.br +0 -0
  207. package/dist/public/assets/_DbAtKX6v.js.br +0 -0
  208. package/dist/public/assets/_Dcepauhq2.js.br +0 -0
  209. package/dist/public/assets/_DdkVC_L3.js.br +0 -0
  210. package/dist/public/assets/_De-u8h72.js.br +0 -0
  211. package/dist/public/assets/_DgowXRep.js.br +0 -0
  212. package/dist/public/assets/_Donn4ZV3.js.br +0 -0
  213. package/dist/public/assets/_DuBgsDGT.js.br +0 -0
  214. package/dist/public/assets/_Dylxmxf9.js.br +0 -0
  215. package/dist/public/assets/_DyraSGWg.js.br +0 -0
  216. package/dist/public/assets/_FcsxOYFa.js.br +0 -0
  217. package/dist/public/assets/_FrhVGlkX2.js.br +0 -0
  218. package/dist/public/assets/_GT3_DJs7.js.br +0 -0
  219. package/dist/public/assets/_Gc8cRUIR.js.br +0 -0
  220. package/dist/public/assets/_TYzcqd7s.js.br +0 -0
  221. package/dist/public/assets/_Vhemgosw2.js.br +0 -0
  222. package/dist/public/assets/_WO60AwgK2.js.br +0 -0
  223. package/dist/public/assets/__dsfQUPl.js.br +0 -0
  224. package/dist/public/assets/_aTBAqWUi2.js.br +0 -0
  225. package/dist/public/assets/_eHliiA8e.js.br +0 -0
  226. package/dist/public/assets/_h97mmeY5.js.br +0 -0
  227. package/dist/public/assets/_ok38vxPs.js.br +0 -0
  228. package/dist/public/assets/_rYS8Jg7q.js.br +0 -0
  229. package/dist/public/assets/_rz4NzBjK.js.br +0 -0
  230. package/dist/public/assets/_sMuZrVfM.js.br +0 -3
  231. package/dist/public/assets/_uKbtpQux.js.br +0 -0
  232. package/dist/public/assets/_vooPnW75.js.br +0 -0
  233. package/dist/public/assets/_xriTRTEq2.js.br +0 -0
  234. package/dist/public/assets/diff-view-C1EWWWXL.css.br +0 -0
  235. package/dist/public/assets/index-CMhO9RSz.js.br +0 -0
  236. package/dist/public/assets/index-I2jhJMJc.css.br +0 -0
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
2
2
  import { $ as get, A as subscribe, B as setPref, C as setScrapedPhase, D as pushPublicKey, E as deleteSubscription, F as disabledAgents, G as setupPath, H as doctor, I as enabledAgents, J as TOOLS, K as which, L as getSetting, M as subscriberJoins, N as agentChoices, O as saveSubscription, P as allPrefs, Q as db, R as preferredAgent, S as setAgentPhase, T as summaryFromHookPayload, U as ghKnownHosts, V as setSetting, W as miseVersions, X as toolById, Y as agentById, Z as all, _ as tmuxName, a as ensureTmuxServer, at as tmux, b as clearAgentPhase, c as killWorkspaceSessions, d as newSessionArgs, et as workspacePath, g as sessionStates, h as sendToSession, i as disposeSessions, it as run, j as subscriberCount, k as publish, l as listSessions, m as renameSession, n as clearTmuxStarted, nt as gh, o as getSession, ot as config, p as panePids, q as DEFAULT_GITHUB_HOST, r as createSession, rt as git, s as killSession, t as cleanEnv, tt as TMUX_SOCKET, u as markTmuxStarted, v as tmuxWasStarted, w as setSessionViewers, x as reasonFromHookPayload, y as reportsWorking, z as setDisabledAgents } from "./_BejZlkF2.js";
3
- import { $ as _id, A as _attr_class, B as _content, C as iconBtnXs, D as tone, E as phase, F as _attr_select_value, G as _el_resume, H as _dynamic_tag, I as _attr_style, J as _flush_head, K as _escape, L as _attrs, M as _attr_input_value, N as _attr_option_value, O as $global, P as _attr_or, Q as _html, R as _attrs_partial, S as iconBtnRow, St as writeScope, T as metaTrunc, V as _content_resume, W as _el_read_error, X as _hoist, Y as _for_of, Z as _hoist_read_error, _ as sectionCount$1, _t as _trailers, at as _scope_reason, b as btnSm, bt as attrTag, c as sideNavOpen, ct as _sep, d as rankRepos, dt as _set_serialize_reason, et as _if, f as icon_back_default, ft as _show_end, g as row, gt as _to_text, h as iconBtn$2, ht as _template, i as icon_sidebar_default, it as _scope_id, k as _attr, l as workspaceTab, lt as _serialize_guard, m as icon_base_default, mt as _subscribe, n as findIconBtn, nt as _resume, ot as _scope_with_id, p as icon_refresh_default, pt as _show_start, q as _existing_scope, r as findInput, rt as _resume_branch, s as setWorkspaceTab, st as _script, tt as _peek_scope_id, ut as _serialize_if, v as toast_default, vt as _try, w as inputLg, xt as withPageAssets, y as btnLg, yt as _var, z as _await } from "./_Cb3KjoHw.js";
3
+ import { $ as _hoist, A as tone, B as _attrs, C as btnSm, Ct as attrTag, D as inputLg, E as iconBtnXs, F as _attr_input_value, G as _dynamic_tag, H as _await, I as _attr_option_value, J as _el_resume, L as _attr_or, M as _attr, N as _attr_class, O as metaTrunc, Q as _for_of, R as _attr_select_value, S as btnLg, St as _var, T as iconBtnRow, Tt as writeScope, U as _content, V as _attrs_partial, W as _content_resume, X as _existing_scope, Y as _escape, Z as _flush_head, _ as sectionCount$1, _t as _subscribe, at as _resume, b as repoWebUrl$1, bt as _trailers, c as sideNavOpen, ct as _scope_reason, d as rankRepos, dt as _sep, et as _hoist_read_error, f as icon_back_default, ft as _serialize_guard, g as row, gt as _show_start, h as iconBtn$2, ht as _show_end, i as icon_sidebar_default, it as _peek_scope_id, j as $global, k as phase, l as workspaceTab, lt as _scope_with_id, m as icon_base_default, mt as _set_serialize_reason, n as findIconBtn, nt as _id, ot as _resume_branch, p as icon_refresh_default, pt as _serialize_if, q as _el_read_error, r as findInput, rt as _if, s as setWorkspaceTab, st as _scope_id, tt as _html, ut as _script, v as toast_default, vt as _template, wt as withPageAssets, x as setPrimaryHost, xt as _try, y as repoLabel, yt as _to_text, z as _attr_style } from "./_DlRAzicn.js";
4
4
  import fs from "node:fs";
5
5
  import { createServer } from "node:http";
6
6
  import path from "node:path";
@@ -1410,12 +1410,12 @@ function splitRepo(fullName) {
1410
1410
  function joinRepo(host, name) {
1411
1411
  return host === DEFAULT_HOST ? name : `${host}/${name}`;
1412
1412
  }
1413
- function repoWebUrl$1(fullName) {
1413
+ function repoWebUrl(fullName) {
1414
1414
  const { host, name } = splitRepo(fullName);
1415
1415
  return `https://${host}/${name}`;
1416
1416
  }
1417
1417
  function cloneUrl(fullName) {
1418
- return `${repoWebUrl$1(fullName)}.git`;
1418
+ return `${repoWebUrl(fullName)}.git`;
1419
1419
  }
1420
1420
  /** Enterprise hosts the user added in Settings (persisted). */
1421
1421
  function addedHosts() {
@@ -2795,6 +2795,19 @@ async function authGithub(host, { interactive = false, ...opts } = {}) {
2795
2795
  }
2796
2796
  });
2797
2797
  }
2798
+ /** Sign out of a GitHub host (drops gh's token; the host stays listed). */
2799
+ async function logoutGithub(host, opts = {}) {
2800
+ if (!which("gh")) throw new Error("gh is not installed");
2801
+ return runStreaming("gh", [
2802
+ "auth",
2803
+ "logout",
2804
+ "--hostname",
2805
+ host
2806
+ ], {
2807
+ ...opts,
2808
+ env: { GH_PROMPT_DISABLED: "1" }
2809
+ });
2810
+ }
2798
2811
  //#endregion
2799
2812
  //#region src/server/setup.ts
2800
2813
  /** Server side of machine setup: the shared lib/setup probe + installers,
@@ -2916,7 +2929,7 @@ function withLock(key, fn) {
2916
2929
  */
2917
2930
  async function runSetupAction(id, action, opts = {}) {
2918
2931
  const log = (line) => progress$1(line);
2919
- const lockKey = action === "auth" ? `auth:${id}` : "mise";
2932
+ const lockKey = action === "auth" || action === "logout" ? `auth:${id}` : "mise";
2920
2933
  await withProgressOp(`setup:${id}`, () => withLock(lockKey, async () => {
2921
2934
  if (action === "auth") {
2922
2935
  await authGithub(id, { log });
@@ -2924,6 +2937,11 @@ async function runSetupAction(id, action, opts = {}) {
2924
2937
  await ensureGitCredentials(id);
2925
2938
  return;
2926
2939
  }
2940
+ if (action === "logout") {
2941
+ await logoutGithub(id, { log });
2942
+ forgetToken(id);
2943
+ return;
2944
+ }
2927
2945
  if (id === "mise") {
2928
2946
  if (action !== "install") throw httpError(400, `${action} is not supported for mise`);
2929
2947
  await installMise({ log });
@@ -3247,7 +3265,7 @@ var usage_meters_default = _template("y", (input) => {
3247
3265
  }
3248
3266
  }, $scope0_id, "c", $sg__input_agent__OR__input_hideName, $sg__input_hideName, $sg__input_agent__OR__input_hideName, 0, 1);
3249
3267
  _if(() => {
3250
- if (agent.plan) {
3268
+ if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
3251
3269
  const $scope2_id = _scope_id();
3252
3270
  _html(`<span${_attr_class("_ez")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
3253
3271
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
@@ -3488,6 +3506,7 @@ var settings_page_default = _template("r", (input) => {
3488
3506
  const applySetup = _resume((s) => {
3489
3507
  setup = s;
3490
3508
  lastSetup = s;
3509
+ setPrimaryHost(s.github);
3491
3510
  input.setupChange?.(s);
3492
3511
  }, "r1", $scope0_id);
3493
3512
  const syncAgents = _resume(async () => {
@@ -3667,14 +3686,14 @@ var settings_page_default = _template("r", (input) => {
3667
3686
  const $scope4_id = _scope_id();
3668
3687
  _if(() => {
3669
3688
  if (!setup) {
3670
- const $scope41_id = _scope_id();
3689
+ const $scope42_id = _scope_id();
3671
3690
  _html("Checking this machine…");
3672
- writeScope($scope41_id, {});
3691
+ writeScope($scope42_id, {});
3673
3692
  return 0;
3674
3693
  } else if (setup.ready) {
3675
- const $scope42_id = _scope_id();
3694
+ const $scope43_id = _scope_id();
3676
3695
  _html(`<span${_attr_class("_b1")}>Ready</span> — tools, GitHub, and an agent are all in place.`);
3677
- writeScope($scope42_id, {});
3696
+ writeScope($scope43_id, {});
3678
3697
  return 1;
3679
3698
  } else {
3680
3699
  const $scope5_id = _scope_id();
@@ -3731,9 +3750,9 @@ var settings_page_default = _template("r", (input) => {
3731
3750
  }, "r0", $scope0_id), () => {
3732
3751
  _html(`<select${_attr_class(["_h", "_b6"])} aria-label="Default agent — starts when a workspace has no session yet" title="Starts when a workspace has no session yet">`);
3733
3752
  _for_of(input.agents.filter((a) => a !== "shell"), (id) => {
3734
- const $scope43_id = _scope_id();
3735
- _html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope43_id, "b", $sg__input_agents)}</option>${_el_resume($scope43_id, "a", $sg__input_agents)}`);
3736
- _serialize_if($scope0_reason, 2) && writeScope($scope43_id, {});
3753
+ const $scope44_id = _scope_id();
3754
+ _html(`<option${_attr_option_value(id)}>${_escape(agentLabel(id))}${_el_resume($scope44_id, "b", $sg__input_agents)}</option>${_el_resume($scope44_id, "a", $sg__input_agents)}`);
3755
+ _serialize_if($scope0_reason, 2) && writeScope($scope44_id, {});
3737
3756
  }, (a) => a, $scope0_id, "m", $sg__input_agents, 1, 1, "</select>", 1);
3738
3757
  });
3739
3758
  _html(`</span></label><button${_attr_class(iconBtn$2)} title="Refresh usage" aria-label="Refresh usage"${_attr("disabled", usageRefreshing)}>`);
@@ -3749,7 +3768,7 @@ var settings_page_default = _template("r", (input) => {
3749
3768
  const lone = a.instances.length === 1 && a.instances[0].id === a.id ? a.instances[0] : null;
3750
3769
  const rows = lone ? [] : a.instances;
3751
3770
  const loneAccounts = lone && lone.enabled ? accountsFor(lone.id) : [];
3752
- const extraAccounts = strayAccountsFor(a);
3771
+ const extraAccounts = a.installed ? strayAccountsFor(a) : [];
3753
3772
  _html(`<li${_attr_class(["_bq", "_b4"])}><div${_attr_class("_b7")}>`);
3754
3773
  _set_serialize_reason(12);
3755
3774
  const $childScope4 = _peek_scope_id();
@@ -3760,9 +3779,9 @@ var settings_page_default = _template("r", (input) => {
3760
3779
  _html(`<div${_attr_class("_br")}><span${_attr_class("_bt")}><span${_attr_class("_bs")}>${_escape(a.label)}${_el_resume($scope1_id, "g")}</span>`);
3761
3780
  _if(() => {
3762
3781
  if (lone && input.preferred === lone.id) {
3763
- const $scope44_id = _scope_id();
3782
+ const $scope45_id = _scope_id();
3764
3783
  _html(`<span${_attr_class(["_C", tone.accent])}>default</span>`);
3765
- writeScope($scope44_id, {});
3784
+ writeScope($scope45_id, {});
3766
3785
  return 0;
3767
3786
  }
3768
3787
  }, $scope1_id, "h", 1, 1, 1, 0, 1);
@@ -3774,32 +3793,32 @@ var settings_page_default = _template("r", (input) => {
3774
3793
  _subscribe($active__closures, writeScope($scope10_id, {}));
3775
3794
  return 0;
3776
3795
  } else if (!a.installed) {
3777
- const $scope45_id = _scope_id();
3796
+ const $scope46_id = _scope_id();
3778
3797
  _html(`<span${_attr_class("_bu")}>Not installed</span>`);
3779
- writeScope($scope45_id, {});
3798
+ writeScope($scope46_id, {});
3780
3799
  return 1;
3781
3800
  }
3782
3801
  }, $scope1_id, "i", 1, 1, 1, 0, 1);
3783
3802
  _html("</div>");
3784
3803
  _if(() => {
3785
3804
  if (!a.installed && !active.has(a.id)) {
3786
- const $scope34_id = _scope_id();
3787
- _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope34_id, "a")}`);
3788
- _script($scope34_id, "r25");
3789
- writeScope($scope34_id, {});
3805
+ const $scope35_id = _scope_id();
3806
+ _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope35_id, "a")}`);
3807
+ _script($scope35_id, "r25");
3808
+ writeScope($scope35_id, {});
3790
3809
  return 0;
3791
3810
  }
3792
3811
  }, $scope1_id, "j", 1, 1, 1, 0, 1);
3793
3812
  _if(() => {
3794
3813
  if (lone) {
3795
- const $scope38_id = _scope_id();
3814
+ const $scope39_id = _scope_id();
3796
3815
  _html(`<button${_attr_class([
3797
3816
  "_C",
3798
3817
  "_E",
3799
3818
  { [tone.ok]: lone.enabled }
3800
- ])} role=switch aria-checked=${lone.enabled ? "true" : "false"} title=${lone.enabled ? "\"Shown in session pickers — click to hide\"" : "\"Hidden from session pickers — click to show\""}>${lone.enabled ? "on" : "off"}${_el_resume($scope38_id, "b")}</button>${_el_resume($scope38_id, "a")}`);
3801
- _script($scope38_id, "r26");
3802
- writeScope($scope38_id, {});
3819
+ ])} role=switch aria-checked=${lone.enabled ? "true" : "false"} title=${lone.enabled ? "\"Shown in session pickers — click to hide\"" : "\"Hidden from session pickers — click to show\""}>${lone.enabled ? "on" : "off"}${_el_resume($scope39_id, "b")}</button>${_el_resume($scope39_id, "a")}`);
3820
+ _script($scope39_id, "r26");
3821
+ writeScope($scope39_id, {});
3803
3822
  return 0;
3804
3823
  }
3805
3824
  }, $scope1_id, "k", 1, 1, 1, 0, 1);
@@ -3821,9 +3840,9 @@ var settings_page_default = _template("r", (input) => {
3821
3840
  _html(`<span${_attr_class(["_b_", "_r"])}>${_escape(inst.command)}${_el_resume($scope3_id, "e")}</span>`);
3822
3841
  _if(() => {
3823
3842
  if (input.preferred === inst.id) {
3824
- const $scope46_id = _scope_id();
3843
+ const $scope47_id = _scope_id();
3825
3844
  _html(`<span${_attr_class(["_C", tone.accent])}>default</span>`);
3826
- writeScope($scope46_id, {});
3845
+ writeScope($scope47_id, {});
3827
3846
  return 0;
3828
3847
  }
3829
3848
  }, $scope3_id, "f", 1, 1, 1, 0, 1);
@@ -3833,14 +3852,14 @@ var settings_page_default = _template("r", (input) => {
3833
3852
  { [tone.ok]: inst.enabled }
3834
3853
  ])} role=switch aria-checked=${inst.enabled ? "true" : "false"} title=${inst.enabled ? "\"Shown in session pickers — click to hide\"" : "\"Hidden from session pickers — click to show\""}>${inst.enabled ? "on" : "off"}${_el_resume($scope3_id, "i")}</button>${_el_resume($scope3_id, "h")}</div>`);
3835
3854
  _for_of(accounts, (u) => {
3836
- const $scope47_id = _scope_id();
3855
+ const $scope48_id = _scope_id();
3837
3856
  _set_serialize_reason(6);
3838
3857
  const $childScope6 = _peek_scope_id();
3839
3858
  usage_meters_default({
3840
3859
  agent: u,
3841
3860
  hideName: true
3842
3861
  });
3843
- writeScope($scope47_id, { a: _existing_scope($childScope6) });
3862
+ writeScope($scope48_id, { a: _existing_scope($childScope6) });
3844
3863
  }, (u) => `${u.agent}-${u.account || ""}`, $scope3_id, "j", 1, 1, 1, 0, 1);
3845
3864
  _html("</li>");
3846
3865
  _script($scope3_id, "r27");
@@ -3851,7 +3870,7 @@ var settings_page_default = _template("r", (input) => {
3851
3870
  })));
3852
3871
  }, "id", $scope2_id, "b", 1, 1, 1, 0, 1);
3853
3872
  _for_of(loneAccounts, (u) => {
3854
- const $scope48_id = _scope_id();
3873
+ const $scope49_id = _scope_id();
3855
3874
  _html("<li>");
3856
3875
  _set_serialize_reason(6);
3857
3876
  const $childScope7 = _peek_scope_id();
@@ -3860,16 +3879,16 @@ var settings_page_default = _template("r", (input) => {
3860
3879
  hideName: true
3861
3880
  });
3862
3881
  _html("</li>");
3863
- writeScope($scope48_id, { a: _existing_scope($childScope7) });
3882
+ writeScope($scope49_id, { a: _existing_scope($childScope7) });
3864
3883
  }, (u) => `${u.agent}-${u.account || ""}`, $scope2_id, "c", 1, 1, 1, 0, 1);
3865
3884
  _for_of(extraAccounts, (u) => {
3866
- const $scope49_id = _scope_id();
3885
+ const $scope50_id = _scope_id();
3867
3886
  _html("<li>");
3868
3887
  _set_serialize_reason(6);
3869
3888
  const $childScope8 = _peek_scope_id();
3870
3889
  usage_meters_default({ agent: u });
3871
3890
  _html("</li>");
3872
- writeScope($scope49_id, { a: _existing_scope($childScope8) });
3891
+ writeScope($scope50_id, { a: _existing_scope($childScope8) });
3873
3892
  }, (u) => `${u.agent}-${u.account || ""}`, $scope2_id, "d", 1, 1, 1, 0, 1);
3874
3893
  _html("</ul>");
3875
3894
  writeScope($scope2_id, {});
@@ -3880,7 +3899,7 @@ var settings_page_default = _template("r", (input) => {
3880
3899
  writeScope($scope1_id, {
3881
3900
  n: a,
3882
3901
  s: a?.id,
3883
- v: a?.installed,
3902
+ u: a?.installed,
3884
3903
  x: lone,
3885
3904
  a1: lone?.enabled,
3886
3905
  a2: lone?.id,
@@ -3892,20 +3911,20 @@ var settings_page_default = _template("r", (input) => {
3892
3911
  });
3893
3912
  }, "id", $scope0_id, "q", 1, 1, 1, 0, 1);
3894
3913
  _for_of(otherUsage, (u) => {
3895
- const $scope50_id = _scope_id();
3914
+ const $scope51_id = _scope_id();
3896
3915
  _html(`<li${_attr_class(["_bq", "_b4"])}>`);
3897
3916
  _set_serialize_reason(6);
3898
3917
  const $childScope9 = _peek_scope_id();
3899
3918
  usage_meters_default({ agent: u });
3900
3919
  _html("</li>");
3901
- writeScope($scope50_id, { b: _existing_scope($childScope9) });
3920
+ writeScope($scope51_id, { b: _existing_scope($childScope9) });
3902
3921
  }, (u) => `${u.agent}-${u.account || ""}`, $scope0_id, "r", 1, 1, 1, 0, 1);
3903
3922
  _html("</ul>");
3904
3923
  _if(() => {
3905
3924
  if (!usage && families.length) {
3906
- const $scope51_id = _scope_id();
3925
+ const $scope52_id = _scope_id();
3907
3926
  _html(`<p${_attr_class("_bw")}><span${_attr_class("_z")}></span> Loading usage…</p>`);
3908
- writeScope($scope51_id, {});
3927
+ writeScope($scope52_id, {});
3909
3928
  return 0;
3910
3929
  } else if (usage?.error) {
3911
3930
  const $scope6_id = _scope_id();
@@ -3921,9 +3940,9 @@ var settings_page_default = _template("r", (input) => {
3921
3940
  _html(`<li${_attr_class("_bq")}><div${_attr_class("_br")}><span${_attr_class("_bt")}><span${_attr_class(["_bs", "_r"])}>${_escape(h.host)}${_el_resume($scope11_id, "e")}</span>`);
3922
3941
  _if(() => {
3923
3942
  if (h.isEnterprise) {
3924
- const $scope54_id = _scope_id();
3943
+ const $scope55_id = _scope_id();
3925
3944
  _html(`<span${_attr_class("_C")}>Enterprise</span>`);
3926
- writeScope($scope54_id, {});
3945
+ writeScope($scope55_id, {});
3927
3946
  return 0;
3928
3947
  }
3929
3948
  }, $scope11_id, "f", 1, 1, 1, 0, 1);
@@ -3940,14 +3959,14 @@ var settings_page_default = _template("r", (input) => {
3940
3959
  _subscribe($active__closures, writeScope($scope12_id, { Ccg: 1 }));
3941
3960
  return 1;
3942
3961
  } else if (h.authed) {
3943
- const $scope52_id = _scope_id();
3944
- _html(`<span${_attr_class("_bu")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope52_id, "b")}</span>`);
3945
- writeScope($scope52_id, {});
3946
- return 2;
3947
- } else {
3948
3962
  const $scope53_id = _scope_id();
3949
- _html(`<span${_attr_class("_bu")}>${_escape(h.error || "Not signed in")}${_el_resume($scope53_id, "b")}</span>`);
3963
+ _html(`<span${_attr_class("_bu")}>Signed in<!>${h.user ? ` as ${_escape(`${_to_text(h.user)}`)}` : ""}${_el_resume($scope53_id, "b")}</span>`);
3950
3964
  writeScope($scope53_id, {});
3965
+ return 2;
3966
+ } else {
3967
+ const $scope54_id = _scope_id();
3968
+ _html(`<span${_attr_class("_bu")}>${_escape(h.error || "Not signed in")}${_el_resume($scope54_id, "b")}</span>`);
3969
+ writeScope($scope54_id, {});
3951
3970
  return 3;
3952
3971
  }
3953
3972
  }, $scope11_id, "g", 1, 1, 1, 0, 1);
@@ -3957,23 +3976,35 @@ var settings_page_default = _template("r", (input) => {
3957
3976
  const $scope23_id = _scope_id();
3958
3977
  _if(() => {
3959
3978
  if (!h.authed) {
3960
- const $scope35_id = _scope_id();
3961
- _html(`<button${_attr_class(btnSm)}>Sign in</button>${_el_resume($scope35_id, "a")}`);
3962
- _script($scope35_id, "r28");
3963
- writeScope($scope35_id, {});
3979
+ const $scope36_id = _scope_id();
3980
+ _html(`<button${_attr_class(btnSm)}>Sign in</button>${_el_resume($scope36_id, "a")}`);
3981
+ _script($scope36_id, "r28");
3982
+ writeScope($scope36_id, {});
3964
3983
  return 0;
3984
+ } else {
3985
+ const $scope24_id = _scope_id();
3986
+ _html(`<button${_attr_class([btnSm, {
3987
+ ["_l"]: confirmingRemove === `out:${h.host}`,
3988
+ ["_k"]: confirmingRemove === `out:${h.host}`
3989
+ }])}${confirmingRemove === `out:${h.host}` ? _attr("title", `Really sign out of ${h.host}?`) : _attr("title", `Sign out of ${h.host}`)}>${confirmingRemove === `out:${h.host}` ? "Sign out?" : "Sign out"}${_el_resume($scope24_id, "b")}</button>${_el_resume($scope24_id, "a")}`);
3990
+ _script($scope24_id, "r29");
3991
+ _subscribe($for_content3__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope24_id, {})));
3992
+ return 1;
3965
3993
  }
3966
3994
  }, $scope23_id, "a", 1, 1, 1, 0, 1);
3967
3995
  _if(() => {
3968
3996
  if (h.isEnterprise) {
3969
- const $scope24_id = _scope_id();
3997
+ const $scope25_id = _scope_id();
3970
3998
  _html(`<button${_attr_class([
3971
3999
  "_bv",
3972
4000
  "_T",
3973
4001
  { ["_k"]: confirmingRemove === h.host }
3974
- ])}${confirmingRemove === h.host ? _attr("title", `Forget ${h.host}? (gh stays signed in)`) : _attr("title", `Forget ${h.host}`)}>${confirmingRemove === h.host ? "Forget?" : "×"}${_el_resume($scope24_id, "b")}</button>${_el_resume($scope24_id, "a")}`);
3975
- _script($scope24_id, "r29");
3976
- _subscribe($for_content3__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope24_id, {})));
4002
+ ])}${confirmingRemove === h.host ? _attr("title", `Forget ${h.host}? (gh stays signed in)`) : _attr("title", `Forget ${h.host}`)}>${confirmingRemove === h.host ? "Forget?" : "×"}${_el_resume($scope25_id, "b")}</button>${_el_resume($scope25_id, "a")}`);
4003
+ _script($scope25_id, "r30");
4004
+ _subscribe($for_content3__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope25_id, {
4005
+ Ccj: 1,
4006
+ Cr: 1
4007
+ })));
3977
4008
  return 0;
3978
4009
  }
3979
4010
  }, $scope23_id, "b", 1, 1, 1, 0, 1);
@@ -3993,35 +4024,35 @@ var settings_page_default = _template("r", (input) => {
3993
4024
  }, "host", $scope0_id, "w", 1, 1, 1, "</ul>", 1);
3994
4025
  _if(() => {
3995
4026
  if (setup && !setup.github.length) {
3996
- const $scope55_id = _scope_id();
4027
+ const $scope56_id = _scope_id();
3997
4028
  _html(`<p${_attr_class("_bw")}>Install the GitHub CLI below to sign in.</p>`);
3998
- writeScope($scope55_id, {});
4029
+ writeScope($scope56_id, {});
3999
4030
  return 0;
4000
4031
  }
4001
4032
  }, $scope0_id, "x", 1, 1, 1, 0, 1);
4002
4033
  _if(() => {
4003
4034
  if (setup) {
4004
- const $scope32_id = _scope_id();
4005
- _html(`<form${_attr_class("_ch")}><input${_attr_input_value($scope32_id, "b", hostInput)}${_attr_class(inputLg)} type=text placeholder="Add a GitHub Enterprise host, e.g. github.example.com" aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope32_id, "b")}<button${_attr_class(btnSm)} type=submit${_attr("disabled", !hostInput.trim() || hostBusy)}>${hostBusy ? "Adding…" : "Add host"}${_el_resume($scope32_id, "d")}</button>${_el_resume($scope32_id, "c")}</form>${_el_resume($scope32_id, "a")}`);
4006
- _script($scope32_id, "r30");
4007
- writeScope($scope32_id, {});
4035
+ const $scope33_id = _scope_id();
4036
+ _html(`<form${_attr_class("_ch")}><input${_attr_input_value($scope33_id, "b", hostInput)}${_attr_class(inputLg)} type=text placeholder="Add a GitHub Enterprise host, e.g. github.example.com" aria-label="GitHub Enterprise host" autocomplete=off spellcheck=false>${_el_resume($scope33_id, "b")}<button${_attr_class(btnSm)} type=submit${_attr("disabled", !hostInput.trim() || hostBusy)}>${hostBusy ? "Adding…" : "Add host"}${_el_resume($scope33_id, "d")}</button>${_el_resume($scope33_id, "c")}</form>${_el_resume($scope33_id, "a")}`);
4037
+ _script($scope33_id, "r31");
4038
+ writeScope($scope33_id, {});
4008
4039
  return 0;
4009
4040
  }
4010
4041
  }, $scope0_id, "y", 1, 1, 1, 0, 1);
4011
4042
  _html(`</section><section${_attr_class("_bl")} aria-labelledby=settings-machine><div${_attr_class("_bm")}><h2 id=settings-machine${_attr_class("_bA")}>Machine</h2>`);
4012
4043
  _if(() => {
4013
4044
  if (missingCount) {
4014
- const $scope39_id = _scope_id();
4015
- _html(`<span${_attr_class(sectionCount$1)}>${_escape(missingCount)}${_el_resume($scope39_id, "b")} missing</span>`);
4016
- writeScope($scope39_id, {});
4045
+ const $scope40_id = _scope_id();
4046
+ _html(`<span${_attr_class(sectionCount$1)}>${_escape(missingCount)}${_el_resume($scope40_id, "b")} missing</span>`);
4047
+ writeScope($scope40_id, {});
4017
4048
  return 0;
4018
4049
  }
4019
4050
  }, $scope0_id, "a2", 1, 1, 1, 0, 1);
4020
4051
  _if(() => {
4021
4052
  if (outdatedIds.length) {
4022
- const $scope40_id = _scope_id();
4023
- _html(`<span${_attr_class(sectionCount$1)}>${_escape(outdatedIds.length)}${_el_resume($scope40_id, "b")} outdated</span>`);
4024
- writeScope($scope40_id, {});
4053
+ const $scope41_id = _scope_id();
4054
+ _html(`<span${_attr_class(sectionCount$1)}>${_escape(outdatedIds.length)}${_el_resume($scope41_id, "b")} outdated</span>`);
4055
+ writeScope($scope41_id, {});
4025
4056
  return 0;
4026
4057
  }
4027
4058
  }, $scope0_id, "a3", 1, 1, 1, 0, 1);
@@ -4030,7 +4061,7 @@ var settings_page_default = _template("r", (input) => {
4030
4061
  if (outdatedIds.length > 1) {
4031
4062
  const $scope13_id = _scope_id();
4032
4063
  _html(`<button${_attr_class(btnSm)}${_attr("disabled", active.size > 0)}>Update all</button>${_el_resume($scope13_id, "a")}`);
4033
- _script($scope13_id, "r31");
4064
+ _script($scope13_id, "r32");
4034
4065
  writeScope($scope13_id, {});
4035
4066
  return 0;
4036
4067
  }
@@ -4039,7 +4070,7 @@ var settings_page_default = _template("r", (input) => {
4039
4070
  if (missingInstallable.length > 1) {
4040
4071
  const $scope14_id = _scope_id();
4041
4072
  _html(`<button${_attr_class(btnSm)}${_attr("disabled", active.size > 0)}>Install missing</button>${_el_resume($scope14_id, "a")}`);
4042
- _script($scope14_id, "r32");
4073
+ _script($scope14_id, "r33");
4043
4074
  writeScope($scope14_id, {});
4044
4075
  return 0;
4045
4076
  }
@@ -4049,7 +4080,7 @@ var settings_page_default = _template("r", (input) => {
4049
4080
  if (setup && !setup.mise.installed) {
4050
4081
  const $scope15_id = _scope_id();
4051
4082
  _html(`<p${_attr_class("_bw")}>mise isn't installed — it provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope15_id, "c")}</button>${_el_resume($scope15_id, "b")}</p>`);
4052
- _script($scope15_id, "r33");
4083
+ _script($scope15_id, "r34");
4053
4084
  writeScope($scope15_id, {});
4054
4085
  return 0;
4055
4086
  }
@@ -4070,76 +4101,76 @@ var settings_page_default = _template("r", (input) => {
4070
4101
  _subscribe($active__closures, writeScope($scope17_id, { Ccg: 2 }));
4071
4102
  return 0;
4072
4103
  } else if (t.installed) {
4073
- const $scope28_id = _scope_id();
4104
+ const $scope29_id = _scope_id();
4074
4105
  _if(() => {
4075
4106
  if (t.version) {
4076
- const $scope29_id = _scope_id();
4077
- _html(`<button${_attr_class(["_ce", "_r"])}${_attr("title", `${t.path || t.label} — pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope29_id, "b")}</button>${_el_resume($scope29_id, "a")}`);
4078
- _script($scope29_id, "r34");
4079
- _subscribe($for_content4__t_path__closures, _subscribe($for_content4__t_version__closures, _subscribe($for_content4__t_label__closures, writeScope($scope29_id, { Cu: 1 }))));
4107
+ const $scope30_id = _scope_id();
4108
+ _html(`<button${_attr_class(["_ce", "_r"])}${_attr("title", `${t.path || t.label} — pin a version`)}>v<!>${_escape(t.version)}${_el_resume($scope30_id, "b")}</button>${_el_resume($scope30_id, "a")}`);
4109
+ _script($scope30_id, "r35");
4110
+ _subscribe($for_content4__t_path__closures, _subscribe($for_content4__t_version__closures, _subscribe($for_content4__t_label__closures, writeScope($scope30_id, { Cu: 1 }))));
4080
4111
  return 0;
4081
4112
  } else {
4082
- const $scope56_id = _scope_id();
4083
- _html(`<span${_attr_class([metaTrunc, "_r"])}${_attr("title", t.path)}>${_escape(t.path)}${_el_resume($scope56_id, "b")}</span>${_el_resume($scope56_id, "a")}`);
4084
- _subscribe($for_content4__t_path__closures, writeScope($scope56_id, { Cx: 1 }));
4113
+ const $scope57_id = _scope_id();
4114
+ _html(`<span${_attr_class([metaTrunc, "_r"])}${_attr("title", t.path)}>${_escape(t.path)}${_el_resume($scope57_id, "b")}</span>${_el_resume($scope57_id, "a")}`);
4115
+ _subscribe($for_content4__t_path__closures, writeScope($scope57_id, { Cx: 1 }));
4085
4116
  return 1;
4086
4117
  }
4087
- }, $scope28_id, "a", 1, 1, 1, 0, 1);
4118
+ }, $scope29_id, "a", 1, 1, 1, 0, 1);
4088
4119
  _if(() => {
4089
4120
  if (outdated(t)) {
4090
- const $scope36_id = _scope_id();
4091
- _html(`<button${_attr_class([btnSm, "_cf"])}${_attr("title", `Update to v${t.latest}`)}>↑ <!>${_escape(t.latest)}${_el_resume($scope36_id, "b")}</button>${_el_resume($scope36_id, "a")}`);
4092
- _script($scope36_id, "r35");
4093
- _subscribe($for_content4__t_latest__closures, writeScope($scope36_id, {}));
4121
+ const $scope37_id = _scope_id();
4122
+ _html(`<button${_attr_class([btnSm, "_cf"])}${_attr("title", `Update to v${t.latest}`)}>↑ <!>${_escape(t.latest)}${_el_resume($scope37_id, "b")}</button>${_el_resume($scope37_id, "a")}`);
4123
+ _script($scope37_id, "r36");
4124
+ _subscribe($for_content4__t_latest__closures, writeScope($scope37_id, {}));
4094
4125
  return 0;
4095
4126
  }
4096
- }, $scope28_id, "b", 1, 1, 1, 0, 1);
4097
- writeScope($scope28_id, {});
4127
+ }, $scope29_id, "b", 1, 1, 1, 0, 1);
4128
+ writeScope($scope29_id, {});
4098
4129
  return 1;
4099
4130
  } else if (t.installable) {
4100
- const $scope57_id = _scope_id();
4131
+ const $scope58_id = _scope_id();
4101
4132
  _html(`<span${_attr_class(metaTrunc)}>not installed</span>`);
4102
- writeScope($scope57_id, {});
4133
+ writeScope($scope58_id, {});
4103
4134
  return 2;
4104
4135
  } else {
4105
- const $scope58_id = _scope_id();
4136
+ const $scope59_id = _scope_id();
4106
4137
  _html(`<span${_attr_class(metaTrunc)} title="Add it with your package manager">system package</span>`);
4107
- writeScope($scope58_id, {});
4138
+ writeScope($scope59_id, {});
4108
4139
  return 3;
4109
4140
  }
4110
4141
  }, $scope16_id, "d");
4111
4142
  _html(`<span${_attr_class("_s")}></span>`);
4112
4143
  _if(() => {
4113
4144
  if (!active.has(t.id)) {
4114
- const $scope25_id = _scope_id();
4145
+ const $scope26_id = _scope_id();
4115
4146
  _if(() => {
4116
4147
  if (t.required) {
4117
- const $scope59_id = _scope_id();
4148
+ const $scope60_id = _scope_id();
4118
4149
  _html(`<span${_attr_class("_C")}>required</span>`);
4119
- writeScope($scope59_id, {});
4150
+ writeScope($scope60_id, {});
4120
4151
  return 0;
4121
4152
  }
4122
- }, $scope25_id, "a", 1, 1, 1, 0, 1);
4153
+ }, $scope26_id, "a", 1, 1, 1, 0, 1);
4123
4154
  _if(() => {
4124
4155
  if (!t.installed && t.installable) {
4125
- const $scope37_id = _scope_id();
4126
- _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope37_id, "a")}`);
4127
- _script($scope37_id, "r36");
4128
- writeScope($scope37_id, {});
4156
+ const $scope38_id = _scope_id();
4157
+ _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope38_id, "a")}`);
4158
+ _script($scope38_id, "r37");
4159
+ writeScope($scope38_id, {});
4129
4160
  return 0;
4130
4161
  } else if (t.installed && t.version && !t.required) {
4131
- const $scope26_id = _scope_id();
4162
+ const $scope27_id = _scope_id();
4132
4163
  _html(`<button${_attr_class([
4133
4164
  iconBtnXs,
4134
4165
  "_T",
4135
4166
  { ["_k"]: confirmingRemove === t.id }
4136
- ])}${confirmingRemove === t.id ? _attr("title", `Really remove ${t.label}?`) : _attr("title", `Remove ${t.label}`)}>${confirmingRemove === t.id ? "Remove?" : "×"}${_el_resume($scope26_id, "b")}</button>${_el_resume($scope26_id, "a")}`);
4137
- _script($scope26_id, "r37");
4138
- _subscribe($for_content4__t_id__closures, _subscribe($for_content4__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope26_id, { Ccj: 1 }))));
4167
+ ])}${confirmingRemove === t.id ? _attr("title", `Really remove ${t.label}?`) : _attr("title", `Remove ${t.label}`)}>${confirmingRemove === t.id ? "Remove?" : "×"}${_el_resume($scope27_id, "b")}</button>${_el_resume($scope27_id, "a")}`);
4168
+ _script($scope27_id, "r38");
4169
+ _subscribe($for_content4__t_id__closures, _subscribe($for_content4__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope27_id, { Ccj: 2 }))));
4139
4170
  return 1;
4140
4171
  }
4141
- }, $scope25_id, "b", 1, 1, 1, 0, 1);
4142
- writeScope($scope25_id, {});
4172
+ }, $scope26_id, "b", 1, 1, 1, 0, 1);
4173
+ writeScope($scope26_id, {});
4143
4174
  return 0;
4144
4175
  }
4145
4176
  }, $scope16_id, "f");
@@ -4179,31 +4210,31 @@ var settings_page_default = _template("r", (input) => {
4179
4210
  _subscribe($active__closures, writeScope($scope21_id, { Ccg: 4 }));
4180
4211
  return 0;
4181
4212
  } else if (h.description) {
4182
- const $scope60_id = _scope_id();
4183
- _html(`<span${_attr_class("_bu")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope60_id, "b")}</span>${_el_resume($scope60_id, "a")}`);
4184
- writeScope($scope60_id, {});
4213
+ const $scope61_id = _scope_id();
4214
+ _html(`<span${_attr_class("_bu")}${_attr("title", h.description)}>${_escape(h.description)}${_el_resume($scope61_id, "b")}</span>${_el_resume($scope61_id, "a")}`);
4215
+ writeScope($scope61_id, {});
4185
4216
  return 1;
4186
4217
  }
4187
4218
  }, $scope20_id, "e", 1, 1, 1, 0, 1);
4188
4219
  _html("</div>");
4189
4220
  _if(() => {
4190
4221
  if (!active.has(h.name)) {
4191
- const $scope30_id = _scope_id();
4222
+ const $scope31_id = _scope_id();
4192
4223
  _if(() => {
4193
4224
  if (h.installed) {
4194
- const $scope61_id = _scope_id();
4225
+ const $scope62_id = _scope_id();
4195
4226
  _html(`<span${_attr_class("_C")}>installed</span>`);
4196
- writeScope($scope61_id, {});
4227
+ writeScope($scope62_id, {});
4197
4228
  return 0;
4198
4229
  } else {
4199
- const $scope31_id = _scope_id();
4200
- _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope31_id, "a")}<button${_attr_class(btnSm)} title="Install a specific version">@…</button>${_el_resume($scope31_id, "b")}`);
4201
- _script($scope31_id, "r38");
4202
- writeScope($scope31_id, {});
4230
+ const $scope32_id = _scope_id();
4231
+ _html(`<button${_attr_class(btnSm)}>Install</button>${_el_resume($scope32_id, "a")}<button${_attr_class(btnSm)} title="Install a specific version">@…</button>${_el_resume($scope32_id, "b")}`);
4232
+ _script($scope32_id, "r39");
4233
+ writeScope($scope32_id, {});
4203
4234
  return 1;
4204
4235
  }
4205
- }, $scope30_id, "a");
4206
- writeScope($scope30_id, {});
4236
+ }, $scope31_id, "a");
4237
+ writeScope($scope31_id, {});
4207
4238
  return 0;
4208
4239
  }
4209
4240
  }, $scope20_id, "f");
@@ -4218,14 +4249,14 @@ var settings_page_default = _template("r", (input) => {
4218
4249
  _subscribe($hits__closures, writeScope($scope19_id, {}));
4219
4250
  return 0;
4220
4251
  } else if (hits && !searching) {
4221
- const $scope33_id = _scope_id();
4222
- _html(`<p${_attr_class("_bw")}>No tools match “<!>${_escape(query)}${_el_resume($scope33_id, "b")}”.</p>`);
4223
- _subscribe($query__closures, writeScope($scope33_id, {}));
4252
+ const $scope34_id = _scope_id();
4253
+ _html(`<p${_attr_class("_bw")}>No tools match “<!>${_escape(query)}${_el_resume($scope34_id, "b")}”.</p>`);
4254
+ _subscribe($query__closures, writeScope($scope34_id, {}));
4224
4255
  return 1;
4225
4256
  }
4226
4257
  }, $scope18_id, "b", 1, 1, 1, 0, 1);
4227
4258
  _html("</div>");
4228
- _script($scope18_id, "r39");
4259
+ _script($scope18_id, "r40");
4229
4260
  writeScope($scope18_id, {});
4230
4261
  return 0;
4231
4262
  }
@@ -4233,7 +4264,7 @@ var settings_page_default = _template("r", (input) => {
4233
4264
  _html("</section></div></div></div>");
4234
4265
  _if(() => {
4235
4266
  if (versionPick) {
4236
- const $scope27_id = _scope_id();
4267
+ const $scope28_id = _scope_id();
4237
4268
  _set_serialize_reason(14);
4238
4269
  const $childScope10 = _peek_scope_id();
4239
4270
  prompt_dialog_default({
@@ -4244,19 +4275,19 @@ var settings_page_default = _template("r", (input) => {
4244
4275
  open: versionPick != null,
4245
4276
  openChange: _resume(function(o) {
4246
4277
  if (!o) versionPick = null;
4247
- }, "r19", $scope27_id),
4278
+ }, "r19", $scope28_id),
4248
4279
  onSubmit: _resume(function(v) {
4249
4280
  const pick = versionPick;
4250
4281
  versionPick = null;
4251
4282
  run(pick.id, "install", v);
4252
- }, "r20", $scope27_id)
4283
+ }, "r20", $scope28_id)
4253
4284
  });
4254
- writeScope($scope27_id, { a: _existing_scope($childScope10) });
4285
+ writeScope($scope28_id, { a: _existing_scope($childScope10) });
4255
4286
  return 0;
4256
4287
  }
4257
4288
  }, $scope0_id, "aa", 1, 1, 1, 0, 1);
4258
- _script($scope0_id, "r40");
4259
4289
  _script($scope0_id, "r41");
4290
+ _script($scope0_id, "r42");
4260
4291
  writeScope($scope0_id, {
4261
4292
  ae: input.setupChange,
4262
4293
  af: input.agentsChange,
@@ -4422,7 +4453,7 @@ var repo_picker_default = _template("q", (input) => {
4422
4453
  size: 12,
4423
4454
  class: "_cu"
4424
4455
  });
4425
- _html(`<span${_attr_class("_cv")}>${_escape(repo.nameWithOwner)}${_el_resume($scope3_id, "e")}</span></button>${_el_resume($scope3_id, "b")}<button${_attr_class([resultBranch, { ["_cq"]: 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($scope3_id, "f")}</div>${_el_resume($scope3_id, "a")}`);
4456
+ _html(`<span${_attr_class("_cv")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope3_id, "e")}</span></button>${_el_resume($scope3_id, "b")}<button${_attr_class([resultBranch, { ["_cq"]: 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($scope3_id, "f")}</div>${_el_resume($scope3_id, "a")}`);
4426
4457
  _if(() => {
4427
4458
  if (branchesFor === repo.nameWithOwner) {
4428
4459
  const $scope4_id = _scope_id();
@@ -4566,8 +4597,10 @@ var new_workspace_default = _template("m", (input) => {
4566
4597
  restoring = null;
4567
4598
  }
4568
4599
  }, "m3", $scope0_id);
4600
+ const createGen = { n: 0 };
4569
4601
  const create = _resume(async () => {
4570
4602
  if (restoring) return;
4603
+ const gen = ++createGen.n;
4571
4604
  busy = true;
4572
4605
  error = null;
4573
4606
  steps$1 = [];
@@ -4586,9 +4619,11 @@ var new_workspace_default = _template("m", (input) => {
4586
4619
  opId
4587
4620
  })
4588
4621
  });
4622
+ if (gen !== createGen.n) return;
4589
4623
  busy = false;
4590
4624
  input.onCreate?.(ws);
4591
4625
  } catch (err) {
4626
+ if (gen !== createGen.n) return;
4592
4627
  busy = false;
4593
4628
  error = String(err.message || err);
4594
4629
  } finally {
@@ -4645,7 +4680,7 @@ var new_workspace_default = _template("m", (input) => {
4645
4680
  _html(`</button>${_el_resume($scope0_id, "l")}</div><ul${_attr_class("_bH")}>`);
4646
4681
  _for_of(selected, (repo) => {
4647
4682
  const $scope2_id = _scope_id();
4648
- _html(`<li${_attr_class(row)}><span${_attr_class("_bI")}>${_escape(repo.fullName)}${_el_resume($scope2_id, "c")}</span>`);
4683
+ _html(`<li${_attr_class(row)}><span${_attr_class("_bI")}>${_escape(repoLabel(repo.fullName))}${_el_resume($scope2_id, "c")}</span>`);
4649
4684
  _if(() => {
4650
4685
  if (repo.baseBranch) {
4651
4686
  const $scope10_id = _scope_id();
@@ -4715,14 +4750,14 @@ var new_workspace_default = _template("m", (input) => {
4715
4750
  }, $scope0_id, "s", 1, 1, 1, 0, 1);
4716
4751
  _html(`<div${_attr_class("_bC")}>`);
4717
4752
  _if(() => {
4718
- if (input.onExit) {
4753
+ if (input.onExit || busy) {
4719
4754
  const $scope1_id = _scope_id();
4720
- _html(`<button type=button${_attr_class(btnLg)}${_attr("disabled", busy || !!restoring)}>Cancel</button>${_el_resume($scope1_id, "a")}`);
4755
+ _html(`<button type=button${_attr_class(btnLg)}${_attr("disabled", !!restoring)}>Cancel</button>${_el_resume($scope1_id, "a")}`);
4721
4756
  _script($scope1_id, "m14");
4722
- writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
4757
+ writeScope($scope1_id, {});
4723
4758
  return 0;
4724
4759
  }
4725
- }, $scope0_id, "u", 1, $sg__input_onExit, 1, 0, 1);
4760
+ }, $scope0_id, "u", 1, 1, 1, 0, 1);
4726
4761
  _html(`<button type=button${_attr_class([
4727
4762
  btnLg,
4728
4763
  "_j",
@@ -4770,24 +4805,25 @@ var new_workspace_default = _template("m", (input) => {
4770
4805
  a4: name,
4771
4806
  a6: selected,
4772
4807
  a8: busy,
4773
- a9: restoring,
4774
- ac: error,
4775
- ad: steps$1,
4808
+ aa: restoring,
4809
+ ad: error,
4810
+ ae: steps$1,
4776
4811
  af: steps$1?.length,
4777
4812
  ah: $si__input_workspaces && archived$1,
4778
4813
  ai: $si__input_workspaces && archived$1?.length,
4779
4814
  aj: addRepo,
4780
4815
  ak: removeRepo,
4781
4816
  al: restore,
4782
- am: create,
4783
- ao: refreshCatalog,
4817
+ an: createGen.n,
4818
+ ap: create,
4819
+ ar: refreshCatalog,
4784
4820
  d: _serialize_if($scope0_reason, 1) && _existing_scope($childScope),
4785
- ar: $error__closures,
4821
+ au: $error__closures,
4786
4822
  m: _existing_scope($childScope2),
4787
4823
  q: _existing_scope($childScope3),
4788
- at: $steps_length__closures,
4789
- ap: $busy__closures,
4790
- aq: $restoring__closures
4824
+ aw: $steps_length__closures,
4825
+ as: $busy__closures,
4826
+ at: $restoring__closures
4791
4827
  });
4792
4828
  _resume_branch($scope0_id);
4793
4829
  });
@@ -4874,8 +4910,8 @@ function activeAgent(session) {
4874
4910
  const command = session.state?.command?.trim();
4875
4911
  return command && agentFromCommand(command) || session.agent;
4876
4912
  }
4877
- var iconBtn$1 = "_cK _d";
4878
- var navToggle = "_cP _d";
4913
+ var iconBtn$1 = "_cz _d";
4914
+ var navToggle = "_cE _d";
4879
4915
  _template("D", (input) => {
4880
4916
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
4881
4917
  const $scope0_id = _scope_id();
@@ -4923,7 +4959,7 @@ var rowIcon = "_fJ _Q _d";
4923
4959
  var close = "_fK _Q _d _T";
4924
4960
  //#endregion
4925
4961
  //#region src/styles/session-pop.css.ts
4926
- var sessionPop = "_fw _U";
4962
+ var sessionPop = "_fm _U";
4927
4963
  //#endregion
4928
4964
  //#region src/tags/icons/icon-diff.marko
4929
4965
  var icon_diff_default = _template("G", (input) => {
@@ -5039,10 +5075,10 @@ var side_nav_chips_default = _template("s", (input) => {
5039
5075
  if (repos.some((r) => (r.prs || []).length) || ports.length) {
5040
5076
  const $scope1_id = _scope_id();
5041
5077
  const $if_content__repoLabel__closures = /* @__PURE__ */ new Set();
5042
- const repoLabel = _resume((repo) => {
5078
+ const repoLabel$1 = _resume((repo) => {
5043
5079
  if (repos.length < 2) return "";
5044
- const name = repo.full_name.split("/")[1];
5045
- return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/")[1] === name) ? repo.full_name : name;
5080
+ const name = repo.full_name.split("/").at(-1);
5081
+ return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
5046
5082
  }, "s2", $scope1_id);
5047
5083
  _html(`<div${_attr_class("_f2")}>`);
5048
5084
  _for_of(repos, (repo) => {
@@ -5059,7 +5095,7 @@ var side_nav_chips_default = _template("s", (input) => {
5059
5095
  [prState.merged]: pr.state === "MERGED",
5060
5096
  [prState.closed]: pr.state === "CLOSED"
5061
5097
  }
5062
- ])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_f6", { ["_gc"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel(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)}`);
5098
+ ])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_f6", { ["_gc"]: !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)}`);
5063
5099
  _if(() => {
5064
5100
  if (open) {
5065
5101
  const $scope4_id = _scope_id();
@@ -5116,7 +5152,7 @@ var side_nav_chips_default = _template("s", (input) => {
5116
5152
  }, "port", $scope1_id, "c", $sg__input_status_ports, $sg__input_status_ports, $sg__input_status_repos__OR__input_status_ports, 0, 1);
5117
5153
  _html("</div>");
5118
5154
  writeScope($scope1_id, {
5119
- d: $si__input_status_repos && repoLabel,
5155
+ d: $si__input_status_repos && repoLabel$1,
5120
5156
  _: _scope_with_id($scope0_id),
5121
5157
  e: $si__input_status_repos && $if_content__repoLabel__closures
5122
5158
  });
@@ -5276,7 +5312,7 @@ var side_nav_item_default = _template("t", (input) => {
5276
5312
  _html(`</button>${_el_resume($scope6_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
5277
5313
  _for_of([], (agent) => {
5278
5314
  const $scope7_id = _scope_id();
5279
- _html(`<button${_attr_class("_fx")}>`);
5315
+ _html(`<button${_attr_class("_fn")}>`);
5280
5316
  _set_serialize_reason(12);
5281
5317
  const $childScope2 = _peek_scope_id();
5282
5318
  icon_agent_default({
@@ -5540,25 +5576,25 @@ var side_nav_default = _template("u", (input) => {
5540
5576
  const wsSelected = true;
5541
5577
  const otherIds = itemIds.filter((id) => id !== ws.id);
5542
5578
  const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
5543
- _html(`<aside${_attr_class(["_cO", {
5544
- ["_cM"]: !navOpen,
5545
- ["_cN"]: isPage
5579
+ _html(`<aside${_attr_class(["_cD", {
5580
+ ["_cB"]: !navOpen,
5581
+ ["_cC"]: isPage
5546
5582
  }])}${_attr("hidden", view === "diff")}>`);
5547
5583
  _if(() => {
5548
5584
  if (isPage) {
5549
5585
  const $scope1_id = _scope_id();
5550
- _html(`<header${_attr_class("_cR")}><h1${_attr_class("_cS")}>Workspaces</h1><div${_attr_class("_cT")}>`);
5586
+ _html(`<header${_attr_class("_cG")}><h1${_attr_class("_cH")}>Workspaces</h1><div${_attr_class("_cI")}>`);
5551
5587
  _if(() => {}, $scope1_id, "d", 1, 1, 1, 0, 1);
5552
5588
  _html(`<button${_attr_class([
5553
5589
  iconBtn$1,
5554
- "_cU",
5555
- { ["_cJ"]: view === "settings" }
5590
+ "_cJ",
5591
+ { ["_cy"]: view === "settings" }
5556
5592
  ])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
5557
5593
  icon_settings_default({ size: 16 });
5558
5594
  _if(() => {
5559
5595
  if (input.setupReady === false) {
5560
5596
  const $scope10_id = _scope_id();
5561
- _html(`<span${_attr_class(["_t", "_cL"])} title="Machine setup incomplete"></span>`);
5597
+ _html(`<span${_attr_class(["_t", "_cA"])} title="Machine setup incomplete"></span>`);
5562
5598
  $si__input_setupReady && writeScope($scope10_id, {});
5563
5599
  return 0;
5564
5600
  }
@@ -5569,13 +5605,13 @@ var side_nav_default = _template("u", (input) => {
5569
5605
  return 0;
5570
5606
  }
5571
5607
  }, $scope0_id, "b", 1, 1, 1, 0, 1);
5572
- _html(`<div${_attr_class("_cX")}>`);
5608
+ _html(`<div${_attr_class("_cM")}>`);
5573
5609
  _for_of(listIds, (wsId) => {
5574
5610
  const $scope2_id = _scope_id();
5575
5611
  _if(() => {
5576
5612
  if (isPage && wsId === ws.id) {
5577
5613
  const $scope11_id = _scope_id();
5578
- _html(`<h2${_attr_class(["_bA", "_cV"])}>Current</h2>`);
5614
+ _html(`<h2${_attr_class(["_bA", "_cK"])}>Current</h2>`);
5579
5615
  writeScope($scope11_id, {});
5580
5616
  return 0;
5581
5617
  }
@@ -5583,7 +5619,7 @@ var side_nav_default = _template("u", (input) => {
5583
5619
  _if(() => {
5584
5620
  if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
5585
5621
  const $scope12_id = _scope_id();
5586
- _html(`<h2${_attr_class(["_bA", "_cV"])}>Other spaces</h2>`);
5622
+ _html(`<h2${_attr_class(["_bA", "_cK"])}>Other spaces</h2>`);
5587
5623
  writeScope($scope12_id, {});
5588
5624
  return 0;
5589
5625
  }
@@ -5681,7 +5717,7 @@ var side_nav_default = _template("u", (input) => {
5681
5717
  railHover = null;
5682
5718
  }, 150);
5683
5719
  }, "u9", $scope3_id);
5684
- _html(`<div${_attr_class("_cY")}>`);
5720
+ _html(`<div${_attr_class("_cN")}>`);
5685
5721
  _for_of(itemIds, (wsId, i) => {
5686
5722
  const $scope4_id = _scope_id();
5687
5723
  _html("<span>");
@@ -5728,7 +5764,7 @@ var side_nav_default = _template("u", (input) => {
5728
5764
  if (railHover) {
5729
5765
  const $scope5_id = _scope_id();
5730
5766
  const hoverId = railHover.id;
5731
- _html(`<div${_attr_class(["_U", "_c1"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
5767
+ _html(`<div${_attr_class(["_U", "_cQ"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
5732
5768
  _set_serialize_reason({
5733
5769
  0: 1,
5734
5770
  1: 1,
@@ -5830,7 +5866,7 @@ var side_nav_default = _template("u", (input) => {
5830
5866
  return 0;
5831
5867
  }
5832
5868
  }, $scope0_id, "d");
5833
- _html(`<div${_attr_class("_cZ")}>`);
5869
+ _html(`<div${_attr_class("_cO")}>`);
5834
5870
  _if(() => {
5835
5871
  if (isPage) {
5836
5872
  const $scope6_id = _scope_id();
@@ -5838,7 +5874,7 @@ var side_nav_default = _template("u", (input) => {
5838
5874
  "_i",
5839
5875
  "_j",
5840
5876
  btnLg,
5841
- "_cW"
5877
+ "_cL"
5842
5878
  ])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
5843
5879
  icon_folder_plus_default({ size: 16 });
5844
5880
  _html(` New workspace</button>${_el_resume($scope6_id, "a")}`);
@@ -5861,19 +5897,19 @@ var side_nav_default = _template("u", (input) => {
5861
5897
  return 1;
5862
5898
  }
5863
5899
  }, $scope7_id, "a", 1, 1, 1, "</button>", 1);
5864
- _html(`<div${_attr_class(["_s", "_c0"])}></div>`);
5900
+ _html(`<div${_attr_class(["_s", "_cP"])}></div>`);
5865
5901
  _if(() => {}, $scope7_id, "c", 1, 1, 1, 0, 1);
5866
- _html(`<button${_attr_class([iconBtn$1, { ["_cJ"]: view === "settings" }])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
5902
+ _html(`<button${_attr_class([iconBtn$1, { ["_cy"]: view === "settings" }])} title=Settings aria-pressed=${view === "settings" ? "true" : "false"}>`);
5867
5903
  icon_settings_default({ size: 15 });
5868
5904
  _if(() => {
5869
5905
  if (input.setupReady === false) {
5870
5906
  const $scope15_id = _scope_id();
5871
- _html(`<span${_attr_class(["_t", "_cL"])} title="Machine setup incomplete"></span>`);
5907
+ _html(`<span${_attr_class(["_t", "_cA"])} title="Machine setup incomplete"></span>`);
5872
5908
  $si__input_setupReady && writeScope($scope15_id, {});
5873
5909
  return 0;
5874
5910
  }
5875
5911
  }, $scope7_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
5876
- _html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["_cJ"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
5912
+ _html(`</button>${_el_resume($scope7_id, "d")}<button${_attr_class([iconBtn$1, { ["_cy"]: view === "new" }])} title="New workspace" aria-pressed=${view === "new" ? "true" : "false"}>`);
5877
5913
  icon_folder_plus_default({ size: 16 });
5878
5914
  _html(`</button>${_el_resume($scope7_id, "g")}`);
5879
5915
  _script($scope7_id, "u23");
@@ -5938,21 +5974,12 @@ var side_nav_default = _template("u", (input) => {
5938
5974
  });
5939
5975
  _resume_branch($scope0_id);
5940
5976
  });
5941
- //#endregion
5942
- //#region src/client/github.ts
5943
- /** A repo's full name is `[host/]owner/name`; the host segment is present
5944
- * only for GitHub Enterprise (server mirror: github-hosts.ts `splitRepo`). */
5945
- function repoWebUrl(fullName) {
5946
- const parts = fullName.split("/");
5947
- if (parts.length >= 3 && parts[0].includes(".")) return `https://${parts[0]}/${parts.slice(1).join("/")}`;
5948
- return `https://github.com/${fullName}`;
5949
- }
5950
5977
  var iconBtn = "_R _d";
5951
5978
  var sectionCount = "_bn _C _D";
5952
- var content = "_cy _bd";
5953
- var pageMeta = "_cz _bi";
5954
- var pathMeta = "_cC _r";
5955
- var dangerHint = "_cI _M";
5979
+ var content = "_cR _bd";
5980
+ var pageMeta = "_cS _bi";
5981
+ var pathMeta = "_cV _r";
5982
+ var dangerHint = "_c1 _M";
5956
5983
  //#endregion
5957
5984
  //#region src/tags/manage-workspace.marko
5958
5985
  var api$2;
@@ -6066,7 +6093,7 @@ var manage_workspace_default = _template("k", (input) => {
6066
6093
  meta: attrTag({ content: _content_resume("k11", () => {
6067
6094
  _scope_reason();
6068
6095
  const $scope8_id = _scope_id();
6069
- _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_cA")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
6096
+ _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_cT")}>${_escape(ws.name)}${_el_resume($scope8_id, "c")}</span>`);
6070
6097
  _if(() => {
6071
6098
  if (ws.status !== "active") {
6072
6099
  const $scope11_id = _scope_id();
@@ -6075,7 +6102,7 @@ var manage_workspace_default = _template("k", (input) => {
6075
6102
  return 0;
6076
6103
  }
6077
6104
  }, $scope8_id, "d", 1, 1, 1, 0, 1);
6078
- _html(`<span${_attr_class("_cB")} 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")}`);
6105
+ _html(`<span${_attr_class("_cU")} 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")}`);
6079
6106
  _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) })))));
6080
6107
  _resume_branch($scope8_id);
6081
6108
  }, $scope0_id) })
@@ -6118,7 +6145,7 @@ var manage_workspace_default = _template("k", (input) => {
6118
6145
  _html(`</button>${_el_resume($scope0_id, "m")}</div><ul${_attr_class("_bo")}>`);
6119
6146
  _for_of(ws.repos, (row) => {
6120
6147
  const $scope1_id = _scope_id();
6121
- _html(`<li${_attr_class("_bq")}><div${_attr_class("_br")}><span${_attr_class(["_bs", "_r"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bt")}><a${_attr_class(["_bu", "_cE"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(row.full_name)}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
6148
+ _html(`<li${_attr_class("_bq")}><div${_attr_class("_br")}><span${_attr_class(["_bs", "_r"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bt")}><a${_attr_class(["_bu", "_cX"])}${_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")}`);
6122
6149
  _if(() => {
6123
6150
  if (row.base_branch !== row.default_branch) {
6124
6151
  const $scope12_id = _scope_id();
@@ -6168,7 +6195,7 @@ var manage_workspace_default = _template("k", (input) => {
6168
6195
  return 0;
6169
6196
  }
6170
6197
  }, $scope0_id, "r", 1, 1, 1, 0, 1);
6171
- _html(`<div${_attr_class("_cD")}>`);
6198
+ _html(`<div${_attr_class("_cW")}>`);
6172
6199
  const $childScope3 = _peek_scope_id();
6173
6200
  let refreshCatalog = repo_picker_default({
6174
6201
  exclude: inWorkspace,
@@ -6198,7 +6225,7 @@ var manage_workspace_default = _template("k", (input) => {
6198
6225
  _html(`<span${_attr_class("_bt")}>`);
6199
6226
  _for_of(p.ports, (port) => {
6200
6227
  const $scope17_id = _scope_id();
6201
- _html(`<button${_attr_class(["_m", "_cF"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope17_id, "b")}</button>${_el_resume($scope17_id, "a")}`);
6228
+ _html(`<button${_attr_class(["_m", "_cY"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope17_id, "b")}</button>${_el_resume($scope17_id, "a")}`);
6202
6229
  _script($scope17_id, "k15");
6203
6230
  writeScope($scope17_id, { d: port });
6204
6231
  }, (x) => String(x), $scope16_id, "a", 1, 1, 1, "</span>", 1);
@@ -6218,7 +6245,7 @@ var manage_workspace_default = _template("k", (input) => {
6218
6245
  return 0;
6219
6246
  }
6220
6247
  }, $scope0_id, "v", 1, 1, 1, 0, 1);
6221
- _html(`<section${_attr_class(["_bl", "_cG"])}><div${_attr_class("_bm")}><h2${_attr_class("_bA")}>Workspace</h2></div><div${_attr_class("_cH")}>`);
6248
+ _html(`<section${_attr_class(["_bl", "_cZ"])}><div${_attr_class("_bm")}><h2${_attr_class("_bA")}>Workspace</h2></div><div${_attr_class("_c0")}>`);
6222
6249
  _if(() => {
6223
6250
  if (ws.status === "active") {
6224
6251
  const $scope4_id = _scope_id();
@@ -6319,15 +6346,15 @@ var term_find_default = _template("v", (input) => {
6319
6346
  const canStep = hasQuery && open;
6320
6347
  const keybar = input.placement === "keybar";
6321
6348
  _html(`<div${_attr_class([
6322
- "_e2",
6323
- keybar ? "_e4" : "_e3",
6324
- !open && "_e6"
6325
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eX", keybar ? "_e5" : "_eZ"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
6349
+ "_e1",
6350
+ keybar ? "_e3" : "_e2",
6351
+ !open && "_e5"
6352
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_eW", keybar ? "_e4" : "_eY"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
6326
6353
  if (!open) return;
6327
6354
  query = v;
6328
6355
  live.query = v;
6329
6356
  run(0);
6330
- }, "v0", $scope0_id))}${_attr_class([findInput, keybar && "_e7"])} 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 && "_e8"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_e8"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_e8"])} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
6357
+ }, "v0", $scope0_id))}${_attr_class([findInput, keybar && "_e6"])} 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 && "_e7"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↑</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_e7"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>↓</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class([findIconBtn, keybar && "_e7"])} title="Close find" tabindex=${open ? "0" : "-1"}>×</button>${_el_resume($scope0_id, "f")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
6331
6358
  _script($scope0_id, "v4");
6332
6359
  _script($scope0_id, "v5");
6333
6360
  _script($scope0_id, "v6");
@@ -6747,7 +6774,7 @@ var work_view_default = _template("z", (input) => {
6747
6774
  let DiffView = null;
6748
6775
  const loadDiffView = _resume(() => {
6749
6776
  if (DiffView) return;
6750
- import("./_DvTZBSt5.js").then((m) => {
6777
+ import("./_CBPKAw5M.js").then((m) => {
6751
6778
  DiffView = m.default;
6752
6779
  });
6753
6780
  }, "z4", $scope0_id);
@@ -7300,6 +7327,7 @@ var page_boot_default = _template("n", (input) => {
7300
7327
  let openIds = selectedId ? [selectedId] : [];
7301
7328
  let creating = false;
7302
7329
  let setup = boot.setup;
7330
+ setPrimaryHost(boot.setup?.github);
7303
7331
  let showSetup = !!boot.setup && !boot.setup.ready && boot.prefs["setup-later"] !== "1";
7304
7332
  let error = null;
7305
7333
  const applyWorkspaces = _resume((list) => {
@@ -7537,31 +7565,31 @@ var page_boot_default = _template("n", (input) => {
7537
7565
  _script($scope0_id, "n25");
7538
7566
  writeScope($scope0_id, {
7539
7567
  l: boot?.prefs,
7540
- p: workspaces,
7541
- q: status,
7542
- r: settings,
7543
- u: selectedId,
7544
- v: openIds,
7545
- y: creating,
7546
- z: setup,
7547
- a0: showSetup,
7548
- a2: error,
7549
- a3: applyWorkspaces,
7550
- a4: load,
7551
- a5: patchStatusSessions,
7552
- a7: statusMem.fresh,
7553
- a8: statusMem.run,
7554
- aa: loadStatus,
7555
- ab: openWorkspace,
7556
- aj: $error__closures,
7557
- ad: $workspaces__closures,
7558
- ae: $status__closures,
7559
- af: $settings__closures,
7560
- ag: $selectedId__closures,
7561
- ah: $creating__closures,
7562
- ai: $setup2__closures,
7563
- ak: $applyWorkspaces2__closures,
7564
- al: $openWorkspace2__closures
7568
+ q: workspaces,
7569
+ r: status,
7570
+ s: settings,
7571
+ v: selectedId,
7572
+ w: openIds,
7573
+ z: creating,
7574
+ a0: setup,
7575
+ a1: showSetup,
7576
+ a3: error,
7577
+ a4: applyWorkspaces,
7578
+ a5: load,
7579
+ a6: patchStatusSessions,
7580
+ a8: statusMem.fresh,
7581
+ a9: statusMem.run,
7582
+ ab: loadStatus,
7583
+ ac: openWorkspace,
7584
+ ak: $error__closures,
7585
+ ae: $workspaces__closures,
7586
+ af: $status__closures,
7587
+ ag: $settings__closures,
7588
+ ah: $selectedId__closures,
7589
+ ai: $creating__closures,
7590
+ aj: $setup2__closures,
7591
+ al: $applyWorkspaces2__closures,
7592
+ am: $openWorkspace2__closures
7565
7593
  });
7566
7594
  _resume_branch($scope0_id);
7567
7595
  });
@@ -8894,7 +8922,8 @@ var Body = /* @__PURE__ */ object({
8894
8922
  "install",
8895
8923
  "update",
8896
8924
  "remove",
8897
- "auth"
8925
+ "auth",
8926
+ "logout"
8898
8927
  ]),
8899
8928
  version: /* @__PURE__ */ optional(/* @__PURE__ */ string())
8900
8929
  });
@@ -15019,4 +15048,4 @@ server.listen(port, () => {
15019
15048
  //#endregion
15020
15049
  export {};
15021
15050
 
15022
- ;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-I2jhJMJc.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-I2jhJMJc.css\"",">"],"defer":[2,"/assets/index-CMhO9RSz.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-CMhO9RSz.js\"","></script>"]}};
15051
+ ;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-DdvzAbHa.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-DdvzAbHa.css\"",">"],"defer":[2,"/assets/index-D9hzDezQ.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-D9hzDezQ.js\"","></script>"]}};