@yina-npm/openrouterx 0.4.7 → 0.4.11

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 (908) hide show
  1. package/README.md +250 -1066
  2. package/app/.next/BUILD_ID +1 -1
  3. package/app/.next/app-path-routes-manifest.json +14 -1
  4. package/app/.next/build-manifest.json +3 -3
  5. package/app/.next/prerender-manifest.json +3 -315
  6. package/app/.next/react-loadable-manifest.json +1 -8
  7. package/app/.next/required-server-files.json +3 -3
  8. package/app/.next/routes-manifest.json +82 -0
  9. package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page.js +2 -0
  10. package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page.js.nft.json +1 -0
  11. package/app/.next/server/app/(dashboard)/dashboard/admin/keys/page_client-reference-manifest.js +1 -0
  12. package/app/.next/server/app/(dashboard)/dashboard/admin/users/page.js +2 -0
  13. package/app/.next/server/app/(dashboard)/dashboard/admin/users/page.js.nft.json +1 -0
  14. package/app/.next/server/app/(dashboard)/dashboard/admin/users/page_client-reference-manifest.js +1 -0
  15. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  16. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  19. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  20. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  22. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  25. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  26. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  28. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  29. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +16 -14
  31. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  32. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  34. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  35. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  36. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/combo/[id]/page.js +5 -0
  37. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/combo/[id]/page.js.nft.json +1 -0
  38. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/combo/[id]/page_client-reference-manifest.js +1 -0
  39. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -0
  40. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -0
  41. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -0
  42. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  43. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  44. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  45. package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
  46. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  47. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  48. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  49. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  50. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  51. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  52. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  53. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  54. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  55. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  56. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  57. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  58. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  59. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  60. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  61. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  62. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  63. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  64. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  65. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  66. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  67. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  68. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  69. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  70. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  71. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  72. package/app/.next/server/app/(dashboard)/dashboard/user/page.js +5 -0
  73. package/app/.next/server/app/(dashboard)/dashboard/user/page.js.nft.json +1 -0
  74. package/app/.next/server/app/(dashboard)/dashboard/user/page_client-reference-manifest.js +1 -0
  75. package/app/.next/server/app/_global-error/page.js +2 -2
  76. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  77. package/app/.next/server/app/_global-error.html +1 -1
  78. package/app/.next/server/app/_global-error.rsc +1 -1
  79. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  80. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  81. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  82. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  83. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  84. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  85. package/app/.next/server/app/_not-found/page.js +2 -2
  86. package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
  87. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  88. package/app/.next/server/app/_not-found.html +1 -1
  89. package/app/.next/server/app/_not-found.rsc +4 -4
  90. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
  91. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  92. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
  93. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  94. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  95. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  96. package/app/.next/server/app/api/auth/login/route.js +1 -1
  97. package/app/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  98. package/app/.next/server/app/api/auth/logout/route.js +1 -1
  99. package/app/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  100. package/app/.next/server/app/api/auth/me/route.js +1 -0
  101. package/app/.next/server/app/api/auth/me/route.js.nft.json +1 -0
  102. package/app/.next/server/app/api/auth/me/route_client-reference-manifest.js +1 -0
  103. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  104. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  105. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  106. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  107. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  108. package/app/.next/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  109. package/app/.next/server/app/api/cli-tools/codex-settings/route.js +3 -3
  110. package/app/.next/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  111. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  112. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  113. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +2 -2
  114. package/app/.next/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  115. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +7 -7
  116. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  117. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  118. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  119. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  120. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  121. package/app/.next/server/app/api/cloud/auth/route.js +1 -1
  122. package/app/.next/server/app/api/cloud/auth/route.js.nft.json +1 -1
  123. package/app/.next/server/app/api/cloud/credentials/update/route.js +1 -1
  124. package/app/.next/server/app/api/cloud/credentials/update/route.js.nft.json +1 -1
  125. package/app/.next/server/app/api/cloud/model/resolve/route.js +1 -1
  126. package/app/.next/server/app/api/cloud/model/resolve/route.js.nft.json +1 -1
  127. package/app/.next/server/app/api/cloud/models/alias/route.js +1 -1
  128. package/app/.next/server/app/api/cloud/models/alias/route.js.nft.json +1 -1
  129. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  130. package/app/.next/server/app/api/combos/[id]/route.js.nft.json +1 -1
  131. package/app/.next/server/app/api/combos/route.js +1 -1
  132. package/app/.next/server/app/api/combos/route.js.nft.json +1 -1
  133. package/app/.next/server/app/api/health/route.js +1 -1
  134. package/app/.next/server/app/api/health/route.js.nft.json +1 -1
  135. package/app/.next/server/app/api/init/route.js +1 -1
  136. package/app/.next/server/app/api/init/route.js.nft.json +1 -1
  137. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  138. package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
  139. package/app/.next/server/app/api/keys/route.js +1 -1
  140. package/app/.next/server/app/api/keys/route.js.nft.json +1 -1
  141. package/app/.next/server/app/api/locale/route.js +1 -1
  142. package/app/.next/server/app/api/locale/route.js.nft.json +1 -1
  143. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -0
  144. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -0
  145. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route_client-reference-manifest.js +1 -0
  146. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  147. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  148. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -0
  149. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -0
  150. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route_client-reference-manifest.js +1 -0
  151. package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
  152. package/app/.next/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  153. package/app/.next/server/app/api/models/alias/route.js +1 -1
  154. package/app/.next/server/app/api/models/alias/route.js.nft.json +1 -1
  155. package/app/.next/server/app/api/models/availability/route.js +1 -1
  156. package/app/.next/server/app/api/models/availability/route.js.nft.json +1 -1
  157. package/app/.next/server/app/api/models/custom/route.js +1 -1
  158. package/app/.next/server/app/api/models/custom/route.js.nft.json +1 -1
  159. package/app/.next/server/app/api/models/route.js +1 -1
  160. package/app/.next/server/app/api/models/route.js.nft.json +1 -1
  161. package/app/.next/server/app/api/models/test/route.js +1 -1
  162. package/app/.next/server/app/api/models/test/route.js.nft.json +1 -1
  163. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  164. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  165. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  166. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  167. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  168. package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  169. package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
  170. package/app/.next/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  171. package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
  172. package/app/.next/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  173. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  174. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  175. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  176. package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  177. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  178. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  179. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  180. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  181. package/app/.next/server/app/api/pricing/route.js +1 -1
  182. package/app/.next/server/app/api/pricing/route.js.nft.json +1 -1
  183. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  184. package/app/.next/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  185. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  186. package/app/.next/server/app/api/provider-nodes/route.js.nft.json +1 -1
  187. package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  188. package/app/.next/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  189. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  190. package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  191. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  192. package/app/.next/server/app/api/providers/[id]/route.js.nft.json +1 -1
  193. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  194. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  195. package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
  196. package/app/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  197. package/app/.next/server/app/api/providers/client/route.js +1 -1
  198. package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  199. package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
  200. package/app/.next/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  201. package/app/.next/server/app/api/providers/route.js +1 -1
  202. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  203. package/app/.next/server/app/api/providers/suggested-models/route.js +1 -1
  204. package/app/.next/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  205. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  206. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  207. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  208. package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  209. package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
  210. package/app/.next/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  211. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  212. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  213. package/app/.next/server/app/api/proxy-pools/route.js +1 -1
  214. package/app/.next/server/app/api/proxy-pools/route.js.nft.json +1 -1
  215. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  216. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  217. package/app/.next/server/app/api/settings/database/route.js +1 -1
  218. package/app/.next/server/app/api/settings/database/route.js.nft.json +1 -1
  219. package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
  220. package/app/.next/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  221. package/app/.next/server/app/api/settings/require-login/route.js +1 -1
  222. package/app/.next/server/app/api/settings/require-login/route.js.nft.json +1 -1
  223. package/app/.next/server/app/api/settings/route.js +1 -1
  224. package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
  225. package/app/.next/server/app/api/shutdown/route.js +1 -1
  226. package/app/.next/server/app/api/shutdown/route.js.nft.json +1 -1
  227. package/app/.next/server/app/api/tags/route.js +1 -1
  228. package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
  229. package/app/.next/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  230. package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
  231. package/app/.next/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  232. package/app/.next/server/app/api/translator/load/route.js +1 -1
  233. package/app/.next/server/app/api/translator/load/route.js.nft.json +1 -1
  234. package/app/.next/server/app/api/translator/save/route.js +1 -1
  235. package/app/.next/server/app/api/translator/save/route.js.nft.json +1 -1
  236. package/app/.next/server/app/api/translator/send/route.js +1 -1
  237. package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  238. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  239. package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  240. package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
  241. package/app/.next/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  242. package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
  243. package/app/.next/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  244. package/app/.next/server/app/api/tunnel/status/route.js +1 -1
  245. package/app/.next/server/app/api/tunnel/status/route.js.nft.json +1 -1
  246. package/app/.next/server/app/api/tunnel/tailscale-check/route.js +23 -4
  247. package/app/.next/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  248. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  249. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  250. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  251. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  252. package/app/.next/server/app/api/tunnel/tailscale-install/route.js +2 -2
  253. package/app/.next/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  254. package/app/.next/server/app/api/tunnel/tailscale-login/route.js +23 -4
  255. package/app/.next/server/app/api/tunnel/tailscale-login/route.js.nft.json +1 -1
  256. package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route.js +2 -2
  257. package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route.js.nft.json +1 -1
  258. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  259. package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  260. package/app/.next/server/app/api/usage/api-keys/route.js +1 -0
  261. package/app/.next/server/app/api/usage/api-keys/route.js.nft.json +1 -0
  262. package/app/.next/server/app/api/usage/api-keys/route_client-reference-manifest.js +1 -0
  263. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  264. package/app/.next/server/app/api/usage/chart/route.js.nft.json +1 -1
  265. package/app/.next/server/app/api/usage/history/route.js +1 -1
  266. package/app/.next/server/app/api/usage/history/route.js.nft.json +1 -1
  267. package/app/.next/server/app/api/usage/logs/route.js +1 -1
  268. package/app/.next/server/app/api/usage/logs/route.js.nft.json +1 -1
  269. package/app/.next/server/app/api/usage/providers/route.js +1 -1
  270. package/app/.next/server/app/api/usage/providers/route.js.nft.json +1 -1
  271. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  272. package/app/.next/server/app/api/usage/request-details/route.js.nft.json +1 -1
  273. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  274. package/app/.next/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  275. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  276. package/app/.next/server/app/api/usage/stats/route.js.nft.json +1 -1
  277. package/app/.next/server/app/api/usage/stream/route.js +4 -4
  278. package/app/.next/server/app/api/usage/stream/route.js.nft.json +1 -1
  279. package/app/.next/server/app/api/users/[id]/route.js +1 -0
  280. package/app/.next/server/app/api/users/[id]/route.js.nft.json +1 -0
  281. package/app/.next/server/app/api/users/[id]/route_client-reference-manifest.js +1 -0
  282. package/app/.next/server/app/api/users/route.js +1 -0
  283. package/app/.next/server/app/api/users/route.js.nft.json +1 -0
  284. package/app/.next/server/app/api/users/route_client-reference-manifest.js +1 -0
  285. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  286. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  287. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  288. package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  289. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  290. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  291. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  292. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  293. package/app/.next/server/app/api/v1/images/generations/route.js +4 -1
  294. package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  295. package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  296. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  297. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  298. package/app/.next/server/app/api/v1/models/route.js +1 -1
  299. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  300. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  301. package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  302. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  303. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  304. package/app/.next/server/app/api/v1/route.js +1 -1
  305. package/app/.next/server/app/api/v1/search/route.js +1 -0
  306. package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -0
  307. package/app/.next/server/app/api/v1/search/route_client-reference-manifest.js +1 -0
  308. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -0
  309. package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -0
  310. package/app/.next/server/app/api/v1/web/fetch/route_client-reference-manifest.js +1 -0
  311. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  312. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  313. package/app/.next/server/app/api/v1beta/models/route.js +1 -1
  314. package/app/.next/server/app/api/v1beta/models/route.js.nft.json +1 -1
  315. package/app/.next/server/app/api/version/route.js +1 -1
  316. package/app/.next/server/app/api/version/update/route.js +1 -1
  317. package/app/.next/server/app/api/version/update/route.js.nft.json +1 -1
  318. package/app/.next/server/app/callback/page.js +2 -2
  319. package/app/.next/server/app/callback/page.js.nft.json +1 -1
  320. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  321. package/app/.next/server/app/callback.html +1 -1
  322. package/app/.next/server/app/callback.rsc +4 -4
  323. package/app/.next/server/app/callback.segments/_full.segment.rsc +4 -4
  324. package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
  325. package/app/.next/server/app/callback.segments/_index.segment.rsc +4 -4
  326. package/app/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
  327. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  328. package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
  329. package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
  330. package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  331. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  332. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  333. package/app/.next/server/app/dashboard/settings/pricing.rsc +4 -4
  334. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  335. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  336. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  337. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  338. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  339. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  340. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  341. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  342. package/app/.next/server/app/favicon.ico/route.js +1 -1
  343. package/app/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  344. package/app/.next/server/app/index.html +1 -1
  345. package/app/.next/server/app/index.rsc +4 -4
  346. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  347. package/app/.next/server/app/index.segments/_full.segment.rsc +4 -4
  348. package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
  349. package/app/.next/server/app/index.segments/_index.segment.rsc +4 -4
  350. package/app/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  351. package/app/.next/server/app/landing/page.js +2 -2
  352. package/app/.next/server/app/landing/page.js.nft.json +1 -1
  353. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  354. package/app/.next/server/app/landing.html +1 -1
  355. package/app/.next/server/app/landing.rsc +4 -4
  356. package/app/.next/server/app/landing.segments/_full.segment.rsc +4 -4
  357. package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
  358. package/app/.next/server/app/landing.segments/_index.segment.rsc +4 -4
  359. package/app/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
  360. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  361. package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
  362. package/app/.next/server/app/login/page.js +2 -2
  363. package/app/.next/server/app/login/page.js.nft.json +1 -1
  364. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  365. package/app/.next/server/app/login.html +1 -1
  366. package/app/.next/server/app/login.rsc +5 -5
  367. package/app/.next/server/app/login.segments/_full.segment.rsc +5 -5
  368. package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
  369. package/app/.next/server/app/login.segments/_index.segment.rsc +4 -4
  370. package/app/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  371. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  372. package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
  373. package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
  374. package/app/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  375. package/app/.next/server/app/page.js +2 -2
  376. package/app/.next/server/app/page.js.nft.json +1 -1
  377. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  378. package/app/.next/server/app-paths-manifest.json +14 -1
  379. package/app/.next/server/chunks/1256.js +1 -0
  380. package/app/.next/server/chunks/{1202.js → 1263.js} +2 -2
  381. package/app/.next/server/chunks/2417.js +1 -1
  382. package/app/.next/server/chunks/2506.js +2 -2
  383. package/app/.next/server/chunks/2549.js +1 -0
  384. package/app/.next/server/chunks/3245.js +1 -0
  385. package/app/.next/server/chunks/3855.js +1 -1
  386. package/app/.next/server/chunks/4013.js +1 -0
  387. package/app/.next/server/chunks/412.js +3 -3
  388. package/app/.next/server/chunks/4122.js +1 -1
  389. package/app/.next/server/chunks/4664.js +1 -0
  390. package/app/.next/server/chunks/4989.js +2 -2
  391. package/app/.next/server/chunks/5573.js +1 -1
  392. package/app/.next/server/chunks/5599.js +13 -13
  393. package/app/.next/server/chunks/5681.js +1 -0
  394. package/app/.next/server/chunks/6184.js +1 -0
  395. package/app/.next/server/chunks/6555.js +1 -0
  396. package/app/.next/server/chunks/7595.js +1 -1
  397. package/app/.next/server/chunks/7774.js +3 -3
  398. package/app/.next/server/chunks/7828.js +1 -0
  399. package/app/.next/server/chunks/7937.js +203 -0
  400. package/app/.next/server/chunks/8590.js +1 -1
  401. package/app/.next/server/chunks/8760.js +1 -0
  402. package/app/.next/server/chunks/8895.js +2 -2
  403. package/app/.next/server/chunks/9489.js +1 -0
  404. package/app/.next/server/chunks/9501.js +37 -5
  405. package/app/.next/server/chunks/{1220.js → 9641.js} +2 -2
  406. package/app/.next/server/chunks/9718.js +1 -1
  407. package/app/.next/server/middleware-build-manifest.js +1 -1
  408. package/app/.next/server/middleware-react-loadable-manifest.js +1 -1
  409. package/app/.next/server/middleware.js +1 -1
  410. package/app/.next/server/pages/404.html +1 -1
  411. package/app/.next/server/pages/500.html +1 -1
  412. package/app/.next/server/server-reference-manifest.js +1 -1
  413. package/app/.next/server/server-reference-manifest.json +1 -1
  414. package/app/.next/static/chunks/1321-e040e8704e8038e6.js +1 -0
  415. package/app/.next/static/chunks/5497-4da88480a15dec4c.js +7 -0
  416. package/app/.next/static/chunks/5555-91932fc7b159e521.js +3 -0
  417. package/app/.next/static/chunks/698-64c9bb7a1ba1f521.js +23 -0
  418. package/app/.next/static/chunks/app/(dashboard)/dashboard/admin/keys/page-e7d9455fb9021069.js +1 -0
  419. package/app/.next/static/chunks/app/(dashboard)/dashboard/admin/users/page-c8e5a4b31bc18425.js +1 -0
  420. package/app/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-ece69a38800356c3.js → page-a4b2b832a4892e6d.js} +1 -1
  421. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-4a745b1296f08667.js +1 -0
  422. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/{page-bc388a93f092e16d.js → page-842b00e6db9de7ae.js} +1 -1
  423. package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-fbdc1506f7259342.js +1 -0
  424. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-0494f10cf7d2cae0.js +53 -0
  425. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-521aecf4ccb7b03e.js +1 -0
  426. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/web/combo/[id]/page-d594f315360645f3.js +4 -0
  427. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-ec14043bae22768d.js +1 -0
  428. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-f8681cfb4c894f96.js +1 -0
  429. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-f0bbe6b3b1bfb85e.js +1 -0
  430. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-7985e45ad78144eb.js +1 -0
  431. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-d6d08994d9d6d690.js +1 -0
  432. package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-b2443c6d810b0207.js +2 -0
  433. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-fae4c95586692227.js +1 -0
  434. package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-24023a32c248257e.js +1 -0
  435. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-48fc1f090d936818.js +1 -0
  436. package/app/.next/static/chunks/app/(dashboard)/dashboard/user/page-e9ab0043e9b15204.js +4 -0
  437. package/app/.next/static/chunks/app/(dashboard)/layout-d368218e0e87c124.js +1 -0
  438. package/app/.next/static/chunks/app/_global-error/page-24023a32c248257e.js +1 -0
  439. package/app/.next/static/chunks/app/api/auth/login/route-24023a32c248257e.js +1 -0
  440. package/app/.next/static/chunks/app/api/auth/logout/route-24023a32c248257e.js +1 -0
  441. package/app/.next/static/chunks/app/api/auth/me/route-24023a32c248257e.js +1 -0
  442. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-24023a32c248257e.js +1 -0
  443. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-24023a32c248257e.js +1 -0
  444. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-24023a32c248257e.js +1 -0
  445. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-24023a32c248257e.js +1 -0
  446. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-24023a32c248257e.js +1 -0
  447. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-24023a32c248257e.js +1 -0
  448. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-24023a32c248257e.js +1 -0
  449. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-24023a32c248257e.js +1 -0
  450. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-24023a32c248257e.js +1 -0
  451. package/app/.next/static/chunks/app/api/cloud/auth/route-24023a32c248257e.js +1 -0
  452. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-24023a32c248257e.js +1 -0
  453. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-24023a32c248257e.js +1 -0
  454. package/app/.next/static/chunks/app/api/cloud/models/alias/route-24023a32c248257e.js +1 -0
  455. package/app/.next/static/chunks/app/api/combos/[id]/route-24023a32c248257e.js +1 -0
  456. package/app/.next/static/chunks/app/api/combos/route-24023a32c248257e.js +1 -0
  457. package/app/.next/static/chunks/app/api/health/route-24023a32c248257e.js +1 -0
  458. package/app/.next/static/chunks/app/api/init/route-24023a32c248257e.js +1 -0
  459. package/app/.next/static/chunks/app/api/keys/[id]/route-24023a32c248257e.js +1 -0
  460. package/app/.next/static/chunks/app/api/keys/route-24023a32c248257e.js +1 -0
  461. package/app/.next/static/chunks/app/api/locale/route-24023a32c248257e.js +1 -0
  462. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-24023a32c248257e.js +1 -0
  463. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-24023a32c248257e.js +1 -0
  464. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-24023a32c248257e.js +1 -0
  465. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-24023a32c248257e.js +1 -0
  466. package/app/.next/static/chunks/app/api/models/alias/route-24023a32c248257e.js +1 -0
  467. package/app/.next/static/chunks/app/api/models/availability/route-24023a32c248257e.js +1 -0
  468. package/app/.next/static/chunks/app/api/models/custom/route-24023a32c248257e.js +1 -0
  469. package/app/.next/static/chunks/app/api/models/route-24023a32c248257e.js +1 -0
  470. package/app/.next/static/chunks/app/api/models/test/route-24023a32c248257e.js +1 -0
  471. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-24023a32c248257e.js +1 -0
  472. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-24023a32c248257e.js +1 -0
  473. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-24023a32c248257e.js +1 -0
  474. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-24023a32c248257e.js +1 -0
  475. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-24023a32c248257e.js +1 -0
  476. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-24023a32c248257e.js +1 -0
  477. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-24023a32c248257e.js +1 -0
  478. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-24023a32c248257e.js +1 -0
  479. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-24023a32c248257e.js +1 -0
  480. package/app/.next/static/chunks/app/api/pricing/route-24023a32c248257e.js +1 -0
  481. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-24023a32c248257e.js +1 -0
  482. package/app/.next/static/chunks/app/api/provider-nodes/route-24023a32c248257e.js +1 -0
  483. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-24023a32c248257e.js +1 -0
  484. package/app/.next/static/chunks/app/api/providers/[id]/models/route-24023a32c248257e.js +1 -0
  485. package/app/.next/static/chunks/app/api/providers/[id]/route-24023a32c248257e.js +1 -0
  486. package/app/.next/static/chunks/app/api/providers/[id]/test/route-24023a32c248257e.js +1 -0
  487. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-24023a32c248257e.js +1 -0
  488. package/app/.next/static/chunks/app/api/providers/client/route-24023a32c248257e.js +1 -0
  489. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-24023a32c248257e.js +1 -0
  490. package/app/.next/static/chunks/app/api/providers/route-24023a32c248257e.js +1 -0
  491. package/app/.next/static/chunks/app/api/providers/suggested-models/route-24023a32c248257e.js +1 -0
  492. package/app/.next/static/chunks/app/api/providers/test-batch/route-24023a32c248257e.js +1 -0
  493. package/app/.next/static/chunks/app/api/providers/validate/route-24023a32c248257e.js +1 -0
  494. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-24023a32c248257e.js +1 -0
  495. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-24023a32c248257e.js +1 -0
  496. package/app/.next/static/chunks/app/api/proxy-pools/route-24023a32c248257e.js +1 -0
  497. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-24023a32c248257e.js +1 -0
  498. package/app/.next/static/chunks/app/api/settings/database/route-24023a32c248257e.js +1 -0
  499. package/app/.next/static/chunks/app/api/settings/proxy-test/route-24023a32c248257e.js +1 -0
  500. package/app/.next/static/chunks/app/api/settings/require-login/route-24023a32c248257e.js +1 -0
  501. package/app/.next/static/chunks/app/api/settings/route-24023a32c248257e.js +1 -0
  502. package/app/.next/static/chunks/app/api/shutdown/route-24023a32c248257e.js +1 -0
  503. package/app/.next/static/chunks/app/api/tags/route-24023a32c248257e.js +1 -0
  504. package/app/.next/static/chunks/app/api/translator/console-logs/route-24023a32c248257e.js +1 -0
  505. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-24023a32c248257e.js +1 -0
  506. package/app/.next/static/chunks/app/api/translator/load/route-24023a32c248257e.js +1 -0
  507. package/app/.next/static/chunks/app/api/translator/save/route-24023a32c248257e.js +1 -0
  508. package/app/.next/static/chunks/app/api/translator/send/route-24023a32c248257e.js +1 -0
  509. package/app/.next/static/chunks/app/api/translator/translate/route-24023a32c248257e.js +1 -0
  510. package/app/.next/static/chunks/app/api/tunnel/disable/route-24023a32c248257e.js +1 -0
  511. package/app/.next/static/chunks/app/api/tunnel/enable/route-24023a32c248257e.js +1 -0
  512. package/app/.next/static/chunks/app/api/tunnel/status/route-24023a32c248257e.js +1 -0
  513. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-24023a32c248257e.js +1 -0
  514. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-24023a32c248257e.js +1 -0
  515. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-24023a32c248257e.js +1 -0
  516. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-24023a32c248257e.js +1 -0
  517. package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-24023a32c248257e.js +1 -0
  518. package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-24023a32c248257e.js +1 -0
  519. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-24023a32c248257e.js +1 -0
  520. package/app/.next/static/chunks/app/api/usage/api-keys/route-24023a32c248257e.js +1 -0
  521. package/app/.next/static/chunks/app/api/usage/chart/route-24023a32c248257e.js +1 -0
  522. package/app/.next/static/chunks/app/api/usage/history/route-24023a32c248257e.js +1 -0
  523. package/app/.next/static/chunks/app/api/usage/logs/route-24023a32c248257e.js +1 -0
  524. package/app/.next/static/chunks/app/api/usage/providers/route-24023a32c248257e.js +1 -0
  525. package/app/.next/static/chunks/app/api/usage/request-details/route-24023a32c248257e.js +1 -0
  526. package/app/.next/static/chunks/app/api/usage/request-logs/route-24023a32c248257e.js +1 -0
  527. package/app/.next/static/chunks/app/api/usage/stats/route-24023a32c248257e.js +1 -0
  528. package/app/.next/static/chunks/app/api/usage/stream/route-24023a32c248257e.js +1 -0
  529. package/app/.next/static/chunks/app/api/users/[id]/route-24023a32c248257e.js +1 -0
  530. package/app/.next/static/chunks/app/api/users/route-24023a32c248257e.js +1 -0
  531. package/app/.next/static/chunks/app/api/v1/api/chat/route-24023a32c248257e.js +1 -0
  532. package/app/.next/static/chunks/app/api/v1/audio/speech/route-24023a32c248257e.js +1 -0
  533. package/app/.next/static/chunks/app/api/v1/chat/completions/route-24023a32c248257e.js +1 -0
  534. package/app/.next/static/chunks/app/api/v1/embeddings/route-24023a32c248257e.js +1 -0
  535. package/app/.next/static/chunks/app/api/v1/images/generations/route-24023a32c248257e.js +1 -0
  536. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-24023a32c248257e.js +1 -0
  537. package/app/.next/static/chunks/app/api/v1/messages/route-24023a32c248257e.js +1 -0
  538. package/app/.next/static/chunks/app/api/v1/models/route-24023a32c248257e.js +1 -0
  539. package/app/.next/static/chunks/app/api/v1/responses/compact/route-24023a32c248257e.js +1 -0
  540. package/app/.next/static/chunks/app/api/v1/responses/route-24023a32c248257e.js +1 -0
  541. package/app/.next/static/chunks/app/api/v1/route-24023a32c248257e.js +1 -0
  542. package/app/.next/static/chunks/app/api/v1/search/route-24023a32c248257e.js +1 -0
  543. package/app/.next/static/chunks/app/api/v1/web/fetch/route-24023a32c248257e.js +1 -0
  544. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-24023a32c248257e.js +1 -0
  545. package/app/.next/static/chunks/app/api/v1beta/models/route-24023a32c248257e.js +1 -0
  546. package/app/.next/static/chunks/app/api/version/route-24023a32c248257e.js +1 -0
  547. package/app/.next/static/chunks/app/api/version/update/route-24023a32c248257e.js +1 -0
  548. package/app/.next/static/chunks/app/login/page-f8fd97681568bf8f.js +1 -0
  549. package/app/.next/static/chunks/app/manifest.webmanifest/route-24023a32c248257e.js +1 -0
  550. package/app/.next/static/chunks/app/page-24023a32c248257e.js +1 -0
  551. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-24023a32c248257e.js +1 -0
  552. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-24023a32c248257e.js +1 -0
  553. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-24023a32c248257e.js +1 -0
  554. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-24023a32c248257e.js +1 -0
  555. package/app/.next/static/chunks/webpack-d1740476c6ab968a.js +1 -0
  556. package/app/.next/static/css/733bbed45c0f373c.css +1 -0
  557. package/app/.next/static/kSw7ik2y0Lphlofn8QbuF/_buildManifest.js +1 -0
  558. package/app/package.json +1 -1
  559. package/app/public/i18n/literals/ar.json +4 -4
  560. package/app/public/i18n/literals/bn.json +4 -4
  561. package/app/public/i18n/literals/cs.json +4 -4
  562. package/app/public/i18n/literals/da.json +4 -4
  563. package/app/public/i18n/literals/de.json +4 -4
  564. package/app/public/i18n/literals/el.json +4 -4
  565. package/app/public/i18n/literals/es.json +4 -4
  566. package/app/public/i18n/literals/fi.json +4 -4
  567. package/app/public/i18n/literals/fr.json +4 -4
  568. package/app/public/i18n/literals/he.json +4 -4
  569. package/app/public/i18n/literals/hi.json +4 -4
  570. package/app/public/i18n/literals/hu.json +4 -4
  571. package/app/public/i18n/literals/id.json +4 -4
  572. package/app/public/i18n/literals/it.json +4 -4
  573. package/app/public/i18n/literals/ja.json +4 -4
  574. package/app/public/i18n/literals/ko.json +4 -4
  575. package/app/public/i18n/literals/nl.json +4 -4
  576. package/app/public/i18n/literals/no.json +4 -4
  577. package/app/public/i18n/literals/pl.json +4 -4
  578. package/app/public/i18n/literals/pt-BR.json +4 -4
  579. package/app/public/i18n/literals/pt-PT.json +4 -4
  580. package/app/public/i18n/literals/ro.json +4 -4
  581. package/app/public/i18n/literals/ru.json +4 -4
  582. package/app/public/i18n/literals/sv.json +4 -4
  583. package/app/public/i18n/literals/th.json +4 -4
  584. package/app/public/i18n/literals/tl.json +4 -4
  585. package/app/public/i18n/literals/tr.json +4 -4
  586. package/app/public/i18n/literals/uk.json +4 -4
  587. package/app/public/i18n/literals/ur.json +4 -4
  588. package/app/public/i18n/literals/vi.json +4 -4
  589. package/app/public/i18n/literals/zh-CN.json +7 -7
  590. package/app/public/i18n/literals/zh-TW.json +4 -4
  591. package/app/public/providers/azure.png +0 -0
  592. package/app/public/providers/blackbox.png +0 -0
  593. package/app/public/providers/brave-search.png +0 -0
  594. package/app/public/providers/byteplus.png +0 -0
  595. package/app/public/providers/coqui.png +0 -0
  596. package/app/public/providers/exa.png +0 -0
  597. package/app/public/providers/firecrawl.png +0 -0
  598. package/app/public/providers/google-pse.png +0 -0
  599. package/app/public/providers/grok-web.png +0 -0
  600. package/app/public/providers/inworld.png +0 -0
  601. package/app/public/providers/jina-reader.png +0 -0
  602. package/app/public/providers/linkup.png +0 -0
  603. package/app/public/providers/perplexity-web.png +0 -0
  604. package/app/public/providers/searchapi.png +0 -0
  605. package/app/public/providers/searxng.png +0 -0
  606. package/app/public/providers/serper.png +0 -0
  607. package/app/public/providers/tavily.png +0 -0
  608. package/app/public/providers/tortoise.png +0 -0
  609. package/app/public/providers/voyage-ai.png +0 -0
  610. package/app/public/providers/youcom.png +0 -0
  611. package/app/server.js +1 -1
  612. package/app/src/lib/updater/updater.js +25 -2
  613. package/app/src/mitm/cert/install.js +31 -24
  614. package/app/src/mitm/config.js +15 -1
  615. package/app/src/mitm/dns/dnsConfig.js +48 -62
  616. package/app/src/mitm/handlers/antigravity.js +18 -6
  617. package/app/src/mitm/handlers/base.js +12 -10
  618. package/app/src/mitm/logger.js +102 -1
  619. package/app/src/mitm/manager.js +22 -5
  620. package/app/src/mitm/server.js +39 -29
  621. package/app/src/mitm/winElevated.js +79 -0
  622. package/app/src/shared/constants/mitmToolHosts.js +12 -0
  623. package/package.json +1 -1
  624. package/app/.next/server/app/dashboard/basic-chat.html +0 -1
  625. package/app/.next/server/app/dashboard/basic-chat.meta +0 -17
  626. package/app/.next/server/app/dashboard/basic-chat.rsc +0 -24
  627. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +0 -6
  628. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +0 -5
  629. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  630. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  631. package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +0 -24
  632. package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +0 -6
  633. package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +0 -9
  634. package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +0 -6
  635. package/app/.next/server/app/dashboard/cli-tools.html +0 -1
  636. package/app/.next/server/app/dashboard/cli-tools.meta +0 -17
  637. package/app/.next/server/app/dashboard/cli-tools.rsc +0 -25
  638. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +0 -6
  639. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +0 -5
  640. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  641. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  642. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +0 -25
  643. package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +0 -6
  644. package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +0 -9
  645. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +0 -6
  646. package/app/.next/server/app/dashboard/combos.html +0 -1
  647. package/app/.next/server/app/dashboard/combos.meta +0 -17
  648. package/app/.next/server/app/dashboard/combos.rsc +0 -27
  649. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +0 -9
  650. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +0 -5
  651. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  652. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  653. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +0 -27
  654. package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +0 -6
  655. package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +0 -9
  656. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +0 -6
  657. package/app/.next/server/app/dashboard/endpoint.html +0 -1
  658. package/app/.next/server/app/dashboard/endpoint.meta +0 -17
  659. package/app/.next/server/app/dashboard/endpoint.rsc +0 -25
  660. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +0 -6
  661. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +0 -5
  662. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  663. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  664. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +0 -25
  665. package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +0 -6
  666. package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +0 -9
  667. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +0 -6
  668. package/app/.next/server/app/dashboard/mitm.html +0 -1
  669. package/app/.next/server/app/dashboard/mitm.meta +0 -17
  670. package/app/.next/server/app/dashboard/mitm.rsc +0 -24
  671. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +0 -6
  672. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +0 -5
  673. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  674. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  675. package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +0 -24
  676. package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +0 -6
  677. package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +0 -9
  678. package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +0 -6
  679. package/app/.next/server/app/dashboard/profile.html +0 -1
  680. package/app/.next/server/app/dashboard/profile.meta +0 -17
  681. package/app/.next/server/app/dashboard/profile.rsc +0 -27
  682. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +0 -9
  683. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +0 -5
  684. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  685. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  686. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +0 -27
  687. package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +0 -6
  688. package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +0 -9
  689. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +0 -6
  690. package/app/.next/server/app/dashboard/providers/new.html +0 -1
  691. package/app/.next/server/app/dashboard/providers/new.meta +0 -18
  692. package/app/.next/server/app/dashboard/providers/new.rsc +0 -27
  693. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +0 -9
  694. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +0 -5
  695. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +0 -5
  696. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  697. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  698. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +0 -27
  699. package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +0 -6
  700. package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +0 -9
  701. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +0 -6
  702. package/app/.next/server/app/dashboard/providers.html +0 -1
  703. package/app/.next/server/app/dashboard/providers.meta +0 -17
  704. package/app/.next/server/app/dashboard/providers.rsc +0 -27
  705. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +0 -9
  706. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +0 -5
  707. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  708. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  709. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +0 -27
  710. package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +0 -6
  711. package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +0 -9
  712. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +0 -6
  713. package/app/.next/server/app/dashboard/proxy-pools.html +0 -1
  714. package/app/.next/server/app/dashboard/proxy-pools.meta +0 -17
  715. package/app/.next/server/app/dashboard/proxy-pools.rsc +0 -27
  716. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +0 -9
  717. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +0 -5
  718. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  719. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  720. package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +0 -27
  721. package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +0 -6
  722. package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +0 -9
  723. package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +0 -6
  724. package/app/.next/server/app/dashboard/quota.html +0 -2
  725. package/app/.next/server/app/dashboard/quota.meta +0 -17
  726. package/app/.next/server/app/dashboard/quota.rsc +0 -25
  727. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +0 -7
  728. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +0 -5
  729. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  730. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  731. package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +0 -25
  732. package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +0 -6
  733. package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +0 -9
  734. package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +0 -6
  735. package/app/.next/server/app/dashboard/translator.html +0 -1
  736. package/app/.next/server/app/dashboard/translator.meta +0 -17
  737. package/app/.next/server/app/dashboard/translator.rsc +0 -27
  738. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +0 -9
  739. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +0 -5
  740. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  741. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  742. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +0 -27
  743. package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +0 -6
  744. package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +0 -9
  745. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +0 -6
  746. package/app/.next/server/app/dashboard/usage.html +0 -1
  747. package/app/.next/server/app/dashboard/usage.meta +0 -17
  748. package/app/.next/server/app/dashboard/usage.rsc +0 -27
  749. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +0 -9
  750. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +0 -5
  751. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  752. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  753. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +0 -27
  754. package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +0 -6
  755. package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +0 -9
  756. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +0 -6
  757. package/app/.next/server/app/dashboard.html +0 -1
  758. package/app/.next/server/app/dashboard.meta +0 -16
  759. package/app/.next/server/app/dashboard.rsc +0 -25
  760. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +0 -6
  761. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +0 -5
  762. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +0 -6
  763. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +0 -25
  764. package/app/.next/server/app/dashboard.segments/_head.segment.rsc +0 -6
  765. package/app/.next/server/app/dashboard.segments/_index.segment.rsc +0 -9
  766. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +0 -6
  767. package/app/.next/server/chunks/1357.js +0 -1
  768. package/app/.next/server/chunks/2409.js +0 -1
  769. package/app/.next/server/chunks/289.js +0 -1
  770. package/app/.next/server/chunks/318.js +0 -203
  771. package/app/.next/server/chunks/4404.js +0 -1
  772. package/app/.next/server/chunks/541.js +0 -1
  773. package/app/.next/server/chunks/6114.js +0 -1
  774. package/app/.next/server/chunks/6143.js +0 -1
  775. package/app/.next/server/chunks/6327.js +0 -1
  776. package/app/.next/server/chunks/6386.js +0 -1
  777. package/app/.next/server/chunks/7924.js +0 -1
  778. package/app/.next/static/GWqgJg45jqUgh4iLz365f/_buildManifest.js +0 -1
  779. package/app/.next/static/chunks/1321-c5a3513d1c657677.js +0 -1
  780. package/app/.next/static/chunks/5497-2b813df1aa4bc9ba.js +0 -7
  781. package/app/.next/static/chunks/5555-26f687e754d40f93.js +0 -3
  782. package/app/.next/static/chunks/698-646ba5259113c1a0.js +0 -23
  783. package/app/.next/static/chunks/8202.1ffc6ce531e066ce.js +0 -1
  784. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-2f4bb06a89cb1e96.js +0 -1
  785. package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-d690c6133fec8d11.js +0 -1
  786. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-89b8138c3ac2e04f.js +0 -51
  787. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-154824cbf44c34b2.js +0 -1
  788. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-ed08f60a5fb7f3eb.js +0 -1
  789. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-478d456890cb93f8.js +0 -1
  790. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-6d84cac6ca90a61c.js +0 -1
  791. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-9fb9fc4557dbea57.js +0 -1
  792. package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-4d43dabc1455a54b.js +0 -2
  793. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-18e13f60a38c4be4.js +0 -1
  794. package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-4fc78ec3c912ea4c.js +0 -1
  795. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-6204a1c1bfe6aee1.js +0 -1
  796. package/app/.next/static/chunks/app/(dashboard)/layout-9b93641ed57cec1d.js +0 -1
  797. package/app/.next/static/chunks/app/_global-error/page-de0b0e689b74bc54.js +0 -1
  798. package/app/.next/static/chunks/app/api/auth/login/route-de0b0e689b74bc54.js +0 -1
  799. package/app/.next/static/chunks/app/api/auth/logout/route-de0b0e689b74bc54.js +0 -1
  800. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-de0b0e689b74bc54.js +0 -1
  801. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-de0b0e689b74bc54.js +0 -1
  802. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-de0b0e689b74bc54.js +0 -1
  803. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-de0b0e689b74bc54.js +0 -1
  804. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-de0b0e689b74bc54.js +0 -1
  805. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-de0b0e689b74bc54.js +0 -1
  806. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-de0b0e689b74bc54.js +0 -1
  807. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-de0b0e689b74bc54.js +0 -1
  808. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-de0b0e689b74bc54.js +0 -1
  809. package/app/.next/static/chunks/app/api/cloud/auth/route-de0b0e689b74bc54.js +0 -1
  810. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-de0b0e689b74bc54.js +0 -1
  811. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-de0b0e689b74bc54.js +0 -1
  812. package/app/.next/static/chunks/app/api/cloud/models/alias/route-de0b0e689b74bc54.js +0 -1
  813. package/app/.next/static/chunks/app/api/combos/[id]/route-de0b0e689b74bc54.js +0 -1
  814. package/app/.next/static/chunks/app/api/combos/route-de0b0e689b74bc54.js +0 -1
  815. package/app/.next/static/chunks/app/api/health/route-de0b0e689b74bc54.js +0 -1
  816. package/app/.next/static/chunks/app/api/init/route-de0b0e689b74bc54.js +0 -1
  817. package/app/.next/static/chunks/app/api/keys/[id]/route-de0b0e689b74bc54.js +0 -1
  818. package/app/.next/static/chunks/app/api/keys/route-de0b0e689b74bc54.js +0 -1
  819. package/app/.next/static/chunks/app/api/locale/route-de0b0e689b74bc54.js +0 -1
  820. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-de0b0e689b74bc54.js +0 -1
  821. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-de0b0e689b74bc54.js +0 -1
  822. package/app/.next/static/chunks/app/api/models/alias/route-de0b0e689b74bc54.js +0 -1
  823. package/app/.next/static/chunks/app/api/models/availability/route-de0b0e689b74bc54.js +0 -1
  824. package/app/.next/static/chunks/app/api/models/custom/route-de0b0e689b74bc54.js +0 -1
  825. package/app/.next/static/chunks/app/api/models/route-de0b0e689b74bc54.js +0 -1
  826. package/app/.next/static/chunks/app/api/models/test/route-de0b0e689b74bc54.js +0 -1
  827. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-de0b0e689b74bc54.js +0 -1
  828. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-de0b0e689b74bc54.js +0 -1
  829. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-de0b0e689b74bc54.js +0 -1
  830. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-de0b0e689b74bc54.js +0 -1
  831. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-de0b0e689b74bc54.js +0 -1
  832. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-de0b0e689b74bc54.js +0 -1
  833. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-de0b0e689b74bc54.js +0 -1
  834. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-de0b0e689b74bc54.js +0 -1
  835. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-de0b0e689b74bc54.js +0 -1
  836. package/app/.next/static/chunks/app/api/pricing/route-de0b0e689b74bc54.js +0 -1
  837. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-de0b0e689b74bc54.js +0 -1
  838. package/app/.next/static/chunks/app/api/provider-nodes/route-de0b0e689b74bc54.js +0 -1
  839. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-de0b0e689b74bc54.js +0 -1
  840. package/app/.next/static/chunks/app/api/providers/[id]/models/route-de0b0e689b74bc54.js +0 -1
  841. package/app/.next/static/chunks/app/api/providers/[id]/route-de0b0e689b74bc54.js +0 -1
  842. package/app/.next/static/chunks/app/api/providers/[id]/test/route-de0b0e689b74bc54.js +0 -1
  843. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-de0b0e689b74bc54.js +0 -1
  844. package/app/.next/static/chunks/app/api/providers/client/route-de0b0e689b74bc54.js +0 -1
  845. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-de0b0e689b74bc54.js +0 -1
  846. package/app/.next/static/chunks/app/api/providers/route-de0b0e689b74bc54.js +0 -1
  847. package/app/.next/static/chunks/app/api/providers/suggested-models/route-de0b0e689b74bc54.js +0 -1
  848. package/app/.next/static/chunks/app/api/providers/test-batch/route-de0b0e689b74bc54.js +0 -1
  849. package/app/.next/static/chunks/app/api/providers/validate/route-de0b0e689b74bc54.js +0 -1
  850. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-de0b0e689b74bc54.js +0 -1
  851. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-de0b0e689b74bc54.js +0 -1
  852. package/app/.next/static/chunks/app/api/proxy-pools/route-de0b0e689b74bc54.js +0 -1
  853. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-de0b0e689b74bc54.js +0 -1
  854. package/app/.next/static/chunks/app/api/settings/database/route-de0b0e689b74bc54.js +0 -1
  855. package/app/.next/static/chunks/app/api/settings/proxy-test/route-de0b0e689b74bc54.js +0 -1
  856. package/app/.next/static/chunks/app/api/settings/require-login/route-de0b0e689b74bc54.js +0 -1
  857. package/app/.next/static/chunks/app/api/settings/route-de0b0e689b74bc54.js +0 -1
  858. package/app/.next/static/chunks/app/api/shutdown/route-de0b0e689b74bc54.js +0 -1
  859. package/app/.next/static/chunks/app/api/tags/route-de0b0e689b74bc54.js +0 -1
  860. package/app/.next/static/chunks/app/api/translator/console-logs/route-de0b0e689b74bc54.js +0 -1
  861. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-de0b0e689b74bc54.js +0 -1
  862. package/app/.next/static/chunks/app/api/translator/load/route-de0b0e689b74bc54.js +0 -1
  863. package/app/.next/static/chunks/app/api/translator/save/route-de0b0e689b74bc54.js +0 -1
  864. package/app/.next/static/chunks/app/api/translator/send/route-de0b0e689b74bc54.js +0 -1
  865. package/app/.next/static/chunks/app/api/translator/translate/route-de0b0e689b74bc54.js +0 -1
  866. package/app/.next/static/chunks/app/api/tunnel/disable/route-de0b0e689b74bc54.js +0 -1
  867. package/app/.next/static/chunks/app/api/tunnel/enable/route-de0b0e689b74bc54.js +0 -1
  868. package/app/.next/static/chunks/app/api/tunnel/status/route-de0b0e689b74bc54.js +0 -1
  869. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-de0b0e689b74bc54.js +0 -1
  870. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-de0b0e689b74bc54.js +0 -1
  871. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-de0b0e689b74bc54.js +0 -1
  872. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-de0b0e689b74bc54.js +0 -1
  873. package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-de0b0e689b74bc54.js +0 -1
  874. package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-de0b0e689b74bc54.js +0 -1
  875. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-de0b0e689b74bc54.js +0 -1
  876. package/app/.next/static/chunks/app/api/usage/chart/route-de0b0e689b74bc54.js +0 -1
  877. package/app/.next/static/chunks/app/api/usage/history/route-de0b0e689b74bc54.js +0 -1
  878. package/app/.next/static/chunks/app/api/usage/logs/route-de0b0e689b74bc54.js +0 -1
  879. package/app/.next/static/chunks/app/api/usage/providers/route-de0b0e689b74bc54.js +0 -1
  880. package/app/.next/static/chunks/app/api/usage/request-details/route-de0b0e689b74bc54.js +0 -1
  881. package/app/.next/static/chunks/app/api/usage/request-logs/route-de0b0e689b74bc54.js +0 -1
  882. package/app/.next/static/chunks/app/api/usage/stats/route-de0b0e689b74bc54.js +0 -1
  883. package/app/.next/static/chunks/app/api/usage/stream/route-de0b0e689b74bc54.js +0 -1
  884. package/app/.next/static/chunks/app/api/v1/api/chat/route-de0b0e689b74bc54.js +0 -1
  885. package/app/.next/static/chunks/app/api/v1/audio/speech/route-de0b0e689b74bc54.js +0 -1
  886. package/app/.next/static/chunks/app/api/v1/chat/completions/route-de0b0e689b74bc54.js +0 -1
  887. package/app/.next/static/chunks/app/api/v1/embeddings/route-de0b0e689b74bc54.js +0 -1
  888. package/app/.next/static/chunks/app/api/v1/images/generations/route-de0b0e689b74bc54.js +0 -1
  889. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-de0b0e689b74bc54.js +0 -1
  890. package/app/.next/static/chunks/app/api/v1/messages/route-de0b0e689b74bc54.js +0 -1
  891. package/app/.next/static/chunks/app/api/v1/models/route-de0b0e689b74bc54.js +0 -1
  892. package/app/.next/static/chunks/app/api/v1/responses/compact/route-de0b0e689b74bc54.js +0 -1
  893. package/app/.next/static/chunks/app/api/v1/responses/route-de0b0e689b74bc54.js +0 -1
  894. package/app/.next/static/chunks/app/api/v1/route-de0b0e689b74bc54.js +0 -1
  895. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-de0b0e689b74bc54.js +0 -1
  896. package/app/.next/static/chunks/app/api/v1beta/models/route-de0b0e689b74bc54.js +0 -1
  897. package/app/.next/static/chunks/app/api/version/route-de0b0e689b74bc54.js +0 -1
  898. package/app/.next/static/chunks/app/api/version/update/route-de0b0e689b74bc54.js +0 -1
  899. package/app/.next/static/chunks/app/login/page-4cbcd0b23f8d9304.js +0 -1
  900. package/app/.next/static/chunks/app/manifest.webmanifest/route-de0b0e689b74bc54.js +0 -1
  901. package/app/.next/static/chunks/app/page-de0b0e689b74bc54.js +0 -1
  902. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-de0b0e689b74bc54.js +0 -1
  903. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-de0b0e689b74bc54.js +0 -1
  904. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-de0b0e689b74bc54.js +0 -1
  905. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-de0b0e689b74bc54.js +0 -1
  906. package/app/.next/static/chunks/webpack-7fe9f68a976b08ff.js +0 -1
  907. package/app/.next/static/css/d663c02ecd9b71d6.css +0 -1
  908. /package/app/.next/static/{GWqgJg45jqUgh4iLz365f → kSw7ik2y0Lphlofn8QbuF}/_ssgManifest.js +0 -0
package/README.md CHANGED
@@ -1,1210 +1,394 @@
1
- <div align="center">
2
- <img src="./images/9router.png?1" alt="openrouterx Dashboard" width="800"/>
3
-
4
- # openrouterx - Free AI Router
5
-
6
- **Never stop coding. Auto-route to FREE & cheap AI models with smart fallback.**
7
-
8
- **Connect All AI Code Tools (Claude Code, Cursor, Antigravity, Copilot, Codex, Gemini, OpenCode, Cline, OpenClaw...) to 40+ AI Providers & 100+ Models.**
9
-
10
- [![npm](https://img.shields.io/npm/v/9router.svg)](https://www.npmjs.com/package/9router)
11
- [![Downloads](https://img.shields.io/npm/dm/9router.svg)](https://www.npmjs.com/package/9router)
12
- [![License](https://img.shields.io/npm/l/9router.svg)](https://github.com/decolua/9router/blob/main/LICENSE)
13
-
14
- [🚀 Quick Start](#-quick-start) • [💡 Features](#-key-features) • [📖 Setup](#-setup-guide) • [🌐 Website](https://9router.com)
1
+ # openrouterX
15
2
 
16
- [🇻🇳 Tiếng Việt](./i18n/README.vi.md) • [🇨🇳 中文](./i18n/README.zh-CN.md) • [🇯🇵 日本語](./i18n/README.ja-JP.md)
17
- </div>
3
+ 面向 AI 编码工具的本地统一路由服务。
18
4
 
19
- ---
5
+ `openrouterX` 可以把 Claude Code、Codex、Cursor、OpenCode、OpenClaw、Cline、Continue、Roo 等客户端统一接到一个本地 OpenAI-compatible 接口,并提供 Dashboard、模型路由、API Key 管理、Usage 分析、组合模型与自动 fallback。
20
6
 
21
- ## 🤔 Why openrouterx?
7
+ ## 为什么用 openrouterX
22
8
 
23
- **Stop wasting money and hitting limits:**
9
+ - 统一本地接口:`http://localhost:20128/v1`
10
+ - 统一管理后台:`http://localhost:20128/dashboard`
11
+ - 同时接入订阅型供应商、API Key 供应商、免费供应商
12
+ - 支持组合模型与自动 fallback
13
+ - 内置 `RTK`,适合 `git diff`、`grep`、日志等重工具调用场景
14
+ - 支持管理员创建子用户,并精细限制子用户可用供应商与 API Key
24
15
 
25
- - ❌ Subscription quota expires unused every month
26
- - ❌ Rate limits stop you mid-coding
27
- - ❌ Expensive APIs ($20-50/month per provider)
28
- - ❌ Manual switching between providers
16
+ ## 安装
29
17
 
30
- **openrouterx solves this:**
31
-
32
- - ✅ **Maximize subscriptions** - Track quota, use every bit before reset
33
- - ✅ **Auto fallback** - Subscription → Cheap → Free, zero downtime
34
- - ✅ **Multi-account** - Round-robin between accounts per provider
35
- - ✅ **Universal** - Works with Claude Code, Codex, Gemini CLI, Cursor, Cline, any CLI tool
36
-
37
- ---
38
-
39
- ## 🔄 How It Works
40
-
41
- ```
42
- ┌─────────────┐
43
- │ Your CLI │ (Claude Code, Codex, Gemini CLI, OpenClaw, Cursor, Cline...)
44
- │ Tool │
45
- └──────┬──────┘
46
- │ http://localhost:20128/v1
47
-
48
- ┌─────────────────────────────────────────┐
49
- │ 9Router (Smart Router) │
50
- │ • Format translation (OpenAI ↔ Claude) │
51
- │ • Quota tracking │
52
- │ • Auto token refresh │
53
- └──────┬──────────────────────────────────┘
54
-
55
- ├─→ [Tier 1: SUBSCRIPTION] Claude Code, Codex, Gemini CLI
56
- │ ↓ quota exhausted
57
- ├─→ [Tier 2: CHEAP] GLM ($0.6/1M), MiniMax ($0.2/1M)
58
- │ ↓ budget limit
59
- └─→ [Tier 3: FREE] iFlow, Qwen, Kiro (unlimited)
60
-
61
- Result: Never stop coding, minimal cost
62
- ```
63
-
64
- ---
65
-
66
- ## ⚡ Quick Start
67
-
68
- **1. Install globally:**
18
+ npm 全局安装:
69
19
 
70
20
  ```bash
71
- npm install -g 9router
72
- 9router
21
+ npm install -g @yina-npm/openrouterx
22
+ openrouterX
73
23
  ```
74
24
 
75
- 🎉 Dashboard opens at `http://localhost:20128`
76
-
77
- **2. Connect a FREE provider (no signup needed):**
25
+ 启动后默认地址:
78
26
 
79
- Dashboard → Providers → Connect **Claude Code** or **Antigravity** → OAuth login → Done!
27
+ - Dashboard:`http://localhost:20128/dashboard`
28
+ - OpenAI-compatible API:`http://localhost:20128/v1`
80
29
 
81
- **3. Use in your CLI tool:**
82
-
83
- ```
84
- Claude Code/Codex/Gemini CLI/OpenClaw/Cursor/Cline Settings:
85
- Endpoint: http://localhost:20128/v1
86
- API Key: [copy from dashboard]
87
- Model: if/kimi-k2-thinking
88
- ```
30
+ ## 快速开始
89
31
 
90
- **That's it!** Start coding with FREE AI models.
91
-
92
- **Alternative: run from source (this repository):**
93
-
94
- This repository package is private (`9router-app`), so source/Docker execution is the expected local development path.
95
-
96
- ```bash
97
- cp .env.example .env
98
- npm install
99
- PORT=20128 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run dev
100
- ```
101
-
102
- Production mode:
32
+ ### 1. 启动本地服务
103
33
 
104
34
  ```bash
105
- npm run build
106
- PORT=20128 HOSTNAME=0.0.0.0 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run start
35
+ openrouterX
107
36
  ```
108
37
 
109
- Default URLs:
110
- - Dashboard: `http://localhost:20128/dashboard`
111
- - OpenAI-compatible API: `http://localhost:20128/v1`
112
-
113
- ---
114
-
115
- ## 🎥 Video Tutorial
116
-
117
- <div align="center">
118
-
119
- ### 📺 Complete Setup Guide - 9Router + Claude Code FREE
120
-
121
- [![9Router + Claude Code Setup](https://img.youtube.com/vi/raEyZPg5xE0/maxresdefault.jpg)](https://www.youtube.com/watch?v=raEyZPg5xE0)
122
-
123
- **🎬 Watch the complete step-by-step tutorial:**
124
- - ✅ 9Router installation & setup
125
- - ✅ FREE Claude Sonnet 4.5 configuration
126
- - ✅ Claude Code integration
127
- - ✅ Live coding demonstration
128
-
129
- **⏱️ Duration:** 20 minutes | **👥 By:** Developer Community
130
-
131
- [▶️ Watch on YouTube](https://www.youtube.com/watch?v=o3qYCyjrFYg)
132
-
133
- </div>
134
-
135
- ---
136
-
137
- ## 🛠️ Supported CLI Tools
138
-
139
- 9Router works seamlessly with all major AI coding tools:
140
-
141
- <div align="center">
142
- <table>
143
- <tr>
144
- <td align="center" width="120">
145
- <img src="./public/providers/claude.png" width="60" alt="Claude Code"/><br/>
146
- <b>Claude-Code</b>
147
- </td>
148
- <td align="center" width="120">
149
- <img src="./public/providers/openclaw.png" width="60" alt="OpenClaw"/><br/>
150
- <b>OpenClaw</b>
151
- </td>
152
- <td align="center" width="120">
153
- <img src="./public/providers/codex.png" width="60" alt="Codex"/><br/>
154
- <b>Codex</b>
155
- </td>
156
- <td align="center" width="120">
157
- <img src="./public/providers/opencode.png" width="60" alt="OpenCode"/><br/>
158
- <b>OpenCode</b>
159
- </td>
160
- <td align="center" width="120">
161
- <img src="./public/providers/cursor.png" width="60" alt="Cursor"/><br/>
162
- <b>Cursor</b>
163
- </td>
164
- <td align="center" width="120">
165
- <img src="./public/providers/antigravity.png" width="60" alt="Antigravity"/><br/>
166
- <b>Antigravity</b>
167
- </td>
168
- </tr>
169
- <tr>
170
- <td align="center" width="120">
171
- <img src="./public/providers/cline.png" width="60" alt="Cline"/><br/>
172
- <b>Cline</b>
173
- </td>
174
- <td align="center" width="120">
175
- <img src="./public/providers/continue.png" width="60" alt="Continue"/><br/>
176
- <b>Continue</b>
177
- </td>
178
- <td align="center" width="120">
179
- <img src="./public/providers/droid.png" width="60" alt="Droid"/><br/>
180
- <b>Droid</b>
181
- </td>
182
- <td align="center" width="120">
183
- <img src="./public/providers/roo.png" width="60" alt="Roo"/><br/>
184
- <b>Roo</b>
185
- </td>
186
- <td align="center" width="120">
187
- <img src="./public/providers/copilot.png" width="60" alt="Copilot"/><br/>
188
- <b>Copilot</b>
189
- </td>
190
- <td align="center" width="120">
191
- <img src="./public/providers/kilocode.png" width="60" alt="Kilo Code"/><br/>
192
- <b>Kilo Code</b>
193
- </td>
194
- </tr>
195
- </table>
196
- </div>
197
-
198
- ---
199
-
200
- ## 🌐 Supported Providers
201
-
202
- ### 🔐 OAuth Providers
203
-
204
- <div align="center">
205
- <table>
206
- <tr>
207
- <td align="center" width="120">
208
- <img src="./public/providers/claude.png" width="60" alt="Claude Code"/><br/>
209
- <b>Claude-Code</b>
210
- </td>
211
- <td align="center" width="120">
212
- <img src="./public/providers/antigravity.png" width="60" alt="Antigravity"/><br/>
213
- <b>Antigravity</b>
214
- </td>
215
- <td align="center" width="120">
216
- <img src="./public/providers/codex.png" width="60" alt="Codex"/><br/>
217
- <b>Codex</b>
218
- </td>
219
- <td align="center" width="120">
220
- <img src="./public/providers/github.png" width="60" alt="GitHub"/><br/>
221
- <b>GitHub</b>
222
- </td>
223
- <td align="center" width="120">
224
- <img src="./public/providers/cursor.png" width="60" alt="Cursor"/><br/>
225
- <b>Cursor</b>
226
- </td>
227
- </tr>
228
- </table>
229
- </div>
230
-
231
- ### 🆓 Free Providers
232
-
233
- <div align="center">
234
- <table>
235
- <tr>
236
- <td align="center" width="150">
237
- <img src="./public/providers/iflow.png" width="70" alt="iFlow"/><br/>
238
- <b>iFlow AI</b><br/>
239
- <sub>8+ models • Unlimited</sub>
240
- </td>
241
- <td align="center" width="150">
242
- <img src="./public/providers/qwen.png" width="70" alt="Qwen"/><br/>
243
- <b>Qwen Code</b><br/>
244
- <sub>3+ models • Unlimited</sub>
245
- </td>
246
- <td align="center" width="150">
247
- <img src="./public/providers/gemini-cli.png" width="70" alt="Gemini CLI"/><br/>
248
- <b>Gemini CLI</b><br/>
249
- <sub>180K/month FREE</sub>
250
- </td>
251
- <td align="center" width="150">
252
- <img src="./public/providers/kiro.png" width="70" alt="Kiro"/><br/>
253
- <b>Kiro AI</b><br/>
254
- <sub>Claude • Unlimited</sub>
255
- </td>
256
- </tr>
257
- </table>
258
- </div>
259
-
260
- ### 🔑 API Key Providers (40+)
261
-
262
- <div align="center">
263
- <table>
264
- <tr>
265
- <td align="center" width="100">
266
- <img src="./public/providers/openrouter.png" width="50" alt="OpenRouter"/><br/>
267
- <sub>OpenRouter</sub>
268
- </td>
269
- <td align="center" width="100">
270
- <img src="./public/providers/glm.png" width="50" alt="GLM"/><br/>
271
- <sub>GLM</sub>
272
- </td>
273
- <td align="center" width="100">
274
- <img src="./public/providers/kimi.png" width="50" alt="Kimi"/><br/>
275
- <sub>Kimi</sub>
276
- </td>
277
- <td align="center" width="100">
278
- <img src="./public/providers/minimax.png" width="50" alt="MiniMax"/><br/>
279
- <sub>MiniMax</sub>
280
- </td>
281
- <td align="center" width="100">
282
- <img src="./public/providers/openai.png" width="50" alt="OpenAI"/><br/>
283
- <sub>OpenAI</sub>
284
- </td>
285
- <td align="center" width="100">
286
- <img src="./public/providers/anthropic.png" width="50" alt="Anthropic"/><br/>
287
- <sub>Anthropic</sub>
288
- </td>
289
- </tr>
290
- <tr>
291
- <td align="center" width="100">
292
- <img src="./public/providers/gemini.png" width="50" alt="Gemini"/><br/>
293
- <sub>Gemini</sub>
294
- </td>
295
- <td align="center" width="100">
296
- <img src="./public/providers/deepseek.png" width="50" alt="DeepSeek"/><br/>
297
- <sub>DeepSeek</sub>
298
- </td>
299
- <td align="center" width="100">
300
- <img src="./public/providers/groq.png" width="50" alt="Groq"/><br/>
301
- <sub>Groq</sub>
302
- </td>
303
- <td align="center" width="100">
304
- <img src="./public/providers/xai.png" width="50" alt="xAI"/><br/>
305
- <sub>xAI</sub>
306
- </td>
307
- <td align="center" width="100">
308
- <img src="./public/providers/mistral.png" width="50" alt="Mistral"/><br/>
309
- <sub>Mistral</sub>
310
- </td>
311
- <td align="center" width="100">
312
- <img src="./public/providers/perplexity.png" width="50" alt="Perplexity"/><br/>
313
- <sub>Perplexity</sub>
314
- </td>
315
- </tr>
316
- <tr>
317
- <td align="center" width="100">
318
- <img src="./public/providers/together.png" width="50" alt="Together"/><br/>
319
- <sub>Together AI</sub>
320
- </td>
321
- <td align="center" width="100">
322
- <img src="./public/providers/fireworks.png" width="50" alt="Fireworks"/><br/>
323
- <sub>Fireworks</sub>
324
- </td>
325
- <td align="center" width="100">
326
- <img src="./public/providers/cerebras.png" width="50" alt="Cerebras"/><br/>
327
- <sub>Cerebras</sub>
328
- </td>
329
- <td align="center" width="100">
330
- <img src="./public/providers/cohere.png" width="50" alt="Cohere"/><br/>
331
- <sub>Cohere</sub>
332
- </td>
333
- <td align="center" width="100">
334
- <img src="./public/providers/nvidia.png" width="50" alt="NVIDIA"/><br/>
335
- <sub>NVIDIA</sub>
336
- </td>
337
- <td align="center" width="100">
338
- <img src="./public/providers/siliconflow.png" width="50" alt="SiliconFlow"/><br/>
339
- <sub>SiliconFlow</sub>
340
- </td>
341
- </tr>
342
- </table>
343
- <p><i>...and 20+ more providers including Nebius, Chutes, Hyperbolic, and custom OpenAI/Anthropic compatible endpoints</i></p>
344
- </div>
345
-
346
- ---
347
-
348
- ## 💡 Key Features
349
-
350
- | Feature | What It Does | Why It Matters |
351
- |---------|--------------|----------------|
352
- | 🎯 **Smart 3-Tier Fallback** | Auto-route: Subscription → Cheap → Free | Never stop coding, zero downtime |
353
- | 📊 **Real-Time Quota Tracking** | Live token count + reset countdown | Maximize subscription value |
354
- | 🔄 **Format Translation** | OpenAI ↔ Claude ↔ Gemini seamless | Works with any CLI tool |
355
- | 👥 **Multi-Account Support** | Multiple accounts per provider | Load balancing + redundancy |
356
- | 🔄 **Auto Token Refresh** | OAuth tokens refresh automatically | No manual re-login needed |
357
- | 🎨 **Custom Combos** | Create unlimited model combinations | Tailor fallback to your needs |
358
- | 📝 **Request Logging** | Debug mode with full request/response logs | Troubleshoot issues easily |
359
- | 💾 **Cloud Sync** | Sync config across devices | Same setup everywhere |
360
- | 📊 **Usage Analytics** | Track tokens, cost, trends over time | Optimize spending |
361
- | 🌐 **Deploy Anywhere** | Localhost, VPS, Docker, Cloudflare Workers | Flexible deployment options |
362
-
363
- <details>
364
- <summary><b>📖 Feature Details</b></summary>
365
-
366
- ### 🎯 Smart 3-Tier Fallback
367
-
368
- Create combos with automatic fallback:
369
-
370
- ```
371
- Combo: "my-coding-stack"
372
- 1. cc/claude-opus-4-6 (your subscription)
373
- 2. glm/glm-4.7 (cheap backup, $0.6/1M)
374
- 3. if/kimi-k2-thinking (free fallback)
38
+ 登录页默认在:
375
39
 
376
- → Auto switches when quota runs out or errors occur
40
+ ```txt
41
+ http://localhost:20128/login
377
42
  ```
378
43
 
379
- ### 📊 Real-Time Quota Tracking
380
-
381
- - Token consumption per provider
382
- - Reset countdown (5-hour, daily, weekly)
383
- - Cost estimation for paid tiers
384
- - Monthly spending reports
385
-
386
- ### 🔄 Format Translation
387
-
388
- Seamless translation between formats:
389
- - **OpenAI** ↔ **Claude** ↔ **Gemini** ↔ **OpenAI Responses**
390
- - Your CLI tool sends OpenAI format → 9Router translates → Provider receives native format
391
- - Works with any tool that supports custom OpenAI endpoints
392
-
393
- ### 👥 Multi-Account Support
394
-
395
- - Add multiple accounts per provider
396
- - Auto round-robin or priority-based routing
397
- - Fallback to next account when one hits quota
398
-
399
- ### 🔄 Auto Token Refresh
400
-
401
- - OAuth tokens automatically refresh before expiration
402
- - No manual re-authentication needed
403
- - Seamless experience across all providers
404
-
405
- ### 🎨 Custom Combos
406
-
407
- - Create unlimited model combinations
408
- - Mix subscription, cheap, and free tiers
409
- - Name your combos for easy access
410
- - Share combos across devices with Cloud Sync
411
-
412
- ### 📝 Request Logging
413
-
414
- - Enable debug mode for full request/response logs
415
- - Track API calls, headers, and payloads
416
- - Troubleshoot integration issues
417
- - Export logs for analysis
418
-
419
- ### 💾 Cloud Sync
420
-
421
- - Sync providers, combos, and settings across devices
422
- - Automatic background sync
423
- - Secure encrypted storage
424
- - Access your setup from anywhere
425
-
426
- #### Cloud Runtime Notes
427
-
428
- - Prefer server-side cloud variables in production:
429
- - `BASE_URL` (internal callback URL used by sync scheduler)
430
- - `CLOUD_URL` (cloud sync endpoint base)
431
- - `NEXT_PUBLIC_BASE_URL` and `NEXT_PUBLIC_CLOUD_URL` are still supported for compatibility/UI, but server runtime now prioritizes `BASE_URL`/`CLOUD_URL`.
432
- - Cloud sync requests now use timeout + fail-fast behavior to avoid UI hanging when cloud DNS/network is unavailable.
433
-
434
- ### 📊 Usage Analytics
435
-
436
- - Track token usage per provider and model
437
- - Cost estimation and spending trends
438
- - Monthly reports and insights
439
- - Optimize your AI spending
440
-
441
- > **💡 IMPORTANT - Understanding Dashboard Costs:**
442
- >
443
- > The "cost" displayed in Usage Analytics is **for tracking and comparison purposes only**.
444
- > 9Router itself **never charges** you anything. You only pay providers directly (if using paid services).
445
- >
446
- > **Example:** If your dashboard shows "$290 total cost" while using iFlow models, this represents
447
- > what you would have paid using paid APIs directly. Your actual cost = **$0** (iFlow is free unlimited).
448
- >
449
- > Think of it as a "savings tracker" showing how much you're saving by using free models or
450
- > routing through 9Router!
451
-
452
- ### 🌐 Deploy Anywhere
453
-
454
- - 💻 **Localhost** - Default, works offline
455
- - ☁️ **VPS/Cloud** - Share across devices
456
- - 🐳 **Docker** - One-command deployment
457
- - 🚀 **Cloudflare Workers** - Global edge network
458
-
459
- </details>
460
-
461
- ---
462
-
463
- ## 💰 Pricing at a Glance
464
-
465
- | Tier | Provider | Cost | Quota Reset | Best For |
466
- |------|----------|------|-------------|----------|
467
- | **💳 SUBSCRIPTION** | Claude Code (Pro) | $20/mo | 5h + weekly | Already subscribed |
468
- | | Codex (Plus/Pro) | $20-200/mo | 5h + weekly | OpenAI users |
469
- | | Gemini CLI | **FREE** | 180K/mo + 1K/day | Everyone! |
470
- | | GitHub Copilot | $10-19/mo | Monthly | GitHub users |
471
- | **💰 CHEAP** | GLM-4.7 | $0.6/1M | Daily 10AM | Budget backup |
472
- | | MiniMax M2.1 | $0.2/1M | 5-hour rolling | Cheapest option |
473
- | | Kimi K2 | $9/mo flat | 10M tokens/mo | Predictable cost |
474
- | **🆓 FREE** | iFlow | $0 | Unlimited | 8 models free |
475
- | | Qwen | $0 | Unlimited | 3 models free |
476
- | | Kiro | $0 | Unlimited | Claude free |
44
+ ### 2. 登录
477
45
 
478
- **💡 Pro Tip:** Start with Gemini CLI (180K free/month) + iFlow (unlimited free) combo = $0 cost!
46
+ - `Super Admin`:完整管理权限
47
+ - `Sub User`:受限使用权限,适合团队成员或子账号
479
48
 
480
- ---
49
+ ### 3. 连接供应商
481
50
 
482
- ### 📊 Understanding 9Router Costs & Billing
51
+ 进入 Dashboard 后可以接入:
483
52
 
484
- **9Router Billing Reality:**
53
+ - 订阅型供应商:Claude Code、Codex、Copilot、Cursor
54
+ - API Key 供应商:OpenAI、Anthropic、OpenRouter、GLM、Gemini、DeepSeek、Groq、Mistral、MiniMax、Kimi 等
55
+ - 免费或低成本供应商:Kiro、OpenCode Free、Vertex AI
485
56
 
486
- **9Router software = FREE forever** (open source, never charges)
487
- ✅ **Dashboard "costs" = Display/tracking only** (not actual bills)
488
- ✅ **You pay providers directly** (subscriptions or API fees)
489
- ✅ **FREE providers stay FREE** (iFlow, Kiro, Qwen = $0 unlimited)
490
- ❌ **9Router never sends invoices** or charges your card
57
+ ### 4. 创建或复制 API Key
491
58
 
492
- **How Cost Display Works:**
59
+ Dashboard 中创建 API Key,然后把它配置到你的编码工具里。
493
60
 
494
- The dashboard shows **estimated costs** as if you were using paid APIs directly. This is **not billing** - it's a comparison tool to show your savings.
61
+ ### 5. 把工具接到 openrouterX
495
62
 
496
- **Example Scenario:**
497
- ```
498
- Dashboard Display:
499
- • Total Requests: 1,662
500
- • Total Tokens: 47M
501
- • Display Cost: $290
502
-
503
- Reality Check:
504
- • Provider: iFlow (FREE unlimited)
505
- • Actual Payment: $0.00
506
- • What $290 Means: Amount you SAVED by using free models!
507
- ```
508
-
509
- **Payment Rules:**
510
- - **Subscription providers** (Claude Code, Codex): Pay them directly via their websites
511
- - **Cheap providers** (GLM, MiniMax): Pay them directly, 9Router just routes
512
- - **FREE providers** (iFlow, Kiro, Qwen): Genuinely free forever, no hidden charges
513
- - **9Router**: Never charges anything, ever
514
-
515
- ---
516
-
517
- ## 🎯 Use Cases
518
-
519
- ### Case 1: "I have Claude Pro subscription"
520
-
521
- **Problem:** Quota expires unused, rate limits during heavy coding
522
-
523
- **Solution:**
524
- ```
525
- Combo: "maximize-claude"
526
- 1. cc/claude-opus-4-6 (use subscription fully)
527
- 2. glm/glm-4.7 (cheap backup when quota out)
528
- 3. if/kimi-k2-thinking (free emergency fallback)
529
-
530
- Monthly cost: $20 (subscription) + ~$5 (backup) = $25 total
531
- vs. $20 + hitting limits = frustration
532
- ```
533
-
534
- ### Case 2: "I want zero cost"
535
-
536
- **Problem:** Can't afford subscriptions, need reliable AI coding
537
-
538
- **Solution:**
63
+ ```txt
64
+ Base URL: http://localhost:20128/v1
65
+ API Key: 你的 Dashboard API Key
66
+ Model: 任意可用模型或 combo
539
67
  ```
540
- Combo: "free-forever"
541
- 1. gc/gemini-3-flash (180K free/month)
542
- 2. if/kimi-k2-thinking (unlimited free)
543
- 3. qw/qwen3-coder-plus (unlimited free)
544
68
 
545
- Monthly cost: $0
546
- Quality: Production-ready models
547
- ```
69
+ ## 工作方式
548
70
 
549
- ### Case 3: "I need 24/7 coding, no interruptions"
71
+ ```txt
72
+ 你的工具
73
+ -> Claude Code / Codex / Cursor / OpenCode / OpenClaw / Cline / Continue
550
74
 
551
- **Problem:** Deadlines, can't afford downtime
75
+ openrouterX
76
+ -> 本地 OpenAI-compatible 接口
77
+ -> 请求格式适配
78
+ -> 模型路由与 fallback
79
+ -> 配额感知切换
80
+ -> Usage 统计
81
+ -> API Key 与子用户隔离
552
82
 
553
- **Solution:**
554
- ```
555
- Combo: "always-on"
556
- 1. cc/claude-opus-4-6 (best quality)
557
- 2. cx/gpt-5.2-codex (second subscription)
558
- 3. glm/glm-4.7 (cheap, resets daily)
559
- 4. minimax/MiniMax-M2.1 (cheapest, 5h reset)
560
- 5. if/kimi-k2-thinking (free unlimited)
561
-
562
- Result: 5 layers of fallback = zero downtime
563
- Monthly cost: $20-200 (subscriptions) + $10-20 (backup)
83
+ 上游供应商
84
+ -> 订阅账号
85
+ -> API Key 供应商
86
+ -> 免费供应商
564
87
  ```
565
88
 
566
- ### Case 4: "I want FREE AI in OpenClaw"
89
+ ## 核心能力
567
90
 
568
- **Problem:** Need AI assistant in messaging apps (WhatsApp, Telegram, Slack...), completely free
91
+ ### 统一本地接口
569
92
 
570
- **Solution:**
571
- ```
572
- Combo: "openclaw-free"
573
- 1. if/glm-4.7 (unlimited free)
574
- 2. if/minimax-m2.1 (unlimited free)
575
- 3. if/kimi-k2-thinking (unlimited free)
93
+ 多个工具共享同一个本地入口:
576
94
 
577
- Monthly cost: $0
578
- Access via: WhatsApp, Telegram, Slack, Discord, iMessage, Signal...
95
+ ```txt
96
+ http://localhost:20128/v1
579
97
  ```
580
98
 
581
- ---
582
-
583
- ## ❓ Frequently Asked Questions
584
-
585
- <details>
586
- <summary><b>📊 Why does my dashboard show high costs?</b></summary>
587
-
588
- The dashboard tracks your token usage and displays **estimated costs** as if you were using paid APIs directly. This is **not actual billing** - it's a reference to show how much you're saving by using free models or existing subscriptions through 9Router.
589
-
590
- **Example:**
591
- - **Dashboard shows:** "$290 total cost"
592
- - **Reality:** You're using iFlow (FREE unlimited)
593
- - **Your actual cost:** **$0.00**
594
- - **What $290 means:** Amount you **saved** by using free models instead of paid APIs!
595
-
596
- The cost display is a "savings tracker" to help you understand your usage patterns and optimization opportunities.
597
-
598
- </details>
599
-
600
- <details>
601
- <summary><b>💳 Will I be charged by 9Router?</b></summary>
99
+ ### Dashboard 驱动配置
602
100
 
603
- **No.** 9Router is free, open-source software that runs on your own computer. It never charges you anything.
101
+ Dashboard 可以完成:
604
102
 
605
- **You only pay:**
606
- - **Subscription providers** (Claude Code $20/mo, Codex $20-200/mo) → Pay them directly on their websites
607
- - ✅ **Cheap providers** (GLM, MiniMax) → Pay them directly, 9Router just routes your requests
608
- - **9Router itself** → **Never charges anything, ever**
103
+ - 连接供应商
104
+ - 创建 API Key
105
+ - 测试模型
106
+ - 配置 combo
107
+ - 查看 Usage 和请求明细
108
+ - 生成各类 CLI Tools 的手动配置
609
109
 
610
- 9Router is a local proxy/router. It doesn't have your credit card, can't send invoices, and has no billing system. It's completely free software.
110
+ ### RTK Token Saver
611
111
 
612
- </details>
112
+ `RTK` 会在请求发送到上游模型前,对冗长的工具输出进行压缩,尤其适合:
613
113
 
614
- <details>
615
- <summary><b>🆓 Are FREE providers really unlimited?</b></summary>
114
+ - `git diff`
115
+ - `grep`
116
+ - `ls`
117
+ - 构建日志
118
+ - 长文本工具输出
616
119
 
617
- **Yes!** Providers marked as FREE (iFlow, Kiro, Qwen) are genuinely unlimited with **no hidden charges**.
120
+ ### Combo 与自动 fallback
618
121
 
619
- These are free services offered by those respective companies:
620
- - **iFlow**: Free unlimited access to 8+ models via OAuth
621
- - **Kiro**: Free unlimited Claude models via AWS Builder ID
622
- - **Qwen**: Free unlimited access to Qwen models via device auth
122
+ 你可以创建一个命名 combo,让多个模型串联:
623
123
 
624
- 9Router just routes your requests to them - there's no "catch" or future billing. They're truly free services, and 9Router makes them easy to use with fallback support.
625
-
626
- **Note:** Some subscription providers (Antigravity, GitHub Copilot) may have free preview periods that could become paid later, but this would be clearly announced by those providers, not 9Router.
627
-
628
- </details>
629
-
630
- <details>
631
- <summary><b>💰 How do I minimize my actual AI costs?</b></summary>
632
-
633
- **Free-First Strategy:**
634
-
635
- 1. **Start with 100% free combo:**
636
- ```
637
- 1. gc/gemini-3-flash (180K/month free from Google)
638
- 2. if/kimi-k2-thinking (unlimited free from iFlow)
639
- 3. qw/qwen3-coder-plus (unlimited free from Qwen)
640
- ```
641
- **Cost: $0/month**
642
-
643
- 2. **Add cheap backup** only if you need it:
644
- ```
645
- 4. glm/glm-4.7 ($0.6/1M tokens)
646
- ```
647
- **Additional cost: Only pay for what you actually use**
648
-
649
- 3. **Use subscription providers last:**
650
- - Only if you already have them
651
- - 9Router helps maximize their value through quota tracking
652
-
653
- **Result:** Most users can operate at $0/month using only free tiers!
654
-
655
- </details>
656
-
657
- <details>
658
- <summary><b>📈 What if my usage suddenly spikes?</b></summary>
659
-
660
- 9Router's smart fallback prevents surprise charges:
661
-
662
- **Scenario:** You're on a coding sprint and blow through your quotas
663
-
664
- **Without 9Router:**
665
- - ❌ Hit rate limit → Work stops → Frustration
666
- - ❌ Or: Accidentally rack up huge API bills
667
-
668
- **With 9Router:**
669
- - ✅ Subscription hits limit → Auto-fallback to cheap tier
670
- - ✅ Cheap tier gets expensive → Auto-fallback to free tier
671
- - ✅ Never stop coding → Predictable costs
672
-
673
- **You're in control:** Set spending limits per provider in dashboard, and 9Router respects them.
674
-
675
- </details>
676
-
677
- ---
678
-
679
- ## 📖 Setup Guide
680
-
681
- <details>
682
- <summary><b>🔐 Subscription Providers (Maximize Value)</b></summary>
683
-
684
- ### Claude Code (Pro/Max)
685
-
686
- ```bash
687
- Dashboard → Providers → Connect Claude Code
688
- → OAuth login → Auto token refresh
689
- → 5-hour + weekly quota tracking
690
-
691
- Models:
692
- cc/claude-opus-4-6
693
- cc/claude-sonnet-4-5-20250929
694
- cc/claude-haiku-4-5-20251001
124
+ ```txt
125
+ premium-coding
126
+ 1. cc/claude-opus
127
+ 2. glm/glm-5
128
+ 3. kr/claude-sonnet-4.5
695
129
  ```
696
130
 
697
- **Pro Tip:** Use Opus for complex tasks, Sonnet for speed. 9Router tracks quota per model!
131
+ 主模型不可用时,可以自动切到后备模型。
698
132
 
699
- ### OpenAI Codex (Plus/Pro)
133
+ ### 子用户权限隔离
700
134
 
701
- ```bash
702
- Dashboard → Providers → Connect Codex
703
- → OAuth login (port 1455)
704
- → 5-hour + weekly reset
135
+ 管理员可以为子用户单独控制:
705
136
 
706
- Models:
707
- cx/gpt-5.2-codex
708
- cx/gpt-5.1-codex-max
709
- ```
137
+ - 可使用哪些供应商
138
+ - 可见哪些 API Key
139
+ - Usage 是否只看自己的数据
140
+ - 是否仅能查看 `CLI Tools` 手动配置,而不能修改本地工具设置
710
141
 
711
- ### Gemini CLI (FREE 180K/month!)
142
+ 这适合团队共用部署、代运营账号、或敏感 API Key 隔离场景。
712
143
 
713
- ```bash
714
- Dashboard → Providers → Connect Gemini CLI
715
- → Google OAuth
716
- → 180K completions/month + 1K/day
144
+ ### 团队共享网关
717
145
 
718
- Models:
719
- gc/gemini-3-flash-preview
720
- gc/gemini-2.5-pro
721
- ```
146
+ `openrouterX` 不只是单人使用工具,也可以作为团队内部统一网关:
722
147
 
723
- **Best Value:** Huge free tier! Use this before paid tiers.
148
+ - 管理员统一管理供应商、API Key、用户、combo
149
+ - 子用户只看到分配给自己的 API Key 和允许使用的供应商
150
+ - 子用户的 Usage 页面只展示自己的调用数据
151
+ - 子用户可以在 `CLI Tools` 页面复制配置,但不会拿到完整管理权限
152
+ - 上游供应商凭证不会暴露给普通成员
724
153
 
725
- ### GitHub Copilot
154
+ ### Usage 分析
726
155
 
727
- ```bash
728
- Dashboard → Providers → Connect GitHub
729
- → OAuth via GitHub
730
- → Monthly reset (1st of month)
731
-
732
- Models:
733
- gh/gpt-5
734
- gh/claude-4.5-sonnet
735
- gh/gemini-3-pro
736
- ```
156
+ Dashboard 支持查看:
737
157
 
738
- </details>
158
+ - 请求数
159
+ - tokens
160
+ - estimated cost
161
+ - 按 API Key 的使用情况
162
+ - 请求明细
739
163
 
740
- <details>
741
- <summary><b>💰 Cheap Providers (Backup)</b></summary>
164
+ 其中成本展示主要用于统计和对比,`openrouterX` 本身不会向你收费。
742
165
 
743
- ### GLM-4.7 (Daily reset, $0.6/1M)
166
+ ## 支持的工具
744
167
 
745
- 1. Sign up: [Zhipu AI](https://open.bigmodel.cn/)
746
- 2. Get API key from Coding Plan
747
- 3. Dashboard → Add API Key:
748
- - Provider: `glm`
749
- - API Key: `your-key`
168
+ `openrouterX` 面向各类 AI 编码工具和 OpenAI-compatible 客户端,包括:
750
169
 
751
- **Use:** `glm/glm-4.7`
170
+ - Claude Code
171
+ - Codex CLI
172
+ - Cursor
173
+ - OpenCode
174
+ - OpenClaw
175
+ - Cline
176
+ - Continue
177
+ - Roo
178
+ - 兼容 Copilot 的相关流程
179
+ - 其他支持 OpenAI-compatible 接口的自定义工具
752
180
 
753
- **Pro Tip:** Coding Plan offers 3× quota at 1/7 cost! Reset daily 10:00 AM.
181
+ ## 支持的供应商类型
754
182
 
755
- ### MiniMax M2.1 (5h reset, $0.20/1M)
183
+ ### 订阅型供应商
756
184
 
757
- 1. Sign up: [MiniMax](https://www.minimax.io/)
758
- 2. Get API key
759
- 3. Dashboard → Add API Key
185
+ - Claude Code
186
+ - Codex
187
+ - GitHub Copilot
188
+ - Cursor
760
189
 
761
- **Use:** `minimax/MiniMax-M2.1`
190
+ ### API Key 供应商
762
191
 
763
- **Pro Tip:** Cheapest option for long context (1M tokens)!
192
+ - OpenAI
193
+ - Anthropic
194
+ - OpenRouter
195
+ - GLM
196
+ - Gemini
197
+ - DeepSeek
198
+ - Groq
199
+ - Mistral
200
+ - MiniMax
201
+ - Kimi
202
+ - 以及其他兼容供应商
764
203
 
765
- ### Kimi K2 ($9/month flat)
204
+ ### 免费或低成本供应商
766
205
 
767
- 1. Subscribe: [Moonshot AI](https://platform.moonshot.ai/)
768
- 2. Get API key
769
- 3. Dashboard → Add API Key
206
+ - Kiro
207
+ - OpenCode Free
208
+ - Vertex AI
770
209
 
771
- **Use:** `kimi/kimi-latest`
210
+ 实际可用性取决于上游服务当前状态和你的本地配置。
772
211
 
773
- **Pro Tip:** Fixed $9/month for 10M tokens = $0.90/1M effective cost!
212
+ ## CLI Tools 配置
774
213
 
775
- </details>
214
+ Dashboard 内置了 `CLI Tools` 页面,可以直接生成可复制的配置。
776
215
 
777
- <details>
778
- <summary><b>🆓 FREE Providers (Emergency Backup)</b></summary>
216
+ ### 通用 OpenAI-compatible 配置
779
217
 
780
- ### iFlow (8 FREE models)
781
-
782
- ```bash
783
- Dashboard → Connect iFlow
784
- → iFlow OAuth login
785
- → Unlimited usage
786
-
787
- Models:
788
- if/kimi-k2-thinking
789
- if/qwen3-coder-plus
790
- if/glm-4.7
791
- if/minimax-m2
792
- if/deepseek-r1
218
+ ```txt
219
+ Base URL: http://localhost:20128/v1
220
+ API Key: 你的 Dashboard API Key
221
+ Model: 你选择的模型或 combo
793
222
  ```
794
223
 
795
- ### Qwen (3 FREE models)
224
+ ### Codex CLI
796
225
 
797
226
  ```bash
798
- Dashboard → Connect Qwen
799
- Device code authorization
800
- → Unlimited usage
801
-
802
- Models:
803
- qw/qwen3-coder-plus
804
- qw/qwen3-coder-flash
227
+ export OPENAI_BASE_URL="http://localhost:20128/v1"
228
+ export OPENAI_API_KEY="your-dashboard-api-key"
805
229
  ```
806
230
 
807
- ### Kiro (Claude FREE)
808
-
809
- ```bash
810
- Dashboard → Connect Kiro
811
- → AWS Builder ID, AWS IAM Identity Center, Google, GitHub
812
- → Unlimited usage
813
-
814
- Models:
815
- kr/claude-sonnet-4.5
816
- kr/claude-haiku-4.5
817
- ```
818
-
819
- </details>
231
+ ### Claude Code
820
232
 
821
- <details>
822
- <summary><b>🎨 Create Combos</b></summary>
233
+ 直接使用 `CLI Tools -> Claude Code` 中生成的手动配置。
823
234
 
824
- ### Example 1: Maximize Subscription → Cheap Backup
235
+ ### OpenClaw
825
236
 
826
- ```
827
- Dashboard → Combos → Create New
237
+ 直接使用 `CLI Tools -> OpenClaw` 中生成的手动配置。
828
238
 
829
- Name: premium-coding
830
- Models:
831
- 1. cc/claude-opus-4-6 (Subscription primary)
832
- 2. glm/glm-4.7 (Cheap backup, $0.6/1M)
833
- 3. minimax/MiniMax-M2.1 (Cheapest fallback, $0.20/1M)
239
+ ### OpenCode
834
240
 
835
- Use in CLI: premium-coding
241
+ 直接使用 `CLI Tools -> OpenCode` 中生成的手动配置。
836
242
 
837
- Monthly cost example (100M tokens):
838
- 80M via Claude (subscription): $0 extra
839
- 15M via GLM: $9
840
- 5M via MiniMax: $1
841
- Total: $10 + your subscription
842
- ```
243
+ ## 管理员与子用户
843
244
 
844
- ### Example 2: Free-Only (Zero Cost)
245
+ `openrouterX` 内置两种角色:
845
246
 
846
- ```
847
- Name: free-combo
848
- Models:
849
- 1. gc/gemini-3-flash-preview (180K free/month)
850
- 2. if/kimi-k2-thinking (unlimited)
851
- 3. qw/qwen3-coder-plus (unlimited)
247
+ - `super_admin`
248
+ - `sub_user`
852
249
 
853
- Cost: $0 forever!
854
- ```
250
+ ### `super_admin`
855
251
 
856
- </details>
252
+ 可以管理:
857
253
 
858
- <details>
859
- <summary><b>🔧 CLI Integration</b></summary>
254
+ - providers
255
+ - API keys
256
+ - combos
257
+ - users
258
+ - usage analytics
259
+ - 本地工具集成配置
860
260
 
861
- ### Cursor IDE
261
+ ### `sub_user`
862
262
 
863
- ```
864
- Settings → Models → Advanced:
865
- OpenAI API Base URL: http://localhost:20128/v1
866
- OpenAI API Key: [from 9router dashboard]
867
- Model: cc/claude-opus-4-6
868
- ```
263
+ 可以被限制为:
869
264
 
870
- Or use combo: `premium-coding`
265
+ - 只能使用分配给自己的 API Key
266
+ - 只能访问被允许的供应商
267
+ - 只能查看自己的 Usage 数据
268
+ - 只显示精简版 `CLI Tools`
269
+ - 可以复制手动配置,但不能管理供应商
270
+ - 页面范围聚焦在自己的可见资源内
871
271
 
872
- ### Claude Code
272
+ 这使得一个部署可以服务多个用户,同时避免把所有供应商和凭证暴露给每个人。
873
273
 
874
- Edit `~/.claude/config.json`:
274
+ ## 本地开发
875
275
 
876
- ```json
877
- {
878
- "anthropic_api_base": "http://localhost:20128/v1",
879
- "anthropic_api_key": "your-9router-api-key"
880
- }
881
- ```
882
-
883
- ### Codex CLI
276
+ 从源码运行:
884
277
 
885
278
  ```bash
886
- export OPENAI_BASE_URL="http://localhost:20128"
887
- export OPENAI_API_KEY="your-9router-api-key"
888
-
889
- codex "your prompt"
890
- ```
891
-
892
- ### OpenClaw
893
-
894
- **Option 1 — Dashboard (recommended):**
895
-
896
- ```
897
- Dashboard → CLI Tools → OpenClaw → Select Model → Apply
898
- ```
899
-
900
- **Option 2 — Manual:** Edit `~/.openclaw/openclaw.json`:
901
-
902
- ```json
903
- {
904
- "agents": {
905
- "defaults": {
906
- "model": {
907
- "primary": "9router/if/glm-4.7"
908
- }
909
- }
910
- },
911
- "models": {
912
- "providers": {
913
- "9router": {
914
- "baseUrl": "http://127.0.0.1:20128/v1",
915
- "apiKey": "sk_9router",
916
- "api": "openai-completions",
917
- "models": [
918
- {
919
- "id": "if/glm-4.7",
920
- "name": "glm-4.7"
921
- }
922
- ]
923
- }
924
- }
925
- }
926
- }
279
+ cp .env.example .env
280
+ npm install
281
+ PORT=20128 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run dev
927
282
  ```
928
283
 
929
- > **Note:** OpenClaw only works with local 9Router. Use `127.0.0.1` instead of `localhost` to avoid IPv6 resolution issues.
930
-
931
- ### Cline / Continue / RooCode
284
+ 生产构建:
932
285
 
286
+ ```bash
287
+ npm run build
288
+ PORT=20128 HOSTNAME=0.0.0.0 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run start
933
289
  ```
934
- Provider: OpenAI Compatible
935
- Base URL: http://localhost:20128/v1
936
- API Key: [from dashboard]
937
- Model: cc/claude-opus-4-6
938
- ```
939
-
940
- </details>
941
290
 
942
- <details>
943
- <summary><b>🚀 Deployment</b></summary>
291
+ ## 部署
944
292
 
945
- ### VPS Deployment
293
+ ### PM2
946
294
 
947
295
  ```bash
948
- # Clone and install
949
- git clone https://github.com/decolua/9router.git
950
- cd 9router
951
296
  npm install
952
297
  npm run build
953
-
954
- # Configure
955
- export JWT_SECRET="your-secure-secret-change-this"
956
- export INITIAL_PASSWORD="your-password"
957
- export DATA_DIR="/var/lib/9router"
958
- export PORT="20128"
959
- export HOSTNAME="0.0.0.0"
960
- export NODE_ENV="production"
961
- export NEXT_PUBLIC_BASE_URL="http://localhost:20128"
962
- export NEXT_PUBLIC_CLOUD_URL="https://9router.com"
963
- export API_KEY_SECRET="endpoint-proxy-api-key-secret"
964
- export MACHINE_ID_SALT="endpoint-proxy-salt"
965
-
966
- # Start
967
- npm run start
968
-
969
- # Or use PM2
970
- npm install -g pm2
971
- pm2 start npm --name 9router -- start
972
- pm2 save
973
- pm2 startup
298
+ pm2 start npm --name openrouterx -- start
974
299
  ```
975
300
 
976
301
  ### Docker
977
302
 
978
303
  ```bash
979
- # Build image (from repository root)
980
- docker build -t 9router .
981
-
982
- # Run container (command used in current setup)
983
- docker run -d \
984
- --name 9router \
985
- -p 20128:20128 \
986
- --env-file /root/dev/9router/.env \
987
- -v 9router-data:/app/data \
988
- -v 9router-usage:/root/.9router \
989
- 9router
990
- ```
991
-
992
- Portable command (if you are already at repository root):
304
+ docker build -t openrouterx .
993
305
 
994
- ```bash
995
306
  docker run -d \
996
- --name 9router \
307
+ --name openrouterx \
997
308
  -p 20128:20128 \
998
309
  --env-file ./.env \
999
- -v 9router-data:/app/data \
1000
- -v 9router-usage:/root/.9router \
1001
- 9router
1002
- ```
1003
-
1004
- Container defaults:
1005
- - `PORT=20128`
1006
- - `HOSTNAME=0.0.0.0`
1007
-
1008
- Useful commands:
1009
-
1010
- ```bash
1011
- docker logs -f 9router
1012
- docker restart 9router
1013
- docker stop 9router && docker rm 9router
1014
- ```
1015
-
1016
- ### Environment Variables
1017
-
1018
- | Variable | Default | Description |
1019
- |----------|---------|-------------|
1020
- | `JWT_SECRET` | `9router-default-secret-change-me` | JWT signing secret for dashboard auth cookie (**change in production**) |
1021
- | `INITIAL_PASSWORD` | `123456` | First login password when no saved hash exists |
1022
- | `DATA_DIR` | `~/.9router` | Main app database location (`db.json`) |
1023
- | `PORT` | framework default | Service port (`20128` in examples) |
1024
- | `HOSTNAME` | framework default | Bind host (Docker defaults to `0.0.0.0`) |
1025
- | `NODE_ENV` | runtime default | Set `production` for deploy |
1026
- | `BASE_URL` | `http://localhost:20128` | Server-side internal base URL used by cloud sync jobs |
1027
- | `CLOUD_URL` | `https://9router.com` | Server-side cloud sync endpoint base URL |
1028
- | `NEXT_PUBLIC_BASE_URL` | `http://localhost:3000` | Backward-compatible/public base URL (prefer `BASE_URL` for server runtime) |
1029
- | `NEXT_PUBLIC_CLOUD_URL` | `https://9router.com` | Backward-compatible/public cloud URL (prefer `CLOUD_URL` for server runtime) |
1030
- | `API_KEY_SECRET` | `endpoint-proxy-api-key-secret` | HMAC secret for generated API keys |
1031
- | `MACHINE_ID_SALT` | `endpoint-proxy-salt` | Salt for stable machine ID hashing |
1032
- | `ENABLE_REQUEST_LOGS` | `false` | Enables request/response logs under `logs/` |
1033
- | `AUTH_COOKIE_SECURE` | `false` | Force `Secure` auth cookie (set `true` behind HTTPS reverse proxy) |
1034
- | `REQUIRE_API_KEY` | `false` | Enforce Bearer API key on `/v1/*` routes (recommended for internet-exposed deploys) |
1035
- | `HTTP_PROXY`, `HTTPS_PROXY`, `ALL_PROXY`, `NO_PROXY` | empty | Optional outbound proxy for upstream provider calls |
1036
-
1037
- Notes:
1038
- - Lowercase proxy variables are also supported: `http_proxy`, `https_proxy`, `all_proxy`, `no_proxy`.
1039
- - `.env` is not baked into Docker image (`.dockerignore`); inject runtime config with `--env-file` or `-e`.
1040
- - On Windows, `APPDATA` can be used for local storage path resolution.
1041
- - `INSTANCE_NAME` appears in older docs/env templates, but is currently not used at runtime.
1042
-
1043
- ### Runtime Files and Storage
1044
-
1045
- - Main app state: `${DATA_DIR}/db.json` (providers, combos, aliases, keys, settings), managed by `src/lib/localDb.js`.
1046
- - Usage history and logs: `~/.9router/usage.json` and `~/.9router/log.txt`, managed by `src/lib/usageDb.js`.
1047
- - Optional request/translator logs: `<repo>/logs/...` when `ENABLE_REQUEST_LOGS=true`.
1048
- - Usage storage currently follows `~/.9router` path logic and is independent from `DATA_DIR`.
1049
-
1050
- </details>
1051
-
1052
- ---
1053
-
1054
- ## 📊 Available Models
1055
-
1056
- <details>
1057
- <summary><b>View all available models</b></summary>
1058
-
1059
- **Claude Code (`cc/`)** - Pro/Max:
1060
- - `cc/claude-opus-4-6`
1061
- - `cc/claude-sonnet-4-5-20250929`
1062
- - `cc/claude-haiku-4-5-20251001`
1063
-
1064
- **Codex (`cx/`)** - Plus/Pro:
1065
- - `cx/gpt-5.2-codex`
1066
- - `cx/gpt-5.1-codex-max`
1067
-
1068
- **Gemini CLI (`gc/`)** - FREE:
1069
- - `gc/gemini-3-flash-preview`
1070
- - `gc/gemini-2.5-pro`
1071
-
1072
- **GitHub Copilot (`gh/`)**:
1073
- - `gh/gpt-5`
1074
- - `gh/claude-4.5-sonnet`
1075
-
1076
- **GLM (`glm/`)** - $0.6/1M:
1077
- - `glm/glm-4.7`
1078
-
1079
- **MiniMax (`minimax/`)** - $0.2/1M:
1080
- - `minimax/MiniMax-M2.1`
1081
-
1082
- **iFlow (`if/`)** - FREE:
1083
- - `if/kimi-k2-thinking`
1084
- - `if/qwen3-coder-plus`
1085
- - `if/deepseek-r1`
1086
-
1087
- **Qwen (`qw/`)** - FREE:
1088
- - `qw/qwen3-coder-plus`
1089
- - `qw/qwen3-coder-flash`
1090
-
1091
- **Kiro (`kr/`)** - FREE:
1092
- - `kr/claude-sonnet-4.5`
1093
- - `kr/claude-haiku-4.5`
1094
-
1095
- </details>
1096
-
1097
- ---
1098
-
1099
- ## 🐛 Troubleshooting
1100
-
1101
- **"Language model did not provide messages"**
1102
- - Provider quota exhausted → Check dashboard quota tracker
1103
- - Solution: Use combo fallback or switch to cheaper tier
1104
-
1105
- **Rate limiting**
1106
- - Subscription quota out → Fallback to GLM/MiniMax
1107
- - Add combo: `cc/claude-opus-4-6 → glm/glm-4.7 → if/kimi-k2-thinking`
1108
-
1109
- **OAuth token expired**
1110
- - Auto-refreshed by 9Router
1111
- - If issues persist: Dashboard → Provider → Reconnect
1112
-
1113
- **High costs**
1114
- - Check usage stats in Dashboard
1115
- - Switch primary model to GLM/MiniMax
1116
- - Use free tier (Gemini CLI, iFlow) for non-critical tasks
1117
-
1118
- **Dashboard opens on wrong port**
1119
- - Set `PORT=20128` and `NEXT_PUBLIC_BASE_URL=http://localhost:20128`
1120
-
1121
- **First login not working**
1122
- - Check `INITIAL_PASSWORD` in `.env`
1123
- - If unset, fallback password is `123456`
1124
-
1125
- **No request logs under `logs/`**
1126
- - Set `ENABLE_REQUEST_LOGS=true`
1127
-
1128
- ---
1129
-
1130
- ## 🛠️ Tech Stack
1131
-
1132
- - **Runtime**: Node.js 20+
1133
- - **Framework**: Next.js 16
1134
- - **UI**: React 19 + Tailwind CSS 4
1135
- - **Database**: LowDB (JSON file-based)
1136
- - **Streaming**: Server-Sent Events (SSE)
1137
- - **Auth**: OAuth 2.0 (PKCE) + JWT + API Keys
1138
-
1139
- ---
1140
-
1141
- ## 📝 API Reference
310
+ -v openrouterx-data:/app/data \
311
+ openrouterx
312
+ ```
313
+
314
+ ## 环境变量
315
+
316
+ | 变量 | 说明 |
317
+ | --- | --- |
318
+ | `JWT_SECRET` | Dashboard 登录鉴权使用的 JWT secret |
319
+ | `INITIAL_PASSWORD` | 初始登录密码,在没有已保存 hash 时使用 |
320
+ | `DATA_DIR` | 主数据库目录 |
321
+ | `PORT` | 服务端口 |
322
+ | `HOSTNAME` | 监听地址 |
323
+ | `BASE_URL` | 服务端内部使用的 base URL |
324
+ | `CLOUD_URL` | 云端同步使用的 base URL |
325
+ | `NEXT_PUBLIC_BASE_URL` | 前端可见的 base URL |
326
+ | `NEXT_PUBLIC_CLOUD_URL` | 前端可见的云端 URL |
327
+ | `API_KEY_SECRET` | 生成 API Key 时使用的签名 secret |
328
+ | `MACHINE_ID_SALT` | 机器标识计算使用的 salt |
329
+ | `ENABLE_REQUEST_LOGS` | 是否开启请求日志 |
330
+ | `AUTH_COOKIE_SECURE` | 是否强制使用安全 Cookie |
331
+ | `REQUIRE_API_KEY` | 是否要求 `/v1/*` 必须携带 Bearer API Key |
332
+
333
+ ## API 示例
1142
334
 
1143
335
  ### Chat Completions
1144
336
 
1145
337
  ```bash
1146
- POST http://localhost:20128/v1/chat/completions
1147
- Authorization: Bearer your-api-key
1148
- Content-Type: application/json
1149
-
1150
- {
1151
- "model": "cc/claude-opus-4-6",
1152
- "messages": [
1153
- {"role": "user", "content": "Write a function to..."}
1154
- ],
1155
- "stream": true
1156
- }
338
+ curl http://localhost:20128/v1/chat/completions \
339
+ -H "Authorization: Bearer YOUR_API_KEY" \
340
+ -H "Content-Type: application/json" \
341
+ -d '{
342
+ "model": "kr/claude-sonnet-4.5",
343
+ "messages": [
344
+ { "role": "user", "content": "Write a Node.js hello world server." }
345
+ ],
346
+ "stream": false
347
+ }'
1157
348
  ```
1158
349
 
1159
- ### List Models
350
+ ### 列出模型
1160
351
 
1161
352
  ```bash
1162
- GET http://localhost:20128/v1/models
1163
- Authorization: Bearer your-api-key
1164
-
1165
- → Returns all models + combos in OpenAI format
353
+ curl http://localhost:20128/v1/models \
354
+ -H "Authorization: Bearer YOUR_API_KEY"
1166
355
  ```
1167
356
 
1168
- ## 📧 Support
1169
-
1170
- - **Website**: [9router.com](https://9router.com)
1171
- - **GitHub**: [github.com/decolua/9router](https://github.com/decolua/9router)
1172
- - **Issues**: [github.com/decolua/9router/issues](https://github.com/decolua/9router/issues)
1173
-
1174
- ---
1175
-
1176
- ## 👥 Contributors
1177
-
1178
- Thanks to all contributors who helped make 9Router better!
1179
-
1180
- [![Contributors](https://contrib.rocks/image?repo=decolua/9router&max=150&columns=15&anon=1&v=20260309)](https://github.com/decolua/9router/graphs/contributors)
1181
-
1182
- ---
357
+ ## 常见问题
1183
358
 
1184
- ## 📊 Star Chart
359
+ ### Dashboard 打不开
1185
360
 
1186
- [![Star Chart](https://starchart.cc/decolua/9router.svg?variant=adaptive)](https://starchart.cc/decolua/9router)
361
+ - 检查 `20128` 端口是否被占用
362
+ - 启动前显式设置 `PORT=20128`
1187
363
 
364
+ ### 登录失败
1188
365
 
366
+ - 初始化环境时检查 `INITIAL_PASSWORD`
367
+ - 如果已经有历史数据,请使用当前保存的管理员密码,不要假设存在默认密码
1189
368
 
1190
- ## 🔀 Forks
369
+ ### 工具看不到模型
1191
370
 
1192
- **[OmniRoute](https://github.com/diegosouzapw/OmniRoute)** — A full-featured TypeScript fork of 9Router. Adds 36+ providers, 4-tier auto-fallback, multi-modal APIs (images, embeddings, audio, TTS), circuit breaker, semantic cache, LLM evaluations, and a polished dashboard. 368+ unit tests. Available via npm and Docker.
371
+ - 确认供应商已连接
372
+ - 确认当前 API Key 属于当前用户
373
+ - 如果是子用户,检查 `Admin -> Users` 中配置的 allowed providers
1193
374
 
1194
- ---
375
+ ### Usage 没有数据
1195
376
 
1196
- ## 🙏 Acknowledgments
377
+ - 确认工具接入的是 `http://localhost:20128/v1`
378
+ - 确认使用的是 Dashboard 中生成的 Bearer API Key
1197
379
 
1198
- Special thanks to **CLIProxyAPI** - the original Go implementation that inspired this JavaScript port.
380
+ ### 上游报错或配额不足
1199
381
 
1200
- ---
382
+ - 重新连接供应商
383
+ - 切换到其他模型
384
+ - 创建带 fallback 的 combo
1201
385
 
1202
- ## 📄 License
386
+ ## 包信息
1203
387
 
1204
- MIT License - see [LICENSE](LICENSE) for details.
388
+ - npm 包:[`@yina-npm/openrouterx`](https://www.npmjs.com/package/@yina-npm/openrouterx)
389
+ - 启动命令:`openrouterX`
390
+ - 协议:MIT
1205
391
 
1206
- ---
392
+ ## License
1207
393
 
1208
- <div align="center">
1209
- <sub>Built with ❤️ for developers who code 24/7</sub>
1210
- </div>
394
+ MIT,见 [LICENSE](LICENSE)。