omniroute 1.7.6 → 1.7.8

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 (470) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +27 -27
  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 +1 -1
  6. package/app/.next/server/app/(dashboard)/dashboard/analytics/page.js +2 -2
  7. package/app/.next/server/app/(dashboard)/dashboard/analytics/page.js.nft.json +1 -1
  8. package/app/.next/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/api-manager/page.js +2 -2
  10. package/app/.next/server/app/(dashboard)/dashboard/api-manager/page.js.nft.json +1 -1
  11. package/app/.next/server/app/(dashboard)/dashboard/api-manager/page_client-reference-manifest.js +1 -1
  12. package/app/.next/server/app/(dashboard)/dashboard/audit-log/page.js +2 -2
  13. package/app/.next/server/app/(dashboard)/dashboard/audit-log/page.js.nft.json +1 -1
  14. package/app/.next/server/app/(dashboard)/dashboard/audit-log/page_client-reference-manifest.js +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +3 -3
  16. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  19. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  20. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/costs/page.js +2 -2
  22. package/app/.next/server/app/(dashboard)/dashboard/costs/page.js.nft.json +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/costs/page_client-reference-manifest.js +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  25. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  26. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/health/page.js +2 -2
  28. package/app/.next/server/app/(dashboard)/dashboard/health/page.js.nft.json +1 -1
  29. package/app/.next/server/app/(dashboard)/dashboard/health/page_client-reference-manifest.js +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/limits/page.js +2 -2
  31. package/app/.next/server/app/(dashboard)/dashboard/limits/page.js.nft.json +1 -1
  32. package/app/.next/server/app/(dashboard)/dashboard/limits/page_client-reference-manifest.js +1 -1
  33. package/app/.next/server/app/(dashboard)/dashboard/logs/page.js +2 -2
  34. package/app/.next/server/app/(dashboard)/dashboard/logs/page.js.nft.json +1 -1
  35. package/app/.next/server/app/(dashboard)/dashboard/logs/page_client-reference-manifest.js +1 -1
  36. package/app/.next/server/app/(dashboard)/dashboard/media/page.js +2 -2
  37. package/app/.next/server/app/(dashboard)/dashboard/media/page.js.nft.json +1 -1
  38. package/app/.next/server/app/(dashboard)/dashboard/media/page_client-reference-manifest.js +1 -1
  39. package/app/.next/server/app/(dashboard)/dashboard/onboarding/page.js +2 -2
  40. package/app/.next/server/app/(dashboard)/dashboard/onboarding/page.js.nft.json +1 -1
  41. package/app/.next/server/app/(dashboard)/dashboard/onboarding/page_client-reference-manifest.js +1 -1
  42. package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
  43. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  44. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  45. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  46. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  47. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  48. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  49. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  50. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  51. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  52. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  53. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  54. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  55. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  56. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  57. package/app/.next/server/app/(dashboard)/dashboard/settings/page.js +2 -2
  58. package/app/.next/server/app/(dashboard)/dashboard/settings/page.js.nft.json +1 -1
  59. package/app/.next/server/app/(dashboard)/dashboard/settings/page_client-reference-manifest.js +1 -1
  60. package/app/.next/server/app/(dashboard)/dashboard/settings/pricing/page.js +2 -2
  61. package/app/.next/server/app/(dashboard)/dashboard/settings/pricing/page.js.nft.json +1 -1
  62. package/app/.next/server/app/(dashboard)/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  63. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +3 -3
  64. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  65. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  66. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  67. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  68. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  69. package/app/.next/server/app/_global-error/page.js +3 -3
  70. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  71. package/app/.next/server/app/_global-error.html +2 -2
  72. package/app/.next/server/app/_global-error.rsc +4 -4
  73. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +4 -4
  74. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  75. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  76. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  77. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
  78. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  79. package/app/.next/server/app/_not-found/page.js +2 -2
  80. package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
  81. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  82. package/app/.next/server/app/api/auth/login/route.js +1 -1
  83. package/app/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  84. package/app/.next/server/app/api/auth/logout/route.js +1 -1
  85. package/app/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  86. package/app/.next/server/app/api/auth/status/route.js +1 -1
  87. package/app/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  88. package/app/.next/server/app/api/cache/route.js +1 -1
  89. package/app/.next/server/app/api/cache/route_client-reference-manifest.js +1 -1
  90. package/app/.next/server/app/api/cache/stats/route.js +1 -1
  91. package/app/.next/server/app/api/cache/stats/route_client-reference-manifest.js +1 -1
  92. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  93. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
  94. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +2 -2
  95. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
  96. package/app/.next/server/app/api/cli-tools/backups/route.js +2 -2
  97. package/app/.next/server/app/api/cli-tools/backups/route_client-reference-manifest.js +1 -1
  98. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  99. package/app/.next/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
  100. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +2 -2
  101. package/app/.next/server/app/api/cli-tools/cline-settings/route_client-reference-manifest.js +1 -1
  102. package/app/.next/server/app/api/cli-tools/codex-profiles/route.js +2 -2
  103. package/app/.next/server/app/api/cli-tools/codex-profiles/route_client-reference-manifest.js +1 -1
  104. package/app/.next/server/app/api/cli-tools/codex-settings/route.js +2 -2
  105. package/app/.next/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
  106. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +2 -2
  107. package/app/.next/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
  108. package/app/.next/server/app/api/cli-tools/guide-settings/[toolId]/route.js +1 -1
  109. package/app/.next/server/app/api/cli-tools/guide-settings/[toolId]/route_client-reference-manifest.js +1 -1
  110. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  111. package/app/.next/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -1
  112. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  113. package/app/.next/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
  114. package/app/.next/server/app/api/cli-tools/runtime/[toolId]/route.js +2 -2
  115. package/app/.next/server/app/api/cli-tools/runtime/[toolId]/route_client-reference-manifest.js +1 -1
  116. package/app/.next/server/app/api/cli-tools/status/route.js +2 -2
  117. package/app/.next/server/app/api/cli-tools/status/route_client-reference-manifest.js +1 -1
  118. package/app/.next/server/app/api/cloud/auth/route.js +1 -1
  119. package/app/.next/server/app/api/cloud/auth/route_client-reference-manifest.js +1 -1
  120. package/app/.next/server/app/api/cloud/credentials/update/route.js +1 -1
  121. package/app/.next/server/app/api/cloud/credentials/update/route_client-reference-manifest.js +1 -1
  122. package/app/.next/server/app/api/cloud/model/resolve/route.js +1 -1
  123. package/app/.next/server/app/api/cloud/model/resolve/route_client-reference-manifest.js +1 -1
  124. package/app/.next/server/app/api/cloud/models/alias/route.js +1 -1
  125. package/app/.next/server/app/api/cloud/models/alias/route_client-reference-manifest.js +1 -1
  126. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  127. package/app/.next/server/app/api/combos/[id]/route_client-reference-manifest.js +1 -1
  128. package/app/.next/server/app/api/combos/metrics/route.js +1 -1
  129. package/app/.next/server/app/api/combos/metrics/route_client-reference-manifest.js +1 -1
  130. package/app/.next/server/app/api/combos/route.js +1 -1
  131. package/app/.next/server/app/api/combos/route_client-reference-manifest.js +1 -1
  132. package/app/.next/server/app/api/combos/test/route.js +1 -1
  133. package/app/.next/server/app/api/combos/test/route_client-reference-manifest.js +1 -1
  134. package/app/.next/server/app/api/compliance/audit-log/route.js +1 -1
  135. package/app/.next/server/app/api/compliance/audit-log/route_client-reference-manifest.js +1 -1
  136. package/app/.next/server/app/api/db-backups/export/route.js +1 -1
  137. package/app/.next/server/app/api/db-backups/export/route_client-reference-manifest.js +1 -1
  138. package/app/.next/server/app/api/db-backups/exportAll/route.js +1 -1
  139. package/app/.next/server/app/api/db-backups/exportAll/route_client-reference-manifest.js +1 -1
  140. package/app/.next/server/app/api/db-backups/import/route.js +1 -1
  141. package/app/.next/server/app/api/db-backups/import/route_client-reference-manifest.js +1 -1
  142. package/app/.next/server/app/api/db-backups/route.js +1 -1
  143. package/app/.next/server/app/api/db-backups/route_client-reference-manifest.js +1 -1
  144. package/app/.next/server/app/api/evals/[suiteId]/route.js +1 -1
  145. package/app/.next/server/app/api/evals/[suiteId]/route_client-reference-manifest.js +1 -1
  146. package/app/.next/server/app/api/evals/route.js +1 -1
  147. package/app/.next/server/app/api/evals/route_client-reference-manifest.js +1 -1
  148. package/app/.next/server/app/api/fallback/chains/route.js +2 -2
  149. package/app/.next/server/app/api/fallback/chains/route_client-reference-manifest.js +1 -1
  150. package/app/.next/server/app/api/init/route.js +1 -1
  151. package/app/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
  152. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  153. package/app/.next/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
  154. package/app/.next/server/app/api/keys/route.js +1 -1
  155. package/app/.next/server/app/api/keys/route_client-reference-manifest.js +1 -1
  156. package/app/.next/server/app/api/logs/console/route.js +1 -1
  157. package/app/.next/server/app/api/logs/console/route_client-reference-manifest.js +1 -1
  158. package/app/.next/server/app/api/models/alias/route.js +1 -1
  159. package/app/.next/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
  160. package/app/.next/server/app/api/models/availability/route.js +1 -1
  161. package/app/.next/server/app/api/models/availability/route_client-reference-manifest.js +1 -1
  162. package/app/.next/server/app/api/models/catalog/route.js +2 -2
  163. package/app/.next/server/app/api/models/catalog/route_client-reference-manifest.js +1 -1
  164. package/app/.next/server/app/api/models/route.js +2 -2
  165. package/app/.next/server/app/api/models/route_client-reference-manifest.js +1 -1
  166. package/app/.next/server/app/api/monitoring/health/route.js +2 -2
  167. package/app/.next/server/app/api/monitoring/health/route_client-reference-manifest.js +1 -1
  168. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +2 -2
  169. package/app/.next/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
  170. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  171. package/app/.next/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
  172. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  173. package/app/.next/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
  174. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  175. package/app/.next/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
  176. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  177. package/app/.next/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
  178. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  179. package/app/.next/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
  180. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  181. package/app/.next/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
  182. package/app/.next/server/app/api/policies/route.js +2 -2
  183. package/app/.next/server/app/api/policies/route_client-reference-manifest.js +1 -1
  184. package/app/.next/server/app/api/pricing/defaults/route.js +1 -1
  185. package/app/.next/server/app/api/pricing/defaults/route_client-reference-manifest.js +1 -1
  186. package/app/.next/server/app/api/pricing/models/route.js +1 -1
  187. package/app/.next/server/app/api/pricing/models/route_client-reference-manifest.js +1 -1
  188. package/app/.next/server/app/api/pricing/route.js +1 -1
  189. package/app/.next/server/app/api/pricing/route_client-reference-manifest.js +1 -1
  190. package/app/.next/server/app/api/provider-metrics/route.js +2 -2
  191. package/app/.next/server/app/api/provider-metrics/route_client-reference-manifest.js +1 -1
  192. package/app/.next/server/app/api/provider-models/route.js +1 -1
  193. package/app/.next/server/app/api/provider-models/route_client-reference-manifest.js +1 -1
  194. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  195. package/app/.next/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
  196. package/app/.next/server/app/api/provider-nodes/route.js +2 -2
  197. package/app/.next/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
  198. package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  199. package/app/.next/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
  200. package/app/.next/server/app/api/providers/[id]/models/route.js +2 -2
  201. package/app/.next/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
  202. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  203. package/app/.next/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
  204. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  205. package/app/.next/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
  206. package/app/.next/server/app/api/providers/client/route.js +1 -1
  207. package/app/.next/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
  208. package/app/.next/server/app/api/providers/route.js +2 -2
  209. package/app/.next/server/app/api/providers/route_client-reference-manifest.js +1 -1
  210. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  211. package/app/.next/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -1
  212. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  213. package/app/.next/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
  214. package/app/.next/server/app/api/rate-limit/route.js +1 -1
  215. package/app/.next/server/app/api/rate-limit/route_client-reference-manifest.js +1 -1
  216. package/app/.next/server/app/api/rate-limits/route.js +1 -1
  217. package/app/.next/server/app/api/rate-limits/route_client-reference-manifest.js +1 -1
  218. package/app/.next/server/app/api/resilience/reset/route.js +1 -1
  219. package/app/.next/server/app/api/resilience/reset/route_client-reference-manifest.js +1 -1
  220. package/app/.next/server/app/api/resilience/route.js +1 -1
  221. package/app/.next/server/app/api/resilience/route_client-reference-manifest.js +1 -1
  222. package/app/.next/server/app/api/restart/route.js +1 -1
  223. package/app/.next/server/app/api/restart/route_client-reference-manifest.js +1 -1
  224. package/app/.next/server/app/api/sessions/route.js +1 -1
  225. package/app/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
  226. package/app/.next/server/app/api/settings/background-degradation/route.js +1 -1
  227. package/app/.next/server/app/api/settings/background-degradation/route_client-reference-manifest.js +1 -1
  228. package/app/.next/server/app/api/settings/combo-defaults/route.js +1 -1
  229. package/app/.next/server/app/api/settings/combo-defaults/route_client-reference-manifest.js +1 -1
  230. package/app/.next/server/app/api/settings/ip-filter/route.js +1 -1
  231. package/app/.next/server/app/api/settings/ip-filter/route_client-reference-manifest.js +1 -1
  232. package/app/.next/server/app/api/settings/model-aliases/route.js +1 -1
  233. package/app/.next/server/app/api/settings/model-aliases/route_client-reference-manifest.js +1 -1
  234. package/app/.next/server/app/api/settings/proxy/route.js +1 -1
  235. package/app/.next/server/app/api/settings/proxy/route_client-reference-manifest.js +1 -1
  236. package/app/.next/server/app/api/settings/proxy/test/route.js +1 -1
  237. package/app/.next/server/app/api/settings/proxy/test/route_client-reference-manifest.js +1 -1
  238. package/app/.next/server/app/api/settings/require-login/route.js +1 -1
  239. package/app/.next/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
  240. package/app/.next/server/app/api/settings/route.js +1 -1
  241. package/app/.next/server/app/api/settings/route_client-reference-manifest.js +1 -1
  242. package/app/.next/server/app/api/settings/system-prompt/route.js +1 -1
  243. package/app/.next/server/app/api/settings/system-prompt/route_client-reference-manifest.js +1 -1
  244. package/app/.next/server/app/api/settings/thinking-budget/route.js +1 -1
  245. package/app/.next/server/app/api/settings/thinking-budget/route_client-reference-manifest.js +1 -1
  246. package/app/.next/server/app/api/shutdown/route.js +1 -1
  247. package/app/.next/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
  248. package/app/.next/server/app/api/storage/health/route.js +1 -1
  249. package/app/.next/server/app/api/storage/health/route_client-reference-manifest.js +1 -1
  250. package/app/.next/server/app/api/sync/cloud/route.js +1 -1
  251. package/app/.next/server/app/api/sync/cloud/route_client-reference-manifest.js +1 -1
  252. package/app/.next/server/app/api/sync/initialize/route.js +1 -1
  253. package/app/.next/server/app/api/sync/initialize/route_client-reference-manifest.js +1 -1
  254. package/app/.next/server/app/api/tags/route.js +1 -1
  255. package/app/.next/server/app/api/tags/route_client-reference-manifest.js +1 -1
  256. package/app/.next/server/app/api/telemetry/summary/route.js +1 -1
  257. package/app/.next/server/app/api/telemetry/summary/route_client-reference-manifest.js +1 -1
  258. package/app/.next/server/app/api/token-health/route.js +1 -1
  259. package/app/.next/server/app/api/token-health/route_client-reference-manifest.js +1 -1
  260. package/app/.next/server/app/api/translator/detect/route.js +1 -1
  261. package/app/.next/server/app/api/translator/detect/route_client-reference-manifest.js +1 -1
  262. package/app/.next/server/app/api/translator/history/route.js +1 -1
  263. package/app/.next/server/app/api/translator/history/route_client-reference-manifest.js +1 -1
  264. package/app/.next/server/app/api/translator/load/route.js +1 -1
  265. package/app/.next/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
  266. package/app/.next/server/app/api/translator/save/route.js +1 -1
  267. package/app/.next/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
  268. package/app/.next/server/app/api/translator/send/route.js +1 -1
  269. package/app/.next/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
  270. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  271. package/app/.next/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
  272. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  273. package/app/.next/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
  274. package/app/.next/server/app/api/usage/analytics/route.js +1 -1
  275. package/app/.next/server/app/api/usage/analytics/route_client-reference-manifest.js +1 -1
  276. package/app/.next/server/app/api/usage/budget/route.js +2 -2
  277. package/app/.next/server/app/api/usage/budget/route_client-reference-manifest.js +1 -1
  278. package/app/.next/server/app/api/usage/call-logs/[id]/route.js +1 -1
  279. package/app/.next/server/app/api/usage/call-logs/[id]/route_client-reference-manifest.js +1 -1
  280. package/app/.next/server/app/api/usage/call-logs/route.js +1 -1
  281. package/app/.next/server/app/api/usage/call-logs/route_client-reference-manifest.js +1 -1
  282. package/app/.next/server/app/api/usage/history/route.js +1 -1
  283. package/app/.next/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
  284. package/app/.next/server/app/api/usage/logs/route.js +1 -1
  285. package/app/.next/server/app/api/usage/logs/route_client-reference-manifest.js +1 -1
  286. package/app/.next/server/app/api/usage/proxy-logs/route.js +1 -1
  287. package/app/.next/server/app/api/usage/proxy-logs/route_client-reference-manifest.js +1 -1
  288. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  289. package/app/.next/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
  290. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  291. package/app/.next/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
  292. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  293. package/app/.next/server/app/api/v1/audio/speech/route_client-reference-manifest.js +1 -1
  294. package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  295. package/app/.next/server/app/api/v1/audio/transcriptions/route_client-reference-manifest.js +1 -1
  296. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  297. package/app/.next/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
  298. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  299. package/app/.next/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
  300. package/app/.next/server/app/api/v1/images/generations/route.js +1 -1
  301. package/app/.next/server/app/api/v1/images/generations/route_client-reference-manifest.js +1 -1
  302. package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  303. package/app/.next/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
  304. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  305. package/app/.next/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
  306. package/app/.next/server/app/api/v1/models/route.js +2 -2
  307. package/app/.next/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
  308. package/app/.next/server/app/api/v1/moderations/route.js +1 -1
  309. package/app/.next/server/app/api/v1/moderations/route_client-reference-manifest.js +1 -1
  310. package/app/.next/server/app/api/v1/music/generations/route.js +1 -1
  311. package/app/.next/server/app/api/v1/music/generations/route_client-reference-manifest.js +1 -1
  312. package/app/.next/server/app/api/v1/providers/[provider]/chat/completions/route.js +1 -1
  313. package/app/.next/server/app/api/v1/providers/[provider]/chat/completions/route_client-reference-manifest.js +1 -1
  314. package/app/.next/server/app/api/v1/providers/[provider]/embeddings/route.js +1 -1
  315. package/app/.next/server/app/api/v1/providers/[provider]/embeddings/route_client-reference-manifest.js +1 -1
  316. package/app/.next/server/app/api/v1/providers/[provider]/images/generations/route.js +1 -1
  317. package/app/.next/server/app/api/v1/providers/[provider]/images/generations/route_client-reference-manifest.js +1 -1
  318. package/app/.next/server/app/api/v1/rerank/route.js +1 -1
  319. package/app/.next/server/app/api/v1/rerank/route_client-reference-manifest.js +1 -1
  320. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  321. package/app/.next/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
  322. package/app/.next/server/app/api/v1/route.js +1 -1
  323. package/app/.next/server/app/api/v1/route_client-reference-manifest.js +1 -1
  324. package/app/.next/server/app/api/v1/videos/generations/route.js +1 -1
  325. package/app/.next/server/app/api/v1/videos/generations/route_client-reference-manifest.js +1 -1
  326. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  327. package/app/.next/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
  328. package/app/.next/server/app/api/v1beta/models/route.js +2 -2
  329. package/app/.next/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
  330. package/app/.next/server/app/callback/page.js +2 -2
  331. package/app/.next/server/app/callback/page.js.nft.json +1 -1
  332. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  333. package/app/.next/server/app/docs/page.js +3 -3
  334. package/app/.next/server/app/docs/page.js.nft.json +1 -1
  335. package/app/.next/server/app/docs/page_client-reference-manifest.js +1 -1
  336. package/app/.next/server/app/forbidden/page.js +2 -2
  337. package/app/.next/server/app/forbidden/page.js.nft.json +1 -1
  338. package/app/.next/server/app/forbidden/page_client-reference-manifest.js +1 -1
  339. package/app/.next/server/app/forgot-password/page.js +2 -2
  340. package/app/.next/server/app/forgot-password/page.js.nft.json +1 -1
  341. package/app/.next/server/app/forgot-password/page_client-reference-manifest.js +1 -1
  342. package/app/.next/server/app/landing/page.js +2 -2
  343. package/app/.next/server/app/landing/page.js.nft.json +1 -1
  344. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  345. package/app/.next/server/app/login/page.js +2 -2
  346. package/app/.next/server/app/login/page.js.nft.json +1 -1
  347. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  348. package/app/.next/server/app/page.js +2 -2
  349. package/app/.next/server/app/page.js.nft.json +1 -1
  350. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  351. package/app/.next/server/app/privacy/page.js +2 -2
  352. package/app/.next/server/app/privacy/page.js.nft.json +1 -1
  353. package/app/.next/server/app/privacy/page_client-reference-manifest.js +1 -1
  354. package/app/.next/server/app/terms/page.js +2 -2
  355. package/app/.next/server/app/terms/page.js.nft.json +1 -1
  356. package/app/.next/server/app/terms/page_client-reference-manifest.js +1 -1
  357. package/app/.next/server/app-paths-manifest.json +27 -27
  358. package/app/.next/server/chunks/1248.js +1 -1
  359. package/app/.next/server/chunks/1526.js +1 -1
  360. package/app/.next/server/chunks/1584.js +1 -1
  361. package/app/.next/server/chunks/1623.js +1 -1
  362. package/app/.next/server/chunks/1880.js +1 -1
  363. package/app/.next/server/chunks/1960.js +1 -1
  364. package/app/.next/server/chunks/1990.js +1 -1
  365. package/app/.next/server/chunks/2180.js +1 -1
  366. package/app/.next/server/chunks/2214.js +1 -1
  367. package/app/.next/server/chunks/2372.js +1 -1
  368. package/app/.next/server/chunks/2594.js +1 -1
  369. package/app/.next/server/chunks/2910.js +1 -1
  370. package/app/.next/server/chunks/3371.js +1 -1
  371. package/app/.next/server/chunks/3447.js +1 -1
  372. package/app/.next/server/chunks/3498.js +1 -1
  373. package/app/.next/server/chunks/3911.js +1 -1
  374. package/app/.next/server/chunks/4488.js +1 -1
  375. package/app/.next/server/chunks/496.js +1 -1
  376. package/app/.next/server/chunks/5047.js +1 -1
  377. package/app/.next/server/chunks/5094.js +1 -1
  378. package/app/.next/server/chunks/5097.js +1 -1
  379. package/app/.next/server/chunks/5248.js +1 -0
  380. package/app/.next/server/chunks/5393.js +2 -0
  381. package/app/.next/server/chunks/5521.js +1 -1
  382. package/app/.next/server/chunks/5945.js +1 -1
  383. package/app/.next/server/chunks/6118.js +1 -1
  384. package/app/.next/server/chunks/6930.js +1 -1
  385. package/app/.next/server/chunks/7011.js +1 -1
  386. package/app/.next/server/chunks/708.js +1 -1
  387. package/app/.next/server/chunks/7109.js +1 -1
  388. package/app/.next/server/chunks/7650.js +1 -1
  389. package/app/.next/server/chunks/8020.js +3 -3
  390. package/app/.next/server/chunks/8220.js +1 -1
  391. package/app/.next/server/chunks/8464.js +1 -1
  392. package/app/.next/server/chunks/8706.js +1 -1
  393. package/app/.next/server/chunks/8976.js +1 -1
  394. package/app/.next/server/chunks/9119.js +1 -1
  395. package/app/.next/server/chunks/944.js +1 -1
  396. package/app/.next/server/chunks/9824.js +2 -2
  397. package/app/.next/server/chunks/9837.js +1 -1
  398. package/app/.next/server/middleware-build-manifest.js +1 -1
  399. package/app/.next/server/middleware.js +3 -3
  400. package/app/.next/server/next-font-manifest.js +1 -1
  401. package/app/.next/server/next-font-manifest.json +1 -1
  402. package/app/.next/server/pages/500.html +2 -2
  403. package/app/.next/server/server-reference-manifest.js +1 -1
  404. package/app/.next/server/server-reference-manifest.json +1 -1
  405. package/app/.next/static/chunks/{5846-b48cbcc9b1517eaf.js → 5846-f75d4e65fe204f14.js} +1 -1
  406. package/app/.next/static/chunks/{993-9f36b0b069ca090e.js → 993-035473765d7d1871.js} +2 -2
  407. package/app/.next/static/chunks/app/(dashboard)/dashboard/analytics/loading-6f1750506292c630.js +1 -0
  408. package/app/.next/static/chunks/app/(dashboard)/dashboard/analytics/{page-20786f2c7fdbab57.js → page-52f76c7c91444ec2.js} +1 -1
  409. package/app/.next/static/chunks/app/(dashboard)/dashboard/api-manager/page-1dd4d0c348a7b0a6.js +1 -0
  410. package/app/.next/static/chunks/app/(dashboard)/dashboard/audit-log/page-e5bf8955e7b9a4f5.js +1 -0
  411. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-77ab26722f5c56c7.js +15 -0
  412. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/{page-85a3e6a423aceded.js → page-3dce7fccfcf177dd.js} +1 -1
  413. package/app/.next/static/chunks/app/(dashboard)/dashboard/costs/{page-cdb8071441476da9.js → page-3ed2a7685adf9b91.js} +1 -1
  414. package/app/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-84be54df40abf969.js +1 -0
  415. package/app/.next/static/chunks/app/(dashboard)/dashboard/health/{page-b480b3cb318782d7.js → page-9a6519bf1468f16e.js} +1 -1
  416. package/app/.next/static/chunks/app/(dashboard)/dashboard/limits/page-f4a2d6d07df5ddc4.js +1 -0
  417. package/app/.next/static/chunks/app/(dashboard)/dashboard/logs/{page-ffdc1dcf074c7528.js → page-833d24f322a20f5a.js} +1 -1
  418. package/app/.next/static/chunks/app/(dashboard)/dashboard/media/page-1d0ca9b5d3eaf7cd.js +1 -0
  419. package/app/.next/static/chunks/app/(dashboard)/dashboard/onboarding/{page-5378e9473a20cd6a.js → page-d424641c7e428be9.js} +1 -1
  420. package/app/.next/static/chunks/app/(dashboard)/dashboard/page-388840686801f3f5.js +1 -0
  421. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-9c8ffb212f855704.js +1 -0
  422. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/{error-f0730d6d62d02e82.js → error-2f0177a2197dd556.js} +1 -1
  423. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/{loading-59cbccd6d5185ca9.js → loading-99ab4d478260d53b.js} +1 -1
  424. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/new/page-31cdb6e15134d8c2.js +1 -0
  425. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/{page-40dc5ac82df708e9.js → page-1f022385b812b987.js} +1 -1
  426. package/app/.next/static/chunks/app/(dashboard)/dashboard/settings/{error-cc85c3ff1f63aea6.js → error-e844916e39172c8b.js} +1 -1
  427. package/app/.next/static/chunks/app/(dashboard)/dashboard/settings/{loading-19fc771a287bcb4c.js → loading-bb068659ee679ff4.js} +1 -1
  428. package/app/.next/static/chunks/app/(dashboard)/dashboard/settings/{page-1550a2460948273c.js → page-cea3403400ee20c8.js} +1 -1
  429. package/app/.next/static/chunks/app/(dashboard)/dashboard/settings/pricing/{page-cbe9b21b62bbc2bd.js → page-f10a8d4bb8236913.js} +1 -1
  430. package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/{page-534e13a69cb60a4f.js → page-83b07523f81d6282.js} +1 -1
  431. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/{page-86a076d820931a30.js → page-9cc99ab874fc36e7.js} +1 -1
  432. package/app/.next/static/chunks/app/(dashboard)/{layout-16302e54f9ef3d0e.js → layout-00d5d56af65098a9.js} +1 -1
  433. package/app/.next/static/chunks/app/callback/{page-0f0ebc0820dd18a5.js → page-585a53f7dc6a30f1.js} +1 -1
  434. package/app/.next/static/chunks/app/docs/{page-3658b3f15df3a19e.js → page-2fe9dcbeb3f738c0.js} +1 -1
  435. package/app/.next/static/chunks/app/{error-f918d9961a2368d3.js → error-0d59fc4efafbc38c.js} +1 -1
  436. package/app/.next/static/chunks/app/forbidden/page-df886dfa2d5bd9fa.js +1 -0
  437. package/app/.next/static/chunks/app/forgot-password/page-2a495f0b0c653ab4.js +1 -0
  438. package/app/.next/static/chunks/app/global-error-41eef2a698918fc1.js +1 -0
  439. package/app/.next/static/chunks/app/landing/page-9d540ab1716f8e3e.js +1 -0
  440. package/app/.next/static/chunks/app/{layout-070972eb026af319.js → layout-108592eafb959363.js} +1 -1
  441. package/app/.next/static/chunks/app/login/{page-6c769465e407368f.js → page-121c612ee459e7c2.js} +1 -1
  442. package/app/.next/static/chunks/app/not-found-1dbd8c3e506fe00f.js +1 -0
  443. package/app/.next/static/chunks/app/privacy/{page-3658b3f15df3a19e.js → page-2fe9dcbeb3f738c0.js} +1 -1
  444. package/app/.next/static/chunks/app/terms/{page-3658b3f15df3a19e.js → page-2fe9dcbeb3f738c0.js} +1 -1
  445. package/app/.next/static/chunks/{main-app-ae230f6bf51a5edb.js → main-app-c9da11a8061df107.js} +1 -1
  446. package/app/.next/static/css/336f2a3d3ab30906.css +1 -0
  447. package/app/package.json +1 -1
  448. package/app/server.js +1 -1
  449. package/package.json +1 -1
  450. package/app/.env +0 -122
  451. package/app/.next/server/chunks/3801.js +0 -2
  452. package/app/.next/server/chunks/9548.js +0 -1
  453. package/app/.next/static/chunks/app/(dashboard)/dashboard/analytics/loading-ce5214cdf489c9df.js +0 -1
  454. package/app/.next/static/chunks/app/(dashboard)/dashboard/api-manager/page-12d772841a253032.js +0 -1
  455. package/app/.next/static/chunks/app/(dashboard)/dashboard/audit-log/page-c9b98846b8479f3f.js +0 -1
  456. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-5e34630a5dc32825.js +0 -15
  457. package/app/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-3f3a5f45e045051f.js +0 -1
  458. package/app/.next/static/chunks/app/(dashboard)/dashboard/limits/page-0ae1d6cc5fc4671f.js +0 -1
  459. package/app/.next/static/chunks/app/(dashboard)/dashboard/media/page-72b768421394b42c.js +0 -1
  460. package/app/.next/static/chunks/app/(dashboard)/dashboard/page-5c87e49261a22fd5.js +0 -1
  461. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-b38f2d03bae8166a.js +0 -1
  462. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/new/page-a7fb36872be60fe0.js +0 -1
  463. package/app/.next/static/chunks/app/forbidden/page-77657dfa95e61cd8.js +0 -1
  464. package/app/.next/static/chunks/app/forgot-password/page-be3bacc125c30a6b.js +0 -1
  465. package/app/.next/static/chunks/app/global-error-504ff9093e2a997d.js +0 -1
  466. package/app/.next/static/chunks/app/landing/page-75b0c988db383cfc.js +0 -1
  467. package/app/.next/static/chunks/app/not-found-11b712c853d93172.js +0 -1
  468. package/app/.next/static/css/bcd1741aee9d39ab.css +0 -1
  469. /package/app/.next/static/{2yr8GsoXixm_uKBSBP4K6 → -P4jw6v9RBoyi7mYkJUav}/_buildManifest.js +0 -0
  470. /package/app/.next/static/{2yr8GsoXixm_uKBSBP4K6 → -P4jw6v9RBoyi7mYkJUav}/_ssgManifest.js +0 -0
@@ -5,4 +5,4 @@
5
5
  @level, @levelId, @provider, @targetUrl, @publicIp, @latencyMs, @error,
6
6
  @connectionId, @comboId, @account, @tlsFingerprint)`).run({id:b.id,timestamp:b.timestamp,status:b.status,proxyType:b.proxy?.type||null,proxyHost:b.proxy?.host||null,proxyPort:b.proxy?.port?Number(b.proxy.port):null,level:b.level,levelId:b.levelId,provider:b.provider,targetUrl:b.targetUrl,publicIp:b.publicIp,latencyMs:b.latencyMs,error:b.error,connectionId:b.connectionId,comboId:b.comboId,account:b.account,tlsFingerprint:+!!b.tlsFingerprint});let c=a.prepare("SELECT COUNT(*) as cnt FROM proxy_logs").get()?.cnt||0;c>g&&a.prepare(`DELETE FROM proxy_logs WHERE id IN (
7
7
  SELECT id FROM proxy_logs ORDER BY timestamp ASC LIMIT ?
8
- )`).run(c-g)}catch(a){console.warn("[proxyLogger] Failed to persist:",a.message)}return b}function j(a={}){let b=[...h];if(a.status&&(b="ok"===a.status?b.filter(a=>"success"===a.status):b.filter(b=>b.status===a.status)),a.type&&(b=b.filter(b=>b.proxy?.type===a.type)),a.provider&&(b=b.filter(b=>b.provider===a.provider)),a.level&&(b=b.filter(b=>b.level===a.level)),a.search){let c=a.search.toLowerCase();b=b.filter(a=>(a.proxy?.host||"").toLowerCase().includes(c)||(a.provider||"").toLowerCase().includes(c)||(a.targetUrl||"").toLowerCase().includes(c)||(a.publicIp||"").toLowerCase().includes(c)||(a.level||"").toLowerCase().includes(c)||(a.error||"").toLowerCase().includes(c)||(a.account||"").toLowerCase().includes(c))}let c=a.limit||300;return b.slice(0,c)}function k(){if(h.length=0,f)try{(0,e.sm)().prepare("DELETE FROM proxy_logs").run()}catch(a){console.warn("[proxyLogger] Failed to clear DB:",a.message)}}},44963:(a,b,c)=>{c.d(b,{AF:()=>h,of:()=>e,u9:()=>g});var d=c(22901);let e=process.env.CLOUD_URL||"https://cloud.omniroute.online",f=Number(process.env.CLOUD_SYNC_TIMEOUT_MS||12e3);async function g(a,b={},c=f){let d=new AbortController,e=setTimeout(()=>d.abort(),c);try{return await fetch(a,{...b,signal:d.signal})}finally{clearTimeout(e)}}async function h(a,b=null){let c;if(!e)return{error:"NEXT_PUBLIC_CLOUD_URL is not configured"};let f=await (0,d.getProviderConnections)(),j=await (0,d.OM)(),k=await (0,d.Uv)(),l=await (0,d.PX)();try{c=await g(`${e}/sync/${a}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providers:f,modelAliases:j,combos:k,apiKeys:l})})}catch(a){return{error:a?.name==="AbortError"?"Cloud sync timeout":"Cloud sync request failed"}}if(!c.ok){let a=await c.text(),b=a.length>200?a.slice(0,200)+"…":a;return console.log(`Cloud sync failed (${c.status}):`,b),{error:"Cloud sync failed"}}let m=await c.json();m.data&&m.data.providers&&await i(m.data.providers);let n={success:!0,message:"Synced successfully",changes:m.changes};return b&&(n.createdKey=b),n}async function i(a){for(let b of(await (0,d.getProviderConnections)())){let c=a[b.id];if(c){if(new Date(c.updatedAt||0).getTime()>new Date(b.updatedAt||0).getTime()){let a={accessToken:c.accessToken,refreshToken:c.refreshToken,expiresAt:c.expiresAt,expiresIn:c.expiresIn,providerSpecificData:c.providerSpecificData||b.providerSpecificData,testStatus:c.status||"active",lastError:c.lastError,lastErrorAt:c.lastErrorAt,errorCode:c.errorCode,rateLimitedUntil:c.rateLimitedUntil,updatedAt:c.updatedAt};await (0,d.rj)(b.id,a)}}}}},76340:(a,b,c)=>{let d;c.d(b,{Wk:()=>s,jf:()=>p,qT:()=>r});var e=c(16698),f=c(79522);try{({createSession:d}=c(22546))}catch{d=null}class g{constructor(){this.session=null,this.available=!!d}async getSession(){if(!this.available)return null;if(this.session)return this.session;let a=process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ALL_PROXY||process.env.all_proxy||void 0,b={browser:"chrome_124",os:"macos"};return a&&(b.proxy=a,console.log(`[TlsClient] Using proxy: ${a}`)),this.session=await d(b),console.log("[TlsClient] Session created (Chrome 124 TLS fingerprint)"),this.session}async fetch(a,b={}){let c=await this.getSession();if(!c)throw Error("wreq-js not available");let d={method:(b.method||"GET").toUpperCase(),headers:b.headers,body:b.body,redirect:"manual"===b.redirect?"manual":"follow"};return b.signal&&(d.signal=b.signal),await c.fetch(a,d)}async exit(){this.session&&(await this.session.close(),this.session=null)}}let h=new g;function i(){return"true"===process.env.ENABLE_TLS_FINGERPRINT}let j=new e.AsyncLocalStorage,k="u">typeof caches&&"object"==typeof caches,l=Symbol.for("omniroute.proxyFetch.state"),m=(globalThis[l]||(globalThis[l]={originalFetch:globalThis.fetch,proxyContext:new e.AsyncLocalStorage,isPatched:!1}),globalThis[l]),n=m.originalFetch,o=m.proxyContext;async function p(a,b){if("function"!=typeof b)throw TypeError("runWithProxyContext requires a callback function");let c=a?(0,f.HN)(a):null;return o.run(a||null,async()=>(c&&console.log(`[ProxyFetch] Applied request proxy context: ${(0,f.OK)(c)}`),b()))}async function q(a,b={}){let c;if(b?.dispatcher)return n(a,b);let d="string"==typeof a?a:a&&"string"==typeof a.url?a.url:String(a);try{c=function(a){let b=o.getStore();if(b)return{source:"context",proxyUrl:(0,f.HN)(b)};let c=function(a){let b;if(function(a){let b,c=process.env.NO_PROXY||process.env.no_proxy;if(!c)return!1;try{b=new URL(a)}catch{return!1}let d=b.hostname.toLowerCase(),e=b.port||("https:"===b.protocol?"443":"80");return c.split(",").map(a=>a.trim().toLowerCase()).filter(Boolean).some(a=>{if("*"===a)return!0;let[b,c]=a.split(":");return(!c||c===e)&&!!b&&(b.startsWith(".")?d.endsWith(b)||d===b.slice(1):d===b||d.endsWith(`.${b}`))})}(a))return null;try{b=new URL(a).protocol}catch{return null}let c="https:"===b?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.ALL_PROXY||process.env.all_proxy:process.env.HTTP_PROXY||process.env.http_proxy||process.env.ALL_PROXY||process.env.all_proxy;return c?(0,f.zP)(c,"environment proxy"):null}(a);return c?{source:"env",proxyUrl:c}:{source:"direct",proxyUrl:null}}(d)}catch(b){let a=b instanceof Error?b.message:String(b);throw console.error(`[ProxyFetch] Proxy configuration error: ${a}`),b}let{source:e,proxyUrl:g}=c;if(!g){if(i()&&h.available)try{let a=j.getStore();return a&&(a.used=!0),await h.fetch(d,b)}catch(c){let a=c instanceof Error?c.message:String(c);console.warn(`[ProxyFetch] TLS fingerprint failed, falling back to native fetch: ${a}`);let b=j.getStore();b&&(b.used=!1)}return n(a,b)}try{let c=(0,f.I_)(g);return await n(a,{...b,dispatcher:c})}catch(b){let a=b instanceof Error?b.message:String(b);throw console.error(`[ProxyFetch] Proxy request failed (${e}, fail-closed): ${a}`),b}}async function r(a){let b={used:!1};return{result:await j.run(b,a),tlsFingerprintUsed:b.used}}function s(){return i()&&h.available}k||m.isPatched||(globalThis.fetch=q,m.isPatched=!0)},79522:(a,b,c)=>{c.d(b,{HN:()=>p,I_:()=>q,L8:()=>i,OK:()=>n,QX:()=>m,zP:()=>o});var d=c(47774),e=c(20406);let f=Symbol.for("omniroute.proxyDispatcher.cache"),g=new Set(["http:","https:","socks5:"]);function h(){return globalThis[f]||(globalThis[f]=new Map),globalThis[f]}function i(){h().clear()}function j(a){try{let b=a.match(/:\/\/(?:[^@]*@)?[^:/\s]+:(\d+)/);if(b){let a=Number(b[1]);if(Number.isInteger(a)&&a>=1&&a<=65535)return String(a)}}catch{}return null}function k(a){return"https:"===a||"wss:"===a?"443":"socks5:"===a?"1080":"8080"}function l(a,b){if(!a)return k(b);let c=Number(a);if(!Number.isInteger(c)||c<1||c>65535)throw Error("[ProxyDispatcher] Invalid proxy port");return String(c)}function m(){return"true"===process.env.ENABLE_SOCKS5_PROXY}function n(a){let b=j(a),c=new URL(a),d=b||c.port||k(c.protocol);return`${c.protocol}//${c.hostname}:${d}`}function o(a,b="proxy",{allowSocks5:c=m()}={}){var d;let e,f,h=j(a);try{e=new URL(a)}catch{throw Error(`[ProxyDispatcher] Invalid ${b} URL`)}if(!g.has(e.protocol))throw Error(`[ProxyDispatcher] Unsupported ${b} protocol: ${e.protocol.replace(":","")}`);if("socks5:"===e.protocol&&!c)throw Error("[ProxyDispatcher] SOCKS5 proxy is disabled (set ENABLE_SOCKS5_PROXY=true to enable)");if(!e.hostname)throw Error(`[ProxyDispatcher] Invalid ${b} host`);let i=h||l(e.port,e.protocol);return f=(d=e).username?`${d.username}${d.password?`:${d.password}`:""}@`:"",`${d.protocol}//${f}${d.hostname}:${i}`}function p(a,{allowSocks5:b=m()}={}){if(!a)return null;if("string"==typeof a)return o(a,"context proxy",{allowSocks5:b});if("object"!=typeof a||Array.isArray(a))throw Error("[ProxyDispatcher] Invalid context proxy config");let c=String(a.type||"http").toLowerCase(),d=`${c}:`;if(!g.has(d))throw Error(`[ProxyDispatcher] Unsupported context proxy protocol: ${c}`);if("socks5:"===d&&!b)throw Error("[ProxyDispatcher] SOCKS5 proxy is disabled (set ENABLE_SOCKS5_PROXY=true to enable)");if(!a.host)throw Error("[ProxyDispatcher] Context proxy host is required");let e=l(a.port,d),f=a.username?`${encodeURIComponent(a.username)}:${a.password?encodeURIComponent(a.password):""}@`:"";return o(`${c}://${f}${a.host}:${e}`,"context proxy",{allowSocks5:b})}function q(a){let b=o(a,"proxy dispatcher"),c=h(),f=c.get(b);if(f)return f;let g=new URL(b),i=j(b)||l(g.port,g.protocol);if("socks5:"===g.protocol){let a={type:5,host:g.hostname,port:Number(i)};g.username&&(a.userId=decodeURIComponent(g.username)),g.password&&(a.password=decodeURIComponent(g.password)),f=(0,e.vI)(a)}else f=new d.ProxyAgent(b);return c.set(b,f),f}},90357:(a,b,c)=>{c.d(b,{Xj:()=>e});var d=c(19713);async function e(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt";try{let a=(0,d.machineIdSync)();return(await Promise.resolve().then(c.t.bind(c,55511,23))).createHash("sha256").update(a+b).digest("hex").substring(0,16)}catch(a){return console.log("Error getting machine ID:",a),crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){let b=16*Math.random()|0;return("x"==a?b:3&b|8).toString(16)})}}}};
8
+ )`).run(c-g)}catch(a){console.warn("[proxyLogger] Failed to persist:",a.message)}return b}function j(a={}){let b=[...h];if(a.status&&(b="ok"===a.status?b.filter(a=>"success"===a.status):b.filter(b=>b.status===a.status)),a.type&&(b=b.filter(b=>b.proxy?.type===a.type)),a.provider&&(b=b.filter(b=>b.provider===a.provider)),a.level&&(b=b.filter(b=>b.level===a.level)),a.search){let c=a.search.toLowerCase();b=b.filter(a=>(a.proxy?.host||"").toLowerCase().includes(c)||(a.provider||"").toLowerCase().includes(c)||(a.targetUrl||"").toLowerCase().includes(c)||(a.publicIp||"").toLowerCase().includes(c)||(a.level||"").toLowerCase().includes(c)||(a.error||"").toLowerCase().includes(c)||(a.account||"").toLowerCase().includes(c))}let c=a.limit||300;return b.slice(0,c)}function k(){if(h.length=0,f)try{(0,e.sm)().prepare("DELETE FROM proxy_logs").run()}catch(a){console.warn("[proxyLogger] Failed to clear DB:",a.message)}}},44963:(a,b,c)=>{c.d(b,{AF:()=>h,of:()=>e,u9:()=>g});var d=c(22901);let e=process.env.CLOUD_URL||process.env.NEXT_PUBLIC_CLOUD_URL,f=Number(process.env.CLOUD_SYNC_TIMEOUT_MS||12e3);async function g(a,b={},c=f){let d=new AbortController,e=setTimeout(()=>d.abort(),c);try{return await fetch(a,{...b,signal:d.signal})}finally{clearTimeout(e)}}async function h(a,b=null){let c;if(!e)return{error:"NEXT_PUBLIC_CLOUD_URL is not configured"};let f=await (0,d.getProviderConnections)(),j=await (0,d.OM)(),k=await (0,d.Uv)(),l=await (0,d.PX)();try{c=await g(`${e}/sync/${a}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providers:f,modelAliases:j,combos:k,apiKeys:l})})}catch(a){return{error:a?.name==="AbortError"?"Cloud sync timeout":"Cloud sync request failed"}}if(!c.ok){let a=await c.text(),b=a.length>200?a.slice(0,200)+"…":a;return console.log(`Cloud sync failed (${c.status}):`,b),{error:"Cloud sync failed"}}let m=await c.json();m.data&&m.data.providers&&await i(m.data.providers);let n={success:!0,message:"Synced successfully",changes:m.changes};return b&&(n.createdKey=b),n}async function i(a){for(let b of(await (0,d.getProviderConnections)())){let c=a[b.id];if(c){if(new Date(c.updatedAt||0).getTime()>new Date(b.updatedAt||0).getTime()){let a={accessToken:c.accessToken,refreshToken:c.refreshToken,expiresAt:c.expiresAt,expiresIn:c.expiresIn,providerSpecificData:c.providerSpecificData||b.providerSpecificData,testStatus:c.status||"active",lastError:c.lastError,lastErrorAt:c.lastErrorAt,errorCode:c.errorCode,rateLimitedUntil:c.rateLimitedUntil,updatedAt:c.updatedAt};await (0,d.rj)(b.id,a)}}}}},76340:(a,b,c)=>{let d;c.d(b,{Wk:()=>s,jf:()=>p,qT:()=>r});var e=c(16698),f=c(79522);try{({createSession:d}=c(22546))}catch{d=null}class g{constructor(){this.session=null,this.available=!!d}async getSession(){if(!this.available)return null;if(this.session)return this.session;let a=process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ALL_PROXY||process.env.all_proxy||void 0,b={browser:"chrome_124",os:"macos"};return a&&(b.proxy=a,console.log(`[TlsClient] Using proxy: ${a}`)),this.session=await d(b),console.log("[TlsClient] Session created (Chrome 124 TLS fingerprint)"),this.session}async fetch(a,b={}){let c=await this.getSession();if(!c)throw Error("wreq-js not available");let d={method:(b.method||"GET").toUpperCase(),headers:b.headers,body:b.body,redirect:"manual"===b.redirect?"manual":"follow"};return b.signal&&(d.signal=b.signal),await c.fetch(a,d)}async exit(){this.session&&(await this.session.close(),this.session=null)}}let h=new g;function i(){return"true"===process.env.ENABLE_TLS_FINGERPRINT}let j=new e.AsyncLocalStorage,k="u">typeof caches&&"object"==typeof caches,l=Symbol.for("omniroute.proxyFetch.state"),m=(globalThis[l]||(globalThis[l]={originalFetch:globalThis.fetch,proxyContext:new e.AsyncLocalStorage,isPatched:!1}),globalThis[l]),n=m.originalFetch,o=m.proxyContext;async function p(a,b){if("function"!=typeof b)throw TypeError("runWithProxyContext requires a callback function");let c=a?(0,f.HN)(a):null;return o.run(a||null,async()=>(c&&console.log(`[ProxyFetch] Applied request proxy context: ${(0,f.OK)(c)}`),b()))}async function q(a,b={}){let c;if(b?.dispatcher)return n(a,b);let d="string"==typeof a?a:a&&"string"==typeof a.url?a.url:String(a);try{c=function(a){let b=o.getStore();if(b)return{source:"context",proxyUrl:(0,f.HN)(b)};let c=function(a){let b;if(function(a){let b,c=process.env.NO_PROXY||process.env.no_proxy;if(!c)return!1;try{b=new URL(a)}catch{return!1}let d=b.hostname.toLowerCase(),e=b.port||("https:"===b.protocol?"443":"80");return c.split(",").map(a=>a.trim().toLowerCase()).filter(Boolean).some(a=>{if("*"===a)return!0;let[b,c]=a.split(":");return(!c||c===e)&&!!b&&(b.startsWith(".")?d.endsWith(b)||d===b.slice(1):d===b||d.endsWith(`.${b}`))})}(a))return null;try{b=new URL(a).protocol}catch{return null}let c="https:"===b?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.ALL_PROXY||process.env.all_proxy:process.env.HTTP_PROXY||process.env.http_proxy||process.env.ALL_PROXY||process.env.all_proxy;return c?(0,f.zP)(c,"environment proxy"):null}(a);return c?{source:"env",proxyUrl:c}:{source:"direct",proxyUrl:null}}(d)}catch(b){let a=b instanceof Error?b.message:String(b);throw console.error(`[ProxyFetch] Proxy configuration error: ${a}`),b}let{source:e,proxyUrl:g}=c;if(!g){if(i()&&h.available)try{let a=j.getStore();return a&&(a.used=!0),await h.fetch(d,b)}catch(c){let a=c instanceof Error?c.message:String(c);console.warn(`[ProxyFetch] TLS fingerprint failed, falling back to native fetch: ${a}`);let b=j.getStore();b&&(b.used=!1)}return n(a,b)}try{let c=(0,f.I_)(g);return await n(a,{...b,dispatcher:c})}catch(b){let a=b instanceof Error?b.message:String(b);throw console.error(`[ProxyFetch] Proxy request failed (${e}, fail-closed): ${a}`),b}}async function r(a){let b={used:!1};return{result:await j.run(b,a),tlsFingerprintUsed:b.used}}function s(){return i()&&h.available}k||m.isPatched||(globalThis.fetch=q,m.isPatched=!0)},79522:(a,b,c)=>{c.d(b,{HN:()=>p,I_:()=>q,L8:()=>i,OK:()=>n,QX:()=>m,zP:()=>o});var d=c(47774),e=c(20406);let f=Symbol.for("omniroute.proxyDispatcher.cache"),g=new Set(["http:","https:","socks5:"]);function h(){return globalThis[f]||(globalThis[f]=new Map),globalThis[f]}function i(){h().clear()}function j(a){try{let b=a.match(/:\/\/(?:[^@]*@)?[^:/\s]+:(\d+)/);if(b){let a=Number(b[1]);if(Number.isInteger(a)&&a>=1&&a<=65535)return String(a)}}catch{}return null}function k(a){return"https:"===a||"wss:"===a?"443":"socks5:"===a?"1080":"8080"}function l(a,b){if(!a)return k(b);let c=Number(a);if(!Number.isInteger(c)||c<1||c>65535)throw Error("[ProxyDispatcher] Invalid proxy port");return String(c)}function m(){return"true"===process.env.ENABLE_SOCKS5_PROXY}function n(a){let b=j(a),c=new URL(a),d=b||c.port||k(c.protocol);return`${c.protocol}//${c.hostname}:${d}`}function o(a,b="proxy",{allowSocks5:c=m()}={}){var d;let e,f,h=j(a);try{e=new URL(a)}catch{throw Error(`[ProxyDispatcher] Invalid ${b} URL`)}if(!g.has(e.protocol))throw Error(`[ProxyDispatcher] Unsupported ${b} protocol: ${e.protocol.replace(":","")}`);if("socks5:"===e.protocol&&!c)throw Error("[ProxyDispatcher] SOCKS5 proxy is disabled (set ENABLE_SOCKS5_PROXY=true to enable)");if(!e.hostname)throw Error(`[ProxyDispatcher] Invalid ${b} host`);let i=h||l(e.port,e.protocol);return f=(d=e).username?`${d.username}${d.password?`:${d.password}`:""}@`:"",`${d.protocol}//${f}${d.hostname}:${i}`}function p(a,{allowSocks5:b=m()}={}){if(!a)return null;if("string"==typeof a)return o(a,"context proxy",{allowSocks5:b});if("object"!=typeof a||Array.isArray(a))throw Error("[ProxyDispatcher] Invalid context proxy config");let c=String(a.type||"http").toLowerCase(),d=`${c}:`;if(!g.has(d))throw Error(`[ProxyDispatcher] Unsupported context proxy protocol: ${c}`);if("socks5:"===d&&!b)throw Error("[ProxyDispatcher] SOCKS5 proxy is disabled (set ENABLE_SOCKS5_PROXY=true to enable)");if(!a.host)throw Error("[ProxyDispatcher] Context proxy host is required");let e=l(a.port,d),f=a.username?`${encodeURIComponent(a.username)}:${a.password?encodeURIComponent(a.password):""}@`:"";return o(`${c}://${f}${a.host}:${e}`,"context proxy",{allowSocks5:b})}function q(a){let b=o(a,"proxy dispatcher"),c=h(),f=c.get(b);if(f)return f;let g=new URL(b),i=j(b)||l(g.port,g.protocol);if("socks5:"===g.protocol){let a={type:5,host:g.hostname,port:Number(i)};g.username&&(a.userId=decodeURIComponent(g.username)),g.password&&(a.password=decodeURIComponent(g.password)),f=(0,e.vI)(a)}else f=new d.ProxyAgent(b);return c.set(b,f),f}},90357:(a,b,c)=>{c.d(b,{Xj:()=>e});var d=c(19713);async function e(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt";try{let a=(0,d.machineIdSync)();return(await Promise.resolve().then(c.t.bind(c,55511,23))).createHash("sha256").update(a+b).digest("hex").substring(0,16)}catch(a){return console.log("Error getting machine ID:",a),crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){let b=16*Math.random()|0;return("x"==a?b:3&b|8).toString(16)})}}}};