@chrisjowen/wheelhouse 0.2.0 → 0.2.1

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 (836) hide show
  1. package/README.md +0 -5
  2. package/build/client/_app/immutable/assets/0.CF4I5T-G.css +1 -0
  3. package/build/client/_app/immutable/assets/0.CF4I5T-G.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.CF4I5T-G.css.gz +0 -0
  5. package/build/client/_app/immutable/chunks/-F7frqRp.js +1 -0
  6. package/build/client/_app/immutable/chunks/-F7frqRp.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/-F7frqRp.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/127nenIp.js +1 -0
  9. package/build/client/_app/immutable/chunks/127nenIp.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/127nenIp.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/2Frsddx8.js +1 -0
  12. package/build/client/_app/immutable/chunks/2Frsddx8.js.br +2 -0
  13. package/build/client/_app/immutable/chunks/2Frsddx8.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/4nLjU3dc.js +1 -0
  15. package/build/client/_app/immutable/chunks/4nLjU3dc.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/4nLjU3dc.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/6IjAKxKZ.js +1 -0
  18. package/build/client/_app/immutable/chunks/6IjAKxKZ.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/6IjAKxKZ.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/6JIb870c.js +1 -0
  21. package/build/client/_app/immutable/chunks/6JIb870c.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/6JIb870c.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/B8szyIrI.js +1 -0
  24. package/build/client/_app/immutable/chunks/B8szyIrI.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/B8szyIrI.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/BDL2L18I.js +1 -0
  27. package/build/client/_app/immutable/chunks/BDL2L18I.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/BDL2L18I.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/BJ_boZ6o.js +1 -0
  30. package/build/client/_app/immutable/chunks/BJ_boZ6o.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/BJ_boZ6o.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/BMOWf_e5.js +1 -0
  33. package/build/client/_app/immutable/chunks/BMOWf_e5.js.br +0 -0
  34. package/build/client/_app/immutable/chunks/BMOWf_e5.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/BOOJ9_kJ.js +6 -0
  36. package/build/client/_app/immutable/chunks/BOOJ9_kJ.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/BOOJ9_kJ.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/BPEcp4vD.js +1 -0
  39. package/build/client/_app/immutable/chunks/BPEcp4vD.js.br +0 -0
  40. package/build/client/_app/immutable/chunks/BPEcp4vD.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/BTcSoYfa.js +1 -0
  42. package/build/client/_app/immutable/chunks/BTcSoYfa.js.br +2 -0
  43. package/build/client/_app/immutable/chunks/BTcSoYfa.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/BV_Ro843.js +1 -0
  45. package/build/client/_app/immutable/chunks/BV_Ro843.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/BV_Ro843.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/BboI5NX2.js +1 -0
  48. package/build/client/_app/immutable/chunks/BboI5NX2.js.br +0 -0
  49. package/build/client/_app/immutable/chunks/BboI5NX2.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/BnqQNG8I.js +1 -0
  51. package/build/client/_app/immutable/chunks/BnqQNG8I.js.br +0 -0
  52. package/build/client/_app/immutable/chunks/BnqQNG8I.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/Bo3sLJjL.js +3 -0
  54. package/build/client/_app/immutable/chunks/Bo3sLJjL.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/Bo3sLJjL.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/Bpgn0RyM.js +1 -0
  57. package/build/client/_app/immutable/chunks/Bpgn0RyM.js.br +0 -0
  58. package/build/client/_app/immutable/chunks/Bpgn0RyM.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/BrGclueo.js +1 -0
  60. package/build/client/_app/immutable/chunks/BrGclueo.js.br +0 -0
  61. package/build/client/_app/immutable/chunks/BrGclueo.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/C-Ka3szt.js +1 -0
  63. package/build/client/_app/immutable/chunks/C-Ka3szt.js.br +0 -0
  64. package/build/client/_app/immutable/chunks/C-Ka3szt.js.gz +0 -0
  65. package/build/client/_app/immutable/chunks/C-YySHlv.js +1 -0
  66. package/build/client/_app/immutable/chunks/C-YySHlv.js.br +0 -0
  67. package/build/client/_app/immutable/chunks/C-YySHlv.js.gz +0 -0
  68. package/build/client/_app/immutable/chunks/C27rbWKB.js +1 -0
  69. package/build/client/_app/immutable/chunks/C27rbWKB.js.br +0 -0
  70. package/build/client/_app/immutable/chunks/C27rbWKB.js.gz +0 -0
  71. package/build/client/_app/immutable/chunks/CA1hL-S6.js +1 -0
  72. package/build/client/_app/immutable/chunks/CA1hL-S6.js.br +0 -0
  73. package/build/client/_app/immutable/chunks/CA1hL-S6.js.gz +0 -0
  74. package/build/client/_app/immutable/chunks/CFdPbSqS.js +1 -0
  75. package/build/client/_app/immutable/chunks/CFdPbSqS.js.br +1 -0
  76. package/build/client/_app/immutable/chunks/CFdPbSqS.js.gz +0 -0
  77. package/build/client/_app/immutable/chunks/CJGygju8.js +1 -0
  78. package/build/client/_app/immutable/chunks/CJGygju8.js.br +0 -0
  79. package/build/client/_app/immutable/chunks/CJGygju8.js.gz +0 -0
  80. package/build/client/_app/immutable/chunks/CLdaRjQZ.js +1 -0
  81. package/build/client/_app/immutable/chunks/CLdaRjQZ.js.br +0 -0
  82. package/build/client/_app/immutable/chunks/CLdaRjQZ.js.gz +0 -0
  83. package/build/client/_app/immutable/chunks/CS3TvEHF.js +1 -0
  84. package/build/client/_app/immutable/chunks/CS3TvEHF.js.br +0 -0
  85. package/build/client/_app/immutable/chunks/CS3TvEHF.js.gz +0 -0
  86. package/build/client/_app/immutable/chunks/CSfYMiqF.js +8 -0
  87. package/build/client/_app/immutable/chunks/CSfYMiqF.js.br +0 -0
  88. package/build/client/_app/immutable/chunks/CSfYMiqF.js.gz +0 -0
  89. package/build/client/_app/immutable/chunks/CW_pu1E1.js +1 -0
  90. package/build/client/_app/immutable/chunks/CW_pu1E1.js.br +0 -0
  91. package/build/client/_app/immutable/chunks/CW_pu1E1.js.gz +0 -0
  92. package/build/client/_app/immutable/chunks/CZYAayp0.js +2 -0
  93. package/build/client/_app/immutable/chunks/CZYAayp0.js.br +0 -0
  94. package/build/client/_app/immutable/chunks/CZYAayp0.js.gz +0 -0
  95. package/build/client/_app/immutable/chunks/Cap_NU8Z.js +1 -0
  96. package/build/client/_app/immutable/chunks/Cap_NU8Z.js.br +0 -0
  97. package/build/client/_app/immutable/chunks/Cap_NU8Z.js.gz +0 -0
  98. package/build/client/_app/immutable/chunks/Cf6ZwSDE.js +1 -0
  99. package/build/client/_app/immutable/chunks/Cf6ZwSDE.js.br +0 -0
  100. package/build/client/_app/immutable/chunks/Cf6ZwSDE.js.gz +0 -0
  101. package/build/client/_app/immutable/chunks/Ch8_zhFw.js +1 -0
  102. package/build/client/_app/immutable/chunks/Ch8_zhFw.js.br +0 -0
  103. package/build/client/_app/immutable/chunks/Ch8_zhFw.js.gz +0 -0
  104. package/build/client/_app/immutable/chunks/Cjji8YKo.js +1 -0
  105. package/build/client/_app/immutable/chunks/Cjji8YKo.js.br +0 -0
  106. package/build/client/_app/immutable/chunks/Cjji8YKo.js.gz +0 -0
  107. package/build/client/_app/immutable/chunks/Ckfspn2s.js +1 -0
  108. package/build/client/_app/immutable/chunks/Ckfspn2s.js.br +0 -0
  109. package/build/client/_app/immutable/chunks/Ckfspn2s.js.gz +0 -0
  110. package/build/client/_app/immutable/chunks/CpkLqQ7l.js +1 -0
  111. package/build/client/_app/immutable/chunks/CpkLqQ7l.js.br +0 -0
  112. package/build/client/_app/immutable/chunks/CpkLqQ7l.js.gz +0 -0
  113. package/build/client/_app/immutable/chunks/Crzhp-x5.js +5 -0
  114. package/build/client/_app/immutable/chunks/Crzhp-x5.js.br +0 -0
  115. package/build/client/_app/immutable/chunks/Crzhp-x5.js.gz +0 -0
  116. package/build/client/_app/immutable/chunks/Cwah_dMw.js +1 -0
  117. package/build/client/_app/immutable/chunks/Cwah_dMw.js.br +0 -0
  118. package/build/client/_app/immutable/chunks/Cwah_dMw.js.gz +0 -0
  119. package/build/client/_app/immutable/chunks/CzsfD4hc.js +1 -0
  120. package/build/client/_app/immutable/chunks/CzsfD4hc.js.br +2 -0
  121. package/build/client/_app/immutable/chunks/CzsfD4hc.js.gz +0 -0
  122. package/build/client/_app/immutable/chunks/D32oVJ_N.js +1 -0
  123. package/build/client/_app/immutable/chunks/D32oVJ_N.js.br +1 -0
  124. package/build/client/_app/immutable/chunks/D32oVJ_N.js.gz +0 -0
  125. package/build/client/_app/immutable/chunks/D4sWXBG7.js +1 -0
  126. package/build/client/_app/immutable/chunks/D4sWXBG7.js.br +0 -0
  127. package/build/client/_app/immutable/chunks/D4sWXBG7.js.gz +0 -0
  128. package/build/client/_app/immutable/chunks/DBs-gHlm.js +2 -0
  129. package/build/client/_app/immutable/chunks/DBs-gHlm.js.br +0 -0
  130. package/build/client/_app/immutable/chunks/DBs-gHlm.js.gz +0 -0
  131. package/build/client/_app/immutable/chunks/DEFXAgPm.js +1 -0
  132. package/build/client/_app/immutable/chunks/DEFXAgPm.js.br +0 -0
  133. package/build/client/_app/immutable/chunks/DEFXAgPm.js.gz +0 -0
  134. package/build/client/_app/immutable/chunks/DHbme8uq.js +1 -0
  135. package/build/client/_app/immutable/chunks/DHbme8uq.js.br +0 -0
  136. package/build/client/_app/immutable/chunks/DHbme8uq.js.gz +0 -0
  137. package/build/client/_app/immutable/chunks/DMkU8x7K.js +1 -0
  138. package/build/client/_app/immutable/chunks/DMkU8x7K.js.br +0 -0
  139. package/build/client/_app/immutable/chunks/DMkU8x7K.js.gz +0 -0
  140. package/build/client/_app/immutable/chunks/DRIYWZlo.js +1 -0
  141. package/build/client/_app/immutable/chunks/DRIYWZlo.js.br +1 -0
  142. package/build/client/_app/immutable/chunks/DRIYWZlo.js.gz +0 -0
  143. package/build/client/_app/immutable/chunks/DUCO61Nb.js +1 -0
  144. package/build/client/_app/immutable/chunks/DUCO61Nb.js.br +0 -0
  145. package/build/client/_app/immutable/chunks/DUCO61Nb.js.gz +0 -0
  146. package/build/client/_app/immutable/chunks/DXz8WA1c.js +1 -0
  147. package/build/client/_app/immutable/chunks/DXz8WA1c.js.br +0 -0
  148. package/build/client/_app/immutable/chunks/DXz8WA1c.js.gz +0 -0
  149. package/build/client/_app/immutable/chunks/D_4WLGwX.js +1 -0
  150. package/build/client/_app/immutable/chunks/D_4WLGwX.js.br +0 -0
  151. package/build/client/_app/immutable/chunks/D_4WLGwX.js.gz +0 -0
  152. package/build/client/_app/immutable/chunks/D_5WjoQx.js +1 -0
  153. package/build/client/_app/immutable/chunks/D_5WjoQx.js.br +0 -0
  154. package/build/client/_app/immutable/chunks/D_5WjoQx.js.gz +0 -0
  155. package/build/client/_app/immutable/chunks/D_C2ZtkZ.js +1 -0
  156. package/build/client/_app/immutable/chunks/D_C2ZtkZ.js.br +0 -0
  157. package/build/client/_app/immutable/chunks/D_C2ZtkZ.js.gz +0 -0
  158. package/build/client/_app/immutable/chunks/De5PDvrQ.js +1 -0
  159. package/build/client/_app/immutable/chunks/De5PDvrQ.js.br +0 -0
  160. package/build/client/_app/immutable/chunks/De5PDvrQ.js.gz +0 -0
  161. package/build/client/_app/immutable/chunks/DhWdMQ8J.js +1 -0
  162. package/build/client/_app/immutable/chunks/DhWdMQ8J.js.br +0 -0
  163. package/build/client/_app/immutable/chunks/DhWdMQ8J.js.gz +0 -0
  164. package/build/client/_app/immutable/chunks/DiCw6gM6.js +1 -0
  165. package/build/client/_app/immutable/chunks/DiCw6gM6.js.br +0 -0
  166. package/build/client/_app/immutable/chunks/DiCw6gM6.js.gz +0 -0
  167. package/build/client/_app/immutable/chunks/JhgT3vN-.js +1 -0
  168. package/build/client/_app/immutable/chunks/JhgT3vN-.js.br +0 -0
  169. package/build/client/_app/immutable/chunks/JhgT3vN-.js.gz +0 -0
  170. package/build/client/_app/immutable/chunks/KA4C2mxd.js +1 -0
  171. package/build/client/_app/immutable/chunks/KA4C2mxd.js.br +0 -0
  172. package/build/client/_app/immutable/chunks/KA4C2mxd.js.gz +0 -0
  173. package/build/client/_app/immutable/chunks/MoZXz26A.js +2 -0
  174. package/build/client/_app/immutable/chunks/MoZXz26A.js.br +0 -0
  175. package/build/client/_app/immutable/chunks/MoZXz26A.js.gz +0 -0
  176. package/build/client/_app/immutable/chunks/PMi1c_Z5.js +2 -0
  177. package/build/client/_app/immutable/chunks/PMi1c_Z5.js.br +0 -0
  178. package/build/client/_app/immutable/chunks/PMi1c_Z5.js.gz +0 -0
  179. package/build/client/_app/immutable/chunks/Pd3Oo-LF.js +1 -0
  180. package/build/client/_app/immutable/chunks/Pd3Oo-LF.js.br +0 -0
  181. package/build/client/_app/immutable/chunks/Pd3Oo-LF.js.gz +0 -0
  182. package/build/client/_app/immutable/chunks/RXXzt1fg.js +1 -0
  183. package/build/client/_app/immutable/chunks/RXXzt1fg.js.br +0 -0
  184. package/build/client/_app/immutable/chunks/RXXzt1fg.js.gz +0 -0
  185. package/build/client/_app/immutable/chunks/WfixpLtG.js +1 -0
  186. package/build/client/_app/immutable/chunks/WfixpLtG.js.br +2 -0
  187. package/build/client/_app/immutable/chunks/WfixpLtG.js.gz +0 -0
  188. package/build/client/_app/immutable/chunks/YB3ysJRI.js +1 -0
  189. package/build/client/_app/immutable/chunks/YB3ysJRI.js.br +0 -0
  190. package/build/client/_app/immutable/chunks/YB3ysJRI.js.gz +0 -0
  191. package/build/client/_app/immutable/chunks/YUajk67G.js +1 -0
  192. package/build/client/_app/immutable/chunks/YUajk67G.js.br +0 -0
  193. package/build/client/_app/immutable/chunks/YUajk67G.js.gz +0 -0
  194. package/build/client/_app/immutable/chunks/a2ZeDrXd.js +1 -0
  195. package/build/client/_app/immutable/chunks/a2ZeDrXd.js.br +0 -0
  196. package/build/client/_app/immutable/chunks/a2ZeDrXd.js.gz +0 -0
  197. package/build/client/_app/immutable/chunks/is3b6W5i.js +1 -0
  198. package/build/client/_app/immutable/chunks/is3b6W5i.js.br +0 -0
  199. package/build/client/_app/immutable/chunks/is3b6W5i.js.gz +0 -0
  200. package/build/client/_app/immutable/chunks/kM8ObZQs.js +62 -0
  201. package/build/client/_app/immutable/chunks/kM8ObZQs.js.br +0 -0
  202. package/build/client/_app/immutable/chunks/kM8ObZQs.js.gz +0 -0
  203. package/build/client/_app/immutable/chunks/qep4C0YL.js +2 -0
  204. package/build/client/_app/immutable/chunks/qep4C0YL.js.br +0 -0
  205. package/build/client/_app/immutable/chunks/qep4C0YL.js.gz +0 -0
  206. package/build/client/_app/immutable/chunks/sSJbwAI9.js +1 -0
  207. package/build/client/_app/immutable/chunks/sSJbwAI9.js.br +0 -0
  208. package/build/client/_app/immutable/chunks/sSJbwAI9.js.gz +0 -0
  209. package/build/client/_app/immutable/chunks/vAxbu4w9.js +1 -0
  210. package/build/client/_app/immutable/chunks/vAxbu4w9.js.br +0 -0
  211. package/build/client/_app/immutable/chunks/vAxbu4w9.js.gz +0 -0
  212. package/build/client/_app/immutable/chunks/zfjlAER1.js +1 -0
  213. package/build/client/_app/immutable/chunks/zfjlAER1.js.br +0 -0
  214. package/build/client/_app/immutable/chunks/zfjlAER1.js.gz +0 -0
  215. package/build/client/_app/immutable/chunks/zrknQfzW.js +1 -0
  216. package/build/client/_app/immutable/chunks/zrknQfzW.js.br +0 -0
  217. package/build/client/_app/immutable/chunks/zrknQfzW.js.gz +0 -0
  218. package/build/client/_app/immutable/entry/app.BVW8a1Lc.js +2 -0
  219. package/build/client/_app/immutable/entry/app.BVW8a1Lc.js.br +0 -0
  220. package/build/client/_app/immutable/entry/app.BVW8a1Lc.js.gz +0 -0
  221. package/build/client/_app/immutable/entry/start.DfAhzzBh.js +1 -0
  222. package/build/client/_app/immutable/entry/start.DfAhzzBh.js.br +0 -0
  223. package/build/client/_app/immutable/entry/start.DfAhzzBh.js.gz +0 -0
  224. package/build/client/_app/immutable/nodes/0.CByWY48H.js +8 -0
  225. package/build/client/_app/immutable/nodes/0.CByWY48H.js.br +0 -0
  226. package/build/client/_app/immutable/nodes/0.CByWY48H.js.gz +0 -0
  227. package/build/client/_app/immutable/nodes/1.BQxkVmZR.js +1 -0
  228. package/build/client/_app/immutable/nodes/1.BQxkVmZR.js.br +0 -0
  229. package/build/client/_app/immutable/nodes/1.BQxkVmZR.js.gz +0 -0
  230. package/build/client/_app/immutable/nodes/10.DF_JvWer.js +3 -0
  231. package/build/client/_app/immutable/nodes/10.DF_JvWer.js.br +0 -0
  232. package/build/client/_app/immutable/nodes/10.DF_JvWer.js.gz +0 -0
  233. package/build/client/_app/immutable/nodes/11.Da20qmQ1.js +1 -0
  234. package/build/client/_app/immutable/nodes/11.Da20qmQ1.js.br +0 -0
  235. package/build/client/_app/immutable/nodes/11.Da20qmQ1.js.gz +0 -0
  236. package/build/client/_app/immutable/nodes/12.DeNfg3Jn.js +14 -0
  237. package/build/client/_app/immutable/nodes/12.DeNfg3Jn.js.br +0 -0
  238. package/build/client/_app/immutable/nodes/12.DeNfg3Jn.js.gz +0 -0
  239. package/build/client/_app/immutable/nodes/13.Vg3b6KJ-.js +150 -0
  240. package/build/client/_app/immutable/nodes/13.Vg3b6KJ-.js.br +0 -0
  241. package/build/client/_app/immutable/nodes/13.Vg3b6KJ-.js.gz +0 -0
  242. package/build/client/_app/immutable/nodes/15.DNQBbVNt.js +11 -0
  243. package/build/client/_app/immutable/nodes/15.DNQBbVNt.js.br +0 -0
  244. package/build/client/_app/immutable/nodes/15.DNQBbVNt.js.gz +0 -0
  245. package/build/client/_app/immutable/nodes/16.PXR5gryE.js +9 -0
  246. package/build/client/_app/immutable/nodes/16.PXR5gryE.js.br +0 -0
  247. package/build/client/_app/immutable/nodes/16.PXR5gryE.js.gz +0 -0
  248. package/build/client/_app/immutable/nodes/17.D6wwTzw0.js +2 -0
  249. package/build/client/_app/immutable/nodes/17.D6wwTzw0.js.br +0 -0
  250. package/build/client/_app/immutable/nodes/17.D6wwTzw0.js.gz +0 -0
  251. package/build/client/_app/immutable/nodes/18.BYPKt-Zj.js +6 -0
  252. package/build/client/_app/immutable/nodes/18.BYPKt-Zj.js.br +0 -0
  253. package/build/client/_app/immutable/nodes/18.BYPKt-Zj.js.gz +0 -0
  254. package/build/client/_app/immutable/nodes/19.eOj7WL-z.js +1 -0
  255. package/build/client/_app/immutable/nodes/19.eOj7WL-z.js.br +0 -0
  256. package/build/client/_app/immutable/nodes/19.eOj7WL-z.js.gz +0 -0
  257. package/build/client/_app/immutable/nodes/2.iGkQWI53.js +14 -0
  258. package/build/client/_app/immutable/nodes/2.iGkQWI53.js.br +0 -0
  259. package/build/client/_app/immutable/nodes/2.iGkQWI53.js.gz +0 -0
  260. package/build/client/_app/immutable/nodes/20.COEvYhSn.js +6 -0
  261. package/build/client/_app/immutable/nodes/20.COEvYhSn.js.br +0 -0
  262. package/build/client/_app/immutable/nodes/20.COEvYhSn.js.gz +0 -0
  263. package/build/client/_app/immutable/nodes/3.DgV1VyBd.js +5 -0
  264. package/build/client/_app/immutable/nodes/3.DgV1VyBd.js.br +0 -0
  265. package/build/client/_app/immutable/nodes/3.DgV1VyBd.js.gz +0 -0
  266. package/build/client/_app/immutable/nodes/4.BFV94RXa.js +1 -0
  267. package/build/client/_app/immutable/nodes/4.BFV94RXa.js.br +0 -0
  268. package/build/client/_app/immutable/nodes/4.BFV94RXa.js.gz +0 -0
  269. package/build/client/_app/immutable/nodes/5.DXQSdCv2.js +1 -0
  270. package/build/client/_app/immutable/nodes/5.DXQSdCv2.js.br +0 -0
  271. package/build/client/_app/immutable/nodes/5.DXQSdCv2.js.gz +0 -0
  272. package/build/client/_app/immutable/nodes/6.BVvx9mug.js +7 -0
  273. package/build/client/_app/immutable/nodes/6.BVvx9mug.js.br +0 -0
  274. package/build/client/_app/immutable/nodes/6.BVvx9mug.js.gz +0 -0
  275. package/build/client/_app/immutable/nodes/7.bgzyRDkn.js +4 -0
  276. package/build/client/_app/immutable/nodes/7.bgzyRDkn.js.br +0 -0
  277. package/build/client/_app/immutable/nodes/7.bgzyRDkn.js.gz +0 -0
  278. package/build/client/_app/immutable/nodes/9.BjRlvbf0.js +1 -0
  279. package/build/client/_app/immutable/nodes/9.BjRlvbf0.js.br +0 -0
  280. package/build/client/_app/immutable/nodes/9.BjRlvbf0.js.gz +0 -0
  281. package/build/client/_app/version.json +1 -1
  282. package/build/client/_app/version.json.br +0 -0
  283. package/build/client/_app/version.json.gz +0 -0
  284. package/build/handler.js +4 -4
  285. package/build/index.js +4 -4
  286. package/build/server/chunks/chunks/DecisionCard.js-CvR7ULLC.js +461 -0
  287. package/build/server/chunks/chunks/EtaLine.js-CtcOSLzV.js +79 -0
  288. package/build/server/chunks/chunks/EveryProjectSwitch.js-DWet6DU1.js +200 -0
  289. package/build/server/chunks/chunks/ProjectBanner.js-19PQF0LD.js +111 -0
  290. package/build/server/chunks/chunks/ResizableRail.js-BmMh1aVL.js +801 -0
  291. package/build/server/chunks/chunks/chat.svelte.js-b0uQXOge.js +545 -0
  292. package/build/server/chunks/chunks/detail.js-9VHqIqfd.js +121 -0
  293. package/build/server/chunks/chunks/internal.js-CxWYnS4m.js +146 -0
  294. package/build/server/chunks/chunks/keys.js-iHygUPeb.js +20 -0
  295. package/build/server/chunks/chunks/live.svelte.js-DavJCZVs.js +238 -0
  296. package/build/server/chunks/chunks/pullrequests.js-CWGxTy8C.js +68 -0
  297. package/build/server/chunks/chunks/pullrequests2.js-CCzk2sqm.js +12 -0
  298. package/build/server/chunks/chunks/repo.js-DU-pK5Nw.js +33 -0
  299. package/build/server/chunks/chunks/runtime.js-4msnOWzY.js +15335 -0
  300. package/build/server/chunks/chunks/service.js-DZR6CoEI.js +914 -0
  301. package/build/server/chunks/chunks/slots.svelte.js-CLIV5nwM.js +34 -0
  302. package/build/server/chunks/chunks/store.js-ByNV-OHV.js +323 -0
  303. package/build/server/chunks/chunks/uploads.js-4OZ09onz.js +107 -0
  304. package/build/server/chunks/chunks/view.js-BPycofxX.js +76 -0
  305. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-DqDt7aNN.js +90 -0
  306. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-D-mwPJ4E.js +100 -0
  307. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-DTl4eBah.js +49 -0
  308. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-HFyCRRIx.js +83 -0
  309. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-CO7kITUs.js +119 -0
  310. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-CTdaQTFX.js +45 -0
  311. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-DKxlZSX3.js +51 -0
  312. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-Bp4CsZQ9.js +44 -0
  313. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js--Ti6GfKf.js +66 -0
  314. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-DudckFen.js +54 -0
  315. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-H09D-uaY.js +44 -0
  316. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-B1jFlBJC.js +31 -0
  317. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-B2h2nWSK.js +39 -0
  318. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-BMcNM7_1.js +36 -0
  319. package/build/server/chunks/entries/endpoints/api/gateway/_server.ts.js-CVc8gLps.js +100 -0
  320. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-BcVLJq4f.js +36 -0
  321. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-DKqY2sWJ.js +60 -0
  322. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-a4l41m0P.js +51 -0
  323. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-Cr_YrS6N.js +36 -0
  324. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-CZUfk-OY.js +71 -0
  325. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-CPBW7xEV.js +23 -0
  326. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-Dg2Sbcgq.js +59 -0
  327. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-C9LXRfKc.js +35 -0
  328. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-C7RCx22P.js +36 -0
  329. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-CSPS_3gF.js +35 -0
  330. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DWxejv3K.js +38 -0
  331. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-BYYXspMy.js +23 -0
  332. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BAPnLV-3.js +41 -0
  333. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-OYV-kJGk.js +50 -0
  334. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-DovNLcSw.js +62 -0
  335. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-CYU1VGUf.js +49 -0
  336. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-CgCzXBIB.js +72 -0
  337. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-BZ2S7d9x.js +55 -0
  338. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-CMVRpWqZ.js +55 -0
  339. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-BhhLjW17.js +44 -0
  340. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-Bukv4dSq.js +41 -0
  341. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-BsHRnnS7.js +60 -0
  342. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-B9eygpXJ.js +48 -0
  343. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-o7w8BRpJ.js +93 -0
  344. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-BaXho4qD.js +110 -0
  345. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-CagOXKfp.js +54 -0
  346. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-CAcsCtS9.js +23 -0
  347. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-CSlKdXcw.js +23 -0
  348. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-OEWlGF9d.js +40 -0
  349. package/build/server/chunks/entries/hooks.server.js-BeVVnKyB.js +54 -0
  350. package/build/server/chunks/entries/pages/_layout.server.ts.js-CFzh0bb7.js +24 -0
  351. package/build/server/chunks/entries/pages/_layout.svelte.js-BQyvY_vc.js +8746 -0
  352. package/build/server/chunks/entries/pages/_page.server.ts.js-DqT-OIkV.js +16 -0
  353. package/build/server/chunks/entries/pages/_page.svelte.js-DMDSI7Tw.js +2220 -0
  354. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-CGjy1S4B.js +11 -0
  355. package/build/server/chunks/entries/pages/files/_page.server.ts.js-D6VF_7EK.js +17 -0
  356. package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-Cbei7bFp.js +46 -0
  357. package/build/server/chunks/entries/pages/harbour/_page.svelte.js-D8RsASWB.js +580 -0
  358. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-DtFxpkIR.js +11 -0
  359. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-Bn5pWt__.js +185 -0
  360. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-CybSuVD4.js +16 -0
  361. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-DMPiRdLN.js +52 -0
  362. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-CroKCV4u.js +23 -0
  363. package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-_DNqdqJc.js +976 -0
  364. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-Vb8907y2.js +21 -0
  365. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-BLTTCa_O.js +74 -0
  366. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-Cor2JYpv.js +27 -0
  367. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-BTgNmS_4.js +433 -0
  368. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-Dtvwihv0.js +15 -0
  369. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-DuitNXlV.js +1880 -0
  370. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-BqNGCjSG.js +11 -0
  371. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-CQ9DVI4s.js +19 -0
  372. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-U1GPMY59.js +1847 -0
  373. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-C_YGnjmx.js +17 -0
  374. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-C_gSykyo.js +220 -0
  375. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-C-lePqYN.js +25 -0
  376. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-Ds1ivkgU.js +2142 -0
  377. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-DH7nAB6U.js +24 -0
  378. package/build/server/chunks/entries/pages/time/_page.server.ts.js-Bfe-SSUC.js +11 -0
  379. package/build/server/chunks/handler-CViJcHBG.js +1474 -0
  380. package/build/server/chunks/index.js-DO8YdJ_5.js +4296 -0
  381. package/build/server/chunks/manifest.js-DJYckUS-.js +501 -0
  382. package/build/server/chunks/nodes/0.js-DZ4kFPNe.js +41 -0
  383. package/build/server/chunks/nodes/1.js-CLGjQTlS.js +9 -0
  384. package/build/server/chunks/nodes/10.js-BN4Clcbg.js +43 -0
  385. package/build/server/chunks/nodes/11.js-DWB1yiJ6.js +42 -0
  386. package/build/server/chunks/nodes/12.js-CA99401F.js +43 -0
  387. package/build/server/chunks/nodes/13.js-YsHE2JFx.js +42 -0
  388. package/build/server/chunks/nodes/15.js-CLdnAt4r.js +41 -0
  389. package/build/server/chunks/nodes/16.js-B-2Iq3Ye.js +41 -0
  390. package/build/server/chunks/nodes/17.js-BTM2TsmR.js +44 -0
  391. package/build/server/chunks/nodes/18.js-D3m0ATU2.js +42 -0
  392. package/build/server/chunks/nodes/19.js-C3dO33LH.js +42 -0
  393. package/build/server/chunks/nodes/2.js-51wjL-91.js +41 -0
  394. package/build/server/chunks/nodes/20.js-e41qDeY7.js +41 -0
  395. package/build/server/chunks/nodes/3.js-3JUV-tiI.js +41 -0
  396. package/build/server/chunks/nodes/4.js-CI6WGOXE.js +41 -0
  397. package/build/server/chunks/nodes/5.js-tZ-lWwlu.js +45 -0
  398. package/build/server/chunks/nodes/6.js-BgQesykU.js +41 -0
  399. package/build/server/chunks/nodes/7.js-CFXzqkNQ.js +9 -0
  400. package/build/server/chunks/nodes/9.js-CUQI6T4W.js +41 -0
  401. package/dist/cli.js +2 -12
  402. package/dist/wh-vault.js +1 -1
  403. package/package.json +1 -1
  404. package/build/client/_app/immutable/assets/0.CKUND0qa.css +0 -1
  405. package/build/client/_app/immutable/assets/0.CKUND0qa.css.br +0 -0
  406. package/build/client/_app/immutable/assets/0.CKUND0qa.css.gz +0 -0
  407. package/build/client/_app/immutable/assets/20.KLSHp5Yu.css +0 -1
  408. package/build/client/_app/immutable/assets/20.KLSHp5Yu.css.br +0 -0
  409. package/build/client/_app/immutable/assets/20.KLSHp5Yu.css.gz +0 -0
  410. package/build/client/_app/immutable/chunks/08Q01-Mc.js +0 -1
  411. package/build/client/_app/immutable/chunks/08Q01-Mc.js.br +0 -0
  412. package/build/client/_app/immutable/chunks/08Q01-Mc.js.gz +0 -0
  413. package/build/client/_app/immutable/chunks/0TvUxbRv.js +0 -1
  414. package/build/client/_app/immutable/chunks/0TvUxbRv.js.br +0 -2
  415. package/build/client/_app/immutable/chunks/0TvUxbRv.js.gz +0 -0
  416. package/build/client/_app/immutable/chunks/3Of2kn6M.js +0 -5
  417. package/build/client/_app/immutable/chunks/3Of2kn6M.js.br +0 -0
  418. package/build/client/_app/immutable/chunks/3Of2kn6M.js.gz +0 -0
  419. package/build/client/_app/immutable/chunks/5fVeMNeJ.js +0 -1
  420. package/build/client/_app/immutable/chunks/5fVeMNeJ.js.br +0 -0
  421. package/build/client/_app/immutable/chunks/5fVeMNeJ.js.gz +0 -0
  422. package/build/client/_app/immutable/chunks/A8GZ5Uuc.js +0 -1
  423. package/build/client/_app/immutable/chunks/A8GZ5Uuc.js.br +0 -0
  424. package/build/client/_app/immutable/chunks/A8GZ5Uuc.js.gz +0 -0
  425. package/build/client/_app/immutable/chunks/AHy1Hzhf.js +0 -1
  426. package/build/client/_app/immutable/chunks/AHy1Hzhf.js.br +0 -0
  427. package/build/client/_app/immutable/chunks/AHy1Hzhf.js.gz +0 -0
  428. package/build/client/_app/immutable/chunks/B3jXa2LJ.js +0 -1
  429. package/build/client/_app/immutable/chunks/B3jXa2LJ.js.br +0 -0
  430. package/build/client/_app/immutable/chunks/B3jXa2LJ.js.gz +0 -0
  431. package/build/client/_app/immutable/chunks/BEDHe9fo.js +0 -1
  432. package/build/client/_app/immutable/chunks/BEDHe9fo.js.br +0 -0
  433. package/build/client/_app/immutable/chunks/BEDHe9fo.js.gz +0 -0
  434. package/build/client/_app/immutable/chunks/BJ_s8GdZ.js +0 -2
  435. package/build/client/_app/immutable/chunks/BJ_s8GdZ.js.br +0 -0
  436. package/build/client/_app/immutable/chunks/BJ_s8GdZ.js.gz +0 -0
  437. package/build/client/_app/immutable/chunks/BKd0HUNP.js +0 -1
  438. package/build/client/_app/immutable/chunks/BKd0HUNP.js.br +0 -1
  439. package/build/client/_app/immutable/chunks/BKd0HUNP.js.gz +0 -0
  440. package/build/client/_app/immutable/chunks/BLL4xbEj.js +0 -1
  441. package/build/client/_app/immutable/chunks/BLL4xbEj.js.br +0 -0
  442. package/build/client/_app/immutable/chunks/BLL4xbEj.js.gz +0 -0
  443. package/build/client/_app/immutable/chunks/BUUcNufp.js +0 -1
  444. package/build/client/_app/immutable/chunks/BUUcNufp.js.br +0 -0
  445. package/build/client/_app/immutable/chunks/BUUcNufp.js.gz +0 -0
  446. package/build/client/_app/immutable/chunks/BY5XjwMm.js +0 -1
  447. package/build/client/_app/immutable/chunks/BY5XjwMm.js.br +0 -0
  448. package/build/client/_app/immutable/chunks/BY5XjwMm.js.gz +0 -0
  449. package/build/client/_app/immutable/chunks/BdZ-2OIO.js +0 -1
  450. package/build/client/_app/immutable/chunks/BdZ-2OIO.js.br +0 -0
  451. package/build/client/_app/immutable/chunks/BdZ-2OIO.js.gz +0 -0
  452. package/build/client/_app/immutable/chunks/BdvB_H6l.js +0 -1
  453. package/build/client/_app/immutable/chunks/BdvB_H6l.js.br +0 -0
  454. package/build/client/_app/immutable/chunks/BdvB_H6l.js.gz +0 -0
  455. package/build/client/_app/immutable/chunks/Bm8huziG.js +0 -1
  456. package/build/client/_app/immutable/chunks/Bm8huziG.js.br +0 -0
  457. package/build/client/_app/immutable/chunks/Bm8huziG.js.gz +0 -0
  458. package/build/client/_app/immutable/chunks/BnMEvq-8.js +0 -1
  459. package/build/client/_app/immutable/chunks/BnMEvq-8.js.br +0 -0
  460. package/build/client/_app/immutable/chunks/BnMEvq-8.js.gz +0 -0
  461. package/build/client/_app/immutable/chunks/BngQrigD.js +0 -1
  462. package/build/client/_app/immutable/chunks/BngQrigD.js.br +0 -0
  463. package/build/client/_app/immutable/chunks/BngQrigD.js.gz +0 -0
  464. package/build/client/_app/immutable/chunks/BqQtpLRF.js +0 -5
  465. package/build/client/_app/immutable/chunks/BqQtpLRF.js.br +0 -0
  466. package/build/client/_app/immutable/chunks/BqQtpLRF.js.gz +0 -0
  467. package/build/client/_app/immutable/chunks/Bx2K4OII.js +0 -1
  468. package/build/client/_app/immutable/chunks/Bx2K4OII.js.br +0 -0
  469. package/build/client/_app/immutable/chunks/Bx2K4OII.js.gz +0 -0
  470. package/build/client/_app/immutable/chunks/Bypc6r1_.js +0 -1
  471. package/build/client/_app/immutable/chunks/Bypc6r1_.js.br +0 -0
  472. package/build/client/_app/immutable/chunks/Bypc6r1_.js.gz +0 -0
  473. package/build/client/_app/immutable/chunks/C16DfZ5a.js +0 -1
  474. package/build/client/_app/immutable/chunks/C16DfZ5a.js.br +0 -1
  475. package/build/client/_app/immutable/chunks/C16DfZ5a.js.gz +0 -0
  476. package/build/client/_app/immutable/chunks/C3Yi7wCu.js +0 -1
  477. package/build/client/_app/immutable/chunks/C3Yi7wCu.js.br +0 -0
  478. package/build/client/_app/immutable/chunks/C3Yi7wCu.js.gz +0 -0
  479. package/build/client/_app/immutable/chunks/C3e5IrpE.js +0 -1
  480. package/build/client/_app/immutable/chunks/C3e5IrpE.js.br +0 -0
  481. package/build/client/_app/immutable/chunks/C3e5IrpE.js.gz +0 -0
  482. package/build/client/_app/immutable/chunks/C3o9xHsB.js +0 -1
  483. package/build/client/_app/immutable/chunks/C3o9xHsB.js.br +0 -0
  484. package/build/client/_app/immutable/chunks/C3o9xHsB.js.gz +0 -0
  485. package/build/client/_app/immutable/chunks/C6q0X9xa.js +0 -1
  486. package/build/client/_app/immutable/chunks/C6q0X9xa.js.br +0 -0
  487. package/build/client/_app/immutable/chunks/C6q0X9xa.js.gz +0 -0
  488. package/build/client/_app/immutable/chunks/C74jQQYs.js +0 -1
  489. package/build/client/_app/immutable/chunks/C74jQQYs.js.br +0 -0
  490. package/build/client/_app/immutable/chunks/C74jQQYs.js.gz +0 -0
  491. package/build/client/_app/immutable/chunks/CBHYGBBU.js +0 -4
  492. package/build/client/_app/immutable/chunks/CBHYGBBU.js.br +0 -0
  493. package/build/client/_app/immutable/chunks/CBHYGBBU.js.gz +0 -0
  494. package/build/client/_app/immutable/chunks/CD3hbDYc.js +0 -1
  495. package/build/client/_app/immutable/chunks/CD3hbDYc.js.br +0 -0
  496. package/build/client/_app/immutable/chunks/CD3hbDYc.js.gz +0 -0
  497. package/build/client/_app/immutable/chunks/CE3Ue5FU.js +0 -1
  498. package/build/client/_app/immutable/chunks/CE3Ue5FU.js.br +0 -0
  499. package/build/client/_app/immutable/chunks/CE3Ue5FU.js.gz +0 -0
  500. package/build/client/_app/immutable/chunks/CGGuNYjO.js +0 -1
  501. package/build/client/_app/immutable/chunks/CGGuNYjO.js.br +0 -0
  502. package/build/client/_app/immutable/chunks/CGGuNYjO.js.gz +0 -0
  503. package/build/client/_app/immutable/chunks/CH_9Gtej.js +0 -1
  504. package/build/client/_app/immutable/chunks/CH_9Gtej.js.br +0 -0
  505. package/build/client/_app/immutable/chunks/CH_9Gtej.js.gz +0 -0
  506. package/build/client/_app/immutable/chunks/CIj4gWfs.js +0 -1
  507. package/build/client/_app/immutable/chunks/CIj4gWfs.js.br +0 -0
  508. package/build/client/_app/immutable/chunks/CIj4gWfs.js.gz +0 -0
  509. package/build/client/_app/immutable/chunks/CJ3NIasv.js +0 -1
  510. package/build/client/_app/immutable/chunks/CJ3NIasv.js.br +0 -0
  511. package/build/client/_app/immutable/chunks/CJ3NIasv.js.gz +0 -0
  512. package/build/client/_app/immutable/chunks/CKEJURpk.js +0 -1
  513. package/build/client/_app/immutable/chunks/CKEJURpk.js.br +0 -0
  514. package/build/client/_app/immutable/chunks/CKEJURpk.js.gz +0 -0
  515. package/build/client/_app/immutable/chunks/CPmGhju_.js +0 -1
  516. package/build/client/_app/immutable/chunks/CPmGhju_.js.br +0 -1
  517. package/build/client/_app/immutable/chunks/CPmGhju_.js.gz +0 -0
  518. package/build/client/_app/immutable/chunks/CXcL7cOb.js +0 -1
  519. package/build/client/_app/immutable/chunks/CXcL7cOb.js.br +0 -0
  520. package/build/client/_app/immutable/chunks/CXcL7cOb.js.gz +0 -0
  521. package/build/client/_app/immutable/chunks/CXgAyvD-.js +0 -1
  522. package/build/client/_app/immutable/chunks/CXgAyvD-.js.br +0 -0
  523. package/build/client/_app/immutable/chunks/CXgAyvD-.js.gz +0 -0
  524. package/build/client/_app/immutable/chunks/CZBcpBnY.js +0 -1
  525. package/build/client/_app/immutable/chunks/CZBcpBnY.js.br +0 -0
  526. package/build/client/_app/immutable/chunks/CZBcpBnY.js.gz +0 -0
  527. package/build/client/_app/immutable/chunks/Cb-gOV5k.js +0 -1
  528. package/build/client/_app/immutable/chunks/Cb-gOV5k.js.br +0 -0
  529. package/build/client/_app/immutable/chunks/Cb-gOV5k.js.gz +0 -0
  530. package/build/client/_app/immutable/chunks/Cl7r7DFs.js +0 -1
  531. package/build/client/_app/immutable/chunks/Cl7r7DFs.js.br +0 -0
  532. package/build/client/_app/immutable/chunks/Cl7r7DFs.js.gz +0 -0
  533. package/build/client/_app/immutable/chunks/Cm8CSK8p.js +0 -1
  534. package/build/client/_app/immutable/chunks/Cm8CSK8p.js.br +0 -0
  535. package/build/client/_app/immutable/chunks/Cm8CSK8p.js.gz +0 -0
  536. package/build/client/_app/immutable/chunks/Cng04DK0.js +0 -1
  537. package/build/client/_app/immutable/chunks/Cng04DK0.js.br +0 -0
  538. package/build/client/_app/immutable/chunks/Cng04DK0.js.gz +0 -0
  539. package/build/client/_app/immutable/chunks/CqOnPLsz.js +0 -1
  540. package/build/client/_app/immutable/chunks/CqOnPLsz.js.br +0 -0
  541. package/build/client/_app/immutable/chunks/CqOnPLsz.js.gz +0 -0
  542. package/build/client/_app/immutable/chunks/Cqy1lT7e.js +0 -1
  543. package/build/client/_app/immutable/chunks/Cqy1lT7e.js.br +0 -0
  544. package/build/client/_app/immutable/chunks/Cqy1lT7e.js.gz +0 -0
  545. package/build/client/_app/immutable/chunks/CrjvgIhR.js +0 -1
  546. package/build/client/_app/immutable/chunks/CrjvgIhR.js.br +0 -0
  547. package/build/client/_app/immutable/chunks/CrjvgIhR.js.gz +0 -0
  548. package/build/client/_app/immutable/chunks/CsRBDrRN.js +0 -1
  549. package/build/client/_app/immutable/chunks/CsRBDrRN.js.br +0 -0
  550. package/build/client/_app/immutable/chunks/CsRBDrRN.js.gz +0 -0
  551. package/build/client/_app/immutable/chunks/CwwFbl61.js +0 -62
  552. package/build/client/_app/immutable/chunks/CwwFbl61.js.br +0 -0
  553. package/build/client/_app/immutable/chunks/CwwFbl61.js.gz +0 -0
  554. package/build/client/_app/immutable/chunks/D0JSbOCt.js +0 -1
  555. package/build/client/_app/immutable/chunks/D0JSbOCt.js.br +0 -0
  556. package/build/client/_app/immutable/chunks/D0JSbOCt.js.gz +0 -0
  557. package/build/client/_app/immutable/chunks/D25j-NnT.js +0 -1
  558. package/build/client/_app/immutable/chunks/D25j-NnT.js.br +0 -0
  559. package/build/client/_app/immutable/chunks/D25j-NnT.js.gz +0 -0
  560. package/build/client/_app/immutable/chunks/D5hwKKRv.js +0 -1
  561. package/build/client/_app/immutable/chunks/D5hwKKRv.js.br +0 -0
  562. package/build/client/_app/immutable/chunks/D5hwKKRv.js.gz +0 -0
  563. package/build/client/_app/immutable/chunks/DBxUIz0k.js +0 -1
  564. package/build/client/_app/immutable/chunks/DBxUIz0k.js.br +0 -0
  565. package/build/client/_app/immutable/chunks/DBxUIz0k.js.gz +0 -0
  566. package/build/client/_app/immutable/chunks/DH7t4M9x.js +0 -1
  567. package/build/client/_app/immutable/chunks/DH7t4M9x.js.br +0 -0
  568. package/build/client/_app/immutable/chunks/DH7t4M9x.js.gz +0 -0
  569. package/build/client/_app/immutable/chunks/DIsXG5DF.js +0 -1
  570. package/build/client/_app/immutable/chunks/DIsXG5DF.js.br +0 -0
  571. package/build/client/_app/immutable/chunks/DIsXG5DF.js.gz +0 -0
  572. package/build/client/_app/immutable/chunks/DNgh8jh8.js +0 -1
  573. package/build/client/_app/immutable/chunks/DNgh8jh8.js.br +0 -0
  574. package/build/client/_app/immutable/chunks/DNgh8jh8.js.gz +0 -0
  575. package/build/client/_app/immutable/chunks/DOWSzKHL.js +0 -1
  576. package/build/client/_app/immutable/chunks/DOWSzKHL.js.br +0 -0
  577. package/build/client/_app/immutable/chunks/DOWSzKHL.js.gz +0 -0
  578. package/build/client/_app/immutable/chunks/DSbOoIPC.js +0 -1
  579. package/build/client/_app/immutable/chunks/DSbOoIPC.js.br +0 -0
  580. package/build/client/_app/immutable/chunks/DSbOoIPC.js.gz +0 -0
  581. package/build/client/_app/immutable/chunks/DUYBhCSA.js +0 -1
  582. package/build/client/_app/immutable/chunks/DUYBhCSA.js.br +0 -0
  583. package/build/client/_app/immutable/chunks/DUYBhCSA.js.gz +0 -0
  584. package/build/client/_app/immutable/chunks/DfDxKk91.js +0 -2
  585. package/build/client/_app/immutable/chunks/DfDxKk91.js.br +0 -0
  586. package/build/client/_app/immutable/chunks/DfDxKk91.js.gz +0 -0
  587. package/build/client/_app/immutable/chunks/DhfQd5fc.js +0 -1
  588. package/build/client/_app/immutable/chunks/DhfQd5fc.js.br +0 -0
  589. package/build/client/_app/immutable/chunks/DhfQd5fc.js.gz +0 -0
  590. package/build/client/_app/immutable/chunks/DmYFgZ4g.js +0 -6
  591. package/build/client/_app/immutable/chunks/DmYFgZ4g.js.br +0 -0
  592. package/build/client/_app/immutable/chunks/DmYFgZ4g.js.gz +0 -0
  593. package/build/client/_app/immutable/chunks/Dn-83VwV.js +0 -1
  594. package/build/client/_app/immutable/chunks/Dn-83VwV.js.br +0 -1
  595. package/build/client/_app/immutable/chunks/Dn-83VwV.js.gz +0 -0
  596. package/build/client/_app/immutable/chunks/Dnnuh6qK.js +0 -1
  597. package/build/client/_app/immutable/chunks/Dnnuh6qK.js.br +0 -0
  598. package/build/client/_app/immutable/chunks/Dnnuh6qK.js.gz +0 -0
  599. package/build/client/_app/immutable/chunks/DocaGLjv.js +0 -1
  600. package/build/client/_app/immutable/chunks/DocaGLjv.js.br +0 -0
  601. package/build/client/_app/immutable/chunks/DocaGLjv.js.gz +0 -0
  602. package/build/client/_app/immutable/chunks/Dqlbq2bD.js +0 -2
  603. package/build/client/_app/immutable/chunks/Dqlbq2bD.js.br +0 -0
  604. package/build/client/_app/immutable/chunks/Dqlbq2bD.js.gz +0 -0
  605. package/build/client/_app/immutable/chunks/Dy07EIjs.js +0 -1
  606. package/build/client/_app/immutable/chunks/Dy07EIjs.js.br +0 -0
  607. package/build/client/_app/immutable/chunks/Dy07EIjs.js.gz +0 -0
  608. package/build/client/_app/immutable/chunks/Dy_X9Fgu.js +0 -1
  609. package/build/client/_app/immutable/chunks/Dy_X9Fgu.js.br +0 -0
  610. package/build/client/_app/immutable/chunks/Dy_X9Fgu.js.gz +0 -0
  611. package/build/client/_app/immutable/chunks/I26VQaTs.js +0 -2
  612. package/build/client/_app/immutable/chunks/I26VQaTs.js.br +0 -0
  613. package/build/client/_app/immutable/chunks/I26VQaTs.js.gz +0 -0
  614. package/build/client/_app/immutable/chunks/IsTbwoyV.js +0 -1
  615. package/build/client/_app/immutable/chunks/IsTbwoyV.js.br +0 -0
  616. package/build/client/_app/immutable/chunks/IsTbwoyV.js.gz +0 -0
  617. package/build/client/_app/immutable/chunks/Km1CymxJ.js +0 -1
  618. package/build/client/_app/immutable/chunks/Km1CymxJ.js.br +0 -0
  619. package/build/client/_app/immutable/chunks/Km1CymxJ.js.gz +0 -0
  620. package/build/client/_app/immutable/chunks/Me06-nC7.js +0 -1
  621. package/build/client/_app/immutable/chunks/Me06-nC7.js.br +0 -0
  622. package/build/client/_app/immutable/chunks/Me06-nC7.js.gz +0 -0
  623. package/build/client/_app/immutable/chunks/PQApLOOr.js +0 -1
  624. package/build/client/_app/immutable/chunks/PQApLOOr.js.br +0 -0
  625. package/build/client/_app/immutable/chunks/PQApLOOr.js.gz +0 -0
  626. package/build/client/_app/immutable/chunks/WcvPAxq7.js +0 -1
  627. package/build/client/_app/immutable/chunks/WcvPAxq7.js.br +0 -0
  628. package/build/client/_app/immutable/chunks/WcvPAxq7.js.gz +0 -0
  629. package/build/client/_app/immutable/chunks/ZoG8qKMx.js +0 -1
  630. package/build/client/_app/immutable/chunks/ZoG8qKMx.js.br +0 -0
  631. package/build/client/_app/immutable/chunks/ZoG8qKMx.js.gz +0 -0
  632. package/build/client/_app/immutable/chunks/qb_JS6rP.js +0 -1
  633. package/build/client/_app/immutable/chunks/qb_JS6rP.js.br +0 -0
  634. package/build/client/_app/immutable/chunks/qb_JS6rP.js.gz +0 -0
  635. package/build/client/_app/immutable/chunks/riwaJFkb.js +0 -3
  636. package/build/client/_app/immutable/chunks/riwaJFkb.js.br +0 -0
  637. package/build/client/_app/immutable/chunks/riwaJFkb.js.gz +0 -0
  638. package/build/client/_app/immutable/chunks/wDLVOANX.js +0 -2
  639. package/build/client/_app/immutable/chunks/wDLVOANX.js.br +0 -0
  640. package/build/client/_app/immutable/chunks/wDLVOANX.js.gz +0 -0
  641. package/build/client/_app/immutable/entry/app.CNnpPQtw.js +0 -2
  642. package/build/client/_app/immutable/entry/app.CNnpPQtw.js.br +0 -0
  643. package/build/client/_app/immutable/entry/app.CNnpPQtw.js.gz +0 -0
  644. package/build/client/_app/immutable/entry/start.BGpEqKH0.js +0 -1
  645. package/build/client/_app/immutable/entry/start.BGpEqKH0.js.br +0 -0
  646. package/build/client/_app/immutable/entry/start.BGpEqKH0.js.gz +0 -0
  647. package/build/client/_app/immutable/nodes/0.CGlGdRWB.js +0 -8
  648. package/build/client/_app/immutable/nodes/0.CGlGdRWB.js.br +0 -0
  649. package/build/client/_app/immutable/nodes/0.CGlGdRWB.js.gz +0 -0
  650. package/build/client/_app/immutable/nodes/1.B4M0q1v4.js +0 -1
  651. package/build/client/_app/immutable/nodes/1.B4M0q1v4.js.br +0 -0
  652. package/build/client/_app/immutable/nodes/1.B4M0q1v4.js.gz +0 -0
  653. package/build/client/_app/immutable/nodes/10.LJhhE6c8.js +0 -3
  654. package/build/client/_app/immutable/nodes/10.LJhhE6c8.js.br +0 -0
  655. package/build/client/_app/immutable/nodes/10.LJhhE6c8.js.gz +0 -0
  656. package/build/client/_app/immutable/nodes/11.CM_xAozz.js +0 -1
  657. package/build/client/_app/immutable/nodes/11.CM_xAozz.js.br +0 -0
  658. package/build/client/_app/immutable/nodes/11.CM_xAozz.js.gz +0 -0
  659. package/build/client/_app/immutable/nodes/12.UENbuJYy.js +0 -14
  660. package/build/client/_app/immutable/nodes/12.UENbuJYy.js.br +0 -0
  661. package/build/client/_app/immutable/nodes/12.UENbuJYy.js.gz +0 -0
  662. package/build/client/_app/immutable/nodes/13.NbAfy9an.js +0 -150
  663. package/build/client/_app/immutable/nodes/13.NbAfy9an.js.br +0 -0
  664. package/build/client/_app/immutable/nodes/13.NbAfy9an.js.gz +0 -0
  665. package/build/client/_app/immutable/nodes/15.BgyPK-jf.js +0 -11
  666. package/build/client/_app/immutable/nodes/15.BgyPK-jf.js.br +0 -0
  667. package/build/client/_app/immutable/nodes/15.BgyPK-jf.js.gz +0 -0
  668. package/build/client/_app/immutable/nodes/16.DcgniGJK.js +0 -9
  669. package/build/client/_app/immutable/nodes/16.DcgniGJK.js.br +0 -0
  670. package/build/client/_app/immutable/nodes/16.DcgniGJK.js.gz +0 -0
  671. package/build/client/_app/immutable/nodes/17.CB9DXHxS.js +0 -2
  672. package/build/client/_app/immutable/nodes/17.CB9DXHxS.js.br +0 -0
  673. package/build/client/_app/immutable/nodes/17.CB9DXHxS.js.gz +0 -0
  674. package/build/client/_app/immutable/nodes/18.BHa-KoGE.js +0 -6
  675. package/build/client/_app/immutable/nodes/18.BHa-KoGE.js.br +0 -0
  676. package/build/client/_app/immutable/nodes/18.BHa-KoGE.js.gz +0 -0
  677. package/build/client/_app/immutable/nodes/19._VaGaWBD.js +0 -1
  678. package/build/client/_app/immutable/nodes/19._VaGaWBD.js.br +0 -0
  679. package/build/client/_app/immutable/nodes/19._VaGaWBD.js.gz +0 -0
  680. package/build/client/_app/immutable/nodes/2.DKxd0T79.js +0 -14
  681. package/build/client/_app/immutable/nodes/2.DKxd0T79.js.br +0 -0
  682. package/build/client/_app/immutable/nodes/2.DKxd0T79.js.gz +0 -0
  683. package/build/client/_app/immutable/nodes/20.C10FVhEw.js +0 -10
  684. package/build/client/_app/immutable/nodes/20.C10FVhEw.js.br +0 -0
  685. package/build/client/_app/immutable/nodes/20.C10FVhEw.js.gz +0 -0
  686. package/build/client/_app/immutable/nodes/21.BhyJIr3P.js +0 -6
  687. package/build/client/_app/immutable/nodes/21.BhyJIr3P.js.br +0 -0
  688. package/build/client/_app/immutable/nodes/21.BhyJIr3P.js.gz +0 -0
  689. package/build/client/_app/immutable/nodes/3.CcRoRYc-.js +0 -5
  690. package/build/client/_app/immutable/nodes/3.CcRoRYc-.js.br +0 -0
  691. package/build/client/_app/immutable/nodes/3.CcRoRYc-.js.gz +0 -0
  692. package/build/client/_app/immutable/nodes/4.BulJqGnt.js +0 -1
  693. package/build/client/_app/immutable/nodes/4.BulJqGnt.js.br +0 -0
  694. package/build/client/_app/immutable/nodes/4.BulJqGnt.js.gz +0 -0
  695. package/build/client/_app/immutable/nodes/5.BT3hraTU.js +0 -1
  696. package/build/client/_app/immutable/nodes/5.BT3hraTU.js.br +0 -0
  697. package/build/client/_app/immutable/nodes/5.BT3hraTU.js.gz +0 -0
  698. package/build/client/_app/immutable/nodes/6.DtNMha3Y.js +0 -7
  699. package/build/client/_app/immutable/nodes/6.DtNMha3Y.js.br +0 -0
  700. package/build/client/_app/immutable/nodes/6.DtNMha3Y.js.gz +0 -0
  701. package/build/client/_app/immutable/nodes/7.Bv6Vn8eC.js +0 -4
  702. package/build/client/_app/immutable/nodes/7.Bv6Vn8eC.js.br +0 -0
  703. package/build/client/_app/immutable/nodes/7.Bv6Vn8eC.js.gz +0 -0
  704. package/build/client/_app/immutable/nodes/9.DgQz7-Cb.js +0 -1
  705. package/build/client/_app/immutable/nodes/9.DgQz7-Cb.js.br +0 -0
  706. package/build/client/_app/immutable/nodes/9.DgQz7-Cb.js.gz +0 -0
  707. package/build/server/chunks/chunks/DecisionCard.js-B1YgF5EF.js +0 -446
  708. package/build/server/chunks/chunks/DictateTextarea.js-CbkGsd1h.js +0 -415
  709. package/build/server/chunks/chunks/EtaLine.js-5SCP9O1f.js +0 -79
  710. package/build/server/chunks/chunks/EveryProjectSwitch.js-DzcwkHh4.js +0 -200
  711. package/build/server/chunks/chunks/ProjectBanner.js-ByPp7Y_e.js +0 -111
  712. package/build/server/chunks/chunks/ResizableRail.js-BS8hRLV0.js +0 -395
  713. package/build/server/chunks/chunks/chat.svelte.js--pRzj_Xo.js +0 -545
  714. package/build/server/chunks/chunks/compass.js-k2sRSGWn.js +0 -23
  715. package/build/server/chunks/chunks/detail.js-DDoqeh1A.js +0 -144
  716. package/build/server/chunks/chunks/git-pull-request.js-BMzktlcs.js +0 -20
  717. package/build/server/chunks/chunks/http2.js-fIdVBJaD.js +0 -26
  718. package/build/server/chunks/chunks/internal.js-BlgsFxfY.js +0 -146
  719. package/build/server/chunks/chunks/keys.js-CdtCzv-v.js +0 -20
  720. package/build/server/chunks/chunks/live.svelte.js-By2dseJB.js +0 -253
  721. package/build/server/chunks/chunks/message-square-text.js-CyRiNGB8.js +0 -25
  722. package/build/server/chunks/chunks/monitor-play.js-4ed3ghDf.js +0 -28
  723. package/build/server/chunks/chunks/prreview.js-Cg9LDxJp.js +0 -92
  724. package/build/server/chunks/chunks/repo.js-CuWUNKbP.js +0 -33
  725. package/build/server/chunks/chunks/runtime.js-BuGWYyZZ.js +0 -16470
  726. package/build/server/chunks/chunks/service.js-DQK1kj-4.js +0 -914
  727. package/build/server/chunks/chunks/slots.svelte.js-0Ejhe-hS.js +0 -34
  728. package/build/server/chunks/chunks/store.js-XXOawxPN.js +0 -317
  729. package/build/server/chunks/chunks/uploads.js-D45pIvPk.js +0 -107
  730. package/build/server/chunks/chunks/view.js-CrOFjYk4.js +0 -76
  731. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-DSkVUNdc.js +0 -90
  732. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-CYnLRjOH.js +0 -106
  733. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-CG8IGmSp.js +0 -49
  734. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-fmzKkrXb.js +0 -83
  735. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-BgIU3add.js +0 -119
  736. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-Ba9E_53E.js +0 -45
  737. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-BQZBERsR.js +0 -51
  738. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-BnT3VHSx.js +0 -44
  739. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-DRYHwJ7R.js +0 -66
  740. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-BD2B1ByG.js +0 -54
  741. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-DB-m2WWH.js +0 -44
  742. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CK3swjFX.js +0 -32
  743. package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-WCE63uer.js +0 -40
  744. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-D5-3acjK.js +0 -36
  745. package/build/server/chunks/entries/endpoints/api/gateway/_server.ts.js-B2I7jHdc.js +0 -100
  746. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-BFSqEG5B.js +0 -36
  747. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-BpUaHfsf.js +0 -60
  748. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-BNRD4HyF.js +0 -51
  749. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-7808SNDM.js +0 -36
  750. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-B-cQTShG.js +0 -71
  751. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-CPAHSih2.js +0 -23
  752. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-DW3M1pzH.js +0 -59
  753. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-DDTSw0pX.js +0 -35
  754. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-BlD-1l6V.js +0 -36
  755. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-IT-jeApI.js +0 -35
  756. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DQqKN2MF.js +0 -38
  757. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-D7rx-bwI.js +0 -23
  758. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BC0HjK9M.js +0 -41
  759. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-aVmcjStV.js +0 -50
  760. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-BuHN_WYU.js +0 -62
  761. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-Dx0x7sws.js +0 -49
  762. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-CcCDMmmF.js +0 -72
  763. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-BsOOyTNM.js +0 -55
  764. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DGyU8Zmu.js +0 -55
  765. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-1B8fEiat.js +0 -44
  766. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-D4CKazw-.js +0 -41
  767. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-CUKo26Ia.js +0 -60
  768. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-BOa2lgvP.js +0 -48
  769. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-BmI8Ofms.js +0 -93
  770. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-C2mJi22c.js +0 -110
  771. package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/_server.ts.js-8pN6fHl8.js +0 -43
  772. package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/ask/_server.ts.js-D6D9O8Su.js +0 -49
  773. package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/check/_server.ts.js-BAaCwzOf.js +0 -48
  774. package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/guide/_server.ts.js-DfP2iNta.js +0 -48
  775. package/build/server/chunks/entries/endpoints/api/tasks/_id_/review/runs/_run_/stop/_server.ts.js-DZDaSSYT.js +0 -41
  776. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-CJNUplXf.js +0 -54
  777. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-CVqjWsw8.js +0 -23
  778. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-CE2zzWtC.js +0 -23
  779. package/build/server/chunks/entries/hooks.server.js-FjSdw_QS.js +0 -54
  780. package/build/server/chunks/entries/pages/_layout.server.ts.js-BkWAC802.js +0 -22
  781. package/build/server/chunks/entries/pages/_layout.svelte.js-DstinFjN.js +0 -8746
  782. package/build/server/chunks/entries/pages/_page.server.ts.js-BXkuWJh7.js +0 -16
  783. package/build/server/chunks/entries/pages/_page.svelte.js-ehBbQlco.js +0 -2194
  784. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-B2YZfjBk.js +0 -11
  785. package/build/server/chunks/entries/pages/files/_page.server.ts.js-CT3pm5a6.js +0 -17
  786. package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-CcLkegHq.js +0 -46
  787. package/build/server/chunks/entries/pages/harbour/_page.svelte.js-hBC6QUHZ.js +0 -580
  788. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-BazCFIuz.js +0 -11
  789. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-rjm303kf.js +0 -185
  790. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-BRQpg3kQ.js +0 -16
  791. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-DazeLLT8.js +0 -52
  792. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-BIypd_XU.js +0 -23
  793. package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-DJajtLup.js +0 -945
  794. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BwAOIwUv.js +0 -21
  795. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-Cm8mxt61.js +0 -74
  796. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-CnfqlJgl.js +0 -27
  797. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-CuMA-rCM.js +0 -433
  798. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-CG14M19O.js +0 -15
  799. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-mtGQO-dJ.js +0 -1880
  800. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-Zgfe-LX9.js +0 -11
  801. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-DZ4oJmnj.js +0 -19
  802. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-gBZCjZlg.js +0 -1847
  803. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-Dm-tgyir.js +0 -17
  804. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-BFGxdrrb.js +0 -220
  805. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-Llp3a0Fb.js +0 -25
  806. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-LgJMZ2RE.js +0 -2107
  807. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-DuWuEdZ2.js +0 -24
  808. package/build/server/chunks/entries/pages/tasks/_id_/review/_page.server.ts.js-BMQF9I9c.js +0 -15
  809. package/build/server/chunks/entries/pages/tasks/_id_/review/_page.svelte.js-k659tqiw.js +0 -657
  810. package/build/server/chunks/entries/pages/time/_page.server.ts.js-DstGu3ji.js +0 -11
  811. package/build/server/chunks/handler-BRidfBIY.js +0 -1474
  812. package/build/server/chunks/index.js-Dhoi5wa_.js +0 -4296
  813. package/build/server/chunks/manifest.js-CF4aVg77.js +0 -537
  814. package/build/server/chunks/nodes/0.js-B2yTHeOL.js +0 -41
  815. package/build/server/chunks/nodes/1.js-BoD2_1or.js +0 -9
  816. package/build/server/chunks/nodes/10.js-C2XmTW8j.js +0 -43
  817. package/build/server/chunks/nodes/11.js-CAJnQkWH.js +0 -42
  818. package/build/server/chunks/nodes/12.js-Cu57dOUj.js +0 -43
  819. package/build/server/chunks/nodes/13.js-1g1BRnk_.js +0 -42
  820. package/build/server/chunks/nodes/15.js-BqL5jpLU.js +0 -41
  821. package/build/server/chunks/nodes/16.js-DibdTAKZ.js +0 -41
  822. package/build/server/chunks/nodes/17.js-BUFA5Avk.js +0 -44
  823. package/build/server/chunks/nodes/18.js-cxLrKmMx.js +0 -42
  824. package/build/server/chunks/nodes/19.js-DMbI3mDp.js +0 -42
  825. package/build/server/chunks/nodes/2.js-8QSIq2KZ.js +0 -41
  826. package/build/server/chunks/nodes/20.js-BNXpftag.js +0 -42
  827. package/build/server/chunks/nodes/21.js-DdJK6h7p.js +0 -41
  828. package/build/server/chunks/nodes/3.js-DHT7fiTy.js +0 -41
  829. package/build/server/chunks/nodes/4.js-DvjrLz8n.js +0 -41
  830. package/build/server/chunks/nodes/5.js-CvUGUQbi.js +0 -45
  831. package/build/server/chunks/nodes/6.js-ptKHsAn6.js +0 -41
  832. package/build/server/chunks/nodes/7.js-BigF9SYG.js +0 -9
  833. package/build/server/chunks/nodes/9.js-DkS4HHqV.js +0 -41
  834. /package/build/client/_app/immutable/assets/{DictateTextarea.Dga9zAug.css → checks.Dga9zAug.css} +0 -0
  835. /package/build/client/_app/immutable/assets/{DictateTextarea.Dga9zAug.css.br → checks.Dga9zAug.css.br} +0 -0
  836. /package/build/client/_app/immutable/assets/{DictateTextarea.Dga9zAug.css.gz → checks.Dga9zAug.css.gz} +0 -0
@@ -1,1880 +0,0 @@
1
- import { aj as head, am as attr, an as stringify, al as escape_html, a8 as ensure_array_like, ak as attr_class, _ as derived, a5 as clsx, ac as spread_props, a6 as bind_props } from '../../../../../../chunks/index.js-B0NFhRTN.js';
2
- import '../../../../../../chunks/exports.js-BZBK1HC9.js';
3
- import '../../../../../../chunks/utils2.js-BQzn9ikS.js';
4
- import '../../../../../../chunks/utils.js-BJgm9WbO.js';
5
- import '../../../../../../chunks/root.js-60iebdW4.js';
6
- import { p as page } from '../../../../../../chunks/index2.js-Bxt1T6_K.js';
7
- import { a as currentFleet } from '../../../../../../chunks/live.svelte.js-By2dseJB.js';
8
- import { a as SvelteSet } from '../../../../../../chunks/index-server.js-DsObimPA.js';
9
- import { B as Button } from '../../../../../../chunks/button.js-BF2PsvWw.js';
10
- import { S as SESSION_HEADER } from '../../../../../../chunks/messages.js-CFyGKoqq.js';
11
- import { parseDocument, isSeq, isScalar, isMap } from 'yaml';
12
- import { s as shipPassageDraft, a as CHECK_WORDS, E as EVIDENCE_WORDS, F as FACT_WORDS, O as OUTCOMES, o as outcomeWords, C as COMMAND_BASE_ENV, b as CHECK_FIELDS } from '../../../../../../chunks/passage-meta.js-uvNUyJkg.js';
13
- import { A as Arrow_left } from '../../../../../../chunks/arrow-left.js-BKiSMzvI.js';
14
- import { S as Square_terminal } from '../../../../../../chunks/square-terminal.js-D9D9_9_V.js';
15
- import { I as Icon } from '../../../../../../chunks/Icon.js-CVZZ-yuB.js';
16
- import { X } from '../../../../../../chunks/x.js-YxaUOlq9.js';
17
- import { P as Plus } from '../../../../../../chunks/plus.js-caVrjGZc.js';
18
- import { A as Arrow_up } from '../../../../../../chunks/arrow-up.js-DHbXk79z.js';
19
- import { A as Arrow_down } from '../../../../../../chunks/arrow-down.js-Bt3fQooI.js';
20
- import { C as Circle_alert } from '../../../../../../chunks/circle-alert.js-XTuAj7ZH.js';
21
- import { C as Check } from '../../../../../../chunks/check.js-32sYHVxG.js';
22
- import { C as Circle_dot } from '../../../../../../chunks/circle-dot.js-C950Kosw.js';
23
- import { M as Minus } from '../../../../../../chunks/minus.js-DKvkj8VD.js';
24
- import { C as Circle_dashed } from '../../../../../../chunks/circle-dashed.js-fXv_bIo-.js';
25
-
26
- function Flask_conical($$renderer, $$props) {
27
- let { $$slots, $$events, ...props } = $$props;
28
- const iconData = {
29
- "name": "flask-conical",
30
- "size": 24,
31
- "node": [
32
- [
33
- "path",
34
- {
35
- "d": "M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2"
36
- }
37
- ],
38
- ["path", { "d": "M6.453 15h11.094" }],
39
- ["path", { "d": "M8.5 2h7" }]
40
- ]
41
- };
42
- Icon($$renderer, spread_props([props, { icon: iconData }]));
43
- }
44
- function Play($$renderer, $$props) {
45
- let { $$slots, $$events, ...props } = $$props;
46
- const iconData = {
47
- "name": "play",
48
- "size": 24,
49
- "node": [
50
- [
51
- "path",
52
- {
53
- "d": "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"
54
- }
55
- ]
56
- ]
57
- };
58
- Icon($$renderer, spread_props([props, { icon: iconData }]));
59
- }
60
- function Rotate_ccw($$renderer, $$props) {
61
- let { $$slots, $$events, ...props } = $$props;
62
- const iconData = {
63
- "name": "rotate-ccw",
64
- "size": 24,
65
- "node": [
66
- [
67
- "path",
68
- { "d": "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }
69
- ],
70
- ["path", { "d": "M3 3v5h5" }]
71
- ]
72
- };
73
- Icon($$renderer, spread_props([props, { icon: iconData }]));
74
- }
75
- function Trash($$renderer, $$props) {
76
- let { $$slots, $$events, ...props } = $$props;
77
- const iconData = {
78
- "name": "trash",
79
- "size": 24,
80
- "node": [
81
- ["path", { "d": "M10 11v6" }],
82
- ["path", { "d": "M14 11v6" }],
83
- ["path", { "d": "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }],
84
- ["path", { "d": "M3 6h18" }],
85
- ["path", { "d": "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }]
86
- ],
87
- "aliases": ["trash-2"]
88
- };
89
- Icon($$renderer, spread_props([props, { icon: iconData }]));
90
- }
91
- function diffLines(a, b) {
92
- let start = 0;
93
- while (start < a.length && start < b.length && a[start] === b[start]) start++;
94
- let endA = a.length;
95
- let endB = b.length;
96
- while (endA > start && endB > start && a[endA - 1] === b[endB - 1]) {
97
- endA--;
98
- endB--;
99
- }
100
- const n = endA - start;
101
- const m = endB - start;
102
- const w = m + 1;
103
- const t = new Uint32Array((n + 1) * w);
104
- for (let i2 = n - 1; i2 >= 0; i2--) {
105
- for (let j2 = m - 1; j2 >= 0; j2--) {
106
- t[i2 * w + j2] = a[start + i2] === b[start + j2] ? t[(i2 + 1) * w + j2 + 1] + 1 : Math.max(t[(i2 + 1) * w + j2], t[i2 * w + j2 + 1]);
107
- }
108
- }
109
- const out = [];
110
- for (let k = 0; k < start; k++) out.push({ op: " ", text: a[k], from: k });
111
- let i = 0;
112
- let j = 0;
113
- while (i < n || j < m) {
114
- if (i < n && j < m && a[start + i] === b[start + j]) {
115
- out.push({ op: " ", text: a[start + i], from: start + i });
116
- i++;
117
- j++;
118
- } else if (j < m && (i >= n || t[i * w + j + 1] >= t[(i + 1) * w + j])) {
119
- out.push({ op: "+", text: b[start + j++] });
120
- } else {
121
- out.push({ op: "-", text: a[start + i++] });
122
- }
123
- }
124
- for (let k = endA; k < a.length; k++) out.push({ op: " ", text: a[k], from: k });
125
- return out;
126
- }
127
- const linesOf = (text) => {
128
- const l = text.split("\n");
129
- if (l.length && l[l.length - 1] === "") l.pop();
130
- return l;
131
- };
132
- const starterText = (track = "ship") => `version: 1
133
- extends: ${track}
134
- `;
135
- function load(text) {
136
- const doc = parseDocument(text || starterText(), { uniqueKeys: true });
137
- return {
138
- doc,
139
- error: doc.errors.length ? doc.errors[0].message.split("\n")[0] : null
140
- };
141
- }
142
- function model(text) {
143
- const { doc, error } = load(text);
144
- if (error) return null;
145
- let js;
146
- try {
147
- js = doc.toJS({ maxAliasCount: 0 });
148
- } catch {
149
- return null;
150
- }
151
- const o = js && typeof js === "object" && !Array.isArray(js) ? js : {};
152
- const checks = o.checks && typeof o.checks === "object" && !Array.isArray(o.checks) ? o.checks : {};
153
- const stages = Array.isArray(o.stages) ? o.stages.filter((s) => s && typeof s === "object") : [];
154
- return { extends: o.extends === "scout" ? "scout" : "ship", checks, stages };
155
- }
156
- function listSteps(base, stages) {
157
- const steps = base.steps.map((s) => ({
158
- id: s.id,
159
- label: s.label,
160
- added: false,
161
- fileIndex: null,
162
- restyled: false,
163
- lost: false
164
- }));
165
- const lastAfter = /* @__PURE__ */ new Map();
166
- stages.forEach((s, i) => {
167
- if (typeof s.id !== "string" || !s.id) return;
168
- const label = typeof s.label === "string" && s.label ? s.label : null;
169
- const existing = steps.find((x) => x.id === s.id);
170
- if (existing) {
171
- if (existing.added) return;
172
- existing.fileIndex = i;
173
- existing.restyled = true;
174
- if (label) existing.label = label;
175
- return;
176
- }
177
- let at = steps.length;
178
- let lost = false;
179
- if (typeof s.after === "string" && s.after) {
180
- const anchor = lastAfter.get(s.after) ?? s.after;
181
- const j = steps.findIndex((x) => x.id === anchor);
182
- if (j < 0) lost = true;
183
- else at = j + 1;
184
- lastAfter.set(s.after, s.id);
185
- }
186
- steps.splice(at, 0, {
187
- id: s.id,
188
- label: label ?? s.id,
189
- added: true,
190
- fileIndex: i,
191
- restyled: false,
192
- lost
193
- });
194
- });
195
- return steps;
196
- }
197
- function stagesSeq(doc) {
198
- let seq = doc.get("stages", true);
199
- if (!isSeq(seq)) {
200
- seq = doc.createNode([]);
201
- doc.set("stages", seq);
202
- }
203
- return seq;
204
- }
205
- const keyOf = (k) => isScalar(k) ? k.value : k;
206
- function checksMap(doc) {
207
- let map = doc.get("checks", true);
208
- if (!isMap(map)) {
209
- map = doc.createNode({});
210
- doc.set("checks", map);
211
- const contents = doc.contents;
212
- const items = contents.items;
213
- const ci = items.findIndex((p) => keyOf(p.key) === "checks");
214
- const si = items.findIndex((p) => keyOf(p.key) === "stages");
215
- if (si >= 0 && ci > si) items.splice(si, 0, ...items.splice(ci, 1));
216
- }
217
- return map;
218
- }
219
- const empty = (v) => v === void 0 || v === null || v === "" || Array.isArray(v) && v.length === 0 || typeof v === "object" && !Array.isArray(v) && Object.keys(v).length === 0;
220
- const OUT = { lineWidth: 0 };
221
- function edit(text, fn) {
222
- const { doc, error } = load(text);
223
- if (error) return text;
224
- const before = linesOf(doc.toString(OUT));
225
- if (fn(doc) === false) return text;
226
- const after = doc.toString(OUT);
227
- const original = linesOf(text);
228
- if (!text || original.length !== before.length) return after;
229
- const out = diffLines(before, linesOf(after)).filter((d) => d.op !== "-").map((d) => d.op === " " ? original[d.from] : d.text);
230
- return `${out.join("\n")}
231
- `;
232
- }
233
- function setStageField(doc, index, key, value) {
234
- const node = stagesSeq(doc).get(index, true);
235
- if (!isMap(node)) return;
236
- if (empty(value)) node.delete(key);
237
- else node.set(key, node_(doc, value));
238
- }
239
- function node_(doc, value) {
240
- const n = doc.createNode(value);
241
- if (isSeq(n) && n.items.every((x) => isScalar(x))) n.flow = true;
242
- return n;
243
- }
244
- function entryFor(doc, id) {
245
- const seq = stagesSeq(doc);
246
- const i = seq.items.findIndex((n) => isMap(n) && n.get("id") === id);
247
- if (i >= 0) return i;
248
- seq.add(doc.createNode({ id }));
249
- return seq.items.length - 1;
250
- }
251
- function removeStage(doc, index) {
252
- stagesSeq(doc).delete(index);
253
- }
254
- function slug(name, taken, fallback = "step") {
255
- const used = new Set(taken);
256
- let base = name.toLowerCase().normalize("NFKD").replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 32) || fallback;
257
- if (!/^[a-z]/.test(base)) base = `${fallback}-${base}`.slice(0, 32);
258
- let id = base;
259
- for (let n = 2; used.has(id); n++) id = `${base}-${n}`;
260
- return id;
261
- }
262
- function addStage(doc, stage, afterId) {
263
- const seq = stagesSeq(doc);
264
- const s = { id: stage.id, label: stage.label };
265
- if (afterId) s.after = afterId;
266
- for (const [k, v] of Object.entries(stage)) if (!(k in s) && !empty(v)) s[k] = v;
267
- const n = doc.createNode(s);
268
- for (const p of n.items) {
269
- if (isSeq(p.value) && p.value.items.every((x) => isScalar(x))) p.value.flow = true;
270
- }
271
- seq.add(n);
272
- return seq.items.length - 1;
273
- }
274
- function placeStage(doc, base, id, index) {
275
- const js = doc.toJS();
276
- const list = listSteps(base, Array.isArray(js?.stages) ? js.stages : []);
277
- const i = list.findIndex((s) => s.id === id);
278
- if (i < 0 || !list[i].added || index < 1 || index >= list.length || index === i) return false;
279
- const [moved] = list.splice(i, 1);
280
- list.splice(index, 0, moved);
281
- const seq = stagesSeq(doc);
282
- const byId = /* @__PURE__ */ new Map();
283
- for (const n of seq.items) if (isMap(n)) byId.set(String(n.get("id")), n);
284
- const kept = seq.items.filter((n) => {
285
- const nid = isMap(n) ? String(n.get("id")) : "";
286
- return !list.some((s) => s.added && s.id === nid);
287
- });
288
- const added = list.map((s, k) => ({ s, prev: list[k - 1] })).filter(({ s }) => s.added).map(({ s, prev }) => {
289
- const n = byId.get(s.id);
290
- n.set("after", prev.id);
291
- return n;
292
- });
293
- seq.items = [...kept, ...added];
294
- return true;
295
- }
296
- function moveStage(doc, base, id, delta) {
297
- const js = doc.toJS();
298
- const list = listSteps(base, Array.isArray(js?.stages) ? js.stages : []);
299
- const i = list.findIndex((s) => s.id === id);
300
- return i >= 0 && placeStage(doc, base, id, i + delta);
301
- }
302
- function setCheck(doc, id, spec) {
303
- const map = checksMap(doc);
304
- if (spec === null) {
305
- map.delete(id);
306
- if (!map.items.length) doc.delete("checks");
307
- return;
308
- }
309
- const clean = {};
310
- for (const [k, v] of Object.entries(spec)) {
311
- if (v && typeof v === "object" && !Array.isArray(v)) {
312
- const inner = Object.fromEntries(Object.entries(v).filter(([, x]) => !empty(x)));
313
- if (!empty(inner)) clean[k] = inner;
314
- } else if (!empty(v)) clean[k] = v;
315
- }
316
- const existing = map.get(id, true);
317
- if (isMap(existing)) {
318
- for (const k of [...existing.items.map((p) => String(keyOf(p.key)))]) {
319
- if (!(k in clean)) existing.delete(k);
320
- }
321
- const now = existing.toJSON();
322
- for (const [k, v] of Object.entries(clean)) {
323
- if (JSON.stringify(now[k]) !== JSON.stringify(v)) existing.set(k, node_(doc, v));
324
- }
325
- } else {
326
- const n = doc.createNode(clean);
327
- for (const p of n.items) {
328
- if (isSeq(p.value) && p.value.items.every((x) => isScalar(x))) p.value.flow = true;
329
- }
330
- map.set(id, n);
331
- }
332
- }
333
- function setTop(doc, key, value) {
334
- if (empty(value)) doc.delete(key);
335
- else doc.set(key, doc.createNode(value));
336
- }
337
- function refsTo(stages, checkId) {
338
- const out = [];
339
- const walk = (c) => {
340
- if (typeof c === "string" && c.startsWith(`${checkId}.`)) out.push(c);
341
- else if (c && typeof c === "object") for (const v of Object.values(c)) walk(v);
342
- };
343
- for (const s of stages) {
344
- walk(s.reached_when);
345
- walk(s.failed_when);
346
- walk(s.skip_when);
347
- if (s.note && typeof s.note === "object") walk(s.note.when);
348
- if (Array.isArray(s.evidence) && s.evidence.includes(`check:${checkId}`))
349
- out.push(`check:${checkId}`);
350
- if (s.primary_link === `${checkId}.url`) out.push(`${checkId}.url`);
351
- }
352
- return out;
353
- }
354
- function toBuilder(c) {
355
- if (c === void 0 || c === null) return { join: "all", items: [] };
356
- const item = (x) => {
357
- if (typeof x === "string") return { not: false, ref: x };
358
- if (x && typeof x === "object" && "not" in x && typeof x.not === "string")
359
- return { not: true, ref: x.not };
360
- return null;
361
- };
362
- const one = item(c);
363
- if (one) return { join: "all", items: [one] };
364
- if (typeof c !== "object") return null;
365
- const join = "all" in c ? "all" : "any" in c ? "any" : null;
366
- if (!join) return null;
367
- const list = c[join];
368
- if (!Array.isArray(list)) return null;
369
- const items = list.map((x) => item(x));
370
- return items.every((x) => x) ? { join, items } : null;
371
- }
372
- function fromBuilder(b) {
373
- const items = b.items.filter((x) => x.ref);
374
- const one = (x) => x.not ? { not: x.ref } : x.ref;
375
- if (!items.length) return void 0;
376
- if (items.length === 1) return one(items[0]);
377
- return b.join === "all" ? { all: items.map(one) } : { any: items.map(one) };
378
- }
379
- const labelOf = (v, id) => typeof v === "string" && v ? v : id;
380
- function summarize(beforeText, afterText, base) {
381
- const a = model(beforeText) ?? { extends: "ship", checks: {}, stages: [] };
382
- const b = model(afterText);
383
- if (!b) return ["The YAML could not be read."];
384
- const out = [];
385
- if (a.extends !== b.extends)
386
- out.push(`It now builds on ${b.extends === "scout" ? "scout" : "ship"} work.`);
387
- const before = new Map(listSteps(base, a.stages).map((s) => [s.id, s]));
388
- const after = listSteps(base, b.stages);
389
- const stageOf = (m, id) => m.stages.find((s) => s.id === id);
390
- after.forEach((s, i) => {
391
- const old = before.get(s.id);
392
- const prev = after[i - 1]?.label;
393
- if (s.added && !old?.added)
394
- out.push(`Adds the step “${s.label}”${prev ? ` after ${prev}` : ""}.`);
395
- else if (old && old.label !== s.label) out.push(`Renames “${old.label}” to “${s.label}”.`);
396
- else if (old && JSON.stringify(stageOf(a, s.id) ?? null) !== JSON.stringify(stageOf(b, s.id) ?? null))
397
- out.push(`Changes the step “${s.label}”.`);
398
- });
399
- for (const [id, s] of before) {
400
- if (s.added && !after.some((x) => x.id === id)) out.push(`Removes the step “${s.label}”.`);
401
- }
402
- const ids = /* @__PURE__ */ new Set([...Object.keys(a.checks), ...Object.keys(b.checks)]);
403
- let commands = false;
404
- for (const id of ids) {
405
- const x = a.checks[id];
406
- const y = b.checks[id];
407
- if (JSON.stringify(x ?? null) === JSON.stringify(y ?? null)) continue;
408
- if (x?.type === "command" || y?.type === "command") commands = true;
409
- if (!x) out.push(`Adds the check “${labelOf(y.label, id)}”.`);
410
- else if (!y) out.push(`Removes the check “${labelOf(x.label, id)}”.`);
411
- else out.push(`Changes the check “${labelOf(y.label, id)}”.`);
412
- }
413
- if (commands)
414
- out.push(
415
- "Command checks change, so they stay off until you allow them again on the passage page."
416
- );
417
- if (!out.length && beforeText !== afterText)
418
- out.push("Changes the file’s layout or comments only.");
419
- return out;
420
- }
421
- function CheckForm($$renderer, $$props) {
422
- $$renderer.component(($$renderer2) => {
423
- let {
424
- checkId,
425
- spec,
426
- readonly = false,
427
- readonlyWhy = null,
428
- captain,
429
- releaseChecks,
430
- usedBy,
431
- onchange,
432
- back = null,
433
- onremove
434
- /** Return to the step this check was opened from. */
435
- } = $$props;
436
- const type = derived(() => spec.type);
437
- const words = derived(() => CHECK_WORDS[type()] ?? { name: String(spec.type), what: "" });
438
- const fields = derived(() => (CHECK_FIELDS[type()] ?? []).filter((f) => !f.captainOnly || captain));
439
- function get(key) {
440
- const [a, b] = key.split(".");
441
- const v = spec[a];
442
- return b ? v && typeof v === "object" ? v[b] : void 0 : v;
443
- }
444
- function put(key, value) {
445
- const [a, b] = key.split(".");
446
- const next = { ...spec };
447
- if (b) {
448
- const inner = { ...next[a] ?? {} };
449
- inner[b] = value;
450
- next[a] = inner;
451
- } else next[a] = value;
452
- onchange(next);
453
- }
454
- const text = (v) => v === void 0 || v === null ? "" : String(v);
455
- const lines = (v) => Array.isArray(v) ? v.map(String).join("\n") : text(v);
456
- const mapText = (v) => v && typeof v === "object" ? Object.entries(v).map(([k, x]) => `${k}: ${x}`).join("\n") : "";
457
- const shown = (run) => Array.isArray(run) ? run.map((a) => String(a)).map((a) => /^[A-Za-z0-9_@%+=:,./-]+$/.test(a) ? a : `'${a.replace(/'/g, `'\\''`)}'`).join(" ") : "";
458
- const WHEN = {
459
- merged: "After the merge",
460
- "pr.recorded": "Once a pull request is open",
461
- "crew.done": "Once the worker reports done"
462
- };
463
- function whenText(sp) {
464
- const when = sp.when === void 0 ? "As soon as a task can use it, even before the merge" : WHEN[String(sp.when)] ?? "When its condition holds";
465
- const per = sp.ref === "merge.commit" ? ", once per merged commit" : sp.ref === "pr.head" ? ", once per pull request commit" : "";
466
- return `${when}${per}. A pass is not run again.`;
467
- }
468
- const inputClass = "mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm disabled:opacity-60";
469
- function field($$renderer3, f) {
470
- const fid = `check-${checkId}-${f.key}`;
471
- $$renderer3.push(`<div class="min-w-0"><label${attr("for", fid)} class="block text-sm font-medium">${escape_html(f.label)}`);
472
- if (f.required) {
473
- $$renderer3.push(`<!--[0--><span class="ml-1 font-normal text-muted-foreground">(required)</span>`);
474
- } else {
475
- $$renderer3.push("<!--[-1-->");
476
- }
477
- $$renderer3.push(`<!--]--></label> `);
478
- if (f.kind === "select") {
479
- $$renderer3.push("<!--[0-->");
480
- const cur = text(get(f.key));
481
- $$renderer3.select(
482
- {
483
- id: fid,
484
- class: inputClass,
485
- disabled: readonly,
486
- value: text(get(f.key)),
487
- onchange: (e) => {
488
- const v = e.currentTarget.value;
489
- if (v !== cur || typeof get(f.key) === "string" || !v) put(f.key, v || void 0);
490
- }
491
- },
492
- ($$renderer4) => {
493
- if (!f.required) {
494
- $$renderer4.push("<!--[0-->");
495
- $$renderer4.option({ value: "" }, ($$renderer5) => {
496
- $$renderer5.push(`Not set`);
497
- });
498
- } else {
499
- $$renderer4.push("<!--[-1-->");
500
- }
501
- $$renderer4.push(`<!--]-->`);
502
- if (get(f.key) !== void 0 && typeof get(f.key) !== "string") {
503
- $$renderer4.push("<!--[0-->");
504
- $$renderer4.option({ value: cur }, ($$renderer5) => {
505
- $$renderer5.push(`As written in the YAML`);
506
- });
507
- } else if (cur && !(f.options ?? []).some((o) => o.value === cur)) {
508
- $$renderer4.push("<!--[1-->");
509
- $$renderer4.option({ value: cur }, ($$renderer5) => {
510
- $$renderer5.push(`${escape_html(cur)}`);
511
- });
512
- } else {
513
- $$renderer4.push("<!--[-1-->");
514
- }
515
- $$renderer4.push(`<!--]--><!--[-->`);
516
- const each_array = ensure_array_like(f.options ?? []);
517
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
518
- let o = each_array[$$index];
519
- $$renderer4.option({ value: o.value }, ($$renderer5) => {
520
- $$renderer5.push(`${escape_html(o.label)}`);
521
- });
522
- }
523
- $$renderer4.push(`<!--]-->`);
524
- }
525
- );
526
- } else if (f.kind === "check") {
527
- $$renderer3.push("<!--[1-->");
528
- $$renderer3.select(
529
- {
530
- id: fid,
531
- class: inputClass,
532
- disabled: readonly,
533
- value: text(get(f.key)),
534
- onchange: (e) => put(f.key, e.currentTarget.value || void 0)
535
- },
536
- ($$renderer4) => {
537
- $$renderer4.option({ value: "" }, ($$renderer5) => {
538
- $$renderer5.push(`Choose a release check`);
539
- });
540
- $$renderer4.push(`<!--[-->`);
541
- const each_array_1 = ensure_array_like(releaseChecks);
542
- for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
543
- let c = each_array_1[$$index_1];
544
- $$renderer4.option({ value: c.id }, ($$renderer5) => {
545
- $$renderer5.push(`${escape_html(c.label)}`);
546
- });
547
- }
548
- $$renderer4.push(`<!--]-->`);
549
- }
550
- );
551
- } else if (f.kind === "list") {
552
- $$renderer3.push(`<!--[2--><textarea${attr("id", fid)}${attr("rows", Math.max(2, get(f.key)?.length ?? 2))} class="mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm disabled:opacity-60 font-mono"${attr("disabled", readonly, true)}>`);
553
- const $$body = escape_html(lines(get(f.key)));
554
- if ($$body) {
555
- $$renderer3.push(`${$$body}`);
556
- }
557
- $$renderer3.push(`</textarea>`);
558
- } else if (f.kind === "map") {
559
- $$renderer3.push(`<!--[3--><textarea${attr("id", fid)} rows="2" class="mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm disabled:opacity-60 font-mono"${attr("disabled", readonly, true)}>`);
560
- const $$body_1 = escape_html(mapText(get(f.key)));
561
- if ($$body_1) {
562
- $$renderer3.push(`${$$body_1}`);
563
- }
564
- $$renderer3.push(`</textarea>`);
565
- } else if (f.kind === "number") {
566
- $$renderer3.push(`<!--[4--><input${attr("id", fid)} type="number"${attr_class(clsx(inputClass))}${attr("disabled", readonly, true)}${attr("placeholder", f.placeholder)}${attr("value", text(get(f.key)))}/>`);
567
- } else {
568
- $$renderer3.push(`<!--[-1--><input${attr("id", fid)}${attr_class(`mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm disabled:opacity-60 ${f.kind === "duration" ? "max-w-40" : ""}`)}${attr("disabled", readonly, true)}${attr("placeholder", f.placeholder)}${attr("value", text(get(f.key)))}/>`);
569
- }
570
- $$renderer3.push(`<!--]--> `);
571
- if (f.help) {
572
- $$renderer3.push(`<!--[0--><p class="mt-1 text-xs text-muted-foreground">${escape_html(f.help)}</p>`);
573
- } else {
574
- $$renderer3.push("<!--[-1-->");
575
- }
576
- $$renderer3.push(`<!--]--></div>`);
577
- }
578
- $$renderer2.push(`<section${attr("aria-labelledby", `check-${stringify(checkId)}-title`)}${attr("data-check-form", checkId)}>`);
579
- if (back) {
580
- $$renderer2.push(`<!--[0--><button type="button" class="mb-3 inline-flex items-center gap-1 text-sm text-sea hover:underline">`);
581
- Arrow_left($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
582
- $$renderer2.push(`<!---->Back to ${escape_html(back.label)}</button>`);
583
- } else {
584
- $$renderer2.push("<!--[-1-->");
585
- }
586
- $$renderer2.push(`<!--]--> <p class="text-xs tracking-wide text-muted-foreground uppercase">${escape_html(words().name)}</p> <h2${attr("id", `check-${stringify(checkId)}-title`)} class="mt-0.5 text-xl">${escape_html(text(spec.label) || checkId)}</h2> <p class="mt-1 text-sm text-muted-foreground">${escape_html(words().what)}</p> `);
587
- if (readonlyWhy) {
588
- $$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-muted-foreground">${escape_html(readonlyWhy)}</p>`);
589
- } else {
590
- $$renderer2.push("<!--[-1-->");
591
- }
592
- $$renderer2.push(`<!--]--> <div class="mt-5 grid gap-4 sm:grid-cols-2"><div class="min-w-0 sm:col-span-2"><label${attr("for", `check-${stringify(checkId)}-label`)} class="block text-sm font-medium">Name</label> <input${attr("id", `check-${stringify(checkId)}-label`)}${attr_class(clsx(inputClass))}${attr("disabled", readonly, true)}${attr("value", text(spec.label))}${attr("placeholder", checkId)}/></div> <!--[-->`);
593
- const each_array_2 = ensure_array_like(fields());
594
- for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
595
- let f = each_array_2[$$index_2];
596
- $$renderer2.push(`<div${attr_class(clsx(f.kind === "list" || f.key === "url" ? "sm:col-span-2" : ""))}>`);
597
- field($$renderer2, f);
598
- $$renderer2.push(`<!----></div>`);
599
- }
600
- $$renderer2.push(`<!--]--> `);
601
- if (type() !== "status.note") {
602
- $$renderer2.push(`<!--[0--><div><label${attr("for", `check-${stringify(checkId)}-interval`)} class="block text-sm font-medium">How often</label> <input${attr("id", `check-${stringify(checkId)}-interval`)} class="mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm disabled:opacity-60 max-w-40"${attr("disabled", readonly, true)}${attr("placeholder", type() === "command" ? "10m" : type() === "github.release" || type() === "npm.published" ? "5m" : "60s")}${attr("value", text(spec.interval))}/> <p class="mt-1 text-xs text-muted-foreground">At least 30s, e.g. 60s, 5m or 1h.</p></div>`);
603
- } else {
604
- $$renderer2.push("<!--[-1-->");
605
- }
606
- $$renderer2.push(`<!--]--></div> `);
607
- if (type() === "command") {
608
- $$renderer2.push(`<!--[0--><div class="mt-6 rounded-lg border bg-panel p-4 text-sm" data-command-preview=""><p class="flex items-center gap-2 font-medium">`);
609
- Square_terminal($$renderer2, { class: "size-4", "aria-hidden": "true" });
610
- $$renderer2.push(`<!---->Exactly what will run</p> <pre class="mt-2 overflow-x-auto rounded-md bg-terminal px-3 py-2 font-mono text-xs text-terminal-foreground">${escape_html(shown(spec.run) || "(no program yet)")}</pre> <dl class="mt-3 grid gap-x-4 gap-y-1 text-xs sm:grid-cols-[9rem_minmax(0,1fr)]"><dt class="text-muted-foreground">In the folder</dt> <dd>${escape_html(text(spec.cwd) && spec.cwd !== "." ? `${spec.cwd}, inside the project` : "At the top of the project")}, in a fresh checkout of ${escape_html(spec.ref === "merge.commit" ? "the merge commit" : spec.ref === "pr.head" ? "the pull request’s latest commit" : "the default branch")}</dd> <dt class="text-muted-foreground">For at most</dt> <dd>${escape_html(text(spec.timeout) || "5m")}</dd> <dt class="text-muted-foreground">With only</dt> <dd class="break-words">${escape_html([...COMMAND_BASE_ENV, ...spec.env ?? []].join(", "))} from Wheelhouse’s
611
- environment, plus the task and project names</dd> <dt class="text-muted-foreground">When</dt> <dd>${escape_html(whenText(spec))}</dd></dl> <p class="mt-3 text-xs text-muted-foreground">It never goes through a shell. Command checks run only after you allow them on the project’s
612
- passage page, and changing a command line turns them off again. Allowing them trusts the
613
- project’s own scripts as they are at that commit: consent covers the command line, not the
614
- scripts it calls, which can change through merged pull requests without turning the commands
615
- off.</p> <p class="mt-2 text-xs text-muted-foreground">Each run gets a fresh checkout with no installed dependencies and none of the clone’s
616
- untracked files (such as .env), so the command must install what it needs.</p></div>`);
617
- } else {
618
- $$renderer2.push("<!--[-1-->");
619
- }
620
- $$renderer2.push(`<!--]--> `);
621
- if (!readonly) {
622
- $$renderer2.push(`<!--[0--><div class="mt-6 flex flex-wrap items-center gap-3 border-t pt-4">`);
623
- Button($$renderer2, {
624
- variant: "destructive",
625
- size: "sm",
626
- onclick: onremove,
627
- children: ($$renderer3) => {
628
- Trash($$renderer3, { "aria-hidden": "true" });
629
- $$renderer3.push(`<!---->Remove this check`);
630
- },
631
- $$slots: { default: true }
632
- });
633
- $$renderer2.push(`<!----> `);
634
- if (usedBy.length) {
635
- $$renderer2.push(`<!--[0--><p class="text-xs text-muted-foreground">Used by ${escape_html(usedBy.join(", "))}; removing it takes it out of ${escape_html(usedBy.length === 1 ? "that step" : "those steps")}.</p>`);
636
- } else {
637
- $$renderer2.push("<!--[-1-->");
638
- }
639
- $$renderer2.push(`<!--]--></div>`);
640
- } else {
641
- $$renderer2.push("<!--[-1-->");
642
- }
643
- $$renderer2.push(`<!--]--></section>`);
644
- });
645
- }
646
- function ReviewDialog($$renderer, $$props) {
647
- $$renderer.component(($$renderer2) => {
648
- let {
649
- open = false,
650
- before,
651
- after,
652
- summary,
653
- target,
654
- defaultRef,
655
- busy,
656
- error,
657
- onsave
658
- /** What the edit changes, in plain sentences. */
659
- } = $$props;
660
- const lines = derived(() => open ? diffLines(linesOf(before), linesOf(after)) : []);
661
- const added = derived(() => lines().filter((l) => l.op === "+").length);
662
- const removed = derived(() => lines().filter((l) => l.op === "-").length);
663
- const branch = derived(() => defaultRef?.replace(/^origin\//, "") ?? "the default branch");
664
- $$renderer2.push(`<dialog class="m-auto max-h-[90vh] w-[min(94vw,980px)] max-w-none overflow-hidden rounded-xl border bg-background p-0 text-foreground shadow-xl backdrop:bg-black/60" aria-labelledby="review-title">`);
665
- if (open) {
666
- $$renderer2.push(`<!--[0--><div class="flex max-h-[90vh] flex-col"><div class="flex items-start gap-3 border-b px-5 py-4"><div class="min-w-0 flex-1"><h2 id="review-title" class="text-lg">Review and save</h2> <p class="mt-1 text-sm text-muted-foreground">The file: ${escape_html(added())} line${escape_html(added() === 1 ? "" : "s")} added, ${escape_html(removed())} removed.</p></div> <button type="button" class="inline-flex size-8 items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Close">`);
667
- X($$renderer2, { class: "size-4", "aria-hidden": "true" });
668
- $$renderer2.push(`<!----></button></div> `);
669
- if (summary.length) {
670
- $$renderer2.push(`<!--[0--><ul class="space-y-1 border-b px-5 py-3 text-sm" aria-label="What changes"><!--[-->`);
671
- const each_array = ensure_array_like(summary);
672
- for (let i = 0, $$length = each_array.length; i < $$length; i++) {
673
- let line = each_array[i];
674
- $$renderer2.push(`<li>${escape_html(line)}</li>`);
675
- }
676
- $$renderer2.push(`<!--]--></ul>`);
677
- } else {
678
- $$renderer2.push("<!--[-1-->");
679
- }
680
- $$renderer2.push(`<!--]--> <pre class="min-h-0 flex-1 overflow-auto bg-card px-0 py-2 font-mono text-xs leading-5" aria-label="Changes"><!--[-->`);
681
- const each_array_1 = ensure_array_like(lines());
682
- for (let i = 0, $$length = each_array_1.length; i < $$length; i++) {
683
- let l = each_array_1[i];
684
- $$renderer2.push(`<span${attr_class(`block px-5 ${l.op === "+" ? "bg-success/10 text-success" : l.op === "-" ? "bg-danger/10 text-danger" : "text-muted-foreground"}`)}><span class="mr-3 inline-block w-3 select-none" aria-hidden="true">${escape_html(l.op === " " ? "" : l.op)}</span><span class="sr-only">${escape_html(l.op === "+" ? "added: " : l.op === "-" ? "removed: " : "")}</span>${escape_html(l.text)}</span>`);
685
- }
686
- $$renderer2.push(`<!--]--></pre> <div class="border-t px-5 py-4"><p class="text-sm leading-relaxed" data-save-note="">`);
687
- if (target === "project") {
688
- $$renderer2.push(`<!--[0--><strong class="font-medium">This changes a file in the project’s repository:</strong> <code class="font-mono text-xs">.wheelhouse.yaml</code> in Firstmate’s clone of the
689
- project. It is not committed. Wheelhouse uses it once it is on ${escape_html(branch())}, so ask
690
- Firstmate to ship it.`);
691
- } else {
692
- $$renderer2.push(`<!--[-1--><strong class="font-medium">This changes your own Wheelhouse config</strong> for this project,
693
- outside the repository. Wheelhouse uses it within a minute.`);
694
- }
695
- $$renderer2.push(`<!--]--></p> `);
696
- if (error) {
697
- $$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-danger" role="alert">${escape_html(error)}</p>`);
698
- } else {
699
- $$renderer2.push("<!--[-1-->");
700
- }
701
- $$renderer2.push(`<!--]--> <div class="mt-4 flex flex-wrap justify-end gap-2">`);
702
- Button($$renderer2, {
703
- variant: "outline",
704
- onclick: () => open = false,
705
- children: ($$renderer3) => {
706
- $$renderer3.push(`<!---->Keep editing`);
707
- },
708
- $$slots: { default: true }
709
- });
710
- $$renderer2.push(`<!----> `);
711
- Button($$renderer2, {
712
- disabled: busy || !added() && !removed(),
713
- onclick: onsave,
714
- children: ($$renderer3) => {
715
- $$renderer3.push(`<!---->${escape_html(busy ? "Saving…" : target === "project" ? "Save to the repository file" : "Save to your config")}`);
716
- },
717
- $$slots: { default: true }
718
- });
719
- $$renderer2.push(`<!----></div></div></div>`);
720
- } else {
721
- $$renderer2.push("<!--[-1-->");
722
- }
723
- $$renderer2.push(`<!--]--></dialog>`);
724
- bind_props($$props, { open });
725
- });
726
- }
727
- function CondField($$renderer, $$props) {
728
- $$renderer.component(($$renderer2) => {
729
- let {
730
- id,
731
- label,
732
- help = null,
733
- value,
734
- refs,
735
- disabled = false,
736
- onchange
737
- } = $$props;
738
- const b = derived(() => toBuilder(value));
739
- const known = derived(() => new Set(refs.flatMap((g) => g.options.map((o) => o.value))));
740
- function set(next) {
741
- onchange(fromBuilder(next));
742
- }
743
- $$renderer2.push(`<fieldset class="min-w-0"${attr("aria-describedby", help ? `${id}-help` : void 0)}><legend class="text-sm font-medium">${escape_html(label)}</legend> `);
744
- if (help) {
745
- $$renderer2.push(`<!--[0--><p${attr("id", `${stringify(id)}-help`)} class="mt-0.5 text-xs text-muted-foreground">${escape_html(help)}</p>`);
746
- } else {
747
- $$renderer2.push("<!--[-1-->");
748
- }
749
- $$renderer2.push(`<!--]--> `);
750
- if (b() === null) {
751
- $$renderer2.push(`<!--[0--><p class="mt-2 rounded-md border border-dashed px-3 py-2 text-sm text-muted-foreground">This condition is more involved than the form shows. Edit it in the YAML view.</p>`);
752
- } else {
753
- $$renderer2.push("<!--[-1-->");
754
- if (b().items.length > 1) {
755
- $$renderer2.push(`<!--[0--><label class="mt-2 inline-flex items-center gap-2 text-sm"><span class="sr-only">How these combine</span> `);
756
- $$renderer2.select(
757
- {
758
- class: "rounded-md border border-input bg-card px-2 py-1 text-sm",
759
- value: b().join,
760
- disabled,
761
- onchange: (e) => set({ ...b(), join: e.currentTarget.value })
762
- },
763
- ($$renderer3) => {
764
- $$renderer3.option({ value: "all" }, ($$renderer4) => {
765
- $$renderer4.push(`All of these`);
766
- });
767
- $$renderer3.option({ value: "any" }, ($$renderer4) => {
768
- $$renderer4.push(`Any of these`);
769
- });
770
- }
771
- );
772
- $$renderer2.push(`</label>`);
773
- } else {
774
- $$renderer2.push("<!--[-1-->");
775
- }
776
- $$renderer2.push(`<!--]--> <ul class="mt-2 space-y-2"><!--[-->`);
777
- const each_array = ensure_array_like(b().items);
778
- for (let i = 0, $$length = each_array.length; i < $$length; i++) {
779
- let item = each_array[i];
780
- $$renderer2.push(`<li class="flex flex-wrap items-center gap-2">`);
781
- $$renderer2.select(
782
- {
783
- class: "rounded-md border border-input bg-card px-2 py-1 text-sm",
784
- "aria-label": `${stringify(label)}: when`,
785
- value: item.not ? "not" : "is",
786
- disabled,
787
- onchange: (e) => {
788
- const items = [...b().items];
789
- items[i] = { ...item, not: e.currentTarget.value === "not" };
790
- set({ ...b(), items });
791
- }
792
- },
793
- ($$renderer3) => {
794
- $$renderer3.option({ value: "is" }, ($$renderer4) => {
795
- $$renderer4.push(`When`);
796
- });
797
- $$renderer3.option({ value: "not" }, ($$renderer4) => {
798
- $$renderer4.push(`Unless`);
799
- });
800
- }
801
- );
802
- $$renderer2.push(` `);
803
- $$renderer2.select(
804
- {
805
- class: "min-w-0 flex-1 rounded-md border border-input bg-card px-2 py-1 text-sm",
806
- "aria-label": `${stringify(label)}: condition ${stringify(i + 1)}`,
807
- value: item.ref,
808
- disabled,
809
- onchange: (e) => {
810
- const items = [...b().items];
811
- items[i] = { ...item, ref: e.currentTarget.value };
812
- set({ ...b(), items });
813
- }
814
- },
815
- ($$renderer3) => {
816
- if (!known().has(item.ref)) {
817
- $$renderer3.push("<!--[0-->");
818
- $$renderer3.option({ value: item.ref }, ($$renderer4) => {
819
- $$renderer4.push(`${escape_html(item.ref)} (not known)`);
820
- });
821
- } else {
822
- $$renderer3.push("<!--[-1-->");
823
- }
824
- $$renderer3.push(`<!--]--><!--[-->`);
825
- const each_array_1 = ensure_array_like(refs);
826
- for (let $$index_1 = 0, $$length2 = each_array_1.length; $$index_1 < $$length2; $$index_1++) {
827
- let g = each_array_1[$$index_1];
828
- $$renderer3.push(`<optgroup${attr("label", g.group)}><!--[-->`);
829
- const each_array_2 = ensure_array_like(g.options);
830
- for (let $$index = 0, $$length3 = each_array_2.length; $$index < $$length3; $$index++) {
831
- let o = each_array_2[$$index];
832
- $$renderer3.option({ value: o.value }, ($$renderer4) => {
833
- $$renderer4.push(`${escape_html(o.label)}`);
834
- });
835
- }
836
- $$renderer3.push(`<!--]--></optgroup>`);
837
- }
838
- $$renderer3.push(`<!--]-->`);
839
- }
840
- );
841
- $$renderer2.push(` <button type="button" class="inline-flex size-8 items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Remove this condition"${attr("disabled", disabled, true)}>`);
842
- X($$renderer2, { class: "size-4", "aria-hidden": "true" });
843
- $$renderer2.push(`<!----></button></li>`);
844
- }
845
- $$renderer2.push(`<!--]--></ul> <button type="button" class="mt-2 inline-flex items-center gap-1 text-sm text-sea hover:underline disabled:opacity-50"${attr("disabled", disabled, true)}>`);
846
- Plus($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
847
- $$renderer2.push(`<!---->${escape_html(b().items.length ? "Add another" : "Add a condition")}</button>`);
848
- }
849
- $$renderer2.push(`<!--]--></fieldset>`);
850
- });
851
- }
852
- function StepForm($$renderer, $$props) {
853
- $$renderer.component(($$renderer2) => {
854
- let {
855
- step,
856
- entry,
857
- declared,
858
- refs,
859
- evidence,
860
- links,
861
- uses,
862
- canUp,
863
- canDown,
864
- onfield,
865
- belowName,
866
- onmove,
867
- onremove,
868
- onreset,
869
- onaddcheck
870
- /** Where the step is declared: built-in, the project file, or added by this file. */
871
- /** The name was finished (the field lost focus). */
872
- /** Where steps declared below this file come from, in words. */
873
- } = $$props;
874
- const rules = derived(() => declared !== "builtin");
875
- const text = (v) => typeof v === "string" ? v : "";
876
- const shows = derived(() => Array.isArray(entry?.evidence) ? entry.evidence : null);
877
- const noteText = derived(() => typeof entry?.note === "string" ? entry.note : "");
878
- const noteIsRule = derived(() => !!entry?.note && typeof entry.note === "object");
879
- const ORIGIN = {
880
- builtin: "A built-in step",
881
- project: "Added by the project’s repository file",
882
- captain: "Added by your Wheelhouse config",
883
- file: "Added by this file"
884
- };
885
- const inputClass = "mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm";
886
- let adding = "command";
887
- $$renderer2.push(`<section aria-labelledby="step-title"${attr("data-step-form", step.id)}><p class="text-xs tracking-wide text-muted-foreground uppercase">${escape_html(ORIGIN[declared])}${escape_html(step.restyled && !step.added ? ", changed by this file" : "")}</p> <h2 id="step-title" class="mt-0.5 text-xl">${escape_html(step.label)}</h2> `);
888
- if (step.lost) {
889
- $$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-danger" role="alert">It is placed after a step that does not exist. Move it to put it back in the passage.</p>`);
890
- } else {
891
- $$renderer2.push("<!--[-1-->");
892
- }
893
- $$renderer2.push(`<!--]--> <div class="mt-5 grid gap-4 sm:grid-cols-[minmax(0,2fr)_minmax(0,1fr)]"><div><label for="step-label" class="block text-sm font-medium">Name`);
894
- if (step.added) {
895
- $$renderer2.push(`<!--[0--><span class="ml-1 font-normal text-muted-foreground">(required)</span>`);
896
- } else {
897
- $$renderer2.push("<!--[-1-->");
898
- }
899
- $$renderer2.push(`<!--]--></label> <input id="step-label"${attr_class(clsx(inputClass))}${attr("value", text(entry?.label))}${attr("placeholder", step.added ? "e.g. Deployed locally" : step.label)}/></div> <div><label for="step-short" class="block text-sm font-medium">Short name</label> <input id="step-short"${attr_class(clsx(inputClass))}${attr("value", text(entry?.short))} placeholder="For narrow layouts"/></div></div> <div class="mt-6 space-y-5">`);
900
- if (rules()) {
901
- $$renderer2.push("<!--[0-->");
902
- CondField($$renderer2, {
903
- id: "reached",
904
- label: "Reached when",
905
- help: step.added ? "Required. The step is current once this holds." : null,
906
- value: entry?.reached_when,
907
- refs,
908
- onchange: (c) => onfield("reached_when", c)
909
- });
910
- $$renderer2.push(`<!----> `);
911
- CondField($$renderer2, {
912
- id: "failed",
913
- label: "Failed when",
914
- help: "Optional. The task shows as failed at this step.",
915
- value: entry?.failed_when,
916
- refs,
917
- onchange: (c) => onfield("failed_when", c)
918
- });
919
- $$renderer2.push(`<!----> `);
920
- CondField($$renderer2, {
921
- id: "skipped",
922
- label: "Skipped when",
923
- help: "Optional. Shown as skipped unless it is the current step.",
924
- value: entry?.skip_when,
925
- refs,
926
- onchange: (c) => onfield("skip_when", c)
927
- });
928
- $$renderer2.push(`<!----> `);
929
- if (entry?.skip_when !== void 0) {
930
- $$renderer2.push(`<!--[0--><div><label for="step-skip-note" class="block text-sm font-medium">Why it is skipped</label> <input id="step-skip-note"${attr_class(clsx(inputClass))}${attr("value", text(entry?.skip_note))}/></div>`);
931
- } else {
932
- $$renderer2.push("<!--[-1-->");
933
- }
934
- $$renderer2.push(`<!--]-->`);
935
- } else {
936
- $$renderer2.push(`<!--[-1--><p class="rounded-md bg-muted/60 px-3 py-2 text-sm text-muted-foreground">When a built-in step is reached is fixed. You can rename it and choose what it shows.</p>`);
937
- }
938
- $$renderer2.push(`<!--]--> <fieldset><legend class="block text-sm font-medium">What it shows on the task page</legend> <p class="mt-0.5 text-xs text-muted-foreground">${escape_html(shows() ? "Chosen here." : `As in ${belowName}; tick to choose your own.`)}</p> <div class="mt-2 grid gap-x-4 gap-y-1.5 sm:grid-cols-2 xl:grid-cols-3"><!--[-->`);
939
- const each_array = ensure_array_like(evidence);
940
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
941
- let o = each_array[$$index];
942
- $$renderer2.push(`<label class="flex items-center gap-2 text-sm"><input type="checkbox" class="size-4 accent-[var(--sea)]"${attr("checked", shows()?.includes(o.value) ?? false, true)}/>${escape_html(o.label)}</label>`);
943
- }
944
- $$renderer2.push(`<!--]--></div></fieldset> <div class="grid gap-4 sm:grid-cols-2"><div><label for="step-link" class="block text-sm font-medium">Main link while current</label> `);
945
- $$renderer2.select(
946
- {
947
- id: "step-link",
948
- class: inputClass,
949
- value: text(entry?.primary_link),
950
- onchange: (e) => onfield("primary_link", e.currentTarget.value)
951
- },
952
- ($$renderer3) => {
953
- $$renderer3.option({ value: "" }, ($$renderer4) => {
954
- $$renderer4.push(`None`);
955
- });
956
- $$renderer3.push(`<!--[-->`);
957
- const each_array_1 = ensure_array_like(links);
958
- for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
959
- let c = each_array_1[$$index_1];
960
- $$renderer3.option({ value: `${stringify(c.id)}.url` }, ($$renderer4) => {
961
- $$renderer4.push(`${escape_html(c.label)}`);
962
- });
963
- }
964
- $$renderer3.push(`<!--]-->`);
965
- }
966
- );
967
- $$renderer2.push(`</div> `);
968
- if (rules()) {
969
- $$renderer2.push(`<!--[0--><div><label for="step-give-up" class="block text-sm font-medium">Stop checking after</label> <input id="step-give-up" class="mt-1 w-full rounded-md border border-input bg-card px-3 py-1.5 text-sm max-w-40" placeholder="e.g. 24h"${attr("value", text(entry?.give_up_after))}/></div>`);
970
- } else {
971
- $$renderer2.push("<!--[-1-->");
972
- }
973
- $$renderer2.push(`<!--]--></div> <div><label for="step-note" class="block text-sm font-medium">Note shown with the step</label> `);
974
- if (noteIsRule()) {
975
- $$renderer2.push(`<!--[0--><p class="mt-1 text-sm text-muted-foreground">This note depends on a condition; edit it in the YAML view.</p>`);
976
- } else {
977
- $$renderer2.push(`<!--[-1--><textarea id="step-note" rows="2"${attr_class(clsx(inputClass))}>`);
978
- const $$body = escape_html(noteText());
979
- if ($$body) {
980
- $$renderer2.push(`${$$body}`);
981
- }
982
- $$renderer2.push(`</textarea>`);
983
- }
984
- $$renderer2.push(`<!--]--></div></div> <div class="mt-8 border-t pt-5"><h3 class="block text-sm font-medium">Checks this step uses</h3> `);
985
- if (uses.length) {
986
- $$renderer2.push(`<!--[0--><ul class="mt-2 divide-y rounded-lg border"><!--[-->`);
987
- const each_array_2 = ensure_array_like(uses);
988
- for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
989
- let c = each_array_2[$$index_2];
990
- $$renderer2.push(`<li><button type="button" class="flex w-full items-baseline justify-between gap-3 px-3 py-2 text-left text-sm hover:bg-muted/60"><span class="font-medium">${escape_html(c.label)}</span> <span class="text-xs text-muted-foreground">${escape_html(CHECK_WORDS[c.type]?.name ?? c.type)}</span></button></li>`);
991
- }
992
- $$renderer2.push(`<!--]--></ul>`);
993
- } else {
994
- $$renderer2.push(`<!--[-1--><p class="mt-1 text-sm text-muted-foreground">None yet.</p>`);
995
- }
996
- $$renderer2.push(`<!--]--> `);
997
- if (rules()) {
998
- $$renderer2.push(`<!--[0--><div class="mt-3 flex flex-wrap items-center gap-2"><label for="add-check-type" class="sr-only">Kind of check</label> `);
999
- $$renderer2.select(
1000
- {
1001
- id: "add-check-type",
1002
- class: "rounded-md border border-input bg-card px-2 py-1.5 text-sm",
1003
- value: adding
1004
- },
1005
- ($$renderer3) => {
1006
- $$renderer3.push(`<!--[-->`);
1007
- const each_array_3 = ensure_array_like(Object.entries(CHECK_WORDS));
1008
- for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {
1009
- let [t, w] = each_array_3[$$index_3];
1010
- $$renderer3.option({ value: t }, ($$renderer4) => {
1011
- $$renderer4.push(`${escape_html(w.name)}`);
1012
- });
1013
- }
1014
- $$renderer3.push(`<!--]-->`);
1015
- }
1016
- );
1017
- $$renderer2.push(` `);
1018
- Button($$renderer2, {
1019
- variant: "outline",
1020
- size: "sm",
1021
- onclick: () => onaddcheck(adding),
1022
- children: ($$renderer3) => {
1023
- Plus($$renderer3, { "aria-hidden": "true" });
1024
- $$renderer3.push(`<!---->Add a check to this step`);
1025
- },
1026
- $$slots: { default: true }
1027
- });
1028
- $$renderer2.push(`<!----></div> <p class="mt-1 text-xs text-muted-foreground">The step is then reached when the check passes, and shows its result.</p>`);
1029
- } else {
1030
- $$renderer2.push("<!--[-1-->");
1031
- }
1032
- $$renderer2.push(`<!--]--></div> <div class="mt-8 flex flex-wrap gap-2 border-t pt-5">`);
1033
- if (step.added) {
1034
- $$renderer2.push("<!--[0-->");
1035
- Button($$renderer2, {
1036
- variant: "outline",
1037
- size: "sm",
1038
- disabled: !canUp,
1039
- onclick: () => onmove(-1),
1040
- children: ($$renderer3) => {
1041
- Arrow_up($$renderer3, { "aria-hidden": "true" });
1042
- $$renderer3.push(`<!---->Move up`);
1043
- },
1044
- $$slots: { default: true }
1045
- });
1046
- $$renderer2.push(`<!----> `);
1047
- Button($$renderer2, {
1048
- variant: "outline",
1049
- size: "sm",
1050
- disabled: !canDown,
1051
- onclick: () => onmove(1),
1052
- children: ($$renderer3) => {
1053
- Arrow_down($$renderer3, { "aria-hidden": "true" });
1054
- $$renderer3.push(`<!---->Move down`);
1055
- },
1056
- $$slots: { default: true }
1057
- });
1058
- $$renderer2.push(`<!----> `);
1059
- Button($$renderer2, {
1060
- variant: "destructive",
1061
- size: "sm",
1062
- onclick: onremove,
1063
- children: ($$renderer3) => {
1064
- Trash($$renderer3, { "aria-hidden": "true" });
1065
- $$renderer3.push(`<!---->Remove this step`);
1066
- },
1067
- $$slots: { default: true }
1068
- });
1069
- $$renderer2.push(`<!---->`);
1070
- } else if (step.restyled) {
1071
- $$renderer2.push("<!--[1-->");
1072
- Button($$renderer2, {
1073
- variant: "outline",
1074
- size: "sm",
1075
- onclick: onreset,
1076
- children: ($$renderer3) => {
1077
- Rotate_ccw($$renderer3, { "aria-hidden": "true" });
1078
- $$renderer3.push(`<!---->Undo this file’s changes to the step`);
1079
- },
1080
- $$slots: { default: true }
1081
- });
1082
- } else {
1083
- $$renderer2.push("<!--[-1-->");
1084
- }
1085
- $$renderer2.push(`<!--]--> `);
1086
- if (declared === "builtin") {
1087
- $$renderer2.push(`<!--[0--><p class="self-center text-xs text-muted-foreground">Built-in steps stay in place and cannot be removed.</p>`);
1088
- } else {
1089
- $$renderer2.push("<!--[-1-->");
1090
- }
1091
- $$renderer2.push(`<!--]--></div></section>`);
1092
- });
1093
- }
1094
- function TestPanel($$renderer, $$props) {
1095
- $$renderer.component(($$renderer2) => {
1096
- let {
1097
- projectId,
1098
- target,
1099
- text,
1100
- track,
1101
- tasks,
1102
- commands,
1103
- blocked
1104
- } = $$props;
1105
- const fits = derived(() => tasks.filter((t) => t.track === track));
1106
- let taskId = "";
1107
- let runCommands = false;
1108
- let busy = false;
1109
- let result = null;
1110
- let error = null;
1111
- async function run() {
1112
- busy = true;
1113
- error = null;
1114
- result = null;
1115
- try {
1116
- const res = await fetch(`/api/projects/${encodeURIComponent(projectId)}/passage/test`, {
1117
- method: "POST",
1118
- headers: {
1119
- "content-type": "application/json",
1120
- [SESSION_HEADER]: page.data.sessionToken
1121
- },
1122
- body: JSON.stringify({
1123
- target,
1124
- text,
1125
- taskId,
1126
- commands: runCommands && commands.length > 0 ? commands : null
1127
- })
1128
- });
1129
- const body = await res.json().catch(() => null);
1130
- if (body && typeof body.ok === "boolean") result = body;
1131
- else error = typeof body?.message === "string" ? body.message : `Wheelhouse answered ${res.status}.`;
1132
- } catch {
1133
- error = "Could not reach the Wheelhouse server.";
1134
- } finally {
1135
- busy = false;
1136
- }
1137
- }
1138
- const BAD = /* @__PURE__ */ new Set(["failed", "failure", "error", "mismatch"]);
1139
- const NOT_YET = /* @__PURE__ */ new Set(["absent", "not_yet", "no", "in_progress"]);
1140
- function verdict(c) {
1141
- if (c.state === "observed" && c.outcome && BAD.has(c.outcome)) return { word: "Failed", tone: "text-danger" };
1142
- if (c.state === "observed" && c.outcome && NOT_YET.has(c.outcome)) return { word: "Not yet", tone: "text-muted-foreground" };
1143
- if (c.state === "observed") return { word: "Passed", tone: "text-success" };
1144
- if (c.state === "unknown") return { word: "Couldn’t tell", tone: "text-warning" };
1145
- return { word: "Not run", tone: "text-muted-foreground" };
1146
- }
1147
- $$renderer2.push(`<section class="rounded-xl border bg-card p-5" aria-labelledby="test-title" data-test-panel=""><div class="flex items-start gap-3"><div class="min-w-0 flex-1"><h2 id="test-title" class="text-lg">Test this passage</h2> <p class="mt-1 text-sm text-muted-foreground">See where a task would be with your edits. Each check runs once now; nothing is saved or
1148
- recorded.</p></div> <button type="button" class="inline-flex size-8 items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Close the test">`);
1149
- X($$renderer2, { class: "size-4", "aria-hidden": "true" });
1150
- $$renderer2.push(`<!----></button></div> `);
1151
- if (!fits().length) {
1152
- $$renderer2.push(`<!--[0--><p class="mt-4 text-sm text-muted-foreground">${escape_html(tasks.length ? `None of this project’s recent tasks follow the ${track === "ship" ? "ship" : "scout"} passage.` : "Wheelhouse has not seen any of this project’s tasks recently.")}</p>`);
1153
- } else {
1154
- $$renderer2.push(`<!--[-1--><div class="mt-4 flex flex-wrap items-end gap-3"><label class="min-w-0 flex-1 text-sm font-medium" for="test-task">Task `);
1155
- $$renderer2.select(
1156
- {
1157
- id: "test-task",
1158
- class: "mt-1 block w-full max-w-xl rounded-md border border-input bg-card px-3 py-1.5 text-sm font-normal",
1159
- value: taskId
1160
- },
1161
- ($$renderer3) => {
1162
- $$renderer3.push(`<!--[-->`);
1163
- const each_array = ensure_array_like(fits());
1164
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
1165
- let t = each_array[$$index];
1166
- $$renderer3.option({ value: t.id }, ($$renderer4) => {
1167
- $$renderer4.push(`${escape_html(t.title)}${escape_html(t.step ? ` (now at ${t.step})` : "")}`);
1168
- });
1169
- }
1170
- $$renderer3.push(`<!--]-->`);
1171
- }
1172
- );
1173
- $$renderer2.push(`</label> `);
1174
- Button($$renderer2, {
1175
- disabled: busy || blocked || !taskId,
1176
- onclick: run,
1177
- children: ($$renderer3) => {
1178
- Play($$renderer3, { "aria-hidden": "true" });
1179
- $$renderer3.push(`<!---->${escape_html(busy ? "Testing…" : "Run the test")}`);
1180
- },
1181
- $$slots: { default: true }
1182
- });
1183
- $$renderer2.push(`<!----></div> `);
1184
- if (blocked) {
1185
- $$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-danger">Fix the file’s problems to test it.</p>`);
1186
- } else {
1187
- $$renderer2.push("<!--[-1-->");
1188
- }
1189
- $$renderer2.push(`<!--]--> `);
1190
- if (commands.length) {
1191
- $$renderer2.push(`<!--[0--><div class="mt-4 rounded-lg border bg-panel p-3 text-sm"><label class="flex items-start gap-2"><input type="checkbox" class="mt-0.5 size-4 accent-[var(--sea)]"${attr("checked", runCommands, true)}/> <span>Also run ${escape_html(commands.length === 1 ? "this command" : `these ${commands.length} commands`)} on
1192
- this machine now. Otherwise they are left out of the test.</span></label> <ul class="mt-2 space-y-1 pl-6"><!--[-->`);
1193
- const each_array_1 = ensure_array_like(commands);
1194
- for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
1195
- let c = each_array_1[$$index_1];
1196
- $$renderer2.push(`<li><span class="font-medium">${escape_html(c.label)}:</span> <code class="font-mono text-xs">${escape_html(c.line)}</code> <span class="text-xs text-muted-foreground">in ${escape_html(c.cwd === "." ? "the project folder" : c.cwd)}, up to ${escape_html(c.timeout)}</span></li>`);
1197
- }
1198
- $$renderer2.push(`<!--]--></ul> `);
1199
- {
1200
- $$renderer2.push("<!--[-1-->");
1201
- }
1202
- $$renderer2.push(`<!--]--></div>`);
1203
- } else {
1204
- $$renderer2.push("<!--[-1-->");
1205
- }
1206
- $$renderer2.push(`<!--]-->`);
1207
- }
1208
- $$renderer2.push(`<!--]--> `);
1209
- if (error) {
1210
- $$renderer2.push(`<!--[0--><p class="mt-3 text-sm text-danger" role="alert">${escape_html(error)}</p>`);
1211
- } else {
1212
- $$renderer2.push("<!--[-1-->");
1213
- }
1214
- $$renderer2.push(`<!--]--> `);
1215
- if (result && !result.ok) {
1216
- $$renderer2.push(`<!--[0--><div class="mt-4 text-sm text-danger" role="alert"><p>${escape_html(result.message)}</p> `);
1217
- if (result.errors.length) {
1218
- $$renderer2.push(`<!--[0--><ul class="mt-1 list-disc pl-5 font-mono text-xs"><!--[-->`);
1219
- const each_array_2 = ensure_array_like(result.errors);
1220
- for (let i = 0, $$length = each_array_2.length; i < $$length; i++) {
1221
- let e = each_array_2[i];
1222
- $$renderer2.push(`<li>${escape_html(e)}</li>`);
1223
- }
1224
- $$renderer2.push(`<!--]--></ul>`);
1225
- } else {
1226
- $$renderer2.push("<!--[-1-->");
1227
- }
1228
- $$renderer2.push(`<!--]--></div>`);
1229
- } else if (result?.ok) {
1230
- $$renderer2.push("<!--[1-->");
1231
- const p = result.passage;
1232
- const cur = p.steps[p.current];
1233
- const failed = p.checks.filter((c) => verdict(c).word === "Failed").length;
1234
- const unclear = p.checks.filter((c) => c.state === "unknown").length;
1235
- const bad = new Set(p.checks.filter((c) => verdict(c).word === "Failed").map((c) => c.id));
1236
- $$renderer2.push(`<div class="mt-5 grid gap-6 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.4fr)]" aria-live="polite"><div><h3 class="text-sm font-medium">It would be at <span${attr_class(clsx(cur.failed ? "text-danger" : "text-sea"))}>${escape_html(cur.label)}${escape_html(cur.failed ? ", failed" : "")}</span></h3> <p class="mt-1 text-xs text-muted-foreground">${escape_html(p.basis)}</p> `);
1237
- if (failed || unclear) {
1238
- $$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-warning" role="status">${escape_html([
1239
- failed ? `${failed} check${failed === 1 ? "" : "s"} failed` : "",
1240
- unclear ? `${unclear} couldn’t tell` : ""
1241
- ].filter(Boolean).join(" and "))}; see what each check found.</p>`);
1242
- } else {
1243
- $$renderer2.push("<!--[-1-->");
1244
- }
1245
- $$renderer2.push(`<!--]--> <ol class="mt-3 space-y-1.5 text-sm"><!--[-->`);
1246
- const each_array_3 = ensure_array_like(p.steps);
1247
- for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {
1248
- let s = each_array_3[$$index_3];
1249
- const own = s.evidence.some((e) => e.startsWith("check:") && bad.has(e.slice(6)));
1250
- $$renderer2.push(`<li class="flex items-start gap-2"${attr("data-state", s.state)}>`);
1251
- if (s.failed || own) {
1252
- $$renderer2.push("<!--[0-->");
1253
- Circle_alert($$renderer2, {
1254
- class: "mt-0.5 size-4 shrink-0 text-danger",
1255
- "aria-hidden": "true"
1256
- });
1257
- } else if (s.state === "done") {
1258
- $$renderer2.push("<!--[1-->");
1259
- Check($$renderer2, {
1260
- class: "mt-0.5 size-4 shrink-0 text-success",
1261
- "aria-hidden": "true"
1262
- });
1263
- } else if (s.state === "current") {
1264
- $$renderer2.push("<!--[2-->");
1265
- Circle_dot($$renderer2, {
1266
- class: "mt-0.5 size-4 shrink-0 text-sea",
1267
- "aria-hidden": "true"
1268
- });
1269
- } else if (s.state === "skipped") {
1270
- $$renderer2.push("<!--[3-->");
1271
- Minus($$renderer2, {
1272
- class: "mt-0.5 size-4 shrink-0 text-muted-foreground",
1273
- "aria-hidden": "true"
1274
- });
1275
- } else {
1276
- $$renderer2.push("<!--[-1-->");
1277
- Circle_dashed($$renderer2, {
1278
- class: "mt-0.5 size-4 shrink-0 text-muted-foreground",
1279
- "aria-hidden": "true"
1280
- });
1281
- }
1282
- $$renderer2.push(`<!--]--> <span class="min-w-0"><span${attr_class(clsx(s.state === "upcoming" ? "text-muted-foreground" : ""))}>${escape_html(s.label)}</span> <span class="sr-only">(${escape_html(s.failed ? "failed" : s.state)})</span> `);
1283
- if (own && !s.failed) {
1284
- $$renderer2.push(`<!--[0--><span class="block text-xs text-danger">Its check failed${escape_html(s.state === "done" ? ", though a later step was reached" : "")}.</span>`);
1285
- } else {
1286
- $$renderer2.push("<!--[-1-->");
1287
- }
1288
- $$renderer2.push(`<!--]--> `);
1289
- if (s.note) {
1290
- $$renderer2.push(`<!--[0--><span class="block text-xs text-muted-foreground">${escape_html(s.note)}</span>`);
1291
- } else {
1292
- $$renderer2.push("<!--[-1-->");
1293
- }
1294
- $$renderer2.push(`<!--]--></span></li>`);
1295
- }
1296
- $$renderer2.push(`<!--]--></ol></div> <div><h3 class="text-sm font-medium">What each check found</h3> `);
1297
- if (!p.checks.length) {
1298
- $$renderer2.push(`<!--[0--><p class="mt-1 text-sm text-muted-foreground">This passage has no checks.</p>`);
1299
- } else {
1300
- $$renderer2.push(`<!--[-1--><ul class="mt-3 space-y-2"><!--[-->`);
1301
- const each_array_4 = ensure_array_like(p.checks);
1302
- for (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {
1303
- let c = each_array_4[$$index_4];
1304
- const v = verdict(c);
1305
- $$renderer2.push(`<li${attr_class(`rounded-lg border px-3 py-2 text-sm ${v.word === "Failed" ? "border-danger/50" : v.word === "Couldn’t tell" ? "border-warning/50" : ""}`)}${attr("data-verdict", v.word)}><p class="flex flex-wrap items-baseline gap-x-2"><span class="font-medium">${escape_html(c.label)}</span> <span${attr_class(`text-xs font-medium ${stringify(v.tone)}`)}>${escape_html(v.word)}</span></p> <p class="mt-0.5 text-muted-foreground">${escape_html(c.summary)}</p> `);
1306
- if (c.command) {
1307
- $$renderer2.push(`<!--[0--><p class="mt-0.5 font-mono text-xs text-muted-foreground">${escape_html(c.command)}</p>`);
1308
- } else {
1309
- $$renderer2.push("<!--[-1-->");
1310
- }
1311
- $$renderer2.push(`<!--]--> `);
1312
- if (c.output) {
1313
- $$renderer2.push(`<!--[0--><details class="mt-1"><summary class="cursor-pointer text-xs text-sea">Output</summary> <pre class="mt-1 max-h-72 overflow-auto rounded-md bg-terminal px-3 py-2 font-mono text-xs text-terminal-foreground">${escape_html(c.output)}</pre></details>`);
1314
- } else {
1315
- $$renderer2.push("<!--[-1-->");
1316
- }
1317
- $$renderer2.push(`<!--]--></li>`);
1318
- }
1319
- $$renderer2.push(`<!--]--></ul>`);
1320
- }
1321
- $$renderer2.push(`<!--]--></div></div>`);
1322
- } else {
1323
- $$renderer2.push("<!--[-1-->");
1324
- }
1325
- $$renderer2.push(`<!--]--></section>`);
1326
- });
1327
- }
1328
- function PassageEditor($$renderer, $$props) {
1329
- $$renderer.component(($$renderer2) => {
1330
- let { editor, tasks, onsaved } = $$props;
1331
- const loadedText = editor.file.exists ? editor.file.text : starterText();
1332
- let text = loadedText;
1333
- let view = "form";
1334
- let selected = null;
1335
- let testing = false;
1336
- let reviewing = false;
1337
- let saving = false;
1338
- let saveError = null;
1339
- let savedNote = null;
1340
- let checking = false;
1341
- let showProblems = false;
1342
- const m = derived(() => model(text));
1343
- const track = derived(() => m()?.extends ?? "ship");
1344
- const base = derived(() => editor.below[track()]);
1345
- const steps = derived(() => m() ? listSteps(base(), m().stages) : []);
1346
- const fileChecks = derived(() => m()?.checks ?? {});
1347
- const dirty = derived(() => text !== loadedText);
1348
- const yamlBroken = derived(() => m() === null);
1349
- const problems = derived(() => yamlBroken() ? ["The YAML could not be read."] : []);
1350
- const commands = derived(() => []);
1351
- const project = derived(() => editor.target === "project");
1352
- const branch = derived(() => editor.defaultRef?.replace(/^origin\//, "") ?? "the default branch");
1353
- const allChecks = derived(() => {
1354
- const out = {};
1355
- for (const c of base().checks) out[c.id] = { ...c, mine: false };
1356
- for (const [id, spec] of Object.entries(fileChecks())) {
1357
- out[id] = {
1358
- id,
1359
- label: typeof spec?.label === "string" && spec.label ? spec.label : id,
1360
- type: String(spec?.type ?? ""),
1361
- mine: true
1362
- };
1363
- }
1364
- return Object.values(out);
1365
- });
1366
- const refs = derived(() => [
1367
- {
1368
- group: "Firstmate",
1369
- options: Object.entries(FACT_WORDS).map(([value, label]) => ({ value, label: label.charAt(0).toUpperCase() + label.slice(1) }))
1370
- },
1371
- ...allChecks().map((c) => ({
1372
- group: c.label,
1373
- options: (OUTCOMES[c.type] ?? []).map((o) => ({
1374
- value: `${c.id}.${o}`,
1375
- label: `${c.label} ${outcomeWords(o)}`
1376
- }))
1377
- }))
1378
- ]);
1379
- const evidence = derived(() => [
1380
- ...Object.entries(EVIDENCE_WORDS).map(([value, label]) => ({ value, label })),
1381
- ...allChecks().map((c) => ({ value: `check:${c.id}`, label: `${c.label} result` }))
1382
- ]);
1383
- const change = (fn) => {
1384
- text = edit(text, fn);
1385
- savedNote = null;
1386
- };
1387
- const sel = derived(() => selected?.kind === "step" ? steps().find((s) => s.id === selected.id) : void 0);
1388
- const entry = derived(() => sel() && sel().fileIndex !== null ? m()?.stages[sel().fileIndex] ?? null : null);
1389
- const declared = derived(() => {
1390
- if (!sel()) return "builtin";
1391
- if (sel().added) return "file";
1392
- return base().steps.find((s) => s.id === sel().id)?.origin ?? "builtin";
1393
- });
1394
- const selIndex = derived(() => sel() ? steps().indexOf(sel()) : -1);
1395
- const fresh = new SvelteSet();
1396
- const freshChecks = new SvelteSet();
1397
- const taken = (except) => steps().map((s) => s.id).filter((x) => x !== except);
1398
- const takenChecks = (except) => allChecks().map((c) => c.id).filter((x) => x !== except);
1399
- function stageField(key, value) {
1400
- if (!sel()) return;
1401
- const id = sel().id;
1402
- change((d) => {
1403
- const i = sel().fileIndex ?? entryFor(d, id);
1404
- setStageField(d, i, key, value);
1405
- });
1406
- }
1407
- function pick(kind, id) {
1408
- selected = { kind, id };
1409
- if (typeof window !== "undefined" && window.innerWidth < 1024) {
1410
- requestAnimationFrame(() => document.getElementById("passage-detail")?.scrollIntoView({ behavior: "smooth", block: "start" }));
1411
- }
1412
- }
1413
- function addStep() {
1414
- const id = slug("New step", taken(""));
1415
- const after = sel()?.id ?? steps().at(-1)?.id ?? null;
1416
- const at = sel() ? steps().indexOf(sel()) + 1 : steps().length;
1417
- change((d) => {
1418
- addStage(d, { id, label: "New step", reached_when: "merged" }, after);
1419
- placeStage(d, base(), id, at);
1420
- });
1421
- fresh.add(id);
1422
- pick("step", id);
1423
- }
1424
- function removeStep() {
1425
- if (!sel() || sel().fileIndex === null) return;
1426
- if (!confirm(`Remove the step “${sel().label}” from this file?`)) return;
1427
- const i = sel().fileIndex;
1428
- change((d) => removeStage(d, i));
1429
- selected = null;
1430
- }
1431
- function resetStep() {
1432
- if (!sel() || sel().fileIndex === null) return;
1433
- const i = sel().fileIndex;
1434
- change((d) => removeStage(d, i));
1435
- }
1436
- const SUCCESS = {
1437
- "github.deployment": "success",
1438
- "github.workflow": "success",
1439
- "github.release": "included",
1440
- "npm.published": "published",
1441
- http: "ok",
1442
- "git.contains": "yes",
1443
- "status.note": "present",
1444
- command: "passed"
1445
- };
1446
- const FAILURE = {
1447
- "github.deployment": "failure",
1448
- "github.workflow": "failure",
1449
- command: "failed"
1450
- };
1451
- const STARTER = {
1452
- "github.deployment": { ref: "merge.commit" },
1453
- "github.workflow": { ref: "pr.head" },
1454
- "github.release": { contains: "merge.commit" },
1455
- "npm.published": {},
1456
- http: {},
1457
- "git.contains": { repo: "project-clone", commit: "merge.commit" },
1458
- "status.note": { prefix: "preview" },
1459
- command: { timeout: "5m" }
1460
- };
1461
- function addCheck(type) {
1462
- if (!sel()) return;
1463
- const step = sel();
1464
- const name = allChecks().some((c) => c.label === step.label) ? `${step.label}: ${CHECK_WORDS[type].name.toLowerCase()}` : step.label;
1465
- const id = slug(name, takenChecks(""), "check");
1466
- const landed = steps().findIndex((s) => s.id === "landed");
1467
- const afterMerge = landed >= 0 && steps().indexOf(step) > landed;
1468
- change((d) => {
1469
- setCheck(d, id, {
1470
- type,
1471
- label: name,
1472
- ...STARTER[type],
1473
- ...type === "command" && afterMerge ? { when: "merged" } : {}
1474
- });
1475
- const i = step.fileIndex ?? entryFor(d, step.id);
1476
- const st = d.toJS().stages[i];
1477
- if (declared() !== "builtin") {
1478
- const add = (cur, ref) => {
1479
- const b = toBuilder(cur);
1480
- if (!b) return cur;
1481
- const items = b.items.filter((x) => !(x.ref === "merged" && !x.not && step.added));
1482
- return fromBuilder({ ...b, items: [...items, { not: false, ref }] });
1483
- };
1484
- setStageField(d, i, "reached_when", add(st.reached_when, `${id}.${SUCCESS[type]}`));
1485
- if (FAILURE[type]) setStageField(d, i, "failed_when", add(st.failed_when, `${id}.${FAILURE[type]}`));
1486
- }
1487
- const ev = Array.isArray(st.evidence) ? st.evidence : [];
1488
- setStageField(d, i, "evidence", [...ev, `check:${id}`]);
1489
- });
1490
- freshChecks.add(id);
1491
- backTo = step.id;
1492
- pick("check", id);
1493
- }
1494
- let backTo = null;
1495
- const usesOf = (stageId) => {
1496
- const s = m()?.stages.find((x) => x.id === stageId);
1497
- if (!s) return [];
1498
- return allChecks().filter((c) => refsTo([s], c.id).length > 0);
1499
- };
1500
- const selCheck = derived(() => selected?.kind === "check" ? allChecks().find((c) => c.id === selected.id) : void 0);
1501
- function removeCheck(id) {
1502
- if (!confirm("Remove this check? Steps that use it stop using it.")) return;
1503
- change((d) => {
1504
- setCheck(d, id, null);
1505
- const stages = d.toJS().stages ?? [];
1506
- stages.forEach((s, i) => {
1507
- for (const k of ["reached_when", "failed_when", "skip_when"]) {
1508
- const b = toBuilder(s[k]);
1509
- if (b && s[k] !== void 0) setStageField(d, i, k, fromBuilder({
1510
- ...b,
1511
- items: b.items.filter((x) => !x.ref.startsWith(`${id}.`))
1512
- }));
1513
- }
1514
- if (Array.isArray(s.evidence)) setStageField(d, i, "evidence", s.evidence.filter((e) => e !== `check:${id}`));
1515
- if (s.primary_link === `${id}.url`) setStageField(d, i, "primary_link", void 0);
1516
- });
1517
- });
1518
- selected = null;
1519
- }
1520
- async function save() {
1521
- saving = true;
1522
- saveError = null;
1523
- try {
1524
- const res = await fetch(`/api/projects/${encodeURIComponent(editor.projectId)}/passage/file`, {
1525
- method: "PUT",
1526
- headers: {
1527
- "content-type": "application/json",
1528
- [SESSION_HEADER]: page.data.sessionToken
1529
- },
1530
- body: JSON.stringify({ target: editor.target, text, baseDigest: editor.file.digest })
1531
- });
1532
- const body = await res.json().catch(() => null);
1533
- if (res.ok && body?.schema === "wheelhouse-passage-editor.v1") {
1534
- reviewing = false;
1535
- const { tasks: t, ...e } = body;
1536
- onsaved(e, t);
1537
- } else {
1538
- saveError = (typeof body?.message === "string" ? body.message : `Wheelhouse answered ${res.status}.`) + (Array.isArray(body?.errors) && body.errors.length ? ` ${body.errors[0]}` : "");
1539
- }
1540
- } catch {
1541
- saveError = "Could not reach the Wheelhouse server.";
1542
- } finally {
1543
- saving = false;
1544
- }
1545
- }
1546
- const tabClass = (on) => `inline-flex items-center rounded-sm px-3 py-1.5 text-sm ${on ? "bg-card font-medium shadow-xs" : "text-muted-foreground hover:text-foreground"}`;
1547
- let $$settled = true;
1548
- let $$inner_renderer;
1549
- function $$render_inner($$renderer3) {
1550
- $$renderer3.push(`<div class="mt-6 flex flex-wrap items-center gap-x-4 gap-y-3 border-y py-3"><div class="inline-flex rounded-md bg-muted p-0.5" role="tablist" aria-label="Edit as"><button type="button" role="tab"${attr("aria-selected", view === "form")}${attr_class(clsx(tabClass(view === "form")))}>Form</button> <button type="button" role="tab"${attr("aria-selected", view === "yaml")}${attr_class(clsx(tabClass(view === "yaml")))}>YAML</button></div> <label class="inline-flex items-center gap-2 text-sm"><span class="text-muted-foreground">Builds on</span> `);
1551
- $$renderer3.select(
1552
- {
1553
- class: "rounded-md border border-input bg-card px-2 py-1 text-sm",
1554
- value: track(),
1555
- disabled: yamlBroken(),
1556
- onchange: (e) => {
1557
- const v = e.currentTarget.value;
1558
- change((d) => setTop(d, "extends", v));
1559
- selected = null;
1560
- }
1561
- },
1562
- ($$renderer4) => {
1563
- $$renderer4.option({ value: "ship" }, ($$renderer5) => {
1564
- $$renderer5.push(`Ship work`);
1565
- });
1566
- $$renderer4.option({ value: "scout" }, ($$renderer5) => {
1567
- $$renderer5.push(`Scout work`);
1568
- });
1569
- }
1570
- );
1571
- $$renderer3.push(`</label> <div class="min-w-0 flex-1 text-sm" aria-live="polite">`);
1572
- if (problems().length) {
1573
- $$renderer3.push(`<!--[0--><button type="button" class="inline-flex items-center gap-1.5 text-danger hover:underline"${attr("aria-expanded", showProblems)}>`);
1574
- Circle_alert($$renderer3, { class: "size-4", "aria-hidden": "true" });
1575
- $$renderer3.push(`<!---->${escape_html(problems().length === 1 ? "1 problem" : `${problems().length} problems`)}; it can’t be saved yet</button>`);
1576
- } else {
1577
- $$renderer3.push(`<!--[1--><span class="text-muted-foreground">Checking…</span>`);
1578
- }
1579
- $$renderer3.push(`<!--]--></div> <div class="flex gap-2">`);
1580
- Button($$renderer3, {
1581
- variant: "outline",
1582
- onclick: () => testing = !testing,
1583
- "aria-expanded": testing,
1584
- children: ($$renderer4) => {
1585
- Flask_conical($$renderer4, { "aria-hidden": "true" });
1586
- $$renderer4.push(`<!---->Test`);
1587
- },
1588
- $$slots: { default: true }
1589
- });
1590
- $$renderer3.push(`<!----> `);
1591
- Button($$renderer3, {
1592
- disabled: !dirty() || problems().length > 0 || checking,
1593
- onclick: () => {
1594
- saveError = null;
1595
- reviewing = true;
1596
- },
1597
- children: ($$renderer4) => {
1598
- $$renderer4.push(`<!---->Review and save`);
1599
- },
1600
- $$slots: { default: true }
1601
- });
1602
- $$renderer3.push(`<!----></div></div> `);
1603
- {
1604
- $$renderer3.push("<!--[-1-->");
1605
- }
1606
- $$renderer3.push(`<!--]--> `);
1607
- if (savedNote) {
1608
- $$renderer3.push(`<!--[0--><p class="mt-3 text-sm text-success" role="status">${escape_html(savedNote)}</p>`);
1609
- } else {
1610
- $$renderer3.push("<!--[-1-->");
1611
- }
1612
- $$renderer3.push(`<!--]--> `);
1613
- if (testing) {
1614
- $$renderer3.push(`<!--[0--><div class="mt-5">`);
1615
- TestPanel($$renderer3, {
1616
- projectId: editor.projectId,
1617
- target: editor.target,
1618
- text,
1619
- track: track(),
1620
- tasks,
1621
- commands: commands(),
1622
- blocked: problems().length > 0
1623
- });
1624
- $$renderer3.push(`<!----></div>`);
1625
- } else {
1626
- $$renderer3.push("<!--[-1-->");
1627
- }
1628
- $$renderer3.push(`<!--]--> `);
1629
- if (yamlBroken()) {
1630
- $$renderer3.push(`<!--[0--><div class="mt-6">`);
1631
- if (yamlBroken() && view === "form") {
1632
- $$renderer3.push(`<!--[0--><p class="mb-3 text-sm text-danger">The YAML could not be read, so the form is unavailable. Fix it here.</p>`);
1633
- } else {
1634
- $$renderer3.push("<!--[-1-->");
1635
- }
1636
- $$renderer3.push(`<!--]--> <label for="yaml" class="sr-only">The passage file as YAML</label> <textarea id="yaml" class="min-h-[60vh] w-full rounded-lg border border-input bg-card p-4 font-mono text-sm leading-6" spellcheck="false">`);
1637
- const $$body = escape_html(text);
1638
- if ($$body) {
1639
- $$renderer3.push(`${$$body}`);
1640
- }
1641
- $$renderer3.push(`</textarea></div>`);
1642
- } else {
1643
- $$renderer3.push(`<!--[-1--><div class="mt-6 grid gap-8 lg:grid-cols-[minmax(17rem,24rem)_minmax(0,1fr)]"><div class="min-w-0 space-y-8"><section aria-labelledby="steps-title"><h2 id="steps-title" class="text-sm font-medium">Steps, in order</h2> <ol class="mt-2 divide-y rounded-xl border bg-card" data-step-list=""><!--[-->`);
1644
- const each_array_1 = ensure_array_like(steps());
1645
- for (let i = 0, $$length = each_array_1.length; i < $$length; i++) {
1646
- let s = each_array_1[i];
1647
- const on = selected?.kind === "step" && selected.id === s.id;
1648
- $$renderer3.push(`<li><button type="button"${attr_class(`flex w-full items-baseline gap-2 px-3 py-2.5 text-left text-sm hover:bg-muted/60 ${on ? "bg-sea/10" : ""}`)}${attr("aria-current", on ? "true" : void 0)}${attr("data-step", s.id)}><span class="tabular w-5 shrink-0 text-muted-foreground">${escape_html(i + 1)}.</span> <span${attr_class(`min-w-0 flex-1 ${on ? "font-medium" : ""}`)}>${escape_html(s.label)}</span> <span${attr_class(`text-xs ${s.lost ? "text-danger" : "text-muted-foreground"}`)}>${escape_html(s.lost ? "misplaced" : s.added ? "added here" : s.restyled ? "changed here" : "")}</span></button> `);
1649
- if (on && s.added) {
1650
- $$renderer3.push(`<!--[0--><div class="flex gap-1 px-3 pb-2" role="group"${attr("aria-label", `Move ${stringify(s.label)}`)}>`);
1651
- Button($$renderer3, {
1652
- variant: "ghost",
1653
- size: "xs",
1654
- disabled: i <= 1,
1655
- onclick: () => change((d) => moveStage(d, base(), s.id, -1)),
1656
- children: ($$renderer4) => {
1657
- Arrow_up($$renderer4, { "aria-hidden": "true" });
1658
- $$renderer4.push(`<!---->Up`);
1659
- },
1660
- $$slots: { default: true }
1661
- });
1662
- $$renderer3.push(`<!----> `);
1663
- Button($$renderer3, {
1664
- variant: "ghost",
1665
- size: "xs",
1666
- disabled: i >= steps().length - 1,
1667
- onclick: () => change((d) => moveStage(d, base(), s.id, 1)),
1668
- children: ($$renderer4) => {
1669
- Arrow_down($$renderer4, { "aria-hidden": "true" });
1670
- $$renderer4.push(`<!---->Down`);
1671
- },
1672
- $$slots: { default: true }
1673
- });
1674
- $$renderer3.push(`<!----></div>`);
1675
- } else {
1676
- $$renderer3.push("<!--[-1-->");
1677
- }
1678
- $$renderer3.push(`<!--]--></li>`);
1679
- }
1680
- $$renderer3.push(`<!--]--></ol> `);
1681
- Button($$renderer3, {
1682
- variant: "outline",
1683
- size: "sm",
1684
- class: "mt-3",
1685
- onclick: addStep,
1686
- children: ($$renderer4) => {
1687
- Plus($$renderer4, { "aria-hidden": "true" });
1688
- $$renderer4.push(`<!---->Add a step${escape_html(sel() ? ` after ${sel().label}` : "")}`);
1689
- },
1690
- $$slots: { default: true }
1691
- });
1692
- $$renderer3.push(`<!----></section> <section aria-labelledby="checks-title"><h2 id="checks-title" class="text-sm font-medium">Checks</h2> `);
1693
- if (allChecks().length) {
1694
- $$renderer3.push(`<!--[0--><ul class="mt-2 divide-y rounded-xl border bg-card"><!--[-->`);
1695
- const each_array_2 = ensure_array_like(allChecks());
1696
- for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
1697
- let c = each_array_2[$$index_2];
1698
- const on = selected?.kind === "check" && selected.id === c.id;
1699
- $$renderer3.push(`<li><button type="button"${attr_class(`flex w-full items-baseline justify-between gap-3 px-3 py-2.5 text-left text-sm hover:bg-muted/60 ${on ? "bg-sea/10" : ""}`)}${attr("aria-current", on ? "true" : void 0)}><span${attr_class(`min-w-0 ${on ? "font-medium" : ""}`)}>${escape_html(c.label)}</span> <span class="text-xs text-muted-foreground">${escape_html(CHECK_WORDS[c.type]?.name ?? c.type)}${escape_html(c.mine ? "" : ", below")}</span></button></li>`);
1700
- }
1701
- $$renderer3.push(`<!--]--></ul>`);
1702
- } else {
1703
- $$renderer3.push(`<!--[-1--><p class="mt-1 text-sm text-muted-foreground">None yet. Choose a step and add a check to it.</p>`);
1704
- }
1705
- $$renderer3.push(`<!--]--></section></div> <div id="passage-detail" class="min-w-0 scroll-mt-20 rounded-xl border bg-card p-5 lg:p-6">`);
1706
- if (sel()) {
1707
- $$renderer3.push(`<!--[0--><!---->`);
1708
- {
1709
- StepForm($$renderer3, {
1710
- step: sel(),
1711
- entry: entry(),
1712
- declared: declared(),
1713
- refs: refs(),
1714
- evidence: evidence(),
1715
- links: allChecks(),
1716
- uses: usesOf(sel().id),
1717
- canUp: sel().added && selIndex() > 1,
1718
- canDown: sel().added && selIndex() < steps().length - 1,
1719
- onfield: stageField,
1720
- belowName: project() ? "the built-in passage" : "the repository file or the built-in passage",
1721
- onmove: (delta) => change((d) => moveStage(d, base(), sel().id, delta)),
1722
- onremove: removeStep,
1723
- onreset: resetStep,
1724
- onaddcheck: addCheck
1725
- });
1726
- }
1727
- $$renderer3.push(`<!---->`);
1728
- } else if (selCheck()) {
1729
- $$renderer3.push(`<!--[1--><!---->`);
1730
- {
1731
- CheckForm($$renderer3, {
1732
- checkId: selCheck().id,
1733
- spec: selCheck().mine ? fileChecks()[selCheck().id] : { type: selCheck().type, label: selCheck().label },
1734
- readonly: !selCheck().mine,
1735
- readonlyWhy: selCheck().mine ? null : "Declared in the project’s repository file; change it there.",
1736
- captain: !project(),
1737
- releaseChecks: allChecks().filter((c) => c.type === "github.release"),
1738
- usedBy: steps().filter((s) => usesOf(s.id).some((c) => c.id === selCheck().id)).map((s) => s.label),
1739
- onchange: (spec) => change((d) => setCheck(d, selCheck().id, spec)),
1740
- back: backTo && steps().some((s) => s.id === backTo) ? {
1741
- label: steps().find((s) => s.id === backTo).label,
1742
- go: () => pick("step", backTo)
1743
- } : null,
1744
- onremove: () => removeCheck(selCheck().id)
1745
- });
1746
- }
1747
- $$renderer3.push(`<!---->`);
1748
- } else {
1749
- $$renderer3.push(`<!--[-1--><div class="py-6 text-sm text-muted-foreground"><p>Choose a step or a check to edit it.</p> <p class="mt-1">Or add a step, such as a local deploy after the merge.</p></div>`);
1750
- }
1751
- $$renderer3.push(`<!--]--></div></div>`);
1752
- }
1753
- $$renderer3.push(`<!--]--> `);
1754
- ReviewDialog($$renderer3, {
1755
- before: editor.file.text,
1756
- after: text,
1757
- summary: reviewing ? summarize(editor.file.text, text, base()) : [],
1758
- target: editor.target,
1759
- defaultRef: editor.defaultRef,
1760
- busy: saving,
1761
- error: saveError,
1762
- onsave: save,
1763
- get open() {
1764
- return reviewing;
1765
- },
1766
- set open($$value) {
1767
- reviewing = $$value;
1768
- $$settled = false;
1769
- }
1770
- });
1771
- $$renderer3.push(`<!----> <p class="mt-8 text-xs text-muted-foreground">`);
1772
- if (project()) {
1773
- $$renderer3.push(`<!--[0-->Saving writes the file in the project’s repository; Wheelhouse uses it once it is on ${escape_html(branch())}.`);
1774
- } else {
1775
- $$renderer3.push(`<!--[-1-->Saving writes your own file for this project; Wheelhouse uses it within a minute.`);
1776
- }
1777
- $$renderer3.push(`<!--]--></p>`);
1778
- }
1779
- do {
1780
- $$settled = true;
1781
- $$inner_renderer = $$renderer2.copy();
1782
- $$render_inner($$inner_renderer);
1783
- } while (!$$settled);
1784
- $$renderer2.subsume($$inner_renderer);
1785
- });
1786
- }
1787
- function _page($$renderer, $$props) {
1788
- $$renderer.component(($$renderer2) => {
1789
- let { data } = $$props;
1790
- const id = derived(() => page.params.id);
1791
- const name = derived(() => currentFleet()?.projects.find((p) => p.id === id())?.name ?? id());
1792
- let saved = null;
1793
- let note = null;
1794
- const editor = derived(() => saved && saved.editor.target === data.editor?.target && saved.editor.projectId === id() ? saved.editor : data.editor);
1795
- const tasks = derived(() => saved && editor() === saved.editor ? saved.tasks : data.tasks);
1796
- const FILES = {
1797
- project: {
1798
- name: "Repository file",
1799
- line: "The project’s .wheelhouse.yaml, shared with everyone who works on the repository."
1800
- },
1801
- captain: {
1802
- name: "Your Wheelhouse config",
1803
- line: "Your own file for this project, outside the repository. It applies on top of the repository file."
1804
- }
1805
- };
1806
- head("txb91p", $$renderer2, ($$renderer3) => {
1807
- $$renderer3.title(($$renderer4) => {
1808
- $$renderer4.push(`<title>Edit ${escape_html(name())} passage · Wheelhouse</title>`);
1809
- });
1810
- });
1811
- $$renderer2.push(`<main class="px-4 pt-6 pb-24 sm:px-6 lg:px-10"><div class="surface px-5 py-6 sm:px-8 sm:py-8"><a${attr("href", `/projects/${stringify(encodeURIComponent(id()))}/passage`)} class="inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground">`);
1812
- Arrow_left($$renderer2, { class: "size-4", "aria-hidden": "true" });
1813
- $$renderer2.push(`<!---->${escape_html(name())} passage</a> `);
1814
- if (!editor()) {
1815
- $$renderer2.push(`<!--[0--><p class="mt-10 text-muted-foreground">${escape_html(data.problem ?? "Loading…")}</p>`);
1816
- } else {
1817
- $$renderer2.push(`<!--[-1--><p class="mt-6 text-sm text-muted-foreground">${escape_html(name())}</p> <h1 class="mt-1 text-2xl font-semibold tracking-tight">Edit passage</h1> <p class="mt-2 max-w-3xl leading-relaxed text-muted-foreground">Add, rename and reorder the steps this project’s tasks pass through, and the checks that
1818
- move them along. Test your edits on a real task before you save.</p> <div class="mt-6" role="radiogroup" aria-label="Which file to edit"><div class="flex flex-wrap gap-3"><!--[-->`);
1819
- const each_array = ensure_array_like(["project", "captain"]);
1820
- for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
1821
- let t = each_array[$$index];
1822
- const on = editor().target === t;
1823
- const ok = editor().targets[t].available;
1824
- $$renderer2.push(`<button type="button" role="radio"${attr("aria-checked", on)}${attr("disabled", !ok, true)}${attr_class(`w-full max-w-sm rounded-lg border px-4 py-3 text-left transition-colors sm:w-auto ${on ? "border-primary bg-card shadow-xs" : "border-border hover:bg-muted/60"} disabled:opacity-60`)}><span class="block text-sm font-medium">${escape_html(FILES[t].name)}</span> <span class="mt-0.5 block text-xs text-muted-foreground">${escape_html(ok ? FILES[t].line : editor().targets[t].why)}</span></button>`);
1825
- }
1826
- $$renderer2.push(`<!--]--></div> <p class="mt-3 max-w-3xl text-sm" data-file-state="">`);
1827
- if (editor().target === "project") {
1828
- $$renderer2.push("<!--[0-->");
1829
- if (!editor().file.exists) {
1830
- $$renderer2.push(`<!--[0-->There is no repository file yet; saving creates one.`);
1831
- } else if (editor().inEffect) {
1832
- $$renderer2.push(`<!--[1--><span class="text-success">This is the version Wheelhouse uses now.</span>`);
1833
- } else {
1834
- $$renderer2.push(`<!--[-1--><span class="text-warning">This version is saved in the clone but not yet on ${escape_html(editor().defaultRef?.replace(/^origin\//, "") ?? "the default branch")}, so Wheelhouse does not use it yet.</span> <a class="ml-1 text-sea hover:underline"${attr("href", `/?draft=${stringify(encodeURIComponent(shipPassageDraft(name())))}`)}>Ask Firstmate to ship it</a>`);
1835
- }
1836
- $$renderer2.push(`<!--]-->`);
1837
- } else if (!editor().file.exists) {
1838
- $$renderer2.push(`<!--[1-->You have no config for this project yet; saving creates it.`);
1839
- } else if (editor().inEffect) {
1840
- $$renderer2.push(`<!--[2--><span class="text-success">In use.</span>`);
1841
- } else {
1842
- $$renderer2.push(`<!--[-1--><span class="text-danger">Not in use: it has problems.</span>`);
1843
- }
1844
- $$renderer2.push(`<!--]--></p> `);
1845
- if (editor().file.location) {
1846
- $$renderer2.push(`<!--[0--><details class="mt-1 text-xs text-muted-foreground"><summary class="cursor-pointer">Where the file is</summary> <p class="mt-1 font-mono break-all">${escape_html(editor().file.location)}</p></details>`);
1847
- } else {
1848
- $$renderer2.push("<!--[-1-->");
1849
- }
1850
- $$renderer2.push(`<!--]--> `);
1851
- if (editor().file.problem) {
1852
- $$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-danger">${escape_html(editor().file.problem)}</p>`);
1853
- } else {
1854
- $$renderer2.push("<!--[-1-->");
1855
- }
1856
- $$renderer2.push(`<!--]--> `);
1857
- if (note) {
1858
- $$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-success" role="status">${escape_html(note)}</p>`);
1859
- } else {
1860
- $$renderer2.push("<!--[-1-->");
1861
- }
1862
- $$renderer2.push(`<!--]--></div> <!---->`);
1863
- {
1864
- PassageEditor($$renderer2, {
1865
- editor: editor(),
1866
- tasks: tasks(),
1867
- onsaved: (e, t) => {
1868
- saved = { editor: e, tasks: t };
1869
- note = e.target === "project" ? `Saved to the repository file. Wheelhouse uses it once it is on ${e.defaultRef?.replace(/^origin\//, "") ?? "the default branch"}.` : "Saved to your config. Wheelhouse uses it within a minute.";
1870
- }
1871
- });
1872
- }
1873
- $$renderer2.push(`<!---->`);
1874
- }
1875
- $$renderer2.push(`<!--]--></div></main>`);
1876
- });
1877
- }
1878
-
1879
- export { _page as default };
1880
- //# sourceMappingURL=_page.svelte.js-mtGQO-dJ.js.map