@hivemagnus/magnus-ui 3.5.1 → 3.7.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 (279) hide show
  1. package/.env.example +5 -4
  2. package/README.md +52 -4
  3. package/bin/magnus-ui.mjs +118 -2
  4. package/dist/app/apps/dashboard/.next/BUILD_ID +1 -1
  5. package/dist/app/apps/dashboard/.next/build-manifest.json +3 -3
  6. package/dist/app/apps/dashboard/.next/prerender-manifest.json +3 -3
  7. package/dist/app/apps/dashboard/.next/required-server-files.json +2 -16
  8. package/dist/app/apps/dashboard/.next/routes-manifest.json +9 -20
  9. package/dist/app/apps/dashboard/.next/server/app/_global-error.html +1 -1
  10. package/dist/app/apps/dashboard/.next/server/app/_global-error.rsc +1 -1
  11. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  12. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/dist/app/apps/dashboard/.next/server/app/_not-found/page.js.nft.json +1 -1
  15. package/dist/app/apps/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  16. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page.js.nft.json +1 -1
  17. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page_client-reference-manifest.js +1 -1
  18. package/dist/app/apps/dashboard/.next/server/app/anomalies/page.js.nft.json +1 -1
  19. package/dist/app/apps/dashboard/.next/server/app/anomalies/page_client-reference-manifest.js +1 -1
  20. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page.js.nft.json +1 -1
  21. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page_client-reference-manifest.js +1 -1
  22. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/callback/route.js.nft.json +1 -1
  23. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/configured/route.js.nft.json +1 -1
  24. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/start/route.js.nft.json +1 -1
  25. package/dist/app/apps/dashboard/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  26. package/dist/app/apps/dashboard/.next/server/app/api/auth/logout/route.js +6 -5
  27. package/dist/app/apps/dashboard/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  28. package/dist/app/apps/dashboard/.next/server/app/api/auth/me/route.js.nft.json +1 -1
  29. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/[id]/route.js +2 -2
  30. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/[id]/route.js.nft.json +1 -1
  31. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/route.js +2 -2
  32. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/route.js.nft.json +1 -1
  33. package/dist/app/apps/dashboard/.next/server/app/api/federation/route.js +3 -3
  34. package/dist/app/apps/dashboard/.next/server/app/api/federation/route.js.nft.json +1 -1
  35. package/dist/app/apps/dashboard/.next/server/app/api/health/route.js.nft.json +1 -1
  36. package/dist/app/apps/dashboard/.next/server/app/api/hermes/dashboard/[[...path]]/route.js +8 -6
  37. package/dist/app/apps/dashboard/.next/server/app/api/hermes/dashboard/[[...path]]/route.js.nft.json +1 -1
  38. package/dist/app/apps/dashboard/.next/server/app/api/hive-router/dashboard/[[...path]]/route.js +7 -5
  39. package/dist/app/apps/dashboard/.next/server/app/api/hive-router/dashboard/[[...path]]/route.js.nft.json +1 -1
  40. package/dist/app/apps/dashboard/.next/server/app/api/proxy/[...path]/route.js +5 -5
  41. package/dist/app/apps/dashboard/.next/server/app/api/proxy/[...path]/route.js.nft.json +1 -1
  42. package/dist/app/apps/dashboard/.next/server/app/api/terminal/close/route.js.nft.json +1 -1
  43. package/dist/app/apps/dashboard/.next/server/app/api/terminal/input/route.js.nft.json +1 -1
  44. package/dist/app/apps/dashboard/.next/server/app/api/terminal/open/route.js +4 -4
  45. package/dist/app/apps/dashboard/.next/server/app/api/terminal/open/route.js.nft.json +1 -1
  46. package/dist/app/apps/dashboard/.next/server/app/api/terminal/resize/route.js.nft.json +1 -1
  47. package/dist/app/apps/dashboard/.next/server/app/api/terminal/stream/route.js.nft.json +1 -1
  48. package/dist/app/apps/dashboard/.next/server/app/api-docs/page.js.nft.json +1 -1
  49. package/dist/app/apps/dashboard/.next/server/app/api-docs/page_client-reference-manifest.js +1 -1
  50. package/dist/app/apps/dashboard/.next/server/app/application-operations/page.js.nft.json +1 -1
  51. package/dist/app/apps/dashboard/.next/server/app/application-operations/page_client-reference-manifest.js +1 -1
  52. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page.js.nft.json +1 -1
  53. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page_client-reference-manifest.js +1 -1
  54. package/dist/app/apps/dashboard/.next/server/app/ardent/page.js.nft.json +1 -1
  55. package/dist/app/apps/dashboard/.next/server/app/ardent/page_client-reference-manifest.js +1 -1
  56. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page.js.nft.json +1 -1
  57. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page_client-reference-manifest.js +1 -1
  58. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page.js.nft.json +1 -1
  59. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page_client-reference-manifest.js +1 -1
  60. package/dist/app/apps/dashboard/.next/server/app/audit/page.js +1 -1
  61. package/dist/app/apps/dashboard/.next/server/app/audit/page.js.nft.json +1 -1
  62. package/dist/app/apps/dashboard/.next/server/app/audit/page_client-reference-manifest.js +1 -1
  63. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page.js.nft.json +1 -1
  64. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page_client-reference-manifest.js +1 -1
  65. package/dist/app/apps/dashboard/.next/server/app/codex/page.js.nft.json +1 -1
  66. package/dist/app/apps/dashboard/.next/server/app/codex/page_client-reference-manifest.js +1 -1
  67. package/dist/app/apps/dashboard/.next/server/app/commands/page.js.nft.json +1 -1
  68. package/dist/app/apps/dashboard/.next/server/app/commands/page_client-reference-manifest.js +1 -1
  69. package/dist/app/apps/dashboard/.next/server/app/cron/page/server-reference-manifest.json +1 -1
  70. package/dist/app/apps/dashboard/.next/server/app/cron/page.js +1 -1
  71. package/dist/app/apps/dashboard/.next/server/app/cron/page.js.nft.json +1 -1
  72. package/dist/app/apps/dashboard/.next/server/app/cron/page_client-reference-manifest.js +1 -1
  73. package/dist/app/apps/dashboard/.next/server/app/files/page.js.nft.json +1 -1
  74. package/dist/app/apps/dashboard/.next/server/app/files/page_client-reference-manifest.js +1 -1
  75. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page.js.nft.json +1 -1
  76. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page_client-reference-manifest.js +1 -1
  77. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page.js +1 -1
  78. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page.js.nft.json +1 -1
  79. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page_client-reference-manifest.js +1 -1
  80. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page.js +1 -1
  81. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page.js.nft.json +1 -1
  82. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page_client-reference-manifest.js +1 -1
  83. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page.js.nft.json +1 -1
  84. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page_client-reference-manifest.js +1 -1
  85. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page.js +1 -1
  86. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page.js.nft.json +1 -1
  87. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page_client-reference-manifest.js +1 -1
  88. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page.js.nft.json +1 -1
  89. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page_client-reference-manifest.js +1 -1
  90. package/dist/app/apps/dashboard/.next/server/app/incidents/page.js +1 -1
  91. package/dist/app/apps/dashboard/.next/server/app/incidents/page.js.nft.json +1 -1
  92. package/dist/app/apps/dashboard/.next/server/app/incidents/page_client-reference-manifest.js +1 -1
  93. package/dist/app/apps/dashboard/.next/server/app/library/page.js +1 -1
  94. package/dist/app/apps/dashboard/.next/server/app/library/page.js.nft.json +1 -1
  95. package/dist/app/apps/dashboard/.next/server/app/library/page_client-reference-manifest.js +1 -1
  96. package/dist/app/apps/dashboard/.next/server/app/login/page.js.nft.json +1 -1
  97. package/dist/app/apps/dashboard/.next/server/app/login/page_client-reference-manifest.js +1 -1
  98. package/dist/app/apps/dashboard/.next/server/app/logs/page.js.nft.json +1 -1
  99. package/dist/app/apps/dashboard/.next/server/app/logs/page_client-reference-manifest.js +1 -1
  100. package/dist/app/apps/dashboard/.next/server/app/mission-control/page.js +1 -1
  101. package/dist/app/apps/dashboard/.next/server/app/mission-control/page.js.nft.json +1 -1
  102. package/dist/app/apps/dashboard/.next/server/app/mission-control/page_client-reference-manifest.js +1 -1
  103. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page.js.nft.json +1 -1
  104. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page_client-reference-manifest.js +1 -1
  105. package/dist/app/apps/dashboard/.next/server/app/nodes/page.js +1 -1
  106. package/dist/app/apps/dashboard/.next/server/app/nodes/page.js.nft.json +1 -1
  107. package/dist/app/apps/dashboard/.next/server/app/nodes/page_client-reference-manifest.js +1 -1
  108. package/dist/app/apps/dashboard/.next/server/app/notifications/page.js.nft.json +1 -1
  109. package/dist/app/apps/dashboard/.next/server/app/notifications/page_client-reference-manifest.js +1 -1
  110. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page.js.nft.json +1 -1
  111. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page_client-reference-manifest.js +1 -1
  112. package/dist/app/apps/dashboard/.next/server/app/orchestra/page.js.nft.json +1 -1
  113. package/dist/app/apps/dashboard/.next/server/app/orchestra/page_client-reference-manifest.js +1 -1
  114. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page.js.nft.json +1 -1
  115. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page_client-reference-manifest.js +1 -1
  116. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page.js.nft.json +1 -1
  117. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page_client-reference-manifest.js +1 -1
  118. package/dist/app/apps/dashboard/.next/server/app/page.js +1 -1
  119. package/dist/app/apps/dashboard/.next/server/app/page.js.nft.json +1 -1
  120. package/dist/app/apps/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
  121. package/dist/app/apps/dashboard/.next/server/app/retention/page.js +1 -1
  122. package/dist/app/apps/dashboard/.next/server/app/retention/page.js.nft.json +1 -1
  123. package/dist/app/apps/dashboard/.next/server/app/retention/page_client-reference-manifest.js +1 -1
  124. package/dist/app/apps/dashboard/.next/server/app/roles/page.js +1 -1
  125. package/dist/app/apps/dashboard/.next/server/app/roles/page.js.nft.json +1 -1
  126. package/dist/app/apps/dashboard/.next/server/app/roles/page_client-reference-manifest.js +1 -1
  127. package/dist/app/apps/dashboard/.next/server/app/rollouts/page.js.nft.json +1 -1
  128. package/dist/app/apps/dashboard/.next/server/app/rollouts/page_client-reference-manifest.js +1 -1
  129. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page.js.nft.json +1 -1
  130. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page_client-reference-manifest.js +1 -1
  131. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page.js.nft.json +1 -1
  132. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page_client-reference-manifest.js +1 -1
  133. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page.js.nft.json +1 -1
  134. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page_client-reference-manifest.js +1 -1
  135. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page.js.nft.json +1 -1
  136. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page_client-reference-manifest.js +1 -1
  137. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page.js.nft.json +1 -1
  138. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page_client-reference-manifest.js +1 -1
  139. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page.js +1 -1
  140. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page.js.nft.json +1 -1
  141. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page_client-reference-manifest.js +1 -1
  142. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page.js.nft.json +1 -1
  143. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page_client-reference-manifest.js +1 -1
  144. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page.js.nft.json +1 -1
  145. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page_client-reference-manifest.js +1 -1
  146. package/dist/app/apps/dashboard/.next/server/app/skills/page/server-reference-manifest.json +1 -1
  147. package/dist/app/apps/dashboard/.next/server/app/skills/page.js +1 -1
  148. package/dist/app/apps/dashboard/.next/server/app/skills/page.js.nft.json +1 -1
  149. package/dist/app/apps/dashboard/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  150. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page.js.nft.json +1 -1
  151. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page_client-reference-manifest.js +1 -1
  152. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page.js.nft.json +1 -1
  153. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page_client-reference-manifest.js +1 -1
  154. package/dist/app/apps/dashboard/.next/server/app/webhooks/page.js.nft.json +1 -1
  155. package/dist/app/apps/dashboard/.next/server/app/webhooks/page_client-reference-manifest.js +1 -1
  156. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__0lufsyh_0gqup._.js → [externals]__1k43kg5-icx7b._.js} +1 -1
  157. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__0vzssf5bgd660._.js → [root-of-the-server]__0ndj_rhwp_6vf._.js} +1 -1
  158. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__0ywmf3079vsm1._.js +1 -1
  159. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__05vapur0p6d-l._.js → [root-of-the-server]__15_4jl4ba_7y3._.js} +1 -1
  160. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__0iiv9pxo2yauj._.js → [root-of-the-server]__1cxla67mqwfdr._.js} +1 -1
  161. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__0fwm7idn_76uf._.js → [root-of-the-server]__1rrn6p9afghbt._.js} +1 -1
  162. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__0ioimsx71gr0o._.js → [root-of-the-server]__1wj2nw17pv5g8._.js} +1 -1
  163. package/dist/app/apps/dashboard/.next/server/chunks/_0jvoc4-ta3zc0._.js +1 -1
  164. package/dist/app/apps/dashboard/.next/server/chunks/_0oj6_-g5b2lvi._.js +1 -1
  165. package/dist/app/apps/dashboard/.next/server/chunks/_0rwz3f0jh1ty0._.js +1 -1
  166. package/dist/app/apps/dashboard/.next/server/chunks/_0s788ryrplkp6._.js +1 -1
  167. package/dist/app/apps/dashboard/.next/server/chunks/_1-ntqfqk_4-f0._.js +1 -1
  168. package/dist/app/apps/dashboard/.next/server/chunks/_120rsoc_nc7_3._.js +1 -1
  169. package/dist/app/apps/dashboard/.next/server/chunks/_1ilhtkg33m99h._.js +1 -1
  170. package/dist/app/apps/dashboard/.next/server/chunks/_1xodprib7qa_j._.js +2 -2
  171. package/dist/app/apps/dashboard/.next/server/chunks/apps_dashboard_runtime-embed-isolation_mjs_1ovehd-pl97ex._.js +3 -0
  172. package/dist/app/apps/dashboard/.next/server/chunks/apps_dashboard_src_lib_auth_ts_1hhq1tq6hjj-e._.js +2 -2
  173. package/dist/app/apps/dashboard/.next/server/chunks/apps_dashboard_src_lib_control-nodes-store_ts_01hjyte7nc7l2._.js +3 -2
  174. package/dist/app/apps/dashboard/.next/server/chunks/apps_dashboard_src_lib_embedded-frame_ts_1dw1tog69m3ap._.js +3 -0
  175. package/dist/app/apps/dashboard/.next/server/chunks/apps_dashboard_src_lib_hive-login_ts_0ab2iq7-rpy13._.js +1 -1
  176. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__02wumq04h7-2m._.js +1 -1
  177. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1koj-a25tcc9z._.js → [root-of-the-server]__0az7ayfxt936j._.js} +2 -2
  178. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__02rfo46o0ocq7._.js → [root-of-the-server]__0cbjirfjkahyz._.js} +1 -1
  179. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0l7okklk-ix9t._.js → [root-of-the-server]__0mtl30w3r3d8n._.js} +1 -1
  180. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1w1bkuf_-8zxm._.js → [root-of-the-server]__0n1mehgazoyys._.js} +1 -1
  181. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1y4za7l5ph9o-._.js → [root-of-the-server]__0piptu4qrcax4._.js} +1 -1
  182. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0neu-iblb1_-5._.js → [root-of-the-server]__0qoxqg_z229qc._.js} +1 -1
  183. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1jb0a4bkg6dd1._.js → [root-of-the-server]__0yvtveej1dtd6._.js} +1 -1
  184. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__000ndthd0hd5v._.js → [root-of-the-server]__0zftzxoekcfyw._.js} +1 -1
  185. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__202zczfuwkbzi._.js → [root-of-the-server]__15i5sz08w-tg0._.js} +1 -1
  186. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1ria97bl22vsq._.js → [root-of-the-server]__18k_-53xs-qpk._.js} +2 -2
  187. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1jtg9fc0ny1cg._.js → [root-of-the-server]__1cesdboqyg7rq._.js} +1 -1
  188. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1wsrd6m1h8q7q._.js → [root-of-the-server]__1p0rsbsf87odz._.js} +1 -1
  189. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1l8__2gqqi590._.js → [root-of-the-server]__1un9oi8-bokqt._.js} +1 -1
  190. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1gwofuehw8lyc._.js → [root-of-the-server]__206hwh476sy80._.js} +1 -1
  191. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_07u8d93e_m_yo._.js +3 -2
  192. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0caxc2bc6a__r._.js +1 -1
  193. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1oebzzj_en62h._.js +1 -1
  194. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_runtime-environment_mjs_11tpywm9_soif._.js +1 -1
  195. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_0gs_s688kgg1i._.js +1 -1
  196. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_anomalies_remediation_page_tsx_179m33swiclif._.js +1 -1
  197. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_ardent_installations_page_tsx_0nvqgacugy6nf._.js +1 -1
  198. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_audit_audit-client_tsx_0iyab_tlw5yus._.js +1 -1
  199. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_cron_page_tsx_1i3duyygc0_tg._.js +1 -1
  200. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_files_page_tsx_1kls9-qinldks._.js +1 -1
  201. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_governor_operations_page_tsx_1tvdkgil8mlgk._.js +1 -1
  202. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_login_page_tsx_12_rihimtav2a._.js +1 -1
  203. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_logs_page_tsx_0473-hcpj1mqr._.js +1 -1
  204. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_mission-control_page_tsx_0crgxncex_u3w._.js +1 -1
  205. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_nodes_[nodeId]_page_tsx_1q7fqu18oklzc._.js +1 -1
  206. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_nodes_nodes-client_tsx_0pt4iarhpqbgn._.js +1 -1
  207. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_orchestra_web-gateway_page_tsx_1fz12np0wk27t._.js +1 -1
  208. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_security-fusion_page_tsx_0d314q7yh6fx8._.js +1 -1
  209. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_skills_page_tsx_0n5zp4xad38in._.js +1 -1
  210. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_webhooks_webhook-form_tsx_02z3be5wx7-cb._.js +1 -1
  211. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_components_ui_card_tsx_1pngl2ib-xo5t._.js +1 -1
  212. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_components_ui_node-selector_tsx_1ci6ldznpaofq._.js +1 -1
  213. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_lib_api-client_ts_0tho-kkk5ez7h._.js +1 -1
  214. package/dist/app/apps/dashboard/.next/server/middleware-build-manifest.js +3 -3
  215. package/dist/app/apps/dashboard/.next/server/pages/500.html +1 -1
  216. package/dist/app/apps/dashboard/.next/server/preview-props.json +3 -3
  217. package/dist/app/apps/dashboard/.next/server/server-reference-manifest.js +1 -1
  218. package/dist/app/apps/dashboard/.next/server/server-reference-manifest.json +3 -3
  219. package/dist/app/apps/dashboard/.next/static/chunks/{369vzlcjad-gn.js → 017x1uhn9l7nw.js} +1 -1
  220. package/dist/app/apps/dashboard/.next/static/chunks/{1-vn8cqro-f08.js → 06_2psos--paq.js} +1 -1
  221. package/dist/app/apps/dashboard/.next/static/chunks/0i8g96dmx-fbo.css +2 -0
  222. package/dist/app/apps/dashboard/.next/static/chunks/0nalo72r7vipw.js +1 -0
  223. package/dist/app/apps/dashboard/.next/static/chunks/0pswbe-19xxl5.js +1 -0
  224. package/dist/app/apps/dashboard/.next/static/chunks/{3ntnj6ts2r3e2.js → 0s2skhp7086pc.js} +1 -1
  225. package/dist/app/apps/dashboard/.next/static/chunks/{0nekvgtqt8goj.js → 0zsp_alwy1f3v.js} +1 -1
  226. package/dist/app/apps/dashboard/.next/static/chunks/1fpi73pmpn8v5.js +1 -0
  227. package/dist/app/apps/dashboard/.next/static/chunks/1gko0bkguj_g0.js +1 -0
  228. package/dist/app/apps/dashboard/.next/static/chunks/{0lxf5l-ugq-09.js → 1t6g3-pjlavb5.js} +1 -1
  229. package/dist/app/apps/dashboard/.next/static/chunks/{1xdzfjeq_fj4f.js → 1ygangs-zn4yl.js} +1 -1
  230. package/dist/app/apps/dashboard/.next/static/chunks/2_eadjwf4989d.js +1 -0
  231. package/dist/app/apps/dashboard/.next/static/chunks/2fzv4_us4q1w_.js +1 -0
  232. package/dist/app/apps/dashboard/.next/static/chunks/{1cvbtmsr4d3ci.js → 2isl5q2zhjwiw.js} +1 -1
  233. package/dist/app/apps/dashboard/.next/static/chunks/2jaw-lni6k_dt.js +1 -0
  234. package/dist/app/apps/dashboard/.next/static/chunks/2sh8fn_vg-vs5.js +1 -0
  235. package/dist/app/apps/dashboard/.next/static/chunks/{1kx48jg-4j5iv.js → 2u4_fj_v8i521.js} +2 -2
  236. package/dist/app/apps/dashboard/.next/static/chunks/{3qr1h6_w6vi_4.js → 2zj24fir1fm27.js} +1 -1
  237. package/dist/app/apps/dashboard/.next/static/chunks/{3w-7xko96ljib.js → 2zjjqqg5z63sl.js} +1 -1
  238. package/dist/app/apps/dashboard/.next/static/chunks/337js55ro9g08.js +1 -0
  239. package/dist/app/apps/dashboard/.next/static/chunks/{37kstof-v-jwi.js → 33xay7yclh_jd.js} +1 -1
  240. package/dist/app/apps/dashboard/.next/static/chunks/34yff9n0mbd1h.js +1 -0
  241. package/dist/app/apps/dashboard/.next/static/chunks/{05p7s0xtb3koa.js → 3eo_31lzj51v9.js} +1 -1
  242. package/dist/app/apps/dashboard/.next/static/chunks/{12ju76tjcqh_z.js → 3f73kvi1pwabq.js} +4 -4
  243. package/dist/app/apps/dashboard/.next/static/chunks/{23o8zfgrdxuhk.js → 3kh386y5gla53.js} +1 -1
  244. package/dist/app/apps/dashboard/.next/static/chunks/3mwn69j8d-q9v.js +4 -0
  245. package/dist/app/apps/dashboard/.next/static/chunks/3p_wvl3sieoi4.js +1 -0
  246. package/dist/app/apps/dashboard/.next/static/chunks/{0yb36s9l-f3_w.js → 3qrrim22gq-vp.js} +1 -1
  247. package/dist/app/apps/dashboard/.next/static/chunks/3ui3xvxcdyc0r.js +1 -0
  248. package/dist/app/apps/dashboard/.next/static/chunks/3ya4-24grz_0f.js +1 -0
  249. package/dist/app/apps/dashboard/.next/static/chunks/{37pb0l96d03rk.js → 42j6wpibe0zrn.js} +1 -1
  250. package/dist/app/apps/dashboard/.next/static/chunks/4369o9c3gezxt.js +6 -0
  251. package/dist/app/apps/dashboard/.next/static/rWpgppq64sqgeZO3-MlD1/_buildManifest.js +11 -0
  252. package/dist/app/apps/dashboard/package.json +3 -2
  253. package/dist/app/apps/dashboard/runtime-control-node-credentials.mjs +638 -0
  254. package/dist/app/apps/dashboard/runtime-embed-isolation.mjs +450 -0
  255. package/dist/app/apps/dashboard/runtime-environment.mjs +1 -1
  256. package/dist/app/apps/dashboard/runtime-integrations.mjs +4 -4
  257. package/dist/app/apps/dashboard/server-tls.mjs +96 -47
  258. package/dist/app/apps/dashboard/server.js +1 -1
  259. package/npm-shrinkwrap.json +4 -3
  260. package/package.json +3 -2
  261. package/dist/app/apps/dashboard/.next/static/chunks/015s19fe5dtkp.css +0 -2
  262. package/dist/app/apps/dashboard/.next/static/chunks/07tx3h4lr-lxl.js +0 -6
  263. package/dist/app/apps/dashboard/.next/static/chunks/0u9-brifz45bj.js +0 -1
  264. package/dist/app/apps/dashboard/.next/static/chunks/19-20lxkk1axv.js +0 -1
  265. package/dist/app/apps/dashboard/.next/static/chunks/1j5vpju4k1wlj.js +0 -1
  266. package/dist/app/apps/dashboard/.next/static/chunks/1kjl44-64ume7.js +0 -1
  267. package/dist/app/apps/dashboard/.next/static/chunks/28zpgt1trm_m4.js +0 -1
  268. package/dist/app/apps/dashboard/.next/static/chunks/2lk4ailve7631.js +0 -1
  269. package/dist/app/apps/dashboard/.next/static/chunks/2lulmsr2vjuw5.js +0 -1
  270. package/dist/app/apps/dashboard/.next/static/chunks/30npcziw-f8ld.js +0 -1
  271. package/dist/app/apps/dashboard/.next/static/chunks/31hx4x8k9707e.js +0 -1
  272. package/dist/app/apps/dashboard/.next/static/chunks/34mzv0h7jkx20.js +0 -1
  273. package/dist/app/apps/dashboard/.next/static/chunks/3cw8xs2dab1g-.js +0 -1
  274. package/dist/app/apps/dashboard/.next/static/chunks/3dao7nu2cr6a9.js +0 -4
  275. package/dist/app/apps/dashboard/.next/static/chunks/3gjll_bse9v1f.js +0 -1
  276. package/dist/app/apps/dashboard/.next/static/chunks/3qq-otw-t-6b0.js +0 -1
  277. package/dist/app/apps/dashboard/.next/static/pcEuomTy_lxr51c8J4RQm/_buildManifest.js +0 -20
  278. /package/dist/app/apps/dashboard/.next/static/{pcEuomTy_lxr51c8J4RQm → rWpgppq64sqgeZO3-MlD1}/_clientMiddlewareManifest.js +0 -0
  279. /package/dist/app/apps/dashboard/.next/static/{pcEuomTy_lxr51c8J4RQm → rWpgppq64sqgeZO3-MlD1}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
1
  module.exports=[777,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_argon2_112mfec2lz7k2._.js"].map(t=>e.l(t))).then(()=>t(57562)))},70729,e=>{e.v(e=>Promise.resolve().then(()=>e(66680)))},83039,e=>{"use strict";var t=e.i(30137);let r=[/^169\.254\./,/^127\./,/^0\./,/^10\.0\.0\.1$/,/^metadata\./i,/^instance-data\./i];async function a(e){var a;let n;try{n=new URL(e)}catch{return{allowed:!1,reason:"Invalid URL"}}if("https:"!==n.protocol&&("http:"!==n.protocol||"localhost"!==n.hostname))return{allowed:!1,reason:"Only HTTPS targets are allowed"};if(a=n.hostname,r.some(e=>e.test(a)))return{allowed:!1,reason:"Target host is blocked"};try{let r=await (0,t._)(e);return{allowed:!0,baseUrl:r.baseUrl,credentialHeaders:r.credentialHeaders}}catch(e){return{allowed:!1,reason:e instanceof Error?e.message:"Target is unavailable"}}}e.s(["f",0,a])},50872,e=>{"use strict";class t extends Error{constructor(){super("Request body exceeds the configured limit")}}async function r(e,t){return new TextDecoder().decode(await a(e,t))}async function a(e,r){if(!Number.isSafeInteger(r)||r<1)throw Error("Invalid request body limit");if(Number(e.headers.get("content-length"))>r)throw new t;if(!e.body)return new Uint8Array(0);let a=e.body.getReader(),n=[],o=0;try{for(;;){let{done:e,value:s}=await a.read();if(e)break;if((o+=s.byteLength)>r)throw await a.cancel().catch(()=>void 0),new t;n.push(s)}}finally{a.releaseLock()}let s=new Uint8Array(o),l=0;for(let e of n)s.set(e,l),l+=e.byteLength;return s}e.s(["K",0,t,"B",0,a,"Q",0,r])}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__05vapur0p6d-l._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__15_4jl4ba_7y3._.js.map
@@ -1,3 +1,3 @@
1
1
  module.exports=[777,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_argon2_112mfec2lz7k2._.js"].map(t=>e.l(t))).then(()=>t(57562)))},70729,e=>{e.v(e=>Promise.resolve().then(()=>e(66680)))},794,(e,t,r)=>{t.exports=e.x("node:dns/promises",()=>require("node:dns/promises"))},83039,e=>{"use strict";var t=e.i(30137);let r=[/^169\.254\./,/^127\./,/^0\./,/^10\.0\.0\.1$/,/^metadata\./i,/^instance-data\./i];async function n(e){var n;let l;try{l=new URL(e)}catch{return{allowed:!1,reason:"Invalid URL"}}if("https:"!==l.protocol&&("http:"!==l.protocol||"localhost"!==l.hostname))return{allowed:!1,reason:"Only HTTPS targets are allowed"};if(n=l.hostname,r.some(e=>e.test(n)))return{allowed:!1,reason:"Target host is blocked"};try{let r=await (0,t._)(e);return{allowed:!0,baseUrl:r.baseUrl,credentialHeaders:r.credentialHeaders}}catch(e){return{allowed:!1,reason:e instanceof Error?e.message:"Target is unavailable"}}}e.s(["f",0,n])},27356,e=>{"use strict";function t(e){let t=0;for(;t<e.length;){let r=Math.min(t+65536,e.length);crypto.getRandomValues(e.subarray(t,r)),t=r}}function r(e){if((e|=0)<0)throw RangeError("Wrong ID size");let r=Buffer.allocUnsafe(e);return t(r),r}function n(e,t,r){let n=256-256%e.length;if(256===n){let n=e.length-1;return (l=t)=>{if(!l)return"";let a="";for(;;){let t=r(l),o=l|=0;for(;o--;)if((a+=e[t[o]&n]).length>=l)return a}}}return (l=t)=>{if(!l)return"";let a="",o=Math.ceil(409.6*l/n);for(;;){let t=r(o),s=o;for(;s--;)if(t[s]<n&&(a+=e[t[s]%e.length]).length>=l)return a}}}let l=function(e,l=21){if("string"!=typeof e||!e||e.length>256)return n(e,l,r);for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>255)return n(e,l,r);let a=Uint8Array.from(e,e=>e.charCodeAt(0)),o=e.length,s=(2<<31-Math.clz32(o-1|1))-1,i="",f=0,u=0;return (e=l)=>{if((e|=0)<0)throw RangeError("Wrong ID size");if(0===e)return"";if(f+e>i.length){let r=Math.max(u,e);u=Math.min(16*r,32768);let n=Buffer.allocUnsafe(r);if(s===o-1){t(n);for(let e=0;e<r;e++)n[e]=a[n[e]&s]}else{let e=Buffer.allocUnsafe(Math.ceil(1.6*(s+1)*r/o)),l=0;for(;l<r;){t(e);for(let t=0;t<e.length;t++){let i=e[t]&s;if(i<o&&(n[l++]=a[i],l===r))break}}}i=n.toString("latin1"),f=0}return f+=e,i.substring(f-e,f)}}("57X6y3wQZNzYjJB2L_10pxbackgroundhimselfUTF-8DEMOGRAPHICSVqvt4KW9");e.s(["f",0,l],27356)}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__0iiv9pxo2yauj._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1cxla67mqwfdr._.js.map
@@ -1,3 +1,3 @@
1
1
  module.exports=[777,e=>{e.v(n=>Promise.all(["server/chunks/[externals]_argon2_112mfec2lz7k2._.js"].map(n=>e.l(n))).then(()=>n(57562)))},70729,e=>{e.v(e=>Promise.resolve().then(()=>e(66680)))},794,(e,n,s)=>{n.exports=e.x("node:dns/promises",()=>require("node:dns/promises"))},72130,e=>{"use strict";let n=Symbol.for("magnus.hermesSecurityEventState"),s=globalThis[n]??={pendingEvents:0,droppedEvents:0,maxPendingEvents:1e3};e.s(["k",0,function(){return{...s}},"v",0,function(){s.droppedEvents+=1},"$",0,function(e){s.pendingEvents=Math.max(0,s.pendingEvents+e)}])}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__0fwm7idn_76uf._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1rrn6p9afghbt._.js.map
@@ -1,3 +1,3 @@
1
1
  module.exports=[777,e=>{e.v(r=>Promise.all(["server/chunks/[externals]_argon2_112mfec2lz7k2._.js"].map(r=>e.l(r))).then(()=>r(57562)))},70729,e=>{e.v(e=>Promise.resolve().then(()=>e(66680)))},50872,e=>{"use strict";class r extends Error{constructor(){super("Request body exceeds the configured limit")}}async function t(e,r){return new TextDecoder().decode(await n(e,r))}async function n(e,t){if(!Number.isSafeInteger(t)||t<1)throw Error("Invalid request body limit");if(Number(e.headers.get("content-length"))>t)throw new r;if(!e.body)return new Uint8Array(0);let n=e.body.getReader(),o=[],s=0;try{for(;;){let{done:e,value:a}=await n.read();if(e)break;if((s+=a.byteLength)>t)throw await n.cancel().catch(()=>void 0),new r;o.push(a)}}finally{n.releaseLock()}let a=new Uint8Array(s),i=0;for(let e of o)a.set(e,i),i+=e.byteLength;return a}e.s(["K",0,r,"B",0,n,"Q",0,t])}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__0ioimsx71gr0o._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1wj2nw17pv5g8._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[78492,e=>{"use strict";var t=e.i(89171),r=e.i(27721),a=e.i(54213),n=e.i(2157),s=e.i(36689);let i=new s.Agent({connect:function(e){let t=e?.trim();if(!t)return{rejectUnauthorized:!0};if(!(0,n.existsSync)(t))throw Error(`HIVE_ROUTER_CA_PATH does not exist: ${t}`);return{rejectUnauthorized:!0,ca:(0,n.readFileSync)(t)}}(process.env.HIVE_ROUTER_CA_PATH)});async function o(e,t){let r=Number(process.env.DASHBOARD_DEPENDENCY_TIMEOUT_MS??8e3),a=AbortSignal.timeout(r),n=t?.signal?AbortSignal.any([t.signal,a]):a;return await (0,s.fetch)(e,{...t,signal:n,dispatcher:i})}var l=e.i(50872),u=e.i(15958),c=e.i(32168);let d="/api/hive-router/dashboard",p="hive_router_admin";async function h(e){let n=e.cookies.get(a.B)?.value;return n&&await (0,r.L)(n)?null:t.NextResponse.json({error:"Unauthorized"},{status:401})}async function f(e,{params:r}){let a,n=await h(e);if(n)return n;let s=(0,c.l)();if(!s)return t.NextResponse.json({error:"Hive Router is not configured. Set HIVE_ROUTER_ADMIN_URL to enable it."},{status:503});let{path:i}=await r,v=e.nextUrl.searchParams.toString(),R=`${s}${!i||0===i.length?"/":`/${i.join("/")}`}${v?`?${v}`:""}`,w={};for(let t of["accept","content-type","x-trace-id"]){let r=e.headers.get(t);r&&(w[t]=r)}let m=(a=e.cookies.get(p)?.value)?`${p}=${a}`:void 0;m&&(w.cookie=m);let x={method:e.method,headers:w,cache:"no-store"};if("GET"!==e.method&&"HEAD"!==e.method)try{let t=await (0,l.B)(e,Number((0,u.f)("DASHBOARD_PROXY_BODY_LIMIT_BYTES")));t.byteLength&&(x.body=t)}catch(e){if(e instanceof l.K)return t.NextResponse.json({error:"Request body too large"},{status:413});throw e}try{let e=await o(R,{...x,redirect:"manual"}),r=e.headers.get("content-type")??"application/octet-stream",a=new Headers;for(let t of(a.set("Content-Type",r),a.set("Cache-Control","no-cache, no-store"),e.headers.getSetCookie()))a.append("Set-Cookie",/;\s*path=/i.test(t)?t.replace(/;\s*path=[^;]*/i,`; Path=${d}`):`${t}; Path=${d}`);let n=await (0,l.B)(e,0x1000000);if(r.includes("text/html")||r.includes("javascript")||r.includes("text/css"))return new t.NextResponse(new TextDecoder().decode(n).replaceAll('"/assets/',`"${d}/assets/`).replaceAll("'/assets/",`'${d}/assets/`).replaceAll("`/assets/",`\`${d}/assets/`).replaceAll('"/api/',`"${d}/api/`).replaceAll("'/api/",`'${d}/api/`).replaceAll("`/api/",`\`${d}/api/`).replaceAll('"/api-docs/',`"${d}/api-docs/`).replaceAll("'/api-docs/",`'${d}/api-docs/`).replaceAll("`/api-docs/",`\`${d}/api-docs/`),{status:e.status,statusText:e.statusText,headers:a});return new t.NextResponse(n,{status:e.status,statusText:e.statusText,headers:a})}catch(r){if(r instanceof l.K)return t.NextResponse.json({error:"Router response too large"},{status:502});let e=r instanceof Error?r.message:"Unknown error";return t.NextResponse.json({error:`Hive Router unreachable: ${e}`},{status:502})}}e.s(["DELETE",0,f,"GET",0,f,"PATCH",0,f,"POST",0,f,"PUT",0,f],78492)},55820,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),s=e.i(61916),i=e.i(74677),o=e.i(69741),l=e.i(16795),u=e.i(87718),c=e.i(95169),d=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(26937),v=e.i(10372),R=e.i(93695),w=e.i(9580);e.i(52474);var m=e.i(220);let x=new t.AppRouteRouteModule({definition:{kind:r.f.APP_ROUTE,page:"/api/hive-router/dashboard/[[...path]]/route",pathname:"/api/hive-router/dashboard/[[...path]]",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/apps/dashboard/src/app/api/hive-router/dashboard/[[...path]]/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(78492),...{}}),{workAsyncStorage:E,workUnitAsyncStorage:g,serverHooks:A}=x;async function T(e,t,r){r.requestMeta&&(0,n.R)(e,r.requestMeta),x.isDev&&(0,n.i)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let a="/api/hive-router/dashboard/[[...path]]/route";a=a.replace(/\/index$/,"")||"/";let{instrumentation:i}=await x.ensureInstrumentation(e,{deferSpans:!0});return x.traceRequest(e,{tracer:(0,s.v)(),spanName:`${e.method||"GET"} ${a}`,httpTarget:e.url,instrumentation:i},(n,s)=>y(e,t,r,a,!1,n,s))}async function y(e,t,a,E,g,A,T){let y=await x.prepare(e,t,{srcPage:E,multiZoneDraftMode:g});if(!y)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:b,deploymentId:C,params:P,nextConfig:S,parsedUrl:U,isDraftMode:$,prerenderManifest:_,routerServerContext:O,isOnDemandRevalidate:N,revalidateOnlyGenerated:k,resolvedPathname:D,clientReferenceManifest:H,serverActionsManifest:I,previewProps:j}=y,M=(0,o.f)(E),q=!!_.routes[D]&&(x.isDev||(0,w.f)(D,x.cacheOwner,_.routes[D])),L=!!(_.dynamicRoutes[M]||q),B=async()=>((null==O?void 0:O.render404)?await O.render404(e,t,U,!1):t.end("This page could not be found"),null);if(L&&!$){let e=_.dynamicRoutes[M];if(e&&!1===e.fallback&&!q){if(S.adapterPath)return await B();throw new R.NoFallbackError}}let G=null;!L||x.isDev||$||(G="/index"===(G=D)?"/":G),I&&H&&(0,i.f)({page:E,clientReferenceManifest:H,serverActionsManifest:I});let F=e.method||"GET",K=(0,s.v)(),V=!!(null==O?void 0:O.isWrappedByNextServer),Y=!!(0,n.w)(e,"minimalMode"),z=(0,n.w)(e,"incrementalCache")||await x.getIncrementalCache(e,S,j,_,Y);null==z||z.resetRequestCache(),globalThis.__incrementalCache=z;let J={params:P,previewProps:j,renderOpts:{experimental:{authInterrupts:!!S.experimental.authInterrupts,useCacheTimeout:S.experimental.useCacheTimeout,durableUseCacheEntries:!!S.experimental.durableUseCacheEntries},cacheComponents:!!S.cacheComponents,validationLevel:S.experimental.instantInsights.validationLevel,isDraftMode:$,incrementalCache:z,hmrRefreshHash:(0,n.w)(e,"hmrRefreshHash"),cacheLifeProfiles:S.cacheLife,staticPageGenerationTimeout:S.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0},sharedContext:{buildId:b,deploymentId:C}},Q=new l.x(e),W=new l.e(t),X=u.k.fromNodeNextRequest(Q,(0,u.t)(t)),Z=async({previousCacheEntry:r})=>{try{if(!Y&&N&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=null===G?await x.handle(X,J):await x.prerender(X,J);e.fetchMetrics=J.renderOpts.fetchMetrics;let s=J.renderOpts.pendingWaitUntil;s&&a.waitUntil&&(a.waitUntil(s),s=void 0);let i=J.renderOpts.collectedTags;if(!L)return await (0,p.f)(Q,W,n,s),null;{let e=await n.blob(),t=(0,h.S)(n.headers);i&&(t[v.M]=i),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==J.renderOpts.collectedRevalidate&&!(J.renderOpts.collectedRevalidate>=v.Q)&&J.renderOpts.collectedRevalidate,a=void 0===J.renderOpts.collectedExpire||J.renderOpts.collectedExpire>=v.Q?!1!==r&&r>0?S.expireTime:void 0:J.renderOpts.collectedExpire;return{value:{kind:m.x.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await x.onRequestError(e,t,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,d.f)({isStaticGeneration:null!==G,isOnDemandRevalidate:N})},!1,O),t}},ee=async n=>{try{var i,o;let n=await x.handleResponse({req:e,nextConfig:S,cacheKey:G,routeKind:r.f.APP_ROUTE,isFallback:!1,previewProps:j,prerenderManifest:_,isRoutePPREnabled:!1,isOnDemandRevalidate:N,revalidateOnlyGenerated:k,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:Y});if(null!==n&&"error"in n)throw n.error;if(!L)return;if((null==n||null==(i=n.value)?void 0:i.kind)!==m.x.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==n||null==(o=n.value)?void 0:o.kind}`);Y||t.setHeader("x-nextjs-cache",N?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),$&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let s=(0,h.G)(n.value.headers);Y&&L||s.delete(v.M),!n.cacheControl||t.getHeader("Cache-Control")||s.get("Cache-Control")||s.set("Cache-Control",(0,f.f)(n.cacheControl)),await (0,p.f)(Q,W,new Response(n.value.body,{headers:s,status:n.value.status||200}));return}catch(r){if(r instanceof R.NoFallbackError||await x.onRequestError(e,r,{routerKind:"App Router",routePath:M,routeType:"route",revalidateReason:(0,d.f)({isStaticGeneration:null!==G,isOnDemandRevalidate:N})},!1,O),L)throw r;if(t.headersSent){if(n){let e=r instanceof Error?r:Error("Unknown app route error");n.recordException(e),n.setStatus({code:s.J.ERROR,message:e.message}),n.setAttribute("error.type",e.name)}t.writableEnded||t.destroyed||t.end()}else await (0,p.f)(Q,W,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:s.J.ERROR}),n.setAttribute("error.type",e.toString()));let r=K.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==c.q.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||M,i=`${F} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":i}),n.updateName(i),T&&T!==n&&(T.setAttribute("http.route",a),T.updateName(i))})()}};V||void 0===e.url||null==A||A.setAttribute("http.target",e.url),await ee(A)}e.s(["handler",0,T,"patchFetch",0,function(){return(0,a.f)({workAsyncStorage:E,workUnitAsyncStorage:g})},"routeModule",0,x,"serverHooks",0,A,"workAsyncStorage",0,E,"workUnitAsyncStorage",0,g])}];
1
+ module.exports=[78492,e=>{"use strict";var t=e.i(89171),r=e.i(37210),a=e.i(2157),n=e.i(36689);let i=new n.Agent({connect:function(e){let t=e?.trim();if(!t)return{rejectUnauthorized:!0};if(!(0,a.existsSync)(t))throw Error(`HIVE_ROUTER_CA_PATH does not exist: ${t}`);return{rejectUnauthorized:!0,ca:(0,a.readFileSync)(t)}}(process.env.HIVE_ROUTER_CA_PATH)});async function s(e,t){let r=Number(process.env.DASHBOARD_DEPENDENCY_TIMEOUT_MS??8e3),a=AbortSignal.timeout(r),s=t?.signal?AbortSignal.any([t.signal,a]):a;return await (0,n.fetch)(e,{...t,signal:s,dispatcher:i})}var o=e.i(50872),l=e.i(15958),u=e.i(32168),c=e.i(28592);async function d(e,a){let n=await (0,r.r)(e);return n instanceof t.NextResponse?n:(0,c.v)(e.headers)?(0,u.l)()?(0,r.w)(e,{app:"router",session:n,path:a??[],search:e.nextUrl.search}):t.NextResponse.json({error:"Hive Router is not configured. Set HIVE_ROUTER_ADMIN_URL to enable it."},{status:503}):t.NextResponse.json({error:"cross_site_request_refused"},{status:403})}async function p(e,{params:a}){let{path:n}=await a,i=(0,c.T)(n);if(!i)return d(e,n);let h=await (0,r.z)(e,{app:"router",grant:i.grant,rest:i.rest});if(h instanceof t.NextResponse)return h;let{grant:f,upstreamPath:w}=h,R=(0,u.l)();if(!R)return(0,r.e)(e,{error:"Hive Router is not configured. Set HIVE_ROUTER_ADMIN_URL to enable it."},503);let m=`/api/hive-router/dashboard/${c._}/${i.grant}`,v=e.nextUrl.searchParams.toString(),x=new URL(`${R}${w}`);if(x.pathname!==`${new URL(R).pathname.replace(/\/$/,"")}${w}`)return(0,r.e)(e,{error:"frame_path_invalid"},400);x.search=v;let E=x.toString(),g={};for(let t of["accept","content-type","x-trace-id"]){let r=e.headers.get(t);r&&(g[t]=r)}let T=(0,c.j)(f).routerCookies,y=function(e){if(0!==e.size)return[...e].map(([e,t])=>`${e}=${t}`).join("; ")}(T);y&&(g.cookie=y);let b={method:e.method,headers:g,cache:"no-store"};if("GET"!==e.method&&"HEAD"!==e.method)try{let t=await (0,o.B)(e,Number((0,l.f)("DASHBOARD_PROXY_BODY_LIMIT_BYTES")));t.byteLength&&(b.body=t)}catch(t){if(t instanceof o.K)return(0,r.e)(e,{error:"Request body too large"},413);throw t}try{var A;let r=await s(E,{...b,redirect:"manual"}),a=r.headers.get("content-type")??"application/octet-stream",n=new Headers;for(let t of(n.set("Content-Type",a),n.set("Cache-Control","no-cache, no-store"),(0,c.i)(n,e.headers.get("origin")),r.headers.getSetCookie()))!function(e,t){let[r="",...a]=t.split(";"),n=r.indexOf("=");if(n<=0)return;let i=r.slice(0,n).trim(),s=r.slice(n+1).trim();!/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/.test(i)||Buffer.byteLength(s)>4096||(a.some(e=>{let[t="",r=""]=e.split("=").map(e=>e.trim());return"max-age"===t.toLowerCase()?0>=Number(r):"expires"===t.toLowerCase()&&Date.parse(r)<=Date.now()})||""===s?e.delete(i):(e.has(i)||!(e.size>=32))&&e.set(i,s))}(T,t);let i=r.headers.get("location");i?.startsWith("/")&&n.set("Location",`${m}${i}`);let l=await (0,o.B)(r,0x1000000);if(a.includes("text/html")||a.includes("javascript")||a.includes("text/css")){let e=(A=new TextDecoder().decode(l),A.replace(/(["'`])\/(assets|api|api-docs)\//g,(e,t,r)=>`${t}${m}/${r}/`));return a.includes("text/html")&&(e=(0,c.X)(e)),new t.NextResponse(e,{status:r.status,statusText:r.statusText,headers:n})}return new t.NextResponse(l,{status:r.status,statusText:r.statusText,headers:n})}catch(a){if(a instanceof o.K)return(0,r.e)(e,{error:"Router response too large"},502);let t=a instanceof Error?a.message:"Unknown error";return(0,r.e)(e,{error:`Hive Router unreachable: ${t}`},502)}}async function h(e,{params:r}){let{path:a}=await r;return(0,c.T)(a)?new t.NextResponse(null,{status:204,headers:(0,c.L)(e.headers)}):new t.NextResponse(null,{status:405,headers:{allow:"GET, HEAD, POST, PUT, PATCH, DELETE"}})}e.s(["DELETE",0,p,"GET",0,p,"OPTIONS",0,h,"PATCH",0,p,"POST",0,p,"PUT",0,p],78492)},55820,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),i=e.i(61916),s=e.i(74677),o=e.i(69741),l=e.i(16795),u=e.i(87718),c=e.i(95169),d=e.i(47587),p=e.i(66012),h=e.i(70101),f=e.i(26937),w=e.i(10372),R=e.i(93695),m=e.i(9580);e.i(52474);var v=e.i(220);let x=new t.AppRouteRouteModule({definition:{kind:r.f.APP_ROUTE,page:"/api/hive-router/dashboard/[[...path]]/route",pathname:"/api/hive-router/dashboard/[[...path]]",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/apps/dashboard/src/app/api/hive-router/dashboard/[[...path]]/route.ts",nextConfigOutput:"standalone",userland:()=>e.r(78492),...{}}),{workAsyncStorage:E,workUnitAsyncStorage:g,serverHooks:T}=x;async function y(e,t,r){r.requestMeta&&(0,n.R)(e,r.requestMeta),x.isDev&&(0,n.i)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let a="/api/hive-router/dashboard/[[...path]]/route";a=a.replace(/\/index$/,"")||"/";let{instrumentation:s}=await x.ensureInstrumentation(e,{deferSpans:!0});return x.traceRequest(e,{tracer:(0,i.v)(),spanName:`${e.method||"GET"} ${a}`,httpTarget:e.url,instrumentation:s},(n,i)=>b(e,t,r,a,!1,n,i))}async function b(e,t,a,E,g,T,y){let b=await x.prepare(e,t,{srcPage:E,multiZoneDraftMode:g});if(!b)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:A,deploymentId:C,params:_,nextConfig:P,parsedUrl:U,isDraftMode:S,prerenderManifest:O,routerServerContext:D,isOnDemandRevalidate:N,revalidateOnlyGenerated:$,resolvedPathname:H,clientReferenceManifest:I,serverActionsManifest:L,previewProps:k}=b,M=(0,o.f)(E),j=!!O.routes[H]&&(x.isDev||(0,m.f)(H,x.cacheOwner,O.routes[H])),q=!!(O.dynamicRoutes[M]||j),B=async()=>((null==D?void 0:D.render404)?await D.render404(e,t,U,!1):t.end("This page could not be found"),null);if(q&&!S){let e=O.dynamicRoutes[M];if(e&&!1===e.fallback&&!j){if(P.adapterPath)return await B();throw new R.NoFallbackError}}let G=null;!q||x.isDev||S||(G="/index"===(G=H)?"/":G),L&&I&&(0,s.f)({page:E,clientReferenceManifest:I,serverActionsManifest:L});let z=e.method||"GET",V=(0,i.v)(),F=!!(null==D?void 0:D.isWrappedByNextServer),K=!!(0,n.w)(e,"minimalMode"),Y=(0,n.w)(e,"incrementalCache")||await x.getIncrementalCache(e,P,k,O,K);null==Y||Y.resetRequestCache(),globalThis.__incrementalCache=Y;let W={params:_,previewProps:k,renderOpts:{experimental:{authInterrupts:!!P.experimental.authInterrupts,useCacheTimeout:P.experimental.useCacheTimeout,durableUseCacheEntries:!!P.experimental.durableUseCacheEntries},cacheComponents:!!P.cacheComponents,validationLevel:P.experimental.instantInsights.validationLevel,isDraftMode:S,incrementalCache:Y,hmrRefreshHash:(0,n.w)(e,"hmrRefreshHash"),cacheLifeProfiles:P.cacheLife,staticPageGenerationTimeout:P.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0},sharedContext:{buildId:A,deploymentId:C}},J=new l.x(e),Q=new l.e(t),X=u.k.fromNodeNextRequest(J,(0,u.t)(t)),Z=async({previousCacheEntry:r})=>{try{if(!K&&N&&$&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=null===G?await x.handle(X,W):await x.prerender(X,W);e.fetchMetrics=W.renderOpts.fetchMetrics;let i=W.renderOpts.pendingWaitUntil;i&&a.waitUntil&&(a.waitUntil(i),i=void 0);let s=W.renderOpts.collectedTags;if(!q)return await (0,p.f)(J,Q,n,i),null;{let e=await n.blob(),t=(0,h.S)(n.headers);s&&(t[w.M]=s),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==W.renderOpts.collectedRevalidate&&!(W.renderOpts.collectedRevalidate>=w.Q)&&W.renderOpts.collectedRevalidate,a=void 0===W.renderOpts.collectedExpire||W.renderOpts.collectedExpire>=w.Q?!1!==r&&r>0?P.expireTime:void 0:W.renderOpts.collectedExpire;return{value:{kind:v.x.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await x.onRequestError(e,t,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,d.f)({isStaticGeneration:null!==G,isOnDemandRevalidate:N})},!1,D),t}},ee=async n=>{try{var s,o;let n=await x.handleResponse({req:e,nextConfig:P,cacheKey:G,routeKind:r.f.APP_ROUTE,isFallback:!1,previewProps:k,prerenderManifest:O,isRoutePPREnabled:!1,isOnDemandRevalidate:N,revalidateOnlyGenerated:$,responseGenerator:Z,waitUntil:a.waitUntil,isMinimalMode:K});if(null!==n&&"error"in n)throw n.error;if(!q)return;if((null==n||null==(s=n.value)?void 0:s.kind)!==v.x.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==n||null==(o=n.value)?void 0:o.kind}`);K||t.setHeader("x-nextjs-cache",N?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),S&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let i=(0,h.G)(n.value.headers);K&&q||i.delete(w.M),!n.cacheControl||t.getHeader("Cache-Control")||i.get("Cache-Control")||i.set("Cache-Control",(0,f.f)(n.cacheControl)),await (0,p.f)(J,Q,new Response(n.value.body,{headers:i,status:n.value.status||200}));return}catch(r){if(r instanceof R.NoFallbackError||await x.onRequestError(e,r,{routerKind:"App Router",routePath:M,routeType:"route",revalidateReason:(0,d.f)({isStaticGeneration:null!==G,isOnDemandRevalidate:N})},!1,D),q)throw r;if(t.headersSent){if(n){let e=r instanceof Error?r:Error("Unknown app route error");n.recordException(e),n.setStatus({code:i.J.ERROR,message:e.message}),n.setAttribute("error.type",e.name)}t.writableEnded||t.destroyed||t.end()}else await (0,p.f)(J,Q,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:i.J.ERROR}),n.setAttribute("error.type",e.toString()));let r=V.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==c.q.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||M,s=`${z} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":s}),n.updateName(s),y&&y!==n&&(y.setAttribute("http.route",a),y.updateName(s))})()}};F||void 0===e.url||null==T||T.setAttribute("http.target",e.url),await ee(T)}e.s(["handler",0,y,"patchFetch",0,function(){return(0,a.f)({workAsyncStorage:E,workUnitAsyncStorage:g})},"routeModule",0,x,"serverHooks",0,T,"workAsyncStorage",0,E,"workUnitAsyncStorage",0,g])}];
2
2
 
3
3
  //# sourceMappingURL=_0jvoc4-ta3zc0._.js.map