@sleep2agi/agent-network-dashboard 0.6.3-preview.3 → 0.6.3-preview.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/.next/BUILD_COMMIT +1 -1
  2. package/.next/BUILD_ID +1 -1
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/diagnostics/route-bundle-stats.json +12 -11
  5. package/.next/fallback-build-manifest.json +3 -3
  6. package/.next/server/app/_global-error.html +1 -1
  7. package/.next/server/app/_global-error.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  13. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/_not-found.html +2 -2
  15. package/.next/server/app/_not-found.rsc +2 -2
  16. package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  17. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  19. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  20. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  21. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  22. package/.next/server/app/admin/page.js.nft.json +1 -1
  23. package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/admin.html +2 -2
  25. package/.next/server/app/admin.rsc +3 -3
  26. package/.next/server/app/admin.segments/_full.segment.rsc +3 -3
  27. package/.next/server/app/admin.segments/_head.segment.rsc +1 -1
  28. package/.next/server/app/admin.segments/_index.segment.rsc +2 -2
  29. package/.next/server/app/admin.segments/_tree.segment.rsc +2 -2
  30. package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +2 -2
  31. package/.next/server/app/admin.segments/admin.segment.rsc +1 -1
  32. package/.next/server/app/index.html +2 -2
  33. package/.next/server/app/index.rsc +3 -3
  34. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  35. package/.next/server/app/index.segments/_full.segment.rsc +3 -3
  36. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  37. package/.next/server/app/index.segments/_index.segment.rsc +2 -2
  38. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  39. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  40. package/.next/server/app/login.html +2 -2
  41. package/.next/server/app/login.rsc +3 -3
  42. package/.next/server/app/login.segments/_full.segment.rsc +3 -3
  43. package/.next/server/app/login.segments/_head.segment.rsc +1 -1
  44. package/.next/server/app/login.segments/_index.segment.rsc +2 -2
  45. package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  46. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  47. package/.next/server/app/login.segments/login.segment.rsc +1 -1
  48. package/.next/server/app/logs/page_client-reference-manifest.js +1 -1
  49. package/.next/server/app/logs.html +2 -2
  50. package/.next/server/app/logs.rsc +2 -2
  51. package/.next/server/app/logs.segments/_full.segment.rsc +2 -2
  52. package/.next/server/app/logs.segments/_head.segment.rsc +1 -1
  53. package/.next/server/app/logs.segments/_index.segment.rsc +2 -2
  54. package/.next/server/app/logs.segments/_tree.segment.rsc +2 -2
  55. package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +1 -1
  56. package/.next/server/app/logs.segments/logs.segment.rsc +1 -1
  57. package/.next/server/app/messages/page_client-reference-manifest.js +1 -1
  58. package/.next/server/app/messages.html +2 -2
  59. package/.next/server/app/messages.rsc +3 -3
  60. package/.next/server/app/messages.segments/_full.segment.rsc +3 -3
  61. package/.next/server/app/messages.segments/_head.segment.rsc +1 -1
  62. package/.next/server/app/messages.segments/_index.segment.rsc +2 -2
  63. package/.next/server/app/messages.segments/_tree.segment.rsc +2 -2
  64. package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +2 -2
  65. package/.next/server/app/messages.segments/messages.segment.rsc +1 -1
  66. package/.next/server/app/node/page_client-reference-manifest.js +1 -1
  67. package/.next/server/app/node.html +2 -2
  68. package/.next/server/app/node.rsc +2 -2
  69. package/.next/server/app/node.segments/_full.segment.rsc +2 -2
  70. package/.next/server/app/node.segments/_head.segment.rsc +1 -1
  71. package/.next/server/app/node.segments/_index.segment.rsc +2 -2
  72. package/.next/server/app/node.segments/_tree.segment.rsc +2 -2
  73. package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +1 -1
  74. package/.next/server/app/node.segments/node.segment.rsc +1 -1
  75. package/.next/server/app/nodes/page_client-reference-manifest.js +1 -1
  76. package/.next/server/app/nodes.html +2 -2
  77. package/.next/server/app/nodes.rsc +3 -3
  78. package/.next/server/app/nodes.segments/_full.segment.rsc +3 -3
  79. package/.next/server/app/nodes.segments/_head.segment.rsc +1 -1
  80. package/.next/server/app/nodes.segments/_index.segment.rsc +2 -2
  81. package/.next/server/app/nodes.segments/_tree.segment.rsc +2 -2
  82. package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +2 -2
  83. package/.next/server/app/nodes.segments/nodes.segment.rsc +1 -1
  84. package/.next/server/app/page_client-reference-manifest.js +1 -1
  85. package/.next/server/app/server-logs/page_client-reference-manifest.js +1 -1
  86. package/.next/server/app/server-logs.html +2 -2
  87. package/.next/server/app/server-logs.rsc +2 -2
  88. package/.next/server/app/server-logs.segments/_full.segment.rsc +2 -2
  89. package/.next/server/app/server-logs.segments/_head.segment.rsc +1 -1
  90. package/.next/server/app/server-logs.segments/_index.segment.rsc +2 -2
  91. package/.next/server/app/server-logs.segments/_tree.segment.rsc +2 -2
  92. package/.next/server/app/server-logs.segments/server-logs/__PAGE__.segment.rsc +1 -1
  93. package/.next/server/app/server-logs.segments/server-logs.segment.rsc +1 -1
  94. package/.next/server/app/servers/page_client-reference-manifest.js +1 -1
  95. package/.next/server/app/servers.html +2 -2
  96. package/.next/server/app/servers.rsc +2 -2
  97. package/.next/server/app/servers.segments/_full.segment.rsc +2 -2
  98. package/.next/server/app/servers.segments/_head.segment.rsc +1 -1
  99. package/.next/server/app/servers.segments/_index.segment.rsc +2 -2
  100. package/.next/server/app/servers.segments/_tree.segment.rsc +2 -2
  101. package/.next/server/app/servers.segments/servers/__PAGE__.segment.rsc +1 -1
  102. package/.next/server/app/servers.segments/servers.segment.rsc +1 -1
  103. package/.next/server/app/settings/networks/page_client-reference-manifest.js +1 -1
  104. package/.next/server/app/settings/networks.html +2 -2
  105. package/.next/server/app/settings/networks.rsc +2 -2
  106. package/.next/server/app/settings/networks.segments/_full.segment.rsc +2 -2
  107. package/.next/server/app/settings/networks.segments/_head.segment.rsc +1 -1
  108. package/.next/server/app/settings/networks.segments/_index.segment.rsc +2 -2
  109. package/.next/server/app/settings/networks.segments/_tree.segment.rsc +2 -2
  110. package/.next/server/app/settings/networks.segments/settings/networks/__PAGE__.segment.rsc +1 -1
  111. package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +1 -1
  112. package/.next/server/app/settings/networks.segments/settings.segment.rsc +1 -1
  113. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  114. package/.next/server/app/settings/tokens/page_client-reference-manifest.js +1 -1
  115. package/.next/server/app/settings/tokens.html +2 -2
  116. package/.next/server/app/settings/tokens.rsc +2 -2
  117. package/.next/server/app/settings/tokens.segments/_full.segment.rsc +2 -2
  118. package/.next/server/app/settings/tokens.segments/_head.segment.rsc +1 -1
  119. package/.next/server/app/settings/tokens.segments/_index.segment.rsc +2 -2
  120. package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +2 -2
  121. package/.next/server/app/settings/tokens.segments/settings/tokens/__PAGE__.segment.rsc +1 -1
  122. package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +1 -1
  123. package/.next/server/app/settings/tokens.segments/settings.segment.rsc +1 -1
  124. package/.next/server/app/settings.html +2 -2
  125. package/.next/server/app/settings.rsc +3 -3
  126. package/.next/server/app/settings.segments/_full.segment.rsc +3 -3
  127. package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  128. package/.next/server/app/settings.segments/_index.segment.rsc +2 -2
  129. package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  130. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +2 -2
  131. package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  132. package/.next/server/app/tasks/[id]/page_client-reference-manifest.js +1 -1
  133. package/.next/server/app/tasks/page_client-reference-manifest.js +1 -1
  134. package/.next/server/app/tasks.html +2 -2
  135. package/.next/server/app/tasks.rsc +2 -2
  136. package/.next/server/app/tasks.segments/_full.segment.rsc +2 -2
  137. package/.next/server/app/tasks.segments/_head.segment.rsc +1 -1
  138. package/.next/server/app/tasks.segments/_index.segment.rsc +2 -2
  139. package/.next/server/app/tasks.segments/_tree.segment.rsc +2 -2
  140. package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +1 -1
  141. package/.next/server/app/tasks.segments/tasks.segment.rsc +1 -1
  142. package/.next/server/chunks/[root-of-the-server]__0jg663w._.js +1 -1
  143. package/.next/server/chunks/[root-of-the-server]__0jg663w._.js.map +1 -1
  144. package/.next/server/chunks/ssr/[root-of-the-server]__0-n_oet._.js +1 -1
  145. package/.next/server/chunks/ssr/[root-of-the-server]__0-n_oet._.js.map +1 -1
  146. package/.next/server/chunks/ssr/[root-of-the-server]__0jgx8j4._.js +1 -1
  147. package/.next/server/chunks/ssr/[root-of-the-server]__0jgx8j4._.js.map +1 -1
  148. package/.next/server/chunks/ssr/dashboard-pr4-338_app_0_vh2hn._.js +1 -1
  149. package/.next/server/chunks/ssr/dashboard-pr4-338_app_0_vh2hn._.js.map +1 -1
  150. package/.next/server/chunks/ssr/dashboard-pr4-338_app_0a352ge._.js +1 -1
  151. package/.next/server/chunks/ssr/dashboard-pr4-338_app_0a352ge._.js.map +1 -1
  152. package/.next/server/chunks/ssr/dashboard-pr4-338_app_0k0.-6z._.js +1 -1
  153. package/.next/server/chunks/ssr/dashboard-pr4-338_app_0k0.-6z._.js.map +1 -1
  154. package/.next/server/chunks/ssr/dashboard-pr4-338_app_12jui6l._.js +3 -0
  155. package/.next/server/chunks/ssr/dashboard-pr4-338_app_12jui6l._.js.map +1 -0
  156. package/.next/server/chunks/ssr/dashboard-pr4-338_app_nodes_page_tsx_0.1qp86._.js +2 -2
  157. package/.next/server/chunks/ssr/dashboard-pr4-338_app_nodes_page_tsx_0.1qp86._.js.map +1 -1
  158. package/.next/server/middleware-build-manifest.js +3 -3
  159. package/.next/server/pages/404.html +2 -2
  160. package/.next/server/pages/500.html +1 -1
  161. package/.next/static/chunks/01.7wksc03ge7.js +1 -0
  162. package/.next/static/chunks/{1238uy.r8ebu0.js → 05ludq~vmjrpi.js} +1 -1
  163. package/.next/static/chunks/0nt58h_jnn298.js +2 -0
  164. package/.next/static/chunks/0~qpo2.zfv914.css +1 -0
  165. package/.next/static/chunks/10-herg8p2_u0.js +1 -0
  166. package/.next/static/chunks/{0r4f9a-1h0l8n.js → 1162nvfdeg.tg.js} +2 -2
  167. package/.next/static/chunks/11as~l5x7cdjy.js +1 -0
  168. package/.next/static/chunks/{0dzyz0tl5mmyh.js → 14eb0vbqm-0fq.js} +1 -1
  169. package/.next/trace +2 -2
  170. package/.next/trace-build +1 -1
  171. package/app/api/anet/node-lifecycle/route.ts +54 -5
  172. package/app/components/CreateNodeWizard.tsx +70 -24
  173. package/app/components/HostSupervisorPicker.tsx +6 -3
  174. package/app/components/NodeLifecycleMenu.tsx +436 -0
  175. package/app/components/types.ts +4 -0
  176. package/app/lib/hooks.ts +22 -0
  177. package/app/nodes/page.tsx +42 -2
  178. package/package.json +1 -1
  179. package/.next/server/chunks/ssr/dashboard-pr4-338_app_0l07md.._.js +0 -3
  180. package/.next/server/chunks/ssr/dashboard-pr4-338_app_0l07md.._.js.map +0 -1
  181. package/.next/static/chunks/0okyajjiuijbh.css +0 -1
  182. package/.next/static/chunks/0zezb.fc41oyb.js +0 -1
  183. package/.next/static/chunks/0zta~z4xpak8b.js +0 -2
  184. package/.next/static/chunks/10rif2p3a6hdl.js +0 -1
  185. /package/.next/static/{S9Q_U9UD2ZJQPBZjZgrZy → 3WnbjoWrJbRnQkx4ilgVm}/_buildManifest.js +0 -0
  186. /package/.next/static/{S9Q_U9UD2ZJQPBZjZgrZy → 3WnbjoWrJbRnQkx4ilgVm}/_clientMiddlewareManifest.js +0 -0
  187. /package/.next/static/{S9Q_U9UD2ZJQPBZjZgrZy → 3WnbjoWrJbRnQkx4ilgVm}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,25112,e=>{"use strict";var t=e.i(72495);e.s(["previewContent",0,function(e){return e&&e.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/`([^`]+)`/g,"$1").replace(/\s+/g," ").trim()||"--"},"timeAgo",0,function(e){return(0,t.relativeAgo)(e)??"--"}])},3049,e=>{"use strict";var t=e.i(52543);let s=[180,200,220,270,300,330,30,90];function r(e){let t=0;for(let s=0;s<e.length;s++)t=31*t+e.charCodeAt(s)>>>0;let r=s[t%s.length];return{bg:`hsl(${r} 55% 22%)`,ring:`hsl(${r} 60% 45%)`,text:`hsl(${r} 80% 78%)`}}function i(e){return e?(e.trim().match(/[\p{L}\p{N}]/u)?.[0]||e.trim()[0]||"·").toUpperCase():"·"}e.s(["AliasAvatar",0,function({alias:e,size:s=28,className:n=""}){if(/\bgrok\b|grok-build|grok测试员|grok-demo/i.test(e))return(0,t.jsx)("span",{className:`anet-alias-avatar inline-flex items-center justify-center rounded-full border border-emerald-500/45 bg-emerald-950/70 shrink-0 ${n}`,style:{width:s,height:s,backgroundImage:"url(/vendors/grok.svg)",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"68% 68%"},title:e,"aria-hidden":!0});let a=r(e),l=Math.max(9,Math.round(.42*s));return(0,t.jsx)("span",{className:`anet-alias-avatar inline-flex items-center justify-center rounded-full border shrink-0 font-semibold ${n}`,style:{width:s,height:s,fontSize:l,backgroundColor:a.bg,borderColor:a.ring,color:a.text},title:e,"aria-hidden":!0,children:i(e)})},"aliasAvatarColors",0,r,"aliasInitial",0,i])},56302,e=>{"use strict";var t=e.i(52543),s=e.i(49016),r=e.i(34120);let i={nodes:{title:"No agents in this network",sub:"Agent sessions will appear here once they connect to the CommHub."},tasks:{title:"No tasks yet",sub:"Tasks will appear here when agents send them via CommHub."},messages:{title:"No messages",sub:"Messages between agents will appear here."},logs:{title:"No audit logs",sub:"Events will appear here when users register, login, or perform actions."},tokens:{title:"No API tokens",sub:"Create one to authenticate CLI tools and external integrations."},networks:{title:"No networks found",sub:"Create one or sign in with V3 auth to see your networks."},generic:{title:"Nothing here yet",sub:"Data will appear here once available."}};function n({variant:e,size:s}){let r={width:s,height:s},i={fill:"none",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"};switch(e){case"nodes":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("circle",{cx:"32",cy:"14",r:"4"}),(0,t.jsx)("circle",{cx:"14",cy:"44",r:"4"}),(0,t.jsx)("circle",{cx:"50",cy:"44",r:"4"}),(0,t.jsx)("line",{x1:"32",y1:"18",x2:"14",y2:"40",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("line",{x1:"32",y1:"18",x2:"50",y2:"40",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("line",{x1:"18",y1:"44",x2:"46",y2:"44",strokeDasharray:"3 3",opacity:"0.6"})]})});case"tasks":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("rect",{x:"14",y:"14",width:"36",height:"6",rx:"1.5"}),(0,t.jsx)("rect",{x:"14",y:"26",width:"36",height:"6",rx:"1.5",opacity:"0.6"}),(0,t.jsx)("rect",{x:"14",y:"38",width:"36",height:"6",rx:"1.5",opacity:"0.35"})]})});case"messages":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("path",{d:"M14 18 h36 a3 3 0 0 1 3 3 v18 a3 3 0 0 1 -3 3 h-18 l-8 6 v-6 h-10 a3 3 0 0 1 -3 -3 v-18 a3 3 0 0 1 3 -3 z"}),(0,t.jsx)("line",{x1:"22",y1:"28",x2:"42",y2:"28",opacity:"0.5"}),(0,t.jsx)("line",{x1:"22",y1:"34",x2:"36",y2:"34",opacity:"0.5"})]})});case"logs":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("path",{d:"M18 12 h22 l8 8 v32 a2 2 0 0 1 -2 2 h-28 a2 2 0 0 1 -2 -2 v-38 a2 2 0 0 1 2 -2 z"}),(0,t.jsx)("path",{d:"M40 12 v8 h8",opacity:"0.6"}),(0,t.jsx)("line",{x1:"24",y1:"32",x2:"40",y2:"32",opacity:"0.55"}),(0,t.jsx)("line",{x1:"24",y1:"38",x2:"40",y2:"38",opacity:"0.4"}),(0,t.jsx)("line",{x1:"24",y1:"44",x2:"34",y2:"44",opacity:"0.25"})]})});case"tokens":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("circle",{cx:"22",cy:"32",r:"8"}),(0,t.jsx)("line",{x1:"30",y1:"32",x2:"54",y2:"32"}),(0,t.jsx)("line",{x1:"44",y1:"32",x2:"44",y2:"38"}),(0,t.jsx)("line",{x1:"50",y1:"32",x2:"50",y2:"40"})]})});case"networks":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("circle",{cx:"32",cy:"32",r:"18"}),(0,t.jsx)("ellipse",{cx:"32",cy:"32",rx:"18",ry:"9",opacity:"0.55"}),(0,t.jsx)("line",{x1:"14",y1:"32",x2:"50",y2:"32",opacity:"0.55"}),(0,t.jsx)("line",{x1:"32",y1:"14",x2:"32",y2:"50",opacity:"0.55"})]})});default:return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("circle",{cx:"32",cy:"32",r:"14",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("circle",{cx:"32",cy:"32",r:"3"})]})})}}function a({variant:e="generic",title:s,sub:l,cta:o,compact:c=!1}){let x=i[e],h=s??x.title,d=l??x.sub;return(0,t.jsxs)("div",{className:`text-center ${c?"py-8":"py-16"} px-4`,role:"status",children:[(0,t.jsx)("div",{className:"anet-empty-glyph inline-flex items-center justify-center mb-4 text-gray-500","aria-hidden":!0,children:(0,t.jsx)(n,{variant:e,size:c?40:56})}),(0,t.jsx)("h3",{className:`font-medium text-gray-300 ${c?"text-sm":"text-base"}`,children:h}),d&&(0,t.jsx)("p",{className:`text-gray-500 ${c?"text-xs mt-1.5":"text-sm mt-2"} max-w-md mx-auto leading-relaxed`,children:d}),o&&(0,t.jsx)("div",{className:"mt-4",children:o.href?(0,t.jsxs)(r.default,{href:o.href,className:"inline-flex items-center gap-1.5 text-sm font-medium text-cyan-400 hover:text-cyan-300",children:[o.label,(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]}):(0,t.jsxs)("button",{onClick:o.onClick,className:"inline-flex items-center gap-1.5 text-sm font-medium text-cyan-400 hover:text-cyan-300",children:[o.label,(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]})})]})}function l({children:e}){return(0,t.jsx)("div",{className:"max-w-2xl mx-auto rounded-xl border border-[#26262b] bg-[#161618] shadow-lg shadow-black/20",children:e})}function o({cmd:e}){let[r,i]=(0,s.useState)(!1),n=async()=>{try{await navigator.clipboard.writeText(e),i(!0),setTimeout(()=>i(!1),1800)}catch{}};return(0,t.jsxs)("div",{className:"anet-empty-cmd flex items-start sm:items-center gap-2 bg-[#0e0e10] border border-[#26262b] rounded-lg pl-4 pr-1.5 py-1.5 text-xs sm:text-sm",children:[(0,t.jsx)("code",{className:"text-cyan-300 font-mono select-all min-w-0 break-all sm:break-normal",children:e}),(0,t.jsx)("button",{type:"button",onClick:n,"aria-label":r?"Copied":"Copy command",className:"shrink-0 rounded-md px-2 py-1.5 text-[11px] text-gray-500 hover:text-gray-200 hover:bg-[#1c1c1f] transition-colors",children:r?(0,t.jsxs)("span",{className:"flex items-center gap-1 text-green-400",children:[(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M20 6 9 17l-5-5"})}),"Copied"]}):(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,t.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),"Copy"]})})]})}e.s(["EmptyState",0,a,"NodesEmptyState",0,function({hint:e,taskHistoryCount:s=0}){return e?.global_count?(0,t.jsx)(l,{children:(0,t.jsx)(a,{variant:"nodes",title:"No agents in this network",sub:`Server has ${e.global_count} nodes globally, but none are registered to the current network. Switch network or contact admin.`})}):s>0?(0,t.jsx)(l,{children:(0,t.jsx)(a,{variant:"nodes",title:"No agents online",sub:`Every agent in this network is currently offline. ${s.toLocaleString()} task${1===s?"":"s"} in history — they may have finished their work or disconnected.`,cta:{label:"View task history",href:"/tasks"}})}):(0,t.jsx)(l,{children:(0,t.jsxs)("div",{className:"text-center py-16 px-4",role:"status",children:[(0,t.jsx)("div",{className:"anet-empty-glyph inline-flex items-center justify-center mb-4 text-gray-500","aria-hidden":!0,children:(0,t.jsx)("svg",{viewBox:"0 0 64 64",width:56,height:56,children:(0,t.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",fill:"none",children:[(0,t.jsx)("rect",{x:"10",y:"20",width:"44",height:"28",rx:"2"}),(0,t.jsx)("rect",{x:"20",y:"32",width:"6",height:"8",opacity:"0.5"}),(0,t.jsx)("rect",{x:"32",y:"32",width:"6",height:"8",opacity:"0.5"}),(0,t.jsx)("rect",{x:"44",y:"32",width:"4",height:"8",opacity:"0.5"}),(0,t.jsx)("line",{x1:"10",y1:"26",x2:"54",y2:"26",opacity:"0.4"}),(0,t.jsx)("circle",{cx:"14",cy:"23",r:"0.8",fill:"currentColor"})]})})}),(0,t.jsx)("h3",{className:"font-medium text-gray-300 text-base",children:"Spin up your first agent"}),(0,t.jsx)("p",{className:"text-gray-500 text-sm mt-2 max-w-md mx-auto leading-relaxed",children:"Run this in a fresh terminal to register an agent with this CommHub:"}),(0,t.jsx)("div",{className:"mt-4 inline-block",children:(0,t.jsx)(o,{cmd:"npx --yes @sleep2agi/agent-network init"})}),(0,t.jsx)("p",{className:"text-gray-600 text-xs mt-3 max-w-md mx-auto",children:"Once the agent connects, it appears here automatically within a few seconds — no refresh needed."}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsxs)("a",{href:"https://anet.sh",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs font-medium text-gray-500 hover:text-cyan-300",children:["Full quickstart guide",(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]})})]})})}])},63241,e=>{"use strict";var t=e.i(31923),s=e.i(16949);let r=async e=>{let t=await fetch(e);if(401===t.status)throw window.location.assign("/login"),Error("unauthorized");return t.json()},i={refreshInterval:5e3,dedupingInterval:3e3};function n(e,t){if(!t)return e;let s=e.includes("?")?"&":"?";return`${e}${s}network_id=${encodeURIComponent(t)}`}e.s(["useAnetConfig",0,function(){let{data:e}=(0,t.default)("/api/anet/config",r,{refreshInterval:3e4});return{config:e||null}},"useHealth",0,function(){let{data:e,error:s}=(0,t.default)("/api/hub/health",r,i);return{health:e||null,error:s}},"useMessages",0,function(e=100){let{networkId:a}=(0,s.useNetworkId)(),{data:l,error:o,isLoading:c}=(0,t.default)(n(`/api/hub/messages?limit=${e}`,a),r,{...i,keepPreviousData:!0});return{messages:l?.messages||[],error:o,isLoading:c}},"useSessions",0,function(){let{networkId:e}=(0,s.useNetworkId)(),{data:a,error:l,isLoading:o}=(0,t.default)(n("/api/hub/status",e),r,i);return{sessions:a?.sessions||[],hint:a?._hint,error:l,isLoading:o}},"useStats",0,function(){let{networkId:e}=(0,s.useNetworkId)(),{data:a,error:l}=(0,t.default)(n("/api/hub/stats",e),r,i);return{stats:a?.ok?a:null,error:l}},"useTasks",0,function(e){let{networkId:a}=(0,s.useNetworkId)(),l=new URLSearchParams({limit:"100",...e}).toString(),{data:o,error:c,isLoading:x}=(0,t.default)(n(`/api/hub/tasks?${l}`,a),r,i);return{tasks:o?.tasks||[],count:o?.count??0,source:o?.source,error:c,isLoading:x}}])},89195,e=>{"use strict";e.s(["DASHBOARD_VERSION",0,"0.6.3-preview.3"],89195)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,25112,e=>{"use strict";var t=e.i(72495);e.s(["previewContent",0,function(e){return e&&e.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/`([^`]+)`/g,"$1").replace(/\s+/g," ").trim()||"--"},"timeAgo",0,function(e){return(0,t.relativeAgo)(e)??"--"}])},3049,e=>{"use strict";var t=e.i(52543);let s=[180,200,220,270,300,330,30,90];function r(e){let t=0;for(let s=0;s<e.length;s++)t=31*t+e.charCodeAt(s)>>>0;let r=s[t%s.length];return{bg:`hsl(${r} 55% 22%)`,ring:`hsl(${r} 60% 45%)`,text:`hsl(${r} 80% 78%)`}}function i(e){return e?(e.trim().match(/[\p{L}\p{N}]/u)?.[0]||e.trim()[0]||"·").toUpperCase():"·"}e.s(["AliasAvatar",0,function({alias:e,size:s=28,className:n=""}){if(/\bgrok\b|grok-build|grok测试员|grok-demo/i.test(e))return(0,t.jsx)("span",{className:`anet-alias-avatar inline-flex items-center justify-center rounded-full border border-emerald-500/45 bg-emerald-950/70 shrink-0 ${n}`,style:{width:s,height:s,backgroundImage:"url(/vendors/grok.svg)",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"68% 68%"},title:e,"aria-hidden":!0});let a=r(e),l=Math.max(9,Math.round(.42*s));return(0,t.jsx)("span",{className:`anet-alias-avatar inline-flex items-center justify-center rounded-full border shrink-0 font-semibold ${n}`,style:{width:s,height:s,fontSize:l,backgroundColor:a.bg,borderColor:a.ring,color:a.text},title:e,"aria-hidden":!0,children:i(e)})},"aliasAvatarColors",0,r,"aliasInitial",0,i])},56302,e=>{"use strict";var t=e.i(52543),s=e.i(49016),r=e.i(34120);let i={nodes:{title:"No agents in this network",sub:"Agent sessions will appear here once they connect to the CommHub."},tasks:{title:"No tasks yet",sub:"Tasks will appear here when agents send them via CommHub."},messages:{title:"No messages",sub:"Messages between agents will appear here."},logs:{title:"No audit logs",sub:"Events will appear here when users register, login, or perform actions."},tokens:{title:"No API tokens",sub:"Create one to authenticate CLI tools and external integrations."},networks:{title:"No networks found",sub:"Create one or sign in with V3 auth to see your networks."},generic:{title:"Nothing here yet",sub:"Data will appear here once available."}};function n({variant:e,size:s}){let r={width:s,height:s},i={fill:"none",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"};switch(e){case"nodes":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("circle",{cx:"32",cy:"14",r:"4"}),(0,t.jsx)("circle",{cx:"14",cy:"44",r:"4"}),(0,t.jsx)("circle",{cx:"50",cy:"44",r:"4"}),(0,t.jsx)("line",{x1:"32",y1:"18",x2:"14",y2:"40",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("line",{x1:"32",y1:"18",x2:"50",y2:"40",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("line",{x1:"18",y1:"44",x2:"46",y2:"44",strokeDasharray:"3 3",opacity:"0.6"})]})});case"tasks":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("rect",{x:"14",y:"14",width:"36",height:"6",rx:"1.5"}),(0,t.jsx)("rect",{x:"14",y:"26",width:"36",height:"6",rx:"1.5",opacity:"0.6"}),(0,t.jsx)("rect",{x:"14",y:"38",width:"36",height:"6",rx:"1.5",opacity:"0.35"})]})});case"messages":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("path",{d:"M14 18 h36 a3 3 0 0 1 3 3 v18 a3 3 0 0 1 -3 3 h-18 l-8 6 v-6 h-10 a3 3 0 0 1 -3 -3 v-18 a3 3 0 0 1 3 -3 z"}),(0,t.jsx)("line",{x1:"22",y1:"28",x2:"42",y2:"28",opacity:"0.5"}),(0,t.jsx)("line",{x1:"22",y1:"34",x2:"36",y2:"34",opacity:"0.5"})]})});case"logs":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("path",{d:"M18 12 h22 l8 8 v32 a2 2 0 0 1 -2 2 h-28 a2 2 0 0 1 -2 -2 v-38 a2 2 0 0 1 2 -2 z"}),(0,t.jsx)("path",{d:"M40 12 v8 h8",opacity:"0.6"}),(0,t.jsx)("line",{x1:"24",y1:"32",x2:"40",y2:"32",opacity:"0.55"}),(0,t.jsx)("line",{x1:"24",y1:"38",x2:"40",y2:"38",opacity:"0.4"}),(0,t.jsx)("line",{x1:"24",y1:"44",x2:"34",y2:"44",opacity:"0.25"})]})});case"tokens":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("circle",{cx:"22",cy:"32",r:"8"}),(0,t.jsx)("line",{x1:"30",y1:"32",x2:"54",y2:"32"}),(0,t.jsx)("line",{x1:"44",y1:"32",x2:"44",y2:"38"}),(0,t.jsx)("line",{x1:"50",y1:"32",x2:"50",y2:"40"})]})});case"networks":return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("circle",{cx:"32",cy:"32",r:"18"}),(0,t.jsx)("ellipse",{cx:"32",cy:"32",rx:"18",ry:"9",opacity:"0.55"}),(0,t.jsx)("line",{x1:"14",y1:"32",x2:"50",y2:"32",opacity:"0.55"}),(0,t.jsx)("line",{x1:"32",y1:"14",x2:"32",y2:"50",opacity:"0.55"})]})});default:return(0,t.jsx)("svg",{viewBox:"0 0 64 64",...r,children:(0,t.jsxs)("g",{...i,children:[(0,t.jsx)("circle",{cx:"32",cy:"32",r:"14",strokeDasharray:"3 3",opacity:"0.6"}),(0,t.jsx)("circle",{cx:"32",cy:"32",r:"3"})]})})}}function a({variant:e="generic",title:s,sub:l,cta:o,compact:c=!1}){let x=i[e],h=s??x.title,d=l??x.sub;return(0,t.jsxs)("div",{className:`text-center ${c?"py-8":"py-16"} px-4`,role:"status",children:[(0,t.jsx)("div",{className:"anet-empty-glyph inline-flex items-center justify-center mb-4 text-gray-500","aria-hidden":!0,children:(0,t.jsx)(n,{variant:e,size:c?40:56})}),(0,t.jsx)("h3",{className:`font-medium text-gray-300 ${c?"text-sm":"text-base"}`,children:h}),d&&(0,t.jsx)("p",{className:`text-gray-500 ${c?"text-xs mt-1.5":"text-sm mt-2"} max-w-md mx-auto leading-relaxed`,children:d}),o&&(0,t.jsx)("div",{className:"mt-4",children:o.href?(0,t.jsxs)(r.default,{href:o.href,className:"inline-flex items-center gap-1.5 text-sm font-medium text-cyan-400 hover:text-cyan-300",children:[o.label,(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]}):(0,t.jsxs)("button",{onClick:o.onClick,className:"inline-flex items-center gap-1.5 text-sm font-medium text-cyan-400 hover:text-cyan-300",children:[o.label,(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]})})]})}function l({children:e}){return(0,t.jsx)("div",{className:"max-w-2xl mx-auto rounded-xl border border-[#26262b] bg-[#161618] shadow-lg shadow-black/20",children:e})}function o({cmd:e}){let[r,i]=(0,s.useState)(!1),n=async()=>{try{await navigator.clipboard.writeText(e),i(!0),setTimeout(()=>i(!1),1800)}catch{}};return(0,t.jsxs)("div",{className:"anet-empty-cmd flex items-start sm:items-center gap-2 bg-[#0e0e10] border border-[#26262b] rounded-lg pl-4 pr-1.5 py-1.5 text-xs sm:text-sm",children:[(0,t.jsx)("code",{className:"text-cyan-300 font-mono select-all min-w-0 break-all sm:break-normal",children:e}),(0,t.jsx)("button",{type:"button",onClick:n,"aria-label":r?"Copied":"Copy command",className:"shrink-0 rounded-md px-2 py-1.5 text-[11px] text-gray-500 hover:text-gray-200 hover:bg-[#1c1c1f] transition-colors",children:r?(0,t.jsxs)("span",{className:"flex items-center gap-1 text-green-400",children:[(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M20 6 9 17l-5-5"})}),"Copied"]}):(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,t.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),"Copy"]})})]})}e.s(["EmptyState",0,a,"NodesEmptyState",0,function({hint:e,taskHistoryCount:s=0}){return e?.global_count?(0,t.jsx)(l,{children:(0,t.jsx)(a,{variant:"nodes",title:"No agents in this network",sub:`Server has ${e.global_count} nodes globally, but none are registered to the current network. Switch network or contact admin.`})}):s>0?(0,t.jsx)(l,{children:(0,t.jsx)(a,{variant:"nodes",title:"No agents online",sub:`Every agent in this network is currently offline. ${s.toLocaleString()} task${1===s?"":"s"} in history — they may have finished their work or disconnected.`,cta:{label:"View task history",href:"/tasks"}})}):(0,t.jsx)(l,{children:(0,t.jsxs)("div",{className:"text-center py-16 px-4",role:"status",children:[(0,t.jsx)("div",{className:"anet-empty-glyph inline-flex items-center justify-center mb-4 text-gray-500","aria-hidden":!0,children:(0,t.jsx)("svg",{viewBox:"0 0 64 64",width:56,height:56,children:(0,t.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",fill:"none",children:[(0,t.jsx)("rect",{x:"10",y:"20",width:"44",height:"28",rx:"2"}),(0,t.jsx)("rect",{x:"20",y:"32",width:"6",height:"8",opacity:"0.5"}),(0,t.jsx)("rect",{x:"32",y:"32",width:"6",height:"8",opacity:"0.5"}),(0,t.jsx)("rect",{x:"44",y:"32",width:"4",height:"8",opacity:"0.5"}),(0,t.jsx)("line",{x1:"10",y1:"26",x2:"54",y2:"26",opacity:"0.4"}),(0,t.jsx)("circle",{cx:"14",cy:"23",r:"0.8",fill:"currentColor"})]})})}),(0,t.jsx)("h3",{className:"font-medium text-gray-300 text-base",children:"Spin up your first agent"}),(0,t.jsx)("p",{className:"text-gray-500 text-sm mt-2 max-w-md mx-auto leading-relaxed",children:"Run this in a fresh terminal to register an agent with this CommHub:"}),(0,t.jsx)("div",{className:"mt-4 inline-block",children:(0,t.jsx)(o,{cmd:"npx --yes @sleep2agi/agent-network init"})}),(0,t.jsx)("p",{className:"text-gray-600 text-xs mt-3 max-w-md mx-auto",children:"Once the agent connects, it appears here automatically within a few seconds — no refresh needed."}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsxs)("a",{href:"https://anet.sh",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs font-medium text-gray-500 hover:text-cyan-300",children:["Full quickstart guide",(0,t.jsx)("span",{"aria-hidden":!0,children:"→"})]})})]})})}])},63241,e=>{"use strict";var t=e.i(31923),s=e.i(16949);let r=async e=>{let t=await fetch(e);if(401===t.status)throw window.location.assign("/login"),Error("unauthorized");return t.json()},i={refreshInterval:5e3,dedupingInterval:3e3};function n(e,t){if(!t)return e;let s=e.includes("?")?"&":"?";return`${e}${s}network_id=${encodeURIComponent(t)}`}e.s(["useAnetConfig",0,function(){let{data:e}=(0,t.default)("/api/anet/config",r,{refreshInterval:3e4});return{config:e||null}},"useHealth",0,function(){let{data:e,error:s}=(0,t.default)("/api/hub/health",r,i);return{health:e||null,error:s}},"useMessages",0,function(e=100){let{networkId:a}=(0,s.useNetworkId)(),{data:l,error:o,isLoading:c}=(0,t.default)(n(`/api/hub/messages?limit=${e}`,a),r,{...i,keepPreviousData:!0});return{messages:l?.messages||[],error:o,isLoading:c}},"useNodeLifecycle",0,function(){let{networkId:e}=(0,s.useNetworkId)(),{data:a,error:l}=(0,t.default)(n("/api/hub/nodes",e),r,i),o={},c={};for(let e of a?.nodes??[])e.alias&&"string"==typeof e.lifecycle_state&&(o[e.alias]=e.lifecycle_state),e.alias&&"string"==typeof e.node_id&&(c[e.alias]=e.node_id);return{lifecycleByAlias:o,nodeIdByAlias:c,error:l}},"useSessions",0,function(){let{networkId:e}=(0,s.useNetworkId)(),{data:a,error:l,isLoading:o}=(0,t.default)(n("/api/hub/status",e),r,i);return{sessions:a?.sessions||[],hint:a?._hint,error:l,isLoading:o}},"useStats",0,function(){let{networkId:e}=(0,s.useNetworkId)(),{data:a,error:l}=(0,t.default)(n("/api/hub/stats",e),r,i);return{stats:a?.ok?a:null,error:l}},"useTasks",0,function(e){let{networkId:a}=(0,s.useNetworkId)(),l=new URLSearchParams({limit:"100",...e}).toString(),{data:o,error:c,isLoading:x}=(0,t.default)(n(`/api/hub/tasks?${l}`,a),r,i);return{tasks:o?.tasks||[],count:o?.count??0,source:o?.source,error:c,isLoading:x}}])},89195,e=>{"use strict";e.s(["DASHBOARD_VERSION",0,"0.6.3-preview.4"],89195)}]);
package/.next/trace CHANGED
@@ -1,2 +1,2 @@
1
- [{"name":"generate-buildid","duration":297,"timestamp":3950291209362,"id":4,"parentId":1,"tags":{},"startTime":1782758263456,"traceId":"710ecc9d3caae7fc"},{"name":"load-custom-routes","duration":730,"timestamp":3950291209809,"id":5,"parentId":1,"tags":{},"startTime":1782758263456,"traceId":"710ecc9d3caae7fc"},{"name":"create-dist-dir","duration":1087,"timestamp":3950291210605,"id":6,"parentId":1,"tags":{},"startTime":1782758263457,"traceId":"710ecc9d3caae7fc"},{"name":"clean","duration":551,"timestamp":3950291212636,"id":7,"parentId":1,"tags":{},"startTime":1782758263459,"traceId":"710ecc9d3caae7fc"},{"name":"discover-routes","duration":12157,"timestamp":3950291304114,"id":8,"parentId":1,"tags":{},"startTime":1782758263550,"traceId":"710ecc9d3caae7fc"},{"name":"create-root-mapping","duration":123,"timestamp":3950291316343,"id":9,"parentId":1,"tags":{},"startTime":1782758263563,"traceId":"710ecc9d3caae7fc"},{"name":"generate-route-types","duration":39532,"timestamp":3950291319711,"id":10,"parentId":1,"tags":{},"startTime":1782758263566,"traceId":"710ecc9d3caae7fc"},{"name":"public-dir-conflict-check","duration":110,"timestamp":3950291359444,"id":11,"parentId":1,"tags":{},"startTime":1782758263606,"traceId":"710ecc9d3caae7fc"},{"name":"generate-routes-manifest","duration":5122,"timestamp":3950291359724,"id":12,"parentId":1,"tags":{},"startTime":1782758263606,"traceId":"710ecc9d3caae7fc"},{"name":"run-turbopack","duration":6637848,"timestamp":3950291370451,"id":14,"parentId":1,"tags":{},"startTime":1782758263617,"traceId":"710ecc9d3caae7fc"},{"name":"turbopack-build-events","duration":77,"timestamp":3950291679669,"id":15,"parentId":1,"tags":{},"startTime":1782758263926,"traceId":"710ecc9d3caae7fc"},{"name":"run-typescript","duration":10562859,"timestamp":3950298030631,"id":16,"parentId":1,"tags":{},"startTime":1782758270277,"traceId":"710ecc9d3caae7fc"},{"name":"generate-required-server-files","duration":2413,"timestamp":3950308594757,"id":18,"parentId":1,"tags":{},"startTime":1782758280841,"traceId":"710ecc9d3caae7fc"},{"name":"check-static-error-page","duration":19307,"timestamp":3950308793722,"id":20,"parentId":19,"tags":{},"startTime":1782758281040,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":433280,"timestamp":3950308817300,"id":71,"parentId":22,"tags":{},"startTime":1782758281064,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":454332,"timestamp":3950308796411,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1782758281043,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":559541,"timestamp":3950308817917,"id":77,"parentId":34,"tags":{},"startTime":1782758281064,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":576167,"timestamp":3950308801394,"id":34,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1782758281048,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":595434,"timestamp":3950308817960,"id":78,"parentId":36,"tags":{},"startTime":1782758281064,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":611351,"timestamp":3950308802152,"id":36,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1782758281048,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":612122,"timestamp":3950308817993,"id":79,"parentId":37,"tags":{},"startTime":1782758281064,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":627908,"timestamp":3950308802294,"id":37,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1782758281049,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":614603,"timestamp":3950308817460,"id":72,"parentId":29,"tags":{},"startTime":1782758281064,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":631608,"timestamp":3950308800535,"id":29,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1782758281047,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":619331,"timestamp":3950308819195,"id":80,"parentId":38,"tags":{},"startTime":1782758281065,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":636199,"timestamp":3950308802415,"id":38,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1782758281049,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":625811,"timestamp":3950308819376,"id":82,"parentId":40,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":642405,"timestamp":3950308802863,"id":40,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1782758281049,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":639144,"timestamp":3950308819414,"id":83,"parentId":41,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":655649,"timestamp":3950308802984,"id":41,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1782758281049,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":645280,"timestamp":3950308819449,"id":84,"parentId":42,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":661735,"timestamp":3950308803071,"id":42,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1782758281049,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":645819,"timestamp":3950308819237,"id":81,"parentId":39,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":662389,"timestamp":3950308802713,"id":39,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1782758281049,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":650353,"timestamp":3950308819464,"id":85,"parentId":43,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":666727,"timestamp":3950308803141,"id":43,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1782758281049,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":657654,"timestamp":3950308817672,"id":75,"parentId":32,"tags":{},"startTime":1782758281064,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":674324,"timestamp":3950308801061,"id":32,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1782758281047,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":657967,"timestamp":3950308819488,"id":87,"parentId":47,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":670707,"timestamp":3950308806806,"id":47,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1782758281053,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":661281,"timestamp":3950308819502,"id":88,"parentId":48,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":673889,"timestamp":3950308806951,"id":48,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1782758281053,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":666391,"timestamp":3950308816950,"id":70,"parentId":21,"tags":{},"startTime":1782758281063,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":688459,"timestamp":3950308794931,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1782758281041,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":664042,"timestamp":3950308819512,"id":89,"parentId":49,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":676519,"timestamp":3950308807078,"id":49,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1782758281053,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":671061,"timestamp":3950308819556,"id":92,"parentId":52,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":683278,"timestamp":3950308807415,"id":52,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1782758281054,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":672842,"timestamp":3950308819566,"id":93,"parentId":53,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":684944,"timestamp":3950308807533,"id":53,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1782758281054,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":677802,"timestamp":3950308819580,"id":94,"parentId":54,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":689831,"timestamp":3950308807623,"id":54,"parentId":19,"tags":{"page":"/api/hub/upload"},"startTime":1782758281054,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":686624,"timestamp":3950308819475,"id":86,"parentId":45,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":699828,"timestamp":3950308806344,"id":45,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/health"},"startTime":1782758281053,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":698588,"timestamp":3950308819531,"id":90,"parentId":50,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":710994,"timestamp":3950308807187,"id":50,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1782758281053,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":698751,"timestamp":3950308819593,"id":95,"parentId":55,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":710600,"timestamp":3950308807777,"id":55,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1782758281054,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":701029,"timestamp":3950308817611,"id":74,"parentId":31,"tags":{},"startTime":1782758281064,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":717798,"timestamp":3950308800875,"id":31,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1782758281047,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":699210,"timestamp":3950308819602,"id":96,"parentId":58,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":710284,"timestamp":3950308808554,"id":58,"parentId":19,"tags":{"page":"/manifest.webmanifest"},"startTime":1782758281055,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":701410,"timestamp":3950308817541,"id":73,"parentId":30,"tags":{},"startTime":1782758281064,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":718237,"timestamp":3950308800737,"id":30,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1782758281047,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":698475,"timestamp":3950308826751,"id":99,"parentId":26,"tags":{},"startTime":1782758281073,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":725989,"timestamp":3950308799288,"id":26,"parentId":19,"tags":{"page":"/api/anet/node-config"},"startTime":1782758281046,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":701826,"timestamp":3950308825114,"id":98,"parentId":25,"tags":{},"startTime":1782758281071,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":728012,"timestamp":3950308798980,"id":25,"parentId":19,"tags":{"page":"/api/anet/host-supervisors"},"startTime":1782758281045,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":692128,"timestamp":3950308836928,"id":100,"parentId":27,"tags":{},"startTime":1782758281083,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":729476,"timestamp":3950308799634,"id":27,"parentId":19,"tags":{"page":"/api/anet/node-create"},"startTime":1782758281046,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":687297,"timestamp":3950308843597,"id":102,"parentId":35,"tags":{},"startTime":1782758281090,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":729398,"timestamp":3950308801544,"id":35,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1782758281048,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":682252,"timestamp":3950308856962,"id":104,"parentId":46,"tags":{},"startTime":1782758281103,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":732759,"timestamp":3950308806511,"id":46,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1782758281053,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":719490,"timestamp":3950308823716,"id":97,"parentId":24,"tags":{},"startTime":1782758281070,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":746411,"timestamp":3950308796852,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1782758281043,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":693594,"timestamp":3950308855883,"id":103,"parentId":44,"tags":{},"startTime":1782758281102,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":746233,"timestamp":3950308803302,"id":44,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/agents"},"startTime":1782758281050,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":721070,"timestamp":3950308838221,"id":101,"parentId":28,"tags":{},"startTime":1782758281084,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":759363,"timestamp":3950308800021,"id":28,"parentId":19,"tags":{"page":"/api/anet/node-lifecycle"},"startTime":1782758281046,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":751299,"timestamp":3950308817761,"id":76,"parentId":33,"tags":{},"startTime":1782758281064,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":767988,"timestamp":3950308801217,"id":33,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1782758281047,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":777580,"timestamp":3950308819544,"id":91,"parentId":51,"tags":{},"startTime":1782758281066,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":790134,"timestamp":3950308807282,"id":51,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1782758281054,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":730659,"timestamp":3950308876053,"id":107,"parentId":57,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":798403,"timestamp":3950308808382,"id":57,"parentId":19,"tags":{"page":"/logs"},"startTime":1782758281055,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":730887,"timestamp":3950308876112,"id":111,"parentId":63,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":797112,"timestamp":3950308809978,"id":63,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1782758281056,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":738651,"timestamp":3950308876125,"id":112,"parentId":64,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":804603,"timestamp":3950308810238,"id":64,"parentId":19,"tags":{"page":"/servers"},"startTime":1782758281057,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":739021,"timestamp":3950308876074,"id":108,"parentId":59,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":806441,"timestamp":3950308808703,"id":59,"parentId":19,"tags":{"page":"/messages"},"startTime":1782758281055,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":739164,"timestamp":3950308876137,"id":113,"parentId":65,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":804967,"timestamp":3950308810369,"id":65,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1782758281057,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":741194,"timestamp":3950308875923,"id":106,"parentId":56,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":808965,"timestamp":3950308808203,"id":56,"parentId":19,"tags":{"page":"/login"},"startTime":1782758281054,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":743798,"timestamp":3950308876147,"id":114,"parentId":67,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":807604,"timestamp":3950308812383,"id":67,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1782758281059,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":750919,"timestamp":3950308876176,"id":116,"parentId":69,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":814423,"timestamp":3950308812726,"id":69,"parentId":19,"tags":{"page":"/tasks"},"startTime":1782758281059,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":739985,"timestamp":3950308887881,"id":118,"parentId":66,"tags":{},"startTime":1782758281134,"traceId":"710ecc9d3caae7fc"}]
2
- [{"name":"check-page","duration":817638,"timestamp":3950308810567,"id":66,"parentId":19,"tags":{"page":"/settings"},"startTime":1782758281057,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":752459,"timestamp":3950308875866,"id":105,"parentId":23,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":831700,"timestamp":3950308796658,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1782758281043,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":752270,"timestamp":3950308876189,"id":117,"parentId":62,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":819086,"timestamp":3950308809407,"id":62,"parentId":19,"tags":{"page":"/"},"startTime":1782758281056,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":754697,"timestamp":3950308876163,"id":115,"parentId":68,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":818340,"timestamp":3950308812565,"id":68,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1782758281059,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":762354,"timestamp":3950308876101,"id":110,"parentId":61,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":829372,"timestamp":3950308809136,"id":61,"parentId":19,"tags":{"page":"/nodes"},"startTime":1782758281055,"traceId":"710ecc9d3caae7fc"},{"name":"is-page-static","duration":767147,"timestamp":3950308876088,"id":109,"parentId":60,"tags":{},"startTime":1782758281122,"traceId":"710ecc9d3caae7fc"},{"name":"check-page","duration":834354,"timestamp":3950308808930,"id":60,"parentId":19,"tags":{"page":"/node"},"startTime":1782758281055,"traceId":"710ecc9d3caae7fc"},{"name":"static-check","duration":850531,"timestamp":3950308792809,"id":19,"parentId":1,"tags":{},"startTime":1782758281039,"traceId":"710ecc9d3caae7fc"},{"name":"write-routes-manifest","duration":500,"timestamp":3950309653754,"id":120,"parentId":1,"tags":{},"startTime":1782758281900,"traceId":"710ecc9d3caae7fc"},{"name":"load-dotenv","duration":55,"timestamp":3950309666794,"id":123,"parentId":122,"tags":{},"startTime":1782758281913,"traceId":"710ecc9d3caae7fc"},{"name":"run-export-path-map","duration":728,"timestamp":3950309669623,"id":124,"parentId":122,"tags":{},"startTime":1782758281916,"traceId":"710ecc9d3caae7fc"},{"name":"next-export","duration":738428,"timestamp":3950309665134,"id":122,"parentId":1,"tags":{},"startTime":1782758281911,"traceId":"710ecc9d3caae7fc"},{"name":"move-exported-app-not-found-","duration":731,"timestamp":3950310407626,"id":125,"parentId":121,"tags":{},"startTime":1782758282654,"traceId":"710ecc9d3caae7fc"},{"name":"move-exported-app-global-error-","duration":438,"timestamp":3950310408474,"id":126,"parentId":121,"tags":{},"startTime":1782758282655,"traceId":"710ecc9d3caae7fc"},{"name":"static-generation","duration":751929,"timestamp":3950309658949,"id":121,"parentId":1,"tags":{},"startTime":1782758281905,"traceId":"710ecc9d3caae7fc"},{"name":"write-routes-manifest","duration":456,"timestamp":3950310411151,"id":127,"parentId":1,"tags":{},"startTime":1782758282657,"traceId":"710ecc9d3caae7fc"},{"name":"print-tree-view","duration":6439,"timestamp":3950310421353,"id":128,"parentId":1,"tags":{},"startTime":1782758282668,"traceId":"710ecc9d3caae7fc"},{"name":"write-route-bundle-stats","duration":19819,"timestamp":3950310427833,"id":129,"parentId":1,"tags":{},"startTime":1782758282674,"traceId":"710ecc9d3caae7fc"},{"name":"telemetry-flush","duration":27566,"timestamp":3950310447697,"id":130,"parentId":1,"tags":{},"startTime":1782758282694,"traceId":"710ecc9d3caae7fc"},{"name":"next-build","duration":19325952,"timestamp":3950291149361,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1782758263396,"traceId":"710ecc9d3caae7fc"}]
1
+ [{"name":"generate-buildid","duration":319,"timestamp":3968133593698,"id":4,"parentId":1,"tags":{},"startTime":1782776105840,"traceId":"6b2595779d6e43c5"},{"name":"load-custom-routes","duration":454,"timestamp":3968133594167,"id":5,"parentId":1,"tags":{},"startTime":1782776105840,"traceId":"6b2595779d6e43c5"},{"name":"create-dist-dir","duration":731,"timestamp":3968133594662,"id":6,"parentId":1,"tags":{},"startTime":1782776105841,"traceId":"6b2595779d6e43c5"},{"name":"clean","duration":51827,"timestamp":3968133596117,"id":7,"parentId":1,"tags":{},"startTime":1782776105842,"traceId":"6b2595779d6e43c5"},{"name":"discover-routes","duration":11118,"timestamp":3968133737087,"id":8,"parentId":1,"tags":{},"startTime":1782776105983,"traceId":"6b2595779d6e43c5"},{"name":"create-root-mapping","duration":116,"timestamp":3968133748275,"id":9,"parentId":1,"tags":{},"startTime":1782776105995,"traceId":"6b2595779d6e43c5"},{"name":"generate-route-types","duration":34518,"timestamp":3968133751102,"id":10,"parentId":1,"tags":{},"startTime":1782776105997,"traceId":"6b2595779d6e43c5"},{"name":"public-dir-conflict-check","duration":119,"timestamp":3968133785740,"id":11,"parentId":1,"tags":{},"startTime":1782776106032,"traceId":"6b2595779d6e43c5"},{"name":"generate-routes-manifest","duration":5668,"timestamp":3968133785982,"id":12,"parentId":1,"tags":{},"startTime":1782776106032,"traceId":"6b2595779d6e43c5"},{"name":"run-turbopack","duration":7075034,"timestamp":3968133798584,"id":14,"parentId":1,"tags":{},"startTime":1782776106045,"traceId":"6b2595779d6e43c5"},{"name":"turbopack-build-events","duration":86,"timestamp":3968134153772,"id":15,"parentId":1,"tags":{},"startTime":1782776106400,"traceId":"6b2595779d6e43c5"},{"name":"run-typescript","duration":11757463,"timestamp":3968140882682,"id":16,"parentId":1,"tags":{},"startTime":1782776113129,"traceId":"6b2595779d6e43c5"},{"name":"generate-required-server-files","duration":3851,"timestamp":3968152641664,"id":18,"parentId":1,"tags":{},"startTime":1782776124888,"traceId":"6b2595779d6e43c5"},{"name":"check-static-error-page","duration":18895,"timestamp":3968152877276,"id":20,"parentId":19,"tags":{},"startTime":1782776125124,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":576291,"timestamp":3968152899941,"id":71,"parentId":22,"tags":{},"startTime":1782776125146,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":595683,"timestamp":3968152880773,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1782776125127,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":708733,"timestamp":3968152901828,"id":77,"parentId":34,"tags":{},"startTime":1782776125148,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":723265,"timestamp":3968152887396,"id":34,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1782776125134,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":724555,"timestamp":3968152901898,"id":78,"parentId":36,"tags":{},"startTime":1782776125148,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":738047,"timestamp":3968152888485,"id":36,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1782776125135,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":736561,"timestamp":3968152901963,"id":79,"parentId":37,"tags":{},"startTime":1782776125148,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":749913,"timestamp":3968152888685,"id":37,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1782776125135,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":758906,"timestamp":3968152902058,"id":80,"parentId":38,"tags":{},"startTime":1782776125148,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":772272,"timestamp":3968152888795,"id":38,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1782776125135,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":765234,"timestamp":3968152902085,"id":81,"parentId":39,"tags":{},"startTime":1782776125148,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":778534,"timestamp":3968152888874,"id":39,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1782776125135,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":769882,"timestamp":3968152902200,"id":82,"parentId":40,"tags":{},"startTime":1782776125148,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":783233,"timestamp":3968152888935,"id":40,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1782776125135,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":778895,"timestamp":3968152902231,"id":83,"parentId":41,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":790311,"timestamp":3968152890900,"id":41,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1782776125137,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":780039,"timestamp":3968152902247,"id":84,"parentId":42,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":791372,"timestamp":3968152890981,"id":42,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1782776125137,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":786139,"timestamp":3968152902258,"id":85,"parentId":43,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":797391,"timestamp":3968152891077,"id":43,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1782776125137,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":804649,"timestamp":3968152902269,"id":86,"parentId":45,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":815651,"timestamp":3968152891383,"id":45,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/health"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":808059,"timestamp":3968152899481,"id":70,"parentId":21,"tags":{},"startTime":1782776125146,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":828922,"timestamp":3968152878672,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1782776125125,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":810645,"timestamp":3968152902277,"id":87,"parentId":47,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":821306,"timestamp":3968152891686,"id":47,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":815874,"timestamp":3968152902299,"id":89,"parentId":49,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":826407,"timestamp":3968152891843,"id":49,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":822220,"timestamp":3968152902307,"id":90,"parentId":50,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":832696,"timestamp":3968152891900,"id":50,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":827772,"timestamp":3968152902318,"id":91,"parentId":51,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":838207,"timestamp":3968152891954,"id":51,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":833892,"timestamp":3968152902329,"id":92,"parentId":52,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":844255,"timestamp":3968152892051,"id":52,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":837580,"timestamp":3968152902343,"id":93,"parentId":53,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":847888,"timestamp":3968152892106,"id":53,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":842787,"timestamp":3968152902351,"id":94,"parentId":54,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":853053,"timestamp":3968152892156,"id":54,"parentId":19,"tags":{"page":"/api/hub/upload"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":857028,"timestamp":3968152902288,"id":88,"parentId":48,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":867610,"timestamp":3968152891787,"id":48,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":864496,"timestamp":3968152902362,"id":95,"parentId":55,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":874722,"timestamp":3968152892219,"id":55,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":868927,"timestamp":3968152911529,"id":97,"parentId":24,"tags":{},"startTime":1782776125158,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":899219,"timestamp":3968152881314,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1782776125128,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":885024,"timestamp":3968152901224,"id":73,"parentId":30,"tags":{},"startTime":1782776125147,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":899563,"timestamp":3968152886757,"id":30,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1782776125133,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":870431,"timestamp":3968152916069,"id":98,"parentId":25,"tags":{},"startTime":1782776125162,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":901479,"timestamp":3968152885056,"id":25,"parentId":19,"tags":{"page":"/api/anet/host-supervisors"},"startTime":1782776125131,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":870181,"timestamp":3968152923048,"id":99,"parentId":26,"tags":{},"startTime":1782776125169,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":907940,"timestamp":3968152885358,"id":26,"parentId":19,"tags":{"page":"/api/anet/node-config"},"startTime":1782776125132,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":867388,"timestamp":3968152929872,"id":100,"parentId":27,"tags":{},"startTime":1782776125176,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":911645,"timestamp":3968152885677,"id":27,"parentId":19,"tags":{"page":"/api/anet/node-create"},"startTime":1782776125132,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":861864,"timestamp":3968152943443,"id":102,"parentId":35,"tags":{},"startTime":1782776125190,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":917848,"timestamp":3968152887527,"id":35,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1782776125134,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":867256,"timestamp":3968152944352,"id":103,"parentId":44,"tags":{},"startTime":1782776125191,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":920520,"timestamp":3968152891157,"id":44,"parentId":19,"tags":{"page":"/api/hub/server/[hostname]/agents"},"startTime":1782776125137,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":866536,"timestamp":3968152949921,"id":104,"parentId":46,"tags":{},"startTime":1782776125196,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":925039,"timestamp":3968152891489,"id":46,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1782776125138,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":904586,"timestamp":3968152931774,"id":101,"parentId":28,"tags":{},"startTime":1782776125178,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":950329,"timestamp":3968152886120,"id":28,"parentId":19,"tags":{"page":"/api/anet/node-lifecycle"},"startTime":1782776125132,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":947800,"timestamp":3968152901335,"id":74,"parentId":31,"tags":{},"startTime":1782776125148,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":962296,"timestamp":3968152886918,"id":31,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1782776125133,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":949665,"timestamp":3968152900129,"id":72,"parentId":29,"tags":{},"startTime":1782776125146,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":963299,"timestamp":3968152886556,"id":29,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1782776125133,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":972940,"timestamp":3968152902372,"id":96,"parentId":58,"tags":{},"startTime":1782776125149,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":982697,"timestamp":3968152892715,"id":58,"parentId":19,"tags":{"page":"/manifest.webmanifest"},"startTime":1782776125139,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":901048,"timestamp":3968152981368,"id":105,"parentId":23,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1001396,"timestamp":3968152881091,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1782776125127,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":901890,"timestamp":3968152981572,"id":109,"parentId":60,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":990574,"timestamp":3968152892953,"id":60,"parentId":19,"tags":{"page":"/node"},"startTime":1782776125139,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":909513,"timestamp":3968152981592,"id":111,"parentId":63,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":997466,"timestamp":3968152893703,"id":63,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1782776125140,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":909747,"timestamp":3968152981582,"id":110,"parentId":61,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":998232,"timestamp":3968152893128,"id":61,"parentId":19,"tags":{"page":"/nodes"},"startTime":1782776125139,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":925617,"timestamp":3968152981602,"id":112,"parentId":64,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1013408,"timestamp":3968152893892,"id":64,"parentId":19,"tags":{"page":"/servers"},"startTime":1782776125140,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":925839,"timestamp":3968152981614,"id":113,"parentId":65,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1013511,"timestamp":3968152893972,"id":65,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1782776125140,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":1015293,"timestamp":3968152901430,"id":75,"parentId":32,"tags":{},"startTime":1782776125148,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1029712,"timestamp":3968152887101,"id":32,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1782776125133,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":943856,"timestamp":3968152981633,"id":115,"parentId":68,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1029806,"timestamp":3968152895805,"id":68,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1782776125142,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":944157,"timestamp":3968152981624,"id":114,"parentId":67,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1030151,"timestamp":3968152895666,"id":67,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1782776125142,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":958622,"timestamp":3968152981652,"id":117,"parentId":62,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1047030,"timestamp":3968152893321,"id":62,"parentId":19,"tags":{"page":"/"},"startTime":1782776125140,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":958940,"timestamp":3968152981662,"id":118,"parentId":66,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"}]
2
+ [{"name":"check-page","duration":1045919,"timestamp":3968152894983,"id":66,"parentId":19,"tags":{"page":"/settings"},"startTime":1782776125142,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":970518,"timestamp":3968152981544,"id":107,"parentId":57,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1059537,"timestamp":3968152892602,"id":57,"parentId":19,"tags":{"page":"/logs"},"startTime":1782776125139,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":1055422,"timestamp":3968152901559,"id":76,"parentId":33,"tags":{},"startTime":1782776125148,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1069832,"timestamp":3968152887244,"id":33,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1782776125134,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":1010808,"timestamp":3968152981428,"id":106,"parentId":56,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1099815,"timestamp":3968152892504,"id":56,"parentId":19,"tags":{"page":"/login"},"startTime":1782776125139,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":1059570,"timestamp":3968152981643,"id":116,"parentId":69,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1145359,"timestamp":3968152895928,"id":69,"parentId":19,"tags":{"page":"/tasks"},"startTime":1782776125142,"traceId":"6b2595779d6e43c5"},{"name":"is-page-static","duration":1095033,"timestamp":3968152981561,"id":108,"parentId":59,"tags":{},"startTime":1782776125228,"traceId":"6b2595779d6e43c5"},{"name":"check-page","duration":1183896,"timestamp":3968152892792,"id":59,"parentId":19,"tags":{"page":"/messages"},"startTime":1782776125139,"traceId":"6b2595779d6e43c5"},{"name":"static-check","duration":1200395,"timestamp":3968152876364,"id":19,"parentId":1,"tags":{},"startTime":1782776125123,"traceId":"6b2595779d6e43c5"},{"name":"write-routes-manifest","duration":763,"timestamp":3968154087320,"id":120,"parentId":1,"tags":{},"startTime":1782776126334,"traceId":"6b2595779d6e43c5"},{"name":"load-dotenv","duration":66,"timestamp":3968154104345,"id":123,"parentId":122,"tags":{},"startTime":1782776126351,"traceId":"6b2595779d6e43c5"},{"name":"run-export-path-map","duration":693,"timestamp":3968154107357,"id":124,"parentId":122,"tags":{},"startTime":1782776126354,"traceId":"6b2595779d6e43c5"},{"name":"next-export","duration":701463,"timestamp":3968154102647,"id":122,"parentId":1,"tags":{},"startTime":1782776126349,"traceId":"6b2595779d6e43c5"},{"name":"move-exported-app-not-found-","duration":565,"timestamp":3968154807940,"id":125,"parentId":121,"tags":{},"startTime":1782776127054,"traceId":"6b2595779d6e43c5"},{"name":"move-exported-app-global-error-","duration":453,"timestamp":3968154808602,"id":126,"parentId":121,"tags":{},"startTime":1782776127055,"traceId":"6b2595779d6e43c5"},{"name":"static-generation","duration":719213,"timestamp":3968154092137,"id":121,"parentId":1,"tags":{},"startTime":1782776126338,"traceId":"6b2595779d6e43c5"},{"name":"write-routes-manifest","duration":506,"timestamp":3968154811633,"id":127,"parentId":1,"tags":{},"startTime":1782776127058,"traceId":"6b2595779d6e43c5"},{"name":"print-tree-view","duration":6976,"timestamp":3968154824724,"id":128,"parentId":1,"tags":{},"startTime":1782776127071,"traceId":"6b2595779d6e43c5"},{"name":"write-route-bundle-stats","duration":17397,"timestamp":3968154831758,"id":129,"parentId":1,"tags":{},"startTime":1782776127078,"traceId":"6b2595779d6e43c5"},{"name":"telemetry-flush","duration":27660,"timestamp":3968154849190,"id":130,"parentId":1,"tags":{},"startTime":1782776127095,"traceId":"6b2595779d6e43c5"},{"name":"next-build","duration":21438711,"timestamp":3968133438178,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1782776105684,"traceId":"6b2595779d6e43c5"}]
package/.next/trace-build CHANGED
@@ -1 +1 @@
1
- [{"name":"run-turbopack","duration":6637848,"timestamp":3950291370451,"id":14,"parentId":1,"tags":{},"startTime":1782758263617,"traceId":"710ecc9d3caae7fc"},{"name":"turbopack-build-events","duration":77,"timestamp":3950291679669,"id":15,"parentId":1,"tags":{},"startTime":1782758263926,"traceId":"710ecc9d3caae7fc"},{"name":"run-typescript","duration":10562859,"timestamp":3950298030631,"id":16,"parentId":1,"tags":{},"startTime":1782758270277,"traceId":"710ecc9d3caae7fc"},{"name":"static-check","duration":850531,"timestamp":3950308792809,"id":19,"parentId":1,"tags":{},"startTime":1782758281039,"traceId":"710ecc9d3caae7fc"},{"name":"static-generation","duration":751929,"timestamp":3950309658949,"id":121,"parentId":1,"tags":{},"startTime":1782758281905,"traceId":"710ecc9d3caae7fc"},{"name":"telemetry-flush","duration":27566,"timestamp":3950310447697,"id":130,"parentId":1,"tags":{},"startTime":1782758282694,"traceId":"710ecc9d3caae7fc"},{"name":"next-build","duration":19325952,"timestamp":3950291149361,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1782758263396,"traceId":"710ecc9d3caae7fc"}]
1
+ [{"name":"run-turbopack","duration":7075034,"timestamp":3968133798584,"id":14,"parentId":1,"tags":{},"startTime":1782776106045,"traceId":"6b2595779d6e43c5"},{"name":"turbopack-build-events","duration":86,"timestamp":3968134153772,"id":15,"parentId":1,"tags":{},"startTime":1782776106400,"traceId":"6b2595779d6e43c5"},{"name":"run-typescript","duration":11757463,"timestamp":3968140882682,"id":16,"parentId":1,"tags":{},"startTime":1782776113129,"traceId":"6b2595779d6e43c5"},{"name":"static-check","duration":1200395,"timestamp":3968152876364,"id":19,"parentId":1,"tags":{},"startTime":1782776125123,"traceId":"6b2595779d6e43c5"},{"name":"static-generation","duration":719213,"timestamp":3968154092137,"id":121,"parentId":1,"tags":{},"startTime":1782776126338,"traceId":"6b2595779d6e43c5"},{"name":"telemetry-flush","duration":27660,"timestamp":3968154849190,"id":130,"parentId":1,"tags":{},"startTime":1782776127095,"traceId":"6b2595779d6e43c5"},{"name":"next-build","duration":21438711,"timestamp":3968133438178,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1782776105684,"traceId":"6b2595779d6e43c5"}]
@@ -29,15 +29,29 @@ import { callMcp, parseMcpEnvelope, resolveDefaultNetworkId } from '@/app/lib/hu
29
29
 
30
30
  const MCP_TOOL_RESTART = 'restart_node';
31
31
  const MCP_TOOL_RENAME = 'rename_node'; // ⚠️ Q1 — confirm hub-side tool name before relying on this
32
+ // RFC-027 PR2 — stop/delete lifecycle. daemon_node_id is auto-resolved
33
+ // hub-side from child_node_id (PR2 prereq); dashboard doesn't pass it.
34
+ const MCP_TOOL_STOP = 'stop_node';
35
+ const MCP_TOOL_DELETE = 'delete_node';
32
36
 
33
- const ACTIONS = ['restart', 'rename'] as const;
37
+ const ACTIONS = ['restart', 'rename', 'stop', 'delete'] as const;
34
38
  type Action = (typeof ACTIONS)[number];
35
39
 
36
40
  export async function POST(req: Request) {
37
41
  const authFailure = await requireDashboardAuth();
38
42
  if (authFailure) return authFailure;
39
43
 
40
- let body: { node_id?: string; action?: string; new_name?: string; network_id?: string };
44
+ let body: {
45
+ node_id?: string;
46
+ action?: string;
47
+ new_name?: string;
48
+ network_id?: string;
49
+ // RFC-027 PR2 stop/delete:
50
+ confirm_alias?: string; // delete only — must equal node alias byte-exact
51
+ force?: boolean; // both — override in-flight refuse + audit
52
+ grace_seconds?: number; // both — SIGTERM grace before SIGKILL (5-60s, default 10)
53
+ delete_config?: boolean; // delete only — false keeps config dir, default true backs up
54
+ };
41
55
  try {
42
56
  body = await req.json();
43
57
  } catch {
@@ -65,18 +79,53 @@ export async function POST(req: Request) {
65
79
 
66
80
  if (action === 'restart') {
67
81
  tool = MCP_TOOL_RESTART;
68
- } else {
69
- // rename
82
+ } else if (action === 'rename') {
70
83
  const newName = (body.new_name || '').trim();
71
84
  if (!newName) return Response.json({ error: 'new_name required for rename' }, { status: 400 });
72
85
  tool = MCP_TOOL_RENAME;
73
86
  args.new_name = newName;
87
+ } else if (action === 'stop') {
88
+ // RFC-027 §2.2 stop_node. daemon_node_id auto-resolves hub-side.
89
+ tool = MCP_TOOL_STOP;
90
+ args.child_node_id = nodeId;
91
+ delete args.node_id;
92
+ if (body.force === true) args.force = true;
93
+ if (typeof body.grace_seconds === 'number') args.grace_seconds = body.grace_seconds;
94
+ } else if (action === 'delete') {
95
+ // RFC-027 §2.2 delete_node. confirm_alias REQUIRED + must match.
96
+ const confirmAlias = (body.confirm_alias || '').trim();
97
+ if (!confirmAlias) return Response.json({ error: 'confirm_alias required for delete (must equal node alias)' }, { status: 400 });
98
+ tool = MCP_TOOL_DELETE;
99
+ args.child_node_id = nodeId;
100
+ delete args.node_id;
101
+ args.confirm_alias = confirmAlias;
102
+ if (body.force === true) args.force = true;
103
+ if (typeof body.grace_seconds === 'number') args.grace_seconds = body.grace_seconds;
104
+ if (body.delete_config === false) args.delete_config = false;
105
+ } else {
106
+ // exhaustive; the ACTIONS check above catches unknown actions first
107
+ return Response.json({ error: `unhandled action: ${action}` }, { status: 500 });
74
108
  }
75
109
 
76
110
  try {
77
111
  const res = await callMcp(tool, args);
78
112
  if (res.ok) {
79
- const result = await parseMcpEnvelope(res);
113
+ const result = await parseMcpEnvelope(res) as Record<string, unknown>;
114
+ // RFC-027 PR2 (通信龙 explicit): structured errors from the hub tool
115
+ // payload (node_not_active / cannot_delete_daemon / node_busy_in_flight
116
+ // / confirm_alias_mismatch / forbidden_cross_tenant ...) MUST surface
117
+ // as-is to the user — don't wrap them as outer ok:true with a hidden
118
+ // result.ok:false. Promote the inner ok + error to the outer envelope
119
+ // so the dashboard can render the real message.
120
+ if (result && typeof result === 'object' && (result as { ok?: boolean }).ok === false) {
121
+ // Bubble hub's structured payload to a 409 (action refused, e.g.
122
+ // in-flight/cross-tenant/wrong-confirm) so the dashboard can branch
123
+ // on error code without parsing 200-with-ok:false.
124
+ return Response.json(
125
+ { ...result, action, node_id: nodeId },
126
+ { status: 409 },
127
+ );
128
+ }
80
129
  return Response.json({ ok: true, action, node_id: nodeId, result });
81
130
  }
82
131
  // Hub reached but tool not available (e.g. rename_node not deployed yet → Q1).
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { useEffect, useState } from 'react';
4
4
  import { useNetworkId } from '../lib/network-context';
5
- import { HostSupervisorPicker } from './HostSupervisorPicker';
5
+ import { DaemonOption, HostSupervisorPicker } from './HostSupervisorPicker';
6
6
 
7
7
  /**
8
8
  * Create-node wizard (node-lifecycle UI M2/PR4 — RFC-026 §3.1).
@@ -21,12 +21,19 @@ import { HostSupervisorPicker } from './HostSupervisorPicker';
21
21
  * the API contract is exercised locally before any prod hub touches the path.
22
22
  */
23
23
 
24
+ // IDs MUST match the hub validator enums (server/src/create-node-validate.ts).
25
+ // Caught via local /mcp probe during mobile wizard build (#338 plan B):
26
+ // pre-fix RUNTIMES had 'codex' + 'grok' but hub accepts 'codex-sdk' +
27
+ // 'grok-build-acp'; pre-fix PERMISSION_MODES had 'auto' but hub rejects it
28
+ // (flag_value_invalid). The wizard has been silently shipping invalid combos
29
+ // for any non-claude-agent-sdk pick since M2 — only worked end-to-end with
30
+ // the default claude path.
24
31
  const RUNTIMES: { id: string; label: string; models: string[] }[] = [
25
32
  { id: 'claude-agent-sdk', label: 'Claude Agent SDK', models: ['deepseek-v4-pro', 'MiniMax-M3', 'claude-sonnet-4-6', 'claude-opus-4-x'] },
26
- { id: 'codex', label: 'Codex', models: ['gpt-5.5'] },
27
- { id: 'grok', label: 'Grok', models: ['grok-build'] },
33
+ { id: 'codex-sdk', label: 'Codex SDK', models: ['gpt-5.5'] },
34
+ { id: 'grok-build-acp', label: 'Grok (build-acp)', models: ['grok-build'] },
28
35
  ];
29
- const PERMISSION_MODES = ['auto', 'default', 'bypassPermissions'];
36
+ const PERMISSION_MODES = ['default', 'acceptEdits', 'plan', 'bypassPermissions'];
30
37
  const STEPS = ['服务器', '名字', 'Runtime', '模型', '参数', '确认'];
31
38
 
32
39
  type Phase = 'form' | 'creating' | 'done' | 'unconfirmed' | 'error';
@@ -42,10 +49,14 @@ export function CreateNodeWizard({
42
49
  }) {
43
50
  const [step, setStep] = useState(0);
44
51
  const [daemonNodeId, setDaemonNodeId] = useState<string | null>(null);
52
+ // (#338 wizard-runtime-filter) keep the full daemon row so the Runtime
53
+ // step can disable runtimes the chosen daemon doesn't declare support
54
+ // for. Hub-side enforcement still wins; this is UX surfacing.
55
+ const [daemon, setDaemon] = useState<DaemonOption | null>(null);
45
56
  const [name, setName] = useState('');
46
57
  const [runtimeId, setRuntimeId] = useState(RUNTIMES[0].id);
47
58
  const [model, setModel] = useState('');
48
- const [permissionMode, setPermissionMode] = useState('auto');
59
+ const [permissionMode, setPermissionMode] = useState('default');
49
60
  const [maxTurns, setMaxTurns] = useState('');
50
61
  const [budget, setBudget] = useState('');
51
62
  const [timeout, setTimeout] = useState('');
@@ -205,7 +216,21 @@ export function CreateNodeWizard({
205
216
  <HostSupervisorPicker
206
217
  networkId={netId || undefined}
207
218
  value={daemonNodeId}
208
- onChange={setDaemonNodeId}
219
+ onChange={(id, d) => {
220
+ setDaemonNodeId(id);
221
+ setDaemon(d);
222
+ // (#338 wizard-runtime-filter) If the current runtime
223
+ // pick isn't supported by the new daemon, reset so
224
+ // the user is forced to re-pick on step 2. Otherwise
225
+ // they could land on step 5 (确认) with an
226
+ // already-invalid combo that only hub rejection
227
+ // surfaces.
228
+ const supported = d?.runtimes_supported;
229
+ if (supported && supported.length > 0 && !supported.includes(runtimeId)) {
230
+ setRuntimeId(supported[0]);
231
+ setModel('');
232
+ }
233
+ }}
209
234
  />
210
235
  {!daemonNodeId && (
211
236
  <p className="text-[11px] text-gray-600">
@@ -223,24 +248,45 @@ export function CreateNodeWizard({
223
248
  )}
224
249
  {step === 2 && (
225
250
  <div className="space-y-2">
226
- <span className="text-xs text-gray-400">Runtime</span>
227
- {RUNTIMES.map(r => (
228
- <button
229
- key={r.id}
230
- type="button"
231
- onClick={() => { setRuntimeId(r.id); setModel(''); }}
232
- className={`flex w-full items-center justify-between rounded-md border px-3 py-2 text-sm transition-colors ${
233
- runtimeId === r.id ? 'border-cyan-600 bg-cyan-900/15 text-cyan-200' : 'border-[#26262b] bg-[#0e0e10] text-gray-300 hover:border-[#3a3a41]'
234
- }`}
235
- >
236
- {r.label}
237
- {runtimeId === r.id && (
238
- <svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden>
239
- <path d="M20 6 9 17l-5-5" />
240
- </svg>
241
- )}
242
- </button>
243
- ))}
251
+ <span className="text-xs text-gray-400">
252
+ Runtime{daemon ? `(${daemon.alias} 支持)` : ''}
253
+ </span>
254
+ {RUNTIMES.map(r => {
255
+ // (#338 wizard-runtime-filter) Permissive when the
256
+ // daemon didn't publish runtimes_supported at all
257
+ // (pre-PR3 daemons OR daemons not yet upgraded) hub
258
+ // still validates. Restrictive only when the daemon
259
+ // explicitly told us its supported set.
260
+ const supported = daemon?.runtimes_supported;
261
+ const disabled = Array.isArray(supported) && supported.length > 0 && !supported.includes(r.id);
262
+ const selected = runtimeId === r.id;
263
+ return (
264
+ <button
265
+ key={r.id}
266
+ type="button"
267
+ disabled={disabled}
268
+ onClick={() => { if (!disabled) { setRuntimeId(r.id); setModel(''); } }}
269
+ title={disabled ? `${daemon?.alias || '该 daemon'} 未声明支持此 runtime` : undefined}
270
+ className={`flex w-full items-center justify-between rounded-md border px-3 py-2 text-sm transition-colors ${
271
+ disabled
272
+ ? 'border-[#1c1c1f] bg-[#0a0a0c] text-gray-600 cursor-not-allowed'
273
+ : selected
274
+ ? 'border-cyan-600 bg-cyan-900/15 text-cyan-200'
275
+ : 'border-[#26262b] bg-[#0e0e10] text-gray-300 hover:border-[#3a3a41]'
276
+ }`}
277
+ >
278
+ <span>
279
+ {r.label}
280
+ {disabled && <span className="ml-2 text-[10px] text-gray-700">该 daemon 不支持</span>}
281
+ </span>
282
+ {selected && !disabled && (
283
+ <svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden>
284
+ <path d="M20 6 9 17l-5-5" />
285
+ </svg>
286
+ )}
287
+ </button>
288
+ );
289
+ })}
244
290
  </div>
245
291
  )}
246
292
  {step === 3 && (
@@ -59,7 +59,10 @@ export function HostSupervisorPicker({
59
59
  }: {
60
60
  networkId?: string | null;
61
61
  value: string | null;
62
- onChange: (nodeId: string | null) => void;
62
+ // (#338 wizard-runtime-filter) passes the full daemon row alongside the
63
+ // id so the wizard can filter the Runtime step by daemon.runtimes_supported
64
+ // — disabling combos the hub would reject anyway and surfacing why upfront.
65
+ onChange: (nodeId: string | null, daemon: DaemonOption | null) => void;
63
66
  }) {
64
67
  const [state, setState] = useState<LoadState>('loading');
65
68
  const [daemons, setDaemons] = useState<DaemonOption[]>([]);
@@ -94,7 +97,7 @@ export function HostSupervisorPicker({
94
97
  setState('ready');
95
98
  // count=1 auto-pick: preselect the only daemon. count≥2 leaves the
96
99
  // selection to the user (parent value stays null until click).
97
- if (list.length === 1 && !value) onChange(list[0].daemon_node_id);
100
+ if (list.length === 1 && !value) onChange(list[0].daemon_node_id, list[0]);
98
101
  })
99
102
  .catch(e => {
100
103
  if (!alive) return;
@@ -206,7 +209,7 @@ anet daemon up my-daemon`}</pre>
206
209
  key={d.daemon_node_id}
207
210
  daemon={d}
208
211
  selected={d.daemon_node_id === value}
209
- onClick={() => onChange(d.daemon_node_id)}
212
+ onClick={() => onChange(d.daemon_node_id, d)}
210
213
  />
211
214
  ))}
212
215
  </div>