@hivemagnus/magnus-ui 2.1.1 → 2.1.2

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 (541) hide show
  1. package/dist/app/apps/dashboard/.next/BUILD_ID +1 -1
  2. package/dist/app/apps/dashboard/.next/build-manifest.json +269 -269
  3. package/dist/app/apps/dashboard/.next/prerender-manifest.json +3 -3
  4. package/dist/app/apps/dashboard/.next/required-server-files.json +2 -2
  5. package/dist/app/apps/dashboard/.next/server/app/_global-error/page/build-manifest.json +7 -7
  6. package/dist/app/apps/dashboard/.next/server/app/_global-error/page.js +2 -2
  7. package/dist/app/apps/dashboard/.next/server/app/_global-error/page.js.nft.json +1 -1
  8. package/dist/app/apps/dashboard/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  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 +2 -2
  11. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
  12. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
  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/build-manifest.json +7 -7
  15. package/dist/app/apps/dashboard/.next/server/app/_not-found/page.js +2 -2
  16. package/dist/app/apps/dashboard/.next/server/app/_not-found/page.js.nft.json +1 -1
  17. package/dist/app/apps/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page/build-manifest.json +7 -7
  19. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page.js +2 -2
  20. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page.js.nft.json +1 -1
  21. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page_client-reference-manifest.js +1 -1
  22. package/dist/app/apps/dashboard/.next/server/app/anomalies/page/build-manifest.json +7 -7
  23. package/dist/app/apps/dashboard/.next/server/app/anomalies/page.js +2 -2
  24. package/dist/app/apps/dashboard/.next/server/app/anomalies/page.js.nft.json +1 -1
  25. package/dist/app/apps/dashboard/.next/server/app/anomalies/page_client-reference-manifest.js +1 -1
  26. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page/build-manifest.json +7 -7
  27. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page.js +2 -2
  28. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page.js.nft.json +1 -1
  29. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page_client-reference-manifest.js +1 -1
  30. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/callback/route.js.nft.json +1 -1
  31. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/configured/route.js.nft.json +1 -1
  32. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/start/route.js.nft.json +1 -1
  33. package/dist/app/apps/dashboard/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  34. package/dist/app/apps/dashboard/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  35. package/dist/app/apps/dashboard/.next/server/app/api/auth/me/route.js.nft.json +1 -1
  36. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/[id]/route.js.nft.json +1 -1
  37. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/migrate/route.js.nft.json +1 -1
  38. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/route.js.nft.json +1 -1
  39. package/dist/app/apps/dashboard/.next/server/app/api/federation/route.js.nft.json +1 -1
  40. package/dist/app/apps/dashboard/.next/server/app/api/health/route.js.nft.json +1 -1
  41. package/dist/app/apps/dashboard/.next/server/app/api/hermes/dashboard/[[...path]]/route.js.nft.json +1 -1
  42. package/dist/app/apps/dashboard/.next/server/app/api/hive-router/dashboard/[[...path]]/route.js.nft.json +1 -1
  43. package/dist/app/apps/dashboard/.next/server/app/api/proxy/[...path]/route.js.nft.json +1 -1
  44. package/dist/app/apps/dashboard/.next/server/app/api/terminal/close/route.js.nft.json +1 -1
  45. package/dist/app/apps/dashboard/.next/server/app/api/terminal/input/route.js.nft.json +1 -1
  46. package/dist/app/apps/dashboard/.next/server/app/api/terminal/open/route.js.nft.json +1 -1
  47. package/dist/app/apps/dashboard/.next/server/app/api/terminal/resize/route.js.nft.json +1 -1
  48. package/dist/app/apps/dashboard/.next/server/app/api/terminal/stream/route.js.nft.json +1 -1
  49. package/dist/app/apps/dashboard/.next/server/app/api-docs/page/build-manifest.json +7 -7
  50. package/dist/app/apps/dashboard/.next/server/app/api-docs/page.js +2 -2
  51. package/dist/app/apps/dashboard/.next/server/app/api-docs/page.js.nft.json +1 -1
  52. package/dist/app/apps/dashboard/.next/server/app/api-docs/page_client-reference-manifest.js +1 -1
  53. package/dist/app/apps/dashboard/.next/server/app/application-operations/page/build-manifest.json +7 -7
  54. package/dist/app/apps/dashboard/.next/server/app/application-operations/page.js +2 -2
  55. package/dist/app/apps/dashboard/.next/server/app/application-operations/page.js.nft.json +1 -1
  56. package/dist/app/apps/dashboard/.next/server/app/application-operations/page_client-reference-manifest.js +1 -1
  57. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page/build-manifest.json +7 -7
  58. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page.js +2 -2
  59. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page.js.nft.json +1 -1
  60. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page_client-reference-manifest.js +1 -1
  61. package/dist/app/apps/dashboard/.next/server/app/ardent/page/build-manifest.json +7 -7
  62. package/dist/app/apps/dashboard/.next/server/app/ardent/page.js +2 -2
  63. package/dist/app/apps/dashboard/.next/server/app/ardent/page.js.nft.json +1 -1
  64. package/dist/app/apps/dashboard/.next/server/app/ardent/page_client-reference-manifest.js +1 -1
  65. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page/build-manifest.json +7 -7
  66. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page.js +2 -2
  67. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page.js.nft.json +1 -1
  68. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page_client-reference-manifest.js +1 -1
  69. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page/build-manifest.json +7 -7
  70. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page.js +2 -2
  71. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page.js.nft.json +1 -1
  72. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page_client-reference-manifest.js +1 -1
  73. package/dist/app/apps/dashboard/.next/server/app/audit/page/build-manifest.json +7 -7
  74. package/dist/app/apps/dashboard/.next/server/app/audit/page.js +3 -3
  75. package/dist/app/apps/dashboard/.next/server/app/audit/page.js.nft.json +1 -1
  76. package/dist/app/apps/dashboard/.next/server/app/audit/page_client-reference-manifest.js +1 -1
  77. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page/build-manifest.json +7 -7
  78. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page.js +2 -2
  79. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page.js.nft.json +1 -1
  80. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page_client-reference-manifest.js +1 -1
  81. package/dist/app/apps/dashboard/.next/server/app/codex/page/build-manifest.json +7 -7
  82. package/dist/app/apps/dashboard/.next/server/app/codex/page.js +2 -2
  83. package/dist/app/apps/dashboard/.next/server/app/codex/page.js.nft.json +1 -1
  84. package/dist/app/apps/dashboard/.next/server/app/codex/page_client-reference-manifest.js +1 -1
  85. package/dist/app/apps/dashboard/.next/server/app/commands/page/build-manifest.json +7 -7
  86. package/dist/app/apps/dashboard/.next/server/app/commands/page.js +2 -2
  87. package/dist/app/apps/dashboard/.next/server/app/commands/page.js.nft.json +1 -1
  88. package/dist/app/apps/dashboard/.next/server/app/commands/page_client-reference-manifest.js +1 -1
  89. package/dist/app/apps/dashboard/.next/server/app/cron/page/build-manifest.json +7 -7
  90. package/dist/app/apps/dashboard/.next/server/app/cron/page/server-reference-manifest.json +1 -1
  91. package/dist/app/apps/dashboard/.next/server/app/cron/page.js +2 -2
  92. package/dist/app/apps/dashboard/.next/server/app/cron/page.js.nft.json +1 -1
  93. package/dist/app/apps/dashboard/.next/server/app/cron/page_client-reference-manifest.js +1 -1
  94. package/dist/app/apps/dashboard/.next/server/app/files/page/build-manifest.json +7 -7
  95. package/dist/app/apps/dashboard/.next/server/app/files/page.js +2 -2
  96. package/dist/app/apps/dashboard/.next/server/app/files/page.js.nft.json +1 -1
  97. package/dist/app/apps/dashboard/.next/server/app/files/page_client-reference-manifest.js +1 -1
  98. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page/build-manifest.json +7 -7
  99. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page.js +2 -2
  100. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page.js.nft.json +1 -1
  101. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page_client-reference-manifest.js +1 -1
  102. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page/build-manifest.json +7 -7
  103. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page.js +3 -3
  104. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page.js.nft.json +1 -1
  105. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page_client-reference-manifest.js +1 -1
  106. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page/build-manifest.json +7 -7
  107. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page.js +3 -3
  108. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page.js.nft.json +1 -1
  109. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page_client-reference-manifest.js +1 -1
  110. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page/build-manifest.json +7 -7
  111. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page.js +2 -2
  112. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page.js.nft.json +1 -1
  113. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page_client-reference-manifest.js +1 -1
  114. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page/build-manifest.json +7 -7
  115. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page.js +2 -2
  116. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page.js.nft.json +1 -1
  117. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page_client-reference-manifest.js +1 -1
  118. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page/build-manifest.json +7 -7
  119. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page.js +3 -3
  120. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page.js.nft.json +1 -1
  121. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page_client-reference-manifest.js +1 -1
  122. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page/build-manifest.json +7 -7
  123. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page.js +2 -2
  124. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page.js.nft.json +1 -1
  125. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page_client-reference-manifest.js +1 -1
  126. package/dist/app/apps/dashboard/.next/server/app/icon.svg/route.js.nft.json +1 -1
  127. package/dist/app/apps/dashboard/.next/server/app/incidents/page/build-manifest.json +7 -7
  128. package/dist/app/apps/dashboard/.next/server/app/incidents/page.js +3 -3
  129. package/dist/app/apps/dashboard/.next/server/app/incidents/page.js.nft.json +1 -1
  130. package/dist/app/apps/dashboard/.next/server/app/incidents/page_client-reference-manifest.js +1 -1
  131. package/dist/app/apps/dashboard/.next/server/app/library/page/build-manifest.json +7 -7
  132. package/dist/app/apps/dashboard/.next/server/app/library/page.js +3 -3
  133. package/dist/app/apps/dashboard/.next/server/app/library/page.js.nft.json +1 -1
  134. package/dist/app/apps/dashboard/.next/server/app/library/page_client-reference-manifest.js +1 -1
  135. package/dist/app/apps/dashboard/.next/server/app/login/page/build-manifest.json +7 -7
  136. package/dist/app/apps/dashboard/.next/server/app/login/page.js +2 -2
  137. package/dist/app/apps/dashboard/.next/server/app/login/page.js.nft.json +1 -1
  138. package/dist/app/apps/dashboard/.next/server/app/login/page_client-reference-manifest.js +1 -1
  139. package/dist/app/apps/dashboard/.next/server/app/logs/page/build-manifest.json +7 -7
  140. package/dist/app/apps/dashboard/.next/server/app/logs/page.js +2 -2
  141. package/dist/app/apps/dashboard/.next/server/app/logs/page.js.nft.json +1 -1
  142. package/dist/app/apps/dashboard/.next/server/app/logs/page_client-reference-manifest.js +1 -1
  143. package/dist/app/apps/dashboard/.next/server/app/mission-control/page/build-manifest.json +7 -7
  144. package/dist/app/apps/dashboard/.next/server/app/mission-control/page.js +3 -3
  145. package/dist/app/apps/dashboard/.next/server/app/mission-control/page.js.nft.json +1 -1
  146. package/dist/app/apps/dashboard/.next/server/app/mission-control/page_client-reference-manifest.js +1 -1
  147. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page/build-manifest.json +7 -7
  148. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page/react-loadable-manifest.json +1 -1
  149. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page.js +2 -2
  150. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page.js.nft.json +1 -1
  151. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page_client-reference-manifest.js +1 -1
  152. package/dist/app/apps/dashboard/.next/server/app/nodes/page/build-manifest.json +7 -7
  153. package/dist/app/apps/dashboard/.next/server/app/nodes/page.js +3 -3
  154. package/dist/app/apps/dashboard/.next/server/app/nodes/page.js.nft.json +1 -1
  155. package/dist/app/apps/dashboard/.next/server/app/nodes/page_client-reference-manifest.js +1 -1
  156. package/dist/app/apps/dashboard/.next/server/app/notifications/page/build-manifest.json +7 -7
  157. package/dist/app/apps/dashboard/.next/server/app/notifications/page.js +2 -2
  158. package/dist/app/apps/dashboard/.next/server/app/notifications/page.js.nft.json +1 -1
  159. package/dist/app/apps/dashboard/.next/server/app/notifications/page_client-reference-manifest.js +1 -1
  160. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page/build-manifest.json +7 -7
  161. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page.js +2 -2
  162. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page.js.nft.json +1 -1
  163. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page_client-reference-manifest.js +1 -1
  164. package/dist/app/apps/dashboard/.next/server/app/orchestra/page/build-manifest.json +7 -7
  165. package/dist/app/apps/dashboard/.next/server/app/orchestra/page.js +2 -2
  166. package/dist/app/apps/dashboard/.next/server/app/orchestra/page.js.nft.json +1 -1
  167. package/dist/app/apps/dashboard/.next/server/app/orchestra/page_client-reference-manifest.js +1 -1
  168. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page/build-manifest.json +7 -7
  169. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page.js +2 -2
  170. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page.js.nft.json +1 -1
  171. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page_client-reference-manifest.js +1 -1
  172. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page/build-manifest.json +7 -7
  173. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page.js +2 -2
  174. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page.js.nft.json +1 -1
  175. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page_client-reference-manifest.js +1 -1
  176. package/dist/app/apps/dashboard/.next/server/app/page/build-manifest.json +7 -7
  177. package/dist/app/apps/dashboard/.next/server/app/page/react-loadable-manifest.json +1 -1
  178. package/dist/app/apps/dashboard/.next/server/app/page.js +3 -3
  179. package/dist/app/apps/dashboard/.next/server/app/page.js.nft.json +1 -1
  180. package/dist/app/apps/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
  181. package/dist/app/apps/dashboard/.next/server/app/retention/page/build-manifest.json +7 -7
  182. package/dist/app/apps/dashboard/.next/server/app/retention/page.js +3 -3
  183. package/dist/app/apps/dashboard/.next/server/app/retention/page.js.nft.json +1 -1
  184. package/dist/app/apps/dashboard/.next/server/app/retention/page_client-reference-manifest.js +1 -1
  185. package/dist/app/apps/dashboard/.next/server/app/roles/page/build-manifest.json +7 -7
  186. package/dist/app/apps/dashboard/.next/server/app/roles/page.js +3 -3
  187. package/dist/app/apps/dashboard/.next/server/app/roles/page.js.nft.json +1 -1
  188. package/dist/app/apps/dashboard/.next/server/app/roles/page_client-reference-manifest.js +1 -1
  189. package/dist/app/apps/dashboard/.next/server/app/rollouts/page/build-manifest.json +7 -7
  190. package/dist/app/apps/dashboard/.next/server/app/rollouts/page.js +2 -2
  191. package/dist/app/apps/dashboard/.next/server/app/rollouts/page.js.nft.json +1 -1
  192. package/dist/app/apps/dashboard/.next/server/app/rollouts/page_client-reference-manifest.js +1 -1
  193. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page/build-manifest.json +7 -7
  194. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page.js +2 -2
  195. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page.js.nft.json +1 -1
  196. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page_client-reference-manifest.js +1 -1
  197. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page/build-manifest.json +7 -7
  198. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page.js +2 -2
  199. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page.js.nft.json +1 -1
  200. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page_client-reference-manifest.js +1 -1
  201. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page/build-manifest.json +7 -7
  202. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page.js +2 -2
  203. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page.js.nft.json +1 -1
  204. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page_client-reference-manifest.js +1 -1
  205. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page/build-manifest.json +7 -7
  206. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page.js +2 -2
  207. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page.js.nft.json +1 -1
  208. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page_client-reference-manifest.js +1 -1
  209. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page/build-manifest.json +7 -7
  210. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page.js +2 -2
  211. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page.js.nft.json +1 -1
  212. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page_client-reference-manifest.js +1 -1
  213. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page/build-manifest.json +7 -7
  214. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page.js +3 -3
  215. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page.js.nft.json +1 -1
  216. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page_client-reference-manifest.js +1 -1
  217. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page/build-manifest.json +7 -7
  218. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page.js +2 -2
  219. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page.js.nft.json +1 -1
  220. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page_client-reference-manifest.js +1 -1
  221. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page/build-manifest.json +7 -7
  222. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page.js +2 -2
  223. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page.js.nft.json +1 -1
  224. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page_client-reference-manifest.js +1 -1
  225. package/dist/app/apps/dashboard/.next/server/app/skills/page/build-manifest.json +7 -7
  226. package/dist/app/apps/dashboard/.next/server/app/skills/page/server-reference-manifest.json +1 -1
  227. package/dist/app/apps/dashboard/.next/server/app/skills/page.js +2 -2
  228. package/dist/app/apps/dashboard/.next/server/app/skills/page.js.nft.json +1 -1
  229. package/dist/app/apps/dashboard/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  230. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page/build-manifest.json +7 -7
  231. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page.js +2 -2
  232. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page.js.nft.json +1 -1
  233. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page_client-reference-manifest.js +1 -1
  234. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page/build-manifest.json +7 -7
  235. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page.js +2 -2
  236. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page.js.nft.json +1 -1
  237. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page_client-reference-manifest.js +1 -1
  238. package/dist/app/apps/dashboard/.next/server/app/webhooks/page/build-manifest.json +7 -7
  239. package/dist/app/apps/dashboard/.next/server/app/webhooks/page.js +2 -2
  240. package/dist/app/apps/dashboard/.next/server/app/webhooks/page.js.nft.json +1 -1
  241. package/dist/app/apps/dashboard/.next/server/app/webhooks/page_client-reference-manifest.js +1 -1
  242. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__0ywmf3079vsm1._.js +8 -8
  243. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__15bjnu5yieigz._.js +2 -2
  244. package/dist/app/apps/dashboard/.next/server/chunks/[turbopack]_runtime.js +7 -9
  245. package/dist/app/apps/dashboard/.next/server/chunks/_0-w_jq1-cxsud._.js +1 -1
  246. package/dist/app/apps/dashboard/.next/server/chunks/_0_fjgwmia8tfa._.js +1 -1
  247. package/dist/app/apps/dashboard/.next/server/chunks/_0cz-sjd6cade0._.js +1 -1
  248. package/dist/app/apps/dashboard/.next/server/chunks/_0h965a-fek_i1._.js +1 -1
  249. package/dist/app/apps/dashboard/.next/server/chunks/_0j68riv96qwg8._.js +1 -1
  250. package/dist/app/apps/dashboard/.next/server/chunks/_0jaugku4pdkak._.js +1 -1
  251. package/dist/app/apps/dashboard/.next/server/chunks/_0jvoc4-ta3zc0._.js +1 -1
  252. package/dist/app/apps/dashboard/.next/server/chunks/_0rpixw8k9f_1q._.js +1 -1
  253. package/dist/app/apps/dashboard/.next/server/chunks/_0s788ryrplkp6._.js +1 -1
  254. package/dist/app/apps/dashboard/.next/server/chunks/_0ss4gyka2xwtu._.js +1 -1
  255. package/dist/app/apps/dashboard/.next/server/chunks/_0ti6qpnzqaoee._.js +1 -1
  256. package/dist/app/apps/dashboard/.next/server/chunks/_0z1bwl42i7kyh._.js +1 -1
  257. package/dist/app/apps/dashboard/.next/server/chunks/_109zj-srrib-n._.js +1 -1
  258. package/dist/app/apps/dashboard/.next/server/chunks/_1bbph2o31ut9-._.js +1 -1
  259. package/dist/app/apps/dashboard/.next/server/chunks/_1bnwf9dhenncq._.js +1 -1
  260. package/dist/app/apps/dashboard/.next/server/chunks/_1di30nby6-dr0._.js +1 -1
  261. package/dist/app/apps/dashboard/.next/server/chunks/_1e42zgily9-_5._.js +1 -1
  262. package/dist/app/apps/dashboard/.next/server/chunks/_1j9ys57oirxn5._.js +1 -1
  263. package/dist/app/apps/dashboard/.next/server/chunks/_1xodprib7qa_j._.js +2 -2
  264. package/dist/app/apps/dashboard/.next/server/chunks/_1xoy6p0t2si_y._.js +1 -1
  265. package/dist/app/apps/dashboard/.next/server/chunks/node_modules_0_mv4bximoofw._.js +2 -2
  266. package/dist/app/apps/dashboard/.next/server/chunks/node_modules_0u9pfz6tlfjqv._.js +2 -2
  267. package/dist/app/apps/dashboard/.next/server/chunks/node_modules_1ovxb0oub71q-._.js +2 -2
  268. package/dist/app/apps/dashboard/.next/server/chunks/node_modules_next_0g8xe7c6fvfgl._.js +6 -6
  269. package/dist/app/apps/dashboard/.next/server/chunks/node_modules_next_1_14bcs2pb4w8._.js +1 -1
  270. package/dist/app/apps/dashboard/.next/server/chunks/node_modules_undici_0153f0xi5kile._.js +9 -9
  271. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0072bik_zyvuk._.js +1 -1
  272. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__01cf6gneqbonz._.js +3 -0
  273. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__01z86atsfgouz._.js +1 -1
  274. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0278xh6fxduzw._.js +1 -1
  275. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__036zs-5_yuyxb._.js +1 -1
  276. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__041ccocdmkgg6._.js +1 -1
  277. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1hvw-xurgk_w7._.js → [root-of-the-server]__04hi33lhtvr4k._.js} +1 -1
  278. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0s8_75r7q5ncn._.js → [root-of-the-server]__04py15r6s88mn._.js} +1 -1
  279. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__06giq9g4me8eh._.js +2 -2
  280. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__08sgyyf_y8ab8._.js +1 -1
  281. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0__af2nyy0175._.js +3 -0
  282. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ac_glv9qg7_s._.js +1 -1
  283. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0d9d-dh1yx1hi._.js +1 -1
  284. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0qioz334gz2yb._.js → [root-of-the-server]__0degu9u1azz71._.js} +1 -1
  285. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ewkfypbfusfk._.js +1 -1
  286. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0fpn05b9fp43i._.js +3 -0
  287. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0g8bkchofl2-r._.js +1 -1
  288. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1cn39fmih92c0._.js → [root-of-the-server]__0hkl39n6k8s99._.js} +1 -1
  289. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0hqhb23em35gm._.js +1 -1
  290. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0iw8wbnpx0-ny._.js +1 -1
  291. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0ka88eh7v1c6k._.js +1 -1
  292. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0kimthfi8yo91._.js +1 -1
  293. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0lte6rpogn44m._.js +1 -1
  294. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0m74tldgpzxjy._.js +1 -1
  295. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1z4qvf1ek2qp1._.js → [root-of-the-server]__0o_3rvim51sh4._.js} +1 -1
  296. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0pmeznk95qzb_._.js +3 -0
  297. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0pnutls6_8lle._.js +1 -1
  298. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +1 -1
  299. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0qtv2uoutzl-3._.js +1 -1
  300. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0s_a6o17v27n8._.js +1 -1
  301. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0vsd8ezb2wh-q._.js +1 -1
  302. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0wsvm9s-rtmzo._.js +3 -0
  303. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1-h1t4i4zgqk_._.js +1 -1
  304. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__105kpqp7-ylav._.js +1 -1
  305. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__11dfa-8pfbhwz._.js +1 -1
  306. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__11gete_1eto-a._.js +1 -1
  307. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__11pe-l2-ko65_._.js +1 -1
  308. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__12ez0gk_feqb-._.js +1 -1
  309. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__12rw5-k-87pcu._.js +1 -1
  310. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__150z4kg7b_lzo._.js +1 -1
  311. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__162yt_hrj1icm._.js +1 -1
  312. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__19dmibalml_q2._.js +1 -1
  313. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1b52j7srra3w_._.js +3 -0
  314. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1bbyh10jp8j2x._.js +1 -1
  315. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__161e6kss8f2-u._.js → [root-of-the-server]__1duyqypa9ty8o._.js} +1 -1
  316. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1eg2b5aisrnx2._.js +1 -1
  317. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1esvp2dhqc7wf._.js +1 -1
  318. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1iieuibgbitpd._.js +1 -1
  319. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1kzh8p2efekf5._.js +1 -1
  320. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1n3nkuw3uylha._.js +9 -9
  321. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1uiv7zid6iqiw._.js +1 -1
  322. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[turbopack]_runtime.js +7 -9
  323. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_012-2t-30l6d8._.js +1 -1
  324. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_02sxg7r2xx3fw._.js +1 -1
  325. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_03dvnngovohcl._.js +1 -1
  326. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_03sjr-ap-gkjv._.js +2 -2
  327. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_04b4h6ckhi7bi._.js +1 -1
  328. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_05jgcyutq4wip._.js +1 -1
  329. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_05momtnhs2or_._.js +1 -1
  330. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_09eslmbj9l4sq._.js +1 -1
  331. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0caxc2bc6a__r._.js +1 -1
  332. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0eccfdt1lz-7r._.js +1 -1
  333. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0f2d8_ost6s2f._.js +1 -1
  334. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0f89fican-_s9._.js +1 -1
  335. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0fge-mr3ok0j9._.js +1 -1
  336. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0k4-_ys6s6-93._.js +1 -1
  337. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0ksgpljzuxnqa._.js +1 -1
  338. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0m10ijdnp_m7u._.js +1 -1
  339. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0mrryagvuzvz1._.js +1 -1
  340. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0oa-ld-qc1g36._.js +1 -1
  341. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0pncxy--oro8t._.js +1 -1
  342. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0raw_gngl90-7._.js +1 -1
  343. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0tyfybw4cwmxv._.js +1 -1
  344. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0vz8cqmro1opv._.js +1 -1
  345. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0wh_e2bpxcaf4._.js +1 -1
  346. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0wo8_14v-72ut._.js +1 -1
  347. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0x273l378qwem._.js +1 -1
  348. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0zrtbhvhztqnh._.js +1 -1
  349. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0zsjpnu4iitoz._.js +11 -11
  350. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_116hh5tv78jrt._.js +1 -1
  351. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_168tm22non34k._.js +1 -1
  352. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1ak59i88-3fpc._.js +1 -1
  353. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1bmfhogvdqhft._.js +1 -1
  354. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1bybbae25qp_3._.js +1 -1
  355. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1cz7r_30vhnj_._.js +1 -1
  356. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1gea_-jzyj2pi._.js +1 -1
  357. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1ircn2sooizal._.js +1 -1
  358. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1ktxzfxegaxf2._.js +1 -1
  359. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1ml_bvfb1fitq._.js +1 -1
  360. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1nd-0is101z6p._.js +1 -1
  361. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1oebzzj_en62h._.js +1 -1
  362. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1t81cm4foc6ob._.js +1 -1
  363. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1uyq8tg0700tm._.js +1 -1
  364. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1v0z-sm708czr._.js +1 -1
  365. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1ws-h-7v_11t8._.js +1 -1
  366. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_20ln5i8p8muqj._.js +1 -1
  367. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_00d_i343yrcpk._.js +1 -1
  368. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_02daq208wahsf._.js +1 -1
  369. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_04ntcy2oh44-_._.js +1 -1
  370. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_05j1zzjo6sijc._.js +1 -1
  371. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_0gs_s688kgg1i._.js +2 -2
  372. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_138fu3pss1hww._.js +1 -1
  373. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_cron_page_tsx_1i3duyygc0_tg._.js +1 -1
  374. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_incidents_0kkhq3tvurjja._.js +1 -1
  375. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_skills_page_tsx_0n5zp4xad38in._.js +1 -1
  376. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_components_ui_1qtx04oto4780._.js +1 -1
  377. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_components_ui_1v4uddmhlllbd._.js +1 -1
  378. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js +2 -2
  379. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_11f8_4aw8657-._.js +1 -1
  380. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_188b8ag_m5vfr._.js +1 -1
  381. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_1unf5c-k6rle8._.js +1 -1
  382. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_08o95oocj431k._.js +1 -1
  383. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0fsvfwwqw-2hi._.js +1 -1
  384. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0h7ztf89f407u._.js +1 -1
  385. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0ppk2v83khj58._.js +1 -1
  386. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0ut3n9th3gffy._.js +1 -1
  387. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1wnnq70cs49fi._.js +1 -1
  388. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_06ob4w68jmryj._.js +4 -4
  389. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_0-amwqbrge23p._.js +6 -0
  390. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_0n6z_kn7rdm9s._.js +2 -2
  391. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_0tg97786c_yac._.js +14 -0
  392. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_112u6z88a3g80._.js +5 -5
  393. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_19r-juqja1ice._.js +1 -1
  394. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_1khq67j4vo9y4._.js +1 -1
  395. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_client_components_0bew68i643j53._.js +2 -2
  396. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_client_components_0p8s4lhdi0ir6._.js +1 -1
  397. package/dist/app/apps/dashboard/.next/server/middleware-build-manifest.js +269 -269
  398. package/dist/app/apps/dashboard/.next/server/pages/500.html +1 -1
  399. package/dist/app/apps/dashboard/.next/server/preview-props.json +3 -3
  400. package/dist/app/apps/dashboard/.next/server/server-reference-manifest.js +1 -1
  401. package/dist/app/apps/dashboard/.next/server/server-reference-manifest.json +3 -3
  402. package/dist/app/apps/dashboard/.next/static/chunks/028ezuxrvvye_.js +1 -0
  403. package/dist/app/apps/dashboard/.next/static/chunks/05p7s0xtb3koa.js +1 -0
  404. package/dist/app/apps/dashboard/.next/static/chunks/075pph9rij45g.js +1 -0
  405. package/dist/app/apps/dashboard/.next/static/chunks/0diifaom2d_cn.js +1 -0
  406. package/dist/app/apps/dashboard/.next/static/chunks/0f9vroowginda.js +1 -0
  407. package/dist/app/apps/dashboard/.next/static/chunks/0jd62jw1t6xu7.js +1 -0
  408. package/dist/app/apps/dashboard/.next/static/chunks/0lxf5l-ugq-09.js +1 -0
  409. package/dist/app/apps/dashboard/.next/static/chunks/10sblx9kmg2o-.js +1 -0
  410. package/dist/app/apps/dashboard/.next/static/chunks/11d-a975loj77.js +1 -0
  411. package/dist/app/apps/dashboard/.next/static/chunks/13mwv5xf7s8jd.js +1 -0
  412. package/dist/app/apps/dashboard/.next/static/chunks/14tua164t_7uj.js +1 -0
  413. package/dist/app/apps/dashboard/.next/static/chunks/16uyp1ymdlvpq.js +22 -0
  414. package/dist/app/apps/dashboard/.next/static/chunks/17jgal4mw939y.js +1 -0
  415. package/dist/app/apps/dashboard/.next/static/chunks/18_bv2qqvy9p8.js +1 -0
  416. package/dist/app/apps/dashboard/.next/static/chunks/1ex_snjj19-om.js +1 -0
  417. package/dist/app/apps/dashboard/.next/static/chunks/1ij544xwbs-1c.js +1 -0
  418. package/dist/app/apps/dashboard/.next/static/chunks/1j5vpju4k1wlj.js +1 -0
  419. package/dist/app/apps/dashboard/.next/static/chunks/1k2w3nq2-wg_-.js +1 -0
  420. package/dist/app/apps/dashboard/.next/static/chunks/1kmml-dozyyi6.js +1 -0
  421. package/dist/app/apps/dashboard/.next/static/chunks/1lcbad6cestqa.js +1 -0
  422. package/dist/app/apps/dashboard/.next/static/chunks/1oiypigu7jtvk.js +6 -0
  423. package/dist/app/apps/dashboard/.next/static/chunks/1ua2kfq9s-me6.js +1 -0
  424. package/dist/app/apps/dashboard/.next/static/chunks/1uj8oezn_z82c.js +1 -0
  425. package/dist/app/apps/dashboard/.next/static/chunks/24ckx_jboufc6.js +1 -0
  426. package/dist/app/apps/dashboard/.next/static/chunks/28zpgt1trm_m4.js +1 -0
  427. package/dist/app/apps/dashboard/.next/static/chunks/2p26kwyyzgqph.js +1 -0
  428. package/dist/app/apps/dashboard/.next/static/chunks/2re4mp6xbi3y8.js +1 -0
  429. package/dist/app/apps/dashboard/.next/static/chunks/30npcziw-f8ld.js +1 -0
  430. package/dist/app/apps/dashboard/.next/static/chunks/3153ier_x5pc9.js +1 -0
  431. package/dist/app/apps/dashboard/.next/static/chunks/31hx4x8k9707e.js +1 -0
  432. package/dist/app/apps/dashboard/.next/static/chunks/34mzv0h7jkx20.js +1 -0
  433. package/dist/app/apps/dashboard/.next/static/chunks/37kstof-v-jwi.js +1 -0
  434. package/dist/app/apps/dashboard/.next/static/chunks/3bc5f99de0_hu.js +1 -0
  435. package/dist/app/apps/dashboard/.next/static/chunks/3cw8xs2dab1g-.js +1 -0
  436. package/dist/app/apps/dashboard/.next/static/chunks/3gjll_bse9v1f.js +1 -0
  437. package/dist/app/apps/dashboard/.next/static/chunks/3l8w-h8da7s_r.js +1 -0
  438. package/dist/app/apps/dashboard/.next/static/chunks/3m8d_tlzqof67.js +1 -0
  439. package/dist/app/apps/dashboard/.next/static/chunks/3ntnj6ts2r3e2.js +1 -0
  440. package/dist/app/apps/dashboard/.next/static/chunks/3ntoa0tsmhr29.js +1 -0
  441. package/dist/app/apps/dashboard/.next/static/chunks/3q_hrnx0n1u8u.js +1 -0
  442. package/dist/app/apps/dashboard/.next/static/chunks/3t6i_3lvi_934.js +1 -0
  443. package/dist/app/apps/dashboard/.next/static/chunks/3xilfs--e4ap1.js +4 -0
  444. package/dist/app/apps/dashboard/.next/static/chunks/3y705tc4v-41-.js +31 -0
  445. package/dist/app/apps/dashboard/.next/static/chunks/{turbopack-3-ry682tkyiqk.js → turbopack-2u1d16houkiyo.js} +1 -1
  446. package/dist/app/apps/dashboard/package.json +3 -3
  447. package/dist/app/apps/dashboard/server.js +1 -1
  448. package/dist/app/node_modules/@next/env/package.json +1 -1
  449. package/dist/app/node_modules/next/dist/build/swc/index.js +1 -1
  450. package/dist/app/node_modules/next/dist/compiled/fast-jwt/index.js +3 -0
  451. package/dist/app/node_modules/next/dist/compiled/fast-jwt/package.json +1 -0
  452. package/dist/app/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +23 -23
  453. package/dist/app/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +23 -23
  454. package/dist/app/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +1 -1
  455. package/dist/app/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +7 -7
  456. package/dist/app/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  457. package/dist/app/node_modules/next/dist/server/api-utils/node/api-resolver.js +8 -5
  458. package/dist/app/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +8 -2
  459. package/dist/app/node_modules/next/dist/server/app-render/app-render.js +52 -14
  460. package/dist/app/node_modules/next/dist/server/app-render/async-local-storage.js +1 -1
  461. package/dist/app/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +19 -3
  462. package/dist/app/node_modules/next/dist/server/app-render/turbopack-bootstrap-script.js +50 -0
  463. package/dist/app/node_modules/next/dist/server/base-server.js +8 -0
  464. package/dist/app/node_modules/next/dist/server/config.js +1 -1
  465. package/dist/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +59 -10
  466. package/dist/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  467. package/dist/app/node_modules/next/dist/server/dev/turbopack-utils.js +15 -0
  468. package/dist/app/node_modules/next/dist/server/image-optimizer/detect-content-type.js +24 -20
  469. package/dist/app/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  470. package/dist/app/node_modules/next/dist/server/lib/dev-bundler-service.js +3 -0
  471. package/dist/app/node_modules/next/dist/server/lib/router-server.js +1 -1
  472. package/dist/app/node_modules/next/dist/server/lib/start-server.js +1 -1
  473. package/dist/app/node_modules/next/dist/server/lib/trace/tracer.js +1 -1
  474. package/dist/app/node_modules/next/dist/server/next-server.js +10 -2
  475. package/dist/app/node_modules/next/dist/server/render.js +2 -2
  476. package/dist/app/node_modules/next/dist/server/route-modules/app-page/parse-request-headers.js +1 -2
  477. package/dist/app/node_modules/next/dist/server/send-response.js +12 -0
  478. package/dist/app/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +69 -6
  479. package/dist/app/node_modules/next/dist/server/web/adapter.js +5 -1
  480. package/dist/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  481. package/dist/app/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  482. package/dist/app/node_modules/next/dist/telemetry/events/version.js +2 -2
  483. package/dist/app/node_modules/next/package.json +10 -10
  484. package/package.json +3 -3
  485. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0u4u25c8d4au2._.js +0 -3
  486. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__0x67wrk-d31vw._.js +0 -3
  487. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__10wimxdiuhwkh._.js +0 -3
  488. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1ahzgkyahgmyu._.js +0 -3
  489. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1cmuf8lak2vgu._.js +0 -3
  490. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__1fbbgiqn6yq7g._.js +0 -3
  491. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +0 -6
  492. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_1qrfck6kfdp-h._.js +0 -14
  493. package/dist/app/apps/dashboard/.next/static/chunks/0-o74znen4827.js +0 -31
  494. package/dist/app/apps/dashboard/.next/static/chunks/056gjh9s9d494.js +0 -1
  495. package/dist/app/apps/dashboard/.next/static/chunks/07zeb7uafp9tj.js +0 -1
  496. package/dist/app/apps/dashboard/.next/static/chunks/0glmunl3umirf.js +0 -1
  497. package/dist/app/apps/dashboard/.next/static/chunks/0s2cptn1mmf6r.js +0 -1
  498. package/dist/app/apps/dashboard/.next/static/chunks/0u2muyrfswytk.js +0 -1
  499. package/dist/app/apps/dashboard/.next/static/chunks/0vc0q8hru84cl.js +0 -1
  500. package/dist/app/apps/dashboard/.next/static/chunks/12i2-pii2jlbk.js +0 -1
  501. package/dist/app/apps/dashboard/.next/static/chunks/14bd0r0xfbmnv.js +0 -1
  502. package/dist/app/apps/dashboard/.next/static/chunks/14r8nrwm46g5y.js +0 -1
  503. package/dist/app/apps/dashboard/.next/static/chunks/14xa55ba4bno2.js +0 -1
  504. package/dist/app/apps/dashboard/.next/static/chunks/1ctoa0o88h7is.js +0 -6
  505. package/dist/app/apps/dashboard/.next/static/chunks/1fdfjc2q68p6m.js +0 -1
  506. package/dist/app/apps/dashboard/.next/static/chunks/1ngx2zdgd1b2v.js +0 -1
  507. package/dist/app/apps/dashboard/.next/static/chunks/1uazzcd91pwfh.js +0 -1
  508. package/dist/app/apps/dashboard/.next/static/chunks/1ybllyg38cy3-.js +0 -1
  509. package/dist/app/apps/dashboard/.next/static/chunks/25tziha662tl6.js +0 -1
  510. package/dist/app/apps/dashboard/.next/static/chunks/27f2f2ypobqqa.js +0 -1
  511. package/dist/app/apps/dashboard/.next/static/chunks/290o5i-on1sqk.js +0 -1
  512. package/dist/app/apps/dashboard/.next/static/chunks/29i5vf0fvu1f6.js +0 -1
  513. package/dist/app/apps/dashboard/.next/static/chunks/29ihu80s46p9r.js +0 -1
  514. package/dist/app/apps/dashboard/.next/static/chunks/2_iljjf5r-5t5.js +0 -1
  515. package/dist/app/apps/dashboard/.next/static/chunks/2celzsawjzhy9.js +0 -1
  516. package/dist/app/apps/dashboard/.next/static/chunks/2ekwlhgsinff6.js +0 -1
  517. package/dist/app/apps/dashboard/.next/static/chunks/2fvlbj5gqk-mf.js +0 -1
  518. package/dist/app/apps/dashboard/.next/static/chunks/2hoi73vy1wqpo.js +0 -1
  519. package/dist/app/apps/dashboard/.next/static/chunks/2kshtklg2en8k.js +0 -1
  520. package/dist/app/apps/dashboard/.next/static/chunks/2ksz5ltjd7lss.js +0 -1
  521. package/dist/app/apps/dashboard/.next/static/chunks/2o_4mj_bjm4ws.js +0 -1
  522. package/dist/app/apps/dashboard/.next/static/chunks/2tcnztotjzug4.js +0 -22
  523. package/dist/app/apps/dashboard/.next/static/chunks/30ckv3d3pj-t7.js +0 -1
  524. package/dist/app/apps/dashboard/.next/static/chunks/347d5q-1yj217.js +0 -1
  525. package/dist/app/apps/dashboard/.next/static/chunks/36ygg8xpaqvup.js +0 -1
  526. package/dist/app/apps/dashboard/.next/static/chunks/3e8h01gu614n_.js +0 -1
  527. package/dist/app/apps/dashboard/.next/static/chunks/3gk4fim0nu_vw.js +0 -1
  528. package/dist/app/apps/dashboard/.next/static/chunks/3ij6uerfz-qlt.js +0 -4
  529. package/dist/app/apps/dashboard/.next/static/chunks/3ltx1we1130yf.js +0 -1
  530. package/dist/app/apps/dashboard/.next/static/chunks/3ttfy0pu3se2-.js +0 -1
  531. package/dist/app/apps/dashboard/.next/static/chunks/3uu19kwjkfiyb.js +0 -1
  532. package/dist/app/apps/dashboard/.next/static/chunks/3wo0br3rxneiv.js +0 -1
  533. package/dist/app/apps/dashboard/.next/static/chunks/3y43u3ijms4qh.js +0 -1
  534. package/dist/app/apps/dashboard/.next/static/chunks/42onvq6nokjl2.js +0 -1
  535. package/dist/app/apps/dashboard/.next/static/chunks/45c1z9-q8c5n4.js +0 -1
  536. package/dist/app/node_modules/next/dist/compiled/jsonwebtoken/index.js +0 -11
  537. package/dist/app/node_modules/next/dist/compiled/jsonwebtoken/package.json +0 -1
  538. package/dist/app/node_modules/next/dist/lib/semver-noop.js +0 -18
  539. /package/dist/app/apps/dashboard/.next/static/{BQy6cF3ta6ljIBW_48ajV → oKQRUCxlfzzmJF1Kc7dpz}/_buildManifest.js +0 -0
  540. /package/dist/app/apps/dashboard/.next/static/{BQy6cF3ta6ljIBW_48ajV → oKQRUCxlfzzmJF1Kc7dpz}/_clientMiddlewareManifest.js +0 -0
  541. /package/dist/app/apps/dashboard/.next/static/{BQy6cF3ta6ljIBW_48ajV → oKQRUCxlfzzmJF1Kc7dpz}/_ssgManifest.js +0 -0
@@ -1,4 +0,0 @@
1
- (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68288,e=>{var t=e.i(43476),a=e.i(71645),r=e.i(4050),s=e.i(82983);let n=0,i=Date.now(),l=[],o=null,c=!1;function d(e,t){let a;(a=Date.now())-i>=6e4&&(n=0,i=a),n>=20||(n++,l.push({nodeId:"__dashboard__",source:"dashboard",level:"error",message:e,metadata:t,timestamp:new Date().toISOString()}))}async function m(){if(0===l.length)return;let e=l.splice(0,l.length);try{await s.f.logs.ingest(e)}catch{}}var u=e.i(52928),x=e.i(53034),h=e.i(37806),p=e.i(47414);function f({children:e,...r}){let s=(0,a.useContext)(h.f);(r={...s,...r}).transition=(0,x.f)(r.transition,s.transition),r.isStatic=(0,p.f)(()=>r.isStatic);let n=(0,a.useMemo)(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion,r.skipAnimations,r.isValidProp]);return(0,t.jsx)(h.f.Provider,{value:n,children:e})}var b=e.i(72603);e.s(["Providers",0,function({children:e}){return(0,a.useEffect)(()=>((0,b.P)(),function(){if(c)return()=>{};c=!0;let e=e=>{d(`Uncaught error: ${e.message}`,{url:window.location.pathname,filename:e.filename??"unknown",lineno:e.lineno??0,colno:e.colno??0})},t=e=>{let t=e.reason,a=t instanceof Error?t.message:String(t);d(`Unhandled rejection: ${a}`,{url:window.location.pathname})};return window.addEventListener("error",e),window.addEventListener("unhandledrejection",t),o=setInterval(()=>void m(),1e4),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",t),o&&(clearInterval(o),o=null),m(),c=!1}}()),[]),(0,t.jsx)(f,{reducedMotion:"user",children:(0,t.jsx)(u.N,{children:(0,t.jsx)(r.v,{children:e})})})}],68288)},40073,e=>{var t=e.i(43476),a=e.i(71645),r=e.i(18566),s=e.i(22016),n=e.i(78571),i=e.i(16327),l=e.i(66794),o=e.i(77071),c=e.i(89664),d=e.i(4050),m=e.i(35673),u=e.i(15e3),x=e.i(39430);function h({status:e}){let a="online"===e?"Online":"offline"===e?"Offline":"Checking…";return(0,t.jsx)("span",{role:"status","aria-label":a,className:`inline-block h-2 w-2 shrink-0 rounded-full ${"online"===e?"bg-success":"offline"===e?"bg-danger":"bg-text-muted/40 animate-pulse"}`,title:a})}function p(){let{nodes:e,activeNode:r,switchNode:s,loading:n}=(0,d.l)(),[p,f]=(0,a.useState)(!1),[b,g]=(0,a.useState)(!1),[v,y]=(0,a.useState)(!1),w=(0,a.useRef)(null),[k,j]=(0,a.useState)({}),N=(0,a.useRef)(null),C=(0,a.useMemo)(()=>e.length>0?e:[u.f],[e]),M=(0,a.useCallback)(async()=>{let e={};await Promise.allSettled(C.map(async t=>{try{let a=(0,x.L)(t.url),r=await fetch("/api/proxy/health",{method:"GET",headers:a,signal:AbortSignal.timeout(6e3)});e[t.id]=r.ok?"online":"offline"}catch{e[t.id]="offline"}})),j(e)},[C]);return((0,a.useEffect)(()=>{M()},[M]),(0,a.useEffect)(()=>{if(p)return M(),N.current=setInterval(()=>void M(),3e4),()=>{N.current&&clearInterval(N.current)}},[p,M]),(0,a.useEffect)(()=>{if(p)return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)};function e(e){w.current&&!w.current.contains(e.target)&&f(!1)}function t(e){"Escape"===e.key&&f(!1)}},[p]),n)?(0,t.jsx)("div",{className:"mx-3 mt-2 mb-1 rounded border border-border bg-bg px-3 py-2 text-xs text-text-muted animate-pulse",children:"Loading…"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative mx-3 mt-2 mb-1",ref:w,children:[(0,t.jsx)("div",{className:"mb-1 px-0.5 text-[10px] font-semibold uppercase tracking-wider text-text-muted",children:"Node Controller"}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsxs)("button",{onClick:()=>f(!p),"aria-expanded":p,"aria-haspopup":"listbox","aria-label":`Node controller: ${r.name}`,className:"flex flex-1 items-center gap-2 rounded border border-border bg-bg px-2.5 py-1.5 text-left transition-all hover:bg-surface-hover min-w-0",children:[(0,t.jsx)(h,{status:k[r.id]??"unknown"}),(0,t.jsx)("span",{className:"flex-1 truncate text-xs font-medium",children:r.name}),(0,t.jsx)(i.f,{className:`h-3.5 w-3.5 shrink-0 text-text-muted transition-transform ${p?"rotate-180":""}`})]}),(0,t.jsx)("button",{onClick:function(){y(!1),g(!0)},className:"rounded border border-border bg-bg p-1.5 text-text-muted transition-all hover:bg-surface-hover hover:text-text",title:"Control Node Settings",children:(0,t.jsx)(l.f,{className:"h-3.5 w-3.5"})})]}),p&&(0,t.jsxs)("div",{className:"absolute left-3 right-3 z-50 mt-1 rounded border border-border bg-surface shadow-xl",children:[(0,t.jsx)("div",{role:"listbox","aria-label":"Control nodes",className:"max-h-48 overflow-y-auto py-1",children:C.map(e=>(0,t.jsxs)("button",{role:"option","aria-selected":e.id===r.id,onClick:()=>{s(e.id),f(!1)},className:"flex w-full items-center gap-2 px-3 py-2 text-left text-xs transition-all hover:bg-surface-hover",children:[(0,t.jsx)(h,{status:k[e.id]??"unknown"}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"font-medium truncate",children:e.name}),(0,t.jsx)("div",{className:"text-text-muted truncate text-[10px]",children:e.url})]}),e.id===r.id&&(0,t.jsx)(c.f,{className:"h-3.5 w-3.5 shrink-0 text-primary"})]},e.id))}),(0,t.jsx)("div",{className:"border-t border-border",children:(0,t.jsxs)("button",{onClick:function(){f(!1),y(!0),g(!0)},className:"flex w-full items-center gap-2 px-3 py-2 text-left text-xs text-primary transition-all hover:bg-surface-hover",children:[(0,t.jsx)(o.f,{className:"h-3.5 w-3.5"}),(0,t.jsx)("span",{className:"font-bold",children:"Add Control Node"})]})})]})]}),(0,t.jsx)(m.f,{open:b,onClose:()=>g(!1),createMode:v})]})}var f=e.i(32181),b=e.i(56420);let g={name:"layout-dashboard",size:24,node:[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]};g.node;let v=(0,b.f)(g);var y=e.i(41220),w=e.i(4139),k=e.i(74544),j=e.i(26091);let N={name:"scroll-text",size:24,node:[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]};N.node;let C=(0,b.f)(N);var M=e.i(82954),S=e.i(71567),E=e.i(82303),$=e.i(63644),_=e.i(12092),A=e.i(99835),L=e.i(64569);let z={name:"map",size:24,node:[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]};z.node;let R=(0,b.f)(z);var P=e.i(56423);let I={name:"compass",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]]};I.node;let T=(0,b.f)(I);var O=e.i(90985);let D={name:"heart-pulse",size:24,node:[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]]};D.node;let U=(0,b.f)(D),F={name:"rotate-ccw-clock",size:24,node:[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],aliases:["history"]};F.node;let G=(0,b.f)(F);var q=e.i(9584);let H={name:"git-compare-arrows",size:24,node:[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v7",key:"1yj91y"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["circle",{cx:"19",cy:"18",r:"3",key:"1qljk2"}],["path",{d:"M12 18H7a2 2 0 0 1-2-2V9",key:"16sdep"}],["path",{d:"m9 15 3 3-3 3",key:"1m3kbl"}]]};H.node;let K=(0,b.f)(H),V={name:"package-check",size:24,node:[["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m16 17 2 2 4-4",key:"uh5qu3"}],["path",{d:"M21 11.127V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.32-.753",key:"kpkbpo"}],["path",{d:"M3.29 7 12 12l8.71-5",key:"19ckod"}],["path",{d:"m7.5 4.27 8.997 5.148",key:"9yrvtv"}]]};V.node;let W=(0,b.f)(V),J={name:"square-activity",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M17 12h-2l-2 5-2-10-2 5H7",key:"15hlnc"}]],aliases:["activity-square"]};J.node;let B=(0,b.f)(J);var X=e.i(84026);let Q={name:"scan-search",size:24,node:[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]};Q.node;let Y=(0,b.f)(Q);var Z=e.i(52330),ee=e.i(58925),et=e.i(83892),ea=e.i(71028);let er=[{id:"fleet",label:"Fleet",tone:"primary",items:[{href:"/mission-control",label:"Mission Control",icon:T},{href:"/",label:"Overview",icon:v,exact:!0},{href:"/nodes",label:"Nodes",icon:y.f},{href:"/application-operations",label:"Applications",icon:U},{href:"/fleet-readiness",label:"Readiness",icon:ea.f},{href:"/fleet-timeline",label:"Timeline",icon:G},{href:"/fleet-map",label:"Fleet Map",icon:R},{href:"/commands",label:"Commands",icon:w.f},{href:"/anomalies",label:"Anomalies",icon:$.f},{href:"/anomalies/remediation",label:"Remediation",icon:L.f},{href:"/governor/operations",label:"Operations",icon:_.f},{href:"/rollouts",label:"Rollouts",icon:W},{href:"/incidents",label:"Incidents",icon:B},{href:"/cron",label:"Cron Jobs",icon:k.f},{href:"/files",label:"Files",icon:j.f},{href:"/logs",label:"Logs",icon:C},{href:"/audit",label:"Audit",icon:M.f},{href:"/webhooks",label:"Webhooks",icon:A.f},{href:"/retention",label:"Retention",icon:q.f},{href:"/api-docs",label:"API Docs",icon:P.f}]},{id:"security",label:"Security",tone:"primary",integration:"securityConsole",items:[{href:"/security-fusion",label:"Fleet summary",icon:Y,exact:!0}]},{id:"hermes",label:"Hermes Agent",tone:"accent",integration:"hermes",items:[{href:"/orchestra",label:"Overview",icon:S.f,exact:!0},{href:"/orchestra/installations",label:"Installations",icon:y.f},{href:"/orchestra/profiles",label:"Profiles",icon:E.f},{href:"/hermes-drift",label:"Drift Cockpit",icon:K},{href:"/hermes-security",label:"Proxy Security",icon:X.f},{href:"/orchestra/web-gateway",label:"Web Gateway",icon:O.f}]},{id:"ardent",label:"Magnus Ardent",tone:"primary",items:[{href:"/ardent",label:"Overview",icon:et.f,exact:!0},{href:"/ardent/installations",label:"Installations",icon:y.f},{href:"/ardent/profiles",label:"Profiles",icon:E.f}]},{id:"codex",label:"Codex Agent",tone:"primary",items:[{href:"/codex",label:"Overview",icon:Z.f,exact:!0},{href:"/codex/installations",label:"Installations",icon:ee.f}]}],es={"/":"Fleet Overview","/mission-control":"Mission Control","/nodes":"Nodes","/application-operations":"Application Operations","/fleet-readiness":"Fleet Readiness","/fleet-timeline":"Fleet Timeline","/fleet-map":"Fleet Map","/commands":"Commands","/anomalies":"Anomalies","/anomalies/remediation":"Auto-Remediation","/governor/operations":"Fleet Operations","/rollouts":"Guided Rollouts","/incidents":"Incident Workspace","/cron":"Cron Jobs","/files":"Files","/logs":"Logs","/audit":"Audit","/webhooks":"Webhooks","/retention":"Retention","/api-docs":"API Docs","/library":"Library","/skills":"Skills","/roles":"Roles","/sync":"Sync","/notifications":"Notification Preferences","/security-fusion":"Security","/orchestra":"Hermes Agent Fleet","/orchestra/installations":"Hermes Installations","/orchestra/profiles":"Hermes Profiles","/orchestra/web-gateway":"Web Gateway","/hermes-drift":"Hermes Drift Cockpit","/hermes-security":"Hermes Proxy Security","/ardent":"Magnus Ardent","/ardent/installations":"Ardent Installations","/ardent/profiles":"Ardent Profiles","/codex":"Codex Agent Fleet","/codex/installations":"Codex Installations"};function en(e,t,a=!1){return"/"===t||a?e===t:e===t||e.startsWith(`${t}/`)}function ei(e){let t=null;for(let a of er)for(let r of a.items)!r.external&&en(e,r.href,r.exact)&&(null===t||r.href.length>t.length)&&(t=r.href);return t}var el=e.i(16141);let eo={security:"from-primary/60 via-accent/20",hermes:"from-accent/50 via-accent/20",ardent:"from-primary/50 via-accent/20",codex:"from-primary/50 via-primary/20"};function ec({group:e,activeHref:a}){let r="accent"===e.tone;return(0,t.jsxs)(t.Fragment,{children:["fleet"!==e.id&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-3 my-1",children:(0,t.jsx)("div",{className:(0,n.f)("h-px bg-gradient-to-r to-transparent",eo[e.id])})}),(0,t.jsx)("div",{className:"px-4 pb-0.5 pt-2",children:(0,t.jsx)("span",{className:(0,n.f)("text-[9px] font-bold uppercase tracking-[0.25em]",r?"text-accent/60":"text-primary/60"),children:e.label})})]}),(0,t.jsx)("nav",{className:(0,n.f)("space-y-0.5 p-3","fleet"!==e.id&&"pt-1"),"aria-label":e.label,children:e.items.map(e=>{let i=e.href===a,l=e.icon;return(0,t.jsxs)(s.default,{href:e.href,prefetch:!1,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,"aria-current":i?"page":void 0,className:(0,n.f)("group relative flex items-center gap-3 overflow-hidden rounded-chip px-3 py-2 text-xs uppercase tracking-wider transition-colors duration-200","before:pointer-events-none before:absolute before:inset-y-0 before:-left-1/2 before:w-1/2 before:-skew-x-12 before:bg-gradient-to-r before:from-transparent before:to-transparent before:opacity-0 before:transition-[left,opacity] before:duration-500 hover:before:left-full hover:before:opacity-100",r?"before:via-accent/10":"before:via-primary/10",i?(0,n.f)(r?"text-accent":"text-primary",r?"bg-accent/5":"bg-primary/5"):(0,n.f)("text-text-muted",r?"hover:text-accent":"hover:text-primary")),children:[i&&(0,t.jsx)(f.f.span,{layoutId:"sidebar-indicator",className:(0,n.f)("absolute bottom-1 left-0 top-1 w-0.5 rounded-full",r?"bg-accent":"bg-primary"),style:{boxShadow:r?"0 0 8px var(--color-accent), 0 0 16px var(--color-glow-accent)":"0 0 8px var(--color-primary), 0 0 16px var(--color-glow)"},transition:{type:"spring",stiffness:300,damping:30}}),(0,t.jsx)(l,{className:"relative h-4 w-4 shrink-0"}),(0,t.jsx)("span",{className:"relative truncate",children:e.label})]},e.href)})})]})}function ed(){return(0,t.jsxs)("div",{className:"relative flex h-8 w-8 items-center justify-center animate-flicker",children:[(0,t.jsxs)("svg",{viewBox:"0 0 32 32",className:"h-8 w-8 overflow-visible","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"1",y:"1",width:"30",height:"30",rx:"4",fill:"none",stroke:"var(--color-primary)",strokeOpacity:"0.35"}),(0,t.jsx)("path",{d:"M8 23 V9 L16 18 L24 9 V23",fill:"none",stroke:"var(--color-primary)",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round",pathLength:100,style:{"--stroke-length":100,strokeDasharray:100,animation:"draw-stroke 1.4s var(--ease-out-expo) both"},className:"drop-shadow-[0_0_4px_var(--color-primary)]"})]}),(0,t.jsx)("div",{className:"absolute inset-0 rounded shadow-[0_0_12px_var(--color-glow)]"})]})}function em(){let{connected:e}=(0,a.useSyncExternalStore)(el.f.subscribe,el.f.getSnapshot,el.f.getServerSnapshot);return(0,t.jsxs)("span",{className:"flex items-center gap-1.5",title:e?"Live event stream connected":"Live event stream reconnecting",children:[(0,t.jsxs)("span",{className:"relative inline-flex h-1.5 w-1.5",children:[e&&(0,t.jsx)("span",{className:"absolute inset-0 rounded-full bg-success animate-halo"}),(0,t.jsx)("span",{className:(0,n.f)("relative inline-flex h-1.5 w-1.5 rounded-full",e?"bg-success shadow-[0_0_6px_var(--color-success)]":"bg-warning")})]}),(0,t.jsx)("span",{className:e?"text-success/70":"text-warning/70",children:e?"Live":"Offline"})]})}function eu({integrations:e}){let s=ei((0,r.usePathname)()),n=(0,a.useMemo)(()=>(function(e,t=er){return t.filter(t=>{var a;return!t.integration||(a=t.integration,"securityConsole"===a?null!==e.securityConsoleUrl:e.hermes)}).map(t=>"security"===t.id&&e.securityConsoleUrl?{...t,items:[{href:e.securityConsoleUrl,label:"Security console ↗",icon:Y,external:!0},...t.items]}:t)})(e),[e]);return(0,t.jsxs)("aside",{className:"relative flex h-full w-56 flex-col border-r border-border/50 bg-bg",children:[(0,t.jsx)("div",{className:"absolute bottom-0 right-0 top-0 w-px bg-gradient-to-b from-primary/60 via-primary/20 to-transparent"}),(0,t.jsxs)("div",{className:"flex h-14 items-center gap-3 border-b border-border/30 px-4",children:[(0,t.jsx)(ed,{}),(0,t.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.2em] text-text",children:"Magnus"})]}),(0,t.jsx)(p,{}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto",children:n.map(e=>(0,t.jsx)(ec,{group:e,activeHref:s},e.id))}),(0,t.jsxs)("div",{className:"flex items-center justify-between border-t border-border/30 p-4 text-[10px] uppercase tracking-widest text-primary/40",children:[(0,t.jsxs)("span",{children:["Magnus v","2.1.1"]}),(0,t.jsx)(em,{})]})]})}var ex=e.i(67784),eh=e.i(41120);let ep={name:"menu",size:24,node:[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]};ep.node;let ef=(0,b.f)(ep);var eb=e.i(66595),eg=e.i(67927);let ev={name:"bell",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]};ev.node;let ey=(0,b.f)(ev),ew={name:"check-check",size:24,node:[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]};ew.node;let ek=(0,b.f)(ew);var ej=e.i(53138),eN=e.i(99847),eC=e.i(10818),eM=e.i(94371),eS=e.i(69174),eE=e.i(82983);function e$(){let[e,r]=(0,a.useState)(!1),[i,o]=(0,a.useState)([]),[d,m]=(0,a.useState)(0),[u,x]=(0,a.useState)(!1),h=(0,a.useRef)(null),p=(0,a.useCallback)(async()=>{try{let e=await eE.f.notifications.unreadCount();e.success&&e.data&&m(e.data.count)}catch{}},[]),f=(0,a.useCallback)(async()=>{x(!0);try{let e=await eE.f.notifications.list({pageSize:20});if(e.success&&e.data){let t=e.data;o(t.notifications)}}catch{}finally{x(!1)}},[]);(0,a.useEffect)(()=>{p();let e=setInterval(()=>void p(),15e3);return()=>clearInterval(e)},[p]),(0,a.useEffect)(()=>{e&&f()},[e,f]),(0,a.useEffect)(()=>{if(!e)return;let t=e=>{h.current&&!h.current.contains(e.target)&&r(!1)};return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[e]),(0,a.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&r(!1)};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e]);let b=async e=>{try{await eE.f.notifications.markRead([e]),o(t=>t.map(t=>t.id===e?{...t,isRead:!0}:t)),m(e=>Math.max(0,e-1))}catch{}},g=async()=>{try{await eE.f.notifications.markAllRead(),o(e=>e.map(e=>({...e,isRead:!0}))),m(0),setTimeout(()=>void p(),500)}catch{}};return(0,t.jsxs)("div",{className:"relative",ref:h,children:[(0,t.jsxs)("button",{className:"relative rounded p-2 text-text-muted transition-all hover:bg-surface-hover hover:text-text",title:"Notifications",type:"button","aria-expanded":e,"aria-controls":"notification-panel","aria-label":d>0?`Notifications (${d} unread)`:"Notifications",onClick:()=>r(e=>!e),children:[(0,t.jsx)(ey,{className:"h-4 w-4"}),d>0&&(0,t.jsx)("span",{className:"absolute right-1 top-1 flex h-4 min-w-[1rem] items-center justify-center rounded-full bg-danger px-1 text-[10px] font-bold text-white",children:d>99?"99+":d})]}),e&&(0,t.jsxs)("div",{id:"notification-panel",role:"region","aria-label":"Notifications",className:"absolute right-0 top-full z-50 mt-2 w-96 overflow-hidden rounded border border-border bg-surface shadow-2xl",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-border px-4 py-3",children:[(0,t.jsx)("h3",{className:"text-xs font-bold uppercase tracking-wider text-text",children:"Notifications"}),d>0&&(0,t.jsxs)("button",{className:"flex items-center gap-1 rounded px-2 py-1 text-xs text-primary hover:bg-primary/10 transition-all",onClick:()=>void g(),type:"button",children:[(0,t.jsx)(ek,{className:"h-3 w-3"}),"Mark all read"]})]}),(0,t.jsxs)("div",{className:"max-h-96 overflow-y-auto",children:[u&&0===i.length&&(0,t.jsx)("div",{className:"flex items-center justify-center py-8",children:(0,t.jsx)("div",{className:"h-5 w-5 animate-spin rounded-full border-2 border-primary border-t-transparent"})}),!u&&0===i.length&&(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center py-10 text-text-muted",children:[(0,t.jsx)(ey,{className:"mb-2 h-8 w-8 opacity-40"}),(0,t.jsx)("p",{className:"text-xs",children:"No notifications yet"})]}),i.map(e=>(0,t.jsxs)("div",{className:(0,n.f)("group flex items-start gap-3 border-b border-border/50 px-4 py-3 transition-all hover:bg-surface-hover",!e.isRead&&"bg-primary/5"),children:[(0,t.jsx)("div",{className:"mt-0.5 shrink-0",children:function(e){switch(e){case"critical":return(0,t.jsx)(eN.f,{className:"h-4 w-4 text-danger"});case"warning":return(0,t.jsx)(ej.f,{className:"h-4 w-4 text-warning"});default:return(0,t.jsx)(eC.f,{className:"h-4 w-4 text-primary"})}}(e.severity)}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[function(e){switch(e){case"node.offline":return(0,t.jsx)(y.f,{className:"h-3.5 w-3.5 text-danger"});case"node.degraded":case"node.upgrade_not_ready":return(0,t.jsx)(y.f,{className:"h-3.5 w-3.5 text-warning"});case"node.recovered":return(0,t.jsx)(U,{className:"h-3.5 w-3.5 text-success"});case"command.failed":return(0,t.jsx)(w.f,{className:"h-3.5 w-3.5 text-warning"});case"deploy.failed":return(0,t.jsx)(eM.f,{className:"h-3.5 w-3.5 text-danger"});case"upgrade.failed":return(0,t.jsx)(eS.f,{className:"h-3.5 w-3.5 text-danger"});default:return(0,t.jsx)(ey,{className:"h-3.5 w-3.5 text-text-muted"})}}(e.type),(0,t.jsx)("span",{className:(0,n.f)("text-xs font-bold",e.isRead?"text-text-muted":"text-text"),children:e.title})]}),(0,t.jsx)("p",{className:"mt-0.5 text-xs text-text-muted line-clamp-2",children:e.message}),(0,t.jsx)("span",{className:"mt-1 block text-[10px] text-text-muted/60",children:function(e){let t=Math.floor((Date.now()-new Date(e).getTime())/1e3);if(t<60)return"just now";let a=Math.floor(t/60);if(a<60)return`${a}m ago`;let r=Math.floor(a/60);if(r<24)return`${r}h ago`;let s=Math.floor(r/24);return`${s}d ago`}(e.createdAt)})]}),!e.isRead&&(0,t.jsx)("button",{className:"mt-0.5 shrink-0 rounded p-1 text-text-muted opacity-0 transition-all hover:bg-surface-hover hover:text-primary group-hover:opacity-100",title:"Mark as read",type:"button",onClick:()=>void b(e.id),children:(0,t.jsx)(c.f,{className:"h-3.5 w-3.5"})})]},e.id))]}),(0,t.jsx)("div",{className:"border-t border-border px-4 py-2 flex justify-end",children:(0,t.jsxs)(s.default,{href:"/notifications",className:"flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",onClick:()=>r(!1),children:[(0,t.jsx)(l.f,{className:"h-3 w-3"}),"Preferences"]})})]})]})}var e_=e.i(1092);let eA=[{keys:["g","m"],label:"Go to Mission Control",description:"Navigate to unified Mission Control home",action:"navigate",target:"/mission-control",category:"navigation"},{keys:["g","o"],label:"Go to Overview",description:"Navigate to fleet overview",action:"navigate",target:"/",category:"navigation"},{keys:["g","n"],label:"Go to Nodes",description:"Navigate to node list",action:"navigate",target:"/nodes",category:"navigation"},{keys:["g","c"],label:"Go to Commands",description:"Navigate to command console",action:"navigate",target:"/commands",category:"navigation"},{keys:["g","j"],label:"Go to Cron Jobs",description:"Navigate to cron jobs",action:"navigate",target:"/cron",category:"navigation"},{keys:["g","f"],label:"Go to Files",description:"Navigate to file editor",action:"navigate",target:"/files",category:"navigation"},{keys:["g","s"],label:"Go to Skills",description:"Navigate to skill marketplace",action:"navigate",target:"/skills",category:"navigation"},{keys:["g","l"],label:"Go to Logs",description:"Navigate to log explorer",action:"navigate",target:"/logs",category:"navigation"},{keys:["g","a"],label:"Go to Audit",description:"Navigate to audit trail",action:"navigate",target:"/audit",category:"navigation"},{keys:["?"],label:"Show Shortcuts",description:"Show keyboard shortcut reference",action:"command",target:"show-shortcuts",category:"general"}];function eL(){return"u">typeof navigator&&/Mac|iPhone|iPad/.test(navigator.userAgent)?"⌘":"Ctrl"}function ez(){document.body.dispatchEvent(new KeyboardEvent("keydown",{key:"k",ctrlKey:!0,metaKey:!0,bubbles:!0}))}function eR({onMenuToggle:e}){let n=(0,r.usePathname)(),i=(0,r.useRouter)(),{title:l,crumbs:o}=function(e){let t=null;for(let a of Object.keys(es))en(e,a)&&(null===t||a.length>t.length)&&(t=a);let a=t?es[t]:"Magnus",r=ei(e),s=r?er.find(e=>e.items.some(e=>e.href===r))?.label??null:null,n=[];if(s&&n.push({label:s}),n.push({label:a,href:t??void 0}),t&&e!==t)for(let a of e.slice("/"===t?1:t.length+1).split("/").filter(Boolean)){let e=decodeURIComponent(a);n.push({label:e.length>18?`${e.slice(0,8)}…${e.slice(-6)}`:e})}return{title:a,group:s,crumbs:n}}(n),[c,d]=(0,a.useState)(null),[m,u]=(0,a.useState)(!1),[x,h]=(0,a.useState)("Ctrl"),p=(0,a.useRef)(null);async function f(e=!1){let t=await fetch(`/api/auth/logout${e?"?all=true":""}`,{method:"POST"}).catch(()=>null);t?.ok?(i.push("/login"),i.refresh()):window.alert("Session revocation unavailable; retry sign out.")}return(0,a.useEffect)(()=>{h(eL()),fetch("/api/auth/me").then(e=>e.ok?e.json():null).then(e=>{e?.username&&d(e.username)}).catch(()=>{})},[]),(0,a.useEffect)(()=>{if(!m)return;let e=e=>{(e instanceof KeyboardEvent?"Escape"!==e.key:p.current?.contains(e.target))||u(!1)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",e)}},[m]),(0,t.jsxs)("header",{className:"relative z-(--z-shell) flex h-14 items-center justify-between gap-3 bg-bg/80 px-3 backdrop-blur-sm sm:px-6",children:[(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-px bg-gradient-to-r from-primary/60 via-accent/40 to-transparent"}),(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2 text-xs uppercase tracking-[0.15em] text-text-muted",children:[e&&(0,t.jsx)("button",{className:"mr-1 rounded p-1.5 text-text-muted hover:text-primary md:hidden",onClick:e,type:"button",title:"Toggle menu",children:(0,t.jsx)(ef,{className:"h-5 w-5"})}),(0,t.jsx)("span",{className:"text-primary/60",children:">_"}),(0,t.jsx)("nav",{"aria-label":"Breadcrumb",className:"hidden min-w-0 items-center gap-1 sm:flex",children:o.map((e,a)=>{let r=a===o.length-1;return(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1",children:[a>0&&(0,t.jsx)(eg.f,{className:"h-3 w-3 shrink-0 text-primary/30","aria-hidden":"true"}),e.href&&!r?(0,t.jsx)(s.default,{href:e.href,prefetch:!1,className:"truncate transition-colors hover:text-primary",children:e.label}):(0,t.jsx)("span",{className:r?"truncate text-text":0===a&&o.length>1?"truncate text-text-muted/60":"truncate","aria-current":r?"page":void 0,children:e.label})]},`${e.label}-${a}`)})}),(0,t.jsx)("span",{className:"sr-only sm:hidden",children:l}),(0,t.jsx)("span",{className:"ml-1 hidden h-3.5 w-1.5 shrink-0 bg-primary/80 sm:inline-block",style:{animation:"cursor-blink 1s step-end infinite"}})]}),(0,t.jsx)(e_.J,{className:"hidden max-w-xl flex-1 lg:block"}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-1 sm:gap-2",children:[(0,t.jsxs)("button",{type:"button",onClick:ez,className:"hidden items-center gap-2 rounded-chip border border-border bg-surface px-2.5 py-1.5 text-[10px] uppercase tracking-wider text-text-muted transition-colors hover:border-primary/40 hover:text-primary md:flex",title:"Search and jump (command palette)",children:[(0,t.jsx)(eb.f,{className:"h-3.5 w-3.5"}),(0,t.jsx)("span",{children:"Search"}),(0,t.jsxs)("kbd",{className:"rounded-chip border border-border bg-bg px-1 text-[9px] text-primary/70",children:[x,"+K"]})]}),(0,t.jsx)("button",{className:"rounded p-2 text-text-muted transition-all hover:text-primary hover:drop-shadow-[0_0_6px_var(--color-glow)]",title:"Refresh",onClick:()=>window.location.reload(),type:"button",children:(0,t.jsx)(eh.f,{className:"h-4 w-4"})}),(0,t.jsx)(e$,{}),(0,t.jsx)("button",{className:"rounded p-2 text-text-muted transition-all hover:text-danger hover:drop-shadow-[0_0_6px_rgba(255,23,68,0.3)]",title:"Sign Out",onClick:()=>void f(),type:"button",children:(0,t.jsx)(ex.f,{className:"h-4 w-4"})}),(0,t.jsxs)("div",{ref:p,className:"relative ml-1",children:[(0,t.jsx)("button",{type:"button",onClick:()=>u(e=>!e),"aria-haspopup":"menu","aria-expanded":m,title:c?`Signed in as ${c}`:"Account",className:"flex h-8 w-8 items-center justify-center rounded border border-accent/40 text-[10px] font-bold uppercase text-accent shadow-[0_0_8px_var(--color-glow-accent)] transition-colors hover:border-accent hover:bg-accent/10",children:c?.[0]??"U"}),m&&(0,t.jsxs)("div",{role:"menu",className:"panel-corners absolute right-0 top-full z-(--z-modal) mt-2 w-60 rounded-panel border border-accent/30 bg-surface/95 p-1 shadow-[0_0_24px_var(--color-glow-accent)] backdrop-blur-sm [--panel-corner-color:var(--color-accent)]",children:[c&&(0,t.jsxs)("div",{className:"border-b border-border px-3 py-2 text-[10px] uppercase tracking-wider text-text-muted",children:["Signed in as ",(0,t.jsx)("span",{className:"text-accent",children:c})]}),(0,t.jsxs)("button",{type:"button",role:"menuitem",onClick:()=>void f(),className:"flex w-full items-center gap-2 rounded-chip px-3 py-2 text-left text-xs text-text-muted transition-colors hover:bg-surface-hover hover:text-text",children:[(0,t.jsx)(ex.f,{className:"h-3.5 w-3.5"})," Sign out"]}),(0,t.jsxs)("button",{type:"button",role:"menuitem","aria-label":"Sign out all local sessions",onClick:()=>void f(!0),className:"flex w-full items-center gap-2 rounded-chip px-3 py-2 text-left text-xs text-text-muted transition-colors hover:bg-danger/10 hover:text-danger",children:[(0,t.jsx)(ex.f,{className:"h-3.5 w-3.5"})," Sign out all local sessions"]})]})]})]})]})}async function eP(e,t){try{let a=await fetch(e,{signal:t,headers:{accept:"application/json"}});if(!a.ok)return null;return await a.json()}catch{return null}}function eI(e,t){return e.trim()?t.map(t=>({e:t,s:function(e,t){if(!e)return 0;let a=e.toLowerCase(),r=t.toLowerCase(),s=r.indexOf(a);if(-1!==s)return s;let n=0,i=0;for(let e of a){let t=r.indexOf(e,n);if(-1===t)return -1;i+=t-n,n=t+1}return 1e3+i}(e,`${t.label} ${t.sublabel??""}`)})).filter(({s:e})=>e>=0).sort((e,t)=>e.s-t.s).map(({e})=>e):t}async function eT(e,t={}){let{signal:a,limit:r=10}=t;if(e.trim().length<2)return[];let[s,n,i]=await Promise.all([eP("/api/proxy/nodes",a),eP("/api/proxy/orchestra/installations",a),eP("/api/proxy/orchestra/skill-catalog",a)]),l=[];for(let e of s?.data??[])l.push({kind:"node",id:e.id,label:e.name,sublabel:e.status?`Node \xb7 ${e.status}`:"Node",href:`/nodes/${e.id}`});for(let e of n?.data??[])l.push({kind:"installation",id:e.id,label:e.displayName??e.hostname,sublabel:`Hermes \xb7 ${e.status??"unknown"}`,href:"/orchestra/installations"});for(let e of i?.data??[])l.push({kind:"skill",id:e.id,label:e.name,sublabel:e.description??"Skill",href:"/skills"});return eI(e,[{kind:"action",id:"deploy-agent",label:"Deploy agent to host",sublabel:"Action · Operations",href:"/governor/operations"},{kind:"action",id:"open-terminal",label:"Open node terminal",sublabel:"Action · Nodes",href:"/nodes"},{kind:"action",id:"run-fleet-check",label:"Run fleet check",sublabel:"Action · Fleet readiness",href:"/fleet-readiness"},{kind:"action",id:"view-stale-nodes",label:"View stale nodes",sublabel:"Action · Readiness",href:"/fleet-readiness"},{kind:"action",id:"rotate-node-secret",label:"Rotate node secret",sublabel:"Action · Operations",href:"/governor/operations"},{kind:"action",id:"latest-failed-deploy",label:"Open latest failed deploy",sublabel:"Action · Timeline",href:"/fleet-timeline"},...l]).slice(0,r)}var eO=e.i(68877),eD=e.i(20851),eU=e.i(70533);let eF={name:"keyboard",size:24,node:[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]};eF.node;let eG=(0,b.f)(eF);var eq=e.i(63676);let eH={name:"key",size:24,node:[["path",{d:"m2 21 9.6-9.6",key:"9l79m3"}],["path",{d:"m7.5 15.5 2.3 2.3a1 1 0 0 1 0 1.4l-2.1 2.1a1 1 0 0 1-1.4 0L4 19",key:"fw8biw"}],["circle",{cx:"15.5",cy:"7.5",r:"5.5",key:"4wxmhb"}]]};eH.node;let eK=(0,b.f)(eH);var eV=e.i(32781),eW=e.i(28623),eJ=e.i(72603);let eB={"/":v,"/mission-control":T,"/nodes":y.f,"/commands":w.f,"/cron":k.f,"/files":j.f,"/skills":eD.f,"/logs":C,"/audit":M.f,"/library":eU.f},eX={node:y.f,installation:S.f,skill:eD.f,action:eO.f};function eQ(){let[e,s]=(0,a.useState)(!1),[n,i]=(0,a.useState)(""),[l,o]=(0,a.useState)(0),[c,d]=(0,a.useState)(!1),[m,u]=(0,a.useState)([]),[x,h]=(0,a.useState)(!1),[p,f]=(0,a.useState)("normal"),b=(0,a.useRef)(null),g=(0,r.useRouter)(),v=(0,a.useRef)([]),y=(0,a.useRef)(void 0),w=(0,a.useRef)(void 0),k=(0,a.useRef)(null),j=(n.trim()?eA.filter(e=>e.label.toLowerCase().includes(n.toLowerCase())||e.description.toLowerCase().includes(n.toLowerCase())):eA).map(e=>({kind:"shortcut",key:`s:${e.keys.join("-")}`,shortcut:e})),N=eI(n,m).map(e=>({kind:"entity",key:`e:${e.kind}:${e.id}`,entity:e})),C=n.trim()?[...N,...j]:j;(0,a.useEffect)(()=>{if(!e)return;let t=n.trim();if(t.length<2){u([]),h(!1);return}w.current&&clearTimeout(w.current),k.current&&k.current.abort();let a=new AbortController;return k.current=a,h(!0),w.current=setTimeout(async()=>{let e=await eT(t,{signal:a.signal,limit:12});a.signal.aborted||(u(e),h(!1))},180),()=>{a.abort(),w.current&&clearTimeout(w.current)}},[n,e]);let M=(0,a.useCallback)(e=>{"navigate"===e.action&&e.target?(g.push(e.target),s(!1),i("")):"show-shortcuts"===e.target&&(d(!0),s(!1),i(""))},[g]),S=(0,a.useCallback)(e=>{"shortcut"===e.kind?M(e.shortcut):(g.push(e.entity.href),s(!1),i(""))},[M,g]);return((0,a.useEffect)(()=>{let t=t=>{let a=t.target,r="INPUT"===a.tagName||"TEXTAREA"===a.tagName||a.isContentEditable;if((t.metaKey||t.ctrlKey)&&"k"===t.key.toLowerCase()){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),s(e=>!e);return}if("Escape"===t.key){if(e){s(!1),i("");return}return c?void d(!1):void 0}if(!r){if("?"===t.key){t.preventDefault(),d(e=>!e);return}if(1===t.key.length&&!t.metaKey&&!t.ctrlKey&&!t.altKey){for(let e of(clearTimeout(y.current),v.current.push(t.key.toLowerCase()),eA))if(e.keys.length===v.current.length&&e.keys.every((e,t)=>e===v.current[t])){t.preventDefault(),v.current=[],M(e);return}y.current=setTimeout(()=>{v.current=[]},800)}}};return window.addEventListener("keydown",t,!0),()=>window.removeEventListener("keydown",t,!0)},[e,c,M]),(0,a.useEffect)(()=>{e&&(o(0),setTimeout(()=>b.current?.focus(),50))},[e]),(0,a.useEffect)(()=>{l>=C.length&&o(Math.max(0,C.length-1))},[C.length,l]),(0,a.useEffect)(()=>{e&&f("low"===document.documentElement.dataset.fx?"low":"normal")},[e]),e||c)?(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsxs)("div",{className:"fixed inset-0 z-(--z-modal) flex items-start justify-center pt-[15vh]","data-testid":"command-palette",children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-black/70 backdrop-blur-[2px]",onClick:()=>{s(!1),i("")}}),(0,t.jsxs)("div",{className:"relative z-10 w-full max-w-lg panel-corners rounded-panel border border-primary/30 bg-surface/95 shadow-[0_0_40px_var(--color-glow)]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 border-b border-border px-4 py-3",children:[(0,t.jsx)(eb.f,{className:"h-5 w-5 text-primary"}),(0,t.jsx)("input",{ref:b,type:"text",placeholder:"Search nodes, agents, runs, users, commands...",className:"flex-1 bg-transparent text-sm text-text placeholder:text-text-muted/70 caret-primary outline-none",value:n,onChange:e=>{i(e.target.value),o(0)},onKeyDown:e=>{"ArrowDown"===e.key?(e.preventDefault(),o(e=>Math.min(e+1,C.length-1))):"ArrowUp"===e.key?(e.preventDefault(),o(e=>Math.max(e-1,0))):"Enter"===e.key&&C[l]&&(e.preventDefault(),S(C[l]))},"data-testid":"command-palette-input"}),x?(0,t.jsx)(eV.f,{className:"h-4 w-4 animate-spin text-primary"}):(0,t.jsx)("kbd",{className:"rounded-chip border border-border bg-bg px-1.5 py-0.5 text-[10px] text-text-muted",children:"ESC"})]}),(0,t.jsxs)("div",{className:"max-h-96 overflow-y-auto py-2",children:[0===C.length&&!x&&(0,t.jsx)("p",{className:"px-4 py-6 text-center text-xs uppercase tracking-wider text-text-muted",children:"No results found"}),0===C.length&&x&&(0,t.jsx)("p",{className:"px-4 py-6 text-center text-xs uppercase tracking-wider text-text-muted",children:"Searching…"}),C.map((e,a)=>{let r=a===l;if("shortcut"===e.kind){let s=eB[e.shortcut.target??""]??eO.f;return(0,t.jsxs)("button",{className:`flex w-full items-center gap-3 px-4 py-2 text-left text-sm transition-colors ${r?"bg-primary/10 text-primary shadow-[inset_2px_0_0_var(--color-primary)]":"text-text hover:bg-surface-hover"}`,onClick:()=>S(e),onMouseEnter:()=>o(a),"data-testid":"command-palette-item","data-item-kind":"shortcut",children:[(0,t.jsx)(s,{className:"h-4 w-4 shrink-0 opacity-70"}),(0,t.jsx)("span",{className:"flex-1",children:e.shortcut.label}),(0,t.jsx)("span",{className:"text-xs text-text-muted",children:e.shortcut.keys.map(e=>e.toUpperCase()).join(" then ")})]},e.key)}let s=eX[e.entity.kind]??eO.f;return(0,t.jsxs)("button",{className:`flex w-full items-center gap-3 px-4 py-2 text-left text-sm transition-colors ${r?"bg-accent/10 text-accent shadow-[inset_2px_0_0_var(--color-accent)]":"text-text hover:bg-surface-hover"}`,onClick:()=>S(e),onMouseEnter:()=>o(a),"data-testid":"command-palette-item","data-item-kind":"entity","data-entity-kind":e.entity.kind,children:[(0,t.jsx)(s,{className:"h-4 w-4 shrink-0 text-accent/80"}),(0,t.jsxs)("span",{className:"flex-1 truncate",children:[(0,t.jsx)("span",{className:"font-medium",children:e.entity.label}),e.entity.sublabel&&(0,t.jsx)("span",{className:"ml-2 text-xs text-text-muted",children:e.entity.sublabel})]}),(0,t.jsx)("span",{className:"text-[10px] uppercase tracking-wider text-text-muted",children:e.entity.kind})]},e.key)})]}),(0,t.jsxs)("div",{className:"flex items-center gap-4 border-t border-border px-4 py-2 text-[10px] uppercase tracking-wider text-text-muted",children:[(0,t.jsx)("span",{children:"↑↓ navigate"}),(0,t.jsx)("span",{children:"↵ select"}),(0,t.jsx)("span",{children:"esc close"}),(0,t.jsxs)("button",{type:"button",onClick:()=>f((0,eJ.W)()),className:"ml-auto flex items-center gap-1 rounded-chip px-1 text-text-muted transition-colors hover:text-primary",title:"Toggle visual effects (scanlines, glow pulses, animated map)","data-testid":"command-palette-fx-toggle",children:[(0,t.jsx)(eW.f,{className:"h-3 w-3"})," fx: ",p]}),(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsx)(eK,{className:"h-3 w-3"})," ",eL(),"+K"]})]})]})]}),c&&(0,t.jsxs)("div",{className:"fixed inset-0 z-(--z-modal) flex items-center justify-center",children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-black/70 backdrop-blur-[2px]",onClick:()=>d(!1)}),(0,t.jsxs)("div",{className:"relative z-10 w-full max-w-md panel-corners rounded-panel border border-primary/30 bg-surface/95 p-6 shadow-[0_0_40px_var(--color-glow)]",children:[(0,t.jsxs)("div",{className:"mb-4 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(eG,{className:"h-5 w-5 text-primary"}),(0,t.jsx)("h2",{className:"text-sm font-bold uppercase tracking-wider text-primary glow-text-primary",children:"Keyboard Shortcuts"})]}),(0,t.jsx)("button",{onClick:()=>d(!1),className:"text-text-muted hover:text-text",children:(0,t.jsx)(eq.X,{className:"h-5 w-5"})})]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-2 text-[10px] font-medium uppercase tracking-[0.2em] text-text-muted",children:"General"}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)(eY,{keys:[`${eL()}+K`],label:"Open command palette"}),(0,t.jsx)(eY,{keys:["?"],label:"Show this reference"}),(0,t.jsx)(eY,{keys:["Esc"],label:"Close modal / palette"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-2 text-[10px] font-medium uppercase tracking-[0.2em] text-text-muted",children:"Fleet Navigation"}),(0,t.jsx)("div",{className:"space-y-1",children:eA.filter(e=>"navigation"===e.category).map(e=>(0,t.jsx)(eY,{keys:e.keys.map(e=>e.toUpperCase()),label:e.label},e.target))})]})]})]})]})]}):null}function eY({keys:e,label:a}){return(0,t.jsxs)("div",{className:"flex items-center justify-between py-1",children:[(0,t.jsx)("span",{className:"text-xs text-text",children:a}),(0,t.jsx)("div",{className:"flex gap-1",children:e.map((a,r)=>(0,t.jsxs)("span",{children:[(0,t.jsx)("kbd",{className:"rounded-chip border border-border bg-bg px-1.5 py-0.5 text-[11px] text-primary",children:a}),r<e.length-1&&(0,t.jsx)("span",{className:"mx-0.5 text-[10px] text-text-muted/60",children:"then"})]},r))})]})}let eZ={name:"server-cog",size:24,node:[["path",{d:"m10.852 14.772-.383.923",key:"11vil6"}],["path",{d:"M13.148 14.772a3 3 0 1 0-2.296-5.544l-.383-.923",key:"1v3clb"}],["path",{d:"m13.148 9.228.383-.923",key:"t2zzyc"}],["path",{d:"m13.53 15.696-.382-.924a3 3 0 1 1-2.296-5.544",key:"1bxfiv"}],["path",{d:"m14.772 10.852.923-.383",key:"k9m8cz"}],["path",{d:"m14.772 13.148.923.383",key:"1xvhww"}],["path",{d:"M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5",key:"tn8das"}],["path",{d:"M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5",key:"1g2pve"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M6 6h.01",key:"1utrut"}],["path",{d:"m9.228 10.852-.923-.383",key:"1wtb30"}],["path",{d:"m9.228 13.148-.923.383",key:"1a830x"}]]};eZ.node;let e0=(0,b.f)(eZ),e1="magnus.update-banner.dismissed";function e2(){let[e,r]=(0,a.useState)(null),[n,i]=(0,a.useState)(null);if((0,a.useEffect)(()=>{i(function(){try{return window.localStorage.getItem(e1)}catch{return null}}());let e=!1,t=()=>{eE.f.systemUpdates.get().then(t=>{e||r(t)}).catch(()=>void 0)};t();let a=window.setInterval(t,18e5);return()=>{e=!0,window.clearInterval(a)}},[]),!e)return null;let{server:l,agents:o}=e,c=o.behind.length;if(!l.updateAvailable&&!l.latestMajor&&0===c)return null;let d=`${e.server.latest??""}|${e.server.latestMajor??""}|${e.agents.behind.length}|${e.agents.expected}`;return n===d?null:(0,t.jsxs)("section",{role:"status","aria-label":"Updates","data-testid":"update-banner",className:"relative mb-4 overflow-hidden rounded border border-warning/40 bg-warning/5 px-4 py-3 text-[11px]",children:[(0,t.jsx)("div",{className:"absolute inset-y-0 left-0 w-0.5 bg-warning"}),(0,t.jsx)("button",{type:"button","aria-label":"Dismiss",className:"absolute right-2 top-2 text-text-muted hover:text-text",onClick:()=>{try{window.localStorage.setItem(e1,d)}catch{}i(d)},children:(0,t.jsx)(eq.X,{className:"h-3.5 w-3.5"})}),(0,t.jsxs)("div",{className:"space-y-2 pr-6",children:[l.updateAvailable&&l.latest&&(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)(eS.f,{className:"mt-0.5 h-4 w-4 shrink-0 text-warning"}),(0,t.jsxs)("div",{className:"min-w-0 space-y-1",children:[(0,t.jsxs)("p",{children:[(0,t.jsxs)("span",{className:"font-bold uppercase tracking-wider text-warning",children:["Magnus ",l.latest," is available"]}),(0,t.jsxs)("span",{className:"ml-2 text-text-muted",children:["running ",l.current,l.breaking?" · contains breaking changes":""]})]}),l.releases.filter(e=>e.summary).map(e=>(0,t.jsxs)("p",{className:"text-text-muted",children:[e.version,": ",e.summary," ",e.notesUrl&&(0,t.jsx)("a",{className:"text-primary underline",href:e.notesUrl,target:"_blank",rel:"noreferrer",children:"release notes"})]},e.version)),l.newRequiredEnv.length>0&&(0,t.jsxs)("p",{className:"text-text-muted",children:["New required settings:"," ",l.newRequiredEnv.map(e=>(0,t.jsxs)("code",{className:"mr-1 rounded bg-surface px-1",children:[e.name,"server"!==e.component?` (${e.component})`:""]},e.name)),l.newRequiredEnv.every(e=>e.secret)&&(0,t.jsxs)("span",{children:["(secrets: ",(0,t.jsx)("code",{children:"magnus upgrade --generate-secrets"})," fills them in)"]})]}),l.attention.length>0&&(0,t.jsxs)("p",{className:"text-warning",children:["Needs a maintenance window: ",l.attention.map(e=>`${e.name} (${e.impact}${e.note?`: ${e.note}`:""})`).join("; ")]}),(0,t.jsxs)("p",{className:"text-text-muted",children:["On the server host run ",(0,t.jsx)("code",{className:"rounded bg-surface px-1 text-text",children:l.command})," (backs up the database and reverts on failure)."]})]})]}),l.latestMajor&&(0,t.jsxs)("p",{className:"text-text-muted",children:["Magnus ",l.latestMajor," is a new major version. Major upgrades are never offered automatically; read UPGRADING.md first."]}),c>0&&(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)(e0,{className:"mt-0.5 h-4 w-4 shrink-0 text-warning"}),(0,t.jsxs)("p",{children:[(0,t.jsxs)("span",{className:"font-bold uppercase tracking-wider text-warning",children:[c," agent",1===c?"":"s"," behind the server (",o.expected,")"]}),(0,t.jsxs)("span",{className:"ml-2 text-text-muted",children:[o.behind.slice(0,5).map(e=>`${e.name} ${e.version}`).join(", "),c>5?", …":"","."]})," ",o.upgradesEnabled?(0,t.jsx)(s.default,{href:"/nodes?upgrade=agents",className:"text-primary underline",children:"Upgrade agents"}):(0,t.jsx)("span",{className:"text-text-muted",children:"Agent upgrades are off on this server (MAGNUS_AGENT_UPGRADES=false)."}),o.fixCommand&&(0,t.jsxs)("span",{className:"ml-2 text-text-muted",children:["or run ",(0,t.jsx)("code",{className:"rounded bg-surface px-1 text-text",children:o.fixCommand})]})]})]})]})]})}var e5=e.i(52928);e.s(["DashboardShell",0,function({children:e,integrations:s}){let n=(0,r.usePathname)(),i="/login"===n||n.startsWith("/governor/share/"),[l,o]=(0,a.useState)(!1);!function({enabled:e=!0}={}){let[t,r]=(0,a.useState)(!1),{addToast:s}=(0,e5.d)(),n=(0,a.useRef)(s);n.current=s;let i=(0,a.useRef)(null),l=(0,a.useRef)(null),o=(0,a.useCallback)(()=>{if(!e)return;let t=new EventSource("/api/proxy/events/stream");for(let e of(i.current=t,t.onopen=()=>{r(!0),el.f.setConnected(!0)},["deploy:status","node:status","command:status","alert:fired"]))t.addEventListener(e,t=>{try{let a=JSON.parse(t.data),r=function(e){let t=e.type??"",a=e.nodeName??"Unknown";switch(t){case"deploy.started":return{title:`Deploying to ${a}`,severity:"info"};case"deploy.completed":return{title:`Deploy complete: ${a}`,severity:"success"};case"deploy.failed":return{title:`Deploy failed: ${a}`,message:e.message??void 0,severity:"error"};case"upgrade.started":return{title:`Upgrading ${a}`,severity:"info"};case"upgrade.completed":return{title:`Upgrade complete: ${a}`,message:`v${e.version}`,severity:"success"};case"upgrade.failed":return{title:`Upgrade failed: ${a}`,message:e.message??void 0,severity:"error"};case"node.recovered":return{title:`${a} back online`,message:`Recovered from ${e.previousStatus}`,severity:"success"};case"command.completed":return{title:"Command completed",message:`${e.command}`,severity:"success"};case"command.failed":return{title:"Command failed",message:`${e.command} (exit ${e.exitCode})`,severity:"error"};case"health.alert":return{title:`Alert: ${e.metric?.replaceAll("_"," ").toUpperCase()} on ${a}`,message:`${e.value?.toFixed(1)}% (threshold: ${e.threshold}%)`,severity:e.severity??"warning"};default:return null}}(a);r&&n.current(r),el.f.push(r?{...r,channel:e}:{title:String(a.type??e).replaceAll("."," "),message:"string"==typeof a.nodeName?a.nodeName:void 0,severity:"info",channel:e})}catch{}});return t.onerror=()=>{r(!1),el.f.setConnected(!1),t.close(),fetch("/api/auth/me",{cache:"no-store"}).then(e=>{if(i.current===t){if(401===e.status)return void window.location.replace("/login");l.current=setTimeout(o,5e3)}}).catch(()=>{i.current===t&&(l.current=setTimeout(o,5e3))})},t},[e]);(0,a.useEffect)(()=>{let e=o();return()=>{l.current&&clearTimeout(l.current),e?.close(),i.current?.close(),el.f.setConnected(!1),i.current=null}},[o])}({enabled:!i}),(0,a.useEffect)(()=>{o(!1)},[n]);let c=(0,a.useCallback)(()=>o(e=>!e),[]);return i?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsxs)("div",{className:"flex h-screen overflow-hidden",children:[l&&(0,t.jsx)("div",{className:"fixed inset-0 z-40 bg-black/70 backdrop-blur-[2px] md:hidden",onClick:()=>o(!1)}),(0,t.jsx)("div",{className:`
2
- fixed inset-y-0 left-0 z-50 transform transition-transform duration-200 ease-in-out md:relative md:h-full md:translate-x-0
3
- ${l?"translate-x-0":"-translate-x-full"}
4
- `,children:(0,t.jsx)(eu,{integrations:s})}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col overflow-hidden",children:[(0,t.jsx)(eR,{onMenuToggle:c}),(0,t.jsxs)("main",{className:"app-backdrop relative flex-1 overflow-y-auto p-3 md:p-6",children:[(0,t.jsx)(e2,{}),e]})]}),(0,t.jsx)(eQ,{})]})}],40073)},52928,e=>{var t=e.i(43476),a=e.i(71645),r=e.i(53138),s=e.i(51757),n=e.i(10818),i=e.i(63676),l=e.i(83967);let o=(0,a.createContext)(null),c=0,d={info:{bar:"bg-primary",border:"border-primary/40",text:"text-primary",glow:"shadow-[0_0_20px_var(--color-glow)]",Icon:n.f},success:{bar:"bg-success",border:"border-success/40",text:"text-success",glow:"shadow-[0_0_20px_var(--color-glow-success)]",Icon:s.f},warning:{bar:"bg-warning",border:"border-warning/40",text:"text-warning",glow:"shadow-[0_0_20px_var(--color-glow-warning)]",Icon:r.f},error:{bar:"bg-danger",border:"border-danger/40",text:"text-danger",glow:"shadow-[0_0_20px_var(--color-glow-danger)]",Icon:l.f}};function m({toasts:e,onRemove:a}){return 0===e.length?null:(0,t.jsx)("div",{role:"status","aria-live":"polite",className:"fixed bottom-4 right-4 z-(--z-toast) flex max-w-sm flex-col gap-2",children:e.map(e=>{let r=d[e.severity],s=r.Icon;return(0,t.jsxs)("div",{className:`relative overflow-hidden rounded-panel border ${r.border} ${r.glow} bg-surface/95 py-3 pl-4 pr-3 text-text backdrop-blur-sm animate-toast-in`,children:[(0,t.jsx)("span",{"aria-hidden":"true",className:`absolute inset-y-0 left-0 w-0.5 ${r.bar}`}),(0,t.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,t.jsx)(s,{className:`mt-0.5 h-4 w-4 shrink-0 ${r.text}`,"aria-hidden":"true"}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("p",{className:`text-xs font-bold uppercase leading-tight tracking-wider ${r.text}`,children:e.title}),e.message&&(0,t.jsx)("p",{className:"mt-1 line-clamp-2 text-[11px] text-text-muted",children:e.message})]}),(0,t.jsx)("button",{onClick:()=>a(e.id),"aria-label":"Dismiss notification",className:"ml-2 shrink-0 text-text-muted transition-colors hover:text-text",children:(0,t.jsx)(i.X,{className:"h-3.5 w-3.5"})})]}),(0,t.jsx)("span",{"aria-hidden":"true",className:`absolute bottom-0 left-0 h-px w-full origin-left opacity-60 ${r.bar}`,style:{animation:`toast-progress ${"error"===e.severity?10:6}s linear forwards`}})]},e.id)})})}e.s(["N",0,function({children:e}){let[r,s]=(0,a.useState)([]),n=(0,a.useCallback)(e=>{s(t=>t.filter(t=>t.id!==e))},[]),i=(0,a.useCallback)(e=>{let t=`toast-${++c}`,a={...e,id:t,createdAt:Date.now()};s(e=>[...e.slice(-9),a]),setTimeout(()=>n(t),"error"===e.severity?1e4:6e3)},[n]);return(0,t.jsxs)(o.Provider,{value:{toasts:r,addToast:i,removeToast:n},children:[e,(0,t.jsx)(m,{toasts:r,onRemove:n})]})},"d",0,function(){let e=(0,a.useContext)(o);if(!e)throw Error("useToast must be used within a ToastProvider");return e}])}])})();