@sleep2agi/agent-network-dashboard 0.6.3-preview.49 → 0.6.3-preview.50

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 (258) hide show
  1. package/.next/BUILD_COMMIT +1 -1
  2. package/.next/BUILD_ID +1 -1
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/diagnostics/route-bundle-stats.json +97 -97
  5. package/.next/fallback-build-manifest.json +3 -3
  6. package/.next/prerender-manifest.json +3 -3
  7. package/.next/server/app/_global-error.html +1 -1
  8. package/.next/server/app/_global-error.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  15. package/.next/server/app/_not-found.html +5 -5
  16. package/.next/server/app/_not-found.rsc +13 -13
  17. package/.next/server/app/_not-found.segments/_full.segment.rsc +13 -13
  18. package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  19. package/.next/server/app/_not-found.segments/_index.segment.rsc +8 -8
  20. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  21. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  22. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  23. package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/admin.html +5 -5
  25. package/.next/server/app/admin.rsc +15 -15
  26. package/.next/server/app/admin.segments/_full.segment.rsc +15 -15
  27. package/.next/server/app/admin.segments/_head.segment.rsc +4 -4
  28. package/.next/server/app/admin.segments/_index.segment.rsc +8 -8
  29. package/.next/server/app/admin.segments/_tree.segment.rsc +2 -2
  30. package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +4 -4
  31. package/.next/server/app/admin.segments/admin.segment.rsc +3 -3
  32. package/.next/server/app/index.html +5 -5
  33. package/.next/server/app/index.rsc +15 -15
  34. package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  35. package/.next/server/app/index.segments/_full.segment.rsc +15 -15
  36. package/.next/server/app/index.segments/_head.segment.rsc +4 -4
  37. package/.next/server/app/index.segments/_index.segment.rsc +8 -8
  38. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  39. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  40. package/.next/server/app/login.html +2 -2
  41. package/.next/server/app/login.rsc +15 -15
  42. package/.next/server/app/login.segments/_full.segment.rsc +15 -15
  43. package/.next/server/app/login.segments/_head.segment.rsc +4 -4
  44. package/.next/server/app/login.segments/_index.segment.rsc +8 -8
  45. package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  46. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
  47. package/.next/server/app/login.segments/login.segment.rsc +3 -3
  48. package/.next/server/app/logs/page_client-reference-manifest.js +1 -1
  49. package/.next/server/app/logs.html +5 -5
  50. package/.next/server/app/logs.rsc +15 -15
  51. package/.next/server/app/logs.segments/_full.segment.rsc +15 -15
  52. package/.next/server/app/logs.segments/_head.segment.rsc +4 -4
  53. package/.next/server/app/logs.segments/_index.segment.rsc +8 -8
  54. package/.next/server/app/logs.segments/_tree.segment.rsc +2 -2
  55. package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +4 -4
  56. package/.next/server/app/logs.segments/logs.segment.rsc +3 -3
  57. package/.next/server/app/messages/page.js.nft.json +1 -1
  58. package/.next/server/app/messages/page_client-reference-manifest.js +1 -1
  59. package/.next/server/app/messages.html +5 -5
  60. package/.next/server/app/messages.rsc +15 -15
  61. package/.next/server/app/messages.segments/_full.segment.rsc +15 -15
  62. package/.next/server/app/messages.segments/_head.segment.rsc +4 -4
  63. package/.next/server/app/messages.segments/_index.segment.rsc +8 -8
  64. package/.next/server/app/messages.segments/_tree.segment.rsc +2 -2
  65. package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +4 -4
  66. package/.next/server/app/messages.segments/messages.segment.rsc +3 -3
  67. package/.next/server/app/node/page.js.nft.json +1 -1
  68. package/.next/server/app/node/page_client-reference-manifest.js +1 -1
  69. package/.next/server/app/node.html +5 -5
  70. package/.next/server/app/node.rsc +15 -15
  71. package/.next/server/app/node.segments/_full.segment.rsc +15 -15
  72. package/.next/server/app/node.segments/_head.segment.rsc +4 -4
  73. package/.next/server/app/node.segments/_index.segment.rsc +8 -8
  74. package/.next/server/app/node.segments/_tree.segment.rsc +2 -2
  75. package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +4 -4
  76. package/.next/server/app/node.segments/node.segment.rsc +3 -3
  77. package/.next/server/app/nodes/[alias]/page.js.nft.json +1 -1
  78. package/.next/server/app/nodes/[alias]/page_client-reference-manifest.js +1 -1
  79. package/.next/server/app/nodes/page.js.nft.json +1 -1
  80. package/.next/server/app/nodes/page_client-reference-manifest.js +1 -1
  81. package/.next/server/app/nodes.html +5 -5
  82. package/.next/server/app/nodes.rsc +15 -15
  83. package/.next/server/app/nodes.segments/_full.segment.rsc +15 -15
  84. package/.next/server/app/nodes.segments/_head.segment.rsc +4 -4
  85. package/.next/server/app/nodes.segments/_index.segment.rsc +8 -8
  86. package/.next/server/app/nodes.segments/_tree.segment.rsc +2 -2
  87. package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +4 -4
  88. package/.next/server/app/nodes.segments/nodes.segment.rsc +3 -3
  89. package/.next/server/app/page.js.nft.json +1 -1
  90. package/.next/server/app/page_client-reference-manifest.js +1 -1
  91. package/.next/server/app/providers/page_client-reference-manifest.js +1 -1
  92. package/.next/server/app/providers.html +5 -5
  93. package/.next/server/app/providers.rsc +15 -15
  94. package/.next/server/app/providers.segments/_full.segment.rsc +15 -15
  95. package/.next/server/app/providers.segments/_head.segment.rsc +4 -4
  96. package/.next/server/app/providers.segments/_index.segment.rsc +8 -8
  97. package/.next/server/app/providers.segments/_tree.segment.rsc +2 -2
  98. package/.next/server/app/providers.segments/providers/__PAGE__.segment.rsc +4 -4
  99. package/.next/server/app/providers.segments/providers.segment.rsc +3 -3
  100. package/.next/server/app/server-logs/page_client-reference-manifest.js +1 -1
  101. package/.next/server/app/server-logs.html +5 -5
  102. package/.next/server/app/server-logs.rsc +15 -15
  103. package/.next/server/app/server-logs.segments/_full.segment.rsc +15 -15
  104. package/.next/server/app/server-logs.segments/_head.segment.rsc +4 -4
  105. package/.next/server/app/server-logs.segments/_index.segment.rsc +8 -8
  106. package/.next/server/app/server-logs.segments/_tree.segment.rsc +2 -2
  107. package/.next/server/app/server-logs.segments/server-logs/__PAGE__.segment.rsc +4 -4
  108. package/.next/server/app/server-logs.segments/server-logs.segment.rsc +3 -3
  109. package/.next/server/app/servers/page_client-reference-manifest.js +1 -1
  110. package/.next/server/app/servers.html +5 -5
  111. package/.next/server/app/servers.rsc +15 -15
  112. package/.next/server/app/servers.segments/_full.segment.rsc +15 -15
  113. package/.next/server/app/servers.segments/_head.segment.rsc +4 -4
  114. package/.next/server/app/servers.segments/_index.segment.rsc +8 -8
  115. package/.next/server/app/servers.segments/_tree.segment.rsc +2 -2
  116. package/.next/server/app/servers.segments/servers/__PAGE__.segment.rsc +4 -4
  117. package/.next/server/app/servers.segments/servers.segment.rsc +3 -3
  118. package/.next/server/app/settings/networks/page_client-reference-manifest.js +1 -1
  119. package/.next/server/app/settings/networks.html +5 -5
  120. package/.next/server/app/settings/networks.rsc +15 -15
  121. package/.next/server/app/settings/networks.segments/_full.segment.rsc +15 -15
  122. package/.next/server/app/settings/networks.segments/_head.segment.rsc +4 -4
  123. package/.next/server/app/settings/networks.segments/_index.segment.rsc +8 -8
  124. package/.next/server/app/settings/networks.segments/_tree.segment.rsc +2 -2
  125. package/.next/server/app/settings/networks.segments/settings/networks/__PAGE__.segment.rsc +4 -4
  126. package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +3 -3
  127. package/.next/server/app/settings/networks.segments/settings.segment.rsc +3 -3
  128. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  129. package/.next/server/app/settings/tokens/page_client-reference-manifest.js +1 -1
  130. package/.next/server/app/settings/tokens.html +5 -5
  131. package/.next/server/app/settings/tokens.rsc +15 -15
  132. package/.next/server/app/settings/tokens.segments/_full.segment.rsc +15 -15
  133. package/.next/server/app/settings/tokens.segments/_head.segment.rsc +4 -4
  134. package/.next/server/app/settings/tokens.segments/_index.segment.rsc +8 -8
  135. package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +2 -2
  136. package/.next/server/app/settings/tokens.segments/settings/tokens/__PAGE__.segment.rsc +4 -4
  137. package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +3 -3
  138. package/.next/server/app/settings/tokens.segments/settings.segment.rsc +3 -3
  139. package/.next/server/app/settings.html +5 -5
  140. package/.next/server/app/settings.rsc +15 -15
  141. package/.next/server/app/settings.segments/_full.segment.rsc +15 -15
  142. package/.next/server/app/settings.segments/_head.segment.rsc +4 -4
  143. package/.next/server/app/settings.segments/_index.segment.rsc +8 -8
  144. package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  145. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +4 -4
  146. package/.next/server/app/settings.segments/settings.segment.rsc +3 -3
  147. package/.next/server/app/tasks/[id]/page.js.nft.json +1 -1
  148. package/.next/server/app/tasks/[id]/page_client-reference-manifest.js +1 -1
  149. package/.next/server/app/tasks/page.js.nft.json +1 -1
  150. package/.next/server/app/tasks/page_client-reference-manifest.js +1 -1
  151. package/.next/server/app/tasks.html +5 -5
  152. package/.next/server/app/tasks.rsc +15 -15
  153. package/.next/server/app/tasks.segments/_full.segment.rsc +15 -15
  154. package/.next/server/app/tasks.segments/_head.segment.rsc +4 -4
  155. package/.next/server/app/tasks.segments/_index.segment.rsc +8 -8
  156. package/.next/server/app/tasks.segments/_tree.segment.rsc +2 -2
  157. package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +4 -4
  158. package/.next/server/app/tasks.segments/tasks.segment.rsc +3 -3
  159. package/.next/server/chunks/ssr/[root-of-the-server]__05z_qq6._.js +3 -0
  160. package/.next/server/chunks/ssr/[root-of-the-server]__05z_qq6._.js.map +1 -0
  161. package/.next/server/chunks/ssr/[root-of-the-server]__06w5i08._.js +3 -0
  162. package/.next/server/chunks/ssr/[root-of-the-server]__06w5i08._.js.map +1 -0
  163. package/.next/server/chunks/ssr/[root-of-the-server]__0jgqpfv._.js +3 -0
  164. package/.next/server/chunks/ssr/[root-of-the-server]__0jgqpfv._.js.map +1 -0
  165. package/.next/server/chunks/ssr/[root-of-the-server]__0w7k~3f._.js +1 -1
  166. package/.next/server/chunks/ssr/[root-of-the-server]__0w7k~3f._.js.map +1 -1
  167. package/.next/server/chunks/ssr/[root-of-the-server]__11wln8.._.js +3 -0
  168. package/.next/server/chunks/ssr/[root-of-the-server]__11wln8.._.js.map +1 -0
  169. package/.next/server/chunks/ssr/{dash-stageb-wt_app_0e7vp44._.js → dash-stageb-wt_app_045dcq5._.js} +2 -2
  170. package/.next/server/chunks/ssr/dash-stageb-wt_app_045dcq5._.js.map +1 -0
  171. package/.next/server/chunks/ssr/{dash-stageb-wt_app_0g~a.7i._.js → dash-stageb-wt_app_05u4_h~._.js} +8 -2
  172. package/.next/server/chunks/ssr/dash-stageb-wt_app_05u4_h~._.js.map +1 -0
  173. package/.next/server/chunks/ssr/{dash-stageb-wt_app_0qpn85e._.js → dash-stageb-wt_app_0nuizh~._.js} +2 -2
  174. package/.next/server/chunks/ssr/dash-stageb-wt_app_0nuizh~._.js.map +1 -0
  175. package/.next/server/chunks/ssr/dash-stageb-wt_app_0qn7hvc._.js +1 -1
  176. package/.next/server/chunks/ssr/dash-stageb-wt_app_0qn7hvc._.js.map +1 -1
  177. package/.next/server/chunks/ssr/dash-stageb-wt_app_0ss0pj-._.js +1 -1
  178. package/.next/server/chunks/ssr/dash-stageb-wt_app_0ss0pj-._.js.map +1 -1
  179. package/.next/server/chunks/ssr/dash-stageb-wt_app_components_0vzsmx1._.js +5 -5
  180. package/.next/server/chunks/ssr/dash-stageb-wt_app_components_0vzsmx1._.js.map +1 -1
  181. package/.next/server/chunks/ssr/dash-stageb-wt_app_nodes_NodesView_tsx_0patjj7._.js +1 -1
  182. package/.next/server/chunks/ssr/dash-stageb-wt_app_nodes_NodesView_tsx_0patjj7._.js.map +1 -1
  183. package/.next/server/chunks/ssr/dash-stageb-wt_app_tasks_TasksView_tsx_0pnz7dd._.js +3 -0
  184. package/.next/server/chunks/ssr/dash-stageb-wt_app_tasks_TasksView_tsx_0pnz7dd._.js.map +1 -0
  185. package/.next/server/middleware-build-manifest.js +3 -3
  186. package/.next/server/pages/404.html +5 -5
  187. package/.next/server/pages/500.html +1 -1
  188. package/.next/server/server-reference-manifest.js +1 -1
  189. package/.next/server/server-reference-manifest.json +1 -1
  190. package/.next/static/chunks/02.5_nifak.uu.js +1 -0
  191. package/.next/static/chunks/03hzj129k~odb.js +1 -0
  192. package/.next/static/chunks/06q7-vhy~1-y3.js +7 -0
  193. package/.next/static/chunks/0_4ljrbp.stxy.js +1 -0
  194. package/.next/static/chunks/0cey4i.y0a8~j.js +1 -0
  195. package/.next/static/chunks/{0i8qbq4v47v3r.js → 0ep78sq90x_yc.js} +1 -1
  196. package/.next/static/chunks/{0_xyyy_x0k42j.js → 0hm52b0y~k0~z.js} +1 -1
  197. package/.next/static/chunks/0kncmrm2a_q43.js +1 -0
  198. package/.next/static/chunks/0mhaf6lrw5nn..css +1 -0
  199. package/.next/static/chunks/{12jbb28xy2hw..js → 0qf8xjihw3zi..js} +1 -1
  200. package/.next/static/chunks/0xyu92zdvvghl.js +7 -0
  201. package/.next/static/chunks/0zj_navpyhltx.js +2 -0
  202. package/.next/static/chunks/10px7ehmo7eq0.js +1 -0
  203. package/.next/static/chunks/{0tv-.l-_mw4ye.js → 11zz15q37~bz5.js} +1 -1
  204. package/.next/static/chunks/14y4x3de1lbug.js +1 -0
  205. package/.next/static/chunks/15ka68xi.w-i-.js +1 -0
  206. package/.next/static/chunks/17qkc714xy04..js +1 -0
  207. package/.next/trace +2 -2
  208. package/.next/trace-build +1 -1
  209. package/app/components/ChatPane.tsx +2 -2
  210. package/app/components/NodeList.tsx +40 -4
  211. package/app/components/Sidebar.tsx +180 -29
  212. package/app/components/TaskChatPanel.tsx +1 -1
  213. package/app/components/TaskDetail.tsx +407 -0
  214. package/app/components/TaskList.tsx +117 -0
  215. package/app/nodes/NodesView.tsx +28 -3
  216. package/app/tasks/TasksView.tsx +353 -0
  217. package/app/tasks/[id]/page.tsx +23 -176
  218. package/app/tasks/page.tsx +10 -453
  219. package/package.json +1 -1
  220. package/tests/e2e-sidebar-default.spec.ts +141 -0
  221. package/tests/e2e-sidebar-icon-rail.spec.ts +261 -0
  222. package/tests/e2e-stage-b-chat-pane.spec.ts +286 -0
  223. package/tests/e2e-stage-tasks-two-column.spec.ts +353 -0
  224. package/.next/server/chunks/ssr/[root-of-the-server]__0b-b6yh._.js +0 -3
  225. package/.next/server/chunks/ssr/[root-of-the-server]__0b-b6yh._.js.map +0 -1
  226. package/.next/server/chunks/ssr/[root-of-the-server]__0fs-j~c._.js +0 -3
  227. package/.next/server/chunks/ssr/[root-of-the-server]__0fs-j~c._.js.map +0 -1
  228. package/.next/server/chunks/ssr/[root-of-the-server]__0ma5-5u._.js +0 -3
  229. package/.next/server/chunks/ssr/[root-of-the-server]__0ma5-5u._.js.map +0 -1
  230. package/.next/server/chunks/ssr/[root-of-the-server]__0~hwpo-._.js +0 -3
  231. package/.next/server/chunks/ssr/[root-of-the-server]__0~hwpo-._.js.map +0 -1
  232. package/.next/server/chunks/ssr/dash-stageb-wt_app_095q0~q._.js +0 -3
  233. package/.next/server/chunks/ssr/dash-stageb-wt_app_095q0~q._.js.map +0 -1
  234. package/.next/server/chunks/ssr/dash-stageb-wt_app_0e7vp44._.js.map +0 -1
  235. package/.next/server/chunks/ssr/dash-stageb-wt_app_0g~a.7i._.js.map +0 -1
  236. package/.next/server/chunks/ssr/dash-stageb-wt_app_0qpn85e._.js.map +0 -1
  237. package/.next/server/chunks/ssr/dash-stageb-wt_app_0tppjr_._.js +0 -9
  238. package/.next/server/chunks/ssr/dash-stageb-wt_app_0tppjr_._.js.map +0 -1
  239. package/.next/server/chunks/ssr/dash-stageb-wt_app_0y764mt._.js +0 -3
  240. package/.next/server/chunks/ssr/dash-stageb-wt_app_0y764mt._.js.map +0 -1
  241. package/.next/server/chunks/ssr/dash-stageb-wt_app_tasks_page_tsx_0.fhtup._.js +0 -3
  242. package/.next/server/chunks/ssr/dash-stageb-wt_app_tasks_page_tsx_0.fhtup._.js.map +0 -1
  243. package/.next/static/chunks/027yjbjm9afuk.js +0 -1
  244. package/.next/static/chunks/07wf61~wof.l~.js +0 -1
  245. package/.next/static/chunks/0ev252k-tf_aa.css +0 -1
  246. package/.next/static/chunks/0j-jjs3w89dei.js +0 -1
  247. package/.next/static/chunks/0ko39v-gezo7d.js +0 -1
  248. package/.next/static/chunks/0l8vf4q2t5x4d.js +0 -7
  249. package/.next/static/chunks/0xcazs6t8~l4q.js +0 -2
  250. package/.next/static/chunks/10sr651~7vm42.js +0 -7
  251. package/.next/static/chunks/13_i5b0qmko7z.js +0 -1
  252. package/.next/static/chunks/140suz13o9va6.js +0 -1
  253. package/.next/static/chunks/144cf7ds3_9~b.js +0 -1
  254. package/.next/static/chunks/17c4wlsbmmgk9.js +0 -1
  255. package/.next/static/chunks/17cfly-04z1j0.js +0 -1
  256. /package/.next/static/{HIKVEkFShWE481BxQDjwH → vc_aJHtYwefsVcl2_f14Z}/_buildManifest.js +0 -0
  257. /package/.next/static/{HIKVEkFShWE481BxQDjwH → vc_aJHtYwefsVcl2_f14Z}/_clientMiddlewareManifest.js +0 -0
  258. /package/.next/static/{HIKVEkFShWE481BxQDjwH → vc_aJHtYwefsVcl2_f14Z}/_ssgManifest.js +0 -0
@@ -0,0 +1,3 @@
1
+ module.exports=[76595,a=>{"use strict";var b=a.i(79616),c=a.i(20855),d=a.i(25059),e=a.i(59413),f=a.i(16369),g=a.i(52231),h=a.i(25104),i=a.i(42023);function j({tasks:a,selectedId:c,onSelect:d}){return(0,b.jsx)("div",{"data-testid":"task-list-rail",className:"flex flex-col h-full max-h-screen overflow-y-auto",children:0===a.length?(0,b.jsx)("div",{className:"px-4 py-6 text-xs text-gray-600 text-center",children:"没有匹配的任务"}):(0,b.jsx)("ul",{className:"flex flex-col divide-y divide-[#1c1c1f]",children:a.map(a=>{let e=a.task_id===c;return(0,b.jsx)("li",{children:(0,b.jsxs)("button",{type:"button","data-task-row":!0,"data-task-id":a.task_id,"data-selected":e?"true":"false",onClick:()=>d(a.task_id),className:`w-full text-left px-3 py-2.5 transition-colors ${e?"bg-cyan-500/10 border-l-2 border-cyan-500":"border-l-2 border-transparent hover:bg-[#1c1c1f]/40"}`,children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,b.jsx)("span",{"aria-hidden":!0,className:"inline-block w-1.5 h-1.5 rounded-full shrink-0",style:{backgroundColor:i.STATUS_DOT_HEX[a.status]||"#6b7280"}}),(0,b.jsx)("span",{className:`text-[10px] px-1.5 py-0.5 rounded border ${i.STATUS_CHIP_CLASS[a.status]||"bg-gray-500/10 text-gray-400 border-gray-500/20"}`,children:a.status}),"high"===a.priority&&(0,b.jsx)("span",{className:"text-[10px] text-red-400 shrink-0",children:"HIGH"}),(0,b.jsx)("span",{className:"ml-auto text-[10px] text-gray-600 tabular-nums shrink-0",children:function(a){if(!a)return"--";let b=Math.floor((Date.now()-new Date(a.replace(" ","T")+"Z").getTime())/1e3);return b<60?`${b}s`:b<3600?`${Math.floor(b/60)}m`:b<86400?`${Math.floor(b/3600)}h`:`${Math.floor(b/86400)}d`}(a.created_at)})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1 text-xs text-gray-300 min-w-0 mb-1",children:[a.from_name&&(0,b.jsx)(g.AliasAvatar,{alias:a.from_name,size:14}),(0,b.jsx)("span",{className:"truncate max-w-[35%]",children:a.from_name||"--"}),(0,b.jsx)("span",{className:"text-gray-600 shrink-0",children:"→"}),a.to_name&&(0,b.jsx)(g.AliasAvatar,{alias:a.to_name,size:14}),(0,b.jsx)("span",{className:"truncate max-w-[35%]",children:a.to_name||"--"})]}),(0,b.jsx)("div",{className:"text-[11px] text-gray-500 line-clamp-2 leading-snug",title:a.content,children:(0,h.previewContent)(a.content)||(0,b.jsx)("span",{className:"italic",children:"(no content)"})})]})},a.task_id)})})})}var k=a.i(32891);function l(a){if(!a)return"--";let b=Math.floor((Date.now()-new Date(a.replace(" ","T")+"Z").getTime())/1e3);return b<60?`${b}s ago`:b<3600?`${Math.floor(b/60)}m ago`:b<86400?`${Math.floor(b/3600)}h ago`:`${Math.floor(b/86400)}d ago`}let m=async a=>{let b=await fetch(a);if(401===b.status)throw window.location.assign("/login"),Error("unauthorized");return b.json()};function n({taskId:a,onClose:d,onRetried:e}){var f;let{data:h,isLoading:j,error:o,mutate:p}=(0,k.default)(`/api/hub/tasks?task_id=${encodeURIComponent(a)}`,m,{refreshInterval:5e3}),{data:q}=(0,k.default)(`/api/hub/task-events?task_id=${encodeURIComponent(a)}&limit=50`,m,{refreshInterval:1e4}),[r,s]=(0,c.useState)(!1),t=h?.tasks?.[0],u=q?.events||[],v=async()=>{if(t){s(!0);try{await fetch("/api/hub/send",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({alias:t.to_name,task:t.content,priority:t.priority,...t.network_id?{network_id:t.network_id}:{}})}),p(),e?.()}finally{s(!1)}}},w=t?[{label:"Created",time:t.created_at,color:"text-gray-400"},{label:"Delivered",time:t.delivered_at,color:"text-blue-400"},{label:"Started",time:t.started_at,color:"text-green-400"},{label:"Completed",time:t.completed_at,color:"text-purple-400"}]:[];return(0,b.jsxs)("div",{"data-testid":"task-detail-pane","data-task-id":a,"data-poll-task-ms":String(5e3),"data-poll-events-ms":String(1e4),className:"flex flex-col h-full max-h-screen overflow-hidden",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 border-b border-[#1c1c1f]",children:[(0,b.jsxs)("div",{className:"min-w-0 flex-1 flex items-center gap-2",children:[(0,b.jsxs)("div",{className:"text-xs text-gray-500 truncate",title:a,children:[(0,b.jsx)("span",{className:"text-gray-600",children:"Task ID:"})," ",(0,b.jsxs)("span",{className:"font-mono",children:[a.slice(0,12),"…"]})]}),t&&(0,b.jsx)("span",{"data-testid":"task-detail-status",className:`text-xs px-2 py-0.5 rounded-md border ${i.STATUS_CHIP_CLASS[t.status]||"bg-gray-500/10 text-gray-400 border-gray-500/20"}`,children:t.status})]}),d&&(0,b.jsx)("button",{type:"button",onClick:d,"aria-label":"Close detail (返回 tasks 列表)","data-testid":"task-detail-close",className:"shrink-0 rounded-md border border-[#26262b] px-2 py-1 text-xs text-gray-400 hover:text-white hover:border-[#3a3a41]",children:"←"})]}),(0,b.jsxs)("div",{className:"flex-1 overflow-y-auto px-4 py-4 space-y-4",children:[j&&!t&&(0,b.jsxs)("div",{className:"animate-pulse space-y-3",children:[(0,b.jsx)("div",{className:"h-6 w-1/3 bg-gray-800/40 rounded"}),(0,b.jsx)("div",{className:"h-24 bg-gray-800/40 rounded"}),(0,b.jsx)("div",{className:"h-24 bg-gray-800/40 rounded"})]}),o&&(0,b.jsx)("div",{className:"bg-red-900/20 border border-red-800/40 text-red-300 px-3 py-2 rounded text-sm",children:o instanceof Error?o.message:"fetch failed"}),!j&&!o&&!t&&(0,b.jsx)("div",{className:"text-gray-400 text-sm",children:"Task not found"}),t&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("section",{"data-testid":"task-detail-timeline","data-block":"timeline",className:"bg-[#161618] border border-[#26262b] rounded-xl p-4",children:[(0,b.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"Timeline"}),(0,b.jsx)("div",{className:"relative",children:w.map((a,c)=>{let d=!!a.time,e=c===w.length-1;return(0,b.jsxs)("div",{"data-testid":`timeline-step-${a.label.toLowerCase()}`,"data-timeline-step":a.label.toLowerCase(),"data-timeline-done":d?"true":"false",className:"flex gap-3 pb-4 last:pb-0",children:[(0,b.jsxs)("div",{className:"flex flex-col items-center",children:[(0,b.jsx)("div",{className:`w-3 h-3 rounded-full border-2 shrink-0 ${d?`${a.color} border-current`:"border-gray-700 bg-transparent"}`}),!e&&(0,b.jsx)("div",{className:`w-0.5 flex-1 mt-1 ${d&&w[c+1]?.time?"bg-cyan-500/40":"bg-gray-800"}`})]}),(0,b.jsxs)("div",{className:"min-w-0 -mt-0.5",children:[(0,b.jsx)("div",{className:`text-sm font-medium ${d?"text-gray-200":"text-gray-600"}`,children:a.label}),(0,b.jsx)("div",{className:"text-xs text-gray-500",title:a.time||void 0,children:a.time?`${l(a.time)} — ${a.time}`:"Pending"})]})]},a.label)})})]}),(0,b.jsxs)("section",{"data-testid":"task-detail-info","data-block":"info",className:"bg-[#161618] border border-[#26262b] rounded-xl p-4",children:[(0,b.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-3",children:"Info"}),(0,b.jsx)("div",{className:"space-y-2 text-xs",children:[["Task ID",t.task_id],["From",t.from_name],["To",t.to_name],["Priority",t.priority],["Status",t.status],["Expires",t.expires_at]].map(([a,c])=>(0,b.jsxs)("div",{className:"flex justify-between gap-4",children:[(0,b.jsx)("span",{className:"text-gray-500 shrink-0",children:a}),(0,b.jsx)("span",{"data-info-field":String(a).toLowerCase().replace(/\s+/g,"-"),className:"text-gray-300 truncate max-w-[240px] text-right",title:String(c||""),children:String(c||"--")})]},a))}),(0,b.jsxs)("div",{className:"mt-4 pt-3 border-t border-[#1c1c1f] flex items-center gap-2 text-sm text-gray-300","data-testid":"task-detail-participants",children:[t.from_name&&(0,b.jsx)(g.AliasAvatar,{alias:t.from_name,size:20}),(0,b.jsx)("span",{className:"truncate",children:t.from_name||"--"}),(0,b.jsx)("span",{className:"text-gray-600 shrink-0",children:"→"}),t.to_name&&(0,b.jsx)(g.AliasAvatar,{alias:t.to_name,size:20}),(0,b.jsx)("span",{className:"truncate",children:t.to_name||"--"})]}),(0,b.jsx)("div",{className:"mt-2 text-[10px]",children:(0,b.jsxs)("span",{className:"high"===(f=t.priority)?"text-red-400":"low"===f?"text-gray-600":"text-gray-400","data-testid":"task-detail-priority",children:["Priority: ",t.priority||"normal"]})})]}),(0,b.jsxs)("section",{"data-testid":"task-detail-content","data-block":"content",className:"bg-[#161618] border border-[#26262b] rounded-xl p-4",children:[(0,b.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-2",children:"Content"}),(0,b.jsx)("pre",{"data-testid":"task-detail-content-body",className:"text-xs text-gray-200 whitespace-pre-wrap break-words bg-[#0e0e10] rounded-lg px-3 py-2 border border-[#1c1c1f] max-h-64 overflow-y-auto font-sans",children:t.content||"--"})]}),t.result&&(0,b.jsxs)("section",{"data-testid":"task-detail-result","data-block":"result",className:"bg-[#161618] border border-[#26262b] rounded-xl p-4",children:[(0,b.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-2",children:"Result"}),(0,b.jsx)("pre",{"data-testid":"task-detail-result-body",className:"text-xs text-gray-200 whitespace-pre-wrap break-words bg-[#0e0e10] rounded-lg px-3 py-2 border border-[#1c1c1f] max-h-64 overflow-y-auto font-sans",children:t.result})]}),(0,b.jsxs)("section",{"data-testid":"task-detail-events","data-block":"events","data-events-count":u.length,className:"bg-[#161618] border border-[#26262b] rounded-xl p-4",children:[(0,b.jsxs)("h2",{className:"text-sm font-semibold text-gray-300 mb-3",children:["Events ",u.length>0&&(0,b.jsxs)("span",{className:"text-gray-500",children:["(",u.length,")"]})]}),0===u.length?(0,b.jsx)("div",{className:"text-xs text-gray-600 italic",children:"No events yet."}):(0,b.jsx)("div",{className:"space-y-2 max-h-64 overflow-y-auto",children:u.map((a,c)=>(0,b.jsxs)("div",{"data-testid":"task-detail-event-row",className:"flex items-center gap-2 text-xs",children:[(0,b.jsx)("span",{"aria-hidden":!0,className:`w-1.5 h-1.5 rounded-full shrink-0 ${"running"===a.to_status?"bg-green-400":"replied"===a.to_status?"bg-purple-400":"failed"===a.to_status?"bg-red-400":"bg-blue-400"}`}),(0,b.jsx)("span",{className:"text-gray-400",children:a.event_type}),a.from_status&&(0,b.jsxs)("span",{className:"text-gray-600",children:[a.from_status," → ",a.to_status]}),(0,b.jsx)("span",{className:"text-gray-600 ml-auto shrink-0",title:a.created_at,children:l(a.created_at)})]},a.id??c))})]}),("failed"===t.status||"expired"===t.status)&&(0,b.jsx)("div",{children:(0,b.jsx)("button",{onClick:v,disabled:r,"data-testid":"task-detail-retry",className:"text-xs text-orange-400 hover:text-orange-300 px-3 py-1.5 rounded-md border border-orange-500/30 hover:bg-orange-500/10 disabled:opacity-50 disabled:cursor-wait",children:r?"Retrying…":"Retry task"})})]})]})]})}let o="(min-width: 768px)";function p(a){let b=window.matchMedia(o);return b.addEventListener("change",a),()=>b.removeEventListener("change",a)}function q(a){try{return decodeURIComponent(a)}catch{return a}}function r({initialSelectedId:a=null}){let g=(0,d.useSearchParams)(),{networkId:h}=(0,e.useNetworkId)(),[k,l]=(0,c.useState)([]),[m,s]=(0,c.useState)(0),[t,u]=(0,c.useState)(!0),[v,w]=(0,c.useState)(""),[x,y]=(0,c.useState)(g.get("status")||""),[z,A]=(0,c.useState)(""),[B,C]=(0,c.useState)(""),[D,E]=(0,c.useState)(a),F=(0,c.useSyncExternalStore)(p,()=>window.matchMedia(o).matches,()=>!0),G=()=>{E(null);try{window.history.pushState({},"","/tasks")}catch{}};(0,c.useEffect)(()=>{let a=()=>{let a=window.location.pathname.match(/^\/tasks\/([^/]+)\/?$/);E(a?q(a[1]):null)};return window.addEventListener("popstate",a),()=>window.removeEventListener("popstate",a)},[]);let H=(0,c.useCallback)(async()=>{try{let a=new URLSearchParams;h&&a.set("network_id",h),x&&a.set("status",x),z&&a.set("from_name",z),B&&a.set("to_name",B),a.set("limit","100");let b=await fetch(`/api/hub/tasks?${a.toString()}`);if(401===b.status)return void window.location.assign("/login");let c=await b.json();l(c.tasks||[]),s(c.count??(c.tasks?.length||0)),w("")}catch(a){w(a instanceof Error?a.message:"fetch failed")}finally{u(!1)}},[x,z,B,h]);(0,c.useEffect)(()=>{u(!0),H();let a=setInterval(H,5e3);return()=>clearInterval(a)},[H]);let I={};k.forEach(a=>{I[a.status]=(I[a.status]||0)+1});let J=k.length||1,K=i.TASK_STATUSES.map(a=>({key:a,color:i.STATUS_BAR_CLASS[a]})).filter(a=>I[a.key]);return(0,b.jsxs)("div",{"data-testid":"tasks-layout","data-selected-id":D??"",className:"min-h-screen max-w-full overflow-x-hidden bg-[#0b0b0d] text-gray-100 flex",children:[(0,b.jsxs)("aside",{"data-testid":"task-list-column",className:`flex flex-col w-full sm:w-[380px] shrink-0 min-h-screen sticky top-0 border-r border-[#1c1c1f] ${D&&!F?"hidden":"flex"}`,children:[(0,b.jsxs)("div",{className:"px-4 py-3 border-b border-[#1c1c1f]",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,b.jsx)("h1",{className:"text-xl font-bold text-white lg:ml-0 ml-10",children:"Tasks"}),k.length<m&&(0,b.jsxs)("span",{className:"text-xs bg-blue-900/30 text-blue-400 px-2 py-0.5 rounded-full border border-blue-800/30 tabular-nums",title:`Showing ${k.length} of ${m} tasks`,children:[k.length," / ",m]})]}),k.length>0&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"anet-tabstrip-wrap mb-2",children:(0,b.jsx)("div",{className:"anet-tabstrip flex flex-wrap gap-1 bg-[#161618] rounded-lg border border-[#26262b] p-1 overflow-x-auto scrollbar-thin",children:["",...i.TASK_STATUSES].map(a=>{let c=""===a?k.length:I[a]||0,d=x===a;return(0,b.jsxs)("button",{onClick:()=>y(a),disabled:0===c&&""!==a&&!d,className:`px-2.5 py-1 rounded-md text-xs transition-colors flex items-center gap-1 shrink-0 whitespace-nowrap disabled:opacity-30 disabled:cursor-not-allowed ${d?`${i.STATUS_CHIP_CLASS[a]||"bg-cyan-500/10 text-cyan-300 border-cyan-500/20"} border`:"text-gray-500 hover:text-gray-300 hover:bg-[#1c1c1f]/40"}`,children:[a&&(0,b.jsx)("span",{"aria-hidden":!0,className:"inline-block w-1.5 h-1.5 rounded-full shrink-0",style:{backgroundColor:i.STATUS_DOT_HEX[a]||"#6b7280"}}),(0,b.jsx)("span",{children:a||"All"}),(0,b.jsx)("span",{className:`text-[10px] tabular-nums ${d?"opacity-80":"text-gray-600"}`,children:c})]},a||"all")})})}),(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5 mb-2",children:[(0,b.jsxs)("div",{className:"flex items-center gap-1 rounded border border-[#26262b] bg-[#161618] px-2 py-1 focus-within:border-blue-500/40",children:[(0,b.jsx)("span",{className:"text-[9px] uppercase tracking-wide text-gray-600",children:"From"}),(0,b.jsx)("input",{type:"text",value:z,onChange:a=>A(a.target.value),placeholder:"any",className:"w-16 bg-transparent text-xs text-white placeholder-gray-700 focus:outline-none"})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1 rounded border border-[#26262b] bg-[#161618] px-2 py-1 focus-within:border-blue-500/40",children:[(0,b.jsx)("span",{className:"text-[9px] uppercase tracking-wide text-gray-600",children:"To"}),(0,b.jsx)("input",{type:"text",value:B,onChange:a=>C(a.target.value),placeholder:"any",className:"w-16 bg-transparent text-xs text-white placeholder-gray-700 focus:outline-none"})]}),(x||z||B)&&(0,b.jsx)("button",{type:"button",onClick:()=>{y(""),A(""),C("")},className:"rounded border border-gray-700 px-2 py-0.5 text-[10px] text-gray-500 hover:text-gray-200 hover:border-gray-600",children:"Clear"})]}),!x&&K.length>0&&(0,b.jsx)("div",{className:"flex h-1 rounded-full overflow-hidden bg-gray-800",children:K.map(a=>(0,b.jsx)("div",{className:a.color,style:{width:`${I[a.key]/J*100}%`},title:`${a.key}: ${I[a.key]}`},a.key))})]}),v&&(0,b.jsx)("div",{className:"bg-red-900/20 border border-red-800/40 text-red-300 px-3 py-1.5 rounded mt-2 text-xs",children:v})]}),(0,b.jsx)("div",{className:"flex-1 min-h-0 overflow-y-auto",children:t?(0,b.jsx)("div",{className:"animate-pulse space-y-1 px-3 py-2",children:[1,2,3,4,5,6,7,8].map(a=>(0,b.jsx)("div",{className:"h-14 bg-gray-800/40 rounded"},a))}):0===k.length?(0,b.jsx)("div",{className:"px-3 py-6",children:(0,b.jsx)(f.EmptyState,{variant:"tasks",sub:x||z||B?"No tasks match the current filters. Try clearing them.":"Tasks will appear here when agents send them via CommHub."})}):(0,b.jsx)(j,{tasks:k,selectedId:D,onSelect:a=>{E(a);try{window.history.pushState({},"",`/tasks/${encodeURIComponent(a)}`)}catch{}}})})]}),D&&F&&(0,b.jsx)("section",{"data-testid":"task-detail-column",className:"flex-1 min-w-0 min-h-screen",children:(0,b.jsx)(n,{taskId:D,onClose:G,onRetried:H})}),D&&!F&&(0,b.jsx)("section",{"data-testid":"task-detail-mobile",className:"fixed inset-0 z-40 bg-[#0b0b0d]",children:(0,b.jsx)(n,{taskId:D,onClose:G,onRetried:H})}),!D&&F&&(0,b.jsx)("section",{"data-testid":"task-detail-empty",className:"flex-1 min-w-0 min-h-screen flex items-center justify-center text-sm text-gray-600",children:"请从左侧列表选择一条任务查看详情"})]})}a.s(["TasksView",0,function({initialSelectedId:a=null}){return(0,b.jsx)(c.Suspense,{fallback:(0,b.jsx)("div",{className:"min-h-screen bg-[#0b0b0d] text-gray-100 p-4 sm:p-6",children:(0,b.jsx)("div",{className:"lg:ml-0 ml-10 text-gray-500 text-sm",children:"Loading tasks…"})}),children:(0,b.jsx)(r,{initialSelectedId:a})})},"decodeIdSegment",0,q],76595)}];
2
+
3
+ //# sourceMappingURL=dash-stageb-wt_app_tasks_TasksView_tsx_0pnz7dd._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../dash-stageb-wt/app/tasks/TasksView.tsx","../../../../../dash-stageb-wt/app/components/TaskList.tsx","../../../../../dash-stageb-wt/app/components/TaskDetail.tsx"],"sourcesContent":["'use client';\n\nimport {\n Suspense,\n useCallback,\n useEffect,\n useState,\n useSyncExternalStore,\n} from 'react';\nimport { useSearchParams } from 'next/navigation';\nimport { useNetworkId } from '../lib/network-context';\nimport { EmptyState } from '../components/EmptyState';\nimport { TaskList, type TaskListItem } from '../components/TaskList';\nimport { TaskDetail } from '../components/TaskDetail';\nimport {\n TASK_STATUSES,\n STATUS_CHIP_CLASS,\n STATUS_DOT_HEX,\n STATUS_BAR_CLASS,\n} from '../lib/status';\n\n// #Stage-tasks (dashboard 类飞书 two-column, 07-31):\n//\n// /tasks moves from one-big-table + inline-expand + drawer to a\n// list-plus-detail layout with a shareable URL /tasks/[id]. Mirrors\n// /nodes NodesView (see app/nodes/NodesView.tsx for the pattern).\n//\n// Deliberately: the old expand-in-place row and the TaskDrawer side\n// sheet are gone from the /tasks page. The right pane replaces both\n// affordances so we don't leave the layout showing \"one thing twice\"\n// (通信龙 07-31 catch from /nodes: rail added alongside the table left\n// 199 nodes rendered in two places at once). Detail negative\n// assertions in the tests must be paired with a positive assertion so\n// \"detail integrated into pane\" and \"detail feature gone\" can't be\n// confused for each other.\n//\n// TaskDrawer.tsx itself is not deleted — no other file imports it,\n// but the boundary of this PR is app/tasks/**, and dead-code sweeps\n// are a separate concern.\n\nconst MD_QUERY = '(min-width: 768px)';\nfunction subscribeMd(cb: () => void) {\n const mql = window.matchMedia(MD_QUERY);\n mql.addEventListener('change', cb);\n return () => mql.removeEventListener('change', cb);\n}\nfunction useIsDesktop(): boolean {\n return useSyncExternalStore(\n subscribeMd,\n () => window.matchMedia(MD_QUERY).matches,\n () => true,\n );\n}\n\n// Task IDs on the CommHub side are opaque strings — usually hex, but\n// treat them as arbitrary to match the alias precedent. Decode once\n// defensively (same shape as /nodes NodesView.decodeAliasSegment).\nexport function decodeIdSegment(seg: string): string {\n try {\n return decodeURIComponent(seg);\n } catch {\n return seg;\n }\n}\n\nfunction TasksViewInner({ initialSelectedId = null }: { initialSelectedId?: string | null }) {\n const searchParams = useSearchParams();\n const { networkId } = useNetworkId();\n const [tasks, setTasks] = useState<TaskListItem[]>([]);\n const [count, setCount] = useState(0);\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState('');\n\n const [filterStatus, setFilterStatus] = useState(searchParams.get('status') || '');\n const [filterFrom, setFilterFrom] = useState('');\n const [filterTo, setFilterTo] = useState('');\n\n // #Stage-tasks: selection is seeded from /tasks/[id] URL, then plain\n // client state kept in sync with pushState (shallow — no route remount,\n // switching tasks swaps the right pane in place).\n const [selectedId, setSelectedId] = useState<string | null>(initialSelectedId);\n const isDesktop = useIsDesktop();\n\n const selectTask = (task_id: string) => {\n setSelectedId(task_id);\n try {\n window.history.pushState({}, '', `/tasks/${encodeURIComponent(task_id)}`);\n } catch {}\n };\n const closeDetail = () => {\n setSelectedId(null);\n try {\n window.history.pushState({}, '', '/tasks');\n } catch {}\n };\n\n // Back/forward — mirror URL into state.\n useEffect(() => {\n const onPop = () => {\n const m = window.location.pathname.match(/^\\/tasks\\/([^/]+)\\/?$/);\n setSelectedId(m ? decodeIdSegment(m[1]) : null);\n };\n window.addEventListener('popstate', onPop);\n return () => window.removeEventListener('popstate', onPop);\n }, []);\n\n const fetchTasks = useCallback(async () => {\n try {\n const params = new URLSearchParams();\n if (networkId) params.set('network_id', networkId);\n if (filterStatus) params.set('status', filterStatus);\n if (filterFrom) params.set('from_name', filterFrom);\n if (filterTo) params.set('to_name', filterTo);\n params.set('limit', '100');\n\n const res = await fetch(`/api/hub/tasks?${params.toString()}`);\n if (res.status === 401) {\n window.location.assign('/login');\n return;\n }\n const data = await res.json();\n setTasks(data.tasks || []);\n setCount(data.count ?? (data.tasks?.length || 0));\n setError('');\n } catch (e: unknown) {\n setError(e instanceof Error ? e.message : 'fetch failed');\n } finally {\n setLoading(false);\n }\n }, [filterStatus, filterFrom, filterTo, networkId]);\n\n useEffect(() => {\n setLoading(true);\n fetchTasks();\n const interval = setInterval(fetchTasks, 5000);\n return () => clearInterval(interval);\n }, [fetchTasks]);\n\n const counts: Record<string, number> = {};\n tasks.forEach((t) => {\n counts[t.status] = (counts[t.status] || 0) + 1;\n });\n const total = tasks.length || 1;\n const bars = TASK_STATUSES.map((key) => ({ key, color: STATUS_BAR_CLASS[key] })).filter(\n (b) => counts[b.key],\n );\n\n return (\n <div\n data-testid=\"tasks-layout\"\n data-selected-id={selectedId ?? ''}\n className=\"min-h-screen max-w-full overflow-x-hidden bg-[#0b0b0d] text-gray-100 flex\"\n >\n {/* Rail — desktop always visible; on mobile it holds the whole\n page (detail becomes a full-screen overlay). No \"toggle\n rail\" button on tasks: there is no dense one-column table\n to fall back to (unlike /nodes where Vincent's 看全局 view\n exists). Removing the old table is the whole point of this\n refactor — 通信龙 07-31 catch from /nodes: don't leave the\n layout showing \"one thing twice\". */}\n <aside\n data-testid=\"task-list-column\"\n className={`flex flex-col w-full sm:w-[380px] shrink-0 min-h-screen sticky top-0 border-r border-[#1c1c1f] ${\n selectedId && !isDesktop ? 'hidden' : 'flex'\n }`}\n >\n <div className=\"px-4 py-3 border-b border-[#1c1c1f]\">\n <div className=\"flex items-center gap-3 mb-3\">\n <h1 className=\"text-xl font-bold text-white lg:ml-0 ml-10\">Tasks</h1>\n {tasks.length < count && (\n <span\n className=\"text-xs bg-blue-900/30 text-blue-400 px-2 py-0.5 rounded-full border border-blue-800/30 tabular-nums\"\n title={`Showing ${tasks.length} of ${count} tasks`}\n >\n {tasks.length} / {count}\n </span>\n )}\n </div>\n\n {tasks.length > 0 && (\n <>\n {/* Status tab strip */}\n <div className=\"anet-tabstrip-wrap mb-2\">\n <div className=\"anet-tabstrip flex flex-wrap gap-1 bg-[#161618] rounded-lg border border-[#26262b] p-1 overflow-x-auto scrollbar-thin\">\n {['', ...TASK_STATUSES].map((s) => {\n const cnt = s === '' ? tasks.length : counts[s] || 0;\n const isActive = filterStatus === s;\n return (\n <button\n key={s || 'all'}\n onClick={() => setFilterStatus(s)}\n disabled={cnt === 0 && s !== '' && !isActive}\n className={`px-2.5 py-1 rounded-md text-xs transition-colors flex items-center gap-1 shrink-0 whitespace-nowrap disabled:opacity-30 disabled:cursor-not-allowed ${\n isActive\n ? `${STATUS_CHIP_CLASS[s] || 'bg-cyan-500/10 text-cyan-300 border-cyan-500/20'} border`\n : 'text-gray-500 hover:text-gray-300 hover:bg-[#1c1c1f]/40'\n }`}\n >\n {s && (\n <span\n aria-hidden\n className=\"inline-block w-1.5 h-1.5 rounded-full shrink-0\"\n style={{ backgroundColor: STATUS_DOT_HEX[s] || '#6b7280' }}\n />\n )}\n <span>{s || 'All'}</span>\n <span\n className={`text-[10px] tabular-nums ${\n isActive ? 'opacity-80' : 'text-gray-600'\n }`}\n >\n {cnt}\n </span>\n </button>\n );\n })}\n </div>\n </div>\n\n {/* From/To filters */}\n <div className=\"flex flex-wrap items-center gap-1.5 mb-2\">\n <div className=\"flex items-center gap-1 rounded border border-[#26262b] bg-[#161618] px-2 py-1 focus-within:border-blue-500/40\">\n <span className=\"text-[9px] uppercase tracking-wide text-gray-600\">From</span>\n <input\n type=\"text\"\n value={filterFrom}\n onChange={(e) => setFilterFrom(e.target.value)}\n placeholder=\"any\"\n className=\"w-16 bg-transparent text-xs text-white placeholder-gray-700 focus:outline-none\"\n />\n </div>\n <div className=\"flex items-center gap-1 rounded border border-[#26262b] bg-[#161618] px-2 py-1 focus-within:border-blue-500/40\">\n <span className=\"text-[9px] uppercase tracking-wide text-gray-600\">To</span>\n <input\n type=\"text\"\n value={filterTo}\n onChange={(e) => setFilterTo(e.target.value)}\n placeholder=\"any\"\n className=\"w-16 bg-transparent text-xs text-white placeholder-gray-700 focus:outline-none\"\n />\n </div>\n {(filterStatus || filterFrom || filterTo) && (\n <button\n type=\"button\"\n onClick={() => {\n setFilterStatus('');\n setFilterFrom('');\n setFilterTo('');\n }}\n className=\"rounded border border-gray-700 px-2 py-0.5 text-[10px] text-gray-500 hover:text-gray-200 hover:border-gray-600\"\n >\n Clear\n </button>\n )}\n </div>\n\n {/* Status distribution bar (only when no status filter) */}\n {!filterStatus && bars.length > 0 && (\n <div className=\"flex h-1 rounded-full overflow-hidden bg-gray-800\">\n {bars.map((b) => (\n <div\n key={b.key}\n className={b.color}\n style={{ width: `${(counts[b.key] / total) * 100}%` }}\n title={`${b.key}: ${counts[b.key]}`}\n />\n ))}\n </div>\n )}\n </>\n )}\n\n {error && (\n <div className=\"bg-red-900/20 border border-red-800/40 text-red-300 px-3 py-1.5 rounded mt-2 text-xs\">\n {error}\n </div>\n )}\n </div>\n\n <div className=\"flex-1 min-h-0 overflow-y-auto\">\n {loading ? (\n <div className=\"animate-pulse space-y-1 px-3 py-2\">\n {[1, 2, 3, 4, 5, 6, 7, 8].map((i) => (\n <div key={i} className=\"h-14 bg-gray-800/40 rounded\" />\n ))}\n </div>\n ) : tasks.length === 0 ? (\n <div className=\"px-3 py-6\">\n <EmptyState\n variant=\"tasks\"\n sub={\n filterStatus || filterFrom || filterTo\n ? 'No tasks match the current filters. Try clearing them.'\n : 'Tasks will appear here when agents send them via CommHub.'\n }\n />\n </div>\n ) : (\n <TaskList tasks={tasks} selectedId={selectedId} onSelect={selectTask} />\n )}\n </div>\n </aside>\n\n {/* Detail — desktop: right pane inside the flex row. Mobile: full-screen\n overlay that hides the list column above. Both variants get onClose:\n on desktop it returns the right pane to the empty state (preserves\n the \"← Tasks\" return affordance the old full-page detail had);\n on mobile it dismisses the overlay. Either way the URL drops back\n to /tasks. 通信龙 07-31 constraint: 返回入口别丢. */}\n {selectedId && isDesktop && (\n <section\n data-testid=\"task-detail-column\"\n className=\"flex-1 min-w-0 min-h-screen\"\n >\n <TaskDetail taskId={selectedId} onClose={closeDetail} onRetried={fetchTasks} />\n </section>\n )}\n {selectedId && !isDesktop && (\n <section\n data-testid=\"task-detail-mobile\"\n className=\"fixed inset-0 z-40 bg-[#0b0b0d]\"\n >\n <TaskDetail taskId={selectedId} onClose={closeDetail} onRetried={fetchTasks} />\n </section>\n )}\n {!selectedId && isDesktop && (\n <section\n data-testid=\"task-detail-empty\"\n className=\"flex-1 min-w-0 min-h-screen flex items-center justify-center text-sm text-gray-600\"\n >\n 请从左侧列表选择一条任务查看详情\n </section>\n )}\n </div>\n );\n}\n\n// useSearchParams needs a Suspense boundary in Next 14+ app-router. Same\n// shape the old page.tsx had (wrapper → Inner). Fallback matches the\n// loaded layout width so the burger button doesn't crash into \"Loa…\".\nexport function TasksView({ initialSelectedId = null }: { initialSelectedId?: string | null }) {\n return (\n <Suspense\n fallback={\n <div className=\"min-h-screen bg-[#0b0b0d] text-gray-100 p-4 sm:p-6\">\n <div className=\"lg:ml-0 ml-10 text-gray-500 text-sm\">Loading tasks…</div>\n </div>\n }\n >\n <TasksViewInner initialSelectedId={initialSelectedId} />\n </Suspense>\n );\n}\n","'use client';\n\nimport { AliasAvatar } from './AliasAvatar';\nimport { previewContent } from './utils';\nimport { STATUS_CHIP_CLASS, STATUS_DOT_HEX } from '../lib/status';\n\n// Task-list rail for the /tasks two-column layout (类飞书 \"list + detail\").\n// Rendered inside TasksView's <aside> — this file is intentionally small\n// and only owns the list-row shape, so the same component can back both\n// desktop rail and (later) a mobile drawer without duplicating the row\n// template.\n//\n// #Stage-tasks: mirrors NodeList.tsx narrow-rail pattern. Row click calls\n// onSelect(task_id) so the parent can drive URL/state; row does NOT know\n// about routing.\n\nexport interface TaskListItem {\n task_id: string;\n network_id?: string;\n from_name: string;\n to_name: string;\n status: string;\n priority: string;\n content: string;\n created_at: string;\n}\n\nfunction timeAgo(dateStr: string): string {\n if (!dateStr) return '--';\n const diff = Date.now() - new Date(dateStr.replace(' ', 'T') + 'Z').getTime();\n const s = Math.floor(diff / 1000);\n if (s < 60) return `${s}s`;\n if (s < 3600) return `${Math.floor(s / 60)}m`;\n if (s < 86400) return `${Math.floor(s / 3600)}h`;\n return `${Math.floor(s / 86400)}d`;\n}\n\nexport function TaskList({\n tasks,\n selectedId,\n onSelect,\n}: {\n tasks: TaskListItem[];\n selectedId: string | null;\n onSelect: (task_id: string) => void;\n}) {\n return (\n <div\n data-testid=\"task-list-rail\"\n className=\"flex flex-col h-full max-h-screen overflow-y-auto\"\n >\n {tasks.length === 0 ? (\n <div className=\"px-4 py-6 text-xs text-gray-600 text-center\">\n 没有匹配的任务\n </div>\n ) : (\n <ul className=\"flex flex-col divide-y divide-[#1c1c1f]\">\n {tasks.map((t) => {\n const active = t.task_id === selectedId;\n return (\n <li key={t.task_id}>\n <button\n type=\"button\"\n data-task-row\n data-task-id={t.task_id}\n data-selected={active ? 'true' : 'false'}\n onClick={() => onSelect(t.task_id)}\n className={`w-full text-left px-3 py-2.5 transition-colors ${\n active\n ? 'bg-cyan-500/10 border-l-2 border-cyan-500'\n : 'border-l-2 border-transparent hover:bg-[#1c1c1f]/40'\n }`}\n >\n <div className=\"flex items-center gap-2 mb-1\">\n {/* status dot + label */}\n <span\n aria-hidden\n className=\"inline-block w-1.5 h-1.5 rounded-full shrink-0\"\n style={{ backgroundColor: STATUS_DOT_HEX[t.status] || '#6b7280' }}\n />\n <span\n className={`text-[10px] px-1.5 py-0.5 rounded border ${\n STATUS_CHIP_CLASS[t.status] ||\n 'bg-gray-500/10 text-gray-400 border-gray-500/20'\n }`}\n >\n {t.status}\n </span>\n {t.priority === 'high' && (\n <span className=\"text-[10px] text-red-400 shrink-0\">HIGH</span>\n )}\n <span className=\"ml-auto text-[10px] text-gray-600 tabular-nums shrink-0\">\n {timeAgo(t.created_at)}\n </span>\n </div>\n <div className=\"flex items-center gap-1 text-xs text-gray-300 min-w-0 mb-1\">\n {t.from_name && <AliasAvatar alias={t.from_name} size={14} />}\n <span className=\"truncate max-w-[35%]\">{t.from_name || '--'}</span>\n <span className=\"text-gray-600 shrink-0\">→</span>\n {t.to_name && <AliasAvatar alias={t.to_name} size={14} />}\n <span className=\"truncate max-w-[35%]\">{t.to_name || '--'}</span>\n </div>\n <div\n className=\"text-[11px] text-gray-500 line-clamp-2 leading-snug\"\n title={t.content}\n >\n {previewContent(t.content) || <span className=\"italic\">(no content)</span>}\n </div>\n </button>\n </li>\n );\n })}\n </ul>\n )}\n </div>\n );\n}\n","'use client';\n\nimport { useState } from 'react';\nimport useSWR from 'swr';\nimport { AliasAvatar } from './AliasAvatar';\nimport { STATUS_CHIP_CLASS as STATUS_CHIP } from '../lib/status';\n\n// Detail pane for the /tasks two-column layout.\n//\n// Feature-parity target (通信龙 07-31 parity 硬门, migrating from the\n// old full-page /tasks/[id]/page.tsx): five blocks, each with its own\n// positive assertion in tests + real data visible (not just \"the div\n// is there\"):\n// 1. Timeline card — steps: created / delivered / started / completed\n// 2. Info card — task_id / from / to / priority / status / expires\n// 3. Content\n// 4. Result\n// 5. Events feed — /api/hub/task-events?limit=50 (10s poll)\n//\n// Poll cadence — the old full-page useSWR was 5s (task) + 10s (events).\n// Do NOT widen either interval: \"page's there but data's stale\" is worse\n// than \"page's not there\" because it looks fine to anyone glancing at it.\n// The intervals are part of parity — tests should assert both refetch.\n\ninterface TaskDetailData {\n task_id: string;\n network_id?: string;\n from_name: string;\n to_name: string;\n status: string;\n priority: string;\n content: string;\n result: string;\n created_at: string;\n updated_at: string;\n delivered_at: string;\n started_at: string;\n completed_at: string;\n expires_at: string;\n}\n\ninterface TaskEvent {\n id: number;\n event_type: string;\n from_status: string;\n to_status: string;\n detail: string;\n created_at: string;\n}\n\n// 🔴 Poll cadences are declared as module-scope constants so the useSWR\n// refreshInterval and the DOM `data-poll-*-ms` attribute are *literally*\n// the same number. Two separate literals meant the attribute-based test\n// assertion could go green even if someone widened refreshInterval —\n// the assertion was watching the string, not the fact.\n// (通信龙 07-31 catch: \"断言的是声明, 不是事实.\")\n// Widen either interval only alongside a paired update to the test\n// asserting cadence, and re-run witnessed-red by bumping one of these\n// to a wrong value.\nconst POLL_TASK_MS = 5000;\nconst POLL_EVENTS_MS = 10000;\n\nfunction timeAgo(dateStr: string): string {\n if (!dateStr) return '--';\n const diff = Date.now() - new Date(dateStr.replace(' ', 'T') + 'Z').getTime();\n const s = Math.floor(diff / 1000);\n if (s < 60) return `${s}s ago`;\n if (s < 3600) return `${Math.floor(s / 60)}m ago`;\n if (s < 86400) return `${Math.floor(s / 3600)}h ago`;\n return `${Math.floor(s / 86400)}d ago`;\n}\n\nfunction priorityClass(priority: string) {\n if (priority === 'high') return 'text-red-400';\n if (priority === 'low') return 'text-gray-600';\n return 'text-gray-400';\n}\n\nconst fetcher = async (url: string) => {\n const res = await fetch(url);\n if (res.status === 401) {\n window.location.assign('/login');\n throw new Error('unauthorized');\n }\n return res.json();\n};\n\nexport function TaskDetail({\n taskId,\n onClose,\n onRetried,\n}: {\n taskId: string;\n /** X in the header — desktop returns pane to empty, mobile dismisses overlay.\n * Either way the URL drops back to /tasks (parent handles). Preserves the\n * 返回入口 the old full-page detail had via its \"← Tasks\" link. */\n onClose?: () => void;\n /** After a successful retry so the parent list can refetch. */\n onRetried?: () => void;\n}) {\n // 🔴 Poll intervals are part of parity: 5s task, 10s events. Do not widen\n // without updating the corresponding cadence assertion.\n const { data: taskData, isLoading, error, mutate: refetchTask } = useSWR<{\n tasks: TaskDetailData[];\n }>(\n `/api/hub/tasks?task_id=${encodeURIComponent(taskId)}`,\n fetcher,\n { refreshInterval: POLL_TASK_MS },\n );\n const { data: eventsData } = useSWR<{ events: TaskEvent[] }>(\n `/api/hub/task-events?task_id=${encodeURIComponent(taskId)}&limit=50`,\n fetcher,\n { refreshInterval: POLL_EVENTS_MS },\n );\n const [retrying, setRetrying] = useState(false);\n\n const task = taskData?.tasks?.[0];\n const events = eventsData?.events || [];\n\n const doRetry = async () => {\n if (!task) return;\n setRetrying(true);\n try {\n await fetch('/api/hub/send', {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify({\n alias: task.to_name,\n task: task.content,\n priority: task.priority,\n ...(task.network_id ? { network_id: task.network_id } : {}),\n }),\n });\n refetchTask();\n onRetried?.();\n } finally {\n setRetrying(false);\n }\n };\n\n const timelineSteps: { label: string; time: string; color: string }[] = task\n ? [\n { label: 'Created', time: task.created_at, color: 'text-gray-400' },\n { label: 'Delivered', time: task.delivered_at, color: 'text-blue-400' },\n { label: 'Started', time: task.started_at, color: 'text-green-400' },\n { label: 'Completed', time: task.completed_at, color: 'text-purple-400' },\n ]\n : [];\n\n return (\n <div\n data-testid=\"task-detail-pane\"\n data-task-id={taskId}\n data-poll-task-ms={String(POLL_TASK_MS)}\n data-poll-events-ms={String(POLL_EVENTS_MS)}\n className=\"flex flex-col h-full max-h-screen overflow-hidden\"\n >\n <div className=\"flex items-center justify-between px-4 py-3 border-b border-[#1c1c1f]\">\n <div className=\"min-w-0 flex-1 flex items-center gap-2\">\n <div className=\"text-xs text-gray-500 truncate\" title={taskId}>\n <span className=\"text-gray-600\">Task ID:</span>{' '}\n <span className=\"font-mono\">{taskId.slice(0, 12)}…</span>\n </div>\n {task && (\n <span\n data-testid=\"task-detail-status\"\n className={`text-xs px-2 py-0.5 rounded-md border ${\n STATUS_CHIP[task.status] ||\n 'bg-gray-500/10 text-gray-400 border-gray-500/20'\n }`}\n >\n {task.status}\n </span>\n )}\n </div>\n {onClose && (\n <button\n type=\"button\"\n onClick={onClose}\n aria-label=\"Close detail (返回 tasks 列表)\"\n data-testid=\"task-detail-close\"\n className=\"shrink-0 rounded-md border border-[#26262b] px-2 py-1 text-xs text-gray-400 hover:text-white hover:border-[#3a3a41]\"\n >\n ←\n </button>\n )}\n </div>\n\n <div className=\"flex-1 overflow-y-auto px-4 py-4 space-y-4\">\n {isLoading && !task && (\n <div className=\"animate-pulse space-y-3\">\n <div className=\"h-6 w-1/3 bg-gray-800/40 rounded\" />\n <div className=\"h-24 bg-gray-800/40 rounded\" />\n <div className=\"h-24 bg-gray-800/40 rounded\" />\n </div>\n )}\n {error && (\n <div className=\"bg-red-900/20 border border-red-800/40 text-red-300 px-3 py-2 rounded text-sm\">\n {error instanceof Error ? error.message : 'fetch failed'}\n </div>\n )}\n {!isLoading && !error && !task && (\n <div className=\"text-gray-400 text-sm\">Task not found</div>\n )}\n\n {task && (\n <>\n {/* Block 1: Timeline card (parity #1) */}\n <section\n data-testid=\"task-detail-timeline\"\n data-block=\"timeline\"\n className=\"bg-[#161618] border border-[#26262b] rounded-xl p-4\"\n >\n <h2 className=\"text-sm font-semibold text-gray-300 mb-4\">Timeline</h2>\n <div className=\"relative\">\n {timelineSteps.map((step, i) => {\n const done = !!step.time;\n const isLast = i === timelineSteps.length - 1;\n return (\n <div\n key={step.label}\n data-testid={`timeline-step-${step.label.toLowerCase()}`}\n data-timeline-step={step.label.toLowerCase()}\n data-timeline-done={done ? 'true' : 'false'}\n className=\"flex gap-3 pb-4 last:pb-0\"\n >\n <div className=\"flex flex-col items-center\">\n <div\n className={`w-3 h-3 rounded-full border-2 shrink-0 ${\n done ? `${step.color} border-current` : 'border-gray-700 bg-transparent'\n }`}\n />\n {!isLast && (\n <div\n className={`w-0.5 flex-1 mt-1 ${\n done && timelineSteps[i + 1]?.time\n ? 'bg-cyan-500/40'\n : 'bg-gray-800'\n }`}\n />\n )}\n </div>\n <div className=\"min-w-0 -mt-0.5\">\n <div className={`text-sm font-medium ${done ? 'text-gray-200' : 'text-gray-600'}`}>\n {step.label}\n </div>\n <div\n className=\"text-xs text-gray-500\"\n title={step.time || undefined}\n >\n {step.time ? `${timeAgo(step.time)} — ${step.time}` : 'Pending'}\n </div>\n </div>\n </div>\n );\n })}\n </div>\n </section>\n\n {/* Block 2: Info card (parity #2) */}\n <section\n data-testid=\"task-detail-info\"\n data-block=\"info\"\n className=\"bg-[#161618] border border-[#26262b] rounded-xl p-4\"\n >\n <h2 className=\"text-sm font-semibold text-gray-300 mb-3\">Info</h2>\n <div className=\"space-y-2 text-xs\">\n {[\n ['Task ID', task.task_id],\n ['From', task.from_name],\n ['To', task.to_name],\n ['Priority', task.priority],\n ['Status', task.status],\n ['Expires', task.expires_at],\n ].map(([label, val]) => (\n <div key={label as string} className=\"flex justify-between gap-4\">\n <span className=\"text-gray-500 shrink-0\">{label}</span>\n <span\n data-info-field={String(label).toLowerCase().replace(/\\s+/g, '-')}\n className=\"text-gray-300 truncate max-w-[240px] text-right\"\n title={String(val || '')}\n >\n {String(val || '--')}\n </span>\n </div>\n ))}\n </div>\n <div\n className=\"mt-4 pt-3 border-t border-[#1c1c1f] flex items-center gap-2 text-sm text-gray-300\"\n data-testid=\"task-detail-participants\"\n >\n {task.from_name && <AliasAvatar alias={task.from_name} size={20} />}\n <span className=\"truncate\">{task.from_name || '--'}</span>\n <span className=\"text-gray-600 shrink-0\">→</span>\n {task.to_name && <AliasAvatar alias={task.to_name} size={20} />}\n <span className=\"truncate\">{task.to_name || '--'}</span>\n </div>\n <div className=\"mt-2 text-[10px]\">\n <span\n className={priorityClass(task.priority)}\n data-testid=\"task-detail-priority\"\n >\n Priority: {task.priority || 'normal'}\n </span>\n </div>\n </section>\n\n {/* Block 3: Content (parity #3) */}\n <section\n data-testid=\"task-detail-content\"\n data-block=\"content\"\n className=\"bg-[#161618] border border-[#26262b] rounded-xl p-4\"\n >\n <h2 className=\"text-sm font-semibold text-gray-300 mb-2\">Content</h2>\n <pre\n data-testid=\"task-detail-content-body\"\n className=\"text-xs text-gray-200 whitespace-pre-wrap break-words bg-[#0e0e10] rounded-lg px-3 py-2 border border-[#1c1c1f] max-h-64 overflow-y-auto font-sans\"\n >\n {task.content || '--'}\n </pre>\n </section>\n\n {/* Block 4: Result (parity #4) */}\n {task.result && (\n <section\n data-testid=\"task-detail-result\"\n data-block=\"result\"\n className=\"bg-[#161618] border border-[#26262b] rounded-xl p-4\"\n >\n <h2 className=\"text-sm font-semibold text-gray-300 mb-2\">Result</h2>\n <pre\n data-testid=\"task-detail-result-body\"\n className=\"text-xs text-gray-200 whitespace-pre-wrap break-words bg-[#0e0e10] rounded-lg px-3 py-2 border border-[#1c1c1f] max-h-64 overflow-y-auto font-sans\"\n >\n {task.result}\n </pre>\n </section>\n )}\n\n {/* Block 5: Events feed (parity #5) — 10s poll, always rendered\n even when empty so \"no events\" state is visible; a silently\n missing block would hide the difference between \"feed\n gone\" and \"task has no events yet\". */}\n <section\n data-testid=\"task-detail-events\"\n data-block=\"events\"\n data-events-count={events.length}\n className=\"bg-[#161618] border border-[#26262b] rounded-xl p-4\"\n >\n <h2 className=\"text-sm font-semibold text-gray-300 mb-3\">\n Events {events.length > 0 && <span className=\"text-gray-500\">({events.length})</span>}\n </h2>\n {events.length === 0 ? (\n <div className=\"text-xs text-gray-600 italic\">No events yet.</div>\n ) : (\n <div className=\"space-y-2 max-h-64 overflow-y-auto\">\n {events.map((e, i) => (\n <div\n key={e.id ?? i}\n data-testid=\"task-detail-event-row\"\n className=\"flex items-center gap-2 text-xs\"\n >\n <span\n aria-hidden\n className={`w-1.5 h-1.5 rounded-full shrink-0 ${\n e.to_status === 'running'\n ? 'bg-green-400'\n : e.to_status === 'replied'\n ? 'bg-purple-400'\n : e.to_status === 'failed'\n ? 'bg-red-400'\n : 'bg-blue-400'\n }`}\n />\n <span className=\"text-gray-400\">{e.event_type}</span>\n {e.from_status && (\n <span className=\"text-gray-600\">\n {e.from_status} → {e.to_status}\n </span>\n )}\n <span className=\"text-gray-600 ml-auto shrink-0\" title={e.created_at}>\n {timeAgo(e.created_at)}\n </span>\n </div>\n ))}\n </div>\n )}\n </section>\n\n {(task.status === 'failed' || task.status === 'expired') && (\n <div>\n <button\n onClick={doRetry}\n disabled={retrying}\n data-testid=\"task-detail-retry\"\n className=\"text-xs text-orange-400 hover:text-orange-300 px-3 py-1.5 rounded-md border border-orange-500/30 hover:bg-orange-500/10 disabled:opacity-50 disabled:cursor-wait\"\n >\n {retrying ? 'Retrying…' : 'Retry task'}\n </button>\n </div>\n )}\n </>\n )}\n </div>\n </div>\n );\n}\n"],"names":["timeAgo","dateStr","diff","Date","now","replace","getTime","s","Math","floor","TaskList","tasks","selectedId","onSelect","className","length","map","t","active","task_id","type","onClick","style","backgroundColor","status","priority","created_at","from_name","alias","size","to_name","title","content"],"mappings":"wDAEA,EAAA,EAAA,CAAA,CAAA,OAOA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,C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VEkFShWE481BxQDjwH/_clientMiddlewareManifest.js"
10
+ "static/vc_aJHtYwefsVcl2_f14Z/_buildManifest.js",
11
+ "static/vc_aJHtYwefsVcl2_f14Z/_ssgManifest.js",
12
+ "static/vc_aJHtYwefsVcl2_f14Z/_clientMiddlewareManifest.js"
13
13
  ],
14
14
  "rootMainFiles": [
15
15
  "static/chunks/0n-tdv3l8enbw.js",
@@ -1,12 +1,12 @@
1
- <!DOCTYPE html><html lang="en" data-theme="cyber" class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5, user-scalable=yes, viewport-fit=cover"/><link rel="stylesheet" href="/_next/static/chunks/066jf0nk75nic.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0ev252k-tf_aa.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0n-tdv3l8enbw.js"/><script src="/_next/static/chunks/11yi6~9pd0czc.js" async=""></script><script src="/_next/static/chunks/0j6.6znwa2~yo.js" async=""></script><script src="/_next/static/chunks/15epy-0ulylz6.js" async=""></script><script src="/_next/static/chunks/turbopack-0.m-qknku0twt.js" async=""></script><script src="/_next/static/chunks/144cf7ds3_9~b.js" async=""></script><script src="/_next/static/chunks/13_i5b0qmko7z.js" async=""></script><script src="/_next/static/chunks/10sr651~7vm42.js" async=""></script><script src="/_next/static/chunks/05m-nd5i001-f.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><meta name="theme-color" content="#0b0b0d"/><title>Agent Network Dashboard</title><meta name="description" content="Real-time monitoring dashboard for Agent Network nodes via CommHub"/><link rel="manifest" href="/manifest.webmanifest"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Agent Network"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><meta property="og:title" content="Agent Network Dashboard"/><meta property="og:description" content="Real-time monitoring dashboard for Agent Network nodes"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:title" content="Agent Network Dashboard"/><meta name="twitter:description" content="Real-time monitoring dashboard for Agent Network nodes"/><link rel="shortcut icon" href="/favicon.svg"/><link rel="icon" href="/favicon.ico?favicon.0x3dzn~oxb6tn.ico" sizes="256x256" type="image/x-icon"/><link rel="icon" href="/favicon.svg" type="image/svg+xml"/><link rel="apple-touch-icon" href="/sleep2agi-logo.svg" type="image/svg+xml"/><script>
1
+ <!DOCTYPE html><html lang="en" data-theme="cyber" class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5, user-scalable=yes, viewport-fit=cover"/><link rel="stylesheet" href="/_next/static/chunks/066jf0nk75nic.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0mhaf6lrw5nn..css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0n-tdv3l8enbw.js"/><script src="/_next/static/chunks/11yi6~9pd0czc.js" async=""></script><script src="/_next/static/chunks/0j6.6znwa2~yo.js" async=""></script><script src="/_next/static/chunks/15epy-0ulylz6.js" async=""></script><script src="/_next/static/chunks/turbopack-0.m-qknku0twt.js" async=""></script><script src="/_next/static/chunks/17qkc714xy04..js" async=""></script><script src="/_next/static/chunks/0kncmrm2a_q43.js" async=""></script><script src="/_next/static/chunks/0xyu92zdvvghl.js" async=""></script><script src="/_next/static/chunks/05m-nd5i001-f.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><meta name="theme-color" content="#0b0b0d"/><title>Agent Network Dashboard</title><meta name="description" content="Real-time monitoring dashboard for Agent Network nodes via CommHub"/><link rel="manifest" href="/manifest.webmanifest"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Agent Network"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><meta property="og:title" content="Agent Network Dashboard"/><meta property="og:description" content="Real-time monitoring dashboard for Agent Network nodes"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:title" content="Agent Network Dashboard"/><meta name="twitter:description" content="Real-time monitoring dashboard for Agent Network nodes"/><link rel="shortcut icon" href="/favicon.svg"/><link rel="icon" href="/favicon.ico?favicon.0x3dzn~oxb6tn.ico" sizes="256x256" type="image/x-icon"/><link rel="icon" href="/favicon.svg" type="image/svg+xml"/><link rel="apple-touch-icon" href="/sleep2agi-logo.svg" type="image/svg+xml"/><script>
2
2
  try {
3
3
  var t = localStorage.getItem('anet-theme') || 'cyber';
4
4
  document.documentElement.setAttribute('data-theme', t);
5
5
  } catch (e) {}
6
- </script><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="min-h-full" style="background:var(--bg);color:var(--fg)"><div hidden=""><!--$--><!--/$--></div><div class="flex min-h-[100dvh] max-w-full overflow-x-hidden"><button class="fixed top-3 left-3 z-50 lg:hidden bg-[#161618] border border-[#26262b] rounded-lg p-3 min-h-[44px] min-w-[44px] inline-flex items-center justify-center text-gray-400 hover:text-white active:bg-[#232327]" aria-label="Toggle menu"><svg class="w-5 h-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16"></path></svg></button><aside data-anet-sidebar="true" class="
7
- fixed top-0 left-0 h-full z-40 bg-[#111113] border-r border-[#26262b]
6
+ </script><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="min-h-full" style="background:var(--bg);color:var(--fg)"><div hidden=""><!--$--><!--/$--></div><div class="flex min-h-[100dvh] max-w-full overflow-x-hidden"><button class="fixed top-3 left-3 z-50 lg:hidden bg-[#161618] border border-[#26262b] rounded-lg p-3 min-h-[44px] min-w-[44px] inline-flex items-center justify-center text-gray-400 hover:text-white active:bg-[#232327]" aria-label="Toggle menu"><svg class="w-5 h-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16"></path></svg></button><aside data-anet-sidebar="true" data-sidebar-mode="icon-rail" data-total-unread="0" class="
7
+ fixed top-0 left-0 h-full z-40
8
8
  transition-transform duration-200 ease-out
9
- w-52
9
+ w-14 bg-[#0A0C14]
10
10
  -translate-x-full
11
11
  lg:translate-x-0 lg:static lg:shrink-0 lg:shadow-none
12
- "><a class="block px-4 py-4 flex items-center gap-3 hover:bg-[#161618]/40 transition-colors rounded-r-xl" aria-label="Agent Network — home" href="/"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true" class="shrink-0"><circle cx="16" cy="16" r="10" fill="none" stroke="currentColor" stroke-width="1.5" opacity="0.2" class="text-cyan-400"></circle><line x1="16" y1="10" x2="10" y2="20" stroke="currentColor" stroke-width="1" opacity="0.45" class="text-cyan-400"></line><line x1="16" y1="10" x2="22" y2="20" stroke="currentColor" stroke-width="1" opacity="0.45" class="text-cyan-400"></line><line x1="10" y1="20" x2="22" y2="20" stroke="currentColor" stroke-width="1" opacity="0.45" class="text-cyan-400"></line><circle cx="16" cy="10" r="2.5" fill="currentColor" class="text-cyan-400"></circle><circle cx="10" cy="20" r="2.5" fill="currentColor" class="text-green-400"></circle><circle cx="22" cy="20" r="2.5" fill="currentColor" class="text-violet-400"></circle></svg><div class="min-w-0"><div class="text-white text-[13px] font-semibold leading-tight">Agent Network</div><div class="text-[10px] text-gray-500 flex items-center gap-1.5 mt-0.5"><span class="inline-block w-1.5 h-1.5 rounded-full bg-gray-600" aria-hidden="true"></span><span>waiting for agents</span></div></div></a><div class="border-b border-[#26262b]"></div><div class="pb-28"><nav class="flex flex-col gap-1 px-2 py-4"><a class="relative flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#232327] text-gray-400 hover:text-gray-200 hover:bg-[#1c1c1f] " 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="relative flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#232327] text-gray-400 hover:text-gray-200 hover:bg-[#1c1c1f] " 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="relative flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#232327] text-gray-400 hover:text-gray-200 hover:bg-[#1c1c1f] " 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="relative flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#232327] text-gray-400 hover:text-gray-200 hover:bg-[#1c1c1f] " href="/servers"><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="M4 6.5A2.5 2.5 0 016.5 4h11A2.5 2.5 0 0120 6.5v1A2.5 2.5 0 0117.5 10h-11A2.5 2.5 0 014 7.5v-1zM4 16.5A2.5 2.5 0 016.5 14h11a2.5 2.5 0 012.5 2.5v1a2.5 2.5 0 01-2.5 2.5h-11A2.5 2.5 0 014 17.5v-1zM7 7h.01M7 17h.01"></path></svg><span>Servers</span></a><a class="relative flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#232327] text-gray-400 hover:text-gray-200 hover:bg-[#1c1c1f] " href="/providers"><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 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"></path></svg><span>Providers</span></a><a class="relative flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#232327] text-gray-400 hover:text-gray-200 hover:bg-[#1c1c1f] " 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="relative flex items-center gap-3 px-3 py-3 rounded-lg text-sm transition-colors active:bg-[#232327] text-gray-400 hover:text-gray-200 hover:bg-[#1c1c1f] " 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-[#26262b] bg-[#111113]"><button class="w-full flex items-center text-[11px] text-gray-600 hover:text-gray-400 hover:bg-[#1c1c1f] transition-colors justify-between gap-2 px-5 py-3 lg:py-2" aria-label="切换主题(当前:深色)"><span class="flex items-center gap-2"><svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M4.098 19.902a3.75 3.75 0 005.304 0l6.401-6.402M6.75 21A3.75 3.75 0 013 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 003.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88c.438-.439 1.15-.439 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88"></path></svg>主题</span><span class="text-[10px] border border-current rounded px-1.5 py-0.5 opacity-70">深色</span></button><button class="w-full flex items-center text-[11px] text-gray-600 hover:text-gray-400 hover:bg-[#1c1c1f] transition-colors justify-between gap-2 px-5 py-3 lg:py-2" aria-label="Open command palette"><span class="flex items-center gap-2"><svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path></svg>Quick search</span><kbd class="text-[10px] border border-current rounded px-1 py-0.5 opacity-60 font-mono">⌘K</kbd></button><button class="w-full flex items-center text-xs text-gray-500 hover:text-red-400 hover:bg-red-500/5 transition-colors gap-3 px-5 py-3"><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 px-3 py-2 justify-end"><button title="Collapse sidebar" 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 max-w-full overflow-x-hidden flex flex-col pt-[env(safe-area-inset-top)]"><div class="flex-1 min-w-0 max-w-full overflow-x-hidden pb-[calc(5rem+env(safe-area-inset-bottom))] lg:pb-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><!--$--><!--/$--></div></main><nav class="fixed inset-x-0 bottom-0 z-40 border-t border-[#26262b] bg-[#111113]/95 px-1 pb-[calc(env(safe-area-inset-bottom)+0.35rem)] pt-1.5 backdrop-blur lg:hidden"><div class="mx-auto grid max-w-md grid-cols-4 gap-1"><a class="relative flex min-h-12 flex-col items-center justify-center gap-0.5 rounded-xl px-1 text-[10px] transition-colors text-gray-500 active:bg-[#232327] active:text-gray-200" href="/nodes"><span class="relative inline-flex"><svg class="h-5 w-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.6"><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><span class="max-w-full truncate">Agents</span></a><a class="relative flex min-h-12 flex-col items-center justify-center gap-0.5 rounded-xl px-1 text-[10px] transition-colors text-gray-500 active:bg-[#232327] active:text-gray-200" href="/"><span class="relative inline-flex"><svg class="h-5 w-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.6"><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><span class="max-w-full truncate">Overview</span></a><a class="relative flex min-h-12 flex-col items-center justify-center gap-0.5 rounded-xl px-1 text-[10px] transition-colors text-gray-500 active:bg-[#232327] active:text-gray-200" href="/tasks"><span class="relative inline-flex"><svg class="h-5 w-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.6"><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><span class="max-w-full truncate">Tasks</span></a><a class="relative flex min-h-12 flex-col items-center justify-center gap-0.5 rounded-xl px-1 text-[10px] transition-colors text-gray-500 active:bg-[#232327] active:text-gray-200" href="/settings"><span class="relative inline-flex"><svg class="h-5 w-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.6"><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><span class="max-w-full truncate">Settings</span></a></div></nav><aside class="fixed right-0 top-20 z-40 hidden lg:flex flex-col rounded-l-xl border border-r-0 shadow-xl shadow-black/30 anet-fade-in" style="background:var(--bg-secondary);border-color:var(--border);width:40px;max-height:calc(100vh - 6rem);transition:width 200ms ease-out" aria-label="Servers panel"><button aria-expanded="false" aria-label="Expand servers panel" class="flex items-center gap-2 px-2.5 py-2 border-b text-[11px] font-semibold tracking-wide select-none" style="color:var(--fg);border-color:var(--border)"><svg class="w-4 h-4 shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="6" rx="1.5"></rect><rect x="3" y="14" width="18" height="6" rx="1.5"></rect><circle cx="7" cy="7" r="0.7" fill="currentColor"></circle><circle cx="7" cy="17" r="0.7" fill="currentColor"></circle></svg></button></aside></div><script src="/_next/static/chunks/0n-tdv3l8enbw.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[70563,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"ThemeProvider\"]\n3:I[25879,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"NetworkProvider\"]\n4:I[91960,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"PwaInstaller\"]\n5:I[46178,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"AppShell\"]\n6:I[30208,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"default\"]\n7:I[85850,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"default\"]\n8:I[46773,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nc:I[46773,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"ViewportBoundary\"]\ne:I[46773,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"MetadataBoundary\"]\n10:I[52828,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/066jf0nk75nic.css\",\"style\"]\n:HL[\"/_next/static/chunks/0ev252k-tf_aa.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/066jf0nk75nic.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0ev252k-tf_aa.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/144cf7ds3_9~b.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/13_i5b0qmko7z.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/10sr651~7vm42.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/_next/static/chunks/05m-nd5i001-f.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"cyber\",\"className\":\"geist_a71539c9-module__T19VSG__variable 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,{}],[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",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,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",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:1: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:1: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:1: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:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,null]},null,false,\"$@b\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lf\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/066jf0nk75nic.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0ev252k-tf_aa.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"HIKVEkFShWE481BxQDjwH\"}\n"])</script><script>self.__next_f.push([1,"11:[]\nb:\"$W11\"\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=5, user-scalable=yes, viewport-fit=cover\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0b0b0d\"}]]\n"])</script><script>self.__next_f.push([1,"12:I[90840,[\"/_next/static/chunks/144cf7ds3_9~b.js\",\"/_next/static/chunks/13_i5b0qmko7z.js\",\"/_next/static/chunks/10sr651~7vm42.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"IconMark\"]\na:null\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"title\",\"0\",{\"children\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes via CommHub\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"3\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"4\",{\"name\":\"mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"5\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Agent Network\"}],[\"$\",\"meta\",\"6\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:title\",\"content\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"10\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"11\",{\"name\":\"twitter:title\",\"content\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"12\",{\"name\":\"twitter:description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes\"}],[\"$\",\"link\",\"13\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.svg\"}],[\"$\",\"link\",\"14\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"link\",\"15\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"16\",{\"rel\":\"apple-touch-icon\",\"href\":\"/sleep2agi-logo.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"$L12\",\"17\",{}]]\n"])</script></body></html>
12
+ "><a class="block px-3 py-4 flex justify-center hover:opacity-80 transition-opacity" aria-label="Agent Network — home" href="/"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true" class="shrink-0"><circle cx="16" cy="16" r="10" fill="none" stroke="currentColor" stroke-width="1.5" opacity="0.2" class="text-cyan-400"></circle><line x1="16" y1="10" x2="10" y2="20" stroke="currentColor" stroke-width="1" opacity="0.45" class="text-cyan-400"></line><line x1="16" y1="10" x2="22" y2="20" stroke="currentColor" stroke-width="1" opacity="0.45" class="text-cyan-400"></line><line x1="10" y1="20" x2="22" y2="20" stroke="currentColor" stroke-width="1" opacity="0.45" class="text-cyan-400"></line><circle cx="16" cy="10" r="2.5" fill="currentColor" class="text-cyan-400"></circle><circle cx="10" cy="20" r="2.5" fill="currentColor" class="text-green-400"></circle><circle cx="22" cy="20" r="2.5" fill="currentColor" class="text-violet-400"></circle></svg></a><div class="border-b border-[#26262b]"></div><div class="pb-28"><nav class="flex flex-col gap-2 px-0 py-2 items-center" data-sidebar-nav="true"><a title="Overview" aria-label="Overview" data-nav-item="true" data-nav-href="/" class="relative flex items-center justify-center w-11 h-11 group anet-nav-item-rail" href="/"><span class="flex items-center justify-center w-10 h-10 rounded-lg transition-colors text-[#64748B] hover:text-[#E2E8F0] hover:bg-[rgba(255,255,255,0.04)]"><svg class="w-6 h-6 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></a><a title="Tasks" aria-label="Tasks" data-nav-item="true" data-nav-href="/tasks" class="relative flex items-center justify-center w-11 h-11 group anet-nav-item-rail" href="/tasks"><span class="flex items-center justify-center w-10 h-10 rounded-lg transition-colors text-[#64748B] hover:text-[#E2E8F0] hover:bg-[rgba(255,255,255,0.04)]"><svg class="w-6 h-6 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></a><a title="Nodes" aria-label="Nodes" data-nav-item="true" data-nav-href="/nodes" class="relative flex items-center justify-center w-11 h-11 group anet-nav-item-rail" href="/nodes"><span class="flex items-center justify-center w-10 h-10 rounded-lg transition-colors text-[#64748B] hover:text-[#E2E8F0] hover:bg-[rgba(255,255,255,0.04)]"><svg class="w-6 h-6 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></a><a title="Servers" aria-label="Servers" data-nav-item="true" data-nav-href="/servers" class="relative flex items-center justify-center w-11 h-11 group anet-nav-item-rail" href="/servers"><span class="flex items-center justify-center w-10 h-10 rounded-lg transition-colors text-[#64748B] hover:text-[#E2E8F0] hover:bg-[rgba(255,255,255,0.04)]"><svg class="w-6 h-6 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M4 6.5A2.5 2.5 0 016.5 4h11A2.5 2.5 0 0120 6.5v1A2.5 2.5 0 0117.5 10h-11A2.5 2.5 0 014 7.5v-1zM4 16.5A2.5 2.5 0 016.5 14h11a2.5 2.5 0 012.5 2.5v1a2.5 2.5 0 01-2.5 2.5h-11A2.5 2.5 0 014 17.5v-1zM7 7h.01M7 17h.01"></path></svg></span></a><a title="Providers" aria-label="Providers" data-nav-item="true" data-nav-href="/providers" class="relative flex items-center justify-center w-11 h-11 group anet-nav-item-rail" href="/providers"><span class="flex items-center justify-center w-10 h-10 rounded-lg transition-colors text-[#64748B] hover:text-[#E2E8F0] hover:bg-[rgba(255,255,255,0.04)]"><svg class="w-6 h-6 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"></path></svg></span></a><a title="Admin" aria-label="Admin" data-nav-item="true" data-nav-href="/admin" class="relative flex items-center justify-center w-11 h-11 group anet-nav-item-rail" href="/admin"><span class="flex items-center justify-center w-10 h-10 rounded-lg transition-colors text-[#64748B] hover:text-[#E2E8F0] hover:bg-[rgba(255,255,255,0.04)]"><svg class="w-6 h-6 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></a><a title="Settings" aria-label="Settings" data-nav-item="true" data-nav-href="/settings" class="relative flex items-center justify-center w-11 h-11 group anet-nav-item-rail" href="/settings"><span class="flex items-center justify-center w-10 h-10 rounded-lg transition-colors text-[#64748B] hover:text-[#E2E8F0] hover:bg-[rgba(255,255,255,0.04)]"><svg class="w-6 h-6 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></a></nav></div><div class="absolute bottom-0 left-0 right-0 border-t border-[#26262b] bg-[#111113]"><button title="主题:深色(点击切换)" class="w-full flex items-center text-[11px] text-gray-600 hover:text-gray-400 hover:bg-[#1c1c1f] transition-colors justify-center px-0 py-2.5" aria-label="切换主题(当前:深色)"><span class="flex items-center "><svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M4.098 19.902a3.75 3.75 0 005.304 0l6.401-6.402M6.75 21A3.75 3.75 0 013 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 003.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88c.438-.439 1.15-.439 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88"></path></svg></span></button><button title="Quick search (⌘K)" class="w-full flex items-center text-[11px] text-gray-600 hover:text-gray-400 hover:bg-[#1c1c1f] transition-colors justify-center px-0 py-2.5" aria-label="Open command palette"><span class="flex items-center "><svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path></svg></span></button><button title="Sign out" class="w-full flex items-center text-xs text-gray-500 hover:text-red-400 hover:bg-red-500/5 transition-colors justify-center px-0 py-2.5"><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></button><div class="flex items-center flex-col px-0 py-2"><button title="当前:图标 — 点击切换(展开 → 折叠 → 图标)" data-testid="sidebar-mode-cycle" class="hidden lg:flex p-1.5 rounded text-gray-600 hover:text-gray-400 transition-colors items-center gap-1" aria-label="Cycle sidebar mode (current: icon-rail)"><svg class="w-4 h-4 transition-transform rotate-180" 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 max-w-full overflow-x-hidden flex flex-col pt-[env(safe-area-inset-top)]"><div class="flex-1 min-w-0 max-w-full overflow-x-hidden pb-[calc(5rem+env(safe-area-inset-bottom))] lg:pb-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><!--$--><!--/$--></div></main><nav class="fixed inset-x-0 bottom-0 z-40 border-t border-[#26262b] bg-[#111113]/95 px-1 pb-[calc(env(safe-area-inset-bottom)+0.35rem)] pt-1.5 backdrop-blur lg:hidden"><div class="mx-auto grid max-w-md grid-cols-4 gap-1"><a class="relative flex min-h-12 flex-col items-center justify-center gap-0.5 rounded-xl px-1 text-[10px] transition-colors text-gray-500 active:bg-[#232327] active:text-gray-200" href="/nodes"><span class="relative inline-flex"><svg class="h-5 w-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.6"><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><span class="max-w-full truncate">Agents</span></a><a class="relative flex min-h-12 flex-col items-center justify-center gap-0.5 rounded-xl px-1 text-[10px] transition-colors text-gray-500 active:bg-[#232327] active:text-gray-200" href="/"><span class="relative inline-flex"><svg class="h-5 w-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.6"><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><span class="max-w-full truncate">Overview</span></a><a class="relative flex min-h-12 flex-col items-center justify-center gap-0.5 rounded-xl px-1 text-[10px] transition-colors text-gray-500 active:bg-[#232327] active:text-gray-200" href="/tasks"><span class="relative inline-flex"><svg class="h-5 w-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.6"><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><span class="max-w-full truncate">Tasks</span></a><a class="relative flex min-h-12 flex-col items-center justify-center gap-0.5 rounded-xl px-1 text-[10px] transition-colors text-gray-500 active:bg-[#232327] active:text-gray-200" href="/settings"><span class="relative inline-flex"><svg class="h-5 w-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.6"><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><span class="max-w-full truncate">Settings</span></a></div></nav><aside class="fixed right-0 top-20 z-40 hidden lg:flex flex-col rounded-l-xl border border-r-0 shadow-xl shadow-black/30 anet-fade-in" style="background:var(--bg-secondary);border-color:var(--border);width:40px;max-height:calc(100vh - 6rem);transition:width 200ms ease-out" aria-label="Servers panel"><button aria-expanded="false" aria-label="Expand servers panel" class="flex items-center gap-2 px-2.5 py-2 border-b text-[11px] font-semibold tracking-wide select-none" style="color:var(--fg);border-color:var(--border)"><svg class="w-4 h-4 shrink-0" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="6" rx="1.5"></rect><rect x="3" y="14" width="18" height="6" rx="1.5"></rect><circle cx="7" cy="7" r="0.7" fill="currentColor"></circle><circle cx="7" cy="17" r="0.7" fill="currentColor"></circle></svg></button></aside></div><script src="/_next/static/chunks/0n-tdv3l8enbw.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[70563,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"ThemeProvider\"]\n3:I[25879,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"NetworkProvider\"]\n4:I[91960,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"PwaInstaller\"]\n5:I[46178,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"AppShell\"]\n6:I[30208,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"default\"]\n7:I[85850,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"default\"]\n8:I[46773,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nc:I[46773,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"ViewportBoundary\"]\ne:I[46773,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"MetadataBoundary\"]\n10:I[52828,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/066jf0nk75nic.css\",\"style\"]\n:HL[\"/_next/static/chunks/0mhaf6lrw5nn..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/066jf0nk75nic.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0mhaf6lrw5nn..css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/17qkc714xy04..js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/0kncmrm2a_q43.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/0xyu92zdvvghl.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/_next/static/chunks/05m-nd5i001-f.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"data-theme\":\"cyber\",\"className\":\"geist_a71539c9-module__T19VSG__variable 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,{}],[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",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,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",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:1: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:1: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:1: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:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,null]},null,false,\"$@b\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lf\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/066jf0nk75nic.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0mhaf6lrw5nn..css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"vc_aJHtYwefsVcl2_f14Z\"}\n"])</script><script>self.__next_f.push([1,"11:[]\nb:\"$W11\"\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=5, user-scalable=yes, viewport-fit=cover\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#0b0b0d\"}]]\n"])</script><script>self.__next_f.push([1,"12:I[90840,[\"/_next/static/chunks/17qkc714xy04..js\",\"/_next/static/chunks/0kncmrm2a_q43.js\",\"/_next/static/chunks/0xyu92zdvvghl.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"IconMark\"]\na:null\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"title\",\"0\",{\"children\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes via CommHub\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"3\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"4\",{\"name\":\"mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"5\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Agent Network\"}],[\"$\",\"meta\",\"6\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"meta\",\"7\",{\"property\":\"og:title\",\"content\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"8\",{\"property\":\"og:description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"10\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"11\",{\"name\":\"twitter:title\",\"content\":\"Agent Network Dashboard\"}],[\"$\",\"meta\",\"12\",{\"name\":\"twitter:description\",\"content\":\"Real-time monitoring dashboard for Agent Network nodes\"}],[\"$\",\"link\",\"13\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.svg\"}],[\"$\",\"link\",\"14\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"link\",\"15\",{\"rel\":\"icon\",\"href\":\"/favicon.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"16\",{\"rel\":\"apple-touch-icon\",\"href\":\"/sleep2agi-logo.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"$L12\",\"17\",{}]]\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/0n-tdv3l8enbw.js"/><script src="/_next/static/chunks/11yi6~9pd0czc.js" async=""></script><script src="/_next/static/chunks/0j6.6znwa2~yo.js" async=""></script><script src="/_next/static/chunks/15epy-0ulylz6.js" async=""></script><script src="/_next/static/chunks/turbopack-0.m-qknku0twt.js" async=""></script><script src="/_next/static/chunks/0numreonuf5xw.js" async=""></script><script src="/_next/static/chunks/05m-nd5i001-f.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="manifest" href="/manifest.webmanifest"/><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/0n-tdv3l8enbw.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[30208,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"default\"]\n3:I[85850,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"default\"]\n4:I[46773,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[46773,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"ViewportBoundary\"]\na:I[46773,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"MetadataBoundary\"]\nc:I[52828,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.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\":\"HIKVEkFShWE481BxQDjwH\"}\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[90840,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"2\",{}]]\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/0n-tdv3l8enbw.js"/><script src="/_next/static/chunks/11yi6~9pd0czc.js" async=""></script><script src="/_next/static/chunks/0j6.6znwa2~yo.js" async=""></script><script src="/_next/static/chunks/15epy-0ulylz6.js" async=""></script><script src="/_next/static/chunks/turbopack-0.m-qknku0twt.js" async=""></script><script src="/_next/static/chunks/0numreonuf5xw.js" async=""></script><script src="/_next/static/chunks/05m-nd5i001-f.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><link rel="manifest" href="/manifest.webmanifest"/><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/0n-tdv3l8enbw.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[30208,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"default\"]\n3:I[85850,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"default\"]\n4:I[46773,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[46773,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"ViewportBoundary\"]\na:I[46773,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"MetadataBoundary\"]\nc:I[52828,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.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\":\"vc_aJHtYwefsVcl2_f14Z\"}\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[90840,[\"/_next/static/chunks/0numreonuf5xw.js\",\"/_next/static/chunks/05m-nd5i001-f.js\"],\"IconMark\"]\n6:null\nb:[[\"$\",\"link\",\"0\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.0x3dzn~oxb6tn.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Le\",\"2\",{}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"NJRMqVc48mtPtzxgAoKBFvG52SSewPFogn12R7M7+LA=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"Zyny1+q3qWA7K7fVLeAaSeJFkivLUXQ40xO/taf1iHk=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "NJRMqVc48mtPtzxgAoKBFvG52SSewPFogn12R7M7+LA="
4
+ "encryptionKey": "Zyny1+q3qWA7K7fVLeAaSeJFkivLUXQ40xO/taf1iHk="
5
5
  }
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91342,e=>{"use strict";var t=e.i(25599);e.s(["previewContent",0,function(e){return e&&e.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/`([^`]+)`/g,"$1").replace(/\s+/g," ").trim()||"--"},"timeAgo",0,function(e){return(0,t.relativeAgo)(e)??"--"}])},57835,97879,e=>{"use strict";var t=e.i(90724),r=e.i(87854);let a="anet_avatars_v1",n="anet-avatars-updated",s=null,i=[],o=!1;function l(){try{let e=JSON.parse(window.localStorage.getItem(a)||"{}");return e&&"object"==typeof e?e:{}}catch{return{}}}function c(e){return e&&(l()[e]||s?.[e]||function(e){if(!i.length)return"";let t=5381;for(let r=0;r<e.length;r++)t=(t<<5)+t+e.charCodeAt(r)>>>0;return i[t%i.length]}(e))||""}let d=0;function x(e){o||(o=!0,fetch("/avatars/manifest.json",{cache:"no-cache"}).then(e=>e.ok?e.json():null).then(e=>{if(e&&"object"==typeof e&&!Array.isArray(e)){let t={};for(let[r,a]of Object.entries(e))!r.startsWith("_")&&"string"==typeof a&&a.startsWith("/")&&(t[r]=a);let r=e._pool;i=Array.isArray(r)?r.filter(e=>"string"==typeof e&&e.startsWith("/")):[],s=t,window.dispatchEvent(new Event(n))}}).catch(()=>{}));let t=()=>{d++,e()};return window.addEventListener(n,t),window.addEventListener("storage",t),()=>{window.removeEventListener(n,t),window.removeEventListener("storage",t)}}function h(e){return(0,r.useSyncExternalStore)(x,()=>c(e),()=>"")}e.s(["getAvatarUrl",0,c,"setAvatarUrl",0,function(e,t){if(e)try{let r=l();t.trim()?r[e]=t.trim():delete r[e],window.localStorage.setItem(a,JSON.stringify(r)),window.dispatchEvent(new Event(n))}catch{}},"useAvatarUrl",0,h,"useAvatarsVersion",0,function(){return(0,r.useSyncExternalStore)(x,()=>d,()=>0)}],97879);let g=[180,200,220,270,300,330,30,90];function u(e){let t=0;for(let r=0;r<e.length;r++)t=31*t+e.charCodeAt(r)>>>0;let r=g[t%g.length];return{bg:`hsl(${r} 55% 22%)`,ring:`hsl(${r} 60% 45%)`,text:`hsl(${r} 80% 78%)`}}function y(e){return e?(e.trim().match(/[\p{L}\p{N}]/u)?.[0]||e.trim()[0]||"·").toUpperCase():"·"}e.s(["AliasAvatar",0,function({alias:e,size:a=28,className:n=""}){let s=h(e),[i,o]=(0,r.useState)("loading"),[l,c]=(0,r.useState)(s);if(s!==l&&(c(s),o("loading")),s&&"error"!==i)return(0,t.jsx)("span",{className:`anet-alias-avatar relative inline-flex shrink-0 overflow-hidden rounded-full border border-[var(--border)] ${"loading"===i?"animate-pulse bg-[var(--bg-elevated)]":""} ${n}`,style:{width:a,height:a},title:e,"aria-hidden":!0,children:(0,t.jsx)("img",{src:s,alt:"",loading:"lazy",onLoad:()=>o("ready"),onError:()=>o("error"),className:`h-full w-full rounded-full object-cover transition-opacity duration-150 ${"ready"===i?"opacity-100":"opacity-0"}`})});if(/\bgrok\b|grok-build|grok测试员|grok-demo/i.test(e))return(0,t.jsx)("span",{className:`anet-alias-avatar inline-flex items-center justify-center rounded-full border border-emerald-500/45 bg-emerald-950/70 shrink-0 ${n}`,style:{width:a,height:a,backgroundImage:"url(/vendors/grok.svg)",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"68% 68%"},title:e,"aria-hidden":!0});let d=u(e),x=Math.max(9,Math.round(.42*a));return(0,t.jsx)("span",{className:`anet-alias-avatar inline-flex items-center justify-center rounded-full border shrink-0 font-semibold ${n}`,style:{width:a,height:a,fontSize:x,backgroundColor:d.bg,borderColor:d.ring,color:d.text},title:e,"aria-hidden":!0,children:y(e)})},"aliasAvatarColors",0,u,"aliasInitial",0,y],57835)},3068,e=>{"use strict";var t=e.i(90724),r=e.i(87854),a=e.i(60449);let n={nodes:{title:"No agents in this network",sub:"Agent sessions will appear here once they connect to the CommHub."},tasks:{title:"No tasks yet",sub:"Tasks will appear here when agents send them via CommHub."},messages:{title:"No messages",sub:"Messages between agents will appear here."},logs:{title:"No audit logs",sub:"Events will appear here when users register, login, or perform actions."},tokens:{title:"No API tokens",sub:"Create one to authenticate CLI tools and external integrations."},networks:{title:"No networks found",sub:"Create one or sign in with V3 auth to see your networks."},generic:{title:"Nothing here yet",sub:"Data will appear here once available."}};function s({variant:e,size:r}){let a={width:r,height:r},n={fill:"none",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"};switch(e){case"nodes":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...a,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("circle",{cx:"32",cy:"14",r:"4"}),(0,t.jsx)("circle",{cx:"14",cy:"44",r:"4"}),(0,t.jsx)("circle",{cx:"50",cy:"44",r:"4"}),(0,t.jsx)("line",{x1:"32",y1:"18",x2:"14",y2:"40",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("line",{x1:"32",y1:"18",x2:"50",y2:"40",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("line",{x1:"18",y1:"44",x2:"46",y2:"44",strokeDasharray:"3 3",opacity:"0.6"})]})});case"tasks":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...a,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("rect",{x:"14",y:"14",width:"36",height:"6",rx:"1.5"}),(0,t.jsx)("rect",{x:"14",y:"26",width:"36",height:"6",rx:"1.5",opacity:"0.6"}),(0,t.jsx)("rect",{x:"14",y:"38",width:"36",height:"6",rx:"1.5",opacity:"0.35"})]})});case"messages":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...a,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("path",{d:"M14 18 h36 a3 3 0 0 1 3 3 v18 a3 3 0 0 1 -3 3 h-18 l-8 6 v-6 h-10 a3 3 0 0 1 -3 -3 v-18 a3 3 0 0 1 3 -3 z"}),(0,t.jsx)("line",{x1:"22",y1:"28",x2:"42",y2:"28",opacity:"0.5"}),(0,t.jsx)("line",{x1:"22",y1:"34",x2:"36",y2:"34",opacity:"0.5"})]})});case"logs":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...a,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("path",{d:"M18 12 h22 l8 8 v32 a2 2 0 0 1 -2 2 h-28 a2 2 0 0 1 -2 -2 v-38 a2 2 0 0 1 2 -2 z"}),(0,t.jsx)("path",{d:"M40 12 v8 h8",opacity:"0.6"}),(0,t.jsx)("line",{x1:"24",y1:"32",x2:"40",y2:"32",opacity:"0.55"}),(0,t.jsx)("line",{x1:"24",y1:"38",x2:"40",y2:"38",opacity:"0.4"}),(0,t.jsx)("line",{x1:"24",y1:"44",x2:"34",y2:"44",opacity:"0.25"})]})});case"tokens":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...a,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("circle",{cx:"22",cy:"32",r:"8"}),(0,t.jsx)("line",{x1:"30",y1:"32",x2:"54",y2:"32"}),(0,t.jsx)("line",{x1:"44",y1:"32",x2:"44",y2:"38"}),(0,t.jsx)("line",{x1:"50",y1:"32",x2:"50",y2:"40"})]})});case"networks":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...a,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("circle",{cx:"32",cy:"32",r:"18"}),(0,t.jsx)("ellipse",{cx:"32",cy:"32",rx:"18",ry:"9",opacity:"0.55"}),(0,t.jsx)("line",{x1:"14",y1:"32",x2:"50",y2:"32",opacity:"0.55"}),(0,t.jsx)("line",{x1:"32",y1:"14",x2:"32",y2:"50",opacity:"0.55"})]})});default:return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...a,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("circle",{cx:"32",cy:"32",r:"14",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("circle",{cx:"32",cy:"32",r:"3"})]})})}}function i({variant:e="generic",title:r,sub:o,cta:l,compact:c=!1}){let d=n[e],x=r??d.title,h=o??d.sub;return(0,t.jsxs)("div",{className:`text-center ${c?"py-8":"py-16"} px-4`,role:"status",children:[(0,t.jsx)("div",{className:"anet-empty-glyph inline-flex items-center justify-center mb-4 text-gray-500","aria-hidden":!0,children:(0,t.jsx)(s,{variant:e,size:c?40:56})}),(0,t.jsx)("h3",{className:`font-medium text-gray-300 ${c?"text-sm":"text-base"}`,children:x}),h&&(0,t.jsx)("p",{className:`text-gray-500 ${c?"text-xs mt-1.5":"text-sm mt-2"} max-w-md mx-auto leading-relaxed`,children:h}),l&&(0,t.jsx)("div",{className:"mt-4",children:l.href?(0,t.jsxs)(a.default,{href:l.href,className:"inline-flex items-center gap-1.5 text-sm font-medium text-cyan-400 hover:text-cyan-300",children:[l.label,(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]}):(0,t.jsxs)("button",{onClick:l.onClick,className:"inline-flex items-center gap-1.5 text-sm font-medium text-cyan-400 hover:text-cyan-300",children:[l.label,(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]})})]})}function o({children:e}){return(0,t.jsx)("div",{className:"max-w-2xl mx-auto rounded-xl border border-[#26262b] bg-[#161618] shadow-lg shadow-black/20",children:e})}function l({cmd:e}){let[a,n]=(0,r.useState)(!1),s=async()=>{try{await navigator.clipboard.writeText(e),n(!0),setTimeout(()=>n(!1),1800)}catch{}};return(0,t.jsxs)("div",{className:"anet-empty-cmd flex items-start sm:items-center gap-2 bg-[#0e0e10] border border-[#26262b] rounded-lg pl-4 pr-1.5 py-1.5 text-xs sm:text-sm",children:[(0,t.jsx)("code",{className:"text-cyan-300 font-mono select-all min-w-0 break-all sm:break-normal",children:e}),(0,t.jsx)("button",{type:"button",onClick:s,"aria-label":a?"Copied":"Copy command",className:"shrink-0 rounded-md px-2 py-1.5 text-[11px] text-gray-500 hover:text-gray-200 hover:bg-[#1c1c1f] transition-colors",children:a?(0,t.jsxs)("span",{className:"flex items-center gap-1 text-green-400",children:[(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M20 6 9 17l-5-5"})}),"Copied"]}):(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,t.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),"Copy"]})})]})}e.s(["EmptyState",0,i,"NodesEmptyState",0,function({hint:e,taskHistoryCount:r=0}){return e?.global_count?(0,t.jsx)(o,{children:(0,t.jsx)(i,{variant:"nodes",title:"No agents in this network",sub:`Server has ${e.global_count} nodes globally, but none are registered to the current network. Switch network or contact admin.`})}):r>0?(0,t.jsx)(o,{children:(0,t.jsx)(i,{variant:"nodes",title:"No agents online",sub:`Every agent in this network is currently offline. ${r.toLocaleString()} task${1===r?"":"s"} in history — they may have finished their work or disconnected.`,cta:{label:"View task history",href:"/tasks"}})}):(0,t.jsx)(o,{children:(0,t.jsxs)("div",{className:"text-center py-16 px-4",role:"status",children:[(0,t.jsx)("div",{className:"anet-empty-glyph inline-flex items-center justify-center mb-4 text-gray-500","aria-hidden":!0,children:(0,t.jsx)("svg",{viewBox:"0 0 64 64",width:56,height:56,children:(0,t.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",fill:"none",children:[(0,t.jsx)("rect",{x:"10",y:"20",width:"44",height:"28",rx:"2"}),(0,t.jsx)("rect",{x:"20",y:"32",width:"6",height:"8",opacity:"0.5"}),(0,t.jsx)("rect",{x:"32",y:"32",width:"6",height:"8",opacity:"0.5"}),(0,t.jsx)("rect",{x:"44",y:"32",width:"4",height:"8",opacity:"0.5"}),(0,t.jsx)("line",{x1:"10",y1:"26",x2:"54",y2:"26",opacity:"0.4"}),(0,t.jsx)("circle",{cx:"14",cy:"23",r:"0.8",fill:"currentColor"})]})})}),(0,t.jsx)("h3",{className:"font-medium text-gray-300 text-base",children:"Spin up your first agent"}),(0,t.jsx)("p",{className:"text-gray-500 text-sm mt-2 max-w-md mx-auto leading-relaxed",children:"Run this in a fresh terminal to register an agent with this CommHub:"}),(0,t.jsx)("div",{className:"mt-4 inline-block",children:(0,t.jsx)(l,{cmd:"npx --yes @sleep2agi/agent-network init"})}),(0,t.jsx)("p",{className:"text-gray-600 text-xs mt-3 max-w-md mx-auto",children:"Once the agent connects, it appears here automatically within a few seconds — no refresh needed."}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsxs)("a",{href:"https://anet.sh",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs font-medium text-gray-500 hover:text-cyan-300",children:["Full quickstart guide",(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]})})]})})}])},90991,e=>{"use strict";e.s(["SESSION_STATUS_CHIP_CLASS",0,{working:"bg-green-500/10 text-green-300 border-green-500/20",idle:"bg-gray-500/10 text-gray-300 border-gray-500/20",blocked:"bg-yellow-500/10 text-yellow-300 border-yellow-500/20",error:"bg-red-500/10 text-red-300 border-red-500/20",offline:"bg-gray-500/10 text-gray-500 border-gray-500/20"},"SESSION_STATUS_TEXT_CLASS",0,{working:"text-green-400",idle:"text-gray-400",blocked:"text-yellow-400",error:"text-red-400",offline:"text-gray-500"},"STATUS_BAR_CLASS",0,{created:"bg-gray-500",delivered:"bg-gray-400",acked:"bg-gray-300",running:"bg-green-500",replied:"bg-gray-400",closed:"bg-gray-600",failed:"bg-red-500",cancelled:"bg-gray-600",expired:"bg-gray-600"},"STATUS_CHIP_CLASS",0,{created:"bg-gray-500/10 text-gray-400 border-gray-500/20",delivered:"bg-gray-500/10 text-gray-300 border-gray-500/20",acked:"bg-gray-500/10 text-gray-300 border-gray-500/20",running:"bg-green-500/10 text-green-300 border-green-500/20",replied:"bg-gray-500/10 text-gray-300 border-gray-500/20",closed:"bg-gray-500/10 text-gray-500 border-gray-500/20",failed:"bg-red-500/10 text-red-300 border-red-500/20",cancelled:"bg-gray-500/10 text-gray-500 border-gray-500/20",expired:"bg-gray-500/10 text-gray-500 border-gray-500/20"},"STATUS_DOT_HEX",0,{created:"#9ca3af",delivered:"#9ca3af",acked:"#9ca3af",running:"#4ade80",replied:"#9ca3af",closed:"#6b7280",failed:"#f87171",cancelled:"#6b7280",expired:"#6b7280"},"TASK_STATUSES",0,["created","delivered","acked","running","replied","closed","failed","cancelled","expired"]])},54258,e=>{"use strict";var t=e.i(90724),r=e.i(87854);e.s(["useCollapsibleSearch",0,function(e){let{value:a}=e,[n,s]=(0,r.useState)(!1),i=(0,r.useRef)(e);i.current=e;let o=(0,r.useRef)(n);o.current=n;let l=(0,r.useCallback)(()=>{i.current.onChange(""),s(!1)},[]),[c]=(0,r.useState)(()=>({Button:()=>{let{value:e,label:r="Search",enabled:a=!0}=i.current,n=o.current;if(!a)return(0,t.jsx)(t.Fragment,{});let l=n||e;return(0,t.jsxs)("button",{type:"button",onClick:()=>s(e=>!e),"aria-label":n?`Close ${r.toLowerCase()}`:`Open ${r.toLowerCase()}`,"aria-pressed":n,title:n?`Close ${r.toLowerCase()}`:r,className:`relative shrink-0 inline-flex items-center justify-center rounded-full border w-9 h-9 transition-colors ${l?"border-cyan-500/40 bg-cyan-500/10 text-cyan-300":"border-[#26262b] bg-[#161618] text-gray-400 hover:text-gray-200 hover:border-[#3a3a41]"}`,children:[(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),e&&!n&&(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute -top-0.5 -right-0.5 w-2 h-2 rounded-full bg-cyan-400 ring-2 ring-[#0b0b0d]"})]})},Row:()=>{let{value:e,onChange:r,placeholder:a="Search…",enabled:n=!0}=i.current,s=o.current;return n&&(s||e)?(0,t.jsxs)("div",{className:"mb-3 sm:mb-4 flex items-center gap-2",children:[(0,t.jsx)("input",{type:"text",value:e,onChange:e=>r(e.target.value),onKeyDown:e=>{"Escape"===e.key&&l()},placeholder:a,autoFocus:s,className:"flex-1 bg-[#161618] border border-[#26262b] rounded-lg px-3 py-2 text-base sm:text-sm text-white placeholder-gray-600 focus:border-cyan-500/40 focus:outline-none"}),(0,t.jsx)("button",{type:"button",onClick:l,className:"shrink-0 text-xs text-gray-500 hover:text-gray-300 px-2 py-2","aria-label":"Clear and close search",children:"Cancel"})]}):null}}));return{Button:c.Button,Row:c.Row,value:a,reset:l}}])},6382,e=>{"use strict";var t=e.i(90724),r=e.i(87854),a=e.i(35599);e.s(["default",0,function({params:e}){let{alias:n}=(0,r.use)(e);return(0,t.jsx)(a.NodesView,{initialAlias:(0,a.decodeAliasSegment)(n)})}])},83927,e=>{e.v(t=>Promise.all(["static/chunks/0u848pnoyh8zz.js"].map(t=>e.l(t))).then(()=>t(46496)))}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91342,e=>{"use strict";var t=e.i(25599);e.s(["previewContent",0,function(e){return e&&e.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/`([^`]+)`/g,"$1").replace(/\s+/g," ").trim()||"--"},"timeAgo",0,function(e){return(0,t.relativeAgo)(e)??"--"}])},57835,97879,e=>{"use strict";var t=e.i(90724),r=e.i(87854);let s="anet_avatars_v1",n="anet-avatars-updated",i=null,a=[],o=!1;function l(){try{let e=JSON.parse(window.localStorage.getItem(s)||"{}");return e&&"object"==typeof e?e:{}}catch{return{}}}function c(e){return e&&(l()[e]||i?.[e]||function(e){if(!a.length)return"";let t=5381;for(let r=0;r<e.length;r++)t=(t<<5)+t+e.charCodeAt(r)>>>0;return a[t%a.length]}(e))||""}let x=0;function d(e){o||(o=!0,fetch("/avatars/manifest.json",{cache:"no-cache"}).then(e=>e.ok?e.json():null).then(e=>{if(e&&"object"==typeof e&&!Array.isArray(e)){let t={};for(let[r,s]of Object.entries(e))!r.startsWith("_")&&"string"==typeof s&&s.startsWith("/")&&(t[r]=s);let r=e._pool;a=Array.isArray(r)?r.filter(e=>"string"==typeof e&&e.startsWith("/")):[],i=t,window.dispatchEvent(new Event(n))}}).catch(()=>{}));let t=()=>{x++,e()};return window.addEventListener(n,t),window.addEventListener("storage",t),()=>{window.removeEventListener(n,t),window.removeEventListener("storage",t)}}function h(e){return(0,r.useSyncExternalStore)(d,()=>c(e),()=>"")}e.s(["getAvatarUrl",0,c,"setAvatarUrl",0,function(e,t){if(e)try{let r=l();t.trim()?r[e]=t.trim():delete r[e],window.localStorage.setItem(s,JSON.stringify(r)),window.dispatchEvent(new Event(n))}catch{}},"useAvatarUrl",0,h,"useAvatarsVersion",0,function(){return(0,r.useSyncExternalStore)(d,()=>x,()=>0)}],97879);let u=[180,200,220,270,300,330,30,90];function y(e){let t=0;for(let r=0;r<e.length;r++)t=31*t+e.charCodeAt(r)>>>0;let r=u[t%u.length];return{bg:`hsl(${r} 55% 22%)`,ring:`hsl(${r} 60% 45%)`,text:`hsl(${r} 80% 78%)`}}function g(e){return e?(e.trim().match(/[\p{L}\p{N}]/u)?.[0]||e.trim()[0]||"·").toUpperCase():"·"}e.s(["AliasAvatar",0,function({alias:e,size:s=28,className:n=""}){let i=h(e),[a,o]=(0,r.useState)("loading"),[l,c]=(0,r.useState)(i);if(i!==l&&(c(i),o("loading")),i&&"error"!==a)return(0,t.jsx)("span",{className:`anet-alias-avatar relative inline-flex shrink-0 overflow-hidden rounded-full border border-[var(--border)] ${"loading"===a?"animate-pulse bg-[var(--bg-elevated)]":""} ${n}`,style:{width:s,height:s},title:e,"aria-hidden":!0,children:(0,t.jsx)("img",{src:i,alt:"",loading:"lazy",onLoad:()=>o("ready"),onError:()=>o("error"),className:`h-full w-full rounded-full object-cover transition-opacity duration-150 ${"ready"===a?"opacity-100":"opacity-0"}`})});if(/\bgrok\b|grok-build|grok测试员|grok-demo/i.test(e))return(0,t.jsx)("span",{className:`anet-alias-avatar inline-flex items-center justify-center rounded-full border border-emerald-500/45 bg-emerald-950/70 shrink-0 ${n}`,style:{width:s,height:s,backgroundImage:"url(/vendors/grok.svg)",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"68% 68%"},title:e,"aria-hidden":!0});let x=y(e),d=Math.max(9,Math.round(.42*s));return(0,t.jsx)("span",{className:`anet-alias-avatar inline-flex items-center justify-center rounded-full border shrink-0 font-semibold ${n}`,style:{width:s,height:s,fontSize:d,backgroundColor:x.bg,borderColor:x.ring,color:x.text},title:e,"aria-hidden":!0,children:g(e)})},"aliasAvatarColors",0,y,"aliasInitial",0,g],57835)},3068,e=>{"use strict";var t=e.i(90724),r=e.i(87854),s=e.i(60449);let n={nodes:{title:"No agents in this network",sub:"Agent sessions will appear here once they connect to the CommHub."},tasks:{title:"No tasks yet",sub:"Tasks will appear here when agents send them via CommHub."},messages:{title:"No messages",sub:"Messages between agents will appear here."},logs:{title:"No audit logs",sub:"Events will appear here when users register, login, or perform actions."},tokens:{title:"No API tokens",sub:"Create one to authenticate CLI tools and external integrations."},networks:{title:"No networks found",sub:"Create one or sign in with V3 auth to see your networks."},generic:{title:"Nothing here yet",sub:"Data will appear here once available."}};function i({variant:e,size:r}){let s={width:r,height:r},n={fill:"none",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"};switch(e){case"nodes":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...s,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("circle",{cx:"32",cy:"14",r:"4"}),(0,t.jsx)("circle",{cx:"14",cy:"44",r:"4"}),(0,t.jsx)("circle",{cx:"50",cy:"44",r:"4"}),(0,t.jsx)("line",{x1:"32",y1:"18",x2:"14",y2:"40",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("line",{x1:"32",y1:"18",x2:"50",y2:"40",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("line",{x1:"18",y1:"44",x2:"46",y2:"44",strokeDasharray:"3 3",opacity:"0.6"})]})});case"tasks":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...s,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("rect",{x:"14",y:"14",width:"36",height:"6",rx:"1.5"}),(0,t.jsx)("rect",{x:"14",y:"26",width:"36",height:"6",rx:"1.5",opacity:"0.6"}),(0,t.jsx)("rect",{x:"14",y:"38",width:"36",height:"6",rx:"1.5",opacity:"0.35"})]})});case"messages":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...s,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("path",{d:"M14 18 h36 a3 3 0 0 1 3 3 v18 a3 3 0 0 1 -3 3 h-18 l-8 6 v-6 h-10 a3 3 0 0 1 -3 -3 v-18 a3 3 0 0 1 3 -3 z"}),(0,t.jsx)("line",{x1:"22",y1:"28",x2:"42",y2:"28",opacity:"0.5"}),(0,t.jsx)("line",{x1:"22",y1:"34",x2:"36",y2:"34",opacity:"0.5"})]})});case"logs":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...s,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("path",{d:"M18 12 h22 l8 8 v32 a2 2 0 0 1 -2 2 h-28 a2 2 0 0 1 -2 -2 v-38 a2 2 0 0 1 2 -2 z"}),(0,t.jsx)("path",{d:"M40 12 v8 h8",opacity:"0.6"}),(0,t.jsx)("line",{x1:"24",y1:"32",x2:"40",y2:"32",opacity:"0.55"}),(0,t.jsx)("line",{x1:"24",y1:"38",x2:"40",y2:"38",opacity:"0.4"}),(0,t.jsx)("line",{x1:"24",y1:"44",x2:"34",y2:"44",opacity:"0.25"})]})});case"tokens":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...s,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("circle",{cx:"22",cy:"32",r:"8"}),(0,t.jsx)("line",{x1:"30",y1:"32",x2:"54",y2:"32"}),(0,t.jsx)("line",{x1:"44",y1:"32",x2:"44",y2:"38"}),(0,t.jsx)("line",{x1:"50",y1:"32",x2:"50",y2:"40"})]})});case"networks":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...s,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("circle",{cx:"32",cy:"32",r:"18"}),(0,t.jsx)("ellipse",{cx:"32",cy:"32",rx:"18",ry:"9",opacity:"0.55"}),(0,t.jsx)("line",{x1:"14",y1:"32",x2:"50",y2:"32",opacity:"0.55"}),(0,t.jsx)("line",{x1:"32",y1:"14",x2:"32",y2:"50",opacity:"0.55"})]})});default:return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...s,children:(0,t.jsxs)("g",{...n,children:[(0,t.jsx)("circle",{cx:"32",cy:"32",r:"14",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("circle",{cx:"32",cy:"32",r:"3"})]})})}}function a({variant:e="generic",title:r,sub:o,cta:l,compact:c=!1}){let x=n[e],d=r??x.title,h=o??x.sub;return(0,t.jsxs)("div",{className:`text-center ${c?"py-8":"py-16"} px-4`,role:"status",children:[(0,t.jsx)("div",{className:"anet-empty-glyph inline-flex items-center justify-center mb-4 text-gray-500","aria-hidden":!0,children:(0,t.jsx)(i,{variant:e,size:c?40:56})}),(0,t.jsx)("h3",{className:`font-medium text-gray-300 ${c?"text-sm":"text-base"}`,children:d}),h&&(0,t.jsx)("p",{className:`text-gray-500 ${c?"text-xs mt-1.5":"text-sm mt-2"} max-w-md mx-auto leading-relaxed`,children:h}),l&&(0,t.jsx)("div",{className:"mt-4",children:l.href?(0,t.jsxs)(s.default,{href:l.href,className:"inline-flex items-center gap-1.5 text-sm font-medium text-cyan-400 hover:text-cyan-300",children:[l.label,(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]}):(0,t.jsxs)("button",{onClick:l.onClick,className:"inline-flex items-center gap-1.5 text-sm font-medium text-cyan-400 hover:text-cyan-300",children:[l.label,(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]})})]})}function o({children:e}){return(0,t.jsx)("div",{className:"max-w-2xl mx-auto rounded-xl border border-[#26262b] bg-[#161618] shadow-lg shadow-black/20",children:e})}function l({cmd:e}){let[s,n]=(0,r.useState)(!1),i=async()=>{try{await navigator.clipboard.writeText(e),n(!0),setTimeout(()=>n(!1),1800)}catch{}};return(0,t.jsxs)("div",{className:"anet-empty-cmd flex items-start sm:items-center gap-2 bg-[#0e0e10] border border-[#26262b] rounded-lg pl-4 pr-1.5 py-1.5 text-xs sm:text-sm",children:[(0,t.jsx)("code",{className:"text-cyan-300 font-mono select-all min-w-0 break-all sm:break-normal",children:e}),(0,t.jsx)("button",{type:"button",onClick:i,"aria-label":s?"Copied":"Copy command",className:"shrink-0 rounded-md px-2 py-1.5 text-[11px] text-gray-500 hover:text-gray-200 hover:bg-[#1c1c1f] transition-colors",children:s?(0,t.jsxs)("span",{className:"flex items-center gap-1 text-green-400",children:[(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M20 6 9 17l-5-5"})}),"Copied"]}):(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,t.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),"Copy"]})})]})}e.s(["EmptyState",0,a,"NodesEmptyState",0,function({hint:e,taskHistoryCount:r=0}){return e?.global_count?(0,t.jsx)(o,{children:(0,t.jsx)(a,{variant:"nodes",title:"No agents in this network",sub:`Server has ${e.global_count} nodes globally, but none are registered to the current network. Switch network or contact admin.`})}):r>0?(0,t.jsx)(o,{children:(0,t.jsx)(a,{variant:"nodes",title:"No agents online",sub:`Every agent in this network is currently offline. ${r.toLocaleString()} task${1===r?"":"s"} in history — they may have finished their work or disconnected.`,cta:{label:"View task history",href:"/tasks"}})}):(0,t.jsx)(o,{children:(0,t.jsxs)("div",{className:"text-center py-16 px-4",role:"status",children:[(0,t.jsx)("div",{className:"anet-empty-glyph inline-flex items-center justify-center mb-4 text-gray-500","aria-hidden":!0,children:(0,t.jsx)("svg",{viewBox:"0 0 64 64",width:56,height:56,children:(0,t.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",fill:"none",children:[(0,t.jsx)("rect",{x:"10",y:"20",width:"44",height:"28",rx:"2"}),(0,t.jsx)("rect",{x:"20",y:"32",width:"6",height:"8",opacity:"0.5"}),(0,t.jsx)("rect",{x:"32",y:"32",width:"6",height:"8",opacity:"0.5"}),(0,t.jsx)("rect",{x:"44",y:"32",width:"4",height:"8",opacity:"0.5"}),(0,t.jsx)("line",{x1:"10",y1:"26",x2:"54",y2:"26",opacity:"0.4"}),(0,t.jsx)("circle",{cx:"14",cy:"23",r:"0.8",fill:"currentColor"})]})})}),(0,t.jsx)("h3",{className:"font-medium text-gray-300 text-base",children:"Spin up your first agent"}),(0,t.jsx)("p",{className:"text-gray-500 text-sm mt-2 max-w-md mx-auto leading-relaxed",children:"Run this in a fresh terminal to register an agent with this CommHub:"}),(0,t.jsx)("div",{className:"mt-4 inline-block",children:(0,t.jsx)(l,{cmd:"npx --yes @sleep2agi/agent-network init"})}),(0,t.jsx)("p",{className:"text-gray-600 text-xs mt-3 max-w-md mx-auto",children:"Once the agent connects, it appears here automatically within a few seconds — no refresh needed."}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsxs)("a",{href:"https://anet.sh",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs font-medium text-gray-500 hover:text-cyan-300",children:["Full quickstart guide",(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]})})]})})}])},22752,e=>{"use strict";e.s(["DASHBOARD_VERSION",0,"0.6.3-preview.50"],22752)},83927,e=>{e.v(t=>Promise.all(["static/chunks/0u848pnoyh8zz.js"].map(t=>e.l(t))).then(()=>t(46496)))}]);