@amir83nasr/10router 0.1.7 → 0.1.9

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 (838) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +10 -9
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/prerender-manifest.json +23 -23
  5. package/.next/react-loadable-manifest.json +9 -0
  6. package/.next/routes-manifest.json +6 -0
  7. package/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  8. package/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  9. package/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  11. package/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  12. package/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  13. package/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  14. package/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  15. package/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  16. package/.next/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  17. package/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  18. package/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  19. package/.next/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  20. package/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  21. package/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  22. package/.next/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  23. package/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  24. package/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  25. package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.js +2 -2
  26. package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.js.nft.json +1 -1
  27. package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/[id]/page_client-reference-manifest.js +1 -1
  28. package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/page.js +1 -1
  29. package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/page.js.nft.json +1 -1
  30. package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/page_client-reference-manifest.js +1 -1
  31. package/.next/server/app/(dashboard)/dashboard/page.js +1 -1
  32. package/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  33. package/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  34. package/.next/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  35. package/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  36. package/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  37. package/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  38. package/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  39. package/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  40. package/.next/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  41. package/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  42. package/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  43. package/.next/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  44. package/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  45. package/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  46. package/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  47. package/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  48. package/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  49. package/.next/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  50. package/.next/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  51. package/.next/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  52. package/.next/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  53. package/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  54. package/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  55. package/.next/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  56. package/.next/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  57. package/.next/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  58. package/.next/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  59. package/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  60. package/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  61. package/.next/server/app/_global-error/page.js +2 -2
  62. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  63. package/.next/server/app/_global-error.html +1 -1
  64. package/.next/server/app/_global-error.rsc +1 -1
  65. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  66. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  67. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  68. package/.next/server/app/_not-found/page.js +1 -1
  69. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  70. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  71. package/.next/server/app/_not-found.html +1 -1
  72. package/.next/server/app/_not-found.rsc +6 -6
  73. package/.next/server/app/_not-found.segments/_full.segment.rsc +6 -6
  74. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +6 -6
  75. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  76. package/.next/server/app/api/auth/login/route.js +1 -1
  77. package/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  78. package/.next/server/app/api/auth/logout/route.js +1 -1
  79. package/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  80. package/.next/server/app/api/auth/oidc/callback/route.js +1 -1
  81. package/.next/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  82. package/.next/server/app/api/auth/oidc/start/route.js +1 -1
  83. package/.next/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  84. package/.next/server/app/api/auth/oidc/test/route.js +1 -1
  85. package/.next/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  86. package/.next/server/app/api/auth/reset-password/route.js +1 -1
  87. package/.next/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  88. package/.next/server/app/api/auth/saml/acs/route.js +1 -1
  89. package/.next/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  90. package/.next/server/app/api/auth/saml/metadata/route.js +2 -2
  91. package/.next/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  92. package/.next/server/app/api/auth/saml/start/route.js +2 -2
  93. package/.next/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  94. package/.next/server/app/api/auth/saml/test/route.js +1 -1
  95. package/.next/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  96. package/.next/server/app/api/auth/status/route.js +1 -1
  97. package/.next/server/app/api/auth/status/route.js.nft.json +1 -1
  98. package/.next/server/app/api/changelog/route.js +1 -1
  99. package/.next/server/app/api/cli-tools/all-statuses/route.js +1 -1
  100. package/.next/server/app/api/cli-tools/claude-settings/route.js +1 -1
  101. package/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
  102. package/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  103. package/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  104. package/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  105. package/.next/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  106. package/.next/server/app/api/cli-tools/dsh-settings/route.js +1 -1
  107. package/.next/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  108. package/.next/server/app/api/combos/[id]/route.js +1 -1
  109. package/.next/server/app/api/combos/[id]/route.js.nft.json +1 -1
  110. package/.next/server/app/api/combos/route.js +1 -1
  111. package/.next/server/app/api/combos/route.js.nft.json +1 -1
  112. package/.next/server/app/api/headroom/extras/route.js +1 -1
  113. package/.next/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  114. package/.next/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  115. package/.next/server/app/api/headroom/restart/route.js +1 -1
  116. package/.next/server/app/api/headroom/restart/route.js.nft.json +1 -1
  117. package/.next/server/app/api/headroom/start/route.js +1 -1
  118. package/.next/server/app/api/headroom/start/route.js.nft.json +1 -1
  119. package/.next/server/app/api/headroom/status/route.js +1 -1
  120. package/.next/server/app/api/headroom/status/route.js.nft.json +1 -1
  121. package/.next/server/app/api/headroom/stop/route.js +1 -1
  122. package/.next/server/app/api/health/route.js +1 -1
  123. package/.next/server/app/api/init/route.js +1 -1
  124. package/.next/server/app/api/keys/[id]/route.js +1 -1
  125. package/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
  126. package/.next/server/app/api/keys/route.js +1 -1
  127. package/.next/server/app/api/keys/route.js.nft.json +1 -1
  128. package/.next/server/app/api/locale/route.js +1 -1
  129. package/.next/server/app/api/mcp/[plugin]/message/route.js +2 -2
  130. package/.next/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  131. package/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  132. package/.next/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  133. package/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  134. package/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  135. package/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  136. package/.next/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  137. package/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  138. package/.next/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  139. package/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
  140. package/.next/server/app/api/models/alias/route.js +1 -1
  141. package/.next/server/app/api/models/alias/route.js.nft.json +1 -1
  142. package/.next/server/app/api/models/availability/route.js +1 -1
  143. package/.next/server/app/api/models/availability/route.js.nft.json +1 -1
  144. package/.next/server/app/api/models/catalog-sync/route.js +1 -1
  145. package/.next/server/app/api/models/custom/route.js +1 -1
  146. package/.next/server/app/api/models/custom/route.js.nft.json +1 -1
  147. package/.next/server/app/api/models/disabled/route.js +1 -1
  148. package/.next/server/app/api/models/disabled/route.js.nft.json +1 -1
  149. package/.next/server/app/api/models/route.js +1 -1
  150. package/.next/server/app/api/models/route.js.nft.json +1 -1
  151. package/.next/server/app/api/models/test/route.js +1 -1
  152. package/.next/server/app/api/models/test/route.js.nft.json +1 -1
  153. package/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  154. package/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  155. package/.next/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  156. package/.next/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  157. package/.next/server/app/api/oauth/codex/import-token/route.js +1 -1
  158. package/.next/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  159. package/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  160. package/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  161. package/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  162. package/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
  163. package/.next/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  164. package/.next/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  165. package/.next/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  166. package/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
  167. package/.next/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  168. package/.next/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  169. package/.next/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  170. package/.next/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  171. package/.next/server/app/api/pricing/route.js +1 -1
  172. package/.next/server/app/api/pricing/route.js.nft.json +1 -1
  173. package/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  174. package/.next/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  175. package/.next/server/app/api/provider-nodes/route.js +1 -1
  176. package/.next/server/app/api/provider-nodes/route.js.nft.json +1 -1
  177. package/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  178. package/.next/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  179. package/.next/server/app/api/providers/[id]/models/route.js +1 -1
  180. package/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  181. package/.next/server/app/api/providers/[id]/route.js +1 -1
  182. package/.next/server/app/api/providers/[id]/route.js.nft.json +1 -1
  183. package/.next/server/app/api/providers/[id]/test/route.js +1 -1
  184. package/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  185. package/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
  186. package/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  187. package/.next/server/app/api/providers/client/route.js +1 -1
  188. package/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  189. package/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
  190. package/.next/server/app/api/providers/route.js +1 -1
  191. package/.next/server/app/api/providers/route.js.nft.json +1 -1
  192. package/.next/server/app/api/providers/suggested-models/route.js +1 -1
  193. package/.next/server/app/api/providers/test-batch/route.js +1 -1
  194. package/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  195. package/.next/server/app/api/providers/validate/route.js +1 -1
  196. package/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  197. package/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
  198. package/.next/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  199. package/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  200. package/.next/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  201. package/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
  202. package/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  203. package/.next/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  204. package/.next/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  205. package/.next/server/app/api/proxy-pools/route.js +1 -1
  206. package/.next/server/app/api/proxy-pools/route.js.nft.json +1 -1
  207. package/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  208. package/.next/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  209. package/.next/server/app/api/pxpipe/health/route.js +2 -2
  210. package/.next/server/app/api/pxpipe/install/route.js +1 -1
  211. package/.next/server/app/api/pxpipe/logs/route.js +1 -1
  212. package/.next/server/app/api/pxpipe/restart/route.js +1 -1
  213. package/.next/server/app/api/pxpipe/start/route.js +1 -1
  214. package/.next/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  215. package/.next/server/app/api/pxpipe/stats/route.js +2 -2
  216. package/.next/server/app/api/pxpipe/status/route.js +1 -1
  217. package/.next/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  218. package/.next/server/app/api/pxpipe/stop/route.js +2 -2
  219. package/.next/server/app/api/settings/database/route.js +1 -1
  220. package/.next/server/app/api/settings/database/route.js.nft.json +1 -1
  221. package/.next/server/app/api/settings/proxy-test/route.js +1 -1
  222. package/.next/server/app/api/settings/require-login/route.js +1 -1
  223. package/.next/server/app/api/settings/require-login/route.js.nft.json +1 -1
  224. package/.next/server/app/api/settings/route.js +1 -1
  225. package/.next/server/app/api/settings/route.js.nft.json +1 -1
  226. package/.next/server/app/api/shutdown/route.js +1 -1
  227. package/.next/server/app/api/tags/route.js +1 -1
  228. package/.next/server/app/api/translator/console-logs/route.js +1 -1
  229. package/.next/server/app/api/translator/console-logs/stream/route.js +1 -1
  230. package/.next/server/app/api/translator/load/route.js +1 -1
  231. package/.next/server/app/api/translator/save/route.js +1 -1
  232. package/.next/server/app/api/translator/send/route.js +1 -1
  233. package/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  234. package/.next/server/app/api/translator/translate/route.js +1 -1
  235. package/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  236. package/.next/server/app/api/tunnel/disable/route.js +1 -1
  237. package/.next/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  238. package/.next/server/app/api/tunnel/enable/route.js +1 -1
  239. package/.next/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  240. package/.next/server/app/api/tunnel/status/route.js +1 -1
  241. package/.next/server/app/api/tunnel/status/route.js.nft.json +1 -1
  242. package/.next/server/app/api/tunnel/tailscale-check/route.js +1 -1
  243. package/.next/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  244. package/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  245. package/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  246. package/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  247. package/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  248. package/.next/server/app/api/tunnel/tailscale-install/route.js +2 -2
  249. package/.next/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  250. package/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  251. package/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  252. package/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  253. package/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  254. package/.next/server/app/api/usage/chart/route.js +1 -1
  255. package/.next/server/app/api/usage/chart/route.js.nft.json +1 -1
  256. package/.next/server/app/api/usage/health/route.js +1 -0
  257. package/.next/server/app/api/usage/health/route.js.nft.json +1 -0
  258. package/.next/server/app/api/usage/health/route_client-reference-manifest.js +1 -0
  259. package/.next/server/app/api/usage/history/route.js +1 -1
  260. package/.next/server/app/api/usage/history/route.js.nft.json +1 -1
  261. package/.next/server/app/api/usage/logs/route.js +1 -1
  262. package/.next/server/app/api/usage/logs/route.js.nft.json +1 -1
  263. package/.next/server/app/api/usage/providers/route.js +1 -1
  264. package/.next/server/app/api/usage/providers/route.js.nft.json +1 -1
  265. package/.next/server/app/api/usage/request-details/route.js +1 -1
  266. package/.next/server/app/api/usage/request-details/route.js.nft.json +1 -1
  267. package/.next/server/app/api/usage/request-logs/route.js +1 -1
  268. package/.next/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  269. package/.next/server/app/api/usage/stats/route.js +1 -1
  270. package/.next/server/app/api/usage/stats/route.js.nft.json +1 -1
  271. package/.next/server/app/api/usage/stream/route.js +2 -6
  272. package/.next/server/app/api/usage/stream/route.js.nft.json +1 -1
  273. package/.next/server/app/api/v1/api/chat/route.js +1 -1
  274. package/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  275. package/.next/server/app/api/v1/audio/speech/route.js +1 -1
  276. package/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  277. package/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  278. package/.next/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  279. package/.next/server/app/api/v1/audio/voices/route.js +1 -1
  280. package/.next/server/app/api/v1/chat/completions/route.js +1 -1
  281. package/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  282. package/.next/server/app/api/v1/embeddings/route.js +1 -1
  283. package/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  284. package/.next/server/app/api/v1/images/generations/route.js +2 -2
  285. package/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  286. package/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  287. package/.next/server/app/api/v1/messages/route.js +1 -1
  288. package/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  289. package/.next/server/app/api/v1/models/[...model]/route.js +1 -1
  290. package/.next/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  291. package/.next/server/app/api/v1/models/info/route.js +1 -1
  292. package/.next/server/app/api/v1/models/route.js +1 -1
  293. package/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  294. package/.next/server/app/api/v1/responses/compact/route.js +1 -1
  295. package/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  296. package/.next/server/app/api/v1/responses/route.js +1 -1
  297. package/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  298. package/.next/server/app/api/v1/route.js +1 -1
  299. package/.next/server/app/api/v1/route.js.nft.json +1 -1
  300. package/.next/server/app/api/v1/search/route.js +1 -1
  301. package/.next/server/app/api/v1/search/route.js.nft.json +1 -1
  302. package/.next/server/app/api/v1/systemone/route.js +1 -1
  303. package/.next/server/app/api/v1/systemone/route.js.nft.json +1 -1
  304. package/.next/server/app/api/v1/videos/[id]/route.js +1 -1
  305. package/.next/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  306. package/.next/server/app/api/v1/videos/edits/route.js +1 -1
  307. package/.next/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  308. package/.next/server/app/api/v1/videos/extensions/route.js +1 -1
  309. package/.next/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  310. package/.next/server/app/api/v1/videos/generations/route.js +1 -1
  311. package/.next/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  312. package/.next/server/app/api/v1/web/fetch/route.js +1 -1
  313. package/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  314. package/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  315. package/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  316. package/.next/server/app/api/v1beta/models/route.js +1 -1
  317. package/.next/server/app/api/version/route.js +1 -1
  318. package/.next/server/app/api/version/shutdown/route.js +1 -1
  319. package/.next/server/app/api/version/shutdown/route.js.nft.json +1 -1
  320. package/.next/server/app/api/version/update/route.js +1 -1
  321. package/.next/server/app/callback/page.js +1 -1
  322. package/.next/server/app/callback/page.js.nft.json +1 -1
  323. package/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  324. package/.next/server/app/callback.html +1 -1
  325. package/.next/server/app/callback.rsc +6 -6
  326. package/.next/server/app/callback.segments/_full.segment.rsc +6 -6
  327. package/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
  328. package/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +6 -6
  329. package/.next/server/app/dashboard/basic-chat.html +1 -1
  330. package/.next/server/app/dashboard/basic-chat.rsc +7 -7
  331. package/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +7 -7
  332. package/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +7 -7
  333. package/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  334. package/.next/server/app/dashboard/cli-tools.html +1 -1
  335. package/.next/server/app/dashboard/cli-tools.rsc +8 -8
  336. package/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +8 -8
  337. package/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
  338. package/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  339. package/.next/server/app/dashboard/combos.html +1 -1
  340. package/.next/server/app/dashboard/combos.rsc +8 -8
  341. package/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +8 -8
  342. package/.next/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
  343. package/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  344. package/.next/server/app/dashboard/endpoint.html +1 -1
  345. package/.next/server/app/dashboard/endpoint.rsc +8 -8
  346. package/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +8 -8
  347. package/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
  348. package/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  349. package/.next/server/app/dashboard/media-providers/systemone.html +1 -1
  350. package/.next/server/app/dashboard/media-providers/systemone.rsc +8 -8
  351. package/.next/server/app/dashboard/media-providers/systemone.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/systemone/__PAGE__.segment.rsc +8 -8
  352. package/.next/server/app/dashboard/media-providers/systemone.segments/_full.segment.rsc +8 -8
  353. package/.next/server/app/dashboard/media-providers/systemone.segments/_tree.segment.rsc +2 -2
  354. package/.next/server/app/dashboard/profile.html +1 -1
  355. package/.next/server/app/dashboard/profile.rsc +8 -8
  356. package/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +8 -8
  357. package/.next/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
  358. package/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  359. package/.next/server/app/dashboard/providers/new.html +1 -1
  360. package/.next/server/app/dashboard/providers/new.rsc +8 -8
  361. package/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +8 -8
  362. package/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
  363. package/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  364. package/.next/server/app/dashboard/providers.html +1 -1
  365. package/.next/server/app/dashboard/providers.rsc +8 -8
  366. package/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +8 -8
  367. package/.next/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
  368. package/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  369. package/.next/server/app/dashboard/proxy-pools.html +1 -1
  370. package/.next/server/app/dashboard/proxy-pools.rsc +8 -8
  371. package/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +8 -8
  372. package/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
  373. package/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  374. package/.next/server/app/dashboard/pxpipe.html +1 -1
  375. package/.next/server/app/dashboard/pxpipe.rsc +8 -8
  376. package/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +8 -8
  377. package/.next/server/app/dashboard/pxpipe.segments/_full.segment.rsc +8 -8
  378. package/.next/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  379. package/.next/server/app/dashboard/quota.html +2 -2
  380. package/.next/server/app/dashboard/quota.rsc +9 -9
  381. package/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +9 -9
  382. package/.next/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
  383. package/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  384. package/.next/server/app/dashboard/settings/pricing/page.js +1 -1
  385. package/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  386. package/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  387. package/.next/server/app/dashboard/settings/pricing.html +1 -1
  388. package/.next/server/app/dashboard/settings/pricing.rsc +7 -7
  389. package/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +7 -7
  390. package/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  391. package/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +7 -7
  392. package/.next/server/app/dashboard/token-saver.html +1 -1
  393. package/.next/server/app/dashboard/token-saver.rsc +7 -7
  394. package/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +7 -7
  395. package/.next/server/app/dashboard/token-saver.segments/_full.segment.rsc +7 -7
  396. package/.next/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  397. package/.next/server/app/dashboard/usage.html +2 -2
  398. package/.next/server/app/dashboard/usage.rsc +8 -8
  399. package/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +8 -8
  400. package/.next/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
  401. package/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  402. package/.next/server/app/dashboard.html +1 -1
  403. package/.next/server/app/dashboard.rsc +8 -8
  404. package/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +8 -8
  405. package/.next/server/app/dashboard.segments/_full.segment.rsc +8 -8
  406. package/.next/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  407. package/.next/server/app/index.html +1 -1
  408. package/.next/server/app/index.rsc +6 -6
  409. package/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -6
  410. package/.next/server/app/index.segments/_full.segment.rsc +6 -6
  411. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  412. package/.next/server/app/landing/page.js +1 -1
  413. package/.next/server/app/landing/page.js.nft.json +1 -1
  414. package/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  415. package/.next/server/app/landing.html +1 -1
  416. package/.next/server/app/landing.rsc +6 -6
  417. package/.next/server/app/landing.segments/_full.segment.rsc +6 -6
  418. package/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
  419. package/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
  420. package/.next/server/app/login/page.js +1 -1
  421. package/.next/server/app/login/page.js.nft.json +1 -1
  422. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  423. package/.next/server/app/login.html +1 -1
  424. package/.next/server/app/login.rsc +6 -6
  425. package/.next/server/app/login.segments/_full.segment.rsc +6 -6
  426. package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  427. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +6 -6
  428. package/.next/server/app/manifest.webmanifest/route.js +2 -2
  429. package/.next/server/app/page.js +1 -1
  430. package/.next/server/app/page.js.nft.json +1 -1
  431. package/.next/server/app/page_client-reference-manifest.js +1 -1
  432. package/.next/server/app-paths-manifest.json +10 -9
  433. package/.next/server/chunks/1003.js +1 -1
  434. package/.next/server/chunks/1011.js +1 -1
  435. package/.next/server/chunks/1194.js +1 -1
  436. package/.next/server/chunks/1289.js +1 -1
  437. package/.next/server/chunks/1412.js +1 -1
  438. package/.next/server/chunks/1633.js +1 -1
  439. package/.next/server/chunks/1985.js +1 -1
  440. package/.next/server/chunks/2282.js +8 -4
  441. package/.next/server/chunks/2339.js +1 -1
  442. package/.next/server/chunks/2801.js +1 -1
  443. package/.next/server/chunks/3250.js +2 -2
  444. package/.next/server/chunks/3425.js +1 -1
  445. package/.next/server/chunks/4364.js +1 -1
  446. package/.next/server/chunks/460.js +1 -1
  447. package/.next/server/chunks/5412.js +1 -1
  448. package/.next/server/chunks/5761.js +1 -1
  449. package/.next/server/chunks/6056.js +1 -1
  450. package/.next/server/chunks/6343.js +3 -3
  451. package/.next/server/chunks/6823.js +1 -1
  452. package/.next/server/chunks/7019.js +2 -2
  453. package/.next/server/chunks/7348.js +1 -1
  454. package/.next/server/chunks/7504.js +1 -1
  455. package/.next/server/chunks/7535.js +2 -2
  456. package/.next/server/chunks/8923.js +1 -1
  457. package/.next/server/chunks/9018.js +1 -1
  458. package/.next/server/chunks/9250.js +1 -1
  459. package/.next/server/chunks/9429.js +1 -1
  460. package/.next/server/chunks/9646.js +1 -1
  461. package/.next/server/chunks/9817.js +67 -0
  462. package/.next/server/middleware-build-manifest.js +1 -1
  463. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  464. package/.next/server/middleware.js +1 -1
  465. package/.next/server/middleware.js.nft.json +1 -1
  466. package/.next/server/pages/404.html +1 -1
  467. package/.next/server/pages/500.html +1 -1
  468. package/.next/server/server-reference-manifest.js +1 -1
  469. package/.next/server/server-reference-manifest.json +1 -1
  470. package/.next/static/awjDWqWCZbU3VVSuN7-oA/_buildManifest.js +1 -0
  471. package/.next/static/chunks/{1278-db66df071a072f90.js → 1278-efb46cc82262aa4e.js} +1 -1
  472. package/.next/static/chunks/{1830-901fe48c3c62604f.js → 1830-d26d77c95932d7ce.js} +1 -1
  473. package/.next/static/chunks/1940.1f30124180f22498.js +1 -0
  474. package/.next/static/chunks/2836-d97f0aa2718945d5.js +1 -0
  475. package/.next/static/chunks/3445-99e12528f235cedb.js +1 -0
  476. package/.next/static/chunks/6770-e2921b2ce695ed57.js +1 -0
  477. package/.next/static/chunks/7276-a15e4d56ec28aba8.js +1 -0
  478. package/.next/static/chunks/9369-0d43b295968c2168.js +1 -0
  479. package/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-93cc9fc8f8ab938b.js → page-e8bceccb95695755.js} +2 -2
  480. package/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-adee408d9de02423.js +1 -0
  481. package/.next/static/chunks/app/(dashboard)/dashboard/combos/page-d4c1e29e8d038f09.js +1 -0
  482. package/.next/static/chunks/app/(dashboard)/dashboard/console-log/{page-168534817f7aecd8.js → page-139200833f7a4ecc.js} +1 -1
  483. package/.next/static/chunks/app/(dashboard)/dashboard/endpoint/{page-13abc5b934c960d3.js → page-67516b120adbc4d7.js} +1 -1
  484. package/.next/static/chunks/app/(dashboard)/dashboard/media-providers/systemone/[id]/{page-fb90d8451f40b8b3.js → page-b751d9603cb82e62.js} +1 -1
  485. package/.next/static/chunks/app/(dashboard)/dashboard/{page-85118ef708c624e6.js → page-315c9f52c472a700.js} +1 -1
  486. package/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-36659d3f8756c897.js → page-d5d480e209fdc55a.js} +1 -1
  487. package/.next/static/chunks/app/(dashboard)/dashboard/providers/new/{page-81f2d7e490f1c69c.js → page-61b87a31ba21a055.js} +1 -1
  488. package/.next/static/chunks/app/(dashboard)/dashboard/providers/page-2396571281d02804.js +1 -0
  489. package/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-247f59d088891437.js → page-cfd6bcb7e55d7d18.js} +2 -2
  490. package/.next/static/chunks/app/(dashboard)/dashboard/pxpipe/{page-696cb5c2703ca1ec.js → page-4d758f53c8cfc308.js} +1 -1
  491. package/.next/static/chunks/app/(dashboard)/dashboard/quota/page-fef6edb7aafd8bd0.js +1 -0
  492. package/.next/static/chunks/app/(dashboard)/dashboard/usage/page-697f46461825d7fc.js +1 -0
  493. package/.next/static/chunks/app/(dashboard)/{layout-667f17706a5e1896.js → layout-5039502fc12707c9.js} +1 -1
  494. package/.next/static/chunks/app/_global-error/{page-fe947d4ab19df968.js → page-9a2a13ac6b89ba91.js} +1 -1
  495. package/.next/static/chunks/app/api/auth/login/{route-fe947d4ab19df968.js → route-9a2a13ac6b89ba91.js} +1 -1
  496. package/.next/static/chunks/app/api/auth/logout/{route-fe947d4ab19df968.js → route-9a2a13ac6b89ba91.js} +1 -1
  497. package/.next/static/chunks/app/api/auth/oidc/callback/{route-fe947d4ab19df968.js → route-9a2a13ac6b89ba91.js} +1 -1
  498. package/.next/static/chunks/app/api/auth/oidc/start/route-9a2a13ac6b89ba91.js +1 -0
  499. package/.next/static/chunks/app/api/auth/oidc/test/route-9a2a13ac6b89ba91.js +1 -0
  500. package/.next/static/chunks/app/api/auth/reset-password/route-9a2a13ac6b89ba91.js +1 -0
  501. package/.next/static/chunks/app/api/auth/saml/acs/route-9a2a13ac6b89ba91.js +1 -0
  502. package/.next/static/chunks/app/api/auth/saml/metadata/route-9a2a13ac6b89ba91.js +1 -0
  503. package/.next/static/chunks/app/api/auth/saml/start/route-9a2a13ac6b89ba91.js +1 -0
  504. package/.next/static/chunks/app/api/auth/saml/test/route-9a2a13ac6b89ba91.js +1 -0
  505. package/.next/static/chunks/app/api/auth/status/route-9a2a13ac6b89ba91.js +1 -0
  506. package/.next/static/chunks/app/api/changelog/route-9a2a13ac6b89ba91.js +1 -0
  507. package/.next/static/chunks/app/api/cli-tools/all-statuses/route-9a2a13ac6b89ba91.js +1 -0
  508. package/.next/static/chunks/app/api/cli-tools/claude-settings/route-9a2a13ac6b89ba91.js +1 -0
  509. package/.next/static/chunks/app/api/cli-tools/codex-settings/route-9a2a13ac6b89ba91.js +1 -0
  510. package/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-9a2a13ac6b89ba91.js +1 -0
  511. package/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-9a2a13ac6b89ba91.js +1 -0
  512. package/.next/static/chunks/app/api/cli-tools/cowork-settings/route-9a2a13ac6b89ba91.js +1 -0
  513. package/.next/static/chunks/app/api/cli-tools/dsh-settings/route-9a2a13ac6b89ba91.js +1 -0
  514. package/.next/static/chunks/app/api/cli-tools/opencode-settings/route-9a2a13ac6b89ba91.js +1 -0
  515. package/.next/static/chunks/app/api/combos/[id]/route-9a2a13ac6b89ba91.js +1 -0
  516. package/.next/static/chunks/app/api/combos/route-9a2a13ac6b89ba91.js +1 -0
  517. package/.next/static/chunks/app/api/headroom/extras/route-9a2a13ac6b89ba91.js +1 -0
  518. package/.next/static/chunks/app/api/headroom/proxy/[...path]/route-9a2a13ac6b89ba91.js +1 -0
  519. package/.next/static/chunks/app/api/headroom/restart/route-9a2a13ac6b89ba91.js +1 -0
  520. package/.next/static/chunks/app/api/headroom/start/route-9a2a13ac6b89ba91.js +1 -0
  521. package/.next/static/chunks/app/api/headroom/status/route-9a2a13ac6b89ba91.js +1 -0
  522. package/.next/static/chunks/app/api/headroom/stop/route-9a2a13ac6b89ba91.js +1 -0
  523. package/.next/static/chunks/app/api/health/route-9a2a13ac6b89ba91.js +1 -0
  524. package/.next/static/chunks/app/api/init/route-9a2a13ac6b89ba91.js +1 -0
  525. package/.next/static/chunks/app/api/keys/[id]/route-9a2a13ac6b89ba91.js +1 -0
  526. package/.next/static/chunks/app/api/keys/route-9a2a13ac6b89ba91.js +1 -0
  527. package/.next/static/chunks/app/api/locale/route-9a2a13ac6b89ba91.js +1 -0
  528. package/.next/static/chunks/app/api/mcp/[plugin]/message/route-9a2a13ac6b89ba91.js +1 -0
  529. package/.next/static/chunks/app/api/mcp/[plugin]/sse/route-9a2a13ac6b89ba91.js +1 -0
  530. package/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-9a2a13ac6b89ba91.js +1 -0
  531. package/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-9a2a13ac6b89ba91.js +1 -0
  532. package/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-9a2a13ac6b89ba91.js +1 -0
  533. package/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-9a2a13ac6b89ba91.js +1 -0
  534. package/.next/static/chunks/app/api/media-providers/tts/voices/route-9a2a13ac6b89ba91.js +1 -0
  535. package/.next/static/chunks/app/api/models/alias/route-9a2a13ac6b89ba91.js +1 -0
  536. package/.next/static/chunks/app/api/models/availability/route-9a2a13ac6b89ba91.js +1 -0
  537. package/.next/static/chunks/app/api/models/catalog-sync/route-9a2a13ac6b89ba91.js +1 -0
  538. package/.next/static/chunks/app/api/models/custom/route-9a2a13ac6b89ba91.js +1 -0
  539. package/.next/static/chunks/app/api/models/disabled/route-9a2a13ac6b89ba91.js +1 -0
  540. package/.next/static/chunks/app/api/models/route-9a2a13ac6b89ba91.js +1 -0
  541. package/.next/static/chunks/app/api/models/test/route-9a2a13ac6b89ba91.js +1 -0
  542. package/.next/static/chunks/app/api/oauth/[provider]/[action]/route-9a2a13ac6b89ba91.js +1 -0
  543. package/.next/static/chunks/app/api/oauth/codex/bulk-import/route-9a2a13ac6b89ba91.js +1 -0
  544. package/.next/static/chunks/app/api/oauth/codex/import-token/route-9a2a13ac6b89ba91.js +1 -0
  545. package/.next/static/chunks/app/api/oauth/cursor/auto-import/route-9a2a13ac6b89ba91.js +1 -0
  546. package/.next/static/chunks/app/api/oauth/cursor/import/route-9a2a13ac6b89ba91.js +1 -0
  547. package/.next/static/chunks/app/api/oauth/gitlab/pat/route-9a2a13ac6b89ba91.js +1 -0
  548. package/.next/static/chunks/app/api/oauth/grok-cli/bulk-import/route-9a2a13ac6b89ba91.js +1 -0
  549. package/.next/static/chunks/app/api/oauth/iflow/cookie/route-9a2a13ac6b89ba91.js +1 -0
  550. package/.next/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-9a2a13ac6b89ba91.js +1 -0
  551. package/.next/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-9a2a13ac6b89ba91.js +1 -0
  552. package/.next/static/chunks/app/api/pricing/route-9a2a13ac6b89ba91.js +1 -0
  553. package/.next/static/chunks/app/api/provider-nodes/[id]/route-9a2a13ac6b89ba91.js +1 -0
  554. package/.next/static/chunks/app/api/provider-nodes/route-9a2a13ac6b89ba91.js +1 -0
  555. package/.next/static/chunks/app/api/provider-nodes/validate/route-9a2a13ac6b89ba91.js +1 -0
  556. package/.next/static/chunks/app/api/providers/[id]/models/route-9a2a13ac6b89ba91.js +1 -0
  557. package/.next/static/chunks/app/api/providers/[id]/route-9a2a13ac6b89ba91.js +1 -0
  558. package/.next/static/chunks/app/api/providers/[id]/test/route-9a2a13ac6b89ba91.js +1 -0
  559. package/.next/static/chunks/app/api/providers/[id]/test-models/route-9a2a13ac6b89ba91.js +1 -0
  560. package/.next/static/chunks/app/api/providers/client/route-9a2a13ac6b89ba91.js +1 -0
  561. package/.next/static/chunks/app/api/providers/kilo/free-models/route-9a2a13ac6b89ba91.js +1 -0
  562. package/.next/static/chunks/app/api/providers/route-9a2a13ac6b89ba91.js +1 -0
  563. package/.next/static/chunks/app/api/providers/suggested-models/route-9a2a13ac6b89ba91.js +1 -0
  564. package/.next/static/chunks/app/api/providers/test-batch/route-9a2a13ac6b89ba91.js +1 -0
  565. package/.next/static/chunks/app/api/providers/validate/route-9a2a13ac6b89ba91.js +1 -0
  566. package/.next/static/chunks/app/api/proxy-pools/[id]/route-9a2a13ac6b89ba91.js +1 -0
  567. package/.next/static/chunks/app/api/proxy-pools/[id]/test/route-9a2a13ac6b89ba91.js +1 -0
  568. package/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-9a2a13ac6b89ba91.js +1 -0
  569. package/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-9a2a13ac6b89ba91.js +1 -0
  570. package/.next/static/chunks/app/api/proxy-pools/route-9a2a13ac6b89ba91.js +1 -0
  571. package/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-9a2a13ac6b89ba91.js +1 -0
  572. package/.next/static/chunks/app/api/pxpipe/health/route-9a2a13ac6b89ba91.js +1 -0
  573. package/.next/static/chunks/app/api/pxpipe/install/route-9a2a13ac6b89ba91.js +1 -0
  574. package/.next/static/chunks/app/api/pxpipe/logs/route-9a2a13ac6b89ba91.js +1 -0
  575. package/.next/static/chunks/app/api/pxpipe/restart/route-9a2a13ac6b89ba91.js +1 -0
  576. package/.next/static/chunks/app/api/pxpipe/start/route-9a2a13ac6b89ba91.js +1 -0
  577. package/.next/static/chunks/app/api/pxpipe/stats/route-9a2a13ac6b89ba91.js +1 -0
  578. package/.next/static/chunks/app/api/pxpipe/status/route-9a2a13ac6b89ba91.js +1 -0
  579. package/.next/static/chunks/app/api/pxpipe/stop/route-9a2a13ac6b89ba91.js +1 -0
  580. package/.next/static/chunks/app/api/settings/database/route-9a2a13ac6b89ba91.js +1 -0
  581. package/.next/static/chunks/app/api/settings/proxy-test/route-9a2a13ac6b89ba91.js +1 -0
  582. package/.next/static/chunks/app/api/settings/require-login/route-9a2a13ac6b89ba91.js +1 -0
  583. package/.next/static/chunks/app/api/settings/route-9a2a13ac6b89ba91.js +1 -0
  584. package/.next/static/chunks/app/api/shutdown/route-9a2a13ac6b89ba91.js +1 -0
  585. package/.next/static/chunks/app/api/tags/route-9a2a13ac6b89ba91.js +1 -0
  586. package/.next/static/chunks/app/api/translator/console-logs/route-9a2a13ac6b89ba91.js +1 -0
  587. package/.next/static/chunks/app/api/translator/console-logs/stream/route-9a2a13ac6b89ba91.js +1 -0
  588. package/.next/static/chunks/app/api/translator/load/route-9a2a13ac6b89ba91.js +1 -0
  589. package/.next/static/chunks/app/api/translator/save/route-9a2a13ac6b89ba91.js +1 -0
  590. package/.next/static/chunks/app/api/translator/send/route-9a2a13ac6b89ba91.js +1 -0
  591. package/.next/static/chunks/app/api/translator/translate/route-9a2a13ac6b89ba91.js +1 -0
  592. package/.next/static/chunks/app/api/tunnel/disable/route-9a2a13ac6b89ba91.js +1 -0
  593. package/.next/static/chunks/app/api/tunnel/enable/route-9a2a13ac6b89ba91.js +1 -0
  594. package/.next/static/chunks/app/api/tunnel/status/route-9a2a13ac6b89ba91.js +1 -0
  595. package/.next/static/chunks/app/api/tunnel/tailscale-check/route-9a2a13ac6b89ba91.js +1 -0
  596. package/.next/static/chunks/app/api/tunnel/tailscale-disable/route-9a2a13ac6b89ba91.js +1 -0
  597. package/.next/static/chunks/app/api/tunnel/tailscale-enable/route-9a2a13ac6b89ba91.js +1 -0
  598. package/.next/static/chunks/app/api/tunnel/tailscale-install/route-9a2a13ac6b89ba91.js +1 -0
  599. package/.next/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-9a2a13ac6b89ba91.js +1 -0
  600. package/.next/static/chunks/app/api/usage/[connectionId]/route-9a2a13ac6b89ba91.js +1 -0
  601. package/.next/static/chunks/app/api/usage/chart/route-9a2a13ac6b89ba91.js +1 -0
  602. package/.next/static/chunks/app/api/usage/health/route-9a2a13ac6b89ba91.js +1 -0
  603. package/.next/static/chunks/app/api/usage/history/route-9a2a13ac6b89ba91.js +1 -0
  604. package/.next/static/chunks/app/api/usage/logs/route-9a2a13ac6b89ba91.js +1 -0
  605. package/.next/static/chunks/app/api/usage/providers/route-9a2a13ac6b89ba91.js +1 -0
  606. package/.next/static/chunks/app/api/usage/request-details/route-9a2a13ac6b89ba91.js +1 -0
  607. package/.next/static/chunks/app/api/usage/request-logs/route-9a2a13ac6b89ba91.js +1 -0
  608. package/.next/static/chunks/app/api/usage/stats/route-9a2a13ac6b89ba91.js +1 -0
  609. package/.next/static/chunks/app/api/usage/stream/route-9a2a13ac6b89ba91.js +1 -0
  610. package/.next/static/chunks/app/api/v1/api/chat/route-9a2a13ac6b89ba91.js +1 -0
  611. package/.next/static/chunks/app/api/v1/audio/speech/route-9a2a13ac6b89ba91.js +1 -0
  612. package/.next/static/chunks/app/api/v1/audio/transcriptions/route-9a2a13ac6b89ba91.js +1 -0
  613. package/.next/static/chunks/app/api/v1/audio/voices/route-9a2a13ac6b89ba91.js +1 -0
  614. package/.next/static/chunks/app/api/v1/chat/completions/route-9a2a13ac6b89ba91.js +1 -0
  615. package/.next/static/chunks/app/api/v1/embeddings/route-9a2a13ac6b89ba91.js +1 -0
  616. package/.next/static/chunks/app/api/v1/images/generations/route-9a2a13ac6b89ba91.js +1 -0
  617. package/.next/static/chunks/app/api/v1/messages/count_tokens/route-9a2a13ac6b89ba91.js +1 -0
  618. package/.next/static/chunks/app/api/v1/messages/route-9a2a13ac6b89ba91.js +1 -0
  619. package/.next/static/chunks/app/api/v1/models/[...model]/route-9a2a13ac6b89ba91.js +1 -0
  620. package/.next/static/chunks/app/api/v1/models/info/route-9a2a13ac6b89ba91.js +1 -0
  621. package/.next/static/chunks/app/api/v1/models/route-9a2a13ac6b89ba91.js +1 -0
  622. package/.next/static/chunks/app/api/v1/responses/compact/route-9a2a13ac6b89ba91.js +1 -0
  623. package/.next/static/chunks/app/api/v1/responses/route-9a2a13ac6b89ba91.js +1 -0
  624. package/.next/static/chunks/app/api/v1/route-9a2a13ac6b89ba91.js +1 -0
  625. package/.next/static/chunks/app/api/v1/search/route-9a2a13ac6b89ba91.js +1 -0
  626. package/.next/static/chunks/app/api/v1/systemone/route-9a2a13ac6b89ba91.js +1 -0
  627. package/.next/static/chunks/app/api/v1/videos/[id]/route-9a2a13ac6b89ba91.js +1 -0
  628. package/.next/static/chunks/app/api/v1/videos/edits/route-9a2a13ac6b89ba91.js +1 -0
  629. package/.next/static/chunks/app/api/v1/videos/extensions/route-9a2a13ac6b89ba91.js +1 -0
  630. package/.next/static/chunks/app/api/v1/videos/generations/route-9a2a13ac6b89ba91.js +1 -0
  631. package/.next/static/chunks/app/api/v1/web/fetch/route-9a2a13ac6b89ba91.js +1 -0
  632. package/.next/static/chunks/app/api/v1beta/models/[...path]/route-9a2a13ac6b89ba91.js +1 -0
  633. package/.next/static/chunks/app/api/v1beta/models/route-9a2a13ac6b89ba91.js +1 -0
  634. package/.next/static/chunks/app/api/version/route-9a2a13ac6b89ba91.js +1 -0
  635. package/.next/static/chunks/app/api/version/shutdown/route-9a2a13ac6b89ba91.js +1 -0
  636. package/.next/static/chunks/app/api/version/update/route-9a2a13ac6b89ba91.js +1 -0
  637. package/.next/static/chunks/app/{layout-d5f5e92e2a8102f1.js → layout-8810d4df3081b5df.js} +1 -1
  638. package/.next/static/chunks/app/manifest.webmanifest/route-9a2a13ac6b89ba91.js +1 -0
  639. package/.next/static/chunks/app/page-9a2a13ac6b89ba91.js +1 -0
  640. package/.next/static/chunks/next/dist/client/components/builtin/app-error-9a2a13ac6b89ba91.js +1 -0
  641. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-9a2a13ac6b89ba91.js +1 -0
  642. package/.next/static/chunks/next/dist/client/components/builtin/not-found-9a2a13ac6b89ba91.js +1 -0
  643. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-9a2a13ac6b89ba91.js +1 -0
  644. package/.next/static/chunks/webpack-cb89101193742e2b.js +1 -0
  645. package/.next/static/css/c66cbd684164cacf.css +1 -0
  646. package/CHANGELOG.md +25 -0
  647. package/bin/update-check.mjs +5 -1
  648. package/open-sse/executors/zed.js +98 -5
  649. package/open-sse/handlers/chatCore/sseToJsonHandler.js +11 -4
  650. package/open-sse/providers/pricing.js +24 -10
  651. package/open-sse/services/usage/antigravity-weekly.js +10 -0
  652. package/open-sse/services/usage/claude.js +15 -0
  653. package/open-sse/shared/zedAuth.js +43 -2
  654. package/open-sse/translator/concerns/prefetch.js +12 -4
  655. package/open-sse/translator/response/claude-to-openai.js +2 -2
  656. package/open-sse/utils/streamHandler.js +1 -5
  657. package/package.json +1 -5
  658. package/src/app/(dashboard)/dashboard/providers/[id]/BulkImportGrokCliModal.tsx +1 -1
  659. package/src/app/(dashboard)/dashboard/providers/[id]/page.tsx +1 -1
  660. package/src/app/(dashboard)/dashboard/usage/components/ProviderHealth.tsx +221 -0
  661. package/src/app/(dashboard)/dashboard/usage/components/ProviderTopology.tsx +5 -2
  662. package/src/app/api/combos/[id]/route.js +38 -1
  663. package/src/app/api/combos/route.js +27 -2
  664. package/src/app/api/providers/[id]/models/route.js +12 -1
  665. package/src/app/api/providers/route.js +4 -1
  666. package/src/app/api/usage/health/route.ts +121 -0
  667. package/src/app/api/usage/stream/route.js +74 -68
  668. package/src/app/api/v1/models/route.js +20 -6
  669. package/src/lib/db/adapters/betterSqliteAdapter.js +12 -1
  670. package/src/lib/db/driver.js +4 -1
  671. package/src/lib/db/index.js +3 -0
  672. package/src/lib/db/repos/settingsRepo.js +22 -1
  673. package/src/lib/oauth/services/xai.js +4 -4
  674. package/src/lib/usageHealth.ts +219 -0
  675. package/src/lib/validateComboModels.ts +48 -0
  676. package/src/shared/components/UsageStats.tsx +11 -1
  677. package/src/shared/hooks/useShutdown.ts +2 -4
  678. package/src/sse/handlers/chat.js +5 -1
  679. package/src/sse/services/antigravityQuota.ts +7 -3
  680. package/src/sse/services/model.ts +9 -20
  681. package/.next/server/chunks/5351.js +0 -67
  682. package/.next/static/P0IikrdjxpmTneD33YPWQ/_buildManifest.js +0 -1
  683. package/.next/static/chunks/208-521a3242b62d6c07.js +0 -1
  684. package/.next/static/chunks/2836-38406d658ad8caa9.js +0 -1
  685. package/.next/static/chunks/7276-16ef14f7b2cd478d.js +0 -1
  686. package/.next/static/chunks/9369-b8c9520bc2536ff2.js +0 -1
  687. package/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-1c54f83c69f02add.js +0 -1
  688. package/.next/static/chunks/app/(dashboard)/dashboard/combos/page-853f4e08f4982dbe.js +0 -1
  689. package/.next/static/chunks/app/(dashboard)/dashboard/providers/page-b9dafab69096fa76.js +0 -1
  690. package/.next/static/chunks/app/(dashboard)/dashboard/quota/page-5d2e8d9a126c2769.js +0 -1
  691. package/.next/static/chunks/app/(dashboard)/dashboard/usage/page-cf503287fe99e910.js +0 -1
  692. package/.next/static/chunks/app/api/auth/oidc/start/route-fe947d4ab19df968.js +0 -1
  693. package/.next/static/chunks/app/api/auth/oidc/test/route-fe947d4ab19df968.js +0 -1
  694. package/.next/static/chunks/app/api/auth/reset-password/route-fe947d4ab19df968.js +0 -1
  695. package/.next/static/chunks/app/api/auth/saml/acs/route-fe947d4ab19df968.js +0 -1
  696. package/.next/static/chunks/app/api/auth/saml/metadata/route-fe947d4ab19df968.js +0 -1
  697. package/.next/static/chunks/app/api/auth/saml/start/route-fe947d4ab19df968.js +0 -1
  698. package/.next/static/chunks/app/api/auth/saml/test/route-fe947d4ab19df968.js +0 -1
  699. package/.next/static/chunks/app/api/auth/status/route-fe947d4ab19df968.js +0 -1
  700. package/.next/static/chunks/app/api/changelog/route-fe947d4ab19df968.js +0 -1
  701. package/.next/static/chunks/app/api/cli-tools/all-statuses/route-fe947d4ab19df968.js +0 -1
  702. package/.next/static/chunks/app/api/cli-tools/claude-settings/route-fe947d4ab19df968.js +0 -1
  703. package/.next/static/chunks/app/api/cli-tools/codex-settings/route-fe947d4ab19df968.js +0 -1
  704. package/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-fe947d4ab19df968.js +0 -1
  705. package/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-fe947d4ab19df968.js +0 -1
  706. package/.next/static/chunks/app/api/cli-tools/cowork-settings/route-fe947d4ab19df968.js +0 -1
  707. package/.next/static/chunks/app/api/cli-tools/dsh-settings/route-fe947d4ab19df968.js +0 -1
  708. package/.next/static/chunks/app/api/cli-tools/opencode-settings/route-fe947d4ab19df968.js +0 -1
  709. package/.next/static/chunks/app/api/combos/[id]/route-fe947d4ab19df968.js +0 -1
  710. package/.next/static/chunks/app/api/combos/route-fe947d4ab19df968.js +0 -1
  711. package/.next/static/chunks/app/api/headroom/extras/route-fe947d4ab19df968.js +0 -1
  712. package/.next/static/chunks/app/api/headroom/proxy/[...path]/route-fe947d4ab19df968.js +0 -1
  713. package/.next/static/chunks/app/api/headroom/restart/route-fe947d4ab19df968.js +0 -1
  714. package/.next/static/chunks/app/api/headroom/start/route-fe947d4ab19df968.js +0 -1
  715. package/.next/static/chunks/app/api/headroom/status/route-fe947d4ab19df968.js +0 -1
  716. package/.next/static/chunks/app/api/headroom/stop/route-fe947d4ab19df968.js +0 -1
  717. package/.next/static/chunks/app/api/health/route-fe947d4ab19df968.js +0 -1
  718. package/.next/static/chunks/app/api/init/route-fe947d4ab19df968.js +0 -1
  719. package/.next/static/chunks/app/api/keys/[id]/route-fe947d4ab19df968.js +0 -1
  720. package/.next/static/chunks/app/api/keys/route-fe947d4ab19df968.js +0 -1
  721. package/.next/static/chunks/app/api/locale/route-fe947d4ab19df968.js +0 -1
  722. package/.next/static/chunks/app/api/mcp/[plugin]/message/route-fe947d4ab19df968.js +0 -1
  723. package/.next/static/chunks/app/api/mcp/[plugin]/sse/route-fe947d4ab19df968.js +0 -1
  724. package/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-fe947d4ab19df968.js +0 -1
  725. package/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-fe947d4ab19df968.js +0 -1
  726. package/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-fe947d4ab19df968.js +0 -1
  727. package/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-fe947d4ab19df968.js +0 -1
  728. package/.next/static/chunks/app/api/media-providers/tts/voices/route-fe947d4ab19df968.js +0 -1
  729. package/.next/static/chunks/app/api/models/alias/route-fe947d4ab19df968.js +0 -1
  730. package/.next/static/chunks/app/api/models/availability/route-fe947d4ab19df968.js +0 -1
  731. package/.next/static/chunks/app/api/models/catalog-sync/route-fe947d4ab19df968.js +0 -1
  732. package/.next/static/chunks/app/api/models/custom/route-fe947d4ab19df968.js +0 -1
  733. package/.next/static/chunks/app/api/models/disabled/route-fe947d4ab19df968.js +0 -1
  734. package/.next/static/chunks/app/api/models/route-fe947d4ab19df968.js +0 -1
  735. package/.next/static/chunks/app/api/models/test/route-fe947d4ab19df968.js +0 -1
  736. package/.next/static/chunks/app/api/oauth/[provider]/[action]/route-fe947d4ab19df968.js +0 -1
  737. package/.next/static/chunks/app/api/oauth/codex/bulk-import/route-fe947d4ab19df968.js +0 -1
  738. package/.next/static/chunks/app/api/oauth/codex/import-token/route-fe947d4ab19df968.js +0 -1
  739. package/.next/static/chunks/app/api/oauth/cursor/auto-import/route-fe947d4ab19df968.js +0 -1
  740. package/.next/static/chunks/app/api/oauth/cursor/import/route-fe947d4ab19df968.js +0 -1
  741. package/.next/static/chunks/app/api/oauth/gitlab/pat/route-fe947d4ab19df968.js +0 -1
  742. package/.next/static/chunks/app/api/oauth/grok-cli/bulk-import/route-fe947d4ab19df968.js +0 -1
  743. package/.next/static/chunks/app/api/oauth/iflow/cookie/route-fe947d4ab19df968.js +0 -1
  744. package/.next/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-fe947d4ab19df968.js +0 -1
  745. package/.next/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-fe947d4ab19df968.js +0 -1
  746. package/.next/static/chunks/app/api/pricing/route-fe947d4ab19df968.js +0 -1
  747. package/.next/static/chunks/app/api/provider-nodes/[id]/route-fe947d4ab19df968.js +0 -1
  748. package/.next/static/chunks/app/api/provider-nodes/route-fe947d4ab19df968.js +0 -1
  749. package/.next/static/chunks/app/api/provider-nodes/validate/route-fe947d4ab19df968.js +0 -1
  750. package/.next/static/chunks/app/api/providers/[id]/models/route-fe947d4ab19df968.js +0 -1
  751. package/.next/static/chunks/app/api/providers/[id]/route-fe947d4ab19df968.js +0 -1
  752. package/.next/static/chunks/app/api/providers/[id]/test/route-fe947d4ab19df968.js +0 -1
  753. package/.next/static/chunks/app/api/providers/[id]/test-models/route-fe947d4ab19df968.js +0 -1
  754. package/.next/static/chunks/app/api/providers/client/route-fe947d4ab19df968.js +0 -1
  755. package/.next/static/chunks/app/api/providers/kilo/free-models/route-fe947d4ab19df968.js +0 -1
  756. package/.next/static/chunks/app/api/providers/route-fe947d4ab19df968.js +0 -1
  757. package/.next/static/chunks/app/api/providers/suggested-models/route-fe947d4ab19df968.js +0 -1
  758. package/.next/static/chunks/app/api/providers/test-batch/route-fe947d4ab19df968.js +0 -1
  759. package/.next/static/chunks/app/api/providers/validate/route-fe947d4ab19df968.js +0 -1
  760. package/.next/static/chunks/app/api/proxy-pools/[id]/route-fe947d4ab19df968.js +0 -1
  761. package/.next/static/chunks/app/api/proxy-pools/[id]/test/route-fe947d4ab19df968.js +0 -1
  762. package/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-fe947d4ab19df968.js +0 -1
  763. package/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-fe947d4ab19df968.js +0 -1
  764. package/.next/static/chunks/app/api/proxy-pools/route-fe947d4ab19df968.js +0 -1
  765. package/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-fe947d4ab19df968.js +0 -1
  766. package/.next/static/chunks/app/api/pxpipe/health/route-fe947d4ab19df968.js +0 -1
  767. package/.next/static/chunks/app/api/pxpipe/install/route-fe947d4ab19df968.js +0 -1
  768. package/.next/static/chunks/app/api/pxpipe/logs/route-fe947d4ab19df968.js +0 -1
  769. package/.next/static/chunks/app/api/pxpipe/restart/route-fe947d4ab19df968.js +0 -1
  770. package/.next/static/chunks/app/api/pxpipe/start/route-fe947d4ab19df968.js +0 -1
  771. package/.next/static/chunks/app/api/pxpipe/stats/route-fe947d4ab19df968.js +0 -1
  772. package/.next/static/chunks/app/api/pxpipe/status/route-fe947d4ab19df968.js +0 -1
  773. package/.next/static/chunks/app/api/pxpipe/stop/route-fe947d4ab19df968.js +0 -1
  774. package/.next/static/chunks/app/api/settings/database/route-fe947d4ab19df968.js +0 -1
  775. package/.next/static/chunks/app/api/settings/proxy-test/route-fe947d4ab19df968.js +0 -1
  776. package/.next/static/chunks/app/api/settings/require-login/route-fe947d4ab19df968.js +0 -1
  777. package/.next/static/chunks/app/api/settings/route-fe947d4ab19df968.js +0 -1
  778. package/.next/static/chunks/app/api/shutdown/route-fe947d4ab19df968.js +0 -1
  779. package/.next/static/chunks/app/api/tags/route-fe947d4ab19df968.js +0 -1
  780. package/.next/static/chunks/app/api/translator/console-logs/route-fe947d4ab19df968.js +0 -1
  781. package/.next/static/chunks/app/api/translator/console-logs/stream/route-fe947d4ab19df968.js +0 -1
  782. package/.next/static/chunks/app/api/translator/load/route-fe947d4ab19df968.js +0 -1
  783. package/.next/static/chunks/app/api/translator/save/route-fe947d4ab19df968.js +0 -1
  784. package/.next/static/chunks/app/api/translator/send/route-fe947d4ab19df968.js +0 -1
  785. package/.next/static/chunks/app/api/translator/translate/route-fe947d4ab19df968.js +0 -1
  786. package/.next/static/chunks/app/api/tunnel/disable/route-fe947d4ab19df968.js +0 -1
  787. package/.next/static/chunks/app/api/tunnel/enable/route-fe947d4ab19df968.js +0 -1
  788. package/.next/static/chunks/app/api/tunnel/status/route-fe947d4ab19df968.js +0 -1
  789. package/.next/static/chunks/app/api/tunnel/tailscale-check/route-fe947d4ab19df968.js +0 -1
  790. package/.next/static/chunks/app/api/tunnel/tailscale-disable/route-fe947d4ab19df968.js +0 -1
  791. package/.next/static/chunks/app/api/tunnel/tailscale-enable/route-fe947d4ab19df968.js +0 -1
  792. package/.next/static/chunks/app/api/tunnel/tailscale-install/route-fe947d4ab19df968.js +0 -1
  793. package/.next/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-fe947d4ab19df968.js +0 -1
  794. package/.next/static/chunks/app/api/usage/[connectionId]/route-fe947d4ab19df968.js +0 -1
  795. package/.next/static/chunks/app/api/usage/chart/route-fe947d4ab19df968.js +0 -1
  796. package/.next/static/chunks/app/api/usage/history/route-fe947d4ab19df968.js +0 -1
  797. package/.next/static/chunks/app/api/usage/logs/route-fe947d4ab19df968.js +0 -1
  798. package/.next/static/chunks/app/api/usage/providers/route-fe947d4ab19df968.js +0 -1
  799. package/.next/static/chunks/app/api/usage/request-details/route-fe947d4ab19df968.js +0 -1
  800. package/.next/static/chunks/app/api/usage/request-logs/route-fe947d4ab19df968.js +0 -1
  801. package/.next/static/chunks/app/api/usage/stats/route-fe947d4ab19df968.js +0 -1
  802. package/.next/static/chunks/app/api/usage/stream/route-fe947d4ab19df968.js +0 -1
  803. package/.next/static/chunks/app/api/v1/api/chat/route-fe947d4ab19df968.js +0 -1
  804. package/.next/static/chunks/app/api/v1/audio/speech/route-fe947d4ab19df968.js +0 -1
  805. package/.next/static/chunks/app/api/v1/audio/transcriptions/route-fe947d4ab19df968.js +0 -1
  806. package/.next/static/chunks/app/api/v1/audio/voices/route-fe947d4ab19df968.js +0 -1
  807. package/.next/static/chunks/app/api/v1/chat/completions/route-fe947d4ab19df968.js +0 -1
  808. package/.next/static/chunks/app/api/v1/embeddings/route-fe947d4ab19df968.js +0 -1
  809. package/.next/static/chunks/app/api/v1/images/generations/route-fe947d4ab19df968.js +0 -1
  810. package/.next/static/chunks/app/api/v1/messages/count_tokens/route-fe947d4ab19df968.js +0 -1
  811. package/.next/static/chunks/app/api/v1/messages/route-fe947d4ab19df968.js +0 -1
  812. package/.next/static/chunks/app/api/v1/models/[...model]/route-fe947d4ab19df968.js +0 -1
  813. package/.next/static/chunks/app/api/v1/models/info/route-fe947d4ab19df968.js +0 -1
  814. package/.next/static/chunks/app/api/v1/models/route-fe947d4ab19df968.js +0 -1
  815. package/.next/static/chunks/app/api/v1/responses/compact/route-fe947d4ab19df968.js +0 -1
  816. package/.next/static/chunks/app/api/v1/responses/route-fe947d4ab19df968.js +0 -1
  817. package/.next/static/chunks/app/api/v1/route-fe947d4ab19df968.js +0 -1
  818. package/.next/static/chunks/app/api/v1/search/route-fe947d4ab19df968.js +0 -1
  819. package/.next/static/chunks/app/api/v1/systemone/route-fe947d4ab19df968.js +0 -1
  820. package/.next/static/chunks/app/api/v1/videos/[id]/route-fe947d4ab19df968.js +0 -1
  821. package/.next/static/chunks/app/api/v1/videos/edits/route-fe947d4ab19df968.js +0 -1
  822. package/.next/static/chunks/app/api/v1/videos/extensions/route-fe947d4ab19df968.js +0 -1
  823. package/.next/static/chunks/app/api/v1/videos/generations/route-fe947d4ab19df968.js +0 -1
  824. package/.next/static/chunks/app/api/v1/web/fetch/route-fe947d4ab19df968.js +0 -1
  825. package/.next/static/chunks/app/api/v1beta/models/[...path]/route-fe947d4ab19df968.js +0 -1
  826. package/.next/static/chunks/app/api/v1beta/models/route-fe947d4ab19df968.js +0 -1
  827. package/.next/static/chunks/app/api/version/route-fe947d4ab19df968.js +0 -1
  828. package/.next/static/chunks/app/api/version/shutdown/route-fe947d4ab19df968.js +0 -1
  829. package/.next/static/chunks/app/api/version/update/route-fe947d4ab19df968.js +0 -1
  830. package/.next/static/chunks/app/manifest.webmanifest/route-fe947d4ab19df968.js +0 -1
  831. package/.next/static/chunks/app/page-fe947d4ab19df968.js +0 -1
  832. package/.next/static/chunks/next/dist/client/components/builtin/app-error-fe947d4ab19df968.js +0 -1
  833. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-fe947d4ab19df968.js +0 -1
  834. package/.next/static/chunks/next/dist/client/components/builtin/not-found-fe947d4ab19df968.js +0 -1
  835. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-fe947d4ab19df968.js +0 -1
  836. package/.next/static/chunks/webpack-452a2f4aec1a53ee.js +0 -1
  837. package/.next/static/css/7698ede81d1862e2.css +0 -1
  838. /package/.next/static/{P0IikrdjxpmTneD33YPWQ → awjDWqWCZbU3VVSuN7-oA}/_ssgManifest.js +0 -0
@@ -413,10 +413,17 @@ export async function handleForcedSSEToJson({
413
413
  "Invalid SSE response for non-streaming request",
414
414
  );
415
415
  if (parsed.error) {
416
- return createErrorResult(
417
- HTTP_STATUS.BAD_GATEWAY,
418
- parsed.error.message || "Upstream SSE stream failed",
419
- );
416
+ // Request-scoped errors (e.g. Zed context_length_exceeded, surfaced as an
417
+ // in-stream error frame) keep their own status: 400 must not cool the
418
+ // account via the fallback layer, and must reach the client as 400.
419
+ const upstreamCode = String(parsed.error.code || "");
420
+ const status =
421
+ parsed.error.type === "invalid_request_error" ||
422
+ upstreamCode === "context_length_exceeded" ||
423
+ upstreamCode === "bad_request"
424
+ ? HTTP_STATUS.BAD_REQUEST
425
+ : HTTP_STATUS.BAD_GATEWAY;
426
+ return createErrorResult(status, parsed.error.message || "Upstream SSE stream failed");
420
427
  }
421
428
 
422
429
  if (onRequestSuccess) await onRequestSuccess();
@@ -1099,18 +1099,32 @@ export const PATTERN_PRICING = [
1099
1099
  /**
1100
1100
  * Match a model ID against a glob pattern (* = wildcard). Case-insensitive:
1101
1101
  * registry ids mix casing (e.g. "MiniMax-M2.5" vs "minimax-m2.5").
1102
+ *
1103
+ * Patterns are a fixed config table, so the compiled RegExp is memoized:
1104
+ * callers loop over ~100 patterns, and this used to recompile every one of
1105
+ * them on each call (several times per request).
1102
1106
  */
1107
+ const PATTERN_REGEX_CACHE = new Map();
1108
+
1109
+ function patternRegex(pattern) {
1110
+ let regex = PATTERN_REGEX_CACHE.get(pattern);
1111
+ if (!regex) {
1112
+ regex = new RegExp(
1113
+ "^" +
1114
+ pattern
1115
+ .split("*")
1116
+ .map((s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"))
1117
+ .join(".*") +
1118
+ "$",
1119
+ "i",
1120
+ );
1121
+ PATTERN_REGEX_CACHE.set(pattern, regex);
1122
+ }
1123
+ return regex;
1124
+ }
1125
+
1103
1126
  export function matchPattern(pattern, model) {
1104
- const regex = new RegExp(
1105
- "^" +
1106
- pattern
1107
- .split("*")
1108
- .map((s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"))
1109
- .join(".*") +
1110
- "$",
1111
- "i",
1112
- );
1113
- return regex.test(model);
1127
+ return patternRegex(pattern).test(model);
1114
1128
  }
1115
1129
 
1116
1130
  /**
@@ -16,6 +16,16 @@ const WEEKLY_CONFIG = {
16
16
  const WEEKLY_CACHE_TTL_MS = 180_000; // 3 minutes
17
17
  const weeklyCache = new Map(); // cacheKey -> { result, expiresAt } | { promise }
18
18
 
19
+ // Keys embed the access token, which rotates. Expiry is only read-checked, so
20
+ // retired tokens would accumulate — sweep on a slow unref'd timer.
21
+ setInterval(() => {
22
+ const now = Date.now();
23
+ for (const [key, hit] of weeklyCache) {
24
+ if (hit?.promise) continue; // in-flight
25
+ if (!hit || hit.expiresAt <= now) weeklyCache.delete(key);
26
+ }
27
+ }, WEEKLY_CACHE_TTL_MS).unref?.();
28
+
19
29
  function cacheKey(accessToken, projectId) {
20
30
  return `${accessToken}::${projectId || ""}`;
21
31
  }
@@ -24,6 +24,21 @@ const oauthCooldown = new Map();
24
24
  const USAGE_CACHE_TTL_MS = 300000;
25
25
  const usageCache = new Map(); // token -> { promise } | { result, expiresAt }
26
26
 
27
+ // Both maps are keyed by access token, which rotates. Expiry is only checked on
28
+ // read, so entries for retired tokens would live forever — sweep them on a slow
29
+ // timer (unref'd so it never holds the process open).
30
+ function sweepExpired() {
31
+ const now = Date.now();
32
+ for (const [token, hit] of usageCache) {
33
+ if (hit?.promise) continue; // in-flight
34
+ if (!hit || hit.expiresAt <= now) usageCache.delete(token);
35
+ }
36
+ for (const [token, until] of oauthCooldown) {
37
+ if (until <= now) oauthCooldown.delete(token);
38
+ }
39
+ }
40
+ setInterval(sweepExpired, USAGE_CACHE_TTL_MS).unref?.();
41
+
27
42
  export async function getClaudeUsage(accessToken, proxyOptions = null, options = {}) {
28
43
  const force = options?.force === true;
29
44
 
@@ -11,6 +11,7 @@
11
11
 
12
12
  import crypto from "node:crypto";
13
13
  import { proxyAwareFetch } from "../utils/proxyFetch.js";
14
+ import { DEFAULT_RETRY_CONFIG, resolveRetryEntry } from "../config/runtimeConfig.js";
14
15
 
15
16
  export const ZED_WEB_BASE_URL = "https://zed.dev";
16
17
  export const ZED_CLOUD_BASE_URL = "https://cloud.zed.dev";
@@ -179,8 +180,48 @@ function getSystemId(credentials) {
179
180
  return String(credentials?.providerSpecificData?.systemId || credentials?.systemId || "");
180
181
  }
181
182
 
183
+ function sleep(ms) {
184
+ return new Promise((resolve) => setTimeout(resolve, ms));
185
+ }
186
+
187
+ // Transient socket failures (ECONNRESET/ETIMEDOUT/socket hang up via relay or
188
+ // direct) surface as thrown TypeErrors from fetch. Retry those with the same
189
+ // 502-config the BaseExecutor pipeline uses. Anything else — including caller
190
+ // aborts and permanent failures (ENOTFOUND, bad TLS, 5xx bodies that resolve
191
+ // normally) — is rethrown immediately: retrying it only adds delay to an
192
+ // outcome that cannot change.
193
+ const TRANSIENT_NET_CODES = new Set([
194
+ "ECONNRESET",
195
+ "ECONNREFUSED",
196
+ "ETIMEDOUT",
197
+ "EPIPE",
198
+ "EAI_AGAIN",
199
+ "UND_ERR_SOCKET",
200
+ ]);
201
+
202
+ function isTransientNetError(error) {
203
+ if (!error || error.name === "AbortError") return false;
204
+ const code = error.code || error.cause?.code;
205
+ if (code && TRANSIENT_NET_CODES.has(code)) return true;
206
+ // Node's undici raises a bare TypeError("fetch failed") / "socket hang up"
207
+ // for relay-side resets, so the message is the only signal available.
208
+ return /socket hang up|ECONNRESET|other side closed/i.test(String(error.message || ""));
209
+ }
210
+
211
+ async function zedFetchWithRetry(url, options, proxyOptions = null, statusKey = 502) {
212
+ const { attempts, delayMs } = resolveRetryEntry(DEFAULT_RETRY_CONFIG[statusKey]);
213
+ for (let attempt = 0; ; attempt++) {
214
+ try {
215
+ return await proxyAwareFetch(url, options, proxyOptions);
216
+ } catch (error) {
217
+ if (!isTransientNetError(error) || attempt >= attempts) throw error;
218
+ await sleep(delayMs);
219
+ }
220
+ }
221
+ }
222
+
182
223
  async function fetchJson(url, options, proxyOptions = null) {
183
- const res = await proxyAwareFetch(url, options, proxyOptions);
224
+ const res = await zedFetchWithRetry(url, options, proxyOptions);
184
225
  const text = await res.text();
185
226
  let data = null;
186
227
  if (text) {
@@ -309,7 +350,7 @@ export async function zedLlmFetch(credentials, path, options = {}) {
309
350
  const url = zedUrl(config, "llmBaseUrl", path, ZED_LLM_BASE_URL);
310
351
  const buildRequest = async (forceRefresh) => {
311
352
  const token = await fetchZedLlmToken(credentials, { ...options, forceRefresh });
312
- return proxyAwareFetch(
353
+ return zedFetchWithRetry(
313
354
  url,
314
355
  {
315
356
  ...options.fetchOptions,
@@ -89,11 +89,19 @@ export async function prefetchRemoteImages(body, sourceFormat, targetFormat, opt
89
89
  const refs = collectImageRefs(body, sourceFormat);
90
90
  if (!refs.length) return 0;
91
91
 
92
+ // Fetch in parallel: this runs in the pre-first-byte path, and serial
93
+ // round trips made N images cost N × latency. Per-ref failure is already
94
+ // fail-open, so allSettled preserves existing behaviour.
95
+ const fetchedList = await Promise.all(
96
+ refs.map(async (ref) => {
97
+ const url = ref.get();
98
+ if (parseDataUri(url)) return { ref, fetched: null };
99
+ return { ref, fetched: await fetchImageAsBase64(url, options) };
100
+ }),
101
+ );
102
+
92
103
  let converted = 0;
93
- for (const ref of refs) {
94
- const url = ref.get();
95
- if (parseDataUri(url)) continue; // already inline
96
- const fetched = await fetchImageAsBase64(url, options);
104
+ for (const { ref, fetched } of fetchedList) {
97
105
  if (!fetched) continue;
98
106
  if (ref.set) ref.set(fetched.url);
99
107
  else if (ref.part) {
@@ -71,9 +71,10 @@ export function claudeToOpenAIResponse(chunk, state) {
71
71
  if (block?.type === CLAUDE_BLOCK.TEXT) {
72
72
  state.textBlockStarted = true;
73
73
  } else if (block?.type === CLAUDE_BLOCK.THINKING) {
74
+ // Thinking text streams as `reasoning_content` below; no literal tag is
75
+ // emitted into `content` — clients render that as part of the answer.
74
76
  state.inThinkingBlock = true;
75
77
  state.currentBlockIndex = chunk.index;
76
- results.push(createChunk(state, { content: "<think>" }));
77
78
  } else if (block?.type === CLAUDE_BLOCK.TOOL_USE) {
78
79
  const toolCallIndex = state.toolCallIndex++;
79
80
  // Restore original tool name from mapping (Claude OAuth)
@@ -128,7 +129,6 @@ export function claudeToOpenAIResponse(chunk, state) {
128
129
  break;
129
130
  }
130
131
  if (state.inThinkingBlock && chunk.index === state.currentBlockIndex) {
131
- results.push(createChunk(state, { content: "</think>" }));
132
132
  state.inThinkingBlock = false;
133
133
  }
134
134
  state.textBlockStarted = false;
@@ -94,11 +94,7 @@ export function createStreamController({
94
94
  return;
95
95
  }
96
96
 
97
- logStream(
98
- "ERROR",
99
- `ERROR: ${error.message}${error.stack ? `\n ${error.stack}` : ""}`,
100
- true,
101
- );
97
+ logStream("ERROR", `${error.message}${error.stack ? `\n ${error.stack}` : ""}`, true);
102
98
  onError?.(error);
103
99
  },
104
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amir83nasr/10router",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Amir83Nasr/10Router.git"
@@ -79,10 +79,6 @@
79
79
  "uuid": "^13.0.0",
80
80
  "zustand": "^5.0.10"
81
81
  },
82
- "optionalDependencies": {
83
- "better-sqlite3": "^12.6.2"
84
- },
85
- "comment_better_sqlite3": "kept in optionalDependencies so npm install doesn't fail on systems without build tools — sql.js is used as fallback at runtime",
86
82
  "devDependencies": {
87
83
  "@tailwindcss/postcss": "^4.1.18",
88
84
  "@types/node": "^26.6.1",
@@ -76,7 +76,7 @@ export default function BulkImportGrokCliModal({ isOpen, onClose, onSuccess }: a
76
76
  const processFiles = async (files: any) => {
77
77
  if (!files || files.length === 0) return;
78
78
  setParseError("");
79
- const jsonFiles: any[] = Array.from(files).filter(
79
+ const jsonFiles: File[] = Array.from(files as FileList).filter(
80
80
  (file) => file.name.endsWith(".json") || file.type === "application/json" || file.type === "",
81
81
  );
82
82
 
@@ -556,7 +556,7 @@ export default function ProviderDetailPage() {
556
556
  modelId,
557
557
  type = "llm",
558
558
  providerAliasOverride = providerStorageAlias,
559
- caps,
559
+ caps?: unknown,
560
560
  ) => {
561
561
  try {
562
562
  const res = await fetch("/api/models/custom", {
@@ -0,0 +1,221 @@
1
+ "use client";
2
+
3
+ import { useEffect, useState } from "react";
4
+ import { Badge } from "@/components/ui/badge";
5
+ import { Card, CardContent } from "@/components/ui/card";
6
+ import Icon from "@/shared/components/Icon";
7
+
8
+ type HealthStatus = "healthy" | "degraded" | "down" | "cooldown" | "idle";
9
+
10
+ interface ProviderEntry {
11
+ provider: string;
12
+ connectionId: string;
13
+ connectionName: string;
14
+ requests: number;
15
+ errors: number;
16
+ detailErrors: number;
17
+ successRate: number | null;
18
+ p50LatencyMs: number | null;
19
+ lastError: string | null;
20
+ lastErrorAt: string | null;
21
+ cooldownUntil: string | null;
22
+ status: HealthStatus;
23
+ }
24
+
25
+ interface FailureEntry {
26
+ timestamp: string;
27
+ provider: string;
28
+ model: string;
29
+ connectionId: string | null;
30
+ connectionName: string | null;
31
+ status: string;
32
+ latencyMs: number | null;
33
+ error: string | null;
34
+ }
35
+
36
+ const STATUS_META: Record<HealthStatus, { label: string; className: string }> = {
37
+ down: { label: "Down", className: "bg-destructive/10 text-destructive" },
38
+ cooldown: { label: "Cooldown", className: "bg-amber-500/10 text-amber-600" },
39
+ degraded: { label: "Degraded", className: "bg-amber-500/10 text-amber-600" },
40
+ healthy: { label: "Healthy", className: "bg-emerald-500/10 text-emerald-600" },
41
+ idle: { label: "Idle", className: "bg-muted text-muted-foreground" },
42
+ };
43
+
44
+ function fmtPct(rate: number | null): string {
45
+ if (rate == null) return "—";
46
+ return `${Math.round(rate * 100)}%`;
47
+ }
48
+
49
+ function fmtLatency(ms: number | null): string {
50
+ if (ms == null) return "—";
51
+ if (ms < 1000) return `${Math.round(ms)}ms`;
52
+ return `${(ms / 1000).toFixed(1)}s`;
53
+ }
54
+
55
+ function fmtTime(iso: string | null): string {
56
+ if (!iso) return "—";
57
+ const diffMins = Math.floor((Date.now() - new Date(iso).getTime()) / 60000);
58
+ if (diffMins < 1) return "Just now";
59
+ if (diffMins < 60) return `${diffMins}m ago`;
60
+ if (diffMins < 1440) return `${Math.floor(diffMins / 60)}h ago`;
61
+ return new Date(iso).toLocaleDateString();
62
+ }
63
+
64
+ export default function ProviderHealth() {
65
+ const [entries, setEntries] = useState<ProviderEntry[]>([]);
66
+ const [failures, setFailures] = useState<FailureEntry[]>([]);
67
+ const [loading, setLoading] = useState(true);
68
+
69
+ useEffect(() => {
70
+ let cancelled = false;
71
+ fetch("/api/usage/health")
72
+ .then((r) => (r.ok ? r.json() : null))
73
+ .then((data) => {
74
+ if (cancelled || !data) return;
75
+ setEntries(data.providers || []);
76
+ setFailures(data.recentFailures || []);
77
+ })
78
+ .catch(() => {})
79
+ .finally(() => {
80
+ if (!cancelled) setLoading(false);
81
+ });
82
+ return () => {
83
+ cancelled = true;
84
+ };
85
+ }, []);
86
+
87
+ const problemCount = entries.filter(
88
+ (e) => e.status === "down" || e.status === "cooldown" || e.status === "degraded",
89
+ ).length;
90
+
91
+ return (
92
+ <Card className="flex min-w-0 flex-col overflow-hidden" style={{ paddingBlock: 0, gap: 0 }}>
93
+ <div className="flex shrink-0 items-center gap-2 border-b border-border bg-card/80 px-4 py-3 backdrop-blur">
94
+ <span className="text-xs font-semibold uppercase tracking-wide text-muted-foreground">
95
+ Fallback Health
96
+ </span>
97
+ <span className="text-[11px] text-muted-foreground">24h · per account</span>
98
+ {!loading && (
99
+ <Badge variant="secondary" className="ml-auto text-xs">
100
+ {problemCount === 0 ? "all healthy" : `${problemCount} need attention`}
101
+ </Badge>
102
+ )}
103
+ </div>
104
+ <CardContent className="flex min-h-0 flex-1 flex-col p-0">
105
+ {loading ? (
106
+ <div className="flex items-center justify-center py-8 text-muted-foreground">
107
+ <Icon name="progress_activity" className="text-[24px] animate-spin" />
108
+ </div>
109
+ ) : entries.length === 0 ? (
110
+ <div className="flex flex-col items-center justify-center gap-2 py-8 text-muted-foreground">
111
+ <Icon name="history" className="text-2xl opacity-50" />
112
+ <p className="text-xs">No provider traffic in the last 24h.</p>
113
+ </div>
114
+ ) : (
115
+ <div className="overflow-x-auto">
116
+ <table className="w-full text-left text-sm">
117
+ <thead className="border-b border-border/60 text-muted-foreground">
118
+ <tr>
119
+ <th className="px-4 py-2 text-[11px] font-semibold uppercase tracking-wide">
120
+ Account
121
+ </th>
122
+ <th className="px-4 py-2 text-right text-[11px] font-semibold uppercase tracking-wide">
123
+ Requests
124
+ </th>
125
+ <th className="px-4 py-2 text-right text-[11px] font-semibold uppercase tracking-wide">
126
+ Success
127
+ </th>
128
+ <th className="px-4 py-2 text-right text-[11px] font-semibold uppercase tracking-wide">
129
+ p50
130
+ </th>
131
+ <th className="px-4 py-2 text-[11px] font-semibold uppercase tracking-wide">
132
+ Last error
133
+ </th>
134
+ <th className="px-4 py-2 text-right text-[11px] font-semibold uppercase tracking-wide">
135
+ Status
136
+ </th>
137
+ </tr>
138
+ </thead>
139
+ <tbody className="divide-y divide-border/40">
140
+ {entries.slice(0, 12).map((e) => {
141
+ const meta = STATUS_META[e.status];
142
+ return (
143
+ <tr key={`${e.provider}-${e.connectionId}`} className="hover:bg-accent/60">
144
+ <td className="px-4 py-2.5">
145
+ <div className="flex min-w-0 flex-col">
146
+ <span className="truncate font-mono text-xs font-medium">
147
+ {e.connectionName}
148
+ </span>
149
+ <span className="truncate text-[11px] text-muted-foreground">
150
+ {e.provider}
151
+ </span>
152
+ </div>
153
+ </td>
154
+ <td className="px-4 py-2.5 text-right text-xs tabular-nums">
155
+ {e.requests + e.detailErrors}
156
+ </td>
157
+ <td className="px-4 py-2.5 text-right text-xs tabular-nums">
158
+ {fmtPct(e.successRate)}
159
+ </td>
160
+ <td className="px-4 py-2.5 text-right text-xs tabular-nums">
161
+ {fmtLatency(e.p50LatencyMs)}
162
+ </td>
163
+ <td className="max-w-64 px-4 py-2.5">
164
+ {e.lastError ? (
165
+ <span
166
+ className="block truncate text-[11px] text-muted-foreground"
167
+ title={`${e.lastError} (${fmtTime(e.lastErrorAt)})`}
168
+ >
169
+ {e.lastError}
170
+ </span>
171
+ ) : (
172
+ <span className="text-[11px] text-muted-foreground">—</span>
173
+ )}
174
+ </td>
175
+ <td className="px-4 py-2.5 text-right">
176
+ <Badge variant="secondary" className={`text-[11px] ${meta.className}`}>
177
+ {meta.label}
178
+ </Badge>
179
+ </td>
180
+ </tr>
181
+ );
182
+ })}
183
+ </tbody>
184
+ </table>
185
+ {failures.length > 0 && (
186
+ <div className="border-t border-border/60 px-4 py-3">
187
+ <p className="mb-2 text-[11px] font-semibold uppercase tracking-wide text-muted-foreground">
188
+ Recent failures — why fallback triggered
189
+ </p>
190
+ <div className="flex flex-col gap-1.5">
191
+ {failures.slice(0, 5).map((f, i) => (
192
+ <div
193
+ key={`${f.timestamp}-${i}`}
194
+ className="flex min-w-0 items-center gap-2 text-[11px]"
195
+ >
196
+ <span className="h-1.5 w-1.5 shrink-0 rounded-full bg-destructive" />
197
+ <span className="shrink-0 font-mono text-muted-foreground">
198
+ {fmtTime(f.timestamp)}
199
+ </span>
200
+ <span className="shrink-0 font-mono font-medium">
201
+ {f.model || f.provider}
202
+ </span>
203
+ <span
204
+ className="min-w-0 flex-1 truncate text-muted-foreground"
205
+ title={f.error || ""}
206
+ >
207
+ {f.error || f.status} ·{" "}
208
+ {f.connectionName || f.connectionId?.slice(0, 8) || "?"}
209
+ {f.latencyMs != null ? ` · ${fmtLatency(f.latencyMs)}` : ""}
210
+ </span>
211
+ </div>
212
+ ))}
213
+ </div>
214
+ </div>
215
+ )}
216
+ </div>
217
+ )}
218
+ </CardContent>
219
+ </Card>
220
+ );
221
+ }
@@ -423,12 +423,15 @@ export default function ProviderTopology({
423
423
  const lastKey = lastProvider?.toLowerCase() || "";
424
424
  const errorKey = errorProvider?.toLowerCase() || "";
425
425
 
426
- const rawActiveSet = useMemo(() => new Set(activeKey ? activeKey.split(",") : []), [activeKey]);
426
+ const rawActiveSet = useMemo(
427
+ () => new Set<string>(activeKey ? activeKey.split(",") : []),
428
+ [activeKey],
429
+ );
427
430
  const lastSet = useMemo(() => new Set(lastKey ? [lastKey] : []), [lastKey]);
428
431
  const errorSet = useMemo(() => new Set(errorKey ? [errorKey] : []), [errorKey]);
429
432
 
430
433
  // Track firstSeen per active provider; drop provider if running too long (BE stuck)
431
- const firstSeenRef = useRef({});
434
+ const firstSeenRef = useRef<Record<string, number>>({});
432
435
  const [tick, setTick] = useState<number>(0);
433
436
 
434
437
  useEffect(() => {
@@ -1,6 +1,14 @@
1
1
  import { NextResponse } from "next/server";
2
- import { getComboById, updateCombo, deleteCombo, getComboByName } from "@/lib/localDb";
2
+ import {
3
+ getComboById,
4
+ updateCombo,
5
+ deleteCombo,
6
+ getComboByName,
7
+ getCombos,
8
+ getModelAliases,
9
+ } from "@/lib/localDb";
3
10
  import { resetComboRotation } from "open-sse/services/combo.js";
11
+ import { findComboMemberProblems } from "@/lib/validateComboModels";
4
12
 
5
13
  // Validate combo name: only a-z, A-Z, 0-9, -, _
6
14
  const VALID_NAME_REGEX = /^[a-zA-Z0-9_.\-]+$/;
@@ -46,6 +54,35 @@ export async function PUT(request, { params }) {
46
54
 
47
55
  // Capture previous name to invalidate rotation state on rename
48
56
  const prev = await getComboById(id);
57
+ if (!prev) {
58
+ return NextResponse.json({ error: "Combo not found" }, { status: 404 });
59
+ }
60
+
61
+ // Same member validation as POST (see validateComboModels.ts).
62
+ if (body.models !== undefined) {
63
+ const [aliases, combos] = await Promise.all([getModelAliases(), getCombos()]);
64
+ const cleanedModels = Array.isArray(body.models)
65
+ ? [
66
+ ...new Set(
67
+ body.models.map((m) => (typeof m === "string" ? m.trim() : "")).filter(Boolean),
68
+ ),
69
+ ]
70
+ : [];
71
+ const problems = findComboMemberProblems(cleanedModels, {
72
+ aliases,
73
+ comboNames: combos.filter((c) => c.id !== id).map((c) => c.name),
74
+ selfName: body.name || prev.name,
75
+ });
76
+ if (!Array.isArray(body.models) || problems.length > 0) {
77
+ return NextResponse.json(
78
+ {
79
+ error: `Invalid combo models: ${!Array.isArray(body.models) ? "models must be an array" : problems.join("; ")}`,
80
+ },
81
+ { status: 400 },
82
+ );
83
+ }
84
+ body = { ...body, models: cleanedModels };
85
+ }
49
86
  const combo = await updateCombo(id, body);
50
87
 
51
88
  if (!combo) {
@@ -1,5 +1,6 @@
1
1
  import { NextResponse } from "next/server";
2
- import { getCombos, createCombo, getComboByName } from "@/lib/localDb";
2
+ import { getCombos, createCombo, getComboByName, getModelAliases } from "@/lib/localDb";
3
+ import { findComboMemberProblems } from "@/lib/validateComboModels";
3
4
 
4
5
  export const dynamic = "force-dynamic";
5
6
 
@@ -41,7 +42,31 @@ export async function POST(request) {
41
42
  return NextResponse.json({ error: "Combo name already exists" }, { status: 400 });
42
43
  }
43
44
 
44
- const combo = await createCombo({ name, models: models || [], kind: kind || null });
45
+ // Validate members: bare words ("Support", "Last") die at request time
46
+ // with "Invalid model format", so reject them at save time instead.
47
+ const [aliases, combos] = await Promise.all([getModelAliases(), getCombos()]);
48
+ if (models !== undefined && !Array.isArray(models)) {
49
+ return NextResponse.json(
50
+ { error: "Invalid combo models: models must be an array" },
51
+ { status: 400 },
52
+ );
53
+ }
54
+ const cleanedModels = Array.isArray(models)
55
+ ? [...new Set(models.map((m) => (typeof m === "string" ? m.trim() : "")).filter(Boolean))]
56
+ : [];
57
+ const problems = findComboMemberProblems(cleanedModels, {
58
+ aliases,
59
+ comboNames: combos.map((c) => c.name),
60
+ selfName: name,
61
+ });
62
+ if (problems.length > 0) {
63
+ return NextResponse.json(
64
+ { error: `Invalid combo models: ${problems.join("; ")}` },
65
+ { status: 400 },
66
+ );
67
+ }
68
+
69
+ const combo = await createCombo({ name, models: cleanedModels, kind: kind || null });
45
70
 
46
71
  return NextResponse.json(combo, { status: 201 });
47
72
  } catch (error) {
@@ -285,12 +285,23 @@ const PROVIDER_MODELS_CONFIG = {
285
285
  zed: {
286
286
  customResolver: async (connection) => {
287
287
  try {
288
+ const proxy = await resolveConnectionProxyConfig(connection.providerSpecificData || {});
288
289
  const result = await resolveZedModels(
289
290
  {
290
291
  accessToken: connection.accessToken,
291
292
  providerSpecificData: connection.providerSpecificData || {},
292
293
  },
293
- { config: ZED_HOSTED_CONFIG, forceRefresh: true },
294
+ {
295
+ config: ZED_HOSTED_CONFIG,
296
+ forceRefresh: true,
297
+ proxyOptions: {
298
+ connectionProxyEnabled: proxy.connectionProxyEnabled === true,
299
+ connectionProxyUrl: proxy.connectionProxyUrl || "",
300
+ connectionNoProxy: proxy.connectionNoProxy || "",
301
+ vercelRelayUrl: proxy.vercelRelayUrl || "",
302
+ strictProxy: proxy.strictProxy === true,
303
+ },
304
+ },
294
305
  );
295
306
  const models = (result?.models || [])
296
307
  .filter((m) => m && !m.isDisabled)
@@ -70,7 +70,10 @@ export async function GET() {
70
70
  for (const node of nodes) {
71
71
  if (node.id && node.name) nodeNameMap[node.id] = node.name;
72
72
  }
73
- } catch {}
73
+ } catch (err) {
74
+ // Non-fatal: names degrade to raw provider ids, but stay visible.
75
+ console.warn("Failed to load provider nodes for name map:", err);
76
+ }
74
77
 
75
78
  // Hide sensitive fields, enrich name for compatible providers
76
79
  const safeConnections = connections.map((c) => {