@yina-npm/openrouterx 0.4.56 → 0.4.71

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 (806) hide show
  1. package/README.md +1 -1
  2. package/app/.next/BUILD_ID +1 -1
  3. package/app/.next/app-path-routes-manifest.json +7 -13
  4. package/app/.next/build-manifest.json +2 -2
  5. package/app/.next/prerender-manifest.json +3 -3
  6. package/app/.next/required-server-files.json +1 -1
  7. package/app/.next/routes-manifest.json +15 -51
  8. package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page.js +2 -2
  9. package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page.js.nft.json +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page_client-reference-manifest.js +1 -1
  11. package/app/.next/server/app/(dashboard)/dashboard/admin/users/page.js +2 -2
  12. package/app/.next/server/app/(dashboard)/dashboard/admin/users/page.js.nft.json +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/admin/users/page_client-reference-manifest.js +1 -1
  14. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  15. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  18. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  20. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  21. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  24. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  26. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  27. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  28. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  29. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  30. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  31. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  32. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +3 -3
  33. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  34. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  35. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  36. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  37. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  38. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  39. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  40. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  41. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  42. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  43. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  44. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  45. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  46. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  47. package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
  48. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  49. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  50. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  51. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  52. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  53. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  54. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  55. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  56. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  57. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  58. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  59. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  60. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  61. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  62. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +4 -4
  63. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  64. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  65. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +3 -2
  66. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  67. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  68. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  69. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  70. package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  71. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  72. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  73. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  74. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  75. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  76. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  77. package/app/.next/server/app/(dashboard)/dashboard/user/page.js +3 -3
  78. package/app/.next/server/app/(dashboard)/dashboard/user/page.js.nft.json +1 -1
  79. package/app/.next/server/app/(dashboard)/dashboard/user/page_client-reference-manifest.js +1 -1
  80. package/app/.next/server/app/_global-error/page.js +2 -2
  81. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  82. package/app/.next/server/app/_global-error.html +1 -1
  83. package/app/.next/server/app/_global-error.rsc +1 -1
  84. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  85. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  86. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  87. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  88. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  89. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  90. package/app/.next/server/app/_not-found/page.js +2 -2
  91. package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
  92. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  93. package/app/.next/server/app/_not-found.html +1 -1
  94. package/app/.next/server/app/_not-found.rsc +4 -4
  95. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
  96. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  97. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
  98. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  99. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  100. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  101. package/app/.next/server/app/api/auth/login/route.js +1 -1
  102. package/app/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  103. package/app/.next/server/app/api/auth/logout/route.js +1 -1
  104. package/app/.next/server/app/api/auth/me/route.js +1 -1
  105. package/app/.next/server/app/api/auth/oidc/callback/route.js +1 -1
  106. package/app/.next/server/app/api/auth/oidc/start/route.js +1 -1
  107. package/app/.next/server/app/api/auth/oidc/test/route.js +1 -1
  108. package/app/.next/server/app/api/auth/status/route.js +1 -1
  109. package/app/.next/server/app/api/cli-tools/all-statuses/route.js +4 -4
  110. package/app/.next/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  111. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  112. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  113. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  114. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  115. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  116. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +1 -1
  117. package/app/.next/server/app/api/cli-tools/codex-settings/activate-account/route.js +2 -2
  118. package/app/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
  119. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  120. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  121. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  122. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  123. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  124. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  125. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +1 -1
  126. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  127. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  128. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  129. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  130. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  131. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  132. package/app/.next/server/app/api/combos/route.js +1 -1
  133. package/app/.next/server/app/api/health/route.js +1 -1
  134. package/app/.next/server/app/api/init/route.js +1 -1
  135. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  136. package/app/.next/server/app/api/keys/route.js +1 -1
  137. package/app/.next/server/app/api/locale/route.js +1 -1
  138. package/app/.next/server/app/api/mcp/[plugin]/message/route.js +1 -1
  139. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js +1 -4
  140. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  141. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  142. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  143. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  144. package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
  145. package/app/.next/server/app/api/models/alias/route.js +1 -1
  146. package/app/.next/server/app/api/models/availability/route.js +1 -1
  147. package/app/.next/server/app/api/models/custom/route.js +1 -1
  148. package/app/.next/server/app/api/models/disabled/route.js +1 -1
  149. package/app/.next/server/app/api/models/disabled/route.js.nft.json +1 -1
  150. package/app/.next/server/app/api/models/route.js +1 -1
  151. package/app/.next/server/app/api/models/route.js.nft.json +1 -1
  152. package/app/.next/server/app/api/models/test/route.js +1 -1
  153. package/app/.next/server/app/api/models/test/route.js.nft.json +1 -1
  154. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -6
  155. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  156. package/app/.next/server/app/api/oauth/codex/import-token/route.js +1 -0
  157. package/app/.next/server/app/api/{cli-tools/antigravity-mitm/test → oauth/codex/import-token}/route.js.nft.json +1 -1
  158. package/app/.next/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +1 -0
  159. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  160. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  161. package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
  162. package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
  163. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  164. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  165. package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  166. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  167. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  168. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  169. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  170. package/app/.next/server/app/api/pricing/route.js +1 -1
  171. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  172. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  173. package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  174. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  175. package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  176. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  177. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  178. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  179. package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
  180. package/app/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  181. package/app/.next/server/app/api/providers/client/route.js +1 -1
  182. package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  183. package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
  184. package/app/.next/server/app/api/providers/route.js +1 -1
  185. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  186. package/app/.next/server/app/api/providers/suggested-models/route.js +1 -1
  187. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  188. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  189. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  190. package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  191. package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
  192. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  193. package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js +43 -0
  194. package/app/.next/server/app/api/{tunnel/tailscale-login → proxy-pools/cloudflare-deploy}/route.js.nft.json +1 -1
  195. package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route_client-reference-manifest.js +1 -0
  196. package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js +40 -0
  197. package/app/.next/server/app/api/{tunnel/tailscale-start-daemon → proxy-pools/deno-deploy}/route.js.nft.json +1 -1
  198. package/app/.next/server/app/api/proxy-pools/deno-deploy/route_client-reference-manifest.js +1 -0
  199. package/app/.next/server/app/api/proxy-pools/route.js +1 -1
  200. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  201. package/app/.next/server/app/api/settings/database/route.js +1 -1
  202. package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
  203. package/app/.next/server/app/api/settings/require-login/route.js +1 -1
  204. package/app/.next/server/app/api/settings/route.js +1 -1
  205. package/app/.next/server/app/api/shutdown/route.js +1 -1
  206. package/app/.next/server/app/api/tags/route.js +1 -1
  207. package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
  208. package/app/.next/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  209. package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
  210. package/app/.next/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  211. package/app/.next/server/app/api/translator/load/route.js +1 -1
  212. package/app/.next/server/app/api/translator/save/route.js +1 -1
  213. package/app/.next/server/app/api/translator/send/route.js +1 -1
  214. package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  215. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  216. package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  217. package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
  218. package/app/.next/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  219. package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
  220. package/app/.next/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  221. package/app/.next/server/app/api/tunnel/status/route.js +1 -1
  222. package/app/.next/server/app/api/tunnel/status/route.js.nft.json +1 -1
  223. package/app/.next/server/app/api/tunnel/tailscale-check/route.js +1 -1
  224. package/app/.next/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  225. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  226. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  227. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  228. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  229. package/app/.next/server/app/api/tunnel/tailscale-install/route.js +3 -3
  230. package/app/.next/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  231. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  232. package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  233. package/app/.next/server/app/api/usage/api-keys/route.js +1 -1
  234. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  235. package/app/.next/server/app/api/usage/history/route.js +1 -1
  236. package/app/.next/server/app/api/usage/logs/route.js +1 -1
  237. package/app/.next/server/app/api/usage/providers/route.js +1 -1
  238. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  239. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  240. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  241. package/app/.next/server/app/api/usage/stream/route.js +2 -2
  242. package/app/.next/server/app/api/users/[id]/route.js +1 -1
  243. package/app/.next/server/app/api/users/route.js +1 -1
  244. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  245. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  246. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  247. package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  248. package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  249. package/app/.next/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  250. package/app/.next/server/app/api/v1/audio/voices/route.js +1 -1
  251. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  252. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  253. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  254. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  255. package/app/.next/server/app/api/v1/images/generations/route.js +2 -2
  256. package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  257. package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  258. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  259. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  260. package/app/.next/server/app/api/v1/models/[kind]/route.js +1 -1
  261. package/app/.next/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  262. package/app/.next/server/app/api/v1/models/info/route.js +1 -1
  263. package/app/.next/server/app/api/v1/models/info/route.js.nft.json +1 -1
  264. package/app/.next/server/app/api/v1/models/route.js +1 -1
  265. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  266. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  267. package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  268. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  269. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  270. package/app/.next/server/app/api/v1/route.js +1 -1
  271. package/app/.next/server/app/api/v1/route.js.nft.json +1 -1
  272. package/app/.next/server/app/api/v1/search/route.js +1 -1
  273. package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -1
  274. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
  275. package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  276. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  277. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  278. package/app/.next/server/app/api/v1beta/models/route.js +1 -1
  279. package/app/.next/server/app/api/v1beta/models/route.js.nft.json +1 -1
  280. package/app/.next/server/app/api/version/route.js +1 -1
  281. package/app/.next/server/app/api/version/shutdown/route.js +1 -1
  282. package/app/.next/server/app/api/version/shutdown/route.js.nft.json +1 -1
  283. package/app/.next/server/app/api/version/update/route.js +1 -1
  284. package/app/.next/server/app/api/version/update/route.js.nft.json +1 -1
  285. package/app/.next/server/app/callback/page.js +2 -2
  286. package/app/.next/server/app/callback/page.js.nft.json +1 -1
  287. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  288. package/app/.next/server/app/callback.html +1 -1
  289. package/app/.next/server/app/callback.rsc +4 -4
  290. package/app/.next/server/app/callback.segments/_full.segment.rsc +4 -4
  291. package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
  292. package/app/.next/server/app/callback.segments/_index.segment.rsc +4 -4
  293. package/app/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
  294. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  295. package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
  296. package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
  297. package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  298. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  299. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  300. package/app/.next/server/app/dashboard/settings/pricing.rsc +4 -4
  301. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  302. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  303. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  304. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  305. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  306. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  307. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  308. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  309. package/app/.next/server/app/favicon.ico/route.js +1 -1
  310. package/app/.next/server/app/index.html +1 -1
  311. package/app/.next/server/app/index.rsc +4 -4
  312. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  313. package/app/.next/server/app/index.segments/_full.segment.rsc +4 -4
  314. package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
  315. package/app/.next/server/app/index.segments/_index.segment.rsc +4 -4
  316. package/app/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  317. package/app/.next/server/app/landing/page.js +2 -2
  318. package/app/.next/server/app/landing/page.js.nft.json +1 -1
  319. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  320. package/app/.next/server/app/landing.html +1 -1
  321. package/app/.next/server/app/landing.rsc +4 -4
  322. package/app/.next/server/app/landing.segments/_full.segment.rsc +4 -4
  323. package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
  324. package/app/.next/server/app/landing.segments/_index.segment.rsc +4 -4
  325. package/app/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
  326. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  327. package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
  328. package/app/.next/server/app/login/page.js +2 -2
  329. package/app/.next/server/app/login/page.js.nft.json +1 -1
  330. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  331. package/app/.next/server/app/login.html +1 -1
  332. package/app/.next/server/app/login.rsc +5 -5
  333. package/app/.next/server/app/login.segments/_full.segment.rsc +5 -5
  334. package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
  335. package/app/.next/server/app/login.segments/_index.segment.rsc +4 -4
  336. package/app/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  337. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  338. package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
  339. package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
  340. package/app/.next/server/app/page.js +2 -2
  341. package/app/.next/server/app/page.js.nft.json +1 -1
  342. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  343. package/app/.next/server/app-paths-manifest.json +7 -13
  344. package/app/.next/server/chunks/1172.js +1 -0
  345. package/app/.next/server/chunks/1350.js +2 -2
  346. package/app/.next/server/chunks/1476.js +1 -1
  347. package/app/.next/server/chunks/1531.js +1 -0
  348. package/app/.next/server/chunks/1900.js +1 -0
  349. package/app/.next/server/chunks/1998.js +1 -0
  350. package/app/.next/server/chunks/2409.js +1 -0
  351. package/app/.next/server/chunks/2574.js +1 -1
  352. package/app/.next/server/chunks/2722.js +2 -7
  353. package/app/.next/server/chunks/3104.js +43 -0
  354. package/app/.next/server/chunks/3110.js +10 -8
  355. package/app/.next/server/chunks/3205.js +1 -0
  356. package/app/.next/server/chunks/365.js +1 -0
  357. package/app/.next/server/chunks/3913.js +2 -2
  358. package/app/.next/server/chunks/412.js +2 -2
  359. package/app/.next/server/chunks/4177.js +1 -0
  360. package/app/.next/server/chunks/4404.js +1 -0
  361. package/app/.next/server/chunks/4922.js +9 -0
  362. package/app/.next/server/chunks/4989.js +1 -1
  363. package/app/.next/server/chunks/5217.js +1 -1
  364. package/app/.next/server/chunks/5681.js +1 -1
  365. package/app/.next/server/chunks/6001.js +1 -1
  366. package/app/.next/server/chunks/6096.js +1 -0
  367. package/app/.next/server/chunks/6108.js +1 -1
  368. package/app/.next/server/chunks/6457.js +4 -0
  369. package/app/.next/server/chunks/7341.js +1 -1
  370. package/app/.next/server/chunks/7879.js +10 -0
  371. package/app/.next/server/chunks/7937.js +186 -0
  372. package/app/.next/server/chunks/8220.js +1 -0
  373. package/app/.next/server/chunks/8279.js +1 -0
  374. package/app/.next/server/chunks/8473.js +8 -0
  375. package/app/.next/server/chunks/8750.js +1 -1
  376. package/app/.next/server/chunks/8895.js +8 -6
  377. package/app/.next/server/chunks/9203.js +1 -0
  378. package/app/.next/server/chunks/9259.js +3 -0
  379. package/app/.next/server/chunks/9460.js +1 -0
  380. package/app/.next/server/chunks/9489.js +1 -1
  381. package/app/.next/server/chunks/9501.js +63 -0
  382. package/app/.next/server/chunks/{9095.js → 9713.js} +1 -1
  383. package/app/.next/server/chunks/9718.js +1 -1
  384. package/app/.next/server/chunks/9856.js +1 -1
  385. package/app/.next/server/functions-config-manifest.json +0 -1
  386. package/app/.next/server/middleware-build-manifest.js +1 -1
  387. package/app/.next/server/middleware.js +1 -1
  388. package/app/.next/server/pages/404.html +1 -1
  389. package/app/.next/server/pages/500.html +1 -1
  390. package/app/.next/server/server-reference-manifest.js +1 -1
  391. package/app/.next/server/server-reference-manifest.json +1 -1
  392. package/app/.next/static/chunks/1321-9d7d6181b08dfcf4.js +1 -0
  393. package/app/.next/static/chunks/4072-e3cbc885320b3535.js +3 -0
  394. package/app/.next/static/chunks/5497-41bb54893ac4e384.js +7 -0
  395. package/app/.next/static/chunks/{6069-7c51e16aef293430.js → 6069-27d1adb0dbf83385.js} +9 -14
  396. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-ba3be29df191769b.js +1 -0
  397. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-a0eaec978d93b101.js +1 -0
  398. package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-57065ce85ec52703.js +1 -0
  399. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/{page-e0f570e37fcc4d53.js → page-b52d2279e8eff62d.js} +1 -1
  400. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-011af574663dfa07.js +1 -0
  401. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-7cd7e81cc32bcf4d.js +3 -0
  402. package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-77e1358581cbeecd.js +4 -0
  403. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-5f1623351681fa43.js +2 -0
  404. package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-739dde37665780bc.js +1 -0
  405. package/app/.next/static/chunks/app/(dashboard)/dashboard/user/{page-614eca0369bfff22.js → page-12765c664b3c1f6d.js} +2 -2
  406. package/app/.next/static/chunks/app/(dashboard)/layout-2b26025389c75878.js +1 -0
  407. package/app/.next/static/chunks/app/_global-error/page-739dde37665780bc.js +1 -0
  408. package/app/.next/static/chunks/app/api/auth/login/route-739dde37665780bc.js +1 -0
  409. package/app/.next/static/chunks/app/api/auth/logout/route-739dde37665780bc.js +1 -0
  410. package/app/.next/static/chunks/app/api/auth/me/route-739dde37665780bc.js +1 -0
  411. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-739dde37665780bc.js +1 -0
  412. package/app/.next/static/chunks/app/api/auth/oidc/start/route-739dde37665780bc.js +1 -0
  413. package/app/.next/static/chunks/app/api/auth/oidc/test/route-739dde37665780bc.js +1 -0
  414. package/app/.next/static/chunks/app/api/auth/status/route-739dde37665780bc.js +1 -0
  415. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-739dde37665780bc.js +1 -0
  416. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-739dde37665780bc.js +1 -0
  417. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-739dde37665780bc.js +1 -0
  418. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-739dde37665780bc.js +1 -0
  419. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-739dde37665780bc.js +1 -0
  420. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/activate-account/route-739dde37665780bc.js +1 -0
  421. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-739dde37665780bc.js +1 -0
  422. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-739dde37665780bc.js +1 -0
  423. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-739dde37665780bc.js +1 -0
  424. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-739dde37665780bc.js +1 -0
  425. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-739dde37665780bc.js +1 -0
  426. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-739dde37665780bc.js +1 -0
  427. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-739dde37665780bc.js +1 -0
  428. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-739dde37665780bc.js +1 -0
  429. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-739dde37665780bc.js +1 -0
  430. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-739dde37665780bc.js +1 -0
  431. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-739dde37665780bc.js +1 -0
  432. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-739dde37665780bc.js +1 -0
  433. package/app/.next/static/chunks/app/api/combos/[id]/route-739dde37665780bc.js +1 -0
  434. package/app/.next/static/chunks/app/api/combos/route-739dde37665780bc.js +1 -0
  435. package/app/.next/static/chunks/app/api/health/route-739dde37665780bc.js +1 -0
  436. package/app/.next/static/chunks/app/api/init/route-739dde37665780bc.js +1 -0
  437. package/app/.next/static/chunks/app/api/keys/[id]/route-739dde37665780bc.js +1 -0
  438. package/app/.next/static/chunks/app/api/keys/route-739dde37665780bc.js +1 -0
  439. package/app/.next/static/chunks/app/api/locale/route-739dde37665780bc.js +1 -0
  440. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-739dde37665780bc.js +1 -0
  441. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-739dde37665780bc.js +1 -0
  442. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-739dde37665780bc.js +1 -0
  443. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-739dde37665780bc.js +1 -0
  444. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-739dde37665780bc.js +1 -0
  445. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-739dde37665780bc.js +1 -0
  446. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-739dde37665780bc.js +1 -0
  447. package/app/.next/static/chunks/app/api/models/alias/route-739dde37665780bc.js +1 -0
  448. package/app/.next/static/chunks/app/api/models/availability/route-739dde37665780bc.js +1 -0
  449. package/app/.next/static/chunks/app/api/models/custom/route-739dde37665780bc.js +1 -0
  450. package/app/.next/static/chunks/app/api/models/disabled/route-739dde37665780bc.js +1 -0
  451. package/app/.next/static/chunks/app/api/models/route-739dde37665780bc.js +1 -0
  452. package/app/.next/static/chunks/app/api/models/test/route-739dde37665780bc.js +1 -0
  453. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-739dde37665780bc.js +1 -0
  454. package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-739dde37665780bc.js +1 -0
  455. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-739dde37665780bc.js +1 -0
  456. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-739dde37665780bc.js +1 -0
  457. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-739dde37665780bc.js +1 -0
  458. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-739dde37665780bc.js +1 -0
  459. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-739dde37665780bc.js +1 -0
  460. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-739dde37665780bc.js +1 -0
  461. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-739dde37665780bc.js +1 -0
  462. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-739dde37665780bc.js +1 -0
  463. package/app/.next/static/chunks/app/api/pricing/route-739dde37665780bc.js +1 -0
  464. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-739dde37665780bc.js +1 -0
  465. package/app/.next/static/chunks/app/api/provider-nodes/route-739dde37665780bc.js +1 -0
  466. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-739dde37665780bc.js +1 -0
  467. package/app/.next/static/chunks/app/api/providers/[id]/models/route-739dde37665780bc.js +1 -0
  468. package/app/.next/static/chunks/app/api/providers/[id]/route-739dde37665780bc.js +1 -0
  469. package/app/.next/static/chunks/app/api/providers/[id]/test/route-739dde37665780bc.js +1 -0
  470. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-739dde37665780bc.js +1 -0
  471. package/app/.next/static/chunks/app/api/providers/client/route-739dde37665780bc.js +1 -0
  472. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-739dde37665780bc.js +1 -0
  473. package/app/.next/static/chunks/app/api/providers/route-739dde37665780bc.js +1 -0
  474. package/app/.next/static/chunks/app/api/providers/suggested-models/route-739dde37665780bc.js +1 -0
  475. package/app/.next/static/chunks/app/api/providers/test-batch/route-739dde37665780bc.js +1 -0
  476. package/app/.next/static/chunks/app/api/providers/validate/route-739dde37665780bc.js +1 -0
  477. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-739dde37665780bc.js +1 -0
  478. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-739dde37665780bc.js +1 -0
  479. package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-739dde37665780bc.js +1 -0
  480. package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-739dde37665780bc.js +1 -0
  481. package/app/.next/static/chunks/app/api/proxy-pools/route-739dde37665780bc.js +1 -0
  482. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-739dde37665780bc.js +1 -0
  483. package/app/.next/static/chunks/app/api/settings/database/route-739dde37665780bc.js +1 -0
  484. package/app/.next/static/chunks/app/api/settings/proxy-test/route-739dde37665780bc.js +1 -0
  485. package/app/.next/static/chunks/app/api/settings/require-login/route-739dde37665780bc.js +1 -0
  486. package/app/.next/static/chunks/app/api/settings/route-739dde37665780bc.js +1 -0
  487. package/app/.next/static/chunks/app/api/shutdown/route-739dde37665780bc.js +1 -0
  488. package/app/.next/static/chunks/app/api/tags/route-739dde37665780bc.js +1 -0
  489. package/app/.next/static/chunks/app/api/translator/console-logs/route-739dde37665780bc.js +1 -0
  490. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-739dde37665780bc.js +1 -0
  491. package/app/.next/static/chunks/app/api/translator/load/route-739dde37665780bc.js +1 -0
  492. package/app/.next/static/chunks/app/api/translator/save/route-739dde37665780bc.js +1 -0
  493. package/app/.next/static/chunks/app/api/translator/send/route-739dde37665780bc.js +1 -0
  494. package/app/.next/static/chunks/app/api/translator/translate/route-739dde37665780bc.js +1 -0
  495. package/app/.next/static/chunks/app/api/tunnel/disable/route-739dde37665780bc.js +1 -0
  496. package/app/.next/static/chunks/app/api/tunnel/enable/route-739dde37665780bc.js +1 -0
  497. package/app/.next/static/chunks/app/api/tunnel/status/route-739dde37665780bc.js +1 -0
  498. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-739dde37665780bc.js +1 -0
  499. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-739dde37665780bc.js +1 -0
  500. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-739dde37665780bc.js +1 -0
  501. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-739dde37665780bc.js +1 -0
  502. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-739dde37665780bc.js +1 -0
  503. package/app/.next/static/chunks/app/api/usage/api-keys/route-739dde37665780bc.js +1 -0
  504. package/app/.next/static/chunks/app/api/usage/chart/route-739dde37665780bc.js +1 -0
  505. package/app/.next/static/chunks/app/api/usage/history/route-739dde37665780bc.js +1 -0
  506. package/app/.next/static/chunks/app/api/usage/logs/route-739dde37665780bc.js +1 -0
  507. package/app/.next/static/chunks/app/api/usage/providers/route-739dde37665780bc.js +1 -0
  508. package/app/.next/static/chunks/app/api/usage/request-details/route-739dde37665780bc.js +1 -0
  509. package/app/.next/static/chunks/app/api/usage/request-logs/route-739dde37665780bc.js +1 -0
  510. package/app/.next/static/chunks/app/api/usage/stats/route-739dde37665780bc.js +1 -0
  511. package/app/.next/static/chunks/app/api/usage/stream/route-739dde37665780bc.js +1 -0
  512. package/app/.next/static/chunks/app/api/users/[id]/route-739dde37665780bc.js +1 -0
  513. package/app/.next/static/chunks/app/api/users/route-739dde37665780bc.js +1 -0
  514. package/app/.next/static/chunks/app/api/v1/api/chat/route-739dde37665780bc.js +1 -0
  515. package/app/.next/static/chunks/app/api/v1/audio/speech/route-739dde37665780bc.js +1 -0
  516. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-739dde37665780bc.js +1 -0
  517. package/app/.next/static/chunks/app/api/v1/audio/voices/route-739dde37665780bc.js +1 -0
  518. package/app/.next/static/chunks/app/api/v1/chat/completions/route-739dde37665780bc.js +1 -0
  519. package/app/.next/static/chunks/app/api/v1/embeddings/route-739dde37665780bc.js +1 -0
  520. package/app/.next/static/chunks/app/api/v1/images/generations/route-739dde37665780bc.js +1 -0
  521. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-739dde37665780bc.js +1 -0
  522. package/app/.next/static/chunks/app/api/v1/messages/route-739dde37665780bc.js +1 -0
  523. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-739dde37665780bc.js +1 -0
  524. package/app/.next/static/chunks/app/api/v1/models/info/route-739dde37665780bc.js +1 -0
  525. package/app/.next/static/chunks/app/api/v1/models/route-739dde37665780bc.js +1 -0
  526. package/app/.next/static/chunks/app/api/v1/responses/compact/route-739dde37665780bc.js +1 -0
  527. package/app/.next/static/chunks/app/api/v1/responses/route-739dde37665780bc.js +1 -0
  528. package/app/.next/static/chunks/app/api/v1/route-739dde37665780bc.js +1 -0
  529. package/app/.next/static/chunks/app/api/v1/search/route-739dde37665780bc.js +1 -0
  530. package/app/.next/static/chunks/app/api/v1/web/fetch/route-739dde37665780bc.js +1 -0
  531. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-739dde37665780bc.js +1 -0
  532. package/app/.next/static/chunks/app/api/v1beta/models/route-739dde37665780bc.js +1 -0
  533. package/app/.next/static/chunks/app/api/version/route-739dde37665780bc.js +1 -0
  534. package/app/.next/static/chunks/app/api/version/shutdown/route-739dde37665780bc.js +1 -0
  535. package/app/.next/static/chunks/app/api/version/update/route-739dde37665780bc.js +1 -0
  536. package/app/.next/static/chunks/app/login/page-bf4ffdfcf4ec19bf.js +1 -0
  537. package/app/.next/static/chunks/app/manifest.webmanifest/route-739dde37665780bc.js +1 -0
  538. package/app/.next/static/chunks/app/page-739dde37665780bc.js +1 -0
  539. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-739dde37665780bc.js +1 -0
  540. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-739dde37665780bc.js +1 -0
  541. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-739dde37665780bc.js +1 -0
  542. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-739dde37665780bc.js +1 -0
  543. package/app/.next/static/css/16b3fb40c238dedb.css +1 -0
  544. package/app/.next/static/jssxgK5Jb3snQyFlT_oQ6/_buildManifest.js +1 -0
  545. package/app/package.json +2 -2
  546. package/app/public/i18n/literals/ar.json +1 -27
  547. package/app/public/i18n/literals/bn.json +1 -27
  548. package/app/public/i18n/literals/cs.json +1 -27
  549. package/app/public/i18n/literals/da.json +1 -27
  550. package/app/public/i18n/literals/de.json +1 -27
  551. package/app/public/i18n/literals/el.json +1 -27
  552. package/app/public/i18n/literals/es.json +1 -27
  553. package/app/public/i18n/literals/fi.json +1 -27
  554. package/app/public/i18n/literals/fr.json +1 -27
  555. package/app/public/i18n/literals/he.json +1 -27
  556. package/app/public/i18n/literals/hi.json +1 -27
  557. package/app/public/i18n/literals/hu.json +1 -27
  558. package/app/public/i18n/literals/id.json +1 -27
  559. package/app/public/i18n/literals/it.json +1 -27
  560. package/app/public/i18n/literals/ja.json +1 -27
  561. package/app/public/i18n/literals/ko.json +1 -27
  562. package/app/public/i18n/literals/nl.json +1 -27
  563. package/app/public/i18n/literals/no.json +1 -27
  564. package/app/public/i18n/literals/pl.json +1 -27
  565. package/app/public/i18n/literals/pt-BR.json +1 -27
  566. package/app/public/i18n/literals/pt-PT.json +1 -27
  567. package/app/public/i18n/literals/ro.json +1 -27
  568. package/app/public/i18n/literals/ru.json +1 -27
  569. package/app/public/i18n/literals/sv.json +1 -27
  570. package/app/public/i18n/literals/th.json +1 -27
  571. package/app/public/i18n/literals/tl.json +1 -27
  572. package/app/public/i18n/literals/tr.json +1 -27
  573. package/app/public/i18n/literals/uk.json +1 -27
  574. package/app/public/i18n/literals/ur.json +1 -27
  575. package/app/public/i18n/literals/vi.json +1 -27
  576. package/app/public/i18n/literals/zh-CN.json +4 -28
  577. package/app/public/i18n/literals/zh-TW.json +1 -27
  578. package/app/public/providers/qoder.png +0 -0
  579. package/app/server.js +1 -1
  580. package/app/src/lib/oauth/services/qoder.js +216 -0
  581. package/app/src/lib/oauth/services/xai.js +238 -0
  582. package/app/src/lib/updater/updater.js +3 -4
  583. package/app/src/mitm/antigravityIdeVersion.js +50 -0
  584. package/app/src/mitm/cert/install.js +45 -21
  585. package/app/src/mitm/cert/rootCA.js +5 -20
  586. package/app/src/mitm/config.js +38 -39
  587. package/app/src/mitm/dns/dnsConfig.js +10 -162
  588. package/app/src/mitm/handlers/antigravity.js +2 -29
  589. package/app/src/mitm/handlers/base.js +164 -17
  590. package/app/src/mitm/handlers/copilot.js +2 -2
  591. package/app/src/mitm/handlers/kiro.js +242 -117
  592. package/app/src/mitm/logger.js +2 -15
  593. package/app/src/mitm/manager.js +78 -91
  594. package/app/src/mitm/paths.js +19 -8
  595. package/app/src/mitm/server.js +199 -292
  596. package/app/src/shared/constants/mitmToolHosts.js +1 -6
  597. package/hooks/postinstall.js +0 -92
  598. package/package.json +3 -3
  599. package/app/.next/server/app/(dashboard)/dashboard/focus-ui/page.js +0 -2
  600. package/app/.next/server/app/(dashboard)/dashboard/focus-ui/page.js.nft.json +0 -1
  601. package/app/.next/server/app/(dashboard)/dashboard/focus-ui/page_client-reference-manifest.js +0 -1
  602. package/app/.next/server/app/(dashboard)/dashboard/network-analysis/page.js +0 -2
  603. package/app/.next/server/app/(dashboard)/dashboard/network-analysis/page.js.nft.json +0 -1
  604. package/app/.next/server/app/(dashboard)/dashboard/network-analysis/page_client-reference-manifest.js +0 -1
  605. package/app/.next/server/app/api/cli-tools/antigravity-mitm/inject-auth/route.js +0 -1
  606. package/app/.next/server/app/api/cli-tools/antigravity-mitm/inject-auth/route.js.nft.json +0 -1
  607. package/app/.next/server/app/api/cli-tools/antigravity-mitm/inject-auth/route_client-reference-manifest.js +0 -1
  608. package/app/.next/server/app/api/cli-tools/antigravity-mitm/restart/route.js +0 -1
  609. package/app/.next/server/app/api/cli-tools/antigravity-mitm/restart/route.js.nft.json +0 -1
  610. package/app/.next/server/app/api/cli-tools/antigravity-mitm/restart/route_client-reference-manifest.js +0 -1
  611. package/app/.next/server/app/api/cli-tools/antigravity-mitm/test/route.js +0 -1
  612. package/app/.next/server/app/api/cli-tools/antigravity-mitm/test/route_client-reference-manifest.js +0 -1
  613. package/app/.next/server/app/api/network-analysis/route.js +0 -2
  614. package/app/.next/server/app/api/network-analysis/route.js.nft.json +0 -1
  615. package/app/.next/server/app/api/network-analysis/route_client-reference-manifest.js +0 -1
  616. package/app/.next/server/app/api/startup-notices/route.js +0 -2
  617. package/app/.next/server/app/api/startup-notices/route.js.nft.json +0 -1
  618. package/app/.next/server/app/api/startup-notices/route_client-reference-manifest.js +0 -1
  619. package/app/.next/server/app/api/tunnel/tailscale-login/route.js +0 -1
  620. package/app/.next/server/app/api/tunnel/tailscale-login/route_client-reference-manifest.js +0 -1
  621. package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route.js +0 -2
  622. package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route_client-reference-manifest.js +0 -1
  623. package/app/.next/server/chunks/2415.js +0 -17
  624. package/app/.next/server/chunks/2506.js +0 -4
  625. package/app/.next/server/chunks/2560.js +0 -1
  626. package/app/.next/server/chunks/3245.js +0 -1
  627. package/app/.next/server/chunks/3493.js +0 -2
  628. package/app/.next/server/chunks/4394.js +0 -1
  629. package/app/.next/server/chunks/4664.js +0 -1
  630. package/app/.next/server/chunks/5330.js +0 -162
  631. package/app/.next/server/chunks/6182.js +0 -50
  632. package/app/.next/server/chunks/6393.js +0 -1
  633. package/app/.next/server/chunks/7177.js +0 -1
  634. package/app/.next/server/chunks/7568.js +0 -1
  635. package/app/.next/server/chunks/7595.js +0 -1
  636. package/app/.next/server/chunks/7828.js +0 -1
  637. package/app/.next/server/chunks/7930.js +0 -6
  638. package/app/.next/server/chunks/8574.js +0 -1
  639. package/app/.next/server/chunks/8590.js +0 -1
  640. package/app/.next/server/chunks/8651.js +0 -9
  641. package/app/.next/server/chunks/8760.js +0 -1
  642. package/app/.next/server/chunks/9609.js +0 -1
  643. package/app/.next/static/AygZAfUJH9o858u8mFQv5/_buildManifest.js +0 -1
  644. package/app/.next/static/chunks/1321-d35114032a6899dd.js +0 -1
  645. package/app/.next/static/chunks/4072-fdb34c3bf82582e6.js +0 -6
  646. package/app/.next/static/chunks/5095-47fe70cd930f3c59.js +0 -2
  647. package/app/.next/static/chunks/5497-b59396fb56e7b9b1.js +0 -7
  648. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-efbd0b93d35d25cc.js +0 -1
  649. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-acbac7a67319955a.js +0 -1
  650. package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-55598932923e41ce.js +0 -1
  651. package/app/.next/static/chunks/app/(dashboard)/dashboard/focus-ui/page-329b3a170ddd28c6.js +0 -1
  652. package/app/.next/static/chunks/app/(dashboard)/dashboard/network-analysis/page-0ad4db60f9d14f60.js +0 -1
  653. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-f005d7a30159ce4f.js +0 -1
  654. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-c3234f9c82b1a78e.js +0 -3
  655. package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-5040868a50d977bf.js +0 -4
  656. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-e089ffa4138753d7.js +0 -1
  657. package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-814b95c8fc310a6a.js +0 -1
  658. package/app/.next/static/chunks/app/(dashboard)/layout-00b66bc0e6b38a14.js +0 -1
  659. package/app/.next/static/chunks/app/_global-error/page-814b95c8fc310a6a.js +0 -1
  660. package/app/.next/static/chunks/app/api/auth/login/route-814b95c8fc310a6a.js +0 -1
  661. package/app/.next/static/chunks/app/api/auth/logout/route-814b95c8fc310a6a.js +0 -1
  662. package/app/.next/static/chunks/app/api/auth/me/route-814b95c8fc310a6a.js +0 -1
  663. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-814b95c8fc310a6a.js +0 -1
  664. package/app/.next/static/chunks/app/api/auth/oidc/start/route-814b95c8fc310a6a.js +0 -1
  665. package/app/.next/static/chunks/app/api/auth/oidc/test/route-814b95c8fc310a6a.js +0 -1
  666. package/app/.next/static/chunks/app/api/auth/status/route-814b95c8fc310a6a.js +0 -1
  667. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-814b95c8fc310a6a.js +0 -1
  668. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-814b95c8fc310a6a.js +0 -1
  669. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/inject-auth/route-814b95c8fc310a6a.js +0 -1
  670. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/restart/route-814b95c8fc310a6a.js +0 -1
  671. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-814b95c8fc310a6a.js +0 -1
  672. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/test/route-814b95c8fc310a6a.js +0 -1
  673. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-814b95c8fc310a6a.js +0 -1
  674. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-814b95c8fc310a6a.js +0 -1
  675. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/activate-account/route-814b95c8fc310a6a.js +0 -1
  676. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-814b95c8fc310a6a.js +0 -1
  677. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-814b95c8fc310a6a.js +0 -1
  678. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-814b95c8fc310a6a.js +0 -1
  679. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-814b95c8fc310a6a.js +0 -1
  680. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-814b95c8fc310a6a.js +0 -1
  681. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-814b95c8fc310a6a.js +0 -1
  682. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-814b95c8fc310a6a.js +0 -1
  683. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-814b95c8fc310a6a.js +0 -1
  684. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-814b95c8fc310a6a.js +0 -1
  685. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-814b95c8fc310a6a.js +0 -1
  686. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-814b95c8fc310a6a.js +0 -1
  687. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-814b95c8fc310a6a.js +0 -1
  688. package/app/.next/static/chunks/app/api/combos/[id]/route-814b95c8fc310a6a.js +0 -1
  689. package/app/.next/static/chunks/app/api/combos/route-814b95c8fc310a6a.js +0 -1
  690. package/app/.next/static/chunks/app/api/health/route-814b95c8fc310a6a.js +0 -1
  691. package/app/.next/static/chunks/app/api/init/route-814b95c8fc310a6a.js +0 -1
  692. package/app/.next/static/chunks/app/api/keys/[id]/route-814b95c8fc310a6a.js +0 -1
  693. package/app/.next/static/chunks/app/api/keys/route-814b95c8fc310a6a.js +0 -1
  694. package/app/.next/static/chunks/app/api/locale/route-814b95c8fc310a6a.js +0 -1
  695. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-814b95c8fc310a6a.js +0 -1
  696. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-814b95c8fc310a6a.js +0 -1
  697. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-814b95c8fc310a6a.js +0 -1
  698. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-814b95c8fc310a6a.js +0 -1
  699. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-814b95c8fc310a6a.js +0 -1
  700. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-814b95c8fc310a6a.js +0 -1
  701. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-814b95c8fc310a6a.js +0 -1
  702. package/app/.next/static/chunks/app/api/models/alias/route-814b95c8fc310a6a.js +0 -1
  703. package/app/.next/static/chunks/app/api/models/availability/route-814b95c8fc310a6a.js +0 -1
  704. package/app/.next/static/chunks/app/api/models/custom/route-814b95c8fc310a6a.js +0 -1
  705. package/app/.next/static/chunks/app/api/models/disabled/route-814b95c8fc310a6a.js +0 -1
  706. package/app/.next/static/chunks/app/api/models/route-814b95c8fc310a6a.js +0 -1
  707. package/app/.next/static/chunks/app/api/models/test/route-814b95c8fc310a6a.js +0 -1
  708. package/app/.next/static/chunks/app/api/network-analysis/route-814b95c8fc310a6a.js +0 -1
  709. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-814b95c8fc310a6a.js +0 -1
  710. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-814b95c8fc310a6a.js +0 -1
  711. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-814b95c8fc310a6a.js +0 -1
  712. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-814b95c8fc310a6a.js +0 -1
  713. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-814b95c8fc310a6a.js +0 -1
  714. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-814b95c8fc310a6a.js +0 -1
  715. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-814b95c8fc310a6a.js +0 -1
  716. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-814b95c8fc310a6a.js +0 -1
  717. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-814b95c8fc310a6a.js +0 -1
  718. package/app/.next/static/chunks/app/api/pricing/route-814b95c8fc310a6a.js +0 -1
  719. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-814b95c8fc310a6a.js +0 -1
  720. package/app/.next/static/chunks/app/api/provider-nodes/route-814b95c8fc310a6a.js +0 -1
  721. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-814b95c8fc310a6a.js +0 -1
  722. package/app/.next/static/chunks/app/api/providers/[id]/models/route-814b95c8fc310a6a.js +0 -1
  723. package/app/.next/static/chunks/app/api/providers/[id]/route-814b95c8fc310a6a.js +0 -1
  724. package/app/.next/static/chunks/app/api/providers/[id]/test/route-814b95c8fc310a6a.js +0 -1
  725. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-814b95c8fc310a6a.js +0 -1
  726. package/app/.next/static/chunks/app/api/providers/client/route-814b95c8fc310a6a.js +0 -1
  727. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-814b95c8fc310a6a.js +0 -1
  728. package/app/.next/static/chunks/app/api/providers/route-814b95c8fc310a6a.js +0 -1
  729. package/app/.next/static/chunks/app/api/providers/suggested-models/route-814b95c8fc310a6a.js +0 -1
  730. package/app/.next/static/chunks/app/api/providers/test-batch/route-814b95c8fc310a6a.js +0 -1
  731. package/app/.next/static/chunks/app/api/providers/validate/route-814b95c8fc310a6a.js +0 -1
  732. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-814b95c8fc310a6a.js +0 -1
  733. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-814b95c8fc310a6a.js +0 -1
  734. package/app/.next/static/chunks/app/api/proxy-pools/route-814b95c8fc310a6a.js +0 -1
  735. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-814b95c8fc310a6a.js +0 -1
  736. package/app/.next/static/chunks/app/api/settings/database/route-814b95c8fc310a6a.js +0 -1
  737. package/app/.next/static/chunks/app/api/settings/proxy-test/route-814b95c8fc310a6a.js +0 -1
  738. package/app/.next/static/chunks/app/api/settings/require-login/route-814b95c8fc310a6a.js +0 -1
  739. package/app/.next/static/chunks/app/api/settings/route-814b95c8fc310a6a.js +0 -1
  740. package/app/.next/static/chunks/app/api/shutdown/route-814b95c8fc310a6a.js +0 -1
  741. package/app/.next/static/chunks/app/api/startup-notices/route-814b95c8fc310a6a.js +0 -1
  742. package/app/.next/static/chunks/app/api/tags/route-814b95c8fc310a6a.js +0 -1
  743. package/app/.next/static/chunks/app/api/translator/console-logs/route-814b95c8fc310a6a.js +0 -1
  744. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-814b95c8fc310a6a.js +0 -1
  745. package/app/.next/static/chunks/app/api/translator/load/route-814b95c8fc310a6a.js +0 -1
  746. package/app/.next/static/chunks/app/api/translator/save/route-814b95c8fc310a6a.js +0 -1
  747. package/app/.next/static/chunks/app/api/translator/send/route-814b95c8fc310a6a.js +0 -1
  748. package/app/.next/static/chunks/app/api/translator/translate/route-814b95c8fc310a6a.js +0 -1
  749. package/app/.next/static/chunks/app/api/tunnel/disable/route-814b95c8fc310a6a.js +0 -1
  750. package/app/.next/static/chunks/app/api/tunnel/enable/route-814b95c8fc310a6a.js +0 -1
  751. package/app/.next/static/chunks/app/api/tunnel/status/route-814b95c8fc310a6a.js +0 -1
  752. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-814b95c8fc310a6a.js +0 -1
  753. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-814b95c8fc310a6a.js +0 -1
  754. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-814b95c8fc310a6a.js +0 -1
  755. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-814b95c8fc310a6a.js +0 -1
  756. package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-814b95c8fc310a6a.js +0 -1
  757. package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-814b95c8fc310a6a.js +0 -1
  758. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-814b95c8fc310a6a.js +0 -1
  759. package/app/.next/static/chunks/app/api/usage/api-keys/route-814b95c8fc310a6a.js +0 -1
  760. package/app/.next/static/chunks/app/api/usage/chart/route-814b95c8fc310a6a.js +0 -1
  761. package/app/.next/static/chunks/app/api/usage/history/route-814b95c8fc310a6a.js +0 -1
  762. package/app/.next/static/chunks/app/api/usage/logs/route-814b95c8fc310a6a.js +0 -1
  763. package/app/.next/static/chunks/app/api/usage/providers/route-814b95c8fc310a6a.js +0 -1
  764. package/app/.next/static/chunks/app/api/usage/request-details/route-814b95c8fc310a6a.js +0 -1
  765. package/app/.next/static/chunks/app/api/usage/request-logs/route-814b95c8fc310a6a.js +0 -1
  766. package/app/.next/static/chunks/app/api/usage/stats/route-814b95c8fc310a6a.js +0 -1
  767. package/app/.next/static/chunks/app/api/usage/stream/route-814b95c8fc310a6a.js +0 -1
  768. package/app/.next/static/chunks/app/api/users/[id]/route-814b95c8fc310a6a.js +0 -1
  769. package/app/.next/static/chunks/app/api/users/route-814b95c8fc310a6a.js +0 -1
  770. package/app/.next/static/chunks/app/api/v1/api/chat/route-814b95c8fc310a6a.js +0 -1
  771. package/app/.next/static/chunks/app/api/v1/audio/speech/route-814b95c8fc310a6a.js +0 -1
  772. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-814b95c8fc310a6a.js +0 -1
  773. package/app/.next/static/chunks/app/api/v1/audio/voices/route-814b95c8fc310a6a.js +0 -1
  774. package/app/.next/static/chunks/app/api/v1/chat/completions/route-814b95c8fc310a6a.js +0 -1
  775. package/app/.next/static/chunks/app/api/v1/embeddings/route-814b95c8fc310a6a.js +0 -1
  776. package/app/.next/static/chunks/app/api/v1/images/generations/route-814b95c8fc310a6a.js +0 -1
  777. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-814b95c8fc310a6a.js +0 -1
  778. package/app/.next/static/chunks/app/api/v1/messages/route-814b95c8fc310a6a.js +0 -1
  779. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-814b95c8fc310a6a.js +0 -1
  780. package/app/.next/static/chunks/app/api/v1/models/info/route-814b95c8fc310a6a.js +0 -1
  781. package/app/.next/static/chunks/app/api/v1/models/route-814b95c8fc310a6a.js +0 -1
  782. package/app/.next/static/chunks/app/api/v1/responses/compact/route-814b95c8fc310a6a.js +0 -1
  783. package/app/.next/static/chunks/app/api/v1/responses/route-814b95c8fc310a6a.js +0 -1
  784. package/app/.next/static/chunks/app/api/v1/route-814b95c8fc310a6a.js +0 -1
  785. package/app/.next/static/chunks/app/api/v1/search/route-814b95c8fc310a6a.js +0 -1
  786. package/app/.next/static/chunks/app/api/v1/web/fetch/route-814b95c8fc310a6a.js +0 -1
  787. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-814b95c8fc310a6a.js +0 -1
  788. package/app/.next/static/chunks/app/api/v1beta/models/route-814b95c8fc310a6a.js +0 -1
  789. package/app/.next/static/chunks/app/api/version/route-814b95c8fc310a6a.js +0 -1
  790. package/app/.next/static/chunks/app/api/version/shutdown/route-814b95c8fc310a6a.js +0 -1
  791. package/app/.next/static/chunks/app/api/version/update/route-814b95c8fc310a6a.js +0 -1
  792. package/app/.next/static/chunks/app/login/page-ef8d8c379c2ef99b.js +0 -1
  793. package/app/.next/static/chunks/app/manifest.webmanifest/route-814b95c8fc310a6a.js +0 -1
  794. package/app/.next/static/chunks/app/page-814b95c8fc310a6a.js +0 -1
  795. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-814b95c8fc310a6a.js +0 -1
  796. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-814b95c8fc310a6a.js +0 -1
  797. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-814b95c8fc310a6a.js +0 -1
  798. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-814b95c8fc310a6a.js +0 -1
  799. package/app/.next/static/css/9b92fc8235e99d1e.css +0 -1
  800. package/app/src/mitm/antigravityAvailableModels.fixture.json +0 -632
  801. package/app/src/mitm/antigravityBootstrap.js +0 -53
  802. package/app/src/mitm/antigravityModels.js +0 -265
  803. package/app/src/mitm/handlers/openrouter.js +0 -201
  804. package/app/src/mitm/models.json +0 -244
  805. package/app/src/mitm/upstreamResolver.js +0 -123
  806. /package/app/.next/static/{AygZAfUJH9o858u8mFQv5 → jssxgK5Jb3snQyFlT_oQ6}/_ssgManifest.js +0 -0
@@ -1,53 +0,0 @@
1
- const LOCAL_ANTIGRAVITY_PROJECT = "local-openrouterx";
2
-
3
- function createLocalAntigravityTier(options = {}) {
4
- const tier = {
5
- id: "standard-tier",
6
- name: "Gemini Code Assist",
7
- description: "Unlimited coding assistant with the most powerful Gemini models",
8
- userDefinedCloudaicompanionProject: true,
9
- privacyNotice: {},
10
- usesGcpTos: true,
11
- };
12
-
13
- if (options.isDefault) tier.isDefault = true;
14
- return tier;
15
- }
16
-
17
- function createLocalAntigravityLoadCodeAssistPayload() {
18
- const currentTier = createLocalAntigravityTier();
19
-
20
- return {
21
- cloudaicompanionProject: LOCAL_ANTIGRAVITY_PROJECT,
22
- currentTier,
23
- userTier: currentTier,
24
- allowedTiers: [createLocalAntigravityTier({ isDefault: true })],
25
- gcpManaged: false,
26
- tosAccepted: true,
27
- done: true,
28
- releaseChannel: {
29
- type: "EXPERIMENTAL",
30
- name: "Preview Channel",
31
- },
32
- paidTier: currentTier,
33
- };
34
- }
35
-
36
- function createLocalAntigravityOnboardUserPayload() {
37
- const response = createLocalAntigravityLoadCodeAssistPayload();
38
-
39
- return {
40
- done: true,
41
- cloudaicompanionProject: LOCAL_ANTIGRAVITY_PROJECT,
42
- currentTier: response.currentTier,
43
- allowedTiers: response.allowedTiers,
44
- gcpManaged: false,
45
- response,
46
- };
47
- }
48
-
49
- module.exports = {
50
- LOCAL_ANTIGRAVITY_PROJECT,
51
- createLocalAntigravityLoadCodeAssistPayload,
52
- createLocalAntigravityOnboardUserPayload,
53
- };
@@ -1,265 +0,0 @@
1
- const REAL_AVAILABLE_MODELS_FIXTURE = require("./antigravityAvailableModels.fixture.json");
2
-
3
- const BASE_MODEL_EXPERIMENTS = {
4
- experiments: {
5
- CASCADE_USE_EXPERIMENT_CHECKPOINTER: {
6
- stringValue: JSON.stringify({
7
- strategy: "CHECKPOINT_STRATEGY_SINGLE_PROMPT",
8
- max_token_limit: "128000",
9
- token_threshold: "50000",
10
- max_overhead_ratio: "0.15",
11
- moving_window_size: "1",
12
- enabled: true,
13
- max_output_tokens: "16384",
14
- checkpoint_model: "MODEL_PLACEHOLDER_M50",
15
- retry_config: {
16
- max_retries: 0,
17
- initial_sleep_duration_ms: 1000,
18
- exponential_multiplier: 2,
19
- include_error_feedback: false,
20
- },
21
- }, null, 4),
22
- },
23
- },
24
- };
25
-
26
- const COMMON_CODE_MIME_TYPES = {
27
- "application/json": true,
28
- "application/pdf": true,
29
- "application/rtf": true,
30
- "application/x-ipynb+json": true,
31
- "application/x-javascript": true,
32
- "application/x-python-code": true,
33
- "application/x-typescript": true,
34
- "image/heic": true,
35
- "image/heif": true,
36
- "image/jpeg": true,
37
- "image/png": true,
38
- "image/webp": true,
39
- "text/css": true,
40
- "text/csv": true,
41
- "text/html": true,
42
- "text/javascript": true,
43
- "text/markdown": true,
44
- "text/plain": true,
45
- "text/rtf": true,
46
- "text/x-python": true,
47
- "text/x-python-script": true,
48
- "text/x-typescript": true,
49
- "text/xml": true,
50
- "video/mp4": true,
51
- "video/webm": true,
52
- };
53
-
54
- function quota(resetDays = 7) {
55
- const resetTime = new Date(Date.now() + resetDays * 24 * 60 * 60 * 1000).toISOString();
56
- return { remainingFraction: 1, resetTime };
57
- }
58
-
59
- function geminiModel(displayName, model, options = {}) {
60
- return {
61
- displayName,
62
- supportsImages: true,
63
- supportsThinking: true,
64
- thinkingBudget: options.thinkingBudget ?? 1024,
65
- minThinkingBudget: options.minThinkingBudget ?? 128,
66
- recommended: true,
67
- maxTokens: 1048576,
68
- maxOutputTokens: 65535,
69
- tokenizerType: "LLAMA_WITH_SPECIAL",
70
- quotaInfo: quota(options.resetDays),
71
- model,
72
- apiProvider: "API_PROVIDER_GOOGLE_GEMINI",
73
- modelProvider: "MODEL_PROVIDER_GOOGLE",
74
- supportsVideo: true,
75
- supportedMimeTypes: COMMON_CODE_MIME_TYPES,
76
- requiresImageOutputOutsideFunctionResponses: options.requiresImageOutputOutsideFunctionResponses,
77
- modelExperiments: BASE_MODEL_EXPERIMENTS,
78
- };
79
- }
80
-
81
- function anthropicModel(displayName, model) {
82
- return {
83
- displayName,
84
- supportsImages: true,
85
- supportsThinking: true,
86
- thinkingBudget: 1024,
87
- recommended: true,
88
- maxTokens: 250000,
89
- maxOutputTokens: 64000,
90
- tokenizerType: "LLAMA_WITH_SPECIAL",
91
- quotaInfo: quota(),
92
- model,
93
- apiProvider: "API_PROVIDER_ANTHROPIC_VERTEX",
94
- modelProvider: "MODEL_PROVIDER_ANTHROPIC",
95
- supportedMimeTypes: {
96
- "image/heic": true,
97
- "image/heif": true,
98
- "image/jpeg": true,
99
- "image/png": true,
100
- "image/webp": true,
101
- },
102
- modelExperiments: BASE_MODEL_EXPERIMENTS,
103
- };
104
- }
105
-
106
- function openAiModel(displayName, model) {
107
- return {
108
- displayName,
109
- supportsThinking: true,
110
- thinkingBudget: 8192,
111
- recommended: true,
112
- maxTokens: 131072,
113
- maxOutputTokens: 32768,
114
- tokenizerType: "LLAMA_WITH_SPECIAL",
115
- quotaInfo: quota(),
116
- model,
117
- apiProvider: "API_PROVIDER_OPENAI_VERTEX",
118
- modelProvider: "MODEL_PROVIDER_OPENAI",
119
- modelExperiments: BASE_MODEL_EXPERIMENTS,
120
- };
121
- }
122
-
123
- function tabModel(model, maxTokens = 16384) {
124
- return {
125
- maxTokens,
126
- maxOutputTokens: 4096,
127
- tokenizerType: "QWEN2",
128
- quotaInfo: { remainingFraction: 1 },
129
- model,
130
- apiProvider: "API_PROVIDER_INTERNAL",
131
- supportsCumulativeContext: true,
132
- supportsEstimateTokenCounter: true,
133
- isInternal: true,
134
- promptTemplaterType: "PROMPT_TEMPLATER_TYPE_CHATML",
135
- toolFormatterType: "TOOL_FORMATTER_TYPE_XML",
136
- requiresLeadInGeneration: true,
137
- };
138
- }
139
-
140
- function googleTabModel(model, maxTokens = 16384) {
141
- return {
142
- maxTokens,
143
- maxOutputTokens: 4096,
144
- tokenizerType: "LLAMA_WITH_SPECIAL",
145
- quotaInfo: { remainingFraction: 1 },
146
- model,
147
- apiProvider: "API_PROVIDER_GOOGLE_GEMINI",
148
- modelProvider: "MODEL_PROVIDER_GOOGLE",
149
- supportsCumulativeContext: true,
150
- supportsEstimateTokenCounter: true,
151
- isInternal: true,
152
- promptTemplaterType: "PROMPT_TEMPLATER_TYPE_CHATML",
153
- toolFormatterType: "TOOL_FORMATTER_TYPE_XML",
154
- requiresLeadInGeneration: true,
155
- };
156
- }
157
-
158
- function imageModel(displayName, model) {
159
- return {
160
- displayName,
161
- supportsImages: true,
162
- maxTokens: 32768,
163
- maxOutputTokens: 8192,
164
- tokenizerType: "LLAMA_WITH_SPECIAL",
165
- quotaInfo: quota(),
166
- model,
167
- apiProvider: "API_PROVIDER_GOOGLE_GEMINI",
168
- modelProvider: "MODEL_PROVIDER_GOOGLE",
169
- supportedMimeTypes: COMMON_CODE_MIME_TYPES,
170
- };
171
- }
172
-
173
- function freshResetTime(days = 7) {
174
- return new Date(Date.now() + days * 24 * 60 * 60 * 1000).toISOString();
175
- }
176
-
177
- function cloneFixtureWithFreshQuota() {
178
- const payload = JSON.parse(JSON.stringify(REAL_AVAILABLE_MODELS_FIXTURE));
179
- const agentIds = new Set(
180
- (payload.agentModelSorts || [])
181
- .flatMap((sort) => sort.groups || [])
182
- .flatMap((group) => group.modelIds || []),
183
- );
184
-
185
- for (const [id, model] of Object.entries(payload.models || {})) {
186
- if (!model.quotaInfo) model.quotaInfo = { remainingFraction: 1 };
187
- model.quotaInfo.remainingFraction = typeof model.quotaInfo.remainingFraction === "number"
188
- ? model.quotaInfo.remainingFraction
189
- : 1;
190
- if (model.quotaInfo.resetTime) {
191
- model.quotaInfo.resetTime = freshResetTime(agentIds.has(id) ? 7 : 1);
192
- }
193
- }
194
-
195
- return payload;
196
- }
197
-
198
- function buildAntigravityAvailableModelsResponse() {
199
- if (REAL_AVAILABLE_MODELS_FIXTURE?.models) return cloneFixtureWithFreshQuota();
200
-
201
- const models = {
202
- "gemini-2.5-flash-thinking": geminiModel("Gemini 3.1 Flash Lite", "MODEL_GOOGLE_GEMINI_2_5_FLASH_THINKING"),
203
- "gemini-2.5-pro": geminiModel("Gemini 2.5 Pro", "MODEL_GOOGLE_GEMINI_2_5_PRO", {
204
- requiresImageOutputOutsideFunctionResponses: true,
205
- }),
206
- "gemini-2.5-flash-lite": geminiModel("Gemini 3.1 Flash Lite", "MODEL_GOOGLE_GEMINI_2_5_FLASH_LITE"),
207
- "gemini-2.5-flash": geminiModel("Gemini 3.1 Flash Lite", "MODEL_GOOGLE_GEMINI_2_5_FLASH"),
208
- "gemini-3.1-flash-lite": geminiModel("Gemini 3.1 Flash Lite", "MODEL_PLACEHOLDER_M50"),
209
- "gemini-3.1-pro-high": geminiModel("Gemini 3.1 Pro (High)", "MODEL_PLACEHOLDER_M37", {
210
- thinkingBudget: 10001,
211
- }),
212
- "gemini-3.1-pro-low": geminiModel("Gemini 3.1 Pro (Low)", "MODEL_PLACEHOLDER_M36", {
213
- thinkingBudget: 1001,
214
- }),
215
- "gemini-3-flash-agent": geminiModel("Gemini 3 Flash", "MODEL_PLACEHOLDER_M84", {
216
- thinkingBudget: -1,
217
- minThinkingBudget: 32,
218
- }),
219
- "gemini-3-flash": geminiModel("Gemini 3 Flash", "MODEL_PLACEHOLDER_M18", {
220
- thinkingBudget: -1,
221
- minThinkingBudget: 32,
222
- }),
223
- "gemini-3.1-flash-image": imageModel("Gemini 3.1 Flash Image", "MODEL_PLACEHOLDER_M21"),
224
- "claude-sonnet-4-6": anthropicModel("Claude Sonnet 4.6 (Thinking)", "MODEL_PLACEHOLDER_M35"),
225
- "claude-opus-4-6-thinking": anthropicModel("Claude Opus 4.6 (Thinking)", "MODEL_PLACEHOLDER_M26"),
226
- "gpt-oss-120b-medium": openAiModel("GPT-OSS 120B (Medium)", "MODEL_OPENAI_GPT_OSS_120B_MEDIUM"),
227
- "tab_flash_lite_preview": googleTabModel("MODEL_PLACEHOLDER_M19"),
228
- "tab_jump_flash_lite_preview": googleTabModel("MODEL_PLACEHOLDER_M28"),
229
- "chat_20706": tabModel("MODEL_CHAT_20706"),
230
- "chat_23310": tabModel("MODEL_CHAT_23310", 32768),
231
- };
232
-
233
- return {
234
- models,
235
- defaultAgentModelId: "gemini-3.1-pro-high",
236
- agentModelSorts: [
237
- {
238
- displayName: "Recommended",
239
- groups: [
240
- {
241
- modelIds: [
242
- "gemini-3.1-pro-high",
243
- "gemini-3.1-pro-low",
244
- "gemini-3-flash-agent",
245
- "claude-sonnet-4-6",
246
- "claude-opus-4-6-thinking",
247
- "gpt-oss-120b-medium",
248
- ],
249
- },
250
- ],
251
- },
252
- ],
253
- commandModelIds: ["gemini-3-flash"],
254
- tabModelIds: ["chat_20706", "chat_23310"],
255
- imageGenerationModelIds: [],
256
- mqueryModelIds: ["gemini-3.1-flash-lite"],
257
- webSearchModelIds: ["gemini-3.1-flash-lite"],
258
- commitMessageModelIds: ["gemini-3-flash"],
259
- audioTranscriptionModelIds: [],
260
- experimentIds: [],
261
- tieredModelIds: {},
262
- };
263
- }
264
-
265
- module.exports = { buildAntigravityAvailableModelsResponse };
@@ -1,201 +0,0 @@
1
- const fs = require("node:fs");
2
- const path = require("node:path");
3
- const { err } = require("../logger");
4
- const { fetchRouter, pipeSSE } = require("./base");
5
-
6
- const URL_MAP = {
7
- "/api/v1/chat/completions": "/v1/chat/completions",
8
- "/v1/chat/completions": "/v1/chat/completions",
9
- "/chat/completions": "/v1/chat/completions",
10
- "/v1/messages": "/v1/messages",
11
- "/api/v1/responses": "/v1/responses",
12
- "/v1/responses": "/v1/responses",
13
- "/responses": "/v1/responses",
14
- "/api/v1/models": "/v1/models",
15
- "/v1/models": "/v1/models",
16
- };
17
-
18
- function resolveRouterPath(reqUrl) {
19
- const [pathname, query = ""] = String(reqUrl || "").split("?");
20
- for (const [pattern, routerPath] of Object.entries(URL_MAP)) {
21
- if (pathname === pattern || pathname.endsWith(pattern)) {
22
- return query ? `${routerPath}?${query}` : routerPath;
23
- }
24
- }
25
- return "/v1/chat/completions";
26
- }
27
-
28
- function isModelsRequest(reqUrl) {
29
- const pathname = String(reqUrl || "").split("?")[0];
30
- return pathname === "/models" || pathname === "/v1/models" || pathname === "/api/v1/models" || pathname.endsWith("/models");
31
- }
32
-
33
- function isKeyInfoRequest(reqUrl) {
34
- const pathname = String(reqUrl || "").split("?")[0];
35
- return pathname === "/api/v1/key" || pathname === "/api/v1/auth/key";
36
- }
37
-
38
- function getLocalModelsPayload() {
39
- const modelsPath = path.join(__dirname, "..", "models.json");
40
- return fs.readFileSync(modelsPath, "utf8");
41
- }
42
-
43
- function sendJsonPayload(res, payload) {
44
- if (res.writableEnded) return;
45
- res.writeHead(200, {
46
- "Content-Type": "application/json; charset=utf-8",
47
- "Cache-Control": "public, max-age=300",
48
- "Content-Length": Buffer.byteLength(payload),
49
- });
50
- res.end(payload);
51
- }
52
-
53
- function sendOptions(res) {
54
- if (res.writableEnded) return;
55
- res.writeHead(204, {
56
- "Access-Control-Allow-Origin": "*",
57
- "Access-Control-Allow-Methods": "GET, POST, OPTIONS",
58
- "Access-Control-Allow-Headers": "*",
59
- });
60
- res.end();
61
- }
62
-
63
- function buildKeyInfoPayload() {
64
- return {
65
- data: {
66
- label: "openrouterX MITM API Key",
67
- limit: null,
68
- usage: 0,
69
- usage_daily: 0,
70
- usage_weekly: 0,
71
- usage_monthly: 0,
72
- byok_usage: 0,
73
- byok_usage_daily: 0,
74
- byok_usage_weekly: 0,
75
- byok_usage_monthly: 0,
76
- is_free_tier: false,
77
- limit_remaining: null,
78
- limit_reset: null,
79
- include_byok_in_limit: false,
80
- is_provisioning_key: false,
81
- is_management_key: false,
82
- rate_limit: { interval: "1h", requests: 100000 },
83
- },
84
- };
85
- }
86
-
87
- function sendKeyInfo(res) {
88
- if (res.writableEnded) return;
89
- const payload = JSON.stringify(buildKeyInfoPayload());
90
- res.writeHead(200, {
91
- "Content-Type": "application/json; charset=utf-8",
92
- "Access-Control-Allow-Origin": "*",
93
- "Cache-Control": "no-store",
94
- "Content-Length": Buffer.byteLength(payload),
95
- });
96
- res.end(payload);
97
- }
98
-
99
- function buildInjectedModel(publicModelId) {
100
- const [provider = "openrouter"] = String(publicModelId || "").split("/");
101
- return {
102
- id: publicModelId,
103
- canonical_slug: publicModelId,
104
- name: publicModelId,
105
- created: 0,
106
- description: "Injected by OpenrouterX MITM mapping",
107
- architecture: {
108
- modality: "text->text",
109
- input_modalities: ["text"],
110
- output_modalities: ["text"],
111
- tokenizer: "unknown",
112
- instruct_type: null,
113
- },
114
- top_provider: {
115
- is_moderated: false,
116
- },
117
- pricing: {
118
- prompt: "0",
119
- completion: "0",
120
- image: "0",
121
- request: "0",
122
- web_search: "0",
123
- internal_reasoning: "0",
124
- },
125
- per_request_limits: null,
126
- context_length: 128000,
127
- hugging_face_id: null,
128
- supported_parameters: ["max_tokens", "temperature", "top_p", "stream", "stop"],
129
- provider,
130
- };
131
- }
132
-
133
- function injectPublicModels(payload, aliasMappings = {}) {
134
- const normalized = payload && typeof payload === "object" ? payload : {};
135
- const currentData = Array.isArray(normalized.data) ? normalized.data : [];
136
- const existingIds = new Set(currentData.map((item) => item?.id).filter(Boolean));
137
-
138
- const injected = Object.keys(aliasMappings)
139
- .filter(Boolean)
140
- .filter((publicId) => !existingIds.has(publicId))
141
- .map(buildInjectedModel);
142
-
143
- return {
144
- ...normalized,
145
- data: [...currentData, ...injected],
146
- };
147
- }
148
-
149
- async function handleModelsRequest(req, res, bodyBuffer, passthrough, aliasMappings) {
150
- try {
151
- const payload = getLocalModelsPayload();
152
- sendJsonPayload(res, payload);
153
- } catch (error) {
154
- err(`[openrouter] local models response failed: ${error.message}`);
155
- if (!res.headersSent) res.writeHead(500, { "Content-Type": "application/json" });
156
- if (!res.writableEnded) res.end(JSON.stringify({ error: { message: error.message, type: "mitm_error" } }));
157
- }
158
- }
159
-
160
- /**
161
- * Intercept OpenRouter request — replace public model alias and forward to matching OpenrouterX endpoint.
162
- */
163
- async function intercept(req, res, bodyBuffer, mappedModel, passthrough, aliasMappings = {}) {
164
- try {
165
- if (req.method === "OPTIONS") {
166
- sendOptions(res);
167
- return;
168
- }
169
-
170
- if (req.method === "GET" && isKeyInfoRequest(req.url)) {
171
- sendKeyInfo(res);
172
- return;
173
- }
174
-
175
- if (isModelsRequest(req.url)) {
176
- return handleModelsRequest(req, res, bodyBuffer, passthrough, aliasMappings);
177
- }
178
-
179
- const body = JSON.parse(bodyBuffer.toString());
180
- const resolvedModel = mappedModel || aliasMappings[body.model] || body.model;
181
- body.model = resolvedModel;
182
- const routerPath = resolveRouterPath(req.url);
183
- const routerRes = await fetchRouter(body, routerPath, req.headers);
184
- await pipeSSE(routerRes, res);
185
- } catch (error) {
186
- err(`[openrouter] ${error.message}`);
187
- if (!res.headersSent) res.writeHead(500, { "Content-Type": "application/json" });
188
- res.end(JSON.stringify({ error: { message: error.message, type: "mitm_error" } }));
189
- }
190
- }
191
-
192
- module.exports = {
193
- intercept,
194
- resolveRouterPath,
195
- isModelsRequest,
196
- isKeyInfoRequest,
197
- sendKeyInfo,
198
- buildKeyInfoPayload,
199
- injectPublicModels,
200
- buildInjectedModel,
201
- };