n9router 0.4.35 → 0.4.37

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 (1094) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +29 -16
  3. package/app/.next/build-manifest.json +3 -3
  4. package/app/.next/prerender-manifest.json +3 -3
  5. package/app/.next/required-server-files.json +5 -0
  6. package/app/.next/routes-manifest.json +120 -36
  7. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  8. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +24 -0
  11. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -0
  12. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -0
  13. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  14. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  17. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  20. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  23. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +23 -17
  26. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  28. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  29. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  31. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  32. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  33. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  34. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  35. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  36. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  37. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  38. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  39. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  40. package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
  41. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  42. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  43. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  44. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  45. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  46. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +5 -3
  47. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  48. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  49. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  50. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  51. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  52. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  53. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  54. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  55. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +5 -3
  56. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  57. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  58. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  59. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  60. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  61. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  62. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  63. package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  64. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  65. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  66. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  67. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +3 -3
  68. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  69. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  70. package/app/.next/server/app/_global-error/page.js +3 -3
  71. package/app/.next/server/app/_global-error/page.js.nft.json +1 -1
  72. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  73. package/app/.next/server/app/_global-error.html +1 -1
  74. package/app/.next/server/app/_global-error.rsc +1 -1
  75. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  76. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  77. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  78. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  79. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  80. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  81. package/app/.next/server/app/_not-found/page.js +2 -2
  82. package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
  83. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  84. package/app/.next/server/app/_not-found.html +1 -1
  85. package/app/.next/server/app/_not-found.rsc +5 -6
  86. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +5 -6
  87. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  88. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +5 -6
  89. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  90. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  91. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -4
  92. package/app/.next/server/app/api/antigravity-app/route.js +1 -1
  93. package/app/.next/server/app/api/antigravity-app/route.js.nft.json +1 -1
  94. package/app/.next/server/app/api/antigravity-app-v2/route.js +1 -1
  95. package/app/.next/server/app/api/antigravity-app-v2/route.js.nft.json +1 -1
  96. package/app/.next/server/app/api/antigravity-ide/route.js +1 -1
  97. package/app/.next/server/app/api/antigravity-ide/route.js.nft.json +1 -1
  98. package/app/.next/server/app/api/antigravity-tools/import/route.js +1 -1
  99. package/app/.next/server/app/api/antigravity-tools/import/route.js.nft.json +1 -1
  100. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js +1 -1
  101. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js.nft.json +1 -1
  102. package/app/.next/server/app/api/auth/login/route.js +1 -1
  103. package/app/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  104. package/app/.next/server/app/api/auth/logout/route.js +1 -1
  105. package/app/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  106. package/app/.next/server/app/api/auth/oidc/callback/route.js +1 -0
  107. package/app/.next/server/app/api/{cloud/credentials/update → auth/oidc/callback}/route.js.nft.json +1 -1
  108. package/app/.next/server/app/api/{cloud/models/alias → auth/oidc/callback}/route_client-reference-manifest.js +1 -1
  109. package/app/.next/server/app/api/auth/oidc/start/route.js +1 -0
  110. package/app/.next/server/app/api/{cloud/models/alias → auth/oidc/start}/route.js.nft.json +1 -1
  111. package/app/.next/server/app/api/auth/oidc/start/route_client-reference-manifest.js +1 -0
  112. package/app/.next/server/app/api/auth/oidc/test/route.js +1 -0
  113. package/app/.next/server/app/api/{cloud/model/resolve → auth/oidc/test}/route.js.nft.json +1 -1
  114. package/app/.next/server/app/api/auth/oidc/test/route_client-reference-manifest.js +1 -0
  115. package/app/.next/server/app/api/auth/status/route.js +1 -0
  116. package/app/.next/server/app/api/{tunnel/tailscale-login → auth/status}/route.js.nft.json +1 -1
  117. package/app/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -0
  118. package/app/.next/server/app/api/cli-tools/all-statuses/route.js +17 -0
  119. package/app/.next/server/app/api/{tunnel/tailscale-start-daemon → cli-tools/all-statuses}/route.js.nft.json +1 -1
  120. package/app/.next/server/app/api/{tunnel/tailscale-login → cli-tools/all-statuses}/route_client-reference-manifest.js +1 -1
  121. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  122. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  123. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  124. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  125. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  126. package/app/.next/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  127. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +2 -0
  128. package/app/.next/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -0
  129. package/app/.next/server/app/api/{cloud/credentials/update → cli-tools/cline-settings}/route_client-reference-manifest.js +1 -1
  130. package/app/.next/server/app/api/cli-tools/codex-settings/route.js +1 -32
  131. package/app/.next/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  132. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  133. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  134. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  135. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  136. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -0
  137. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -0
  138. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +1 -0
  139. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  140. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  141. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +9 -0
  142. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -0
  143. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +1 -0
  144. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +2 -2
  145. package/app/.next/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  146. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  147. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  148. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +2 -0
  149. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -0
  150. package/app/.next/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -0
  151. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -0
  152. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -0
  153. package/app/.next/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -0
  154. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  155. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  156. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  157. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  158. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  159. package/app/.next/server/app/api/combos/[id]/route.js.nft.json +1 -1
  160. package/app/.next/server/app/api/combos/route.js +1 -1
  161. package/app/.next/server/app/api/combos/route.js.nft.json +1 -1
  162. package/app/.next/server/app/api/donate/route.js +1 -0
  163. package/app/.next/server/app/api/donate/route.js.nft.json +1 -0
  164. package/app/.next/server/app/api/donate/route_client-reference-manifest.js +1 -0
  165. package/app/.next/server/app/api/health/route.js +1 -1
  166. package/app/.next/server/app/api/health/route.js.nft.json +1 -1
  167. package/app/.next/server/app/api/init/route.js +1 -1
  168. package/app/.next/server/app/api/init/route.js.nft.json +1 -1
  169. package/app/.next/server/app/api/internal/account-health/route.js +1 -1
  170. package/app/.next/server/app/api/internal/account-health/route.js.nft.json +1 -1
  171. package/app/.next/server/app/api/internal/request-detail/route.js +1 -1
  172. package/app/.next/server/app/api/internal/request-detail/route.js.nft.json +1 -1
  173. package/app/.next/server/app/api/internal/usage/route.js +1 -1
  174. package/app/.next/server/app/api/internal/usage/route.js.nft.json +1 -1
  175. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js +1 -1
  176. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js.nft.json +1 -1
  177. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  178. package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
  179. package/app/.next/server/app/api/keys/[id]/usage/route.js +1 -1
  180. package/app/.next/server/app/api/keys/[id]/usage/route.js.nft.json +1 -1
  181. package/app/.next/server/app/api/keys/route.js +1 -1
  182. package/app/.next/server/app/api/keys/route.js.nft.json +1 -1
  183. package/app/.next/server/app/api/locale/route.js +1 -1
  184. package/app/.next/server/app/api/locale/route.js.nft.json +1 -1
  185. package/app/.next/server/app/api/mcp/[plugin]/message/route.js +7 -0
  186. package/app/.next/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -0
  187. package/app/.next/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +1 -0
  188. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js +7 -0
  189. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -0
  190. package/app/.next/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +1 -0
  191. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  192. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  193. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  194. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  195. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  196. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  197. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -0
  198. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -0
  199. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +1 -0
  200. package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
  201. package/app/.next/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  202. package/app/.next/server/app/api/models/alias/route.js +1 -1
  203. package/app/.next/server/app/api/models/alias/route.js.nft.json +1 -1
  204. package/app/.next/server/app/api/models/availability/route.js +1 -1
  205. package/app/.next/server/app/api/models/availability/route.js.nft.json +1 -1
  206. package/app/.next/server/app/api/models/custom/route.js +1 -1
  207. package/app/.next/server/app/api/models/custom/route.js.nft.json +1 -1
  208. package/app/.next/server/app/api/models/disabled/route.js +1 -1
  209. package/app/.next/server/app/api/models/disabled/route.js.nft.json +1 -1
  210. package/app/.next/server/app/api/models/route.js +1 -1
  211. package/app/.next/server/app/api/models/route.js.nft.json +1 -1
  212. package/app/.next/server/app/api/models/test/route.js +1 -1
  213. package/app/.next/server/app/api/models/test/route.js.nft.json +1 -1
  214. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -6
  215. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  216. package/app/.next/server/app/api/oauth/codex/import-token/route.js +1 -0
  217. package/app/.next/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -0
  218. package/app/.next/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +1 -0
  219. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  220. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  221. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  222. package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  223. package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
  224. package/app/.next/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  225. package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
  226. package/app/.next/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  227. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  228. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  229. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  230. package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  231. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  232. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  233. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  234. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  235. package/app/.next/server/app/api/pricing/route.js +1 -1
  236. package/app/.next/server/app/api/pricing/route.js.nft.json +1 -1
  237. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  238. package/app/.next/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  239. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  240. package/app/.next/server/app/api/provider-nodes/route.js.nft.json +1 -1
  241. package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  242. package/app/.next/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  243. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  244. package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  245. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  246. package/app/.next/server/app/api/providers/[id]/route.js.nft.json +1 -1
  247. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  248. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  249. package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
  250. package/app/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  251. package/app/.next/server/app/api/providers/client/route.js +1 -1
  252. package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  253. package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
  254. package/app/.next/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  255. package/app/.next/server/app/api/providers/route.js +1 -1
  256. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  257. package/app/.next/server/app/api/providers/suggested-models/route.js +1 -1
  258. package/app/.next/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  259. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  260. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  261. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  262. package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  263. package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
  264. package/app/.next/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  265. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  266. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  267. package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js +43 -0
  268. package/app/.next/server/app/api/{cloud/auth → proxy-pools/cloudflare-deploy}/route.js.nft.json +1 -1
  269. package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route_client-reference-manifest.js +1 -0
  270. package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js +40 -0
  271. package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -0
  272. package/app/.next/server/app/api/proxy-pools/deno-deploy/route_client-reference-manifest.js +1 -0
  273. package/app/.next/server/app/api/proxy-pools/route.js +1 -1
  274. package/app/.next/server/app/api/proxy-pools/route.js.nft.json +1 -1
  275. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  276. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  277. package/app/.next/server/app/api/settings/database/route.js +1 -1
  278. package/app/.next/server/app/api/settings/database/route.js.nft.json +1 -1
  279. package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
  280. package/app/.next/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  281. package/app/.next/server/app/api/settings/require-login/route.js +1 -1
  282. package/app/.next/server/app/api/settings/require-login/route.js.nft.json +1 -1
  283. package/app/.next/server/app/api/settings/route.js +1 -1
  284. package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
  285. package/app/.next/server/app/api/shutdown/route.js +1 -1
  286. package/app/.next/server/app/api/shutdown/route.js.nft.json +1 -1
  287. package/app/.next/server/app/api/tags/route.js +1 -1
  288. package/app/.next/server/app/api/tags/route.js.nft.json +1 -1
  289. package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
  290. package/app/.next/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  291. package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
  292. package/app/.next/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  293. package/app/.next/server/app/api/translator/load/route.js +1 -1
  294. package/app/.next/server/app/api/translator/load/route.js.nft.json +1 -1
  295. package/app/.next/server/app/api/translator/save/route.js +1 -1
  296. package/app/.next/server/app/api/translator/save/route.js.nft.json +1 -1
  297. package/app/.next/server/app/api/translator/send/route.js +1 -1
  298. package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  299. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  300. package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  301. package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
  302. package/app/.next/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  303. package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
  304. package/app/.next/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  305. package/app/.next/server/app/api/tunnel/status/route.js +1 -1
  306. package/app/.next/server/app/api/tunnel/status/route.js.nft.json +1 -1
  307. package/app/.next/server/app/api/tunnel/tailscale-check/route.js +1 -1
  308. package/app/.next/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  309. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  310. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  311. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  312. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  313. package/app/.next/server/app/api/tunnel/tailscale-install/route.js +4 -4
  314. package/app/.next/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  315. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  316. package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  317. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  318. package/app/.next/server/app/api/usage/chart/route.js.nft.json +1 -1
  319. package/app/.next/server/app/api/usage/history/route.js +1 -1
  320. package/app/.next/server/app/api/usage/history/route.js.nft.json +1 -1
  321. package/app/.next/server/app/api/usage/logs/route.js +1 -1
  322. package/app/.next/server/app/api/usage/logs/route.js.nft.json +1 -1
  323. package/app/.next/server/app/api/usage/providers/route.js +1 -1
  324. package/app/.next/server/app/api/usage/providers/route.js.nft.json +1 -1
  325. package/app/.next/server/app/api/usage/report/route.js +1 -1
  326. package/app/.next/server/app/api/usage/report/route.js.nft.json +1 -1
  327. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  328. package/app/.next/server/app/api/usage/request-details/route.js.nft.json +1 -1
  329. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  330. package/app/.next/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  331. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  332. package/app/.next/server/app/api/usage/stats/route.js.nft.json +1 -1
  333. package/app/.next/server/app/api/usage/stream/route.js +2 -2
  334. package/app/.next/server/app/api/usage/stream/route.js.nft.json +1 -1
  335. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  336. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  337. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  338. package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  339. package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  340. package/app/.next/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  341. package/app/.next/server/app/api/v1/audio/voices/route.js +1 -1
  342. package/app/.next/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  343. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  344. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  345. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  346. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  347. package/app/.next/server/app/api/v1/images/generations/route.js +2 -2
  348. package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  349. package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  350. package/app/.next/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  351. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  352. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  353. package/app/.next/server/app/api/v1/models/[kind]/route.js +1 -1
  354. package/app/.next/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  355. package/app/.next/server/app/api/v1/models/info/route.js +1 -1
  356. package/app/.next/server/app/api/v1/models/info/route.js.nft.json +1 -1
  357. package/app/.next/server/app/api/v1/models/route.js +1 -1
  358. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  359. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  360. package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  361. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  362. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  363. package/app/.next/server/app/api/v1/route.js +1 -1
  364. package/app/.next/server/app/api/v1/route.js.nft.json +1 -1
  365. package/app/.next/server/app/api/v1/search/route.js +1 -1
  366. package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -1
  367. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
  368. package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  369. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  370. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  371. package/app/.next/server/app/api/v1beta/models/route.js +1 -1
  372. package/app/.next/server/app/api/v1beta/models/route.js.nft.json +1 -1
  373. package/app/.next/server/app/api/version/route.js +1 -1
  374. package/app/.next/server/app/api/version/route.js.nft.json +1 -1
  375. package/app/.next/server/app/api/version/shutdown/route.js +1 -0
  376. package/app/.next/server/app/api/version/shutdown/route.js.nft.json +1 -0
  377. package/app/.next/server/app/api/version/shutdown/route_client-reference-manifest.js +1 -0
  378. package/app/.next/server/app/api/version/update/route.js +1 -1
  379. package/app/.next/server/app/api/version/update/route.js.nft.json +1 -1
  380. package/app/.next/server/app/callback/page.js +2 -2
  381. package/app/.next/server/app/callback/page.js.nft.json +1 -1
  382. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  383. package/app/.next/server/app/callback.html +1 -1
  384. package/app/.next/server/app/callback.rsc +6 -7
  385. package/app/.next/server/app/callback.segments/_full.segment.rsc +6 -7
  386. package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
  387. package/app/.next/server/app/callback.segments/_index.segment.rsc +5 -6
  388. package/app/.next/server/app/callback.segments/_tree.segment.rsc +3 -4
  389. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
  390. package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
  391. package/app/.next/server/app/dashboard/basic-chat.html +1 -1
  392. package/app/.next/server/app/dashboard/basic-chat.rsc +7 -8
  393. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  394. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  395. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  396. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  397. package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +7 -8
  398. package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  399. package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +5 -6
  400. package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +3 -4
  401. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  402. package/app/.next/server/app/dashboard/cli-tools.rsc +7 -8
  403. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  404. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  405. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  406. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  407. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +7 -8
  408. package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  409. package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +5 -6
  410. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +3 -4
  411. package/app/.next/server/app/dashboard/combos.html +1 -1
  412. package/app/.next/server/app/dashboard/combos.rsc +7 -8
  413. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  414. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  415. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  416. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  417. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +7 -8
  418. package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  419. package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +5 -6
  420. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +3 -4
  421. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  422. package/app/.next/server/app/dashboard/endpoint.rsc +7 -8
  423. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  424. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  425. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  426. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  427. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +7 -8
  428. package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  429. package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +5 -6
  430. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +3 -4
  431. package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
  432. package/app/.next/server/app/dashboard/media-providers/web.rsc +7 -8
  433. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  434. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  435. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  436. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  437. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  438. package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +7 -8
  439. package/app/.next/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  440. package/app/.next/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +5 -6
  441. package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +3 -4
  442. package/app/.next/server/app/dashboard/mitm.html +1 -1
  443. package/app/.next/server/app/dashboard/mitm.rsc +7 -8
  444. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  445. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  446. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  447. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  448. package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +7 -8
  449. package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  450. package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +5 -6
  451. package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +3 -4
  452. package/app/.next/server/app/dashboard/profile.html +1 -1
  453. package/app/.next/server/app/dashboard/profile.rsc +7 -8
  454. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  455. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  456. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  457. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  458. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +7 -8
  459. package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  460. package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +5 -6
  461. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +3 -4
  462. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  463. package/app/.next/server/app/dashboard/providers/new.rsc +7 -8
  464. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  465. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  466. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  467. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  468. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  469. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +7 -8
  470. package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  471. package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +5 -6
  472. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +3 -4
  473. package/app/.next/server/app/dashboard/providers.html +1 -1
  474. package/app/.next/server/app/dashboard/providers.rsc +7 -8
  475. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  476. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  477. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  478. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  479. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +7 -8
  480. package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  481. package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +5 -6
  482. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +3 -4
  483. package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
  484. package/app/.next/server/app/dashboard/proxy-pools.rsc +7 -8
  485. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  486. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  487. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  488. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  489. package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +7 -8
  490. package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  491. package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +5 -6
  492. package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +3 -4
  493. package/app/.next/server/app/dashboard/quota.html +2 -2
  494. package/app/.next/server/app/dashboard/quota.rsc +8 -9
  495. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  496. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  497. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  498. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  499. package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +8 -9
  500. package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  501. package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +5 -6
  502. package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +3 -4
  503. package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
  504. package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  505. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  506. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  507. package/app/.next/server/app/dashboard/settings/pricing.rsc +5 -6
  508. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -6
  509. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  510. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +5 -6
  511. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +3 -4
  512. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  513. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  514. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  515. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  516. package/app/.next/server/app/dashboard/skills.html +1 -1
  517. package/app/.next/server/app/dashboard/skills.rsc +7 -8
  518. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  519. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  520. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  521. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  522. package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +7 -8
  523. package/app/.next/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  524. package/app/.next/server/app/dashboard/skills.segments/_index.segment.rsc +5 -6
  525. package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +3 -4
  526. package/app/.next/server/app/dashboard/translator.html +1 -1
  527. package/app/.next/server/app/dashboard/translator.rsc +7 -8
  528. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  529. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  530. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  531. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  532. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +7 -8
  533. package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  534. package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +5 -6
  535. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +3 -4
  536. package/app/.next/server/app/dashboard/usage.html +1 -1
  537. package/app/.next/server/app/dashboard/usage.rsc +7 -8
  538. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  539. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  540. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  541. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  542. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +7 -8
  543. package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  544. package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +5 -6
  545. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +3 -4
  546. package/app/.next/server/app/dashboard.html +1 -1
  547. package/app/.next/server/app/dashboard.rsc +7 -8
  548. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  549. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  550. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  551. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +7 -8
  552. package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
  553. package/app/.next/server/app/dashboard.segments/_index.segment.rsc +5 -6
  554. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +3 -4
  555. package/app/.next/server/app/favicon.ico/route.js +1 -1
  556. package/app/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  557. package/app/.next/server/app/index.html +1 -1
  558. package/app/.next/server/app/index.rsc +5 -6
  559. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  560. package/app/.next/server/app/index.segments/_full.segment.rsc +5 -6
  561. package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
  562. package/app/.next/server/app/index.segments/_index.segment.rsc +5 -6
  563. package/app/.next/server/app/index.segments/_tree.segment.rsc +3 -4
  564. package/app/.next/server/app/landing/page.js +2 -2
  565. package/app/.next/server/app/landing/page.js.nft.json +1 -1
  566. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  567. package/app/.next/server/app/landing.html +1 -1
  568. package/app/.next/server/app/landing.rsc +5 -6
  569. package/app/.next/server/app/landing.segments/_full.segment.rsc +5 -6
  570. package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
  571. package/app/.next/server/app/landing.segments/_index.segment.rsc +5 -6
  572. package/app/.next/server/app/landing.segments/_tree.segment.rsc +3 -4
  573. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  574. package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
  575. package/app/.next/server/app/login/page.js +2 -2
  576. package/app/.next/server/app/login/page.js.nft.json +1 -1
  577. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  578. package/app/.next/server/app/login.html +1 -1
  579. package/app/.next/server/app/login.rsc +6 -7
  580. package/app/.next/server/app/login.segments/_full.segment.rsc +6 -7
  581. package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
  582. package/app/.next/server/app/login.segments/_index.segment.rsc +5 -6
  583. package/app/.next/server/app/login.segments/_tree.segment.rsc +3 -4
  584. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  585. package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
  586. package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
  587. package/app/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  588. package/app/.next/server/app/page.js +2 -2
  589. package/app/.next/server/app/page.js.nft.json +1 -1
  590. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  591. package/app/.next/server/app-paths-manifest.json +29 -16
  592. package/app/.next/server/chunks/1051.js +1 -0
  593. package/app/.next/server/chunks/1476.js +1 -0
  594. package/app/.next/server/chunks/1498.js +1 -0
  595. package/app/.next/server/chunks/1531.js +1 -0
  596. package/app/.next/server/chunks/1569.js +1 -0
  597. package/app/.next/server/chunks/1699.js +1 -0
  598. package/app/.next/server/chunks/1998.js +1 -0
  599. package/app/.next/server/chunks/3104.js +43 -0
  600. package/app/.next/server/chunks/3110.js +56 -5
  601. package/app/.next/server/chunks/318.js +41 -15
  602. package/app/.next/server/chunks/3245.js +1 -1
  603. package/app/.next/server/chunks/3588.js +1 -0
  604. package/app/.next/server/chunks/365.js +1 -0
  605. package/app/.next/server/chunks/4013.js +1 -0
  606. package/app/.next/server/chunks/412.js +5 -5
  607. package/app/.next/server/chunks/4177.js +1 -0
  608. package/app/.next/server/chunks/4250.js +1 -1
  609. package/app/.next/server/chunks/4334.js +1 -1
  610. package/app/.next/server/chunks/4389.js +1 -0
  611. package/app/.next/server/chunks/4404.js +1 -0
  612. package/app/.next/server/chunks/4989.js +2 -2
  613. package/app/.next/server/chunks/{7861.js → 5221.js} +1 -1
  614. package/app/.next/server/chunks/5433.js +1 -0
  615. package/app/.next/server/chunks/5681.js +1 -1
  616. package/app/.next/server/chunks/5995.js +53 -0
  617. package/app/.next/server/chunks/6108.js +1 -1
  618. package/app/.next/server/chunks/6182.js +61 -5
  619. package/app/.next/server/chunks/6251.js +1 -0
  620. package/app/.next/server/chunks/6457.js +4 -0
  621. package/app/.next/server/chunks/6811.js +1 -0
  622. package/app/.next/server/chunks/6935.js +1 -0
  623. package/app/.next/server/chunks/7341.js +1 -1
  624. package/app/.next/server/chunks/7828.js +1 -1
  625. package/app/.next/server/chunks/7879.js +10 -0
  626. package/app/.next/server/chunks/7994.js +2 -2
  627. package/app/.next/server/chunks/8255.js +1 -0
  628. package/app/.next/server/chunks/8473.js +8 -0
  629. package/app/.next/server/chunks/8590.js +1 -1
  630. package/app/.next/server/chunks/8895.js +4 -4
  631. package/app/.next/server/chunks/8971.js +1 -0
  632. package/app/.next/server/chunks/9396.js +44 -0
  633. package/app/.next/server/chunks/9489.js +1 -1
  634. package/app/.next/server/chunks/9528.js +32 -0
  635. package/app/.next/server/chunks/9609.js +1 -1
  636. package/app/.next/server/chunks/9718.js +1 -1
  637. package/app/.next/server/chunks/9807.js +7 -0
  638. package/app/.next/server/functions-config-manifest.json +4 -30
  639. package/app/.next/server/middleware-build-manifest.js +1 -1
  640. package/app/.next/server/middleware.js +2 -2
  641. package/app/.next/server/pages/404.html +1 -1
  642. package/app/.next/server/pages/500.html +1 -1
  643. package/app/.next/server/server-reference-manifest.js +1 -1
  644. package/app/.next/server/server-reference-manifest.json +1 -1
  645. package/app/.next/static/YEhAtVGU-1J8HgdJmmpjP/_buildManifest.js +1 -0
  646. package/app/.next/static/chunks/1321-ae8f019eee61818e.js +1 -0
  647. package/app/.next/static/chunks/1a258343-5938f676ed376386.js +1 -0
  648. package/app/.next/static/chunks/2589-d4f1afc5e9f94887.js +3 -0
  649. package/app/.next/static/chunks/4406-05ac5641472f331e.js +53 -0
  650. package/app/.next/static/chunks/5497-73d5899267432022.js +7 -0
  651. package/app/.next/static/chunks/7055-e60e20f43bfbe5f8.js +1 -0
  652. package/app/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/page-068dda6eab2b9c36.js +1 -0
  653. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-67d36bbaeb6af871.js +1 -0
  654. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-51957200aaa0e0f7.js +1 -0
  655. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-1271df5d411ef013.js +1 -0
  656. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-e680a27ecacbfd49.js +59 -0
  657. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-af17247a74fa851d.js +1 -0
  658. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-8cb9c569a7822a0a.js +1 -0
  659. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-8eaef671b213ee9e.js +1 -0
  660. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-90eac92387b41cd4.js +6 -0
  661. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-de08b6b9ad238de4.js +1 -0
  662. package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-b9da35538f423062.js +4 -0
  663. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-1389351bfdd842f9.js +1 -0
  664. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-d6fce7b8e1d3fdec.js +3 -0
  665. package/app/.next/static/chunks/app/(dashboard)/layout-1244fdc593309aa9.js +1 -0
  666. package/app/.next/static/chunks/app/_global-error/page-7a42dc789702ab06.js +1 -0
  667. package/app/.next/static/chunks/app/api/antigravity-app/route-7a42dc789702ab06.js +1 -0
  668. package/app/.next/static/chunks/app/api/antigravity-app-v2/route-7a42dc789702ab06.js +1 -0
  669. package/app/.next/static/chunks/app/api/antigravity-ide/route-7a42dc789702ab06.js +1 -0
  670. package/app/.next/static/chunks/app/api/antigravity-tools/import/route-7a42dc789702ab06.js +1 -0
  671. package/app/.next/static/chunks/app/api/antigravity-tools/import-refresh-tokens/route-7a42dc789702ab06.js +1 -0
  672. package/app/.next/static/chunks/app/api/auth/login/route-7a42dc789702ab06.js +1 -0
  673. package/app/.next/static/chunks/app/api/auth/logout/route-7a42dc789702ab06.js +1 -0
  674. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-7a42dc789702ab06.js +1 -0
  675. package/app/.next/static/chunks/app/api/auth/oidc/start/route-7a42dc789702ab06.js +1 -0
  676. package/app/.next/static/chunks/app/api/auth/oidc/test/route-7a42dc789702ab06.js +1 -0
  677. package/app/.next/static/chunks/app/api/auth/status/route-7a42dc789702ab06.js +1 -0
  678. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-7a42dc789702ab06.js +1 -0
  679. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-7a42dc789702ab06.js +1 -0
  680. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-7a42dc789702ab06.js +1 -0
  681. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-7a42dc789702ab06.js +1 -0
  682. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-7a42dc789702ab06.js +1 -0
  683. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-7a42dc789702ab06.js +1 -0
  684. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-7a42dc789702ab06.js +1 -0
  685. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-7a42dc789702ab06.js +1 -0
  686. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-7a42dc789702ab06.js +1 -0
  687. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-7a42dc789702ab06.js +1 -0
  688. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-7a42dc789702ab06.js +1 -0
  689. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-7a42dc789702ab06.js +1 -0
  690. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-7a42dc789702ab06.js +1 -0
  691. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-7a42dc789702ab06.js +1 -0
  692. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-7a42dc789702ab06.js +1 -0
  693. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-7a42dc789702ab06.js +1 -0
  694. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-7a42dc789702ab06.js +1 -0
  695. package/app/.next/static/chunks/app/api/combos/[id]/route-7a42dc789702ab06.js +1 -0
  696. package/app/.next/static/chunks/app/api/combos/route-7a42dc789702ab06.js +1 -0
  697. package/app/.next/static/chunks/app/api/donate/route-7a42dc789702ab06.js +1 -0
  698. package/app/.next/static/chunks/app/api/health/route-7a42dc789702ab06.js +1 -0
  699. package/app/.next/static/chunks/app/api/init/route-7a42dc789702ab06.js +1 -0
  700. package/app/.next/static/chunks/app/api/internal/account-health/route-7a42dc789702ab06.js +1 -0
  701. package/app/.next/static/chunks/app/api/internal/request-detail/route-7a42dc789702ab06.js +1 -0
  702. package/app/.next/static/chunks/app/api/internal/usage/route-7a42dc789702ab06.js +1 -0
  703. package/app/.next/static/chunks/app/api/keys/[id]/reset-usage/route-7a42dc789702ab06.js +1 -0
  704. package/app/.next/static/chunks/app/api/keys/[id]/route-7a42dc789702ab06.js +1 -0
  705. package/app/.next/static/chunks/app/api/keys/[id]/usage/route-7a42dc789702ab06.js +1 -0
  706. package/app/.next/static/chunks/app/api/keys/route-7a42dc789702ab06.js +1 -0
  707. package/app/.next/static/chunks/app/api/locale/route-7a42dc789702ab06.js +1 -0
  708. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-7a42dc789702ab06.js +1 -0
  709. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-7a42dc789702ab06.js +1 -0
  710. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-7a42dc789702ab06.js +1 -0
  711. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-7a42dc789702ab06.js +1 -0
  712. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-7a42dc789702ab06.js +1 -0
  713. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-7a42dc789702ab06.js +1 -0
  714. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-7a42dc789702ab06.js +1 -0
  715. package/app/.next/static/chunks/app/api/models/alias/route-7a42dc789702ab06.js +1 -0
  716. package/app/.next/static/chunks/app/api/models/availability/route-7a42dc789702ab06.js +1 -0
  717. package/app/.next/static/chunks/app/api/models/custom/route-7a42dc789702ab06.js +1 -0
  718. package/app/.next/static/chunks/app/api/models/disabled/route-7a42dc789702ab06.js +1 -0
  719. package/app/.next/static/chunks/app/api/models/route-7a42dc789702ab06.js +1 -0
  720. package/app/.next/static/chunks/app/api/models/test/route-7a42dc789702ab06.js +1 -0
  721. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-7a42dc789702ab06.js +1 -0
  722. package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-7a42dc789702ab06.js +1 -0
  723. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-7a42dc789702ab06.js +1 -0
  724. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-7a42dc789702ab06.js +1 -0
  725. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-7a42dc789702ab06.js +1 -0
  726. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-7a42dc789702ab06.js +1 -0
  727. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-7a42dc789702ab06.js +1 -0
  728. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-7a42dc789702ab06.js +1 -0
  729. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-7a42dc789702ab06.js +1 -0
  730. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-7a42dc789702ab06.js +1 -0
  731. package/app/.next/static/chunks/app/api/pricing/route-7a42dc789702ab06.js +1 -0
  732. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-7a42dc789702ab06.js +1 -0
  733. package/app/.next/static/chunks/app/api/provider-nodes/route-7a42dc789702ab06.js +1 -0
  734. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-7a42dc789702ab06.js +1 -0
  735. package/app/.next/static/chunks/app/api/providers/[id]/models/route-7a42dc789702ab06.js +1 -0
  736. package/app/.next/static/chunks/app/api/providers/[id]/route-7a42dc789702ab06.js +1 -0
  737. package/app/.next/static/chunks/app/api/providers/[id]/test/route-7a42dc789702ab06.js +1 -0
  738. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-7a42dc789702ab06.js +1 -0
  739. package/app/.next/static/chunks/app/api/providers/client/route-7a42dc789702ab06.js +1 -0
  740. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-7a42dc789702ab06.js +1 -0
  741. package/app/.next/static/chunks/app/api/providers/route-7a42dc789702ab06.js +1 -0
  742. package/app/.next/static/chunks/app/api/providers/suggested-models/route-7a42dc789702ab06.js +1 -0
  743. package/app/.next/static/chunks/app/api/providers/test-batch/route-7a42dc789702ab06.js +1 -0
  744. package/app/.next/static/chunks/app/api/providers/validate/route-7a42dc789702ab06.js +1 -0
  745. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-7a42dc789702ab06.js +1 -0
  746. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-7a42dc789702ab06.js +1 -0
  747. package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-7a42dc789702ab06.js +1 -0
  748. package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-7a42dc789702ab06.js +1 -0
  749. package/app/.next/static/chunks/app/api/proxy-pools/route-7a42dc789702ab06.js +1 -0
  750. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-7a42dc789702ab06.js +1 -0
  751. package/app/.next/static/chunks/app/api/settings/database/route-7a42dc789702ab06.js +1 -0
  752. package/app/.next/static/chunks/app/api/settings/proxy-test/route-7a42dc789702ab06.js +1 -0
  753. package/app/.next/static/chunks/app/api/settings/require-login/route-7a42dc789702ab06.js +1 -0
  754. package/app/.next/static/chunks/app/api/settings/route-7a42dc789702ab06.js +1 -0
  755. package/app/.next/static/chunks/app/api/shutdown/route-7a42dc789702ab06.js +1 -0
  756. package/app/.next/static/chunks/app/api/tags/route-7a42dc789702ab06.js +1 -0
  757. package/app/.next/static/chunks/app/api/translator/console-logs/route-7a42dc789702ab06.js +1 -0
  758. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-7a42dc789702ab06.js +1 -0
  759. package/app/.next/static/chunks/app/api/translator/load/route-7a42dc789702ab06.js +1 -0
  760. package/app/.next/static/chunks/app/api/translator/save/route-7a42dc789702ab06.js +1 -0
  761. package/app/.next/static/chunks/app/api/translator/send/route-7a42dc789702ab06.js +1 -0
  762. package/app/.next/static/chunks/app/api/translator/translate/route-7a42dc789702ab06.js +1 -0
  763. package/app/.next/static/chunks/app/api/tunnel/disable/route-7a42dc789702ab06.js +1 -0
  764. package/app/.next/static/chunks/app/api/tunnel/enable/route-7a42dc789702ab06.js +1 -0
  765. package/app/.next/static/chunks/app/api/tunnel/status/route-7a42dc789702ab06.js +1 -0
  766. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-7a42dc789702ab06.js +1 -0
  767. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-7a42dc789702ab06.js +1 -0
  768. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-7a42dc789702ab06.js +1 -0
  769. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-7a42dc789702ab06.js +1 -0
  770. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-7a42dc789702ab06.js +1 -0
  771. package/app/.next/static/chunks/app/api/usage/chart/route-7a42dc789702ab06.js +1 -0
  772. package/app/.next/static/chunks/app/api/usage/history/route-7a42dc789702ab06.js +1 -0
  773. package/app/.next/static/chunks/app/api/usage/logs/route-7a42dc789702ab06.js +1 -0
  774. package/app/.next/static/chunks/app/api/usage/providers/route-7a42dc789702ab06.js +1 -0
  775. package/app/.next/static/chunks/app/api/usage/report/route-7a42dc789702ab06.js +1 -0
  776. package/app/.next/static/chunks/app/api/usage/request-details/route-7a42dc789702ab06.js +1 -0
  777. package/app/.next/static/chunks/app/api/usage/request-logs/route-7a42dc789702ab06.js +1 -0
  778. package/app/.next/static/chunks/app/api/usage/stats/route-7a42dc789702ab06.js +1 -0
  779. package/app/.next/static/chunks/app/api/usage/stream/route-7a42dc789702ab06.js +1 -0
  780. package/app/.next/static/chunks/app/api/v1/api/chat/route-7a42dc789702ab06.js +1 -0
  781. package/app/.next/static/chunks/app/api/v1/audio/speech/route-7a42dc789702ab06.js +1 -0
  782. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-7a42dc789702ab06.js +1 -0
  783. package/app/.next/static/chunks/app/api/v1/audio/voices/route-7a42dc789702ab06.js +1 -0
  784. package/app/.next/static/chunks/app/api/v1/chat/completions/route-7a42dc789702ab06.js +1 -0
  785. package/app/.next/static/chunks/app/api/v1/embeddings/route-7a42dc789702ab06.js +1 -0
  786. package/app/.next/static/chunks/app/api/v1/images/generations/route-7a42dc789702ab06.js +1 -0
  787. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-7a42dc789702ab06.js +1 -0
  788. package/app/.next/static/chunks/app/api/v1/messages/route-7a42dc789702ab06.js +1 -0
  789. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-7a42dc789702ab06.js +1 -0
  790. package/app/.next/static/chunks/app/api/v1/models/info/route-7a42dc789702ab06.js +1 -0
  791. package/app/.next/static/chunks/app/api/v1/models/route-7a42dc789702ab06.js +1 -0
  792. package/app/.next/static/chunks/app/api/v1/responses/compact/route-7a42dc789702ab06.js +1 -0
  793. package/app/.next/static/chunks/app/api/v1/responses/route-7a42dc789702ab06.js +1 -0
  794. package/app/.next/static/chunks/app/api/v1/route-7a42dc789702ab06.js +1 -0
  795. package/app/.next/static/chunks/app/api/v1/search/route-7a42dc789702ab06.js +1 -0
  796. package/app/.next/static/chunks/app/api/v1/web/fetch/route-7a42dc789702ab06.js +1 -0
  797. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-7a42dc789702ab06.js +1 -0
  798. package/app/.next/static/chunks/app/api/v1beta/models/route-7a42dc789702ab06.js +1 -0
  799. package/app/.next/static/chunks/app/api/version/route-7a42dc789702ab06.js +1 -0
  800. package/app/.next/static/chunks/app/api/version/shutdown/route-7a42dc789702ab06.js +1 -0
  801. package/app/.next/static/chunks/app/api/version/update/route-7a42dc789702ab06.js +1 -0
  802. package/app/.next/static/chunks/app/callback/page-1ac4b69a5de26857.js +1 -0
  803. package/app/.next/static/chunks/app/layout-35b23f7e08fe3978.js +1 -0
  804. package/app/.next/static/chunks/app/login/page-98aaabbf53ef75f6.js +1 -0
  805. package/app/.next/static/chunks/app/manifest.webmanifest/route-7a42dc789702ab06.js +1 -0
  806. package/app/.next/static/chunks/app/page-7a42dc789702ab06.js +1 -0
  807. package/app/.next/static/chunks/{main-1b1bc8be25c3ce13.js → main-436691d9f611641e.js} +3 -3
  808. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-7a42dc789702ab06.js +1 -0
  809. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-7a42dc789702ab06.js +1 -0
  810. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-7a42dc789702ab06.js +1 -0
  811. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-7a42dc789702ab06.js +1 -0
  812. package/app/.next/static/chunks/{webpack-a33c667c0bbf302f.js → webpack-c2bac8d80aa27536.js} +1 -1
  813. package/app/.next/static/css/{081a0afca5a9bd20.css → 0f03023a765dc337.css} +1 -1
  814. package/app/.next/static/css/440b3581c215aef0.css +1 -0
  815. package/app/.next/static/media/material-symbols-outlined.50fdf095.woff2 +0 -0
  816. package/app/open-sse/config/appConstants.js +9 -3
  817. package/app/open-sse/config/kiroConstants.js +262 -0
  818. package/app/open-sse/config/providerModels.js +221 -20
  819. package/app/open-sse/config/providers.js +86 -23
  820. package/app/open-sse/config/runtimeConfig.js +6 -0
  821. package/app/open-sse/executors/base.js +21 -4
  822. package/app/open-sse/executors/codex.js +255 -28
  823. package/app/open-sse/executors/cursor.js +52 -2
  824. package/app/open-sse/executors/default.js +32 -6
  825. package/app/open-sse/executors/gemini-cli.js +26 -4
  826. package/app/open-sse/executors/github.js +16 -2
  827. package/app/open-sse/executors/kiro.js +37 -0
  828. package/app/open-sse/executors/opencode.js +6 -1
  829. package/app/open-sse/executors/qoder.js +420 -43
  830. package/app/open-sse/handlers/chatCore.js +22 -6
  831. package/app/open-sse/handlers/embeddingProviders/gemini.js +15 -3
  832. package/app/open-sse/handlers/imageProviders/codex.js +1 -1
  833. package/app/open-sse/handlers/imageProviders/index.js +1 -0
  834. package/app/open-sse/handlers/imageProviders/openai.js +7 -0
  835. package/app/open-sse/handlers/ttsProviders/genericFormats.js +2 -0
  836. package/app/open-sse/handlers/ttsProviders/minimax.js +59 -0
  837. package/app/open-sse/rtk/autodetect.js +9 -2
  838. package/app/open-sse/rtk/constants.js +2 -1
  839. package/app/open-sse/rtk/filters/buildOutput.js +127 -0
  840. package/app/open-sse/rtk/index.js +36 -0
  841. package/app/open-sse/services/kiroModels.js +332 -0
  842. package/app/open-sse/services/model.js +73 -0
  843. package/app/open-sse/services/qoderModels.js +214 -0
  844. package/app/open-sse/services/tokenRefresh.js +94 -19
  845. package/app/open-sse/services/usage.js +141 -39
  846. package/app/open-sse/translator/helpers/openaiHelper.js +3 -0
  847. package/app/open-sse/translator/request/openai-responses.js +28 -2
  848. package/app/open-sse/translator/request/openai-to-kiro.js +48 -4
  849. package/app/open-sse/translator/response/kiro-to-openai.js +10 -4
  850. package/app/open-sse/translator/response/openai-responses.js +10 -3
  851. package/app/open-sse/translator/response/openai-to-claude.js +59 -16
  852. package/app/open-sse/utils/clientDetector.js +6 -3
  853. package/app/open-sse/utils/debugLog.js +14 -0
  854. package/app/open-sse/utils/proxyFetch.js +101 -1
  855. package/app/open-sse/utils/reasoningContentInjector.js +41 -3
  856. package/app/open-sse/utils/stream.js +15 -3
  857. package/app/open-sse/utils/streamHandler.js +106 -6
  858. package/app/open-sse/utils/toolDeduper.js +49 -0
  859. package/app/open-sse/utils/usageTracking.js +10 -0
  860. package/app/package.json +7 -5
  861. package/app/public/i18n/literals/ar.json +4 -6
  862. package/app/public/i18n/literals/bn.json +4 -6
  863. package/app/public/i18n/literals/cs.json +4 -6
  864. package/app/public/i18n/literals/da.json +4 -6
  865. package/app/public/i18n/literals/de.json +4 -6
  866. package/app/public/i18n/literals/el.json +4 -6
  867. package/app/public/i18n/literals/es.json +4 -6
  868. package/app/public/i18n/literals/fi.json +4 -6
  869. package/app/public/i18n/literals/fr.json +4 -6
  870. package/app/public/i18n/literals/he.json +4 -6
  871. package/app/public/i18n/literals/hi.json +4 -6
  872. package/app/public/i18n/literals/hu.json +4 -6
  873. package/app/public/i18n/literals/id.json +4 -6
  874. package/app/public/i18n/literals/it.json +4 -6
  875. package/app/public/i18n/literals/ja.json +4 -6
  876. package/app/public/i18n/literals/ko.json +4 -6
  877. package/app/public/i18n/literals/nl.json +4 -6
  878. package/app/public/i18n/literals/no.json +4 -6
  879. package/app/public/i18n/literals/pl.json +4 -6
  880. package/app/public/i18n/literals/pt-BR.json +4 -6
  881. package/app/public/i18n/literals/pt-PT.json +4 -6
  882. package/app/public/i18n/literals/ro.json +5 -7
  883. package/app/public/i18n/literals/ru.json +4 -6
  884. package/app/public/i18n/literals/sv.json +4 -6
  885. package/app/public/i18n/literals/th.json +4 -6
  886. package/app/public/i18n/literals/tl.json +4 -6
  887. package/app/public/i18n/literals/tr.json +4 -6
  888. package/app/public/i18n/literals/uk.json +4 -6
  889. package/app/public/i18n/literals/ur.json +4 -6
  890. package/app/public/i18n/literals/vi.json +6 -8
  891. package/app/public/i18n/literals/zh-CN.json +5 -29
  892. package/app/public/i18n/literals/zh-TW.json +4 -6
  893. package/app/public/providers/amp.png +0 -0
  894. package/app/public/providers/deepseek-tui.png +0 -0
  895. package/app/public/providers/jcode.png +0 -0
  896. package/app/public/providers/qoder.png +0 -0
  897. package/app/public/providers/xiaomi-tokenplan.png +0 -0
  898. package/app/server.js +1 -1
  899. package/app/src/lib/oauth/services/qoder.js +216 -0
  900. package/app/src/lib/oauth/services/xai.js +238 -0
  901. package/app/src/lib/updater/updater.js +25 -0
  902. package/app/src/mitm/cert/install.js +123 -153
  903. package/app/src/mitm/config.js +34 -2
  904. package/app/src/mitm/handlers/antigravity.js +2 -1
  905. package/app/src/mitm/logger.js +11 -1
  906. package/app/src/shared/constants/cliTools.js +146 -29
  907. package/app/src/shared/constants/config.js +9 -2
  908. package/app/src/shared/constants/coworkPlugins.js +64 -944
  909. package/app/src/shared/constants/pricing.js +5 -2
  910. package/app/src/shared/constants/providers.js +71 -14
  911. package/app/src/shared/constants/ttsProviders.js +16 -0
  912. package/package.json +1 -1
  913. package/app/.next/server/app/api/cloud/auth/route.js +0 -1
  914. package/app/.next/server/app/api/cloud/auth/route_client-reference-manifest.js +0 -1
  915. package/app/.next/server/app/api/cloud/credentials/update/route.js +0 -1
  916. package/app/.next/server/app/api/cloud/model/resolve/route.js +0 -1
  917. package/app/.next/server/app/api/cloud/model/resolve/route_client-reference-manifest.js +0 -1
  918. package/app/.next/server/app/api/cloud/models/alias/route.js +0 -1
  919. package/app/.next/server/app/api/tunnel/tailscale-login/route.js +0 -1
  920. package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route.js +0 -2
  921. package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route_client-reference-manifest.js +0 -1
  922. package/app/.next/server/chunks/1985.js +0 -23
  923. package/app/.next/server/chunks/2417.js +0 -1
  924. package/app/.next/server/chunks/2506.js +0 -3
  925. package/app/.next/server/chunks/2549.js +0 -1
  926. package/app/.next/server/chunks/2583.js +0 -1
  927. package/app/.next/server/chunks/3646.js +0 -1
  928. package/app/.next/server/chunks/3855.js +0 -1
  929. package/app/.next/server/chunks/4084.js +0 -35
  930. package/app/.next/server/chunks/436.js +0 -1
  931. package/app/.next/server/chunks/4632.js +0 -1
  932. package/app/.next/server/chunks/5296.js +0 -1
  933. package/app/.next/server/chunks/5434.js +0 -1
  934. package/app/.next/server/chunks/5627.js +0 -23
  935. package/app/.next/server/chunks/6114.js +0 -1
  936. package/app/.next/server/chunks/7595.js +0 -1
  937. package/app/.next/server/chunks/7924.js +0 -1
  938. package/app/.next/server/chunks/8491.js +0 -1
  939. package/app/.next/server/chunks/8760.js +0 -1
  940. package/app/.next/server/chunks/8838.js +0 -1
  941. package/app/.next/static/DMu6oAfCAJu7LOUJpB89l/_buildManifest.js +0 -1
  942. package/app/.next/static/chunks/1321-bd1e73c270cd20da.js +0 -1
  943. package/app/.next/static/chunks/1a258343-4878413fb430abba.js +0 -1
  944. package/app/.next/static/chunks/2589-1e9bb7a900f2c1b0.js +0 -3
  945. package/app/.next/static/chunks/5497-c5298509cc559792.js +0 -7
  946. package/app/.next/static/chunks/7844-acf8217cdcb39d9a.js +0 -23
  947. package/app/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/page-b279697882f0ed2a.js +0 -1
  948. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-40604134b500e7ee.js +0 -1
  949. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-de34ae04d784597b.js +0 -1
  950. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-4c2d312eba93f6fa.js +0 -53
  951. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-2a196db0213415bf.js +0 -1
  952. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-08e3714a029236f2.js +0 -1
  953. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-b6595aeb7c5b386f.js +0 -1
  954. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-48670924de911859.js +0 -4
  955. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-280dceda93ddf1cb.js +0 -1
  956. package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-d1fe33a3d1c02c4e.js +0 -2
  957. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-6420e67a5bd79512.js +0 -1
  958. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-1a126c66d5e5f689.js +0 -3
  959. package/app/.next/static/chunks/app/(dashboard)/layout-27244e694148142c.js +0 -1
  960. package/app/.next/static/chunks/app/_global-error/page-fb42fdff0ddaa89d.js +0 -1
  961. package/app/.next/static/chunks/app/api/antigravity-app/route-fb42fdff0ddaa89d.js +0 -1
  962. package/app/.next/static/chunks/app/api/antigravity-app-v2/route-fb42fdff0ddaa89d.js +0 -1
  963. package/app/.next/static/chunks/app/api/antigravity-ide/route-fb42fdff0ddaa89d.js +0 -1
  964. package/app/.next/static/chunks/app/api/antigravity-tools/import/route-fb42fdff0ddaa89d.js +0 -1
  965. package/app/.next/static/chunks/app/api/antigravity-tools/import-refresh-tokens/route-fb42fdff0ddaa89d.js +0 -1
  966. package/app/.next/static/chunks/app/api/auth/login/route-fb42fdff0ddaa89d.js +0 -1
  967. package/app/.next/static/chunks/app/api/auth/logout/route-fb42fdff0ddaa89d.js +0 -1
  968. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-fb42fdff0ddaa89d.js +0 -1
  969. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-fb42fdff0ddaa89d.js +0 -1
  970. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-fb42fdff0ddaa89d.js +0 -1
  971. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-fb42fdff0ddaa89d.js +0 -1
  972. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-fb42fdff0ddaa89d.js +0 -1
  973. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-fb42fdff0ddaa89d.js +0 -1
  974. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-fb42fdff0ddaa89d.js +0 -1
  975. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-fb42fdff0ddaa89d.js +0 -1
  976. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-fb42fdff0ddaa89d.js +0 -1
  977. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-fb42fdff0ddaa89d.js +0 -1
  978. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-fb42fdff0ddaa89d.js +0 -1
  979. package/app/.next/static/chunks/app/api/cloud/auth/route-fb42fdff0ddaa89d.js +0 -1
  980. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-fb42fdff0ddaa89d.js +0 -1
  981. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-fb42fdff0ddaa89d.js +0 -1
  982. package/app/.next/static/chunks/app/api/cloud/models/alias/route-fb42fdff0ddaa89d.js +0 -1
  983. package/app/.next/static/chunks/app/api/combos/[id]/route-fb42fdff0ddaa89d.js +0 -1
  984. package/app/.next/static/chunks/app/api/combos/route-fb42fdff0ddaa89d.js +0 -1
  985. package/app/.next/static/chunks/app/api/health/route-fb42fdff0ddaa89d.js +0 -1
  986. package/app/.next/static/chunks/app/api/init/route-fb42fdff0ddaa89d.js +0 -1
  987. package/app/.next/static/chunks/app/api/internal/account-health/route-fb42fdff0ddaa89d.js +0 -1
  988. package/app/.next/static/chunks/app/api/internal/request-detail/route-fb42fdff0ddaa89d.js +0 -1
  989. package/app/.next/static/chunks/app/api/internal/usage/route-fb42fdff0ddaa89d.js +0 -1
  990. package/app/.next/static/chunks/app/api/keys/[id]/reset-usage/route-fb42fdff0ddaa89d.js +0 -1
  991. package/app/.next/static/chunks/app/api/keys/[id]/route-fb42fdff0ddaa89d.js +0 -1
  992. package/app/.next/static/chunks/app/api/keys/[id]/usage/route-fb42fdff0ddaa89d.js +0 -1
  993. package/app/.next/static/chunks/app/api/keys/route-fb42fdff0ddaa89d.js +0 -1
  994. package/app/.next/static/chunks/app/api/locale/route-fb42fdff0ddaa89d.js +0 -1
  995. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-fb42fdff0ddaa89d.js +0 -1
  996. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-fb42fdff0ddaa89d.js +0 -1
  997. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-fb42fdff0ddaa89d.js +0 -1
  998. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-fb42fdff0ddaa89d.js +0 -1
  999. package/app/.next/static/chunks/app/api/models/alias/route-fb42fdff0ddaa89d.js +0 -1
  1000. package/app/.next/static/chunks/app/api/models/availability/route-fb42fdff0ddaa89d.js +0 -1
  1001. package/app/.next/static/chunks/app/api/models/custom/route-fb42fdff0ddaa89d.js +0 -1
  1002. package/app/.next/static/chunks/app/api/models/disabled/route-fb42fdff0ddaa89d.js +0 -1
  1003. package/app/.next/static/chunks/app/api/models/route-fb42fdff0ddaa89d.js +0 -1
  1004. package/app/.next/static/chunks/app/api/models/test/route-fb42fdff0ddaa89d.js +0 -1
  1005. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-fb42fdff0ddaa89d.js +0 -1
  1006. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-fb42fdff0ddaa89d.js +0 -1
  1007. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-fb42fdff0ddaa89d.js +0 -1
  1008. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-fb42fdff0ddaa89d.js +0 -1
  1009. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-fb42fdff0ddaa89d.js +0 -1
  1010. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-fb42fdff0ddaa89d.js +0 -1
  1011. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-fb42fdff0ddaa89d.js +0 -1
  1012. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-fb42fdff0ddaa89d.js +0 -1
  1013. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-fb42fdff0ddaa89d.js +0 -1
  1014. package/app/.next/static/chunks/app/api/pricing/route-fb42fdff0ddaa89d.js +0 -1
  1015. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-fb42fdff0ddaa89d.js +0 -1
  1016. package/app/.next/static/chunks/app/api/provider-nodes/route-fb42fdff0ddaa89d.js +0 -1
  1017. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-fb42fdff0ddaa89d.js +0 -1
  1018. package/app/.next/static/chunks/app/api/providers/[id]/models/route-fb42fdff0ddaa89d.js +0 -1
  1019. package/app/.next/static/chunks/app/api/providers/[id]/route-fb42fdff0ddaa89d.js +0 -1
  1020. package/app/.next/static/chunks/app/api/providers/[id]/test/route-fb42fdff0ddaa89d.js +0 -1
  1021. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-fb42fdff0ddaa89d.js +0 -1
  1022. package/app/.next/static/chunks/app/api/providers/client/route-fb42fdff0ddaa89d.js +0 -1
  1023. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-fb42fdff0ddaa89d.js +0 -1
  1024. package/app/.next/static/chunks/app/api/providers/route-fb42fdff0ddaa89d.js +0 -1
  1025. package/app/.next/static/chunks/app/api/providers/suggested-models/route-fb42fdff0ddaa89d.js +0 -1
  1026. package/app/.next/static/chunks/app/api/providers/test-batch/route-fb42fdff0ddaa89d.js +0 -1
  1027. package/app/.next/static/chunks/app/api/providers/validate/route-fb42fdff0ddaa89d.js +0 -1
  1028. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-fb42fdff0ddaa89d.js +0 -1
  1029. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-fb42fdff0ddaa89d.js +0 -1
  1030. package/app/.next/static/chunks/app/api/proxy-pools/route-fb42fdff0ddaa89d.js +0 -1
  1031. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-fb42fdff0ddaa89d.js +0 -1
  1032. package/app/.next/static/chunks/app/api/settings/database/route-fb42fdff0ddaa89d.js +0 -1
  1033. package/app/.next/static/chunks/app/api/settings/proxy-test/route-fb42fdff0ddaa89d.js +0 -1
  1034. package/app/.next/static/chunks/app/api/settings/require-login/route-fb42fdff0ddaa89d.js +0 -1
  1035. package/app/.next/static/chunks/app/api/settings/route-fb42fdff0ddaa89d.js +0 -1
  1036. package/app/.next/static/chunks/app/api/shutdown/route-fb42fdff0ddaa89d.js +0 -1
  1037. package/app/.next/static/chunks/app/api/tags/route-fb42fdff0ddaa89d.js +0 -1
  1038. package/app/.next/static/chunks/app/api/translator/console-logs/route-fb42fdff0ddaa89d.js +0 -1
  1039. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-fb42fdff0ddaa89d.js +0 -1
  1040. package/app/.next/static/chunks/app/api/translator/load/route-fb42fdff0ddaa89d.js +0 -1
  1041. package/app/.next/static/chunks/app/api/translator/save/route-fb42fdff0ddaa89d.js +0 -1
  1042. package/app/.next/static/chunks/app/api/translator/send/route-fb42fdff0ddaa89d.js +0 -1
  1043. package/app/.next/static/chunks/app/api/translator/translate/route-fb42fdff0ddaa89d.js +0 -1
  1044. package/app/.next/static/chunks/app/api/tunnel/disable/route-fb42fdff0ddaa89d.js +0 -1
  1045. package/app/.next/static/chunks/app/api/tunnel/enable/route-fb42fdff0ddaa89d.js +0 -1
  1046. package/app/.next/static/chunks/app/api/tunnel/status/route-fb42fdff0ddaa89d.js +0 -1
  1047. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-fb42fdff0ddaa89d.js +0 -1
  1048. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-fb42fdff0ddaa89d.js +0 -1
  1049. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-fb42fdff0ddaa89d.js +0 -1
  1050. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-fb42fdff0ddaa89d.js +0 -1
  1051. package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-fb42fdff0ddaa89d.js +0 -1
  1052. package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-fb42fdff0ddaa89d.js +0 -1
  1053. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-fb42fdff0ddaa89d.js +0 -1
  1054. package/app/.next/static/chunks/app/api/usage/chart/route-fb42fdff0ddaa89d.js +0 -1
  1055. package/app/.next/static/chunks/app/api/usage/history/route-fb42fdff0ddaa89d.js +0 -1
  1056. package/app/.next/static/chunks/app/api/usage/logs/route-fb42fdff0ddaa89d.js +0 -1
  1057. package/app/.next/static/chunks/app/api/usage/providers/route-fb42fdff0ddaa89d.js +0 -1
  1058. package/app/.next/static/chunks/app/api/usage/report/route-fb42fdff0ddaa89d.js +0 -1
  1059. package/app/.next/static/chunks/app/api/usage/request-details/route-fb42fdff0ddaa89d.js +0 -1
  1060. package/app/.next/static/chunks/app/api/usage/request-logs/route-fb42fdff0ddaa89d.js +0 -1
  1061. package/app/.next/static/chunks/app/api/usage/stats/route-fb42fdff0ddaa89d.js +0 -1
  1062. package/app/.next/static/chunks/app/api/usage/stream/route-fb42fdff0ddaa89d.js +0 -1
  1063. package/app/.next/static/chunks/app/api/v1/api/chat/route-fb42fdff0ddaa89d.js +0 -1
  1064. package/app/.next/static/chunks/app/api/v1/audio/speech/route-fb42fdff0ddaa89d.js +0 -1
  1065. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-fb42fdff0ddaa89d.js +0 -1
  1066. package/app/.next/static/chunks/app/api/v1/audio/voices/route-fb42fdff0ddaa89d.js +0 -1
  1067. package/app/.next/static/chunks/app/api/v1/chat/completions/route-fb42fdff0ddaa89d.js +0 -1
  1068. package/app/.next/static/chunks/app/api/v1/embeddings/route-fb42fdff0ddaa89d.js +0 -1
  1069. package/app/.next/static/chunks/app/api/v1/images/generations/route-fb42fdff0ddaa89d.js +0 -1
  1070. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-fb42fdff0ddaa89d.js +0 -1
  1071. package/app/.next/static/chunks/app/api/v1/messages/route-fb42fdff0ddaa89d.js +0 -1
  1072. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-fb42fdff0ddaa89d.js +0 -1
  1073. package/app/.next/static/chunks/app/api/v1/models/info/route-fb42fdff0ddaa89d.js +0 -1
  1074. package/app/.next/static/chunks/app/api/v1/models/route-fb42fdff0ddaa89d.js +0 -1
  1075. package/app/.next/static/chunks/app/api/v1/responses/compact/route-fb42fdff0ddaa89d.js +0 -1
  1076. package/app/.next/static/chunks/app/api/v1/responses/route-fb42fdff0ddaa89d.js +0 -1
  1077. package/app/.next/static/chunks/app/api/v1/route-fb42fdff0ddaa89d.js +0 -1
  1078. package/app/.next/static/chunks/app/api/v1/search/route-fb42fdff0ddaa89d.js +0 -1
  1079. package/app/.next/static/chunks/app/api/v1/web/fetch/route-fb42fdff0ddaa89d.js +0 -1
  1080. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-fb42fdff0ddaa89d.js +0 -1
  1081. package/app/.next/static/chunks/app/api/v1beta/models/route-fb42fdff0ddaa89d.js +0 -1
  1082. package/app/.next/static/chunks/app/api/version/route-fb42fdff0ddaa89d.js +0 -1
  1083. package/app/.next/static/chunks/app/api/version/update/route-fb42fdff0ddaa89d.js +0 -1
  1084. package/app/.next/static/chunks/app/callback/page-2d6169978b33b3bc.js +0 -1
  1085. package/app/.next/static/chunks/app/layout-fa54526b5d7255bf.js +0 -1
  1086. package/app/.next/static/chunks/app/login/page-69f6d8a6f709da51.js +0 -1
  1087. package/app/.next/static/chunks/app/manifest.webmanifest/route-fb42fdff0ddaa89d.js +0 -1
  1088. package/app/.next/static/chunks/app/page-fb42fdff0ddaa89d.js +0 -1
  1089. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-fb42fdff0ddaa89d.js +0 -1
  1090. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-fb42fdff0ddaa89d.js +0 -1
  1091. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-fb42fdff0ddaa89d.js +0 -1
  1092. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-fb42fdff0ddaa89d.js +0 -1
  1093. package/app/.next/static/css/5903295427476216.css +0 -1
  1094. /package/app/.next/static/{DMu6oAfCAJu7LOUJpB89l → YEhAtVGU-1J8HgdJmmpjP}/_ssgManifest.js +0 -0
@@ -14,10 +14,14 @@ const ALIAS_TO_PROVIDER_ID = {
14
14
  cl: "cline",
15
15
  oc: "opencode",
16
16
  ocg: "opencode-go",
17
+ qd: "qoder",
18
+ qoder: "qoder",
17
19
  // TTS providers
18
20
  el: "elevenlabs",
19
21
  // API Key providers
20
22
  openai: "openai",
23
+ vercel: "vercel-ai-gateway",
24
+ "vercel-ai-gateway": "vercel-ai-gateway",
21
25
  anthropic: "anthropic",
22
26
  gemini: "gemini",
23
27
  openrouter: "openrouter",
@@ -27,6 +31,8 @@ const ALIAS_TO_PROVIDER_ID = {
27
31
  "minimax-cn": "minimax-cn",
28
32
  ds: "deepseek",
29
33
  deepseek: "deepseek",
34
+ cmc: "commandcode",
35
+ commandcode: "commandcode",
30
36
  groq: "groq",
31
37
  xai: "xai",
32
38
  mistral: "mistral",
@@ -65,6 +71,73 @@ const ALIAS_TO_PROVIDER_ID = {
65
71
  "perplexity-web": "perplexity-web",
66
72
  mimo: "xiaomi-mimo",
67
73
  "xiaomi-mimo": "xiaomi-mimo",
74
+ xmtp: "xiaomi-tokenplan",
75
+ "xiaomi-tokenplan": "xiaomi-tokenplan",
76
+ cf: "cloudflare-ai",
77
+ "cloudflare-ai": "cloudflare-ai",
78
+ // Image/video providers
79
+ fal: "fal-ai",
80
+ "fal-ai": "fal-ai",
81
+ stability: "stability-ai",
82
+ "stability-ai": "stability-ai",
83
+ bfl: "black-forest-labs",
84
+ "black-forest-labs": "black-forest-labs",
85
+ recraft: "recraft",
86
+ topaz: "topaz",
87
+ runway: "runwayml",
88
+ runwayml: "runwayml",
89
+ // Embedding/rerank
90
+ jina: "jina-ai",
91
+ "jina-ai": "jina-ai",
92
+ // TTS
93
+ polly: "aws-polly",
94
+ "aws-polly": "aws-polly",
95
+ // Free-tier providers (synced from OmniRoute)
96
+ agentrouter: "agentrouter",
97
+ aimlapi: "aimlapi",
98
+ aiml: "aimlapi",
99
+ novita: "novita",
100
+ modal: "modal",
101
+ mdl: "modal",
102
+ reka: "reka",
103
+ nlpcloud: "nlpcloud",
104
+ nlpc: "nlpcloud",
105
+ bazaarlink: "bazaarlink",
106
+ bzl: "bazaarlink",
107
+ completions: "completions",
108
+ cpl: "completions",
109
+ enally: "enally",
110
+ enly: "enally",
111
+ freetheai: "freetheai",
112
+ fta: "freetheai",
113
+ llm7: "llm7",
114
+ lepton: "lepton",
115
+ kluster: "kluster",
116
+ ai21: "ai21",
117
+ "inference-net": "inference-net",
118
+ inet: "inference-net",
119
+ predibase: "predibase",
120
+ bytez: "bytez",
121
+ morph: "morph",
122
+ longcat: "longcat",
123
+ lc: "longcat",
124
+ puter: "puter",
125
+ pu: "puter",
126
+ uncloseai: "uncloseai",
127
+ unc: "uncloseai",
128
+ scaleway: "scaleway",
129
+ scw: "scaleway",
130
+ deepinfra: "deepinfra",
131
+ sambanova: "sambanova",
132
+ samba: "sambanova",
133
+ nscale: "nscale",
134
+ baseten: "baseten",
135
+ publicai: "publicai",
136
+ "nous-research": "nous-research",
137
+ nous: "nous-research",
138
+ glhf: "glhf",
139
+ bb: "blackbox",
140
+ blackbox: "blackbox",
68
141
  };
69
142
 
70
143
  /**
@@ -0,0 +1,214 @@
1
+ /**
2
+ * Qoder model catalog fetcher.
3
+ *
4
+ * Calls /algo/api/v2/model/list (COSY-signed) on the inference host to get
5
+ * the live catalog for an authenticated Qoder account, then caches the
6
+ * per-model `model_config` blocks by key. Chat requests later look up the
7
+ * exact server-published metadata for the model they want — Qoder's chat
8
+ * endpoint silently downgrades to a different model when the wrong
9
+ * model_config is sent.
10
+ *
11
+ * On any error the live cache stays empty and chatExecuteCall surfaces the
12
+ * problem to the user as "model config not yet fetched, retry shortly".
13
+ */
14
+
15
+ import { createHash } from "crypto";
16
+
17
+ import { proxyAwareFetch } from "../utils/proxyFetch.js";
18
+ import { buildCosyHeaders } from "@/lib/qoder/cosy.js";
19
+ import {
20
+ QODER_MODEL_LIST_URL,
21
+ } from "@/lib/qoder/constants.js";
22
+
23
+ const FETCH_TIMEOUT_MS = 15_000;
24
+ const CACHE_TTL_MS = 60 * 60 * 1000; // 1h, same as the Kiro catalog
25
+
26
+ /** @type {Map<string, { expiresAt: number, models: any[], rawConfigs: Map<string, object>, fetched: boolean }>} */
27
+ const catalogCache = new Map();
28
+
29
+ /**
30
+ * In-flight fetch promises keyed by cacheKey. Concurrent first-time
31
+ * callers (parallel chat windows) all observe the same Promise so we
32
+ * fan-out exactly one upstream request per credential per miss.
33
+ * @type {Map<string, Promise<{ expiresAt: number, models: any[], rawConfigs: Map<string, object>, fetched: boolean } | null>>}
34
+ */
35
+ const inflight = new Map();
36
+
37
+ /**
38
+ * Stable cache key per credential (so different login sessions for the same
39
+ * account share an entry).
40
+ */
41
+ function cacheKey(credentials) {
42
+ const psd = credentials?.providerSpecificData || {};
43
+ const seed = psd.userId || credentials?.refreshToken || credentials?.accessToken || "anonymous";
44
+ return createHash("sha256").update(`qoder:${seed}`).digest("hex");
45
+ }
46
+
47
+ /**
48
+ * Strip credential -> COSY creds for buildCosyHeaders.
49
+ */
50
+ function cosyCredsFromConnection(credentials) {
51
+ const psd = credentials?.providerSpecificData || {};
52
+ return {
53
+ userId: psd.userId,
54
+ authToken: credentials.accessToken,
55
+ name: credentials.displayName || "",
56
+ email: credentials.email || "",
57
+ machineId: psd.machineId || "",
58
+ };
59
+ }
60
+
61
+ /**
62
+ * Fetch the live model list for this credential. Returns:
63
+ * { models: [{ id, name, contextLength, isVL, isReasoning, ... }, ...],
64
+ * rawConfigs: Map<modelKey, modelConfigObject> }
65
+ * or `null` on any error.
66
+ */
67
+ async function fetchQoderCatalogRaw(credentials, signal, proxyOptions = null) {
68
+ const creds = cosyCredsFromConnection(credentials);
69
+ if (!creds.userId || !creds.authToken) return null;
70
+
71
+ const headers = {
72
+ Accept: "application/json",
73
+ "Accept-Encoding": "identity",
74
+ ...buildCosyHeaders(Buffer.alloc(0), QODER_MODEL_LIST_URL, creds),
75
+ };
76
+
77
+ const controller = new AbortController();
78
+ let timer = null;
79
+ let abortListener = null;
80
+ let response;
81
+ try {
82
+ timer = setTimeout(() => controller.abort("timeout"), FETCH_TIMEOUT_MS);
83
+ if (signal && typeof signal.addEventListener === "function") {
84
+ // If the parent signal already aborted before we got here, the
85
+ // 'abort' event has already fired and addEventListener won't
86
+ // re-trigger it. Propagate the cancellation immediately.
87
+ if (signal.aborted) {
88
+ controller.abort(signal.reason);
89
+ } else {
90
+ abortListener = () => controller.abort(signal.reason);
91
+ signal.addEventListener("abort", abortListener);
92
+ }
93
+ }
94
+ response = await proxyAwareFetch(
95
+ QODER_MODEL_LIST_URL,
96
+ {
97
+ method: "GET",
98
+ headers,
99
+ signal: controller.signal,
100
+ },
101
+ proxyOptions,
102
+ );
103
+ } finally {
104
+ if (timer) clearTimeout(timer);
105
+ if (signal && abortListener) signal.removeEventListener("abort", abortListener);
106
+ }
107
+
108
+ if (!response.ok) return null;
109
+
110
+ const body = await response.json().catch(() => null);
111
+ if (!body || !Array.isArray(body.chat)) return null;
112
+
113
+ const models = [];
114
+ const rawConfigs = new Map();
115
+ for (const entry of body.chat) {
116
+ if (!entry || typeof entry !== "object") continue;
117
+ const key = entry.key;
118
+ if (!key) continue;
119
+
120
+ // Always cache the config — chat needs model_config even for UI-hidden
121
+ // models (enable:false). Upstream still accepts chat for these keys.
122
+ rawConfigs.set(key, entry);
123
+ if (entry.enable === false) continue;
124
+
125
+ const display = entry.display_name || key;
126
+ const ctx = Number(entry.max_input_tokens) || 131_072;
127
+ models.push({
128
+ id: key,
129
+ name: `${display}`,
130
+ contextLength: ctx,
131
+ isVL: !!entry.is_vl,
132
+ isReasoning: !!entry.is_reasoning,
133
+ maxOutputTokens: Number(entry.max_output_tokens) || 0,
134
+ description: entry.description || "",
135
+ });
136
+ }
137
+
138
+ return { models, rawConfigs };
139
+ }
140
+
141
+ /**
142
+ * Get the cached model_config block for a given model key, fetching the
143
+ * catalog first if needed. Returns null when the catalog can't be fetched
144
+ * (so callers can fall back to the static registry).
145
+ */
146
+ export async function getQoderModelConfig(credentials, modelKey, options = {}) {
147
+ const cached = await resolveQoderModels(credentials, options);
148
+ if (!cached) return null;
149
+ const config = cached.rawConfigs.get(modelKey);
150
+ if (!config) return null;
151
+ // Defensive copy — chat code may mutate `key` to align with the alias path.
152
+ return { ...config, key: modelKey };
153
+ }
154
+
155
+ /**
156
+ * Resolve the live model catalog + raw configs for a credential. Caches
157
+ * results for CACHE_TTL_MS so repeated chat requests don't re-fetch, and
158
+ * deduplicates concurrent misses so parallel chat windows fan-out exactly
159
+ * one upstream request per credential.
160
+ */
161
+ export async function resolveQoderModels(credentials, options = {}) {
162
+ if (!credentials?.accessToken) return null;
163
+ const psd = credentials.providerSpecificData || {};
164
+ if (!psd.userId) return null;
165
+
166
+ const key = cacheKey(credentials);
167
+ const now = Date.now();
168
+ if (!options.forceRefresh) {
169
+ const cached = catalogCache.get(key);
170
+ if (cached && cached.expiresAt > now) {
171
+ return cached;
172
+ }
173
+ }
174
+
175
+ // Coalesce concurrent misses on the same credential into one upstream call.
176
+ // forceRefresh callers still get their own fetch (they wanted fresh data).
177
+ const existing = inflight.get(key);
178
+ if (existing && !options.forceRefresh) {
179
+ return existing;
180
+ }
181
+
182
+ const fetchPromise = (async () => {
183
+ const fetched = await fetchQoderCatalogRaw(credentials, options.signal, options.proxyOptions);
184
+ if (!fetched) return null;
185
+ const entry = {
186
+ expiresAt: Date.now() + CACHE_TTL_MS,
187
+ models: fetched.models,
188
+ rawConfigs: fetched.rawConfigs,
189
+ fetched: true,
190
+ };
191
+ catalogCache.set(key, entry);
192
+ return entry;
193
+ })();
194
+
195
+ inflight.set(key, fetchPromise);
196
+ try {
197
+ return await fetchPromise;
198
+ } finally {
199
+ // Clear only if this is still the in-flight entry — a forceRefresh
200
+ // call that started later may have replaced it.
201
+ if (inflight.get(key) === fetchPromise) {
202
+ inflight.delete(key);
203
+ }
204
+ }
205
+ }
206
+
207
+ export function invalidateQoderCatalog(credentials) {
208
+ if (!credentials) return;
209
+ catalogCache.delete(cacheKey(credentials));
210
+ }
211
+
212
+ export function clearQoderCatalog() {
213
+ catalogCache.clear();
214
+ }
@@ -2,13 +2,69 @@ import { PROVIDERS } from "../config/providers.js";
2
2
  import { OAUTH_ENDPOINTS, GITHUB_COPILOT, REFRESH_LEAD_MS } from "../config/appConstants.js";
3
3
  import { proxyAwareFetch } from "../utils/proxyFetch.js";
4
4
 
5
+ // xAI refresh — wraps the class method from src/lib/oauth/services/xai.js so
6
+ // the token-refresh switches below can stay flat (one function per provider).
7
+ let _xaiServiceSingleton = null;
8
+ async function refreshXaiToken(refreshToken, log) {
9
+ if (!refreshToken) return null;
10
+ return dedupRefresh("xai", refreshToken, async () => {
11
+ try {
12
+ if (!_xaiServiceSingleton) {
13
+ const mod = await import("../../src/lib/oauth/services/xai.js");
14
+ _xaiServiceSingleton = new mod.XaiService();
15
+ }
16
+ const tokens = await _xaiServiceSingleton.refreshAccessToken(refreshToken);
17
+ return {
18
+ accessToken: tokens.access_token,
19
+ refreshToken: tokens.refresh_token || refreshToken,
20
+ expiresIn: tokens.expires_in,
21
+ idToken: tokens.id_token,
22
+ };
23
+ } catch (e) {
24
+ log?.warn?.("TOKEN_REFRESH", `xai refresh failed: ${e?.message || e}`);
25
+ const msg = String(e?.message || "");
26
+ if (msg.includes("invalid_grant") || msg.includes("invalid_request")) {
27
+ return { error: "invalid_grant" };
28
+ }
29
+ return null;
30
+ }
31
+ }, log);
32
+ }
33
+
5
34
  // Default token expiry buffer (refresh if expires within 5 minutes)
6
35
  export const TOKEN_EXPIRY_BUFFER_MS = 5 * 60 * 1000;
7
36
 
8
- // In-flight refresh dedup: prevents race condition that triggers refresh_token_reused Auth0 family revoke
9
- const refreshPromiseCache = new Map();
10
- function getRefreshCacheKey(provider, refreshToken) {
11
- return `${provider}:${refreshToken}`;
37
+ // Dedup: cache in-flight promise + recent result to prevent refresh_token_reused (Auth0 family revoke)
38
+ const REFRESH_RESULT_TTL_MS = 10_000;
39
+ const refreshDedupCache = new Map();
40
+
41
+ async function dedupRefresh(provider, oldToken, fn, log) {
42
+ if (!oldToken) return fn();
43
+ const key = `${provider}:${oldToken}`;
44
+ const hit = refreshDedupCache.get(key);
45
+ if (hit) {
46
+ if (hit.promise) {
47
+ log?.info?.("TOKEN_REFRESH", `Reusing in-flight refresh for ${provider}`);
48
+ return hit.promise;
49
+ }
50
+ if (hit.expiresAt > Date.now()) {
51
+ log?.info?.("TOKEN_REFRESH", `Reusing recent refresh result for ${provider}`);
52
+ return hit.result;
53
+ }
54
+ refreshDedupCache.delete(key);
55
+ }
56
+ const promise = (async () => {
57
+ try {
58
+ const result = await fn();
59
+ refreshDedupCache.set(key, { result, expiresAt: Date.now() + REFRESH_RESULT_TTL_MS });
60
+ return result;
61
+ } catch (err) {
62
+ refreshDedupCache.delete(key);
63
+ throw err;
64
+ }
65
+ })();
66
+ refreshDedupCache.set(key, { promise });
67
+ return promise;
12
68
  }
13
69
 
14
70
  // Check if refresh result indicates unrecoverable error (caller should stop retry, force re-auth)
@@ -44,6 +100,7 @@ export async function refreshAccessToken(provider, refreshToken, credentials, lo
44
100
  return null;
45
101
  }
46
102
 
103
+ return dedupRefresh(provider, refreshToken, async () => {
47
104
  try {
48
105
  const response = await fetch(config.refreshUrl, {
49
106
  method: "POST",
@@ -87,12 +144,15 @@ export async function refreshAccessToken(provider, refreshToken, credentials, lo
87
144
  });
88
145
  return null;
89
146
  }
147
+ }, log);
90
148
  }
91
149
 
92
150
  /**
93
151
  * Specialized refresh for Claude OAuth tokens
94
152
  */
95
153
  export async function refreshClaudeOAuthToken(refreshToken, log) {
154
+ if (!refreshToken) return null;
155
+ return dedupRefresh("claude", refreshToken, async () => {
96
156
  try {
97
157
  const response = await fetch(OAUTH_ENDPOINTS.anthropic.token, {
98
158
  method: "POST",
@@ -120,12 +180,15 @@ export async function refreshClaudeOAuthToken(refreshToken, log) {
120
180
  log?.error?.("TOKEN_REFRESH", `Network error refreshing Claude token: ${error.message}`);
121
181
  return null;
122
182
  }
183
+ }, log);
123
184
  }
124
185
 
125
186
  /**
126
187
  * Specialized refresh for Google providers (Gemini, Antigravity)
127
188
  */
128
189
  export async function refreshGoogleToken(refreshToken, clientId, clientSecret, log) {
190
+ if (!refreshToken) return null;
191
+ return dedupRefresh(`google:${clientId}`, refreshToken, async () => {
129
192
  try {
130
193
  const response = await fetch(OAUTH_ENDPOINTS.google.token, {
131
194
  method: "POST",
@@ -154,12 +217,15 @@ export async function refreshGoogleToken(refreshToken, clientId, clientSecret, l
154
217
  log?.error?.("TOKEN_REFRESH", `Network error refreshing Google token: ${error.message}`);
155
218
  return null;
156
219
  }
220
+ }, log);
157
221
  }
158
222
 
159
223
  /**
160
224
  * Specialized refresh for Qwen OAuth tokens
161
225
  */
162
226
  export async function refreshQwenToken(refreshToken, log) {
227
+ if (!refreshToken) return null;
228
+ return dedupRefresh("qwen", refreshToken, async () => {
163
229
  const endpoint = OAUTH_ENDPOINTS.qwen.token;
164
230
 
165
231
  try {
@@ -208,6 +274,7 @@ export async function refreshQwenToken(refreshToken, log) {
208
274
 
209
275
  log?.error?.("TOKEN_REFRESH", "Failed to refresh Qwen token");
210
276
  return null;
277
+ }, log);
211
278
  }
212
279
 
213
280
  /**
@@ -217,6 +284,8 @@ export async function refreshQwenToken(refreshToken, log) {
217
284
  * so callers stop retrying and request re-authentication.
218
285
  */
219
286
  export async function refreshCodexToken(refreshToken, log) {
287
+ if (!refreshToken) return null;
288
+ return dedupRefresh("codex", refreshToken, async () => {
220
289
  try {
221
290
  const response = await fetch(OAUTH_ENDPOINTS.openai.token, {
222
291
  method: "POST",
@@ -279,6 +348,7 @@ export async function refreshCodexToken(refreshToken, log) {
279
348
  log?.error?.("TOKEN_REFRESH", `Network error refreshing Codex token: ${error.message}`);
280
349
  return null;
281
350
  }
351
+ }, log);
282
352
  }
283
353
 
284
354
  /**
@@ -286,6 +356,8 @@ export async function refreshCodexToken(refreshToken, log) {
286
356
  * Supports both AWS SSO OIDC (Builder ID/IDC) and Social Auth (Google/GitHub)
287
357
  */
288
358
  export async function refreshKiroToken(refreshToken, providerSpecificData, log, proxyOptions = null) {
359
+ if (!refreshToken) return null;
360
+ return dedupRefresh("kiro", refreshToken, async () => {
289
361
  const authMethod = providerSpecificData?.authMethod;
290
362
  const clientId = providerSpecificData?.clientId;
291
363
  const clientSecret = providerSpecificData?.clientSecret;
@@ -370,12 +442,15 @@ export async function refreshKiroToken(refreshToken, providerSpecificData, log,
370
442
  refreshToken: tokens.refreshToken || refreshToken,
371
443
  expiresIn: tokens.expiresIn,
372
444
  };
445
+ }, log);
373
446
  }
374
447
 
375
448
  /**
376
449
  * Specialized refresh for iFlow OAuth tokens
377
450
  */
378
451
  export async function refreshIflowToken(refreshToken, log) {
452
+ if (!refreshToken) return null;
453
+ return dedupRefresh("iflow", refreshToken, async () => {
379
454
  const basicAuth = btoa(`${PROVIDERS.iflow.clientId}:${PROVIDERS.iflow.clientSecret}`);
380
455
 
381
456
  const response = await fetch(OAUTH_ENDPOINTS.iflow.token, {
@@ -415,12 +490,15 @@ export async function refreshIflowToken(refreshToken, log) {
415
490
  refreshToken: tokens.refresh_token || refreshToken,
416
491
  expiresIn: tokens.expires_in,
417
492
  };
493
+ }, log);
418
494
  }
419
495
 
420
496
  /**
421
497
  * Specialized refresh for GitHub Copilot OAuth tokens
422
498
  */
423
499
  export async function refreshGitHubToken(refreshToken, log) {
500
+ if (!refreshToken) return null;
501
+ return dedupRefresh("github", refreshToken, async () => {
424
502
  const params = {
425
503
  grant_type: "refresh_token",
426
504
  refresh_token: refreshToken,
@@ -461,12 +539,15 @@ export async function refreshGitHubToken(refreshToken, log) {
461
539
  refreshToken: tokens.refresh_token || refreshToken,
462
540
  expiresIn: tokens.expires_in,
463
541
  };
542
+ }, log);
464
543
  }
465
544
 
466
545
  /**
467
546
  * Refresh GitHub Copilot token using GitHub access token
468
547
  */
469
548
  export async function refreshCopilotToken(githubAccessToken, log) {
549
+ if (!githubAccessToken) return null;
550
+ return dedupRefresh("copilot", githubAccessToken, async () => {
470
551
  try {
471
552
  const response = await fetch("https://api.github.com/copilot_internal/v2/token", {
472
553
  headers: {
@@ -505,6 +586,7 @@ export async function refreshCopilotToken(githubAccessToken, log) {
505
586
  });
506
587
  return null;
507
588
  }
589
+ }, log);
508
590
  }
509
591
 
510
592
  /**
@@ -517,20 +599,8 @@ export async function getAccessToken(provider, credentials, log) {
517
599
  log?.warn?.("TOKEN_REFRESH", `No valid refresh token available for provider: ${provider}`);
518
600
  return null;
519
601
  }
520
-
521
- const cacheKey = getRefreshCacheKey(provider, credentials.refreshToken);
522
-
523
- if (refreshPromiseCache.has(cacheKey)) {
524
- log?.info?.("TOKEN_REFRESH", `Reusing in-flight refresh for ${provider}`);
525
- return refreshPromiseCache.get(cacheKey);
526
- }
527
-
528
- const refreshPromise = _getAccessTokenInternal(provider, credentials, log).finally(() => {
529
- refreshPromiseCache.delete(cacheKey);
530
- });
531
-
532
- refreshPromiseCache.set(cacheKey, refreshPromise);
533
- return refreshPromise;
602
+ // Dedup is handled inside each refreshXxxToken function
603
+ return _getAccessTokenInternal(provider, credentials, log);
534
604
  }
535
605
 
536
606
  async function _getAccessTokenInternal(provider, credentials, log) {
@@ -567,6 +637,9 @@ async function _getAccessTokenInternal(provider, credentials, log) {
567
637
  log
568
638
  );
569
639
 
640
+ case "xai":
641
+ return await refreshXaiToken(credentials.refreshToken, log);
642
+
570
643
  case "vertex":
571
644
  case "vertex-partner": {
572
645
  const saJson = parseVertexSaJson(credentials.apiKey);
@@ -611,6 +684,8 @@ export async function refreshTokenByProvider(provider, credentials, log) {
611
684
  credentials.providerSpecificData,
612
685
  log
613
686
  );
687
+ case "xai":
688
+ return refreshXaiToken(credentials.refreshToken, log);
614
689
  case "vertex":
615
690
  case "vertex-partner": {
616
691
  const saJson = parseVertexSaJson(credentials.apiKey);
@@ -651,6 +726,7 @@ export function formatProviderCredentials(provider, credentials, log) {
651
726
  case "iflow":
652
727
  case "openai":
653
728
  case "openrouter":
729
+ case "xai":
654
730
  return {
655
731
  apiKey: credentials.apiKey,
656
732
  accessToken: credentials.accessToken
@@ -798,4 +874,3 @@ export async function refreshWithRetry(refreshFn, maxRetries = 3, log = null) {
798
874
  log?.error?.("TOKEN_REFRESH", `All ${maxRetries} retry attempts failed`);
799
875
  return null;
800
876
  }
801
-