@chrisjowen/wheelhouse 0.29.0 → 0.30.0

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 (848) hide show
  1. package/README.md +1 -1
  2. package/build/client/_app/immutable/assets/0.9zV4DRBy.css +1 -0
  3. package/build/client/_app/immutable/assets/0.9zV4DRBy.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.9zV4DRBy.css.gz +0 -0
  5. package/build/client/_app/immutable/chunks/B3HgbOhB.js +1 -0
  6. package/build/client/_app/immutable/chunks/B3HgbOhB.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/B3HgbOhB.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/B3t206L9.js +1 -0
  9. package/build/client/_app/immutable/chunks/B3t206L9.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/B3t206L9.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/B5hpNZ3H.js +7 -0
  12. package/build/client/_app/immutable/chunks/B5hpNZ3H.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/B5hpNZ3H.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/BOeLL0Qf.js +1 -0
  15. package/build/client/_app/immutable/chunks/BOeLL0Qf.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/BOeLL0Qf.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/BQcFiMAb.js +1 -0
  18. package/build/client/_app/immutable/chunks/BQcFiMAb.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/BQcFiMAb.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/BRSBR-VT.js +1 -0
  21. package/build/client/_app/immutable/chunks/BRSBR-VT.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/BRSBR-VT.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/BuQAxjuA.js +2 -0
  24. package/build/client/_app/immutable/chunks/BuQAxjuA.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/BuQAxjuA.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/CNlmITQu.js +3 -0
  27. package/build/client/_app/immutable/chunks/CNlmITQu.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/CNlmITQu.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/CRvVz4D-.js +7 -0
  30. package/build/client/_app/immutable/chunks/CRvVz4D-.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/CRvVz4D-.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/CeOwytgW.js +1 -0
  33. package/build/client/_app/immutable/chunks/CeOwytgW.js.br +0 -0
  34. package/build/client/_app/immutable/chunks/CeOwytgW.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/CgNGvzGF.js +1 -0
  36. package/build/client/_app/immutable/chunks/CgNGvzGF.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/CgNGvzGF.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/ChkA2usg.js +1 -0
  39. package/build/client/_app/immutable/chunks/ChkA2usg.js.br +3 -0
  40. package/build/client/_app/immutable/chunks/ChkA2usg.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/Cj3uUFg6.js +3 -0
  42. package/build/client/_app/immutable/chunks/Cj3uUFg6.js.br +0 -0
  43. package/build/client/_app/immutable/chunks/Cj3uUFg6.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/CsXoLlrU.js +6 -0
  45. package/build/client/_app/immutable/chunks/CsXoLlrU.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/CsXoLlrU.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/D4Hy3aIs.js +6 -0
  48. package/build/client/_app/immutable/chunks/D4Hy3aIs.js.br +0 -0
  49. package/build/client/_app/immutable/chunks/D4Hy3aIs.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/D9U5biKW.js +1 -0
  51. package/build/client/_app/immutable/chunks/D9U5biKW.js.br +0 -0
  52. package/build/client/_app/immutable/chunks/D9U5biKW.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/DEpUbK1-.js +1 -0
  54. package/build/client/_app/immutable/chunks/DEpUbK1-.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/DEpUbK1-.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/DSViAsYC.js +8 -0
  57. package/build/client/_app/immutable/chunks/DSViAsYC.js.br +0 -0
  58. package/build/client/_app/immutable/chunks/DSViAsYC.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/DoC8TQNT.js +3 -0
  60. package/build/client/_app/immutable/chunks/DoC8TQNT.js.br +0 -0
  61. package/build/client/_app/immutable/chunks/DoC8TQNT.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/H8Ub7_7D.js +1 -0
  63. package/build/client/_app/immutable/chunks/H8Ub7_7D.js.br +0 -0
  64. package/build/client/_app/immutable/chunks/H8Ub7_7D.js.gz +0 -0
  65. package/build/client/_app/immutable/chunks/IzPjmSWx.js +2 -0
  66. package/build/client/_app/immutable/chunks/IzPjmSWx.js.br +0 -0
  67. package/build/client/_app/immutable/chunks/IzPjmSWx.js.gz +0 -0
  68. package/build/client/_app/immutable/chunks/TNOrHJN9.js +3 -0
  69. package/build/client/_app/immutable/chunks/TNOrHJN9.js.br +0 -0
  70. package/build/client/_app/immutable/chunks/TNOrHJN9.js.gz +0 -0
  71. package/build/client/_app/immutable/chunks/VcYgr5In.js +2 -0
  72. package/build/client/_app/immutable/chunks/VcYgr5In.js.br +0 -0
  73. package/build/client/_app/immutable/chunks/VcYgr5In.js.gz +0 -0
  74. package/build/client/_app/immutable/chunks/qq_sYLPT.js +1 -0
  75. package/build/client/_app/immutable/chunks/qq_sYLPT.js.br +0 -0
  76. package/build/client/_app/immutable/chunks/qq_sYLPT.js.gz +0 -0
  77. package/build/client/_app/immutable/entry/app.DXhvsRZo.js +2 -0
  78. package/build/client/_app/immutable/entry/app.DXhvsRZo.js.br +0 -0
  79. package/build/client/_app/immutable/entry/app.DXhvsRZo.js.gz +0 -0
  80. package/build/client/_app/immutable/entry/start.BRqQMRpg.js +1 -0
  81. package/build/client/_app/immutable/entry/start.BRqQMRpg.js.br +0 -0
  82. package/build/client/_app/immutable/entry/start.BRqQMRpg.js.gz +0 -0
  83. package/build/client/_app/immutable/nodes/0.d4Q-9Is1.js +9 -0
  84. package/build/client/_app/immutable/nodes/0.d4Q-9Is1.js.br +0 -0
  85. package/build/client/_app/immutable/nodes/0.d4Q-9Is1.js.gz +0 -0
  86. package/build/client/_app/immutable/nodes/1.DZ8DkHf0.js +1 -0
  87. package/build/client/_app/immutable/nodes/1.DZ8DkHf0.js.br +0 -0
  88. package/build/client/_app/immutable/nodes/1.DZ8DkHf0.js.gz +0 -0
  89. package/build/client/_app/immutable/nodes/10.Bzzn6p2t.js +10 -0
  90. package/build/client/_app/immutable/nodes/10.Bzzn6p2t.js.br +0 -0
  91. package/build/client/_app/immutable/nodes/10.Bzzn6p2t.js.gz +0 -0
  92. package/build/client/_app/immutable/nodes/11.Bansm-B4.js +9 -0
  93. package/build/client/_app/immutable/nodes/11.Bansm-B4.js.br +0 -0
  94. package/build/client/_app/immutable/nodes/11.Bansm-B4.js.gz +0 -0
  95. package/build/client/_app/immutable/nodes/12.G8LW5nHq.js +11 -0
  96. package/build/client/_app/immutable/nodes/12.G8LW5nHq.js.br +0 -0
  97. package/build/client/_app/immutable/nodes/12.G8LW5nHq.js.gz +0 -0
  98. package/build/client/_app/immutable/nodes/13.5bfYk7vK.js +2 -0
  99. package/build/client/_app/immutable/nodes/13.5bfYk7vK.js.br +0 -0
  100. package/build/client/_app/immutable/nodes/13.5bfYk7vK.js.gz +0 -0
  101. package/build/client/_app/immutable/nodes/14.BBIJ90qI.js +6 -0
  102. package/build/client/_app/immutable/nodes/14.BBIJ90qI.js.br +0 -0
  103. package/build/client/_app/immutable/nodes/14.BBIJ90qI.js.gz +0 -0
  104. package/build/client/_app/immutable/nodes/15.2XBlsH0N.js +1 -0
  105. package/build/client/_app/immutable/nodes/15.2XBlsH0N.js.br +0 -0
  106. package/build/client/_app/immutable/nodes/15.2XBlsH0N.js.gz +0 -0
  107. package/build/client/_app/immutable/nodes/16.kICti2l-.js +10 -0
  108. package/build/client/_app/immutable/nodes/16.kICti2l-.js.br +0 -0
  109. package/build/client/_app/immutable/nodes/16.kICti2l-.js.gz +0 -0
  110. package/build/client/_app/immutable/nodes/17.DaNQtoHK.js +1 -0
  111. package/build/client/_app/immutable/nodes/17.DaNQtoHK.js.br +0 -0
  112. package/build/client/_app/immutable/nodes/17.DaNQtoHK.js.gz +0 -0
  113. package/build/client/_app/immutable/nodes/18.Co8I7LZa.js +3 -0
  114. package/build/client/_app/immutable/nodes/18.Co8I7LZa.js.br +0 -0
  115. package/build/client/_app/immutable/nodes/18.Co8I7LZa.js.gz +0 -0
  116. package/build/client/_app/immutable/nodes/19.DuALfcM_.js +1 -0
  117. package/build/client/_app/immutable/nodes/19.DuALfcM_.js.br +0 -0
  118. package/build/client/_app/immutable/nodes/19.DuALfcM_.js.gz +0 -0
  119. package/build/client/_app/immutable/nodes/2.Cz6KTbLv.js +29 -0
  120. package/build/client/_app/immutable/nodes/2.Cz6KTbLv.js.br +0 -0
  121. package/build/client/_app/immutable/nodes/2.Cz6KTbLv.js.gz +0 -0
  122. package/build/client/_app/immutable/nodes/20.DG7GEl3z.js +14 -0
  123. package/build/client/_app/immutable/nodes/20.DG7GEl3z.js.br +0 -0
  124. package/build/client/_app/immutable/nodes/20.DG7GEl3z.js.gz +0 -0
  125. package/build/client/_app/immutable/nodes/21.BIADid-T.js +150 -0
  126. package/build/client/_app/immutable/nodes/21.BIADid-T.js.br +0 -0
  127. package/build/client/_app/immutable/nodes/21.BIADid-T.js.gz +0 -0
  128. package/build/client/_app/immutable/nodes/22.C2Ie9v8h.js +3 -0
  129. package/build/client/_app/immutable/nodes/22.C2Ie9v8h.js.br +0 -0
  130. package/build/client/_app/immutable/nodes/22.C2Ie9v8h.js.gz +0 -0
  131. package/build/client/_app/immutable/nodes/23.CwrLjWrB.js +2 -0
  132. package/build/client/_app/immutable/nodes/23.CwrLjWrB.js.br +0 -0
  133. package/build/client/_app/immutable/nodes/23.CwrLjWrB.js.gz +0 -0
  134. package/build/client/_app/immutable/nodes/24.oOVYil3b.js +25 -0
  135. package/build/client/_app/immutable/nodes/24.oOVYil3b.js.br +0 -0
  136. package/build/client/_app/immutable/nodes/24.oOVYil3b.js.gz +0 -0
  137. package/build/client/_app/immutable/nodes/25.Brfe0BPX.js +5 -0
  138. package/build/client/_app/immutable/nodes/25.Brfe0BPX.js.br +0 -0
  139. package/build/client/_app/immutable/nodes/25.Brfe0BPX.js.gz +0 -0
  140. package/build/client/_app/immutable/nodes/26.Bj_0bhGZ.js +18 -0
  141. package/build/client/_app/immutable/nodes/26.Bj_0bhGZ.js.br +0 -0
  142. package/build/client/_app/immutable/nodes/26.Bj_0bhGZ.js.gz +0 -0
  143. package/build/client/_app/immutable/nodes/28.DJf0kroy.js +4 -0
  144. package/build/client/_app/immutable/nodes/28.DJf0kroy.js.br +0 -0
  145. package/build/client/_app/immutable/nodes/28.DJf0kroy.js.gz +0 -0
  146. package/build/client/_app/immutable/nodes/3.CD3K0k_n.js +2 -0
  147. package/build/client/_app/immutable/nodes/3.CD3K0k_n.js.br +0 -0
  148. package/build/client/_app/immutable/nodes/3.CD3K0k_n.js.gz +0 -0
  149. package/build/client/_app/immutable/nodes/30.Cc1YMVhn.js +6 -0
  150. package/build/client/_app/immutable/nodes/30.Cc1YMVhn.js.br +0 -0
  151. package/build/client/_app/immutable/nodes/30.Cc1YMVhn.js.gz +0 -0
  152. package/build/client/_app/immutable/nodes/31.Dxx4LhL4.js +8 -0
  153. package/build/client/_app/immutable/nodes/31.Dxx4LhL4.js.br +0 -0
  154. package/build/client/_app/immutable/nodes/31.Dxx4LhL4.js.gz +0 -0
  155. package/build/client/_app/immutable/nodes/32.H-U-s5CE.js +2 -0
  156. package/build/client/_app/immutable/nodes/32.H-U-s5CE.js.br +0 -0
  157. package/build/client/_app/immutable/nodes/32.H-U-s5CE.js.gz +0 -0
  158. package/build/client/_app/immutable/nodes/33.CcV3ivj-.js +5 -0
  159. package/build/client/_app/immutable/nodes/33.CcV3ivj-.js.br +0 -0
  160. package/build/client/_app/immutable/nodes/33.CcV3ivj-.js.gz +0 -0
  161. package/build/client/_app/immutable/nodes/34.DJJGofj5.js +4 -0
  162. package/build/client/_app/immutable/nodes/34.DJJGofj5.js.br +0 -0
  163. package/build/client/_app/immutable/nodes/34.DJJGofj5.js.gz +0 -0
  164. package/build/client/_app/immutable/nodes/35.COUwPu5h.js +3 -0
  165. package/build/client/_app/immutable/nodes/35.COUwPu5h.js.br +0 -0
  166. package/build/client/_app/immutable/nodes/35.COUwPu5h.js.gz +0 -0
  167. package/build/client/_app/immutable/nodes/36.B1uUY9Nr.js +5 -0
  168. package/build/client/_app/immutable/nodes/36.B1uUY9Nr.js.br +0 -0
  169. package/build/client/_app/immutable/nodes/36.B1uUY9Nr.js.gz +0 -0
  170. package/build/client/_app/immutable/nodes/37.DJEnbkpk.js +7 -0
  171. package/build/client/_app/immutable/nodes/37.DJEnbkpk.js.br +0 -0
  172. package/build/client/_app/immutable/nodes/37.DJEnbkpk.js.gz +0 -0
  173. package/build/client/_app/immutable/nodes/38.ya1eCQb4.js +2 -0
  174. package/build/client/_app/immutable/nodes/38.ya1eCQb4.js.br +0 -0
  175. package/build/client/_app/immutable/nodes/38.ya1eCQb4.js.gz +0 -0
  176. package/build/client/_app/immutable/nodes/39.Bqusq33H.js +4 -0
  177. package/build/client/_app/immutable/nodes/39.Bqusq33H.js.br +0 -0
  178. package/build/client/_app/immutable/nodes/39.Bqusq33H.js.gz +0 -0
  179. package/build/client/_app/immutable/nodes/4.BN7pFOXT.js +5 -0
  180. package/build/client/_app/immutable/nodes/4.BN7pFOXT.js.br +0 -0
  181. package/build/client/_app/immutable/nodes/4.BN7pFOXT.js.gz +0 -0
  182. package/build/client/_app/immutable/nodes/40.CrxcOFVV.js +7 -0
  183. package/build/client/_app/immutable/nodes/40.CrxcOFVV.js.br +0 -0
  184. package/build/client/_app/immutable/nodes/40.CrxcOFVV.js.gz +0 -0
  185. package/build/client/_app/immutable/nodes/41.Bok6ppWZ.js +6 -0
  186. package/build/client/_app/immutable/nodes/41.Bok6ppWZ.js.br +0 -0
  187. package/build/client/_app/immutable/nodes/41.Bok6ppWZ.js.gz +0 -0
  188. package/build/client/_app/immutable/nodes/42.De7sxIHz.js +24 -0
  189. package/build/client/_app/immutable/nodes/42.De7sxIHz.js.br +0 -0
  190. package/build/client/_app/immutable/nodes/42.De7sxIHz.js.gz +0 -0
  191. package/build/client/_app/immutable/nodes/43.CwAXHO8S.js +1 -0
  192. package/build/client/_app/immutable/nodes/43.CwAXHO8S.js.br +0 -0
  193. package/build/client/_app/immutable/nodes/43.CwAXHO8S.js.gz +0 -0
  194. package/build/client/_app/immutable/nodes/45.EBQs_Ct6.js +6 -0
  195. package/build/client/_app/immutable/nodes/45.EBQs_Ct6.js.br +0 -0
  196. package/build/client/_app/immutable/nodes/45.EBQs_Ct6.js.gz +0 -0
  197. package/build/client/_app/immutable/nodes/5.BiX-7kdz.js +1 -0
  198. package/build/client/_app/immutable/nodes/5.BiX-7kdz.js.br +0 -0
  199. package/build/client/_app/immutable/nodes/5.BiX-7kdz.js.gz +0 -0
  200. package/build/client/_app/immutable/nodes/6.8vIUou44.js +6 -0
  201. package/build/client/_app/immutable/nodes/6.8vIUou44.js.br +0 -0
  202. package/build/client/_app/immutable/nodes/6.8vIUou44.js.gz +0 -0
  203. package/build/client/_app/immutable/nodes/9.Cwq22cFi.js +3 -0
  204. package/build/client/_app/immutable/nodes/9.Cwq22cFi.js.br +0 -0
  205. package/build/client/_app/immutable/nodes/9.Cwq22cFi.js.gz +0 -0
  206. package/build/client/_app/version.json +1 -1
  207. package/build/client/_app/version.json.br +0 -0
  208. package/build/client/_app/version.json.gz +0 -0
  209. package/build/handler.js +4 -4
  210. package/build/index.js +4 -4
  211. package/build/server/chunks/chunks/DecisionForm.js-CNjXPJWC.js +744 -0
  212. package/build/server/chunks/chunks/PreviewWindow.js-B7AuIuN8.js +966 -0
  213. package/build/server/chunks/chunks/TaskView.js-BSUEgehe.js +3109 -0
  214. package/build/server/chunks/chunks/detail.js-DDJQJvxs.js +149 -0
  215. package/build/server/chunks/chunks/features.js-DmbRnUHF.js +181 -0
  216. package/build/server/chunks/chunks/feedback.js-BKDUNjjN.js +67 -0
  217. package/build/server/chunks/chunks/helperprogram.js-BcRfRrUg.js +37 -0
  218. package/build/server/chunks/chunks/internal.js-CI5FQImH.js +151 -0
  219. package/build/server/chunks/chunks/livereview.js-XvyW2kuX.js +261 -0
  220. package/build/server/chunks/chunks/marketplace-service.js-Chg6QytB.js +557 -0
  221. package/build/server/chunks/chunks/package.js-CVKd5h1H.js +160 -0
  222. package/build/server/chunks/chunks/page.js-Bf4Wf6CG.js +13 -0
  223. package/build/server/chunks/chunks/previewhelper.js-9SVj0b-s.js +256 -0
  224. package/build/server/chunks/chunks/previewhelper2.js-DauBnYMh.js +373 -0
  225. package/build/server/chunks/chunks/repo.js-uSnNJ2OR.js +33 -0
  226. package/build/server/chunks/chunks/runtime.js-CeB0c-KV.js +27477 -0
  227. package/build/server/chunks/chunks/scribe.js-BOacIArb.js +1591 -0
  228. package/build/server/chunks/chunks/service.js-BxFLpkMe.js +1339 -0
  229. package/build/server/chunks/chunks/service2.js-Ps0KdjQt.js +884 -0
  230. package/build/server/chunks/chunks/service3.js-CzjFzHeU.js +234 -0
  231. package/build/server/chunks/chunks/sessions.js-CTgcSezb.js +579 -0
  232. package/build/server/chunks/chunks/settings.js-BtWaI2-X.js +379 -0
  233. package/build/server/chunks/chunks/starter.js-gfVv5dcf.js +400 -0
  234. package/build/server/chunks/chunks/store.js-CeotKeYF.js +334 -0
  235. package/build/server/chunks/chunks/terminal.js-itbRYerQ.js +92 -0
  236. package/build/server/chunks/chunks/tmux.js-VIvfTvV9.js +508 -0
  237. package/build/server/chunks/chunks/tools.js-Bm-XlmkD.js +156 -0
  238. package/build/server/chunks/chunks/uploads.js-DsG1DD3-.js +107 -0
  239. package/build/server/chunks/chunks/view.js-Dn_xRKFA.js +76 -0
  240. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-IO1ZRF85.js +116 -0
  241. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-CVjFWV91.js +112 -0
  242. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-BLGZUvgm.js +63 -0
  243. package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-oQHDLhwO.js +79 -0
  244. package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-C6GgEHIj.js +83 -0
  245. package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-DpEX3ze5.js +68 -0
  246. package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-Dww0pXj4.js +73 -0
  247. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-CLlTWNLB.js +158 -0
  248. package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-Dp9WZ4bf.js +57 -0
  249. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-Dx0iHN84.js +75 -0
  250. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-DVKRjbHk.js +111 -0
  251. package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-D3X0PxmA.js +87 -0
  252. package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-DkQ_jk8b.js +77 -0
  253. package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-CLqGaG_x.js +70 -0
  254. package/build/server/chunks/entries/endpoints/api/firstmate/cleared/_server.ts.js-DFZBtw7g.js +90 -0
  255. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-BvSfTeq7.js +70 -0
  256. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-i_MNZLjT.js +71 -0
  257. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-CqJrsS11.js +77 -0
  258. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-BwTD-A8A.js +70 -0
  259. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-i5wVFcPc.js +119 -0
  260. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-Q4WKgahS.js +80 -0
  261. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-BLK5cLi_.js +91 -0
  262. package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-BJmt_U6l.js +79 -0
  263. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-D5J7OwwH.js +70 -0
  264. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-ey4qcfP4.js +32 -0
  265. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-BrIhEXkY.js +40 -0
  266. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js--2dN7W05.js +62 -0
  267. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-BdFnEm25.js +62 -0
  268. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-Dljgia_5.js +89 -0
  269. package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-CJ9RrCHi.js +87 -0
  270. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-CNWCOZ3J.js +80 -0
  271. package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-DxMsL99D.js +173 -0
  272. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-DcC2tk5e.js +62 -0
  273. package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-CfT5itY6.js +71 -0
  274. package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-3yEeDK5C.js +72 -0
  275. package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-U6uZKOP2.js +91 -0
  276. package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-Cg0f8D3d.js +72 -0
  277. package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-j4XRZ5d-.js +27 -0
  278. package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-Dq3RLRbP.js +30 -0
  279. package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-CN2OSjzz.js +113 -0
  280. package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-C15hiK8S.js +74 -0
  281. package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-DmSqLkyw.js +122 -0
  282. package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-Zmu_ssez.js +76 -0
  283. package/build/server/chunks/entries/endpoints/api/material/_server.ts.js-yC7n2KYv.js +82 -0
  284. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-CPV78xW2.js +97 -0
  285. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-BxmQE-FE.js +86 -0
  286. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-BeWEpiXb.js +82 -0
  287. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-UrWqlFdG.js +78 -0
  288. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-BxUjpR2E.js +27 -0
  289. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-BGUI1ywR.js +85 -0
  290. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-CG76gb67.js +39 -0
  291. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-DUNX2r7_.js +62 -0
  292. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-D9nLVgRb.js +39 -0
  293. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-oMfoh4Ah.js +42 -0
  294. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-JMHGAsyb.js +67 -0
  295. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-BCpkntgi.js +76 -0
  296. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-8GRXl64O.js +73 -0
  297. package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-DhchKC9R.js +77 -0
  298. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-xNIXjWR8.js +27 -0
  299. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-twMdQdvM.js +86 -0
  300. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-Cl8Y_XMS.js +67 -0
  301. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-uRKTUcKZ.js +76 -0
  302. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-BPqSdloV.js +88 -0
  303. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-ChLvuJzF.js +75 -0
  304. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-BFWcw3uj.js +98 -0
  305. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-BDWwIwG4.js +81 -0
  306. package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-FIo1kYPG.js +476 -0
  307. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-CRK_qlE_.js +92 -0
  308. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-rt_F9Gck.js +71 -0
  309. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-CN4N418U.js +81 -0
  310. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-NXDL1AIt.js +147 -0
  311. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-Bx6FOxyH.js +70 -0
  312. package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-BF7U7hZf.js +84 -0
  313. package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-Buwmwr3a.js +70 -0
  314. package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-DmFckgQZ.js +73 -0
  315. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-wjPrTCqs.js +67 -0
  316. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-BTNbFm0L.js +86 -0
  317. package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-DH-GDdeC.js +113 -0
  318. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-CsXUE-jP.js +79 -0
  319. package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-lVmWup8R.js +109 -0
  320. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-D-cCDMeu.js +127 -0
  321. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-BvKG9E_x.js +82 -0
  322. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-wqjtvkxA.js +85 -0
  323. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-CGdlzl2o.js +85 -0
  324. package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-D6cH9v5u.js +24 -0
  325. package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-DJrHSeDl.js +31 -0
  326. package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-_ns8xGIT.js +33 -0
  327. package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-DA9SIN__.js +97 -0
  328. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-DfbLKNYA.js +40 -0
  329. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-OZhWWX31.js +27 -0
  330. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-nrDhN7SO.js +27 -0
  331. package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-BePu6A81.js +78 -0
  332. package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-BAmWOBKl.js +68 -0
  333. package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-Dd7M1FY_.js +75 -0
  334. package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-C15nYJhw.js +88 -0
  335. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-B5rfjYNn.js +66 -0
  336. package/build/server/chunks/entries/hooks.server.js-BnwrGz6-.js +196 -0
  337. package/build/server/chunks/entries/pages/_layout.server.ts.js-THjNvDD6.js +55 -0
  338. package/build/server/chunks/entries/pages/_layout.svelte.js-Cp8Uxxpi.js +6006 -0
  339. package/build/server/chunks/entries/pages/_page.server.ts.js-DR5lnUFG.js +16 -0
  340. package/build/server/chunks/entries/pages/_page.svelte.js-DLPeUs6p.js +4593 -0
  341. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-C-X-wLp-.js +14 -0
  342. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-CgNhbXK9.js +16 -0
  343. package/build/server/chunks/entries/pages/documents/_page.server.ts.js-C93QYy4e.js +15 -0
  344. package/build/server/chunks/entries/pages/files/_page.server.ts.js-Bv5rH4u-.js +17 -0
  345. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-D5-jEVSP.js +11 -0
  346. package/build/server/chunks/entries/pages/health/_page.server.ts.js-Cu6iCJhZ.js +16 -0
  347. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-DkZQKqDd.js +18 -0
  348. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-fsfBoXAj.js +902 -0
  349. package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-i3HI6fSD.js +18 -0
  350. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-Ck9tfPyb.js +16 -0
  351. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-Bv6gzh2B.js +23 -0
  352. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-DWgjupIJ.js +21 -0
  353. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-BxuPoYf-.js +27 -0
  354. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-cL3Sf5fP.js +15 -0
  355. package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-nISxJTn1.js +25 -0
  356. package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-B9rsGPmm.js +37 -0
  357. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-Gi4XifDB.js +11 -0
  358. package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-V0k1LBjq.js +13 -0
  359. package/build/server/chunks/entries/pages/settings/_page.server.ts.js-C4RWaYbl.js +12 -0
  360. package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-PtP3-AwI.js +18 -0
  361. package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-CKCjjlmG.js +19 -0
  362. package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-DguOzst7.js +16 -0
  363. package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-CvY1aFlH.js +15 -0
  364. package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-CJ0LFmMB.js +797 -0
  365. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-w6uZoR8r.js +11 -0
  366. package/build/server/chunks/entries/pages/settings/material/_page.server.ts.js-CODeGWYL.js +11 -0
  367. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-BH5JNU-1.js +19 -0
  368. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-BP8mgXtM.js +17 -0
  369. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-C7O26AbH.js +11 -0
  370. package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-BPC2SXST.js +56 -0
  371. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-DTb80MKL.js +11 -0
  372. package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-C6NQtUiJ.js +15 -0
  373. package/build/server/chunks/entries/pages/setup/_page.server.ts.js--gBEXLmN.js +18 -0
  374. package/build/server/chunks/entries/pages/setup/_page.svelte.js-DjNN07X-.js +1625 -0
  375. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-BSEhQ40F.js +36 -0
  376. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-DN518_Dy.js +123 -0
  377. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-CpXvGvea.js +24 -0
  378. package/build/server/chunks/entries/pages/time/_page.server.ts.js-BrP865Pj.js +11 -0
  379. package/build/server/chunks/handler-n5Bmjcal.js +1474 -0
  380. package/build/server/chunks/index.js-Cl-xjRbU.js +4296 -0
  381. package/build/server/chunks/manifest.js-Bot1VZJG.js +1072 -0
  382. package/build/server/chunks/nodes/0.js-B2dfC98v.js +69 -0
  383. package/build/server/chunks/nodes/1.js-DXdO5VuN.js +9 -0
  384. package/build/server/chunks/nodes/10.js-DrrFBCDb.js +67 -0
  385. package/build/server/chunks/nodes/11.js-eZ6nuJfJ.js +69 -0
  386. package/build/server/chunks/nodes/12.js-W7G3oJaU.js +68 -0
  387. package/build/server/chunks/nodes/13.js-B52LnjRU.js +69 -0
  388. package/build/server/chunks/nodes/14.js-D9RwCROc.js +12 -0
  389. package/build/server/chunks/nodes/15.js-DClU6xqD.js +9 -0
  390. package/build/server/chunks/nodes/16.js-BEQ8CiCf.js +9 -0
  391. package/build/server/chunks/nodes/17.js-s5OiXTrB.js +67 -0
  392. package/build/server/chunks/nodes/18.js-CHw_g3ji.js +70 -0
  393. package/build/server/chunks/nodes/19.js-D4pC2xLj.js +68 -0
  394. package/build/server/chunks/nodes/2.js-CfstDIw0.js +67 -0
  395. package/build/server/chunks/nodes/20.js-BGStlUp6.js +69 -0
  396. package/build/server/chunks/nodes/21.js-u-DDJtGE.js +68 -0
  397. package/build/server/chunks/nodes/22.js-CAPUx3YW.js +69 -0
  398. package/build/server/chunks/nodes/23.js-B13yR7Ub.js +69 -0
  399. package/build/server/chunks/nodes/24.js-yLGoAzKz.js +25 -0
  400. package/build/server/chunks/nodes/25.js-D0zi8gfz.js +25 -0
  401. package/build/server/chunks/nodes/26.js-D5LsUhK5.js +9 -0
  402. package/build/server/chunks/nodes/27.js-BQngZk3i.js +25 -0
  403. package/build/server/chunks/nodes/28.js-He5EkTLY.js +67 -0
  404. package/build/server/chunks/nodes/3.js-DJZYTP8Z.js +9 -0
  405. package/build/server/chunks/nodes/30.js-By0aq65F.js +68 -0
  406. package/build/server/chunks/nodes/31.js-Dgili49D.js +67 -0
  407. package/build/server/chunks/nodes/32.js-Bi71fgsd.js +25 -0
  408. package/build/server/chunks/nodes/33.js-CK_kpBkt.js +67 -0
  409. package/build/server/chunks/nodes/34.js-Wl7k0KX5.js +25 -0
  410. package/build/server/chunks/nodes/35.js-CaG27nIh.js +22 -0
  411. package/build/server/chunks/nodes/36.js-B1Qj1XAO.js +67 -0
  412. package/build/server/chunks/nodes/37.js-DKBgaDTH.js +67 -0
  413. package/build/server/chunks/nodes/38.js-yQwnzphn.js +70 -0
  414. package/build/server/chunks/nodes/39.js-CkxS_B6R.js +70 -0
  415. package/build/server/chunks/nodes/4.js-BpyYS0K7.js +68 -0
  416. package/build/server/chunks/nodes/40.js-CHApU7Ye.js +26 -0
  417. package/build/server/chunks/nodes/41.js-BnlhSCRi.js +69 -0
  418. package/build/server/chunks/nodes/42.js-CJB1oL62.js +72 -0
  419. package/build/server/chunks/nodes/43.js-CAJ8Ml04.js +68 -0
  420. package/build/server/chunks/nodes/44.js-D5GvIT3i.js +68 -0
  421. package/build/server/chunks/nodes/45.js-CWzkEop_.js +67 -0
  422. package/build/server/chunks/nodes/5.js-DHVQ7I4u.js +67 -0
  423. package/build/server/chunks/nodes/6.js-7rcq5GGA.js +67 -0
  424. package/build/server/chunks/nodes/8.js-HKr5XMs3.js +67 -0
  425. package/build/server/chunks/nodes/9.js-BLrvaKEN.js +14 -0
  426. package/dist/cli.js +22 -3
  427. package/dist/wh-vault.js +1 -1
  428. package/firstmate-extension/firstmate-extension.json +1 -1
  429. package/package.json +1 -1
  430. package/skills/manage-wheelhouse/references/operations.md +1 -1
  431. package/build/client/_app/immutable/assets/0.DfMBwLbg.css +0 -1
  432. package/build/client/_app/immutable/assets/0.DfMBwLbg.css.br +0 -0
  433. package/build/client/_app/immutable/assets/0.DfMBwLbg.css.gz +0 -0
  434. package/build/client/_app/immutable/chunks/2W-Z5JI4.js +0 -6
  435. package/build/client/_app/immutable/chunks/2W-Z5JI4.js.br +0 -0
  436. package/build/client/_app/immutable/chunks/2W-Z5JI4.js.gz +0 -0
  437. package/build/client/_app/immutable/chunks/B8VobXs_.js +0 -1
  438. package/build/client/_app/immutable/chunks/B8VobXs_.js.br +0 -0
  439. package/build/client/_app/immutable/chunks/B8VobXs_.js.gz +0 -0
  440. package/build/client/_app/immutable/chunks/BEgjf0QM.js +0 -3
  441. package/build/client/_app/immutable/chunks/BEgjf0QM.js.br +0 -0
  442. package/build/client/_app/immutable/chunks/BEgjf0QM.js.gz +0 -0
  443. package/build/client/_app/immutable/chunks/BK-ZbQDl.js +0 -3
  444. package/build/client/_app/immutable/chunks/BK-ZbQDl.js.br +0 -0
  445. package/build/client/_app/immutable/chunks/BK-ZbQDl.js.gz +0 -0
  446. package/build/client/_app/immutable/chunks/BLBvc4wG.js +0 -1
  447. package/build/client/_app/immutable/chunks/BLBvc4wG.js.br +0 -0
  448. package/build/client/_app/immutable/chunks/BLBvc4wG.js.gz +0 -0
  449. package/build/client/_app/immutable/chunks/BQW0JOSW.js +0 -1
  450. package/build/client/_app/immutable/chunks/BQW0JOSW.js.br +0 -0
  451. package/build/client/_app/immutable/chunks/BQW0JOSW.js.gz +0 -0
  452. package/build/client/_app/immutable/chunks/BUvO7f76.js +0 -1
  453. package/build/client/_app/immutable/chunks/BUvO7f76.js.br +0 -0
  454. package/build/client/_app/immutable/chunks/BUvO7f76.js.gz +0 -0
  455. package/build/client/_app/immutable/chunks/Bjy472kL.js +0 -1
  456. package/build/client/_app/immutable/chunks/Bjy472kL.js.br +0 -0
  457. package/build/client/_app/immutable/chunks/Bjy472kL.js.gz +0 -0
  458. package/build/client/_app/immutable/chunks/BtJjoKJc.js +0 -1
  459. package/build/client/_app/immutable/chunks/BtJjoKJc.js.br +0 -0
  460. package/build/client/_app/immutable/chunks/BtJjoKJc.js.gz +0 -0
  461. package/build/client/_app/immutable/chunks/C-GEBIcR.js +0 -1
  462. package/build/client/_app/immutable/chunks/C-GEBIcR.js.br +0 -0
  463. package/build/client/_app/immutable/chunks/C-GEBIcR.js.gz +0 -0
  464. package/build/client/_app/immutable/chunks/C9fioDu6.js +0 -3
  465. package/build/client/_app/immutable/chunks/C9fioDu6.js.br +0 -0
  466. package/build/client/_app/immutable/chunks/C9fioDu6.js.gz +0 -0
  467. package/build/client/_app/immutable/chunks/C_jc8OLQ.js +0 -2
  468. package/build/client/_app/immutable/chunks/C_jc8OLQ.js.br +0 -0
  469. package/build/client/_app/immutable/chunks/C_jc8OLQ.js.gz +0 -0
  470. package/build/client/_app/immutable/chunks/CgEXMjiz.js +0 -2
  471. package/build/client/_app/immutable/chunks/CgEXMjiz.js.br +0 -0
  472. package/build/client/_app/immutable/chunks/CgEXMjiz.js.gz +0 -0
  473. package/build/client/_app/immutable/chunks/CjMxTOBq.js +0 -1
  474. package/build/client/_app/immutable/chunks/CjMxTOBq.js.br +0 -3
  475. package/build/client/_app/immutable/chunks/CjMxTOBq.js.gz +0 -0
  476. package/build/client/_app/immutable/chunks/CuUoVbbr.js +0 -7
  477. package/build/client/_app/immutable/chunks/CuUoVbbr.js.br +0 -0
  478. package/build/client/_app/immutable/chunks/CuUoVbbr.js.gz +0 -0
  479. package/build/client/_app/immutable/chunks/DVz0vqdR.js +0 -3
  480. package/build/client/_app/immutable/chunks/DVz0vqdR.js.br +0 -0
  481. package/build/client/_app/immutable/chunks/DVz0vqdR.js.gz +0 -0
  482. package/build/client/_app/immutable/chunks/DWebbZSk.js +0 -1
  483. package/build/client/_app/immutable/chunks/DWebbZSk.js.br +0 -0
  484. package/build/client/_app/immutable/chunks/DWebbZSk.js.gz +0 -0
  485. package/build/client/_app/immutable/chunks/DbrTDc61.js +0 -2
  486. package/build/client/_app/immutable/chunks/DbrTDc61.js.br +0 -0
  487. package/build/client/_app/immutable/chunks/DbrTDc61.js.gz +0 -0
  488. package/build/client/_app/immutable/chunks/DjL5SSmX.js +0 -1
  489. package/build/client/_app/immutable/chunks/DjL5SSmX.js.br +0 -0
  490. package/build/client/_app/immutable/chunks/DjL5SSmX.js.gz +0 -0
  491. package/build/client/_app/immutable/chunks/DqzJcWdz.js +0 -7
  492. package/build/client/_app/immutable/chunks/DqzJcWdz.js.br +0 -0
  493. package/build/client/_app/immutable/chunks/DqzJcWdz.js.gz +0 -0
  494. package/build/client/_app/immutable/chunks/Dt_W6bJ0.js +0 -8
  495. package/build/client/_app/immutable/chunks/Dt_W6bJ0.js.br +0 -0
  496. package/build/client/_app/immutable/chunks/Dt_W6bJ0.js.gz +0 -0
  497. package/build/client/_app/immutable/chunks/KA0hGoA4.js +0 -6
  498. package/build/client/_app/immutable/chunks/KA0hGoA4.js.br +0 -0
  499. package/build/client/_app/immutable/chunks/KA0hGoA4.js.gz +0 -0
  500. package/build/client/_app/immutable/chunks/SfXgPswE.js +0 -1
  501. package/build/client/_app/immutable/chunks/SfXgPswE.js.br +0 -0
  502. package/build/client/_app/immutable/chunks/SfXgPswE.js.gz +0 -0
  503. package/build/client/_app/immutable/chunks/YcVqGYFt.js +0 -1
  504. package/build/client/_app/immutable/chunks/YcVqGYFt.js.br +0 -0
  505. package/build/client/_app/immutable/chunks/YcVqGYFt.js.gz +0 -0
  506. package/build/client/_app/immutable/entry/app.6aVOb1Uz.js +0 -2
  507. package/build/client/_app/immutable/entry/app.6aVOb1Uz.js.br +0 -0
  508. package/build/client/_app/immutable/entry/app.6aVOb1Uz.js.gz +0 -0
  509. package/build/client/_app/immutable/entry/start.C9DnA0q7.js +0 -1
  510. package/build/client/_app/immutable/entry/start.C9DnA0q7.js.br +0 -0
  511. package/build/client/_app/immutable/entry/start.C9DnA0q7.js.gz +0 -0
  512. package/build/client/_app/immutable/nodes/0.DWSMVnbu.js +0 -9
  513. package/build/client/_app/immutable/nodes/0.DWSMVnbu.js.br +0 -0
  514. package/build/client/_app/immutable/nodes/0.DWSMVnbu.js.gz +0 -0
  515. package/build/client/_app/immutable/nodes/1.BzXlGZ2U.js +0 -1
  516. package/build/client/_app/immutable/nodes/1.BzXlGZ2U.js.br +0 -0
  517. package/build/client/_app/immutable/nodes/1.BzXlGZ2U.js.gz +0 -0
  518. package/build/client/_app/immutable/nodes/10.BxHK3pGi.js +0 -10
  519. package/build/client/_app/immutable/nodes/10.BxHK3pGi.js.br +0 -0
  520. package/build/client/_app/immutable/nodes/10.BxHK3pGi.js.gz +0 -0
  521. package/build/client/_app/immutable/nodes/11.XNgdEDHk.js +0 -9
  522. package/build/client/_app/immutable/nodes/11.XNgdEDHk.js.br +0 -0
  523. package/build/client/_app/immutable/nodes/11.XNgdEDHk.js.gz +0 -0
  524. package/build/client/_app/immutable/nodes/12.D1uwgzd0.js +0 -11
  525. package/build/client/_app/immutable/nodes/12.D1uwgzd0.js.br +0 -0
  526. package/build/client/_app/immutable/nodes/12.D1uwgzd0.js.gz +0 -0
  527. package/build/client/_app/immutable/nodes/13.DWzeDWiy.js +0 -2
  528. package/build/client/_app/immutable/nodes/13.DWzeDWiy.js.br +0 -0
  529. package/build/client/_app/immutable/nodes/13.DWzeDWiy.js.gz +0 -0
  530. package/build/client/_app/immutable/nodes/14.ChUvGP_y.js +0 -6
  531. package/build/client/_app/immutable/nodes/14.ChUvGP_y.js.br +0 -0
  532. package/build/client/_app/immutable/nodes/14.ChUvGP_y.js.gz +0 -0
  533. package/build/client/_app/immutable/nodes/15.76S1wAO_.js +0 -1
  534. package/build/client/_app/immutable/nodes/15.76S1wAO_.js.br +0 -0
  535. package/build/client/_app/immutable/nodes/15.76S1wAO_.js.gz +0 -0
  536. package/build/client/_app/immutable/nodes/16.CU50Mhmv.js +0 -10
  537. package/build/client/_app/immutable/nodes/16.CU50Mhmv.js.br +0 -0
  538. package/build/client/_app/immutable/nodes/16.CU50Mhmv.js.gz +0 -0
  539. package/build/client/_app/immutable/nodes/17.CMp7ha6d.js +0 -1
  540. package/build/client/_app/immutable/nodes/17.CMp7ha6d.js.br +0 -0
  541. package/build/client/_app/immutable/nodes/17.CMp7ha6d.js.gz +0 -0
  542. package/build/client/_app/immutable/nodes/18.DRg05Jls.js +0 -3
  543. package/build/client/_app/immutable/nodes/18.DRg05Jls.js.br +0 -0
  544. package/build/client/_app/immutable/nodes/18.DRg05Jls.js.gz +0 -0
  545. package/build/client/_app/immutable/nodes/19.BI2epLMk.js +0 -1
  546. package/build/client/_app/immutable/nodes/19.BI2epLMk.js.br +0 -0
  547. package/build/client/_app/immutable/nodes/19.BI2epLMk.js.gz +0 -0
  548. package/build/client/_app/immutable/nodes/2.CaUuAgdB.js +0 -29
  549. package/build/client/_app/immutable/nodes/2.CaUuAgdB.js.br +0 -0
  550. package/build/client/_app/immutable/nodes/2.CaUuAgdB.js.gz +0 -0
  551. package/build/client/_app/immutable/nodes/20.C1KAAIxf.js +0 -14
  552. package/build/client/_app/immutable/nodes/20.C1KAAIxf.js.br +0 -0
  553. package/build/client/_app/immutable/nodes/20.C1KAAIxf.js.gz +0 -0
  554. package/build/client/_app/immutable/nodes/21.CfV6s1iU.js +0 -150
  555. package/build/client/_app/immutable/nodes/21.CfV6s1iU.js.br +0 -0
  556. package/build/client/_app/immutable/nodes/21.CfV6s1iU.js.gz +0 -0
  557. package/build/client/_app/immutable/nodes/22.Ch_ULXhp.js +0 -3
  558. package/build/client/_app/immutable/nodes/22.Ch_ULXhp.js.br +0 -0
  559. package/build/client/_app/immutable/nodes/22.Ch_ULXhp.js.gz +0 -0
  560. package/build/client/_app/immutable/nodes/23.Bp4YJCR4.js +0 -2
  561. package/build/client/_app/immutable/nodes/23.Bp4YJCR4.js.br +0 -0
  562. package/build/client/_app/immutable/nodes/23.Bp4YJCR4.js.gz +0 -0
  563. package/build/client/_app/immutable/nodes/24.wpJ0lGqR.js +0 -25
  564. package/build/client/_app/immutable/nodes/24.wpJ0lGqR.js.br +0 -0
  565. package/build/client/_app/immutable/nodes/24.wpJ0lGqR.js.gz +0 -0
  566. package/build/client/_app/immutable/nodes/25.C-cl_M8R.js +0 -5
  567. package/build/client/_app/immutable/nodes/25.C-cl_M8R.js.br +0 -0
  568. package/build/client/_app/immutable/nodes/25.C-cl_M8R.js.gz +0 -0
  569. package/build/client/_app/immutable/nodes/26.DHp6s5_l.js +0 -18
  570. package/build/client/_app/immutable/nodes/26.DHp6s5_l.js.br +0 -0
  571. package/build/client/_app/immutable/nodes/26.DHp6s5_l.js.gz +0 -0
  572. package/build/client/_app/immutable/nodes/28.CKt64AFX.js +0 -4
  573. package/build/client/_app/immutable/nodes/28.CKt64AFX.js.br +0 -0
  574. package/build/client/_app/immutable/nodes/28.CKt64AFX.js.gz +0 -0
  575. package/build/client/_app/immutable/nodes/3.GLQ98zQD.js +0 -2
  576. package/build/client/_app/immutable/nodes/3.GLQ98zQD.js.br +0 -0
  577. package/build/client/_app/immutable/nodes/3.GLQ98zQD.js.gz +0 -0
  578. package/build/client/_app/immutable/nodes/30.CC4fX7M9.js +0 -6
  579. package/build/client/_app/immutable/nodes/30.CC4fX7M9.js.br +0 -0
  580. package/build/client/_app/immutable/nodes/30.CC4fX7M9.js.gz +0 -0
  581. package/build/client/_app/immutable/nodes/31.DKQyPU5J.js +0 -8
  582. package/build/client/_app/immutable/nodes/31.DKQyPU5J.js.br +0 -0
  583. package/build/client/_app/immutable/nodes/31.DKQyPU5J.js.gz +0 -0
  584. package/build/client/_app/immutable/nodes/32.BhU_uihJ.js +0 -2
  585. package/build/client/_app/immutable/nodes/32.BhU_uihJ.js.br +0 -0
  586. package/build/client/_app/immutable/nodes/32.BhU_uihJ.js.gz +0 -0
  587. package/build/client/_app/immutable/nodes/33.n9mD48QO.js +0 -5
  588. package/build/client/_app/immutable/nodes/33.n9mD48QO.js.br +0 -0
  589. package/build/client/_app/immutable/nodes/33.n9mD48QO.js.gz +0 -0
  590. package/build/client/_app/immutable/nodes/34.Bda0SNWt.js +0 -4
  591. package/build/client/_app/immutable/nodes/34.Bda0SNWt.js.br +0 -0
  592. package/build/client/_app/immutable/nodes/34.Bda0SNWt.js.gz +0 -0
  593. package/build/client/_app/immutable/nodes/35.BJ9lPsn1.js +0 -3
  594. package/build/client/_app/immutable/nodes/35.BJ9lPsn1.js.br +0 -0
  595. package/build/client/_app/immutable/nodes/35.BJ9lPsn1.js.gz +0 -0
  596. package/build/client/_app/immutable/nodes/36.CCaFOlSB.js +0 -5
  597. package/build/client/_app/immutable/nodes/36.CCaFOlSB.js.br +0 -0
  598. package/build/client/_app/immutable/nodes/36.CCaFOlSB.js.gz +0 -0
  599. package/build/client/_app/immutable/nodes/37.x8S2CZfa.js +0 -7
  600. package/build/client/_app/immutable/nodes/37.x8S2CZfa.js.br +0 -0
  601. package/build/client/_app/immutable/nodes/37.x8S2CZfa.js.gz +0 -0
  602. package/build/client/_app/immutable/nodes/38.BiTsuWZ5.js +0 -2
  603. package/build/client/_app/immutable/nodes/38.BiTsuWZ5.js.br +0 -0
  604. package/build/client/_app/immutable/nodes/38.BiTsuWZ5.js.gz +0 -0
  605. package/build/client/_app/immutable/nodes/39.5bxoCQ_m.js +0 -4
  606. package/build/client/_app/immutable/nodes/39.5bxoCQ_m.js.br +0 -0
  607. package/build/client/_app/immutable/nodes/39.5bxoCQ_m.js.gz +0 -0
  608. package/build/client/_app/immutable/nodes/4.DSFXcNkB.js +0 -5
  609. package/build/client/_app/immutable/nodes/4.DSFXcNkB.js.br +0 -0
  610. package/build/client/_app/immutable/nodes/4.DSFXcNkB.js.gz +0 -0
  611. package/build/client/_app/immutable/nodes/40.BSKlTaCk.js +0 -7
  612. package/build/client/_app/immutable/nodes/40.BSKlTaCk.js.br +0 -0
  613. package/build/client/_app/immutable/nodes/40.BSKlTaCk.js.gz +0 -0
  614. package/build/client/_app/immutable/nodes/41.4ATm7rK7.js +0 -6
  615. package/build/client/_app/immutable/nodes/41.4ATm7rK7.js.br +0 -0
  616. package/build/client/_app/immutable/nodes/41.4ATm7rK7.js.gz +0 -0
  617. package/build/client/_app/immutable/nodes/42.CPN2sikV.js +0 -23
  618. package/build/client/_app/immutable/nodes/42.CPN2sikV.js.br +0 -0
  619. package/build/client/_app/immutable/nodes/42.CPN2sikV.js.gz +0 -0
  620. package/build/client/_app/immutable/nodes/43.Br0Ma07w.js +0 -1
  621. package/build/client/_app/immutable/nodes/43.Br0Ma07w.js.br +0 -1
  622. package/build/client/_app/immutable/nodes/43.Br0Ma07w.js.gz +0 -0
  623. package/build/client/_app/immutable/nodes/45.Dy7BRywK.js +0 -6
  624. package/build/client/_app/immutable/nodes/45.Dy7BRywK.js.br +0 -0
  625. package/build/client/_app/immutable/nodes/45.Dy7BRywK.js.gz +0 -0
  626. package/build/client/_app/immutable/nodes/5.BMVgh--_.js +0 -1
  627. package/build/client/_app/immutable/nodes/5.BMVgh--_.js.br +0 -0
  628. package/build/client/_app/immutable/nodes/5.BMVgh--_.js.gz +0 -0
  629. package/build/client/_app/immutable/nodes/6.DLmCqe_7.js +0 -6
  630. package/build/client/_app/immutable/nodes/6.DLmCqe_7.js.br +0 -0
  631. package/build/client/_app/immutable/nodes/6.DLmCqe_7.js.gz +0 -0
  632. package/build/client/_app/immutable/nodes/9.BzzluJqq.js +0 -3
  633. package/build/client/_app/immutable/nodes/9.BzzluJqq.js.br +0 -0
  634. package/build/client/_app/immutable/nodes/9.BzzluJqq.js.gz +0 -0
  635. package/build/server/chunks/chunks/DecisionForm.js-BuZwcsBO.js +0 -744
  636. package/build/server/chunks/chunks/PreviewWindow.js-B0EogasX.js +0 -966
  637. package/build/server/chunks/chunks/TaskView.js-DL9dNvag.js +0 -3109
  638. package/build/server/chunks/chunks/detail.js-CsPmgpZG.js +0 -149
  639. package/build/server/chunks/chunks/features.js-Gpn3GBDq.js +0 -181
  640. package/build/server/chunks/chunks/feedback.js-CbPNvwUQ.js +0 -67
  641. package/build/server/chunks/chunks/internal.js-p6DB5uIC.js +0 -151
  642. package/build/server/chunks/chunks/livereview.js-FqdWoyiJ.js +0 -261
  643. package/build/server/chunks/chunks/marketplace-service.js-BGTkusMO.js +0 -557
  644. package/build/server/chunks/chunks/package.js-BJEMsBvk.js +0 -160
  645. package/build/server/chunks/chunks/page.js-Ccoh7Vqe.js +0 -13
  646. package/build/server/chunks/chunks/previewhelper.js-Cz95M8xJ.js +0 -246
  647. package/build/server/chunks/chunks/previewhelper2.js-BJQ2lJ3m.js +0 -214
  648. package/build/server/chunks/chunks/repo.js-BMNiWLpT.js +0 -33
  649. package/build/server/chunks/chunks/runtime.js-DJQXqRdQ.js +0 -27438
  650. package/build/server/chunks/chunks/scribe.js-tIfZA7xN.js +0 -1591
  651. package/build/server/chunks/chunks/service.js-B4mG3DYP.js +0 -1339
  652. package/build/server/chunks/chunks/service2.js-BahOZYXd.js +0 -835
  653. package/build/server/chunks/chunks/service3.js-CqTcyS0v.js +0 -234
  654. package/build/server/chunks/chunks/sessions.js-OvqNZqST.js +0 -579
  655. package/build/server/chunks/chunks/settings.js-DFn7wj1U.js +0 -379
  656. package/build/server/chunks/chunks/starter.js-D3I_J5JY.js +0 -400
  657. package/build/server/chunks/chunks/store.js-CG9738oP.js +0 -334
  658. package/build/server/chunks/chunks/terminal.js-CjdVxoU8.js +0 -86
  659. package/build/server/chunks/chunks/tmux.js-NVfcOTW_.js +0 -504
  660. package/build/server/chunks/chunks/tools.js-BE5l3Gq7.js +0 -156
  661. package/build/server/chunks/chunks/uploads.js-Ca6miTnP.js +0 -107
  662. package/build/server/chunks/chunks/view.js-wA-smnFH.js +0 -76
  663. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-D9PcKh3g.js +0 -116
  664. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-CjUNKLrf.js +0 -112
  665. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-5avwi5oz.js +0 -63
  666. package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-AKR-qjYy.js +0 -79
  667. package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-DZFGLF1Q.js +0 -83
  668. package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-C2N9coJv.js +0 -68
  669. package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-KfgVlHqz.js +0 -73
  670. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-D_xyapKL.js +0 -158
  671. package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-OAN9aLRH.js +0 -57
  672. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-BDUcSEd8.js +0 -75
  673. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-CUUpVzkc.js +0 -111
  674. package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-BNramo6r.js +0 -87
  675. package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-Ce1h3kfx.js +0 -77
  676. package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-CAJE78Lo.js +0 -70
  677. package/build/server/chunks/entries/endpoints/api/firstmate/cleared/_server.ts.js-U2rqxTDf.js +0 -90
  678. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-D6DPeMTW.js +0 -70
  679. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-u4yQt1dz.js +0 -71
  680. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-C0BMylqN.js +0 -77
  681. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-B7XrU8Ej.js +0 -70
  682. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-79S8hOXA.js +0 -119
  683. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-C2DvyWLS.js +0 -80
  684. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-BzPvc18F.js +0 -91
  685. package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-DdUxmX10.js +0 -79
  686. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-6wKh1TLT.js +0 -70
  687. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CTeOLkL7.js +0 -32
  688. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-BhwGi92i.js +0 -40
  689. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-antz5Wg1.js +0 -62
  690. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-BiTFYHYM.js +0 -62
  691. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-CYY-QyFc.js +0 -89
  692. package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-DkceMopf.js +0 -87
  693. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-yarh1oFD.js +0 -80
  694. package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-AqSfRAeV.js +0 -172
  695. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-DygQVm5r.js +0 -62
  696. package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-Bv-lc2Dp.js +0 -71
  697. package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-DZF4phEQ.js +0 -72
  698. package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-Cb05FHFg.js +0 -91
  699. package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-YSnBSoPJ.js +0 -72
  700. package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-DpJi8gTx.js +0 -27
  701. package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-Dmi2TtY2.js +0 -30
  702. package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-BPQRazAe.js +0 -113
  703. package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-CH0_OmoG.js +0 -74
  704. package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-DafWFB7Y.js +0 -122
  705. package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-B2M-AqIs.js +0 -76
  706. package/build/server/chunks/entries/endpoints/api/material/_server.ts.js-Dxh4791C.js +0 -82
  707. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-BeZyhWwV.js +0 -97
  708. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-DejwVPNd.js +0 -86
  709. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-CmzM1s9n.js +0 -81
  710. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-D-p3t3Ze.js +0 -78
  711. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-dE5eeZCt.js +0 -27
  712. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-fxpowS94.js +0 -85
  713. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-_pJjtt0h.js +0 -39
  714. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-f36XcSuf.js +0 -62
  715. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-DkYDSObA.js +0 -39
  716. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DdPBb_cr.js +0 -42
  717. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-CTr9gkCG.js +0 -67
  718. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-CddDdsai.js +0 -76
  719. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-DSEjtxkz.js +0 -73
  720. package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-CxkDf5wJ.js +0 -77
  721. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-XxwY9a-5.js +0 -27
  722. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-CDrNT6X0.js +0 -86
  723. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BDSyvuH3.js +0 -67
  724. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-B5zTJ5O4.js +0 -76
  725. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-B7BoXJgA.js +0 -88
  726. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-DMYYlDpJ.js +0 -75
  727. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-DOFwAfye.js +0 -98
  728. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-CnHnIZ6E.js +0 -81
  729. package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js--xUjoga6.js +0 -476
  730. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-Be_5zEj8.js +0 -92
  731. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-BvgvjIBq.js +0 -71
  732. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DdXWTx03.js +0 -81
  733. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-BKk9Ll-u.js +0 -141
  734. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-B9536lVH.js +0 -70
  735. package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-DDs-cosG.js +0 -84
  736. package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-Ci34F1V5.js +0 -70
  737. package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-R9whsGKw.js +0 -73
  738. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-BLhl2yBE.js +0 -67
  739. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-DTLYL0-D.js +0 -86
  740. package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-Dzj5vOx8.js +0 -113
  741. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-B5FDVqwA.js +0 -79
  742. package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-D4zPSZ88.js +0 -108
  743. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-DFoNUQcA.js +0 -127
  744. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-BA04zsJk.js +0 -82
  745. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-FV1tDAdh.js +0 -84
  746. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-BvZqpd3s.js +0 -85
  747. package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-S9prx9vC.js +0 -24
  748. package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-Dp2D88Hg.js +0 -31
  749. package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-CN6djCZa.js +0 -33
  750. package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-sq9_SL7A.js +0 -97
  751. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-BAU4dTMQ.js +0 -40
  752. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-BOjh1Ioo.js +0 -27
  753. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-BRNGvMwk.js +0 -27
  754. package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-CP7QSezx.js +0 -78
  755. package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-Bk9O9q5t.js +0 -68
  756. package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-Cx6KHP5b.js +0 -75
  757. package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-Daiu4PvP.js +0 -87
  758. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-DSqq_unQ.js +0 -66
  759. package/build/server/chunks/entries/hooks.server.js-OPdkA0C6.js +0 -196
  760. package/build/server/chunks/entries/pages/_layout.server.ts.js-CnwyuHHr.js +0 -55
  761. package/build/server/chunks/entries/pages/_layout.svelte.js-mE1ylvZx.js +0 -6006
  762. package/build/server/chunks/entries/pages/_page.server.ts.js-DXHSdgKN.js +0 -16
  763. package/build/server/chunks/entries/pages/_page.svelte.js-DhO54eIH.js +0 -4593
  764. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-CvN429mT.js +0 -14
  765. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-MI3gtfPq.js +0 -16
  766. package/build/server/chunks/entries/pages/documents/_page.server.ts.js-Cce-H1ll.js +0 -15
  767. package/build/server/chunks/entries/pages/files/_page.server.ts.js-957W6If0.js +0 -17
  768. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-B3Xw6qRM.js +0 -11
  769. package/build/server/chunks/entries/pages/health/_page.server.ts.js-Vxgm70Dc.js +0 -16
  770. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-BIOd6lp9.js +0 -18
  771. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-BNw3v_6q.js +0 -902
  772. package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-BX71gi3v.js +0 -18
  773. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-CvM_SK88.js +0 -16
  774. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-CQkwCmR2.js +0 -23
  775. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BzW06RDz.js +0 -21
  776. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-_ZLQP0D3.js +0 -27
  777. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-CgWdJdSH.js +0 -15
  778. package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-BSozTmxi.js +0 -25
  779. package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-CacIW2f6.js +0 -37
  780. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-j0EfpwgB.js +0 -11
  781. package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-DHwDkHQd.js +0 -13
  782. package/build/server/chunks/entries/pages/settings/_page.server.ts.js-BjXcuDrf.js +0 -12
  783. package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-Ce3pOlIb.js +0 -18
  784. package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-D8Spt9L_.js +0 -19
  785. package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-Sfv9QKb6.js +0 -16
  786. package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-Byqrbco1.js +0 -15
  787. package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-BDBoJr8G.js +0 -797
  788. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-D7NBRqtu.js +0 -11
  789. package/build/server/chunks/entries/pages/settings/material/_page.server.ts.js-CBJ6AP8J.js +0 -11
  790. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-hAb_1Pgk.js +0 -19
  791. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-DL400CnR.js +0 -17
  792. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-DeMmrEze.js +0 -11
  793. package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-B15qFvG8.js +0 -56
  794. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-SHYbDgkT.js +0 -11
  795. package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-CzKBcuKb.js +0 -15
  796. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-E1D97bN3.js +0 -18
  797. package/build/server/chunks/entries/pages/setup/_page.svelte.js-BRfAhgMm.js +0 -1440
  798. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-QVWV3i7U.js +0 -36
  799. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-CljLpMWM.js +0 -123
  800. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BuP6zTpe.js +0 -24
  801. package/build/server/chunks/entries/pages/time/_page.server.ts.js-Dz9szXug.js +0 -11
  802. package/build/server/chunks/handler-ByDIse8C.js +0 -1474
  803. package/build/server/chunks/index.js-CXZmR6O7.js +0 -4296
  804. package/build/server/chunks/manifest.js-BEqSl-cy.js +0 -1072
  805. package/build/server/chunks/nodes/0.js-oiyIe2Vu.js +0 -69
  806. package/build/server/chunks/nodes/1.js-DlwrZ6Gg.js +0 -9
  807. package/build/server/chunks/nodes/10.js-Dlzo0ARt.js +0 -67
  808. package/build/server/chunks/nodes/11.js-3CIngrBx.js +0 -69
  809. package/build/server/chunks/nodes/12.js-C8vukjNr.js +0 -68
  810. package/build/server/chunks/nodes/13.js-CYNh5gyT.js +0 -69
  811. package/build/server/chunks/nodes/14.js-CPXLSzbY.js +0 -12
  812. package/build/server/chunks/nodes/15.js-Dub7hTqq.js +0 -9
  813. package/build/server/chunks/nodes/16.js-C8nNbyYd.js +0 -9
  814. package/build/server/chunks/nodes/17.js-BV9nzy9p.js +0 -67
  815. package/build/server/chunks/nodes/18.js-l6eMrcJq.js +0 -70
  816. package/build/server/chunks/nodes/19.js-Wi8bHCfi.js +0 -68
  817. package/build/server/chunks/nodes/2.js-CDl0JhLt.js +0 -67
  818. package/build/server/chunks/nodes/20.js-DjoTMz45.js +0 -69
  819. package/build/server/chunks/nodes/21.js-Bj9mM2_M.js +0 -68
  820. package/build/server/chunks/nodes/22.js-Dhl6iImC.js +0 -69
  821. package/build/server/chunks/nodes/23.js-C3oPquuF.js +0 -69
  822. package/build/server/chunks/nodes/24.js-BzUVjKqb.js +0 -25
  823. package/build/server/chunks/nodes/25.js-DQBLyNC9.js +0 -25
  824. package/build/server/chunks/nodes/26.js-BkuS7LnV.js +0 -9
  825. package/build/server/chunks/nodes/27.js-CnXwkd_G.js +0 -25
  826. package/build/server/chunks/nodes/28.js-DBwFh5nf.js +0 -67
  827. package/build/server/chunks/nodes/3.js-Dc9ECm3T.js +0 -9
  828. package/build/server/chunks/nodes/30.js-CEObWsJv.js +0 -68
  829. package/build/server/chunks/nodes/31.js-BE92hqSd.js +0 -67
  830. package/build/server/chunks/nodes/32.js-1J1C3YKQ.js +0 -25
  831. package/build/server/chunks/nodes/33.js-DsCRGOrj.js +0 -67
  832. package/build/server/chunks/nodes/34.js-DznjwRsZ.js +0 -25
  833. package/build/server/chunks/nodes/35.js-DVmm0h3k.js +0 -22
  834. package/build/server/chunks/nodes/36.js-D-jkGXqd.js +0 -67
  835. package/build/server/chunks/nodes/37.js-D8TsyiY7.js +0 -67
  836. package/build/server/chunks/nodes/38.js-0rjQArMO.js +0 -70
  837. package/build/server/chunks/nodes/39.js-BXRs_NOY.js +0 -69
  838. package/build/server/chunks/nodes/4.js-_XSa1lFT.js +0 -68
  839. package/build/server/chunks/nodes/40.js-D9FdftYM.js +0 -26
  840. package/build/server/chunks/nodes/41.js-BjHXYkkm.js +0 -69
  841. package/build/server/chunks/nodes/42.js-BDjOwoHJ.js +0 -71
  842. package/build/server/chunks/nodes/43.js-DJMUtY54.js +0 -68
  843. package/build/server/chunks/nodes/44.js-OHSz1t4g.js +0 -68
  844. package/build/server/chunks/nodes/45.js-BnUFTyTY.js +0 -67
  845. package/build/server/chunks/nodes/5.js-CvDgAWWx.js +0 -67
  846. package/build/server/chunks/nodes/6.js-VgQEx5Yj.js +0 -67
  847. package/build/server/chunks/nodes/8.js-1QlESYMi.js +0 -67
  848. package/build/server/chunks/nodes/9.js-BIhukgpQ.js +0 -14
@@ -1 +0,0 @@
1
- import{r as k,s as y}from"./BK-ZbQDl.js";import{h as S,r as C}from"./B0l1zoaP.js";import{e as M,a as $}from"./Dc0ohDnQ.js";const d=":firstmate",c="all",m=e=>e.secondMate?.id??d;function I(e,a){if(e.secondMate)return e.secondMate.id;const i=a.find(s=>s.id===e.taskId);return i?m(i):d}function O(e){if(e.length<2)return"";const a=e[0].match(/[-_.][^-_.]+$/)?.[0];return a&&e.every(i=>i.endsWith(a)&&i.length>a.length)?a:""}function W(e,a=[]){const i=[...new Set(a.map(t=>t.crew))].filter(t=>t!==d&&!e.some(l=>l.id===t)),s=O([...e.map(t=>t.id),...i]),r=t=>s?t.slice(0,-s.length):t;return[{id:d,label:"Firstmate",short:"Firstmate",mate:null},...e.map(t=>({id:t.id,label:t.id,short:r(t.id),mate:t})),...i.map(t=>({id:t,label:t,short:r(t),mate:null}))]}const Y=(e,a)=>e&&a.some(i=>i.id===e)?e:c,T=(e,a)=>e===c||e===a;function x(e){const a=e.passage.steps[e.passage.current];return a?.failed?{label:`${a.label} failed`,icon:"danger",tone:"danger"}:e.status==="failed"?{label:"Failed",icon:"danger",tone:"danger"}:e.status==="blocked"?{label:"Stuck",icon:"aground",tone:"danger"}:e.status==="lost"||e.status==="unknown"?{label:"Not responding",icon:"becalmed",tone:"warning"}:e.attention?.owner==="captain"?e.attention.kind==="review"?e.attention.approved?{label:"Your merge",icon:"flag",tone:"sea"}:{label:"Your review",icon:"flag",tone:"sea"}:{label:"Your call",icon:"flag",tone:"sea"}:e.attention?.owner==="reviewers"?{label:"With reviewers",icon:"spyglass",tone:"muted"}:e.status==="waiting"&&a?.column==="review"?{label:a.label,icon:"flag",tone:"sea"}:e.addressingReview?{label:k(e)??"Changes requested",icon:e.busy?"sailing":"anchored",tone:e.busy?"busy":"muted"}:e.status==="with-firstmate"?{label:"Firstmate deciding",icon:"compass",tone:"warning"}:e.status==="queued"?{label:"Queued",icon:"buoy",tone:"quiet"}:e.status==="landed"?{label:"Landed",icon:"moored",tone:"success"}:y(e)?{label:`Checks: ${e.pipeline.label}`,icon:"lighthouse",tone:e.busy?"busy":"muted"}:e.busy?{label:"Working",icon:"sailing",tone:"busy"}:{label:"Idle",icon:"anchored",tone:"muted"}}const A={label:"Your call",icon:"flag",tone:"sea"};function _(e,a){const i=e?Date.parse(e):NaN;if(Number.isNaN(i))return"";const s=Math.max(0,(a-i)/1e3);if(s<60)return"now";const r=Math.round(s/60);if(r<60)return`${r}m`;const t=Math.round(r/60);return t<24?`${t}h`:`${Math.round(t/24)}d`}const o=(e,a)=>({kind:"task",key:`task:${e.id}`,task:e,text:a,crew:m(e),at:e.mergedAt??e.activity?.at??e.since});function q(e,a,i,s=null){const r=n=>!s||n===s,t=S(e,a),l=(i?.shown??[]).filter(n=>M(n)&&!$(n)&&r(n.projectId)),f=n=>n.secondMate?.taskId?`${n.secondMate.taskId}@${n.secondMate.id}`:n.taskId,b=new Set((i?.all??[]).filter(n=>n.kind==="hold").map(f)),g=new Set(l.filter(n=>n.kind==="merge").map(f)),u=new Set(t.stepFailed.map(n=>n.id)),p=t.stepFailed.filter(n=>!t.needsYou.includes(n)),w=t.needsYou.filter(n=>!(n.attention?.kind==="decision"&&b.has(n.id))&&!(n.attention?.kind==="review"&&g.has(n.id))),h=n=>n.attention?.kind==="decision"&&n.attention.text||n.shortTitle;return{h:t,needs:[...l.map(n=>({kind:"decision",key:`decision:${n.id}`,card:n,text:n.title,crew:I(n,e),at:n.askedAt})),...p.map(n=>o(n,n.shortTitle)),...w.map(n=>o(n,h(n)))],withFirstmate:t.waitingOnFirstmate.filter(n=>!u.has(n.id)).map(n=>o(n,h(n))),under:C(t).filter(n=>!u.has(n.id)).map(n=>o(n,n.shortTitle)),next:t.queued.map(n=>o(n,n.shortTitle)),landed:t.landedRecent.filter(n=>!u.has(n.id)).map(n=>o(n,n.shortTitle))}}function E(e,a,i){return a.filter(s=>T(i,s.id)).map(s=>({crew:s,lines:e.filter(r=>r.crew===s.id)})).filter(s=>s.lines.length||i!==c)}export{c as A,A as D,d as O,Y as a,E as b,W as c,q as d,T as i,x as l,_ as s};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{t as m,a as d,c as u,p as I,f as J,i as e,s as $,b as K,j as v,o as W,h as F,r as x,x as ae}from"./Jk-ASPRO.js";import{s as M}from"./DTApYZoW.js";import{i as _}from"./BEVJas-l.js";import{s as b,e as Y,a as y,j as q}from"./DNP6oCAK.js";import{t as re}from"./DE0e4nJ8.js";import{p as N}from"./DQWg__9S.js";import{l as oe}from"./BK-ZbQDl.js";import{p as se}from"./D-jtpdBG.js";import{t as ne,d as ie,a as de}from"./DrX7Uhja.js";import{S as le}from"./voMZUjSQ.js";var ue=u('<span aria-hidden="true"></span>');function pe(p,s){let n=N(s,"class",3,"");var a=ue();m(()=>b(a,1,`pointer-events-none absolute inset-0 rounded-full opacity-40 motion-safe:animate-ping ${n()??""}`)),d(p,a)}var ce=u('<p class="mb-1.5 text-xs font-medium text-muted-foreground" data-run-label=""> </p>'),G=u("<span></span>"),me=u("<span><!></span>"),fe=u('<span class="relative z-10 mt-[2px] size-2 rounded-full border border-dashed border-muted-foreground/50 bg-card"></span>'),ve=u('<li class="relative flex min-w-0 flex-col items-center"><!> <!> <span> </span></li>'),ge=u('<ol class="grid"></ol>'),he=u('<li class="min-w-0"><div></div> <p> </p></li>'),be=u('<ol class="grid gap-2"></ol>'),xe=u("<!> <!>",1);function Ee(p,s){I(s,!0);let n=N(s,"size",3,"card");const a=v(()=>s.task.passage),k=v(()=>oe(s.task)),z=v(()=>de(s.task)),j=v(()=>`${e(k)?`Run ${e(k).n}, `:""}Step ${e(a).current+1} of ${e(a).steps.length}: ${e(a).steps[e(a).current]?.label??""}${e(a).steps[e(a).current]?.failed?", failed":""}${s.task.busy?", in progress":""}`),w=r=>r?"bg-danger":ie[e(z)],R=r=>r?"text-danger":ne[e(z)];var f=xe(),S=J(f);{var C=r=>{var o=ce(),c=W(o);m(()=>M(c,`Run ${e(k).n??""}`)),d(r,o)};_(S,r=>{e(k)&&r(C)})}var E=$(S,2);{var A=r=>{var o=ge();Y(o,23,()=>e(a).steps,c=>c.key,(c,t,g)=>{var h=ve(),T=F(h);{var H=i=>{var l=G();m(()=>b(l,1,`absolute top-[5px] right-1/2 left-[-50%] ${e(g)<=e(a).current?"h-0.5 bg-foreground/50":"h-0 border-t border-dotted border-input"}`)),d(i,l)};_(T,i=>{e(g)>0&&i(H)})}var L=$(T,2);{var Q=i=>{var l=me(),Z=F(l);{var ee=B=>{{let te=v(()=>w(e(t).failed));pe(B,{get class(){return e(te)}})}};_(Z,B=>{s.task.busy&&B(ee)})}x(l),m(B=>b(l,1,`relative z-10 size-3 rounded-full ring-[3px] ring-card ${B??""}`),[()=>w(e(t).failed)]),re(1,l,()=>se),d(i,l)},U=i=>{var l=fe();d(i,l)},V=i=>{var l=G();m(()=>b(l,1,`relative z-10 mt-[2px] size-2 rounded-full ${e(t).state==="done"?"bg-foreground/50":"border border-border bg-card"}`)),d(i,l)};_(L,i=>{e(t).state==="current"?i(Q):e(t).state==="skipped"?i(U,1):i(V,-1)})}var O=$(L,2),X=W(O,!0);x(h),m(i=>{y(h,"title",e(t).note??void 0),b(O,1,`mt-1.5 max-w-full truncate text-xs leading-none ${i??""}`),M(X,e(t).short)},[()=>e(t).state==="current"?`font-semibold ${R(e(t).failed)}`:e(t).state==="done"?"text-muted-foreground":e(t).state==="skipped"?"text-muted-foreground italic line-through":"text-muted-foreground italic"]),d(c,h)}),x(o),m(()=>{q(o,`grid-template-columns: repeat(${e(a).steps.length??""}, minmax(0, 1fr))`),y(o,"aria-label",e(j))}),d(r,o)},D=r=>{var o=be();Y(o,21,()=>e(a).steps,c=>c.key,(c,t)=>{var g=he(),h=F(g),T=$(h,2),H=W(T);x(g),m(L=>{y(g,"title",e(t).note??void 0),b(h,1,`h-1.5 rounded-full transition-colors duration-500 ${L??""}`),b(T,1,`mt-2 truncate text-xs leading-tight ${e(t).state==="current"?`font-medium ${e(t).failed?"text-danger":"text-foreground"}`:e(t).state==="done"?"text-muted-foreground":"text-muted-foreground italic"} ${e(t).state==="skipped"?"line-through":""}`),M(H,`${e(t).label??""}${e(t).failed?" failed":""}`)},[()=>e(t).state==="done"?"bg-foreground/60":e(t).state==="current"?w(e(t).failed):e(t).state==="skipped"?"border border-dashed border-border":"bg-border"]),d(c,g)}),x(o),m(()=>{q(o,`grid-template-columns: repeat(${e(a).steps.length??""}, minmax(0, 1fr))`),y(o,"aria-label",e(j))}),d(r,o)};_(E,r=>{n()==="card"?r(A):r(D,-1)})}d(p,f),K()}const _e=/^fy-([a-z0-9][a-z0-9-]{0,62})$/;function P(p){return p&&_e.exec(p)?.[1]||null}function Le(p){const s=P(p);return s?`via Fleetyard · ${s}`:`on ${p??"another host"}`}globalThis.process?.platform;var ke=u('<span class="font-normal opacity-70" data-second-mate-host=""> </span>'),$e=u('<span class="inline-flex max-w-full min-w-0 items-center gap-1 rounded-sm bg-brass/10 px-1.5 text-xs leading-[1.15rem] font-medium text-brass"><!><span class="truncate"> <!></span></span>');function We(p,s){I(s,!0);const n=v(()=>s.task.secondMate??null),a=v(()=>P(e(n)?.host)),k=v(()=>e(a)?`${e(a)}, through Fleetyard`:e(n)?.host??"another host");var z=ae(),j=J(z);{var w=R=>{var f=$e(),S=F(f);le(S,{class:"size-3 shrink-0","aria-hidden":"true"});var C=$(S),E=F(C,!0),A=$(E);{var D=r=>{var o=ke(),c=W(o,!0);m(()=>M(c,` · ${e(a)??e(n).host}`)),d(r,o)};_(A,r=>{e(n).where==="remote"&&e(n).host&&r(D)})}x(C),x(f),m(()=>{y(f,"title",e(n).where==="remote"?`Runs on second mate ${e(n).id}, on ${e(k)}`:`Runs on second mate ${e(n).id}, on this computer`),y(f,"data-second-mate-task",e(n).id),M(E,e(n).id)}),d(R,f)};_(j,R=>{e(n)&&R(w)})}d(p,z),K()}export{pe as B,Ee as S,We as W,Le as p};
@@ -1 +0,0 @@
1
- import{a as y}from"./CeV_7ApB.js";import{y as b,b9 as I,d as u,i as f,k as d}from"./Jk-ASPRO.js";const h=[];function k(e,t=b){let n=null;const r=new Set;function s(o){if(I(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=b){const c=[o,l];return r.add(c),r.size===1&&(n=t(s,i)||b),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:s,update:i,subscribe:a}}const L="1795283788050";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,...N)=>(n(c),a[o](c,...N));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 x(){}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 z=globalThis.__sveltekit_14frzys?.base??"",C=globalThis.__sveltekit_14frzys?.assets??z??"",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||V(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:x};function ce(){const{set:e,subscribe:t}=k(!1);let n;async function r(){clearTimeout(n);try{const s=await fetch(`${C}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!s.ok)return!1;const a=(await s.json()).version!==L;return a&&(e(!0),U.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:r}}function V(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 j=new Set([...O]);[...j];let w,R,_;const G=y.toString().includes("$$")||/function \w+\(\) \{\}/.test(y.toString()),A="a:";G?(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,z as b,ie as c,J as d,D as e,oe as f,ae as g,K as h,V as i,ce as j,le as k,v as l,W as m,x 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 +0,0 @@
1
- import"./DsnmJJEf.js";import{p as v,a as i,b as h,c as p,o as _,t as d,i as r,r as g,j as b}from"./Jk-ASPRO.js";import{s as x}from"./DTApYZoW.js";import{e as L,a as l}from"./DNP6oCAK.js";import{p as n}from"./CjMxTOBq.js";import{H as O,L as o}from"./BGZONLpF.js";var H=p('<a class="nav-tab shrink-0"> </a>'),k=p('<nav class="-ml-2.5 no-scrollbar flex gap-1 overflow-x-auto" aria-label="Logbook"></nav>');function y(f,m){v(m,!0);const c=b(()=>n.data.features?.soundings?[...o.slice(0,-1),O,...o.slice(-1)]:o);var e=k();L(e,21,()=>r(c),s=>s.href,(s,t)=>{var a=H(),u=_(a,!0);d(()=>{l(a,"href",r(t).href),l(a,"aria-current",n.url.pathname===r(t).href?"page":void 0),x(u,r(t).label)}),i(s,a)}),g(e),i(f,e),h()}export{y as I};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{p as N,q as v,i as c,k as f,v as y,f as U,s as P,t as j,a as S,b as F,j as _,d as g,o as W,c as T}from"./Jk-ASPRO.js";import{s as x}from"./DTApYZoW.js";import{i as C}from"./BEVJas-l.js";import{a as D}from"./DNP6oCAK.js";import{b as R}from"./DLfKkHEy.js";import{p as E}from"./DQWg__9S.js";import{p as q}from"./CjMxTOBq.js";import{S as b}from"./BXN538J3.js";import{a as M}from"./BdjCJ4uL.js";async function J(r,e,a,o=`wh-${crypto.randomUUID()}`){try{const n=await fetch(`/api/plugins/${encodeURIComponent(r)}/feedback`,{method:"POST",headers:{"content-type":"application/json","idempotency-key":o,[b]:a},body:JSON.stringify(e)});if(n.ok){const t=await n.json().catch(()=>null);return t?.message?.delivery==="failed"?{ok:!1,error:t.message.deliveryDetail??"Firstmate did not take the list."}:{ok:!0,pending:n.status===202}}return{ok:!1,error:(await n.json().catch(()=>null))?.message??`Wheelhouse answered ${n.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}async function B(r,e,a){try{const o=await fetch(`/api/plugins/${encodeURIComponent(r)}/feedback/summary`,{method:"POST",headers:{"content-type":"application/json",[b]:a},body:JSON.stringify(e)}),n=await o.json().catch(()=>null);return o.ok&&Array.isArray(n?.points)?{ok:!0,points:n.points}:{ok:!1,error:n?.message??`Wheelhouse answered ${o.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}const H=r=>new URLSearchParams({plugin:r.plugin,service:r.service,...r.project?{project:r.project}:{}}).toString();async function z(r){try{const e=await fetch(`/api/services?${H(r)}`);return e.ok?await e.json():null}catch{return null}}async function L(r,e,a=null){const o=window.open("","_blank");try{o?.document.write('<!doctype html><title>Starting…</title><body style="font:15px system-ui;margin:3rem;color:#14213d;background:#f6f2e9">Wheelhouse is starting it; this tab opens it when it answers.</body>')}catch{}let n=null;try{const t=await fetch("/api/services",{method:"POST",headers:{"content-type":"application/json",[b]:e},body:JSON.stringify({plugin:r.plugin,service:r.service,project:r.project??null})});n=t.ok?await t.json():{...await t.json().catch(()=>({})),state:"failed",reason:`Wheelhouse could not start it (${t.status}).`}}catch{n=null}const s=n?.state==="running"?a??n.url:null;if(s){const t=M.view(s);o?o.location.href=t:window.open(t,"_blank")}else o?.close();return n}const G=5e3,k=new Map;function K(r,e){let a=k.get(r);return a||(a=e(r).catch(o=>{throw k.delete(r),o}),k.set(r,a)),a}const I=()=>typeof navigator>"u"||!navigator.userActivation?!0:navigator.userActivation.isActive;function Q(r,e){const a=r.pluginId,o=(s,t)=>{if(typeof s!="string"||!s)throw new TypeError("Name a service.");const i=t===void 0?r.projectId:t;return{plugin:a,service:s,project:typeof i=="string"&&i?i:null}},n=s=>{const t=typeof s=="object"&&s!==null?s:{},i=typeof t.task=="string"&&t.task?t.task:r.taskId??null;return i?{taskId:i,subject:typeof t.subject=="string"?t.subject:null,items:Array.isArray(t.items)?t.items:[]}:null};return Object.freeze({pluginId:a,service:async(s,t={})=>e.status(o(s,t.project)),launch:async(s,t={})=>e.launch(o(s,t.project),e.token(),typeof t.open=="string"?t.open:null),sendFeedback:async s=>{if(!(e.clicked??I)())return{ok:!1,error:"Feedback is sent only when the captain clicks to send it."};const t=n(s);return t?e.feedback(a,t,e.token()):{ok:!1,error:"Name the task the feedback is about."}},summariseFeedback:async s=>{if(!(e.clicked??I)())return{ok:!1,error:"Feedback is summarised only when the captain clicks to."};if(!e.summarise)return{ok:!1,error:"This page cannot summarise feedback."};const t=n(s);return t?e.summarise(a,t,e.token()):{ok:!1,error:"Name the task the feedback is about."}}})}async function V(r,e){if(!customElements.get(e.tag)){if(!e.ui)throw new Error("this Wheelhouse has no UI bundle for it");try{await K(e.ui,e.importer??(n=>import(n)))}catch(n){throw new Error(`its UI bundle did not load (${n instanceof Error?n.message:String(n)})`)}let o;try{await Promise.race([customElements.whenDefined(e.tag),new Promise((n,s)=>{o=setTimeout(()=>s(new Error(`its UI bundle does not define <${e.tag}>`)),e.timeoutMs??G)})])}finally{clearTimeout(o)}}const a=document.createElement(e.tag);return e.host&&(a.host=e.host),a.entry=e.entry,a.data=e.data,r.append(a),a}var X=T('<p class="text-sm text-muted-foreground"> </p>'),Y=T('<div class="contents"></div> <!>',1);function ce(r,e){N(e,!0);let a=E(e,"preview",3,void 0),o=E(e,"quiet",3,!1);const n=_(()=>"element"in e.entry.render?e.entry.render.element:""),s=_(()=>e.entry.ui??null);let t=g(null),i=g(null),m=g(null);v(()=>{if(!c(t)||!c(n))return;const l=c(t);let u=!1,h=null;return f(m,null),V(l,{tag:c(n),ui:c(s),data:y(()=>e.data),entry:y(()=>e.entry),host:Q(y(()=>e.entry),{status:z,launch:L,feedback:J,summarise:B,token:()=>q.data.sessionToken??""}),importer:e.importer}).then(d=>{h=d,u?d.remove():f(i,d,!0)},d=>{u||f(m,d.message,!0)}),()=>{u=!0,h?.remove(),f(i,null)}}),v(()=>{c(i)&&(a()!==void 0&&(c(i).preview=a()),c(i).entry=e.entry,c(i).data=e.data)});var w=Y(),p=U(w);R(p,l=>f(t,l),()=>c(t));var O=P(p,2);{var A=l=>{var u=X(),h=W(u);j(()=>x(h,`Not available. The ${e.entry.pluginId??""} plugin’s element could not be shown: ${c(m)??""}.`)),S(l,u)};C(O,l=>{c(m)&&!o()&&l(A)})}j(()=>D(p,"data-plugin-element",c(n))),S(r,w),F()}export{ce as P};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import{s as n,r as a}from"./DQWg__9S.js";import{I as o}from"./DE0e4nJ8.js";import{p as l}from"./CjMxTOBq.js";var p=new Set(["$$slots","$$events","$$legacy"]);function $(s,e){let t=a(e,p);const r={name:"compass",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z"}]]};o(s,n(()=>t,{get icon(){return r}}))}const c="{url}";function u(s,e,t){const r=e&&Object.hasOwn(s,e)?s[e]:null;return typeof r!="string"?{href:t.url,external:!0}:{href:r.replace(c,encodeURIComponent(t.url)),external:!1}}const x={review(s,e){const t=l.data?.pullRequestTabs??{};return u(t,s,e)}};export{$ as C,x as p};
@@ -1,3 +0,0 @@
1
- import"./DsnmJJEf.js";import{a as ra}from"./CeV_7ApB.js";import{e as na,p as Bt,f as he,h as s,s as n,i as e,o as y,t as b,a as d,r as o,b as Nt,j as l,c,n as Me,aB as oa,k as Ee,d as et,x as sa,y as Tt}from"./Jk-ASPRO.js";import{d as Pt,s as f,a as ne}from"./DTApYZoW.js";import{i as x}from"./BEVJas-l.js";import{e as pe,a as m,s as P,c as ia,j as la}from"./DNP6oCAK.js";import{t as zt}from"./DE0e4nJ8.js";import{p as ye}from"./DQWg__9S.js";import{S as da}from"./CbKpBvf7.js";import{p as ua}from"./CjMxTOBq.js";import{a as kt}from"./Dd_RZdO_.js";import{b as ca}from"./B0l1zoaP.js";import{W as va,S as ma,p as ht}from"./BQW0JOSW.js";import{t as fa,s as ga,d as pa}from"./Ds4LY5_S.js";import{D as ha,l as xa,s as Ut,d as _a,i as xt,c as ba,a as ka,O as Ze,A as $e,b as wa}from"./BLBvc4wG.js";import{i as _t}from"./CosKnXYm.js";import{h as ya,e as Ca}from"./Dc0ohDnQ.js";import{a as ja,s as Sa}from"./D-jtpdBG.js";import{T as Ia}from"./CNrVcIUd.js";import{S as Aa}from"./DqzJcWdz.js";import{M as Rt}from"./C4jBfsPB.js";import{s as Ta}from"./BK-ZbQDl.js";import{d as za}from"./BwgWcTqi.js";import{g as Ra}from"./C_jc8OLQ.js";import{E as Ea,C as Ma}from"./B8VobXs_.js";import{C as Oa}from"./SfXgPswE.js";import{S as Et,G as La}from"./D66j7WEk.js";import{M as bt}from"./DlALRMA8.js";import{A as Ha}from"./BjTe15qL.js";import{G as qa}from"./MgFVe5-f.js";import{c as Da,g as Ba,D as Na}from"./YcVqGYFt.js";import{s as Mt}from"./BwF-OIK3.js";import{a as Ot,p as Pa}from"./DWBTuuo9.js";import{A as Lt}from"./BwauVYjH.js";import{X as Ua}from"./m8-RluHE.js";import{S as Ht}from"./voMZUjSQ.js";import{A as qt}from"./BRYVBL-t.js";import{C as Wa}from"./BfHvf1Rg.js";import{C as Ga}from"./c9k4nDgn.js";import{S as Fa}from"./DP0NWgBG.js";import{p as Ya}from"./XxOJwmzJ.js";const Ka=na({pending:null,draft:null,decision:null});var Qa=c('<span class="absolute inset-y-1.5 -left-1 w-[3px] rounded-full bg-gold" aria-hidden="true"></span>'),Va=c('<span class="mx-1" aria-hidden="true">·</span>'),Xa=c("<!><span> </span>",1),Ja=c('<button type="button" title="Chat about this"><!></button>'),Za=c('<a aria-label="Chat about this question" title="Chat about this"><!></a>'),$a=c('<span class="text-muted-foreground"> </span>'),er=c('<span class="ml-auto text-muted-foreground"> </span>'),tr=c('<p class="leading-snug text-muted-foreground"> </p>'),ar=c('<p class="leading-snug text-muted-foreground" data-now=""> </p>'),rr=c('<div class="pt-1"><!></div>'),nr=c('<a target="_blank" rel="noreferrer" class="flex items-start gap-1 break-all text-sea hover:underline"><!> </a>'),or=c('<div class="-mt-2"><!></div>'),sr=c('<div class="flex flex-col gap-2 text-xs"><div class="flex flex-wrap items-center gap-1.5"><span><!> </span> <!> <!> <!></div> <!> <!> <!> <!> <!> <!> <div class="-ml-1.5 flex flex-wrap gap-0.5"><a><!>Open</a> <button type="button"><!>Chat about this</button></div></div>'),ir=c('<div class="mt-0.5 mb-2 ml-[0.85rem] border-l-2 border-hair pr-1 pl-3" data-deck-detail=""><!></div>'),lr=c('<div><!> <button type="button" data-deck-line="" class="flex h-full min-w-0 flex-1 cursor-pointer items-center gap-2 rounded-md py-2 pr-1 pl-1 text-left focus-visible:outline-2 focus-visible:outline-ring"><!> <span class="min-w-0 flex-1"><span> </span> <span class="block truncate text-xs text-muted-foreground"></span></span></button> <!></div> <!>',1);function dr(Ce,r){Bt(r,!0);let ee=ye(r,"dim",3,!1),F=ye(r,"selected",3,!1);const U={danger:"bg-danger/10 text-danger",warning:"bg-warning/10 text-warning",sea:"bg-sea/10 text-sea",muted:"bg-muted text-muted-foreground",busy:"bg-muted text-foreground",success:"bg-success/10 text-success",quiet:"bg-muted text-muted-foreground"},te=l(()=>r.line.kind==="task"?xa(r.line.task):ha),v=l(()=>r.line.kind==="task"?r.line.task:null),Q=l(()=>`deck-${r.line.key.replace(/[^\w-]/g,"-")}`),V=l(()=>e(v)&&r.line.text!==e(v).shortTitle?e(v).shortTitle:e(v)?.attention?.owner==="captain"&&e(v).attention.text&&e(v).attention.text!==r.line.text?e(v).attention.text:null),Y=l(()=>e(v)?e(v).activity?.text||e(v).summary||e(v).statusLabel:null),de=l(()=>[r.project?{key:"project",text:r.project.tag,title:r.project.name}:null,e(V)??(e(Y)&&e(Y)!==r.line.text?e(Y):null)?{key:"doing",text:e(V)??e(Y),title:void 0}:null,r.line.at?{key:"age",text:Ut(r.line.at,r.now),title:kt(r.line.at,r.now)}:null].filter(R=>R!==null)),ue=l(()=>e(v)?e(v).attention?.url??e(v).pr?.url??null:null),xe=l(()=>e(v)?`/tasks/${encodeURIComponent(e(v).id)}`:null),H=l(()=>!!(e(v)&&r.onOpen)||r.line.kind==="decision"),ce="flex items-center gap-1 rounded-md px-1.5 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring";var Oe=lr(),je=he(Oe),z=s(je);{var Be=R=>{var k=Qa();d(R,k)};x(z,R=>{F()&&R(Be)})}var oe=n(z,2),se=s(oe);Et(se,{get state(){return e(te)},class:"size-5 shrink-0"});var Se=n(se,2),_e=s(Se),K=y(_e,!0),Ie=n(_e,2);pe(Ie,23,()=>e(de),R=>R.key,(R,k,X)=>{var A=Xa(),ie=he(A);{var ve=ae=>{var Le=Va();d(ae,Le)};x(ie,ae=>{e(X)&&ae(ve)})}var le=n(ie),J=y(le,!0);b(()=>{m(le,"title",e(k).title),m(le,"data-project-tag",e(k).key==="project"||void 0),f(J,e(k).text)}),d(R,A)}),o(Ie),o(Se),o(oe);var tt=n(oe,2);{var Ne=R=>{var k=Ja(),X=s(k);bt(X,{class:"size-3.5"}),o(k),b(()=>{P(k,1,`flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground opacity-0 group-hover:opacity-100 hover:bg-muted hover:text-foreground focus-visible:opacity-100 focus-visible:outline-2 focus-visible:outline-ring pointer-coarse:size-11 pointer-coarse:opacity-100 ${r.open?"opacity-100":""}`),m(k,"aria-label",`Chat about ${e(v).shortTitle??""}`)}),ne("click",k,()=>r.onChat(e(v))),d(R,k)},be=R=>{var k=Za(),X=s(k);bt(X,{class:"size-3.5"}),o(k),b(A=>{m(k,"href",A),P(k,1,`flex size-7 shrink-0 items-center justify-center rounded-md text-muted-foreground opacity-0 group-hover:opacity-100 hover:bg-muted hover:text-foreground focus-visible:opacity-100 focus-visible:outline-2 focus-visible:outline-ring pointer-coarse:size-11 pointer-coarse:opacity-100 ${r.open?"opacity-100":""}`)},[()=>za(r.line.card.id)]),d(R,k)};x(tt,R=>{e(v)?R(Ne):r.line.kind==="decision"&&R(be,1)})}o(je);var at=n(je,2);{var rt=R=>{var k=ir(),X=s(k);{var A=ie=>{var ve=sr(),le=s(ve),J=s(le),ae=s(J);Et(ae,{get state(){return e(te)},still:!0,decorative:!0,class:"size-3.5"});var Le=n(ae,1,!0);o(J);var Ae=n(J,2);va(Ae,{get task(){return e(v)}});var Pe=n(Ae,2);{var nt=g=>{var C=$a(),D=y(C,!0);b(()=>f(D,r.project.name)),d(g,C)};x(Pe,g=>{r.project&&g(nt)})}var Ue=n(Pe,2);{var We=g=>{var C=er(),D=y(C,!0);b(Re=>f(D,Re),[()=>kt(r.line.at,r.now)]),d(g,C)};x(Ue,g=>{r.line.at&&g(We)})}o(le);var Ge=n(le,2);{var Fe=g=>{var C=tr(),D=y(C,!0);b(()=>f(D,e(V))),d(g,C)};x(Ge,g=>{e(V)&&g(Fe)})}var Ye=n(Ge,2);{var ot=g=>{Oa(g,{get pipeline(){return e(v).pipeline},get busy(){return e(v).busy},size:"rail"})},st=l(()=>Ta(e(v))),it=g=>{var C=ar(),D=y(C,!0);b(()=>f(D,e(Y))),d(g,C)};x(Ye,g=>{e(st)?g(ot):e(Y)&&e(Y)!==r.line.text&&g(it,1)})}var re=n(Ye,2);{var lt=g=>{var C=rr(),D=s(C);ma(D,{get task(){return e(v)}}),o(C),d(g,C)};x(re,g=>{e(v).passage.steps.length>1&&g(lt)})}var Z=n(re,2);{var Ke=g=>{Ea(g,{get eta(){return e(v).eta}})};x(Z,g=>{e(v).eta&&g(Ke)})}var He=n(Z,2);{var qe=g=>{var C=nr(),D=s(C);qa(D,{class:"mt-0.5 size-3.5 shrink-0","aria-hidden":"true"});var Re=n(D,1,!0);o(C),b(()=>{m(C,"href",e(ue)),f(Re,e(ue))}),d(g,C)};x(He,g=>{e(ue)&&g(qe)})}var De=n(He,2);{var dt=g=>{var C=or(),D=s(C);Ma(D,{get task(){return e(v)}}),o(C),d(g,C)};x(De,g=>{e(v).preview&&g(dt)})}var Te=n(De,2),me=s(Te);P(me,1,ia(ce));var ut=s(me);Ha(ut,{class:"size-3.5","aria-hidden":"true"}),Me(),o(me);var ze=n(me,2);P(ze,1,"flex items-center gap-1 rounded-md px-1.5 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring cursor-pointer");var ct=s(ze);bt(ct,{class:"size-3.5","aria-hidden":"true"}),Me(),o(ze),o(Te),o(ve),b(()=>{P(J,1,`flex items-center gap-1 rounded px-1.5 leading-[1.15rem] font-medium ${U[e(te).tone]??""}`),f(Le,e(te).label),m(me,"href",e(xe))}),ne("click",ze,()=>r.onChat(e(v))),d(ie,ve)};x(X,ie=>{e(v)&&ie(A)})}o(k),b(()=>m(k,"id",e(Q))),d(R,k)};x(at,R=>{r.open&&!e(H)&&R(rt)})}b(()=>{P(je,1,`group relative flex items-center border-b border-hair transition-colors ${r.open||F()?"bg-muted/70":"hover:bg-muted/50"}`),m(oe,"aria-expanded",e(H)?void 0:r.open),m(oe,"aria-controls",e(H)?void 0:e(Q)),m(oe,"aria-haspopup",e(H)?"dialog":void 0),m(Se,"title",e(V)?`${r.line.text} (${e(V)})`:r.line.text),P(_e,1,`block truncate text-[0.95rem] font-medium ${ee()?"text-muted-foreground":"text-foreground"}`),f(K,r.line.text)}),ne("click",oe,()=>r.line.kind==="decision"?void Ra(ya(r.line.card.id)):e(H)&&e(v)?r.onOpen?.(e(v)):r.onToggle()),d(Ce,Oe),Nt()}Pt(["click"]);var ur=oa('<circle cx="26" cy="26" class="gauge-value" transform="rotate(-90 26 26)"></circle>'),cr=c('<span class="gauge" aria-hidden="true"><svg viewBox="0 0 52 52"><circle cx="26" cy="26" class="gauge-track"></circle><!></svg> <span class="gauge-label"> </span></span>');function Dt(Ce,r){let ee=ye(r,"tone",3,"gold");const F=22,U=2*Math.PI*F,te=l(()=>r.value===null?0:Math.max(0,Math.min(100,Math.round(r.value))));var v=cr(),Q=s(v),V=s(Q);m(V,"r",F);var Y=n(V);{var de=H=>{var ce=ur();m(ce,"r",F),b(()=>m(ce,"stroke-dasharray",`${e(te)/100*U} 138.23007675795088`)),d(H,ce)};x(Y,H=>{r.value!==null&&e(te)>0&&H(de)})}o(Q);var ue=n(Q,2),xe=y(ue,!0);o(v),b(()=>{m(v,"data-tone",ee()),f(xe,r.value===null?"–":`${e(te)}%`)}),d(Ce,v)}var vr=c('<span class="min-w-0 truncate text-muted-foreground"> </span>'),mr=c('<!> <span class="shrink-0 font-medium text-brass"> </span> <!>',1),fr=c('<!> <span class="shrink-0 font-medium text-foreground"> </span>',1),gr=c('<p class="mb-1 flex items-center gap-2 px-1.5 text-xs text-muted-foreground"><!> <span class="min-w-0 truncate"> </span> <a class="ml-auto shrink-0 hover:text-foreground hover:underline">More</a></p>'),pr=c('<h3 class="mt-3 mb-0.5 first:mt-0"><button type="button"><!> <span class="shrink-0 text-muted-foreground tabular-nums"> </span> <span class="min-w-2 flex-1 border-t border-hair" aria-hidden="true"></span> <!></button></h3> <!>',1),hr=c("<span> <b> </b> left</span>"),xr=c('<a href="/headroom" class="ml-auto flex min-w-0 flex-col items-end rounded-md px-1.5 py-1 text-xs leading-tight text-muted-foreground hover:bg-muted hover:text-foreground max-md:min-h-11 max-md:justify-center" data-headroom=""><span class="sr-only">Claude headroom:</span> <!></a>'),_r=c('<a href="/headroom" class="ml-auto flex items-center gap-1.5 rounded-md px-1.5 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground" title="Connect your Claude usage to see what is left"><!>Connect usage</a>'),br=c('<button aria-label="Close"><!></button>'),kr=c('<button type="button" role="radio"><!> <span> </span> <span class="sr-only"> </span> <span aria-hidden="true"> </span></button>'),wr=c('<div class="shrink-0 px-4 pt-4"><div class="flex flex-wrap gap-2 text-[0.9rem]" role="radiogroup" aria-label="Whose work" tabindex="-1"></div></div>'),yr=c("<span> </span>"),Cr=c('<button role="tab" aria-controls="rail-panel"> <!></button>'),jr=c('<div class="px-1.5" data-slot="home.card"><!></div>'),Sr=c('<button type="button" class="float-right -mt-1 ml-2 flex cursor-pointer items-center gap-0.5 rounded-md px-1.5 py-1 text-xs whitespace-nowrap text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring max-md:float-none max-md:mt-0 max-md:ml-auto max-md:min-h-11 max-md:text-sm"><!> </button>'),Ir=c('<div class="mb-2" data-needs-decisions=""><!></div>'),Ar=c("<li><!></li>"),Tr=c("<ul></ul>"),zr=c('<p class="px-1.5 py-1 text-xs text-muted-foreground"> </p>'),Rr=c("<section><!> <!></section>"),Er=c('<p class="flex items-center gap-2 px-1.5 py-1 text-sm text-muted-foreground"><!> </p>'),Mr=c('<li><a class="flex h-8 items-center gap-2 rounded-md px-1.5 hover:bg-muted/50 focus-visible:outline-2 focus-visible:outline-ring"><span class="min-w-0 flex-1 truncate text-[0.875rem] text-muted-foreground"> </span> <span class="shrink-0 text-xs font-medium"> </span> <span class="w-7 shrink-0 text-right text-xs text-muted-foreground tabular-nums"> </span></a></li>'),Or=c('<div class="mt-4 mb-0.5 flex items-center gap-2 px-1.5 text-xs"><h3 class="flex items-center gap-1.5 font-medium text-muted-foreground"><!>Decided for you</h3> <span class="flex-1 border-t border-hair" aria-hidden="true"></span> <a href="/decisions" class="text-muted-foreground hover:text-foreground">See all</a></div> <ul></ul>',1),Lr=c('<a href="/time" class="mt-4 block rounded-md px-1.5 py-1 hover:bg-muted/50"><span class="block text-xs text-muted-foreground"><span class="font-medium text-foreground"> </span> </span> <span class="mt-1.5 block"><!></span> <span class="mt-1.5 block text-xs text-muted-foreground"> </span></a>'),Hr=c("<!> <div><!> <!></div> <!> <!>",1),qr=c('<a href="/second-mates" class="flex items-center justify-between gap-3 border-t px-1 py-3.5 text-muted-foreground hover:text-foreground">Every second mate, with its queue, pull requests and a look at it <!></a>'),Dr=c('<li class="mt-3 max-md:mt-1"><a class="group block text-sm max-md:py-1.5"><span class="flex items-baseline justify-between gap-2" aria-hidden="true"><span class="truncate font-medium group-hover:underline"> </span> <span class="shrink-0 text-xs text-muted-foreground"> </span></span> <span class="glance-bar" aria-hidden="true"><span></span></span></a></li>'),Br=c('<section class="mt-4 rounded-2xl border bg-card/70 px-4 pt-4 pb-4.5" aria-labelledby="rail-glance" data-glance=""><h3 id="rail-glance" class="font-semibold">Harbour at a glance</h3> <p class="text-sm text-muted-foreground">The fleet, without leaving the bridge.</p> <ul></ul></section>'),Nr=c('<aside class="flex h-full min-h-0 flex-col" aria-label="Tasks and decisions" aria-describedby="rail-headline"><p id="rail-headline" class="sr-only"> </p> <div class="flex h-16 shrink-0 items-center gap-2 border-b px-5 text-sm"><span class="font-title text-[2.15rem] leading-none">On <em class="text-gold">deck</em></span> <!> <!></div> <div class="grid shrink-0 grid-cols-2 gap-2.5 px-4 pt-4" data-gauges=""><a href="/headroom" class="gauge-card"><!> <span class="min-w-0"><span class="block font-semibold"> </span> <span class="block text-xs leading-snug text-muted-foreground"> </span></span></a> <a class="gauge-card"><!> <span class="min-w-0"><span class="block font-semibold">Checks</span> <span class="block text-xs leading-snug text-muted-foreground"> </span></span></a></div> <!> <div class="mt-3 no-scrollbar flex shrink-0 gap-5 overflow-x-auto border-b px-4" role="tablist" aria-label="On deck" tabindex="-1"></div> <div id="rail-panel" role="tabpanel" class="no-scrollbar min-h-0 flex-1 overflow-y-auto px-4 py-3"><!> <nav class="mt-5 flex flex-col" aria-label="More on deck"><a class="flex items-center justify-between gap-3 border-t px-1 py-3.5 font-medium hover:text-gold"> <!></a> <!></nav> <!></div></aside>');function Rn(Ce,r){Bt(r,!0);const ee=(t,a=Tt,i=Tt)=>{var h=pr(),u=he(h),E=s(u),M=s(E);{var T=p=>{var I=mr(),j=he(I);Ht(j,{class:"size-3.5 shrink-0 text-brass","aria-hidden":"true"});var O=n(j,2),B=y(O,!0),L=n(O,2);{var q=G=>{var N=vr(),$=y(N,!0);b(we=>f($,we),[()=>a().mate.where==="remote"?ht(a().mate.host):"on this computer"]),d(G,N)};x(L,G=>{a().mate&&G(q)})}b(()=>f(B,a().label)),d(p,I)},W=p=>{var I=fr(),j=he(I);qt(j,{class:"size-3.5 shrink-0 text-muted-foreground","aria-hidden":"true"});var O=n(j,2),B=y(O,!0);b(()=>f(B,a().label)),d(p,I)};x(M,p=>{a().id!==Ze?p(T):p(W,-1)})}var fe=n(M,2),ke=y(fe,!0),ge=n(fe,4);{var w=p=>{Rt(p,{get health(){return a().mate.health}})};x(ge,p=>{a().mate&&(a().mate.health.online!=="online"||a().mate.health.cached)&&p(w)})}o(E),o(u);var _=n(u,2);{var S=p=>{var I=gr(),j=s(I);Rt(j,{get health(){return a().mate.health}});var O=n(j,2),B=y(O),L=n(O,2);o(I),b(q=>{m(I,"data-second-mate",a().mate.id),m(O,"title",a().mate.lastReport?.text),f(B,`${a().mate.stateLabel??""}${a().mate.queued.length?` · ${a().mate.queued.length} queued`:""}${a().mate.lastReport?` · “${a().mate.lastReport.text}”`:""}`),m(L,"href",`/second-mates#mate-${q??""}`)},[()=>encodeURIComponent(a().mate.id)]),d(p,I)};x(_,p=>{a().mate&&e(K)===a().id&&p(S)})}b(p=>{m(u,"data-crew",a().id),P(E,1,`flex h-6 w-full items-center gap-1.5 rounded-md px-1.5 text-left text-xs focus-visible:outline-2 focus-visible:outline-ring ${e(K)===a().id?"cursor-default":"cursor-pointer hover:bg-muted/50"}`),m(E,"aria-label",`${a().label??""}${p??""}: ${i()??""}${e(K)===a().id?"":". Show only this crew"}`),f(ke,i())},[()=>a().mate?`, ${a().mate.where==="remote"?ht(a().mate.host):"on this computer"}`:""]),ne("click",E,()=>Ie(a().id)),d(t,h)};let F=ye(r,"insights",3,null),U=ye(r,"scope",3,null),te=ye(r,"cards",19,()=>[]),v=ye(r,"secondMates",19,()=>[]);const Q=t=>!U()||t===U(),V=l(()=>(F()?.decisions??[]).filter(t=>Q(t.projectId))),Y=l(()=>ga((F()?.today??[]).filter(t=>Q(t.projectId)))),de=l(()=>fa(e(Y))),ue=l(()=>(F()?.today??[]).filter(t=>Q(t.projectId)).length),xe=t=>e(de)?Math.round(e(Y)[t]/e(de)*100):0,H=l(()=>F()?.allowance??null),ce=l(()=>ua.data.inbox),Oe=l(()=>_t.view(e(ce))),je=l(()=>e(Oe)?.available?{shown:_t.shown(r.now,e(ce)).shown.filter(Ca),all:e(Oe).cards}:null),z=l(()=>_a(r.tasks,r.now,e(je),U())),Be=l(()=>[...e(z).needs,...e(z).withFirstmate,...e(z).under,...e(z).next,...e(z).landed]),oe=l(()=>U()?v().filter(t=>e(Be).some(a=>a.crew===t.id)):v()),se=l(()=>ba(e(oe),e(Be))),Se="wheelhouse-rail-crew";let _e=et(null);const K=l(()=>ka(e(_e),e(se)));function Ie(t){Ee(_e,t,!0);try{localStorage.setItem(Se,t)}catch{}}function tt(t){if(!["ArrowLeft","ArrowRight","Home","End"].includes(t.key))return;t.preventDefault();const a=[$e,...e(se).map(u=>u.id)],i=a.indexOf(e(K)),h=t.key==="Home"?0:t.key==="End"?a.length-1:(i+(t.key==="ArrowRight"?1:a.length-1))%a.length;Ie(a[h]),document.getElementById(Ne(a[h]))?.focus()}const Ne=t=>`rail-crew-${t.replace(/[^\w-]/g,"-")}`,be=t=>t.filter(a=>xt(e(K),a.crew)),at=t=>[...e(z).needs,...e(z).withFirstmate,...e(z).under].filter(a=>xt(t,a.crew)).length,rt=t=>e(z).needs.filter(a=>xt(t,a.crew)).length,R="wheelhouse-rail-tab",k=l(()=>[{id:"under",label:"Under way",count:be(e(z).under).length,strong:!1},{id:"needs",label:"Needs you",count:be(e(z).needs).length,strong:!0},{id:"landed",label:"Landed",count:be(e(z).landed).length,strong:!1},...te().map(t=>({id:t.key,label:t.title,count:t.badge??0,strong:!1}))]);let X=et("under");const A=l(()=>e(k).some(t=>t.id===e(X))?e(X):"under"),ie=l(()=>te().find(t=>t.key===e(A))??null);ra(()=>{Ot.load();try{Ee(X,localStorage.getItem(R)||"under",!0),Ee(_e,localStorage.getItem(Se),!0)}catch{}});function ve(t){Ee(X,t,!0);try{localStorage.setItem(R,t)}catch{}}function le(t){if(t.key!=="ArrowLeft"&&t.key!=="ArrowRight")return;t.preventDefault();const a=e(k).findIndex(h=>h.id===e(A)),i=e(k)[(a+(t.key==="ArrowRight"?1:e(k).length-1))%e(k).length];ve(i.id),document.getElementById(`rail-tab-${i.id}`)?.focus()}let J=et(!1);const ae=new da;function Le(t){ae.has(t)?ae.delete(t):ae.add(t)}const Ae=l(()=>be(e(z).needs).filter(t=>t.kind==="decision").length),Pe=l(()=>e(A)==="needs"?[...e(z).needs,...e(z).withFirstmate].filter(t=>t.kind!=="decision"):e(A)==="under"?[...e(z).under,...e(J)?e(z).next:[]]:e(A)==="landed"?e(z).landed:[]),nt=l(()=>wa(e(Pe),e(se),e(K))),Ue=l(()=>be(e(z).next).length),We=l(()=>e(K)===$e||e(K)===Ze);function Ge(t){if(!["ArrowDown","ArrowUp","Home","End"].includes(t.key))return;const i=[...t.currentTarget.querySelectorAll("[data-deck-line]")],h=i.indexOf(document.activeElement);if(h<0)return;t.preventDefault();const u=t.key==="Home"?0:t.key==="End"?i.length-1:Math.max(0,Math.min(i.length-1,h+(t.key==="ArrowDown"?1:-1)));i[u]?.focus()}const Fe=t=>!t||t==="unassigned"?null:r.projects.find(a=>a.id===t)?.name??t,Ye=l(()=>Pa(r.projects,Ot.names));function ot(t){const a=t.kind==="task"?t.task.projectId:t.card.projectId,i=Fe(a);return i?{name:i,tag:e(Ye).get(a)?.label??i}:null}const st=l(()=>Mt.taskId);function it(t){Ka.pending={kind:"task",id:t.id,title:t.shortTitle,project:Fe(t.projectId),url:null},r.onChat?.()}const re=l(()=>e(H)?.state==="ok"?e(H).windows.find(t=>/week/i.test(t.label))??e(H).windows[0]??null:null),lt=l(()=>r.tasks.filter(t=>Q(t.projectId))),Z=l(()=>Da(e(lt))),Ke=l(()=>Ba(r.projects.filter(t=>Q(t.id)&&t.id!=="unassigned"),r.tasks)),He={needs:"Nothing needs you right now.",under:"Nothing under way.",landed:"Nothing landed in the last day."};var qe=Nr(),De=s(qe),dt=y(De,!0),Te=n(De,2),me=n(s(Te),2);{var ut=t=>{var a=xr(),i=n(s(a),2);pe(i,17,()=>e(H).windows.slice(0,2),h=>h.id,(h,u)=>{var E=hr(),M=s(E),T=n(M),W=y(T);Me(),o(E),b(()=>{P(E,1,`whitespace-nowrap tabular-nums ${e(u).atRisk?"font-medium text-warning":e(u).id===e(re)?.id?"text-gold":""}`),f(M,`${e(u).label??""} `),P(T,1,`font-semibold ${e(u).id===e(re)?.id?"":"text-foreground"}`),f(W,`${e(u).percentLeft??""}%`)}),d(h,E)}),o(a),b(h=>m(a,"title",`Claude headroom: ${h??""}${F()?.atRisk?`. ${F().atRisk.label} may run out before it resets.`:""}`),[()=>e(H).windows.slice(0,2).map(h=>`${h.label} ${h.percentLeft}% left`).join(", ")]),d(t,a)},ze=t=>{var a=_r(),i=s(a);La(i,{class:"size-3.5","aria-hidden":"true"}),Me(),o(a),d(t,a)};x(me,t=>{e(H)?.state==="ok"&&e(H).windows.length?t(ut):e(H)?.state==="connect"&&t(ze,1)})}var ct=n(me,2);{var g=t=>{var a=br(),i=s(a);Ua(i,{class:"size-4"}),o(a),b(()=>P(a,1,`-mr-2 flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground ${e(H)?.state==="ok"||e(H)?.state==="connect"?"":"ml-auto"}`)),ne("click",a,function(...h){r.onClose?.apply(this,h)}),d(t,a)};x(ct,t=>{r.onClose&&t(g)})}o(Te);var C=n(Te,2),D=s(C),Re=s(D);{let t=l(()=>e(re)?.percentLeft??null);Dt(Re,{get value(){return e(t)},tone:"gold"})}var wt=n(Re,2),yt=s(wt),Wt=y(yt,!0),Gt=n(yt,2),Ft=y(Gt,!0);o(wt),o(D);var Qe=n(D,2),Ct=s(Qe);Dt(Ct,{get value(){return e(Z).percent},tone:"teal"});var jt=n(Ct,2),Yt=n(s(jt),2),Kt=y(Yt,!0);o(jt),o(Qe),o(C);var St=n(C,2);{var Qt=t=>{var a=wr(),i=s(a);pe(i,21,()=>[{id:$e,label:"All",short:"All",mate:null},...e(se)],h=>h.id,(h,u)=>{const E=l(()=>at(e(u).id)),M=l(()=>rt(e(u).id));var T=kr(),W=s(T);{var fe=j=>{Ht(j,{class:"size-3 shrink-0 text-brass","aria-hidden":"true"})},ke=j=>{qt(j,{class:"size-3 shrink-0","aria-hidden":"true"})};x(W,j=>{e(u).id!==Ze&&e(u).id!==$e?j(fe):e(u).id===Ze&&j(ke,1)})}var ge=n(W,2),w=y(ge,!0),_=n(ge,2),S=y(_),p=n(_,2),I=y(p,!0);o(T),b((j,O)=>{m(T,"id",j),m(T,"aria-checked",e(K)===e(u).id),m(T,"tabindex",e(K)===e(u).id?0:-1),P(T,1,`flex shrink-0 cursor-pointer items-center gap-1.5 rounded-full border px-3.5 py-1.5 whitespace-nowrap transition-colors focus-visible:outline-2 focus-visible:outline-ring ${e(K)===e(u).id?"border-foreground bg-foreground font-medium text-background":"text-foreground/85 hover:border-foreground/40 hover:text-foreground"}`),m(T,"title",`${e(u).label??""}${O??""}: ${e(E)??""} in play${e(M)?`, ${e(M)} waiting on you`:""}`),f(w,e(u).short),f(S,`: ${e(E)??""} in play${e(M)?`, ${e(M)} waiting on you`:""}`),P(p,1,`shrink-0 font-mono text-[0.75rem] tabular-nums ${e(M)?"rounded-full bg-sea px-[5px] font-semibold text-on-accent":"opacity-70"}`),f(I,e(M)||e(E))},[()=>Ne(e(u).id),()=>e(u).mate?.host?` ${ht(e(u).mate.host)}`:""]),ne("click",T,()=>Ie(e(u).id)),d(h,T)}),o(i),o(a),ne("keydown",i,tt),d(t,a)};x(St,t=>{e(se).length>1&&t(Qt)})}var Ve=n(St,2);pe(Ve,21,()=>e(k),t=>t.id,(t,a)=>{var i=Cr(),h=s(i,!0),u=n(h);{var E=M=>{var T=yr(),W=y(T,!0);b(()=>{P(T,1,`tabular rounded-full px-1.5 text-xs leading-4 font-semibold ${e(a).strong?"bg-sea text-on-accent":"bg-muted text-muted-foreground"}`),f(W,e(a).count)}),d(M,T)};x(u,M=>{e(a).count&&M(E)})}o(i),b(()=>{m(i,"id",`rail-tab-${e(a).id??""}`),m(i,"aria-selected",e(A)===e(a).id),m(i,"tabindex",e(A)===e(a).id?0:-1),P(i,1,`-mb-px flex shrink-0 cursor-pointer items-center gap-1.5 border-b-[2.5px] px-0.5 py-2.5 text-base whitespace-nowrap transition-colors duration-200 focus-visible:outline-2 focus-visible:outline-ring ${e(A)===e(a).id?"border-gold font-semibold text-foreground":"border-transparent text-muted-foreground hover:text-foreground"}`),f(h,e(a).label)}),ne("click",i,()=>ve(e(a).id)),d(t,i)}),o(Ve);var vt=n(Ve,2),It=s(vt);{var Vt=t=>{var a=jr(),i=s(a);Aa(i,{get entry(){return e(ie)},get now(){return r.now}}),o(a),d(t,a)},Xt=t=>{var a=Hr(),i=he(a);{var h=w=>{var _=Sr(),S=s(_);{let I=l(()=>e(J)?"rotate-90":"");Wa(S,{get class(){return`size-3.5 transition-transform ${e(I)??""}`},"aria-hidden":"true"})}var p=n(S);o(_),b(()=>{m(_,"aria-expanded",e(J)),f(p,`Up next · ${e(Ue)??""}`)}),ne("click",_,()=>Ee(J,!e(J))),d(w,_)};x(i,w=>{e(A)==="under"&&e(Ue)&&w(h)})}var u=n(i,2),E=s(u);{var M=w=>{var _=Ir(),S=s(_);{let p=l(()=>({projectId:U()}));Na(S,{get filter(){return e(p)},compact:!0})}o(_),d(w,_)};x(E,w=>{e(A)==="needs"&&e(Ae)&&w(M)})}var T=n(E,2);pe(T,17,()=>e(nt),w=>w.crew.id,(w,_)=>{var S=Rr(),p=s(S);{var I=L=>{ee(L,()=>e(_).crew,()=>e(_).lines.length)};x(p,L=>{e(se).length>1&&L(I)})}var j=n(p,2);{var O=L=>{var q=Tr();pe(q,21,()=>e(_).lines,G=>G.key,(G,N)=>{var $=Ar(),we=s($);{let Je=l(()=>ae.has(e(N).key)),ft=l(()=>ot(e(N))),gt=l(()=>e(N).kind==="task"&&(e(N).task.status==="queued"||e(N).task.status==="landed")),pt=l(()=>e(N).kind==="task"&&e(N).task.id===e(st));dr(we,{get line(){return e(N)},get now(){return r.now},get open(){return e(Je)},get project(){return e(ft)},get dim(){return e(gt)},get selected(){return e(pt)},onToggle:()=>Le(e(N).key),onOpen:aa=>Mt.openTask(aa.id),onChat:it})}o($),zt(1,$,()=>ja),zt(2,$,()=>Sa,()=>({word:e(N).kind==="decision"?_t.stampFor(e(N).card.id):null})),d(G,$)}),o(q),d(L,q)},B=L=>{var q=zr(),G=y(q,!0);b(()=>f(G,He[e(A)])),d(L,q)};x(j,L=>{e(_).lines.length?L(O):e(A)==="needs"&&e(Ae)||L(B,1)})}o(S),b(()=>{m(S,"aria-label",e(_).crew.label),m(S,"data-crew-group",e(_).crew.id)}),d(w,S)},w=>{var _=sa(),S=he(_);{var p=I=>{var j=Er(),O=s(j);{var B=q=>{Ga(q,{class:"size-4 text-success","aria-hidden":"true"})};x(O,q=>{e(A)==="needs"&&q(B)})}var L=n(O,1,!0);o(j),b(()=>f(L,He[e(A)])),d(I,j)};x(S,I=>{e(A)==="needs"&&e(Ae)||I(p)})}d(w,_)}),o(u);var W=n(u,2);{var fe=w=>{var _=Or(),S=he(_),p=s(S),I=s(p);Fa(I,{class:"size-3.5","aria-hidden":"true"}),Me(),o(p),Me(4),o(S);var j=n(S,2);pe(j,21,()=>e(V).slice(0,3),O=>O.id,(O,B)=>{var L=Mr(),q=s(L),G=s(q),N=y(G,!0),$=n(G,2),we=y($,!0),Je=n($,2),ft=y(Je,!0);o(q),o(L),b((gt,pt)=>{m(q,"href",`/decisions#${e(B).id??""}`),m(q,"title",e(B).question),f(N,e(B).taskTitle),f(we,e(B).verdict),m(Je,"title",gt),f(ft,pt)},[()=>kt(e(B).decidedAt,r.now),()=>Ut(e(B).decidedAt,r.now)]),d(O,L)}),o(j),d(w,_)};x(W,w=>{e(A)==="needs"&&e(V).length&&e(We)&&w(fe)})}var ke=n(W,2);{var ge=w=>{var _=Lr(),S=s(_),p=s(S),I=y(p,!0),j=n(p);o(S);var O=n(S,2),B=s(O);Ia(B,{get seconds(){return e(Y)},label:"Today"}),o(O);var L=n(O,2),q=y(L);o(_),b((G,N,$,we)=>{f(I,G),f(j,` of crew time today on ${e(ue)??""}
2
- ${e(ue)===1?"task":"tasks"}`),f(q,`${N??""}% building · ${$??""}% automated review · ${we??""}%
3
- waiting on you`)},[()=>pa(e(de)),()=>xe("build"),()=>xe("review"),()=>xe("captain")]),d(w,_)};x(ke,w=>{e(A)==="landed"&&e(de)>0&&e(We)&&w(ge)})}ne("keydown",u,Ge),d(t,a)};x(It,t=>{e(ie)?t(Vt):t(Xt,-1)})}var mt=n(It,2),Xe=s(mt),At=s(Xe),Jt=n(At);Lt(Jt,{class:"size-4 shrink-0 text-gold","aria-hidden":"true"}),o(Xe);var Zt=n(Xe,2);{var $t=t=>{var a=qr(),i=n(s(a));Lt(i,{class:"size-4 shrink-0 text-gold","aria-hidden":"true"}),o(a),d(t,a)};x(Zt,t=>{e(oe).length&&t($t)})}o(mt);var ea=n(mt,2);{var ta=t=>{var a=Br(),i=n(s(a),4);pe(i,21,()=>e(Ke),h=>h.id,(h,u)=>{var E=Dr(),M=s(E),T=s(M),W=s(T),fe=y(W,!0),ke=n(W,2),ge=y(ke,!0);o(T);var w=n(T,2),_=s(w);let S;o(w),o(M),o(E),b((p,I)=>{m(M,"href",`/projects/${p??""}`),m(M,"aria-label",`${e(u).name??""}: ${e(u).word??""}, ${e(u).landed??""}% of its work landed`),f(fe,e(u).name),f(ge,e(u).word),m(w,"data-tone",e(u).tone),S=la(_,"",S,{width:I})},[()=>encodeURIComponent(e(u).id),()=>`${Math.max(e(u).landed,3)}%`]),d(h,E)}),o(i),o(a),d(t,a)};x(ea,t=>{e(Ke).length&&t(ta)})}o(vt),o(qe),b((t,a,i)=>{f(dt,t),m(D,"aria-label",e(re)?`Claude headroom: ${e(re).label}, ${e(re).percentLeft}% left`:"Claude headroom: not read yet"),f(Wt,e(re)?.label??"Headroom"),f(Ft,e(re)?"Of Claude’s allowance left until it resets":e(H)?.state==="connect"?"Connect your Claude usage to see it":"Claude’s limits are not read yet"),m(Qe,"href",a),m(Qe,"aria-label",`Checks: ${e(Z).percent??""}% of the work in play has nothing failing${e(Z).failing?`, ${e(Z).failing} failing`:""}`),f(Kt,e(Z).failing?`${e(Z).failing} of ${e(Z).inPlay} in play failing`:e(Z).inPlay?`Nothing failing across ${e(Z).inPlay} in play`:"Nothing in play"),m(vt,"aria-labelledby",`rail-tab-${e(A)??""}`),m(Xe,"href",i),f(At,`${U()?"Open the project’s page":"Open every project in Harbour"} `)},[()=>ca(e(z).h),()=>U()?`/projects/${encodeURIComponent(U())}`:"/harbour",()=>U()?`/projects/${encodeURIComponent(U())}`:"/harbour"]),ne("keydown",Ve,le),d(Ce,qe),Nt()}Pt(["click","keydown"]);const Pr=6e4;class Ur{#e=et(null);get value(){return e(this.#e)}set value(r){Ee(this.#e,r,!0)}seed(r){r&&(this.value=r)}connect(r=document){return Ya({load:async()=>{const ee=await fetch("/api/insights");return ee.ok?await ee.json():null},intervalMs:Pr,immediate:!1,onresult:ee=>{ee&&(this.value=ee)},onerror:()=>{},doc:r})}}const En=new Ur;export{Rn as R,Ka as c,En as r};
@@ -1,2 +0,0 @@
1
- import{s as vt}from"./CeV_7ApB.js";import{H as B,N as K,r as me,n as j,i as je,b as T,s as $,a as Se,f as rt,g as Ie,c as oe,d as be,S as Oe,P as nt,p as I,e as bt,m as Et,h as kt,o as Ne,u as xe,j as At,w as St,k as Ge,l as G,q as It,t as at,v as Rt,x as Pt,y as ot}from"./BUvO7f76.js";import{L as se,K as Lt,v as Tt}from"./Jk-ASPRO.js";class te{constructor(t,r){this.status=t,typeof r=="string"?this.body={message:r}:r?this.body=r:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class De{constructor(t,r){try{new Headers({location:r})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(r)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=r}}class Ce extends Error{constructor(t,r,n){super(n),this.status=t,this.text=r}}const Ut=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,jt=/^\/\((?:[^)]+)\)$/;function Ot(e){const t=[];return{pattern:e==="/"||jt.test(e)?/^\/$/:new RegExp(`^${xt(e).map(n=>{const i=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(i)return t.push({name:i[1],matcher:i[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const a=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(a)return t.push({name:a[1],matcher:a[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const s=n.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return Ee(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ee(String.fromCharCode(...c.slice(2).split("-").map(y=>parseInt(y,16))));const l=Ut.exec(c),[,h,d,u,p]=l;return t.push({name:u,matcher:p,optional:!!h,rest:!!d,chained:d?f===1&&s[0]==="":!1}),d?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return Ee(c)}).join("")}).join("")}/?$`),params:t}}function Nt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function xt(e){return e.slice(1).split("/").filter(Nt)}function Dt(e,t,r){const n={},i=e.slice(1),a=i.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const c=t[o];let f=i[o-s];if(c.chained&&c.rest&&s&&(f=i.slice(o-s,o+1).filter(l=>l).join("/"),s=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||r[c.matcher](f)){n[c.name]=f;const l=t[o+1],h=i[o+1];l&&!l.rest&&l.optional&&h&&c.chained&&(s=0),!l&&!h&&Object.keys(n).length===a.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return n}function Ee(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ct({nodes:e,server_loads:t,dictionary:r,matchers:n}){const i=new Set(t);return Object.entries(r).map(([o,[c,f,l]])=>{const{pattern:h,params:d}=Ot(o),u={id:o,exec:p=>{const y=h.exec(p);if(y)return Dt(y,d,n)},errors:[1,...l||[]].map(p=>e[p]),layouts:[0,...f||[]].map(s),leaf:a(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function s(o){return o===void 0?o:[i.has(o),e[o]]}}function st(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Xe(e,t,r=JSON.stringify){const n=r(t);try{sessionStorage[e]=n}catch{}}const Bt=-1,Mt=-2,$t=-3,Ft=-4,qt=-5,Vt=-6,Ht=-7,it=2**32-1,Re=it-1;function Kt(e){return!(!Number.isInteger(e)||e<0||e>Re)}function Yt(e){return!(!Number.isInteger(e)||e<0||e>it)}function zt(e){return Uint8Array.fromBase64(e).buffer}function Gt(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Xt(e){const t=atob(e),r=t.length,n=new Uint8Array(r);for(let i=0;i<r;i++)n[i]=t.charCodeAt(i);return n.buffer}const Wt=typeof Uint8Array.fromBase64=="function",Jt=typeof process=="object"&&process.versions?.node!==void 0,Zt=Wt?zt:Jt?Gt:Xt;function Qt(e,t){return e}const er=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,We=typeof SharedArrayBuffer>"u"?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get,tr={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e==="URL"?new URL(t):e==="URLSearchParams"?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,r,n)=>{try{er.call(t)}catch(a){if(!We)throw a;We.call(t)}const i=globalThis[e];return r!==void 0?new i(t,r,n):new i(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[Re]=void 0,delete t[Re],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,r)=>{e[t]=r},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,r)=>{e.set(t,r)}},rr=Object.freeze(tr);function nr(e,t,r){const n=Qt(rr);if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const i=e,a=Array(i.length);let s=null;function o(c,f=!1){if(c===Bt)return n.fromPrimitive(void 0);if(c===$t)return n.fromPrimitive(NaN);if(c===Ft)return n.fromPrimitive(1/0);if(c===qt)return n.fromPrimitive(-1/0);if(c===Vt)return n.fromPrimitive(-0);if(f||typeof c!="number")throw new Error("Invalid input");if(c in a)return a[c];if(c>=i.length)throw new Error("Invalid input");const l=i[c];if(!l||typeof l!="object")a[c]=n.fromPrimitive(l);else if(Array.isArray(l))if(typeof l[0]=="string"){const h=l[0],d=t&&Object.hasOwn(t,h)?t[h]:void 0;if(d){let u=l[1];if(typeof u!="number"&&(u=i.push(l[1])-1),Object.hasOwn(a,u))return a[c]=d(a[u]);if(s??=new Set,s.has(u))throw new Error("Invalid circular reference");return s.add(u),a[c]=d(o(u)),s.delete(u),a[c]}switch(h){case"Date":a[c]=n.fromISOString(l[1]);break;case"Set":const u=n.createSet();a[c]=u;for(let _=1;_<l.length;_+=1)n.addValue(u,o(l[_]));break;case"Map":const p=n.createMap();a[c]=p;for(let _=1;_<l.length;_+=2)n.addEntry(p,o(l[_]),o(l[_+1]));break;case"RegExp":a[c]=n.fromRegExpInfo(l[1],l[2]);break;case"Object":{const _=l[1];if(typeof i[_]=="object"&&i[_][0]!=="BigInt")throw new Error("Invalid input");a[c]=n.box(o(_));break}case"BigInt":a[c]=n.fromPrimitive(BigInt(l[1]));break;case"null":const y=n.createNullPrototypeObject();a[c]=y;for(let _=1;_<l.length;_+=2){const m=l[_];if(typeof m!="string")throw new Error("Cannot parse an object with a non-string key");if(m==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(y,m,o(l[_+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(i[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const _=o(l[1]);a[c]=n.fromViewInfo(h,_,l[2],l[3]);break}case"ArrayBuffer":{const _=l[1];if(typeof _!="string")throw new Error("Invalid ArrayBuffer encoding");a[c]=n.fromArrayBuffer(Zt(_));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{a[c]=n.fromStringValue(h,l[1]);break}default:throw new Error(`Unknown type ${h}`)}}else if(l[0]===Ht){const h=l[1];if(!Yt(h))throw new Error("Invalid input");const d=n.createSparseArray(h);a[c]=d;for(let u=2;u<l.length;u+=2){const p=l[u];if(!Kt(p)||p>=h)throw new Error("Invalid input");n.set(d,p,o(l[u+1]))}}else{const h=n.createArray(l.length);a[c]=h;for(let d=0;d<l.length;d+=1){const u=l[d];u!==Mt&&n.set(h,d,o(u))}}else{const h=n.createObject();a[c]=h;for(const d of Object.keys(l)){if(d==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(h,d,o(l[d]))}}return a[c]}return o(0)}function ar(e){return e.filter(t=>t!=null)}const or="x-sveltekit-invalidated",sr="x-sveltekit-trailing-slash";function F(e,t){return e+"/"+t}function ie(e){return e instanceof te||e instanceof Ce?e.status:500}function ir(e){return e instanceof Ce?e.text:"Internal Error"}const cr="/__data.json",lr=".html__data.json";function fr(e){return e.endsWith(".html")?e.replace(/\.html$/,lr):e.replace(/\/$/,"")+cr}const Je={spanContext(){return ur},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},ur={traceId:"",spanId:"",traceFlags:0};async function*dr(e,t){let r=!1,n="";const i=new TextDecoder;for(;;){let a=n.indexOf(t);for(;a!==-1;)yield n.slice(0,a),n=n.slice(a+t.length),a=n.indexOf(t);if(r){n&&(yield n);return}const s=await e.read();r=s.done,s.value&&(n+=i.decode(s.value,{stream:!0})),r&&(n+=i.decode())}}async function*hr(e){for await(const t of dr(e,`
2
- `)){const r=t.trim();r&&(yield JSON.parse(r))}}const{onMount:pr}=vt,_r=Tt??(e=>e()),mr=new Set(["icon","shortcut icon","apple-touch-icon"]);let X=null;const D=st(ot)??{},Z=st(at)??{},x={url:Ge({}),page:Ge({}),navigating:St(null),updated:At()};function Be(e){D[e]=$()}function gr(e,t){let r=e+1;for(;D[r];)delete D[r],r+=1;for(r=t+1;Z[r];)delete Z[r],r+=1}function Y(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(j)}async function ct(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}let Me,Pe,ce,N,Le,E;const le=[],fe=[];let L=null;function Q(){L?.fork?.then(e=>e?.discard()),L=null,q={element:void 0,href:void 0}}const ae=new Map,$e=new Set,lt=new Set,V=new Set;let g={branch:[],error:null,url:null,nav:null},Fe=!1,ue=!1,Ze=!0,ee=!1,W=!1,ft=!1,re=!1,ge,A,R,U;const J=new Set;let ke;const de=new Map,he=new Map;async function Nr(e,t,r){if(globalThis.__sveltekit_14frzys.data){const{q:a={},p:s={},l:o={},f:c={}}=globalThis.__sveltekit_14frzys.data;for(const f in a)a[f];for(const f in o)o[f];for(const f in c)c[f];for(const f in s)s[f]}document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),Me=Ct(e),N=document.documentElement,Le=t,Pe=e.nodes[0],ce=e.nodes[1],Pe(),ce(),A=history.state?.[B],R=history.state?.[K],A||(A=R=Date.now(),history.replaceState({...history.state,[B]:A,[K]:R},""));const n=D[A];function i(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(i(),await Rr(Le,r)):(await H({type:"enter",url:me(E.hash?Tr(new URL(location.href)):location.href),replace_state:!0}),i()),Ir()}async function yr(e=!0,t=!0){if(await(ke||=Promise.resolve()),!ke)return;ke=null;const r=U={},n=await ne(g.url,!0);Q();const i=new Map;if(re){for(const s of de.values())for(const{resource:o}of s.values())o.refresh();for(const[s,o]of he)for(const[c,{resource:f}]of o){const l=F(s,c),h=f.reconnect();h.catch(j),i.set(l,h)}}if(e){const s=I.state,o=n&&await Ke(n);if(!o||r!==U)return;if(o.type==="redirect")return qe(new URL(o.location,g.url).href,{replaceState:!0},1,r);t||(o.props.page.state=s),xe(o.props.page),g={...o.state,nav:g.nav},Te(),ge.$set(o.props)}else Te();const a=[];for(const s of de.values())for(const{resource:o}of s.values())a.push(o);for(const[s,o]of he)for(const c of o.keys()){const f=F(s,c),l=i.get(f);l&&a.push(l)}await Promise.all(a).catch(j)}function Te(){le.length=0,re=!1}function ut(e){fe.some(t=>t?.snapshot)&&(Z[e]=fe.map(t=>t?.snapshot?.capture()))}function dt(e){Z[e]?.forEach((t,r)=>{fe[r]?.snapshot?.restore(t)})}function Qe(){Be(A),Xe(ot,D),ut(R),Xe(at,Z)}async function qe(e,t,r,n){let i,a;t.invalidateAll&&Q(),await H({type:"goto",url:me(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:r,nav_token:n,accept:()=>{if(t.invalidateAll){re=!0,i=new Set;for(const[s,o]of de)for(const[c,f]of o)f.resource?.reset(),i.add(F(s,c));a=new Set;for(const[s,o]of he)for(const c of o.keys())a.add(F(s,c))}t.invalidate&&t.invalidate.forEach(Sr)}}),t.invalidateAll&&se().then(se).then(()=>{for(const[s,o]of de)for(const[c,{resource:f}]of o)i?.has(F(s,c))&&f.start();for(const[s,o]of he)for(const[c,{resource:f}]of o)a?.has(F(s,c))&&f.reconnect()})}async function wr(e){if(e.id!==L?.id){Q();const t={};J.add(t),L={id:e.id,token:t,promise:Ke({...e,preload:t}).then(r=>(J.delete(t),r.type==="loaded"&&r.state.error&&Q(),r)),fork:null}}return L.promise}async function Ae(e){const t=(await ne(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function ht(e,t,r){const n={params:g.params,route:{id:g.route?.id??null},url:new URL(location.href)};if(g={...e.state,nav:n},xe(e.props.page),ge=new E.root({target:t,props:{...e.props,stores:x,components:fe},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),r){const i={from:null,to:{...n,scroll:D[A]??$()},willUnload:!1,type:"enter",complete:Promise.resolve()};V.forEach(a=>a(i))}dt(R),ue=!0}async function pe({url:e,params:t,branch:r,errors:n,status:i,error:a,route:s,form:o}){let c="never";if(T&&(e.pathname===T||e.pathname===T+"/"))c="always";else for(const p of r)p?.slash!==void 0&&(c=p.slash);e.pathname=kt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:a,route:s},props:{constructors:ar(r).map(p=>p.node.component),page:we(I)}};o!==void 0&&(f.props.form=o);let l={},h=!I,d=0;for(let p=0;p<Math.max(r.length,g.branch.length);p+=1){const y=r[p],_=g.branch[p];y?.data!==_?.data&&(h=!0),y&&(l={...l,...y.data},h&&(f.props[`data_${d}`]=l),d+=1)}return(!g.url||e.href!==g.url.href||g.error!==a||o!==void 0&&o!==I.form||h)&&(f.props.page={error:a,params:t,route:{id:s?.id??null},state:{},status:i,url:new URL(e),form:o??null,data:h?l:I.data}),f}async function Ve({loader:e,parent:t,url:r,params:n,route:i,server_data_node:a}){let s=null,o=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},f=await e();if(f.universal?.load){let l=function(...d){for(const u of d){const{href:p}=new URL(u,r);c.dependencies.add(p)}};const h={tracing:{enabled:!1,root:Je,current:Je},route:new Proxy(i,{get:(d,u)=>(o&&(c.route=!0),d[u])}),params:new Proxy(n,{get:(d,u)=>(o&&c.params.add(u),d[u])}),data:a?.data??null,url:Et(r,()=>{o&&(c.url=!0)},d=>{o&&c.search_params.add(d)},E.hash),async fetch(d,u){d instanceof Request&&(u={body:d.method==="GET"||d.method==="HEAD"?void 0:await d.blob(),cache:d.cache,credentials:d.credentials,headers:[...d.headers].length>0?d?.headers:void 0,integrity:d.integrity,keepalive:d.keepalive,method:d.method,mode:d.mode,redirect:d.redirect,referrer:d.referrer,referrerPolicy:d.referrerPolicy,signal:d.signal,...u});const{resolved:p,promise:y}=pt(d,u,r);return o&&l(p.href),y},setHeaders:j,depends:l,parent(){return o&&(c.parent=!0),t()},untrack(d){o=!1;try{return d()}finally{o=!0}}};s=await f.universal.load.call(null,h)??null}return{node:f,loader:e,server:a,universal:f.universal?.load?{type:"data",data:s,uses:c}:null,data:s??a?.data??null,slash:f.universal?.trailingSlash??a?.slash}}function pt(e,t,r){let n=e instanceof Request?e.url:e;const i=new URL(n,r);i.origin===r.origin&&(n=i.href.slice(r.origin.length));const a=ue?Rt(n,i.href,t):Pt(n,t);return{resolved:i,promise:a}}function et(e,t,r,n,i,a){if(re)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&r)return!0;for(const s of i.search_params)if(n.has(s))return!0;for(const s of i.params)if(a[s]!==g.params[s])return!0;for(const s of i.dependencies)if(le.some(o=>o(new URL(s))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function vr(e,t){if(!e)return new Set(t.searchParams.keys());const r=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of r){const i=e.searchParams.getAll(n),a=t.searchParams.getAll(n);i.every(s=>a.includes(s))&&a.every(s=>i.includes(s))&&r.delete(n)}return r}function tt({error:e,url:t,route:r,params:n}){return{type:"loaded",state:{error:e,url:t,route:r,params:n,branch:[]},props:{page:we(I),constructors:[]}}}async function Ke({id:e,invalidating:t,url:r,params:n,route:i,preload:a}){if(L?.id===e)return J.delete(L.token),L.promise;const{errors:s,layouts:o,leaf:c}=i,f=[...o,c];s.forEach(w=>w?.().catch(j)),f.forEach(w=>w?.[1]().catch(j));let l=null;const h=g.url?e!==_e(g.url):!1,d=g.route?i.id!==g.route.id:!1,u=vr(g.url,r);let p=!1;{const w=f.map((v,k)=>{const S=g.branch[k],b=!!v?.[0]&&(S?.loader!==v[1]||et(p,d,h,u,S.server?.uses,n));return b&&(p=!0),b});if(w.some(Boolean)){try{l=await gt(r,w)}catch(v){const k=await M(v,{url:r,params:n,route:{id:e}});return a&&J.has(a)?tt({error:k,url:r,params:n,route:i}):ye({status:ie(v),error:k,url:r,route:i})}if(l.type==="redirect")return l}}const y=l?.nodes;let _=!1;const m=f.map(async(w,v)=>{if(!w)return;const k=g.branch[v],S=y?.[v];if((!S||S.type==="skip")&&w[1]===k?.loader&&!et(_,d,h,u,k.universal?.uses,n))return k;if(_=!0,S?.type==="error")throw S;return Ve({loader:w[1],url:r,params:n,route:i,parent:async()=>{const O={};for(let C=0;C<v;C+=1)Object.assign(O,(await m[C])?.data);return O},server_data_node:He(S===void 0&&w[0]?{type:"skip"}:S??null,w[0]?k?.server:void 0)})});for(const w of m)w.catch(j);const P=[];for(let w=0;w<f.length;w+=1)if(f[w])try{P.push(await m[w])}catch(v){if(v instanceof De)return{type:"redirect",location:v.location};if(a&&J.has(a))return tt({error:await M(v,{params:n,url:r,route:{id:i.id}}),url:r,params:n,route:i});let k=ie(v),S;if(y?.includes(v))k=v.status??k,S=v.error;else if(v instanceof te)S=v.body;else{if(await x.updated.check())return await ct(),await Y(r);S=await M(v,{params:n,url:r,route:{id:i.id}})}const b=await br(w,P,s);return b?pe({url:r,params:n,branch:P.slice(0,b.idx).concat(b.node),errors:s,status:k,error:S,route:i}):await mt(r,{id:i.id},S,k)}else P.push(void 0);return pe({url:r,params:n,branch:P,errors:s,status:200,error:null,route:i,form:t?void 0:null})}async function br(e,t,r){for(;e--;)if(r[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ye({status:e,error:t,url:r,route:n}){const i={};let a=null;if(E.server_loads[0]===0)try{const o=await gt(r,[!0]);if(o.type!=="data"||o.nodes[0]&&o.nodes[0].type!=="data")throw 0;a=o.nodes[0]??null}catch(o){if(!(o instanceof te&&o.status===404)&&(r.origin!==Ne||r.pathname!==location.pathname||Fe))return await Y(r)}try{const s=await Ve({loader:Pe,url:r,params:i,route:n,parent:()=>Promise.resolve({}),server_data_node:He(a)}),o={node:await ce(),loader:ce,universal:null,server:null,data:null};return pe({url:r,params:i,branch:[s,o],status:e,error:t,errors:[],route:null})}catch(s){if(s instanceof De){await qe(new URL(s.location,location.href),{},0);return}const o=await E.get_error_template(),c=await M(s,{url:r,params:i,route:n}),f=String(c?.message??"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),l=o({status:e,message:f}),h=new DOMParser().parseFromString(l,"text/html");throw document.documentElement.replaceChild(document.adoptNode(h.head),document.head),document.documentElement.replaceChild(document.adoptNode(h.body),document.body),s}}async function Er(e){const t=e.href;if(ae.has(t))return ae.get(t);let r;try{const n=(async()=>{let i=await E.hooks.reroute({url:new URL(e),fetch:async(a,s)=>pt(a,s,e).promise})??e;if(typeof i=="string"){const a=new URL(e);E.hash?a.hash=i:a.pathname=i,i=a}return i})();ae.set(t,n),r=await n}catch{ae.delete(t);return}return r}async function ne(e,t){if(e&&!je(e,T,E.hash)){const r=await Er(e);if(!r)return;const n=kr(r);for(const i of Me){const a=i.exec(n);if(a)return{id:_e(e),invalidating:t,route:i,params:bt(a),url:e}}}}function kr(e){return It(E.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(T.length))||"/"}function _e(e){return(E.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function _t({url:e,type:t,intent:r,delta:n,event:i,scroll:a}){let s=!1;const o=ze(g,r,e,t,a??null);n!==void 0&&(o.navigation.delta=n),i!==void 0&&(o.navigation.event=i);const c={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return ee||$e.forEach(f=>f(c)),s?null:o}async function H({type:e,url:t,popped:r,keepfocus:n,noscroll:i,replace_state:a,state:s={},redirect_count:o=0,nav_token:c={},accept:f=j,block:l=j,event:h}){const d=U;U=c;const u=await ne(t,!1),p=e==="enter"?ze(g,u,t,e):_t({url:t,type:e,delta:r?.delta,intent:u,scroll:r?.scroll,event:h});if(!p){l(),U===c&&(U=d);return}const y=A,_=R;f(),ee=!0,ue&&p.navigation.type!=="enter"&&x.navigating.set(Se.current=p.navigation);let m=u&&await Ke(u);if(!m){if(je(t,T,E.hash))return await Y(t,a);m=await mt(t,{id:null},await M(new Ce(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,a)}if(t=u?.url||t,U!==c){p.reject(new Error("navigation aborted"));return}if(!m)return;if(m.type==="redirect"){if(o<20){await H({type:e,url:new URL(m.location,t),popped:r,keepfocus:n,noscroll:i,replace_state:a,state:s,redirect_count:o+1,nav_token:c}),p.fulfil(void 0);return}if(m=await ye({status:500,error:await M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!m)return}else if(m.props.page.status>=400&&await x.updated.check())return await ct(),await Y(t,a);if(Te(),Be(y),ut(_),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),s=r?r.state:s,!r){const b=a?0:1,O={[B]:A+=b,[K]:R+=b,[Oe]:s};(a?history.replaceState:history.pushState).call(history,O,"",t),a||gr(A,R)}const P=u&&L?.id===u.id?L.fork:null;L?.fork&&!P?Q():(L=null,q={element:void 0,href:void 0}),m.props.page.state=s;let w;if(ue){const b=(await Promise.all(Array.from(lt,z=>z(p.navigation)))).filter(z=>typeof z=="function");if(b.length>0){let z=function(){b.forEach(ve=>{V.delete(ve)})};b.push(z),b.forEach(ve=>{V.add(ve)})}const O=p.navigation.to;g={...m.state,nav:{params:O.params,route:O.route,url:O.url}},m.props.page&&(m.props.page.url=t),!n&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const C=P&&await P;C?w=C.commit():(X=null,ge.$set(m.props),X&&Object.assign(m.props.page,X),xe(m.props.page),w=Lt?.()),ft=!0}else await ht(m,Le,!1);const{activeElement:v}=document;if(await w,await se(),await se(),U!==c){p.reject(new Error("navigation aborted"));return}m.props.page&&X&&Object.assign(m.props.page,X);let k=null;if(Ze){const b=r?r.scroll:i?$():null;b?scrollTo(b.x,b.y):(k=t.hash&&document.getElementById(wt(t)))?k.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==v&&document.activeElement!==document.body;!n&&!S&&Lr(t,!k),Ze=!0,ee=!1,p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=$()),V.forEach(b=>b(p.navigation)),e==="popstate"&&dt(R),x.navigating.set(Se.current=null)}async function mt(e,t,r,n,i){return e.origin===Ne&&e.pathname===location.pathname&&!Fe?await ye({status:n,error:r,url:e,route:t}):await Y(e,i)}let q={element:void 0,href:void 0};function Ar(){let e,t;N.addEventListener("mousemove",s=>{const o=s.target;clearTimeout(e),e=setTimeout(()=>{i(o,G.hover)},20)});function r(s){s.defaultPrevented||i(s.composedPath()[0],G.tap)}N.addEventListener("mousedown",r),N.addEventListener("touchstart",r,{passive:!0});const n=new IntersectionObserver(s=>{for(const o of s)o.isIntersecting&&(Ae(new URL(o.target.href)),n.unobserve(o.target))},{threshold:0});async function i(s,o){const c=rt(s,N),f=c===q.element&&c?.href===q.href&&o>=t;if(!c||f)return;const{url:l,external:h,download:d}=Ie(c,T,E.hash);if(h||d)return;const u=oe(c),p=l&&_e(g.url)===_e(l);if(!(u.reload||p))if(o<=u.preload_data){q={element:c,href:c.href},t=G.tap;const y=await ne(l,!1);if(!y)return;wr(y)}else o<=u.preload_code&&(q={element:c,href:c.href},t=o,Ae(l))}function a(){n.disconnect();for(const s of N.querySelectorAll("a")){const{url:o,external:c,download:f}=Ie(s,T,E.hash);if(c||f)continue;const l=oe(s);l.reload||(l.preload_code===G.viewport&&n.observe(s),l.preload_code===G.eager&&Ae(o))}}V.add(a),a()}function M(e,t){if(e instanceof te)return e.body;const r=ie(e),n=ir(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function Ye(e,t){pr(()=>(e.add(t),()=>{e.delete(t)}))}function xr(e){Ye(V,e)}function Dr(e){Ye($e,e)}function Cr(e){Ye(lt,e)}function Br(e,t={}){return e=new URL(me(e)),e.origin!==Ne?Promise.reject(new Error("goto: invalid URL")):qe(e,t,0)}function Sr(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(r=>r.href===t)}}function Mr(){return re=!0,yr()}function $r(e,t){const r={[B]:A,[K]:R,[nt]:I.url.href,[Oe]:t};history.replaceState(r,"",me(e)),I.state=t,ge.$set({page:_r(()=>we(I))})}function Ir(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Qe(),!ee){const n=ze(g,void 0,null,"leave"),i={...n.navigation,cancel:()=>{r=!0,n.reject(new Error("navigation cancelled"))}};$e.forEach(a=>a(i))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Qe()}),navigator.connection?.saveData||Ar(),N.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=rt(t.composedPath()[0],N);if(!r)return;const{url:n,external:i,target:a,download:s}=Ie(r,T,E.hash);if(!n)return;if(a==="_parent"||a==="_top"){if(window.parent!==window)return}else if(a&&a!=="_self")return;const o=oe(r);if(!(r instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||s)return;const[f,l]=(E.hash?n.hash.replace(/^#/,""):n.href).split("#"),h=f===be(location);if(i||o.reload&&(!h||!l)){_t({url:n,type:"link",event:t})?ee=!0:t.preventDefault();return}if(l!==void 0&&h){const[,d]=g.url.href.split("#");if(d===l){if(t.preventDefault(),l===""||l==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=r.ownerDocument.getElementById(decodeURIComponent(l));u&&(u.scrollIntoView(),u.focus())}return}if(W=!0,Be(A),e(n),!o.replace_state)return;W=!1}t.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),await H({type:"link",url:n,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??n.href===location.href,event:t})}),N.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||r.target)==="_blank"||(n?.formMethod||r.method)!=="get")return;const s=new URL(n?.hasAttribute("formaction")&&n?.formAction||r.action);if(je(s,T,!1))return;const o=t.target,c=oe(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(o,n);s.search=new URLSearchParams(f).toString(),H({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[B]){const r=t.state[B];if(U={},r===A)return;const n=D[r],i=t.state[Oe]??{},a=new URL(t.state[nt]??location.href),s=t.state[K],o=g.url?be(location)===be(g.url):!1;if(s===R&&(ft||o)){i!==I.state&&(I.state=i),e(a),D[A]=$(),n&&scrollTo(n.x,n.y),A=r;return}const f=r-A;await H({type:"popstate",url:a,popped:{state:i,scroll:n,delta:f},accept:()=>{A=r,R=s},block:()=>{history.go(-f)},nav_token:U,event:t})}else if(!W){const r=new URL(location.href);e(r),E.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[B]:++A,[K]:R},"",location.href))});for(const t of document.querySelectorAll("link"))mr.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&x.navigating.set(Se.current=null)});function e(t){g.url=I.url=t,x.page.set(we(I)),x.page.notify()}}async function Rr(e,{status:t=200,error:r,node_ids:n,params:i,route:a,server_route:s,data:o,form:c}){Fe=!0;const f=new URL(location.href);let l;({params:i={},route:a={id:null}}=await ne(f,!1)||{}),l=Me.find(({id:u})=>u===a.id);let h,d=!0;try{const u=n.map(async(y,_)=>{const m=o[_];return m?.uses&&(m.uses=yt(m.uses)),Ve({loader:E.nodes[y],url:f,params:i,route:a,parent:async()=>{const P={};for(let w=0;w<_;w+=1)Object.assign(P,(await u[w]).data);return P},server_data_node:He(m)})}),p=await Promise.all(u);if(l){const y=l.layouts;for(let _=0;_<y.length;_++)y[_]||p.splice(_,0,void 0)}h=await pe({url:f,params:i,branch:p,status:t,error:r,errors:l?.errors,form:c,route:l??null})}catch(u){if(u instanceof De)return await Y(new URL(u.location,location.href));h=await ye({status:ie(u),error:await M(u,{url:f,params:i,route:a}),url:f,route:a}),e.textContent="",d=!1}h&&(h.props.page&&(h.props.page.state={}),await ht(h,e,d))}async function gt(e,t){const r=new URL(e);r.pathname=fr(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(sr,"1"),r.searchParams.append(or,t.map(a=>a?"1":"0").join(""));const n=window.fetch,i=await n(r.href,{});if(!i.ok){let a;throw i.headers.get("content-type")?.includes("application/json")?a=await i.json():i.status===404?a="Not Found":i.status===500&&(a="Internal Error"),new te(i.status,a)}return new Promise((a,s)=>{Pr(a,i).catch(s)})}async function Pr(e,t){const r=t.body.getReader(),n=new Map;function i(a){return nr(a,{...E.decoders,Promise:s=>new Promise((o,c)=>{n.set(s,{fulfil:o,reject:c})})})}for await(const a of hr(r)){if(a.type==="redirect")return e(a);if(a.type==="data")a.nodes?.forEach(s=>{s?.type==="data"&&(s.uses=yt(s.uses),s.data=i(s.data))}),e(a);else if(a.type==="chunk"){const{id:s,data:o,error:c}=a,f=n.get(s);n.delete(s),c?f.reject(i(c)):f.fulfil(i(o))}}}function yt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ue=!1;function Lr(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const n=wt(e);if(n&&document.getElementById(n)){const{x:a,y:s}=$();setTimeout(()=>{const o=history.state;Ue=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(a,s),Ue=!1})}else{const a=document.body,s=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),s!==null?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")}const i=getSelection();if(i&&i.type!=="None"){const a=[];for(let s=0;s<i.rangeCount;s+=1)a.push(i.getRangeAt(s));setTimeout(()=>{if(i.rangeCount===a.length){for(let s=0;s<i.rangeCount;s+=1){const o=a[s],c=i.getRangeAt(s);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}i.removeAllRanges()}})}}}function ze(e,t,r,n,i=null){let a,s;const o=new Promise((f,l)=>{a=f,s=l});return o.catch(j),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:$()},to:r&&{params:t?.params??null,route:{id:t?.route?.id??null},url:r,scroll:i},willUnload:!t,type:n,complete:o},fulfil:a,reject:s}}function we(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Tr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function wt(e){let t;if(E.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{xr as a,Dr as b,Br as g,Mr as i,Cr as o,$r as r,Nr as s};
@@ -1,2 +0,0 @@
1
- import{l as ee}from"./DWebbZSk.js";import{S as ae}from"./BXN538J3.js";import"./DsnmJJEf.js";import{h,s as f,r as b,n as te,t as k,a as l,c as u,p as se,x as L,f as W,i,o as D,b as oe}from"./Jk-ASPRO.js";import{s as z}from"./DTApYZoW.js";import{i as g}from"./BEVJas-l.js";import{s as A,e as H,c as J,b as re,d as ie,r as ne,a as le}from"./DNP6oCAK.js";import{L as Y}from"./D73wi9-q.js";import{C as B}from"./c9k4nDgn.js";import{b as pe}from"./CNxxt--f.js";import{p as G}from"./DQWg__9S.js";async function d(e,a,s){try{const p=await fetch(e,a===null?void 0:{method:"POST",headers:{"content-type":"application/json",[ae]:a},body:JSON.stringify(s??{})}),v=await p.json().catch(()=>null);return p.ok&&v?{ok:!0,value:v}:{ok:!1,error:v?.message??`Wheelhouse answered ${p.status}.`}}catch{return{ok:!1,error:"Wheelhouse did not answer."}}}const Ne=()=>d("/api/plugins/updates",null),Oe=e=>d("/api/plugins/updates",e),Te=(e=!1)=>d(`/api/plugins/marketplace${e?"?refresh=1":""}`,null),We=(e,a)=>d("/api/plugins/marketplace/registries",a,{add:e}),Ae=(e,a)=>d("/api/plugins/marketplace/registries",a,{remove:e}),Fe=(e,a)=>d("/api/plugins/inspect",a,e),Le=(e,a,s)=>d("/api/plugins/install",s,{repo:e.repository,ref:e.ref,commit:e.commit,settings:a}),De=(e,a,s)=>d(`/api/plugins/${encodeURIComponent(e.id)}/update`,s,{ref:e.ref,commit:e.commit,settings:a});function He(e=6e4){return new Promise(a=>{const s=setTimeout(()=>{p(),a(!1)},e),p=ee.onRestart(()=>{clearTimeout(s),p(),a(!0)})})}const Je=(e,a,s)=>d(`/api/plugins/${encodeURIComponent(e)}/config`,s,a),Ye=(e,a,s)=>d("/api/plugins/roles",s,{role:e,provider:a}),Be=(e,a)=>d(`/api/plugins/${encodeURIComponent(e)}/load`,a);var ce=u('<span class="size-4 text-center" aria-hidden="true">·</span>'),ue=u(`<p class="mt-3 text-xs text-muted-foreground">Wheelhouse has not come back yet. If it stays away, run <code>wheelhouse open</code> again; the
2
- change is kept.</p>`),de=u('<div aria-live="polite"><ol class="grid gap-1.5"><li class="flex items-center gap-2"><!> </li> <li><!>Restart Wheelhouse to load it</li></ol> <!></div>');function Ge(e,a){var s=de(),p=h(s),v=h(p),w=h(v);{var I=o=>{Y(o,{class:"size-4 animate-spin text-sea"})},R=o=>{B(o,{class:"size-4 text-success"})};g(w,o=>{a.phase==="saving"?o(I):o(R,-1)})}var r=f(w,1,!0);b(v);var _=f(v,2),S=h(_);{var q=o=>{Y(o,{class:"size-4 animate-spin text-sea"})},E=o=>{B(o,{class:"size-4 text-success"})},N=o=>{var P=ce();l(o,P)};g(S,o=>{a.phase==="restarting"||a.phase==="slow"?o(q):a.phase==="done"?o(E,1):o(N,-1)})}te(),b(_),b(p);var O=f(p,2);{var U=o=>{var P=ue();l(o,P)};g(O,o=>{a.phase==="slow"&&o(U)})}b(s),k(()=>{z(r,a.label),A(_,1,`flex items-center gap-2 ${a.phase==="saving"?"text-muted-foreground":""}`)}),l(e,s)}const ve=e=>e===void 0?"":e===!0?"yes":e===!1?"no":Array.isArray(e)?e.join(", "):String(e),Ke=e=>Object.fromEntries(e.map(a=>[a.key,ve(a.current??a.default)]));var me=u('<span class="text-danger" aria-hidden="true">&nbsp;*</span>'),fe=u('<span class="text-muted-foreground">&nbsp;(optional)</span>'),ge=u("<option>Not set</option>"),_e=u("<option> </option>"),he=u("<option>Yes</option> <option>No</option>",1),be=u("<select><!><!></select>"),xe=u('<input type="text" autocomplete="off" spellcheck="false"/>'),ye=u('<span class="text-xs text-muted-foreground"> </span>'),ke=u('<label class="grid gap-1"><span class="text-xs"> <!></span> <!> <!></label>');function Me(e,a){se(a,!0);let s=G(a,"answers",15),p=G(a,"disabled",3,!1);const v="h-9 rounded-md border border-input bg-background px-2.5 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60";var w=L(),I=W(w);H(I,17,()=>a.settings,R=>R.key,(R,r)=>{var _=ke(),S=h(_),q=h(S,!0),E=f(q);{var N=n=>{var t=me();l(n,t)},O=n=>{var t=fe();l(n,t)};g(E,n=>{i(r).required?n(N):n(O,-1)})}b(S);var U=f(S,2);{var o=n=>{var t=be();A(t,1,J(v));var x=h(t);{var Q=c=>{var m=ge();m.value=m.__value="",l(c,m)};g(x,c=>{i(r).required||c(Q)})}var V=f(x);{var X=c=>{var m=L(),C=W(m);H(C,17,()=>i(r).options,y=>y.value,(y,F)=>{var j=_e(),$=D(j,!0),T={};k(()=>{z($,i(F).label),T!==(T=i(F).value)&&(j.value=(j.__value=T)??"")}),l(y,j)}),l(c,m)},Z=c=>{var m=he(),C=W(m);C.value=C.__value="yes";var y=f(C,2);y.value=y.__value="no",l(c,m)};g(V,c=>{i(r).options?c(X):c(Z,-1)})}b(t),re(t),k(()=>{t.required=i(r).required,t.disabled=p()}),ie(t,()=>s()[i(r).key],c=>s(s()[i(r).key]=c,!0)),l(n,t)},P=n=>{var t=xe();ne(t),A(t,1,J(v)),k(()=>{le(t,"inputmode",i(r).type==="number"?"decimal":void 0),t.required=i(r).required,t.disabled=p()}),pe(t,()=>s()[i(r).key],x=>s(s()[i(r).key]=x,!0)),l(n,t)};g(U,n=>{i(r).type==="boolean"||i(r).options?n(o):n(P,-1)})}var K=f(U,2);{var M=n=>{var t=ye(),x=D(t);k(()=>z(x,`${i(r).description??""??""}${i(r).type==="list"?`${i(r).description?" ":""}Separate them with commas.`:""}`)),l(n,t)};g(K,n=>{(i(r).description||i(r).type==="list")&&n(M)})}b(_),k(()=>z(q,i(r).title)),l(R,_)}),l(e,w),oe()}export{Ge as C,Me as S,ve as a,Ke as b,Je as c,He as d,Fe as e,Oe as f,Ye as g,We as h,Le as i,Be as l,Te as m,Ne as p,Ae as r,De as u};
@@ -1 +0,0 @@
1
- import{p as r}from"./BUvO7f76.js";const t={get data(){return r.data},get error(){return r.error},get form(){return r.form},get params(){return r.params},get route(){return r.route},get state(){return r.state},get status(){return r.status},get url(){return r.url}},a=t;export{a as p};
@@ -1,3 +0,0 @@
1
- @v3�J�6�I6ۺ%�>~�,�[ ���8�0R�J�n��j�e��r�%�d�J�bkd�{�Q�Yb
2
- ��`�w�wȡ��)s���b�s��~Ц�f�1%3�Er� 8[�F�
3
- Y�+ +vL�Hړ����i+���� �v��
@@ -1,7 +0,0 @@
1
- import"./DsnmJJEf.js";import{p as vt,x as ze,f as q,i as e,a as n,b as mt,j as R,h as f,r as d,n as $,c,d as T,k,q as Ke,L as Xe,o as w,s as o,t as D,m as Fe,l as Wt}from"./Jk-ASPRO.js";import{d as $t,s as h,e as Qe,a as Oe}from"./DTApYZoW.js";import{i as C}from"./BEVJas-l.js";import{e as Ve,a as N,s as Ht}from"./DNP6oCAK.js";import{h as Yt,m as Ut}from"./CGnI1F6D.js";import{c as ue}from"./Cq7OFmxz.js";import{b as jt}from"./CNxxt--f.js";import{b as Jt}from"./DLfKkHEy.js";import{s as Ce,r as Ne}from"./DQWg__9S.js";import{k as Bt}from"./Dc0ohDnQ.js";import{S as Gt}from"./BXN538J3.js";import{w as Kt}from"./RYvdmj4W.js";import{c as pe}from"./Dd_RZdO_.js";import{D as Xt,h as Ze,i as et}from"./YcVqGYFt.js";import{H as Qt}from"./ck3_pj9L.js";import{B as re}from"./VrUPyiEH.js";import{D as Vt}from"./DqyvT7BR.js";import{D as Zt,a as es,b as ts,c as ss,d as as,e as rs}from"./Br5gy4Yk.js";import{A as is}from"./C_D8fRYf.js";import{C as ns}from"./B7CIGGfF.js";import{p as os}from"./CjMxTOBq.js";import{i as tt}from"./CosKnXYm.js";import{l as ls}from"./DWebbZSk.js";import{C as ds}from"./c9k4nDgn.js";import{L as Me}from"./D73wi9-q.js";import{X as cs}from"./m8-RluHE.js";import{C as us}from"./C_BRvYKD.js";import{I as qe}from"./DE0e4nJ8.js";import{C as vs}from"./teNj0U11.js";import{R as ms}from"./BgsPzvvM.js";import{S as st}from"./CuSw1clo.js";import{A as fs}from"./B374TgJF.js";import{P as at}from"./DBLsdElo.js";import{P as rt}from"./B_DDhx9A.js";var ps=new Set(["$$slots","$$events","$$legacy"]);function it(E,s){let i=Ne(s,ps);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"}]]};qe(E,Ce(()=>i,{get icon(){return v}}))}var hs=new Set(["$$slots","$$events","$$legacy"]);function _s(E,s){let i=Ne(s,hs);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"}]]};qe(E,Ce(()=>i,{get icon(){return v}}))}var gs=new Set(["$$slots","$$events","$$legacy"]);function xs(E,s){let i=Ne(s,gs);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"]};qe(E,Ce(()=>i,{get icon(){return v}}))}var ks=c('<div class="mt-5" data-task-decisions=""><!></div>'),ys=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
- which passes it on to the crew.</p>`);function ws(E,s){vt(s,!0);const i=R(()=>os.data.inbox),v=R(()=>tt.forTask(s.task.id,e(i),ls.now).length>0),b=R(()=>!e(v)&&s.task.attention?.kind==="decision"&&tt.hasDecision(s.task.id,e(i)));var Q=ze(),le=q(Q);{var Z=y=>{var F=ks(),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=ys(),V=f(F);ds(V,{class:"size-4 shrink-0 text-success","aria-hidden":"true"}),$(),d(F),n(y,F)};C(le,y=>{e(v)?y(Z):e(b)&&y(we,1)})}n(E,Q),mt()}function bs(E){return!E.id.includes("@")&&!E.secondMate&&!["queued","done","landed","closed"].includes(E.status)}const Ss=/(?:instruction|operational input) waiting\b/i;function nt(E,s,i,v=!1){const b=[];for(const y of E)y.kind==="user"?Ss.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(E,s,i,v={}){try{const b=await fetch(E,{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=(E,s,i)=>ft("/api/crew",i,{taskId:E,action:s}),Ds=(E,s,i,v,b=crypto.randomUUID())=>ft("/api/crew/messages",v,{taskId:E,kind:s,text:i},{"idempotency-key":b});class Ps{constructor(s){this.taskId=s}taskId;#e=T(null);get session(){return e(this.#e)}set session(s){k(this.#e,s,!0)}#t=T(null);get source(){return e(this.#t)}set source(s){k(this.#t,s,!0)}#s=T([]);get records(){return e(this.#s)}set records(s){k(this.#s,s)}#a=T("connecting");get connection(){return e(this.#a)}set connection(s){k(this.#a,s,!0)}#r=T(!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 zs=c("<!>End discussion",1),Cs=c('<span class="text-xs text-muted-foreground">Read-only</span>'),Es=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
- each message.</span></p>`),Is=c('<p class="crew-banner crew-banner-read svelte-1f8gn6y" role="note"><span class="crew-tag svelte-1f8gn6y">Read-only</span> <span> </span></p>'),As=c('<p class="crew-banner crew-banner-paused svelte-1f8gn6y" role="status"><span class="crew-tag svelte-1f8gn6y">Paused</span><span> </span></p>'),Ls=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>'),Rs=c('<button class="mx-auto mt-4 block cursor-pointer text-sm text-sea hover:underline" data-show-earlier=""> </button>'),Fs=c('<div class="bubble-row"><div class="bubble bubble-captain"> </div></div>'),Os=c('<p class="flex items-center gap-1.5 text-sm text-muted-foreground"><!> </p>'),Ms=c('<button class="inline-flex cursor-pointer items-center gap-1 font-sans font-medium hover:underline"><!>Send again</button>'),dt=c("<span> </span>"),Ns=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>'),qs=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>'),Ws=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>'),$s=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>'),Hs=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>'),Ys=c('<p class="text-xs text-muted-foreground"> </p>'),Us=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
- here, not there: what you send goes through its inbox.</p> <!></div>`),js=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>'),Bs=c("<!>Start the discussion",1),Gs=c("<!> <!> <!>",1),Ks=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),Xs=c("<!>Ask for status",1),Qs=c("<!>Resume",1),Vs=c("<!>Pause after this step",1),Zs=c("<!> ",1),ea=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>'),ta=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 Na(E,s){vt(s,!0);const i=R(()=>s.taskId);let v=T(null);Ke(()=>{const t=new Ps(e(i));k(v,t,!0);const a=t.connect();return()=>{a(),k(v,null)}});let b=T(!1);const Q=60;let le=T(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.":bs(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=T(""),H=T(null),be=T(!1),he=T(!1),Se=T(!1),De=T(!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 Ds(e(i),t,a,s.token,m);P.ok||k(H,P.error,!0)}function Te(){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(),Te())}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=T(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=ta(),Ee=f(ve),Ie=f(Ee),kt=w(Ie,!0),Ae=o(Ie,2),Le=f(Ae),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(Ae);var Pt=o(Ae,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=zs(),U=q(P);{var ie=j=>{Me(j,{class:"animate-spin"})},de=j=>{cs(j,{})};C(U,j=>{e(be)?j(ie):j(de,-1)})}$(),n(a,P)},$$slots:{default:!0}})},Ct=t=>{var a=Cs();n(t,a)};C(Pt,t=>{s.discussion?t(zt):t(Ct,-1)})}d(Ee);var He=o(Ee,2);{var Et=t=>{var a=Es(),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)},It=t=>{var a=Is(),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)};C(He,t=>{s.discussion?t(Et):t(It,-1)})}var Ye=o(He,2);{var At=t=>{var a=As(),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)};C(Ye,t=>{s.discussion?.paused&&t(At)})}var ge=o(Ye,2),Ue=f(ge);{var Lt=t=>{var a=Ls(),m=f(a);ws(m,{get task(){return s.task}}),d(a),n(t,a)};C(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)};C(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=Rs(),m=w(a);D(()=>h(m,`Show its earlier work (${e(Z).earlier??""})`)),Oe("click",a,we),n(t,a)};C(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=q(P);{var ie=p=>{const r=R(()=>e(a).message);var g=Ns(),O=o(f(g),2),l=f(O),z=o(f(l)),L=w(z,!0);d(l);var A=o(l,2);{var J=u=>{var x=Fs(),_=f(x),S=w(_,!0);d(x),D(()=>h(S,e(r).text)),n(u,x)},ce=u=>{var x=Os(),_=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"})};C(_,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)};C(A,u=>{e(r).kind==="say"?u(J):u(ce,-1)})}var te=o(A,2),oe=f(te);{var me=u=>{Me(u,{class:"size-3 animate-spin","aria-hidden":"true"})},ke=u=>{us(u,{class:"size-3","aria-hidden":"true"})},Y=u=>{_s(u,{class:"size-3 text-success","aria-hidden":"true"})},I=u=>{vs(u,{class:"size-3","aria-hidden":"true"})};C(oe,u=>{e(r).delivery==="sending"?u(me):e(r).delivery==="failed"?u(ke,1):e(r).seen?u(Y,2):u(I,-1)})}var M=o(oe,2),B=w(M,!0),ye=o(M,2);{var se=u=>{var x=Ms(),_=f(x);ms(_,{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)};C(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=qs(),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(A=>{N(O,"datetime",e(a).at),h(l,A),h(L,e(a).item.text)},[()=>pe(e(a).at)]),n(p,r)},j=p=>{const r=R(()=>e(a).item);var g=$s(),O=f(g),l=w(O,!0),z=o(O,2),L=f(z),A=f(L),J=w(A,!0),ce=o(A);{var te=Y=>{var I=dt(),M=w(I,!0);D(()=>h(M,e(V))),n(Y,I)};C(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,I,M)=>{var B=ze(),ye=q(B);{var se=_=>{var S=Ts(),K=f(S);Yt(K,()=>Ut(e(I).text),!0),d(K),d(S),n(_,S)},ae=R(()=>e(I).kind==="text"&&e(I).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(I).steps},get live(){return e(S)}})}},x=_=>{var S=Ws(),K=f(S);$(),d(S),D(W=>h(K,`It asked in its session: ${W??""} `),[()=>e(I).questions.map(W=>W.question).join(" ")]),n(_,S)};C(ye,_=>{e(ae)?_(se):e(I).kind==="activity"?_(u,1):e(I).kind==="question"&&_(x,2)})}n(Y,B)}),d(z),d(g),D((Y,I,M,B)=>{N(g,"aria-label",`${e(i)??""}, ${Y??""}`),N(O,"data-hue",I),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=Hs(),g=w(r,!0);D(()=>h(g,e(a).item.text)),n(p,r)},ne=p=>{var r=Ys(),g=w(r);D(O=>h(g,`${e(a).item.title??""} · ${O??""}`),[()=>pe(e(a).item.at)]),n(p,r)};C(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=Us(),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)};C(Ge,t=>{e(he)&&s.task&&t(Mt)})}var Nt=o(Ge,2);{var qt=t=>{var a=Ks(),m=q(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=js(),z=q(l);xs(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)};C(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=q(l);ue(z,()=>Zt,(L,A)=>{A(L,{class:"sm:max-w-md",children:(J,ce)=>{var te=Gs(),oe=q(te);ue(oe,()=>es,(I,M)=>{M(I,{children:(B,ye)=>{var se=ut(),ae=q(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
5
- say goes to its inbox as yours, it can answer you here, and Firstmate gets a note of
6
- each message so it stays in step. End the discussion when you’re done; most of the time,
7
- talk to Firstmate.`);n(S,W)},$$slots:{default:!0}})}),n(B,se)},$$slots:{default:!0}})});var me=o(oe,2);{var ke=I=>{var M=Js(),B=w(M,!0);D(()=>h(B,e(H))),n(I,M)};C(me,I=>{e(H)&&I(ke)})}var Y=o(me,2);ue(Y,()=>as,(I,M)=>{M(I,{children:(B,ye)=>{var se=ut(),ae=q(se);{const x=(_,S)=>{re(_,Ce(()=>(S?.()).props,{variant:"ghost",children:(W,fe)=>{$();var X=Fe("Cancel");n(W,X)},$$slots:{default:!0}}))};ue(ae,()=>Vt,(_,S)=>{S(_,{child:x,$$slots:{child:!0}})})}var u=o(ae,2);re(u,{onclick:pt,get disabled(){return e(De)},"data-crew-confirm":!0,children:(x,_)=>{var S=Bs(),K=q(S);{var W=fe=>{Me(fe,{class:"animate-spin"})};C(K,fe=>{e(De)&&fe(W)})}$(),n(x,S)},$$slots:{default:!0}}),n(B,se)},$$slots:{default:!0}})}),n(J,te)},$$slots:{default:!0}})}),n(g,l)},$$slots:{default:!0}})}),D(()=>h(de,e(y)??"You’ll be asked to confirm first: you talk to the worker directly.")),n(t,a)},Tt=t=>{var a=ea(),m=f(a),P=f(m);re(P,{variant:"outline",size:"sm",onclick:()=>_e("status"),"data-quick":"status",children:(l,z)=>{var L=Xs(),A=q(L);it(A,{}),$(),n(l,L)},$$slots:{default:!0}});var U=o(P,2);{var ie=l=>{re(l,{variant:"outline",size:"sm",onclick:()=>_e("resume"),"data-quick":"resume",children:(z,L)=>{var A=Qs(),J=q(A);rt(J,{}),$(),n(z,A)},$$slots:{default:!0}})},de=l=>{re(l,{variant:"outline",size:"sm",onclick:()=>_e("pause"),"data-quick":"pause",children:(z,L)=>{var A=Vs(),J=q(A);at(J,{}),$(),n(z,A)},$$slots:{default:!0}})};C(U,l=>{s.discussion.paused?l(ie):l(de,-1)})}var j=o(U,2);{var xe=l=>{re(l,{variant:"outline",size:"sm",get"aria-pressed"(){return e(he)},onclick:()=>k(he,!e(he)),"data-quick":"terminal",children:(z,L)=>{var A=Zs(),J=q(A);st(J,{});var ce=o(J);D(()=>h(ce,`${e(he)?"Hide":"Show"} its terminal`)),n(z,A)},$$slots:{default:!0}})};C(j,l=>{s.task&&l(xe)})}d(m);var ne=o(m,2),p=f(ne);Wt(p);var r=o(p,2);{let l=R(()=>!e(G).trim());re(r,{type:"submit",size:"icon",class:"rounded-full",get disabled(){return e(l)},"aria-label":"Send",children:(z,L)=>{fs(z,{})},$$slots:{default:!0}})}d(ne);var g=o(ne,4);{var O=l=>{var z=ct(),L=w(z,!0);D(()=>h(L,e(H))),n(l,z)};C(g,l=>{e(H)&&l(O)})}d(a),D(()=>{N(p,"placeholder",`Message ${e(i)??""} directly`),N(p,"aria-label",`Message ${e(i)??""} directly`)}),Qe("submit",ne,l=>{l.preventDefault(),Te()}),Oe("keydown",p,ht),jt(p,()=>e(G),l=>k(G,l)),n(t,a)};C(Nt,t=>{s.discussion?t(Tt,-1):t(qt)})}d(ve),D((t,a,m)=>{N(ve,"aria-label",s.discussion?`Crew discussion with ${e(i)}`:`${e(i)}’s conversation`),N(ve,"data-discussion",s.discussion?e(i):void 0),N(ve,"data-task-chat",e(i)),N(Ie,"data-hue",t),h(kt,a),N(Re,"href",`/tasks/${m??""}`),h(yt,e(i)),h(bt,s.task?.title??s.discussion?.title??""),h(Dt,`${e(V)??"Worker"??""}${s.task?` · ${s.task.statusLabel}`:" · no longer in the fleet"}`)},[()=>Ze(e(i)),()=>et(e(i)),()=>encodeURIComponent(e(i))]),Qe("scroll",ge,()=>{e(ee)&&(We=e(ee).scrollTop+e(ee).clientHeight>=e(ee).scrollHeight-40)}),n(E,ve),mt()}$t(["click","keydown"]);export{Na as D,ws as T,xs as U};
@@ -1,3 +0,0 @@
1
- import"./DsnmJJEf.js";import{aC as Ve,p as be,x as Z,f as i,a as r,b as xe,i as e,h as se,y as qe,r as oe,j as y,c as S,d as G,e as Ee,s as d,n as L,m as T,k as a,t as de,o as Ae}from"./Jk-ASPRO.js";import{d as Je,s as ue,e as Ke,a as Me}from"./DTApYZoW.js";import{i as H}from"./BEVJas-l.js";import{c as h}from"./Cq7OFmxz.js";import{l as Qe,r as Be,s as Se,c as ze}from"./DNP6oCAK.js";import{b as Le}from"./CNxxt--f.js";import{p as O,r as We,s as fe}from"./DQWg__9S.js";import{p as Xe}from"./CjMxTOBq.js";import{D as Te}from"./DqyvT7BR.js";import{D as Ye,a as et,b as tt,c as rt,d as he,e as at}from"./Br5gy4Yk.js";import{s as Oe}from"./Wu0Biojm.js";import{c as st,a as ot,b as $e,m as lt}from"./1rMfpM_v.js";import{B as Q}from"./VrUPyiEH.js";import{C as nt,e as it,d as dt,i as ut}from"./CgEXMjiz.js";import{P as ft,i as pt,f as mt,m as vt}from"./DbrTDc61.js";import{P as ct}from"./CJxikGC0.js";import{L as gt}from"./D73wi9-q.js";import{T as _t}from"./BmXrroyA.js";var ht=new Set(["$$slots","$$events","$$legacy","id","ref","children","child","disabled"]),$t=S("<button><!></button>");function bt(X,o){const N=Ve();be(o,!0);let U=O(o,"id",19,()=>st(N)),V=O(o,"ref",15,null),R=O(o,"disabled",3,!1),t=We(o,ht);const $=ot.create({id:$e(()=>U()),ref:$e(()=>V(),c=>V(c)),disabled:$e(()=>!!R())}),A=y(()=>lt(t,$.props));var u=Z(),f=i(u);{var W=c=>{var k=Z(),q=i(k);Oe(q,()=>o.child,()=>({props:e(A)})),r(c,k)},le=c=>{var k=$t();Qe(k,()=>({...e(A)}));var q=se(k);Oe(q,()=>o.children??qe),oe(k),r(c,k)};H(f,c=>{o.child?c(W):c(le,-1)})}r(X,u),xe()}var xt=new Set(["$$slots","$$events","$$legacy","ref","type"]);function wt(X,o){be(o,!0);let N=O(o,"ref",15,null),U=O(o,"type",3,"button"),V=We(o,xt);var R=Z(),t=i(R);h(t,()=>bt,($,A)=>{A($,fe({"data-slot":"dialog-trigger",get type(){return U()}},()=>V,{get ref(){return N()},set ref(u){N(u)}}))}),r(X,R),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>'),Re=S("<!> <!> <!>",1),Ct=S("<p> </p>");function Kt(X,o){be(o,!0);let N=O(o,"busy",19,()=>[]),U=O(o,"suggested",3,null),V=O(o,"label",3,"Install plugin"),R=G(!1),t=G("form"),$=G(""),A=G(""),u=G(null),f=G(null),W=G(Ee({}));const le=y(()=>/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(e($).trim())),c=y(()=>e(f)?vt(e(f),e(W)):null),k=()=>Xe.data.sessionToken,q="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 je(Y){if(Y.preventDefault(),!e(le)||e(t)==="looking")return;a(t,"looking"),a(u,null);const B=await it({repo:e($).trim(),ref:e(A).trim()||null},k());if(!B.ok){a(u,B.error,!0),a(t,"form");return}a(f,B.value,!0),a(W,pt(B.value),!0),a(t,"review")}async function Fe(){if(!e(f)||e(c))return;a(t,"saving"),a(u,null);const Y=dt(),B=await ut(e(f),mt(e(W)),k());if(!B.ok){a(u,B.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,B)=>{B(Y,{onOpenChange:E=>{E&&(e(t)==="done"||e(t)==="slow")&&(a($,""),a(A,""),we()),E&&e(t)==="form"&&U()&&!e($)&&a($,U())},get open(){return e(R)},set open(E){a(R,E,!0)},children:(E,At)=>{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);ct(ne,{});var ve=d(ne,1,!0);de(()=>ue(ve,V())),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:(g,D)=>{var x=ae(),I=i(x);h(I,()=>tt,(l,p)=>{p(l,{class:"font-display text-lg",children:(j,n)=>{L();var m=T("Install a plugin from GitHub");r(j,m)},$$slots:{default:!0}})});var s=d(I,2);h(s,()=>rt,(l,p)=>{p(l,{children:(j,n)=>{var m=Z(),C=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
- Nothing runs until you install it.`);r(v,z)};H(C,v=>{e(t)==="review"?v(_):v(w,-1)})}r(j,m)},$$slots:{default:!0}})}),r(g,x)},$$slots:{default:!0}})});var ne=d(re,2);{var ve=b=>{var P=Dt(),g=i(P),D=se(g),x=d(se(D),2);Be(x),Se(x,1,ze(q)),L(2),oe(D);var I=d(D,2),s=d(se(I),2);Be(s),Se(s,1,ze(q)),L(2),oe(I);var l=d(I,2);{var p=n=>{var m=kt(),C=se(m);_t(C,{class:"mt-0.5 size-3.5 shrink-0"});var _=d(C,1,!0);oe(m),de(()=>ue(_,e(u))),r(n,m)};H(l,n=>{e(u)&&n(p)})}oe(g);var j=d(g,2);h(j,()=>he,(n,m)=>{m(n,{children:(C,_)=>{var w=ae(),v=i(w);{const F=(J,K)=>{Q(J,fe(()=>(K?.()).props,{variant:"ghost",children:(ge,Ce)=>{L();var _e=T("Cancel");r(ge,_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 ce=Z(),ge=i(ce);{var Ce=M=>{var ie=Pt(),Ue=i(ie);gt(Ue,{class:"animate-spin"}),L(),r(M,ie)},_e=M=>{var ie=T("Look it up");r(M,ie)};H(ge,M=>{e(t)==="looking"?M(Ce):M(_e,-1)})}r(J,ce)},$$slots:{default:!0}})}r(C,w)},$$slots:{default:!0}})}),Ke("submit",g,je),Me("input",x,()=>a(u,null)),Le(x,()=>e($),n=>a($,n)),Le(s,()=>e(A),n=>a(A,n)),r(b,P)},Ze=b=>{var P=Re(),g=i(P);ft(g,{get preview(){return e(f)},get busy(){return N()},get answers(){return e(W)},set answers(s){a(W,s,!0)}});var D=d(g,2);{var x=s=>{var l=It(),p=Ae(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,j)=>{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 C=d(m,2);{let _=y(()=>!!e(c)),w=y(()=>e(c)?`${e(c).title} is needed`:void 0);Q(C,{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)},Ne=b=>{var P=Re(),g=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(g,{get label(){return`Install ${e(s)??""} at ${e(l)??""}`},get phase(){return e(p)}})}var D=d(g,2);{var x=s=>{var l=Ct(),p=Ae(l);de(()=>ue(p,`${e(f).name??""}
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,j)=>{var n=Z(),m=i(n);{const C=(_,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:C,$$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(Ne,2)})}r(De,me)},$$slots:{default:!0}})})}r(E,ke)},$$slots:{default:!0}})}),r(X,ye),xe()}Je(["input"]);export{Kt as I};
@@ -1 +0,0 @@
1
- import{d as r,i as n,k as i,e as f}from"./Jk-ASPRO.js";import{p as d}from"./CjMxTOBq.js";import{w as g}from"./RYvdmj4W.js";const m="wheelhouse-live",w="wheelhouse-live-leader",y=2*6e4;class v{#e=r(null);get fleet(){return n(this.#e)}set fleet(e){i(this.#e,e)}#t=r(null);get eventsPaused(){return n(this.#t)}set eventsPaused(e){i(this.#t,e,!0)}#s=r(null);get health(){return n(this.#s)}set health(e){i(this.#s,e,!0)}#a=r(null);get messages(){return n(this.#a)}set messages(e){i(this.#a,e)}#r=r(null);get crew(){return n(this.#r)}set crew(e){i(this.#r,e,!0)}#n=r("connecting");get connection(){return n(this.#n)}set connection(e){i(this.#n,e,!0)}#i=r(f(Date.now()));get now(){return n(this.#i)}set now(e){i(this.#i,e,!0)}#l=r(0);get revision(){return n(this.#l)}set revision(e){i(this.#l,e,!0)}#h=r(!1);get leader(){return n(this.#h)}set leader(e){i(this.#h,e,!0)}claim=()=>!0;alertListeners=new Set;restartListeners=new Set;serverId=null;latest={};recentAlerts=new Map;channel=null;stop=null;onAlert(e){return this.alertListeners.add(e),()=>this.alertListeners.delete(e)}onRestart(e){return this.restartListeners.add(e),()=>this.restartListeners.delete(e)}connect(){if(this.stop)return()=>{};const e=setInterval(()=>this.now=Date.now(),15e3),l=typeof BroadcastChannel<"u"&&!!globalThis.navigator?.locks?this.share():this.lead();return this.stop=()=>{clearInterval(e),l(),this.stop=null},this.stop}share(){const e=new BroadcastChannel(m);this.channel=e,e.onmessage=h=>{const s=h.data;s.t==="hello"?this.leader&&this.replay():s.t==="connection"?this.leader||(this.connection=s.state):this.leader||this.apply(s.e)};const a=new AbortController;let l=()=>{};return navigator.locks.request(w,{signal:a.signal},()=>{const h=this.lead();return new Promise(s=>{l=()=>{h(),s()}})}).catch(()=>{}),e.postMessage({t:"hello"}),()=>{a.abort(),l(),e.close(),this.channel=null}}lead(){this.leader=!0;const e=h=>{this.connection=h,this.post({t:"connection",state:h})},l=g("/api/events",h=>{const s=(t,o)=>h.addEventListener(t,p=>{const c=o(JSON.parse(p.data));this.remember(c),this.apply(c),this.post({t:"event",e:c}),c.type==="fleet"&&e("open")});s("server",t=>({type:"server",data:t})),s("events-status",t=>({type:"events-status",data:t})),s("fleet",t=>({type:"fleet",data:t})),s("health",t=>({type:"health",data:t})),s("messages",t=>({type:"messages",data:t})),s("crew",t=>({type:"crew",data:t})),s("alert",t=>({type:"alert",data:t,fresh:this.claim(t)})),s("settled",t=>({type:"settled",data:t})),s("alerts",t=>({type:"alerts",data:t.map(o=>{const p=this.claim(o);return{alert:o,fresh:p&&Date.now()-Date.parse(o.at)<=y}})}))},e);return()=>{l(),this.leader=!1}}remember(e){if(e.type==="alert")this.recentAlerts.set(e.data.id,e.data);else if(e.type==="settled")this.recentAlerts.delete(e.data);else if(e.type==="alerts")for(const a of e.data)this.recentAlerts.set(a.alert.id,a.alert);else this.latest[e.type]=e.data;for(const a of[...this.recentAlerts.keys()].slice(0,-40))this.recentAlerts.delete(a)}replay(){this.post({t:"connection",state:this.connection}),this.latest["events-status"]&&this.post({t:"event",e:{type:"events-status",data:this.latest["events-status"]}}),this.latest.fleet&&this.post({t:"event",e:{type:"fleet",data:this.latest.fleet}}),this.latest.health&&this.post({t:"event",e:{type:"health",data:this.latest.health}}),this.latest.messages&&this.post({t:"event",e:{type:"messages",data:this.latest.messages}}),this.latest.crew&&this.post({t:"event",e:{type:"crew",data:this.latest.crew}}),this.latest.server&&this.post({t:"event",e:{type:"server",data:this.latest.server}});const e=[...this.recentAlerts.values()].map(a=>({alert:a,fresh:!1}));this.post({t:"event",e:{type:"alerts",data:e}})}apply(e){switch(e.type){case"events-status":this.eventsPaused=e.data.paused;break;case"fleet":this.fleet=e.data,this.revision++,this.connection="open";break;case"health":this.health=e.data;break;case"messages":this.messages=e.data;break;case"crew":this.crew=e.data;break;case"server":{const a=this.serverId!==null&&this.serverId!==e.data.id;if(this.serverId=e.data.id,a)for(const l of this.restartListeners)l();break}default:for(const a of this.alertListeners)a(e)}}post(e){try{this.channel?.postMessage(e)}catch{}}}const u=new v;function C(){return u.fleet??d.data.fleet??null}function I(){return u.health??d.data.health??null}function P(){return u.messages??d.data.messages??null}function S(){return u.crew??d.data.crew??null}export{S as a,I as b,C as c,P as d,u as l};
@@ -1,2 +0,0 @@
1
- import"./DsnmJJEf.js";import{a as me,S as ue}from"./CgEXMjiz.js";import{p as fe,h as c,s as a,o as n,r as f,i as D,t as u,a as v,b as _e,j as ce,f as g,n as ge,c as l}from"./Jk-ASPRO.js";import{s as i}from"./DTApYZoW.js";import{i as _}from"./BEVJas-l.js";import{a as xe,e as we}from"./DNP6oCAK.js";import{p as G}from"./DQWg__9S.js";import{T as he}from"./BmXrroyA.js";const k=m=>m.installed?m.settings.filter(e=>e.current===void 0):m.settings,Ne=m=>Object.fromEntries(k(m).map(e=>[e.key,me(e.current??e.default)])),Be=(m,e)=>k(m).find(x=>x.required&&!e[x.key]?.trim())??null,De=m=>Object.fromEntries(Object.entries(m).filter(([,e])=>e.trim()!==""));var pe=l('<p class="mt-0.5 text-xs text-muted-foreground"> </p>'),be=l('<dt class="text-muted-foreground">Now</dt> <dd class="tabular font-mono"> </dd>',1),ye=l('<span class="font-sans">· <a class="text-sea hover:underline" target="_blank" rel="noreferrer">compare</a></span>'),je=l('<dt class="text-muted-foreground">Author</dt> <dd> </dd>',1),ke=l('<dt class="text-muted-foreground">Runs</dt> <dd> </dd>',1),Ae=l('<dt class="text-muted-foreground">Addresses</dt> <dd> </dd>',1),Ie=l('<dt class="text-muted-foreground">Sends</dt> <dd> </dd>',1),Se=l('<dt class="text-muted-foreground">Role</dt> <dd data-roles=""> </dd>',1),Oe=l('<fieldset class="grid gap-3"><legend class="mb-1 text-xs font-medium"> </legend> <!> <p class="text-xs text-muted-foreground">Kept in Wheelhouse’s plugins file.</p></fieldset>'),We=l("<li> </li>"),Re=l('<div class="text-xs text-muted-foreground">Wheelhouse restarts to load it, which stops: <ul class="mt-0.5 list-inside list-disc"></ul></div>'),Te=l('<div class="grid gap-4"><div class="rounded-md border bg-card px-4 py-3"><p class="font-medium"> <span class="font-normal text-muted-foreground"> </span></p> <!> <dl class="mt-3 grid grid-cols-[6rem_minmax(0,1fr)] gap-x-3 gap-y-1 text-xs"><dt class="text-muted-foreground">From</dt> <dd class="font-mono break-all"> </dd> <!> <dt class="text-muted-foreground">Commit</dt> <dd class="tabular font-mono"> <!></dd> <!> <dt class="text-muted-foreground">Adds</dt> <dd> </dd> <!> <!> <!> <!> <dt class="text-muted-foreground">On</dt> <dd> </dd></dl></div> <!> <p class="flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-xs"><!> <span> </span></p> <!></div>');function Ge(m,e){fe(e,!0);let x=G(e,"answers",15),A=G(e,"busy",19,()=>[]);const I=ce(()=>k(e.preview)),S=t=>t.slice(0,12);var h=Te(),p=c(h),b=c(p),O=c(b),H=a(O),J=n(H);f(b);var W=a(b,2);{var L=t=>{var r=pe(),d=n(r,!0);u(()=>i(d,e.preview.description)),v(t,r)};_(W,t=>{e.preview.description&&t(L)})}var R=a(W,2),T=a(c(R),2),M=n(T),E=a(T,2);{var Q=t=>{var r=be(),d=a(g(r),2),s=n(d);u(o=>i(s,`${e.preview.installed.version??""} · ${o??""}`),[()=>S(e.preview.installed.commit)]),v(t,r)};_(E,t=>{e.preview.installed&&t(Q)})}var y=a(E,4),F=c(y),V=a(F);{var X=t=>{var r=ye(),d=a(c(r));f(r),u(()=>xe(d,"href",`https://github.com/${e.preview.repository??""}/compare/${e.preview.installed.commit??""}...${e.preview.commit??""}`)),v(t,r)};_(V,t=>{e.preview.installed&&t(X)})}f(y);var P=a(y,2);{var Y=t=>{var r=je(),d=a(g(r),2),s=n(d,!0);u(()=>i(s,e.preview.author)),v(t,r)};_(P,t=>{e.preview.author&&t(Y)})}var U=a(P,4),Z=n(U),q=a(U,2);{var $=t=>{var r=ke(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.services.join(", ")]),v(t,r)};_(q,t=>{e.preview.services.length&&t($)})}var z=a(q,2);{var ee=t=>{var r=Ae(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.addresses.join("; ")]),v(t,r)};_(z,t=>{e.preview.addresses?.length&&t(ee)})}var C=a(z,2);{var te=t=>{var r=Ie(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.capabilities.join("; ")]),v(t,r)};_(C,t=>{e.preview.capabilities?.length&&t(te)})}var K=a(C,2);{var re=t=>{var r=Se(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.roles.join("; ")]),v(t,r)};_(K,t=>{e.preview.roles?.length&&t(re)})}var ae=a(K,4),de=n(ae,!0);f(R),f(p);var N=a(p,2);{var se=t=>{var r=Oe(),d=c(r),s=n(d,!0),o=a(d,2);ue(o,{get settings(){return D(I)},get answers(){return x()},set answers(w){x(w)}}),ge(2),f(r),u(()=>i(s,e.preview.installed?"Its new settings":"Its settings")),v(t,r)};_(N,t=>{D(I).length&&t(se)})}var j=a(N,2),B=c(j);he(B,{class:"mt-0.5 size-3.5 shrink-0 text-warning"});var ie=a(B,2),ne=n(ie);f(j);var oe=a(j,2);{var ve=t=>{var r=Re(),d=a(c(r));we(d,20,A,s=>s,(s,o)=>{var w=We(),le=n(w,!0);u(()=>i(le,o)),v(s,w)}),f(d),f(r),v(t,r)};_(oe,t=>{A().length&&t(ve)})}f(h),u((t,r)=>{i(O,`${e.preview.name??""} `),i(J,`${e.preview.id??""} ${e.preview.version??""}`),i(M,`${e.preview.repository??""}${e.preview.ref?` (${e.preview.ref})`:""}`),i(F,`${t??""} `),i(Z,`${r??""}${e.preview.ui?"; a UI bundle":""}`),i(de,e.preview.on),i(ne,`Its code runs with your permissions, inside Wheelhouse and in its pages. Wheelhouse does not
2
- sandbox it. ${e.preview.installed?"Update":"Install"} only plugins you trust.`)},[()=>S(e.preview.commit),()=>e.preview.slots.join(", ")||"nothing to the pages"]),v(m,h),_e()}export{Ge as P,De as f,Ne as i,Be as m};
@@ -1 +0,0 @@
1
- import"./DsnmJJEf.js";import"./BA9bXUEp.js";import{p as c,a as n,b,c as o,o as v,t as d,i as r,r as x}from"./Jk-ASPRO.js";import{s as _}from"./DTApYZoW.js";import{e as y,a as l}from"./DNP6oCAK.js";import{i as w}from"./DlIrtyNJ.js";import{p as i}from"./CjMxTOBq.js";var S=o('<a class="nav-tab shrink-0"> </a>'),E=o('<nav class="-ml-2.5 no-scrollbar flex gap-1 overflow-x-auto" aria-label="Settings"></nav>');function N(f,h){c(h,!1);const g=[{href:"/settings/gateway",label:"Gateway"},{href:"/settings/firstmate",label:"Firstmate"},{href:"/settings/events",label:"Events"},{href:"/settings/plugins",label:"Plugins"},{href:"/settings/material",label:"Agent material"},{href:"/settings/chat",label:"Chat history"},{href:"/settings/voice",label:"Voice"},{href:"/settings/headroom",label:"Headroom"},{href:"/settings/discussion",label:"Discussion"},{href:"/settings/update",label:"Update"},{href:"/settings/setup",label:"Setup"},{href:"/settings/experimental",label:"Experimental features"}].filter(e=>{const t=i.data.features;return e.href==="/settings/gateway"?t?.remotes:e.href==="/settings/events"?t?.events:e.href==="/settings/discussion"?t?.discussion:!0}),p=e=>i.url.pathname===e||i.url.pathname.startsWith(`${e}/`);w();var s=E();y(s,5,()=>g,e=>e.href,(e,t)=>{var a=S(),u=v(a,!0);d(m=>{l(a,"href",r(t).href),l(a,"aria-current",m),_(u,r(t).label)},[()=>p(r(t).href)?"page":void 0]),n(e,a)}),x(s),n(f,s),b()}export{N as S};