@sleep2agi/agent-network-dashboard 0.5.3 → 0.5.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 (484) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +2 -0
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/diagnostics/route-bundle-stats.json +35 -35
  5. package/.next/fallback-build-manifest.json +3 -3
  6. package/.next/prerender-manifest.json +29 -0
  7. package/.next/routes-manifest.json +12 -0
  8. package/.next/server/app/_global-error.html +1 -1
  9. package/.next/server/app/_global-error.rsc +2 -2
  10. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
  12. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  16. package/.next/server/app/_not-found.html +2 -2
  17. package/.next/server/app/_not-found.rsc +13 -13
  18. package/.next/server/app/_not-found.segments/_full.segment.rsc +13 -13
  19. package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  20. package/.next/server/app/_not-found.segments/_index.segment.rsc +7 -7
  21. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  22. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  23. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  24. package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  25. package/.next/server/app/admin.html +2 -2
  26. package/.next/server/app/admin.rsc +15 -15
  27. package/.next/server/app/admin.segments/_full.segment.rsc +15 -15
  28. package/.next/server/app/admin.segments/_head.segment.rsc +4 -4
  29. package/.next/server/app/admin.segments/_index.segment.rsc +7 -7
  30. package/.next/server/app/admin.segments/_tree.segment.rsc +2 -2
  31. package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +4 -4
  32. package/.next/server/app/admin.segments/admin.segment.rsc +3 -3
  33. package/.next/server/app/api/hub/upload/route/app-paths-manifest.json +3 -0
  34. package/.next/server/app/api/hub/upload/route/build-manifest.json +9 -0
  35. package/.next/server/app/api/hub/upload/route/server-reference-manifest.json +4 -0
  36. package/.next/server/app/api/hub/upload/route.js +7 -0
  37. package/.next/server/app/api/hub/upload/route.js.map +5 -0
  38. package/.next/server/app/api/hub/upload/route.js.nft.json +1 -0
  39. package/.next/server/app/api/hub/upload/route_client-reference-manifest.js +3 -0
  40. package/.next/server/app/index.html +2 -2
  41. package/.next/server/app/index.rsc +15 -15
  42. package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  43. package/.next/server/app/index.segments/_full.segment.rsc +15 -15
  44. package/.next/server/app/index.segments/_head.segment.rsc +4 -4
  45. package/.next/server/app/index.segments/_index.segment.rsc +7 -7
  46. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  47. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  48. package/.next/server/app/login.html +2 -2
  49. package/.next/server/app/login.rsc +15 -15
  50. package/.next/server/app/login.segments/_full.segment.rsc +15 -15
  51. package/.next/server/app/login.segments/_head.segment.rsc +4 -4
  52. package/.next/server/app/login.segments/_index.segment.rsc +7 -7
  53. package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  54. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
  55. package/.next/server/app/login.segments/login.segment.rsc +3 -3
  56. package/.next/server/app/logs/page_client-reference-manifest.js +1 -1
  57. package/.next/server/app/logs.html +2 -2
  58. package/.next/server/app/logs.rsc +15 -15
  59. package/.next/server/app/logs.segments/_full.segment.rsc +15 -15
  60. package/.next/server/app/logs.segments/_head.segment.rsc +4 -4
  61. package/.next/server/app/logs.segments/_index.segment.rsc +7 -7
  62. package/.next/server/app/logs.segments/_tree.segment.rsc +2 -2
  63. package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +4 -4
  64. package/.next/server/app/logs.segments/logs.segment.rsc +3 -3
  65. package/.next/server/app/manifest.webmanifest/route/app-paths-manifest.json +3 -0
  66. package/.next/server/app/manifest.webmanifest/route/build-manifest.json +9 -0
  67. package/.next/server/app/manifest.webmanifest/route/server-reference-manifest.json +4 -0
  68. package/.next/server/app/manifest.webmanifest/route.js +8 -0
  69. package/.next/server/app/manifest.webmanifest/route.js.map +5 -0
  70. package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -0
  71. package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +3 -0
  72. package/.next/server/app/manifest.webmanifest.body +1 -0
  73. package/.next/server/app/manifest.webmanifest.meta +1 -0
  74. package/.next/server/app/messages/page_client-reference-manifest.js +1 -1
  75. package/.next/server/app/messages.html +2 -2
  76. package/.next/server/app/messages.rsc +15 -15
  77. package/.next/server/app/messages.segments/_full.segment.rsc +15 -15
  78. package/.next/server/app/messages.segments/_head.segment.rsc +4 -4
  79. package/.next/server/app/messages.segments/_index.segment.rsc +7 -7
  80. package/.next/server/app/messages.segments/_tree.segment.rsc +2 -2
  81. package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +4 -4
  82. package/.next/server/app/messages.segments/messages.segment.rsc +3 -3
  83. package/.next/server/app/node/page_client-reference-manifest.js +1 -1
  84. package/.next/server/app/node.html +2 -2
  85. package/.next/server/app/node.rsc +15 -15
  86. package/.next/server/app/node.segments/_full.segment.rsc +15 -15
  87. package/.next/server/app/node.segments/_head.segment.rsc +4 -4
  88. package/.next/server/app/node.segments/_index.segment.rsc +7 -7
  89. package/.next/server/app/node.segments/_tree.segment.rsc +2 -2
  90. package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +4 -4
  91. package/.next/server/app/node.segments/node.segment.rsc +3 -3
  92. package/.next/server/app/nodes/page_client-reference-manifest.js +1 -1
  93. package/.next/server/app/nodes.html +2 -2
  94. package/.next/server/app/nodes.rsc +15 -15
  95. package/.next/server/app/nodes.segments/_full.segment.rsc +15 -15
  96. package/.next/server/app/nodes.segments/_head.segment.rsc +4 -4
  97. package/.next/server/app/nodes.segments/_index.segment.rsc +7 -7
  98. package/.next/server/app/nodes.segments/_tree.segment.rsc +2 -2
  99. package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +4 -4
  100. package/.next/server/app/nodes.segments/nodes.segment.rsc +3 -3
  101. package/.next/server/app/page_client-reference-manifest.js +1 -1
  102. package/.next/server/app/server-logs/page_client-reference-manifest.js +1 -1
  103. package/.next/server/app/server-logs.html +2 -2
  104. package/.next/server/app/server-logs.rsc +15 -15
  105. package/.next/server/app/server-logs.segments/_full.segment.rsc +15 -15
  106. package/.next/server/app/server-logs.segments/_head.segment.rsc +4 -4
  107. package/.next/server/app/server-logs.segments/_index.segment.rsc +7 -7
  108. package/.next/server/app/server-logs.segments/_tree.segment.rsc +2 -2
  109. package/.next/server/app/server-logs.segments/server-logs/__PAGE__.segment.rsc +4 -4
  110. package/.next/server/app/server-logs.segments/server-logs.segment.rsc +3 -3
  111. package/.next/server/app/settings/networks/page_client-reference-manifest.js +1 -1
  112. package/.next/server/app/settings/networks.html +2 -2
  113. package/.next/server/app/settings/networks.rsc +15 -15
  114. package/.next/server/app/settings/networks.segments/_full.segment.rsc +15 -15
  115. package/.next/server/app/settings/networks.segments/_head.segment.rsc +4 -4
  116. package/.next/server/app/settings/networks.segments/_index.segment.rsc +7 -7
  117. package/.next/server/app/settings/networks.segments/_tree.segment.rsc +2 -2
  118. package/.next/server/app/settings/networks.segments/settings/networks/__PAGE__.segment.rsc +4 -4
  119. package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +3 -3
  120. package/.next/server/app/settings/networks.segments/settings.segment.rsc +3 -3
  121. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  122. package/.next/server/app/settings/tokens/page_client-reference-manifest.js +1 -1
  123. package/.next/server/app/settings/tokens.html +2 -2
  124. package/.next/server/app/settings/tokens.rsc +15 -15
  125. package/.next/server/app/settings/tokens.segments/_full.segment.rsc +15 -15
  126. package/.next/server/app/settings/tokens.segments/_head.segment.rsc +4 -4
  127. package/.next/server/app/settings/tokens.segments/_index.segment.rsc +7 -7
  128. package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +2 -2
  129. package/.next/server/app/settings/tokens.segments/settings/tokens/__PAGE__.segment.rsc +4 -4
  130. package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +3 -3
  131. package/.next/server/app/settings/tokens.segments/settings.segment.rsc +3 -3
  132. package/.next/server/app/settings.html +2 -2
  133. package/.next/server/app/settings.rsc +15 -15
  134. package/.next/server/app/settings.segments/_full.segment.rsc +15 -15
  135. package/.next/server/app/settings.segments/_head.segment.rsc +4 -4
  136. package/.next/server/app/settings.segments/_index.segment.rsc +7 -7
  137. package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  138. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +4 -4
  139. package/.next/server/app/settings.segments/settings.segment.rsc +3 -3
  140. package/.next/server/app/tasks/[id]/page_client-reference-manifest.js +1 -1
  141. package/.next/server/app/tasks/page_client-reference-manifest.js +1 -1
  142. package/.next/server/app/tasks.html +2 -2
  143. package/.next/server/app/tasks.rsc +15 -15
  144. package/.next/server/app/tasks.segments/_full.segment.rsc +15 -15
  145. package/.next/server/app/tasks.segments/_head.segment.rsc +4 -4
  146. package/.next/server/app/tasks.segments/_index.segment.rsc +7 -7
  147. package/.next/server/app/tasks.segments/_tree.segment.rsc +2 -2
  148. package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +4 -4
  149. package/.next/server/app/tasks.segments/tasks.segment.rsc +3 -3
  150. package/.next/server/app-paths-manifest.json +2 -0
  151. package/.next/server/chunks/00jm_next_dist_0ju_ux9._.js +18 -0
  152. package/.next/server/chunks/00jm_next_dist_0ju_ux9._.js.map +1 -0
  153. package/.next/server/chunks/0ykm__next-internal_server_app_api_hub_upload_route_actions_03_eqnf.js +3 -0
  154. package/.next/server/chunks/0ykm__next-internal_server_app_manifest_webmanifest_route_actions_0m16rb8.js +3 -0
  155. package/.next/server/chunks/0ykm__next-internal_server_app_manifest_webmanifest_route_actions_0m16rb8.js.map +1 -0
  156. package/.next/server/chunks/{[externals]__11vad82._.js → [externals]__036g1.i._.js} +2 -2
  157. package/.next/server/chunks/[externals]__036g1.i._.js.map +1 -0
  158. package/.next/server/chunks/[root-of-the-server]__0-8_f0o._.js +3 -0
  159. package/.next/server/chunks/[root-of-the-server]__0-8_f0o._.js.map +1 -0
  160. package/.next/server/chunks/{[root-of-the-server]__08uyvdq._.js → [root-of-the-server]__0jndzts._.js} +2 -2
  161. package/.next/server/chunks/{[root-of-the-server]__08uyvdq._.js.map → [root-of-the-server]__0jndzts._.js.map} +1 -1
  162. package/.next/server/chunks/[root-of-the-server]__0mxw4vb._.js +1 -1
  163. package/.next/server/chunks/[root-of-the-server]__0mxw4vb._.js.map +1 -1
  164. package/.next/server/chunks/[root-of-the-server]__0tx8s8i._.js +1 -1
  165. package/.next/server/chunks/[root-of-the-server]__0tx8s8i._.js.map +1 -1
  166. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0..ddwm.js +1 -1
  167. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0..ddwm.js.map +1 -1
  168. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_02bxi6j.js +1 -1
  169. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_02bxi6j.js.map +1 -1
  170. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_05oassd.js +1 -1
  171. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_05oassd.js.map +1 -1
  172. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_05vxtby.js +1 -1
  173. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_05vxtby.js.map +1 -1
  174. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_05~eml4.js +1 -1
  175. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_05~eml4.js.map +1 -1
  176. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0_-g_q2.js +1 -1
  177. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0_-g_q2.js.map +1 -1
  178. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0_ec0xu.js +1 -1
  179. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0_ec0xu.js.map +1 -1
  180. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0czb6wz.js +1 -1
  181. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0czb6wz.js.map +1 -1
  182. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0e-cn.p.js +1 -1
  183. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0e-cn.p.js.map +1 -1
  184. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0k8_sr8.js +1 -1
  185. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0k8_sr8.js.map +1 -1
  186. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0lt_3bw.js +1 -1
  187. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0lt_3bw.js.map +1 -1
  188. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0uyh3yt.js +1 -1
  189. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0uyh3yt.js.map +1 -1
  190. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0v-a2ps.js +1 -1
  191. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_0v-a2ps.js.map +1 -1
  192. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_12.4r9~.js +1 -1
  193. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_12.4r9~.js.map +1 -1
  194. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_13mqkay.js +1 -1
  195. package/.next/server/chunks/ssr/00jm_next_dist_esm_build_templates_app-page_13mqkay.js.map +1 -1
  196. package/.next/server/chunks/ssr/[root-of-the-server]__030vg4n._.js +4 -1
  197. package/.next/server/chunks/ssr/[root-of-the-server]__030vg4n._.js.map +1 -1
  198. package/.next/server/chunks/ssr/[root-of-the-server]__0sv~g.o._.js +1 -1
  199. package/.next/server/chunks/ssr/[root-of-the-server]__0sv~g.o._.js.map +1 -1
  200. package/.next/server/chunks/ssr/[root-of-the-server]__0u5aqkk._.js +1 -1
  201. package/.next/server/chunks/ssr/[root-of-the-server]__0u5aqkk._.js.map +1 -1
  202. package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js +4 -4
  203. package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js.map +1 -1
  204. package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js +1 -1
  205. package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js.map +1 -1
  206. package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js +1 -1
  207. package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js.map +1 -1
  208. package/.next/server/chunks/ssr/agent-network-dashboard_app_components_0mvyi-4._.js +1 -1
  209. package/.next/server/chunks/ssr/agent-network-dashboard_app_components_0mvyi-4._.js.map +1 -1
  210. package/.next/server/middleware-build-manifest.js +3 -3
  211. package/.next/server/middleware.js +2 -2
  212. package/.next/server/middleware.js.nft.json +1 -1
  213. package/.next/server/pages/404.html +2 -2
  214. package/.next/server/pages/500.html +1 -1
  215. package/.next/static/chunks/{07~8sx3_5uiox.js → 04wjx7vbxusw5.js} +4 -1
  216. package/.next/static/chunks/089t1exs6apb8.js +4 -0
  217. package/.next/static/chunks/{0ph1in3421~o-.js → 09e8kxo30n5cf.js} +1 -1
  218. package/.next/static/chunks/{0v4-5tng.uh.7.js → 0k-c1chkvf78s.js} +2 -2
  219. package/.next/static/chunks/0v2~nlpk-cx6v.css +2 -0
  220. package/.next/static/chunks/0xsye-9kffdi0.js +1 -0
  221. package/.next/static/chunks/0~rx_~akeylmq.js +1 -0
  222. package/.next/trace +2 -2
  223. package/.next/trace-build +1 -1
  224. package/.next/types/routes.d.ts +2 -1
  225. package/.next/types/validator.ts +9 -0
  226. package/app/api/hub/send/route.ts +11 -2
  227. package/app/api/hub/servers/route.ts +3 -29
  228. package/app/api/hub/upload/route.ts +83 -0
  229. package/app/components/AppShell.tsx +3 -1
  230. package/app/components/MobileNav.tsx +45 -0
  231. package/app/components/TaskChatPanel.tsx +130 -6
  232. package/app/components/TopoGraph.tsx +6686 -248
  233. package/app/globals.css +897 -7
  234. package/app/layout.tsx +6 -0
  235. package/app/lib/serverDedupe.ts +122 -0
  236. package/app/lib/vendorIdentity.ts +74 -56
  237. package/app/manifest.ts +23 -0
  238. package/package.json +4 -4
  239. package/public/vendors/claude.svg +7 -8
  240. package/public/vendors/minimax.svg +8 -9
  241. package/public/vendors/openai.svg +8 -10
  242. package/scripts/p157-rc2-dedup-test.mjs +110 -0
  243. package/scripts/topo-a11y-titles-catalog-test.mjs +132 -0
  244. package/scripts/topo-active-chrome-hover-text-test.mjs +107 -0
  245. package/scripts/topo-active-links-chip-halo-layers-test.mjs +81 -0
  246. package/scripts/topo-alias-chat-brightness-test.mjs +79 -0
  247. package/scripts/topo-alias-text-halo-layers-test.mjs +98 -0
  248. package/scripts/topo-animation-temporal-modes-catalog-test.mjs +144 -0
  249. package/scripts/topo-avatar-chat-gate-test.mjs +77 -0
  250. package/scripts/topo-avatar-drop-shadow-test.mjs +86 -0
  251. package/scripts/topo-avatar-fallback-hover-test.mjs +104 -0
  252. package/scripts/topo-avatar-fallback-rotate-test.mjs +92 -0
  253. package/scripts/topo-avatar-rotate-test.mjs +85 -0
  254. package/scripts/topo-avatar-scale-test.mjs +89 -0
  255. package/scripts/topo-badge-chat-gate-test.mjs +74 -0
  256. package/scripts/topo-brand-drop-shadow-test.mjs +71 -0
  257. package/scripts/topo-brand-logo-breath-test.mjs +102 -0
  258. package/scripts/topo-brand-logo-halo-layers-test.mjs +85 -0
  259. package/scripts/topo-brand-logo-hover-brightness-test.mjs +105 -0
  260. package/scripts/topo-brand-logo-hover-rotate-test.mjs +93 -0
  261. package/scripts/topo-brand-logo-hover-test.mjs +85 -0
  262. package/scripts/topo-canvas-desc-a11y-test.mjs +87 -0
  263. package/scripts/topo-canvas-entrance-animation-test.mjs +117 -0
  264. package/scripts/topo-canvas-scan-beam-diagonal-test.mjs +148 -0
  265. package/scripts/topo-canvas-scan-beam-test.mjs +109 -0
  266. package/scripts/topo-canvas-scan-beam-vertical-test.mjs +123 -0
  267. package/scripts/topo-card-chat-brightness-test.mjs +86 -0
  268. package/scripts/topo-chat-ring-breath-curve-test.mjs +114 -0
  269. package/scripts/topo-chat-ring-brightness-test.mjs +80 -0
  270. package/scripts/topo-chat-ring-halo-layers-test.mjs +100 -0
  271. package/scripts/topo-chat-ring-r-breath-test.mjs +121 -0
  272. package/scripts/topo-chat-ring-status-halo-test.mjs +106 -0
  273. package/scripts/topo-chat-ring-sw-breath-test.mjs +123 -0
  274. package/scripts/topo-chip-pin-halo-test.mjs +85 -0
  275. package/scripts/topo-chip-row-digit-ls-test.mjs +135 -0
  276. package/scripts/topo-chip-row-member-alias-lit-test.mjs +154 -0
  277. package/scripts/topo-chip-row-tier-glow-brightness-test.mjs +99 -0
  278. package/scripts/topo-chip-row-unit-hover-tracking-test.mjs +124 -0
  279. package/scripts/topo-chrome-control-halo-layers-test.mjs +22 -0
  280. package/scripts/topo-chrome-fullscreen-breath-test.mjs +121 -0
  281. package/scripts/topo-chrome-layout-trailer-breath-test.mjs +86 -0
  282. package/scripts/topo-chrome-nodesize-trailer-breath-test.mjs +86 -0
  283. package/scripts/topo-chrome-reset-breath-test.mjs +115 -0
  284. package/scripts/topo-chrome-strip-entrance-animation-test.mjs +115 -0
  285. package/scripts/topo-chrome-wrapper-halo-test.mjs +83 -0
  286. package/scripts/topo-chrome-zoom-wrapper-breath-test.mjs +85 -0
  287. package/scripts/topo-click-ripple-glow-test.mjs +86 -0
  288. package/scripts/topo-click-ripple-halo-layers-test.mjs +79 -0
  289. package/scripts/topo-click-ripple-sw-test.mjs +110 -0
  290. package/scripts/topo-cluster-count-attr-test.mjs +80 -0
  291. package/scripts/topo-crescent-breath-test.mjs +104 -0
  292. package/scripts/topo-crescent-envelope-breath-test.mjs +103 -0
  293. package/scripts/topo-crescent-recede-test.mjs +111 -0
  294. package/scripts/topo-dense-alias-chat-halo-test.mjs +73 -0
  295. package/scripts/topo-dense-alias-halo-layers-test.mjs +80 -0
  296. package/scripts/topo-dual-axis-surfaces-catalog-test.mjs +94 -0
  297. package/scripts/topo-edge-badge-circle-brightness-test.mjs +82 -0
  298. package/scripts/topo-edge-badge-circle-hot-pulse-test.mjs +100 -0
  299. package/scripts/topo-edge-badge-digit-halo-layers-test.mjs +107 -0
  300. package/scripts/topo-edge-badge-endpoint-gate-test.mjs +94 -0
  301. package/scripts/topo-edge-badge-halo-layers-test.mjs +85 -0
  302. package/scripts/topo-edge-badge-hot-pulse-test.mjs +92 -0
  303. package/scripts/topo-edge-badge-hover-glow-test.mjs +90 -0
  304. package/scripts/topo-edge-badge-text-brightness-test.mjs +83 -0
  305. package/scripts/topo-edge-chat-gate-test.mjs +71 -0
  306. package/scripts/topo-edge-flow-rail-halo-layers-test.mjs +89 -0
  307. package/scripts/topo-edge-particle-brightness-test.mjs +82 -0
  308. package/scripts/topo-edge-particle-halo-layers-test.mjs +91 -0
  309. package/scripts/topo-edge-pill-glow-test.mjs +67 -0
  310. package/scripts/topo-edge-pin-halo-test.mjs +99 -0
  311. package/scripts/topo-edge-visible-brightness-test.mjs +84 -0
  312. package/scripts/topo-edge-visible-halo-layers-test.mjs +87 -0
  313. package/scripts/topo-endpoint-ring-brightness-test.mjs +83 -0
  314. package/scripts/topo-endpoint-ring-flow-halo-test.mjs +107 -0
  315. package/scripts/topo-endpoint-ring-halo-layers-test.mjs +100 -0
  316. package/scripts/topo-filter-pill-glow-test.mjs +90 -0
  317. package/scripts/topo-filter-pill-halo-layers-test.mjs +27 -0
  318. package/scripts/topo-flow-arrow-brightness-test.mjs +82 -0
  319. package/scripts/topo-flow-rail-brightness-test.mjs +80 -0
  320. package/scripts/topo-fullscreen-attr-test.mjs +73 -0
  321. package/scripts/topo-fullscreen-brightness-test.mjs +84 -0
  322. package/scripts/topo-fullscreen-icon-rotate-test.mjs +93 -0
  323. package/scripts/topo-grid-content-bottom-attr-test.mjs +72 -0
  324. package/scripts/topo-group-box-brightness-test.mjs +84 -0
  325. package/scripts/topo-group-box-halo-layers-test.mjs +91 -0
  326. package/scripts/topo-group-chat-gate-test.mjs +77 -0
  327. package/scripts/topo-group-label-brightness-test.mjs +84 -0
  328. package/scripts/topo-group-label-halo-layers-test.mjs +78 -0
  329. package/scripts/topo-group-label-hover-glow-test.mjs +86 -0
  330. package/scripts/topo-group-label-member-alias-hover-test.mjs +125 -0
  331. package/scripts/topo-group-pill-glow-test.mjs +76 -0
  332. package/scripts/topo-group-tint-brightness-test.mjs +82 -0
  333. package/scripts/topo-h2-dual-axis-breath-test.mjs +92 -0
  334. package/scripts/topo-h2-triple-axis-breath-test.mjs +142 -0
  335. package/scripts/topo-halo-chat-gate-test.mjs +72 -0
  336. package/scripts/topo-hover-detail-halo-test.mjs +76 -0
  337. package/scripts/topo-hub-a11y-title-test.mjs +95 -0
  338. package/scripts/topo-hub-core-brightness-test.mjs +82 -0
  339. package/scripts/topo-hub-core-halo-layers-test.mjs +81 -0
  340. package/scripts/topo-hub-digit-brightness-test.mjs +79 -0
  341. package/scripts/topo-hub-digit-halo-layers-test.mjs +76 -0
  342. package/scripts/topo-hub-digit-ls-test.mjs +119 -0
  343. package/scripts/topo-hub-halo-brightness-test.mjs +80 -0
  344. package/scripts/topo-hub-halo-glow-test.mjs +96 -0
  345. package/scripts/topo-hub-halo-halo-layers-test.mjs +76 -0
  346. package/scripts/topo-hub-highlight-brightness-test.mjs +84 -0
  347. package/scripts/topo-hub-highlight-glow-test.mjs +99 -0
  348. package/scripts/topo-hub-highlight-halo-layers-test.mjs +78 -0
  349. package/scripts/topo-hub-highlight-r-test.mjs +112 -0
  350. package/scripts/topo-hub-hover-ring-brightness-test.mjs +79 -0
  351. package/scripts/topo-hub-hover-ring-glow-test.mjs +97 -0
  352. package/scripts/topo-hub-hover-ring-halo-layers-test.mjs +71 -0
  353. package/scripts/topo-hub-spoke-brightness-test.mjs +77 -0
  354. package/scripts/topo-hub-spoke-glow-test.mjs +112 -0
  355. package/scripts/topo-hub-spoke-halo-layers-test.mjs +97 -0
  356. package/scripts/topo-hub-spoke-self-filter-test.mjs +119 -0
  357. package/scripts/topo-kicker-breath-test.mjs +100 -0
  358. package/scripts/topo-kicker-dual-axis-breath-test.mjs +81 -0
  359. package/scripts/topo-kicker-halo-layers-test.mjs +82 -0
  360. package/scripts/topo-kicker-triple-axis-breath-test.mjs +124 -0
  361. package/scripts/topo-label-card-brightness-test.mjs +81 -0
  362. package/scripts/topo-layout-hover-fw-test.mjs +98 -0
  363. package/scripts/topo-layout-toggle-brightness-test.mjs +94 -0
  364. package/scripts/topo-layout-toggle-halo-layers-test.mjs +95 -0
  365. package/scripts/topo-legend-count-brightness-test.mjs +80 -0
  366. package/scripts/topo-legend-count-halo-layers-test.mjs +79 -0
  367. package/scripts/topo-legend-count-letter-spacing-test.mjs +108 -0
  368. package/scripts/topo-legend-label-fw-test.mjs +107 -0
  369. package/scripts/topo-legend-panel-title-breath-test.mjs +86 -0
  370. package/scripts/topo-legend-pin-ring-brightness-test.mjs +82 -0
  371. package/scripts/topo-legend-pin-ring-halo-layers-test.mjs +71 -0
  372. package/scripts/topo-legend-row-count-brightness-test.mjs +85 -0
  373. package/scripts/topo-legend-row-label-glow-test.mjs +102 -0
  374. package/scripts/topo-legend-swatch-glow-test.mjs +109 -0
  375. package/scripts/topo-legend-swatch-member-alias-match-test.mjs +139 -0
  376. package/scripts/topo-legend-tint-brightness-test.mjs +83 -0
  377. package/scripts/topo-legend-trio-halo-layers-test.mjs +22 -0
  378. package/scripts/topo-live-lanes.mjs +48 -0
  379. package/scripts/topo-minimap-container-halo-test.mjs +82 -0
  380. package/scripts/topo-minimap-dot-chat-gate-test.mjs +81 -0
  381. package/scripts/topo-minimap-hover-glow-test.mjs +109 -0
  382. package/scripts/topo-minimap-viewport-brightness-test.mjs +84 -0
  383. package/scripts/topo-minimap-viewport-halo-layers-test.mjs +24 -0
  384. package/scripts/topo-more-footer-brightness-test.mjs +94 -0
  385. package/scripts/topo-node-alias-brightness-test.mjs +84 -0
  386. package/scripts/topo-node-avatar-halo-layers-test.mjs +25 -0
  387. package/scripts/topo-node-hover-ring-halo-layers-test.mjs +70 -0
  388. package/scripts/topo-node-label-card-halo-test.mjs +76 -0
  389. package/scripts/topo-node-sub-text-brightness-test.mjs +88 -0
  390. package/scripts/topo-nodesize-brightness-test.mjs +82 -0
  391. package/scripts/topo-nodesize-halo-layers-test.mjs +89 -0
  392. package/scripts/topo-nodesize-hover-fw-test.mjs +99 -0
  393. package/scripts/topo-orphan-label-opacity-test.mjs +98 -0
  394. package/scripts/topo-overlap-test.mjs +22 -8
  395. package/scripts/topo-panel-count-halo-layers-test.mjs +91 -0
  396. package/scripts/topo-panel-count-hover-ls-test.mjs +87 -0
  397. package/scripts/topo-panel-rect-halo-test.mjs +90 -0
  398. package/scripts/topo-panel-row-brightness-test.mjs +116 -0
  399. package/scripts/topo-panel-title-brightness-test.mjs +98 -0
  400. package/scripts/topo-panel-title-glow-test.mjs +111 -0
  401. package/scripts/topo-panel-titles-dual-axis-breath-test.mjs +94 -0
  402. package/scripts/topo-panel-titles-halo-layers-test.mjs +23 -0
  403. package/scripts/topo-panel-titles-triple-axis-breath-test.mjs +161 -0
  404. package/scripts/topo-pill-x-rotate-test.mjs +96 -0
  405. package/scripts/topo-pip-brightness-test.mjs +85 -0
  406. package/scripts/topo-pressure-bar-halo-layers-test.mjs +19 -0
  407. package/scripts/topo-pressure-seg-glow-test.mjs +92 -0
  408. package/scripts/topo-pressure-seg-member-alias-match-test.mjs +133 -0
  409. package/scripts/topo-pressure-seg-motion-test.mjs +101 -0
  410. package/scripts/topo-r717-scan-beam-pair-pattern-test.mjs +100 -0
  411. package/scripts/topo-r717-triple-axis-pair-pattern-test.mjs +113 -0
  412. package/scripts/topo-r717-triple-axis-tier-pattern-test.mjs +117 -0
  413. package/scripts/topo-recent-count-brightness-test.mjs +84 -0
  414. package/scripts/topo-recent-more-fw-test.mjs +126 -0
  415. package/scripts/topo-recent-more-halo-layers-test.mjs +90 -0
  416. package/scripts/topo-recent-panel-hot-pulse-test.mjs +105 -0
  417. package/scripts/topo-recent-panel-title-breath-test.mjs +91 -0
  418. package/scripts/topo-recent-pip-halo-layers-test.mjs +82 -0
  419. package/scripts/topo-recent-row-chat-gate-test.mjs +75 -0
  420. package/scripts/topo-recent-row-content-lift-test.mjs +140 -0
  421. package/scripts/topo-recent-row-fw-test.mjs +115 -0
  422. package/scripts/topo-recent-row-text-glow-test.mjs +86 -0
  423. package/scripts/topo-recent-row-text-halo-layers-test.mjs +67 -0
  424. package/scripts/topo-recent-tint-brightness-test.mjs +80 -0
  425. package/scripts/topo-recent-ts-brightness-test.mjs +86 -0
  426. package/scripts/topo-reduced-motion-attr-test.mjs +69 -0
  427. package/scripts/topo-reset-brightness-test.mjs +83 -0
  428. package/scripts/topo-reset-icon-hover-scale-test.mjs +102 -0
  429. package/scripts/topo-respiratory-axis-count-stats-test.mjs +154 -0
  430. package/scripts/topo-respiratory-patterns-catalog-test.mjs +112 -0
  431. package/scripts/topo-respiratory-rolodex-test.mjs +83 -0
  432. package/scripts/topo-respiratory-tiers-catalog-test.mjs +119 -0
  433. package/scripts/topo-respiratory-triple-axis-surfaces-catalog-test.mjs +127 -0
  434. package/scripts/topo-runtime-badge-brightness-test.mjs +78 -0
  435. package/scripts/topo-runtime-badge-glow-test.mjs +108 -0
  436. package/scripts/topo-runtime-badge-halo-layers-test.mjs +87 -0
  437. package/scripts/topo-runtime-badge-rotate-test.mjs +85 -0
  438. package/scripts/topo-section-title-breath-test.mjs +83 -0
  439. package/scripts/topo-section-title-halo-layers-test.mjs +88 -0
  440. package/scripts/topo-spoke-chat-gate-test.mjs +72 -0
  441. package/scripts/topo-starfield-hue-test.mjs +109 -0
  442. package/scripts/topo-status-pin-pill-halo-layers-test.mjs +17 -0
  443. package/scripts/topo-status-ring-brightness-test.mjs +84 -0
  444. package/scripts/topo-status-ring-chat-gate-test.mjs +72 -0
  445. package/scripts/topo-status-ring-halo-layers-test.mjs +105 -0
  446. package/scripts/topo-status-ring-status-halo-test.mjs +110 -0
  447. package/scripts/topo-sub-text-chat-brightness-test.mjs +81 -0
  448. package/scripts/topo-svg-title-a11y-r731-test.mjs +93 -0
  449. package/scripts/topo-svg-title-a11y-test.mjs +88 -0
  450. package/scripts/topo-title-block-entrance-animation-test.mjs +127 -0
  451. package/scripts/topo-title-block-envelope-breath-test.mjs +87 -0
  452. package/scripts/topo-titleblock-h2-hover-fw-test.mjs +109 -0
  453. package/scripts/topo-titleblock-h2-hover-tracking-test.mjs +128 -0
  454. package/scripts/topo-titleblock-kicker-hover-test.mjs +134 -0
  455. package/scripts/topo-tree-diag.mjs +95 -0
  456. package/scripts/topo-vendor-chip-glow-test.mjs +97 -0
  457. package/scripts/topo-vendor-chip-halo-layers-test.mjs +18 -0
  458. package/scripts/topo-vendor-chip-pin-halo-test.mjs +88 -0
  459. package/scripts/topo-vendor-count-suffix-halo-layers-test.mjs +79 -0
  460. package/scripts/topo-vendor-distribution-wrapper-halo-test.mjs +93 -0
  461. package/scripts/topo-vendor-letter-halo-layers-test.mjs +93 -0
  462. package/scripts/topo-vendor-pill-glow-test.mjs +98 -0
  463. package/scripts/topo-watermark-breath-test.mjs +100 -0
  464. package/scripts/topo-watermark-dual-axis-breath-test.mjs +88 -0
  465. package/scripts/topo-watermark-envelope-breath-test.mjs +88 -0
  466. package/scripts/topo-watermark-recede-test.mjs +114 -0
  467. package/scripts/topo-watermark-triple-axis-breath-test.mjs +129 -0
  468. package/scripts/topo-working-online-chip-halo-layers-test.mjs +94 -0
  469. package/scripts/topo-zoom-buttons-brightness-test.mjs +94 -0
  470. package/scripts/topo-zoom-in-out-halo-layers-test.mjs +97 -0
  471. package/scripts/topo-zoom-level-breath-test.mjs +87 -0
  472. package/scripts/topo-zoom-level-brightness-test.mjs +83 -0
  473. package/scripts/topo-zoom-level-color-test.mjs +105 -0
  474. package/scripts/topo-zoom-level-dual-axis-breath-test.mjs +83 -0
  475. package/scripts/topo-zoom-level-halo-layers-test.mjs +78 -0
  476. package/scripts/topo-zoom-level-triple-axis-breath-test.mjs +148 -0
  477. package/.next/static/chunks/0fuba20p57-zo.js +0 -1
  478. package/.next/static/chunks/0m.1mvl~t.avc.css +0 -2
  479. package/.next/static/chunks/10cj-86disers.js +0 -1
  480. package/.next/static/chunks/158h2g7f-nxbt.js +0 -4
  481. /package/.next/server/chunks/{[externals]__11vad82._.js.map → 0ykm__next-internal_server_app_api_hub_upload_route_actions_03_eqnf.js.map} +0 -0
  482. /package/.next/static/{tQ1EtcEiS7ikgAoAyZWm7 → xq88BMF7fMUHWh10yaKTn}/_buildManifest.js +0 -0
  483. /package/.next/static/{tQ1EtcEiS7ikgAoAyZWm7 → xq88BMF7fMUHWh10yaKTn}/_clientMiddlewareManifest.js +0 -0
  484. /package/.next/static/{tQ1EtcEiS7ikgAoAyZWm7 → xq88BMF7fMUHWh10yaKTn}/_ssgManifest.js +0 -0
@@ -0,0 +1,111 @@
1
+ /* Round 526 verification: brand crescent at canvas top-left gains
2
+ * focal-recede (4th anchor in family). Multiplies visible opacity by
3
+ * 0.7 when non-hub canvas surface is hovered.
4
+ *
5
+ * Test phases (flowLinks=0 state — crescent visible):
6
+ * 1. rest: opacity=0.35, recede attr='false', visible='true'
7
+ * 2. hover legend `idle` row: opacity=0.245 (0.35 × 0.7),
8
+ * recede attr='true'
9
+ * 3. mouseleave: opacity returns to 0.35, recede='false'
10
+ * 4. source-side regex confirms multiplicative opacity + attr wired
11
+ */
12
+ import { chromium } from 'playwright';
13
+ import { readFileSync } from 'node:fs';
14
+
15
+ const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
16
+ const fresh = new Date(Date.now() - 60 * 1000).toISOString();
17
+
18
+ const browser = await chromium.launch({ headless: true });
19
+ const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
20
+ await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
21
+ await ctx.addInitScript(() => {
22
+ try {
23
+ localStorage.setItem('anet-theme', 'cyber');
24
+ localStorage.setItem('anet-topo-layout', 'ring');
25
+ sessionStorage.setItem('anet_v3_auth', '1');
26
+ } catch {}
27
+ });
28
+ await ctx.route('**/api/hub/status*', async (route) => {
29
+ const r = await route.fetch();
30
+ const b = await r.json();
31
+ const nid = (b.sessions || [])[0]?.network_id || 'default';
32
+ const mk = (alias) => ({
33
+ alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
34
+ network_id: nid, project_dir: null,
35
+ created_at: fresh, updated_at: fresh, last_seen_at: fresh,
36
+ });
37
+ await route.fulfill({ response: r, json: { ...b, sessions: [
38
+ mk('alpha·1'), mk('alpha·2'), mk('alpha·3'),
39
+ ] } });
40
+ });
41
+ // NO messages → flowLinks.length === 0 → crescent visible at opacity 0.35
42
+ await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [] } }));
43
+ await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
44
+ const page = await ctx.newPage();
45
+ await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
46
+ await page.waitForSelector('[data-topo-brand-canvas-mark]', { timeout: 15000 });
47
+ await page.waitForTimeout(800);
48
+
49
+ // Phase 1: rest
50
+ const rest = await page.evaluate(() => {
51
+ const m = document.querySelector('[data-topo-brand-canvas-mark]');
52
+ return {
53
+ opacity: parseFloat(m?.getAttribute('opacity') || '0'),
54
+ visible: m?.getAttribute('data-topo-brand-canvas-mark-visible'),
55
+ recede: m?.getAttribute('data-topo-brand-canvas-mark-recede'),
56
+ };
57
+ });
58
+
59
+ // Phase 2: hover legend `idle` row (sets hoveredStatus → recede)
60
+ await page.hover('[data-legend-row-label="idle"]');
61
+ await page.waitForTimeout(400);
62
+ const hover = await page.evaluate(() => {
63
+ const m = document.querySelector('[data-topo-brand-canvas-mark]');
64
+ return {
65
+ opacity: parseFloat(m?.getAttribute('opacity') || '0'),
66
+ visible: m?.getAttribute('data-topo-brand-canvas-mark-visible'),
67
+ recede: m?.getAttribute('data-topo-brand-canvas-mark-recede'),
68
+ };
69
+ });
70
+
71
+ // Phase 3: mouseleave
72
+ await page.mouse.move(900, 50);
73
+ await page.waitForTimeout(400);
74
+ const leave = await page.evaluate(() => {
75
+ const m = document.querySelector('[data-topo-brand-canvas-mark]');
76
+ return {
77
+ opacity: parseFloat(m?.getAttribute('opacity') || '0'),
78
+ recede: m?.getAttribute('data-topo-brand-canvas-mark-recede'),
79
+ };
80
+ });
81
+
82
+ await browser.close();
83
+
84
+ // Source regex
85
+ const src = readFileSync('/home/vansin/agent-network-dashboard/app/components/TopoGraph.tsx', 'utf8');
86
+ const sourceOpacityWired =
87
+ /opacity=\{\(flowLinks\.length === 0 \? 0\.35 : 0\) \* \(\s*\(hoveredAlias \|\| hoveredEdgeKey \|\| hoveredGroupLabel \|\|\s*hoveredStatus \|\| hoveredVendor\) && !hoveredHub \? 0\.7 : 1\s*\)\}/.test(src);
88
+ const sourceAttrWired =
89
+ /data-topo-brand-canvas-mark-recede=\{\s*\(hoveredAlias \|\| hoveredEdgeKey \|\| hoveredGroupLabel \|\|\s*hoveredStatus \|\| hoveredVendor\) && !hoveredHub \? 'true' : 'false'\s*\}/.test(src);
90
+
91
+ const approxEq = (a, b, tol = 0.001) => Math.abs(a - b) < tol;
92
+
93
+ const results = {
94
+ rest_opacity_035: approxEq(rest?.opacity, 0.35),
95
+ rest_visible_true: rest?.visible === 'true',
96
+ rest_recede_false: rest?.recede === 'false',
97
+ hover_opacity_0245: approxEq(hover?.opacity, 0.245),
98
+ hover_recede_true: hover?.recede === 'true',
99
+ hover_visible_still: hover?.visible === 'true', // crescent should still be visible
100
+ leave_opacity_035: approxEq(leave?.opacity, 0.35),
101
+ leave_recede_false: leave?.recede === 'false',
102
+ source_opacity_wired: sourceOpacityWired,
103
+ source_attr_wired: sourceAttrWired,
104
+ };
105
+ const ok = Object.values(results).every(Boolean);
106
+ console.log(`${ok ? '✅' : '❌'} R526 crescent focal-recede:`,
107
+ JSON.stringify(results, null, 2),
108
+ '\n rest:', JSON.stringify(rest),
109
+ '\n hover:', JSON.stringify(hover),
110
+ '\n leave:', JSON.stringify(leave));
111
+ process.exit(ok ? 0 : 1);
@@ -0,0 +1,73 @@
1
+ /* Round 691 — dense plain-text alias halo gate extends from hover-only
2
+ * (R680) to (hover || chat-target). Closes dense-mode + chat-target
3
+ * signaling parity at the per-node label scope — joins R616/R617/R645
4
+ * chat-target-gated brightness family.
5
+ *
6
+ * Source assertions:
7
+ * - dense alias halo-layers attr: (hoveredAlias || chatAlias) gate
8
+ * - dense alias filter: same OR-gate at status.primary tint 2+4
9
+ *
10
+ * Runtime assertions:
11
+ * - dense fleet renders (≥17 nodes → triggers dense fallback)
12
+ * - rest halo-layers='0' on all (no hover, no chat)
13
+ */
14
+ import { chromium } from 'playwright';
15
+ import { readFileSync } from 'node:fs';
16
+
17
+ const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
18
+ const fresh = new Date(Date.now() - 60 * 1000).toISOString();
19
+
20
+ const browser = await chromium.launch({ headless: true });
21
+ const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
22
+ await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
23
+ await ctx.addInitScript(() => {
24
+ try {
25
+ localStorage.setItem('anet-theme', 'cyber');
26
+ localStorage.setItem('anet-topo-layout', 'ring');
27
+ sessionStorage.setItem('anet_v3_auth', '1');
28
+ } catch {}
29
+ });
30
+ await ctx.route('**/api/hub/status*', async (route) => {
31
+ const r = await route.fetch();
32
+ const b = await r.json();
33
+ const nid = (b.sessions || [])[0]?.network_id || 'default';
34
+ const mk = (alias) => ({
35
+ alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
36
+ network_id: nid, project_dir: null,
37
+ created_at: fresh, updated_at: fresh, last_seen_at: fresh,
38
+ });
39
+ // 18 nodes → dense fallback (>16)
40
+ await route.fulfill({ response: r, json: { ...b, sessions: Array.from({ length: 18 }, (_, i) => mk(`a·${i + 1}`)) } });
41
+ });
42
+ await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [] } }));
43
+ await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
44
+ const page = await ctx.newPage();
45
+ await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
46
+ await page.waitForSelector('[data-node-dense-alias-text]', { timeout: 15000, state: 'attached' });
47
+ await page.waitForTimeout(300);
48
+
49
+ const runtimeState = await page.evaluate(() => {
50
+ const labels = Array.from(document.querySelectorAll('[data-node-dense-alias-text]'));
51
+ return {
52
+ count: labels.length,
53
+ all_layers_zero: labels.every(el => el.getAttribute('data-node-dense-alias-text-halo-layers') === '0'),
54
+ };
55
+ });
56
+
57
+ await browser.close();
58
+
59
+ const src = readFileSync('/home/vansin/agent-network-dashboard/app/components/TopoGraph.tsx', 'utf8');
60
+ const sourceAttrGate = /data-node-dense-alias-text-halo-layers=\{\(hoveredAlias === session\.alias \|\| chatAlias === session\.alias\) \? '2' : '0'\}/.test(src);
61
+ const sourceFilterGate = /filter: \(hoveredAlias === session\.alias \|\| chatAlias === session\.alias\)\s*\?\s*`drop-shadow\(0 0 2px \$\{status\.primary\}80\) drop-shadow\(0 0 4px \$\{status\.primary\}40\)`/.test(src);
62
+
63
+ const results = {
64
+ dense_labels_present: runtimeState.count >= 10,
65
+ rest_all_layers_zero: runtimeState.all_layers_zero,
66
+ source_attr_gate: sourceAttrGate,
67
+ source_filter_gate: sourceFilterGate,
68
+ };
69
+ const ok = Object.values(results).every(Boolean);
70
+ console.log(`${ok ? '✅' : '❌'} R691 dense alias chat-target-gated halo (closes dense-mode chat signaling):`,
71
+ JSON.stringify(results, null, 2),
72
+ `\n runtime: ${runtimeState.count} dense labels rendered`);
73
+ process.exit(ok ? 0 : 1);
@@ -0,0 +1,80 @@
1
+ /* Round 680 — dense plain-text alias (the >16-node fallback label)
2
+ * extends from group-hover:-translate-y geometry-only to 2-layer
3
+ * drop-shadow at status.primary tint with 2+4 stride, alpha 80/40.
4
+ * Closes the dense-mode alias hover signature parity with normal-
5
+ * mode card label (R645). 39th anchor in family — first dense-mode
6
+ * anchor.
7
+ *
8
+ * Source assertions:
9
+ * - filter uses status.primary at 0x80 + 0x40 with 2+4 stride,
10
+ * gated on hoveredAlias === session.alias
11
+ * - data-node-dense-alias-text-halo-layers attr toggles '2' ↔ '0'
12
+ * - transition extends with 'filter 200ms ease-out'
13
+ *
14
+ * Runtime assertions:
15
+ * - dense alias labels present (>16 nodes)
16
+ * - all rest: halo-layers='0'
17
+ */
18
+ import { chromium } from 'playwright';
19
+ import { readFileSync } from 'node:fs';
20
+
21
+ const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
22
+ const fresh = new Date(Date.now() - 60 * 1000).toISOString();
23
+
24
+ const browser = await chromium.launch({ headless: true });
25
+ const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
26
+ await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
27
+ await ctx.addInitScript(() => {
28
+ try {
29
+ localStorage.setItem('anet-theme', 'cyber');
30
+ localStorage.setItem('anet-topo-layout', 'ring');
31
+ sessionStorage.setItem('anet_v3_auth', '1');
32
+ } catch {}
33
+ });
34
+ await ctx.route('**/api/hub/status*', async (route) => {
35
+ const r = await route.fetch();
36
+ const b = await r.json();
37
+ const nid = (b.sessions || [])[0]?.network_id || 'default';
38
+ const mk = (alias) => ({
39
+ alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
40
+ network_id: nid, project_dir: null,
41
+ created_at: fresh, updated_at: fresh, last_seen_at: fresh,
42
+ });
43
+ // 18 nodes triggers dense fallback (>16 nodes)
44
+ await route.fulfill({ response: r, json: { ...b, sessions: Array.from({ length: 18 }, (_, i) => mk(`a·${i + 1}`)) } });
45
+ });
46
+ await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [] } }));
47
+ await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
48
+ const page = await ctx.newPage();
49
+ await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
50
+ await page.waitForSelector('[data-node-dense-alias-text-halo-layers]', { timeout: 15000, state: 'attached' });
51
+ await page.waitForTimeout(500);
52
+
53
+ const restState = await page.evaluate(() => {
54
+ return Array.from(document.querySelectorAll('[data-node-dense-alias-text]')).map(el => ({
55
+ alias: el.getAttribute('data-node-dense-alias-text'),
56
+ layers: el.getAttribute('data-node-dense-alias-text-halo-layers'),
57
+ }));
58
+ });
59
+
60
+ await browser.close();
61
+
62
+ const src = readFileSync('/home/vansin/agent-network-dashboard/app/components/TopoGraph.tsx', 'utf8');
63
+ const sourceFilter = /filter: hoveredAlias === session\.alias\s*\?\s*`drop-shadow\(0 0 2px \$\{status\.primary\}80\) drop-shadow\(0 0 4px \$\{status\.primary\}40\)`/.test(src);
64
+ const sourceLayersAttr = /data-node-dense-alias-text-halo-layers=\{hoveredAlias === session\.alias \? '2' : '0'\}/.test(src);
65
+ const sourceTransition = /transition: 'transform 200ms ease-out, fill 300ms ease-out, filter 200ms ease-out'/.test(src);
66
+
67
+ const restAllZero = restState.every(e => e.layers === '0');
68
+
69
+ const results = {
70
+ dense_aliases_present: restState.length >= 10, // 18 nodes should yield ~18 dense labels
71
+ rest_all_layers_zero: restAllZero,
72
+ source_filter: sourceFilter,
73
+ source_layers_attr: sourceLayersAttr,
74
+ source_transition: sourceTransition,
75
+ };
76
+ const ok = Object.values(results).every(Boolean);
77
+ console.log(`${ok ? '✅' : '❌'} R680 dense plain-text alias multi-layer halo (first dense-mode anchor):`,
78
+ JSON.stringify(results, null, 2),
79
+ `\n count: ${restState.length}, sample: ${JSON.stringify(restState.slice(0, 3))}`);
80
+ process.exit(ok ? 0 : 1);
@@ -0,0 +1,94 @@
1
+ /* Round 716 — dual-axis surfaces catalog attr on canvas root. Companion
2
+ * to R710 rolodex catalog. Lists the 5 dual-axis surfaces (6 underlying
3
+ * elements counting panel-pair as 2) with their cadences and axes.
4
+ *
5
+ * Assertions:
6
+ * - attr present on root <svg>
7
+ * - JSON parses to an Array
8
+ * - exactly 6 entries (4 unique surfaces but panel-pair = 2)
9
+ * - each entry has { anchor, cadence_s, axes } shape
10
+ * - axes is non-empty Array<string>
11
+ * - opacity is the FIRST axis in every entry (preserves R699/R700/.../
12
+ * existing opacity-first establishment)
13
+ * - second axis is one of: transform-scale, letter-spacing, font-size
14
+ */
15
+ import { chromium } from 'playwright';
16
+ import { readFileSync } from 'node:fs';
17
+
18
+ const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
19
+ const fresh = new Date(Date.now() - 60 * 1000).toISOString();
20
+
21
+ const browser = await chromium.launch({ headless: true });
22
+ const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
23
+ await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
24
+ await ctx.addInitScript(() => {
25
+ try {
26
+ localStorage.setItem('anet-theme', 'cyber');
27
+ localStorage.setItem('anet-topo-layout', 'ring');
28
+ sessionStorage.setItem('anet_v3_auth', '1');
29
+ } catch {}
30
+ });
31
+ await ctx.route('**/api/hub/status*', async (route) => {
32
+ const r = await route.fetch();
33
+ const b = await r.json();
34
+ const nid = (b.sessions || [])[0]?.network_id || 'default';
35
+ const mk = (alias) => ({
36
+ alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
37
+ network_id: nid, project_dir: null,
38
+ created_at: fresh, updated_at: fresh, last_seen_at: fresh,
39
+ });
40
+ await route.fulfill({ response: r, json: { ...b, sessions: [mk('a·1'), mk('a·2')] } });
41
+ });
42
+ await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [] } }));
43
+ await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
44
+ const page = await ctx.newPage();
45
+ await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
46
+ await page.waitForSelector('[data-topo-canvas-aria]', { timeout: 15000, state: 'attached' });
47
+ await page.waitForTimeout(300);
48
+
49
+ const runtimeAttr = await page.evaluate(() => {
50
+ const svg = document.querySelector('[data-topo-canvas-aria]');
51
+ return svg?.getAttribute('data-topo-respiratory-dual-axis-surfaces') ?? null;
52
+ });
53
+
54
+ await browser.close();
55
+
56
+ let parsed = null;
57
+ let parseError = null;
58
+ try {
59
+ parsed = JSON.parse(runtimeAttr ?? '');
60
+ } catch (e) {
61
+ parseError = String(e);
62
+ }
63
+
64
+ const validShapeAndOpacityFirst = Array.isArray(parsed)
65
+ ? parsed.every(e => e && typeof e === 'object'
66
+ && typeof e.anchor === 'string' && e.anchor.length > 0
67
+ && typeof e.cadence_s === 'number' && e.cadence_s > 0
68
+ && Array.isArray(e.axes) && e.axes.length >= 2
69
+ && e.axes.every(a => typeof a === 'string' && a.length > 0)
70
+ && e.axes[0] === 'opacity')
71
+ : false;
72
+
73
+ const validSecondAxisChoices = Array.isArray(parsed)
74
+ ? parsed.every(e => Array.isArray(e?.axes) && ['transform-scale', 'letter-spacing', 'font-size'].includes(e.axes[1]))
75
+ : false;
76
+
77
+ const anchorNames = Array.isArray(parsed) ? parsed.map(e => e.anchor).sort() : [];
78
+ const expectedAnchors = ['H2', 'kicker', 'legend', 'recent', 'watermark', 'zoom-level'];
79
+
80
+ const results = {
81
+ attr_present: !!runtimeAttr,
82
+ json_parses: parsed !== null && parseError === null,
83
+ is_array: Array.isArray(parsed),
84
+ has_6_entries: Array.isArray(parsed) && parsed.length === 6,
85
+ anchors_match_expected: JSON.stringify(anchorNames) === JSON.stringify(expectedAnchors),
86
+ shape_and_opacity_first: validShapeAndOpacityFirst,
87
+ second_axis_valid_choices: validSecondAxisChoices,
88
+ };
89
+ const ok = Object.values(results).every(Boolean);
90
+ console.log(`${ok ? '✅' : '❌'} R716 dual-axis surfaces catalog attr (companion to R710 rolodex — breath family meta-documentation closed):`,
91
+ JSON.stringify(results, null, 2),
92
+ `\n parsed: ${JSON.stringify(parsed)}`,
93
+ parseError ? `\n parseError: ${parseError}` : '');
94
+ process.exit(ok ? 0 : 1);
@@ -0,0 +1,82 @@
1
+ /* Round 603 — edge-badge CIRCLE stacks brightness(1.15) onto
2
+ * R534/R480 drop-shadow on hover/pin/hot. 5th hover axis on
3
+ * the badge ring; brings circle brightness to parity with the
4
+ * R570 digit brightness within the same edge-badge unit.
5
+ *
6
+ * Test phases:
7
+ * 1. mock 1 message → 1 flowLink → edge-badge renders
8
+ * 2. rest: filter='none', brightness-attr='1'
9
+ * 3. computed transition-property contains 'filter'
10
+ * 4. source: stacked filter conditional includes brightness +
11
+ * data-attr extension
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 fresh = new Date(Date.now() - 60 * 1000).toISOString();
18
+
19
+ const browser = await chromium.launch({ headless: true });
20
+ const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
21
+ await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
22
+ await ctx.addInitScript(() => {
23
+ try {
24
+ localStorage.setItem('anet-theme', 'cyber');
25
+ localStorage.setItem('anet-topo-layout', 'ring');
26
+ sessionStorage.setItem('anet_v3_auth', '1');
27
+ } catch {}
28
+ });
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 mk = (alias) => ({
34
+ alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
35
+ network_id: nid, project_dir: null,
36
+ created_at: fresh, updated_at: fresh, last_seen_at: fresh,
37
+ });
38
+ await route.fulfill({ response: r, json: { ...b, sessions: [mk('a·1'), mk('a·2')] } });
39
+ });
40
+ await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [
41
+ { from_alias: 'a·1', to_alias: 'a·2', content: 'hi', created_at: fresh },
42
+ ] } }));
43
+ await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
44
+ const page = await ctx.newPage();
45
+ await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
46
+ await page.waitForSelector('[data-edge-badge-brightness]', { timeout: 15000, state: 'attached' });
47
+ await page.waitForTimeout(500);
48
+
49
+ const rest = await page.evaluate(() => {
50
+ const el = document.querySelector('[data-edge-badge-brightness]');
51
+ if (!el) return null;
52
+ const cs = getComputedStyle(el);
53
+ return {
54
+ filter: cs.filter,
55
+ transitionProperty: cs.transitionProperty,
56
+ brightnessAttr: el.getAttribute('data-edge-badge-brightness'),
57
+ glowAttr: el.getAttribute('data-edge-badge-glow'),
58
+ liftedAttr: el.getAttribute('data-edge-badge-lifted'),
59
+ };
60
+ });
61
+
62
+ await browser.close();
63
+
64
+ const src = readFileSync('/home/vansin/agent-network-dashboard/app/components/TopoGraph.tsx', 'utf8');
65
+ const sourceFilter = /filter: \(isHoveredEdge \|\| isPinned\)\s*\?\s*`drop-shadow\(0 0 3px \$\{pal\.legendAccent\}99\) brightness\(1\.15\)`\s*:\s*isHot\s*\?\s*`drop-shadow\(0 0 3px \$\{hotStroke\}80\) brightness\(1\.15\)`\s*:\s*undefined/.test(src);
66
+ const sourceAttr = /data-edge-badge-brightness=\{\(isHoveredEdge \|\| isPinned \|\| isHot\) \? '1\.15' : '1'\}/.test(src);
67
+
68
+ const results = {
69
+ badge_present: !!rest,
70
+ rest_filter_none: rest?.filter === 'none',
71
+ rest_brightness_1: rest?.brightnessAttr === '1',
72
+ rest_glow_false: rest?.glowAttr === 'false',
73
+ rest_lifted_false: rest?.liftedAttr === 'false',
74
+ transition_has_filter: /filter/.test(rest?.transitionProperty || ''),
75
+ source_filter: sourceFilter,
76
+ source_attr: sourceAttr,
77
+ };
78
+ const ok = Object.values(results).every(Boolean);
79
+ console.log(`${ok ? '✅' : '❌'} R603 edge-badge circle brightness (5th axis, ring↔digit parity):`,
80
+ JSON.stringify(results, null, 2),
81
+ `\n rest: ${JSON.stringify(rest)}`);
82
+ process.exit(ok ? 0 : 1);
@@ -0,0 +1,100 @@
1
+ /* Round 633 — edge-badge CIRCLE joins the hot-pulse family at the
2
+ * geometric axis. SMIL stroke-width 2 ↔ 2.5 over 3s ease-in-out,
3
+ * gated `isHot && !reducedMotion`. In lockstep with R632 digit
4
+ * opacity pulse. 3rd anchor in hot-pulse family.
5
+ *
6
+ * Test phases:
7
+ * 1. cold edge (mock 3 messages) → no hot-pulse, sw=1.25 attr
8
+ * doesn't exist as SMIL animate child
9
+ * 2. hot edge (mock 12 messages) → SMIL animate child present
10
+ * with attributeName='stroke-width', values='2;2.5;2',
11
+ * dur='3s', calcMode='spline'
12
+ * 3. hot-pulse attr === 'on' on hot edge
13
+ * 4. source: SMIL animate gated on `isHot && !reducedMotion`,
14
+ * stroke-width values='2;2.5;2' explicit
15
+ */
16
+ import { chromium } from 'playwright';
17
+ import { readFileSync } from 'node:fs';
18
+
19
+ const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
20
+ const fresh = new Date(Date.now() - 60 * 1000).toISOString();
21
+
22
+ const browser = await chromium.launch({ headless: true });
23
+ const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
24
+ await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
25
+ await ctx.addInitScript(() => {
26
+ try {
27
+ localStorage.setItem('anet-theme', 'cyber');
28
+ localStorage.setItem('anet-topo-layout', 'ring');
29
+ sessionStorage.setItem('anet_v3_auth', '1');
30
+ } catch {}
31
+ });
32
+ await ctx.route('**/api/hub/status*', async (route) => {
33
+ const r = await route.fetch();
34
+ const b = await r.json();
35
+ const nid = (b.sessions || [])[0]?.network_id || 'default';
36
+ const mk = (alias) => ({
37
+ alias, status: 'idle', model: 'claude-opus-4', runtime: 'claude-code-cli',
38
+ network_id: nid, project_dir: null,
39
+ created_at: fresh, updated_at: fresh, last_seen_at: fresh,
40
+ });
41
+ await route.fulfill({ response: r, json: { ...b, sessions: [mk('a·1'), mk('a·2')] } });
42
+ });
43
+ // 12 messages → isHot (count ≥ 10 threshold)
44
+ await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages:
45
+ Array.from({ length: 12 }, (_, i) => ({
46
+ from_alias: 'a·1', to_alias: 'a·2', content: `msg-${i}`, created_at: fresh,
47
+ }))
48
+ } }));
49
+ await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
50
+ const page = await ctx.newPage();
51
+ await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
52
+ await page.waitForSelector('[data-edge-badge-hot-pulse]', { timeout: 15000, state: 'attached' });
53
+ await page.waitForTimeout(500);
54
+
55
+ const hot = await page.evaluate(() => {
56
+ const el = document.querySelector('[data-edge-badge-hot-pulse="on"]');
57
+ if (!el) return null;
58
+ const animates = Array.from(el.querySelectorAll('animate'));
59
+ return {
60
+ hotPulseAttr: el.getAttribute('data-edge-badge-hot-pulse'),
61
+ glowAttr: el.getAttribute('data-edge-badge-glow'),
62
+ strokeWidthAttr: el.getAttribute('stroke-width'),
63
+ animateCount: animates.length,
64
+ animateAttrs: animates.map(a => ({
65
+ attr: a.getAttribute('attributeName'),
66
+ dur: a.getAttribute('dur'),
67
+ vals: a.getAttribute('values'),
68
+ calc: a.getAttribute('calcMode'),
69
+ spl: a.getAttribute('keySplines'),
70
+ rep: a.getAttribute('repeatCount'),
71
+ })),
72
+ };
73
+ });
74
+
75
+ await browser.close();
76
+
77
+ const src = readFileSync('/home/vansin/agent-network-dashboard/app/components/TopoGraph.tsx', 'utf8');
78
+ const sourceAnimate = /\{isHot && !reducedMotion && \(\s*<animate\s+attributeName="stroke-width"\s+values="2;2\.5;2"\s+dur="3s"\s+calcMode="spline"\s+keyTimes="0;0\.5;1"\s+keySplines="0\.42 0 0\.58 1;0\.42 0 0\.58 1"\s+repeatCount="indefinite"\s*\/>\s*\)\}/.test(src);
79
+ const sourceAttr = /data-edge-badge-hot-pulse=\{isHot && !reducedMotion \? 'on' : 'off'\}/.test(src);
80
+
81
+ const swAnimate = hot?.animateAttrs?.find(a => a.attr === 'stroke-width');
82
+ const results = {
83
+ hot_circle_present: !!hot,
84
+ hot_pulse_attr_on: hot?.hotPulseAttr === 'on',
85
+ hot_glow_amber: hot?.glowAttr === 'hot',
86
+ hot_has_smil_sw: swAnimate != null,
87
+ hot_sw_values: swAnimate?.vals === '2;2.5;2',
88
+ hot_sw_dur_3s: swAnimate?.dur === '3s',
89
+ hot_sw_calc_spline: swAnimate?.calc === 'spline',
90
+ hot_sw_spline_ease: swAnimate?.spl === '0.42 0 0.58 1;0.42 0 0.58 1',
91
+ hot_sw_rep_indef: swAnimate?.rep === 'indefinite',
92
+ hot_attr_sw_2: hot?.strokeWidthAttr === '2',
93
+ source_smil_gated: sourceAnimate,
94
+ source_attr_gated: sourceAttr,
95
+ };
96
+ const ok = Object.values(results).every(Boolean);
97
+ console.log(`${ok ? '✅' : '❌'} R633 edge-badge CIRCLE hot-pulse stroke-width breath (3rd hot-pulse anchor):`,
98
+ JSON.stringify(results, null, 2),
99
+ `\n hot: ${JSON.stringify(hot)}`);
100
+ process.exit(ok ? 0 : 1);
@@ -0,0 +1,107 @@
1
+ /* Round 672 — edge-badge DIGIT text extends single-axis brightness
2
+ * across a unified 4-condition gate to the SAME two-branch multi-
3
+ * layer halo pattern as R646 edge-badge CIRCLE. Cyan branch (hover/
4
+ * pin/endpoint) uses pal.legendAccent; amber branch (hot-only) uses
5
+ * hotStroke. Both at 2+4 stride (text scale, matches R645). Edge-
6
+ * badge circle (R646) + digit (R672) now emit halo in lockstep on
7
+ * edge attention. 31st anchor in family.
8
+ *
9
+ * Source assertions:
10
+ * - cyan branch: pal.legendAccent 80/40 with 2+4 stride
11
+ * - amber branch: hotStroke 80/40 with 2+4 stride
12
+ * - halo-layers + halo-branch data attrs reflect runtime state
13
+ */
14
+ import { chromium } from 'playwright';
15
+ import { readFileSync } from 'node:fs';
16
+
17
+ const TOKEN = JSON.parse(readFileSync('/home/vansin/.anet/config.json', 'utf8')).token;
18
+ const fresh = new Date(Date.now() - 60 * 1000).toISOString();
19
+
20
+ const browser = await chromium.launch({ headless: true });
21
+ const ctx = await browser.newContext({ viewport: { width: 1500, height: 1200 } });
22
+ await ctx.addCookies([{ name: 'anet_dashboard_session', value: `v3:${TOKEN}`, domain: '127.0.0.1', path: '/' }]);
23
+ await ctx.addInitScript(() => {
24
+ try {
25
+ localStorage.setItem('anet-theme', 'cyber');
26
+ localStorage.setItem('anet-topo-layout', 'ring');
27
+ sessionStorage.setItem('anet_v3_auth', '1');
28
+ } catch {}
29
+ });
30
+ await ctx.route('**/api/hub/status*', async (route) => {
31
+ const r = await route.fetch();
32
+ const b = await r.json();
33
+ const nid = (b.sessions || [])[0]?.network_id || 'default';
34
+ const mk = (alias) => ({
35
+ alias, status: 'working', model: 'claude-opus-4', runtime: 'claude-code-cli',
36
+ network_id: nid, project_dir: null,
37
+ created_at: fresh, updated_at: fresh, last_seen_at: fresh,
38
+ });
39
+ await route.fulfill({ response: r, json: { ...b, sessions: [
40
+ mk('a·1'), mk('a·2'), mk('a·3'), mk('a·4'),
41
+ ] } });
42
+ });
43
+ // 12 messages between a·1 ↔ a·2 — enough to push edge into "hot" state
44
+ // (~10 messages in window). Other edges stay non-hot.
45
+ const HOT_PAIR = [['a·1', 'a·2']];
46
+ const COLD_PAIRS = [['a·3', 'a·4']];
47
+ await ctx.route('**/api/hub/messages*', (r) => r.fulfill({ json: { messages: [
48
+ ...Array.from({ length: 12 }, (_, i) => ({
49
+ id: `hot${i}`,
50
+ from_alias: HOT_PAIR[0][i % 2],
51
+ to_alias: HOT_PAIR[0][(i + 1) % 2],
52
+ kind: 'task', content: `hot ${i}`,
53
+ network_id: 'default', created_at: fresh,
54
+ })),
55
+ ...Array.from({ length: 2 }, (_, i) => ({
56
+ id: `cold${i}`,
57
+ from_alias: COLD_PAIRS[0][i % 2],
58
+ to_alias: COLD_PAIRS[0][(i + 1) % 2],
59
+ kind: 'message', content: `cold ${i}`,
60
+ network_id: 'default', created_at: fresh,
61
+ })),
62
+ ] } }));
63
+ await ctx.route('**/api/hub/tasks*', (r) => r.fulfill({ json: { tasks: [] } }));
64
+ const page = await ctx.newPage();
65
+ await page.goto('http://127.0.0.1:3000/', { waitUntil: 'networkidle' });
66
+ await page.waitForSelector('[data-edge-badge-digit-halo-layers]', { timeout: 15000, state: 'attached' });
67
+ await page.waitForTimeout(500);
68
+
69
+ const restState = await page.evaluate(() => {
70
+ return Array.from(document.querySelectorAll('[data-edge-badge-digit-halo-layers]')).map(el => ({
71
+ layers: el.getAttribute('data-edge-badge-digit-halo-layers'),
72
+ branch: el.getAttribute('data-edge-badge-digit-halo-branch'),
73
+ }));
74
+ });
75
+
76
+ await browser.close();
77
+
78
+ const src = readFileSync('/home/vansin/agent-network-dashboard/app/components/TopoGraph.tsx', 'utf8');
79
+ const sourceCyanFilter = /\(isHoveredEdge \|\| isPinned \|\| isEndpointHoveredEdge\)\s+\?\s+`drop-shadow\(0 0 2px \$\{pal\.legendAccent\}80\) drop-shadow\(0 0 4px \$\{pal\.legendAccent\}40\) brightness\(1\.15\)`/.test(src);
80
+ const sourceAmberFilter = /isHot\s+\?\s+`drop-shadow\(0 0 2px \$\{hotStroke\}80\) drop-shadow\(0 0 4px \$\{hotStroke\}40\) brightness\(1\.15\)`/.test(src);
81
+ const sourceLayersAttr = /data-edge-badge-digit-halo-layers=\{\(isHoveredEdge \|\| isPinned \|\| isEndpointHoveredEdge \|\| isHot\) \? '2' : '0'\}/.test(src);
82
+ const sourceBranchAttr = /data-edge-badge-digit-halo-branch=\{[\s\S]*?\(isHoveredEdge \|\| isPinned \|\| isEndpointHoveredEdge\) \? 'cyan'[\s\S]*?: isHot \? 'amber'[\s\S]*?: 'none'/.test(src);
83
+
84
+ // Logical invariant at rest: branch='none' ↔ layers='0', and any non-none
85
+ // branch must have layers='2'. Don't pin to specific message-rate thresholds
86
+ // (those vary with mock data) — verify the cyan↔amber↔none gate consistency
87
+ // at every edge digit instead.
88
+ const allConsistent = restState.every(e =>
89
+ (e.branch === 'none' && e.layers === '0') ||
90
+ ((e.branch === 'cyan' || e.branch === 'amber') && e.layers === '2')
91
+ );
92
+ const hasNoneAtRest = restState.some(e => e.branch === 'none' && e.layers === '0');
93
+
94
+ const results = {
95
+ digits_present: restState.length >= 2,
96
+ rest_gate_consistent: allConsistent,
97
+ has_none_at_rest: hasNoneAtRest,
98
+ source_cyan_filter: sourceCyanFilter,
99
+ source_amber_filter: sourceAmberFilter,
100
+ source_layers_attr: sourceLayersAttr,
101
+ source_branch_attr: sourceBranchAttr,
102
+ };
103
+ const ok = Object.values(results).every(Boolean);
104
+ console.log(`${ok ? '✅' : '❌'} R672 edge-badge digit multi-layer halo (2-branch lockstep w/ R646 circle):`,
105
+ JSON.stringify(results, null, 2),
106
+ `\n rest: ${JSON.stringify(restState)}`);
107
+ process.exit(ok ? 0 : 1);