@sleep2agi/agent-network-dashboard 0.5.3-preview.227 → 0.5.3-preview.229
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 +3 -3
- 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/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- 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 +2 -2
- package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin.html +2 -2
- package/.next/server/app/admin.rsc +2 -2
- package/.next/server/app/admin.segments/_full.segment.rsc +2 -2
- package/.next/server/app/admin.segments/_head.segment.rsc +1 -1
- package/.next/server/app/admin.segments/_index.segment.rsc +2 -2
- package/.next/server/app/admin.segments/_tree.segment.rsc +2 -2
- 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 +3 -3
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +3 -3
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +2 -2
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- 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 +3 -3
- package/.next/server/app/login.segments/_full.segment.rsc +3 -3
- package/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/.next/server/app/login.segments/_index.segment.rsc +2 -2
- package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- 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/page_client-reference-manifest.js +1 -1
- package/.next/server/app/logs.html +2 -2
- package/.next/server/app/logs.rsc +2 -2
- package/.next/server/app/logs.segments/_full.segment.rsc +2 -2
- package/.next/server/app/logs.segments/_head.segment.rsc +1 -1
- package/.next/server/app/logs.segments/_index.segment.rsc +2 -2
- package/.next/server/app/logs.segments/_tree.segment.rsc +2 -2
- 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/page_client-reference-manifest.js +1 -1
- package/.next/server/app/messages.html +2 -2
- package/.next/server/app/messages.rsc +2 -2
- package/.next/server/app/messages.segments/_full.segment.rsc +2 -2
- package/.next/server/app/messages.segments/_head.segment.rsc +1 -1
- package/.next/server/app/messages.segments/_index.segment.rsc +2 -2
- package/.next/server/app/messages.segments/_tree.segment.rsc +2 -2
- 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/page_client-reference-manifest.js +1 -1
- package/.next/server/app/node.html +2 -2
- package/.next/server/app/node.rsc +2 -2
- package/.next/server/app/node.segments/_full.segment.rsc +2 -2
- package/.next/server/app/node.segments/_head.segment.rsc +1 -1
- package/.next/server/app/node.segments/_index.segment.rsc +2 -2
- package/.next/server/app/node.segments/_tree.segment.rsc +2 -2
- 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/page_client-reference-manifest.js +1 -1
- package/.next/server/app/nodes.html +2 -2
- package/.next/server/app/nodes.rsc +2 -2
- package/.next/server/app/nodes.segments/_full.segment.rsc +2 -2
- package/.next/server/app/nodes.segments/_head.segment.rsc +1 -1
- package/.next/server/app/nodes.segments/_index.segment.rsc +2 -2
- package/.next/server/app/nodes.segments/_tree.segment.rsc +2 -2
- 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/page_client-reference-manifest.js +1 -1
- package/.next/server/app/server-logs.html +2 -2
- package/.next/server/app/server-logs.rsc +2 -2
- package/.next/server/app/server-logs.segments/_full.segment.rsc +2 -2
- package/.next/server/app/server-logs.segments/_head.segment.rsc +1 -1
- package/.next/server/app/server-logs.segments/_index.segment.rsc +2 -2
- package/.next/server/app/server-logs.segments/_tree.segment.rsc +2 -2
- 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/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/networks.html +2 -2
- package/.next/server/app/settings/networks.rsc +2 -2
- package/.next/server/app/settings/networks.segments/_full.segment.rsc +2 -2
- package/.next/server/app/settings/networks.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings/networks.segments/_index.segment.rsc +2 -2
- package/.next/server/app/settings/networks.segments/_tree.segment.rsc +2 -2
- 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/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/tokens.html +2 -2
- package/.next/server/app/settings/tokens.rsc +2 -2
- package/.next/server/app/settings/tokens.segments/_full.segment.rsc +2 -2
- package/.next/server/app/settings/tokens.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings/tokens.segments/_index.segment.rsc +2 -2
- package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +2 -2
- 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 +3 -3
- package/.next/server/app/settings.segments/_full.segment.rsc +3 -3
- package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_index.segment.rsc +2 -2
- package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- 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/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/tasks/page_client-reference-manifest.js +1 -1
- package/.next/server/app/tasks.html +2 -2
- package/.next/server/app/tasks.rsc +2 -2
- package/.next/server/app/tasks.segments/_full.segment.rsc +2 -2
- package/.next/server/app/tasks.segments/_head.segment.rsc +1 -1
- package/.next/server/app/tasks.segments/_index.segment.rsc +2 -2
- package/.next/server/app/tasks.segments/_tree.segment.rsc +2 -2
- 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_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 +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/static/chunks/{0938p5zyfm5nl.js → 0bqq8dstxh66j.js} +1 -1
- package/.next/static/chunks/{131o0~lv2gke7.css → 0fcch25_x_e6k.css} +1 -1
- package/.next/static/chunks/{0j.nxo16cg0ru.js → 0pdwsgyf~.m_d.js} +1 -1
- package/.next/static/chunks/{0u4gfbps37fa6.js → 0q4hyhog1xlu5.js} +1 -1
- package/.next/trace +2 -2
- package/.next/trace-build +1 -1
- package/app/globals.css +60 -4
- package/package.json +1 -1
- package/scripts/topo-kicker-dual-axis-breath-test.mjs +81 -0
- package/scripts/topo-zoom-level-dual-axis-breath-test.mjs +83 -0
- /package/.next/static/{nVtWyWbh0TY-GyMqekUwZ → 6SQZZr8r5FJtc-LkvB3i8}/_buildManifest.js +0 -0
- /package/.next/static/{nVtWyWbh0TY-GyMqekUwZ → 6SQZZr8r5FJtc-LkvB3i8}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{nVtWyWbh0TY-GyMqekUwZ → 6SQZZr8r5FJtc-LkvB3i8}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70286,e=>{"use strict";e.s(["DASHBOARD_VERSION",0,"0.5.3-preview.
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70286,e=>{"use strict";e.s(["DASHBOARD_VERSION",0,"0.5.3-preview.228"],70286)},48941,e=>{"use strict";var t=e.i(22381),r=e.i(23910),a=e.i(70286);e.s(["default",0,function(){let[e,s]=(0,r.useState)("login"),[n,o]=(0,r.useState)(""),[i,l]=(0,r.useState)(""),[c,d]=(0,r.useState)(!1),[x,g]=(0,r.useState)(""),[h,m]=(0,r.useState)(!1),u=async t=>{t.preventDefault(),m(!0),g("");try{let t=await fetch("/api/auth/v3",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:e,username:n,password:i})}),r=await t.json();if(r.ok){r.token&&sessionStorage.setItem("anet_v3_auth",JSON.stringify({user:r.user,token:r.token,networks:r.networks||[],currentNetwork:r.network_id||r.networks?.[0]?.network_id||""})),window.location.assign("/");return}g(r.error||"Login failed")}catch{g("Connection failed")}m(!1)};return(0,t.jsxs)("main",{className:"min-h-screen bg-[#0a0a1a] text-gray-100 font-mono flex items-center justify-center relative overflow-hidden px-4 py-10 sm:py-16",children:[(0,t.jsx)("div",{className:"absolute inset-0 pointer-events-none anet-login-bg","aria-hidden":!0}),(0,t.jsxs)("div",{className:"relative w-full max-w-sm",children:[(0,t.jsxs)("div",{className:"text-center mb-7",children:[(0,t.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-4 rounded-2xl bg-[#111128] border border-[#2a2a4a] anet-login-mark",children:(0,t.jsxs)("svg",{className:"w-9 h-9",viewBox:"0 0 32 32","aria-hidden":!0,children:[(0,t.jsx)("circle",{cx:"16",cy:"16",r:"10",fill:"none",stroke:"currentColor",strokeWidth:"1.5",opacity:"0.25",className:"text-cyan-400 anet-login-mark-ring"}),(0,t.jsx)("line",{x1:"16",y1:"10",x2:"10",y2:"20",stroke:"currentColor",strokeWidth:"1",opacity:"0.5",className:"text-cyan-400 anet-login-mark-edge"}),(0,t.jsx)("line",{x1:"16",y1:"10",x2:"22",y2:"20",stroke:"currentColor",strokeWidth:"1",opacity:"0.5",className:"text-cyan-400 anet-login-mark-edge"}),(0,t.jsx)("line",{x1:"10",y1:"20",x2:"22",y2:"20",stroke:"currentColor",strokeWidth:"1",opacity:"0.5",className:"text-cyan-400 anet-login-mark-edge"}),(0,t.jsx)("circle",{cx:"16",cy:"10",r:"3",fill:"currentColor",className:"text-cyan-400 anet-login-mark-node-a"}),(0,t.jsx)("circle",{cx:"10",cy:"20",r:"3",fill:"currentColor",className:"text-green-400 anet-login-mark-node-b"}),(0,t.jsx)("circle",{cx:"22",cy:"20",r:"3",fill:"currentColor",className:"text-violet-400 anet-login-mark-node-c"})]})}),(0,t.jsx)("h1",{className:"text-[22px] sm:text-2xl font-semibold text-white tracking-tight",children:"Agent Network"}),(0,t.jsx)("p",{className:"text-[13px] text-gray-500 mt-1.5 leading-snug",children:"login"===e?(0,t.jsxs)(t.Fragment,{children:["Welcome back · ",(0,t.jsx)("span",{className:"text-gray-600",children:"Tasks · Mesh · Messages"})]}):(0,t.jsxs)(t.Fragment,{children:["Create your account · ",(0,t.jsx)("span",{className:"text-gray-600",children:"Free preview · no credit card"})]})})]}),(0,t.jsx)("div",{className:"flex rounded-lg border border-[#2a2a4a] bg-[#111128] p-1 mb-4",children:["login","register"].map(r=>(0,t.jsx)("button",{type:"button",onClick:()=>{s(r),g("")},className:`flex-1 rounded-md px-3 py-2 text-sm transition-colors ${e===r?"bg-cyan-500/10 text-cyan-300":"text-gray-500 hover:text-gray-200"}`,children:"login"===r?"Sign in":"Register"},r))}),(0,t.jsxs)("form",{onSubmit:u,className:"border border-[#2a2a4a] bg-[#111128]/80 backdrop-blur-sm rounded-xl p-6 shadow-2xl shadow-black/30",children:[(0,t.jsx)("label",{htmlFor:"username",className:"block text-xs text-gray-500 mb-2 uppercase tracking-wider",children:"Username"}),(0,t.jsx)("input",{id:"username",type:"text",value:n,onChange:e=>o(e.target.value),autoFocus:!0,placeholder:"Enter username",className:"w-full bg-[#0a0a15] border border-[#2a2a4a] rounded-lg px-4 py-3 text-sm text-white placeholder-gray-600 focus:border-cyan-500/50 focus:ring-1 focus:ring-cyan-500/20 focus:outline-none transition-all mb-4"}),(0,t.jsx)("label",{htmlFor:"password",className:"block text-xs text-gray-500 mb-2 uppercase tracking-wider",children:"Password"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("input",{id:"password",type:c?"text":"password",value:i,onChange:e=>l(e.target.value),placeholder:"Enter password",className:"w-full bg-[#0a0a15] border border-[#2a2a4a] rounded-lg px-4 pr-11 py-3 text-sm text-white placeholder-gray-600 focus:border-cyan-500/50 focus:ring-1 focus:ring-cyan-500/20 focus:outline-none transition-all"}),(0,t.jsx)("button",{type:"button",onClick:()=>d(e=>!e),tabIndex:-1,"aria-label":c?"Hide password":"Show password",className:"absolute inset-y-0 right-0 flex items-center px-3 text-gray-600 hover:text-gray-300 transition-colors",children:c?(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),(0,t.jsx)("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})})]}),x&&(0,t.jsx)("div",{className:"mt-3 text-sm text-red-300 bg-red-500/5 border border-red-500/10 rounded-lg px-3 py-2",children:x}),(0,t.jsxs)("button",{type:"submit",disabled:h||!i||!n.trim(),className:"mt-5 w-full flex items-center justify-center gap-2 px-4 py-3 bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-500 hover:to-blue-500 disabled:from-gray-800 disabled:to-gray-800 disabled:text-gray-600 text-white text-sm font-medium rounded-lg transition-all shadow-lg shadow-cyan-500/10 hover:shadow-cyan-500/20 disabled:shadow-none",children:[h&&(0,t.jsxs)("svg",{"aria-hidden":!0,className:"w-4 h-4 animate-spin",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",opacity:"0.25"}),(0,t.jsx)("path",{d:"M4 12a8 8 0 018-8",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round"})]}),(0,t.jsx)("span",{children:h?"login"===e?"Signing in…":"Registering…":"login"===e?"Sign in":"Create account"})]})]}),(0,t.jsxs)("p",{className:"text-center text-[11px] text-gray-700 mt-6",children:["Sleep2AGI · Apache-2.0 · ",(0,t.jsx)("a",{href:"https://anet.sh",className:"hover:text-gray-500 transition-colors",children:"anet.sh"}),(0,t.jsx)("span",{className:"mx-1 text-gray-800",children:"·"}),(0,t.jsxs)("span",{className:"font-mono",title:"@sleep2agi/agent-network-dashboard",children:["v",a.DASHBOARD_VERSION]})]})]})]})}])}]);
|
|
@@ -1 +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.226"],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.228"],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":276,"timestamp":405914059714,"id":4,"parentId":1,"tags":{},"startTime":1779213886306,"traceId":"6c413b9c7969b3d1"},{"name":"load-custom-routes","duration":454,"timestamp":405914060151,"id":5,"parentId":1,"tags":{},"startTime":1779213886306,"traceId":"6c413b9c7969b3d1"},{"name":"create-dist-dir","duration":687,"timestamp":405914060646,"id":6,"parentId":1,"tags":{},"startTime":1779213886307,"traceId":"6c413b9c7969b3d1"},{"name":"clean","duration":38570,"timestamp":405914062150,"id":7,"parentId":1,"tags":{},"startTime":1779213886308,"traceId":"6c413b9c7969b3d1"},{"name":"discover-routes","duration":14912,"timestamp":405914203844,"id":8,"parentId":1,"tags":{},"startTime":1779213886450,"traceId":"6c413b9c7969b3d1"},{"name":"create-root-mapping","duration":223,"timestamp":405914218843,"id":9,"parentId":1,"tags":{},"startTime":1779213886465,"traceId":"6c413b9c7969b3d1"},{"name":"generate-route-types","duration":40637,"timestamp":405914222235,"id":10,"parentId":1,"tags":{},"startTime":1779213886469,"traceId":"6c413b9c7969b3d1"},{"name":"public-dir-conflict-check","duration":167,"timestamp":405914262968,"id":11,"parentId":1,"tags":{},"startTime":1779213886509,"traceId":"6c413b9c7969b3d1"},{"name":"generate-routes-manifest","duration":5470,"timestamp":405914263325,"id":12,"parentId":1,"tags":{},"startTime":1779213886510,"traceId":"6c413b9c7969b3d1"},{"name":"run-turbopack","duration":6831684,"timestamp":405914275078,"id":14,"parentId":1,"tags":{},"startTime":1779213886521,"traceId":"6c413b9c7969b3d1"},{"name":"turbopack-build-events","duration":99,"timestamp":405914573733,"id":15,"parentId":1,"tags":{},"startTime":1779213886820,"traceId":"6c413b9c7969b3d1"},{"name":"run-typescript","duration":10994283,"timestamp":405921118746,"id":16,"parentId":1,"tags":{},"startTime":1779213893365,"traceId":"6c413b9c7969b3d1"},{"name":"generate-required-server-files","duration":5543,"timestamp":405932115091,"id":18,"parentId":1,"tags":{},"startTime":1779213904361,"traceId":"6c413b9c7969b3d1"},{"name":"check-static-error-page","duration":14755,"timestamp":405932323477,"id":20,"parentId":19,"tags":{},"startTime":1779213904570,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":711730,"timestamp":405932342727,"id":65,"parentId":22,"tags":{},"startTime":1779213904589,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":728342,"timestamp":405932326270,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1779213904573,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":715315,"timestamp":405932343079,"id":67,"parentId":26,"tags":{},"startTime":1779213904589,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":729204,"timestamp":405932329284,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1779213904576,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":749561,"timestamp":405932343915,"id":72,"parentId":32,"tags":{},"startTime":1779213904590,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":763485,"timestamp":405932330083,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1779213904576,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":755849,"timestamp":405932344114,"id":73,"parentId":33,"tags":{},"startTime":1779213904590,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":769843,"timestamp":405932330222,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1779213904576,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":763825,"timestamp":405932343233,"id":68,"parentId":27,"tags":{},"startTime":1779213904590,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":777811,"timestamp":405932329375,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1779213904576,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":797453,"timestamp":405932347671,"id":74,"parentId":34,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":814890,"timestamp":405932330343,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1779213904577,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":802264,"timestamp":405932343372,"id":69,"parentId":28,"tags":{},"startTime":1779213904590,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":816243,"timestamp":405932329461,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1779213904576,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":798406,"timestamp":405932347707,"id":75,"parentId":35,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":815671,"timestamp":405932330487,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1779213904577,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":804143,"timestamp":405932342262,"id":64,"parentId":21,"tags":{},"startTime":1779213904589,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":821724,"timestamp":405932324722,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1779213904571,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":802953,"timestamp":405932343674,"id":70,"parentId":29,"tags":{},"startTime":1779213904590,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":817076,"timestamp":405932329582,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1779213904576,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":810009,"timestamp":405932347766,"id":77,"parentId":37,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":826862,"timestamp":405932330983,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1779213904577,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":811900,"timestamp":405932347730,"id":76,"parentId":36,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":828834,"timestamp":405932330855,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1779213904577,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":812280,"timestamp":405932347783,"id":78,"parentId":38,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":828990,"timestamp":405932331119,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1779213904577,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":829692,"timestamp":405932347822,"id":82,"parentId":44,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":845706,"timestamp":405932331887,"id":44,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1779213904578,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":831556,"timestamp":405932347835,"id":83,"parentId":45,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":847060,"timestamp":405932332387,"id":45,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1779213904579,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":836659,"timestamp":405932347858,"id":85,"parentId":47,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":850291,"timestamp":405932334282,"id":47,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1779213904581,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":842527,"timestamp":405932347866,"id":86,"parentId":48,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":856026,"timestamp":405932334437,"id":48,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1779213904581,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":847164,"timestamp":405932347879,"id":87,"parentId":49,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":860510,"timestamp":405932334588,"id":49,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1779213904581,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":854074,"timestamp":405932347891,"id":88,"parentId":50,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":867328,"timestamp":405932334715,"id":50,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1779213904581,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":854429,"timestamp":405932347803,"id":80,"parentId":40,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":871012,"timestamp":405932331251,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1779213904578,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":856992,"timestamp":405932347899,"id":89,"parentId":51,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":870108,"timestamp":405932334830,"id":51,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1779213904581,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":849649,"timestamp":405932359971,"id":91,"parentId":31,"tags":{},"startTime":1779213904606,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":879836,"timestamp":405932329828,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1779213904576,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":864461,"timestamp":405932347847,"id":84,"parentId":46,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":878280,"timestamp":405932334091,"id":46,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1779213904580,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":852909,"timestamp":405932365923,"id":93,"parentId":43,"tags":{},"startTime":1779213904612,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":887261,"timestamp":405932331623,"id":43,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1779213904578,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":860710,"timestamp":405932364703,"id":92,"parentId":41,"tags":{},"startTime":1779213904611,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":894174,"timestamp":405932331311,"id":41,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/agents"},"startTime":1779213904578,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":891372,"timestamp":405932342890,"id":66,"parentId":25,"tags":{},"startTime":1779213904589,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":905176,"timestamp":405932329153,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1779213904575,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":890161,"timestamp":405932351065,"id":90,"parentId":24,"tags":{},"startTime":1779213904597,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":914372,"timestamp":405932326909,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1779213904573,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":893625,"timestamp":405932347815,"id":81,"parentId":42,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":909962,"timestamp":405932331511,"id":42,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/health"},"startTime":1779213904578,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":896650,"timestamp":405932347792,"id":79,"parentId":39,"tags":{},"startTime":1779213904594,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":913311,"timestamp":405932331187,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1779213904577,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":902809,"timestamp":405932343849,"id":71,"parentId":30,"tags":{},"startTime":1779213904590,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":916986,"timestamp":405932329732,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1779213904576,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":882944,"timestamp":405932370156,"id":99,"parentId":56,"tags":{},"startTime":1779213904616,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":917281,"timestamp":405932335877,"id":56,"parentId":19,"tags":{"page":"/nodes"},"startTime":1779213904582,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":895099,"timestamp":405932370271,"id":101,"parentId":59,"tags":{},"startTime":1779213904617,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":928396,"timestamp":405932337058,"id":59,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1779213904583,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":903856,"timestamp":405932370289,"id":102,"parentId":61,"tags":{},"startTime":1779213904617,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":936571,"timestamp":405932337674,"id":61,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1779213904584,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":910664,"timestamp":405932370071,"id":94,"parentId":23,"tags":{},"startTime":1779213904616,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":954152,"timestamp":405932326647,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1779213904573,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":919624,"timestamp":405932370297,"id":103,"parentId":62,"tags":{},"startTime":1779213904617,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":952169,"timestamp":405932337821,"id":62,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1779213904584,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":922008,"timestamp":405932370308,"id":104,"parentId":63,"tags":{},"startTime":1779213904617,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":954416,"timestamp":405932337978,"id":63,"parentId":19,"tags":{"page":"/tasks"},"startTime":1779213904584,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":909382,"timestamp":405932389550,"id":105,"parentId":57,"tags":{},"startTime":1779213904636,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":962784,"timestamp":405932336208,"id":57,"parentId":19,"tags":{"page":"/"},"startTime":1779213904582,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":890907,"timestamp":405932409149,"id":106,"parentId":60,"tags":{},"startTime":1779213904655,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":962853,"timestamp":405932337250,"id":60,"parentId":19,"tags":{"page":"/settings"},"startTime":1779213904584,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":937583,"timestamp":405932370111,"id":95,"parentId":52,"tags":{},"startTime":1779213904616,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":972579,"timestamp":405932335167,"id":52,"parentId":19,"tags":{"page":"/login"},"startTime":1779213904581,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":955728,"timestamp":405932370164,"id":100,"parentId":58,"tags":{},"startTime":1779213904616,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":989182,"timestamp":405932336801,"id":58,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1779213904583,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":962813,"timestamp":405932370120,"id":96,"parentId":53,"tags":{},"startTime":1779213904616,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":997698,"timestamp":405932335297,"id":53,"parentId":19,"tags":{"page":"/logs"},"startTime":1779213904582,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":968905,"timestamp":405932370145,"id":98,"parentId":55,"tags":{},"startTime":1779213904616,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":1003458,"timestamp":405932335664,"id":55,"parentId":19,"tags":{"page":"/node"},"startTime":1779213904582,"traceId":"6c413b9c7969b3d1"},{"name":"is-page-static","duration":972190,"timestamp":405932370133,"id":97,"parentId":54,"tags":{},"startTime":1779213904616,"traceId":"6c413b9c7969b3d1"},{"name":"check-page","duration":1006943,"timestamp":405932335465,"id":54,"parentId":19,"tags":{"page":"/messages"},"startTime":1779213904582,"traceId":"6c413b9c7969b3d1"},{"name":"static-check","duration":1020018,"timestamp":405932322441,"id":19,"parentId":1,"tags":{},"startTime":1779213904569,"traceId":"6c413b9c7969b3d1"}]
|
|
2
|
-
[{"name":"write-routes-manifest","duration":
|
|
1
|
+
[{"name":"generate-buildid","duration":296,"timestamp":407708592583,"id":4,"parentId":1,"tags":{},"startTime":1779215680839,"traceId":"1befadf52de0104e"},{"name":"load-custom-routes","duration":479,"timestamp":407708593053,"id":5,"parentId":1,"tags":{},"startTime":1779215680839,"traceId":"1befadf52de0104e"},{"name":"create-dist-dir","duration":1015,"timestamp":407708593576,"id":6,"parentId":1,"tags":{},"startTime":1779215680840,"traceId":"1befadf52de0104e"},{"name":"clean","duration":39674,"timestamp":407708595841,"id":7,"parentId":1,"tags":{},"startTime":1779215680842,"traceId":"1befadf52de0104e"},{"name":"discover-routes","duration":25303,"timestamp":407708728206,"id":8,"parentId":1,"tags":{},"startTime":1779215680974,"traceId":"1befadf52de0104e"},{"name":"create-root-mapping","duration":139,"timestamp":407708753579,"id":9,"parentId":1,"tags":{},"startTime":1779215681000,"traceId":"1befadf52de0104e"},{"name":"generate-route-types","duration":20073,"timestamp":407708756746,"id":10,"parentId":1,"tags":{},"startTime":1779215681003,"traceId":"1befadf52de0104e"},{"name":"public-dir-conflict-check","duration":138,"timestamp":407708776913,"id":11,"parentId":1,"tags":{},"startTime":1779215681023,"traceId":"1befadf52de0104e"},{"name":"generate-routes-manifest","duration":5114,"timestamp":407708777185,"id":12,"parentId":1,"tags":{},"startTime":1779215681023,"traceId":"1befadf52de0104e"},{"name":"run-turbopack","duration":6865511,"timestamp":407708787784,"id":14,"parentId":1,"tags":{},"startTime":1779215681034,"traceId":"1befadf52de0104e"},{"name":"turbopack-build-events","duration":101,"timestamp":407709122773,"id":15,"parentId":1,"tags":{},"startTime":1779215681369,"traceId":"1befadf52de0104e"},{"name":"run-typescript","duration":10560136,"timestamp":407715661656,"id":16,"parentId":1,"tags":{},"startTime":1779215687908,"traceId":"1befadf52de0104e"},{"name":"generate-required-server-files","duration":2987,"timestamp":407726222912,"id":18,"parentId":1,"tags":{},"startTime":1779215698469,"traceId":"1befadf52de0104e"},{"name":"check-static-error-page","duration":14484,"timestamp":407726447472,"id":20,"parentId":19,"tags":{},"startTime":1779215698694,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":465095,"timestamp":407726465429,"id":65,"parentId":22,"tags":{},"startTime":1779215698712,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":480410,"timestamp":407726450288,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1779215698697,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":615743,"timestamp":407726465598,"id":67,"parentId":26,"tags":{},"startTime":1779215698712,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":628108,"timestamp":407726453484,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1779215698700,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":619482,"timestamp":407726466217,"id":71,"parentId":30,"tags":{},"startTime":1779215698712,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":631698,"timestamp":407726454082,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1779215698700,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":632206,"timestamp":407726466285,"id":72,"parentId":32,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":643968,"timestamp":407726454599,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1779215698701,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":638345,"timestamp":407726466553,"id":74,"parentId":34,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":650104,"timestamp":407726454857,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1779215698701,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":644586,"timestamp":407726466586,"id":75,"parentId":35,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":656260,"timestamp":407726454979,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1779215698701,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":661338,"timestamp":407726465132,"id":64,"parentId":21,"tags":{},"startTime":1779215698711,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":677755,"timestamp":407726448790,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1779215698695,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":661983,"timestamp":407726465669,"id":68,"parentId":27,"tags":{},"startTime":1779215698712,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":675920,"timestamp":407726453625,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1779215698700,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":663355,"timestamp":407726466473,"id":73,"parentId":33,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":675154,"timestamp":407726454738,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1779215698701,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":663486,"timestamp":407726466609,"id":76,"parentId":36,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":674613,"timestamp":407726455515,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1779215698702,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":666909,"timestamp":407726466654,"id":78,"parentId":38,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":677767,"timestamp":407726455840,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1779215698702,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":671293,"timestamp":407726466679,"id":80,"parentId":40,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":682016,"timestamp":407726456083,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1779215698702,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":675968,"timestamp":407726466701,"id":82,"parentId":44,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":685049,"timestamp":407726457662,"id":44,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1779215698704,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":679941,"timestamp":407726466050,"id":70,"parentId":29,"tags":{},"startTime":1779215698712,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":692158,"timestamp":407726453895,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1779215698700,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":680985,"timestamp":407726466715,"id":83,"parentId":45,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":689950,"timestamp":407726457788,"id":45,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1779215698704,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":686611,"timestamp":407726465528,"id":66,"parentId":25,"tags":{},"startTime":1779215698712,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":698912,"timestamp":407726453275,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1779215698700,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":686538,"timestamp":407726466739,"id":85,"parentId":47,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":693984,"timestamp":407726459353,"id":47,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1779215698706,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":690929,"timestamp":407726466767,"id":87,"parentId":49,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":698203,"timestamp":407726459529,"id":49,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1779215698706,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":695504,"timestamp":407726466776,"id":88,"parentId":50,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":702725,"timestamp":407726459595,"id":50,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1779215698706,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":702862,"timestamp":407726466788,"id":89,"parentId":51,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":710167,"timestamp":407726459645,"id":51,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1779215698706,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":708198,"timestamp":407726465770,"id":69,"parentId":28,"tags":{},"startTime":1779215698712,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":720281,"timestamp":407726453755,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1779215698700,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":712989,"timestamp":407726466730,"id":84,"parentId":46,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":721923,"timestamp":407726457866,"id":46,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1779215698704,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":713967,"timestamp":407726466689,"id":81,"parentId":42,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":723442,"timestamp":407726457274,"id":42,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/health"},"startTime":1779215698704,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":711437,"timestamp":407726471277,"id":91,"parentId":31,"tags":{},"startTime":1779215698718,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":728498,"timestamp":407726454258,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1779215698701,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":719317,"timestamp":407726466667,"id":79,"parentId":39,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":730131,"timestamp":407726455950,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1779215698702,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":717973,"timestamp":407726470099,"id":90,"parentId":24,"tags":{},"startTime":1779215698716,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":737405,"timestamp":407726450710,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1779215698697,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":723502,"timestamp":407726466753,"id":86,"parentId":48,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":730847,"timestamp":407726459450,"id":48,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1779215698706,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":736237,"timestamp":407726473471,"id":93,"parentId":43,"tags":{},"startTime":1779215698720,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":752364,"timestamp":407726457417,"id":43,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1779215698704,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":740421,"timestamp":407726472154,"id":92,"parentId":41,"tags":{},"startTime":1779215698718,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":756455,"timestamp":407726456201,"id":41,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/agents"},"startTime":1779215698702,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":772690,"timestamp":407726466640,"id":77,"parentId":37,"tags":{},"startTime":1779215698713,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":783721,"timestamp":407726455707,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1779215698702,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":775957,"timestamp":407726477538,"id":100,"parentId":58,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":792590,"timestamp":407726460986,"id":58,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1779215698707,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":788091,"timestamp":407726477651,"id":101,"parentId":59,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":804690,"timestamp":407726461180,"id":59,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1779215698707,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":797437,"timestamp":407726477497,"id":97,"parentId":54,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":814872,"timestamp":407726460176,"id":54,"parentId":19,"tags":{"page":"/messages"},"startTime":1779215698706,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":797874,"timestamp":407726477670,"id":102,"parentId":61,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":813994,"timestamp":407726461597,"id":61,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1779215698708,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":798407,"timestamp":407726477515,"id":98,"parentId":55,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":815653,"timestamp":407726460315,"id":55,"parentId":19,"tags":{"page":"/node"},"startTime":1779215698707,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":799952,"timestamp":407726477528,"id":99,"parentId":56,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":817055,"timestamp":407726460466,"id":56,"parentId":19,"tags":{"page":"/nodes"},"startTime":1779215698707,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":797112,"timestamp":407726486746,"id":105,"parentId":60,"tags":{},"startTime":1779215698733,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":822599,"timestamp":407726461304,"id":60,"parentId":19,"tags":{"page":"/settings"},"startTime":1779215698708,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":806291,"timestamp":407726477697,"id":104,"parentId":63,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":822245,"timestamp":407726461788,"id":63,"parentId":19,"tags":{"page":"/tasks"},"startTime":1779215698708,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":787562,"timestamp":407726500412,"id":106,"parentId":57,"tags":{},"startTime":1779215698747,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":827411,"timestamp":407726460625,"id":57,"parentId":19,"tags":{"page":"/"},"startTime":1779215698707,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":813654,"timestamp":407726477679,"id":103,"parentId":62,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":829702,"timestamp":407726461691,"id":62,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1779215698708,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":816449,"timestamp":407726477483,"id":96,"parentId":53,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":833908,"timestamp":407726460057,"id":53,"parentId":19,"tags":{"page":"/logs"},"startTime":1779215698706,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":817919,"timestamp":407726477472,"id":95,"parentId":52,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":835503,"timestamp":407726459915,"id":52,"parentId":19,"tags":{"page":"/login"},"startTime":1779215698706,"traceId":"1befadf52de0104e"},{"name":"is-page-static","duration":847101,"timestamp":407726477442,"id":94,"parentId":23,"tags":{},"startTime":1779215698724,"traceId":"1befadf52de0104e"},{"name":"check-page","duration":874074,"timestamp":407726450521,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1779215698697,"traceId":"1befadf52de0104e"},{"name":"static-check","duration":878026,"timestamp":407726446610,"id":19,"parentId":1,"tags":{},"startTime":1779215698693,"traceId":"1befadf52de0104e"}]
|
|
2
|
+
[{"name":"write-routes-manifest","duration":591,"timestamp":407727333945,"id":108,"parentId":1,"tags":{},"startTime":1779215699580,"traceId":"1befadf52de0104e"},{"name":"load-dotenv","duration":46,"timestamp":407727348185,"id":111,"parentId":110,"tags":{},"startTime":1779215699594,"traceId":"1befadf52de0104e"},{"name":"run-export-path-map","duration":646,"timestamp":407727351216,"id":112,"parentId":110,"tags":{},"startTime":1779215699597,"traceId":"1befadf52de0104e"},{"name":"next-export","duration":642704,"timestamp":407727346946,"id":110,"parentId":1,"tags":{},"startTime":1779215699593,"traceId":"1befadf52de0104e"},{"name":"move-exported-app-not-found-","duration":568,"timestamp":407727992857,"id":113,"parentId":109,"tags":{},"startTime":1779215700239,"traceId":"1befadf52de0104e"},{"name":"move-exported-app-global-error-","duration":517,"timestamp":407727993521,"id":114,"parentId":109,"tags":{},"startTime":1779215700240,"traceId":"1befadf52de0104e"},{"name":"static-generation","duration":655659,"timestamp":407727340544,"id":109,"parentId":1,"tags":{},"startTime":1779215699587,"traceId":"1befadf52de0104e"},{"name":"write-routes-manifest","duration":394,"timestamp":407727996444,"id":115,"parentId":1,"tags":{},"startTime":1779215700243,"traceId":"1befadf52de0104e"},{"name":"print-tree-view","duration":4711,"timestamp":407728017424,"id":116,"parentId":1,"tags":{},"startTime":1779215700264,"traceId":"1befadf52de0104e"},{"name":"write-route-bundle-stats","duration":12250,"timestamp":407728022168,"id":117,"parentId":1,"tags":{},"startTime":1779215700268,"traceId":"1befadf52de0104e"},{"name":"telemetry-flush","duration":27781,"timestamp":407728034446,"id":118,"parentId":1,"tags":{},"startTime":1779215700281,"traceId":"1befadf52de0104e"},{"name":"next-build","duration":19524558,"timestamp":407708537715,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1779215680784,"traceId":"1befadf52de0104e"}]
|
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-turbopack","duration":
|
|
1
|
+
[{"name":"run-turbopack","duration":6865511,"timestamp":407708787784,"id":14,"parentId":1,"tags":{},"startTime":1779215681034,"traceId":"1befadf52de0104e"},{"name":"turbopack-build-events","duration":101,"timestamp":407709122773,"id":15,"parentId":1,"tags":{},"startTime":1779215681369,"traceId":"1befadf52de0104e"},{"name":"run-typescript","duration":10560136,"timestamp":407715661656,"id":16,"parentId":1,"tags":{},"startTime":1779215687908,"traceId":"1befadf52de0104e"},{"name":"static-check","duration":878026,"timestamp":407726446610,"id":19,"parentId":1,"tags":{},"startTime":1779215698693,"traceId":"1befadf52de0104e"},{"name":"static-generation","duration":655659,"timestamp":407727340544,"id":109,"parentId":1,"tags":{},"startTime":1779215699587,"traceId":"1befadf52de0104e"},{"name":"telemetry-flush","duration":27781,"timestamp":407728034446,"id":118,"parentId":1,"tags":{},"startTime":1779215700281,"traceId":"1befadf52de0104e"},{"name":"next-build","duration":19524558,"timestamp":407708537715,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1779215680784,"traceId":"1befadf52de0104e"}]
|
package/app/globals.css
CHANGED
|
@@ -1285,9 +1285,35 @@ body {
|
|
|
1285
1285
|
prefers-reduced-motion: reduce → animation: none (kicker freezes at
|
|
1286
1286
|
resting alpha = 1, sibling to other R29-family motion guards).
|
|
1287
1287
|
───────────────────────────────────────────────────────────────────── */
|
|
1288
|
+
/* Round 699 + R714 — kicker "Network Topology" dual-axis breath.
|
|
1289
|
+
R699 introduced 6s opacity breath (0.78 ↔ 1, ~22%); R714 adds a
|
|
1290
|
+
SECOND axis in the same @keyframes: a transform scale (0.995 ↔ 1,
|
|
1291
|
+
~0.5%). Two axes share cadence (6s) so they breathe IN PHASE —
|
|
1292
|
+
the dimmest moment is also the smallest moment, mirroring the
|
|
1293
|
+
R711 H2 dual-axis at the title-block's eyebrow tier.
|
|
1294
|
+
|
|
1295
|
+
Why scale 0.5%: the kicker is the section's secondary text (eyebrow
|
|
1296
|
+
above the H2 headline). Its alpha range is wider (22% vs H2's 12%)
|
|
1297
|
+
so a slightly wider scale range (0.5% vs H2's 0.3%) keeps the
|
|
1298
|
+
axes proportionally weighted. Still sub-pixel at xs font-size
|
|
1299
|
+
(~12 px text height → 0.06px swing) — imperceptible per-frame,
|
|
1300
|
+
accumulates as "the eyebrow gently pulses with the breath".
|
|
1301
|
+
|
|
1302
|
+
Mirrors R711 H2 pattern (HTML text dual-axis: opacity + CSS
|
|
1303
|
+
transform scale) — both title-block text tiers now have dual-axis
|
|
1304
|
+
breath, closing title-block dual-axis symmetry across kicker and
|
|
1305
|
+
H2. Brand-logo (the 3rd title-block trio member) still single-axis
|
|
1306
|
+
since it already has its own 5-axis hover signature (R548/R549/R553/
|
|
1307
|
+
R557/R604) plus 5s breath; further axes would oversubscribe the
|
|
1308
|
+
brand mark. Pattern budget: title-block trio members get dual-axis
|
|
1309
|
+
if their hover signature is sparse, single-axis if rich.
|
|
1310
|
+
|
|
1311
|
+
transform-origin defaults to center — kicker scales around its own
|
|
1312
|
+
midpoint, no glyph drift. paint-only → flex parent stable → topo-
|
|
1313
|
+
overlap-test untouched. prefers-reduced-motion: reduce neutralizes. */
|
|
1288
1314
|
@keyframes anet-topo-kicker-breath-kf {
|
|
1289
|
-
0%, 100% { opacity: 1; }
|
|
1290
|
-
50% { opacity: 0.78; }
|
|
1315
|
+
0%, 100% { opacity: 1; transform: scale(1); }
|
|
1316
|
+
50% { opacity: 0.78; transform: scale(0.995); }
|
|
1291
1317
|
}
|
|
1292
1318
|
.anet-topo-kicker-breath {
|
|
1293
1319
|
animation: anet-topo-kicker-breath-kf 6s ease-in-out infinite;
|
|
@@ -1345,9 +1371,39 @@ body {
|
|
|
1345
1371
|
existing R347 ls + R420 fw + R517 color + R593 brightness + R668
|
|
1346
1372
|
halo 4-axis lift takes precedence cleanly. prefers-reduced-motion:
|
|
1347
1373
|
reduce neutralizes, sibling to R699/R702 guards. */
|
|
1374
|
+
/* Round 703 + R715 — chrome zoom-level readout dual-axis breath.
|
|
1375
|
+
R703 introduced 9s opacity breath (0.85 ↔ 1, ~15%); R715 adds a
|
|
1376
|
+
SECOND axis in the same @keyframes: a transform scale (0.996 ↔ 1,
|
|
1377
|
+
~0.4%). Two axes share cadence (9s) so they breathe IN PHASE —
|
|
1378
|
+
dimmest = smallest, mirroring R711 H2 / R714 kicker pattern at the
|
|
1379
|
+
CHROME DATA TIER (vs title-block primary text tier).
|
|
1380
|
+
|
|
1381
|
+
Why scale 0.4% on zoom-level (vs H2's 0.3%, kicker's 0.5%): zoom-
|
|
1382
|
+
level's alpha range is between H2 (12%) and kicker (22%) at 15%
|
|
1383
|
+
— scale axis interpolated to 0.4% keeps the three dual-axis HTML
|
|
1384
|
+
text surfaces co-proportioned. Sub-pixel at xs font-size → ~0.04px
|
|
1385
|
+
swing at ~10px text height; imperceptible per-frame, accumulates
|
|
1386
|
+
as "the readout pulses with the breath".
|
|
1387
|
+
|
|
1388
|
+
Pattern budget extension — chrome data tier dual-axis:
|
|
1389
|
+
R699+R714 kicker 6s eyebrow tier
|
|
1390
|
+
R703+R715 zoom-level 9s chrome data tier ← this round
|
|
1391
|
+
R702+R711 H2 10s primary headline tier
|
|
1392
|
+
The 6/9/10 s cadences and the kicker/zoom-level/H2 scale ratios
|
|
1393
|
+
(0.5/0.4/0.3 %) form a tier-graded ladder: faster cadence + larger
|
|
1394
|
+
scale on secondary-tier text; slower cadence + smaller scale on
|
|
1395
|
+
primary-tier text. Each tier has its own "tempo + amplitude"
|
|
1396
|
+
coupled signature — kicker pulses quickly-and-noticeably, H2
|
|
1397
|
+
pulses slowly-and-subtly, zoom-level sits between.
|
|
1398
|
+
|
|
1399
|
+
Hover gate via `[data-topo-chrome-zoom-level-hover="true"]` →
|
|
1400
|
+
animation: none, so R347/R420/R517/R593 hover axes take precedence
|
|
1401
|
+
without animation underneath. transform-origin defaults to center
|
|
1402
|
+
— pill scales around its own midpoint. prefers-reduced-motion:
|
|
1403
|
+
reduce also neutralizes. */
|
|
1348
1404
|
@keyframes anet-topo-chrome-zoom-level-breath-kf {
|
|
1349
|
-
0%, 100% { opacity: 1; }
|
|
1350
|
-
50% { opacity: 0.85; }
|
|
1405
|
+
0%, 100% { opacity: 1; transform: scale(1); }
|
|
1406
|
+
50% { opacity: 0.85; transform: scale(0.996); }
|
|
1351
1407
|
}
|
|
1352
1408
|
.anet-topo-chrome-zoom-level-breath {
|
|
1353
1409
|
animation: anet-topo-chrome-zoom-level-breath-kf 9s ease-in-out infinite;
|
package/package.json
CHANGED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* Round 714 — kicker dual-axis breath. R699 introduced 6s opacity
|
|
2
|
+
* breath; R714 adds CSS transform scale 0.995↔1 axis in the same
|
|
3
|
+
* @keyframes block, in phase. Mirror to R711 H2 dual-axis at the
|
|
4
|
+
* title-block eyebrow tier. Closes title-block dual-axis symmetry
|
|
5
|
+
* across kicker (R699+R714) and H2 (R702+R711).
|
|
6
|
+
*/
|
|
7
|
+
import { chromium } from 'playwright';
|
|
8
|
+
import { readFileSync } from 'node:fs';
|
|
9
|
+
|
|
10
|
+
const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
|
|
11
|
+
const fresh = new Date(Date.now() - 60 * 1000).toISOString();
|
|
12
|
+
|
|
13
|
+
const browser = await chromium.launch({ headless: true });
|
|
14
|
+
const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
|
|
15
|
+
await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
|
|
16
|
+
await ctx.addInitScript(() => {
|
|
17
|
+
try {
|
|
18
|
+
localStorage.setItem('anet-theme', 'cyber');
|
|
19
|
+
localStorage.setItem('anet-topo-layout', 'ring');
|
|
20
|
+
sessionStorage.setItem('anet_v3_auth', '1');
|
|
21
|
+
} catch {}
|
|
22
|
+
});
|
|
23
|
+
await ctx.route('**/api/hub/status*', async (route) => {
|
|
24
|
+
const r = await route.fetch();
|
|
25
|
+
const b = await r.json();
|
|
26
|
+
const nid = (b.sessions || [])[0]?.network_id || 'default';
|
|
27
|
+
const mk = (alias) => ({
|
|
28
|
+
alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
|
|
29
|
+
network_id: nid, project_dir: null,
|
|
30
|
+
created_at: fresh, updated_at: fresh, last_seen_at: fresh,
|
|
31
|
+
});
|
|
32
|
+
await route.fulfill({ response: r, json: { ...b, sessions: [mk('a·1'), mk('a·2')] } });
|
|
33
|
+
});
|
|
34
|
+
await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [] } }));
|
|
35
|
+
await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
|
|
36
|
+
const page = await ctx.newPage();
|
|
37
|
+
await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
|
|
38
|
+
await page.waitForSelector('[data-topo-section-kicker]', { timeout: 15000, state: 'attached' });
|
|
39
|
+
await page.waitForTimeout(300);
|
|
40
|
+
|
|
41
|
+
const runtimeState = await page.evaluate(() => {
|
|
42
|
+
const k = document.querySelector('[data-topo-section-kicker]');
|
|
43
|
+
if (!k) return null;
|
|
44
|
+
const cs = getComputedStyle(k);
|
|
45
|
+
return {
|
|
46
|
+
has_class: k.classList.contains('anet-topo-kicker-breath'),
|
|
47
|
+
breath_attr: k.getAttribute('data-topo-section-kicker-breath'),
|
|
48
|
+
anim_name: cs.animationName,
|
|
49
|
+
anim_duration: cs.animationDuration,
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
await browser.close();
|
|
54
|
+
|
|
55
|
+
const cssSrc = readFileSync('/home/vansin/agent-network-dashboard/app/globals.css', 'utf8');
|
|
56
|
+
|
|
57
|
+
// R699 opacity axis preserved
|
|
58
|
+
const cssR699Opacity = /@keyframes anet-topo-kicker-breath-kf\s*\{[\s\S]*?0%, 100%\s*\{[\s\S]*?opacity:\s*1[\s\S]*?\}[\s\S]*?50%\s*\{[\s\S]*?opacity:\s*0\.78/.test(cssSrc);
|
|
59
|
+
const cssR699Class = /\.anet-topo-kicker-breath\s*\{[\s\S]*?animation:\s*anet-topo-kicker-breath-kf\s+6s\s+ease-in-out\s+infinite/.test(cssSrc);
|
|
60
|
+
|
|
61
|
+
// R714 scale axis added
|
|
62
|
+
const cssR714ScaleNorm = /@keyframes anet-topo-kicker-breath-kf\s*\{[\s\S]*?0%, 100%\s*\{[\s\S]*?transform:\s*scale\(1\)/.test(cssSrc);
|
|
63
|
+
const cssR714ScaleMid = /50%\s*\{[\s\S]*?transform:\s*scale\(0\.995\)/.test(cssSrc);
|
|
64
|
+
|
|
65
|
+
const runtimeAnim = runtimeState?.anim_name === 'anet-topo-kicker-breath-kf' || runtimeState?.anim_name === 'none';
|
|
66
|
+
|
|
67
|
+
const results = {
|
|
68
|
+
kicker_present: !!runtimeState,
|
|
69
|
+
has_breath_class: runtimeState?.has_class === true,
|
|
70
|
+
breath_attr_6s_preserved: runtimeState?.breath_attr === '6s',
|
|
71
|
+
runtime_anim_ok: runtimeAnim,
|
|
72
|
+
css_r699_opacity_kept: cssR699Opacity,
|
|
73
|
+
css_r699_class_kept: cssR699Class,
|
|
74
|
+
css_r714_scale_norm: cssR714ScaleNorm,
|
|
75
|
+
css_r714_scale_mid: cssR714ScaleMid,
|
|
76
|
+
};
|
|
77
|
+
const ok = Object.values(results).every(Boolean);
|
|
78
|
+
console.log(`${ok ? '✅' : '❌'} R714 kicker dual-axis breath (opacity + transform scale on shared 6s @keyframes — title-block dual-axis symmetry closed):`,
|
|
79
|
+
JSON.stringify(results, null, 2),
|
|
80
|
+
`\n runtime: ${JSON.stringify(runtimeState)}`);
|
|
81
|
+
process.exit(ok ? 0 : 1);
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* Round 715 — chrome zoom-level readout dual-axis breath. R703 9s
|
|
2
|
+
* opacity breath gains CSS transform scale axis (0.996 ↔ 1, ~0.4%)
|
|
3
|
+
* in the same @keyframes block. Tier-graded ladder: faster cadence
|
|
4
|
+
* + larger scale on secondary tiers (kicker 6s 0.5%), slower cadence
|
|
5
|
+
* + smaller scale on primary tiers (H2 10s 0.3%), zoom-level sits
|
|
6
|
+
* between at 9s 0.4%.
|
|
7
|
+
*/
|
|
8
|
+
import { chromium } from 'playwright';
|
|
9
|
+
import { readFileSync } from 'node:fs';
|
|
10
|
+
|
|
11
|
+
const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
|
|
12
|
+
const fresh = new Date(Date.now() - 60 * 1000).toISOString();
|
|
13
|
+
|
|
14
|
+
const browser = await chromium.launch({ headless: true });
|
|
15
|
+
const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
|
|
16
|
+
await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
|
|
17
|
+
await ctx.addInitScript(() => {
|
|
18
|
+
try {
|
|
19
|
+
localStorage.setItem('anet-theme', 'cyber');
|
|
20
|
+
localStorage.setItem('anet-topo-layout', 'ring');
|
|
21
|
+
sessionStorage.setItem('anet_v3_auth', '1');
|
|
22
|
+
} catch {}
|
|
23
|
+
});
|
|
24
|
+
await ctx.route('**/api/hub/status*', async (route) => {
|
|
25
|
+
const r = await route.fetch();
|
|
26
|
+
const b = await r.json();
|
|
27
|
+
const nid = (b.sessions || [])[0]?.network_id || 'default';
|
|
28
|
+
const mk = (alias) => ({
|
|
29
|
+
alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
|
|
30
|
+
network_id: nid, project_dir: null,
|
|
31
|
+
created_at: fresh, updated_at: fresh, last_seen_at: fresh,
|
|
32
|
+
});
|
|
33
|
+
await route.fulfill({ response: r, json: { ...b, sessions: [mk('a·1'), mk('a·2')] } });
|
|
34
|
+
});
|
|
35
|
+
await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [] } }));
|
|
36
|
+
await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
|
|
37
|
+
const page = await ctx.newPage();
|
|
38
|
+
await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
|
|
39
|
+
await page.waitForSelector('[data-topo-chrome-zoom-level]', { timeout: 15000, state: 'attached' });
|
|
40
|
+
await page.waitForTimeout(300);
|
|
41
|
+
|
|
42
|
+
const runtimeState = await page.evaluate(() => {
|
|
43
|
+
const span = document.querySelector('[data-topo-chrome-zoom-level]');
|
|
44
|
+
if (!span) return null;
|
|
45
|
+
const cs = getComputedStyle(span);
|
|
46
|
+
return {
|
|
47
|
+
has_class: span.classList.contains('anet-topo-chrome-zoom-level-breath'),
|
|
48
|
+
breath_attr: span.getAttribute('data-topo-chrome-zoom-level-breath'),
|
|
49
|
+
hover_attr: span.getAttribute('data-topo-chrome-zoom-level-hover'),
|
|
50
|
+
anim_name: cs.animationName,
|
|
51
|
+
anim_duration: cs.animationDuration,
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
await browser.close();
|
|
56
|
+
|
|
57
|
+
const cssSrc = readFileSync('/home/vansin/agent-network-dashboard/app/globals.css', 'utf8');
|
|
58
|
+
|
|
59
|
+
const cssR703Opacity = /@keyframes anet-topo-chrome-zoom-level-breath-kf\s*\{[\s\S]*?0%, 100%\s*\{[\s\S]*?opacity:\s*1[\s\S]*?\}[\s\S]*?50%\s*\{[\s\S]*?opacity:\s*0\.85/.test(cssSrc);
|
|
60
|
+
const cssR703Class = /\.anet-topo-chrome-zoom-level-breath\s*\{[\s\S]*?animation:\s*anet-topo-chrome-zoom-level-breath-kf\s+9s\s+ease-in-out\s+infinite/.test(cssSrc);
|
|
61
|
+
const cssR703HoverGate = /\.anet-topo-chrome-zoom-level-breath\[data-topo-chrome-zoom-level-hover="true"\]\s*\{\s*animation:\s*none/.test(cssSrc);
|
|
62
|
+
const cssR715ScaleNorm = /@keyframes anet-topo-chrome-zoom-level-breath-kf\s*\{[\s\S]*?0%, 100%\s*\{[\s\S]*?transform:\s*scale\(1\)/.test(cssSrc);
|
|
63
|
+
const cssR715ScaleMid = /50%\s*\{[\s\S]*?transform:\s*scale\(0\.996\)/.test(cssSrc);
|
|
64
|
+
|
|
65
|
+
const runtimeAnim = runtimeState?.anim_name === 'anet-topo-chrome-zoom-level-breath-kf' || runtimeState?.anim_name === 'none';
|
|
66
|
+
|
|
67
|
+
const results = {
|
|
68
|
+
span_present: !!runtimeState,
|
|
69
|
+
has_breath_class: runtimeState?.has_class === true,
|
|
70
|
+
breath_attr_9s_preserved: runtimeState?.breath_attr === '9s',
|
|
71
|
+
rest_not_hover: runtimeState?.hover_attr === 'false',
|
|
72
|
+
runtime_anim_ok: runtimeAnim,
|
|
73
|
+
css_r703_opacity_kept: cssR703Opacity,
|
|
74
|
+
css_r703_class_kept: cssR703Class,
|
|
75
|
+
css_r703_hover_gate_kept: cssR703HoverGate,
|
|
76
|
+
css_r715_scale_norm: cssR715ScaleNorm,
|
|
77
|
+
css_r715_scale_mid: cssR715ScaleMid,
|
|
78
|
+
};
|
|
79
|
+
const ok = Object.values(results).every(Boolean);
|
|
80
|
+
console.log(`${ok ? '✅' : '❌'} R715 chrome zoom-level dual-axis breath (opacity + transform scale on shared 9s @keyframes, chrome data tier):`,
|
|
81
|
+
JSON.stringify(results, null, 2),
|
|
82
|
+
`\n runtime: ${JSON.stringify(runtimeState)}`);
|
|
83
|
+
process.exit(ok ? 0 : 1);
|
|
File without changes
|
/package/.next/static/{nVtWyWbh0TY-GyMqekUwZ → 6SQZZr8r5FJtc-LkvB3i8}/_clientMiddlewareManifest.js
RENAMED
|
File without changes
|
|
File without changes
|