n9router 0.4.63 → 0.4.65

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 (545) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +20 -20
  3. package/app/.next/build-manifest.json +2 -2
  4. package/app/.next/prerender-manifest.json +27 -27
  5. package/app/.next/required-server-files.json +5 -1
  6. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  7. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  8. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  11. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  12. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  14. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  20. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  26. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  28. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  29. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  31. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  32. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  34. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  35. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  36. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  37. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  38. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  39. package/app/.next/server/app/(dashboard)/dashboard/page.js +1 -1
  40. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  41. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  42. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  43. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  44. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  45. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  46. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  47. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  48. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  49. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  50. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  51. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  52. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  53. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  54. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  55. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  56. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  57. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  58. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  59. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  60. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  61. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  62. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  63. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  64. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  65. package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  66. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  67. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  68. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  69. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  70. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  71. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  72. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  73. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  74. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  75. package/app/.next/server/app/_global-error/page.js.nft.json +1 -1
  76. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  77. package/app/.next/server/app/_global-error.html +1 -1
  78. package/app/.next/server/app/_global-error.rsc +1 -1
  79. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  80. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  81. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  82. package/app/.next/server/app/_not-found/page.js +1 -1
  83. package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
  84. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  85. package/app/.next/server/app/_not-found.html +1 -1
  86. package/app/.next/server/app/_not-found.rsc +2 -2
  87. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  88. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  89. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  90. package/app/.next/server/app/api/antigravity-app/route.js.nft.json +1 -1
  91. package/app/.next/server/app/api/antigravity-app-v2/route.js.nft.json +1 -1
  92. package/app/.next/server/app/api/antigravity-ide/route.js.nft.json +1 -1
  93. package/app/.next/server/app/api/antigravity-targets/route.js.nft.json +1 -1
  94. package/app/.next/server/app/api/antigravity-tools/import/route.js +1 -1
  95. package/app/.next/server/app/api/antigravity-tools/import/route.js.nft.json +1 -1
  96. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js +1 -1
  97. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js.nft.json +1 -1
  98. package/app/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  99. package/app/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  100. package/app/.next/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  101. package/app/.next/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  102. package/app/.next/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  103. package/app/.next/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  104. package/app/.next/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  105. package/app/.next/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  106. package/app/.next/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  107. package/app/.next/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  108. package/app/.next/server/app/api/auth/status/route.js.nft.json +1 -1
  109. package/app/.next/server/app/api/cli-tools/all-statuses/route.js +5 -5
  110. package/app/.next/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  111. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  112. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  113. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  114. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  115. package/app/.next/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  116. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +1 -1
  117. package/app/.next/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  118. package/app/.next/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  119. package/app/.next/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  120. package/app/.next/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  121. package/app/.next/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  122. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  123. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  124. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  125. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  126. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  127. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  128. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  129. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  130. package/app/.next/server/app/api/cli-tools/crush-settings/route.js +2 -2
  131. package/app/.next/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  132. package/app/.next/server/app/api/cli-tools/cursor-byok/jobs/[jobId]/events/route.js.nft.json +1 -1
  133. package/app/.next/server/app/api/cli-tools/cursor-byok/jobs/[jobId]/sudo/route.js.nft.json +1 -1
  134. package/app/.next/server/app/api/cli-tools/cursor-byok/jobs/route.js.nft.json +1 -1
  135. package/app/.next/server/app/api/cli-tools/cursor-byok/route.js.nft.json +1 -1
  136. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  137. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  138. package/app/.next/server/app/api/cli-tools/devin-settings/route.js +1 -1
  139. package/app/.next/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  140. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +1 -1
  141. package/app/.next/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  142. package/app/.next/server/app/api/cli-tools/forge-settings/route.js +1 -1
  143. package/app/.next/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  144. package/app/.next/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  145. package/app/.next/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  146. package/app/.next/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  147. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  148. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  149. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  150. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  151. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  152. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  153. package/app/.next/server/app/api/cli-tools/omp-settings/route.js +2 -2
  154. package/app/.next/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  155. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  156. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  157. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  158. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  159. package/app/.next/server/app/api/cli-tools/pi-settings/route.js +2 -2
  160. package/app/.next/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  161. package/app/.next/server/app/api/cli-tools/smelt-settings/route.js +1 -1
  162. package/app/.next/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  163. package/app/.next/server/app/api/combos/[id]/route.js.nft.json +1 -1
  164. package/app/.next/server/app/api/combos/presets/route.js.nft.json +1 -1
  165. package/app/.next/server/app/api/combos/route.js.nft.json +1 -1
  166. package/app/.next/server/app/api/donate/route.js.nft.json +1 -1
  167. package/app/.next/server/app/api/headroom/extras/route.js.nft.json +1 -1
  168. package/app/.next/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  169. package/app/.next/server/app/api/headroom/restart/route.js.nft.json +1 -1
  170. package/app/.next/server/app/api/headroom/start/route.js.nft.json +1 -1
  171. package/app/.next/server/app/api/headroom/status/route.js.nft.json +1 -1
  172. package/app/.next/server/app/api/headroom/stop/route.js.nft.json +1 -1
  173. package/app/.next/server/app/api/health/route.js.nft.json +1 -1
  174. package/app/.next/server/app/api/init/route.js.nft.json +1 -1
  175. package/app/.next/server/app/api/internal/account-health/route.js.nft.json +1 -1
  176. package/app/.next/server/app/api/internal/request-detail/route.js +1 -1
  177. package/app/.next/server/app/api/internal/request-detail/route.js.nft.json +1 -1
  178. package/app/.next/server/app/api/internal/usage/route.js +1 -1
  179. package/app/.next/server/app/api/internal/usage/route.js.nft.json +1 -1
  180. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js +1 -1
  181. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js.nft.json +1 -1
  182. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  183. package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
  184. package/app/.next/server/app/api/keys/[id]/usage/route.js +1 -1
  185. package/app/.next/server/app/api/keys/[id]/usage/route.js.nft.json +1 -1
  186. package/app/.next/server/app/api/keys/route.js.nft.json +1 -1
  187. package/app/.next/server/app/api/locale/route.js.nft.json +1 -1
  188. package/app/.next/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  189. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  190. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  191. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  192. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  193. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  194. package/app/.next/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  195. package/app/.next/server/app/api/models/alias/route.js.nft.json +1 -1
  196. package/app/.next/server/app/api/models/availability/route.js.nft.json +1 -1
  197. package/app/.next/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  198. package/app/.next/server/app/api/models/custom/route.js.nft.json +1 -1
  199. package/app/.next/server/app/api/models/disabled/route.js.nft.json +1 -1
  200. package/app/.next/server/app/api/models/route.js.nft.json +1 -1
  201. package/app/.next/server/app/api/models/test/route.js.nft.json +1 -1
  202. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  203. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  204. package/app/.next/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  205. package/app/.next/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  206. package/app/.next/server/app/api/oauth/codex/import-token/route.js +1 -1
  207. package/app/.next/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  208. package/app/.next/server/app/api/oauth/commandcode/auto-import/route.js.nft.json +1 -1
  209. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  210. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  211. package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  212. package/app/.next/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  213. package/app/.next/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  214. package/app/.next/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  215. package/app/.next/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  216. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  217. package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  218. package/app/.next/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  219. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  220. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  221. package/app/.next/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  222. package/app/.next/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  223. package/app/.next/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  224. package/app/.next/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  225. package/app/.next/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  226. package/app/.next/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  227. package/app/.next/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  228. package/app/.next/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  229. package/app/.next/server/app/api/oauth/zed/import/route.js +1 -1
  230. package/app/.next/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  231. package/app/.next/server/app/api/pricing/route.js.nft.json +1 -1
  232. package/app/.next/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  233. package/app/.next/server/app/api/provider-nodes/route.js.nft.json +1 -1
  234. package/app/.next/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  235. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  236. package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  237. package/app/.next/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  238. package/app/.next/server/app/api/providers/[id]/route.js.nft.json +1 -1
  239. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  240. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  241. package/app/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  242. package/app/.next/server/app/api/providers/client/route.js +1 -1
  243. package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  244. package/app/.next/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  245. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  246. package/app/.next/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  247. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  248. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  249. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  250. package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  251. package/app/.next/server/app/api/providers/web-login/route.js +1 -1
  252. package/app/.next/server/app/api/providers/web-login/route.js.nft.json +1 -1
  253. package/app/.next/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  254. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  255. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  256. package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  257. package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  258. package/app/.next/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  259. package/app/.next/server/app/api/proxy-pools/route.js.nft.json +1 -1
  260. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  261. package/app/.next/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  262. package/app/.next/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  263. package/app/.next/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  264. package/app/.next/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  265. package/app/.next/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  266. package/app/.next/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  267. package/app/.next/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  268. package/app/.next/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  269. package/app/.next/server/app/api/settings/database/route.js.nft.json +1 -1
  270. package/app/.next/server/app/api/settings/database/selective/route.js.nft.json +1 -1
  271. package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
  272. package/app/.next/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  273. package/app/.next/server/app/api/settings/require-login/route.js.nft.json +1 -1
  274. package/app/.next/server/app/api/settings/route.js +1 -1
  275. package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
  276. package/app/.next/server/app/api/shutdown/route.js.nft.json +1 -1
  277. package/app/.next/server/app/api/tags/route.js.nft.json +1 -1
  278. package/app/.next/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  279. package/app/.next/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  280. package/app/.next/server/app/api/translator/load/route.js.nft.json +1 -1
  281. package/app/.next/server/app/api/translator/save/route.js.nft.json +1 -1
  282. package/app/.next/server/app/api/translator/send/route.js +1 -1
  283. package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  284. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  285. package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  286. package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
  287. package/app/.next/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  288. package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
  289. package/app/.next/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  290. package/app/.next/server/app/api/tunnel/status/route.js.nft.json +1 -1
  291. package/app/.next/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  292. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  293. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  294. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  295. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  296. package/app/.next/server/app/api/tunnel/tailscale-install/route.js +2 -2
  297. package/app/.next/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  298. package/app/.next/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  299. package/app/.next/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  300. package/app/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  301. package/app/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  302. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  303. package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  304. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  305. package/app/.next/server/app/api/usage/chart/route.js.nft.json +1 -1
  306. package/app/.next/server/app/api/usage/history/route.js +1 -1
  307. package/app/.next/server/app/api/usage/history/route.js.nft.json +1 -1
  308. package/app/.next/server/app/api/usage/logs/route.js +1 -1
  309. package/app/.next/server/app/api/usage/logs/route.js.nft.json +1 -1
  310. package/app/.next/server/app/api/usage/providers/route.js.nft.json +1 -1
  311. package/app/.next/server/app/api/usage/report/route.js +1 -1
  312. package/app/.next/server/app/api/usage/report/route.js.nft.json +1 -1
  313. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  314. package/app/.next/server/app/api/usage/request-details/route.js.nft.json +1 -1
  315. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  316. package/app/.next/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  317. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  318. package/app/.next/server/app/api/usage/stats/route.js.nft.json +1 -1
  319. package/app/.next/server/app/api/usage/stream/route.js +1 -1
  320. package/app/.next/server/app/api/usage/stream/route.js.nft.json +1 -1
  321. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  322. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  323. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  324. package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  325. package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  326. package/app/.next/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  327. package/app/.next/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  328. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  329. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  330. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  331. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  332. package/app/.next/server/app/api/v1/images/generations/route.js +1 -1
  333. package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  334. package/app/.next/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  335. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  336. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  337. package/app/.next/server/app/api/v1/models/[...model]/route.js +1 -1
  338. package/app/.next/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  339. package/app/.next/server/app/api/v1/models/info/route.js.nft.json +1 -1
  340. package/app/.next/server/app/api/v1/models/route.js +1 -1
  341. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  342. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  343. package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  344. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  345. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  346. package/app/.next/server/app/api/v1/route.js +1 -1
  347. package/app/.next/server/app/api/v1/route.js.nft.json +1 -1
  348. package/app/.next/server/app/api/v1/search/route.js +1 -1
  349. package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -1
  350. package/app/.next/server/app/api/v1/systemone/route.js +1 -1
  351. package/app/.next/server/app/api/v1/systemone/route.js.nft.json +1 -1
  352. package/app/.next/server/app/api/v1/videos/[id]/route.js +1 -1
  353. package/app/.next/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  354. package/app/.next/server/app/api/v1/videos/edits/route.js +1 -1
  355. package/app/.next/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  356. package/app/.next/server/app/api/v1/videos/extensions/route.js +1 -1
  357. package/app/.next/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  358. package/app/.next/server/app/api/v1/videos/generations/route.js +1 -1
  359. package/app/.next/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  360. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
  361. package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  362. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  363. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  364. package/app/.next/server/app/api/v1beta/models/route.js.nft.json +1 -1
  365. package/app/.next/server/app/api/version/route.js +1 -1
  366. package/app/.next/server/app/api/version/route.js.nft.json +1 -1
  367. package/app/.next/server/app/api/version/shutdown/route.js.nft.json +1 -1
  368. package/app/.next/server/app/api/version/update/route.js.nft.json +1 -1
  369. package/app/.next/server/app/callback/page.js +1 -1
  370. package/app/.next/server/app/callback/page.js.nft.json +1 -1
  371. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  372. package/app/.next/server/app/callback.html +1 -1
  373. package/app/.next/server/app/callback.rsc +2 -2
  374. package/app/.next/server/app/callback.segments/_full.segment.rsc +2 -2
  375. package/app/.next/server/app/callback.segments/_tree.segment.rsc +1 -1
  376. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
  377. package/app/.next/server/app/dashboard/basic-chat.html +1 -1
  378. package/app/.next/server/app/dashboard/basic-chat.rsc +2 -2
  379. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  380. package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +2 -2
  381. package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  382. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  383. package/app/.next/server/app/dashboard/cli-tools.rsc +2 -2
  384. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  385. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +2 -2
  386. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  387. package/app/.next/server/app/dashboard/combos.html +1 -1
  388. package/app/.next/server/app/dashboard/combos.rsc +2 -2
  389. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  390. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +2 -2
  391. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  392. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  393. package/app/.next/server/app/dashboard/endpoint.rsc +2 -2
  394. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  395. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +2 -2
  396. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  397. package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
  398. package/app/.next/server/app/dashboard/media-providers/web.rsc +2 -2
  399. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  400. package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +2 -2
  401. package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  402. package/app/.next/server/app/dashboard/mitm.html +1 -1
  403. package/app/.next/server/app/dashboard/mitm.rsc +2 -2
  404. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  405. package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +2 -2
  406. package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  407. package/app/.next/server/app/dashboard/profile.html +1 -1
  408. package/app/.next/server/app/dashboard/profile.rsc +2 -2
  409. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  410. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +2 -2
  411. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  412. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  413. package/app/.next/server/app/dashboard/providers/new.rsc +2 -2
  414. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  415. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +2 -2
  416. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  417. package/app/.next/server/app/dashboard/providers.html +1 -1
  418. package/app/.next/server/app/dashboard/providers.rsc +2 -2
  419. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  420. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +2 -2
  421. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  422. package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
  423. package/app/.next/server/app/dashboard/proxy-pools.rsc +2 -2
  424. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  425. package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +2 -2
  426. package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  427. package/app/.next/server/app/dashboard/pxpipe.html +1 -1
  428. package/app/.next/server/app/dashboard/pxpipe.rsc +2 -2
  429. package/app/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  430. package/app/.next/server/app/dashboard/pxpipe.segments/_full.segment.rsc +2 -2
  431. package/app/.next/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  432. package/app/.next/server/app/dashboard/quota.html +1 -1
  433. package/app/.next/server/app/dashboard/quota.rsc +2 -2
  434. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +2 -2
  435. package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +2 -2
  436. package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  437. package/app/.next/server/app/dashboard/settings/pricing/page.js +1 -1
  438. package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  439. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  440. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  441. package/app/.next/server/app/dashboard/settings/pricing.rsc +2 -2
  442. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +2 -2
  443. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  444. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
  445. package/app/.next/server/app/dashboard/skills.html +1 -1
  446. package/app/.next/server/app/dashboard/skills.rsc +2 -2
  447. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  448. package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +2 -2
  449. package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  450. package/app/.next/server/app/dashboard/token-saver.html +1 -1
  451. package/app/.next/server/app/dashboard/token-saver.rsc +2 -2
  452. package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  453. package/app/.next/server/app/dashboard/token-saver.segments/_full.segment.rsc +2 -2
  454. package/app/.next/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  455. package/app/.next/server/app/dashboard/translator.html +1 -1
  456. package/app/.next/server/app/dashboard/translator.rsc +2 -2
  457. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  458. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +2 -2
  459. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  460. package/app/.next/server/app/dashboard/usage.html +1 -1
  461. package/app/.next/server/app/dashboard/usage.rsc +2 -2
  462. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  463. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +2 -2
  464. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  465. package/app/.next/server/app/dashboard.html +1 -1
  466. package/app/.next/server/app/dashboard.rsc +2 -2
  467. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  468. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +2 -2
  469. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  470. package/app/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  471. package/app/.next/server/app/index.html +1 -1
  472. package/app/.next/server/app/index.rsc +2 -2
  473. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  474. package/app/.next/server/app/index.segments/_full.segment.rsc +2 -2
  475. package/app/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  476. package/app/.next/server/app/landing/page.js +1 -1
  477. package/app/.next/server/app/landing/page.js.nft.json +1 -1
  478. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  479. package/app/.next/server/app/landing.html +1 -1
  480. package/app/.next/server/app/landing.rsc +2 -2
  481. package/app/.next/server/app/landing.segments/_full.segment.rsc +2 -2
  482. package/app/.next/server/app/landing.segments/_tree.segment.rsc +1 -1
  483. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
  484. package/app/.next/server/app/login/page.js +1 -1
  485. package/app/.next/server/app/login/page.js.nft.json +1 -1
  486. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  487. package/app/.next/server/app/login.html +1 -1
  488. package/app/.next/server/app/login.rsc +2 -2
  489. package/app/.next/server/app/login.segments/_full.segment.rsc +2 -2
  490. package/app/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  491. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  492. package/app/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  493. package/app/.next/server/app/page.js +1 -1
  494. package/app/.next/server/app/page.js.nft.json +1 -1
  495. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  496. package/app/.next/server/app-paths-manifest.json +20 -20
  497. package/app/.next/server/chunks/1051.js +1 -1
  498. package/app/.next/server/chunks/1297.js +1 -1
  499. package/app/.next/server/chunks/1350.js +1 -1
  500. package/app/.next/server/chunks/1505.js +1 -1
  501. package/app/.next/server/chunks/4334.js +1 -1
  502. package/app/.next/server/chunks/5330.js +1 -1
  503. package/app/.next/server/chunks/5520.js +1 -1
  504. package/app/.next/server/chunks/574.js +1 -1
  505. package/app/.next/server/chunks/6297.js +1 -1
  506. package/app/.next/server/chunks/7373.js +2 -2
  507. package/app/.next/server/chunks/7525.js +1 -1
  508. package/app/.next/server/chunks/7774.js +2 -2
  509. package/app/.next/server/chunks/7995.js +2 -2
  510. package/app/.next/server/chunks/8467.js +1 -1
  511. package/app/.next/server/chunks/869.js +1 -1
  512. package/app/.next/server/chunks/9819.js +2 -2
  513. package/app/.next/server/chunks/9889.js +1 -1
  514. package/app/.next/server/middleware-build-manifest.js +1 -1
  515. package/app/.next/server/middleware.js +3 -3
  516. package/app/.next/server/pages/404.html +1 -1
  517. package/app/.next/server/pages/500.html +1 -1
  518. package/app/.next/server/preview-props.json +3 -3
  519. package/app/.next/server/server-reference-manifest.js +1 -1
  520. package/app/.next/server/server-reference-manifest.json +1 -1
  521. package/app/.next/static/chunks/{1321-59ad1a50ce10d9fa.js → 1321-d27fdabccc7c8db1.js} +1 -1
  522. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-50da140812e2c8ab.js → page-118c90b3a74f35e8.js} +1 -1
  523. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-7f4cf15089a43031.js → page-310c475a29336f25.js} +1 -1
  524. package/app/open-sse/handlers/systemoneCore.js +4 -3
  525. package/app/open-sse/translator/formats/openai.js +3 -2
  526. package/app/package.json +1 -1
  527. package/app/server.js +1 -1
  528. package/app/src/shared/constants/cliTools.js +637 -0
  529. package/app/src/shared/constants/colors.js +77 -0
  530. package/app/src/shared/constants/config.js +109 -0
  531. package/app/src/shared/constants/coworkPlugins.js +72 -0
  532. package/app/src/shared/constants/index.js +4 -0
  533. package/app/src/shared/constants/keyAccess.js +24 -0
  534. package/app/src/shared/constants/locales.js +38 -0
  535. package/app/src/shared/constants/mitmToolHosts.js +12 -0
  536. package/app/src/shared/constants/models.js +67 -0
  537. package/app/src/shared/constants/monaco.js +7 -0
  538. package/app/src/shared/constants/providers.js +168 -0
  539. package/app/src/shared/constants/providersDisplay.js +12 -0
  540. package/app/src/shared/constants/skills.js +85 -0
  541. package/app/src/shared/constants/ttsProviders.js +172 -0
  542. package/package.json +1 -1
  543. /package/app/.next/static/{csQnh_24N6xB5-kHxlTYo → S3oFaxLaFfMwLvf7CPdyV}/_buildManifest.js +0 -0
  544. /package/app/.next/static/{csQnh_24N6xB5-kHxlTYo → S3oFaxLaFfMwLvf7CPdyV}/_ssgManifest.js +0 -0
  545. /package/app/{lib → src/lib}/dbFileSafety.js +0 -0
@@ -0,0 +1,77 @@
1
+ // Claude-inspired color palette for Endpoint Proxy
2
+ // Light theme: Warm beige/cream tones
3
+ // Dark theme: Deep charcoal/brown tones
4
+
5
+ export const COLORS = {
6
+ // Primary - Warm Coral/Terracotta (Claude-like)
7
+ primary: {
8
+ DEFAULT: "#D97757",
9
+ hover: "#C56243",
10
+ light: "#E8A58C",
11
+ dark: "#B0664D",
12
+ },
13
+
14
+ // Light theme backgrounds
15
+ light: {
16
+ bg: "#FBF9F6",
17
+ bgAlt: "#F5F1ED",
18
+ surface: "#FFFFFF",
19
+ sidebar: "rgba(246, 246, 246, 0.8)",
20
+ border: "rgba(0, 0, 0, 0.1)",
21
+ textMain: "#383733",
22
+ textMuted: "#75736E",
23
+ },
24
+
25
+ // Dark theme backgrounds
26
+ dark: {
27
+ bg: "#191918",
28
+ bgAlt: "#1F1F1E",
29
+ surface: "#242423",
30
+ sidebar: "rgba(30, 30, 30, 0.8)",
31
+ border: "rgba(255, 255, 255, 0.1)",
32
+ textMain: "#ECEBE8",
33
+ textMuted: "#9E9D99",
34
+ },
35
+
36
+ // Status colors
37
+ status: {
38
+ success: "#22C55E",
39
+ successLight: "#DCFCE7",
40
+ successDark: "#166534",
41
+ warning: "#F59E0B",
42
+ warningLight: "#FEF3C7",
43
+ warningDark: "#92400E",
44
+ error: "#EF4444",
45
+ errorLight: "#FEE2E2",
46
+ errorDark: "#991B1B",
47
+ info: "#3B82F6",
48
+ infoLight: "#DBEAFE",
49
+ infoDark: "#1E40AF",
50
+ },
51
+ };
52
+
53
+ // CSS Variables mapping for Tailwind
54
+ export const CSS_VARIABLES = {
55
+ light: {
56
+ "--color-primary": COLORS.primary.DEFAULT,
57
+ "--color-primary-hover": COLORS.primary.hover,
58
+ "--color-bg": COLORS.light.bg,
59
+ "--color-bg-alt": COLORS.light.bgAlt,
60
+ "--color-surface": COLORS.light.surface,
61
+ "--color-sidebar": COLORS.light.sidebar,
62
+ "--color-border": COLORS.light.border,
63
+ "--color-text-main": COLORS.light.textMain,
64
+ "--color-text-muted": COLORS.light.textMuted,
65
+ },
66
+ dark: {
67
+ "--color-primary": COLORS.primary.DEFAULT,
68
+ "--color-primary-hover": COLORS.primary.hover,
69
+ "--color-bg": COLORS.dark.bg,
70
+ "--color-bg-alt": COLORS.dark.bgAlt,
71
+ "--color-surface": COLORS.dark.surface,
72
+ "--color-sidebar": COLORS.dark.sidebar,
73
+ "--color-border": COLORS.dark.border,
74
+ "--color-text-main": COLORS.dark.textMain,
75
+ "--color-text-muted": COLORS.dark.textMuted,
76
+ },
77
+ };
@@ -0,0 +1,109 @@
1
+ import pkg from "../../../package.json" with { type: "json" };
2
+
3
+ // App configuration
4
+ export const APP_CONFIG = {
5
+ name: "n9Router proxy",
6
+ description: "AI Infrastructure Management",
7
+ version: pkg.version,
8
+ };
9
+
10
+ // GitHub configuration
11
+ export const GITHUB_CONFIG = {
12
+ changelogUrl: "https://raw.githubusercontent.com/nightwalker89/n9router/refs/heads/master/CHANGELOG.md",
13
+ donateUrl: "/api/donate",
14
+ };
15
+
16
+ // Updater configuration
17
+ export const UPDATER_CONFIG = {
18
+ npmPackageName: "n9router",
19
+ installCmd: "npm i -g n9router",
20
+ installCmdLatest: "npm i -g n9router@latest --prefer-online",
21
+ shutdownCountdownSec: 3,
22
+ exitDelayMs: 500,
23
+ statusPort: 20129,
24
+ statusPollIntervalMs: 1000,
25
+ statusLogTailLines: 8,
26
+ installRetries: 3,
27
+ installRetryDelayMs: 5000,
28
+ lingerAfterDoneMs: 30000,
29
+ waitForExitMinMs: 5000,
30
+ waitForExitMaxMs: 20000,
31
+ waitForExitCheckMs: 500,
32
+ appPort: 20128,
33
+ };
34
+
35
+ // Theme configuration
36
+ export const THEME_CONFIG = {
37
+ storageKey: "theme",
38
+ defaultTheme: "system", // "light" | "dark" | "system"
39
+ };
40
+
41
+ // Subscription
42
+ export const SUBSCRIPTION_CONFIG = {
43
+ price: 1.0,
44
+ currency: "USD",
45
+ interval: "month",
46
+ planName: "Pro Plan",
47
+ };
48
+
49
+ // API endpoints
50
+ export const API_ENDPOINTS = {
51
+ users: "/api/users",
52
+ providers: "/api/providers",
53
+ payments: "/api/payments",
54
+ auth: "/api/auth",
55
+ };
56
+
57
+ export const CONSOLE_LOG_CONFIG = {
58
+ maxLines: 200,
59
+ pollIntervalMs: 1000,
60
+ };
61
+
62
+ // Client-side store TTL: how long fetched data stays fresh before re-fetching
63
+ export const CLIENT_STORE_TTL_MS = 60000;
64
+
65
+ // Quota auto-ping: keep 5h windows warm by sending a tiny request right after reset.
66
+ export const QUOTA_AUTOPING_CONFIG = {
67
+ tickIntervalMs: 60000, // scheduler tick
68
+ pingLeadMs: 5000, // fire once reset passes (within tolerance)
69
+ refreshAheadMs: 300000, // refetch usage when within 5min of reset
70
+ failureCooldownMs: 900000, // avoid failed ping spam while upstream/auth is unhealthy
71
+ providers: {
72
+ claude: {
73
+ settingsKey: "claudeAutoPing", // preserve existing settings contract
74
+ quotaKey: "session (5h)", // quota key returned by usage handler
75
+ pingModel: "claude-haiku-4-5-20251001",
76
+ pingText: "hi",
77
+ pingMaxTokens: 1,
78
+ },
79
+ codex: {
80
+ settingsKey: "codexAutoPing",
81
+ quotaKey: "session",
82
+ pingWhenResetAtSlides: true,
83
+ resetAtDriftMs: 30000,
84
+ minPingIntervalMs: 600000,
85
+ skipWhenBlockingQuotaExhausted: true,
86
+ // gpt-5.6-terra is the lightweight model for auto-pinging Codex 5h reset window.
87
+ pingModel: "gpt-5.6-terra",
88
+ pingText: "hi",
89
+ pingInstructions: "Reply with OK.",
90
+ pingReasoningEffort: "none",
91
+ },
92
+ },
93
+ };
94
+
95
+ // Re-export from providers.js for backward compatibility
96
+ export {
97
+ FREE_PROVIDERS,
98
+ OAUTH_PROVIDERS,
99
+ APIKEY_PROVIDERS,
100
+ WEB_COOKIE_PROVIDERS,
101
+ AI_PROVIDERS,
102
+ AUTH_METHODS,
103
+ } from "./providers.js";
104
+
105
+ // Re-export from models.js for backward compatibility
106
+ export {
107
+ PROVIDER_MODELS,
108
+ AI_MODELS,
109
+ } from "./models.js";
@@ -0,0 +1,72 @@
1
+ // Default remote plugins for Claude Cowork (3p managedMcpServers, HTTPS only).
2
+ const DEFAULT_PLUGINS = [
3
+ {
4
+ name: "exa",
5
+ title: "Exa",
6
+ description: "Real-time web search and code documentation",
7
+ url: "https://mcp.exa.ai/mcp",
8
+ transport: "http",
9
+ oauth: false,
10
+ toolNames: ["web_search_exa", "web_fetch_exa"],
11
+ },
12
+ {
13
+ name: "tavily",
14
+ title: "Tavily",
15
+ description: "Real-time web search optimized for LLM agents",
16
+ url: "https://mcp.tavily.com/mcp",
17
+ transport: "http",
18
+ oauth: true,
19
+ toolNames: ["tavily_search", "tavily_extract", "tavily_crawl", "tavily_map"],
20
+ },
21
+ ];
22
+
23
+ // Local stdio plugins bridged via inline SSE endpoint on the app's port.
24
+ const LOCAL_STDIO_PLUGINS = [
25
+ {
26
+ name: "browsermcp",
27
+ title: "Browser MCP",
28
+ description: "Control your running Chrome (requires Chrome extension)",
29
+ extensionUrl: "https://chromewebstore.google.com/detail/browser-mcp-automate-your/bjfgambnhccakkhmkepdoekmckoijdlc",
30
+ command: "npx",
31
+ args: ["-y", "@browsermcp/mcp@latest"],
32
+ toolNames: ["browser_navigate", "browser_snapshot", "browser_click", "browser_type", "browser_screenshot", "browser_get_console_logs", "browser_wait", "browser_press_key", "browser_go_back", "browser_go_forward"],
33
+ },
34
+ ];
35
+
36
+ function buildManagedMcpServers(plugins) {
37
+ const list = Array.isArray(plugins) ? plugins : [];
38
+ const out = [];
39
+ const seen = new Set();
40
+ for (const p of list) {
41
+ if (!p?.name || !p?.url || seen.has(p.name)) continue;
42
+ seen.add(p.name);
43
+ const entry = {
44
+ name: p.name,
45
+ url: p.url,
46
+ transport: p.transport || (/\/sse(\b|\/)/i.test(p.url) ? "sse" : "http"),
47
+ };
48
+ if (p.oauth) entry.oauth = true;
49
+ if (Array.isArray(p.toolNames) && p.toolNames.length > 0) {
50
+ // Strip any pre-existing "{name}-" prefixes (idempotent across re-applies),
51
+ // then emit both bare + single-prefixed variants to match runtime tool naming.
52
+ const prefix = `${p.name}-`;
53
+ const bare = new Set();
54
+ for (const raw of p.toolNames) {
55
+ if (typeof raw !== "string" || !raw) continue;
56
+ let t = raw;
57
+ while (t.startsWith(prefix)) t = t.slice(prefix.length);
58
+ bare.add(t);
59
+ }
60
+ const policy = {};
61
+ for (const t of bare) {
62
+ policy[t] = "allow";
63
+ policy[`${prefix}${t}`] = "allow";
64
+ }
65
+ entry.toolPolicy = policy;
66
+ }
67
+ out.push(entry);
68
+ }
69
+ return out;
70
+ }
71
+
72
+ module.exports = { DEFAULT_PLUGINS, LOCAL_STDIO_PLUGINS, buildManagedMcpServers };
@@ -0,0 +1,4 @@
1
+ // Shared Constants - Export all
2
+ export * from "./colors";
3
+ export * from "./config";
4
+
@@ -0,0 +1,24 @@
1
+ // Per-API-key access control: shared constants. Used by the engine
2
+ // (src/sse/services/keyAccess.js), the DB repo, the /api/keys routes and the
3
+ // Endpoint page.
4
+
5
+ // Upper bounds for one key's allow list. The API rejects input beyond these
6
+ // (400) rather than truncating it, so a declared list is never silently cut.
7
+ export const KEY_ACCESS_MAX_ENTRIES = 200;
8
+ export const KEY_ACCESS_MAX_ENTRY_LENGTH = 256;
9
+
10
+ // Every key — new, migrated, or restored from a backup without the field — is
11
+ // unrestricted unless explicitly switched to restricted.
12
+ export const KEY_ACCESS_UNRESTRICTED = Object.freeze({ restricted: false, allow: Object.freeze([]) });
13
+
14
+ // /v1/models entry kinds whose "model" is the provider itself (search/fetch).
15
+ export const KEY_ACCESS_PROVIDER_AS_MODEL_KINDS = Object.freeze(["webSearch", "webFetch"]);
16
+
17
+ // /v1/models owner tag for combo entries.
18
+ export const KEY_ACCESS_COMBO_OWNER = "combo";
19
+
20
+ // Client-facing 403 message. Names only what the client itself sent: never the
21
+ // key name or the key's allow list.
22
+ export function keyAccessDeniedMessage(requested) {
23
+ return `This API key is not allowed to use model "${requested}"`;
24
+ }
@@ -0,0 +1,38 @@
1
+ // Centralized locale display flags (shared across UI components)
2
+ export const LOCALE_FLAGS = {
3
+ "en": "🇺🇸",
4
+ "vi": "🇻🇳",
5
+ "zh-CN": "🇨🇳",
6
+ "zh-TW": "🇹🇼",
7
+ "ja": "🇯🇵",
8
+ "pt-BR": "🇧🇷",
9
+ "pt-PT": "🇵🇹",
10
+ "ko": "🇰🇷",
11
+ "es": "🇪🇸",
12
+ "de": "🇩🇪",
13
+ "fr": "🇫🇷",
14
+ "he": "🇮🇱",
15
+ "ar": "🇸🇦",
16
+ "ru": "🇷🇺",
17
+ "pl": "🇵🇱",
18
+ "cs": "🇨🇿",
19
+ "nl": "🇳🇱",
20
+ "tr": "🇹🇷",
21
+ "uk": "🇺🇦",
22
+ "tl": "🇵🇭",
23
+ "id": "🇮🇩",
24
+ "th": "🇹🇭",
25
+ "km": "🇰🇭",
26
+ "hi": "🇮🇳",
27
+ "bn": "🇧🇩",
28
+ "ur": "🇵🇰",
29
+ "ro": "🇷🇴",
30
+ "sv": "🇸🇪",
31
+ "it": "🇮🇹",
32
+ "el": "🇬🇷",
33
+ "hu": "🇭🇺",
34
+ "fi": "🇫🇮",
35
+ "da": "🇩🇰",
36
+ "no": "🇳🇴",
37
+ "fa": "🇮🇷",
38
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Per-tool DNS hosts — written to hosts file as 127.0.0.1 when MITM DNS is enabled.
3
+ * Kept in sync with MITM routing; shared by Node (dnsConfig) and dashboard UI.
4
+ */
5
+ const TOOL_HOSTS = {
6
+ antigravity: ["daily-cloudcode-pa.googleapis.com", "cloudcode-pa.googleapis.com"],
7
+ copilot: ["api.individual.githubcopilot.com"],
8
+ kiro: ["runtime.us-east-1.kiro.dev", "q.us-east-1.amazonaws.com", "codewhisperer.us-east-1.amazonaws.com"],
9
+ cursor: ["api2.cursor.sh"],
10
+ };
11
+
12
+ module.exports = { TOOL_HOSTS };
@@ -0,0 +1,67 @@
1
+ // Import directly from file to avoid pulling in server-side dependencies via index.js
2
+ export {
3
+ PROVIDER_MODELS,
4
+ getProviderModels,
5
+ getDefaultModel,
6
+ isValidModel as isValidModelCore,
7
+ findModelName,
8
+ getModelTargetFormat,
9
+ getModelStrip,
10
+ PROVIDER_ID_TO_ALIAS,
11
+ getModelsByProviderId,
12
+ getModelUpstreamId,
13
+ getModelQuotaFamily
14
+ } from "open-sse/config/providerModels.js";
15
+
16
+ import { AI_PROVIDERS, isOpenAICompatibleProvider } from "./providers.js";
17
+ import { PROVIDER_MODELS as MODELS } from "open-sse/config/providerModels.js";
18
+
19
+ // Providers that accept any model (passthrough)
20
+ const PASSTHROUGH_PROVIDERS = new Set(
21
+ Object.entries(AI_PROVIDERS)
22
+ .filter(([, p]) => p.passthroughModels)
23
+ .map(([key]) => key)
24
+ );
25
+
26
+ // Wrap isValidModel with passthrough providers
27
+ export function isValidModel(aliasOrId, modelId) {
28
+ if (isOpenAICompatibleProvider(aliasOrId)) return true;
29
+ if (PASSTHROUGH_PROVIDERS.has(aliasOrId)) return true;
30
+ const models = MODELS[aliasOrId];
31
+ if (!models) return false;
32
+ return models.some(m => m.id === modelId);
33
+ }
34
+
35
+ // Legacy AI_MODELS for backward compatibility
36
+ export const AI_MODELS = Object.entries(MODELS).flatMap(([alias, models]) =>
37
+ models.map(m => ({ provider: alias, model: m.id, name: m.name }))
38
+ );
39
+
40
+ export const getModelKind = (m, fallback = null) => m?.kind || m?.type || fallback;
41
+
42
+ // Capacity metadata for UI badges — icon + label + color per capability.
43
+ export const CAPACITY_META = {
44
+ vision: { icon: "visibility", label: "Vision", desc: "Supports image input", color: "text-blue-500" },
45
+ // search: temporarily hidden (feature not wired yet)
46
+ reasoning: { icon: "neurology", label: "Reasoning", desc: "Supports reasoning / thinking", color: "text-amber-500" },
47
+ };
48
+
49
+ // Realtime STT transport markers accepted on custom models — single source of
50
+ // truth across layers: the API whitelist (src/app/api/models/custom/route.js
51
+ // sanitizeTransport) and the dashboard transport select
52
+ // (providers/[id]/AddCustomModelModal) both import this map, so one new row
53
+ // here makes a realtime engine dispatch case (open-sse/handlers/sttCore.js)
54
+ // selectable and validated end-to-end. Keys must mirror a sttCore case.
55
+ export const STT_TRANSPORT_META = {
56
+ "gemini-live": {
57
+ label: "Gemini Live (realtime WebSocket)",
58
+ desc: "Streams audio over bidiGenerateContent and returns incremental transcription segments",
59
+ },
60
+ };
61
+
62
+ export const STT_TRANSPORTS = Object.freeze(Object.keys(STT_TRANSPORT_META));
63
+
64
+ export function isSttTransport(transport) {
65
+ if (typeof transport !== "string") return false;
66
+ return Object.prototype.hasOwnProperty.call(STT_TRANSPORT_META, transport.trim());
67
+ }
@@ -0,0 +1,7 @@
1
+ // @monaco-editor/react does not use the monaco-editor package from node_modules: its
2
+ // loader fetches Monaco from jsdelivr at a version hardcoded in @monaco-editor/loader.
3
+ // Pin that copy to the version in package.json, so a Monaco upgrade (and the DOMPurify
4
+ // fixes bundled in it) actually reaches the browser. tests/unit/monaco-version.test.js
5
+ // fails if this drifts from the installed package.
6
+ export const MONACO_VERSION = "0.57.0";
7
+ export const MONACO_VS_PATH = `https://cdn.jsdelivr.net/npm/monaco-editor@${MONACO_VERSION}/min/vs`;
@@ -0,0 +1,168 @@
1
+ // Provider definitions
2
+ import REGISTRY from "open-sse/providers/registry/index.js";
3
+ import { RISK_NOTICE } from "@/shared/constants/providersDisplay.js";
4
+
5
+ const MEDIA_ENTRY_KEYS = [
6
+ "serviceKinds", "ttsConfig", "sttConfig", "embeddingConfig",
7
+ "imageConfig", "imageToTextConfig", "videoConfig", "musicConfig",
8
+ "searchViaChat", "searchConfig", "fetchConfig", "credentialFallback", "systemoneConfig",
9
+ "modelsFetcher", "mediaPriority", "hiddenKinds",
10
+ ];
11
+
12
+ // Build provider UI object from registry entry
13
+ function buildProviderEntry(r) {
14
+ const mediaFields = {};
15
+ if (r.media) Object.assign(mediaFields, r.media);
16
+ for (const k of MEDIA_ENTRY_KEYS) {
17
+ if (r[k] !== undefined) mediaFields[k] = r[k];
18
+ }
19
+ const display = { ...(r.display || {}) };
20
+ if (display.deprecationNotice === "RISK_NOTICE") display.deprecationNotice = RISK_NOTICE;
21
+ return {
22
+ ...display,
23
+ id: r.id,
24
+ alias: r.uiAlias || r.alias,
25
+ ...(r.hidden ? { hidden: true } : {}),
26
+ ...mediaFields,
27
+ ...(r.priority !== undefined ? { priority: r.priority } : {}),
28
+ ...(r.hasFree ? { hasFree: true } : {}),
29
+ ...(r.thinkingConfig ? { thinkingConfig: r.thinkingConfig } : {}),
30
+ ...(r.regions ? { regions: r.regions, defaultRegion: r.defaultRegion } : {}),
31
+ ...(r.hasProviderSpecificData ? { hasProviderSpecificData: true } : {}),
32
+ ...(r.noAuth ? { noAuth: true } : {}),
33
+ ...(r.passthroughModels ? { passthroughModels: true } : {}),
34
+ ...(r.hasOAuth ? { hasOAuth: true } : {}),
35
+ ...(r.authModes ? { authModes: r.authModes } : {}),
36
+ ...(r.authType ? { authType: r.authType } : {}),
37
+ ...(r.authHint ? { authHint: r.authHint } : {}),
38
+ ...(r.apiKeyOptionalWith ? { apiKeyOptionalWith: r.apiKeyOptionalWith } : {}),
39
+ ...(r.credentialForm ? { credentialForm: r.credentialForm } : {}),
40
+ };
41
+ }
42
+
43
+ const byCategory = (cat) => Object.fromEntries(
44
+ REGISTRY.filter(r => r.category === cat).map(r => [r.id, buildProviderEntry(r)])
45
+ );
46
+
47
+ export const FREE_PROVIDERS = byCategory("free");
48
+ export const FREE_TIER_PROVIDERS = byCategory("freeTier");
49
+
50
+ // Thinking config definitions
51
+ // options: list of selectable modes ("auto" = no override from server)
52
+ // defaultMode: fallback when user hasn't configured
53
+ // extended: claude-style thinking (thinking.type + budget_tokens) — used by most providers
54
+ // effort: openai-style reasoning_effort — only openai + codex
55
+ export const THINKING_CONFIG = {
56
+ extended: {
57
+ options: ["auto", "on", "off"],
58
+ defaultMode: "auto",
59
+ defaultBudgetTokens: 10000
60
+ },
61
+ effort: {
62
+ options: ["auto", "none", "low", "medium", "high"],
63
+ defaultMode: "auto"
64
+ }
65
+ };
66
+
67
+ export const OAUTH_PROVIDERS = byCategory("oauth");
68
+ export const APIKEY_PROVIDERS = byCategory("apikey");
69
+
70
+ // Web Cookie Providers (use browser session cookie instead of API key)
71
+ export const WEB_COOKIE_PROVIDERS = byCategory("webCookie");
72
+
73
+ // Media provider kinds — each kind maps to a route and endpoint config
74
+ export const MEDIA_PROVIDER_KINDS = [
75
+ { id: "embedding", label: "Embedding", icon: "data_array", endpoint: { method: "POST", path: "/v1/embeddings" } },
76
+ { id: "image", label: "Text to Image", icon: "brush", endpoint: { method: "POST", path: "/v1/images/generations" } },
77
+ { id: "imageToText", label: "Image to Text", icon: "image_search", endpoint: { method: "POST", path: "/v1/images/understanding" } },
78
+ { id: "tts", label: "Text To Speech", icon: "record_voice_over", endpoint: { method: "POST", path: "/v1/audio/speech" } },
79
+ { id: "stt", label: "Speech To Text", icon: "mic", endpoint: { method: "POST", path: "/v1/audio/transcriptions" } },
80
+ { id: "webSearch", label: "Web Search", icon: "travel_explore", endpoint: { method: "POST", path: "/v1/search" } },
81
+ { id: "webFetch", label: "Web Fetch", icon: "language", endpoint: { method: "POST", path: "/v1/web/fetch" } },
82
+ { id: "video", label: "Video", icon: "movie", endpoint: { method: "POST", path: "/v1/videos/generations" } },
83
+ { id: "music", label: "Music", icon: "music_note", endpoint: { method: "POST", path: "/v1/audio/music" } },
84
+ { id: "systemone", label: "System One", icon: "psychology", endpoint: { method: "POST", path: "/v1/systemone" }, isNew: true },
85
+ ];
86
+
87
+ export const OPENAI_COMPATIBLE_PREFIX = "openai-compatible-";
88
+ export const ANTHROPIC_COMPATIBLE_PREFIX = "anthropic-compatible-";
89
+ export const CUSTOM_EMBEDDING_PREFIX = "custom-embedding-";
90
+
91
+ export function isOpenAICompatibleProvider(providerId) {
92
+ return typeof providerId === "string" && providerId.startsWith(OPENAI_COMPATIBLE_PREFIX);
93
+ }
94
+
95
+ export function isAnthropicCompatibleProvider(providerId) {
96
+ return typeof providerId === "string" && providerId.startsWith(ANTHROPIC_COMPATIBLE_PREFIX);
97
+ }
98
+
99
+ export function isCustomEmbeddingProvider(providerId) {
100
+ return typeof providerId === "string" && providerId.startsWith(CUSTOM_EMBEDDING_PREFIX);
101
+ }
102
+
103
+ // All providers (combined)
104
+ export const AI_PROVIDERS = { ...FREE_PROVIDERS, ...FREE_TIER_PROVIDERS, ...OAUTH_PROVIDERS, ...APIKEY_PROVIDERS, ...WEB_COOKIE_PROVIDERS };
105
+
106
+ // Auth methods
107
+ export const AUTH_METHODS = {
108
+ oauth: { id: "oauth" },
109
+ apikey: { id: "apikey" },
110
+ cookie: { id: "cookie" },
111
+ };
112
+
113
+ // Helper: Get provider by alias
114
+ export function getProviderByAlias(alias) {
115
+ for (const provider of Object.values(AI_PROVIDERS)) {
116
+ if (provider.alias === alias || provider.id === alias) {
117
+ return provider;
118
+ }
119
+ }
120
+ return null;
121
+ }
122
+
123
+ // Helper: Get provider ID from alias
124
+ export function resolveProviderId(aliasOrId) {
125
+ const provider = getProviderByAlias(aliasOrId);
126
+ return provider?.id || aliasOrId;
127
+ }
128
+
129
+ // Helper: Get alias from provider ID
130
+ export function getProviderAlias(providerId) {
131
+ const provider = AI_PROVIDERS[providerId];
132
+ return provider?.alias || providerId;
133
+ }
134
+
135
+ // Alias to ID mapping (for quick lookup)
136
+ export const ALIAS_TO_ID = Object.values(AI_PROVIDERS).reduce((acc, p) => {
137
+ acc[p.alias] = p.id;
138
+ return acc;
139
+ }, {});
140
+
141
+ // ID to Alias mapping
142
+ export const ID_TO_ALIAS = Object.values(AI_PROVIDERS).reduce((acc, p) => {
143
+ acc[p.id] = p.alias;
144
+ return acc;
145
+ }, {});
146
+
147
+ // Helper: Get providers by service kind (e.g. "tts", "embedding", "image")
148
+ // Providers without serviceKinds default to ["llm"]
149
+ export function getProvidersByKind(kind) {
150
+ return Object.values(AI_PROVIDERS)
151
+ .filter((p) => {
152
+ const kinds = p.serviceKinds ?? ["llm"];
153
+ if (!kinds.includes(kind)) return false;
154
+ if (p.hidden) return false;
155
+ if (p.hiddenKinds?.includes(kind)) return false;
156
+ return true;
157
+ })
158
+ .sort((a, b) => (a.priority ?? a.mediaPriority ?? 999) - (b.priority ?? b.mediaPriority ?? 999));
159
+ }
160
+
161
+ // Derive từ registry features flags
162
+ export const USAGE_SUPPORTED_PROVIDERS = REGISTRY
163
+ .filter(r => r.features?.usage)
164
+ .map(r => r.id);
165
+
166
+ export const USAGE_APIKEY_PROVIDERS = REGISTRY
167
+ .filter(r => r.features?.usageApikey)
168
+ .map(r => r.id);
@@ -0,0 +1,12 @@
1
+ // UI display config — all providers derive from registry.display.
2
+ import REGISTRY from "open-sse/providers/registry/index.js";
3
+
4
+ export 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.";
5
+
6
+ // Resolve "RISK_NOTICE" token → real notice text (registry stores token to avoid import cycle)
7
+ const resolveDisplay = (d) =>
8
+ d.deprecationNotice === "RISK_NOTICE" ? { ...d, deprecationNotice: RISK_NOTICE } : d;
9
+
10
+ export const PROVIDER_DISPLAY = Object.fromEntries(
11
+ REGISTRY.filter((r) => r.display).map((r) => [r.id, resolveDisplay(r.display)]),
12
+ );