@sleep2agi/agent-network-dashboard 0.4.0-preview.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/diagnostics/route-bundle-stats.json +2 -2
  5. package/.next/fallback-build-manifest.json +3 -3
  6. package/.next/server/app/_global-error.html +1 -1
  7. package/.next/server/app/_global-error.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  13. package/.next/server/app/_not-found.html +1 -1
  14. package/.next/server/app/_not-found.rsc +1 -1
  15. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  16. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  19. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  20. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  21. package/.next/server/app/admin.html +1 -1
  22. package/.next/server/app/admin.rsc +1 -1
  23. package/.next/server/app/admin.segments/_full.segment.rsc +1 -1
  24. package/.next/server/app/admin.segments/_head.segment.rsc +1 -1
  25. package/.next/server/app/admin.segments/_index.segment.rsc +1 -1
  26. package/.next/server/app/admin.segments/_tree.segment.rsc +1 -1
  27. package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +1 -1
  28. package/.next/server/app/admin.segments/admin.segment.rsc +1 -1
  29. package/.next/server/app/index.html +2 -2
  30. package/.next/server/app/index.rsc +2 -2
  31. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  32. package/.next/server/app/index.segments/_full.segment.rsc +2 -2
  33. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  34. package/.next/server/app/index.segments/_index.segment.rsc +1 -1
  35. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  36. package/.next/server/app/login.html +1 -1
  37. package/.next/server/app/login.rsc +1 -1
  38. package/.next/server/app/login.segments/_full.segment.rsc +1 -1
  39. package/.next/server/app/login.segments/_head.segment.rsc +1 -1
  40. package/.next/server/app/login.segments/_index.segment.rsc +1 -1
  41. package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  42. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +1 -1
  43. package/.next/server/app/login.segments/login.segment.rsc +1 -1
  44. package/.next/server/app/logs.html +1 -1
  45. package/.next/server/app/logs.rsc +1 -1
  46. package/.next/server/app/logs.segments/_full.segment.rsc +1 -1
  47. package/.next/server/app/logs.segments/_head.segment.rsc +1 -1
  48. package/.next/server/app/logs.segments/_index.segment.rsc +1 -1
  49. package/.next/server/app/logs.segments/_tree.segment.rsc +1 -1
  50. package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +1 -1
  51. package/.next/server/app/logs.segments/logs.segment.rsc +1 -1
  52. package/.next/server/app/messages.html +1 -1
  53. package/.next/server/app/messages.rsc +1 -1
  54. package/.next/server/app/messages.segments/_full.segment.rsc +1 -1
  55. package/.next/server/app/messages.segments/_head.segment.rsc +1 -1
  56. package/.next/server/app/messages.segments/_index.segment.rsc +1 -1
  57. package/.next/server/app/messages.segments/_tree.segment.rsc +1 -1
  58. package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +1 -1
  59. package/.next/server/app/messages.segments/messages.segment.rsc +1 -1
  60. package/.next/server/app/node.html +1 -1
  61. package/.next/server/app/node.rsc +1 -1
  62. package/.next/server/app/node.segments/_full.segment.rsc +1 -1
  63. package/.next/server/app/node.segments/_head.segment.rsc +1 -1
  64. package/.next/server/app/node.segments/_index.segment.rsc +1 -1
  65. package/.next/server/app/node.segments/_tree.segment.rsc +1 -1
  66. package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +1 -1
  67. package/.next/server/app/node.segments/node.segment.rsc +1 -1
  68. package/.next/server/app/nodes.html +1 -1
  69. package/.next/server/app/nodes.rsc +1 -1
  70. package/.next/server/app/nodes.segments/_full.segment.rsc +1 -1
  71. package/.next/server/app/nodes.segments/_head.segment.rsc +1 -1
  72. package/.next/server/app/nodes.segments/_index.segment.rsc +1 -1
  73. package/.next/server/app/nodes.segments/_tree.segment.rsc +1 -1
  74. package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +1 -1
  75. package/.next/server/app/nodes.segments/nodes.segment.rsc +1 -1
  76. package/.next/server/app/page_client-reference-manifest.js +1 -1
  77. package/.next/server/app/server-logs.html +1 -1
  78. package/.next/server/app/server-logs.rsc +1 -1
  79. package/.next/server/app/server-logs.segments/_full.segment.rsc +1 -1
  80. package/.next/server/app/server-logs.segments/_head.segment.rsc +1 -1
  81. package/.next/server/app/server-logs.segments/_index.segment.rsc +1 -1
  82. package/.next/server/app/server-logs.segments/_tree.segment.rsc +1 -1
  83. package/.next/server/app/server-logs.segments/server-logs/__PAGE__.segment.rsc +1 -1
  84. package/.next/server/app/server-logs.segments/server-logs.segment.rsc +1 -1
  85. package/.next/server/app/settings/networks.html +1 -1
  86. package/.next/server/app/settings/networks.rsc +1 -1
  87. package/.next/server/app/settings/networks.segments/_full.segment.rsc +1 -1
  88. package/.next/server/app/settings/networks.segments/_head.segment.rsc +1 -1
  89. package/.next/server/app/settings/networks.segments/_index.segment.rsc +1 -1
  90. package/.next/server/app/settings/networks.segments/_tree.segment.rsc +1 -1
  91. package/.next/server/app/settings/networks.segments/settings/networks/__PAGE__.segment.rsc +1 -1
  92. package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +1 -1
  93. package/.next/server/app/settings/networks.segments/settings.segment.rsc +1 -1
  94. package/.next/server/app/settings/tokens.html +1 -1
  95. package/.next/server/app/settings/tokens.rsc +1 -1
  96. package/.next/server/app/settings/tokens.segments/_full.segment.rsc +1 -1
  97. package/.next/server/app/settings/tokens.segments/_head.segment.rsc +1 -1
  98. package/.next/server/app/settings/tokens.segments/_index.segment.rsc +1 -1
  99. package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +1 -1
  100. package/.next/server/app/settings/tokens.segments/settings/tokens/__PAGE__.segment.rsc +1 -1
  101. package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +1 -1
  102. package/.next/server/app/settings/tokens.segments/settings.segment.rsc +1 -1
  103. package/.next/server/app/settings.html +1 -1
  104. package/.next/server/app/settings.rsc +1 -1
  105. package/.next/server/app/settings.segments/_full.segment.rsc +1 -1
  106. package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  107. package/.next/server/app/settings.segments/_index.segment.rsc +1 -1
  108. package/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
  109. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
  110. package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  111. package/.next/server/app/tasks.html +1 -1
  112. package/.next/server/app/tasks.rsc +1 -1
  113. package/.next/server/app/tasks.segments/_full.segment.rsc +1 -1
  114. package/.next/server/app/tasks.segments/_head.segment.rsc +1 -1
  115. package/.next/server/app/tasks.segments/_index.segment.rsc +1 -1
  116. package/.next/server/app/tasks.segments/_tree.segment.rsc +1 -1
  117. package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +1 -1
  118. package/.next/server/app/tasks.segments/tasks.segment.rsc +1 -1
  119. package/.next/server/chunks/ssr/app_page_tsx_0es_sk2._.js +1 -1
  120. package/.next/server/chunks/ssr/app_page_tsx_0es_sk2._.js.map +1 -1
  121. package/.next/server/middleware-build-manifest.js +3 -3
  122. package/.next/server/pages/404.html +1 -1
  123. package/.next/server/pages/500.html +1 -1
  124. package/.next/static/chunks/15zvpw79~w1am.js +1 -0
  125. package/.next/trace +2 -2
  126. package/.next/trace-build +1 -1
  127. package/app/components/TopoGraph.tsx +7 -4
  128. package/app/components/types.ts +1 -0
  129. package/app/page.tsx +6 -2
  130. package/package.json +1 -1
  131. package/tsconfig.tsbuildinfo +1 -0
  132. package/.next/static/chunks/0wkxts8wri2er.js +0 -1
  133. /package/.next/static/{TiDWPnTdwl4UAFFsW9Wa9 → uU1wGbI_S8fELsbm2sCaS}/_buildManifest.js +0 -0
  134. /package/.next/static/{TiDWPnTdwl4UAFFsW9Wa9 → uU1wGbI_S8fELsbm2sCaS}/_clientMiddlewareManifest.js +0 -0
  135. /package/.next/static/{TiDWPnTdwl4UAFFsW9Wa9 → uU1wGbI_S8fELsbm2sCaS}/_ssgManifest.js +0 -0
@@ -9,4 +9,4 @@ try {
9
9
  w-52
10
10
  -translate-x-full
11
11
  lg:translate-x-0 lg:static lg:shrink-0
12
- "><div class="px-4 py-5 border-b border-[#2a2a4a] "><div><div class="text-white font-bold text-sm">Agent Network</div><div class="text-gray-600 text-xs">Dashboard</div></div></div><div class="pb-20"><nav class="flex flex-col gap-1 px-2 py-4"><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg><span>Overview</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/tasks"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path></svg><span>Tasks</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/nodes"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14M5 12a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v4a2 2 0 01-2 2M5 12a2 2 0 00-2 2v4a2 2 0 002 2h14a2 2 0 002-2v-4a2 2 0 00-2-2m-2-4h.01M17 16h.01"></path></svg><span>Nodes</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/messages"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path></svg><span>Messages</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/settings/networks"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"></path></svg><span>Networks</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/logs"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg><span>Audit Log</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/server-logs"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg><span>Server Logs</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/admin"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"></path></svg><span>Admin</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/settings"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.066 2.573c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.573 1.066c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.066-2.573c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path></svg><span>Settings</span></a></nav></div><div class="absolute bottom-0 left-0 right-0 border-t border-[#2a2a4a] bg-[#0d0d1a]"><button class="w-full flex items-center gap-3 px-5 py-3 text-xs text-gray-500 hover:text-red-400 hover:bg-red-500/5 transition-colors"><svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15m3 0l3-3m0 0l-3-3m3 3H9"></path></svg>Sign out</button><div class="flex items-center gap-2 px-3 py-2 justify-between"><div class="relative"><button aria-label="切换主题" class="px-2.5 py-1.5 rounded-md text-xs flex items-center gap-1.5 hover:opacity-80 transition-opacity" style="background:var(--bg-elevated);color:var(--fg);border:1px solid var(--border)"><span aria-hidden="true">🌃</span><span>Cyber</span></button></div><button class="hidden lg:flex p-1.5 rounded text-gray-600 hover:text-gray-400 transition-colors" aria-label="Collapse sidebar"><svg class="w-4 h-4 transition-transform " fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path></svg></button></div></div></aside><main class="flex-1 min-w-0"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main></div><script src="/_next/static/chunks/0xrnwfefpke-g.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[84128,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"ThemeProvider\"]\n3:I[58963,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"NetworkProvider\"]\n4:I[25045,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"AppShell\"]\n5:I[39756,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\"]\n6:I[37457,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\"]\n7:I[97367,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\nb:I[97367,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"ViewportBoundary\"]\nd:I[97367,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"MetadataBoundary\"]\nf:I[68027,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0_b22ht_r8.-s.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0_b22ht_r8.-s.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/14bsg3_-taiw4.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"cyber\",\"className\":\"geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\ntry {\\n var t = localStorage.getItem('anet-theme') || 'cyber';\\n document.documentElement.setAttribute('data-theme', t);\\n} catch (e) {}\\n\"}}]}],[\"$\",\"body\",null,{\"className\":\"min-h-full\",\"style\":{\"background\":\"var(--bg)\",\"color\":\"var(--fg)\"},\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],{},null,false,null]},null,false,\"$@a\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0_b22ht_r8.-s.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"TiDWPnTdwl4UAFFsW9Wa9\"}\n"])</script><script>self.__next_f.push([1,"10:[]\na:\"$W10\"\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0a0a1a\"}]]\n"])</script><script>self.__next_f.push([1,"11:I[27201,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"IconMark\"]\n9:null\ne:[[\"$\",\"title\",\"0\",{\"children\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes via CommHub\"}],[\"$\",\"meta\",\"2\",{\"property\":\"og:title\",\"content\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"3\",{\"property\":\"og:description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"5\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"6\",{\"name\":\"twitter:title\",\"content\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"7\",{\"name\":\"twitter:description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes\"}],[\"$\",\"link\",\"8\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"link\",\"9\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\"}],[\"$\",\"$L11\",\"10\",{}]]\n"])</script></body></html>
12
+ "><div class="px-4 py-5 border-b border-[#2a2a4a] "><div><div class="text-white font-bold text-sm">Agent Network</div><div class="text-gray-600 text-xs">Dashboard</div></div></div><div class="pb-20"><nav class="flex flex-col gap-1 px-2 py-4"><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg><span>Overview</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/tasks"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path></svg><span>Tasks</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/nodes"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14M5 12a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v4a2 2 0 01-2 2M5 12a2 2 0 00-2 2v4a2 2 0 002 2h14a2 2 0 002-2v-4a2 2 0 00-2-2m-2-4h.01M17 16h.01"></path></svg><span>Nodes</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/messages"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path></svg><span>Messages</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/settings/networks"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"></path></svg><span>Networks</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/logs"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg><span>Audit Log</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/server-logs"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg><span>Server Logs</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/admin"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"></path></svg><span>Admin</span></a><a class="flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#1a1a3a] text-gray-400 hover:text-gray-200 hover:bg-[#1a1a2a] " href="/settings"><svg class="w-5 h-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.066 2.573c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.573 1.066c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.066-2.573c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path></svg><span>Settings</span></a></nav></div><div class="absolute bottom-0 left-0 right-0 border-t border-[#2a2a4a] bg-[#0d0d1a]"><button class="w-full flex items-center gap-3 px-5 py-3 text-xs text-gray-500 hover:text-red-400 hover:bg-red-500/5 transition-colors"><svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15m3 0l3-3m0 0l-3-3m3 3H9"></path></svg>Sign out</button><div class="flex items-center gap-2 px-3 py-2 justify-between"><div class="relative"><button aria-label="切换主题" class="px-2.5 py-1.5 rounded-md text-xs flex items-center gap-1.5 hover:opacity-80 transition-opacity" style="background:var(--bg-elevated);color:var(--fg);border:1px solid var(--border)"><span aria-hidden="true">🌃</span><span>Cyber</span></button></div><button class="hidden lg:flex p-1.5 rounded text-gray-600 hover:text-gray-400 transition-colors" aria-label="Collapse sidebar"><svg class="w-4 h-4 transition-transform " fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7"></path></svg></button></div></div></aside><main class="flex-1 min-w-0"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main></div><script src="/_next/static/chunks/0xrnwfefpke-g.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[84128,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"ThemeProvider\"]\n3:I[58963,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"NetworkProvider\"]\n4:I[25045,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"AppShell\"]\n5:I[39756,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\"]\n6:I[37457,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\"]\n7:I[97367,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\nb:I[97367,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"ViewportBoundary\"]\nd:I[97367,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"MetadataBoundary\"]\nf:I[68027,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0_b22ht_r8.-s.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0_b22ht_r8.-s.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/14bsg3_-taiw4.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"cyber\",\"className\":\"geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\ntry {\\n var t = localStorage.getItem('anet-theme') || 'cyber';\\n document.documentElement.setAttribute('data-theme', t);\\n} catch (e) {}\\n\"}}]}],[\"$\",\"body\",null,{\"className\":\"min-h-full\",\"style\":{\"background\":\"var(--bg)\",\"color\":\"var(--fg)\"},\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],{},null,false,null]},null,false,\"$@a\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0_b22ht_r8.-s.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"uU1wGbI_S8fELsbm2sCaS\"}\n"])</script><script>self.__next_f.push([1,"10:[]\na:\"$W10\"\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0a0a1a\"}]]\n"])</script><script>self.__next_f.push([1,"11:I[27201,[\"/_next/static/chunks/0gjbwb8u5wd72.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"IconMark\"]\n9:null\ne:[[\"$\",\"title\",\"0\",{\"children\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes via CommHub\"}],[\"$\",\"meta\",\"2\",{\"property\":\"og:title\",\"content\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"3\",{\"property\":\"og:description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"5\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"6\",{\"name\":\"twitter:title\",\"content\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"7\",{\"name\":\"twitter:description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes\"}],[\"$\",\"link\",\"8\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"link\",\"9\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\"}],[\"$\",\"$L11\",\"10\",{}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0xrnwfefpke-g.js"/><script src="/_next/static/chunks/0pqt~8bl3ukh4.js" async=""></script><script src="/_next/static/chunks/0u359llqm1_01.js" async=""></script><script src="/_next/static/chunks/0e-wrhqh4h3r5.js" async=""></script><script src="/_next/static/chunks/turbopack-0vsvjs02l449s.js" async=""></script><script src="/_next/static/chunks/01xlw8hd842-c.js" async=""></script><script src="/_next/static/chunks/14bsg3_-taiw4.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="icon" href="/favicon.ico?favicon.0x3dzn~oxb6tn.ico" sizes="256x256" type="image/x-icon"/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0xrnwfefpke-g.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"TiDWPnTdwl4UAFFsW9Wa9\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[27201,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0xrnwfefpke-g.js"/><script src="/_next/static/chunks/0pqt~8bl3ukh4.js" async=""></script><script src="/_next/static/chunks/0u359llqm1_01.js" async=""></script><script src="/_next/static/chunks/0e-wrhqh4h3r5.js" async=""></script><script src="/_next/static/chunks/turbopack-0vsvjs02l449s.js" async=""></script><script src="/_next/static/chunks/01xlw8hd842-c.js" async=""></script><script src="/_next/static/chunks/14bsg3_-taiw4.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="icon" href="/favicon.ico?favicon.0x3dzn~oxb6tn.ico" sizes="256x256" type="image/x-icon"/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/0xrnwfefpke-g.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"uU1wGbI_S8fELsbm2sCaS\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[27201,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/14bsg3_-taiw4.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"1\",{}]]\n"])</script></body></html>
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31713,e=>{"use strict";var t=e.i(47167),s=e.i(18050),a=e.i(71645),r=e.i(22016),l=e.i(18150);function n({online:e,working:t,total:a,version:r,uptime:l}){let o=a>0?Math.round(e/a*100):0;return(0,s.jsxs)("div",{className:"mb-8",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-3 mb-4",children:[(0,s.jsx)("h1",{className:"text-2xl font-bold text-white tracking-tight",children:"Agent Network"}),(0,s.jsxs)("span",{className:"text-xs text-gray-500",children:["CommHub ",r," · ",l]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3",children:[(0,s.jsx)(i,{value:e,label:"Online",sub:`${o}% of fleet`,color:"text-green-400",accent:"from-green-500/20 to-green-500/0",border:"border-green-500/15"}),(0,s.jsx)(i,{value:t,label:"Working",sub:e>0?`${Math.round(t/e*100)}% utilization`:"--",color:"text-cyan-400",accent:"from-cyan-500/20 to-cyan-500/0",border:"border-cyan-500/15"}),(0,s.jsx)(i,{value:a-e,label:"Offline",sub:a-e==0?"All systems go":`${a-e} disconnected`,color:"text-gray-400",accent:"from-gray-500/10 to-gray-500/0",border:"border-gray-500/15"}),(0,s.jsx)(i,{value:a,label:"Total",sub:"Registered nodes",color:"text-white",accent:"from-blue-500/15 to-blue-500/0",border:"border-blue-500/15"})]})]})}function i({value:e,label:t,sub:a,color:r,accent:l,border:n}){return(0,s.jsxs)("div",{className:`relative overflow-hidden rounded-xl border ${n} bg-[#111128] px-4 py-3`,children:[(0,s.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${l} pointer-events-none`}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:`text-3xl font-bold ${r} tabular-nums leading-tight`,children:e}),(0,s.jsx)("div",{className:"text-sm text-gray-300 mt-0.5",children:t}),(0,s.jsx)("div",{className:"text-xs text-gray-600 mt-1",children:a})]})]})}function o(){let[e,t]=(0,a.useState)(""),[r,l]=(0,a.useState)(!1),[n,i]=(0,a.useState)(""),o=async()=>{if(e.trim()){l(!0),i("");try{let s=await fetch("/api/hub/broadcast",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:e})}),a=await s.json();a.ok?(i(`Broadcast sent to ${a.recipients} node(s)`),t("")):i(`Failed: ${a.error||"Send error"}`)}catch(e){i(`Failed: ${e instanceof Error?e.message:"Send error"}`)}l(!1),setTimeout(()=>i(""),5e3)}};return(0,s.jsxs)("div",{className:"mb-6",children:[(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("input",{type:"text",value:e,onChange:e=>t(e.target.value),onKeyDown:e=>"Enter"===e.key&&o(),placeholder:"Broadcast message to all online agents...",maxLength:500,"aria-label":"Broadcast message",className:"flex-1 bg-[#111128] border border-[#2a2a4a] rounded-lg px-4 py-2.5 text-sm text-white placeholder-gray-600 focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/20 focus:outline-none transition-colors"}),(0,s.jsx)("button",{onClick:o,disabled:r||!e.trim(),"aria-label":"Send broadcast",className:"px-5 py-2.5 bg-blue-600 hover:bg-blue-500 disabled:bg-gray-800 disabled:text-gray-600 text-white text-sm rounded-lg transition-all font-medium cursor-pointer disabled:cursor-not-allowed",children:r?"Sending...":"Broadcast"})]}),e.length>0&&(0,s.jsxs)("div",{className:"text-right text-xs text-gray-600 mt-1",children:[e.length,"/500"]}),n&&(0,s.jsx)("div",{className:`mt-3 text-sm text-center ${n.startsWith("Failed")?"text-red-400":"text-green-400/80"} animate-fade-in`,children:n})]})}function d(e,t,s){let a=t<=2?Math.PI:1.78*Math.PI,r=-Math.PI/2-a/2,l=t<=1?-Math.PI/2:r+a*e/(t-1);return{x:500+s*Math.cos(l),y:330+s*Math.sin(l)}}function c(e,t,s=0){let a=(e.x+t.x)/2,r=(e.y+t.y)/2,l=t.x-e.x,n=t.y-e.y,i=Math.hypot(l,n)||1,o={x:a+-n/i*s,y:r+l/i*s};return`M${e.x},${e.y} Q${o.x},${o.y} ${t.x},${t.y}`}function x(e,t){return e.length>t?`${e.slice(0,t-1)}...`:e}function h({sessions:e,sseSessions:t}){let[r,l]=(0,a.useState)([]);(0,a.useEffect)(()=>{let e=async()=>{try{let e=await fetch("/api/hub/messages?limit=50");if(401===e.status)return void window.location.assign("/login");let t=await e.json();l(t.messages||[])}catch{}};e();let t=setInterval(e,5e3);return()=>clearInterval(t)},[]);let{onlineNodes:n,offlineNodes:i,nodePositions:o,flowLinks:m,activeAliases:u}=(0,a.useMemo)(()=>{let s,a=e=>(e.network_id?t[`${e.network_id}:${e.alias}`]:void 0)??t[e.alias],l=e.filter(e=>"offline"!==e.status||a(e)),n=e.filter(e=>"offline"===e.status&&!a(e)),i={};l.forEach((e,t)=>{i[e.alias]=d(t,Math.max(l.length,1),220)}),n.forEach((e,t)=>{i[e.alias]=d(t,Math.max(n.length,1),315)});let o=(s=new Map,r.forEach(e=>{if(!i[e.from_alias]||!i[e.to_alias]||e.from_alias===e.to_alias)return;let t=`${e.from_alias}->${e.to_alias}`,a=s.get(t);s.set(t,{key:t,from:e.from_alias,to:e.to_alias,count:(a?.count||0)+1,content:a?.content||e.content})}),[...s.values()].slice(0,18)),c=new Set;return o.forEach(e=>{c.add(e.from),c.add(e.to)}),{onlineNodes:l,offlineNodes:n,nodePositions:i,flowLinks:o,activeAliases:c}},[r,e,t]),g=n.filter(e=>"working"===e.status).length;return(0,s.jsxs)("section",{className:"w-full max-w-6xl mx-auto mb-8",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between mb-3 px-1",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-xs uppercase text-gray-600 tracking-wider",children:"Network Topology"}),(0,s.jsx)("h2",{className:"text-lg text-white font-semibold",children:"Command mesh"})]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2 text-xs",children:[(0,s.jsxs)("span",{className:"px-2.5 py-1 rounded-md bg-green-500/10 text-green-300 border border-green-500/20",children:[g," working"]}),(0,s.jsxs)("span",{className:"px-2.5 py-1 rounded-md bg-cyan-500/10 text-cyan-300 border border-cyan-500/20",children:[n.length," online"]}),(0,s.jsxs)("span",{className:"px-2.5 py-1 rounded-md bg-gray-500/10 text-gray-400 border border-gray-500/20",children:[m.length," active links"]})]})]}),(0,s.jsxs)("div",{className:"relative overflow-hidden rounded-lg border border-[#2a2a4a] bg-[#080814] shadow-2xl shadow-cyan-950/30",children:[(0,s.jsx)("div",{className:"absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-cyan-400/70 to-transparent"}),(0,s.jsxs)("svg",{viewBox:"0 0 1000 680",className:"w-full h-auto block",preserveAspectRatio:"xMidYMid meet",children:[(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"topo-panel",x1:"0",x2:"1",y1:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:"#0b1220"}),(0,s.jsx)("stop",{offset:"48%",stopColor:"#080814"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"#101018"})]}),(0,s.jsxs)("radialGradient",{id:"topo-radar",cx:"50%",cy:"50%",r:"55%",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:"#22d3ee",stopOpacity:"0.18"}),(0,s.jsx)("stop",{offset:"45%",stopColor:"#22c55e",stopOpacity:"0.045"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"#020617",stopOpacity:"0"})]}),(0,s.jsxs)("filter",{id:"topo-glow",children:[(0,s.jsx)("feGaussianBlur",{stdDeviation:"4",result:"blur"}),(0,s.jsxs)("feMerge",{children:[(0,s.jsx)("feMergeNode",{in:"blur"}),(0,s.jsx)("feMergeNode",{in:"SourceGraphic"})]})]}),(0,s.jsx)("marker",{id:"topo-arrow",viewBox:"0 0 10 10",refX:"8",refY:"5",markerWidth:"5",markerHeight:"5",orient:"auto-start-reverse",children:(0,s.jsx)("path",{d:"M 0 0 L 10 5 L 0 10 z",fill:"#67e8f9"})})]}),(0,s.jsx)("rect",{width:"1000",height:"680",fill:"url(#topo-panel)"}),(0,s.jsx)("circle",{cx:500,cy:330,r:"330",fill:"url(#topo-radar)"}),[90,170,250,330].map(e=>(0,s.jsx)("circle",{cx:500,cy:330,r:e,fill:"none",stroke:"#164e63",strokeWidth:"1",opacity:"0.35"},e)),[0,30,60,90,120,150].map(e=>(0,s.jsx)("line",{x1:500-360*Math.cos(e*Math.PI/180),y1:330-360*Math.sin(e*Math.PI/180),x2:500+360*Math.cos(e*Math.PI/180),y2:330+360*Math.sin(e*Math.PI/180),stroke:"#164e63",strokeWidth:"1",opacity:"0.18"},e)),n.map(e=>{let t=o[e.alias];if(!t)return null;let a=c({x:500,y:330},t,0);return(0,s.jsx)("path",{d:a,fill:"none",stroke:u.has(e.alias)?"#22d3ee":"#155e75",strokeWidth:u.has(e.alias)?2:1,strokeDasharray:u.has(e.alias)?"none":"8 10",opacity:u.has(e.alias)?.65:.35},`hub-${e.alias}`)}),m.map((e,t)=>{let a=o[e.from],r=o[e.to];if(!a||!r)return null;let l=c(a,r,t%2==0?36:-36),n=Math.min(2+e.count,7);return(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{d:l,fill:"none",stroke:"#67e8f9",strokeWidth:n,opacity:"0.28",filter:"url(#topo-glow)",markerEnd:"url(#topo-arrow)"}),(0,s.jsx)("path",{id:`flow-path-${t}`,d:l,fill:"none",stroke:"#e0f2fe",strokeWidth:"1",strokeDasharray:"2 12",opacity:"0.75"}),(0,s.jsx)("circle",{r:"4",fill:"#fef08a",filter:"url(#topo-glow)",children:(0,s.jsx)("animateMotion",{dur:`${2.2+t%5*.32}s`,repeatCount:"indefinite",path:l})})]},e.key)}),(0,s.jsxs)("g",{filter:"url(#topo-glow)",children:[(0,s.jsx)("circle",{cx:500,cy:330,r:"56",fill:"#020617",stroke:"#67e8f9",strokeWidth:"2"}),(0,s.jsxs)("circle",{cx:500,cy:330,r:"42",fill:"none",stroke:"#22c55e",strokeWidth:"1.5",opacity:"0.8",children:[(0,s.jsx)("animate",{attributeName:"r",values:"42;52;42",dur:"3s",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"opacity",values:"0.8;0.2;0.8",dur:"3s",repeatCount:"indefinite"})]}),(0,s.jsx)("path",{d:"M470 330 h60 M500 300 v60",stroke:"#e0f2fe",strokeWidth:"5",strokeLinecap:"round",opacity:"0.9"}),(0,s.jsx)("text",{x:500,y:408,textAnchor:"middle",fill:"#e5e7eb",fontSize:"16",fontFamily:"monospace",fontWeight:"700",children:"DASHBOARD"}),(0,s.jsx)("text",{x:500,y:426,textAnchor:"middle",fill:"#64748b",fontSize:"10",fontFamily:"monospace",children:"command relay"})]}),[...n,...i].map(e=>{let a=o[e.alias];if(!a)return null;let r=(e.network_id?t[`${e.network_id}:${e.alias}`]:void 0)??t[e.alias],l="offline"!==e.status||!!r,n=l?"working"===e.status?{label:"working",primary:"#22c55e",halo:"#14532d",text:"#dcfce7"}:"idle"===e.status?{label:"idle",primary:"#2dd4bf",halo:"#134e4a",text:"#ccfbf1"}:{label:e.status||"online",primary:"#38bdf8",halo:"#0c4a6e",text:"#e0f2fe"}:{label:"offline",primary:"#6b7280",halo:"#111827",text:"#9ca3af"},i=u.has(e.alias),d=l?26:18;return(0,s.jsxs)("g",{className:"transition-opacity",children:[i&&(0,s.jsxs)("circle",{cx:a.x,cy:a.y,r:d+14,fill:n.primary,opacity:"0.12",children:[(0,s.jsx)("animate",{attributeName:"r",values:`${d+8};${d+22};${d+8}`,dur:"2.4s",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"opacity",values:"0.18;0.04;0.18",dur:"2.4s",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:a.x,cy:a.y,r:d+8,fill:n.halo,opacity:l?.55:.25}),(0,s.jsx)("circle",{cx:a.x,cy:a.y,r:d,fill:l?"#020617":"#080814",stroke:n.primary,strokeWidth:l?3:1.5,strokeDasharray:l?"none":"5 5",filter:l?"url(#topo-glow)":void 0}),(0,s.jsx)("circle",{cx:a.x,cy:a.y,r:l?8:5,fill:n.primary}),"working"===e.status&&(0,s.jsx)("path",{d:`M${a.x-9},${a.y+11} h18`,stroke:"#fef08a",strokeWidth:"3",strokeLinecap:"round",children:(0,s.jsx)("animate",{attributeName:"opacity",values:"1;0.25;1",dur:"1.1s",repeatCount:"indefinite"})}),(0,s.jsxs)("g",{transform:`translate(${a.x}, ${a.y+d+22})`,children:[(0,s.jsx)("rect",{x:"-62",y:"-14",width:"124",height:"42",rx:"6",fill:"#020617",stroke:"#1f2937",opacity:"0.94"}),(0,s.jsx)("text",{x:"0",y:"1",textAnchor:"middle",fill:n.text,fontSize:"12",fontFamily:"monospace",fontWeight:"700",children:x(e.alias,14)}),(0,s.jsxs)("text",{x:"0",y:"17",textAnchor:"middle",fill:n.primary,fontSize:"9",fontFamily:"monospace",children:[n.label,l&&null!=r?` sse:${r}`:""]})]})]},e.alias)}),(0,s.jsxs)("g",{transform:"translate(28, 34)",children:[(0,s.jsx)("rect",{x:"0",y:"0",width:"285",height:60+20*Math.min(m.length,4),rx:"8",fill:"#020617",stroke:"#1f2937",opacity:"0.94"}),(0,s.jsx)("text",{x:"16",y:"26",fill:"#e5e7eb",fontSize:"13",fontFamily:"monospace",fontWeight:"700",children:"recent signal"}),(0,s.jsxs)("text",{x:"178",y:"26",fill:"#67e8f9",fontSize:"11",fontFamily:"monospace",children:[r.length," messages"]}),m.slice(0,4).map((e,t)=>(0,s.jsxs)("text",{x:"16",y:54+20*t,fill:"#94a3b8",fontSize:"10",fontFamily:"monospace",children:[x(e.from,8)," ","->"," ",x(e.to,8)," / ",e.count," / ",x(e.content,18)]},e.key))]}),(0,s.jsxs)("g",{transform:"translate(720, 34)",children:[(0,s.jsx)("rect",{x:"0",y:"0",width:"250",height:"112",rx:"8",fill:"#020617",stroke:"#1f2937",opacity:"0.94"}),(0,s.jsx)("circle",{cx:"18",cy:"26",r:"6",fill:"#22c55e"}),(0,s.jsx)("text",{x:"34",y:"30",fill:"#94a3b8",fontSize:"11",fontFamily:"monospace",children:"working node"}),(0,s.jsx)("circle",{cx:"18",cy:"52",r:"6",fill:"#2dd4bf"}),(0,s.jsx)("text",{x:"34",y:"56",fill:"#94a3b8",fontSize:"11",fontFamily:"monospace",children:"online idle"}),(0,s.jsx)("circle",{cx:"18",cy:"78",r:"6",fill:"#6b7280"}),(0,s.jsx)("text",{x:"34",y:"82",fill:"#94a3b8",fontSize:"11",fontFamily:"monospace",children:"offline / no SSE"}),(0,s.jsx)("path",{d:"M150,78 Q176,52 210,78",fill:"none",stroke:"#67e8f9",strokeWidth:"3",markerEnd:"url(#topo-arrow)"})]})]})]})]})}let m={working:{bg:"bg-green-900/30 border-green-800/30",text:"text-green-300",dot:"bg-green-500",glow:"shadow-green-500/10"},idle:{bg:"bg-cyan-900/30 border-cyan-800/30",text:"text-cyan-300",dot:"bg-cyan-400",glow:"shadow-cyan-500/5"},blocked:{bg:"bg-yellow-900/30 border-yellow-800/30",text:"text-yellow-300",dot:"bg-yellow-500",glow:""},error:{bg:"bg-red-900/30 border-red-800/30",text:"text-red-300",dot:"bg-red-500",glow:""}},u={bg:"bg-gray-800/50 border-gray-700/30",text:"text-gray-500",dot:"bg-gray-500",glow:""};function g({session:e,hasSse:t,sseCount:a,onChat:n}){let i=t&&m[e.status]||u;return(0,s.jsxs)(r.default,{href:`/node?alias=${encodeURIComponent(e.alias)}`,prefetch:!1,className:`block rounded-xl border p-4 transition-all duration-300 cursor-pointer ${t?`bg-[#111128] border-[#2a2a4a] hover:border-cyan-500/30 hover:shadow-lg ${i.glow}`:"bg-[#0d0d1a] border-[#1a1a2a] opacity-40"}`,children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,s.jsx)("span",{className:`inline-block w-2 h-2 rounded-full shrink-0 ${i.dot} ${t&&"working"===e.status?"animate-pulse":""}`}),(0,s.jsx)("span",{className:"font-semibold text-white truncate text-sm",title:e.alias,children:e.alias})]}),(0,s.jsx)("span",{className:`text-[11px] px-2 py-0.5 rounded-md border shrink-0 ${i.bg} ${i.text}`,children:t?e.status:"offline"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,s.jsx)("span",{className:"text-xs text-gray-600 bg-[#0a0a15] px-2 py-0.5 rounded border border-[#1a1a2a]",children:e.agent||"unknown"}),t&&(0,s.jsxs)("span",{className:"text-[10px] text-green-500",children:["SSE:",a]})]}),e.task?(0,s.jsx)("div",{className:"text-xs text-gray-400 bg-[#0a0a15] rounded-lg px-3 py-2 border border-[#1a1a2a] line-clamp-2",title:e.task,children:e.task}):(0,s.jsx)("div",{className:"text-xs text-gray-700 italic",children:"No active task"}),e.progress>0&&(0,s.jsxs)("div",{className:"mt-3",children:[(0,s.jsxs)("div",{className:"flex justify-between text-[10px] mb-1",children:[(0,s.jsx)("span",{className:"text-gray-600",children:"Progress"}),(0,s.jsxs)("span",{className:i.text,children:[e.progress,"%"]})]}),(0,s.jsx)("div",{className:"w-full bg-gray-800 rounded-full h-1.5 overflow-hidden",children:(0,s.jsx)("div",{className:`h-1.5 rounded-full transition-all duration-700 ${"working"===e.status?"bg-green-500":"bg-cyan-500"}`,style:{width:`${Math.min(e.progress,100)}%`}})})]}),(0,s.jsxs)("div",{className:"mt-3 flex justify-between items-center text-[10px] text-gray-600",children:[(0,s.jsx)("span",{children:e.server||"--"}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[n&&t&&(0,s.jsx)("button",{onClick:t=>{t.preventDefault(),t.stopPropagation(),n(e.alias)},className:"text-cyan-400 hover:text-cyan-300 px-1.5 py-0.5 rounded border border-cyan-500/20 hover:bg-cyan-500/10 transition-colors",children:"Chat"}),(0,s.jsx)("span",{children:(0,l.timeAgo)(e.updated_at)})]})]})]})}function f({messages:e}){return 0===e.length?null:(0,s.jsxs)("div",{className:"mt-8",children:[(0,s.jsxs)("h2",{className:"text-lg font-semibold text-white mb-3 flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Inbox"}),(0,s.jsx)("span",{className:"text-xs bg-blue-900/30 text-blue-400 px-2 py-0.5 rounded-full border border-blue-800/30",children:e.length})]}),(0,s.jsx)("div",{className:"space-y-2 max-h-96 overflow-y-auto pr-1 scrollbar-thin",children:e.map(e=>(0,s.jsxs)("div",{className:"bg-[#111128] border border-[#2a2a4a] rounded-lg px-4 py-3 text-sm transition-colors hover:border-[#3a3a5a]",children:[(0,s.jsxs)("div",{className:"flex justify-between text-xs text-gray-500 mb-1.5",children:[(0,s.jsx)("span",{className:"text-blue-400 font-medium",children:e.from_session}),(0,s.jsx)("span",{children:e.created_at})]}),(0,s.jsx)("div",{className:"text-gray-300 leading-relaxed",children:e.content})]},e.id))})]})}function p(){return(0,s.jsxs)("div",{className:"min-h-screen bg-[#0a0a1a] text-gray-100 p-6 font-mono animate-pulse",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"h-7 w-48 bg-gray-800 rounded mb-2"}),(0,s.jsx)("div",{className:"h-4 w-64 bg-gray-800/60 rounded"})]}),(0,s.jsx)("div",{className:"flex gap-3",children:[1,2,3].map(e=>(0,s.jsx)("div",{className:"w-[72px] h-[60px] bg-gray-800/40 rounded-lg border border-gray-800"},e))})]}),(0,s.jsxs)("div",{className:"mb-6 flex gap-2",children:[(0,s.jsx)("div",{className:"flex-1 h-10 bg-gray-800/40 rounded-lg"}),(0,s.jsx)("div",{className:"w-28 h-10 bg-gray-800/40 rounded-lg"})]}),(0,s.jsx)("div",{className:"w-full max-w-4xl mx-auto mb-8 h-64 bg-gray-800/20 rounded-xl"}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4",children:[1,2,3,4].map(e=>(0,s.jsxs)("div",{className:"rounded-xl border border-gray-800/40 p-4 bg-gray-800/20",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,s.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-gray-700"}),(0,s.jsx)("div",{className:"h-4 w-24 bg-gray-700 rounded"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("div",{className:"h-3 w-full bg-gray-800/60 rounded"}),(0,s.jsx)("div",{className:"h-3 w-3/4 bg-gray-800/60 rounded"}),(0,s.jsx)("div",{className:"h-3 w-1/2 bg-gray-800/60 rounded"})]})]},e))})]})}function b({hint:e}){return(0,s.jsxs)("div",{className:"text-center py-16",children:[(0,s.jsx)("div",{className:"text-gray-600 text-4xl mb-4",children:"--"}),(0,s.jsx)("h3",{className:"text-gray-400 text-lg font-medium mb-2",children:"No agents in this network"}),e?.global_count?(0,s.jsxs)("p",{className:"text-gray-500 text-sm max-w-md mx-auto",children:["Server has ",(0,s.jsx)("span",{className:"text-cyan-400 font-medium",children:e.global_count})," nodes globally, but none are registered to the current network. Switch network or contact admin."]}):(0,s.jsx)("p",{className:"text-gray-600 text-sm max-w-md mx-auto",children:"Agent sessions will appear here once they connect to the CommHub."})]})}var y=e.i(58963);function j(){let{setNetworkId:e}=(0,y.useNetworkId)(),[t,r]=(0,a.useState)({user:null,networks:[],currentNetwork:"",token:""}),[l,n]=(0,a.useState)(!1),[i,o]=(0,a.useState)(""),[d,c]=(0,a.useState)(""),[x,h]=(0,a.useState)(""),[m,u]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=sessionStorage.getItem("anet_v3_auth");if(e)try{r(JSON.parse(e))}catch{}},[]);let[g,f]=(0,a.useState)(!1),[p,b]=(0,a.useState)(""),[j,v]=(0,a.useState)(""),w=async()=>{try{await fetch(`/api/hub/auth?token=${t.token}&endpoint=/api/auth/me`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"update_profile",token:t.token,display_name:p,email:j})});let e=await fetch("/api/hub/auth",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"update_profile",token:t.token,display_name:p,email:j})}),s=await e.json();if(s.ok&&s.user){let e={...t,user:s.user};r(e),sessionStorage.setItem("anet_v3_auth",JSON.stringify(e)),f(!1)}}catch{}};if(!t.user)return null;let N=(t.user.display_name||t.user.username).slice(0,2).toUpperCase();return(0,s.jsxs)("div",{className:"flex items-center justify-between bg-[#111128] border border-[#2a2a4a] rounded-lg px-4 py-2.5 mb-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-8 h-8 rounded-full bg-gradient-to-br from-cyan-500 to-blue-600 flex items-center justify-center text-xs font-bold text-white",children:N}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-sm text-white font-medium",children:t.user.display_name||t.user.username}),(0,s.jsxs)("div",{className:"text-[10px] text-gray-500",children:[t.user.role," · ",t.user.user_id]})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[t.networks.length>0&&(0,s.jsx)("select",{value:t.currentNetwork,onChange:s=>{let a={...t,currentNetwork:s.target.value};r(a),e(s.target.value),sessionStorage.setItem("anet_v3_auth",JSON.stringify(a))},className:"bg-[#0a0a15] border border-[#2a2a4a] rounded px-2 py-1 text-xs text-white focus:outline-none",children:t.networks.map(e=>(0,s.jsx)("option",{value:e.network_id,children:e.network_name},e.network_id))}),(0,s.jsx)("button",{onClick:()=>{b(t.user?.display_name||""),v(""),f(!g)},className:"text-xs text-gray-500 hover:text-gray-300",children:"Edit"}),(0,s.jsx)("button",{onClick:()=>{r({user:null,networks:[],currentNetwork:"",token:""}),sessionStorage.removeItem("anet_v3_auth")},className:"text-xs text-gray-500 hover:text-gray-300",children:"Sign out"})]}),g&&(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2 mt-2 pt-2 border-t border-[#2a2a4a]",children:[(0,s.jsx)("input",{type:"text",value:p,onChange:e=>b(e.target.value),placeholder:"Display name",className:"bg-[#0a0a15] border border-[#2a2a4a] rounded px-2 py-1 text-xs text-white placeholder-gray-600 focus:outline-none w-32"}),(0,s.jsx)("input",{type:"email",value:j,onChange:e=>v(e.target.value),placeholder:"Email",className:"bg-[#0a0a15] border border-[#2a2a4a] rounded px-2 py-1 text-xs text-white placeholder-gray-600 focus:outline-none w-40"}),(0,s.jsx)("button",{onClick:w,className:"px-2 py-1 bg-cyan-600 hover:bg-cyan-500 text-white text-xs rounded",children:"Save"})]})]})}var v=e.i(21373),w=e.i(58442);function N({tabs:e,activeTab:t,onOpenTab:a,onCloseTab:r,onSetActive:l,onClose:n}){return 0===e.length?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{onClick:n,className:"jsx-f7cf3d1a6fdfc074 fixed inset-0 bg-black/30 z-40 lg:hidden"}),(0,s.jsxs)("div",{className:"jsx-f7cf3d1a6fdfc074 fixed top-0 right-0 h-full w-full lg:w-[500px] bg-[#0a0a1a] border-l border-[#2a2a4a] z-50 flex flex-col shadow-2xl shadow-black/60 animate-slide-in",children:[(0,s.jsxs)("div",{className:"jsx-f7cf3d1a6fdfc074 flex items-center border-b border-[#2a2a4a] bg-[#0d0d1a] overflow-x-auto",children:[(0,s.jsx)("div",{className:"jsx-f7cf3d1a6fdfc074 flex-1 flex min-w-0",children:e.map(e=>(0,s.jsxs)("button",{onClick:()=>l(e),className:`jsx-f7cf3d1a6fdfc074 flex items-center gap-1.5 px-3 py-2.5 text-xs border-b-2 transition-colors shrink-0 ${t===e?"border-cyan-400 text-cyan-300 bg-cyan-500/5":"border-transparent text-gray-500 hover:text-gray-300"}`,children:[(0,s.jsx)("div",{className:`jsx-f7cf3d1a6fdfc074 w-2 h-2 rounded-full ${t===e?"bg-cyan-400":"bg-gray-600"}`}),(0,s.jsx)("span",{className:"jsx-f7cf3d1a6fdfc074 max-w-[80px] truncate",children:e}),(0,s.jsx)("button",{onClick:t=>{t.stopPropagation(),r(e)},className:"jsx-f7cf3d1a6fdfc074 ml-1 text-gray-600 hover:text-gray-300 p-0.5",children:"×"})]},e))}),(0,s.jsx)("button",{onClick:n,className:"jsx-f7cf3d1a6fdfc074 text-gray-500 hover:text-white px-3 py-2.5 shrink-0 border-l border-[#2a2a4a]",children:(0,s.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,className:"jsx-f7cf3d1a6fdfc074 w-4 h-4",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12",className:"jsx-f7cf3d1a6fdfc074"})})})]}),(0,s.jsx)("div",{className:"jsx-f7cf3d1a6fdfc074 flex-1 relative overflow-hidden",children:e.map(e=>(0,s.jsx)("div",{className:`jsx-f7cf3d1a6fdfc074 absolute inset-0 ${t===e?"block":"hidden"}`,children:(0,s.jsx)(k,{alias:e})},e))})]}),(0,s.jsx)(v.default,{id:"f7cf3d1a6fdfc074",children:"@keyframes slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}.animate-slide-in{animation:.2s ease-out slide-in}"})]})}function k({alias:e}){return(0,s.jsx)(w.TaskChatPanel,{alias:e,onClose:()=>{},inline:!0})}function S({sessions:e,onClose:t}){let[r,l]=(0,a.useState)(new Set),[n,i]=(0,a.useState)(""),[o,d]=(0,a.useState)("normal"),[c,x]=(0,a.useState)(!1),[h,m]=(0,a.useState)([]),[u,g]=(0,a.useState)(""),f=e.filter(e=>"offline"!==e.status).filter(e=>!u||e.alias.toLowerCase().includes(u.toLowerCase())||(e.agent||"").toLowerCase().includes(u.toLowerCase())),p=async()=>{if(!n.trim()||0===r.size||c)return;x(!0),m([]);let e=[...r].map(async e=>{try{let t=await fetch("/api/hub/send",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({alias:e,task:n,priority:o})}),s=await t.json();return{alias:e,ok:!!s.ok,error:s.error}}catch(t){return{alias:e,ok:!1,error:"send failed"}}});m(await Promise.all(e)),x(!1)},b=h.filter(e=>e.ok).length;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"fixed inset-0 bg-black/50 z-40",onClick:t}),(0,s.jsxs)("div",{className:"fixed inset-4 lg:inset-x-[15%] lg:inset-y-[5%] bg-[#0a0a1a] border border-[#2a2a4a] rounded-2xl z-50 flex flex-col shadow-2xl shadow-black/70 overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between px-6 py-4 border-b border-[#2a2a4a] bg-[#0d0d1a]",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-lg font-bold text-white",children:"Dispatch Task"}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mt-0.5",children:"Send a task to one or more agents"})]}),(0,s.jsx)("button",{onClick:t,className:"text-gray-500 hover:text-white p-1.5 rounded-lg hover:bg-[#1a1a2a]",children:(0,s.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,s.jsxs)("div",{className:"flex-1 flex flex-col lg:flex-row overflow-hidden",children:[(0,s.jsxs)("div",{className:"lg:w-[280px] border-b lg:border-b-0 lg:border-r border-[#2a2a4a] flex flex-col",children:[(0,s.jsxs)("div",{className:"px-4 py-3 border-b border-[#2a2a4a]",children:[(0,s.jsx)("input",{type:"text",value:u,onChange:e=>g(e.target.value),placeholder:"Filter agents...",className:"w-full bg-[#111128] border border-[#2a2a4a] rounded-lg px-3 py-2 text-xs text-white placeholder-gray-600 focus:border-cyan-500/40 focus:outline-none"}),(0,s.jsxs)("div",{className:"flex items-center justify-between mt-2",children:[(0,s.jsx)("button",{onClick:()=>{r.size===f.length?l(new Set):l(new Set(f.map(e=>e.alias)))},className:"text-[10px] text-cyan-400 hover:text-cyan-300",children:r.size===f.length?"Deselect all":`Select all (${f.length})`}),(0,s.jsxs)("span",{className:"text-[10px] text-gray-600",children:[r.size," selected"]})]})]}),(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto px-2 py-2 space-y-0.5 max-h-[200px] lg:max-h-none",children:[f.map(e=>(0,s.jsxs)("button",{onClick:()=>{var t;return t=e.alias,void l(e=>{let s=new Set(e);return s.has(t)?s.delete(t):s.add(t),s})},className:`w-full flex items-center gap-2 px-3 py-2 rounded-lg text-xs text-left transition-colors ${r.has(e.alias)?"bg-cyan-500/10 text-cyan-300 border border-cyan-500/20":"text-gray-400 hover:bg-[#1a1a2a]"}`,children:[(0,s.jsx)("div",{className:`w-2 h-2 rounded-full shrink-0 ${"working"===e.status?"bg-green-400":"idle"===e.status?"bg-cyan-400":"bg-gray-500"}`}),(0,s.jsx)("span",{className:"truncate flex-1",children:e.alias}),(0,s.jsx)("span",{className:"text-[9px] text-gray-600",children:e.agent||"--"})]},e.alias)),0===f.length&&(0,s.jsx)("div",{className:"text-center text-xs text-gray-600 py-4",children:"No online agents"})]})]}),(0,s.jsxs)("div",{className:"flex-1 flex flex-col",children:[(0,s.jsxs)("div",{className:"flex-1 px-6 py-4 flex flex-col",children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 uppercase mb-2",children:"Task Prompt"}),(0,s.jsx)("textarea",{value:n,onChange:e=>i(e.target.value),placeholder:"Enter the task you want to dispatch...",className:"flex-1 min-h-[120px] bg-[#111128] border border-[#2a2a4a] rounded-xl px-4 py-3 text-sm text-white placeholder-gray-600 focus:border-cyan-500/40 focus:outline-none resize-none"}),(0,s.jsxs)("div",{className:"flex items-center gap-3 mt-4",children:[(0,s.jsxs)("select",{value:o,onChange:e=>d(e.target.value),className:"bg-[#111128] border border-[#2a2a4a] rounded-lg px-3 py-2 text-xs text-white focus:outline-none",children:[(0,s.jsx)("option",{value:"normal",children:"Normal priority"}),(0,s.jsx)("option",{value:"high",children:"High priority"}),(0,s.jsx)("option",{value:"low",children:"Low priority"})]}),(0,s.jsx)("div",{className:"flex-1"}),(0,s.jsx)("button",{onClick:p,disabled:c||!n.trim()||0===r.size,className:"px-6 py-2.5 bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500 disabled:from-gray-800 disabled:to-gray-800 disabled:text-gray-600 text-white text-sm font-medium rounded-xl transition-all shadow-lg shadow-cyan-500/10 disabled:shadow-none active:scale-95",children:c?(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin"}),"Sending..."]}):`Dispatch to ${r.size} agent${r.size>1?"s":""}`})]})]}),h.length>0&&(0,s.jsxs)("div",{className:"px-6 py-3 border-t border-[#2a2a4a] bg-[#0d0d1a]",children:[(0,s.jsxs)("div",{className:"text-xs text-gray-500 mb-2",children:[b,"/",h.length," dispatched successfully"]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-1.5",children:h.map(e=>(0,s.jsxs)("span",{className:`text-[10px] px-2 py-0.5 rounded-full border ${e.ok?"text-green-300 border-green-500/20 bg-green-500/5":"text-red-300 border-red-500/20 bg-red-500/5"}`,children:[e.alias,": ",e.ok?"✓":e.error||"✗"]},e.alias))})]})]})]})]})]})}var C=e.i(65822),$=e.i(51280),_=e.i(71235);e.s(["default",0,function(){(0,a.useEffect)(()=>{sessionStorage.getItem("anet_v3_auth")||(fetch("/api/auth/logout",{method:"POST"}).catch(()=>{}),window.location.assign("/login"))},[]);let{sessions:e,hint:i,error:d,isLoading:c}=(0,C.useSessions)(),{health:x}=(0,C.useHealth)(),{config:m}=(0,C.useAnetConfig)(),{tasks:u}=(0,C.useTasks)({limit:"500"}),{stats:y}=(0,C.useStats)(),{license:v}=(0,C.useLicense)(),[w,k]=(0,a.useState)(window.innerWidth>=1024),[M,T]=(0,a.useState)(!1),z=function(){let[e,t]=(0,a.useState)([]),[s,r]=(0,a.useState)("");return{tabs:e,activeTab:s,openTab:e=>{t(t=>t.includes(e)?t:[...t,e]),r(e)},closeTab:e=>{t(t=>{let a=t.filter(t=>t!==e);return s===e&&r(a[a.length-1]||""),a})},closeAll:()=>{t([]),r("")},setActiveTab:r}}(),[L,P]=(0,a.useState)(!1),[W,A]=(0,a.useState)([]),{mutate:E}=(0,_.useSWRConfig)(),O="1"!==t.default.env.NEXT_PUBLIC_DISABLE_SSE,{connected:I,supported:F}=(0,$.useSSE)({url:"/api/hub/events",enabled:O,onEvent:e=>{["new_task","new_message","new_reply","node_status_changed","broadcast"].includes(e.type)&&(E("/api/hub/status"),E(e=>"string"==typeof e&&e.startsWith("/api/hub/tasks"),void 0,{revalidate:!0}))}});if((0,a.useEffect)(()=>{let e=()=>{fetch("/api/hub/inbox").then(e=>e.json()).then(e=>{e.messages?.length&&A(t=>{let s=new Set(t.map(e=>e.id));return[...e.messages.filter(e=>!s.has(e.id)),...t].slice(0,100)})}).catch(()=>{})};e();let t=setInterval(e,1e4);return()=>clearInterval(t)},[]),c)return(0,s.jsx)(p,{});let B=x?.sse_sessions||{},D=e=>(e.network_id?B[`${e.network_id}:${e.alias}`]:void 0)??B[e.alias],R=e=>"offline"!==e.status||!!D(e),H=e.filter(R).length,J=e.length,U=e.filter(e=>"working"===e.status).length,G=x?(0,l.formatUptime)(x.uptime):"--",K=x?.version||"--",Q=!!(m?.hub&&m.tokenConfigured),X=m?.source==="file"?"Local config":m?.source==="runtime-env"?"Runtime env":"Config missing",Y={};if(y?.tasks?.by_status?.length)for(let e of y.tasks.by_status)Y[e.status]=e.count;else for(let e of u)Y[e.status]=(Y[e.status]||0)+1;let V=[...e].sort((e,t)=>{let s=+!!R(e),a=+!!R(t);if(s!==a)return a-s;let r=+("working"===e.status);return("working"===t.status)-r});return(0,s.jsxs)("div",{className:"min-h-screen bg-[#0a0a1a] text-gray-100 p-4 sm:p-6 font-mono",children:[(0,s.jsx)("div",{className:"lg:ml-0 ml-10",children:(0,s.jsx)(n,{online:H,working:U,total:J,version:K,uptime:G})}),(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,s.jsx)("button",{onClick:()=>P(!0),className:"px-4 py-2 bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500 text-white text-sm font-medium rounded-xl shadow-lg shadow-cyan-500/10 transition-all active:scale-95 shrink-0",children:"⚡ Dispatch"}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)(j,{})})]}),(0,s.jsxs)("section",{className:"mb-6 rounded-lg border border-[#2a2a4a] bg-[#111128] px-4 py-3 shadow-lg shadow-black/20",children:[(0,s.jsxs)("button",{onClick:()=>T(!M),className:"w-full flex items-center justify-between text-left",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 text-xs",children:[(0,s.jsx)("span",{className:"uppercase text-gray-600",children:"Config"}),(0,s.jsx)("span",{className:`w-2 h-2 rounded-full ${Q?"bg-green-400":"bg-red-400"}`}),(0,s.jsx)("span",{className:"text-gray-500",children:X})]}),(0,s.jsx)("svg",{className:`w-4 h-4 text-gray-600 transition-transform ${M?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),M&&(0,s.jsxs)("div",{className:"mt-3 pt-3 border-t border-[#2a2a4a]",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,s.jsx)("div",{className:"min-w-0",children:(0,s.jsxs)("div",{className:"text-gray-100 truncate text-sm",title:m?.hub||void 0,children:["Hub: ",(0,s.jsx)("span",{className:m?.hub?"text-cyan-300":"text-red-300",children:m?.hub?.trim()||"not configured"})]})}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2 text-xs",children:(0,s.jsxs)("span",{className:`px-2.5 py-1 rounded-md border ${m?.tokenConfigured?"bg-blue-500/5 text-blue-300 border-blue-500/20":"bg-gray-500/5 text-gray-400 border-gray-500/20"}`,children:["Token: ",m?.tokenPreview||"not configured"]})})]}),m?.error&&(0,s.jsx)("div",{className:"mt-2 text-xs text-gray-600",children:m.error})]})]}),Object.keys(Y).length>0&&(0,s.jsxs)("section",{className:"mb-6 rounded-lg border border-[#2a2a4a] bg-[#111128] px-4 py-3 shadow-lg shadow-black/20",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,s.jsx)("div",{className:"text-xs uppercase text-gray-600",children:"Task Status"}),(0,s.jsx)(r.default,{href:"/tasks",prefetch:!1,className:"text-xs text-cyan-400 hover:text-cyan-300",children:"View all →"})]}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:[{key:"running",color:"bg-green-500/10 text-green-300 border-green-500/20"},{key:"delivered",color:"bg-blue-500/10 text-blue-300 border-blue-500/20"},{key:"acked",color:"bg-cyan-500/10 text-cyan-300 border-cyan-500/20"},{key:"replied",color:"bg-purple-500/10 text-purple-300 border-purple-500/20"},{key:"failed",color:"bg-red-500/10 text-red-300 border-red-500/20"},{key:"cancelled",color:"bg-yellow-500/10 text-yellow-300 border-yellow-500/20"},{key:"expired",color:"bg-orange-500/10 text-orange-300 border-orange-500/20"},{key:"closed",color:"bg-gray-500/10 text-gray-500 border-gray-500/20"}].filter(({key:e})=>Y[e]).map(({key:e,color:t})=>(0,s.jsxs)(r.default,{href:`/tasks?status=${e}`,prefetch:!1,className:`px-2.5 py-1 rounded-md border text-xs ${t} hover:opacity-80 transition-opacity`,children:[e,": ",Y[e]]},e))})]}),(0,s.jsx)("section",{className:"mb-6 grid grid-cols-3 sm:grid-cols-6 gap-2",children:[{href:"/nodes",label:"Nodes",value:`${H}/${J}`,color:"text-green-400 border-green-500/15"},{href:"/tasks",label:"Tasks",value:String(Object.values(Y).reduce((e,t)=>e+t,0)||"--"),color:"text-cyan-400 border-cyan-500/15"},{href:"/tasks?status=failed",label:"Failed",value:String(Y.failed||0),color:Y.failed?"text-red-400 border-red-500/20":"text-gray-600 border-gray-700/30"},{href:"/messages",label:"Messages",value:"→",color:"text-blue-400 border-blue-500/15"},{href:"/logs",label:"Logs",value:"→",color:"text-purple-400 border-purple-500/15"},{href:"/admin",label:"Admin",value:"→",color:"text-gray-400 border-gray-500/15"}].map(e=>(0,s.jsxs)(r.default,{href:e.href,prefetch:!1,className:`text-center rounded-xl border ${e.color} bg-[#111128] px-3 py-2.5 hover:bg-[#161630] transition-colors`,children:[(0,s.jsx)("div",{className:`text-lg font-bold tabular-nums ${e.color.split(" ")[0]}`,children:e.value}),(0,s.jsx)("div",{className:"text-[10px] text-gray-500",children:e.label})]},e.href))}),(0,s.jsx)(o,{}),u.length>0&&(0,s.jsxs)("section",{className:"mb-6 bg-[#111128] border border-[#2a2a4a] rounded-xl p-4",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300",children:"Recent Activity"}),(0,s.jsx)(r.default,{href:"/tasks",className:"text-xs text-cyan-400 hover:text-cyan-300",children:"All tasks →"})]}),(0,s.jsx)("div",{className:"space-y-2 max-h-40 overflow-y-auto",children:u.slice(0,5).map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-2 text-xs",children:[(0,s.jsx)("span",{className:`w-1.5 h-1.5 rounded-full shrink-0 ${"replied"===e.status?"bg-purple-400":"running"===e.status?"bg-green-400":"failed"===e.status?"bg-red-400":"bg-blue-400"}`}),(0,s.jsx)("span",{className:"text-blue-400 shrink-0",children:e.from_name||"?"}),(0,s.jsx)("span",{className:"text-gray-600",children:"→"}),(0,s.jsx)("span",{className:"text-cyan-400 shrink-0",children:e.to_name||"?"}),(0,s.jsx)("span",{className:"text-gray-500 truncate flex-1",children:e.content?.slice(0,40)||"--"}),(0,s.jsx)("span",{className:`shrink-0 px-1.5 py-0.5 rounded text-[10px] border ${"replied"===e.status?"text-purple-300 border-purple-500/20":"failed"===e.status?"text-red-300 border-red-500/20":"text-gray-500 border-gray-700/30"}`,children:e.status})]},e.task_id))})]}),d&&(0,s.jsxs)("div",{className:"bg-red-900/20 border border-red-800/40 text-red-300 px-4 py-3 rounded-lg mb-6 text-sm flex items-center justify-between",role:"alert",children:[(0,s.jsx)("span",{children:String(d)}),(0,s.jsx)("span",{className:"text-gray-500 text-xs",children:"Check CommHub connection"})]}),e.length>0&&(0,s.jsx)("div",{className:"flex justify-center mb-4",children:(0,s.jsx)("button",{onClick:()=>k(!w),className:"text-xs text-gray-500 hover:text-gray-300 border border-gray-700/50 px-4 py-1.5 rounded-lg transition-colors hover:border-gray-600 cursor-pointer",children:w?"Hide Topology":"Show Topology"})}),!w&&e.length>0&&(0,s.jsx)("div",{className:"lg:hidden text-center text-xs text-gray-600 mb-4",children:"Topology hidden on mobile for better readability"}),w&&e.length>0&&(0,s.jsx)(h,{sessions:e,sseSessions:B}),0!==e.length||d?(0,s.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-3 sm:gap-4",children:V.map(e=>(0,s.jsx)(g,{session:e,hasSse:R(e),sseCount:D(e)||0,onChat:z.openTab},e.alias))}):(0,s.jsx)(b,{hint:i}),(0,s.jsx)(f,{messages:W}),(0,s.jsxs)("div",{className:"mt-8 text-center text-xs text-gray-600 flex items-center justify-center gap-2 flex-wrap",children:[F&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:`w-1.5 h-1.5 rounded-full ${I?"bg-green-400":"bg-gray-600"}`}),I?"SSE live":"SWR polling"]}),v?.license&&(0,s.jsxs)(s.Fragment,{children:[F&&(0,s.jsx)(s.Fragment,{children:"·"}),(0,s.jsxs)("span",{className:v.license.days_left<=7?"text-red-400":"pro"===v.license.type?"text-green-400":"text-yellow-400",children:[v.license.type," (",v.license.days_left,"d left)"]})]})]}),L&&(0,s.jsx)(S,{sessions:e,onClose:()=>P(!1)}),z.tabs.length>0&&(0,s.jsx)(N,{tabs:z.tabs,activeTab:z.activeTab,onOpenTab:z.openTab,onCloseTab:z.closeTab,onSetActive:z.setActiveTab,onClose:z.closeAll})]})}],31713)}]);
package/.next/trace CHANGED
@@ -1,2 +1,2 @@
1
- [{"name":"generate-buildid","duration":305,"timestamp":124166501414,"id":4,"parentId":1,"tags":{},"startTime":1778495652326,"traceId":"9868d7abba521f0b"},{"name":"load-custom-routes","duration":511,"timestamp":124166501873,"id":5,"parentId":1,"tags":{},"startTime":1778495652327,"traceId":"9868d7abba521f0b"},{"name":"create-dist-dir","duration":228,"timestamp":124166502432,"id":6,"parentId":1,"tags":{},"startTime":1778495652327,"traceId":"9868d7abba521f0b"},{"name":"clean","duration":39483,"timestamp":124166503334,"id":7,"parentId":1,"tags":{},"startTime":1778495652328,"traceId":"9868d7abba521f0b"},{"name":"discover-routes","duration":21835,"timestamp":124166661258,"id":8,"parentId":1,"tags":{},"startTime":1778495652486,"traceId":"9868d7abba521f0b"},{"name":"create-root-mapping","duration":117,"timestamp":124166683169,"id":9,"parentId":1,"tags":{},"startTime":1778495652508,"traceId":"9868d7abba521f0b"},{"name":"generate-route-types","duration":31152,"timestamp":124166685698,"id":10,"parentId":1,"tags":{},"startTime":1778495652510,"traceId":"9868d7abba521f0b"},{"name":"public-dir-conflict-check","duration":119,"timestamp":124166716969,"id":11,"parentId":1,"tags":{},"startTime":1778495652542,"traceId":"9868d7abba521f0b"},{"name":"generate-routes-manifest","duration":5141,"timestamp":124166717210,"id":12,"parentId":1,"tags":{},"startTime":1778495652542,"traceId":"9868d7abba521f0b"},{"name":"run-turbopack","duration":9705765,"timestamp":124166747903,"id":14,"parentId":1,"tags":{},"startTime":1778495652573,"traceId":"9868d7abba521f0b"},{"name":"turbopack-build-events","duration":79,"timestamp":124167287767,"id":15,"parentId":1,"tags":{},"startTime":1778495653112,"traceId":"9868d7abba521f0b"},{"name":"run-typescript","duration":7111317,"timestamp":124176461662,"id":16,"parentId":1,"tags":{},"startTime":1778495662286,"traceId":"9868d7abba521f0b"},{"name":"generate-required-server-files","duration":2549,"timestamp":124183574141,"id":18,"parentId":1,"tags":{},"startTime":1778495669399,"traceId":"9868d7abba521f0b"},{"name":"check-static-error-page","duration":15638,"timestamp":124183643899,"id":20,"parentId":19,"tags":{},"startTime":1778495669469,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":282184,"timestamp":124183661866,"id":62,"parentId":22,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":297922,"timestamp":124183646263,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1778495669471,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":355736,"timestamp":124183661957,"id":63,"parentId":25,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":367566,"timestamp":124183650236,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1778495669475,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":367152,"timestamp":124183662162,"id":65,"parentId":27,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":378693,"timestamp":124183650699,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1778495669475,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":371679,"timestamp":124183662202,"id":66,"parentId":28,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":383064,"timestamp":124183650880,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1778495669476,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":375936,"timestamp":124183662239,"id":67,"parentId":29,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":387140,"timestamp":124183651096,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1778495669476,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":382019,"timestamp":124183662272,"id":68,"parentId":30,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":392893,"timestamp":124183651479,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1778495669476,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":383060,"timestamp":124183662119,"id":64,"parentId":26,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":394736,"timestamp":124183650500,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1778495669475,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":386130,"timestamp":124183662305,"id":69,"parentId":32,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":396508,"timestamp":124183651975,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1778495669477,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":387159,"timestamp":124183662418,"id":70,"parentId":33,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":397212,"timestamp":124183652421,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1778495669477,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":394556,"timestamp":124183662481,"id":72,"parentId":35,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":404409,"timestamp":124183652703,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1778495669477,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":396158,"timestamp":124183662532,"id":73,"parentId":36,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":405330,"timestamp":124183653413,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1778495669478,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":398369,"timestamp":124183661543,"id":61,"parentId":21,"tags":{},"startTime":1778495669486,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":414848,"timestamp":124183645108,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1778495669470,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":400077,"timestamp":124183662464,"id":71,"parentId":34,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":410011,"timestamp":124183652578,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1778495669477,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":400173,"timestamp":124183662550,"id":74,"parentId":37,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":409158,"timestamp":124183653591,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1778495669478,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":404483,"timestamp":124183662571,"id":77,"parentId":40,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":413204,"timestamp":124183653919,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1778495669479,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":404730,"timestamp":124183662565,"id":76,"parentId":39,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":413496,"timestamp":124183653828,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1778495669479,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":409522,"timestamp":124183662576,"id":78,"parentId":41,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":418123,"timestamp":124183654052,"id":41,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1778495669479,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":409812,"timestamp":124183662584,"id":79,"parentId":42,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":418270,"timestamp":124183654167,"id":42,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1778495669479,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":411250,"timestamp":124183662590,"id":80,"parentId":43,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":419627,"timestamp":124183654261,"id":43,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1778495669479,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":413760,"timestamp":124183662595,"id":81,"parentId":44,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":421956,"timestamp":124183654441,"id":44,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1778495669479,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":415246,"timestamp":124183662601,"id":82,"parentId":45,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":424648,"timestamp":124183654532,"id":45,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1778495669479,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":418251,"timestamp":124183662607,"id":83,"parentId":46,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":426256,"timestamp":124183654647,"id":46,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1778495669479,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":420537,"timestamp":124183662613,"id":84,"parentId":47,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":428457,"timestamp":124183654743,"id":47,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1778495669479,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":421183,"timestamp":124183662619,"id":85,"parentId":48,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":429012,"timestamp":124183654833,"id":48,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1778495669480,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":422536,"timestamp":124183665373,"id":87,"parentId":31,"tags":{},"startTime":1778495669490,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":436294,"timestamp":124183651683,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1778495669476,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":423523,"timestamp":124183664655,"id":86,"parentId":24,"tags":{},"startTime":1778495669489,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":441552,"timestamp":124183646662,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1778495669471,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":448465,"timestamp":124183662558,"id":75,"parentId":38,"tags":{},"startTime":1778495669487,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":457395,"timestamp":124183653722,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1778495669478,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":443875,"timestamp":124183680459,"id":90,"parentId":50,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":469055,"timestamp":124183655375,"id":50,"parentId":19,"tags":{"page":"/logs"},"startTime":1778495669480,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":449238,"timestamp":124183680465,"id":91,"parentId":51,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":474225,"timestamp":124183655540,"id":51,"parentId":19,"tags":{"page":"/messages"},"startTime":1778495669480,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":453094,"timestamp":124183680403,"id":88,"parentId":23,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":487052,"timestamp":124183646517,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1778495669471,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":453480,"timestamp":124183680448,"id":89,"parentId":49,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":478823,"timestamp":124183655202,"id":49,"parentId":19,"tags":{"page":"/login"},"startTime":1778495669480,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":454975,"timestamp":124183680474,"id":92,"parentId":52,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":479765,"timestamp":124183655731,"id":52,"parentId":19,"tags":{"page":"/node"},"startTime":1778495669480,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":459122,"timestamp":124183680482,"id":93,"parentId":53,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":483747,"timestamp":124183655927,"id":53,"parentId":19,"tags":{"page":"/nodes"},"startTime":1778495669481,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":459303,"timestamp":124183680488,"id":94,"parentId":55,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":483249,"timestamp":124183656565,"id":55,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1778495669481,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":463601,"timestamp":124183680499,"id":95,"parentId":56,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":486861,"timestamp":124183657311,"id":56,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1778495669482,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":464741,"timestamp":124183680508,"id":96,"parentId":58,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":486351,"timestamp":124183658944,"id":58,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1778495669484,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":466363,"timestamp":124183680524,"id":98,"parentId":60,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":487547,"timestamp":124183659383,"id":60,"parentId":19,"tags":{"page":"/tasks"},"startTime":1778495669484,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":470102,"timestamp":124183680513,"id":97,"parentId":59,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":491514,"timestamp":124183659173,"id":59,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1778495669484,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":470387,"timestamp":124183680536,"id":99,"parentId":54,"tags":{},"startTime":1778495669505,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":494823,"timestamp":124183656149,"id":54,"parentId":19,"tags":{"page":"/"},"startTime":1778495669481,"traceId":"9868d7abba521f0b"},{"name":"is-page-static","duration":466693,"timestamp":124183686616,"id":100,"parentId":57,"tags":{},"startTime":1778495669511,"traceId":"9868d7abba521f0b"},{"name":"check-page","duration":495833,"timestamp":124183657535,"id":57,"parentId":19,"tags":{"page":"/settings"},"startTime":1778495669482,"traceId":"9868d7abba521f0b"},{"name":"static-check","duration":510305,"timestamp":124183643112,"id":19,"parentId":1,"tags":{},"startTime":1778495669468,"traceId":"9868d7abba521f0b"},{"name":"write-routes-manifest","duration":496,"timestamp":124184160954,"id":102,"parentId":1,"tags":{},"startTime":1778495669986,"traceId":"9868d7abba521f0b"},{"name":"load-dotenv","duration":75,"timestamp":124184173904,"id":105,"parentId":104,"tags":{},"startTime":1778495669999,"traceId":"9868d7abba521f0b"},{"name":"run-export-path-map","duration":799,"timestamp":124184178662,"id":106,"parentId":104,"tags":{},"startTime":1778495670003,"traceId":"9868d7abba521f0b"},{"name":"next-export","duration":535402,"timestamp":124184171865,"id":104,"parentId":1,"tags":{},"startTime":1778495669997,"traceId":"9868d7abba521f0b"},{"name":"move-exported-app-not-found-","duration":677,"timestamp":124184710577,"id":107,"parentId":103,"tags":{},"startTime":1778495670535,"traceId":"9868d7abba521f0b"},{"name":"move-exported-app-global-error-","duration":1301,"timestamp":124184711360,"id":108,"parentId":103,"tags":{},"startTime":1778495670536,"traceId":"9868d7abba521f0b"}]
2
- [{"name":"static-generation","duration":551576,"timestamp":124184165628,"id":103,"parentId":1,"tags":{},"startTime":1778495669990,"traceId":"9868d7abba521f0b"},{"name":"write-routes-manifest","duration":541,"timestamp":124184717412,"id":109,"parentId":1,"tags":{},"startTime":1778495670542,"traceId":"9868d7abba521f0b"},{"name":"print-tree-view","duration":3876,"timestamp":124184728364,"id":110,"parentId":1,"tags":{},"startTime":1778495670553,"traceId":"9868d7abba521f0b"},{"name":"write-route-bundle-stats","duration":14508,"timestamp":124184732282,"id":111,"parentId":1,"tags":{},"startTime":1778495670557,"traceId":"9868d7abba521f0b"},{"name":"telemetry-flush","duration":36916,"timestamp":124184746827,"id":112,"parentId":1,"tags":{},"startTime":1778495670572,"traceId":"9868d7abba521f0b"},{"name":"next-build","duration":18390168,"timestamp":124166393622,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778495652218,"traceId":"9868d7abba521f0b"}]
1
+ [{"name":"generate-buildid","duration":377,"timestamp":130665328322,"id":4,"parentId":1,"tags":{},"startTime":1778502151153,"traceId":"02a6962304287ef1"},{"name":"load-custom-routes","duration":482,"timestamp":130665328853,"id":5,"parentId":1,"tags":{},"startTime":1778502151154,"traceId":"02a6962304287ef1"},{"name":"create-dist-dir","duration":292,"timestamp":130665329377,"id":6,"parentId":1,"tags":{},"startTime":1778502151154,"traceId":"02a6962304287ef1"},{"name":"clean","duration":28595,"timestamp":130665330349,"id":7,"parentId":1,"tags":{},"startTime":1778502151155,"traceId":"02a6962304287ef1"},{"name":"discover-routes","duration":11386,"timestamp":130665437761,"id":8,"parentId":1,"tags":{},"startTime":1778502151262,"traceId":"02a6962304287ef1"},{"name":"create-root-mapping","duration":113,"timestamp":130665449217,"id":9,"parentId":1,"tags":{},"startTime":1778502151274,"traceId":"02a6962304287ef1"},{"name":"generate-route-types","duration":20456,"timestamp":130665451758,"id":10,"parentId":1,"tags":{},"startTime":1778502151276,"traceId":"02a6962304287ef1"},{"name":"public-dir-conflict-check","duration":130,"timestamp":130665472311,"id":11,"parentId":1,"tags":{},"startTime":1778502151297,"traceId":"02a6962304287ef1"},{"name":"generate-routes-manifest","duration":4457,"timestamp":130665472571,"id":12,"parentId":1,"tags":{},"startTime":1778502151297,"traceId":"02a6962304287ef1"},{"name":"run-turbopack","duration":8415466,"timestamp":130665496371,"id":14,"parentId":1,"tags":{},"startTime":1778502151321,"traceId":"02a6962304287ef1"},{"name":"turbopack-build-events","duration":97,"timestamp":130665786954,"id":15,"parentId":1,"tags":{},"startTime":1778502151612,"traceId":"02a6962304287ef1"},{"name":"run-typescript","duration":7884672,"timestamp":130673938976,"id":16,"parentId":1,"tags":{},"startTime":1778502159764,"traceId":"02a6962304287ef1"},{"name":"generate-required-server-files","duration":2083,"timestamp":130681824475,"id":18,"parentId":1,"tags":{},"startTime":1778502167649,"traceId":"02a6962304287ef1"},{"name":"check-static-error-page","duration":14734,"timestamp":130681904918,"id":20,"parentId":19,"tags":{},"startTime":1778502167730,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":364281,"timestamp":130681922523,"id":62,"parentId":22,"tags":{},"startTime":1778502167747,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":379700,"timestamp":130681907256,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1778502167732,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":481846,"timestamp":130681922059,"id":61,"parentId":21,"tags":{},"startTime":1778502167747,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":497878,"timestamp":130681906106,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1778502167731,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":528640,"timestamp":130681922607,"id":63,"parentId":25,"tags":{},"startTime":1778502167747,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":540696,"timestamp":130681910614,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1778502167735,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":534712,"timestamp":130681922824,"id":66,"parentId":28,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":546608,"timestamp":130681910985,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1778502167736,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":577227,"timestamp":130681922865,"id":67,"parentId":29,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":589081,"timestamp":130681911083,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1778502167736,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":577557,"timestamp":130681922747,"id":64,"parentId":26,"tags":{},"startTime":1778502167747,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":589533,"timestamp":130681910795,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1778502167735,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":586041,"timestamp":130681922930,"id":69,"parentId":32,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":597410,"timestamp":130681911641,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1778502167736,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":592210,"timestamp":130681922898,"id":68,"parentId":30,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":603869,"timestamp":130681911298,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1778502167736,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":592272,"timestamp":130681923048,"id":70,"parentId":33,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":603608,"timestamp":130681911744,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1778502167736,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":600730,"timestamp":130681923113,"id":72,"parentId":35,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":611970,"timestamp":130681911925,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1778502167737,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":603763,"timestamp":130681923095,"id":71,"parentId":34,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":615082,"timestamp":130681911832,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1778502167737,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":607031,"timestamp":130681923165,"id":73,"parentId":36,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":617966,"timestamp":130681912330,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1778502167737,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":608217,"timestamp":130681923193,"id":75,"parentId":38,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":618848,"timestamp":130681912604,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1778502167737,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":610352,"timestamp":130681923184,"id":74,"parentId":37,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":621088,"timestamp":130681912496,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1778502167737,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":612099,"timestamp":130681923199,"id":76,"parentId":39,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":622693,"timestamp":130681912682,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1778502167737,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":615671,"timestamp":130681923211,"id":78,"parentId":41,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":626079,"timestamp":130681912841,"id":41,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1778502167738,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":618562,"timestamp":130681923205,"id":77,"parentId":40,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":629050,"timestamp":130681912772,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1778502167737,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":619615,"timestamp":130681923216,"id":79,"parentId":42,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":629950,"timestamp":130681912915,"id":42,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1778502167738,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":622039,"timestamp":130681923223,"id":80,"parentId":43,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":632310,"timestamp":130681912988,"id":43,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1778502167738,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":623049,"timestamp":130681923229,"id":81,"parentId":44,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":633229,"timestamp":130681913081,"id":44,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1778502167738,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":626146,"timestamp":130681923234,"id":82,"parentId":45,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":636274,"timestamp":130681913156,"id":45,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1778502167738,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":628118,"timestamp":130681923240,"id":83,"parentId":46,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":638283,"timestamp":130681913249,"id":46,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1778502167738,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":632810,"timestamp":130681923250,"id":85,"parentId":48,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":642699,"timestamp":130681913405,"id":48,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1778502167738,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":632962,"timestamp":130681923245,"id":84,"parentId":47,"tags":{},"startTime":1778502167748,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":642906,"timestamp":130681913320,"id":47,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1778502167738,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":631654,"timestamp":130681928549,"id":87,"parentId":31,"tags":{},"startTime":1778502167753,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":648834,"timestamp":130681911409,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1778502167736,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":632598,"timestamp":130681927740,"id":86,"parentId":24,"tags":{},"startTime":1778502167752,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":652428,"timestamp":130681907930,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1778502167733,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":648775,"timestamp":130681922788,"id":65,"parentId":27,"tags":{},"startTime":1778502167747,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":660742,"timestamp":130681910894,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1778502167736,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":649094,"timestamp":130681934323,"id":90,"parentId":50,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":668207,"timestamp":130681915281,"id":50,"parentId":19,"tags":{"page":"/logs"},"startTime":1778502167740,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":657524,"timestamp":130681934329,"id":91,"parentId":51,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":676474,"timestamp":130681915445,"id":51,"parentId":19,"tags":{"page":"/messages"},"startTime":1778502167740,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":662547,"timestamp":130681934340,"id":92,"parentId":52,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":681335,"timestamp":130681915613,"id":52,"parentId":19,"tags":{"page":"/node"},"startTime":1778502167740,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":672920,"timestamp":130681934348,"id":93,"parentId":53,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":691568,"timestamp":130681915804,"id":53,"parentId":19,"tags":{"page":"/nodes"},"startTime":1778502167740,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":688858,"timestamp":130681934353,"id":94,"parentId":55,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":706750,"timestamp":130681916526,"id":55,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1778502167741,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":693679,"timestamp":130681934313,"id":89,"parentId":49,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":713013,"timestamp":130681915089,"id":49,"parentId":19,"tags":{"page":"/login"},"startTime":1778502167740,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":696452,"timestamp":130681934361,"id":95,"parentId":56,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":712459,"timestamp":130681918407,"id":56,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1778502167743,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":701303,"timestamp":130681934369,"id":96,"parentId":58,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":716522,"timestamp":130681919208,"id":58,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1778502167744,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":702382,"timestamp":130681934281,"id":88,"parentId":23,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":728948,"timestamp":130681907768,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1778502167732,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":708691,"timestamp":130681934374,"id":97,"parentId":59,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":723795,"timestamp":130681919351,"id":59,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1778502167744,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":713639,"timestamp":130681934384,"id":98,"parentId":60,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":728570,"timestamp":130681919508,"id":60,"parentId":19,"tags":{"page":"/tasks"},"startTime":1778502167744,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":715002,"timestamp":130681934406,"id":99,"parentId":54,"tags":{},"startTime":1778502167759,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":733368,"timestamp":130681916084,"id":54,"parentId":19,"tags":{"page":"/"},"startTime":1778502167741,"traceId":"02a6962304287ef1"},{"name":"is-page-static","duration":710314,"timestamp":130681940928,"id":100,"parentId":57,"tags":{},"startTime":1778502167766,"traceId":"02a6962304287ef1"},{"name":"check-page","duration":732593,"timestamp":130681918687,"id":57,"parentId":19,"tags":{"page":"/settings"},"startTime":1778502167743,"traceId":"02a6962304287ef1"},{"name":"static-check","duration":747381,"timestamp":130681903929,"id":19,"parentId":1,"tags":{},"startTime":1778502167729,"traceId":"02a6962304287ef1"},{"name":"write-routes-manifest","duration":1023,"timestamp":130682662108,"id":102,"parentId":1,"tags":{},"startTime":1778502168487,"traceId":"02a6962304287ef1"},{"name":"load-dotenv","duration":56,"timestamp":130682675430,"id":105,"parentId":104,"tags":{},"startTime":1778502168500,"traceId":"02a6962304287ef1"},{"name":"run-export-path-map","duration":708,"timestamp":130682678337,"id":106,"parentId":104,"tags":{},"startTime":1778502168503,"traceId":"02a6962304287ef1"},{"name":"next-export","duration":608150,"timestamp":130682674125,"id":104,"parentId":1,"tags":{},"startTime":1778502168499,"traceId":"02a6962304287ef1"},{"name":"move-exported-app-not-found-","duration":629,"timestamp":130683285671,"id":107,"parentId":103,"tags":{},"startTime":1778502169110,"traceId":"02a6962304287ef1"},{"name":"move-exported-app-global-error-","duration":438,"timestamp":130683286404,"id":108,"parentId":103,"tags":{},"startTime":1778502169111,"traceId":"02a6962304287ef1"}]
2
+ [{"name":"static-generation","duration":624719,"timestamp":130682668109,"id":103,"parentId":1,"tags":{},"startTime":1778502168493,"traceId":"02a6962304287ef1"},{"name":"write-routes-manifest","duration":506,"timestamp":130683293061,"id":109,"parentId":1,"tags":{},"startTime":1778502169118,"traceId":"02a6962304287ef1"},{"name":"print-tree-view","duration":3648,"timestamp":130683309085,"id":110,"parentId":1,"tags":{},"startTime":1778502169134,"traceId":"02a6962304287ef1"},{"name":"write-route-bundle-stats","duration":11173,"timestamp":130683312771,"id":111,"parentId":1,"tags":{},"startTime":1778502169137,"traceId":"02a6962304287ef1"},{"name":"telemetry-flush","duration":26327,"timestamp":130683323980,"id":112,"parentId":1,"tags":{},"startTime":1778502169149,"traceId":"02a6962304287ef1"},{"name":"next-build","duration":18069563,"timestamp":130665280785,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778502151105,"traceId":"02a6962304287ef1"}]
package/.next/trace-build CHANGED
@@ -1 +1 @@
1
- [{"name":"run-turbopack","duration":9705765,"timestamp":124166747903,"id":14,"parentId":1,"tags":{},"startTime":1778495652573,"traceId":"9868d7abba521f0b"},{"name":"turbopack-build-events","duration":79,"timestamp":124167287767,"id":15,"parentId":1,"tags":{},"startTime":1778495653112,"traceId":"9868d7abba521f0b"},{"name":"run-typescript","duration":7111317,"timestamp":124176461662,"id":16,"parentId":1,"tags":{},"startTime":1778495662286,"traceId":"9868d7abba521f0b"},{"name":"static-check","duration":510305,"timestamp":124183643112,"id":19,"parentId":1,"tags":{},"startTime":1778495669468,"traceId":"9868d7abba521f0b"},{"name":"static-generation","duration":551576,"timestamp":124184165628,"id":103,"parentId":1,"tags":{},"startTime":1778495669990,"traceId":"9868d7abba521f0b"},{"name":"telemetry-flush","duration":36916,"timestamp":124184746827,"id":112,"parentId":1,"tags":{},"startTime":1778495670572,"traceId":"9868d7abba521f0b"},{"name":"next-build","duration":18390168,"timestamp":124166393622,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778495652218,"traceId":"9868d7abba521f0b"}]
1
+ [{"name":"run-turbopack","duration":8415466,"timestamp":130665496371,"id":14,"parentId":1,"tags":{},"startTime":1778502151321,"traceId":"02a6962304287ef1"},{"name":"turbopack-build-events","duration":97,"timestamp":130665786954,"id":15,"parentId":1,"tags":{},"startTime":1778502151612,"traceId":"02a6962304287ef1"},{"name":"run-typescript","duration":7884672,"timestamp":130673938976,"id":16,"parentId":1,"tags":{},"startTime":1778502159764,"traceId":"02a6962304287ef1"},{"name":"static-check","duration":747381,"timestamp":130681903929,"id":19,"parentId":1,"tags":{},"startTime":1778502167729,"traceId":"02a6962304287ef1"},{"name":"static-generation","duration":624719,"timestamp":130682668109,"id":103,"parentId":1,"tags":{},"startTime":1778502168493,"traceId":"02a6962304287ef1"},{"name":"telemetry-flush","duration":26327,"timestamp":130683323980,"id":112,"parentId":1,"tags":{},"startTime":1778502169149,"traceId":"02a6962304287ef1"},{"name":"next-build","duration":18069563,"timestamp":130665280785,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778502151105,"traceId":"02a6962304287ef1"}]
@@ -154,8 +154,10 @@ export function TopoGraph({ sessions, sseSessions }: TopoGraphProps) {
154
154
  flowLinks,
155
155
  activeAliases,
156
156
  } = useMemo(() => {
157
- const online = sessions.filter(s => s.status !== 'offline' || sseSessions[s.alias]);
158
- const offline = sessions.filter(s => s.status === 'offline' && !sseSessions[s.alias]);
157
+ const sseCount = (s: { alias: string; network_id?: string }) =>
158
+ (s.network_id ? sseSessions[`${s.network_id}:${s.alias}`] : undefined) ?? sseSessions[s.alias];
159
+ const online = sessions.filter(s => s.status !== 'offline' || sseCount(s));
160
+ const offline = sessions.filter(s => s.status === 'offline' && !sseCount(s));
159
161
  const positions: Record<string, Point> = {};
160
162
 
161
163
  online.forEach((s, index) => {
@@ -329,7 +331,8 @@ export function TopoGraph({ sessions, sseSessions }: TopoGraphProps) {
329
331
  const pos = nodePositions[session.alias];
330
332
  if (!pos) return null;
331
333
 
332
- const isOnline = session.status !== 'offline' || !!sseSessions[session.alias];
334
+ const sseCountFor = (session.network_id ? sseSessions[`${session.network_id}:${session.alias}`] : undefined) ?? sseSessions[session.alias];
335
+ const isOnline = session.status !== 'offline' || !!sseCountFor;
333
336
  const status = nodeStatus(session, isOnline);
334
337
  const isActive = activeAliases.has(session.alias);
335
338
  const radius = isOnline ? 26 : 18;
@@ -366,7 +369,7 @@ export function TopoGraph({ sessions, sseSessions }: TopoGraphProps) {
366
369
  {truncate(session.alias, 14)}
367
370
  </text>
368
371
  <text x="0" y="17" textAnchor="middle" fill={status.primary} fontSize="9" fontFamily="monospace">
369
- {status.label} {isOnline ? `sse:${sseSessions[session.alias]}` : ''}
372
+ {status.label}{isOnline && sseCountFor != null ? ` sse:${sseCountFor}` : ''}
370
373
  </text>
371
374
  </g>
372
375
  </g>
@@ -11,6 +11,7 @@ export interface Session {
11
11
  channels?: string[] | string | null;
12
12
  last_seen_at?: string;
13
13
  config_path?: string;
14
+ network_id?: string;
14
15
  }
15
16
 
16
17
  export interface Health {
package/app/page.tsx CHANGED
@@ -74,8 +74,12 @@ export default function Dashboard() {
74
74
  if (isLoading) return <LoadingSkeleton />;
75
75
 
76
76
  const sseSessions = health?.sse_sessions || {};
77
+ // SSE keys are `network_id:alias` since v0.7+ (per-network scoping).
78
+ // Fall back to alias-only for legacy hubs.
79
+ const sseLookup = (s: { alias: string; network_id?: string }) =>
80
+ (s.network_id ? sseSessions[`${s.network_id}:${s.alias}`] : undefined) ?? sseSessions[s.alias];
77
81
  // Online = status is not 'offline' (not just SSE-connected)
78
- const isOnline = (s: { alias: string; status: string }) => s.status !== 'offline' || !!sseSessions[s.alias];
82
+ const isOnline = (s: { alias: string; status: string; network_id?: string }) => s.status !== 'offline' || !!sseLookup(s);
79
83
  const online = sessions.filter(isOnline).length;
80
84
  const total = sessions.length;
81
85
  const working = sessions.filter(s => s.status === 'working').length;
@@ -258,7 +262,7 @@ export default function Dashboard() {
258
262
  ) : (
259
263
  <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-3 sm:gap-4">
260
264
  {sortedSessions.map(s => (
261
- <AgentCard key={s.alias} session={s} hasSse={isOnline(s)} sseCount={sseSessions[s.alias] || 0} onChat={cmd.openTab} />
265
+ <AgentCard key={s.alias} session={s} hasSse={isOnline(s)} sseCount={sseLookup(s) || 0} onChat={cmd.openTab} />
262
266
  ))}
263
267
  </div>
264
268
  )}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleep2agi/agent-network-dashboard",
3
- "version": "0.4.0-preview.0",
3
+ "version": "0.4.1",
4
4
  "description": "Agent Network Dashboard — Web UI for managing AI Agent networks",
5
5
  "scripts": {
6
6
  "dev": "next dev",