@aeolus-fleet/console 0.0.0 → 0.19.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 (347) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +22 -0
  3. package/.next/build/chunks/[root-of-the-server]__1ck5f0y._.js +500 -0
  4. package/.next/build/chunks/[root-of-the-server]__1p00kmr._.js +207 -0
  5. package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_0gicd2e._.js +13 -0
  6. package/.next/build/chunks/[turbopack]_runtime.js +926 -0
  7. package/.next/build/chunks/node_modules_20v-8wl._.js +7238 -0
  8. package/.next/build/chunks/pool_entry-[turbopack-node]_transforms_postcss_ts_114_hkl._.js +6 -0
  9. package/.next/build/package.json +1 -0
  10. package/.next/build-manifest.json +24 -0
  11. package/.next/export-marker.json +6 -0
  12. package/.next/fallback-build-manifest.json +15 -0
  13. package/.next/images-manifest.json +68 -0
  14. package/.next/next-minimal-server.js.nft.json +1 -0
  15. package/.next/next-server.js.nft.json +1 -0
  16. package/.next/package.json +1 -0
  17. package/.next/prerender-manifest.json +72 -0
  18. package/.next/required-server-files.js +352 -0
  19. package/.next/required-server-files.json +352 -0
  20. package/.next/routes-manifest.json +176 -0
  21. package/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
  22. package/.next/server/app/_global-error/page/build-manifest.json +20 -0
  23. package/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
  24. package/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
  25. package/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
  26. package/.next/server/app/_global-error/page.js +9 -0
  27. package/.next/server/app/_global-error/page.js.nft.json +1 -0
  28. package/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
  29. package/.next/server/app/_global-error.html +1 -0
  30. package/.next/server/app/_global-error.meta +30 -0
  31. package/.next/server/app/_global-error.rsc +14 -0
  32. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +19 -0
  33. package/.next/server/app/_global-error.segments/_full.segment.rsc +14 -0
  34. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  35. package/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
  36. package/.next/server/app/_not-found/page/build-manifest.json +20 -0
  37. package/.next/server/app/_not-found/page/next-font-manifest.json +11 -0
  38. package/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
  39. package/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
  40. package/.next/server/app/_not-found/page.js +13 -0
  41. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  42. package/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
  43. package/.next/server/app/api/analytics/route/app-paths-manifest.json +3 -0
  44. package/.next/server/app/api/analytics/route/build-manifest.json +12 -0
  45. package/.next/server/app/api/analytics/route/server-reference-manifest.json +4 -0
  46. package/.next/server/app/api/analytics/route.js +8 -0
  47. package/.next/server/app/api/analytics/route.js.nft.json +1 -0
  48. package/.next/server/app/api/analytics/route_client-reference-manifest.js +3 -0
  49. package/.next/server/app/api/squadrons/[procedure]/route/app-paths-manifest.json +3 -0
  50. package/.next/server/app/api/squadrons/[procedure]/route/build-manifest.json +12 -0
  51. package/.next/server/app/api/squadrons/[procedure]/route/server-reference-manifest.json +4 -0
  52. package/.next/server/app/api/squadrons/[procedure]/route.js +6 -0
  53. package/.next/server/app/api/squadrons/[procedure]/route.js.nft.json +1 -0
  54. package/.next/server/app/api/squadrons/[procedure]/route_client-reference-manifest.js +3 -0
  55. package/.next/server/app/health/route/app-paths-manifest.json +3 -0
  56. package/.next/server/app/health/route/build-manifest.json +12 -0
  57. package/.next/server/app/health/route/server-reference-manifest.json +4 -0
  58. package/.next/server/app/health/route.js +7 -0
  59. package/.next/server/app/health/route.js.nft.json +1 -0
  60. package/.next/server/app/health/route_client-reference-manifest.js +3 -0
  61. package/.next/server/app/icon.svg/route/app-paths-manifest.json +3 -0
  62. package/.next/server/app/icon.svg/route/build-manifest.json +12 -0
  63. package/.next/server/app/icon.svg/route.js +7 -0
  64. package/.next/server/app/icon.svg/route.js.nft.json +1 -0
  65. package/.next/server/app/icon.svg.body +19 -0
  66. package/.next/server/app/icon.svg.meta +1 -0
  67. package/.next/server/app/inbox/page/app-paths-manifest.json +3 -0
  68. package/.next/server/app/inbox/page/build-manifest.json +20 -0
  69. package/.next/server/app/inbox/page/next-font-manifest.json +11 -0
  70. package/.next/server/app/inbox/page/react-loadable-manifest.json +1 -0
  71. package/.next/server/app/inbox/page/server-reference-manifest.json +4 -0
  72. package/.next/server/app/inbox/page.js +14 -0
  73. package/.next/server/app/inbox/page.js.nft.json +1 -0
  74. package/.next/server/app/inbox/page_client-reference-manifest.js +3 -0
  75. package/.next/server/app/needs-attention/page/app-paths-manifest.json +3 -0
  76. package/.next/server/app/needs-attention/page/build-manifest.json +20 -0
  77. package/.next/server/app/needs-attention/page/next-font-manifest.json +11 -0
  78. package/.next/server/app/needs-attention/page/react-loadable-manifest.json +1 -0
  79. package/.next/server/app/needs-attention/page/server-reference-manifest.json +4 -0
  80. package/.next/server/app/needs-attention/page.js +14 -0
  81. package/.next/server/app/needs-attention/page.js.nft.json +1 -0
  82. package/.next/server/app/needs-attention/page_client-reference-manifest.js +3 -0
  83. package/.next/server/app/page/app-paths-manifest.json +3 -0
  84. package/.next/server/app/page/build-manifest.json +20 -0
  85. package/.next/server/app/page/next-font-manifest.json +11 -0
  86. package/.next/server/app/page/react-loadable-manifest.json +1 -0
  87. package/.next/server/app/page/server-reference-manifest.json +4 -0
  88. package/.next/server/app/page.js +14 -0
  89. package/.next/server/app/page.js.nft.json +1 -0
  90. package/.next/server/app/page_client-reference-manifest.js +3 -0
  91. package/.next/server/app/settings/page/app-paths-manifest.json +3 -0
  92. package/.next/server/app/settings/page/build-manifest.json +20 -0
  93. package/.next/server/app/settings/page/next-font-manifest.json +11 -0
  94. package/.next/server/app/settings/page/react-loadable-manifest.json +1 -0
  95. package/.next/server/app/settings/page/server-reference-manifest.json +4 -0
  96. package/.next/server/app/settings/page.js +14 -0
  97. package/.next/server/app/settings/page.js.nft.json +1 -0
  98. package/.next/server/app/settings/page_client-reference-manifest.js +3 -0
  99. package/.next/server/app/ships/[shipId]/page/app-paths-manifest.json +3 -0
  100. package/.next/server/app/ships/[shipId]/page/build-manifest.json +20 -0
  101. package/.next/server/app/ships/[shipId]/page/next-font-manifest.json +11 -0
  102. package/.next/server/app/ships/[shipId]/page/react-loadable-manifest.json +1 -0
  103. package/.next/server/app/ships/[shipId]/page/server-reference-manifest.json +4 -0
  104. package/.next/server/app/ships/[shipId]/page.js +14 -0
  105. package/.next/server/app/ships/[shipId]/page.js.nft.json +1 -0
  106. package/.next/server/app/ships/[shipId]/page_client-reference-manifest.js +3 -0
  107. package/.next/server/app/sign-in/failed/page/app-paths-manifest.json +3 -0
  108. package/.next/server/app/sign-in/failed/page/build-manifest.json +20 -0
  109. package/.next/server/app/sign-in/failed/page/next-font-manifest.json +11 -0
  110. package/.next/server/app/sign-in/failed/page/react-loadable-manifest.json +1 -0
  111. package/.next/server/app/sign-in/failed/page/server-reference-manifest.json +4 -0
  112. package/.next/server/app/sign-in/failed/page.js +15 -0
  113. package/.next/server/app/sign-in/failed/page.js.nft.json +1 -0
  114. package/.next/server/app/sign-in/failed/page_client-reference-manifest.js +3 -0
  115. package/.next/server/app/sign-in/page/app-paths-manifest.json +3 -0
  116. package/.next/server/app/sign-in/page/build-manifest.json +20 -0
  117. package/.next/server/app/sign-in/page/next-font-manifest.json +11 -0
  118. package/.next/server/app/sign-in/page/react-loadable-manifest.json +1 -0
  119. package/.next/server/app/sign-in/page/server-reference-manifest.json +4 -0
  120. package/.next/server/app/sign-in/page.js +15 -0
  121. package/.next/server/app/sign-in/page.js.nft.json +1 -0
  122. package/.next/server/app/sign-in/page_client-reference-manifest.js +3 -0
  123. package/.next/server/app/sign-in/ticket/route/app-paths-manifest.json +3 -0
  124. package/.next/server/app/sign-in/ticket/route/build-manifest.json +12 -0
  125. package/.next/server/app/sign-in/ticket/route/server-reference-manifest.json +4 -0
  126. package/.next/server/app/sign-in/ticket/route.js +6 -0
  127. package/.next/server/app/sign-in/ticket/route.js.nft.json +1 -0
  128. package/.next/server/app/sign-in/ticket/route_client-reference-manifest.js +3 -0
  129. package/.next/server/app/squadrons/[squadronId]/page/app-paths-manifest.json +3 -0
  130. package/.next/server/app/squadrons/[squadronId]/page/build-manifest.json +20 -0
  131. package/.next/server/app/squadrons/[squadronId]/page/next-font-manifest.json +11 -0
  132. package/.next/server/app/squadrons/[squadronId]/page/react-loadable-manifest.json +1 -0
  133. package/.next/server/app/squadrons/[squadronId]/page/server-reference-manifest.json +4 -0
  134. package/.next/server/app/squadrons/[squadronId]/page.js +14 -0
  135. package/.next/server/app/squadrons/[squadronId]/page.js.nft.json +1 -0
  136. package/.next/server/app/squadrons/[squadronId]/page_client-reference-manifest.js +3 -0
  137. package/.next/server/app/squadrons/blueprints/[name]/page/app-paths-manifest.json +3 -0
  138. package/.next/server/app/squadrons/blueprints/[name]/page/build-manifest.json +20 -0
  139. package/.next/server/app/squadrons/blueprints/[name]/page/next-font-manifest.json +11 -0
  140. package/.next/server/app/squadrons/blueprints/[name]/page/react-loadable-manifest.json +1 -0
  141. package/.next/server/app/squadrons/blueprints/[name]/page/server-reference-manifest.json +4 -0
  142. package/.next/server/app/squadrons/blueprints/[name]/page.js +14 -0
  143. package/.next/server/app/squadrons/blueprints/[name]/page.js.nft.json +1 -0
  144. package/.next/server/app/squadrons/blueprints/[name]/page_client-reference-manifest.js +3 -0
  145. package/.next/server/app/squadrons/connection/route/app-paths-manifest.json +3 -0
  146. package/.next/server/app/squadrons/connection/route/build-manifest.json +12 -0
  147. package/.next/server/app/squadrons/connection/route/server-reference-manifest.json +4 -0
  148. package/.next/server/app/squadrons/connection/route.js +8 -0
  149. package/.next/server/app/squadrons/connection/route.js.nft.json +1 -0
  150. package/.next/server/app/squadrons/connection/route_client-reference-manifest.js +3 -0
  151. package/.next/server/app/squadrons/page/app-paths-manifest.json +3 -0
  152. package/.next/server/app/squadrons/page/build-manifest.json +20 -0
  153. package/.next/server/app/squadrons/page/next-font-manifest.json +11 -0
  154. package/.next/server/app/squadrons/page/react-loadable-manifest.json +1 -0
  155. package/.next/server/app/squadrons/page/server-reference-manifest.json +4 -0
  156. package/.next/server/app/squadrons/page.js +14 -0
  157. package/.next/server/app/squadrons/page.js.nft.json +1 -0
  158. package/.next/server/app/squadrons/page_client-reference-manifest.js +3 -0
  159. package/.next/server/app/squadrons/templates/[name]/page/app-paths-manifest.json +3 -0
  160. package/.next/server/app/squadrons/templates/[name]/page/build-manifest.json +20 -0
  161. package/.next/server/app/squadrons/templates/[name]/page/next-font-manifest.json +11 -0
  162. package/.next/server/app/squadrons/templates/[name]/page/react-loadable-manifest.json +1 -0
  163. package/.next/server/app/squadrons/templates/[name]/page/server-reference-manifest.json +4 -0
  164. package/.next/server/app/squadrons/templates/[name]/page.js +14 -0
  165. package/.next/server/app/squadrons/templates/[name]/page.js.nft.json +1 -0
  166. package/.next/server/app/squadrons/templates/[name]/page_client-reference-manifest.js +3 -0
  167. package/.next/server/app/version/route/app-paths-manifest.json +3 -0
  168. package/.next/server/app/version/route/build-manifest.json +12 -0
  169. package/.next/server/app/version/route/server-reference-manifest.json +4 -0
  170. package/.next/server/app/version/route.js +7 -0
  171. package/.next/server/app/version/route.js.nft.json +1 -0
  172. package/.next/server/app/version/route_client-reference-manifest.js +3 -0
  173. package/.next/server/app-paths-manifest.json +22 -0
  174. package/.next/server/chunks/0ysl_console__next-internal_server_app_squadrons_connection_route_actions_0zhzsfx.js +3 -0
  175. package/.next/server/chunks/1eui__next-internal_server_app_api_squadrons_[procedure]_route_actions_1zt6ewa.js +3 -0
  176. package/.next/server/chunks/[externals]__037yphh._.js +3 -0
  177. package/.next/server/chunks/[externals]__1p2j9_5._.js +3 -0
  178. package/.next/server/chunks/[root-of-the-server]__0eg7gro._.js +3 -0
  179. package/.next/server/chunks/[root-of-the-server]__0mt19sy._.js +3 -0
  180. package/.next/server/chunks/[root-of-the-server]__0w2mqex._.js +3 -0
  181. package/.next/server/chunks/[root-of-the-server]__11ajlfh._.js +3 -0
  182. package/.next/server/chunks/[root-of-the-server]__14r_nz7._.js +165 -0
  183. package/.next/server/chunks/[root-of-the-server]__15bjnu5._.js +5 -0
  184. package/.next/server/chunks/[root-of-the-server]__1fy1i0c._.js +3 -0
  185. package/.next/server/chunks/[root-of-the-server]__1w1vtvn._.js +3 -0
  186. package/.next/server/chunks/[turbopack]_runtime.js +807 -0
  187. package/.next/server/chunks/_0i1_hxa._.js +158 -0
  188. package/.next/server/chunks/_1cgolx3._.js +3 -0
  189. package/.next/server/chunks/_1mul6_v._.js +3 -0
  190. package/.next/server/chunks/node_modules_zod_v4_classic_external_1-pw2v2.js +60 -0
  191. package/.next/server/chunks/packages_console__next-internal_server_app_api_analytics_route_actions_1_9f2-k.js +3 -0
  192. package/.next/server/chunks/packages_console__next-internal_server_app_health_route_actions_0k_orjf.js +3 -0
  193. package/.next/server/chunks/packages_console__next-internal_server_app_icon_svg_route_actions_1n6yt2t.js +3 -0
  194. package/.next/server/chunks/packages_console__next-internal_server_app_sign-in_ticket_route_actions_1ohm05v.js +3 -0
  195. package/.next/server/chunks/packages_console__next-internal_server_app_version_route_actions_1i4obuv.js +3 -0
  196. package/.next/server/chunks/ssr/0ysl_console__next-internal_server_app_squadrons_[squadronId]_page_actions_1v19e9f.js +3 -0
  197. package/.next/server/chunks/ssr/1eui__next-internal_server_app_squadrons_blueprints_[name]_page_actions_025zpzu.js +3 -0
  198. package/.next/server/chunks/ssr/1eui__next-internal_server_app_squadrons_templates_[name]_page_actions_138suxs.js +3 -0
  199. package/.next/server/chunks/ssr/[root-of-the-server]__0-kksoz._.js +3 -0
  200. package/.next/server/chunks/ssr/[root-of-the-server]__0173vre._.js +3 -0
  201. package/.next/server/chunks/ssr/[root-of-the-server]__032-xi2._.js +3 -0
  202. package/.next/server/chunks/ssr/[root-of-the-server]__05qyki8._.js +3 -0
  203. package/.next/server/chunks/ssr/[root-of-the-server]__0c_a2x4._.js +3 -0
  204. package/.next/server/chunks/ssr/[root-of-the-server]__0cqjott._.js +3 -0
  205. package/.next/server/chunks/ssr/[root-of-the-server]__0ekquas._.js +3 -0
  206. package/.next/server/chunks/ssr/[root-of-the-server]__0gwz3s7._.js +3 -0
  207. package/.next/server/chunks/ssr/[root-of-the-server]__0qhp6ga._.js +3 -0
  208. package/.next/server/chunks/ssr/[root-of-the-server]__0rpyvw5._.js +3 -0
  209. package/.next/server/chunks/ssr/[root-of-the-server]__0u1t305._.js +33 -0
  210. package/.next/server/chunks/ssr/[root-of-the-server]__0zrjjv6._.js +3 -0
  211. package/.next/server/chunks/ssr/[root-of-the-server]__12a-wda._.js +3 -0
  212. package/.next/server/chunks/ssr/[root-of-the-server]__14v2amp._.js +3 -0
  213. package/.next/server/chunks/ssr/[root-of-the-server]__15k7946._.js +3 -0
  214. package/.next/server/chunks/ssr/[root-of-the-server]__1io3bae._.js +33 -0
  215. package/.next/server/chunks/ssr/[root-of-the-server]__1uan58j._.js +14 -0
  216. package/.next/server/chunks/ssr/[turbopack]_runtime.js +807 -0
  217. package/.next/server/chunks/ssr/_0-rsrfr._.js +188 -0
  218. package/.next/server/chunks/ssr/_00yiulp._.js +3 -0
  219. package/.next/server/chunks/ssr/_01eh2h5._.js +3 -0
  220. package/.next/server/chunks/ssr/_03sj9cx._.js +3 -0
  221. package/.next/server/chunks/ssr/_050suap._.js +3 -0
  222. package/.next/server/chunks/ssr/_05wjy-d._.js +3 -0
  223. package/.next/server/chunks/ssr/_09pq8b7._.js +3 -0
  224. package/.next/server/chunks/ssr/_0_6abve._.js +3 -0
  225. package/.next/server/chunks/ssr/_0aqa8e3._.js +3 -0
  226. package/.next/server/chunks/ssr/_0c1ebla._.js +3 -0
  227. package/.next/server/chunks/ssr/_0g98qoq._.js +3 -0
  228. package/.next/server/chunks/ssr/_0hwxad0._.js +3 -0
  229. package/.next/server/chunks/ssr/_0igx2qf._.js +3 -0
  230. package/.next/server/chunks/ssr/_0k0kffc._.js +3 -0
  231. package/.next/server/chunks/ssr/_0ksc8ky._.js +3 -0
  232. package/.next/server/chunks/ssr/_0nxk8e5._.js +3 -0
  233. package/.next/server/chunks/ssr/_0o7muzd._.js +3 -0
  234. package/.next/server/chunks/ssr/_0plfddz._.js +3 -0
  235. package/.next/server/chunks/ssr/_0sh180u._.js +3 -0
  236. package/.next/server/chunks/ssr/_0t1jjxf._.js +3 -0
  237. package/.next/server/chunks/ssr/_0vz-_zq._.js +3 -0
  238. package/.next/server/chunks/ssr/_0y_ez3b._.js +3 -0
  239. package/.next/server/chunks/ssr/_0zz00ec._.js +3 -0
  240. package/.next/server/chunks/ssr/_101_mtq._.js +3 -0
  241. package/.next/server/chunks/ssr/_10vocmg._.js +3 -0
  242. package/.next/server/chunks/ssr/_15ig5w6._.js +3 -0
  243. package/.next/server/chunks/ssr/_16klr-g._.js +3 -0
  244. package/.next/server/chunks/ssr/_19e0e-9._.js +74 -0
  245. package/.next/server/chunks/ssr/_1_hm4gt._.js +3 -0
  246. package/.next/server/chunks/ssr/_1c2ijn5._.js +3 -0
  247. package/.next/server/chunks/ssr/_1g2wuzd._.js +3 -0
  248. package/.next/server/chunks/ssr/_1izpqgm._.js +3 -0
  249. package/.next/server/chunks/ssr/_1jgnfkf._.js +3 -0
  250. package/.next/server/chunks/ssr/_1m_b36m._.js +3 -0
  251. package/.next/server/chunks/ssr/_1pif908._.js +3 -0
  252. package/.next/server/chunks/ssr/_1s07u90._.js +3 -0
  253. package/.next/server/chunks/ssr/_1s8-j5t._.js +23 -0
  254. package/.next/server/chunks/ssr/_1uj0w_b._.js +3 -0
  255. package/.next/server/chunks/ssr/_1x3v14n._.js +3 -0
  256. package/.next/server/chunks/ssr/_20fp5al._.js +3 -0
  257. package/.next/server/chunks/ssr/node_modules_0h91jdk._.js +33 -0
  258. package/.next/server/chunks/ssr/node_modules_next_dist_0kq7z60._.js +3 -0
  259. package/.next/server/chunks/ssr/node_modules_next_dist_0nkkbfv._.js +6 -0
  260. package/.next/server/chunks/ssr/node_modules_next_dist_18_d8l1._.js +151 -0
  261. package/.next/server/chunks/ssr/node_modules_next_dist_1v8aef8._.js +3 -0
  262. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +3 -0
  263. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js +3 -0
  264. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892.js +3 -0
  265. package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js +3 -0
  266. package/.next/server/chunks/ssr/packages_console_10fqil_._.js +3 -0
  267. package/.next/server/chunks/ssr/packages_console__next-internal_server_app__global-error_page_actions_1x4w6ky.js +3 -0
  268. package/.next/server/chunks/ssr/packages_console__next-internal_server_app__not-found_page_actions_070gzsk.js +3 -0
  269. package/.next/server/chunks/ssr/packages_console__next-internal_server_app_inbox_page_actions_16638gm.js +3 -0
  270. package/.next/server/chunks/ssr/packages_console__next-internal_server_app_needs-attention_page_actions_1g5zy14.js +3 -0
  271. package/.next/server/chunks/ssr/packages_console__next-internal_server_app_page_actions_1ks5rus.js +3 -0
  272. package/.next/server/chunks/ssr/packages_console__next-internal_server_app_settings_page_actions_0y-43tx.js +3 -0
  273. package/.next/server/chunks/ssr/packages_console__next-internal_server_app_ships_[shipId]_page_actions_0fzbzfp.js +3 -0
  274. package/.next/server/chunks/ssr/packages_console__next-internal_server_app_sign-in_failed_page_actions_014n0ub.js +3 -0
  275. package/.next/server/chunks/ssr/packages_console__next-internal_server_app_sign-in_page_actions_0a1y9sm.js +3 -0
  276. package/.next/server/chunks/ssr/packages_console__next-internal_server_app_squadrons_page_actions_1wsbttb.js +3 -0
  277. package/.next/server/chunks/ssr/packages_console_app_inbox_page_tsx_1bpmlpx._.js +3 -0
  278. package/.next/server/chunks/ssr/packages_console_app_needs-attention_page_tsx_1agfico._.js +3 -0
  279. package/.next/server/chunks/ssr/packages_console_app_page_tsx_16ln4px._.js +3 -0
  280. package/.next/server/chunks/ssr/packages_console_app_providers_tsx_06ai92n._.js +3 -0
  281. package/.next/server/chunks/ssr/packages_console_app_settings_page_tsx_1zqt7sk._.js +3 -0
  282. package/.next/server/chunks/ssr/packages_console_app_ships_[shipId]_page_tsx_0fudjay._.js +3 -0
  283. package/.next/server/chunks/ssr/packages_console_app_squadrons_[squadronId]_page_tsx_1umxs1g._.js +3 -0
  284. package/.next/server/chunks/ssr/packages_console_app_squadrons_page_tsx_1w6ym6z._.js +3 -0
  285. package/.next/server/chunks/ssr/packages_console_components_1_4zc74._.js +3 -0
  286. package/.next/server/chunks/ssr/packages_console_components_atoms_select_tsx_1v_3j3i._.js +3 -0
  287. package/.next/server/chunks/ssr/packages_console_components_organisms_sign-in-form_tsx_01urlma._.js +3 -0
  288. package/.next/server/functions-config-manifest.json +14 -0
  289. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  290. package/.next/server/middleware/middleware-manifest.json +6 -0
  291. package/.next/server/middleware-build-manifest.js +24 -0
  292. package/.next/server/middleware-manifest.json +6 -0
  293. package/.next/server/middleware.js +5 -0
  294. package/.next/server/middleware.js.nft.json +1 -0
  295. package/.next/server/next-font-manifest.js +1 -0
  296. package/.next/server/next-font-manifest.json +55 -0
  297. package/.next/server/pages/500.html +1 -0
  298. package/.next/server/pages-manifest.json +3 -0
  299. package/.next/server/prefetch-hints.json +11 -0
  300. package/.next/server/server-reference-manifest.js +1 -0
  301. package/.next/server/server-reference-manifest.json +5 -0
  302. package/.next/static/4BHf_wBvFUce1tC4Uw_GD/_buildManifest.js +11 -0
  303. package/.next/static/4BHf_wBvFUce1tC4Uw_GD/_clientMiddlewareManifest.js +6 -0
  304. package/.next/static/4BHf_wBvFUce1tC4Uw_GD/_ssgManifest.js +1 -0
  305. package/.next/static/chunks/04p19br-6pr3q.js +1 -0
  306. package/.next/static/chunks/05xsztb02v-3h.js +1 -0
  307. package/.next/static/chunks/09zxfi4t5ku4j.js +1 -0
  308. package/.next/static/chunks/0atm4wesk-4u8.js +1 -0
  309. package/.next/static/chunks/0cz1d0mv5g_q7.js +1 -0
  310. package/.next/static/chunks/0es5vdu6lt-lm.css +3 -0
  311. package/.next/static/chunks/0hl9b82m3b_kf.js +1 -0
  312. package/.next/static/chunks/0jkliy--t1bbh.js +1 -0
  313. package/.next/static/chunks/0nchi43nyih52.js +1 -0
  314. package/.next/static/chunks/0oh4dxohbk7m8.js +1 -0
  315. package/.next/static/chunks/0w8wux_7extu3.js +1 -0
  316. package/.next/static/chunks/0xdkx7wg739q7.js +1 -0
  317. package/.next/static/chunks/0yxe4-al0lhj4.js +1 -0
  318. package/.next/static/chunks/1cbzjk-qf984o.js +1 -0
  319. package/.next/static/chunks/1kqyc3egwf-g6.js +1 -0
  320. package/.next/static/chunks/1q-shkfypoia-.js +1 -0
  321. package/.next/static/chunks/1t5mkoni0wrc0.js +1 -0
  322. package/.next/static/chunks/21py3ha_f_e3-.js +1 -0
  323. package/.next/static/chunks/22wd2oyjf0iq_.js +1 -0
  324. package/.next/static/chunks/2ff-56ohrio7h.js +1 -0
  325. package/.next/static/chunks/2i51e627rllld.js +1 -0
  326. package/.next/static/chunks/2mvb-x6v93lfc.js +1 -0
  327. package/.next/static/chunks/2pac63cjw_hpu.js +22 -0
  328. package/.next/static/chunks/2quoh5csh67oz.js +1 -0
  329. package/.next/static/chunks/2t6jzvnrf9ejw.js +1 -0
  330. package/.next/static/chunks/2z2hhi291ems4.js +58 -0
  331. package/.next/static/chunks/32-17dotvltga.js +1 -0
  332. package/.next/static/chunks/3fntmmi971322.js +1 -0
  333. package/.next/static/chunks/3m4-wgj579r4x.js +1 -0
  334. package/.next/static/chunks/3mc6dra1m0098.js +31 -0
  335. package/.next/static/chunks/3s7zld9klu484.js +1 -0
  336. package/.next/static/chunks/3tsjbqptivphr.js +1 -0
  337. package/.next/static/chunks/42-u_9nvmdste.js +1 -0
  338. package/.next/static/chunks/turbopack-03ngddy_g6-7a.js +1 -0
  339. package/.next/static/media/geist_mono_variable-s.p.3ms9vq719j3f8.woff2 +0 -0
  340. package/.next/static/media/geist_variable-s.p.0mrjj4bg00-he.woff2 +0 -0
  341. package/.next/static/media/icon.0h5hy2etdmq_n.svg +19 -0
  342. package/.next/turbopack +0 -0
  343. package/LICENSE +201 -0
  344. package/README.md +63 -1
  345. package/bin/aeolus-console.js +42 -0
  346. package/next.config.ts +10 -0
  347. package/package.json +63 -3
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52376,e=>{"use strict";e.s([],4824),e.i(4824);var t=e.i(71645),r=e.i(52245),n=e.i(33332);let s=t.createContext(void 0);function i(){let e=t.useContext(s);if(void 0===e)throw Error((0,n.default)(13));return e}let a={imageLoadingStatus:()=>null};var o=e.i(43476);let l=t.forwardRef(function(e,n){let{className:i,render:l,style:u,...c}=e,[d,h]=t.useState("idle"),f=t.useMemo(()=>({imageLoadingStatus:d,setImageLoadingStatus:h}),[d,h]),p=(0,r.useRenderElement)("span",e,{state:{imageLoadingStatus:d},ref:n,props:c,stateAttributesMapping:a});return(0,o.jsx)(s.Provider,{value:f,children:p})});var u=e.i(67865),c=e.i(46376),d=e.i(37584),h=e.i(74354),f=e.i(23910),p=e.i(56789);let m={...a,...h.transitionStatusMapping},g=t.forwardRef(function(e,n){let{className:s,render:a,onLoadingStatusChange:o,keepMounted:l=!1,style:h,sizes:g,srcSet:y,src:x,...b}=e,{setImageLoadingStatus:v}=i(),[k,j]=function(e,{referrerPolicy:r,crossOrigin:n,sizes:s,srcSet:i},a){let o=t.useState("idle"),l=o[1];return(0,c.useIsoLayoutEffect)(()=>{if(!a)return p.NOOP;if(!e&&!i)return l("error"),p.NOOP;let t=!0,o=new window.Image,u=e=>()=>{t&&l(e)};return l("loading"),o.onload=u("loaded"),o.onerror=u("error"),r&&(o.referrerPolicy=r),o.crossOrigin=n??null,s&&(o.sizes=s),i&&(o.srcset=i),e&&(o.src=e),o.complete&&l(o.naturalWidth>0?"loaded":"error"),()=>{t=!1}},[a,e,i,s,n,r,l]),o}(x,e,!l),w="loaded"===k,{mounted:C,transitionStatus:S,setMounted:N}=(0,f.useTransitionStatus)(w),T=t.useRef(null),R=t.useRef(!0);(0,c.useIsoLayoutEffect)(()=>{if(!l)return;let e=R.current;R.current=!1;let t=T.current;if(!t)return;if(!t.complete)return void j("loading");let r=t.naturalWidth>0?"loaded":"error";j(r),"loaded"===r&&e&&N(!0)},[l,x,y,g,b.crossOrigin,b.referrerPolicy,a,j,N]);let E=l?{"data-loading":"loading"===k?"":void 0,"data-error":"error"===k?"":void 0,"aria-hidden":"loaded"!==k||void 0,onLoad(){j("loaded")},onError(){j("error")}}:void 0,M=(0,u.useStableCallback)(e=>{o?.(e),v(e)});(0,c.useIsoLayoutEffect)(()=>{"idle"!==k&&M(k)},[k,M]),(0,c.useIsoLayoutEffect)(()=>()=>v("idle"),[v]),(0,d.useOpenChangeComplete)({enabled:!w,open:w,ref:T,onComplete(){w||N(!1)}});let A=l||C,O={};void 0!==g&&(O.sizes=g),void 0!==y&&(O.srcSet=y),void 0!==x&&(O.src=x);let z=(0,r.useRenderElement)("img",e,{state:{imageLoadingStatus:k,transitionStatus:l&&"ending"===S?void 0:S},ref:[n,T],props:[E,b,O],stateAttributesMapping:m,enabled:A});return A?z:null});var y=e.i(39957);let x=t.forwardRef(function(e,n){let{className:s,render:o,delay:l=0,style:u,...c}=e,{imageLoadingStatus:d}=i(),[h,f]=t.useState(0===l),p=(0,y.useTimeout)();return t.useEffect(()=>(l>0?p.start(l,()=>f(!0)):f(!0),p.clear),[p,l]),(0,r.useRenderElement)("span",e,{state:{imageLoadingStatus:d},ref:n,props:c,stateAttributesMapping:a,enabled:"loaded"!==d&&(0===l||h)})});e.s(["Fallback",0,x,"Image",0,g,"Root",0,l],14751);var b=e.i(14751);e.s(["Avatar",0,b],52376)},80862,e=>{"use strict";e.s(["endingStyle",0,"data-ending-style","startingStyle",0,"data-starting-style"])},74354,e=>{"use strict";var t=e.i(80862);let r={[t.startingStyle]:""},n={[t.endingStyle]:""};e.s(["transitionStatusMapping",0,{transitionStatus:e=>"starting"===e?r:"ending"===e?n:null}])},37584,22640,e=>{"use strict";var t=e.i(71645),r=e.i(67865),n=e.i(74080),s=e.i(8445),i=e.i(94603),a=e.i(80862);let o=null;function l(e,t=!1,u=!1){let c=(0,s.useAnimationFrame)();return(0,r.useStableCallback)((r,s=null)=>{c.cancel();let l=(0,i.resolveRef)(e);if(null==l)return;let d=()=>{if(!u)return void n.flushSync(r);if(!o){let e=[];o=e,queueMicrotask(()=>{o=null,n.flushSync(()=>{for(let t of e)t()})})}o.push(()=>{s?.aborted||r()})};if("function"!=typeof l.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)return void r();function h(){Promise.all(l.getAnimations().map(e=>e.finished)).then(()=>{s?.aborted||d()},()=>{s?.aborted||(l.getAnimations().some(e=>e.pending||"finished"!==e.playState)?h():d())})}if(t){let e=a.startingStyle;if(!l.hasAttribute(e))return void c.request(h);let t=new MutationObserver(()=>{l.hasAttribute(e)||(t.disconnect(),h())});return t.observe(l,{attributes:!0,attributeFilter:[e]}),void s?.addEventListener("abort",()=>t.disconnect(),{once:!0})}c.request(h)})}e.s(["useAnimationsFinished",0,l],22640),e.s(["useOpenChangeComplete",0,function(e){let{enabled:n=!0,open:s,ref:i,batch:a=!1,onComplete:o}=e,u=(0,r.useStableCallback)(o),c=l(i,s,a);t.useEffect(()=>{if(!n)return;let e=new AbortController;return c(u,e.signal),()=>{e.abort()}},[n,s,u,c])}],37584)},23910,e=>{"use strict";var t=e.i(71645),r=e.i(46376),n=e.i(8445);e.s(["useTransitionStatus",0,function(e,s=!1,i=!1,a=!1){let[o,l]=t.useState(e&&s?"idle":void 0),[u,c]=t.useState(e&&!a);return e&&!u&&(c(!0),l("starting")),e||!u||"ending"===o||i||l("ending"),e||u||"ending"!==o||l(void 0),(0,r.useIsoLayoutEffect)(()=>{if(!e&&u&&"ending"!==o&&i){let e=n.AnimationFrame.request(()=>{l("ending")});return()=>{n.AnimationFrame.cancel(e)}}},[e,u,o,i]),(0,r.useIsoLayoutEffect)(()=>{if(!e||s)return;let t=n.AnimationFrame.request(()=>{l(void 0)});return()=>{n.AnimationFrame.cancel(t)}},[s,e]),(0,r.useIsoLayoutEffect)(()=>{if(!e||!s)return;e&&u&&"idle"!==o&&l("starting");let t=n.AnimationFrame.request(()=>{l("idle")});return()=>{n.AnimationFrame.cancel(t)}},[s,e,u,o]),{mounted:u,setMounted:c,transitionStatus:o}}])},94603,e=>{"use strict";e.s(["resolveRef",0,function(e){return null==e?e:"current"in e?e.current:e}])},8445,e=>{"use strict";e.i(47167);var t=e.i(88940),r=e.i(26300);let n=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let r=0;r<t.length;r+=1)t[r]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||null!==this.callbacks[t]&&(this.callbacks[t]=null,this.callbacksCount-=1)}};class s{static create(){return new s}static request(e){return n.request(e)}static cancel(e){return n.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=n.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(n.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}e.s(["AnimationFrame",0,s,"useAnimationFrame",0,function(){let e=(0,t.useRefWithInit)(s.create).current;return(0,r.useOnMount)(e.disposeEffect),e}])},26300,e=>{"use strict";var t=e.i(71645),r=e.i(56789);e.s(["useOnMount",0,function(e){t.useEffect(e,r.EMPTY_ARRAY)}])},39957,e=>{"use strict";var t=e.i(88940),r=e.i(26300);class n{static create(){return new n}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}e.s(["Timeout",0,n,"useTimeout",0,function(){let e=(0,t.useRefWithInit)(n.create).current;return(0,r.useOnMount)(e.disposeEffect),e}])},79432,19002,11147,e=>{"use strict";var t=e.i(56420);let r={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]};r.node;let n=(0,t.default)(r);e.s(["Activity",0,n],79432);let s={name:"circle-pause",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]],aliases:["pause-circle"]};s.node;let i=(0,t.default)(s);e.s(["CirclePause",0,i],19002);let a={name:"octagon-pause",size:24,node:[["path",{d:"M10 15V9",key:"1lckn7"}],["path",{d:"M14 15V9",key:"1muqhk"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}]],aliases:["pause-octagon"]};a.node;let o=(0,t.default)(a);e.s(["OctagonPause",0,o],11147)},86247,49319,e=>{"use strict";var t=e.i(56420);let r={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};r.node;let n=(0,t.default)(r);e.s(["Ellipsis",0,n],86247);let s={name:"user-minus",size:24,node:[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]};s.node;let i=(0,t.default)(s);e.s(["UserMinus",0,i],49319)},26091,e=>{"use strict";var t=e.i(56420);let r={name:"file-text",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]};r.node;let n=(0,t.default)(r);e.s(["FileText",0,n],26091)},31458,e=>{"use strict";var t=e.i(56420);let r={name:"flag",size:24,node:[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]]};r.node;let n=(0,t.default)(r);e.s(["Flag",0,n],31458)},58925,e=>{"use strict";var t=e.i(56420);let r={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};r.node;let n=(0,t.default)(r);e.s(["KeyRound",0,n],58925)},49287,e=>{"use strict";var t=e.i(56420);let r={name:"ship",size:24,node:[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 9.189V13",key:"yp40p3"}],["path",{d:"M19 12V6a2 2 0 00-2-2H7a2 2 0 00-2 2v6",key:"1wcigf"}],["path",{d:"M19.38 19A11.6 11.6 0 0021 13l-8.188-3.639a2 2 0 00-1.624 0L3 13.001a11.6 11.6 0 002.81 7.76",key:"1kdp0u"}],["path",{d:"M2 20c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1l8w7g"}]]};r.node;let n=(0,t.default)(r);e.s(["Ship",0,n],49287)},83035,e=>{"use strict";var t=e.i(56420);let r={name:"square-terminal",size:24,node:[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],aliases:["terminal-square"]};r.node;let n=(0,t.default)(r);e.s(["SquareTerminal",0,n],83035)},94831,e=>{"use strict";var t=e.i(56420);let r={name:"unplug",size:24,node:[["path",{d:"m19 5 3-3",key:"yk6iyv"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z",key:"1snsnr"}]]};r.node;let n=(0,t.default)(r);e.s(["Unplug",0,n],94831)},82303,e=>{"use strict";var t=e.i(56420);let r={name:"users",size:24,node:[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]};r.node;let n=(0,t.default)(r);e.s(["Users",0,n],82303)},22016,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let i=e.r(90809),a=e.r(43476),o=i._(e.r(71645)),l=e.r(95057),u=e.r(8372),c=e.r(18581),d=e.r(18967),h=e.r(5550),f=e.r(88540),p=e.r(91949),m=e.r(73668),g=e.r(9396);function y(t){var r;let n,s,i,[y,b]=(0,o.useOptimistic)(p.IDLE_LINK_STATUS),v=(0,o.useRef)(null),{href:k,as:j,children:w,prefetch:C=null,passHref:S,replace:N,shallow:T,scroll:R,onClick:E,onMouseEnter:M,onTouchStart:A,legacyBehavior:O=!1,onNavigate:z,transitionTypes:P,ref:I,unstable_dynamicOnHover:D,...L}=t;n=w,O&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let $=o.default.useContext(u.AppRouterContext),_=!1!==C,q=!1===C?"none":!0===C?"full":"auto",F="none"!==q?"auto"===q?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,B="string"==typeof(r=j||k)?r:(0,l.formatUrl)(r);if(O){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=o.default.Children.only(n)}let H=O?s&&"object"==typeof s&&s.ref:I,U,Q=o.default.useCallback(e=>(null!==$&&(v.current=(0,p.mountLinkInstance)(e,B,$,F,_,b,U)),()=>{v.current&&((0,p.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,p.unmountPrefetchableInstance)(e)}),[_,B,$,F,b,U]),V={ref:(0,c.useMergedRef)(Q,H),onClick(t){O||"function"!=typeof E||E(t),O&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!$||t.defaultPrevented||function(t,r,n,s,i,a,l,u="none"){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){s&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:h}=e.r(99781);o.default.startTransition(()=>{h(r,s?"replace":"push",!1===i?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,n.current,l,u)})}}(t,B,v,N,R,z,P,q)},onMouseEnter(e){O||"function"!=typeof M||M(e),O&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),$&&_&&(0,p.onNavigationIntent)(e.currentTarget,!0===D)},onTouchStart:function(e){O||"function"!=typeof A||A(e),O&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),$&&_&&(0,p.onNavigationIntent)(e.currentTarget,!0===D)}};return(0,d.isAbsoluteUrl)(B)?V.href=B:O&&!S&&("a"!==s.type||"href"in s.props)||(V.href=(0,h.addBasePath)(B)),i=O?o.default.cloneElement(s,V):(0,a.jsx)("a",{...L,...V,children:n}),(0,a.jsx)(x.Provider,{value:y,children:i})}let x=(0,o.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,o.useContext)(x);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=e.r(71645);function s(e,t){let r=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(r.current=i(e,n)),t&&(s.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18967,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return k},MissingStaticPage:function(){return v},NormalizeError:function(){return x},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return i},execOnce:function(){return a},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return h},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return j}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&o.test(e)};function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function h(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&h(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class x extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class k extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function j(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(18967),s=e.r(52817);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,s.hasBasePath)(r.pathname)}catch(e){return!1}}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return o}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return o},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let i=e.r(90809)._(e.r(98183)),a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,n=e.protocol||"",s=e.pathname||"",o=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(i.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==u?(u="//"+(u||""),s&&"/"!==s[0]&&(s="/"+s)):u||(u=""),o&&"#"!==o[0]&&(o="#"+o),c&&"?"!==c[0]&&(c="?"+c),s=s.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${s}${c}${o}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return o(e)}},24010,e=>{"use strict";var t=e.i(43476);e.s([],58762),e.i(58762);var r=e.i(66250),n=e.i(2820),s=e.i(56736),i=e.i(9793),a=e.i(84324),o=e.i(64951),l=e.i(77173);let u=e.i(13488).DialogTrigger;var c=e.i(74217),d=e.i(25326);class h extends d.DialogHandle{}e.s(["Backdrop",()=>n.DialogBackdrop,"Close",()=>s.DialogClose,"Description",()=>i.DialogDescription,"Handle",0,h,"Popup",()=>a.DialogPopup,"Portal",()=>o.DialogPortal,"Root",0,function(e){return(0,r.useRenderDialogRoot)("alert-dialog",e)},"Title",()=>l.DialogTitle,"Trigger",0,u,"Viewport",()=>c.DialogViewport,"createHandle",0,function(){return new h}],34604);var f=e.i(34604),f=f,p=e.i(90063),m=e.i(94945);e.s(["AlertDialog",0,function(e){return(0,t.jsx)(f.Root,{"data-slot":"alert-dialog",...e})},"AlertDialogClose",0,function(e){return(0,t.jsx)(f.Close,{"data-slot":"alert-dialog-close",...e})},"AlertDialogContent",0,function({className:e,size:r,children:n,...s}){return(0,t.jsxs)(f.Portal,{children:[(0,t.jsx)(f.Backdrop,{"data-slot":"alert-dialog-overlay",className:m.dialogSurface.overlay}),(0,t.jsx)(f.Popup,{"data-slot":"alert-dialog-content",className:(0,p.classNames)(m.dialogSurface.popup({size:r}),e),...s,children:n})]})},"AlertDialogDescription",0,function({className:e,...r}){return(0,t.jsx)(f.Description,{"data-slot":"alert-dialog-description",className:(0,p.classNames)(m.dialogSurface.description,e),...r})},"AlertDialogFooter",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,p.classNames)(m.dialogSurface.footer,e),...r})},"AlertDialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,p.classNames)(m.dialogSurface.header,e),...r})},"AlertDialogTitle",0,function({className:e,...r}){return(0,t.jsx)(f.Title,{"data-slot":"alert-dialog-title",className:(0,p.classNames)(m.dialogSurface.title,e),...r})}],24010)},94859,26478,e=>{"use strict";var t=e.i(43476),r=e.i(52376),n=e.i(25913),s=e.i(49287),i=e.i(56420);let a={name:"user-round",size:24,node:[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],aliases:["user-2"]};a.node;let o=(0,i.default)(a);e.s(["UserRound",0,o],26478);var l=e.i(90063);let u=(0,n.cva)("inline-flex shrink-0 items-center justify-center overflow-hidden font-semibold uppercase select-none",{variants:{kind:{app:"rounded-sm bg-primary text-primary-foreground",account:"rounded-full bg-secondary font-sans text-foreground",ship:"rounded-sm bg-secondary font-mono text-foreground",argo:"rounded-sm bg-highlight text-primary",retired:"rounded-sm border border-dashed border-input font-mono font-medium text-muted-foreground"},size:{20:"size-5 text-micro [&_svg]:size-3",28:"size-7 text-micro [&_svg]:size-(--size-icon-sm)",36:"size-9 text-caption [&_svg]:size-(--size-icon)"}},defaultVariants:{kind:"ship",size:28}});e.s(["Avatar",0,function({kind:e="ship",size:n,name:i="",className:a}){let c=e??"ship";return(0,t.jsx)(r.Avatar.Root,{"aria-hidden":!0,"data-slot":"avatar",className:(0,l.classNames)(u({kind:e,size:n}),a),children:(0,t.jsx)(r.Avatar.Fallback,{children:"app"===c?(0,t.jsx)(s.Ship,{"aria-hidden":!0}):"argo"===c?(0,t.jsx)(o,{"aria-hidden":!0}):i.replaceAll("-","").slice(0,2)})})}],94859)},61966,8734,e=>{"use strict";var t=e.i(43476),r=e.i(89664),n=e.i(56420);let s={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};s.node;let i=(0,n.default)(s);e.s(["Copy",0,i],8734);var a=e.i(71645),o=e.i(15905);e.s(["CopyButton",0,function({value:e,label:n,size:s="xs",isLabeled:l=!1,onCopied:u,onCopyFailed:c,className:d,"data-testid":h}){let[f,p]=(0,a.useState)(!1);async function m(){try{await navigator.clipboard.writeText(e)}catch{c?.();return}p(!0),u?.(),setTimeout(()=>{p(!1)},1500)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Button,{variant:"ghost",size:s,isIconOnly:!l,"aria-label":n,title:l?void 0:n,icon:f?(0,t.jsx)(r.Check,{"aria-hidden":!0}):(0,t.jsx)(i,{"aria-hidden":!0}),className:d,"data-testid":h,onClick:()=>{m()},children:l?f?"Copied":"Copy":null}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:f?"Copied.":""})]})}],61966)},1009,e=>{"use strict";var t=e.i(43476);e.s(["ConsequenceList",0,function({consequences:e}){return(0,t.jsx)("ul",{className:"flex flex-col gap-2 rounded-lg border border-border bg-muted p-3 text-meta text-foreground",children:e.map(({icon:e,text:r})=>(0,t.jsxs)("li",{className:"flex gap-2",children:[(0,t.jsx)(e,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0 text-muted-foreground"}),(0,t.jsx)("span",{children:r})]},r))})}])},63481,e=>{"use strict";var t=e.i(43476),r=e.i(56420);let n={name:"app-window",size:24,node:[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]};n.node;let s=(0,r.default)(n),i={name:"bot",size:24,node:[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]};i.node;let a=(0,r.default)(i),o={name:"cloud",size:24,node:[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]};o.node;let l=(0,r.default)(o),u={name:"laptop",size:24,node:[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]]};u.node;let c=(0,r.default)(u),d={name:"map-pin",size:24,node:[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]};d.node;let h=(0,r.default)(d),f={name:"message-circle",size:24,node:[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]};f.node;let p=(0,r.default)(f),m={name:"server",size:24,node:[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]};m.node;let g=(0,r.default)(m);var y=e.i(83035),x=e.i(94831),b=e.i(90063),v=e.i(66616),k=e.i(40798);let j={DEVICE:c,CLOUD:l,SERVER:g,OTHER:h},w={coding:y.SquareTerminal,chat:p,bot:a,console:s},C={md:"text-body",sm:"text-meta"};e.s(["LocationTag",0,function({kind:e,description:r=null,harness:n=null,isCompact:s=!1,size:i="md",className:a}){let o=(0,b.classNames)("inline-flex min-w-0 items-center gap-1.5 text-muted-foreground [&_svg]:size-(--size-icon-sm) [&_svg]:shrink-0",C[i],a);if(null===e)return(0,t.jsxs)("span",{"data-slot":"location-tag",className:o,children:[(0,t.jsx)(x.Unplug,{"aria-hidden":!0}),"No session"]});let l=j[e],u=(0,k.locationKindWord)(e),c=null===r?u:`${u} \xb7 ${r}`;if(null!==n){let e=(0,v.harnessKind)(n),s=void 0===e?void 0:w[e],i=(0,v.harnessWord)(n);return(0,t.jsxs)("span",{"data-slot":"location-tag",className:o,title:null===r?`${i} \xb7 ${u}`:`${i} \xb7 ${u}: ${r}`,children:[void 0===s?null:(0,t.jsx)(s,{"aria-hidden":!0}),(0,t.jsx)("span",{className:"truncate text-foreground",children:i}),(0,t.jsx)("span",{"aria-hidden":!0,children:"·"}),(0,t.jsx)(l,{"aria-hidden":!0}),(0,t.jsx)("span",{className:"truncate",children:u}),null===r?null:(0,t.jsxs)("span",{className:"sr-only",children:[": ",r]})]})}return s?(0,t.jsxs)("span",{"data-slot":"location-tag",className:o,title:c,children:[(0,t.jsx)(l,{"aria-hidden":!0}),(0,t.jsxs)("span",{className:"sr-only",children:[u,": "]}),(0,t.jsx)("span",{className:"truncate text-foreground",children:r??u})]}):(0,t.jsxs)("span",{"data-slot":"location-tag",className:o,children:[(0,t.jsx)(l,{"aria-hidden":!0}),(0,t.jsxs)("span",{className:"truncate",children:[u,null===r?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":!0,children:" · "}),(0,t.jsx)("span",{className:"sr-only",children:", "}),(0,t.jsx)("span",{className:"text-foreground",children:r})]})]})]})}],63481)},81830,e=>{"use strict";var t=e.i(43476),r=e.i(79432),n=e.i(19002),s=e.i(11147),i=e.i(90063),a=e.i(49635),o=e.i(93361);let l={working:r.Activity,blocked:s.OctagonPause,idle:n.CirclePause},u={active:"text-tone-active-fg",waiting:"text-tone-waiting-fg",ended:"text-tone-ended-fg"};e.s(["ReportLine",0,function({report:e,now:r,variant:n,isTimeInTitle:s=!1,testId:c}){let d="full"===n,h=(0,i.classNames)("flex min-w-0 items-center gap-1.5",d?"text-body":"text-meta");if(null===e)return(0,t.jsx)("span",{"data-testid":c,"data-state":"none",className:(0,i.classNames)(h,"text-muted-foreground"),children:"No report yet"});let f=l[e.state],p=u[o.REPORT_TONES[e.state]],m=new Date(e.reportedAt);return(0,t.jsxs)("span",{"data-testid":c,"data-state":e.state,title:s?`${(0,o.reportText)(e)} \xb7 ${(0,o.reportedWhen)(m,r)}`:(0,o.reportText)(e),className:h,children:[(0,t.jsx)(f,{"aria-hidden":!0,className:(0,i.classNames)("size-(--size-icon-sm) shrink-0",p)}),(0,t.jsx)("span",{className:(0,i.classNames)("shrink-0 font-medium",p),children:o.REPORT_STATE_WORDS[e.state]}),null===e.note?null:(0,t.jsx)("span",{className:"min-w-0 truncate text-foreground",children:e.note}),s?null:(0,t.jsx)("time",{dateTime:e.reportedAt,title:(0,a.fullDateTime)(m),className:"shrink-0 text-muted-foreground tabular-nums",children:d?`\xb7 ${(0,o.reportedWhen)(m,r)}`:(0,o.reportAge)(m,r)})]})}])},69374,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(26808),s=e.i(12470),i=e.i(91727);e.s(["TypedConfirm",0,function({expected:e,value:a,onValueChange:o,"data-testid":l="retire-typed-confirm"}){let u=(0,r.useId)(),c=(0,r.useId)();return(0,t.jsxs)("div",{"data-testid":l,className:"flex flex-col gap-1.5",children:[(0,t.jsxs)(i.Label,{htmlFor:u,className:"text-meta",children:["Type ",(0,t.jsx)("code",{className:"rounded-xs bg-muted px-1 py-0.5 font-mono text-id",children:e})," to confirm"]}),(0,t.jsx)(s.Input,{id:u,isMono:!0,autoComplete:"off",autoCapitalize:"off",autoCorrect:"off",spellCheck:!1,"aria-describedby":c,className:"max-sm:h-(--size-control-touch) max-sm:text-input-touch",value:a,onChange:e=>{o(e.target.value)}}),(0,t.jsx)("p",{id:c,"aria-live":"polite",className:"text-meta text-muted-foreground",children:""===a?"Case and hyphens must match.":(0,n.isTypedMatch)(e,a)?"Matches. The button is now active.":"Doesn’t match yet."})]})}])},39874,82880,3067,42211,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(26808),s=e.i(48695),i=e.i(15905),a=e.i(10818),o=e.i(25398),l=e.i(22212),u=e.i(94945),c=e.i(19321),d=e.i(66616),h=e.i(61966),f=e.i(60592);function p({crewLines:e,subject:n,testIdPrefix:s,onCopied:i,onCopyFailed:a}){let[o,l]=(0,r.useState)(e[0]?.harness),u=e.find(e=>e.harness===o)??e[0];if(!u)return null;let c=(0,d.crewLineHarnessWord)(u.harness);return(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2 max-sm:flex-col max-sm:items-stretch",children:[(0,t.jsx)(f.Tabs,{value:u.harness,onValueChange:t=>{let r=e.find(e=>e.harness===t);r&&l(r.harness)},children:(0,t.jsx)(f.TabsList,{"aria-label":`Crew ${n} from`,children:e.map(e=>(0,t.jsx)(f.TabsTrigger,{value:e.harness,"data-testid":`${s}-${e.harness}-tab`,children:(0,d.crewLineHarnessWord)(e.harness)},e.harness))})}),(0,t.jsx)("code",{"data-testid":`${s}-${u.harness}`,title:u.line,className:"min-w-0 grow truncate rounded-md bg-muted px-2 py-1 font-mono text-code text-foreground",children:u.line}),(0,t.jsx)(h.CopyButton,{value:u.line,label:`Copy the ${c} crew line for ${n}`,isLabeled:!0,onCopied:i,onCopyFailed:a,"data-testid":`${s}-${u.harness}-copy`})]})}e.s(["CompactCrewLine",0,p],82880);var m=e.i(17981),g=e.i(26091);function y({note:e,model:r,template:n,testId:s}){return null===e&&null===r?null:(0,t.jsxs)("div",{className:"flex items-start gap-2 rounded-md bg-muted px-3 py-2 text-meta",children:[(0,t.jsx)(g.FileText,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0 text-muted-foreground"}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsxs)("span",{className:"text-muted-foreground",children:["Launch note",void 0===n?"":` \xb7 ${n}`]}),null!==e&&(0,t.jsx)("span",{"data-testid":s,children:e}),null!==r&&(0,t.jsxs)("span",{children:["Runs ",(0,t.jsx)("span",{className:"font-mono",children:r})]})]})]})}function x({memberName:e,template:r,launchNote:n,model:s,crewLines:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y,{note:n,model:s,template:r,testId:"crew-line-launch-note"}),(0,t.jsx)(p,{crewLines:i,subject:e,testIdPrefix:"crew-line-text"}),(0,t.jsxs)("p",{className:"flex items-center gap-1.5 text-meta text-muted-foreground",children:[(0,t.jsx)(a.Info,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"font-medium",children:"Shown once."})," Paste the crew line into Claude Code or Codex started where the launch note says, or into a chat client with the fleet’s connector. A new crew line stops it working."]})]})]})}function b({memberName:e,state:r,template:n,launchNote:s=null,model:a=null,crewLines:d,error:h,isOpen:f,onOpenChange:p,onConfirm:g}){let y="issuing"===r;return(0,t.jsx)(l.Dialog,{open:f,onOpenChange:e=>{y||p(e)},children:(0,t.jsxs)(l.DialogContent,{size:"md","data-testid":"crew-line-dialog",className:u.dialogSurface.phoneFullScreen,children:[(0,t.jsxs)(l.DialogHeader,{children:[(0,t.jsxs)(l.DialogTitle,{children:["Crew line for ",e]}),(0,t.jsx)(l.DialogDescription,{children:"Start Claude Code or Codex where the launch note says, or open a chat client with the fleet’s connector, then paste its crew line. The member is on station once its session checks in."})]}),y&&(0,t.jsxs)("div",{"aria-busy":!0,className:"flex flex-col gap-3",children:[(0,t.jsx)("span",{className:"sr-only",children:"Issuing a crew line..."}),(0,t.jsx)(c.Skeleton,{className:"h-10 w-full rounded-lg"}),(0,t.jsx)(c.Skeleton,{className:"h-28 w-full rounded-lg"})]}),"shown"===r&&void 0!==d&&(0,t.jsx)(x,{memberName:e,template:n,launchNote:s,model:a,crewLines:d}),"error"===r&&(0,t.jsx)(m.InlineError,{title:"Couldn’t issue a crew line",description:`${h??"The squadron manager did not answer."} No new secret was created; an earlier crew line still works.`}),(0,t.jsxs)(l.DialogFooter,{children:[("shown"===r||y)&&(0,t.jsx)(l.DialogClose,{render:(0,t.jsx)(i.Button,{variant:"primary","data-testid":"crew-line-done",disabled:y}),children:"Done"}),"error"===r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.DialogClose,{render:(0,t.jsx)(i.Button,{}),children:"Close"}),(0,t.jsx)(i.Button,{variant:"primary",icon:(0,t.jsx)(o.RotateCw,{"aria-hidden":!0}),"data-testid":"crew-line-retry",onClick:g,children:"Try again"})]})]})]})})}e.s(["LaunchNote",0,y],3067),e.s(["CrewLineDialog",0,b],42211);var v=e.i(24010);function k({memberName:e,replacedText:r,isOpen:n,onOpenChange:s,onConfirm:a}){return(0,t.jsx)(v.AlertDialog,{open:n,onOpenChange:s,children:(0,t.jsxs)(v.AlertDialogContent,{"data-testid":"new-crew-line-confirm",className:u.dialogSurface.phoneSheet,children:[(0,t.jsxs)(v.AlertDialogHeader,{children:[(0,t.jsxs)(v.AlertDialogTitle,{children:["Get a new crew line for ",e,"?"]}),(0,t.jsx)(v.AlertDialogDescription,{children:r??"Its new secret is shown once, with its launch note."})]}),(0,t.jsxs)(v.AlertDialogFooter,{children:[(0,t.jsx)(v.AlertDialogClose,{render:(0,t.jsx)(i.Button,{}),children:"Cancel"}),(0,t.jsx)(i.Button,{variant:"primary","data-testid":"new-crew-line-confirm-submit",onClick:a,children:"Get new crew line"})]})]})})}function j(e){let i=(0,s.useNewCrewLine)(),[a,o]=(0,r.useState)(!1),[l,u]=(0,r.useState)(!1),[c,d]=(0,r.useState)(void 0),h=()=>{e&&i.mutate({squadronId:e.squadronId,shipId:e.member.shipId})},f=i.data?"shown":i.isError?"error":"issuing";return{isReady:e?.ship!==void 0,start:()=>{e?.ship&&(i.reset(),d((0,n.newCrewLineReplaced)(e.ship)),u(!0))},dialog:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k,{memberName:e.member.name,replacedText:c,isOpen:l,onOpenChange:u,onConfirm:()=>{u(!1),o(!0),h()}}),(0,t.jsx)(b,{memberName:e.member.name,state:f,template:e.template,launchNote:i.data?.launchNote,model:i.data?.model,crewLines:i.data?.crewLines,error:i.error?.message,isOpen:a,onOpenChange:e=>{o(e),e||i.reset()},onConfirm:h})]}):null}}e.s(["GetNewCrewLine",0,function({isPrimary:e=!1,testId:r,...n}){let s=j(n);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Button,{size:"xs",variant:e?"primary":"secondary",disabled:!s.isReady,"data-testid":r,onClick:s.start,children:"Get new crew line"}),s.dialog]})},"useNewCrewLineFlow",0,j],39874)},48287,e=>{"use strict";var t=e.i(43476),r=e.i(76561),n=e.i(85595),s=e.i(66787),i=e.i(82303),a=e.i(71645),o=e.i(26808),l=e.i(46150),u=e.i(24010),c=e.i(15905),d=e.i(94945),h=e.i(1009),f=e.i(17981),p=e.i(69374);let m={one:"delivery",many:"deliveries"};function g({role:e,othersOfRole:t,blueprint:r}){let n=0===t.length?`no ${e}`:`${String(t.length)} ${e}`;return void 0===r?`The squadron then has ${n}.`:`The squadron then has ${n}; blueprint ${r.label} has ${String(r.count)}.`}function y(e){let{squadronId:d,member:y,othersOfRole:x,blueprint:b,openDeliveries:v,inFlightDeliveries:k,isPending:j,error:w,onConfirm:C}=e,[S,N]=(0,a.useState)(""),T=v>0,R=!T||(0,o.isTypedMatch)(y.name,S),E=0===x.length;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(u.AlertDialogHeader,{children:[(0,t.jsxs)(u.AlertDialogTitle,{children:["Remove ",y.name," from ",d,"?"]}),(0,t.jsx)(u.AlertDialogDescription,{children:T?(0,t.jsx)(t.Fragment,{children:"Its ship is retired for good. This can't be undone."}):(0,t.jsx)(t.Fragment,{children:"This can't be undone. Add a member to get the role back."})})]}),T?(0,t.jsxs)("div",{role:"alert",className:"flex gap-2 rounded-lg border border-tone-attention-border bg-tone-attention-bg p-3 text-meta text-tone-attention-fg",children:[(0,t.jsx)(s.TriangleAlert,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0"}),(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("p",{className:"font-medium",children:(0,o.abandonedLine)(v)}),(0,t.jsxs)("p",{className:"text-foreground",children:[v-k," pending, ",k," in flight in its inbox. Each is marked Abandoned and its sender can see that."]})]})]}):(0,t.jsx)(h.ConsequenceList,{consequences:[{icon:r.Archive,text:`Its ship ${y.name} is retired. Its history stays read-only.`},{icon:i.Users,text:g({role:y.role,othersOfRole:x,blueprint:b})}]}),E&&(0,t.jsxs)("p",{"data-testid":"remove-member-last-of-role",className:"flex items-start gap-2 rounded-lg border border-tone-waiting-border bg-tone-waiting-bg px-3 py-2 text-meta text-tone-waiting-fg",children:[(0,t.jsx)(s.TriangleAlert,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0"}),(0,t.jsxs)("span",{children:[(0,t.jsxs)("span",{className:"font-medium",children:["The last ",y.role,"."]})," ",(0,t.jsxs)("span",{className:"text-foreground",children:[g({role:y.role,othersOfRole:x,blueprint:b})," Work for the role waits until a member is added."]})]})]}),!T&&(0,t.jsxs)("p",{className:"flex items-center gap-2 rounded-lg border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-meta text-tone-ok-fg",children:[(0,t.jsx)(n.CircleCheck,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),"Its inbox is empty, so no deliveries are affected."]}),T?(0,t.jsx)(p.TypedConfirm,{expected:y.name,value:S,onValueChange:N}):null,void 0!==w&&(0,t.jsx)(f.InlineError,{title:"Couldn’t remove the member",description:`${w} Nothing changed.`}),(0,t.jsxs)(u.AlertDialogFooter,{children:[(0,t.jsx)(u.AlertDialogClose,{render:(0,t.jsx)(c.Button,{disabled:j}),children:"Cancel"}),(0,t.jsx)(c.Button,{variant:"destructive",isLoading:j,disabled:!R,onClick:C,"data-testid":"remove-member-confirm",children:T?`Remove and abandon ${(0,l.counted)(v,m)}`:"Remove member"})]})]})}e.s(["RemoveMemberDialog",0,function(e){let{isOpen:r,onOpenChange:n,isPending:s}=e;return(0,t.jsx)(u.AlertDialog,{open:r,onOpenChange:e=>{s||n(e)},children:(0,t.jsx)(u.AlertDialogContent,{"data-testid":"remove-member-dialog",className:d.dialogSurface.phoneSheet,children:(0,t.jsx)(y,{...e})})})}])},66616,e=>{"use strict";let t={"claude-code":{word:"Claude Code",kind:"coding"},codex:{word:"Codex",kind:"coding"},"claude-chat":{word:"Claude chat",kind:"chat"},chatgpt:{word:"ChatGPT",kind:"chat"},grok:{word:"Grok",kind:"chat"},grokbot:{word:"Grokbot",kind:"bot"},console:{word:"Console",kind:"console"}};function r(e){return t[e]?.word??e}e.s(["crewLineHarnessWord",0,function(e){return"chat"===e?"Chat":r(e)},"harnessKind",0,function(e){return t[e]?.kind},"harnessWord",0,r])},93361,e=>{"use strict";e.i(31627);var t=e.i(94661),r=e.i(49635);let n={working:"Working",blocked:"Blocked",idle:"Idle"};e.s(["REPORT_STATE_WORDS",0,n,"REPORT_TONES",0,{working:"active",blocked:"waiting",idle:"ended"},"reportAge",0,function(e,t){let n=Math.max(0,t.getTime()-e.getTime());return n<6e4?`${String(Math.floor(n/1e3))} s`:n<36e5?`${String(Math.floor(n/6e4))} min`:n<864e5?`${String(Math.floor(n/36e5))} h`:(0,r.relativeTime)(e,t)},"reportDetailsJson",0,function(e){return JSON.stringify(e,null,2)},"reportDetailsLabel",0,function(e){return`JSON \xb7 ${String((0,t.reportDetailsBytes)(e))} bytes`},"reportText",0,function(e){let t=n[e.state];return null===e.note?t:`${t}: ${e.note}`},"reportedWhen",0,function(e,t){let n=(0,r.relativeTime)(e,t);return`reported ${"Just now"===n?"just now":n}`}])},26808,e=>{"use strict";var t=e.i(46150);let r={one:"delivery",many:"deliveries"};function n(e){if(0===e)return"Nothing is in flight, so no delivery moves.";let r=1===e?"returns":"return";return`${(0,t.counted)(e,{one:"in-flight delivery",many:"in-flight deliveries"})} ${r} to pending. Nothing is lost.`}e.s(["abandonedLine",0,function(e){return`${(0,t.counted)(e,r)} will be abandoned`},"inFlightLine",0,n,"isTypedMatch",0,function(e,t){return t===e},"newCrewLineReplaced",0,function(e){if("crewed"===e.status){let t=null===e.location?"the session crewing it":`the session on ${e.location.description??e.location.kind.toLowerCase()}`;return`This ends ${t}. ${n(e.inFlightDeliveries)}`}if(null!==e.startingPrompt&&!e.startingPrompt.isClaimed)return"The crew line issued earlier, not claimed yet, stops working."},"retireButtonLabel",0,function(e){return 0===e?"Retire ship":`Retire and abandon ${(0,t.counted)(e,r)}`}])},53573,e=>{"use strict";e.i(31627);var t=e.i(83615),r=e.i(19273),n=e.i(12598),s=e.i(81384),i=e.i(73664),a=e.i(27001),o=e.i(54440),l=e.i(71645),u=e.i(15823),c=e.i(40143),d=e.i(69230);function h(e,t){let r=new Set(t);return e.filter(e=>!r.has(e))}var f=class extends u.Subscribable{#e;#t;#r;#n;#s;#i;#a;#o;#l;#u=[];constructor(e,t,r){super(),this.#e=e,this.#n=r,this.#r=[],this.#s=[],this.#t=[],this.setQueries(t)}onSubscribe(){1===this.listeners.size&&this.#s.forEach(e=>{e.subscribe(t=>{this.#c(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#s.forEach(e=>{e.destroy()})}setQueries(e,t){this.#r=e,this.#n=t,c.notifyManager.batch(()=>{let e=this.#s,t=this.#d(this.#r);t.forEach(e=>e.observer.setOptions(e.defaultedQueryOptions));let n=t.map(e=>e.observer),s=n.map(e=>e.getCurrentResult()),i=e.length!==n.length,a=n.some((t,r)=>t!==e[r]),o=i||a,l=!!o||s.some((e,t)=>{let n=this.#t[t];return!n||!(0,r.shallowEqualObjects)(e,n)});(o||l)&&(o&&(this.#u=t,this.#s=n),this.#t=s,this.hasListeners()&&(o&&(h(e,n).forEach(e=>{e.destroy()}),h(n,e).forEach(e=>{e.subscribe(t=>{this.#c(e,t)})})),this.#h()))})}getCurrentResult(){return this.#t}getQueries(){return this.#s.map(e=>e.getCurrentQuery())}getObservers(){return this.#s}getOptimisticResult(e,t){let r=this.#d(e),n=r.map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions)),s=r.map(e=>e.defaultedQueryOptions.queryHash);return[n,e=>this.#f(e??n,t,s),()=>this.#p(n,r)]}#p(e,t){let r=new Set;return t.map((n,s)=>{let i=e[s];return n.defaultedQueryOptions.notifyOnChangeProps?i:n.observer.trackResult(i,e=>{r.has(e)||(r.add(e),t.forEach(t=>{t.observer.trackProp(e)}))})})}#f(e,t,n){if(t){let s=this.#l,i=void 0!==n&&void 0!==s&&(s.length!==n.length||n.some((e,t)=>e!==s[t]));return(this.#t!==this.#o||i||t!==this.#a)&&(this.#a=t,this.#o=this.#t,void 0!==n&&(this.#l=n),this.#i=(0,r.replaceEqualDeep)(this.#i,t(e))),this.#i}return e}#m(){return!this.#n?.combine||this.#s.some((e,t)=>e.options.suspense&&this.#t[t]?.data===void 0)}#d(e){let t=new Map;this.#s.forEach(e=>{let r=e.options.queryHash;if(!r)return;let n=t.get(r);n?n.push(e):t.set(r,[e])});let r=[];return e.forEach(e=>{let n=this.#e.defaultQueryOptions(e),s=t.get(n.queryHash)?.shift()??new d.QueryObserver(this.#e,n);r.push({defaultedQueryOptions:n,observer:s})}),r}#c(e,t){let r=this.#s.indexOf(e);-1!==r&&(this.#t=this.#t.slice(),this.#t[r]=t,this.#h())}#h(){if(this.hasListeners()){let e=this.#m(),t=this.#i,r=e?t:this.#f(this.#p(this.#t,this.#u),this.#n?.combine);(e||t!==r)&&c.notifyManager.batch(()=>{this.listeners.forEach(e=>{e(this.#t)})})}}},p=e.i(66027),m=e.i(5387),g=e.i(27702);e.s(["useMessage",0,function(e){let t=(0,g.useTRPC)();return(0,p.useQuery)(t.fleet.message.queryOptions(void 0===e?r.skipToken:{messageId:e}))},"useShip",0,function(e){let t=(0,g.useTRPC)();return(0,p.useQuery)(t.fleet.ship.queryOptions(void 0===e?r.skipToken:{shipId:e},{refetchInterval:m.LAST_SEEN_REFRESH_MS}))},"useShipMessages",0,function(e){let t=(0,g.useTRPC)();return(0,p.useQuery)(t.fleet.shipMessages.queryOptions({shipId:e}))},"useShipTimeline",0,function(e){let t=(0,g.useTRPC)();return(0,p.useQuery)(t.fleet.shipTimeline.queryOptions({shipId:e}))},"useShips",0,function(e){let u=(0,g.useTRPC)(),h=function({queries:e,...t}){let u=(0,n.useQueryClient)(void 0),h=(0,s.useIsRestoring)(),p=(0,i.useQueryErrorResetBoundary)(),m=!1!==t.subscribed,g=l.useMemo(()=>e.map(e=>{let t=u.defaultQueryOptions(e);return t._optimisticResults=h?"isRestoring":m?"optimistic":void 0,t}),[e,u,h,m]);g.forEach(e=>{(0,o.ensureSuspenseTimers)(e);let t=u.getQueryCache().get(e.queryHash);(0,a.ensurePreventErrorBoundaryRetry)(e,p,t)}),(0,a.useClearResetErrorBoundary)(p);let[y]=l.useState(()=>new f(u,g,t)),[x,b,v]=y.getOptimisticResult(g,t.combine),k=!h&&m;l.useSyncExternalStore(l.useCallback(e=>k?y.subscribe(c.notifyManager.batchCalls(e)):r.noop,[y,k]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),l.useEffect(()=>{y.setQueries(g,t)},[g,t,y]);let j=x.some((e,t)=>(0,o.shouldSuspend)(g[t],e))?x.flatMap((e,t)=>{let r=g[t];if(r&&(0,o.shouldSuspend)(r,e)){let e=new d.QueryObserver(u,r);return(0,o.fetchOptimistic)(r,e,p)}return[]}):[];if(j.length>0)throw Promise.all(j);let w=x.find((e,t)=>{let r=g[t];return r&&(0,a.getHasError)({result:e,errorResetBoundary:p,throwOnError:r.throwOnError,query:u.getQueryCache().get(r.queryHash),suspense:r.suspense})});if(w)throw w.error;return b(v())}({queries:e.flatMap(e=>{let r=(0,t.idSchema)("ship").safeParse(e);return r.success?[r.data]:[]}).map(e=>u.fleet.ship.queryOptions({shipId:e},{refetchInterval:m.LAST_SEEN_REFRESH_MS}))}),p=new Map;for(let e of h)e.data&&p.set(e.data.id,e.data);return p}],53573)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/3mc6dra1m0098.js","static/chunks/2i51e627rllld.js","static/chunks/1kqyc3egwf-g6.js","static/chunks/2pac63cjw_hpu.js"],runtimeModuleIds:[94553]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;var t,r=function(){if(null!=self.TURBOPACK_ASSET_SUFFIX)return self.TURBOPACK_ASSET_SUFFIX;let e=document?.currentScript?.getAttribute?.("src")??"",t=e.indexOf("?");return t>=0?e.slice(t):""}(),n=((t=n||{})[t.Runtime=0]="Runtime",t[t.Parent=1]="Parent",t[t.Update=2]="Update",t);let o=new WeakMap;function l(e,t){this.m=e,this.e=t}let i=l.prototype,u=Object.prototype.hasOwnProperty,s="u">typeof Symbol&&Symbol.toStringTag;function c(e,t,r){u.call(e,t)||Object.defineProperty(e,t,r)}function a(e,t){let r=e[t];return r||(r=f(t),e[t]=r),r}function f(e){return{exports:{},error:void 0,id:e,namespaceObject:void 0}}function p(e,t,r){c(e,"__esModule",{value:!0}),s&&c(e,s,{value:"Module"});let n=0;for(;n<t.length;){let r=t[n++],o=t[n++];if("number"==typeof o)if(0===o)c(e,r,{value:t[n++],enumerable:!0,writable:!1});else throw Error(`unexpected tag: ${o}`);else"function"==typeof t[n]?c(e,r,{get:o,set:t[n++],enumerable:!0}):c(e,r,{get:o,enumerable:!0})}r||Object.seal(e)}function h(e,t){(null!=t?a(this.c,t):this.m).exports=e}i.s=function(e,t,r){let n,o;null!=t?o=(n=a(this.c,t)).exports:(n=this.m,o=this.e),n.namespaceObject=o,p(o,e,r)},i.j=function(e,t){let r,n;null!=t?n=(r=a(this.c,t)).exports:(r=this.m,n=this.e);let l=function(e,t){let r=o.get(e);if(!r){o.set(e,r=[]);let n=e=>{if("default"!==e){for(let t of r)if(u.call(t,e))return t}};e.exports=e.namespaceObject=new Proxy(t,{get(e,t){if(u.call(e,t)||"default"===t||"__esModule"===t)return Reflect.get(e,t);let r=n(t);return r&&Reflect.get(r,t)},set:()=>!1,defineProperty:()=>!1,deleteProperty:()=>!1,has:(e,t)=>!!Reflect.has(e,t)||"default"!==t&&"__esModule"!==t&&void 0!==n(t),ownKeys(e){let t=Reflect.ownKeys(e);for(let e of r)for(let r of Reflect.ownKeys(e))"default"===r||t.includes(r)||t.push(r);return t},getOwnPropertyDescriptor(e,t){let r=Reflect.getOwnPropertyDescriptor(e,t);if(r||"default"===t||"__esModule"===t)return r;let o=n(t);if(o)return{enumerable:!0,configurable:!0,get:()=>Reflect.get(o,t)}}})}return r}(r,n);"object"==typeof e&&null!==e&&l.push(e)},i.v=h,i.n=function(e,t){let r;(r=null!=t?a(this.c,t):this.m).exports=r.namespaceObject=e};let d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,m=[null,d({}),d([]),d(d)];function y(e,t,r){let n=[],o=-1;for(let t=e;("object"==typeof t||"function"==typeof t)&&!m.includes(t);t=d(t))for(let r of Object.getOwnPropertyNames(t))n.push(r,function(e,t){return()=>e[t]}(e,r)),-1===o&&"default"===r&&(o=n.length-1);return r&&o>=0||(o>=0?n.splice(o,1,0,e):n.push("default",0,e)),p(t,n),t}function g(e){let t=K(e,this.m);if(t.namespaceObject)return t.namespaceObject;let r=t.exports;return t.namespaceObject=y(r,"function"==typeof r?function(...e){return r.apply(this,e)}:Object.create(null),r&&r.__esModule)}function b(e){let t=e.indexOf("#");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("?");return -1!==r&&(e=e.substring(0,r)),e}i.i=g,i.A=function(e){return this.r(e)(g.bind(this))},i.t="function"==typeof require?require:function(){throw Error("Unexpected use of runtime require")},i.r=function(e){return K(e,this.m).exports},i.f=function(e){function t(t){if(t=b(t),u.call(e,t))return e[t].module();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r}return t.keys=()=>Object.keys(e),t.resolve=t=>{if(t=b(t),u.call(e,t))return e[t].id();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r},t.import=async e=>await t(e),t};let O=function(e){let t=new URL(e,"x:/"),r={};for(let e in t)r[e]=t[e];for(let t in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=(...t)=>e,r)Object.defineProperty(this,t,{enumerable:!0,configurable:!0,value:r[t]})};function w(e,t){throw Error(`Invariant: ${t(e)}`)}O.prototype=URL.prototype,i.U=O,i.z=function(e){throw Error("dynamic usage of require is not supported")},i.g=globalThis;let k=l.prototype,R="string"==typeof TURBOPACK_CHUNK_BASE_PATH?TURBOPACK_CHUNK_BASE_PATH:"/_next/",U=new Map;i.M=U;let _=new Map,v=new Map,P=new Map;async function C(e,t,r){let n;if("string"==typeof r)return function(e,t,r){return A(e,t,r)}(e,t,E(r));let o=r.included||[],l=o.map(e=>!!U.has(e)||_.get(e));if(l.length>0&&l.every(e=>e))return void await Promise.all(l);for(let l of(n=A(e,t,E(r.path)),o))_.has(l)||_.set(l,n);await n}k.l=function(e){return C(n.Parent,this.m.id,e)};let j=Promise.resolve(void 0),$=new WeakMap;function A(t,r,o){let l=e.loadChunkCached(t,o),i=$.get(l);if(void 0===i){let e=$.set.bind($,l,j);i=l.then(e).catch(e=>{let l;switch(t){case n.Runtime:l=`as a runtime dependency of chunk ${r}`;break;case n.Parent:l=`from module ${r}`;break;case n.Update:l="from an HMR update";break;default:w(t,e=>`Unknown source type: ${e}`)}let i=Error(`Failed to load chunk ${o} ${l}${e?`: ${e}`:""}`,e?{cause:e}:void 0);throw i.name="ChunkLoadError",i}),$.set(l,i)}return i}k.L=function(e){var t,r;return t=n.Parent,r=this.m.id,A(t,r,e)};k.R=function(e){let t=this.r(e);return t?.default??t},k.P=function(e){return`/ROOT/${e??""}`},k.F=function(e){return e?`file:///ROOT/${e.split("/").map(encodeURIComponent).join("/")}`:"file:///ROOT/"},k.q=function(e,t){h.call(this,`${e}${r}`,t)};let T=/[^A-Za-z0-9\-_.!~*'()/]/;function E(e,t=R){let n=T.test(e)?e.split("/").map(encodeURIComponent).join("/"):e;return`${t}${n}${r}`}function S(e,t){let r,n=e.indexOf("?");if(-1!==n)r=n;else{let t=e.indexOf("#");r=-1!==t?t:e.length}return r>=t.length&&e.startsWith(t,r-t.length)}k.b=R,k.X=r,k.h=E;function M(e){return S(e,".css")}let x={};i.c=x;let K=(e,t)=>{let r=x[e];if(r){if(r.error)throw r.error;return r}return N(e,n.Parent,t.id)};function N(e,t,r){let n=U.get(e);if("function"!=typeof n)throw Error(function(e,t,r){let n;switch(t){case 0:n=`as a runtime entry of chunk ${r}`;break;case 1:n=`because it was required from module ${r}`;break;case 2:n="because of an HMR update";break;default:w(t,e=>`Unknown source type: ${e}`)}return`Module ${e} was instantiated ${n}, but the module factory is not available.`}(e,t,r));let o=f(e),i=o.exports;x[e]=o;let u=new l(o,i);try{n(u,o,i)}catch(e){throw o.error=e,e}return o.namespaceObject&&o.exports!==o.namespaceObject&&y(o.exports,o.namespaceObject),o}function B(t){let r;if(!Array.isArray(t))return e.registerChunk(void 0,t);let n=function(e){if("string"==typeof e)return e;if(e)return{src:e.getAttribute("src")};if("u">typeof TURBOPACK_NEXT_CHUNK_URLS)return{src:TURBOPACK_NEXT_CHUNK_URLS.pop()};throw Error("chunk path empty but not in a worker")}(t[0]);return 2===t.length?r=t[1]:(r=void 0,!function(e,t){let r=1;for(;r<e.length;){let n,o=r+1;for(;o<e.length&&"function"!=typeof e[o];)o++;if(o===e.length)throw Error("malformed chunk format, expected a factory function");let l=e[o];for(let l=r;l<o;l++){let r=e[l],o=t.get(r);if(o){n=o;break}}let i=n??l,u=!1;for(let n=r;n<o;n++){let r=e[n];t.has(r)||(u||(i===l&&Object.defineProperty(l,"name",{value:"module evaluation"}),u=!0),t.set(r,i))}r=o+1}}(t,U)),e.registerChunk(n,r)}let L=new Map;function I(e){let t=L.get(e);if(!t){let r,n;t={resolved:!1,loadingStarted:!1,retryAttempts:0,promise:new Promise((e,t)=>{r=e,n=t}),resolve:()=>{t.resolved=!0,r()},reject:n},L.set(e,t)}return t}function q(e,t,r,n,o){!(null==n||n instanceof DOMException&&"NetworkError"===n.name)||r.retryAttempts>=1||L.get(t)!==r?(L.get(t)===r&&L.delete(t),r.reject(n)):(r.retryAttempts++,setTimeout(()=>{r.resolved||L.get(t)!==r||(o?o():(r.loadingStarted=!1,H(e,t)))},200+Math.floor(401*Math.random())))}function H(e,t){let r=I(t);if(r.loadingStarted)return r.promise;if(e===n.Runtime)return r.loadingStarted=!0,M(t)&&r.resolve(),r.promise;if("function"==typeof importScripts)if(M(t));else if(S(t,".js")){self.TURBOPACK_NEXT_CHUNK_URLS.push(t);try{importScripts(t)}catch(n){q(e,t,r,n)}}else throw Error(`can't infer type of chunk from URL ${t} in worker`);else{let n=decodeURI(t);if(M(t))if(document.querySelectorAll(`link[rel=stylesheet][href="${t}"],link[rel=stylesheet][href^="${t}?"],link[rel=stylesheet][href="${n}"],link[rel=stylesheet][href^="${n}?"]`).length>0)r.resolve();else{let n=()=>{let o=document.createElement("link");return o.rel="stylesheet",o.crossOrigin=null,o.href=t,o.onerror=()=>{let l=document.createComment("");o.replaceWith(l),q(e,t,r,void 0,()=>l.replaceWith(n()))},o.onload=()=>{r.resolve()},o};document.head.appendChild(n())}else if(S(t,".js")){let o=document.querySelectorAll(`script[src="${t}"],script[src^="${t}?"],script[src="${n}"],script[src^="${n}?"]`);if(o.length>0)for(let n of Array.from(o))n.addEventListener("error",()=>{n.remove(),q(e,t,r)},{once:!0});else{let n=document.createElement("script");n.crossOrigin=null,n.src=t,n.onerror=()=>{n.remove(),q(e,t,r)},document.head.appendChild(n)}}else throw Error(`can't infer type of chunk from URL ${t}`)}return r.loadingStarted=!0,r.promise}e={async registerChunk(e,t){let r;if(null!=e&&(r=function(e){if("string"==typeof e)return e;let t=decodeURIComponent(e.src.replace(/[?#].*$/,""));return t.startsWith(R)?t.slice(R.length):t}(e),I("string"==typeof e?E(e):e.src).resolve()),null!=t){for(let e of t.otherChunks)I(E("string"==typeof e?e:e.path));if(await Promise.all(t.otherChunks.map(e=>{var t;return t=r,C(n.Runtime,t,e)})),t.runtimeModuleIds.length>0)for(let e of t.runtimeModuleIds)!function(e,t){let r=x[t];if(r){if(r.error)throw r.error;return}N(t,n.Runtime,e)}(r,e)}},loadChunkCached:(e,t)=>H(e,t)};var F=globalThis.TURBOPACK;globalThis.TURBOPACK={push:B},F.forEach(B)})();
@@ -0,0 +1,19 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2
+ <!-- The app mark (Avatar, kind app): the Ship glyph on the primary colour, light and dark, from app/tokens.css in sRGB. -->
3
+ <style>
4
+ .tile { fill: #1a3860; }
5
+ .ship { stroke: #f8fafc; }
6
+ @media (prefers-color-scheme: dark) {
7
+ .tile { fill: #b6d5f4; }
8
+ .ship { stroke: #0e1928; }
9
+ }
10
+ </style>
11
+ <rect class="tile" width="32" height="32" rx="7" />
12
+ <g class="ship" fill="none" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(6 6) scale(0.8333)">
13
+ <path d="M12 2v2" />
14
+ <path d="M12 9.189V13" />
15
+ <path d="M19 12V6a2 2 0 00-2-2H7a2 2 0 00-2 2v6" />
16
+ <path d="M19.38 19A11.6 11.6 0 0021 13l-8.188-3.639a2 2 0 00-1.624 0L3 13.001a11.6 11.6 0 002.81 7.76" />
17
+ <path d="M2 20c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1" />
18
+ </g>
19
+ </svg>
File without changes
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -1 +1,63 @@
1
- # @aeolus-fleet/console: placeholder, the real package is published from 0.18.0.
1
+ # @aeolus-fleet/console
2
+
3
+ The [Aeolus](https://github.com/ThomasHendrickx/aeolus-fleet) operator web app (Next.js). It reaches the server only through its tRPC API at `/trpc`.
4
+
5
+ Pre-v1: the console arrives after the v1 acceptance test passes. Until then it has:
6
+
7
+ | Path | What |
8
+ | --- | --- |
9
+ | `/sign-in` | Sign in with the operator email and password; the session crews `argo`. Only a session cookie stays in the browser |
10
+ | `/` | The fleet overview, live over a WebSocket: every ship with status, type, and where a crewed ship's session runs or an awaiting ship's prompt status, updated without a reload; search and filters in the URL; commission a ship; each ship's actions behind their dialogs: get a new starting prompt for a ship awaiting crew (shown once with its crew line; asks first while an unclaimed one is out), release or re-crew a crewed ship (re-crew shows a fresh prompt once), and retire any ship but `argo` (the ship's name typed to confirm when it still has open deliveries; retired ships show under Show retired); sign out from the account menu. Without a session it sends you to `/sign-in`, which says so when you signed in somewhere else |
11
+ | `/ships/[shipId]` | A ship's page, live: status, type, where its session runs, since when, when it was commissioned and its id, and how its last ping stands; Ping, Get starting prompt, Re-crew, Release, Rename (live name check and typed confirm) or Retire; a Timeline tab with every change to the ship, newest first, and a Messages tab with its messages grouped into threads by reply. A message opens in a side sheet (`?message=`) with its envelope, payload (formatted JSON or raw) and the history of its delivery, and Reply, which opens Compose with its sender as the recipient and the message it answers |
12
+ | `/needs-attention` | Needs attention, live: every undeliverable delivery, oldest first, with its message, claims and since when. Resend sends it again as a new message from its sender; Dismiss lets it go; either removes it from the list with a toast. Its count shows in the Sidebar and TabBar on every page |
13
+ | `/inbox` | argo's operator inbox, live: the messages ships sent to argo, Open, Done or All (`?filter=`), two panes on desktop and a list with a pushed message page on phone (`?message=`). Opening one marks it read; Mark as unread undoes that; Mark done or Reply (plain text to the sender) acknowledges it. Its open count shows in the Sidebar and TabBar on every page |
14
+ | `/health` | Web up, plus the server's health. Nothing about fleets |
15
+ | `/version` | The web process's version, plus the server's answer from its `/api/version` (its version, common's, and the latest applied migration), or `server: null` when it does not answer. Nothing about fleets |
16
+
17
+ ## Running from npm
18
+
19
+ The package holds the console already built. It knows no server address until it runs:
20
+
21
+ ```sh
22
+ npm install @aeolus-fleet/console
23
+ AEOLUS_SERVER_URL=https://fleet.example.com PORT=3000 npx aeolus-console start
24
+ ```
25
+
26
+ `aeolus-console start` serves it with `next start`, without Next.js telemetry, until `SIGINT` or `SIGTERM`.
27
+
28
+ ## Configuration
29
+
30
+ Environment variables, read when the app runs, never when it is built:
31
+
32
+ | Variable | Default | Meaning |
33
+ | --- | --- | --- |
34
+ | `AEOLUS_SERVER_URL` | `http://localhost:4000` | The Aeolus server. The browser calls its `/trpc` there, with credentials, and follows the fleet over a WebSocket to the same path (`ws://` or `wss://`), and the web app's `/health` asks its `/health` (at `AEOLUS_SERVER_INTERNAL_URL` when set), so both must reach it. Behind one host with the server, it is the server's public URL. On another host, the server needs `COOKIE_DOMAIN` and `CONSOLE_ORIGIN` for the console (see the server README) |
35
+ | `AEOLUS_SERVER_INTERNAL_URL` | `AEOLUS_SERVER_URL` | Where the web app's server reaches the server, for its own calls: `/health`, `/version`, the operator's theme and connecting squadrons. Server side only; the browser always uses `AEOLUS_SERVER_URL`. Set it when the public address routes back through a proxy in front of the web app, for example `http://server:4000` inside Compose, so `/health` on web does not loop |
36
+ | `AEOLUS_HOSTED_SIGN_IN_URL` | unset | A hosted console's sign-in, at the hosting service (pagasae for hosted Aeolus). Set, `/sign-in` redirects there at once and no password form is served; the hosting service hands the operator back with a one-time ticket at `/sign-in/ticket?ticket=...`, and a failed hand-off links back here. Unset, the console signs in with a password |
37
+ | `AEOLUS_HOSTED_ACCOUNT_URL` | unset | A hosted operator's account page, where the fleet's limits are listed. Set, the account menu offers Your account, opening it, and the console's limit notices (Commission at the ship limit, the overview and Compose at the daily message limit) and the overview's limit meters link to it with View limits; unset, there is no Your account and no View limits link |
38
+ | `AEOLUS_HOSTED_ANALYTICS_PROVIDER` | unset | The console's usage analytics, for a hosted install (decision 0025): `posthog` is the only provider. Unset, or with the key or host missing, the console sends no analytics at all |
39
+ | `AEOLUS_HOSTED_ANALYTICS_KEY` | unset | The provider's project key, read by the web app's server only |
40
+ | `AEOLUS_HOSTED_ANALYTICS_HOST` | unset | The provider's https address, such as `https://eu.i.posthog.com`. The web app's server sends there; the browser only ever posts to the web app's own `/api/analytics` |
41
+ | `AEOLUS_SQUADRONS_URL` | unset | Where squadrons runs, read by the web app's server only: the browser never calls squadrons. Unset means the console has no squadrons. Settings then connects it: the web app's server commissions the management ship (`squadrons`, with `fleet:read` and `fleet:manage`) or gives it a new starting prompt, and hands its secret to squadrons server to server; no one sees the secret. It reaches the server at `AEOLUS_SERVER_INTERNAL_URL` (or `AEOLUS_SERVER_URL`) from the web app's server too |
42
+ | `PORT` | `3000` | Port to listen on |
43
+ | `HOST` | `127.0.0.1` | Interface to listen on |
44
+
45
+ `npm run dev` builds `@aeolus-fleet/common` first: the console checks its forms with common's schemas and bundles the built package.
46
+
47
+ ## Design system
48
+
49
+ The console is themed from `app/tokens.css`, the single copy of the design tokens (light on `:root`, dark on `.dark`, which follows the system setting). `app/globals.css` maps them onto Tailwind v4. The parts live in `components/` by atomic design level; atoms are shadcn/ui on Base UI (`components.json`). Geist and Geist Mono are self-hosted from `app/fonts/` under the SIL Open Font License.
50
+
51
+ `npm run storybook -w @aeolus-fleet/console` shows every part, with a story per meaningful state and a toolbar for light and dark. `npm run build-storybook -w @aeolus-fleet/console` builds it; CI does on every pull request.
52
+
53
+ Compose, in the Header (and the root TopBar on phone) of every page, sends a plain-text message as argo to one active ship by name or any ship of a type; each message keeps one idempotency key until it is sent.
54
+
55
+ The AccountMenu (the Sidebar's account button on desktop, the root TopBar's Avatar as a bottom sheet on phone) shows who is signed in and this session's device, the theme (Light, Dark, System), and Sign out. The theme is stored on the operator's account; the root layout asks the server for it with the session cookie when it renders, so the page never flashes the wrong theme, and the sign-in page follows the system.
56
+
57
+ Ship names and types are typed into the console's fields (commission, rename, the Compose recipient) in any case: uppercase becomes lowercase as it is typed, so HemmaFeature reads hemmafeature. The API stays strict and refuses uppercase.
58
+
59
+ The CommandPalette opens on Cmd+K (Ctrl+K) or the Header's search on desktop, and full screen from the root TopBar's search icon on phone: actions (Commission ship, Compose), the active ships by name or type, and the pages. Commission ship lands on the fleet overview with the CommissionDialog open (`/?commission=new`).
60
+
61
+ Crewed ships show when they were last seen ("Last seen 20 s ago") in the overview and on their page. A call writes no event, so an open page reads the snapshot again every 30 s, and relative times move on every 10 s.
62
+
63
+ Ping (in a fleet row and on the ship page, crewed agent ships only; disabled while a ship awaits crew) asks the ship's session to answer with pong. Under Last seen, the ship then shows "Pinged 3 min ago, no answer yet", "Answered ping in 4 s", or "Received, not answered with pong" after a plain ack. While a ping waits, Ping says so in a toast instead of sending another. An acknowledgement or an undeliverable delivery reloads the snapshot live, so the answer shows at once.
@@ -0,0 +1,42 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * `aeolus-console start`: serves the operator console, built when the package was
4
+ * published, with `next start`. Every setting comes from environment
5
+ * variables (see the README): PORT, HOST and AEOLUS_SERVER_URL, the last read
6
+ * when the app runs, never when it was built.
7
+ */
8
+ import { spawn } from 'node:child_process';
9
+ import { createRequire } from 'node:module';
10
+ import process from 'node:process';
11
+ import { fileURLToPath, URL } from 'node:url';
12
+
13
+ const USAGE = 'Usage: aeolus-console start';
14
+ const DEFAULT_PORT = '3000';
15
+ const DEFAULT_HOST = '127.0.0.1';
16
+
17
+ const packageRoot = fileURLToPath(new URL('..', import.meta.url));
18
+ const [command, ...rest] = process.argv.slice(2);
19
+
20
+ if (command !== 'start' || rest.length > 0) {
21
+ process.stderr.write(`${USAGE}\n`);
22
+ process.exit(2);
23
+ }
24
+
25
+ const nextBin = createRequire(import.meta.url).resolve('next/dist/bin/next');
26
+ const port = process.env.PORT || DEFAULT_PORT;
27
+ const host = process.env.HOST || DEFAULT_HOST;
28
+ const child = spawn(process.execPath, [nextBin, 'start', packageRoot, '--port', port, '--hostname', host], {
29
+ stdio: 'inherit',
30
+ // The console never reports to Next.js's telemetry.
31
+ env: { ...process.env, NEXT_TELEMETRY_DISABLED: '1' },
32
+ });
33
+
34
+ // A stop given to this process stops the web app too.
35
+ for (const signal of ['SIGINT', 'SIGTERM']) {
36
+ process.on(signal, () => {
37
+ child.kill(signal);
38
+ });
39
+ }
40
+ child.on('exit', (code, signal) => {
41
+ process.exit(code ?? (signal === null ? 1 : 0));
42
+ });
package/next.config.ts ADDED
@@ -0,0 +1,10 @@
1
+ import type { NextConfig } from 'next';
2
+
3
+ // The browser calls the server at AEOLUS_SERVER_URL, which the web app reads
4
+ // when it runs (lib/server-url.ts), so one build serves any fleet.
5
+ const nextConfig: NextConfig = {
6
+ // next dev would write AGENTS.md and CLAUDE.md here; the advice lives in the web-frontend skill instead.
7
+ agentRules: false,
8
+ };
9
+
10
+ export default nextConfig;
package/package.json CHANGED
@@ -1,10 +1,70 @@
1
1
  {
2
2
  "name": "@aeolus-fleet/console",
3
- "version": "0.0.0",
4
- "description": "Placeholder, real package from 0.18.0",
3
+ "version": "0.19.0",
4
+ "description": "Aeolus operator web app (Next.js).",
5
5
  "license": "Apache-2.0",
6
+ "type": "module",
6
7
  "repository": {
7
8
  "type": "git",
8
- "url": "git+https://github.com/ThomasHendrickx/aeolus-fleet.git"
9
+ "url": "git+https://github.com/ThomasHendrickx/aeolus-fleet.git",
10
+ "directory": "packages/console"
11
+ },
12
+ "engines": {
13
+ "node": ">=26"
14
+ },
15
+ "bin": {
16
+ "aeolus-console": "bin/aeolus-console.js"
17
+ },
18
+ "files": [
19
+ "bin",
20
+ ".next",
21
+ "!.next/cache",
22
+ "!.next/dev",
23
+ "!.next/diagnostics",
24
+ "!.next/trace",
25
+ "!.next/trace-build",
26
+ "!.next/types",
27
+ "!.next/**/*.map",
28
+ "next.config.ts"
29
+ ],
30
+ "scripts": {
31
+ "predev": "npm run build --workspace @aeolus-fleet/common",
32
+ "dev": "next dev --port 3000",
33
+ "build": "next build",
34
+ "start": "node bin/aeolus-console.js start",
35
+ "typecheck": "next typegen && tsc --project tsconfig.json",
36
+ "storybook": "storybook dev --port 6006",
37
+ "build-storybook": "storybook build --output-dir storybook-static",
38
+ "prepack": "cp ../../LICENSE LICENSE",
39
+ "postpack": "rm LICENSE"
40
+ },
41
+ "dependencies": {
42
+ "@aeolus-fleet/common": "0.19.0",
43
+ "@base-ui/react": "^1.8.0",
44
+ "@hookform/resolvers": "^5.9.1",
45
+ "@tailwindcss/postcss": "^4.3.3",
46
+ "@tanstack/react-query": "^5.104.0",
47
+ "@trpc/client": "^11.19.0",
48
+ "@trpc/tanstack-react-query": "^11.19.0",
49
+ "class-variance-authority": "^0.7.1",
50
+ "clsx": "^2.1.1",
51
+ "lucide-react": "^1.51.0",
52
+ "next": "16.3.8",
53
+ "react": "^19.3.0",
54
+ "react-dom": "^19.3.0",
55
+ "react-hook-form": "^7.89.0",
56
+ "sonner": "^2.0.8",
57
+ "tailwind-merge": "^3.7.0",
58
+ "tailwindcss": "^4.3.3",
59
+ "tw-animate-css": "^1.4.0"
60
+ },
61
+ "devDependencies": {
62
+ "@aeolus-fleet/core": "0.19.0",
63
+ "@storybook/addon-vitest": "^10.6.1",
64
+ "@storybook/nextjs-vite": "^10.6.1",
65
+ "@types/react": "^19.3.0",
66
+ "@types/react-dom": "^19.3.0",
67
+ "@vitest/browser-playwright": "^5.0.3",
68
+ "storybook": "^10.6.1"
9
69
  }
10
70
  }