@sleep2agi/agent-network-dashboard 0.4.6-preview.244 → 0.4.6-preview.246

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 (140) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/diagnostics/route-bundle-stats.json +4 -4
  4. package/.next/fallback-build-manifest.json +3 -3
  5. package/.next/server/app/_global-error.html +1 -1
  6. package/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  12. package/.next/server/app/_not-found.html +1 -1
  13. package/.next/server/app/_not-found.rsc +1 -1
  14. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  15. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  16. package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  19. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  20. package/.next/server/app/admin.html +1 -1
  21. package/.next/server/app/admin.rsc +1 -1
  22. package/.next/server/app/admin.segments/_full.segment.rsc +1 -1
  23. package/.next/server/app/admin.segments/_head.segment.rsc +1 -1
  24. package/.next/server/app/admin.segments/_index.segment.rsc +1 -1
  25. package/.next/server/app/admin.segments/_tree.segment.rsc +1 -1
  26. package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +1 -1
  27. package/.next/server/app/admin.segments/admin.segment.rsc +1 -1
  28. package/.next/server/app/index.html +2 -2
  29. package/.next/server/app/index.rsc +2 -2
  30. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  31. package/.next/server/app/index.segments/_full.segment.rsc +2 -2
  32. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  33. package/.next/server/app/index.segments/_index.segment.rsc +1 -1
  34. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  35. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  36. package/.next/server/app/login.html +2 -2
  37. package/.next/server/app/login.rsc +2 -2
  38. package/.next/server/app/login.segments/_full.segment.rsc +2 -2
  39. package/.next/server/app/login.segments/_head.segment.rsc +1 -1
  40. package/.next/server/app/login.segments/_index.segment.rsc +1 -1
  41. package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  42. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  43. package/.next/server/app/login.segments/login.segment.rsc +1 -1
  44. package/.next/server/app/logs.html +1 -1
  45. package/.next/server/app/logs.rsc +1 -1
  46. package/.next/server/app/logs.segments/_full.segment.rsc +1 -1
  47. package/.next/server/app/logs.segments/_head.segment.rsc +1 -1
  48. package/.next/server/app/logs.segments/_index.segment.rsc +1 -1
  49. package/.next/server/app/logs.segments/_tree.segment.rsc +1 -1
  50. package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +1 -1
  51. package/.next/server/app/logs.segments/logs.segment.rsc +1 -1
  52. package/.next/server/app/messages.html +1 -1
  53. package/.next/server/app/messages.rsc +1 -1
  54. package/.next/server/app/messages.segments/_full.segment.rsc +1 -1
  55. package/.next/server/app/messages.segments/_head.segment.rsc +1 -1
  56. package/.next/server/app/messages.segments/_index.segment.rsc +1 -1
  57. package/.next/server/app/messages.segments/_tree.segment.rsc +1 -1
  58. package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +1 -1
  59. package/.next/server/app/messages.segments/messages.segment.rsc +1 -1
  60. package/.next/server/app/node.html +1 -1
  61. package/.next/server/app/node.rsc +1 -1
  62. package/.next/server/app/node.segments/_full.segment.rsc +1 -1
  63. package/.next/server/app/node.segments/_head.segment.rsc +1 -1
  64. package/.next/server/app/node.segments/_index.segment.rsc +1 -1
  65. package/.next/server/app/node.segments/_tree.segment.rsc +1 -1
  66. package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +1 -1
  67. package/.next/server/app/node.segments/node.segment.rsc +1 -1
  68. package/.next/server/app/nodes.html +1 -1
  69. package/.next/server/app/nodes.rsc +1 -1
  70. package/.next/server/app/nodes.segments/_full.segment.rsc +1 -1
  71. package/.next/server/app/nodes.segments/_head.segment.rsc +1 -1
  72. package/.next/server/app/nodes.segments/_index.segment.rsc +1 -1
  73. package/.next/server/app/nodes.segments/_tree.segment.rsc +1 -1
  74. package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +1 -1
  75. package/.next/server/app/nodes.segments/nodes.segment.rsc +1 -1
  76. package/.next/server/app/page_client-reference-manifest.js +1 -1
  77. package/.next/server/app/server-logs.html +1 -1
  78. package/.next/server/app/server-logs.rsc +1 -1
  79. package/.next/server/app/server-logs.segments/_full.segment.rsc +1 -1
  80. package/.next/server/app/server-logs.segments/_head.segment.rsc +1 -1
  81. package/.next/server/app/server-logs.segments/_index.segment.rsc +1 -1
  82. package/.next/server/app/server-logs.segments/_tree.segment.rsc +1 -1
  83. package/.next/server/app/server-logs.segments/server-logs/__PAGE__.segment.rsc +1 -1
  84. package/.next/server/app/server-logs.segments/server-logs.segment.rsc +1 -1
  85. package/.next/server/app/settings/networks.html +1 -1
  86. package/.next/server/app/settings/networks.rsc +1 -1
  87. package/.next/server/app/settings/networks.segments/_full.segment.rsc +1 -1
  88. package/.next/server/app/settings/networks.segments/_head.segment.rsc +1 -1
  89. package/.next/server/app/settings/networks.segments/_index.segment.rsc +1 -1
  90. package/.next/server/app/settings/networks.segments/_tree.segment.rsc +1 -1
  91. package/.next/server/app/settings/networks.segments/settings/networks/__PAGE__.segment.rsc +1 -1
  92. package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +1 -1
  93. package/.next/server/app/settings/networks.segments/settings.segment.rsc +1 -1
  94. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  95. package/.next/server/app/settings/tokens.html +1 -1
  96. package/.next/server/app/settings/tokens.rsc +1 -1
  97. package/.next/server/app/settings/tokens.segments/_full.segment.rsc +1 -1
  98. package/.next/server/app/settings/tokens.segments/_head.segment.rsc +1 -1
  99. package/.next/server/app/settings/tokens.segments/_index.segment.rsc +1 -1
  100. package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +1 -1
  101. package/.next/server/app/settings/tokens.segments/settings/tokens/__PAGE__.segment.rsc +1 -1
  102. package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +1 -1
  103. package/.next/server/app/settings/tokens.segments/settings.segment.rsc +1 -1
  104. package/.next/server/app/settings.html +2 -2
  105. package/.next/server/app/settings.rsc +2 -2
  106. package/.next/server/app/settings.segments/_full.segment.rsc +2 -2
  107. package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  108. package/.next/server/app/settings.segments/_index.segment.rsc +1 -1
  109. package/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
  110. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +2 -2
  111. package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  112. package/.next/server/app/tasks.html +1 -1
  113. package/.next/server/app/tasks.rsc +1 -1
  114. package/.next/server/app/tasks.segments/_full.segment.rsc +1 -1
  115. package/.next/server/app/tasks.segments/_head.segment.rsc +1 -1
  116. package/.next/server/app/tasks.segments/_index.segment.rsc +1 -1
  117. package/.next/server/app/tasks.segments/_tree.segment.rsc +1 -1
  118. package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +1 -1
  119. package/.next/server/app/tasks.segments/tasks.segment.rsc +1 -1
  120. package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js +1 -1
  121. package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js.map +1 -1
  122. package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js +1 -1
  123. package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js.map +1 -1
  124. package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js +1 -1
  125. package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js.map +1 -1
  126. package/.next/server/middleware-build-manifest.js +3 -3
  127. package/.next/server/pages/404.html +1 -1
  128. package/.next/server/pages/500.html +1 -1
  129. package/.next/static/chunks/{0ojt85l8ux7fz.js → 0d6a.9-b8jsn-.js} +1 -1
  130. package/.next/static/chunks/{0i79q~nw7etdd.js → 0fw_t_ltzkmr_.js} +1 -1
  131. package/.next/static/chunks/{1604_nnwkc4dm.js → 0nz1vq-d1uk2c.js} +1 -1
  132. package/.next/trace +2 -2
  133. package/.next/trace-build +1 -1
  134. package/app/components/TopoGraph.tsx +24 -2
  135. package/package.json +2 -2
  136. package/scripts/topo-legend-count-tier-fill-test.mjs +121 -0
  137. package/scripts/topo-prepublish-guard-test.mjs +95 -0
  138. /package/.next/static/{AP-TrnQybmyXaqbyUjT2e → s8lSTr_ew75RMPl9xJ8W-}/_buildManifest.js +0 -0
  139. /package/.next/static/{AP-TrnQybmyXaqbyUjT2e → s8lSTr_ew75RMPl9xJ8W-}/_clientMiddlewareManifest.js +0 -0
  140. /package/.next/static/{AP-TrnQybmyXaqbyUjT2e → s8lSTr_ew75RMPl9xJ8W-}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70286,e=>{"use strict";e.s(["DASHBOARD_VERSION",0,"0.4.6-preview.244"],70286)},48941,e=>{"use strict";var t=e.i(22381),r=e.i(23910),a=e.i(70286);e.s(["default",0,function(){let[e,s]=(0,r.useState)("login"),[n,o]=(0,r.useState)(""),[i,l]=(0,r.useState)(""),[c,d]=(0,r.useState)(!1),[x,g]=(0,r.useState)(""),[h,m]=(0,r.useState)(!1),u=async t=>{t.preventDefault(),m(!0),g("");try{let t=await fetch("/api/auth/v3",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:e,username:n,password:i})}),r=await t.json();if(r.ok){r.token&&sessionStorage.setItem("anet_v3_auth",JSON.stringify({user:r.user,token:r.token,networks:r.networks||[],currentNetwork:r.network_id||r.networks?.[0]?.network_id||""})),window.location.assign("/");return}g(r.error||"Login failed")}catch{g("Connection failed")}m(!1)};return(0,t.jsxs)("main",{className:"min-h-screen bg-[#0a0a1a] text-gray-100 font-mono flex items-center justify-center relative overflow-hidden px-4 py-10 sm:py-16",children:[(0,t.jsx)("div",{className:"absolute inset-0 pointer-events-none anet-login-bg","aria-hidden":!0}),(0,t.jsxs)("div",{className:"relative w-full max-w-sm",children:[(0,t.jsxs)("div",{className:"text-center mb-7",children:[(0,t.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-4 rounded-2xl bg-[#111128] border border-[#2a2a4a] anet-login-mark",children:(0,t.jsxs)("svg",{className:"w-9 h-9",viewBox:"0 0 32 32","aria-hidden":!0,children:[(0,t.jsx)("circle",{cx:"16",cy:"16",r:"10",fill:"none",stroke:"currentColor",strokeWidth:"1.5",opacity:"0.25",className:"text-cyan-400 anet-login-mark-ring"}),(0,t.jsx)("line",{x1:"16",y1:"10",x2:"10",y2:"20",stroke:"currentColor",strokeWidth:"1",opacity:"0.5",className:"text-cyan-400 anet-login-mark-edge"}),(0,t.jsx)("line",{x1:"16",y1:"10",x2:"22",y2:"20",stroke:"currentColor",strokeWidth:"1",opacity:"0.5",className:"text-cyan-400 anet-login-mark-edge"}),(0,t.jsx)("line",{x1:"10",y1:"20",x2:"22",y2:"20",stroke:"currentColor",strokeWidth:"1",opacity:"0.5",className:"text-cyan-400 anet-login-mark-edge"}),(0,t.jsx)("circle",{cx:"16",cy:"10",r:"3",fill:"currentColor",className:"text-cyan-400 anet-login-mark-node-a"}),(0,t.jsx)("circle",{cx:"10",cy:"20",r:"3",fill:"currentColor",className:"text-green-400 anet-login-mark-node-b"}),(0,t.jsx)("circle",{cx:"22",cy:"20",r:"3",fill:"currentColor",className:"text-violet-400 anet-login-mark-node-c"})]})}),(0,t.jsx)("h1",{className:"text-[22px] sm:text-2xl font-semibold text-white tracking-tight",children:"Agent Network"}),(0,t.jsx)("p",{className:"text-[13px] text-gray-500 mt-1.5 leading-snug",children:"login"===e?(0,t.jsxs)(t.Fragment,{children:["Welcome back · ",(0,t.jsx)("span",{className:"text-gray-600",children:"Tasks · Mesh · Messages"})]}):(0,t.jsxs)(t.Fragment,{children:["Create your account · ",(0,t.jsx)("span",{className:"text-gray-600",children:"Free preview · no credit card"})]})})]}),(0,t.jsx)("div",{className:"flex rounded-lg border border-[#2a2a4a] bg-[#111128] p-1 mb-4",children:["login","register"].map(r=>(0,t.jsx)("button",{type:"button",onClick:()=>{s(r),g("")},className:`flex-1 rounded-md px-3 py-2 text-sm transition-colors ${e===r?"bg-cyan-500/10 text-cyan-300":"text-gray-500 hover:text-gray-200"}`,children:"login"===r?"Sign in":"Register"},r))}),(0,t.jsxs)("form",{onSubmit:u,className:"border border-[#2a2a4a] bg-[#111128]/80 backdrop-blur-sm rounded-xl p-6 shadow-2xl shadow-black/30",children:[(0,t.jsx)("label",{htmlFor:"username",className:"block text-xs text-gray-500 mb-2 uppercase tracking-wider",children:"Username"}),(0,t.jsx)("input",{id:"username",type:"text",value:n,onChange:e=>o(e.target.value),autoFocus:!0,placeholder:"Enter username",className:"w-full bg-[#0a0a15] border border-[#2a2a4a] rounded-lg px-4 py-3 text-sm text-white placeholder-gray-600 focus:border-cyan-500/50 focus:ring-1 focus:ring-cyan-500/20 focus:outline-none transition-all mb-4"}),(0,t.jsx)("label",{htmlFor:"password",className:"block text-xs text-gray-500 mb-2 uppercase tracking-wider",children:"Password"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("input",{id:"password",type:c?"text":"password",value:i,onChange:e=>l(e.target.value),placeholder:"Enter password",className:"w-full bg-[#0a0a15] border border-[#2a2a4a] rounded-lg px-4 pr-11 py-3 text-sm text-white placeholder-gray-600 focus:border-cyan-500/50 focus:ring-1 focus:ring-cyan-500/20 focus:outline-none transition-all"}),(0,t.jsx)("button",{type:"button",onClick:()=>d(e=>!e),tabIndex:-1,"aria-label":c?"Hide password":"Show password",className:"absolute inset-y-0 right-0 flex items-center px-3 text-gray-600 hover:text-gray-300 transition-colors",children:c?(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),(0,t.jsx)("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})})]}),x&&(0,t.jsx)("div",{className:"mt-3 text-sm text-red-300 bg-red-500/5 border border-red-500/10 rounded-lg px-3 py-2",children:x}),(0,t.jsxs)("button",{type:"submit",disabled:h||!i||!n.trim(),className:"mt-5 w-full flex items-center justify-center gap-2 px-4 py-3 bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500 disabled:from-gray-800 disabled:to-gray-800 disabled:text-gray-600 text-white text-sm font-medium rounded-lg transition-all shadow-lg shadow-cyan-500/10 hover:shadow-cyan-500/20 disabled:shadow-none",children:[h&&(0,t.jsxs)("svg",{"aria-hidden":!0,className:"w-4 h-4 animate-spin",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",opacity:"0.25"}),(0,t.jsx)("path",{d:"M4 12a8 8 0 018-8",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round"})]}),(0,t.jsx)("span",{children:h?"login"===e?"Signing in…":"Registering…":"login"===e?"Sign in":"Create account"})]})]}),(0,t.jsxs)("p",{className:"text-center text-[11px] text-gray-700 mt-6",children:["Sleep2AGI · Apache-2.0 · ",(0,t.jsx)("a",{href:"https://anet.sh",className:"hover:text-gray-500 transition-colors",children:"anet.sh"}),(0,t.jsx)("span",{className:"mx-1 text-gray-800",children:"·"}),(0,t.jsxs)("span",{className:"font-mono",title:"@sleep2agi/agent-network-dashboard",children:["v",a.DASHBOARD_VERSION]})]})]})]})}])}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70286,e=>{"use strict";e.s(["DASHBOARD_VERSION",0,"0.4.6-preview.246"],70286)},48941,e=>{"use strict";var t=e.i(22381),r=e.i(23910),a=e.i(70286);e.s(["default",0,function(){let[e,s]=(0,r.useState)("login"),[n,o]=(0,r.useState)(""),[i,l]=(0,r.useState)(""),[c,d]=(0,r.useState)(!1),[x,g]=(0,r.useState)(""),[h,m]=(0,r.useState)(!1),u=async t=>{t.preventDefault(),m(!0),g("");try{let t=await fetch("/api/auth/v3",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:e,username:n,password:i})}),r=await t.json();if(r.ok){r.token&&sessionStorage.setItem("anet_v3_auth",JSON.stringify({user:r.user,token:r.token,networks:r.networks||[],currentNetwork:r.network_id||r.networks?.[0]?.network_id||""})),window.location.assign("/");return}g(r.error||"Login failed")}catch{g("Connection failed")}m(!1)};return(0,t.jsxs)("main",{className:"min-h-screen bg-[#0a0a1a] text-gray-100 font-mono flex items-center justify-center relative overflow-hidden px-4 py-10 sm:py-16",children:[(0,t.jsx)("div",{className:"absolute inset-0 pointer-events-none anet-login-bg","aria-hidden":!0}),(0,t.jsxs)("div",{className:"relative w-full max-w-sm",children:[(0,t.jsxs)("div",{className:"text-center mb-7",children:[(0,t.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-4 rounded-2xl bg-[#111128] border border-[#2a2a4a] anet-login-mark",children:(0,t.jsxs)("svg",{className:"w-9 h-9",viewBox:"0 0 32 32","aria-hidden":!0,children:[(0,t.jsx)("circle",{cx:"16",cy:"16",r:"10",fill:"none",stroke:"currentColor",strokeWidth:"1.5",opacity:"0.25",className:"text-cyan-400 anet-login-mark-ring"}),(0,t.jsx)("line",{x1:"16",y1:"10",x2:"10",y2:"20",stroke:"currentColor",strokeWidth:"1",opacity:"0.5",className:"text-cyan-400 anet-login-mark-edge"}),(0,t.jsx)("line",{x1:"16",y1:"10",x2:"22",y2:"20",stroke:"currentColor",strokeWidth:"1",opacity:"0.5",className:"text-cyan-400 anet-login-mark-edge"}),(0,t.jsx)("line",{x1:"10",y1:"20",x2:"22",y2:"20",stroke:"currentColor",strokeWidth:"1",opacity:"0.5",className:"text-cyan-400 anet-login-mark-edge"}),(0,t.jsx)("circle",{cx:"16",cy:"10",r:"3",fill:"currentColor",className:"text-cyan-400 anet-login-mark-node-a"}),(0,t.jsx)("circle",{cx:"10",cy:"20",r:"3",fill:"currentColor",className:"text-green-400 anet-login-mark-node-b"}),(0,t.jsx)("circle",{cx:"22",cy:"20",r:"3",fill:"currentColor",className:"text-violet-400 anet-login-mark-node-c"})]})}),(0,t.jsx)("h1",{className:"text-[22px] sm:text-2xl font-semibold text-white tracking-tight",children:"Agent Network"}),(0,t.jsx)("p",{className:"text-[13px] text-gray-500 mt-1.5 leading-snug",children:"login"===e?(0,t.jsxs)(t.Fragment,{children:["Welcome back · ",(0,t.jsx)("span",{className:"text-gray-600",children:"Tasks · Mesh · Messages"})]}):(0,t.jsxs)(t.Fragment,{children:["Create your account · ",(0,t.jsx)("span",{className:"text-gray-600",children:"Free preview · no credit card"})]})})]}),(0,t.jsx)("div",{className:"flex rounded-lg border border-[#2a2a4a] bg-[#111128] p-1 mb-4",children:["login","register"].map(r=>(0,t.jsx)("button",{type:"button",onClick:()=>{s(r),g("")},className:`flex-1 rounded-md px-3 py-2 text-sm transition-colors ${e===r?"bg-cyan-500/10 text-cyan-300":"text-gray-500 hover:text-gray-200"}`,children:"login"===r?"Sign in":"Register"},r))}),(0,t.jsxs)("form",{onSubmit:u,className:"border border-[#2a2a4a] bg-[#111128]/80 backdrop-blur-sm rounded-xl p-6 shadow-2xl shadow-black/30",children:[(0,t.jsx)("label",{htmlFor:"username",className:"block text-xs text-gray-500 mb-2 uppercase tracking-wider",children:"Username"}),(0,t.jsx)("input",{id:"username",type:"text",value:n,onChange:e=>o(e.target.value),autoFocus:!0,placeholder:"Enter username",className:"w-full bg-[#0a0a15] border border-[#2a2a4a] rounded-lg px-4 py-3 text-sm text-white placeholder-gray-600 focus:border-cyan-500/50 focus:ring-1 focus:ring-cyan-500/20 focus:outline-none transition-all mb-4"}),(0,t.jsx)("label",{htmlFor:"password",className:"block text-xs text-gray-500 mb-2 uppercase tracking-wider",children:"Password"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("input",{id:"password",type:c?"text":"password",value:i,onChange:e=>l(e.target.value),placeholder:"Enter password",className:"w-full bg-[#0a0a15] border border-[#2a2a4a] rounded-lg px-4 pr-11 py-3 text-sm text-white placeholder-gray-600 focus:border-cyan-500/50 focus:ring-1 focus:ring-cyan-500/20 focus:outline-none transition-all"}),(0,t.jsx)("button",{type:"button",onClick:()=>d(e=>!e),tabIndex:-1,"aria-label":c?"Hide password":"Show password",className:"absolute inset-y-0 right-0 flex items-center px-3 text-gray-600 hover:text-gray-300 transition-colors",children:c?(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),(0,t.jsx)("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})})]}),x&&(0,t.jsx)("div",{className:"mt-3 text-sm text-red-300 bg-red-500/5 border border-red-500/10 rounded-lg px-3 py-2",children:x}),(0,t.jsxs)("button",{type:"submit",disabled:h||!i||!n.trim(),className:"mt-5 w-full flex items-center justify-center gap-2 px-4 py-3 bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500 disabled:from-gray-800 disabled:to-gray-800 disabled:text-gray-600 text-white text-sm font-medium rounded-lg transition-all shadow-lg shadow-cyan-500/10 hover:shadow-cyan-500/20 disabled:shadow-none",children:[h&&(0,t.jsxs)("svg",{"aria-hidden":!0,className:"w-4 h-4 animate-spin",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",opacity:"0.25"}),(0,t.jsx)("path",{d:"M4 12a8 8 0 018-8",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round"})]}),(0,t.jsx)("span",{children:h?"login"===e?"Signing in…":"Registering…":"login"===e?"Sign in":"Create account"})]})]}),(0,t.jsxs)("p",{className:"text-center text-[11px] text-gray-700 mt-6",children:["Sleep2AGI · Apache-2.0 · ",(0,t.jsx)("a",{href:"https://anet.sh",className:"hover:text-gray-500 transition-colors",children:"anet.sh"}),(0,t.jsx)("span",{className:"mx-1 text-gray-800",children:"·"}),(0,t.jsxs)("span",{className:"font-mono",title:"@sleep2agi/agent-network-dashboard",children:["v",a.DASHBOARD_VERSION]})]})]})]})}])}]);
package/.next/trace CHANGED
@@ -1,2 +1,2 @@
1
- [{"name":"generate-buildid","duration":396,"timestamp":88383504444,"id":4,"parentId":1,"tags":{},"startTime":1778896355751,"traceId":"14ed00172e0486d1"},{"name":"load-custom-routes","duration":576,"timestamp":88383505042,"id":5,"parentId":1,"tags":{},"startTime":1778896355751,"traceId":"14ed00172e0486d1"},{"name":"create-dist-dir","duration":856,"timestamp":88383505699,"id":6,"parentId":1,"tags":{},"startTime":1778896355752,"traceId":"14ed00172e0486d1"},{"name":"clean","duration":680,"timestamp":88383507397,"id":7,"parentId":1,"tags":{},"startTime":1778896355754,"traceId":"14ed00172e0486d1"},{"name":"discover-routes","duration":14478,"timestamp":88383613326,"id":8,"parentId":1,"tags":{},"startTime":1778896355860,"traceId":"14ed00172e0486d1"},{"name":"create-root-mapping","duration":202,"timestamp":88383627894,"id":9,"parentId":1,"tags":{},"startTime":1778896355874,"traceId":"14ed00172e0486d1"},{"name":"generate-route-types","duration":45207,"timestamp":88383631922,"id":10,"parentId":1,"tags":{},"startTime":1778896355878,"traceId":"14ed00172e0486d1"},{"name":"public-dir-conflict-check","duration":149,"timestamp":88383677379,"id":11,"parentId":1,"tags":{},"startTime":1778896355924,"traceId":"14ed00172e0486d1"},{"name":"generate-routes-manifest","duration":5377,"timestamp":88383677747,"id":12,"parentId":1,"tags":{},"startTime":1778896355924,"traceId":"14ed00172e0486d1"},{"name":"run-turbopack","duration":10674572,"timestamp":88383689690,"id":14,"parentId":1,"tags":{},"startTime":1778896355936,"traceId":"14ed00172e0486d1"},{"name":"turbopack-build-events","duration":89,"timestamp":88384045660,"id":15,"parentId":1,"tags":{},"startTime":1778896356292,"traceId":"14ed00172e0486d1"},{"name":"run-typescript","duration":13471805,"timestamp":88394375920,"id":16,"parentId":1,"tags":{},"startTime":1778896366622,"traceId":"14ed00172e0486d1"},{"name":"generate-required-server-files","duration":2665,"timestamp":88407848790,"id":18,"parentId":1,"tags":{},"startTime":1778896380095,"traceId":"14ed00172e0486d1"},{"name":"check-static-error-page","duration":24767,"timestamp":88408070780,"id":20,"parentId":19,"tags":{},"startTime":1778896380317,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":628081,"timestamp":88408099109,"id":63,"parentId":22,"tags":{},"startTime":1778896380345,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":649422,"timestamp":88408077937,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1778896380324,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":867994,"timestamp":88408099692,"id":67,"parentId":28,"tags":{},"startTime":1778896380346,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":884286,"timestamp":88408083524,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1778896380330,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":868440,"timestamp":88408105702,"id":70,"parentId":32,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":888899,"timestamp":88408085329,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1778896380332,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":967781,"timestamp":88408105782,"id":71,"parentId":33,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":988183,"timestamp":88408085493,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1778896380332,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1031519,"timestamp":88408099238,"id":64,"parentId":25,"tags":{},"startTime":1778896380346,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1049063,"timestamp":88408081789,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1778896380328,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1036600,"timestamp":88408105859,"id":72,"parentId":34,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1056959,"timestamp":88408085609,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1778896380332,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1042292,"timestamp":88408106025,"id":74,"parentId":36,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1062177,"timestamp":88408086221,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1778896380332,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1051023,"timestamp":88408106063,"id":75,"parentId":37,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1070771,"timestamp":88408086387,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1778896380333,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1052065,"timestamp":88408106080,"id":76,"parentId":38,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1071692,"timestamp":88408086517,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1778896380333,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1056488,"timestamp":88408106089,"id":77,"parentId":39,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1076034,"timestamp":88408086607,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1778896380333,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1065302,"timestamp":88408106102,"id":78,"parentId":40,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1084750,"timestamp":88408086712,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1778896380333,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1071394,"timestamp":88408105886,"id":73,"parentId":35,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1091586,"timestamp":88408085746,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1778896380332,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1071412,"timestamp":88408106115,"id":79,"parentId":41,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1090771,"timestamp":88408086794,"id":41,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1778896380333,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1092916,"timestamp":88408106135,"id":81,"parentId":43,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1112143,"timestamp":88408086985,"id":43,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1778896380333,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1093225,"timestamp":88408106123,"id":80,"parentId":42,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1112501,"timestamp":88408086885,"id":42,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1778896380333,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1095931,"timestamp":88408106148,"id":82,"parentId":44,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1115034,"timestamp":88408087097,"id":44,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1778896380333,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1097654,"timestamp":88408106160,"id":83,"parentId":45,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1116682,"timestamp":88408087195,"id":45,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1778896380333,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1099639,"timestamp":88408106168,"id":84,"parentId":46,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1118582,"timestamp":88408087273,"id":46,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1778896380334,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1102275,"timestamp":88408106181,"id":85,"parentId":47,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1121093,"timestamp":88408087407,"id":47,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1778896380334,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1109881,"timestamp":88408106192,"id":86,"parentId":48,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1128624,"timestamp":88408087502,"id":48,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1778896380334,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1110091,"timestamp":88408106201,"id":87,"parentId":49,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1126657,"timestamp":88408089685,"id":49,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1778896380336,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1080586,"timestamp":88408147244,"id":89,"parentId":31,"tags":{},"startTime":1778896380394,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1143820,"timestamp":88408084071,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1778896380330,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1097114,"timestamp":88408145730,"id":88,"parentId":24,"tags":{},"startTime":1778896380392,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1164457,"timestamp":88408078467,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1778896380325,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1140966,"timestamp":88408105484,"id":69,"parentId":30,"tags":{},"startTime":1778896380352,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1162584,"timestamp":88408083935,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1778896380330,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1030067,"timestamp":88408305313,"id":91,"parentId":50,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1245335,"timestamp":88408090122,"id":50,"parentId":19,"tags":{"page":"/login"},"startTime":1778896380336,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1040052,"timestamp":88408305256,"id":90,"parentId":23,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1267162,"timestamp":88408078228,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1778896380325,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1051228,"timestamp":88408305354,"id":94,"parentId":53,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1266161,"timestamp":88408090527,"id":53,"parentId":19,"tags":{"page":"/node"},"startTime":1778896380337,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1068079,"timestamp":88408305343,"id":93,"parentId":52,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1283123,"timestamp":88408090377,"id":52,"parentId":19,"tags":{"page":"/messages"},"startTime":1778896380337,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1068287,"timestamp":88408305366,"id":95,"parentId":54,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1282992,"timestamp":88408090694,"id":54,"parentId":19,"tags":{"page":"/nodes"},"startTime":1778896380337,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1091732,"timestamp":88408305380,"id":96,"parentId":56,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1305933,"timestamp":88408091269,"id":56,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1778896380338,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1092030,"timestamp":88408305393,"id":97,"parentId":57,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1305994,"timestamp":88408091464,"id":57,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1778896380338,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1103795,"timestamp":88408305329,"id":92,"parentId":51,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1318945,"timestamp":88408090265,"id":51,"parentId":19,"tags":{"page":"/logs"},"startTime":1778896380337,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1309671,"timestamp":88408099846,"id":68,"parentId":29,"tags":{},"startTime":1778896380346,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1325936,"timestamp":88408083663,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1778896380330,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1112437,"timestamp":88408305403,"id":98,"parentId":59,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1322851,"timestamp":88408095049,"id":59,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1778896380341,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1118965,"timestamp":88408305588,"id":102,"parentId":55,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1333755,"timestamp":88408090860,"id":55,"parentId":19,"tags":{"page":"/"},"startTime":1778896380337,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1145690,"timestamp":88408305559,"id":100,"parentId":61,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1355982,"timestamp":88408095347,"id":61,"parentId":19,"tags":{"page":"/tasks"},"startTime":1778896380342,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1160928,"timestamp":88408305536,"id":99,"parentId":60,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1371334,"timestamp":88408095218,"id":60,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1778896380341,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1243953,"timestamp":88408305570,"id":101,"parentId":58,"tags":{},"startTime":1778896380552,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1457960,"timestamp":88408091655,"id":58,"parentId":19,"tags":{"page":"/settings"},"startTime":1778896380338,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1481111,"timestamp":88408098665,"id":62,"parentId":21,"tags":{},"startTime":1778896380345,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1503461,"timestamp":88408076417,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1778896380323,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1488879,"timestamp":88408099354,"id":65,"parentId":26,"tags":{},"startTime":1778896380346,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1505042,"timestamp":88408083268,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1778896380330,"traceId":"14ed00172e0486d1"},{"name":"is-page-static","duration":1534941,"timestamp":88408099451,"id":66,"parentId":27,"tags":{},"startTime":1778896380346,"traceId":"14ed00172e0486d1"},{"name":"check-page","duration":1552701,"timestamp":88408083401,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1778896380330,"traceId":"14ed00172e0486d1"},{"name":"static-check","duration":1566744,"timestamp":88408069444,"id":19,"parentId":1,"tags":{},"startTime":1778896380316,"traceId":"14ed00172e0486d1"},{"name":"write-routes-manifest","duration":480,"timestamp":88409662257,"id":104,"parentId":1,"tags":{},"startTime":1778896381909,"traceId":"14ed00172e0486d1"},{"name":"load-dotenv","duration":68,"timestamp":88409679529,"id":107,"parentId":106,"tags":{},"startTime":1778896381926,"traceId":"14ed00172e0486d1"},{"name":"run-export-path-map","duration":1140,"timestamp":88409686500,"id":108,"parentId":106,"tags":{},"startTime":1778896381933,"traceId":"14ed00172e0486d1"},{"name":"next-export","duration":850835,"timestamp":88409677364,"id":106,"parentId":1,"tags":{},"startTime":1778896381924,"traceId":"14ed00172e0486d1"}]
2
- [{"name":"move-exported-app-not-found-","duration":4165,"timestamp":88410533443,"id":109,"parentId":105,"tags":{},"startTime":1778896382780,"traceId":"14ed00172e0486d1"},{"name":"move-exported-app-global-error-","duration":860,"timestamp":88410537743,"id":110,"parentId":105,"tags":{},"startTime":1778896382784,"traceId":"14ed00172e0486d1"},{"name":"static-generation","duration":873920,"timestamp":88409667767,"id":105,"parentId":1,"tags":{},"startTime":1778896381914,"traceId":"14ed00172e0486d1"},{"name":"write-routes-manifest","duration":567,"timestamp":88410541904,"id":111,"parentId":1,"tags":{},"startTime":1778896382788,"traceId":"14ed00172e0486d1"},{"name":"print-tree-view","duration":6852,"timestamp":88410572059,"id":112,"parentId":1,"tags":{},"startTime":1778896382818,"traceId":"14ed00172e0486d1"},{"name":"write-route-bundle-stats","duration":26574,"timestamp":88410578960,"id":113,"parentId":1,"tags":{},"startTime":1778896382825,"traceId":"14ed00172e0486d1"},{"name":"telemetry-flush","duration":123,"timestamp":88410605591,"id":114,"parentId":1,"tags":{},"startTime":1778896382852,"traceId":"14ed00172e0486d1"},{"name":"next-build","duration":27158783,"timestamp":88383446965,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778896355693,"traceId":"14ed00172e0486d1"}]
1
+ [{"name":"generate-buildid","duration":250,"timestamp":89129097201,"id":4,"parentId":1,"tags":{},"startTime":1778897101343,"traceId":"93eb2f3dcd333246"},{"name":"load-custom-routes","duration":459,"timestamp":89129097599,"id":5,"parentId":1,"tags":{},"startTime":1778897101344,"traceId":"93eb2f3dcd333246"},{"name":"create-dist-dir","duration":662,"timestamp":89129098100,"id":6,"parentId":1,"tags":{},"startTime":1778897101344,"traceId":"93eb2f3dcd333246"},{"name":"clean","duration":33290,"timestamp":89129099424,"id":7,"parentId":1,"tags":{},"startTime":1778897101346,"traceId":"93eb2f3dcd333246"},{"name":"discover-routes","duration":10376,"timestamp":89129218778,"id":8,"parentId":1,"tags":{},"startTime":1778897101465,"traceId":"93eb2f3dcd333246"},{"name":"create-root-mapping","duration":109,"timestamp":89129229215,"id":9,"parentId":1,"tags":{},"startTime":1778897101475,"traceId":"93eb2f3dcd333246"},{"name":"generate-route-types","duration":41095,"timestamp":89129231622,"id":10,"parentId":1,"tags":{},"startTime":1778897101478,"traceId":"93eb2f3dcd333246"},{"name":"public-dir-conflict-check","duration":161,"timestamp":89129272860,"id":11,"parentId":1,"tags":{},"startTime":1778897101519,"traceId":"93eb2f3dcd333246"},{"name":"generate-routes-manifest","duration":7785,"timestamp":89129273243,"id":12,"parentId":1,"tags":{},"startTime":1778897101520,"traceId":"93eb2f3dcd333246"},{"name":"run-turbopack","duration":8269078,"timestamp":89129289069,"id":14,"parentId":1,"tags":{},"startTime":1778897101535,"traceId":"93eb2f3dcd333246"},{"name":"turbopack-build-events","duration":114,"timestamp":89129655050,"id":15,"parentId":1,"tags":{},"startTime":1778897101901,"traceId":"93eb2f3dcd333246"},{"name":"run-typescript","duration":11646116,"timestamp":89137575635,"id":16,"parentId":1,"tags":{},"startTime":1778897109822,"traceId":"93eb2f3dcd333246"},{"name":"generate-required-server-files","duration":2381,"timestamp":89149223435,"id":18,"parentId":1,"tags":{},"startTime":1778897121470,"traceId":"93eb2f3dcd333246"},{"name":"check-static-error-page","duration":16200,"timestamp":89149420407,"id":20,"parentId":19,"tags":{},"startTime":1778897121667,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":496929,"timestamp":89149441663,"id":63,"parentId":22,"tags":{},"startTime":1778897121688,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":515130,"timestamp":89149423632,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1778897121670,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":638890,"timestamp":89149448075,"id":69,"parentId":30,"tags":{},"startTime":1778897121694,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":659611,"timestamp":89149427486,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1778897121674,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":659711,"timestamp":89149447710,"id":67,"parentId":28,"tags":{},"startTime":1778897121694,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":680289,"timestamp":89149427207,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1778897121673,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":668009,"timestamp":89149448350,"id":71,"parentId":33,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":688350,"timestamp":89149428080,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1778897121674,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":668884,"timestamp":89149448276,"id":70,"parentId":32,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":689309,"timestamp":89149427924,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1778897121674,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":675918,"timestamp":89149448429,"id":72,"parentId":34,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":696203,"timestamp":89149428202,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1778897121674,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":703831,"timestamp":89149448464,"id":73,"parentId":35,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":724055,"timestamp":89149428321,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1778897121675,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":708189,"timestamp":89149448624,"id":75,"parentId":37,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":727236,"timestamp":89149429632,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1778897121676,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":715532,"timestamp":89149448590,"id":74,"parentId":36,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":734709,"timestamp":89149429471,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1778897121676,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":715732,"timestamp":89149448645,"id":76,"parentId":38,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":734680,"timestamp":89149429728,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1778897121676,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":723407,"timestamp":89149448672,"id":78,"parentId":40,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":742263,"timestamp":89149429872,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1778897121676,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":727720,"timestamp":89149448681,"id":79,"parentId":41,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":746515,"timestamp":89149429931,"id":41,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1778897121676,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":731746,"timestamp":89149448697,"id":80,"parentId":42,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":750497,"timestamp":89149429995,"id":42,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1778897121676,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":736378,"timestamp":89149448715,"id":81,"parentId":43,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":755027,"timestamp":89149430108,"id":43,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1778897121676,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":740874,"timestamp":89149448725,"id":82,"parentId":44,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":759466,"timestamp":89149430179,"id":44,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1778897121676,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":742244,"timestamp":89149448659,"id":77,"parentId":39,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":761147,"timestamp":89149429807,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1778897121676,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":748207,"timestamp":89149448738,"id":83,"parentId":45,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":766788,"timestamp":89149430243,"id":45,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1778897121677,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":748476,"timestamp":89149448751,"id":84,"parentId":46,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":766960,"timestamp":89149430309,"id":46,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1778897121677,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":756306,"timestamp":89149448764,"id":85,"parentId":47,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":774728,"timestamp":89149430397,"id":47,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1778897121677,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":756529,"timestamp":89149448774,"id":86,"parentId":48,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":774883,"timestamp":89149430460,"id":48,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1778897121677,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":763271,"timestamp":89149444761,"id":66,"parentId":27,"tags":{},"startTime":1778897121691,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":780979,"timestamp":89149427099,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1778897121673,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":764518,"timestamp":89149444597,"id":65,"parentId":26,"tags":{},"startTime":1778897121691,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":782194,"timestamp":89149426963,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1778897121673,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":756754,"timestamp":89149456225,"id":88,"parentId":24,"tags":{},"startTime":1778897121703,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":788879,"timestamp":89149424157,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1778897121670,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":756194,"timestamp":89149457337,"id":89,"parentId":31,"tags":{},"startTime":1778897121704,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":785938,"timestamp":89149427636,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1778897121674,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":769831,"timestamp":89149448788,"id":87,"parentId":49,"tags":{},"startTime":1778897121695,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":785836,"timestamp":89149432836,"id":49,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1778897121679,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":813161,"timestamp":89149463511,"id":91,"parentId":50,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":843432,"timestamp":89149433318,"id":50,"parentId":19,"tags":{"page":"/login"},"startTime":1778897121680,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":819199,"timestamp":89149463543,"id":93,"parentId":52,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":849098,"timestamp":89149433707,"id":52,"parentId":19,"tags":{"page":"/messages"},"startTime":1778897121680,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":825390,"timestamp":89149463552,"id":94,"parentId":53,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":855074,"timestamp":89149433924,"id":53,"parentId":19,"tags":{"page":"/node"},"startTime":1778897121680,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":826969,"timestamp":89149463566,"id":95,"parentId":54,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":856377,"timestamp":89149434218,"id":54,"parentId":19,"tags":{"page":"/nodes"},"startTime":1778897121680,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":832763,"timestamp":89149463593,"id":96,"parentId":56,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":861294,"timestamp":89149435112,"id":56,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1778897121681,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":841468,"timestamp":89149463617,"id":98,"parentId":59,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":869066,"timestamp":89149436071,"id":59,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1778897121682,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":847270,"timestamp":89149463603,"id":97,"parentId":57,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":875528,"timestamp":89149435394,"id":57,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1778897121682,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":857335,"timestamp":89149463638,"id":99,"parentId":60,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":884855,"timestamp":89149436226,"id":60,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1778897121682,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":861504,"timestamp":89149463656,"id":100,"parentId":61,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":888852,"timestamp":89149436363,"id":61,"parentId":19,"tags":{"page":"/tasks"},"startTime":1778897121683,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":862569,"timestamp":89149463481,"id":90,"parentId":23,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":902205,"timestamp":89149423904,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1778897121670,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":864119,"timestamp":89149463529,"id":92,"parentId":51,"tags":{},"startTime":1778897121710,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":894186,"timestamp":89149433510,"id":51,"parentId":19,"tags":{"page":"/logs"},"startTime":1778897121680,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":842390,"timestamp":89149486332,"id":101,"parentId":55,"tags":{},"startTime":1778897121733,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":894274,"timestamp":89149434486,"id":55,"parentId":19,"tags":{"page":"/"},"startTime":1778897121681,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":792672,"timestamp":89149541312,"id":102,"parentId":58,"tags":{},"startTime":1778897121789,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":898440,"timestamp":89149435616,"id":58,"parentId":19,"tags":{"page":"/settings"},"startTime":1778897121682,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":1039633,"timestamp":89149447897,"id":68,"parentId":29,"tags":{},"startTime":1778897121694,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":1060304,"timestamp":89149427325,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1778897121674,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":1052716,"timestamp":89149441247,"id":62,"parentId":21,"tags":{},"startTime":1778897121688,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":1072022,"timestamp":89149422047,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1778897121668,"traceId":"93eb2f3dcd333246"},{"name":"is-page-static","duration":1091211,"timestamp":89149441808,"id":64,"parentId":25,"tags":{},"startTime":1778897121688,"traceId":"93eb2f3dcd333246"},{"name":"check-page","duration":1106331,"timestamp":89149426780,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1778897121673,"traceId":"93eb2f3dcd333246"},{"name":"static-check","duration":1113957,"timestamp":89149419206,"id":19,"parentId":1,"tags":{},"startTime":1778897121665,"traceId":"93eb2f3dcd333246"},{"name":"write-routes-manifest","duration":520,"timestamp":89150549910,"id":104,"parentId":1,"tags":{},"startTime":1778897122796,"traceId":"93eb2f3dcd333246"},{"name":"load-dotenv","duration":50,"timestamp":89150563123,"id":107,"parentId":106,"tags":{},"startTime":1778897122809,"traceId":"93eb2f3dcd333246"},{"name":"run-export-path-map","duration":529,"timestamp":89150566138,"id":108,"parentId":106,"tags":{},"startTime":1778897122812,"traceId":"93eb2f3dcd333246"},{"name":"next-export","duration":786622,"timestamp":89150561873,"id":106,"parentId":1,"tags":{},"startTime":1778897122808,"traceId":"93eb2f3dcd333246"}]
2
+ [{"name":"move-exported-app-not-found-","duration":2241,"timestamp":89151352426,"id":109,"parentId":105,"tags":{},"startTime":1778897123599,"traceId":"93eb2f3dcd333246"},{"name":"move-exported-app-global-error-","duration":585,"timestamp":89151354745,"id":110,"parentId":105,"tags":{},"startTime":1778897123601,"traceId":"93eb2f3dcd333246"},{"name":"static-generation","duration":802660,"timestamp":89150555057,"id":105,"parentId":1,"tags":{},"startTime":1778897122801,"traceId":"93eb2f3dcd333246"},{"name":"write-routes-manifest","duration":620,"timestamp":89151357946,"id":111,"parentId":1,"tags":{},"startTime":1778897123604,"traceId":"93eb2f3dcd333246"},{"name":"print-tree-view","duration":4641,"timestamp":89151385917,"id":112,"parentId":1,"tags":{},"startTime":1778897123632,"traceId":"93eb2f3dcd333246"},{"name":"write-route-bundle-stats","duration":13202,"timestamp":89151390607,"id":113,"parentId":1,"tags":{},"startTime":1778897123637,"traceId":"93eb2f3dcd333246"},{"name":"telemetry-flush","duration":21091,"timestamp":89151403846,"id":114,"parentId":1,"tags":{},"startTime":1778897123650,"traceId":"93eb2f3dcd333246"},{"name":"next-build","duration":22380425,"timestamp":89129044562,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778897101291,"traceId":"93eb2f3dcd333246"}]
package/.next/trace-build CHANGED
@@ -1 +1 @@
1
- [{"name":"run-turbopack","duration":10674572,"timestamp":88383689690,"id":14,"parentId":1,"tags":{},"startTime":1778896355936,"traceId":"14ed00172e0486d1"},{"name":"turbopack-build-events","duration":89,"timestamp":88384045660,"id":15,"parentId":1,"tags":{},"startTime":1778896356292,"traceId":"14ed00172e0486d1"},{"name":"run-typescript","duration":13471805,"timestamp":88394375920,"id":16,"parentId":1,"tags":{},"startTime":1778896366622,"traceId":"14ed00172e0486d1"},{"name":"static-check","duration":1566744,"timestamp":88408069444,"id":19,"parentId":1,"tags":{},"startTime":1778896380316,"traceId":"14ed00172e0486d1"},{"name":"static-generation","duration":873920,"timestamp":88409667767,"id":105,"parentId":1,"tags":{},"startTime":1778896381914,"traceId":"14ed00172e0486d1"},{"name":"telemetry-flush","duration":123,"timestamp":88410605591,"id":114,"parentId":1,"tags":{},"startTime":1778896382852,"traceId":"14ed00172e0486d1"},{"name":"next-build","duration":27158783,"timestamp":88383446965,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778896355693,"traceId":"14ed00172e0486d1"}]
1
+ [{"name":"run-turbopack","duration":8269078,"timestamp":89129289069,"id":14,"parentId":1,"tags":{},"startTime":1778897101535,"traceId":"93eb2f3dcd333246"},{"name":"turbopack-build-events","duration":114,"timestamp":89129655050,"id":15,"parentId":1,"tags":{},"startTime":1778897101901,"traceId":"93eb2f3dcd333246"},{"name":"run-typescript","duration":11646116,"timestamp":89137575635,"id":16,"parentId":1,"tags":{},"startTime":1778897109822,"traceId":"93eb2f3dcd333246"},{"name":"static-check","duration":1113957,"timestamp":89149419206,"id":19,"parentId":1,"tags":{},"startTime":1778897121665,"traceId":"93eb2f3dcd333246"},{"name":"static-generation","duration":802660,"timestamp":89150555057,"id":105,"parentId":1,"tags":{},"startTime":1778897122801,"traceId":"93eb2f3dcd333246"},{"name":"telemetry-flush","duration":21091,"timestamp":89151403846,"id":114,"parentId":1,"tags":{},"startTime":1778897123650,"traceId":"93eb2f3dcd333246"},{"name":"next-build","duration":22380425,"timestamp":89129044562,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778897101291,"traceId":"93eb2f3dcd333246"}]
@@ -5954,10 +5954,31 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
5954
5954
  the existing 150ms opacity transition. data-
5955
5955
  legend-count-empty exposes the binary signal
5956
5956
  for tests. */}
5957
+ {/* Round 239 / Loop: legend count text gains a tier-
5958
+ coloured fill on hover/pin, completing the hover-
5959
+ deepen-own-hue idiom at this surface. Pre-R239 the
5960
+ count digit's opacity bumped 0.65→0.95 on hover
5961
+ (R204 thinning) but its fill stayed at the neutral
5962
+ pal.legendText gray — same digit, brighter gray,
5963
+ no tier identity. R239 flips fill to row.fill
5964
+ (green/teal/slate per tier) when the row is
5965
+ hovered OR pinned, so the count lights up in its
5966
+ OWN colour, matching the swatch directly above it.
5967
+ The whole row now reads as one tier-coloured unit
5968
+ under cursor (swatch + label + count); R55/R197
5969
+ already do this for swatch + label, R239 closes
5970
+ the trio at the count. Opacity transition stays at
5971
+ 150ms; fill joins the same transition list at 150ms
5972
+ so the colour shift eases alongside the opacity
5973
+ ramp. data-legend-count-fill exposes the active
5974
+ fill state for tests; empty tiers (row.count===0)
5975
+ stay at pal.legendText regardless — empty doesn't
5976
+ get to claim tier identity. 8th surface in the
5977
+ hover-deepen-own-hue family. */}
5957
5978
  <text
5958
5979
  x="215" y={row.y1}
5959
5980
  textAnchor="end"
5960
- fill={pal.legendText}
5981
+ fill={row.count > 0 && (hoveredStatus === row.key || isPinned) ? row.fill : pal.legendText}
5961
5982
  fontSize="11"
5962
5983
  fontFamily="monospace"
5963
5984
  opacity={row.count === 0
@@ -5965,7 +5986,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
5965
5986
  : (hoveredStatus === row.key || isPinned ? 0.95 : 0.65)}
5966
5987
  data-legend-count={row.key}
5967
5988
  data-legend-count-empty={row.count === 0 ? 'true' : 'false'}
5968
- style={{ pointerEvents: 'none', transition: 'opacity 150ms ease-out' }}
5989
+ data-legend-count-fill={row.count > 0 && (hoveredStatus === row.key || isPinned) ? 'tier' : 'neutral'}
5990
+ style={{ pointerEvents: 'none', transition: 'opacity 150ms ease-out, fill 150ms ease-out' }}
5969
5991
  >{row.count}</text>
5970
5992
  </g>
5971
5993
  );
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@sleep2agi/agent-network-dashboard",
3
- "version": "0.4.6-preview.244",
3
+ "version": "0.4.6-preview.246",
4
4
  "description": "Agent Network Dashboard — Web UI for managing AI Agent networks",
5
5
  "scripts": {
6
6
  "dev": "next dev",
7
7
  "build": "next build",
8
8
  "start": "next start",
9
9
  "lint": "eslint",
10
- "prepublishOnly": "rm -rf .next && npm run build"
10
+ "prepublishOnly": "[ -f .next/BUILD_ID ] || (echo 'prepublishOnly: .next/BUILD_ID missing — run npm run build first (see commit 05c1ebf body for R224 chunk-500 root cause)' >&2 && exit 1)"
11
11
  },
12
12
  "bin": {
13
13
  "agent-network-dashboard": "./bin/start.js"
@@ -0,0 +1,121 @@
1
+ /* Round 239 verification: legend count text fill picks up the
2
+ * row's tier colour on hover/pin, completing the hover-deepen-own-
3
+ * hue idiom for the legend row triple (swatch + label + count).
4
+ *
5
+ * Pre-R239 the count digit had opacity 0.65→0.95 on hover but
6
+ * stayed at pal.legendText (neutral gray) for fill. The swatch
7
+ * (R197 grow) and label (R55 brighten) both reacted to hover with
8
+ * tier-identity signals; only the count stayed gray. R239 adds
9
+ * fill transition to row.fill (green/teal/slate) on hover so the
10
+ * row reads as one tier-coloured unit.
11
+ *
12
+ * Empty tiers (row.count === 0) stay at pal.legendText regardless
13
+ * of hover — empty doesn't get to claim tier identity.
14
+ *
15
+ * Test scope:
16
+ * - rest state: count fill === neutral (pal.legendText)
17
+ * - hover state (Playwright .hover() on the legend row <g>):
18
+ * count fill === row.fill (tier colour)
19
+ * - data-legend-count-fill attr flips 'neutral' ↔ 'tier'
20
+ * - transition list includes both opacity AND fill at 150ms
21
+ *
22
+ * Scenario: 4 working agents → working tier has count=4 (populated),
23
+ * idle + offline tiers stay at 0 (empty, never tier-coloured).
24
+ * Hover the working legend row, verify only that row's count
25
+ * flips to tier colour.
26
+ */
27
+ import { chromium } from 'playwright';
28
+ import { readFileSync } from 'node:fs';
29
+
30
+ const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
31
+ const browser = await chromium.launch({ headless: true });
32
+ const ctx = await browser.newContext({ viewport: { width: 1500, height: 1500 } });
33
+ await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
34
+ await ctx.addInitScript(() => {
35
+ try { localStorage.setItem('anet-theme', 'cyber'); sessionStorage.setItem('anet_v3_auth', '1'); } catch {}
36
+ });
37
+ const fresh = new Date(Date.now() - 60 * 1000).toISOString();
38
+ await ctx.route('**/api/hub/status*', async (route) => {
39
+ const r = await route.fetch();
40
+ const b = await r.json();
41
+ const nid = (b.sessions || [])[0]?.network_id || 'default';
42
+ const mk = (alias) => ({
43
+ alias, status: 'working', model: 'claude-opus-4', runtime: 'claude-code-cli',
44
+ network_id: nid, project_dir: null,
45
+ created_at: fresh, updated_at: fresh, last_seen_at: fresh,
46
+ });
47
+ await route.fulfill({ response: r, json: { ...b, sessions: [
48
+ mk('alpha'), mk('beta'), mk('gamma'), mk('delta'),
49
+ ] } });
50
+ });
51
+ await ctx.route('**/api/hub/messages*', (r2) => r2.fulfill({ json: { messages: [] } }));
52
+ await ctx.route('**/api/hub/tasks*', (r2) => r2.fulfill({ json: { tasks: [] } }));
53
+
54
+ const page = await ctx.newPage();
55
+ await page.goto('http://127.0.0.1:3000/', { waitUntil: 'domcontentloaded' });
56
+ await page.waitForFunction(() => document.querySelectorAll('g[data-node]').length === 4, { timeout: 30000 });
57
+ await page.waitForSelector('[data-legend-count="working"]', { timeout: 10000, state: 'attached' });
58
+ await page.waitForTimeout(300);
59
+
60
+ const probeCount = (page, tier) => page.evaluate((t) => {
61
+ const text = document.querySelector(`[data-legend-count="${t}"]`);
62
+ if (!text) return null;
63
+ const cs = getComputedStyle(text);
64
+ return {
65
+ fillAttr: text.getAttribute('fill'),
66
+ fillComp: cs.fill,
67
+ empty: text.getAttribute('data-legend-count-empty'),
68
+ fillState: text.getAttribute('data-legend-count-fill'),
69
+ transition: cs.transition,
70
+ text: (text.textContent || '').trim(),
71
+ };
72
+ }, tier);
73
+
74
+ // REST STATE — no hover
75
+ const rest = await probeCount(page, 'working');
76
+
77
+ // HOVER STATE — hover the working legend row group
78
+ await page.locator('[data-legend-status="working"]').first().hover({ force: true });
79
+ await page.waitForTimeout(400);
80
+ const hover = await probeCount(page, 'working');
81
+
82
+ // Idle tier is empty in this scenario — should stay neutral even
83
+ // when hovered. Hover the idle row to confirm the empty-tier
84
+ // exclusion holds.
85
+ await page.locator('[data-legend-status="idle"]').first().hover({ force: true });
86
+ await page.waitForTimeout(400);
87
+ const idleHover = await probeCount(page, 'idle');
88
+
89
+ await browser.close();
90
+
91
+ // Browser normalises '150ms' → '0.15s' in computed-style transitions.
92
+ // Accept either form.
93
+ const hasTransition = (s, prop) => new RegExp(`${prop}\\s+(?:150ms|0\\.15s)`).test(s || '');
94
+ // Cyber theme working tier fill is #22c55e = rgb(34, 197, 94)
95
+ const tierColorRgb = 'rgb(34, 197, 94)';
96
+ // Cyber theme legendText (pal.legendText for dark palette) = #94a3b8 = rgb(148, 163, 184)
97
+ const neutralRgb = 'rgb(148, 163, 184)';
98
+
99
+ const results = {
100
+ rest_present: rest !== null,
101
+ rest_fill_state_neutral: rest?.fillState === 'neutral',
102
+ rest_fill_is_neutral: rest?.fillComp === neutralRgb,
103
+ rest_text_is_4: rest?.text === '4',
104
+ rest_transition_has_fill: hasTransition(rest?.transition, 'fill'),
105
+ rest_transition_has_opacity: hasTransition(rest?.transition, 'opacity'),
106
+
107
+ hover_fill_state_tier: hover?.fillState === 'tier',
108
+ hover_fill_is_tier: hover?.fillComp === tierColorRgb,
109
+ hover_text_is_4: hover?.text === '4',
110
+
111
+ // Empty tier (idle, count=0) stays neutral even on hover
112
+ idle_empty: idleHover?.empty === 'true',
113
+ idle_stays_neutral: idleHover?.fillState === 'neutral',
114
+ idle_fill_still_neutral: idleHover?.fillComp === neutralRgb,
115
+ };
116
+ const ok = Object.values(results).every(Boolean);
117
+ console.log(`${ok ? '✅' : '❌'} legend count tier fill:`, JSON.stringify(results),
118
+ '\n rest: ', rest,
119
+ '\n hover: ', hover,
120
+ '\n idleHover:', idleHover);
121
+ process.exit(ok ? 0 : 1);
@@ -0,0 +1,95 @@
1
+ /* Round 238 verification: prepublishOnly is now a guard-only check
2
+ * instead of a destructive rebuild. This closes the chunk-500 root
3
+ * cause documented since R224.
4
+ *
5
+ * Pre-R238 prepublishOnly was 'rm -rf .next && npm run build', which:
6
+ * 1. Deleted .next/ on disk during npm publish.
7
+ * 2. Rebuilt with fresh content-hashed chunk filenames.
8
+ * 3. Left the already-running next-server process with a stale
9
+ * in-memory manifest pointing at chunks that no longer existed
10
+ * on disk → ENOENT → 500 on lazy chunk fetch.
11
+ * 4. Required a manual 'restart dash AFTER publish' step every
12
+ * round as a workaround.
13
+ *
14
+ * Post-R238 prepublishOnly is a guard:
15
+ * '[ -f .next/BUILD_ID ] || (echo ... && exit 1)'
16
+ *
17
+ * - If .next/BUILD_ID exists, succeed silently — publish proceeds
18
+ * with whatever .next/ is on disk (intentional: pipeline order
19
+ * is now bump → build → restart → test → publish, so the build
20
+ * already embeds the new version BEFORE publish).
21
+ * - If .next/BUILD_ID is missing, fail loudly with the R224
22
+ * reference so the developer knows what to do.
23
+ *
24
+ * No rm-rf-rebuild = running server's manifest stays consistent
25
+ * with disk chunks through the publish step. No post-publish
26
+ * restart needed.
27
+ *
28
+ * Test verifies:
29
+ * 1. package.json scripts.prepublishOnly contains no 'rm' command
30
+ * (destructive form removed)
31
+ * 2. package.json scripts.prepublishOnly contains no 'npm run
32
+ * build' (rebuild on publish removed)
33
+ * 3. The guard form is present (BUILD_ID check)
34
+ * 4. Running `npm run prepublishOnly` exits 0 when .next/BUILD_ID
35
+ * exists, leaving .next/ untouched (mtime + content hash stable)
36
+ */
37
+ import { readFileSync, statSync } from 'node:fs';
38
+ import { execSync } from 'node:child_process';
39
+ import { createHash } from 'node:crypto';
40
+
41
+ const pkg = JSON.parse(readFileSync('/home/vansin/agent-network-dashboard/package.json', 'utf8'));
42
+ const hookSrc = pkg.scripts?.prepublishOnly || '';
43
+
44
+ // Hash + mtime of .next/BUILD_ID before running the hook
45
+ const buildIdPath = '/home/vansin/agent-network-dashboard/.next/BUILD_ID';
46
+ const before = (() => {
47
+ try {
48
+ return {
49
+ mtime: statSync(buildIdPath).mtimeMs,
50
+ hash: createHash('sha256').update(readFileSync(buildIdPath)).digest('hex'),
51
+ };
52
+ } catch {
53
+ return null;
54
+ }
55
+ })();
56
+
57
+ // Run the prepublishOnly hook explicitly via npm run
58
+ let exitCode = -1;
59
+ try {
60
+ execSync('npm run prepublishOnly', {
61
+ cwd: '/home/vansin/agent-network-dashboard',
62
+ stdio: 'pipe',
63
+ });
64
+ exitCode = 0;
65
+ } catch (e) {
66
+ exitCode = e.status ?? -1;
67
+ }
68
+
69
+ const after = (() => {
70
+ try {
71
+ return {
72
+ mtime: statSync(buildIdPath).mtimeMs,
73
+ hash: createHash('sha256').update(readFileSync(buildIdPath)).digest('hex'),
74
+ };
75
+ } catch {
76
+ return null;
77
+ }
78
+ })();
79
+
80
+ const results = {
81
+ hook_present: typeof hookSrc === 'string' && hookSrc.length > 0,
82
+ no_rm_command: !/\brm\b/.test(hookSrc),
83
+ has_build_id_check: /\.next\/BUILD_ID/.test(hookSrc),
84
+ has_exit_path: /exit\s+1/.test(hookSrc),
85
+ hook_exits_zero: exitCode === 0,
86
+ build_id_mtime_stable: before !== null && after !== null && before.mtime === after.mtime,
87
+ build_id_hash_stable: before !== null && after !== null && before.hash === after.hash,
88
+ };
89
+ const ok = Object.values(results).every(Boolean);
90
+ console.log(`${ok ? '✅' : '❌'} prepublishOnly guard:`, JSON.stringify(results),
91
+ '\n hookSrc:', hookSrc,
92
+ '\n exitCode:', exitCode,
93
+ '\n before:', before,
94
+ '\n after: ', after);
95
+ process.exit(ok ? 0 : 1);