@chrisjowen/wheelhouse 0.22.8 → 0.22.9

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 (483) hide show
  1. package/build/client/_app/immutable/chunks/{Cva9VpVb.js → 0emaOfOx.js} +1 -1
  2. package/build/client/_app/immutable/chunks/0emaOfOx.js.br +0 -0
  3. package/build/client/_app/immutable/chunks/0emaOfOx.js.gz +0 -0
  4. package/build/client/_app/immutable/chunks/{Sii3oNcc.js → AATz5Vtc.js} +1 -1
  5. package/build/client/_app/immutable/chunks/AATz5Vtc.js.br +0 -0
  6. package/build/client/_app/immutable/chunks/AATz5Vtc.js.gz +0 -0
  7. package/build/client/_app/immutable/chunks/{5qx-E5hQ.js → B0ZphyID.js} +1 -1
  8. package/build/client/_app/immutable/chunks/B0ZphyID.js.br +0 -0
  9. package/build/client/_app/immutable/chunks/B0ZphyID.js.gz +0 -0
  10. package/build/client/_app/immutable/chunks/{BoLe_IyD.js → BC_XNeHe.js} +1 -1
  11. package/build/client/_app/immutable/chunks/BC_XNeHe.js.br +0 -0
  12. package/build/client/_app/immutable/chunks/BC_XNeHe.js.gz +0 -0
  13. package/build/client/_app/immutable/chunks/{s7ZLiUKi.js → BPz1qeSs.js} +1 -1
  14. package/build/client/_app/immutable/chunks/BPz1qeSs.js.br +0 -0
  15. package/build/client/_app/immutable/chunks/BPz1qeSs.js.gz +0 -0
  16. package/build/client/_app/immutable/chunks/{DlupK5OD.js → BYQm-VHb.js} +1 -1
  17. package/build/client/_app/immutable/chunks/BYQm-VHb.js.br +0 -0
  18. package/build/client/_app/immutable/chunks/BYQm-VHb.js.gz +0 -0
  19. package/build/client/_app/immutable/chunks/{NueoU5q8.js → B_GB-3Er.js} +1 -1
  20. package/build/client/_app/immutable/chunks/B_GB-3Er.js.br +0 -0
  21. package/build/client/_app/immutable/chunks/B_GB-3Er.js.gz +0 -0
  22. package/build/client/_app/immutable/chunks/{uMlyB-ee.js → Bb5KMHGW.js} +1 -1
  23. package/build/client/_app/immutable/chunks/Bb5KMHGW.js.br +0 -0
  24. package/build/client/_app/immutable/chunks/Bb5KMHGW.js.gz +0 -0
  25. package/build/client/_app/immutable/chunks/{CHLlDrXz.js → BgPPmbbW.js} +1 -1
  26. package/build/client/_app/immutable/chunks/BgPPmbbW.js.br +0 -0
  27. package/build/client/_app/immutable/chunks/BgPPmbbW.js.gz +0 -0
  28. package/build/client/_app/immutable/chunks/{Da2GOnuD.js → BnWhj1AH.js} +2 -2
  29. package/build/client/_app/immutable/chunks/BnWhj1AH.js.br +0 -0
  30. package/build/client/_app/immutable/chunks/BnWhj1AH.js.gz +0 -0
  31. package/build/client/_app/immutable/chunks/{DREe4_Em.js → BrB0U8Br.js} +1 -1
  32. package/build/client/_app/immutable/chunks/BrB0U8Br.js.br +0 -0
  33. package/build/client/_app/immutable/chunks/BrB0U8Br.js.gz +0 -0
  34. package/build/client/_app/immutable/chunks/{1THDSnwR.js → CJfafoqX.js} +1 -1
  35. package/build/client/_app/immutable/chunks/CJfafoqX.js.br +0 -0
  36. package/build/client/_app/immutable/chunks/CJfafoqX.js.gz +0 -0
  37. package/build/client/_app/immutable/chunks/{B95vDHb4.js → CRG7D48i.js} +1 -1
  38. package/build/client/_app/immutable/chunks/CRG7D48i.js.br +0 -0
  39. package/build/client/_app/immutable/chunks/CRG7D48i.js.gz +0 -0
  40. package/build/client/_app/immutable/chunks/{BqeJFOiq.js → CUWvH_Vt.js} +1 -1
  41. package/build/client/_app/immutable/chunks/CUWvH_Vt.js.br +0 -0
  42. package/build/client/_app/immutable/chunks/CUWvH_Vt.js.gz +0 -0
  43. package/build/client/_app/immutable/chunks/{gKm-HWvG.js → CjDEH2t9.js} +1 -1
  44. package/build/client/_app/immutable/chunks/CjDEH2t9.js.br +2 -0
  45. package/build/client/_app/immutable/chunks/CjDEH2t9.js.gz +0 -0
  46. package/build/client/_app/immutable/chunks/{TvzfwAc_.js → CjSftIOB.js} +1 -1
  47. package/build/client/_app/immutable/chunks/CjSftIOB.js.br +0 -0
  48. package/build/client/_app/immutable/chunks/CjSftIOB.js.gz +0 -0
  49. package/build/client/_app/immutable/chunks/{CC2m5e3H.js → CpMvc8EL.js} +1 -1
  50. package/build/client/_app/immutable/chunks/CpMvc8EL.js.br +0 -0
  51. package/build/client/_app/immutable/chunks/CpMvc8EL.js.gz +0 -0
  52. package/build/client/_app/immutable/chunks/{CQ0zKnku.js → D2pY9EPU.js} +1 -1
  53. package/build/client/_app/immutable/chunks/D2pY9EPU.js.br +0 -0
  54. package/build/client/_app/immutable/chunks/D2pY9EPU.js.gz +0 -0
  55. package/build/client/_app/immutable/chunks/{CxHJSJSb.js → DNA9TJ3s.js} +1 -1
  56. package/build/client/_app/immutable/chunks/DNA9TJ3s.js.br +0 -0
  57. package/build/client/_app/immutable/chunks/DNA9TJ3s.js.gz +0 -0
  58. package/build/client/_app/immutable/chunks/{Lb2eWaSE.js → Do9MI93T.js} +1 -1
  59. package/build/client/_app/immutable/chunks/Do9MI93T.js.br +0 -0
  60. package/build/client/_app/immutable/chunks/Do9MI93T.js.gz +0 -0
  61. package/build/client/_app/immutable/chunks/{8cFWsiL5.js → Fr_QipqL.js} +1 -1
  62. package/build/client/_app/immutable/chunks/Fr_QipqL.js.br +0 -0
  63. package/build/client/_app/immutable/chunks/Fr_QipqL.js.gz +0 -0
  64. package/build/client/_app/immutable/chunks/{HFrgAbA7.js → K8k-G-JQ.js} +1 -1
  65. package/build/client/_app/immutable/chunks/K8k-G-JQ.js.br +0 -0
  66. package/build/client/_app/immutable/chunks/K8k-G-JQ.js.gz +0 -0
  67. package/build/client/_app/immutable/chunks/{Bo0GBU1d.js → jQN7UPrf.js} +1 -1
  68. package/build/client/_app/immutable/chunks/jQN7UPrf.js.br +0 -0
  69. package/build/client/_app/immutable/chunks/jQN7UPrf.js.gz +0 -0
  70. package/build/client/_app/immutable/chunks/{CJh-lXlR.js → m9V6PYwh.js} +1 -1
  71. package/build/client/_app/immutable/chunks/m9V6PYwh.js.br +0 -0
  72. package/build/client/_app/immutable/chunks/m9V6PYwh.js.gz +0 -0
  73. package/build/client/_app/immutable/entry/{app.BGGGVw8e.js → app.B9en0bhu.js} +2 -2
  74. package/build/client/_app/immutable/entry/app.B9en0bhu.js.br +0 -0
  75. package/build/client/_app/immutable/entry/app.B9en0bhu.js.gz +0 -0
  76. package/build/client/_app/immutable/entry/start.C2j_2z1u.js +1 -0
  77. package/build/client/_app/immutable/entry/start.C2j_2z1u.js.br +0 -0
  78. package/build/client/_app/immutable/entry/start.C2j_2z1u.js.gz +0 -0
  79. package/build/client/_app/immutable/nodes/{0.Bg8-HE2q.js → 0.C0ZSel0O.js} +1 -1
  80. package/build/client/_app/immutable/nodes/0.C0ZSel0O.js.br +0 -0
  81. package/build/client/_app/immutable/nodes/{0.Bg8-HE2q.js.gz → 0.C0ZSel0O.js.gz} +0 -0
  82. package/build/client/_app/immutable/nodes/{1.CaqTGk5K.js → 1.BCCTjiZm.js} +1 -1
  83. package/build/client/_app/immutable/nodes/1.BCCTjiZm.js.br +0 -0
  84. package/build/client/_app/immutable/nodes/1.BCCTjiZm.js.gz +0 -0
  85. package/build/client/_app/immutable/nodes/{10.CDtUrk-c.js → 10.o5Se6edN.js} +1 -1
  86. package/build/client/_app/immutable/nodes/10.o5Se6edN.js.br +0 -0
  87. package/build/client/_app/immutable/nodes/10.o5Se6edN.js.gz +0 -0
  88. package/build/client/_app/immutable/nodes/{11.BgmRFAah.js → 11.Bxj3eLnH.js} +1 -1
  89. package/build/client/_app/immutable/nodes/11.Bxj3eLnH.js.br +0 -0
  90. package/build/client/_app/immutable/nodes/11.Bxj3eLnH.js.gz +0 -0
  91. package/build/client/_app/immutable/nodes/{12.CkcVt4QK.js → 12.BChGCUWY.js} +1 -1
  92. package/build/client/_app/immutable/nodes/12.BChGCUWY.js.br +0 -0
  93. package/build/client/_app/immutable/nodes/12.BChGCUWY.js.gz +0 -0
  94. package/build/client/_app/immutable/nodes/{13.Ce2-RKSA.js → 13.D1iQQlaj.js} +1 -1
  95. package/build/client/_app/immutable/nodes/13.D1iQQlaj.js.br +0 -0
  96. package/build/client/_app/immutable/nodes/13.D1iQQlaj.js.gz +0 -0
  97. package/build/client/_app/immutable/nodes/{14.ip6iLHgE.js → 14.B-f98he1.js} +1 -1
  98. package/build/client/_app/immutable/nodes/14.B-f98he1.js.br +0 -0
  99. package/build/client/_app/immutable/nodes/14.B-f98he1.js.gz +0 -0
  100. package/build/client/_app/immutable/nodes/{15.DkPLCNpt.js → 15.CAZAUO5E.js} +1 -1
  101. package/build/client/_app/immutable/nodes/15.CAZAUO5E.js.br +0 -0
  102. package/build/client/_app/immutable/nodes/15.CAZAUO5E.js.gz +0 -0
  103. package/build/client/_app/immutable/nodes/{16.Cvg_tC9Y.js → 16.C_HhXPiU.js} +1 -1
  104. package/build/client/_app/immutable/nodes/16.C_HhXPiU.js.br +0 -0
  105. package/build/client/_app/immutable/nodes/16.C_HhXPiU.js.gz +0 -0
  106. package/build/client/_app/immutable/nodes/{17.DYkILIFn.js → 17.CwSSNP0A.js} +1 -1
  107. package/build/client/_app/immutable/nodes/17.CwSSNP0A.js.br +0 -0
  108. package/build/client/_app/immutable/nodes/17.CwSSNP0A.js.gz +0 -0
  109. package/build/client/_app/immutable/nodes/{18.DPfadYmN.js → 18.D0_QQFbK.js} +1 -1
  110. package/build/client/_app/immutable/nodes/18.D0_QQFbK.js.br +0 -0
  111. package/build/client/_app/immutable/nodes/18.D0_QQFbK.js.gz +0 -0
  112. package/build/client/_app/immutable/nodes/{19.ClKxJRb4.js → 19.DQ-n6j9n.js} +1 -1
  113. package/build/client/_app/immutable/nodes/19.DQ-n6j9n.js.br +0 -0
  114. package/build/client/_app/immutable/nodes/{19.ClKxJRb4.js.gz → 19.DQ-n6j9n.js.gz} +0 -0
  115. package/build/client/_app/immutable/nodes/{2.CluLiMMe.js → 2.BXQoi4t7.js} +3 -3
  116. package/build/client/_app/immutable/nodes/2.BXQoi4t7.js.br +0 -0
  117. package/build/client/_app/immutable/nodes/2.BXQoi4t7.js.gz +0 -0
  118. package/build/client/_app/immutable/nodes/{20.Bif6P7ng.js → 20.Cn6VQRiW.js} +1 -1
  119. package/build/client/_app/immutable/nodes/20.Cn6VQRiW.js.br +0 -0
  120. package/build/client/_app/immutable/nodes/20.Cn6VQRiW.js.gz +0 -0
  121. package/build/client/_app/immutable/nodes/{21.x0ymlObW.js → 21.BUDY7k1-.js} +1 -1
  122. package/build/client/_app/immutable/nodes/21.BUDY7k1-.js.br +0 -0
  123. package/build/client/_app/immutable/nodes/21.BUDY7k1-.js.gz +0 -0
  124. package/build/client/_app/immutable/nodes/{22.RGldztsO.js → 22.B1LeXopM.js} +1 -1
  125. package/build/client/_app/immutable/nodes/22.B1LeXopM.js.br +0 -0
  126. package/build/client/_app/immutable/nodes/22.B1LeXopM.js.gz +0 -0
  127. package/build/client/_app/immutable/nodes/{24.B_uEnuL5.js → 24.Bs2sEub2.js} +1 -1
  128. package/build/client/_app/immutable/nodes/24.Bs2sEub2.js.br +0 -0
  129. package/build/client/_app/immutable/nodes/24.Bs2sEub2.js.gz +0 -0
  130. package/build/client/_app/immutable/nodes/{26.Dky3Ah9G.js → 26.CGTSTlhG.js} +1 -1
  131. package/build/client/_app/immutable/nodes/26.CGTSTlhG.js.br +0 -0
  132. package/build/client/_app/immutable/nodes/26.CGTSTlhG.js.gz +0 -0
  133. package/build/client/_app/immutable/nodes/{27.DP_uSl0C.js → 27.CugI13rk.js} +1 -1
  134. package/build/client/_app/immutable/nodes/27.CugI13rk.js.br +0 -0
  135. package/build/client/_app/immutable/nodes/27.CugI13rk.js.gz +0 -0
  136. package/build/client/_app/immutable/nodes/{28.D2qdRGPd.js → 28.BAkIuprz.js} +1 -1
  137. package/build/client/_app/immutable/nodes/28.BAkIuprz.js.br +0 -0
  138. package/build/client/_app/immutable/nodes/28.BAkIuprz.js.gz +0 -0
  139. package/build/client/_app/immutable/nodes/{29.Ddwaz1hp.js → 29.CpVvRJy8.js} +1 -1
  140. package/build/client/_app/immutable/nodes/29.CpVvRJy8.js.br +0 -0
  141. package/build/client/_app/immutable/nodes/29.CpVvRJy8.js.gz +0 -0
  142. package/build/client/_app/immutable/nodes/{3.CVDrIOUx.js → 3.BV5EWo9M.js} +1 -1
  143. package/build/client/_app/immutable/nodes/3.BV5EWo9M.js.br +0 -0
  144. package/build/client/_app/immutable/nodes/3.BV5EWo9M.js.gz +0 -0
  145. package/build/client/_app/immutable/nodes/{30.Z_dcq2gz.js → 30.Rn1Ae3Io.js} +1 -1
  146. package/build/client/_app/immutable/nodes/30.Rn1Ae3Io.js.br +0 -0
  147. package/build/client/_app/immutable/nodes/30.Rn1Ae3Io.js.gz +0 -0
  148. package/build/client/_app/immutable/nodes/{31.dyucR3g6.js → 31.YPk2HgGn.js} +1 -1
  149. package/build/client/_app/immutable/nodes/31.YPk2HgGn.js.br +0 -0
  150. package/build/client/_app/immutable/nodes/31.YPk2HgGn.js.gz +0 -0
  151. package/build/client/_app/immutable/nodes/{32.DX4PQvJR.js → 32.3AVLrUzC.js} +1 -1
  152. package/build/client/_app/immutable/nodes/32.3AVLrUzC.js.br +0 -0
  153. package/build/client/_app/immutable/nodes/32.3AVLrUzC.js.gz +0 -0
  154. package/build/client/_app/immutable/nodes/{33.0jPnz-fe.js → 33.DGIbo_U8.js} +1 -1
  155. package/build/client/_app/immutable/nodes/33.DGIbo_U8.js.br +0 -0
  156. package/build/client/_app/immutable/nodes/33.DGIbo_U8.js.gz +0 -0
  157. package/build/client/_app/immutable/nodes/{34.CvGd0cJb.js → 34.YeJA6wco.js} +1 -1
  158. package/build/client/_app/immutable/nodes/34.YeJA6wco.js.br +0 -0
  159. package/build/client/_app/immutable/nodes/34.YeJA6wco.js.gz +0 -0
  160. package/build/client/_app/immutable/nodes/{35.5ZhQwroK.js → 35.DgZD2Wr-.js} +1 -1
  161. package/build/client/_app/immutable/nodes/35.DgZD2Wr-.js.br +0 -0
  162. package/build/client/_app/immutable/nodes/35.DgZD2Wr-.js.gz +0 -0
  163. package/build/client/_app/immutable/nodes/{36.LzdZEn79.js → 36.gdjsdStK.js} +1 -1
  164. package/build/client/_app/immutable/nodes/36.gdjsdStK.js.br +0 -0
  165. package/build/client/_app/immutable/nodes/36.gdjsdStK.js.gz +0 -0
  166. package/build/client/_app/immutable/nodes/{37.C5-b0odW.js → 37.DxIvHmCS.js} +1 -1
  167. package/build/client/_app/immutable/nodes/37.DxIvHmCS.js.br +0 -0
  168. package/build/client/_app/immutable/nodes/37.DxIvHmCS.js.gz +0 -0
  169. package/build/client/_app/immutable/nodes/{38.CMgkqyxT.js → 38.DkRJewhg.js} +1 -1
  170. package/build/client/_app/immutable/nodes/38.DkRJewhg.js.br +1 -0
  171. package/build/client/_app/immutable/nodes/38.DkRJewhg.js.gz +0 -0
  172. package/build/client/_app/immutable/nodes/{4.CbNo2HC_.js → 4.BcJ_bzQy.js} +1 -1
  173. package/build/client/_app/immutable/nodes/4.BcJ_bzQy.js.br +0 -0
  174. package/build/client/_app/immutable/nodes/4.BcJ_bzQy.js.gz +0 -0
  175. package/build/client/_app/immutable/nodes/{40.CNQdbYqG.js → 40.D1gVZSsj.js} +1 -1
  176. package/build/client/_app/immutable/nodes/40.D1gVZSsj.js.br +0 -0
  177. package/build/client/_app/immutable/nodes/40.D1gVZSsj.js.gz +0 -0
  178. package/build/client/_app/immutable/nodes/{5.RsG0znmX.js → 5.BT_2Zols.js} +1 -1
  179. package/build/client/_app/immutable/nodes/5.BT_2Zols.js.br +0 -0
  180. package/build/client/_app/immutable/nodes/5.BT_2Zols.js.gz +0 -0
  181. package/build/client/_app/immutable/nodes/{8.DFmXg3_i.js → 8.BWBS7lOw.js} +1 -1
  182. package/build/client/_app/immutable/nodes/8.BWBS7lOw.js.br +0 -0
  183. package/build/client/_app/immutable/nodes/8.BWBS7lOw.js.gz +0 -0
  184. package/build/client/_app/immutable/nodes/{9.DhYSdoUO.js → 9.bYRuhKZc.js} +1 -1
  185. package/build/client/_app/immutable/nodes/9.bYRuhKZc.js.br +0 -0
  186. package/build/client/_app/immutable/nodes/9.bYRuhKZc.js.gz +0 -0
  187. package/build/client/_app/version.json +1 -1
  188. package/build/client/_app/version.json.br +0 -0
  189. package/build/client/_app/version.json.gz +0 -0
  190. package/build/handler.js +4 -4
  191. package/build/index.js +4 -4
  192. package/build/server/chunks/chunks/{detail.js-CQv9k56W.js → detail.js-DzX_zEkI.js} +2 -2
  193. package/build/server/chunks/chunks/{feedback.js-KWaTRrc_.js → feedback.js-BmnlQB1X.js} +2 -2
  194. package/build/server/chunks/chunks/{internal.js-CyrN7YyP.js → internal.js-Bwnrl13Q.js} +3 -3
  195. package/build/server/chunks/chunks/{marketplace-service.js-BQryRMpA.js → marketplace-service.js-BwjByFH7.js} +2 -2
  196. package/build/server/chunks/chunks/{package.js-DCazdgiR.js → package.js-BWopDYsw.js} +2 -2
  197. package/build/server/chunks/chunks/{page.js-BEonrB4-.js → page.js-C9qsE1U6.js} +2 -2
  198. package/build/server/chunks/chunks/{previewhelper2.js-BwNIdagj.js → previewhelper2.js-Bro5Kyoe.js} +3 -3
  199. package/build/server/chunks/chunks/{runtime.js-C-66z9Q6.js → runtime.js-B79JnWK2.js} +3 -3
  200. package/build/server/chunks/chunks/{scribe.js-OrtzU0Ox.js → scribe.js-Dwxy2NkA.js} +3 -3
  201. package/build/server/chunks/chunks/{service.js-Cgn4nIWF.js → service.js-rmCdUjBa.js} +2 -2
  202. package/build/server/chunks/chunks/{service2.js-D6aGwDef.js → service2.js-CuVjzjMp.js} +2 -2
  203. package/build/server/chunks/chunks/{service3.js-Dxdu8beL.js → service3.js-B_AwjFXe.js} +2 -2
  204. package/build/server/chunks/chunks/{settings.js-qVoB3gY6.js → settings.js-84gUkx7e.js} +2 -2
  205. package/build/server/chunks/chunks/{starter.js-DGsazTxj.js → starter.js-Bk0e4tp1.js} +3 -3
  206. package/build/server/chunks/chunks/{view.js-BunAXITd.js → view.js-CdbC9u-X.js} +2 -2
  207. package/build/server/chunks/entries/endpoints/api/apps/_op_/{_server.ts.js-kVPM8QiK.js → _server.ts.js-DSbkbcih.js} +3 -3
  208. package/build/server/chunks/entries/endpoints/api/cloud/{_server.ts.js-D3yUm95J.js → _server.ts.js-Cuh4l5cX.js} +4 -4
  209. package/build/server/chunks/entries/endpoints/api/cloud/previews/{_server.ts.js-t7kJDKFo.js → _server.ts.js-CxqjNz9K.js} +3 -3
  210. package/build/server/chunks/entries/endpoints/api/crew/{_server.ts.js-asKE3p3l.js → _server.ts.js-BOkqzAso.js} +3 -3
  211. package/build/server/chunks/entries/endpoints/api/crew/messages/{_server.ts.js-CL96hFwe.js → _server.ts.js-DqWeZDnx.js} +3 -3
  212. package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-DtH4ROLw.js → _server.ts.js-Dp6d92o1.js} +3 -3
  213. package/build/server/chunks/entries/endpoints/api/files/{_server.ts.js-tSUMjrxM.js → _server.ts.js-sHIaJYuD.js} +3 -3
  214. package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-B46bSl60.js → _server.ts.js-DVLiAZXm.js} +3 -3
  215. package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/{_server.ts.js-C2y7h-Co.js → _server.ts.js-bcOD-UAG.js} +3 -3
  216. package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/{_server.ts.js-C5veyHrZ.js → _server.ts.js-XIdGfksa.js} +3 -3
  217. package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/{_server.ts.js-DtwDysQZ.js → _server.ts.js-Dvo2WaVg.js} +3 -3
  218. package/build/server/chunks/entries/endpoints/api/firstmate/commands/{_server.ts.js-Bnkzua_j.js → _server.ts.js-BFzvnUDG.js} +3 -3
  219. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/{_server.ts.js-nFnKxdcG.js → _server.ts.js-CZFPUyv7.js} +3 -3
  220. package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js--Yr7q4X9.js → _server.ts.js-xwvYiN0P.js} +3 -3
  221. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-Bvwd3v0d.js → _server.ts.js-R8e7z94R.js} +3 -3
  222. package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-DqUrbhsF.js → _server.ts.js-BgE6HXps.js} +3 -3
  223. package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-BpAtHV7C.js → _server.ts.js-CXfwTb-v.js} +3 -3
  224. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/{_server.ts.js-BWYNvyCC.js → _server.ts.js-DqS1e_EW.js} +3 -3
  225. package/build/server/chunks/entries/endpoints/api/firstmate/signin/{_server.ts.js-BIaGX_Je.js → _server.ts.js-jf8PJ-20.js} +3 -3
  226. package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-CKGsdGBC.js → _server.ts.js-Cm3ek5GT.js} +3 -3
  227. package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-BIky5eUL.js → _server.ts.js-Dxmd5sWA.js} +3 -3
  228. package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-QzznrMw6.js → _server.ts.js-DdE-9v71.js} +3 -3
  229. package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-BhT-maiz.js → _server.ts.js-uZjy2F7t.js} +3 -3
  230. package/build/server/chunks/entries/endpoints/api/inbox/following/{_server.ts.js-DTDIeAua.js → _server.ts.js-DY1h0w69.js} +3 -3
  231. package/build/server/chunks/entries/endpoints/api/inbox/report/{_server.ts.js-12ddKzFc.js → _server.ts.js-C2OsWqIH.js} +3 -3
  232. package/build/server/chunks/entries/endpoints/api/inbox/talk/{_server.ts.js-Dy8Qr5Ob.js → _server.ts.js-8DtekGgO.js} +4 -4
  233. package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js-Dm8emtZq.js → _server.ts.js-Ba_gA_kn.js} +3 -3
  234. package/build/server/chunks/entries/endpoints/api/live/_id_/end/{_server.ts.js-DxYAgGOs.js → _server.ts.js-knOqja0e.js} +3 -3
  235. package/build/server/chunks/entries/endpoints/api/live/{_server.ts.js-DvqKFPx-.js → _server.ts.js-58SJEI-H.js} +3 -3
  236. package/build/server/chunks/entries/endpoints/api/live/scouts/{_server.ts.js-C3RuITes.js → _server.ts.js-DpVQ0-gU.js} +3 -3
  237. package/build/server/chunks/entries/endpoints/api/live/settings/{_server.ts.js-5QW9NUip.js → _server.ts.js-CDCEHZ2F.js} +3 -3
  238. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/{_server.ts.js-DPZryu4Q.js → _server.ts.js-bXndbXtD.js} +3 -3
  239. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/{_server.ts.js-BcXreDr7.js → _server.ts.js-GqjxRGNr.js} +4 -4
  240. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/{_server.ts.js-Cec1PqqW.js → _server.ts.js-BIcthzJl.js} +5 -5
  241. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/{_server.ts.js-kqsIOpsA.js → _server.ts.js-CDsa251C.js} +3 -3
  242. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/{_server.ts.js-BJocN5Xm.js → _server.ts.js-BXha7rBL.js} +2 -2
  243. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/{_server.ts.js-BUpXqp6F.js → _server.ts.js-CglpfA_i.js} +3 -3
  244. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/{_server.ts.js-BGOAdpGK.js → _server.ts.js-DY6GpUvU.js} +2 -2
  245. package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-DS3DbCgu.js → _server.ts.js-CezMnMxX.js} +3 -3
  246. package/build/server/chunks/entries/endpoints/api/plugins/inspect/{_server.ts.js-CuZogP4B.js → _server.ts.js-n8aIgwiW.js} +2 -2
  247. package/build/server/chunks/entries/endpoints/api/plugins/install/{_server.ts.js-BkS35-hL.js → _server.ts.js-Brc3Rir_.js} +2 -2
  248. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/{_server.ts.js-ByS6w0ap.js → _server.ts.js-D_PpU_IB.js} +4 -4
  249. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/{_server.ts.js-BmrVgIv5.js → _server.ts.js-wdUFeQpc.js} +4 -4
  250. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/{_server.ts.js-BLPKS89l.js → _server.ts.js-CUvFLTtL.js} +4 -4
  251. package/build/server/chunks/entries/endpoints/api/plugins/roles/{_server.ts.js-CXH9OLs6.js → _server.ts.js-Di-7UkP0.js} +3 -3
  252. package/build/server/chunks/entries/endpoints/api/plugins/updates/{_server.ts.js-NecYW7Fw.js → _server.ts.js-GNyM42L2.js} +2 -2
  253. package/build/server/chunks/entries/endpoints/api/previews/check/{_server.ts.js-BlUsDWOD.js → _server.ts.js-RsBtJkWF.js} +3 -3
  254. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-CBrquITj.js → _server.ts.js-TUH5OYFz.js} +4 -4
  255. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-CKI4wWxB.js → _server.ts.js-Bl5DdXd_.js} +4 -4
  256. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-CWPBrHrF.js → _server.ts.js-8gJ1LMd2.js} +4 -4
  257. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-CJSTZha6.js → _server.ts.js-lfPXl0y_.js} +4 -4
  258. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-CuIgfX_D.js → _server.ts.js-wnnWrfJX.js} +4 -4
  259. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-BsRnf2ce.js → _server.ts.js-B2MBCiL5.js} +4 -4
  260. package/build/server/chunks/entries/endpoints/api/second-mate-setup/{_server.ts.js-Cb9tcSDx.js → _server.ts.js-C55ehr6a.js} +5 -5
  261. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/{_server.ts.js-CY33XrLN.js → _server.ts.js-BH29IQL1.js} +3 -3
  262. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/{_server.ts.js-BRAKX1m3.js → _server.ts.js-D-isqamt.js} +3 -3
  263. package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-yt0TqAcX.js → _server.ts.js-CQIibVRV.js} +3 -3
  264. package/build/server/chunks/entries/endpoints/api/setup/{_server.ts.js-CVa3CdZi.js → _server.ts.js-Cw9ILP_Q.js} +4 -4
  265. package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-Dy7tHXfQ.js → _server.ts.js-BWgNfggv.js} +3 -3
  266. package/build/server/chunks/entries/endpoints/api/soundings/{_server.ts.js-DWZ_aOjS.js → _server.ts.js-DsKFgPLd.js} +3 -3
  267. package/build/server/chunks/entries/endpoints/api/soundings/beacon/{_server.ts.js-CT7Boaf4.js → _server.ts.js-CAU01lOe.js} +3 -3
  268. package/build/server/chunks/entries/endpoints/api/soundings/settings/{_server.ts.js-ocY6SwwL.js → _server.ts.js-BtLUIQuT.js} +3 -3
  269. package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-CnXs9bJ0.js → _server.ts.js-CTQDnPYZ.js} +4 -4
  270. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-vDstks5V.js → _server.ts.js-KEGfpYIz.js} +3 -3
  271. package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/{_server.ts.js-BkTBLTm_.js → _server.ts.js-COkOxJYB.js} +3 -3
  272. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-D3dlXTwq.js → _server.ts.js-DVL8enNe.js} +3 -3
  273. package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/{_server.ts.js-C2K3IFZh.js → _server.ts.js-B31-eql9.js} +5 -5
  274. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-BQ-Pi5Kw.js → _server.ts.js-DlNfcbxs.js} +3 -3
  275. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-RDdXwMiY.js → _server.ts.js-xItkzpp3.js} +3 -3
  276. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/{_server.ts.js-BFwe4mnD.js → _server.ts.js-V8xFvJTX.js} +4 -4
  277. package/build/server/chunks/entries/endpoints/api/vault/{_server.ts.js-Bh4F9hu_.js → _server.ts.js-DDRIjDs2.js} +3 -3
  278. package/build/server/chunks/entries/endpoints/api/voice/{_server.ts.js-Dx9WOcQT.js → _server.ts.js-CPKTJr6D.js} +2 -2
  279. package/build/server/chunks/entries/endpoints/api/voice/hear/{_server.ts.js-B2qqL7As.js → _server.ts.js-BtxwuwK2.js} +2 -2
  280. package/build/server/chunks/entries/endpoints/api/voice/speak/{_server.ts.js-B8R-L43c.js → _server.ts.js-Bl6WY6lX.js} +2 -2
  281. package/build/server/chunks/entries/endpoints/api/wh-events/{_server.ts.js-D3bduhlo.js → _server.ts.js-BvEexih3.js} +3 -3
  282. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/{_server.ts.js-BMPsSJdV.js → _server.ts.js-Cpw5TIJt.js} +2 -2
  283. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/{_server.ts.js-D5UL7RMX.js → _server.ts.js-BtiKFkKo.js} +2 -2
  284. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/{_server.ts.js-CvEX3NKJ.js → _server.ts.js-Bd8mHvHa.js} +2 -2
  285. package/build/server/chunks/entries/endpoints/tasks/_id_/live/{_server.ts.js-DtTwc4Gq.js → _server.ts.js-DceVA1-i.js} +5 -5
  286. package/build/server/chunks/entries/endpoints/tasks/_id_/review/{_server.ts.js-CHQUpKh2.js → _server.ts.js-DlIQzyEF.js} +3 -3
  287. package/build/server/chunks/entries/{hooks.server.js-BG_jlCcK.js → hooks.server.js-DrCOEIuz.js} +5 -5
  288. package/build/server/chunks/entries/pages/{_layout.server.ts.js-CTliqS0t.js → _layout.server.ts.js-RXTNXalN.js} +3 -3
  289. package/build/server/chunks/entries/pages/{_page.server.ts.js-BsobM1Vs.js → _page.server.ts.js-CNkzwH65.js} +2 -2
  290. package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-Bc3cLNPh.js → _page.server.ts.js-C0FE960w.js} +2 -2
  291. package/build/server/chunks/entries/pages/deck/{_page.server.ts.js-DZsxsScR.js → _page.server.ts.js-zZ9qO_dt.js} +2 -2
  292. package/build/server/chunks/entries/pages/files/{_page.server.ts.js-CrzB71Jp.js → _page.server.ts.js-DKnSppph.js} +2 -2
  293. package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-C7IlrK-z.js → _page.server.ts.js-Git6SUxW.js} +2 -2
  294. package/build/server/chunks/entries/pages/health/{_page.server.ts.js-DLaP4pWA.js → _page.server.ts.js-CF0wP4Jt.js} +2 -2
  295. package/build/server/chunks/entries/pages/inbox/{_page.server.ts.js-CgDtaaVM.js → _page.server.ts.js-DMrngf0O.js} +2 -2
  296. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-mo7xbJt3.js → _page.server.ts.js-B4GqGgPh.js} +2 -2
  297. package/build/server/chunks/entries/pages/projects/_id_/{_page.server.ts.js-BTVTYrL2.js → _page.server.ts.js-DIXpFWB4.js} +2 -2
  298. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-CBuwJYf2.js → _page.server.ts.js-CErk9FDM.js} +2 -2
  299. package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-CbnfsXhC.js → _page.server.ts.js-b1Pl3BCW.js} +3 -3
  300. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-CuhFDzPV.js → _page.server.ts.js-BWXtnM6f.js} +2 -2
  301. package/build/server/chunks/entries/pages/remotes/{_page.server.ts.js-CpnDSMiL.js → _page.server.ts.js-COOUFJWd.js} +2 -2
  302. package/build/server/chunks/entries/pages/settings/chat/{_page.server.ts.js-DriYtYJc.js → _page.server.ts.js-BF6kG2B5.js} +2 -2
  303. package/build/server/chunks/entries/pages/settings/discussion/{_page.server.ts.js-NBwcUtec.js → _page.server.ts.js-B6uTAGl9.js} +2 -2
  304. package/build/server/chunks/entries/pages/settings/events/{_page.server.ts.js-CfuxlVXC.js → _page.server.ts.js-STPv_aQR.js} +2 -2
  305. package/build/server/chunks/entries/pages/settings/firstmate/{_page.server.ts.js-DAN-2Pxg.js → _page.server.ts.js-BQJtnh5-.js} +2 -2
  306. package/build/server/chunks/entries/pages/settings/gateway/{_page.server.ts.js-tnGbTGGj.js → _page.server.ts.js-V4uJeIzJ.js} +2 -2
  307. package/build/server/chunks/entries/pages/settings/plugins/{_page.server.ts.js-DuleEIYa.js → _page.server.ts.js-DlHvnbaR.js} +2 -2
  308. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/{_page.server.ts.js-BxWoMmwC.js → _page.server.ts.js-DD6EulII.js} +2 -2
  309. package/build/server/chunks/entries/pages/settings/setup/{_page.server.ts.js-BfeP4Gtl.js → _page.server.ts.js-BdlfVJUR.js} +2 -2
  310. package/build/server/chunks/entries/pages/settings/update/{_page.server.ts.js-DQpRqceP.js → _page.server.ts.js-D024t04u.js} +2 -2
  311. package/build/server/chunks/entries/pages/settings/voice/{_page.server.ts.js-c3S1VKhz.js → _page.server.ts.js-CqU-yzLn.js} +3 -3
  312. package/build/server/chunks/entries/pages/setup/{_page.server.ts.js-DOLq2HfK.js → _page.server.ts.js-Bl3_Glym.js} +3 -3
  313. package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-BJdoTfEx.js → _page.server.ts.js-D1YzGPKz.js} +3 -3
  314. package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-DpwnwQCn.js → _page.server.ts.js-BXQ0X1ko.js} +2 -2
  315. package/build/server/chunks/entries/pages/time/{_page.server.ts.js-CW6Titpm.js → _page.server.ts.js-CzXN68NU.js} +2 -2
  316. package/build/server/chunks/{handler-y94pKJeU.js → handler-Bn1fUv6B.js} +3 -3
  317. package/build/server/chunks/{index.js-DtEa3MAX.js → index.js-Mx2dDARn.js} +2 -2
  318. package/build/server/chunks/{manifest.js-YbFjUaWW.js → manifest.js-B-YEp54X.js} +120 -120
  319. package/build/server/chunks/nodes/{0.js-DZNO3FEd.js → 0.js-BUBiSzRS.js} +6 -6
  320. package/build/server/chunks/nodes/{1.js-DeEeQGnw.js → 1.js-BLJ7Klm0.js} +2 -2
  321. package/build/server/chunks/nodes/{10.js-D1WLP-xF.js → 10.js-CtrWc2wn.js} +5 -5
  322. package/build/server/chunks/nodes/{11.js-Cj41sGC5.js → 11.js-DJ3Gaern.js} +5 -5
  323. package/build/server/chunks/nodes/{12.js-B-q9Ib1c.js → 12.js-pLEUUewd.js} +2 -2
  324. package/build/server/chunks/nodes/{13.js-DsffUOsS.js → 13.js-hX0iR3ZH.js} +2 -2
  325. package/build/server/chunks/nodes/{14.js-Dw1DFPiL.js → 14.js-CGtz8B7y.js} +2 -2
  326. package/build/server/chunks/nodes/{15.js-Bm993HDL.js → 15.js-8RVQO15R.js} +5 -5
  327. package/build/server/chunks/nodes/{16.js-WZ4F89Mr.js → 16.js-D7bYd07V.js} +5 -5
  328. package/build/server/chunks/nodes/{17.js-Baq9rNe0.js → 17.js-DhdPdpU0.js} +5 -5
  329. package/build/server/chunks/nodes/{18.js-C38z45xS.js → 18.js-B0V_uhB9.js} +6 -6
  330. package/build/server/chunks/nodes/{19.js-DyT8Zd0H.js → 19.js-CmWOSZcm.js} +6 -6
  331. package/build/server/chunks/nodes/{2.js-jQdD36qI.js → 2.js-CLB-XV4H.js} +5 -5
  332. package/build/server/chunks/nodes/{20.js-CQbfd52F.js → 20.js-Bv8mf2k9.js} +7 -7
  333. package/build/server/chunks/nodes/{21.js-DW3kIO8q.js → 21.js-Cj-sht45.js} +2 -2
  334. package/build/server/chunks/nodes/{22.js-ksQVgjBb.js → 22.js-BMWD13bW.js} +2 -2
  335. package/build/server/chunks/nodes/{24.js-BKj-MVrY.js → 24.js-DmRx7lma.js} +5 -5
  336. package/build/server/chunks/nodes/{26.js-DxNHajUJ.js → 26.js-BzmxsP0K.js} +5 -5
  337. package/build/server/chunks/nodes/{27.js-mHDM5fgE.js → 27.js-BOBLm3Xv.js} +5 -5
  338. package/build/server/chunks/nodes/{28.js-DTwh097W.js → 28.js--5lcdSOl.js} +2 -2
  339. package/build/server/chunks/nodes/{29.js-CBmut8fC.js → 29.js-BpFLyOWJ.js} +5 -5
  340. package/build/server/chunks/nodes/{3.js-DXVw6q6d.js → 3.js-B93UtyJs.js} +2 -2
  341. package/build/server/chunks/nodes/{30.js-CbXBXcvy.js → 30.js-B4DJpQXi.js} +7 -7
  342. package/build/server/chunks/nodes/{31.js-WDuQi73D.js → 31.js-DOOOaYTt.js} +2 -2
  343. package/build/server/chunks/nodes/{32.js-T4n52_nY.js → 32.js-BY7fFTcK.js} +5 -5
  344. package/build/server/chunks/nodes/{33.js-BhdoH31z.js → 33.js-3D_1qIJ2.js} +5 -5
  345. package/build/server/chunks/nodes/{34.js-BdxLdp7H.js → 34.js-BYRFhIDN.js} +6 -6
  346. package/build/server/chunks/nodes/{35.js-kSAwfGyD.js → 35.js-CfsTfMZd.js} +4 -4
  347. package/build/server/chunks/nodes/{36.js-DnyJGfb-.js → 36.js-BLSBbLWX.js} +6 -6
  348. package/build/server/chunks/nodes/{37.js-XUg9jSCl.js → 37.js-D97cum02.js} +6 -6
  349. package/build/server/chunks/nodes/{38.js-BSf8dpSf.js → 38.js-DmCNtoo5.js} +6 -6
  350. package/build/server/chunks/nodes/{39.js-CzeMaVfA.js → 39.js-zevF1xrn.js} +5 -5
  351. package/build/server/chunks/nodes/{4.js-DsmciaDg.js → 4.js-DkEAmKO9.js} +5 -5
  352. package/build/server/chunks/nodes/{40.js-BB-3VTMf.js → 40.js-9ki1tEOB.js} +5 -5
  353. package/build/server/chunks/nodes/{5.js-CQfxR-6j.js → 5.js-0Xrkj28g.js} +5 -5
  354. package/build/server/chunks/nodes/{7.js-VphzedHf.js → 7.js-BwbHOQcn.js} +4 -4
  355. package/build/server/chunks/nodes/{8.js-knfTDQmu.js → 8.js-3pWfDfVU.js} +2 -2
  356. package/build/server/chunks/nodes/{9.js-B_uu7boa.js → 9.js-BgyqCMp-.js} +5 -5
  357. package/dist/cli.js +1 -1
  358. package/dist/wh-vault.js +1 -1
  359. package/firstmate-extension/firstmate-extension.json +1 -1
  360. package/package.json +1 -1
  361. package/build/client/_app/immutable/chunks/1THDSnwR.js.br +0 -0
  362. package/build/client/_app/immutable/chunks/1THDSnwR.js.gz +0 -0
  363. package/build/client/_app/immutable/chunks/5qx-E5hQ.js.br +0 -0
  364. package/build/client/_app/immutable/chunks/5qx-E5hQ.js.gz +0 -0
  365. package/build/client/_app/immutable/chunks/8cFWsiL5.js.br +0 -0
  366. package/build/client/_app/immutable/chunks/8cFWsiL5.js.gz +0 -0
  367. package/build/client/_app/immutable/chunks/B95vDHb4.js.br +0 -0
  368. package/build/client/_app/immutable/chunks/B95vDHb4.js.gz +0 -0
  369. package/build/client/_app/immutable/chunks/Bo0GBU1d.js.br +0 -0
  370. package/build/client/_app/immutable/chunks/Bo0GBU1d.js.gz +0 -0
  371. package/build/client/_app/immutable/chunks/BoLe_IyD.js.br +0 -0
  372. package/build/client/_app/immutable/chunks/BoLe_IyD.js.gz +0 -0
  373. package/build/client/_app/immutable/chunks/BqeJFOiq.js.br +0 -0
  374. package/build/client/_app/immutable/chunks/BqeJFOiq.js.gz +0 -0
  375. package/build/client/_app/immutable/chunks/CC2m5e3H.js.br +0 -0
  376. package/build/client/_app/immutable/chunks/CC2m5e3H.js.gz +0 -0
  377. package/build/client/_app/immutable/chunks/CHLlDrXz.js.br +0 -0
  378. package/build/client/_app/immutable/chunks/CHLlDrXz.js.gz +0 -0
  379. package/build/client/_app/immutable/chunks/CJh-lXlR.js.br +0 -0
  380. package/build/client/_app/immutable/chunks/CJh-lXlR.js.gz +0 -0
  381. package/build/client/_app/immutable/chunks/CQ0zKnku.js.br +0 -0
  382. package/build/client/_app/immutable/chunks/CQ0zKnku.js.gz +0 -0
  383. package/build/client/_app/immutable/chunks/Cva9VpVb.js.br +0 -0
  384. package/build/client/_app/immutable/chunks/Cva9VpVb.js.gz +0 -0
  385. package/build/client/_app/immutable/chunks/CxHJSJSb.js.br +0 -0
  386. package/build/client/_app/immutable/chunks/CxHJSJSb.js.gz +0 -0
  387. package/build/client/_app/immutable/chunks/DREe4_Em.js.br +0 -0
  388. package/build/client/_app/immutable/chunks/DREe4_Em.js.gz +0 -0
  389. package/build/client/_app/immutable/chunks/Da2GOnuD.js.br +0 -0
  390. package/build/client/_app/immutable/chunks/Da2GOnuD.js.gz +0 -0
  391. package/build/client/_app/immutable/chunks/DlupK5OD.js.br +0 -0
  392. package/build/client/_app/immutable/chunks/DlupK5OD.js.gz +0 -0
  393. package/build/client/_app/immutable/chunks/HFrgAbA7.js.br +0 -0
  394. package/build/client/_app/immutable/chunks/HFrgAbA7.js.gz +0 -0
  395. package/build/client/_app/immutable/chunks/Lb2eWaSE.js.br +0 -0
  396. package/build/client/_app/immutable/chunks/Lb2eWaSE.js.gz +0 -0
  397. package/build/client/_app/immutable/chunks/NueoU5q8.js.br +0 -0
  398. package/build/client/_app/immutable/chunks/NueoU5q8.js.gz +0 -0
  399. package/build/client/_app/immutable/chunks/Sii3oNcc.js.br +0 -0
  400. package/build/client/_app/immutable/chunks/Sii3oNcc.js.gz +0 -0
  401. package/build/client/_app/immutable/chunks/TvzfwAc_.js.br +0 -0
  402. package/build/client/_app/immutable/chunks/TvzfwAc_.js.gz +0 -0
  403. package/build/client/_app/immutable/chunks/gKm-HWvG.js.br +0 -1
  404. package/build/client/_app/immutable/chunks/gKm-HWvG.js.gz +0 -0
  405. package/build/client/_app/immutable/chunks/s7ZLiUKi.js.br +0 -0
  406. package/build/client/_app/immutable/chunks/s7ZLiUKi.js.gz +0 -0
  407. package/build/client/_app/immutable/chunks/uMlyB-ee.js.br +0 -0
  408. package/build/client/_app/immutable/chunks/uMlyB-ee.js.gz +0 -0
  409. package/build/client/_app/immutable/entry/app.BGGGVw8e.js.br +0 -0
  410. package/build/client/_app/immutable/entry/app.BGGGVw8e.js.gz +0 -0
  411. package/build/client/_app/immutable/entry/start.Cew8gpBz.js +0 -1
  412. package/build/client/_app/immutable/entry/start.Cew8gpBz.js.br +0 -0
  413. package/build/client/_app/immutable/entry/start.Cew8gpBz.js.gz +0 -0
  414. package/build/client/_app/immutable/nodes/0.Bg8-HE2q.js.br +0 -0
  415. package/build/client/_app/immutable/nodes/1.CaqTGk5K.js.br +0 -0
  416. package/build/client/_app/immutable/nodes/1.CaqTGk5K.js.gz +0 -0
  417. package/build/client/_app/immutable/nodes/10.CDtUrk-c.js.br +0 -0
  418. package/build/client/_app/immutable/nodes/10.CDtUrk-c.js.gz +0 -0
  419. package/build/client/_app/immutable/nodes/11.BgmRFAah.js.br +0 -0
  420. package/build/client/_app/immutable/nodes/11.BgmRFAah.js.gz +0 -0
  421. package/build/client/_app/immutable/nodes/12.CkcVt4QK.js.br +0 -0
  422. package/build/client/_app/immutable/nodes/12.CkcVt4QK.js.gz +0 -0
  423. package/build/client/_app/immutable/nodes/13.Ce2-RKSA.js.br +0 -0
  424. package/build/client/_app/immutable/nodes/13.Ce2-RKSA.js.gz +0 -0
  425. package/build/client/_app/immutable/nodes/14.ip6iLHgE.js.br +0 -0
  426. package/build/client/_app/immutable/nodes/14.ip6iLHgE.js.gz +0 -0
  427. package/build/client/_app/immutable/nodes/15.DkPLCNpt.js.br +0 -3
  428. package/build/client/_app/immutable/nodes/15.DkPLCNpt.js.gz +0 -0
  429. package/build/client/_app/immutable/nodes/16.Cvg_tC9Y.js.br +0 -0
  430. package/build/client/_app/immutable/nodes/16.Cvg_tC9Y.js.gz +0 -0
  431. package/build/client/_app/immutable/nodes/17.DYkILIFn.js.br +0 -0
  432. package/build/client/_app/immutable/nodes/17.DYkILIFn.js.gz +0 -0
  433. package/build/client/_app/immutable/nodes/18.DPfadYmN.js.br +0 -0
  434. package/build/client/_app/immutable/nodes/18.DPfadYmN.js.gz +0 -0
  435. package/build/client/_app/immutable/nodes/19.ClKxJRb4.js.br +0 -0
  436. package/build/client/_app/immutable/nodes/2.CluLiMMe.js.br +0 -0
  437. package/build/client/_app/immutable/nodes/2.CluLiMMe.js.gz +0 -0
  438. package/build/client/_app/immutable/nodes/20.Bif6P7ng.js.br +0 -0
  439. package/build/client/_app/immutable/nodes/20.Bif6P7ng.js.gz +0 -0
  440. package/build/client/_app/immutable/nodes/21.x0ymlObW.js.br +0 -0
  441. package/build/client/_app/immutable/nodes/21.x0ymlObW.js.gz +0 -0
  442. package/build/client/_app/immutable/nodes/22.RGldztsO.js.br +0 -0
  443. package/build/client/_app/immutable/nodes/22.RGldztsO.js.gz +0 -0
  444. package/build/client/_app/immutable/nodes/24.B_uEnuL5.js.br +0 -0
  445. package/build/client/_app/immutable/nodes/24.B_uEnuL5.js.gz +0 -0
  446. package/build/client/_app/immutable/nodes/26.Dky3Ah9G.js.br +0 -0
  447. package/build/client/_app/immutable/nodes/26.Dky3Ah9G.js.gz +0 -0
  448. package/build/client/_app/immutable/nodes/27.DP_uSl0C.js.br +0 -0
  449. package/build/client/_app/immutable/nodes/27.DP_uSl0C.js.gz +0 -0
  450. package/build/client/_app/immutable/nodes/28.D2qdRGPd.js.br +0 -0
  451. package/build/client/_app/immutable/nodes/28.D2qdRGPd.js.gz +0 -0
  452. package/build/client/_app/immutable/nodes/29.Ddwaz1hp.js.br +0 -0
  453. package/build/client/_app/immutable/nodes/29.Ddwaz1hp.js.gz +0 -0
  454. package/build/client/_app/immutable/nodes/3.CVDrIOUx.js.br +0 -0
  455. package/build/client/_app/immutable/nodes/3.CVDrIOUx.js.gz +0 -0
  456. package/build/client/_app/immutable/nodes/30.Z_dcq2gz.js.br +0 -0
  457. package/build/client/_app/immutable/nodes/30.Z_dcq2gz.js.gz +0 -0
  458. package/build/client/_app/immutable/nodes/31.dyucR3g6.js.br +0 -0
  459. package/build/client/_app/immutable/nodes/31.dyucR3g6.js.gz +0 -0
  460. package/build/client/_app/immutable/nodes/32.DX4PQvJR.js.br +0 -0
  461. package/build/client/_app/immutable/nodes/32.DX4PQvJR.js.gz +0 -0
  462. package/build/client/_app/immutable/nodes/33.0jPnz-fe.js.br +0 -0
  463. package/build/client/_app/immutable/nodes/33.0jPnz-fe.js.gz +0 -0
  464. package/build/client/_app/immutable/nodes/34.CvGd0cJb.js.br +0 -0
  465. package/build/client/_app/immutable/nodes/34.CvGd0cJb.js.gz +0 -0
  466. package/build/client/_app/immutable/nodes/35.5ZhQwroK.js.br +0 -0
  467. package/build/client/_app/immutable/nodes/35.5ZhQwroK.js.gz +0 -0
  468. package/build/client/_app/immutable/nodes/36.LzdZEn79.js.br +0 -0
  469. package/build/client/_app/immutable/nodes/36.LzdZEn79.js.gz +0 -0
  470. package/build/client/_app/immutable/nodes/37.C5-b0odW.js.br +0 -0
  471. package/build/client/_app/immutable/nodes/37.C5-b0odW.js.gz +0 -0
  472. package/build/client/_app/immutable/nodes/38.CMgkqyxT.js.br +0 -0
  473. package/build/client/_app/immutable/nodes/38.CMgkqyxT.js.gz +0 -0
  474. package/build/client/_app/immutable/nodes/4.CbNo2HC_.js.br +0 -0
  475. package/build/client/_app/immutable/nodes/4.CbNo2HC_.js.gz +0 -0
  476. package/build/client/_app/immutable/nodes/40.CNQdbYqG.js.br +0 -0
  477. package/build/client/_app/immutable/nodes/40.CNQdbYqG.js.gz +0 -0
  478. package/build/client/_app/immutable/nodes/5.RsG0znmX.js.br +0 -0
  479. package/build/client/_app/immutable/nodes/5.RsG0znmX.js.gz +0 -0
  480. package/build/client/_app/immutable/nodes/8.DFmXg3_i.js.br +0 -0
  481. package/build/client/_app/immutable/nodes/8.DFmXg3_i.js.gz +0 -0
  482. package/build/client/_app/immutable/nodes/9.DhYSdoUO.js.br +0 -0
  483. package/build/client/_app/immutable/nodes/9.DhYSdoUO.js.gz +0 -0
@@ -1,4 +1,4 @@
1
- import"./DsnmJJEf.js";import{p as vt,y as ze,f as T,g as e,a as n,b as mt,h as R,e as f,r as d,n as $,c,i as q,m as k,u as Ke,P as Xe,o as w,s as o,t as D,A as Fe,aA as Wt}from"./CEfkcOME.js";import{d as $t,s as h,e as Qe,a as Oe}from"./CPPNfCxh.js";import{i as A}from"./D4ikcNuh.js";import{e as Ve,s as N,d as Ht}from"./BMjXQSgN.js";import{h as Yt,m as Ut}from"./CJsvF1Ay.js";import{c as ue}from"./CGbw525c.js";import{b as jt}from"./B6yYMcjx.js";import{b as Jt}from"./DKCbih8n.js";import{s as Ae,r as Ne}from"./D42BPZCD.js";import{j as Bt}from"./DTpgmq3M.js";import{S as Gt}from"./BXN538J3.js";import{w as Kt}from"./RYvdmj4W.js";import{c as pe}from"./WRwU91GU.js";import{D as Xt,h as Ze,i as et}from"./DREe4_Em.js";import{H as Qt}from"./ck3_pj9L.js";import{B as re}from"./D4Okmn3b.js";import{D as Vt}from"./Sv3hh1sg.js";import{D as Zt,a as es,b as ts,c as ss,d as as,e as rs}from"./BxKmcvUJ.js";import{A as is}from"./DI6U75Wo.js";import{C as ns}from"./N3-89cl-.js";import{p as os}from"./gKm-HWvG.js";import{i as tt}from"./Z_T9JZ0p.js";import{C as ls}from"./BftdAJED.js";import{L as Me}from"./BMEfZRmb.js";import{X as ds}from"./C6E-ekUK.js";import{C as cs}from"./uFR0qOc6.js";import{I as Te}from"./DBuj1e9B.js";import{C as us}from"./D6J6SKJa.js";import{R as vs}from"./RKJLUbAQ.js";import{S as st}from"./61tb7Ymv.js";import{A as ms}from"./BicHgQHF.js";import{P as at}from"./B0CcXh2k.js";import{P as rt}from"./C0oq3sur.js";var fs=new Set(["$$slots","$$events","$$legacy"]);function it(C,s){let i=Ne(s,fs);const v={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"}]]};Te(C,Ae(()=>i,{get icon(){return v}}))}var ps=new Set(["$$slots","$$events","$$legacy"]);function hs(C,s){let i=Ne(s,ps);const v={name:"check-check",size:24,node:[["path",{d:"M18 6 7 17l-5-5"}],["path",{d:"m22 10-7.5 7.5L13 16"}]]};Te(C,Ae(()=>i,{get icon(){return v}}))}var _s=new Set(["$$slots","$$events","$$legacy"]);function gs(C,s){let i=Ne(s,_s);const v={name:"users-round",size:24,node:[["path",{d:"M18 21a8 8 0 0 0-16 0"}],["circle",{cx:"10",cy:"8",r:"5"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3"}]],aliases:["users-2"]};Te(C,Ae(()=>i,{get icon(){return v}}))}var xs=c('<div class="mt-5" data-task-decisions=""><!></div>'),ks=c(`<p class="mt-5 flex items-center gap-2 text-sm text-muted-foreground" role="status" data-task-decisions-answered=""><!>Your answer is with Firstmate,
1
+ import"./DsnmJJEf.js";import{p as vt,y as ze,f as T,g as e,a as n,b as mt,h as R,e as f,r as d,n as $,c,i as q,m as k,u as Ke,P as Xe,o as w,s as o,t as D,A as Fe,aA as Wt}from"./CEfkcOME.js";import{d as $t,s as h,e as Qe,a as Oe}from"./CPPNfCxh.js";import{i as A}from"./D4ikcNuh.js";import{e as Ve,s as N,d as Ht}from"./BMjXQSgN.js";import{h as Yt,m as Ut}from"./CJsvF1Ay.js";import{c as ue}from"./CGbw525c.js";import{b as jt}from"./B6yYMcjx.js";import{b as Jt}from"./DKCbih8n.js";import{s as Ae,r as Ne}from"./D42BPZCD.js";import{j as Bt}from"./DTpgmq3M.js";import{S as Gt}from"./BXN538J3.js";import{w as Kt}from"./RYvdmj4W.js";import{c as pe}from"./WRwU91GU.js";import{D as Xt,h as Ze,i as et}from"./BrB0U8Br.js";import{H as Qt}from"./ck3_pj9L.js";import{B as re}from"./D4Okmn3b.js";import{D as Vt}from"./Sv3hh1sg.js";import{D as Zt,a as es,b as ts,c as ss,d as as,e as rs}from"./BxKmcvUJ.js";import{A as is}from"./DI6U75Wo.js";import{C as ns}from"./N3-89cl-.js";import{p as os}from"./CjDEH2t9.js";import{i as tt}from"./Z_T9JZ0p.js";import{C as ls}from"./BftdAJED.js";import{L as Me}from"./BMEfZRmb.js";import{X as ds}from"./C6E-ekUK.js";import{C as cs}from"./uFR0qOc6.js";import{I as Te}from"./DBuj1e9B.js";import{C as us}from"./D6J6SKJa.js";import{R as vs}from"./RKJLUbAQ.js";import{S as st}from"./61tb7Ymv.js";import{A as ms}from"./BicHgQHF.js";import{P as at}from"./B0CcXh2k.js";import{P as rt}from"./C0oq3sur.js";var fs=new Set(["$$slots","$$events","$$legacy"]);function it(C,s){let i=Ne(s,fs);const v={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"}]]};Te(C,Ae(()=>i,{get icon(){return v}}))}var ps=new Set(["$$slots","$$events","$$legacy"]);function hs(C,s){let i=Ne(s,ps);const v={name:"check-check",size:24,node:[["path",{d:"M18 6 7 17l-5-5"}],["path",{d:"m22 10-7.5 7.5L13 16"}]]};Te(C,Ae(()=>i,{get icon(){return v}}))}var _s=new Set(["$$slots","$$events","$$legacy"]);function gs(C,s){let i=Ne(s,_s);const v={name:"users-round",size:24,node:[["path",{d:"M18 21a8 8 0 0 0-16 0"}],["circle",{cx:"10",cy:"8",r:"5"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3"}]],aliases:["users-2"]};Te(C,Ae(()=>i,{get icon(){return v}}))}var xs=c('<div class="mt-5" data-task-decisions=""><!></div>'),ks=c(`<p class="mt-5 flex items-center gap-2 text-sm text-muted-foreground" role="status" data-task-decisions-answered=""><!>Your answer is with Firstmate,
2
2
  which passes it on to the crew.</p>`);function ys(C,s){vt(s,!0);const i=R(()=>os.data.inbox),v=R(()=>tt.forTask(s.task.id,e(i)).length>0),b=R(()=>!e(v)&&s.task.attention?.kind==="decision"&&tt.hasDecision(s.task.id,e(i)));var Q=ze(),le=T(Q);{var Z=y=>{var F=xs(),V=f(F);{let G=R(()=>({taskId:s.task.id}));Xt(V,{get filter(){return e(G)}})}d(F),n(y,F)},we=y=>{var F=ks(),V=f(F);ls(V,{class:"size-4 shrink-0 text-success","aria-hidden":"true"}),$(),d(F),n(y,F)};A(le,y=>{e(v)?y(Z):e(b)&&y(we,1)})}n(C,Q),mt()}function ws(C){return!C.id.includes("@")&&!C.secondMate&&!["queued","done","landed","closed"].includes(C.status)}const bs=/(?:instruction|operational input) waiting\b/i;function nt(C,s,i,v=!1){const b=[];for(const y of C)y.kind==="user"?bs.test(y.text)||b.push({kind:"firstmate",at:y.at,item:y}):b.push({kind:"worker",at:y.at,item:y});let Q=0;if(!v){const y=b.findIndex(G=>G.at>=i),F=y<0?b.length:y,V=b.findLastIndex((G,H)=>H<F&&G.kind==="worker");Q=V>=0?V:F}const le=b.slice(Q),Z=s.map(y=>({kind:"captain",at:y.at,message:y}));return{entries:[...le,...Z].sort((y,F)=>y.at<F.at?-1:y.at>F.at?1:0),earlier:Q}}const Pe=6e3;async function ft(C,s,i,v={}){try{const b=await fetch(C,{method:"POST",headers:{"content-type":"application/json",[Gt]:s,...v},body:JSON.stringify(i)});return b.ok?{ok:!0}:{ok:!1,error:(await b.json().catch(()=>null))?.message??`Wheelhouse answered ${b.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}const ot=(C,s,i)=>ft("/api/crew",i,{taskId:C,action:s}),Ss=(C,s,i,v,b=crypto.randomUUID())=>ft("/api/crew/messages",v,{taskId:C,kind:s,text:i},{"idempotency-key":b});class Ds{constructor(s){this.taskId=s}taskId;#e=q(null);get session(){return e(this.#e)}set session(s){k(this.#e,s,!0)}#t=q(null);get source(){return e(this.#t)}set source(s){k(this.#t,s,!0)}#s=q([]);get records(){return e(this.#s)}set records(s){k(this.#s,s)}#a=q("connecting");get connection(){return e(this.#a)}set connection(s){k(this.#a,s,!0)}#r=q(!1);get synced(){return e(this.#r)}set synced(s){k(this.#r,s,!0)}#i=R(()=>Bt(this.records));get chat(){return e(this.#i)}set chat(s){k(this.#i,s)}#n=R(()=>{const s=this.chat.items[this.chat.items.length-1];return this.session?.busy===!0||s?.kind==="turn"&&!s.done});get working(){return e(this.#n)}set working(s){k(this.#n,s)}connect(){this.synced=!1;const s=i=>{i.addEventListener("session",v=>{this.session=JSON.parse(v.data)}),i.addEventListener("reset",v=>{this.source=JSON.parse(v.data),this.records=[]}),i.addEventListener("records",v=>{const b=[...this.records,...JSON.parse(v.data)];this.records=b.length>Pe?b.slice(-Pe):b}),i.addEventListener("replace",v=>{const b=JSON.parse(v.data);this.records=b.length>Pe?b.slice(-Pe):b}),i.addEventListener("synced",()=>this.synced=!0)};return Kt(`/api/tasks/${encodeURIComponent(this.taskId)}/chat`,s,i=>this.connection=i)}}var Ps=c("<!>End discussion",1),zs=c('<span class="text-xs text-muted-foreground">Read-only</span>'),As=c(`<p class="crew-banner svelte-1f8gn6y" role="note"><span class="crew-tag svelte-1f8gn6y">Sidebar</span> <span>You’re talking to <b> </b> directly. It can answer you here, and Firstmate gets a note of
3
3
  each message.</span></p>`),Cs=c('<p class="crew-banner crew-banner-read svelte-1f8gn6y" role="note"><span class="crew-tag svelte-1f8gn6y">Read-only</span> <span> </span></p>'),Es=c('<p class="crew-banner crew-banner-paused svelte-1f8gn6y" role="status"><span class="crew-tag svelte-1f8gn6y">Paused</span><span> </span></p>'),Is=c('<div class="-mt-5"><!></div>'),lt=c('<p class="mt-4 rounded-lg bg-muted px-4 py-3 text-sm text-muted-foreground" role="status"> </p>'),Ls=c('<button class="mx-auto mt-4 block cursor-pointer text-sm text-sea hover:underline" data-show-earlier=""> </button>'),Rs=c('<div class="bubble-row"><div class="bubble bubble-captain"> </div></div>'),Fs=c('<p class="flex items-center gap-1.5 text-sm text-muted-foreground"><!> </p>'),Os=c('<button class="inline-flex cursor-pointer items-center gap-1 font-sans font-medium hover:underline"><!>Send again</button>'),dt=c("<span> </span>"),Ms=c('<article class="msg msg-captain"><span class="captain-avatar">C</span> <div class="min-w-0 flex-1"><header class="msg-head"><span class="crew-tag svelte-1f8gn6y">Sidebar</span><time> </time></header> <!> <p><!> <span> </span> <!></p></div></article>'),Ns=c('<details class="crew-note svelte-1f8gn6y"><summary class="svelte-1f8gn6y">Typed into its session · <time> </time></summary> <p class="mt-2 whitespace-pre-wrap"> </p></details>'),Ts=c('<div class="bubble-row"><div class="chat-md bubble bubble-firstmate"></div></div>'),qs=c('<p class="rounded-lg border px-4 py-3 text-sm"> <span class="text-muted-foreground">Answer in its terminal, or tell it here.</span></p>'),Ws=c('<article class="msg msg-firstmate"><span class="mate-avatar msg-avatar svelte-1f8gn6y" aria-hidden="true"> </span> <div class="flex min-w-0 flex-1 flex-col gap-2"><header class="msg-head"><span class="msg-name font-mono"> </span><!><time> </time></header> <!></div></article>'),$s=c('<pre class="no-scrollbar max-h-60 max-w-[80ch] overflow-auto rounded-lg bg-muted/60 p-3 font-mono text-xs whitespace-pre-wrap text-muted-foreground"> </pre>'),Hs=c('<p class="text-xs text-muted-foreground"> </p>'),Ys=c(`<div class="border-t px-4 py-3 sm:px-5" data-discussion-terminal=""><p class="mb-2 flex items-center gap-2 text-xs text-muted-foreground"><!>Its terminal, read-only. Type to it
4
4
  here, not there: what you send goes through its inbox.</p> <!></div>`),Us=c("<!>Chat with crew",1),ct=c('<p class="mt-1 text-sm text-danger" role="alert"> </p>'),ut=c("<!> <!>",1),js=c('<p class="text-sm text-danger" role="alert"> </p>'),Js=c("<!>Start the discussion",1),Bs=c("<!> <!> <!>",1),Gs=c('<div class="border-t px-4 pt-3 pb-4 sm:px-5"><div class="flex items-center gap-3 rounded-xl border border-dashed bg-muted/40 py-2 pr-2 pl-4" data-chat-locked=""><span class="flex-1 text-muted-foreground/80">Read-only · talk to Firstmate about this task, or</span> <!></div> <p class="mt-1.5 text-xs text-muted-foreground"> </p> <!></div> <!>',1),Ks=c("<!>Ask for status",1),Xs=c("<!>Resume",1),Qs=c("<!>Pause after this step",1),Vs=c("<!> ",1),Zs=c('<div class="border-t px-4 pt-3 pb-4 sm:px-5"><div class="mb-2 flex flex-wrap gap-2"><!> <!> <!></div> <form class="flex items-end gap-2 rounded-xl border bg-card px-3 py-2 focus-within:ring-3 focus-within:ring-ring/50"><textarea class="field-sizing-content max-h-48 min-h-10 flex-1 resize-none bg-transparent py-1.5 outline-none placeholder:text-muted-foreground" data-discussion-input=""></textarea> <!></form> <p class="mt-1.5 text-xs text-muted-foreground">Goes to its inbox as yours; Firstmate gets a note.</p> <!></div>'),ea=c('<section class="flex h-full min-h-0 flex-col"><header class="flex flex-wrap items-center gap-x-3 gap-y-2 border-b px-4 py-3 sm:px-5"><span class="mate-avatar" aria-hidden="true"> </span> <div class="min-w-0 flex-1"><p class="flex items-baseline gap-2"><a class="font-mono text-sm font-semibold hover:underline"> </a> <span class="truncate text-sm text-muted-foreground"> </span></p> <p class="text-xs text-muted-foreground"> </p></div> <!></header> <!> <!> <div class="no-scrollbar min-h-0 flex-1 overflow-y-auto px-4 py-5 sm:px-5" aria-live="polite" data-discussion-feed=""><!> <!> <!> <div class="mt-5 flex flex-col gap-6"></div></div> <!> <!></section>');function Oa(C,s){vt(s,!0);const i=R(()=>s.taskId);let v=q(null);Ke(()=>{const t=new Ds(e(i));k(v,t,!0);const a=t.connect();return()=>{a(),k(v,null)}});let b=q(!1);const Q=60;let le=q(Q);const Z=R(()=>{if(s.discussion)return nt(e(v)?.chat.items??[],s.discussion.messages,s.discussion.openedAt,e(b));const{entries:t}=nt(e(v)?.chat.items??[],[],"",!0),a=Math.max(0,t.length-e(le));return{entries:t.slice(a),earlier:a}}),we=()=>s.discussion?k(b,!0):k(le,e(le)+Q),y=R(()=>s.task?s.task.secondMate||s.task.id.includes("@")?"Chatting with a second mate’s worker comes later.":ws(s.task)?null:"Its worker is not at work.":"Its task has left the fleet."),F=R(()=>e(v)?.session?.harness??s.task?.worker?.harness??null),V=R(()=>e(F)?Qt[e(F)]??e(F):null);let G=q(""),H=q(null),be=q(!1),he=q(!1),Se=q(!1),De=q(!1);async function pt(){k(De,!0),k(H,null);const t=await ot(e(i),"open",s.token);k(De,!1),t.ok?k(Se,!1):k(H,t.error,!0)}async function _e(t,a="",m){k(H,null);const P=await Ss(e(i),t,a,s.token,m);P.ok||k(H,P.error,!0)}function qe(){const t=e(G).trim();t&&(k(G,""),_e("say",t),Xe().then(()=>$e(!0)))}function ht(t){t.key==="Enter"&&!t.shiftKey&&!t.isComposing&&(t.preventDefault(),qe())}async function _t(){k(be,!0);const t=await ot(e(i),"close",s.token);k(be,!1),t.ok?s.onended?.():k(H,t.error,!0)}let ee=q(null),We=!0;function $e(t=!1){e(ee)&&(t||We)&&(e(ee).scrollTop=e(ee).scrollHeight)}Ke(()=>{e(Z).entries.length,e(v)?.records.length,Xe().then(()=>$e())});const gt=t=>t.delivery==="sending"?"Sending":t.delivery==="failed"?t.error??"Not delivered":t.seen?`Seen by ${e(i)}`:"In its inbox",xt={status:"Asked for status",pause:"Asked to pause",resume:"Asked to resume"};var ve=ea(),Ce=f(ve),Ee=f(Ce),kt=w(Ee,!0),Ie=o(Ee,2),Le=f(Ie),Re=f(Le),yt=w(Re,!0),wt=o(Re,2),bt=w(wt,!0);d(Le);var St=o(Le,2),Dt=w(St);d(Ie);var Pt=o(Ie,2);{var zt=t=>{re(t,{variant:"outline",size:"sm",onclick:_t,get disabled(){return e(be)},"data-end-discussion":!0,children:(a,m)=>{var P=Ps(),U=T(P);{var ie=j=>{Me(j,{class:"animate-spin"})},de=j=>{ds(j,{})};A(U,j=>{e(be)?j(ie):j(de,-1)})}$(),n(a,P)},$$slots:{default:!0}})},At=t=>{var a=zs();n(t,a)};A(Pt,t=>{s.discussion?t(zt):t(At,-1)})}d(Ce);var He=o(Ce,2);{var Ct=t=>{var a=As(),m=o(f(a),2),P=o(f(m)),U=w(P,!0);$(),d(m),d(a),D(()=>h(U,e(i))),n(t,a)},Et=t=>{var a=Cs(),m=o(f(a),2),P=w(m);d(a),D(()=>h(P,`${e(i)??""}’s own conversation. You’re watching; Firstmate steers it.`)),n(t,a)};A(He,t=>{s.discussion?t(Ct):t(Et,-1)})}var Ye=o(He,2);{var It=t=>{var a=Es(),m=o(f(a)),P=w(m);d(a),D(()=>h(P,`You asked ${e(i)??""} to stop after its current step. It waits until you resume it.`)),n(t,a)};A(Ye,t=>{s.discussion?.paused&&t(It)})}var ge=o(Ye,2),Ue=f(ge);{var Lt=t=>{var a=Is(),m=f(a);ys(m,{get task(){return s.task}}),d(a),n(t,a)};A(Ue,t=>{s.task&&s.discussion&&t(Lt)})}var je=o(Ue,2);{var Rt=t=>{var a=lt(),m=w(a,!0);D(()=>h(m,e(v).session.reason)),n(t,a)},Ft=t=>{var a=lt(),m=w(a);D(()=>h(m,`Wheelhouse has not found ${e(i)??""}’s conversation yet.${s.discussion?" What you send still reaches it.":""}`)),n(t,a)};A(je,t=>{e(v)?.session?.reason?t(Rt):e(v)?.synced&&!e(v).source&&t(Ft,1)})}var Je=o(je,2);{var Ot=t=>{var a=Ls(),m=w(a);D(()=>h(m,`Show its earlier work (${e(Z).earlier??""})`)),Oe("click",a,we),n(t,a)};A(Je,t=>{e(Z).earlier&&t(Ot)})}var Be=o(Je,2);Ve(Be,23,()=>e(Z).entries,(t,a)=>t.kind==="captain"?`c-${t.message.id}`:`${t.kind}-${t.item.id}-${a}`,(t,a,m)=>{var P=ze(),U=T(P);{var ie=p=>{const r=R(()=>e(a).message);var g=Ms(),O=o(f(g),2),l=f(O),z=o(f(l)),L=w(z,!0);d(l);var I=o(l,2);{var J=u=>{var x=Rs(),_=f(x),S=w(_,!0);d(x),D(()=>h(S,e(r).text)),n(u,x)},ce=u=>{var x=Fs(),_=f(x);{var S=X=>{at(X,{class:"size-3.5","aria-hidden":"true"})},K=X=>{rt(X,{class:"size-3.5","aria-hidden":"true"})},W=X=>{it(X,{class:"size-3.5","aria-hidden":"true"})};A(_,X=>{e(r).kind==="pause"?X(S):e(r).kind==="resume"?X(K,1):X(W,-1)})}var fe=o(_,1,!0);d(x),D(()=>h(fe,xt[e(r).kind])),n(u,x)};A(I,u=>{e(r).kind==="say"?u(J):u(ce,-1)})}var te=o(I,2),oe=f(te);{var me=u=>{Me(u,{class:"size-3 animate-spin","aria-hidden":"true"})},ke=u=>{cs(u,{class:"size-3","aria-hidden":"true"})},Y=u=>{hs(u,{class:"size-3 text-success","aria-hidden":"true"})},E=u=>{us(u,{class:"size-3","aria-hidden":"true"})};A(oe,u=>{e(r).delivery==="sending"?u(me):e(r).delivery==="failed"?u(ke,1):e(r).seen?u(Y,2):u(E,-1)})}var M=o(oe,2),B=w(M,!0),ye=o(M,2);{var se=u=>{var x=Os(),_=f(x);vs(_,{class:"size-3","aria-hidden":"true"}),$(),d(x),Oe("click",x,()=>_e(e(r).kind,e(r).text,e(r).id)),n(u,x)},ae=u=>{var x=dt(),_=w(x);D(()=>h(_,`· ${e(r).told==="sent"?"Firstmate told":e(r).told==="sending"?"telling Firstmate":e(r).told==="off"?"Firstmate not told (messaging is off)":"Firstmate could not be told"}`)),n(u,x)};A(ye,u=>{e(r).delivery==="failed"?u(se):e(r).delivery==="sent"&&u(ae,1)})}d(te),d(O),d(g),D((u,x,_)=>{N(g,"aria-label",`You, ${u??""}`),N(g,"data-crew-message",e(r).id),N(z,"datetime",e(r).at),h(L,x),Ht(te,1,`mt-1 flex flex-wrap items-center justify-end gap-x-2 font-mono text-[0.72rem] ${e(r).delivery==="failed"?"text-danger":"text-muted-foreground"}`),N(te,"data-receipt",e(r).delivery==="sent"?e(r).seen?"seen":"sent":e(r).delivery),h(B,_)},[()=>pe(e(r).at),()=>pe(e(r).at),()=>gt(e(r))]),n(p,g)},de=p=>{var r=Ns(),g=f(r),O=o(f(g)),l=w(O,!0);d(g);var z=o(g,2),L=w(z,!0);d(r),D(I=>{N(O,"datetime",e(a).at),h(l,I),h(L,e(a).item.text)},[()=>pe(e(a).at)]),n(p,r)},j=p=>{const r=R(()=>e(a).item);var g=Ws(),O=f(g),l=w(O,!0),z=o(O,2),L=f(z),I=f(L),J=w(I,!0),ce=o(I);{var te=Y=>{var E=dt(),M=w(E,!0);D(()=>h(M,e(V))),n(Y,E)};A(ce,Y=>{e(V)&&Y(te)})}var oe=o(ce),me=w(oe,!0);d(L);var ke=o(L,2);Ve(ke,19,()=>e(r).parts,Y=>Y.id,(Y,E,M)=>{var B=ze(),ye=T(B);{var se=_=>{var S=Ts(),K=f(S);Yt(K,()=>Ut(e(E).text),!0),d(K),d(S),n(_,S)},ae=R(()=>e(E).kind==="text"&&e(E).text.trim()),u=_=>{{let S=R(()=>!e(r).done&&e(M)===e(r).parts.length-1&&e(m)===e(Z).entries.length-1);is(_,{get steps(){return e(E).steps},get live(){return e(S)}})}},x=_=>{var S=qs(),K=f(S);$(),d(S),D(W=>h(K,`It asked in its session: ${W??""} `),[()=>e(E).questions.map(W=>W.question).join(" ")]),n(_,S)};A(ye,_=>{e(ae)?_(se):e(E).kind==="activity"?_(u,1):e(E).kind==="question"&&_(x,2)})}n(Y,B)}),d(z),d(g),D((Y,E,M,B)=>{N(g,"aria-label",`${e(i)??""}, ${Y??""}`),N(O,"data-hue",E),h(l,M),h(J,e(i)),N(oe,"datetime",e(r).at),h(me,B)},[()=>pe(e(r).at),()=>Ze(e(i)),()=>et(e(i)),()=>pe(e(r).at)]),n(p,g)},xe=p=>{var r=$s(),g=w(r,!0);D(()=>h(g,e(a).item.text)),n(p,r)},ne=p=>{var r=Hs(),g=w(r);D(O=>h(g,`${e(a).item.title??""} · ${O??""}`),[()=>pe(e(a).item.at)]),n(p,r)};A(U,p=>{e(a).kind==="captain"?p(ie):e(a).kind==="firstmate"?p(de,1):e(a).item.kind==="turn"?p(j,2):e(a).item.kind==="output"?p(xe,3):e(a).item.kind==="notice"&&p(ne,4)})}n(t,P)}),d(Be),d(ge),Jt(ge,t=>k(ee,t),()=>e(ee));var Ge=o(ge,2);{var Mt=t=>{var a=Ys(),m=f(a),P=f(m);st(P,{class:"size-3.5","aria-hidden":"true"}),$(),d(m);var U=o(m,2);ns(U,{get task(){return s.task},lines:16}),d(a),n(t,a)};A(Ge,t=>{e(he)&&s.task&&t(Mt)})}var Nt=o(Ge,2);{var Tt=t=>{var a=Gs(),m=T(a),P=f(m),U=o(f(P),2);{let p=R(()=>!!e(y)),r=R(()=>e(y)??void 0);re(U,{variant:"outline",size:"sm",get disabled(){return e(p)},get title(){return e(r)},onclick:()=>k(Se,!0),"data-chat-with-crew":!0,children:(g,O)=>{var l=Us(),z=T(l);gs(z,{}),$(),n(g,l)},$$slots:{default:!0}})}d(P);var ie=o(P,2),de=w(ie,!0),j=o(ie,2);{var xe=p=>{var r=ct(),g=w(r,!0);D(()=>h(g,e(H))),n(p,r)};A(j,p=>{e(H)&&p(xe)})}d(m);var ne=o(m,2);ue(ne,()=>rs,(p,r)=>{r(p,{get open(){return e(Se)},set open(g){k(Se,g,!0)},children:(g,O)=>{var l=ze(),z=T(l);ue(z,()=>Zt,(L,I)=>{I(L,{class:"sm:max-w-md",children:(J,ce)=>{var te=Bs(),oe=T(te);ue(oe,()=>es,(E,M)=>{M(E,{children:(B,ye)=>{var se=ut(),ae=T(se);ue(ae,()=>ts,(x,_)=>{_(x,{class:"font-display text-lg",children:(S,K)=>{$();var W=Fe();D(()=>h(W,`Talk to ${e(i)??""} directly?`)),n(S,W)},$$slots:{default:!0}})});var u=o(ae,2);ue(u,()=>ss,(x,_)=>{_(x,{children:(S,K)=>{$();var W=Fe(`You’ll message this task’s worker yourself, outside Firstmate’s usual relay. What you
@@ -1,4 +1,4 @@
1
- import"./DsnmJJEf.js";import{o as zt}from"./B42VotjV.js";import{p as ut,i as V,j as Dt,u as wt,f as ae,e as y,o as E,s as o,g as e,r as u,t as w,a as r,b as vt,h as re,m as s,n as Se,A as be,c as i,q as He,y as We,k as Lt,v as Ot,w as It}from"./CEfkcOME.js";import{d as Wt,s as h,e as kt,a as rt,l as Ft}from"./CPPNfCxh.js";import{i as $}from"./D4ikcNuh.js";import{k as Ut}from"./D5xbT1cY.js";import{c as Ht}from"./CGbw525c.js";import{r as xt,s as ie,e as $e,f as Ke,c as Vt,a as qt,d as De,k as Kt,h as Bt}from"./BMjXQSgN.js";import{s as Pt,r as At,p as at}from"./D42BPZCD.js";import{a as Jt}from"./WRwU91GU.js";import{b as Zt}from"./B6yYMcjx.js";import{p as ct}from"./gKm-HWvG.js";import{S as jt}from"./BXN538J3.js";import{s as _t,a as Gt,S as Yt}from"./C14pDzYB.js";import{B as Me}from"./D4Okmn3b.js";import{L as Xt}from"./Cb5RrIpk.js";import{K as St}from"./56FYNR0s.js";import{C as Qt}from"./iInrZOCY.js";import{I as Nt}from"./DBuj1e9B.js";import{E as er}from"./CUX8nq8d.js";import{b as yt}from"./DKCbih8n.js";import{a as bt}from"./D8swcNrI.js";import{s as tr}from"./CPV8trsz.js";import{l as Mt,e as rr}from"./C9b5_KhQ.js";import{L as Rt}from"./BMEfZRmb.js";import{P as ar}from"./C0oq3sur.js";import{C as nr}from"./DjjMMxuF.js";import{C as or}from"./BftdAJED.js";import{X as sr}from"./C6E-ekUK.js";import{C as ir}from"./BkDaGfWb.js";import{C as lr}from"./L6sq18qu.js";import{E as dr}from"./BexGUSY7.js";import{P as cr}from"./NueoU5q8.js";const ur=/https?:\/\/[^\s<>"'`]+/g,vr=/[.,;:!?)\]}'"*]+$/;function fr(a){return[...a.matchAll(ur)].map(t=>t[0].replace(vr,""))}var mr=new Set(["$$slots","$$events","$$legacy"]);function pr(a,t){let m=At(t,mr);const g={name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"}],["path",{d:"m2 2 20 20"}]]};Nt(a,Pt(()=>m,{get icon(){return g}}))}var hr=new Set(["$$slots","$$events","$$legacy"]);function gr(a,t){let m=At(t,hr);const g={name:"minimize-2",size:24,node:[["path",{d:"m14 10 7-7"}],["path",{d:"M20 10h-6V4"}],["path",{d:"m3 21 7-7"}],["path",{d:"M4 14h6v6"}]]};Nt(a,Pt(()=>m,{get icon(){return g}}))}var xr=i('<div class="relative"><input autocomplete="off" autocapitalize="off" spellcheck="false" data-1p-ignore="" data-lpignore="true" class="h-10 w-full rounded-md border border-input bg-background px-3 pr-10 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60"/> <button type="button" class="absolute inset-y-0 right-0 flex w-10 items-center justify-center rounded-r-md text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"><!></button></div>'),_r=i('<label class="flex min-w-0 items-center gap-2 text-sm"><input type="checkbox" class="size-4 shrink-0 accent-[var(--sea)]"/> <span class="truncate"> </span></label>'),yr=i('<div class="grid gap-x-6 gap-y-2 sm:grid-cols-2" role="group"></div>'),br=i('<p class="text-sm text-muted-foreground">Wheelhouse knows no projects yet.</p>'),wr=i('<p class="mt-5 rounded-md border border-warning/40 bg-warning/5 px-4 py-2.5 text-sm" role="alert" data-vault-unavailable=""> </p>'),kr=i('<p class="mt-5 rounded-md border border-success/40 bg-success/5 px-4 py-2.5 text-sm" role="status"> </p>'),jr=i('<p class="mt-5 rounded-md border border-danger/40 bg-danger/5 px-4 py-2.5 text-sm" role="alert"> </p>'),Sr=i('<p class="mt-5 text-sm text-muted-foreground"> </p>'),Mr=i('<p id="vault-name-help" class="text-sm text-danger" role="alert"> </p>'),Er=i('<p id="vault-name-help" class="text-xs text-muted-foreground">The environment variable a command receives it as: letters, digits and underscores.</p>'),Tr=i('<section class="mt-6 rounded-lg border border-hair bg-background/60 px-5 py-5" aria-labelledby="vault-add"><h2 id="vault-add" class="font-display text-lg">Add a secret</h2> <p class="mt-0.5 mb-5 text-xs text-muted-foreground">Storing a name that already exists replaces its value.</p> <form class="grid gap-5"><div class="grid max-w-md gap-1.5"><label for="vault-name" class="text-sm font-medium">Name</label> <input id="vault-name" autocomplete="off" autocapitalize="characters" spellcheck="false" placeholder="VERCEL_TOKEN" aria-describedby="vault-name-help" class="h-10 w-full rounded-md border border-input bg-background px-3 font-mono text-sm outline-none placeholder:text-muted-foreground/60 focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60 aria-invalid:border-danger"/> <!></div> <div class="grid max-w-md gap-1.5"><label for="vault-value" class="text-sm font-medium">Value</label> <!> <p class="flex items-start gap-1.5 text-xs text-muted-foreground"><!> </p></div> <div class="grid gap-2"><p class="text-sm font-medium">Projects that may use it</p> <p class="-mt-1 mb-1 text-xs text-muted-foreground">Optional. You can change this any time.</p> <!></div> <div class="flex flex-wrap gap-2"><!> <!></div></form></section>'),zr=i('<div class="mt-6 rounded-lg border border-dashed px-6 py-10"><!> <p class="mt-3 font-display text-lg">The vault is empty</p> <p class="mt-1 max-w-prose text-sm text-muted-foreground">Add the tokens and keys your projects need. The crew uses them by name and never sees a value.</p> <!></div>'),Pr=i('<span class="rounded border border-hair px-1.5 py-0.5 text-xs"> </span>'),Ar=i('<span class="text-xs text-muted-foreground">No project yet</span>'),Nr=i('<form class="grid gap-2"><label for="vault-replace" class="text-xs font-medium">New value</label> <!> <div class="flex flex-wrap gap-2"><!> <!></div></form>'),Rr=i('<p>Remove <span class="font-mono"> </span> </p> <div class="flex flex-wrap gap-2"><!> <!></div>',1),Cr=i('<div class="flex flex-wrap gap-2"><!> <!></div>'),$r=i('<div class="grid gap-6 px-1 pt-1 pb-5 sm:grid-cols-[minmax(0,1fr)_minmax(0,18rem)] sm:pl-9"><div><p class="mb-2 text-sm font-medium">Projects that may use it</p> <!> <p class="mt-3 text-xs text-muted-foreground"> </p></div> <div class="grid content-start gap-3 text-sm"><p class="tabular text-xs text-muted-foreground"> <br/> </p> <!></div></div>'),Dr=i('<li><button class="flex min-h-12 w-full items-center gap-4 px-1 py-3 text-left outline-none hover:bg-muted/50 focus-visible:ring-2 focus-visible:ring-ring"><!> <span class="min-w-0 flex-1 truncate font-mono text-sm font-medium"> </span> <span class="hidden min-w-0 flex-wrap justify-end gap-1.5 sm:flex"></span> <!></button> <!></li>'),Lr=i('<ul class="mt-6 divide-y divide-hair border-y border-hair" aria-label="Secrets"></ul>'),Or=i('<a class="text-sea hover:underline"> </a>'),Ir=i('<tr><td class="tabular py-2 pr-4 whitespace-nowrap"> </td><td class="py-2 pr-4"><!></td><td class="py-2 pr-4"> </td><td class="py-2 pr-4 font-mono text-xs"> </td><td class="py-2 pr-4"> </td><td class="py-2"> </td></tr>'),Wr=i('<h2 class="section-label mt-10">Recent use</h2> <div class="mt-3 no-scrollbar overflow-x-auto"><table class="w-full text-sm"><thead class="text-left text-xs text-muted-foreground"><tr class="border-b border-hair"><th class="py-2 pr-4 font-medium">When</th><th class="py-2 pr-4 font-medium">Task</th><th class="py-2 pr-4 font-medium">Project</th><th class="py-2 pr-4 font-medium">Secrets</th><th class="py-2 pr-4 font-medium">Command</th><th class="py-2 font-medium">Result</th></tr></thead><tbody class="divide-y divide-hair"></tbody></table></div>',1),Fr=i('<div class="flex flex-wrap items-start justify-between gap-4"><p class="max-w-prose text-sm text-muted-foreground"> </p> <!></div> <!> <!> <!> <!> <!> <!> <!>',1);function Ur(a,t){ut(t,!0);const m=(n,c=He,f=He,b=He)=>{var J=xr(),d=y(J);xt(d);var k=o(d,2),q=y(k);{var se=ee=>{pr(ee,{class:"size-4"})},me=ee=>{er(ee,{class:"size-4"})};$(q,ee=>{e(S)?ee(se):ee(me,-1)})}u(k),u(J),w(ee=>{ie(d,"id",c()),ie(d,"type",e(S)?"text":"password"),Vt(d,ee),d.disabled=e(Z),ie(k,"aria-label",e(S)?"Hide what you typed":"Show what you typed"),ie(k,"aria-pressed",e(S))},[()=>f()()]),rt("input",d,ee=>b()(ee.currentTarget.value)),rt("click",k,()=>s(S,!e(S))),r(n,J)},g=(n,c=He,f=He,b=He)=>{var J=We(),d=ae(J);{var k=se=>{var me=yr();$e(me,20,()=>e(l),ee=>ee,(ee,Le)=>{var Ue=_r(),te=y(Ue);xt(te);var _e=o(te,2),ze=E(_e,!0);u(Ue),w(ke=>{qt(te,ke),te.disabled=e(Z),h(ze,Le)},[()=>f().includes(Le)]),rt("change",te,ke=>{const Ve=ke.currentTarget;b()(Le,Ve.checked,Ve)}),r(ee,Ue)}),u(me),w(()=>ie(me,"aria-label",c())),r(se,me)},q=se=>{var me=br();r(se,me)};$(d,se=>{e(l).length?se(k):se(q,-1)})}r(n,J)},T=re(()=>t.data);let x=V(null);const P=re(()=>{const n=t.entry.content.available?Date.parse(t.entry.content.observedAt??""):NaN;return e(x)&&!(n>e(x).at)?e(x).secrets:e(T).secrets}),l=re(()=>{const n=(ct.data.fleet?.projects??[]).map(f=>f.id),c=e(P).flatMap(f=>f.projects).filter(f=>!n.includes(f));return[...n,...[...new Set(c)].sort()]});let C=V(null),K=V(!1),ue=V(null),ne=V(null),Z=V(!1),ve=V(null),xe=V(null),D=V(""),A=V(""),W=V(Dt([])),S=V(!1),v=V(""),j=V(""),N=V(null);const R=re(()=>e(N)?.canStore===!1);function z(){fetch("/api/vault").then(n=>n.ok?n.json():null).then(n=>{n&&s(N,n,!0)}).catch(()=>{})}wt(z);function L(n){if(!n)return"Never";const c=new Date(n);if(Number.isNaN(c.getTime()))return n;const f=b=>String(b).padStart(2,"0");return`${c.getFullYear()}-${f(c.getMonth()+1)}-${f(c.getDate())} ${f(c.getHours())}:${f(c.getMinutes())}`}function p(){s(A,""),s(j,""),s(S,!1)}function M(){s(D,""),s(W,[],!0),s(v,""),s(ve,null),s(xe,null),p(),s(K,!0)}function H(){s(K,!1),p()}async function O(n){s(Z,!0),s(xe,null),s(ve,null);try{const c=await fetch("/api/vault",{method:"POST",headers:{"content-type":"application/json",[jt]:ct.data.sessionToken},body:JSON.stringify(n)}),f=await c.json().catch(()=>null);return c.ok?(f?.secrets&&s(x,{secrets:f.secrets,at:Date.parse(f.observedAt??"")||Date.now()},!0),s(ve,f?.message??"Done.",!0),!0):(s(xe,f?.message??`Wheelhouse could not do that (${c.status}).`,!0),c.status===503&&z(),!1)}catch{return s(xe,"Wheelhouse could not be reached. Try again."),!1}finally{s(Z,!1)}}async function F(n){if(n.preventDefault(),!Yt.test(e(D))){s(v,"Use letters, digits and underscores, not starting with a digit, like VERCEL_TOKEN.");return}if(!e(A))return;const c={action:"set",name:e(D),value:e(A),projects:e(W)};s(A,""),s(S,!1),await O(c)&&(s(K,!1),s(C,e(D),!0))}async function B(n,c){if(n.preventDefault(),!e(j))return;const f={action:"set",name:c.name,value:e(j),projects:[]};s(j,""),s(S,!1),await O(f)&&s(ue,null)}async function le(n,c,f,b){await O({action:f?"grant":"revoke",name:n.name,projects:[c]})||(b.checked=!f)}async function I(n){await O({action:"remove",name:n.name})&&(s(ne,null),s(C,null))}function de(n){s(C,e(C)===n?null:n,!0),s(ne,null),s(ue,null),p()}var Fe=Fr(),tt=ae(Fe),ot=y(tt),ft=E(ot),Ye=o(ot,2);{var mt=n=>{{let c=re(()=>e(Z)||e(R));Me(n,{onclick:M,get disabled(){return e(c)},children:(f,b)=>{Se();var J=be("Add a secret");r(f,J)},$$slots:{default:!0}})}};$(Ye,n=>{e(P).length&&!e(K)&&n(mt)})}u(tt);var st=o(tt,2);{var _=n=>{var c=wr(),f=E(c,!0);w(()=>h(f,e(N)?.reason??"The vault cannot store a secret on this computer.")),r(n,c)};$(st,n=>{e(R)&&n(_)})}var U=o(st,2);{var oe=n=>{var c=kr(),f=E(c,!0);w(()=>h(f,e(ve))),r(n,c)};$(U,n=>{e(ve)&&n(oe)})}var pe=o(U,2);{var Re=n=>{var c=jr(),f=E(c,!0);w(()=>h(f,e(xe))),r(n,c)};$(pe,n=>{e(xe)&&n(Re)})}var fe=o(pe,2);{var Ee=n=>{var c=Sr(),f=E(c,!0);w(()=>h(f,e(T).problem)),r(n,c)};$(fe,n=>{e(T).problem&&n(Ee)})}var he=o(fe,2);{var X=n=>{var c=Tr(),f=o(y(c),4),b=y(f),J=o(y(b),2);xt(J);var d=o(J,2);{var k=Y=>{var je=Mr(),Ce=E(je,!0);w(()=>h(Ce,e(v))),r(Y,je)},q=Y=>{var je=Er();r(Y,je)};$(d,Y=>{e(v)?Y(k):Y(q,-1)})}u(b);var se=o(b,2),me=o(y(se),2);m(me,()=>"vault-value",()=>()=>e(A),()=>Y=>s(A,Y,!0));var ee=o(me,2),Le=y(ee);Xt(Le,{class:"mt-px size-3.5 shrink-0"});var Ue=o(Le);u(ee),u(se);var te=o(se,2),_e=o(y(te),4);g(_e,()=>"Projects that may use it",()=>e(W),()=>(Y,je)=>{s(W,je?[...e(W),Y]:e(W).filter(Ce=>Ce!==Y),!0)}),u(te);var ze=o(te,2),ke=y(ze);{let Y=re(()=>e(Z)||!e(D)||!e(A)||e(R));Me(ke,{type:"submit",get disabled(){return e(Y)},children:(je,Ce)=>{Se();var Xe=be("Store secret");r(je,Xe)},$$slots:{default:!0}})}var Ve=o(ke,2);Me(Ve,{type:"button",variant:"outline",get disabled(){return e(Z)},onclick:H,children:(Y,je)=>{Se();var Ce=be("Cancel");r(Y,Ce)},$$slots:{default:!0}}),u(ze),u(f),u(c),w(Y=>{J.disabled=e(Z),ie(J,"aria-invalid",e(v)?"true":void 0),h(Ue,` Goes straight into ${Y??""}. Wheelhouse cannot show it again.`)},[()=>_t(e(N))]),kt("submit",f,F),rt("input",J,()=>s(v,"")),Zt(J,()=>e(D),Y=>s(D,Y)),r(n,c)};$(he,n=>{e(K)&&n(X)})}var G=o(he,2);{var Q=n=>{var c=zr(),f=y(c);St(f,{class:"size-6 text-brass","aria-hidden":"true"});var b=o(f,6);{let J=re(()=>e(Z)||e(R));Me(b,{class:"mt-5",onclick:M,get disabled(){return e(J)},children:(d,k)=>{Se();var q=be("Add a secret");r(d,q)},$$slots:{default:!0}})}u(c),r(n,c)},ce=n=>{var c=Lr();$e(c,21,()=>e(P),f=>f.name,(f,b)=>{var J=Dr(),d=y(J),k=y(d);St(k,{class:"size-4 shrink-0 text-brass","aria-hidden":"true"});var q=o(k,2),se=E(q,!0),me=o(q,2);$e(me,20,()=>e(b).projects,te=>te,(te,_e)=>{var ze=Pr(),ke=E(ze,!0);w(()=>h(ke,_e)),r(te,ze)},te=>{var _e=Ar();r(te,_e)}),u(me);var ee=o(me,2);{let te=re(()=>e(C)===e(b).name?"rotate-90":"");Qt(ee,{get class(){return`size-4 shrink-0 text-muted-foreground transition-transform ${e(te)??""}`},"aria-hidden":"true"})}u(d);var Le=o(d,2);{var Ue=te=>{var _e=$r(),ze=y(_e),ke=o(y(ze),2);g(ke,()=>`Projects that may use ${e(b).name}`,()=>e(b).projects,()=>(Pe,ye,Ae)=>le(e(b),Pe,ye,Ae));var Ve=o(ke,2),Y=E(Ve,!0);u(ze);var je=o(ze,2),Ce=y(je),Xe=y(Ce),Oe=o(Xe,2);u(Ce);var Ie=o(Ce,2);{var pt=Pe=>{var ye=Nr(),Ae=o(y(ye),2);m(Ae,()=>"vault-replace",()=>()=>e(j),()=>Ne=>s(j,Ne,!0));var Be=o(Ae,2),qe=y(Be);{let Ne=re(()=>e(Z)||!e(j));Me(qe,{type:"submit",size:"sm",get disabled(){return e(Ne)},children:(Je,it)=>{Se();var Ze=be("Replace");r(Je,Ze)},$$slots:{default:!0}})}var Qe=o(qe,2);Me(Qe,{type:"button",size:"sm",variant:"outline",get disabled(){return e(Z)},onclick:()=>{s(ue,null),p()},children:(Ne,Je)=>{Se();var it=be("Cancel");r(Ne,it)},$$slots:{default:!0}}),u(Be),u(ye),kt("submit",ye,Ne=>B(Ne,e(b))),r(Pe,ye)},ht=Pe=>{var ye=Rr(),Ae=ae(ye),Be=o(y(Ae)),qe=E(Be,!0),Qe=o(Be);u(Ae);var Ne=o(Ae,2),Je=y(Ne);Me(Je,{size:"sm",variant:"destructive",get disabled(){return e(Z)},onclick:()=>I(e(b)),children:(Ze,$t)=>{Se();var gt=be("Remove");r(Ze,gt)},$$slots:{default:!0}});var it=o(Je,2);Me(it,{size:"sm",variant:"outline",get disabled(){return e(Z)},onclick:()=>s(ne,null),children:(Ze,$t)=>{Se();var gt=be("Keep it");r(Ze,gt)},$$slots:{default:!0}}),u(Ne),w(Ze=>{h(qe,e(b).name),h(Qe,`? Its value is deleted from ${Ze??""} and every project loses it. This cannot be undone.`)},[()=>_t(e(N))]),r(Pe,ye)},Ct=Pe=>{var ye=Cr(),Ae=y(ye);{let qe=re(()=>e(Z)||e(R));Me(Ae,{size:"sm",variant:"outline",get disabled(){return e(qe)},onclick:()=>{s(ue,e(b).name,!0),s(ve,null)},children:(Qe,Ne)=>{Se();var Je=be("Replace value");r(Qe,Je)},$$slots:{default:!0}})}var Be=o(Ae,2);Me(Be,{size:"sm",variant:"ghost",class:"text-danger hover:text-danger",get disabled(){return e(Z)},onclick:()=>s(ne,e(b).name,!0),children:(qe,Qe)=>{Se();var Ne=be("Remove…");r(qe,Ne)},$$slots:{default:!0}}),u(ye),r(Pe,ye)};$(Ie,Pe=>{e(ue)===e(b).name?Pe(pt):e(ne)===e(b).name?Pe(ht,1):Pe(Ct,-1)})}u(je),u(_e),w((Pe,ye,Ae)=>{ie(_e,"id",`vault-${e(b).name??""}`),h(Y,Pe),h(Xe,`Value set ${ye??""}`),h(Oe,`Last used ${Ae??""}`)},[()=>e(b).projects.length?`A command ${Gt(e(b).projects)} ${e(b).projects.length===1?"runs":"run"} through the vault gets it in its environment, that command only.`:"No project can use it until you tick one.",()=>L(e(b).updatedAt),()=>L(e(b).lastUsedAt)]),r(te,_e)};$(Le,te=>{e(C)===e(b).name&&te(Ue)})}u(J),w(()=>{ie(d,"aria-expanded",e(C)===e(b).name),ie(d,"aria-controls",`vault-${e(b).name??""}`),h(se,e(b).name)}),rt("click",d,()=>de(e(b).name)),r(f,J)}),u(c),r(n,c)};$(G,n=>{!e(P).length&&!e(K)?n(Q):e(P).length&&n(ce,1)})}var we=o(G,2);{var Te=n=>{var c=Wr(),f=o(ae(c),2),b=y(f),J=o(y(b));$e(J,21,()=>e(T).used,Ke,(d,k)=>{var q=Ir(),se=y(q),me=E(se,!0),ee=o(se),Le=y(ee);{var Ue=Oe=>{var Ie=Or(),pt=E(Ie,!0);w(ht=>{ie(Ie,"href",`/tasks/${ht??""}`),h(pt,e(k).task)},[()=>encodeURIComponent(e(k).task)]),r(Oe,Ie)},te=Oe=>{var Ie=be();w(()=>h(Ie,e(k).task??"—")),r(Oe,Ie)};$(Le,Oe=>{e(k).task&&e(k).taskKnown?Oe(Ue):Oe(te,-1)})}u(ee);var _e=o(ee),ze=E(_e,!0),ke=o(_e),Ve=E(ke,!0),Y=o(ke),je=E(Y,!0),Ce=o(Y),Xe=E(Ce,!0);u(q),w((Oe,Ie)=>{h(me,Oe),h(ze,e(k).project??"—"),h(Ve,Ie),h(je,e(k).program??"—"),h(Xe,e(k).result)},[()=>L(e(k).at),()=>e(k).names.join(", ")||"—"]),r(d,q)}),u(J),u(b),u(f),r(n,c)};$(we,n=>{e(T).used.length&&n(Te)})}w(n=>h(ft,`Secrets your projects can use by name. Values stay in ${n??""}; Wheelhouse never
1
+ import"./DsnmJJEf.js";import{o as zt}from"./B42VotjV.js";import{p as ut,i as V,j as Dt,u as wt,f as ae,e as y,o as E,s as o,g as e,r as u,t as w,a as r,b as vt,h as re,m as s,n as Se,A as be,c as i,q as He,y as We,k as Lt,v as Ot,w as It}from"./CEfkcOME.js";import{d as Wt,s as h,e as kt,a as rt,l as Ft}from"./CPPNfCxh.js";import{i as $}from"./D4ikcNuh.js";import{k as Ut}from"./D5xbT1cY.js";import{c as Ht}from"./CGbw525c.js";import{r as xt,s as ie,e as $e,f as Ke,c as Vt,a as qt,d as De,k as Kt,h as Bt}from"./BMjXQSgN.js";import{s as Pt,r as At,p as at}from"./D42BPZCD.js";import{a as Jt}from"./WRwU91GU.js";import{b as Zt}from"./B6yYMcjx.js";import{p as ct}from"./CjDEH2t9.js";import{S as jt}from"./BXN538J3.js";import{s as _t,a as Gt,S as Yt}from"./C14pDzYB.js";import{B as Me}from"./D4Okmn3b.js";import{L as Xt}from"./Cb5RrIpk.js";import{K as St}from"./56FYNR0s.js";import{C as Qt}from"./iInrZOCY.js";import{I as Nt}from"./DBuj1e9B.js";import{E as er}from"./CUX8nq8d.js";import{b as yt}from"./DKCbih8n.js";import{a as bt}from"./D8swcNrI.js";import{s as tr}from"./CPV8trsz.js";import{l as Mt,e as rr}from"./C9b5_KhQ.js";import{L as Rt}from"./BMEfZRmb.js";import{P as ar}from"./C0oq3sur.js";import{C as nr}from"./DjjMMxuF.js";import{C as or}from"./BftdAJED.js";import{X as sr}from"./C6E-ekUK.js";import{C as ir}from"./BkDaGfWb.js";import{C as lr}from"./L6sq18qu.js";import{E as dr}from"./BexGUSY7.js";import{P as cr}from"./B_GB-3Er.js";const ur=/https?:\/\/[^\s<>"'`]+/g,vr=/[.,;:!?)\]}'"*]+$/;function fr(a){return[...a.matchAll(ur)].map(t=>t[0].replace(vr,""))}var mr=new Set(["$$slots","$$events","$$legacy"]);function pr(a,t){let m=At(t,mr);const g={name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"}],["path",{d:"m2 2 20 20"}]]};Nt(a,Pt(()=>m,{get icon(){return g}}))}var hr=new Set(["$$slots","$$events","$$legacy"]);function gr(a,t){let m=At(t,hr);const g={name:"minimize-2",size:24,node:[["path",{d:"m14 10 7-7"}],["path",{d:"M20 10h-6V4"}],["path",{d:"m3 21 7-7"}],["path",{d:"M4 14h6v6"}]]};Nt(a,Pt(()=>m,{get icon(){return g}}))}var xr=i('<div class="relative"><input autocomplete="off" autocapitalize="off" spellcheck="false" data-1p-ignore="" data-lpignore="true" class="h-10 w-full rounded-md border border-input bg-background px-3 pr-10 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60"/> <button type="button" class="absolute inset-y-0 right-0 flex w-10 items-center justify-center rounded-r-md text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"><!></button></div>'),_r=i('<label class="flex min-w-0 items-center gap-2 text-sm"><input type="checkbox" class="size-4 shrink-0 accent-[var(--sea)]"/> <span class="truncate"> </span></label>'),yr=i('<div class="grid gap-x-6 gap-y-2 sm:grid-cols-2" role="group"></div>'),br=i('<p class="text-sm text-muted-foreground">Wheelhouse knows no projects yet.</p>'),wr=i('<p class="mt-5 rounded-md border border-warning/40 bg-warning/5 px-4 py-2.5 text-sm" role="alert" data-vault-unavailable=""> </p>'),kr=i('<p class="mt-5 rounded-md border border-success/40 bg-success/5 px-4 py-2.5 text-sm" role="status"> </p>'),jr=i('<p class="mt-5 rounded-md border border-danger/40 bg-danger/5 px-4 py-2.5 text-sm" role="alert"> </p>'),Sr=i('<p class="mt-5 text-sm text-muted-foreground"> </p>'),Mr=i('<p id="vault-name-help" class="text-sm text-danger" role="alert"> </p>'),Er=i('<p id="vault-name-help" class="text-xs text-muted-foreground">The environment variable a command receives it as: letters, digits and underscores.</p>'),Tr=i('<section class="mt-6 rounded-lg border border-hair bg-background/60 px-5 py-5" aria-labelledby="vault-add"><h2 id="vault-add" class="font-display text-lg">Add a secret</h2> <p class="mt-0.5 mb-5 text-xs text-muted-foreground">Storing a name that already exists replaces its value.</p> <form class="grid gap-5"><div class="grid max-w-md gap-1.5"><label for="vault-name" class="text-sm font-medium">Name</label> <input id="vault-name" autocomplete="off" autocapitalize="characters" spellcheck="false" placeholder="VERCEL_TOKEN" aria-describedby="vault-name-help" class="h-10 w-full rounded-md border border-input bg-background px-3 font-mono text-sm outline-none placeholder:text-muted-foreground/60 focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60 aria-invalid:border-danger"/> <!></div> <div class="grid max-w-md gap-1.5"><label for="vault-value" class="text-sm font-medium">Value</label> <!> <p class="flex items-start gap-1.5 text-xs text-muted-foreground"><!> </p></div> <div class="grid gap-2"><p class="text-sm font-medium">Projects that may use it</p> <p class="-mt-1 mb-1 text-xs text-muted-foreground">Optional. You can change this any time.</p> <!></div> <div class="flex flex-wrap gap-2"><!> <!></div></form></section>'),zr=i('<div class="mt-6 rounded-lg border border-dashed px-6 py-10"><!> <p class="mt-3 font-display text-lg">The vault is empty</p> <p class="mt-1 max-w-prose text-sm text-muted-foreground">Add the tokens and keys your projects need. The crew uses them by name and never sees a value.</p> <!></div>'),Pr=i('<span class="rounded border border-hair px-1.5 py-0.5 text-xs"> </span>'),Ar=i('<span class="text-xs text-muted-foreground">No project yet</span>'),Nr=i('<form class="grid gap-2"><label for="vault-replace" class="text-xs font-medium">New value</label> <!> <div class="flex flex-wrap gap-2"><!> <!></div></form>'),Rr=i('<p>Remove <span class="font-mono"> </span> </p> <div class="flex flex-wrap gap-2"><!> <!></div>',1),Cr=i('<div class="flex flex-wrap gap-2"><!> <!></div>'),$r=i('<div class="grid gap-6 px-1 pt-1 pb-5 sm:grid-cols-[minmax(0,1fr)_minmax(0,18rem)] sm:pl-9"><div><p class="mb-2 text-sm font-medium">Projects that may use it</p> <!> <p class="mt-3 text-xs text-muted-foreground"> </p></div> <div class="grid content-start gap-3 text-sm"><p class="tabular text-xs text-muted-foreground"> <br/> </p> <!></div></div>'),Dr=i('<li><button class="flex min-h-12 w-full items-center gap-4 px-1 py-3 text-left outline-none hover:bg-muted/50 focus-visible:ring-2 focus-visible:ring-ring"><!> <span class="min-w-0 flex-1 truncate font-mono text-sm font-medium"> </span> <span class="hidden min-w-0 flex-wrap justify-end gap-1.5 sm:flex"></span> <!></button> <!></li>'),Lr=i('<ul class="mt-6 divide-y divide-hair border-y border-hair" aria-label="Secrets"></ul>'),Or=i('<a class="text-sea hover:underline"> </a>'),Ir=i('<tr><td class="tabular py-2 pr-4 whitespace-nowrap"> </td><td class="py-2 pr-4"><!></td><td class="py-2 pr-4"> </td><td class="py-2 pr-4 font-mono text-xs"> </td><td class="py-2 pr-4"> </td><td class="py-2"> </td></tr>'),Wr=i('<h2 class="section-label mt-10">Recent use</h2> <div class="mt-3 no-scrollbar overflow-x-auto"><table class="w-full text-sm"><thead class="text-left text-xs text-muted-foreground"><tr class="border-b border-hair"><th class="py-2 pr-4 font-medium">When</th><th class="py-2 pr-4 font-medium">Task</th><th class="py-2 pr-4 font-medium">Project</th><th class="py-2 pr-4 font-medium">Secrets</th><th class="py-2 pr-4 font-medium">Command</th><th class="py-2 font-medium">Result</th></tr></thead><tbody class="divide-y divide-hair"></tbody></table></div>',1),Fr=i('<div class="flex flex-wrap items-start justify-between gap-4"><p class="max-w-prose text-sm text-muted-foreground"> </p> <!></div> <!> <!> <!> <!> <!> <!> <!>',1);function Ur(a,t){ut(t,!0);const m=(n,c=He,f=He,b=He)=>{var J=xr(),d=y(J);xt(d);var k=o(d,2),q=y(k);{var se=ee=>{pr(ee,{class:"size-4"})},me=ee=>{er(ee,{class:"size-4"})};$(q,ee=>{e(S)?ee(se):ee(me,-1)})}u(k),u(J),w(ee=>{ie(d,"id",c()),ie(d,"type",e(S)?"text":"password"),Vt(d,ee),d.disabled=e(Z),ie(k,"aria-label",e(S)?"Hide what you typed":"Show what you typed"),ie(k,"aria-pressed",e(S))},[()=>f()()]),rt("input",d,ee=>b()(ee.currentTarget.value)),rt("click",k,()=>s(S,!e(S))),r(n,J)},g=(n,c=He,f=He,b=He)=>{var J=We(),d=ae(J);{var k=se=>{var me=yr();$e(me,20,()=>e(l),ee=>ee,(ee,Le)=>{var Ue=_r(),te=y(Ue);xt(te);var _e=o(te,2),ze=E(_e,!0);u(Ue),w(ke=>{qt(te,ke),te.disabled=e(Z),h(ze,Le)},[()=>f().includes(Le)]),rt("change",te,ke=>{const Ve=ke.currentTarget;b()(Le,Ve.checked,Ve)}),r(ee,Ue)}),u(me),w(()=>ie(me,"aria-label",c())),r(se,me)},q=se=>{var me=br();r(se,me)};$(d,se=>{e(l).length?se(k):se(q,-1)})}r(n,J)},T=re(()=>t.data);let x=V(null);const P=re(()=>{const n=t.entry.content.available?Date.parse(t.entry.content.observedAt??""):NaN;return e(x)&&!(n>e(x).at)?e(x).secrets:e(T).secrets}),l=re(()=>{const n=(ct.data.fleet?.projects??[]).map(f=>f.id),c=e(P).flatMap(f=>f.projects).filter(f=>!n.includes(f));return[...n,...[...new Set(c)].sort()]});let C=V(null),K=V(!1),ue=V(null),ne=V(null),Z=V(!1),ve=V(null),xe=V(null),D=V(""),A=V(""),W=V(Dt([])),S=V(!1),v=V(""),j=V(""),N=V(null);const R=re(()=>e(N)?.canStore===!1);function z(){fetch("/api/vault").then(n=>n.ok?n.json():null).then(n=>{n&&s(N,n,!0)}).catch(()=>{})}wt(z);function L(n){if(!n)return"Never";const c=new Date(n);if(Number.isNaN(c.getTime()))return n;const f=b=>String(b).padStart(2,"0");return`${c.getFullYear()}-${f(c.getMonth()+1)}-${f(c.getDate())} ${f(c.getHours())}:${f(c.getMinutes())}`}function p(){s(A,""),s(j,""),s(S,!1)}function M(){s(D,""),s(W,[],!0),s(v,""),s(ve,null),s(xe,null),p(),s(K,!0)}function H(){s(K,!1),p()}async function O(n){s(Z,!0),s(xe,null),s(ve,null);try{const c=await fetch("/api/vault",{method:"POST",headers:{"content-type":"application/json",[jt]:ct.data.sessionToken},body:JSON.stringify(n)}),f=await c.json().catch(()=>null);return c.ok?(f?.secrets&&s(x,{secrets:f.secrets,at:Date.parse(f.observedAt??"")||Date.now()},!0),s(ve,f?.message??"Done.",!0),!0):(s(xe,f?.message??`Wheelhouse could not do that (${c.status}).`,!0),c.status===503&&z(),!1)}catch{return s(xe,"Wheelhouse could not be reached. Try again."),!1}finally{s(Z,!1)}}async function F(n){if(n.preventDefault(),!Yt.test(e(D))){s(v,"Use letters, digits and underscores, not starting with a digit, like VERCEL_TOKEN.");return}if(!e(A))return;const c={action:"set",name:e(D),value:e(A),projects:e(W)};s(A,""),s(S,!1),await O(c)&&(s(K,!1),s(C,e(D),!0))}async function B(n,c){if(n.preventDefault(),!e(j))return;const f={action:"set",name:c.name,value:e(j),projects:[]};s(j,""),s(S,!1),await O(f)&&s(ue,null)}async function le(n,c,f,b){await O({action:f?"grant":"revoke",name:n.name,projects:[c]})||(b.checked=!f)}async function I(n){await O({action:"remove",name:n.name})&&(s(ne,null),s(C,null))}function de(n){s(C,e(C)===n?null:n,!0),s(ne,null),s(ue,null),p()}var Fe=Fr(),tt=ae(Fe),ot=y(tt),ft=E(ot),Ye=o(ot,2);{var mt=n=>{{let c=re(()=>e(Z)||e(R));Me(n,{onclick:M,get disabled(){return e(c)},children:(f,b)=>{Se();var J=be("Add a secret");r(f,J)},$$slots:{default:!0}})}};$(Ye,n=>{e(P).length&&!e(K)&&n(mt)})}u(tt);var st=o(tt,2);{var _=n=>{var c=wr(),f=E(c,!0);w(()=>h(f,e(N)?.reason??"The vault cannot store a secret on this computer.")),r(n,c)};$(st,n=>{e(R)&&n(_)})}var U=o(st,2);{var oe=n=>{var c=kr(),f=E(c,!0);w(()=>h(f,e(ve))),r(n,c)};$(U,n=>{e(ve)&&n(oe)})}var pe=o(U,2);{var Re=n=>{var c=jr(),f=E(c,!0);w(()=>h(f,e(xe))),r(n,c)};$(pe,n=>{e(xe)&&n(Re)})}var fe=o(pe,2);{var Ee=n=>{var c=Sr(),f=E(c,!0);w(()=>h(f,e(T).problem)),r(n,c)};$(fe,n=>{e(T).problem&&n(Ee)})}var he=o(fe,2);{var X=n=>{var c=Tr(),f=o(y(c),4),b=y(f),J=o(y(b),2);xt(J);var d=o(J,2);{var k=Y=>{var je=Mr(),Ce=E(je,!0);w(()=>h(Ce,e(v))),r(Y,je)},q=Y=>{var je=Er();r(Y,je)};$(d,Y=>{e(v)?Y(k):Y(q,-1)})}u(b);var se=o(b,2),me=o(y(se),2);m(me,()=>"vault-value",()=>()=>e(A),()=>Y=>s(A,Y,!0));var ee=o(me,2),Le=y(ee);Xt(Le,{class:"mt-px size-3.5 shrink-0"});var Ue=o(Le);u(ee),u(se);var te=o(se,2),_e=o(y(te),4);g(_e,()=>"Projects that may use it",()=>e(W),()=>(Y,je)=>{s(W,je?[...e(W),Y]:e(W).filter(Ce=>Ce!==Y),!0)}),u(te);var ze=o(te,2),ke=y(ze);{let Y=re(()=>e(Z)||!e(D)||!e(A)||e(R));Me(ke,{type:"submit",get disabled(){return e(Y)},children:(je,Ce)=>{Se();var Xe=be("Store secret");r(je,Xe)},$$slots:{default:!0}})}var Ve=o(ke,2);Me(Ve,{type:"button",variant:"outline",get disabled(){return e(Z)},onclick:H,children:(Y,je)=>{Se();var Ce=be("Cancel");r(Y,Ce)},$$slots:{default:!0}}),u(ze),u(f),u(c),w(Y=>{J.disabled=e(Z),ie(J,"aria-invalid",e(v)?"true":void 0),h(Ue,` Goes straight into ${Y??""}. Wheelhouse cannot show it again.`)},[()=>_t(e(N))]),kt("submit",f,F),rt("input",J,()=>s(v,"")),Zt(J,()=>e(D),Y=>s(D,Y)),r(n,c)};$(he,n=>{e(K)&&n(X)})}var G=o(he,2);{var Q=n=>{var c=zr(),f=y(c);St(f,{class:"size-6 text-brass","aria-hidden":"true"});var b=o(f,6);{let J=re(()=>e(Z)||e(R));Me(b,{class:"mt-5",onclick:M,get disabled(){return e(J)},children:(d,k)=>{Se();var q=be("Add a secret");r(d,q)},$$slots:{default:!0}})}u(c),r(n,c)},ce=n=>{var c=Lr();$e(c,21,()=>e(P),f=>f.name,(f,b)=>{var J=Dr(),d=y(J),k=y(d);St(k,{class:"size-4 shrink-0 text-brass","aria-hidden":"true"});var q=o(k,2),se=E(q,!0),me=o(q,2);$e(me,20,()=>e(b).projects,te=>te,(te,_e)=>{var ze=Pr(),ke=E(ze,!0);w(()=>h(ke,_e)),r(te,ze)},te=>{var _e=Ar();r(te,_e)}),u(me);var ee=o(me,2);{let te=re(()=>e(C)===e(b).name?"rotate-90":"");Qt(ee,{get class(){return`size-4 shrink-0 text-muted-foreground transition-transform ${e(te)??""}`},"aria-hidden":"true"})}u(d);var Le=o(d,2);{var Ue=te=>{var _e=$r(),ze=y(_e),ke=o(y(ze),2);g(ke,()=>`Projects that may use ${e(b).name}`,()=>e(b).projects,()=>(Pe,ye,Ae)=>le(e(b),Pe,ye,Ae));var Ve=o(ke,2),Y=E(Ve,!0);u(ze);var je=o(ze,2),Ce=y(je),Xe=y(Ce),Oe=o(Xe,2);u(Ce);var Ie=o(Ce,2);{var pt=Pe=>{var ye=Nr(),Ae=o(y(ye),2);m(Ae,()=>"vault-replace",()=>()=>e(j),()=>Ne=>s(j,Ne,!0));var Be=o(Ae,2),qe=y(Be);{let Ne=re(()=>e(Z)||!e(j));Me(qe,{type:"submit",size:"sm",get disabled(){return e(Ne)},children:(Je,it)=>{Se();var Ze=be("Replace");r(Je,Ze)},$$slots:{default:!0}})}var Qe=o(qe,2);Me(Qe,{type:"button",size:"sm",variant:"outline",get disabled(){return e(Z)},onclick:()=>{s(ue,null),p()},children:(Ne,Je)=>{Se();var it=be("Cancel");r(Ne,it)},$$slots:{default:!0}}),u(Be),u(ye),kt("submit",ye,Ne=>B(Ne,e(b))),r(Pe,ye)},ht=Pe=>{var ye=Rr(),Ae=ae(ye),Be=o(y(Ae)),qe=E(Be,!0),Qe=o(Be);u(Ae);var Ne=o(Ae,2),Je=y(Ne);Me(Je,{size:"sm",variant:"destructive",get disabled(){return e(Z)},onclick:()=>I(e(b)),children:(Ze,$t)=>{Se();var gt=be("Remove");r(Ze,gt)},$$slots:{default:!0}});var it=o(Je,2);Me(it,{size:"sm",variant:"outline",get disabled(){return e(Z)},onclick:()=>s(ne,null),children:(Ze,$t)=>{Se();var gt=be("Keep it");r(Ze,gt)},$$slots:{default:!0}}),u(Ne),w(Ze=>{h(qe,e(b).name),h(Qe,`? Its value is deleted from ${Ze??""} and every project loses it. This cannot be undone.`)},[()=>_t(e(N))]),r(Pe,ye)},Ct=Pe=>{var ye=Cr(),Ae=y(ye);{let qe=re(()=>e(Z)||e(R));Me(Ae,{size:"sm",variant:"outline",get disabled(){return e(qe)},onclick:()=>{s(ue,e(b).name,!0),s(ve,null)},children:(Qe,Ne)=>{Se();var Je=be("Replace value");r(Qe,Je)},$$slots:{default:!0}})}var Be=o(Ae,2);Me(Be,{size:"sm",variant:"ghost",class:"text-danger hover:text-danger",get disabled(){return e(Z)},onclick:()=>s(ne,e(b).name,!0),children:(qe,Qe)=>{Se();var Ne=be("Remove…");r(qe,Ne)},$$slots:{default:!0}}),u(ye),r(Pe,ye)};$(Ie,Pe=>{e(ue)===e(b).name?Pe(pt):e(ne)===e(b).name?Pe(ht,1):Pe(Ct,-1)})}u(je),u(_e),w((Pe,ye,Ae)=>{ie(_e,"id",`vault-${e(b).name??""}`),h(Y,Pe),h(Xe,`Value set ${ye??""}`),h(Oe,`Last used ${Ae??""}`)},[()=>e(b).projects.length?`A command ${Gt(e(b).projects)} ${e(b).projects.length===1?"runs":"run"} through the vault gets it in its environment, that command only.`:"No project can use it until you tick one.",()=>L(e(b).updatedAt),()=>L(e(b).lastUsedAt)]),r(te,_e)};$(Le,te=>{e(C)===e(b).name&&te(Ue)})}u(J),w(()=>{ie(d,"aria-expanded",e(C)===e(b).name),ie(d,"aria-controls",`vault-${e(b).name??""}`),h(se,e(b).name)}),rt("click",d,()=>de(e(b).name)),r(f,J)}),u(c),r(n,c)};$(G,n=>{!e(P).length&&!e(K)?n(Q):e(P).length&&n(ce,1)})}var we=o(G,2);{var Te=n=>{var c=Wr(),f=o(ae(c),2),b=y(f),J=o(y(b));$e(J,21,()=>e(T).used,Ke,(d,k)=>{var q=Ir(),se=y(q),me=E(se,!0),ee=o(se),Le=y(ee);{var Ue=Oe=>{var Ie=Or(),pt=E(Ie,!0);w(ht=>{ie(Ie,"href",`/tasks/${ht??""}`),h(pt,e(k).task)},[()=>encodeURIComponent(e(k).task)]),r(Oe,Ie)},te=Oe=>{var Ie=be();w(()=>h(Ie,e(k).task??"—")),r(Oe,Ie)};$(Le,Oe=>{e(k).task&&e(k).taskKnown?Oe(Ue):Oe(te,-1)})}u(ee);var _e=o(ee),ze=E(_e,!0),ke=o(_e),Ve=E(ke,!0),Y=o(ke),je=E(Y,!0),Ce=o(Y),Xe=E(Ce,!0);u(q),w((Oe,Ie)=>{h(me,Oe),h(ze,e(k).project??"—"),h(Ve,Ie),h(je,e(k).program??"—"),h(Xe,e(k).result)},[()=>L(e(k).at),()=>e(k).names.join(", ")||"—"]),r(d,q)}),u(J),u(b),u(f),r(n,c)};$(we,n=>{e(T).used.length&&n(Te)})}w(n=>h(ft,`Secrets your projects can use by name. Values stay in ${n??""}; Wheelhouse never
2
2
  shows one.`),[()=>_t(e(N))]),r(a,Fe),vt()}Wt(["input","click","change"]);const Hr={"vault/overview":Ur},Vr="2026-01-26";class ge extends Error{constructor(t,m){super(m),this.code=t}code}const qr=-32601,et=-32602,Ge=-32e3,Kr=a=>typeof a=="string"&&a.length<=128||typeof a=="number"&&Number.isFinite(a);function Br(a){if(typeof a!="object"||a===null||Array.isArray(a))return null;const t=a;return t.jsonrpc!=="2.0"||t.method!==void 0&&(typeof t.method!="string"||t.method.length>128)||t.id!==void 0&&!Kr(t.id)||t.method===void 0&&t.id===void 0?null:t}class Jr{constructor(t){this.o=t}o;next=1;pending=new Map;closed=!1;receive(t){if(this.closed)return;const m=Br(t);if(m){if(m.method!==void 0&&m.id!==void 0)this.answer(m.id,m.method,m.params);else if(m.method!==void 0)try{this.o.onNotification(m.method,m.params)}catch{}else if(m.id!==void 0){const g=this.pending.get(m.id);if(!g)return;this.pending.delete(m.id),clearTimeout(g.timer),m.error?g.reject(new ge(m.error.code,String(m.error.message))):g.resolve(m.result)}}}async answer(t,m,g){let T;try{const x=await this.o.onRequest(m,g);T={jsonrpc:"2.0",id:t,result:x??{}}}catch(x){const P=x instanceof ge?x:new ge(Ge,x instanceof Error?x.message:String(x));T={jsonrpc:"2.0",id:t,error:{code:P.code,message:P.message}}}this.closed||this.o.send(T)}request(t,m,g=1e4){if(this.closed)return Promise.reject(new Error("The app is closed."));const T=this.next++;return new Promise((x,P)=>{const l=setTimeout(()=>{this.pending.delete(T),P(new Error(`The app did not answer ${t}.`))},g);this.pending.set(T,{resolve:x,reject:P,timer:l}),this.o.send({jsonrpc:"2.0",id:T,method:t,params:m})})}notify(t,m){this.closed||this.o.send({jsonrpc:"2.0",method:t,params:m})}close(){this.closed=!0;for(const t of this.pending.values())clearTimeout(t.timer),t.reject(new Error("The app is closed."));this.pending.clear()}}const dt=a=>typeof a=="object"&&a!==null&&!Array.isArray(a)?a:{},Zr=16*1024;function Gr(a,t,m){return async(g,T)=>{const x=dt(T);switch(g){case"ui/initialize":return{protocolVersion:Vr,hostInfo:t,hostCapabilities:m,hostContext:a.context()};case"ping":return{};case"tools/call":{if(typeof x.name!="string"||!x.name)throw new ge(et,"Name the tool to call.");return a.callTool(x.name,dt(x.arguments))}case"resources/read":{if(typeof x.uri!="string"||!x.uri)throw new ge(et,"Name the resource to read.");return a.readResource(x.uri)}case"ui/open-link":{let P;try{P=new URL(String(x.url))}catch{throw new ge(et,"Invalid URL")}if(P.protocol!=="http:"&&P.protocol!=="https:")throw new ge(Ge,"Policy violation: only http(s) links open.");return a.openLink(P.href),{}}case"ui/message":{const l=(Array.isArray(x.content)?x.content:[x.content]).map(C=>dt(C)).filter(C=>C.type==="text"&&typeof C.text=="string").map(C=>C.text).join(`
3
3
 
4
4
  `).trim();if(!l)throw new ge(et,"Invalid message format: no text.");if(l.length>Zr)throw new ge(et,"The message is too long.");if(!await a.sendMessage(l))throw new ge(Ge,"Message sending denied");return{}}case"ui/request-display-mode":{const P=x.mode;if(P!=="inline"&&P!=="fullscreen"&&P!=="pip")throw new ge(et,"Unknown display mode.");return{mode:await a.displayMode(P)}}default:throw new ge(qr,`Wheelhouse does not offer ${g}.`)}}}function Yr(a){return(t,m)=>{const g=dt(m),T=x=>typeof x=="number"&&Number.isFinite(x)&&x>=0?Math.min(x,1e5):void 0;t==="ui/notifications/initialized"?a.initialized():t==="ui/notifications/size-changed"?a.resize({width:T(g.width),height:T(g.height)}):t==="notifications/message"&&a.log(typeof g.level=="string"?g.level:"info",g.data)}}const Xr={"--color-background-primary":"--background","--color-background-secondary":"--card","--color-background-tertiary":"--muted","--color-background-inverse":"--foreground","--color-text-primary":"--foreground","--color-text-secondary":"--muted-foreground","--color-text-inverse":"--background","--color-text-info":"--sea","--color-text-danger":"--danger","--color-text-success":"--success","--color-text-warning":"--warning","--color-border-primary":"--border","--color-border-secondary":"--hair","--color-ring-primary":"--ring","--font-sans":"--font-sans","--font-mono":"--font-mono","--border-radius-md":"--radius"};function Qr(a){const t={};for(const[m,g]of Object.entries(Xr)){const T=a(g).trim();T&&(t[m]=T)}return t}function ea(a,t,m){const g=Math.round(a.width);return t?{width:g,height:Math.round(a.height)}:{width:g,maxHeight:m}}function ta(a){return{toolInfo:{tool:a.tool},theme:a.theme,styles:{variables:a.styles},displayMode:a.displayMode,availableDisplayModes:["inline","fullscreen"],containerDimensions:a.dimensions,...a.locale?{locale:a.locale}:{},...a.timeZone?{timeZone:a.timeZone}:{},userAgent:`wheelhouse/${a.version}`,platform:"web",deviceCapabilities:{hover:a.hover??!0,touch:a.touch??!1}}}function ra(a){return{openLinks:{},serverTools:{},serverResources:{},logging:{},message:{text:{}},sandbox:{csp:a}}}const aa=["connectDomains","resourceDomains","frameDomains","baseUriDomains"];function na(a){return[...new Set(aa.flatMap(t=>a[t]??[]))]}async function nt(a,t,m){let g;try{g=await fetch(`/api/apps/${a}`,{method:"POST",headers:{"content-type":"application/json",[jt]:m},body:JSON.stringify(t)})}catch{throw new Error("Could not reach the Wheelhouse server.")}const T=await g.json().catch(()=>null);if(T&&(g.ok||"ok"in T||"state"in T))return T;throw new Error(T?.message??`Wheelhouse answered ${g.status}.`)}const oa=(a,t)=>nt("open",a,t),sa=(a,t)=>nt("run",a,t),Et=(a,t,m)=>nt("call",{...a,...t},m),ia=(a,t,m)=>nt("read",{...a,uri:t},m),Cn=(a,t)=>nt("chat",{calls:a},t);async function la(a,t){try{return await(await fetch("/api/services",{method:"POST",headers:{"content-type":"application/json",[jt]:t},body:JSON.stringify(a)})).json().catch(()=>null)}catch{return null}}var da=i('<p aria-busy="true">Opening the app…</p>'),ca=i("<!>Starting…",1),ua=i("<!> ",1),va=i('<p class="mt-2 text-muted-foreground">Start it by hand: <code class="font-mono text-xs select-all"> </code></p>'),fa=i('<div data-app-service=""><p> </p> <!></div>'),ma=i("<p> </p>"),pa=i("<!>Exit full screen",1),ha=i('<div class="flex shrink-0 items-center gap-3 border-b px-4 py-1.5 text-sm"><span class="min-w-0 flex-1 truncate"> </span> <!></div>'),ga=i('<div><!> <iframe sandbox="allow-scripts allow-same-origin allow-forms" referrerpolicy="no-referrer"></iframe></div> <p data-app-note=""> </p>',1),xa=i('<h2 id="app-ask-title" class="text-lg"> </h2> <p class="mt-1 text-sm text-muted-foreground"> </p> <pre class="mt-3 max-h-60 overflow-auto rounded-md border bg-card px-3 py-2 font-mono text-xs" aria-label="Its arguments"> </pre>',1),_a=i('<h2 id="app-ask-title" class="text-lg">Send this to Firstmate?</h2> <p class="mt-1 text-sm text-muted-foreground"> </p> <p class="mt-3 max-h-60 overflow-auto rounded-md border bg-card px-3 py-2 text-sm whitespace-pre-wrap"> </p>',1),ya=i('<div class="px-5 py-4"><!> <div class="mt-4 flex flex-wrap justify-end gap-2"><!> <!></div></div>'),ba=i('<!> <dialog class="m-auto w-[min(94vw,560px)] max-w-none rounded-xl border bg-background p-0 text-foreground shadow-xl backdrop:bg-black/60" aria-labelledby="app-ask-title"><!></dialog>',1);function wa(a,t){ut(t,!0);const m=720;let g=at(t,"fill",3,!1),T=at(t,"maxHeight",3,m);const x=()=>ct.data.sessionToken??"",P=()=>ct.data.health?.version??"0.0.0";let l=V("opening"),C=V(null),K=V(null),ue=V(""),ne=V(null),Z=V(null),ve=V(!1),xe=V(160),D=V("inline"),A=V(null),W=V(null),S=V(()=>{}),v=V(null),j=V(null),N=Promise.resolve();function R(_){const U=N.then(()=>new Promise(oe=>{s(v,{..._,answer:pe=>{s(v,null),oe(pe)}},!0)}));return N=U.catch(()=>{}),U}wt(()=>{e(j)&&(e(v)&&!e(j).open?e(j).showModal():!e(v)&&e(j).open&&e(j).close())});async function z(){s(l,"opening"),s(ne,null);try{const _=await oa(t.ref,x());_.state==="ready"?(s(C,_),s(ue,_.server.title,!0),s(l,"ready")):_.state==="service"?(s(K,_.service),s(ue,_.server.title,!0),s(l,"service")):(s(ne,_.reason,!0),s(l,"failed"))}catch(_){s(ne,_.message,!0),s(l,"failed")}}async function L(){if(!e(K))return;s(ve,!0);const _=await la({plugin:e(K).plugin,service:e(K).service,project:e(K).project},x());s(ve,!1),_?.state==="running"?await z():s(K,_??e(K))}zt(()=>{z()});const p=re(()=>{if(!e(C))return null;const _=new URL(bt.sandbox(e(C).sandbox));return _.searchParams.set("host",location.origin),_.href}),M=re(()=>e(C)?na(e(C).csp):[]),H=()=>document.documentElement.classList.contains("dark")?"dark":"light",O=()=>{const _=getComputedStyle(document.documentElement);return Qr(U=>_.getPropertyValue(U))},F=()=>{const _=e(A)?.getBoundingClientRect()??{width:0,height:0};return e(D)==="fullscreen"?{width:Math.round(window.innerWidth),height:Math.round(window.innerHeight)}:ea(_,g(),T())};wt(()=>{if(!e(C)||!e(W))return;const _=e(C),U=e(W);return Lt(()=>B(_,U))});function B(_,U){const oe=new URL(bt.sandbox(_.sandbox)).origin,pe=t.ref;let Re=!1,fe=null,Ee="";const he=sa(pe,x()).catch(d=>({ok:!1,reason:d.message})),X=d=>U.contentWindow?.postMessage(d,oe),G={context:()=>ta({tool:_.tool,theme:H(),styles:O(),displayMode:e(D),dimensions:F(),locale:navigator.language,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,hover:matchMedia("(hover: hover)").matches,touch:matchMedia("(pointer: coarse)").matches,version:P()}),async callTool(d,k){let q=await Et(pe,{name:d,arguments:k,confirmed:!1},x());if(!q.ok&&q.confirm){if(!await R({kind:"tool",title:q.confirm.title,description:q.confirm.description,args:JSON.stringify(k,null,2)}))throw new ge(Ge,"The captain declined the call.");q=await Et(pe,{name:d,arguments:k,confirmed:!0},x())}if(!q.ok)throw new ge(Ge,q.reason);return q.result},async readResource(d){const k=await ia(pe,d,x());if(!k.ok)throw new ge(Ge,k.reason);return k.result},async sendMessage(d){if(!await R({kind:"message",text:d}))return!1;const k=await tr(`From the “${t.title}” app (${t.plugin} plugin):
@@ -1,3 +1,3 @@
1
- import"./DsnmJJEf.js";import{ag as Ue,p as be,y as Z,f as i,a as r,b as xe,g as e,e as se,q as Ve,r as oe,h as y,c as S,i as G,j as Ee,s as d,n as L,A as T,m as a,t as de,o as Be}from"./CEfkcOME.js";import{d as Je,s as ue,e as Ke,a as Me}from"./CPPNfCxh.js";import{i as H}from"./D4ikcNuh.js";import{c as h}from"./CGbw525c.js";import{j as Qe,r as Ce,d as Se,k as ze}from"./BMjXQSgN.js";import{b as Le}from"./B6yYMcjx.js";import{p as j,r as Re,s as fe}from"./D42BPZCD.js";import{p as Xe}from"./gKm-HWvG.js";import{D as Te}from"./Sv3hh1sg.js";import{D as Ye,a as et,b as tt,c as rt,d as he,e as at}from"./BxKmcvUJ.js";import{s as je}from"./s1S1BAXN.js";import{c as st,d as ot,b as $e,m as lt}from"./DRPGxn7H.js";import{B as Q}from"./D4Okmn3b.js";import{C as nt,e as it,b as dt,i as ut}from"./BqeJFOiq.js";import{P as ft,i as pt,f as mt,m as vt}from"./B95vDHb4.js";import{P as gt}from"./B0iegdDx.js";import{L as ct}from"./BMEfZRmb.js";import{T as _t}from"./CiB1IASV.js";var ht=new Set(["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]),$t=S("<button><!></button>");function bt(X,o){const q=Ue();be(o,!0);let N=j(o,"id",19,()=>st(q)),U=j(o,"ref",15,null),O=j(o,"disabled",3,!1),t=Re(o,ht);const $=ot.create({id:$e(()=>N()),ref:$e(()=>U(),g=>U(g)),disabled:$e(()=>!!O())}),B=y(()=>lt(t,$.props));var u=Z(),f=i(u);{var R=g=>{var k=Z(),V=i(k);je(V,()=>o.child,()=>({props:e(B)})),r(g,k)},le=g=>{var k=$t();Qe(k,()=>({...e(B)}));var V=se(k);je(V,()=>o.children??Ve),oe(k),r(g,k)};H(f,g=>{o.child?g(R):g(le,-1)})}r(X,u),xe()}var xt=new Set(["$$slots","$$events","$$legacy","ref","type"]);function wt(X,o){be(o,!0);let q=j(o,"ref",15,null),N=j(o,"type",3,"button"),U=Re(o,xt);var O=Z(),t=i(O);h(t,()=>bt,($,B)=>{B($,fe({"data-slot":"dialog-trigger",get type(){return N()}},()=>U,{get ref(){return q()},set ref(u){q(u)}}))}),r(X,O),xe()}var yt=S("<!> ",1),ae=S("<!> <!>",1),kt=S('<p class="flex items-start gap-2 rounded-md border border-danger/40 px-3 py-2 text-xs text-danger" role="alert"><!> </p>'),Pt=S("<!>Fetching…",1),Dt=S('<form class="grid gap-4" id="install-plugin-form"><label class="grid gap-1"><span class="text-xs font-medium">Repository</span> <input name="repository" placeholder="org/repo" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">On github.com, such as chrisjowen/improve.</span></label> <label class="grid gap-1"><span class="text-xs font-medium">Version <span class="font-normal text-muted-foreground">(optional)</span></span> <input name="ref" placeholder="tag, branch or commit" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">Leave it empty for the default branch. A tag keeps it on that release.</span></label> <!></form> <!>',1),It=S('<p class="text-xs text-danger" role="alert"> </p>'),Oe=S("<!> <!> <!>",1),At=S("<p> </p>");function Kt(X,o){be(o,!0);let q=j(o,"busy",19,()=>[]),N=j(o,"suggested",3,null),U=j(o,"label",3,"Install plugin"),O=G(!1),t=G("form"),$=G(""),B=G(""),u=G(null),f=G(null),R=G(Ee({}));const le=y(()=>/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(e($).trim())),g=y(()=>e(f)?vt(e(f),e(R)):null),k=()=>Xe.data.sessionToken,V="h-9 rounded-md border border-input bg-background px-2.5 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring";function we(){a(t,"form"),a(u,null),a(f,null)}async function We(Y){if(Y.preventDefault(),!e(le)||e(t)==="looking")return;a(t,"looking"),a(u,null);const C=await it({repo:e($).trim(),ref:e(B).trim()||null},k());if(!C.ok){a(u,C.error,!0),a(t,"form");return}a(f,C.value,!0),a(R,pt(C.value),!0),a(t,"review")}async function Fe(){if(!e(f)||e(g))return;a(t,"saving"),a(u,null);const Y=dt(),C=await ut(e(f),mt(e(R)),k());if(!C.ok){a(u,C.error,!0),a(t,"review");return}a(t,"restarting"),a(t,await Y?"done":"slow",!0)}var ye=Z(),Ge=i(ye);h(Ge,()=>at,(Y,C)=>{C(Y,{onOpenChange:E=>{E&&(e(t)==="done"||e(t)==="slow")&&(a($,""),a(B,""),we()),E&&e(t)==="form"&&N()&&!e($)&&a($,N())},get open(){return e(O)},set open(E){a(O,E,!0)},children:(E,Bt)=>{var ke=ae(),Pe=i(ke);{const pe=(ee,te)=>{Q(ee,fe(()=>(te?.()).props,{variant:"outline",size:"sm",children:(Ie,me)=>{var re=yt(),ne=i(re);gt(ne,{});var ve=d(ne,1,!0);de(()=>ue(ve,U())),r(Ie,re)},$$slots:{default:!0}}))};h(Pe,()=>wt,(ee,te)=>{te(ee,{child:pe,$$slots:{child:!0}})})}var He=d(Pe,2);{let pe=y(()=>e(t)==="saving"||e(t)==="restarting"?"ignore":"close");h(He,()=>Ye,(ee,te)=>{te(ee,{class:"max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-lg",get interactOutsideBehavior(){return e(pe)},children:(De,Ie)=>{var me=ae(),re=i(me);h(re,()=>et,(b,P)=>{P(b,{children:(c,D)=>{var x=ae(),I=i(x);h(I,()=>tt,(l,p)=>{p(l,{class:"font-display text-lg",children:(W,n)=>{L();var m=T("Install a plugin from GitHub");r(W,m)},$$slots:{default:!0}})});var s=d(I,2);h(s,()=>rt,(l,p)=>{p(l,{children:(W,n)=>{var m=Z(),A=i(m);{var _=v=>{var z=T("Check what it is and where it comes from before you install it.");r(v,z)},w=v=>{var z=T(`Wheelhouse fetches the repository, pins the exact commit and shows you its manifest first.
1
+ import"./DsnmJJEf.js";import{ag as Ue,p as be,y as Z,f as i,a as r,b as xe,g as e,e as se,q as Ve,r as oe,h as y,c as S,i as G,j as Ee,s as d,n as L,A as T,m as a,t as de,o as Be}from"./CEfkcOME.js";import{d as Je,s as ue,e as Ke,a as Me}from"./CPPNfCxh.js";import{i as H}from"./D4ikcNuh.js";import{c as h}from"./CGbw525c.js";import{j as Qe,r as Ce,d as Se,k as ze}from"./BMjXQSgN.js";import{b as Le}from"./B6yYMcjx.js";import{p as j,r as Re,s as fe}from"./D42BPZCD.js";import{p as Xe}from"./CjDEH2t9.js";import{D as Te}from"./Sv3hh1sg.js";import{D as Ye,a as et,b as tt,c as rt,d as he,e as at}from"./BxKmcvUJ.js";import{s as je}from"./s1S1BAXN.js";import{c as st,d as ot,b as $e,m as lt}from"./DRPGxn7H.js";import{B as Q}from"./D4Okmn3b.js";import{C as nt,e as it,b as dt,i as ut}from"./CUWvH_Vt.js";import{P as ft,i as pt,f as mt,m as vt}from"./CRG7D48i.js";import{P as gt}from"./B0iegdDx.js";import{L as ct}from"./BMEfZRmb.js";import{T as _t}from"./CiB1IASV.js";var ht=new Set(["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]),$t=S("<button><!></button>");function bt(X,o){const q=Ue();be(o,!0);let N=j(o,"id",19,()=>st(q)),U=j(o,"ref",15,null),O=j(o,"disabled",3,!1),t=Re(o,ht);const $=ot.create({id:$e(()=>N()),ref:$e(()=>U(),g=>U(g)),disabled:$e(()=>!!O())}),B=y(()=>lt(t,$.props));var u=Z(),f=i(u);{var R=g=>{var k=Z(),V=i(k);je(V,()=>o.child,()=>({props:e(B)})),r(g,k)},le=g=>{var k=$t();Qe(k,()=>({...e(B)}));var V=se(k);je(V,()=>o.children??Ve),oe(k),r(g,k)};H(f,g=>{o.child?g(R):g(le,-1)})}r(X,u),xe()}var xt=new Set(["$$slots","$$events","$$legacy","ref","type"]);function wt(X,o){be(o,!0);let q=j(o,"ref",15,null),N=j(o,"type",3,"button"),U=Re(o,xt);var O=Z(),t=i(O);h(t,()=>bt,($,B)=>{B($,fe({"data-slot":"dialog-trigger",get type(){return N()}},()=>U,{get ref(){return q()},set ref(u){q(u)}}))}),r(X,O),xe()}var yt=S("<!> ",1),ae=S("<!> <!>",1),kt=S('<p class="flex items-start gap-2 rounded-md border border-danger/40 px-3 py-2 text-xs text-danger" role="alert"><!> </p>'),Pt=S("<!>Fetching…",1),Dt=S('<form class="grid gap-4" id="install-plugin-form"><label class="grid gap-1"><span class="text-xs font-medium">Repository</span> <input name="repository" placeholder="org/repo" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">On github.com, such as chrisjowen/improve.</span></label> <label class="grid gap-1"><span class="text-xs font-medium">Version <span class="font-normal text-muted-foreground">(optional)</span></span> <input name="ref" placeholder="tag, branch or commit" autocomplete="off" spellcheck="false"/> <span class="text-xs text-muted-foreground">Leave it empty for the default branch. A tag keeps it on that release.</span></label> <!></form> <!>',1),It=S('<p class="text-xs text-danger" role="alert"> </p>'),Oe=S("<!> <!> <!>",1),At=S("<p> </p>");function Kt(X,o){be(o,!0);let q=j(o,"busy",19,()=>[]),N=j(o,"suggested",3,null),U=j(o,"label",3,"Install plugin"),O=G(!1),t=G("form"),$=G(""),B=G(""),u=G(null),f=G(null),R=G(Ee({}));const le=y(()=>/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(e($).trim())),g=y(()=>e(f)?vt(e(f),e(R)):null),k=()=>Xe.data.sessionToken,V="h-9 rounded-md border border-input bg-background px-2.5 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring";function we(){a(t,"form"),a(u,null),a(f,null)}async function We(Y){if(Y.preventDefault(),!e(le)||e(t)==="looking")return;a(t,"looking"),a(u,null);const C=await it({repo:e($).trim(),ref:e(B).trim()||null},k());if(!C.ok){a(u,C.error,!0),a(t,"form");return}a(f,C.value,!0),a(R,pt(C.value),!0),a(t,"review")}async function Fe(){if(!e(f)||e(g))return;a(t,"saving"),a(u,null);const Y=dt(),C=await ut(e(f),mt(e(R)),k());if(!C.ok){a(u,C.error,!0),a(t,"review");return}a(t,"restarting"),a(t,await Y?"done":"slow",!0)}var ye=Z(),Ge=i(ye);h(Ge,()=>at,(Y,C)=>{C(Y,{onOpenChange:E=>{E&&(e(t)==="done"||e(t)==="slow")&&(a($,""),a(B,""),we()),E&&e(t)==="form"&&N()&&!e($)&&a($,N())},get open(){return e(O)},set open(E){a(O,E,!0)},children:(E,Bt)=>{var ke=ae(),Pe=i(ke);{const pe=(ee,te)=>{Q(ee,fe(()=>(te?.()).props,{variant:"outline",size:"sm",children:(Ie,me)=>{var re=yt(),ne=i(re);gt(ne,{});var ve=d(ne,1,!0);de(()=>ue(ve,U())),r(Ie,re)},$$slots:{default:!0}}))};h(Pe,()=>wt,(ee,te)=>{te(ee,{child:pe,$$slots:{child:!0}})})}var He=d(Pe,2);{let pe=y(()=>e(t)==="saving"||e(t)==="restarting"?"ignore":"close");h(He,()=>Ye,(ee,te)=>{te(ee,{class:"max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-lg",get interactOutsideBehavior(){return e(pe)},children:(De,Ie)=>{var me=ae(),re=i(me);h(re,()=>et,(b,P)=>{P(b,{children:(c,D)=>{var x=ae(),I=i(x);h(I,()=>tt,(l,p)=>{p(l,{class:"font-display text-lg",children:(W,n)=>{L();var m=T("Install a plugin from GitHub");r(W,m)},$$slots:{default:!0}})});var s=d(I,2);h(s,()=>rt,(l,p)=>{p(l,{children:(W,n)=>{var m=Z(),A=i(m);{var _=v=>{var z=T("Check what it is and where it comes from before you install it.");r(v,z)},w=v=>{var z=T(`Wheelhouse fetches the repository, pins the exact commit and shows you its manifest first.
2
2
  Nothing runs until you install it.`);r(v,z)};H(A,v=>{e(t)==="review"?v(_):v(w,-1)})}r(W,m)},$$slots:{default:!0}})}),r(c,x)},$$slots:{default:!0}})});var ne=d(re,2);{var ve=b=>{var P=Dt(),c=i(P),D=se(c),x=d(se(D),2);Ce(x),Se(x,1,ze(V)),L(2),oe(D);var I=d(D,2),s=d(se(I),2);Ce(s),Se(s,1,ze(V)),L(2),oe(I);var l=d(I,2);{var p=n=>{var m=kt(),A=se(m);_t(A,{class:"mt-0.5 size-3.5 shrink-0"});var _=d(A,1,!0);oe(m),de(()=>ue(_,e(u))),r(n,m)};H(l,n=>{e(u)&&n(p)})}oe(c);var W=d(c,2);h(W,()=>he,(n,m)=>{m(n,{children:(A,_)=>{var w=ae(),v=i(w);{const F=(J,K)=>{Q(J,fe(()=>(K?.()).props,{variant:"ghost",children:(ce,Ae)=>{L();var _e=T("Cancel");r(ce,_e)},$$slots:{default:!0}}))};h(v,()=>Te,(J,K)=>{K(J,{child:F,$$slots:{child:!0}})})}var z=d(v,2);{let F=y(()=>!e(le)||e(t)==="looking");Q(z,{type:"submit",form:"install-plugin-form",get disabled(){return e(F)},children:(J,K)=>{var ge=Z(),ce=i(ge);{var Ae=M=>{var ie=Pt(),Ne=i(ie);ct(Ne,{class:"animate-spin"}),L(),r(M,ie)},_e=M=>{var ie=T("Look it up");r(M,ie)};H(ce,M=>{e(t)==="looking"?M(Ae):M(_e,-1)})}r(J,ge)},$$slots:{default:!0}})}r(A,w)},$$slots:{default:!0}})}),Ke("submit",c,We),Me("input",x,()=>a(u,null)),Le(x,()=>e($),n=>a($,n)),Le(s,()=>e(B),n=>a(B,n)),r(b,P)},Ze=b=>{var P=Oe(),c=i(P);ft(c,{get preview(){return e(f)},get busy(){return q()},get answers(){return e(R)},set answers(s){a(R,s,!0)}});var D=d(c,2);{var x=s=>{var l=It(),p=Be(l,!0);de(()=>ue(p,e(u))),r(s,l)};H(D,s=>{e(u)&&s(x)})}var I=d(D,2);h(I,()=>he,(s,l)=>{l(s,{children:(p,W)=>{var n=ae(),m=i(n);Q(m,{variant:"ghost",onclick:we,children:(_,w)=>{L();var v=T("Back");r(_,v)},$$slots:{default:!0}});var A=d(m,2);{let _=y(()=>!!e(g)),w=y(()=>e(g)?`${e(g).title} is needed`:void 0);Q(A,{onclick:Fe,get disabled(){return e(_)},get title(){return e(w)},children:(v,z)=>{L();var F=T("Install and restart");r(v,F)},$$slots:{default:!0}})}r(p,n)},$$slots:{default:!0}})}),r(b,P)},qe=b=>{var P=Oe(),c=i(P);{let s=y(()=>e(f).id),l=y(()=>e(f).commit.slice(0,7)),p=y(()=>e(t)==="saving"||e(t)==="restarting"||e(t)==="done"||e(t)==="slow"?e(t):"saving");nt(c,{get label(){return`Install ${e(s)??""} at ${e(l)??""}`},get phase(){return e(p)}})}var D=d(c,2);{var x=s=>{var l=At(),p=Be(l);de(()=>ue(p,`${e(f).name??""}
3
3
  ${e(f).version??""} is installed and Wheelhouse restarted. Its row shows whether it loaded.`)),r(s,l)};H(D,s=>{e(t)==="done"&&s(x)})}var I=d(D,2);h(I,()=>he,(s,l)=>{l(s,{children:(p,W)=>{var n=Z(),m=i(n);{const A=(_,w)=>{let v=()=>(w?.()).props;{let z=y(()=>e(t)==="saving"||e(t)==="restarting");Q(_,fe(v,{get disabled(){return e(z)},children:(F,J)=>{L();var K=T("Done");r(F,K)},$$slots:{default:!0}}))}};h(m,()=>Te,(_,w)=>{w(_,{child:A,$$slots:{child:!0}})})}r(p,n)},$$slots:{default:!0}})}),r(b,P)};H(ne,b=>{e(t)==="form"||e(t)==="looking"?b(ve):e(t)==="review"&&e(f)?b(Ze,1):e(f)&&b(qe,2)})}r(De,me)},$$slots:{default:!0}})})}r(E,ke)},$$slots:{default:!0}})}),r(X,ye),xe()}Je(["input"]);export{Kt as I};
@@ -1 +1 @@
1
- import{o as v}from"./B42VotjV.js";import{q as p,b8 as N,i as u,g as f,m as d}from"./CEfkcOME.js";const h=[];function k(e,t=p){let n=null;const r=new Set;function s(o){if(N(e,o)&&(e=o,n)){const l=!h.length;for(const c of r)c[1](),h.push(c,e);if(l){for(let c=0;c<h.length;c+=2)h[c][0](h[c+1]);h.length=0}}}function i(o){s(o(e))}function a(o,l=p){const c=[o,l];return r.add(c),r.size===1&&(n=t(s,i)||p),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:s,update:i,subscribe:a}}const I="1794944317984";new URL("sveltekit-internal://");function K(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function B(e){return e.split("%25").map(decodeURI).join("%25")}function D(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function J({href:e}){return e.split("#")[0]}function W(e,t,n,r=!1){const s=new URL(e);Object.defineProperty(s,"searchParams",{value:new Proxy(s.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return(c,...x)=>(n(c),a[o](c,...x));t();const l=Reflect.get(a,o);return typeof l=="function"?l.bind(a):l}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const a of i)Object.defineProperty(s,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return s}function L(){}function P(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let s=r.length;for(;s;)t=t*33^r[--s]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function $(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const q=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&b.delete(m(e)),q(e,t));const b=new Map;function X(e,t){const n=m(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:s,...i}=JSON.parse(r.textContent);r.getAttribute("data-b64")!==null&&(s=$(s));const o=r.getAttribute("data-ttl");return o&&b.set(n,{body:s,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(s,i))}return window.fetch(e,t)}function M(e,t,n){if(b.size>0){const r=m(e,n),s=b.get(r);if(s){if(performance.now()<s.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(s.body,s.init);b.delete(r)}}return window.fetch(t,n)}function m(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const s=[];t.headers&&s.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&s.push(t.body),r+=`[data-hash="${P(...s)}"]`}return r}const C=globalThis.__sveltekit_1b4tx2v?.base??"",V=globalThis.__sveltekit_1b4tx2v?.assets??C??"",F="sveltekit:snapshot",Q="sveltekit:scroll",Z="sveltekit:states",ee="sveltekit:pageurl",te="sveltekit:history",ne="sveltekit:navigation",y={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},E=location.origin;function re(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function se(){return{x:pageXOffset,y:pageYOffset}}function g(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const S={...y,"":y.hover};function T(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function oe(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=T(e)}}function ae(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!s||j(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=r?.origin===E&&e.hasAttribute("download");return{url:r,external:i,target:s,download:a}}function ie(e){let t=null,n=null,r=null,s=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=g(o,"preload-code")),s===null&&(s=g(o,"preload-data")),t===null&&(t=g(o,"keepfocus")),n===null&&(n=g(o,"noscroll")),i===null&&(i=g(o,"reload")),a===null&&(a=g(o,"replacestate")),o=T(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:S[r??"off"],preload_data:S[s??"off"],keepfocus:l(t),noscroll:l(n),reload:l(i),replace_state:l(a)}}function le(e){const t=k(e);let n=!0;function r(){n=!0,t.update(a=>a)}function s(a){n=!1,t.set(a)}function i(a){let o;return t.subscribe(l=>{(o===void 0||n&&l!==o)&&a(o=l)})}return{notify:r,set:s,subscribe:i}}const U={v:L};function ce(){const{set:e,subscribe:t}=k(!1);let n;async function r(){clearTimeout(n);try{const s=await fetch(`${V}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!s.ok)return!1;const a=(await s.json()).version!==I;return a&&(e(!0),U.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:r}}function j(e,t,n){return e.origin!==E||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function ue(e){}const O=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...O];const G=new Set([...O]);[...G];let w,R,_;const Y=v.toString().includes("$$")||/function \w+\(\) \{\}/.test(v.toString()),A="a:";Y?(w={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(A)},R={current:null},_={current:!1}):(w=new class{#e=u({});get data(){return f(this.#e)}set data(t){d(this.#e,t)}#t=u(null);get form(){return f(this.#t)}set form(t){d(this.#t,t)}#n=u(null);get error(){return f(this.#n)}set error(t){d(this.#n,t)}#r=u({});get params(){return f(this.#r)}set params(t){d(this.#r,t)}#s=u({id:null});get route(){return f(this.#s)}set route(t){d(this.#s,t)}#o=u({});get state(){return f(this.#o)}set state(t){d(this.#o,t)}#a=u(-1);get status(){return f(this.#a)}set status(t){d(this.#a,t)}#i=u(new URL(A));get url(){return f(this.#i)}set url(t){d(this.#i,t)}},R=new class{#e=u(null);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},_=new class{#e=u(!1);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},U.v=()=>_.current=!0);function ge(e){Object.assign(w,e)}export{te as H,ne as N,ee as P,Z as S,R as a,C as b,ie as c,J as d,D as e,oe as f,ae as g,K as h,j as i,ce as j,le as k,y as l,W as m,L as n,E as o,w as p,B as q,re as r,se as s,F as t,ge as u,M as v,k as w,X as x,Q as y,ue as z};
1
+ import{o as y}from"./B42VotjV.js";import{q as b,b8 as N,i as u,g as f,m as d}from"./CEfkcOME.js";const h=[];function k(e,t=b){let n=null;const r=new Set;function s(o){if(N(e,o)&&(e=o,n)){const c=!h.length;for(const l of r)l[1](),h.push(l,e);if(c){for(let l=0;l<h.length;l+=2)h[l][0](h[l+1]);h.length=0}}}function i(o){s(o(e))}function a(o,c=b){const l=[o,c];return r.add(l),r.size===1&&(n=t(s,i)||b),o(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:s,update:i,subscribe:a}}const I="1794986595666";new URL("sveltekit-internal://");function K(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function B(e){return e.split("%25").map(decodeURI).join("%25")}function D(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function J({href:e}){return e.split("#")[0]}function W(e,t,n,r=!1){const s=new URL(e);Object.defineProperty(s,"searchParams",{value:new Proxy(s.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return(l,...x)=>(n(l),a[o](l,...x));t();const c=Reflect.get(a,o);return typeof c=="function"?c.bind(a):c}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const a of i)Object.defineProperty(s,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return s}function L(){}function P(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let s=r.length;for(;s;)t=t*33^r[--s]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function $(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const q=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&p.delete(m(e)),q(e,t));const p=new Map;function X(e,t){const n=m(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:s,...i}=JSON.parse(r.textContent);r.getAttribute("data-b64")!==null&&(s=$(s));const o=r.getAttribute("data-ttl");return o&&p.set(n,{body:s,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(s,i))}return window.fetch(e,t)}function M(e,t,n){if(p.size>0){const r=m(e,n),s=p.get(r);if(s){if(performance.now()<s.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(s.body,s.init);p.delete(r)}}return window.fetch(t,n)}function m(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const s=[];t.headers&&s.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&s.push(t.body),r+=`[data-hash="${P(...s)}"]`}return r}const C=globalThis.__sveltekit_1socxfa?.base??"",V=globalThis.__sveltekit_1socxfa?.assets??C??"",F="sveltekit:snapshot",Q="sveltekit:scroll",Z="sveltekit:states",ee="sveltekit:pageurl",te="sveltekit:history",ne="sveltekit:navigation",v={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},E=location.origin;function re(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function se(){return{x:pageXOffset,y:pageYOffset}}function g(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const S={...v,"":v.hover};function T(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function oe(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=T(e)}}function ae(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!s||j(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=r?.origin===E&&e.hasAttribute("download");return{url:r,external:i,target:s,download:a}}function ie(e){let t=null,n=null,r=null,s=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=g(o,"preload-code")),s===null&&(s=g(o,"preload-data")),t===null&&(t=g(o,"keepfocus")),n===null&&(n=g(o,"noscroll")),i===null&&(i=g(o,"reload")),a===null&&(a=g(o,"replacestate")),o=T(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:S[r??"off"],preload_data:S[s??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(a)}}function ce(e){const t=k(e);let n=!0;function r(){n=!0,t.update(a=>a)}function s(a){n=!1,t.set(a)}function i(a){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&a(o=c)})}return{notify:r,set:s,subscribe:i}}const U={v:L};function le(){const{set:e,subscribe:t}=k(!1);let n;async function r(){clearTimeout(n);try{const s=await fetch(`${V}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!s.ok)return!1;const a=(await s.json()).version!==I;return a&&(e(!0),U.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:r}}function j(e,t,n){return e.origin!==E||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function ue(e){}const O=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...O];const G=new Set([...O]);[...G];let w,R,_;const Y=y.toString().includes("$$")||/function \w+\(\) \{\}/.test(y.toString()),A="a:";Y?(w={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(A)},R={current:null},_={current:!1}):(w=new class{#e=u({});get data(){return f(this.#e)}set data(t){d(this.#e,t)}#t=u(null);get form(){return f(this.#t)}set form(t){d(this.#t,t)}#n=u(null);get error(){return f(this.#n)}set error(t){d(this.#n,t)}#r=u({});get params(){return f(this.#r)}set params(t){d(this.#r,t)}#s=u({id:null});get route(){return f(this.#s)}set route(t){d(this.#s,t)}#o=u({});get state(){return f(this.#o)}set state(t){d(this.#o,t)}#a=u(-1);get status(){return f(this.#a)}set status(t){d(this.#a,t)}#i=u(new URL(A));get url(){return f(this.#i)}set url(t){d(this.#i,t)}},R=new class{#e=u(null);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},_=new class{#e=u(!1);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},U.v=()=>_.current=!0);function ge(e){Object.assign(w,e)}export{te as H,ne as N,ee as P,Z as S,R as a,C as b,ie as c,J as d,D as e,oe as f,ae as g,K as h,j as i,le as j,ce as k,v as l,W as m,L as n,E as o,w as p,B as q,re as r,se as s,F as t,ge as u,M as v,k as w,X as x,Q as y,ue as z};
@@ -1 +1 @@
1
- import"./DsnmJJEf.js";import{p as L,f as M,e as k,n as N,r as w,s as c,g as e,a as b,b as P,i as E,m as x,c as y,h as C,o as _,t as z}from"./CEfkcOME.js";import{d as O,a as T,s as h}from"./CPPNfCxh.js";import{i as I}from"./D4ikcNuh.js";import{M as q,P as B}from"./TvzfwAc_.js";import{d as D,s as F}from"./BMjXQSgN.js";import{e as R,C as S}from"./Ds4LY5_S.js";import{C as W}from"./D6J6SKJa.js";var j=y('<div class="relative z-10 mt-3" data-card-preview=""><button type="button" class="inline-flex items-center gap-1.5 rounded-md text-xs font-medium text-sea hover:underline" aria-haspopup="dialog"><!>Open live preview</button></div> <!>',1);function Z(m,t){L(t,!0);let a=E(null),r=E(!1);function u(s){const n=s.currentTarget,i=n.closest("article"),g=i?.querySelector("[data-card-picture]");x(a,(g??i??n).getBoundingClientRect(),!0),x(r,!0)}var l=j(),d=M(l),o=k(d),f=k(o);q(f,{class:"size-3.5","aria-hidden":"true"}),N(),w(o),w(d);var v=c(d,2);{var p=s=>{{let n=C(()=>t.task.preview?.url??""),i=C(()=>t.task.status!=="landed");B(s,{get taskId(){return t.task.id},get title(){return t.task.shortTitle},get url(){return e(n)},get talk(){return e(i)},get from(){return e(a)},onclose:()=>x(r,!1)})}};I(v,s=>{e(r)&&t.task.preview&&s(p)})}T("click",o,u),b(m,l),P()}O(["click"]);var A=y('<span class="shrink-0 text-muted-foreground"> </span>'),G=y('<p><!> <span class="truncate font-medium"> </span> <!> <span class="sr-only"> </span></p>');function $(m,t){L(t,!0);const a=C(()=>R(t.eta));var r=G(),u=k(r);W(u,{class:"size-3.5 shrink-0","aria-hidden":"true"});var l=c(u,2),d=_(l,!0),o=c(l,2);{var f=s=>{var n=A(),i=_(n);z(g=>h(i,`· ${g??""}`),[()=>S[t.eta.confidence].toLowerCase()]),b(s,n)};I(o,s=>{e(a).tone==="normal"&&t.eta.confidence!=="none"&&s(f)})}var v=c(o,2),p=_(v,!0);w(r),z(()=>{D(r,1,`flex min-w-0 items-center gap-1.5 text-xs ${e(a).tone==="warning"?"text-warning":e(a).tone==="muted"?"text-muted-foreground":"text-foreground"}`),F(r,"title",e(a).note),h(d,e(a).text),h(p,e(a).note)}),b(m,r),P()}export{Z as C,$ as E};
1
+ import"./DsnmJJEf.js";import{p as L,f as M,e as k,n as N,r as w,s as c,g as e,a as b,b as P,i as E,m as x,c as y,h as C,o as _,t as z}from"./CEfkcOME.js";import{d as O,a as T,s as h}from"./CPPNfCxh.js";import{i as I}from"./D4ikcNuh.js";import{M as q,P as B}from"./CjSftIOB.js";import{d as D,s as F}from"./BMjXQSgN.js";import{e as R,C as S}from"./Ds4LY5_S.js";import{C as W}from"./D6J6SKJa.js";var j=y('<div class="relative z-10 mt-3" data-card-preview=""><button type="button" class="inline-flex items-center gap-1.5 rounded-md text-xs font-medium text-sea hover:underline" aria-haspopup="dialog"><!>Open live preview</button></div> <!>',1);function Z(m,t){L(t,!0);let a=E(null),r=E(!1);function u(s){const n=s.currentTarget,i=n.closest("article"),g=i?.querySelector("[data-card-picture]");x(a,(g??i??n).getBoundingClientRect(),!0),x(r,!0)}var l=j(),d=M(l),o=k(d),f=k(o);q(f,{class:"size-3.5","aria-hidden":"true"}),N(),w(o),w(d);var v=c(d,2);{var p=s=>{{let n=C(()=>t.task.preview?.url??""),i=C(()=>t.task.status!=="landed");B(s,{get taskId(){return t.task.id},get title(){return t.task.shortTitle},get url(){return e(n)},get talk(){return e(i)},get from(){return e(a)},onclose:()=>x(r,!1)})}};I(v,s=>{e(r)&&t.task.preview&&s(p)})}T("click",o,u),b(m,l),P()}O(["click"]);var A=y('<span class="shrink-0 text-muted-foreground"> </span>'),G=y('<p><!> <span class="truncate font-medium"> </span> <!> <span class="sr-only"> </span></p>');function $(m,t){L(t,!0);const a=C(()=>R(t.eta));var r=G(),u=k(r);W(u,{class:"size-3.5 shrink-0","aria-hidden":"true"});var l=c(u,2),d=_(l,!0),o=c(l,2);{var f=s=>{var n=A(),i=_(n);z(g=>h(i,`· ${g??""}`),[()=>S[t.eta.confidence].toLowerCase()]),b(s,n)};I(o,s=>{e(a).tone==="normal"&&t.eta.confidence!=="none"&&s(f)})}var v=c(o,2),p=_(v,!0);w(r),z(()=>{D(r,1,`flex min-w-0 items-center gap-1.5 text-xs ${e(a).tone==="warning"?"text-warning":e(a).tone==="muted"?"text-muted-foreground":"text-foreground"}`),F(r,"title",e(a).note),h(d,e(a).text),h(p,e(a).note)}),b(m,r),P()}export{Z as C,$ as E};