@dylanpiercey/work 0.0.134 → 0.0.136

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/dist/_B1bgL2tH.js +2 -0
  2. package/dist/_B3qThpAM.js +2 -0
  3. package/dist/_BIxwPE98.js +2 -0
  4. package/dist/{_BBmEhpPH.js → _BJg54Xa1.js} +7 -3
  5. package/dist/{_DBPJnjxF.js → _BK02MZ12.js} +48 -48
  6. package/dist/{_D2Ne8oPk.js → _BZpXh6Js.js} +2 -2
  7. package/dist/{_C04hN9Ui.js → _Dij_y0Qt.js} +2 -2
  8. package/dist/{_wkybTEDR.js → _DwK89Lz-.js} +72 -20
  9. package/dist/index.mjs +317 -288
  10. package/dist/public/assets/{_38lLOyV4.js → _0YzStON-.js} +1 -1
  11. package/dist/public/assets/_0YzStON-.js.br +0 -0
  12. package/dist/public/assets/{_DXSlYsr0.js → _A8QLMyty.js} +1 -1
  13. package/dist/public/assets/_A8QLMyty.js.br +0 -0
  14. package/dist/public/assets/{_Ci6_nT4t2.js → _B43InZo-2.js} +1 -1
  15. package/dist/public/assets/_B43InZo-2.js.br +0 -0
  16. package/dist/public/assets/{_lhQ_uGs7.js → _B4ftK7Yz.js} +1 -1
  17. package/dist/public/assets/_B4ftK7Yz.js.br +0 -0
  18. package/dist/public/assets/{_Nss91pW_2.js → _BCxtKOcV2.js} +1 -1
  19. package/dist/public/assets/_BCxtKOcV2.js.br +0 -0
  20. package/dist/public/assets/{_DubxV47f2.js → _BDJpYszd2.js} +1 -1
  21. package/dist/public/assets/_BDJpYszd2.js.br +0 -0
  22. package/dist/public/assets/{_sMtpt30w2.js → _BDjiDP3B2.js} +1 -1
  23. package/dist/public/assets/_BDjiDP3B2.js.br +0 -0
  24. package/dist/public/assets/{_Yk-TslqA.js → _BHfadGO2.js} +1 -1
  25. package/dist/public/assets/_BHfadGO2.js.br +0 -0
  26. package/dist/public/assets/{_C9FxJoow.js → _BIJyc2mu.js} +1 -1
  27. package/dist/public/assets/_BIJyc2mu.js.br +0 -0
  28. package/dist/public/assets/{_3M8rHd9q.js → _BNqcBpdG.js} +1 -1
  29. package/dist/public/assets/_BNqcBpdG.js.br +0 -0
  30. package/dist/public/assets/{_nq_IIC6O2.js → _BTDB_2bo2.js} +1 -1
  31. package/dist/public/assets/{_UuRzi2Pg.js → _BWlSj6_a.js} +1 -1
  32. package/dist/public/assets/_BWlSj6_a.js.br +0 -0
  33. package/dist/public/assets/{_57VaSNVh.js → _BYPOMOy2.js} +1 -1
  34. package/dist/public/assets/_BYPOMOy2.js.br +0 -0
  35. package/dist/public/assets/{_CunZWZvv.js → _BZyu3o5D.js} +1 -1
  36. package/dist/public/assets/_BZyu3o5D.js.br +0 -0
  37. package/dist/public/assets/{_DQqrsLS52.js → _Bc3DNZHb2.js} +1 -1
  38. package/dist/public/assets/_Bc3DNZHb2.js.br +0 -0
  39. package/dist/public/assets/{_BR7X2c7n2.js → _Be3J1iRO2.js} +1 -1
  40. package/dist/public/assets/_Be3J1iRO2.js.br +0 -0
  41. package/dist/public/assets/{_Cj36gP3r.js → _BfqwMAq-.js} +1 -1
  42. package/dist/public/assets/_BfqwMAq-.js.br +0 -0
  43. package/dist/public/assets/{_CIn4drK7.js → _Bj8bMkJV.js} +1 -1
  44. package/dist/public/assets/_Bj8bMkJV.js.br +0 -0
  45. package/dist/public/assets/_Bk5mZP5h.js +89 -0
  46. package/dist/public/assets/_Bk5mZP5h.js.br +0 -0
  47. package/dist/public/assets/{_cBrUsk6q.js → _BlCeUm2u.js} +1 -1
  48. package/dist/public/assets/_BlCeUm2u.js.br +0 -0
  49. package/dist/public/assets/{_BdlhFWPk.js → _Bm1F7okr.js} +1 -1
  50. package/dist/public/assets/_Bm1F7okr.js.br +0 -0
  51. package/dist/public/assets/{_9k941mBT2.js → _Boz7xU3I2.js} +1 -1
  52. package/dist/public/assets/_Boz7xU3I2.js.br +0 -0
  53. package/dist/public/assets/{_C5N9J9W_.js → _BpJKkDCj.js} +1 -1
  54. package/dist/public/assets/_BpJKkDCj.js.br +0 -0
  55. package/dist/public/assets/{_BWm6t6g5.js → _Brj8aBq6.js} +1 -1
  56. package/dist/public/assets/_Brj8aBq6.js.br +0 -0
  57. package/dist/public/assets/{_mzG-3m6a.js → _Buk6CY_J.js} +1 -1
  58. package/dist/public/assets/_Buk6CY_J.js.br +0 -0
  59. package/dist/public/assets/{_D3Hpj9Te.js → _ByZqbMLP.js} +1 -1
  60. package/dist/public/assets/_ByZqbMLP.js.br +0 -0
  61. package/dist/public/assets/{_CZZwvo0u.js → _BzuwUpKk.js} +1 -1
  62. package/dist/public/assets/_BzuwUpKk.js.br +0 -0
  63. package/dist/public/assets/{_CqiVQVB42.js → _C1yp4V7m2.js} +1 -1
  64. package/dist/public/assets/_C1yp4V7m2.js.br +0 -0
  65. package/dist/public/assets/{_B68ws5JM2.js → _C59H4YUW2.js} +1 -1
  66. package/dist/public/assets/_C59H4YUW2.js.br +0 -0
  67. package/dist/public/assets/{_q9s2TQk5.js → _C7kuy0Hr.js} +1 -1
  68. package/dist/public/assets/_C7kuy0Hr.js.br +0 -0
  69. package/dist/public/assets/{_KOmqCPbm.js → _C9u5QhTJ.js} +1 -1
  70. package/dist/public/assets/_C9u5QhTJ.js.br +0 -0
  71. package/dist/public/assets/{_CoA5CmM72.js → _CBRAlnrZ2.js} +1 -1
  72. package/dist/public/assets/_CBRAlnrZ2.js.br +0 -0
  73. package/dist/public/assets/{_CPpT_bAp2.js → _CD3YXc6f2.js} +1 -1
  74. package/dist/public/assets/_CD3YXc6f2.js.br +0 -0
  75. package/dist/public/assets/{_BAI6pIEH.js → _CHnGPLlM.js} +1 -1
  76. package/dist/public/assets/_CHnGPLlM.js.br +0 -0
  77. package/dist/public/assets/{_BV1EiprI2.js → _CNA3MQ5x2.js} +1 -1
  78. package/dist/public/assets/_CNA3MQ5x2.js.br +0 -0
  79. package/dist/public/assets/{_Dse6xAP22.js → _COfcrZiP2.js} +1 -1
  80. package/dist/public/assets/_COfcrZiP2.js.br +0 -0
  81. package/dist/public/assets/{_DlIwuzEd.js → _CQlyENQv.js} +1 -1
  82. package/dist/public/assets/_CQlyENQv.js.br +0 -0
  83. package/dist/public/assets/{_Bpy8lJQH.js → _CR-S-3Of.js} +6 -6
  84. package/dist/public/assets/_CR-S-3Of.js.br +0 -0
  85. package/dist/public/assets/{_CJZ6lGU-2.js → _CTxKc7Va2.js} +1 -1
  86. package/dist/public/assets/_CTxKc7Va2.js.br +0 -0
  87. package/dist/public/assets/{_DFT7BTpC.js → _CXqVTOO2.js} +1 -1
  88. package/dist/public/assets/_CXqVTOO2.js.br +0 -0
  89. package/dist/public/assets/{_DBUO8PvB.js → _CfrSaTy7.js} +1 -1
  90. package/dist/public/assets/_CfrSaTy7.js.br +0 -0
  91. package/dist/public/assets/{_DQdzo5vx.js → _ChAgIrR9.js} +1 -1
  92. package/dist/public/assets/_ChAgIrR9.js.br +0 -0
  93. package/dist/public/assets/{_DU8uUGV12.js → _Chdds9cv2.js} +1 -1
  94. package/dist/public/assets/_Chdds9cv2.js.br +0 -0
  95. package/dist/public/assets/{_Bjw4rVxX.js → _Cmu2QxBE.js} +1 -1
  96. package/dist/public/assets/_Cmu2QxBE.js.br +0 -0
  97. package/dist/public/assets/{_CUBLnmSA.js → _CpD6oP7U.js} +1 -1
  98. package/dist/public/assets/_CpD6oP7U.js.br +0 -0
  99. package/dist/public/assets/{_CMnrd6fU.js → _Cryi3U1d.js} +1 -1
  100. package/dist/public/assets/_Cryi3U1d.js.br +0 -0
  101. package/dist/public/assets/{_0Sd4iAaq.js → _CsOBkWtg.js} +1 -1
  102. package/dist/public/assets/_CsOBkWtg.js.br +0 -0
  103. package/dist/public/assets/{_BhUQVKu8.js → _CyCu9hIz.js} +1 -1
  104. package/dist/public/assets/_CyCu9hIz.js.br +0 -0
  105. package/dist/public/assets/{_DaN82C7i.js → _D-60G6PB.js} +1 -1
  106. package/dist/public/assets/_D-60G6PB.js.br +0 -0
  107. package/dist/public/assets/{_C7yOUMH5.js → _D-FsNpg4.js} +1 -1
  108. package/dist/public/assets/_D-FsNpg4.js.br +0 -0
  109. package/dist/public/assets/{_CjUGol_X.js → _D5cZP2aA.js} +1 -1
  110. package/dist/public/assets/_D5cZP2aA.js.br +0 -0
  111. package/dist/public/assets/{_C_bD7OU6.js → _D6pYwJbn.js} +1 -1
  112. package/dist/public/assets/_D6pYwJbn.js.br +0 -0
  113. package/dist/public/assets/{_BOP03gps.js → _DBPQFygQ.js} +1 -1
  114. package/dist/public/assets/_DBPQFygQ.js.br +0 -0
  115. package/dist/public/assets/{_DupM9eEV.js → _DGx9OQMw.js} +1 -1
  116. package/dist/public/assets/{_BXT4rVWU.js → _DKR-1kBA.js} +1 -1
  117. package/dist/public/assets/_DKR-1kBA.js.br +0 -0
  118. package/dist/public/assets/{_SlpmB-w5.js → _DO-7Gb4y.js} +1 -1
  119. package/dist/public/assets/_DO-7Gb4y.js.br +0 -0
  120. package/dist/public/assets/{_BwsOUnJq2.js → _DP8d9Rm82.js} +1 -1
  121. package/dist/public/assets/_DP8d9Rm82.js.br +0 -0
  122. package/dist/public/assets/{_CisgNUxd.js → _DRkgmd-K.js} +1 -1
  123. package/dist/public/assets/_DRkgmd-K.js.br +0 -0
  124. package/dist/public/assets/{_ghOVZPKq.js → _DU1Eqa25.js} +1 -1
  125. package/dist/public/assets/_DU1Eqa25.js.br +0 -0
  126. package/dist/public/assets/{_d-TodGvp2.js → _DVFmex8_2.js} +1 -1
  127. package/dist/public/assets/_DVFmex8_2.js.br +0 -0
  128. package/dist/public/assets/{_BCzjrlAy.js → _DkJrtVCy.js} +1 -1
  129. package/dist/public/assets/_DkJrtVCy.js.br +0 -0
  130. package/dist/public/assets/{_CUmRJQ35.js → _Dnfz85Pu.js} +1 -1
  131. package/dist/public/assets/_Dnfz85Pu.js.br +0 -0
  132. package/dist/public/assets/{_Ds61v8vi.js → _DnxV9O0v.js} +1 -1
  133. package/dist/public/assets/_DnxV9O0v.js.br +0 -0
  134. package/dist/public/assets/{_B9J_gfIE.js → _Dq6d0wjK.js} +1 -1
  135. package/dist/public/assets/_Dq6d0wjK.js.br +0 -0
  136. package/dist/public/assets/{_B8CJtOsm2.js → _Drc85vGG2.js} +1 -1
  137. package/dist/public/assets/_Drc85vGG2.js.br +0 -0
  138. package/dist/public/assets/{_m0jpMRnx.js → _Dy7NWhyF.js} +1 -1
  139. package/dist/public/assets/_Dy7NWhyF.js.br +0 -0
  140. package/dist/public/assets/{_2XPzfLYp2.js → _Fi0bLwSJ2.js} +1 -1
  141. package/dist/public/assets/_Fi0bLwSJ2.js.br +0 -0
  142. package/dist/public/assets/{_BzyjsnUO2.js → _QGY4WJWh2.js} +1 -1
  143. package/dist/public/assets/_QGY4WJWh2.js.br +0 -0
  144. package/dist/public/assets/{_NrBF2lTC.js → _WUnsxEQT.js} +1 -1
  145. package/dist/public/assets/_WUnsxEQT.js.br +0 -0
  146. package/dist/public/assets/{_BsFBQnPe.js → _ZqBn14C0.js} +1 -1
  147. package/dist/public/assets/_ZqBn14C0.js.br +0 -0
  148. package/dist/public/assets/{_C45W_Lp6.js → _gkSQEN3j.js} +1 -1
  149. package/dist/public/assets/_gkSQEN3j.js.br +0 -0
  150. package/dist/public/assets/{_BOmDUiov.js → _jdivam11.js} +1 -1
  151. package/dist/public/assets/_jdivam11.js.br +0 -0
  152. package/dist/public/assets/{_DR6v6KT22.js → _kpDIvGaK2.js} +1 -1
  153. package/dist/public/assets/_kpDIvGaK2.js.br +0 -0
  154. package/dist/public/assets/{_C0TsHYWM2.js → _mmCP3JhZ2.js} +1 -1
  155. package/dist/public/assets/_mmCP3JhZ2.js.br +0 -0
  156. package/dist/public/assets/{_D2zeYViB.js → _oBGUMKKB.js} +1 -1
  157. package/dist/public/assets/_oBGUMKKB.js.br +0 -0
  158. package/dist/public/assets/{_Ct4sne2O2.js → _s5ClmkTc2.js} +1 -1
  159. package/dist/public/assets/{app-page-CMazjI1P.css → app-page-CYT0ZOo5.css} +1 -1
  160. package/dist/public/assets/app-page-CYT0ZOo5.css.br +0 -0
  161. package/dist/public/assets/{diff-view-BhaHll01.css → diff-view-BcnsI2K2.css} +1 -1
  162. package/dist/public/assets/diff-view-BcnsI2K2.css.br +0 -0
  163. package/dist/public/assets/new-Bxdd3c7v.js +1 -0
  164. package/dist/public/assets/settings-Bxdd3c7v.js +1 -0
  165. package/dist/public/assets/w-Bxdd3c7v.js +1 -0
  166. package/dist/public/assets/w._-Bxdd3c7v.js +1 -0
  167. package/dist/public/assets/w._-DgdO3jnn.js +1 -0
  168. package/package.json +1 -1
  169. package/dist/_B-QvNFcB.js +0 -2
  170. package/dist/_BTtOB0g5.js +0 -2
  171. package/dist/_CmQFz3S6.js +0 -2
  172. package/dist/public/assets/_0Sd4iAaq.js.br +0 -0
  173. package/dist/public/assets/_2XPzfLYp2.js.br +0 -0
  174. package/dist/public/assets/_38lLOyV4.js.br +0 -0
  175. package/dist/public/assets/_3M8rHd9q.js.br +0 -0
  176. package/dist/public/assets/_57VaSNVh.js.br +0 -0
  177. package/dist/public/assets/_9k941mBT2.js.br +0 -0
  178. package/dist/public/assets/_B68ws5JM2.js.br +0 -0
  179. package/dist/public/assets/_B8CJtOsm2.js.br +0 -0
  180. package/dist/public/assets/_B9J_gfIE.js.br +0 -0
  181. package/dist/public/assets/_BAI6pIEH.js.br +0 -0
  182. package/dist/public/assets/_BCzjrlAy.js.br +0 -0
  183. package/dist/public/assets/_BOP03gps.js.br +0 -0
  184. package/dist/public/assets/_BOmDUiov.js.br +0 -0
  185. package/dist/public/assets/_BR7X2c7n2.js.br +0 -0
  186. package/dist/public/assets/_BV1EiprI2.js.br +0 -0
  187. package/dist/public/assets/_BWm6t6g5.js.br +0 -0
  188. package/dist/public/assets/_BXT4rVWU.js.br +0 -0
  189. package/dist/public/assets/_BdlhFWPk.js.br +0 -0
  190. package/dist/public/assets/_BhUQVKu8.js.br +0 -0
  191. package/dist/public/assets/_Bjw4rVxX.js.br +0 -0
  192. package/dist/public/assets/_Bpy8lJQH.js.br +0 -0
  193. package/dist/public/assets/_BsFBQnPe.js.br +0 -0
  194. package/dist/public/assets/_BwsOUnJq2.js.br +0 -0
  195. package/dist/public/assets/_BzyjsnUO2.js.br +0 -0
  196. package/dist/public/assets/_C0TsHYWM2.js.br +0 -0
  197. package/dist/public/assets/_C45W_Lp6.js.br +0 -0
  198. package/dist/public/assets/_C5N9J9W_.js.br +0 -0
  199. package/dist/public/assets/_C7yOUMH5.js.br +0 -0
  200. package/dist/public/assets/_C9FxJoow.js.br +0 -0
  201. package/dist/public/assets/_CIn4drK7.js.br +0 -0
  202. package/dist/public/assets/_CJZ6lGU-2.js.br +0 -0
  203. package/dist/public/assets/_CMnrd6fU.js.br +0 -0
  204. package/dist/public/assets/_CPpT_bAp2.js.br +0 -0
  205. package/dist/public/assets/_CUBLnmSA.js.br +0 -0
  206. package/dist/public/assets/_CUmRJQ35.js.br +0 -0
  207. package/dist/public/assets/_CZZwvo0u.js.br +0 -0
  208. package/dist/public/assets/_C_bD7OU6.js.br +0 -0
  209. package/dist/public/assets/_Ci6_nT4t2.js.br +0 -0
  210. package/dist/public/assets/_CisgNUxd.js.br +0 -0
  211. package/dist/public/assets/_Cj36gP3r.js.br +0 -0
  212. package/dist/public/assets/_CjUGol_X.js.br +0 -0
  213. package/dist/public/assets/_CoA5CmM72.js.br +0 -0
  214. package/dist/public/assets/_CqiVQVB42.js.br +0 -0
  215. package/dist/public/assets/_CunZWZvv.js.br +0 -0
  216. package/dist/public/assets/_D2zeYViB.js.br +0 -0
  217. package/dist/public/assets/_D3Hpj9Te.js.br +0 -0
  218. package/dist/public/assets/_DBUO8PvB.js.br +0 -0
  219. package/dist/public/assets/_DFT7BTpC.js.br +0 -0
  220. package/dist/public/assets/_DQdzo5vx.js.br +0 -0
  221. package/dist/public/assets/_DQqrsLS52.js.br +0 -0
  222. package/dist/public/assets/_DR6v6KT22.js.br +0 -0
  223. package/dist/public/assets/_DU8uUGV12.js.br +0 -0
  224. package/dist/public/assets/_DWACLLAl.js +0 -89
  225. package/dist/public/assets/_DWACLLAl.js.br +0 -0
  226. package/dist/public/assets/_DXSlYsr0.js.br +0 -0
  227. package/dist/public/assets/_DaN82C7i.js.br +0 -0
  228. package/dist/public/assets/_DlIwuzEd.js.br +0 -0
  229. package/dist/public/assets/_Ds61v8vi.js.br +0 -0
  230. package/dist/public/assets/_Dse6xAP22.js.br +0 -0
  231. package/dist/public/assets/_DubxV47f2.js.br +0 -0
  232. package/dist/public/assets/_KOmqCPbm.js.br +0 -0
  233. package/dist/public/assets/_NrBF2lTC.js.br +0 -0
  234. package/dist/public/assets/_Nss91pW_2.js.br +0 -0
  235. package/dist/public/assets/_SlpmB-w5.js.br +0 -0
  236. package/dist/public/assets/_UuRzi2Pg.js.br +0 -0
  237. package/dist/public/assets/_Yk-TslqA.js.br +0 -0
  238. package/dist/public/assets/_cBrUsk6q.js.br +0 -0
  239. package/dist/public/assets/_d-TodGvp2.js.br +0 -0
  240. package/dist/public/assets/_ghOVZPKq.js.br +0 -0
  241. package/dist/public/assets/_lhQ_uGs7.js.br +0 -0
  242. package/dist/public/assets/_m0jpMRnx.js.br +0 -0
  243. package/dist/public/assets/_mzG-3m6a.js.br +0 -0
  244. package/dist/public/assets/_q9s2TQk5.js.br +0 -0
  245. package/dist/public/assets/_sMtpt30w2.js.br +0 -0
  246. package/dist/public/assets/app-page-CMazjI1P.css.br +0 -0
  247. package/dist/public/assets/diff-view-BhaHll01.css.br +0 -0
  248. package/dist/public/assets/new-DUxUh5q7.js +0 -1
  249. package/dist/public/assets/settings-DUxUh5q7.js +0 -1
  250. package/dist/public/assets/w-DUxUh5q7.js +0 -1
  251. package/dist/public/assets/w._-BpgzbM86.js +0 -1
  252. package/dist/public/assets/w._-DUxUh5q7.js +0 -1
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./_BMI-E3GI.js";
2
- import { $ as setSetting, A as setScrapedPhase, B as saveSubscription, C as agentBadge, D as agentMeta, E as agentLabel, F as manifest, G as agentChoices, H as subscribe, I as normalizeAccent, J as enabledAgents, K as allPrefs, L as setInstance, M as ACCENT_RE, N as getInstance, O as clearAgentPhase, P as iconSvg, Q as setPref, R as deleteSubscription, S as blankRow, T as agentFromCommand, V as publish, X as preferredAgent, Y as getSetting, Z as setDisabledAgents, _ as tmuxName, _t as git, a as ensureTmuxServer, at as which, b as readHookPayload, bt as config, ct as agentById, d as newSessionArgs, dt as all, et as discoverAgents, ft as db, g as sessionStates, h as sendToSession, ht as TMUX_SOCKET, it as setupPath, j as setSessionViewers, k as setAgentPhase, l as listSessions, lt as agentLabel$1, m as renameSession, mt as workspacePath, n as clearTmuxStarted, o as getSession, pt as get, q as disabledAgents, r as createSession, rt as miseVersions, s as killSession, st as TOOLS, t as cleanEnv, tt as doctor, u as markTmuxStarted, ut as toolById, v as tmuxWasStarted, w as agentFamily, x as reportsWorking, y as AGENTS, yt as tmux, z as pushPublicKey } from "./_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 "./_wkybTEDR.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 "./_D2Ne8oPk.js";
5
- import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./_C04hN9Ui.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 "./_BJg54Xa1.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 "./_DwK89Lz-.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 "./_BZpXh6Js.js";
5
+ import { $ as _attr_style, A as parseRepoUrl, At as _subscribe, B as metaTrunc, C as setWorkspaceTab, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, E as workspaceTab, Et as _sep, F as btnSm, Ft as attrTag, G as _attr_class, H as tone, It as forOf, J as _attr_input_value, L as iconBtnRow, Lt as withPageAssets, M as repoWebUrl, Mt as _to_text, N as setPrimaryHost, Nt as _trailers, O as icon_xmark_default, Ot as _serialize_if, P as btnLg, Pt as _var, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, S as setTheme, St as _scope_id, T as theme, Tt as _script, U as $global, V as phase, W as _attr, X as _attr_option_value, Y as _attr_nonce, Z as _attr_or, _t as _id, at as _dynamic_tag, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, et as _attr_textarea_value, f as iconBtn$2, ft as _flush_head, gt as _html, ht as _hoist_read_error, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, m as sectionCount$1, mt as _hoist, n as findIconBtn, nt as _attrs_partial, o as rankRepos, p as row, pt as _for_of, q as _attr_input_checked, r as findInput, rt as _content, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, tt as _attrs, u as icon_back_default, ut as _escape_script, vt as _if, w as sideNavOpen, wt as _scope_with_id, xt as _resume_branch, y as ignoredSsoOrgs, yt as _peek_scope_id, z as inputLg } from "./_Dij_y0Qt.js";
6
6
  import fs from "node:fs";
7
7
  import { createServer } from "node:http";
8
8
  import path from "node:path";
@@ -2438,7 +2438,7 @@ var icon_agent_default = _template("I", (input) => {
2438
2438
  n: $badge__closures
2439
2439
  });
2440
2440
  });
2441
- var usageNote = "_fG _R";
2441
+ var usageNote = "_fE _R";
2442
2442
  //#endregion
2443
2443
  //#region src/tags/icons/icon-warning.marko
2444
2444
  var icon_warning_default = _template("mb", (input) => {
@@ -2468,11 +2468,11 @@ var usage_meters_default = _template("F", (input) => {
2468
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);
2469
2469
  const $scope0_id = _scope_id();
2470
2470
  const agent = input.agent;
2471
- _html(`<div${_attr_class(["_fA", { ["_fB"]: input.hideName }])}><div${_attr_class("_fC")}>`);
2471
+ _html(`<div${_attr_class(["_fy", { ["_fz"]: input.hideName }])}><div${_attr_class("_fA")}>`);
2472
2472
  _if(() => {
2473
2473
  if (!input.hideName) {
2474
2474
  const $scope1_id = _scope_id();
2475
- _html(`<strong${_attr_class("_fV")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
2475
+ _html(`<strong${_attr_class("_fT")}>${_escape(agent.agent)}${_el_resume($scope1_id, "b", $sg__input_agent)}</strong>`);
2476
2476
  $si__input_agent__OR__input_hideName && writeScope($scope1_id, { _: $si__input_agent && _scope_with_id($scope0_id) });
2477
2477
  return 0;
2478
2478
  }
@@ -2480,7 +2480,7 @@ var usage_meters_default = _template("F", (input) => {
2480
2480
  _if(() => {
2481
2481
  if (agent.plan && agent.plan.toLowerCase() !== agent.agent.toLowerCase()) {
2482
2482
  const $scope2_id = _scope_id();
2483
- _html(`<span${_attr_class("_fD")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
2483
+ _html(`<span${_attr_class("_fB")}>${_escape(agent.plan.replace(/^default_/, "").replaceAll("_", " "))}${_el_resume($scope2_id, "b", $sg__input_agent)}</span>`);
2484
2484
  $si__input_agent && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
2485
2485
  return 0;
2486
2486
  }
@@ -2488,21 +2488,21 @@ var usage_meters_default = _template("F", (input) => {
2488
2488
  _if(() => {
2489
2489
  if (agent.stale_seconds != null) {
2490
2490
  const $scope3_id = _scope_id();
2491
- _html(`<span${_attr_class("_fE")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
2491
+ _html(`<span${_attr_class("_fC")}${_attr("title", `${agent.note || "provider unreachable"}. Last cached numbers, ${duration(agent.stale_seconds * 1e3)} old`)}>`);
2492
2492
  icon_warning_default({ size: 12 });
2493
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)}`);
2494
2494
  $si__input_agent && writeScope($scope3_id, { _: _scope_with_id($scope0_id) });
2495
2495
  return 0;
2496
2496
  }
2497
2497
  }, $scope0_id, "e", $sg__input_agent, $sg__input_agent, $sg__input_agent__OR__input_hideName, 0, 1);
2498
- _html(`</div><div${_attr_class(["_fF", { ["_fW"]: agent.stale_seconds != null }])}>`);
2498
+ _html(`</div><div${_attr_class(["_fD", { ["_fU"]: agent.stale_seconds != null }])}>`);
2499
2499
  _for_of(agent.windows || [], (win) => {
2500
2500
  const $scope4_id = _scope_id();
2501
2501
  const pct = pctText(win.used_percent);
2502
2502
  const label = resetLabel(win.resets_at, agent.stale_seconds != null);
2503
- const fillClass = win.used_percent >= 90 ? "_fO" : win.used_percent >= 70 ? "_fN" : win.used_percent >= 40 ? "_fM" : "_fL";
2504
- const pctClass = win.used_percent >= 90 ? "_fT" : win.used_percent >= 70 ? "_fS" : win.used_percent >= 40 ? "_fR" : "_fQ";
2505
- _html(`<div${_attr_class("_fH")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_fI")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_fJ")}><span${_attr_class(["_fK", 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(["_fP", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fU")}>`);
2503
+ const fillClass = win.used_percent >= 90 ? "_fM" : win.used_percent >= 70 ? "_fL" : win.used_percent >= 40 ? "_fK" : "_fJ";
2504
+ const pctClass = win.used_percent >= 90 ? "_fR" : win.used_percent >= 70 ? "_fQ" : win.used_percent >= 40 ? "_fP" : "_fO";
2505
+ _html(`<div${_attr_class("_fF")}${_attr("title", `${win.window}: ${pct} used${win.resets_at ? `, resets ${new Date(win.resets_at).toLocaleString()}` : ""}`)}><span${_attr_class("_fG")}>${_escape(win.window)}${_el_resume($scope4_id, "c", $sg__input_agent)}</span><span${_attr_class("_fH")}><span${_attr_class(["_fI", fillClass])}${_attr_style(`width:${Math.min(100, Math.max(2, win.used_percent))}%`)}></span>${_el_resume($scope4_id, "e", $sg__input_agent)}</span><span${_attr_class(["_fN", pctClass])}>${_escape(pct)}${_el_resume($scope4_id, "g", $sg__input_agent)}</span>${_el_resume($scope4_id, "f", $sg__input_agent)}<span${_attr_class("_fS")}>`);
2506
2506
  _if(() => {
2507
2507
  if (label) {
2508
2508
  const $scope6_id = _scope_id();
@@ -2534,7 +2534,7 @@ var usage_meters_default = _template("F", (input) => {
2534
2534
  q: $si__input_agent && agent?.note
2535
2535
  });
2536
2536
  });
2537
- var orgSkip = "_fr _1 _j";
2537
+ var orgSkip = "_fp _1 _j";
2538
2538
  //#endregion
2539
2539
  //#region src/tags/sso-auth.marko
2540
2540
  var api$7;
@@ -2581,14 +2581,14 @@ var sso_auth_default = _template("B", (input) => {
2581
2581
  localCode = null;
2582
2582
  }
2583
2583
  }, "B0", $scope0_id);
2584
- _html(`<div${_attr_class("_fo")}>`);
2584
+ _html(`<div${_attr_class("_fm")}>`);
2585
2585
  _if(() => {
2586
2586
  if (input.items.length) {
2587
2587
  const $scope1_id = _scope_id();
2588
- _html(`<p${_attr_class("_fz")}>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("_fp")}>`);
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")}>`);
2589
2589
  _for_of(input.items, (s) => {
2590
2590
  const $scope2_id = _scope_id();
2591
- _html(`<li${_attr_class("_fq")}>${_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)}>`);
2592
2592
  icon_xmark_default({ size: 11 });
2593
2593
  _html(`</button>${_el_resume($scope2_id, "c")}</li>`);
2594
2594
  _script($scope2_id, "B1");
@@ -2597,17 +2597,17 @@ var sso_auth_default = _template("B", (input) => {
2597
2597
  _: _scope_with_id($scope1_id)
2598
2598
  }));
2599
2599
  }, "org", $scope1_id, "c", $sg__input_items, $sg__input_items, $sg__input_items, "</ul>", 1);
2600
- _html(`<div${_attr_class("_fs")}>`);
2600
+ _html(`<div${_attr_class("_fq")}>`);
2601
2601
  _if(() => {
2602
2602
  if (localBusy && localCode) {
2603
2603
  const $scope5_id = _scope_id();
2604
- _html(`<span${_attr_class("_ft")}><span${_attr_class("_E")}></span> Enter code <strong${_attr_class("_fu")}>${_escape(localCode)}${_el_resume($scope5_id, "d")}</strong> at <a${_attr("href", `https://${host}/login/device`)}${_attr_class("_fv")}>${_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>`);
2605
2605
  _script($scope5_id, "B2");
2606
2606
  _subscribe($localCode__closures, _subscribe($si__input_items_0_host && $host__closures, writeScope($scope5_id, {})));
2607
2607
  return 0;
2608
2608
  } else if (localBusy) {
2609
2609
  const $scope8_id = _scope_id();
2610
- _html(`<span${_attr_class("_ft")}><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>`);
2611
2611
  writeScope($scope8_id, {});
2612
2612
  return 1;
2613
2613
  } else if (!busy) {
@@ -2621,7 +2621,7 @@ var sso_auth_default = _template("B", (input) => {
2621
2621
  _if(() => {
2622
2622
  if (localError) {
2623
2623
  const $scope6_id = _scope_id();
2624
- _html(`<p${_attr_class("_fz")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
2624
+ _html(`<p${_attr_class("_fx")}>${_escape(localError)}${_el_resume($scope6_id, "b")}</p>`);
2625
2625
  _subscribe($localError__closures, writeScope($scope6_id, {}));
2626
2626
  return 0;
2627
2627
  }
@@ -2633,10 +2633,10 @@ var sso_auth_default = _template("B", (input) => {
2633
2633
  _if(() => {
2634
2634
  if (skipped$1.length) {
2635
2635
  const $scope3_id = _scope_id();
2636
- _html(`<p${_attr_class("_fw")}>Skipped SSO for `);
2636
+ _html(`<p${_attr_class("_fu")}>Skipped SSO for `);
2637
2637
  _for_of(skipped$1, (s) => {
2638
2638
  const $scope4_id = _scope_id();
2639
- _html(`<span${_attr_class("_fx")}>${_escape(s.org)}${_el_resume($scope4_id, "b", $sg__input_skipped)}<button type=button${_attr_class("_fy")}${_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>`);
2640
2640
  _script($scope4_id, "B4");
2641
2641
  writeScope($scope4_id, {
2642
2642
  f: s?.org,
@@ -2709,7 +2709,7 @@ var modal_view_default = _template("r", (input) => {
2709
2709
  const { label, class: inputClass, open: _open, openChange: _openChange, dismissable: _dismissable, content, footer, closedby: _closedby, onCancel: _onCancel, onClose: _onClose, "aria-label": inputAriaLabel, "aria-labelledby": inputLabelledBy, ...htmlInput } = input;
2710
2710
  const dismissable = input.dismissable !== false;
2711
2711
  let open = input.open;
2712
- _html(`<dialog${_attr_class(["_fX", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
2712
+ _html(`<dialog${_attr_class(["_fV", inputClass])}${_attr("aria-labelledby", inputLabelledBy)}${inputLabelledBy ? _attr("aria-label", inputAriaLabel) : _attr("aria-label", inputAriaLabel || label)} closedby=${dismissable ? "any" : "none"}${_attrs_partial({
2713
2713
  ...htmlInput,
2714
2714
  open: null
2715
2715
  }, {
@@ -2719,20 +2719,20 @@ var modal_view_default = _template("r", (input) => {
2719
2719
  closedby: 1,
2720
2720
  "on-cancel": 1,
2721
2721
  "on-close": 1
2722
- }, "a", $scope0_id, "dialog")}><div${_attr_class("_fY")}>`);
2722
+ }, "a", $scope0_id, "dialog")}><div${_attr_class("_fW")}>`);
2723
2723
  _dynamic_tag($scope0_id, "c", content, {}, 0, 0, _serialize_guard($scope0_reason, 6));
2724
2724
  _html("</div>");
2725
2725
  _if(() => {
2726
2726
  if (footer) {
2727
2727
  const $scope1_id = _scope_id();
2728
- _html(`<form method=dialog${_attr_class("_fZ")}>`);
2728
+ _html(`<form method=dialog${_attr_class("_fX")}>`);
2729
2729
  _dynamic_tag($scope1_id, "b", footer.content, {}, 0, 0, _serialize_guard($scope0_reason, 7));
2730
2730
  _html("</form>");
2731
2731
  $si__input_openChange__OR__input_footer && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 7) && _scope_with_id($scope0_id) });
2732
2732
  return 0;
2733
2733
  } else if (input.openChange) {
2734
2734
  const $scope2_id = _scope_id();
2735
- _html(`<form method=dialog${_attr_class("_fZ")}>`);
2735
+ _html(`<form method=dialog${_attr_class("_fX")}>`);
2736
2736
  dialog_close_default({
2737
2737
  class: ["_o", "_p"],
2738
2738
  content: _content("r0", () => {
@@ -2791,7 +2791,7 @@ var prompt_dialog_default = _template("u", (input) => {
2791
2791
  const $childScope = _peek_scope_id();
2792
2792
  modal_view_default({
2793
2793
  label: input.label,
2794
- class: "_fm",
2794
+ class: "_fY",
2795
2795
  open: input.open,
2796
2796
  openChange: input.openChange,
2797
2797
  "aria-labelledby": titleId,
@@ -2814,7 +2814,7 @@ var prompt_dialog_default = _template("u", (input) => {
2814
2814
  content: _content("u6", () => {
2815
2815
  _scope_reason();
2816
2816
  const $scope2_id = _scope_id();
2817
- _html(`<h2${_attr_class("_fn")}${_attr("id", titleId)}>${_escape(input.label)}${_el_resume($scope2_id, "b", $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
2817
+ _html(`<h2${_attr_class("_fZ")}${_attr("id", titleId)}>${_escape(input.label)}${_el_resume($scope2_id, "b", $sg__input_label)}</h2><input${_attr_input_value($scope2_id, "c", value, _resume((_new_value) => {
2818
2818
  value = _new_value;
2819
2819
  }, "u0", $scope2_id))}${_attr("placeholder", input.placeholder)}>${_el_resume($scope2_id, "c")}`);
2820
2820
  _script($scope2_id, "u4");
@@ -3023,13 +3023,20 @@ var settings_page_default = _template("x", (input) => {
3023
3023
  setActive(id, null);
3024
3024
  }
3025
3025
  }, "x17", $scope0_id);
3026
- const applySkills = _resume((snap) => {
3026
+ const skillSeq = {
3027
+ issued: 0,
3028
+ applied: 0
3029
+ };
3030
+ const applySkills = _resume((snap, seq) => {
3031
+ if (seq <= skillSeq.applied) return;
3032
+ skillSeq.applied = seq;
3027
3033
  skills = snap;
3028
3034
  lastSkills = snap;
3029
3035
  }, "x18", $scope0_id);
3030
3036
  const loadSkills = _resume(async () => {
3037
+ const seq = ++skillSeq.issued;
3031
3038
  try {
3032
- applySkills(await api$6("/api/skills"));
3039
+ applySkills(await api$6("/api/skills"), seq);
3033
3040
  } catch {}
3034
3041
  }, "x19", $scope0_id);
3035
3042
  const runSkill = _resume(async (key, body) => {
@@ -3038,12 +3045,13 @@ var settings_page_default = _template("x", (input) => {
3038
3045
  setActive(key, "");
3039
3046
  const watcher = watchProgress$2(`skills:${key}`, (line) => setActive(key, line));
3040
3047
  await watcher.ready;
3048
+ const seq = ++skillSeq.issued;
3041
3049
  try {
3042
3050
  applySkills(await api$6("/api/skills", {
3043
3051
  method: "POST",
3044
3052
  headers: { "content-type": "application/json" },
3045
3053
  body: JSON.stringify(body)
3046
- }));
3054
+ }), seq);
3047
3055
  if (skillHits) skillHits = skillHits.map((h) => h.skillId === key ? {
3048
3056
  ...h,
3049
3057
  installed: body.action !== "remove"
@@ -3432,7 +3440,7 @@ var settings_page_default = _template("x", (input) => {
3432
3440
  const $scope48_id = _scope_id();
3433
3441
  _html(`<button${_attr_class(["_o", "_p"])}${_attr("title", `Update work to v${self.latest} and restart`)}>Update and restart</button>${_el_resume($scope48_id, "a")}`);
3434
3442
  _script($scope48_id, "x48");
3435
- _subscribe($self_latest__closures, writeScope($scope48_id, { Cgv: 1 }));
3443
+ _subscribe($self_latest__closures, writeScope($scope48_id, { Cgz: 1 }));
3436
3444
  return 0;
3437
3445
  }
3438
3446
  }, $scope46_id, "c", 1, 1, 1, 0, 1);
@@ -3663,7 +3671,7 @@ var settings_page_default = _template("x", (input) => {
3663
3671
  } else if (active.has(h.host)) {
3664
3672
  const $scope13_id = _scope_id();
3665
3673
  _html(`<span${_attr_class("_cd")}><span${_attr_class("_E")}></span><!>${_escape(active.get(h.host) || "Starting…")}${_el_resume($scope13_id, "c")}</span>`);
3666
- _subscribe($active__closures, writeScope($scope13_id, { Cgi: 1 }));
3674
+ _subscribe($active__closures, writeScope($scope13_id, { Cgm: 1 }));
3667
3675
  return 1;
3668
3676
  } else if (h.authed) {
3669
3677
  const $scope92_id = _scope_id();
@@ -3723,7 +3731,7 @@ var settings_page_default = _template("x", (input) => {
3723
3731
  }, $scope36_id, "a", 1, 1, 1, "</button>");
3724
3732
  _script($scope36_id, "x54");
3725
3733
  _subscribe($for_content4__h_host__closures, _subscribe($confirmingRemove__closures, writeScope($scope36_id, {
3726
- Cgl: 1,
3734
+ Cgp: 1,
3727
3735
  Ca2: 1
3728
3736
  })));
3729
3737
  return 0;
@@ -3755,7 +3763,7 @@ var settings_page_default = _template("x", (input) => {
3755
3763
  });
3756
3764
  _subscribe($run2__closures, _subscribe($si__input_setupChange && $refresh2__closures, _subscribe($active__closures, writeScope($scope14_id, {
3757
3765
  a: _existing_scope($childScope10),
3758
- Cgi: 2
3766
+ Cgm: 2
3759
3767
  }))));
3760
3768
  return 0;
3761
3769
  }
@@ -3864,7 +3872,7 @@ var settings_page_default = _template("x", (input) => {
3864
3872
  const $scope17_id = _scope_id();
3865
3873
  _html(`<p${_attr_class("_bI")}>mise is not installed. It provides every tool below. <button${_attr_class(btnSm)}${_attr("disabled", active.has("mise"))}>${active.has("mise") ? "Installing…" : "Install mise"}${_el_resume($scope17_id, "c")}</button>${_el_resume($scope17_id, "b")}</p>`);
3866
3874
  _script($scope17_id, "x59");
3867
- _subscribe($active__closures, writeScope($scope17_id, { Cgi: 3 }));
3875
+ _subscribe($active__closures, writeScope($scope17_id, { Cgm: 3 }));
3868
3876
  return 0;
3869
3877
  }
3870
3878
  }, $scope6_id, "a", 1, 1, 1, 0, 1);
@@ -3894,7 +3902,7 @@ var settings_page_default = _template("x", (input) => {
3894
3902
  icon_arrow_up_default({ size: 12 });
3895
3903
  _html(` <!>${_escape(self.latest)}${_el_resume($scope51_id, "c")}</button>${_el_resume($scope51_id, "a")}`);
3896
3904
  _script($scope51_id, "x60");
3897
- _subscribe($self_latest__closures, writeScope($scope51_id, { Cgv: 3 }));
3905
+ _subscribe($self_latest__closures, writeScope($scope51_id, { Cgz: 3 }));
3898
3906
  return 1;
3899
3907
  } else if (self.latest) {
3900
3908
  const $scope100_id = _scope_id();
@@ -3904,8 +3912,8 @@ var settings_page_default = _template("x", (input) => {
3904
3912
  }
3905
3913
  }, $scope50_id, "c", 1, 1, 1, 0, 1);
3906
3914
  _subscribe($self_version__closures, _subscribe($self_latest__closures, _subscribe($self_install__closures, writeScope($scope50_id, {
3907
- Cgv: 2,
3908
- Cgw: 1
3915
+ Cgz: 2,
3916
+ Ch0: 1
3909
3917
  }))));
3910
3918
  return 1;
3911
3919
  }
@@ -3936,7 +3944,7 @@ var settings_page_default = _template("x", (input) => {
3936
3944
  if (active.has(t.id)) {
3937
3945
  const $scope19_id = _scope_id();
3938
3946
  _html(`<span${_attr_class("_cd")}><span${_attr_class("_E")}></span><!>${_escape(active.get(t.id) || "Starting…")}${_el_resume($scope19_id, "c")}</span>`);
3939
- _subscribe($active__closures, writeScope($scope19_id, { Cgi: 5 }));
3947
+ _subscribe($active__closures, writeScope($scope19_id, { Cgm: 5 }));
3940
3948
  return 0;
3941
3949
  } else if (t.installed) {
3942
3950
  const $scope40_id = _scope_id();
@@ -4020,7 +4028,7 @@ var settings_page_default = _template("x", (input) => {
4020
4028
  }
4021
4029
  }, $scope38_id, "a", 1, 1, 1, "</button>");
4022
4030
  _script($scope38_id, "x64");
4023
- _subscribe($for_content5__t_id__closures, _subscribe($for_content5__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope38_id, { Cgl: 2 }))));
4031
+ _subscribe($for_content5__t_id__closures, _subscribe($for_content5__t_label__closures, _subscribe($confirmingRemove__closures, writeScope($scope38_id, { Cgp: 2 }))));
4024
4032
  return 1;
4025
4033
  }
4026
4034
  }, $scope37_id, "b", 1, 1, 1, 0, 1);
@@ -4044,7 +4052,7 @@ var settings_page_default = _template("x", (input) => {
4044
4052
  x: $for_content5__t_path__closures,
4045
4053
  y: $for_content5__t_latest__closures,
4046
4054
  v: $for_content5__t_id__closures,
4047
- Cgi: 4
4055
+ Cgm: 4
4048
4056
  }));
4049
4057
  }, "id", $scope6_id, "d", 1, 1, 1, 0, 1);
4050
4058
  _html("</ul>");
@@ -4068,7 +4076,7 @@ var settings_page_default = _template("x", (input) => {
4068
4076
  if (active.has(h.name)) {
4069
4077
  const $scope23_id = _scope_id();
4070
4078
  _html(`<span${_attr_class("_cd")}><span${_attr_class("_E")}></span><!>${_escape(active.get(h.name) || "Starting…")}${_el_resume($scope23_id, "c")}</span>`);
4071
- _subscribe($active__closures, writeScope($scope23_id, { Cgi: 7 }));
4079
+ _subscribe($active__closures, writeScope($scope23_id, { Cgm: 7 }));
4072
4080
  return 0;
4073
4081
  } else if (h.description) {
4074
4082
  const $scope108_id = _scope_id();
@@ -4104,15 +4112,15 @@ var settings_page_default = _template("x", (input) => {
4104
4112
  i: h?.name,
4105
4113
  k: h?.description,
4106
4114
  m: h?.installed,
4107
- Cgi: 6
4115
+ Cgm: 6
4108
4116
  }));
4109
4117
  }, "name", $scope21_id, "a", 1, 1, 1, "</ul>", 1);
4110
- _subscribe($hits__closures, writeScope($scope21_id, { Cgs: 1 }));
4118
+ _subscribe($hits__closures, writeScope($scope21_id, { Cgw: 1 }));
4111
4119
  return 0;
4112
4120
  } else if (hits && !searching) {
4113
4121
  const $scope45_id = _scope_id();
4114
4122
  _html(`<p${_attr_class("_bI")}>No tools match "<!>${_escape(query)}${_el_resume($scope45_id, "b")}".</p>`);
4115
- _subscribe($query__closures, writeScope($scope45_id, { Cgr: 1 }));
4123
+ _subscribe($query__closures, writeScope($scope45_id, { Cgv: 1 }));
4116
4124
  return 1;
4117
4125
  }
4118
4126
  }, $scope20_id, "d", 1, 1, 1, 0, 1);
@@ -4591,99 +4599,101 @@ var settings_page_default = _template("x", (input) => {
4591
4599
  dr: refreshUsage,
4592
4600
  ds: setActive,
4593
4601
  du: run,
4594
- dv: applySkills,
4595
- dx: loadSkills,
4596
- dy: runSkill,
4597
- dz: autoPush,
4598
- e0: backupBusy,
4599
- e1: backupLine,
4600
- e2: preflight,
4601
- e5: preflight?.contents?.workspaces,
4602
- e6: preflight?.contents?.archived,
4603
- e7: preflight?.contents?.tools,
4604
- e8: preflight?.contents?.skills,
4605
- e9: preflight?.contents?.agents,
4606
- ea: preflight?.unpushed,
4607
- eb: preflight?.files,
4608
- ec: preflight?.workspaces,
4609
- ed: restorePreview,
4610
- ef: restoreWs,
4611
- eg: restoreWs?.size,
4612
- eh: restoreParts,
4613
- ej: restoreDone,
4614
- el: loadAutoPush,
4615
- em: setAutoPush,
4616
- en: downloadManifest,
4617
- ep: startExport,
4618
- eq: pushAndExport,
4619
- er: pickRestoreFile,
4620
- es: toggleRestoreWs,
4621
- et: runRestore,
4622
- eu: searchSkills,
4623
- ev: changeHost,
4624
- ew: runEach,
4625
- ex: setPreferred,
4626
- f0: saveTimer.id,
4627
- f2: setInstance,
4628
- f5: setEnabled,
4629
- f6: search,
4630
- f7: outdated,
4631
- f8: tools,
4632
- fa: missingInstallable,
4633
- fb: missingInstallable?.length,
4634
- fd: missingCount,
4635
- fe: outdatedIds,
4636
- ff: outdatedIds?.length,
4637
- fh: families,
4638
- fj: families.length,
4639
- fl: instanceIds,
4640
- fn: accountsFor,
4641
- fo: strayAccountsFor,
4642
- g1: restorePreview?.preview?.from?.host,
4643
- g2: restorePreview?.preview?.from?.exportedAt,
4644
- g3: restorePreview?.preview?.from?.version,
4645
- g4: restorePreview?.preview?.workspaces,
4646
- g5: restorePreview?.preview?.workspaces?.length,
4647
- g6: restorePreview?.preview?.tools,
4648
- g7: restorePreview?.preview?.skills,
4649
- g8: restorePreview?.preview?.agents,
4650
- g9: restorePreview?.preview?.hosts,
4651
- ga: restorePreview?.preview?.settings,
4652
- ge: $setup_missing__closures,
4653
- gh: $refreshing__closures,
4602
+ dw: skillSeq.applied,
4603
+ dx: skillSeq.issued,
4604
+ dy: applySkills,
4605
+ e1: loadSkills,
4606
+ e2: runSkill,
4607
+ e3: autoPush,
4608
+ e4: backupBusy,
4609
+ e5: backupLine,
4610
+ e6: preflight,
4611
+ e9: preflight?.contents?.workspaces,
4612
+ ea: preflight?.contents?.archived,
4613
+ eb: preflight?.contents?.tools,
4614
+ ec: preflight?.contents?.skills,
4615
+ ed: preflight?.contents?.agents,
4616
+ ee: preflight?.unpushed,
4617
+ ef: preflight?.files,
4618
+ eg: preflight?.workspaces,
4619
+ eh: restorePreview,
4620
+ ej: restoreWs,
4621
+ ek: restoreWs?.size,
4622
+ el: restoreParts,
4623
+ en: restoreDone,
4624
+ ep: loadAutoPush,
4625
+ eq: setAutoPush,
4626
+ er: downloadManifest,
4627
+ et: startExport,
4628
+ eu: pushAndExport,
4629
+ ev: pickRestoreFile,
4630
+ ew: toggleRestoreWs,
4631
+ ex: runRestore,
4632
+ ey: searchSkills,
4633
+ ez: changeHost,
4634
+ f0: runEach,
4635
+ f1: setPreferred,
4636
+ f4: saveTimer.id,
4637
+ f6: setInstance,
4638
+ f9: setEnabled,
4639
+ fa: search,
4640
+ fb: outdated,
4641
+ fc: tools,
4642
+ fe: missingInstallable,
4643
+ ff: missingInstallable?.length,
4644
+ fh: missingCount,
4645
+ fi: outdatedIds,
4646
+ fj: outdatedIds?.length,
4647
+ fl: families,
4648
+ fn: families.length,
4649
+ fp: instanceIds,
4650
+ fr: accountsFor,
4651
+ fs: strayAccountsFor,
4652
+ g5: restorePreview?.preview?.from?.host,
4653
+ g6: restorePreview?.preview?.from?.exportedAt,
4654
+ g7: restorePreview?.preview?.from?.version,
4655
+ g8: restorePreview?.preview?.workspaces,
4656
+ g9: restorePreview?.preview?.workspaces?.length,
4657
+ ga: restorePreview?.preview?.tools,
4658
+ gb: restorePreview?.preview?.skills,
4659
+ gc: restorePreview?.preview?.agents,
4660
+ gd: restorePreview?.preview?.hosts,
4661
+ ge: restorePreview?.preview?.settings,
4662
+ gi: $setup_missing__closures,
4663
+ gl: $refreshing__closures,
4654
4664
  d: _existing_scope($childScope2),
4655
- gg: $error__closures,
4656
- gv: $self_latest__closures,
4657
- gw: $self_version__closures,
4665
+ gk: $error__closures,
4666
+ gz: $self_latest__closures,
4667
+ h0: $self_version__closures,
4658
4668
  p: _existing_scope($childScope3),
4659
- gi: $active__closures,
4660
- gb: $si__input_preferred && $input_preferred__closures,
4661
- hw: $accountsFor2__closures,
4662
- gk: $authCodes__closures,
4663
- gl: $confirmingRemove__closures,
4664
- h9: $si__input_setupChange && $refresh2__closures,
4665
- ha: $run2__closures,
4669
+ gm: $active__closures,
4670
+ gf: $si__input_preferred && $input_preferred__closures,
4671
+ i0: $accountsFor2__closures,
4672
+ go: $authCodes__closures,
4673
+ gp: $confirmingRemove__closures,
4674
+ hd: $si__input_setupChange && $refresh2__closures,
4675
+ he: $run2__closures,
4666
4676
  a5: _existing_scope($childScope11),
4667
- gu: $self_install__closures,
4668
- gx: $selfUpdating__closures,
4669
- gs: $hits__closures,
4670
- gr: $query__closures,
4671
- gz: $searching__closures,
4672
- hr: $search2__closures,
4677
+ gy: $self_install__closures,
4678
+ h1: $selfUpdating__closures,
4679
+ gw: $hits__closures,
4680
+ gv: $query__closures,
4681
+ h3: $searching__closures,
4682
+ hv: $search2__closures,
4673
4683
  ag: _existing_scope($childScope12),
4674
- h8: $confirmingSkill__closures,
4675
- h0: $skills__closures,
4676
- h4: $skills_available__closures,
4677
- h5: $skillQuery__closures,
4678
- h6: $skillHits__closures,
4679
- h7: $skillSearching__closures,
4680
- hq: $searchSkills2__closures,
4681
- hj: $preflight_unpushed__closures,
4682
- hk: $preflight_files__closures,
4683
- hm: $restoreWs__closures,
4684
- i1: $preview_workspaces__closures,
4685
- i7: $preview_settings__closures,
4686
- ho: $restoreParts__closures
4684
+ hc: $confirmingSkill__closures,
4685
+ h4: $skills__closures,
4686
+ h8: $skills_available__closures,
4687
+ h9: $skillQuery__closures,
4688
+ ha: $skillHits__closures,
4689
+ hb: $skillSearching__closures,
4690
+ hu: $searchSkills2__closures,
4691
+ hn: $preflight_unpushed__closures,
4692
+ ho: $preflight_files__closures,
4693
+ hq: $restoreWs__closures,
4694
+ i5: $preview_workspaces__closures,
4695
+ ib: $preview_settings__closures,
4696
+ hs: $restoreParts__closures
4687
4697
  });
4688
4698
  _resume_branch($scope0_id);
4689
4699
  });
@@ -5134,7 +5144,7 @@ function parseInvite(text) {
5134
5144
  repos
5135
5145
  };
5136
5146
  }
5137
- var hint = "_dC _R";
5147
+ var hint = "_dL _R";
5138
5148
  //#endregion
5139
5149
  //#region src/tags/join-dialog.marko
5140
5150
  var api$4;
@@ -5244,7 +5254,7 @@ var join_dialog_default = _template("o", (input) => {
5244
5254
  const $childScope = _peek_scope_id();
5245
5255
  modal_view_default({
5246
5256
  label: "Join a workspace",
5247
- class: "_dA",
5257
+ class: "_dJ",
5248
5258
  open: input.open,
5249
5259
  openChange: _resume(function(next) {
5250
5260
  if (!next) reset();
@@ -5267,26 +5277,26 @@ var join_dialog_default = _template("o", (input) => {
5267
5277
  content: _content("o12", () => {
5268
5278
  _scope_reason();
5269
5279
  const $scope1_id = _scope_id();
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([
5280
+ _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([
5271
5281
  "_T",
5272
5282
  "_w",
5273
- "_dE"
5283
+ "_dN"
5274
5284
  ])} 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")}`);
5275
5285
  _if(() => {
5276
5286
  if (parsed.error) {
5277
5287
  const $scope8_id = _scope_id();
5278
- _html(`<p${_attr_class([hint, "_dD"])}>${_escape(parsed.error)}${_el_resume($scope8_id, "b")}</p>`);
5288
+ _html(`<p${_attr_class([hint, "_dM"])}>${_escape(parsed.error)}${_el_resume($scope8_id, "b")}</p>`);
5279
5289
  _subscribe($parsed_error__closures, writeScope($scope8_id, { Cae: 1 }));
5280
5290
  return 0;
5281
5291
  } else if (parsed.ok) {
5282
5292
  const $scope3_id = _scope_id();
5283
- _html(`<ul${_attr_class("_dF")}>`);
5293
+ _html(`<ul${_attr_class("_dO")}>`);
5284
5294
  _for_of(parsed.ok.repos, (fullName) => {
5285
5295
  const $scope9_id = _scope_id();
5286
- _html(`<li${_attr_class("_dG")}><span${_attr_class("_dH")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
5296
+ _html(`<li${_attr_class("_dP")}><span${_attr_class("_dQ")}>${_escape(repoLabel(fullName))}${_el_resume($scope9_id, "c")}</span></li>`);
5287
5297
  writeScope($scope9_id, {});
5288
5298
  }, (r) => r, $scope3_id, "a", 1, 1, 1, "</ul>", 1);
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("_bL")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
5299
+ _html(`<p${_attr_class(hint)}>Your own lane of <span${_attr_class("_w")}>${_escape(parsed.ok.branch)}${_el_resume($scope3_id, "d")}</span> in each; PRs target theirs.</p><label${_attr_class("_dR")}><span${_attr_class("_bL")}>Name</span><input${_attr_input_value($scope3_id, "g", name, _resume((_new_name) => {
5290
5300
  name = _new_name;
5291
5301
  }, "o1", $scope3_id))}${_attr_class("_T")}${_attr("placeholder", parsed.ok.name)}${_attr("disabled", busy)}>${_el_resume($scope3_id, "g")}</label>`);
5292
5302
  _script($scope3_id, "o8");
@@ -5323,10 +5333,10 @@ var join_dialog_default = _template("o", (input) => {
5323
5333
  _if(() => {
5324
5334
  if (busy && steps$2.length) {
5325
5335
  const $scope6_id = _scope_id();
5326
- _html(`<ul${_attr_class("_dJ")}>`);
5336
+ _html(`<ul${_attr_class("_dS")}>`);
5327
5337
  _for_of(steps$2, (step$2, i) => {
5328
5338
  const $scope7_id = _scope_id();
5329
- _html(`<li${_attr_class(["_dL", { ["_dK"]: i === steps$2.length - 1 }])}>`);
5339
+ _html(`<li${_attr_class(["_dU", { ["_dT"]: i === steps$2.length - 1 }])}>`);
5330
5340
  _if(() => {
5331
5341
  if (i === steps$2.length - 1) {
5332
5342
  const $scope10_id = _scope_id();
@@ -5335,7 +5345,7 @@ var join_dialog_default = _template("o", (input) => {
5335
5345
  return 0;
5336
5346
  } else {
5337
5347
  const $scope11_id = _scope_id();
5338
- _html(`<span${_attr_class("_dM")}>`);
5348
+ _html(`<span${_attr_class("_dV")}>`);
5339
5349
  icon_check_default({ size: 14 });
5340
5350
  _html("</span>");
5341
5351
  writeScope($scope11_id, {});
@@ -5810,8 +5820,8 @@ function vapidKey(base64) {
5810
5820
  const raw = atob(padded.replace(/-/g, "+").replace(/_/g, "/"));
5811
5821
  return Uint8Array.from(raw, (c) => c.charCodeAt(0));
5812
5822
  }
5813
- var iconBtn$1 = "_dX _j";
5814
- var navToggle = "_d2 _j";
5823
+ var iconBtn$1 = "_d7 _j";
5824
+ var navToggle = "_eb _j";
5815
5825
  _template("P", (input) => {
5816
5826
  const $scope0_reason = _scope_reason(), $sg__input_size__OR__input_class = _serialize_guard($scope0_reason, 0);
5817
5827
  const $scope0_id = _scope_id();
@@ -5926,22 +5936,22 @@ var usage_pcts_default = _template("G", (input) => {
5926
5936
  if (windows.length) {
5927
5937
  const $scope1_id = _scope_id();
5928
5938
  _html(`<span${_attr_class([
5929
- "_f4",
5939
+ "_f0",
5930
5940
  input.class,
5931
- { ["_f5"]: agent.stale_seconds != null }
5941
+ { ["_f1"]: agent.stale_seconds != null }
5932
5942
  ])}${agent.stale_seconds != null ? _attr("title", `${agent.note || "provider unreachable"}; last cached numbers`) : " title=\"Plan usage\""}>`);
5933
5943
  _for_of(windows, (win$1, i) => {
5934
5944
  const $scope2_id = _scope_id();
5935
- _html(`<span${_attr_class("_f6")}>`);
5945
+ _html(`<span${_attr_class("_f2")}>`);
5936
5946
  _if(() => {
5937
5947
  if (i) {
5938
5948
  const $scope3_id = _scope_id();
5939
- _html(`<span${_attr_class("_f9")} aria-hidden=true>·</span>`);
5949
+ _html(`<span${_attr_class("_f5")} aria-hidden=true>·</span>`);
5940
5950
  $si__input_agent && writeScope($scope3_id, {});
5941
5951
  return 0;
5942
5952
  }
5943
5953
  }, $scope2_id, "b", $sg__input_agent, $sg__input_agent, $sg__input_agent, 0, 1);
5944
- _html(`<span${_attr_class("_f7")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f8", win$1.used_percent >= 90 ? "_fT" : win$1.used_percent >= 70 ? "_fS" : win$1.used_percent >= 40 ? "_fR" : "_fQ"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
5954
+ _html(`<span${_attr_class("_f3")}>${_escape(win$1.window)}${_el_resume($scope2_id, "d", $sg__input_agent)}</span><span${_attr_class(["_f4", win$1.used_percent >= 90 ? "_fR" : win$1.used_percent >= 70 ? "_fQ" : win$1.used_percent >= 40 ? "_fP" : "_fO"])}>${_escape(pctText(win$1.used_percent))}${_el_resume($scope2_id, "f", $sg__input_agent)}</span>${_el_resume($scope2_id, "e", $sg__input_agent)}</span>`);
5945
5955
  $si__input_agent && writeScope($scope2_id, {});
5946
5956
  }, "window", $scope1_id, "a", $sg__input_agent, $sg__input_agent__OR__input_class, $sg__input_agent, "</span>", 1);
5947
5957
  $si__input_agent__OR__input_class && writeScope($scope1_id, { _: _scope_with_id($scope0_id) });
@@ -6662,34 +6672,34 @@ var side_nav_default = _template("A", (input) => {
6662
6672
  const listIds = isPage ? [ws.id, ...otherIds] : itemIds;
6663
6673
  _html(`<script${_attr_nonce()}>${_escape_script(`
6664
6674
  ${_to_text(`if (matchMedia("(max-width: 899px)").matches) document.documentElement.classList.add("work-no-rail");`)};
6665
- `)}<\/script><aside${_attr_class(["_d1", {
6666
- ["_dZ"]: !navOpen,
6667
- ["_d0"]: isPage
6675
+ `)}<\/script><aside${_attr_class(["_ea", {
6676
+ ["_d9"]: !navOpen,
6677
+ ["_d_"]: isPage
6668
6678
  }])}${_attr("hidden", view === "diff")}>`);
6669
6679
  _if(() => {
6670
6680
  if (isPage) {
6671
6681
  const $scope1_id = _scope_id();
6672
- _html(`<header${_attr_class("_d4")}><div${_attr_class("_ec")}>`);
6682
+ _html(`<header${_attr_class("_ed")}><div${_attr_class("_em")}>`);
6673
6683
  _if(() => {
6674
6684
  if (input.instanceName) {
6675
6685
  const $scope2_id = _scope_id();
6676
- _html(`<div${_attr_class("_d_")} title="This work server (Settings → Appearance)"><img${_attr_class("_ea")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eb")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
6686
+ _html(`<div${_attr_class("_ej")} title="This work server (Settings → Appearance)"><img${_attr_class("_ek")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope2_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_el")}>${_escape(input.instanceName)}${_el_resume($scope2_id, "d", $sg__input_instanceName)}</span></div>`);
6677
6687
  _subscribe($si__input_instanceAccent && $iconSrc__closures, _subscribe($si__input_instanceName && $input_instanceName__closures, writeScope($scope2_id, { _: _scope_with_id($scope1_id) })));
6678
6688
  return 0;
6679
6689
  }
6680
6690
  }, $scope1_id, "c", $sg__input_instanceName, $sg__input_instanceName, 1, 0, 1);
6681
- _html(`<h1${_attr_class("_d5")}>Workspaces</h1></div><div${_attr_class("_d6")}>`);
6691
+ _html(`<h1${_attr_class("_ee")}>Workspaces</h1></div><div${_attr_class("_ef")}>`);
6682
6692
  _if(() => {}, $scope1_id, "f", 1, 1, 1, 0, 1);
6683
6693
  _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([
6684
6694
  iconBtn$1,
6685
- "_d7",
6686
- { ["_dW"]: view === "settings" }
6695
+ "_eg",
6696
+ { ["_d6"]: view === "settings" }
6687
6697
  ])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
6688
6698
  icon_settings_default({ size: 16 });
6689
6699
  _if(() => {
6690
6700
  if (input.setupReady === false) {
6691
6701
  const $scope12_id = _scope_id();
6692
- _html(`<span${_attr_class(["_y", "_dY"])} title="Machine setup incomplete"></span>`);
6702
+ _html(`<span${_attr_class(["_y", "_d8"])} title="Machine setup incomplete"></span>`);
6693
6703
  $si__input_setupReady && writeScope($scope12_id, {});
6694
6704
  return 0;
6695
6705
  }
@@ -6702,18 +6712,18 @@ var side_nav_default = _template("A", (input) => {
6702
6712
  _if(() => {
6703
6713
  if (!isPage && input.instanceName) {
6704
6714
  const $scope3_id = _scope_id();
6705
- _html(`<div${_attr_class("_d_")} title="This work server (Settings → Appearance)"><img${_attr_class("_ea")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_eb")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
6715
+ _html(`<div${_attr_class("_ej")} title="This work server (Settings → Appearance)"><img${_attr_class("_ek")}${_attr("src", iconSrc)} alt aria-hidden=true>${_el_resume($scope3_id, "b", $sg__input_instanceAccent)}<span${_attr_class("_el")}>${_escape(input.instanceName)}${_el_resume($scope3_id, "d", $sg__input_instanceName)}</span></div>`);
6706
6716
  writeScope($scope3_id, {});
6707
6717
  return 0;
6708
6718
  }
6709
6719
  }, $scope0_id, "d", 1, 1, 1, 0, 1);
6710
- _html(`<div${_attr_class("_ed")}>`);
6720
+ _html(`<div${_attr_class("_en")}>`);
6711
6721
  _for_of(listIds, (wsId) => {
6712
6722
  const $scope4_id = _scope_id();
6713
6723
  _if(() => {
6714
6724
  if (isPage && wsId === ws.id) {
6715
6725
  const $scope13_id = _scope_id();
6716
- _html(`<h2${_attr_class(["_bL", "_d8"])}>Current</h2>`);
6726
+ _html(`<h2${_attr_class(["_bL", "_eh"])}>Current</h2>`);
6717
6727
  writeScope($scope13_id, {});
6718
6728
  return 0;
6719
6729
  }
@@ -6721,7 +6731,7 @@ var side_nav_default = _template("A", (input) => {
6721
6731
  _if(() => {
6722
6732
  if (isPage && wsId !== ws.id && wsId === otherIds[0]) {
6723
6733
  const $scope14_id = _scope_id();
6724
- _html(`<h2${_attr_class(["_bL", "_d8"])}>Other workspaces</h2>`);
6734
+ _html(`<h2${_attr_class(["_bL", "_eh"])}>Other workspaces</h2>`);
6725
6735
  writeScope($scope14_id, {});
6726
6736
  return 0;
6727
6737
  }
@@ -6805,7 +6815,7 @@ var side_nav_default = _template("A", (input) => {
6805
6815
  railHover = null;
6806
6816
  }, 150);
6807
6817
  }, "A6", $scope5_id);
6808
- _html(`<div${_attr_class("_ee")} data-rail>`);
6818
+ _html(`<div${_attr_class("_eo")} data-rail>`);
6809
6819
  _for_of(itemIds, (wsId, i) => {
6810
6820
  const $scope6_id = _scope_id();
6811
6821
  _html("<span>");
@@ -6859,7 +6869,7 @@ var side_nav_default = _template("A", (input) => {
6859
6869
  if (railHover) {
6860
6870
  const $scope7_id = _scope_id();
6861
6871
  const hoverId = railHover.id;
6862
- _html(`<div${_attr_class(["_4", "_eh"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
6872
+ _html(`<div${_attr_class(["_4", "_er"])}${_attr_style(`top:${railHover.top}px;left:${railHover.left}px`)}>`);
6863
6873
  _set_serialize_reason({
6864
6874
  0: 1,
6865
6875
  1: 1,
@@ -6944,7 +6954,7 @@ var side_nav_default = _template("A", (input) => {
6944
6954
  return 0;
6945
6955
  }
6946
6956
  }, $scope0_id, "f");
6947
- _html(`<div${_attr_class("_ef")}>`);
6957
+ _html(`<div${_attr_class("_ep")}>`);
6948
6958
  _if(() => {
6949
6959
  if (isPage) {
6950
6960
  const $scope9_id = _scope_id();
@@ -6952,7 +6962,7 @@ var side_nav_default = _template("A", (input) => {
6952
6962
  "_o",
6953
6963
  "_p",
6954
6964
  btnLg,
6955
- "_d9"
6965
+ "_ei"
6956
6966
  ])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
6957
6967
  icon_folder_plus_default({ size: 16 });
6958
6968
  _html(` New workspace</a>${_el_resume($scope9_id, "a")}`);
@@ -6974,19 +6984,19 @@ var side_nav_default = _template("A", (input) => {
6974
6984
  return 1;
6975
6985
  }
6976
6986
  }, $scope8_id, "a", 1, 1, 1, "</button>", 1);
6977
- _html(`<div${_attr_class(["_x", "_eg"])}></div>`);
6987
+ _html(`<div${_attr_class(["_x", "_eq"])}></div>`);
6978
6988
  _if(() => {}, $scope8_id, "c", 1, 1, 1, 0, 1);
6979
- _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_dW"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
6989
+ _html(`<a${view === "settings" ? _attr("href", backHref) : " href=/settings"}${_attr_class([iconBtn$1, { ["_d6"]: view === "settings" }])} title=${view === "settings" ? "\"Back to workspace\"" : "Settings"}${view === "settings" ? " aria-current=page" : ""}>`);
6980
6990
  icon_settings_default({ size: 15 });
6981
6991
  _if(() => {
6982
6992
  if (input.setupReady === false) {
6983
6993
  const $scope17_id = _scope_id();
6984
- _html(`<span${_attr_class(["_y", "_dY"])} title="Machine setup incomplete"></span>`);
6994
+ _html(`<span${_attr_class(["_y", "_d8"])} title="Machine setup incomplete"></span>`);
6985
6995
  $si__input_setupReady && writeScope($scope17_id, {});
6986
6996
  return 0;
6987
6997
  }
6988
6998
  }, $scope8_id, "f", $sg__input_setupReady, $sg__input_setupReady, 1, 0, 1);
6989
- _html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_dW"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
6999
+ _html(`</a>${_el_resume($scope8_id, "d")}<a${view === "new" ? _attr("href", backHref) : " href=/new"}${_attr_class([iconBtn$1, { ["_d6"]: view === "new" }])} title=${view === "new" ? "\"Back to workspace\"" : "\"New workspace\""}${view === "new" ? " aria-current=page" : ""}>`);
6990
7000
  icon_folder_plus_default({ size: 16 });
6991
7001
  _html(`</a>${_el_resume($scope8_id, "g")}`);
6992
7002
  _script($scope8_id, "A15");
@@ -7056,10 +7066,10 @@ var side_nav_default = _template("A", (input) => {
7056
7066
  });
7057
7067
  var iconBtn = "_Z _j";
7058
7068
  var sectionCount = "_bz _H _I";
7059
- var content = "_ei _bp";
7060
- var pageMeta = "_ej _bu";
7061
- var pathMeta = "_em _w";
7062
- var dangerHint = "_er _R";
7069
+ var content = "_dW _bp";
7070
+ var pageMeta = "_dX _bu";
7071
+ var pathMeta = "_d0 _w";
7072
+ var dangerHint = "_d5 _R";
7063
7073
  //#endregion
7064
7074
  //#region src/tags/icons/icon-clipboard.marko
7065
7075
  var icon_clipboard_default = _template("U", (input) => {
@@ -7125,45 +7135,53 @@ var manage_workspace_default = _template("q", (input) => {
7125
7135
  copied = false;
7126
7136
  }, 1500);
7127
7137
  }, "q0", $scope0_id);
7138
+ const skillSeq = {
7139
+ issued: 0,
7140
+ applied: 0
7141
+ };
7142
+ const applySkills = _resume((data, seq) => {
7143
+ if (seq <= skillSeq.applied) return;
7144
+ skillSeq.applied = seq;
7145
+ skills = data;
7146
+ lastData.set(`skills:${ws.id}`, data);
7147
+ }, "q1", $scope0_id);
7128
7148
  const loadSkills = _resume(async (signal) => {
7149
+ const seq = ++skillSeq.issued;
7129
7150
  try {
7130
- const data = await api$2(`/api/workspaces/${ws.id}/skills`, { signal });
7131
- skills = data;
7132
- lastData.set(`skills:${ws.id}`, data);
7151
+ applySkills(await api$2(`/api/workspaces/${ws.id}/skills`, { signal }), seq);
7133
7152
  } catch {}
7134
- }, "q1", $scope0_id);
7153
+ }, "q2", $scope0_id);
7135
7154
  const loadProcs = _resume(async (signal) => {
7136
7155
  try {
7137
7156
  const data = await api$2(`/api/workspaces/${ws.id}/procs`, { signal });
7138
7157
  procs = data;
7139
7158
  lastData.set(`procs:${ws.id}`, data);
7140
7159
  } catch {}
7141
- }, "q2", $scope0_id);
7160
+ }, "q3", $scope0_id);
7142
7161
  const inWorkspace = new Set(ws.repos.map((r) => r.full_name));
7143
7162
  const setBusy = _resume((name, on) => {
7144
7163
  const next = new Set(busy);
7145
7164
  if (on) next.add(name);
7146
7165
  else next.delete(name);
7147
7166
  busy = next;
7148
- }, "q3", $scope0_id);
7167
+ }, "q4", $scope0_id);
7149
7168
  const runSkill = _resume(async (key, body) => {
7150
7169
  if (busy.has(key)) return;
7151
7170
  error = null;
7152
7171
  setBusy(key, true);
7172
+ const seq = ++skillSeq.issued;
7153
7173
  try {
7154
- const data = await api$2(`/api/workspaces/${ws.id}/skills`, {
7174
+ applySkills(await api$2(`/api/workspaces/${ws.id}/skills`, {
7155
7175
  method: "POST",
7156
7176
  headers: { "content-type": "application/json" },
7157
7177
  body: JSON.stringify(body)
7158
- });
7159
- skills = data;
7160
- lastData.set(`skills:${ws.id}`, data);
7178
+ }), seq);
7161
7179
  } catch (err) {
7162
7180
  error = String(err.message || err);
7163
7181
  } finally {
7164
7182
  setBusy(key, false);
7165
7183
  }
7166
- }, "q4", $scope0_id);
7184
+ }, "q5", $scope0_id);
7167
7185
  const addRepo = _resume(async (name, baseBranch, fork) => {
7168
7186
  if (!name || busy.has(name)) return;
7169
7187
  error = null;
@@ -7182,7 +7200,7 @@ var manage_workspace_default = _template("q", (input) => {
7182
7200
  error = String(err.message || err);
7183
7201
  }
7184
7202
  setBusy(name, false);
7185
- }, "q5", $scope0_id);
7203
+ }, "q6", $scope0_id);
7186
7204
  const removeRepo = _resume(async (row) => {
7187
7205
  if (busy.has(row.full_name)) return;
7188
7206
  error = null;
@@ -7197,7 +7215,7 @@ var manage_workspace_default = _template("q", (input) => {
7197
7215
  error = String(err.message || err);
7198
7216
  }
7199
7217
  setBusy(row.full_name, false);
7200
- }, "q6", $scope0_id);
7218
+ }, "q7", $scope0_id);
7201
7219
  const runAction = _resume(async (action) => {
7202
7220
  error = null;
7203
7221
  pendingAction = action;
@@ -7219,16 +7237,16 @@ var manage_workspace_default = _template("q", (input) => {
7219
7237
  pendingAction = null;
7220
7238
  actionStep = null;
7221
7239
  }
7222
- }, "q7", $scope0_id);
7240
+ }, "q8", $scope0_id);
7223
7241
  const killProc = _resume(async (pid) => {
7224
7242
  await fetch(`/api/procs/${pid}`, { method: "DELETE" });
7225
7243
  setTimeout(() => loadProcs(void 0), 500);
7226
- }, "q8", $scope0_id);
7244
+ }, "q9", $scope0_id);
7227
7245
  const titleId = _id();
7228
7246
  _html(`<div${_attr_class("_bn")} role=region${_attr("aria-labelledby", titleId)}><div${_attr_class("_bo")}><div${_attr_class(content)}>`);
7229
7247
  _set_serialize_reason(286);
7230
7248
  let $actions;
7231
- if (ws.repos.length) $actions = attrTag({ content: _content_resume("q16", () => {
7249
+ if (ws.repos.length) $actions = attrTag({ content: _content_resume("q17", () => {
7232
7250
  _scope_reason();
7233
7251
  const $scope13_id = _scope_id();
7234
7252
  _html(`<button type=button${_attr_class(iconBtnRow)}${copied ? " title=\"Invite copied\"" : _attr("title", `Copy invite — anyone with it can join from New: the same repos on their own lane of ${ws.origin_branch || ws.branch}`)} aria-label="Copy invite">`);
@@ -7245,7 +7263,7 @@ var manage_workspace_default = _template("q", (input) => {
7245
7263
  return 1;
7246
7264
  }
7247
7265
  }, $scope13_id, "a", 1, 1, 1, "</button>", 1);
7248
- _script($scope13_id, "q14");
7266
+ _script($scope13_id, "q15");
7249
7267
  _subscribe($ws_branch__closures, _subscribe($ws_origin_branch__closures, _subscribe($copied__closures, writeScope($scope13_id, { _: _scope_with_id($scope0_id) }))));
7250
7268
  _resume_branch($scope13_id);
7251
7269
  }, $scope0_id) });
@@ -7256,12 +7274,12 @@ var manage_workspace_default = _template("q", (input) => {
7256
7274
  backHref: `/w/${ws.id}`,
7257
7275
  onBack: _resume(function() {
7258
7276
  input.onExit?.();
7259
- }, "q9", $scope0_id),
7277
+ }, "q10", $scope0_id),
7260
7278
  actions: $actions,
7261
- meta: attrTag({ content: _content_resume("q15", () => {
7279
+ meta: attrTag({ content: _content_resume("q16", () => {
7262
7280
  _scope_reason();
7263
7281
  const $scope14_id = _scope_id();
7264
- _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_ek")}>${_escape(ws.name)}${_el_resume($scope14_id, "c")}</span>`);
7282
+ _html(`<span${_attr_class(pageMeta)}${_attr("title", ws.display_path || ws.path)}><span${_attr_class("_dY")}>${_escape(ws.name)}${_el_resume($scope14_id, "c")}</span>`);
7265
7283
  _if(() => {
7266
7284
  if (ws.status !== "active") {
7267
7285
  const $scope18_id = _scope_id();
@@ -7270,7 +7288,7 @@ var manage_workspace_default = _template("q", (input) => {
7270
7288
  return 0;
7271
7289
  }
7272
7290
  }, $scope14_id, "d", 1, 1, 1, 0, 1);
7273
- _html(`<span${_attr_class("_el")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope14_id, "g")}</span></span>${_el_resume($scope14_id, "a")}`);
7291
+ _html(`<span${_attr_class("_dZ")} aria-hidden=true>·</span><span${_attr_class(pathMeta)}>${_escape(ws.display_path || ws.path)}${_el_resume($scope14_id, "g")}</span></span>${_el_resume($scope14_id, "a")}`);
7274
7292
  _subscribe($ws_status__closures, _subscribe($ws_path__closures, _subscribe($ws_display_path__closures, _subscribe($ws_name__closures, writeScope($scope14_id, { _: _scope_with_id($scope0_id) })))));
7275
7293
  _resume_branch($scope14_id);
7276
7294
  }, $scope0_id) })
@@ -7282,8 +7300,8 @@ var manage_workspace_default = _template("q", (input) => {
7282
7300
  placement: "inline",
7283
7301
  onDismiss: _resume(function() {
7284
7302
  error = null;
7285
- }, "q10", $scope6_id),
7286
- content: _content_resume("q17", () => {
7303
+ }, "q11", $scope6_id),
7304
+ content: _content_resume("q18", () => {
7287
7305
  _scope_reason();
7288
7306
  const $scope7_id = _scope_id();
7289
7307
  _html(`${_escape(error)}${_el_resume($scope7_id, "a")}`);
@@ -7303,18 +7321,18 @@ var manage_workspace_default = _template("q", (input) => {
7303
7321
  return 0;
7304
7322
  }
7305
7323
  }, $scope0_id, "f", 1, 1, 1, 0, 1);
7306
- _html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Workspace</h2></div><div${_attr_class("_eq")}>`);
7324
+ _html(`<section${_attr_class("_bx")}><div${_attr_class("_by")}><h2${_attr_class("_bL")}>Workspace</h2></div><div${_attr_class("_d4")}>`);
7307
7325
  _if(() => {
7308
7326
  if (ws.status === "active") {
7309
7327
  const $scope8_id = _scope_id();
7310
7328
  _html(`<button type=button${_attr_class(btnLg)}${_attr("disabled", !!pendingAction)}>${pendingAction === "archive" ? "Archiving…" : "Archive"}${_el_resume($scope8_id, "b")}</button>${_el_resume($scope8_id, "a")}`);
7311
- _script($scope8_id, "q18");
7329
+ _script($scope8_id, "q19");
7312
7330
  writeScope($scope8_id, {});
7313
7331
  return 0;
7314
7332
  } else {
7315
7333
  const $scope9_id = _scope_id();
7316
7334
  _html(`<button type=button${_attr_class(btnLg)}${_attr("disabled", !!pendingAction)}>Restore</button>${_el_resume($scope9_id, "a")}`);
7317
- _script($scope9_id, "q19");
7335
+ _script($scope9_id, "q20");
7318
7336
  writeScope($scope9_id, {});
7319
7337
  return 1;
7320
7338
  }
@@ -7333,7 +7351,7 @@ var manage_workspace_default = _template("q", (input) => {
7333
7351
  _html(`</button>${_el_resume($scope0_id, "u")}</div><ul${_attr_class("_bA")}>`);
7334
7352
  _for_of(ws.repos, (row) => {
7335
7353
  const $scope1_id = _scope_id();
7336
- _html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bF")}><a${_attr_class(["_bG", "_eo"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
7354
+ _html(`<li${_attr_class("_bC")}><div${_attr_class("_bD")}><span${_attr_class(["_bE", "_w"])}>${_escape(row.worktree)}${_el_resume($scope1_id, "d")}/</span><span${_attr_class("_bF")}><a${_attr_class(["_bG", "_d2"])}${_attr("href", repoWebUrl(row.full_name))} target=_blank rel=noopener${_attr("title", `Open ${row.full_name} on GitHub`)}>${_escape(repoLabel(row.full_name))}${_el_resume($scope1_id, "g")}</a>${_el_resume($scope1_id, "f")}`);
7337
7355
  _if(() => {
7338
7356
  if (row.base_branch !== row.default_branch) {
7339
7357
  const $scope21_id = _scope_id();
@@ -7372,7 +7390,7 @@ var manage_workspace_default = _template("q", (input) => {
7372
7390
  return 1;
7373
7391
  }
7374
7392
  }, $scope10_id, "a", 1, 1, 1, "</button>");
7375
- _script($scope10_id, "q20");
7393
+ _script($scope10_id, "q21");
7376
7394
  _subscribe($confirmingRemove__closures, writeScope($scope10_id, {}));
7377
7395
  return 1;
7378
7396
  }
@@ -7399,21 +7417,21 @@ var manage_workspace_default = _template("q", (input) => {
7399
7417
  return 0;
7400
7418
  }
7401
7419
  }, $scope0_id, "z", 1, 1, 1, 0, 1);
7402
- _html(`<div${_attr_class("_en")}>`);
7420
+ _html(`<div${_attr_class("_d1")}>`);
7403
7421
  const $childScope3 = _peek_scope_id();
7404
7422
  let refreshCatalog = repo_picker_default({
7405
7423
  exclude: inWorkspace,
7406
7424
  onPick: _resume(function(name, baseBranch, fork) {
7407
7425
  addRepo(name, baseBranch, fork);
7408
- }, "q11", $scope0_id),
7426
+ }, "q12", $scope0_id),
7409
7427
  onError: _resume(function(message) {
7410
7428
  error = message;
7411
- }, "q12", $scope0_id),
7429
+ }, "q13", $scope0_id),
7412
7430
  refreshingChange: _resume(function(busy) {
7413
7431
  catalogRefreshing = busy;
7414
- }, "q13", $scope0_id)
7432
+ }, "q14", $scope0_id)
7415
7433
  });
7416
- _var($scope0_id, "a2", $childScope3, "q21");
7434
+ _var($scope0_id, "a2", $childScope3, "q22");
7417
7435
  const wsSkills = skills?.workspace || [];
7418
7436
  const repoSkills = (skills?.repo || []).filter((s) => !wsSkills.some((w) => w.id === s.id));
7419
7437
  _html("</div></section>");
@@ -7478,7 +7496,7 @@ var manage_workspace_default = _template("q", (input) => {
7478
7496
  _if(() => {
7479
7497
  if (s.sourceUrl) {
7480
7498
  const $scope32_id = _scope_id();
7481
- _html(`<a${_attr_class(["_bG", "_eo"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope32_id, "b")}</a>${_el_resume($scope32_id, "a")}`);
7499
+ _html(`<a${_attr_class(["_bG", "_d2"])}${_attr("href", s.sourceUrl)} target=_blank rel=noopener${_attr("title", `Open ${s.source} on GitHub`)}>${_escape(s.source)}${_el_resume($scope32_id, "b")}</a>${_el_resume($scope32_id, "a")}`);
7482
7500
  writeScope($scope32_id, {});
7483
7501
  return 0;
7484
7502
  }
@@ -7511,7 +7529,7 @@ var manage_workspace_default = _template("q", (input) => {
7511
7529
  return 1;
7512
7530
  }
7513
7531
  }, $scope12_id, "a", 1, 1, 1, "</button>");
7514
- _script($scope12_id, "q22");
7532
+ _script($scope12_id, "q23");
7515
7533
  _subscribe($confirmingSkill__closures, writeScope($scope12_id, {}));
7516
7534
  return 1;
7517
7535
  }
@@ -7562,7 +7580,7 @@ var manage_workspace_default = _template("q", (input) => {
7562
7580
  } else if (!s.shadows) {
7563
7581
  const $scope15_id = _scope_id();
7564
7582
  _html(`<button${_attr_class(btnSm)}${_attr("title", `Link ${s.name} into this workspace`)}>Use here</button>${_el_resume($scope15_id, "a")}`);
7565
- _script($scope15_id, "q23");
7583
+ _script($scope15_id, "q24");
7566
7584
  writeScope($scope15_id, {});
7567
7585
  return 1;
7568
7586
  }
@@ -7574,7 +7592,7 @@ var manage_workspace_default = _template("q", (input) => {
7574
7592
  o: s?.shadows,
7575
7593
  p: s?.description,
7576
7594
  q: s?.id,
7577
- Cbw: 1
7595
+ Cc3: 1
7578
7596
  }));
7579
7597
  }, (s) => `${s.worktree}/${s.id}`, $scope4_id, "a", 1, 1, 1, "</ul>", 1);
7580
7598
  _subscribe($repoSkills__closures, writeScope($scope4_id, {}));
@@ -7600,8 +7618,8 @@ var manage_workspace_default = _template("q", (input) => {
7600
7618
  _html(`<span${_attr_class("_bF")}>`);
7601
7619
  _for_of(p.ports, (port) => {
7602
7620
  const $scope41_id = _scope_id();
7603
- _html(`<button${_attr_class(["_s", "_ep"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
7604
- _script($scope41_id, "q24");
7621
+ _html(`<button${_attr_class(["_s", "_d3"])}${_attr("title", `Open http://${typeof location === "undefined" ? "localhost" : location.hostname}:${port}`)}>:<!>${_escape(port)}${_el_resume($scope41_id, "b")}</button>${_el_resume($scope41_id, "a")}`);
7622
+ _script($scope41_id, "q25");
7605
7623
  writeScope($scope41_id, { d: port });
7606
7624
  }, (x) => String(x), $scope40_id, "a", 1, 1, 1, "</span>", 1);
7607
7625
  writeScope($scope40_id, {});
@@ -7611,7 +7629,7 @@ var manage_workspace_default = _template("q", (input) => {
7611
7629
  _html(`</div>${_el_resume($scope17_id, "b")}<button${_attr_class(["_bH", "_2"])} type=button${_attr("title", `Kill process ${p.pid}`)}${_attr("aria-label", `Kill process ${p.pid}`)}>`);
7612
7630
  icon_xmark_default({ size: 14 });
7613
7631
  _html(`</button>${_el_resume($scope17_id, "f")}</li>`);
7614
- _script($scope17_id, "q25");
7632
+ _script($scope17_id, "q26");
7615
7633
  writeScope($scope17_id, {
7616
7634
  l: p?.ports,
7617
7635
  n: p?.pid
@@ -7623,8 +7641,8 @@ var manage_workspace_default = _template("q", (input) => {
7623
7641
  }
7624
7642
  }, $scope0_id, "a4", 1, 1, 1, 0, 1);
7625
7643
  _html("</div></div></div>");
7626
- _script($scope0_id, "q26");
7627
7644
  _script($scope0_id, "q27");
7645
+ _script($scope0_id, "q28");
7628
7646
  writeScope($scope0_id, {
7629
7647
  a7: _serialize_if($scope0_reason, 0) && input.workspace,
7630
7648
  a9: input.workspaceChange,
@@ -7652,47 +7670,50 @@ var manage_workspace_default = _template("q", (input) => {
7652
7670
  b5: workspace?.repos?.length,
7653
7671
  b6: invite,
7654
7672
  b7: copyInvite,
7655
- b8: loadSkills,
7656
- b9: loadProcs,
7657
- ba: inWorkspace,
7658
- bb: setBusy,
7659
- bc: runSkill,
7660
- bd: addRepo,
7661
- be: removeRepo,
7662
- bf: runAction,
7663
- bg: killProc,
7664
- bi: refreshCatalog,
7665
- bj: wsSkills,
7666
- bk: wsSkills.length,
7667
- bl: repoSkills,
7668
- bm: repoSkills?.length,
7669
- bn: running,
7670
- bo: running.length,
7673
+ b9: skillSeq.applied,
7674
+ ba: skillSeq.issued,
7675
+ bb: applySkills,
7676
+ bc: loadSkills,
7677
+ bd: loadProcs,
7678
+ be: inWorkspace,
7679
+ bf: setBusy,
7680
+ bg: runSkill,
7681
+ bh: addRepo,
7682
+ bi: removeRepo,
7683
+ bj: runAction,
7684
+ bk: killProc,
7685
+ bm: refreshCatalog,
7686
+ bn: wsSkills,
7687
+ bo: wsSkills.length,
7688
+ bp: repoSkills,
7689
+ bq: repoSkills?.length,
7690
+ br: running,
7691
+ bs: running.length,
7671
7692
  aw: input.workspaceChange || void 0,
7672
- c4: $ws_name__closures,
7673
- c7: $ws_display_path__closures,
7674
- c8: $ws_path__closures,
7675
- c9: $ws_status__closures,
7676
- c3: $copied__closures,
7677
- c5: $ws_origin_branch__closures,
7678
- c6: $ws_branch__closures,
7693
+ cb: $ws_name__closures,
7694
+ ce: $ws_display_path__closures,
7695
+ cf: $ws_path__closures,
7696
+ cg: $ws_status__closures,
7697
+ ca: $copied__closures,
7698
+ cc: $ws_origin_branch__closures,
7699
+ cd: $ws_branch__closures,
7679
7700
  d: _existing_scope($childScope),
7680
- bx: $error__closures,
7701
+ c4: $error__closures,
7681
7702
  v: _existing_scope($childScope2),
7682
- bz: $confirmingRemove__closures,
7703
+ c6: $confirmingRemove__closures,
7683
7704
  a1: _existing_scope($childScope3),
7684
- cb: $wsSkills_length__closures,
7685
- c2: $confirmingSkill__closures,
7686
- bw: $busy__closures,
7687
- c1: $skills__closures,
7688
- cc: $repoSkills__closures
7705
+ ci: $wsSkills_length__closures,
7706
+ c9: $confirmingSkill__closures,
7707
+ c3: $busy__closures,
7708
+ c8: $skills__closures,
7709
+ cj: $repoSkills__closures
7689
7710
  });
7690
7711
  _resume_branch($scope0_id);
7691
7712
  });
7692
- var kbtn = "_dV _0 _j";
7693
- var dpadPaste = "_fh _fg";
7694
- var repeat = "_fi _fg";
7695
- var dpadEsc = "_fk _fg";
7713
+ var kbtn = "_dI _0 _j";
7714
+ var dpadPaste = "_eS _eR";
7715
+ var repeat = "_eT _eR";
7716
+ var dpadEsc = "_eV _eR";
7696
7717
  //#endregion
7697
7718
  //#region src/tags/term-find.marko
7698
7719
  var term_find_default = _template("C", (input) => {
@@ -7729,19 +7750,19 @@ var term_find_default = _template("C", (input) => {
7729
7750
  const canStep = hasQuery && open;
7730
7751
  const keybar = input.placement === "keybar";
7731
7752
  _html(`<div${_attr_class([
7732
- "_gP",
7733
- keybar ? "_gR" : "_gQ",
7734
- !open && "_gT"
7735
- ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_gK", keybar ? "_gS" : "_gM"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
7753
+ "_gb",
7754
+ keybar ? "_gd" : "_gc",
7755
+ !open && "_gf"
7756
+ ])} aria-hidden=${open ? "false" : "true"}><div${_attr_class(["_f7", keybar ? "_ge" : "_f9"])}><input${_attr_input_value($scope0_id, "c", query, _resume(function(v) {
7736
7757
  if (!open) return;
7737
7758
  query = v;
7738
7759
  live.query = v;
7739
7760
  run(0);
7740
- }, "C0", $scope0_id))}${_attr_class([findInput, keybar && "_gU"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_gV"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
7761
+ }, "C0", $scope0_id))}${_attr_class([findInput, keybar && "_gg"])} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in terminal" aria-label="Find in terminal">${_el_resume($scope0_id, "c")}<button type=button${_attr_class([findIconBtn, keybar && "_gh"])} title="Previous match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
7741
7762
  icon_arrow_up_default({ size: 14 });
7742
- _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_gV"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
7763
+ _html(`</button>${_el_resume($scope0_id, "d")}<button type=button${_attr_class([findIconBtn, keybar && "_gh"])} title="Next match"${_attr("disabled", !canStep)} tabindex=${open ? "0" : "-1"}>`);
7743
7764
  icon_arrow_down_default({ size: 14 });
7744
- _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_gV"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
7765
+ _html(`</button>${_el_resume($scope0_id, "f")}<button type=button${_attr_class([findIconBtn, keybar && "_gh"])} title="Close find" tabindex=${open ? "0" : "-1"}>`);
7745
7766
  icon_xmark_default({ size: 14 });
7746
7767
  _html(`</button>${_el_resume($scope0_id, "h")}</div>${_el_resume($scope0_id, "b", _serialize_guard($scope0_reason, 2))}</div>${_el_resume($scope0_id, "a")}`);
7747
7768
  _script($scope0_id, "C4");
@@ -8154,7 +8175,7 @@ var term_default = _template("D", (input) => {
8154
8175
  trapOpen = true;
8155
8176
  }
8156
8177
  }, "D14", $scope0_id);
8157
- _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_eS")}><div${_attr_class("_eT")}></div>${_el_resume($scope0_id, "b")}`);
8178
+ _html(`<div${_attr("hidden", !onTermPage)}${_attr_class("_es")}><div${_attr_class("_et")}></div>${_el_resume($scope0_id, "b")}`);
8158
8179
  _if(() => {
8159
8180
  if (findOpen) {
8160
8181
  const $scope12_id = _scope_id();
@@ -8181,7 +8202,7 @@ var term_default = _template("D", (input) => {
8181
8202
  _if(() => {
8182
8203
  if (uploading) {
8183
8204
  const $scope21_id = _scope_id();
8184
- _html(`<div${_attr_class("_eZ")}>uploading…</div>`);
8205
+ _html(`<div${_attr_class("_ez")}>uploading…</div>`);
8185
8206
  writeScope($scope21_id, {});
8186
8207
  return 0;
8187
8208
  }
@@ -8189,7 +8210,7 @@ var term_default = _template("D", (input) => {
8189
8210
  _if(() => {
8190
8211
  if (copiedFlash) {
8191
8212
  const $scope22_id = _scope_id();
8192
- _html(`<div${_attr_class("_eY")}>Copied</div>`);
8213
+ _html(`<div${_attr_class("_ey")}>Copied</div>`);
8193
8214
  writeScope($scope22_id, {});
8194
8215
  return 0;
8195
8216
  }
@@ -8198,7 +8219,7 @@ var term_default = _template("D", (input) => {
8198
8219
  _if(() => {
8199
8220
  if (trapOpen) {
8200
8221
  const $scope11_id = _scope_id();
8201
- _html(`<div${_attr_class("_e0")}><div${_attr_class("_e1")}><p${_attr_class("_fl")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_o")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
8222
+ _html(`<div${_attr_class("_eA")}><div${_attr_class("_eB")}><p${_attr_class("_eW")}>Long-press the field below and choose Paste</p><input placeholder="Paste here…">${_el_resume($scope11_id, "d")}<button${_attr_class("_o")}>Cancel</button>${_el_resume($scope11_id, "e")}</div>${_el_resume($scope11_id, "b")}</div>${_el_resume($scope11_id, "a")}`);
8202
8223
  _script($scope11_id, "D26");
8203
8224
  _script($scope11_id, "D27");
8204
8225
  writeScope($scope11_id, {});
@@ -8272,7 +8293,7 @@ var term_default = _template("D", (input) => {
8272
8293
  popEl.style.top = `${Math.max(8, btn.top - popEl.offsetHeight - 8)}px`;
8273
8294
  popEl.style.left = `${Math.max(8, Math.min(btn.left + btn.width / 2 - popEl.offsetWidth / 2, window.innerWidth - popEl.offsetWidth - 8))}px`;
8274
8295
  }, "D20", $scope4_id);
8275
- _html(`<button${_attr_class([kbtn, "_e2"])} title=${onTermPage ? "Sessions" : "\"Back to session\""}${onTermPage ? _attr("popovertarget", sessPopId) : ""}>`);
8296
+ _html(`<button${_attr_class([kbtn, "_eC"])} title=${onTermPage ? "Sessions" : "\"Back to session\""}${onTermPage ? _attr("popovertarget", sessPopId) : ""}>`);
8276
8297
  _set_serialize_reason({
8277
8298
  1: $sg__input_agent__OR__input_sessionState,
8278
8299
  2: $sg__input_agent__OR__input_sessionState
@@ -8284,9 +8305,9 @@ var term_default = _template("D", (input) => {
8284
8305
  });
8285
8306
  _html(`<span${_attr_class([
8286
8307
  "_y",
8287
- "_e3",
8308
+ "_eD",
8288
8309
  phase[sessionPhase(input.sessionState)]
8289
- ])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["_4", "_e4"])}>`);
8310
+ ])}></span>${_el_resume($scope4_id, "c", _serialize_guard($scope0_reason, 5))}</button>${_el_resume($scope4_id, "a")}<div${_attr("id", sessPopId)} popover=auto${_attr_class(["_4", "_eE"])}>`);
8290
8311
  _if(() => {
8291
8312
  if ((input.sessions || []).length > 0) {
8292
8313
  const $scope5_id = _scope_id();
@@ -8302,7 +8323,7 @@ var term_default = _template("D", (input) => {
8302
8323
  const $scope6_id = _scope_id();
8303
8324
  const $for_content__s_agent__closures = /* @__PURE__ */ new Set();
8304
8325
  const $for_content__s_id__closures = /* @__PURE__ */ new Set();
8305
- _html(`<div${_attr_class(["_e6", { ["_e5"]: s.id === input.sessionId }])}>`);
8326
+ _html(`<div${_attr_class(["_eG", { ["_eF"]: s.id === input.sessionId }])}>`);
8306
8327
  _if(() => {
8307
8328
  if (renamingId === s.id) {
8308
8329
  const $scope24_id = _scope_id();
@@ -8318,13 +8339,13 @@ var term_default = _template("D", (input) => {
8318
8339
  });
8319
8340
  _html(`<input${_attr_input_value($scope24_id, "c", renameValue, _resume((_new_renameValue) => {
8320
8341
  renameValue = _new_renameValue;
8321
- }, "D0", $scope24_id))}${_attr_class(["_T", "_fa"])} aria-label="Session name">${_el_resume($scope24_id, "c")}`);
8342
+ }, "D0", $scope24_id))}${_attr_class(["_T", "_eL"])} aria-label="Session name">${_el_resume($scope24_id, "c")}`);
8322
8343
  _script($scope24_id, "D28");
8323
8344
  _subscribe($if_content4__renameValue__closures, writeScope($scope24_id, { b: $si__input_sessions && _existing_scope($childScope4) }));
8324
8345
  return 0;
8325
8346
  } else {
8326
8347
  const $scope7_id = _scope_id();
8327
- _html(`<button${_attr_class("_e7")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope7_id, "b", $sg__input_sessions)}`);
8348
+ _html(`<button${_attr_class("_eH")}><span${_attr_class(["_y", phase[sessionPhase(s.state)]])}></span>${_el_resume($scope7_id, "b", $sg__input_sessions)}`);
8328
8349
  _set_serialize_reason({
8329
8350
  1: $sg__input_sessions,
8330
8351
  2: $sg__input_sessions
@@ -8334,7 +8355,7 @@ var term_default = _template("D", (input) => {
8334
8355
  agent: activeAgent(s),
8335
8356
  size: 14
8336
8357
  });
8337
- _html(`<span${_attr_class("_e8")}><span${_attr_class("_e_")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope7_id, "f", $sg__input_sessions)}</span>`);
8358
+ _html(`<span${_attr_class("_eI")}><span${_attr_class("_eK")}>${_escape(s.title || activeAgent(s))}${_el_resume($scope7_id, "f", $sg__input_sessions)}</span>`);
8338
8359
  _if(() => {
8339
8360
  if (s.id === input.sessionId) {
8340
8361
  const $scope23_id = _scope_id();
@@ -8346,7 +8367,7 @@ var term_default = _template("D", (input) => {
8346
8367
  const $childScope6 = _peek_scope_id();
8347
8368
  usage_pcts_default({
8348
8369
  agent: plan,
8349
- class: "_e9"
8370
+ class: "_eJ"
8350
8371
  });
8351
8372
  writeScope($scope26_id, { a: _existing_scope($childScope6) });
8352
8373
  return 0;
@@ -8363,7 +8384,7 @@ var term_default = _template("D", (input) => {
8363
8384
  _if(() => {
8364
8385
  if (input.onRenameSession) {
8365
8386
  const $scope25_id = _scope_id();
8366
- _html(`<button${_attr_class(["_fb", "_fc"])} title="Rename session">`);
8387
+ _html(`<button${_attr_class(["_eM", "_eN"])} title="Rename session">`);
8367
8388
  icon_edit_default({ size: 12 });
8368
8389
  _html(`</button>${_el_resume($scope25_id, "a")}`);
8369
8390
  _script($scope25_id, "D29");
@@ -8375,7 +8396,7 @@ var term_default = _template("D", (input) => {
8375
8396
  if (input.onCloseSession) {
8376
8397
  const $scope8_id = _scope_id();
8377
8398
  _html(`<button${_attr_class([
8378
- "_fb",
8399
+ "_eM",
8379
8400
  "_2",
8380
8401
  { ["_q"]: armedClose === s.id }
8381
8402
  ])} title=${armedClose === s.id ? "Close?" : "\"Close session\""}>`);
@@ -8417,7 +8438,7 @@ var term_default = _template("D", (input) => {
8417
8438
  return 0;
8418
8439
  }
8419
8440
  }, $scope4_id, "e", $sg__input_sessions, $sg__input_sessions, $sg__input_sessions);
8420
- _html(`<div${_attr_class("_fd")}><span${_attr_class("_fe")}>New session</span>`);
8441
+ _html(`<div${_attr_class("_eO")}><span${_attr_class("_eP")}>New session</span>`);
8421
8442
  _for_of([...input.agents || [], "shell"], (agent) => {
8422
8443
  const $scope9_id = _scope_id();
8423
8444
  _html(`<button${_attr_class(iconBtnRow)}${_attr("title", `New ${agent} session`)}>`);
@@ -8464,9 +8485,9 @@ var term_default = _template("D", (input) => {
8464
8485
  const dpadOpenBox = { open: false };
8465
8486
  _html(`<button${_attr_class(kbtn)} title=${canKeys ? "\"More keys\"" : "\"Keys unavailable on this page\""} aria-haspopup=dialog${_attr("aria-controls", dpadId)}${_attr("disabled", !canKeys)}>`);
8466
8487
  icon_dpad_default({ size: 16 });
8467
- _html(`</button>${_el_resume($scope10_id, "a")}<button${_attr_class([kbtn, { ["_dU"]: findLit }])}${findLit ? " title=\"Close find\"" : canKeys ? ` title=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " title=\"Find unavailable on this page\""}${findLit ? " aria-label=\"Close find\"" : canKeys ? ` aria-label=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " aria-label=\"Find unavailable on this page\""} aria-pressed=${findLit ? "true" : "false"}${_attr("disabled", !canKeys)}>`);
8488
+ _html(`</button>${_el_resume($scope10_id, "a")}<button${_attr_class([kbtn, { ["_dH"]: findLit }])}${findLit ? " title=\"Close find\"" : canKeys ? ` title=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " title=\"Find unavailable on this page\""}${findLit ? " aria-label=\"Close find\"" : canKeys ? ` aria-label=${input.mode === "diff" ? "\"Find in review\"" : "\"Find in terminal\""}` : " aria-label=\"Find unavailable on this page\""} aria-pressed=${findLit ? "true" : "false"}${_attr("disabled", !canKeys)}>`);
8468
8489
  icon_search_default({ size: 16 });
8469
- _html(`</button>${_el_resume($scope10_id, "c")}<button${_attr_class([kbtn, { ["_dU"]: kb }])}${canKeys ? ` title=${kb ? "\"Hide keyboard\"" : "\"Show keyboard\""}` : " title=\"Keyboard unavailable on this page\""}${_attr("disabled", !canKeys)}>`);
8490
+ _html(`</button>${_el_resume($scope10_id, "c")}<button${_attr_class([kbtn, { ["_dH"]: kb }])}${canKeys ? ` title=${kb ? "\"Hide keyboard\"" : "\"Show keyboard\""}` : " title=\"Keyboard unavailable on this page\""}${_attr("disabled", !canKeys)}>`);
8470
8491
  icon_keyboard_default({ size: 16 });
8471
8492
  _html(`</button>${_el_resume($scope10_id, "e")}`);
8472
8493
  _script($scope10_id, "D35");
@@ -8482,7 +8503,7 @@ var term_default = _template("D", (input) => {
8482
8503
  overlay: attrTag({ content: _content_resume("D46", () => {
8483
8504
  _scope_reason();
8484
8505
  const $scope15_id = _scope_id();
8485
- _html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("_ff")}>`);
8506
+ _html(`<div${_attr("id", $dpadId_getter)} popover=auto${_attr_class("_eQ")}>`);
8486
8507
  forOf(DPAD, (row) => {
8487
8508
  const $scope16_id = _scope_id();
8488
8509
  forOf(row, (cell) => {
@@ -8502,7 +8523,7 @@ var term_default = _template("D", (input) => {
8502
8523
  writeScope($scope18_id, { _: _scope_with_id($scope17_id) });
8503
8524
  } else {
8504
8525
  const $scope19_id = _scope_id();
8505
- _html(`<button${_attr_class([repeat, { ["_fj"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
8526
+ _html(`<button${_attr_class([repeat, { ["_eU"]: cell.icon === "enter" }])}${_attr("title", cell.label)}${_attr("aria-label", cell.label)}>`);
8506
8527
  if (cell.icon === "arrow-up") {
8507
8528
  _scope_id();
8508
8529
  icon_arrow_up_default({ size: 18 });
@@ -8642,7 +8663,7 @@ var work_view_default = _template("H", (input) => {
8642
8663
  let DiffView = null;
8643
8664
  const loadDiffView = _resume(() => {
8644
8665
  if (DiffView) return;
8645
- import("./_DBPJnjxF.js").then((m) => {
8666
+ import("./_BK02MZ12.js").then((m) => {
8646
8667
  DiffView = m.default;
8647
8668
  });
8648
8669
  }, "H6", $scope0_id);
@@ -10938,22 +10959,24 @@ function skillsSnapshot(wsPath, worktrees = [], refresh = false) {
10938
10959
  worktrees
10939
10960
  }), refresh);
10940
10961
  }
10941
- function cliArgs(args, opts) {
10962
+ /** `-a` narrows the call to the agents work installs for. `scopeToAgents`
10963
+ * is false only for removal, which wants the CLI's unscoped behaviour —
10964
+ * see `removeSkill`. */
10965
+ function cliArgs(args, opts, scopeToAgents) {
10942
10966
  const agents = skillAgents();
10943
10967
  if (!agents.length) throw httpError(400, "No agent CLIs are installed, so there is nowhere to put a skill.");
10944
10968
  return [
10945
10969
  ...args,
10946
10970
  ...opts.scope === "global" ? ["-g"] : [],
10947
- "-a",
10948
- ...agents.map((a) => a.cli),
10971
+ ...scopeToAgents ? ["-a", ...agents.map((a) => a.cli)] : [],
10949
10972
  "-y"
10950
10973
  ];
10951
10974
  }
10952
- function runCli(args, opts) {
10975
+ function runCli(args, opts, scopeToAgents = true) {
10953
10976
  if (!skillsCliAvailable()) throw httpError(400, "The skills CLI is not installed — add it from the Machine section.");
10954
10977
  const cwd = opts.scope === "workspace" ? opts.wsPath : void 0;
10955
10978
  const key = opts.scope === "global" ? "global" : opts.wsPath ?? "workspace";
10956
- return withLock(key, () => runStreaming("skills", cliArgs(args, opts), {
10979
+ return withLock(key, () => runStreaming("skills", cliArgs(args, opts, scopeToAgents), {
10957
10980
  log: opts.log,
10958
10981
  cwd,
10959
10982
  timeout: 18e4
@@ -10962,12 +10985,18 @@ function runCli(args, opts) {
10962
10985
  async function addSkill(source, opts) {
10963
10986
  await runCli(["add", source], opts);
10964
10987
  }
10988
+ /** Removal deliberately omits `-a`. The chip stands for the skill on this
10989
+ * machine, not for one agent's copy, and `-a` makes the CLI unlink only the
10990
+ * agents named: a family that is installed but switched off in Settings
10991
+ * keeps its copy, and the skill reappears the moment it is switched back
10992
+ * on. Omitting the flag is the CLI's documented "clean all agent links",
10993
+ * which also drops the lockfile entry. */
10965
10994
  async function removeSkill(id, opts) {
10966
10995
  await runCli([
10967
10996
  "remove",
10968
10997
  "-s",
10969
10998
  id
10970
- ], opts);
10999
+ ], opts, false);
10971
11000
  }
10972
11001
  async function updateSkill(id, opts) {
10973
11002
  await runCli(["update", id], opts);
@@ -18597,4 +18626,4 @@ server.listen(port, () => {
18597
18626
  //#endregion
18598
18627
  export {};
18599
18628
 
18600
- ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-CMazjI1P.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CMazjI1P.css\"",">"],"defer":[2,"/assets/new-DUxUh5q7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-DUxUh5q7.js\"","></script>",2,"modulepreload#/assets/_DWACLLAl.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWACLLAl.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-CMazjI1P.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CMazjI1P.css\"",">"],"defer":[2,"/assets/settings-DUxUh5q7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-DUxUh5q7.js\"","></script>",2,"modulepreload#/assets/_DWACLLAl.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWACLLAl.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-CMazjI1P.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CMazjI1P.css\"",">"],"defer":[2,"/assets/w._-DUxUh5q7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DUxUh5q7.js\"","></script>",2,"modulepreload#/assets/_DWACLLAl.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWACLLAl.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-CMazjI1P.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CMazjI1P.css\"",">"],"defer":[2,"/assets/w._-BpgzbM86.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-BpgzbM86.js\"","></script>",2,"modulepreload#/assets/_DWACLLAl.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWACLLAl.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-CMazjI1P.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CMazjI1P.css\"",">"],"defer":[2,"/assets/w-DUxUh5q7.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-DUxUh5q7.js\"","></script>",2,"modulepreload#/assets/_DWACLLAl.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_DWACLLAl.js\"",">"]}};
18629
+ ;var __MARKO_MANIFEST__={"ZLT8joi":{"block":[2,"stylesheet#/assets/app-page-CYT0ZOo5.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CYT0ZOo5.css\"",">"],"defer":[2,"/assets/new-Bxdd3c7v.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/new-Bxdd3c7v.js\"","></script>",2,"modulepreload#/assets/_Bk5mZP5h.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bk5mZP5h.js\"",">"]},"AA0T2xt":{"block":[2,"stylesheet#/assets/app-page-CYT0ZOo5.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CYT0ZOo5.css\"",">"],"defer":[2,"/assets/settings-Bxdd3c7v.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/settings-Bxdd3c7v.js\"","></script>",2,"modulepreload#/assets/_Bk5mZP5h.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bk5mZP5h.js\"",">"]},"LH2lXAg":{"block":[2,"stylesheet#/assets/app-page-CYT0ZOo5.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CYT0ZOo5.css\"",">"],"defer":[2,"/assets/w-Bxdd3c7v.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w-Bxdd3c7v.js\"","></script>",2,"modulepreload#/assets/_Bk5mZP5h.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bk5mZP5h.js\"",">"]},"ibphXY4":{"block":[2,"stylesheet#/assets/app-page-CYT0ZOo5.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CYT0ZOo5.css\"",">"],"defer":[2,"/assets/w._-Bxdd3c7v.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-Bxdd3c7v.js\"","></script>",2,"modulepreload#/assets/_Bk5mZP5h.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bk5mZP5h.js\"",">"]},"T$MNY0k":{"block":[2,"stylesheet#/assets/app-page-CYT0ZOo5.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/app-page-CYT0ZOo5.css\"",">"],"defer":[2,"/assets/w._-DgdO3jnn.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/w._-DgdO3jnn.js\"","></script>",2,"modulepreload#/assets/_Bk5mZP5h.js",6,"<link",0," rel=\"modulepreload\" crossorigin href=\"",1,"assets/_Bk5mZP5h.js\"",">"]}};