@dylanpiercey/work 0.0.129 → 0.0.131

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 (250) hide show
  1. package/dist/_B4-5M9y6.js +2 -0
  2. package/dist/{_BerH0QBf.js → _BBmEhpPH.js} +12 -6
  3. package/dist/_BTtOB0g5.js +2 -0
  4. package/dist/{_B30PhyQg.js → _CM_NBV_t.js} +2 -2
  5. package/dist/{_J7sexRRq.js → _DHOrTC33.js} +23 -23
  6. package/dist/_DaZ1KKTE.js +2 -0
  7. package/dist/{_ClRtSKMs.js → _Dud_1oT_.js} +4 -4
  8. package/dist/index.mjs +626 -394
  9. package/dist/public/assets/{_TjBJUuMd.js → _B-Oizufs.js} +1 -1
  10. package/dist/public/assets/_B-Oizufs.js.br +0 -0
  11. package/dist/public/assets/{_CSVsdz0e2.js → _B0ZasgU32.js} +1 -1
  12. package/dist/public/assets/_B0ZasgU32.js.br +0 -0
  13. package/dist/public/assets/{_Bqh8jXAu.js → _B1Deos8P.js} +1 -1
  14. package/dist/public/assets/_B1Deos8P.js.br +0 -0
  15. package/dist/public/assets/{_Bvv1d3oN.js → _B5k82Eqg.js} +1 -1
  16. package/dist/public/assets/_B5k82Eqg.js.br +0 -0
  17. package/dist/public/assets/{_BNxSZ6aK.js → _B83dkXl5.js} +1 -1
  18. package/dist/public/assets/_B83dkXl5.js.br +0 -0
  19. package/dist/public/assets/{_DuRUMaPn.js → _BBaYArXD.js} +1 -1
  20. package/dist/public/assets/_BBaYArXD.js.br +0 -0
  21. package/dist/public/assets/{_DwgoyKXR2.js → _BC765rQM2.js} +1 -1
  22. package/dist/public/assets/_BC765rQM2.js.br +0 -0
  23. package/dist/public/assets/{_CzOCWtg-.js → _BCeR8Wi3.js} +1 -1
  24. package/dist/public/assets/_BCeR8Wi3.js.br +0 -0
  25. package/dist/public/assets/{_esB_KJm-2.js → _BDxu9d8F2.js} +1 -1
  26. package/dist/public/assets/_BDxu9d8F2.js.br +0 -0
  27. package/dist/public/assets/{_CUo4ijVA.js → _BFgfz8vD.js} +1 -1
  28. package/dist/public/assets/_BFgfz8vD.js.br +0 -0
  29. package/dist/public/assets/{_B2se_pgz.js → _BGwE63V1.js} +1 -1
  30. package/dist/public/assets/_BGwE63V1.js.br +0 -0
  31. package/dist/public/assets/{_BM4Es6Tb.js → _BKXB5Gzk.js} +1 -1
  32. package/dist/public/assets/_BKXB5Gzk.js.br +0 -0
  33. package/dist/public/assets/{_D4LIQ6Lx.js → _BQVCotdS.js} +1 -1
  34. package/dist/public/assets/{_DBgwUGM42.js → _BY_N3inI2.js} +1 -1
  35. package/dist/public/assets/_BY_N3inI2.js.br +0 -0
  36. package/dist/public/assets/{_CeXRQ6n1.js → _BaTUny04.js} +4 -4
  37. package/dist/public/assets/_BaTUny04.js.br +0 -0
  38. package/dist/public/assets/{_Deslis1o.js → _BfbQ_TWq.js} +1 -1
  39. package/dist/public/assets/_BfbQ_TWq.js.br +0 -0
  40. package/dist/public/assets/{_BXp17g_k.js → _Bj2ehRpY.js} +1 -1
  41. package/dist/public/assets/_Bj2ehRpY.js.br +0 -0
  42. package/dist/public/assets/{_mOHl-qLw.js → _BlnhNia1.js} +1 -1
  43. package/dist/public/assets/_BlnhNia1.js.br +0 -0
  44. package/dist/public/assets/{_Uh-uh7hT2.js → _BpNyQVad2.js} +1 -1
  45. package/dist/public/assets/_BpNyQVad2.js.br +0 -0
  46. package/dist/public/assets/{_Di-EX1b7.js → _Bqq-t-3F.js} +1 -1
  47. package/dist/public/assets/_Bqq-t-3F.js.br +0 -0
  48. package/dist/public/assets/{_BTgDIi1K.js → _BrebqXsO.js} +1 -1
  49. package/dist/public/assets/_BrebqXsO.js.br +0 -0
  50. package/dist/public/assets/{_aBZuh8zn2.js → _BxqYnrLX2.js} +1 -1
  51. package/dist/public/assets/_BxqYnrLX2.js.br +0 -0
  52. package/dist/public/assets/{_DdKiKAPk.js → _C0kHUHUE.js} +1 -1
  53. package/dist/public/assets/_C0kHUHUE.js.br +0 -0
  54. package/dist/public/assets/{_i6BjIXhK2.js → _C5skylMz2.js} +1 -1
  55. package/dist/public/assets/_C5skylMz2.js.br +0 -0
  56. package/dist/public/assets/{_B1fFsQy22.js → _C8wBVJe52.js} +1 -1
  57. package/dist/public/assets/_C8wBVJe52.js.br +0 -0
  58. package/dist/public/assets/{_B65X4nQm.js → _CBhXgXaB.js} +1 -1
  59. package/dist/public/assets/_CBhXgXaB.js.br +0 -0
  60. package/dist/public/assets/{_CgW3fZUl.js → _CEPYzGrE.js} +1 -1
  61. package/dist/public/assets/_CEPYzGrE.js.br +0 -0
  62. package/dist/public/assets/{_BH2HC92Z2.js → _CKWwZeX42.js} +1 -1
  63. package/dist/public/assets/_CKWwZeX42.js.br +0 -0
  64. package/dist/public/assets/{_DA0-ySSI2.js → _CMuZnE8q2.js} +1 -1
  65. package/dist/public/assets/_CMuZnE8q2.js.br +0 -0
  66. package/dist/public/assets/{_ZZU6MAiV.js → _CNWvof5M.js} +1 -1
  67. package/dist/public/assets/_CNWvof5M.js.br +0 -0
  68. package/dist/public/assets/{_Bn_o5JCS.js → _CPa0T9jQ.js} +1 -1
  69. package/dist/public/assets/_CPa0T9jQ.js.br +0 -0
  70. package/dist/public/assets/{_IsYsu85_.js → _CPeunYNm.js} +1 -1
  71. package/dist/public/assets/_CPeunYNm.js.br +0 -0
  72. package/dist/public/assets/{_Qkrq4E4X.js → _CUNrZG7E.js} +1 -1
  73. package/dist/public/assets/_CUNrZG7E.js.br +0 -0
  74. package/dist/public/assets/{_DK_NIQ8y.js → _CY7HxX7t.js} +1 -1
  75. package/dist/public/assets/_CY7HxX7t.js.br +0 -0
  76. package/dist/public/assets/{_CO1qXE9g2.js → _CdVkF69T2.js} +1 -1
  77. package/dist/public/assets/_CdVkF69T2.js.br +0 -0
  78. package/dist/public/assets/{_CCcX7xr2.js → _Cf_vfReO.js} +1 -1
  79. package/dist/public/assets/_Cf_vfReO.js.br +0 -0
  80. package/dist/public/assets/{_B9eUrsj2.js → _CfzXkKIJ.js} +1 -1
  81. package/dist/public/assets/_CfzXkKIJ.js.br +0 -0
  82. package/dist/public/assets/{_DbGcfVbZ2.js → _ChZnW2uc2.js} +1 -1
  83. package/dist/public/assets/_ChZnW2uc2.js.br +0 -0
  84. package/dist/public/assets/{_Cq_YJDmy2.js → _ChaUCy6d2.js} +1 -1
  85. package/dist/public/assets/_ChaUCy6d2.js.br +0 -0
  86. package/dist/public/assets/{_DTQVG2Yr.js → _CkbTOTHW.js} +4 -4
  87. package/dist/public/assets/_CkbTOTHW.js.br +0 -0
  88. package/dist/public/assets/{_BX15bWY7.js → _Cs933QiO.js} +1 -1
  89. package/dist/public/assets/_Cs933QiO.js.br +0 -0
  90. package/dist/public/assets/{_C1nJm6lQ.js → _CtoPZi-N.js} +1 -1
  91. package/dist/public/assets/_CtoPZi-N.js.br +0 -0
  92. package/dist/public/assets/{_DHagfBBR.js → _CuGcfhCC.js} +1 -1
  93. package/dist/public/assets/_CuGcfhCC.js.br +0 -0
  94. package/dist/public/assets/{_DsUixNKe.js → _Cy2_E3w6.js} +1 -1
  95. package/dist/public/assets/_Cy2_E3w6.js.br +0 -0
  96. package/dist/public/assets/{_BqWyT01p.js → _D-iy4ole.js} +1 -1
  97. package/dist/public/assets/_D-iy4ole.js.br +0 -0
  98. package/dist/public/assets/{_DP53olnm.js → _D6BgSm8I.js} +1 -1
  99. package/dist/public/assets/_D6BgSm8I.js.br +0 -0
  100. package/dist/public/assets/{_BdoN1bos2.js → _DBaVtUGT2.js} +1 -1
  101. package/dist/public/assets/_DBaVtUGT2.js.br +0 -0
  102. package/dist/public/assets/{_Dg6ejz2B.js → _DEvSOF5x.js} +1 -1
  103. package/dist/public/assets/_DEvSOF5x.js.br +0 -0
  104. package/dist/public/assets/{_ubp3Lzd4.js → _DHC8N21y.js} +1 -1
  105. package/dist/public/assets/_DHC8N21y.js.br +0 -0
  106. package/dist/public/assets/{_99YJcMUn2.js → _DIkAaNEk2.js} +1 -1
  107. package/dist/public/assets/_DIkAaNEk2.js.br +0 -0
  108. package/dist/public/assets/{_D57xG7fN.js → _DRB_fuRD.js} +1 -1
  109. package/dist/public/assets/_DRB_fuRD.js.br +0 -0
  110. package/dist/public/assets/{_CdLAoE0b.js → _DVFhG-YJ.js} +1 -1
  111. package/dist/public/assets/_DVFhG-YJ.js.br +0 -0
  112. package/dist/public/assets/{_D7uZiIGw2.js → _DbxVD4e_2.js} +1 -1
  113. package/dist/public/assets/_DbxVD4e_2.js.br +0 -0
  114. package/dist/public/assets/{_CMx248mK2.js → _Dc6E32jT2.js} +1 -1
  115. package/dist/public/assets/_Dc6E32jT2.js.br +0 -0
  116. package/dist/public/assets/{_DXNiGMGD.js → _DjxG7Xv-.js} +1 -1
  117. package/dist/public/assets/_DjxG7Xv-.js.br +0 -0
  118. package/dist/public/assets/{_DBzQI7Fc.js → _Dpe-LofO.js} +1 -1
  119. package/dist/public/assets/_Dpe-LofO.js.br +0 -0
  120. package/dist/public/assets/{_Ci7xQD_V.js → _Dr-8kAWc.js} +1 -1
  121. package/dist/public/assets/_Dr-8kAWc.js.br +0 -0
  122. package/dist/public/assets/{_SUciI1Gv.js → _DxmvpKLA.js} +1 -1
  123. package/dist/public/assets/_DxmvpKLA.js.br +0 -0
  124. package/dist/public/assets/{_BW8ORKSv2.js → _DytyHjR62.js} +1 -1
  125. package/dist/public/assets/{_C-FQ0ys32.js → _EDLNNimN2.js} +1 -1
  126. package/dist/public/assets/_EDLNNimN2.js.br +0 -0
  127. package/dist/public/assets/{_bT_VJYie2.js → _NPAItg1V2.js} +1 -1
  128. package/dist/public/assets/{_C2c3QAjk2.js → _Q7Soic6i2.js} +1 -1
  129. package/dist/public/assets/_Q7Soic6i2.js.br +0 -0
  130. package/dist/public/assets/{_Db8KpOKn.js → _Wx9WSBP6.js} +1 -1
  131. package/dist/public/assets/_Wx9WSBP6.js.br +0 -0
  132. package/dist/public/assets/{_BoyAzBpG2.js → _XePkgVjc2.js} +1 -1
  133. package/dist/public/assets/_XePkgVjc2.js.br +0 -0
  134. package/dist/public/assets/{_DU_pZQOg.js → _ZjjLjHdi.js} +1 -1
  135. package/dist/public/assets/_ZjjLjHdi.js.br +0 -0
  136. package/dist/public/assets/{_qPGSB6gw.js → __yNvUrYV.js} +1 -1
  137. package/dist/public/assets/__yNvUrYV.js.br +0 -0
  138. package/dist/public/assets/{_BcggQ3YH.js → _agr_6Gvl.js} +1 -1
  139. package/dist/public/assets/_agr_6Gvl.js.br +0 -0
  140. package/dist/public/assets/{_52zEfCjO2.js → _cqU8LAdj2.js} +1 -1
  141. package/dist/public/assets/_cqU8LAdj2.js.br +0 -0
  142. package/dist/public/assets/{_3wLlkED9.js → _hYS1-tDW.js} +1 -1
  143. package/dist/public/assets/_hYS1-tDW.js.br +0 -0
  144. package/dist/public/assets/{_U6OVDCJb.js → _o7Lw3qkT.js} +1 -1
  145. package/dist/public/assets/_o7Lw3qkT.js.br +0 -0
  146. package/dist/public/assets/{_BqkcNNjo.js → _r9PmPtgk.js} +1 -1
  147. package/dist/public/assets/_r9PmPtgk.js.br +0 -0
  148. package/dist/public/assets/{_6aRnPVav.js → _tNYCBUYs.js} +1 -1
  149. package/dist/public/assets/_tNYCBUYs.js.br +0 -0
  150. package/dist/public/assets/{_Bb-Pv5bu.js → _v2WM4fMR.js} +1 -1
  151. package/dist/public/assets/_v2WM4fMR.js.br +0 -0
  152. package/dist/public/assets/{_CkKsdaoM.js → _vwUOt5l-.js} +1 -1
  153. package/dist/public/assets/_vwUOt5l-.js.br +0 -0
  154. package/dist/public/assets/{_Dlf-M1S1.js → _w9_qPUR0.js} +1 -1
  155. package/dist/public/assets/_w9_qPUR0.js.br +0 -0
  156. package/dist/public/assets/{_BlhUhOHU2.js → _wzycPEPJ2.js} +1 -1
  157. package/dist/public/assets/_wzycPEPJ2.js.br +0 -0
  158. package/dist/public/assets/{app-page-BKTdqk6I.css → app-page-BkCzG8oJ.css} +1 -1
  159. package/dist/public/assets/app-page-BkCzG8oJ.css.br +0 -0
  160. package/dist/public/assets/{diff-view-Cz4Tj-Xi.css → diff-view-jTr6RE0J.css} +1 -1
  161. package/dist/public/assets/diff-view-jTr6RE0J.css.br +0 -0
  162. package/dist/public/assets/new-AHbbDzFl.js +1 -0
  163. package/dist/public/assets/settings-AHbbDzFl.js +1 -0
  164. package/dist/public/assets/w-AHbbDzFl.js +1 -0
  165. package/dist/public/assets/w._-AHbbDzFl.js +1 -0
  166. package/dist/public/assets/w._-DQf8RfTY.js +1 -0
  167. package/package.json +1 -1
  168. package/dist/_Bhd3BMas.js +0 -2
  169. package/dist/_DLULQXOg.js +0 -2
  170. package/dist/_PwfoxOUv.js +0 -2
  171. package/dist/public/assets/_3wLlkED9.js.br +0 -0
  172. package/dist/public/assets/_52zEfCjO2.js.br +0 -0
  173. package/dist/public/assets/_6aRnPVav.js.br +0 -0
  174. package/dist/public/assets/_99YJcMUn2.js.br +0 -0
  175. package/dist/public/assets/_B1fFsQy22.js.br +0 -0
  176. package/dist/public/assets/_B2se_pgz.js.br +0 -0
  177. package/dist/public/assets/_B65X4nQm.js.br +0 -0
  178. package/dist/public/assets/_B9eUrsj2.js.br +0 -0
  179. package/dist/public/assets/_BH2HC92Z2.js.br +0 -0
  180. package/dist/public/assets/_BM4Es6Tb.js.br +0 -0
  181. package/dist/public/assets/_BNxSZ6aK.js.br +0 -0
  182. package/dist/public/assets/_BTgDIi1K.js.br +0 -0
  183. package/dist/public/assets/_BX15bWY7.js.br +0 -0
  184. package/dist/public/assets/_BXp17g_k.js.br +0 -0
  185. package/dist/public/assets/_Bb-Pv5bu.js.br +0 -0
  186. package/dist/public/assets/_BcggQ3YH.js.br +0 -0
  187. package/dist/public/assets/_BdoN1bos2.js.br +0 -0
  188. package/dist/public/assets/_BlhUhOHU2.js.br +0 -0
  189. package/dist/public/assets/_Bn_o5JCS.js.br +0 -0
  190. package/dist/public/assets/_BoyAzBpG2.js.br +0 -0
  191. package/dist/public/assets/_BqWyT01p.js.br +0 -0
  192. package/dist/public/assets/_Bqh8jXAu.js.br +0 -0
  193. package/dist/public/assets/_BqkcNNjo.js.br +0 -0
  194. package/dist/public/assets/_Bvv1d3oN.js.br +0 -0
  195. package/dist/public/assets/_C-FQ0ys32.js.br +0 -0
  196. package/dist/public/assets/_C1nJm6lQ.js.br +0 -0
  197. package/dist/public/assets/_C2c3QAjk2.js.br +0 -0
  198. package/dist/public/assets/_CCcX7xr2.js.br +0 -0
  199. package/dist/public/assets/_CMx248mK2.js.br +0 -0
  200. package/dist/public/assets/_CO1qXE9g2.js.br +0 -0
  201. package/dist/public/assets/_CSVsdz0e2.js.br +0 -0
  202. package/dist/public/assets/_CUo4ijVA.js.br +0 -0
  203. package/dist/public/assets/_CdLAoE0b.js.br +0 -0
  204. package/dist/public/assets/_CeXRQ6n1.js.br +0 -0
  205. package/dist/public/assets/_CgW3fZUl.js.br +0 -0
  206. package/dist/public/assets/_Ci7xQD_V.js.br +0 -0
  207. package/dist/public/assets/_CkKsdaoM.js.br +0 -0
  208. package/dist/public/assets/_Cq_YJDmy2.js.br +0 -0
  209. package/dist/public/assets/_CzOCWtg-.js.br +0 -0
  210. package/dist/public/assets/_D57xG7fN.js.br +0 -0
  211. package/dist/public/assets/_D7uZiIGw2.js.br +0 -0
  212. package/dist/public/assets/_DA0-ySSI2.js.br +0 -0
  213. package/dist/public/assets/_DBgwUGM42.js.br +0 -0
  214. package/dist/public/assets/_DBzQI7Fc.js.br +0 -0
  215. package/dist/public/assets/_DHagfBBR.js.br +0 -0
  216. package/dist/public/assets/_DK_NIQ8y.js.br +0 -0
  217. package/dist/public/assets/_DP53olnm.js.br +0 -0
  218. package/dist/public/assets/_DTQVG2Yr.js.br +0 -0
  219. package/dist/public/assets/_DU_pZQOg.js.br +0 -0
  220. package/dist/public/assets/_DXNiGMGD.js.br +0 -0
  221. package/dist/public/assets/_Db8KpOKn.js.br +0 -0
  222. package/dist/public/assets/_DbGcfVbZ2.js.br +0 -0
  223. package/dist/public/assets/_DdKiKAPk.js.br +0 -0
  224. package/dist/public/assets/_Deslis1o.js.br +0 -0
  225. package/dist/public/assets/_Dg6ejz2B.js.br +0 -0
  226. package/dist/public/assets/_Di-EX1b7.js.br +0 -0
  227. package/dist/public/assets/_Dlf-M1S1.js.br +0 -0
  228. package/dist/public/assets/_DsUixNKe.js.br +0 -0
  229. package/dist/public/assets/_DuRUMaPn.js.br +0 -0
  230. package/dist/public/assets/_DwgoyKXR2.js.br +0 -0
  231. package/dist/public/assets/_IsYsu85_.js.br +0 -0
  232. package/dist/public/assets/_Qkrq4E4X.js.br +0 -0
  233. package/dist/public/assets/_SUciI1Gv.js.br +0 -0
  234. package/dist/public/assets/_TjBJUuMd.js.br +0 -0
  235. package/dist/public/assets/_U6OVDCJb.js.br +0 -0
  236. package/dist/public/assets/_Uh-uh7hT2.js.br +0 -0
  237. package/dist/public/assets/_ZZU6MAiV.js.br +0 -0
  238. package/dist/public/assets/_aBZuh8zn2.js.br +0 -0
  239. package/dist/public/assets/_esB_KJm-2.js.br +0 -0
  240. package/dist/public/assets/_i6BjIXhK2.js.br +0 -0
  241. package/dist/public/assets/_mOHl-qLw.js.br +0 -0
  242. package/dist/public/assets/_qPGSB6gw.js.br +0 -0
  243. package/dist/public/assets/_ubp3Lzd4.js.br +0 -0
  244. package/dist/public/assets/app-page-BKTdqk6I.css.br +0 -0
  245. package/dist/public/assets/diff-view-Cz4Tj-Xi.css.br +0 -0
  246. package/dist/public/assets/new-CMRMU1vs.js +0 -1
  247. package/dist/public/assets/settings-CMRMU1vs.js +0 -1
  248. package/dist/public/assets/w-CMRMU1vs.js +0 -1
  249. package/dist/public/assets/w._-CMEpH_9a.js +0 -1
  250. package/dist/public/assets/w._-CMRMU1vs.js +0 -1
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
2
- import { $ as setSetting, A as setScrapedPhase, B as saveSubscription, C as agentBadge, D as agentMeta, E as agentLabel, F as manifest, G as agentChoices, H as subscribe, I as normalizeAccent, J as enabledAgents, K as allPrefs, L as setInstance, M as ACCENT_RE, N as getInstance, O as clearAgentPhase, P as iconSvg, Q as setPref, R as deleteSubscription, S as blankRow, T as agentFromCommand, V as publish, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as git, a as ensureTmuxServer, at as which, b as readHookPayload, bt as config, ct as agentById, d as newSessionArgs, dt as all, et as discoverAgents, ft as db, g as sessionStates, h as sendToSession, ht as TMUX_SOCKET, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as agentLabel$1, m as renameSession, mt as workspacePath, n as clearTmuxStarted, o as getSession, pt as get, q as disabledAgents, r as createSession, rt as miseVersions, s as killSession, st as TOOLS, t as cleanEnv, tt as doctor, u as markTmuxStarted, ut as toolById, v as tmuxWasStarted, w as agentFamily, x as reportsWorking, y as AGENTS, yt as tmux, z as pushPublicKey } from "./_BerH0QBf.js";
3
- import { B as withLock, C as revParse, D as ensureAllPushHooks, E as workspaceBranches, F as repoBranches, G as ensureGitCredentials, H as addHost, I as repoCatalog, K as forgetToken, L as repoDefaultBranch, M as headOid, N as remoteHasHeads, O as hookToken, P as pendingSsoOrgs, Q as ownsBranch, S as resumePendingWorkspaces, T as withProgressOp, U as cloneUrl, V as DEFAULT_HOST, W as configuredHosts, X as removeHost, Z as splitRepo, _ as progress$1, b as queueMaterialize, c as setAutoPush, d as createWorkspace, f as deleteWorkspace, g as otherWorkspaceBranches, h as listWorkspaces, i as noteRemoteRef, j as workspaceProcs, k as killWorkspaceProc, l as addRepo$1, m as insertPendingWorkspace, p as getWorkspace, r as noteLocalRefs, s as pushWorkspaceRepo, t as autoPushEnabled, u as barePath, v as progressSince, w as setWorkspaceStatus, x as removeRepo, y as pruneLaneBranch, z as swr } from "./_ClRtSKMs.js";
4
- import { a as statusForAllFresh, c as refreshPrsBatch, i as statusForAll, l as workspacePrs, n as pokeStatusWatch, o as dismissPr, r as startStatusWatch, s as notePushActivity, t as activeRepoTargets } from "./_B30PhyQg.js";
2
+ import { $ as setSetting, A as setScrapedPhase, B as saveSubscription, C as agentBadge, D as agentMeta, E as agentLabel, F as manifest, G as agentChoices, H as subscribe, I as normalizeAccent, J as enabledAgents, K as allPrefs, L as setInstance, M as ACCENT_RE, N as getInstance, O as clearAgentPhase, P as iconSvg, Q as setPref, R as deleteSubscription, S as blankRow, T as agentFromCommand, V as publish, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as git, a as ensureTmuxServer, at as which, b as readHookPayload, bt as config, ct as agentById, d as newSessionArgs, dt as all, et as discoverAgents, ft as db, g as sessionStates, h as sendToSession, ht as TMUX_SOCKET, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as agentLabel$1, m as renameSession, mt as workspacePath, n as clearTmuxStarted, o as getSession, pt as get, q as disabledAgents, r as createSession, rt as miseVersions, s as killSession, st as TOOLS, t as cleanEnv, tt as doctor, u as markTmuxStarted, ut as toolById, v as tmuxWasStarted, w as agentFamily, x as reportsWorking, y as AGENTS, yt as tmux, z as pushPublicKey } from "./_BBmEhpPH.js";
3
+ import { B as withLock, C as revParse, D as ensureAllPushHooks, E as workspaceBranches, F as repoBranches, G as ensureGitCredentials, H as addHost, I as repoCatalog, K as forgetToken, L as repoDefaultBranch, M as headOid, N as remoteHasHeads, O as hookToken, P as pendingSsoOrgs, Q as ownsBranch, S as resumePendingWorkspaces, T as withProgressOp, U as cloneUrl, V as DEFAULT_HOST, W as configuredHosts, X as removeHost, Z as splitRepo, _ as progress$1, b as queueMaterialize, c as setAutoPush, d as createWorkspace, f as deleteWorkspace, g as otherWorkspaceBranches, h as listWorkspaces, i as noteRemoteRef, j as workspaceProcs, k as killWorkspaceProc, l as addRepo$1, m as insertPendingWorkspace, p as getWorkspace, r as noteLocalRefs, s as pushWorkspaceRepo, t as autoPushEnabled, u as barePath, v as progressSince, w as setWorkspaceStatus, x as removeRepo, y as pruneLaneBranch, z as swr } from "./_Dud_1oT_.js";
4
+ import { a as statusForAllFresh, c as refreshPrsBatch, i as statusForAll, l as workspacePrs, n as pokeStatusWatch, o as dismissPr, r as startStatusWatch, s as notePushActivity, t as activeRepoTargets } from "./_CM_NBV_t.js";
5
5
  import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./_10g8qIc8.js";
6
6
  import fs from "node:fs";
7
7
  import { createServer } from "node:http";
@@ -1003,7 +1003,7 @@ function catchFn(reject) {
1003
1003
  function finallyFn(resolve) {
1004
1004
  return (this[kPromise] || (this[kPromise] = this[kReadFn]())).finally(resolve);
1005
1005
  }
1006
- var encode = encodeURIComponent;
1006
+ var encode$1 = encodeURIComponent;
1007
1007
  var pathParts = /* @__PURE__ */ new Map();
1008
1008
  function parsePathParts(path) {
1009
1009
  let parts = pathParts.get(path);
@@ -1034,7 +1034,7 @@ function href_path(strings, ...params) {
1034
1034
  if (!result || Array.isArray(result)) result = strings[i++];
1035
1035
  while (i < strings.length) {
1036
1036
  const param = params[j++];
1037
- result += (Array.isArray(param) ? param.map(encode).join("/") : encode(param)) + strings[i++];
1037
+ result += (Array.isArray(param) ? param.map(encode$1).join("/") : encode$1(param)) + strings[i++];
1038
1038
  }
1039
1039
  return result;
1040
1040
  }
@@ -1049,11 +1049,11 @@ function joinHref(path, { search, hash }) {
1049
1049
  for (const key in search) {
1050
1050
  const value = search[key];
1051
1051
  if (value !== void 0) {
1052
- path += `${sep}${encode(key)}=${encode(value)}`;
1052
+ path += `${sep}${encode$1(key)}=${encode$1(value)}`;
1053
1053
  sep = "&";
1054
1054
  }
1055
1055
  }
1056
- return hash || hash === 0 ? `${path}#${encode(hash)}` : path;
1056
+ return hash || hash === 0 ? `${path}#${encode$1(hash)}` : path;
1057
1057
  }
1058
1058
  new Set(httpVerbs.map((v) => v.toUpperCase()));
1059
1059
  var NotHandled = /* @__PURE__ */ Symbol.for("Run.Response.NotHandled");
@@ -1822,7 +1822,7 @@ async function runSetupAction(id, action, opts = {}) {
1822
1822
  }
1823
1823
  //#endregion
1824
1824
  //#region __marko-run__index.js
1825
- var getHandler$25 = normalizeHandler(Run.GET(async (ctx) => {
1825
+ var getHandler$26 = normalizeHandler(Run.GET(async (ctx) => {
1826
1826
  const active = listWorkspaces().filter((ws) => ws.status === "active");
1827
1827
  const linked = ctx.url.searchParams.get("ws");
1828
1828
  if (linked && active.some((ws) => ws.id === linked)) {
@@ -1839,10 +1839,10 @@ var getHandler$25 = normalizeHandler(Run.GET(async (ctx) => {
1839
1839
  }
1840
1840
  return ctx.redirect("/new", 302);
1841
1841
  }), "GET");
1842
- var get1_options = normalizeOptions("GET", getHandler$25);
1842
+ var get1_options = normalizeOptions("GET", getHandler$26);
1843
1843
  var head1_options = {};
1844
1844
  function get1(context) {
1845
- return call(getHandler$25, noContent, context);
1845
+ return call(getHandler$26, noContent, context);
1846
1846
  }
1847
1847
  function head1(context) {
1848
1848
  return stripResponseBody(get1(context));
@@ -1979,7 +1979,7 @@ var _middleware_default = Run.ALL((ctx, next) => {
1979
1979
  var mware3 = normalizeHandler(_middleware_default$3);
1980
1980
  var mware7 = normalizeHandler(_middleware_default$2);
1981
1981
  var mware11 = normalizeHandler(_middleware_default$1);
1982
- var mware43 = normalizeHandler(_middleware_default);
1982
+ var mware44 = normalizeHandler(_middleware_default);
1983
1983
  //#endregion
1984
1984
  //#region \0marko-link-assets.mjs
1985
1985
  var base = "/";
@@ -2030,7 +2030,9 @@ var _layout_default = _template("a", (input) => {
2030
2030
  const accent = inst?.accent || "";
2031
2031
  const themePref = data?.prefs?.theme;
2032
2032
  const theme = themePref === "light" || themePref === "dark" ? themePref : "system";
2033
- const iconHref = `/api/instance/icon${accent ? `?v=${accent.slice(1)}` : ""}`;
2033
+ const tint = accent.slice(1);
2034
+ const iconHref = `/api/instance/icon${tint && `?v=${tint}`}`;
2035
+ const touchIconHref = `/api/instance/icon-png?art=apple${tint && `&v=${tint}`}`;
2034
2036
  _html(`<!doctype html><html lang=en${theme === "system" ? "" : _attr("data-theme", theme)}${accent ? _attr_style(`--accent:${accent}`) : ""}><head><meta charset=utf-8><meta name=viewport content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content">`);
2035
2037
  if (theme === "light") {
2036
2038
  _scope_id();
@@ -2042,8 +2044,8 @@ var _layout_default = _template("a", (input) => {
2042
2044
  _scope_id();
2043
2045
  _html(`<meta name=theme-color media="(prefers-color-scheme: light)"${_attr_or("content", accent, " content=#fafafa")}><meta name=theme-color media="(prefers-color-scheme: dark)"${_attr_or("content", accent, " content=#131316")}>`);
2044
2046
  }
2045
- _html(`<link rel=manifest href=/api/instance/manifest crossorigin=use-credentials><link rel=icon${_attr("href", iconHref)} type=image/svg+xml><link rel=apple-touch-icon href=/apple-touch-icon.png><meta name=apple-mobile-web-app-title${_attr("content", name)}><title>${_escape(name)}</title>${_flush_head()}</head><body>`);
2046
- _dynamic_tag($scope0_id, "f", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 0));
2047
+ _html(`<link rel=manifest href=/api/instance/manifest crossorigin=use-credentials><link rel=icon${_attr("href", iconHref)} type=image/svg+xml><link rel=apple-touch-icon${_attr("href", touchIconHref)}><meta name=apple-mobile-web-app-title${_attr("content", name)}><title>${_escape(name)}</title>${_flush_head()}</head><body>`);
2048
+ _dynamic_tag($scope0_id, "g", input.content, {}, 0, 0, _serialize_guard($scope0_reason, 0));
2047
2049
  _trailers("</body></html>");
2048
2050
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, {});
2049
2051
  }, 1);
@@ -2436,7 +2438,7 @@ var icon_agent_default = _template("I", (input) => {
2436
2438
  n: $badge__closures
2437
2439
  });
2438
2440
  });
2439
- var usageNote = "_fH _R";
2441
+ var usageNote = "_fv _R";
2440
2442
  //#endregion
2441
2443
  //#region src/tags/icons/icon-warning.marko
2442
2444
  var icon_warning_default = _template("mb", (input) => {
@@ -2466,11 +2468,11 @@ var usage_meters_default = _template("F", (input) => {
2466
2468
  const $scope0_reason = _scope_reason(), $sg__input_agent__OR__input_hideName = _serialize_guard($scope0_reason, 0), $sg__input_agent = _serialize_guard($scope0_reason, 1), $si__input_agent = _serialize_if($scope0_reason, 1), $sg__input_hideName = _serialize_guard($scope0_reason, 2), $si__input_agent__OR__input_hideName = _serialize_if($scope0_reason, 0);
2467
2469
  const $scope0_id = _scope_id();
2468
2470
  const agent = input.agent;
2469
- _html(`<div${_attr_class(["_fB", { ["_fC"]: input.hideName }])}><div${_attr_class("_fD")}>`);
2471
+ _html(`<div${_attr_class(["_fp", { ["_fq"]: input.hideName }])}><div${_attr_class("_fr")}>`);
2470
2472
  _if(() => {
2471
2473
  if (!input.hideName) {
2472
2474
  const $scope1_id = _scope_id();
2473
- _html(`<strong${_attr_class("_fW")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
2475
+ _html(`<strong${_attr_class("_fK")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
2474
2476
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
2475
2477
  return 0;
2476
2478
  }
@@ -2478,7 +2480,7 @@ var usage_meters_default = _template("F", (input) => {
2478
2480
  _if(() => {
2479
2481
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
2480
2482
  const $scope2_id = _scope_id();
2481
- _html(`<span${_attr_class("_fE")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
2483
+ _html(`<span${_attr_class("_fs")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
2482
2484
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
2483
2485
  return 0;
2484
2486
  }
@@ -2486,21 +2488,21 @@ var usage_meters_default = _template("F", (input) => {
2486
2488
  _if(() => {
2487
2489
  if (agent.stale_seconds != null) {
2488
2490
  const $scope3_id = _scope_id();
2489
- _html(`<span${_attr_class("_fF")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
2491
+ _html(`<span${_attr_class("_ft")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
2490
2492
  icon_warning_default({ size: 12 });
2491
2493
  _html(` ${_sep($sg__input_agent)}${_escape(duration(agent.stale_seconds * 1e3))}${_el_resume($scope3_id, "c", $sg__input_agent)} old</span>${_el_resume($scope3_id, "a", $sg__input_agent)}`);
2492
2494
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
2493
2495
  return 0;
2494
2496
  }
2495
2497
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
2496
- _html(`</div><div${_attr_class(["_fG", { ["_fX"]: agent.stale_seconds != null }])}>`);
2498
+ _html(`</div><div${_attr_class(["_fu", { ["_fL"]: agent.stale_seconds != null }])}>`);
2497
2499
  _for_of(agent.windows || [], (win) => {
2498
2500
  const $scope4_id = _scope_id();
2499
2501
  const pct = pctText(win.used_percent);
2500
2502
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
2501
- const fillClass = win.used_percent >= 90 ? "_fP" : win.used_percent >= 70 ? "_fO" : win.used_percent >= 40 ? "_fN" : "_fM";
2502
- const pctClass = win.used_percent >= 90 ? "_fU" : win.used_percent >= 70 ? "_fT" : win.used_percent >= 40 ? "_fS" : "_fR";
2503
- _html(`<div${_attr_class("_fI")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_fJ")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_fK")}><span${_attr_class(["_fL", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_fQ", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fV")}>`);
2503
+ const fillClass = win.used_percent >= 90 ? "_fD" : win.used_percent >= 70 ? "_fC" : win.used_percent >= 40 ? "_fB" : "_fA";
2504
+ const pctClass = win.used_percent >= 90 ? "_fI" : win.used_percent >= 70 ? "_fH" : win.used_percent >= 40 ? "_fG" : "_fF";
2505
+ _html(`<div${_attr_class("_fw")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_fx")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_fy")}><span${_attr_class(["_fz", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_fE", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fJ")}>`);
2504
2506
  _if(() => {
2505
2507
  if (label) {
2506
2508
  const $scope6_id = _scope_id();
@@ -2532,7 +2534,7 @@ var usage_meters_default = _template("F", (input) => {
2532
2534
  q: $si__input_agent && agent?.note
2533
2535
  });
2534
2536
  });
2535
- var orgSkip = "_fs _1 _j";
2537
+ var orgSkip = "_fP _1 _j";
2536
2538
  //#endregion
2537
2539
  //#region src/tags/sso-auth.marko
2538
2540
  var api$7;
@@ -2579,14 +2581,14 @@ var sso_auth_default = _template("B", (input) => {
2579
2581
  localCode = null;
2580
2582
  }
2581
2583
  }, "B0", $scope0_id);
2582
- _html(`<div${_attr_class("_fp")}>`);
2584
+ _html(`<div${_attr_class("_fM")}>`);
2583
2585
  _if(() => {
2584
2586
  if (input.items.length) {
2585
2587
  const $scope1_id = _scope_id();
2586
- _html(`<p${_attr_class("_fA")}>GitHub CLI needs org SSO for ${_sep($sg__input_items)}${_escape(input.items.map((s) => s.org).join(", "))}${_el_resume($scope1_id, "b", $sg__input_items)}.</p><ul${_attr_class("_fq")}>`);
2588
+ _html(`<p${_attr_class("_fX")}>GitHub CLI needs org SSO for ${_sep($sg__input_items)}${_escape(input.items.map((s) => s.org).join(", "))}${_el_resume($scope1_id, "b", $sg__input_items)}.</p><ul${_attr_class("_fN")}>`);
2587
2589
  _for_of(input.items, (s) => {
2588
2590
  const $scope2_id = _scope_id();
2589
- _html(`<li${_attr_class("_fr")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class(orgSkip)}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
2591
+ _html(`<li${_attr_class("_fO")}>${_escape(s.org)}${_el_resume($scope2_id, "b", $sg__input_items)}<button type=button${_attr_class(orgSkip)}${_attr("title", `Skip ${s.org}`)}${_attr("aria-label", `Skip ${s.org}`)}${_attr("disabled", busy)}>`);
2590
2592
  icon_xmark_default({ size: 11 });
2591
2593
  _html(`</button>${_el_resume($scope2_id, "c")}</li>`);
2592
2594
  _script($scope2_id, "B1");
@@ -2595,17 +2597,17 @@ var sso_auth_default = _template("B", (input) => {
2595
2597
  _: _scope_with_id($scope1_id)
2596
2598
  }));
2597
2599
  }, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
2598
- _html(`<div${_attr_class("_ft")}>`);
2600
+ _html(`<div${_attr_class("_fQ")}>`);
2599
2601
  _if(() => {
2600
2602
  if (localBusy && localCode) {
2601
2603
  const $scope5_id = _scope_id();
2602
- _html(`<span${_attr_class("_fu")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_fv")}>${_escape(localCode)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_fw")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
2604
+ _html(`<span${_attr_class("_fR")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_fS")}>${_escape(localCode)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_fT")}>${_escape(host)}${_el_resume($scope5_id, "f", _serialize_guard($scope0_reason, 3))}/login/device</a>${_el_resume($scope5_id, "e")}</span>`);
2603
2605
  _script($scope5_id, "B2");
2604
2606
  _subscribe($localCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
2605
2607
  return 0;
2606
2608
  } else if (localBusy) {
2607
2609
  const $scope8_id = _scope_id();
2608
- _html(`<span${_attr_class("_fu")}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</span>`);
2610
+ _html(`<span${_attr_class("_fR")}><span${_attr_class("_E")}></span>Starting GitHub re-authorization…</span>`);
2609
2611
  writeScope($scope8_id, {});
2610
2612
  return 1;
2611
2613
  } else if (!busy) {
@@ -2619,7 +2621,7 @@ var sso_auth_default = _template("B", (input) => {
2619
2621
  _if(() => {
2620
2622
  if (localError) {
2621
2623
  const $scope6_id = _scope_id();
2622
- _html(`<p${_attr_class("_fA")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
2624
+ _html(`<p${_attr_class("_fX")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
2623
2625
  _subscribe($localError__closures, writeScope($scope6_id, {}));
2624
2626
  return 0;
2625
2627
  }
@@ -2631,10 +2633,10 @@ var sso_auth_default = _template("B", (input) => {
2631
2633
  _if(() => {
2632
2634
  if (skipped$1.length) {
2633
2635
  const $scope3_id = _scope_id();
2634
- _html(`<p${_attr_class("_fx")}>Skipped SSO for `);
2636
+ _html(`<p${_attr_class("_fU")}>Skipped SSO for `);
2635
2637
  _for_of(skipped$1, (s) => {
2636
2638
  const $scope4_id = _scope_id();
2637
- _html(`<span${_attr_class("_fy")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_fz")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
2639
+ _html(`<span${_attr_class("_fV")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_fW")}${_attr("title", `Show ${s.org} again`)}>(undo)</button>${_el_resume($scope4_id, "c")}</span>`);
2638
2640
  _script($scope4_id, "B4");
2639
2641
  writeScope($scope4_id, {
2640
2642
  f: s?.org,
@@ -4744,7 +4746,7 @@ var icon_branch_default = _template("Q", (input) => {
4744
4746
  });
4745
4747
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
4746
4748
  });
4747
- var resultBranch = "_dD _Y _j";
4749
+ var resultBranch = "_dq _Y _j";
4748
4750
  //#endregion
4749
4751
  //#region src/tags/branch-pick.marko
4750
4752
  var branch_pick_default = _template("d", (input) => {
@@ -4757,7 +4759,7 @@ var branch_pick_default = _template("d", (input) => {
4757
4759
  let branchFilter = "";
4758
4760
  let reloadTick = 0;
4759
4761
  let refreshing = false;
4760
- _html(`<div${_attr_class("_dF")}>`);
4762
+ _html(`<div${_attr_class("_ds")}>`);
4761
4763
  _if(() => {
4762
4764
  {
4763
4765
  const $scope4_id = _scope_id();
@@ -4839,11 +4841,11 @@ var repo_picker_default = _template("v", (input) => {
4839
4841
  const ignored = new Set(prefs$1?.ignoredSsoOrgs?.() ?? []);
4840
4842
  return (catalog?.sso || []).filter((s) => !ignored.has(s.org));
4841
4843
  })();
4842
- _html(`<div${_attr_class("_dw")}>`);
4844
+ _html(`<div${_attr_class("_dj")}>`);
4843
4845
  _if(() => {
4844
4846
  if (ssoPending.length) {
4845
4847
  const $scope7_id = _scope_id();
4846
- _html(`<div${_attr_class("_dx")}>`);
4848
+ _html(`<div${_attr_class("_dk")}>`);
4847
4849
  _set_serialize_reason(58);
4848
4850
  const $childScope = _peek_scope_id();
4849
4851
  sso_auth_default({
@@ -4873,16 +4875,16 @@ var repo_picker_default = _template("v", (input) => {
4873
4875
  _if(() => {
4874
4876
  if (pasted) {
4875
4877
  const $scope1_id = _scope_id();
4876
- _html(`<ul${_attr_class("_dy")}><li><div${_attr_class(["_dA", "_dz"])}><button${_attr_class("_dB")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
4878
+ _html(`<ul${_attr_class("_dl")}><li><div${_attr_class(["_dn", "_dm"])}><button${_attr_class("_do")}${pasteWillFork ? _attr("title", `Fork ${pasted} to your account and add the fork`) : _attr("title", `Add ${pasted} as-is (pushes go to that repo)`)}>`);
4877
4879
  icon_plus_default({
4878
4880
  size: 12,
4879
- class: "_dH"
4881
+ class: "_du"
4880
4882
  });
4881
- _html(`<span${_attr_class("_dI")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
4883
+ _html(`<span${_attr_class("_dv")}>${_escape(repoLabel(pasted))}${_el_resume($scope1_id, "f")}</span></button>${_el_resume($scope1_id, "c")}`);
4882
4884
  _if(() => {
4883
4885
  if (pastedForkable) {
4884
4886
  const $scope8_id = _scope_id();
4885
- _html(`<button${_attr_class(["_dE", { ["_dC"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
4887
+ _html(`<button${_attr_class(["_dr", { ["_dp"]: pasteWillFork }])}${pasteWillFork ? " title=\"Will fork to your account; click to clone as-is instead\"" : _attr("title", `Fork ${pasted} to your account and clone the fork`)} aria-pressed=${pasteWillFork ? "true" : "false"}>`);
4886
4888
  _if(() => {
4887
4889
  if (pasteWillFork) {
4888
4890
  const $scope10_id = _scope_id();
@@ -4902,7 +4904,7 @@ var repo_picker_default = _template("v", (input) => {
4902
4904
  return 0;
4903
4905
  }
4904
4906
  }, $scope1_id, "g", 1, 1, 1, 0, 1);
4905
- _html(`<button${_attr_class([resultBranch, { ["_dC"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
4907
+ _html(`<button${_attr_class([resultBranch, { ["_dp"]: branchesFor === pasted }])}${_attr("title", `Pick a base branch for ${pasted}`)}${_attr("aria-label", `Pick a base branch for ${pasted}`)}>`);
4906
4908
  icon_branch_default({ size: 12 });
4907
4909
  _html(`</button>${_el_resume($scope1_id, "h")}</div>`);
4908
4910
  _if(() => {
@@ -4937,15 +4939,15 @@ var repo_picker_default = _template("v", (input) => {
4937
4939
  _if(() => {
4938
4940
  if (results.length) {
4939
4941
  const $scope3_id = _scope_id();
4940
- _html(`<ul${_attr_class("_dy")}>`);
4942
+ _html(`<ul${_attr_class("_dl")}>`);
4941
4943
  _for_of(results, (repo, i) => {
4942
4944
  const $scope4_id = _scope_id();
4943
- _html(`<li><div${_attr_class(["_dA", { ["_dz"]: i === highlight }])}><button${_attr_class("_dB")}>`);
4945
+ _html(`<li><div${_attr_class(["_dn", { ["_dm"]: i === highlight }])}><button${_attr_class("_do")}>`);
4944
4946
  icon_plus_default({
4945
4947
  size: 12,
4946
- class: "_dH"
4948
+ class: "_du"
4947
4949
  });
4948
- _html(`<span${_attr_class("_dI")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_dC"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
4950
+ _html(`<span${_attr_class("_dv")}>${_escape(repoLabel(repo.nameWithOwner))}${_el_resume($scope4_id, "e")}</span></button>${_el_resume($scope4_id, "b")}<button${_attr_class([resultBranch, { ["_dp"]: branchesFor === repo.nameWithOwner }])}${_attr("title", `Pick a base branch for ${repo.nameWithOwner}`)}${_attr("aria-label", `Pick a base branch for ${repo.nameWithOwner}`)}>`);
4949
4951
  icon_branch_default({ size: 12 });
4950
4952
  _html(`</button>${_el_resume($scope4_id, "f")}</div>${_el_resume($scope4_id, "a")}`);
4951
4953
  _if(() => {
@@ -5132,7 +5134,7 @@ function parseInvite(text) {
5132
5134
  repos
5133
5135
  };
5134
5136
  }
5135
- var hint = "_dl _R";
5137
+ var hint = "_dC _R";
5136
5138
  //#endregion
5137
5139
  //#region src/tags/join-dialog.marko
5138
5140
  var api$4;
@@ -5242,7 +5244,7 @@ var join_dialog_default = _template("o", (input) => {
5242
5244
  const $childScope = _peek_scope_id();
5243
5245
  modal_view_default({
5244
5246
  label: "Join a workspace",
5245
- class: "_dj",
5247
+ class: "_dA",
5246
5248
  open: input.open,
5247
5249
  openChange: _resume(function(next) {
5248
5250
  if (!next) reset();
@@ -5265,26 +5267,26 @@ var join_dialog_default = _template("o", (input) => {
5265
5267
  content: _content("o12", () => {
5266
5268
  _scope_reason();
5267
5269
  const $scope1_id = _scope_id();
5268
- _html(`<h2${_attr_class("_dk")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
5270
+ _html(`<h2${_attr_class("_dB")}${_attr("id", titleId)}>Join a workspace</h2><p${_attr_class(hint)}>Paste an invite: the same repos, on your own lane of their branch.</p><textarea${_attr_class([
5269
5271
  "_T",
5270
5272
  "_w",
5271
- "_dn"
5273
+ "_dE"
5272
5274
  ])} placeholder="{ &#34;name&#34;: …, &#34;branch&#34;: …, &#34;repos&#34;: [&#34;owner/name&#34;, …] }" aria-label="Workspace invite" rows=6 autocomplete=off spellcheck=false${_attr("disabled", busy)} autofocus>${_attr_textarea_value($scope1_id, "c", invite, setInvite)}</textarea>${_el_resume($scope1_id, "c")}`);
5273
5275
  _if(() => {
5274
5276
  if (parsed.error) {
5275
5277
  const $scope8_id = _scope_id();
5276
- _html(`<p${_attr_class([hint, "_dm"])}>${_escape(parsed.error)}${_el_resume($scope8_id, "b")}</p>`);
5278
+ _html(`<p${_attr_class([hint, "_dD"])}>${_escape(parsed.error)}${_el_resume($scope8_id, "b")}</p>`);
5277
5279
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cae: 1 }));
5278
5280
  return 0;
5279
5281
  } else if (parsed.ok) {
5280
5282
  const $scope3_id = _scope_id();
5281
- _html(`<ul${_attr_class("_do")}>`);
5283
+ _html(`<ul${_attr_class("_dF")}>`);
5282
5284
  _for_of(parsed.ok.repos, (fullName) => {
5283
5285
  const $scope9_id = _scope_id();
5284
- _html(`<li${_attr_class("_dp")}><span${_attr_class("_dq")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
5286
+ _html(`<li${_attr_class("_dG")}><span${_attr_class("_dH")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
5285
5287
  writeScope($scope9_id, {});
5286
5288
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
5287
- _html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_w")}>${_escape(parsed.ok.branch)}${_el_resume($scope3_id, "d")}</span> in each; PRs target theirs.</p><label${_attr_class("_dr")}><span${_attr_class("_bC")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
5289
+ _html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_w")}>${_escape(parsed.ok.branch)}${_el_resume($scope3_id, "d")}</span> in each; PRs target theirs.</p><label${_attr_class("_dI")}><span${_attr_class("_bC")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
5288
5290
  name = _new_name;
5289
5291
  }, "o1", $scope3_id))}${_attr_class("_T")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
5290
5292
  _script($scope3_id, "o8");
@@ -5321,10 +5323,10 @@ var join_dialog_default = _template("o", (input) => {
5321
5323
  _if(() => {
5322
5324
  if (busy && steps$2.length) {
5323
5325
  const $scope6_id = _scope_id();
5324
- _html(`<ul${_attr_class("_ds")}>`);
5326
+ _html(`<ul${_attr_class("_dJ")}>`);
5325
5327
  _for_of(steps$2, (step$2, i) => {
5326
5328
  const $scope7_id = _scope_id();
5327
- _html(`<li${_attr_class(["_du", { ["_dt"]: i === steps$2.length - 1 }])}>`);
5329
+ _html(`<li${_attr_class(["_dL", { ["_dK"]: i === steps$2.length - 1 }])}>`);
5328
5330
  _if(() => {
5329
5331
  if (i === steps$2.length - 1) {
5330
5332
  const $scope10_id = _scope_id();
@@ -5333,7 +5335,7 @@ var join_dialog_default = _template("o", (input) => {
5333
5335
  return 0;
5334
5336
  } else {
5335
5337
  const $scope11_id = _scope_id();
5336
- _html(`<span${_attr_class("_dv")}>`);
5338
+ _html(`<span${_attr_class("_dM")}>`);
5337
5339
  icon_check_default({ size: 14 });
5338
5340
  _html("</span>");
5339
5341
  writeScope($scope11_id, {});
@@ -5857,7 +5859,7 @@ var rowIcon = "_g_ _Y _j";
5857
5859
  var close = "_ha _1 _j _2";
5858
5860
  //#endregion
5859
5861
  //#region src/styles/session-pop.css.ts
5860
- var sessionPop = "_gX _4";
5862
+ var sessionPop = "_gF _4";
5861
5863
  //#endregion
5862
5864
  //#region src/client/status.ts
5863
5865
  /** Workspace activity dot from its polled status counts. */
@@ -5939,7 +5941,7 @@ var usage_pcts_default = _template("G", (input) => {
5939
5941
  return 0;
5940
5942
  }
5941
5943
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
5942
- _html(`<span${_attr_class("_f4")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f5", win$1.used_percent >= 90 ? "_fU" : win$1.used_percent >= 70 ? "_fT" : win$1.used_percent >= 40 ? "_fS" : "_fR"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
5944
+ _html(`<span${_attr_class("_f4")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f5", win$1.used_percent >= 90 ? "_fI" : win$1.used_percent >= 70 ? "_fH" : win$1.used_percent >= 40 ? "_fG" : "_fF"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
5943
5945
  $si__input_agent && writeScope($scope2_id, {});
5944
5946
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
5945
5947
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -5970,12 +5972,12 @@ var icon_edit_default = _template("Z", (input) => {
5970
5972
  });
5971
5973
  _serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
5972
5974
  });
5973
- var prChip = "_h7 _s _h6";
5974
- var portChip = "_h8 _s _h6";
5975
+ var prChip = "_h5 _s _h4";
5976
+ var portChip = "_h6 _s _h4";
5975
5977
  var prState = {
5976
- open: "_ib",
5977
- merged: "_ic",
5978
- closed: "_id"
5978
+ open: "_h_",
5979
+ merged: "_ia",
5980
+ closed: "_ib"
5979
5981
  };
5980
5982
  //#endregion
5981
5983
  //#region src/tags/side-nav-chips.marko
@@ -6048,7 +6050,7 @@ var side_nav_chips_default = _template("y", (input) => {
6048
6050
  const name = repo.full_name.split("/").at(-1);
6049
6051
  return repos.some((r) => r.full_name !== repo.full_name && r.full_name.split("/").at(-1) === name) ? repoLabel(repo.full_name) : name;
6050
6052
  }, "y4", $scope1_id);
6051
- _html(`<div${_attr_class("_h5")}>`);
6053
+ _html(`<div${_attr_class("_h3")}>`);
6052
6054
  _for_of(unpushed, (repo) => {
6053
6055
  const $scope7_id = _scope_id();
6054
6056
  _html(`<span${_attr_class(["_s", tone.warn])}${_attr("title", `${repo.worktree}: ${repo.unpushed}`)}>${_escape(repoLabel$1(repo))}${_el_resume($scope7_id, "b")}<!>${repoLabel$1(repo) ? _escape(`${_to_text(" ")}`) : ""}${_el_resume($scope7_id, "c")} unpushed</span>${_el_resume($scope7_id, "a")}`);
@@ -6069,11 +6071,11 @@ var side_nav_chips_default = _template("y", (input) => {
6069
6071
  [prState.merged]: pr.state === "MERGED",
6070
6072
  [prState.closed]: pr.state === "CLOSED"
6071
6073
  }
6072
- ])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_h9", { ["_if"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c")}#<!>${_escape(pr.number)}${_el_resume($scope3_id, "d")}</a>${_el_resume($scope3_id, "b")}`);
6074
+ ])}${_attr("title", prTitle(repo, pr))}><a${_attr_class(["_h7", { ["_id"]: !open }])}${_attr("href", pr.url)} target=_blank rel=noopener>${_escape(repoLabel$1(repo))}${_el_resume($scope3_id, "c")}#<!>${_escape(pr.number)}${_el_resume($scope3_id, "d")}</a>${_el_resume($scope3_id, "b")}`);
6073
6075
  _if(() => {
6074
6076
  if (open) {
6075
6077
  const $scope4_id = _scope_id();
6076
- _html(`<a${_attr_class(["_h9", "_h_"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
6078
+ _html(`<a${_attr_class(["_h7", "_h8"])}${_attr("href", `/w/${input.workspaceId}/review?pr=${encodeURIComponent(`${repo.worktree}/${pr.number}`)}`)}${_attr("title", `Review #${pr.number} changes`)}>`);
6077
6079
  icon_diff_default({ size: 12 });
6078
6080
  _html(`</a>${_el_resume($scope4_id, "a")}`);
6079
6081
  _subscribe($for_content__repo_worktree__closures, _subscribe($si__input_workspaceId && $input_workspaceId__closures, writeScope($scope4_id, {})));
@@ -6081,9 +6083,9 @@ var side_nav_chips_default = _template("y", (input) => {
6081
6083
  } else {
6082
6084
  const $scope6_id = _scope_id();
6083
6085
  _html(`<button type=button${_attr_class([
6084
- "_h9",
6085
- "_h_",
6086
- "_ia"
6086
+ "_h7",
6087
+ "_h8",
6088
+ "_h9"
6087
6089
  ])}${_attr("title", `Dismiss #${pr.number}`)}>`);
6088
6090
  icon_xmark_default({ size: 12 });
6089
6091
  _html(`</button>${_el_resume($scope6_id, "a")}`);
@@ -6107,10 +6109,10 @@ var side_nav_chips_default = _template("y", (input) => {
6107
6109
  }, "full_name", $scope1_id, "c");
6108
6110
  _for_of(ports, (p) => {
6109
6111
  const $scope5_id = _scope_id();
6110
- _html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_h9", "_ie"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:<!>${_escape(p.port)}${_el_resume($scope5_id, "c")}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
6112
+ _html(`<span${_attr_class(["_s", portChip])}${_attr("title", p.cmd)}><button type=button${_attr_class(["_h7", "_ic"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${p.port}`)}>:<!>${_escape(p.port)}${_el_resume($scope5_id, "c")}</button>${_el_resume($scope5_id, "b")}<button type=button${_attr_class([
6113
+ "_h7",
6114
+ "_h8",
6111
6115
  "_h9",
6112
- "_h_",
6113
- "_ia",
6114
6116
  { ["_q"]: armedPid === p.pid }
6115
6117
  ])}${armedPid === p.pid ? " title=Kill?" : _attr("title", `Kill ${p.cmd} (pid ${p.pid})`)}>`);
6116
6118
  icon_xmark_default({ size: 12 });
@@ -6330,7 +6332,7 @@ var side_nav_item_default = _template("z", (input) => {
6330
6332
  _html(`</button>${_el_resume($scope7_id, "a")}<div${_attr("id", newPopId)} popover=auto${_attr_class(sessionPop)}>`);
6331
6333
  _for_of([], (agent) => {
6332
6334
  const $scope8_id = _scope_id();
6333
- _html(`<button${_attr_class("_gY")}>`);
6335
+ _html(`<button${_attr_class("_gG")}>`);
6334
6336
  _set_serialize_reason(12);
6335
6337
  const $childScope2 = _peek_scope_id();
6336
6338
  icon_agent_default({
@@ -8640,7 +8642,7 @@ var work_view_default = _template("H", (input) => {
8640
8642
  let DiffView = null;
8641
8643
  const loadDiffView = _resume(() => {
8642
8644
  if (DiffView) return;
8643
- import("./_J7sexRRq.js").then((m) => {
8645
+ import("./_DHOrTC33.js").then((m) => {
8644
8646
  DiffView = m.default;
8645
8647
  });
8646
8648
  }, "H6", $scope0_id);
@@ -9709,7 +9711,7 @@ function head2(context) {
9709
9711
  //#region src/routes/_app/settings/+handler.ts
9710
9712
  /** Settings is about the doctor snapshot, so this page waits for it and
9711
9713
  * server-renders every section (the shell still streams first). */
9712
- var GET$24 = Run.GET(async (_ctx, next) => {
9714
+ var GET$25 = Run.GET(async (_ctx, next) => {
9713
9715
  return next({ setup: await getSetup().catch(() => null) });
9714
9716
  });
9715
9717
  //#endregion
@@ -9738,12 +9740,12 @@ var settings_default = _template("AA0T2xt", (input) => {
9738
9740
  var settings_server_entry_default = withPageAssets(settings_default, flush, "AA0T2xt");
9739
9741
  //#endregion
9740
9742
  //#region __marko-run__settings.js
9741
- var getHandler$24 = normalizeHandler(GET$24, "GET");
9742
- var get3_options = normalizeOptions("GET", mware3, getHandler$24);
9743
+ var getHandler$25 = normalizeHandler(GET$25, "GET");
9744
+ var get3_options = normalizeOptions("GET", mware3, getHandler$25);
9743
9745
  var head3_options = normalizeOptions("HEAD", mware3);
9744
9746
  function get3(context) {
9745
9747
  const __page = (data) => render(context, settings_server_entry_default, {}, data);
9746
- const __getHandler = (data) => call(getHandler$24, __page, context, data);
9748
+ const __getHandler = (data) => call(getHandler$25, __page, context, data);
9747
9749
  return call(mware3, __getHandler, context);
9748
9750
  }
9749
9751
  function head3(context) {
@@ -11520,7 +11522,7 @@ async function restore(m, sel) {
11520
11522
  }
11521
11523
  //#endregion
11522
11524
  //#region __marko-run__api.backup.export.js
11523
- var getHandler$23 = normalizeHandler(Run.GET(() => {
11525
+ var getHandler$24 = normalizeHandler(Run.GET(() => {
11524
11526
  const body = JSON.stringify(encodeManifest(buildManifest()), null, 1) + "\n";
11525
11527
  return new Response(body, { headers: {
11526
11528
  "content-type": "application/json; charset=utf-8",
@@ -11528,10 +11530,10 @@ var getHandler$23 = normalizeHandler(Run.GET(() => {
11528
11530
  "cache-control": "no-store"
11529
11531
  } });
11530
11532
  }), "GET");
11531
- var get8_options = normalizeOptions("GET", mware11, getHandler$23);
11533
+ var get8_options = normalizeOptions("GET", mware11, getHandler$24);
11532
11534
  var head8_options = normalizeOptions("HEAD", mware11);
11533
11535
  function get8(context) {
11534
- const __getHandler = (data) => call(getHandler$23, noContent, context, data);
11536
+ const __getHandler = (data) => call(getHandler$24, noContent, context, data);
11535
11537
  return call(mware11, __getHandler, context);
11536
11538
  }
11537
11539
  function head8(context) {
@@ -11684,13 +11686,13 @@ ensureAllPushHooks();
11684
11686
  resumePendingWorkspaces();
11685
11687
  //#endregion
11686
11688
  //#region __marko-run__api.boot.js
11687
- var getHandler$22 = normalizeHandler(Run.GET(() => {
11689
+ var getHandler$23 = normalizeHandler(Run.GET(() => {
11688
11690
  return Response.json({ boot: BOOT_ID }, { headers: { "cache-control": "no-store" } });
11689
11691
  }), "GET");
11690
- var get13_options = normalizeOptions("GET", mware11, getHandler$22);
11692
+ var get13_options = normalizeOptions("GET", mware11, getHandler$23);
11691
11693
  var head13_options = normalizeOptions("HEAD", mware11);
11692
11694
  function get13(context) {
11693
- const __getHandler = (data) => call(getHandler$22, noContent, context, data);
11695
+ const __getHandler = (data) => call(getHandler$23, noContent, context, data);
11694
11696
  return call(mware11, __getHandler, context);
11695
11697
  }
11696
11698
  function head13(context) {
@@ -11698,11 +11700,11 @@ function head13(context) {
11698
11700
  }
11699
11701
  //#endregion
11700
11702
  //#region __marko-run__api.events.js
11701
- var getHandler$21 = normalizeHandler(Run.GET(() => Response.json({ error: "events bus is websocket — connect with ws(s)://host/api/events" }, { status: 410 })), "GET");
11702
- var get14_options = normalizeOptions("GET", mware11, getHandler$21);
11703
+ var getHandler$22 = normalizeHandler(Run.GET(() => Response.json({ error: "events bus is websocket — connect with ws(s)://host/api/events" }, { status: 410 })), "GET");
11704
+ var get14_options = normalizeOptions("GET", mware11, getHandler$22);
11703
11705
  var head14_options = normalizeOptions("HEAD", mware11);
11704
11706
  function get14(context) {
11705
- const __getHandler = (data) => call(getHandler$21, noContent, context, data);
11707
+ const __getHandler = (data) => call(getHandler$22, noContent, context, data);
11706
11708
  return call(mware11, __getHandler, context);
11707
11709
  }
11708
11710
  function head14(context) {
@@ -11733,33 +11735,249 @@ function post15(context) {
11733
11735
  }
11734
11736
  //#endregion
11735
11737
  //#region __marko-run__api.instance.icon.js
11736
- var getHandler$20 = normalizeHandler(Run.GET(() => new Response(iconSvg(getInstance().accent), { headers: {
11738
+ var getHandler$21 = normalizeHandler(Run.GET(() => new Response(iconSvg(getInstance().accent), { headers: {
11737
11739
  "content-type": "image/svg+xml",
11738
11740
  "cache-control": "public, max-age=3600"
11739
11741
  } })), "GET");
11740
- var get16_options = normalizeOptions("GET", mware11, getHandler$20);
11742
+ var get16_options = normalizeOptions("GET", mware11, getHandler$21);
11741
11743
  var head16_options = normalizeOptions("HEAD", mware11);
11742
11744
  function get16(context) {
11743
- const __getHandler = (data) => call(getHandler$20, noContent, context, data);
11745
+ const __getHandler = (data) => call(getHandler$21, noContent, context, data);
11744
11746
  return call(mware11, __getHandler, context);
11745
11747
  }
11746
11748
  function head16(context) {
11747
11749
  return stripResponseBody(get16(context));
11748
11750
  }
11749
11751
  //#endregion
11752
+ //#region src/server/icon-png.ts
11753
+ /**
11754
+ * The app icon as PNG, tinted with the instance accent.
11755
+ *
11756
+ * The SVG in `instance.ts` already does this, but an installed app never
11757
+ * gets it: Chrome ranks manifest icons by declared size, so the raster
11758
+ * entries always beat the SVG's `sizes: "any"`, and Safari's `apple-touch-icon`
11759
+ * refuses SVG outright. Both installs therefore wore the same default-blue
11760
+ * glyph while their names differed — the icon is what tells two servers apart
11761
+ * in a dock, so it has to carry the accent.
11762
+ *
11763
+ * Rather than rasterize `iconSvg` (a text glyph needs a font renderer, and a
11764
+ * whole rasterizer dependency for one 128px tile), recolour the art already
11765
+ * in `public/`: every pixel there sits on the line between the tile and the
11766
+ * default glyph colour, so the blend that produced it is recoverable and can
11767
+ * be replayed against another glyph colour.
11768
+ */
11769
+ /** `public/` in a checkout, `dist/public/` once built — and dist/index.mjs
11770
+ * sits one below the package root where src/server sits two, so find the art
11771
+ * rather than assume a depth (same walk as backup.ts's appVersion). */
11772
+ function findPublicDir() {
11773
+ let dir = path.dirname(fileURLToPath(import.meta.url));
11774
+ for (let i = 0; i < 4; i++) {
11775
+ for (const candidate of [path.join(dir, "public"), path.join(dir, "dist/public")]) if (fs.existsSync(path.join(candidate, "icon-192.png"))) return candidate;
11776
+ dir = path.dirname(dir);
11777
+ }
11778
+ throw new Error("icon art not found");
11779
+ }
11780
+ var publicDir;
11781
+ /** The two colours `public/*.png` was drawn with. */
11782
+ var TILE = [
11783
+ 19,
11784
+ 19,
11785
+ 22
11786
+ ];
11787
+ var GLYPH = [
11788
+ 124,
11789
+ 150,
11790
+ 255
11791
+ ];
11792
+ /** Blue separates them by the widest margin (233 of 255), so it recovers the
11793
+ * blend factor with the least rounding error of the three channels. */
11794
+ var SPAN = GLYPH[2] - TILE[2];
11795
+ function decode(png) {
11796
+ if (png.readUInt32BE(0) !== 2303741511) throw new Error("not a PNG");
11797
+ let width = 0;
11798
+ let height = 0;
11799
+ let depth = 8;
11800
+ let colorType = 6;
11801
+ const idat = [];
11802
+ for (let at = 8; at + 8 <= png.length;) {
11803
+ const length = png.readUInt32BE(at);
11804
+ const type = png.toString("ascii", at + 4, at + 8);
11805
+ const body = png.subarray(at + 8, at + 8 + length);
11806
+ if (type === "IHDR") {
11807
+ width = body.readUInt32BE(0);
11808
+ height = body.readUInt32BE(4);
11809
+ depth = body[8];
11810
+ colorType = body[9];
11811
+ if (body[10] !== 0 || body[12] !== 0) throw new Error("compressed or interlaced PNG");
11812
+ } else if (type === "IDAT") idat.push(body);
11813
+ else if (type === "IEND") break;
11814
+ at += 12 + length;
11815
+ }
11816
+ if (colorType !== 2 && colorType !== 6) throw new Error("unsupported PNG");
11817
+ const channels = colorType === 6 ? 4 : 3;
11818
+ const step = depth === 16 ? 2 : 1;
11819
+ const pixel = channels * step;
11820
+ const stride = width * pixel;
11821
+ const raw = zlib.inflateSync(Buffer.concat(idat));
11822
+ const flat = new Uint8Array(height * stride);
11823
+ for (let y = 0, read = 0; y < height; y++) {
11824
+ const filter = raw[read++];
11825
+ const row = y * stride;
11826
+ for (let x = 0; x < stride; x++) {
11827
+ const a = x >= pixel ? flat[row + x - pixel] : 0;
11828
+ const b = y > 0 ? flat[row - stride + x] : 0;
11829
+ const c = x >= pixel && y > 0 ? flat[row - stride + x - pixel] : 0;
11830
+ let value = raw[read + x];
11831
+ if (filter === 1) value += a;
11832
+ else if (filter === 2) value += b;
11833
+ else if (filter === 3) value += a + b >> 1;
11834
+ else if (filter === 4) {
11835
+ const pa = Math.abs(b - c);
11836
+ const pb = Math.abs(a - c);
11837
+ const pc = Math.abs(a + b - 2 * c);
11838
+ value += pa <= pb && pa <= pc ? a : pb <= pc ? b : c;
11839
+ }
11840
+ flat[row + x] = value;
11841
+ }
11842
+ read += stride;
11843
+ }
11844
+ const data = new Uint8Array(width * height * 4);
11845
+ for (let i = 0, out = 0; out < data.length; i += pixel, out += 4) {
11846
+ data[out] = flat[i];
11847
+ data[out + 1] = flat[i + step];
11848
+ data[out + 2] = flat[i + 2 * step];
11849
+ data[out + 3] = channels === 4 ? flat[i + 3 * step] : 255;
11850
+ }
11851
+ return {
11852
+ width,
11853
+ height,
11854
+ data
11855
+ };
11856
+ }
11857
+ function chunk(type, body) {
11858
+ const out = Buffer.alloc(body.length + 12);
11859
+ out.writeUInt32BE(body.length, 0);
11860
+ out.write(type, 4, "ascii");
11861
+ body.copy(out, 8);
11862
+ out.writeInt32BE(crc(out.subarray(4, 8 + body.length)), 8 + body.length);
11863
+ return out;
11864
+ }
11865
+ var crcTable = Int32Array.from({ length: 256 }, (_, n) => {
11866
+ let c = n;
11867
+ for (let k = 0; k < 8; k++) c = c & 1 ? 3988292384 ^ c >>> 1 : c >>> 1;
11868
+ return c;
11869
+ });
11870
+ function crc(bytes) {
11871
+ let c = -1;
11872
+ for (const byte of bytes) c = crcTable[(c ^ byte) & 255] ^ c >>> 8;
11873
+ return c ^ -1;
11874
+ }
11875
+ function encode({ width, height, data }) {
11876
+ const stride = width * 4;
11877
+ const raw = Buffer.alloc(height * (stride + 1));
11878
+ for (let y = 0; y < height; y++) {
11879
+ raw[y * (stride + 1)] = 0;
11880
+ raw.set(data.subarray(y * stride, (y + 1) * stride), y * (stride + 1) + 1);
11881
+ }
11882
+ const ihdr = Buffer.alloc(13);
11883
+ ihdr.writeUInt32BE(width, 0);
11884
+ ihdr.writeUInt32BE(height, 4);
11885
+ ihdr[8] = 8;
11886
+ ihdr[9] = 6;
11887
+ return new Uint8Array(Buffer.concat([
11888
+ Buffer.from([
11889
+ 137,
11890
+ 80,
11891
+ 78,
11892
+ 71,
11893
+ 13,
11894
+ 10,
11895
+ 26,
11896
+ 10
11897
+ ]),
11898
+ chunk("IHDR", ihdr),
11899
+ chunk("IDAT", zlib.deflateSync(raw, { level: 9 })),
11900
+ chunk("IEND", Buffer.alloc(0))
11901
+ ]));
11902
+ }
11903
+ /** Replay each pixel's tile→glyph blend against `accent`. Pixels at or below
11904
+ * the tile colour (the tile itself, and the corners' fade to transparent)
11905
+ * are left exactly as drawn, so only the glyph moves. */
11906
+ function recolour(bitmap, accent) {
11907
+ const data = new Uint8Array(bitmap.data);
11908
+ for (let i = 0; i < data.length; i += 4) {
11909
+ const t = (data[i + 2] - TILE[2]) / SPAN;
11910
+ if (t <= 0) continue;
11911
+ for (let c = 0; c < 3; c++) data[i + c] = Math.round(TILE[c] + Math.min(1, t) * (accent[c] - TILE[c]));
11912
+ }
11913
+ return {
11914
+ ...bitmap,
11915
+ data
11916
+ };
11917
+ }
11918
+ function parseAccent(accent) {
11919
+ const hex = /^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/.exec(accent);
11920
+ return hex ? hex.slice(1, 4).map((h) => parseInt(h, 16)) : null;
11921
+ }
11922
+ /** Recoloured art is a few hundred KB and only changes when the accent
11923
+ * does, so hold it rather than re-deflate on every install/refresh. */
11924
+ var cache = /* @__PURE__ */ new Map();
11925
+ var FILES = {
11926
+ "192": "icon-192.png",
11927
+ "512": "icon-512.png",
11928
+ maskable: "icon-maskable-512.png",
11929
+ apple: "apple-touch-icon.png"
11930
+ };
11931
+ function isIconArt(value) {
11932
+ return value in FILES;
11933
+ }
11934
+ /** The named art tinted with `accent` (`#rrggbb`); the default accent, or an
11935
+ * unreadable file, serves the bytes on disk untouched. */
11936
+ function iconPng(art, accent) {
11937
+ const key = `${art}:${accent}`;
11938
+ const hit = cache.get(key);
11939
+ if (hit) return hit;
11940
+ publicDir ??= findPublicDir();
11941
+ const file = fs.readFileSync(path.join(publicDir, FILES[art]));
11942
+ const rgb = parseAccent(accent);
11943
+ let out = new Uint8Array(file);
11944
+ if (rgb && !rgb.every((v, i) => v === GLYPH[i])) try {
11945
+ out = encode(recolour(decode(file), rgb));
11946
+ } catch {
11947
+ out = new Uint8Array(file);
11948
+ }
11949
+ cache.set(key, out);
11950
+ return out;
11951
+ }
11952
+ //#endregion
11953
+ //#region __marko-run__api.instance.icon-png.js
11954
+ var getHandler$20 = normalizeHandler(Run.GET({ search: (value) => ({ art: typeof value.art === "string" && isIconArt(value.art) ? value.art : "512" }) }, (ctx) => new Response(iconPng(ctx.search.art, getInstance().accent), { headers: {
11955
+ "content-type": "image/png",
11956
+ "cache-control": "public, max-age=3600"
11957
+ } })), "GET");
11958
+ var get17_options = normalizeOptions("GET", mware11, getHandler$20);
11959
+ var head17_options = normalizeOptions("HEAD", mware11);
11960
+ function get17(context) {
11961
+ const __getHandler = (data) => call(getHandler$20, noContent, context, data);
11962
+ return call(mware11, __getHandler, context);
11963
+ }
11964
+ function head17(context) {
11965
+ return stripResponseBody(get17(context));
11966
+ }
11967
+ //#endregion
11750
11968
  //#region __marko-run__api.instance.manifest.js
11751
11969
  var getHandler$19 = normalizeHandler(Run.GET(() => new Response(JSON.stringify(manifest(getInstance())), { headers: {
11752
11970
  "content-type": "application/manifest+json; charset=UTF-8",
11753
11971
  "cache-control": "no-cache"
11754
11972
  } })), "GET");
11755
- var get17_options = normalizeOptions("GET", mware11, getHandler$19);
11756
- var head17_options = normalizeOptions("HEAD", mware11);
11757
- function get17(context) {
11973
+ var get18_options = normalizeOptions("GET", mware11, getHandler$19);
11974
+ var head18_options = normalizeOptions("HEAD", mware11);
11975
+ function get18(context) {
11758
11976
  const __getHandler = (data) => call(getHandler$19, noContent, context, data);
11759
11977
  return call(mware11, __getHandler, context);
11760
11978
  }
11761
- function head17(context) {
11762
- return stripResponseBody(get17(context));
11979
+ function head18(context) {
11980
+ return stripResponseBody(get18(context));
11763
11981
  }
11764
11982
  //#endregion
11765
11983
  //#region src/routes/api/prefs/+handler.ts
@@ -11780,17 +11998,17 @@ var postHandler$14 = normalizeHandler(Run.POST({ json: Pref }, async (ctx) => {
11780
11998
  return Response.json({ ok: true });
11781
11999
  }), "POST");
11782
12000
  var getHandler$18 = normalizeHandler(GET$18, "GET");
11783
- var get18_options = normalizeOptions("GET", mware11, getHandler$18);
11784
- var head18_options = normalizeOptions("HEAD", mware11);
11785
- var post18_options = normalizeOptions("POST", mware11, postHandler$14);
11786
- function get18(context) {
12001
+ var get19_options = normalizeOptions("GET", mware11, getHandler$18);
12002
+ var head19_options = normalizeOptions("HEAD", mware11);
12003
+ var post19_options = normalizeOptions("POST", mware11, postHandler$14);
12004
+ function get19(context) {
11787
12005
  const __getHandler = (data) => call(getHandler$18, noContent, context, data);
11788
12006
  return call(mware11, __getHandler, context);
11789
12007
  }
11790
- function head18(context) {
11791
- return stripResponseBody(get18(context));
12008
+ function head19(context) {
12009
+ return stripResponseBody(get19(context));
11792
12010
  }
11793
- function post18(context) {
12011
+ function post19(context) {
11794
12012
  const __postHandler = (data) => call(postHandler$14, noContent, context, data);
11795
12013
  return call(mware11, __postHandler, context);
11796
12014
  }
@@ -11805,8 +12023,8 @@ var deleteHandler$4 = normalizeHandler(Run.DELETE({ params({ pid }) {
11805
12023
  if (!await killWorkspaceProc(ctx.params.pid, paths)) throw httpError(404, "not a workspace process");
11806
12024
  return Response.json({ ok: true });
11807
12025
  }), "DELETE");
11808
- var delete19_options = normalizeOptions("DELETE", mware11, deleteHandler$4);
11809
- function delete19(context) {
12026
+ var delete20_options = normalizeOptions("DELETE", mware11, deleteHandler$4);
12027
+ function delete20(context) {
11810
12028
  const __deleteHandler = (data) => call(deleteHandler$4, noContent, context, data);
11811
12029
  return call(mware11, __deleteHandler, context);
11812
12030
  }
@@ -11816,14 +12034,14 @@ var getHandler$17 = normalizeHandler(Run.GET({ search: (value) => ({
11816
12034
  since: typeof value.since === "string" ? Number(value.since) : void 0,
11817
12035
  op: typeof value.op === "string" && value.op ? value.op : void 0
11818
12036
  }) }, (ctx) => Response.json(progressSince(ctx.search.since, ctx.search.op))), "GET");
11819
- var get20_options = normalizeOptions("GET", mware11, getHandler$17);
11820
- var head20_options = normalizeOptions("HEAD", mware11);
11821
- function get20(context) {
12037
+ var get21_options = normalizeOptions("GET", mware11, getHandler$17);
12038
+ var head21_options = normalizeOptions("HEAD", mware11);
12039
+ function get21(context) {
11822
12040
  const __getHandler = (data) => call(getHandler$17, noContent, context, data);
11823
12041
  return call(mware11, __getHandler, context);
11824
12042
  }
11825
- function head20(context) {
11826
- return stripResponseBody(get20(context));
12043
+ function head21(context) {
12044
+ return stripResponseBody(get21(context));
11827
12045
  }
11828
12046
  //#endregion
11829
12047
  //#region src/routes/api/push/+handler.ts
@@ -11847,22 +12065,22 @@ var deleteHandler$3 = normalizeHandler(Run.DELETE({ search: (value) => ({ endpoi
11847
12065
  }), "DELETE");
11848
12066
  var postHandler$13 = normalizeHandler(POST$13, "POST");
11849
12067
  var getHandler$16 = normalizeHandler(GET$16, "GET");
11850
- var get21_options = normalizeOptions("GET", mware11, getHandler$16);
11851
- var head21_options = normalizeOptions("HEAD", mware11);
11852
- var post21_options = normalizeOptions("POST", mware11, postHandler$13);
11853
- var delete21_options = normalizeOptions("DELETE", mware11, deleteHandler$3);
11854
- function get21(context) {
12068
+ var get22_options = normalizeOptions("GET", mware11, getHandler$16);
12069
+ var head22_options = normalizeOptions("HEAD", mware11);
12070
+ var post22_options = normalizeOptions("POST", mware11, postHandler$13);
12071
+ var delete22_options = normalizeOptions("DELETE", mware11, deleteHandler$3);
12072
+ function get22(context) {
11855
12073
  const __getHandler = (data) => call(getHandler$16, noContent, context, data);
11856
12074
  return call(mware11, __getHandler, context);
11857
12075
  }
11858
- function head21(context) {
11859
- return stripResponseBody(get21(context));
12076
+ function head22(context) {
12077
+ return stripResponseBody(get22(context));
11860
12078
  }
11861
- function post21(context) {
12079
+ function post22(context) {
11862
12080
  const __postHandler = (data) => call(postHandler$13, noContent, context, data);
11863
12081
  return call(mware11, __postHandler, context);
11864
12082
  }
11865
- function delete21(context) {
12083
+ function delete22(context) {
11866
12084
  const __deleteHandler = (data) => call(deleteHandler$3, noContent, context, data);
11867
12085
  return call(mware11, __deleteHandler, context);
11868
12086
  }
@@ -11899,22 +12117,22 @@ var postHandler$12 = normalizeHandler(Run.POST({ search: (value) => parse(Query,
11899
12117
  pokeStatusWatch();
11900
12118
  return Response.json({ ok: true });
11901
12119
  }), "POST");
11902
- var post22_options = normalizeOptions("POST", mware11, postHandler$12);
11903
- function post22(context) {
12120
+ var post23_options = normalizeOptions("POST", mware11, postHandler$12);
12121
+ function post23(context) {
11904
12122
  const __postHandler = (data) => call(postHandler$12, noContent, context, data);
11905
12123
  return call(mware11, __postHandler, context);
11906
12124
  }
11907
12125
  //#endregion
11908
12126
  //#region __marko-run__api.repos.js
11909
12127
  var getHandler$15 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await repoCatalog(ctx.search.refresh))), "GET");
11910
- var get23_options = normalizeOptions("GET", mware11, getHandler$15);
11911
- var head23_options = normalizeOptions("HEAD", mware11);
11912
- function get23(context) {
12128
+ var get24_options = normalizeOptions("GET", mware11, getHandler$15);
12129
+ var head24_options = normalizeOptions("HEAD", mware11);
12130
+ function get24(context) {
11913
12131
  const __getHandler = (data) => call(getHandler$15, noContent, context, data);
11914
12132
  return call(mware11, __getHandler, context);
11915
12133
  }
11916
- function head23(context) {
11917
- return stripResponseBody(get23(context));
12134
+ function head24(context) {
12135
+ return stripResponseBody(get24(context));
11918
12136
  }
11919
12137
  //#endregion
11920
12138
  //#region __marko-run__api.repos.branches.js
@@ -11937,14 +12155,14 @@ var getHandler$14 = normalizeHandler(Run.GET({ search: (value) => {
11937
12155
  defaultBranch: looked || fromCatalog || null
11938
12156
  });
11939
12157
  }), "GET");
11940
- var get24_options = normalizeOptions("GET", mware11, getHandler$14);
11941
- var head24_options = normalizeOptions("HEAD", mware11);
11942
- function get24(context) {
12158
+ var get25_options = normalizeOptions("GET", mware11, getHandler$14);
12159
+ var head25_options = normalizeOptions("HEAD", mware11);
12160
+ function get25(context) {
11943
12161
  const __getHandler = (data) => call(getHandler$14, noContent, context, data);
11944
12162
  return call(mware11, __getHandler, context);
11945
12163
  }
11946
- function head24(context) {
11947
- return stripResponseBody(get24(context));
12164
+ function head25(context) {
12165
+ return stripResponseBody(get25(context));
11948
12166
  }
11949
12167
  //#endregion
11950
12168
  //#region src/routes/api/sessions/$id/+handler.ts
@@ -11961,13 +12179,13 @@ var patchHandler$1 = normalizeHandler(Run.PATCH({ json: Rename }, async (ctx) =>
11961
12179
  return Response.json({ ok: true });
11962
12180
  }), "PATCH");
11963
12181
  var deleteHandler$2 = normalizeHandler(DELETE$2, "DELETE");
11964
- var delete25_options = normalizeOptions("DELETE", mware11, deleteHandler$2);
11965
- var patch25_options = normalizeOptions("PATCH", mware11, patchHandler$1);
11966
- function delete25(context) {
12182
+ var delete26_options = normalizeOptions("DELETE", mware11, deleteHandler$2);
12183
+ var patch26_options = normalizeOptions("PATCH", mware11, patchHandler$1);
12184
+ function delete26(context) {
11967
12185
  const __deleteHandler = (data) => call(deleteHandler$2, noContent, context, data);
11968
12186
  return call(mware11, __deleteHandler, context);
11969
12187
  }
11970
- function patch25(context) {
12188
+ function patch26(context) {
11971
12189
  const __patchHandler = (data) => call(patchHandler$1, noContent, context, data);
11972
12190
  return call(mware11, __patchHandler, context);
11973
12191
  }
@@ -11988,8 +12206,8 @@ var postHandler$11 = normalizeHandler(Run.POST({ json: Send }, async (ctx) => {
11988
12206
  } : void 0);
11989
12207
  return Response.json({ ok: true });
11990
12208
  }), "POST");
11991
- var post26_options = normalizeOptions("POST", mware11, postHandler$11);
11992
- function post26(context) {
12209
+ var post27_options = normalizeOptions("POST", mware11, postHandler$11);
12210
+ function post27(context) {
11993
12211
  const __postHandler = (data) => call(postHandler$11, noContent, context, data);
11994
12212
  return call(mware11, __postHandler, context);
11995
12213
  }
@@ -12038,31 +12256,31 @@ var putHandler = normalizeHandler(Run.PUT({ json: Patch }, async (ctx) => {
12038
12256
  return Response.json(snapshot$1());
12039
12257
  }), "PUT");
12040
12258
  var getHandler$13 = normalizeHandler(GET$13, "GET");
12041
- var get27_options = normalizeOptions("GET", mware11, getHandler$13);
12042
- var head27_options = normalizeOptions("HEAD", mware11);
12043
- var put27_options = normalizeOptions("PUT", mware11, putHandler);
12044
- function get27(context) {
12259
+ var get28_options = normalizeOptions("GET", mware11, getHandler$13);
12260
+ var head28_options = normalizeOptions("HEAD", mware11);
12261
+ var put28_options = normalizeOptions("PUT", mware11, putHandler);
12262
+ function get28(context) {
12045
12263
  const __getHandler = (data) => call(getHandler$13, noContent, context, data);
12046
12264
  return call(mware11, __getHandler, context);
12047
12265
  }
12048
- function head27(context) {
12049
- return stripResponseBody(get27(context));
12266
+ function head28(context) {
12267
+ return stripResponseBody(get28(context));
12050
12268
  }
12051
- function put27(context) {
12269
+ function put28(context) {
12052
12270
  const __putHandler = (data) => call(putHandler, noContent, context, data);
12053
12271
  return call(mware11, __putHandler, context);
12054
12272
  }
12055
12273
  //#endregion
12056
12274
  //#region __marko-run__api.setup.js
12057
12275
  var getHandler$12 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await getSetup(ctx.search.refresh))), "GET");
12058
- var get28_options = normalizeOptions("GET", mware11, getHandler$12);
12059
- var head28_options = normalizeOptions("HEAD", mware11);
12060
- function get28(context) {
12276
+ var get29_options = normalizeOptions("GET", mware11, getHandler$12);
12277
+ var head29_options = normalizeOptions("HEAD", mware11);
12278
+ function get29(context) {
12061
12279
  const __getHandler = (data) => call(getHandler$12, noContent, context, data);
12062
12280
  return call(mware11, __getHandler, context);
12063
12281
  }
12064
- function head28(context) {
12065
- return stripResponseBody(get28(context));
12282
+ function head29(context) {
12283
+ return stripResponseBody(get29(context));
12066
12284
  }
12067
12285
  //#endregion
12068
12286
  //#region src/routes/api/setup/$id/+handler.ts
@@ -12083,22 +12301,22 @@ var postHandler$10 = normalizeHandler(Run.POST({ json: Body$2 }, async (ctx) =>
12083
12301
  const body = await readBody(ctx);
12084
12302
  return Response.json(await runSetupAction(ctx.params.id, body.action, { version: body.version }));
12085
12303
  }), "POST");
12086
- var post29_options = normalizeOptions("POST", mware11, postHandler$10);
12087
- function post29(context) {
12304
+ var post30_options = normalizeOptions("POST", mware11, postHandler$10);
12305
+ function post30(context) {
12088
12306
  const __postHandler = (data) => call(postHandler$10, noContent, context, data);
12089
12307
  return call(mware11, __postHandler, context);
12090
12308
  }
12091
12309
  //#endregion
12092
12310
  //#region __marko-run__api.setup.search.js
12093
12311
  var getHandler$11 = normalizeHandler(Run.GET({ search: (value) => ({ q: typeof value.q === "string" ? value.q : "" }) }, async (ctx) => Response.json(await searchMise(ctx.search.q))), "GET");
12094
- var get30_options = normalizeOptions("GET", mware11, getHandler$11);
12095
- var head30_options = normalizeOptions("HEAD", mware11);
12096
- function get30(context) {
12312
+ var get31_options = normalizeOptions("GET", mware11, getHandler$11);
12313
+ var head31_options = normalizeOptions("HEAD", mware11);
12314
+ function get31(context) {
12097
12315
  const __getHandler = (data) => call(getHandler$11, noContent, context, data);
12098
12316
  return call(mware11, __getHandler, context);
12099
12317
  }
12100
- function head30(context) {
12101
- return stripResponseBody(get30(context));
12318
+ function head31(context) {
12319
+ return stripResponseBody(get31(context));
12102
12320
  }
12103
12321
  //#endregion
12104
12322
  //#region src/server/self-update.ts
@@ -12218,17 +12436,17 @@ var GET$10 = Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, a
12218
12436
  //#region __marko-run__api.setup.self.js
12219
12437
  var postHandler$9 = normalizeHandler(Run.POST(async () => Response.json(startSelfUpdate())), "POST");
12220
12438
  var getHandler$10 = normalizeHandler(GET$10, "GET");
12221
- var get31_options = normalizeOptions("GET", mware11, getHandler$10);
12222
- var head31_options = normalizeOptions("HEAD", mware11);
12223
- var post31_options = normalizeOptions("POST", mware11, postHandler$9);
12224
- function get31(context) {
12439
+ var get32_options = normalizeOptions("GET", mware11, getHandler$10);
12440
+ var head32_options = normalizeOptions("HEAD", mware11);
12441
+ var post32_options = normalizeOptions("POST", mware11, postHandler$9);
12442
+ function get32(context) {
12225
12443
  const __getHandler = (data) => call(getHandler$10, noContent, context, data);
12226
12444
  return call(mware11, __getHandler, context);
12227
12445
  }
12228
- function head31(context) {
12229
- return stripResponseBody(get31(context));
12446
+ function head32(context) {
12447
+ return stripResponseBody(get32(context));
12230
12448
  }
12231
- function post31(context) {
12449
+ function post32(context) {
12232
12450
  const __postHandler = (data) => call(postHandler$9, noContent, context, data);
12233
12451
  return call(mware11, __postHandler, context);
12234
12452
  }
@@ -12264,55 +12482,55 @@ var postHandler$8 = normalizeHandler(Run.POST({ json: Body$1 }, async (ctx) => {
12264
12482
  return Response.json(await skillsSnapshot(void 0, [], true));
12265
12483
  }), "POST");
12266
12484
  var getHandler$9 = normalizeHandler(GET$9, "GET");
12267
- var get32_options = normalizeOptions("GET", mware11, getHandler$9);
12268
- var head32_options = normalizeOptions("HEAD", mware11);
12269
- var post32_options = normalizeOptions("POST", mware11, postHandler$8);
12270
- function get32(context) {
12485
+ var get33_options = normalizeOptions("GET", mware11, getHandler$9);
12486
+ var head33_options = normalizeOptions("HEAD", mware11);
12487
+ var post33_options = normalizeOptions("POST", mware11, postHandler$8);
12488
+ function get33(context) {
12271
12489
  const __getHandler = (data) => call(getHandler$9, noContent, context, data);
12272
12490
  return call(mware11, __getHandler, context);
12273
12491
  }
12274
- function head32(context) {
12275
- return stripResponseBody(get32(context));
12492
+ function head33(context) {
12493
+ return stripResponseBody(get33(context));
12276
12494
  }
12277
- function post32(context) {
12495
+ function post33(context) {
12278
12496
  const __postHandler = (data) => call(postHandler$8, noContent, context, data);
12279
12497
  return call(mware11, __postHandler, context);
12280
12498
  }
12281
12499
  //#endregion
12282
12500
  //#region __marko-run__api.skills.search.js
12283
12501
  var getHandler$8 = normalizeHandler(Run.GET({ search: (value) => ({ q: typeof value.q === "string" ? value.q : "" }) }, async (ctx) => Response.json(await searchRegistry(ctx.search.q))), "GET");
12284
- var get33_options = normalizeOptions("GET", mware11, getHandler$8);
12285
- var head33_options = normalizeOptions("HEAD", mware11);
12286
- function get33(context) {
12502
+ var get34_options = normalizeOptions("GET", mware11, getHandler$8);
12503
+ var head34_options = normalizeOptions("HEAD", mware11);
12504
+ function get34(context) {
12287
12505
  const __getHandler = (data) => call(getHandler$8, noContent, context, data);
12288
12506
  return call(mware11, __getHandler, context);
12289
12507
  }
12290
- function head33(context) {
12291
- return stripResponseBody(get33(context));
12508
+ function head34(context) {
12509
+ return stripResponseBody(get34(context));
12292
12510
  }
12293
12511
  //#endregion
12294
12512
  //#region __marko-run__api.status.js
12295
12513
  var getHandler$7 = normalizeHandler(Run.GET({ search: (value) => ({ fresh: "fresh" in value }) }, async (ctx) => Response.json(await (ctx.search.fresh ? statusForAllFresh() : statusForAll()))), "GET");
12296
- var get34_options = normalizeOptions("GET", mware11, getHandler$7);
12297
- var head34_options = normalizeOptions("HEAD", mware11);
12298
- function get34(context) {
12514
+ var get35_options = normalizeOptions("GET", mware11, getHandler$7);
12515
+ var head35_options = normalizeOptions("HEAD", mware11);
12516
+ function get35(context) {
12299
12517
  const __getHandler = (data) => call(getHandler$7, noContent, context, data);
12300
12518
  return call(mware11, __getHandler, context);
12301
12519
  }
12302
- function head34(context) {
12303
- return stripResponseBody(get34(context));
12520
+ function head35(context) {
12521
+ return stripResponseBody(get35(context));
12304
12522
  }
12305
12523
  //#endregion
12306
12524
  //#region __marko-run__api.usage.js
12307
12525
  var getHandler$6 = normalizeHandler(Run.GET({ search: (value) => ({ refresh: "refresh" in value }) }, async (ctx) => Response.json(await usage(ctx.search.refresh))), "GET");
12308
- var get35_options = normalizeOptions("GET", mware11, getHandler$6);
12309
- var head35_options = normalizeOptions("HEAD", mware11);
12310
- function get35(context) {
12526
+ var get36_options = normalizeOptions("GET", mware11, getHandler$6);
12527
+ var head36_options = normalizeOptions("HEAD", mware11);
12528
+ function get36(context) {
12311
12529
  const __getHandler = (data) => call(getHandler$6, noContent, context, data);
12312
12530
  return call(mware11, __getHandler, context);
12313
12531
  }
12314
- function head35(context) {
12315
- return stripResponseBody(get35(context));
12532
+ function head36(context) {
12533
+ return stripResponseBody(get36(context));
12316
12534
  }
12317
12535
  //#endregion
12318
12536
  //#region src/routes/api/workspaces/+handler.ts
@@ -12336,17 +12554,17 @@ var postHandler$7 = normalizeHandler(Run.POST({ json: CreateWorkspace }, async (
12336
12554
  return Response.json(await withProgressOp(body.opId ?? "", () => createWorkspace(body.name, body.repos, { join: body.join })));
12337
12555
  }), "POST");
12338
12556
  var getHandler$5 = normalizeHandler(GET$5, "GET");
12339
- var get36_options = normalizeOptions("GET", mware11, getHandler$5);
12340
- var head36_options = normalizeOptions("HEAD", mware11);
12341
- var post36_options = normalizeOptions("POST", mware11, postHandler$7);
12342
- function get36(context) {
12557
+ var get37_options = normalizeOptions("GET", mware11, getHandler$5);
12558
+ var head37_options = normalizeOptions("HEAD", mware11);
12559
+ var post37_options = normalizeOptions("POST", mware11, postHandler$7);
12560
+ function get37(context) {
12343
12561
  const __getHandler = (data) => call(getHandler$5, noContent, context, data);
12344
12562
  return call(mware11, __getHandler, context);
12345
12563
  }
12346
- function head36(context) {
12347
- return stripResponseBody(get36(context));
12564
+ function head37(context) {
12565
+ return stripResponseBody(get37(context));
12348
12566
  }
12349
- function post36(context) {
12567
+ function post37(context) {
12350
12568
  const __postHandler = (data) => call(postHandler$7, noContent, context, data);
12351
12569
  return call(mware11, __postHandler, context);
12352
12570
  }
@@ -12369,11 +12587,11 @@ var postHandler$6 = normalizeHandler(Run.POST({ json: WorkspaceAction }, async (
12369
12587
  });
12370
12588
  return Response.json({ ok: true });
12371
12589
  }), "POST");
12372
- var post37_options = normalizeOptions("POST", mware11, mware43, postHandler$6);
12373
- function post37(context) {
12590
+ var post38_options = normalizeOptions("POST", mware11, mware44, postHandler$6);
12591
+ function post38(context) {
12374
12592
  const __postHandler = (data) => call(postHandler$6, noContent, context, data);
12375
- const __mware43 = (data) => call(mware43, __postHandler, context, data);
12376
- return call(mware11, __mware43, context);
12593
+ const __mware44 = (data) => call(mware44, __postHandler, context, data);
12594
+ return call(mware11, __mware44, context);
12377
12595
  }
12378
12596
  //#endregion
12379
12597
  //#region src/routes/api/workspaces/$id/assets/+handler.ts
@@ -12392,11 +12610,11 @@ var postHandler$5 = normalizeHandler(Run.POST({ search: (value) => ({ name: type
12392
12610
  fs.writeFileSync(path.join(ws.path, relative), data);
12393
12611
  return Response.json({ path: relative });
12394
12612
  }), "POST");
12395
- var post38_options = normalizeOptions("POST", mware11, mware43, postHandler$5);
12396
- function post38(context) {
12613
+ var post39_options = normalizeOptions("POST", mware11, mware44, postHandler$5);
12614
+ function post39(context) {
12397
12615
  const __postHandler = (data) => call(postHandler$5, noContent, context, data);
12398
- const __mware43 = (data) => call(mware43, __postHandler, context, data);
12399
- return call(mware11, __mware43, context);
12616
+ const __mware44 = (data) => call(mware44, __postHandler, context, data);
12617
+ return call(mware11, __mware44, context);
12400
12618
  }
12401
12619
  //#endregion
12402
12620
  //#region src/server/review.ts
@@ -12947,28 +13165,28 @@ var getHandler$4 = normalizeHandler(Run.GET({ search: (value) => ({
12947
13165
  pr: ctx.search.pr,
12948
13166
  refresh: ctx.search.refresh
12949
13167
  }))), "GET");
12950
- var get39_options = normalizeOptions("GET", mware11, mware43, getHandler$4);
12951
- var head39_options = normalizeOptions("HEAD", mware11, mware43);
12952
- function get39(context) {
13168
+ var get40_options = normalizeOptions("GET", mware11, mware44, getHandler$4);
13169
+ var head40_options = normalizeOptions("HEAD", mware11, mware44);
13170
+ function get40(context) {
12953
13171
  const __getHandler = (data) => call(getHandler$4, noContent, context, data);
12954
- const __mware43 = (data) => call(mware43, __getHandler, context, data);
12955
- return call(mware11, __mware43, context);
13172
+ const __mware44 = (data) => call(mware44, __getHandler, context, data);
13173
+ return call(mware11, __mware44, context);
12956
13174
  }
12957
- function head39(context) {
12958
- return stripResponseBody(get39(context));
13175
+ function head40(context) {
13176
+ return stripResponseBody(get40(context));
12959
13177
  }
12960
13178
  //#endregion
12961
13179
  //#region __marko-run__api.workspaces.$.procs.js
12962
13180
  var getHandler$3 = normalizeHandler(Run.GET(async (ctx) => Response.json(await workspaceProcs(ctx.data.workspace.path))), "GET");
12963
- var get40_options = normalizeOptions("GET", mware11, mware43, getHandler$3);
12964
- var head40_options = normalizeOptions("HEAD", mware11, mware43);
12965
- function get40(context) {
13181
+ var get41_options = normalizeOptions("GET", mware11, mware44, getHandler$3);
13182
+ var head41_options = normalizeOptions("HEAD", mware11, mware44);
13183
+ function get41(context) {
12966
13184
  const __getHandler = (data) => call(getHandler$3, noContent, context, data);
12967
- const __mware43 = (data) => call(mware43, __getHandler, context, data);
12968
- return call(mware11, __mware43, context);
13185
+ const __mware44 = (data) => call(mware44, __getHandler, context, data);
13186
+ return call(mware11, __mware44, context);
12969
13187
  }
12970
- function head40(context) {
12971
- return stripResponseBody(get40(context));
13188
+ function head41(context) {
13189
+ return stripResponseBody(get41(context));
12972
13190
  }
12973
13191
  //#endregion
12974
13192
  //#region src/routes/api/workspaces/$id/prs/+handler.ts
@@ -13005,11 +13223,11 @@ async function pruneDismissedLane(ws, fullName, number) {
13005
13223
  //#endregion
13006
13224
  //#region __marko-run__api.workspaces.$.prs.js
13007
13225
  var postHandler$4 = normalizeHandler(POST$4, "POST");
13008
- var post41_options = normalizeOptions("POST", mware11, mware43, postHandler$4);
13009
- function post41(context) {
13226
+ var post42_options = normalizeOptions("POST", mware11, mware44, postHandler$4);
13227
+ function post42(context) {
13010
13228
  const __postHandler = (data) => call(postHandler$4, noContent, context, data);
13011
- const __mware43 = (data) => call(mware43, __postHandler, context, data);
13012
- return call(mware11, __mware43, context);
13229
+ const __mware44 = (data) => call(mware44, __postHandler, context, data);
13230
+ return call(mware11, __mware44, context);
13013
13231
  }
13014
13232
  //#endregion
13015
13233
  //#region src/routes/api/workspaces/$id/repos/+handler.ts
@@ -13024,11 +13242,11 @@ var postHandler$3 = normalizeHandler(Run.POST({ json: AddRepo }, async (ctx) =>
13024
13242
  const body = await readBody(ctx);
13025
13243
  return Response.json(await withProgressOp(ctx.params.id, () => addRepo$1(ctx.params.id, body.fullName, body.baseBranch, body.fork)));
13026
13244
  }), "POST");
13027
- var post42_options = normalizeOptions("POST", mware11, mware43, postHandler$3);
13028
- function post42(context) {
13245
+ var post43_options = normalizeOptions("POST", mware11, mware44, postHandler$3);
13246
+ function post43(context) {
13029
13247
  const __postHandler = (data) => call(postHandler$3, noContent, context, data);
13030
- const __mware43 = (data) => call(mware43, __postHandler, context, data);
13031
- return call(mware11, __mware43, context);
13248
+ const __mware44 = (data) => call(mware44, __postHandler, context, data);
13249
+ return call(mware11, __mware44, context);
13032
13250
  }
13033
13251
  //#endregion
13034
13252
  //#region __marko-run__api.workspaces.$.repos.$.js
@@ -13036,11 +13254,11 @@ var deleteHandler$1 = normalizeHandler(Run.DELETE(async (ctx) => {
13036
13254
  await withProgressOp(ctx.params.id, () => removeRepo(ctx.params.id, ctx.params.worktree));
13037
13255
  return Response.json({ ok: true });
13038
13256
  }), "DELETE");
13039
- var delete43_options = normalizeOptions("DELETE", mware11, mware43, deleteHandler$1);
13040
- function delete43(context) {
13257
+ var delete44_options = normalizeOptions("DELETE", mware11, mware44, deleteHandler$1);
13258
+ function delete44(context) {
13041
13259
  const __deleteHandler = (data) => call(deleteHandler$1, noContent, context, data);
13042
- const __mware43 = (data) => call(mware43, __deleteHandler, context, data);
13043
- return call(mware11, __mware43, context);
13260
+ const __mware44 = (data) => call(mware44, __deleteHandler, context, data);
13261
+ return call(mware11, __mware44, context);
13044
13262
  }
13045
13263
  //#endregion
13046
13264
  //#region src/routes/api/workspaces/$id/review/+handler.ts
@@ -13086,21 +13304,21 @@ var postHandler$2 = normalizeHandler(Run.POST({ json: ReviewAction }, async (ctx
13086
13304
  return Response.json({ ok: true });
13087
13305
  }), "POST");
13088
13306
  var getHandler$2 = normalizeHandler(GET$2, "GET");
13089
- var get44_options = normalizeOptions("GET", mware11, mware43, getHandler$2);
13090
- var head44_options = normalizeOptions("HEAD", mware11, mware43);
13091
- var post44_options = normalizeOptions("POST", mware11, mware43, postHandler$2);
13092
- function get44(context) {
13307
+ var get45_options = normalizeOptions("GET", mware11, mware44, getHandler$2);
13308
+ var head45_options = normalizeOptions("HEAD", mware11, mware44);
13309
+ var post45_options = normalizeOptions("POST", mware11, mware44, postHandler$2);
13310
+ function get45(context) {
13093
13311
  const __getHandler = (data) => call(getHandler$2, noContent, context, data);
13094
- const __mware43 = (data) => call(mware43, __getHandler, context, data);
13095
- return call(mware11, __mware43, context);
13312
+ const __mware44 = (data) => call(mware44, __getHandler, context, data);
13313
+ return call(mware11, __mware44, context);
13096
13314
  }
13097
- function head44(context) {
13098
- return stripResponseBody(get44(context));
13315
+ function head45(context) {
13316
+ return stripResponseBody(get45(context));
13099
13317
  }
13100
- function post44(context) {
13318
+ function post45(context) {
13101
13319
  const __postHandler = (data) => call(postHandler$2, noContent, context, data);
13102
- const __mware43 = (data) => call(mware43, __postHandler, context, data);
13103
- return call(mware11, __mware43, context);
13320
+ const __mware44 = (data) => call(mware44, __postHandler, context, data);
13321
+ return call(mware11, __mware44, context);
13104
13322
  }
13105
13323
  //#endregion
13106
13324
  //#region src/routes/api/workspaces/$id/review/$commentId/+handler.ts
@@ -13132,17 +13350,17 @@ var deleteHandler = normalizeHandler(Run.DELETE({ params: ({ id, commentId }) =>
13132
13350
  return Response.json({ ok: true });
13133
13351
  }), "DELETE");
13134
13352
  var patchHandler = normalizeHandler(PATCH, "PATCH");
13135
- var delete45_options = normalizeOptions("DELETE", mware11, mware43, deleteHandler);
13136
- var patch45_options = normalizeOptions("PATCH", mware11, mware43, patchHandler);
13137
- function delete45(context) {
13353
+ var delete46_options = normalizeOptions("DELETE", mware11, mware44, deleteHandler);
13354
+ var patch46_options = normalizeOptions("PATCH", mware11, mware44, patchHandler);
13355
+ function delete46(context) {
13138
13356
  const __deleteHandler = (data) => call(deleteHandler, noContent, context, data);
13139
- const __mware43 = (data) => call(mware43, __deleteHandler, context, data);
13140
- return call(mware11, __mware43, context);
13357
+ const __mware44 = (data) => call(mware44, __deleteHandler, context, data);
13358
+ return call(mware11, __mware44, context);
13141
13359
  }
13142
- function patch45(context) {
13360
+ function patch46(context) {
13143
13361
  const __patchHandler = (data) => call(patchHandler, noContent, context, data);
13144
- const __mware43 = (data) => call(mware43, __patchHandler, context, data);
13145
- return call(mware11, __mware43, context);
13362
+ const __mware44 = (data) => call(mware44, __patchHandler, context, data);
13363
+ return call(mware11, __mware44, context);
13146
13364
  }
13147
13365
  //#endregion
13148
13366
  //#region src/routes/api/workspaces/$id/sessions/+handler.ts
@@ -13161,21 +13379,21 @@ var postHandler$1 = normalizeHandler(Run.POST({ json: CreateSession }, async (ct
13161
13379
  return Response.json(createSession(ctx.params.id, body.agent || preferredAgent()));
13162
13380
  }), "POST");
13163
13381
  var getHandler$1 = normalizeHandler(GET$1, "GET");
13164
- var get46_options = normalizeOptions("GET", mware11, mware43, getHandler$1);
13165
- var head46_options = normalizeOptions("HEAD", mware11, mware43);
13166
- var post46_options = normalizeOptions("POST", mware11, mware43, postHandler$1);
13167
- function get46(context) {
13382
+ var get47_options = normalizeOptions("GET", mware11, mware44, getHandler$1);
13383
+ var head47_options = normalizeOptions("HEAD", mware11, mware44);
13384
+ var post47_options = normalizeOptions("POST", mware11, mware44, postHandler$1);
13385
+ function get47(context) {
13168
13386
  const __getHandler = (data) => call(getHandler$1, noContent, context, data);
13169
- const __mware43 = (data) => call(mware43, __getHandler, context, data);
13170
- return call(mware11, __mware43, context);
13387
+ const __mware44 = (data) => call(mware44, __getHandler, context, data);
13388
+ return call(mware11, __mware44, context);
13171
13389
  }
13172
- function head46(context) {
13173
- return stripResponseBody(get46(context));
13390
+ function head47(context) {
13391
+ return stripResponseBody(get47(context));
13174
13392
  }
13175
- function post46(context) {
13393
+ function post47(context) {
13176
13394
  const __postHandler = (data) => call(postHandler$1, noContent, context, data);
13177
- const __mware43 = (data) => call(mware43, __postHandler, context, data);
13178
- return call(mware11, __mware43, context);
13395
+ const __mware44 = (data) => call(mware44, __postHandler, context, data);
13396
+ return call(mware11, __mware44, context);
13179
13397
  }
13180
13398
  //#endregion
13181
13399
  //#region src/routes/api/workspaces/$id/skills/+handler.ts
@@ -13229,21 +13447,21 @@ var postHandler = normalizeHandler(Run.POST({ json: Body }, async (ctx) => {
13229
13447
  return Response.json(await snapshot(wsId, true));
13230
13448
  }), "POST");
13231
13449
  var getHandler = normalizeHandler(GET, "GET");
13232
- var get47_options = normalizeOptions("GET", mware11, mware43, getHandler);
13233
- var head47_options = normalizeOptions("HEAD", mware11, mware43);
13234
- var post47_options = normalizeOptions("POST", mware11, mware43, postHandler);
13235
- function get47(context) {
13450
+ var get48_options = normalizeOptions("GET", mware11, mware44, getHandler);
13451
+ var head48_options = normalizeOptions("HEAD", mware11, mware44);
13452
+ var post48_options = normalizeOptions("POST", mware11, mware44, postHandler);
13453
+ function get48(context) {
13236
13454
  const __getHandler = (data) => call(getHandler, noContent, context, data);
13237
- const __mware43 = (data) => call(mware43, __getHandler, context, data);
13238
- return call(mware11, __mware43, context);
13455
+ const __mware44 = (data) => call(mware44, __getHandler, context, data);
13456
+ return call(mware11, __mware44, context);
13239
13457
  }
13240
- function head47(context) {
13241
- return stripResponseBody(get47(context));
13458
+ function head48(context) {
13459
+ return stripResponseBody(get48(context));
13242
13460
  }
13243
- function post47(context) {
13461
+ function post48(context) {
13244
13462
  const __postHandler = (data) => call(postHandler, noContent, context, data);
13245
- const __mware43 = (data) => call(mware43, __postHandler, context, data);
13246
- return call(mware11, __mware43, context);
13463
+ const __mware44 = (data) => call(mware44, __postHandler, context, data);
13464
+ return call(mware11, __mware44, context);
13247
13465
  }
13248
13466
  //#endregion
13249
13467
  //#region __marko-run__router.js
@@ -13340,73 +13558,73 @@ function match_internal(method, pathname) {
13340
13558
  meta: {}
13341
13559
  };
13342
13560
  case "prefs": return {
13343
- handler: get18,
13561
+ handler: get19,
13344
13562
  path: "/api/prefs",
13345
13563
  params: {},
13346
- options: get18_options,
13564
+ options: get19_options,
13347
13565
  meta: {}
13348
13566
  };
13349
13567
  case "progress": return {
13350
- handler: get20,
13568
+ handler: get21,
13351
13569
  path: "/api/progress",
13352
13570
  params: {},
13353
- options: get20_options,
13571
+ options: get21_options,
13354
13572
  meta: {}
13355
13573
  };
13356
13574
  case "push": return {
13357
- handler: get21,
13575
+ handler: get22,
13358
13576
  path: "/api/push",
13359
13577
  params: {},
13360
- options: get21_options,
13578
+ options: get22_options,
13361
13579
  meta: {}
13362
13580
  };
13363
13581
  case "repos": return {
13364
- handler: get23,
13582
+ handler: get24,
13365
13583
  path: "/api/repos",
13366
13584
  params: {},
13367
- options: get23_options,
13585
+ options: get24_options,
13368
13586
  meta: {}
13369
13587
  };
13370
13588
  case "settings": return {
13371
- handler: get27,
13589
+ handler: get28,
13372
13590
  path: "/api/settings",
13373
13591
  params: {},
13374
- options: get27_options,
13592
+ options: get28_options,
13375
13593
  meta: {}
13376
13594
  };
13377
13595
  case "setup": return {
13378
- handler: get28,
13596
+ handler: get29,
13379
13597
  path: "/api/setup",
13380
13598
  params: {},
13381
- options: get28_options,
13599
+ options: get29_options,
13382
13600
  meta: {}
13383
13601
  };
13384
13602
  case "skills": return {
13385
- handler: get32,
13603
+ handler: get33,
13386
13604
  path: "/api/skills",
13387
13605
  params: {},
13388
- options: get32_options,
13606
+ options: get33_options,
13389
13607
  meta: {}
13390
13608
  };
13391
13609
  case "status": return {
13392
- handler: get34,
13610
+ handler: get35,
13393
13611
  path: "/api/status",
13394
13612
  params: {},
13395
- options: get34_options,
13613
+ options: get35_options,
13396
13614
  meta: {}
13397
13615
  };
13398
13616
  case "usage": return {
13399
- handler: get35,
13617
+ handler: get36,
13400
13618
  path: "/api/usage",
13401
13619
  params: {},
13402
- options: get35_options,
13620
+ options: get36_options,
13403
13621
  meta: {}
13404
13622
  };
13405
13623
  case "workspaces": return {
13406
- handler: get36,
13624
+ handler: get37,
13407
13625
  path: "/api/workspaces",
13408
13626
  params: {},
13409
- options: get36_options,
13627
+ options: get37_options,
13410
13628
  meta: {}
13411
13629
  };
13412
13630
  }
@@ -13436,13 +13654,20 @@ function match_internal(method, pathname) {
13436
13654
  options: get16_options,
13437
13655
  meta: {}
13438
13656
  };
13439
- case "manifest": return {
13657
+ case "icon-png": return {
13440
13658
  handler: get17,
13441
- path: "/api/instance/manifest",
13659
+ path: "/api/instance/icon-png",
13442
13660
  params: {},
13443
13661
  options: get17_options,
13444
13662
  meta: {}
13445
13663
  };
13664
+ case "manifest": return {
13665
+ handler: get18,
13666
+ path: "/api/instance/manifest",
13667
+ params: {},
13668
+ options: get18_options,
13669
+ meta: {}
13670
+ };
13446
13671
  }
13447
13672
  }
13448
13673
  break;
@@ -13451,10 +13676,10 @@ function match_internal(method, pathname) {
13451
13676
  const i3 = pathname.indexOf("/", 11) + 1;
13452
13677
  if (!i3 || i3 === len) {
13453
13678
  if (pathname.slice(11, i3 ? -1 : len) === "branches") return {
13454
- handler: get24,
13679
+ handler: get25,
13455
13680
  path: "/api/repos/branches",
13456
13681
  params: {},
13457
- options: get24_options,
13682
+ options: get25_options,
13458
13683
  meta: {}
13459
13684
  };
13460
13685
  }
@@ -13465,17 +13690,17 @@ function match_internal(method, pathname) {
13465
13690
  const i3 = pathname.indexOf("/", 11) + 1;
13466
13691
  if (!i3 || i3 === len) switch (pathname.slice(11, i3 ? -1 : len)) {
13467
13692
  case "search": return {
13468
- handler: get30,
13693
+ handler: get31,
13469
13694
  path: "/api/setup/search",
13470
13695
  params: {},
13471
- options: get30_options,
13696
+ options: get31_options,
13472
13697
  meta: {}
13473
13698
  };
13474
13699
  case "self": return {
13475
- handler: get31,
13700
+ handler: get32,
13476
13701
  path: "/api/setup/self",
13477
13702
  params: {},
13478
- options: get31_options,
13703
+ options: get32_options,
13479
13704
  meta: {}
13480
13705
  };
13481
13706
  }
@@ -13486,10 +13711,10 @@ function match_internal(method, pathname) {
13486
13711
  const i3 = pathname.indexOf("/", 12) + 1;
13487
13712
  if (!i3 || i3 === len) {
13488
13713
  if (pathname.slice(12, i3 ? -1 : len) === "search") return {
13489
- handler: get33,
13714
+ handler: get34,
13490
13715
  path: "/api/skills/search",
13491
13716
  params: {},
13492
- options: get33_options,
13717
+ options: get34_options,
13493
13718
  meta: {}
13494
13719
  };
13495
13720
  }
@@ -13503,38 +13728,38 @@ function match_internal(method, pathname) {
13503
13728
  const i4 = pathname.indexOf("/", i3) + 1;
13504
13729
  if (!i4 || i4 === len) switch (pathname.slice(i3, i4 ? -1 : len)) {
13505
13730
  case "diff": return {
13506
- handler: get39,
13731
+ handler: get40,
13507
13732
  path: "/api/workspaces/$id/diff",
13508
13733
  params: { id: s3 },
13509
- options: get39_options,
13734
+ options: get40_options,
13510
13735
  meta: {}
13511
13736
  };
13512
13737
  case "procs": return {
13513
- handler: get40,
13738
+ handler: get41,
13514
13739
  path: "/api/workspaces/$id/procs",
13515
13740
  params: { id: s3 },
13516
- options: get40_options,
13741
+ options: get41_options,
13517
13742
  meta: {}
13518
13743
  };
13519
13744
  case "review": return {
13520
- handler: get44,
13745
+ handler: get45,
13521
13746
  path: "/api/workspaces/$id/review",
13522
13747
  params: { id: s3 },
13523
- options: get44_options,
13748
+ options: get45_options,
13524
13749
  meta: {}
13525
13750
  };
13526
13751
  case "sessions": return {
13527
- handler: get46,
13752
+ handler: get47,
13528
13753
  path: "/api/workspaces/$id/sessions",
13529
13754
  params: { id: s3 },
13530
- options: get46_options,
13755
+ options: get47_options,
13531
13756
  meta: {}
13532
13757
  };
13533
13758
  case "skills": return {
13534
- handler: get47,
13759
+ handler: get48,
13535
13760
  path: "/api/workspaces/$id/skills",
13536
13761
  params: { id: s3 },
13537
- options: get47_options,
13762
+ options: get48_options,
13538
13763
  meta: {}
13539
13764
  };
13540
13765
  }
@@ -13627,73 +13852,73 @@ function match_internal(method, pathname) {
13627
13852
  meta: {}
13628
13853
  };
13629
13854
  case "prefs": return {
13630
- handler: head18,
13855
+ handler: head19,
13631
13856
  path: "/api/prefs",
13632
13857
  params: {},
13633
- options: head18_options,
13858
+ options: head19_options,
13634
13859
  meta: {}
13635
13860
  };
13636
13861
  case "progress": return {
13637
- handler: head20,
13862
+ handler: head21,
13638
13863
  path: "/api/progress",
13639
13864
  params: {},
13640
- options: head20_options,
13865
+ options: head21_options,
13641
13866
  meta: {}
13642
13867
  };
13643
13868
  case "push": return {
13644
- handler: head21,
13869
+ handler: head22,
13645
13870
  path: "/api/push",
13646
13871
  params: {},
13647
- options: head21_options,
13872
+ options: head22_options,
13648
13873
  meta: {}
13649
13874
  };
13650
13875
  case "repos": return {
13651
- handler: head23,
13876
+ handler: head24,
13652
13877
  path: "/api/repos",
13653
13878
  params: {},
13654
- options: head23_options,
13879
+ options: head24_options,
13655
13880
  meta: {}
13656
13881
  };
13657
13882
  case "settings": return {
13658
- handler: head27,
13883
+ handler: head28,
13659
13884
  path: "/api/settings",
13660
13885
  params: {},
13661
- options: head27_options,
13886
+ options: head28_options,
13662
13887
  meta: {}
13663
13888
  };
13664
13889
  case "setup": return {
13665
- handler: head28,
13890
+ handler: head29,
13666
13891
  path: "/api/setup",
13667
13892
  params: {},
13668
- options: head28_options,
13893
+ options: head29_options,
13669
13894
  meta: {}
13670
13895
  };
13671
13896
  case "skills": return {
13672
- handler: head32,
13897
+ handler: head33,
13673
13898
  path: "/api/skills",
13674
13899
  params: {},
13675
- options: head32_options,
13900
+ options: head33_options,
13676
13901
  meta: {}
13677
13902
  };
13678
13903
  case "status": return {
13679
- handler: head34,
13904
+ handler: head35,
13680
13905
  path: "/api/status",
13681
13906
  params: {},
13682
- options: head34_options,
13907
+ options: head35_options,
13683
13908
  meta: {}
13684
13909
  };
13685
13910
  case "usage": return {
13686
- handler: head35,
13911
+ handler: head36,
13687
13912
  path: "/api/usage",
13688
13913
  params: {},
13689
- options: head35_options,
13914
+ options: head36_options,
13690
13915
  meta: {}
13691
13916
  };
13692
13917
  case "workspaces": return {
13693
- handler: head36,
13918
+ handler: head37,
13694
13919
  path: "/api/workspaces",
13695
13920
  params: {},
13696
- options: head36_options,
13921
+ options: head37_options,
13697
13922
  meta: {}
13698
13923
  };
13699
13924
  }
@@ -13723,13 +13948,20 @@ function match_internal(method, pathname) {
13723
13948
  options: head16_options,
13724
13949
  meta: {}
13725
13950
  };
13726
- case "manifest": return {
13951
+ case "icon-png": return {
13727
13952
  handler: head17,
13728
- path: "/api/instance/manifest",
13953
+ path: "/api/instance/icon-png",
13729
13954
  params: {},
13730
13955
  options: head17_options,
13731
13956
  meta: {}
13732
13957
  };
13958
+ case "manifest": return {
13959
+ handler: head18,
13960
+ path: "/api/instance/manifest",
13961
+ params: {},
13962
+ options: head18_options,
13963
+ meta: {}
13964
+ };
13733
13965
  }
13734
13966
  }
13735
13967
  break;
@@ -13738,10 +13970,10 @@ function match_internal(method, pathname) {
13738
13970
  const i3 = pathname.indexOf("/", 11) + 1;
13739
13971
  if (!i3 || i3 === len) {
13740
13972
  if (pathname.slice(11, i3 ? -1 : len) === "branches") return {
13741
- handler: head24,
13973
+ handler: head25,
13742
13974
  path: "/api/repos/branches",
13743
13975
  params: {},
13744
- options: head24_options,
13976
+ options: head25_options,
13745
13977
  meta: {}
13746
13978
  };
13747
13979
  }
@@ -13752,17 +13984,17 @@ function match_internal(method, pathname) {
13752
13984
  const i3 = pathname.indexOf("/", 11) + 1;
13753
13985
  if (!i3 || i3 === len) switch (pathname.slice(11, i3 ? -1 : len)) {
13754
13986
  case "search": return {
13755
- handler: head30,
13987
+ handler: head31,
13756
13988
  path: "/api/setup/search",
13757
13989
  params: {},
13758
- options: head30_options,
13990
+ options: head31_options,
13759
13991
  meta: {}
13760
13992
  };
13761
13993
  case "self": return {
13762
- handler: head31,
13994
+ handler: head32,
13763
13995
  path: "/api/setup/self",
13764
13996
  params: {},
13765
- options: head31_options,
13997
+ options: head32_options,
13766
13998
  meta: {}
13767
13999
  };
13768
14000
  }
@@ -13773,10 +14005,10 @@ function match_internal(method, pathname) {
13773
14005
  const i3 = pathname.indexOf("/", 12) + 1;
13774
14006
  if (!i3 || i3 === len) {
13775
14007
  if (pathname.slice(12, i3 ? -1 : len) === "search") return {
13776
- handler: head33,
14008
+ handler: head34,
13777
14009
  path: "/api/skills/search",
13778
14010
  params: {},
13779
- options: head33_options,
14011
+ options: head34_options,
13780
14012
  meta: {}
13781
14013
  };
13782
14014
  }
@@ -13790,38 +14022,38 @@ function match_internal(method, pathname) {
13790
14022
  const i4 = pathname.indexOf("/", i3) + 1;
13791
14023
  if (!i4 || i4 === len) switch (pathname.slice(i3, i4 ? -1 : len)) {
13792
14024
  case "diff": return {
13793
- handler: head39,
14025
+ handler: head40,
13794
14026
  path: "/api/workspaces/$id/diff",
13795
14027
  params: { id: s3 },
13796
- options: head39_options,
14028
+ options: head40_options,
13797
14029
  meta: {}
13798
14030
  };
13799
14031
  case "procs": return {
13800
- handler: head40,
14032
+ handler: head41,
13801
14033
  path: "/api/workspaces/$id/procs",
13802
14034
  params: { id: s3 },
13803
- options: head40_options,
14035
+ options: head41_options,
13804
14036
  meta: {}
13805
14037
  };
13806
14038
  case "review": return {
13807
- handler: head44,
14039
+ handler: head45,
13808
14040
  path: "/api/workspaces/$id/review",
13809
14041
  params: { id: s3 },
13810
- options: head44_options,
14042
+ options: head45_options,
13811
14043
  meta: {}
13812
14044
  };
13813
14045
  case "sessions": return {
13814
- handler: head46,
14046
+ handler: head47,
13815
14047
  path: "/api/workspaces/$id/sessions",
13816
14048
  params: { id: s3 },
13817
- options: head46_options,
14049
+ options: head47_options,
13818
14050
  meta: {}
13819
14051
  };
13820
14052
  case "skills": return {
13821
- handler: head47,
14053
+ handler: head48,
13822
14054
  path: "/api/workspaces/$id/skills",
13823
14055
  params: { id: s3 },
13824
- options: head47_options,
14056
+ options: head48_options,
13825
14057
  meta: {}
13826
14058
  };
13827
14059
  }
@@ -13849,38 +14081,38 @@ function match_internal(method, pathname) {
13849
14081
  meta: {}
13850
14082
  };
13851
14083
  case "prefs": return {
13852
- handler: post18,
14084
+ handler: post19,
13853
14085
  path: "/api/prefs",
13854
14086
  params: {},
13855
- options: post18_options,
14087
+ options: post19_options,
13856
14088
  meta: {}
13857
14089
  };
13858
14090
  case "push": return {
13859
- handler: post21,
14091
+ handler: post22,
13860
14092
  path: "/api/push",
13861
14093
  params: {},
13862
- options: post21_options,
14094
+ options: post22_options,
13863
14095
  meta: {}
13864
14096
  };
13865
14097
  case "repo-pushed": return {
13866
- handler: post22,
14098
+ handler: post23,
13867
14099
  path: "/api/repo-pushed",
13868
14100
  params: {},
13869
- options: post22_options,
14101
+ options: post23_options,
13870
14102
  meta: {}
13871
14103
  };
13872
14104
  case "skills": return {
13873
- handler: post32,
14105
+ handler: post33,
13874
14106
  path: "/api/skills",
13875
14107
  params: {},
13876
- options: post32_options,
14108
+ options: post33_options,
13877
14109
  meta: {}
13878
14110
  };
13879
14111
  case "workspaces": return {
13880
- handler: post36,
14112
+ handler: post37,
13881
14113
  path: "/api/workspaces",
13882
14114
  params: {},
13883
- options: post36_options,
14115
+ options: post37_options,
13884
14116
  meta: {}
13885
14117
  };
13886
14118
  }
@@ -13943,10 +14175,10 @@ function match_internal(method, pathname) {
13943
14175
  const i4 = pathname.indexOf("/", i3) + 1;
13944
14176
  if (!i4 || i4 === len) {
13945
14177
  if (pathname.slice(i3, i4 ? -1 : len) === "send") return {
13946
- handler: post26,
14178
+ handler: post27,
13947
14179
  path: "/api/sessions/$id/send",
13948
14180
  params: { id: s3 },
13949
- options: post26_options,
14181
+ options: post27_options,
13950
14182
  meta: {}
13951
14183
  };
13952
14184
  }
@@ -13960,17 +14192,17 @@ function match_internal(method, pathname) {
13960
14192
  if (!i3 || i3 === len) {
13961
14193
  const s3 = decodeURIComponent(pathname.slice(11, i3 ? -1 : len));
13962
14194
  if (s3 === "self") return {
13963
- handler: post31,
14195
+ handler: post32,
13964
14196
  path: "/api/setup/self",
13965
14197
  params: {},
13966
- options: post31_options,
14198
+ options: post32_options,
13967
14199
  meta: {}
13968
14200
  };
13969
14201
  if (s3) return {
13970
- handler: post29,
14202
+ handler: post30,
13971
14203
  path: "/api/setup/$id",
13972
14204
  params: { id: s3 },
13973
- options: post29_options,
14205
+ options: post30_options,
13974
14206
  meta: {}
13975
14207
  };
13976
14208
  }
@@ -13981,10 +14213,10 @@ function match_internal(method, pathname) {
13981
14213
  if (!i3 || i3 === len) {
13982
14214
  const s3 = decodeURIComponent(pathname.slice(16, i3 ? -1 : len));
13983
14215
  if (s3) return {
13984
- handler: post37,
14216
+ handler: post38,
13985
14217
  path: "/api/workspaces/$id",
13986
14218
  params: { id: s3 },
13987
- options: post37_options,
14219
+ options: post38_options,
13988
14220
  meta: {}
13989
14221
  };
13990
14222
  } else {
@@ -13993,45 +14225,45 @@ function match_internal(method, pathname) {
13993
14225
  const i4 = pathname.indexOf("/", i3) + 1;
13994
14226
  if (!i4 || i4 === len) switch (pathname.slice(i3, i4 ? -1 : len)) {
13995
14227
  case "assets": return {
13996
- handler: post38,
14228
+ handler: post39,
13997
14229
  path: "/api/workspaces/$id/assets",
13998
14230
  params: { id: s3 },
13999
- options: post38_options,
14231
+ options: post39_options,
14000
14232
  meta: {}
14001
14233
  };
14002
14234
  case "prs": return {
14003
- handler: post41,
14235
+ handler: post42,
14004
14236
  path: "/api/workspaces/$id/prs",
14005
14237
  params: { id: s3 },
14006
- options: post41_options,
14238
+ options: post42_options,
14007
14239
  meta: {}
14008
14240
  };
14009
14241
  case "repos": return {
14010
- handler: post42,
14242
+ handler: post43,
14011
14243
  path: "/api/workspaces/$id/repos",
14012
14244
  params: { id: s3 },
14013
- options: post42_options,
14245
+ options: post43_options,
14014
14246
  meta: {}
14015
14247
  };
14016
14248
  case "review": return {
14017
- handler: post44,
14249
+ handler: post45,
14018
14250
  path: "/api/workspaces/$id/review",
14019
14251
  params: { id: s3 },
14020
- options: post44_options,
14252
+ options: post45_options,
14021
14253
  meta: {}
14022
14254
  };
14023
14255
  case "sessions": return {
14024
- handler: post46,
14256
+ handler: post47,
14025
14257
  path: "/api/workspaces/$id/sessions",
14026
14258
  params: { id: s3 },
14027
- options: post46_options,
14259
+ options: post47_options,
14028
14260
  meta: {}
14029
14261
  };
14030
14262
  case "skills": return {
14031
- handler: post47,
14263
+ handler: post48,
14032
14264
  path: "/api/workspaces/$id/skills",
14033
14265
  params: { id: s3 },
14034
- options: post47_options,
14266
+ options: post48_options,
14035
14267
  meta: {}
14036
14268
  };
14037
14269
  }
@@ -14052,10 +14284,10 @@ function match_internal(method, pathname) {
14052
14284
  const i2 = pathname.indexOf("/", 5) + 1;
14053
14285
  if (!i2 || i2 === len) {
14054
14286
  if (pathname.slice(5, i2 ? -1 : len) === "settings") return {
14055
- handler: put27,
14287
+ handler: put28,
14056
14288
  path: "/api/settings",
14057
14289
  params: {},
14058
- options: put27_options,
14290
+ options: put28_options,
14059
14291
  meta: {}
14060
14292
  };
14061
14293
  }
@@ -14072,10 +14304,10 @@ function match_internal(method, pathname) {
14072
14304
  const i2 = pathname.indexOf("/", 5) + 1;
14073
14305
  if (!i2 || i2 === len) {
14074
14306
  if (pathname.slice(5, i2 ? -1 : len) === "push") return {
14075
- handler: delete21,
14307
+ handler: delete22,
14076
14308
  path: "/api/push",
14077
14309
  params: {},
14078
- options: delete21_options,
14310
+ options: delete22_options,
14079
14311
  meta: {}
14080
14312
  };
14081
14313
  } else switch (pathname.slice(5, i2 - 1)) {
@@ -14085,10 +14317,10 @@ function match_internal(method, pathname) {
14085
14317
  if (!i3 || i3 === len) {
14086
14318
  const s3 = decodeURIComponent(pathname.slice(11, i3 ? -1 : len));
14087
14319
  if (s3) return {
14088
- handler: delete19,
14320
+ handler: delete20,
14089
14321
  path: "/api/procs/$pid",
14090
14322
  params: { pid: s3 },
14091
- options: delete19_options,
14323
+ options: delete20_options,
14092
14324
  meta: {}
14093
14325
  };
14094
14326
  }
@@ -14100,10 +14332,10 @@ function match_internal(method, pathname) {
14100
14332
  if (!i3 || i3 === len) {
14101
14333
  const s3 = decodeURIComponent(pathname.slice(14, i3 ? -1 : len));
14102
14334
  if (s3) return {
14103
- handler: delete25,
14335
+ handler: delete26,
14104
14336
  path: "/api/sessions/$id",
14105
14337
  params: { id: s3 },
14106
- options: delete25_options,
14338
+ options: delete26_options,
14107
14339
  meta: {}
14108
14340
  };
14109
14341
  }
@@ -14122,13 +14354,13 @@ function match_internal(method, pathname) {
14122
14354
  if (!i5 || i5 === len) {
14123
14355
  const s5 = decodeURIComponent(pathname.slice(i4, i5 ? -1 : len));
14124
14356
  if (s5) return {
14125
- handler: delete43,
14357
+ handler: delete44,
14126
14358
  path: "/api/workspaces/$id/repos/$worktree",
14127
14359
  params: {
14128
14360
  id: s3,
14129
14361
  worktree: s5
14130
14362
  },
14131
- options: delete43_options,
14363
+ options: delete44_options,
14132
14364
  meta: {}
14133
14365
  };
14134
14366
  }
@@ -14139,13 +14371,13 @@ function match_internal(method, pathname) {
14139
14371
  if (!i5 || i5 === len) {
14140
14372
  const s5 = decodeURIComponent(pathname.slice(i4, i5 ? -1 : len));
14141
14373
  if (s5) return {
14142
- handler: delete45,
14374
+ handler: delete46,
14143
14375
  path: "/api/workspaces/$id/review/$commentId",
14144
14376
  params: {
14145
14377
  id: s3,
14146
14378
  commentId: s5
14147
14379
  },
14148
- options: delete45_options,
14380
+ options: delete46_options,
14149
14381
  meta: {}
14150
14382
  };
14151
14383
  }
@@ -14173,10 +14405,10 @@ function match_internal(method, pathname) {
14173
14405
  if (!i3 || i3 === len) {
14174
14406
  const s3 = decodeURIComponent(pathname.slice(14, i3 ? -1 : len));
14175
14407
  if (s3) return {
14176
- handler: patch25,
14408
+ handler: patch26,
14177
14409
  path: "/api/sessions/$id",
14178
14410
  params: { id: s3 },
14179
- options: patch25_options,
14411
+ options: patch26_options,
14180
14412
  meta: {}
14181
14413
  };
14182
14414
  }
@@ -14194,13 +14426,13 @@ function match_internal(method, pathname) {
14194
14426
  if (!i5 || i5 === len) {
14195
14427
  const s5 = decodeURIComponent(pathname.slice(i4, i5 ? -1 : len));
14196
14428
  if (s5) return {
14197
- handler: patch45,
14429
+ handler: patch46,
14198
14430
  path: "/api/workspaces/$id/review/$commentId",
14199
14431
  params: {
14200
14432
  id: s3,
14201
14433
  commentId: s5
14202
14434
  },
14203
- options: patch45_options,
14435
+ options: patch46_options,
14204
14436
  meta: {}
14205
14437
  };
14206
14438
  }
@@ -18365,4 +18597,4 @@ server.listen(port, () => {
18365
18597
  //#endregion
18366
18598
  export {};
18367
18599
 
18368
- ;var __MARKO_MANIFEST__={"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-BKTdqk6I.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BKTdqk6I.css\"",">"],"defer":[2,"/assets/w._-CMRMU1vs.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CMRMU1vs.js\"","></script>",2,"modulepreload#/assets/_CeXRQ6n1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CeXRQ6n1.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-BKTdqk6I.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BKTdqk6I.css\"",">"],"defer":[2,"/assets/w-CMRMU1vs.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-CMRMU1vs.js\"","></script>",2,"modulepreload#/assets/_CeXRQ6n1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CeXRQ6n1.js\"",">"]},"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-BKTdqk6I.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BKTdqk6I.css\"",">"],"defer":[2,"/assets/new-CMRMU1vs.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-CMRMU1vs.js\"","></script>",2,"modulepreload#/assets/_CeXRQ6n1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CeXRQ6n1.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-BKTdqk6I.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BKTdqk6I.css\"",">"],"defer":[2,"/assets/w._-CMEpH_9a.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-CMEpH_9a.js\"","></script>",2,"modulepreload#/assets/_CeXRQ6n1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CeXRQ6n1.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-BKTdqk6I.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BKTdqk6I.css\"",">"],"defer":[2,"/assets/settings-CMRMU1vs.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-CMRMU1vs.js\"","></script>",2,"modulepreload#/assets/_CeXRQ6n1.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_CeXRQ6n1.js\"",">"]}};
18600
+ ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-BkCzG8oJ.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BkCzG8oJ.css\"",">"],"defer":[2,"/assets/new-AHbbDzFl.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-AHbbDzFl.js\"","></script>",2,"modulepreload#/assets/_BaTUny04.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BaTUny04.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-BkCzG8oJ.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BkCzG8oJ.css\"",">"],"defer":[2,"/assets/w._-AHbbDzFl.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-AHbbDzFl.js\"","></script>",2,"modulepreload#/assets/_BaTUny04.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BaTUny04.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-BkCzG8oJ.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BkCzG8oJ.css\"",">"],"defer":[2,"/assets/w-AHbbDzFl.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-AHbbDzFl.js\"","></script>",2,"modulepreload#/assets/_BaTUny04.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BaTUny04.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-BkCzG8oJ.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BkCzG8oJ.css\"",">"],"defer":[2,"/assets/settings-AHbbDzFl.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-AHbbDzFl.js\"","></script>",2,"modulepreload#/assets/_BaTUny04.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BaTUny04.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-BkCzG8oJ.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-BkCzG8oJ.css\"",">"],"defer":[2,"/assets/w._-DQf8RfTY.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DQf8RfTY.js\"","></script>",2,"modulepreload#/assets/_BaTUny04.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_BaTUny04.js\"",">"]}};