@sleep2agi/agent-network-dashboard 0.4.6-preview.66 → 0.4.6-preview.68

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 (144) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/diagnostics/route-bundle-stats.json +4 -4
  4. package/.next/fallback-build-manifest.json +3 -3
  5. package/.next/prerender-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.html +1 -1
  14. package/.next/server/app/_not-found.rsc +1 -1
  15. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  16. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  19. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  20. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  21. package/.next/server/app/admin.html +1 -1
  22. package/.next/server/app/admin.rsc +1 -1
  23. package/.next/server/app/admin.segments/_full.segment.rsc +1 -1
  24. package/.next/server/app/admin.segments/_head.segment.rsc +1 -1
  25. package/.next/server/app/admin.segments/_index.segment.rsc +1 -1
  26. package/.next/server/app/admin.segments/_tree.segment.rsc +1 -1
  27. package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +1 -1
  28. package/.next/server/app/admin.segments/admin.segment.rsc +1 -1
  29. package/.next/server/app/index.html +2 -2
  30. package/.next/server/app/index.rsc +2 -2
  31. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  32. package/.next/server/app/index.segments/_full.segment.rsc +2 -2
  33. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  34. package/.next/server/app/index.segments/_index.segment.rsc +1 -1
  35. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  36. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  37. package/.next/server/app/login.html +2 -2
  38. package/.next/server/app/login.rsc +2 -2
  39. package/.next/server/app/login.segments/_full.segment.rsc +2 -2
  40. package/.next/server/app/login.segments/_head.segment.rsc +1 -1
  41. package/.next/server/app/login.segments/_index.segment.rsc +1 -1
  42. package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  43. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  44. package/.next/server/app/login.segments/login.segment.rsc +1 -1
  45. package/.next/server/app/logs.html +1 -1
  46. package/.next/server/app/logs.rsc +1 -1
  47. package/.next/server/app/logs.segments/_full.segment.rsc +1 -1
  48. package/.next/server/app/logs.segments/_head.segment.rsc +1 -1
  49. package/.next/server/app/logs.segments/_index.segment.rsc +1 -1
  50. package/.next/server/app/logs.segments/_tree.segment.rsc +1 -1
  51. package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +1 -1
  52. package/.next/server/app/logs.segments/logs.segment.rsc +1 -1
  53. package/.next/server/app/messages.html +1 -1
  54. package/.next/server/app/messages.rsc +1 -1
  55. package/.next/server/app/messages.segments/_full.segment.rsc +1 -1
  56. package/.next/server/app/messages.segments/_head.segment.rsc +1 -1
  57. package/.next/server/app/messages.segments/_index.segment.rsc +1 -1
  58. package/.next/server/app/messages.segments/_tree.segment.rsc +1 -1
  59. package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +1 -1
  60. package/.next/server/app/messages.segments/messages.segment.rsc +1 -1
  61. package/.next/server/app/node.html +1 -1
  62. package/.next/server/app/node.rsc +1 -1
  63. package/.next/server/app/node.segments/_full.segment.rsc +1 -1
  64. package/.next/server/app/node.segments/_head.segment.rsc +1 -1
  65. package/.next/server/app/node.segments/_index.segment.rsc +1 -1
  66. package/.next/server/app/node.segments/_tree.segment.rsc +1 -1
  67. package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +1 -1
  68. package/.next/server/app/node.segments/node.segment.rsc +1 -1
  69. package/.next/server/app/nodes.html +1 -1
  70. package/.next/server/app/nodes.rsc +1 -1
  71. package/.next/server/app/nodes.segments/_full.segment.rsc +1 -1
  72. package/.next/server/app/nodes.segments/_head.segment.rsc +1 -1
  73. package/.next/server/app/nodes.segments/_index.segment.rsc +1 -1
  74. package/.next/server/app/nodes.segments/_tree.segment.rsc +1 -1
  75. package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +1 -1
  76. package/.next/server/app/nodes.segments/nodes.segment.rsc +1 -1
  77. package/.next/server/app/page_client-reference-manifest.js +1 -1
  78. package/.next/server/app/server-logs.html +1 -1
  79. package/.next/server/app/server-logs.rsc +1 -1
  80. package/.next/server/app/server-logs.segments/_full.segment.rsc +1 -1
  81. package/.next/server/app/server-logs.segments/_head.segment.rsc +1 -1
  82. package/.next/server/app/server-logs.segments/_index.segment.rsc +1 -1
  83. package/.next/server/app/server-logs.segments/_tree.segment.rsc +1 -1
  84. package/.next/server/app/server-logs.segments/server-logs/__PAGE__.segment.rsc +1 -1
  85. package/.next/server/app/server-logs.segments/server-logs.segment.rsc +1 -1
  86. package/.next/server/app/settings/networks.html +1 -1
  87. package/.next/server/app/settings/networks.rsc +1 -1
  88. package/.next/server/app/settings/networks.segments/_full.segment.rsc +1 -1
  89. package/.next/server/app/settings/networks.segments/_head.segment.rsc +1 -1
  90. package/.next/server/app/settings/networks.segments/_index.segment.rsc +1 -1
  91. package/.next/server/app/settings/networks.segments/_tree.segment.rsc +1 -1
  92. package/.next/server/app/settings/networks.segments/settings/networks/__PAGE__.segment.rsc +1 -1
  93. package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +1 -1
  94. package/.next/server/app/settings/networks.segments/settings.segment.rsc +1 -1
  95. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  96. package/.next/server/app/settings/tokens.html +1 -1
  97. package/.next/server/app/settings/tokens.rsc +1 -1
  98. package/.next/server/app/settings/tokens.segments/_full.segment.rsc +1 -1
  99. package/.next/server/app/settings/tokens.segments/_head.segment.rsc +1 -1
  100. package/.next/server/app/settings/tokens.segments/_index.segment.rsc +1 -1
  101. package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +1 -1
  102. package/.next/server/app/settings/tokens.segments/settings/tokens/__PAGE__.segment.rsc +1 -1
  103. package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +1 -1
  104. package/.next/server/app/settings/tokens.segments/settings.segment.rsc +1 -1
  105. package/.next/server/app/settings.html +2 -2
  106. package/.next/server/app/settings.rsc +2 -2
  107. package/.next/server/app/settings.segments/_full.segment.rsc +2 -2
  108. package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  109. package/.next/server/app/settings.segments/_index.segment.rsc +1 -1
  110. package/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
  111. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +2 -2
  112. package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  113. package/.next/server/app/tasks.html +1 -1
  114. package/.next/server/app/tasks.rsc +1 -1
  115. package/.next/server/app/tasks.segments/_full.segment.rsc +1 -1
  116. package/.next/server/app/tasks.segments/_head.segment.rsc +1 -1
  117. package/.next/server/app/tasks.segments/_index.segment.rsc +1 -1
  118. package/.next/server/app/tasks.segments/_tree.segment.rsc +1 -1
  119. package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +1 -1
  120. package/.next/server/app/tasks.segments/tasks.segment.rsc +1 -1
  121. package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js +2 -2
  122. package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js.map +1 -1
  123. package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js +1 -1
  124. package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js.map +1 -1
  125. package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js +1 -1
  126. package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js.map +1 -1
  127. package/.next/server/middleware-build-manifest.js +3 -3
  128. package/.next/server/pages/404.html +1 -1
  129. package/.next/server/pages/500.html +1 -1
  130. package/.next/server/server-reference-manifest.js +1 -1
  131. package/.next/server/server-reference-manifest.json +1 -1
  132. package/.next/static/chunks/{0r2j~0_vvtkkg.js → 0acyu83geeo.7.js} +1 -1
  133. package/.next/static/chunks/{0ubjvbuh-x~oa.js → 0yj6s-z~9j1.z.js} +1 -1
  134. package/.next/static/chunks/13pia~4vi8~vo.js +2 -0
  135. package/.next/trace +2 -2
  136. package/.next/trace-build +1 -1
  137. package/app/components/TopoGraph.tsx +102 -31
  138. package/package.json +1 -1
  139. package/scripts/topo-legend-pin-test.mjs +128 -0
  140. package/scripts/topo-pressure-pin-test.mjs +112 -0
  141. package/.next/static/chunks/175dz37akp~1a.js +0 -2
  142. /package/.next/static/{sVwVx-FXiJQWdRFOWhT3O → qXlEETVRWhXcDQbUqWnfG}/_buildManifest.js +0 -0
  143. /package/.next/static/{sVwVx-FXiJQWdRFOWhT3O → qXlEETVRWhXcDQbUqWnfG}/_clientMiddlewareManifest.js +0 -0
  144. /package/.next/static/{sVwVx-FXiJQWdRFOWhT3O → qXlEETVRWhXcDQbUqWnfG}/_ssgManifest.js +0 -0
package/.next/trace CHANGED
@@ -1,2 +1,2 @@
1
- [{"name":"generate-buildid","duration":383,"timestamp":27707875052,"id":4,"parentId":1,"tags":{},"startTime":1778835680121,"traceId":"b35b6e8777042880"},{"name":"load-custom-routes","duration":622,"timestamp":27707875648,"id":5,"parentId":1,"tags":{},"startTime":1778835680122,"traceId":"b35b6e8777042880"},{"name":"create-dist-dir","duration":773,"timestamp":27707876348,"id":6,"parentId":1,"tags":{},"startTime":1778835680123,"traceId":"b35b6e8777042880"},{"name":"clean","duration":643,"timestamp":27707877884,"id":7,"parentId":1,"tags":{},"startTime":1778835680124,"traceId":"b35b6e8777042880"},{"name":"discover-routes","duration":8406,"timestamp":27707966937,"id":8,"parentId":1,"tags":{},"startTime":1778835680213,"traceId":"b35b6e8777042880"},{"name":"create-root-mapping","duration":104,"timestamp":27707975401,"id":9,"parentId":1,"tags":{},"startTime":1778835680222,"traceId":"b35b6e8777042880"},{"name":"generate-route-types","duration":32121,"timestamp":27707978186,"id":10,"parentId":1,"tags":{},"startTime":1778835680224,"traceId":"b35b6e8777042880"},{"name":"public-dir-conflict-check","duration":95,"timestamp":27708010456,"id":11,"parentId":1,"tags":{},"startTime":1778835680257,"traceId":"b35b6e8777042880"},{"name":"generate-routes-manifest","duration":4599,"timestamp":27708010667,"id":12,"parentId":1,"tags":{},"startTime":1778835680257,"traceId":"b35b6e8777042880"},{"name":"run-turbopack","duration":6076286,"timestamp":27708020964,"id":14,"parentId":1,"tags":{},"startTime":1778835680267,"traceId":"b35b6e8777042880"},{"name":"turbopack-build-events","duration":72,"timestamp":27708315791,"id":15,"parentId":1,"tags":{},"startTime":1778835680562,"traceId":"b35b6e8777042880"},{"name":"run-typescript","duration":8863132,"timestamp":27714104710,"id":16,"parentId":1,"tags":{},"startTime":1778835686351,"traceId":"b35b6e8777042880"},{"name":"generate-required-server-files","duration":3071,"timestamp":27722969294,"id":18,"parentId":1,"tags":{},"startTime":1778835695216,"traceId":"b35b6e8777042880"},{"name":"check-static-error-page","duration":11116,"timestamp":27723157411,"id":20,"parentId":19,"tags":{},"startTime":1778835695404,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":485411,"timestamp":27723170771,"id":63,"parentId":22,"tags":{},"startTime":1778835695417,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":496758,"timestamp":27723159587,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1778835695406,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":580725,"timestamp":27723171252,"id":67,"parentId":28,"tags":{},"startTime":1778835695418,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":589874,"timestamp":27723162232,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1778835695409,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":584871,"timestamp":27723173051,"id":70,"parentId":32,"tags":{},"startTime":1778835695419,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":595174,"timestamp":27723162852,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1778835695409,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":588913,"timestamp":27723171394,"id":68,"parentId":29,"tags":{},"startTime":1778835695418,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":598026,"timestamp":27723162354,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1778835695409,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":592192,"timestamp":27723171065,"id":66,"parentId":27,"tags":{},"startTime":1778835695417,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":601221,"timestamp":27723162091,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1778835695408,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":609303,"timestamp":27723173261,"id":73,"parentId":35,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":619492,"timestamp":27723163138,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1778835695409,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":609705,"timestamp":27723173137,"id":71,"parentId":33,"tags":{},"startTime":1778835695419,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":619942,"timestamp":27723162940,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1778835695409,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":611528,"timestamp":27723173229,"id":72,"parentId":34,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":621753,"timestamp":27723163043,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1778835695409,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":617326,"timestamp":27723170889,"id":64,"parentId":25,"tags":{},"startTime":1778835695417,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":626479,"timestamp":27723161778,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1778835695408,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":620833,"timestamp":27723173443,"id":77,"parentId":39,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":630569,"timestamp":27723163753,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1778835695410,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":625817,"timestamp":27723173415,"id":75,"parentId":37,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":635674,"timestamp":27723163599,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1778835695410,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":627157,"timestamp":27723173429,"id":76,"parentId":38,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":636933,"timestamp":27723163691,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1778835695410,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":631795,"timestamp":27723173479,"id":80,"parentId":42,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":641379,"timestamp":27723163946,"id":42,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1778835695410,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":638671,"timestamp":27723173491,"id":81,"parentId":43,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":648183,"timestamp":27723164030,"id":43,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1778835695410,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":643040,"timestamp":27723173505,"id":82,"parentId":44,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":652491,"timestamp":27723164101,"id":44,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1778835695410,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":647312,"timestamp":27723173514,"id":83,"parentId":45,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":656700,"timestamp":27723164181,"id":45,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1778835695410,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":654388,"timestamp":27723173379,"id":74,"parentId":36,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":664342,"timestamp":27723163484,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1778835695410,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":654437,"timestamp":27723173528,"id":84,"parentId":46,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":663745,"timestamp":27723164244,"id":46,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1778835695411,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":654663,"timestamp":27723173469,"id":79,"parentId":41,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":664294,"timestamp":27723163879,"id":41,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1778835695410,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":660960,"timestamp":27723170969,"id":65,"parentId":26,"tags":{},"startTime":1778835695417,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":670023,"timestamp":27723161952,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1778835695408,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":660073,"timestamp":27723173554,"id":86,"parentId":48,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":668152,"timestamp":27723165517,"id":48,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1778835695412,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":662063,"timestamp":27723173456,"id":78,"parentId":40,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":671742,"timestamp":27723163817,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1778835695410,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":665775,"timestamp":27723172826,"id":69,"parentId":30,"tags":{},"startTime":1778835695419,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":676139,"timestamp":27723162509,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1778835695409,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":654172,"timestamp":27723185084,"id":88,"parentId":24,"tags":{},"startTime":1778835695431,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":679349,"timestamp":27723159954,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1778835695406,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":647510,"timestamp":27723196883,"id":89,"parentId":31,"tags":{},"startTime":1778835695443,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":681804,"timestamp":27723162635,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1778835695409,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":683754,"timestamp":27723173541,"id":85,"parentId":47,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":693020,"timestamp":27723164332,"id":47,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1778835695411,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":685355,"timestamp":27723173563,"id":87,"parentId":49,"tags":{},"startTime":1778835695420,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":693285,"timestamp":27723165690,"id":49,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1778835695412,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":751151,"timestamp":27723170484,"id":62,"parentId":21,"tags":{},"startTime":1778835695417,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":763203,"timestamp":27723158506,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1778835695405,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":716506,"timestamp":27723205396,"id":93,"parentId":52,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":755612,"timestamp":27723166329,"id":52,"parentId":19,"tags":{"page":"/messages"},"startTime":1778835695413,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":716705,"timestamp":27723205416,"id":95,"parentId":54,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":755572,"timestamp":27723166601,"id":54,"parentId":19,"tags":{"page":"/nodes"},"startTime":1778835695413,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":716925,"timestamp":27723205407,"id":94,"parentId":53,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":755907,"timestamp":27723166464,"id":53,"parentId":19,"tags":{"page":"/node"},"startTime":1778835695413,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":719370,"timestamp":27723205331,"id":90,"parentId":23,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":764956,"timestamp":27723159780,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1778835695406,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":724126,"timestamp":27723205441,"id":97,"parentId":57,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":762229,"timestamp":27723167399,"id":57,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1778835695414,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":728274,"timestamp":27723205485,"id":100,"parentId":61,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":765511,"timestamp":27723168282,"id":61,"parentId":19,"tags":{"page":"/tasks"},"startTime":1778835695415,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":728431,"timestamp":27723205450,"id":98,"parentId":59,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":765958,"timestamp":27723167957,"id":59,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1778835695414,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":721751,"timestamp":27723215333,"id":101,"parentId":58,"tags":{},"startTime":1778835695462,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":769549,"timestamp":27723167571,"id":58,"parentId":19,"tags":{"page":"/settings"},"startTime":1778835695414,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":709372,"timestamp":27723229566,"id":102,"parentId":55,"tags":{},"startTime":1778835695476,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":772209,"timestamp":27723166761,"id":55,"parentId":19,"tags":{"page":"/"},"startTime":1778835695413,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":734605,"timestamp":27723205467,"id":99,"parentId":60,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":772008,"timestamp":27723168119,"id":60,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1778835695414,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":737077,"timestamp":27723205382,"id":92,"parentId":51,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":776284,"timestamp":27723166209,"id":51,"parentId":19,"tags":{"page":"/logs"},"startTime":1778835695412,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":738116,"timestamp":27723205367,"id":91,"parentId":50,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":777477,"timestamp":27723166038,"id":50,"parentId":19,"tags":{"page":"/login"},"startTime":1778835695412,"traceId":"b35b6e8777042880"},{"name":"is-page-static","duration":746927,"timestamp":27723205429,"id":96,"parentId":56,"tags":{},"startTime":1778835695452,"traceId":"b35b6e8777042880"},{"name":"check-page","duration":785203,"timestamp":27723167192,"id":56,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1778835695413,"traceId":"b35b6e8777042880"},{"name":"static-check","duration":795869,"timestamp":27723156569,"id":19,"parentId":1,"tags":{},"startTime":1778835695403,"traceId":"b35b6e8777042880"},{"name":"write-routes-manifest","duration":430,"timestamp":27723961287,"id":104,"parentId":1,"tags":{},"startTime":1778835696208,"traceId":"b35b6e8777042880"},{"name":"load-dotenv","duration":50,"timestamp":27723972427,"id":107,"parentId":106,"tags":{},"startTime":1778835696219,"traceId":"b35b6e8777042880"},{"name":"run-export-path-map","duration":867,"timestamp":27723976266,"id":108,"parentId":106,"tags":{},"startTime":1778835696223,"traceId":"b35b6e8777042880"},{"name":"next-export","duration":669000,"timestamp":27723970762,"id":106,"parentId":1,"tags":{},"startTime":1778835696217,"traceId":"b35b6e8777042880"}]
2
- [{"name":"move-exported-app-not-found-","duration":2092,"timestamp":27724643090,"id":109,"parentId":105,"tags":{},"startTime":1778835696889,"traceId":"b35b6e8777042880"},{"name":"move-exported-app-global-error-","duration":554,"timestamp":27724645261,"id":110,"parentId":105,"tags":{},"startTime":1778835696892,"traceId":"b35b6e8777042880"},{"name":"static-generation","duration":682251,"timestamp":27723965418,"id":105,"parentId":1,"tags":{},"startTime":1778835696212,"traceId":"b35b6e8777042880"},{"name":"write-routes-manifest","duration":432,"timestamp":27724647824,"id":111,"parentId":1,"tags":{},"startTime":1778835696894,"traceId":"b35b6e8777042880"},{"name":"print-tree-view","duration":4663,"timestamp":27724662200,"id":112,"parentId":1,"tags":{},"startTime":1778835696908,"traceId":"b35b6e8777042880"},{"name":"write-route-bundle-stats","duration":13245,"timestamp":27724666891,"id":113,"parentId":1,"tags":{},"startTime":1778835696913,"traceId":"b35b6e8777042880"},{"name":"telemetry-flush","duration":35181,"timestamp":27724680177,"id":114,"parentId":1,"tags":{},"startTime":1778835696926,"traceId":"b35b6e8777042880"},{"name":"next-build","duration":16893866,"timestamp":27707821543,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778835680068,"traceId":"b35b6e8777042880"}]
1
+ [{"name":"generate-buildid","duration":273,"timestamp":28517567581,"id":4,"parentId":1,"tags":{},"startTime":1778836489814,"traceId":"ff6852317f680d87"},{"name":"load-custom-routes","duration":719,"timestamp":28517568084,"id":5,"parentId":1,"tags":{},"startTime":1778836489814,"traceId":"ff6852317f680d87"},{"name":"create-dist-dir","duration":698,"timestamp":28517568868,"id":6,"parentId":1,"tags":{},"startTime":1778836489815,"traceId":"ff6852317f680d87"},{"name":"clean","duration":575,"timestamp":28517570221,"id":7,"parentId":1,"tags":{},"startTime":1778836489816,"traceId":"ff6852317f680d87"},{"name":"discover-routes","duration":8568,"timestamp":28517655097,"id":8,"parentId":1,"tags":{},"startTime":1778836489901,"traceId":"ff6852317f680d87"},{"name":"create-root-mapping","duration":107,"timestamp":28517663727,"id":9,"parentId":1,"tags":{},"startTime":1778836489910,"traceId":"ff6852317f680d87"},{"name":"generate-route-types","duration":31289,"timestamp":28517666200,"id":10,"parentId":1,"tags":{},"startTime":1778836489912,"traceId":"ff6852317f680d87"},{"name":"public-dir-conflict-check","duration":103,"timestamp":28517697648,"id":11,"parentId":1,"tags":{},"startTime":1778836489944,"traceId":"ff6852317f680d87"},{"name":"generate-routes-manifest","duration":4111,"timestamp":28517697858,"id":12,"parentId":1,"tags":{},"startTime":1778836489944,"traceId":"ff6852317f680d87"},{"name":"run-turbopack","duration":5133216,"timestamp":28517707669,"id":14,"parentId":1,"tags":{},"startTime":1778836489954,"traceId":"ff6852317f680d87"},{"name":"turbopack-build-events","duration":145,"timestamp":28517983992,"id":15,"parentId":1,"tags":{},"startTime":1778836490230,"traceId":"ff6852317f680d87"},{"name":"run-typescript","duration":8125489,"timestamp":28522857245,"id":16,"parentId":1,"tags":{},"startTime":1778836495104,"traceId":"ff6852317f680d87"},{"name":"generate-required-server-files","duration":2168,"timestamp":28530983589,"id":18,"parentId":1,"tags":{},"startTime":1778836503230,"traceId":"ff6852317f680d87"},{"name":"check-static-error-page","duration":10356,"timestamp":28531158302,"id":20,"parentId":19,"tags":{},"startTime":1778836503405,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":387168,"timestamp":28531173123,"id":63,"parentId":22,"tags":{},"startTime":1778836503419,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":399983,"timestamp":28531160464,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1778836503407,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":490306,"timestamp":28531176648,"id":69,"parentId":30,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":503331,"timestamp":28531163749,"id":30,"parentId":19,"tags":{"page":"/api/hub/broadcast"},"startTime":1778836503410,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":501434,"timestamp":28531176788,"id":70,"parentId":32,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":514262,"timestamp":28531164034,"id":32,"parentId":19,"tags":{"page":"/api/hub/health"},"startTime":1778836503410,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":531612,"timestamp":28531176841,"id":71,"parentId":33,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":544399,"timestamp":28531164143,"id":33,"parentId":19,"tags":{"page":"/api/hub/inbox"},"startTime":1778836503410,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":547057,"timestamp":28531176907,"id":72,"parentId":34,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":559860,"timestamp":28531164222,"id":34,"parentId":19,"tags":{"page":"/api/hub/license"},"startTime":1778836503410,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":551873,"timestamp":28531176933,"id":73,"parentId":35,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":564572,"timestamp":28531164303,"id":35,"parentId":19,"tags":{"page":"/api/hub/messages"},"startTime":1778836503411,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":557734,"timestamp":28531176409,"id":67,"parentId":28,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":570639,"timestamp":28531163560,"id":28,"parentId":19,"tags":{"page":"/api/hub/audit-log"},"startTime":1778836503410,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":557344,"timestamp":28531177037,"id":74,"parentId":36,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":569803,"timestamp":28531164617,"id":36,"parentId":19,"tags":{"page":"/api/hub/networks"},"startTime":1778836503411,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":560030,"timestamp":28531176162,"id":66,"parentId":27,"tags":{},"startTime":1778836503422,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":572787,"timestamp":28531163455,"id":27,"parentId":19,"tags":{"page":"/api/auth/v3"},"startTime":1778836503410,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":562033,"timestamp":28531177130,"id":76,"parentId":38,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":574392,"timestamp":28531164813,"id":38,"parentId":19,"tags":{"page":"/api/hub/register"},"startTime":1778836503411,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":564152,"timestamp":28531177140,"id":77,"parentId":39,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":576452,"timestamp":28531164873,"id":39,"parentId":19,"tags":{"page":"/api/hub/send"},"startTime":1778836503411,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":566145,"timestamp":28531177151,"id":78,"parentId":40,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":578405,"timestamp":28531164935,"id":40,"parentId":19,"tags":{"page":"/api/hub/server-logs"},"startTime":1778836503411,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":578475,"timestamp":28531173274,"id":64,"parentId":25,"tags":{},"startTime":1778836503420,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":588696,"timestamp":28531163207,"id":25,"parentId":19,"tags":{"page":"/api/auth/login"},"startTime":1778836503409,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":575615,"timestamp":28531177076,"id":75,"parentId":37,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":589660,"timestamp":28531164727,"id":37,"parentId":19,"tags":{"page":"/api/hub/nodes"},"startTime":1778836503411,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":580685,"timestamp":28531177175,"id":80,"parentId":42,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":592809,"timestamp":28531165106,"id":42,"parentId":19,"tags":{"page":"/api/hub/session"},"startTime":1778836503411,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":589407,"timestamp":28531173398,"id":65,"parentId":26,"tags":{},"startTime":1778836503420,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":599507,"timestamp":28531163348,"id":26,"parentId":19,"tags":{"page":"/api/auth/logout"},"startTime":1778836503410,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":589684,"timestamp":28531177209,"id":83,"parentId":45,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":601643,"timestamp":28531165297,"id":45,"parentId":19,"tags":{"page":"/api/hub/task-events"},"startTime":1778836503412,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":602991,"timestamp":28531177163,"id":79,"parentId":41,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":615204,"timestamp":28531164998,"id":41,"parentId":19,"tags":{"page":"/api/hub/servers"},"startTime":1778836503411,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":603138,"timestamp":28531177229,"id":85,"parentId":47,"tags":{},"startTime":1778836503424,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":614960,"timestamp":28531165437,"id":47,"parentId":19,"tags":{"page":"/api/hub/tmux"},"startTime":1778836503412,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":610120,"timestamp":28531177217,"id":84,"parentId":46,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":622022,"timestamp":28531165354,"id":46,"parentId":19,"tags":{"page":"/api/hub/tasks"},"startTime":1778836503412,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":615361,"timestamp":28531177183,"id":81,"parentId":43,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":627412,"timestamp":28531165170,"id":43,"parentId":19,"tags":{"page":"/api/hub/stats"},"startTime":1778836503411,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":626534,"timestamp":28531172679,"id":62,"parentId":21,"tags":{},"startTime":1778836503419,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":639867,"timestamp":28531159385,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1778836503406,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":622329,"timestamp":28531177197,"id":82,"parentId":44,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":634334,"timestamp":28531165230,"id":44,"parentId":19,"tags":{"page":"/api/hub/status"},"startTime":1778836503412,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":620089,"timestamp":28531181972,"id":88,"parentId":24,"tags":{},"startTime":1778836503428,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":642065,"timestamp":28531160838,"id":24,"parentId":19,"tags":{"page":"/api/anet/config"},"startTime":1778836503407,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":629325,"timestamp":28531177240,"id":86,"parentId":48,"tags":{},"startTime":1778836503424,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":641098,"timestamp":28531165504,"id":48,"parentId":19,"tags":{"page":"/api/hub/tokens"},"startTime":1778836503412,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":636094,"timestamp":28531183189,"id":89,"parentId":31,"tags":{},"startTime":1778836503429,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":655512,"timestamp":28531163833,"id":31,"parentId":19,"tags":{"page":"/api/hub/events"},"startTime":1778836503410,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":642295,"timestamp":28531177252,"id":87,"parentId":49,"tags":{},"startTime":1778836503424,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":654035,"timestamp":28531165564,"id":49,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1778836503412,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":645735,"timestamp":28531185654,"id":90,"parentId":23,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":670769,"timestamp":28531160666,"id":23,"parentId":19,"tags":{"page":"/admin"},"startTime":1778836503407,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":658725,"timestamp":28531176535,"id":68,"parentId":29,"tags":{},"startTime":1778836503423,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":671658,"timestamp":28531163652,"id":29,"parentId":19,"tags":{"page":"/api/hub/auth"},"startTime":1778836503410,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":681854,"timestamp":28531185741,"id":96,"parentId":56,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":700443,"timestamp":28531167224,"id":56,"parentId":19,"tags":{"page":"/server-logs"},"startTime":1778836503413,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":690915,"timestamp":28531185698,"id":92,"parentId":51,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":710693,"timestamp":28531165989,"id":51,"parentId":19,"tags":{"page":"/logs"},"startTime":1778836503412,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":696415,"timestamp":28531185763,"id":98,"parentId":59,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":714085,"timestamp":28531168159,"id":59,"parentId":19,"tags":{"page":"/settings/tokens"},"startTime":1778836503414,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":699686,"timestamp":28531185793,"id":100,"parentId":61,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":717114,"timestamp":28531168432,"id":61,"parentId":19,"tags":{"page":"/tasks"},"startTime":1778836503415,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":701116,"timestamp":28531185718,"id":94,"parentId":53,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":720540,"timestamp":28531166345,"id":53,"parentId":19,"tags":{"page":"/node"},"startTime":1778836503413,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":706661,"timestamp":28531185779,"id":99,"parentId":60,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":724209,"timestamp":28531168284,"id":60,"parentId":19,"tags":{"page":"/tasks/[id]"},"startTime":1778836503415,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":698379,"timestamp":28531195365,"id":101,"parentId":55,"tags":{},"startTime":1778836503442,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":727066,"timestamp":28531166723,"id":55,"parentId":19,"tags":{"page":"/"},"startTime":1778836503413,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":708918,"timestamp":28531185707,"id":93,"parentId":52,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":728500,"timestamp":28531166170,"id":52,"parentId":19,"tags":{"page":"/messages"},"startTime":1778836503412,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":711227,"timestamp":28531185729,"id":95,"parentId":54,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":730471,"timestamp":28531166524,"id":54,"parentId":19,"tags":{"page":"/nodes"},"startTime":1778836503413,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":699967,"timestamp":28531200978,"id":102,"parentId":58,"tags":{},"startTime":1778836503447,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":733278,"timestamp":28531167703,"id":58,"parentId":19,"tags":{"page":"/settings"},"startTime":1778836503414,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":718573,"timestamp":28531185683,"id":91,"parentId":50,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":738425,"timestamp":28531165873,"id":50,"parentId":19,"tags":{"page":"/login"},"startTime":1778836503412,"traceId":"ff6852317f680d87"},{"name":"is-page-static","duration":745115,"timestamp":28531185749,"id":97,"parentId":57,"tags":{},"startTime":1778836503432,"traceId":"ff6852317f680d87"},{"name":"check-page","duration":763508,"timestamp":28531167463,"id":57,"parentId":19,"tags":{"page":"/settings/networks"},"startTime":1778836503414,"traceId":"ff6852317f680d87"},{"name":"static-check","duration":773440,"timestamp":28531157603,"id":19,"parentId":1,"tags":{},"startTime":1778836503404,"traceId":"ff6852317f680d87"},{"name":"write-routes-manifest","duration":404,"timestamp":28531938208,"id":104,"parentId":1,"tags":{},"startTime":1778836504184,"traceId":"ff6852317f680d87"},{"name":"load-dotenv","duration":45,"timestamp":28531950456,"id":107,"parentId":106,"tags":{},"startTime":1778836504197,"traceId":"ff6852317f680d87"},{"name":"run-export-path-map","duration":627,"timestamp":28531953551,"id":108,"parentId":106,"tags":{},"startTime":1778836504200,"traceId":"ff6852317f680d87"},{"name":"next-export","duration":654960,"timestamp":28531949066,"id":106,"parentId":1,"tags":{},"startTime":1778836504195,"traceId":"ff6852317f680d87"}]
2
+ [{"name":"move-exported-app-not-found-","duration":2238,"timestamp":28532607373,"id":109,"parentId":105,"tags":{},"startTime":1778836504854,"traceId":"ff6852317f680d87"},{"name":"move-exported-app-global-error-","duration":739,"timestamp":28532609733,"id":110,"parentId":105,"tags":{},"startTime":1778836504856,"traceId":"ff6852317f680d87"},{"name":"static-generation","duration":669673,"timestamp":28531942557,"id":105,"parentId":1,"tags":{},"startTime":1778836504189,"traceId":"ff6852317f680d87"},{"name":"write-routes-manifest","duration":366,"timestamp":28532612390,"id":111,"parentId":1,"tags":{},"startTime":1778836504859,"traceId":"ff6852317f680d87"},{"name":"print-tree-view","duration":3538,"timestamp":28532628233,"id":112,"parentId":1,"tags":{},"startTime":1778836504875,"traceId":"ff6852317f680d87"},{"name":"write-route-bundle-stats","duration":11458,"timestamp":28532631798,"id":113,"parentId":1,"tags":{},"startTime":1778836504878,"traceId":"ff6852317f680d87"},{"name":"telemetry-flush","duration":36916,"timestamp":28532643278,"id":114,"parentId":1,"tags":{},"startTime":1778836504890,"traceId":"ff6852317f680d87"},{"name":"next-build","duration":15162109,"timestamp":28517518114,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778836489764,"traceId":"ff6852317f680d87"}]
package/.next/trace-build CHANGED
@@ -1 +1 @@
1
- [{"name":"run-turbopack","duration":6076286,"timestamp":27708020964,"id":14,"parentId":1,"tags":{},"startTime":1778835680267,"traceId":"b35b6e8777042880"},{"name":"turbopack-build-events","duration":72,"timestamp":27708315791,"id":15,"parentId":1,"tags":{},"startTime":1778835680562,"traceId":"b35b6e8777042880"},{"name":"run-typescript","duration":8863132,"timestamp":27714104710,"id":16,"parentId":1,"tags":{},"startTime":1778835686351,"traceId":"b35b6e8777042880"},{"name":"static-check","duration":795869,"timestamp":27723156569,"id":19,"parentId":1,"tags":{},"startTime":1778835695403,"traceId":"b35b6e8777042880"},{"name":"static-generation","duration":682251,"timestamp":27723965418,"id":105,"parentId":1,"tags":{},"startTime":1778835696212,"traceId":"b35b6e8777042880"},{"name":"telemetry-flush","duration":35181,"timestamp":27724680177,"id":114,"parentId":1,"tags":{},"startTime":1778835696926,"traceId":"b35b6e8777042880"},{"name":"next-build","duration":16893866,"timestamp":27707821543,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778835680068,"traceId":"b35b6e8777042880"}]
1
+ [{"name":"run-turbopack","duration":5133216,"timestamp":28517707669,"id":14,"parentId":1,"tags":{},"startTime":1778836489954,"traceId":"ff6852317f680d87"},{"name":"turbopack-build-events","duration":145,"timestamp":28517983992,"id":15,"parentId":1,"tags":{},"startTime":1778836490230,"traceId":"ff6852317f680d87"},{"name":"run-typescript","duration":8125489,"timestamp":28522857245,"id":16,"parentId":1,"tags":{},"startTime":1778836495104,"traceId":"ff6852317f680d87"},{"name":"static-check","duration":773440,"timestamp":28531157603,"id":19,"parentId":1,"tags":{},"startTime":1778836503404,"traceId":"ff6852317f680d87"},{"name":"static-generation","duration":669673,"timestamp":28531942557,"id":105,"parentId":1,"tags":{},"startTime":1778836504189,"traceId":"ff6852317f680d87"},{"name":"telemetry-flush","duration":36916,"timestamp":28532643278,"id":114,"parentId":1,"tags":{},"startTime":1778836504890,"traceId":"ff6852317f680d87"},{"name":"next-build","duration":15162109,"timestamp":28517518114,"id":1,"tags":{"buildMode":"default","version":"16.2.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1778836489764,"traceId":"ff6852317f680d87"}]
@@ -785,6 +785,15 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
785
785
  // Now it answers "show me all of these" the same way R8 group-focus
786
786
  // answers "show me this team". Three values match the legend rows.
787
787
  const [hoveredStatus, setHoveredStatus] = useState<'working' | 'idle' | 'offline' | null>(null);
788
+ // Round 60 / Loop: sticky variant of `hoveredStatus`. R55 only filters
789
+ // while the user is actively hovering the legend; for sweeping a fleet
790
+ // you want to LOCK the filter. Each segment of the R31 pressure bar
791
+ // toggles a pin — click again on the same segment to release. The node
792
+ // opacity formula reads `activeStatus = hoveredStatus ?? pinnedStatus`
793
+ // so hover transiently overrides a pin (handy for spot-comparison)
794
+ // without nuking it.
795
+ const [pinnedStatus, setPinnedStatus] = useState<'working' | 'idle' | 'offline' | null>(null);
796
+ const activeStatus = hoveredStatus ?? pinnedStatus;
788
797
  const hoveredEdgeEndpoints = useMemo<Set<string> | null>(() => {
789
798
  if (!hoveredEdgeKey) return null;
790
799
  const link = flowLinks.find(l => l.key === hoveredEdgeKey);
@@ -1084,9 +1093,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1084
1093
  const o = offlineNodes.length;
1085
1094
  const total = w + i + o;
1086
1095
  if (total === 0) return null;
1087
- const seg = (n: number, color: string, key: string) => {
1096
+ // Round 60 / Loop: each segment toggles a sticky filter via
1097
+ // `pinnedStatus`. Click the working segment → all non-working
1098
+ // nodes dim; click again → release. Segments share width with
1099
+ // their proportion of `total`, so a 1-node working share is
1100
+ // ~3 px wide on a 64-px bar. We pad the click target with a
1101
+ // negative-margin overlay wrapper to give thin slices a
1102
+ // 14-px minimum hit area without disturbing the rendered
1103
+ // chip width. cursor:pointer + a one-line title hint at the
1104
+ // affordance.
1105
+ const seg = (n: number, color: string, key: 'working' | 'idle' | 'offline', label: string) => {
1088
1106
  if (n === 0) return null;
1089
- return <span key={key} style={{ width: `${(n / total) * 100}%`, background: color, height: '100%' }} />;
1107
+ const isPinned = pinnedStatus === key;
1108
+ return (
1109
+ <span
1110
+ key={key}
1111
+ data-pressure-seg={key}
1112
+ role="button"
1113
+ tabIndex={0}
1114
+ aria-pressed={isPinned}
1115
+ title={`${n} ${label} — click to ${isPinned ? 'release filter' : 'highlight'}`}
1116
+ style={{
1117
+ width: `${(n / total) * 100}%`,
1118
+ background: color,
1119
+ height: '100%',
1120
+ cursor: 'pointer',
1121
+ boxShadow: isPinned ? `inset 0 0 0 1px ${color}, inset 0 0 0 2px rgba(255,255,255,0.6)` : undefined,
1122
+ }}
1123
+ onClick={(e) => {
1124
+ e.stopPropagation();
1125
+ setPinnedStatus(prev => prev === key ? null : key);
1126
+ }}
1127
+ onKeyDown={(e) => {
1128
+ if (e.key === 'Enter' || e.key === ' ') {
1129
+ e.preventDefault();
1130
+ setPinnedStatus(prev => prev === key ? null : key);
1131
+ }
1132
+ }}
1133
+ />
1134
+ );
1090
1135
  };
1091
1136
  // Round 47 / Loop: hidden on mobile — at <640px the chip row
1092
1137
  // wraps to multiple lines and crowds the topology header;
@@ -1100,9 +1145,9 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1100
1145
  >
1101
1146
  <span className="text-[10px] tracking-wide">pressure</span>
1102
1147
  <span className="inline-flex h-1.5 w-16 rounded-full overflow-hidden" style={{ background: 'rgb(75 85 99 / 0.25)' }}>
1103
- {seg(w, isLight ? '#059669' : '#22c55e', 'w')}
1104
- {seg(i, isLight ? '#0d9488' : '#2dd4bf', 'i')}
1105
- {seg(o, isLight ? '#94a3b8' : '#6b7280', 'o')}
1148
+ {seg(w, isLight ? '#059669' : '#22c55e', 'working', 'working')}
1149
+ {seg(i, isLight ? '#0d9488' : '#2dd4bf', 'idle', 'idle')}
1150
+ {seg(o, isLight ? '#94a3b8' : '#6b7280', 'offline', 'offline')}
1106
1151
  </span>
1107
1152
  </span>
1108
1153
  );
@@ -1715,14 +1760,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1715
1760
  // Round 55 / Loop: legend-status hover composes on the
1716
1761
  // SAME level as edge-hover-endpoint. Non-matching nodes
1717
1762
  // dim to 0.28; matching nodes stay at their base.
1718
- // hoveredStatus matches: working = status==='working',
1763
+ // activeStatus matches: working = status==='working',
1719
1764
  // idle = online but not working, offline = !isOnline.
1765
+ // Round 60 / Loop: activeStatus = hoveredStatus ?? pinnedStatus
1766
+ // so the pressure-bar segment pins (R60) and the legend
1767
+ // row hover (R55) feed the same branch.
1720
1768
  opacity: hoveredEdgeEndpoints && !hoveredEdgeEndpoints.has(session.alias) && chatAlias !== session.alias
1721
1769
  ? 0.28
1722
- : hoveredStatus && chatAlias !== session.alias && !(
1723
- hoveredStatus === 'working' ? session.status === 'working'
1724
- : hoveredStatus === 'idle' ? (isOnline && session.status !== 'working')
1725
- : /* offline */ !isOnline
1770
+ : activeStatus && chatAlias !== session.alias && !(
1771
+ activeStatus === 'working' ? session.status === 'working'
1772
+ : activeStatus === 'idle' ? (isOnline && session.status !== 'working')
1773
+ : /* offline */ !isOnline
1726
1774
  )
1727
1775
  ? 0.28
1728
1776
  : !inFocus
@@ -2154,27 +2202,50 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2154
2202
  { key: 'working' as const, y0: 24, y1: 28, fill: isLight ? '#059669' : '#22c55e', label: 'working node' },
2155
2203
  { key: 'idle' as const, y0: 48, y1: 52, fill: isLight ? '#0d9488' : '#2dd4bf', label: 'online idle' },
2156
2204
  { key: 'offline' as const, y0: 72, y1: 76, fill: isLight ? '#94a3b8' : '#6b7280', label: 'offline / no SSE' },
2157
- ]).map(row => (
2158
- <g
2159
- key={row.key}
2160
- data-legend-status={row.key}
2161
- style={{ cursor: 'pointer' }}
2162
- onMouseEnter={() => setHoveredStatus(row.key)}
2163
- onMouseLeave={() => setHoveredStatus(prev => prev === row.key ? null : prev)}
2164
- >
2165
- {/* invisible hitbox covers the row so cursor doesn't need
2166
- to be exactly on the 5-px swatch */}
2167
- <rect x="6" y={row.y0 - 12} width="170" height="22" fill="transparent" />
2168
- <circle cx="16" cy={row.y0} r="5.5" fill={row.fill} />
2169
- <text
2170
- x="30" y={row.y1}
2171
- fill={hoveredStatus === row.key ? pal.legendHeadline : pal.legendText}
2172
- fontSize="11"
2173
- fontFamily="monospace"
2174
- style={{ transition: 'fill 150ms ease-out' }}
2175
- >{row.label}</text>
2176
- </g>
2177
- ))}
2205
+ ]).map(row => {
2206
+ // Round 61 / Loop: legend rows pin too — symmetric with the
2207
+ // R60 pressure-bar segments. R55 hover stays transient; the
2208
+ // new onClick toggles pinnedStatus so users can lock a
2209
+ // filter without holding the cursor still. Pinned row gets
2210
+ // an inset ring on the swatch (same vocab as R60).
2211
+ const isPinned = pinnedStatus === row.key;
2212
+ return (
2213
+ <g
2214
+ key={row.key}
2215
+ data-legend-status={row.key}
2216
+ role="button"
2217
+ tabIndex={0}
2218
+ aria-pressed={isPinned}
2219
+ style={{ cursor: 'pointer' }}
2220
+ // R61: stopPropagation on pointerdown so the SVG-level
2221
+ // pan handler (R103) doesn't setPointerCapture and
2222
+ // redirect the follow-up click away from this <g>.
2223
+ // Same trick the node <g> uses (and R52 hub).
2224
+ onPointerDown={(e) => e.stopPropagation()}
2225
+ onMouseEnter={() => setHoveredStatus(row.key)}
2226
+ onMouseLeave={() => setHoveredStatus(prev => prev === row.key ? null : prev)}
2227
+ onClick={() => setPinnedStatus(prev => prev === row.key ? null : row.key)}
2228
+ >
2229
+ {/* invisible hitbox covers the row so cursor doesn't need
2230
+ to be exactly on the 5-px swatch */}
2231
+ <rect x="6" y={row.y0 - 12} width="170" height="22" fill="transparent" />
2232
+ <circle cx="16" cy={row.y0} r="5.5" fill={row.fill} />
2233
+ {/* R61 pinned-state ring — concentric stroke at r=8 in
2234
+ the row colour, draws OUTSIDE the swatch so it
2235
+ doesn't fight the fill colour the user is matching. */}
2236
+ {isPinned && (
2237
+ <circle cx="16" cy={row.y0} r="8" fill="none" stroke={row.fill} strokeWidth="1.5" />
2238
+ )}
2239
+ <text
2240
+ x="30" y={row.y1}
2241
+ fill={hoveredStatus === row.key || isPinned ? pal.legendHeadline : pal.legendText}
2242
+ fontSize="11"
2243
+ fontFamily="monospace"
2244
+ style={{ transition: 'fill 150ms ease-out' }}
2245
+ >{row.label}</text>
2246
+ </g>
2247
+ );
2248
+ })}
2178
2249
  {/* Flow-arrow swatch sits at y=72 — same row as the offline
2179
2250
  hitbox. Drop its pointerEvents so the offline legend row
2180
2251
  stays hoverable (R55). It's decoration, no need to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleep2agi/agent-network-dashboard",
3
- "version": "0.4.6-preview.66",
3
+ "version": "0.4.6-preview.68",
4
4
  "description": "Agent Network Dashboard — Web UI for managing AI Agent networks",
5
5
  "scripts": {
6
6
  "dev": "next dev",
@@ -0,0 +1,128 @@
1
+ /* Round 61 verification: legend rows also pin status filter on click.
2
+ * - Hovering still works (R55, transient release).
3
+ * - Clicking a row toggles pinnedStatus same as R60 pressure segments.
4
+ * - Pinned row's swatch gets an outer ring at r=8 (concentric, row colour).
5
+ * - Click same row again → release.
6
+ * - Sticky: pin survives mouse-move-away (vs R55 hover which clears).
7
+ * - The R60 pressure-segment pin and this share `pinnedStatus`, so
8
+ * clicking the legend then clicking the pressure-segment for a
9
+ * different status replaces (not stacks) the filter — verified by
10
+ * chain: legend.working → pressure.idle → only idle stays bright.
11
+ */
12
+ import { chromium } from 'playwright';
13
+ import { readFileSync } from 'node:fs';
14
+
15
+ const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
16
+ const browser = await chromium.launch({ headless: true });
17
+
18
+ const ctx = await browser.newContext({ viewport: { width: 1400, height: 1500 } });
19
+ await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
20
+ await ctx.addInitScript(() => {
21
+ try {
22
+ localStorage.setItem('anet-theme', 'cyber');
23
+ localStorage.setItem('anet-topo-layout', 'ring');
24
+ sessionStorage.setItem('anet_v3_auth', '1');
25
+ } catch {}
26
+ });
27
+
28
+ const fresh = new Date(Date.now() - 60 * 1000).toISOString();
29
+ await ctx.route('**/api/hub/status*', async (route) => {
30
+ const r = await route.fetch();
31
+ const b = await r.json();
32
+ const nid = (b.sessions || [])[0]?.network_id || 'default';
33
+ const sessions = [
34
+ { alias: 'wkr', status: 'working', network_id: nid, project_dir: null, created_at: fresh, updated_at: fresh, last_seen_at: fresh },
35
+ { alias: 'idl1', status: 'idle', network_id: nid, project_dir: null, created_at: fresh, updated_at: fresh, last_seen_at: fresh },
36
+ { alias: 'idl2', status: 'idle', network_id: nid, project_dir: null, created_at: fresh, updated_at: fresh, last_seen_at: fresh },
37
+ ];
38
+ await route.fulfill({ response: r, json: { ...b, sessions } });
39
+ });
40
+ await ctx.route('**/api/hub/messages*', (route) => route.fulfill({ json: { messages: [] } }));
41
+ await ctx.route('**/api/hub/tasks*', (route) => route.fulfill({ json: { tasks: [] } }));
42
+ const page = await ctx.newPage();
43
+ await page.goto('http://127.0.0.1:3000/', { waitUntil: 'domcontentloaded' });
44
+ await page.waitForFunction(() => document.querySelectorAll('g[data-node]').length === 3, { timeout: 30000 });
45
+ await page.waitForTimeout(500);
46
+
47
+ const opacities = () => page.evaluate(() => {
48
+ const o = {};
49
+ for (const a of ['wkr', 'idl1', 'idl2']) {
50
+ const g = document.querySelector(`g[data-node="${a}"]`);
51
+ o[a] = g ? +(g.style.opacity || '1') : null;
52
+ }
53
+ return o;
54
+ });
55
+
56
+ const before = await opacities();
57
+
58
+ // Click the WORKING legend row.
59
+ const workingLegend = page.locator('g[data-legend-status="working"]').first();
60
+ const workingExists = await workingLegend.count() > 0;
61
+ if (!workingExists) { console.log('❌ legend row[working] not found'); process.exit(1); }
62
+ await workingLegend.click({ force: true });
63
+ await page.waitForTimeout(250);
64
+ const afterPin = await opacities();
65
+
66
+ // Pin survives mouse move.
67
+ await page.mouse.move(10, 10);
68
+ await page.waitForTimeout(250);
69
+ const afterMouseMove = await opacities();
70
+
71
+ // Pinned row should carry an aria-pressed=true.
72
+ const pinnedAria = await page.evaluate(() => {
73
+ const g = document.querySelector('g[data-legend-status="working"]');
74
+ return g?.getAttribute('aria-pressed');
75
+ });
76
+ // And a concentric r=8 ring exists inside it.
77
+ const pinnedRingExists = await page.evaluate(() => {
78
+ const g = document.querySelector('g[data-legend-status="working"]');
79
+ if (!g) return false;
80
+ return [...g.querySelectorAll('circle')].some(c => c.getAttribute('r') === '8');
81
+ });
82
+
83
+ // Switch pin via pressure segment (idle) — should REPLACE, not stack.
84
+ const idleSeg = page.locator('[data-pressure-seg="idle"]').first();
85
+ await idleSeg.click({ force: true });
86
+ await page.waitForTimeout(250);
87
+ const afterSwitch = await opacities();
88
+
89
+ // And the legend pin should release (concentric ring gone from working).
90
+ const workingRingGone = await page.evaluate(() => {
91
+ const g = document.querySelector('g[data-legend-status="working"]');
92
+ if (!g) return true;
93
+ return ![...g.querySelectorAll('circle')].some(c => c.getAttribute('r') === '8');
94
+ });
95
+
96
+ // Click idle legend again to release pin. The click ALSO triggers a
97
+ // mouseenter that sets hoveredStatus='idle', which would keep the
98
+ // filter active (activeStatus = hoveredStatus ?? pinnedStatus). Move
99
+ // the mouse away to clear the hover so we observe the pin-only state.
100
+ await page.locator('g[data-legend-status="idle"]').first().click({ force: true });
101
+ await page.mouse.move(10, 10);
102
+ await page.waitForTimeout(250);
103
+ const afterRelease = await opacities();
104
+
105
+ await browser.close();
106
+
107
+ const bright = (v) => v != null && v >= 0.55;
108
+ const dim = (v) => v != null && v < 0.4;
109
+ const results = {
110
+ before_baseline: bright(before.wkr) && bright(before.idl1) && bright(before.idl2),
111
+ legendPin_keepsWorking: bright(afterPin.wkr),
112
+ legendPin_dimsIdle: dim(afterPin.idl1) && dim(afterPin.idl2),
113
+ legendPin_survivesMouse: bright(afterMouseMove.wkr) && dim(afterMouseMove.idl1),
114
+ legendPin_ariaPressed: pinnedAria === 'true',
115
+ legendPin_ringRendered: pinnedRingExists,
116
+ pressureSwitch_replaces: dim(afterSwitch.wkr) && bright(afterSwitch.idl1) && bright(afterSwitch.idl2),
117
+ pressureSwitch_clearsLegendRing: workingRingGone,
118
+ release_restoresAll: bright(afterRelease.wkr) && bright(afterRelease.idl1),
119
+ };
120
+ const ok = Object.values(results).every(Boolean);
121
+ console.log(`${ok ? '✅' : '❌'} legend pin:`, JSON.stringify(results),
122
+ `\n before=`, before,
123
+ `\n afterPin=`, afterPin,
124
+ `\n afterMouseMove=`, afterMouseMove,
125
+ `\n afterSwitch=`, afterSwitch,
126
+ `\n afterRelease=`, afterRelease,
127
+ `\n pinnedAria=${pinnedAria} ringRendered=${pinnedRingExists} workingRingGone=${workingRingGone}`);
128
+ process.exit(ok ? 0 : 1);
@@ -0,0 +1,112 @@
1
+ /* Round 60 verification: each pressure-bar segment toggles a sticky
2
+ * status filter. Click "working" → all non-working nodes dim, working
3
+ * ones stay. Click again → release. Pin and the R55 legend hover feed
4
+ * the same node-opacity branch via `activeStatus = hoveredStatus ??
5
+ * pinnedStatus`, so hover transiently overrides without nuking the pin.
6
+ *
7
+ * Sessions:
8
+ * wkr — working
9
+ * idl1 — idle
10
+ * idl2 — idle
11
+ * off — offline
12
+ */
13
+ import { chromium } from 'playwright';
14
+ import { readFileSync } from 'node:fs';
15
+
16
+ const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
17
+ const browser = await chromium.launch({ headless: true });
18
+
19
+ const ctx = await browser.newContext({ viewport: { width: 1400, height: 1500 } });
20
+ await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
21
+ await ctx.addInitScript(() => {
22
+ try {
23
+ localStorage.setItem('anet-theme', 'cyber');
24
+ localStorage.setItem('anet-topo-layout', 'ring');
25
+ sessionStorage.setItem('anet_v3_auth', '1');
26
+ } catch {}
27
+ });
28
+
29
+ const fresh = new Date(Date.now() - 60 * 1000).toISOString();
30
+ const stale = new Date(Date.now() - 30 * 60 * 1000).toISOString();
31
+ await ctx.route('**/api/hub/status*', async (route) => {
32
+ const r = await route.fetch();
33
+ const b = await r.json();
34
+ const nid = (b.sessions || [])[0]?.network_id || 'default';
35
+ const sessions = [
36
+ { alias: 'wkr', status: 'working', network_id: nid, project_dir: null, created_at: fresh, updated_at: fresh, last_seen_at: fresh },
37
+ { alias: 'idl1', status: 'idle', network_id: nid, project_dir: null, created_at: fresh, updated_at: fresh, last_seen_at: fresh },
38
+ { alias: 'idl2', status: 'idle', network_id: nid, project_dir: null, created_at: fresh, updated_at: fresh, last_seen_at: fresh },
39
+ { alias: 'off', status: 'offline', network_id: nid, project_dir: null, created_at: stale, updated_at: stale, last_seen_at: stale },
40
+ ];
41
+ await route.fulfill({ response: r, json: { ...b, sessions } });
42
+ });
43
+ await ctx.route('**/api/hub/messages*', (route) => route.fulfill({ json: { messages: [] } }));
44
+ await ctx.route('**/api/hub/tasks*', (route) => route.fulfill({ json: { tasks: [] } }));
45
+ const page = await ctx.newPage();
46
+ await page.goto('http://127.0.0.1:3000/', { waitUntil: 'domcontentloaded' });
47
+ await page.waitForFunction(() => document.querySelectorAll('g[data-node]').length === 4, { timeout: 30000 });
48
+ await page.waitForTimeout(500);
49
+
50
+ const opacities = () => page.evaluate(() => {
51
+ const o = {};
52
+ for (const a of ['wkr', 'idl1', 'idl2', 'off']) {
53
+ const g = document.querySelector(`g[data-node="${a}"]`);
54
+ o[a] = g ? +(g.style.opacity || '1') : null;
55
+ }
56
+ return o;
57
+ });
58
+
59
+ const before = await opacities();
60
+
61
+ const bright = (v) => v != null && v >= 0.55;
62
+ const dim = (v) => v != null && v < 0.4;
63
+
64
+ // Click the WORKING segment.
65
+ const workingSeg = page.locator('[data-pressure-seg="working"]').first();
66
+ const workingExists = await workingSeg.count() > 0;
67
+ if (!workingExists) { console.log('❌ pressure segment[working] not found'); process.exit(1); }
68
+ await workingSeg.click({ force: true });
69
+ await page.waitForTimeout(250);
70
+ const afterPin = await opacities();
71
+
72
+ // Pin should persist past mouse moving away.
73
+ await page.mouse.move(10, 10);
74
+ await page.waitForTimeout(250);
75
+ const afterMouseMove = await opacities();
76
+
77
+ // Click again to release.
78
+ await workingSeg.click({ force: true });
79
+ await page.waitForTimeout(250);
80
+ const afterRelease = await opacities();
81
+
82
+ // Repeat for offline segment.
83
+ const offlineSeg = page.locator('[data-pressure-seg="offline"]').first();
84
+ await offlineSeg.click({ force: true });
85
+ await page.waitForTimeout(250);
86
+ const afterOfflinePin = await opacities();
87
+ await offlineSeg.click({ force: true });
88
+ await page.waitForTimeout(250);
89
+ const afterOfflineRelease = await opacities();
90
+
91
+ await browser.close();
92
+
93
+ const results = {
94
+ before_baseline: bright(before.wkr) && bright(before.idl1),
95
+ working_pinKeepsWorking: bright(afterPin.wkr),
96
+ working_pinDimsIdle: dim(afterPin.idl1) && dim(afterPin.idl2),
97
+ working_pinDimsOffline: dim(afterPin.off),
98
+ working_pinSurvivesMouse: bright(afterMouseMove.wkr) && dim(afterMouseMove.idl1),
99
+ working_releaseRestoresAll: bright(afterRelease.wkr) && bright(afterRelease.idl1),
100
+ offline_pinKeepsOffline: bright(afterOfflinePin.off), // base offline 0.6 reads as bright (>=0.55)
101
+ offline_pinDimsOnline: dim(afterOfflinePin.wkr) && dim(afterOfflinePin.idl1),
102
+ offline_releaseRestoresAll: bright(afterOfflineRelease.wkr),
103
+ };
104
+ const ok = Object.values(results).every(Boolean);
105
+ console.log(`${ok ? '✅' : '❌'} pressure pin:`, JSON.stringify(results),
106
+ `\n before=`, before,
107
+ `\n afterPin=`, afterPin,
108
+ `\n afterMouseMove=`, afterMouseMove,
109
+ `\n afterRelease=`, afterRelease,
110
+ `\n afterOfflinePin=`, afterOfflinePin,
111
+ `\n afterOfflineRelease=`, afterOfflineRelease);
112
+ process.exit(ok ? 0 : 1);