@jheavenknows/bluerouter 5.3.48 → 5.3.49

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 (1051) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +10 -7
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/prerender-manifest.json +59 -31
  5. package/app/.next-cli-build/routes-manifest.json +18 -0
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/ai-power-index/page.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/ai-power-index/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page.js +2 -2
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/api-keys/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/audit-proxy/page.js +5 -0
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/audit-proxy/page.js.nft.json +1 -0
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/audit-proxy/page_client-reference-manifest.js +1 -0
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/model-profiles/page.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/model-profiles/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cluster/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/local-ai-report/page.js +2 -2
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/local-ai-report/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovider/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalcloudprovidermonitor/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/personalquota/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/prompt-logs/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/provider-health/page_client-reference-manifest.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/resource-monitor/page_client-reference-manifest.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-topology/page.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-topology/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page.js +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  85. package/app/.next-cli-build/server/app/_global-error/page.js +1 -1
  86. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  88. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  89. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  90. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  91. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  92. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  93. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  94. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  95. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  96. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  97. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +6 -6
  98. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  99. package/app/.next-cli-build/server/app/api/audit-proxy/ca/route.js +18 -0
  100. package/app/.next-cli-build/server/app/api/audit-proxy/ca/route.js.nft.json +1 -0
  101. package/app/.next-cli-build/server/app/api/audit-proxy/ca/route_client-reference-manifest.js +1 -0
  102. package/app/.next-cli-build/server/app/api/audit-proxy/route.js +38 -0
  103. package/app/.next-cli-build/server/app/api/audit-proxy/route.js.nft.json +1 -0
  104. package/app/.next-cli-build/server/app/api/audit-proxy/route_client-reference-manifest.js +1 -0
  105. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/ldap/test/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/ldap/users/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/login/route.js +2 -2
  110. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/view-mode/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/view-mode/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/branding/[asset]/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/branding/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/branding/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/branding/upload/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/branding/upload/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-model-profiles/cloud-models/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-model-profiles/cloud-models/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-model-profiles/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-model-profiles/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  134. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  136. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/autostart/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js +2 -2
  140. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/prompt-log-db/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/root-ca/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  146. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  151. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  155. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  156. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  157. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  158. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  160. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/qwen-settings/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/cluster/config/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/cluster/config/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cluster/heartbeat/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/cluster/heartbeat/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/command/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/command/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/cluster/peers/[id]/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/cluster/peers/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/cluster/peers/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/cluster/snapshot/route.js +2 -2
  173. package/app/.next-cli-build/server/app/api/cluster/snapshot/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/cluster/sync/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/cluster/sync/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/cluster/test/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/cluster/test/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +2 -2
  179. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/dashboard/ai-power-index/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/dashboard/ai-power-index/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/dashboard/analytics/ai-models/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/dashboard/analytics/ai-models/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/dashboard/analytics/analyze/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/dashboard/analytics/analyze/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/dashboard/analytics/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/dashboard/combos/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/dashboard/endpoint/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/dashboard/local-ai-report/route.js +2 -2
  195. package/app/.next-cli-build/server/app/api/dashboard/local-ai-report/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/[id]/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/options/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/dashboard/prompt-logs/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/dashboard/routing-topology/config/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/dashboard/routing-topology/config/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/dashboard/routing-topology/live/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/dashboard/routing-topology/live/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/dashboard/routing-topology/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/dashboard/routing-topology/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/dashboard/token-saver/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/keys/[id]/caveman-test/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/keys/route.js +2 -2
  219. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  224. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  251. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/grok-cli/device-code/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/grok-cli/device-code/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/grok-cli/poll/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/grok-cli/poll/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/api-key-models/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/import-models/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/move/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/move/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/personal-cloud-providers/[id]/usage/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/personal-cloud-providers/client/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/personal-cloud-providers/monitor/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/personal-cloud-providers/permissions/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/personal-cloud-providers/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/personal-cloud-providers/routing/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/personal-cloud-providers/shares/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/personal-cloud-providers/shares/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/personal-cloud-providers/visibility/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/personal-cloud-providers/visibility/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/pricing/catalog/route.js +2 -2
  295. package/app/.next-cli-build/server/app/api/pricing/catalog/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/pricing/recalculate/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/provider-health/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/provider-health/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/provider-nodes/openai-compatible/manage/route.js +1 -1
  305. package/app/.next-cli-build/server/app/api/provider-nodes/openai-compatible/manage/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  307. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  309. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  332. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  334. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  338. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/resource-monitor/[id]/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/resource-monitor/ai-models/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/resource-monitor/ai-models/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/resource-monitor/analyze/route.js +2 -2
  344. package/app/.next-cli-build/server/app/api/resource-monitor/analyze/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/resource-monitor/history/route.js +2 -2
  346. package/app/.next-cli-build/server/app/api/resource-monitor/history/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/resource-monitor/route.js +2 -2
  348. package/app/.next-cli-build/server/app/api/resource-monitor/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/settings/route.js +2 -2
  355. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  357. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  359. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  360. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  361. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  365. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  367. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  373. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  379. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/tunnel/tailscale-login/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/tunnel/tailscale-start-daemon/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  393. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  399. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  432. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  433. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  434. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/api/version/restart/route.js +1 -1
  436. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  438. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  439. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  440. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  441. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  442. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  443. package/app/.next-cli-build/server/app/callback.html +1 -1
  444. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  445. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  446. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  447. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +6 -6
  448. package/app/.next-cli-build/server/app/dashboard/ai-power-index.html +1 -1
  449. package/app/.next-cli-build/server/app/dashboard/ai-power-index.rsc +7 -7
  450. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/!KGRhc2hib2FyZCk/dashboard/ai-power-index/__PAGE__.segment.rsc +7 -7
  451. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/_full.segment.rsc +7 -7
  452. package/app/.next-cli-build/server/app/dashboard/ai-power-index.segments/_tree.segment.rsc +2 -2
  453. package/app/.next-cli-build/server/app/dashboard/api-keys.html +1 -1
  454. package/app/.next-cli-build/server/app/dashboard/api-keys.rsc +10 -10
  455. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/!KGRhc2hib2FyZCk/dashboard/api-keys/__PAGE__.segment.rsc +10 -10
  456. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_full.segment.rsc +10 -10
  457. package/app/.next-cli-build/server/app/dashboard/api-keys.segments/_tree.segment.rsc +2 -2
  458. package/app/.next-cli-build/server/app/dashboard/audit-proxy.html +1 -0
  459. package/app/.next-cli-build/server/app/dashboard/audit-proxy.meta +36 -0
  460. package/app/.next-cli-build/server/app/dashboard/audit-proxy.rsc +25 -0
  461. package/app/.next-cli-build/server/app/dashboard/audit-proxy.segments/!KGRhc2hib2FyZCk/dashboard/audit-proxy/__PAGE__.segment.rsc +32 -0
  462. package/app/.next-cli-build/server/app/dashboard/audit-proxy.segments/_full.segment.rsc +25 -0
  463. package/app/.next-cli-build/server/app/dashboard/audit-proxy.segments/_tree.segment.rsc +4 -0
  464. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  465. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +8 -8
  466. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +8 -8
  467. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +8 -8
  468. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  469. package/app/.next-cli-build/server/app/dashboard/cli-tools/model-profiles.html +1 -1
  470. package/app/.next-cli-build/server/app/dashboard/cli-tools/model-profiles.rsc +8 -8
  471. package/app/.next-cli-build/server/app/dashboard/cli-tools/model-profiles.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/model-profiles/__PAGE__.segment.rsc +8 -8
  472. package/app/.next-cli-build/server/app/dashboard/cli-tools/model-profiles.segments/_full.segment.rsc +8 -8
  473. package/app/.next-cli-build/server/app/dashboard/cli-tools/model-profiles.segments/_tree.segment.rsc +2 -2
  474. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  475. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +8 -8
  476. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +8 -8
  477. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
  478. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  479. package/app/.next-cli-build/server/app/dashboard/cluster.html +1 -1
  480. package/app/.next-cli-build/server/app/dashboard/cluster.rsc +7 -7
  481. package/app/.next-cli-build/server/app/dashboard/cluster.segments/!KGRhc2hib2FyZCk/dashboard/cluster/__PAGE__.segment.rsc +7 -7
  482. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_full.segment.rsc +7 -7
  483. package/app/.next-cli-build/server/app/dashboard/cluster.segments/_tree.segment.rsc +2 -2
  484. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  485. package/app/.next-cli-build/server/app/dashboard/combos.rsc +8 -8
  486. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +8 -8
  487. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
  488. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  489. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  490. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +8 -8
  491. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +8 -8
  492. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
  493. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  494. package/app/.next-cli-build/server/app/dashboard/local-ai-report.html +1 -1
  495. package/app/.next-cli-build/server/app/dashboard/local-ai-report.rsc +7 -7
  496. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/!KGRhc2hib2FyZCk/dashboard/local-ai-report/__PAGE__.segment.rsc +7 -7
  497. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/_full.segment.rsc +7 -7
  498. package/app/.next-cli-build/server/app/dashboard/local-ai-report.segments/_tree.segment.rsc +2 -2
  499. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  500. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +8 -8
  501. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +8 -8
  502. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +8 -8
  503. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  504. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  505. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +8 -8
  506. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +8 -8
  507. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
  508. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  509. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/profile.rsc +8 -8
  511. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +8 -8
  512. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
  513. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  514. package/app/.next-cli-build/server/app/dashboard/prompt-logs.html +1 -1
  515. package/app/.next-cli-build/server/app/dashboard/prompt-logs.rsc +7 -7
  516. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/!KGRhc2hib2FyZCk/dashboard/prompt-logs/__PAGE__.segment.rsc +7 -7
  517. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_full.segment.rsc +7 -7
  518. package/app/.next-cli-build/server/app/dashboard/prompt-logs.segments/_tree.segment.rsc +2 -2
  519. package/app/.next-cli-build/server/app/dashboard/provider-health.html +1 -1
  520. package/app/.next-cli-build/server/app/dashboard/provider-health.rsc +7 -7
  521. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/!KGRhc2hib2FyZCk/dashboard/provider-health/__PAGE__.segment.rsc +7 -7
  522. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_full.segment.rsc +7 -7
  523. package/app/.next-cli-build/server/app/dashboard/provider-health.segments/_tree.segment.rsc +2 -2
  524. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  525. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +8 -8
  526. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +8 -8
  527. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
  528. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  529. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  530. package/app/.next-cli-build/server/app/dashboard/providers.rsc +8 -8
  531. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +8 -8
  532. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
  533. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  534. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  535. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +8 -8
  536. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +8 -8
  537. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
  538. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  539. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  540. package/app/.next-cli-build/server/app/dashboard/quota.rsc +9 -9
  541. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +9 -9
  542. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
  543. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  544. package/app/.next-cli-build/server/app/dashboard/resource-monitor.html +1 -1
  545. package/app/.next-cli-build/server/app/dashboard/resource-monitor.rsc +7 -7
  546. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/!KGRhc2hib2FyZCk/dashboard/resource-monitor/__PAGE__.segment.rsc +7 -7
  547. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_full.segment.rsc +7 -7
  548. package/app/.next-cli-build/server/app/dashboard/resource-monitor.segments/_tree.segment.rsc +2 -2
  549. package/app/.next-cli-build/server/app/dashboard/routing-topology.html +1 -1
  550. package/app/.next-cli-build/server/app/dashboard/routing-topology.rsc +7 -7
  551. package/app/.next-cli-build/server/app/dashboard/routing-topology.segments/!KGRhc2hib2FyZCk/dashboard/routing-topology/__PAGE__.segment.rsc +7 -7
  552. package/app/.next-cli-build/server/app/dashboard/routing-topology.segments/_full.segment.rsc +7 -7
  553. package/app/.next-cli-build/server/app/dashboard/routing-topology.segments/_tree.segment.rsc +2 -2
  554. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  555. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +7 -7
  556. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/!KGRhc2hib2FyZCk/dashboard/settings/pricing/__PAGE__.segment.rsc +7 -7
  557. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +7 -7
  558. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  559. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  560. package/app/.next-cli-build/server/app/dashboard/skills.rsc +8 -8
  561. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +8 -8
  562. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
  563. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  564. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  565. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +7 -7
  566. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +7 -7
  567. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +7 -7
  568. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  569. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  570. package/app/.next-cli-build/server/app/dashboard/translator.rsc +8 -8
  571. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +8 -8
  572. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +8 -8
  573. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  574. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  575. package/app/.next-cli-build/server/app/dashboard/usage.rsc +8 -8
  576. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +8 -8
  577. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
  578. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  579. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  580. package/app/.next-cli-build/server/app/dashboard.rsc +8 -8
  581. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +8 -8
  582. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +8 -8
  583. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  584. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  585. package/app/.next-cli-build/server/app/index.html +1 -1
  586. package/app/.next-cli-build/server/app/index.rsc +6 -6
  587. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +6 -6
  588. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  589. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  590. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  591. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  592. package/app/.next-cli-build/server/app/landing.html +1 -1
  593. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  594. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  595. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  596. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
  597. package/app/.next-cli-build/server/app/login/page.js +1 -1
  598. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  599. package/app/.next-cli-build/server/app/login.html +1 -1
  600. package/app/.next-cli-build/server/app/login.rsc +7 -7
  601. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  602. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  603. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +7 -7
  604. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  605. package/app/.next-cli-build/server/app/page.js +1 -1
  606. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  607. package/app/.next-cli-build/server/app-paths-manifest.json +10 -7
  608. package/app/.next-cli-build/server/chunks/2566.js +2 -2
  609. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  610. package/app/.next-cli-build/server/chunks/5210.js +3 -3
  611. package/app/.next-cli-build/server/chunks/6108.js +1 -1
  612. package/app/.next-cli-build/server/chunks/6328.js +1 -1
  613. package/app/.next-cli-build/server/chunks/6811.js +1 -1
  614. package/app/.next-cli-build/server/chunks/6992.js +1 -1
  615. package/app/.next-cli-build/server/chunks/7639.js +1 -1
  616. package/app/.next-cli-build/server/chunks/8352.js +2 -2
  617. package/app/.next-cli-build/server/chunks/8946.js +2 -2
  618. package/app/.next-cli-build/server/functions-config-manifest.json +2 -0
  619. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  620. package/app/.next-cli-build/server/middleware.js +1 -1
  621. package/app/.next-cli-build/server/pages/404.html +1 -1
  622. package/app/.next-cli-build/server/pages/500.html +1 -1
  623. package/app/.next-cli-build/server/prefetch-hints.json +24 -0
  624. package/app/.next-cli-build/static/L_h01kCNsdvHq-NfbF9cq/_buildManifest.js +1 -0
  625. package/app/.next-cli-build/static/chunks/{5263-f47fd0ac870aa682.js → 5263-4d0783ef24c50911.js} +1 -1
  626. package/app/.next-cli-build/static/chunks/7050-a706e6827db952b3.js +1 -0
  627. package/app/.next-cli-build/static/chunks/8500-01a63dafd809e317.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/api-keys/{page-653c30e1cfc826ad.js → page-a979b53a0e095564.js} +1 -1
  629. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/audit-proxy/page-3f3d666087630a55.js +5 -0
  630. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-756885e39ef00c20.js → page-65c05edc9521c8fc.js} +1 -1
  631. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-1b504e40c85200fe.js → page-0193441bced46de6.js} +1 -1
  632. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/model-profiles/{page-08c194e770f52b58.js → page-7844bf2031454b1c.js} +1 -1
  633. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-5ee83aae55928333.js → page-fd337e41209f4b90.js} +1 -1
  634. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/{page-4639baaf9071ffff.js → page-7f613428dc68ec6e.js} +1 -1
  635. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-c06fac9001a0ff2b.js → page-cc31ec395c8b0116.js} +1 -1
  636. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/{page-7e360930d0ecbe91.js → page-fb3cdf0c2e7742b6.js} +1 -1
  637. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-5016b3d6e5295239.js → page-12700e16781ed896.js} +1 -1
  638. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-82071dc65929d1a2.js → page-f1b6603d564d76e3.js} +1 -1
  639. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-db01b84cc209b4f9.js → page-50c464dc6ec10d2f.js} +1 -1
  640. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-700b671f2e833c31.js → page-82923ad2695bf65f.js} +1 -1
  641. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-054e65328f040baf.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/{page-7e360930d0ecbe91.js → page-fb3cdf0c2e7742b6.js} +1 -1
  643. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/personalcloudprovider/{layout-83fbe505bfd1d46f.js → layout-b6944f78d9c0e80c.js} +1 -1
  644. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/personalcloudprovider/{page-2e31214e45dd5dd7.js → page-89759854090658c5.js} +1 -1
  645. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/personalcloudprovidermonitor/{page-8e723a2203914aed.js → page-ae4159241f66d5fa.js} +1 -1
  646. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-007560f58f9ba8fd.js → page-6c370ee99bad6882.js} +1 -1
  647. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-8619c99c9e76cc49.js → page-951afd9955093a68.js} +1 -1
  648. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-c4bf38103d1317a3.js → page-b264785b8e695d7a.js} +1 -1
  649. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-97e8bd5381f6b48c.js → page-983bcf0c76f9029e.js} +1 -1
  650. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-44cf1f0d3d57fab2.js → page-fafe439299f350bf.js} +1 -1
  651. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/{page-23ecefa1f8d06ab3.js → page-a05ac739ed8f8677.js} +1 -1
  652. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-a96f92cdf7ccaa92.js → page-59d8a02c13292a77.js} +1 -1
  653. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-dc2a0d576213c24f.js → page-9eaf4a3d688f4243.js} +1 -1
  654. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-e814d95a2e7f4fe2.js → page-b4ab0d22383a8303.js} +1 -1
  655. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-bb6fdba0137a6272.js → layout-43b9cc22f69b564c.js} +1 -1
  656. package/app/.next-cli-build/static/chunks/app/_global-error/page-f5efd20f46cedab1.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/audit-proxy/ca/route-f5efd20f46cedab1.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/audit-proxy/route-f5efd20f46cedab1.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/test/route-f5efd20f46cedab1.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/users/route-f5efd20f46cedab1.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-f5efd20f46cedab1.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-f5efd20f46cedab1.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-f5efd20f46cedab1.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-f5efd20f46cedab1.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-f5efd20f46cedab1.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-f5efd20f46cedab1.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/auth/view-mode/route-f5efd20f46cedab1.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/branding/[asset]/route-f5efd20f46cedab1.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/branding/route-f5efd20f46cedab1.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/branding/upload/route-f5efd20f46cedab1.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/cli-model-profiles/cloud-models/route-f5efd20f46cedab1.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/cli-model-profiles/route-f5efd20f46cedab1.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-f5efd20f46cedab1.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-f5efd20f46cedab1.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/autostart/route-f5efd20f46cedab1.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/prompt-log-db/route-f5efd20f46cedab1.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/root-ca/route-f5efd20f46cedab1.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-f5efd20f46cedab1.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-f5efd20f46cedab1.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-f5efd20f46cedab1.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-f5efd20f46cedab1.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-f5efd20f46cedab1.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-f5efd20f46cedab1.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-f5efd20f46cedab1.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-f5efd20f46cedab1.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-f5efd20f46cedab1.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-f5efd20f46cedab1.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-f5efd20f46cedab1.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-f5efd20f46cedab1.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-f5efd20f46cedab1.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-f5efd20f46cedab1.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-f5efd20f46cedab1.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/cli-tools/qwen-settings/route-f5efd20f46cedab1.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/cluster/config/route-f5efd20f46cedab1.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/cluster/heartbeat/route-f5efd20f46cedab1.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/command/route-f5efd20f46cedab1.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/route-f5efd20f46cedab1.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/route-f5efd20f46cedab1.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/cluster/snapshot/route-f5efd20f46cedab1.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/cluster/sync/route-f5efd20f46cedab1.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/cluster/test/route-f5efd20f46cedab1.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-f5efd20f46cedab1.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/combos/route-f5efd20f46cedab1.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/dashboard/ai-power-index/route-f5efd20f46cedab1.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/ai-models/route-f5efd20f46cedab1.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/analyze/route-f5efd20f46cedab1.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/route-f5efd20f46cedab1.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/dashboard/combos/route-f5efd20f46cedab1.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/dashboard/endpoint/route-f5efd20f46cedab1.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/dashboard/local-ai-report/route-f5efd20f46cedab1.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/[id]/route-f5efd20f46cedab1.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/options/route-f5efd20f46cedab1.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/route-f5efd20f46cedab1.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/dashboard/routing-topology/config/route-f5efd20f46cedab1.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/dashboard/routing-topology/live/route-f5efd20f46cedab1.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/dashboard/routing-topology/route-f5efd20f46cedab1.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/dashboard/token-saver/route-f5efd20f46cedab1.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/health/route-f5efd20f46cedab1.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/init/route-f5efd20f46cedab1.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/caveman-test/route-f5efd20f46cedab1.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-f5efd20f46cedab1.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-f5efd20f46cedab1.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/keys/route-f5efd20f46cedab1.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/locale/route-f5efd20f46cedab1.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-f5efd20f46cedab1.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-f5efd20f46cedab1.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-f5efd20f46cedab1.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-f5efd20f46cedab1.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-f5efd20f46cedab1.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-f5efd20f46cedab1.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-f5efd20f46cedab1.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-f5efd20f46cedab1.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-f5efd20f46cedab1.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-f5efd20f46cedab1.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-f5efd20f46cedab1.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/models/route-f5efd20f46cedab1.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/models/test/route-f5efd20f46cedab1.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-f5efd20f46cedab1.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-f5efd20f46cedab1.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-f5efd20f46cedab1.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-f5efd20f46cedab1.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-f5efd20f46cedab1.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/device-code/route-f5efd20f46cedab1.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/poll/route-f5efd20f46cedab1.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-f5efd20f46cedab1.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-f5efd20f46cedab1.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-f5efd20f46cedab1.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-f5efd20f46cedab1.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-f5efd20f46cedab1.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/api-key-models/route-f5efd20f46cedab1.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/import-models/route-f5efd20f46cedab1.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route-f5efd20f46cedab1.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/move/route-f5efd20f46cedab1.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/route-f5efd20f46cedab1.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/usage/route-f5efd20f46cedab1.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/client/route-f5efd20f46cedab1.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/monitor/route-f5efd20f46cedab1.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/permissions/route-f5efd20f46cedab1.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/route-f5efd20f46cedab1.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/routing/route-f5efd20f46cedab1.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/shares/route-f5efd20f46cedab1.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/visibility/route-f5efd20f46cedab1.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/pricing/catalog/route-f5efd20f46cedab1.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/pricing/recalculate/route-f5efd20f46cedab1.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/pricing/route-f5efd20f46cedab1.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/provider-health/route-f5efd20f46cedab1.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-f5efd20f46cedab1.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/openai-compatible/manage/route-f5efd20f46cedab1.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-f5efd20f46cedab1.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-f5efd20f46cedab1.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-f5efd20f46cedab1.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-f5efd20f46cedab1.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-f5efd20f46cedab1.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-f5efd20f46cedab1.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-f5efd20f46cedab1.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-f5efd20f46cedab1.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/providers/route-f5efd20f46cedab1.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-f5efd20f46cedab1.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-f5efd20f46cedab1.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-f5efd20f46cedab1.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-f5efd20f46cedab1.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-f5efd20f46cedab1.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-f5efd20f46cedab1.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-f5efd20f46cedab1.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-f5efd20f46cedab1.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-f5efd20f46cedab1.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/[id]/route-f5efd20f46cedab1.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/ai-models/route-f5efd20f46cedab1.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/analyze/route-f5efd20f46cedab1.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/history/route-f5efd20f46cedab1.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/route-f5efd20f46cedab1.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-f5efd20f46cedab1.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-f5efd20f46cedab1.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-f5efd20f46cedab1.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/settings/route-f5efd20f46cedab1.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-f5efd20f46cedab1.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/tags/route-f5efd20f46cedab1.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-f5efd20f46cedab1.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-f5efd20f46cedab1.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-f5efd20f46cedab1.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-f5efd20f46cedab1.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-f5efd20f46cedab1.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-f5efd20f46cedab1.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-f5efd20f46cedab1.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-f5efd20f46cedab1.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-f5efd20f46cedab1.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-f5efd20f46cedab1.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-f5efd20f46cedab1.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-f5efd20f46cedab1.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-f5efd20f46cedab1.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-login/route-f5efd20f46cedab1.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-start-daemon/route-f5efd20f46cedab1.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-f5efd20f46cedab1.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-f5efd20f46cedab1.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-f5efd20f46cedab1.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-f5efd20f46cedab1.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-f5efd20f46cedab1.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-f5efd20f46cedab1.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-f5efd20f46cedab1.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-f5efd20f46cedab1.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-f5efd20f46cedab1.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-f5efd20f46cedab1.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-f5efd20f46cedab1.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-f5efd20f46cedab1.js +1 -0
  825. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-f5efd20f46cedab1.js +1 -0
  826. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-f5efd20f46cedab1.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-f5efd20f46cedab1.js +1 -0
  828. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-f5efd20f46cedab1.js +1 -0
  829. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-f5efd20f46cedab1.js +1 -0
  830. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-f5efd20f46cedab1.js +1 -0
  831. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-f5efd20f46cedab1.js +1 -0
  832. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-f5efd20f46cedab1.js +1 -0
  833. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-f5efd20f46cedab1.js +1 -0
  834. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-f5efd20f46cedab1.js +1 -0
  835. package/app/.next-cli-build/static/chunks/app/api/v1/route-f5efd20f46cedab1.js +1 -0
  836. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-f5efd20f46cedab1.js +1 -0
  837. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-f5efd20f46cedab1.js +1 -0
  838. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-f5efd20f46cedab1.js +1 -0
  839. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-f5efd20f46cedab1.js +1 -0
  840. package/app/.next-cli-build/static/chunks/app/api/version/restart/route-f5efd20f46cedab1.js +1 -0
  841. package/app/.next-cli-build/static/chunks/app/api/version/route-f5efd20f46cedab1.js +1 -0
  842. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-f5efd20f46cedab1.js +1 -0
  843. package/app/.next-cli-build/static/chunks/app/api/version/update/route-f5efd20f46cedab1.js +1 -0
  844. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-f5efd20f46cedab1.js +1 -0
  845. package/app/.next-cli-build/static/chunks/app/page-f5efd20f46cedab1.js +1 -0
  846. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-f5efd20f46cedab1.js +1 -0
  847. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-f5efd20f46cedab1.js +1 -0
  848. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-f5efd20f46cedab1.js +1 -0
  849. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-f5efd20f46cedab1.js +1 -0
  850. package/app/.next-cli-build/static/css/150584b47405f066.css +1 -0
  851. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/backups/{upgrade-5.3.41-to-5.3.43-5.3.43-20260822-131146 → upgrade-5.3.46-to-5.3.47-5.3.47-20260822-172255}/data.sqlite +0 -0
  852. package/app/cli/.build-home/AppData/Roaming/bluerouter/db/data.sqlite +0 -0
  853. package/app/package.json +1 -1
  854. package/package.json +1 -1
  855. package/app/.next-cli-build/static/MPowTRWuD2XApM5Ao4-yp/_buildManifest.js +0 -1
  856. package/app/.next-cli-build/static/chunks/1997-ec155690a9441b82.js +0 -1
  857. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-df910327664404cc.js +0 -1
  858. package/app/.next-cli-build/static/chunks/app/_global-error/page-1ae9897b4a00731e.js +0 -1
  859. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/test/route-1ae9897b4a00731e.js +0 -1
  860. package/app/.next-cli-build/static/chunks/app/api/auth/ldap/users/route-1ae9897b4a00731e.js +0 -1
  861. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-1ae9897b4a00731e.js +0 -1
  862. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-1ae9897b4a00731e.js +0 -1
  863. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-1ae9897b4a00731e.js +0 -1
  864. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-1ae9897b4a00731e.js +0 -1
  865. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-1ae9897b4a00731e.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-1ae9897b4a00731e.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/api/auth/view-mode/route-1ae9897b4a00731e.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/branding/[asset]/route-1ae9897b4a00731e.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/branding/route-1ae9897b4a00731e.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/branding/upload/route-1ae9897b4a00731e.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/cli-model-profiles/cloud-models/route-1ae9897b4a00731e.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/cli-model-profiles/route-1ae9897b4a00731e.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-1ae9897b4a00731e.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-1ae9897b4a00731e.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/autostart/route-1ae9897b4a00731e.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/prompt-log-db/route-1ae9897b4a00731e.js +0 -1
  877. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/root-ca/route-1ae9897b4a00731e.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-1ae9897b4a00731e.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-1ae9897b4a00731e.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-1ae9897b4a00731e.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-1ae9897b4a00731e.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-1ae9897b4a00731e.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-1ae9897b4a00731e.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-1ae9897b4a00731e.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-1ae9897b4a00731e.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-1ae9897b4a00731e.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-1ae9897b4a00731e.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-1ae9897b4a00731e.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-1ae9897b4a00731e.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-1ae9897b4a00731e.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-1ae9897b4a00731e.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-1ae9897b4a00731e.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/api/cli-tools/qwen-settings/route-1ae9897b4a00731e.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/api/cluster/config/route-1ae9897b4a00731e.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/api/cluster/heartbeat/route-1ae9897b4a00731e.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/command/route-1ae9897b4a00731e.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/[id]/route-1ae9897b4a00731e.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/api/cluster/peers/route-1ae9897b4a00731e.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/api/cluster/snapshot/route-1ae9897b4a00731e.js +0 -1
  900. package/app/.next-cli-build/static/chunks/app/api/cluster/sync/route-1ae9897b4a00731e.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/api/cluster/test/route-1ae9897b4a00731e.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-1ae9897b4a00731e.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/api/combos/route-1ae9897b4a00731e.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/api/dashboard/ai-power-index/route-1ae9897b4a00731e.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/ai-models/route-1ae9897b4a00731e.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/analyze/route-1ae9897b4a00731e.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/dashboard/analytics/route-1ae9897b4a00731e.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/dashboard/combos/route-1ae9897b4a00731e.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/dashboard/endpoint/route-1ae9897b4a00731e.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/dashboard/local-ai-report/route-1ae9897b4a00731e.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/[id]/route-1ae9897b4a00731e.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/options/route-1ae9897b4a00731e.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/api/dashboard/prompt-logs/route-1ae9897b4a00731e.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/api/dashboard/routing-topology/config/route-1ae9897b4a00731e.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/api/dashboard/routing-topology/live/route-1ae9897b4a00731e.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/api/dashboard/routing-topology/route-1ae9897b4a00731e.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/dashboard/token-saver/route-1ae9897b4a00731e.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/health/route-1ae9897b4a00731e.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/init/route-1ae9897b4a00731e.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/caveman-test/route-1ae9897b4a00731e.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-1ae9897b4a00731e.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-1ae9897b4a00731e.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/api/keys/route-1ae9897b4a00731e.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/api/locale/route-1ae9897b4a00731e.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-1ae9897b4a00731e.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-1ae9897b4a00731e.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-1ae9897b4a00731e.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-1ae9897b4a00731e.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-1ae9897b4a00731e.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-1ae9897b4a00731e.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-1ae9897b4a00731e.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-1ae9897b4a00731e.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-1ae9897b4a00731e.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-1ae9897b4a00731e.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-1ae9897b4a00731e.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/models/route-1ae9897b4a00731e.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/models/test/route-1ae9897b4a00731e.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-1ae9897b4a00731e.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-1ae9897b4a00731e.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-1ae9897b4a00731e.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-1ae9897b4a00731e.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-1ae9897b4a00731e.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/device-code/route-1ae9897b4a00731e.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/poll/route-1ae9897b4a00731e.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-1ae9897b4a00731e.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-1ae9897b4a00731e.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-1ae9897b4a00731e.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-1ae9897b4a00731e.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-1ae9897b4a00731e.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/api-key-models/route-1ae9897b4a00731e.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/import-models/route-1ae9897b4a00731e.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/models/[...routeModel]/route-1ae9897b4a00731e.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/move/route-1ae9897b4a00731e.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/route-1ae9897b4a00731e.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/[id]/usage/route-1ae9897b4a00731e.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/client/route-1ae9897b4a00731e.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/monitor/route-1ae9897b4a00731e.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/permissions/route-1ae9897b4a00731e.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/route-1ae9897b4a00731e.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/routing/route-1ae9897b4a00731e.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/shares/route-1ae9897b4a00731e.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/personal-cloud-providers/visibility/route-1ae9897b4a00731e.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/pricing/catalog/route-1ae9897b4a00731e.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/pricing/recalculate/route-1ae9897b4a00731e.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/pricing/route-1ae9897b4a00731e.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/provider-health/route-1ae9897b4a00731e.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-1ae9897b4a00731e.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/openai-compatible/manage/route-1ae9897b4a00731e.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-1ae9897b4a00731e.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-1ae9897b4a00731e.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-1ae9897b4a00731e.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-1ae9897b4a00731e.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-1ae9897b4a00731e.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-1ae9897b4a00731e.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-1ae9897b4a00731e.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-1ae9897b4a00731e.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/providers/route-1ae9897b4a00731e.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-1ae9897b4a00731e.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-1ae9897b4a00731e.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-1ae9897b4a00731e.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-1ae9897b4a00731e.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-1ae9897b4a00731e.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-1ae9897b4a00731e.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-1ae9897b4a00731e.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-1ae9897b4a00731e.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-1ae9897b4a00731e.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/[id]/route-1ae9897b4a00731e.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/ai-models/route-1ae9897b4a00731e.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/analyze/route-1ae9897b4a00731e.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/history/route-1ae9897b4a00731e.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/resource-monitor/route-1ae9897b4a00731e.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-1ae9897b4a00731e.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-1ae9897b4a00731e.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-1ae9897b4a00731e.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/settings/route-1ae9897b4a00731e.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-1ae9897b4a00731e.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/tags/route-1ae9897b4a00731e.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-1ae9897b4a00731e.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-1ae9897b4a00731e.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-1ae9897b4a00731e.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-1ae9897b4a00731e.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-1ae9897b4a00731e.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-1ae9897b4a00731e.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-1ae9897b4a00731e.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-1ae9897b4a00731e.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-1ae9897b4a00731e.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-1ae9897b4a00731e.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-1ae9897b4a00731e.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-1ae9897b4a00731e.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-1ae9897b4a00731e.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-login/route-1ae9897b4a00731e.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-start-daemon/route-1ae9897b4a00731e.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-1ae9897b4a00731e.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-1ae9897b4a00731e.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-1ae9897b4a00731e.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-1ae9897b4a00731e.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-1ae9897b4a00731e.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-1ae9897b4a00731e.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-1ae9897b4a00731e.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-1ae9897b4a00731e.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-1ae9897b4a00731e.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-1ae9897b4a00731e.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-1ae9897b4a00731e.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-1ae9897b4a00731e.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-1ae9897b4a00731e.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-1ae9897b4a00731e.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-1ae9897b4a00731e.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-1ae9897b4a00731e.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-1ae9897b4a00731e.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-1ae9897b4a00731e.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-1ae9897b4a00731e.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-1ae9897b4a00731e.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-1ae9897b4a00731e.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-1ae9897b4a00731e.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/v1/route-1ae9897b4a00731e.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-1ae9897b4a00731e.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-1ae9897b4a00731e.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-1ae9897b4a00731e.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-1ae9897b4a00731e.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/api/version/restart/route-1ae9897b4a00731e.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/api/version/route-1ae9897b4a00731e.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-1ae9897b4a00731e.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/api/version/update/route-1ae9897b4a00731e.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-1ae9897b4a00731e.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/page-1ae9897b4a00731e.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-1ae9897b4a00731e.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-1ae9897b4a00731e.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-1ae9897b4a00731e.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-1ae9897b4a00731e.js +0 -1
  1050. package/app/.next-cli-build/static/css/b5abfe9c2085ba8e.css +0 -1
  1051. /package/app/.next-cli-build/static/{MPowTRWuD2XApM5Ao4-yp → L_h01kCNsdvHq-NfbF9cq}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (()=>{var a={};a.id=7226,a.ids=[7226],a.modules={1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{"use strict";a.exports=require("process")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},34631:a=>{"use strict";a.exports=require("tls")},38522:a=>{"use strict";a.exports=require("node:zlib")},38674:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\app\\\\(dashboard)\\\\dashboard\\\\routing-topology\\\\page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\app\\(dashboard)\\dashboard\\routing-topology\\page.js","default")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41204:a=>{"use strict";a.exports=require("string_decoder")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55718:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,32059))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["routing-topology",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,38674))),"D:\\bluerouter\\src\\app\\(dashboard)\\dashboard\\routing-topology\\page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"D:\\bluerouter\\src\\app\\(dashboard)\\layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"D:\\bluerouter\\src\\app\\layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/routing-topology/page",pathname:"/dashboard/routing-topology",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},58620:(a,b,c)=>{Promise.resolve().then(c.bind(c,94876))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{"use strict";a.exports=import("pg")},65244:(a,b,c)=>{Promise.resolve().then(c.bind(c,38674))},66136:a=>{"use strict";a.exports=require("timers")},73024:a=>{"use strict";a.exports=require("node:fs")},74075:a=>{"use strict";a.exports=require("zlib")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},79428:a=>{"use strict";a.exports=require("buffer")},79748:a=>{"use strict";a.exports=require("fs/promises")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},94876:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>w});var d=c(48249),e=c(67484),f=c(95145);let g=new Set(["coder","coder-fast","coder-high","translator"]);function h(a,b=1){let c=Number(a);return Number.isFinite(c)?c.toLocaleString("vi-VN",{minimumFractionDigits:b,maximumFractionDigits:b}):"—"}function i(a){if(!a)return"—";let b=new Date(a);return Number.isFinite(b.getTime())?b.toLocaleTimeString("vi-VN",{hour12:!1}):"—"}function j(a){return String(a||"").trim()}function k({name:a,className:b=""}){return(0,d.jsx)("span",{className:`material-symbols-outlined ${b}`,children:a})}function l({icon:a,label:b,value:c,detail:e,tone:f="blue"}){let g={blue:"bg-blue-500/10 text-blue-500",violet:"bg-violet-500/10 text-violet-500",cyan:"bg-cyan-500/10 text-cyan-500",emerald:"bg-emerald-500/10 text-emerald-500",amber:"bg-amber-500/10 text-amber-500"};return(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 shadow-[var(--shadow-soft)]",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:`flex h-10 w-10 items-center justify-center rounded-xl ${g[f]||g.blue}`,children:(0,d.jsx)(k,{name:a,className:"text-[22px]"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"text-[10px] font-semibold uppercase tracking-[0.14em] text-text-subtle",children:b}),(0,d.jsx)("div",{className:"mt-0.5 truncate text-lg font-bold text-text-main",children:c})]})]}),e?(0,d.jsx)("div",{className:"mt-2 truncate text-[11px] text-text-muted",children:e}):null]})}function m({icon:a,label:b,value:c,suffix:e=""}){return(0,d.jsxs)("div",{className:"rounded-xl border border-border-subtle bg-background/60 px-3 py-2.5",children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-[0.12em] text-text-subtle",children:[(0,d.jsx)(k,{name:a,className:"text-[14px]"}),b]}),(0,d.jsxs)("div",{className:"mt-1 text-sm font-semibold text-text-main",children:[c,e]})]})}function n({status:a="unknown",label:b}){let c={live:"bg-emerald-500/10 text-emerald-600 dark:text-emerald-400",stale:"bg-red-500/10 text-red-600 dark:text-red-400",partial:"bg-amber-500/10 text-amber-700 dark:text-amber-300",unknown:"bg-surface-2 text-text-muted"},e={live:"bg-emerald-500",stale:"bg-red-500",partial:"bg-amber-500",unknown:"bg-text-subtle"};return(0,d.jsxs)("span",{className:`inline-flex items-center gap-1.5 rounded-full px-2.5 py-1 text-[11px] font-semibold ${c[a]||c.unknown}`,children:[(0,d.jsx)("span",{className:`h-1.5 w-1.5 rounded-full ${e[a]||e.unknown}`}),b]})}function o(a=[]){if(!a.length)return"Chưa c\xf3 GPU telemetry";let b=[...new Set(a.map(a=>j(a.name)).filter(Boolean))];return 1===b.length?`${a.length}\xd7 ${b[0]}`:`${a.length} GPU \xb7 ${b.join(" + ")}`}function p(a,b,c){let d,e=a?.resourceServerId?b.get(a.resourceServerId):null,f=a?.resourceServerId?c.get(a.resourceServerId):null,g=function(a,b){if(!b)return null;let c=b.vllm?.instances||[];if(a?.vllmInstanceKey){let b=c.find(b=>b.key===a.vllmInstanceKey);if(b)return b}if(a?.port){let b=c.filter(b=>Number(b.port||0)===Number(a.port||0));if(1===b.length)return b[0]}return null}(a,f),h=!!(d=f?.lastStatusAt?new Date(f.lastStatusAt).getTime():0)&&Date.now()-d<=3e4&&!f?.lastError&&!!g&&!1!==g.metricsAvailable;return{server:e,liveServer:f,instance:g,online:h}}function q({backend:a,serverMap:b,liveMap:c}){let{server:e,liveServer:f,instance:g,online:i}=p(a,b,c),j=f?.gpus?.length?f.gpus:e?.gpus||[],l=a?.resourceMatch,r=g?.models?.length?g.models:a?.reportedModels||[];return(0,d.jsxs)("div",{className:"group relative overflow-hidden rounded-2xl border border-border bg-surface p-4 shadow-[var(--shadow-soft)] transition hover:-translate-y-0.5 hover:border-primary/30 hover:shadow-lg",children:[(0,d.jsx)("div",{className:"absolute inset-x-0 top-0 h-0.5 bg-gradient-to-r from-cyan-500 via-primary to-violet-500 opacity-70"}),(0,d.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-emerald-500/10 text-emerald-500",children:(0,d.jsx)(k,{name:"memory",className:"text-[22px]"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsxs)("div",{className:"font-mono text-sm font-bold text-text-main",children:[a?.host||"—",":",a?.port||"—"]}),a?.weight?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-violet-500/10 px-2 py-0.5 text-[10px] font-semibold text-violet-600 dark:text-violet-300",children:[(0,d.jsx)(k,{name:"balance",className:"text-[13px]"}),"weight ",a.weight]}):null]}),(0,d.jsx)("div",{className:"mt-1 truncate text-xs text-text-muted",children:a?.label||e?.name||"Real vLLM endpoint"})]})]}),(0,d.jsx)(n,{status:i?"live":"host"===l?"partial":"unmatched"===l?"unknown":"stale",label:i?"Live vLLM":"host"===l?"Host found \xb7 port unresolved":"unmatched"===l?"Not monitored":"Offline / stale"})]}),(0,d.jsxs)("div",{className:"mt-4 rounded-xl border border-border-subtle bg-surface-2/45 p-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-xs font-semibold text-text-main",children:[(0,d.jsx)(k,{name:"dns",className:"text-[17px] text-primary"}),(0,d.jsx)("span",{className:"truncate",children:e?.name||"Chưa map Resource Monitor"})]}),(0,d.jsx)("div",{className:"mt-1 truncate font-mono text-[11px] text-text-muted",children:e?`${e.host}:${e.agentPort}`:"Kh\xf4ng t\xecm thấy server monitor khớp host"}),(0,d.jsxs)("div",{className:"mt-2 flex items-center gap-2 text-xs text-text-muted",children:[(0,d.jsx)(k,{name:"developer_board",className:"text-[16px]"}),(0,d.jsx)("span",{className:"truncate",children:o(j)})]})]}),(0,d.jsxs)("div",{className:"mt-3 grid grid-cols-2 gap-2 sm:grid-cols-4",children:[(0,d.jsx)(m,{icon:"speed",label:"Out tok/s",value:h(g?.outputTokensPerSecond)}),(0,d.jsx)(m,{icon:"play_circle",label:"Running",value:h(g?.running,0)}),(0,d.jsx)(m,{icon:"hourglass_top",label:"Waiting",value:h(g?.waiting,0)}),(0,d.jsx)(m,{icon:"database",label:"KV cache",value:h(g?.kvCacheUsagePercent),suffix:g?.kvCacheUsagePercent==null?"":"%"})]}),r.length?(0,d.jsxs)("div",{className:"mt-3 flex items-start gap-2 text-[11px] text-text-subtle",children:[(0,d.jsx)(k,{name:"neurology",className:"mt-0.5 text-[15px]"}),(0,d.jsx)("span",{className:"min-w-0 break-all",children:r.join(", ")})]}):null]})}function r(a,b,c){let d=0,e=!1,f=0,g=0,h=null,i=0;for(let j of a||[]){let a=p(j,b,c);a.online&&(i+=1);let k=Number(a.instance?.outputTokensPerSecond);Number.isFinite(k)&&(d+=k,e=!0),f+=Number(a.instance?.running||0),g+=Number(a.instance?.waiting||0);let l=Number(a.instance?.kvCacheUsagePercent);Number.isFinite(l)&&(h=null===h?l:Math.max(h,l))}return{output:e?d:null,running:f,waiting:g,maxKv:h,online:i,total:(a||[]).length}}function s({target:a,provider:b,serverMap:c,liveMap:e,onEdit:f}){if(!b)return(0,d.jsx)("div",{className:"rounded-2xl border border-amber-500/25 bg-amber-500/5 p-5",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-amber-500/10 text-amber-500",children:(0,d.jsx)(k,{name:"link_off",className:"text-[22px]"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:a.label||a.model||"Unknown target"}),(0,d.jsx)("div",{className:"mt-1 font-mono text-xs text-text-muted",children:a.model||"—"}),(0,d.jsx)("div",{className:"mt-3 text-xs leading-5 text-amber-700 dark:text-amber-300",children:a.unresolvedReason||"Kh\xf4ng map được target sang local compatible provider."})]})]})});let g="proxy"===b.routeType,i=r(b.backends||[],c,e),j=b.gateway?.resourceServerId?c.get(b.gateway.resourceServerId):null;return(0,d.jsxs)("div",{className:"overflow-hidden rounded-3xl border border-border bg-surface shadow-[var(--shadow-soft)]",children:[(0,d.jsxs)("div",{className:"relative overflow-hidden border-b border-border bg-gradient-to-r from-primary/8 via-surface to-cyan-500/8 px-5 py-4",children:[(0,d.jsx)("div",{className:"absolute -right-12 -top-16 h-40 w-40 rounded-full bg-primary/5 blur-2xl"}),(0,d.jsxs)("div",{className:"relative flex flex-wrap items-start justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-start gap-3",children:[(0,d.jsx)("div",{className:`flex h-11 w-11 shrink-0 items-center justify-center rounded-2xl ${g?"bg-violet-500/10 text-violet-500":"bg-blue-500/10 text-blue-500"}`,children:(0,d.jsx)(k,{name:g?"account_tree":"memory",className:"text-[24px]"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("div",{className:"text-base font-bold text-text-main",children:b.name}),(0,d.jsx)("span",{className:"rounded-full bg-primary/10 px-2.5 py-1 font-mono text-[10px] font-semibold text-primary",children:b.prefix}),(0,d.jsxs)("span",{className:`inline-flex items-center gap-1 rounded-full px-2.5 py-1 text-[10px] font-semibold ${g?"bg-violet-500/10 text-violet-600 dark:text-violet-300":"bg-blue-500/10 text-blue-600 dark:text-blue-300"}`,children:[(0,d.jsx)(k,{name:g?"hub":"developer_board",className:"text-[13px]"}),g?"Proxy / Load Balancer":"Direct vLLM"]})]}),(0,d.jsx)("div",{className:"mt-1.5 truncate font-mono text-xs text-text-muted",title:b.baseUrl,children:b.baseUrl||"—"}),(0,d.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-2 text-[11px] text-text-subtle",children:[(0,d.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,d.jsx)(k,{name:"model_training",className:"text-[14px]"}),a.model||"—"]}),b.topologyConfigured?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 text-emerald-600 dark:text-emerald-400",children:[(0,d.jsx)(k,{name:"verified",className:"text-[14px]"})," custom topology"]}):null]})]})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>f(b),className:"inline-flex items-center gap-2 rounded-xl border border-border bg-background/80 px-3.5 py-2 text-xs font-semibold text-text-muted shadow-sm transition hover:border-primary/30 hover:bg-primary/5 hover:text-primary",children:[(0,d.jsx)(k,{name:"tune",className:"text-[17px]"}),"Edit topology"]})]})]}),(0,d.jsx)("div",{className:"p-5",children:g?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"grid gap-3 lg:grid-cols-[minmax(0,1.2fr)_minmax(0,1fr)]",children:[(0,d.jsxs)("div",{className:"rounded-2xl border border-violet-500/20 bg-violet-500/5 p-4",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-violet-500/10 text-violet-500",children:(0,d.jsx)(k,{name:"lan",className:"text-[22px]"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"text-[10px] font-semibold uppercase tracking-[0.14em] text-violet-500",children:"Ingress / routing hop"}),(0,d.jsxs)("div",{className:"mt-1 truncate font-mono text-sm font-bold text-text-main",children:[b.gateway?.host||b.endpoint?.host||"—",":",b.gateway?.port||b.endpoint?.port||"—"]}),(0,d.jsx)("div",{className:"mt-1 truncate text-xs text-text-muted",children:j?`${j.name} \xb7 monitored host`:"Nginx / proxy endpoint"})]})]}),(0,d.jsx)("div",{className:"mt-3 rounded-xl bg-background/70 px-3 py-2.5 text-[11px] leading-5 text-text-muted",children:"GPU/vLLM metrics của gateway n\xe0y kh\xf4ng được t\xednh l\xe0 compute. Telemetry b\xean dưới lấy từ c\xe1c real endpoint đ\xe3 khai b\xe1o."})]}),(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-2 sm:grid-cols-4 lg:grid-cols-2",children:[(0,d.jsx)(m,{icon:"speed",label:"Pool out",value:h(i.output),suffix:null==i.output?"":" tok/s"}),(0,d.jsx)(m,{icon:"memory",label:"Backends live",value:`${i.online}/${i.total}`}),(0,d.jsx)(m,{icon:"play_circle",label:"Running",value:h(i.running,0)}),(0,d.jsx)(m,{icon:"hourglass_top",label:"Waiting",value:h(i.waiting,0)})]})]}),(0,d.jsxs)("div",{className:"my-4 flex items-center gap-3",children:[(0,d.jsx)("div",{className:"h-px flex-1 bg-border"}),(0,d.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-surface-2 px-3 py-1.5 text-[10px] font-semibold uppercase tracking-[0.12em] text-text-muted",children:[(0,d.jsx)(k,{name:"call_split",className:"text-[15px] text-primary"}),"Real vLLM backend pool"]}),(0,d.jsx)("div",{className:"h-px flex-1 bg-border"})]}),b.backends?.length?(0,d.jsx)("div",{className:"grid gap-3 xl:grid-cols-3",children:b.backends.map(a=>(0,d.jsx)(q,{backend:a,serverMap:c,liveMap:e},a.id))}):(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-amber-500/30 bg-amber-500/5 p-6 text-center text-sm text-amber-700 dark:text-amber-300",children:"Proxy chưa c\xf3 real vLLM endpoint. Bấm Edit topology để khai b\xe1o backend pool."})]}):b.backends?.[0]?(0,d.jsxs)("div",{className:"grid gap-4 lg:grid-cols-[220px_48px_minmax(0,1fr)] lg:items-center",children:[(0,d.jsxs)("div",{className:"rounded-2xl border border-blue-500/20 bg-blue-500/5 p-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-xs font-semibold text-blue-600 dark:text-blue-300",children:[(0,d.jsx)(k,{name:"route",className:"text-[18px]"}),"Provider Base URL"]}),(0,d.jsx)("div",{className:"mt-2 break-all font-mono text-xs text-text-main",children:b.baseUrl}),(0,d.jsx)("div",{className:"mt-2 text-[11px] leading-5 text-text-muted",children:"Direct mode: Base URL được coi l\xe0 ch\xednh vLLM compute endpoint."})]}),(0,d.jsx)("div",{className:"hidden items-center lg:flex",children:(0,d.jsxs)("div",{className:"relative h-px w-full bg-gradient-to-r from-blue-400/30 to-primary",children:[(0,d.jsx)("span",{className:"absolute -right-1 -top-[9px] material-symbols-outlined text-[18px] text-primary",children:"arrow_forward"}),(0,d.jsx)("span",{className:"absolute left-1/2 top-1/2 h-2 w-2 -translate-x-1/2 -translate-y-1/2 animate-pulse rounded-full bg-primary"})]})}),(0,d.jsx)(q,{backend:b.backends[0],serverMap:c,liveMap:e})]}):(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-6 text-center text-sm text-text-muted",children:"Base URL kh\xf4ng parse được th\xe0nh vLLM endpoint."})})]})}function t(){return(0,d.jsx)("div",{className:"hidden items-center justify-center lg:flex",children:(0,d.jsxs)("div",{className:"relative h-px w-full bg-gradient-to-r from-primary/20 via-primary/70 to-primary",children:[(0,d.jsx)("span",{className:"absolute left-1/3 top-1/2 h-2 w-2 -translate-y-1/2 animate-pulse rounded-full bg-primary shadow-[0_0_0_5px_rgba(59,130,246,.08)]"}),(0,d.jsx)(k,{name:"arrow_forward",className:"absolute -right-1 -top-[9px] text-[18px] text-primary"})]})})}function u({combo:a,providerMap:b,serverMap:c,liveMap:e,onEdit:f}){let h;return(0,d.jsxs)("section",{className:"grid gap-3 rounded-[28px] border border-border bg-surface-2/25 p-3 shadow-[var(--shadow-soft)] lg:grid-cols-[220px_64px_minmax(0,1fr)] lg:items-stretch",children:[(0,d.jsxs)("div",{className:"relative overflow-hidden rounded-3xl border border-primary/20 bg-gradient-to-br from-primary/10 via-background to-cyan-500/5 p-5",children:[(0,d.jsx)("div",{className:"absolute -bottom-10 -right-8 h-28 w-28 rounded-full bg-primary/8 blur-2xl"}),(0,d.jsxs)("div",{className:"relative flex h-full min-h-[150px] flex-col justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,d.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:(0,d.jsx)(k,{name:"translator"===(h=j(a.name).toLowerCase())?"translate":"coder-fast"===h?"bolt":"coder-high"===h?"rocket_launch":"code_blocks",className:"text-[24px]"})}),g.has(j(a.name).toLowerCase())?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-primary/10 px-2.5 py-1 text-[10px] font-semibold text-primary",children:[(0,d.jsx)(k,{name:"star",className:"text-[13px]"})," main"]}):null]}),(0,d.jsx)("div",{className:"mt-4 text-[10px] font-semibold uppercase tracking-[0.16em] text-primary",children:"Model alias / Combo"}),(0,d.jsxs)("div",{className:"mt-1 text-2xl font-black tracking-tight text-text-main",children:[":",a.name]}),(0,d.jsxs)("div",{className:"mt-2 text-xs text-text-muted",children:[a.targets.length," configured upstream target",1===a.targets.length?"":"s"]})]}),(0,d.jsxs)("div",{className:"mt-5 flex items-center gap-2 text-[11px] text-text-subtle",children:[(0,d.jsx)(k,{name:"route",className:"text-[15px]"}),"Configured routing path"]})]})]}),(0,d.jsx)(t,{}),(0,d.jsx)("div",{className:"space-y-3",children:a.targets.length?a.targets.map(a=>{let g=a.providerId?b.get(a.providerId):null;return(0,d.jsx)(s,{target:a,provider:g,serverMap:c,liveMap:e,onEdit:f},a.id)}):(0,d.jsx)("div",{className:"rounded-3xl border border-dashed border-border bg-surface p-8 text-center text-sm text-text-muted",children:"Combo chưa c\xf3 upstream model."})})]})}function v({provider:a,topology:b,open:c,onClose:g,onSaved:h}){let[i,l]=(0,e.useState)("direct"),[m,n]=(0,e.useState)([]),[p,q]=(0,e.useState)(!1),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)(""),w=(0,e.useMemo)(()=>{let a=[];for(let c of b?.servers||[]){let b=o(c.gpus||[]);for(let d of c.vllmInstances||[])d.port&&a.push({key:`${c.id}::${d.key||d.port}`,host:c.host,port:Number(d.port),label:c.name||c.host,description:`${c.host}:${d.port} \xb7 ${b}${d.models?.length?` \xb7 ${d.models.join(", ")}`:""}`})}return a},[b]),x=(a,b)=>{n(c=>c.map(c=>c.id===a?{...c,...b}:c))},y=()=>{let a=new Set(m.map(a=>`${j(a.host).toLowerCase()}:${Number(a.port||0)}`)),b=w.find(b=>!a.has(`${b.host.toLowerCase()}:${b.port}`));n(a=>[...a,function(a={}){return{id:`endpoint-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,host:j(a.host),port:a.port?String(a.port):"",weight:void 0===a.weight||null===a.weight?"":String(a.weight),label:j(a.label)}}(b?{host:b.host,port:b.port,label:b.label}:{})])},z=async()=>{if(!a?.id||p)return;u("");let b=m.map(a=>({host:j(a.host),port:Number(a.port),weight:j(a.weight)?Number(a.weight):null,label:j(a.label)}));if("proxy"===i){if(!b.length)return void u("Proxy / Load Balancer cần \xedt nhất một real vLLM endpoint.");if(b.some(a=>!a.host||!Number.isInteger(a.port)||a.port<1||a.port>65535))return void u("Vui l\xf2ng nhập host v\xe0 port hợp lệ cho mọi vLLM endpoint.")}q(!0);try{let c=await fetch("/api/dashboard/routing-topology/config",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerId:a.id,routeType:i,realEndpoints:"proxy"===i?b:[]})}),d=await c.json().catch(()=>({}));if(!c.ok)throw Error(d.error||"Kh\xf4ng lưu được topology config");await h?.(),g?.()}catch(a){u(a?.message||"Kh\xf4ng lưu được topology config")}finally{q(!1)}},A=async()=>{if(a?.id&&!r){s(!0),u("");try{let b=await fetch(`/api/dashboard/routing-topology/config?providerId=${encodeURIComponent(a.id)}`,{method:"DELETE"}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng reset được topology config");await h?.(),g?.()}catch(a){u(a?.message||"Kh\xf4ng reset được topology config")}finally{s(!1)}}};return a?(0,d.jsx)(f.default,{isOpen:c,onClose:g,title:`Routing topology \xb7 ${a.name}`,size:"xl",busy:p||r,footer:(0,d.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-between gap-2",children:[(0,d.jsx)("div",{children:a.topologyConfigured?(0,d.jsxs)("button",{type:"button",onClick:A,disabled:p||r,className:"inline-flex items-center gap-2 rounded-xl px-3 py-2 text-sm font-semibold text-text-muted transition hover:bg-surface-2 hover:text-text-main disabled:opacity-50",children:[(0,d.jsx)(k,{name:"restart_alt",className:`text-[18px] ${r?"animate-spin":""}`}),"X\xf3a override"]}):null}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("button",{type:"button",onClick:g,disabled:p||r,className:"rounded-xl border border-border bg-surface px-4 py-2 text-sm font-semibold text-text-muted transition hover:text-text-main disabled:opacity-50",children:"Hủy"}),(0,d.jsxs)("button",{type:"button",onClick:z,disabled:p||r,className:"inline-flex items-center gap-2 rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white shadow-sm transition hover:brightness-105 disabled:opacity-50",children:[(0,d.jsx)(k,{name:p?"progress_activity":"save",className:`text-[18px] ${p?"animate-spin":""}`}),"Lưu topology"]})]})]}),children:(0,d.jsxs)("div",{className:"space-y-5",children:[(0,d.jsx)("div",{className:"rounded-2xl border border-border bg-surface-2/50 p-4",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-primary/10 text-primary",children:(0,d.jsx)(k,{name:"link",className:"text-[21px]"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"text-sm font-semibold text-text-main",children:"Provider Base URL"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-xs text-text-muted",children:a.baseUrl}),(0,d.jsx)("div",{className:"mt-2 text-xs leading-5 text-text-subtle",children:"Cấu h\xecnh tại đ\xe2y chỉ phục vụ sơ đồ v\xe0 telemetry. Kh\xf4ng sửa Provider, Combo, Nginx hay routing production."})]})]})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"mb-2 text-xs font-semibold uppercase tracking-[0.13em] text-text-subtle",children:"Base URL thực chất l\xe0"}),(0,d.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2",children:[(0,d.jsx)("button",{type:"button",onClick:()=>l("direct"),className:`rounded-2xl border p-4 text-left transition ${"direct"===i?"border-blue-500/50 bg-blue-500/8 ring-2 ring-blue-500/10":"border-border bg-surface hover:border-blue-500/25"}`,children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-blue-500/10 text-blue-500",children:(0,d.jsx)(k,{name:"memory",className:"text-[22px]"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:"Direct vLLM"}),(0,d.jsx)("div",{className:"mt-1 text-xs leading-5 text-text-muted",children:"Base URL ch\xednh l\xe0 vLLM endpoint. Hardware v\xe0 realtime metric lấy trực tiếp từ host/port n\xe0y."})]})]})}),(0,d.jsx)("button",{type:"button",onClick:()=>l("proxy"),className:`rounded-2xl border p-4 text-left transition ${"proxy"===i?"border-violet-500/50 bg-violet-500/8 ring-2 ring-violet-500/10":"border-border bg-surface hover:border-violet-500/25"}`,children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-violet-500/10 text-violet-500",children:(0,d.jsx)(k,{name:"account_tree",className:"text-[22px]"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:"Proxy / Load Balancer"}),(0,d.jsx)("div",{className:"mt-1 text-xs leading-5 text-text-muted",children:"Base URL l\xe0 Nginx/HAProxy/LB. Khai b\xe1o c\xe1c real vLLM endpoint ph\xeda sau để topology v\xe0 metric đ\xfang compute node."})]})]})})]})]}),"proxy"===i?(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"text-sm font-semibold text-text-main",children:"Real vLLM endpoints"}),(0,d.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:"C\xf3 thể chọn instance Resource Monitor đ\xe3 discover hoặc nhập IP:port thủ c\xf4ng. Weight chỉ l\xe0 metadata m\xf4 tả LB, kh\xf4ng phải % traffic cố định."})]}),(0,d.jsxs)("button",{type:"button",onClick:y,className:"inline-flex items-center gap-2 rounded-xl border border-primary/25 bg-primary/5 px-3.5 py-2 text-xs font-semibold text-primary transition hover:bg-primary/10",children:[(0,d.jsx)(k,{name:"add_circle",className:"text-[17px]"}),"Th\xeam endpoint"]})]}),m.length?(0,d.jsx)("div",{className:"space-y-3",children:m.map((a,b)=>{let c;return(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 shadow-[var(--shadow-soft)]",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm font-semibold text-text-main",children:[(0,d.jsx)("span",{className:"flex h-7 w-7 items-center justify-center rounded-lg bg-emerald-500/10 text-xs font-bold text-emerald-600 dark:text-emerald-400",children:b+1}),"vLLM backend"]}),(0,d.jsx)("button",{type:"button",onClick:()=>n(b=>b.filter(b=>b.id!==a.id)),className:"flex h-8 w-8 items-center justify-center rounded-lg text-text-subtle transition hover:bg-red-500/10 hover:text-red-500",title:"X\xf3a endpoint",children:(0,d.jsx)(k,{name:"delete",className:"text-[18px]"})})]}),(0,d.jsxs)("div",{className:"mt-3 grid gap-3 lg:grid-cols-2",children:[(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1.5 block text-[11px] font-semibold text-text-muted",children:"Chọn từ Resource Monitor"}),(0,d.jsxs)("select",{value:(c=w.find(b=>j(b.host).toLowerCase()===j(a.host).toLowerCase()&&Number(b.port)===Number(a.port)),c?.key||""),onChange:b=>((a,b)=>{if(!b)return;let c=w.find(a=>a.key===b);c&&x(a,{host:c.host,port:String(c.port),label:c.label})})(a.id,b.target.value),className:"w-full rounded-xl border border-border bg-background px-3 py-2.5 text-sm text-text-main outline-none transition focus:border-primary",children:[(0,d.jsx)("option",{value:"",children:"Manual / giữ gi\xe1 trị b\xean dưới"}),w.map(a=>(0,d.jsxs)("option",{value:a.key,children:[a.label," \xb7 ",a.description]},a.key))]})]}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1.5 block text-[11px] font-semibold text-text-muted",children:"Nh\xe3n hiển thị"}),(0,d.jsx)("input",{value:a.label,onChange:b=>x(a.id,{label:b.target.value}),placeholder:"2\xd7 RTX 5090 TP2",className:"w-full rounded-xl border border-border bg-background px-3 py-2.5 text-sm text-text-main outline-none transition placeholder:text-text-subtle focus:border-primary"})]})]}),(0,d.jsxs)("div",{className:"mt-3 grid gap-3 sm:grid-cols-[minmax(0,1fr)_140px_140px]",children:[(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1.5 block text-[11px] font-semibold text-text-muted",children:"Host / IP"}),(0,d.jsx)("input",{value:a.host,onChange:b=>x(a.id,{host:b.target.value}),placeholder:"172.16.0.71",className:"w-full rounded-xl border border-border bg-background px-3 py-2.5 font-mono text-sm text-text-main outline-none transition placeholder:text-text-subtle focus:border-primary"})]}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1.5 block text-[11px] font-semibold text-text-muted",children:"Port"}),(0,d.jsx)("input",{type:"number",min:"1",max:"65535",value:a.port,onChange:b=>x(a.id,{port:b.target.value}),placeholder:"8000",className:"w-full rounded-xl border border-border bg-background px-3 py-2.5 font-mono text-sm text-text-main outline-none transition placeholder:text-text-subtle focus:border-primary"})]}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1.5 block text-[11px] font-semibold text-text-muted",children:"Weight"}),(0,d.jsx)("input",{type:"number",min:"0",value:a.weight,onChange:b=>x(a.id,{weight:b.target.value}),placeholder:"50",className:"w-full rounded-xl border border-border bg-background px-3 py-2.5 font-mono text-sm text-text-main outline-none transition placeholder:text-text-subtle focus:border-primary"})]})]})]},a.id)})}):(0,d.jsxs)("button",{type:"button",onClick:y,className:"flex w-full flex-col items-center justify-center rounded-2xl border border-dashed border-border bg-surface-2/30 px-6 py-10 text-center transition hover:border-primary/30 hover:bg-primary/5",children:[(0,d.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:(0,d.jsx)(k,{name:"add_link",className:"text-[25px]"})}),(0,d.jsx)("div",{className:"mt-3 text-sm font-semibold text-text-main",children:"Th\xeam real vLLM endpoint đầu ti\xean"}),(0,d.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:"Chọn từ Resource Monitor hoặc nhập IP:port thủ c\xf4ng."})]})]}):(0,d.jsxs)("div",{className:"rounded-2xl border border-blue-500/20 bg-blue-500/5 px-4 py-3 text-xs leading-5 text-blue-700 dark:text-blue-300",children:["Direct mode sẽ tiếp tục map ",(0,d.jsx)("span",{className:"font-mono font-semibold",children:a.baseUrl})," trực tiếp tới Resource Monitor host/port tương ứng."]}),t?(0,d.jsxs)("div",{className:"flex items-start gap-2 rounded-xl border border-red-500/20 bg-red-500/10 px-4 py-3 text-sm text-red-600 dark:text-red-300",children:[(0,d.jsx)(k,{name:"error",className:"mt-0.5 text-[18px]"}),(0,d.jsx)("span",{children:t})]}):null]})}):null}function w(){let[a,b]=(0,e.useState)(null),[c,f]=(0,e.useState)(null),[g,m]=(0,e.useState)(!0),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(""),[s,t]=(0,e.useState)(""),[w,x]=(0,e.useState)(!1),[y,z]=(0,e.useState)(null),A=(0,e.useCallback)(async({force:a=!1}={})=>{t(""),a&&o(!0);try{let c=await fetch(`/api/dashboard/routing-topology${a?"?refresh=1":""}`,{cache:"no-store"}),d=await c.json().catch(()=>({}));if(!c.ok)throw Error(d.error||"Kh\xf4ng tải được routing topology");return b(d),d}catch(a){return t(a?.message||"Kh\xf4ng tải được routing topology"),null}finally{m(!1),o(!1)}},[]),B=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/dashboard/routing-topology/live",{cache:"no-store"}),b=await a.json().catch(()=>({}));if(!a.ok)throw Error(b.error||"Kh\xf4ng tải được realtime telemetry");f(b),q("")}catch(a){q(a?.message||"Kh\xf4ng tải được realtime telemetry")}},[]),C=(0,e.useMemo)(()=>new Map((a?.providers||[]).map(a=>[a.id,a])),[a]),D=(0,e.useMemo)(()=>new Map((a?.servers||[]).map(a=>[a.id,a])),[a]),E=(0,e.useMemo)(()=>new Map((c?.servers||[]).map(a=>[a.id,a])),[c]),F=(0,e.useMemo)(()=>(a?.combos||[]).filter(a=>a.isFocus),[a]),G=w||!F.length?a?.combos||[]:F,H=(0,e.useMemo)(()=>{let b=new Set,c=[];for(let d of a?.providers||[])for(let a of d.backends||[]){let d=a.vllmInstanceKey&&a.resourceServerId?`${a.resourceServerId}::${a.vllmInstanceKey}`:`${j(a.host).toLowerCase()}:${Number(a.port||0)}`;!d||b.has(d)||(b.add(d),c.push(a))}return c},[a]),I=(0,e.useMemo)(()=>r(H,D,E),[H,D,E]),J=(0,e.useCallback)(async()=>{await Promise.all([A({force:!0}),B()])},[B,A]);return g?(0,d.jsxs)("div",{className:"flex min-h-[55vh] flex-col items-center justify-center text-sm text-text-muted",children:[(0,d.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:(0,d.jsx)(k,{name:"account_tree",className:"animate-pulse text-[30px]"})}),(0,d.jsx)("div",{className:"mt-4",children:"Đang compile routing topology..."})]}):s&&!a?(0,d.jsxs)("div",{className:"rounded-3xl border border-red-500/20 bg-red-500/10 p-6 text-red-600 dark:text-red-300",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 font-semibold",children:[(0,d.jsx)(k,{name:"error"})," Kh\xf4ng tải được Routing Topology"]}),(0,d.jsx)("div",{className:"mt-2 text-sm",children:s}),(0,d.jsxs)("button",{type:"button",onClick:()=>A({force:!0}),className:"mt-4 inline-flex items-center gap-2 rounded-xl bg-red-500 px-4 py-2 text-sm font-semibold text-white",children:[(0,d.jsx)(k,{name:"refresh",className:"text-[18px]"})," Thử lại"]})]}):(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsxs)("section",{className:"relative overflow-hidden rounded-[30px] border border-border bg-gradient-to-br from-primary/8 via-surface to-cyan-500/7 p-6 shadow-[var(--shadow-soft)]",children:[(0,d.jsx)("div",{className:"absolute -right-20 -top-24 h-64 w-64 rounded-full bg-primary/8 blur-3xl"}),(0,d.jsx)("div",{className:"absolute -bottom-24 left-1/3 h-48 w-48 rounded-full bg-cyan-500/6 blur-3xl"}),(0,d.jsxs)("div",{className:"relative flex flex-wrap items-start justify-between gap-5",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-start gap-4",children:[(0,d.jsx)("div",{className:"flex h-14 w-14 shrink-0 items-center justify-center rounded-2xl bg-primary text-white shadow-lg shadow-primary/15",children:(0,d.jsx)(k,{name:"account_tree",className:"text-[31px]"})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("h1",{className:"text-2xl font-black tracking-tight text-text-main",children:"Routing Topology"}),(0,d.jsx)("span",{className:"rounded-full bg-red-500/10 px-2.5 py-1 text-[10px] font-bold uppercase tracking-wider text-red-600 dark:text-red-400",children:"Admin only"}),(0,d.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-emerald-500/10 px-2.5 py-1 text-[10px] font-bold uppercase tracking-wider text-emerald-600 dark:text-emerald-400",children:[(0,d.jsx)("span",{className:"h-1.5 w-1.5 animate-pulse rounded-full bg-emerald-500"})," Live telemetry"]})]}),(0,d.jsx)("p",{className:"mt-2 max-w-3xl text-sm leading-6 text-text-muted",children:"Combos → local compatible providers → Direct vLLM hoặc Proxy/LB → real vLLM compute. Topology tĩnh được cache; realtime metric cập nhật ri\xeang v\xe0 tự dừng khi tab bị ẩn."}),(0,d.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-x-4 gap-y-1 text-[11px] text-text-subtle",children:[(0,d.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,d.jsx)(k,{name:"fingerprint",className:"text-[14px]"})," rev ",a?.revision||"—"]}),(0,d.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,d.jsx)(k,{name:"schema",className:"text-[14px]"})," topology ",i(a?.generatedAt)]}),(0,d.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,d.jsx)(k,{name:"monitor_heart",className:"text-[14px]"})," telemetry ",i(c?.generatedAt)]})]})]})]}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(a?.combos||[]).length>F.length&&F.length?(0,d.jsxs)("button",{type:"button",onClick:()=>x(a=>!a),className:"inline-flex items-center gap-2 rounded-xl border border-border bg-background/80 px-3.5 py-2.5 text-sm font-semibold text-text-muted shadow-sm transition hover:border-primary/30 hover:text-primary",children:[(0,d.jsx)(k,{name:w?"filter_alt":"view_list",className:"text-[18px]"}),w?"Chỉ combo ch\xednh":"Hiện tất cả combo"]}):null,(0,d.jsxs)("button",{type:"button",onClick:()=>A({force:!0}),disabled:n,className:"inline-flex items-center gap-2 rounded-xl bg-primary px-4 py-2.5 text-sm font-semibold text-white shadow-sm transition hover:brightness-105 disabled:opacity-60",children:[(0,d.jsx)(k,{name:"refresh",className:`text-[18px] ${n?"animate-spin":""}`}),"Rebuild topology"]})]})]})]}),s?(0,d.jsxs)("div",{className:"flex items-start gap-2 rounded-xl border border-amber-500/20 bg-amber-500/10 px-4 py-3 text-sm text-amber-700 dark:text-amber-300",children:[(0,d.jsx)(k,{name:"warning",className:"mt-0.5 text-[18px]"})," ",s]}):null,p?(0,d.jsxs)("div",{className:"flex items-start gap-2 rounded-xl border border-red-500/20 bg-red-500/10 px-4 py-3 text-sm text-red-600 dark:text-red-300",children:[(0,d.jsx)(k,{name:"wifi_off",className:"mt-0.5 text-[18px]"})," Realtime: ",p]}):null,a?.standby||c?.standby?(0,d.jsxs)("div",{className:"flex items-start gap-2 rounded-xl border border-blue-500/20 bg-blue-500/10 px-4 py-3 text-sm text-blue-700 dark:text-blue-300",children:[(0,d.jsx)(k,{name:"pause_circle",className:"mt-0.5 text-[18px]"})," Standby node: topology chỉ đọc snapshot đ\xe3 c\xf3 v\xe0 kh\xf4ng cho sửa override."]}):null,(0,d.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2 xl:grid-cols-5",children:[(0,d.jsx)(l,{icon:"layers",label:"Combos",value:a?.summary?.comboCount??0,detail:`${a?.summary?.focusComboCount??0} main combos`,tone:"blue"}),(0,d.jsx)(l,{icon:"hub",label:"Proxy / LB",value:a?.summary?.proxyProviderCount??0,detail:`${a?.summary?.localProviderCount??0} local providers`,tone:"violet"}),(0,d.jsx)(l,{icon:"memory",label:"vLLM backends",value:`${I.online}/${I.total}`,detail:"live / configured",tone:"emerald"}),(0,d.jsx)(l,{icon:"hourglass_top",label:"Running / Waiting",value:`${h(I.running,0)} / ${h(I.waiting,0)}`,detail:"unique compute endpoints",tone:"amber"}),(0,d.jsx)(l,{icon:"speed",label:"Aggregate out",value:`${h(I.output)}${null==I.output?"":" tok/s"}`,detail:"wall-clock vLLM throughput",tone:"cyan"})]}),(0,d.jsxs)("div",{className:"grid gap-3 lg:grid-cols-2",children:[(0,d.jsx)("div",{className:"rounded-2xl border border-border bg-surface px-4 py-3 text-xs leading-5 text-text-muted shadow-[var(--shadow-soft)]",children:(0,d.jsxs)("div",{className:"flex items-start gap-2",children:[(0,d.jsx)(k,{name:"route",className:"mt-0.5 text-[18px] text-primary"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"font-semibold text-text-main",children:"Configured routing:"})," đường nối m\xf4 tả cấu h\xecnh Combo/Provider. Đ\xe2y kh\xf4ng phải per-request trace, n\xean trang kh\xf4ng giả request cụ thể đ\xe3 đi qua edge n\xe0o."]})]})}),(0,d.jsx)("div",{className:"rounded-2xl border border-border bg-surface px-4 py-3 text-xs leading-5 text-text-muted shadow-[var(--shadow-soft)]",children:(0,d.jsxs)("div",{className:"flex items-start gap-2",children:[(0,d.jsx)(k,{name:"edit_square",className:"mt-0.5 text-[18px] text-violet-500"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"font-semibold text-text-main",children:"Topology override:"})," bấm ",(0,d.jsx)("span",{className:"font-semibold",children:"Edit topology"})," ngay tr\xean provider để khai b\xe1o Direct vLLM hoặc Proxy/LB v\xe0 real endpoints. Kh\xf4ng thay đổi `/dashboard/providers`."]})]})})]}),a?.summary?.unresolvedTargets||a?.summary?.unresolvedBackends?(0,d.jsxs)("div",{className:"flex items-start gap-3 rounded-2xl border border-amber-500/20 bg-amber-500/10 px-4 py-3 text-sm text-amber-700 dark:text-amber-300",children:[(0,d.jsx)(k,{name:"warning",className:"mt-0.5 text-[20px]"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-semibold",children:"Topology cần admin kiểm tra"}),(0,d.jsxs)("div",{className:"mt-1 text-xs leading-5",children:[a?.summary?.unresolvedTargets||0," combo target chưa resolve provider \xb7 ",a?.summary?.unresolvedBackends||0," compute endpoint chưa map ch\xednh x\xe1c tới vLLM instance trong Resource Monitor."]})]})]}):null,(0,d.jsx)("div",{className:"space-y-4",children:G.length?G.map(a=>(0,d.jsx)(u,{combo:a,providerMap:C,serverMap:D,liveMap:E,onEdit:z},a.id||a.name)):(0,d.jsx)("div",{className:"rounded-3xl border border-dashed border-border bg-surface p-10 text-center text-sm text-text-muted",children:"Kh\xf4ng c\xf3 combo n\xe0o để hiển thị."})}),(0,d.jsx)(v,{provider:y,topology:a,open:!!y,onClose:()=>z(null),onSaved:J})]})}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,2430,8316,8946,402,5681,4404,6064,6328,8640],()=>b(b.s=55718));module.exports=c})();
1
+ (()=>{var a={};a.id=7226,a.ids=[7226],a.modules={1932:a=>{"use strict";a.exports=require("url")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13385:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,32059))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["routing-topology",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,38674))),"D:\\bluerouter\\src\\app\\(dashboard)\\dashboard\\routing-topology\\page.js"]}]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"D:\\bluerouter\\src\\app\\(dashboard)\\layout.js"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"D:\\bluerouter\\src\\app\\layout.js"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/routing-topology/page",pathname:"/dashboard/routing-topology",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{"use strict";a.exports=require("process")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},34631:a=>{"use strict";a.exports=require("tls")},38522:a=>{"use strict";a.exports=require("node:zlib")},38674:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"D:\\\\bluerouter\\\\src\\\\app\\\\(dashboard)\\\\dashboard\\\\routing-topology\\\\page.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"D:\\bluerouter\\src\\app\\(dashboard)\\dashboard\\routing-topology\\page.js","default")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41204:a=>{"use strict";a.exports=require("string_decoder")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},58620:(a,b,c)=>{Promise.resolve().then(c.bind(c,94876))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{"use strict";a.exports=import("pg")},65244:(a,b,c)=>{Promise.resolve().then(c.bind(c,38674))},66136:a=>{"use strict";a.exports=require("timers")},73024:a=>{"use strict";a.exports=require("node:fs")},74075:a=>{"use strict";a.exports=require("zlib")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},79428:a=>{"use strict";a.exports=require("buffer")},79748:a=>{"use strict";a.exports=require("fs/promises")},80099:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},94876:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>w});var d=c(48249),e=c(67484),f=c(95145);let g=new Set(["coder","coder-fast","coder-high","translator"]);function h(a,b=1){let c=Number(a);return Number.isFinite(c)?c.toLocaleString("vi-VN",{minimumFractionDigits:b,maximumFractionDigits:b}):"—"}function i(a){if(!a)return"—";let b=new Date(a);return Number.isFinite(b.getTime())?b.toLocaleTimeString("vi-VN",{hour12:!1}):"—"}function j(a){return String(a||"").trim()}function k({name:a,className:b=""}){return(0,d.jsx)("span",{className:`material-symbols-outlined ${b}`,children:a})}function l({icon:a,label:b,value:c,detail:e,tone:f="blue"}){let g={blue:"bg-blue-500/10 text-blue-500",violet:"bg-violet-500/10 text-violet-500",cyan:"bg-cyan-500/10 text-cyan-500",emerald:"bg-emerald-500/10 text-emerald-500",amber:"bg-amber-500/10 text-amber-500"};return(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 shadow-[var(--shadow-soft)]",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:`flex h-10 w-10 items-center justify-center rounded-xl ${g[f]||g.blue}`,children:(0,d.jsx)(k,{name:a,className:"text-[22px]"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"text-[10px] font-semibold uppercase tracking-[0.14em] text-text-subtle",children:b}),(0,d.jsx)("div",{className:"mt-0.5 truncate text-lg font-bold text-text-main",children:c})]})]}),e?(0,d.jsx)("div",{className:"mt-2 truncate text-[11px] text-text-muted",children:e}):null]})}function m({icon:a,label:b,value:c,suffix:e=""}){return(0,d.jsxs)("div",{className:"rounded-xl border border-border-subtle bg-background/60 px-3 py-2.5",children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-[0.12em] text-text-subtle",children:[(0,d.jsx)(k,{name:a,className:"text-[14px]"}),b]}),(0,d.jsxs)("div",{className:"mt-1 text-sm font-semibold text-text-main",children:[c,e]})]})}function n({status:a="unknown",label:b}){let c={live:"bg-emerald-500/10 text-emerald-600 dark:text-emerald-400",stale:"bg-red-500/10 text-red-600 dark:text-red-400",partial:"bg-amber-500/10 text-amber-700 dark:text-amber-300",unknown:"bg-surface-2 text-text-muted"},e={live:"bg-emerald-500",stale:"bg-red-500",partial:"bg-amber-500",unknown:"bg-text-subtle"};return(0,d.jsxs)("span",{className:`inline-flex items-center gap-1.5 rounded-full px-2.5 py-1 text-[11px] font-semibold ${c[a]||c.unknown}`,children:[(0,d.jsx)("span",{className:`h-1.5 w-1.5 rounded-full ${e[a]||e.unknown}`}),b]})}function o(a=[]){if(!a.length)return"Chưa c\xf3 GPU telemetry";let b=[...new Set(a.map(a=>j(a.name)).filter(Boolean))];return 1===b.length?`${a.length}\xd7 ${b[0]}`:`${a.length} GPU \xb7 ${b.join(" + ")}`}function p(a,b,c){let d,e=a?.resourceServerId?b.get(a.resourceServerId):null,f=a?.resourceServerId?c.get(a.resourceServerId):null,g=function(a,b){if(!b)return null;let c=b.vllm?.instances||[];if(a?.vllmInstanceKey){let b=c.find(b=>b.key===a.vllmInstanceKey);if(b)return b}if(a?.port){let b=c.filter(b=>Number(b.port||0)===Number(a.port||0));if(1===b.length)return b[0]}return null}(a,f),h=!!(d=f?.lastStatusAt?new Date(f.lastStatusAt).getTime():0)&&Date.now()-d<=3e4&&!f?.lastError&&!!g&&!1!==g.metricsAvailable;return{server:e,liveServer:f,instance:g,online:h}}function q({backend:a,serverMap:b,liveMap:c}){let{server:e,liveServer:f,instance:g,online:i}=p(a,b,c),j=f?.gpus?.length?f.gpus:e?.gpus||[],l=a?.resourceMatch,r=g?.models?.length?g.models:a?.reportedModels||[];return(0,d.jsxs)("div",{className:"group relative overflow-hidden rounded-2xl border border-border bg-surface p-4 shadow-[var(--shadow-soft)] transition hover:-translate-y-0.5 hover:border-primary/30 hover:shadow-lg",children:[(0,d.jsx)("div",{className:"absolute inset-x-0 top-0 h-0.5 bg-gradient-to-r from-cyan-500 via-primary to-violet-500 opacity-70"}),(0,d.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-emerald-500/10 text-emerald-500",children:(0,d.jsx)(k,{name:"memory",className:"text-[22px]"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsxs)("div",{className:"font-mono text-sm font-bold text-text-main",children:[a?.host||"—",":",a?.port||"—"]}),a?.weight?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-violet-500/10 px-2 py-0.5 text-[10px] font-semibold text-violet-600 dark:text-violet-300",children:[(0,d.jsx)(k,{name:"balance",className:"text-[13px]"}),"weight ",a.weight]}):null]}),(0,d.jsx)("div",{className:"mt-1 truncate text-xs text-text-muted",children:a?.label||e?.name||"Real vLLM endpoint"})]})]}),(0,d.jsx)(n,{status:i?"live":"host"===l?"partial":"unmatched"===l?"unknown":"stale",label:i?"Live vLLM":"host"===l?"Host found \xb7 port unresolved":"unmatched"===l?"Not monitored":"Offline / stale"})]}),(0,d.jsxs)("div",{className:"mt-4 rounded-xl border border-border-subtle bg-surface-2/45 p-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-xs font-semibold text-text-main",children:[(0,d.jsx)(k,{name:"dns",className:"text-[17px] text-primary"}),(0,d.jsx)("span",{className:"truncate",children:e?.name||"Chưa map Resource Monitor"})]}),(0,d.jsx)("div",{className:"mt-1 truncate font-mono text-[11px] text-text-muted",children:e?`${e.host}:${e.agentPort}`:"Kh\xf4ng t\xecm thấy server monitor khớp host"}),(0,d.jsxs)("div",{className:"mt-2 flex items-center gap-2 text-xs text-text-muted",children:[(0,d.jsx)(k,{name:"developer_board",className:"text-[16px]"}),(0,d.jsx)("span",{className:"truncate",children:o(j)})]})]}),(0,d.jsxs)("div",{className:"mt-3 grid grid-cols-2 gap-2 sm:grid-cols-4",children:[(0,d.jsx)(m,{icon:"speed",label:"Out tok/s",value:h(g?.outputTokensPerSecond)}),(0,d.jsx)(m,{icon:"play_circle",label:"Running",value:h(g?.running,0)}),(0,d.jsx)(m,{icon:"hourglass_top",label:"Waiting",value:h(g?.waiting,0)}),(0,d.jsx)(m,{icon:"database",label:"KV cache",value:h(g?.kvCacheUsagePercent),suffix:g?.kvCacheUsagePercent==null?"":"%"})]}),r.length?(0,d.jsxs)("div",{className:"mt-3 flex items-start gap-2 text-[11px] text-text-subtle",children:[(0,d.jsx)(k,{name:"neurology",className:"mt-0.5 text-[15px]"}),(0,d.jsx)("span",{className:"min-w-0 break-all",children:r.join(", ")})]}):null]})}function r(a,b,c){let d=0,e=!1,f=0,g=0,h=null,i=0;for(let j of a||[]){let a=p(j,b,c);a.online&&(i+=1);let k=Number(a.instance?.outputTokensPerSecond);Number.isFinite(k)&&(d+=k,e=!0),f+=Number(a.instance?.running||0),g+=Number(a.instance?.waiting||0);let l=Number(a.instance?.kvCacheUsagePercent);Number.isFinite(l)&&(h=null===h?l:Math.max(h,l))}return{output:e?d:null,running:f,waiting:g,maxKv:h,online:i,total:(a||[]).length}}function s({target:a,provider:b,serverMap:c,liveMap:e,onEdit:f}){if(!b)return(0,d.jsx)("div",{className:"rounded-2xl border border-amber-500/25 bg-amber-500/5 p-5",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-amber-500/10 text-amber-500",children:(0,d.jsx)(k,{name:"link_off",className:"text-[22px]"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:a.label||a.model||"Unknown target"}),(0,d.jsx)("div",{className:"mt-1 font-mono text-xs text-text-muted",children:a.model||"—"}),(0,d.jsx)("div",{className:"mt-3 text-xs leading-5 text-amber-700 dark:text-amber-300",children:a.unresolvedReason||"Kh\xf4ng map được target sang local compatible provider."})]})]})});let g="proxy"===b.routeType,i=r(b.backends||[],c,e),j=b.gateway?.resourceServerId?c.get(b.gateway.resourceServerId):null;return(0,d.jsxs)("div",{className:"overflow-hidden rounded-3xl border border-border bg-surface shadow-[var(--shadow-soft)]",children:[(0,d.jsxs)("div",{className:"relative overflow-hidden border-b border-border bg-gradient-to-r from-primary/8 via-surface to-cyan-500/8 px-5 py-4",children:[(0,d.jsx)("div",{className:"absolute -right-12 -top-16 h-40 w-40 rounded-full bg-primary/5 blur-2xl"}),(0,d.jsxs)("div",{className:"relative flex flex-wrap items-start justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-start gap-3",children:[(0,d.jsx)("div",{className:`flex h-11 w-11 shrink-0 items-center justify-center rounded-2xl ${g?"bg-violet-500/10 text-violet-500":"bg-blue-500/10 text-blue-500"}`,children:(0,d.jsx)(k,{name:g?"account_tree":"memory",className:"text-[24px]"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("div",{className:"text-base font-bold text-text-main",children:b.name}),(0,d.jsx)("span",{className:"rounded-full bg-primary/10 px-2.5 py-1 font-mono text-[10px] font-semibold text-primary",children:b.prefix}),(0,d.jsxs)("span",{className:`inline-flex items-center gap-1 rounded-full px-2.5 py-1 text-[10px] font-semibold ${g?"bg-violet-500/10 text-violet-600 dark:text-violet-300":"bg-blue-500/10 text-blue-600 dark:text-blue-300"}`,children:[(0,d.jsx)(k,{name:g?"hub":"developer_board",className:"text-[13px]"}),g?"Proxy / Load Balancer":"Direct vLLM"]})]}),(0,d.jsx)("div",{className:"mt-1.5 truncate font-mono text-xs text-text-muted",title:b.baseUrl,children:b.baseUrl||"—"}),(0,d.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-2 text-[11px] text-text-subtle",children:[(0,d.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,d.jsx)(k,{name:"model_training",className:"text-[14px]"}),a.model||"—"]}),b.topologyConfigured?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 text-emerald-600 dark:text-emerald-400",children:[(0,d.jsx)(k,{name:"verified",className:"text-[14px]"})," custom topology"]}):null]})]})]}),(0,d.jsxs)("button",{type:"button",onClick:()=>f(b),className:"inline-flex items-center gap-2 rounded-xl border border-border bg-background/80 px-3.5 py-2 text-xs font-semibold text-text-muted shadow-sm transition hover:border-primary/30 hover:bg-primary/5 hover:text-primary",children:[(0,d.jsx)(k,{name:"tune",className:"text-[17px]"}),"Edit topology"]})]})]}),(0,d.jsx)("div",{className:"p-5",children:g?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"grid gap-3 lg:grid-cols-[minmax(0,1.2fr)_minmax(0,1fr)]",children:[(0,d.jsxs)("div",{className:"rounded-2xl border border-violet-500/20 bg-violet-500/5 p-4",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-violet-500/10 text-violet-500",children:(0,d.jsx)(k,{name:"lan",className:"text-[22px]"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"text-[10px] font-semibold uppercase tracking-[0.14em] text-violet-500",children:"Ingress / routing hop"}),(0,d.jsxs)("div",{className:"mt-1 truncate font-mono text-sm font-bold text-text-main",children:[b.gateway?.host||b.endpoint?.host||"—",":",b.gateway?.port||b.endpoint?.port||"—"]}),(0,d.jsx)("div",{className:"mt-1 truncate text-xs text-text-muted",children:j?`${j.name} \xb7 monitored host`:"Nginx / proxy endpoint"})]})]}),(0,d.jsx)("div",{className:"mt-3 rounded-xl bg-background/70 px-3 py-2.5 text-[11px] leading-5 text-text-muted",children:"GPU/vLLM metrics của gateway n\xe0y kh\xf4ng được t\xednh l\xe0 compute. Telemetry b\xean dưới lấy từ c\xe1c real endpoint đ\xe3 khai b\xe1o."})]}),(0,d.jsxs)("div",{className:"grid grid-cols-2 gap-2 sm:grid-cols-4 lg:grid-cols-2",children:[(0,d.jsx)(m,{icon:"speed",label:"Pool out",value:h(i.output),suffix:null==i.output?"":" tok/s"}),(0,d.jsx)(m,{icon:"memory",label:"Backends live",value:`${i.online}/${i.total}`}),(0,d.jsx)(m,{icon:"play_circle",label:"Running",value:h(i.running,0)}),(0,d.jsx)(m,{icon:"hourglass_top",label:"Waiting",value:h(i.waiting,0)})]})]}),(0,d.jsxs)("div",{className:"my-4 flex items-center gap-3",children:[(0,d.jsx)("div",{className:"h-px flex-1 bg-border"}),(0,d.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-surface-2 px-3 py-1.5 text-[10px] font-semibold uppercase tracking-[0.12em] text-text-muted",children:[(0,d.jsx)(k,{name:"call_split",className:"text-[15px] text-primary"}),"Real vLLM backend pool"]}),(0,d.jsx)("div",{className:"h-px flex-1 bg-border"})]}),b.backends?.length?(0,d.jsx)("div",{className:"grid gap-3 xl:grid-cols-3",children:b.backends.map(a=>(0,d.jsx)(q,{backend:a,serverMap:c,liveMap:e},a.id))}):(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-amber-500/30 bg-amber-500/5 p-6 text-center text-sm text-amber-700 dark:text-amber-300",children:"Proxy chưa c\xf3 real vLLM endpoint. Bấm Edit topology để khai b\xe1o backend pool."})]}):b.backends?.[0]?(0,d.jsxs)("div",{className:"grid gap-4 lg:grid-cols-[220px_48px_minmax(0,1fr)] lg:items-center",children:[(0,d.jsxs)("div",{className:"rounded-2xl border border-blue-500/20 bg-blue-500/5 p-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-xs font-semibold text-blue-600 dark:text-blue-300",children:[(0,d.jsx)(k,{name:"route",className:"text-[18px]"}),"Provider Base URL"]}),(0,d.jsx)("div",{className:"mt-2 break-all font-mono text-xs text-text-main",children:b.baseUrl}),(0,d.jsx)("div",{className:"mt-2 text-[11px] leading-5 text-text-muted",children:"Direct mode: Base URL được coi l\xe0 ch\xednh vLLM compute endpoint."})]}),(0,d.jsx)("div",{className:"hidden items-center lg:flex",children:(0,d.jsxs)("div",{className:"relative h-px w-full bg-gradient-to-r from-blue-400/30 to-primary",children:[(0,d.jsx)("span",{className:"absolute -right-1 -top-[9px] material-symbols-outlined text-[18px] text-primary",children:"arrow_forward"}),(0,d.jsx)("span",{className:"absolute left-1/2 top-1/2 h-2 w-2 -translate-x-1/2 -translate-y-1/2 animate-pulse rounded-full bg-primary"})]})}),(0,d.jsx)(q,{backend:b.backends[0],serverMap:c,liveMap:e})]}):(0,d.jsx)("div",{className:"rounded-2xl border border-dashed border-border p-6 text-center text-sm text-text-muted",children:"Base URL kh\xf4ng parse được th\xe0nh vLLM endpoint."})})]})}function t(){return(0,d.jsx)("div",{className:"hidden items-center justify-center lg:flex",children:(0,d.jsxs)("div",{className:"relative h-px w-full bg-gradient-to-r from-primary/20 via-primary/70 to-primary",children:[(0,d.jsx)("span",{className:"absolute left-1/3 top-1/2 h-2 w-2 -translate-y-1/2 animate-pulse rounded-full bg-primary shadow-[0_0_0_5px_rgba(59,130,246,.08)]"}),(0,d.jsx)(k,{name:"arrow_forward",className:"absolute -right-1 -top-[9px] text-[18px] text-primary"})]})})}function u({combo:a,providerMap:b,serverMap:c,liveMap:e,onEdit:f}){let h;return(0,d.jsxs)("section",{className:"grid gap-3 rounded-[28px] border border-border bg-surface-2/25 p-3 shadow-[var(--shadow-soft)] lg:grid-cols-[220px_64px_minmax(0,1fr)] lg:items-stretch",children:[(0,d.jsxs)("div",{className:"relative overflow-hidden rounded-3xl border border-primary/20 bg-gradient-to-br from-primary/10 via-background to-cyan-500/5 p-5",children:[(0,d.jsx)("div",{className:"absolute -bottom-10 -right-8 h-28 w-28 rounded-full bg-primary/8 blur-2xl"}),(0,d.jsxs)("div",{className:"relative flex h-full min-h-[150px] flex-col justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,d.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:(0,d.jsx)(k,{name:"translator"===(h=j(a.name).toLowerCase())?"translate":"coder-fast"===h?"bolt":"coder-high"===h?"rocket_launch":"code_blocks",className:"text-[24px]"})}),g.has(j(a.name).toLowerCase())?(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-primary/10 px-2.5 py-1 text-[10px] font-semibold text-primary",children:[(0,d.jsx)(k,{name:"star",className:"text-[13px]"})," main"]}):null]}),(0,d.jsx)("div",{className:"mt-4 text-[10px] font-semibold uppercase tracking-[0.16em] text-primary",children:"Model alias / Combo"}),(0,d.jsxs)("div",{className:"mt-1 text-2xl font-black tracking-tight text-text-main",children:[":",a.name]}),(0,d.jsxs)("div",{className:"mt-2 text-xs text-text-muted",children:[a.targets.length," configured upstream target",1===a.targets.length?"":"s"]})]}),(0,d.jsxs)("div",{className:"mt-5 flex items-center gap-2 text-[11px] text-text-subtle",children:[(0,d.jsx)(k,{name:"route",className:"text-[15px]"}),"Configured routing path"]})]})]}),(0,d.jsx)(t,{}),(0,d.jsx)("div",{className:"space-y-3",children:a.targets.length?a.targets.map(a=>{let g=a.providerId?b.get(a.providerId):null;return(0,d.jsx)(s,{target:a,provider:g,serverMap:c,liveMap:e,onEdit:f},a.id)}):(0,d.jsx)("div",{className:"rounded-3xl border border-dashed border-border bg-surface p-8 text-center text-sm text-text-muted",children:"Combo chưa c\xf3 upstream model."})})]})}function v({provider:a,topology:b,open:c,onClose:g,onSaved:h}){let[i,l]=(0,e.useState)("direct"),[m,n]=(0,e.useState)([]),[p,q]=(0,e.useState)(!1),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)(""),w=(0,e.useMemo)(()=>{let a=[];for(let c of b?.servers||[]){let b=o(c.gpus||[]);for(let d of c.vllmInstances||[])d.port&&a.push({key:`${c.id}::${d.key||d.port}`,host:c.host,port:Number(d.port),label:c.name||c.host,description:`${c.host}:${d.port} \xb7 ${b}${d.models?.length?` \xb7 ${d.models.join(", ")}`:""}`})}return a},[b]),x=(a,b)=>{n(c=>c.map(c=>c.id===a?{...c,...b}:c))},y=()=>{let a=new Set(m.map(a=>`${j(a.host).toLowerCase()}:${Number(a.port||0)}`)),b=w.find(b=>!a.has(`${b.host.toLowerCase()}:${b.port}`));n(a=>[...a,function(a={}){return{id:`endpoint-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,host:j(a.host),port:a.port?String(a.port):"",weight:void 0===a.weight||null===a.weight?"":String(a.weight),label:j(a.label)}}(b?{host:b.host,port:b.port,label:b.label}:{})])},z=async()=>{if(!a?.id||p)return;u("");let b=m.map(a=>({host:j(a.host),port:Number(a.port),weight:j(a.weight)?Number(a.weight):null,label:j(a.label)}));if("proxy"===i){if(!b.length)return void u("Proxy / Load Balancer cần \xedt nhất một real vLLM endpoint.");if(b.some(a=>!a.host||!Number.isInteger(a.port)||a.port<1||a.port>65535))return void u("Vui l\xf2ng nhập host v\xe0 port hợp lệ cho mọi vLLM endpoint.")}q(!0);try{let c=await fetch("/api/dashboard/routing-topology/config",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerId:a.id,routeType:i,realEndpoints:"proxy"===i?b:[]})}),d=await c.json().catch(()=>({}));if(!c.ok)throw Error(d.error||"Kh\xf4ng lưu được topology config");await h?.(),g?.()}catch(a){u(a?.message||"Kh\xf4ng lưu được topology config")}finally{q(!1)}},A=async()=>{if(a?.id&&!r){s(!0),u("");try{let b=await fetch(`/api/dashboard/routing-topology/config?providerId=${encodeURIComponent(a.id)}`,{method:"DELETE"}),c=await b.json().catch(()=>({}));if(!b.ok)throw Error(c.error||"Kh\xf4ng reset được topology config");await h?.(),g?.()}catch(a){u(a?.message||"Kh\xf4ng reset được topology config")}finally{s(!1)}}};return a?(0,d.jsx)(f.default,{isOpen:c,onClose:g,title:`Routing topology \xb7 ${a.name}`,size:"xl",busy:p||r,footer:(0,d.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-between gap-2",children:[(0,d.jsx)("div",{children:a.topologyConfigured?(0,d.jsxs)("button",{type:"button",onClick:A,disabled:p||r,className:"inline-flex items-center gap-2 rounded-xl px-3 py-2 text-sm font-semibold text-text-muted transition hover:bg-surface-2 hover:text-text-main disabled:opacity-50",children:[(0,d.jsx)(k,{name:"restart_alt",className:`text-[18px] ${r?"animate-spin":""}`}),"X\xf3a override"]}):null}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("button",{type:"button",onClick:g,disabled:p||r,className:"rounded-xl border border-border bg-surface px-4 py-2 text-sm font-semibold text-text-muted transition hover:text-text-main disabled:opacity-50",children:"Hủy"}),(0,d.jsxs)("button",{type:"button",onClick:z,disabled:p||r,className:"inline-flex items-center gap-2 rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white shadow-sm transition hover:brightness-105 disabled:opacity-50",children:[(0,d.jsx)(k,{name:p?"progress_activity":"save",className:`text-[18px] ${p?"animate-spin":""}`}),"Lưu topology"]})]})]}),children:(0,d.jsxs)("div",{className:"space-y-5",children:[(0,d.jsx)("div",{className:"rounded-2xl border border-border bg-surface-2/50 p-4",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-primary/10 text-primary",children:(0,d.jsx)(k,{name:"link",className:"text-[21px]"})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("div",{className:"text-sm font-semibold text-text-main",children:"Provider Base URL"}),(0,d.jsx)("div",{className:"mt-1 break-all font-mono text-xs text-text-muted",children:a.baseUrl}),(0,d.jsx)("div",{className:"mt-2 text-xs leading-5 text-text-subtle",children:"Cấu h\xecnh tại đ\xe2y chỉ phục vụ sơ đồ v\xe0 telemetry. Kh\xf4ng sửa Provider, Combo, Nginx hay routing production."})]})]})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"mb-2 text-xs font-semibold uppercase tracking-[0.13em] text-text-subtle",children:"Base URL thực chất l\xe0"}),(0,d.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2",children:[(0,d.jsx)("button",{type:"button",onClick:()=>l("direct"),className:`rounded-2xl border p-4 text-left transition ${"direct"===i?"border-blue-500/50 bg-blue-500/8 ring-2 ring-blue-500/10":"border-border bg-surface hover:border-blue-500/25"}`,children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-blue-500/10 text-blue-500",children:(0,d.jsx)(k,{name:"memory",className:"text-[22px]"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:"Direct vLLM"}),(0,d.jsx)("div",{className:"mt-1 text-xs leading-5 text-text-muted",children:"Base URL ch\xednh l\xe0 vLLM endpoint. Hardware v\xe0 realtime metric lấy trực tiếp từ host/port n\xe0y."})]})]})}),(0,d.jsx)("button",{type:"button",onClick:()=>l("proxy"),className:`rounded-2xl border p-4 text-left transition ${"proxy"===i?"border-violet-500/50 bg-violet-500/8 ring-2 ring-violet-500/10":"border-border bg-surface hover:border-violet-500/25"}`,children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-violet-500/10 text-violet-500",children:(0,d.jsx)(k,{name:"account_tree",className:"text-[22px]"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-semibold text-text-main",children:"Proxy / Load Balancer"}),(0,d.jsx)("div",{className:"mt-1 text-xs leading-5 text-text-muted",children:"Base URL l\xe0 Nginx/HAProxy/LB. Khai b\xe1o c\xe1c real vLLM endpoint ph\xeda sau để topology v\xe0 metric đ\xfang compute node."})]})]})})]})]}),"proxy"===i?(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"text-sm font-semibold text-text-main",children:"Real vLLM endpoints"}),(0,d.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:"C\xf3 thể chọn instance Resource Monitor đ\xe3 discover hoặc nhập IP:port thủ c\xf4ng. Weight chỉ l\xe0 metadata m\xf4 tả LB, kh\xf4ng phải % traffic cố định."})]}),(0,d.jsxs)("button",{type:"button",onClick:y,className:"inline-flex items-center gap-2 rounded-xl border border-primary/25 bg-primary/5 px-3.5 py-2 text-xs font-semibold text-primary transition hover:bg-primary/10",children:[(0,d.jsx)(k,{name:"add_circle",className:"text-[17px]"}),"Th\xeam endpoint"]})]}),m.length?(0,d.jsx)("div",{className:"space-y-3",children:m.map((a,b)=>{let c;return(0,d.jsxs)("div",{className:"rounded-2xl border border-border bg-surface p-4 shadow-[var(--shadow-soft)]",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm font-semibold text-text-main",children:[(0,d.jsx)("span",{className:"flex h-7 w-7 items-center justify-center rounded-lg bg-emerald-500/10 text-xs font-bold text-emerald-600 dark:text-emerald-400",children:b+1}),"vLLM backend"]}),(0,d.jsx)("button",{type:"button",onClick:()=>n(b=>b.filter(b=>b.id!==a.id)),className:"flex h-8 w-8 items-center justify-center rounded-lg text-text-subtle transition hover:bg-red-500/10 hover:text-red-500",title:"X\xf3a endpoint",children:(0,d.jsx)(k,{name:"delete",className:"text-[18px]"})})]}),(0,d.jsxs)("div",{className:"mt-3 grid gap-3 lg:grid-cols-2",children:[(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1.5 block text-[11px] font-semibold text-text-muted",children:"Chọn từ Resource Monitor"}),(0,d.jsxs)("select",{value:(c=w.find(b=>j(b.host).toLowerCase()===j(a.host).toLowerCase()&&Number(b.port)===Number(a.port)),c?.key||""),onChange:b=>((a,b)=>{if(!b)return;let c=w.find(a=>a.key===b);c&&x(a,{host:c.host,port:String(c.port),label:c.label})})(a.id,b.target.value),className:"w-full rounded-xl border border-border bg-background px-3 py-2.5 text-sm text-text-main outline-none transition focus:border-primary",children:[(0,d.jsx)("option",{value:"",children:"Manual / giữ gi\xe1 trị b\xean dưới"}),w.map(a=>(0,d.jsxs)("option",{value:a.key,children:[a.label," \xb7 ",a.description]},a.key))]})]}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1.5 block text-[11px] font-semibold text-text-muted",children:"Nh\xe3n hiển thị"}),(0,d.jsx)("input",{value:a.label,onChange:b=>x(a.id,{label:b.target.value}),placeholder:"2\xd7 RTX 5090 TP2",className:"w-full rounded-xl border border-border bg-background px-3 py-2.5 text-sm text-text-main outline-none transition placeholder:text-text-subtle focus:border-primary"})]})]}),(0,d.jsxs)("div",{className:"mt-3 grid gap-3 sm:grid-cols-[minmax(0,1fr)_140px_140px]",children:[(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1.5 block text-[11px] font-semibold text-text-muted",children:"Host / IP"}),(0,d.jsx)("input",{value:a.host,onChange:b=>x(a.id,{host:b.target.value}),placeholder:"172.16.0.71",className:"w-full rounded-xl border border-border bg-background px-3 py-2.5 font-mono text-sm text-text-main outline-none transition placeholder:text-text-subtle focus:border-primary"})]}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1.5 block text-[11px] font-semibold text-text-muted",children:"Port"}),(0,d.jsx)("input",{type:"number",min:"1",max:"65535",value:a.port,onChange:b=>x(a.id,{port:b.target.value}),placeholder:"8000",className:"w-full rounded-xl border border-border bg-background px-3 py-2.5 font-mono text-sm text-text-main outline-none transition placeholder:text-text-subtle focus:border-primary"})]}),(0,d.jsxs)("label",{className:"block",children:[(0,d.jsx)("span",{className:"mb-1.5 block text-[11px] font-semibold text-text-muted",children:"Weight"}),(0,d.jsx)("input",{type:"number",min:"0",value:a.weight,onChange:b=>x(a.id,{weight:b.target.value}),placeholder:"50",className:"w-full rounded-xl border border-border bg-background px-3 py-2.5 font-mono text-sm text-text-main outline-none transition placeholder:text-text-subtle focus:border-primary"})]})]})]},a.id)})}):(0,d.jsxs)("button",{type:"button",onClick:y,className:"flex w-full flex-col items-center justify-center rounded-2xl border border-dashed border-border bg-surface-2/30 px-6 py-10 text-center transition hover:border-primary/30 hover:bg-primary/5",children:[(0,d.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:(0,d.jsx)(k,{name:"add_link",className:"text-[25px]"})}),(0,d.jsx)("div",{className:"mt-3 text-sm font-semibold text-text-main",children:"Th\xeam real vLLM endpoint đầu ti\xean"}),(0,d.jsx)("div",{className:"mt-1 text-xs text-text-muted",children:"Chọn từ Resource Monitor hoặc nhập IP:port thủ c\xf4ng."})]})]}):(0,d.jsxs)("div",{className:"rounded-2xl border border-blue-500/20 bg-blue-500/5 px-4 py-3 text-xs leading-5 text-blue-700 dark:text-blue-300",children:["Direct mode sẽ tiếp tục map ",(0,d.jsx)("span",{className:"font-mono font-semibold",children:a.baseUrl})," trực tiếp tới Resource Monitor host/port tương ứng."]}),t?(0,d.jsxs)("div",{className:"flex items-start gap-2 rounded-xl border border-red-500/20 bg-red-500/10 px-4 py-3 text-sm text-red-600 dark:text-red-300",children:[(0,d.jsx)(k,{name:"error",className:"mt-0.5 text-[18px]"}),(0,d.jsx)("span",{children:t})]}):null]})}):null}function w(){let[a,b]=(0,e.useState)(null),[c,f]=(0,e.useState)(null),[g,m]=(0,e.useState)(!0),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(""),[s,t]=(0,e.useState)(""),[w,x]=(0,e.useState)(!1),[y,z]=(0,e.useState)(null),A=(0,e.useCallback)(async({force:a=!1}={})=>{t(""),a&&o(!0);try{let c=await fetch(`/api/dashboard/routing-topology${a?"?refresh=1":""}`,{cache:"no-store"}),d=await c.json().catch(()=>({}));if(!c.ok)throw Error(d.error||"Kh\xf4ng tải được routing topology");return b(d),d}catch(a){return t(a?.message||"Kh\xf4ng tải được routing topology"),null}finally{m(!1),o(!1)}},[]),B=(0,e.useCallback)(async()=>{try{let a=await fetch("/api/dashboard/routing-topology/live",{cache:"no-store"}),b=await a.json().catch(()=>({}));if(!a.ok)throw Error(b.error||"Kh\xf4ng tải được realtime telemetry");f(b),q("")}catch(a){q(a?.message||"Kh\xf4ng tải được realtime telemetry")}},[]),C=(0,e.useMemo)(()=>new Map((a?.providers||[]).map(a=>[a.id,a])),[a]),D=(0,e.useMemo)(()=>new Map((a?.servers||[]).map(a=>[a.id,a])),[a]),E=(0,e.useMemo)(()=>new Map((c?.servers||[]).map(a=>[a.id,a])),[c]),F=(0,e.useMemo)(()=>(a?.combos||[]).filter(a=>a.isFocus),[a]),G=w||!F.length?a?.combos||[]:F,H=(0,e.useMemo)(()=>{let b=new Set,c=[];for(let d of a?.providers||[])for(let a of d.backends||[]){let d=a.vllmInstanceKey&&a.resourceServerId?`${a.resourceServerId}::${a.vllmInstanceKey}`:`${j(a.host).toLowerCase()}:${Number(a.port||0)}`;!d||b.has(d)||(b.add(d),c.push(a))}return c},[a]),I=(0,e.useMemo)(()=>r(H,D,E),[H,D,E]),J=(0,e.useCallback)(async()=>{await Promise.all([A({force:!0}),B()])},[B,A]);return g?(0,d.jsxs)("div",{className:"flex min-h-[55vh] flex-col items-center justify-center text-sm text-text-muted",children:[(0,d.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:(0,d.jsx)(k,{name:"account_tree",className:"animate-pulse text-[30px]"})}),(0,d.jsx)("div",{className:"mt-4",children:"Đang compile routing topology..."})]}):s&&!a?(0,d.jsxs)("div",{className:"rounded-3xl border border-red-500/20 bg-red-500/10 p-6 text-red-600 dark:text-red-300",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 font-semibold",children:[(0,d.jsx)(k,{name:"error"})," Kh\xf4ng tải được Routing Topology"]}),(0,d.jsx)("div",{className:"mt-2 text-sm",children:s}),(0,d.jsxs)("button",{type:"button",onClick:()=>A({force:!0}),className:"mt-4 inline-flex items-center gap-2 rounded-xl bg-red-500 px-4 py-2 text-sm font-semibold text-white",children:[(0,d.jsx)(k,{name:"refresh",className:"text-[18px]"})," Thử lại"]})]}):(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsxs)("section",{className:"relative overflow-hidden rounded-[30px] border border-border bg-gradient-to-br from-primary/8 via-surface to-cyan-500/7 p-6 shadow-[var(--shadow-soft)]",children:[(0,d.jsx)("div",{className:"absolute -right-20 -top-24 h-64 w-64 rounded-full bg-primary/8 blur-3xl"}),(0,d.jsx)("div",{className:"absolute -bottom-24 left-1/3 h-48 w-48 rounded-full bg-cyan-500/6 blur-3xl"}),(0,d.jsxs)("div",{className:"relative flex flex-wrap items-start justify-between gap-5",children:[(0,d.jsxs)("div",{className:"flex min-w-0 items-start gap-4",children:[(0,d.jsx)("div",{className:"flex h-14 w-14 shrink-0 items-center justify-center rounded-2xl bg-primary text-white shadow-lg shadow-primary/15",children:(0,d.jsx)(k,{name:"account_tree",className:"text-[31px]"})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("h1",{className:"text-2xl font-black tracking-tight text-text-main",children:"Routing Topology"}),(0,d.jsx)("span",{className:"rounded-full bg-red-500/10 px-2.5 py-1 text-[10px] font-bold uppercase tracking-wider text-red-600 dark:text-red-400",children:"Admin only"}),(0,d.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-emerald-500/10 px-2.5 py-1 text-[10px] font-bold uppercase tracking-wider text-emerald-600 dark:text-emerald-400",children:[(0,d.jsx)("span",{className:"h-1.5 w-1.5 animate-pulse rounded-full bg-emerald-500"})," Live telemetry"]})]}),(0,d.jsx)("p",{className:"mt-2 max-w-3xl text-sm leading-6 text-text-muted",children:"Combos → local compatible providers → Direct vLLM hoặc Proxy/LB → real vLLM compute. Topology tĩnh được cache; realtime metric cập nhật ri\xeang v\xe0 tự dừng khi tab bị ẩn."}),(0,d.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-x-4 gap-y-1 text-[11px] text-text-subtle",children:[(0,d.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,d.jsx)(k,{name:"fingerprint",className:"text-[14px]"})," rev ",a?.revision||"—"]}),(0,d.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,d.jsx)(k,{name:"schema",className:"text-[14px]"})," topology ",i(a?.generatedAt)]}),(0,d.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,d.jsx)(k,{name:"monitor_heart",className:"text-[14px]"})," telemetry ",i(c?.generatedAt)]})]})]})]}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(a?.combos||[]).length>F.length&&F.length?(0,d.jsxs)("button",{type:"button",onClick:()=>x(a=>!a),className:"inline-flex items-center gap-2 rounded-xl border border-border bg-background/80 px-3.5 py-2.5 text-sm font-semibold text-text-muted shadow-sm transition hover:border-primary/30 hover:text-primary",children:[(0,d.jsx)(k,{name:w?"filter_alt":"view_list",className:"text-[18px]"}),w?"Chỉ combo ch\xednh":"Hiện tất cả combo"]}):null,(0,d.jsxs)("button",{type:"button",onClick:()=>A({force:!0}),disabled:n,className:"inline-flex items-center gap-2 rounded-xl bg-primary px-4 py-2.5 text-sm font-semibold text-white shadow-sm transition hover:brightness-105 disabled:opacity-60",children:[(0,d.jsx)(k,{name:"refresh",className:`text-[18px] ${n?"animate-spin":""}`}),"Rebuild topology"]})]})]})]}),s?(0,d.jsxs)("div",{className:"flex items-start gap-2 rounded-xl border border-amber-500/20 bg-amber-500/10 px-4 py-3 text-sm text-amber-700 dark:text-amber-300",children:[(0,d.jsx)(k,{name:"warning",className:"mt-0.5 text-[18px]"})," ",s]}):null,p?(0,d.jsxs)("div",{className:"flex items-start gap-2 rounded-xl border border-red-500/20 bg-red-500/10 px-4 py-3 text-sm text-red-600 dark:text-red-300",children:[(0,d.jsx)(k,{name:"wifi_off",className:"mt-0.5 text-[18px]"})," Realtime: ",p]}):null,a?.standby||c?.standby?(0,d.jsxs)("div",{className:"flex items-start gap-2 rounded-xl border border-blue-500/20 bg-blue-500/10 px-4 py-3 text-sm text-blue-700 dark:text-blue-300",children:[(0,d.jsx)(k,{name:"pause_circle",className:"mt-0.5 text-[18px]"})," Standby node: topology chỉ đọc snapshot đ\xe3 c\xf3 v\xe0 kh\xf4ng cho sửa override."]}):null,(0,d.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2 xl:grid-cols-5",children:[(0,d.jsx)(l,{icon:"layers",label:"Combos",value:a?.summary?.comboCount??0,detail:`${a?.summary?.focusComboCount??0} main combos`,tone:"blue"}),(0,d.jsx)(l,{icon:"hub",label:"Proxy / LB",value:a?.summary?.proxyProviderCount??0,detail:`${a?.summary?.localProviderCount??0} local providers`,tone:"violet"}),(0,d.jsx)(l,{icon:"memory",label:"vLLM backends",value:`${I.online}/${I.total}`,detail:"live / configured",tone:"emerald"}),(0,d.jsx)(l,{icon:"hourglass_top",label:"Running / Waiting",value:`${h(I.running,0)} / ${h(I.waiting,0)}`,detail:"unique compute endpoints",tone:"amber"}),(0,d.jsx)(l,{icon:"speed",label:"Aggregate out",value:`${h(I.output)}${null==I.output?"":" tok/s"}`,detail:"wall-clock vLLM throughput",tone:"cyan"})]}),(0,d.jsxs)("div",{className:"grid gap-3 lg:grid-cols-2",children:[(0,d.jsx)("div",{className:"rounded-2xl border border-border bg-surface px-4 py-3 text-xs leading-5 text-text-muted shadow-[var(--shadow-soft)]",children:(0,d.jsxs)("div",{className:"flex items-start gap-2",children:[(0,d.jsx)(k,{name:"route",className:"mt-0.5 text-[18px] text-primary"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"font-semibold text-text-main",children:"Configured routing:"})," đường nối m\xf4 tả cấu h\xecnh Combo/Provider. Đ\xe2y kh\xf4ng phải per-request trace, n\xean trang kh\xf4ng giả request cụ thể đ\xe3 đi qua edge n\xe0o."]})]})}),(0,d.jsx)("div",{className:"rounded-2xl border border-border bg-surface px-4 py-3 text-xs leading-5 text-text-muted shadow-[var(--shadow-soft)]",children:(0,d.jsxs)("div",{className:"flex items-start gap-2",children:[(0,d.jsx)(k,{name:"edit_square",className:"mt-0.5 text-[18px] text-violet-500"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"font-semibold text-text-main",children:"Topology override:"})," bấm ",(0,d.jsx)("span",{className:"font-semibold",children:"Edit topology"})," ngay tr\xean provider để khai b\xe1o Direct vLLM hoặc Proxy/LB v\xe0 real endpoints. Kh\xf4ng thay đổi `/dashboard/providers`."]})]})})]}),a?.summary?.unresolvedTargets||a?.summary?.unresolvedBackends?(0,d.jsxs)("div",{className:"flex items-start gap-3 rounded-2xl border border-amber-500/20 bg-amber-500/10 px-4 py-3 text-sm text-amber-700 dark:text-amber-300",children:[(0,d.jsx)(k,{name:"warning",className:"mt-0.5 text-[20px]"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-semibold",children:"Topology cần admin kiểm tra"}),(0,d.jsxs)("div",{className:"mt-1 text-xs leading-5",children:[a?.summary?.unresolvedTargets||0," combo target chưa resolve provider \xb7 ",a?.summary?.unresolvedBackends||0," compute endpoint chưa map ch\xednh x\xe1c tới vLLM instance trong Resource Monitor."]})]})]}):null,(0,d.jsx)("div",{className:"space-y-4",children:G.length?G.map(a=>(0,d.jsx)(u,{combo:a,providerMap:C,serverMap:D,liveMap:E,onEdit:z},a.id||a.name)):(0,d.jsx)("div",{className:"rounded-3xl border border-dashed border-border bg-surface p-10 text-center text-sm text-text-muted",children:"Kh\xf4ng c\xf3 combo n\xe0o để hiển thị."})}),(0,d.jsx)(v,{provider:y,topology:a,open:!!y,onClose:()=>z(null),onSaved:J})]})}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,2430,8316,8946,402,5681,4404,6064,6328,8640],()=>b(b.s=13385));module.exports=c})();