@sleep2agi/agent-network-dashboard 0.5.3-preview.167 → 0.5.3-preview.169
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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/diagnostics/route-bundle-stats.json +5 -5
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/admin.html +1 -1
- package/.next/server/app/admin.rsc +1 -1
- package/.next/server/app/admin.segments/_full.segment.rsc +1 -1
- package/.next/server/app/admin.segments/_head.segment.rsc +1 -1
- package/.next/server/app/admin.segments/_index.segment.rsc +1 -1
- package/.next/server/app/admin.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/admin.segments/admin.segment.rsc +1 -1
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +2 -2
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +2 -2
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +2 -2
- package/.next/server/app/login.rsc +2 -2
- package/.next/server/app/login.segments/_full.segment.rsc +2 -2
- package/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/.next/server/app/login.segments/_index.segment.rsc +1 -1
- package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/login.segments/login.segment.rsc +1 -1
- package/.next/server/app/logs.html +1 -1
- package/.next/server/app/logs.rsc +1 -1
- package/.next/server/app/logs.segments/_full.segment.rsc +1 -1
- package/.next/server/app/logs.segments/_head.segment.rsc +1 -1
- package/.next/server/app/logs.segments/_index.segment.rsc +1 -1
- package/.next/server/app/logs.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/logs.segments/logs.segment.rsc +1 -1
- package/.next/server/app/messages.html +1 -1
- package/.next/server/app/messages.rsc +1 -1
- package/.next/server/app/messages.segments/_full.segment.rsc +1 -1
- package/.next/server/app/messages.segments/_head.segment.rsc +1 -1
- package/.next/server/app/messages.segments/_index.segment.rsc +1 -1
- package/.next/server/app/messages.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/messages.segments/messages.segment.rsc +1 -1
- package/.next/server/app/node.html +1 -1
- package/.next/server/app/node.rsc +1 -1
- package/.next/server/app/node.segments/_full.segment.rsc +1 -1
- package/.next/server/app/node.segments/_head.segment.rsc +1 -1
- package/.next/server/app/node.segments/_index.segment.rsc +1 -1
- package/.next/server/app/node.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/node.segments/node.segment.rsc +1 -1
- package/.next/server/app/nodes.html +1 -1
- package/.next/server/app/nodes.rsc +1 -1
- package/.next/server/app/nodes.segments/_full.segment.rsc +1 -1
- package/.next/server/app/nodes.segments/_head.segment.rsc +1 -1
- package/.next/server/app/nodes.segments/_index.segment.rsc +1 -1
- package/.next/server/app/nodes.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/nodes.segments/nodes.segment.rsc +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/server-logs.html +1 -1
- package/.next/server/app/server-logs.rsc +1 -1
- package/.next/server/app/server-logs.segments/_full.segment.rsc +1 -1
- package/.next/server/app/server-logs.segments/_head.segment.rsc +1 -1
- package/.next/server/app/server-logs.segments/_index.segment.rsc +1 -1
- package/.next/server/app/server-logs.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/server-logs.segments/server-logs/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/server-logs.segments/server-logs.segment.rsc +1 -1
- package/.next/server/app/settings/networks.html +1 -1
- package/.next/server/app/settings/networks.rsc +1 -1
- package/.next/server/app/settings/networks.segments/_full.segment.rsc +1 -1
- package/.next/server/app/settings/networks.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings/networks.segments/_index.segment.rsc +1 -1
- package/.next/server/app/settings/networks.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/settings/networks.segments/settings/networks/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +1 -1
- package/.next/server/app/settings/networks.segments/settings.segment.rsc +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/tokens.html +1 -1
- package/.next/server/app/settings/tokens.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/_full.segment.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/_index.segment.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/settings/tokens/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/settings.segment.rsc +1 -1
- package/.next/server/app/settings.html +2 -2
- package/.next/server/app/settings.rsc +2 -2
- package/.next/server/app/settings.segments/_full.segment.rsc +2 -2
- package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_index.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
- package/.next/server/app/tasks.html +1 -1
- package/.next/server/app/tasks.rsc +1 -1
- package/.next/server/app/tasks.segments/_full.segment.rsc +1 -1
- package/.next/server/app/tasks.segments/_head.segment.rsc +1 -1
- package/.next/server/app/tasks.segments/_index.segment.rsc +1 -1
- package/.next/server/app/tasks.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/tasks.segments/tasks.segment.rsc +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0sv~g.o._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0sv~g.o._.js.map +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js +2 -2
- package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js.map +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js.map +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js +1 -1
- package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js.map +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/static/chunks/{0b3qx3tsc3ew6.js → 0e_j5p68j9ogz.js} +1 -1
- package/.next/static/chunks/{16-p6sh9~k469.js → 0jfegjbqs82uw.js} +1 -1
- package/.next/static/chunks/{0o9_l24pr6hx8.js → 10zdy-dve4~57.js} +2 -2
- package/.next/static/chunks/{04uc4a8wkg~y0.js → 17jkw0jw9.g96.js} +1 -1
- package/.next/trace +2 -2
- package/.next/trace-build +1 -1
- package/app/components/TopoGraph.tsx +35 -4
- package/package.json +1 -1
- package/scripts/topo-hub-spoke-halo-layers-test.mjs +97 -0
- package/scripts/topo-minimap-viewport-halo-layers-test.mjs +24 -0
- /package/.next/static/{4EcyizZSIGa5gd4q7qy9Q → N_DVmK7lQ4G5G4kmfXX5G}/_buildManifest.js +0 -0
- /package/.next/static/{4EcyizZSIGa5gd4q7qy9Q → N_DVmK7lQ4G5G4kmfXX5G}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{4EcyizZSIGa5gd4q7qy9Q → N_DVmK7lQ4G5G4kmfXX5G}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,59276,e=>{"use strict";var s=e.i(12629),a=e.i(11449);let t=async e=>{let s=await fetch(e);if(401===s.status)throw window.location.assign("/login"),Error("unauthorized");return s.json()},r={refreshInterval:5e3,dedupingInterval:3e3};function n(e,s){if(!s)return e;let a=e.includes("?")?"&":"?";return`${e}${a}network_id=${encodeURIComponent(s)}`}e.s(["useAnetConfig",0,function(){let{data:e}=(0,s.default)("/api/anet/config",t,{refreshInterval:3e4});return{config:e||null}},"useHealth",0,function(){let{data:e,error:a}=(0,s.default)("/api/hub/health",t,r);return{health:e||null,error:a}},"useLicense",0,function(){let{data:e,error:a}=(0,s.default)("/api/hub/license",t,{refreshInterval:6e4});return{license:e?.ok?e:null,error:a}},"useMessages",0,function(e=100){let{networkId:l}=(0,a.useNetworkId)(),{data:i,error:c,isLoading:d}=(0,s.default)(n(`/api/hub/messages?limit=${e}`,l),t,r);return{messages:i?.messages||[],error:c,isLoading:d}},"useSessions",0,function(){let{networkId:e}=(0,a.useNetworkId)(),{data:l,error:i,isLoading:c}=(0,s.default)(n("/api/hub/status",e),t,r);return{sessions:l?.sessions||[],hint:l?._hint,error:i,isLoading:c}},"useStats",0,function(){let{networkId:e}=(0,a.useNetworkId)(),{data:l,error:i}=(0,s.default)(n("/api/hub/stats",e),t,r);return{stats:l?.ok?l:null,error:i}},"useTasks",0,function(e){let{networkId:l}=(0,a.useNetworkId)(),i=new URLSearchParams({limit:"100",...e}).toString(),{data:c,error:d,isLoading:o}=(0,s.default)(n(`/api/hub/tasks?${i}`,l),t,r);return{tasks:c?.tasks||[],count:c?.count??0,source:c?.source,error:d,isLoading:o}}])},70286,e=>{"use strict";e.s(["DASHBOARD_VERSION",0,"0.5.3-preview.167"],70286)},65610,e=>{"use strict";var s=e.i(22381),a=e.i(23910),t=e.i(56839),r=e.i(59276),n=e.i(70286);e.s(["default",0,function(){let{config:e}=(0,r.useAnetConfig)(),{health:l}=(0,r.useHealth)(),{license:i}=(0,r.useLicense)(),[c,d]=(0,a.useState)(""),[o,x]=(0,a.useState)(""),[m,h]=(0,a.useState)(""),[g,u]=(0,a.useState)(""),[p,N]=(0,a.useState)(""),b="flex flex-col gap-1 sm:flex-row sm:items-start sm:justify-between",j="break-all sm:max-w-[320px] sm:text-right";return(0,s.jsxs)("div",{className:"min-h-screen bg-[#0a0a1a] text-gray-100 p-4 sm:p-6 font-mono",children:[(0,s.jsx)("h1",{className:"text-2xl font-bold text-white mb-3 lg:ml-0 ml-10",children:"Settings"}),(0,s.jsx)("nav",{className:"mb-8 flex flex-wrap gap-1 text-xs",children:[{href:"#connection",label:"Connection"},{href:"#account",label:"Account"},{href:"#resources",label:"Resources"}].map(e=>(0,s.jsx)("a",{href:e.href,className:"rounded-md px-2.5 py-1 text-gray-500 hover:text-cyan-300 hover:bg-cyan-500/10 transition-colors",children:e.label},e.href))}),(0,s.jsxs)("div",{className:"max-w-2xl space-y-10",children:[(0,s.jsxs)("div",{id:"connection",className:"space-y-4 scroll-mt-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,s.jsx)("div",{className:"text-[11px] uppercase tracking-[0.14em] text-gray-400 font-semibold",children:"Connection"}),(0,s.jsx)("div",{className:"flex-1 h-px bg-[#2a2a4a]"})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"CommHub Connection"}),(0,s.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500 shrink-0",children:"Hub URL"}),(0,s.jsx)("span",{className:`text-cyan-300 ${j}`,children:e?.hub||"not configured"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Config Source"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:e?.source==="file"?"Local file (~/.anet/config.json)":e?.source==="runtime-env"?"Vercel env vars":"Missing"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Auth Token"}),(0,s.jsx)("span",{className:`${e?.tokenConfigured?"text-green-400":"text-red-400"} ${j}`,children:e?.tokenConfigured?`Configured (${e.tokenPreview})`:"Not configured"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Server Auth"}),(0,s.jsx)("span",{className:`${l?.auth==="enabled"?"text-green-400":"text-yellow-400"} sm:text-right`,children:l?.auth||"--"})]}),e?.error&&(0,s.jsx)("div",{className:"border-t border-[#2a2a4a] pt-3 text-xs text-gray-600",children:e.error})]})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"Server Info"}),(0,s.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Version"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:l?.version||"--"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Sessions"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:l?.sessions??"--"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsxs)("span",{className:"text-gray-500",children:["SSE streams ",(0,s.jsx)("span",{className:"text-gray-600",children:"· server"})]}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:l?.sse_connections??"--"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Uptime"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:l?.uptime?`${Math.floor(l.uptime/3600)}h ${Math.floor(l.uptime%3600/60)}m`:"--"})]})]})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"Dashboard"}),(0,s.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Version"}),(0,s.jsx)("span",{className:`text-gray-300 font-mono ${j}`,title:"From package.json @sleep2agi/agent-network-dashboard",children:n.DASHBOARD_VERSION})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Data Layer"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:"SWR (5s refresh, 3s dedup)"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Pages"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:"Overview, Tasks, Nodes, Messages, Networks, Audit, Server Logs, Admin, Settings"})]})]})]})]}),(0,s.jsxs)("div",{id:"account",className:"space-y-4 scroll-mt-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,s.jsx)("div",{className:"text-[11px] uppercase tracking-[0.14em] text-gray-400 font-semibold",children:"Account"}),(0,s.jsx)("div",{className:"flex-1 h-px bg-[#2a2a4a]"})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsxs)("h2",{className:"text-sm font-semibold text-gray-300 mb-4 flex items-center gap-2",children:["License",i?.license&&(0,s.jsxs)("span",{className:`inline-flex items-center gap-1.5 text-[10px] font-medium px-2 py-0.5 rounded-full border ${"pro"===i.license.type?"text-green-300 bg-green-500/10 border-green-500/30":i.license.days_left<=7?"text-red-300 bg-red-500/10 border-red-500/30":"text-amber-300 bg-amber-500/10 border-amber-500/30"}`,children:[(0,s.jsx)("span",{"aria-hidden":!0,className:"w-1.5 h-1.5 rounded-full bg-current"}),i.license.type,i.license.days_left?` \xb7 ${i.license.days_left}d left`:""]})]}),i?.license?(0,s.jsxs)("div",{className:"space-y-3 text-sm",children:[i.license.days_left<=7&&(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-red-400 font-medium",children:"⚠ Expiring soon"}),(0,s.jsxs)("span",{className:"text-red-400",children:[i.license.days_left," days left"]})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Expires"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:i.license.expires_at})]}),i.limits&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Max Agents"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:i.limits.max_agents})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Max Networks"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:i.limits.max_networks})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Tasks/Day"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:i.limits.max_tasks_day})]})]}),(0,s.jsxs)("div",{className:"pt-3 border-t border-[#2a2a4a]",children:[(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("input",{type:"text",value:c,onChange:e=>d(e.target.value),placeholder:"anet-XXXX-XXXX-XXXX-XXXX",className:"flex-1 bg-[#0a0a15] border border-[#2a2a4a] rounded px-3 py-2 text-xs text-white placeholder-gray-600 focus:outline-none"}),(0,s.jsx)("button",{onClick:async()=>{if(!c.trim())return;let e=await fetch("/api/hub/license",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:c})}),s=await e.json();x(s.ok?`Activated: ${s.type}`:`Failed: ${s.error}`),s.ok&&d(""),setTimeout(()=>x(""),5e3)},className:"px-3 py-2 bg-cyan-600 hover:bg-cyan-500 text-white text-xs rounded transition-colors",children:"Activate"})]}),o&&(0,s.jsx)("div",{className:`mt-2 text-xs ${o.startsWith("Failed")?"text-red-400":"text-green-400"}`,children:o})]})]}):(0,s.jsx)("div",{className:"text-xs text-gray-600",children:"License info not available"})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"Change Password"}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)("input",{type:"password",value:m,onChange:e=>h(e.target.value),placeholder:"Current password",className:"w-full bg-[#0a0a15] border border-[#2a2a4a] rounded-lg px-3 py-2 text-sm text-white placeholder-gray-600 focus:border-cyan-500/50 focus:outline-none"}),(0,s.jsx)("input",{type:"password",value:g,onChange:e=>u(e.target.value),placeholder:"New password",className:"w-full bg-[#0a0a15] border border-[#2a2a4a] rounded-lg px-3 py-2 text-sm text-white placeholder-gray-600 focus:border-cyan-500/50 focus:outline-none"}),(0,s.jsx)("button",{onClick:async()=>{if(!m||!g)return;let e=sessionStorage.getItem("anet_v3_auth");if(!e)return void N("Not logged in with V3 auth");let{token:s}=JSON.parse(e),a=await fetch("/api/hub/auth",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"change_password",token:s,current_password:m,new_password:g})}),t=await a.json();if(N(t.ok?"Password changed":`Failed: ${t.error}`),t.ok){if(t.token){let s=JSON.parse(e);sessionStorage.setItem("anet_v3_auth",JSON.stringify({...s,token:t.token}))}h(""),u("")}setTimeout(()=>N(""),5e3)},disabled:!m||!g,className:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 disabled:bg-gray-800 disabled:text-gray-600 text-white text-sm rounded-lg transition-colors",children:"Change Password"})]}),p&&(0,s.jsx)("div",{className:`mt-2 text-xs ${p.startsWith("Failed")?"text-red-400":"text-green-400"}`,children:p})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"Sign out"}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mb-3",children:"Signing out clears your dashboard session cookie. You'll return to the login page."}),(0,s.jsx)("button",{onClick:async()=>{await fetch("/api/auth/logout",{method:"POST"}).catch(()=>{}),window.location.assign("/login")},className:"px-4 py-2 bg-transparent hover:bg-[#1a1a2a] text-gray-300 text-sm rounded-lg border border-[#2a2a4a] hover:border-[#3a3a5a] transition-colors",children:"Sign out"})]})]}),(0,s.jsxs)("div",{id:"resources",className:"space-y-4 scroll-mt-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,s.jsx)("div",{className:"text-[11px] uppercase tracking-[0.14em] text-gray-400 font-semibold",children:"Resources"}),(0,s.jsx)("div",{className:"flex-1 h-px bg-[#2a2a4a]"})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,s.jsxs)(t.default,{href:"/settings/tokens",className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5 hover:border-cyan-500/30 transition-colors",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300",children:"API Tokens"}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:"Create and manage tokens for CLI access."}),(0,s.jsx)("span",{className:"text-xs text-cyan-400 mt-3 inline-block",children:"Manage →"})]}),(0,s.jsxs)(t.default,{href:"/settings/networks",className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5 hover:border-cyan-500/30 transition-colors",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300",children:"Networks"}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:"Create, manage, and delete agent networks."}),(0,s.jsx)("span",{className:"text-xs text-cyan-400 mt-3 inline-block",children:"Manage →"})]})]})]})]})]})}])}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,59276,e=>{"use strict";var s=e.i(12629),a=e.i(11449);let t=async e=>{let s=await fetch(e);if(401===s.status)throw window.location.assign("/login"),Error("unauthorized");return s.json()},r={refreshInterval:5e3,dedupingInterval:3e3};function n(e,s){if(!s)return e;let a=e.includes("?")?"&":"?";return`${e}${a}network_id=${encodeURIComponent(s)}`}e.s(["useAnetConfig",0,function(){let{data:e}=(0,s.default)("/api/anet/config",t,{refreshInterval:3e4});return{config:e||null}},"useHealth",0,function(){let{data:e,error:a}=(0,s.default)("/api/hub/health",t,r);return{health:e||null,error:a}},"useLicense",0,function(){let{data:e,error:a}=(0,s.default)("/api/hub/license",t,{refreshInterval:6e4});return{license:e?.ok?e:null,error:a}},"useMessages",0,function(e=100){let{networkId:l}=(0,a.useNetworkId)(),{data:i,error:c,isLoading:d}=(0,s.default)(n(`/api/hub/messages?limit=${e}`,l),t,r);return{messages:i?.messages||[],error:c,isLoading:d}},"useSessions",0,function(){let{networkId:e}=(0,a.useNetworkId)(),{data:l,error:i,isLoading:c}=(0,s.default)(n("/api/hub/status",e),t,r);return{sessions:l?.sessions||[],hint:l?._hint,error:i,isLoading:c}},"useStats",0,function(){let{networkId:e}=(0,a.useNetworkId)(),{data:l,error:i}=(0,s.default)(n("/api/hub/stats",e),t,r);return{stats:l?.ok?l:null,error:i}},"useTasks",0,function(e){let{networkId:l}=(0,a.useNetworkId)(),i=new URLSearchParams({limit:"100",...e}).toString(),{data:c,error:d,isLoading:o}=(0,s.default)(n(`/api/hub/tasks?${i}`,l),t,r);return{tasks:c?.tasks||[],count:c?.count??0,source:c?.source,error:d,isLoading:o}}])},70286,e=>{"use strict";e.s(["DASHBOARD_VERSION",0,"0.5.3-preview.169"],70286)},65610,e=>{"use strict";var s=e.i(22381),a=e.i(23910),t=e.i(56839),r=e.i(59276),n=e.i(70286);e.s(["default",0,function(){let{config:e}=(0,r.useAnetConfig)(),{health:l}=(0,r.useHealth)(),{license:i}=(0,r.useLicense)(),[c,d]=(0,a.useState)(""),[o,x]=(0,a.useState)(""),[m,h]=(0,a.useState)(""),[g,u]=(0,a.useState)(""),[p,N]=(0,a.useState)(""),b="flex flex-col gap-1 sm:flex-row sm:items-start sm:justify-between",j="break-all sm:max-w-[320px] sm:text-right";return(0,s.jsxs)("div",{className:"min-h-screen bg-[#0a0a1a] text-gray-100 p-4 sm:p-6 font-mono",children:[(0,s.jsx)("h1",{className:"text-2xl font-bold text-white mb-3 lg:ml-0 ml-10",children:"Settings"}),(0,s.jsx)("nav",{className:"mb-8 flex flex-wrap gap-1 text-xs",children:[{href:"#connection",label:"Connection"},{href:"#account",label:"Account"},{href:"#resources",label:"Resources"}].map(e=>(0,s.jsx)("a",{href:e.href,className:"rounded-md px-2.5 py-1 text-gray-500 hover:text-cyan-300 hover:bg-cyan-500/10 transition-colors",children:e.label},e.href))}),(0,s.jsxs)("div",{className:"max-w-2xl space-y-10",children:[(0,s.jsxs)("div",{id:"connection",className:"space-y-4 scroll-mt-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,s.jsx)("div",{className:"text-[11px] uppercase tracking-[0.14em] text-gray-400 font-semibold",children:"Connection"}),(0,s.jsx)("div",{className:"flex-1 h-px bg-[#2a2a4a]"})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"CommHub Connection"}),(0,s.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500 shrink-0",children:"Hub URL"}),(0,s.jsx)("span",{className:`text-cyan-300 ${j}`,children:e?.hub||"not configured"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Config Source"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:e?.source==="file"?"Local file (~/.anet/config.json)":e?.source==="runtime-env"?"Vercel env vars":"Missing"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Auth Token"}),(0,s.jsx)("span",{className:`${e?.tokenConfigured?"text-green-400":"text-red-400"} ${j}`,children:e?.tokenConfigured?`Configured (${e.tokenPreview})`:"Not configured"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Server Auth"}),(0,s.jsx)("span",{className:`${l?.auth==="enabled"?"text-green-400":"text-yellow-400"} sm:text-right`,children:l?.auth||"--"})]}),e?.error&&(0,s.jsx)("div",{className:"border-t border-[#2a2a4a] pt-3 text-xs text-gray-600",children:e.error})]})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"Server Info"}),(0,s.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Version"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:l?.version||"--"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Sessions"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:l?.sessions??"--"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsxs)("span",{className:"text-gray-500",children:["SSE streams ",(0,s.jsx)("span",{className:"text-gray-600",children:"· server"})]}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:l?.sse_connections??"--"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Uptime"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:l?.uptime?`${Math.floor(l.uptime/3600)}h ${Math.floor(l.uptime%3600/60)}m`:"--"})]})]})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"Dashboard"}),(0,s.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Version"}),(0,s.jsx)("span",{className:`text-gray-300 font-mono ${j}`,title:"From package.json @sleep2agi/agent-network-dashboard",children:n.DASHBOARD_VERSION})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Data Layer"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:"SWR (5s refresh, 3s dedup)"})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Pages"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:"Overview, Tasks, Nodes, Messages, Networks, Audit, Server Logs, Admin, Settings"})]})]})]})]}),(0,s.jsxs)("div",{id:"account",className:"space-y-4 scroll-mt-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,s.jsx)("div",{className:"text-[11px] uppercase tracking-[0.14em] text-gray-400 font-semibold",children:"Account"}),(0,s.jsx)("div",{className:"flex-1 h-px bg-[#2a2a4a]"})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsxs)("h2",{className:"text-sm font-semibold text-gray-300 mb-4 flex items-center gap-2",children:["License",i?.license&&(0,s.jsxs)("span",{className:`inline-flex items-center gap-1.5 text-[10px] font-medium px-2 py-0.5 rounded-full border ${"pro"===i.license.type?"text-green-300 bg-green-500/10 border-green-500/30":i.license.days_left<=7?"text-red-300 bg-red-500/10 border-red-500/30":"text-amber-300 bg-amber-500/10 border-amber-500/30"}`,children:[(0,s.jsx)("span",{"aria-hidden":!0,className:"w-1.5 h-1.5 rounded-full bg-current"}),i.license.type,i.license.days_left?` \xb7 ${i.license.days_left}d left`:""]})]}),i?.license?(0,s.jsxs)("div",{className:"space-y-3 text-sm",children:[i.license.days_left<=7&&(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-red-400 font-medium",children:"⚠ Expiring soon"}),(0,s.jsxs)("span",{className:"text-red-400",children:[i.license.days_left," days left"]})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Expires"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:i.license.expires_at})]}),i.limits&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Max Agents"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:i.limits.max_agents})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Max Networks"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:i.limits.max_networks})]}),(0,s.jsxs)("div",{className:b,children:[(0,s.jsx)("span",{className:"text-gray-500",children:"Tasks/Day"}),(0,s.jsx)("span",{className:`text-gray-300 ${j}`,children:i.limits.max_tasks_day})]})]}),(0,s.jsxs)("div",{className:"pt-3 border-t border-[#2a2a4a]",children:[(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("input",{type:"text",value:c,onChange:e=>d(e.target.value),placeholder:"anet-XXXX-XXXX-XXXX-XXXX",className:"flex-1 bg-[#0a0a15] border border-[#2a2a4a] rounded px-3 py-2 text-xs text-white placeholder-gray-600 focus:outline-none"}),(0,s.jsx)("button",{onClick:async()=>{if(!c.trim())return;let e=await fetch("/api/hub/license",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:c})}),s=await e.json();x(s.ok?`Activated: ${s.type}`:`Failed: ${s.error}`),s.ok&&d(""),setTimeout(()=>x(""),5e3)},className:"px-3 py-2 bg-cyan-600 hover:bg-cyan-500 text-white text-xs rounded transition-colors",children:"Activate"})]}),o&&(0,s.jsx)("div",{className:`mt-2 text-xs ${o.startsWith("Failed")?"text-red-400":"text-green-400"}`,children:o})]})]}):(0,s.jsx)("div",{className:"text-xs text-gray-600",children:"License info not available"})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"Change Password"}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)("input",{type:"password",value:m,onChange:e=>h(e.target.value),placeholder:"Current password",className:"w-full bg-[#0a0a15] border border-[#2a2a4a] rounded-lg px-3 py-2 text-sm text-white placeholder-gray-600 focus:border-cyan-500/50 focus:outline-none"}),(0,s.jsx)("input",{type:"password",value:g,onChange:e=>u(e.target.value),placeholder:"New password",className:"w-full bg-[#0a0a15] border border-[#2a2a4a] rounded-lg px-3 py-2 text-sm text-white placeholder-gray-600 focus:border-cyan-500/50 focus:outline-none"}),(0,s.jsx)("button",{onClick:async()=>{if(!m||!g)return;let e=sessionStorage.getItem("anet_v3_auth");if(!e)return void N("Not logged in with V3 auth");let{token:s}=JSON.parse(e),a=await fetch("/api/hub/auth",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"change_password",token:s,current_password:m,new_password:g})}),t=await a.json();if(N(t.ok?"Password changed":`Failed: ${t.error}`),t.ok){if(t.token){let s=JSON.parse(e);sessionStorage.setItem("anet_v3_auth",JSON.stringify({...s,token:t.token}))}h(""),u("")}setTimeout(()=>N(""),5e3)},disabled:!m||!g,className:"px-4 py-2 bg-cyan-600 hover:bg-cyan-500 disabled:bg-gray-800 disabled:text-gray-600 text-white text-sm rounded-lg transition-colors",children:"Change Password"})]}),p&&(0,s.jsx)("div",{className:`mt-2 text-xs ${p.startsWith("Failed")?"text-red-400":"text-green-400"}`,children:p})]}),(0,s.jsxs)("section",{className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300 mb-4",children:"Sign out"}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mb-3",children:"Signing out clears your dashboard session cookie. You'll return to the login page."}),(0,s.jsx)("button",{onClick:async()=>{await fetch("/api/auth/logout",{method:"POST"}).catch(()=>{}),window.location.assign("/login")},className:"px-4 py-2 bg-transparent hover:bg-[#1a1a2a] text-gray-300 text-sm rounded-lg border border-[#2a2a4a] hover:border-[#3a3a5a] transition-colors",children:"Sign out"})]})]}),(0,s.jsxs)("div",{id:"resources",className:"space-y-4 scroll-mt-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,s.jsx)("div",{className:"text-[11px] uppercase tracking-[0.14em] text-gray-400 font-semibold",children:"Resources"}),(0,s.jsx)("div",{className:"flex-1 h-px bg-[#2a2a4a]"})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,s.jsxs)(t.default,{href:"/settings/tokens",className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5 hover:border-cyan-500/30 transition-colors",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300",children:"API Tokens"}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:"Create and manage tokens for CLI access."}),(0,s.jsx)("span",{className:"text-xs text-cyan-400 mt-3 inline-block",children:"Manage →"})]}),(0,s.jsxs)(t.default,{href:"/settings/networks",className:"bg-[#111128] border border-[#2a2a4a] rounded-xl p-5 hover:border-cyan-500/30 transition-colors",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-gray-300",children:"Networks"}),(0,s.jsx)("p",{className:"text-xs text-gray-500 mt-2",children:"Create, manage, and delete agent networks."}),(0,s.jsx)("span",{className:"text-xs text-cyan-400 mt-3 inline-block",children:"Manage →"})]})]})]})]})]})}])}]);
|
package/.next/trace
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":381,"timestamp":252015877307,"id":4,"parentId":1,"tags":{},"startTime":1779059988124,"traceId":"101f0b47c5ed7f57"},{"name":"load-custom-routes","duration":675,"timestamp":252015877932,"id":5,"parentId":1,"tags":{},"startTime":1779059988124,"traceId":"101f0b47c5ed7f57"},{"name":"create-dist-dir","duration":969,"timestamp":252015878672,"id":6,"parentId":1,"tags":{},"startTime":1779059988125,"traceId":"101f0b47c5ed7f57"},{"name":"clean","duration":33587,"timestamp":252015880485,"id":7,"parentId":1,"tags":{},"startTime":1779059988127,"traceId":"101f0b47c5ed7f57"},{"name":"discover-routes","duration":11890,"timestamp":252016005529,"id":8,"parentId":1,"tags":{},"startTime":1779059988252,"traceId":"101f0b47c5ed7f57"},{"name":"create-root-mapping","duration":152,"timestamp":252016017500,"id":9,"parentId":1,"tags":{},"startTime":1779059988264,"traceId":"101f0b47c5ed7f57"},{"name":"generate-route-types","duration":22675,"timestamp":252016020505,"id":10,"parentId":1,"tags":{},"startTime":1779059988267,"traceId":"101f0b47c5ed7f57"},{"name":"public-dir-conflict-check","duration":108,"timestamp":252016043273,"id":11,"parentId":1,"tags":{},"startTime":1779059988290,"traceId":"101f0b47c5ed7f57"},{"name":"generate-routes-manifest","duration":6140,"timestamp":252016043509,"id":12,"parentId":1,"tags":{},"startTime":1779059988290,"traceId":"101f0b47c5ed7f57"},{"name":"run-turbopack","duration":6695304,"timestamp":252016072120,"id":14,"parentId":1,"tags":{},"startTime":1779059988318,"traceId":"101f0b47c5ed7f57"},{"name":"turbopack-build-events","duration":99,"timestamp":252016398322,"id":15,"parentId":1,"tags":{},"startTime":1779059988645,"traceId":"101f0b47c5ed7f57"},{"name":"run-typescript","duration":10045046,"timestamp":252022776021,"id":16,"parentId":1,"tags":{},"startTime":1779059995022,"traceId":"101f0b47c5ed7f57"},{"name":"generate-required-server-files","duration":2834,"timestamp":252032822286,"id":18,"parentId":1,"tags":{},"startTime":1779060005069,"traceId":"101f0b47c5ed7f57"},{"name":"check-static-error-page","duration":15776,"timestamp":252033015371,"id":20,"parentId":19,"tags":{},"startTime":1779060005262,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":479744,"timestamp":252033035529,"id":65,"parentId":22,"tags":{},"startTime":1779060005282,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":497151,"timestamp":252033018303,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1779060005265,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":568467,"timestamp":252033035826,"id":69,"parentId":28,"tags":{},"startTime":1779060005282,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":582578,"timestamp":252033021816,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1779060005268,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":608370,"timestamp":252033036212,"id":72,"parentId":32,"tags":{},"startTime":1779060005282,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":622104,"timestamp":252033022569,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1779060005269,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":624660,"timestamp":252033035245,"id":64,"parentId":21,"tags":{},"startTime":1779060005282,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":642875,"timestamp":252033017112,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1779060005263,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":632191,"timestamp":252033036363,"id":73,"parentId":33,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":645946,"timestamp":252033022682,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1779060005269,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":637971,"timestamp":252033036475,"id":75,"parentId":35,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":651603,"timestamp":252033022910,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1779060005269,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":639099,"timestamp":252033035762,"id":68,"parentId":27,"tags":{},"startTime":1779060005282,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":653236,"timestamp":252033021692,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1779060005268,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":641203,"timestamp":252033036156,"id":71,"parentId":30,"tags":{},"startTime":1779060005282,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":655247,"timestamp":252033022155,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1779060005268,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":643101,"timestamp":252033036496,"id":76,"parentId":36,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":656222,"timestamp":252033023422,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1779060005270,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":647836,"timestamp":252033036543,"id":78,"parentId":38,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":660699,"timestamp":252033023712,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1779060005270,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":647970,"timestamp":252033036552,"id":79,"parentId":39,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":660747,"timestamp":252033023802,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1779060005270,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":648270,"timestamp":252033036525,"id":77,"parentId":37,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":661238,"timestamp":252033023592,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1779060005270,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":656516,"timestamp":252033036564,"id":80,"parentId":40,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":669224,"timestamp":252033023900,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1779060005270,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":656719,"timestamp":252033036588,"id":82,"parentId":44,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":668744,"timestamp":252033024596,"id":44,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1779060005271,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":657269,"timestamp":252033036598,"id":83,"parentId":45,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":669183,"timestamp":252033024737,"id":45,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1779060005271,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":658258,"timestamp":252033036577,"id":81,"parentId":42,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":670672,"timestamp":252033024228,"id":42,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/health"},"startTime":1779060005271,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":661766,"timestamp":252033036624,"id":85,"parentId":47,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":671717,"timestamp":252033026721,"id":47,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1779060005273,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":663603,"timestamp":252033036633,"id":86,"parentId":48,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":673426,"timestamp":252033026854,"id":48,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1779060005273,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":663803,"timestamp":252033036611,"id":84,"parentId":46,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":675621,"timestamp":252033024828,"id":46,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1779060005271,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":666227,"timestamp":252033036646,"id":87,"parentId":49,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":675953,"timestamp":252033026980,"id":49,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1779060005273,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":665171,"timestamp":252033040042,"id":88,"parentId":50,"tags":{},"startTime":1779060005286,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":678137,"timestamp":252033027117,"id":50,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1779060005273,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":669448,"timestamp":252033035994,"id":70,"parentId":29,"tags":{},"startTime":1779060005282,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":683516,"timestamp":252033021962,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1779060005268,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":665769,"timestamp":252033040072,"id":89,"parentId":51,"tags":{},"startTime":1779060005286,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":678697,"timestamp":252033027203,"id":51,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1779060005273,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":664880,"timestamp":252033043467,"id":90,"parentId":24,"tags":{},"startTime":1779060005290,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":689546,"timestamp":252033018843,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1779060005265,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":666118,"timestamp":252033044529,"id":91,"parentId":31,"tags":{},"startTime":1779060005291,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":688374,"timestamp":252033022311,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1779060005269,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":668557,"timestamp":252033046502,"id":93,"parentId":43,"tags":{},"startTime":1779060005293,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":690752,"timestamp":252033024354,"id":43,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1779060005271,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":704137,"timestamp":252033045296,"id":92,"parentId":41,"tags":{},"startTime":1779060005292,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":725531,"timestamp":252033023986,"id":41,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/agents"},"startTime":1779060005270,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":718377,"timestamp":252033035620,"id":66,"parentId":25,"tags":{},"startTime":1779060005282,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":732742,"timestamp":252033021345,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1779060005268,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":728284,"timestamp":252033036445,"id":74,"parentId":34,"tags":{},"startTime":1779060005283,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":742005,"timestamp":252033022785,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1779060005269,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":719982,"timestamp":252033048449,"id":94,"parentId":23,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":749893,"timestamp":252033018589,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1779060005265,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":722836,"timestamp":252033048479,"id":95,"parentId":52,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":743800,"timestamp":252033027557,"id":52,"parentId":19,"tags":{"page":"/login"},"startTime":1779060005274,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":724664,"timestamp":252033048528,"id":99,"parentId":56,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":744928,"timestamp":252033028303,"id":56,"parentId":19,"tags":{"page":"/nodes"},"startTime":1779060005275,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":729547,"timestamp":252033048540,"id":100,"parentId":58,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":749088,"timestamp":252033029151,"id":58,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1779060005275,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":739118,"timestamp":252033048492,"id":96,"parentId":53,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":759950,"timestamp":252033027705,"id":53,"parentId":19,"tags":{"page":"/logs"},"startTime":1779060005274,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":752115,"timestamp":252033035693,"id":67,"parentId":26,"tags":{},"startTime":1779060005282,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":766287,"timestamp":252033021563,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1779060005268,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":739344,"timestamp":252033048650,"id":102,"parentId":61,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":757513,"timestamp":252033030531,"id":61,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1779060005277,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":740333,"timestamp":252033048637,"id":101,"parentId":59,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":759573,"timestamp":252033029451,"id":59,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1779060005276,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":743273,"timestamp":252033048662,"id":103,"parentId":62,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":761287,"timestamp":252033030687,"id":62,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1779060005277,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":723775,"timestamp":252033071803,"id":106,"parentId":57,"tags":{},"startTime":1779060005318,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":767079,"timestamp":252033028531,"id":57,"parentId":19,"tags":{"page":"/"},"startTime":1779060005275,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":747750,"timestamp":252033048674,"id":104,"parentId":63,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":765643,"timestamp":252033030832,"id":63,"parentId":19,"tags":{"page":"/tasks"},"startTime":1779060005277,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":769612,"timestamp":252033048506,"id":97,"parentId":54,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":790293,"timestamp":252033027879,"id":54,"parentId":19,"tags":{"page":"/messages"},"startTime":1779060005274,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":790070,"timestamp":252033048516,"id":98,"parentId":55,"tags":{},"startTime":1779060005295,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":810544,"timestamp":252033028101,"id":55,"parentId":19,"tags":{"page":"/node"},"startTime":1779060005274,"traceId":"101f0b47c5ed7f57"},{"name":"is-page-static","duration":789996,"timestamp":252033058281,"id":105,"parentId":60,"tags":{},"startTime":1779060005305,"traceId":"101f0b47c5ed7f57"},{"name":"check-page","duration":818255,"timestamp":252033030077,"id":60,"parentId":19,"tags":{"page":"/settings"},"startTime":1779060005276,"traceId":"101f0b47c5ed7f57"},{"name":"static-check","duration":833853,"timestamp":252033014538,"id":19,"parentId":1,"tags":{},"startTime":1779060005261,"traceId":"101f0b47c5ed7f57"}]
|
|
2
|
-
[{"name":"write-routes-manifest","duration":
|
|
1
|
+
[{"name":"generate-buildid","duration":253,"timestamp":252592069570,"id":4,"parentId":1,"tags":{},"startTime":1779060564316,"traceId":"59b4df42e20a4bb1"},{"name":"load-custom-routes","duration":500,"timestamp":252592069991,"id":5,"parentId":1,"tags":{},"startTime":1779060564316,"traceId":"59b4df42e20a4bb1"},{"name":"create-dist-dir","duration":691,"timestamp":252592070535,"id":6,"parentId":1,"tags":{},"startTime":1779060564317,"traceId":"59b4df42e20a4bb1"},{"name":"clean","duration":38466,"timestamp":252592071922,"id":7,"parentId":1,"tags":{},"startTime":1779060564318,"traceId":"59b4df42e20a4bb1"},{"name":"discover-routes","duration":36111,"timestamp":252592196696,"id":8,"parentId":1,"tags":{},"startTime":1779060564443,"traceId":"59b4df42e20a4bb1"},{"name":"create-root-mapping","duration":167,"timestamp":252592232876,"id":9,"parentId":1,"tags":{},"startTime":1779060564479,"traceId":"59b4df42e20a4bb1"},{"name":"generate-route-types","duration":19867,"timestamp":252592235539,"id":10,"parentId":1,"tags":{},"startTime":1779060564482,"traceId":"59b4df42e20a4bb1"},{"name":"public-dir-conflict-check","duration":92,"timestamp":252592255491,"id":11,"parentId":1,"tags":{},"startTime":1779060564502,"traceId":"59b4df42e20a4bb1"},{"name":"generate-routes-manifest","duration":5368,"timestamp":252592255688,"id":12,"parentId":1,"tags":{},"startTime":1779060564502,"traceId":"59b4df42e20a4bb1"},{"name":"run-turbopack","duration":6063638,"timestamp":252592266173,"id":14,"parentId":1,"tags":{},"startTime":1779060564512,"traceId":"59b4df42e20a4bb1"},{"name":"turbopack-build-events","duration":110,"timestamp":252592575150,"id":15,"parentId":1,"tags":{},"startTime":1779060564821,"traceId":"59b4df42e20a4bb1"},{"name":"run-typescript","duration":10041853,"timestamp":252598347305,"id":16,"parentId":1,"tags":{},"startTime":1779060570594,"traceId":"59b4df42e20a4bb1"},{"name":"generate-required-server-files","duration":2552,"timestamp":252608390332,"id":18,"parentId":1,"tags":{},"startTime":1779060580637,"traceId":"59b4df42e20a4bb1"},{"name":"check-static-error-page","duration":19413,"timestamp":252608545684,"id":20,"parentId":19,"tags":{},"startTime":1779060580792,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":463275,"timestamp":252608568867,"id":65,"parentId":22,"tags":{},"startTime":1779060580815,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":482847,"timestamp":252608549463,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1779060580796,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":587297,"timestamp":252608568976,"id":66,"parentId":25,"tags":{},"startTime":1779060580815,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":602361,"timestamp":252608554014,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1779060580800,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":593517,"timestamp":252608569825,"id":72,"parentId":32,"tags":{},"startTime":1779060580816,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":608033,"timestamp":252608555389,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1779060580802,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":642394,"timestamp":252608570025,"id":73,"parentId":33,"tags":{},"startTime":1779060580816,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":656944,"timestamp":252608555556,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1779060580802,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":642942,"timestamp":252608569762,"id":71,"parentId":30,"tags":{},"startTime":1779060580816,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":657879,"timestamp":252608554865,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1779060580801,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":649718,"timestamp":252608574112,"id":75,"parentId":35,"tags":{},"startTime":1779060580820,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":668061,"timestamp":252608555869,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1779060580802,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":655538,"timestamp":252608574138,"id":76,"parentId":36,"tags":{},"startTime":1779060580820,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":673284,"timestamp":252608556471,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1779060580803,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":657874,"timestamp":252608574059,"id":74,"parentId":34,"tags":{},"startTime":1779060580820,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":676284,"timestamp":252608555711,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1779060580802,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":659779,"timestamp":252608574171,"id":77,"parentId":37,"tags":{},"startTime":1779060580820,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":677335,"timestamp":252608556687,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1779060580803,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":662705,"timestamp":252608574187,"id":78,"parentId":38,"tags":{},"startTime":1779060580820,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":680110,"timestamp":252608556848,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1779060580803,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":664432,"timestamp":252608574197,"id":79,"parentId":39,"tags":{},"startTime":1779060580820,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":681658,"timestamp":252608557026,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1779060580803,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":667620,"timestamp":252608574212,"id":80,"parentId":40,"tags":{},"startTime":1779060580820,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":684719,"timestamp":252608557162,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1779060580803,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":674603,"timestamp":252608569122,"id":67,"parentId":26,"tags":{},"startTime":1779060580815,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":689554,"timestamp":252608554213,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1779060580800,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":672193,"timestamp":252608574242,"id":82,"parentId":44,"tags":{},"startTime":1779060580821,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":687203,"timestamp":252608559273,"id":44,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1779060580806,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":673955,"timestamp":252608574226,"id":81,"parentId":42,"tags":{},"startTime":1779060580820,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":690651,"timestamp":252608557589,"id":42,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/health"},"startTime":1779060580804,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":675029,"timestamp":252608574253,"id":83,"parentId":45,"tags":{},"startTime":1779060580821,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":689914,"timestamp":252608559415,"id":45,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1779060580806,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":680880,"timestamp":252608569338,"id":69,"parentId":28,"tags":{},"startTime":1779060580816,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":695750,"timestamp":252608554519,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1779060580801,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":679806,"timestamp":252608574269,"id":84,"parentId":46,"tags":{},"startTime":1779060580821,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":694616,"timestamp":252608559507,"id":46,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1779060580806,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":680172,"timestamp":252608574283,"id":85,"parentId":47,"tags":{},"startTime":1779060580821,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":694890,"timestamp":252608559609,"id":47,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1779060580806,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":685532,"timestamp":252608574323,"id":88,"parentId":50,"tags":{},"startTime":1779060580821,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":698135,"timestamp":252608561778,"id":50,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1779060580808,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":701804,"timestamp":252608569234,"id":68,"parentId":27,"tags":{},"startTime":1779060580816,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":716728,"timestamp":252608554359,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1779060580801,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":692338,"timestamp":252608582876,"id":90,"parentId":24,"tags":{},"startTime":1779060580829,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":724454,"timestamp":252608550807,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1779060580797,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":687999,"timestamp":252608595751,"id":91,"parentId":31,"tags":{},"startTime":1779060580842,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":728740,"timestamp":252608555056,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1779060580801,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":709688,"timestamp":252608574336,"id":89,"parentId":51,"tags":{},"startTime":1779060580821,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":722210,"timestamp":252608561856,"id":51,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1779060580808,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":717907,"timestamp":252608574309,"id":87,"parentId":49,"tags":{},"startTime":1779060580821,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":730613,"timestamp":252608561651,"id":49,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1779060580808,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":696388,"timestamp":252608596919,"id":92,"parentId":41,"tags":{},"startTime":1779060580843,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":736064,"timestamp":252608557290,"id":41,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/agents"},"startTime":1779060580804,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":722373,"timestamp":252608574295,"id":86,"parentId":48,"tags":{},"startTime":1779060580821,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":737014,"timestamp":252608559703,"id":48,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1779060580806,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":728296,"timestamp":252608568574,"id":64,"parentId":21,"tags":{},"startTime":1779060580815,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":749377,"timestamp":252608547543,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1779060580794,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":735749,"timestamp":252608569603,"id":70,"parentId":29,"tags":{},"startTime":1779060580816,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":750726,"timestamp":252608554675,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1779060580801,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":706346,"timestamp":252608607015,"id":93,"parentId":43,"tags":{},"startTime":1779060580853,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":755570,"timestamp":252608557841,"id":43,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1779060580804,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":727063,"timestamp":252608615110,"id":98,"parentId":55,"tags":{},"startTime":1779060580861,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":779485,"timestamp":252608562774,"id":55,"parentId":19,"tags":{"page":"/node"},"startTime":1779060580809,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":735797,"timestamp":252608615276,"id":101,"parentId":59,"tags":{},"startTime":1779060580862,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":787179,"timestamp":252608563971,"id":59,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1779060580810,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":742324,"timestamp":252608615299,"id":102,"parentId":61,"tags":{},"startTime":1779060580862,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":793167,"timestamp":252608564534,"id":61,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1779060580811,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":755399,"timestamp":252608615019,"id":94,"parentId":23,"tags":{},"startTime":1779060580861,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":819980,"timestamp":252608550505,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1779060580797,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":766160,"timestamp":252608615316,"id":103,"parentId":62,"tags":{},"startTime":1779060580862,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":816874,"timestamp":252608564681,"id":62,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1779060580811,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":766664,"timestamp":252608615095,"id":97,"parentId":54,"tags":{},"startTime":1779060580861,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":819200,"timestamp":252608562609,"id":54,"parentId":19,"tags":{"page":"/messages"},"startTime":1779060580809,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":768537,"timestamp":252608615075,"id":96,"parentId":53,"tags":{},"startTime":1779060580861,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":821195,"timestamp":252608562474,"id":53,"parentId":19,"tags":{"page":"/logs"},"startTime":1779060580809,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":769717,"timestamp":252608615137,"id":100,"parentId":58,"tags":{},"startTime":1779060580861,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":821148,"timestamp":252608563745,"id":58,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1779060580810,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":770544,"timestamp":252608615333,"id":104,"parentId":63,"tags":{},"startTime":1779060580862,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":821113,"timestamp":252608564827,"id":63,"parentId":19,"tags":{"page":"/tasks"},"startTime":1779060580811,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":773859,"timestamp":252608615057,"id":95,"parentId":52,"tags":{},"startTime":1779060580861,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":826689,"timestamp":252608562277,"id":52,"parentId":19,"tags":{"page":"/login"},"startTime":1779060580809,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":724836,"timestamp":252608665150,"id":106,"parentId":60,"tags":{},"startTime":1779060580911,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":825850,"timestamp":252608564188,"id":60,"parentId":19,"tags":{"page":"/settings"},"startTime":1779060580810,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":752150,"timestamp":252608640499,"id":105,"parentId":57,"tags":{},"startTime":1779060580887,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":829487,"timestamp":252608563192,"id":57,"parentId":19,"tags":{"page":"/"},"startTime":1779060580809,"traceId":"59b4df42e20a4bb1"},{"name":"is-page-static","duration":797194,"timestamp":252608615122,"id":99,"parentId":56,"tags":{},"startTime":1779060580861,"traceId":"59b4df42e20a4bb1"},{"name":"check-page","duration":849395,"timestamp":252608562956,"id":56,"parentId":19,"tags":{"page":"/nodes"},"startTime":1779060580809,"traceId":"59b4df42e20a4bb1"},{"name":"static-check","duration":868147,"timestamp":252608544265,"id":19,"parentId":1,"tags":{},"startTime":1779060580791,"traceId":"59b4df42e20a4bb1"}]
|
|
2
|
+
[{"name":"write-routes-manifest","duration":1310,"timestamp":252609422942,"id":108,"parentId":1,"tags":{},"startTime":1779060581669,"traceId":"59b4df42e20a4bb1"},{"name":"load-dotenv","duration":43,"timestamp":252609436618,"id":111,"parentId":110,"tags":{},"startTime":1779060581683,"traceId":"59b4df42e20a4bb1"},{"name":"run-export-path-map","duration":546,"timestamp":252609438983,"id":112,"parentId":110,"tags":{},"startTime":1779060581685,"traceId":"59b4df42e20a4bb1"},{"name":"next-export","duration":629729,"timestamp":252609435438,"id":110,"parentId":1,"tags":{},"startTime":1779060581682,"traceId":"59b4df42e20a4bb1"},{"name":"move-exported-app-not-found-","duration":654,"timestamp":252610068283,"id":113,"parentId":109,"tags":{},"startTime":1779060582315,"traceId":"59b4df42e20a4bb1"},{"name":"move-exported-app-global-error-","duration":471,"timestamp":252610069083,"id":114,"parentId":109,"tags":{},"startTime":1779060582315,"traceId":"59b4df42e20a4bb1"},{"name":"static-generation","duration":642846,"timestamp":252609428733,"id":109,"parentId":1,"tags":{},"startTime":1779060581675,"traceId":"59b4df42e20a4bb1"},{"name":"write-routes-manifest","duration":477,"timestamp":252610071947,"id":115,"parentId":1,"tags":{},"startTime":1779060582318,"traceId":"59b4df42e20a4bb1"},{"name":"print-tree-view","duration":4727,"timestamp":252610098291,"id":116,"parentId":1,"tags":{},"startTime":1779060582345,"traceId":"59b4df42e20a4bb1"},{"name":"write-route-bundle-stats","duration":15695,"timestamp":252610103061,"id":117,"parentId":1,"tags":{},"startTime":1779060582349,"traceId":"59b4df42e20a4bb1"},{"name":"telemetry-flush","duration":17051,"timestamp":252610118797,"id":118,"parentId":1,"tags":{},"startTime":1779060582365,"traceId":"59b4df42e20a4bb1"},{"name":"next-build","duration":18122304,"timestamp":252592013579,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1779060564260,"traceId":"59b4df42e20a4bb1"}]
|
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-turbopack","duration":
|
|
1
|
+
[{"name":"run-turbopack","duration":6063638,"timestamp":252592266173,"id":14,"parentId":1,"tags":{},"startTime":1779060564512,"traceId":"59b4df42e20a4bb1"},{"name":"turbopack-build-events","duration":110,"timestamp":252592575150,"id":15,"parentId":1,"tags":{},"startTime":1779060564821,"traceId":"59b4df42e20a4bb1"},{"name":"run-typescript","duration":10041853,"timestamp":252598347305,"id":16,"parentId":1,"tags":{},"startTime":1779060570594,"traceId":"59b4df42e20a4bb1"},{"name":"static-check","duration":868147,"timestamp":252608544265,"id":19,"parentId":1,"tags":{},"startTime":1779060580791,"traceId":"59b4df42e20a4bb1"},{"name":"static-generation","duration":642846,"timestamp":252609428733,"id":109,"parentId":1,"tags":{},"startTime":1779060581675,"traceId":"59b4df42e20a4bb1"},{"name":"telemetry-flush","duration":17051,"timestamp":252610118797,"id":118,"parentId":1,"tags":{},"startTime":1779060582365,"traceId":"59b4df42e20a4bb1"},{"name":"next-build","duration":18122304,"timestamp":252592013579,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1779060564260,"traceId":"59b4df42e20a4bb1"}]
|
|
@@ -5339,6 +5339,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5339
5339
|
data-topo-hub-spoke-glow attr exposes the gate
|
|
5340
5340
|
state for tests. */
|
|
5341
5341
|
data-topo-hub-spoke-glow={!reducedMotion && (hoveredHub || isHoveredSpoke) ? 'true' : 'false'}
|
|
5342
|
+
data-topo-hub-spoke-halo-layers={!reducedMotion && (hoveredHub || isHoveredSpoke) ? '2' : '0'}
|
|
5342
5343
|
/* Round 580 (65-round milestone) — hub-spokes complete
|
|
5343
5344
|
the hub-cluster brightness coverage at 5/5 concentric
|
|
5344
5345
|
elements. Stacks brightness(1.15) onto R533's drop-
|
|
@@ -5388,10 +5389,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
5388
5389
|
data-topo-hub-spoke-brightness-self={!reducedMotion && isHoveredSpoke ? 'true' : 'false'}
|
|
5389
5390
|
style={{
|
|
5390
5391
|
transition: 'stroke 250ms ease-out, stroke-width 250ms ease-out, opacity 250ms ease-out, filter 250ms ease-out',
|
|
5392
|
+
/* Round 654 / Loop — hub-spoke drop-shadow gains a
|
|
5393
|
+
SECOND outer layer at 3px blur + 0.2 alpha (half
|
|
5394
|
+
R533 inner 0.4). Closes the hub-cluster glow
|
|
5395
|
+
QUINTET (R476/R532/R533/R535/R536) at 5/5 multi-
|
|
5396
|
+
layer. R650-R653 already covered digit/halo/
|
|
5397
|
+
highlight/hover-ring; R654 finishes hub-spokes —
|
|
5398
|
+
the mesh radial lines connecting hub to nodes.
|
|
5399
|
+
Spokes use 1.5px + 3px stride (smaller than rings)
|
|
5400
|
+
and teal/cyan tint (R533 mesh palette, not the
|
|
5401
|
+
emerald focal-cluster palette). The wide outer
|
|
5402
|
+
3px glow at half alpha keeps the spokes thin
|
|
5403
|
+
(sw 1-2.5) but radiant when active. Same R642-
|
|
5404
|
+
R653 0.5x falloff vocabulary applied to the
|
|
5405
|
+
mesh tier. */
|
|
5391
5406
|
filter: !reducedMotion && (hoveredHub || isHoveredSpoke)
|
|
5392
5407
|
? (isLight
|
|
5393
|
-
? 'drop-shadow(0 0 1.5px rgba(13, 148, 136, 0.4)) brightness(1.15)'
|
|
5394
|
-
: 'drop-shadow(0 0 1.5px rgba(34, 211, 238, 0.4)) brightness(1.15)')
|
|
5408
|
+
? 'drop-shadow(0 0 1.5px rgba(13, 148, 136, 0.4)) drop-shadow(0 0 3px rgba(13, 148, 136, 0.2)) brightness(1.15)'
|
|
5409
|
+
: 'drop-shadow(0 0 1.5px rgba(34, 211, 238, 0.4)) drop-shadow(0 0 3px rgba(34, 211, 238, 0.2)) brightness(1.15)')
|
|
5395
5410
|
: undefined,
|
|
5396
5411
|
...(isActiveSpoke ? {} : {
|
|
5397
5412
|
animationDelay: `${-(idx * 0.25)}s`,
|
|
@@ -15152,6 +15167,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
15152
15167
|
gate cause. */
|
|
15153
15168
|
data-topo-minimap-viewport-glow={hoveredMinimap ? 'hover' : view.zoom > 1.5 ? 'zoom' : 'false'}
|
|
15154
15169
|
data-topo-minimap-viewport-brightness={(hoveredMinimap || view.zoom > 1.5) ? '1.15' : '1'}
|
|
15170
|
+
data-topo-minimap-viewport-halo-layers={(hoveredMinimap || view.zoom > 1.5) ? '2' : '0'}
|
|
15155
15171
|
style={{
|
|
15156
15172
|
/* R627 — minimap viewport rect stacks brightness(1.15)
|
|
15157
15173
|
onto the existing hover drop-shadow + zoom>1.5
|
|
@@ -15170,10 +15186,25 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
15170
15186
|
drop-shadow glow. The cyan viewport indicator
|
|
15171
15187
|
now reads ~15% brighter on hover, distinguishing
|
|
15172
15188
|
it from sibling minimap chrome at quick glance. */
|
|
15189
|
+
/* Round 655 / Loop — minimap viewport rect filter gains
|
|
15190
|
+
a SECOND outer drop-shadow on both hover (alpha
|
|
15191
|
+
0x99 → 0x4c) and zoom>1.5 (alpha 0x80 → 0x40)
|
|
15192
|
+
branches. 14th anchor in multi-layer halo family
|
|
15193
|
+
(1st minimap-tier anchor). 2+4 stride matches
|
|
15194
|
+
R643/R644 small-element scope; same R642-R654
|
|
15195
|
+
0.5x alpha falloff vocabulary applied to the
|
|
15196
|
+
minimap chrome.
|
|
15197
|
+
The viewport rect at 120×82 minimap scale is a
|
|
15198
|
+
small ~24×16 indicator — the wide outer halo
|
|
15199
|
+
gives the cyan zoom indicator an ambient glow
|
|
15200
|
+
so the canvas's current viewport reads as
|
|
15201
|
+
"lit up" within the minimap envelope, matching
|
|
15202
|
+
the visual grammar the rest of the canvas uses
|
|
15203
|
+
for active indicators. */
|
|
15173
15204
|
filter: hoveredMinimap
|
|
15174
|
-
? `drop-shadow(0 0 2px ${pal.legendAccent}99) brightness(1.15)`
|
|
15205
|
+
? `drop-shadow(0 0 2px ${pal.legendAccent}99) drop-shadow(0 0 4px ${pal.legendAccent}4c) brightness(1.15)`
|
|
15175
15206
|
: view.zoom > 1.5
|
|
15176
|
-
? `drop-shadow(0 0 2px ${pal.legendAccent}80) brightness(1.15)`
|
|
15207
|
+
? `drop-shadow(0 0 2px ${pal.legendAccent}80) drop-shadow(0 0 4px ${pal.legendAccent}40) brightness(1.15)`
|
|
15177
15208
|
: undefined,
|
|
15178
15209
|
transition: smoothView
|
|
15179
15210
|
? 'x 280ms ease-out, y 280ms ease-out, width 280ms ease-out, height 280ms ease-out, stroke-width 200ms ease-out, opacity 200ms ease-out, filter 200ms ease-out'
|
package/package.json
CHANGED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* Round 654 — hub-spoke drop-shadow gains a SECOND outer layer at
|
|
2
|
+
* 3px + 0.2 alpha. CLOSES hub-cluster glow QUINTET at 5/5 multi-
|
|
3
|
+
* layer (R533 was the last single-layer hub element after R650-R653).
|
|
4
|
+
*
|
|
5
|
+
* Test phases:
|
|
6
|
+
* 1. mock 2 nodes → hub-spokes render (one per non-hub node)
|
|
7
|
+
* 2. rest: all spokes halo-layers='0', no drop-shadow filter
|
|
8
|
+
* 3. open chat with a·1 → R636 isHoveredSpoke fires → that spoke
|
|
9
|
+
* gets halo-layers='2', computed filter has 2 drop-shadow
|
|
10
|
+
* substrings with teal/cyan tint (rgba(34,211,238,...) on cyber)
|
|
11
|
+
* 4. source: both light + cyber branches stack 2 drop-shadows
|
|
12
|
+
*/
|
|
13
|
+
import { chromium } from 'playwright';
|
|
14
|
+
import { readFileSync } from 'node:fs';
|
|
15
|
+
|
|
16
|
+
const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
|
|
17
|
+
const fresh = new Date(Date.now() - 60 * 1000).toISOString();
|
|
18
|
+
|
|
19
|
+
const browser = await chromium.launch({ headless: true });
|
|
20
|
+
const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
|
|
21
|
+
await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
|
|
22
|
+
await ctx.addInitScript(() => {
|
|
23
|
+
try {
|
|
24
|
+
localStorage.setItem('anet-theme', 'cyber');
|
|
25
|
+
localStorage.setItem('anet-topo-layout', 'ring');
|
|
26
|
+
sessionStorage.setItem('anet_v3_auth', '1');
|
|
27
|
+
} catch {}
|
|
28
|
+
});
|
|
29
|
+
await ctx.route('**/api/hub/status*', async (route) => {
|
|
30
|
+
const r = await route.fetch();
|
|
31
|
+
const b = await r.json();
|
|
32
|
+
const nid = (b.sessions || [])[0]?.network_id || 'default';
|
|
33
|
+
const mk = (alias) => ({
|
|
34
|
+
alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
|
|
35
|
+
network_id: nid, project_dir: null,
|
|
36
|
+
created_at: fresh, updated_at: fresh, last_seen_at: fresh,
|
|
37
|
+
});
|
|
38
|
+
await route.fulfill({ response: r, json: { ...b, sessions: [mk('a·1'), mk('a·2')] } });
|
|
39
|
+
});
|
|
40
|
+
await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [] } }));
|
|
41
|
+
await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
|
|
42
|
+
const page = await ctx.newPage();
|
|
43
|
+
await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
|
|
44
|
+
await page.waitForSelector('[data-topo-hub-spoke-halo-layers]', { timeout: 15000, state: 'attached' });
|
|
45
|
+
await page.waitForTimeout(500);
|
|
46
|
+
|
|
47
|
+
const restSpokes = await page.evaluate(() => {
|
|
48
|
+
return Array.from(document.querySelectorAll('[data-topo-hub-spoke-halo-layers]')).map(el => ({
|
|
49
|
+
layers: el.getAttribute('data-topo-hub-spoke-halo-layers'),
|
|
50
|
+
glow: el.getAttribute('data-topo-hub-spoke-glow'),
|
|
51
|
+
}));
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
// Open chat to fire isHoveredSpoke on a·1's spoke
|
|
55
|
+
await page.click('[data-node="a·1"]', { force: true });
|
|
56
|
+
await page.waitForTimeout(400);
|
|
57
|
+
|
|
58
|
+
const activeState = await page.evaluate(() => {
|
|
59
|
+
return Array.from(document.querySelectorAll('[data-topo-hub-spoke-halo-layers]')).map(el => {
|
|
60
|
+
const cs = getComputedStyle(el);
|
|
61
|
+
return {
|
|
62
|
+
layers: el.getAttribute('data-topo-hub-spoke-halo-layers'),
|
|
63
|
+
glow: el.getAttribute('data-topo-hub-spoke-glow'),
|
|
64
|
+
self: el.getAttribute('data-topo-hub-spoke-brightness-self'),
|
|
65
|
+
filter: cs.filter,
|
|
66
|
+
};
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
await browser.close();
|
|
71
|
+
|
|
72
|
+
const src = readFileSync('/home/vansin/agent-network-dashboard/app/components/TopoGraph.tsx', 'utf8');
|
|
73
|
+
const sourceLight = /'drop-shadow\(0 0 1\.5px rgba\(13, 148, 136, 0\.4\)\) drop-shadow\(0 0 3px rgba\(13, 148, 136, 0\.2\)\) brightness\(1\.15\)'/.test(src);
|
|
74
|
+
const sourceCyber = /'drop-shadow\(0 0 1\.5px rgba\(34, 211, 238, 0\.4\)\) drop-shadow\(0 0 3px rgba\(34, 211, 238, 0\.2\)\) brightness\(1\.15\)'/.test(src);
|
|
75
|
+
const sourceLayersAttr = /data-topo-hub-spoke-halo-layers=\{!reducedMotion && \(hoveredHub \|\| isHoveredSpoke\) \? '2' : '0'\}/.test(src);
|
|
76
|
+
|
|
77
|
+
const restAllZero = restSpokes.every(s => s.layers === '0' && s.glow === 'false');
|
|
78
|
+
const activeSpokes = activeState.filter(s => s.self === 'true');
|
|
79
|
+
const activeAllTwoLayers = activeSpokes.length >= 1
|
|
80
|
+
&& activeSpokes.every(s => s.layers === '2'
|
|
81
|
+
&& (s.filter?.match(/drop-shadow/g) || []).length === 2);
|
|
82
|
+
|
|
83
|
+
const results = {
|
|
84
|
+
spokes_present: restSpokes.length >= 2,
|
|
85
|
+
rest_all_zero: restAllZero,
|
|
86
|
+
active_exactly_one: activeSpokes.length === 1,
|
|
87
|
+
active_all_two_layers:activeAllTwoLayers,
|
|
88
|
+
source_light: sourceLight,
|
|
89
|
+
source_cyber: sourceCyber,
|
|
90
|
+
source_layers_attr: sourceLayersAttr,
|
|
91
|
+
};
|
|
92
|
+
const ok = Object.values(results).every(Boolean);
|
|
93
|
+
console.log(`${ok ? '✅' : '❌'} R654 hub-spoke multi-layer halo (CLOSES hub-cluster glow QUINTET at 5/5):`,
|
|
94
|
+
JSON.stringify(results, null, 2),
|
|
95
|
+
`\n rest: ${JSON.stringify(restSpokes)}`,
|
|
96
|
+
`\n active: ${JSON.stringify(activeState)}`);
|
|
97
|
+
process.exit(ok ? 0 : 1);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Round 655 — minimap viewport rect filter gains a SECOND outer
|
|
2
|
+
* drop-shadow on both hover + zoom>1.5 branches. 14th anchor in
|
|
3
|
+
* multi-layer halo family (1st minimap-tier anchor).
|
|
4
|
+
*
|
|
5
|
+
* Test phases:
|
|
6
|
+
* 1. minimap only renders when zoom != 1 OR pan != 0; this test
|
|
7
|
+
* only verifies source patterns (runtime check best-effort)
|
|
8
|
+
*/
|
|
9
|
+
import { readFileSync } from 'node:fs';
|
|
10
|
+
|
|
11
|
+
const src = readFileSync('/home/vansin/agent-network-dashboard/app/components/TopoGraph.tsx', 'utf8');
|
|
12
|
+
const sourceHoverBranch = /`drop-shadow\(0 0 2px \$\{pal\.legendAccent\}99\) drop-shadow\(0 0 4px \$\{pal\.legendAccent\}4c\) brightness\(1\.15\)`/.test(src);
|
|
13
|
+
const sourceZoomBranch = /`drop-shadow\(0 0 2px \$\{pal\.legendAccent\}80\) drop-shadow\(0 0 4px \$\{pal\.legendAccent\}40\) brightness\(1\.15\)`/.test(src);
|
|
14
|
+
const sourceLayersAttr = /data-topo-minimap-viewport-halo-layers=\{\(hoveredMinimap \|\| view\.zoom > 1\.5\) \? '2' : '0'\}/.test(src);
|
|
15
|
+
|
|
16
|
+
const results = {
|
|
17
|
+
source_hover_branch: sourceHoverBranch,
|
|
18
|
+
source_zoom_branch: sourceZoomBranch,
|
|
19
|
+
source_layers_attr: sourceLayersAttr,
|
|
20
|
+
};
|
|
21
|
+
const ok = Object.values(results).every(Boolean);
|
|
22
|
+
console.log(`${ok ? '✅' : '❌'} R655 minimap viewport multi-layer halo (1st minimap-tier anchor):`,
|
|
23
|
+
JSON.stringify(results, null, 2));
|
|
24
|
+
process.exit(ok ? 0 : 1);
|
|
File without changes
|
/package/.next/static/{4EcyizZSIGa5gd4q7qy9Q → N_DVmK7lQ4G5G4kmfXX5G}/_clientMiddlewareManifest.js
RENAMED
|
File without changes
|
|
File without changes
|