@sleep2agi/agent-network-dashboard 0.4.6-preview.229 → 0.4.6-preview.230
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 +4 -4
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/prerender-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/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/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/{0a-7rsjiuvxcb.js → 0gl8jvp6s9ia9.js} +1 -1
- package/.next/static/chunks/{0mar.1q2zcc0x.js → 0q3o1d9-e3y39.js} +1 -1
- package/.next/static/chunks/{04b8uw3m8z.o0.js → 0umu.3nidfu.k.js} +1 -1
- package/.next/trace +2 -2
- package/.next/trace-build +1 -1
- package/app/components/TopoGraph.tsx +29 -10
- package/package.json +1 -1
- package/scripts/topo-hot-tail-crossfade-test.mjs +117 -0
- package/scripts/topo-panel-hot-tail-fade-test.mjs +9 -1
- /package/.next/static/{BSaC8HgzaPhvOieeDUgr4 → PlMtcchhXzRUtoCwFkKzU}/_buildManifest.js +0 -0
- /package/.next/static/{BSaC8HgzaPhvOieeDUgr4 → PlMtcchhXzRUtoCwFkKzU}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{BSaC8HgzaPhvOieeDUgr4 → PlMtcchhXzRUtoCwFkKzU}/_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.4.6-preview.229"],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.4.6-preview.230"],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":268,"timestamp":82540417158,"id":4,"parentId":1,"tags":{},"startTime":1778890512663,"traceId":"09580bb2fe232cd4"},{"name":"load-custom-routes","duration":482,"timestamp":82540417569,"id":5,"parentId":1,"tags":{},"startTime":1778890512664,"traceId":"09580bb2fe232cd4"},{"name":"create-dist-dir","duration":596,"timestamp":82540418095,"id":6,"parentId":1,"tags":{},"startTime":1778890512664,"traceId":"09580bb2fe232cd4"},{"name":"clean","duration":430,"timestamp":82540419325,"id":7,"parentId":1,"tags":{},"startTime":1778890512666,"traceId":"09580bb2fe232cd4"},{"name":"discover-routes","duration":8772,"timestamp":82540501399,"id":8,"parentId":1,"tags":{},"startTime":1778890512748,"traceId":"09580bb2fe232cd4"},{"name":"create-root-mapping","duration":105,"timestamp":82540510227,"id":9,"parentId":1,"tags":{},"startTime":1778890512757,"traceId":"09580bb2fe232cd4"},{"name":"generate-route-types","duration":38609,"timestamp":82540512479,"id":10,"parentId":1,"tags":{},"startTime":1778890512759,"traceId":"09580bb2fe232cd4"},{"name":"public-dir-conflict-check","duration":134,"timestamp":82540551292,"id":11,"parentId":1,"tags":{},"startTime":1778890512798,"traceId":"09580bb2fe232cd4"},{"name":"generate-routes-manifest","duration":4854,"timestamp":82540551552,"id":12,"parentId":1,"tags":{},"startTime":1778890512798,"traceId":"09580bb2fe232cd4"},{"name":"run-turbopack","duration":5980560,"timestamp":82540562427,"id":14,"parentId":1,"tags":{},"startTime":1778890512809,"traceId":"09580bb2fe232cd4"},{"name":"turbopack-build-events","duration":105,"timestamp":82540852384,"id":15,"parentId":1,"tags":{},"startTime":1778890513099,"traceId":"09580bb2fe232cd4"},{"name":"run-typescript","duration":10674884,"timestamp":82546558375,"id":16,"parentId":1,"tags":{},"startTime":1778890518805,"traceId":"09580bb2fe232cd4"},{"name":"generate-required-server-files","duration":3153,"timestamp":82557234683,"id":18,"parentId":1,"tags":{},"startTime":1778890529481,"traceId":"09580bb2fe232cd4"},{"name":"check-static-error-page","duration":16127,"timestamp":82557458284,"id":20,"parentId":19,"tags":{},"startTime":1778890529705,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":659798,"timestamp":82557478660,"id":63,"parentId":22,"tags":{},"startTime":1778890529725,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":677081,"timestamp":82557461546,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1778890529708,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":749501,"timestamp":82557478374,"id":62,"parentId":21,"tags":{},"startTime":1778890529725,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":768063,"timestamp":82557459913,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1778890529706,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":823242,"timestamp":82557484487,"id":70,"parentId":32,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":841571,"timestamp":82557466237,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1778890529713,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":826357,"timestamp":82557483528,"id":69,"parentId":30,"tags":{},"startTime":1778890529730,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":844174,"timestamp":82557465767,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1778890529712,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":832168,"timestamp":82557484717,"id":72,"parentId":34,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":850410,"timestamp":82557466537,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1778890529713,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":836611,"timestamp":82557484579,"id":71,"parentId":33,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":854848,"timestamp":82557466394,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1778890529713,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":841390,"timestamp":82557484890,"id":74,"parentId":36,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":859101,"timestamp":82557467234,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1778890529714,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":847467,"timestamp":82557484930,"id":75,"parentId":37,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":865014,"timestamp":82557467431,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1778890529714,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":850495,"timestamp":82557484949,"id":76,"parentId":38,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":867905,"timestamp":82557467596,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1778890529714,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":852337,"timestamp":82557484755,"id":73,"parentId":35,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":870454,"timestamp":82557466685,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1778890529713,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":854807,"timestamp":82557484959,"id":77,"parentId":39,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":872096,"timestamp":82557467715,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1778890529714,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":858151,"timestamp":82557484973,"id":78,"parentId":40,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":876463,"timestamp":82557467827,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1778890529714,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":859509,"timestamp":82557484985,"id":79,"parentId":41,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":876585,"timestamp":82557467955,"id":41,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1778890529714,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":869879,"timestamp":82557479329,"id":66,"parentId":27,"tags":{},"startTime":1778890529726,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":883989,"timestamp":82557465260,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1778890529712,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":864703,"timestamp":82557484998,"id":80,"parentId":42,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":881631,"timestamp":82557468108,"id":42,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1778890529714,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":864888,"timestamp":82557485024,"id":81,"parentId":43,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":881713,"timestamp":82557468233,"id":43,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1778890529715,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":870650,"timestamp":82557485038,"id":82,"parentId":44,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":887392,"timestamp":82557468341,"id":44,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1778890529715,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":871559,"timestamp":82557485063,"id":84,"parentId":46,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":886181,"timestamp":82557470482,"id":46,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1778890529717,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":873263,"timestamp":82557485053,"id":83,"parentId":45,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":889903,"timestamp":82557468453,"id":45,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1778890529715,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":876017,"timestamp":82557485090,"id":86,"parentId":48,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":890338,"timestamp":82557470814,"id":48,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1778890529717,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":872184,"timestamp":82557497877,"id":88,"parentId":24,"tags":{},"startTime":1778890529744,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":907978,"timestamp":82557462134,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1778890529708,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":871760,"timestamp":82557499115,"id":89,"parentId":31,"tags":{},"startTime":1778890529745,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":904987,"timestamp":82557465932,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1778890529712,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":892470,"timestamp":82557478741,"id":64,"parentId":25,"tags":{},"startTime":1778890529725,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":906328,"timestamp":82557464925,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1778890529711,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":867976,"timestamp":82557510785,"id":90,"parentId":23,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":916980,"timestamp":82557461835,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1778890529708,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":874955,"timestamp":82557510858,"id":92,"parentId":51,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":914294,"timestamp":82557471584,"id":51,"parentId":19,"tags":{"page":"/logs"},"startTime":1778890529718,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":885821,"timestamp":82557510873,"id":93,"parentId":52,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":924986,"timestamp":82557471763,"id":52,"parentId":19,"tags":{"page":"/messages"},"startTime":1778890529718,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":920043,"timestamp":82557485103,"id":87,"parentId":49,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":934273,"timestamp":82557470938,"id":49,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1778890529717,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":920276,"timestamp":82557485077,"id":85,"parentId":47,"tags":{},"startTime":1778890529731,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":934697,"timestamp":82557470689,"id":47,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1778890529717,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":930942,"timestamp":82557479166,"id":65,"parentId":26,"tags":{},"startTime":1778890529725,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":945040,"timestamp":82557465117,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1778890529711,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":913187,"timestamp":82557510886,"id":94,"parentId":53,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":952138,"timestamp":82557471998,"id":53,"parentId":19,"tags":{"page":"/node"},"startTime":1778890529718,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":929152,"timestamp":82557510935,"id":98,"parentId":59,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":966317,"timestamp":82557473836,"id":59,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1778890529720,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":943674,"timestamp":82557510949,"id":99,"parentId":60,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":980702,"timestamp":82557473994,"id":60,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1778890529720,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":951153,"timestamp":82557510967,"id":100,"parentId":61,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":988037,"timestamp":82557474161,"id":61,"parentId":19,"tags":{"page":"/tasks"},"startTime":1778890529720,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":914944,"timestamp":82557554232,"id":101,"parentId":55,"tags":{},"startTime":1778890529801,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":996743,"timestamp":82557472494,"id":55,"parentId":19,"tags":{"page":"/"},"startTime":1778890529719,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":960970,"timestamp":82557510895,"id":95,"parentId":54,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":999670,"timestamp":82557472247,"id":54,"parentId":19,"tags":{"page":"/nodes"},"startTime":1778890529719,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":906791,"timestamp":82557569431,"id":102,"parentId":58,"tags":{},"startTime":1778890529816,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":1002804,"timestamp":82557473477,"id":58,"parentId":19,"tags":{"page":"/settings"},"startTime":1778890529720,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":1002729,"timestamp":82557483185,"id":67,"parentId":28,"tags":{},"startTime":1778890529729,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":1020562,"timestamp":82557465411,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1778890529712,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":994488,"timestamp":82557510909,"id":96,"parentId":56,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":1032407,"timestamp":82557473060,"id":56,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1778890529719,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":997371,"timestamp":82557510832,"id":91,"parentId":50,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":1036873,"timestamp":82557471394,"id":50,"parentId":19,"tags":{"page":"/login"},"startTime":1778890529718,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":1027043,"timestamp":82557483374,"id":68,"parentId":29,"tags":{},"startTime":1778890529730,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":1044945,"timestamp":82557465588,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1778890529712,"traceId":"09580bb2fe232cd4"},{"name":"is-page-static","duration":1014472,"timestamp":82557510922,"id":97,"parentId":57,"tags":{},"startTime":1778890529757,"traceId":"09580bb2fe232cd4"},{"name":"check-page","duration":1052173,"timestamp":82557473277,"id":57,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1778890529720,"traceId":"09580bb2fe232cd4"},{"name":"static-check","duration":1068405,"timestamp":82557457102,"id":19,"parentId":1,"tags":{},"startTime":1778890529703,"traceId":"09580bb2fe232cd4"},{"name":"write-routes-manifest","duration":694,"timestamp":82558538223,"id":104,"parentId":1,"tags":{},"startTime":1778890530785,"traceId":"09580bb2fe232cd4"},{"name":"load-dotenv","duration":65,"timestamp":82558551716,"id":107,"parentId":106,"tags":{},"startTime":1778890530798,"traceId":"09580bb2fe232cd4"},{"name":"run-export-path-map","duration":573,"timestamp":82558554384,"id":108,"parentId":106,"tags":{},"startTime":1778890530801,"traceId":"09580bb2fe232cd4"},{"name":"next-export","duration":670661,"timestamp":82558550314,"id":106,"parentId":1,"tags":{},"startTime":1778890530797,"traceId":"09580bb2fe232cd4"}]
|
|
2
|
-
[{"name":"move-exported-app-not-found-","duration":
|
|
1
|
+
[{"name":"generate-buildid","duration":268,"timestamp":83159347479,"id":4,"parentId":1,"tags":{},"startTime":1778891131594,"traceId":"36bba0dfd023fd49"},{"name":"load-custom-routes","duration":531,"timestamp":83159347907,"id":5,"parentId":1,"tags":{},"startTime":1778891131594,"traceId":"36bba0dfd023fd49"},{"name":"create-dist-dir","duration":646,"timestamp":83159348484,"id":6,"parentId":1,"tags":{},"startTime":1778891131595,"traceId":"36bba0dfd023fd49"},{"name":"clean","duration":511,"timestamp":83159349761,"id":7,"parentId":1,"tags":{},"startTime":1778891131596,"traceId":"36bba0dfd023fd49"},{"name":"discover-routes","duration":8214,"timestamp":83159442084,"id":8,"parentId":1,"tags":{},"startTime":1778891131688,"traceId":"36bba0dfd023fd49"},{"name":"create-root-mapping","duration":107,"timestamp":83159450355,"id":9,"parentId":1,"tags":{},"startTime":1778891131697,"traceId":"36bba0dfd023fd49"},{"name":"generate-route-types","duration":31838,"timestamp":83159452738,"id":10,"parentId":1,"tags":{},"startTime":1778891131699,"traceId":"36bba0dfd023fd49"},{"name":"public-dir-conflict-check","duration":105,"timestamp":83159484727,"id":11,"parentId":1,"tags":{},"startTime":1778891131731,"traceId":"36bba0dfd023fd49"},{"name":"generate-routes-manifest","duration":4152,"timestamp":83159484944,"id":12,"parentId":1,"tags":{},"startTime":1778891131731,"traceId":"36bba0dfd023fd49"},{"name":"run-turbopack","duration":8355713,"timestamp":83159494146,"id":14,"parentId":1,"tags":{},"startTime":1778891131740,"traceId":"36bba0dfd023fd49"},{"name":"turbopack-build-events","duration":81,"timestamp":83159854172,"id":15,"parentId":1,"tags":{},"startTime":1778891132100,"traceId":"36bba0dfd023fd49"},{"name":"run-typescript","duration":10558302,"timestamp":83167858124,"id":16,"parentId":1,"tags":{},"startTime":1778891140104,"traceId":"36bba0dfd023fd49"},{"name":"generate-required-server-files","duration":2300,"timestamp":83178417596,"id":18,"parentId":1,"tags":{},"startTime":1778891150664,"traceId":"36bba0dfd023fd49"},{"name":"check-static-error-page","duration":14316,"timestamp":83178565770,"id":20,"parentId":19,"tags":{},"startTime":1778891150812,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":582868,"timestamp":83178583111,"id":63,"parentId":22,"tags":{},"startTime":1778891150829,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":597328,"timestamp":83178568843,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1778891150815,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":592339,"timestamp":83178583463,"id":66,"parentId":27,"tags":{},"startTime":1778891150830,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":603655,"timestamp":83178572239,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1778891150819,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":597376,"timestamp":83178584191,"id":70,"parentId":32,"tags":{},"startTime":1778891150830,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":608313,"timestamp":83178573315,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1778891150820,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":629546,"timestamp":83178586162,"id":71,"parentId":33,"tags":{},"startTime":1778891150832,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":642332,"timestamp":83178573450,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1778891150820,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":637964,"timestamp":83178583354,"id":65,"parentId":26,"tags":{},"startTime":1778891150830,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":649286,"timestamp":83178572106,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1778891150818,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":639297,"timestamp":83178583236,"id":64,"parentId":25,"tags":{},"startTime":1778891150830,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":650683,"timestamp":83178571915,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1778891150818,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":640655,"timestamp":83178586245,"id":72,"parentId":34,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":653373,"timestamp":83178573583,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1778891150820,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":656471,"timestamp":83178586437,"id":75,"parentId":37,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":668497,"timestamp":83178574472,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1778891150821,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":660776,"timestamp":83178586450,"id":76,"parentId":38,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":672670,"timestamp":83178574622,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1778891150821,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":668553,"timestamp":83178586467,"id":77,"parentId":39,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":680344,"timestamp":83178574744,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1778891150821,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":668764,"timestamp":83178586479,"id":78,"parentId":40,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":680426,"timestamp":83178574849,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1778891150821,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":673344,"timestamp":83178586277,"id":73,"parentId":35,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":685934,"timestamp":83178573736,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1778891150820,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":681395,"timestamp":83178586488,"id":79,"parentId":41,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":692974,"timestamp":83178574955,"id":41,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1778891150821,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":691099,"timestamp":83178582718,"id":62,"parentId":21,"tags":{},"startTime":1778891150829,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":706556,"timestamp":83178567304,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1778891150814,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":687564,"timestamp":83178586501,"id":80,"parentId":42,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":699013,"timestamp":83178575091,"id":42,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1778891150821,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":691299,"timestamp":83178583863,"id":68,"parentId":29,"tags":{},"startTime":1778891150830,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":702494,"timestamp":83178572718,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1778891150819,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":689921,"timestamp":83178586514,"id":81,"parentId":43,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":701311,"timestamp":83178575183,"id":43,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1778891150821,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":691860,"timestamp":83178586535,"id":83,"parentId":45,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":703080,"timestamp":83178575361,"id":45,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1778891150822,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":694719,"timestamp":83178583988,"id":69,"parentId":30,"tags":{},"startTime":1778891150830,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":705875,"timestamp":83178572874,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1778891150819,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":695986,"timestamp":83178586560,"id":85,"parentId":47,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":707004,"timestamp":83178575586,"id":47,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1778891150822,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":696174,"timestamp":83178586571,"id":86,"parentId":48,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":707114,"timestamp":83178575672,"id":48,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1778891150822,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":696108,"timestamp":83178591771,"id":89,"parentId":31,"tags":{},"startTime":1778891150838,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":714899,"timestamp":83178573027,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1778891150819,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":701710,"timestamp":83178586548,"id":84,"parentId":46,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":712832,"timestamp":83178575467,"id":46,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1778891150822,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":697834,"timestamp":83178590617,"id":88,"parentId":24,"tags":{},"startTime":1778891150837,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":719078,"timestamp":83178569406,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1778891150816,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":718882,"timestamp":83178586403,"id":74,"parentId":36,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":731066,"timestamp":83178574281,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1778891150821,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":721785,"timestamp":83178583719,"id":67,"parentId":28,"tags":{},"startTime":1778891150830,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":732964,"timestamp":83178572569,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1778891150819,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":756829,"timestamp":83178586585,"id":87,"parentId":49,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":766335,"timestamp":83178577182,"id":49,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1778891150823,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":746658,"timestamp":83178597963,"id":90,"parentId":23,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":775525,"timestamp":83178569157,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1778891150815,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":755025,"timestamp":83178598085,"id":96,"parentId":56,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":774551,"timestamp":83178578622,"id":56,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1778891150825,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":768856,"timestamp":83178586526,"id":82,"parentId":44,"tags":{},"startTime":1778891150833,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":780170,"timestamp":83178575264,"id":44,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1778891150822,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":763145,"timestamp":83178598094,"id":97,"parentId":57,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":782406,"timestamp":83178578883,"id":57,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1778891150825,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":780907,"timestamp":83178598128,"id":99,"parentId":60,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":799449,"timestamp":83178579675,"id":60,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1778891150826,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":781180,"timestamp":83178598111,"id":98,"parentId":59,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":799832,"timestamp":83178579513,"id":59,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1778891150826,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":783228,"timestamp":83178598024,"id":92,"parentId":51,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":803664,"timestamp":83178577634,"id":51,"parentId":19,"tags":{"page":"/logs"},"startTime":1778891150824,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":778086,"timestamp":83178608520,"id":101,"parentId":58,"tags":{},"startTime":1778891150855,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":807562,"timestamp":83178579093,"id":58,"parentId":19,"tags":{"page":"/settings"},"startTime":1778891150825,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":763902,"timestamp":83178626223,"id":102,"parentId":55,"tags":{},"startTime":1778891150873,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":811934,"timestamp":83178578230,"id":55,"parentId":19,"tags":{"page":"/"},"startTime":1778891150825,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":793514,"timestamp":83178598147,"id":100,"parentId":61,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":811879,"timestamp":83178579820,"id":61,"parentId":19,"tags":{"page":"/tasks"},"startTime":1778891150826,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":803478,"timestamp":83178598057,"id":94,"parentId":53,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":823689,"timestamp":83178577888,"id":53,"parentId":19,"tags":{"page":"/node"},"startTime":1778891150824,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":806759,"timestamp":83178598038,"id":93,"parentId":52,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":827089,"timestamp":83178577754,"id":52,"parentId":19,"tags":{"page":"/messages"},"startTime":1778891150824,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":813489,"timestamp":83178598072,"id":95,"parentId":54,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":833557,"timestamp":83178578052,"id":54,"parentId":19,"tags":{"page":"/nodes"},"startTime":1778891150824,"traceId":"36bba0dfd023fd49"},{"name":"is-page-static","duration":814763,"timestamp":83178597992,"id":91,"parentId":50,"tags":{},"startTime":1778891150844,"traceId":"36bba0dfd023fd49"},{"name":"check-page","duration":835263,"timestamp":83178577521,"id":50,"parentId":19,"tags":{"page":"/login"},"startTime":1778891150824,"traceId":"36bba0dfd023fd49"},{"name":"static-check","duration":848210,"timestamp":83178564616,"id":19,"parentId":1,"tags":{},"startTime":1778891150811,"traceId":"36bba0dfd023fd49"},{"name":"write-routes-manifest","duration":505,"timestamp":83179421972,"id":104,"parentId":1,"tags":{},"startTime":1778891151668,"traceId":"36bba0dfd023fd49"},{"name":"load-dotenv","duration":48,"timestamp":83179433361,"id":107,"parentId":106,"tags":{},"startTime":1778891151680,"traceId":"36bba0dfd023fd49"},{"name":"run-export-path-map","duration":603,"timestamp":83179436792,"id":108,"parentId":106,"tags":{},"startTime":1778891151683,"traceId":"36bba0dfd023fd49"},{"name":"next-export","duration":596710,"timestamp":83179432058,"id":106,"parentId":1,"tags":{},"startTime":1778891151678,"traceId":"36bba0dfd023fd49"}]
|
|
2
|
+
[{"name":"move-exported-app-not-found-","duration":2875,"timestamp":83180032726,"id":109,"parentId":105,"tags":{},"startTime":1778891152279,"traceId":"36bba0dfd023fd49"},{"name":"move-exported-app-global-error-","duration":1095,"timestamp":83180035696,"id":110,"parentId":105,"tags":{},"startTime":1778891152282,"traceId":"36bba0dfd023fd49"},{"name":"static-generation","duration":612704,"timestamp":83179425977,"id":105,"parentId":1,"tags":{},"startTime":1778891151672,"traceId":"36bba0dfd023fd49"},{"name":"write-routes-manifest","duration":766,"timestamp":83180038918,"id":111,"parentId":1,"tags":{},"startTime":1778891152285,"traceId":"36bba0dfd023fd49"},{"name":"print-tree-view","duration":4490,"timestamp":83180054857,"id":112,"parentId":1,"tags":{},"startTime":1778891152301,"traceId":"36bba0dfd023fd49"},{"name":"write-route-bundle-stats","duration":14782,"timestamp":83180059377,"id":113,"parentId":1,"tags":{},"startTime":1778891152306,"traceId":"36bba0dfd023fd49"},{"name":"telemetry-flush","duration":27302,"timestamp":83180074197,"id":114,"parentId":1,"tags":{},"startTime":1778891152320,"traceId":"36bba0dfd023fd49"},{"name":"next-build","duration":20814475,"timestamp":83159287053,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778891131533,"traceId":"36bba0dfd023fd49"}]
|
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-turbopack","duration":
|
|
1
|
+
[{"name":"run-turbopack","duration":8355713,"timestamp":83159494146,"id":14,"parentId":1,"tags":{},"startTime":1778891131740,"traceId":"36bba0dfd023fd49"},{"name":"turbopack-build-events","duration":81,"timestamp":83159854172,"id":15,"parentId":1,"tags":{},"startTime":1778891132100,"traceId":"36bba0dfd023fd49"},{"name":"run-typescript","duration":10558302,"timestamp":83167858124,"id":16,"parentId":1,"tags":{},"startTime":1778891140104,"traceId":"36bba0dfd023fd49"},{"name":"static-check","duration":848210,"timestamp":83178564616,"id":19,"parentId":1,"tags":{},"startTime":1778891150811,"traceId":"36bba0dfd023fd49"},{"name":"static-generation","duration":612704,"timestamp":83179425977,"id":105,"parentId":1,"tags":{},"startTime":1778891151672,"traceId":"36bba0dfd023fd49"},{"name":"telemetry-flush","duration":27302,"timestamp":83180074197,"id":114,"parentId":1,"tags":{},"startTime":1778891152320,"traceId":"36bba0dfd023fd49"},{"name":"next-build","duration":20814475,"timestamp":83159287053,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778891131533,"traceId":"36bba0dfd023fd49"}]
|
|
@@ -4773,16 +4773,35 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
|
|
|
4773
4773
|
stable as the digit grows. Exit-snap is rare
|
|
4774
4774
|
in steady operation: a hot flow cooling back
|
|
4775
4775
|
below 10 messages doesn't happen often. */}
|
|
4776
|
-
{
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4776
|
+
{/* Round 223 / Loop: hot-tail tspan always-mounts;
|
|
4777
|
+
visibility crossfades via inline opacity gate
|
|
4778
|
+
instead of conditional mount/unmount on hot
|
|
4779
|
+
FlowCount > 0. Pre-R223 R190's anet-fade-in gave
|
|
4780
|
+
a smooth entrance but exit was snap (the family's
|
|
4781
|
+
original "fade-IN smooth, accept exit snap" trade-
|
|
4782
|
+
off). R223 closes the asymmetry — both directions
|
|
4783
|
+
now ease 300ms. anet-fade-in className kept for
|
|
4784
|
+
R190 test compat (plays once on initial render
|
|
4785
|
+
if the page loads with hotFlowCount > 0); subsequent
|
|
4786
|
+
threshold crossings use the opacity transition
|
|
4787
|
+
bi-directionally. Text content gates to empty
|
|
4788
|
+
string when hidden so the parent <text textAnchor=
|
|
4789
|
+
"end"> doesn't compute anchor against stale "·"
|
|
4790
|
+
separator. data-recent-panel-hot-visible exposes
|
|
4791
|
+
the gate for tests. Always-mount-opacity-gate
|
|
4792
|
+
family now hits 10 surfaces (R181/R182/R183/R213×2/
|
|
4793
|
+
R214/R215/R221/R222/R223). */}
|
|
4794
|
+
<tspan
|
|
4795
|
+
fill={hotStroke}
|
|
4796
|
+
fontWeight="700"
|
|
4797
|
+
data-recent-panel-hot-count={hotFlowCount}
|
|
4798
|
+
data-recent-panel-hot-visible={hotFlowCount > 0 ? 'true' : 'false'}
|
|
4799
|
+
className="anet-fade-in"
|
|
4800
|
+
opacity={hotFlowCount > 0 ? 1 : 0}
|
|
4801
|
+
style={{ transition: 'opacity 300ms ease-out' }}
|
|
4802
|
+
>
|
|
4803
|
+
{hotFlowCount > 0 ? ` · ${hotFlowCount} hot` : ''}
|
|
4804
|
+
</tspan>
|
|
4786
4805
|
</text>
|
|
4787
4806
|
);
|
|
4788
4807
|
})()}
|
package/package.json
CHANGED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/* Round 223 verification: recent-signal panel header hot-tail tspan
|
|
2
|
+
* ("· N hot") always-mounts; visibility crossfades via opacity gate
|
|
3
|
+
* instead of conditional mount/unmount on hotFlowCount > 0. R190's
|
|
4
|
+
* anet-fade-in entrance is preserved; R223 makes the EXIT also ease.
|
|
5
|
+
*
|
|
6
|
+
* Test scenarios:
|
|
7
|
+
* A. 0 hot flows (all counts < 10):
|
|
8
|
+
* · tspan IN DOM (always-mount proven)
|
|
9
|
+
* · data-recent-panel-hot-visible='false'
|
|
10
|
+
* · opacity attribute = 0
|
|
11
|
+
* · text content empty (no "· 0 hot" artifact)
|
|
12
|
+
* B. 1 hot flow (count=12):
|
|
13
|
+
* · visible='true', opacity=1
|
|
14
|
+
* · text content matches "· 1 hot"
|
|
15
|
+
* · anet-fade-in className retained for R190 compat
|
|
16
|
+
* Both: inline style.transition includes 'opacity 300ms'.
|
|
17
|
+
*/
|
|
18
|
+
import { chromium } from 'playwright';
|
|
19
|
+
import { readFileSync } from 'node:fs';
|
|
20
|
+
|
|
21
|
+
const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
|
|
22
|
+
const browser = await chromium.launch({ headless: true });
|
|
23
|
+
|
|
24
|
+
async function setup(messages) {
|
|
25
|
+
const ctx = await browser.newContext({ viewport: { width: 1500, height: 1500 } });
|
|
26
|
+
await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
|
|
27
|
+
await ctx.addInitScript(() => {
|
|
28
|
+
try { localStorage.setItem('anet-theme', 'cyber'); sessionStorage.setItem('anet_v3_auth', '1'); } catch {}
|
|
29
|
+
});
|
|
30
|
+
const fresh = new Date(Date.now() - 60 * 1000).toISOString();
|
|
31
|
+
await ctx.route('**/api/hub/status*', async (route) => {
|
|
32
|
+
const r = await route.fetch();
|
|
33
|
+
const b = await r.json();
|
|
34
|
+
const nid = (b.sessions || [])[0]?.network_id || 'default';
|
|
35
|
+
const mk = (alias) => ({
|
|
36
|
+
alias, status: 'working', model: 'claude-opus-4', runtime: 'claude-code-cli',
|
|
37
|
+
network_id: nid, project_dir: null,
|
|
38
|
+
created_at: fresh, updated_at: fresh, last_seen_at: fresh,
|
|
39
|
+
});
|
|
40
|
+
await route.fulfill({ response: r, json: { ...b, sessions: [
|
|
41
|
+
mk('alpha'), mk('beta'), mk('gamma'), mk('delta'),
|
|
42
|
+
] } });
|
|
43
|
+
});
|
|
44
|
+
await ctx.route('**/api/hub/messages*', (r2) => r2.fulfill({ json: { messages } }));
|
|
45
|
+
await ctx.route('**/api/hub/tasks*', (r2) => r2.fulfill({ json: { tasks: [] } }));
|
|
46
|
+
const page = await ctx.newPage();
|
|
47
|
+
await page.goto('http://127.0.0.1:3000/', { waitUntil: 'domcontentloaded' });
|
|
48
|
+
await page.waitForFunction(() => document.querySelectorAll('g[data-node]').length === 4, { timeout: 30000 });
|
|
49
|
+
await page.waitForSelector('[data-recent-panel-hot-count]', { timeout: 10000, state: 'attached' });
|
|
50
|
+
await page.waitForTimeout(400);
|
|
51
|
+
return page;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const probe = async (page) => page.evaluate(() => {
|
|
55
|
+
const tail = document.querySelector('[data-recent-panel-hot-count]');
|
|
56
|
+
if (!tail) return null;
|
|
57
|
+
return {
|
|
58
|
+
present: true,
|
|
59
|
+
visible: tail.getAttribute('data-recent-panel-hot-visible'),
|
|
60
|
+
count: tail.getAttribute('data-recent-panel-hot-count'),
|
|
61
|
+
opacity: parseFloat(tail.getAttribute('opacity') || ''),
|
|
62
|
+
text: tail.textContent,
|
|
63
|
+
className: tail.getAttribute('class') || '',
|
|
64
|
+
transition: tail.style.transition,
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
const now = Date.now();
|
|
69
|
+
|
|
70
|
+
// Scenario A: 0 hot flows — 1 cold flow with 3 messages (still cold, < 10)
|
|
71
|
+
const coldMsgs = [];
|
|
72
|
+
for (let i = 0; i < 3; i++) {
|
|
73
|
+
coldMsgs.push({
|
|
74
|
+
id: `cold${i}`, from_alias: 'alpha', to_alias: 'beta', content: 'hi',
|
|
75
|
+
network_id: 'default', created_at: new Date(now - (1000 + i * 50)).toISOString(),
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
const pageA = await setup(coldMsgs);
|
|
79
|
+
const probeA = await probe(pageA);
|
|
80
|
+
await pageA.close();
|
|
81
|
+
|
|
82
|
+
// Scenario B: 1 hot flow — 12 messages from alpha to beta
|
|
83
|
+
const hotMsgs = [];
|
|
84
|
+
for (let i = 0; i < 12; i++) {
|
|
85
|
+
hotMsgs.push({
|
|
86
|
+
id: `hot${i}`, from_alias: 'alpha', to_alias: 'beta', content: 'hi',
|
|
87
|
+
network_id: 'default', created_at: new Date(now - (1000 + i * 50)).toISOString(),
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
const pageB = await setup(hotMsgs);
|
|
91
|
+
const probeB = await probe(pageB);
|
|
92
|
+
await pageB.close();
|
|
93
|
+
await browser.close();
|
|
94
|
+
|
|
95
|
+
const results = {
|
|
96
|
+
// A: 0 hot flows — tspan in DOM but hidden
|
|
97
|
+
A_present_in_dom: probeA?.present === true,
|
|
98
|
+
A_visible_false: probeA?.visible === 'false',
|
|
99
|
+
A_opacity_0: probeA?.opacity === 0,
|
|
100
|
+
A_text_empty: probeA?.text === '' || probeA?.text === null,
|
|
101
|
+
A_count_attr_0: probeA?.count === '0',
|
|
102
|
+
A_has_transition: /opacity\s+(?:300ms|0\.3s)/.test(probeA?.transition || ''),
|
|
103
|
+
|
|
104
|
+
// B: 1 hot flow — visible
|
|
105
|
+
B_present_in_dom: probeB?.present === true,
|
|
106
|
+
B_visible_true: probeB?.visible === 'true',
|
|
107
|
+
B_opacity_1: probeB?.opacity === 1,
|
|
108
|
+
B_text_one_hot: /·\s*1\s*hot/.test(probeB?.text || ''),
|
|
109
|
+
B_count_attr_1: probeB?.count === '1',
|
|
110
|
+
B_fade_class_present: (probeB?.className || '').split(/\s+/).includes('anet-fade-in'),
|
|
111
|
+
B_has_transition: /opacity\s+(?:300ms|0\.3s)/.test(probeB?.transition || ''),
|
|
112
|
+
};
|
|
113
|
+
const ok = Object.values(results).every(Boolean);
|
|
114
|
+
console.log(`${ok ? '✅' : '❌'} hot-tail crossfade:`, JSON.stringify(results),
|
|
115
|
+
`\n probeA (0 hot):`, probeA,
|
|
116
|
+
`\n probeB (1 hot):`, probeB);
|
|
117
|
+
process.exit(ok ? 0 : 1);
|
|
@@ -63,6 +63,11 @@ async function run(scenario) {
|
|
|
63
63
|
tailText: tail?.textContent || null,
|
|
64
64
|
tailCount: tail?.getAttribute('data-recent-panel-hot-count'),
|
|
65
65
|
tailClassName: tail?.getAttribute('class') || '',
|
|
66
|
+
// R223 added: visibility attribute for always-mount-with-opacity-
|
|
67
|
+
// gate. "no tail" is either tailPresent=false (legacy conditional
|
|
68
|
+
// mount, no longer current) OR tailVisible='false' (R223 always-
|
|
69
|
+
// mount with opacity 0).
|
|
70
|
+
tailVisible: tail?.getAttribute('data-recent-panel-hot-visible'),
|
|
66
71
|
};
|
|
67
72
|
});
|
|
68
73
|
await page.close();
|
|
@@ -106,7 +111,10 @@ const c = await run((now) => {
|
|
|
106
111
|
await browser.close();
|
|
107
112
|
|
|
108
113
|
const results = {
|
|
109
|
-
|
|
114
|
+
// R223 update: hot-tail is always-mounted now with opacity-gate;
|
|
115
|
+
// "no tail" means either not in DOM (legacy) OR present-but-hidden
|
|
116
|
+
// (always-mount visible='false'). Accept both forms.
|
|
117
|
+
a_no_tail: a.tailPresent === false || a.tailVisible === 'false',
|
|
110
118
|
b_tail_present: b.tailPresent === true,
|
|
111
119
|
b_tail_text: /·\s*1\s*hot/.test(b.tailText || ''),
|
|
112
120
|
b_tail_count_1: b.tailCount === '1',
|
|
File without changes
|
/package/.next/static/{BSaC8HgzaPhvOieeDUgr4 → PlMtcchhXzRUtoCwFkKzU}/_clientMiddlewareManifest.js
RENAMED
|
File without changes
|
|
File without changes
|