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
@@ -26,6 +26,24 @@ const CLAUDE_API_HEADERS = {
26
26
  "Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14"
27
27
  };
28
28
 
29
+ // Full Claude CLI fingerprint — required by providers that gate on client identity (e.g. agentrouter)
30
+ const CLAUDE_CLI_SPOOF_HEADERS = {
31
+ "Anthropic-Version": "2023-06-01",
32
+ "Anthropic-Beta": "claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,advanced-tool-use-2025-11-20,effort-2025-11-24,structured-outputs-2025-12-15,fast-mode-2026-02-01,redact-thinking-2026-02-12,token-efficient-tools-2026-03-28",
33
+ "Anthropic-Dangerous-Direct-Browser-Access": "true",
34
+ "User-Agent": "claude-cli/2.1.92 (external, sdk-cli)",
35
+ "X-App": "cli",
36
+ "X-Stainless-Helper-Method": "stream",
37
+ "X-Stainless-Retry-Count": "0",
38
+ "X-Stainless-Runtime-Version": "v24.14.0",
39
+ "X-Stainless-Package-Version": "0.80.0",
40
+ "X-Stainless-Runtime": "node",
41
+ "X-Stainless-Lang": "js",
42
+ "X-Stainless-Arch": mapStainlessArch(),
43
+ "X-Stainless-Os": mapStainlessOs(),
44
+ "X-Stainless-Timeout": "600"
45
+ };
46
+
29
47
  // Shared baseUrls
30
48
  const KIMI_CODING_BASE_URL = "https://api.kimi.com/coding/v1/messages";
31
49
 
@@ -33,22 +51,7 @@ export const PROVIDERS = {
33
51
  claude: {
34
52
  baseUrl: "https://api.anthropic.com/v1/messages",
35
53
  format: "claude",
36
- headers: {
37
- "Anthropic-Version": "2023-06-01",
38
- "Anthropic-Beta": "claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,advanced-tool-use-2025-11-20,effort-2025-11-24,structured-outputs-2025-12-15,fast-mode-2026-02-01,redact-thinking-2026-02-12,token-efficient-tools-2026-03-28",
39
- "Anthropic-Dangerous-Direct-Browser-Access": "true",
40
- "User-Agent": "claude-cli/2.1.92 (external, sdk-cli)",
41
- "X-App": "cli",
42
- "X-Stainless-Helper-Method": "stream",
43
- "X-Stainless-Retry-Count": "0",
44
- "X-Stainless-Runtime-Version": "v24.14.0",
45
- "X-Stainless-Package-Version": "0.80.0",
46
- "X-Stainless-Runtime": "node",
47
- "X-Stainless-Lang": "js",
48
- "X-Stainless-Arch": mapStainlessArch(),
49
- "X-Stainless-Os": mapStainlessOs(),
50
- "X-Stainless-Timeout": "600"
51
- },
54
+ headers: { ...CLAUDE_CLI_SPOOF_HEADERS },
52
55
  clientId: "9d1c250a-e61b-44d9-88ed-5944d1962f5e",
53
56
  tokenUrl: "https://api.anthropic.com/v1/oauth/token"
54
57
  },
@@ -91,13 +94,13 @@ export const PROVIDERS = {
91
94
  authUrl: "https://iflow.cn/oauth"
92
95
  },
93
96
  qoder: {
94
- baseUrl: "https://api.qoder.com/v1/chat/completions",
97
+ // The qoder executor builds the full URL itself (it has to append
98
+ // ?Encode=1 + sigPath query params and bypass any provider-level URL
99
+ // rewriting). baseUrl is kept for compatibility with introspection
100
+ // helpers but the executor ignores it.
101
+ baseUrl: "https://api3.qoder.sh/algo/api/v2/service/pro/sse/agent_chat_generation",
95
102
  format: "openai",
96
- headers: { "User-Agent": "Qoder-Cli" },
97
- clientId: process.env.QODER_OAUTH_CLIENT_ID || "10009311001",
98
- clientSecret: process.env.QODER_OAUTH_CLIENT_SECRET || "4Z3YjXycVsQvyGF1etiNlIBB4RsqSDtW",
99
- tokenUrl: "https://api.qoder.com/oauth/token",
100
- authUrl: "https://qoder.com/oauth/authorize"
103
+ headers: {},
101
104
  },
102
105
  antigravity: {
103
106
  baseUrls: [
@@ -121,6 +124,10 @@ export const PROVIDERS = {
121
124
  baseUrl: "https://api.openai.com/v1/chat/completions",
122
125
  format: "openai"
123
126
  },
127
+ "vercel-ai-gateway": {
128
+ baseUrl: "https://ai-gateway.vercel.sh/v1/chat/completions",
129
+ format: "openai"
130
+ },
124
131
  glm: {
125
132
  baseUrl: "https://api.z.ai/api/anthropic/v1/messages",
126
133
  format: "claude",
@@ -265,7 +272,11 @@ export const PROVIDERS = {
265
272
  },
266
273
  xai: {
267
274
  baseUrl: "https://api.x.ai/v1/chat/completions",
268
- format: "openai"
275
+ responsesUrl: "https://api.x.ai/v1/responses",
276
+ format: "openai",
277
+ clientId: "b1a00492-073a-47ea-816f-4c329264a828",
278
+ tokenUrl: "https://auth.x.ai/oauth2/token",
279
+ refreshUrl: "https://auth.x.ai/oauth2/token"
269
280
  },
270
281
  mistral: {
271
282
  baseUrl: "https://api.mistral.ai/v1/chat/completions",
@@ -384,6 +395,46 @@ export const PROVIDERS = {
384
395
  baseUrl: "https://api.xiaomimimo.com/v1/chat/completions",
385
396
  format: "openai"
386
397
  },
398
+ "xiaomi-tokenplan": {
399
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1/chat/completions",
400
+ format: "openai"
401
+ },
402
+ // Region map for Xiaomi MiMo Token Plan (keys are cluster-specific)
403
+ // Used by resolveXiaomiTokenplanBaseUrl below
404
+ // === Free-tier providers (synced from OmniRoute) ===
405
+ // Claude-format with Claude CLI header spoofing (auth: x-api-key)
406
+ agentrouter: { baseUrl: "https://agentrouter.org/v1/messages", format: "claude", headers: { ...CLAUDE_CLI_SPOOF_HEADERS } },
407
+ // OpenAI-compatible (auth: bearer)
408
+ aimlapi: { baseUrl: "https://api.aimlapi.com/v1/chat/completions", format: "openai" },
409
+ novita: { baseUrl: "https://api.novita.ai/v3/openai/chat/completions", format: "openai" },
410
+ modal: { baseUrl: "https://api.modal.com/v1/chat/completions", format: "openai" },
411
+ reka: { baseUrl: "https://api.reka.ai/v1/chat/completions", format: "openai" },
412
+ nlpcloud: { baseUrl: "https://api.nlpcloud.io/v1/gpu/chatbot", format: "openai" },
413
+ bazaarlink: { baseUrl: "https://bazaarlink.ai/api/v1/chat/completions", format: "openai" },
414
+ completions: { baseUrl: "https://completions.me/api/v1/chat/completions", format: "openai" },
415
+ // enally uses X-API-Key header (not bearer); handled in validate route
416
+ enally: { baseUrl: "https://ai.enally.in/v1/chat/completions", format: "openai", authHeader: "x-api-key" },
417
+ freetheai: { baseUrl: "https://api.freetheai.xyz/v1/chat/completions", format: "openai" },
418
+ llm7: { baseUrl: "https://api.llm7.io/v1/chat/completions", format: "openai" },
419
+ lepton: { baseUrl: "https://api.lepton.ai/api/v1/chat/completions", format: "openai" },
420
+ kluster: { baseUrl: "https://api.kluster.ai/v1/chat/completions", format: "openai" },
421
+ ai21: { baseUrl: "https://api.ai21.com/studio/v1/chat/completions", format: "openai" },
422
+ "inference-net": { baseUrl: "https://api.inference.net/v1/chat/completions", format: "openai" },
423
+ predibase: { baseUrl: "https://serving.app.predibase.com/v1/chat/completions", format: "openai" },
424
+ bytez: { baseUrl: "https://api.bytez.com/models/v2", format: "openai" },
425
+ morph: { baseUrl: "https://api.morphllm.com/v1/chat/completions", format: "openai" },
426
+ longcat: { baseUrl: "https://api.longcat.chat/openai/v1/chat/completions", format: "openai" },
427
+ puter: { baseUrl: "https://api.puter.com/puterai/openai/v1/chat/completions", format: "openai" },
428
+ uncloseai: { baseUrl: "https://hermes.ai.unturf.com/v1/chat/completions", format: "openai", noAuth: true },
429
+ scaleway: { baseUrl: "https://api.scaleway.ai/v1/chat/completions", format: "openai" },
430
+ deepinfra: { baseUrl: "https://api.deepinfra.com/v1/openai/chat/completions", format: "openai" },
431
+ sambanova: { baseUrl: "https://api.sambanova.ai/v1/chat/completions", format: "openai" },
432
+ nscale: { baseUrl: "https://inference.api.nscale.com/v1/chat/completions", format: "openai" },
433
+ baseten: { baseUrl: "https://inference.baseten.co/v1/chat/completions", format: "openai" },
434
+ publicai: { baseUrl: "https://api.publicai.co/v1/chat/completions", format: "openai" },
435
+ "nous-research": { baseUrl: "https://inference-api.nousresearch.com/v1/chat/completions", format: "openai" },
436
+ glhf: { baseUrl: "https://glhf.chat/api/openai/v1/chat/completions", format: "openai" },
437
+ blackbox: { baseUrl: "https://api.blackbox.ai/chat/completions", format: "openai" },
387
438
  };
388
439
 
389
440
  export const OLLAMA_LOCAL_DEFAULT_HOST = "http://localhost:11434";
@@ -392,3 +443,15 @@ export function resolveOllamaLocalHost(credentials) {
392
443
  const raw = credentials?.providerSpecificData?.baseUrl?.trim();
393
444
  return (raw || OLLAMA_LOCAL_DEFAULT_HOST).replace(/\/$/, "");
394
445
  }
446
+
447
+ export const XIAOMI_TOKENPLAN_REGIONS = {
448
+ sgp: "https://token-plan-sgp.xiaomimimo.com/v1",
449
+ cn: "https://token-plan-cn.xiaomimimo.com/v1",
450
+ ams: "https://token-plan-ams.xiaomimimo.com/v1"
451
+ };
452
+ export const XIAOMI_TOKENPLAN_DEFAULT_REGION = "sgp";
453
+
454
+ export function resolveXiaomiTokenplanBaseUrl(credentials) {
455
+ const region = credentials?.providerSpecificData?.region;
456
+ return XIAOMI_TOKENPLAN_REGIONS[region] || XIAOMI_TOKENPLAN_REGIONS[XIAOMI_TOKENPLAN_DEFAULT_REGION];
457
+ }
@@ -31,6 +31,12 @@ export const MEMORY_CONFIG = {
31
31
  proxyDispatchersMaxSize: 20,
32
32
  };
33
33
 
34
+ // Stream stall timeout: abort if no chunk received within this duration
35
+ export const STREAM_STALL_TIMEOUT_MS = 30 * 1000;
36
+
37
+ // Fetch connect timeout: abort if upstream doesn't return response headers within this duration
38
+ export const FETCH_CONNECT_TIMEOUT_MS = 20 * 1000;
39
+
34
40
  // Default token limits
35
41
  export const DEFAULT_MAX_TOKENS = 64000;
36
42
  export const DEFAULT_MIN_TOKENS = 32000;
@@ -1,5 +1,6 @@
1
- import { HTTP_STATUS, RETRY_CONFIG, DEFAULT_RETRY_CONFIG, resolveRetryEntry } from "../config/runtimeConfig.js";
1
+ import { HTTP_STATUS, RETRY_CONFIG, DEFAULT_RETRY_CONFIG, resolveRetryEntry, FETCH_CONNECT_TIMEOUT_MS } from "../config/runtimeConfig.js";
2
2
  import { proxyAwareFetch } from "../utils/proxyFetch.js";
3
+ import { dbg } from "../utils/debugLog.js";
3
4
 
4
5
  /**
5
6
  * BaseExecutor - Base class for provider executors
@@ -121,13 +122,25 @@ export class BaseExecutor {
121
122
 
122
123
  if (!retryAttemptsByUrl[urlIndex]) retryAttemptsByUrl[urlIndex] = 0;
123
124
 
125
+ // Abort if upstream doesn't return response headers within FETCH_CONNECT_TIMEOUT_MS
126
+ const connectCtrl = new AbortController();
127
+ const connectTimer = setTimeout(() => connectCtrl.abort(new Error("fetch connect timeout")), FETCH_CONNECT_TIMEOUT_MS);
128
+ const mergedSignal = signal ? AbortSignal.any([signal, connectCtrl.signal]) : connectCtrl.signal;
129
+
124
130
  try {
131
+ const bodyStr = JSON.stringify(transformedBody);
132
+ const fetchT0 = Date.now();
133
+ dbg("FETCH", `${this.provider.toUpperCase()} → ${url} | body=${bodyStr.length}B | connectTimeout=${FETCH_CONNECT_TIMEOUT_MS}ms`);
125
134
  const response = await proxyAwareFetch(url, {
126
135
  method: "POST",
127
136
  headers,
128
- body: JSON.stringify(transformedBody),
129
- signal
137
+ body: bodyStr,
138
+ signal: mergedSignal
130
139
  }, proxyOptions);
140
+ clearTimeout(connectTimer);
141
+ const ct = response.headers?.get?.("content-type") || "";
142
+ const cl = response.headers?.get?.("content-length") || "?";
143
+ dbg("FETCH", `${this.provider.toUpperCase()} ← ${response.status} | ttft=${Date.now() - fetchT0}ms | ct=${ct} | cl=${cl}`);
131
144
 
132
145
  if (await tryRetry(urlIndex, response.status, `status ${response.status}`)) { urlIndex--; continue; }
133
146
 
@@ -139,8 +152,12 @@ export class BaseExecutor {
139
152
 
140
153
  return { response, url, headers, transformedBody };
141
154
  } catch (error) {
155
+ clearTimeout(connectTimer);
142
156
  lastError = error;
143
- if (error.name === "AbortError") throw error;
157
+ const isConnectTimeout = connectCtrl.signal.aborted && error.name === "AbortError";
158
+ dbg("FETCH", `${this.provider.toUpperCase()} ✖ ${error.name}: ${error.message}${isConnectTimeout ? " (connect timeout)" : ""}`);
159
+ // Connect timeout is internal — convert to retryable network error, don't propagate AbortError
160
+ if (error.name === "AbortError" && !isConnectTimeout) throw error;
144
161
 
145
162
  // Map network/fetch exceptions to 502 retry config
146
163
  if (await tryRetry(urlIndex, HTTP_STATUS.BAD_GATEWAY, `network "${error.message}"`)) { urlIndex--; continue; }
@@ -6,11 +6,100 @@ import { normalizeResponsesInput } from "../translator/helpers/responsesApiHelpe
6
6
  import { fetchImageAsBase64 } from "../translator/helpers/imageHelper.js";
7
7
  import { getModelUpstreamId } from "../config/providerModels.js";
8
8
  import { getConsistentMachineId } from "../../src/shared/utils/machineId.js";
9
+ import { DEFAULT_RETRY_CONFIG, resolveRetryEntry } from "../config/runtimeConfig.js";
10
+ import { dbg } from "../utils/debugLog.js";
11
+
12
+ // SSE error patterns inside 200-OK body that should trigger retry as if 503
13
+ const CODEX_SSE_OVERLOADED_PATTERNS = ["server_is_overloaded", "service_unavailable_error"];
14
+ const CODEX_SSE_PEEK_BYTES = 4096;
9
15
 
10
16
  // In-memory map: hash(machineId + first assistant content) → { sessionId, lastUsed }
11
17
  const SESSION_TTL_MS = 60 * 60 * 1000; // 1 hour
12
18
  const assistantSessionMap = new Map();
13
19
 
20
+ // Server-generated item id prefixes that Codex /responses cannot resolve when store=false
21
+ const SERVER_ID_PATTERN = /^(rs|fc|resp|msg)_/;
22
+
23
+ // Hosted tool types that Codex/OpenAI Responses executes server-side
24
+ const CODEX_HOSTED_TOOL_TYPES = new Set([
25
+ "image_generation", "web_search", "web_search_preview", "file_search",
26
+ "computer", "computer_use_preview", "code_interpreter", "mcp", "local_shell"
27
+ ]);
28
+
29
+ // Allowlist of fields accepted by Codex Responses API — anything else is stripped
30
+ const RESPONSES_API_ALLOWLIST = new Set([
31
+ "model", "input", "instructions", "tools", "tool_choice", "stream", "store",
32
+ "reasoning", "service_tier", "include", "prompt_cache_key", "client_metadata"
33
+ ]);
34
+
35
+ // Convert role=system → role=developer in body.input (keeps content in cacheable prefix)
36
+ function convertSystemToDeveloperRole(body) {
37
+ if (!Array.isArray(body.input)) return;
38
+ for (const item of body.input) {
39
+ if (!item || typeof item !== "object" || Array.isArray(item)) continue;
40
+ const isSystemMsg = item.role === "system" && (!item.type || item.type === "message");
41
+ if (isSystemMsg) item.role = "developer";
42
+ }
43
+ }
44
+
45
+ // Strip server-generated item IDs (rs_/fc_/resp_/msg_) from input — avoids 404 with store=false
46
+ function stripStoredItemReferences(body) {
47
+ if (!Array.isArray(body.input)) return;
48
+ body.input = body.input.filter((item) => {
49
+ if (typeof item === "string" && SERVER_ID_PATTERN.test(item)) return false;
50
+ if (item && typeof item === "object" && !Array.isArray(item)) {
51
+ if (item.type === "item_reference") return false;
52
+ if (typeof item.id === "string" && SERVER_ID_PATTERN.test(item.id)) delete item.id;
53
+ }
54
+ return true;
55
+ });
56
+ }
57
+
58
+ // Flatten Chat-Completions tool shape into Responses flat format + filter unsupported tools
59
+ function normalizeCodexTools(body) {
60
+ if (!Array.isArray(body.tools)) return;
61
+ const validNames = new Set();
62
+ body.tools = body.tools.filter((tool) => {
63
+ if (!tool || typeof tool !== "object" || Array.isArray(tool)) return false;
64
+ const type = typeof tool.type === "string" ? tool.type : "";
65
+ if (type === "namespace") {
66
+ if (Array.isArray(tool.tools)) {
67
+ for (const st of tool.tools) {
68
+ const n = typeof st?.name === "string" ? st.name.trim().slice(0, 128) : "";
69
+ if (n) validNames.add(n);
70
+ }
71
+ }
72
+ return true;
73
+ }
74
+ if (type !== "function") {
75
+ if (!type || tool.function || typeof tool.name === "string") return false;
76
+ return CODEX_HOSTED_TOOL_TYPES.has(type);
77
+ }
78
+ const fn = tool.function && typeof tool.function === "object" && !Array.isArray(tool.function) ? tool.function : null;
79
+ const rawName = typeof tool.name === "string" ? tool.name : (typeof fn?.name === "string" ? fn.name : "");
80
+ const name = rawName.trim();
81
+ if (!name) return false;
82
+ const description = typeof tool.description === "string" ? tool.description : (typeof fn?.description === "string" ? fn.description : "");
83
+ const parameters = (tool.parameters && typeof tool.parameters === "object" && !Array.isArray(tool.parameters))
84
+ ? tool.parameters
85
+ : (fn?.parameters && typeof fn.parameters === "object" && !Array.isArray(fn.parameters) ? fn.parameters : { type: "object", properties: {} });
86
+ for (const k of Object.keys(tool)) delete tool[k];
87
+ tool.type = "function";
88
+ tool.name = name.slice(0, 128);
89
+ if (description) tool.description = description;
90
+ tool.parameters = parameters;
91
+ validNames.add(name);
92
+ return true;
93
+ });
94
+ // Drop tool_choice if it references an unknown function name
95
+ if (body.tool_choice && typeof body.tool_choice === "object" && !Array.isArray(body.tool_choice)) {
96
+ if (body.tool_choice.type === "function") {
97
+ const n = typeof body.tool_choice.name === "string" ? body.tool_choice.name.trim() : "";
98
+ if (!n || !validNames.has(n)) delete body.tool_choice;
99
+ }
100
+ }
101
+ }
102
+
14
103
  // Cache machine ID at module level (resolved once)
15
104
  let cachedMachineId = null;
16
105
  getConsistentMachineId().then(id => { cachedMachineId = id; });
@@ -33,32 +122,54 @@ function extractItemText(item) {
33
122
  return "";
34
123
  }
35
124
 
36
- // Resolve session_id from first assistant message + machineId to avoid cross-user collision
37
- function resolveConversationSessionId(input, machineId) {
38
- const machineSessionId = machineId ? `sess_${hashContent(machineId)}` : generateSessionId();
39
- if (!Array.isArray(input) || input.length === 0) return machineSessionId;
125
+ // Normalize a session id candidate (trim, length cap)
126
+ function normalizeSessionId(value) {
127
+ if (typeof value !== "string") return null;
128
+ const v = value.trim();
129
+ if (!v || v.length > 256) return null;
130
+ return v;
131
+ }
40
132
 
41
- // Find first assistant message that has actual text content
42
- let text = "";
43
- for (const item of input) {
44
- if (item.role === "assistant") {
45
- text = extractItemText(item);
46
- if (text) break;
47
- }
48
- }
49
- if (!text) return machineSessionId;
133
+ // Resolve prompt-cache session id with priority: body → assistant-text-hash → workspaceId → machineId
134
+ function resolveCacheSessionId(body, credentials, machineId) {
135
+ // 1. Client-provided session/conversation id (highest priority stable per conversation)
136
+ const fromBody =
137
+ normalizeSessionId(body?.prompt_cache_key) ||
138
+ normalizeSessionId(body?.session_id) ||
139
+ normalizeSessionId(body?.conversation_id);
140
+ if (fromBody) return fromBody;
50
141
 
51
- const hash = hashContent((machineId || "") + text);
52
- const entry = assistantSessionMap.get(hash);
53
- if (entry) {
54
- entry.lastUsed = Date.now();
55
- return entry.sessionId;
142
+ // 2. Hash accumulated assistant text (≥50 chars) sticky session across turns
143
+ if (Array.isArray(body?.input) && body.input.length > 0) {
144
+ let text = "";
145
+ const MIN_LEN = 50;
146
+ const CAP_LEN = 200;
147
+ for (const item of body.input) {
148
+ if (item?.role !== "assistant") continue;
149
+ const t = extractItemText(item);
150
+ if (!t) continue;
151
+ text += t;
152
+ if (text.length >= CAP_LEN) break;
153
+ }
154
+ if (text.length >= MIN_LEN) {
155
+ const hash = hashContent((machineId || "") + text.slice(0, CAP_LEN));
156
+ const entry = assistantSessionMap.get(hash);
157
+ if (entry) {
158
+ entry.lastUsed = Date.now();
159
+ return entry.sessionId;
160
+ }
161
+ const sessionId = generateSessionId();
162
+ assistantSessionMap.set(hash, { sessionId, lastUsed: Date.now() });
163
+ return sessionId;
164
+ }
56
165
  }
57
166
 
167
+ // 3. Account-wide fallback (workspaceId from connection)
168
+ const workspaceId = normalizeSessionId(credentials?.providerSpecificData?.workspaceId);
169
+ if (workspaceId) return workspaceId;
58
170
 
59
- const sessionId = generateSessionId();
60
- assistantSessionMap.set(hash, { sessionId, lastUsed: Date.now() });
61
- return sessionId;
171
+ // 4. Last resort — stable per-machine id
172
+ return machineId ? `sess_${hashContent(machineId)}` : generateSessionId();
62
173
  }
63
174
 
64
175
  // Cleanup expired entries periodically
@@ -80,12 +191,19 @@ export class CodexExecutor extends BaseExecutor {
80
191
  }
81
192
 
82
193
  /**
83
- * Override headers to add session_id per conversation
84
- * transformRequest runs BEFORE buildHeaders, sets this._currentSessionId
194
+ * Override headers to add codex-specific identity headers.
195
+ * transformRequest runs BEFORE buildHeaders, sets this._currentSessionId.
85
196
  */
86
197
  buildHeaders(credentials, stream = true) {
87
198
  const headers = super.buildHeaders(credentials, stream);
88
199
  headers["session_id"] = this._currentSessionId || credentials?.connectionId || "default";
200
+ // Identify client type to Codex backend (matches official codex CLI)
201
+ if (!headers["originator"]) headers["originator"] = "codex_cli_rs";
202
+ // Workspace binding header — improves account scope + cache affinity
203
+ const workspaceId = credentials?.providerSpecificData?.workspaceId;
204
+ if (typeof workspaceId === "string" && workspaceId && !headers["chatgpt-account-id"]) {
205
+ headers["chatgpt-account-id"] = workspaceId;
206
+ }
89
207
  return headers;
90
208
  }
91
209
 
@@ -117,9 +235,100 @@ export class CodexExecutor extends BaseExecutor {
117
235
  }
118
236
 
119
237
  async execute(args) {
120
- // Fetch remote images before the synchronous transform/execute pipeline
121
- await this.prefetchImages(args.body);
122
- return super.execute(args);
238
+ const imgCount = Array.isArray(args.body?.input) ? args.body.input.reduce((n, it) => n + (Array.isArray(it.content) ? it.content.filter(c => c.type === "image_url").length : 0), 0) : 0;
239
+ const inputLen = Array.isArray(args.body?.input) ? args.body.input.length : 0;
240
+ dbg("CODEX", `execute start | inputItems=${inputLen} | images=${imgCount} | sessionId=${this._currentSessionId || "pending"}`);
241
+ if (imgCount > 0) {
242
+ const t0 = Date.now();
243
+ await this.prefetchImages(args.body);
244
+ dbg("CODEX", `prefetchImages done | ${Date.now() - t0}ms`);
245
+ } else {
246
+ await this.prefetchImages(args.body);
247
+ }
248
+
249
+ // Retry loop for SSE-level overloaded errors (200 OK body contains event: error)
250
+ // Reuses 503 retry config — same semantic: upstream temporarily unavailable
251
+ const retryConfig = { ...DEFAULT_RETRY_CONFIG, ...this.config.retry };
252
+ const { attempts, delayMs } = resolveRetryEntry(retryConfig[503]);
253
+ let attempt = 0;
254
+ while (true) {
255
+ const result = await super.execute(args);
256
+ const peek = await this._peekSseOverloaded(result.response);
257
+ if (!peek.matched) {
258
+ // Replace body with re-assembled stream (prefix bytes already read + rest)
259
+ if (peek.replacementBody) {
260
+ result.response = new Response(peek.replacementBody, {
261
+ status: result.response.status,
262
+ statusText: result.response.statusText,
263
+ headers: result.response.headers,
264
+ });
265
+ }
266
+ return result;
267
+ }
268
+ if (attempt >= attempts) {
269
+ args.log?.warn?.("RETRY", `CODEX | SSE overloaded "${peek.matched}" — retries exhausted (${attempt}/${attempts})`);
270
+ // Out of retries → return with replacement body so client gets the error
271
+ if (peek.replacementBody) {
272
+ result.response = new Response(peek.replacementBody, {
273
+ status: result.response.status,
274
+ statusText: result.response.statusText,
275
+ headers: result.response.headers,
276
+ });
277
+ }
278
+ return result;
279
+ }
280
+ attempt++;
281
+ args.log?.debug?.("RETRY", `CODEX | SSE "${peek.matched}" retry ${attempt}/${attempts} after ${delayMs / 1000}s`);
282
+ dbg("CODEX", `SSE overloaded "${peek.matched}" → retry ${attempt}/${attempts} in ${delayMs}ms`);
283
+ try { await result.response.body?.cancel?.(); } catch { /* noop */ }
284
+ await new Promise(r => setTimeout(r, delayMs));
285
+ }
286
+ }
287
+
288
+ // Peek first N bytes of SSE body to detect upstream "overloaded" errors.
289
+ // Returns { matched: string|null, replacementBody: ReadableStream|null }.
290
+ // Caller MUST use replacementBody (original body has been read).
291
+ async _peekSseOverloaded(response) {
292
+ if (!response || !response.ok || !response.body) return { matched: null, replacementBody: null };
293
+ const reader = response.body.getReader();
294
+ const decoder = new TextDecoder();
295
+ const chunks = [];
296
+ let text = "";
297
+ let matched = null;
298
+ try {
299
+ while (text.length < CODEX_SSE_PEEK_BYTES) {
300
+ const { done, value } = await reader.read();
301
+ if (done) break;
302
+ chunks.push(value);
303
+ text += decoder.decode(value, { stream: true });
304
+ const hit = CODEX_SSE_OVERLOADED_PATTERNS.find(p => text.includes(p));
305
+ if (hit) { matched = hit; break; }
306
+ }
307
+ } catch (e) {
308
+ dbg("CODEX", `peek read error: ${e.message}`);
309
+ }
310
+ reader.releaseLock();
311
+
312
+ // Re-assemble stream: prefix chunks + remaining upstream body
313
+ const upstream = response.body;
314
+ let upstreamReader = null;
315
+ const replacementBody = new ReadableStream({
316
+ start(controller) {
317
+ for (const c of chunks) controller.enqueue(c);
318
+ upstreamReader = upstream.getReader();
319
+ },
320
+ async pull(controller) {
321
+ try {
322
+ const { done, value } = await upstreamReader.read();
323
+ if (done) { controller.close(); return; }
324
+ controller.enqueue(value);
325
+ } catch (e) { controller.error(e); }
326
+ },
327
+ cancel(reason) {
328
+ try { upstreamReader?.cancel(reason); } catch { /* noop */ }
329
+ },
330
+ });
331
+ return { matched, replacementBody };
123
332
  }
124
333
 
125
334
  // Parse Codex usage_limit_reached to extract precise resetsAtMs; fallback to default otherwise
@@ -154,8 +363,8 @@ export class CodexExecutor extends BaseExecutor {
154
363
  transformRequest(model, body, stream, credentials) {
155
364
  this._isCompact = !!body._compact;
156
365
  delete body._compact;
157
- // Resolve conversation-stable session_id from input history + machineId
158
- this._currentSessionId = resolveConversationSessionId(body.input, cachedMachineId);
366
+ // Resolve conversation-stable session_id (priority: body assistant-text → workspace → machine)
367
+ this._currentSessionId = resolveCacheSessionId(body, credentials, cachedMachineId);
159
368
  // Convert string input to array format (Codex API requires input as array)
160
369
  const normalized = normalizeResponsesInput(body.input);
161
370
  if (normalized) body.input = normalized;
@@ -165,6 +374,13 @@ export class CodexExecutor extends BaseExecutor {
165
374
  body.input = [{ type: "message", role: "user", content: [{ type: "input_text", text: "..." }] }];
166
375
  }
167
376
 
377
+ // Keep system prompts in body.input as role=developer so they stay in the cacheable prefix
378
+ convertSystemToDeveloperRole(body);
379
+ // Strip server-generated item IDs (rs_/fc_/resp_/msg_) — Codex /responses can't resolve when store=false
380
+ stripStoredItemReferences(body);
381
+ // Flatten function tools + drop unsupported types
382
+ normalizeCodexTools(body);
383
+
168
384
  // Ensure streaming is enabled (Codex API requires it)
169
385
  body.stream = true;
170
386
 
@@ -176,6 +392,11 @@ export class CodexExecutor extends BaseExecutor {
176
392
  // Ensure store is false (Codex requirement)
177
393
  body.store = false;
178
394
 
395
+ // Inject prompt_cache_key for stable Codex prompt caching
396
+ if (!body.prompt_cache_key && this._currentSessionId) {
397
+ body.prompt_cache_key = this._currentSessionId;
398
+ }
399
+
179
400
  // Map virtual Codex review models to the upstream Codex model before suffix parsing.
180
401
  body.model = getModelUpstreamId("cx", body.model || model);
181
402
 
@@ -223,6 +444,12 @@ export class CodexExecutor extends BaseExecutor {
223
444
  delete body.metadata; // Cursor sends this but Codex doesn't support it
224
445
  delete body.stream_options; // Cursor sends this but Codex doesn't support it
225
446
  delete body.safety_identifier; // Droid CLI sends this but Codex doesn't support it
447
+ delete body.previous_response_id; // store=false → backend can't resolve previous resp; avoid 404
448
+
449
+ // Final allowlist filter — strip any unknown field that could trigger upstream "routing_unsupported"
450
+ for (const k of Object.keys(body)) {
451
+ if (!RESPONSES_API_ALLOWLIST.has(k)) delete body[k];
452
+ }
226
453
 
227
454
  return body;
228
455
  }