@sleep2agi/agent-network-dashboard 0.5.3-preview.125 → 0.5.3-preview.127
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 +1 -1
- 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/{0~2u9-gehn8qd.js → 0.bfytqyai2n5.js} +1 -1
- package/.next/static/chunks/{0ypaom232gjo~.js → 04fn3co71gzrr.js} +1 -1
- package/.next/static/chunks/{0.~mlk_lm76g_.js → 0fj.8ab.xr8z9.js} +1 -1
- package/.next/static/chunks/{09ju20execeug.js → 0tq78tonmj9x9.js} +1 -1
- package/.next/trace +2 -2
- package/.next/trace-build +1 -1
- package/app/components/TopoGraph.tsx +62 -3
- package/package.json +1 -1
- package/scripts/topo-label-card-brightness-test.mjs +81 -0
- package/scripts/topo-legend-tint-brightness-test.mjs +83 -0
- /package/.next/static/{D0epk0FBkH0TrdkvkT9Q1 → -_wWMghfLsI_ZVtvNFEcZ}/_buildManifest.js +0 -0
- /package/.next/static/{D0epk0FBkH0TrdkvkT9Q1 → -_wWMghfLsI_ZVtvNFEcZ}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{D0epk0FBkH0TrdkvkT9Q1 → -_wWMghfLsI_ZVtvNFEcZ}/_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.125"],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.127"],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":309,"timestamp":238766748945,"id":4,"parentId":1,"tags":{},"startTime":1779046738995,"traceId":"7fb179733d8710aa"},{"name":"load-custom-routes","duration":570,"timestamp":238766749402,"id":5,"parentId":1,"tags":{},"startTime":1779046738996,"traceId":"7fb179733d8710aa"},{"name":"create-dist-dir","duration":856,"timestamp":238766750053,"id":6,"parentId":1,"tags":{},"startTime":1779046738996,"traceId":"7fb179733d8710aa"},{"name":"clean","duration":38328,"timestamp":238766751697,"id":7,"parentId":1,"tags":{},"startTime":1779046738998,"traceId":"7fb179733d8710aa"},{"name":"discover-routes","duration":25761,"timestamp":238766879541,"id":8,"parentId":1,"tags":{},"startTime":1779046739126,"traceId":"7fb179733d8710aa"},{"name":"create-root-mapping","duration":191,"timestamp":238766905400,"id":9,"parentId":1,"tags":{},"startTime":1779046739152,"traceId":"7fb179733d8710aa"},{"name":"generate-route-types","duration":20619,"timestamp":238766908601,"id":10,"parentId":1,"tags":{},"startTime":1779046739155,"traceId":"7fb179733d8710aa"},{"name":"public-dir-conflict-check","duration":98,"timestamp":238766929309,"id":11,"parentId":1,"tags":{},"startTime":1779046739176,"traceId":"7fb179733d8710aa"},{"name":"generate-routes-manifest","duration":6709,"timestamp":238766929551,"id":12,"parentId":1,"tags":{},"startTime":1779046739176,"traceId":"7fb179733d8710aa"},{"name":"run-turbopack","duration":6634113,"timestamp":238766942357,"id":14,"parentId":1,"tags":{},"startTime":1779046739189,"traceId":"7fb179733d8710aa"},{"name":"turbopack-build-events","duration":90,"timestamp":238767246801,"id":15,"parentId":1,"tags":{},"startTime":1779046739493,"traceId":"7fb179733d8710aa"},{"name":"run-typescript","duration":9608623,"timestamp":238773589349,"id":16,"parentId":1,"tags":{},"startTime":1779046745836,"traceId":"7fb179733d8710aa"},{"name":"generate-required-server-files","duration":2410,"timestamp":238783199227,"id":18,"parentId":1,"tags":{},"startTime":1779046755445,"traceId":"7fb179733d8710aa"},{"name":"check-static-error-page","duration":15193,"timestamp":238783441149,"id":20,"parentId":19,"tags":{},"startTime":1779046755687,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":472503,"timestamp":238783459744,"id":65,"parentId":22,"tags":{},"startTime":1779046755706,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":488461,"timestamp":238783443950,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1779046755690,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":575303,"timestamp":238783460254,"id":69,"parentId":28,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":588942,"timestamp":238783446705,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1779046755693,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":589177,"timestamp":238783460151,"id":68,"parentId":27,"tags":{},"startTime":1779046755706,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":602836,"timestamp":238783446573,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1779046755693,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":604000,"timestamp":238783459894,"id":66,"parentId":25,"tags":{},"startTime":1779046755706,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":617674,"timestamp":238783446292,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1779046755693,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":603395,"timestamp":238783460751,"id":72,"parentId":32,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":616718,"timestamp":238783447465,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1779046755694,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":605456,"timestamp":238783460034,"id":67,"parentId":26,"tags":{},"startTime":1779046755706,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":619198,"timestamp":238783446453,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1779046755693,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":605504,"timestamp":238783460684,"id":71,"parentId":30,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":619266,"timestamp":238783446976,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1779046755693,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":609450,"timestamp":238783461085,"id":76,"parentId":36,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":622329,"timestamp":238783448302,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1779046755695,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":623551,"timestamp":238783458574,"id":64,"parentId":21,"tags":{},"startTime":1779046755705,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":639351,"timestamp":238783442839,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1779046755689,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":624287,"timestamp":238783460941,"id":73,"parentId":33,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":637682,"timestamp":238783447594,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1779046755694,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":627230,"timestamp":238783461107,"id":77,"parentId":37,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":639937,"timestamp":238783448441,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1779046755695,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":641602,"timestamp":238783461035,"id":74,"parentId":34,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":654983,"timestamp":238783447710,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1779046755694,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":642336,"timestamp":238783460538,"id":70,"parentId":29,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":656072,"timestamp":238783446830,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1779046755693,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":642131,"timestamp":238783461065,"id":75,"parentId":35,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":655395,"timestamp":238783447832,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1779046755694,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":642245,"timestamp":238783461146,"id":80,"parentId":40,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":654746,"timestamp":238783448675,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1779046755695,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":653500,"timestamp":238783461122,"id":78,"parentId":38,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":666141,"timestamp":238783448532,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1779046755695,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":655577,"timestamp":238783461191,"id":84,"parentId":46,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":667411,"timestamp":238783449412,"id":46,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1779046755696,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":660581,"timestamp":238783461230,"id":87,"parentId":49,"tags":{},"startTime":1779046755708,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":670382,"timestamp":238783451495,"id":49,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1779046755698,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":664893,"timestamp":238783461238,"id":88,"parentId":50,"tags":{},"startTime":1779046755708,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":674553,"timestamp":238783451627,"id":50,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1779046755698,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":670267,"timestamp":238783461169,"id":82,"parentId":44,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":682217,"timestamp":238783449268,"id":44,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1779046755696,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":672749,"timestamp":238783465607,"id":90,"parentId":24,"tags":{},"startTime":1779046755712,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":694052,"timestamp":238783444353,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1779046755691,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":679748,"timestamp":238783461204,"id":85,"parentId":47,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":691509,"timestamp":238783449488,"id":47,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1779046755696,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":680126,"timestamp":238783461182,"id":83,"parentId":45,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":691986,"timestamp":238783449353,"id":45,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1779046755696,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":680918,"timestamp":238783461217,"id":86,"parentId":48,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":692622,"timestamp":238783449556,"id":48,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1779046755696,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":682878,"timestamp":238783461155,"id":81,"parentId":42,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":695154,"timestamp":238783448932,"id":42,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/health"},"startTime":1779046755695,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":681900,"timestamp":238783466755,"id":91,"parentId":31,"tags":{},"startTime":1779046755713,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":701588,"timestamp":238783447105,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1779046755693,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":694286,"timestamp":238783461250,"id":89,"parentId":51,"tags":{},"startTime":1779046755708,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":703858,"timestamp":238783451728,"id":51,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1779046755698,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":686698,"timestamp":238783469017,"id":93,"parentId":43,"tags":{},"startTime":1779046755715,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":706695,"timestamp":238783449049,"id":43,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1779046755695,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":688160,"timestamp":238783467694,"id":92,"parentId":41,"tags":{},"startTime":1779046755714,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":707191,"timestamp":238783448737,"id":41,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/agents"},"startTime":1779046755695,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":699185,"timestamp":238783461135,"id":79,"parentId":39,"tags":{},"startTime":1779046755707,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":711756,"timestamp":238783448610,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1779046755695,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":697149,"timestamp":238783473635,"id":100,"parentId":58,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":716891,"timestamp":238783453945,"id":58,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1779046755700,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":704775,"timestamp":238783473754,"id":101,"parentId":59,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":724412,"timestamp":238783454169,"id":59,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1779046755700,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":713209,"timestamp":238783473774,"id":102,"parentId":61,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":732373,"timestamp":238783454789,"id":61,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1779046755701,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":729184,"timestamp":238783473783,"id":103,"parentId":62,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":748086,"timestamp":238783454955,"id":62,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1779046755701,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":731350,"timestamp":238783473570,"id":95,"parentId":52,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":752496,"timestamp":238783452465,"id":52,"parentId":19,"tags":{"page":"/login"},"startTime":1779046755699,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":732602,"timestamp":238783473542,"id":94,"parentId":23,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":762023,"timestamp":238783444172,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1779046755690,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":734519,"timestamp":238783473580,"id":96,"parentId":53,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":755480,"timestamp":238783452667,"id":53,"parentId":19,"tags":{"page":"/logs"},"startTime":1779046755699,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":736525,"timestamp":238783473796,"id":104,"parentId":63,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":754289,"timestamp":238783456068,"id":63,"parentId":19,"tags":{"page":"/tasks"},"startTime":1779046755702,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":729729,"timestamp":238783481671,"id":105,"parentId":60,"tags":{},"startTime":1779046755728,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":757073,"timestamp":238783454358,"id":60,"parentId":19,"tags":{"page":"/settings"},"startTime":1779046755701,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":720101,"timestamp":238783493442,"id":106,"parentId":57,"tags":{},"startTime":1779046755740,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":760156,"timestamp":238783453416,"id":57,"parentId":19,"tags":{"page":"/"},"startTime":1779046755700,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":743902,"timestamp":238783473595,"id":97,"parentId":54,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":764714,"timestamp":238783452808,"id":54,"parentId":19,"tags":{"page":"/messages"},"startTime":1779046755699,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":745204,"timestamp":238783473607,"id":98,"parentId":55,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":765842,"timestamp":238783452996,"id":55,"parentId":19,"tags":{"page":"/node"},"startTime":1779046755699,"traceId":"7fb179733d8710aa"},{"name":"is-page-static","duration":747520,"timestamp":238783473626,"id":99,"parentId":56,"tags":{},"startTime":1779046755720,"traceId":"7fb179733d8710aa"},{"name":"check-page","duration":767977,"timestamp":238783453198,"id":56,"parentId":19,"tags":{"page":"/nodes"},"startTime":1779046755699,"traceId":"7fb179733d8710aa"},{"name":"static-check","duration":781028,"timestamp":238783440182,"id":19,"parentId":1,"tags":{},"startTime":1779046755686,"traceId":"7fb179733d8710aa"}]
|
|
2
|
-
[{"name":"write-routes-manifest","duration":
|
|
1
|
+
[{"name":"generate-buildid","duration":346,"timestamp":239437667132,"id":4,"parentId":1,"tags":{},"startTime":1779047409913,"traceId":"8f92dd929d6850cd"},{"name":"load-custom-routes","duration":586,"timestamp":239437667690,"id":5,"parentId":1,"tags":{},"startTime":1779047409914,"traceId":"8f92dd929d6850cd"},{"name":"create-dist-dir","duration":729,"timestamp":239437668318,"id":6,"parentId":1,"tags":{},"startTime":1779047409915,"traceId":"8f92dd929d6850cd"},{"name":"clean","duration":38061,"timestamp":239437669759,"id":7,"parentId":1,"tags":{},"startTime":1779047409916,"traceId":"8f92dd929d6850cd"},{"name":"discover-routes","duration":10937,"timestamp":239437796096,"id":8,"parentId":1,"tags":{},"startTime":1779047410042,"traceId":"8f92dd929d6850cd"},{"name":"create-root-mapping","duration":166,"timestamp":239437807115,"id":9,"parentId":1,"tags":{},"startTime":1779047410053,"traceId":"8f92dd929d6850cd"},{"name":"generate-route-types","duration":33187,"timestamp":239437810796,"id":10,"parentId":1,"tags":{},"startTime":1779047410057,"traceId":"8f92dd929d6850cd"},{"name":"public-dir-conflict-check","duration":150,"timestamp":239437844144,"id":11,"parentId":1,"tags":{},"startTime":1779047410090,"traceId":"8f92dd929d6850cd"},{"name":"generate-routes-manifest","duration":5380,"timestamp":239437844486,"id":12,"parentId":1,"tags":{},"startTime":1779047410091,"traceId":"8f92dd929d6850cd"},{"name":"run-turbopack","duration":6591938,"timestamp":239437871702,"id":14,"parentId":1,"tags":{},"startTime":1779047410118,"traceId":"8f92dd929d6850cd"},{"name":"turbopack-build-events","duration":95,"timestamp":239438199983,"id":15,"parentId":1,"tags":{},"startTime":1779047410446,"traceId":"8f92dd929d6850cd"},{"name":"run-typescript","duration":9806481,"timestamp":239444475964,"id":16,"parentId":1,"tags":{},"startTime":1779047416722,"traceId":"8f92dd929d6850cd"},{"name":"generate-required-server-files","duration":2541,"timestamp":239454283933,"id":18,"parentId":1,"tags":{},"startTime":1779047426530,"traceId":"8f92dd929d6850cd"},{"name":"check-static-error-page","duration":15538,"timestamp":239454445243,"id":20,"parentId":19,"tags":{},"startTime":1779047426692,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":442778,"timestamp":239454464788,"id":65,"parentId":22,"tags":{},"startTime":1779047426711,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":459298,"timestamp":239454448429,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1779047426695,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":537183,"timestamp":239454464403,"id":64,"parentId":21,"tags":{},"startTime":1779047426711,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":554877,"timestamp":239454446805,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1779047426693,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":571090,"timestamp":239454465292,"id":69,"parentId":28,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":584470,"timestamp":239454452014,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1779047426698,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":584216,"timestamp":239454465720,"id":71,"parentId":30,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":597742,"timestamp":239454452305,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1779047426699,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":600442,"timestamp":239454465986,"id":73,"parentId":33,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":613733,"timestamp":239454452788,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1779047426699,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":601548,"timestamp":239454465189,"id":68,"parentId":27,"tags":{},"startTime":1779047426711,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":614964,"timestamp":239454451823,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1779047426698,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":606034,"timestamp":239454464941,"id":66,"parentId":25,"tags":{},"startTime":1779047426711,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":619557,"timestamp":239454451488,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1779047426698,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":619206,"timestamp":239454465077,"id":67,"parentId":26,"tags":{},"startTime":1779047426711,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":632691,"timestamp":239454451665,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1779047426698,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":623917,"timestamp":239454465568,"id":70,"parentId":29,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":637394,"timestamp":239454452156,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1779047426698,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":623940,"timestamp":239454465785,"id":72,"parentId":32,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":637095,"timestamp":239454452662,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1779047426699,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":623787,"timestamp":239454466115,"id":75,"parentId":35,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":636879,"timestamp":239454453052,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1779047426699,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":638776,"timestamp":239454466215,"id":80,"parentId":40,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":650937,"timestamp":239454454137,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1779047426700,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":647650,"timestamp":239454466142,"id":76,"parentId":36,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":660294,"timestamp":239454453555,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1779047426700,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":647929,"timestamp":239454466241,"id":82,"parentId":44,"tags":{},"startTime":1779047426713,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":659288,"timestamp":239454454923,"id":44,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1779047426701,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":648248,"timestamp":239454466085,"id":74,"parentId":34,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":661443,"timestamp":239454452918,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1779047426699,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":656047,"timestamp":239454466172,"id":77,"parentId":37,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":668530,"timestamp":239454453737,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1779047426700,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":656401,"timestamp":239454466190,"id":78,"parentId":38,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":668773,"timestamp":239454453885,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1779047426700,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":659677,"timestamp":239454466270,"id":84,"parentId":46,"tags":{},"startTime":1779047426713,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":670816,"timestamp":239454455178,"id":46,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1779047426701,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":661375,"timestamp":239454466284,"id":85,"parentId":47,"tags":{},"startTime":1779047426713,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":672524,"timestamp":239454455287,"id":47,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1779047426702,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":661900,"timestamp":239454466201,"id":79,"parentId":39,"tags":{},"startTime":1779047426712,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":674108,"timestamp":239454454030,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1779047426700,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":664604,"timestamp":239454466229,"id":81,"parentId":42,"tags":{},"startTime":1779047426713,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":676439,"timestamp":239454454477,"id":42,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/health"},"startTime":1779047426701,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":665576,"timestamp":239454466257,"id":83,"parentId":45,"tags":{},"startTime":1779047426713,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":676792,"timestamp":239454455078,"id":45,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1779047426701,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":666000,"timestamp":239454466325,"id":88,"parentId":50,"tags":{},"startTime":1779047426713,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":675044,"timestamp":239454457317,"id":50,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1779047426704,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":666696,"timestamp":239454471026,"id":91,"parentId":31,"tags":{},"startTime":1779047426717,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":685353,"timestamp":239454452417,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1779047426699,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":666326,"timestamp":239454473247,"id":93,"parentId":43,"tags":{},"startTime":1779047426720,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":684989,"timestamp":239454454627,"id":43,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1779047426701,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":671234,"timestamp":239454471942,"id":92,"parentId":41,"tags":{},"startTime":1779047426718,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":688990,"timestamp":239454454228,"id":41,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/agents"},"startTime":1779047426701,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":674857,"timestamp":239454469737,"id":90,"parentId":24,"tags":{},"startTime":1779047426716,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":695679,"timestamp":239454448957,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1779047426695,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":678471,"timestamp":239454466311,"id":87,"parentId":49,"tags":{},"startTime":1779047426713,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":687628,"timestamp":239454457187,"id":49,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1779047426703,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":670240,"timestamp":239454479878,"id":95,"parentId":52,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":692351,"timestamp":239454457814,"id":52,"parentId":19,"tags":{"page":"/login"},"startTime":1779047426704,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":688105,"timestamp":239454466296,"id":86,"parentId":48,"tags":{},"startTime":1779047426713,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":699044,"timestamp":239454455393,"id":48,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1779047426702,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":675361,"timestamp":239454479948,"id":99,"parentId":56,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":696778,"timestamp":239454458569,"id":56,"parentId":19,"tags":{"page":"/nodes"},"startTime":1779047426705,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":696657,"timestamp":239454466335,"id":89,"parentId":51,"tags":{},"startTime":1779047426713,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":705649,"timestamp":239454457406,"id":51,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1779047426704,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":683854,"timestamp":239454480094,"id":101,"parentId":59,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":704429,"timestamp":239454459607,"id":59,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1779047426706,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":699187,"timestamp":239454480134,"id":103,"parentId":62,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":718999,"timestamp":239454460369,"id":62,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1779047426707,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":710317,"timestamp":239454480144,"id":104,"parentId":63,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":730002,"timestamp":239454460515,"id":63,"parentId":19,"tags":{"page":"/tasks"},"startTime":1779047426707,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":709642,"timestamp":239454491909,"id":105,"parentId":60,"tags":{},"startTime":1779047426738,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":741821,"timestamp":239454459786,"id":60,"parentId":19,"tags":{"page":"/settings"},"startTime":1779047426706,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":725540,"timestamp":239454479909,"id":96,"parentId":53,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":747511,"timestamp":239454457985,"id":53,"parentId":19,"tags":{"page":"/logs"},"startTime":1779047426704,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":729001,"timestamp":239454479847,"id":94,"parentId":23,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":760205,"timestamp":239454448697,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1779047426695,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":733816,"timestamp":239454479920,"id":97,"parentId":54,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":755616,"timestamp":239454458162,"id":54,"parentId":19,"tags":{"page":"/messages"},"startTime":1779047426704,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":734806,"timestamp":239454479961,"id":100,"parentId":58,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":755408,"timestamp":239454459397,"id":58,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1779047426706,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":712140,"timestamp":239454504117,"id":106,"parentId":57,"tags":{},"startTime":1779047426750,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":757494,"timestamp":239454458802,"id":57,"parentId":19,"tags":{"page":"/"},"startTime":1779047426705,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":744008,"timestamp":239454480119,"id":102,"parentId":61,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":763942,"timestamp":239454460219,"id":61,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1779047426706,"traceId":"8f92dd929d6850cd"},{"name":"is-page-static","duration":745182,"timestamp":239454479934,"id":98,"parentId":55,"tags":{},"startTime":1779047426726,"traceId":"8f92dd929d6850cd"},{"name":"check-page","duration":766798,"timestamp":239454458362,"id":55,"parentId":19,"tags":{"page":"/node"},"startTime":1779047426705,"traceId":"8f92dd929d6850cd"},{"name":"static-check","duration":781106,"timestamp":239454444105,"id":19,"parentId":1,"tags":{},"startTime":1779047426690,"traceId":"8f92dd929d6850cd"}]
|
|
2
|
+
[{"name":"write-routes-manifest","duration":491,"timestamp":239455234474,"id":108,"parentId":1,"tags":{},"startTime":1779047427481,"traceId":"8f92dd929d6850cd"},{"name":"load-dotenv","duration":47,"timestamp":239455245246,"id":111,"parentId":110,"tags":{},"startTime":1779047427492,"traceId":"8f92dd929d6850cd"},{"name":"run-export-path-map","duration":548,"timestamp":239455247818,"id":112,"parentId":110,"tags":{},"startTime":1779047427494,"traceId":"8f92dd929d6850cd"},{"name":"next-export","duration":582976,"timestamp":239455243759,"id":110,"parentId":1,"tags":{},"startTime":1779047427490,"traceId":"8f92dd929d6850cd"},{"name":"move-exported-app-not-found-","duration":560,"timestamp":239455830689,"id":113,"parentId":109,"tags":{},"startTime":1779047428077,"traceId":"8f92dd929d6850cd"},{"name":"move-exported-app-global-error-","duration":443,"timestamp":239455831362,"id":114,"parentId":109,"tags":{},"startTime":1779047428078,"traceId":"8f92dd929d6850cd"},{"name":"static-generation","duration":595652,"timestamp":239455238312,"id":109,"parentId":1,"tags":{},"startTime":1779047427485,"traceId":"8f92dd929d6850cd"},{"name":"write-routes-manifest","duration":425,"timestamp":239455834246,"id":115,"parentId":1,"tags":{},"startTime":1779047428081,"traceId":"8f92dd929d6850cd"},{"name":"print-tree-view","duration":4734,"timestamp":239455853532,"id":116,"parentId":1,"tags":{},"startTime":1779047428100,"traceId":"8f92dd929d6850cd"},{"name":"write-route-bundle-stats","duration":12897,"timestamp":239455858300,"id":117,"parentId":1,"tags":{},"startTime":1779047428105,"traceId":"8f92dd929d6850cd"},{"name":"telemetry-flush","duration":53504,"timestamp":239455871228,"id":118,"parentId":1,"tags":{},"startTime":1779047428118,"traceId":"8f92dd929d6850cd"},{"name":"next-build","duration":18316224,"timestamp":239437608544,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1779047409855,"traceId":"8f92dd929d6850cd"}]
|
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-turbopack","duration":
|
|
1
|
+
[{"name":"run-turbopack","duration":6591938,"timestamp":239437871702,"id":14,"parentId":1,"tags":{},"startTime":1779047410118,"traceId":"8f92dd929d6850cd"},{"name":"turbopack-build-events","duration":95,"timestamp":239438199983,"id":15,"parentId":1,"tags":{},"startTime":1779047410446,"traceId":"8f92dd929d6850cd"},{"name":"run-typescript","duration":9806481,"timestamp":239444475964,"id":16,"parentId":1,"tags":{},"startTime":1779047416722,"traceId":"8f92dd929d6850cd"},{"name":"static-check","duration":781106,"timestamp":239454444105,"id":19,"parentId":1,"tags":{},"startTime":1779047426690,"traceId":"8f92dd929d6850cd"},{"name":"static-generation","duration":595652,"timestamp":239455238312,"id":109,"parentId":1,"tags":{},"startTime":1779047427485,"traceId":"8f92dd929d6850cd"},{"name":"telemetry-flush","duration":53504,"timestamp":239455871228,"id":118,"parentId":1,"tags":{},"startTime":1779047428118,"traceId":"8f92dd929d6850cd"},{"name":"next-build","duration":18316224,"timestamp":239437608544,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1779047409855,"traceId":"8f92dd929d6850cd"}]
|
|
@@ -10081,11 +10081,39 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
10081
10081
|
data-node-label-card-elevation={
|
|
10082
10082
|
!reducedMotion && hoveredAlias === session.alias ? 'hover' : 'idle'
|
|
10083
10083
|
}
|
|
10084
|
+
data-node-label-card-brightness={!reducedMotion && hoveredAlias === session.alias ? '1.15' : '1'}
|
|
10084
10085
|
style={{
|
|
10086
|
+
/* R613 — per-node label card stacks brightness
|
|
10087
|
+
(1.15) onto R142's hover drop-shadow. Same
|
|
10088
|
+
banked R582/R583 stacked-filter pattern.
|
|
10089
|
+
4th paint axis on the card's hover signature:
|
|
10090
|
+
R217 stroke tint → pal.legendAccent
|
|
10091
|
+
R211 fill ease 200ms
|
|
10092
|
+
R142 drop-shadow rest → hover (deeper)
|
|
10093
|
+
R613 brightness 1 → 1.15 ← this round
|
|
10094
|
+
|
|
10095
|
+
The card's bg fill (pal.labelBox.fill: dark
|
|
10096
|
+
navy on cyber / white on light) lifts +15%
|
|
10097
|
+
alongside the existing drop-shadow
|
|
10098
|
+
elevation — cyber theme reads as "card lit
|
|
10099
|
+
warmer under attention" since the dark fill
|
|
10100
|
+
gains visible luminance from the +15%
|
|
10101
|
+
multiplication. Light theme bg is already
|
|
10102
|
+
near-white so brightness barely shifts the
|
|
10103
|
+
rect, but the cyan-tinted stroke (R217)
|
|
10104
|
+
still lifts visibly through the brightness
|
|
10105
|
+
filter.
|
|
10106
|
+
|
|
10107
|
+
Drop-shadow exists at BOTH rest + hover
|
|
10108
|
+
tiers (R142); brightness only stacks on
|
|
10109
|
+
the hover tier. Rest stays at plain DS.
|
|
10110
|
+
|
|
10111
|
+
Existing 'filter 220ms ease-out' transition
|
|
10112
|
+
covers brightness at the same cadence. */
|
|
10085
10113
|
filter: !reducedMotion && hoveredAlias === session.alias
|
|
10086
10114
|
? (isLight
|
|
10087
|
-
? 'drop-shadow(0 3px 8px rgba(15,23,42,0.20))'
|
|
10088
|
-
: 'drop-shadow(0 4px 12px rgba(0,0,0,0.60))')
|
|
10115
|
+
? 'drop-shadow(0 3px 8px rgba(15,23,42,0.20)) brightness(1.15)'
|
|
10116
|
+
: 'drop-shadow(0 4px 12px rgba(0,0,0,0.60)) brightness(1.15)')
|
|
10089
10117
|
: (isLight
|
|
10090
10118
|
? 'drop-shadow(0 1px 2px rgba(15,23,42,0.08))'
|
|
10091
10119
|
: 'drop-shadow(0 1px 2px rgba(0,0,0,0.30))'),
|
|
@@ -12742,7 +12770,38 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
12742
12770
|
: 1}
|
|
12743
12771
|
data-legend-row-tinted={isPinned ? 'pinned' : hoveredStatus === row.key ? 'hover' : 'none'}
|
|
12744
12772
|
data-legend-row-tint-transition="200ms"
|
|
12745
|
-
|
|
12773
|
+
data-legend-row-tint-brightness={(hoveredStatus === row.key || isPinned) ? '1.15' : '1'}
|
|
12774
|
+
/* R612 — legend-row tint rect brightness on hover/
|
|
12775
|
+
pin. Sibling to R610 group-label tint + R611
|
|
12776
|
+
recent-row tint — closes the PANEL-ROW TINT RECT
|
|
12777
|
+
BRIGHTNESS TRIO at full parity:
|
|
12778
|
+
R610 group label tint rect (pin/hover-label)
|
|
12779
|
+
R611 recent-row tint rect (hover/pin row)
|
|
12780
|
+
R612 legend-row tint rect (hover/pin row) ← this round
|
|
12781
|
+
|
|
12782
|
+
All 3 panel-row tint rects (group / recent /
|
|
12783
|
+
legend) now lift +15% brightness alongside their
|
|
12784
|
+
fill/opacity response under inspection.
|
|
12785
|
+
|
|
12786
|
+
Note: row.fill here is the TIER COLOR (green for
|
|
12787
|
+
working / teal for idle / slate for offline)
|
|
12788
|
+
rather than the cyan pal.legendAccent used by
|
|
12789
|
+
group + recent panels. Each tier brightens its
|
|
12790
|
+
OWN hue by +15% — the row reads as "this status
|
|
12791
|
+
lit up" with the row's status-identifying color
|
|
12792
|
+
intensified. Per-tier brightness lift carries
|
|
12793
|
+
semantic information at the legend scope.
|
|
12794
|
+
|
|
12795
|
+
Pin/hover-gated brightness family at panel tier
|
|
12796
|
+
now 7 anchors (R571/R587/R607/R609/R610/R611/
|
|
12797
|
+
R612). transition list extends with 'filter
|
|
12798
|
+
200ms ease-out' alongside fill/opacity. */
|
|
12799
|
+
style={{
|
|
12800
|
+
filter: (hoveredStatus === row.key || isPinned)
|
|
12801
|
+
? 'brightness(1.15)'
|
|
12802
|
+
: undefined,
|
|
12803
|
+
transition: 'fill 200ms ease-out, opacity 200ms ease-out, filter 200ms ease-out',
|
|
12804
|
+
}}
|
|
12746
12805
|
/>
|
|
12747
12806
|
{/* Round 197 / Loop: swatch dot scales r 5.5 → 7 when its
|
|
12748
12807
|
row is hovered or pinned. Pre-R197 the swatch was a
|
package/package.json
CHANGED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* Round 613 — per-node label card stacks brightness(1.15)
|
|
2
|
+
* onto R142's hover drop-shadow. 4th paint axis on the card's
|
|
3
|
+
* hover signature. Same banked R582/R583 stacked-filter pattern.
|
|
4
|
+
*
|
|
5
|
+
* Test phases:
|
|
6
|
+
* 1. mock 2 idle nodes → label cards render
|
|
7
|
+
* 2. rest: filter contains rest drop-shadow but NO brightness,
|
|
8
|
+
* brightness-attr='1'
|
|
9
|
+
* 3. computed transition-property contains 'filter'
|
|
10
|
+
* 4. source: stacked filter conditional + data-attr
|
|
11
|
+
*/
|
|
12
|
+
import { chromium } from 'playwright';
|
|
13
|
+
import { readFileSync } from 'node:fs';
|
|
14
|
+
|
|
15
|
+
const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
|
|
16
|
+
const fresh = new Date(Date.now() - 60 * 1000).toISOString();
|
|
17
|
+
|
|
18
|
+
const browser = await chromium.launch({ headless: true });
|
|
19
|
+
const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
|
|
20
|
+
await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
|
|
21
|
+
await ctx.addInitScript(() => {
|
|
22
|
+
try {
|
|
23
|
+
localStorage.setItem('anet-theme', 'cyber');
|
|
24
|
+
localStorage.setItem('anet-topo-layout', 'ring');
|
|
25
|
+
sessionStorage.setItem('anet_v3_auth', '1');
|
|
26
|
+
} catch {}
|
|
27
|
+
});
|
|
28
|
+
await ctx.route('**/api/hub/status*', async (route) => {
|
|
29
|
+
const r = await route.fetch();
|
|
30
|
+
const b = await r.json();
|
|
31
|
+
const nid = (b.sessions || [])[0]?.network_id || 'default';
|
|
32
|
+
const mk = (alias) => ({
|
|
33
|
+
alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
|
|
34
|
+
network_id: nid, project_dir: null,
|
|
35
|
+
created_at: fresh, updated_at: fresh, last_seen_at: fresh,
|
|
36
|
+
});
|
|
37
|
+
await route.fulfill({ response: r, json: { ...b, sessions: [mk('a·1'), mk('a·2')] } });
|
|
38
|
+
});
|
|
39
|
+
await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [] } }));
|
|
40
|
+
await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
|
|
41
|
+
const page = await ctx.newPage();
|
|
42
|
+
await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
|
|
43
|
+
await page.waitForSelector('[data-node-label-card-brightness]', { timeout: 15000, state: 'attached' });
|
|
44
|
+
await page.waitForTimeout(500);
|
|
45
|
+
|
|
46
|
+
const rest = await page.evaluate(() => {
|
|
47
|
+
const el = document.querySelector('[data-node-label-card-brightness]');
|
|
48
|
+
if (!el) return null;
|
|
49
|
+
const cs = getComputedStyle(el);
|
|
50
|
+
return {
|
|
51
|
+
filter: cs.filter,
|
|
52
|
+
transitionProperty: cs.transitionProperty,
|
|
53
|
+
brightnessAttr: el.getAttribute('data-node-label-card-brightness'),
|
|
54
|
+
elevationAttr: el.getAttribute('data-node-label-card-elevation'),
|
|
55
|
+
};
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
await browser.close();
|
|
59
|
+
|
|
60
|
+
const src = readFileSync('/home/vansin/agent-network-dashboard/app/components/TopoGraph.tsx', 'utf8');
|
|
61
|
+
const sourceCyberStack = /'drop-shadow\(0 4px 12px rgba\(0,0,0,0\.60\)\) brightness\(1\.15\)'/.test(src);
|
|
62
|
+
const sourceLightStack = /'drop-shadow\(0 3px 8px rgba\(15,23,42,0\.20\)\) brightness\(1\.15\)'/.test(src);
|
|
63
|
+
const sourceAttr = /data-node-label-card-brightness=\{!reducedMotion && hoveredAlias === session\.alias \? '1\.15' : '1'\}/.test(src);
|
|
64
|
+
|
|
65
|
+
const results = {
|
|
66
|
+
card_present: !!rest,
|
|
67
|
+
// At rest: rest-tier drop-shadow but no brightness
|
|
68
|
+
rest_has_drop_shadow: /drop-shadow/.test(rest?.filter || ''),
|
|
69
|
+
rest_no_brightness: !/brightness/.test(rest?.filter || ''),
|
|
70
|
+
rest_brightness_1: rest?.brightnessAttr === '1',
|
|
71
|
+
rest_elevation_idle: rest?.elevationAttr === 'idle',
|
|
72
|
+
transition_has_filter: /filter/.test(rest?.transitionProperty || ''),
|
|
73
|
+
source_cyber_stack: sourceCyberStack,
|
|
74
|
+
source_light_stack: sourceLightStack,
|
|
75
|
+
source_attr: sourceAttr,
|
|
76
|
+
};
|
|
77
|
+
const ok = Object.values(results).every(Boolean);
|
|
78
|
+
console.log(`${ok ? '✅' : '❌'} R613 label card stacked brightness (4-axis hover paint signature):`,
|
|
79
|
+
JSON.stringify(results, null, 2),
|
|
80
|
+
`\n rest: ${JSON.stringify(rest)}`);
|
|
81
|
+
process.exit(ok ? 0 : 1);
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* Round 612 — legend-row tint rect brightness on hover/pin.
|
|
2
|
+
* 3rd panel-tier sibling. Closes the panel-row tint rect
|
|
3
|
+
* brightness trio (group / recent / legend) at full parity.
|
|
4
|
+
*
|
|
5
|
+
* Test phases:
|
|
6
|
+
* 1. mock 2 idle nodes → legend rows render
|
|
7
|
+
* 2. rest: filter='none', brightness-attr='1', tinted='none'
|
|
8
|
+
* 3. computed transition-property contains 'filter'
|
|
9
|
+
* 4. source: filter conditional + data-attr + transition extension
|
|
10
|
+
*/
|
|
11
|
+
import { chromium } from 'playwright';
|
|
12
|
+
import { readFileSync } from 'node:fs';
|
|
13
|
+
|
|
14
|
+
const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
|
|
15
|
+
const fresh = new Date(Date.now() - 60 * 1000).toISOString();
|
|
16
|
+
|
|
17
|
+
const browser = await chromium.launch({ headless: true });
|
|
18
|
+
const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
|
|
19
|
+
await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
|
|
20
|
+
await ctx.addInitScript(() => {
|
|
21
|
+
try {
|
|
22
|
+
localStorage.setItem('anet-theme', 'cyber');
|
|
23
|
+
localStorage.setItem('anet-topo-layout', 'ring');
|
|
24
|
+
sessionStorage.setItem('anet_v3_auth', '1');
|
|
25
|
+
} catch {}
|
|
26
|
+
});
|
|
27
|
+
await ctx.route('**/api/hub/status*', async (route) => {
|
|
28
|
+
const r = await route.fetch();
|
|
29
|
+
const b = await r.json();
|
|
30
|
+
const nid = (b.sessions || [])[0]?.network_id || 'default';
|
|
31
|
+
const mk = (alias) => ({
|
|
32
|
+
alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
|
|
33
|
+
network_id: nid, project_dir: null,
|
|
34
|
+
created_at: fresh, updated_at: fresh, last_seen_at: fresh,
|
|
35
|
+
});
|
|
36
|
+
await route.fulfill({ response: r, json: { ...b, sessions: [mk('a·1'), mk('a·2')] } });
|
|
37
|
+
});
|
|
38
|
+
await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [] } }));
|
|
39
|
+
await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
|
|
40
|
+
const page = await ctx.newPage();
|
|
41
|
+
await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
|
|
42
|
+
await page.waitForSelector('[data-legend-row-tint-brightness]', { timeout: 15000, state: 'attached' });
|
|
43
|
+
await page.waitForTimeout(500);
|
|
44
|
+
|
|
45
|
+
const rest = await page.evaluate(() => {
|
|
46
|
+
const els = document.querySelectorAll('[data-legend-row-tint-brightness]');
|
|
47
|
+
if (!els.length) return null;
|
|
48
|
+
const el = els[0];
|
|
49
|
+
const cs = getComputedStyle(el);
|
|
50
|
+
return {
|
|
51
|
+
count: els.length,
|
|
52
|
+
filter: cs.filter,
|
|
53
|
+
transitionProperty: cs.transitionProperty,
|
|
54
|
+
brightnessAttr: el.getAttribute('data-legend-row-tint-brightness'),
|
|
55
|
+
tintedAttr: el.getAttribute('data-legend-row-tinted'),
|
|
56
|
+
transitionAttr: el.getAttribute('data-legend-row-tint-transition'),
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
await browser.close();
|
|
61
|
+
|
|
62
|
+
const src = readFileSync('/home/vansin/agent-network-dashboard/app/components/TopoGraph.tsx', 'utf8');
|
|
63
|
+
const sourceFilter = /filter: \(hoveredStatus === row\.key \|\| isPinned\)\s*\?\s*'brightness\(1\.15\)'\s*:\s*undefined/.test(src);
|
|
64
|
+
const sourceAttr = /data-legend-row-tint-brightness=\{\(hoveredStatus === row\.key \|\| isPinned\) \? '1\.15' : '1'\}/.test(src);
|
|
65
|
+
const sourceTransition = /transition: 'fill 200ms ease-out, opacity 200ms ease-out, filter 200ms ease-out'/.test(src);
|
|
66
|
+
|
|
67
|
+
const results = {
|
|
68
|
+
tint_present: !!rest,
|
|
69
|
+
count_ge_3: (rest?.count ?? 0) >= 3,
|
|
70
|
+
rest_filter_none: rest?.filter === 'none',
|
|
71
|
+
rest_brightness_1: rest?.brightnessAttr === '1',
|
|
72
|
+
rest_tinted_none: rest?.tintedAttr === 'none',
|
|
73
|
+
transition_attr: rest?.transitionAttr === '200ms',
|
|
74
|
+
transition_has_filter: /filter/.test(rest?.transitionProperty || ''),
|
|
75
|
+
source_filter: sourceFilter,
|
|
76
|
+
source_attr: sourceAttr,
|
|
77
|
+
source_transition: sourceTransition,
|
|
78
|
+
};
|
|
79
|
+
const ok = Object.values(results).every(Boolean);
|
|
80
|
+
console.log(`${ok ? '✅' : '❌'} R612 legend-row tint rect brightness (panel trio closure):`,
|
|
81
|
+
JSON.stringify(results, null, 2),
|
|
82
|
+
`\n rest: ${JSON.stringify(rest)}`);
|
|
83
|
+
process.exit(ok ? 0 : 1);
|
|
File without changes
|
/package/.next/static/{D0epk0FBkH0TrdkvkT9Q1 → -_wWMghfLsI_ZVtvNFEcZ}/_clientMiddlewareManifest.js
RENAMED
|
File without changes
|
|
File without changes
|