@rabbi696/ezrouter 0.5.98 → 0.6.0

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 (1239) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +21 -19
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/routes-manifest.json +16 -4
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js +2 -2
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js +2 -2
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +5 -5
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +18 -5
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +2 -2
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js +2 -2
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  84. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  85. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  86. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  87. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  88. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  89. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  90. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  91. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  92. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  93. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  94. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  95. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  97. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  98. package/app/.next-cli-build/server/app/_not-found.rsc +5 -5
  99. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +5 -5
  100. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  101. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
  102. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  105. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +2 -2
  124. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/changelog/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +6 -6
  132. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  138. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  140. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +3 -3
  146. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  150. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  156. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +4 -4
  162. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  166. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  170. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/combos/export/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/combos/export/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/combos/import/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/combos/import/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/combos/test/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/combos/test/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/convoy/rules/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/convoy/rules/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  216. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -0
  232. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -0
  233. package/app/.next-cli-build/server/app/api/models/catalog-sync/route_client-reference-manifest.js +1 -0
  234. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/callback/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/callback/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  251. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -0
  257. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -0
  258. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route_client-reference-manifest.js +1 -0
  259. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  308. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  310. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  314. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  316. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  318. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  320. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  322. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  324. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  326. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  328. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  330. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/routing-health/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/routing-health/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js +2 -2
  348. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  354. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  376. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/error-logs/route.js +2 -2
  384. package/app/.next-cli-build/server/app/api/usage/error-logs/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  398. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +3 -3
  428. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -0
  434. package/app/.next-cli-build/server/app/api/v1/models/{[kind] → [...model]}/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route_client-reference-manifest.js +1 -0
  436. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  439. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  440. package/app/.next-cli-build/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
  441. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  442. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  443. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  444. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  446. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  447. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  448. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  449. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  450. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  451. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  452. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  453. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  454. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  455. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  456. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  457. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  458. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  459. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  460. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  461. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  462. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  463. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  464. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  465. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  466. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  467. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  468. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  469. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  470. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  471. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  472. package/app/.next-cli-build/server/app/callback.html +1 -1
  473. package/app/.next-cli-build/server/app/callback.rsc +5 -5
  474. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +5 -5
  475. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  476. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
  477. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  478. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  479. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  480. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  481. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +7 -7
  482. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  483. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  484. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  485. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  486. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +7 -7
  487. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  488. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  489. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  490. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  491. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +7 -7
  492. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  493. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  494. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  495. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  496. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +7 -7
  497. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  498. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  499. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  500. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  501. package/app/.next-cli-build/server/app/dashboard/combos.rsc +7 -7
  502. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  503. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  504. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  505. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  506. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +7 -7
  507. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  508. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  509. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  510. package/app/.next-cli-build/server/app/dashboard/convoy.html +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/convoy.rsc +7 -7
  512. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy/__PAGE__.segment.rsc +2 -2
  513. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy.segment.rsc +1 -1
  514. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  515. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  516. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_full.segment.rsc +7 -7
  517. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_head.segment.rsc +1 -1
  518. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_index.segment.rsc +4 -4
  519. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_tree.segment.rsc +2 -2
  520. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  521. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +7 -7
  522. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  524. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  525. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  526. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +7 -7
  527. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  528. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  529. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  530. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  531. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +7 -7
  532. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  533. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  534. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  535. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  536. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  537. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +7 -7
  538. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  539. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  540. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  541. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  542. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +7 -7
  543. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  544. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  545. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  546. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  547. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +7 -7
  548. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  549. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  550. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  551. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  552. package/app/.next-cli-build/server/app/dashboard/profile.rsc +7 -7
  553. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  554. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  555. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  556. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  557. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +7 -7
  558. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  559. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  560. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  561. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  562. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +7 -7
  563. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  564. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  565. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  566. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  567. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  568. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +7 -7
  569. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  570. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  571. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  572. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  573. package/app/.next-cli-build/server/app/dashboard/providers.rsc +7 -7
  574. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  575. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  576. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  577. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  578. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +7 -7
  579. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  580. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  581. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  582. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  583. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +7 -7
  584. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  585. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  586. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  587. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  588. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +7 -7
  589. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  590. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  591. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  592. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  593. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +7 -7
  594. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  595. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  596. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  597. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  598. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +7 -7
  599. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  600. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +4 -4
  601. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  602. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  603. package/app/.next-cli-build/server/app/dashboard/quota.rsc +8 -8
  604. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  605. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  606. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  607. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  608. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +8 -8
  609. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  610. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  611. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  612. package/app/.next-cli-build/server/app/dashboard/routing-health.html +1 -1
  613. package/app/.next-cli-build/server/app/dashboard/routing-health.rsc +7 -7
  614. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health/__PAGE__.segment.rsc +2 -2
  615. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health.segment.rsc +1 -1
  616. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  617. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  618. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_full.segment.rsc +7 -7
  619. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_head.segment.rsc +1 -1
  620. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_index.segment.rsc +4 -4
  621. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_tree.segment.rsc +2 -2
  622. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  623. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  624. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  625. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  626. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +6 -6
  627. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
  628. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  629. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  630. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  631. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
  632. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  633. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  634. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  635. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  636. package/app/.next-cli-build/server/app/dashboard/skills.rsc +7 -7
  637. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  638. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  639. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  640. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  641. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +7 -7
  642. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  643. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  644. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  645. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  646. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +7 -7
  647. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  648. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  649. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  650. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  651. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +7 -7
  652. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  653. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +4 -4
  654. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  655. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  656. package/app/.next-cli-build/server/app/dashboard/translator.rsc +7 -7
  657. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  658. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  659. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  660. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  661. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +7 -7
  662. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  663. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  664. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  665. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  666. package/app/.next-cli-build/server/app/dashboard/usage.rsc +7 -7
  667. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  668. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  669. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  670. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  671. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +7 -7
  672. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  673. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  674. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  675. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  676. package/app/.next-cli-build/server/app/dashboard.rsc +7 -7
  677. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  678. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  679. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  680. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +7 -7
  681. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  682. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
  683. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  684. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  685. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  686. package/app/.next-cli-build/server/app/index.html +1 -1
  687. package/app/.next-cli-build/server/app/index.rsc +5 -5
  688. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  689. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +5 -5
  690. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  691. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +4 -4
  692. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  693. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  694. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  695. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  696. package/app/.next-cli-build/server/app/landing.html +1 -1
  697. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  698. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  699. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  700. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
  701. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  702. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
  703. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  704. package/app/.next-cli-build/server/app/login/page.js +2 -2
  705. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  706. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  707. package/app/.next-cli-build/server/app/login.html +1 -1
  708. package/app/.next-cli-build/server/app/login.rsc +6 -6
  709. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +6 -6
  710. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  711. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
  712. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  713. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  714. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  715. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  716. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  717. package/app/.next-cli-build/server/app/page.js +2 -2
  718. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  719. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  720. package/app/.next-cli-build/server/app-paths-manifest.json +21 -19
  721. package/app/.next-cli-build/server/chunks/1133.js +1 -1
  722. package/app/.next-cli-build/server/chunks/1253.js +1 -1
  723. package/app/.next-cli-build/server/chunks/1329.js +1 -1
  724. package/app/.next-cli-build/server/chunks/1522.js +1 -1
  725. package/app/.next-cli-build/server/chunks/1531.js +1 -1
  726. package/app/.next-cli-build/server/chunks/1714.js +1 -1
  727. package/app/.next-cli-build/server/chunks/1847.js +1 -0
  728. package/app/.next-cli-build/server/chunks/2177.js +1 -1
  729. package/app/.next-cli-build/server/chunks/2269.js +1 -1
  730. package/app/.next-cli-build/server/chunks/2382.js +1 -0
  731. package/app/.next-cli-build/server/chunks/2547.js +3 -3
  732. package/app/.next-cli-build/server/chunks/2892.js +1 -0
  733. package/app/.next-cli-build/server/chunks/2898.js +1 -1
  734. package/app/.next-cli-build/server/chunks/290.js +1 -0
  735. package/app/.next-cli-build/server/chunks/3148.js +2 -2
  736. package/app/.next-cli-build/server/chunks/3433.js +6 -6
  737. package/app/.next-cli-build/server/chunks/3547.js +1 -1
  738. package/app/.next-cli-build/server/chunks/3647.js +1 -0
  739. package/app/.next-cli-build/server/chunks/369.js +25 -25
  740. package/app/.next-cli-build/server/chunks/3814.js +1 -1
  741. package/app/.next-cli-build/server/chunks/3886.js +1 -0
  742. package/app/.next-cli-build/server/chunks/412.js +2 -2
  743. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  744. package/app/.next-cli-build/server/chunks/4562.js +1 -1
  745. package/app/.next-cli-build/server/chunks/4646.js +1 -1
  746. package/app/.next-cli-build/server/chunks/{9233.js → 4704.js} +2 -2
  747. package/app/.next-cli-build/server/chunks/476.js +1 -1
  748. package/app/.next-cli-build/server/chunks/4928.js +1 -9
  749. package/app/.next-cli-build/server/chunks/4999.js +1 -1
  750. package/app/.next-cli-build/server/chunks/5129.js +1 -1
  751. package/app/.next-cli-build/server/chunks/5849.js +1 -0
  752. package/app/.next-cli-build/server/chunks/6112.js +1 -0
  753. package/app/.next-cli-build/server/chunks/615.js +1 -1
  754. package/app/.next-cli-build/server/chunks/6405.js +1 -1
  755. package/app/.next-cli-build/server/chunks/{5681.js → 6436.js} +1 -1
  756. package/app/.next-cli-build/server/chunks/6535.js +23 -20
  757. package/app/.next-cli-build/server/chunks/6958.js +1 -0
  758. package/app/.next-cli-build/server/chunks/6975.js +300 -0
  759. package/app/.next-cli-build/server/chunks/7054.js +1 -0
  760. package/app/.next-cli-build/server/chunks/7239.js +1 -1
  761. package/app/.next-cli-build/server/chunks/7353.js +1 -1
  762. package/app/.next-cli-build/server/chunks/7362.js +2 -2
  763. package/app/.next-cli-build/server/chunks/7413.js +2 -0
  764. package/app/.next-cli-build/server/chunks/{7456.js → 7438.js} +16 -16
  765. package/app/.next-cli-build/server/chunks/7467.js +1 -0
  766. package/app/.next-cli-build/server/chunks/7603.js +1 -0
  767. package/app/.next-cli-build/server/chunks/7716.js +1 -0
  768. package/app/.next-cli-build/server/chunks/7734.js +1 -1
  769. package/app/.next-cli-build/server/chunks/7775.js +1 -1
  770. package/app/.next-cli-build/server/chunks/7785.js +9 -0
  771. package/app/.next-cli-build/server/chunks/8129.js +1 -1
  772. package/app/.next-cli-build/server/chunks/8243.js +3 -3
  773. package/app/.next-cli-build/server/chunks/8251.js +2 -2
  774. package/app/.next-cli-build/server/chunks/8326.js +1 -1
  775. package/app/.next-cli-build/server/chunks/8421.js +1 -1
  776. package/app/.next-cli-build/server/chunks/8851.js +1 -1
  777. package/app/.next-cli-build/server/chunks/8946.js +1 -1
  778. package/app/.next-cli-build/server/chunks/8976.js +1 -1
  779. package/app/.next-cli-build/server/chunks/9043.js +1 -1
  780. package/app/.next-cli-build/server/chunks/9217.js +1 -1
  781. package/app/.next-cli-build/server/chunks/9296.js +1 -1
  782. package/app/.next-cli-build/server/chunks/9303.js +1 -0
  783. package/app/.next-cli-build/server/chunks/9485.js +1 -0
  784. package/app/.next-cli-build/server/instrumentation.js +1 -1
  785. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  786. package/app/.next-cli-build/server/middleware.js +2 -2
  787. package/app/.next-cli-build/server/pages/404.html +1 -1
  788. package/app/.next-cli-build/server/pages/500.html +1 -1
  789. package/app/.next-cli-build/static/chunks/{1321-63ac05d53922a27c.js → 1321-0bac17bbe74aaa54.js} +1 -1
  790. package/app/.next-cli-build/static/chunks/2595-2d703efb995163a7.js +95 -0
  791. package/app/.next-cli-build/static/chunks/{5497-22fe81a552f1646d.js → 5497-675887789aaf2c43.js} +3 -3
  792. package/app/.next-cli-build/static/chunks/801-a83c4648747b8c6a.js +1 -0
  793. package/app/.next-cli-build/static/chunks/8105-e46089480e63b1a9.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-c7840dae0ef76527.js → page-178f383964973bfb.js} +1 -1
  795. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-0e4d3fb00fc6a9bf.js → page-ce0b5b8882899119.js} +1 -1
  796. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-4c63bfc57149c7eb.js → page-257aaa1374d529b4.js} +1 -1
  797. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/{page-64177496760b1187.js → page-78c78a3108fbe60e.js} +1 -1
  798. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-dc6c3c72e5d6acc3.js → page-2c65df20769d31df.js} +1 -1
  799. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/convoy/{page-5ada6cd825b67236.js → page-8c2bc69a688a000b.js} +1 -1
  800. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-a840225ab3f601c2.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-0ab40e69321978fb.js → page-90a4f789d907db25.js} +4 -4
  802. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-cb36efdbd929e8e1.js → page-c671ae36a313887b.js} +1 -1
  803. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-46eaa5603462d610.js → page-3df89694c0bbdeb8.js} +1 -1
  804. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-ed1ea0fa33a0b190.js → page-b2540d642bc46f4c.js} +1 -1
  805. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-e316dc83a5a557a6.js → page-e44166090e05cfb3.js} +1 -1
  806. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-18192f830d2ddb76.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-db01adc017c79525.js → page-e996175d559e9e5a.js} +1 -1
  808. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-f3d9a84f9e04119e.js +27 -0
  809. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-b6b4de987365ec8f.js → page-3f52ff9517c679ba.js} +1 -1
  810. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-10cfe308dcee550e.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-491fe95c5b5277a9.js → page-a43ff8ae35edb414.js} +1 -1
  812. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/{page-ec79e9bb5a842351.js → page-1ac6f4d529f9b6a5.js} +1 -1
  813. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-c55b823e44230396.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/routing-health/{page-703d4a28b1852949.js → page-a14b37a404e5e6e0.js} +1 -1
  815. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-b6026576dd4be770.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-93bca4f363f4b6f1.js → page-73fe7ee1ecd1bd52.js} +1 -1
  817. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-34f5228777b0430d.js → page-74477be9930501e3.js} +1 -1
  818. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-3ecea7f87104d318.js → page-d74d7a054b638e0d.js} +1 -1
  819. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-d77f0a1a4ce2f537.js → layout-100d6d3c6c7256f1.js} +1 -1
  820. package/app/.next-cli-build/static/chunks/app/_global-error/page-b71f397798104162.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-b71f397798104162.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-b71f397798104162.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-b71f397798104162.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-b71f397798104162.js +1 -0
  825. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-b71f397798104162.js +1 -0
  826. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-b71f397798104162.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-b71f397798104162.js +1 -0
  828. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-b71f397798104162.js +1 -0
  829. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-b71f397798104162.js +1 -0
  830. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-b71f397798104162.js +1 -0
  831. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-b71f397798104162.js +1 -0
  832. package/app/.next-cli-build/static/chunks/app/api/changelog/route-b71f397798104162.js +1 -0
  833. package/app/.next-cli-build/static/chunks/app/api/cli/providers/codex/route-b71f397798104162.js +1 -0
  834. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-b71f397798104162.js +1 -0
  835. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-b71f397798104162.js +1 -0
  836. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-b71f397798104162.js +1 -0
  837. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-b71f397798104162.js +1 -0
  838. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-b71f397798104162.js +1 -0
  839. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/models/route-b71f397798104162.js +1 -0
  840. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/readiness/route-b71f397798104162.js +1 -0
  841. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-b71f397798104162.js +1 -0
  842. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-b71f397798104162.js +1 -0
  843. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-b71f397798104162.js +1 -0
  844. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-b71f397798104162.js +1 -0
  845. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-b71f397798104162.js +1 -0
  846. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-b71f397798104162.js +1 -0
  847. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-b71f397798104162.js +1 -0
  848. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-b71f397798104162.js +1 -0
  849. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-b71f397798104162.js +1 -0
  850. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-b71f397798104162.js +1 -0
  851. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-b71f397798104162.js +1 -0
  852. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-b71f397798104162.js +1 -0
  853. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-b71f397798104162.js +1 -0
  854. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-b71f397798104162.js +1 -0
  855. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-b71f397798104162.js +1 -0
  856. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-b71f397798104162.js +1 -0
  857. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/test/route-b71f397798104162.js +1 -0
  858. package/app/.next-cli-build/static/chunks/app/api/combos/export/route-b71f397798104162.js +1 -0
  859. package/app/.next-cli-build/static/chunks/app/api/combos/import/route-b71f397798104162.js +1 -0
  860. package/app/.next-cli-build/static/chunks/app/api/combos/route-b71f397798104162.js +1 -0
  861. package/app/.next-cli-build/static/chunks/app/api/combos/test/route-b71f397798104162.js +1 -0
  862. package/app/.next-cli-build/static/chunks/app/api/convoy/rules/route-b71f397798104162.js +1 -0
  863. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-b71f397798104162.js +1 -0
  864. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-b71f397798104162.js +1 -0
  865. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-b71f397798104162.js +1 -0
  866. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-b71f397798104162.js +1 -0
  867. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-b71f397798104162.js +1 -0
  868. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-b71f397798104162.js +1 -0
  869. package/app/.next-cli-build/static/chunks/app/api/health/route-b71f397798104162.js +1 -0
  870. package/app/.next-cli-build/static/chunks/app/api/init/route-b71f397798104162.js +1 -0
  871. package/app/.next-cli-build/static/chunks/app/api/internal/codex-native/lease/[action]/route-b71f397798104162.js +1 -0
  872. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-b71f397798104162.js +1 -0
  873. package/app/.next-cli-build/static/chunks/app/api/keys/route-b71f397798104162.js +1 -0
  874. package/app/.next-cli-build/static/chunks/app/api/locale/route-b71f397798104162.js +1 -0
  875. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-b71f397798104162.js +1 -0
  876. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-b71f397798104162.js +1 -0
  877. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-b71f397798104162.js +1 -0
  878. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-b71f397798104162.js +1 -0
  879. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-b71f397798104162.js +1 -0
  880. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-b71f397798104162.js +1 -0
  881. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-b71f397798104162.js +1 -0
  882. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-b71f397798104162.js +1 -0
  883. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-b71f397798104162.js +1 -0
  884. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-b71f397798104162.js +1 -0
  885. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-b71f397798104162.js +1 -0
  886. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-b71f397798104162.js +1 -0
  887. package/app/.next-cli-build/static/chunks/app/api/models/route-b71f397798104162.js +1 -0
  888. package/app/.next-cli-build/static/chunks/app/api/models/test/route-b71f397798104162.js +1 -0
  889. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-b71f397798104162.js +1 -0
  890. package/app/.next-cli-build/static/chunks/app/api/oauth/callback/route-b71f397798104162.js +1 -0
  891. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-b71f397798104162.js +1 -0
  892. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-b71f397798104162.js +1 -0
  893. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-b71f397798104162.js +1 -0
  894. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-b71f397798104162.js +1 -0
  895. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-b71f397798104162.js +1 -0
  896. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-b71f397798104162.js +1 -0
  897. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-b71f397798104162.js +1 -0
  898. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-b71f397798104162.js +1 -0
  899. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-b71f397798104162.js +1 -0
  900. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-b71f397798104162.js +1 -0
  901. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-b71f397798104162.js +1 -0
  902. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-b71f397798104162.js +1 -0
  903. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-b71f397798104162.js +1 -0
  904. package/app/.next-cli-build/static/chunks/app/api/pricing/route-b71f397798104162.js +1 -0
  905. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-b71f397798104162.js +1 -0
  906. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-b71f397798104162.js +1 -0
  907. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-b71f397798104162.js +1 -0
  908. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-b71f397798104162.js +1 -0
  909. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh-profile/route-b71f397798104162.js +1 -0
  910. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-b71f397798104162.js +1 -0
  911. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-b71f397798104162.js +1 -0
  912. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-b71f397798104162.js +1 -0
  913. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-b71f397798104162.js +1 -0
  914. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-b71f397798104162.js +1 -0
  915. package/app/.next-cli-build/static/chunks/app/api/providers/route-b71f397798104162.js +1 -0
  916. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-b71f397798104162.js +1 -0
  917. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-b71f397798104162.js +1 -0
  918. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-b71f397798104162.js +1 -0
  919. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-b71f397798104162.js +1 -0
  920. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-b71f397798104162.js +1 -0
  921. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-b71f397798104162.js +1 -0
  922. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-b71f397798104162.js +1 -0
  923. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-b71f397798104162.js +1 -0
  924. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-b71f397798104162.js +1 -0
  925. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-b71f397798104162.js +1 -0
  926. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-b71f397798104162.js +1 -0
  927. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-b71f397798104162.js +1 -0
  928. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-b71f397798104162.js +1 -0
  929. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-b71f397798104162.js +1 -0
  930. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-b71f397798104162.js +1 -0
  931. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-b71f397798104162.js +1 -0
  932. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-b71f397798104162.js +1 -0
  933. package/app/.next-cli-build/static/chunks/app/api/routing-health/route-b71f397798104162.js +1 -0
  934. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-b71f397798104162.js +1 -0
  935. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-b71f397798104162.js +1 -0
  936. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-b71f397798104162.js +1 -0
  937. package/app/.next-cli-build/static/chunks/app/api/settings/route-b71f397798104162.js +1 -0
  938. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-b71f397798104162.js +1 -0
  939. package/app/.next-cli-build/static/chunks/app/api/tags/route-b71f397798104162.js +1 -0
  940. package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-b71f397798104162.js +1 -0
  941. package/app/.next-cli-build/static/chunks/app/api/token-saver/stream/route-b71f397798104162.js +1 -0
  942. package/app/.next-cli-build/static/chunks/app/api/tool-disclosure/stats/route-b71f397798104162.js +1 -0
  943. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-b71f397798104162.js +1 -0
  944. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-b71f397798104162.js +1 -0
  945. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-b71f397798104162.js +1 -0
  946. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-b71f397798104162.js +1 -0
  947. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-b71f397798104162.js +1 -0
  948. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-b71f397798104162.js +1 -0
  949. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-b71f397798104162.js +1 -0
  950. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-b71f397798104162.js +1 -0
  951. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-b71f397798104162.js +1 -0
  952. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-b71f397798104162.js +1 -0
  953. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-b71f397798104162.js +1 -0
  954. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-b71f397798104162.js +1 -0
  955. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-b71f397798104162.js +1 -0
  956. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-b71f397798104162.js +1 -0
  957. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-b71f397798104162.js +1 -0
  958. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-b71f397798104162.js +1 -0
  959. package/app/.next-cli-build/static/chunks/app/api/usage/error-logs/route-b71f397798104162.js +1 -0
  960. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-b71f397798104162.js +1 -0
  961. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-b71f397798104162.js +1 -0
  962. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-b71f397798104162.js +1 -0
  963. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-b71f397798104162.js +1 -0
  964. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-b71f397798104162.js +1 -0
  965. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-b71f397798104162.js +1 -0
  966. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-b71f397798104162.js +1 -0
  967. package/app/.next-cli-build/static/chunks/app/api/v1/alpha/search/route-b71f397798104162.js +1 -0
  968. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-b71f397798104162.js +1 -0
  969. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-b71f397798104162.js +1 -0
  970. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-b71f397798104162.js +1 -0
  971. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-b71f397798104162.js +1 -0
  972. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-b71f397798104162.js +1 -0
  973. package/app/.next-cli-build/static/chunks/app/api/v1/codex/alpha/search/route-b71f397798104162.js +1 -0
  974. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/edits/route-b71f397798104162.js +1 -0
  975. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/generations/route-b71f397798104162.js +1 -0
  976. package/app/.next-cli-build/static/chunks/app/api/v1/codex/memories/trace_summarize/route-b71f397798104162.js +1 -0
  977. package/app/.next-cli-build/static/chunks/app/api/v1/codex/models/route-b71f397798104162.js +1 -0
  978. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/compact/route-b71f397798104162.js +1 -0
  979. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/route-b71f397798104162.js +1 -0
  980. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-b71f397798104162.js +1 -0
  981. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-b71f397798104162.js +1 -0
  982. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-b71f397798104162.js +1 -0
  983. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-b71f397798104162.js +1 -0
  984. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-b71f397798104162.js +1 -0
  985. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-b71f397798104162.js +1 -0
  986. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-b71f397798104162.js +1 -0
  987. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-b71f397798104162.js +1 -0
  988. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-b71f397798104162.js +1 -0
  989. package/app/.next-cli-build/static/chunks/app/api/v1/route-b71f397798104162.js +1 -0
  990. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-b71f397798104162.js +1 -0
  991. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-b71f397798104162.js +1 -0
  992. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-b71f397798104162.js +1 -0
  993. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-b71f397798104162.js +1 -0
  994. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-b71f397798104162.js +1 -0
  995. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-b71f397798104162.js +1 -0
  996. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-b71f397798104162.js +1 -0
  997. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-b71f397798104162.js +1 -0
  998. package/app/.next-cli-build/static/chunks/app/api/version/route-b71f397798104162.js +1 -0
  999. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-b71f397798104162.js +1 -0
  1000. package/app/.next-cli-build/static/chunks/app/api/version/update/route-b71f397798104162.js +1 -0
  1001. package/app/.next-cli-build/static/chunks/app/landing/page-7d5b31b8481d8fdd.js +1 -0
  1002. package/app/.next-cli-build/static/chunks/app/login/{page-27e9a95a150a0ac4.js → page-57af8e67ea3a745f.js} +1 -1
  1003. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-b71f397798104162.js +1 -0
  1004. package/app/.next-cli-build/static/chunks/app/page-b71f397798104162.js +1 -0
  1005. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-b71f397798104162.js +1 -0
  1006. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-b71f397798104162.js +1 -0
  1007. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-b71f397798104162.js +1 -0
  1008. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-b71f397798104162.js +1 -0
  1009. package/app/.next-cli-build/static/css/abc246bcd6eb079c.css +1 -0
  1010. package/app/.next-cli-build/static/p4AwDShOmXa3ZUcXCsntQ/_buildManifest.js +1 -0
  1011. package/app/CHANGELOG.md +334 -2
  1012. package/app/package.json +3 -3
  1013. package/app/public/CHANGELOG.md +334 -2
  1014. package/app/public/i18n/literals/id.json +1368 -159
  1015. package/app/public/i18n/literals/pt-BR.json +7 -8
  1016. package/app/public/i18n/literals/zh-CN.json +1 -0
  1017. package/app/public/providers/alims-intl.png +0 -0
  1018. package/app/public/providers/alitp-intl.png +0 -0
  1019. package/app/public/providers/fish-audio.png +0 -0
  1020. package/app/public/providers/selfhosted-embedding.png +0 -0
  1021. package/app/public/providers/selfhosted-stt.png +0 -0
  1022. package/app/public/providers/selfhosted-tts.png +0 -0
  1023. package/app/public/providers/xquik.png +0 -0
  1024. package/app/src/mitm/server.js +26 -26
  1025. package/hooks/sqliteRuntime.js +28 -5
  1026. package/package.json +1 -1
  1027. package/src/cli/menus/providers.js +5 -0
  1028. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +0 -1
  1029. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route_client-reference-manifest.js +0 -1
  1030. package/app/.next-cli-build/server/chunks/1446.js +0 -1
  1031. package/app/.next-cli-build/server/chunks/2031.js +0 -1
  1032. package/app/.next-cli-build/server/chunks/3904.js +0 -1
  1033. package/app/.next-cli-build/server/chunks/5502.js +0 -1
  1034. package/app/.next-cli-build/server/chunks/5841.js +0 -1
  1035. package/app/.next-cli-build/server/chunks/7281.js +0 -1
  1036. package/app/.next-cli-build/server/chunks/7335.js +0 -1
  1037. package/app/.next-cli-build/server/chunks/7591.js +0 -1
  1038. package/app/.next-cli-build/server/chunks/8901.js +0 -300
  1039. package/app/.next-cli-build/server/chunks/8906.js +0 -2
  1040. package/app/.next-cli-build/server/chunks/9212.js +0 -1
  1041. package/app/.next-cli-build/server/chunks/9884.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/2595-1b1c30e3a4314456.js +0 -92
  1043. package/app/.next-cli-build/static/chunks/801-9683dc19ffb81217.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/8105-39d6edfaddcbf181.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-272444fcf2114bb5.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-2247901c7422157d.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-04f568d5510f26f7.js +0 -14
  1048. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-38f69db60cdfe7cd.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-973240b44eb04877.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-4b65eb84c14bf9f0.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/_global-error/page-27e63c5064200d37.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-27e63c5064200d37.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-27e63c5064200d37.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-27e63c5064200d37.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-27e63c5064200d37.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-27e63c5064200d37.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-27e63c5064200d37.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-27e63c5064200d37.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-27e63c5064200d37.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-27e63c5064200d37.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-27e63c5064200d37.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-27e63c5064200d37.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/changelog/route-27e63c5064200d37.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/cli/providers/codex/route-27e63c5064200d37.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-27e63c5064200d37.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-27e63c5064200d37.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-27e63c5064200d37.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-27e63c5064200d37.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-27e63c5064200d37.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/models/route-27e63c5064200d37.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/readiness/route-27e63c5064200d37.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-27e63c5064200d37.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-27e63c5064200d37.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-27e63c5064200d37.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-27e63c5064200d37.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-27e63c5064200d37.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-27e63c5064200d37.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-27e63c5064200d37.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-27e63c5064200d37.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-27e63c5064200d37.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-27e63c5064200d37.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-27e63c5064200d37.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-27e63c5064200d37.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-27e63c5064200d37.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-27e63c5064200d37.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-27e63c5064200d37.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-27e63c5064200d37.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/test/route-27e63c5064200d37.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/api/combos/export/route-27e63c5064200d37.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/api/combos/import/route-27e63c5064200d37.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/app/api/combos/route-27e63c5064200d37.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/app/api/combos/test/route-27e63c5064200d37.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/app/api/convoy/rules/route-27e63c5064200d37.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-27e63c5064200d37.js +0 -1
  1095. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-27e63c5064200d37.js +0 -1
  1096. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-27e63c5064200d37.js +0 -1
  1097. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-27e63c5064200d37.js +0 -1
  1098. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-27e63c5064200d37.js +0 -1
  1099. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-27e63c5064200d37.js +0 -1
  1100. package/app/.next-cli-build/static/chunks/app/api/health/route-27e63c5064200d37.js +0 -1
  1101. package/app/.next-cli-build/static/chunks/app/api/init/route-27e63c5064200d37.js +0 -1
  1102. package/app/.next-cli-build/static/chunks/app/api/internal/codex-native/lease/[action]/route-27e63c5064200d37.js +0 -1
  1103. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-27e63c5064200d37.js +0 -1
  1104. package/app/.next-cli-build/static/chunks/app/api/keys/route-27e63c5064200d37.js +0 -1
  1105. package/app/.next-cli-build/static/chunks/app/api/locale/route-27e63c5064200d37.js +0 -1
  1106. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-27e63c5064200d37.js +0 -1
  1107. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-27e63c5064200d37.js +0 -1
  1108. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-27e63c5064200d37.js +0 -1
  1109. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-27e63c5064200d37.js +0 -1
  1110. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-27e63c5064200d37.js +0 -1
  1111. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-27e63c5064200d37.js +0 -1
  1112. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-27e63c5064200d37.js +0 -1
  1113. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-27e63c5064200d37.js +0 -1
  1114. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-27e63c5064200d37.js +0 -1
  1115. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-27e63c5064200d37.js +0 -1
  1116. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-27e63c5064200d37.js +0 -1
  1117. package/app/.next-cli-build/static/chunks/app/api/models/route-27e63c5064200d37.js +0 -1
  1118. package/app/.next-cli-build/static/chunks/app/api/models/test/route-27e63c5064200d37.js +0 -1
  1119. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-27e63c5064200d37.js +0 -1
  1120. package/app/.next-cli-build/static/chunks/app/api/oauth/callback/route-27e63c5064200d37.js +0 -1
  1121. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-27e63c5064200d37.js +0 -1
  1122. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-27e63c5064200d37.js +0 -1
  1123. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-27e63c5064200d37.js +0 -1
  1124. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-27e63c5064200d37.js +0 -1
  1125. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-27e63c5064200d37.js +0 -1
  1126. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-27e63c5064200d37.js +0 -1
  1127. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-27e63c5064200d37.js +0 -1
  1128. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-27e63c5064200d37.js +0 -1
  1129. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-27e63c5064200d37.js +0 -1
  1130. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-27e63c5064200d37.js +0 -1
  1131. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-27e63c5064200d37.js +0 -1
  1132. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-27e63c5064200d37.js +0 -1
  1133. package/app/.next-cli-build/static/chunks/app/api/pricing/route-27e63c5064200d37.js +0 -1
  1134. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-27e63c5064200d37.js +0 -1
  1135. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-27e63c5064200d37.js +0 -1
  1136. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-27e63c5064200d37.js +0 -1
  1137. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-27e63c5064200d37.js +0 -1
  1138. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh-profile/route-27e63c5064200d37.js +0 -1
  1139. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-27e63c5064200d37.js +0 -1
  1140. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-27e63c5064200d37.js +0 -1
  1141. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-27e63c5064200d37.js +0 -1
  1142. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-27e63c5064200d37.js +0 -1
  1143. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-27e63c5064200d37.js +0 -1
  1144. package/app/.next-cli-build/static/chunks/app/api/providers/route-27e63c5064200d37.js +0 -1
  1145. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-27e63c5064200d37.js +0 -1
  1146. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-27e63c5064200d37.js +0 -1
  1147. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-27e63c5064200d37.js +0 -1
  1148. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-27e63c5064200d37.js +0 -1
  1149. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-27e63c5064200d37.js +0 -1
  1150. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-27e63c5064200d37.js +0 -1
  1151. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-27e63c5064200d37.js +0 -1
  1152. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-27e63c5064200d37.js +0 -1
  1153. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-27e63c5064200d37.js +0 -1
  1154. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-27e63c5064200d37.js +0 -1
  1155. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-27e63c5064200d37.js +0 -1
  1156. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-27e63c5064200d37.js +0 -1
  1157. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-27e63c5064200d37.js +0 -1
  1158. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-27e63c5064200d37.js +0 -1
  1159. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-27e63c5064200d37.js +0 -1
  1160. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-27e63c5064200d37.js +0 -1
  1161. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-27e63c5064200d37.js +0 -1
  1162. package/app/.next-cli-build/static/chunks/app/api/routing-health/route-27e63c5064200d37.js +0 -1
  1163. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-27e63c5064200d37.js +0 -1
  1164. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-27e63c5064200d37.js +0 -1
  1165. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-27e63c5064200d37.js +0 -1
  1166. package/app/.next-cli-build/static/chunks/app/api/settings/route-27e63c5064200d37.js +0 -1
  1167. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-27e63c5064200d37.js +0 -1
  1168. package/app/.next-cli-build/static/chunks/app/api/tags/route-27e63c5064200d37.js +0 -1
  1169. package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-27e63c5064200d37.js +0 -1
  1170. package/app/.next-cli-build/static/chunks/app/api/token-saver/stream/route-27e63c5064200d37.js +0 -1
  1171. package/app/.next-cli-build/static/chunks/app/api/tool-disclosure/stats/route-27e63c5064200d37.js +0 -1
  1172. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-27e63c5064200d37.js +0 -1
  1173. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-27e63c5064200d37.js +0 -1
  1174. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-27e63c5064200d37.js +0 -1
  1175. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-27e63c5064200d37.js +0 -1
  1176. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-27e63c5064200d37.js +0 -1
  1177. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-27e63c5064200d37.js +0 -1
  1178. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-27e63c5064200d37.js +0 -1
  1179. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-27e63c5064200d37.js +0 -1
  1180. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-27e63c5064200d37.js +0 -1
  1181. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-27e63c5064200d37.js +0 -1
  1182. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-27e63c5064200d37.js +0 -1
  1183. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-27e63c5064200d37.js +0 -1
  1184. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-27e63c5064200d37.js +0 -1
  1185. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-27e63c5064200d37.js +0 -1
  1186. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-27e63c5064200d37.js +0 -1
  1187. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-27e63c5064200d37.js +0 -1
  1188. package/app/.next-cli-build/static/chunks/app/api/usage/error-logs/route-27e63c5064200d37.js +0 -1
  1189. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-27e63c5064200d37.js +0 -1
  1190. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-27e63c5064200d37.js +0 -1
  1191. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-27e63c5064200d37.js +0 -1
  1192. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-27e63c5064200d37.js +0 -1
  1193. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-27e63c5064200d37.js +0 -1
  1194. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-27e63c5064200d37.js +0 -1
  1195. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-27e63c5064200d37.js +0 -1
  1196. package/app/.next-cli-build/static/chunks/app/api/v1/alpha/search/route-27e63c5064200d37.js +0 -1
  1197. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-27e63c5064200d37.js +0 -1
  1198. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-27e63c5064200d37.js +0 -1
  1199. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-27e63c5064200d37.js +0 -1
  1200. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-27e63c5064200d37.js +0 -1
  1201. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-27e63c5064200d37.js +0 -1
  1202. package/app/.next-cli-build/static/chunks/app/api/v1/codex/alpha/search/route-27e63c5064200d37.js +0 -1
  1203. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/edits/route-27e63c5064200d37.js +0 -1
  1204. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/generations/route-27e63c5064200d37.js +0 -1
  1205. package/app/.next-cli-build/static/chunks/app/api/v1/codex/memories/trace_summarize/route-27e63c5064200d37.js +0 -1
  1206. package/app/.next-cli-build/static/chunks/app/api/v1/codex/models/route-27e63c5064200d37.js +0 -1
  1207. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/compact/route-27e63c5064200d37.js +0 -1
  1208. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/route-27e63c5064200d37.js +0 -1
  1209. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-27e63c5064200d37.js +0 -1
  1210. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-27e63c5064200d37.js +0 -1
  1211. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-27e63c5064200d37.js +0 -1
  1212. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-27e63c5064200d37.js +0 -1
  1213. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-27e63c5064200d37.js +0 -1
  1214. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-27e63c5064200d37.js +0 -1
  1215. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-27e63c5064200d37.js +0 -1
  1216. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-27e63c5064200d37.js +0 -1
  1217. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-27e63c5064200d37.js +0 -1
  1218. package/app/.next-cli-build/static/chunks/app/api/v1/route-27e63c5064200d37.js +0 -1
  1219. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-27e63c5064200d37.js +0 -1
  1220. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-27e63c5064200d37.js +0 -1
  1221. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-27e63c5064200d37.js +0 -1
  1222. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-27e63c5064200d37.js +0 -1
  1223. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-27e63c5064200d37.js +0 -1
  1224. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-27e63c5064200d37.js +0 -1
  1225. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-27e63c5064200d37.js +0 -1
  1226. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-27e63c5064200d37.js +0 -1
  1227. package/app/.next-cli-build/static/chunks/app/api/version/route-27e63c5064200d37.js +0 -1
  1228. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-27e63c5064200d37.js +0 -1
  1229. package/app/.next-cli-build/static/chunks/app/api/version/update/route-27e63c5064200d37.js +0 -1
  1230. package/app/.next-cli-build/static/chunks/app/landing/page-e7e81318e9e5c4e4.js +0 -1
  1231. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-27e63c5064200d37.js +0 -1
  1232. package/app/.next-cli-build/static/chunks/app/page-27e63c5064200d37.js +0 -1
  1233. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-27e63c5064200d37.js +0 -1
  1234. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-27e63c5064200d37.js +0 -1
  1235. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-27e63c5064200d37.js +0 -1
  1236. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-27e63c5064200d37.js +0 -1
  1237. package/app/.next-cli-build/static/css/c784a89390f4e764.css +0 -1
  1238. package/app/.next-cli-build/static/xv8sG0IpdFOQ-S9xqigzH/_buildManifest.js +0 -1
  1239. /package/app/.next-cli-build/static/{xv8sG0IpdFOQ-S9xqigzH → p4AwDShOmXa3ZUcXCsntQ}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";exports.id=1253,exports.ids=[1253],exports.modules={71253:(a,b,c)=>{c.d(b,{PROVIDER_PRICING:()=>e,calculateCostFromTokens:()=>j,gH:()=>g,getPricingForModel:()=>h});let d={"claude-opus-4-6":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-opus-4-5-20251101":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-sonnet-4-6":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-sonnet-4-5-20250929":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-haiku-4-5-20251001":{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25},"claude-sonnet-4-20250514":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-opus-4-20250514":{input:15,output:25,cached:7.5,reasoning:112.5,cache_creation:15},"claude-3-5-sonnet-20241022":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-haiku-4.5":{input:.5,output:2.5,cached:.05,reasoning:3.75,cache_creation:.5},"claude-opus-4.1":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.5":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.6":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-sonnet-4":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.5":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.6":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-opus-4-5-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4-6-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-fable-5":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5},"gpt-3.5-turbo":{input:.5,output:1.5,cached:.25,reasoning:2.25,cache_creation:.5},"gpt-4":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4-turbo":{input:10,output:30,cached:5,reasoning:45,cache_creation:10},"gpt-4o":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15},"gpt-4.1":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-5":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5-mini":{input:.25,output:2,cached:.125,reasoning:2,cache_creation:.25},"gpt-5-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex-mini":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"gpt-5.1-codex-mini-high":{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"gpt-5.1-codex-max":{input:8,output:32,cached:4,reasoning:48,cache_creation:8},"gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.2-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex-spark":{input:3,output:12,cached:.3,reasoning:12,cache_creation:3},"gpt-5.6":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5},"gpt-5.6-luna":{input:1,output:6,cached:.1,reasoning:6,cache_creation:1},"gpt-5.6-terra":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5},"gpt-5.6-sol":{input:5,output:30,cached:.5,reasoning:30,cache_creation:5},o1:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15},"o1-mini":{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gemini-3.7-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.375},"gemini-3.5-flash-high":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash-preview":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-pro-preview":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-low":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-high":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-pro-agent":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-3-flash-agent":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-extra-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-2.5-pro":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-2.5-flash":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3},"gemini-2.5-flash-lite":{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15},"qwen3-coder-plus":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"qwen3-coder-flash":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"qwen3-coder-plus":{input:.65,output:3.25,cached:.5,reasoning:3.25,cache_creation:1},"qwen3-coder-flash":{input:.195,output:.975,cached:.25,reasoning:.975,cache_creation:.5},"qwen3-coder-next":{input:.12,output:.8,cached:.06,reasoning:.8,cache_creation:.5},"qwen3.8-max":{input:2,output:6,cached:.25,cache_creation:2.5,reasoning:6},"qwen3.8-27b":{input:.4,output:3,cached:.05,reasoning:3},"qwen3.8-2.4t-a95b":{input:2,output:6,cached:.25,reasoning:6},"qwen3.7-max":{input:1.475,output:4.425,cached:.25,reasoning:4.425},"qwen3.7-plus":{input:.32,output:1.28,cached:.08,reasoning:1.28},"qwen3.6-plus":{input:.325,output:1.95,reasoning:1.95},"qwen3.6-flash":{input:.1875,output:1.125,cached:.01875,cache_creation:.2344,reasoning:1.125},"qwen3.6-35b-a3b":{input:.098,output:.95,reasoning:.95},"qwen3.6-27b":{input:.289,output:2.4,reasoning:2.4},"qwen3.6-max-preview":{input:1.027,output:6.162,reasoning:6.162},"qwen3.5-plus":{input:.3,output:1.8,reasoning:1.8},"qwen3.5-flash":{input:.065,output:.26,reasoning:.26},"qwen3.5-27b":{input:.195,output:1.56,reasoning:1.56},"qwen3.5-35b-a3b":{input:.14,output:1,reasoning:1},"qwen3.5-122b-a10b":{input:.26,output:2.08,reasoning:2.08},"qwen3.5-397b-a17b":{input:.3025,output:1.925,reasoning:1.925},"kimi-k3":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},k3:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},"kimi-k2.7-code":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-k2.7-code-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-for-coding":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-for-coding-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-k2":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-k2-thinking":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"kimi-k2.5":{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2},"kimi-k2.5-thinking":{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8},"kimi-k2.6":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-latest":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"deepseek-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-r1":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4-flash":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:.435},"glm-4.6":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"glm-4.6v":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-4.7":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-5":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.8,cache_creation:.3},"MiniMax-M2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.5":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.7":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.5":{input:.6,output:2.4,cached:.3,reasoning:3.6,cache_creation:.6},"grok-code-fast-1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},auto:{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"oswe-vscode-prime":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"gpt-oss-120b-medium":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"vision-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"coder-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},e={gh:{"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},meta:{"muse-spark-1.2":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"muse-spark-1.1":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"muse-spark-1.2-contributor":{input:.1,output:.2,cached:.002,reasoning:.2}}},f=[{pattern:"*-codex-xhigh",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"*-codex-high",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-max",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-mini-*",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-mini",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-low",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-none",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-spark",pricing:{input:3,output:12,cached:.3,reasoning:12,cache_creation:3}},{pattern:"codex-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"claude-opus-*",pricing:{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25}},{pattern:"claude-sonnet-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"claude-haiku-*",pricing:{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25}},{pattern:"claude-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"gemini-*-flash-lite",pricing:{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15}},{pattern:"gemini-*-flash",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*-pro",pricing:{input:2,output:12,cached:.25,reasoning:18,cache_creation:2}},{pattern:"gemini-3-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gemini-2.5-*",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gpt-5.6-*",pricing:{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-5.3-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.2-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.1-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-4o-*",pricing:{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15}},{pattern:"gpt-4o",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-4*",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"o1-*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"o1",pricing:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15}},{pattern:"o3-*",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"o4-*",pricing:{input:2,output:8,cached:1,reasoning:12,cache_creation:2}},{pattern:"qwen3-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"kimi-*-thinking",pricing:{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8}},{pattern:"kimi-k3*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3}},{pattern:"kimi-k2*",pricing:{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2}},{pattern:"kimi-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"deepseek-*reasoner*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-r*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-v*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"glm-5*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"glm-4*",pricing:{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75}},{pattern:"glm-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"MiniMax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"minimax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-code-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"*muse-spark*contributor*",pricing:{input:.1,output:.2,cached:.002,reasoning:.3,cache_creation:.1}},{pattern:"*muse-spark*",pricing:{input:1.25,output:4.25,cached:.15,reasoning:6.375,cache_creation:1.25}},{pattern:"*muse-glimmer*",pricing:{input:.3,output:1.2,cached:.04,reasoning:1.8,cache_creation:.3}},{pattern:"*muse*",pricing:{input:1.25,output:4.25,cached:.15,reasoning:6.375,cache_creation:1.25}}];function g(a,b){return RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$","i").test(b)}function h(a,b){if(!b)return null;if(a&&e[a]?.[b])return e[a][b];let c=b.includes("/")?b.split("/").pop():b;if(d[c])return d[c];if(d[b])return d[b];for(let{pattern:a,pricing:d}of f)if(g(a,c)||g(a,b))return d;return null}function i(a){if(null==a||""===a)return null;let b=Number(a);return Number.isFinite(b)&&b>=0?b:null}function j(a,b){if(!a)return 0;let c=i(a.cost_usd??a.cost_in_usd);if(null!==c)return c;let d=i(a.cost_in_usd_ticks);if(null!==d)return d/1e10;if(!b)return 0;let e=0,f=a.prompt_tokens||a.input_tokens||0,g=a.cached_tokens||a.cache_read_input_tokens||0,h=a.cache_creation_input_tokens||0;e+=Math.max(0,f-g-h)*(b.input/1e6),g>0&&(e+=g*((b.cached||b.input)/1e6)),e+=(a.completion_tokens||a.output_tokens||0)*(b.output/1e6);let j=a.reasoning_tokens||0;return j>0&&(e+=j*((b.reasoning||b.output)/1e6)),h>0&&(e+=h*((b.cache_creation||b.input)/1e6)),e}}};
1
+ "use strict";exports.id=1253,exports.ids=[1253],exports.modules={71253:(a,b,c)=>{c.d(b,{PROVIDER_PRICING:()=>e,calculateCostFromTokens:()=>j,gH:()=>g,getPricingForModel:()=>h});let d={"claude-opus-4-6":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-opus-4-5-20251101":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-sonnet-4-6":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-sonnet-4-5-20250929":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-haiku-4-5-20251001":{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25},"claude-sonnet-4-20250514":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-opus-4-20250514":{input:15,output:25,cached:7.5,reasoning:112.5,cache_creation:15},"claude-3-5-sonnet-20241022":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-haiku-4.5":{input:.5,output:2.5,cached:.05,reasoning:3.75,cache_creation:.5},"claude-opus-4.1":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.5":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.6":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-sonnet-4":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.5":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.6":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-opus-4-5-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4-6-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-fable-5":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5},"gpt-3.5-turbo":{input:.5,output:1.5,cached:.25,reasoning:2.25,cache_creation:.5},"gpt-4":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4-turbo":{input:10,output:30,cached:5,reasoning:45,cache_creation:10},"gpt-4o":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15},"gpt-4.1":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-5":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5-mini":{input:.25,output:2,cached:.125,reasoning:2,cache_creation:.25},"gpt-5-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex-mini":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"gpt-5.1-codex-mini-high":{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"gpt-5.1-codex-max":{input:8,output:32,cached:4,reasoning:48,cache_creation:8},"gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.2-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex-spark":{input:3,output:12,cached:.3,reasoning:12,cache_creation:3},"gpt-5.6":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5},"gpt-5.6-luna":{input:1,output:6,cached:.1,reasoning:6,cache_creation:1},"gpt-5.6-terra":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5},"gpt-5.6-sol":{input:5,output:30,cached:.5,reasoning:30,cache_creation:5},o1:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15},"o1-mini":{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gemini-3.8-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.375},"gemini-3.5-flash-high":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash-preview":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-pro-preview":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-low":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-high":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-pro-agent":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-3-flash-agent":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-extra-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-2.5-pro":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-2.5-flash":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3},"gemini-2.5-flash-lite":{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15},"qwen3-coder-plus":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"qwen3-coder-flash":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"qwen3-coder-plus":{input:.65,output:3.25,cached:.5,reasoning:3.25,cache_creation:1},"qwen3-coder-flash":{input:.195,output:.975,cached:.25,reasoning:.975,cache_creation:.5},"qwen3-coder-next":{input:.12,output:.8,cached:.06,reasoning:.8,cache_creation:.5},"qwen3.8-max":{input:2,output:6,cached:.25,cache_creation:2.5,reasoning:6},"qwen3.8-27b":{input:.4,output:3,cached:.05,reasoning:3},"qwen3.8-2.4t-a95b":{input:2,output:6,cached:.25,reasoning:6},"qwen3.7-max":{input:1.475,output:4.425,cached:.25,reasoning:4.425},"qwen3.7-plus":{input:.32,output:1.28,cached:.08,reasoning:1.28},"qwen3.6-plus":{input:.325,output:1.95,reasoning:1.95},"qwen3.6-flash":{input:.1875,output:1.125,cached:.01875,cache_creation:.2344,reasoning:1.125},"qwen3.6-35b-a3b":{input:.098,output:.95,reasoning:.95},"qwen3.6-27b":{input:.289,output:2.4,reasoning:2.4},"qwen3.6-max-preview":{input:1.027,output:6.162,reasoning:6.162},"qwen3.5-plus":{input:.3,output:1.8,reasoning:1.8},"qwen3.5-flash":{input:.065,output:.26,reasoning:.26},"qwen3.5-27b":{input:.195,output:1.56,reasoning:1.56},"qwen3.5-35b-a3b":{input:.14,output:1,reasoning:1},"qwen3.5-122b-a10b":{input:.26,output:2.08,reasoning:2.08},"qwen3.5-397b-a17b":{input:.3025,output:1.925,reasoning:1.925},"kimi-k3":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},k3:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},"kimi-k2.7-code":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-k2.7-code-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-for-coding":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-for-coding-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-k2":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-k2-thinking":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"kimi-k2.5":{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2},"kimi-k2.5-thinking":{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8},"kimi-k2.6":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-latest":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"deepseek-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-r1":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4-flash":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:.435},"glm-4.6":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"glm-4.6v":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-4.7":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-5":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.8,cache_creation:.3},"MiniMax-M2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.5":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.7":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.5":{input:.6,output:2.4,cached:.3,reasoning:3.6,cache_creation:.6},"grok-code-fast-1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},auto:{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"oswe-vscode-prime":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"gpt-oss-120b-medium":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"vision-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"coder-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},e={gh:{"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},meta:{"muse-spark-1.2":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"muse-spark-1.1":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"muse-spark-1.2-contributor":{input:.1,output:.2,cached:.002,reasoning:.2}},tokenrouter:{"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.2},"anthropic/claude-fable-5":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-haiku-4.5":{input:1,output:5,cached:.1,cache_creation:1.25,reasoning:5},"anthropic/claude-opus-4.5":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.6":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.7":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.7-fast":{input:30,output:150,cached:3,reasoning:150},"anthropic/claude-opus-4.8":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.8-fast":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-opus-5":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-5-fast":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-sonnet-4":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-4.5":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-4.6":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10},"claude-opus-4-8-m-aws":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"deepseek/deepseek-v3.2":{input:.26,output:.38,cached:.13,reasoning:.38},"deepseek/deepseek-v4-flash":{input:.14,output:.28,cached:.0028,reasoning:.28},"deepseek/deepseek-v4-flash-0731":{input:.14,output:.28,cached:.0028,reasoning:.28},"deepseek/deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87},"ex/gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15},"google/gemini-2.5-flash-image":{input:.3,output:2.5,reasoning:2.5},"google/gemini-3-flash-preview":{input:.5,output:3,cached:.05,cache_creation:.08333,reasoning:3},"google/gemini-3-pro-image-preview":{input:2,output:12,reasoning:12},"google/gemini-3.1-flash-image-preview":{input:.5,output:3,reasoning:3},"google/gemini-3.1-flash-lite-image":{input:.25,output:1.5,reasoning:1.5},"google/gemini-3.1-pro-preview":{input:2,output:12,cached:.2,cache_creation:.375,reasoning:12},"google/gemini-3.5-flash":{input:1.5,output:9,cached:.15,cache_creation:.08333,reasoning:9},"google/gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,cache_creation:.08333,reasoning:2.5},"google/gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,cache_creation:.08333,reasoning:7.5},"google/gemini-embedding-2":{input:1,output:6,cached:.1,reasoning:6},"google/gemma-4-26b-a4b-it":{input:.06,output:.33,reasoning:.33},"kling-3.0-turbo":{input:2.1,output:2.1,reasoning:2.1},"microsoft/mai-image-2.5":{input:5,output:47,reasoning:47},"minimax/minimax-m2-her":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.1":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.1-highspeed":{input:.6,output:2.4,cached:.06,reasoning:2.4},"minimax/minimax-m2.5":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.7":{input:.3,output:1.2,cached:.06,reasoning:1.2},"minimax/minimax-m2.7-highspeed":{input:.6,output:2.4,cached:.06,reasoning:2.4},"miromind/mirothinker-1-7-deepresearch":{input:4,output:25,reasoning:25},"miromind/mirothinker-1-7-deepresearch-mini":{input:1.25,output:10,reasoning:10},"mistralai/devstral-2512":{input:.4,output:2,cached:.04,reasoning:2},"mistralai/mistral-medium-3-5":{input:1.5,output:7.5,reasoning:7.5},"mistralai/mistral-small-2603":{input:.15,output:.6,cached:.015,reasoning:.6},"mistralai/voxtral-small-24b-2507":{input:.1,output:.3,cached:.01,reasoning:.3},"moonshotai/kimi-k2.5":{input:.6,output:3,cached:.1,reasoning:3},"moonshotai/kimi-k2.6":{input:.95,output:4,cached:.16,reasoning:4},"moonshotai/kimi-k2.7-code":{input:.9286,output:3.8571,cached:.1857,reasoning:3.8571},"moonshotai/kimi-k3":{input:3,output:15,cached:.3,reasoning:15},"nvidia/nemotron-3-super-120b-a12b":{input:.3,output:.9,cached:.1,reasoning:.9},"openai/gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.6},"openai/gpt-5":{input:1.25,output:10,cached:.125,reasoning:10},"openai/gpt-5-image":{input:10,output:40,cached:2.5,reasoning:40},"openai/gpt-5-image-mini":{input:2.5,output:8,cached:.25,reasoning:8},"openai/gpt-5-mini":{input:.25,output:2,cached:.025,reasoning:2},"openai/gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14},"openai/gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14},"openai/gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15},"openai/gpt-5.4-image-2":{input:8,output:30,cached:2,reasoning:30},"openai/gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5},"openai/gpt-5.4-nano":{input:.2,output:1.25,cached:.02,reasoning:1.25},"openai/gpt-5.4-pro":{input:30,output:180,reasoning:180},"openai/gpt-5.5":{input:5,output:30,cached:.5,reasoning:30},"openai/gpt-5.5-pro":{input:30,output:180,reasoning:180},"openai/gpt-5.6-luna":{input:.2,output:1.2,cached:.02,cache_creation:.25,reasoning:1.2},"openai/gpt-5.6-sol":{input:5,output:30,cached:.5,cache_creation:6.25,reasoning:30},"openai/gpt-5.6-terra":{input:2,output:12,cached:.2,cache_creation:2.5,reasoning:12},"openai/gpt-audio":{input:2.5,output:10,reasoning:10},"openai/gpt-audio-mini":{input:.6,output:2.4,reasoning:2.4},"openai/gpt-oss-120b":{input:.039,output:.18,reasoning:.18},"qwen/qwen3-coder-next":{input:.12,output:.75,cached:.06,reasoning:.75},"qwen/qwen3.5-122b-a10b":{input:.26,output:2.08,reasoning:2.08},"qwen/qwen3.5-35b-a3b":{input:.1625,output:1.3,reasoning:1.3},"qwen/qwen3.5-397b-a17b":{input:.39,output:2.34,reasoning:2.34},"qwen/qwen3.5-9b":{input:.1,output:.15,reasoning:.15},"qwen/qwen3.5-flash":{input:.1048,output:.4194,reasoning:.4194},"qwen/qwen3.5-plus-02-15":{input:.26,output:1.56,reasoning:1.56},"qwen/qwen3.6-plus":{input:.54,output:3.21,reasoning:3.21},"qwen/qwen3.7-max":{input:1.25,output:3.75,cached:.25,reasoning:3.75},"qwen/qwen3.7-plus":{input:.4,output:1.6,cached:.08,reasoning:1.6},"qwen/qwen3.8-max":{input:2,output:6,cached:.25,cache_creation:2.5,reasoning:6},"qwen3.5-omni-plus":{input:1,output:5.7143,reasoning:5.7143},"qwen3.6-flash":{input:.171,output:1.029,cached:.017,cache_creation:.214,reasoning:1.029},"sakana/fugu-ultra":{input:5,output:30,cached:.5,reasoning:30},"seed-2-0-code-preview-260328":{input:1,output:6,cached:.2,cache_creation:.008333,reasoning:6},"seed-2-0-lite-260428":{input:.5,output:4,cached:.1,cache_creation:.008333,reasoning:4},"seed-2-0-mini-260428":{input:.2,output:.8,cached:.04,cache_creation:.00833,reasoning:.8},"seed-2-0-pro-260328":{input:1,output:6,cached:.2,cache_creation:.008333,reasoning:6},"stepfun/step-3.5-flash":{input:.1,output:.3,cached:.02,reasoning:.3},"stepfun/step-3.7-flash":{input:.2,output:1.15,cached:.04,reasoning:1.15},"tencent/hy3-preview":{input:.066,output:.26,cached:.029,reasoning:.26},"x-ai/grok-4.1-fast":{input:.2,output:.5,cached:.05,reasoning:.5},"x-ai/grok-4.20-beta":{input:2,output:6,cached:.2,reasoning:6},"x-ai/grok-4.3":{input:1.25,output:2.5,cached:.2,reasoning:2.5},"x-ai/grok-4.5":{input:2,output:6,cached:.5,reasoning:6},"x-ai/grok-build-0.1":{input:1,output:2,cached:.2,reasoning:2},"xiaomi/mimo-v2-flash":{input:.1,output:.3,cached:.01,reasoning:.3},"xiaomi/mimo-v2-omni":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi/mimo-v2-pro":{input:1,output:3,cached:.2,reasoning:3},"xiaomi/mimo-v2.5":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi/mimo-v2.5-pro":{input:1,output:3,cached:.2,reasoning:3},"z-ai/glm-4.5-air":{input:.13,output:.85,cached:.025,reasoning:.85},"z-ai/glm-4.6":{input:.6,output:2.2,cached:.11,reasoning:2.2},"z-ai/glm-4.6v":{input:.3,output:.9,reasoning:.9},"z-ai/glm-4.7":{input:.6,output:2.2,cached:.11,reasoning:2.2},"z-ai/glm-5":{input:1,output:3.2,cached:.2,reasoning:3.2},"z-ai/glm-5-turbo":{input:1.2,output:4,cached:.24,reasoning:4},"z-ai/glm-5.1":{input:1.05,output:3.5,cached:.525,reasoning:3.5},"z-ai/glm-5.2":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"z-ai/glm-5.3-free":{input:0,output:0,cached:0,reasoning:0}}},f=[{pattern:"*-codex-xhigh",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"*-codex-high",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-max",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-mini-*",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-mini",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-low",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-none",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-spark",pricing:{input:3,output:12,cached:.3,reasoning:12,cache_creation:3}},{pattern:"codex-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"claude-opus-*",pricing:{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25}},{pattern:"claude-sonnet-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"claude-haiku-*",pricing:{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25}},{pattern:"claude-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"gemini-*-flash-lite",pricing:{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15}},{pattern:"gemini-*-flash",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*-pro",pricing:{input:2,output:12,cached:.25,reasoning:18,cache_creation:2}},{pattern:"gemini-3-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gemini-2.5-*",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gpt-5.6-*",pricing:{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-5.3-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.2-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.1-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-4o-*",pricing:{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15}},{pattern:"gpt-4o",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-4*",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"o1-*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"o1",pricing:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15}},{pattern:"o3-*",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"o4-*",pricing:{input:2,output:8,cached:1,reasoning:12,cache_creation:2}},{pattern:"qwen3-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"kimi-*-thinking",pricing:{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8}},{pattern:"kimi-k3*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3}},{pattern:"kimi-k2*",pricing:{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2}},{pattern:"kimi-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"deepseek-*reasoner*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-r*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-v*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"glm-5*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"glm-4*",pricing:{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75}},{pattern:"glm-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"MiniMax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"minimax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-code-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"*muse-spark*contributor*",pricing:{input:.1,output:.2,cached:.002,reasoning:.3,cache_creation:.1}},{pattern:"*muse-spark*",pricing:{input:1.25,output:4.25,cached:.15,reasoning:6.375,cache_creation:1.25}},{pattern:"*muse-glimmer*",pricing:{input:.3,output:1.2,cached:.04,reasoning:1.8,cache_creation:.3}},{pattern:"*muse*",pricing:{input:1.25,output:4.25,cached:.15,reasoning:6.375,cache_creation:1.25}}];function g(a,b){return RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$","i").test(b)}function h(a,b){if(!b)return null;if(a&&e[a]?.[b])return e[a][b];let c=b.includes("/")?b.split("/").pop():b;if(d[c])return d[c];if(d[b])return d[b];for(let{pattern:a,pricing:d}of f)if(g(a,c)||g(a,b))return d;return null}function i(a){if(null==a||""===a)return null;let b=Number(a);return Number.isFinite(b)&&b>=0?b:null}function j(a,b){if(!a)return 0;let c=i(a.cost_usd??a.cost_in_usd);if(null!==c)return c;let d=i(a.cost_in_usd_ticks);if(null!==d)return d/1e10;if(!b)return 0;let e=0,f=a.prompt_tokens||a.input_tokens||0,g=a.cached_tokens||a.cache_read_input_tokens||0,h=a.cache_creation_input_tokens||0;e+=Math.max(0,f-g-h)*(b.input/1e6),g>0&&(e+=g*((b.cached||b.input)/1e6)),e+=(a.completion_tokens||a.output_tokens||0)*(b.output/1e6);let j=a.reasoning_tokens||0;return j>0&&(e+=j*((b.reasoning||b.output)/1e6)),h>0&&(e+=h*((b.cache_creation||b.input)/1e6)),e}}};
@@ -1 +1 @@
1
- "use strict";exports.id=1329,exports.ids=[615,1329,7335],exports.modules={4630:(a,b,c)=>{c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(39141);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},27335:(a,b,c)=>{c.d(b,{Xg:()=>s,PROVIDER_MODELS:()=>f.vq,fZ:()=>j,cY:()=>u,ez:()=>o,ux:()=>n,OA:()=>p,kt:()=>q,KC:()=>t,SM:()=>i});var d=c(4630),e=c(45502),f=c(39141),g=c(6595);let h="-review";function i(a){return f.vq[a]||[]}function j(a){let b=f.vq[a];return b?.[0]?.id||null}let k=new Set(["kr","kiro"]),l=new Map;for(let[a,b]of Object.entries(f.vq)){if(!Array.isArray(b))continue;let c=new Map,d=new Map;for(let e of b)if(e?.id!=null&&(c.set(e.id,e),k.has(a))){let a=(0,g.Kq)(e.id);a!==e.id&&d.set(a,e)}l.set(a,{exact:c,normalized:d})}function m(a,b,c){if(!a)return;let d=l.get(c);if(d){let a=d.exact.get(b);return a||(d.normalized.size?d.normalized.get(b):void 0)}let e=a.find(a=>a.id===b);if(e)return e;if(!k.has(c))return;let f=(0,g.Kq)(b);if(f!==b)return a.find(a=>a.id===f)}function n(a,b){let c=s[a]||a,d=f.vq[c]||f.vq[a];return d?(0,g.gr)(m(d,b,c)):null}function o(a,b){let c=s[a]||a,d=f.vq[c]||f.vq[a];return d?(0,g.ec)(m(d,b,c)):null}function p(a,b){let c=s[a]||a,d=f.vq[c]||f.vq[a];if(!d)return null;let e=m(d,b,c);return e?.kind||e?.type||null}function q(a,b){let c=s[a]||a,d="string"==typeof b?b.match(/\([^()]+\)\s*$/):null,e=d?d[0]:"",g=e?b.slice(0,d.index).trim():b,i=m(f.vq[c]||f.vq[a],g,c),j=i?.upstreamModelId||i?.id;if(j){let a=j.match(/\([^()]+\)\s*$/),b=a?.[0]||"";return(b?j.slice(0,a.index).trim():j)+(e||b)}return"cx"===c&&"string"==typeof g&&g.endsWith(h)?g.slice(0,-h.length)+e:g+e}let r=Object.fromEntries(e.A.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias])),s=Object.fromEntries(Object.keys(d.xq).map(a=>[a,r[a]||a]));function t(a){let b=s[a]||a;return f.vq[b]||[]}function u(a,b){return(0,g.g5)(m(f.vq[a],b,a))}},40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>u,js:()=>A,DI:()=>n,fg:()=>k,Pd:()=>o,Vj:()=>p,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>m,jO:()=>C,wb:()=>B,br:()=>l,wG:()=>z,zt:()=>v,gb:()=>r,gC:()=>s,AR:()=>t,mq:()=>q,rs:()=>w,p5:()=>y});var d=c(45502);let e="âš ī¸ 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.";Object.fromEntries(d.A.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.A.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.baseUrlField?{baseUrlField:a.baseUrlField}:{},...a.noAuth?{noAuth:!0}:{},...a.passthroughModels?{passthroughModels:!0}:{},...a.hasOAuth?{hasOAuth:!0}:{},...a.models?{models:a.models}:{},...a.authModes?{authModes:a.authModes}:{},...a.features?{features:{...a.features}}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{}}}(a)])),h=g("free"),i=g("freeTier"),j=g("oauth"),k=g("apikey"),l=g("webCookie"),m="openai-compatible-",n="anthropic-compatible-",o="custom-embedding-",p="custom-video-";function q(a){return"string"==typeof a&&a.startsWith(m)}function r(a){return"string"==typeof a&&a.startsWith(n)}function s(a){return"string"==typeof a&&a.startsWith(o)}function t(a){return"string"==typeof a&&a.startsWith(p)}let u={...h,...i,...j,...k,...l};function v(a){for(let b of Object.values(u))if(b.alias===a||b.id===a)return b;return null}function w(a){let b=v(a);return b?.id||a}let x={nvidia:40};function y(a,b){let c=(a?.rpmByProvider||{})[b];if(0===c||"0"===c)return 0;let d=Number(c);return Number.isFinite(d)&&d>0?d:x[b]||0}function z(a){let b=u[a];return b?.alias||a}let A=Object.values(u).reduce((a,b)=>(a[b.alias]=b.id,a),{});Object.values(u).reduce((a,b)=>(a[b.id]=b.alias,a),{});let B=d.A.filter(a=>a.features?.usage).map(a=>a.id),C=d.A.filter(a=>a.features?.usageApikey).map(a=>a.id)},81329:(a,b,c)=>{c.d(b,{CP:()=>f,Xg:()=>d.Xg,eh:()=>e,vq:()=>d.PROVIDER_MODELS});var d=c(27335);Object.entries(c(40615).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b}};
1
+ "use strict";exports.id=1329,exports.ids=[615,1329],exports.modules={4630:(a,b,c)=>{c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(39141);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},8382:(a,b,c)=>{c.d(b,{d5:()=>d,nh:()=>e});let d="-review";function e(a){if(!a||"string"!=typeof a)return!1;let b=a.replace(/\([^()]+\)\s*$/,"").trim(),c=b.includes("/")?b.split("/").pop():b;return/^muse[-_]?spark(?:$|[-_:.\s])/i.test(c)}},29485:(a,b,c)=>{c.d(b,{KC:()=>u,OA:()=>q,PROVIDER_MODELS:()=>f.vq,SM:()=>j,Xg:()=>t,cY:()=>v,ez:()=>p,fZ:()=>k,kt:()=>r,ux:()=>o});var d=c(4630),e=c(32892),f=c(39141),g=c(6595),h=c(8382),i=c(19956);function j(a){return f.vq[a]||[]}function k(a){let b=f.vq[a];return b?.[0]?.id||null}let l=new Set(["kr","kiro"]),m=new Map;for(let[a,b]of Object.entries(f.vq)){if(!Array.isArray(b))continue;let c=new Map,d=new Map;for(let e of b)if(e?.id!=null&&(c.set(e.id,e),l.has(a))){let a=(0,g.Kq)(e.id);a!==e.id&&d.set(a,e)}m.set(a,{exact:c,normalized:d})}function n(a,b,c){if(!a)return;let d=m.get(c);if(d){let a=d.exact.get(b);return a||(d.normalized.size?d.normalized.get(b):void 0)}let e=a.find(a=>a.id===b);if(e)return e;if(!l.has(c))return;let f=(0,g.Kq)(b);if(f!==b)return a.find(a=>a.id===f)}function o(a,b){if((!a||"oc"===a||"opencode"===a)&&(0,h.nh)(b))return i.h.OPENAI_RESPONSES;let c=t[a]||a,d=f.vq[c]||f.vq[a];return d?(0,g.gr)(n(d,b,c)):null}function p(a,b){let c=t[a]||a,d=f.vq[c]||f.vq[a];return d?(0,g.ec)(n(d,b,c)):null}function q(a,b){let c=t[a]||a,d=f.vq[c]||f.vq[a];if(!d)return null;let e=n(d,b,c);return e?.kind||e?.type||null}function r(a,b){let c=t[a]||a,d="string"==typeof b?b.match(/\([^()]+\)\s*$/):null,e=d?d[0]:"",g=e?b.slice(0,d.index).trim():b,i=n(f.vq[c]||f.vq[a],g,c),j=i?.upstreamModelId||i?.id;if(j){let a=j.match(/\([^()]+\)\s*$/),b=a?.[0]||"";return(b?j.slice(0,a.index).trim():j)+(e||b)}return"cx"===c&&"string"==typeof g&&g.endsWith(h.d5)?g.slice(0,-h.d5.length)+e:g+e}let s=Object.fromEntries(e.default.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias])),t=Object.fromEntries(Object.keys(d.xq).map(a=>[a,s[a]||a]));function u(a){let b=t[a]||a;return f.vq[b]||[]}function v(a,b){return(0,g.g5)(n(f.vq[a],b,a))}},40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>u,js:()=>A,DI:()=>n,fg:()=>k,Pd:()=>o,Vj:()=>p,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>m,jO:()=>C,wb:()=>B,br:()=>l,wG:()=>z,zt:()=>v,gb:()=>r,gC:()=>s,AR:()=>t,mq:()=>q,rs:()=>w,p5:()=>y});var d=c(32892);let e="âš ī¸ 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.";Object.fromEntries(d.default.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","credentialFallback","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.default.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.baseUrlField?{baseUrlField:a.baseUrlField}:{},...a.noAuth?{noAuth:!0}:{},...a.passthroughModels?{passthroughModels:!0}:{},...a.hasOAuth?{hasOAuth:!0}:{},...a.models?{models:a.models}:{},...a.authModes?{authModes:a.authModes}:{},...a.features?{features:{...a.features}}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{}}}(a)])),h=g("free"),i=g("freeTier"),j=g("oauth"),k=g("apikey"),l=g("webCookie"),m="openai-compatible-",n="anthropic-compatible-",o="custom-embedding-",p="custom-video-";function q(a){return"string"==typeof a&&a.startsWith(m)}function r(a){return"string"==typeof a&&a.startsWith(n)}function s(a){return"string"==typeof a&&a.startsWith(o)}function t(a){return"string"==typeof a&&a.startsWith(p)}let u={...h,...i,...j,...k,...l};function v(a){for(let b of Object.values(u))if(b.alias===a||b.id===a)return b;return null}function w(a){let b=v(a);return b?.id||a}let x={nvidia:40};function y(a,b){let c=(a?.rpmByProvider||{})[b];if(0===c||"0"===c)return 0;let d=Number(c);return Number.isFinite(d)&&d>0?d:x[b]||0}function z(a){let b=u[a];return b?.alias||a}let A=Object.values(u).reduce((a,b)=>(a[b.alias]=b.id,a),{});Object.values(u).reduce((a,b)=>(a[b.id]=b.alias,a),{});let B=d.default.filter(a=>a.features?.usage).map(a=>a.id),C=d.default.filter(a=>a.features?.usageApikey).map(a=>a.id)},81329:(a,b,c)=>{c.d(b,{CP:()=>f,Xg:()=>d.Xg,bs:()=>g,eh:()=>e,vq:()=>d.PROVIDER_MODELS});var d=c(29485);Object.entries(c(40615).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b,g={vision:{icon:"visibility",label:"Vision",desc:"Supports image input",color:"text-blue-500"},reasoning:{icon:"neurology",label:"Reasoning",desc:"Supports reasoning / thinking",color:"text-amber-500"}}}};
@@ -1 +1 @@
1
- "use strict";exports.id=1522,exports.ids=[1522],exports.modules={6595:(a,b,c)=>{function d(a){return a.split(/[-_\s]+/).filter(Boolean).map(a=>/^\d/.test(a)?a:a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}c.d(b,{g5:()=>h,ec:()=>j,gr:()=>i,pk:()=>g,Kq:()=>f});let e=[[/^kimi-k(\d+(?:\.\d+)?)(-thinking)?$/i,a=>`Kimi K${a[1]}${a[2]?" Thinking":""}`],[/^glm-(\d+(?:\.\d+)?)(v)?$/i,a=>`GLM ${a[1]}${a[2]?"V (Vision)":""}`],[/^minimax-m(\d+(?:\.\d+)?)$/i,a=>`MiniMax M${a[1]}`],[/^gpt-(.+)$/i,a=>`GPT ${d(a[1])}`],[/^gemini-(.+)$/i,a=>`Gemini ${d(a[1])}`],[/^grok-(.+)$/i,a=>`Grok ${d(a[1])}`],[/^deepseek-(.+)$/i,a=>`DeepSeek ${d(a[1])}`],[/^qwen([\d.]+.*)$/i,a=>`Qwen ${d(a[1])}`]];function f(a){return"string"!=typeof a?a:a.replace(/(\d)-(\d)/g,"$1.$2")}function g(a){let b="string"==typeof a?{id:a}:a;return void 0!==b.name?b:{...b,name:function(a){if("string"!=typeof a)return a;for(let[b,c]of e){let d=a.match(b);if(d)return c(d)}return a}(b.id)}}function h(a){return a?.strip||[]}function i(a){return a?.targetFormat||null}function j(a){return a?.supportedFormats||null}},7972:(a,b,c)=>{c.d(b,{_M:()=>o,pp:()=>p,bU:()=>n,P9:()=>l});let d={alloy:{id:"alloy",name:"Alloy"},ash:{id:"ash",name:"Ash"},ballad:{id:"ballad",name:"Ballad"},cedar:{id:"cedar",name:"Cedar"},coral:{id:"coral",name:"Coral"},echo:{id:"echo",name:"Echo"},fable:{id:"fable",name:"Fable"},marin:{id:"marin",name:"Marin"},nova:{id:"nova",name:"Nova"},onyx:{id:"onyx",name:"Onyx"},sage:{id:"sage",name:"Sage"},shimmer:{id:"shimmer",name:"Shimmer"},verse:{id:"verse",name:"Verse"}},e=(...a)=>a.map(a=>({...d[a],type:"tts"})),f=e("alloy","ash","coral","echo","fable","nova","onyx","sage","shimmer"),g=e("alloy","ash","ballad","cedar","coral","echo","fable","marin","nova","onyx","sage","shimmer","verse"),h=["Zephyr","Puck","Charon","Kore","Fenrir","Leda","Orus","Aoede","Callirrhoe","Autonoe","Enceladus","Iapetus","Umbriel","Algieba","Despina","Erinome","Algenib","Rasalgethi","Laomedeia","Achernar","Alnilam","Schedar","Gacrux","Pulcherrima","Achird","Zubenelgenubi","Vindemiatrix","Sadachbia","Sadaltager","Sulafat"].map(a=>({id:a,name:a,type:"tts"})),i=[{id:"mimo_default",name:"mimo_default"},{id:"冰ẖ",name:"冰ẖ"},{id:"茉莉",name:"茉莉"},{id:"č‹æ‰“",name:"č‹æ‰“"},{id:"į™ŊæĄĻ",name:"į™ŊæĄĻ"},{id:"Mia",name:"Mia"},{id:"Chloe",name:"Chloe"},{id:"Milo",name:"Milo"},{id:"Dean",name:"Dean"}].map(a=>({type:"tts",...a})),j={eleven_v3:{maxChars:5e3,langCode:!0,classic:!1},eleven_multilingual_v2:{maxChars:1e4,langCode:!1,classic:!0},eleven_flash_v2_5:{maxChars:4e4,langCode:!0,classic:!0},eleven_turbo_v2_5:{maxChars:4e4,langCode:!0,classic:!0}},k={maxChars:5e3,langCode:!1,classic:!1},l=a=>j[a]||k,m=[{id:"mp3_44100_128",name:"MP3 128 kbps (default)",container:"mp3"},{id:"mp3_44100_192",name:"MP3 192 kbps (Creator+)",container:"mp3"},{id:"mp3_22050_32",name:"MP3 32 kbps (smallest)",container:"mp3"},{id:"pcm_44100",name:"PCM 44.1 kHz (Pro+)",container:"pcm"},{id:"pcm_16000",name:"PCM 16 kHz",container:"pcm"},{id:"ulaw_8000",name:"\xb5-law 8 kHz (telephony)",container:"ulaw"}],n=a=>m.find(b=>b.id===a)?.container||"mp3",o={openai:{models:[{id:"gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"tts-1",name:"TTS-1",type:"tts"}],voices:{"gpt-4o-mini-tts":g,"tts-1":f,"tts-1-hd":f},allVoices:g},openrouter:{models:[{id:"openai/gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"openai/tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"openai/tts-1",name:"TTS-1",type:"tts"}],voices:{"openai/gpt-4o-mini-tts":g,"openai/tts-1":f,"openai/tts-1-hd":f},allVoices:g},elevenlabs:{models:[{id:"eleven_v3",name:"Eleven v3 (Most Expressive \xb7 70+ langs)",type:"tts"},{id:"eleven_multilingual_v2",name:"Multilingual v2 (Quality)",type:"tts"},{id:"eleven_flash_v2_5",name:"Flash v2.5 (Fastest)",type:"tts"},{id:"eleven_turbo_v2_5",name:"Turbo v2.5 (Fast)",type:"tts"}]},"edge-tts":{defaults:[{id:"en-US-AriaNeural",name:"Aria (en-US)",type:"tts"},{id:"en-US-GuyNeural",name:"Guy (en-US)",type:"tts"},{id:"en-GB-SoniaNeural",name:"Sonia (en-GB)",type:"tts"},{id:"vi-VN-HoaiMyNeural",name:"Hoai My (vi-VN)",type:"tts"},{id:"vi-VN-NamMinhNeural",name:"Nam Minh (vi-VN)",type:"tts"},{id:"zh-CN-XiaoxiaoNeural",name:"Xiaoxiao (zh-CN)",type:"tts"},{id:"zh-CN-YunxiNeural",name:"Yunxi (zh-CN)",type:"tts"},{id:"fr-FR-DeniseNeural",name:"Denise (fr-FR)",type:"tts"},{id:"de-DE-KatjaNeural",name:"Katja (de-DE)",type:"tts"},{id:"ja-JP-NanamiNeural",name:"Nanami (ja-JP)",type:"tts"},{id:"ko-KR-SunHiNeural",name:"SunHi (ko-KR)",type:"tts"}]},"local-device":{defaults:[{id:"default",name:"System Default Voice",type:"tts"}]},"google-tts":{defaults:[{id:"af",name:"Afrikaans",type:"tts"},{id:"ar",name:"Arabic",type:"tts"},{id:"bg",name:"Bulgarian",type:"tts"},{id:"bn",name:"Bengali",type:"tts"},{id:"bs",name:"Bosnian",type:"tts"},{id:"ca",name:"Catalan",type:"tts"},{id:"cs",name:"Czech",type:"tts"},{id:"cy",name:"Welsh",type:"tts"},{id:"da",name:"Danish",type:"tts"},{id:"de",name:"German",type:"tts"},{id:"el",name:"Greek",type:"tts"},{id:"en",name:"English",type:"tts"},{id:"eo",name:"Esperanto",type:"tts"},{id:"es",name:"Spanish",type:"tts"},{id:"et",name:"Estonian",type:"tts"},{id:"fi",name:"Finnish",type:"tts"},{id:"fr",name:"French",type:"tts"},{id:"gu",name:"Gujarati",type:"tts"},{id:"hi",name:"Hindi",type:"tts"},{id:"hr",name:"Croatian",type:"tts"},{id:"hu",name:"Hungarian",type:"tts"},{id:"hy",name:"Armenian",type:"tts"},{id:"id",name:"Indonesian",type:"tts"},{id:"is",name:"Icelandic",type:"tts"},{id:"it",name:"Italian",type:"tts"},{id:"ja",name:"Japanese",type:"tts"},{id:"jw",name:"Javanese",type:"tts"},{id:"km",name:"Khmer",type:"tts"},{id:"kn",name:"Kannada",type:"tts"},{id:"ko",name:"Korean",type:"tts"},{id:"la",name:"Latin",type:"tts"},{id:"lv",name:"Latvian",type:"tts"},{id:"mk",name:"Macedonian",type:"tts"},{id:"ml",name:"Malayalam",type:"tts"},{id:"mr",name:"Marathi",type:"tts"},{id:"my",name:"Myanmar (Burmese)",type:"tts"},{id:"ne",name:"Nepali",type:"tts"},{id:"nl",name:"Dutch",type:"tts"},{id:"no",name:"Norwegian",type:"tts"},{id:"pl",name:"Polish",type:"tts"},{id:"pt",name:"Portuguese",type:"tts"},{id:"ro",name:"Romanian",type:"tts"},{id:"ru",name:"Russian",type:"tts"},{id:"si",name:"Sinhala",type:"tts"},{id:"sk",name:"Slovak",type:"tts"},{id:"sq",name:"Albanian",type:"tts"},{id:"sr",name:"Serbian",type:"tts"},{id:"su",name:"Sundanese",type:"tts"},{id:"sv",name:"Swedish",type:"tts"},{id:"sw",name:"Swahili",type:"tts"},{id:"ta",name:"Tamil",type:"tts"},{id:"te",name:"Telugu",type:"tts"},{id:"th",name:"Thai",type:"tts"},{id:"tl",name:"Filipino",type:"tts"},{id:"tr",name:"Turkish",type:"tts"},{id:"uk",name:"Ukrainian",type:"tts"},{id:"ur",name:"Urdu",type:"tts"},{id:"vi",name:"Vietnamese",type:"tts"},{id:"zh-CN",name:"Chinese (Simplified)",type:"tts"},{id:"zh-TW",name:"Chinese (Traditional)",type:"tts"}]},gemini:{models:[{id:"gemini-3.1-flash-tts-preview",name:"Gemini 3.1 Flash TTS",type:"tts"},{id:"gemini-2.5-flash-preview-tts",name:"Gemini 2.5 Flash TTS",type:"tts"},{id:"gemini-2.5-pro-preview-tts",name:"Gemini 2.5 Pro TTS",type:"tts"}],voices:{"gemini-3.1-flash-tts-preview":h,"gemini-2.5-flash-preview-tts":h,"gemini-2.5-pro-preview-tts":h},allVoices:h},"xiaomi-mimo":{models:[{id:"mimo-v2.5-tts",name:"MiMo V2.5 TTS",type:"tts"}],voices:{"mimo-v2.5-tts":i}}};function p(){let a={};for(let[b,c]of Object.entries(o))c.models&&(a[`${b}-tts-models`]=c.models),c.allVoices&&(a[`${b}-tts-voices`]=c.allVoices),c.defaults&&(a[b]=c.defaults);return a["openai-tts-voices"]=o.openai.allVoices,a["openrouter-tts-voices"]=o.openrouter.allVoices,a}},39141:(a,b,c)=>{c.d(b,{xq:()=>k,B$:()=>n,vq:()=>l,sr:()=>m});var d=c(45502),e=c(60290);let f={baseUrl:"",format:"openai",headers:{},auth:{header:"Authorization",scheme:"bearer",source:["accessToken","apiKey"]},forceStream:!1,urlSuffix:"",quirks:{},passthroughModels:!1,retry:e.cI,timeoutMs:e.pH,executor:"default"};var g=c(6595),h=c(7972);let i=["clientId","clientSecret","tokenUrl"],j=new Set(["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","modelsFetcher","mediaPriority","hiddenKinds"]),k={},l={},m={},n={};for(let a of d.A){a.transport&&(k[a.id]=function(a,b,c){let d={...a};if(d.format||(d.format=f.format),b)for(let a of i)void 0===d[a]&&void 0!==b[a]&&(d[a]=b[a]);return void 0!==c&&(d.protocolProfile=c),d}(a.transport,a.oauth,a.protocolProfile),a.transports&&(k[a.id].transports=a.transports)),void 0!==a.models&&(l[a.alias||a.id]=a.models.map(g.pk)),a.oauth&&(m[a.id]={...a.oauth},void 0!==a.protocolProfile&&(m[a.id].protocolProfile=a.protocolProfile));let b={};for(let c of j)void 0!==a[c]&&(b[c]=a[c]);a.media&&Object.assign(b,a.media),Object.keys(b).length&&(n[a.id]=b)}Object.assign(l,(0,h.pp)())}};
1
+ "use strict";exports.id=1522,exports.ids=[1522],exports.modules={6595:(a,b,c)=>{function d(a){return a.split(/[-_\s]+/).filter(Boolean).map(a=>/^\d/.test(a)?a:a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}c.d(b,{g5:()=>h,ec:()=>j,gr:()=>i,pk:()=>g,Kq:()=>f});let e=[[/^kimi-k(\d+(?:\.\d+)?)(-thinking)?$/i,a=>`Kimi K${a[1]}${a[2]?" Thinking":""}`],[/^glm-(\d+(?:\.\d+)?)(v)?$/i,a=>`GLM ${a[1]}${a[2]?"V (Vision)":""}`],[/^minimax-m(\d+(?:\.\d+)?)$/i,a=>`MiniMax M${a[1]}`],[/^gpt-(.+)$/i,a=>`GPT ${d(a[1])}`],[/^gemini-(.+)$/i,a=>`Gemini ${d(a[1])}`],[/^grok-(.+)$/i,a=>`Grok ${d(a[1])}`],[/^deepseek-(.+)$/i,a=>`DeepSeek ${d(a[1])}`],[/^qwen([\d.]+.*)$/i,a=>`Qwen ${d(a[1])}`]];function f(a){return"string"!=typeof a?a:a.replace(/(\d)-(\d)/g,"$1.$2")}function g(a){let b="string"==typeof a?{id:a}:a;return void 0!==b.name?b:{...b,name:function(a){if("string"!=typeof a)return a;for(let[b,c]of e){let d=a.match(b);if(d)return c(d)}return a}(b.id)}}function h(a){return a?.strip||[]}function i(a){return a?.targetFormat||null}function j(a){return a?.supportedFormats||null}},7972:(a,b,c)=>{c.d(b,{_M:()=>o,pp:()=>p,bU:()=>n,P9:()=>l});let d={alloy:{id:"alloy",name:"Alloy"},ash:{id:"ash",name:"Ash"},ballad:{id:"ballad",name:"Ballad"},cedar:{id:"cedar",name:"Cedar"},coral:{id:"coral",name:"Coral"},echo:{id:"echo",name:"Echo"},fable:{id:"fable",name:"Fable"},marin:{id:"marin",name:"Marin"},nova:{id:"nova",name:"Nova"},onyx:{id:"onyx",name:"Onyx"},sage:{id:"sage",name:"Sage"},shimmer:{id:"shimmer",name:"Shimmer"},verse:{id:"verse",name:"Verse"}},e=(...a)=>a.map(a=>({...d[a],type:"tts"})),f=e("alloy","ash","coral","echo","fable","nova","onyx","sage","shimmer"),g=e("alloy","ash","ballad","cedar","coral","echo","fable","marin","nova","onyx","sage","shimmer","verse"),h=["Zephyr","Puck","Charon","Kore","Fenrir","Leda","Orus","Aoede","Callirrhoe","Autonoe","Enceladus","Iapetus","Umbriel","Algieba","Despina","Erinome","Algenib","Rasalgethi","Laomedeia","Achernar","Alnilam","Schedar","Gacrux","Pulcherrima","Achird","Zubenelgenubi","Vindemiatrix","Sadachbia","Sadaltager","Sulafat"].map(a=>({id:a,name:a,type:"tts"})),i=[{id:"mimo_default",name:"mimo_default"},{id:"冰ẖ",name:"冰ẖ"},{id:"茉莉",name:"茉莉"},{id:"č‹æ‰“",name:"č‹æ‰“"},{id:"į™ŊæĄĻ",name:"į™ŊæĄĻ"},{id:"Mia",name:"Mia"},{id:"Chloe",name:"Chloe"},{id:"Milo",name:"Milo"},{id:"Dean",name:"Dean"}].map(a=>({type:"tts",...a})),j={eleven_v3:{maxChars:5e3,langCode:!0,classic:!1},eleven_multilingual_v2:{maxChars:1e4,langCode:!1,classic:!0},eleven_flash_v2_5:{maxChars:4e4,langCode:!0,classic:!0},eleven_turbo_v2_5:{maxChars:4e4,langCode:!0,classic:!0}},k={maxChars:5e3,langCode:!1,classic:!1},l=a=>j[a]||k,m=[{id:"mp3_44100_128",name:"MP3 128 kbps (default)",container:"mp3"},{id:"mp3_44100_192",name:"MP3 192 kbps (Creator+)",container:"mp3"},{id:"mp3_22050_32",name:"MP3 32 kbps (smallest)",container:"mp3"},{id:"pcm_44100",name:"PCM 44.1 kHz (Pro+)",container:"pcm"},{id:"pcm_16000",name:"PCM 16 kHz",container:"pcm"},{id:"ulaw_8000",name:"\xb5-law 8 kHz (telephony)",container:"ulaw"}],n=a=>m.find(b=>b.id===a)?.container||"mp3",o={openai:{models:[{id:"gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"tts-1",name:"TTS-1",type:"tts"}],voices:{"gpt-4o-mini-tts":g,"tts-1":f,"tts-1-hd":f},allVoices:g},openrouter:{models:[{id:"openai/gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"openai/tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"openai/tts-1",name:"TTS-1",type:"tts"}],voices:{"openai/gpt-4o-mini-tts":g,"openai/tts-1":f,"openai/tts-1-hd":f},allVoices:g},elevenlabs:{models:[{id:"eleven_v3",name:"Eleven v3 (Most Expressive \xb7 70+ langs)",type:"tts"},{id:"eleven_multilingual_v2",name:"Multilingual v2 (Quality)",type:"tts"},{id:"eleven_flash_v2_5",name:"Flash v2.5 (Fastest)",type:"tts"},{id:"eleven_turbo_v2_5",name:"Turbo v2.5 (Fast)",type:"tts"}]},"edge-tts":{defaults:[{id:"en-US-AriaNeural",name:"Aria (en-US)",type:"tts"},{id:"en-US-GuyNeural",name:"Guy (en-US)",type:"tts"},{id:"en-GB-SoniaNeural",name:"Sonia (en-GB)",type:"tts"},{id:"vi-VN-HoaiMyNeural",name:"Hoai My (vi-VN)",type:"tts"},{id:"vi-VN-NamMinhNeural",name:"Nam Minh (vi-VN)",type:"tts"},{id:"zh-CN-XiaoxiaoNeural",name:"Xiaoxiao (zh-CN)",type:"tts"},{id:"zh-CN-YunxiNeural",name:"Yunxi (zh-CN)",type:"tts"},{id:"fr-FR-DeniseNeural",name:"Denise (fr-FR)",type:"tts"},{id:"de-DE-KatjaNeural",name:"Katja (de-DE)",type:"tts"},{id:"ja-JP-NanamiNeural",name:"Nanami (ja-JP)",type:"tts"},{id:"ko-KR-SunHiNeural",name:"SunHi (ko-KR)",type:"tts"}]},"local-device":{defaults:[{id:"default",name:"System Default Voice",type:"tts"}]},"google-tts":{defaults:[{id:"af",name:"Afrikaans",type:"tts"},{id:"ar",name:"Arabic",type:"tts"},{id:"bg",name:"Bulgarian",type:"tts"},{id:"bn",name:"Bengali",type:"tts"},{id:"bs",name:"Bosnian",type:"tts"},{id:"ca",name:"Catalan",type:"tts"},{id:"cs",name:"Czech",type:"tts"},{id:"cy",name:"Welsh",type:"tts"},{id:"da",name:"Danish",type:"tts"},{id:"de",name:"German",type:"tts"},{id:"el",name:"Greek",type:"tts"},{id:"en",name:"English",type:"tts"},{id:"eo",name:"Esperanto",type:"tts"},{id:"es",name:"Spanish",type:"tts"},{id:"et",name:"Estonian",type:"tts"},{id:"fi",name:"Finnish",type:"tts"},{id:"fr",name:"French",type:"tts"},{id:"gu",name:"Gujarati",type:"tts"},{id:"hi",name:"Hindi",type:"tts"},{id:"hr",name:"Croatian",type:"tts"},{id:"hu",name:"Hungarian",type:"tts"},{id:"hy",name:"Armenian",type:"tts"},{id:"id",name:"Indonesian",type:"tts"},{id:"is",name:"Icelandic",type:"tts"},{id:"it",name:"Italian",type:"tts"},{id:"ja",name:"Japanese",type:"tts"},{id:"jw",name:"Javanese",type:"tts"},{id:"km",name:"Khmer",type:"tts"},{id:"kn",name:"Kannada",type:"tts"},{id:"ko",name:"Korean",type:"tts"},{id:"la",name:"Latin",type:"tts"},{id:"lv",name:"Latvian",type:"tts"},{id:"mk",name:"Macedonian",type:"tts"},{id:"ml",name:"Malayalam",type:"tts"},{id:"mr",name:"Marathi",type:"tts"},{id:"my",name:"Myanmar (Burmese)",type:"tts"},{id:"ne",name:"Nepali",type:"tts"},{id:"nl",name:"Dutch",type:"tts"},{id:"no",name:"Norwegian",type:"tts"},{id:"pl",name:"Polish",type:"tts"},{id:"pt",name:"Portuguese",type:"tts"},{id:"ro",name:"Romanian",type:"tts"},{id:"ru",name:"Russian",type:"tts"},{id:"si",name:"Sinhala",type:"tts"},{id:"sk",name:"Slovak",type:"tts"},{id:"sq",name:"Albanian",type:"tts"},{id:"sr",name:"Serbian",type:"tts"},{id:"su",name:"Sundanese",type:"tts"},{id:"sv",name:"Swedish",type:"tts"},{id:"sw",name:"Swahili",type:"tts"},{id:"ta",name:"Tamil",type:"tts"},{id:"te",name:"Telugu",type:"tts"},{id:"th",name:"Thai",type:"tts"},{id:"tl",name:"Filipino",type:"tts"},{id:"tr",name:"Turkish",type:"tts"},{id:"uk",name:"Ukrainian",type:"tts"},{id:"ur",name:"Urdu",type:"tts"},{id:"vi",name:"Vietnamese",type:"tts"},{id:"zh-CN",name:"Chinese (Simplified)",type:"tts"},{id:"zh-TW",name:"Chinese (Traditional)",type:"tts"}]},gemini:{models:[{id:"gemini-3.1-flash-tts-preview",name:"Gemini 3.1 Flash TTS",type:"tts"},{id:"gemini-2.5-flash-preview-tts",name:"Gemini 2.5 Flash TTS",type:"tts"},{id:"gemini-2.5-pro-preview-tts",name:"Gemini 2.5 Pro TTS",type:"tts"}],voices:{"gemini-3.1-flash-tts-preview":h,"gemini-2.5-flash-preview-tts":h,"gemini-2.5-pro-preview-tts":h},allVoices:h},"xiaomi-mimo":{models:[{id:"mimo-v2.5-tts",name:"MiMo V2.5 TTS",type:"tts"}],voices:{"mimo-v2.5-tts":i}}};function p(){let a={};for(let[b,c]of Object.entries(o))c.models&&(a[`${b}-tts-models`]=c.models),c.allVoices&&(a[`${b}-tts-voices`]=c.allVoices),c.defaults&&(a[b]=c.defaults);return a["openai-tts-voices"]=o.openai.allVoices,a["openrouter-tts-voices"]=o.openrouter.allVoices,a}},39141:(a,b,c)=>{c.d(b,{xq:()=>k,B$:()=>n,vq:()=>l,sr:()=>m});var d=c(32892),e=c(60290);let f={baseUrl:"",format:"openai",headers:{},auth:{header:"Authorization",scheme:"bearer",source:["accessToken","apiKey"]},forceStream:!1,urlSuffix:"",quirks:{},passthroughModels:!1,retry:e.cI,timeoutMs:e.pH,executor:"default"};var g=c(6595),h=c(7972);let i=["clientId","clientSecret","tokenUrl"],j=new Set(["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","modelsFetcher","mediaPriority","hiddenKinds"]),k={},l={},m={},n={};for(let a of d.default){a.transport&&(k[a.id]=function(a,b,c){let d={...a};if(d.format||(d.format=f.format),b)for(let a of i)void 0===d[a]&&void 0!==b[a]&&(d[a]=b[a]);return void 0!==c&&(d.protocolProfile=c),d}(a.transport,a.oauth,a.protocolProfile),a.transports&&(k[a.id].transports=a.transports)),void 0!==a.models&&(l[a.alias||a.id]=a.models.map(g.pk)),a.oauth&&(m[a.id]={...a.oauth},void 0!==a.protocolProfile&&(m[a.id].protocolProfile=a.protocolProfile));let b={};for(let c of j)void 0!==a[c]&&(b[c]=a[c]);a.media&&Object.assign(b,a.media),Object.keys(b).length&&(n[a.id]=b)}Object.assign(l,(0,h.pp)())}};
@@ -1 +1 @@
1
- "use strict";exports.id=1531,exports.ids=[1531,3912,6769],exports.modules={60290:(a,b,c)=>{c.d(b,{C8:()=>t,DR:()=>s,IK:()=>m,Ps:()=>h,Qn:()=>q,SA:()=>p,UH:()=>k,Uc:()=>n,Ur:()=>g,Z1:()=>j,cI:()=>r,eo:()=>o,gx:()=>d,pH:()=>l,v1:()=>e,xM:()=>i}),c(87252);let d={BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,NOT_ACCEPTABLE:406,REQUEST_TIMEOUT:408,PAYLOAD_TOO_LARGE:413,RATE_LIMITED:429,SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},e={sessionTtlMs:72e5,sessionCleanupIntervalMs:18e5,sessionAffinityMaxSize:5e3,dnsCacheTtlMs:3e5,proxyDispatchersMaxSize:20};function f(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}function g(){return{firstActionTimeoutMs:f("COMBO_RESPONSE_FIRST_ACTION_TIMEOUT_MS",5e3),maxBytes:f("COMBO_RESPONSE_PREFLIGHT_MAX_BYTES",65536)}}let h=process.env.SEARXNG_URL?.trim()||"http://localhost:8888/search",i=f("STREAM_STALL_TIMEOUT_MS",36e4),j=f("STREAM_FIRST_CHUNK_TIMEOUT_MS",3e4),k=(()=>{let a=process.env.SSE_KEEPALIVE_MS;if(null==a||""===a)return 1e4;let b=parseInt(a,10);return Number.isFinite(b)&&b>=0?b:1e4})(),l=f("FETCH_CONNECT_TIMEOUT_MS",6e4);f("RESPONSE_BODY_TIMEOUT_MS",3e5);let m=f("GEMINI_NATIVE_TTS_FETCH_TIMEOUT_MS",45e3),n=64e3,o=32e3,p="x-9router-token-saver",q={maxTokenLength:160,maxAttempts:32,headers:{requestedModel:"X-9Router-Requested-Model",routePath:"X-9Router-Route-Path",resolvedProvider:"X-9Router-Resolved-Provider",resolvedModel:"X-9Router-Resolved-Model",fallbackCount:"X-9Router-Fallback-Count",attemptedModels:"X-9Router-Attempted-Models"}},r={429:{attempts:0,delayMs:0},502:{attempts:3,delayMs:3e3},503:{attempts:3,delayMs:2e3},504:{attempts:2,delayMs:3e3}};function s(a){return null==a?{attempts:0,delayMs:2e3}:"number"==typeof a?{attempts:a,delayMs:2e3}:{attempts:a.attempts||0,delayMs:null!=a.delayMs?a.delayMs:2e3}}let t=["Please write a 5-10 word title for the following conversation:"]},87252:(a,b,c)=>{c.d(b,{Dp:()=>g,EQ:()=>f,LY:()=>d,O:()=>e,fh:()=>h,t2:()=>i});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},413:{type:"invalid_request_error",code:"context_length_exceeded"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",413:"Your input exceeds the context window of this model",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f={base:2e3,max:18e5,maxLevel:15},g=42e4,h=26784e5,i=[{text:"monthly_request_count",cooldownMs:216e5},{text:"monthly limit",cooldownMs:216e5},{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:413,fallback:!1},{status:429,backoff:!0}]},89843:(a,b,c)=>{c.d(b,{proxyAwareFetch:()=>s});var d=c(27910),e=c(60290);let f=globalThis.fetch,g=new Map,h=new Map,i=["cloudcode-pa.googleapis.com","daily-cloudcode-pa.googleapis.com","api.individual.githubcopilot.com","q.us-east-1.amazonaws.com","codewhisperer.us-east-1.amazonaws.com","api2.cursor.sh"],j=["8.8.8.8","8.8.4.4"];function k(a){return null==a?"":String(a).trim()}function l(a,b){let c=k(process.env[a]);if(!/^[1-9]\d*$/.test(c))return b;let d=Number(c);return Number.isSafeInteger(d)?d:b}async function m(a){let b=h.get(a);if(b&&Date.now()<b.expiry)return b.ip;try{let b=await Promise.resolve().then(c.t.bind(c,14985,19)),{promisify:d}=await Promise.resolve().then(c.t.bind(c,28354,19)),f=new b.Resolver;f.setServers(j);let g=d(f.resolve4.bind(f)),i=await g(a);return h.set(a,{ip:i[0],expiry:Date.now()+e.v1.dnsCacheTtlMs}),i[0]}catch(b){return console.warn(`[ProxyFetch] DNS resolve failed for ${a}:`,b.message),null}}function n(a){let b;try{b=new URL(a).hostname.toLowerCase()}catch{return!1}let c=b.startsWith("[")&&b.endsWith("]")?b.slice(1,-1):b;if("localhost"===c||c.endsWith(".localhost")||"::1"===c||"0:0:0:0:0:0:0:1"===c)return!0;let d=/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i.exec(c);if(d)return(parseInt(d[1],16)>>8&255)==127;let e=/^::ffff:(\d{1,3}(?:\.\d{1,3}){3})$/i.exec(c),f=e?e[1]:c;return/^127(?:\.\d{1,3}){3}$/.test(f)}function o(a,b){let c,d=k(b);if(!d)return!1;try{c=new URL(a).hostname.toLowerCase()}catch{return!1}return d.split(",").map(a=>a.trim().toLowerCase()).filter(Boolean).some(a=>"*"===a||(a.startsWith(".")?c.endsWith(a)||c===a.slice(1):c===a||c.endsWith(`.${a}`)))}function p(a){let b=k(a);if(!b)return null;try{return new URL(b),b}catch{return`http://${b}`}}async function q(a){let b=p(a);if(!b)return null;if(!g.has(b)){g.size>=e.v1.proxyDispatchersMaxSize&&g.delete(g.keys().next().value);let{ProxyAgent:a}=await c.e(7774).then(c.t.bind(c,47774,19)),d=l("PROXY_CONNECT_TIMEOUT_MS",9e4),f=l("PROXY_HEADERS_TIMEOUT_MS",3e5);g.set(b,new a({uri:b,connectTimeout:d,headersTimeout:f,bodyTimeout:0}))}return g.get(b)}async function r(a,b,e){let f=await Promise.resolve().then(c.t.bind(c,55591,19)),g=await Promise.resolve().then(c.t.bind(c,91645,19)),h=f.default??f,i=g.default??g;return new Promise((c,f)=>{let g=new i.Socket;g.connect(443,b,()=>{let b={socket:g,servername:a.hostname,path:a.pathname+a.search,method:e.method||"POST",headers:{...e.headers,Host:a.hostname}},i=h.request(b,a=>{let b={ok:a.statusCode>=200&&a.statusCode<300,status:a.statusCode,statusText:a.statusMessage,headers:new Map(Object.entries(a.headers)),body:d.Readable.toWeb(a),text:async()=>{let b=[];for await(let c of a)b.push(c);return Buffer.concat(b).toString()},json:async()=>JSON.parse(await b.text())};c(b)});i.on("error",f),e.body&&i.write("string"==typeof e.body?e.body:JSON.stringify(e.body)),i.end()}),g.on("error",f)})}async function s(a,b={},c=null){let d="string"==typeof a?a:a.toString(),e=k(c?.vercelRelayUrl);if(e){let a=new URL(d),c={...b.headers,"x-relay-target":`${a.protocol}//${a.host}`,"x-relay-path":`${a.pathname}${a.search}`};return f(e,{...b,headers:c})}let g=function(a,b){if(b?.enabled!==!0&&b?.connectionProxyEnabled!==!0||n(a))return null;let c=k(b?.url??b?.connectionProxyUrl);if(!c)return null;let d=k(b?.noProxy??b?.connectionNoProxy);return d&&o(a,d)?null:p(c)}(d,c),h=g?null:p(function(a){let b;if(n(a)||o(a,process.env.NO_PROXY||process.env.no_proxy))return null;try{b=new URL(a).protocol}catch{return null}return"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}(d)),j=g||h;if(function(a){try{let b=new URL(a).hostname;return i.some(a=>b.includes(a))}catch{return!1}}(d)){if(j)try{let c=await q(j);return await f(a,{...b,dispatcher:c})}catch(a){if(c?.strictProxy===!0)throw Error(`[ProxyFetch] Proxy required but failed (strictProxy=true): ${a.message}`);console.warn(`[ProxyFetch] Proxy failed, falling back to direct bypass: ${a.message}`)}try{let a=new URL(d),c=await m(a.hostname);if(c)return await r(a,c,b)}catch(a){console.warn(`[ProxyFetch] MITM bypass failed: ${a.message}`)}}if(j)try{let c=await q(j);return await f(a,{...b,dispatcher:c})}catch(a){if(c?.strictProxy===!0)throw Error(`[ProxyFetch] Proxy required but failed (strictProxy=true): ${a.message}`);console.warn(`[ProxyFetch] Proxy failed, falling back to direct: ${a.message}`)}return f(a,b)}async function t(a,b={}){return s(a,b,null)}globalThis.fetch!==t&&(globalThis.fetch=t)},91531:(a,b,c)=>{c.r(b),c.d(b,{QoderService:()=>j,resolveProfile:()=>d.mC});var d=c(18851),e=c(89843),f=c(55511),g=c.n(f);async function h(a){return a}async function i(a,b,c={}){let d=new AbortController,e=setTimeout(()=>d.abort("timeout"),15e3);try{return await a(b,{...c,signal:d.signal},null)}finally{clearTimeout(e)}}class j{constructor(a={}){this.profile=(0,d.mC)(a.profile??null),this.machineTokenResolver=a.machineTokenResolver||h,this.fetchImpl=a.fetchImpl||e.proxyAwareFetch}generatePkcePair(){let a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",b=43+Math.floor(86*Math.random()),c=g().randomBytes(b),d="";for(let e=0;e<b;e++)d+=a[c[e]%a.length];let e=g().createHash("sha256").update(d).digest().toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");return{verifier:d,challenge:e}}async initiateDeviceFlow(){let{verifier:a,challenge:b}=this.generatePkcePair(),c=g().randomUUID(),d=g().randomUUID(),e=await this.machineTokenResolver(d)||d,f=new URLSearchParams;f.set("challenge",b),f.set("challenge_method","S256"),f.set("nonce",c),f.set("machine_id",d);let h=this.profile.deviceClientId||null,i=this.profile.deviceRedirectUri||null;if(h&&f.set("client_id",h),i&&f.set("redirect_uri",i),"cn-work"===this.profile.id&&(!h||!i))throw Error("qoder cn-work device flow requires deviceClientId and deviceRedirectUri on profile");return{verificationUriComplete:`${this.profile.loginUrl}?${f.toString()}`,codeVerifier:a,nonce:c,machineId:d,machineToken:e}}async pollDeviceToken({nonce:a,codeVerifier:b}){let c;if(!a||!b)throw Error("pollDeviceToken: missing nonce or code verifier");let d=`${this.profile.deviceTokenUrl}?nonce=${encodeURIComponent(a)}&verifier=${encodeURIComponent(b)}&challenge_method=S256`,e=await i(this.fetchImpl,d,{method:"GET",headers:{Accept:"application/json","User-Agent":"Go-http-client/2.0"}});if(202===e.status||404===e.status)return{status:"pending"};let f=await e.text();if(!e.ok){let a=`Qoder device token poll failed: HTTP ${e.status}`;try{let b=JSON.parse(f);b.message&&(a=`Qoder device token poll failed: ${b.message}`)}catch{}throw Error(a)}try{c=JSON.parse(f)}catch(a){throw Error(`Qoder device token poll: invalid JSON response (${a.message})`)}if(!c.token)throw Error("Qoder device token poll returned 200 but no token");let g=j.parseExpiry(c.expires_at,c.expires_in);return{status:"ok",accessToken:c.token,refreshToken:c.refresh_token||"",userId:c.user_id||"",expireTime:g,rawResponse:c}}async fetchUserInfo(a){try{let b=await i(this.fetchImpl,this.profile.userInfoUrl,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":"Go-http-client/2.0"}});if(!b.ok)return{name:"",email:""};let c=await b.json();return{name:(c.name||c.username||"").trim(),email:(c.email||"").trim(),organizationId:(c.organization_id||"").trim()}}catch{return{name:"",email:""}}}async refreshDeviceToken(a){if(!a)throw Error("refreshDeviceToken: missing refresh token");let b=this.profile.refreshTokenUrl;if(!b)throw Error("refreshDeviceToken: profile has no refreshTokenUrl");let c=await i(this.fetchImpl,b,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json","User-Agent":"Go-http-client/2.0"},body:JSON.stringify({refresh_token:a})}),d=await c.text(),e=null;try{e=d?JSON.parse(d):null}catch{e=null}if(!c.ok){let a=e&&(e.message||e.error_description||e.error)||`HTTP ${c.status}`,b=Error(`Qoder device token refresh failed: ${a}`);throw b.status=c.status,b.body=e,b}let f=e&&(e.device_token||e.token||e.access_token)||null,g=e&&(e.refresh_token||e.refreshToken)||a;if(!f||"string"!=typeof f)throw Error("Qoder device token refresh: missing device_token/token");let h=j.parseExpiry(e?.expires_at||e?.expiresAt,e?.expires_in??e?.expiresIn);return{accessToken:f,refreshToken:g,expiresIn:Math.max(60,Math.floor((h-Date.now())/1e3)),expireTime:h,rawResponse:e}}static parseExpiry(a,b){if("number"==typeof a&&Number.isFinite(a)&&a>0)return a;let c="string"==typeof a?a.trim():"";if(c){if(/^\d+$/.test(c)){let a=Number.parseInt(c,10);if(Number.isFinite(a)&&a>0)return a}let a=Date.parse(c);if(!Number.isNaN(a))return a}return"number"==typeof b&&Number.isFinite(b)&&b>=0?Date.now()+1e3*b:Date.now()+2592e6}}}};
1
+ "use strict";exports.id=1531,exports.ids=[290,1531,3912,6769],exports.modules={60290:(a,b,c)=>{c.d(b,{C8:()=>t,DR:()=>s,IK:()=>m,Ps:()=>h,Qn:()=>q,SA:()=>p,UH:()=>k,Uc:()=>n,Ur:()=>g,Z1:()=>j,cI:()=>r,eo:()=>o,gx:()=>d,pH:()=>l,v1:()=>e,xM:()=>i}),c(87252);let d={BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,NOT_ACCEPTABLE:406,REQUEST_TIMEOUT:408,PAYLOAD_TOO_LARGE:413,RATE_LIMITED:429,SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},e={sessionTtlMs:72e5,sessionCleanupIntervalMs:18e5,sessionAffinityMaxSize:5e3,dnsCacheTtlMs:3e5,proxyDispatchersMaxSize:20};function f(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}function g(){return{firstActionTimeoutMs:f("COMBO_RESPONSE_FIRST_ACTION_TIMEOUT_MS",5e3),maxBytes:f("COMBO_RESPONSE_PREFLIGHT_MAX_BYTES",65536)}}let h=process.env.SEARXNG_URL?.trim()||"http://localhost:8888/search",i=f("STREAM_STALL_TIMEOUT_MS",36e4),j=f("STREAM_FIRST_CHUNK_TIMEOUT_MS",3e4),k=(()=>{let a=process.env.SSE_KEEPALIVE_MS;if(null==a||""===a)return 1e4;let b=parseInt(a,10);return Number.isFinite(b)&&b>=0?b:1e4})(),l=f("FETCH_CONNECT_TIMEOUT_MS",6e4);f("RESPONSE_BODY_TIMEOUT_MS",3e5);let m=f("GEMINI_NATIVE_TTS_FETCH_TIMEOUT_MS",45e3),n=64e3,o=32e3,p="x-9router-token-saver",q={maxTokenLength:160,maxAttempts:32,headers:{requestedModel:"X-9Router-Requested-Model",routePath:"X-9Router-Route-Path",resolvedProvider:"X-9Router-Resolved-Provider",resolvedModel:"X-9Router-Resolved-Model",fallbackCount:"X-9Router-Fallback-Count",attemptedModels:"X-9Router-Attempted-Models"}},r={429:{attempts:0,delayMs:0},502:{attempts:3,delayMs:3e3},503:{attempts:3,delayMs:2e3},504:{attempts:2,delayMs:3e3}};function s(a){return null==a?{attempts:0,delayMs:2e3}:"number"==typeof a?{attempts:a,delayMs:2e3}:{attempts:a.attempts||0,delayMs:null!=a.delayMs?a.delayMs:2e3}}let t=["Please write a 5-10 word title for the following conversation:"]},87252:(a,b,c)=>{c.d(b,{Dp:()=>g,EQ:()=>f,LY:()=>d,O:()=>e,fh:()=>h,t2:()=>i});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},413:{type:"invalid_request_error",code:"context_length_exceeded"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",413:"Your input exceeds the context window of this model",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f={base:2e3,max:18e5,maxLevel:15},g=42e4,h=26784e5,i=[{text:"monthly_request_count",cooldownMs:216e5},{text:"monthly limit",cooldownMs:216e5},{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:413,fallback:!1},{status:429,backoff:!0}]},89843:(a,b,c)=>{c.d(b,{proxyAwareFetch:()=>s});var d=c(27910),e=c(60290);let f=globalThis.fetch,g=new Map,h=new Map,i=["cloudcode-pa.googleapis.com","daily-cloudcode-pa.googleapis.com","api.individual.githubcopilot.com","q.us-east-1.amazonaws.com","codewhisperer.us-east-1.amazonaws.com","api2.cursor.sh"],j=["8.8.8.8","8.8.4.4"];function k(a){return null==a?"":String(a).trim()}function l(a,b){let c=k(process.env[a]);if(!/^[1-9]\d*$/.test(c))return b;let d=Number(c);return Number.isSafeInteger(d)?d:b}async function m(a){let b=h.get(a);if(b&&Date.now()<b.expiry)return b.ip;try{let b=await Promise.resolve().then(c.t.bind(c,14985,19)),{promisify:d}=await Promise.resolve().then(c.t.bind(c,28354,19)),f=new b.Resolver;f.setServers(j);let g=d(f.resolve4.bind(f)),i=await g(a);return h.set(a,{ip:i[0],expiry:Date.now()+e.v1.dnsCacheTtlMs}),i[0]}catch(b){return console.warn(`[ProxyFetch] DNS resolve failed for ${a}:`,b.message),null}}function n(a){let b;try{b=new URL(a).hostname.toLowerCase()}catch{return!1}let c=b.startsWith("[")&&b.endsWith("]")?b.slice(1,-1):b;if("localhost"===c||c.endsWith(".localhost")||"::1"===c||"0:0:0:0:0:0:0:1"===c)return!0;let d=/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i.exec(c);if(d)return(parseInt(d[1],16)>>8&255)==127;let e=/^::ffff:(\d{1,3}(?:\.\d{1,3}){3})$/i.exec(c),f=e?e[1]:c;return/^127(?:\.\d{1,3}){3}$/.test(f)}function o(a,b){let c,d=k(b);if(!d)return!1;try{c=new URL(a).hostname.toLowerCase()}catch{return!1}return d.split(",").map(a=>a.trim().toLowerCase()).filter(Boolean).some(a=>"*"===a||(a.startsWith(".")?c.endsWith(a)||c===a.slice(1):c===a||c.endsWith(`.${a}`)))}function p(a){let b=k(a);if(!b)return null;try{return new URL(b),b}catch{return`http://${b}`}}async function q(a){let b=p(a);if(!b)return null;if(!g.has(b)){g.size>=e.v1.proxyDispatchersMaxSize&&g.delete(g.keys().next().value);let{ProxyAgent:a}=await c.e(7774).then(c.t.bind(c,47774,19)),d=l("PROXY_CONNECT_TIMEOUT_MS",9e4),f=l("PROXY_HEADERS_TIMEOUT_MS",3e5);g.set(b,new a({uri:b,connectTimeout:d,headersTimeout:f,bodyTimeout:0}))}return g.get(b)}async function r(a,b,e){let f=await Promise.resolve().then(c.t.bind(c,55591,19)),g=await Promise.resolve().then(c.t.bind(c,91645,19)),h=f.default??f,i=g.default??g;return new Promise((c,f)=>{let g=new i.Socket;g.connect(443,b,()=>{let b={socket:g,servername:a.hostname,path:a.pathname+a.search,method:e.method||"POST",headers:{...e.headers,Host:a.hostname}},i=h.request(b,a=>{let b={ok:a.statusCode>=200&&a.statusCode<300,status:a.statusCode,statusText:a.statusMessage,headers:new Map(Object.entries(a.headers)),body:d.Readable.toWeb(a),text:async()=>{let b=[];for await(let c of a)b.push(c);return Buffer.concat(b).toString()},json:async()=>JSON.parse(await b.text())};c(b)});i.on("error",f),e.body&&i.write("string"==typeof e.body?e.body:JSON.stringify(e.body)),i.end()}),g.on("error",f)})}async function s(a,b={},c=null){let d="string"==typeof a?a:a.toString(),e=k(c?.vercelRelayUrl);if(e){let a=new URL(d),c={...b.headers,"x-relay-target":`${a.protocol}//${a.host}`,"x-relay-path":`${a.pathname}${a.search}`};return f(e,{...b,headers:c})}let g=function(a,b){if(b?.enabled!==!0&&b?.connectionProxyEnabled!==!0||n(a))return null;let c=k(b?.url??b?.connectionProxyUrl);if(!c)return null;let d=k(b?.noProxy??b?.connectionNoProxy);return d&&o(a,d)?null:p(c)}(d,c),h=g?null:p(function(a){let b;if(n(a)||o(a,process.env.NO_PROXY||process.env.no_proxy))return null;try{b=new URL(a).protocol}catch{return null}return"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}(d)),j=g||h;if(function(a){try{let b=new URL(a).hostname;return i.some(a=>b.includes(a))}catch{return!1}}(d)){if(j)try{let c=await q(j);return await f(a,{...b,dispatcher:c})}catch(a){if(c?.strictProxy===!0)throw Error(`[ProxyFetch] Proxy required but failed (strictProxy=true): ${a.message}`);console.warn(`[ProxyFetch] Proxy failed, falling back to direct bypass: ${a.message}`)}try{let a=new URL(d),c=await m(a.hostname);if(c)return await r(a,c,b)}catch(a){console.warn(`[ProxyFetch] MITM bypass failed: ${a.message}`)}}if(j)try{let c=await q(j);return await f(a,{...b,dispatcher:c})}catch(a){if(c?.strictProxy===!0)throw Error(`[ProxyFetch] Proxy required but failed (strictProxy=true): ${a.message}`);console.warn(`[ProxyFetch] Proxy failed, falling back to direct: ${a.message}`)}return f(a,b)}async function t(a,b={}){return s(a,b,null)}globalThis.fetch!==t&&(globalThis.fetch=t)},91531:(a,b,c)=>{c.r(b),c.d(b,{QoderService:()=>j,resolveProfile:()=>d.mC});var d=c(18851),e=c(89843),f=c(55511),g=c.n(f);async function h(a){return a}async function i(a,b,c={}){let d=new AbortController,e=setTimeout(()=>d.abort("timeout"),15e3);try{return await a(b,{...c,signal:d.signal},null)}finally{clearTimeout(e)}}class j{constructor(a={}){this.profile=(0,d.mC)(a.profile??null),this.machineTokenResolver=a.machineTokenResolver||h,this.fetchImpl=a.fetchImpl||e.proxyAwareFetch}generatePkcePair(){let a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",b=43+Math.floor(86*Math.random()),c=g().randomBytes(b),d="";for(let e=0;e<b;e++)d+=a[c[e]%a.length];let e=g().createHash("sha256").update(d).digest().toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");return{verifier:d,challenge:e}}async initiateDeviceFlow(){let{verifier:a,challenge:b}=this.generatePkcePair(),c=g().randomUUID(),d=g().randomUUID(),e=await this.machineTokenResolver(d)||d,f=new URLSearchParams;f.set("challenge",b),f.set("challenge_method","S256"),f.set("nonce",c),f.set("machine_id",d);let h=this.profile.deviceClientId||null,i=this.profile.deviceRedirectUri||null;if(h&&f.set("client_id",h),i&&f.set("redirect_uri",i),"cn-work"===this.profile.id&&(!h||!i))throw Error("qoder cn-work device flow requires deviceClientId and deviceRedirectUri on profile");return{verificationUriComplete:`${this.profile.loginUrl}?${f.toString()}`,codeVerifier:a,nonce:c,machineId:d,machineToken:e}}async pollDeviceToken({nonce:a,codeVerifier:b}){let c;if(!a||!b)throw Error("pollDeviceToken: missing nonce or code verifier");let d=`${this.profile.deviceTokenUrl}?nonce=${encodeURIComponent(a)}&verifier=${encodeURIComponent(b)}&challenge_method=S256`,e=await i(this.fetchImpl,d,{method:"GET",headers:{Accept:"application/json","User-Agent":"Go-http-client/2.0"}});if(202===e.status||404===e.status)return{status:"pending"};let f=await e.text();if(!e.ok){let a=`Qoder device token poll failed: HTTP ${e.status}`;try{let b=JSON.parse(f);b.message&&(a=`Qoder device token poll failed: ${b.message}`)}catch{}throw Error(a)}try{c=JSON.parse(f)}catch(a){throw Error(`Qoder device token poll: invalid JSON response (${a.message})`)}if(!c.token)throw Error("Qoder device token poll returned 200 but no token");let g=j.parseExpiry(c.expires_at,c.expires_in);return{status:"ok",accessToken:c.token,refreshToken:c.refresh_token||"",userId:c.user_id||"",expireTime:g,rawResponse:c}}async fetchUserInfo(a){try{let b=await i(this.fetchImpl,this.profile.userInfoUrl,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":"Go-http-client/2.0"}});if(!b.ok)return{name:"",email:""};let c=await b.json();return{name:(c.name||c.username||"").trim(),email:(c.email||"").trim(),organizationId:(c.organization_id||"").trim()}}catch{return{name:"",email:""}}}async refreshDeviceToken(a){if(!a)throw Error("refreshDeviceToken: missing refresh token");let b=this.profile.refreshTokenUrl;if(!b)throw Error("refreshDeviceToken: profile has no refreshTokenUrl");let c=await i(this.fetchImpl,b,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json","User-Agent":"Go-http-client/2.0"},body:JSON.stringify({refresh_token:a})}),d=await c.text(),e=null;try{e=d?JSON.parse(d):null}catch{e=null}if(!c.ok){let a=e&&(e.message||e.error_description||e.error)||`HTTP ${c.status}`,b=Error(`Qoder device token refresh failed: ${a}`);throw b.status=c.status,b.body=e,b}let f=e&&(e.device_token||e.token||e.access_token)||null,g=e&&(e.refresh_token||e.refreshToken)||a;if(!f||"string"!=typeof f)throw Error("Qoder device token refresh: missing device_token/token");let h=j.parseExpiry(e?.expires_at||e?.expiresAt,e?.expires_in??e?.expiresIn);return{accessToken:f,refreshToken:g,expiresIn:Math.max(60,Math.floor((h-Date.now())/1e3)),expireTime:h,rawResponse:e}}static parseExpiry(a,b){if("number"==typeof a&&Number.isFinite(a)&&a>0)return a;let c="string"==typeof a?a.trim():"";if(c){if(/^\d+$/.test(c)){let a=Number.parseInt(c,10);if(Number.isFinite(a)&&a>0)return a}let a=Date.parse(c);if(!Number.isNaN(a))return a}return"number"==typeof b&&Number.isFinite(b)&&b>=0?Date.now()+1e3*b:Date.now()+2592e6}}}};
@@ -1 +1 @@
1
- "use strict";exports.id=1714,exports.ids=[1133,1714],exports.modules={1133:(a,b,c)=>{c.r(b),c.d(b,{configureQuotaAutoPing:()=>A,runQuotaAutoPingTick:()=>x,startQuotaAutoPing:()=>y,stopQuotaAutoPing:()=>z}),c(30369);var d=c(89718),e=c(98594),f=c(49485),g=c(47456),h=c(92675),i=c(89843),j=c(39326),k=c(83352);let l=c(30869).oc,m={claude:{getUsage:(a,b,c)=>(0,e.g)(a,c),sendPing:t},codex:{getUsage:f.Tl,getModels:f.oH,sendPing:v}},n=global.__quotaAutoPing??={interval:null,running:!1,resetCache:{},failureCache:{},pingCache:{}};function o(a){let b=new Date(a).getTime();return Number.isFinite(b)?new Date(6e4*Math.floor(b/6e4)).toISOString():a}function p(a,b=null){if("number"==typeof a&&Number.isFinite(a))return a;if("string"==typeof a&&a.trim()){let b=Number(a);if(Number.isFinite(b))return b}return b}function q(a){if(!a||!0===a.unlimited)return!1;let b=p(a.remaining);if(null!==b)return b<=0;let c=p(a.used),d=p(a.total);return null!==d&&d>0&&null!==c&&c>=d}function r(a,b,c=Date.now(),d=null){if(!b)return!1;let e=new Date(a.lastPingAt).getTime(),f=p(d,-1/0),g=Math.max(Number.isFinite(e)?e:-1/0,f);return Number.isFinite(g)&&c-g<b}function s(a,b){return Object.entries(a||{}).some(([a,c])=>a!==b&&!String(a).toLowerCase().includes("session")&&q(c))}async function t(a,b,c,d){let e=await d.proxyAwareFetch("https://api.anthropic.com/v1/messages?beta=true",{method:"POST",headers:{...h.$B,Authorization:`Bearer ${a.accessToken}`,"content-type":"application/json"},body:JSON.stringify({model:b.pingModel,max_tokens:b.pingMaxTokens,messages:[{role:"user",content:b.pingText}]})},c);if(!e.ok){try{await e.body?.cancel?.()}catch{}return!1}return await u(e),!0}async function u(a){if("function"==typeof a?.text)return void await a.text();let b=a?.body?.getReader?.();if(b)try{for(;;){let{done:a}=await b.read();if(a)return}}finally{b.releaseLock?.()}}async function v(a,b,c,d,e){let f=e.getExecutor("codex"),{response:g}=await f.execute({model:c,stream:!0,credentials:{accessToken:a.accessToken,connectionId:a.id,idToken:a.idToken,providerSpecificData:a.providerSpecificData},proxyOptions:d,log:console,body:{model:c,input:[{type:"message",role:"user",content:[{type:"input_text",text:b.pingText}]}],instructions:b.pingInstructions,reasoning:b.pingReasoningEffort?{effort:b.pingReasoningEffort,summary:"auto"}:void 0,store:!1,stream:!0}});if(!g.ok){try{await g.body?.cancel?.()}catch{}return!1}return await u(g),!0}async function w(a,b,c,d,e,f=n){var g;let h=(g=a.id,`${b}:${g}`),i=f.resetCache[h];if(!c.pingWhenResetAtSlides&&i&&Date.now()<new Date(i).getTime()-l.refreshAheadMs||function(a,b,c=Date.now()){let d=a.failureCache[b];return d&&c-d<l.failureCooldownMs}(f,h))return;let j=await e.resolveConnectionProxyConfig(a.providerSpecificData),k={connectionProxyEnabled:!0===j.connectionProxyEnabled,connectionProxyUrl:j.connectionProxyUrl||"",connectionNoProxy:j.connectionNoProxy||"",vercelRelayUrl:j.vercelRelayUrl||"",strictProxy:!1},m=a;try{m=(await e.refreshAndUpdateCredentials(m,!1,k)).connection}catch(c){f.failureCache[h]=Date.now(),console.warn(`[AutoPing] ${b}:${a.id}: refresh failed: ${c.message}`);return}let p=await d.getUsage(m.accessToken,m.providerSpecificData,k,m.idToken),t=p?.quotas||{},u=t?.[c.quotaKey],v=u?.resetAt,x=Date.now(),y=function(a,b,c,d,e,f,g){let h,i;return!0===b.pingInactiveSession&&d&&!d.resetAt&&!q(d)&&(h=Object.entries(c||{}).filter(([a])=>String(a).toLowerCase().startsWith("weekly"))).length>0&&h.every(([,a])=>!q(a))&&!s(c,b.quotaKey)&&(!(i=String(a.providerSpecificData?.proxyPoolId??"").trim())||"__none__"===i||e?.proxyUnavailable!==!0&&e?.source!=="unavailable"&&String(e?.proxyPoolId??"").trim()===i&&!!e?.proxyPool)&&!r(a,b.inactiveMinPingIntervalMs,f,g)}(m,c,t,u,j,x,f.pingCache?.[h]),z=null;if(v){if(f.resetCache[h]=v,c.skipWhenBlockingQuotaExhausted&&s(t,c.quotaKey)||q(u))return;z=o(v);let a=m.lastPingedResetKey||o(m.lastPingedResetAt);if(!function(a,b,c,d){if(a.pingWhenResetAtSlides){let d,e;return!!b&&(d=new Date(b).getTime(),e=new Date(c).getTime(),(Number.isFinite(d)&&Number.isFinite(e)?e-d:0)>=(a.resetAtDriftMs||0))}let e=new Date(c).getTime();return Number.isFinite(e)&&d>=e-l.pingLeadMs}(c,i,v,x)||r(m,c.minPingIntervalMs,x)||a===z)return}else if(!y)return;let A="codex"===b?(await d.getModels(m.accessToken,k,m.providerSpecificData))[0]?.slug:c.pingModel;if(!A){f.failureCache[h]=Date.now(),console.warn(`[AutoPing] ${b}:${m.id}: no supported model available`);return}if(!("codex"===b?await d.sendPing(m,c,A,k,e):await d.sendPing(m,c,k,e))){f.failureCache[h]=Date.now(),console.warn(`[AutoPing] ${b}:${m.id}: ping failed (${v?`reset ${v}`:"inactive session"})`);return}y&&((f.pingCache??={})[h]=Date.now()),delete f.failureCache[h],await e.updateProviderConnection(m.id,{...v?{lastPingedResetAt:v,lastPingedResetKey:z}:{},lastPingAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),y&&delete f.pingCache[h],console.log(`[AutoPing] ${b}:${m.id}: ping sent (${v?`reset ${v}`:"inactive session"})`)}async function x(a={getSettings:d.mt,getProviderConnections:d.getProviderConnections,updateProviderConnection:d.updateProviderConnection,resolveConnectionProxyConfig:j.B,refreshAndUpdateCredentials:k.refreshAndUpdateCredentials,proxyAwareFetch:i.proxyAwareFetch,getExecutor:g.SB},b=n){if(!b.running){b.running=!0;try{let d=await a.getSettings();for(let[e,f]of Object.entries(l.providers)){let g=m[e];if(!g)continue;let h=d?.[f.settingsKey]?.connections||{};if(0!==Object.keys(h).length)for(let d of(await a.getProviderConnections({provider:e,isActive:!0})).filter(a=>"oauth"===a.authType&&!0===h[a.id]))try{await w(d,e,f,g,a,b)}catch(a){var c;b.failureCache[c=d.id,`${e}:${c}`]=Date.now(),console.warn(`[AutoPing] ${e}:${d.id}: ${a.message}`)}}}catch(a){console.warn("[AutoPing] tick error:",a.message)}finally{b.running=!1}}}function y(){!n.interval&&(console.log("[AutoPing] scheduler started"),x().catch(()=>{}),n.interval=setInterval(()=>{x().catch(()=>{})},l.tickIntervalMs),n.interval.unref&&n.interval.unref())}function z(){n.interval&&(clearInterval(n.interval),n.interval=null,console.log("[AutoPing] scheduler stopped"))}function A(a){Object.values(l.providers).some(b=>Object.values(a?.[b.settingsKey]?.connections||{}).some(Boolean))?y():z()}},30869:(a,b,c)=>{c.d(b,{UY:()=>h,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,oc:()=>i});var d=c(39006),e=c(40615),f=c(81329);d.rE;let g={npmPackageName:"@rabbi696/ezrouter",installCmd:"npm i -g @rabbi696/ezrouter",installCmdLatest:"npm i -g @rabbi696/ezrouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20126},h={maxLines:200,pollIntervalMs:1e3,streamTimeoutMs:5e3},i={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingInactiveSession:!0,inactiveMinPingIntervalMs:18e6,pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"}}}},47370:(a,b,c)=>{c.d(b,{BY:()=>d.BY,E5:()=>d.E5,QB:()=>d.QB,SL:()=>d.SL,Zx:()=>d.Zx,_V:()=>d._V,j$:()=>d.j$,ox:()=>d.ox,rg:()=>d.rg,sZ:()=>d.sZ,uw:()=>d.uw,wV:()=>d.wV});var d=c(5129)},49263:(a,b,c)=>{c.d(b,{Bl:()=>k,Ib:()=>e,Qo:()=>g,S5:()=>m,hk:()=>f,kJ:()=>l});var d=c(87252);function e(a,b=Date.now()){let c;if(!a)return null;let d="string"==typeof a?a:JSON.stringify(a);if(c=d.match(/"?retry[_-]?delay"?\s*[:=]\s*"?\s*([0-9]+(?:\.[0-9]+)?)\s*s/i))return Math.round(1e3*parseFloat(c[1]));if(c=d.match(/"?(?:resets?_at|x-?ratelimit-?reset|ratelimit-?reset)"?\s*[:=]\s*"?\s*([0-9]{9,})/i)){let a=parseInt(c[1],10);a<1e12&&(a*=1e3);let d=a-b;return d>0?d:null}return(c=d.match(/"?retry[_-]?after"?\s*[:=]\s*"?\s*([0-9]+)\b/i))?1e3*parseInt(c[1],10):null}function f(a,b,c=0){let g=b?("string"==typeof b?b:JSON.stringify(b)).toLowerCase():"",h=g.includes("invalid_encrypted_content")||g.includes("encrypted content")&&(g.includes("could not be verified")||g.includes("could not be decrypted or parsed"));if(400===a&&h)return{shouldFallback:!1,cooldownMs:0};if(d.t2.find(b=>b.status===a&&!1===b.fallback))return{shouldFallback:!1,cooldownMs:0,newBackoffLevel:c};for(let f of d.t2)if(f.pattern&&g&&f.pattern.test(g)||f.text&&g&&g.includes(f.text)||f.status&&f.status===a){if(f.permanent||!1===f.fallback)return{shouldFallback:!1,cooldownMs:0};if(f.backoff){let a=Math.min(c+1,d.EQ.maxLevel);return{shouldFallback:!0,cooldownMs:function(a,b){let c=function(a=0){let b=Math.max(0,a-1);return Math.min(d.EQ.base*Math.pow(2,b),d.EQ.max)}(a),f=e(b);return null!=f&&f>0?Math.min(Math.max(f,c),d.fh):c}(a,b),newBackoffLevel:a}}return{shouldFallback:!0,cooldownMs:f.cooldownMs}}return{shouldFallback:!1,cooldownMs:0}}function g(a){if(!a)return"";let b=new Date(a).getTime()-Date.now();if(b<=0)return"reset after 0s";let c=Math.ceil(b/1e3),d=Math.floor(c/3600),e=Math.floor(c%3600/60),f=c%60,g=[];return d>0&&g.push(`${d}h`),e>0&&g.push(`${e}m`),(f>0||0===g.length)&&g.push(`${f}s`),`reset after ${g.join(" ")}`}let h="modelLock_",i=`${h}__all`;function j(a){return a?`${h}${a}`:i}function k(a,b){let c=Date.now(),d=a=>{if(!a)return!1;let b=new Date(a).getTime();return Number.isFinite(b)&&b>c};return d(a[j(b)])||d(a[i])}function l(a){if(!a)return null;let b=null,c=Date.now();for(let[d,e]of Object.entries(a)){if(!d.startsWith(h)||!e)continue;let a=new Date(e).getTime();a<=c||(!b||a<b)&&(b=a)}return b?new Date(b).toISOString():null}function m(a,b){return{[j(a)]:new Date(Date.now()+b).toISOString()}}},60290:(a,b,c)=>{c.d(b,{C8:()=>t,DR:()=>s,IK:()=>m,Ps:()=>h,Qn:()=>q,SA:()=>p,UH:()=>k,Uc:()=>n,Ur:()=>g,Z1:()=>j,cI:()=>r,eo:()=>o,gx:()=>d,pH:()=>l,v1:()=>e,xM:()=>i}),c(87252);let d={BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,NOT_ACCEPTABLE:406,REQUEST_TIMEOUT:408,PAYLOAD_TOO_LARGE:413,RATE_LIMITED:429,SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},e={sessionTtlMs:72e5,sessionCleanupIntervalMs:18e5,sessionAffinityMaxSize:5e3,dnsCacheTtlMs:3e5,proxyDispatchersMaxSize:20};function f(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}function g(){return{firstActionTimeoutMs:f("COMBO_RESPONSE_FIRST_ACTION_TIMEOUT_MS",5e3),maxBytes:f("COMBO_RESPONSE_PREFLIGHT_MAX_BYTES",65536)}}let h=process.env.SEARXNG_URL?.trim()||"http://localhost:8888/search",i=f("STREAM_STALL_TIMEOUT_MS",36e4),j=f("STREAM_FIRST_CHUNK_TIMEOUT_MS",3e4),k=(()=>{let a=process.env.SSE_KEEPALIVE_MS;if(null==a||""===a)return 1e4;let b=parseInt(a,10);return Number.isFinite(b)&&b>=0?b:1e4})(),l=f("FETCH_CONNECT_TIMEOUT_MS",6e4);f("RESPONSE_BODY_TIMEOUT_MS",3e5);let m=f("GEMINI_NATIVE_TTS_FETCH_TIMEOUT_MS",45e3),n=64e3,o=32e3,p="x-9router-token-saver",q={maxTokenLength:160,maxAttempts:32,headers:{requestedModel:"X-9Router-Requested-Model",routePath:"X-9Router-Route-Path",resolvedProvider:"X-9Router-Resolved-Provider",resolvedModel:"X-9Router-Resolved-Model",fallbackCount:"X-9Router-Fallback-Count",attemptedModels:"X-9Router-Attempted-Models"}},r={429:{attempts:0,delayMs:0},502:{attempts:3,delayMs:3e3},503:{attempts:3,delayMs:2e3},504:{attempts:2,delayMs:3e3}};function s(a){return null==a?{attempts:0,delayMs:2e3}:"number"==typeof a?{attempts:a,delayMs:2e3}:{attempts:a.attempts||0,delayMs:null!=a.delayMs?a.delayMs:2e3}}let t=["Please write a 5-10 word title for the following conversation:"]},67677:(a,b,c)=>{c.d(b,{Gh:()=>k,IF:()=>p,O9:()=>g,OF:()=>o,WL:()=>h,_6:()=>j,_L:()=>m,bC:()=>n,f5:()=>l,lm:()=>f});var d=c(19956);let e="1"===process.env.LOG_USAGE_VERBOSE,f={reset:"\x1b[0m",red:"\x1b[31m",green:"\x1b[32m",yellow:"\x1b[33m",blue:"\x1b[34m",cyan:"\x1b[36m"};function g(a){if(!a||"object"!=typeof a)return a;let b={...a};return void 0!==b.input_tokens&&(b.input_tokens+=2e3),void 0!==b.prompt_tokens&&(b.prompt_tokens+=2e3),void 0!==b.total_tokens?b.total_tokens+=2e3:void 0!==b.prompt_tokens&&void 0!==b.completion_tokens&&(b.total_tokens=b.prompt_tokens+b.completion_tokens),b}function h(a,b){if(!a||"object"!=typeof a)return a;let c={[d.h.CLAUDE]:["input_tokens","output_tokens","cache_read_input_tokens","cache_creation_input_tokens","estimated","cost_usd","cost_in_usd","cost_in_usd_ticks"],[d.h.GEMINI]:["promptTokenCount","candidatesTokenCount","totalTokenCount","cachedContentTokenCount","thoughtsTokenCount","estimated","cost_usd","cost_in_usd","cost_in_usd_ticks"],[d.h.OPENAI_RESPONSES]:["input_tokens","output_tokens","input_tokens_details","output_tokens_details","estimated","cost_usd","cost_in_usd","cost_in_usd_ticks"],default:["prompt_tokens","completion_tokens","total_tokens","cached_tokens","reasoning_tokens","prompt_tokens_details","completion_tokens_details","estimated","cost_usd","cost_in_usd","cost_in_usd_ticks"]},e=c[b];b===d.h.GEMINI_CLI||b===d.h.ANTIGRAVITY?e=c[d.h.GEMINI]:b===d.h.OPENAI_RESPONSE?e=c[d.h.OPENAI_RESPONSES]:e||(e=c.default);let f={};for(let b of e)void 0!==a[b]&&(f[b]=a[b]);return f}function i(a){if(!a||"object"!=typeof a||Array.isArray(a))return null;let b={},c=(a,c)=>{if(null==c)return;let d=Number(c);Number.isFinite(d)&&(b[a]=d)},d=(a,c)=>{if(null==c||""===c)return;let d=Number(c);Number.isFinite(d)&&d>=0&&(b[a]=d)};return(c("prompt_tokens",a?.prompt_tokens),c("completion_tokens",a?.completion_tokens),c("total_tokens",a?.total_tokens),c("cache_read_input_tokens",a?.cache_read_input_tokens),c("cache_creation_input_tokens",a?.cache_creation_input_tokens),c("cached_tokens",a?.cached_tokens),c("reasoning_tokens",a?.reasoning_tokens),d("cost_usd",a?.cost_usd),d("cost_in_usd",a?.cost_in_usd),d("cost_in_usd_ticks",a?.cost_in_usd_ticks),a?.prompt_tokens_details&&"object"==typeof a.prompt_tokens_details&&(b.prompt_tokens_details=a.prompt_tokens_details),a?.completion_tokens_details&&"object"==typeof a.completion_tokens_details&&(b.completion_tokens_details=a.completion_tokens_details),0===Object.keys(b).length)?null:b}function j(a){let b;if(!a||"object"!=typeof a||Array.isArray(a))return null;let c=a=>Number.isFinite(Number(a))?Number(a):0,d=c(a.completion_tokens??a.output_tokens),e=c(a.reasoning_tokens),f=c(a.cache_creation_input_tokens??a.prompt_tokens_details?.cache_creation_tokens),g=c(a.prompt_tokens??a.input_tokens);void 0===a.cached_tokens&&(void 0!==a.cache_read_input_tokens||void 0!==a.cache_creation_input_tokens)?g=g+(b=c(a.cache_read_input_tokens))+f:b=c(a.cached_tokens??a.prompt_tokens_details?.cached_tokens);let h={prompt_tokens:g,completion_tokens:d,total_tokens:g+d,cached_tokens:b,cache_creation_input_tokens:f},i=b=>{if(null===a[b]||void 0===a[b]||""===a[b])return;let c=Number(a[b]);Number.isFinite(c)&&c>=0&&(h[b]=c)};return i("cost_usd"),i("cost_in_usd"),i("cost_in_usd_ticks"),e>0&&(h.reasoning_tokens=e),h}function k(a){if(!a||"object"!=typeof a)return!1;for(let b of["prompt_tokens","completion_tokens","total_tokens","input_tokens","output_tokens","promptTokenCount","candidatesTokenCount"])if("number"==typeof a[b]&&a[b]>0)return!0;return!1}function l(a){if(!a||"object"!=typeof a)return null;if("message_start"===a.type&&a.message?.usage&&"object"==typeof a.message.usage){let b=a.message.usage;return i({prompt_tokens:b.input_tokens||0,completion_tokens:b.output_tokens||0,cache_read_input_tokens:b.cache_read_input_tokens,cache_creation_input_tokens:b.cache_creation_input_tokens,cost_usd:b.cost_usd,cost_in_usd:b.cost_in_usd,cost_in_usd_ticks:b.cost_in_usd_ticks})}if("message_delta"===a.type&&a.usage&&"object"==typeof a.usage)return i({prompt_tokens:a.usage.input_tokens||0,completion_tokens:a.usage.output_tokens||0,cache_read_input_tokens:a.usage.cache_read_input_tokens,cache_creation_input_tokens:a.usage.cache_creation_input_tokens,cost_usd:a.usage.cost_usd,cost_in_usd:a.usage.cost_in_usd,cost_in_usd_ticks:a.usage.cost_in_usd_ticks});if(("response.completed"===a.type||"response.done"===a.type)&&a.response?.usage&&"object"==typeof a.response.usage){let b=a.response.usage,c=b.input_tokens_details?.cached_tokens;return i({prompt_tokens:b.input_tokens||b.prompt_tokens||0,completion_tokens:b.output_tokens||b.completion_tokens||0,cached_tokens:c,reasoning_tokens:b.output_tokens_details?.reasoning_tokens,cost_usd:b.cost_usd,cost_in_usd:b.cost_in_usd,cost_in_usd_ticks:b.cost_in_usd_ticks,prompt_tokens_details:c?{cached_tokens:c}:void 0})}if(a.usage&&"object"==typeof a.usage&&void 0!==a.usage.prompt_tokens)return i({prompt_tokens:a.usage.prompt_tokens,completion_tokens:a.usage.completion_tokens||0,cached_tokens:a.usage.prompt_tokens_details?.cached_tokens||a.usage.prompt_cache_hit_tokens,reasoning_tokens:a.usage.completion_tokens_details?.reasoning_tokens,cost_usd:a.usage.cost_usd,cost_in_usd:a.usage.cost_in_usd,cost_in_usd_ticks:a.usage.cost_in_usd_ticks,prompt_tokens_details:a.usage.prompt_tokens_details,completion_tokens_details:a.usage.completion_tokens_details});let b=a.usageMetadata||a.response?.usageMetadata;return b&&"object"==typeof b?i({prompt_tokens:b.promptTokenCount||0,completion_tokens:b.candidatesTokenCount||0,total_tokens:b.totalTokenCount,cached_tokens:b.cachedContentTokenCount,reasoning_tokens:b.thoughtsTokenCount}):!0===a.done&&"number"==typeof a.prompt_eval_count?i({prompt_tokens:a.prompt_eval_count||0,completion_tokens:a.eval_count||0,total_tokens:(a.prompt_eval_count||0)+(a.eval_count||0)}):null}function m(a,b){if(!a)return b||null;if(!b)return a;let c={...a};for(let[a,d]of Object.entries(b))"number"==typeof d&&Number.isFinite(d)?c[a]=Math.max("number"==typeof c[a]?c[a]:0,d):d&&"object"==typeof d&&(c[a]=d);return c}function n(a){if(!a||"object"!=typeof a)return 0;try{let b=JSON.stringify(a).length;return Math.ceil(b/4)}catch(a){return 0}}function o(a,b,c=d.h.OPENAI){var e,f;return e=n(a),f=b&&!(b<=0)?Math.max(1,Math.floor(b/4)):0,c===d.h.CLAUDE?g({input_tokens:e,output_tokens:f,estimated:!0}):g({prompt_tokens:e,completion_tokens:f,total_tokens:e+f,estimated:!0})}function p(a,b,c=null,d=null,g=null){if(!b||"object"!=typeof b||!e)return;let h=a?.toUpperCase()||"UNKNOWN",i=b?.prompt_tokens||b?.input_tokens||0,j=b?.completion_tokens||b?.output_tokens||0,k=d?d.slice(0,8)+"...":"unknown",l=`[${new Date().toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"})}] 📊 ${f.green}[USAGE] ${h} | in=${i} | out=${j} | account=${k}${f.reset}`;b.estimated&&(l+=` ${f.yellow}(estimated)${f.reset}`);let m=b.cache_read_input_tokens||b.cached_tokens||b.prompt_tokens_details?.cached_tokens;m&&(l+=` | cache_read=${m}`);let n=b.cache_creation_input_tokens;n&&(l+=` | cache_create=${n}`);let o=b.reasoning_tokens;o&&(l+=` | reasoning=${o}`),console.log(l)}},87252:(a,b,c)=>{c.d(b,{Dp:()=>g,EQ:()=>f,LY:()=>d,O:()=>e,fh:()=>h,t2:()=>i});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},413:{type:"invalid_request_error",code:"context_length_exceeded"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",413:"Your input exceeds the context window of this model",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f={base:2e3,max:18e5,maxLevel:15},g=42e4,h=26784e5,i=[{text:"monthly_request_count",cooldownMs:216e5},{text:"monthly limit",cooldownMs:216e5},{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:413,fallback:!1},{status:429,backoff:!0}]},89865:(a,b,c)=>{c.d(b,{A1:()=>h,lR:()=>j,wO:()=>i,yj:()=>f,zL:()=>g});var d=c(87252),e=c(60290);function f(a,b,c){let e;return new Response(JSON.stringify((e=d.LY[a]||(a>=500?{type:"server_error",code:"internal_server_error"}:{type:"invalid_request_error",code:""}),{error:{message:b||d.O[a]||"An error occurred",type:e.type,code:c??e.code}})),{status:a,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}async function g(a,b=null){let c,f="";try{f=await a.text()}catch{f=""}let h="",i=null,j=!1;try{let a=JSON.parse(f);if(h=a.error?.message||a.message||a.error||f,c=a.error?.code||a.code,i=a.error?.metadata?.provider_name||null,"string"==typeof h){let a=/^Invalid URL:\s*(.*)$/.exec(h);a&&(j=""===a[1].trim())}}catch{h=f}let k="string"==typeof h?h:JSON.stringify(h);if((i||j)&&(a.status===e.gx.BAD_GATEWAY||a.status===e.gx.SERVER_ERROR||502===a.status||500===a.status)){let a=i?`OpenRouter upstream "${i}" returned an invalid routing URL — its endpoint is misconfigured on OpenRouter's side`:"Upstream returned an invalid (empty) routing URL";k=`${k} — ${a}. Try a different model, or set \`provider: { allow_fallbacks: true }\` to opt into OpenRouter's automatic upstream fallback.`}let l=k||d.O[a.status]||`Upstream error: ${a.status}`;if(b&&"function"==typeof b.parseError)try{let d=b.parseError(a,f);if(d&&"object"==typeof d){let b=d.message&&d.message!==f?d.message:l;return{statusCode:d.status||a.status,message:b,resetsAtMs:d.resetsAtMs,code:d.code??c}}}catch{}return{statusCode:a.status,message:l,code:c}}function h(a,b,c,d){return{success:!1,status:a,error:b,resetsAtMs:c,response:f(a,b,d)}}function i(a,b,c,d){let e=Math.max(Math.ceil((new Date(c).getTime()-Date.now())/1e3),1);return new Response(JSON.stringify({error:{message:`${b} (${d})`}}),{status:a,headers:{"Content-Type":"application/json","Retry-After":String(e)}})}function j(a,b,c,d){let e=d||a.code||"FETCH_FAILED",f=a.message||"Unknown error",g=a.cause?.code,h=a.cause?.message,i=g||h?` (cause: ${[g,h].filter(Boolean).join(": ")})`:"";return`[${e}]: ${f}${i}`}}};
1
+ "use strict";exports.id=1714,exports.ids=[290,1133,1714],exports.modules={1133:(a,b,c)=>{c.r(b),c.d(b,{configureQuotaAutoPing:()=>A,runQuotaAutoPingTick:()=>x,startQuotaAutoPing:()=>y,stopQuotaAutoPing:()=>z}),c(30369);var d=c(89718),e=c(98594),f=c(49485),g=c(97438),h=c(92675),i=c(89843),j=c(39326),k=c(83352);let l=c(30869).oc,m={claude:{getUsage:(a,b,c)=>(0,e.g)(a,c),sendPing:t},codex:{getUsage:f.Tl,getModels:f.oH,sendPing:v}},n=global.__quotaAutoPing??={interval:null,running:!1,resetCache:{},failureCache:{},pingCache:{}};function o(a){let b=new Date(a).getTime();return Number.isFinite(b)?new Date(6e4*Math.floor(b/6e4)).toISOString():a}function p(a,b=null){if("number"==typeof a&&Number.isFinite(a))return a;if("string"==typeof a&&a.trim()){let b=Number(a);if(Number.isFinite(b))return b}return b}function q(a){if(!a||!0===a.unlimited)return!1;let b=p(a.remaining);if(null!==b)return b<=0;let c=p(a.used),d=p(a.total);return null!==d&&d>0&&null!==c&&c>=d}function r(a,b,c=Date.now(),d=null){if(!b)return!1;let e=new Date(a.lastPingAt).getTime(),f=p(d,-1/0),g=Math.max(Number.isFinite(e)?e:-1/0,f);return Number.isFinite(g)&&c-g<b}function s(a,b){return Object.entries(a||{}).some(([a,c])=>a!==b&&!String(a).toLowerCase().includes("session")&&q(c))}async function t(a,b,c,d){let e=await d.proxyAwareFetch("https://api.anthropic.com/v1/messages?beta=true",{method:"POST",headers:{...h.$B,Authorization:`Bearer ${a.accessToken}`,"content-type":"application/json"},body:JSON.stringify({model:b.pingModel,max_tokens:b.pingMaxTokens,messages:[{role:"user",content:b.pingText}]})},c);if(!e.ok){try{await e.body?.cancel?.()}catch{}return!1}return await u(e),!0}async function u(a){if("function"==typeof a?.text)return void await a.text();let b=a?.body?.getReader?.();if(b)try{for(;;){let{done:a}=await b.read();if(a)return}}finally{b.releaseLock?.()}}async function v(a,b,c,d,e){let f=e.getExecutor("codex"),{response:g}=await f.execute({model:c,stream:!0,credentials:{accessToken:a.accessToken,connectionId:a.id,idToken:a.idToken,providerSpecificData:a.providerSpecificData},proxyOptions:d,log:console,body:{model:c,input:[{type:"message",role:"user",content:[{type:"input_text",text:b.pingText}]}],instructions:b.pingInstructions,reasoning:b.pingReasoningEffort?{effort:b.pingReasoningEffort,summary:"auto"}:void 0,store:!1,stream:!0}});if(!g.ok){try{await g.body?.cancel?.()}catch{}return!1}return await u(g),!0}async function w(a,b,c,d,e,f=n){var g;let h=(g=a.id,`${b}:${g}`),i=f.resetCache[h];if(!c.pingWhenResetAtSlides&&i&&Date.now()<new Date(i).getTime()-l.refreshAheadMs||function(a,b,c=Date.now()){let d=a.failureCache[b];return d&&c-d<l.failureCooldownMs}(f,h))return;let j=await e.resolveConnectionProxyConfig(a.providerSpecificData),k={connectionProxyEnabled:!0===j.connectionProxyEnabled,connectionProxyUrl:j.connectionProxyUrl||"",connectionNoProxy:j.connectionNoProxy||"",vercelRelayUrl:j.vercelRelayUrl||"",strictProxy:!1},m=a;try{m=(await e.refreshAndUpdateCredentials(m,!1,k)).connection}catch(c){f.failureCache[h]=Date.now(),console.warn(`[AutoPing] ${b}:${a.id}: refresh failed: ${c.message}`);return}let p=await d.getUsage(m.accessToken,m.providerSpecificData,k,m.idToken),t=p?.quotas||{},u=t?.[c.quotaKey],v=u?.resetAt,x=Date.now(),y=function(a,b,c,d,e,f,g){let h,i;return!0===b.pingInactiveSession&&d&&!d.resetAt&&!q(d)&&(h=Object.entries(c||{}).filter(([a])=>String(a).toLowerCase().startsWith("weekly"))).length>0&&h.every(([,a])=>!q(a))&&!s(c,b.quotaKey)&&(!(i=String(a.providerSpecificData?.proxyPoolId??"").trim())||"__none__"===i||e?.proxyUnavailable!==!0&&e?.source!=="unavailable"&&String(e?.proxyPoolId??"").trim()===i&&!!e?.proxyPool)&&!r(a,b.inactiveMinPingIntervalMs,f,g)}(m,c,t,u,j,x,f.pingCache?.[h]),z=null;if(v){if(f.resetCache[h]=v,c.skipWhenBlockingQuotaExhausted&&s(t,c.quotaKey)||q(u))return;z=o(v);let a=m.lastPingedResetKey||o(m.lastPingedResetAt);if(!function(a,b,c,d){if(a.pingWhenResetAtSlides){let d,e;return!!b&&(d=new Date(b).getTime(),e=new Date(c).getTime(),(Number.isFinite(d)&&Number.isFinite(e)?e-d:0)>=(a.resetAtDriftMs||0))}let e=new Date(c).getTime();return Number.isFinite(e)&&d>=e-l.pingLeadMs}(c,i,v,x)||r(m,c.minPingIntervalMs,x)||a===z)return}else if(!y)return;let A="codex"===b?(await d.getModels(m.accessToken,k,m.providerSpecificData))[0]?.slug:c.pingModel;if(!A){f.failureCache[h]=Date.now(),console.warn(`[AutoPing] ${b}:${m.id}: no supported model available`);return}if(!("codex"===b?await d.sendPing(m,c,A,k,e):await d.sendPing(m,c,k,e))){f.failureCache[h]=Date.now(),console.warn(`[AutoPing] ${b}:${m.id}: ping failed (${v?`reset ${v}`:"inactive session"})`);return}y&&((f.pingCache??={})[h]=Date.now()),delete f.failureCache[h],await e.updateProviderConnection(m.id,{...v?{lastPingedResetAt:v,lastPingedResetKey:z}:{},lastPingAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),y&&delete f.pingCache[h],console.log(`[AutoPing] ${b}:${m.id}: ping sent (${v?`reset ${v}`:"inactive session"})`)}async function x(a={getSettings:d.mt,getProviderConnections:d.getProviderConnections,updateProviderConnection:d.updateProviderConnection,resolveConnectionProxyConfig:j.B,refreshAndUpdateCredentials:k.refreshAndUpdateCredentials,proxyAwareFetch:i.proxyAwareFetch,getExecutor:g.SB},b=n){if(!b.running){b.running=!0;try{let d=await a.getSettings();for(let[e,f]of Object.entries(l.providers)){let g=m[e];if(!g)continue;let h=d?.[f.settingsKey]?.connections||{};if(0!==Object.keys(h).length)for(let d of(await a.getProviderConnections({provider:e,isActive:!0})).filter(a=>"oauth"===a.authType&&!0===h[a.id]))try{await w(d,e,f,g,a,b)}catch(a){var c;b.failureCache[c=d.id,`${e}:${c}`]=Date.now(),console.warn(`[AutoPing] ${e}:${d.id}: ${a.message}`)}}}catch(a){console.warn("[AutoPing] tick error:",a.message)}finally{b.running=!1}}}function y(){!n.interval&&(console.log("[AutoPing] scheduler started"),x().catch(()=>{}),n.interval=setInterval(()=>{x().catch(()=>{})},l.tickIntervalMs),n.interval.unref&&n.interval.unref())}function z(){n.interval&&(clearInterval(n.interval),n.interval=null,console.log("[AutoPing] scheduler stopped"))}function A(a){Object.values(l.providers).some(b=>Object.values(a?.[b.settingsKey]?.connections||{}).some(Boolean))?y():z()}},30869:(a,b,c)=>{c.d(b,{UY:()=>h,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,oc:()=>i});var d=c(39006),e=c(40615),f=c(81329);d.rE;let g={npmPackageName:"@rabbi696/ezrouter",installCmd:"npm i -g @rabbi696/ezrouter",installCmdLatest:"npm i -g @rabbi696/ezrouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20126},h={maxLines:200,pollIntervalMs:1e3,streamTimeoutMs:5e3},i={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingInactiveSession:!0,inactiveMinPingIntervalMs:18e6,pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"}}}},47370:(a,b,c)=>{c.d(b,{BY:()=>d.BY,E5:()=>d.E5,QB:()=>d.QB,SL:()=>d.SL,Zx:()=>d.Zx,_V:()=>d._V,j$:()=>d.j$,ox:()=>d.ox,rg:()=>d.rg,sZ:()=>d.sZ,uw:()=>d.uw,wV:()=>d.wV});var d=c(5129)},49263:(a,b,c)=>{c.d(b,{Bl:()=>k,Ib:()=>e,Qo:()=>g,S5:()=>m,hk:()=>f,kJ:()=>l});var d=c(87252);function e(a,b=Date.now()){let c;if(!a)return null;let d="string"==typeof a?a:JSON.stringify(a);if(c=d.match(/"?retry[_-]?delay"?\s*[:=]\s*"?\s*([0-9]+(?:\.[0-9]+)?)\s*s/i))return Math.round(1e3*parseFloat(c[1]));if(c=d.match(/"?(?:resets?_at|x-?ratelimit-?reset|ratelimit-?reset)"?\s*[:=]\s*"?\s*([0-9]{9,})/i)){let a=parseInt(c[1],10);a<1e12&&(a*=1e3);let d=a-b;return d>0?d:null}return(c=d.match(/"?retry[_-]?after"?\s*[:=]\s*"?\s*([0-9]+)\b/i))?1e3*parseInt(c[1],10):null}function f(a,b,c=0){let g=b?("string"==typeof b?b:JSON.stringify(b)).toLowerCase():"",h=g.includes("invalid_encrypted_content")||g.includes("encrypted content")&&(g.includes("could not be verified")||g.includes("could not be decrypted or parsed"));if(400===a&&h)return{shouldFallback:!1,cooldownMs:0};if(d.t2.find(b=>b.status===a&&!1===b.fallback))return{shouldFallback:!1,cooldownMs:0,newBackoffLevel:c};for(let f of d.t2)if(f.pattern&&g&&f.pattern.test(g)||f.text&&g&&g.includes(f.text)||f.status&&f.status===a){if(f.permanent||!1===f.fallback)return{shouldFallback:!1,cooldownMs:0};if(f.backoff){let a=Math.min(c+1,d.EQ.maxLevel);return{shouldFallback:!0,cooldownMs:function(a,b){let c=function(a=0){let b=Math.max(0,a-1);return Math.min(d.EQ.base*Math.pow(2,b),d.EQ.max)}(a),f=e(b);return null!=f&&f>0?Math.min(Math.max(f,c),d.fh):c}(a,b),newBackoffLevel:a}}return{shouldFallback:!0,cooldownMs:f.cooldownMs}}return{shouldFallback:!1,cooldownMs:0}}function g(a){if(!a)return"";let b=new Date(a).getTime()-Date.now();if(b<=0)return"reset after 0s";let c=Math.ceil(b/1e3),d=Math.floor(c/3600),e=Math.floor(c%3600/60),f=c%60,g=[];return d>0&&g.push(`${d}h`),e>0&&g.push(`${e}m`),(f>0||0===g.length)&&g.push(`${f}s`),`reset after ${g.join(" ")}`}let h="modelLock_",i=`${h}__all`;function j(a){return a?`${h}${a}`:i}function k(a,b){let c=Date.now(),d=a=>{if(!a)return!1;let b=new Date(a).getTime();return Number.isFinite(b)&&b>c};return d(a[j(b)])||d(a[i])}function l(a){if(!a)return null;let b=null,c=Date.now();for(let[d,e]of Object.entries(a)){if(!d.startsWith(h)||!e)continue;let a=new Date(e).getTime();a<=c||(!b||a<b)&&(b=a)}return b?new Date(b).toISOString():null}function m(a,b){return{[j(a)]:new Date(Date.now()+b).toISOString()}}},60290:(a,b,c)=>{c.d(b,{C8:()=>t,DR:()=>s,IK:()=>m,Ps:()=>h,Qn:()=>q,SA:()=>p,UH:()=>k,Uc:()=>n,Ur:()=>g,Z1:()=>j,cI:()=>r,eo:()=>o,gx:()=>d,pH:()=>l,v1:()=>e,xM:()=>i}),c(87252);let d={BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,NOT_ACCEPTABLE:406,REQUEST_TIMEOUT:408,PAYLOAD_TOO_LARGE:413,RATE_LIMITED:429,SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},e={sessionTtlMs:72e5,sessionCleanupIntervalMs:18e5,sessionAffinityMaxSize:5e3,dnsCacheTtlMs:3e5,proxyDispatchersMaxSize:20};function f(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}function g(){return{firstActionTimeoutMs:f("COMBO_RESPONSE_FIRST_ACTION_TIMEOUT_MS",5e3),maxBytes:f("COMBO_RESPONSE_PREFLIGHT_MAX_BYTES",65536)}}let h=process.env.SEARXNG_URL?.trim()||"http://localhost:8888/search",i=f("STREAM_STALL_TIMEOUT_MS",36e4),j=f("STREAM_FIRST_CHUNK_TIMEOUT_MS",3e4),k=(()=>{let a=process.env.SSE_KEEPALIVE_MS;if(null==a||""===a)return 1e4;let b=parseInt(a,10);return Number.isFinite(b)&&b>=0?b:1e4})(),l=f("FETCH_CONNECT_TIMEOUT_MS",6e4);f("RESPONSE_BODY_TIMEOUT_MS",3e5);let m=f("GEMINI_NATIVE_TTS_FETCH_TIMEOUT_MS",45e3),n=64e3,o=32e3,p="x-9router-token-saver",q={maxTokenLength:160,maxAttempts:32,headers:{requestedModel:"X-9Router-Requested-Model",routePath:"X-9Router-Route-Path",resolvedProvider:"X-9Router-Resolved-Provider",resolvedModel:"X-9Router-Resolved-Model",fallbackCount:"X-9Router-Fallback-Count",attemptedModels:"X-9Router-Attempted-Models"}},r={429:{attempts:0,delayMs:0},502:{attempts:3,delayMs:3e3},503:{attempts:3,delayMs:2e3},504:{attempts:2,delayMs:3e3}};function s(a){return null==a?{attempts:0,delayMs:2e3}:"number"==typeof a?{attempts:a,delayMs:2e3}:{attempts:a.attempts||0,delayMs:null!=a.delayMs?a.delayMs:2e3}}let t=["Please write a 5-10 word title for the following conversation:"]},67677:(a,b,c)=>{c.d(b,{Gh:()=>k,IF:()=>p,O9:()=>g,OF:()=>o,WL:()=>h,_6:()=>j,_L:()=>m,bC:()=>n,f5:()=>l,lm:()=>f});var d=c(19956);let e="1"===process.env.LOG_USAGE_VERBOSE,f={reset:"\x1b[0m",red:"\x1b[31m",green:"\x1b[32m",yellow:"\x1b[33m",blue:"\x1b[34m",cyan:"\x1b[36m"};function g(a){if(!a||"object"!=typeof a)return a;let b={...a};return void 0!==b.input_tokens&&(b.input_tokens+=2e3),void 0!==b.prompt_tokens&&(b.prompt_tokens+=2e3),void 0!==b.total_tokens?b.total_tokens+=2e3:void 0!==b.prompt_tokens&&void 0!==b.completion_tokens&&(b.total_tokens=b.prompt_tokens+b.completion_tokens),b}function h(a,b){if(!a||"object"!=typeof a)return a;let c={[d.h.CLAUDE]:["input_tokens","output_tokens","cache_read_input_tokens","cache_creation_input_tokens","estimated","cost_usd","cost_in_usd","cost_in_usd_ticks"],[d.h.GEMINI]:["promptTokenCount","candidatesTokenCount","totalTokenCount","cachedContentTokenCount","thoughtsTokenCount","estimated","cost_usd","cost_in_usd","cost_in_usd_ticks"],[d.h.OPENAI_RESPONSES]:["input_tokens","output_tokens","input_tokens_details","output_tokens_details","estimated","cost_usd","cost_in_usd","cost_in_usd_ticks"],default:["prompt_tokens","completion_tokens","total_tokens","cached_tokens","reasoning_tokens","prompt_tokens_details","completion_tokens_details","estimated","cost_usd","cost_in_usd","cost_in_usd_ticks"]},e=c[b];b===d.h.GEMINI_CLI||b===d.h.ANTIGRAVITY?e=c[d.h.GEMINI]:b===d.h.OPENAI_RESPONSE?e=c[d.h.OPENAI_RESPONSES]:e||(e=c.default);let f={};for(let b of e)void 0!==a[b]&&(f[b]=a[b]);return f}function i(a){if(!a||"object"!=typeof a||Array.isArray(a))return null;let b={},c=(a,c)=>{if(null==c)return;let d=Number(c);Number.isFinite(d)&&(b[a]=d)},d=(a,c)=>{if(null==c||""===c)return;let d=Number(c);Number.isFinite(d)&&d>=0&&(b[a]=d)};return(c("prompt_tokens",a?.prompt_tokens),c("completion_tokens",a?.completion_tokens),c("total_tokens",a?.total_tokens),c("cache_read_input_tokens",a?.cache_read_input_tokens),c("cache_creation_input_tokens",a?.cache_creation_input_tokens),c("cached_tokens",a?.cached_tokens),c("reasoning_tokens",a?.reasoning_tokens),d("cost_usd",a?.cost_usd),d("cost_in_usd",a?.cost_in_usd),d("cost_in_usd_ticks",a?.cost_in_usd_ticks),a?.prompt_tokens_details&&"object"==typeof a.prompt_tokens_details&&(b.prompt_tokens_details=a.prompt_tokens_details),a?.completion_tokens_details&&"object"==typeof a.completion_tokens_details&&(b.completion_tokens_details=a.completion_tokens_details),0===Object.keys(b).length)?null:b}function j(a){let b;if(!a||"object"!=typeof a||Array.isArray(a))return null;let c=a=>Number.isFinite(Number(a))?Number(a):0,d=c(a.completion_tokens??a.output_tokens),e=c(a.reasoning_tokens),f=c(a.cache_creation_input_tokens??a.prompt_tokens_details?.cache_creation_tokens),g=c(a.prompt_tokens??a.input_tokens);void 0===a.cached_tokens&&(void 0!==a.cache_read_input_tokens||void 0!==a.cache_creation_input_tokens)?g=g+(b=c(a.cache_read_input_tokens))+f:b=c(a.cached_tokens??a.prompt_tokens_details?.cached_tokens);let h={prompt_tokens:g,completion_tokens:d,total_tokens:g+d,cached_tokens:b,cache_creation_input_tokens:f},i=b=>{if(null===a[b]||void 0===a[b]||""===a[b])return;let c=Number(a[b]);Number.isFinite(c)&&c>=0&&(h[b]=c)};return i("cost_usd"),i("cost_in_usd"),i("cost_in_usd_ticks"),e>0&&(h.reasoning_tokens=e),h}function k(a){if(!a||"object"!=typeof a)return!1;for(let b of["prompt_tokens","completion_tokens","total_tokens","input_tokens","output_tokens","promptTokenCount","candidatesTokenCount"])if("number"==typeof a[b]&&a[b]>0)return!0;return!1}function l(a){if(!a||"object"!=typeof a)return null;if("message_start"===a.type&&a.message?.usage&&"object"==typeof a.message.usage){let b=a.message.usage;return i({prompt_tokens:b.input_tokens||0,completion_tokens:b.output_tokens||0,cache_read_input_tokens:b.cache_read_input_tokens,cache_creation_input_tokens:b.cache_creation_input_tokens,cost_usd:b.cost_usd,cost_in_usd:b.cost_in_usd,cost_in_usd_ticks:b.cost_in_usd_ticks})}if("message_delta"===a.type&&a.usage&&"object"==typeof a.usage)return i({prompt_tokens:a.usage.input_tokens||0,completion_tokens:a.usage.output_tokens||0,cache_read_input_tokens:a.usage.cache_read_input_tokens,cache_creation_input_tokens:a.usage.cache_creation_input_tokens,cost_usd:a.usage.cost_usd,cost_in_usd:a.usage.cost_in_usd,cost_in_usd_ticks:a.usage.cost_in_usd_ticks});if(("response.completed"===a.type||"response.done"===a.type)&&a.response?.usage&&"object"==typeof a.response.usage){let b=a.response.usage,c=b.input_tokens_details?.cached_tokens;return i({prompt_tokens:b.input_tokens||b.prompt_tokens||0,completion_tokens:b.output_tokens||b.completion_tokens||0,cached_tokens:c,reasoning_tokens:b.output_tokens_details?.reasoning_tokens,cost_usd:b.cost_usd,cost_in_usd:b.cost_in_usd,cost_in_usd_ticks:b.cost_in_usd_ticks,prompt_tokens_details:c?{cached_tokens:c}:void 0})}if(a.usage&&"object"==typeof a.usage&&void 0!==a.usage.prompt_tokens)return i({prompt_tokens:a.usage.prompt_tokens,completion_tokens:a.usage.completion_tokens||0,cached_tokens:a.usage.prompt_tokens_details?.cached_tokens||a.usage.prompt_cache_hit_tokens,reasoning_tokens:a.usage.completion_tokens_details?.reasoning_tokens,cost_usd:a.usage.cost_usd,cost_in_usd:a.usage.cost_in_usd,cost_in_usd_ticks:a.usage.cost_in_usd_ticks,prompt_tokens_details:a.usage.prompt_tokens_details,completion_tokens_details:a.usage.completion_tokens_details});let b=a.usageMetadata||a.response?.usageMetadata;return b&&"object"==typeof b?i({prompt_tokens:b.promptTokenCount||0,completion_tokens:b.candidatesTokenCount||0,total_tokens:b.totalTokenCount,cached_tokens:b.cachedContentTokenCount,reasoning_tokens:b.thoughtsTokenCount}):!0===a.done&&"number"==typeof a.prompt_eval_count?i({prompt_tokens:a.prompt_eval_count||0,completion_tokens:a.eval_count||0,total_tokens:(a.prompt_eval_count||0)+(a.eval_count||0)}):null}function m(a,b){if(!a)return b||null;if(!b)return a;let c={...a};for(let[a,d]of Object.entries(b))"number"==typeof d&&Number.isFinite(d)?c[a]=Math.max("number"==typeof c[a]?c[a]:0,d):d&&"object"==typeof d&&(c[a]=d);return c}function n(a){if(!a||"object"!=typeof a)return 0;try{let b=JSON.stringify(a).length;return Math.ceil(b/4)}catch(a){return 0}}function o(a,b,c=d.h.OPENAI){var e,f;return e=n(a),f=b&&!(b<=0)?Math.max(1,Math.floor(b/4)):0,c===d.h.CLAUDE?g({input_tokens:e,output_tokens:f,estimated:!0}):g({prompt_tokens:e,completion_tokens:f,total_tokens:e+f,estimated:!0})}function p(a,b,c=null,d=null,g=null){if(!b||"object"!=typeof b||!e)return;let h=a?.toUpperCase()||"UNKNOWN",i=b?.prompt_tokens||b?.input_tokens||0,j=b?.completion_tokens||b?.output_tokens||0,k=d?d.slice(0,8)+"...":"unknown",l=`[${new Date().toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"})}] 📊 ${f.green}[USAGE] ${h} | in=${i} | out=${j} | account=${k}${f.reset}`;b.estimated&&(l+=` ${f.yellow}(estimated)${f.reset}`);let m=b.cache_read_input_tokens||b.cached_tokens||b.prompt_tokens_details?.cached_tokens;m&&(l+=` | cache_read=${m}`);let n=b.cache_creation_input_tokens;n&&(l+=` | cache_create=${n}`);let o=b.reasoning_tokens;o&&(l+=` | reasoning=${o}`),console.log(l)}},87252:(a,b,c)=>{c.d(b,{Dp:()=>g,EQ:()=>f,LY:()=>d,O:()=>e,fh:()=>h,t2:()=>i});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},413:{type:"invalid_request_error",code:"context_length_exceeded"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",413:"Your input exceeds the context window of this model",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f={base:2e3,max:18e5,maxLevel:15},g=42e4,h=26784e5,i=[{text:"monthly_request_count",cooldownMs:216e5},{text:"monthly limit",cooldownMs:216e5},{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:413,fallback:!1},{status:429,backoff:!0}]},89865:(a,b,c)=>{c.d(b,{A1:()=>h,lR:()=>j,wO:()=>i,yj:()=>f,zL:()=>g});var d=c(87252),e=c(60290);function f(a,b,c){let e;return new Response(JSON.stringify((e=d.LY[a]||(a>=500?{type:"server_error",code:"internal_server_error"}:{type:"invalid_request_error",code:""}),{error:{message:b||d.O[a]||"An error occurred",type:e.type,code:c??e.code}})),{status:a,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}async function g(a,b=null){let c,f="";try{f=await a.text()}catch{f=""}let h="",i=null,j=!1;try{let a=JSON.parse(f);if(h=a.error?.message||a.message||a.error||f,c=a.error?.code||a.code,i=a.error?.metadata?.provider_name||null,"string"==typeof h){let a=/^Invalid URL:\s*(.*)$/.exec(h);a&&(j=""===a[1].trim())}}catch{h=f}let k="string"==typeof h?h:JSON.stringify(h);if((i||j)&&(a.status===e.gx.BAD_GATEWAY||a.status===e.gx.SERVER_ERROR||502===a.status||500===a.status)){let a=i?`OpenRouter upstream "${i}" returned an invalid routing URL — its endpoint is misconfigured on OpenRouter's side`:"Upstream returned an invalid (empty) routing URL";k=`${k} — ${a}. Try a different model, or set \`provider: { allow_fallbacks: true }\` to opt into OpenRouter's automatic upstream fallback.`}let l=k||d.O[a.status]||`Upstream error: ${a.status}`;if(b&&"function"==typeof b.parseError)try{let d=b.parseError(a,f);if(d&&"object"==typeof d){let b=d.message&&d.message!==f?d.message:l,e=d.resetsAtMs??(429===a.status?extractResetsAtMs(a,b):null);return{statusCode:d.status||a.status,message:b,resetsAtMs:e,code:d.code??c}}}catch{}return{statusCode:a.status,message:l,code:c}}function h(a,b,c,d){return{success:!1,status:a,error:b,resetsAtMs:c,response:f(a,b,d)}}function i(a,b,c,d){let e=Math.max(Math.ceil((new Date(c).getTime()-Date.now())/1e3),1);return new Response(JSON.stringify({error:{message:`${b} (${d})`}}),{status:a,headers:{"Content-Type":"application/json","Retry-After":String(e)}})}function j(a,b,c,d){let e=d||a.code||"FETCH_FAILED",f=a.message||"Unknown error",g=a.cause?.code,h=a.cause?.message,i=g||h?` (cause: ${[g,h].filter(Boolean).join(": ")})`:"";return`[${e}]: ${f}${i}`}}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=1847,exports.ids=[1847],exports.modules={11847:(a,b,c)=>{c.r(b),c.d(b,{DEFAULT_CAPABILITIES:()=>h,MODEL_CAPABILITIES:()=>k,PATTERN_CAPABILITIES:()=>u,PROVIDER_CAPABILITIES:()=>t,capabilitiesFromServiceKind:()=>j,getCapabilitiesForModel:()=>z,setCatalogSource:()=>x,supportsThinkingLevel:()=>A});var d=c(84646);let e="[-_/:.]",f=RegExp(`(^|${e})(image|img)(${e}|$)|stable-image|gen[0-9]_image|nanobanana|imagine|t2v|i2v|flux|dall|sdxl|diffusion|embed|rerank|guard|moderation|tts|stt|whisper|voice|speech|audio`,"i"),g=RegExp(`(^|${e})(vision|vl|vlm|multimodal|omni|visual)(${e}|$)|[0-9]\\.[0-9]+v(${e}|$)|(^|${e})glm-[0-9]+v(${e}|$)|(^|[-_/:.])(llava|pixtral|internvl|cogvlm|minicpm-v|moondream|idefics|fuyu)`,"i"),h={vision:!1,pdf:!1,audioInput:!1,videoInput:!1,imageOutput:!1,audioOutput:!1,search:!1,tools:!0,reasoning:!1,thinkingFormat:null,thinkingLevels:null,thinkingCanDisable:!0,thinkingRange:null,thinkingEffortSupported:!1,contextWindow:2e5,maxOutput:64e3},i={imageToText:{vision:!0},image:{imageOutput:!0},stt:{audioInput:!0},tts:{audioOutput:!0},embedding:{tools:!1}};function j(a){return i[a]||null}let k={"claude-fable-5-1":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:128e3},"claude-opus-5":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-5-thinking":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-5-agentic":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-5-thinking-agentic":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4.6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4.7":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4-7":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4.8":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4-6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4-8":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4.8-thinking":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4-8-thinking":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-4.6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-4-6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-5":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-5-thinking":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-5-agentic":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-5-thinking-agentic":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"gpt-image-1":{imageOutput:!0,tools:!1},"glm-5.3-flash":{vision:!0,videoInput:!0,pdf:!0,reasoning:!0,thinkingFormat:"zai",contextWindow:1e6,maxOutput:131072},"glm-4.6v":{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"zai",contextWindow:128e3,maxOutput:32768},"glm-4.5v":{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"zai",contextWindow:64e3,maxOutput:16384},"deepseek-v4-flash-vision-exp":{vision:!0,reasoning:!0,thinkingFormat:"deepseek",contextWindow:1e6,maxOutput:384e3},"vision-model":{vision:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6},"coder-model":{reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6},"deepseek-v4-flash-vision-exp":{vision:!0,reasoning:!0,thinkingFormat:"deepseek",contextWindow:1e6,maxOutput:384e3},"x-preview-f-free":{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"opencode",contextWindow:1e6,maxOutput:131072},"big-pickle":{reasoning:!0,thinkingFormat:"opencode",contextWindow:2e5,maxOutput:32e3},"muse-spark-1.2":{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"opencode",contextWindow:1048576,maxOutput:131072},"muse-spark-1.2-contributor-free":{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"opencode",contextWindow:1048576,maxOutput:131072},"mimo-v2.5-free":{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"opencode",contextWindow:2e5,maxOutput:32e3},"kimi-k3":{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:131072},k3:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:131072},"kimi-for-coding":{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:262144,maxOutput:65536},"kimi-for-coding-highspeed":{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:262144,maxOutput:65536},"kimi-k2.7-code":{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:262144,maxOutput:65536},"kimi-k2.7-code-highspeed":{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:262144,maxOutput:65536},"muse-spark-1.2-contributor-free":{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:1048576,maxOutput:131072},"muse-spark-1.3-contributor-free":{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:1048576,maxOutput:131072}},l={vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:272e3,maxOutput:128e3},m=["none","minimal","low","medium","high","xhigh","max","ultra"],n={vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",thinkingLevels:m,contextWindow:372e3,maxOutput:128e3},o={vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",thinkingLevels:m,contextWindow:272e3,maxOutput:128e3},p={vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",thinkingLevels:["none","minimal","low","medium","high","xhigh","max"],contextWindow:272e3,maxOutput:128e3},q={reasoning:!0,thinkingFormat:"qoder",thinkingCanDisable:!0,maxOutput:64e3},r={...q,vision:!0},s={auto:r,qmodel_preview:r,qmodel_latest:r,qmodel:r,q36fmodel:r,dmodel:r,dfmodel:{...r,reasoning:!1},gm51model:r,kmodel:r,mmodel:{reasoning:!1,vision:!1,thinkingFormat:"openai",thinkingCanDisable:!0,maxOutput:64e3},ultimate:q,performance:q,efficient:q,lite:q},t={qoder:s,"qoderwork-cn":s,nvidia:{"minimaxai/minimax-m3":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:512e3,maxOutput:131072},"z-ai/glm-5.2":{reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:128e3},"deepseek-ai/deepseek-v4-flash-0731":{reasoning:!0,thinkingFormat:"openai",contextWindow:1e6,maxOutput:65536}},codex:{"gpt-5.6-sol":n,"gpt-5.6-sol-review":n,"gpt-5.6-terra":o,"gpt-5.6-terra-review":o,"gpt-5.6-luna":p,"gpt-5.6-luna-review":p},kiro:{"gpt-5.6-sol":l,"gpt-5.6-terra":l,"gpt-5.6-luna":l,"gpt-5.6-sol-thinking":l,"gpt-5.6-terra-thinking":l,"gpt-5.6-luna-thinking":l,"gpt-5.6-sol-agentic":l,"gpt-5.6-terra-agentic":l,"gpt-5.6-luna-agentic":l,"gpt-5.6-sol-thinking-agentic":l,"gpt-5.6-terra-thinking-agentic":l,"gpt-5.6-luna-thinking-agentic":l},"codebuddy-cn":{"glm-5.2":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:48e3},"glm-5.1":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5.0":{reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:48e3},"glm-5.0-turbo":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5v-turbo":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:38e3},"glm-4.7":{reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:48e3},"minimax-m3":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:512e3,maxOutput:48e3},"minimax-m2.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"kimi-k2.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"kimi-k2.6":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"kimi-k2.5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:164e3,maxOutput:32e3},"hy3-preview":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:192e3,maxOutput:64e3},hy3:{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:192e3,maxOutput:64e3},"hy3-x":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:192e3,maxOutput:64e3},"hy4-preview":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:64e3},"hy4-preview-x":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:64e3},"glm-5.3":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:48e3},"glm-5.3-flash":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"kimi-k3-1":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"deepseek-v4-pro":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:5e4},"deepseek-v4-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:5e4},"deepseek-v3-2-volc":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:96e3,maxOutput:32e3}},poolside:{"laguna-s-2.1":{reasoning:!0,thinkingFormat:"openai",contextWindow:1e6,maxOutput:32e3},"laguna-xs-2.1":{reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:32e3}},nous:{"nousresearch/hermes-4-70b":{tools:!1,reasoning:!0,thinkingFormat:"nous",contextWindow:131072,maxOutput:32e3},"nousresearch/hermes-4-405b":{tools:!1,reasoning:!0,thinkingFormat:"nous",contextWindow:131072,maxOutput:32e3}},meta:{"muse-spark-1.2-contributor":{reasoning:!0,thinkingFormat:"meta",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:64e3},"muse-spark-1.2":{reasoning:!0,thinkingFormat:"meta",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:64e3},"muse-spark-1.1":{reasoning:!0,thinkingFormat:"meta",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:64e3}}},u=[{pattern:"*qoder*",caps:q},{pattern:"*claude*opus-5*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3}},{pattern:"*claude*opus-4.6*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*opus-4.7*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*opus-4.8*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*sonnet-4.6*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*sonnet-4.7*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*haiku*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*claude*opus*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*claude*sonnet*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*claude*fable*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3}},{pattern:"*claude*mythos*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget",contextWindow:1e6,maxOutput:128e3}},{pattern:"*claude-3*",caps:{vision:!0}},{pattern:"*claude*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*gemini*image*",caps:{vision:!0,imageOutput:!0,contextWindow:1048576}},{pattern:"*gemini-3.8*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-level",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini-3.7*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-level",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini-3*pro*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-level",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:65535}},{pattern:"*gemini-3*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-level",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini-2.5*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-budget",thinkingRange:{min:0,max:24576},contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini-2*",caps:{vision:!0,audioInput:!0,videoInput:!0,search:!0,contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini*",caps:{vision:!0,search:!0,contextWindow:1048576}},{pattern:"*gemma*",caps:{vision:!0,contextWindow:128e3}},{pattern:"*nanobanana*",caps:{vision:!0,imageOutput:!0}},{pattern:"*gpt-5*image*",caps:{imageOutput:!0}},{pattern:"*gpt-5*codex*",caps:{reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:4e5,maxOutput:128e3}},{pattern:"*gpt-5*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:4e5,maxOutput:128e3}},{pattern:"*gpt-4o*",caps:{vision:!0,search:!0,contextWindow:128e3,maxOutput:16384}},{pattern:"*gpt-4.1*",caps:{vision:!0,contextWindow:1e6,maxOutput:32768}},{pattern:"*gpt-4-turbo*",caps:{vision:!0,contextWindow:128e3}},{pattern:"*gpt-4*",caps:{contextWindow:128e3}},{pattern:"*gpt-3.5*",caps:{contextWindow:16385,maxOutput:4096}},{pattern:"*gpt-oss*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:128e3}},{pattern:"*o1-mini*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:128e3}},{pattern:"*o1*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*o3*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*o4*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*grok*image*",caps:{imageOutput:!0}},{pattern:"*grok-code*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:256e3}},{pattern:"*grok-4.6*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:5e5,maxOutput:5e5}},{pattern:"*grok-4.5*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:5e5,maxOutput:64e3}},{pattern:"*grok-4*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:256e3}},{pattern:"*grok-3*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:131072}},{pattern:"*grok*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:256e3}},{pattern:"*qwen*vl*",caps:{vision:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:262144}},{pattern:"*qwen*omni*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:262144,maxOutput:65536}},{pattern:"*qwen*coder*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6}},{pattern:"*qwen3.8-2.4t*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:262144}},{pattern:"*qwen3.8*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen*max*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen3.5*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen3.6*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen3.7*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen*plus*",caps:{vision:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen*235b*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:262144}},{pattern:"*qwq*",caps:{reasoning:!0,thinkingFormat:"qwen",thinkingCanDisable:!1,contextWindow:131072}},{pattern:"*qwen*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:262144}},{pattern:"*kimi*k3*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:131072}},{pattern:"*kimi*for-coding*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:262144,maxOutput:65536}},{pattern:"*kimi*k2.7*code*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:262144,maxOutput:65536}},{pattern:"*kimi*k2*",caps:{vision:!0,reasoning:!0,thinkingFormat:"kimi",contextWindow:262144,maxOutput:262144}},{pattern:"*kimi*",caps:{reasoning:!0,thinkingFormat:"kimi",contextWindow:262144}},{pattern:"*glm-5.3-flash*",caps:{vision:!0,videoInput:!0,pdf:!0,reasoning:!0,thinkingFormat:"zai",thinkingEffortSupported:!0,thinkingCanDisable:!1,contextWindow:1e6,maxOutput:131072}},{pattern:"*glm-5.3*",caps:{reasoning:!0,thinkingFormat:"zai",thinkingEffortSupported:!0,contextWindow:1e6,maxOutput:131072}},{pattern:"*glm-5.2*",caps:{reasoning:!0,thinkingFormat:"zai",thinkingEffortSupported:!0,contextWindow:2e5,maxOutput:128e3}},{pattern:"*glm-5*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5,maxOutput:128e3}},{pattern:"*glm-4.7*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5,maxOutput:128e3}},{pattern:"*glm-4*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5}},{pattern:"*glm*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5}},{pattern:"*deepseek-v4*vision*",caps:{vision:!0,reasoning:!0,thinkingFormat:"deepseek",contextWindow:1e6,maxOutput:384e3}},{pattern:"*deepseek-v4*",caps:{reasoning:!0,thinkingFormat:"deepseek",contextWindow:1e6,maxOutput:384e3}},{pattern:"*reasoner*",caps:{reasoning:!0,thinkingFormat:"deepseek",thinkingCanDisable:!1,contextWindow:128e3}},{pattern:"*deepseek-r*",caps:{reasoning:!0,thinkingFormat:"deepseek",thinkingCanDisable:!1,contextWindow:128e3}},{pattern:"*deepseek-chat*",caps:{contextWindow:128e3}},{pattern:"*deepseek*",caps:{reasoning:!0,thinkingFormat:"deepseek",contextWindow:128e3}},{pattern:"*minimax*image*",caps:{imageOutput:!0}},{pattern:"*minimax-m3*",caps:{vision:!0,reasoning:!0,thinkingFormat:"minimax",contextWindow:1048576,maxOutput:512e3}},{pattern:"*minimax-m2.7*",caps:{reasoning:!0,thinkingFormat:"minimax",thinkingCanDisable:!1,contextWindow:204800,maxOutput:131072}},{pattern:"*minimax*",caps:{reasoning:!0,thinkingFormat:"minimax",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:131072}},{pattern:"*mimo*v2.5*",caps:{vision:!0,contextWindow:1048576,maxOutput:131072}},{pattern:"*mimo*omni*",caps:{vision:!0,audioInput:!0,contextWindow:262144,maxOutput:131072}},{pattern:"*mimo*",caps:{vision:!0,contextWindow:262144,maxOutput:131072}},{pattern:"*llama-4*",caps:{vision:!0,contextWindow:1e6}},{pattern:"*llama*",caps:{contextWindow:128e3}},{pattern:"*codestral*",caps:{contextWindow:256e3}},{pattern:"*mistral-large*",caps:{vision:!0,contextWindow:256e3}},{pattern:"*mistral*",caps:{contextWindow:128e3}},{pattern:"*command-a-vision*",caps:{vision:!0,contextWindow:128e3}},{pattern:"*command*",caps:{contextWindow:128e3}},{pattern:"*sonar*",caps:{search:!0,contextWindow:128e3}},{pattern:"*pplx*",caps:{search:!0,contextWindow:128e3}},{pattern:"*perplexity*",caps:{search:!0,contextWindow:128e3}},{pattern:"*laguna-s-2.1*free*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:32e3}},{pattern:"*laguna-s-2.1*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:1e6,maxOutput:32e3}},{pattern:"*laguna*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:32e3}},{pattern:"*muse-spark*",caps:{vision:!0,videoInput:!0,audioInput:!0,reasoning:!0,search:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:131072}},{pattern:"*muse*spark*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:1048576,maxOutput:131072}},{pattern:"*muse-glimmer*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:128e3}},{pattern:"*muse*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:128e3}},{pattern:"*hunyuan*",caps:{reasoning:!0,thinkingFormat:"hunyuan",contextWindow:262144,maxOutput:262144}},{pattern:"hy3*",caps:{reasoning:!0,thinkingFormat:"hunyuan",contextWindow:262144,maxOutput:262144}},{pattern:"*step-3.7*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"step",contextWindow:262144,maxOutput:65536}},{pattern:"*step-*",caps:{reasoning:!0,thinkingFormat:"step",contextWindow:128e3}},{pattern:"*nemotron*",caps:{reasoning:!0,contextWindow:128e3}},{pattern:"*ling-*",caps:{reasoning:!0,contextWindow:128e3}}],v=["vision","pdf","audioInput","videoInput"],w=null;function x(a){w=a}function y(a,b,c){let d={...h,...a};if(w){let a=w.getModalities(c);if(a)for(let b of v)!0===a[b]&&(d[b]=!0);let e=w.getLimits(b,c);e&&(e.contextWindow>0&&(d.contextWindow=e.contextWindow),e.maxOutput>0&&(d.maxOutput=e.maxOutput))}return!d.vision&&function(a){if(!a)return!1;let b=String(a).toLowerCase();return!f.test(b)&&g.test(b)}(c)&&(d.vision=!0),d}function z(a,b){if(!b)return{...h};let c=b.includes("/")?b.split("/").pop():b;if(a){let d=t[a];if(d?.[b])return{...h,...d[b]};if(d?.[c])return{...h,...d[c]}}if(k[c])return{...h,...k[c]};if(k[b])return{...h,...k[b]};for(let{pattern:e,caps:f}of u)if((0,d.gH)(e,c)||(0,d.gH)(e,b))return y(f,a,b);return y(null,a,b)}function A(a,b,c){let d=z(a,b).thinkingLevels;return Array.isArray(d)&&d.includes(c)}}};
@@ -1 +1 @@
1
- "use strict";exports.id=2177,exports.ids=[2177],exports.modules={3256:(a,b,c)=>{c.r(b),c.d(b,{BACKGROUND_REFRESH_LEAD_MS:()=>g,runBackgroundTokenRefreshTick:()=>o,selectConnectionsNeedingRefresh:()=>l,startBackgroundTokenRefresh:()=>p,stopBackgroundTokenRefresh:()=>q});var d=c(7803),e=c(85640),f=c(18129);let g=18e5,h=!1,i=null,j=null,k=!1;function l(a,b=Date.now()){if(!Array.isArray(a)||0===a.length)return[];let c=[];for(let d of a){if(!d||"oauth"!==String(d.authType||"").toLowerCase().replace(/_/g,"")||!d.refreshToken)continue;let a=(0,f.Dz)(d);if(null===a)continue;let h=(0,e.Og)(d.provider);a-b<Math.max(Number.isFinite(h)?h:0,g)&&c.push(d)}return c}async function m(){let{getProviderConnections:a}=await Promise.resolve().then(c.bind(c,5781));return a({isActive:!0})}async function n(a){let{checkAndRefreshToken:b}=await c.e(7828).then(c.bind(c,67828));return b(a.provider,a,{force:!0})}async function o(a={}){if(k)return void d.debug("BG_TOKEN_REFRESH","Tick already running, skip");k=!0;try{let b=a.loadConnections||m,c=a.refreshConnection||n,e=await b(),f=l(e,Date.now());if(0===f.length)return void d.debug("BG_TOKEN_REFRESH","No connections due for refresh",{active:Array.isArray(e)?e.length:0});d.info("BG_TOKEN_REFRESH","Refreshing due OAuth connections",{due:f.length,ids:f.map(a=>a.id).filter(Boolean)}),await Promise.allSettled(f.map(async a=>{try{await c(a),d.info("BG_TOKEN_REFRESH","Connection refresh finished",{id:a.id,provider:a.provider})}catch(b){d.warn("BG_TOKEN_REFRESH","Connection refresh failed (swallowed)",{id:a?.id,provider:a?.provider,error:b?.message??String(b)})}}))}catch(a){d.warn("BG_TOKEN_REFRESH","Tick failed (swallowed)",{error:a?.message??String(a)})}finally{k=!1}}function p({intervalMs:a}={}){let b;if(h)return!1;if(function(a){if(null==a||""===a)return!1;let b=String(a).trim().toLowerCase();return"1"===b||"true"===b||"yes"===b||"on"===b}(process.env.DISABLE_BACKGROUND_TOKEN_REFRESH))return d.info("BG_TOKEN_REFRESH","Disabled via DISABLE_BACKGROUND_TOKEN_REFRESH"),!1;if("phase-production-build"===(b=process.env.NEXT_PHASE||"")||"phase-export"===b||"phase-static"===b)return d.debug("BG_TOKEN_REFRESH","Skip start outside long-running server runtime"),!1;h=!0;let c=Number.isFinite(a)&&a>0?a:3e5,e=()=>{o().catch(a=>{d.warn("BG_TOKEN_REFRESH","Unhandled tick rejection (swallowed)",{error:a?.message??String(a)})})};return(j=setTimeout(e,1e4)).unref&&j.unref(),(i=setInterval(e,c)).unref&&i.unref(),d.info("BG_TOKEN_REFRESH","Scheduler started",{intervalMs:c,initialDelayMs:1e4,leadMs:g}),!0}function q(){j&&(clearTimeout(j),j=null),i&&(clearInterval(i),i=null),h&&(h=!1,d.info("BG_TOKEN_REFRESH","Scheduler stopped"))}},4630:(a,b,c)=>{c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(39141);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},7803:(a,b,c)=>{c.r(b),c.d(b,{debug:()=>o,debugEnabled:()=>w,error:()=>r,errorLine:()=>l,fmtThink:()=>m,info:()=>p,line:()=>k,maskKey:()=>v,nextTag:()=>i,request:()=>s,response:()=>t,stream:()=>u,tagForSession:()=>j,warn:()=>q});let d={DEBUG:0,INFO:1,WARN:2,ERROR:3},e=d[process.env.LOG_LEVEL?.toUpperCase?.()]??d.INFO;function f(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}let g=["\uD83D\uDFE2","\uD83D\uDD35","\uD83D\uDFE3","\uD83D\uDFE1","\uD83D\uDFE0","\uD83D\uDD34","âšĒ","\uD83D\uDFE4"],h=0;function i(){let a=g[h%g.length];return h++,a}function j(a){if(!a)return i();let b=0;for(let c=0;c<a.length;c++)b=31*b+a.charCodeAt(c)|0;return g[Math.abs(b)%g.length]}function k(a,b,c){e>d.INFO||console.log(`[${f()}] ${a} ${b} ${c}`)}function l(a,b,c){console.log(`[${f()}] ${a} ${b} ${c}`)}function m(a){return a&&a.mode?"none"===a.mode?"off":"auto"===a.mode?"auto":"budget"===a.mode?a.budget>=1e3?`${Math.round(a.budget/1e3)}k`:`${a.budget}`:"level"===a.mode?a.level:null:null}function n(a){if(!a)return"";if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}function o(a,b,c){if(e<=d.DEBUG){let d=c?` ${n(c)}`:"";console.log(`[${f()}] 🔍 [${a}] ${b}${d}`)}}function p(a,b,c){if(e<=d.INFO){let d=c?` ${n(c)}`:"";console.log(`[${f()}] â„šī¸ [${a}] ${b}${d}`)}}function q(a,b,c){if(e<=d.WARN){let d=c?` ${n(c)}`:"";console.warn(`[${f()}] âš ī¸ [${a}] ${b}${d}`)}}function r(a,b,c){if(e<=d.ERROR){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ❌ [${a}] ${b}${d}`)}}function s(a,b,c){let d=c?` ${n(c)}`:"";console.log(`\x1b[36m[${f()}] đŸ“Ĩ ${a} ${b}${d}\x1b[0m`)}function t(a,b,c){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ${a<400?"\uD83D\uDCE4":"\uD83D\uDCA5"} ${a} (${b}ms)${d}`)}function u(a,b){let c=b?` ${n(b)}`:"";console.log(`[${f()}] 🌊 [STREAM] ${a}${c}`)}function v(a){return!a||a.length<8?"***":`${a.slice(0,4)}...${a.slice(-4)}`}let w=e<=d.DEBUG},60290:(a,b,c)=>{c.d(b,{C8:()=>t,DR:()=>s,IK:()=>m,Ps:()=>h,Qn:()=>q,SA:()=>p,UH:()=>k,Uc:()=>n,Ur:()=>g,Z1:()=>j,cI:()=>r,eo:()=>o,gx:()=>d,pH:()=>l,v1:()=>e,xM:()=>i}),c(87252);let d={BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,NOT_ACCEPTABLE:406,REQUEST_TIMEOUT:408,PAYLOAD_TOO_LARGE:413,RATE_LIMITED:429,SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},e={sessionTtlMs:72e5,sessionCleanupIntervalMs:18e5,sessionAffinityMaxSize:5e3,dnsCacheTtlMs:3e5,proxyDispatchersMaxSize:20};function f(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}function g(){return{firstActionTimeoutMs:f("COMBO_RESPONSE_FIRST_ACTION_TIMEOUT_MS",5e3),maxBytes:f("COMBO_RESPONSE_PREFLIGHT_MAX_BYTES",65536)}}let h=process.env.SEARXNG_URL?.trim()||"http://localhost:8888/search",i=f("STREAM_STALL_TIMEOUT_MS",36e4),j=f("STREAM_FIRST_CHUNK_TIMEOUT_MS",3e4),k=(()=>{let a=process.env.SSE_KEEPALIVE_MS;if(null==a||""===a)return 1e4;let b=parseInt(a,10);return Number.isFinite(b)&&b>=0?b:1e4})(),l=f("FETCH_CONNECT_TIMEOUT_MS",6e4);f("RESPONSE_BODY_TIMEOUT_MS",3e5);let m=f("GEMINI_NATIVE_TTS_FETCH_TIMEOUT_MS",45e3),n=64e3,o=32e3,p="x-9router-token-saver",q={maxTokenLength:160,maxAttempts:32,headers:{requestedModel:"X-9Router-Requested-Model",routePath:"X-9Router-Route-Path",resolvedProvider:"X-9Router-Resolved-Provider",resolvedModel:"X-9Router-Resolved-Model",fallbackCount:"X-9Router-Fallback-Count",attemptedModels:"X-9Router-Attempted-Models"}},r={429:{attempts:0,delayMs:0},502:{attempts:3,delayMs:3e3},503:{attempts:3,delayMs:2e3},504:{attempts:2,delayMs:3e3}};function s(a){return null==a?{attempts:0,delayMs:2e3}:"number"==typeof a?{attempts:a,delayMs:2e3}:{attempts:a.attempts||0,delayMs:null!=a.delayMs?a.delayMs:2e3}}let t=["Please write a 5-10 word title for the following conversation:"]},87252:(a,b,c)=>{c.d(b,{Dp:()=>g,EQ:()=>f,LY:()=>d,O:()=>e,fh:()=>h,t2:()=>i});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},413:{type:"invalid_request_error",code:"context_length_exceeded"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",413:"Your input exceeds the context window of this model",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f={base:2e3,max:18e5,maxLevel:15},g=42e4,h=26784e5,i=[{text:"monthly_request_count",cooldownMs:216e5},{text:"monthly limit",cooldownMs:216e5},{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:413,fallback:!1},{status:429,backoff:!0}]},92990:(a,b,c)=>{c.d(b,{DI:()=>i,Hp:()=>k,LT:()=>j,MZ:()=>v,Nl:()=>z,Nu:()=>p,OV:()=>h,S6:()=>s,Td:()=>A,Tx:()=>q,V1:()=>C,WN:()=>t,Ww:()=>D,YT:()=>n,ZL:()=>m,aV:()=>u,cD:()=>o,f7:()=>y,hF:()=>l,lB:()=>w,qp:()=>B,w1:()=>x});var d=c(21820),e=c(92675),f=c(39141);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]},k={...f.sr.qwen},l={...f.sr.qoder};({...f.sr["qoderwork-cn"]});let m={...f.sr.iflow},n={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function o(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let p={...f.sr.github},q={...f.sr.kiro},r=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function s(a){if("string"!=typeof a||!r.test(a))throw Error("Invalid region");return a}let t={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},u={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},v={...f.sr.kilocode},w={...f.sr.cline},x={...f.sr.clinepass},y={...f.sr.gitlab},z={...f.sr["codebuddy-cn"]},A={...f.sr.kimchi},B={...f.sr["grok-cli"]};({...f.sr["codebuddy-intl"]});let C={...f.sr["frontier-for-all"]},D=3e5}};
1
+ "use strict";exports.id=2177,exports.ids=[290,2177],exports.modules={3256:(a,b,c)=>{c.r(b),c.d(b,{BACKGROUND_REFRESH_LEAD_MS:()=>g,runBackgroundTokenRefreshTick:()=>o,selectConnectionsNeedingRefresh:()=>l,startBackgroundTokenRefresh:()=>p,stopBackgroundTokenRefresh:()=>q});var d=c(7803),e=c(85640),f=c(18129);let g=18e5,h=!1,i=null,j=null,k=!1;function l(a,b=Date.now()){if(!Array.isArray(a)||0===a.length)return[];let c=[];for(let d of a){if(!d||"oauth"!==String(d.authType||"").toLowerCase().replace(/_/g,"")||!d.refreshToken)continue;let a=(0,f.Dz)(d);if(null===a)continue;let h=(0,e.Og)(d.provider);a-b<Math.max(Number.isFinite(h)?h:0,g)&&c.push(d)}return c}async function m(){let{getProviderConnections:a}=await Promise.resolve().then(c.bind(c,5781));return a({isActive:!0})}async function n(a){let{checkAndRefreshToken:b}=await c.e(7828).then(c.bind(c,67828));return b(a.provider,a,{force:!0})}async function o(a={}){if(k)return void d.debug("BG_TOKEN_REFRESH","Tick already running, skip");k=!0;try{let b=a.loadConnections||m,c=a.refreshConnection||n,e=await b(),f=l(e,Date.now());if(0===f.length)return void d.debug("BG_TOKEN_REFRESH","No connections due for refresh",{active:Array.isArray(e)?e.length:0});d.info("BG_TOKEN_REFRESH","Refreshing due OAuth connections",{due:f.length,ids:f.map(a=>a.id).filter(Boolean)}),await Promise.allSettled(f.map(async a=>{try{await c(a),d.info("BG_TOKEN_REFRESH","Connection refresh finished",{id:a.id,provider:a.provider})}catch(b){d.warn("BG_TOKEN_REFRESH","Connection refresh failed (swallowed)",{id:a?.id,provider:a?.provider,error:b?.message??String(b)})}}))}catch(a){d.warn("BG_TOKEN_REFRESH","Tick failed (swallowed)",{error:a?.message??String(a)})}finally{k=!1}}function p({intervalMs:a}={}){let b;if(h)return!1;if(function(a){if(null==a||""===a)return!1;let b=String(a).trim().toLowerCase();return"1"===b||"true"===b||"yes"===b||"on"===b}(process.env.DISABLE_BACKGROUND_TOKEN_REFRESH))return d.info("BG_TOKEN_REFRESH","Disabled via DISABLE_BACKGROUND_TOKEN_REFRESH"),!1;if("phase-production-build"===(b=process.env.NEXT_PHASE||"")||"phase-export"===b||"phase-static"===b)return d.debug("BG_TOKEN_REFRESH","Skip start outside long-running server runtime"),!1;h=!0;let c=Number.isFinite(a)&&a>0?a:3e5,e=()=>{o().catch(a=>{d.warn("BG_TOKEN_REFRESH","Unhandled tick rejection (swallowed)",{error:a?.message??String(a)})})};return(j=setTimeout(e,1e4)).unref&&j.unref(),(i=setInterval(e,c)).unref&&i.unref(),d.info("BG_TOKEN_REFRESH","Scheduler started",{intervalMs:c,initialDelayMs:1e4,leadMs:g}),!0}function q(){j&&(clearTimeout(j),j=null),i&&(clearInterval(i),i=null),h&&(h=!1,d.info("BG_TOKEN_REFRESH","Scheduler stopped"))}},4630:(a,b,c)=>{c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(39141);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},7803:(a,b,c)=>{c.r(b),c.d(b,{debug:()=>o,debugEnabled:()=>w,error:()=>r,errorLine:()=>l,fmtThink:()=>m,info:()=>p,line:()=>k,maskKey:()=>v,nextTag:()=>i,request:()=>s,response:()=>t,stream:()=>u,tagForSession:()=>j,warn:()=>q});let d={DEBUG:0,INFO:1,WARN:2,ERROR:3},e=d[process.env.LOG_LEVEL?.toUpperCase?.()]??d.INFO;function f(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}let g=["\uD83D\uDFE2","\uD83D\uDD35","\uD83D\uDFE3","\uD83D\uDFE1","\uD83D\uDFE0","\uD83D\uDD34","âšĒ","\uD83D\uDFE4"],h=0;function i(){let a=g[h%g.length];return h++,a}function j(a){if(!a)return i();let b=0;for(let c=0;c<a.length;c++)b=31*b+a.charCodeAt(c)|0;return g[Math.abs(b)%g.length]}function k(a,b,c){e>d.INFO||console.log(`[${f()}] ${a} ${b} ${c}`)}function l(a,b,c){console.log(`[${f()}] ${a} ${b} ${c}`)}function m(a){return a&&a.mode?"none"===a.mode?"off":"auto"===a.mode?"auto":"budget"===a.mode?a.budget>=1e3?`${Math.round(a.budget/1e3)}k`:`${a.budget}`:"level"===a.mode?a.level:null:null}function n(a){if(!a)return"";if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}function o(a,b,c){if(e<=d.DEBUG){let d=c?` ${n(c)}`:"";console.log(`[${f()}] 🔍 [${a}] ${b}${d}`)}}function p(a,b,c){if(e<=d.INFO){let d=c?` ${n(c)}`:"";console.log(`[${f()}] â„šī¸ [${a}] ${b}${d}`)}}function q(a,b,c){if(e<=d.WARN){let d=c?` ${n(c)}`:"";console.warn(`[${f()}] âš ī¸ [${a}] ${b}${d}`)}}function r(a,b,c){if(e<=d.ERROR){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ❌ [${a}] ${b}${d}`)}}function s(a,b,c){let d=c?` ${n(c)}`:"";console.log(`\x1b[36m[${f()}] đŸ“Ĩ ${a} ${b}${d}\x1b[0m`)}function t(a,b,c){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ${a<400?"\uD83D\uDCE4":"\uD83D\uDCA5"} ${a} (${b}ms)${d}`)}function u(a,b){let c=b?` ${n(b)}`:"";console.log(`[${f()}] 🌊 [STREAM] ${a}${c}`)}function v(a){return!a||a.length<8?"***":`${a.slice(0,4)}...${a.slice(-4)}`}let w=e<=d.DEBUG},60290:(a,b,c)=>{c.d(b,{C8:()=>t,DR:()=>s,IK:()=>m,Ps:()=>h,Qn:()=>q,SA:()=>p,UH:()=>k,Uc:()=>n,Ur:()=>g,Z1:()=>j,cI:()=>r,eo:()=>o,gx:()=>d,pH:()=>l,v1:()=>e,xM:()=>i}),c(87252);let d={BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,NOT_ACCEPTABLE:406,REQUEST_TIMEOUT:408,PAYLOAD_TOO_LARGE:413,RATE_LIMITED:429,SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504},e={sessionTtlMs:72e5,sessionCleanupIntervalMs:18e5,sessionAffinityMaxSize:5e3,dnsCacheTtlMs:3e5,proxyDispatchersMaxSize:20};function f(a,b){let c=process.env[a];if(null==c||""===c)return b;let d=parseInt(c,10);return Number.isFinite(d)&&d>0?d:b}function g(){return{firstActionTimeoutMs:f("COMBO_RESPONSE_FIRST_ACTION_TIMEOUT_MS",5e3),maxBytes:f("COMBO_RESPONSE_PREFLIGHT_MAX_BYTES",65536)}}let h=process.env.SEARXNG_URL?.trim()||"http://localhost:8888/search",i=f("STREAM_STALL_TIMEOUT_MS",36e4),j=f("STREAM_FIRST_CHUNK_TIMEOUT_MS",3e4),k=(()=>{let a=process.env.SSE_KEEPALIVE_MS;if(null==a||""===a)return 1e4;let b=parseInt(a,10);return Number.isFinite(b)&&b>=0?b:1e4})(),l=f("FETCH_CONNECT_TIMEOUT_MS",6e4);f("RESPONSE_BODY_TIMEOUT_MS",3e5);let m=f("GEMINI_NATIVE_TTS_FETCH_TIMEOUT_MS",45e3),n=64e3,o=32e3,p="x-9router-token-saver",q={maxTokenLength:160,maxAttempts:32,headers:{requestedModel:"X-9Router-Requested-Model",routePath:"X-9Router-Route-Path",resolvedProvider:"X-9Router-Resolved-Provider",resolvedModel:"X-9Router-Resolved-Model",fallbackCount:"X-9Router-Fallback-Count",attemptedModels:"X-9Router-Attempted-Models"}},r={429:{attempts:0,delayMs:0},502:{attempts:3,delayMs:3e3},503:{attempts:3,delayMs:2e3},504:{attempts:2,delayMs:3e3}};function s(a){return null==a?{attempts:0,delayMs:2e3}:"number"==typeof a?{attempts:a,delayMs:2e3}:{attempts:a.attempts||0,delayMs:null!=a.delayMs?a.delayMs:2e3}}let t=["Please write a 5-10 word title for the following conversation:"]},87252:(a,b,c)=>{c.d(b,{Dp:()=>g,EQ:()=>f,LY:()=>d,O:()=>e,fh:()=>h,t2:()=>i});let d={400:{type:"invalid_request_error",code:"bad_request"},401:{type:"authentication_error",code:"invalid_api_key"},402:{type:"billing_error",code:"payment_required"},403:{type:"permission_error",code:"insufficient_quota"},404:{type:"invalid_request_error",code:"model_not_found"},406:{type:"invalid_request_error",code:"model_not_supported"},413:{type:"invalid_request_error",code:"context_length_exceeded"},429:{type:"rate_limit_error",code:"rate_limit_exceeded"},500:{type:"server_error",code:"internal_server_error"},502:{type:"server_error",code:"bad_gateway"},503:{type:"server_error",code:"service_unavailable"},504:{type:"server_error",code:"gateway_timeout"}},e={400:"Bad request",401:"Invalid API key provided",402:"Payment required",403:"You exceeded your current quota",404:"Model not found",406:"Model not supported",413:"Your input exceeds the context window of this model",429:"Rate limit exceeded",500:"Internal server error",502:"Bad gateway - upstream provider error",503:"Service temporarily unavailable",504:"Gateway timeout"},f={base:2e3,max:18e5,maxLevel:15},g=42e4,h=26784e5,i=[{text:"monthly_request_count",cooldownMs:216e5},{text:"monthly limit",cooldownMs:216e5},{text:"no credentials",cooldownMs:12e4},{text:"request not allowed",cooldownMs:5e3},{text:"rate limit",backoff:!0},{text:"too many requests",backoff:!0},{text:"quota exceeded",backoff:!0},{text:"capacity",backoff:!0},{text:"overloaded",backoff:!0},{status:401,cooldownMs:12e4},{status:402,cooldownMs:12e4},{status:403,cooldownMs:12e4},{status:404,cooldownMs:12e4},{status:413,fallback:!1},{status:429,backoff:!0}]},92990:(a,b,c)=>{c.d(b,{DI:()=>i,Hp:()=>k,LT:()=>j,MZ:()=>v,Nl:()=>z,Nu:()=>p,OV:()=>h,S6:()=>s,Td:()=>A,Tx:()=>q,V1:()=>C,WN:()=>t,Ww:()=>D,YT:()=>n,ZL:()=>m,aV:()=>u,cD:()=>o,f7:()=>y,hF:()=>l,lB:()=>w,qp:()=>B,w1:()=>x});var d=c(21820),e=c(92675),f=c(39141);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]},k={...f.sr.qwen},l={...f.sr.qoder};({...f.sr["qoderwork-cn"]});let m={...f.sr.iflow},n={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function o(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let p={...f.sr.github},q={...f.sr.kiro},r=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function s(a){if("string"!=typeof a||!r.test(a))throw Error("Invalid region");return a}let t={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},u={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},v={...f.sr.kilocode},w={...f.sr.cline},x={...f.sr.clinepass},y={...f.sr.gitlab},z={...f.sr["codebuddy-cn"]},A={...f.sr.kimchi},B={...f.sr["grok-cli"]};({...f.sr["codebuddy-intl"]});let C={...f.sr["frontier-for-all"]},D=3e5}};