n9router 0.4.35 → 0.4.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1094) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +29 -16
  3. package/app/.next/build-manifest.json +3 -3
  4. package/app/.next/prerender-manifest.json +3 -3
  5. package/app/.next/required-server-files.json +5 -0
  6. package/app/.next/routes-manifest.json +120 -36
  7. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  8. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +24 -0
  11. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -0
  12. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -0
  13. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  14. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  17. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  20. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  23. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +23 -17
  26. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  28. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  29. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  31. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  32. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  33. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  34. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  35. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  36. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  37. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  38. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  39. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  40. package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
  41. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  42. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  43. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  44. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  45. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  46. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +5 -3
  47. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  48. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  49. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  50. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  51. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  52. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  53. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  54. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  55. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +5 -3
  56. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  57. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  58. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  59. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  60. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  61. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  62. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  63. package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  64. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  65. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  66. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  67. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +3 -3
  68. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  69. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  70. package/app/.next/server/app/_global-error/page.js +3 -3
  71. package/app/.next/server/app/_global-error/page.js.nft.json +1 -1
  72. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  73. package/app/.next/server/app/_global-error.html +1 -1
  74. package/app/.next/server/app/_global-error.rsc +1 -1
  75. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  76. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  77. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  78. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  79. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  80. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  81. package/app/.next/server/app/_not-found/page.js +2 -2
  82. package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
  83. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  84. package/app/.next/server/app/_not-found.html +1 -1
  85. package/app/.next/server/app/_not-found.rsc +5 -6
  86. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +5 -6
  87. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  88. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +5 -6
  89. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  90. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  91. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -4
  92. package/app/.next/server/app/api/antigravity-app/route.js +1 -1
  93. package/app/.next/server/app/api/antigravity-app/route.js.nft.json +1 -1
  94. package/app/.next/server/app/api/antigravity-app-v2/route.js +1 -1
  95. package/app/.next/server/app/api/antigravity-app-v2/route.js.nft.json +1 -1
  96. package/app/.next/server/app/api/antigravity-ide/route.js +1 -1
  97. package/app/.next/server/app/api/antigravity-ide/route.js.nft.json +1 -1
  98. package/app/.next/server/app/api/antigravity-tools/import/route.js +1 -1
  99. package/app/.next/server/app/api/antigravity-tools/import/route.js.nft.json +1 -1
  100. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js +1 -1
  101. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js.nft.json +1 -1
  102. package/app/.next/server/app/api/auth/login/route.js +1 -1
  103. package/app/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  104. package/app/.next/server/app/api/auth/logout/route.js +1 -1
  105. package/app/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  106. package/app/.next/server/app/api/auth/oidc/callback/route.js +1 -0
  107. package/app/.next/server/app/api/{cloud/credentials/update → auth/oidc/callback}/route.js.nft.json +1 -1
  108. package/app/.next/server/app/api/{cloud/models/alias → auth/oidc/callback}/route_client-reference-manifest.js +1 -1
  109. package/app/.next/server/app/api/auth/oidc/start/route.js +1 -0
  110. package/app/.next/server/app/api/{cloud/models/alias → auth/oidc/start}/route.js.nft.json +1 -1
  111. package/app/.next/server/app/api/auth/oidc/start/route_client-reference-manifest.js +1 -0
  112. package/app/.next/server/app/api/auth/oidc/test/route.js +1 -0
  113. package/app/.next/server/app/api/{cloud/model/resolve → auth/oidc/test}/route.js.nft.json +1 -1
  114. package/app/.next/server/app/api/auth/oidc/test/route_client-reference-manifest.js +1 -0
  115. package/app/.next/server/app/api/auth/status/route.js +1 -0
  116. package/app/.next/server/app/api/{tunnel/tailscale-login → auth/status}/route.js.nft.json +1 -1
  117. package/app/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -0
  118. package/app/.next/server/app/api/cli-tools/all-statuses/route.js +17 -0
  119. package/app/.next/server/app/api/{tunnel/tailscale-start-daemon → cli-tools/all-statuses}/route.js.nft.json +1 -1
  120. package/app/.next/server/app/api/{tunnel/tailscale-login → cli-tools/all-statuses}/route_client-reference-manifest.js +1 -1
  121. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  122. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  123. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  124. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  125. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  126. package/app/.next/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  127. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +2 -0
  128. package/app/.next/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -0
  129. package/app/.next/server/app/api/{cloud/credentials/update → cli-tools/cline-settings}/route_client-reference-manifest.js +1 -1
  130. package/app/.next/server/app/api/cli-tools/codex-settings/route.js +1 -32
  131. package/app/.next/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  132. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  133. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  134. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  135. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  136. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -0
  137. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -0
  138. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +1 -0
  139. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  140. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  141. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +9 -0
  142. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -0
  143. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +1 -0
  144. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +2 -2
  145. package/app/.next/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  146. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  147. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  148. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +2 -0
  149. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -0
  150. package/app/.next/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -0
  151. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -0
  152. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -0
  153. package/app/.next/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -0
  154. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  155. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  156. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  157. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  158. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  159. package/app/.next/server/app/api/combos/[id]/route.js.nft.json +1 -1
  160. package/app/.next/server/app/api/combos/route.js +1 -1
  161. package/app/.next/server/app/api/combos/route.js.nft.json +1 -1
  162. package/app/.next/server/app/api/donate/route.js +1 -0
  163. package/app/.next/server/app/api/donate/route.js.nft.json +1 -0
  164. package/app/.next/server/app/api/donate/route_client-reference-manifest.js +1 -0
  165. package/app/.next/server/app/api/health/route.js +1 -1
  166. package/app/.next/server/app/api/health/route.js.nft.json +1 -1
  167. package/app/.next/server/app/api/init/route.js +1 -1
  168. package/app/.next/server/app/api/init/route.js.nft.json +1 -1
  169. package/app/.next/server/app/api/internal/account-health/route.js +1 -1
  170. package/app/.next/server/app/api/internal/account-health/route.js.nft.json +1 -1
  171. package/app/.next/server/app/api/internal/request-detail/route.js +1 -1
  172. package/app/.next/server/app/api/internal/request-detail/route.js.nft.json +1 -1
  173. package/app/.next/server/app/api/internal/usage/route.js +1 -1
  174. package/app/.next/server/app/api/internal/usage/route.js.nft.json +1 -1
  175. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js +1 -1
  176. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js.nft.json +1 -1
  177. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  178. package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
  179. package/app/.next/server/app/api/keys/[id]/usage/route.js +1 -1
  180. package/app/.next/server/app/api/keys/[id]/usage/route.js.nft.json +1 -1
  181. package/app/.next/server/app/api/keys/route.js +1 -1
  182. package/app/.next/server/app/api/keys/route.js.nft.json +1 -1
  183. package/app/.next/server/app/api/locale/route.js +1 -1
  184. package/app/.next/server/app/api/locale/route.js.nft.json +1 -1
  185. package/app/.next/server/app/api/mcp/[plugin]/message/route.js +7 -0
  186. package/app/.next/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -0
  187. package/app/.next/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +1 -0
  188. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js +7 -0
  189. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -0
  190. package/app/.next/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +1 -0
  191. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  192. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  193. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  194. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  195. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  196. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  197. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -0
  198. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -0
  199. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +1 -0
  200. package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
  201. package/app/.next/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  202. package/app/.next/server/app/api/models/alias/route.js +1 -1
  203. package/app/.next/server/app/api/models/alias/route.js.nft.json +1 -1
  204. package/app/.next/server/app/api/models/availability/route.js +1 -1
  205. package/app/.next/server/app/api/models/availability/route.js.nft.json +1 -1
  206. package/app/.next/server/app/api/models/custom/route.js +1 -1
  207. package/app/.next/server/app/api/models/custom/route.js.nft.json +1 -1
  208. package/app/.next/server/app/api/models/disabled/route.js +1 -1
  209. package/app/.next/server/app/api/models/disabled/route.js.nft.json +1 -1
  210. package/app/.next/server/app/api/models/route.js +1 -1
  211. package/app/.next/server/app/api/models/route.js.nft.json +1 -1
  212. package/app/.next/server/app/api/models/test/route.js +1 -1
  213. package/app/.next/server/app/api/models/test/route.js.nft.json +1 -1
  214. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -6
  215. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  216. package/app/.next/server/app/api/oauth/codex/import-token/route.js +1 -0
  217. package/app/.next/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -0
  218. package/app/.next/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +1 -0
  219. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  220. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  221. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  222. package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  223. package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
  224. package/app/.next/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  225. package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
  226. package/app/.next/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  227. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  228. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  229. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  230. package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  231. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  232. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  233. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  234. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  235. package/app/.next/server/app/api/pricing/route.js +1 -1
  236. package/app/.next/server/app/api/pricing/route.js.nft.json +1 -1
  237. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  238. package/app/.next/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  239. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  240. package/app/.next/server/app/api/provider-nodes/route.js.nft.json +1 -1
  241. package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  242. package/app/.next/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  243. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  244. package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  245. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  246. package/app/.next/server/app/api/providers/[id]/route.js.nft.json +1 -1
  247. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  248. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  249. package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
  250. package/app/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  251. package/app/.next/server/app/api/providers/client/route.js +1 -1
  252. package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  253. package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
  254. package/app/.next/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  255. package/app/.next/server/app/api/providers/route.js +1 -1
  256. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  257. package/app/.next/server/app/api/providers/suggested-models/route.js +1 -1
  258. package/app/.next/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  259. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  260. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  261. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  262. package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  263. package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
  264. package/app/.next/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  265. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  266. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  267. package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js +43 -0
  268. package/app/.next/server/app/api/{cloud/auth → proxy-pools/cloudflare-deploy}/route.js.nft.json +1 -1
  269. package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route_client-reference-manifest.js +1 -0
  270. package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js +40 -0
  271. package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -0
  272. package/app/.next/server/app/api/proxy-pools/deno-deploy/route_client-reference-manifest.js +1 -0
  273. package/app/.next/server/app/api/proxy-pools/route.js +1 -1
  274. package/app/.next/server/app/api/proxy-pools/route.js.nft.json +1 -1
  275. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  276. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  277. package/app/.next/server/app/api/settings/database/route.js +1 -1
  278. package/app/.next/server/app/api/settings/database/route.js.nft.json +1 -1
  279. package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
  280. package/app/.next/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  281. package/app/.next/server/app/api/settings/require-login/route.js +1 -1
  282. package/app/.next/server/app/api/settings/require-login/route.js.nft.json +1 -1
  283. package/app/.next/server/app/api/settings/route.js +1 -1
  284. package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
  285. package/app/.next/server/app/api/shutdown/route.js +1 -1
  286. package/app/.next/server/app/api/shutdown/route.js.nft.json +1 -1
  287. package/app/.next/server/app/api/tags/route.js +1 -1
  288. package/app/.next/server/app/api/tags/route.js.nft.json +1 -1
  289. package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
  290. package/app/.next/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  291. package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
  292. package/app/.next/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  293. package/app/.next/server/app/api/translator/load/route.js +1 -1
  294. package/app/.next/server/app/api/translator/load/route.js.nft.json +1 -1
  295. package/app/.next/server/app/api/translator/save/route.js +1 -1
  296. package/app/.next/server/app/api/translator/save/route.js.nft.json +1 -1
  297. package/app/.next/server/app/api/translator/send/route.js +1 -1
  298. package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  299. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  300. package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  301. package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
  302. package/app/.next/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  303. package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
  304. package/app/.next/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  305. package/app/.next/server/app/api/tunnel/status/route.js +1 -1
  306. package/app/.next/server/app/api/tunnel/status/route.js.nft.json +1 -1
  307. package/app/.next/server/app/api/tunnel/tailscale-check/route.js +1 -1
  308. package/app/.next/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  309. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  310. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  311. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  312. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  313. package/app/.next/server/app/api/tunnel/tailscale-install/route.js +4 -4
  314. package/app/.next/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  315. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  316. package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  317. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  318. package/app/.next/server/app/api/usage/chart/route.js.nft.json +1 -1
  319. package/app/.next/server/app/api/usage/history/route.js +1 -1
  320. package/app/.next/server/app/api/usage/history/route.js.nft.json +1 -1
  321. package/app/.next/server/app/api/usage/logs/route.js +1 -1
  322. package/app/.next/server/app/api/usage/logs/route.js.nft.json +1 -1
  323. package/app/.next/server/app/api/usage/providers/route.js +1 -1
  324. package/app/.next/server/app/api/usage/providers/route.js.nft.json +1 -1
  325. package/app/.next/server/app/api/usage/report/route.js +1 -1
  326. package/app/.next/server/app/api/usage/report/route.js.nft.json +1 -1
  327. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  328. package/app/.next/server/app/api/usage/request-details/route.js.nft.json +1 -1
  329. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  330. package/app/.next/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  331. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  332. package/app/.next/server/app/api/usage/stats/route.js.nft.json +1 -1
  333. package/app/.next/server/app/api/usage/stream/route.js +2 -2
  334. package/app/.next/server/app/api/usage/stream/route.js.nft.json +1 -1
  335. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  336. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  337. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  338. package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  339. package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  340. package/app/.next/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  341. package/app/.next/server/app/api/v1/audio/voices/route.js +1 -1
  342. package/app/.next/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  343. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  344. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  345. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  346. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  347. package/app/.next/server/app/api/v1/images/generations/route.js +2 -2
  348. package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  349. package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  350. package/app/.next/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  351. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  352. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  353. package/app/.next/server/app/api/v1/models/[kind]/route.js +1 -1
  354. package/app/.next/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  355. package/app/.next/server/app/api/v1/models/info/route.js +1 -1
  356. package/app/.next/server/app/api/v1/models/info/route.js.nft.json +1 -1
  357. package/app/.next/server/app/api/v1/models/route.js +1 -1
  358. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  359. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  360. package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  361. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  362. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  363. package/app/.next/server/app/api/v1/route.js +1 -1
  364. package/app/.next/server/app/api/v1/route.js.nft.json +1 -1
  365. package/app/.next/server/app/api/v1/search/route.js +1 -1
  366. package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -1
  367. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
  368. package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  369. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  370. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  371. package/app/.next/server/app/api/v1beta/models/route.js +1 -1
  372. package/app/.next/server/app/api/v1beta/models/route.js.nft.json +1 -1
  373. package/app/.next/server/app/api/version/route.js +1 -1
  374. package/app/.next/server/app/api/version/route.js.nft.json +1 -1
  375. package/app/.next/server/app/api/version/shutdown/route.js +1 -0
  376. package/app/.next/server/app/api/version/shutdown/route.js.nft.json +1 -0
  377. package/app/.next/server/app/api/version/shutdown/route_client-reference-manifest.js +1 -0
  378. package/app/.next/server/app/api/version/update/route.js +1 -1
  379. package/app/.next/server/app/api/version/update/route.js.nft.json +1 -1
  380. package/app/.next/server/app/callback/page.js +2 -2
  381. package/app/.next/server/app/callback/page.js.nft.json +1 -1
  382. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  383. package/app/.next/server/app/callback.html +1 -1
  384. package/app/.next/server/app/callback.rsc +6 -7
  385. package/app/.next/server/app/callback.segments/_full.segment.rsc +6 -7
  386. package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
  387. package/app/.next/server/app/callback.segments/_index.segment.rsc +5 -6
  388. package/app/.next/server/app/callback.segments/_tree.segment.rsc +3 -4
  389. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
  390. package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
  391. package/app/.next/server/app/dashboard/basic-chat.html +1 -1
  392. package/app/.next/server/app/dashboard/basic-chat.rsc +7 -8
  393. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  394. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  395. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  396. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  397. package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +7 -8
  398. package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  399. package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +5 -6
  400. package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +3 -4
  401. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  402. package/app/.next/server/app/dashboard/cli-tools.rsc +7 -8
  403. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  404. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  405. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  406. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  407. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +7 -8
  408. package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  409. package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +5 -6
  410. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +3 -4
  411. package/app/.next/server/app/dashboard/combos.html +1 -1
  412. package/app/.next/server/app/dashboard/combos.rsc +7 -8
  413. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  414. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  415. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  416. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  417. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +7 -8
  418. package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  419. package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +5 -6
  420. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +3 -4
  421. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  422. package/app/.next/server/app/dashboard/endpoint.rsc +7 -8
  423. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  424. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  425. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  426. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  427. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +7 -8
  428. package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  429. package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +5 -6
  430. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +3 -4
  431. package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
  432. package/app/.next/server/app/dashboard/media-providers/web.rsc +7 -8
  433. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  434. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  435. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  436. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  437. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  438. package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +7 -8
  439. package/app/.next/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  440. package/app/.next/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +5 -6
  441. package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +3 -4
  442. package/app/.next/server/app/dashboard/mitm.html +1 -1
  443. package/app/.next/server/app/dashboard/mitm.rsc +7 -8
  444. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  445. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  446. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  447. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  448. package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +7 -8
  449. package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  450. package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +5 -6
  451. package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +3 -4
  452. package/app/.next/server/app/dashboard/profile.html +1 -1
  453. package/app/.next/server/app/dashboard/profile.rsc +7 -8
  454. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  455. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  456. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  457. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  458. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +7 -8
  459. package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  460. package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +5 -6
  461. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +3 -4
  462. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  463. package/app/.next/server/app/dashboard/providers/new.rsc +7 -8
  464. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  465. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  466. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  467. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  468. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  469. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +7 -8
  470. package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  471. package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +5 -6
  472. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +3 -4
  473. package/app/.next/server/app/dashboard/providers.html +1 -1
  474. package/app/.next/server/app/dashboard/providers.rsc +7 -8
  475. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  476. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  477. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  478. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  479. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +7 -8
  480. package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  481. package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +5 -6
  482. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +3 -4
  483. package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
  484. package/app/.next/server/app/dashboard/proxy-pools.rsc +7 -8
  485. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  486. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  487. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  488. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  489. package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +7 -8
  490. package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  491. package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +5 -6
  492. package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +3 -4
  493. package/app/.next/server/app/dashboard/quota.html +2 -2
  494. package/app/.next/server/app/dashboard/quota.rsc +8 -9
  495. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  496. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  497. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  498. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  499. package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +8 -9
  500. package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  501. package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +5 -6
  502. package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +3 -4
  503. package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
  504. package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  505. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  506. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  507. package/app/.next/server/app/dashboard/settings/pricing.rsc +5 -6
  508. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -6
  509. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  510. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +5 -6
  511. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +3 -4
  512. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  513. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  514. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  515. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  516. package/app/.next/server/app/dashboard/skills.html +1 -1
  517. package/app/.next/server/app/dashboard/skills.rsc +7 -8
  518. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  519. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  520. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  521. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  522. package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +7 -8
  523. package/app/.next/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  524. package/app/.next/server/app/dashboard/skills.segments/_index.segment.rsc +5 -6
  525. package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +3 -4
  526. package/app/.next/server/app/dashboard/translator.html +1 -1
  527. package/app/.next/server/app/dashboard/translator.rsc +7 -8
  528. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  529. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  530. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  531. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  532. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +7 -8
  533. package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  534. package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +5 -6
  535. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +3 -4
  536. package/app/.next/server/app/dashboard/usage.html +1 -1
  537. package/app/.next/server/app/dashboard/usage.rsc +7 -8
  538. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  539. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  540. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  541. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  542. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +7 -8
  543. package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  544. package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +5 -6
  545. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +3 -4
  546. package/app/.next/server/app/dashboard.html +1 -1
  547. package/app/.next/server/app/dashboard.rsc +7 -8
  548. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  549. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  550. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  551. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +7 -8
  552. package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
  553. package/app/.next/server/app/dashboard.segments/_index.segment.rsc +5 -6
  554. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +3 -4
  555. package/app/.next/server/app/favicon.ico/route.js +1 -1
  556. package/app/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  557. package/app/.next/server/app/index.html +1 -1
  558. package/app/.next/server/app/index.rsc +5 -6
  559. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  560. package/app/.next/server/app/index.segments/_full.segment.rsc +5 -6
  561. package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
  562. package/app/.next/server/app/index.segments/_index.segment.rsc +5 -6
  563. package/app/.next/server/app/index.segments/_tree.segment.rsc +3 -4
  564. package/app/.next/server/app/landing/page.js +2 -2
  565. package/app/.next/server/app/landing/page.js.nft.json +1 -1
  566. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  567. package/app/.next/server/app/landing.html +1 -1
  568. package/app/.next/server/app/landing.rsc +5 -6
  569. package/app/.next/server/app/landing.segments/_full.segment.rsc +5 -6
  570. package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
  571. package/app/.next/server/app/landing.segments/_index.segment.rsc +5 -6
  572. package/app/.next/server/app/landing.segments/_tree.segment.rsc +3 -4
  573. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  574. package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
  575. package/app/.next/server/app/login/page.js +2 -2
  576. package/app/.next/server/app/login/page.js.nft.json +1 -1
  577. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  578. package/app/.next/server/app/login.html +1 -1
  579. package/app/.next/server/app/login.rsc +6 -7
  580. package/app/.next/server/app/login.segments/_full.segment.rsc +6 -7
  581. package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
  582. package/app/.next/server/app/login.segments/_index.segment.rsc +5 -6
  583. package/app/.next/server/app/login.segments/_tree.segment.rsc +3 -4
  584. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  585. package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
  586. package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
  587. package/app/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  588. package/app/.next/server/app/page.js +2 -2
  589. package/app/.next/server/app/page.js.nft.json +1 -1
  590. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  591. package/app/.next/server/app-paths-manifest.json +29 -16
  592. package/app/.next/server/chunks/1051.js +1 -0
  593. package/app/.next/server/chunks/1476.js +1 -0
  594. package/app/.next/server/chunks/1498.js +1 -0
  595. package/app/.next/server/chunks/1531.js +1 -0
  596. package/app/.next/server/chunks/1569.js +1 -0
  597. package/app/.next/server/chunks/1699.js +1 -0
  598. package/app/.next/server/chunks/1998.js +1 -0
  599. package/app/.next/server/chunks/3104.js +43 -0
  600. package/app/.next/server/chunks/3110.js +56 -5
  601. package/app/.next/server/chunks/318.js +41 -15
  602. package/app/.next/server/chunks/3245.js +1 -1
  603. package/app/.next/server/chunks/3588.js +1 -0
  604. package/app/.next/server/chunks/365.js +1 -0
  605. package/app/.next/server/chunks/4013.js +1 -0
  606. package/app/.next/server/chunks/412.js +5 -5
  607. package/app/.next/server/chunks/4177.js +1 -0
  608. package/app/.next/server/chunks/4250.js +1 -1
  609. package/app/.next/server/chunks/4334.js +1 -1
  610. package/app/.next/server/chunks/4389.js +1 -0
  611. package/app/.next/server/chunks/4404.js +1 -0
  612. package/app/.next/server/chunks/4989.js +2 -2
  613. package/app/.next/server/chunks/{7861.js → 5221.js} +1 -1
  614. package/app/.next/server/chunks/5433.js +1 -0
  615. package/app/.next/server/chunks/5681.js +1 -1
  616. package/app/.next/server/chunks/5995.js +53 -0
  617. package/app/.next/server/chunks/6108.js +1 -1
  618. package/app/.next/server/chunks/6182.js +61 -5
  619. package/app/.next/server/chunks/6251.js +1 -0
  620. package/app/.next/server/chunks/6457.js +4 -0
  621. package/app/.next/server/chunks/6811.js +1 -0
  622. package/app/.next/server/chunks/6935.js +1 -0
  623. package/app/.next/server/chunks/7341.js +1 -1
  624. package/app/.next/server/chunks/7828.js +1 -1
  625. package/app/.next/server/chunks/7879.js +10 -0
  626. package/app/.next/server/chunks/7994.js +2 -2
  627. package/app/.next/server/chunks/8255.js +1 -0
  628. package/app/.next/server/chunks/8473.js +8 -0
  629. package/app/.next/server/chunks/8590.js +1 -1
  630. package/app/.next/server/chunks/8895.js +4 -4
  631. package/app/.next/server/chunks/8971.js +1 -0
  632. package/app/.next/server/chunks/9396.js +44 -0
  633. package/app/.next/server/chunks/9489.js +1 -1
  634. package/app/.next/server/chunks/9528.js +32 -0
  635. package/app/.next/server/chunks/9609.js +1 -1
  636. package/app/.next/server/chunks/9718.js +1 -1
  637. package/app/.next/server/chunks/9807.js +7 -0
  638. package/app/.next/server/functions-config-manifest.json +4 -30
  639. package/app/.next/server/middleware-build-manifest.js +1 -1
  640. package/app/.next/server/middleware.js +2 -2
  641. package/app/.next/server/pages/404.html +1 -1
  642. package/app/.next/server/pages/500.html +1 -1
  643. package/app/.next/server/server-reference-manifest.js +1 -1
  644. package/app/.next/server/server-reference-manifest.json +1 -1
  645. package/app/.next/static/YEhAtVGU-1J8HgdJmmpjP/_buildManifest.js +1 -0
  646. package/app/.next/static/chunks/1321-ae8f019eee61818e.js +1 -0
  647. package/app/.next/static/chunks/1a258343-5938f676ed376386.js +1 -0
  648. package/app/.next/static/chunks/2589-d4f1afc5e9f94887.js +3 -0
  649. package/app/.next/static/chunks/4406-05ac5641472f331e.js +53 -0
  650. package/app/.next/static/chunks/5497-73d5899267432022.js +7 -0
  651. package/app/.next/static/chunks/7055-e60e20f43bfbe5f8.js +1 -0
  652. package/app/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/page-068dda6eab2b9c36.js +1 -0
  653. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-67d36bbaeb6af871.js +1 -0
  654. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-51957200aaa0e0f7.js +1 -0
  655. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-1271df5d411ef013.js +1 -0
  656. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-e680a27ecacbfd49.js +59 -0
  657. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-af17247a74fa851d.js +1 -0
  658. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-8cb9c569a7822a0a.js +1 -0
  659. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-8eaef671b213ee9e.js +1 -0
  660. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-90eac92387b41cd4.js +6 -0
  661. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-de08b6b9ad238de4.js +1 -0
  662. package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-b9da35538f423062.js +4 -0
  663. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-1389351bfdd842f9.js +1 -0
  664. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-d6fce7b8e1d3fdec.js +3 -0
  665. package/app/.next/static/chunks/app/(dashboard)/layout-1244fdc593309aa9.js +1 -0
  666. package/app/.next/static/chunks/app/_global-error/page-7a42dc789702ab06.js +1 -0
  667. package/app/.next/static/chunks/app/api/antigravity-app/route-7a42dc789702ab06.js +1 -0
  668. package/app/.next/static/chunks/app/api/antigravity-app-v2/route-7a42dc789702ab06.js +1 -0
  669. package/app/.next/static/chunks/app/api/antigravity-ide/route-7a42dc789702ab06.js +1 -0
  670. package/app/.next/static/chunks/app/api/antigravity-tools/import/route-7a42dc789702ab06.js +1 -0
  671. package/app/.next/static/chunks/app/api/antigravity-tools/import-refresh-tokens/route-7a42dc789702ab06.js +1 -0
  672. package/app/.next/static/chunks/app/api/auth/login/route-7a42dc789702ab06.js +1 -0
  673. package/app/.next/static/chunks/app/api/auth/logout/route-7a42dc789702ab06.js +1 -0
  674. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-7a42dc789702ab06.js +1 -0
  675. package/app/.next/static/chunks/app/api/auth/oidc/start/route-7a42dc789702ab06.js +1 -0
  676. package/app/.next/static/chunks/app/api/auth/oidc/test/route-7a42dc789702ab06.js +1 -0
  677. package/app/.next/static/chunks/app/api/auth/status/route-7a42dc789702ab06.js +1 -0
  678. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-7a42dc789702ab06.js +1 -0
  679. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-7a42dc789702ab06.js +1 -0
  680. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-7a42dc789702ab06.js +1 -0
  681. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-7a42dc789702ab06.js +1 -0
  682. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-7a42dc789702ab06.js +1 -0
  683. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-7a42dc789702ab06.js +1 -0
  684. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-7a42dc789702ab06.js +1 -0
  685. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-7a42dc789702ab06.js +1 -0
  686. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-7a42dc789702ab06.js +1 -0
  687. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-7a42dc789702ab06.js +1 -0
  688. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-7a42dc789702ab06.js +1 -0
  689. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-7a42dc789702ab06.js +1 -0
  690. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-7a42dc789702ab06.js +1 -0
  691. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-7a42dc789702ab06.js +1 -0
  692. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-7a42dc789702ab06.js +1 -0
  693. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-7a42dc789702ab06.js +1 -0
  694. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-7a42dc789702ab06.js +1 -0
  695. package/app/.next/static/chunks/app/api/combos/[id]/route-7a42dc789702ab06.js +1 -0
  696. package/app/.next/static/chunks/app/api/combos/route-7a42dc789702ab06.js +1 -0
  697. package/app/.next/static/chunks/app/api/donate/route-7a42dc789702ab06.js +1 -0
  698. package/app/.next/static/chunks/app/api/health/route-7a42dc789702ab06.js +1 -0
  699. package/app/.next/static/chunks/app/api/init/route-7a42dc789702ab06.js +1 -0
  700. package/app/.next/static/chunks/app/api/internal/account-health/route-7a42dc789702ab06.js +1 -0
  701. package/app/.next/static/chunks/app/api/internal/request-detail/route-7a42dc789702ab06.js +1 -0
  702. package/app/.next/static/chunks/app/api/internal/usage/route-7a42dc789702ab06.js +1 -0
  703. package/app/.next/static/chunks/app/api/keys/[id]/reset-usage/route-7a42dc789702ab06.js +1 -0
  704. package/app/.next/static/chunks/app/api/keys/[id]/route-7a42dc789702ab06.js +1 -0
  705. package/app/.next/static/chunks/app/api/keys/[id]/usage/route-7a42dc789702ab06.js +1 -0
  706. package/app/.next/static/chunks/app/api/keys/route-7a42dc789702ab06.js +1 -0
  707. package/app/.next/static/chunks/app/api/locale/route-7a42dc789702ab06.js +1 -0
  708. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-7a42dc789702ab06.js +1 -0
  709. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-7a42dc789702ab06.js +1 -0
  710. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-7a42dc789702ab06.js +1 -0
  711. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-7a42dc789702ab06.js +1 -0
  712. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-7a42dc789702ab06.js +1 -0
  713. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-7a42dc789702ab06.js +1 -0
  714. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-7a42dc789702ab06.js +1 -0
  715. package/app/.next/static/chunks/app/api/models/alias/route-7a42dc789702ab06.js +1 -0
  716. package/app/.next/static/chunks/app/api/models/availability/route-7a42dc789702ab06.js +1 -0
  717. package/app/.next/static/chunks/app/api/models/custom/route-7a42dc789702ab06.js +1 -0
  718. package/app/.next/static/chunks/app/api/models/disabled/route-7a42dc789702ab06.js +1 -0
  719. package/app/.next/static/chunks/app/api/models/route-7a42dc789702ab06.js +1 -0
  720. package/app/.next/static/chunks/app/api/models/test/route-7a42dc789702ab06.js +1 -0
  721. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-7a42dc789702ab06.js +1 -0
  722. package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-7a42dc789702ab06.js +1 -0
  723. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-7a42dc789702ab06.js +1 -0
  724. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-7a42dc789702ab06.js +1 -0
  725. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-7a42dc789702ab06.js +1 -0
  726. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-7a42dc789702ab06.js +1 -0
  727. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-7a42dc789702ab06.js +1 -0
  728. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-7a42dc789702ab06.js +1 -0
  729. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-7a42dc789702ab06.js +1 -0
  730. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-7a42dc789702ab06.js +1 -0
  731. package/app/.next/static/chunks/app/api/pricing/route-7a42dc789702ab06.js +1 -0
  732. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-7a42dc789702ab06.js +1 -0
  733. package/app/.next/static/chunks/app/api/provider-nodes/route-7a42dc789702ab06.js +1 -0
  734. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-7a42dc789702ab06.js +1 -0
  735. package/app/.next/static/chunks/app/api/providers/[id]/models/route-7a42dc789702ab06.js +1 -0
  736. package/app/.next/static/chunks/app/api/providers/[id]/route-7a42dc789702ab06.js +1 -0
  737. package/app/.next/static/chunks/app/api/providers/[id]/test/route-7a42dc789702ab06.js +1 -0
  738. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-7a42dc789702ab06.js +1 -0
  739. package/app/.next/static/chunks/app/api/providers/client/route-7a42dc789702ab06.js +1 -0
  740. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-7a42dc789702ab06.js +1 -0
  741. package/app/.next/static/chunks/app/api/providers/route-7a42dc789702ab06.js +1 -0
  742. package/app/.next/static/chunks/app/api/providers/suggested-models/route-7a42dc789702ab06.js +1 -0
  743. package/app/.next/static/chunks/app/api/providers/test-batch/route-7a42dc789702ab06.js +1 -0
  744. package/app/.next/static/chunks/app/api/providers/validate/route-7a42dc789702ab06.js +1 -0
  745. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-7a42dc789702ab06.js +1 -0
  746. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-7a42dc789702ab06.js +1 -0
  747. package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-7a42dc789702ab06.js +1 -0
  748. package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-7a42dc789702ab06.js +1 -0
  749. package/app/.next/static/chunks/app/api/proxy-pools/route-7a42dc789702ab06.js +1 -0
  750. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-7a42dc789702ab06.js +1 -0
  751. package/app/.next/static/chunks/app/api/settings/database/route-7a42dc789702ab06.js +1 -0
  752. package/app/.next/static/chunks/app/api/settings/proxy-test/route-7a42dc789702ab06.js +1 -0
  753. package/app/.next/static/chunks/app/api/settings/require-login/route-7a42dc789702ab06.js +1 -0
  754. package/app/.next/static/chunks/app/api/settings/route-7a42dc789702ab06.js +1 -0
  755. package/app/.next/static/chunks/app/api/shutdown/route-7a42dc789702ab06.js +1 -0
  756. package/app/.next/static/chunks/app/api/tags/route-7a42dc789702ab06.js +1 -0
  757. package/app/.next/static/chunks/app/api/translator/console-logs/route-7a42dc789702ab06.js +1 -0
  758. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-7a42dc789702ab06.js +1 -0
  759. package/app/.next/static/chunks/app/api/translator/load/route-7a42dc789702ab06.js +1 -0
  760. package/app/.next/static/chunks/app/api/translator/save/route-7a42dc789702ab06.js +1 -0
  761. package/app/.next/static/chunks/app/api/translator/send/route-7a42dc789702ab06.js +1 -0
  762. package/app/.next/static/chunks/app/api/translator/translate/route-7a42dc789702ab06.js +1 -0
  763. package/app/.next/static/chunks/app/api/tunnel/disable/route-7a42dc789702ab06.js +1 -0
  764. package/app/.next/static/chunks/app/api/tunnel/enable/route-7a42dc789702ab06.js +1 -0
  765. package/app/.next/static/chunks/app/api/tunnel/status/route-7a42dc789702ab06.js +1 -0
  766. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-7a42dc789702ab06.js +1 -0
  767. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-7a42dc789702ab06.js +1 -0
  768. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-7a42dc789702ab06.js +1 -0
  769. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-7a42dc789702ab06.js +1 -0
  770. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-7a42dc789702ab06.js +1 -0
  771. package/app/.next/static/chunks/app/api/usage/chart/route-7a42dc789702ab06.js +1 -0
  772. package/app/.next/static/chunks/app/api/usage/history/route-7a42dc789702ab06.js +1 -0
  773. package/app/.next/static/chunks/app/api/usage/logs/route-7a42dc789702ab06.js +1 -0
  774. package/app/.next/static/chunks/app/api/usage/providers/route-7a42dc789702ab06.js +1 -0
  775. package/app/.next/static/chunks/app/api/usage/report/route-7a42dc789702ab06.js +1 -0
  776. package/app/.next/static/chunks/app/api/usage/request-details/route-7a42dc789702ab06.js +1 -0
  777. package/app/.next/static/chunks/app/api/usage/request-logs/route-7a42dc789702ab06.js +1 -0
  778. package/app/.next/static/chunks/app/api/usage/stats/route-7a42dc789702ab06.js +1 -0
  779. package/app/.next/static/chunks/app/api/usage/stream/route-7a42dc789702ab06.js +1 -0
  780. package/app/.next/static/chunks/app/api/v1/api/chat/route-7a42dc789702ab06.js +1 -0
  781. package/app/.next/static/chunks/app/api/v1/audio/speech/route-7a42dc789702ab06.js +1 -0
  782. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-7a42dc789702ab06.js +1 -0
  783. package/app/.next/static/chunks/app/api/v1/audio/voices/route-7a42dc789702ab06.js +1 -0
  784. package/app/.next/static/chunks/app/api/v1/chat/completions/route-7a42dc789702ab06.js +1 -0
  785. package/app/.next/static/chunks/app/api/v1/embeddings/route-7a42dc789702ab06.js +1 -0
  786. package/app/.next/static/chunks/app/api/v1/images/generations/route-7a42dc789702ab06.js +1 -0
  787. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-7a42dc789702ab06.js +1 -0
  788. package/app/.next/static/chunks/app/api/v1/messages/route-7a42dc789702ab06.js +1 -0
  789. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-7a42dc789702ab06.js +1 -0
  790. package/app/.next/static/chunks/app/api/v1/models/info/route-7a42dc789702ab06.js +1 -0
  791. package/app/.next/static/chunks/app/api/v1/models/route-7a42dc789702ab06.js +1 -0
  792. package/app/.next/static/chunks/app/api/v1/responses/compact/route-7a42dc789702ab06.js +1 -0
  793. package/app/.next/static/chunks/app/api/v1/responses/route-7a42dc789702ab06.js +1 -0
  794. package/app/.next/static/chunks/app/api/v1/route-7a42dc789702ab06.js +1 -0
  795. package/app/.next/static/chunks/app/api/v1/search/route-7a42dc789702ab06.js +1 -0
  796. package/app/.next/static/chunks/app/api/v1/web/fetch/route-7a42dc789702ab06.js +1 -0
  797. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-7a42dc789702ab06.js +1 -0
  798. package/app/.next/static/chunks/app/api/v1beta/models/route-7a42dc789702ab06.js +1 -0
  799. package/app/.next/static/chunks/app/api/version/route-7a42dc789702ab06.js +1 -0
  800. package/app/.next/static/chunks/app/api/version/shutdown/route-7a42dc789702ab06.js +1 -0
  801. package/app/.next/static/chunks/app/api/version/update/route-7a42dc789702ab06.js +1 -0
  802. package/app/.next/static/chunks/app/callback/page-1ac4b69a5de26857.js +1 -0
  803. package/app/.next/static/chunks/app/layout-35b23f7e08fe3978.js +1 -0
  804. package/app/.next/static/chunks/app/login/page-98aaabbf53ef75f6.js +1 -0
  805. package/app/.next/static/chunks/app/manifest.webmanifest/route-7a42dc789702ab06.js +1 -0
  806. package/app/.next/static/chunks/app/page-7a42dc789702ab06.js +1 -0
  807. package/app/.next/static/chunks/{main-1b1bc8be25c3ce13.js → main-436691d9f611641e.js} +3 -3
  808. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-7a42dc789702ab06.js +1 -0
  809. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-7a42dc789702ab06.js +1 -0
  810. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-7a42dc789702ab06.js +1 -0
  811. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-7a42dc789702ab06.js +1 -0
  812. package/app/.next/static/chunks/{webpack-a33c667c0bbf302f.js → webpack-c2bac8d80aa27536.js} +1 -1
  813. package/app/.next/static/css/{081a0afca5a9bd20.css → 0f03023a765dc337.css} +1 -1
  814. package/app/.next/static/css/440b3581c215aef0.css +1 -0
  815. package/app/.next/static/media/material-symbols-outlined.50fdf095.woff2 +0 -0
  816. package/app/open-sse/config/appConstants.js +9 -3
  817. package/app/open-sse/config/kiroConstants.js +262 -0
  818. package/app/open-sse/config/providerModels.js +221 -20
  819. package/app/open-sse/config/providers.js +86 -23
  820. package/app/open-sse/config/runtimeConfig.js +6 -0
  821. package/app/open-sse/executors/base.js +21 -4
  822. package/app/open-sse/executors/codex.js +255 -28
  823. package/app/open-sse/executors/cursor.js +52 -2
  824. package/app/open-sse/executors/default.js +32 -6
  825. package/app/open-sse/executors/gemini-cli.js +26 -4
  826. package/app/open-sse/executors/github.js +16 -2
  827. package/app/open-sse/executors/kiro.js +37 -0
  828. package/app/open-sse/executors/opencode.js +6 -1
  829. package/app/open-sse/executors/qoder.js +420 -43
  830. package/app/open-sse/handlers/chatCore.js +22 -6
  831. package/app/open-sse/handlers/embeddingProviders/gemini.js +15 -3
  832. package/app/open-sse/handlers/imageProviders/codex.js +1 -1
  833. package/app/open-sse/handlers/imageProviders/index.js +1 -0
  834. package/app/open-sse/handlers/imageProviders/openai.js +7 -0
  835. package/app/open-sse/handlers/ttsProviders/genericFormats.js +2 -0
  836. package/app/open-sse/handlers/ttsProviders/minimax.js +59 -0
  837. package/app/open-sse/rtk/autodetect.js +9 -2
  838. package/app/open-sse/rtk/constants.js +2 -1
  839. package/app/open-sse/rtk/filters/buildOutput.js +127 -0
  840. package/app/open-sse/rtk/index.js +36 -0
  841. package/app/open-sse/services/kiroModels.js +332 -0
  842. package/app/open-sse/services/model.js +73 -0
  843. package/app/open-sse/services/qoderModels.js +214 -0
  844. package/app/open-sse/services/tokenRefresh.js +94 -19
  845. package/app/open-sse/services/usage.js +141 -39
  846. package/app/open-sse/translator/helpers/openaiHelper.js +3 -0
  847. package/app/open-sse/translator/request/openai-responses.js +28 -2
  848. package/app/open-sse/translator/request/openai-to-kiro.js +48 -4
  849. package/app/open-sse/translator/response/kiro-to-openai.js +10 -4
  850. package/app/open-sse/translator/response/openai-responses.js +10 -3
  851. package/app/open-sse/translator/response/openai-to-claude.js +59 -16
  852. package/app/open-sse/utils/clientDetector.js +6 -3
  853. package/app/open-sse/utils/debugLog.js +14 -0
  854. package/app/open-sse/utils/proxyFetch.js +101 -1
  855. package/app/open-sse/utils/reasoningContentInjector.js +41 -3
  856. package/app/open-sse/utils/stream.js +15 -3
  857. package/app/open-sse/utils/streamHandler.js +106 -6
  858. package/app/open-sse/utils/toolDeduper.js +49 -0
  859. package/app/open-sse/utils/usageTracking.js +10 -0
  860. package/app/package.json +7 -5
  861. package/app/public/i18n/literals/ar.json +4 -6
  862. package/app/public/i18n/literals/bn.json +4 -6
  863. package/app/public/i18n/literals/cs.json +4 -6
  864. package/app/public/i18n/literals/da.json +4 -6
  865. package/app/public/i18n/literals/de.json +4 -6
  866. package/app/public/i18n/literals/el.json +4 -6
  867. package/app/public/i18n/literals/es.json +4 -6
  868. package/app/public/i18n/literals/fi.json +4 -6
  869. package/app/public/i18n/literals/fr.json +4 -6
  870. package/app/public/i18n/literals/he.json +4 -6
  871. package/app/public/i18n/literals/hi.json +4 -6
  872. package/app/public/i18n/literals/hu.json +4 -6
  873. package/app/public/i18n/literals/id.json +4 -6
  874. package/app/public/i18n/literals/it.json +4 -6
  875. package/app/public/i18n/literals/ja.json +4 -6
  876. package/app/public/i18n/literals/ko.json +4 -6
  877. package/app/public/i18n/literals/nl.json +4 -6
  878. package/app/public/i18n/literals/no.json +4 -6
  879. package/app/public/i18n/literals/pl.json +4 -6
  880. package/app/public/i18n/literals/pt-BR.json +4 -6
  881. package/app/public/i18n/literals/pt-PT.json +4 -6
  882. package/app/public/i18n/literals/ro.json +5 -7
  883. package/app/public/i18n/literals/ru.json +4 -6
  884. package/app/public/i18n/literals/sv.json +4 -6
  885. package/app/public/i18n/literals/th.json +4 -6
  886. package/app/public/i18n/literals/tl.json +4 -6
  887. package/app/public/i18n/literals/tr.json +4 -6
  888. package/app/public/i18n/literals/uk.json +4 -6
  889. package/app/public/i18n/literals/ur.json +4 -6
  890. package/app/public/i18n/literals/vi.json +6 -8
  891. package/app/public/i18n/literals/zh-CN.json +5 -29
  892. package/app/public/i18n/literals/zh-TW.json +4 -6
  893. package/app/public/providers/amp.png +0 -0
  894. package/app/public/providers/deepseek-tui.png +0 -0
  895. package/app/public/providers/jcode.png +0 -0
  896. package/app/public/providers/qoder.png +0 -0
  897. package/app/public/providers/xiaomi-tokenplan.png +0 -0
  898. package/app/server.js +1 -1
  899. package/app/src/lib/oauth/services/qoder.js +216 -0
  900. package/app/src/lib/oauth/services/xai.js +238 -0
  901. package/app/src/lib/updater/updater.js +25 -0
  902. package/app/src/mitm/cert/install.js +123 -153
  903. package/app/src/mitm/config.js +34 -2
  904. package/app/src/mitm/handlers/antigravity.js +2 -1
  905. package/app/src/mitm/logger.js +11 -1
  906. package/app/src/shared/constants/cliTools.js +146 -29
  907. package/app/src/shared/constants/config.js +9 -2
  908. package/app/src/shared/constants/coworkPlugins.js +64 -944
  909. package/app/src/shared/constants/pricing.js +5 -2
  910. package/app/src/shared/constants/providers.js +71 -14
  911. package/app/src/shared/constants/ttsProviders.js +16 -0
  912. package/package.json +1 -1
  913. package/app/.next/server/app/api/cloud/auth/route.js +0 -1
  914. package/app/.next/server/app/api/cloud/auth/route_client-reference-manifest.js +0 -1
  915. package/app/.next/server/app/api/cloud/credentials/update/route.js +0 -1
  916. package/app/.next/server/app/api/cloud/model/resolve/route.js +0 -1
  917. package/app/.next/server/app/api/cloud/model/resolve/route_client-reference-manifest.js +0 -1
  918. package/app/.next/server/app/api/cloud/models/alias/route.js +0 -1
  919. package/app/.next/server/app/api/tunnel/tailscale-login/route.js +0 -1
  920. package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route.js +0 -2
  921. package/app/.next/server/app/api/tunnel/tailscale-start-daemon/route_client-reference-manifest.js +0 -1
  922. package/app/.next/server/chunks/1985.js +0 -23
  923. package/app/.next/server/chunks/2417.js +0 -1
  924. package/app/.next/server/chunks/2506.js +0 -3
  925. package/app/.next/server/chunks/2549.js +0 -1
  926. package/app/.next/server/chunks/2583.js +0 -1
  927. package/app/.next/server/chunks/3646.js +0 -1
  928. package/app/.next/server/chunks/3855.js +0 -1
  929. package/app/.next/server/chunks/4084.js +0 -35
  930. package/app/.next/server/chunks/436.js +0 -1
  931. package/app/.next/server/chunks/4632.js +0 -1
  932. package/app/.next/server/chunks/5296.js +0 -1
  933. package/app/.next/server/chunks/5434.js +0 -1
  934. package/app/.next/server/chunks/5627.js +0 -23
  935. package/app/.next/server/chunks/6114.js +0 -1
  936. package/app/.next/server/chunks/7595.js +0 -1
  937. package/app/.next/server/chunks/7924.js +0 -1
  938. package/app/.next/server/chunks/8491.js +0 -1
  939. package/app/.next/server/chunks/8760.js +0 -1
  940. package/app/.next/server/chunks/8838.js +0 -1
  941. package/app/.next/static/DMu6oAfCAJu7LOUJpB89l/_buildManifest.js +0 -1
  942. package/app/.next/static/chunks/1321-bd1e73c270cd20da.js +0 -1
  943. package/app/.next/static/chunks/1a258343-4878413fb430abba.js +0 -1
  944. package/app/.next/static/chunks/2589-1e9bb7a900f2c1b0.js +0 -3
  945. package/app/.next/static/chunks/5497-c5298509cc559792.js +0 -7
  946. package/app/.next/static/chunks/7844-acf8217cdcb39d9a.js +0 -23
  947. package/app/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/page-b279697882f0ed2a.js +0 -1
  948. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-40604134b500e7ee.js +0 -1
  949. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-de34ae04d784597b.js +0 -1
  950. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-4c2d312eba93f6fa.js +0 -53
  951. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-2a196db0213415bf.js +0 -1
  952. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/page-08e3714a029236f2.js +0 -1
  953. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-b6595aeb7c5b386f.js +0 -1
  954. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-48670924de911859.js +0 -4
  955. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-280dceda93ddf1cb.js +0 -1
  956. package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-d1fe33a3d1c02c4e.js +0 -2
  957. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-6420e67a5bd79512.js +0 -1
  958. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-1a126c66d5e5f689.js +0 -3
  959. package/app/.next/static/chunks/app/(dashboard)/layout-27244e694148142c.js +0 -1
  960. package/app/.next/static/chunks/app/_global-error/page-fb42fdff0ddaa89d.js +0 -1
  961. package/app/.next/static/chunks/app/api/antigravity-app/route-fb42fdff0ddaa89d.js +0 -1
  962. package/app/.next/static/chunks/app/api/antigravity-app-v2/route-fb42fdff0ddaa89d.js +0 -1
  963. package/app/.next/static/chunks/app/api/antigravity-ide/route-fb42fdff0ddaa89d.js +0 -1
  964. package/app/.next/static/chunks/app/api/antigravity-tools/import/route-fb42fdff0ddaa89d.js +0 -1
  965. package/app/.next/static/chunks/app/api/antigravity-tools/import-refresh-tokens/route-fb42fdff0ddaa89d.js +0 -1
  966. package/app/.next/static/chunks/app/api/auth/login/route-fb42fdff0ddaa89d.js +0 -1
  967. package/app/.next/static/chunks/app/api/auth/logout/route-fb42fdff0ddaa89d.js +0 -1
  968. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-fb42fdff0ddaa89d.js +0 -1
  969. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-fb42fdff0ddaa89d.js +0 -1
  970. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-fb42fdff0ddaa89d.js +0 -1
  971. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-fb42fdff0ddaa89d.js +0 -1
  972. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-fb42fdff0ddaa89d.js +0 -1
  973. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-fb42fdff0ddaa89d.js +0 -1
  974. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-fb42fdff0ddaa89d.js +0 -1
  975. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-fb42fdff0ddaa89d.js +0 -1
  976. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-fb42fdff0ddaa89d.js +0 -1
  977. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-fb42fdff0ddaa89d.js +0 -1
  978. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-fb42fdff0ddaa89d.js +0 -1
  979. package/app/.next/static/chunks/app/api/cloud/auth/route-fb42fdff0ddaa89d.js +0 -1
  980. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-fb42fdff0ddaa89d.js +0 -1
  981. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-fb42fdff0ddaa89d.js +0 -1
  982. package/app/.next/static/chunks/app/api/cloud/models/alias/route-fb42fdff0ddaa89d.js +0 -1
  983. package/app/.next/static/chunks/app/api/combos/[id]/route-fb42fdff0ddaa89d.js +0 -1
  984. package/app/.next/static/chunks/app/api/combos/route-fb42fdff0ddaa89d.js +0 -1
  985. package/app/.next/static/chunks/app/api/health/route-fb42fdff0ddaa89d.js +0 -1
  986. package/app/.next/static/chunks/app/api/init/route-fb42fdff0ddaa89d.js +0 -1
  987. package/app/.next/static/chunks/app/api/internal/account-health/route-fb42fdff0ddaa89d.js +0 -1
  988. package/app/.next/static/chunks/app/api/internal/request-detail/route-fb42fdff0ddaa89d.js +0 -1
  989. package/app/.next/static/chunks/app/api/internal/usage/route-fb42fdff0ddaa89d.js +0 -1
  990. package/app/.next/static/chunks/app/api/keys/[id]/reset-usage/route-fb42fdff0ddaa89d.js +0 -1
  991. package/app/.next/static/chunks/app/api/keys/[id]/route-fb42fdff0ddaa89d.js +0 -1
  992. package/app/.next/static/chunks/app/api/keys/[id]/usage/route-fb42fdff0ddaa89d.js +0 -1
  993. package/app/.next/static/chunks/app/api/keys/route-fb42fdff0ddaa89d.js +0 -1
  994. package/app/.next/static/chunks/app/api/locale/route-fb42fdff0ddaa89d.js +0 -1
  995. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-fb42fdff0ddaa89d.js +0 -1
  996. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-fb42fdff0ddaa89d.js +0 -1
  997. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-fb42fdff0ddaa89d.js +0 -1
  998. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-fb42fdff0ddaa89d.js +0 -1
  999. package/app/.next/static/chunks/app/api/models/alias/route-fb42fdff0ddaa89d.js +0 -1
  1000. package/app/.next/static/chunks/app/api/models/availability/route-fb42fdff0ddaa89d.js +0 -1
  1001. package/app/.next/static/chunks/app/api/models/custom/route-fb42fdff0ddaa89d.js +0 -1
  1002. package/app/.next/static/chunks/app/api/models/disabled/route-fb42fdff0ddaa89d.js +0 -1
  1003. package/app/.next/static/chunks/app/api/models/route-fb42fdff0ddaa89d.js +0 -1
  1004. package/app/.next/static/chunks/app/api/models/test/route-fb42fdff0ddaa89d.js +0 -1
  1005. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-fb42fdff0ddaa89d.js +0 -1
  1006. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-fb42fdff0ddaa89d.js +0 -1
  1007. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-fb42fdff0ddaa89d.js +0 -1
  1008. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-fb42fdff0ddaa89d.js +0 -1
  1009. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-fb42fdff0ddaa89d.js +0 -1
  1010. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-fb42fdff0ddaa89d.js +0 -1
  1011. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-fb42fdff0ddaa89d.js +0 -1
  1012. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-fb42fdff0ddaa89d.js +0 -1
  1013. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-fb42fdff0ddaa89d.js +0 -1
  1014. package/app/.next/static/chunks/app/api/pricing/route-fb42fdff0ddaa89d.js +0 -1
  1015. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-fb42fdff0ddaa89d.js +0 -1
  1016. package/app/.next/static/chunks/app/api/provider-nodes/route-fb42fdff0ddaa89d.js +0 -1
  1017. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-fb42fdff0ddaa89d.js +0 -1
  1018. package/app/.next/static/chunks/app/api/providers/[id]/models/route-fb42fdff0ddaa89d.js +0 -1
  1019. package/app/.next/static/chunks/app/api/providers/[id]/route-fb42fdff0ddaa89d.js +0 -1
  1020. package/app/.next/static/chunks/app/api/providers/[id]/test/route-fb42fdff0ddaa89d.js +0 -1
  1021. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-fb42fdff0ddaa89d.js +0 -1
  1022. package/app/.next/static/chunks/app/api/providers/client/route-fb42fdff0ddaa89d.js +0 -1
  1023. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-fb42fdff0ddaa89d.js +0 -1
  1024. package/app/.next/static/chunks/app/api/providers/route-fb42fdff0ddaa89d.js +0 -1
  1025. package/app/.next/static/chunks/app/api/providers/suggested-models/route-fb42fdff0ddaa89d.js +0 -1
  1026. package/app/.next/static/chunks/app/api/providers/test-batch/route-fb42fdff0ddaa89d.js +0 -1
  1027. package/app/.next/static/chunks/app/api/providers/validate/route-fb42fdff0ddaa89d.js +0 -1
  1028. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-fb42fdff0ddaa89d.js +0 -1
  1029. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-fb42fdff0ddaa89d.js +0 -1
  1030. package/app/.next/static/chunks/app/api/proxy-pools/route-fb42fdff0ddaa89d.js +0 -1
  1031. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-fb42fdff0ddaa89d.js +0 -1
  1032. package/app/.next/static/chunks/app/api/settings/database/route-fb42fdff0ddaa89d.js +0 -1
  1033. package/app/.next/static/chunks/app/api/settings/proxy-test/route-fb42fdff0ddaa89d.js +0 -1
  1034. package/app/.next/static/chunks/app/api/settings/require-login/route-fb42fdff0ddaa89d.js +0 -1
  1035. package/app/.next/static/chunks/app/api/settings/route-fb42fdff0ddaa89d.js +0 -1
  1036. package/app/.next/static/chunks/app/api/shutdown/route-fb42fdff0ddaa89d.js +0 -1
  1037. package/app/.next/static/chunks/app/api/tags/route-fb42fdff0ddaa89d.js +0 -1
  1038. package/app/.next/static/chunks/app/api/translator/console-logs/route-fb42fdff0ddaa89d.js +0 -1
  1039. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-fb42fdff0ddaa89d.js +0 -1
  1040. package/app/.next/static/chunks/app/api/translator/load/route-fb42fdff0ddaa89d.js +0 -1
  1041. package/app/.next/static/chunks/app/api/translator/save/route-fb42fdff0ddaa89d.js +0 -1
  1042. package/app/.next/static/chunks/app/api/translator/send/route-fb42fdff0ddaa89d.js +0 -1
  1043. package/app/.next/static/chunks/app/api/translator/translate/route-fb42fdff0ddaa89d.js +0 -1
  1044. package/app/.next/static/chunks/app/api/tunnel/disable/route-fb42fdff0ddaa89d.js +0 -1
  1045. package/app/.next/static/chunks/app/api/tunnel/enable/route-fb42fdff0ddaa89d.js +0 -1
  1046. package/app/.next/static/chunks/app/api/tunnel/status/route-fb42fdff0ddaa89d.js +0 -1
  1047. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-fb42fdff0ddaa89d.js +0 -1
  1048. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-fb42fdff0ddaa89d.js +0 -1
  1049. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-fb42fdff0ddaa89d.js +0 -1
  1050. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-fb42fdff0ddaa89d.js +0 -1
  1051. package/app/.next/static/chunks/app/api/tunnel/tailscale-login/route-fb42fdff0ddaa89d.js +0 -1
  1052. package/app/.next/static/chunks/app/api/tunnel/tailscale-start-daemon/route-fb42fdff0ddaa89d.js +0 -1
  1053. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-fb42fdff0ddaa89d.js +0 -1
  1054. package/app/.next/static/chunks/app/api/usage/chart/route-fb42fdff0ddaa89d.js +0 -1
  1055. package/app/.next/static/chunks/app/api/usage/history/route-fb42fdff0ddaa89d.js +0 -1
  1056. package/app/.next/static/chunks/app/api/usage/logs/route-fb42fdff0ddaa89d.js +0 -1
  1057. package/app/.next/static/chunks/app/api/usage/providers/route-fb42fdff0ddaa89d.js +0 -1
  1058. package/app/.next/static/chunks/app/api/usage/report/route-fb42fdff0ddaa89d.js +0 -1
  1059. package/app/.next/static/chunks/app/api/usage/request-details/route-fb42fdff0ddaa89d.js +0 -1
  1060. package/app/.next/static/chunks/app/api/usage/request-logs/route-fb42fdff0ddaa89d.js +0 -1
  1061. package/app/.next/static/chunks/app/api/usage/stats/route-fb42fdff0ddaa89d.js +0 -1
  1062. package/app/.next/static/chunks/app/api/usage/stream/route-fb42fdff0ddaa89d.js +0 -1
  1063. package/app/.next/static/chunks/app/api/v1/api/chat/route-fb42fdff0ddaa89d.js +0 -1
  1064. package/app/.next/static/chunks/app/api/v1/audio/speech/route-fb42fdff0ddaa89d.js +0 -1
  1065. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-fb42fdff0ddaa89d.js +0 -1
  1066. package/app/.next/static/chunks/app/api/v1/audio/voices/route-fb42fdff0ddaa89d.js +0 -1
  1067. package/app/.next/static/chunks/app/api/v1/chat/completions/route-fb42fdff0ddaa89d.js +0 -1
  1068. package/app/.next/static/chunks/app/api/v1/embeddings/route-fb42fdff0ddaa89d.js +0 -1
  1069. package/app/.next/static/chunks/app/api/v1/images/generations/route-fb42fdff0ddaa89d.js +0 -1
  1070. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-fb42fdff0ddaa89d.js +0 -1
  1071. package/app/.next/static/chunks/app/api/v1/messages/route-fb42fdff0ddaa89d.js +0 -1
  1072. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-fb42fdff0ddaa89d.js +0 -1
  1073. package/app/.next/static/chunks/app/api/v1/models/info/route-fb42fdff0ddaa89d.js +0 -1
  1074. package/app/.next/static/chunks/app/api/v1/models/route-fb42fdff0ddaa89d.js +0 -1
  1075. package/app/.next/static/chunks/app/api/v1/responses/compact/route-fb42fdff0ddaa89d.js +0 -1
  1076. package/app/.next/static/chunks/app/api/v1/responses/route-fb42fdff0ddaa89d.js +0 -1
  1077. package/app/.next/static/chunks/app/api/v1/route-fb42fdff0ddaa89d.js +0 -1
  1078. package/app/.next/static/chunks/app/api/v1/search/route-fb42fdff0ddaa89d.js +0 -1
  1079. package/app/.next/static/chunks/app/api/v1/web/fetch/route-fb42fdff0ddaa89d.js +0 -1
  1080. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-fb42fdff0ddaa89d.js +0 -1
  1081. package/app/.next/static/chunks/app/api/v1beta/models/route-fb42fdff0ddaa89d.js +0 -1
  1082. package/app/.next/static/chunks/app/api/version/route-fb42fdff0ddaa89d.js +0 -1
  1083. package/app/.next/static/chunks/app/api/version/update/route-fb42fdff0ddaa89d.js +0 -1
  1084. package/app/.next/static/chunks/app/callback/page-2d6169978b33b3bc.js +0 -1
  1085. package/app/.next/static/chunks/app/layout-fa54526b5d7255bf.js +0 -1
  1086. package/app/.next/static/chunks/app/login/page-69f6d8a6f709da51.js +0 -1
  1087. package/app/.next/static/chunks/app/manifest.webmanifest/route-fb42fdff0ddaa89d.js +0 -1
  1088. package/app/.next/static/chunks/app/page-fb42fdff0ddaa89d.js +0 -1
  1089. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-fb42fdff0ddaa89d.js +0 -1
  1090. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-fb42fdff0ddaa89d.js +0 -1
  1091. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-fb42fdff0ddaa89d.js +0 -1
  1092. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-fb42fdff0ddaa89d.js +0 -1
  1093. package/app/.next/static/css/5903295427476216.css +0 -1
  1094. /package/app/.next/static/{DMu6oAfCAJu7LOUJpB89l → YEhAtVGU-1J8HgdJmmpjP}/_ssgManifest.js +0 -0
@@ -68,6 +68,9 @@ export const MODEL_PRICING = {
68
68
  "gemini-3-pro-preview": { input: 2.00, output: 12.00, cached: 0.25, reasoning: 18.00, cache_creation: 2.00 },
69
69
  "gemini-3.1-pro-low": { input: 2.00, output: 12.00, cached: 0.25, reasoning: 18.00, cache_creation: 2.00 },
70
70
  "gemini-3.1-pro-high": { input: 4.00, output: 18.00, cached: 0.50, reasoning: 27.00, cache_creation: 4.00 },
71
+ "gemini-pro-agent": { input: 4.00, output: 18.00, cached: 0.50, reasoning: 27.00, cache_creation: 4.00 },
72
+ "gemini-3-flash-agent": { input: 0.50, output: 3.00, cached: 0.03, reasoning: 4.50, cache_creation: 0.50 },
73
+ "gemini-3.5-flash-low": { input: 0.50, output: 3.00, cached: 0.03, reasoning: 4.50, cache_creation: 0.50 },
71
74
  "gemini-3-flash": { input: 0.50, output: 3.00, cached: 0.03, reasoning: 4.50, cache_creation: 0.50 },
72
75
  "gemini-2.5-pro": { input: 2.00, output: 12.00, cached: 0.25, reasoning: 18.00, cache_creation: 2.00 },
73
76
  "gemini-2.5-flash": { input: 0.30, output: 2.50, cached: 0.03, reasoning: 3.75, cache_creation: 0.30 },
@@ -155,7 +158,7 @@ export const PATTERN_PRICING = [
155
158
  { pattern: "claude-haiku-*", pricing: { input: 1.00, output: 5.00, cached: 0.10, reasoning: 5.00, cache_creation: 1.25 } },
156
159
  { pattern: "claude-*", pricing: { input: 3.00, output: 15.00, cached: 0.30, reasoning: 15.00, cache_creation: 3.75 } },
157
160
 
158
- // --- Gemini (specific trước, chung sau) ---
161
+ // --- Gemini (specific first, generic last) ---
159
162
  { pattern: "gemini-*-flash-lite", pricing: { input: 0.15, output: 1.25, cached: 0.015, reasoning: 1.875, cache_creation: 0.15 } },
160
163
  { pattern: "gemini-*-flash", pricing: { input: 0.30, output: 2.50, cached: 0.03, reasoning: 3.75, cache_creation: 0.30 } },
161
164
  { pattern: "gemini-*-pro", pricing: { input: 2.00, output: 12.00, cached: 0.25, reasoning: 18.00, cache_creation: 2.00 } },
@@ -163,7 +166,7 @@ export const PATTERN_PRICING = [
163
166
  { pattern: "gemini-2.5-*", pricing: { input: 0.30, output: 2.50, cached: 0.03, reasoning: 3.75, cache_creation: 0.30 } },
164
167
  { pattern: "gemini-*", pricing: { input: 0.50, output: 3.00, cached: 0.03, reasoning: 4.50, cache_creation: 0.50 } },
165
168
 
166
- // --- GPT (specific trước, chung sau) ---
169
+ // --- GPT (specific first, generic last) ---
167
170
  { pattern: "gpt-5.3-*", pricing: { input: 6.00, output: 24.00, cached: 3.00, reasoning: 36.00, cache_creation: 6.00 } },
168
171
  { pattern: "gpt-5.2-*", pricing: { input: 5.00, output: 20.00, cached: 2.50, reasoning: 30.00, cache_creation: 5.00 } },
169
172
  { pattern: "gpt-5.1-*", pricing: { input: 4.00, output: 16.00, cached: 2.00, reasoning: 24.00, cache_creation: 4.00 } },
@@ -1,14 +1,16 @@
1
1
  // Provider definitions
2
2
 
3
+ const RISK_NOTICE = "⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";
4
+
3
5
  // Free Providers (kiro first, iflow last)
4
6
  export const FREE_PROVIDERS = {
5
- kiro: { id: "kiro", alias: "kr", name: "Kiro AI", icon: "psychology_alt", color: "#FF6B35" },
6
- qwen: { id: "qwen", alias: "qw", name: "Qwen Code", icon: "psychology", color: "#10B981", deprecated: true, deprecationNotice: "Qwen OAuth free tier was discontinued by Alibaba on 2026-04-15. New connections will not work.", serviceKinds: ["llm", "tts", "stt"], ttsConfig: { baseUrl: "http://localhost:8000/v1/audio/speech", authType: "none", authHeader: "none", format: "openai", models: [{ id: "qwen3-tts", name: "Qwen3 TTS" }] } },
7
- "gemini-cli": { id: "gemini-cli", alias: "gc", name: "Gemini CLI", icon: "terminal", color: "#4285F4", deprecated: true, deprecationNotice: "Gemini CLI is designed exclusively for Gemini CLI. Using it with other tools (OpenClaw, Claude, Codex...) may result in account restrictions or bans." },
7
+ kiro: { id: "kiro", alias: "kr", name: "Kiro AI", icon: "psychology_alt", color: "#FF6B35", website: "https://kiro.dev", notice: { signupUrl: "https://kiro.dev" } },
8
+ qwen: { id: "qwen", alias: "qw", name: "Qwen Code", icon: "psychology", color: "#10B981", deprecated: true, deprecationNotice: "Qwen OAuth free tier was discontinued by Alibaba on 2026-04-15. New connections will not work.", website: "https://chat.qwen.ai", notice: { signupUrl: "https://chat.qwen.ai" }, serviceKinds: ["llm", "tts", "stt"], ttsConfig: { baseUrl: "http://localhost:8000/v1/audio/speech", authType: "none", authHeader: "none", format: "openai", models: [{ id: "qwen3-tts", name: "Qwen3 TTS" }] } },
9
+ "gemini-cli": { id: "gemini-cli", alias: "gc", name: "Gemini CLI", icon: "terminal", color: "#4285F4", deprecated: true, deprecationNotice: "Gemini CLI is designed exclusively for Gemini CLI. Using it with other tools (OpenClaw, Claude, Codex...) may result in account restrictions or bans.", website: "https://github.com/google-gemini/gemini-cli", notice: { signupUrl: "https://github.com/google-gemini/gemini-cli" } },
8
10
  // gitlab: { id: "gitlab", alias: "gl", name: "GitLab Duo", icon: "code", color: "#FC6D26" },
9
11
  // codebuddy: { id: "codebuddy", alias: "cb", name: "CodeBuddy", icon: "smart_toy", color: "#006EFF" },
10
12
  // qoder: { id: "qoder", alias: "qd", name: "Qoder AI", icon: "water_drop", color: "#EC4899" },
11
- iflow: { id: "iflow", alias: "if", name: "iFlow AI", icon: "water_drop", color: "#6366F1" },
13
+ iflow: { id: "iflow", alias: "if", name: "iFlow AI", icon: "water_drop", color: "#6366F1", website: "https://iflow.cn", notice: { signupUrl: "https://iflow.cn" } },
12
14
  opencode: { id: "opencode", alias: "oc", name: "OpenCode Free", icon: "terminal", color: "#E87040", textIcon: "OC", noAuth: true, passthroughModels: true, modelsFetcher: { url: "https://opencode.ai/zen/v1/models", type: "opencode-free" } },
13
15
  };
14
16
 
@@ -39,13 +41,25 @@ export const THINKING_CONFIG = {
39
41
  }
40
42
  };
41
43
 
44
+ const MINIMAX_TTS_MODELS = [
45
+ { id: "speech-2.8-hd", name: "Speech 2.8 HD" },
46
+ { id: "speech-2.8-turbo", name: "Speech 2.8 Turbo" },
47
+ { id: "speech-2.6-hd", name: "Speech 2.6 HD" },
48
+ { id: "speech-2.6-turbo", name: "Speech 2.6 Turbo" },
49
+ { id: "speech-02-hd", name: "Speech 02 HD" },
50
+ { id: "speech-02-turbo", name: "Speech 02 Turbo" },
51
+ { id: "speech-01-hd", name: "Speech 01 HD" },
52
+ { id: "speech-01-turbo", name: "Speech 01 Turbo" },
53
+ ];
54
+
42
55
  // OAuth Providers
43
56
  export const OAUTH_PROVIDERS = {
44
- claude: { id: "claude", alias: "cc", name: "Claude Code", icon: "smart_toy", color: "#D97757" },
45
- antigravity: { id: "antigravity", alias: "ag", name: "Antigravity", icon: "rocket_launch", color: "#F59E0B", deprecated: true, deprecationNotice: "AG is designed exclusively for Antigravity IDE. Using it with other tools (OpenClaw, Claude, Codex...) may result in account restrictions or bans." },
46
- codex: { id: "codex", alias: "cx", name: "OpenAI Codex", icon: "code", color: "#3B82F6", thinkingConfig: THINKING_CONFIG.effort, serviceKinds: ["llm", "image"], kindNotice: { image: "Requires a ChatGPT Plus (or higher) account. Free accounts are not supported for image generation." } },
47
- github: { id: "github", alias: "gh", name: "GitHub Copilot", icon: "code", color: "#333333", serviceKinds: ["llm", "embedding"], embeddingConfig: { baseUrl: "https://models.github.ai/inference/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "text-embedding-3-small", name: "Text Embedding 3 Small (GitHub)", dimensions: 1536 }, { id: "text-embedding-3-large", name: "Text Embedding 3 Large (GitHub)", dimensions: 3072 }] } },
48
- cursor: { id: "cursor", alias: "cu", name: "Cursor IDE", icon: "edit_note", color: "#00D4AA" },
57
+ claude: { id: "claude", alias: "cc", name: "Claude Code", icon: "smart_toy", color: "#D97757", website: "https://claude.ai", notice: { signupUrl: "https://claude.ai" } },
58
+ antigravity: { id: "antigravity", alias: "ag", name: "Antigravity", icon: "rocket_launch", color: "#F59E0B", deprecated: true, deprecationNotice: "AG is designed exclusively for Antigravity IDE. Using it with other tools (OpenClaw, Claude, Codex...) may result in account restrictions or bans.", website: "https://antigravity.google", notice: { signupUrl: "https://antigravity.google" } },
59
+ codex: { id: "codex", alias: "cx", name: "OpenAI Codex", icon: "code", color: "#3B82F6", thinkingConfig: THINKING_CONFIG.effort, serviceKinds: ["llm", "image"], kindNotice: { image: "Requires a ChatGPT Plus (or higher) account. Free accounts are not supported for image generation." }, website: "https://chatgpt.com/codex", notice: { signupUrl: "https://chatgpt.com/codex" } },
60
+ github: { id: "github", alias: "gh", name: "GitHub Copilot", icon: "code", color: "#333333", serviceKinds: ["llm", "embedding"], embeddingConfig: { baseUrl: "https://models.github.ai/inference/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "text-embedding-3-small", name: "Text Embedding 3 Small (GitHub)", dimensions: 1536 }, { id: "text-embedding-3-large", name: "Text Embedding 3 Large (GitHub)", dimensions: 3072 }] }, website: "https://github.com/features/copilot", notice: { signupUrl: "https://github.com/features/copilot" } },
61
+ cursor: { id: "cursor", alias: "cu", name: "Cursor IDE", icon: "edit_note", color: "#00D4AA", website: "https://cursor.com", notice: { signupUrl: "https://cursor.com" } },
62
+ xai: { id: "xai", alias: "xai", name: "xAI (Grok)", icon: "auto_awesome", color: "#1DA1F2", textIcon: "XA", website: "https://x.ai", notice: { apiKeyUrl: "https://console.x.ai", signupUrl: "https://x.ai" }, serviceKinds: ["llm", "imageToText", "webSearch", "image"], searchViaChat: { defaultModel: "grok-4.20-reasoning", pricingUrl: "https://x.ai/api#pricing" }, authModes: ["oauth", "apikey"], hasOAuth: true },
49
63
  // "kimi-coding": { id: "kimi-coding", alias: "kmc", name: "Kimi Coding", icon: "psychology", color: "#1E40AF", textIcon: "KC" },
50
64
  kilocode: { id: "kilocode", alias: "kc", name: "Kilo Code", icon: "code", color: "#FF6B35", textIcon: "KC" },
51
65
  cline: { id: "cline", alias: "cl", name: "Cline", icon: "smart_toy", color: "#5B9BD5", textIcon: "CL" },
@@ -56,20 +70,23 @@ export const APIKEY_PROVIDERS = {
56
70
  glm: { id: "glm", alias: "glm", name: "GLM Coding", icon: "code", color: "#2563EB", textIcon: "GL", website: "https://open.bigmodel.cn", notice: { apiKeyUrl: "https://open.bigmodel.cn/usercenter/apikeys" } },
57
71
  "glm-cn": { id: "glm-cn", alias: "glm-cn", name: "GLM (China)", icon: "code", color: "#DC2626", textIcon: "GC", website: "https://open.bigmodel.cn", notice: { apiKeyUrl: "https://open.bigmodel.cn/usercenter/apikeys" } },
58
72
  kimi: { id: "kimi", alias: "kimi", name: "Kimi", icon: "psychology", color: "#1E3A8A", textIcon: "KM", website: "https://kimi.moonshot.cn", notice: { apiKeyUrl: "https://platform.moonshot.ai/console/api-keys" }, serviceKinds: ["llm", "webSearch"], searchViaChat: { defaultModel: "kimi-k2.5", pricingUrl: "https://platform.moonshot.ai/docs/pricing/chat" } },
59
- minimax: { id: "minimax", alias: "minimax", name: "Minimax Coding", icon: "memory", color: "#7C3AED", textIcon: "MM", website: "https://www.minimaxi.com", notice: { apiKeyUrl: "https://platform.minimaxi.com/user-center/basic-information/interface-key" }, serviceKinds: ["llm", "image", "imageToText", "webSearch"], searchViaChat: { defaultModel: "MiniMax-M2.7", pricingUrl: "https://www.minimaxi.com/document/price" } },
60
- "minimax-cn": { id: "minimax-cn", alias: "minimax-cn", name: "Minimax (China)", icon: "memory", color: "#DC2626", textIcon: "MC", website: "https://www.minimaxi.com", notice: { apiKeyUrl: "https://platform.minimaxi.com/user-center/basic-information/interface-key" } },
73
+ minimax: { id: "minimax", alias: "minimax", name: "Minimax Coding", icon: "memory", color: "#7C3AED", textIcon: "MM", website: "https://www.minimaxi.com", notice: { apiKeyUrl: "https://platform.minimaxi.com/user-center/basic-information/interface-key" }, serviceKinds: ["llm", "image", "imageToText", "webSearch", "tts"], searchViaChat: { defaultModel: "MiniMax-M2.7", pricingUrl: "https://www.minimaxi.com/document/price" }, ttsConfig: { baseUrl: "https://api.minimax.io/v1/t2a_v2", authType: "apikey", authHeader: "bearer", format: "minimax-tts", models: MINIMAX_TTS_MODELS } },
74
+ "minimax-cn": { id: "minimax-cn", alias: "minimax-cn", name: "Minimax (China)", icon: "memory", color: "#DC2626", textIcon: "MC", website: "https://www.minimaxi.com", notice: { apiKeyUrl: "https://platform.minimaxi.com/user-center/basic-information/interface-key" }, serviceKinds: ["llm", "tts"], ttsConfig: { baseUrl: "https://api.minimaxi.com/v1/t2a_v2", authType: "apikey", authHeader: "bearer", format: "minimax-tts", models: MINIMAX_TTS_MODELS } },
61
75
  alicode: { id: "alicode", alias: "alicode", name: "Alibaba", icon: "cloud", color: "#FF6A00", textIcon: "ALi", website: "https://bailian.console.aliyun.com", notice: { apiKeyUrl: "https://bailian.console.aliyun.com/?apiKey=1" } },
62
76
  "alicode-intl": { id: "alicode-intl", alias: "alicode-intl", name: "Alibaba Intl", icon: "cloud", color: "#FF6A00", textIcon: "ALi", website: "https://modelstudio.console.alibabacloud.com", notice: { apiKeyUrl: "https://modelstudio.console.alibabacloud.com/?apiKey=1" } },
63
77
  "xiaomi-mimo": { id: "xiaomi-mimo", alias: "mimo", name: "Xiaomi MiMo", icon: "smart_toy", color: "#FF6900", textIcon: "XM", website: "https://xiaomimimo.com", notice: { apiKeyUrl: "https://xiaomimimo.com" } },
78
+ "xiaomi-tokenplan": { id: "xiaomi-tokenplan", alias: "xmtp", name: "Xiaomi MiMo (Token Plan)", icon: "smart_toy", color: "#FF6700", textIcon: "XT", website: "https://mimo.xiaomi.com", notice: { text: "Xiaomi MiMo Token Plan subscription (API key starts with tp-). Token Plan keys are cluster-specific — select the region matching your subscription.", apiKeyUrl: "https://mimo.xiaomi.com" }, hasProviderSpecificData: true, regions: [{ id: "sgp", label: "Singapore", baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1" }, { id: "cn", label: "China", baseUrl: "https://token-plan-cn.xiaomimimo.com/v1" }, { id: "ams", label: "Europe", baseUrl: "https://token-plan-ams.xiaomimimo.com/v1" }], defaultRegion: "sgp" },
64
79
  "volcengine-ark": { id: "volcengine-ark", alias: "ark", name: "Volcengine Ark", icon: "cloud", color: "#1677FF", textIcon: "ARK", website: "https://ark.cn-beijing.volces.com", notice: { apiKeyUrl: "https://console.volcengine.com/ark/region:ark+cn-beijing/apiKey" } },
65
- openai: { id: "openai", alias: "openai", name: "OpenAI", icon: "auto_awesome", color: "#10A37F", textIcon: "OA", website: "https://platform.openai.com", notice: { apiKeyUrl: "https://platform.openai.com/api-keys" }, serviceKinds: ["llm", "embedding", "tts", "image", "imageToText", "webSearch"], thinkingConfig: THINKING_CONFIG.effort, searchViaChat: { defaultModel: "gpt-4o-mini", pricingUrl: "https://openai.com/api/pricing" }, ttsConfig: { baseUrl: "https://api.openai.com/v1/audio/speech", authType: "apikey", authHeader: "bearer", format: "openai", models: [{ id: "tts-1", name: "TTS-1" }, { id: "tts-1-hd", name: "TTS-1 HD" }, { id: "gpt-4o-mini-tts", name: "GPT-4o Mini TTS" }] }, embeddingConfig: { baseUrl: "https://api.openai.com/v1/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "text-embedding-3-small", name: "Text Embedding 3 Small", dimensions: 1536 }, { id: "text-embedding-3-large", name: "Text Embedding 3 Large", dimensions: 3072 }, { id: "text-embedding-ada-002", name: "Text Embedding Ada 002", dimensions: 1536 }] } },
80
+ openai: { id: "openai", alias: "openai", name: "OpenAI", icon: "auto_awesome", color: "#10A37F", textIcon: "OA", website: "https://platform.openai.com", notice: { apiKeyUrl: "https://platform.openai.com/api-keys" }, serviceKinds: ["llm", "embedding", "tts", "stt", "image", "imageToText", "webSearch"], thinkingConfig: THINKING_CONFIG.effort, searchViaChat: { defaultModel: "gpt-4o-mini", pricingUrl: "https://openai.com/api/pricing" }, ttsConfig: { baseUrl: "https://api.openai.com/v1/audio/speech", authType: "apikey", authHeader: "bearer", format: "openai", models: [{ id: "tts-1", name: "TTS-1" }, { id: "tts-1-hd", name: "TTS-1 HD" }, { id: "gpt-4o-mini-tts", name: "GPT-4o Mini TTS" }] }, sttConfig: { baseUrl: "https://api.openai.com/v1/audio/transcriptions", authType: "apikey", authHeader: "bearer", format: "openai", models: [{ id: "whisper-1", name: "Whisper 1" }, { id: "gpt-4o-transcribe", name: "GPT-4o Transcribe" }, { id: "gpt-4o-mini-transcribe", name: "GPT-4o Mini Transcribe" }] }, embeddingConfig: { baseUrl: "https://api.openai.com/v1/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "text-embedding-3-small", name: "Text Embedding 3 Small", dimensions: 1536 }, { id: "text-embedding-3-large", name: "Text Embedding 3 Large", dimensions: 3072 }, { id: "text-embedding-ada-002", name: "Text Embedding Ada 002", dimensions: 1536 }] } },
81
+ "vercel-ai-gateway": { id: "vercel-ai-gateway", alias: "vercel", name: "Vercel AI Gateway", icon: "deployed_code", color: "#111827", textIcon: "VG", website: "https://vercel.com/ai-gateway", notice: { text: "Unified OpenAI-compatible endpoint from Vercel. Use your AI Gateway API key, then pick models with provider/model IDs like anthropic/claude-sonnet-4.6 or openai/gpt-5.4.", apiKeyUrl: "https://vercel.com/dashboard/~/ai-gateway" }, passthroughModels: true, serviceKinds: ["llm"] },
66
82
  anthropic: { id: "anthropic", alias: "anthropic", name: "Anthropic", icon: "smart_toy", color: "#D97757", textIcon: "AN", website: "https://console.anthropic.com", notice: { apiKeyUrl: "https://console.anthropic.com/settings/keys" }, serviceKinds: ["llm", "imageToText"] },
67
83
  "opencode-go": { id: "opencode-go", alias: "ocg", name: "OpenCode Go", icon: "terminal", color: "#E87040", textIcon: "OC", website: "https://opencode.ai/auth", notice: { text: "OpenCode Go subscription: $5/mo (then $10/mo). Access to Kimi, GLM, Qwen, MiMo, MiniMax models.", apiKeyUrl: "https://opencode.ai/auth" } },
68
84
  azure: { id: "azure", alias: "azure", name: "Azure OpenAI", icon: "cloud", color: "#0078D4", textIcon: "AZ", website: "https://azure.microsoft.com/en-us/products/ai-services/openai-service", notice: { apiKeyUrl: "https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI" }, hasProviderSpecificData: true },
69
85
 
70
86
  deepseek: { id: "deepseek", alias: "ds", name: "DeepSeek", icon: "bolt", color: "#4D6BFE", textIcon: "DS", website: "https://deepseek.com", notice: { apiKeyUrl: "https://platform.deepseek.com/api_keys" } },
71
- groq: { id: "groq", alias: "groq", name: "Groq", icon: "speed", color: "#F55036", textIcon: "GQ", website: "https://groq.com", notice: { apiKeyUrl: "https://console.groq.com/keys" }, serviceKinds: ["llm", "imageToText"] },
72
- xai: { id: "xai", alias: "xai", name: "xAI (Grok)", icon: "auto_awesome", color: "#1DA1F2", textIcon: "XA", website: "https://x.ai", notice: { apiKeyUrl: "https://console.x.ai" }, serviceKinds: ["llm", "imageToText", "webSearch"], searchViaChat: { defaultModel: "grok-4.20-reasoning", pricingUrl: "https://x.ai/api#pricing" } },
87
+ commandcode: { id: "commandcode", alias: "cmc", name: "Command Code", icon: "smart_toy", color: "#000000", textIcon: "CC", website: "https://commandcode.ai", notice: { text: "Use your CommandCode CLI API key (starts with user_...) from ~/.commandcode/auth.json or commandcode.ai/studio.", apiKeyUrl: "https://commandcode.ai/studio" } },
88
+ groq: { id: "groq", alias: "groq", name: "Groq", icon: "speed", color: "#F55036", textIcon: "GQ", website: "https://groq.com", notice: { apiKeyUrl: "https://console.groq.com/keys" }, serviceKinds: ["llm", "imageToText", "stt"], sttConfig: { baseUrl: "https://api.groq.com/openai/v1/audio/transcriptions", authType: "apikey", authHeader: "bearer", format: "openai", models: [{ id: "whisper-large-v3", name: "Whisper Large v3" }, { id: "whisper-large-v3-turbo", name: "Whisper Large v3 Turbo" }, { id: "distil-whisper-large-v3-en", name: "Distil Whisper Large v3 EN" }] } },
89
+ xai: { id: "xai", alias: "xai", name: "xAI (Grok)", icon: "auto_awesome", color: "#1DA1F2", textIcon: "XA", website: "https://x.ai", notice: { apiKeyUrl: "https://console.x.ai" }, serviceKinds: ["llm", "imageToText", "webSearch", "image"], searchViaChat: { defaultModel: "grok-4.20-reasoning", pricingUrl: "https://x.ai/api#pricing" }, authModes: ["oauth", "apikey"], hasOAuth: true },
73
90
  mistral: { id: "mistral", alias: "mistral", name: "Mistral", icon: "air", color: "#FF7000", textIcon: "MI", website: "https://mistral.ai", notice: { apiKeyUrl: "https://console.mistral.ai/api-keys" }, serviceKinds: ["llm", "imageToText", "embedding"], embeddingConfig: { baseUrl: "https://api.mistral.ai/v1/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "mistral-embed", name: "Mistral Embed", dimensions: 1024 }] } },
74
91
  perplexity: { id: "perplexity", alias: "pplx", name: "Perplexity", icon: "search", color: "#20808D", textIcon: "PP", website: "https://www.perplexity.ai", notice: { apiKeyUrl: "https://www.perplexity.ai/settings/api" }, serviceKinds: ["llm", "webSearch"], searchConfig: { baseUrl: "https://api.perplexity.ai/search", method: "POST", authType: "apikey", authHeader: "bearer", costPerQuery: 0.005, freeMonthlyQuota: 0, searchTypes: ["web"], defaultMaxResults: 5, maxMaxResults: 20, timeoutMs: 10000, cacheTTLMs: 300000 } },
75
92
  together: { id: "together", alias: "together", name: "Together AI", icon: "group_work", color: "#0F6FFF", textIcon: "TG", website: "https://www.together.ai", notice: { apiKeyUrl: "https://api.together.xyz/settings/api-keys" }, serviceKinds: ["llm", "embedding"], embeddingConfig: { baseUrl: "https://api.together.xyz/v1/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "BAAI/bge-large-en-v1.5", name: "BGE Large EN v1.5", dimensions: 1024 }, { id: "togethercomputer/m2-bert-80M-8k-retrieval", name: "M2 BERT 80M 8K", dimensions: 768 }] } },
@@ -97,6 +114,37 @@ export const APIKEY_PROVIDERS = {
97
114
  huggingface: { id: "huggingface", alias: "hf", name: "HuggingFace", icon: "face", color: "#FFD21E", textIcon: "HF", website: "https://huggingface.co", notice: { apiKeyUrl: "https://huggingface.co/settings/tokens" }, serviceKinds: ["image", "imageToText", "tts"], hiddenKinds: ["tts"], ttsConfig: { baseUrl: "https://api-inference.huggingface.co/models", authType: "apikey", authHeader: "bearer", format: "huggingface-tts", models: [{ id: "facebook/mms-tts-eng", name: "MMS TTS English" }, { id: "microsoft/speecht5_tts", name: "SpeechT5 TTS" }] } },
98
115
  blackbox: { id: "blackbox", alias: "bb", name: "Blackbox AI", icon: "smart_toy", color: "#5B5FEF", textIcon: "BB", website: "https://blackbox.ai", notice: { apiKeyUrl: "https://www.blackbox.ai/api-management" }, serviceKinds: ["llm"] },
99
116
  chutes: { id: "chutes", alias: "ch", name: "Chutes AI", icon: "water_drop", color: "#ffffffff", textIcon: "CH", website: "https://chutes.ai", notice: { apiKeyUrl: "https://chutes.ai/app/api" } },
117
+ // === Free-tier LLM providers (synced from OmniRoute) — DISABLED in UI ===
118
+ // Uncomment to re-enable. Backend config (PROVIDERS, PROVIDER_MODELS, ALIAS_TO_PROVIDER_ID) remains active.
119
+ // agentrouter: { id: "agentrouter", alias: "agentrouter", name: "AgentRouter", icon: "router", color: "#10B981", textIcon: "AR", website: "https://agentrouter.org", notice: { text: "$200 free credits on signup - multi-model routing gateway.", apiKeyUrl: "https://agentrouter.org/register" }, passthroughModels: true, serviceKinds: ["llm"] },
120
+ // aimlapi: { id: "aimlapi", alias: "aiml", name: "AI/ML API", icon: "hub", color: "#6366F1", textIcon: "AI", website: "https://aimlapi.com", notice: { text: "$0.025/day free — 200+ models (GPT-4o, Claude, Gemini, Llama) via single endpoint.", apiKeyUrl: "https://aimlapi.com/app/keys" }, passthroughModels: true, serviceKinds: ["llm", "image"] },
121
+ // novita: { id: "novita", alias: "novita", name: "Novita AI", icon: "auto_awesome", color: "#FF4081", textIcon: "NV", website: "https://novita.ai", notice: { text: "$0.50 trial credits on signup (valid ~1 year).", apiKeyUrl: "https://novita.ai/settings/key-management" }, passthroughModels: true, serviceKinds: ["llm", "image"] },
122
+ // modal: { id: "modal", alias: "mdl", name: "Modal", icon: "cloud_queue", color: "#7C3AED", textIcon: "MDL", website: "https://modal.com", notice: { text: "$30/month free credits for new accounts. Self-hosted OpenAI-compatible apps on /v1.", apiKeyUrl: "https://modal.com/settings/tokens" }, passthroughModels: true, serviceKinds: ["llm"], hasProviderSpecificData: true },
123
+ // reka: { id: "reka", alias: "reka", name: "Reka", icon: "auto_awesome", color: "#111827", textIcon: "RK", website: "https://docs.reka.ai", notice: { text: "$10/month recurring free API credits.", apiKeyUrl: "https://platform.reka.ai/apikeys" }, serviceKinds: ["llm"] },
124
+ // nlpcloud: { id: "nlpcloud", alias: "nlpc", name: "NLP Cloud", icon: "psychology", color: "#2196F3", textIcon: "NLPC", website: "https://docs.nlpcloud.com", notice: { text: "Trial credits for new accounts.", apiKeyUrl: "https://nlpcloud.com/home/token" }, serviceKinds: ["llm"] },
125
+ // bazaarlink: { id: "bazaarlink", alias: "bzl", name: "BazaarLink", icon: "storefront", color: "#6366F1", textIcon: "BZ", website: "https://bazaarlink.ai", notice: { text: "Use model 'auto:free' for zero-cost inference. OpenAI-compatible.", apiKeyUrl: "https://bazaarlink.ai" }, serviceKinds: ["llm"] },
126
+ // completions: { id: "completions", alias: "cpl", name: "Completions.me", icon: "bolt", color: "#F59E0B", textIcon: "CP", website: "https://completions.me", notice: { text: "Free unlimited access to Claude, GPT, Gemini.", apiKeyUrl: "https://completions.me" }, serviceKinds: ["llm"] },
127
+ // enally: { id: "enally", alias: "enly", name: "Enally AI", icon: "school", color: "#8B5CF6", textIcon: "EN", website: "https://ai.enally.in", notice: { text: "Free for students and developers — OTP verification.", apiKeyUrl: "https://ai.enally.in/api" }, serviceKinds: ["llm"] },
128
+ // freetheai: { id: "freetheai", alias: "fta", name: "FreeTheAi", icon: "lock_open", color: "#10B981", textIcon: "FT", website: "https://freetheai.xyz", notice: { text: "Community-run free tier — 16,000+ models, OpenAI-compatible.", apiKeyUrl: "https://freetheai.xyz" }, serviceKinds: ["llm"] },
129
+ // llm7: { id: "llm7", alias: "llm7", name: "LLM7.io", icon: "hub", color: "#6366F1", textIcon: "LM", website: "https://llm7.io", notice: { text: "Works without API key (use 'unused'). 2 req/s, 100 req/hr free.", apiKeyUrl: "https://token.llm7.io" }, serviceKinds: ["llm"] },
130
+ // lepton: { id: "lepton", alias: "lepton", name: "Lepton AI", icon: "bolt", color: "#10B981", textIcon: "LP", website: "https://lepton.ai", notice: { apiKeyUrl: "https://dashboard.lepton.ai/credentials" }, serviceKinds: ["llm"] },
131
+ // kluster: { id: "kluster", alias: "kluster", name: "Kluster AI", icon: "hub", color: "#8B5CF6", textIcon: "KL", website: "https://kluster.ai", notice: { text: "$5 free credits on signup — DeepSeek R1, Llama 4, Qwen3 235B.", apiKeyUrl: "https://kluster.ai/dashboard/api-keys" }, serviceKinds: ["llm"] },
132
+ // ai21: { id: "ai21", alias: "ai21", name: "AI21 Labs", icon: "psychology_alt", color: "#0284C7", textIcon: "AI21", website: "https://www.ai21.com", notice: { text: "$10 trial credits on signup (valid 3 months).", apiKeyUrl: "https://studio.ai21.com/account/api-key" }, serviceKinds: ["llm"] },
133
+ // "inference-net": { id: "inference-net", alias: "inet", name: "Inference.net", icon: "dns", color: "#2563EB", textIcon: "IN", website: "https://inference.net", notice: { text: "$25 free credits on signup.", apiKeyUrl: "https://inference.net/dashboard/api-keys" }, serviceKinds: ["llm"] },
134
+ // predibase: { id: "predibase", alias: "predibase", name: "Predibase", icon: "deployed_code_history", color: "#0F766E", textIcon: "PB", website: "https://predibase.com", notice: { text: "$25 free trial credits (30-day validity).", apiKeyUrl: "https://app.predibase.com/settings" }, serviceKinds: ["llm"] },
135
+ // bytez: { id: "bytez", alias: "bytez", name: "Bytez", icon: "api", color: "#6366F1", textIcon: "BZ", website: "https://bytez.com", notice: { text: "$1 free credits, refreshes every 4 weeks.", apiKeyUrl: "https://bytez.com/dashboard/api" }, serviceKinds: ["llm"] },
136
+ // morph: { id: "morph", alias: "morph", name: "Morph", icon: "auto_fix_high", color: "#2563EB", textIcon: "MP", website: "https://morphllm.com", notice: { text: "Free tier: 250K credits/month.", apiKeyUrl: "https://morphllm.com/dashboard/api-keys" }, serviceKinds: ["llm"] },
137
+ // longcat: { id: "longcat", alias: "lc", name: "LongCat AI", icon: "auto_awesome", color: "#FF6B9D", textIcon: "LC", website: "https://longcat.chat/platform/docs", notice: { text: "50M tokens/day (Flash-Lite) + 500K/day (Chat/Thinking) — free in public beta.", apiKeyUrl: "https://longcat.chat/platform/api_keys" }, serviceKinds: ["llm"] },
138
+ // puter: { id: "puter", alias: "pu", name: "Puter AI", icon: "cloud_circle", color: "#6366F1", textIcon: "PU", website: "https://puter.com", notice: { text: "500+ models (GPT-5, Claude Opus 4, Gemini 3 Pro, Grok 4, DeepSeek V3).", apiKeyUrl: "https://puter.com/dashboard" }, passthroughModels: true, serviceKinds: ["llm"] },
139
+ // uncloseai: { id: "uncloseai", alias: "unc", name: "UncloseAI", icon: "auto_awesome", color: "#8B5CF6", textIcon: "UN", website: "https://uncloseai.com", notice: { text: "Free forever — no signup, no credit card. OpenAI-compatible." }, passthroughModels: true, noAuth: true, serviceKinds: ["llm"] },
140
+ // scaleway: { id: "scaleway", alias: "scw", name: "Scaleway AI", icon: "cloud", color: "#4F0599", textIcon: "SCW", website: "https://www.scaleway.com/en/ai/generative-apis", notice: { text: "1M free tokens — EU/GDPR compliant (Paris), Qwen3 235B & Llama 70B.", apiKeyUrl: "https://console.scaleway.com/iam/api-keys" }, serviceKinds: ["llm"] },
141
+ // deepinfra: { id: "deepinfra", alias: "deepinfra", name: "DeepInfra", icon: "hub", color: "#2563EB", textIcon: "DI", website: "https://deepinfra.com", notice: { text: "Free signup credits for API testing.", apiKeyUrl: "https://deepinfra.com/dash/api_keys" }, serviceKinds: ["llm"] },
142
+ // sambanova: { id: "sambanova", alias: "samba", name: "SambaNova", icon: "memory", color: "#DC2626", textIcon: "SN", website: "https://sambanova.ai", notice: { text: "$5 free credits on signup (30-day validity).", apiKeyUrl: "https://cloud.sambanova.ai/apis" }, serviceKinds: ["llm"] },
143
+ // nscale: { id: "nscale", alias: "nscale", name: "nScale", icon: "token", color: "#0891B2", textIcon: "NS", website: "https://nscale.com", notice: { text: "$5 free credits on signup.", apiKeyUrl: "https://console.nscale.com/api-keys" }, serviceKinds: ["llm"] },
144
+ // baseten: { id: "baseten", alias: "baseten", name: "Baseten", icon: "deployed_code", color: "#111827", textIcon: "BT", website: "https://baseten.co", notice: { text: "$30 free trial credits for GPU inference.", apiKeyUrl: "https://app.baseten.co/settings/api_keys" }, serviceKinds: ["llm"] },
145
+ // publicai: { id: "publicai", alias: "publicai", name: "PublicAI", icon: "public", color: "#059669", textIcon: "PA", website: "https://publicai.co", notice: { text: "Free community inference tier.", apiKeyUrl: "https://publicai.co" }, serviceKinds: ["llm"] },
146
+ // "nous-research": { id: "nous-research", alias: "nous", name: "Nous Research", icon: "hub", color: "#2563EB", textIcon: "NO", website: "https://portal.nousresearch.com", notice: { text: "Free tier: 50 RPM, 500K TPM — no credit card.", apiKeyUrl: "https://portal.nousresearch.com" }, serviceKinds: ["llm"] },
147
+ // glhf: { id: "glhf", alias: "glhf", name: "GLHF Chat", icon: "hub", color: "#10B981", textIcon: "GH", website: "https://glhf.chat", notice: { text: "Free tier for open-source model inference.", apiKeyUrl: "https://glhf.chat/users/settings/api" }, passthroughModels: true, serviceKinds: ["llm"] },
100
148
  "ollama-local": { id: "ollama-local", alias: "ollama-local", name: "Ollama Local", icon: "cloud", color: "#ffffffff", textIcon: "OL", website: "https://ollama.com" },
101
149
  "vertex-partner": { id: "vertex-partner", alias: "vxp", name: "Vertex Partner", icon: "cloud", color: "#34A853", textIcon: "VP", website: "https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-partner-models", notice: { apiKeyUrl: "https://console.cloud.google.com/iam-admin/serviceaccounts" } },
102
150
  tavily: { id: "tavily", alias: "tavily", name: "Tavily", icon: "search", color: "#5B21B6", textIcon: "TV", website: "https://tavily.com", notice: { apiKeyUrl: "https://app.tavily.com/home" }, serviceKinds: ["webSearch", "webFetch"], searchConfig: { baseUrl: "https://api.tavily.com/search", method: "POST", authType: "apikey", authHeader: "bearer", costPerQuery: 0.008, freeMonthlyQuota: 1000, searchTypes: ["web", "news"], defaultMaxResults: 5, maxMaxResults: 20, timeoutMs: 10000, cacheTTLMs: 300000 }, fetchConfig: { baseUrl: "https://api.tavily.com/extract", method: "POST", authType: "apikey", authHeader: "bearer", costPerQuery: 0.008, freeMonthlyQuota: 1000, formats: ["markdown", "text"], maxCharacters: 100000, timeoutMs: 15000 } },
@@ -109,6 +157,14 @@ export const APIKEY_PROVIDERS = {
109
157
  searchapi: { id: "searchapi", alias: "searchapi", name: "SearchAPI", icon: "search", color: "#0EA5A4", textIcon: "SA", website: "https://www.searchapi.io", notice: { apiKeyUrl: "https://www.searchapi.io/dashboard" }, serviceKinds: ["webSearch"], searchConfig: { baseUrl: "https://www.searchapi.io/api/v1/search", method: "GET", authType: "apikey", authHeader: "api_key", costPerQuery: 0.004, freeMonthlyQuota: 100, searchTypes: ["web", "news"], defaultMaxResults: 5, maxMaxResults: 100, timeoutMs: 10000, cacheTTLMs: 300000 } },
110
158
  youcom: { id: "youcom", alias: "youcom", name: "You.com Search", icon: "search", color: "#7C3AED", textIcon: "YC", website: "https://you.com", notice: { apiKeyUrl: "https://api.you.com" }, serviceKinds: ["webSearch"], searchConfig: { baseUrl: "https://ydc-index.io/v1/search", method: "GET", authType: "apikey", authHeader: "x-api-key", costPerQuery: 0.005, freeMonthlyQuota: 0, searchTypes: ["web", "news"], defaultMaxResults: 5, maxMaxResults: 100, timeoutMs: 10000, cacheTTLMs: 300000 } },
111
159
  firecrawl: { id: "firecrawl", alias: "firecrawl", name: "Firecrawl", icon: "local_fire_department", color: "#F59E0B", textIcon: "FC", website: "https://firecrawl.dev", notice: { apiKeyUrl: "https://www.firecrawl.dev/app/api-keys" }, serviceKinds: ["webFetch"], fetchConfig: { baseUrl: "https://api.firecrawl.dev/v1/scrape", method: "POST", authType: "apikey", authHeader: "bearer", costPerQuery: 0.002, freeMonthlyQuota: 500, formats: ["markdown", "html", "text"], maxCharacters: 200000, timeoutMs: 30000 } },
160
+ "fal-ai": { id: "fal-ai", alias: "fal", name: "Fal.ai", icon: "image", color: "#2563EB", textIcon: "FL", website: "https://fal.ai", notice: { apiKeyUrl: "https://fal.ai/dashboard/keys" }, serviceKinds: ["image"], imageConfig: { baseUrl: "https://api.fal.ai/v1/models?limit=1", method: "GET", authType: "apikey", authHeader: "key" } },
161
+ "stability-ai": { id: "stability-ai", alias: "stability", name: "Stability AI", icon: "image", color: "#8B5CF6", textIcon: "SA", website: "https://stability.ai", notice: { apiKeyUrl: "https://platform.stability.ai/account/keys" }, serviceKinds: ["image"], imageConfig: { baseUrl: "https://api.stability.ai/v1/user/account", method: "GET", authType: "apikey", authHeader: "bearer" } },
162
+ "black-forest-labs": { id: "black-forest-labs", alias: "bfl", name: "Black Forest Labs", icon: "image", color: "#111827", textIcon: "BF", website: "https://blackforestlabs.ai", notice: { apiKeyUrl: "https://api.bfl.ai" }, serviceKinds: ["image"], imageConfig: { baseUrl: "https://api.bfl.ai/v1/get_result?id=ping", method: "GET", authType: "apikey", authHeader: "x-key" } },
163
+ recraft: { id: "recraft", alias: "recraft", name: "Recraft", icon: "image", color: "#EC4899", textIcon: "RC", website: "https://recraft.ai", notice: { apiKeyUrl: "https://www.recraft.ai/profile/api" }, serviceKinds: ["image"], imageConfig: { baseUrl: "https://external.api.recraft.ai/v1/users/me", method: "GET", authType: "apikey", authHeader: "bearer" } },
164
+ topaz: { id: "topaz", alias: "topaz", name: "Topaz", icon: "image", color: "#059669", textIcon: "TP", website: "https://topazlabs.com", notice: { apiKeyUrl: "https://topazlabs.com/account" }, serviceKinds: ["image"] },
165
+ runwayml: { id: "runwayml", alias: "runway", name: "Runway ML", icon: "movie", color: "#000000", textIcon: "RW", website: "https://runwayml.com", notice: { apiKeyUrl: "https://dev.runwayml.com" }, serviceKinds: ["image", "video"], imageConfig: { baseUrl: "https://api.dev.runwayml.com/v1/organization", method: "GET", authType: "apikey", authHeader: "bearer", extraHeaders: { "X-Runway-Version": "2024-11-06" } } },
166
+ "aws-polly": { id: "aws-polly", alias: "polly", name: "AWS Polly", icon: "record_voice_over", color: "#FF9900", textIcon: "PL", website: "https://aws.amazon.com/polly/", notice: { text: "Use AWS Secret Access Key as API key; set providerSpecificData.accessKeyId and optional region.", apiKeyUrl: "https://console.aws.amazon.com/iam/home#/security_credentials" }, serviceKinds: ["tts"], hasProviderSpecificData: true, ttsConfig: { baseUrl: "https://polly.{region}.amazonaws.com/v1/speech", authType: "apikey", authHeader: "aws-sigv4", format: "aws-polly", models: [{ id: "standard", name: "Standard" }, { id: "neural", name: "Neural" }, { id: "long-form", name: "Long-form" }, { id: "generative", name: "Generative" }] } },
167
+ "jina-ai": { id: "jina-ai", alias: "jina", name: "Jina AI", icon: "blur_on", color: "#2563EB", textIcon: "JA", website: "https://jina.ai", notice: { text: "10M free tokens on signup (non-commercial), no credit card required.", apiKeyUrl: "https://jina.ai/?sui=apikey" }, serviceKinds: ["embedding"], embeddingConfig: { baseUrl: "https://api.jina.ai/v1/embeddings", authType: "apikey", authHeader: "bearer", models: [{ id: "jina-embeddings-v3", name: "Jina Embeddings v3", dimensions: 1024 }, { id: "jina-embeddings-v2-base-en", name: "Jina Embeddings v2 Base EN", dimensions: 768 }, { id: "jina-embeddings-v2-base-code", name: "Jina Embeddings v2 Base Code", dimensions: 768 }] } },
112
168
  "jina-reader": { id: "jina-reader", alias: "jina", name: "Jina Reader", icon: "menu_book", color: "#000000", textIcon: "JR", website: "https://jina.ai/reader", notice: { apiKeyUrl: "https://jina.ai/?sui=apikey" }, serviceKinds: ["webFetch"], fetchConfig: { baseUrl: "https://r.jina.ai", method: "GET", authType: "apikey", authHeader: "bearer", costPerQuery: 0, freeMonthlyQuota: 1000000, formats: ["markdown", "text", "html"], maxCharacters: 200000, timeoutMs: 30000 } },
113
169
  };
114
170
 
@@ -208,6 +264,7 @@ export const USAGE_SUPPORTED_PROVIDERS = [
208
264
  "claude",
209
265
  "antigravity",
210
266
  "kiro",
267
+ "qoder",
211
268
  "github",
212
269
  "codex",
213
270
  "kimi-coding",
@@ -109,6 +109,22 @@ export const TTS_PROVIDER_CONFIG = {
109
109
  hasVoiceIdInput: true,
110
110
  voiceSource: "config",
111
111
  },
112
+ "minimax": {
113
+ hasModelSelector: true,
114
+ hasBrowseButton: true,
115
+ hasVoiceIdInput: true,
116
+ voiceSource: "api-language",
117
+ apiEndpoint: "/api/media-providers/tts/minimax/voices",
118
+ defaultVoiceId: "English_expressive_narrator",
119
+ },
120
+ "minimax-cn": {
121
+ hasModelSelector: true,
122
+ hasBrowseButton: true,
123
+ hasVoiceIdInput: true,
124
+ voiceSource: "api-language",
125
+ apiEndpoint: "/api/media-providers/tts/minimax/voices?provider=minimax-cn",
126
+ defaultVoiceId: "English_expressive_narrator",
127
+ },
112
128
  "gemini": {
113
129
  hasLanguageDropdown: false,
114
130
  hasLanguageHint: true, // sends body.language to guide TTS pronunciation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n9router",
3
- "version": "0.4.35",
3
+ "version": "0.4.37",
4
4
  "description": "Self-hosted AI routing gateway — local proxy for Claude, Gemini, OpenAI and 40+ providers",
5
5
  "keywords": [
6
6
  "ai",
@@ -1 +0,0 @@
1
- (()=>{var a={};a.id=3102,a.ids=[3102],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){this.#a=a,this.#b=function(a){let b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString();return(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`)}(a)}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>i});var d=c(33873),e=c.n(d),f=c(21820),g=c.n(f);let h="n9router",i=process.env.DATA_DIR?process.env.DATA_DIR:"win32"===process.platform?e().join(process.env.APPDATA||e().join(g().homedir(),"AppData","Roaming"),h):e().join(g().homedir(),`.${h}`)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},55511:a=>{"use strict";a.exports=require("crypto")},60635:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(71998);async function x(a){try{let b=a.headers.get("Authorization");if(!b?.startsWith("Bearer "))return v.NextResponse.json({error:"Missing API key"},{status:401});let c=b.slice(7);if(!await (0,w.ek)(c))return v.NextResponse.json({error:"Invalid API key"},{status:401});let d=(await (0,w.P)({isActive:!0})).map(a=>({provider:a.provider,authType:a.authType,apiKey:a.apiKey||null,accessToken:a.accessToken||null,refreshToken:a.refreshToken||null,projectId:a.projectId||null,expiresAt:a.expiresAt,priority:a.priority,globalPriority:a.globalPriority,defaultModel:a.defaultModel,isActive:a.isActive})),e=await (0,w.OM)();return v.NextResponse.json({connections:d,modelAliases:e})}catch(a){return console.log("Cloud auth error:",a),v.NextResponse.json({error:"Internal error"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/cloud/auth/route",pathname:"/api/cloud/auth",filename:"route",bundlePath:"app/api/cloud/auth/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/cuongquach/projects/vibe/n9router/src/app/api/cloud/auth/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),y.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cloud/auth/route";"/index"===d&&(d="/");let e=await y.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||y.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===y.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await y.getIncrementalCache(a,w,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:v,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>y.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>y.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${N} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await y.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.getProviderNodes,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,P:()=>d.getProviderConnections,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.getSettings,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},81115:a=>{"use strict";a.exports=require("constants")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){!function(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data")}(a,b),this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7502,1813,9718],()=>b(b.s=60635));module.exports=c})();
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/cloud/auth/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"/Users/cuongquach/projects/vibe/n9router/src/app/api/cloud/auth/route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};
@@ -1 +0,0 @@
1
- (()=>{var a={};a.id=1070,a.ids=[1070],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1622:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{PUT:()=>x});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(71998);async function x(a){try{let b=a.headers.get("Authorization");if(!b?.startsWith("Bearer "))return v.NextResponse.json({error:"Missing API key"},{status:401});let c=b.slice(7),{provider:d,credentials:e}=await a.json();if(!d||!e)return v.NextResponse.json({error:"Provider and credentials required"},{status:400});if(!await (0,w.ek)(c))return v.NextResponse.json({error:"Invalid API key"},{status:401});let f=(await (0,w.P)({provider:d,isActive:!0}))[0];if(!f)return v.NextResponse.json({error:`No active connection found for provider: ${d}`},{status:404});let g={};return e.accessToken&&(g.accessToken=e.accessToken),e.refreshToken&&(g.refreshToken=e.refreshToken),e.expiresIn&&(g.expiresAt=new Date(Date.now()+1e3*e.expiresIn).toISOString()),await (0,w.rj)(f.id,g),v.NextResponse.json({success:!0,message:`Credentials updated for provider: ${d}`})}catch(a){return console.log("Update credentials error:",a),v.NextResponse.json({error:"Failed to update credentials"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/cloud/credentials/update/route",pathname:"/api/cloud/credentials/update",filename:"route",bundlePath:"app/api/cloud/credentials/update/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/cuongquach/projects/vibe/n9router/src/app/api/cloud/credentials/update/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),y.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cloud/credentials/update/route";"/index"===d&&(d="/");let e=await y.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||y.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===y.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await y.getIncrementalCache(a,w,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:v,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>y.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>y.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${N} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await y.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){this.#a=a,this.#b=function(a){let b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString();return(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`)}(a)}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>i});var d=c(33873),e=c.n(d),f=c(21820),g=c.n(f);let h="n9router",i=process.env.DATA_DIR?process.env.DATA_DIR:"win32"===process.platform?e().join(process.env.APPDATA||e().join(g().homedir(),"AppData","Roaming"),h):e().join(g().homedir(),`.${h}`)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.getProviderNodes,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,P:()=>d.getProviderConnections,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.getSettings,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},81115:a=>{"use strict";a.exports=require("constants")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){!function(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data")}(a,b),this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7502,1813,9718],()=>b(b.s=1622));module.exports=c})();
@@ -1 +0,0 @@
1
- (()=>{var a={};a.id=7442,a.ids=[7442],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){this.#a=a,this.#b=function(a){let b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString();return(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`)}(a)}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},21820:a=>{"use strict";a.exports=require("os")},26664:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(71998);async function x(a){try{let b=a.headers.get("Authorization");if(!b?.startsWith("Bearer "))return v.NextResponse.json({error:"Missing API key"},{status:401});let c=b.slice(7),{alias:d}=await a.json();if(!d)return v.NextResponse.json({error:"Missing alias"},{status:400});if(!await (0,w.ek)(c))return v.NextResponse.json({error:"Invalid API key"},{status:401});let e=(await (0,w.OM)())[d];if(e){let a=e.indexOf("/");if(a>0)return v.NextResponse.json({alias:d,provider:e.slice(0,a),model:e.slice(a+1)})}return v.NextResponse.json({error:"Alias not found"},{status:404})}catch(a){return console.log("Model resolve error:",a),v.NextResponse.json({error:"Internal error"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/cloud/model/resolve/route",pathname:"/api/cloud/model/resolve",filename:"route",bundlePath:"app/api/cloud/model/resolve/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/cuongquach/projects/vibe/n9router/src/app/api/cloud/model/resolve/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),y.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cloud/model/resolve/route";"/index"===d&&(d="/");let e=await y.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||y.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===y.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await y.getIncrementalCache(a,w,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:v,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>y.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>y.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${N} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await y.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>i});var d=c(33873),e=c.n(d),f=c(21820),g=c.n(f);let h="n9router",i=process.env.DATA_DIR?process.env.DATA_DIR:"win32"===process.platform?e().join(process.env.APPDATA||e().join(g().homedir(),"AppData","Roaming"),h):e().join(g().homedir(),`.${h}`)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.getProviderNodes,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,P:()=>d.getProviderConnections,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.getSettings,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},81115:a=>{"use strict";a.exports=require("constants")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){!function(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data")}(a,b),this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7502,1813,9718],()=>b(b.s=26664));module.exports=c})();
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/cloud/model/resolve/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"/Users/cuongquach/projects/vibe/n9router/src/app/api/cloud/model/resolve/route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};
@@ -1 +0,0 @@
1
- (()=>{var a={};a.id=5079,a.ids=[5079],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11259:(a,b,c)=>{"use strict";c.d(b,{Pv:()=>k}),c(73024);var d=c(51455),e=c(76760),f=c(73136);async function g(a,b,c){for(let d=0;d<b;d++)try{return await a()}catch(a){if(d<b-1)await new Promise(a=>setTimeout(a,c));else throw a}}class h{#a;#b;#c=!1;#d=null;#e=null;#f=null;#g=null;#h(a){return this.#g=a,this.#f||=new Promise((a,b)=>{this.#e=[a,b]}),new Promise((a,b)=>{this.#f?.then(a).catch(b)})}async #i(a){this.#c=!0;try{await (0,d.writeFile)(this.#b,a,"utf-8"),await g(async()=>{await (0,d.rename)(this.#b,this.#a)},10,100),this.#d?.[0]()}catch(a){throw a instanceof Error&&this.#d?.[1](a),a}finally{if(this.#c=!1,this.#d=this.#e,this.#e=this.#f=null,null!==this.#g){let a=this.#g;this.#g=null,await this.write(a)}}}constructor(a){this.#a=a,this.#b=function(a){let b=a instanceof URL?(0,f.fileURLToPath)(a):a.toString();return(0,e.join)((0,e.dirname)(b),`.${(0,e.basename)(b)}.tmp`)}(a)}async write(a){return this.#c?this.#h(a):this.#i(a)}}class i{#a;#j;constructor(a){this.#a=a,this.#j=new h(a)}async read(){let a;try{a=await (0,d.readFile)(this.#a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}return a}write(a){return this.#j.write(a)}}class j{#k;#l;#m;constructor(a,{parse:b,stringify:c}){this.#k=new i(a),this.#l=b,this.#m=c}async read(){let a=await this.#k.read();return null===a?null:this.#l(a)}write(a){return this.#k.write(this.#m(a))}}class k extends j{constructor(a){super(a,{parse:JSON.parse,stringify:a=>JSON.stringify(a,null,2)})}}},12412:a=>{"use strict";a.exports=require("assert")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>i});var d=c(33873),e=c.n(d),f=c(21820),g=c.n(f);let h="n9router",i=process.env.DATA_DIR?process.env.DATA_DIR:"win32"===process.platform?e().join(process.env.APPDATA||e().join(g().homedir(),"AppData","Roaming"),h):e().join(g().homedir(),`.${h}`)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69397:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{GET:()=>y,PUT:()=>x});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(71998);async function x(a){try{let b=a.headers.get("authorization"),c=b?.replace("Bearer ","");if(!c)return v.NextResponse.json({error:"Missing API key"},{status:401});if(!await (0,w.ek)(c))return v.NextResponse.json({error:"Invalid API key"},{status:401});let{model:d,alias:e}=await a.json();if(!d||!e)return v.NextResponse.json({error:"Model and alias required"},{status:400});let f=(await (0,w.OM)())[e];if(f&&f!==d)return v.NextResponse.json({error:`Alias '${e}' already in use for model '${f}'`},{status:400});return await (0,w.o5)(e,d),v.NextResponse.json({success:!0,model:d,alias:e,message:`Alias '${e}' set for model '${d}'`})}catch(a){return console.log("Error updating alias:",a),v.NextResponse.json({error:"Failed to update alias"},{status:500})}}async function y(a){try{let b=a.headers.get("authorization"),c=b?.replace("Bearer ","");if(!c)return v.NextResponse.json({error:"Missing API key"},{status:401});if(!await (0,w.ek)(c))return v.NextResponse.json({error:"Invalid API key"},{status:401});let d=await (0,w.OM)();return v.NextResponse.json({aliases:d})}catch(a){return console.log("Error fetching aliases:",a),v.NextResponse.json({error:"Failed to fetch aliases"},{status:500})}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/cloud/models/alias/route",pathname:"/api/cloud/models/alias",filename:"route",bundlePath:"app/api/cloud/models/alias/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/cuongquach/projects/vibe/n9router/src/app/api/cloud/models/alias/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cloud/models/alias/route";"/index"===d&&(d="/");let e=await z.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||z.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===z.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await z.getIncrementalCache(a,w,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:v,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>z.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>z.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${N} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await z.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}},71998:(a,b,c)=>{"use strict";c.d(b,{Fh:()=>d.getProviderNodes,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,P:()=>d.getProviderConnections,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,mt:()=>d.getSettings,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},81115:a=>{"use strict";a.exports=require("constants")},82996:(a,b,c)=>{"use strict";c.d(b,{t:()=>d});class d{adapter;data;constructor(a,b){!function(a,b){if(void 0===a)throw Error("lowdb: missing adapter");if(void 0===b)throw Error("lowdb: missing default data")}(a,b),this.adapter=a,this.data=b}async read(){let a=await this.adapter.read();a&&(this.data=a)}async write(){this.data&&await this.adapter.write(this.data)}async update(a){a(this.data),await this.write()}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7502,1813,9718],()=>b(b.s=69397));module.exports=c})();
@@ -1 +0,0 @@
1
- (()=>{var a={};a.id=2525,a.ids=[2525],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},21820:a=>{"use strict";a.exports=require("os")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:a=>{"use strict";a.exports=require("zlib")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79974:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{POST:()=>y});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(12506),x=c(85567);async function y(){try{let a=(0,x.C7)()?.shortId||(0,x.jd)(),b=await (0,w.c$)(a);return v.NextResponse.json(b)}catch(a){return console.error("Tailscale login error:",a),v.NextResponse.json({error:a.message},{status:500})}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/tunnel/tailscale-login/route",pathname:"/api/tunnel/tailscale-login",filename:"route",bundlePath:"app/api/tunnel/tailscale-login/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/cuongquach/projects/vibe/n9router/src/app/api/tunnel/tailscale-login/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/tunnel/tailscale-login/route";"/index"===d&&(d="/");let e=await z.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||z.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===z.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await z.getIncrementalCache(a,w,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:v,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>z.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>z.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${N} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await z.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,5627,2506],()=>b(b.s=79974));module.exports=c})();
@@ -1,2 +0,0 @@
1
- (()=>{var a={};a.id=3507,a.ids=[3507],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},2350:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(50709);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/tunnel/tailscale-start-daemon/route",pathname:"/api/tunnel/tailscale-start-daemon",filename:"route",bundlePath:"app/api/tunnel/tailscale-start-daemon/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/cuongquach/projects/vibe/n9router/src/app/api/tunnel/tailscale-start-daemon/route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/tunnel/tailscale-start-daemon/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=f,H=(0,j.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await J();throw new s.NoFallbackError}}let K=null;!I||v.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===v.isDev||!I,M=I&&!L;G&&F&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,h.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,g.getRequestMeta)(a,"minimalMode"),S=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,x,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,B)},sharedContext:{buildId:u}},U=new k.NodeNextRequest(a),V=new k.NodeNextResponse(b),W=l.NextRequestAdapter.fromNodeNextRequest(U,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${N} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!R&&C&&D&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,o.I)(U,V,d,T.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:T.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await v.handleResponse({req:a,nextConfig:x,cacheKey:K,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await i(P):(f=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(m.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},i),void 0,!Q))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,o.I)(U,V,new Response(null,{status:500})),null}}},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{"use strict";a.exports=require("assert")},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},50709:(a,b,c)=>{"use strict";c.r(b),c.d(b,{POST:()=>j});var d=c(49796),e=c(23211),f=c(12506),g=c(96182),h=c(89718),i=c(24424);async function j(a){try{let b=(await a.json().catch(()=>({}))).sudoPassword||(0,g.getCachedPassword)()||await (0,g.loadEncryptedPassword)()||"";return await (0,f.OZ)(b),e.NextResponse.json({success:!0})}catch(a){return console.error("Tailscale start daemon error:",a),e.NextResponse.json({error:a.message},{status:500})}}(0,g.initDbHooks)(h.getSettings,h.Xx),(0,i.D)([j]),(0,d.A)(j,"40603ce7d879a274c54d3df211fc39a47aecf2230d",null)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},74075:a=>{"use strict";a.exports=require("zlib")},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},77943:(a,b,c)=>{"use strict";a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},81115:a=>{"use strict";a.exports=require("constants")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87389:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"40603ce7d879a274c54d3df211fc39a47aecf2230d":()=>d.POST});var d=c(50709)},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7502,1813,8838,5296,9718,5627,6182,2506],()=>b(b.s=2350));module.exports=c})();
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/tunnel/tailscale-start-daemon/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"/Users/cuongquach/projects/vibe/n9router/src/app/api/tunnel/tailscale-start-daemon/route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};