@chrisjowen/wheelhouse 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/README.md +3 -3
  2. package/build/client/_app/immutable/assets/0.CxNAeXUL.css +1 -0
  3. package/build/client/_app/immutable/assets/0.CxNAeXUL.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.CxNAeXUL.css.gz +0 -0
  5. package/build/client/_app/immutable/assets/{DocSheet.CaO2v_qh.css → DocSheet.CgzYidp-.css} +1 -1
  6. package/build/client/_app/immutable/assets/{DocSheet.CaO2v_qh.css.br → DocSheet.CgzYidp-.css.br} +0 -0
  7. package/build/client/_app/immutable/assets/DocSheet.CgzYidp-.css.gz +0 -0
  8. package/build/client/_app/immutable/assets/dm-sans-latin-ext-wght-italic.DUE6_iCb.woff2 +0 -0
  9. package/build/client/_app/immutable/assets/dm-sans-latin-ext-wght-normal.BOFOeGcA.woff2 +0 -0
  10. package/build/client/_app/immutable/assets/dm-sans-latin-wght-italic.Cz4n9dED.woff2 +0 -0
  11. package/build/client/_app/immutable/assets/dm-sans-latin-wght-normal.Xz1IZZA0.woff2 +0 -0
  12. package/build/client/_app/immutable/assets/instrument-serif-latin-400-italic.DKMiL14s.woff2 +0 -0
  13. package/build/client/_app/immutable/assets/instrument-serif-latin-400-italic.u__WvvIK.woff +0 -0
  14. package/build/client/_app/immutable/assets/instrument-serif-latin-400-normal.BVbkICAY.woff +0 -0
  15. package/build/client/_app/immutable/assets/instrument-serif-latin-400-normal.DnYpCC2O.woff2 +0 -0
  16. package/build/client/_app/immutable/assets/instrument-serif-latin-ext-400-italic.C9HzH3YL.woff2 +0 -0
  17. package/build/client/_app/immutable/assets/instrument-serif-latin-ext-400-italic.D7-lnxEk.woff +0 -0
  18. package/build/client/_app/immutable/assets/instrument-serif-latin-ext-400-normal.C2je3j2s.woff2 +0 -0
  19. package/build/client/_app/immutable/assets/instrument-serif-latin-ext-400-normal.CFCUzsTy.woff +0 -0
  20. package/build/client/_app/immutable/chunks/{DXt4vIK0.js → B2ctrXx5.js} +1 -1
  21. package/build/client/_app/immutable/chunks/B2ctrXx5.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/B2ctrXx5.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/{D5M74L1e.js → BBLx2oxZ.js} +2 -2
  24. package/build/client/_app/immutable/chunks/BBLx2oxZ.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/BBLx2oxZ.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/{8WOVm7DO.js → BHVTrNhR.js} +1 -1
  27. package/build/client/_app/immutable/chunks/BHVTrNhR.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/BHVTrNhR.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/{Byamhp7O.js → Bl1tMgf8.js} +1 -1
  30. package/build/client/_app/immutable/chunks/Bl1tMgf8.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/Bl1tMgf8.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/{8xWr9jxY.js → Cbmz3nkf.js} +1 -1
  33. package/build/client/_app/immutable/chunks/Cbmz3nkf.js.br +2 -0
  34. package/build/client/_app/immutable/chunks/Cbmz3nkf.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/{C6yJKLJE.js → Cio5-ROX.js} +1 -1
  36. package/build/client/_app/immutable/chunks/Cio5-ROX.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/Cio5-ROX.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/{BqqZcEbm.js → DQEmyAe4.js} +1 -1
  39. package/build/client/_app/immutable/chunks/DQEmyAe4.js.br +2 -0
  40. package/build/client/_app/immutable/chunks/DQEmyAe4.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/{DB2Frr3y.js → DdB79emW.js} +1 -1
  42. package/build/client/_app/immutable/chunks/DdB79emW.js.br +0 -0
  43. package/build/client/_app/immutable/chunks/DdB79emW.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/{BW_FwdyU.js → Dj3Af0xC.js} +1 -1
  45. package/build/client/_app/immutable/chunks/Dj3Af0xC.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/Dj3Af0xC.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/{D_nVtLM5.js → DpSftVJo.js} +1 -1
  48. package/build/client/_app/immutable/chunks/DpSftVJo.js.br +0 -0
  49. package/build/client/_app/immutable/chunks/DpSftVJo.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/{IQRNVWsw.js → M3zsQDnS.js} +1 -1
  51. package/build/client/_app/immutable/chunks/M3zsQDnS.js.br +0 -0
  52. package/build/client/_app/immutable/chunks/M3zsQDnS.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/{OermLIIb.js → QzT8bZ-S.js} +2 -2
  54. package/build/client/_app/immutable/chunks/QzT8bZ-S.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/QzT8bZ-S.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/{DHMHvrUA.js → Y3i_x_Ja.js} +1 -1
  57. package/build/client/_app/immutable/chunks/Y3i_x_Ja.js.br +0 -0
  58. package/build/client/_app/immutable/chunks/Y3i_x_Ja.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/dKB0cWc2.js +6 -0
  60. package/build/client/_app/immutable/chunks/dKB0cWc2.js.br +0 -0
  61. package/build/client/_app/immutable/chunks/dKB0cWc2.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/dPAGVN7v.js +6 -0
  63. package/build/client/_app/immutable/chunks/dPAGVN7v.js.br +0 -0
  64. package/build/client/_app/immutable/chunks/dPAGVN7v.js.gz +0 -0
  65. package/build/client/_app/immutable/chunks/{BunvDGPC.js → dxi_erj0.js} +1 -1
  66. package/build/client/_app/immutable/chunks/dxi_erj0.js.br +0 -0
  67. package/build/client/_app/immutable/chunks/dxi_erj0.js.gz +0 -0
  68. package/build/client/_app/immutable/chunks/ohZIF1HO.js +5 -0
  69. package/build/client/_app/immutable/chunks/ohZIF1HO.js.br +0 -0
  70. package/build/client/_app/immutable/chunks/ohZIF1HO.js.gz +0 -0
  71. package/build/client/_app/immutable/entry/{app.CL8a8HZ0.js → app.BLMRuJuW.js} +2 -2
  72. package/build/client/_app/immutable/entry/app.BLMRuJuW.js.br +0 -0
  73. package/build/client/_app/immutable/entry/app.BLMRuJuW.js.gz +0 -0
  74. package/build/client/_app/immutable/entry/start.C5t0JfpX.js +1 -0
  75. package/build/client/_app/immutable/entry/start.C5t0JfpX.js.br +0 -0
  76. package/build/client/_app/immutable/entry/start.C5t0JfpX.js.gz +0 -0
  77. package/build/client/_app/immutable/nodes/0.x0mKzYMw.js +8 -0
  78. package/build/client/_app/immutable/nodes/0.x0mKzYMw.js.br +0 -0
  79. package/build/client/_app/immutable/nodes/0.x0mKzYMw.js.gz +0 -0
  80. package/build/client/_app/immutable/nodes/{1.BRLMR7fm.js → 1.DQwKSgDw.js} +1 -1
  81. package/build/client/_app/immutable/nodes/1.DQwKSgDw.js.br +0 -0
  82. package/build/client/_app/immutable/nodes/1.DQwKSgDw.js.gz +0 -0
  83. package/build/client/_app/immutable/nodes/{10.Ctk2N--v.js → 10.Bmz2aEu9.js} +1 -1
  84. package/build/client/_app/immutable/nodes/10.Bmz2aEu9.js.br +0 -0
  85. package/build/client/_app/immutable/nodes/10.Bmz2aEu9.js.gz +0 -0
  86. package/build/client/_app/immutable/nodes/{11.DzDPmeKc.js → 11.Dsw17idi.js} +1 -1
  87. package/build/client/_app/immutable/nodes/11.Dsw17idi.js.br +0 -0
  88. package/build/client/_app/immutable/nodes/11.Dsw17idi.js.gz +0 -0
  89. package/build/client/_app/immutable/nodes/{12.BUO7L3_c.js → 12.BCfbyZHF.js} +1 -1
  90. package/build/client/_app/immutable/nodes/12.BCfbyZHF.js.br +0 -0
  91. package/build/client/_app/immutable/nodes/12.BCfbyZHF.js.gz +0 -0
  92. package/build/client/_app/immutable/nodes/{13.sQe1BX9E.js → 13.BF70RcBN.js} +1 -1
  93. package/build/client/_app/immutable/nodes/13.BF70RcBN.js.br +0 -0
  94. package/build/client/_app/immutable/nodes/13.BF70RcBN.js.gz +0 -0
  95. package/build/client/_app/immutable/nodes/{14.C6lWut9y.js → 14.DUa-e6bC.js} +1 -1
  96. package/build/client/_app/immutable/nodes/14.DUa-e6bC.js.br +0 -0
  97. package/build/client/_app/immutable/nodes/14.DUa-e6bC.js.gz +0 -0
  98. package/build/client/_app/immutable/nodes/{16.B9dAe-zO.js → 16.DV4CIsXI.js} +1 -1
  99. package/build/client/_app/immutable/nodes/16.DV4CIsXI.js.br +0 -0
  100. package/build/client/_app/immutable/nodes/16.DV4CIsXI.js.gz +0 -0
  101. package/build/client/_app/immutable/nodes/{17.BjYq-nHX.js → 17.BFAervXe.js} +1 -1
  102. package/build/client/_app/immutable/nodes/17.BFAervXe.js.br +0 -0
  103. package/build/client/_app/immutable/nodes/17.BFAervXe.js.gz +0 -0
  104. package/build/client/_app/immutable/nodes/{18.C7MQG7kY.js → 18.cqwxGV--.js} +1 -1
  105. package/build/client/_app/immutable/nodes/18.cqwxGV--.js.br +0 -0
  106. package/build/client/_app/immutable/nodes/18.cqwxGV--.js.gz +0 -0
  107. package/build/client/_app/immutable/nodes/{19.CGPxCxa4.js → 19.W4wKGIwz.js} +3 -3
  108. package/build/client/_app/immutable/nodes/19.W4wKGIwz.js.br +0 -0
  109. package/build/client/_app/immutable/nodes/19.W4wKGIwz.js.gz +0 -0
  110. package/build/client/_app/immutable/nodes/2.DNWuY54S.js +27 -0
  111. package/build/client/_app/immutable/nodes/2.DNWuY54S.js.br +0 -0
  112. package/build/client/_app/immutable/nodes/2.DNWuY54S.js.gz +0 -0
  113. package/build/client/_app/immutable/nodes/{20.UmQnK0mP.js → 20.Bw-IUju8.js} +1 -1
  114. package/build/client/_app/immutable/nodes/20.Bw-IUju8.js.br +0 -0
  115. package/build/client/_app/immutable/nodes/20.Bw-IUju8.js.gz +0 -0
  116. package/build/client/_app/immutable/nodes/{21.kMxNjh5n.js → 21.DNFvLLcD.js} +1 -1
  117. package/build/client/_app/immutable/nodes/21.DNFvLLcD.js.br +0 -0
  118. package/build/client/_app/immutable/nodes/21.DNFvLLcD.js.gz +0 -0
  119. package/build/client/_app/immutable/nodes/{3.HvyFWmuR.js → 3.COF537Bh.js} +1 -1
  120. package/build/client/_app/immutable/nodes/3.COF537Bh.js.br +0 -0
  121. package/build/client/_app/immutable/nodes/3.COF537Bh.js.gz +0 -0
  122. package/build/client/_app/immutable/nodes/{4.cOsP7AQT.js → 4.C69OFBsR.js} +1 -1
  123. package/build/client/_app/immutable/nodes/4.C69OFBsR.js.br +0 -0
  124. package/build/client/_app/immutable/nodes/4.C69OFBsR.js.gz +0 -0
  125. package/build/client/_app/immutable/nodes/{5.WTA0USqX.js → 5.BAZlH_fP.js} +1 -1
  126. package/build/client/_app/immutable/nodes/5.BAZlH_fP.js.br +0 -0
  127. package/build/client/_app/immutable/nodes/5.BAZlH_fP.js.gz +0 -0
  128. package/build/client/_app/immutable/nodes/{6.DVgxxTkD.js → 6.BsosOtvd.js} +1 -1
  129. package/build/client/_app/immutable/nodes/6.BsosOtvd.js.br +0 -0
  130. package/build/client/_app/immutable/nodes/6.BsosOtvd.js.gz +0 -0
  131. package/build/client/_app/immutable/nodes/{7.Djk2ljG8.js → 7.DnZ-8ovs.js} +1 -1
  132. package/build/client/_app/immutable/nodes/7.DnZ-8ovs.js.br +0 -0
  133. package/build/client/_app/immutable/nodes/7.DnZ-8ovs.js.gz +0 -0
  134. package/build/client/_app/immutable/nodes/{9.C0za5N1P.js → 9.BzSWG3R8.js} +1 -1
  135. package/build/client/_app/immutable/nodes/9.BzSWG3R8.js.br +0 -0
  136. package/build/client/_app/immutable/nodes/9.BzSWG3R8.js.gz +0 -0
  137. package/build/client/_app/version.json +1 -1
  138. package/build/client/_app/version.json.br +0 -0
  139. package/build/client/_app/version.json.gz +0 -0
  140. package/build/handler.js +4 -4
  141. package/build/index.js +4 -4
  142. package/build/server/chunks/chunks/{DecisionCard.js-CXR2Tqq9.js → DecisionCard.js-DaA8DYYg.js} +2 -2
  143. package/build/server/chunks/chunks/{OpenDecision.js-ogSBclda.js → OpenDecision.js-CYba2eq3.js} +24 -6
  144. package/build/server/chunks/chunks/{TaskOverview.js-BLbSjSGh.js → TaskOverview.js-sfLDib9-.js} +3 -3
  145. package/build/server/chunks/chunks/{topics.js-CPoxwdi2.js → bridge.js-Cm-aK0Fl.js} +44 -2
  146. package/build/server/chunks/chunks/{detail.js-DmSONkJE.js → detail.js-B8abhi3a.js} +2 -2
  147. package/build/server/chunks/chunks/{feedback.js-yXFmBh67.js → feedback.js-Jpl8v6Mu.js} +2 -2
  148. package/build/server/chunks/chunks/{internal.js-wAeB3IT1.js → internal.js-bN02E8b0.js} +3 -3
  149. package/build/server/chunks/chunks/{previewhelper2.js-DH3wSLnQ.js → previewhelper2.js-Fr7JXr0X.js} +2 -2
  150. package/build/server/chunks/chunks/{repo.js-CeNEGGXM.js → repo.js-D4m77kW0.js} +2 -2
  151. package/build/server/chunks/chunks/{runtime.js-CpuENBbt.js → runtime.js-BGOuM-Hy.js} +2 -2
  152. package/build/server/chunks/chunks/{service.js-CxgO_lGX.js → service.js-CzSbBjc3.js} +2 -2
  153. package/build/server/chunks/chunks/{view.js-I8j3JaZ5.js → view.js-CeInAMHW.js} +2 -2
  154. package/build/server/chunks/entries/endpoints/api/apps/_op_/{_server.ts.js-tV5UVoX_.js → _server.ts.js-smS4TCrQ.js} +2 -2
  155. package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-Bqe7aUbi.js → _server.ts.js-Bqh9AFl3.js} +2 -2
  156. package/build/server/chunks/entries/endpoints/api/files/{_server.ts.js-DfpyY_Bq.js → _server.ts.js-BM0ps5lk.js} +2 -2
  157. package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-CN8b5ccO.js → _server.ts.js-Cm2ckYW2.js} +2 -2
  158. package/build/server/chunks/entries/endpoints/api/firstmate/commands/{_server.ts.js-CqcpAXMO.js → _server.ts.js-DZCnbYId.js} +2 -2
  159. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/{_server.ts.js-BMv_VOat.js → _server.ts.js-B5fpHEKR.js} +2 -2
  160. package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js-DX45ccQL.js → _server.ts.js-eq3GdIy6.js} +2 -2
  161. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-DPfYkpxV.js → _server.ts.js-CvXW4Pgj.js} +2 -2
  162. package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-DwrpzrvE.js → _server.ts.js-Ck9lsiPW.js} +2 -2
  163. package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-BLyU7Xmy.js → _server.ts.js-S2cNDAv_.js} +2 -2
  164. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/{_server.ts.js-CwCkNQH1.js → _server.ts.js-Dp5sUKpf.js} +2 -2
  165. package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-QgfVKhEv.js → _server.ts.js-BRyx-SLk.js} +2 -2
  166. package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-Dluitk4S.js → _server.ts.js-DbOj2r3G.js} +2 -2
  167. package/build/server/chunks/entries/endpoints/api/gateway/{_server.ts.js-DBrzK7aF.js → _server.ts.js-CqNT7hdk.js} +2 -2
  168. package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-BPOs6Ua5.js → _server.ts.js-s9ct1YaL.js} +2 -2
  169. package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-CXR8ln41.js → _server.ts.js-CCbenPIy.js} +2 -2
  170. package/build/server/chunks/entries/endpoints/api/inbox/report/{_server.ts.js-fMts5LEq.js → _server.ts.js-YkdQuW03.js} +2 -2
  171. package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js-CgoR3ZaT.js → _server.ts.js-jMIRKXVy.js} +2 -2
  172. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/{_server.ts.js-DN0zHwSr.js → _server.ts.js-CRz5ap0Z.js} +2 -2
  173. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/{_server.ts.js-DawD1VtO.js → _server.ts.js-BUreXPtQ.js} +3 -3
  174. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/{_server.ts.js-C8jp0FUx.js → _server.ts.js-aLsUJ-HL.js} +4 -4
  175. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/{_server.ts.js-jSPhFhMn.js → _server.ts.js-BQxGrtDq.js} +2 -2
  176. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/{_server.ts.js-CDslqmcw.js → _server.ts.js-DVwdrfyP.js} +2 -2
  177. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/{_server.ts.js-BJawocE3.js → _server.ts.js-fWXa1T6O.js} +2 -2
  178. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/{_server.ts.js-Be2NAmCy.js → _server.ts.js-GzkA-eH4.js} +2 -2
  179. package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-C-avUWCg.js → _server.ts.js-Du31g-KO.js} +2 -2
  180. package/build/server/chunks/entries/endpoints/api/plugins/inspect/{_server.ts.js-DKAa2Uxw.js → _server.ts.js-CQYj1ZuS.js} +2 -2
  181. package/build/server/chunks/entries/endpoints/api/plugins/install/{_server.ts.js-CotqjP2F.js → _server.ts.js-D6Nprf6i.js} +2 -2
  182. package/build/server/chunks/entries/endpoints/api/plugins/updates/{_server.ts.js-DCvVjqLZ.js → _server.ts.js-DjQvcvOx.js} +2 -2
  183. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-CpZ1W-A7.js → _server.ts.js-DcwsTmlB.js} +3 -3
  184. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-Cp8plIYs.js → _server.ts.js-CGPbXNqf.js} +3 -3
  185. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-Dak56Rg1.js → _server.ts.js-CawLRyKI.js} +3 -3
  186. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-WZe9B5X3.js → _server.ts.js-Cl8Xr77g.js} +3 -3
  187. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-U5nJ9f0g.js → _server.ts.js-B3vEVTxZ.js} +3 -3
  188. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-30yUhJz3.js → _server.ts.js-iToq6YEa.js} +3 -3
  189. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/{_server.ts.js-tg4vTM3A.js → _server.ts.js-CwWCiOV_.js} +2 -2
  190. package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-BsJnf3m0.js → _server.ts.js-DW8K_vnR.js} +2 -2
  191. package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-D-Wnq4C0.js → _server.ts.js-jQeee3c3.js} +2 -2
  192. package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-De9Q8wd8.js → _server.ts.js-DjmH3APN.js} +3 -3
  193. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-BqscYuWP.js → _server.ts.js-BKBTwHdx.js} +2 -2
  194. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-Do8o7_-0.js → _server.ts.js-Dps2HZrT.js} +2 -2
  195. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-gaLKbuL7.js → _server.ts.js-CLrEK2JB.js} +2 -2
  196. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-wcXCXMkT.js → _server.ts.js-Dajmg1QT.js} +2 -2
  197. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/{_server.ts.js-kzTN6YxA.js → _server.ts.js-DzbKvWf4.js} +3 -3
  198. package/build/server/chunks/entries/endpoints/api/vault/{_server.ts.js-DJiB_mf7.js → _server.ts.js-lrCSZ8vJ.js} +2 -2
  199. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/{_server.ts.js-BjJU6JWj.js → _server.ts.js--J2luqpT.js} +2 -2
  200. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/{_server.ts.js-l3foNNok.js → _server.ts.js-D6jJ1Rr_.js} +2 -2
  201. package/build/server/chunks/entries/endpoints/tasks/_id_/review/{_server.ts.js-DsxJ0us4.js → _server.ts.js-DFiNNdmX.js} +2 -2
  202. package/build/server/chunks/entries/{hooks.server.js-B6m3Dpkx.js → hooks.server.js-BbTmH2JU.js} +2 -2
  203. package/build/server/chunks/entries/pages/{_layout.server.ts.js-CrW4p_Q2.js → _layout.server.ts.js-DTaBhixQ.js} +2 -2
  204. package/build/server/chunks/entries/pages/{_layout.svelte.js-LKAACh49.js → _layout.svelte.js-BNA76gGJ.js} +100 -24
  205. package/build/server/chunks/entries/pages/{_page.server.ts.js-CF_c0nNn.js → _page.server.ts.js-BjKksIBz.js} +2 -2
  206. package/build/server/chunks/entries/pages/{_page.svelte.js-DhcYaGNL.js → _page.svelte.js-Bgw0FiJG.js} +112 -82
  207. package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-B7uZVbX4.js → _page.server.ts.js-Cr6eZ4p-.js} +2 -2
  208. package/build/server/chunks/entries/pages/files/{_page.server.ts.js-C9YB1gJL.js → _page.server.ts.js-CA3bfaLe.js} +2 -2
  209. package/build/server/chunks/entries/pages/harbour/{_page.server.ts.js-BfPMxhei.js → _page.server.ts.js-CGhoI6xu.js} +2 -2
  210. package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-D1wZDsVf.js → _page.server.ts.js-BRadjeWP.js} +2 -2
  211. package/build/server/chunks/entries/pages/inbox/{_page.server.ts.js-woHdHibC.js → _page.server.ts.js-CB7PXBV1.js} +2 -2
  212. package/build/server/chunks/entries/pages/inbox/{_page.svelte.js-BffukCNo.js → _page.svelte.js-BLRcCY5u.js} +2 -2
  213. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-XcXW0Uve.js → _page.server.ts.js-C9J9SfdQ.js} +2 -2
  214. package/build/server/chunks/entries/pages/projects/_id_/{_page.server.ts.js-wLr_tgjL.js → _page.server.ts.js-nOOV1sAH.js} +3 -3
  215. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-DMOW6iPG.js → _page.server.ts.js-BpSFvmgx.js} +3 -3
  216. package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-BJZyFsqL.js → _page.server.ts.js-08qgrWt_.js} +4 -4
  217. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-DB_UVBbI.js → _page.server.ts.js-Waknjiof.js} +2 -2
  218. package/build/server/chunks/entries/pages/settings/gateway/{_page.server.ts.js-DfWW-CQh.js → _page.server.ts.js-D_-2Bk-X.js} +2 -2
  219. package/build/server/chunks/entries/pages/settings/plugins/{_page.server.ts.js-CshPvaAs.js → _page.server.ts.js-Hls8GEh4.js} +2 -2
  220. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/{_page.server.ts.js-9JK7K_z9.js → _page.server.ts.js-jKmK8VbO.js} +2 -2
  221. package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-Cvp9xMG4.js → _page.server.ts.js-BZMRfS-l.js} +3 -3
  222. package/build/server/chunks/entries/pages/tasks/_id_/{_page.svelte.js-ChQv02MF.js → _page.svelte.js-BYcqWFD7.js} +8 -8
  223. package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-C1DtiAVs.js → _page.server.ts.js-CGiroJqZ.js} +2 -2
  224. package/build/server/chunks/entries/pages/time/{_page.server.ts.js-DlJqn5ve.js → _page.server.ts.js-exp39MHH.js} +2 -2
  225. package/build/server/chunks/{handler-Bs_CCC30.js → handler-CwbFN6sE.js} +3 -3
  226. package/build/server/chunks/{index.js-Cs5HOQvf.js → index.js-CqvbtJcl.js} +2 -2
  227. package/build/server/chunks/{manifest.js-BDRywlKi.js → manifest.js-DBKpxwtf.js} +70 -70
  228. package/build/server/chunks/nodes/{0.js-CsWq-jPD.js → 0.js-CzHBL2FE.js} +7 -7
  229. package/build/server/chunks/nodes/{1.js-CTC_MshV.js → 1.js-DttsMtH5.js} +2 -2
  230. package/build/server/chunks/nodes/{10.js-CZq28G3f.js → 10.js-DS6-8M5v.js} +5 -5
  231. package/build/server/chunks/nodes/{11.js-BtlSUZdl.js → 11.js-UkJPwg90.js} +5 -5
  232. package/build/server/chunks/nodes/{12.js-D0o_nkGH.js → 12.js-Bttwc2Gj.js} +6 -6
  233. package/build/server/chunks/nodes/{13.js-BIIG5wG0.js → 13.js-DN0IvWCs.js} +5 -5
  234. package/build/server/chunks/nodes/{14.js-B3MoJ0Ck.js → 14.js-BPrf4PxP.js} +2 -2
  235. package/build/server/chunks/nodes/{16.js-DL5dm8m7.js → 16.js-MQWaFHIA.js} +4 -4
  236. package/build/server/chunks/nodes/{17.js-BItMe09V.js → 17.js-BqQwHV4F.js} +4 -4
  237. package/build/server/chunks/nodes/{18.js-BqNFJ6VI.js → 18.js-CpKFgiup.js} +4 -4
  238. package/build/server/chunks/nodes/{19.js-DWlhtpN2.js → 19.js-CCrOg127.js} +6 -6
  239. package/build/server/chunks/nodes/{2.js-Biys3XVB.js → 2.js-FPoIQ4QE.js} +5 -5
  240. package/build/server/chunks/nodes/{20.js-tYMJBMgr.js → 20.js-B5Fv-_hl.js} +6 -6
  241. package/build/server/chunks/nodes/{21.js-DB94vZQt.js → 21.js-DIqkKAtP.js} +4 -4
  242. package/build/server/chunks/nodes/{3.js-CsnKNLDN.js → 3.js-BBLaot9F.js} +4 -4
  243. package/build/server/chunks/nodes/{4.js-l8re1d64.js → 4.js-cmSXc6Wt.js} +5 -5
  244. package/build/server/chunks/nodes/{5.js-B0eRP6zR.js → 5.js-CxQRjV9G.js} +4 -4
  245. package/build/server/chunks/nodes/{6.js-BWv2xVyz.js → 6.js-4fNyzqc9.js} +4 -4
  246. package/build/server/chunks/nodes/{7.js-C4YSw2xL.js → 7.js-D_kCF7ql.js} +5 -5
  247. package/build/server/chunks/nodes/{9.js-CWW789qH.js → 9.js-Dl3MVT1-.js} +4 -4
  248. package/dist/cli.js +1 -1
  249. package/dist/wh-vault.js +1 -1
  250. package/package.json +3 -2
  251. package/build/client/_app/immutable/assets/0.BUKP25sU.css +0 -1
  252. package/build/client/_app/immutable/assets/0.BUKP25sU.css.br +0 -0
  253. package/build/client/_app/immutable/assets/0.BUKP25sU.css.gz +0 -0
  254. package/build/client/_app/immutable/assets/DocSheet.CaO2v_qh.css.gz +0 -0
  255. package/build/client/_app/immutable/assets/inter-cyrillic-ext-wght-italic.B5xAaiFk.woff2 +0 -0
  256. package/build/client/_app/immutable/assets/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
  257. package/build/client/_app/immutable/assets/inter-cyrillic-wght-italic.DzZdc28x.woff2 +0 -0
  258. package/build/client/_app/immutable/assets/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
  259. package/build/client/_app/immutable/assets/inter-greek-ext-wght-italic.DcOpz6Lw.woff2 +0 -0
  260. package/build/client/_app/immutable/assets/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
  261. package/build/client/_app/immutable/assets/inter-greek-wght-italic.CILZdfAp.woff2 +0 -0
  262. package/build/client/_app/immutable/assets/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
  263. package/build/client/_app/immutable/assets/inter-latin-ext-wght-italic.0pjOp8NU.woff2 +0 -0
  264. package/build/client/_app/immutable/assets/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
  265. package/build/client/_app/immutable/assets/inter-latin-wght-italic.DpCbqKDY.woff2 +0 -0
  266. package/build/client/_app/immutable/assets/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
  267. package/build/client/_app/immutable/assets/inter-vietnamese-wght-italic.K3WlGtc8.woff2 +0 -0
  268. package/build/client/_app/immutable/assets/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
  269. package/build/client/_app/immutable/chunks/8WOVm7DO.js.br +0 -0
  270. package/build/client/_app/immutable/chunks/8WOVm7DO.js.gz +0 -0
  271. package/build/client/_app/immutable/chunks/8xWr9jxY.js.br +0 -0
  272. package/build/client/_app/immutable/chunks/8xWr9jxY.js.gz +0 -0
  273. package/build/client/_app/immutable/chunks/BW_FwdyU.js.br +0 -0
  274. package/build/client/_app/immutable/chunks/BW_FwdyU.js.gz +0 -0
  275. package/build/client/_app/immutable/chunks/BXk5dy03.js +0 -5
  276. package/build/client/_app/immutable/chunks/BXk5dy03.js.br +0 -0
  277. package/build/client/_app/immutable/chunks/BXk5dy03.js.gz +0 -0
  278. package/build/client/_app/immutable/chunks/BqqZcEbm.js.br +0 -2
  279. package/build/client/_app/immutable/chunks/BqqZcEbm.js.gz +0 -0
  280. package/build/client/_app/immutable/chunks/BunvDGPC.js.br +0 -0
  281. package/build/client/_app/immutable/chunks/BunvDGPC.js.gz +0 -0
  282. package/build/client/_app/immutable/chunks/Byamhp7O.js.br +0 -0
  283. package/build/client/_app/immutable/chunks/Byamhp7O.js.gz +0 -0
  284. package/build/client/_app/immutable/chunks/C6yJKLJE.js.br +0 -0
  285. package/build/client/_app/immutable/chunks/C6yJKLJE.js.gz +0 -0
  286. package/build/client/_app/immutable/chunks/CMFVi0Kq.js +0 -6
  287. package/build/client/_app/immutable/chunks/CMFVi0Kq.js.br +0 -0
  288. package/build/client/_app/immutable/chunks/CMFVi0Kq.js.gz +0 -0
  289. package/build/client/_app/immutable/chunks/D5M74L1e.js.br +0 -0
  290. package/build/client/_app/immutable/chunks/D5M74L1e.js.gz +0 -0
  291. package/build/client/_app/immutable/chunks/DB2Frr3y.js.br +0 -0
  292. package/build/client/_app/immutable/chunks/DB2Frr3y.js.gz +0 -0
  293. package/build/client/_app/immutable/chunks/DHMHvrUA.js.br +0 -0
  294. package/build/client/_app/immutable/chunks/DHMHvrUA.js.gz +0 -0
  295. package/build/client/_app/immutable/chunks/DXt4vIK0.js.br +0 -0
  296. package/build/client/_app/immutable/chunks/DXt4vIK0.js.gz +0 -0
  297. package/build/client/_app/immutable/chunks/D_nVtLM5.js.br +0 -0
  298. package/build/client/_app/immutable/chunks/D_nVtLM5.js.gz +0 -0
  299. package/build/client/_app/immutable/chunks/IQRNVWsw.js.br +0 -0
  300. package/build/client/_app/immutable/chunks/IQRNVWsw.js.gz +0 -0
  301. package/build/client/_app/immutable/chunks/KWgz7qtz.js +0 -6
  302. package/build/client/_app/immutable/chunks/KWgz7qtz.js.br +0 -0
  303. package/build/client/_app/immutable/chunks/KWgz7qtz.js.gz +0 -0
  304. package/build/client/_app/immutable/chunks/OermLIIb.js.br +0 -0
  305. package/build/client/_app/immutable/chunks/OermLIIb.js.gz +0 -0
  306. package/build/client/_app/immutable/entry/app.CL8a8HZ0.js.br +0 -0
  307. package/build/client/_app/immutable/entry/app.CL8a8HZ0.js.gz +0 -0
  308. package/build/client/_app/immutable/entry/start.DY5Zh3I7.js +0 -1
  309. package/build/client/_app/immutable/entry/start.DY5Zh3I7.js.br +0 -0
  310. package/build/client/_app/immutable/entry/start.DY5Zh3I7.js.gz +0 -0
  311. package/build/client/_app/immutable/nodes/0.Bmtc68EX.js +0 -8
  312. package/build/client/_app/immutable/nodes/0.Bmtc68EX.js.br +0 -0
  313. package/build/client/_app/immutable/nodes/0.Bmtc68EX.js.gz +0 -0
  314. package/build/client/_app/immutable/nodes/1.BRLMR7fm.js.br +0 -0
  315. package/build/client/_app/immutable/nodes/1.BRLMR7fm.js.gz +0 -0
  316. package/build/client/_app/immutable/nodes/10.Ctk2N--v.js.br +0 -0
  317. package/build/client/_app/immutable/nodes/10.Ctk2N--v.js.gz +0 -0
  318. package/build/client/_app/immutable/nodes/11.DzDPmeKc.js.br +0 -0
  319. package/build/client/_app/immutable/nodes/11.DzDPmeKc.js.gz +0 -0
  320. package/build/client/_app/immutable/nodes/12.BUO7L3_c.js.br +0 -0
  321. package/build/client/_app/immutable/nodes/12.BUO7L3_c.js.gz +0 -0
  322. package/build/client/_app/immutable/nodes/13.sQe1BX9E.js.br +0 -0
  323. package/build/client/_app/immutable/nodes/13.sQe1BX9E.js.gz +0 -0
  324. package/build/client/_app/immutable/nodes/14.C6lWut9y.js.br +0 -0
  325. package/build/client/_app/immutable/nodes/14.C6lWut9y.js.gz +0 -0
  326. package/build/client/_app/immutable/nodes/16.B9dAe-zO.js.br +0 -0
  327. package/build/client/_app/immutable/nodes/16.B9dAe-zO.js.gz +0 -0
  328. package/build/client/_app/immutable/nodes/17.BjYq-nHX.js.br +0 -0
  329. package/build/client/_app/immutable/nodes/17.BjYq-nHX.js.gz +0 -0
  330. package/build/client/_app/immutable/nodes/18.C7MQG7kY.js.br +0 -0
  331. package/build/client/_app/immutable/nodes/18.C7MQG7kY.js.gz +0 -0
  332. package/build/client/_app/immutable/nodes/19.CGPxCxa4.js.br +0 -0
  333. package/build/client/_app/immutable/nodes/19.CGPxCxa4.js.gz +0 -0
  334. package/build/client/_app/immutable/nodes/2.DSEV6dyX.js +0 -27
  335. package/build/client/_app/immutable/nodes/2.DSEV6dyX.js.br +0 -0
  336. package/build/client/_app/immutable/nodes/2.DSEV6dyX.js.gz +0 -0
  337. package/build/client/_app/immutable/nodes/20.UmQnK0mP.js.br +0 -0
  338. package/build/client/_app/immutable/nodes/20.UmQnK0mP.js.gz +0 -0
  339. package/build/client/_app/immutable/nodes/21.kMxNjh5n.js.br +0 -0
  340. package/build/client/_app/immutable/nodes/21.kMxNjh5n.js.gz +0 -0
  341. package/build/client/_app/immutable/nodes/3.HvyFWmuR.js.br +0 -0
  342. package/build/client/_app/immutable/nodes/3.HvyFWmuR.js.gz +0 -0
  343. package/build/client/_app/immutable/nodes/4.cOsP7AQT.js.br +0 -0
  344. package/build/client/_app/immutable/nodes/4.cOsP7AQT.js.gz +0 -0
  345. package/build/client/_app/immutable/nodes/5.WTA0USqX.js.br +0 -0
  346. package/build/client/_app/immutable/nodes/5.WTA0USqX.js.gz +0 -0
  347. package/build/client/_app/immutable/nodes/6.DVgxxTkD.js.br +0 -0
  348. package/build/client/_app/immutable/nodes/6.DVgxxTkD.js.gz +0 -0
  349. package/build/client/_app/immutable/nodes/7.Djk2ljG8.js.br +0 -0
  350. package/build/client/_app/immutable/nodes/7.Djk2ljG8.js.gz +0 -0
  351. package/build/client/_app/immutable/nodes/9.C0za5N1P.js.br +0 -0
  352. package/build/client/_app/immutable/nodes/9.C0za5N1P.js.gz +0 -0
  353. /package/build/client/_app/immutable/chunks/{BsFN-acf.js → Bxza7kFR.js} +0 -0
  354. /package/build/client/_app/immutable/chunks/{BsFN-acf.js.br → Bxza7kFR.js.br} +0 -0
  355. /package/build/client/_app/immutable/chunks/{BsFN-acf.js.gz → Bxza7kFR.js.gz} +0 -0
@@ -1,4 +1,4 @@
1
- import"../chunks/DsnmJJEf.js";import{k as De,p as Le,a as c,b as Me,q as Ne,c as _,s as r,$ as Ce,i as n,o as g,t as f,g as e,d as l,x as Ee,v as Re,r as o,l as We,h as b,f as qe,w as Z,n as Be}from"../chunks/BOY9WARo.js";import{i as ee}from"../chunks/DnDesMxN.js";import{h as Ge,e as A,s as te,a as He}from"../chunks/BRuDnHyc.js";import{d as Oe,a as S,t as $,s as ae,m as Ue,S as ze}from"../chunks/CR7y1ULG.js";import{I as Fe}from"../chunks/8xWr9jxY.js";import{T as W}from"../chunks/Dhv6iBq8.js";import{T as Je}from"../chunks/Bo1SMwPt.js";var Ke=_('<button role="radio"> </button>'),Pe=_('<p class="mt-8 rounded-lg border border-dashed p-6 text-sm text-muted-foreground"> </p>'),Qe=_('<p class="mt-8 rounded-lg border border-dashed p-8 text-sm text-muted-foreground">No work started in this range.</p>'),Ve=_('<li><a class="grid gap-x-4 gap-y-1.5 px-4 py-3 hover:bg-accent/40 sm:grid-cols-[minmax(0,19rem)_minmax(0,1fr)_4.5rem] sm:items-center"><div class="min-w-0"><p class="truncate text-sm"> </p> <p class="text-xs text-muted-foreground"> </p></div> <!> <p class="text-sm tabular-nums sm:text-right"> </p></a></li>'),Xe=_('<section class="mt-10"><div class="flex flex-wrap items-baseline justify-between gap-2"><h2 class="text-base font-semibold"> </h2> <p class="text-sm text-muted-foreground"> <!></p></div> <div class="mt-3"><!></div> <ul class="mt-4 divide-y rounded-lg border bg-card"></ul></section>'),Ye=_(`<section class="mt-8 rounded-xl border bg-card p-5"><p class="text-base"><span class="font-semibold"> </span> <span class="text-muted-foreground"> </span></p> <div class="mt-4"><!></div> <div class="mt-3"><!></div></section> <!> <p class="mt-10 text-xs leading-relaxed text-muted-foreground">Bars share one scale, so a longer bar took longer. Times come from the crew’s status updates
1
+ import"../chunks/DsnmJJEf.js";import{k as De,p as Le,a as c,b as Me,q as Ne,c as _,s as r,$ as Ce,i as n,o as g,t as f,g as e,d as l,x as Ee,v as Re,r as o,l as We,h as b,f as qe,w as Z,n as Be}from"../chunks/BOY9WARo.js";import{i as ee}from"../chunks/DnDesMxN.js";import{h as Ge,e as A,s as te,a as He}from"../chunks/BRuDnHyc.js";import{d as Oe,a as S,t as $,s as ae,m as Ue,S as ze}from"../chunks/CR7y1ULG.js";import{I as Fe}from"../chunks/Cbmz3nkf.js";import{T as W}from"../chunks/Dhv6iBq8.js";import{T as Je}from"../chunks/Bo1SMwPt.js";var Ke=_('<button role="radio"> </button>'),Pe=_('<p class="mt-8 rounded-lg border border-dashed p-6 text-sm text-muted-foreground"> </p>'),Qe=_('<p class="mt-8 rounded-lg border border-dashed p-8 text-sm text-muted-foreground">No work started in this range.</p>'),Ve=_('<li><a class="grid gap-x-4 gap-y-1.5 px-4 py-3 hover:bg-accent/40 sm:grid-cols-[minmax(0,19rem)_minmax(0,1fr)_4.5rem] sm:items-center"><div class="min-w-0"><p class="truncate text-sm"> </p> <p class="text-xs text-muted-foreground"> </p></div> <!> <p class="text-sm tabular-nums sm:text-right"> </p></a></li>'),Xe=_('<section class="mt-10"><div class="flex flex-wrap items-baseline justify-between gap-2"><h2 class="text-base font-semibold"> </h2> <p class="text-sm text-muted-foreground"> <!></p></div> <div class="mt-3"><!></div> <ul class="mt-4 divide-y rounded-lg border bg-card"></ul></section>'),Ye=_(`<section class="mt-8 rounded-xl border bg-card p-5"><p class="text-base"><span class="font-semibold"> </span> <span class="text-muted-foreground"> </span></p> <div class="mt-4"><!></div> <div class="mt-3"><!></div></section> <!> <p class="mt-10 text-xs leading-relaxed text-muted-foreground">Bars share one scale, so a longer bar took longer. Times come from the crew’s status updates
2
2
  and the automated review’s step logs.<!></p>`,1),Ze=_(`<main class="px-4 py-6 sm:px-6 lg:px-10"><div class="surface px-5 py-6 sm:px-8 sm:py-8"><!> <div class="mt-6 flex flex-wrap items-end justify-between gap-4"><div><h1 class="text-2xl">Where time went</h1> <p class="mt-1 max-w-prose text-sm text-muted-foreground">How long each piece of work spent being built, in automated review and fixes, in CI, and
3
3
  waiting on you.</p></div> <div class="flex rounded-lg border p-0.5 text-sm" role="radiogroup" aria-label="Range"></div></div> <!></div></main>`);function lt(se,w){Le(w,!0);const re=[{key:"today",label:"Today"},{key:"week",label:"Last 7 days"},{key:"month",label:"Last 30 days"}];let I=We("week");const j=Date.now(),oe=t=>t==="today"?new Date(new Date(j).toDateString()).getTime():j-(t==="week"?7:30)*864e5,h=b(()=>w.data.view.tasks.filter(t=>Date.parse(t.startedAt)>=oe(e(I)))),y=b(()=>ae(e(h))),D=b(()=>$(e(y))),q=b(()=>ze.map(t=>({...t,v:e(y)[t.key]})).sort((t,a)=>a.v-t.v)[0]),B=t=>e(D)?Math.round(t/e(D)*100):0,ne=b(()=>Math.max(1,...e(h).map(t=>t.total))),de=b(()=>{const t={};for(const a of e(h))(t[a.projectId]??=[]).push(a);return Object.entries(t).map(([a,s])=>{const u=s.filter(x=>x.kind==="ship"&&x.readyAfter!==null);return{name:a,list:s,s:ae(s),usual:u.length?Ue(u.map(x=>x.readyAfter)):null}}).sort((a,s)=>$(s.s)-$(a.s))});var L=Ze();Ge("dyupmq",t=>{Ne(()=>{Ce.title="Where time went · Wheelhouse"})});var G=n(L),H=n(G);Fe(H,{});var M=r(H,2),O=r(n(M),2);A(O,21,()=>re,t=>t.key,(t,a)=>{var s=Ke(),u=g(s,!0);f(()=>{te(s,"aria-checked",e(I)===e(a).key),He(s,1,`rounded-md px-3 py-1 ${e(I)===e(a).key?"bg-accent font-medium":"text-muted-foreground hover:text-foreground"}`),l(u,e(a).label)}),Ee("click",s,()=>Re(I,e(a).key,!0)),c(t,s)}),o(O),o(M);var le=r(M,2);{var ie=t=>{var a=Pe(),s=g(a,!0);f(()=>l(s,w.data.view.reason)),c(t,a)},ve=t=>{var a=Qe();c(t,a)},me=t=>{var a=Ye(),s=qe(a),u=n(s),x=n(u),ce=g(x,!0),U=r(x),ue=r(U),pe=g(ue);o(u);var N=r(u,2),ge=n(N);W(ge,{get seconds(){return e(y)},height:"h-4",label:"All work"}),o(N);var z=r(N,2),xe=n(z);Je(xe,{get seconds(){return e(y)}}),o(z),o(s);var F=r(s,2);A(F,17,()=>e(de),v=>v.name,(v,d)=>{var p=Xe(),k=n(p),K=n(k),_e=g(K,!0),P=r(K,2),Q=n(P),he=r(Q);{var be=m=>{var i=Z();f(T=>l(i,T),[()=>` · usually ${S(e(d).usual)} from start to ready for you`]),c(m,i)};ee(he,m=>{e(d).usual!==null&&m(be)})}o(P),o(k);var C=r(k,2),we=n(C);W(we,{get seconds(){return e(d).s},get label(){return e(d).name}}),o(C);var V=r(C,2);A(V,21,()=>e(d).list,m=>m.taskId,(m,i)=>{var T=Ve(),E=n(T),R=n(E),X=n(R),ye=g(X,!0),ke=r(X,2),Te=g(ke);o(R);var Y=r(R,2);W(Y,{get seconds(){return e(i).seconds},get scale(){return e(ne)},get label(){return e(i).title}});var Ie=r(Y,2),Ae=g(Ie,!0);o(E),o(T),f((Se,$e,je)=>{te(E,"href",`/tasks/${Se??""}`),l(ye,e(i).title),l(Te,`${$e??""}${e(i).ongoing?" · still going":""}`),l(Ae,je)},[()=>encodeURIComponent(e(i).taskId),()=>Oe(e(i).startedAt,j),()=>S(e(i).total)]),c(m,T)}),o(V),o(p),f(m=>{l(_e,e(d).name),l(Q,`${m??""} on ${e(d).list.length??""}
4
4
  ${e(d).list.length===1?"task":"tasks"}`)},[()=>S($(e(d).s))]),c(v,p)});var J=r(F,2),fe=r(n(J));A(fe,16,()=>w.data.view.notes,v=>v,(v,d)=>{Be();var p=Z();f(()=>l(p,` ${d}`)),c(v,p)}),o(J),f((v,d,p,k)=>{l(ce,v),l(U,` across ${e(h).length??""}
@@ -1,4 +1,4 @@
1
- import"../chunks/DsnmJJEf.js";import{k as ct,p as mt,a as m,b as vt,q as ut,c as v,i as n,$ as xt,s as a,g as e,r,h as y,o as l,t as _,d,f as ge,x as ft,v as ht,n as we,l as _t,a8 as gt}from"../chunks/BOY9WARo.js";import{s as L,r as q,i as D}from"../chunks/DnDesMxN.js";import{h as wt,e as M,s as S,a as be,i as bt,c as $t}from"../chunks/BRuDnHyc.js";import{c as yt}from"../chunks/BV-FSL0u.js";import{p as kt}from"../chunks/BqqZcEbm.js";import{c as $e}from"../chunks/BXF1nDhR.js";import{a as It,c as At}from"../chunks/CR7y1ULG.js";import{I as Dt}from"../chunks/8xWr9jxY.js";import{L as zt}from"../chunks/Bxc9WZZR.js";import{a as Ct,C as Ft}from"../chunks/DWlSINHC.js";import{I as T}from"../chunks/BbU5AsRD.js";import{M as Mt}from"../chunks/CDGwSysF.js";import{S as St}from"../chunks/D8s8J8Og.js";var Lt=new Set(["$$slots","$$events","$$legacy"]);function qt(u,c){let x=q(c,Lt);const f={name:"hammer",size:24,node:[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9"}],["path",{d:"m18 15 4-4"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5"}]]};T(u,L(()=>x,{get icon(){return f}}))}var Tt=new Set(["$$slots","$$events","$$legacy"]);function ye(u,c){let x=q(c,Tt);const f={name:"shield",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}]]};T(u,L(()=>x,{get icon(){return f}}))}var Nt=new Set(["$$slots","$$events","$$legacy"]);function Ht(u,c){let x=q(c,Nt);const f={name:"split",size:24,node:[["path",{d:"M16 3h5v5"}],["path",{d:"M8 3H3v5"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3"}],["path",{d:"m15 9 6-6"}]]};T(u,L(()=>x,{get icon(){return f}}))}var Rt=new Set(["$$slots","$$events","$$legacy"]);function Vt(u,c){let x=q(c,Rt);const f={name:"thumbs-down",size:24,node:[["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z"}],["path",{d:"M17 14V2"}]]};T(u,L(()=>x,{get icon(){return f}}))}var jt=v('<p class="mt-8 rounded-lg border border-dashed p-6 text-sm text-muted-foreground"> </p>'),Et=v('<p class="mt-8 rounded-lg border border-dashed p-6 text-sm text-muted-foreground">Firstmate has not had to answer a review question for you yet.</p>'),Kt=v('<button role="radio"> </button>'),Ut=v('<span class="rounded border px-1.5 text-xs text-muted-foreground"> </span>'),Ot=v('<span class="text-muted-foreground"> </span>'),Qt=v('<p class="mt-1 font-mono text-xs"> </p>'),Wt=v('<details class="mt-2 text-xs text-muted-foreground"><summary class="cursor-pointer hover:text-foreground">The reviewer’s full note</summary> <p class="mt-1.5 leading-relaxed"><!></p> <!></details>'),Zt=v(`<li><p class="text-xs text-muted-foreground"> </p> <p class="mt-1 text-sm leading-relaxed font-medium"> </p> <div class="mt-2.5 border-l-2 border-sea/60 pl-3"><p class="text-xs text-muted-foreground">Firstmate decided: <span class="font-medium text-foreground"> </span></p> <p class="mt-1 text-sm leading-relaxed whitespace-pre-line"> <span class="text-muted-foreground"> </span></p></div> <!> <div class="mt-2 flex flex-wrap gap-2"><a class="inline-flex items-center gap-1.5 rounded-md border px-2.5 py-1.5 text-xs font-medium hover:bg-accent"><!>I'd decide
1
+ import"../chunks/DsnmJJEf.js";import{k as ct,p as mt,a as m,b as vt,q as ut,c as v,i as n,$ as xt,s as a,g as e,r,h as y,o as l,t as _,d,f as ge,x as ft,v as ht,n as we,l as _t,a8 as gt}from"../chunks/BOY9WARo.js";import{s as L,r as q,i as D}from"../chunks/DnDesMxN.js";import{h as wt,e as M,s as S,a as be,i as bt,c as $t}from"../chunks/BRuDnHyc.js";import{c as yt}from"../chunks/BV-FSL0u.js";import{p as kt}from"../chunks/DQEmyAe4.js";import{c as $e}from"../chunks/BXF1nDhR.js";import{a as It,c as At}from"../chunks/CR7y1ULG.js";import{I as Dt}from"../chunks/Cbmz3nkf.js";import{L as zt}from"../chunks/Bxc9WZZR.js";import{a as Ct,C as Ft}from"../chunks/DWlSINHC.js";import{I as T}from"../chunks/BbU5AsRD.js";import{M as Mt}from"../chunks/CDGwSysF.js";import{S as St}from"../chunks/D8s8J8Og.js";var Lt=new Set(["$$slots","$$events","$$legacy"]);function qt(u,c){let x=q(c,Lt);const f={name:"hammer",size:24,node:[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9"}],["path",{d:"m18 15 4-4"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5"}]]};T(u,L(()=>x,{get icon(){return f}}))}var Tt=new Set(["$$slots","$$events","$$legacy"]);function ye(u,c){let x=q(c,Tt);const f={name:"shield",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}]]};T(u,L(()=>x,{get icon(){return f}}))}var Nt=new Set(["$$slots","$$events","$$legacy"]);function Ht(u,c){let x=q(c,Nt);const f={name:"split",size:24,node:[["path",{d:"M16 3h5v5"}],["path",{d:"M8 3H3v5"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3"}],["path",{d:"m15 9 6-6"}]]};T(u,L(()=>x,{get icon(){return f}}))}var Rt=new Set(["$$slots","$$events","$$legacy"]);function Vt(u,c){let x=q(c,Rt);const f={name:"thumbs-down",size:24,node:[["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z"}],["path",{d:"M17 14V2"}]]};T(u,L(()=>x,{get icon(){return f}}))}var jt=v('<p class="mt-8 rounded-lg border border-dashed p-6 text-sm text-muted-foreground"> </p>'),Et=v('<p class="mt-8 rounded-lg border border-dashed p-6 text-sm text-muted-foreground">Firstmate has not had to answer a review question for you yet.</p>'),Kt=v('<button role="radio"> </button>'),Ut=v('<span class="rounded border px-1.5 text-xs text-muted-foreground"> </span>'),Ot=v('<span class="text-muted-foreground"> </span>'),Qt=v('<p class="mt-1 font-mono text-xs"> </p>'),Wt=v('<details class="mt-2 text-xs text-muted-foreground"><summary class="cursor-pointer hover:text-foreground">The reviewer’s full note</summary> <p class="mt-1.5 leading-relaxed"><!></p> <!></details>'),Zt=v(`<li><p class="text-xs text-muted-foreground"> </p> <p class="mt-1 text-sm leading-relaxed font-medium"> </p> <div class="mt-2.5 border-l-2 border-sea/60 pl-3"><p class="text-xs text-muted-foreground">Firstmate decided: <span class="font-medium text-foreground"> </span></p> <p class="mt-1 text-sm leading-relaxed whitespace-pre-line"> <span class="text-muted-foreground"> </span></p></div> <!> <div class="mt-2 flex flex-wrap gap-2"><a class="inline-flex items-center gap-1.5 rounded-md border px-2.5 py-1.5 text-xs font-medium hover:bg-accent"><!>I'd decide
2
2
  differently</a> <a class="inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs text-muted-foreground hover:bg-accent hover:text-foreground"><!>Chat about this</a></div></li>`),Bt=v('<li class="scroll-mt-20"><details class="group rounded-lg border bg-card open:shadow-sm"><summary class="flex cursor-pointer list-none gap-3 p-4 [&amp;::-webkit-details-marker]:hidden"><span class="mt-0.5 grid size-7 shrink-0 place-items-center rounded-full bg-muted text-foreground/70" aria-hidden="true"><!></span> <div class="min-w-0 flex-1"><p class="flex flex-wrap items-baseline gap-x-2 text-sm"><span class="font-medium whitespace-nowrap"> </span> <span class="text-muted-foreground">·</span> <span class="min-w-0 truncate"> </span> <!></p> <p class="mt-1.5 line-clamp-2 text-sm text-muted-foreground"> <!></p></div> <div class="flex shrink-0 flex-col items-end gap-1 text-xs text-muted-foreground"><span class="tabular-nums"> </span> <span> </span></div> <!></summary> <div class="border-t px-4 pt-3 pb-4 sm:pl-14"><ol class="space-y-5"></ol> <p class="mt-4 text-xs text-muted-foreground"> </p></div></details></li>'),Gt=v('<h2 class="mt-8 mb-3 text-xs font-medium text-muted-foreground"> </h2> <ol class="space-y-3"></ol>',1),Jt=v('<div class="mt-6 flex flex-wrap items-center gap-2" role="radiogroup" aria-label="Filter"><!> <span class="ml-auto text-xs text-muted-foreground"> </span></div> <!>',1),Pt=v(`<main class="px-4 py-6 sm:px-6 lg:px-10"><div class="surface px-5 py-6 sm:px-8 sm:py-8"><!> <h1 class="mt-6 text-2xl">Decided for you</h1> <p class="mt-1 max-w-prose text-sm text-muted-foreground">Questions the automated review raised that Firstmate answered on your behalf, so the work did
3
3
  not wait. If you would have called one differently, say so and Firstmate will look at it
4
4
  again.</p> <!></div></main>`);function ma(u,c){mt(c,!0);const x={"Fix it":qt,"Keep as is":ye,"No change":ye,Defer:Ft,Mixed:Ht,Decided:St},f=["All","Fix it","Keep as is","No change","Defer"];let z=_t("All");const N=y(()=>c.data.view.decisions),ke=(t,i)=>i==="All"||t.verdict===i||t.calls.some(w=>w.verdict===i),P=y(()=>e(N).filter(t=>ke(t,e(z)))),Ie=y(()=>At(e(P),t=>t.decidedAt,Date.now())),Ae=y(()=>kt.url.hash.slice(1)),De=t=>t==="test"?"automated tests":t==="ci"?"CI":"automated review",ze=t=>t.length>90?t.slice(0,87).trimEnd()+"…":t,X=(t,i)=>`/?chat=${encodeURIComponent(t.taskId)}${i?`&draft=${encodeURIComponent(i)}`:""}`,Ce=t=>{const i=(Date.parse(t.decidedAt)-Date.parse(t.askedAt))/1e3;return i<60?"within a minute":`${It(i)} later`};var H=Pt();wt("95cwzc",t=>{ut(()=>{xt.title="Decided for you · Wheelhouse"})});var Y=n(H),ee=n(Y);Dt(ee,{});var Fe=a(ee,6);{var Me=t=>{var i=jt(),w=l(i,!0);_(()=>d(w,c.data.view.reason)),m(t,i)},Se=t=>{var i=Et();m(t,i)},Le=t=>{var i=Jt(),w=ge(i),te=n(w);M(te,16,()=>f,b=>b,(b,$)=>{var g=Kt(),R=l(g,!0);_(()=>{S(g,"aria-checked",e(z)===$),be(g,1,`rounded-full border px-3 py-1 text-sm ${e(z)===$?"border-foreground/30 bg-accent font-medium":"text-muted-foreground hover:text-foreground"}`),d(R,$)}),ft("click",g,()=>ht(z,$,!0)),m(b,g)});var qe=a(te,2),Te=l(qe);r(w);var Ne=a(w,2);M(Ne,17,()=>e(Ie),([b,$])=>b,(b,$)=>{var g=y(()=>gt(e($),2));let R=()=>e(g)[0],He=()=>e(g)[1];var ae=Gt(),re=ge(ae),Re=l(re,!0),se=a(re,2);M(se,21,He,V=>V.id,(V,o)=>{const Ve=y(()=>x[e(o).verdict]);var C=Bt(),j=n(C),E=n(j),K=n(E),je=n(K);yt(je,()=>e(Ve),(p,s)=>{s(p,{class:"size-3.5"})}),r(K);var U=a(K,2),O=n(U),oe=n(O),Ee=l(oe,!0),ne=a(oe,4),Ke=l(ne,!0),Ue=a(ne,2);{var Oe=p=>{var s=Ut(),h=l(s,!0);_(()=>d(h,e(o).projectId)),m(p,s)};D(Ue,p=>{e(o).projectId&&p(Oe)})}r(O);var de=a(O,2),ie=n(de,!0),Qe=a(ie);{var We=p=>{var s=Ot(),h=l(s,!0);_(()=>d(h,` and ${e(o).calls.length-1} more`)),m(p,s)};D(Qe,p=>{e(o).calls.length>1&&p(We)})}r(de),r(U);var Q=a(U,2),le=n(Q),Ze=l(le,!0),pe=a(le,2),Be=l(pe,!0);r(Q);var Ge=a(Q,2);Ct(Ge,{class:"mt-1 size-4 shrink-0 text-muted-foreground transition-transform group-open:rotate-180","aria-hidden":"true"}),r(E);var ce=a(E,2),W=n(ce);M(W,21,()=>e(o).calls,bt,(p,s)=>{var h=Zt(),me=n(h),Xe=l(me),ve=a(me,2),Ye=l(ve,!0),Z=a(ve,2),B=n(Z),et=a(n(B)),tt=l(et,!0);r(B);var ue=a(B,2),xe=n(ue,!0),at=a(xe),rt=l(at,!0);r(ue),r(Z);var fe=a(Z,2);{var st=k=>{var I=Wt(),A=a(n(I),2),dt=n(A);zt(dt,{get text(){return e(s).detail}}),r(A);var it=a(A,2);{var lt=J=>{var _e=Qt(),pt=l(_e,!0);_(()=>d(pt,e(s).file)),m(J,_e)};D(it,J=>{e(s).file&&J(lt)})}r(I),m(k,I)};D(fe,k=>{e(s).detail&&e(s).detail!==e(s).question&&k(st)})}var he=a(fe,2),F=n(he),ot=n(F);Vt(ot,{class:"size-3.5","aria-hidden":"true"}),we(),r(F);var G=a(F,2),nt=n(G);Mt(nt,{class:"size-3.5","aria-hidden":"true"}),we(),r(G),r(he),r(h),_((k,I,A)=>{d(Xe,`Raised in ${k??""}${e(s).serious?" · marked serious":""}`),d(Ye,e(s).question),d(tt,e(s).verdict),d(xe,e(s).reason||"No reason was recorded."),d(rt,e(o).answerCut?" (the rest of the answer was not kept)":""),S(F,"href",I),S(G,"href",A)},[()=>De(e(o).step),()=>X(e(o),`I'd decide differently on "${ze(e(s).question)}" (Firstmate's call: ${e(s).verdict}). `),()=>X(e(o),"")]),m(p,h)}),r(W);var Je=a(W,2),Pe=l(Je);r(ce),r(j),r(C),_((p,s,h)=>{S(C,"id",e(o).id),j.open=e(Ae)===e(o).id,d(Ee,e(o).verdict),d(Ke,e(o).taskTitle),d(ie,e(o).calls[0].question),d(Ze,p),be(pe,1,$t(e(o).landed?"":"text-sea")),d(Be,e(o).landed?"Landed":"Not landed"),d(Pe,`Asked ${s??""}, decided ${h??""}.
@@ -1 +1 @@
1
- import"../chunks/DsnmJJEf.js";import{k as H,p as I,x as J,a as i,b as K,e as L,i as l,c as u,$ as M,g as e,n as w,r as m,s as f,h as D,o as x,t as q,d as h,j as N,f as S}from"../chunks/BOY9WARo.js";import{i as z}from"../chunks/DnDesMxN.js";import{h as O}from"../chunks/BRuDnHyc.js";import{F as P,r as Q}from"../chunks/DnQR8b1d.js";import{D as U}from"../chunks/BsFN-acf.js";import{A as V}from"../chunks/CbGZd9iT.js";var X=u('<p class="flex items-center gap-2 font-display text-[1.05rem] tracking-[0.1em] text-muted-foreground [font-variant-caps:all-small-caps]"><!>Document</p> <h1 id="doc-title" class="mt-2 text-[2.4rem] leading-[1.15] text-balance"> </h1> <p class="mt-3 font-mono text-xs break-all text-muted-foreground" data-doc-source=""> </p>',1),Y=u('<p class="mt-8 text-sm text-muted-foreground">This document is long, so only its start is shown here.</p>'),Z=u('<p class="mt-3 font-mono text-xs break-all text-muted-foreground"> </p>'),$=u('<div class="max-w-[70ch] px-5 py-10 sm:px-8"><p class="font-medium">This document cannot be shown</p> <p class="mt-1 text-sm text-muted-foreground"> </p> <!></div>'),ee=u('<main class="px-4 pt-6 pb-20 sm:px-6 lg:px-10"><div class="surface overflow-hidden"><div class="flex flex-wrap items-center gap-x-4 gap-y-2 border-b border-hair bg-panel px-5 py-3 text-sm sm:px-8"><a href="/" class="inline-flex items-center gap-1.5 text-muted-foreground hover:text-foreground"><!>Back</a> <span class="ml-auto text-xs text-muted-foreground">Read only</span></div> <!></div></main>');function ie(T,c){I(c,!0);const a=D(()=>c.data.doc),A=D(()=>e(a)?e(a).markdown.replace(/^(?:---\n[\s\S]*?\n---\n)?\s*#\s+(.+)\n/,(t,o)=>o.trim()===e(a).title?"":t):"");function j(t){history.length>1&&(t.preventDefault(),history.back())}var _=ee();O("5hf2uo",t=>{L(()=>{M.title=`${e(a)?.title??"Document"??""} · Wheelhouse`})});var F=l(_),g=l(F),b=l(g),B=l(b);V(B,{class:"size-4","aria-hidden":"true"}),w(),m(b),w(2),m(g);var R=f(g,2);{var W=t=>{{const o=p=>{var n=X(),r=S(n),d=l(r);P(d,{class:"size-4","aria-hidden":"true"}),w(),m(r);var s=f(r,2),y=x(s,!0),E=f(s,2),G=x(E,!0);q(()=>{h(y,e(a).title),h(G,e(a).shown)}),i(p,n)},v=p=>{var n=N(),r=S(n);{var d=s=>{var y=Y();i(s,y)};z(r,s=>{e(a).truncated&&s(d)})}i(p,n)};let k=D(()=>Q(e(A),e(a).path));U(t,{get html(){return e(k)},get text(){return e(A)},header:o,footer:v,$$slots:{header:!0,footer:!0}})}},C=t=>{var o=$(),v=f(l(o),2),k=x(v,!0),p=f(v,2);{var n=r=>{var d=Z(),s=x(d,!0);q(()=>h(s,c.data.requested)),i(r,d)};z(p,r=>{c.data.requested&&r(n)})}m(o),q(()=>h(k,c.data.problem)),i(t,o)};z(R,t=>{e(a)?t(W):t(C,-1)})}m(F),m(_),J("click",b,j),i(T,_),K()}H(["click"]);export{ie as component};
1
+ import"../chunks/DsnmJJEf.js";import{k as H,p as I,x as J,a as i,b as K,e as L,i as l,c as u,$ as M,g as e,n as w,r as m,s as f,h as D,o as x,t as q,d as h,j as N,f as S}from"../chunks/BOY9WARo.js";import{i as z}from"../chunks/DnDesMxN.js";import{h as O}from"../chunks/BRuDnHyc.js";import{F as P,r as Q}from"../chunks/DnQR8b1d.js";import{D as U}from"../chunks/Bxza7kFR.js";import{A as V}from"../chunks/CbGZd9iT.js";var X=u('<p class="flex items-center gap-2 font-display text-[1.05rem] tracking-[0.1em] text-muted-foreground [font-variant-caps:all-small-caps]"><!>Document</p> <h1 id="doc-title" class="mt-2 text-[2.4rem] leading-[1.15] text-balance"> </h1> <p class="mt-3 font-mono text-xs break-all text-muted-foreground" data-doc-source=""> </p>',1),Y=u('<p class="mt-8 text-sm text-muted-foreground">This document is long, so only its start is shown here.</p>'),Z=u('<p class="mt-3 font-mono text-xs break-all text-muted-foreground"> </p>'),$=u('<div class="max-w-[70ch] px-5 py-10 sm:px-8"><p class="font-medium">This document cannot be shown</p> <p class="mt-1 text-sm text-muted-foreground"> </p> <!></div>'),ee=u('<main class="px-4 pt-6 pb-20 sm:px-6 lg:px-10"><div class="surface overflow-hidden"><div class="flex flex-wrap items-center gap-x-4 gap-y-2 border-b border-hair bg-panel px-5 py-3 text-sm sm:px-8"><a href="/" class="inline-flex items-center gap-1.5 text-muted-foreground hover:text-foreground"><!>Back</a> <span class="ml-auto text-xs text-muted-foreground">Read only</span></div> <!></div></main>');function ie(T,c){I(c,!0);const a=D(()=>c.data.doc),A=D(()=>e(a)?e(a).markdown.replace(/^(?:---\n[\s\S]*?\n---\n)?\s*#\s+(.+)\n/,(t,o)=>o.trim()===e(a).title?"":t):"");function j(t){history.length>1&&(t.preventDefault(),history.back())}var _=ee();O("5hf2uo",t=>{L(()=>{M.title=`${e(a)?.title??"Document"??""} · Wheelhouse`})});var F=l(_),g=l(F),b=l(g),B=l(b);V(B,{class:"size-4","aria-hidden":"true"}),w(),m(b),w(2),m(g);var R=f(g,2);{var W=t=>{{const o=p=>{var n=X(),r=S(n),d=l(r);P(d,{class:"size-4","aria-hidden":"true"}),w(),m(r);var s=f(r,2),y=x(s,!0),E=f(s,2),G=x(E,!0);q(()=>{h(y,e(a).title),h(G,e(a).shown)}),i(p,n)},v=p=>{var n=N(),r=S(n);{var d=s=>{var y=Y();i(s,y)};z(r,s=>{e(a).truncated&&s(d)})}i(p,n)};let k=D(()=>Q(e(A),e(a).path));U(t,{get html(){return e(k)},get text(){return e(A)},header:o,footer:v,$$slots:{header:!0,footer:!0}})}},C=t=>{var o=$(),v=f(l(o),2),k=x(v,!0),p=f(v,2);{var n=r=>{var d=Z(),s=x(d,!0);q(()=>h(s,c.data.requested)),i(r,d)};z(p,r=>{c.data.requested&&r(n)})}m(o),q(()=>h(k,c.data.problem)),i(t,o)};z(R,t=>{e(a)?t(W):t(C,-1)})}m(F),m(_),J("click",b,j),i(T,_),K()}H(["click"]);export{ie as component};
@@ -1,2 +1,2 @@
1
- import"../chunks/DsnmJJEf.js";import{p as Ae,i as d,o as k,s as t,g as e,t as b,a as i,r as n,d as f,b as Re,h as v,bw as ut,n as kt,a7 as vt,a8 as $t,c as p,j as pt,f as Le,k as jt,v as $e,u as qt,z as Me,af as rt,x as zt,l as De,w as Ye,av as Mt,bx as St,e as Tt,$ as Lt}from"../chunks/BOY9WARo.js";import{s as Oe,r as We,p as Ge,i as H}from"../chunks/DnDesMxN.js";import{e as Z,i as Ct,s as h,a as ee,c as It,m as At,d as Te,h as Rt}from"../chunks/BRuDnHyc.js";import{c as Et}from"../chunks/BV-FSL0u.js";import{I as Pe,t as ze,a as Ue}from"../chunks/BbU5AsRD.js";import{p as Be}from"../chunks/BqqZcEbm.js";import{c as Nt,e as Dt,d as Ot,f as Wt,h as Pt,p as Ut,a as Ft}from"../chunks/WKkbnawS.js";import{c as Ht,l as Se}from"../chunks/Byamhp7O.js";import{r as mt,L as Qe,l as gt,P as Bt,d as ft,s as st,a as nt,A as ht,S as Ve,c as Ke,t as Vt,e as Kt,b as Yt,f as Gt,g as ot,F as lt,h as Qt,i as it}from"../chunks/C0nIjZ3F.js";import{a as Xe,w as Xt,c as Jt}from"../chunks/BXF1nDhR.js";import{f as Fe}from"../chunks/DCbu051o.js";import{a as Zt,p as ea,f as Je,M as et,b as tt,r as at}from"../chunks/CNcEb8rI.js";import{S as xt,a as Ze,t as ta,d as aa}from"../chunks/DkG1ReNq.js";import{M as ra}from"../chunks/BSMH3sl_.js";import{C as sa}from"../chunks/CaaP7Cfy.js";import{H as na}from"../chunks/BQle5rwK.js";import{A as bt}from"../chunks/BKSx-wDn.js";import{T as oa}from"../chunks/DgOhqfdF.js";import{o as la}from"../chunks/Blj84s6L.js";import{b as ia}from"../chunks/4VJeJzd5.js";import{c as da,f as ca}from"../chunks/B-JNrTge.js";import{C as dt}from"../chunks/DdRufa9N.js";var ua=new Set(["$$slots","$$events","$$legacy"]);function va(X,s){let g=We(s,ua);const _={name:"layout-grid",size:24,node:[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1"}]]};Pe(X,Oe(()=>g,{get icon(){return _}}))}var pa=new Set(["$$slots","$$events","$$legacy"]);function ma(X,s){let g=We(s,pa);const _={name:"radar",size:24,node:[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34"}],["path",{d:"M4 6h.01"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67"}],["path",{d:"M12 18h.01"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67"}],["circle",{cx:"12",cy:"12",r:"2"}],["path",{d:"m13.41 10.59 5.66-5.66"}]]};Pe(X,Oe(()=>g,{get icon(){return _}}))}var ga=new Set(["$$slots","$$events","$$legacy"]);function fa(X,s){let g=We(s,ga);const _={name:"shield-alert",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}],["path",{d:"M12 8v4"}],["path",{d:"M12 16h.01"}]]};Pe(X,Oe(()=>g,{get icon(){return _}}))}var ha=new Set(["$$slots","$$events","$$legacy"]);function xa(X,s){let g=We(s,ha);const _={name:"waypoints",size:24,node:[["path",{d:"m10.586 5.414-5.172 5.172"}],["path",{d:"m18.586 13.414-5.172 5.172"}],["path",{d:"M6 12h12"}],["circle",{cx:"12",cy:"20",r:"2"}],["circle",{cx:"12",cy:"4",r:"2"}],["circle",{cx:"20",cy:"12",r:"2"}],["circle",{cx:"4",cy:"12",r:"2"}]]};Pe(X,Oe(()=>g,{get icon(){return _}}))}const ba=4,_a=["you","stuck"],ct=100/Qe.length;function wa(X,s,g){const _=[];for(const O of X){const N=s.filter(S=>S.projectId===O.project.id),q=mt(N,g),C=[],B=[];if(q.lanes.forEach((S,$)=>{const y=S.blips.slice(0,ba),U=S.blips.length-y.length,z=y.length+(U?1:0),m=j=>$*ct+(j+1)/(z+1)*ct;y.forEach((j,G)=>C.push({blip:j,x:m(G)})),U&&B.push({x:m(y.length),count:U})}),!C.length)continue;const Y=C.filter(S=>S.blip.lane!=="landed"),W=_a.flatMap(S=>C.filter($=>$.blip.signal===S))[0],I=new Map;for(const S of q.lanes.flatMap($=>$.blips)){const $=S.task.secondMate;$&&I.set($.id,$)}_.push({project:O.project,vessels:C,more:B,reach:Y.length?Math.max(...Y.map(S=>S.x)):0,labelled:W?.blip.id??null,mates:[...I.values()]})}return{rows:_}}var ya=ut('<rect rx="1"></rect>'),ka=ut('<svg role="img" class="shrink-0"><title> </title><!></svg>');function _t(X,s){Ae(s,!0);let g=Ge(s,"width",3,112),_=Ge(s,"height",3,22);const O=v(()=>s.commits??s.landed),N=v(()=>Math.max(4,...e(O))),q=v(()=>g()/e(O).length),C=$=>$.reduce((y,U)=>y+U,0),B=v(()=>`${s.commits?`${C(s.commits)} commits and `:""}${C(s.landed)} landed in the last two weeks`);var Y=ka(),W=d(Y),I=k(W,!0),S=t(W);Z(S,17,()=>e(O),Ct,($,y,U)=>{const z=v(()=>e(y)?Math.max(2,e(y)/e(N)*(_()-2)):1);var m=ya();b(j=>{h(m,"x",U*e(q)+1),h(m,"y",_()-e(z)),h(m,"width",j),h(m,"height",e(z)),ee(m,0,It(s.landed[U]?"fill-foreground/70":e(y)?"fill-foreground/25":"fill-foreground/10"))},[()=>Math.max(2,e(q)-3)]),i($,m)}),n(Y),b(()=>{h(Y,"width",g()),h(Y,"height",_()),h(Y,"viewBox",`0 0 ${g()??""} ${_()??""}`),h(Y,"aria-label",e(B)),f(I,e(B))}),i(X,Y),Re()}var $a=p('<span aria-hidden="true"></span>'),ja=p('<li class="flex items-center gap-1.5"><!> </li>'),qa=p("<div></div>"),za=p('<span class="truncate pl-1.5 tracking-wide [font-variant-caps:all-small-caps]"> </span>'),Ma=p('<span class="project-tile" aria-hidden="true"> </span>'),Sa=p('<span class="shrink-0 text-brass max-sm:hidden"><!><span class="sr-only"> </span></span>'),Ta=p('<li class="absolute top-3.5 -translate-x-1/2 -translate-y-1/2 transition-[left,opacity] duration-700 ease-out focus-within:z-20 hover:z-20"><a class="group relative flex items-center rounded-full p-1.5 outline-none focus-visible:ring-2 focus-visible:ring-ring"><span><!></span> <span aria-hidden="true"> <span class="text-muted-foreground"> </span></span></a></li>'),La=p('<a class="tabular absolute top-3.5 -translate-x-1/2 -translate-y-1/2 rounded-sm px-1 text-[11px] text-muted-foreground hover:bg-muted hover:text-foreground"> </a>'),Ca=p('<li><a class="flex h-7 w-9 min-w-0 shrink-0 items-center gap-2 pr-2 text-sm hover:underline sm:w-44"><!> <span class="min-w-0 truncate max-sm:sr-only"> </span> <!></a> <div class="@container relative h-full flex-1"><span class="absolute inset-x-0 top-3.5 border-t border-dotted border-foreground/15" aria-hidden="true"></span> <span class="absolute top-3.5 left-0 h-px -translate-y-px bg-foreground/30 transition-[width] duration-700 ease-out" aria-hidden="true"></span> <ul></ul> <!></div></li>'),Ia=p('<section class="surface mt-6 px-4 pt-3 pb-2 sm:px-5" aria-labelledby="fleet-chart" data-fleet-chart=""><div class="flex flex-wrap items-baseline justify-between gap-x-6 gap-y-1"><h2 id="fleet-chart" class="section-label">The fleet</h2> <ul class="flex flex-wrap gap-x-4 gap-y-1 text-xs text-muted-foreground max-md:hidden" aria-label="Key"><!> <li class="flex items-center gap-1.5"><span class="block size-2.5 rounded-full outline-1 outline-offset-2 outline-brass outline-dashed" aria-hidden="true"></span> Second mate</li></ul></div> <div class="relative mt-2"><div class="pointer-events-none absolute inset-y-0 right-0 left-9 grid grid-cols-5 sm:left-44" aria-hidden="true"></div> <div class="flex text-xs text-muted-foreground" aria-hidden="true"><span class="w-9 shrink-0 sm:w-44"></span> <span class="grid flex-1 grid-cols-5"></span></div> <ol aria-label="Work by project"></ol></div></section>');function Aa(X,s){Ae(s,!0);const g=(z,m=vt)=>{var j=$a();b(()=>ee(j,1,`relative block size-2.5 ${O[m()]??""}`)),i(z,j)},_={you:"waiting on you",stuck:"held up",firstmate:"with Firstmate",busy:"working now",idle:"under way",landed:"landed"},O={busy:"rounded-full bg-foreground",idle:"rounded-full border-[1.5px] border-foreground/60 bg-card",firstmate:"rounded-full border-[1.5px] border-foreground/60 bg-card",you:"rounded-full bg-amber ring-[3px] ring-amber/30",stuck:"rotate-45 rounded-[1px] bg-danger",landed:"rounded-full bg-success"},N={you:"text-warning",stuck:"text-danger"},q=[["busy","Working"],["idle","Under way"],["you","Waiting on you"],["stuck","Held up"],["landed","Landed"]];var C=Ia(),B=d(C),Y=t(d(B),2),W=d(Y);Z(W,17,()=>q,([z,m])=>z,(z,m)=>{var j=v(()=>$t(e(m),2));let G=()=>e(j)[0],ge=()=>e(j)[1];var ve=ja(),P=d(ve);g(P,G);var te=t(P,1,!0);n(ve),b(()=>f(te,ge())),i(z,ve)}),kt(2),n(Y),n(B);var I=t(B,2),S=d(I);Z(S,21,()=>Qe,z=>z.key,(z,m)=>{var j=qa();b(()=>ee(j,1,`border-l border-dashed border-brass/30 ${e(m).key==="landed"?"bg-gradient-to-r from-success/[0.06] to-transparent":""}`)),i(z,j)}),n(S);var $=t(S,2),y=t(d($),2);Z(y,21,()=>Qe,z=>z.key,(z,m)=>{var j=za(),G=k(j,!0);b(()=>f(G,e(m).label)),i(z,j)}),n(y),n($);var U=t($,2);Z(U,29,()=>s.chart.rows,z=>z.project.id,(z,m)=>{const j=v(()=>s.labels.get(e(m).project.id));var G=Ca(),ge=d(G),ve=d(ge);{var P=V=>{var M=Ma(),A=k(M,!0);b(()=>{h(M,"data-hue",e(j).hue),f(A,e(j).monogram)}),i(V,M)};H(ve,V=>{e(j)&&V(P)})}var te=t(ve,2),xe=k(te,!0),be=t(te,2);Z(be,17,()=>e(m).mates,V=>V.id,(V,M)=>{var A=Sa(),de=d(A);xt(de,{class:"size-3.5","aria-hidden":"true"});var K=t(de),se=k(K);n(A),b(()=>{h(A,"title",e(M).where==="remote"?`Work on second mate ${e(M).id}, on ${e(M).host??"another host"}`:`Work on second mate ${e(M).id}, on this computer`),h(A,"data-chart-mate",e(M).id),f(se,`, work on second mate ${e(M).id??""}`)}),i(V,A)}),n(ge);var _e=t(ge,2),ce=t(d(_e),2),pe=t(ce,2);Z(pe,21,()=>e(m).vessels,V=>V.blip.id,(V,M)=>{const A=v(()=>e(M).blip.task),de=v(()=>e(M).x>60),K=v(()=>e(m).labelled===e(M).blip.id);var se=Ta(),ue=d(se),le=d(ue),fe=d(le);g(fe,()=>e(M).blip.signal),n(le),At(le,()=>Zt(e(A).status==="landed","wh-landed"));var c=t(le,2),w=d(c,!0),r=t(w),o=k(r,!0);n(c),n(ue),n(se),b((D,a)=>{Te(se,`left: ${e(M).x??""}%; opacity: ${e(M).blip.opacity??""}`),h(ue,"href",`/tasks/${D??""}`),h(ue,"aria-label",`${e(A).shortTitle??""}: ${a??""}${e(M).blip.signal==="landed"?"":`, ${_[e(M).blip.signal]}`}${e(A).secondMate?`, on second mate ${e(A).secondMate.id}`:""}`),h(ue,"data-vessel",e(A).id),ee(le,1,`relative block rounded-full transition-transform duration-150 group-hover:scale-125 group-focus-visible:scale-125 ${e(A).secondMate?"outline-1 outline-offset-2 outline-brass outline-dashed":""}`),ee(c,1,`pointer-events-none absolute top-full -mt-0.5 rounded-sm px-1.5 text-xs leading-5 whitespace-nowrap ${e(de)?"right-0":"left-0"} ${e(K)?`max-w-[min(16rem,var(--room))] truncate ${N[e(M).blip.signal]??""} group-hover:max-w-none group-hover:border group-hover:border-hair group-hover:bg-popover group-hover:shadow-sm group-focus-visible:max-w-none`:"hidden border border-hair bg-popover text-popover-foreground shadow-sm group-hover:block group-focus-visible:block"}`),Te(c,`--room: calc(${(e(de)?e(M).x:100-e(M).x)??""}cqw - 0.25rem)`),h(c,"data-vessel-tag",e(K)?"standing":"hover"),f(w,e(A).shortTitle),f(o,` · ${_[e(M).blip.signal]}`)},[()=>encodeURIComponent(e(A).id),()=>gt(e(M).blip.lane)]),ze(1,le,()=>ea),ze(2,se,()=>Je),i(V,se)}),n(pe);var ye=t(pe,2);Z(ye,17,()=>e(m).more,V=>V.x,(V,M)=>{var A=La(),de=k(A);b(K=>{h(A,"href",`/projects/${K??""}`),Te(A,`left: ${e(M).x??""}%`),h(A,"title",`${e(M).count??""} more in ${e(m).project.name??""}`),h(A,"aria-label",`${e(M).count??""} more in ${e(m).project.name??""}`),f(de,`+${e(M).count??""}`)},[()=>encodeURIComponent(e(m).project.id)]),i(V,A)}),n(_e),n(G),b(V=>{ee(G,1,`relative flex border-t border-hair/60 transition-[height] duration-300 first:border-t-0 focus-within:z-10 hover:z-10 ${e(m).labelled?"h-11":"h-7"}`),h(G,"data-chart-row",e(m).project.id),h(ge,"href",`/projects/${V??""}`),h(ge,"title",e(j)?.full??e(m).project.name),f(xe,e(j)?.label??e(m).project.name),Te(ce,`width: ${e(m).reach??""}%`),h(pe,"aria-label",`${e(m).project.name??""}, ${e(m).vessels.length??""} on the chart`)},[()=>encodeURIComponent(e(m).project.id)]),Ue(G,()=>Fe,()=>({duration:tt()?0:et.panel})),ze(1,G,()=>at),ze(2,G,()=>Je),i(z,G)}),n(U),n(I),n(C),i(X,C),Re()}var Ra=p("<span></span>"),Ea=p('<span class="inline-flex shrink-0 items-center gap-2"><span class="flex gap-0.5" aria-hidden="true"></span> <span> </span></span>');function Na(X,s){Ae(s,!0);const g=v(()=>s.task.passage),_=v(()=>e(g).steps[e(g).current]),O=v(()=>e(_)?.failed?"trouble":Ze(s.task)),N=v(()=>e(O)==="trouble"?"bg-danger":e(O)==="you"?"bg-sea":"bg-foreground/70"),q=v(()=>e(O)==="trouble"?"text-danger":e(O)==="you"?"text-sea":"text-muted-foreground");var C=pt(),B=Le(C);{var Y=W=>{var I=Ea(),S=d(I);Z(S,23,()=>e(g).steps,U=>U.key,(U,z,m)=>{var j=Ra();b(()=>ee(j,1,`h-1.5 w-2.5 rounded-full ${(e(m)<e(g).current?"bg-foreground/35":e(m)===e(g).current?e(N):"bg-foreground/10")??""}`)),i(U,j)}),n(S);var $=t(S,2),y=k($);n(I),b(()=>{h(I,"title",`Step ${e(g).current+1} of ${e(g).steps.length??""}: ${e(_).label??""}${e(_).failed?", failed":""}`),ee($,1,`text-xs whitespace-nowrap ${e(q)??""}`),f(y,`${e(_).label??""}${e(_).failed?" failed":""}`)}),i(W,I)};H(B,W=>{e(_)&&W(Y)})}i(X,C),Re()}var Da=p('<span class="project-tile mt-1.5" aria-hidden="true"> </span>'),Oa=p('<span class="block font-sans text-xs font-normal text-muted-foreground"> </span>'),Wa=p('<p class="mt-1 flex items-center gap-1 text-xs text-brass" data-project-second-mates=""><!> </p>'),Pa=p('<a class="relative z-10 mt-4 flex items-start gap-3 rounded-md border border-l-4 border-sea/40 border-l-sea bg-sea/5 px-3 py-2.5 hover:bg-sea/10"><!> <span class="min-w-0 flex-1"><span class="block font-medium"> </span> <span class="block text-xs text-muted-foreground"> </span></span> <!></a>'),Ua=p('<a class="relative z-10 mt-4 flex items-start gap-3 rounded-md border border-l-4 border-danger/40 border-l-danger bg-danger/5 px-3 py-2.5 hover:bg-danger/10"><!> <span class="min-w-0 flex-1"><span class="block font-medium"> </span> <span class="line-clamp-2 block text-xs text-muted-foreground"> </span></span></a>'),Fa=p("<a><!> </a>"),Ha=p('<li class="flex items-center justify-between gap-3 text-sm"><a class="relative z-10 min-w-0 truncate hover:underline"> </a> <!></li>'),Ba=p('<ul class="mt-1.5 space-y-2"></ul>'),Va=p('<p class="mt-1.5 text-sm text-muted-foreground"> </p>'),Ka=p(' <span class="text-muted-foreground"> </span>',1),Ya=p('Nothing landed this week. <span class="text-muted-foreground"> </span>',1),Ga=p('<span class="text-muted-foreground">Nothing has landed yet.</span>'),Qa=p('<article class="surface relative flex min-w-0 flex-col p-5 transition-colors hover:border-foreground/30"><div class="flex items-start gap-3"><!> <h2 class="min-w-0 flex-1 font-display text-[1.4rem] leading-tight font-medium [overflow-wrap:anywhere]"><a class="after:absolute after:inset-0 after:rounded-lg focus-visible:underline focus-visible:outline-none"><!> </a></h2> <!></div> <!> <!> <h3 class="mt-4 text-xs font-medium tracking-wide text-muted-foreground uppercase">Under way</h3> <!> <!> <p class="mt-4 mb-5 flex items-start gap-2 text-sm"><!> <span class="min-w-0"><!></span></p> <div class="mt-auto flex items-center gap-3 border-t border-hair pt-3 text-xs text-muted-foreground"><!> <span class="ml-auto text-right"> </span></div></article>');function Xa(X,s){Ae(s,!0);const g=v(()=>s.berth.project),_=v(()=>`/projects/${encodeURIComponent(e(g).id)}`),O=a=>`/tasks/${encodeURIComponent(a.id)}`,N=v(()=>s.berth.yourMove[0]??null),q=v(()=>e(N)?null:s.berth.heldUp[0]??null),C=v(()=>[...s.berth.heldUp,...s.berth.moving].filter(a=>a!==e(q))),B=a=>a.attention?.kind==="decision"?"Decide":a.attention?.approved?"Merge":"Review",Y=a=>{const l=a?Nt(a):null;return l===null?null:Xe(new Date(l).toISOString(),s.now)},W=v(()=>ft(s.berth.landings,s.now,ht)),I=(a,l,u)=>`${a} ${a===1?l:u}`,S=v(()=>[s.berth.openPullRequests?I(s.berth.openPullRequests,"open pull request","open pull requests"):null,s.berth.lastActivity===null?"No activity yet":`Last activity ${Xe(new Date(s.berth.lastActivity).toISOString(),s.now)}`].filter(Boolean).join(" · "));var $=Qa(),y=d($),U=d(y);{var z=a=>{var l=Da(),u=k(l,!0);b(()=>{h(l,"data-hue",s.label.hue),f(u,s.label.monogram)}),i(a,l)};H(U,a=>{s.label&&a(z)})}var m=t(U,2),j=d(m),G=d(j);{var ge=a=>{var l=Oa(),u=k(l,!0);b(()=>f(u,s.label.group)),i(a,l)};H(G,a=>{s.label?.group&&a(ge)})}var ve=t(G,1,!0);n(j),n(m);var P=t(m,2);Bt(P,{get state(){return s.berth.state}}),n(y);var te=t(y,2);{var xe=a=>{var l=Wa(),u=d(l);xt(u,{class:"size-3.5","aria-hidden":"true"});var x=t(u);n(l),b(R=>f(x,`Work on second ${e(g).secondMates.length===1?"mate":"mates"}
1
+ import"../chunks/DsnmJJEf.js";import{p as Ae,i as d,o as k,s as t,g as e,t as b,a as i,r as n,d as f,b as Re,h as v,bw as ut,n as kt,a7 as vt,a8 as $t,c as p,j as pt,f as Le,k as jt,v as $e,u as qt,z as Me,af as rt,x as zt,l as De,w as Ye,av as Mt,bx as St,e as Tt,$ as Lt}from"../chunks/BOY9WARo.js";import{s as Oe,r as We,p as Ge,i as H}from"../chunks/DnDesMxN.js";import{e as Z,i as Ct,s as h,a as ee,c as It,m as At,d as Te,h as Rt}from"../chunks/BRuDnHyc.js";import{c as Et}from"../chunks/BV-FSL0u.js";import{I as Pe,t as ze,a as Ue}from"../chunks/BbU5AsRD.js";import{p as Be}from"../chunks/DQEmyAe4.js";import{c as Nt,e as Dt,d as Ot,f as Wt,h as Pt,p as Ut,a as Ft}from"../chunks/WKkbnawS.js";import{c as Ht,l as Se}from"../chunks/Bl1tMgf8.js";import{r as mt,L as Qe,l as gt,P as Bt,d as ft,s as st,a as nt,A as ht,S as Ve,c as Ke,t as Vt,e as Kt,b as Yt,f as Gt,g as ot,F as lt,h as Qt,i as it}from"../chunks/C0nIjZ3F.js";import{a as Xe,w as Xt,c as Jt}from"../chunks/BXF1nDhR.js";import{f as Fe}from"../chunks/DCbu051o.js";import{a as Zt,p as ea,f as Je,M as et,b as tt,r as at}from"../chunks/CNcEb8rI.js";import{S as xt,a as Ze,t as ta,d as aa}from"../chunks/DkG1ReNq.js";import{M as ra}from"../chunks/BSMH3sl_.js";import{C as sa}from"../chunks/CaaP7Cfy.js";import{H as na}from"../chunks/BQle5rwK.js";import{A as bt}from"../chunks/BKSx-wDn.js";import{T as oa}from"../chunks/DgOhqfdF.js";import{o as la}from"../chunks/Blj84s6L.js";import{b as ia}from"../chunks/4VJeJzd5.js";import{c as da,f as ca}from"../chunks/B-JNrTge.js";import{C as dt}from"../chunks/DdRufa9N.js";var ua=new Set(["$$slots","$$events","$$legacy"]);function va(X,s){let g=We(s,ua);const _={name:"layout-grid",size:24,node:[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1"}]]};Pe(X,Oe(()=>g,{get icon(){return _}}))}var pa=new Set(["$$slots","$$events","$$legacy"]);function ma(X,s){let g=We(s,pa);const _={name:"radar",size:24,node:[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34"}],["path",{d:"M4 6h.01"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67"}],["path",{d:"M12 18h.01"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67"}],["circle",{cx:"12",cy:"12",r:"2"}],["path",{d:"m13.41 10.59 5.66-5.66"}]]};Pe(X,Oe(()=>g,{get icon(){return _}}))}var ga=new Set(["$$slots","$$events","$$legacy"]);function fa(X,s){let g=We(s,ga);const _={name:"shield-alert",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}],["path",{d:"M12 8v4"}],["path",{d:"M12 16h.01"}]]};Pe(X,Oe(()=>g,{get icon(){return _}}))}var ha=new Set(["$$slots","$$events","$$legacy"]);function xa(X,s){let g=We(s,ha);const _={name:"waypoints",size:24,node:[["path",{d:"m10.586 5.414-5.172 5.172"}],["path",{d:"m18.586 13.414-5.172 5.172"}],["path",{d:"M6 12h12"}],["circle",{cx:"12",cy:"20",r:"2"}],["circle",{cx:"12",cy:"4",r:"2"}],["circle",{cx:"20",cy:"12",r:"2"}],["circle",{cx:"4",cy:"12",r:"2"}]]};Pe(X,Oe(()=>g,{get icon(){return _}}))}const ba=4,_a=["you","stuck"],ct=100/Qe.length;function wa(X,s,g){const _=[];for(const O of X){const N=s.filter(S=>S.projectId===O.project.id),q=mt(N,g),C=[],B=[];if(q.lanes.forEach((S,$)=>{const y=S.blips.slice(0,ba),U=S.blips.length-y.length,z=y.length+(U?1:0),m=j=>$*ct+(j+1)/(z+1)*ct;y.forEach((j,G)=>C.push({blip:j,x:m(G)})),U&&B.push({x:m(y.length),count:U})}),!C.length)continue;const Y=C.filter(S=>S.blip.lane!=="landed"),W=_a.flatMap(S=>C.filter($=>$.blip.signal===S))[0],I=new Map;for(const S of q.lanes.flatMap($=>$.blips)){const $=S.task.secondMate;$&&I.set($.id,$)}_.push({project:O.project,vessels:C,more:B,reach:Y.length?Math.max(...Y.map(S=>S.x)):0,labelled:W?.blip.id??null,mates:[...I.values()]})}return{rows:_}}var ya=ut('<rect rx="1"></rect>'),ka=ut('<svg role="img" class="shrink-0"><title> </title><!></svg>');function _t(X,s){Ae(s,!0);let g=Ge(s,"width",3,112),_=Ge(s,"height",3,22);const O=v(()=>s.commits??s.landed),N=v(()=>Math.max(4,...e(O))),q=v(()=>g()/e(O).length),C=$=>$.reduce((y,U)=>y+U,0),B=v(()=>`${s.commits?`${C(s.commits)} commits and `:""}${C(s.landed)} landed in the last two weeks`);var Y=ka(),W=d(Y),I=k(W,!0),S=t(W);Z(S,17,()=>e(O),Ct,($,y,U)=>{const z=v(()=>e(y)?Math.max(2,e(y)/e(N)*(_()-2)):1);var m=ya();b(j=>{h(m,"x",U*e(q)+1),h(m,"y",_()-e(z)),h(m,"width",j),h(m,"height",e(z)),ee(m,0,It(s.landed[U]?"fill-foreground/70":e(y)?"fill-foreground/25":"fill-foreground/10"))},[()=>Math.max(2,e(q)-3)]),i($,m)}),n(Y),b(()=>{h(Y,"width",g()),h(Y,"height",_()),h(Y,"viewBox",`0 0 ${g()??""} ${_()??""}`),h(Y,"aria-label",e(B)),f(I,e(B))}),i(X,Y),Re()}var $a=p('<span aria-hidden="true"></span>'),ja=p('<li class="flex items-center gap-1.5"><!> </li>'),qa=p("<div></div>"),za=p('<span class="truncate pl-1.5 tracking-wide [font-variant-caps:all-small-caps]"> </span>'),Ma=p('<span class="project-tile" aria-hidden="true"> </span>'),Sa=p('<span class="shrink-0 text-brass max-sm:hidden"><!><span class="sr-only"> </span></span>'),Ta=p('<li class="absolute top-3.5 -translate-x-1/2 -translate-y-1/2 transition-[left,opacity] duration-700 ease-out focus-within:z-20 hover:z-20"><a class="group relative flex items-center rounded-full p-1.5 outline-none focus-visible:ring-2 focus-visible:ring-ring"><span><!></span> <span aria-hidden="true"> <span class="text-muted-foreground"> </span></span></a></li>'),La=p('<a class="tabular absolute top-3.5 -translate-x-1/2 -translate-y-1/2 rounded-sm px-1 text-[11px] text-muted-foreground hover:bg-muted hover:text-foreground"> </a>'),Ca=p('<li><a class="flex h-7 w-9 min-w-0 shrink-0 items-center gap-2 pr-2 text-sm hover:underline sm:w-44"><!> <span class="min-w-0 truncate max-sm:sr-only"> </span> <!></a> <div class="@container relative h-full flex-1"><span class="absolute inset-x-0 top-3.5 border-t border-dotted border-foreground/15" aria-hidden="true"></span> <span class="absolute top-3.5 left-0 h-px -translate-y-px bg-foreground/30 transition-[width] duration-700 ease-out" aria-hidden="true"></span> <ul></ul> <!></div></li>'),Ia=p('<section class="surface mt-6 px-4 pt-3 pb-2 sm:px-5" aria-labelledby="fleet-chart" data-fleet-chart=""><div class="flex flex-wrap items-baseline justify-between gap-x-6 gap-y-1"><h2 id="fleet-chart" class="section-label">The fleet</h2> <ul class="flex flex-wrap gap-x-4 gap-y-1 text-xs text-muted-foreground max-md:hidden" aria-label="Key"><!> <li class="flex items-center gap-1.5"><span class="block size-2.5 rounded-full outline-1 outline-offset-2 outline-brass outline-dashed" aria-hidden="true"></span> Second mate</li></ul></div> <div class="relative mt-2"><div class="pointer-events-none absolute inset-y-0 right-0 left-9 grid grid-cols-5 sm:left-44" aria-hidden="true"></div> <div class="flex text-xs text-muted-foreground" aria-hidden="true"><span class="w-9 shrink-0 sm:w-44"></span> <span class="grid flex-1 grid-cols-5"></span></div> <ol aria-label="Work by project"></ol></div></section>');function Aa(X,s){Ae(s,!0);const g=(z,m=vt)=>{var j=$a();b(()=>ee(j,1,`relative block size-2.5 ${O[m()]??""}`)),i(z,j)},_={you:"waiting on you",stuck:"held up",firstmate:"with Firstmate",busy:"working now",idle:"under way",landed:"landed"},O={busy:"rounded-full bg-foreground",idle:"rounded-full border-[1.5px] border-foreground/60 bg-card",firstmate:"rounded-full border-[1.5px] border-foreground/60 bg-card",you:"rounded-full bg-amber ring-[3px] ring-amber/30",stuck:"rotate-45 rounded-[1px] bg-danger",landed:"rounded-full bg-success"},N={you:"text-warning",stuck:"text-danger"},q=[["busy","Working"],["idle","Under way"],["you","Waiting on you"],["stuck","Held up"],["landed","Landed"]];var C=Ia(),B=d(C),Y=t(d(B),2),W=d(Y);Z(W,17,()=>q,([z,m])=>z,(z,m)=>{var j=v(()=>$t(e(m),2));let G=()=>e(j)[0],ge=()=>e(j)[1];var ve=ja(),P=d(ve);g(P,G);var te=t(P,1,!0);n(ve),b(()=>f(te,ge())),i(z,ve)}),kt(2),n(Y),n(B);var I=t(B,2),S=d(I);Z(S,21,()=>Qe,z=>z.key,(z,m)=>{var j=qa();b(()=>ee(j,1,`border-l border-dashed border-brass/30 ${e(m).key==="landed"?"bg-gradient-to-r from-success/[0.06] to-transparent":""}`)),i(z,j)}),n(S);var $=t(S,2),y=t(d($),2);Z(y,21,()=>Qe,z=>z.key,(z,m)=>{var j=za(),G=k(j,!0);b(()=>f(G,e(m).label)),i(z,j)}),n(y),n($);var U=t($,2);Z(U,29,()=>s.chart.rows,z=>z.project.id,(z,m)=>{const j=v(()=>s.labels.get(e(m).project.id));var G=Ca(),ge=d(G),ve=d(ge);{var P=V=>{var M=Ma(),A=k(M,!0);b(()=>{h(M,"data-hue",e(j).hue),f(A,e(j).monogram)}),i(V,M)};H(ve,V=>{e(j)&&V(P)})}var te=t(ve,2),xe=k(te,!0),be=t(te,2);Z(be,17,()=>e(m).mates,V=>V.id,(V,M)=>{var A=Sa(),de=d(A);xt(de,{class:"size-3.5","aria-hidden":"true"});var K=t(de),se=k(K);n(A),b(()=>{h(A,"title",e(M).where==="remote"?`Work on second mate ${e(M).id}, on ${e(M).host??"another host"}`:`Work on second mate ${e(M).id}, on this computer`),h(A,"data-chart-mate",e(M).id),f(se,`, work on second mate ${e(M).id??""}`)}),i(V,A)}),n(ge);var _e=t(ge,2),ce=t(d(_e),2),pe=t(ce,2);Z(pe,21,()=>e(m).vessels,V=>V.blip.id,(V,M)=>{const A=v(()=>e(M).blip.task),de=v(()=>e(M).x>60),K=v(()=>e(m).labelled===e(M).blip.id);var se=Ta(),ue=d(se),le=d(ue),fe=d(le);g(fe,()=>e(M).blip.signal),n(le),At(le,()=>Zt(e(A).status==="landed","wh-landed"));var c=t(le,2),w=d(c,!0),r=t(w),o=k(r,!0);n(c),n(ue),n(se),b((D,a)=>{Te(se,`left: ${e(M).x??""}%; opacity: ${e(M).blip.opacity??""}`),h(ue,"href",`/tasks/${D??""}`),h(ue,"aria-label",`${e(A).shortTitle??""}: ${a??""}${e(M).blip.signal==="landed"?"":`, ${_[e(M).blip.signal]}`}${e(A).secondMate?`, on second mate ${e(A).secondMate.id}`:""}`),h(ue,"data-vessel",e(A).id),ee(le,1,`relative block rounded-full transition-transform duration-150 group-hover:scale-125 group-focus-visible:scale-125 ${e(A).secondMate?"outline-1 outline-offset-2 outline-brass outline-dashed":""}`),ee(c,1,`pointer-events-none absolute top-full -mt-0.5 rounded-sm px-1.5 text-xs leading-5 whitespace-nowrap ${e(de)?"right-0":"left-0"} ${e(K)?`max-w-[min(16rem,var(--room))] truncate ${N[e(M).blip.signal]??""} group-hover:max-w-none group-hover:border group-hover:border-hair group-hover:bg-popover group-hover:shadow-sm group-focus-visible:max-w-none`:"hidden border border-hair bg-popover text-popover-foreground shadow-sm group-hover:block group-focus-visible:block"}`),Te(c,`--room: calc(${(e(de)?e(M).x:100-e(M).x)??""}cqw - 0.25rem)`),h(c,"data-vessel-tag",e(K)?"standing":"hover"),f(w,e(A).shortTitle),f(o,` · ${_[e(M).blip.signal]}`)},[()=>encodeURIComponent(e(A).id),()=>gt(e(M).blip.lane)]),ze(1,le,()=>ea),ze(2,se,()=>Je),i(V,se)}),n(pe);var ye=t(pe,2);Z(ye,17,()=>e(m).more,V=>V.x,(V,M)=>{var A=La(),de=k(A);b(K=>{h(A,"href",`/projects/${K??""}`),Te(A,`left: ${e(M).x??""}%`),h(A,"title",`${e(M).count??""} more in ${e(m).project.name??""}`),h(A,"aria-label",`${e(M).count??""} more in ${e(m).project.name??""}`),f(de,`+${e(M).count??""}`)},[()=>encodeURIComponent(e(m).project.id)]),i(V,A)}),n(_e),n(G),b(V=>{ee(G,1,`relative flex border-t border-hair/60 transition-[height] duration-300 first:border-t-0 focus-within:z-10 hover:z-10 ${e(m).labelled?"h-11":"h-7"}`),h(G,"data-chart-row",e(m).project.id),h(ge,"href",`/projects/${V??""}`),h(ge,"title",e(j)?.full??e(m).project.name),f(xe,e(j)?.label??e(m).project.name),Te(ce,`width: ${e(m).reach??""}%`),h(pe,"aria-label",`${e(m).project.name??""}, ${e(m).vessels.length??""} on the chart`)},[()=>encodeURIComponent(e(m).project.id)]),Ue(G,()=>Fe,()=>({duration:tt()?0:et.panel})),ze(1,G,()=>at),ze(2,G,()=>Je),i(z,G)}),n(U),n(I),n(C),i(X,C),Re()}var Ra=p("<span></span>"),Ea=p('<span class="inline-flex shrink-0 items-center gap-2"><span class="flex gap-0.5" aria-hidden="true"></span> <span> </span></span>');function Na(X,s){Ae(s,!0);const g=v(()=>s.task.passage),_=v(()=>e(g).steps[e(g).current]),O=v(()=>e(_)?.failed?"trouble":Ze(s.task)),N=v(()=>e(O)==="trouble"?"bg-danger":e(O)==="you"?"bg-sea":"bg-foreground/70"),q=v(()=>e(O)==="trouble"?"text-danger":e(O)==="you"?"text-sea":"text-muted-foreground");var C=pt(),B=Le(C);{var Y=W=>{var I=Ea(),S=d(I);Z(S,23,()=>e(g).steps,U=>U.key,(U,z,m)=>{var j=Ra();b(()=>ee(j,1,`h-1.5 w-2.5 rounded-full ${(e(m)<e(g).current?"bg-foreground/35":e(m)===e(g).current?e(N):"bg-foreground/10")??""}`)),i(U,j)}),n(S);var $=t(S,2),y=k($);n(I),b(()=>{h(I,"title",`Step ${e(g).current+1} of ${e(g).steps.length??""}: ${e(_).label??""}${e(_).failed?", failed":""}`),ee($,1,`text-xs whitespace-nowrap ${e(q)??""}`),f(y,`${e(_).label??""}${e(_).failed?" failed":""}`)}),i(W,I)};H(B,W=>{e(_)&&W(Y)})}i(X,C),Re()}var Da=p('<span class="project-tile mt-1.5" aria-hidden="true"> </span>'),Oa=p('<span class="block font-sans text-xs font-normal text-muted-foreground"> </span>'),Wa=p('<p class="mt-1 flex items-center gap-1 text-xs text-brass" data-project-second-mates=""><!> </p>'),Pa=p('<a class="relative z-10 mt-4 flex items-start gap-3 rounded-md border border-l-4 border-sea/40 border-l-sea bg-sea/5 px-3 py-2.5 hover:bg-sea/10"><!> <span class="min-w-0 flex-1"><span class="block font-medium"> </span> <span class="block text-xs text-muted-foreground"> </span></span> <!></a>'),Ua=p('<a class="relative z-10 mt-4 flex items-start gap-3 rounded-md border border-l-4 border-danger/40 border-l-danger bg-danger/5 px-3 py-2.5 hover:bg-danger/10"><!> <span class="min-w-0 flex-1"><span class="block font-medium"> </span> <span class="line-clamp-2 block text-xs text-muted-foreground"> </span></span></a>'),Fa=p("<a><!> </a>"),Ha=p('<li class="flex items-center justify-between gap-3 text-sm"><a class="relative z-10 min-w-0 truncate hover:underline"> </a> <!></li>'),Ba=p('<ul class="mt-1.5 space-y-2"></ul>'),Va=p('<p class="mt-1.5 text-sm text-muted-foreground"> </p>'),Ka=p(' <span class="text-muted-foreground"> </span>',1),Ya=p('Nothing landed this week. <span class="text-muted-foreground"> </span>',1),Ga=p('<span class="text-muted-foreground">Nothing has landed yet.</span>'),Qa=p('<article class="surface relative flex min-w-0 flex-col p-5 transition-colors hover:border-foreground/30"><div class="flex items-start gap-3"><!> <h2 class="min-w-0 flex-1 font-display text-[1.4rem] leading-tight font-medium [overflow-wrap:anywhere]"><a class="after:absolute after:inset-0 after:rounded-lg focus-visible:underline focus-visible:outline-none"><!> </a></h2> <!></div> <!> <!> <h3 class="mt-4 text-xs font-medium tracking-wide text-muted-foreground uppercase">Under way</h3> <!> <!> <p class="mt-4 mb-5 flex items-start gap-2 text-sm"><!> <span class="min-w-0"><!></span></p> <div class="mt-auto flex items-center gap-3 border-t border-hair pt-3 text-xs text-muted-foreground"><!> <span class="ml-auto text-right"> </span></div></article>');function Xa(X,s){Ae(s,!0);const g=v(()=>s.berth.project),_=v(()=>`/projects/${encodeURIComponent(e(g).id)}`),O=a=>`/tasks/${encodeURIComponent(a.id)}`,N=v(()=>s.berth.yourMove[0]??null),q=v(()=>e(N)?null:s.berth.heldUp[0]??null),C=v(()=>[...s.berth.heldUp,...s.berth.moving].filter(a=>a!==e(q))),B=a=>a.attention?.kind==="decision"?"Decide":a.attention?.approved?"Merge":"Review",Y=a=>{const l=a?Nt(a):null;return l===null?null:Xe(new Date(l).toISOString(),s.now)},W=v(()=>ft(s.berth.landings,s.now,ht)),I=(a,l,u)=>`${a} ${a===1?l:u}`,S=v(()=>[s.berth.openPullRequests?I(s.berth.openPullRequests,"open pull request","open pull requests"):null,s.berth.lastActivity===null?"No activity yet":`Last activity ${Xe(new Date(s.berth.lastActivity).toISOString(),s.now)}`].filter(Boolean).join(" · "));var $=Qa(),y=d($),U=d(y);{var z=a=>{var l=Da(),u=k(l,!0);b(()=>{h(l,"data-hue",s.label.hue),f(u,s.label.monogram)}),i(a,l)};H(U,a=>{s.label&&a(z)})}var m=t(U,2),j=d(m),G=d(j);{var ge=a=>{var l=Oa(),u=k(l,!0);b(()=>f(u,s.label.group)),i(a,l)};H(G,a=>{s.label?.group&&a(ge)})}var ve=t(G,1,!0);n(j),n(m);var P=t(m,2);Bt(P,{get state(){return s.berth.state}}),n(y);var te=t(y,2);{var xe=a=>{var l=Wa(),u=d(l);xt(u,{class:"size-3.5","aria-hidden":"true"});var x=t(u);n(l),b(R=>f(x,`Work on second ${e(g).secondMates.length===1?"mate":"mates"}
2
2
  ${R??""}`),[()=>e(g).secondMates.join(", ")]),i(a,l)};H(te,a=>{e(g).secondMates?.length&&a(xe)})}var be=t(te,2);{var _e=a=>{var l=Pa(),u=d(l);na(u,{class:"mt-1 size-4 shrink-0 text-sea","aria-hidden":"true"});var x=t(u,2),R=d(x),Q=k(R),L=t(R,2),F=k(L);n(x);var J=t(x,2);bt(J,{class:"mt-1 size-4 shrink-0 text-sea","aria-hidden":"true"}),n(l),b((ae,T,ne,ie)=>{h(l,"href",ae),f(Q,`${T??""}: ${e(N).shortTitle??""}`),f(F,`${ne??""}${ie??""}${s.berth.yourMove.length>1?` And ${s.berth.yourMove.length-1} more.`:""}`)},[()=>O(e(N)),()=>B(e(N)),()=>e(N).attention?.text?`${st(e(N).attention.text)}.`:"Waiting on you.",()=>nt("Waiting",e(N),s.now)]),i(a,l)},ce=a=>{const l=v(()=>e(q).passage.steps[e(q).passage.current]);var u=Ua(),x=d(u);oa(x,{class:"mt-1 size-4 shrink-0 text-danger","aria-hidden":"true"});var R=t(x,2),Q=d(R),L=k(Q,!0),F=t(Q,2),J=k(F);n(R),n(u),b((ae,T,ne)=>{h(u,"href",ae),f(L,e(q).shortTitle),f(J,`${T??""}${ne??""}${e(q).summary?` ${e(q).summary}`:""}`)},[()=>O(e(q)),()=>e(l)?.failed?`${e(l).label} failed.`:`${st(e(q).statusLabel)}.`,()=>nt("Held up",e(q),s.now)]),i(a,u)},pe=a=>{var l=Fa(),u=d(l);{let R=v(()=>e(g).passage.problems?"text-danger":"text-sea");fa(u,{get class(){return`size-4 shrink-0 ${e(R)??""}`},"aria-hidden":"true"})}var x=t(u);n(l),b(()=>{h(l,"href",`${e(_)??""}/passage`),ee(l,1,`relative z-10 mt-4 flex items-center gap-3 rounded-md border border-l-4 px-3 py-2.5 text-sm ${e(g).passage.problems?"border-danger/40 border-l-danger bg-danger/5 hover:bg-danger/10":"border-sea/40 border-l-sea bg-sea/5 hover:bg-sea/10"}`),f(x,` ${e(g).passage.problems?"Its passage file has problems.":"Its passage checks need enabling."}`)}),i(a,l)};H(be,a=>{e(N)?a(_e):e(q)?a(ce,1):(e(g).passage?.problems||e(g).passage?.needsConsent)&&a(pe,2)})}var ye=t(be,4);{var V=a=>{var l=Ba();Z(l,29,()=>e(C).slice(0,3),u=>u.id,(u,x)=>{var R=Ha(),Q=d(R),L=k(Q,!0),F=t(Q,2);Na(F,{get task(){return e(x)}}),n(R),b(J=>{h(Q,"href",J),f(L,e(x).shortTitle)},[()=>O(e(x))]),Ue(R,()=>Fe,()=>({duration:tt()?0:et.panel})),ze(1,R,()=>at),i(u,R)}),n(l),i(a,l)};H(ye,a=>{e(C).length&&a(V)})}var M=t(ye,2);{var A=a=>{var l=Va(),u=k(l,!0);b(x=>f(u,x),[()=>[e(C).length>3?`${e(C).length-3} more under way.`:e(C).length?null:e(N)||e(q)?"Nothing else under way.":"Nothing under way.",s.berth.queued.length?`${s.berth.queued.length} queued.`:null].filter(Boolean).join(" ")]),i(a,l)};H(M,a=>{(!e(C).length||e(C).length>3||s.berth.queued.length)&&a(A)})}var de=t(M,2),K=d(de);sa(K,{class:"mt-1 size-4 shrink-0 text-success","aria-hidden":"true"});var se=t(K,2),ue=d(se);{var le=a=>{var l=Ka(),u=Le(l),x=t(u),R=k(x);b(Q=>{f(u,`${s.berth.landed.length??""} landed this week. `),f(R,`Latest: ${s.berth.landed[0].shortTitle??""}, ${Q??""}.`)},[()=>Y(s.berth.landed[0])]),i(a,l)},fe=a=>{var l=Ya(),u=t(Le(l)),x=k(u);b(R=>f(x,`Last: ${s.berth.lastLanded.shortTitle??""}, ${R??""}.`),[()=>Y(s.berth.lastLanded)]),i(a,l)},c=a=>{var l=Ga();i(a,l)};H(ue,a=>{s.berth.landed.length?a(le):s.berth.lastLanded?a(fe,1):a(c,-1)})}n(se),n(de);var w=t(de,2),r=d(w);_t(r,{get commits(){return s.commits},get landed(){return e(W)}});var o=t(r,2),D=k(o,!0);n(w),n($),b(()=>{h($,"aria-labelledby",`berth-${e(g).id??""}`),h($,"data-project",e(g).id),h(m,"id",`berth-${e(g).id??""}`),h(m,"title",s.label?.full??e(g).name),h(j,"href",e(_)),f(ve,s.label?.label??e(g).name),f(D,e(S))}),i(X,$),Re()}var Ja=p('<span class="text-center"> </span>'),Za=p("<span></span>"),er=p('<span class="size-1.5 rounded-full bg-background"></span>'),tr=p("<span><!></span>"),ar=p('<span class="relative z-10 size-2 rounded-full border border-dashed border-muted-foreground/40 bg-background"></span>'),rr=p('<span class="relative z-10 size-2 rounded-full bg-foreground/50"></span>'),sr=p('<span class="relative z-10 size-2 rounded-full border border-border bg-background"></span>'),nr=p('<div class="relative flex h-6 items-center justify-center"><!> <!></div>'),or=p('<a class="grid items-center rounded-lg py-3 hover:bg-accent/50"><div class="min-w-0 pr-4 pl-2"><p class="truncate font-medium"> </p> <p> </p></div> <!></a>'),lr=p('<h2 class="pt-6 pb-2 text-sm font-medium"> </h2> <!>',1),ir=p('<div class="overflow-x-auto"><div class="min-w-[52rem]"><div class="grid border-b pb-2 text-xs text-muted-foreground"><span></span> <!></div> <!></div></div>');function dr(X,s){Ae(s,!0);const g=v(()=>Dt(s.tasks)),_=v(()=>`minmax(12rem,18rem) repeat(${e(g).length}, minmax(0,1fr))`),O=W=>(Ze(W)==="you"?-10:0)-Ot(W);var N=ir(),q=d(N),C=d(q),B=t(d(C),2);Z(B,17,()=>e(g),W=>W.key,(W,I)=>{var S=Ja(),$=k(S,!0);b(()=>f($,e(I).label)),i(W,S)}),n(C);var Y=t(C,2);Z(Y,17,()=>s.projects,W=>W.id,(W,I)=>{const S=v(()=>s.tasks.filter(z=>z.projectId===e(I).id).toSorted((z,m)=>O(z)-O(m)));var $=pt(),y=Le($);{var U=z=>{var m=lr(),j=Le(m),G=k(j,!0),ge=t(j,2);Z(ge,17,()=>e(S),ve=>ve.id,(ve,P)=>{const te=v(()=>Ze(e(P))),xe=v(()=>new Map(e(P).passage.steps.map((K,se)=>[K.column,{s:K,i:se}]))),be=v(()=>e(g).findIndex(K=>K.key===e(P).passage.steps[e(P).passage.current]?.column)),_e=v(()=>e(P).passage.steps[e(P).passage.current]?.failed??!1);var ce=or(),pe=d(ce),ye=d(pe),V=k(ye,!0),M=t(ye,2),A=k(M,!0);n(pe);var de=t(pe,2);Z(de,19,()=>e(g),K=>K.key,(K,se,ue)=>{const le=v(()=>e(xe).get(e(se).key));var fe=nr(),c=d(fe);{var w=u=>{var x=Za();b(()=>ee(x,1,`absolute top-1/2 right-1/2 left-[-50%] h-0.5 -translate-y-1/2 ${e(ue)<=e(be)?"bg-foreground/50":"bg-border"}`)),i(u,x)};H(c,u=>{e(ue)>0&&u(w)})}var r=t(c,2);{var o=u=>{var x=tr(),R=d(x);{var Q=L=>{var F=er();i(L,F)};H(R,L=>{e(te)==="you"&&L(Q)})}n(x),b(()=>ee(x,1,`relative z-10 grid size-5 place-items-center rounded-full ring-4 ring-background ${(e(_e)?"bg-danger":aa[e(te)])??""}`)),i(u,x)},D=u=>{var x=ar();i(u,x)},a=u=>{var x=rr();i(u,x)},l=u=>{var x=sr();i(u,x)};H(r,u=>{e(ue)===e(be)?u(o):!e(le)||e(le).s.state==="skipped"?u(D,1):e(le).s.state==="done"?u(a,2):u(l,-1)})}n(fe),b(()=>h(fe,"title",e(le)?.s.note??void 0)),i(K,fe)}),n(ce),b((K,se)=>{h(ce,"href",`/tasks/${K??""}`),Te(ce,`grid-template-columns: ${e(_)??""}`),h(ce,"aria-label",`${e(P).title??""}: ${e(P).passage.steps[e(P).passage.current]?.label??""}${e(_e)?" failed":""}, ${e(P).statusLabel??""}`),f(V,e(P).title),ee(M,1,`truncate text-xs ${(e(te)==="normal"||e(te)==="landed"?"text-muted-foreground":ta[e(te)])??""}`),f(A,se)},[()=>encodeURIComponent(e(P).id),()=>e(te)==="normal"?Xt(e(P).worker)??e(P).statusLabel:e(P).statusLabel]),i(ve,ce)}),b(()=>f(G,e(I).name)),i(z,m)};H(y,z=>{e(S).length&&z(U)})}i(W,$)}),n(q),n(N),b(()=>Te(C,`grid-template-columns: ${e(_)??""}`)),i(X,N),Re()}var cr=p('<span class="radar-ping absolute inset-0 rounded-full bg-sea svelte-1qpvlew"></span>'),ur=p('<span aria-hidden="true"><!> <span></span></span>'),vr=p('<li class="flex items-center gap-2 svelte-1qpvlew"><!> </li>'),pr=p('<li class="w-[6.25rem] svelte-1qpvlew"><button type="button"><!> <span class="line-clamp-2 w-full text-center text-xs leading-tight break-words svelte-1qpvlew"> </span></button></li>'),mr=p('<li class="radar-lane flex min-w-0 gap-3 border-t border-hair p-3 first:border-t-0 @4xl:flex-col @4xl:border-t-0 @4xl:border-l @4xl:first:border-l-0 svelte-1qpvlew"><div class="w-[8.5rem] shrink-0 @4xl:w-auto svelte-1qpvlew"><h3 class="radar-lane-label truncate svelte-1qpvlew"><span class="tabular text-brass svelte-1qpvlew" aria-hidden="true"> </span> </h3> <p class="mt-0.5 flex items-center gap-2 text-xs text-muted-foreground svelte-1qpvlew"><span class="tabular rounded-full bg-muted px-1.5 leading-5 font-medium text-foreground svelte-1qpvlew" aria-hidden="true"> </span> <span class="min-w-0 svelte-1qpvlew"> </span></p></div> <ul class="flex min-h-14 flex-1 flex-wrap content-start gap-x-1 gap-y-2 @4xl:min-h-[max(16rem,calc(100dvh-22rem))] svelte-1qpvlew"></ul></li>'),gr=p('<dt class="text-muted-foreground svelte-1qpvlew">In step</dt> <dd class="tabular svelte-1qpvlew"> </dd>',1),fr=p('<p class="mt-3 text-sm text-muted-foreground svelte-1qpvlew"> </p>'),hr=p('<div data-radar-card="" role="region" class="z-10 mt-3 rounded-md border border-hair bg-popover p-4 text-popover-foreground shadow-lg @4xl:absolute @4xl:mt-0 @4xl:w-80 svelte-1qpvlew"><p class="text-xs tracking-wide text-muted-foreground uppercase svelte-1qpvlew"> </p> <p class="mt-1 leading-snug font-medium svelte-1qpvlew"> </p> <dl class="mt-3 grid grid-cols-[auto_1fr] gap-x-3 gap-y-1 text-sm svelte-1qpvlew"><dt class="text-muted-foreground svelte-1qpvlew">Step</dt> <dd class="svelte-1qpvlew"> </dd> <dt class="text-muted-foreground svelte-1qpvlew">In lane</dt> <dd class="tabular svelte-1qpvlew"> </dd> <!> <dt class="text-muted-foreground svelte-1qpvlew">State</dt> <dd><!> </dd></dl> <!> <a class="mt-3 inline-flex items-center gap-1.5 text-sm font-medium text-sea hover:underline svelte-1qpvlew">Open the task<!></a></div>'),xr=p('<div class="flex flex-wrap items-center justify-between gap-x-6 gap-y-2 svelte-1qpvlew"><p class="text-sm text-muted-foreground svelte-1qpvlew"><span class="text-foreground svelte-1qpvlew" aria-live="polite"> </span> <!></p> <p class="flex items-center gap-2 text-sm text-muted-foreground svelte-1qpvlew" aria-live="off"><span aria-hidden="true"></span> </p></div> <ul class="mt-4 flex flex-wrap gap-x-5 gap-y-2 text-sm text-muted-foreground svelte-1qpvlew" aria-label="Key"></ul> <div class="@container relative mt-5 svelte-1qpvlew"><ol class="grid overflow-hidden rounded-md border border-hair @4xl:grid-cols-5 svelte-1qpvlew"></ol> <!></div>',1);function br(X,s){Ae(s,!0);const g=(r,o=vt,D)=>{let a=Mt(()=>St(D?.(),"size-3.5"));var l=ur(),u=d(l);{var x=Q=>{var L=cr();i(Q,L)};H(u,Q=>{o()==="busy"&&Q(x)})}var R=t(u,2);n(l),b(()=>{ee(l,1,`relative inline-flex shrink-0 ${e(a)??""}`,"svelte-1qpvlew"),ee(R,1,`relative block size-full ${ve[o()]??""}`,"svelte-1qpvlew")}),i(r,l)};let _=Ge(s,"connection",3,"open"),O=new Map;const N=v(()=>O=Vt(O,s.tasks,Date.now())),q=v(()=>mt(s.tasks,s.now,e(N))),C=r=>s.projects.find(o=>o.id===r)?.name??r;let B=De(!1);la(()=>{const r=window.matchMedia("(prefers-reduced-motion: reduce)");$e(B,r.matches,!0);const o=()=>$e(B,r.matches,!0);return r.addEventListener("change",o),()=>r.removeEventListener("change",o)});const[Y,W]=da({duration:()=>e(B)?0:700,fallback:r=>ca(r,{duration:e(B)?0:400})});let I=De(null),S=De(null),$=null;const y=v(()=>{const r=e(S)??e(I);return r?e(q).lanes.flatMap(o=>o.blips).find(o=>o.id===r)??null:null});function U(r){$&&clearTimeout($),$=null,$e(S,r,!0)}function z(){$&&clearTimeout($),$=setTimeout(()=>$e(S,null),160)}let m=De(null),j=De(null);qt(()=>{const r=e(y)?.id;if(e(q),!r||!e(m))return void $e(j,null);const o=()=>{const a=e(m)?.querySelector(`[data-blip="${CSS.escape(r)}"]`);if(!a||!e(m))return;const l=e(m).getBoundingClientRect(),u=a.getBoundingClientRect(),x=Math.min(320,l.width),R=Math.max(0,Math.min(u.left-l.left+u.width/2-x/2,l.width-x));$e(j,{left:R,top:u.bottom-l.top+6},!0)};o();const D=setTimeout(o,e(B)?0:750);return()=>clearTimeout(D)});function G(r){r.key==="Escape"&&($e(I,null),$e(S,null))}function ge(r){r.target?.closest?.("[data-blip], [data-radar-card]")||$e(I,null)}const ve={busy:"rounded-full bg-sea",idle:"rounded-full border-2 border-sea bg-card",you:"rounded-full bg-amber ring-[3px] ring-amber/35",stuck:"rotate-45 rounded-[2px] bg-danger",firstmate:"rounded-full border-2 border-brass bg-card",landed:"rounded-full bg-success"},P=["busy","idle","you","stuck","firstmate","landed"],te={busy:"text-sea",idle:"text-muted-foreground",you:"text-warning",stuck:"text-danger",firstmate:"text-muted-foreground",landed:"text-success"},xe=v(()=>e(q).lanes.reduce((r,o)=>r+o.blips.length,0)),be=v(()=>{const r=e(q).counts,o=[r.busy&&`${r.busy} busy`,r.you&&`${r.you} waiting on you`,r.stuck&&`${r.stuck} stuck`,r.firstmate&&`${r.firstmate} with Firstmate`,r.landed&&`${r.landed} landed in the last day`].filter(Boolean);return o.length?o.join(", "):"Nothing on the radar"});var _e=xr();Me("keydown",rt,G),Me("click",rt,ge);var ce=Le(_e),pe=d(ce),ye=d(pe),V=k(ye),M=t(ye,2);{var A=r=>{var o=Ye();b(()=>f(o,`${e(q).landedOlder??""} landed earlier ${e(q).landedOlder===1?"is":"are"} off the radar.`)),i(r,o)};H(M,r=>{e(q).landedOlder&&r(A)})}n(pe);var de=t(pe,2),K=d(de),se=t(K);n(de),n(ce);var ue=t(ce,2);Z(ue,20,()=>P,r=>r,(r,o)=>{var D=vr(),a=d(D);g(a,()=>o,()=>"size-3");var l=t(a,1,!0);n(D),b(()=>f(l,Ve[o])),i(r,D)}),n(ue);var le=t(ue,2),fe=d(le);Z(fe,23,()=>e(q).lanes,r=>r.key,(r,o,D)=>{var a=mr(),l=d(a),u=d(l),x=d(u),R=k(x,!0),Q=t(x);n(u);var L=t(u,2),F=d(L),J=k(F,!0),ae=t(F,2),T=k(ae,!0);n(L),n(l);var ne=t(l,2);Z(ne,29,()=>e(o).blips,ie=>ie.id,(ie,E)=>{var me=pr(),oe=d(me),qe=d(oe);g(qe,()=>e(E).signal,()=>"size-4");var ke=t(qe,2),Ce=k(ke,!0);n(oe),n(me),b((re,we)=>{Te(me,`opacity: ${e(E).opacity??""}`),h(oe,"data-blip",e(E).id),ee(oe,1,`flex w-full flex-col items-center gap-1.5 rounded-md px-1 py-1.5 outline-none hover:bg-muted/70 focus-visible:ring-2 focus-visible:ring-ring ${e(y)?.id===e(E).id?"bg-muted":""}`,"svelte-1qpvlew"),h(oe,"aria-label",`${e(E).task.shortTitle??""}: ${e(E).task.runs&&e(E).task.runs.current>1?`run ${e(E).task.runs.current}, `:""}${e(o).label??""}, ${re??""}${we??""}`),h(oe,"aria-expanded",e(y)?.id===e(E).id),f(Ce,e(E).task.shortTitle)},[()=>Ve[e(E).signal].toLowerCase(),()=>e(E).since===null?"":`, ${Ke(e(E).since,s.now)} in the lane`]),Me("pointerenter",oe,re=>re.pointerType==="mouse"&&U(e(E).id)),Me("pointerleave",oe,re=>re.pointerType==="mouse"&&z()),Me("focus",oe,()=>U(e(E).id)),Me("blur",oe,z),zt("click",oe,()=>$e(I,e(I)===e(E).id?null:e(E).id,!0)),ze(1,me,()=>W,()=>({key:e(E).id})),ze(2,me,()=>Y,()=>({key:e(E).id})),Ue(me,()=>Fe,()=>({duration:e(B)?0:500})),i(ie,me)}),n(ne),n(a),b(()=>{h(a,"aria-label",`${e(o).label??""}, ${e(o).blips.length??""}`),f(R,e(D)+1),f(Q,` ${e(o).label??""}`),f(J,e(o).blips.length),f(T,e(o).hint)}),i(r,a)}),n(fe);var c=t(fe,2);{var w=r=>{const o=v(()=>e(y).task),D=v(()=>e(o).passage.steps[e(o).passage.current]);var a=hr(),l=d(a),u=k(l,!0),x=t(l,2),R=k(x,!0),Q=t(x,2),L=t(d(Q),2),F=k(L),J=t(L,4),ae=k(J,!0),T=t(J,2);{var ne=re=>{var we=gr(),Ie=t(Le(we),2),Ee=k(Ie,!0);b(Ne=>f(Ee,Ne),[()=>Ke(e(y).stepSince,s.now)]),i(re,we)};H(T,re=>{e(y).stepSince!==null&&e(y).stepSince!==e(y).since&&re(ne)})}var ie=t(T,4),E=d(ie);g(E,()=>e(y).signal,()=>"size-2.5");var me=t(E,1,!0);n(ie),n(Q);var oe=t(Q,2);{var qe=re=>{var we=fr(),Ie=k(we,!0);b(()=>f(Ie,e(o).attention?.owner==="captain"?e(o).attention.text:e(o).activity?.text??e(o).summary)),i(re,we)};H(oe,re=>{(e(o).attention?.owner==="captain"||e(o).activity||e(o).summary)&&re(qe)})}var ke=t(oe,2),Ce=t(d(ke));bt(Ce,{class:"size-4","aria-hidden":"true"}),n(ke),n(a),b((re,we,Ie,Ee)=>{h(a,"aria-label",`${e(o).shortTitle??""} details`),Te(a,e(j)?`left: ${e(j).left}px; top: ${e(j).top}px`:void 0),f(u,re),f(R,e(o).shortTitle),f(F,`${e(o).runs&&e(o).runs.current>1?`Run ${e(o).runs.current} · `:""}${we??""}${e(D)?.failed?", failed":""}`),f(ae,Ie),ee(ie,1,`flex items-center gap-2 ${te[e(y).signal]??""}`,"svelte-1qpvlew"),f(me,Ve[e(y).signal]),h(ke,"href",`/tasks/${Ee??""}`)},[()=>C(e(o).projectId),()=>e(D)?.label??gt(e(y).lane),()=>Ke(e(y).since,s.now),()=>encodeURIComponent(e(o).id)]),Me("pointerenter",a,()=>U(e(y).id)),Me("pointerleave",a,z),i(r,a)};H(c,r=>{e(y)&&r(w)})}n(le),ia(le,r=>$e(m,r),()=>e(m)),b(()=>{f(V,`${e(be)??""}.`),ee(K,1,`size-2 rounded-full ${_()==="open"?"bg-success":_()==="lost"?"bg-danger":"bg-warning"}`,"svelte-1qpvlew"),f(se,` ${_()==="open"?"Live":_()==="lost"?"Lost contact with Wheelhouse":"Reconnecting…"}`),h(fe,"aria-label",`Fleet radar, ${e(xe)??""} ${e(xe)===1?"task":"tasks"}`)}),i(X,_e),Re()}jt(["click"]);var _r=p("<h1> </h1>"),wr=p('<h1 class="mt-2 text-[2.1rem] leading-tight text-balance text-muted-foreground">Waiting for the first read of Firstmate…</h1>'),yr=p('<a role="tab"><!> </a>'),kr=p('<a role="tab"> <span class="tabular opacity-70"> </span></a>'),$r=p('<div class="mt-6 flex flex-wrap rounded-md border bg-card p-0.5 text-sm max-sm:w-full sm:inline-flex" role="tablist" aria-label="Show"></div>'),jr=p('<div class="surface mt-6 p-5 sm:p-6"><!></div>'),qr=p('<section class="surface mt-4 p-4 sm:p-5" aria-labelledby="radar"><h2 id="radar" class="section-label mb-3">Fleet radar</h2> <!></section>'),zr=p('<p class="surface mt-6 p-5 text-muted-foreground sm:p-6">No projects yet. Firstmate lists them in its project registry once you add one.</p>'),Mr=p('<div class="grid"><!></div>'),Sr=p('<div class="mt-6 grid gap-6 md:grid-cols-2 xl:grid-cols-3"></div>'),Tr=p('<p class="surface mt-6 p-5 text-muted-foreground sm:p-6"> </p>'),Lr=p('<li><a class="flex flex-wrap items-center gap-x-4 gap-y-1 px-5 py-3 hover:bg-accent/50"><span class="min-w-0 truncate font-display text-[1.15rem] sm:w-56"> </span> <!> <span class="min-w-0 flex-1 text-sm text-muted-foreground max-sm:basis-full"> </span> <!></a></li>'),Cr=p('<section class="mt-8" aria-labelledby="second-mates"><h2 id="second-mates" class="section-label mb-3">Second mates</h2> <ul class="surface divide-y divide-hair"></ul></section>'),Ir=p('<span class="project-tile" aria-hidden="true"> </span>'),Ar=p('<li><a class="flex flex-wrap items-center gap-x-4 gap-y-1 px-5 py-3 hover:bg-accent/50"><!> <span class="min-w-0 truncate font-display text-[1.15rem] sm:w-56"> </span> <span class="min-w-0 flex-1 text-sm text-muted-foreground max-sm:basis-full">Nothing under way. <!></span> <span class="max-sm:hidden"><!></span> <!></a></li>'),Rr=p('<section class="mt-8" aria-labelledby="quiet"><h2 id="quiet" class="section-label mb-3">Quiet waters</h2> <ul class="surface divide-y divide-hair"></ul></section>'),Er=p("<!> <!> <!> <!>",1),Nr=p('<main class="px-4 pt-6 pb-24 sm:px-6 lg:px-10"><header><div><div class="max-w-3xl"><p class="font-display text-base text-muted-foreground italic"> </p> <!></div> <div class="flex rounded-md border bg-card p-0.5 text-sm" role="tablist" aria-label="View"></div></div> <!></header> <!></main>');function ls(X,s){Ae(s,!0);const g=v(Ht),_=v(()=>{const c=Be.url.searchParams.get("view");return c==="passage"||c==="radar"?c:"projects"}),O=v(()=>e(_)==="projects"?null:Be.url.searchParams.get("project")),N=v(()=>e(g)?.projects??[]),q=v(()=>e(O)?e(N).find(c=>c.id===e(O))??null:null),C=v(()=>e(g)?.tasks??[]),B=v(()=>e(C).filter(c=>!e(O)||c.projectId===e(O))),Y=v(()=>Pt(e(B),Se.now)),W=v(()=>e(g)?.secondMates??[]),I=v(()=>Kt(e(N).map(c=>Yt(c,e(C).filter(w=>w.projectId===c.id),Se.now)))),S=v(()=>Ut(e(N),Ft.names)),$=v(()=>wa(e(I),e(C),Se.now)),y=v(()=>Qt(Be.url.searchParams.get("show"))),U=v(()=>e(I).filter(c=>it(c.state,e(y)))),z=v(()=>e(U).filter(c=>c.state!=="quiet")),m=v(()=>e(U).filter(c=>c.state==="quiet")),j=v(()=>Object.fromEntries(lt.map(c=>[c,e(I).filter(w=>it(w.state,c)).length]))),G=c=>{const w=Object.entries(c).filter(([,r])=>r).map(([r,o])=>`${r}=${encodeURIComponent(o)}`).join("&");return w?`/harbour?${w}`:"/harbour"},ge=c=>G({project:e(O),view:c}),ve=[{key:"projects",label:"Projects",icon:va,v:null},{key:"passage",label:"Passage",icon:xa,v:"passage"},{key:"radar",label:"Radar",icon:ma,v:"radar"}];var P=Nr();Rt("162hjno",c=>{Tt(()=>{Lt.title=`${e(q)?`${e(q).name} · `:""}Harbour · Wheelhouse`})});var te=d(P),xe=d(te),be=d(xe),_e=d(be),ce=k(_e),pe=t(_e,2);{var ye=c=>{var w=_r(),r=k(w,!0);b(o=>{ee(w,1,`leading-tight text-balance ${e(_)==="radar"?"mt-1 text-xl":"mt-2 text-[2.1rem]"}`),f(r,o)},[()=>e(_)==="projects"?Gt(e(I)):Wt(e(Y))]),i(c,w)},V=c=>{var w=wr();i(c,w)};H(pe,c=>{e(g)?.collectedAt?c(ye):c(V,-1)})}n(be);var M=t(be,2);Z(M,21,()=>ve,c=>c.key,(c,w)=>{var r=yr(),o=d(r);Et(o,()=>e(w).icon,(a,l)=>{l(a,{class:"size-4"})});var D=t(o,1,!0);n(r),b(a=>{h(r,"href",a),h(r,"aria-selected",e(_)===e(w).key),ee(r,1,`inline-flex items-center gap-1.5 rounded-sm px-3 py-1.5 ${e(_)===e(w).key?"bg-primary font-medium text-primary-foreground":"text-muted-foreground hover:text-foreground"}`),f(D,e(w).label)},[()=>ge(e(w).v)]),i(c,r)}),n(M),n(xe);var A=t(xe,2);{var de=c=>{var w=$r();Z(w,21,()=>[null,...lt],r=>r??"all",(r,o)=>{var D=kr(),a=d(D),l=t(a),u=k(l,!0);n(D),b(x=>{h(D,"href",x),h(D,"aria-selected",e(y)===e(o)),ee(D,1,`rounded-sm px-3 py-1.5 whitespace-nowrap ${e(y)===e(o)?"bg-primary font-medium text-primary-foreground":"text-muted-foreground hover:text-foreground"}`),f(a,`${(e(o)?ot[e(o)]:"All")??""} `),f(u,e(o)?e(j)[e(o)]:e(I).length)},[()=>G({show:e(o)})]),i(r,D)}),n(w),i(c,w)};H(A,c=>{e(_)==="projects"&&e(I).length&&c(de)})}n(te);var K=t(te,2);{var se=c=>{var w=jr(),r=d(w);{let o=v(()=>e(q)?[e(q)]:e(N));dr(r,{get tasks(){return e(B)},get projects(){return e(o)}})}n(w),i(c,w)},ue=c=>{var w=qr(),r=t(d(w),2);br(r,{get tasks(){return e(B)},get projects(){return e(N)},get now(){return Se.now},get connection(){return Se.connection}}),n(w),i(c,w)},le=c=>{var w=zr();i(c,w)},fe=c=>{var w=Er(),r=Le(w);{var o=L=>{Aa(L,{get chart(){return e($)},get labels(){return e(S)}})};H(r,L=>{e($).rows.length&&L(o)})}var D=t(r,2);{var a=L=>{var F=Sr();Z(F,29,()=>e(z),J=>J.project.id,(J,ae)=>{var T=Mr(),ne=d(T);{let ie=v(()=>e(S).get(e(ae).project.id)),E=v(()=>s.data.commits[e(ae).project.id]??null);Xa(ne,{get berth(){return e(ae)},get label(){return e(ie)},get commits(){return e(E)},get now(){return Se.now}})}n(T),Ue(T,()=>Fe,()=>({duration:tt()?0:et.panel})),ze(1,T,()=>at),ze(2,T,()=>Je),i(J,T)}),n(F),i(L,F)},l=L=>{var F=Tr(),J=k(F);b(ae=>f(J,`No project is ${ae??""} right now.`),[()=>ot[e(y)].toLowerCase()]),i(L,F)};H(D,L=>{e(z).length?L(a):e(y)&&!e(m).length&&e(g)?.collectedAt&&L(l,1)})}var u=t(D,2);{var x=L=>{var F=Cr(),J=t(d(F),2);Z(J,21,()=>e(W),ae=>ae.id,(ae,T)=>{var ne=Lr(),ie=d(ne),E=d(ie),me=k(E,!0),oe=t(E,2);ra(oe,{get health(){return e(T).health}});var qe=t(oe,2),ke=k(qe),Ce=t(qe,2);dt(Ce,{class:"size-4 text-muted-foreground max-sm:hidden","aria-hidden":"true"}),n(ie),n(ne),b((re,we)=>{h(ie,"href",`/second-mates#mate-${re??""}`),h(ie,"data-second-mate",e(T).id),f(me,e(T).id),f(ke,`${e(T).stateLabel??""}: ${e(T).inFlight.length??""} in flight, ${e(T).queued.length??""} queued${e(T).captainDecisions?`, ${e(T).captainDecisions} waiting on you`:""}${we??""}`)},[()=>encodeURIComponent(e(T).id),()=>e(T).projects.length?` · ${e(T).projects.join(", ")}`:""]),i(ae,ne)}),n(J),n(F),i(L,F)};H(u,L=>{e(W).length&&L(x)})}var R=t(u,2);{var Q=L=>{var F=Rr(),J=t(d(F),2);Z(J,21,()=>e(m),ae=>ae.project.id,(ae,T)=>{const ne=v(()=>e(S).get(e(T).project.id)),ie=v(()=>e(T).lastLanded);var E=Ar(),me=d(E),oe=d(me);{var qe=he=>{var je=Ir(),He=k(je,!0);b(()=>{h(je,"data-hue",e(ne).hue),f(He,e(ne).monogram)}),i(he,je)};H(oe,he=>{e(ne)&&he(qe)})}var ke=t(oe,2),Ce=k(ke,!0),re=t(ke,2),we=t(d(re));{var Ie=he=>{var je=Ye();b(He=>f(je,`Last landed ${He??""}: ${e(ie).shortTitle??""}.`),[()=>Xe(new Date(e(T).landings[0]).toISOString(),Se.now)]),i(he,je)},Ee=he=>{var je=Ye("No work yet.");i(he,je)};H(we,he=>{e(ie)&&e(T).landings[0]?he(Ie):he(Ee,-1)})}n(re);var Ne=t(re,2),wt=d(Ne);{let he=v(()=>s.data.commits[e(T).project.id]??null),je=v(()=>ft(e(T).landings,Se.now,ht));_t(wt,{get commits(){return e(he)},get landed(){return e(je)}})}n(Ne);var yt=t(Ne,2);dt(yt,{class:"size-4 text-muted-foreground max-sm:hidden","aria-hidden":"true"}),n(me),n(E),b(he=>{h(me,"href",`/projects/${he??""}`),h(me,"data-project",e(T).project.id),h(ke,"title",e(ne)?.full),f(Ce,e(ne)?.label??e(T).project.name)},[()=>encodeURIComponent(e(T).project.id)]),i(ae,E)}),n(J),n(F),i(L,F)};H(R,L=>{e(m).length&&L(Q)})}i(c,w)};H(K,c=>{e(_)==="passage"?c(se):e(_)==="radar"?c(ue,1):e(g)?.collectedAt&&!e(N).length?c(le,2):c(fe,-1)})}n(P),b(c=>{ee(te,1,`-mx-4 -mt-6 border-b border-hair bg-panel px-4 sm:-mx-6 sm:px-6 lg:-mx-10 lg:px-10 ${e(_)==="radar"?"py-4":"py-6"}`),ee(xe,1,`flex flex-wrap items-end justify-between ${e(_)==="radar"?"gap-3":"gap-6"}`),f(ce,`${(e(q)?e(q).name:"Every project Firstmate looks after")??""}, watch report${c??""}`)},[()=>e(g)?.collectedAt?` at ${Jt(e(g).collectedAt)}`:""]),i(X,P),Re()}export{ls as component};
@@ -1,4 +1,4 @@
1
- import"../chunks/DsnmJJEf.js";import{p as Ae,j as Ce,f as we,a as n,b as Me,i,o as m,s,r as o,t as u,d as l,g as e,n as de,c,h as x,k as Ie,q as De,$ as Se,x as He,v as Oe,l as Re,a8 as Te,w as ie}from"../chunks/BOY9WARo.js";import{p as We,i as S}from"../chunks/DnDesMxN.js";import{a as U,d as ue,s as F,h as je,e as le,i as qe}from"../chunks/BRuDnHyc.js";import{c as q}from"../chunks/BXF1nDhR.js";import{b as be}from"../chunks/CR7y1ULG.js";import{I as ze}from"../chunks/8xWr9jxY.js";import{I as ye}from"../chunks/Ce7qVCDI.js";import{T as Ne}from"../chunks/DgOhqfdF.js";import{M as Ue}from"../chunks/CDGwSysF.js";var Fe=c('<div class="flex items-center gap-2 text-xs"><span class="text-muted-foreground"> </span> <span class="h-1.5 w-16 overflow-hidden rounded-full bg-muted" aria-hidden="true"><span></span></span> <span class="font-medium tabular-nums"> </span></div>'),ke=c("<p> </p>"),Ke=c("<p>At this pace it may run out before it resets</p>"),Be=c("<p>Lasts until it resets at this pace</p>"),Ee=c('<div><div class="flex items-baseline justify-between gap-3"><p class="text-sm font-medium"> </p> <p class="text-right"><span class="text-2xl font-semibold tracking-tight tabular-nums"> </span> <span class="text-sm text-muted-foreground">left</span></p></div> <div class="mt-3 h-2 overflow-hidden rounded-full bg-muted" role="meter"><span></span></div> <div class="mt-2 space-y-0.5 text-xs text-muted-foreground"><!> <!></div></div>');function Ge(ve,r){Ae(r,!0);let J=We(r,"compact",3,!1);const f=x(()=>r.w.resetsAt?Date.parse(r.w.resetsAt):null),D=x(()=>r.w.runsOutAt?Date.parse(r.w.runsOutAt):null),b=x(()=>e(D)&&e(f)?Math.max(1,Math.round((e(f)-e(D))/6e4)):null),K=x(()=>r.w.atRisk?r.w.percentLeft<15?"bg-danger":"bg-warning":"bg-sea"),P=x(()=>{if(!e(f))return null;const M=Math.max(0,Math.round((e(f)-r.now)/6e4));return`Resets ${e(f)-r.now>20*3600*1e3?`${new Date(e(f)).toLocaleDateString([],{weekday:"short"})} `:""}${q(r.w.resetsAt)}, in ${be(M)}`});var Q=Ce(),V=we(Q);{var ce=M=>{var L=Fe(),R=i(L),T=m(R,!0),z=s(R,2),W=m(z),B=s(z,2),X=m(B);o(L),u(()=>{l(T,r.w.label),U(W,1,`block h-full ${e(K)??""}`),ue(W,`width: ${r.w.percentLeft??""}%`),l(X,`${r.w.percentLeft??""}% left`)}),n(M,L)},w=M=>{var L=Ee(),R=i(L),T=i(R),z=m(T,!0),W=s(T,2),B=i(W),X=m(B);de(2),o(W),o(R);var j=s(R,2);F(j,"aria-valuemin",0),F(j,"aria-valuemax",100);var re=m(j),Y=s(j,2),E=i(Y);{var se=t=>{var a=ke(),d=m(a,!0);u(()=>l(d,e(P))),n(t,a)};S(E,t=>{e(P)&&t(se)})}var me=s(E,2);{var fe=t=>{var a=ke(),d=m(a);u((p,y)=>{U(a,1,`font-medium ${r.w.percentLeft<15?"text-danger":"text-warning"}`),l(d,`At this pace it runs out around ${p??""}, ${y??""} before it resets`)},[()=>q(r.w.runsOutAt),()=>be(e(b))]),n(t,a)},pe=t=>{var a=Ke();u(()=>U(a,1,`font-medium ${r.w.percentLeft<15?"text-danger":"text-warning"}`)),n(t,a)},xe=t=>{var a=Be();n(t,a)};S(me,t=>{e(D)&&e(b)?t(fe):r.w.atRisk?t(pe,1):t(xe,-1)})}o(Y),o(L),u(()=>{l(z,r.w.label),l(X,`${r.w.percentLeft??""}%`),F(j,"aria-valuenow",r.w.percentLeft),F(j,"aria-label",`${r.w.label??""}: ${r.w.percentLeft??""}% left`),U(re,1,`block h-full rounded-full ${e(K)??""}`),ue(re,`width: ${r.w.percentLeft??""}%`)}),n(M,L)};S(V,M=>{J()?M(ce):M(w,-1)})}n(ve,Q),Me()}var Je=c(`<section class="mt-6 flex gap-3 rounded-xl border bg-card p-4"><!> <div class="min-w-0 text-sm"><p class="font-medium">Connect your Claude usage</p> <p class="mt-1 text-muted-foreground">To show how much of your allowance is left, quota-axi needs a one-time approval to read
1
+ import"../chunks/DsnmJJEf.js";import{p as Ae,j as Ce,f as we,a as n,b as Me,i,o as m,s,r as o,t as u,d as l,g as e,n as de,c,h as x,k as Ie,q as De,$ as Se,x as He,v as Oe,l as Re,a8 as Te,w as ie}from"../chunks/BOY9WARo.js";import{p as We,i as S}from"../chunks/DnDesMxN.js";import{a as U,d as ue,s as F,h as je,e as le,i as qe}from"../chunks/BRuDnHyc.js";import{c as q}from"../chunks/BXF1nDhR.js";import{b as be}from"../chunks/CR7y1ULG.js";import{I as ze}from"../chunks/Cbmz3nkf.js";import{I as ye}from"../chunks/Ce7qVCDI.js";import{T as Ne}from"../chunks/DgOhqfdF.js";import{M as Ue}from"../chunks/CDGwSysF.js";var Fe=c('<div class="flex items-center gap-2 text-xs"><span class="text-muted-foreground"> </span> <span class="h-1.5 w-16 overflow-hidden rounded-full bg-muted" aria-hidden="true"><span></span></span> <span class="font-medium tabular-nums"> </span></div>'),ke=c("<p> </p>"),Ke=c("<p>At this pace it may run out before it resets</p>"),Be=c("<p>Lasts until it resets at this pace</p>"),Ee=c('<div><div class="flex items-baseline justify-between gap-3"><p class="text-sm font-medium"> </p> <p class="text-right"><span class="text-2xl font-semibold tracking-tight tabular-nums"> </span> <span class="text-sm text-muted-foreground">left</span></p></div> <div class="mt-3 h-2 overflow-hidden rounded-full bg-muted" role="meter"><span></span></div> <div class="mt-2 space-y-0.5 text-xs text-muted-foreground"><!> <!></div></div>');function Ge(ve,r){Ae(r,!0);let J=We(r,"compact",3,!1);const f=x(()=>r.w.resetsAt?Date.parse(r.w.resetsAt):null),D=x(()=>r.w.runsOutAt?Date.parse(r.w.runsOutAt):null),b=x(()=>e(D)&&e(f)?Math.max(1,Math.round((e(f)-e(D))/6e4)):null),K=x(()=>r.w.atRisk?r.w.percentLeft<15?"bg-danger":"bg-warning":"bg-sea"),P=x(()=>{if(!e(f))return null;const M=Math.max(0,Math.round((e(f)-r.now)/6e4));return`Resets ${e(f)-r.now>20*3600*1e3?`${new Date(e(f)).toLocaleDateString([],{weekday:"short"})} `:""}${q(r.w.resetsAt)}, in ${be(M)}`});var Q=Ce(),V=we(Q);{var ce=M=>{var L=Fe(),R=i(L),T=m(R,!0),z=s(R,2),W=m(z),B=s(z,2),X=m(B);o(L),u(()=>{l(T,r.w.label),U(W,1,`block h-full ${e(K)??""}`),ue(W,`width: ${r.w.percentLeft??""}%`),l(X,`${r.w.percentLeft??""}% left`)}),n(M,L)},w=M=>{var L=Ee(),R=i(L),T=i(R),z=m(T,!0),W=s(T,2),B=i(W),X=m(B);de(2),o(W),o(R);var j=s(R,2);F(j,"aria-valuemin",0),F(j,"aria-valuemax",100);var re=m(j),Y=s(j,2),E=i(Y);{var se=t=>{var a=ke(),d=m(a,!0);u(()=>l(d,e(P))),n(t,a)};S(E,t=>{e(P)&&t(se)})}var me=s(E,2);{var fe=t=>{var a=ke(),d=m(a);u((p,y)=>{U(a,1,`font-medium ${r.w.percentLeft<15?"text-danger":"text-warning"}`),l(d,`At this pace it runs out around ${p??""}, ${y??""} before it resets`)},[()=>q(r.w.runsOutAt),()=>be(e(b))]),n(t,a)},pe=t=>{var a=Ke();u(()=>U(a,1,`font-medium ${r.w.percentLeft<15?"text-danger":"text-warning"}`)),n(t,a)},xe=t=>{var a=Be();n(t,a)};S(me,t=>{e(D)&&e(b)?t(fe):r.w.atRisk?t(pe,1):t(xe,-1)})}o(Y),o(L),u(()=>{l(z,r.w.label),l(X,`${r.w.percentLeft??""}%`),F(j,"aria-valuenow",r.w.percentLeft),F(j,"aria-label",`${r.w.label??""}: ${r.w.percentLeft??""}% left`),U(re,1,`block h-full rounded-full ${e(K)??""}`),ue(re,`width: ${r.w.percentLeft??""}%`)}),n(M,L)};S(V,M=>{J()?M(ce):M(w,-1)})}n(ve,Q),Me()}var Je=c(`<section class="mt-6 flex gap-3 rounded-xl border bg-card p-4"><!> <div class="min-w-0 text-sm"><p class="font-medium">Connect your Claude usage</p> <p class="mt-1 text-muted-foreground">To show how much of your allowance is left, quota-axi needs a one-time approval to read
2
2
  Claude’s sign-in from your Keychain. Run this once in a terminal and choose “Always
3
3
  Allow”:</p> <code class="mt-2 inline-block rounded-md bg-muted px-2 py-1 font-mono text-xs"> </code> <p class="mt-2 text-xs text-muted-foreground">Wheelhouse never asks for that approval itself. Who is using Claude, below, works
4
4
  without it.</p></div></section>`),Pe=c('<p class="mt-6 flex gap-2 rounded-lg bg-muted/60 px-3 py-2.5 text-sm text-muted-foreground"><!> </p>'),Qe=c('<section class="mt-6 flex gap-3 rounded-xl border border-warning/40 bg-warning/5 p-4" aria-live="polite"><!> <div class="min-w-0"><p class="text-sm font-medium"><!></p> <p class="mt-1 text-sm text-muted-foreground"><!> </p> <a class="mt-3 inline-flex items-center gap-1.5 rounded-md border bg-card px-2.5 py-1.5 text-xs font-medium hover:bg-accent"><!>Ask Firstmate to hold new work</a></div></section>'),Ve=c('<div class="rounded-xl border bg-card p-4"><!></div>'),Xe=c('<!> <section class="mt-6 grid gap-4 sm:grid-cols-2 lg:grid-cols-3"></section> <p class="mt-2 text-xs text-muted-foreground"> </p>',1),Ye=c('<button role="radio"> </button>'),Ze=c('<p class="mt-4 rounded-lg border border-dashed p-6 text-sm text-muted-foreground"> </p>'),$e=c('<p class="mt-4 rounded-lg border border-dashed p-6 text-sm text-muted-foreground">No Claude use in this span.</p>'),et=c('<a class="block truncate text-sm hover:underline"> </a>'),tt=c('<p class="truncate text-sm"> </p>'),at=c('<li class="grid gap-x-4 gap-y-1.5 px-4 py-3 sm:grid-cols-[minmax(0,16rem)_minmax(0,1fr)_3.5rem] sm:items-center"><div class="min-w-0"><!> <p class="truncate text-xs text-muted-foreground"> <!></p></div> <div class="h-2 overflow-hidden rounded-full bg-muted" aria-hidden="true"><div></div></div> <p class="text-sm tabular-nums sm:text-right"> </p></li>'),rt=c("<div></div>"),st=c(`<p class="mt-1 text-xs text-muted-foreground">Shares of Claude use on this machine, from each session’s token counts, weighted by rough
@@ -1,4 +1,4 @@
1
- import"../chunks/DsnmJJEf.js";import{o as Dt}from"../chunks/Blj84s6L.js";import{k as Ht,p as Wt,u as Ke,m as Le,z as Kt,a as u,b as Lt,q as Ot,af as Ut,i,c as m,H as Pt,$ as Qt,s as a,n as _e,r as n,g as e,v as V,F as Oe,h as c,l as Ue,o as x,t as y,d as p,f as be,x as we}from"../chunks/BOY9WARo.js";import{s as Ve,r as Xe,i as h}from"../chunks/DnDesMxN.js";import{h as Bt,e as ae,s as ke,i as Rt}from"../chunks/BRuDnHyc.js";import{I as Ye,t as ye}from"../chunks/BbU5AsRD.js";import{g as Vt}from"../chunks/D5M74L1e.js";import{p as Pe}from"../chunks/BqqZcEbm.js";import{l as X,c as Xt}from"../chunks/Byamhp7O.js";import{i as v,d as Yt,h as Gt,a as Jt,D as Qe,c as Zt}from"../chunks/OermLIIb.js";import{a as ea}from"../chunks/BXF1nDhR.js";import{k as ta,a as aa,e as Be}from"../chunks/kE4zxzFD.js";import{r as ra,s as sa,S as na,f as oa}from"../chunks/CNcEb8rI.js";import{L as da}from"../chunks/Bxc9WZZR.js";import{a as Re}from"../chunks/DWlSINHC.js";import{C as ia}from"../chunks/CaaP7Cfy.js";var la=new Set(["$$slots","$$events","$$legacy"]);function ca(D,_){let w=Xe(_,la);const H={name:"keyboard",size:24,node:[["path",{d:"M10 8h.01"}],["path",{d:"M12 12h.01"}],["path",{d:"M14 8h.01"}],["path",{d:"M16 12h.01"}],["path",{d:"M18 8h.01"}],["path",{d:"M6 8h.01"}],["path",{d:"M7 16h10"}],["path",{d:"M8 12h.01"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2"}]]};Ye(D,Ve(()=>w,{get icon(){return H}}))}var ua=new Set(["$$slots","$$events","$$legacy"]);function ma(D,_){let w=Xe(_,ua);const H={name:"undo-2",size:24,node:[["path",{d:"M9 14 4 9l5-5"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"}]]};Ye(D,Ve(()=>w,{get icon(){return H}}))}var va=m('<p class="mt-8 rounded-lg border border-dashed p-6 text-sm text-muted-foreground"> </p>'),pa=m('<p class="mt-6 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-sm"> </p>'),fa=m('<button class="cursor-pointer text-muted-foreground underline-offset-2 hover:text-foreground hover:underline"> </button>'),xa=m('<a href="/inbox" class="text-muted-foreground hover:text-foreground"> </a>'),ga=m('<li class="relative"><!></li>'),ha=m(`<p class="flex max-w-3xl items-center gap-2 rounded-lg border border-dashed p-6 text-sm text-muted-foreground"><!>Nothing needs you. Firstmate will
1
+ import"../chunks/DsnmJJEf.js";import{o as Dt}from"../chunks/Blj84s6L.js";import{k as Ht,p as Wt,u as Ke,m as Le,z as Kt,a as u,b as Lt,q as Ot,af as Ut,i,c as m,H as Pt,$ as Qt,s as a,n as _e,r as n,g as e,v as V,F as Oe,h as c,l as Ue,o as x,t as y,d as p,f as be,x as we}from"../chunks/BOY9WARo.js";import{s as Ve,r as Xe,i as h}from"../chunks/DnDesMxN.js";import{h as Bt,e as ae,s as ke,i as Rt}from"../chunks/BRuDnHyc.js";import{I as Ye,t as ye}from"../chunks/BbU5AsRD.js";import{g as Vt}from"../chunks/BBLx2oxZ.js";import{p as Pe}from"../chunks/DQEmyAe4.js";import{l as X,c as Xt}from"../chunks/Bl1tMgf8.js";import{i as v,d as Yt,h as Gt,a as Jt,D as Qe,c as Zt}from"../chunks/QzT8bZ-S.js";import{a as ea}from"../chunks/BXF1nDhR.js";import{k as ta,a as aa,e as Be}from"../chunks/kE4zxzFD.js";import{r as ra,s as sa,S as na,f as oa}from"../chunks/CNcEb8rI.js";import{L as da}from"../chunks/Bxc9WZZR.js";import{a as Re}from"../chunks/DWlSINHC.js";import{C as ia}from"../chunks/CaaP7Cfy.js";var la=new Set(["$$slots","$$events","$$legacy"]);function ca(D,_){let w=Xe(_,la);const H={name:"keyboard",size:24,node:[["path",{d:"M10 8h.01"}],["path",{d:"M12 12h.01"}],["path",{d:"M14 8h.01"}],["path",{d:"M16 12h.01"}],["path",{d:"M18 8h.01"}],["path",{d:"M6 8h.01"}],["path",{d:"M7 16h10"}],["path",{d:"M8 12h.01"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2"}]]};Ye(D,Ve(()=>w,{get icon(){return H}}))}var ua=new Set(["$$slots","$$events","$$legacy"]);function ma(D,_){let w=Xe(_,ua);const H={name:"undo-2",size:24,node:[["path",{d:"M9 14 4 9l5-5"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"}]]};Ye(D,Ve(()=>w,{get icon(){return H}}))}var va=m('<p class="mt-8 rounded-lg border border-dashed p-6 text-sm text-muted-foreground"> </p>'),pa=m('<p class="mt-6 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-sm"> </p>'),fa=m('<button class="cursor-pointer text-muted-foreground underline-offset-2 hover:text-foreground hover:underline"> </button>'),xa=m('<a href="/inbox" class="text-muted-foreground hover:text-foreground"> </a>'),ga=m('<li class="relative"><!></li>'),ha=m(`<p class="flex max-w-3xl items-center gap-2 rounded-lg border border-dashed p-6 text-sm text-muted-foreground"><!>Nothing needs you. Firstmate will
2
2
  put the next question for you here.</p>`),_a=m('<p class="mt-3 text-sm text-muted-foreground">Nothing this week.</p>'),ba=m("<li><!></li>"),wa=m('<h3 class="mt-4 text-xs font-medium text-muted-foreground">Settling now</h3> <ol class="mt-2 flex flex-col gap-3" aria-label="Questions Firstmate is settling"></ol>',1),ka=m('<span class="text-muted-foreground"> </span>'),ya=m('<span class="rounded-sm border px-1 text-[0.8rem] leading-[0.95rem] font-semibold tracking-[0.08em] [font-variant-caps:all-small-caps]"> </span>'),$a=m('<p class="text-sm font-medium"> </p>'),Ia=m('<details class="mt-1.5 text-xs text-muted-foreground"><summary class="cursor-pointer hover:text-foreground">What the reviewer wrote</summary> <p class="mt-1 leading-relaxed"><!></p></details>'),Aa=m('<div class="mt-2 border-l-2 border-sea/60 pl-3"><!> <p class="text-xs text-muted-foreground">Why Firstmate chose <span class="font-medium text-foreground"> </span></p> <p class="mt-0.5 text-sm leading-relaxed whitespace-pre-line"> </p> <!></div>'),Ma=m('<div class="px-4 pb-3.5 sm:px-5"><p class="text-xs text-muted-foreground"> </p> <!> <div class="mt-2.5 flex flex-wrap items-center gap-2"><a class="inline-flex items-center gap-1.5 rounded-md border px-2.5 py-1.5 text-xs font-medium hover:bg-accent" data-change-call=""><!>Change this call</a> <span class="text-xs text-muted-foreground"> </span></div></div>'),ja=m('<li><button class="flex w-full cursor-pointer items-start gap-3 px-4 py-2.5 text-left hover:bg-accent/40 sm:px-5"><span class="min-w-0 flex-1"><span class="block text-sm leading-snug"> <!></span> <span class="mt-1 flex flex-wrap items-center gap-x-1.5 text-xs text-muted-foreground"><!> <span>Firstmate: <span class="font-medium text-foreground"> </span></span> <span> </span></span></span> <!></button> <!></li>'),Fa=m('<h3 class="mt-5 text-xs font-medium text-muted-foreground">Decided this week</h3> <ul class="mt-2 divide-y divide-hair/70 rounded-lg border bg-card" data-made=""></ul>',1),Ta=m(`<div id="handled-list"><p class="mt-1 max-w-prose text-sm text-muted-foreground">Questions Firstmate is settling itself, and the calls it made this week, so the work
3
3
  did not wait. Open one to see why, or take it over.</p> <!> <!> <!></div>`),Ca=m('<!> <div class="mt-6 flex flex-wrap items-baseline gap-x-3 gap-y-1 text-sm"><h2 class="font-sans text-base font-medium">Needs you</h2> <span class="text-muted-foreground"> </span> <!> <!></div> <ol class="mt-4 flex max-w-3xl flex-col gap-3" aria-label="Questions for you"></ol> <!> <section class="mt-10 max-w-3xl" aria-labelledby="handled" data-handled=""><button class="flex w-full cursor-pointer items-center gap-2 text-left" aria-controls="handled-list"><h2 id="handled" class="font-sans text-base font-medium">Handled by Firstmate</h2> <span class="rounded-full bg-muted px-1.5 text-xs text-muted-foreground tabular-nums"> </span> <span class="text-sm text-muted-foreground">· nothing for you to do</span> <!></button> <!></section>',1),za=m(`<main class="px-4 py-6 sm:px-6 lg:px-10"><div class="surface px-4 py-5 sm:px-8 sm:py-8"><div class="flex flex-wrap items-end justify-between gap-x-6 gap-y-2"><div><h1 class="text-2xl">Decisions</h1> <p class="mt-1 max-w-prose text-sm text-muted-foreground">What Firstmate needs from you, in plain words with its recommendation. Agree from here, or
4
4
  chat it through with Firstmate first. Firstmate settles everything else itself and lists
@@ -1 +1 @@
1
- import"../chunks/DsnmJJEf.js";import{p as K,u as P,a as n,b as j,e as q,c as f,$ as z,g as a,i as m,r as p,h as g,f as B,o as v,s as D,t as c,d as h}from"../chunks/BOY9WARo.js";import{i as E}from"../chunks/DnDesMxN.js";import{h as F,s as G}from"../chunks/BRuDnHyc.js";import{p as _}from"../chunks/BqqZcEbm.js";import{l as x}from"../chunks/Byamhp7O.js";import{s as y,a as b}from"../chunks/BudxWdUe.js";import{I as H}from"../chunks/BvCDG8Dd.js";import{S as J}from"../chunks/C6yJKLJE.js";var L=f('<h1 class="text-2xl"> </h1> <section class="mt-6" data-slot="nav.page"><!></section>',1),M=f('<p class="text-muted-foreground"> </p>'),N=f('<main class="px-4 py-6 sm:px-6 lg:px-10"><div class="surface px-5 py-6 sm:px-8 sm:py-8"><!></div></main>');function $(I,e){K(e,!0);const d=g(()=>`${_.params.plugin}/${_.params.page}`),s=g(()=>y.entries(b.fleet,e.data.slots,e.data.slotsAt).find(t=>t.slot==="nav.page"&&`${t.pluginId}/${t.contributionId}`===a(d))??null);P(()=>{x.revision,y.refresh(b.fleet,e.data.slotsAt)});var i=N();F("nk8b77",t=>{q(()=>{z.title=`${a(s)?`${a(s).title} · `:""}Wheelhouse`})});var u=m(i),k=m(u);{var w=t=>{var r=L(),o=B(r),W=v(o,!0),l=D(o,2),C=m(l);J(C,{get entry(){return a(s)},get now(){return x.now}}),p(l),c(()=>{h(W,a(s).title),G(l,"aria-label",a(s).title)}),n(t,r)},A=t=>{H(t,{get plugin(){return e.data.suggested}})},S=t=>{var r=M(),o=v(r);c(()=>h(o,`Wheelhouse has no “${a(d)??""}” page. It may belong to a plugin that is off.`)),n(t,r)};E(k,t=>{a(s)?t(w):e.data.suggested?t(A,1):t(S,-1)})}p(u),p(i),n(I,i),j()}export{$ as component};
1
+ import"../chunks/DsnmJJEf.js";import{p as K,u as P,a as n,b as j,e as q,c as f,$ as z,g as a,i as m,r as p,h as g,f as B,o as v,s as D,t as c,d as h}from"../chunks/BOY9WARo.js";import{i as E}from"../chunks/DnDesMxN.js";import{h as F,s as G}from"../chunks/BRuDnHyc.js";import{p as _}from"../chunks/DQEmyAe4.js";import{l as x}from"../chunks/Bl1tMgf8.js";import{s as y,a as b}from"../chunks/BudxWdUe.js";import{I as H}from"../chunks/BvCDG8Dd.js";import{S as J}from"../chunks/Cio5-ROX.js";var L=f('<h1 class="text-2xl"> </h1> <section class="mt-6" data-slot="nav.page"><!></section>',1),M=f('<p class="text-muted-foreground"> </p>'),N=f('<main class="px-4 py-6 sm:px-6 lg:px-10"><div class="surface px-5 py-6 sm:px-8 sm:py-8"><!></div></main>');function $(I,e){K(e,!0);const d=g(()=>`${_.params.plugin}/${_.params.page}`),s=g(()=>y.entries(b.fleet,e.data.slots,e.data.slotsAt).find(t=>t.slot==="nav.page"&&`${t.pluginId}/${t.contributionId}`===a(d))??null);P(()=>{x.revision,y.refresh(b.fleet,e.data.slotsAt)});var i=N();F("nk8b77",t=>{q(()=>{z.title=`${a(s)?`${a(s).title} · `:""}Wheelhouse`})});var u=m(i),k=m(u);{var w=t=>{var r=L(),o=B(r),W=v(o,!0),l=D(o,2),C=m(l);J(C,{get entry(){return a(s)},get now(){return x.now}}),p(l),c(()=>{h(W,a(s).title),G(l,"aria-label",a(s).title)}),n(t,r)},A=t=>{H(t,{get plugin(){return e.data.suggested}})},S=t=>{var r=M(),o=v(r);c(()=>h(o,`Wheelhouse has no “${a(d)??""}” page. It may belong to a plugin that is off.`)),n(t,r)};E(k,t=>{a(s)?t(w):e.data.suggested?t(A,1):t(S,-1)})}p(u),p(i),n(I,i),j()}export{$ as component};
@@ -1 +1 @@
1
- {"version":"1794311346956"}
1
+ {"version":"1794320074764"}
Binary file
Binary file
package/build/handler.js CHANGED
@@ -2,9 +2,9 @@ import './shims.js';
2
2
  import 'node:fs';
3
3
  import 'node:path';
4
4
  import 'node:process';
5
- export { h as handler } from './server/chunks/handler-Bs_CCC30.js';
6
- import './server/chunks/index.js-Cs5HOQvf.js';
7
- import './server/chunks/manifest.js-BDRywlKi.js';
5
+ export { h as handler } from './server/chunks/handler-CwbFN6sE.js';
6
+ import './server/chunks/index.js-CqvbtJcl.js';
7
+ import './server/chunks/manifest.js-DBKpxwtf.js';
8
8
  import './env.js';
9
9
  import 'node:buffer';
10
10
  import 'node:crypto';
@@ -19,5 +19,5 @@ import './server/chunks/chunks/root.js-iNMFn-Yg.js';
19
19
  import './server/chunks/chunks/index.js-C2v29IkD.js';
20
20
  import './server/chunks/chunks/server.js-Bf8x1V_n.js';
21
21
  import './server/chunks/chunks/exports.js-BZBK1HC9.js';
22
- import './server/chunks/chunks/internal.js-wAeB3IT1.js';
22
+ import './server/chunks/chunks/internal.js-bN02E8b0.js';
23
23
  //# sourceMappingURL=handler.js.map
package/build/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import http from 'node:http';
2
2
  import fs__default from 'node:fs';
3
3
  import process from 'node:process';
4
- import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-Bs_CCC30.js';
4
+ import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-CwbFN6sE.js';
5
5
  import { env, timeout_env } from './env.js';
6
6
  import { rm } from 'node:fs/promises';
7
7
  import './shims.js';
@@ -13,13 +13,13 @@ import 'node:querystring';
13
13
  import 'node:stream';
14
14
  import './server/chunks/chunks/utils.js-BJgm9WbO.js';
15
15
  import './server/chunks/chunks/utils2.js-BQzn9ikS.js';
16
- import './server/chunks/index.js-Cs5HOQvf.js';
16
+ import './server/chunks/index.js-CqvbtJcl.js';
17
17
  import './server/chunks/chunks/root.js-iNMFn-Yg.js';
18
18
  import './server/chunks/chunks/index.js-C2v29IkD.js';
19
19
  import './server/chunks/chunks/server.js-Bf8x1V_n.js';
20
20
  import './server/chunks/chunks/exports.js-BZBK1HC9.js';
21
- import './server/chunks/chunks/internal.js-wAeB3IT1.js';
22
- import './server/chunks/manifest.js-BDRywlKi.js';
21
+ import './server/chunks/chunks/internal.js-bN02E8b0.js';
22
+ import './server/chunks/manifest.js-DBKpxwtf.js';
23
23
  import 'node:url';
24
24
 
25
25
  const path = env('SOCKET_PATH', false);
@@ -507,7 +507,7 @@ function DecisionCard($$renderer, $$props) {
507
507
  } else {
508
508
  $$renderer2.push("<!--[-1-->");
509
509
  }
510
- $$renderer2.push(`<!--]--> <div class="mt-3 flex flex-wrap items-center gap-1.5" role="group" aria-label="Answer"><a${attr("href", chatHref())} class="inline-flex min-h-10 items-center gap-1.5 rounded-md border border-sea bg-sea px-3 text-sm font-medium text-white transition-colors hover:bg-sea/90 sm:min-h-9 dark:text-slate-950" title="Open it in the Firstmate chat, with the form that fits it and room to talk it through" data-chat-about="">`);
510
+ $$renderer2.push(`<!--]--> <div class="mt-3 flex flex-wrap items-center gap-1.5" role="group" aria-label="Answer"><a${attr("href", chatHref())} class="inline-flex min-h-10 items-center gap-1.5 rounded-md border border-sea bg-sea px-3 text-sm font-medium text-on-accent transition-colors hover:bg-sea/90 sm:min-h-9" title="Open it in the Firstmate chat, with the form that fits it and room to talk it through" data-chat-about="">`);
511
511
  Message_square($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
512
512
  $$renderer2.push(`<!---->Chat about this`);
513
513
  if (shortcuts) {
@@ -583,4 +583,4 @@ function DecisionCard($$renderer, $$props) {
583
583
  }
584
584
 
585
585
  export { DecisionCard as D, Monitor_off as M, Octagon_alert as O, agreeWith as a, DecisionEvidence as b, answerWith as c, decisionHref as d, handled as h, inbox as i };
586
- //# sourceMappingURL=DecisionCard.js-CXR2Tqq9.js.map
586
+ //# sourceMappingURL=DecisionCard.js-DaA8DYYg.js.map
@@ -6,7 +6,7 @@ import { R as Rotate_cw } from './rotate-cw.js-BPzrB4So.js';
6
6
  import { E as External_link } from './external-link.js-BuWBxV8H.js';
7
7
  import { M as Maximize_2 } from './WhereBadge.js-CT4hViFh.js';
8
8
  import { I as Icon } from './Icon.js-CHJ2UHjC.js';
9
- import { M as Monitor_off, D as DecisionCard, i as inbox, a as agreeWith } from './DecisionCard.js-CXR2Tqq9.js';
9
+ import { M as Monitor_off, D as DecisionCard, i as inbox, a as agreeWith } from './DecisionCard.js-DaA8DYYg.js';
10
10
  import { p as page } from './index2.js-DDKi-jKB.js';
11
11
  import { m as markdown } from './markdown.js-0thJlxxD.js';
12
12
  import { M as MAX_LINE_CHARS, i as batchText } from './previewhelper.js-D_I_aa96.js';
@@ -549,6 +549,23 @@ class FirstmateChat {
549
549
  set chat($$value) {
550
550
  return this.#chat($$value);
551
551
  }
552
+ #working = derived(() => {
553
+ const last = this.chat.items[this.chat.items.length - 1];
554
+ return this.session?.busy === true || last?.kind === "turn" && !last.done && !last.interrupted;
555
+ });
556
+ get working() {
557
+ return this.#working();
558
+ }
559
+ set working($$value) {
560
+ return this.#working($$value);
561
+ }
562
+ #atWork = derived(() => this.connection === "open" && this.session?.state === "ours" && !this.session.picker && !this.session.menu && this.working);
563
+ get atWork() {
564
+ return this.#atWork();
565
+ }
566
+ set atWork($$value) {
567
+ return this.#atWork($$value);
568
+ }
552
569
  outbox = [];
553
570
  #pending = derived(() => unconfirmed(this.outbox, this.chat.items));
554
571
  get pending() {
@@ -583,6 +600,7 @@ class FirstmateChat {
583
600
  return () => {
584
601
  this.close?.();
585
602
  this.close = null;
603
+ this.connection = "connecting";
586
604
  };
587
605
  }
588
606
  /**
@@ -750,7 +768,7 @@ function LivePreview($$renderer, $$props) {
750
768
  } else {
751
769
  $$renderer2.push(`<!--[-1--><iframe${attr("src", shown())}${attr("title", `Live preview of ${stringify(url())}`)}${attr("sandbox", sandbox())} referrerpolicy="no-referrer" class="size-full border-0 bg-white"></iframe> `);
752
770
  if (pointing) {
753
- $$renderer2.push(`<!--[0--><button type="button" class="absolute inset-0 cursor-crosshair bg-sea/5 ring-2 ring-sea ring-inset" aria-label="Point at part of the page" data-preview-pointing=""><span class="pointer-events-none absolute top-3 left-1/2 flex -translate-x-1/2 items-center gap-2 rounded-full bg-sea px-3.5 py-1.5 text-sm text-white shadow-lg dark:text-slate-950">`);
771
+ $$renderer2.push(`<!--[0--><button type="button" class="absolute inset-0 cursor-crosshair bg-sea/5 ring-2 ring-sea ring-inset" aria-label="Point at part of the page" data-preview-pointing=""><span class="pointer-events-none absolute top-3 left-1/2 flex -translate-x-1/2 items-center gap-2 rounded-full bg-sea px-3.5 py-1.5 text-sm text-on-accent shadow-lg">`);
754
772
  Mouse_pointer_click($$renderer2, { class: "size-4", "aria-hidden": "true" });
755
773
  $$renderer2.push(`<!---->Click the part you mean</span></button>`);
756
774
  } else if (pin) {
@@ -1382,7 +1400,7 @@ function PreviewHelper($$renderer, $$props) {
1382
1400
  Check($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
1383
1401
  $$renderer3.push(`<!---->On your list</span>`);
1384
1402
  } else {
1385
- $$renderer3.push(`<!--[-1--><button class="inline-flex cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 py-1 text-xs font-medium text-white hover:bg-sea/90 dark:text-slate-950" data-add-to-list="">`);
1403
+ $$renderer3.push(`<!--[-1--><button class="inline-flex cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 py-1 text-xs font-medium text-on-accent hover:bg-sea/90" data-add-to-list="">`);
1386
1404
  Plus($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
1387
1405
  $$renderer3.push(`<!---->Add to the list</button>`);
1388
1406
  }
@@ -1435,7 +1453,7 @@ function PreviewHelper($$renderer, $$props) {
1435
1453
  $$settled = false;
1436
1454
  }
1437
1455
  });
1438
- $$renderer3.push(`<!----> <div class="flex items-center gap-1 px-1.5 pb-1.5"><button${attr_class(`inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-md px-2 text-xs font-medium transition-colors ${pointing ? "bg-sea text-white dark:text-slate-950" : "text-muted-foreground hover:bg-muted hover:text-foreground"}`)}${attr("aria-pressed", pointing)} title="Click a part of the page to say which part you mean" data-point="">`);
1456
+ $$renderer3.push(`<!----> <div class="flex items-center gap-1 px-1.5 pb-1.5"><button${attr_class(`inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-md px-2 text-xs font-medium transition-colors ${pointing ? "bg-sea text-on-accent" : "text-muted-foreground hover:bg-muted hover:text-foreground"}`)}${attr("aria-pressed", pointing)} title="Click a part of the page to say which part you mean" data-point="">`);
1439
1457
  Crosshair($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
1440
1458
  $$renderer3.push(`<!---->${escape_html(pointing ? "Pointing…" : "Point")}</button> <button aria-label="Say it"${attr("disabled", !draft.trim() && !attached || c().asking, true)} class="ml-auto flex size-8 cursor-pointer items-center justify-center rounded-full bg-foreground text-background disabled:cursor-not-allowed disabled:opacity-30">`);
1441
1459
  Arrow_up($$renderer3, { class: "size-4" });
@@ -1484,7 +1502,7 @@ function PreviewHelper($$renderer, $$props) {
1484
1502
  });
1485
1503
  $$renderer3.push(`<!----> <input${attr("value", own)} maxlength="500" placeholder="Add your own" aria-label="Add your own feedback" class="h-7 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground"/></form></div>`);
1486
1504
  }
1487
- $$renderer3.push(`<!--]--> <div class="flex items-center gap-3 px-4 pt-2 pb-3"><button class="inline-flex h-9 shrink-0 cursor-pointer items-center gap-1.5 rounded-md bg-sea px-3.5 text-sm font-medium whitespace-nowrap text-white hover:bg-sea/90 disabled:cursor-not-allowed disabled:opacity-40 dark:text-slate-950"${attr("disabled", !c().list.length || sending, true)} data-send-batch="">`);
1505
+ $$renderer3.push(`<!--]--> <div class="flex items-center gap-3 px-4 pt-2 pb-3"><button class="inline-flex h-9 shrink-0 cursor-pointer items-center gap-1.5 rounded-md bg-sea px-3.5 text-sm font-medium whitespace-nowrap text-on-accent hover:bg-sea/90 disabled:cursor-not-allowed disabled:opacity-40"${attr("disabled", !c().list.length || sending, true)} data-send-batch="">`);
1488
1506
  Send($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
1489
1507
  $$renderer3.push(`<!---->${escape_html(`Send to Firstmate${c().list.length ? ` (${c().list.length})` : ""}`)}</button> <span class="text-xs leading-snug text-muted-foreground">One message, for this same task</span></div></section></section>`);
1490
1508
  }
@@ -1593,4 +1611,4 @@ function OpenDecision($$renderer, $$props) {
1593
1611
  }
1594
1612
 
1595
1613
  export { LivePreview as L, MicButton as M, OpenDecision as O, PreviewStudio as P, Square as S, activitySummary as a, PreviewHelper as b, duration as d, editableTarget as e, firstmateChat as f, pendingLabel as p, sendToInbox as s };
1596
- //# sourceMappingURL=OpenDecision.js-ogSBclda.js.map
1614
+ //# sourceMappingURL=OpenDecision.js-CYba2eq3.js.map
@@ -2,7 +2,7 @@ import { a9 as spread_props, ab as escape_html, a6 as element, ad as attr_class,
2
2
  import { I as Icon } from './Icon.js-CHJ2UHjC.js';
3
3
  import { p as page } from './index2.js-DDKi-jKB.js';
4
4
  import { l as live, c as currentFleet } from './live.svelte.js-D1hNGw9_.js';
5
- import { i as inbox, M as Monitor_off } from './DecisionCard.js-CXR2Tqq9.js';
5
+ import { i as inbox, M as Monitor_off } from './DecisionCard.js-DaA8DYYg.js';
6
6
  import { M as Monitor_play, C as Compass, p as previewChecks, a as pullRequests } from './pullrequests.js-BobjerQv.js';
7
7
  import { b as agentLine, a as ago } from './format.js-DKnw8oWK.js';
8
8
  import { e as etaLine } from './insights.js-CzzfyHGp.js';
@@ -13,7 +13,7 @@ import { d as docHref, f as findDocPaths } from './docpath.js-D27w_pf9.js';
13
13
  import { F as File_text } from './markdown.js-0thJlxxD.js';
14
14
  import { L as LinkedText } from './LinkedText.js-W4YG6iJR.js';
15
15
  import { W as WhereBadge, S as StageTrack, L as Lightbox } from './WhereBadge.js-CT4hViFh.js';
16
- import { O as OpenDecision, P as PreviewStudio } from './OpenDecision.js-ogSBclda.js';
16
+ import { O as OpenDecision, P as PreviewStudio } from './OpenDecision.js-CYba2eq3.js';
17
17
  import { E as External_link } from './external-link.js-BuWBxV8H.js';
18
18
  import { C as Check } from './check.js-LVN_jfQU.js';
19
19
  import { t as textClass, a as tone } from './tone.js-oubilaK8.js';
@@ -565,4 +565,4 @@ function TaskOverview($$renderer, $$props) {
565
565
  }
566
566
 
567
567
  export { Book_open as B, DEFAULT_TAB as D, Image_off as I, MERGED_TABS as M, RawDetails as R, TaskOverview as T, Timer as a, prState as b, pickTab as p, stepGist as s, taskTabs as t };
568
- //# sourceMappingURL=TaskOverview.js-BLbSjSGh.js.map
568
+ //# sourceMappingURL=TaskOverview.js-sfLDib9-.js.map