@rabbi696/ezrouter 0.6.16 → 0.6.17

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 (1381) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +28 -25
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +24 -0
  5. package/app/.next-cli-build/react-loadable-manifest.json +2 -2
  6. package/app/.next-cli-build/routes-manifest.json +18 -0
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js +2 -2
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js.nft.json +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js +2 -2
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js.nft.json +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page.js +2 -2
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page.js.nft.json +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page.js +2 -2
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page.js.nft.json +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page.js +2 -2
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page.js.nft.json +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +5 -5
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +6 -6
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +4 -4
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +2 -2
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js +2 -2
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js.nft.json +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page_client-reference-manifest.js +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  88. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  89. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  90. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  91. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  92. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  93. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  94. package/app/.next-cli-build/server/app/(dashboard)/dashboard/wakeup/page.js +2 -0
  95. package/app/.next-cli-build/server/app/(dashboard)/dashboard/wakeup/page.js.nft.json +1 -0
  96. package/app/.next-cli-build/server/app/(dashboard)/dashboard/wakeup/page_client-reference-manifest.js +1 -0
  97. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  98. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  100. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  105. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  106. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  107. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  108. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  109. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  111. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  112. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  113. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  114. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  115. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
  116. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  117. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  118. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  119. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +2 -2
  134. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +2 -2
  138. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/changelog/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  146. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  152. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  154. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js +2 -2
  160. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +2 -2
  162. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +2 -2
  164. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  166. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  170. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  176. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  178. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  182. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  188. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  190. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
  192. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  194. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  200. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/combos/export/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/combos/export/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/combos/import/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/combos/import/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/combos/test/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/combos/test/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/convoy/rules/route.js +2 -2
  216. package/app/.next-cli-build/server/app/api/convoy/rules/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  244. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js +2 -2
  256. package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js +2 -2
  258. package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/mcp-gateway/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/mcp-gateway/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/mcp-gateway/sse/route.js +2 -2
  262. package/app/.next-cli-build/server/app/api/mcp-gateway/sse/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/models/enabled/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/models/enabled/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/oauth/callback/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/oauth/callback/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  298. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  322. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  328. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +14 -14
  368. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +14 -14
  370. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +68 -0
  372. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -0
  373. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route_client-reference-manifest.js +1 -0
  374. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  377. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  379. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  381. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  383. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  385. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  387. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  389. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  391. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  393. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/routing-health/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/routing-health/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  408. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js +1 -1
  409. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js.nft.json +1 -1
  410. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js +2 -2
  411. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  417. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  429. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  435. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  439. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  440. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  441. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  442. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  443. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  444. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  445. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  446. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  447. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  448. package/app/.next-cli-build/server/app/api/usage/error-logs/route.js +2 -2
  449. package/app/.next-cli-build/server/app/api/usage/error-logs/route.js.nft.json +1 -1
  450. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  451. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  452. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  453. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  454. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  455. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  456. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  457. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  458. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  459. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  460. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  461. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  462. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  463. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  464. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js +1 -1
  465. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js.nft.json +1 -1
  466. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  467. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  468. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  469. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  470. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  471. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  472. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  473. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  474. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  475. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  476. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js +1 -1
  477. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js.nft.json +1 -1
  478. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js +1 -1
  479. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js.nft.json +1 -1
  480. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js +1 -1
  481. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js.nft.json +1 -1
  482. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js +1 -1
  483. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js.nft.json +1 -1
  484. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js +1 -1
  485. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js.nft.json +1 -1
  486. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js +1 -1
  487. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js.nft.json +1 -1
  488. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js +1 -1
  489. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js.nft.json +1 -1
  490. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  491. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  492. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +3 -3
  493. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  494. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  495. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  496. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  497. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  498. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  499. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  500. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  501. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  502. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  503. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  504. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  505. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  506. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  507. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  508. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  509. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  510. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  511. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  512. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  513. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  514. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  515. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  516. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  517. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  518. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  519. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  520. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  521. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  522. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  523. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  524. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  525. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  526. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  527. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  528. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  529. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  530. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  531. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  532. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  533. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  534. package/app/.next-cli-build/server/app/api/wakeup/route.js +1 -0
  535. package/app/.next-cli-build/server/app/api/wakeup/route.js.nft.json +1 -0
  536. package/app/.next-cli-build/server/app/api/wakeup/route_client-reference-manifest.js +1 -0
  537. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  538. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  539. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  540. package/app/.next-cli-build/server/app/callback.html +1 -1
  541. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  542. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  543. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  544. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
  545. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  546. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  547. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  548. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  549. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  550. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  551. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  552. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  553. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  554. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  555. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  556. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  557. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  558. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  559. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  560. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  561. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  562. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  563. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  564. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  565. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  566. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  567. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  568. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  569. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  570. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  571. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  572. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  573. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  574. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  575. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  576. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  577. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  578. package/app/.next-cli-build/server/app/dashboard/convoy.html +1 -1
  579. package/app/.next-cli-build/server/app/dashboard/convoy.rsc +6 -6
  580. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy/__PAGE__.segment.rsc +2 -2
  581. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy.segment.rsc +1 -1
  582. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  583. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  584. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_full.segment.rsc +6 -6
  585. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_head.segment.rsc +1 -1
  586. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_index.segment.rsc +4 -4
  587. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_tree.segment.rsc +2 -2
  588. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  589. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  590. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  591. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  592. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  593. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  594. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  595. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  596. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  597. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  598. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.html +1 -1
  599. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.rsc +6 -6
  600. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys/__PAGE__.segment.rsc +2 -2
  601. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys.segment.rsc +1 -1
  602. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  603. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  604. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  605. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_full.segment.rsc +6 -6
  606. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_head.segment.rsc +1 -1
  607. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_index.segment.rsc +4 -4
  608. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_tree.segment.rsc +2 -2
  609. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.html +1 -1
  610. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.rsc +6 -6
  611. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers/__PAGE__.segment.rsc +2 -2
  612. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers.segment.rsc +1 -1
  613. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  614. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  615. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  616. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_full.segment.rsc +6 -6
  617. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_head.segment.rsc +1 -1
  618. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_index.segment.rsc +4 -4
  619. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_tree.segment.rsc +2 -2
  620. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.html +1 -1
  621. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.rsc +6 -6
  622. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/__PAGE__.segment.rsc +2 -2
  623. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  624. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  625. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  626. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_full.segment.rsc +6 -6
  627. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_head.segment.rsc +1 -1
  628. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_index.segment.rsc +4 -4
  629. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_tree.segment.rsc +2 -2
  630. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  631. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  632. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  633. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  634. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  635. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  636. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  637. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  638. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  639. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  640. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  641. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  642. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  643. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  644. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  645. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  646. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  647. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  648. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  649. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  650. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  651. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  652. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  653. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  654. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  655. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  656. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  657. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  658. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  659. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  660. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  661. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  662. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  663. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  664. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  665. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  666. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  667. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  668. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  669. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  670. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  671. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  672. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  673. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  674. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  675. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  676. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  677. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  678. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  679. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  680. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  681. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  682. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  683. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  684. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  685. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  686. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  687. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  688. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  689. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  690. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  691. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  692. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  693. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
  694. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  695. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  696. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  697. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  698. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
  699. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  700. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +4 -4
  701. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  702. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  703. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  704. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  705. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  706. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  707. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  708. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  709. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  710. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  711. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  712. package/app/.next-cli-build/server/app/dashboard/routing-health.html +1 -1
  713. package/app/.next-cli-build/server/app/dashboard/routing-health.rsc +6 -6
  714. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health/__PAGE__.segment.rsc +2 -2
  715. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health.segment.rsc +1 -1
  716. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  717. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  718. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_full.segment.rsc +6 -6
  719. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_head.segment.rsc +1 -1
  720. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_index.segment.rsc +4 -4
  721. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_tree.segment.rsc +2 -2
  722. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  723. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  724. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  725. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  726. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
  727. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
  728. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  729. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  730. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  731. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
  732. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  733. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  734. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  735. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  736. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  737. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  738. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  739. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  740. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  741. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  742. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  743. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  744. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  745. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  746. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  747. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  748. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  749. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  750. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  751. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  752. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  753. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +4 -4
  754. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  755. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  756. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  757. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  758. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  759. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  760. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  761. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  762. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  763. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  764. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  765. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  766. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  767. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  768. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  769. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  770. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  771. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  772. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  773. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  774. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  775. package/app/.next-cli-build/server/app/dashboard/wakeup.html +1 -0
  776. package/app/.next-cli-build/server/app/dashboard/wakeup.meta +17 -0
  777. package/app/.next-cli-build/server/app/dashboard/wakeup.rsc +26 -0
  778. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard/wakeup/__PAGE__.segment.rsc +9 -0
  779. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard/wakeup.segment.rsc +5 -0
  780. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +5 -0
  781. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -0
  782. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_full.segment.rsc +26 -0
  783. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_head.segment.rsc +6 -0
  784. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_index.segment.rsc +8 -0
  785. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_tree.segment.rsc +4 -0
  786. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  787. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  788. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  789. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  790. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  791. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  792. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  793. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
  794. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  795. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  796. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  797. package/app/.next-cli-build/server/app/index.html +1 -1
  798. package/app/.next-cli-build/server/app/index.rsc +4 -4
  799. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  800. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  801. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  802. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +4 -4
  803. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  804. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  805. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  806. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  807. package/app/.next-cli-build/server/app/landing.html +1 -1
  808. package/app/.next-cli-build/server/app/landing.rsc +5 -5
  809. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +5 -5
  810. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  811. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
  812. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  813. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
  814. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  815. package/app/.next-cli-build/server/app/login/page.js +2 -2
  816. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  817. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  818. package/app/.next-cli-build/server/app/login.html +1 -1
  819. package/app/.next-cli-build/server/app/login.rsc +5 -5
  820. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  821. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  822. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
  823. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  824. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  825. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  826. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  827. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  828. package/app/.next-cli-build/server/app/page.js +2 -2
  829. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  830. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  831. package/app/.next-cli-build/server/app-paths-manifest.json +28 -25
  832. package/app/.next-cli-build/server/chunks/1133.js +1 -1
  833. package/app/.next-cli-build/server/chunks/1198.js +1 -0
  834. package/app/.next-cli-build/server/chunks/1253.js +1 -1
  835. package/app/.next-cli-build/server/chunks/14.js +2 -0
  836. package/app/.next-cli-build/server/chunks/1522.js +1 -1
  837. package/app/.next-cli-build/server/chunks/1641.js +1 -1
  838. package/app/.next-cli-build/server/chunks/1733.js +1 -1
  839. package/app/.next-cli-build/server/chunks/1847.js +1 -1
  840. package/app/.next-cli-build/server/chunks/{9026.js → 1942.js} +18 -18
  841. package/app/.next-cli-build/server/chunks/2180.js +1 -0
  842. package/app/.next-cli-build/server/chunks/2220.js +1 -1
  843. package/app/.next-cli-build/server/chunks/2269.js +1 -1
  844. package/app/.next-cli-build/server/chunks/2316.js +1 -0
  845. package/app/.next-cli-build/server/chunks/2348.js +1 -1
  846. package/app/.next-cli-build/server/chunks/2898.js +1 -1
  847. package/app/.next-cli-build/server/chunks/290.js +1 -1
  848. package/app/.next-cli-build/server/chunks/3092.js +1 -0
  849. package/app/.next-cli-build/server/chunks/321.js +10 -0
  850. package/app/.next-cli-build/server/chunks/3275.js +1 -1
  851. package/app/.next-cli-build/server/chunks/3547.js +1 -1
  852. package/app/.next-cli-build/server/chunks/3583.js +1 -1
  853. package/app/.next-cli-build/server/chunks/369.js +23 -23
  854. package/app/.next-cli-build/server/chunks/3874.js +1 -0
  855. package/app/.next-cli-build/server/chunks/3886.js +1 -1
  856. package/app/.next-cli-build/server/chunks/3977.js +1 -1
  857. package/app/.next-cli-build/server/chunks/412.js +3 -3
  858. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  859. package/app/.next-cli-build/server/chunks/{5704.js → 4344.js} +34 -34
  860. package/app/.next-cli-build/server/chunks/4378.js +2 -52
  861. package/app/.next-cli-build/server/chunks/4646.js +1 -1
  862. package/app/.next-cli-build/server/chunks/4704.js +3 -53
  863. package/app/.next-cli-build/server/chunks/4803.js +1 -1
  864. package/app/.next-cli-build/server/chunks/4827.js +1 -1
  865. package/app/.next-cli-build/server/chunks/4878.js +1 -1
  866. package/app/.next-cli-build/server/chunks/4989.js +1 -0
  867. package/app/.next-cli-build/server/chunks/5251.js +1 -1
  868. package/app/.next-cli-build/server/chunks/5460.js +2 -2
  869. package/app/.next-cli-build/server/chunks/5872.js +1 -1
  870. package/app/.next-cli-build/server/chunks/6103.js +1 -1
  871. package/app/.next-cli-build/server/chunks/615.js +1 -1
  872. package/app/.next-cli-build/server/chunks/6252.js +1 -1
  873. package/app/.next-cli-build/server/chunks/6405.js +1 -1
  874. package/app/.next-cli-build/server/chunks/6464.js +1 -0
  875. package/app/.next-cli-build/server/chunks/6569.js +1 -0
  876. package/app/.next-cli-build/server/chunks/6623.js +1 -0
  877. package/app/.next-cli-build/server/chunks/6664.js +1 -0
  878. package/app/.next-cli-build/server/chunks/6799.js +1 -1
  879. package/app/.next-cli-build/server/chunks/7362.js +1 -1
  880. package/app/.next-cli-build/server/chunks/7594.js +16 -16
  881. package/app/.next-cli-build/server/chunks/7633.js +1 -0
  882. package/app/.next-cli-build/server/chunks/7663.js +1 -1
  883. package/app/.next-cli-build/server/chunks/7677.js +1 -1
  884. package/app/.next-cli-build/server/chunks/7716.js +1 -1
  885. package/app/.next-cli-build/server/chunks/7775.js +1 -1
  886. package/app/.next-cli-build/server/chunks/7811.js +1 -1
  887. package/app/.next-cli-build/server/chunks/8062.js +1 -1
  888. package/app/.next-cli-build/server/chunks/8129.js +1 -1
  889. package/app/.next-cli-build/server/chunks/823.js +1 -1
  890. package/app/.next-cli-build/server/chunks/8243.js +5 -14
  891. package/app/.next-cli-build/server/chunks/8306.js +1 -1
  892. package/app/.next-cli-build/server/chunks/8469.js +1 -1
  893. package/app/.next-cli-build/server/chunks/8644.js +1 -1
  894. package/app/.next-cli-build/server/chunks/8950.js +1 -0
  895. package/app/.next-cli-build/server/chunks/8976.js +1 -1
  896. package/app/.next-cli-build/server/chunks/9303.js +1 -1
  897. package/app/.next-cli-build/server/chunks/{4768.js → 9352.js} +1 -1
  898. package/app/.next-cli-build/server/chunks/9485.js +1 -1
  899. package/app/.next-cli-build/server/chunks/9616.js +1 -0
  900. package/app/.next-cli-build/server/chunks/9761.js +51 -0
  901. package/app/.next-cli-build/server/chunks/9865.js +1 -1
  902. package/app/.next-cli-build/server/chunks/9898.js +51 -0
  903. package/app/.next-cli-build/server/functions-config-manifest.json +2 -1
  904. package/app/.next-cli-build/server/instrumentation.js +1 -1
  905. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  906. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  907. package/app/.next-cli-build/server/middleware.js +6 -6
  908. package/app/.next-cli-build/server/pages/404.html +1 -1
  909. package/app/.next-cli-build/server/pages/500.html +1 -1
  910. package/app/.next-cli-build/static/FVexSVbOSDtcylsZCcjge/_buildManifest.js +1 -0
  911. package/app/.next-cli-build/static/chunks/{1321-73fdccd2b1bf151d.js → 1321-26e45b3f54a76b57.js} +1 -1
  912. package/app/.next-cli-build/static/chunks/5497-4241ae61f34ae4c0.js +17 -0
  913. package/app/.next-cli-build/static/chunks/6509-e4e72b0db83cac55.js +1 -0
  914. package/app/.next-cli-build/static/chunks/{801-a83c4648747b8c6a.js → 801-410b498dd92d55c0.js} +1 -1
  915. package/app/.next-cli-build/static/chunks/8105-e126b2fb1459aebd.js +1 -0
  916. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-6720afc00e5d9d9a.js +1 -0
  917. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-c35f746b4bd9fc90.js → page-948cbe61db1d6e26.js} +11 -11
  918. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-2f0ed88b5c33439a.js +1 -0
  919. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-7f28486bb0eb77b3.js → page-886fa42ab104c02b.js} +2 -2
  920. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-0868ecc0d2f1bd04.js → page-f9acce0bf6425bac.js} +5 -5
  921. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-7813952170842887.js +4 -0
  922. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-07467119470e1841.js +1 -0
  923. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-c804bcf327d3ef5a.js +1 -0
  924. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/wakeup/page-cc38ba001d74e072.js +1 -0
  925. package/app/.next-cli-build/static/chunks/app/_global-error/page-6152f72d0a627f31.js +1 -0
  926. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-6152f72d0a627f31.js +1 -0
  927. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-6152f72d0a627f31.js +1 -0
  928. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-6152f72d0a627f31.js +1 -0
  929. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-6152f72d0a627f31.js +1 -0
  930. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-6152f72d0a627f31.js +1 -0
  931. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-6152f72d0a627f31.js +1 -0
  932. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-6152f72d0a627f31.js +1 -0
  933. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-6152f72d0a627f31.js +1 -0
  934. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-6152f72d0a627f31.js +1 -0
  935. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-6152f72d0a627f31.js +1 -0
  936. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-6152f72d0a627f31.js +1 -0
  937. package/app/.next-cli-build/static/chunks/app/api/changelog/route-6152f72d0a627f31.js +1 -0
  938. package/app/.next-cli-build/static/chunks/app/api/cli/providers/codex/route-6152f72d0a627f31.js +1 -0
  939. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-6152f72d0a627f31.js +1 -0
  940. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-6152f72d0a627f31.js +1 -0
  941. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-6152f72d0a627f31.js +1 -0
  942. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-6152f72d0a627f31.js +1 -0
  943. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-6152f72d0a627f31.js +1 -0
  944. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-6152f72d0a627f31.js +1 -0
  945. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/models/route-6152f72d0a627f31.js +1 -0
  946. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/readiness/route-6152f72d0a627f31.js +1 -0
  947. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-6152f72d0a627f31.js +1 -0
  948. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-6152f72d0a627f31.js +1 -0
  949. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-6152f72d0a627f31.js +1 -0
  950. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-6152f72d0a627f31.js +1 -0
  951. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-6152f72d0a627f31.js +1 -0
  952. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-6152f72d0a627f31.js +1 -0
  953. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-6152f72d0a627f31.js +1 -0
  954. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-6152f72d0a627f31.js +1 -0
  955. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-6152f72d0a627f31.js +1 -0
  956. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-6152f72d0a627f31.js +1 -0
  957. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-6152f72d0a627f31.js +1 -0
  958. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-6152f72d0a627f31.js +1 -0
  959. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-6152f72d0a627f31.js +1 -0
  960. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-6152f72d0a627f31.js +1 -0
  961. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-6152f72d0a627f31.js +1 -0
  962. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-6152f72d0a627f31.js +1 -0
  963. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-6152f72d0a627f31.js +1 -0
  964. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-6152f72d0a627f31.js +1 -0
  965. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-6152f72d0a627f31.js +1 -0
  966. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-6152f72d0a627f31.js +1 -0
  967. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-6152f72d0a627f31.js +1 -0
  968. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/test/route-6152f72d0a627f31.js +1 -0
  969. package/app/.next-cli-build/static/chunks/app/api/combos/export/route-6152f72d0a627f31.js +1 -0
  970. package/app/.next-cli-build/static/chunks/app/api/combos/import/route-6152f72d0a627f31.js +1 -0
  971. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-6152f72d0a627f31.js +1 -0
  972. package/app/.next-cli-build/static/chunks/app/api/combos/route-6152f72d0a627f31.js +1 -0
  973. package/app/.next-cli-build/static/chunks/app/api/combos/test/route-6152f72d0a627f31.js +1 -0
  974. package/app/.next-cli-build/static/chunks/app/api/convoy/rules/route-6152f72d0a627f31.js +1 -0
  975. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-6152f72d0a627f31.js +1 -0
  976. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-6152f72d0a627f31.js +1 -0
  977. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-6152f72d0a627f31.js +1 -0
  978. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-6152f72d0a627f31.js +1 -0
  979. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-6152f72d0a627f31.js +1 -0
  980. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-6152f72d0a627f31.js +1 -0
  981. package/app/.next-cli-build/static/chunks/app/api/health/route-6152f72d0a627f31.js +1 -0
  982. package/app/.next-cli-build/static/chunks/app/api/init/route-6152f72d0a627f31.js +1 -0
  983. package/app/.next-cli-build/static/chunks/app/api/internal/codex-native/lease/[action]/route-6152f72d0a627f31.js +1 -0
  984. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-6152f72d0a627f31.js +1 -0
  985. package/app/.next-cli-build/static/chunks/app/api/keys/route-6152f72d0a627f31.js +1 -0
  986. package/app/.next-cli-build/static/chunks/app/api/locale/route-6152f72d0a627f31.js +1 -0
  987. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-6152f72d0a627f31.js +1 -0
  988. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-6152f72d0a627f31.js +1 -0
  989. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/route-6152f72d0a627f31.js +1 -0
  990. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/test/route-6152f72d0a627f31.js +1 -0
  991. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/route-6152f72d0a627f31.js +1 -0
  992. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/[id]/route-6152f72d0a627f31.js +1 -0
  993. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/route-6152f72d0a627f31.js +1 -0
  994. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/message/route-6152f72d0a627f31.js +1 -0
  995. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/oauth/[id]/[action]/route-6152f72d0a627f31.js +1 -0
  996. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/route-6152f72d0a627f31.js +1 -0
  997. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/sse/route-6152f72d0a627f31.js +1 -0
  998. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-6152f72d0a627f31.js +1 -0
  999. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-6152f72d0a627f31.js +1 -0
  1000. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-6152f72d0a627f31.js +1 -0
  1001. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-6152f72d0a627f31.js +1 -0
  1002. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-6152f72d0a627f31.js +1 -0
  1003. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-6152f72d0a627f31.js +1 -0
  1004. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-6152f72d0a627f31.js +1 -0
  1005. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-6152f72d0a627f31.js +1 -0
  1006. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-6152f72d0a627f31.js +1 -0
  1007. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-6152f72d0a627f31.js +1 -0
  1008. package/app/.next-cli-build/static/chunks/app/api/models/enabled/route-6152f72d0a627f31.js +1 -0
  1009. package/app/.next-cli-build/static/chunks/app/api/models/route-6152f72d0a627f31.js +1 -0
  1010. package/app/.next-cli-build/static/chunks/app/api/models/test/route-6152f72d0a627f31.js +1 -0
  1011. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-6152f72d0a627f31.js +1 -0
  1012. package/app/.next-cli-build/static/chunks/app/api/oauth/callback/route-6152f72d0a627f31.js +1 -0
  1013. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-6152f72d0a627f31.js +1 -0
  1014. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-6152f72d0a627f31.js +1 -0
  1015. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-6152f72d0a627f31.js +1 -0
  1016. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-6152f72d0a627f31.js +1 -0
  1017. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-6152f72d0a627f31.js +1 -0
  1018. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-6152f72d0a627f31.js +1 -0
  1019. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-6152f72d0a627f31.js +1 -0
  1020. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-6152f72d0a627f31.js +1 -0
  1021. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-6152f72d0a627f31.js +1 -0
  1022. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-6152f72d0a627f31.js +1 -0
  1023. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-6152f72d0a627f31.js +1 -0
  1024. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-6152f72d0a627f31.js +1 -0
  1025. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-6152f72d0a627f31.js +1 -0
  1026. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-6152f72d0a627f31.js +1 -0
  1027. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-6152f72d0a627f31.js +1 -0
  1028. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-6152f72d0a627f31.js +1 -0
  1029. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-6152f72d0a627f31.js +1 -0
  1030. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-6152f72d0a627f31.js +1 -0
  1031. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-6152f72d0a627f31.js +1 -0
  1032. package/app/.next-cli-build/static/chunks/app/api/pricing/route-6152f72d0a627f31.js +1 -0
  1033. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-6152f72d0a627f31.js +1 -0
  1034. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-6152f72d0a627f31.js +1 -0
  1035. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-6152f72d0a627f31.js +1 -0
  1036. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-6152f72d0a627f31.js +1 -0
  1037. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-6152f72d0a627f31.js +1 -0
  1038. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh-profile/route-6152f72d0a627f31.js +1 -0
  1039. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-6152f72d0a627f31.js +1 -0
  1040. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-6152f72d0a627f31.js +1 -0
  1041. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-6152f72d0a627f31.js +1 -0
  1042. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-6152f72d0a627f31.js +1 -0
  1043. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-6152f72d0a627f31.js +1 -0
  1044. package/app/.next-cli-build/static/chunks/app/api/providers/route-6152f72d0a627f31.js +1 -0
  1045. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-6152f72d0a627f31.js +1 -0
  1046. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-6152f72d0a627f31.js +1 -0
  1047. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-6152f72d0a627f31.js +1 -0
  1048. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-6152f72d0a627f31.js +1 -0
  1049. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-6152f72d0a627f31.js +1 -0
  1050. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-6152f72d0a627f31.js +1 -0
  1051. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-6152f72d0a627f31.js +1 -0
  1052. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-6152f72d0a627f31.js +1 -0
  1053. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-6152f72d0a627f31.js +1 -0
  1054. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-6152f72d0a627f31.js +1 -0
  1055. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-6152f72d0a627f31.js +1 -0
  1056. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-6152f72d0a627f31.js +1 -0
  1057. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-6152f72d0a627f31.js +1 -0
  1058. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-6152f72d0a627f31.js +1 -0
  1059. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-6152f72d0a627f31.js +1 -0
  1060. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-6152f72d0a627f31.js +1 -0
  1061. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-6152f72d0a627f31.js +1 -0
  1062. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-6152f72d0a627f31.js +1 -0
  1063. package/app/.next-cli-build/static/chunks/app/api/routing-health/route-6152f72d0a627f31.js +1 -0
  1064. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-6152f72d0a627f31.js +1 -0
  1065. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-6152f72d0a627f31.js +1 -0
  1066. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-6152f72d0a627f31.js +1 -0
  1067. package/app/.next-cli-build/static/chunks/app/api/settings/route-6152f72d0a627f31.js +1 -0
  1068. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-6152f72d0a627f31.js +1 -0
  1069. package/app/.next-cli-build/static/chunks/app/api/tags/route-6152f72d0a627f31.js +1 -0
  1070. package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-6152f72d0a627f31.js +1 -0
  1071. package/app/.next-cli-build/static/chunks/app/api/token-saver/stream/route-6152f72d0a627f31.js +1 -0
  1072. package/app/.next-cli-build/static/chunks/app/api/tool-disclosure/stats/route-6152f72d0a627f31.js +1 -0
  1073. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-6152f72d0a627f31.js +1 -0
  1074. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-6152f72d0a627f31.js +1 -0
  1075. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-6152f72d0a627f31.js +1 -0
  1076. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-6152f72d0a627f31.js +1 -0
  1077. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-6152f72d0a627f31.js +1 -0
  1078. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-6152f72d0a627f31.js +1 -0
  1079. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-6152f72d0a627f31.js +1 -0
  1080. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-6152f72d0a627f31.js +1 -0
  1081. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-6152f72d0a627f31.js +1 -0
  1082. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-6152f72d0a627f31.js +1 -0
  1083. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-6152f72d0a627f31.js +1 -0
  1084. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-6152f72d0a627f31.js +1 -0
  1085. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-6152f72d0a627f31.js +1 -0
  1086. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-6152f72d0a627f31.js +1 -0
  1087. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-6152f72d0a627f31.js +1 -0
  1088. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-6152f72d0a627f31.js +1 -0
  1089. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-6152f72d0a627f31.js +1 -0
  1090. package/app/.next-cli-build/static/chunks/app/api/usage/error-logs/route-6152f72d0a627f31.js +1 -0
  1091. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-6152f72d0a627f31.js +1 -0
  1092. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-6152f72d0a627f31.js +1 -0
  1093. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-6152f72d0a627f31.js +1 -0
  1094. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-6152f72d0a627f31.js +1 -0
  1095. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-6152f72d0a627f31.js +1 -0
  1096. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-6152f72d0a627f31.js +1 -0
  1097. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-6152f72d0a627f31.js +1 -0
  1098. package/app/.next-cli-build/static/chunks/app/api/v1/alpha/search/route-6152f72d0a627f31.js +1 -0
  1099. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-6152f72d0a627f31.js +1 -0
  1100. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-6152f72d0a627f31.js +1 -0
  1101. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-6152f72d0a627f31.js +1 -0
  1102. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-6152f72d0a627f31.js +1 -0
  1103. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-6152f72d0a627f31.js +1 -0
  1104. package/app/.next-cli-build/static/chunks/app/api/v1/codex/alpha/search/route-6152f72d0a627f31.js +1 -0
  1105. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/edits/route-6152f72d0a627f31.js +1 -0
  1106. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/generations/route-6152f72d0a627f31.js +1 -0
  1107. package/app/.next-cli-build/static/chunks/app/api/v1/codex/memories/trace_summarize/route-6152f72d0a627f31.js +1 -0
  1108. package/app/.next-cli-build/static/chunks/app/api/v1/codex/models/route-6152f72d0a627f31.js +1 -0
  1109. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/compact/route-6152f72d0a627f31.js +1 -0
  1110. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/route-6152f72d0a627f31.js +1 -0
  1111. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-6152f72d0a627f31.js +1 -0
  1112. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-6152f72d0a627f31.js +1 -0
  1113. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-6152f72d0a627f31.js +1 -0
  1114. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-6152f72d0a627f31.js +1 -0
  1115. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-6152f72d0a627f31.js +1 -0
  1116. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-6152f72d0a627f31.js +1 -0
  1117. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-6152f72d0a627f31.js +1 -0
  1118. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-6152f72d0a627f31.js +1 -0
  1119. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-6152f72d0a627f31.js +1 -0
  1120. package/app/.next-cli-build/static/chunks/app/api/v1/route-6152f72d0a627f31.js +1 -0
  1121. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-6152f72d0a627f31.js +1 -0
  1122. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-6152f72d0a627f31.js +1 -0
  1123. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-6152f72d0a627f31.js +1 -0
  1124. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-6152f72d0a627f31.js +1 -0
  1125. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-6152f72d0a627f31.js +1 -0
  1126. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-6152f72d0a627f31.js +1 -0
  1127. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-6152f72d0a627f31.js +1 -0
  1128. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-6152f72d0a627f31.js +1 -0
  1129. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-6152f72d0a627f31.js +1 -0
  1130. package/app/.next-cli-build/static/chunks/app/api/version/route-6152f72d0a627f31.js +1 -0
  1131. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-6152f72d0a627f31.js +1 -0
  1132. package/app/.next-cli-build/static/chunks/app/api/version/update/route-6152f72d0a627f31.js +1 -0
  1133. package/app/.next-cli-build/static/chunks/app/api/wakeup/route-6152f72d0a627f31.js +1 -0
  1134. package/app/.next-cli-build/static/chunks/app/landing/page-1317108013cd8887.js +1 -0
  1135. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-6152f72d0a627f31.js +1 -0
  1136. package/app/.next-cli-build/static/chunks/app/page-6152f72d0a627f31.js +1 -0
  1137. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-6152f72d0a627f31.js +1 -0
  1138. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-6152f72d0a627f31.js +1 -0
  1139. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-6152f72d0a627f31.js +1 -0
  1140. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-6152f72d0a627f31.js +1 -0
  1141. package/app/.next-cli-build/static/chunks/{webpack-ac71f993743961ad.js → webpack-2e234f646b31f149.js} +1 -1
  1142. package/app/.next-cli-build/static/css/9f1798df7ad706c5.css +1 -0
  1143. package/app/CHANGELOG.md +34 -0
  1144. package/app/package.json +1 -1
  1145. package/app/public/CHANGELOG.md +34 -0
  1146. package/package.json +1 -1
  1147. package/src/cli/menus/combos.js +9 -2
  1148. package/src/cli/utils/comboModelId.js +10 -0
  1149. package/app/.next-cli-build/server/chunks/5130.js +0 -1
  1150. package/app/.next-cli-build/server/chunks/6420.js +0 -1
  1151. package/app/.next-cli-build/server/chunks/7066.js +0 -1
  1152. package/app/.next-cli-build/server/chunks/7218.js +0 -1
  1153. package/app/.next-cli-build/server/chunks/8231.js +0 -1
  1154. package/app/.next-cli-build/server/chunks/8772.js +0 -1
  1155. package/app/.next-cli-build/server/chunks/9062.js +0 -1
  1156. package/app/.next-cli-build/static/Y5Sk8uSUyB0vJ-ZgW1X1U/_buildManifest.js +0 -1
  1157. package/app/.next-cli-build/static/chunks/5497-ff58e90f4053e184.js +0 -17
  1158. package/app/.next-cli-build/static/chunks/6808-93e2068e37a63896.js +0 -1
  1159. package/app/.next-cli-build/static/chunks/8105-9b41dc96e4b019cf.js +0 -1
  1160. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-72d5a02ccf63ca71.js +0 -1
  1161. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-56484613ccd100dd.js +0 -1
  1162. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-fd1013905d903c5c.js +0 -4
  1163. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-6cb070834a750fdd.js +0 -1
  1164. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-e54e9501bfa23e38.js +0 -1
  1165. package/app/.next-cli-build/static/chunks/app/_global-error/page-4c5cfa991861ba1b.js +0 -1
  1166. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-4c5cfa991861ba1b.js +0 -1
  1167. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-4c5cfa991861ba1b.js +0 -1
  1168. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-4c5cfa991861ba1b.js +0 -1
  1169. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-4c5cfa991861ba1b.js +0 -1
  1170. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-4c5cfa991861ba1b.js +0 -1
  1171. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-4c5cfa991861ba1b.js +0 -1
  1172. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-4c5cfa991861ba1b.js +0 -1
  1173. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-4c5cfa991861ba1b.js +0 -1
  1174. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-4c5cfa991861ba1b.js +0 -1
  1175. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-4c5cfa991861ba1b.js +0 -1
  1176. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-4c5cfa991861ba1b.js +0 -1
  1177. package/app/.next-cli-build/static/chunks/app/api/changelog/route-4c5cfa991861ba1b.js +0 -1
  1178. package/app/.next-cli-build/static/chunks/app/api/cli/providers/codex/route-4c5cfa991861ba1b.js +0 -1
  1179. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-4c5cfa991861ba1b.js +0 -1
  1180. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-4c5cfa991861ba1b.js +0 -1
  1181. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-4c5cfa991861ba1b.js +0 -1
  1182. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-4c5cfa991861ba1b.js +0 -1
  1183. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-4c5cfa991861ba1b.js +0 -1
  1184. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-4c5cfa991861ba1b.js +0 -1
  1185. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/models/route-4c5cfa991861ba1b.js +0 -1
  1186. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/readiness/route-4c5cfa991861ba1b.js +0 -1
  1187. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-4c5cfa991861ba1b.js +0 -1
  1188. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-4c5cfa991861ba1b.js +0 -1
  1189. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-4c5cfa991861ba1b.js +0 -1
  1190. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-4c5cfa991861ba1b.js +0 -1
  1191. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-4c5cfa991861ba1b.js +0 -1
  1192. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-4c5cfa991861ba1b.js +0 -1
  1193. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-4c5cfa991861ba1b.js +0 -1
  1194. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-4c5cfa991861ba1b.js +0 -1
  1195. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-4c5cfa991861ba1b.js +0 -1
  1196. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-4c5cfa991861ba1b.js +0 -1
  1197. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-4c5cfa991861ba1b.js +0 -1
  1198. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-4c5cfa991861ba1b.js +0 -1
  1199. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-4c5cfa991861ba1b.js +0 -1
  1200. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-4c5cfa991861ba1b.js +0 -1
  1201. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-4c5cfa991861ba1b.js +0 -1
  1202. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-4c5cfa991861ba1b.js +0 -1
  1203. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-4c5cfa991861ba1b.js +0 -1
  1204. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-4c5cfa991861ba1b.js +0 -1
  1205. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-4c5cfa991861ba1b.js +0 -1
  1206. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-4c5cfa991861ba1b.js +0 -1
  1207. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-4c5cfa991861ba1b.js +0 -1
  1208. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/test/route-4c5cfa991861ba1b.js +0 -1
  1209. package/app/.next-cli-build/static/chunks/app/api/combos/export/route-4c5cfa991861ba1b.js +0 -1
  1210. package/app/.next-cli-build/static/chunks/app/api/combos/import/route-4c5cfa991861ba1b.js +0 -1
  1211. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-4c5cfa991861ba1b.js +0 -1
  1212. package/app/.next-cli-build/static/chunks/app/api/combos/route-4c5cfa991861ba1b.js +0 -1
  1213. package/app/.next-cli-build/static/chunks/app/api/combos/test/route-4c5cfa991861ba1b.js +0 -1
  1214. package/app/.next-cli-build/static/chunks/app/api/convoy/rules/route-4c5cfa991861ba1b.js +0 -1
  1215. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-4c5cfa991861ba1b.js +0 -1
  1216. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-4c5cfa991861ba1b.js +0 -1
  1217. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-4c5cfa991861ba1b.js +0 -1
  1218. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-4c5cfa991861ba1b.js +0 -1
  1219. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-4c5cfa991861ba1b.js +0 -1
  1220. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-4c5cfa991861ba1b.js +0 -1
  1221. package/app/.next-cli-build/static/chunks/app/api/health/route-4c5cfa991861ba1b.js +0 -1
  1222. package/app/.next-cli-build/static/chunks/app/api/init/route-4c5cfa991861ba1b.js +0 -1
  1223. package/app/.next-cli-build/static/chunks/app/api/internal/codex-native/lease/[action]/route-4c5cfa991861ba1b.js +0 -1
  1224. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-4c5cfa991861ba1b.js +0 -1
  1225. package/app/.next-cli-build/static/chunks/app/api/keys/route-4c5cfa991861ba1b.js +0 -1
  1226. package/app/.next-cli-build/static/chunks/app/api/locale/route-4c5cfa991861ba1b.js +0 -1
  1227. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-4c5cfa991861ba1b.js +0 -1
  1228. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-4c5cfa991861ba1b.js +0 -1
  1229. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/route-4c5cfa991861ba1b.js +0 -1
  1230. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/test/route-4c5cfa991861ba1b.js +0 -1
  1231. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/route-4c5cfa991861ba1b.js +0 -1
  1232. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/[id]/route-4c5cfa991861ba1b.js +0 -1
  1233. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/route-4c5cfa991861ba1b.js +0 -1
  1234. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/message/route-4c5cfa991861ba1b.js +0 -1
  1235. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/oauth/[id]/[action]/route-4c5cfa991861ba1b.js +0 -1
  1236. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/route-4c5cfa991861ba1b.js +0 -1
  1237. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/sse/route-4c5cfa991861ba1b.js +0 -1
  1238. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-4c5cfa991861ba1b.js +0 -1
  1239. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-4c5cfa991861ba1b.js +0 -1
  1240. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-4c5cfa991861ba1b.js +0 -1
  1241. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-4c5cfa991861ba1b.js +0 -1
  1242. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-4c5cfa991861ba1b.js +0 -1
  1243. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-4c5cfa991861ba1b.js +0 -1
  1244. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-4c5cfa991861ba1b.js +0 -1
  1245. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-4c5cfa991861ba1b.js +0 -1
  1246. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-4c5cfa991861ba1b.js +0 -1
  1247. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-4c5cfa991861ba1b.js +0 -1
  1248. package/app/.next-cli-build/static/chunks/app/api/models/enabled/route-4c5cfa991861ba1b.js +0 -1
  1249. package/app/.next-cli-build/static/chunks/app/api/models/route-4c5cfa991861ba1b.js +0 -1
  1250. package/app/.next-cli-build/static/chunks/app/api/models/test/route-4c5cfa991861ba1b.js +0 -1
  1251. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-4c5cfa991861ba1b.js +0 -1
  1252. package/app/.next-cli-build/static/chunks/app/api/oauth/callback/route-4c5cfa991861ba1b.js +0 -1
  1253. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-4c5cfa991861ba1b.js +0 -1
  1254. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-4c5cfa991861ba1b.js +0 -1
  1255. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-4c5cfa991861ba1b.js +0 -1
  1256. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-4c5cfa991861ba1b.js +0 -1
  1257. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-4c5cfa991861ba1b.js +0 -1
  1258. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-4c5cfa991861ba1b.js +0 -1
  1259. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-4c5cfa991861ba1b.js +0 -1
  1260. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-4c5cfa991861ba1b.js +0 -1
  1261. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-4c5cfa991861ba1b.js +0 -1
  1262. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-4c5cfa991861ba1b.js +0 -1
  1263. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-4c5cfa991861ba1b.js +0 -1
  1264. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-4c5cfa991861ba1b.js +0 -1
  1265. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-4c5cfa991861ba1b.js +0 -1
  1266. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-4c5cfa991861ba1b.js +0 -1
  1267. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-4c5cfa991861ba1b.js +0 -1
  1268. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-4c5cfa991861ba1b.js +0 -1
  1269. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-4c5cfa991861ba1b.js +0 -1
  1270. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-4c5cfa991861ba1b.js +0 -1
  1271. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-4c5cfa991861ba1b.js +0 -1
  1272. package/app/.next-cli-build/static/chunks/app/api/pricing/route-4c5cfa991861ba1b.js +0 -1
  1273. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-4c5cfa991861ba1b.js +0 -1
  1274. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-4c5cfa991861ba1b.js +0 -1
  1275. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-4c5cfa991861ba1b.js +0 -1
  1276. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-4c5cfa991861ba1b.js +0 -1
  1277. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-4c5cfa991861ba1b.js +0 -1
  1278. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh-profile/route-4c5cfa991861ba1b.js +0 -1
  1279. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-4c5cfa991861ba1b.js +0 -1
  1280. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-4c5cfa991861ba1b.js +0 -1
  1281. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-4c5cfa991861ba1b.js +0 -1
  1282. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-4c5cfa991861ba1b.js +0 -1
  1283. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-4c5cfa991861ba1b.js +0 -1
  1284. package/app/.next-cli-build/static/chunks/app/api/providers/route-4c5cfa991861ba1b.js +0 -1
  1285. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-4c5cfa991861ba1b.js +0 -1
  1286. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-4c5cfa991861ba1b.js +0 -1
  1287. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-4c5cfa991861ba1b.js +0 -1
  1288. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-4c5cfa991861ba1b.js +0 -1
  1289. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-4c5cfa991861ba1b.js +0 -1
  1290. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-4c5cfa991861ba1b.js +0 -1
  1291. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-4c5cfa991861ba1b.js +0 -1
  1292. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-4c5cfa991861ba1b.js +0 -1
  1293. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-4c5cfa991861ba1b.js +0 -1
  1294. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-4c5cfa991861ba1b.js +0 -1
  1295. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-4c5cfa991861ba1b.js +0 -1
  1296. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-4c5cfa991861ba1b.js +0 -1
  1297. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-4c5cfa991861ba1b.js +0 -1
  1298. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-4c5cfa991861ba1b.js +0 -1
  1299. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-4c5cfa991861ba1b.js +0 -1
  1300. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-4c5cfa991861ba1b.js +0 -1
  1301. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-4c5cfa991861ba1b.js +0 -1
  1302. package/app/.next-cli-build/static/chunks/app/api/routing-health/route-4c5cfa991861ba1b.js +0 -1
  1303. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-4c5cfa991861ba1b.js +0 -1
  1304. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-4c5cfa991861ba1b.js +0 -1
  1305. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-4c5cfa991861ba1b.js +0 -1
  1306. package/app/.next-cli-build/static/chunks/app/api/settings/route-4c5cfa991861ba1b.js +0 -1
  1307. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-4c5cfa991861ba1b.js +0 -1
  1308. package/app/.next-cli-build/static/chunks/app/api/tags/route-4c5cfa991861ba1b.js +0 -1
  1309. package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-4c5cfa991861ba1b.js +0 -1
  1310. package/app/.next-cli-build/static/chunks/app/api/token-saver/stream/route-4c5cfa991861ba1b.js +0 -1
  1311. package/app/.next-cli-build/static/chunks/app/api/tool-disclosure/stats/route-4c5cfa991861ba1b.js +0 -1
  1312. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-4c5cfa991861ba1b.js +0 -1
  1313. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-4c5cfa991861ba1b.js +0 -1
  1314. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-4c5cfa991861ba1b.js +0 -1
  1315. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-4c5cfa991861ba1b.js +0 -1
  1316. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-4c5cfa991861ba1b.js +0 -1
  1317. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-4c5cfa991861ba1b.js +0 -1
  1318. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-4c5cfa991861ba1b.js +0 -1
  1319. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-4c5cfa991861ba1b.js +0 -1
  1320. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-4c5cfa991861ba1b.js +0 -1
  1321. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-4c5cfa991861ba1b.js +0 -1
  1322. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-4c5cfa991861ba1b.js +0 -1
  1323. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-4c5cfa991861ba1b.js +0 -1
  1324. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-4c5cfa991861ba1b.js +0 -1
  1325. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-4c5cfa991861ba1b.js +0 -1
  1326. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-4c5cfa991861ba1b.js +0 -1
  1327. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-4c5cfa991861ba1b.js +0 -1
  1328. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-4c5cfa991861ba1b.js +0 -1
  1329. package/app/.next-cli-build/static/chunks/app/api/usage/error-logs/route-4c5cfa991861ba1b.js +0 -1
  1330. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-4c5cfa991861ba1b.js +0 -1
  1331. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-4c5cfa991861ba1b.js +0 -1
  1332. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-4c5cfa991861ba1b.js +0 -1
  1333. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-4c5cfa991861ba1b.js +0 -1
  1334. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-4c5cfa991861ba1b.js +0 -1
  1335. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-4c5cfa991861ba1b.js +0 -1
  1336. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-4c5cfa991861ba1b.js +0 -1
  1337. package/app/.next-cli-build/static/chunks/app/api/v1/alpha/search/route-4c5cfa991861ba1b.js +0 -1
  1338. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-4c5cfa991861ba1b.js +0 -1
  1339. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-4c5cfa991861ba1b.js +0 -1
  1340. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-4c5cfa991861ba1b.js +0 -1
  1341. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-4c5cfa991861ba1b.js +0 -1
  1342. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-4c5cfa991861ba1b.js +0 -1
  1343. package/app/.next-cli-build/static/chunks/app/api/v1/codex/alpha/search/route-4c5cfa991861ba1b.js +0 -1
  1344. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/edits/route-4c5cfa991861ba1b.js +0 -1
  1345. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/generations/route-4c5cfa991861ba1b.js +0 -1
  1346. package/app/.next-cli-build/static/chunks/app/api/v1/codex/memories/trace_summarize/route-4c5cfa991861ba1b.js +0 -1
  1347. package/app/.next-cli-build/static/chunks/app/api/v1/codex/models/route-4c5cfa991861ba1b.js +0 -1
  1348. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/compact/route-4c5cfa991861ba1b.js +0 -1
  1349. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/route-4c5cfa991861ba1b.js +0 -1
  1350. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-4c5cfa991861ba1b.js +0 -1
  1351. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-4c5cfa991861ba1b.js +0 -1
  1352. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-4c5cfa991861ba1b.js +0 -1
  1353. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-4c5cfa991861ba1b.js +0 -1
  1354. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-4c5cfa991861ba1b.js +0 -1
  1355. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-4c5cfa991861ba1b.js +0 -1
  1356. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-4c5cfa991861ba1b.js +0 -1
  1357. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-4c5cfa991861ba1b.js +0 -1
  1358. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-4c5cfa991861ba1b.js +0 -1
  1359. package/app/.next-cli-build/static/chunks/app/api/v1/route-4c5cfa991861ba1b.js +0 -1
  1360. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-4c5cfa991861ba1b.js +0 -1
  1361. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-4c5cfa991861ba1b.js +0 -1
  1362. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-4c5cfa991861ba1b.js +0 -1
  1363. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-4c5cfa991861ba1b.js +0 -1
  1364. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-4c5cfa991861ba1b.js +0 -1
  1365. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-4c5cfa991861ba1b.js +0 -1
  1366. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-4c5cfa991861ba1b.js +0 -1
  1367. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-4c5cfa991861ba1b.js +0 -1
  1368. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-4c5cfa991861ba1b.js +0 -1
  1369. package/app/.next-cli-build/static/chunks/app/api/version/route-4c5cfa991861ba1b.js +0 -1
  1370. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-4c5cfa991861ba1b.js +0 -1
  1371. package/app/.next-cli-build/static/chunks/app/api/version/update/route-4c5cfa991861ba1b.js +0 -1
  1372. package/app/.next-cli-build/static/chunks/app/landing/page-7d5b31b8481d8fdd.js +0 -1
  1373. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-4c5cfa991861ba1b.js +0 -1
  1374. package/app/.next-cli-build/static/chunks/app/page-4c5cfa991861ba1b.js +0 -1
  1375. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-4c5cfa991861ba1b.js +0 -1
  1376. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-4c5cfa991861ba1b.js +0 -1
  1377. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-4c5cfa991861ba1b.js +0 -1
  1378. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-4c5cfa991861ba1b.js +0 -1
  1379. package/app/.next-cli-build/static/css/76821f2171e21e80.css +0 -1
  1380. package/app/src/shared/services/quotaAutoPing.js +0 -376
  1381. /package/app/.next-cli-build/static/{Y5Sk8uSUyB0vJ-ZgW1X1U → FVexSVbOSDtcylsZCcjge}/_ssgManifest.js +0 -0
@@ -1,54 +1,4 @@
1
- "use strict";exports.id=4378,exports.ids=[4378,9485],exports.modules={2081:(a,b,c)=>{c.d(b,{k:()=>q,t:()=>r});var d=c(11847),e=c(84646),f=c(3148),g=c(39141),h=c(29485);let i=["none","low","medium","high"],j=["none","thinking"],k=["none","low","medium","high","max"],l=["none","low","medium","high","xhigh","max"],m={qoder:l,openai:["none","minimal","low","medium","high","xhigh"],"claude-adaptive":l,"claude-budget":l,"gemini-level":["minimal","low","medium","high"],"gemini-budget":i,zai:j,qwen:i,kimi:k,opencode:k,deepseek:["none","high","max"],minimax:j,hunyuan:i,step:i,nous:i,meta:["minimal","low","medium","high","xhigh"],ollama:k},n=["none","minimal","low","medium","high","xhigh","max"],o=["none","low","medium","high","max"],p=[{pattern:"*claude*4.6*",levels:o},{pattern:"*claude*4-6*",levels:o},{provider:"codex",pattern:"*gpt-6*",levels:n},{provider:"codex",pattern:"*gpt-5.6-sol*",levels:[...n,"ultra"]},{provider:"codex",pattern:"*gpt-5.6-terra*",levels:[...n,"ultra"]},{provider:"codex",pattern:"*gpt-5.6-luna*",levels:n},{providers:["openai","codex"],pattern:"*gpt-5.6*",levels:["none","minimal","low","medium","high","xhigh","max","ultra"]},{pattern:"*codex*",levels:["low","medium","high","xhigh"]},{pattern:"*mimo*v2.6*",levels:["none","low","medium","high","xhigh"]},{pattern:"*mimo*v2.5-pro*",levels:["none","low","medium","high","xhigh"]},{provider:"ollama",pattern:"*gpt-oss*",levels:["none","low","medium","high"]},{provider:"ollama-local",pattern:"*gpt-oss*",levels:["none","low","medium","high"]},{provider:"qoder",pattern:"*",levels:l},{pattern:"*deepseek-v4.*",levels:["none","low","medium","high","xhigh","max"]},{provider:"codebuddy-cn",pattern:"glm-5.3*",levels:["low","high","max"]},{provider:"codebuddy-cn",pattern:"glm-5.2",levels:["high","xhigh"]},{provider:"codebuddy-cn",pattern:"deepseek-v4*",levels:["low","high","xhigh"]},{provider:"codebuddy-cn",pattern:"hy3*",levels:["low","high"]},{provider:"codebuddy-cn",pattern:"hy4*",levels:["high"]},{provider:"codebuddy-intl",pattern:"deepseek-v4*",levels:["low","high","xhigh"]}];function q(a,b){if("kiro"===a&&null===(0,f.pA)(b))return null;let c=(0,d.getCapabilitiesForModel)(a,b);if(!c.reasoning)return null;let j=String(b||"").replace(/\([^()]+\)\s*$/,""),k="codex"===a?(0,h.SM)("cx").find(a=>a.id===j)?.thinkingLevels:null,l=p.find(c=>(!c.providers||!a||c.providers.includes(a))&&(!c.provider||c.provider===a)&&(0,e.gH)(c.pattern,b)),n=(a?g.xq[a]?.thinkingFormat:null)||c.thinkingFormat,o=k||c.thinkingLevels||l?.levels||m[n]||i;return!1===c.thinkingCanDisable&&(o=o.filter(a=>"none"!==a)),o}function r(a,b,c){return q(a,b)?.includes(c)===!0}},3148:(a,b,c)=>{c.d(b,{$D:()=>w,Oj:()=>i,P9:()=>n,QR:()=>k,We:()=>l,Zm:()=>h,aZ:()=>x,cr:()=>r,if:()=>v,pA:()=>q,rG:()=>m,rx:()=>j,yh:()=>s});var d=c(94454),e=c(14014);let f="-agentic",g="-thinking",h=64,i=10237,j="AmazonCodeWhispererStreamingService.GenerateAssistantResponse",k=new Set([401,403,404]);function l(a){return"google"===a||"github"===a?"arn:aws:codewhisperer:us-east-1:699475941385:profile/EHGA3GRVQMUK":"arn:aws:codewhisperer:us-east-1:638616132270:profile/AAAACCCCXXXX"}let m=`
2
- # CRITICAL: CHUNKED WRITE PROTOCOL (MANDATORY)
3
-
4
- You MUST follow these rules for ALL file operations. Violation causes server timeouts and task failure.
5
-
6
- ## ABSOLUTE LIMITS
7
- - **MAXIMUM 350 LINES** per single write/edit operation - NO EXCEPTIONS
8
- - **RECOMMENDED 300 LINES** or less for optimal performance
9
- - **NEVER** write entire files in one operation if >300 lines
10
-
11
- ## MANDATORY CHUNKED WRITE STRATEGY
12
-
13
- ### For NEW FILES (>300 lines total):
14
- 1. FIRST: Write initial chunk (first 250-300 lines) using write_to_file/fsWrite
15
- 2. THEN: Append remaining content in 250-300 line chunks using file append operations
16
- 3. REPEAT: Continue appending until complete
17
-
18
- ### For EDITING EXISTING FILES:
19
- 1. Use surgical edits (apply_diff/targeted edits) - change ONLY what's needed
20
- 2. NEVER rewrite entire files - use incremental modifications
21
- 3. Split large refactors into multiple small, focused edits
22
-
23
- ### For LARGE CODE GENERATION:
24
- 1. Generate in logical sections (imports, types, functions separately)
25
- 2. Write each section as a separate operation
26
- 3. Use append operations for subsequent sections
27
-
28
- ## EXAMPLES OF CORRECT BEHAVIOR
29
-
30
- CORRECT: Writing a 600-line file
31
- - Operation 1: Write lines 1-300 (initial file creation)
32
- - Operation 2: Append lines 301-600
33
-
34
- CORRECT: Editing multiple functions
35
- - Operation 1: Edit function A
36
- - Operation 2: Edit function B
37
- - Operation 3: Edit function C
38
-
39
- WRONG: Writing 500 lines in single operation -> TIMEOUT
40
- WRONG: Rewriting entire file to change 5 lines -> TIMEOUT
41
- WRONG: Generating massive code blocks without chunking -> TIMEOUT
42
-
43
- ## WHY THIS MATTERS
44
- - Server has 2-3 minute timeout for operations
45
- - Large writes exceed timeout and FAIL completely
46
- - Chunked writes are FASTER and more RELIABLE
47
- - Failed writes waste time and require retry
48
-
49
- REMEMBER: When in doubt, write LESS per operation. Multiple small operations > one large operation.
50
- `.trim();function n(a,b,c){let f=(0,d.sS)(a);if(f)return"none"===f.mode||"level"===f.mode&&"disabled"===f.level?null:"budget"===f.mode?f.budget:"level"===f.mode?(0,e.nE)(f.level)??16e3:16e3;if(b){let a=function(a,b){if(!a)return;if("function"==typeof a.get)return a.get(b);let c=b.toLowerCase();for(let b of Object.keys(a))if(b.toLowerCase()===c)return a[b]}(b,"anthropic-beta");if("string"==typeof a&&a.toLowerCase().includes("interleaved-thinking"))return 16e3}if(function(a){for(let b of Array.isArray(a?.messages)?a.messages:[]){if(!b||"system"!==b.role&&"user"!==b.role)continue;let a=b.content;if("string"==typeof a){if(y(a))return!0}else if(Array.isArray(a))for(let b of a){let a=b?.text;if("string"==typeof a&&y(a))return!0}}return!!("string"==typeof a?.system&&y(a.system))}(a))return 16e3;if("string"==typeof c&&c){let a=c.toLowerCase();if(a.includes("thinking")||a.includes("-reason"))return 16e3}return null}function o(a){if("string"!=typeof a)return null;let b=a.toLowerCase().replace(/-/g,".").match(/(?:^|[/.])claude(?:[/.][a-z]+)*[/.](\d+)(?:[/.](\d+))?(?:[/.]|$)/);return b?{major:Number(b[1]),minor:void 0===b[2]?null:Number(b[2])}:null}function p(a){let b=a?.output_config?.effort??a?.reasoning_effort??("object"==typeof a?.reasoning?a.reasoning?.effort:null);if("string"!=typeof b)return null;let c=b.toLowerCase();return"max"===c?"xhigh":["low","medium","high","xhigh"].includes(c)?c:null}function q(a){if("string"!=typeof a)return null;let b=a.toLowerCase().replace(/-/g,".");if(/(?:^|[/.])gpt[/.]5[/.]6(?:[/.]|$)/.test(b))return"reasoning";if(!b.includes("claude"))return null;let c=o(a);if(!c)return null;let{major:d,minor:e}=c;return d<4||4===d&&(null===e||e<=5||null!==e&&e>=1e3)?null:"output_config"}function r(a,b){return"reasoning"===q(b)&&null!==p(a)}function s(a,b){let c=q(b);if(c)return function(a,b="output_config",c){let d="reasoning"===b?p(a):function(a,b){let c=a?.output_config?.effort??a?.reasoning_effort??("object"==typeof a?.reasoning?a.reasoning?.effort:null);if("string"!=typeof c)return null;let d=c.toLowerCase();if("none"===d||"off"===d||"disabled"===d)return null;if("xhigh"===d){let a;return(a=o(b))&&(4!==a.major||null===a.minor||!(a.minor<=6))?"xhigh":"high"}return"max"===d?"max":["low","medium","high"].includes(d)?d:null}(a,c);if(d)return"reasoning"===b?{reasoning:{effort:d}}:{thinking:{type:"adaptive",display:"summarized"},output_config:{effort:d}}}(a,c,b)}function t(a){return"string"==typeof a&&a.endsWith(f)}function u(a){return"string"==typeof a&&a.endsWith(g)}function v(a){return"string"==typeof a&&a.startsWith("claude")?a.replace(/([a-z])\.(\d)/g,"$1-$2"):a}function w(a){var b,c;let d=a,e=!1,h=!1;return t(d)&&(e=!0,d=t(b=d)?b.slice(0,-f.length):b),u(d)&&(h=!0,d=u(c=d)?c.slice(0,-g.length):c),{upstream:d,agentic:e,thinking:h}}function x(a=16e3){let b=Math.max(1,Math.min(32e3,Number(a)||16e3));return`<thinking_mode>enabled</thinking_mode>
51
- <max_thinking_length>${b}</max_thinking_length>`}function y(a){return!!a&&!!a.includes("<thinking_mode>")&&(a.includes("<thinking_mode>enabled</thinking_mode>")||a.includes("<thinking_mode>interleaved</thinking_mode>"))}},4905:(a,b,c)=>{c.d(b,{$U:()=>d,RK:()=>g,pb:()=>e,uB:()=>f});let d="data: [DONE]\n\n",e={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"},f={"Content-Type":"text/event-stream","Cache-Control":"no-cache","X-Accel-Buffering":"no"},g={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive","Access-Control-Allow-Origin":"*"}},9155:(a,b,c)=>{c.d(b,{EV:()=>g,So:()=>h,X5:()=>d.X5,_M:()=>f});var d=c(78574),e=c(40467);async function f(a,b=null,c=null,g=null){let h=a?.apiKey||a?.accessToken;if(!(0,d.zh)(h))return{...a,accessToken:h,apiKey:h};let i=g||(0,e.ty)(a?.provider);try{let e=await (0,d.JQ)(h,{profile:i,proxyOptions:b,signal:c});return{...a,accessToken:e.accessToken,providerSpecificData:{...a?.providerSpecificData||{},userId:e.userId||a?.providerSpecificData?.userId||""}}}catch(b){return{...a,accessToken:h,apiKey:h}}}async function g(a,b={}){let c=b.region||(0,e.ty)(a?.provider),h=await f(a,b.proxyOptions,b.signal,c),i=b.profile||c;return(0,d.EV)(h,{...b,profile:i})}function h(a){if(!a)return[];let b=[],c=new Set;for(let d of a.models||[])!d?.id||c.has(d.id)||(c.add(d.id),b.push({id:d.id,name:d.name||d.id,hidden:!1}));for(let[d,e]of a.rawConfigs||[])!d||c.has(d)||(c.add(d),b.push({id:d,name:e?.display_name||d,hidden:!0}));return b}},14014:(a,b,c)=>{c.d(b,{Dl:()=>d,Vp:()=>h,nE:()=>e,vz:()=>g,wd:()=>f});let d={none:0,minimal:512,low:1024,medium:8192,high:24576,xhigh:32768,max:128e3};function e(a){if(a)return d[String(a).toLowerCase()]}function f(a){let b=String(a).toLowerCase().trim();return"none"===b||"off"===b?"minimal":"xhigh"===b||"max"===b?"high":b}function g(a){let b=Number(a);return!b||b<=0?null:b<=768?"minimal":b<=4096?"low":b<=16384?"medium":b<=28672?"high":b<=80384?"xhigh":"max"}function h(a){return!a||a<=0?null:a<=2048?"low":a<=16384?"medium":"high"}},29485:(a,b,c)=>{c.d(b,{KC:()=>s,OA:()=>p,PROVIDER_MODELS:()=>e.vq,SM:()=>j,Xg:()=>r,cY:()=>t,ez:()=>o,fZ:()=>k,kt:()=>q,ux:()=>n});var d=c(17218),e=c(39141),f=c(6595),g=c(8382),h=c(19956);let i=a=>!a||["oc","opencode","ocg","opencode-go","ocz","opencode-zen"].includes(a);function j(a){return e.vq[a]||[]}function k(a){let b=e.vq[a];return b?.[0]?.id||null}let l=new Set(["kr","kiro"]);function m(a,b,c){if(!a)return;let d="string"==typeof b?b.replace(/\([^()]+\)\s*$/,"").trim():b,e=a.find(a=>a.id===b||a.id===d);if(e)return e;if(!l.has(c))return;let g=(0,f.Kq)(d);if(g!==d)return a.find(a=>a.id===g)}function n(a,b){if(i(a)&&(0,g.nh)(b))return h.h.OPENAI_RESPONSES;let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?(0,f.gr)(d):i(a)&&(0,g.i8)(b)?.targetFormat||null}function o(a,b){let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?(0,f.ec)(d):i(a)?(0,g.i8)(b)?.supportedFormats||[h.h.OPENAI]:null}function p(a,b){let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?.kind||d?.type||null}function q(a,b){let c="string"==typeof b?b.match(/\([^()]+\)\s*$/):null,d=c?c[0]:"",f=d?b.slice(0,c.index).trim():b,h=m(e.vq[a],f,a),i=h?.upstreamModelId||h?.id;if(i){let a=i.match(/\([^()]+\)\s*$/),b=a?.[0]||"";return(b?i.slice(0,a.index).trim():i)+(d||b)}return"cx"===a&&"string"==typeof f&&f.endsWith(g.d5)?f.slice(0,-g.d5.length)+d:f+d}Object.fromEntries(d.default.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias]));let r=Object.fromEntries(d.default.map(a=>[a.id,a.alias||a.id]));function s(a){let b=r[a]||a;return e.vq[b]||[]}function t(a,b){return(0,f.g5)(m(e.vq[a],b,a))}},40467:(a,b,c)=>{c.d(b,{KC:()=>s,L7:()=>h,OQ:()=>q,RB:()=>A,Ty:()=>w,_G:()=>o,bb:()=>j,bg:()=>n,cT:()=>v,e9:()=>u,eM:()=>i,pM:()=>z,pr:()=>B,qk:()=>x,rf:()=>l,t6:()=>t,ty:()=>g,xG:()=>y,x_:()=>p});let d="intl",e={[d]:{chat:"https://api3.qoder.sh",chatAlt:"https://api2.qoder.sh",openApi:"https://openapi.qoder.sh",center:"https://center.qoder.sh",login:"https://qoder.com/device/selectAccounts",website:"https://qoder.com"},cn:{chat:"https://gateway.qoder.com.cn",chatAlt:"https://gateway.qoder.com.cn",openApi:"https://openapi.qoder.com.cn",center:"https://gateway.qoder.com.cn",login:"https://qoder.com.cn/device/selectAccounts",website:"https://qoder.com.cn"}};function f(a){return e[a]||e[d]}function g(a){return"qoder-cn"===a?"cn":d}let h=e[d].openApi,i=e[d].center,j=e[d].chat,k=e[d].chatAlt,l=e[d].login;function m(a){return f(a).openApi}let n=`${m(d)}/api/v1/deviceToken/poll`,o=`${m(d)}/api/v1/userinfo`,p=`${m(d)}/api/v2/quota/usage`;f(d).center;let q=`${m(d)}/api/v1/jobToken/exchange`,r=`${j}/algo/api/v2/service/pro/sse/agent_chat_generation?FetchKeys=llm_model_result&AgentId=agent_common`,s=`${r}&Encode=1`,t=`${f(d).chat}/algo/api/v2/model/list?Encode=1`;function u(a,b=d){if("cn"===b)return e.cn.chat;let c=a?.apiKey||a?.accessToken;return"string"==typeof c&&!c.startsWith("pt-")&&(c.startsWith("jt-")||(a?.accessToken||"").startsWith("jt-"))?k:j}Object.freeze({AUTO:"auto",MAX:"max",DEFAULT:"default"});let v="1.0.0",w="5",x="disagree",y="v2",z=function(a=process.arch,b=process.platform){return`${"arm64"===a?"aarch64":"x64"===a?"x86_64":a}_${"win32"===b?"windows":b}`}(),A="5",B=`-----BEGIN PUBLIC KEY-----
1
+ "use strict";exports.id=4378,exports.ids=[4378],exports.modules={4905:(a,b,c)=>{c.d(b,{$U:()=>d,RK:()=>g,pb:()=>e,uB:()=>f});let d="data: [DONE]\n\n",e={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"},f={"Content-Type":"text/event-stream","Cache-Control":"no-cache","X-Accel-Buffering":"no"},g={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive","Access-Control-Allow-Origin":"*"}},9155:(a,b,c)=>{c.d(b,{EV:()=>g,So:()=>h,X5:()=>d.X5,_M:()=>f});var d=c(78574),e=c(40467);async function f(a,b=null,c=null,g=null){let h=a?.apiKey||a?.accessToken;if(!(0,d.zh)(h))return{...a,accessToken:h,apiKey:h};let i=g||(0,e.ty)(a?.provider);try{let e=await (0,d.JQ)(h,{profile:i,proxyOptions:b,signal:c});return{...a,accessToken:e.accessToken,providerSpecificData:{...a?.providerSpecificData||{},userId:e.userId||a?.providerSpecificData?.userId||""}}}catch(b){return{...a,accessToken:h,apiKey:h}}}async function g(a,b={}){let c=b.region||(0,e.ty)(a?.provider),h=await f(a,b.proxyOptions,b.signal,c),i=b.profile||c;return(0,d.EV)(h,{...b,profile:i})}function h(a){if(!a)return[];let b=[],c=new Set;for(let d of a.models||[])!d?.id||c.has(d.id)||(c.add(d.id),b.push({id:d.id,name:d.name||d.id,hidden:!1}));for(let[d,e]of a.rawConfigs||[])!d||c.has(d)||(c.add(d),b.push({id:d,name:e?.display_name||d,hidden:!0}));return b}},40467:(a,b,c)=>{c.d(b,{KC:()=>s,L7:()=>h,OQ:()=>q,RB:()=>A,Ty:()=>w,_G:()=>o,bb:()=>j,bg:()=>n,cT:()=>v,e9:()=>u,eM:()=>i,pM:()=>z,pr:()=>B,qk:()=>x,rf:()=>l,t6:()=>t,ty:()=>g,xG:()=>y,x_:()=>p});let d="intl",e={[d]:{chat:"https://api3.qoder.sh",chatAlt:"https://api2.qoder.sh",openApi:"https://openapi.qoder.sh",center:"https://center.qoder.sh",login:"https://qoder.com/device/selectAccounts",website:"https://qoder.com"},cn:{chat:"https://gateway.qoder.com.cn",chatAlt:"https://gateway.qoder.com.cn",openApi:"https://openapi.qoder.com.cn",center:"https://gateway.qoder.com.cn",login:"https://qoder.com.cn/device/selectAccounts",website:"https://qoder.com.cn"}};function f(a){return e[a]||e[d]}function g(a){return"qoder-cn"===a?"cn":d}let h=e[d].openApi,i=e[d].center,j=e[d].chat,k=e[d].chatAlt,l=e[d].login;function m(a){return f(a).openApi}let n=`${m(d)}/api/v1/deviceToken/poll`,o=`${m(d)}/api/v1/userinfo`,p=`${m(d)}/api/v2/quota/usage`;f(d).center;let q=`${m(d)}/api/v1/jobToken/exchange`,r=`${j}/algo/api/v2/service/pro/sse/agent_chat_generation?FetchKeys=llm_model_result&AgentId=agent_common`,s=`${r}&Encode=1`,t=`${f(d).chat}/algo/api/v2/model/list?Encode=1`;function u(a,b=d){if("cn"===b)return e.cn.chat;let c=a?.apiKey||a?.accessToken;return"string"==typeof c&&!c.startsWith("pt-")&&(c.startsWith("jt-")||(a?.accessToken||"").startsWith("jt-"))?k:j}Object.freeze({AUTO:"auto",MAX:"max",DEFAULT:"default"});let v="1.0.0",w="5",x="disagree",y="v2",z=function(a=process.arch,b=process.platform){return`${"arm64"===a?"aarch64":"x64"===a?"x86_64":a}_${"win32"===b?"windows":b}`}(),A="5",B=`-----BEGIN PUBLIC KEY-----
52
2
  MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA8iMH5c02LilrsERw9t6Pv5Nc
53
3
  4k6Pz1EaDicBMpdpxKduSZu5OANqUq8er4GM95omAGIOPOh+Nx0spthYA2BqGz+l
54
4
  6HRkPJ7S236FZz73In/KVuLnwI8JJ2CbuJap8kvheCCZpmAWpb/cPx/3Vr/J6I17
@@ -65,4 +15,4 @@ XcW+ML9FoCI6AOvOzwIDAQAB
65
15
  ${l}
66
16
  ${n}
67
17
  ${k.toString("latin1")}
68
- ${t}`,v=p(Buffer.from(u,"latin1")),w=c.machineId||g.randomUUID(),x=c.machineToken||w,y=p(k),z=String(k.length);return{Authorization:`Bearer COSY.${s}.${v}`,"Cosy-Key":l,"Cosy-User":c.userId,"Cosy-Date":n,"Cosy-Version":j.ideVersion,"Cosy-Machineid":w,"Cosy-Machinetoken":x,"Cosy-Machinetype":j.machineType,"Cosy-Machineos":j.machineOs,"Cosy-Clienttype":j.clientType,"Cosy-Clientip":"127.0.0.1","Cosy-Bodyhash":y,"Cosy-Bodylength":z,"Cosy-Sigpath":t,"Cosy-Data-Policy":j.dataPolicy,"Cosy-Organization-Id":"","Cosy-Organization-Tags":"","Login-Version":j.loginVersion,"X-Request-Id":g.randomUUID()}}var r=c(9155),s=c(91576),t=c(94454);let u={chat_task:"FREE_INPUT",stream:!0,is_reply:!0,is_retry:!1,source:1,version:"3",agent_id:"agent_common",task_id:"common",aliyun_user_type:""},v=["name","tool_calls","tool_call_id","reasoning_content"];function w(a,b){"string"==typeof b&&b&&!a.includes(b)&&a.push(b)}function x(a){if("string"==typeof a)return a;if(null==a)return"";if(Array.isArray(a)){let b=[];for(let c of a)c&&"object"==typeof c&&"string"==typeof c.text&&b.push(c.text);return b.join("\n")}return"object"==typeof a&&"string"==typeof a.text?a.text:String(a)}async function y({model:a,body:b,credentials:c,log:d,proxyOptions:e,signal:f,profile:h=null,modelConfig:i=null,includeBusiness:j=!1}){let k=o(h),l=(0,t.kD)(String(a||"").replace(/^qoder\//,"")),m=i;if(m)m.key||(m={...m,key:l});else if(!(m=await (0,r.X5)(c,l,{log:d,proxyOptions:e,signal:f,profile:k}))){let a=await (0,r.EV)(c,{forceRefresh:!0,log:d,proxyOptions:e,signal:f,profile:k}),b=a?.rawConfigs.get(l);if(!b)throw Error(`qoder: model_config for "${l}" not yet known (inject modelConfig or fetch model list)`);m={...b,key:l}}let{messages:n,systemText:p,imageUrls:q}=function(a){if(!Array.isArray(a)||0===a.length)return{messages:[],systemText:"",imageUrls:[]};let b=[],c=[],d=[];for(let e of a){if(!e||"object"!=typeof e)continue;if("system"===e.role||"developer"===e.role){let a=x(e.content);a&&b.push(a);continue}let{content:a,imageUrls:f}=function a(b){if("string"==typeof b)return{content:b,imageUrls:[]};if(null==b)return{content:"",imageUrls:[]};if(!Array.isArray(b)&&"object"==typeof b)return a([b]);if(!Array.isArray(b))return{content:String(b),imageUrls:[]};let c=[],d=[];for(let a of b){if(null==a)continue;if("string"==typeof a){c.push({type:"text",text:a});continue}if("object"!=typeof a)continue;let b="string"==typeof a.type?a.type:"";if("text"===b||"string"==typeof a.text&&!b&&!a.image_url&&!a.binary){"string"==typeof a.text&&c.push({type:"text",text:a.text});continue}if("image_url"===b||a.image_url){let b,e=a.image_url??a,f="";if("string"==typeof e?f=e:e&&"object"==typeof e&&(f="string"==typeof e.url?e.url:"","string"==typeof e.detail&&e.detail&&(b=e.detail)),f||"string"!=typeof a.url||(f=a.url),!f)continue;let g=b?{url:f,detail:b}:{url:f};c.push({type:"image_url",image_url:g}),w(d,f);continue}if("binary"===b||a.binary||"string"==typeof a.data&&(a.mime_type||a.mimeType)){let b=a.binary&&"object"==typeof a.binary?a.binary:a,e="string"==typeof b.data?b.data:"",f="string"==typeof b.mime_type&&b.mime_type||"string"==typeof b.mimeType&&b.mimeType||"";if(!e||!f)continue;c.push({type:"binary",binary:{data:e,mime_type:f}}),e.startsWith("data:")&&w(d,e);continue}}return 0===c.length?{content:"",imageUrls:[]}:0===d.length&&c.every(a=>"text"===a.type&&"string"==typeof a.text)?{content:c.map(a=>a.text).join("\n"),imageUrls:[]}:{content:c,imageUrls:d}}(e.content);for(let a of f)w(d,a);let g=function(a){let b={role:a.role};for(let c of v)void 0!==a[c]&&(b[c]=a[c]);return b}(e);g.content=a,c.push(g)}return{messages:c,systemText:b.join("\n\n"),imageUrls:d}}(b?.messages||[]),z=Array.isArray(b?.tools)?b.tools:[],A=!!m.is_reasoning,B=Number(m.max_output_tokens)||0,C=32768;B>0&&(C=B),"number"==typeof b?.max_tokens&&b.max_tokens>0&&b.max_tokens<C&&(C=b.max_tokens),"number"==typeof b?.max_completion_tokens&&b.max_completion_tokens>0&&b.max_completion_tokens<C&&(C=b.max_completion_tokens);let D=function(a){for(let b=a.length-1;b>=0;b--){let c=a[b];if(c?.role!=="user")continue;let d=x(c.content);if(d)return d;if(Array.isArray(c.content)&&c.content.length)break;if("string"==typeof c.content)return c.content}return""}(b?.messages||n),E=c?.providerSpecificData||{},F=(0,g.randomUUID)(),G=(0,s.oV)({headers:c?.rawHeaders,body:b,connectionId:c?.connectionId||E.userId||l,scope:"qoder"}),H={max_tokens:C},I=function(a){if(!a||"object"!=typeof a)return;let b=a.reasoning_effort;if(null==b&&a.reasoning&&"object"==typeof a.reasoning&&(b=a.reasoning.effort),null==b)return;let c=String(b).trim().toLowerCase();return c?"disabled"===c||"off"===c?"none":"x-high"===c?"xhigh":"auto"!==c?c:void 0:void 0}(b);if(void 0!==I?H.reasoning_effort=I:A&&(H.reasoning_effort="high"),A&&"number"==typeof b?.max_thinking_tokens&&(H.max_thinking_tokens=b.max_thinking_tokens),void 0!==b?.tool_choice&&(H.tool_choice=b.tool_choice),"number"==typeof b?.context_length&&b.context_length>0)H.context_length=b.context_length;else if("number"==typeof b?.contextWindow&&b.contextWindow>0)H.context_length=b.contextWindow;else{let a=function(a){let b=a?.context_config;if(b&&"object"==typeof b){let a=0;for(let c of Object.values(b)){let b=Number(c?.token_count);Number.isFinite(b)&&b>a&&(a=b)}if(a>0)return a}let c=Number(a?.max_input_tokens);return Number.isFinite(c)&&c>0?c:void 0}(m);a&&(H.context_length=a)}let J=q.length?q:null,K={key:m.key||l,display_name:m.display_name||m.displayName||l,model:"",format:m.format||"openai",is_vl:!!m.is_vl,is_reasoning:!!m.is_reasoning,api_key:"",url:"",source:m.source||"system",max_input_tokens:m.max_input_tokens??2e5},L={request_id:F,request_set_id:F,chat_record_id:F,session_id:G,...u,session_type:k.sessionType,model_config:K,system:p,messages:n,tools:z,parameters:H,chat_context:function(a,b,c,d=null){return{text:a,features:[],extra:{context:[],modelConfig:{key:b,is_reasoning:!!c},originalContent:a},chatPrompt:"",imageUrls:d&&d.length?d:null}}(D,l,A,J)};return(j||k.includeBusiness)&&(L.business={product:k.businessProduct,version:k.businessVersion,type:k.businessType||"agent",stage:"init",id:(0,g.randomUUID)(),name:D&&D.length>30?`${D.slice(0,30)}...`:D||"",begin_at:Date.now()}),{qoderKey:l,payload:L,modelConfig:m}}async function z(a){return y(a)}var A=c(71483);let B=new Map,C="qodercli/1.0.0";function D(a){return"string"==typeof a&&a.startsWith("pt-")}async function E(a,b,c,e){let f=await (0,d.proxyAwareFetch)(b.jobTokenExchangeUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":C,"Cosy-Version":b.ideVersion,"Cosy-ClientType":b.clientType},body:JSON.stringify({personal_token:a}),signal:e},c);if(!f.ok){let a=await f.text().catch(()=>"");throw Error(`qoder PAT exchange failed: ${f.status} ${a.slice(0,200)}`)}let g=await f.json();if(!g.token)throw Error("qoder PAT exchange returned no job token");let h=Date.now()+864e5;if(g.expires_at){let a=Date.parse(g.expires_at);Number.isNaN(a)||(h=a)}else"number"==typeof g.expires_in&&g.expires_in>0&&(h=Date.now()+g.expires_in);return{jobToken:g.token,jobRefreshToken:g.refresh_token||"",expiresAt:h}}async function F(a,b,c,e){try{let f=await (0,d.proxyAwareFetch)(b.userInfoUrl,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":C},signal:e},c);if(!f.ok)return"";let g=await f.json().catch(()=>({}));return g.id||g.userId||g.user_id||""}catch{return""}}async function G(a,b={}){let c=o(b.profile),d=b.proxyOptions??null,e=b.signal??null,f=`${c.id}:${a}`,g=B.get(f);if(g&&g.expiresAt-Date.now()>3e5)return g;let{jobToken:h,expiresAt:i}=await E(a,c,d,e),j=await F(h,c,d,e),k={accessToken:h,userId:j,expiresAt:i};return B.set(f,k),k}async function H({model:a,body:b,credentials:c,signal:g,log:h,proxyOptions:i=null,profile:j=null,timeoutMs:k=null,modelConfig:l=null,fetchImpl:m=null,includeBusiness:n=!1}){let p,r,s,t,u=o(j),v=u.chatUrl,w=c?.accessToken||c?.apiKey;if(D(w))try{let a=await G(w,{profile:u,proxyOptions:i,signal:g});c={...c,accessToken:a.accessToken,apiKey:void 0,providerSpecificData:{authMethod:"pat",...c?.providerSpecificData||{},userId:a.userId||c?.providerSpecificData?.userId||"",machineId:c?.providerSpecificData?.machineId||"",machineToken:c?.providerSpecificData?.machineToken||""}}}catch(a){return h?.error?.("QODER",`PAT exchange failed: ${a.message}`),{response:new Response(JSON.stringify({error:{message:`qoder PAT exchange failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let x=c?.providerSpecificData||{};if(!x.userId)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing userId; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};if(!c?.accessToken)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing accessToken; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};try{({qoderKey:p,payload:r}=await z({model:a,body:b,credentials:c,log:h,proxyOptions:i,signal:g,profile:u,modelConfig:l,includeBusiness:n}))}catch(a){return{response:new Response(JSON.stringify({error:{message:a.message}}),{status:400,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let y=function(a){let b=(Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"utf8"):Buffer.from(a)).toString("base64"),c=b.length,d=Math.floor(c/3),e=b.slice(c-d)+b.slice(d,c-d)+b.slice(0,d),g=Buffer.alloc(c);for(let a=0;a<c;a++){let b=e.charCodeAt(a);b<128&&f[b]>=0?g[a]=f[b]:g[a]=b}return g.toString("latin1")}(Buffer.from(JSON.stringify(r),"utf8")),B=Buffer.from(y,"latin1");try{s=q(B,v,{userId:x.userId,authToken:c.accessToken,name:c.displayName||"",email:c.email||"",machineId:x.machineId||"",machineToken:x.machineToken||x.machineId||""},u)}catch(a){return{response:new Response(JSON.stringify({error:{message:`qoder cosy signing failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let C={"Content-Type":"application/json",Accept:"text/event-stream","Cache-Control":"no-cache","X-Model-Key":p,"X-Model-Source":r.model_config&&r.model_config.source||"system","Accept-Encoding":"identity",...s},E=k||e.pH,F=new AbortController,I=setTimeout(()=>F.abort(Error("fetch connect timeout")),E),J=g?AbortSignal.any([g,F.signal]):F.signal;try{let a={method:"POST",headers:C,body:B,signal:J};t="function"==typeof m?await m(v,a):await (0,d.proxyAwareFetch)(v,a,{...i,strictProxy:!0})}catch(a){if(J.aborted)throw J.reason;throw a}finally{clearTimeout(I)}return t.ok?{response:await (0,A.ZU)(t,`qoder/${p}`,h),url:v,headers:C,transformedBody:r}:{response:t,url:v,headers:C,transformedBody:r}}let I=new Map,J=new Map;async function K(a,b,c=null,e=null){let f,g,i={userId:(g=a?.providerSpecificData||{}).userId,authToken:a.accessToken,name:a.displayName||"",email:a.email||"",machineId:g.machineId||"",machineToken:g.machineToken||g.machineId||""};if(!i.userId||!i.authToken)return null;let j=o(e),k="cn"===j.id||"cn-work"===j.id?j.modelListUrl:`${(0,h.e9)(a,j.id)}/algo/api/v2/model/list?Encode=1`,l={Accept:"application/json","Accept-Encoding":"identity",...q(Buffer.alloc(0),k,i,j)},m=new AbortController,n=null,p=null;try{n=setTimeout(()=>m.abort("timeout"),15e3),b&&"function"==typeof b.addEventListener&&(b.aborted?m.abort(b.reason):(p=()=>m.abort(b.reason),b.addEventListener("abort",p))),f=await (0,d.proxyAwareFetch)(k,{method:"GET",headers:l,signal:m.signal},c)}finally{n&&clearTimeout(n),b&&p&&b.removeEventListener("abort",p)}if(!f.ok)return null;let r=await f.json().catch(()=>null);if(!r||!Array.isArray(r.chat))return null;let s=[],t=new Map;for(let a of r.chat){if(!a||"object"!=typeof a)continue;let b=a.key;if(!b)continue;t.set(b,a);let c=a.display_name||a.displayName||a.name||a.title||b,d=Number(a.max_input_tokens)||131072;s.push({id:b,name:`${c}`,contextLength:d,isVL:!!a.is_vl,isReasoning:!!a.is_reasoning,maxOutputTokens:Number(a.max_output_tokens)||0,description:a.description||"",enabled:!1!==a.enable})}return{models:s,rawConfigs:t}}async function L(a,b,c={}){let d=await M(a,c);if(!d)return null;let e=d.rawConfigs.get(b);return e?{...e,key:b}:null}async function M(a,b={}){let c;if(!a?.accessToken||!(a.providerSpecificData||{}).userId)return null;let d=(c=(a?.providerSpecificData||{}).userId||a?.refreshToken||a?.accessToken||"anonymous",(0,g.createHash)("sha256").update(`qoder:${c}`).digest("hex")),e=Date.now();if(!b.forceRefresh){let a=I.get(d);if(a&&a.expiresAt>e)return a}let f=J.get(d);if(f&&!b.forceRefresh)return f;let h=(async()=>{let c=await K(a,b.signal,b.proxyOptions,b.profile);if(!c)return null;let e={expiresAt:Date.now()+36e5,models:c.models,rawConfigs:c.rawConfigs,fetched:!0};return I.set(d,e),e})();J.set(d,h);try{return await h}finally{J.get(d)===h&&J.delete(d)}}},91576:(a,b,c)=>{c.d(b,{E9:()=>s,RF:()=>i,YC:()=>r,oV:()=>q});var d=c(55511),e=c(60290);let f=new Map,g=new Map,h=setInterval(()=>{let a=Date.now();for(let[b,c]of f)a-c.lastUsed>e.v1.sessionTtlMs&&f.delete(b)},e.v1.sessionCleanupIntervalMs);function i(a){if(!a)return j();let b=f.get(a);if(b)return b.lastUsed=Date.now(),f.delete(a),f.set(a,b),b.sessionId;if(f.size>=1e3){let a=f.keys().next().value;f.delete(a)}let c=j();return f.set(a,{sessionId:c,lastUsed:Date.now()}),c}function j(){return d.randomUUID()+Date.now().toString()}h.unref&&h.unref();let k=new Map,l=["x-session-id","session-id","session_id","x-amp-thread-id"],m=/_session_([a-f0-9-]+)$/;function n(a){if("string"!=typeof a)return null;let b=a.trim();return!b||b.length>256?null:b}function o(a,b){return a&&"object"==typeof a?n(a[b]??a[b.toLowerCase()]):null}let p=/^[a-z]+\/([0-9a-f-]{36})\//i;function q(a={}){return function({headers:a,body:b,connectionId:c,workspaceId:e,scope:f=""}={}){let g=function(a,b,c=""){let d=function(a){if("string"!=typeof a||!a)return null;let b=a.match(m);if(b)return b[1];if("{"===a[0])try{return n(JSON.parse(a)?.session_id)}catch{}return null}(b?.metadata?.user_id)||o(a,"x-claude-code-session-id");if(d)return"claude"===c?d:`claude:${d}`;let e=function(a){let b=a?.request?.sessionId;if(null!=b&&""!==b)return n(String(b));let c="string"==typeof a?.requestId?a.requestId.match(p):null;return c?n(c[1]):null}(b);if(e)return`antigravity:${e}`;for(let b of l){let c=o(a,b);if(c)return c}let f="kiro"===c?null:o(a,"x-client-request-id");return f||n(b?.prompt_cache_key)||n(b?.session_id)||n(b?.conversation_id)||("kiro"===c?null:n(b?.metadata?.user_id))||null}(a,b,f);if(g)return{sessionId:g,ephemeral:!1};let h="kiro"===f?null:function(a,b){var c;let e=function(a){let b=Array.isArray(a?.messages)?a.messages:Array.isArray(a?.input)?a.input:[];if(!b)return"";let c="";for(let a of b)if(a?.role==="assistant"){if("string"==typeof a.content)c+=a.content;else if(Array.isArray(a.content))for(let b of a.content)c+=b?.text||b?.output||"";if(c.length>=50)break}return c}(b);if(e.length<50)return null;let f=(c=`${a}:${e.slice(0,50)}`,d.createHash("sha256").update(c).digest("hex").slice(0,16)),g=k.get(f);if(g)return g.lastUsed=Date.now(),k.delete(f),k.set(f,g),g.sessionId;k.size>=5e3&&k.delete(k.keys().next().value);let h=j();return k.set(f,{sessionId:h,lastUsed:Date.now()}),h}(`${f}:${c||""}`,b);if(h)return{sessionId:h,ephemeral:!1};let q=n(e);return q?{sessionId:q,ephemeral:!1}:"kiro"===f?{sessionId:j(),ephemeral:!0}:{sessionId:i(c),ephemeral:!1}}(a).sessionId}function r(a,b,c,d=""){return q({headers:b?.rawHeaders,body:a,connectionId:c,scope:d})}function s(a){let b=n(a);if(!b)return null;if(/^-?\d+$/.test(b))return b;let c=0x7fffffffffffffffn&d.createHash("sha256").update(b).digest().readBigUInt64BE(0);return`-${c.toString()}`}let t=setInterval(()=>{let a=Date.now();for(let[b,c]of k)a-c.lastUsed>e.v1.sessionTtlMs&&k.delete(b);for(let[b,c]of g)a-c.lastUsed>e.v1.sessionTtlMs&&g.delete(b)},e.v1.sessionCleanupIntervalMs);t.unref&&t.unref()},94454:(a,b,c)=>{c.d(b,{NU:()=>k,kD:()=>i,sS:()=>j,z:()=>t});var d=c(11847),e=c(2081),f=c(39141),g=c(14014);let h={openai:"openai","openai-responses":"openai","openai-response":"openai",codex:"openai",claude:"claude-budget",gemini:"gemini-budget","gemini-cli":"gemini-budget",vertex:"gemini-budget",antigravity:"gemini-budget",kiro:"kiro",ollama:"ollama"};function i(a){if("string"!=typeof a)return a;let b=a.match(/^(.*)\([^()]+\)\s*$/);return b?b[1].trim():a}function j(a){if(!a||"object"!=typeof a)return null;let b=a.reasoning_effort??("object"==typeof a.reasoning?a.reasoning?.effort:null);if("string"==typeof b&&b){let a=b.toLowerCase();return"none"===a||"off"===a?{mode:"none"}:"auto"===a?{mode:"auto"}:{mode:"level",level:a}}let c=a.output_config?.effort;if("string"==typeof c&&c){let a=c.toLowerCase();return"none"===a||"off"===a?{mode:"none"}:"auto"===a?{mode:"auto"}:{mode:"level",level:a}}let d=a.thinking;if(d&&"object"==typeof d){if("disabled"===d.type)return{mode:"none"};if("adaptive"===d.type||"enabled"===d.type){let a=Number(d.budget_tokens);return Number.isFinite(a)&&a>0?{mode:"budget",budget:a}:{mode:"auto"}}}if(void 0!==a.think){let b=a.think;if(!1===b)return{mode:"none"};if(!0===b)return{mode:"auto"};if("string"==typeof b){let a=b.toLowerCase().trim();if("none"===a||"off"===a||"false"===a)return{mode:"none"};if("auto"===a||"true"===a)return{mode:"auto"};if("minimal"===a||"low"===a||"medium"===a||"high"===a||"max"===a||"xhigh"===a)return{mode:"level",level:"xhigh"===a?"max":a};if(a)return{mode:"level",level:a}}return b?{mode:"auto"}:{mode:"none"}}let e=a.additionalModelRequestFields;if(e&&"object"==typeof e){let a=e.output_config?.effort||e.thinking?.effort;if("string"==typeof a&&a)return{mode:"level",level:a.toLowerCase()};let b=e.reasoning?.effort;if("string"==typeof b&&b)return{mode:"level",level:b.toLowerCase()}}let f=a.thinkingConfig||a.generationConfig?.thinkingConfig||a.request?.generationConfig?.thinkingConfig;if(f&&"object"==typeof f){if("string"==typeof f.thinkingLevel)return{mode:"level",level:f.thinkingLevel.toLowerCase()};let a=Number(f.thinkingBudget);if(Number.isFinite(a))return 0===a?{mode:"none"}:a<0?{mode:"auto"}:{mode:"budget",budget:a}}if(!1===a.enable_thinking)return{mode:"none"};if(!0===a.enable_thinking){let b=Number(a.thinking_budget);return Number.isFinite(b)&&b>0?{mode:"budget",budget:b}:{mode:"auto"}}return null}function k(a){let b=j(a);if(!b||"none"===b.mode)return b;let c=function(a){if(a.reasoning&&"object"==typeof a.reasoning){let b=a.reasoning.summary;return"string"==typeof b&&b&&"none"!==b?"summarized":void 0}if("string"==typeof a.reasoning_effort)return"summarized"}(a);return c?{...b,display:c}:b}let l=new Set(["gemini-level","gemini-budget","claude-budget","claude-adaptive","kiro"]);function m(a,b){let c;if("budget"===a.mode)c=a.budget;else if("level"===a.mode)c=(0,g.nE)(a.level);else if("auto"===a.mode)return -1;if(Number.isFinite(c))return b&&(null!=b.min&&c<b.min&&(c=b.min),null!=b.max&&c>b.max&&(c=b.max)),c}function n(a){return"level"===a.mode?a.level:"budget"===a.mode?(0,g.vz)(a.budget)||"medium":"auto"===a.mode?"auto":null}let o={minimal:4096,low:8192,medium:16384,high:65535};function p(a){return a.request&&"object"==typeof a.request?(a.request.generationConfig&&"object"==typeof a.request.generationConfig||(a.request.generationConfig={}),a.request.generationConfig):(a.generationConfig&&"object"==typeof a.generationConfig||(a.generationConfig={}),a.generationConfig)}function q(a,b){p(a).thinkingConfig=b}function r(a,b,c){let d=Number.isFinite(c?.maxOutput)?c.maxOutput:b,e=Math.min(b,d),f=p(a),g=Number(f.maxOutputTokens);(!Number.isFinite(g)||g<e)&&(f.maxOutputTokens=e)}function s(a){delete a.thinking,delete a.reasoning_effort,delete a.reasoning,delete a.thinkingConfig,delete a.enable_thinking,delete a.thinking_budget,delete a.output_config,delete a.think,a.generationConfig&&delete a.generationConfig.thinkingConfig,a.request?.generationConfig&&delete a.request.generationConfig.thinkingConfig}function t(a,b,c,i=null,k){if(!c||"object"!=typeof c)return c;let{cleanModel:p,override:u}=function(a){if("string"!=typeof a)return{cleanModel:a,override:null};let b=a.match(/^(.*)\(([^()]+)\)\s*$/);if(!b)return{cleanModel:a,override:null};let c=b[1].trim(),d=b[2].trim().toLowerCase();return"none"===d||"off"===d?{cleanModel:c,override:{mode:"none"}}:"auto"===d?{cleanModel:c,override:{mode:"auto"}}:/^\d+$/.test(d)?{cleanModel:c,override:{mode:"budget",budget:Number(d)}}:"ultra"===d?{cleanModel:c,override:{mode:"level",level:"ultra"}}:void 0!==g.Dl[d]?{cleanModel:c,override:{mode:"level",level:d}}:{cleanModel:c,override:null}}(b),v=u||k||j(c),w=(0,d.getCapabilitiesForModel)(i,p);if(!w.reasoning)return s(c),c;if(!v)return c;let x=function(a,b,c){if("string"==typeof c&&c.startsWith("openai-compatible-"))return"openai";let e=c?f.xq[c]?.thinkingFormat:null;if(e)return e;let g=(0,d.getCapabilitiesForModel)(c,b);return g.thinkingFormat&&!(("openai"===a||"openai-responses"===a)&&l.has(g.thinkingFormat))?g.thinkingFormat:h[a]||"openai"}(a,p,i),y="string"==typeof c.thinking?.display?c.thinking.display:k?.display;return s(c),!function(a,b,c,d,f,h,i){var j;let k="none"===c.mode,l=!1!==d.thinkingCanDisable,p=k&&!l?{mode:"level",level:"minimal"}:c;switch(a){case"openai":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);a&&(b.reasoning_effort="max"!==a||(0,e.t)(f,h,"max")?a:"xhigh");break}case"qoder":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);a&&(b.reasoning_effort=a);break}case"claude-adaptive":{if(k&&l){b.thinking={type:"disabled"};break}l?b.thinking={type:"adaptive",...i?{display:i}:{}}:delete b.thinking;let a=n(p);b.output_config={effort:"auto"!==a&&a?"minimal"===a?"low":"xhigh"!==a||(0,e.t)(f,h,"xhigh")?a:"high":"high"};break}case"claude-budget":{if(k&&l){b.thinking={type:"disabled"};break}let a=m(p,d.thinkingRange);b.thinking=-1===a?{type:"enabled",...i?{display:i}:{}}:{type:"enabled",budget_tokens:a||8192,...i?{display:i}:{}};break}case"gemini-level":{let a,c=k?"minimal":(a="auto"===p.mode?"high":n(p)||"high",(0,g.wd)(a));q(b,{thinkingLevel:c,includeThoughts:"minimal"!==c}),r(b,o[c]||o.high,d);break}case"gemini-budget":{if(k&&l){q(b,{thinkingBudget:0,includeThoughts:!1});break}let a=m(p,d.thinkingRange);q(b,{thinkingBudget:a??-1,includeThoughts:!0}),r(b,-1!==(j=a??-1)&&Number.isFinite(j)?j<=1024?8192:j<=8192?16384:j<=24576?32768:65535:32768,d);break}case"zai":if(k&&l){b.enable_thinking=!1,delete b.thinking;break}if(b.thinking={type:"enabled"},d.thinkingEffortSupported){let a=n(p);b.reasoning_effort="low"===a||"minimal"===a?"low":"high"===a||"medium"===a?"high":"max"}break;case"qwen":{if(k&&l){b.enable_thinking=!1;break}b.enable_thinking=!0;let a=m(p,d.thinkingRange);Number.isFinite(a)&&a>0&&(b.thinking_budget=a);break}case"deepseek":{if(k&&l){b.thinking={type:"disabled"};break}b.thinking={type:"enabled"};let a=n(p),c="xhigh"===a||"max"===a?"max":"high";b.reasoning_effort="max"!==c||(0,e.t)(f,h,"max")?c:"high";break}case"kimi":{let a;if(k&&l){b.thinking={type:"disabled"};break}let c="auto"===(a=n(p))?"high":"minimal"===a?"low":"xhigh"===a?"max":["low","medium","high","max"].includes(a)?a:null;c&&(b.reasoning_effort=c);break}case"ollama":{if(k&&l){b.think=!1;break}let a=function(a,b){if(!a)return null;if("auto"===a.mode)return!0;let c=n(a);return!c||"auto"===c||("minimal"===c?"low":"xhigh"===c?"max":["low","medium","high","max"].includes(c)?"max"===c&&b&&!b.includes("max")?"high":c:"medium")}(p,d?.thinkingLevels);null!=a&&(b.think=a);break}case"opencode":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);if(!a||"auto"===a)break;b.reasoning_effort="xhigh"===a||"ultra"===a?"max":"minimal"===a?"low":a;break}case"minimax":b.thinking={type:k&&l?"disabled":"adaptive"};break;case"hunyuan":{if(k&&l){b.thinking={type:"disabled"};break}let a=m(p,d.thinkingRange);b.thinking=-1===a?{type:"enabled"}:{type:"enabled",budget_tokens:a||8192};break}case"step":{if(k&&l)break;let a=n(p);a&&(b.reasoning_effort="xhigh"===a||"max"===a?"high":a);break}case"nous":{if(k&&l)break;let a="auto"===p.mode?"medium":n(p);b.reasoning={enabled:!0,...a?{effort:a}:{}};break}case"meta":{let a=n(p);if("none"===a)break;a&&(b.reasoning_effort="max"===a||"ultra"===a?"xhigh":a)}}}(x,c,v,w,i,p,y),c}}};
18
+ ${t}`,v=p(Buffer.from(u,"latin1")),w=c.machineId||g.randomUUID(),x=c.machineToken||w,y=p(k),z=String(k.length);return{Authorization:`Bearer COSY.${s}.${v}`,"Cosy-Key":l,"Cosy-User":c.userId,"Cosy-Date":n,"Cosy-Version":j.ideVersion,"Cosy-Machineid":w,"Cosy-Machinetoken":x,"Cosy-Machinetype":j.machineType,"Cosy-Machineos":j.machineOs,"Cosy-Clienttype":j.clientType,"Cosy-Clientip":"127.0.0.1","Cosy-Bodyhash":y,"Cosy-Bodylength":z,"Cosy-Sigpath":t,"Cosy-Data-Policy":j.dataPolicy,"Cosy-Organization-Id":"","Cosy-Organization-Tags":"","Login-Version":j.loginVersion,"X-Request-Id":g.randomUUID()}}var r=c(9155),s=c(91576),t=c(94454);let u={chat_task:"FREE_INPUT",stream:!0,is_reply:!0,is_retry:!1,source:1,version:"3",agent_id:"agent_common",task_id:"common",aliyun_user_type:""},v=["name","tool_calls","tool_call_id","reasoning_content"];function w(a,b){"string"==typeof b&&b&&!a.includes(b)&&a.push(b)}function x(a){if("string"==typeof a)return a;if(null==a)return"";if(Array.isArray(a)){let b=[];for(let c of a)c&&"object"==typeof c&&"string"==typeof c.text&&b.push(c.text);return b.join("\n")}return"object"==typeof a&&"string"==typeof a.text?a.text:String(a)}async function y({model:a,body:b,credentials:c,log:d,proxyOptions:e,signal:f,profile:h=null,modelConfig:i=null,includeBusiness:j=!1}){let k=o(h),l=(0,t.stripThinkingSuffix)(String(a||"").replace(/^qoder\//,"")),m=i;if(m)m.key||(m={...m,key:l});else if(!(m=await (0,r.X5)(c,l,{log:d,proxyOptions:e,signal:f,profile:k}))){let a=await (0,r.EV)(c,{forceRefresh:!0,log:d,proxyOptions:e,signal:f,profile:k}),b=a?.rawConfigs.get(l);if(!b)throw Error(`qoder: model_config for "${l}" not yet known (inject modelConfig or fetch model list)`);m={...b,key:l}}let{messages:n,systemText:p,imageUrls:q}=function(a){if(!Array.isArray(a)||0===a.length)return{messages:[],systemText:"",imageUrls:[]};let b=[],c=[],d=[];for(let e of a){if(!e||"object"!=typeof e)continue;if("system"===e.role||"developer"===e.role){let a=x(e.content);a&&b.push(a);continue}let{content:a,imageUrls:f}=function a(b){if("string"==typeof b)return{content:b,imageUrls:[]};if(null==b)return{content:"",imageUrls:[]};if(!Array.isArray(b)&&"object"==typeof b)return a([b]);if(!Array.isArray(b))return{content:String(b),imageUrls:[]};let c=[],d=[];for(let a of b){if(null==a)continue;if("string"==typeof a){c.push({type:"text",text:a});continue}if("object"!=typeof a)continue;let b="string"==typeof a.type?a.type:"";if("text"===b||"string"==typeof a.text&&!b&&!a.image_url&&!a.binary){"string"==typeof a.text&&c.push({type:"text",text:a.text});continue}if("image_url"===b||a.image_url){let b,e=a.image_url??a,f="";if("string"==typeof e?f=e:e&&"object"==typeof e&&(f="string"==typeof e.url?e.url:"","string"==typeof e.detail&&e.detail&&(b=e.detail)),f||"string"!=typeof a.url||(f=a.url),!f)continue;let g=b?{url:f,detail:b}:{url:f};c.push({type:"image_url",image_url:g}),w(d,f);continue}if("binary"===b||a.binary||"string"==typeof a.data&&(a.mime_type||a.mimeType)){let b=a.binary&&"object"==typeof a.binary?a.binary:a,e="string"==typeof b.data?b.data:"",f="string"==typeof b.mime_type&&b.mime_type||"string"==typeof b.mimeType&&b.mimeType||"";if(!e||!f)continue;c.push({type:"binary",binary:{data:e,mime_type:f}}),e.startsWith("data:")&&w(d,e);continue}}return 0===c.length?{content:"",imageUrls:[]}:0===d.length&&c.every(a=>"text"===a.type&&"string"==typeof a.text)?{content:c.map(a=>a.text).join("\n"),imageUrls:[]}:{content:c,imageUrls:d}}(e.content);for(let a of f)w(d,a);let g=function(a){let b={role:a.role};for(let c of v)void 0!==a[c]&&(b[c]=a[c]);return b}(e);g.content=a,c.push(g)}return{messages:c,systemText:b.join("\n\n"),imageUrls:d}}(b?.messages||[]),z=Array.isArray(b?.tools)?b.tools:[],A=!!m.is_reasoning,B=Number(m.max_output_tokens)||0,C=32768;B>0&&(C=B),"number"==typeof b?.max_tokens&&b.max_tokens>0&&b.max_tokens<C&&(C=b.max_tokens),"number"==typeof b?.max_completion_tokens&&b.max_completion_tokens>0&&b.max_completion_tokens<C&&(C=b.max_completion_tokens);let D=function(a){for(let b=a.length-1;b>=0;b--){let c=a[b];if(c?.role!=="user")continue;let d=x(c.content);if(d)return d;if(Array.isArray(c.content)&&c.content.length)break;if("string"==typeof c.content)return c.content}return""}(b?.messages||n),E=c?.providerSpecificData||{},F=(0,g.randomUUID)(),G=(0,s.oV)({headers:c?.rawHeaders,body:b,connectionId:c?.connectionId||E.userId||l,scope:"qoder"}),H={max_tokens:C},I=function(a){if(!a||"object"!=typeof a)return;let b=a.reasoning_effort;if(null==b&&a.reasoning&&"object"==typeof a.reasoning&&(b=a.reasoning.effort),null==b)return;let c=String(b).trim().toLowerCase();return c?"disabled"===c||"off"===c?"none":"x-high"===c?"xhigh":"auto"!==c?c:void 0:void 0}(b);if(void 0!==I?H.reasoning_effort=I:A&&(H.reasoning_effort="high"),A&&"number"==typeof b?.max_thinking_tokens&&(H.max_thinking_tokens=b.max_thinking_tokens),void 0!==b?.tool_choice&&(H.tool_choice=b.tool_choice),"number"==typeof b?.context_length&&b.context_length>0)H.context_length=b.context_length;else if("number"==typeof b?.contextWindow&&b.contextWindow>0)H.context_length=b.contextWindow;else{let a=function(a){let b=a?.context_config;if(b&&"object"==typeof b){let a=0;for(let c of Object.values(b)){let b=Number(c?.token_count);Number.isFinite(b)&&b>a&&(a=b)}if(a>0)return a}let c=Number(a?.max_input_tokens);return Number.isFinite(c)&&c>0?c:void 0}(m);a&&(H.context_length=a)}let J=q.length?q:null,K={key:m.key||l,display_name:m.display_name||m.displayName||l,model:"",format:m.format||"openai",is_vl:!!m.is_vl,is_reasoning:!!m.is_reasoning,api_key:"",url:"",source:m.source||"system",max_input_tokens:m.max_input_tokens??2e5},L={request_id:F,request_set_id:F,chat_record_id:F,session_id:G,...u,session_type:k.sessionType,model_config:K,system:p,messages:n,tools:z,parameters:H,chat_context:function(a,b,c,d=null){return{text:a,features:[],extra:{context:[],modelConfig:{key:b,is_reasoning:!!c},originalContent:a},chatPrompt:"",imageUrls:d&&d.length?d:null}}(D,l,A,J)};return(j||k.includeBusiness)&&(L.business={product:k.businessProduct,version:k.businessVersion,type:k.businessType||"agent",stage:"init",id:(0,g.randomUUID)(),name:D&&D.length>30?`${D.slice(0,30)}...`:D||"",begin_at:Date.now()}),{qoderKey:l,payload:L,modelConfig:m}}async function z(a){return y(a)}var A=c(71483);let B=new Map,C="qodercli/1.0.0";function D(a){return"string"==typeof a&&a.startsWith("pt-")}async function E(a,b,c,e){let f=await (0,d.proxyAwareFetch)(b.jobTokenExchangeUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":C,"Cosy-Version":b.ideVersion,"Cosy-ClientType":b.clientType},body:JSON.stringify({personal_token:a}),signal:e},c);if(!f.ok){let a=await f.text().catch(()=>"");throw Error(`qoder PAT exchange failed: ${f.status} ${a.slice(0,200)}`)}let g=await f.json();if(!g.token)throw Error("qoder PAT exchange returned no job token");let h=Date.now()+864e5;if(g.expires_at){let a=Date.parse(g.expires_at);Number.isNaN(a)||(h=a)}else"number"==typeof g.expires_in&&g.expires_in>0&&(h=Date.now()+g.expires_in);return{jobToken:g.token,jobRefreshToken:g.refresh_token||"",expiresAt:h}}async function F(a,b,c,e){try{let f=await (0,d.proxyAwareFetch)(b.userInfoUrl,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":C},signal:e},c);if(!f.ok)return"";let g=await f.json().catch(()=>({}));return g.id||g.userId||g.user_id||""}catch{return""}}async function G(a,b={}){let c=o(b.profile),d=b.proxyOptions??null,e=b.signal??null,f=`${c.id}:${a}`,g=B.get(f);if(g&&g.expiresAt-Date.now()>3e5)return g;let{jobToken:h,expiresAt:i}=await E(a,c,d,e),j=await F(h,c,d,e),k={accessToken:h,userId:j,expiresAt:i};return B.set(f,k),k}async function H({model:a,body:b,credentials:c,signal:g,log:h,proxyOptions:i=null,profile:j=null,timeoutMs:k=null,modelConfig:l=null,fetchImpl:m=null,includeBusiness:n=!1}){let p,r,s,t,u=o(j),v=u.chatUrl,w=c?.accessToken||c?.apiKey;if(D(w))try{let a=await G(w,{profile:u,proxyOptions:i,signal:g});c={...c,accessToken:a.accessToken,apiKey:void 0,providerSpecificData:{authMethod:"pat",...c?.providerSpecificData||{},userId:a.userId||c?.providerSpecificData?.userId||"",machineId:c?.providerSpecificData?.machineId||"",machineToken:c?.providerSpecificData?.machineToken||""}}}catch(a){return h?.error?.("QODER",`PAT exchange failed: ${a.message}`),{response:new Response(JSON.stringify({error:{message:`qoder PAT exchange failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let x=c?.providerSpecificData||{};if(!x.userId)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing userId; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};if(!c?.accessToken)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing accessToken; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};try{({qoderKey:p,payload:r}=await z({model:a,body:b,credentials:c,log:h,proxyOptions:i,signal:g,profile:u,modelConfig:l,includeBusiness:n}))}catch(a){return{response:new Response(JSON.stringify({error:{message:a.message}}),{status:400,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let y=function(a){let b=(Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"utf8"):Buffer.from(a)).toString("base64"),c=b.length,d=Math.floor(c/3),e=b.slice(c-d)+b.slice(d,c-d)+b.slice(0,d),g=Buffer.alloc(c);for(let a=0;a<c;a++){let b=e.charCodeAt(a);b<128&&f[b]>=0?g[a]=f[b]:g[a]=b}return g.toString("latin1")}(Buffer.from(JSON.stringify(r),"utf8")),B=Buffer.from(y,"latin1");try{s=q(B,v,{userId:x.userId,authToken:c.accessToken,name:c.displayName||"",email:c.email||"",machineId:x.machineId||"",machineToken:x.machineToken||x.machineId||""},u)}catch(a){return{response:new Response(JSON.stringify({error:{message:`qoder cosy signing failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let C={"Content-Type":"application/json",Accept:"text/event-stream","Cache-Control":"no-cache","X-Model-Key":p,"X-Model-Source":r.model_config&&r.model_config.source||"system","Accept-Encoding":"identity",...s},E=k||e.pH,F=new AbortController,I=setTimeout(()=>F.abort(Error("fetch connect timeout")),E),J=g?AbortSignal.any([g,F.signal]):F.signal;try{let a={method:"POST",headers:C,body:B,signal:J};t="function"==typeof m?await m(v,a):await (0,d.proxyAwareFetch)(v,a,{...i,strictProxy:!0})}catch(a){if(J.aborted)throw J.reason;throw a}finally{clearTimeout(I)}return t.ok?{response:await (0,A.ZU)(t,`qoder/${p}`,h),url:v,headers:C,transformedBody:r}:{response:t,url:v,headers:C,transformedBody:r}}let I=new Map,J=new Map;async function K(a,b,c=null,e=null){let f,g,i={userId:(g=a?.providerSpecificData||{}).userId,authToken:a.accessToken,name:a.displayName||"",email:a.email||"",machineId:g.machineId||"",machineToken:g.machineToken||g.machineId||""};if(!i.userId||!i.authToken)return null;let j=o(e),k="cn"===j.id||"cn-work"===j.id?j.modelListUrl:`${(0,h.e9)(a,j.id)}/algo/api/v2/model/list?Encode=1`,l={Accept:"application/json","Accept-Encoding":"identity",...q(Buffer.alloc(0),k,i,j)},m=new AbortController,n=null,p=null;try{n=setTimeout(()=>m.abort("timeout"),15e3),b&&"function"==typeof b.addEventListener&&(b.aborted?m.abort(b.reason):(p=()=>m.abort(b.reason),b.addEventListener("abort",p))),f=await (0,d.proxyAwareFetch)(k,{method:"GET",headers:l,signal:m.signal},c)}finally{n&&clearTimeout(n),b&&p&&b.removeEventListener("abort",p)}if(!f.ok)return null;let r=await f.json().catch(()=>null);if(!r||!Array.isArray(r.chat))return null;let s=[],t=new Map;for(let a of r.chat){if(!a||"object"!=typeof a)continue;let b=a.key;if(!b)continue;t.set(b,a);let c=a.display_name||a.displayName||a.name||a.title||b,d=Number(a.max_input_tokens)||131072;s.push({id:b,name:`${c}`,contextLength:d,isVL:!!a.is_vl,isReasoning:!!a.is_reasoning,maxOutputTokens:Number(a.max_output_tokens)||0,description:a.description||"",enabled:!1!==a.enable})}return{models:s,rawConfigs:t}}async function L(a,b,c={}){let d=await M(a,c);if(!d)return null;let e=d.rawConfigs.get(b);return e?{...e,key:b}:null}async function M(a,b={}){let c;if(!a?.accessToken||!(a.providerSpecificData||{}).userId)return null;let d=(c=(a?.providerSpecificData||{}).userId||a?.refreshToken||a?.accessToken||"anonymous",(0,g.createHash)("sha256").update(`qoder:${c}`).digest("hex")),e=Date.now();if(!b.forceRefresh){let a=I.get(d);if(a&&a.expiresAt>e)return a}let f=J.get(d);if(f&&!b.forceRefresh)return f;let h=(async()=>{let c=await K(a,b.signal,b.proxyOptions,b.profile);if(!c)return null;let e={expiresAt:Date.now()+36e5,models:c.models,rawConfigs:c.rawConfigs,fetched:!0};return I.set(d,e),e})();J.set(d,h);try{return await h}finally{J.get(d)===h&&J.delete(d)}}},91576:(a,b,c)=>{c.d(b,{E9:()=>s,RF:()=>i,YC:()=>r,oV:()=>q});var d=c(55511),e=c(60290);let f=new Map,g=new Map,h=setInterval(()=>{let a=Date.now();for(let[b,c]of f)a-c.lastUsed>e.v1.sessionTtlMs&&f.delete(b)},e.v1.sessionCleanupIntervalMs);function i(a){if(!a)return j();let b=f.get(a);if(b)return b.lastUsed=Date.now(),f.delete(a),f.set(a,b),b.sessionId;if(f.size>=1e3){let a=f.keys().next().value;f.delete(a)}let c=j();return f.set(a,{sessionId:c,lastUsed:Date.now()}),c}function j(){return d.randomUUID()+Date.now().toString()}h.unref&&h.unref();let k=new Map,l=["x-session-id","session-id","session_id","x-amp-thread-id"],m=/_session_([a-f0-9-]+)$/;function n(a){if("string"!=typeof a)return null;let b=a.trim();return!b||b.length>256?null:b}function o(a,b){return a&&"object"==typeof a?n(a[b]??a[b.toLowerCase()]):null}let p=/^[a-z]+\/([0-9a-f-]{36})\//i;function q(a={}){return function({headers:a,body:b,connectionId:c,workspaceId:e,scope:f=""}={}){let g=function(a,b,c=""){let d=function(a){if("string"!=typeof a||!a)return null;let b=a.match(m);if(b)return b[1];if("{"===a[0])try{return n(JSON.parse(a)?.session_id)}catch{}return null}(b?.metadata?.user_id)||o(a,"x-claude-code-session-id");if(d)return"claude"===c?d:`claude:${d}`;let e=function(a){let b=a?.request?.sessionId;if(null!=b&&""!==b)return n(String(b));let c="string"==typeof a?.requestId?a.requestId.match(p):null;return c?n(c[1]):null}(b);if(e)return`antigravity:${e}`;for(let b of l){let c=o(a,b);if(c)return c}let f="kiro"===c?null:o(a,"x-client-request-id");return f||n(b?.prompt_cache_key)||n(b?.session_id)||n(b?.conversation_id)||("kiro"===c?null:n(b?.metadata?.user_id))||null}(a,b,f);if(g)return{sessionId:g,ephemeral:!1};let h="kiro"===f?null:function(a,b){var c;let e=function(a){let b=Array.isArray(a?.messages)?a.messages:Array.isArray(a?.input)?a.input:[];if(!b)return"";let c="";for(let a of b)if(a?.role==="assistant"){if("string"==typeof a.content)c+=a.content;else if(Array.isArray(a.content))for(let b of a.content)c+=b?.text||b?.output||"";if(c.length>=50)break}return c}(b);if(e.length<50)return null;let f=(c=`${a}:${e.slice(0,50)}`,d.createHash("sha256").update(c).digest("hex").slice(0,16)),g=k.get(f);if(g)return g.lastUsed=Date.now(),k.delete(f),k.set(f,g),g.sessionId;k.size>=5e3&&k.delete(k.keys().next().value);let h=j();return k.set(f,{sessionId:h,lastUsed:Date.now()}),h}(`${f}:${c||""}`,b);if(h)return{sessionId:h,ephemeral:!1};let q=n(e);return q?{sessionId:q,ephemeral:!1}:"kiro"===f?{sessionId:j(),ephemeral:!0}:{sessionId:i(c),ephemeral:!1}}(a).sessionId}function r(a,b,c,d=""){return q({headers:b?.rawHeaders,body:a,connectionId:c,scope:d})}function s(a){let b=n(a);if(!b)return null;if(/^-?\d+$/.test(b))return b;let c=0x7fffffffffffffffn&d.createHash("sha256").update(b).digest().readBigUInt64BE(0);return`-${c.toString()}`}let t=setInterval(()=>{let a=Date.now();for(let[b,c]of k)a-c.lastUsed>e.v1.sessionTtlMs&&k.delete(b);for(let[b,c]of g)a-c.lastUsed>e.v1.sessionTtlMs&&g.delete(b)},e.v1.sessionCleanupIntervalMs);t.unref&&t.unref()}};
@@ -1 +1 @@
1
- "use strict";exports.id=4646,exports.ids=[4646],exports.modules={84646:(a,b,c)=>{c.d(b,{PROVIDER_PRICING:()=>g,ad:()=>k,calculateCostFromTokens:()=>m,gH:()=>i,getPricingForModel:()=>j});let d=["cline-free/"],e={input:0,output:0,cached:0,reasoning:0,cache_creation:0},f={"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-opus-5-5-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-5-5":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-5-5-high":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-5-5-medium":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-5-5-low":{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},"claude-sonnet-5-5":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-thinking":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-high":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-medium":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-low":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.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.4":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5,long_context:{threshold:272e3,input:5,output:22.5,cached:.5,reasoning:22.5,cache_creation:5}},"gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5,cache_creation:.75},"gpt-5.4-nano":{input:.2,output:1.25,cached:.02,reasoning:1.25,cache_creation:.2},"gpt-5.5":{input:5,output:30,cached:.5,reasoning:30,cache_creation:5,long_context:{threshold:272e3,input:10,output:45,cached:1,reasoning:45,cache_creation:10}},"gpt-5.6":{input:4,output:20,cached:.4,reasoning:20,cache_creation:5,long_context:{threshold:272e3,input:8,output:30,cached:.8,reasoning:30,cache_creation:10}},"gpt-5.6-luna":{input:.2,output:1.2,cached:.02,reasoning:1.2,cache_creation:.25,long_context:{threshold:272e3,input:.4,output:1.8,cached:.04,reasoning:1.8,cache_creation:.5}},"gpt-5.6-terra":{input:2,output:12,cached:.2,reasoning:12,cache_creation:2.5,long_context:{threshold:272e3,input:4,output:18,cached:.4,reasoning:18,cache_creation:5}},"gpt-5.6-sol":{input:4,output:20,cached:.4,reasoning:20,cache_creation:5,long_context:{threshold:272e3,input:8,output:30,cached:.8,reasoning:30,cache_creation:10}},"gpt-6-astra":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5,long_context:{threshold:272e3,input:20,output:75,cached:2,reasoning:75,cache_creation:25}},"gpt-6.1-sol":{input:2,output:10,cached:.1,reasoning:10,cache_creation:2.5},"gpt-6-sol":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"gpt-6-luna":{input:.1,output:.5,cached:.01,reasoning:.5,cache_creation:.125},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-4-argon":{input:2,output:10},"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-latest":{input:.04,output:.1,cached:.01,reasoning:.1,cache_creation:.04},"deepseek-v4-flash":{input:.05,output:.16,cached:.013,reasoning:.16,cache_creation:.05},"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},"glm-5.1":{input:.95,output:3.15,cached:.179,reasoning:3.15,cache_creation:.95},"glm-5.3-flash":{input:.15,output:.5,cached:.03,reasoning:.5,cache_creation:.15},"glm-5.3":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"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},"grok-4.5":{input:2,output:6,cached:.3,reasoning:6,cache_creation:2,long_context:{threshold:2e5,inclusive:!0,input:4,output:12,cached:.6,reasoning:12,cache_creation:4}},"grok-4.6":{input:2,output:6,cached:.5,reasoning:6,cache_creation:2,long_context:{threshold:2e5,inclusive:!0,input:4,output:12,cached:1,reasoning:12,cache_creation:4}},"muse-spark-1.3":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.2":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.1":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.3-contributor":{input:.1,output:.2,cached:.002,reasoning:.2,cache_creation:0},"muse-spark-1.2-contributor":{input:.1,output:.2,cached:.002,reasoning:.2,cache_creation:0},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}},g={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}}},h=[{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-v4-flash*",pricing:{input:.04,output:.1,cached:.01,reasoning:.1,cache_creation:.04}},{pattern:"deepseek-v4-pro*",pricing:{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:.435}},{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.3-flash*",pricing:{input:.15,output:.5,cached:.075,reasoning:.5,cache_creation:.15}},{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 i(a,b){return RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$","i").test(b)}function j(a,b){if(!b)return null;if(a&&g[a]?.[b])return g[a][b];if(function(a){if(!a)return!1;let b=String(a).toLowerCase();return d.some(a=>b.startsWith(a))}(b))return e;let c=b.includes("/")?b.split("/").pop():b;if(f[c])return f[c];if(f[b])return f[b];for(let{pattern:a,pricing:d}of h)if(i(a,c)||i(a,b))return d;return null}function k(){return g}function l(a){if(null==a||""===a)return null;let b=Number(a);return Number.isFinite(b)&&b>=0?b:null}function m(a,b){if(!a)return 0;let c=l(a.cost_usd??a.cost_in_usd);if(null!==c)return c;let d=l(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 i=a.reasoning_tokens||0;i>0&&(e+=i*((b.reasoning||b.output)/1e6)),h>0&&(e+=h*((b.cache_creation||b.input)/1e6));let j=Number(a.pricing_multiplier);return e*(Number.isFinite(j)&&j>0?j:1)}}};
1
+ "use strict";exports.id=4646,exports.ids=[4646],exports.modules={84646:(a,b,c)=>{c.d(b,{PROVIDER_PRICING:()=>g,ad:()=>k,calculateCostFromTokens:()=>m,gH:()=>i,getPricingForModel:()=>j});let d=["cline-free/"],e={input:0,output:0,cached:0,reasoning:0,cache_creation:0},f={"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-opus-5-5-thinking":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-opus-5-5":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-opus-5-5-high":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-opus-5-5-medium":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-opus-5-5-low":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-fable-5":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5},"claude-sonnet-5-5":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-thinking":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-high":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-medium":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-low":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.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.4":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5,long_context:{threshold:272e3,input:5,output:22.5,cached:.5,reasoning:22.5,cache_creation:5}},"gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5,cache_creation:.75},"gpt-5.4-nano":{input:.2,output:1.25,cached:.02,reasoning:1.25,cache_creation:.2},"gpt-5.5":{input:5,output:30,cached:.5,reasoning:30,cache_creation:5,long_context:{threshold:272e3,input:10,output:45,cached:1,reasoning:45,cache_creation:10}},"gpt-5.6":{input:4,output:20,cached:.4,reasoning:20,cache_creation:5,long_context:{threshold:272e3,input:8,output:30,cached:.8,reasoning:30,cache_creation:10}},"gpt-5.6-luna":{input:.2,output:1.2,cached:.02,reasoning:1.2,cache_creation:.25,long_context:{threshold:272e3,input:.4,output:1.8,cached:.04,reasoning:1.8,cache_creation:.5}},"gpt-5.6-terra":{input:2,output:12,cached:.2,reasoning:12,cache_creation:2.5,long_context:{threshold:272e3,input:4,output:18,cached:.4,reasoning:18,cache_creation:5}},"gpt-5.6-sol":{input:4,output:20,cached:.4,reasoning:20,cache_creation:5,long_context:{threshold:272e3,input:8,output:30,cached:.8,reasoning:30,cache_creation:10}},"gpt-6-astra":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5,long_context:{threshold:272e3,input:20,output:75,cached:2,reasoning:75,cache_creation:25}},"gpt-6.1-sol":{input:2,output:10,cached:.1,reasoning:10,cache_creation:2.5},"gpt-6-sol":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"gpt-6-luna":{input:.1,output:.5,cached:.01,reasoning:.5,cache_creation:.125},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},"agnes-3.0-pro":{input:.45,output:.9,cached:.045},"gemini-4-argon":{input:2,output:10},"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-latest":{input:.04,output:.1,cached:.01,reasoning:.1,cache_creation:.04},"deepseek-v4-flash":{input:.05,output:.16,cached:.013,reasoning:.16,cache_creation:.05},"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},"glm-5.1":{input:.95,output:3.15,cached:.179,reasoning:3.15,cache_creation:.95},"glm-5.3-flash":{input:.15,output:.5,cached:.03,reasoning:.5,cache_creation:.15},"glm-5.3":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"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},"grok-4.5":{input:2,output:6,cached:.3,reasoning:6,cache_creation:2,long_context:{threshold:2e5,inclusive:!0,input:4,output:12,cached:.6,reasoning:12,cache_creation:4}},"grok-4.6":{input:2,output:6,cached:.5,reasoning:6,cache_creation:2,long_context:{threshold:2e5,inclusive:!0,input:4,output:12,cached:1,reasoning:12,cache_creation:4}},"muse-spark-1.3":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.2":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.1":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.3-contributor":{input:.1,output:.2,cached:.002,reasoning:.2,cache_creation:0},"muse-spark-1.2-contributor":{input:.1,output:.2,cached:.002,reasoning:.2,cache_creation:0},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}},g={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}}},h=[{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-v4-flash*",pricing:{input:.04,output:.1,cached:.01,reasoning:.1,cache_creation:.04}},{pattern:"deepseek-v4-pro*",pricing:{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:.435}},{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.3-flash*",pricing:{input:.15,output:.5,cached:.075,reasoning:.5,cache_creation:.15}},{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 i(a,b){let c=i._cache||(i._cache=new Map),d=c.get(a);return void 0===d&&(d=RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$","i"),c.set(a,d)),d.test(b)}function j(a,b){if(!b)return null;if(a&&g[a]?.[b])return g[a][b];if(function(a){if(!a)return!1;let b=String(a).toLowerCase();return d.some(a=>b.startsWith(a))}(b))return e;let c=b.includes("/")?b.split("/").pop():b;if(f[c])return f[c];if(f[b])return f[b];for(let{pattern:a,pricing:d}of h)if(i(a,c)||i(a,b))return d;return null}function k(){return g}function l(a){if(null==a||""===a)return null;let b=Number(a);return Number.isFinite(b)&&b>=0?b:null}function m(a,b){if(!a)return 0;let c=l(a.cost_usd??a.cost_in_usd);if(null!==c)return c;let d=l(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 i=a.reasoning_tokens||0;i>0&&(e+=i*((b.reasoning||b.output)/1e6)),h>0&&(e+=h*((b.cache_creation||b.input)/1e6));let j=Number(a.pricing_multiplier);return e*(Number.isFinite(j)&&j>0?j:1)}}};
@@ -1,54 +1,4 @@
1
- "use strict";exports.id=4704,exports.ids=[4704],exports.modules={970:(a,b,c)=>{c.d(b,{EV:()=>g,X5:()=>d.X5,_M:()=>f});var d=c(53023),e=c(45914);async function f(a,b=null,c=null,g=null){let h=a?.apiKey||a?.accessToken;if(!(0,d.zh)(h))return{...a,accessToken:h,apiKey:h};let i=g||(0,e.ty)(a?.provider);try{let e=await (0,d.JQ)(h,{profile:i,proxyOptions:b,signal:c});return{...a,accessToken:e.accessToken,providerSpecificData:{...a?.providerSpecificData||{},userId:e.userId||a?.providerSpecificData?.userId||""}}}catch(b){return{...a,accessToken:h,apiKey:h}}}async function g(a,b={}){let c=b.region||(0,e.ty)(a?.provider),h=await f(a,b.proxyOptions,b.signal,c),i=b.profile||c;return(0,d.EV)(h,{...b,profile:i})}},19016:(a,b,c)=>{c.d(b,{$U:()=>d,pb:()=>e,uB:()=>f});let d="data: [DONE]\n\n",e={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"},f={"Content-Type":"text/event-stream","Cache-Control":"no-cache","X-Accel-Buffering":"no"}},19040:(a,b,c)=>{c.d(b,{k:()=>q,t:()=>r});var d=c(19303),e=c(71253),f=c(43835),g=c(15251),h=c(78492);let i=["none","low","medium","high"],j=["none","thinking"],k=["none","low","medium","high","max"],l=["none","low","medium","high","xhigh","max"],m={qoder:l,openai:["none","minimal","low","medium","high","xhigh"],"claude-adaptive":l,"claude-budget":l,"gemini-level":["minimal","low","medium","high"],"gemini-budget":i,zai:j,qwen:i,kimi:k,opencode:k,deepseek:["none","high","max"],minimax:j,hunyuan:i,step:i,nous:i,meta:["minimal","low","medium","high","xhigh"],ollama:k},n=["none","minimal","low","medium","high","xhigh","max"],o=["none","low","medium","high","max"],p=[{pattern:"*claude*4.6*",levels:o},{pattern:"*claude*4-6*",levels:o},{provider:"codex",pattern:"*gpt-6*",levels:n},{provider:"codex",pattern:"*gpt-5.6-sol*",levels:[...n,"ultra"]},{provider:"codex",pattern:"*gpt-5.6-terra*",levels:[...n,"ultra"]},{provider:"codex",pattern:"*gpt-5.6-luna*",levels:n},{providers:["openai","codex"],pattern:"*gpt-5.6*",levels:["none","minimal","low","medium","high","xhigh","max","ultra"]},{pattern:"*codex*",levels:["low","medium","high","xhigh"]},{pattern:"*mimo*v2.6*",levels:["none","low","medium","high","xhigh"]},{pattern:"*mimo*v2.5-pro*",levels:["none","low","medium","high","xhigh"]},{provider:"ollama",pattern:"*gpt-oss*",levels:["none","low","medium","high"]},{provider:"ollama-local",pattern:"*gpt-oss*",levels:["none","low","medium","high"]},{provider:"qoder",pattern:"*",levels:l},{pattern:"*deepseek-v4.*",levels:["none","low","medium","high","xhigh","max"]},{provider:"codebuddy-cn",pattern:"glm-5.3*",levels:["low","high","max"]},{provider:"codebuddy-cn",pattern:"glm-5.2",levels:["high","xhigh"]},{provider:"codebuddy-cn",pattern:"deepseek-v4*",levels:["low","high","xhigh"]},{provider:"codebuddy-cn",pattern:"hy3*",levels:["low","high"]},{provider:"codebuddy-cn",pattern:"hy4*",levels:["high"]},{provider:"codebuddy-intl",pattern:"deepseek-v4*",levels:["low","high","xhigh"]}];function q(a,b){if("kiro"===a&&null===(0,f.pA)(b))return null;let c=(0,d.getCapabilitiesForModel)(a,b);if(!c.reasoning)return null;let j=String(b||"").replace(/\([^()]+\)\s*$/,""),k="codex"===a?(0,h.SM)("cx").find(a=>a.id===j)?.thinkingLevels:null,l=p.find(c=>(!c.providers||!a||c.providers.includes(a))&&(!c.provider||c.provider===a)&&(0,e.gH)(c.pattern,b)),n=(a?g.xq[a]?.thinkingFormat:null)||c.thinkingFormat,o=k||c.thinkingLevels||l?.levels||m[n]||i;return!1===c.thinkingCanDisable&&(o=o.filter(a=>"none"!==a)),o}function r(a,b,c){return q(a,b)?.includes(c)===!0}},26317:(a,b,c)=>{c.d(b,{Dl:()=>d,Vp:()=>h,nE:()=>e,vz:()=>g,wd:()=>f});let d={none:0,minimal:512,low:1024,medium:8192,high:24576,xhigh:32768,max:128e3};function e(a){if(a)return d[String(a).toLowerCase()]}function f(a){let b=String(a).toLowerCase().trim();return"none"===b||"off"===b?"minimal":"xhigh"===b||"max"===b?"high":b}function g(a){let b=Number(a);return!b||b<=0?null:b<=768?"minimal":b<=4096?"low":b<=16384?"medium":b<=28672?"high":b<=80384?"xhigh":"max"}function h(a){return!a||a<=0?null:a<=2048?"low":a<=16384?"medium":"high"}},39541:(a,b,c)=>{c.d(b,{NU:()=>k,kD:()=>i,sS:()=>j,z:()=>t});var d=c(19303),e=c(19040),f=c(15251),g=c(26317);let h={openai:"openai","openai-responses":"openai","openai-response":"openai",codex:"openai",claude:"claude-budget",gemini:"gemini-budget","gemini-cli":"gemini-budget",vertex:"gemini-budget",antigravity:"gemini-budget",kiro:"kiro",ollama:"ollama"};function i(a){if("string"!=typeof a)return a;let b=a.match(/^(.*)\([^()]+\)\s*$/);return b?b[1].trim():a}function j(a){if(!a||"object"!=typeof a)return null;let b=a.reasoning_effort??("object"==typeof a.reasoning?a.reasoning?.effort:null);if("string"==typeof b&&b){let a=b.toLowerCase();return"none"===a||"off"===a?{mode:"none"}:"auto"===a?{mode:"auto"}:{mode:"level",level:a}}let c=a.output_config?.effort;if("string"==typeof c&&c){let a=c.toLowerCase();return"none"===a||"off"===a?{mode:"none"}:"auto"===a?{mode:"auto"}:{mode:"level",level:a}}let d=a.thinking;if(d&&"object"==typeof d){if("disabled"===d.type)return{mode:"none"};if("adaptive"===d.type||"enabled"===d.type){let a=Number(d.budget_tokens);return Number.isFinite(a)&&a>0?{mode:"budget",budget:a}:{mode:"auto"}}}if(void 0!==a.think){let b=a.think;if(!1===b)return{mode:"none"};if(!0===b)return{mode:"auto"};if("string"==typeof b){let a=b.toLowerCase().trim();if("none"===a||"off"===a||"false"===a)return{mode:"none"};if("auto"===a||"true"===a)return{mode:"auto"};if("minimal"===a||"low"===a||"medium"===a||"high"===a||"max"===a||"xhigh"===a)return{mode:"level",level:"xhigh"===a?"max":a};if(a)return{mode:"level",level:a}}return b?{mode:"auto"}:{mode:"none"}}let e=a.additionalModelRequestFields;if(e&&"object"==typeof e){let a=e.output_config?.effort||e.thinking?.effort;if("string"==typeof a&&a)return{mode:"level",level:a.toLowerCase()};let b=e.reasoning?.effort;if("string"==typeof b&&b)return{mode:"level",level:b.toLowerCase()}}let f=a.thinkingConfig||a.generationConfig?.thinkingConfig||a.request?.generationConfig?.thinkingConfig;if(f&&"object"==typeof f){if("string"==typeof f.thinkingLevel)return{mode:"level",level:f.thinkingLevel.toLowerCase()};let a=Number(f.thinkingBudget);if(Number.isFinite(a))return 0===a?{mode:"none"}:a<0?{mode:"auto"}:{mode:"budget",budget:a}}if(!1===a.enable_thinking)return{mode:"none"};if(!0===a.enable_thinking){let b=Number(a.thinking_budget);return Number.isFinite(b)&&b>0?{mode:"budget",budget:b}:{mode:"auto"}}return null}function k(a){let b=j(a);if(!b||"none"===b.mode)return b;let c=function(a){if(a.reasoning&&"object"==typeof a.reasoning){let b=a.reasoning.summary;return"string"==typeof b&&b&&"none"!==b?"summarized":void 0}if("string"==typeof a.reasoning_effort)return"summarized"}(a);return c?{...b,display:c}:b}let l=new Set(["gemini-level","gemini-budget","claude-budget","claude-adaptive","kiro"]);function m(a,b){let c;if("budget"===a.mode)c=a.budget;else if("level"===a.mode)c=(0,g.nE)(a.level);else if("auto"===a.mode)return -1;if(Number.isFinite(c))return b&&(null!=b.min&&c<b.min&&(c=b.min),null!=b.max&&c>b.max&&(c=b.max)),c}function n(a){return"level"===a.mode?a.level:"budget"===a.mode?(0,g.vz)(a.budget)||"medium":"auto"===a.mode?"auto":null}let o={minimal:4096,low:8192,medium:16384,high:65535};function p(a){return a.request&&"object"==typeof a.request?(a.request.generationConfig&&"object"==typeof a.request.generationConfig||(a.request.generationConfig={}),a.request.generationConfig):(a.generationConfig&&"object"==typeof a.generationConfig||(a.generationConfig={}),a.generationConfig)}function q(a,b){p(a).thinkingConfig=b}function r(a,b,c){let d=Number.isFinite(c?.maxOutput)?c.maxOutput:b,e=Math.min(b,d),f=p(a),g=Number(f.maxOutputTokens);(!Number.isFinite(g)||g<e)&&(f.maxOutputTokens=e)}function s(a){delete a.thinking,delete a.reasoning_effort,delete a.reasoning,delete a.thinkingConfig,delete a.enable_thinking,delete a.thinking_budget,delete a.output_config,delete a.think,a.generationConfig&&delete a.generationConfig.thinkingConfig,a.request?.generationConfig&&delete a.request.generationConfig.thinkingConfig}function t(a,b,c,i=null,k){if(!c||"object"!=typeof c)return c;let{cleanModel:p,override:u}=function(a){if("string"!=typeof a)return{cleanModel:a,override:null};let b=a.match(/^(.*)\(([^()]+)\)\s*$/);if(!b)return{cleanModel:a,override:null};let c=b[1].trim(),d=b[2].trim().toLowerCase();return"none"===d||"off"===d?{cleanModel:c,override:{mode:"none"}}:"auto"===d?{cleanModel:c,override:{mode:"auto"}}:/^\d+$/.test(d)?{cleanModel:c,override:{mode:"budget",budget:Number(d)}}:"ultra"===d?{cleanModel:c,override:{mode:"level",level:"ultra"}}:void 0!==g.Dl[d]?{cleanModel:c,override:{mode:"level",level:d}}:{cleanModel:c,override:null}}(b),v=u||k||j(c),w=(0,d.getCapabilitiesForModel)(i,p);if(!w.reasoning)return s(c),c;if(!v)return c;let x=function(a,b,c){if("string"==typeof c&&c.startsWith("openai-compatible-"))return"openai";let e=c?f.xq[c]?.thinkingFormat:null;if(e)return e;let g=(0,d.getCapabilitiesForModel)(c,b);return g.thinkingFormat&&!(("openai"===a||"openai-responses"===a)&&l.has(g.thinkingFormat))?g.thinkingFormat:h[a]||"openai"}(a,p,i),y="string"==typeof c.thinking?.display?c.thinking.display:k?.display;return s(c),!function(a,b,c,d,f,h,i){var j;let k="none"===c.mode,l=!1!==d.thinkingCanDisable,p=k&&!l?{mode:"level",level:"minimal"}:c;switch(a){case"openai":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);a&&(b.reasoning_effort="max"!==a||(0,e.t)(f,h,"max")?a:"xhigh");break}case"qoder":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);a&&(b.reasoning_effort=a);break}case"claude-adaptive":{if(k&&l){b.thinking={type:"disabled"};break}l?b.thinking={type:"adaptive",...i?{display:i}:{}}:delete b.thinking;let a=n(p);b.output_config={effort:"auto"!==a&&a?"minimal"===a?"low":"xhigh"!==a||(0,e.t)(f,h,"xhigh")?a:"high":"high"};break}case"claude-budget":{if(k&&l){b.thinking={type:"disabled"};break}let a=m(p,d.thinkingRange);b.thinking=-1===a?{type:"enabled",...i?{display:i}:{}}:{type:"enabled",budget_tokens:a||8192,...i?{display:i}:{}};break}case"gemini-level":{let a,c=k?"minimal":(a="auto"===p.mode?"high":n(p)||"high",(0,g.wd)(a));q(b,{thinkingLevel:c,includeThoughts:"minimal"!==c}),r(b,o[c]||o.high,d);break}case"gemini-budget":{if(k&&l){q(b,{thinkingBudget:0,includeThoughts:!1});break}let a=m(p,d.thinkingRange);q(b,{thinkingBudget:a??-1,includeThoughts:!0}),r(b,-1!==(j=a??-1)&&Number.isFinite(j)?j<=1024?8192:j<=8192?16384:j<=24576?32768:65535:32768,d);break}case"zai":if(k&&l){b.enable_thinking=!1,delete b.thinking;break}if(b.thinking={type:"enabled"},d.thinkingEffortSupported){let a=n(p);b.reasoning_effort="low"===a||"minimal"===a?"low":"high"===a||"medium"===a?"high":"max"}break;case"qwen":{if(k&&l){b.enable_thinking=!1;break}b.enable_thinking=!0;let a=m(p,d.thinkingRange);Number.isFinite(a)&&a>0&&(b.thinking_budget=a);break}case"deepseek":{if(k&&l){b.thinking={type:"disabled"};break}b.thinking={type:"enabled"};let a=n(p),c="xhigh"===a||"max"===a?"max":"high";b.reasoning_effort="max"!==c||(0,e.t)(f,h,"max")?c:"high";break}case"kimi":{let a;if(k&&l){b.thinking={type:"disabled"};break}let c="auto"===(a=n(p))?"high":"minimal"===a?"low":"xhigh"===a?"max":["low","medium","high","max"].includes(a)?a:null;c&&(b.reasoning_effort=c);break}case"ollama":{if(k&&l){b.think=!1;break}let a=function(a,b){if(!a)return null;if("auto"===a.mode)return!0;let c=n(a);return!c||"auto"===c||("minimal"===c?"low":"xhigh"===c?"max":["low","medium","high","max"].includes(c)?"max"===c&&b&&!b.includes("max")?"high":c:"medium")}(p,d?.thinkingLevels);null!=a&&(b.think=a);break}case"opencode":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);if(!a||"auto"===a)break;b.reasoning_effort="xhigh"===a||"ultra"===a?"max":"minimal"===a?"low":a;break}case"minimax":b.thinking={type:k&&l?"disabled":"adaptive"};break;case"hunyuan":{if(k&&l){b.thinking={type:"disabled"};break}let a=m(p,d.thinkingRange);b.thinking=-1===a?{type:"enabled"}:{type:"enabled",budget_tokens:a||8192};break}case"step":{if(k&&l)break;let a=n(p);a&&(b.reasoning_effort="xhigh"===a||"max"===a?"high":a);break}case"nous":{if(k&&l)break;let a="auto"===p.mode?"medium":n(p);b.reasoning={enabled:!0,...a?{effort:a}:{}};break}case"meta":{let a=n(p);if("none"===a)break;a&&(b.reasoning_effort="max"===a||"ultra"===a?"xhigh":a)}}}(x,c,v,w,i,p,y),c}},43835:(a,b,c)=>{c.d(b,{$D:()=>w,Oj:()=>i,P9:()=>n,QR:()=>k,We:()=>l,Zm:()=>h,aZ:()=>x,cr:()=>r,if:()=>v,pA:()=>q,rG:()=>m,rx:()=>j,yh:()=>s});var d=c(39541),e=c(26317);let f="-agentic",g="-thinking",h=64,i=10237,j="AmazonCodeWhispererStreamingService.GenerateAssistantResponse",k=new Set([401,403,404]);function l(a){return"google"===a||"github"===a?"arn:aws:codewhisperer:us-east-1:699475941385:profile/EHGA3GRVQMUK":"arn:aws:codewhisperer:us-east-1:638616132270:profile/AAAACCCCXXXX"}let m=`
2
- # CRITICAL: CHUNKED WRITE PROTOCOL (MANDATORY)
3
-
4
- You MUST follow these rules for ALL file operations. Violation causes server timeouts and task failure.
5
-
6
- ## ABSOLUTE LIMITS
7
- - **MAXIMUM 350 LINES** per single write/edit operation - NO EXCEPTIONS
8
- - **RECOMMENDED 300 LINES** or less for optimal performance
9
- - **NEVER** write entire files in one operation if >300 lines
10
-
11
- ## MANDATORY CHUNKED WRITE STRATEGY
12
-
13
- ### For NEW FILES (>300 lines total):
14
- 1. FIRST: Write initial chunk (first 250-300 lines) using write_to_file/fsWrite
15
- 2. THEN: Append remaining content in 250-300 line chunks using file append operations
16
- 3. REPEAT: Continue appending until complete
17
-
18
- ### For EDITING EXISTING FILES:
19
- 1. Use surgical edits (apply_diff/targeted edits) - change ONLY what's needed
20
- 2. NEVER rewrite entire files - use incremental modifications
21
- 3. Split large refactors into multiple small, focused edits
22
-
23
- ### For LARGE CODE GENERATION:
24
- 1. Generate in logical sections (imports, types, functions separately)
25
- 2. Write each section as a separate operation
26
- 3. Use append operations for subsequent sections
27
-
28
- ## EXAMPLES OF CORRECT BEHAVIOR
29
-
30
- CORRECT: Writing a 600-line file
31
- - Operation 1: Write lines 1-300 (initial file creation)
32
- - Operation 2: Append lines 301-600
33
-
34
- CORRECT: Editing multiple functions
35
- - Operation 1: Edit function A
36
- - Operation 2: Edit function B
37
- - Operation 3: Edit function C
38
-
39
- WRONG: Writing 500 lines in single operation -> TIMEOUT
40
- WRONG: Rewriting entire file to change 5 lines -> TIMEOUT
41
- WRONG: Generating massive code blocks without chunking -> TIMEOUT
42
-
43
- ## WHY THIS MATTERS
44
- - Server has 2-3 minute timeout for operations
45
- - Large writes exceed timeout and FAIL completely
46
- - Chunked writes are FASTER and more RELIABLE
47
- - Failed writes waste time and require retry
48
-
49
- REMEMBER: When in doubt, write LESS per operation. Multiple small operations > one large operation.
50
- `.trim();function n(a,b,c){let f=(0,d.sS)(a);if(f)return"none"===f.mode||"level"===f.mode&&"disabled"===f.level?null:"budget"===f.mode?f.budget:"level"===f.mode?(0,e.nE)(f.level)??16e3:16e3;if(b){let a=function(a,b){if(!a)return;if("function"==typeof a.get)return a.get(b);let c=b.toLowerCase();for(let b of Object.keys(a))if(b.toLowerCase()===c)return a[b]}(b,"anthropic-beta");if("string"==typeof a&&a.toLowerCase().includes("interleaved-thinking"))return 16e3}if(function(a){for(let b of Array.isArray(a?.messages)?a.messages:[]){if(!b||"system"!==b.role&&"user"!==b.role)continue;let a=b.content;if("string"==typeof a){if(y(a))return!0}else if(Array.isArray(a))for(let b of a){let a=b?.text;if("string"==typeof a&&y(a))return!0}}return!!("string"==typeof a?.system&&y(a.system))}(a))return 16e3;if("string"==typeof c&&c){let a=c.toLowerCase();if(a.includes("thinking")||a.includes("-reason"))return 16e3}return null}function o(a){if("string"!=typeof a)return null;let b=a.toLowerCase().replace(/-/g,".").match(/(?:^|[/.])claude(?:[/.][a-z]+)*[/.](\d+)(?:[/.](\d+))?(?:[/.]|$)/);return b?{major:Number(b[1]),minor:void 0===b[2]?null:Number(b[2])}:null}function p(a){let b=a?.output_config?.effort??a?.reasoning_effort??("object"==typeof a?.reasoning?a.reasoning?.effort:null);if("string"!=typeof b)return null;let c=b.toLowerCase();return"max"===c?"xhigh":["low","medium","high","xhigh"].includes(c)?c:null}function q(a){if("string"!=typeof a)return null;let b=a.toLowerCase().replace(/-/g,".");if(/(?:^|[/.])gpt[/.]5[/.]6(?:[/.]|$)/.test(b))return"reasoning";if(!b.includes("claude"))return null;let c=o(a);if(!c)return null;let{major:d,minor:e}=c;return d<4||4===d&&(null===e||e<=5||null!==e&&e>=1e3)?null:"output_config"}function r(a,b){return"reasoning"===q(b)&&null!==p(a)}function s(a,b){let c=q(b);if(c)return function(a,b="output_config",c){let d="reasoning"===b?p(a):function(a,b){let c=a?.output_config?.effort??a?.reasoning_effort??("object"==typeof a?.reasoning?a.reasoning?.effort:null);if("string"!=typeof c)return null;let d=c.toLowerCase();if("none"===d||"off"===d||"disabled"===d)return null;if("xhigh"===d){let a;return(a=o(b))&&(4!==a.major||null===a.minor||!(a.minor<=6))?"xhigh":"high"}return"max"===d?"max":["low","medium","high"].includes(d)?d:null}(a,c);if(d)return"reasoning"===b?{reasoning:{effort:d}}:{thinking:{type:"adaptive",display:"summarized"},output_config:{effort:d}}}(a,c,b)}function t(a){return"string"==typeof a&&a.endsWith(f)}function u(a){return"string"==typeof a&&a.endsWith(g)}function v(a){return"string"==typeof a&&a.startsWith("claude")?a.replace(/([a-z])\.(\d)/g,"$1-$2"):a}function w(a){var b,c;let d=a,e=!1,h=!1;return t(d)&&(e=!0,d=t(b=d)?b.slice(0,-f.length):b),u(d)&&(h=!0,d=u(c=d)?c.slice(0,-g.length):c),{upstream:d,agentic:e,thinking:h}}function x(a=16e3){let b=Math.max(1,Math.min(32e3,Number(a)||16e3));return`<thinking_mode>enabled</thinking_mode>
51
- <max_thinking_length>${b}</max_thinking_length>`}function y(a){return!!a&&!!a.includes("<thinking_mode>")&&(a.includes("<thinking_mode>enabled</thinking_mode>")||a.includes("<thinking_mode>interleaved</thinking_mode>"))}},45914:(a,b,c)=>{c.d(b,{KC:()=>s,L7:()=>h,OQ:()=>q,RB:()=>A,Ty:()=>w,_G:()=>o,bb:()=>j,bg:()=>n,cT:()=>v,e9:()=>u,eM:()=>i,pM:()=>z,pr:()=>B,qk:()=>x,rf:()=>l,t6:()=>t,ty:()=>g,xG:()=>y,x_:()=>p});let d="intl",e={[d]:{chat:"https://api3.qoder.sh",chatAlt:"https://api2.qoder.sh",openApi:"https://openapi.qoder.sh",center:"https://center.qoder.sh",login:"https://qoder.com/device/selectAccounts",website:"https://qoder.com"},cn:{chat:"https://gateway.qoder.com.cn",chatAlt:"https://gateway.qoder.com.cn",openApi:"https://openapi.qoder.com.cn",center:"https://gateway.qoder.com.cn",login:"https://qoder.com.cn/device/selectAccounts",website:"https://qoder.com.cn"}};function f(a){return e[a]||e[d]}function g(a){return"qoder-cn"===a?"cn":d}let h=e[d].openApi,i=e[d].center,j=e[d].chat,k=e[d].chatAlt,l=e[d].login;function m(a){return f(a).openApi}let n=`${m(d)}/api/v1/deviceToken/poll`,o=`${m(d)}/api/v1/userinfo`,p=`${m(d)}/api/v2/quota/usage`;f(d).center;let q=`${m(d)}/api/v1/jobToken/exchange`,r=`${j}/algo/api/v2/service/pro/sse/agent_chat_generation?FetchKeys=llm_model_result&AgentId=agent_common`,s=`${r}&Encode=1`,t=`${f(d).chat}/algo/api/v2/model/list?Encode=1`;function u(a,b=d){if("cn"===b)return e.cn.chat;let c=a?.apiKey||a?.accessToken;return"string"==typeof c&&!c.startsWith("pt-")&&(c.startsWith("jt-")||(a?.accessToken||"").startsWith("jt-"))?k:j}Object.freeze({AUTO:"auto",MAX:"max",DEFAULT:"default"});let v="1.0.0",w="5",x="disagree",y="v2",z=function(a=process.arch,b=process.platform){return`${"arm64"===a?"aarch64":"x64"===a?"x86_64":a}_${"win32"===b?"windows":b}`}(),A="5",B=`-----BEGIN PUBLIC KEY-----
1
+ "use strict";exports.id=4704,exports.ids=[4704],exports.modules={970:(a,b,c)=>{c.d(b,{EV:()=>g,X5:()=>d.X5,_M:()=>f});var d=c(53023),e=c(45914);async function f(a,b=null,c=null,g=null){let h=a?.apiKey||a?.accessToken;if(!(0,d.zh)(h))return{...a,accessToken:h,apiKey:h};let i=g||(0,e.ty)(a?.provider);try{let e=await (0,d.JQ)(h,{profile:i,proxyOptions:b,signal:c});return{...a,accessToken:e.accessToken,providerSpecificData:{...a?.providerSpecificData||{},userId:e.userId||a?.providerSpecificData?.userId||""}}}catch(b){return{...a,accessToken:h,apiKey:h}}}async function g(a,b={}){let c=b.region||(0,e.ty)(a?.provider),h=await f(a,b.proxyOptions,b.signal,c),i=b.profile||c;return(0,d.EV)(h,{...b,profile:i})}},19016:(a,b,c)=>{c.d(b,{$U:()=>d,pb:()=>e,uB:()=>f});let d="data: [DONE]\n\n",e={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"},f={"Content-Type":"text/event-stream","Cache-Control":"no-cache","X-Accel-Buffering":"no"}},45914:(a,b,c)=>{c.d(b,{KC:()=>s,L7:()=>h,OQ:()=>q,RB:()=>A,Ty:()=>w,_G:()=>o,bb:()=>j,bg:()=>n,cT:()=>v,e9:()=>u,eM:()=>i,pM:()=>z,pr:()=>B,qk:()=>x,rf:()=>l,t6:()=>t,ty:()=>g,xG:()=>y,x_:()=>p});let d="intl",e={[d]:{chat:"https://api3.qoder.sh",chatAlt:"https://api2.qoder.sh",openApi:"https://openapi.qoder.sh",center:"https://center.qoder.sh",login:"https://qoder.com/device/selectAccounts",website:"https://qoder.com"},cn:{chat:"https://gateway.qoder.com.cn",chatAlt:"https://gateway.qoder.com.cn",openApi:"https://openapi.qoder.com.cn",center:"https://gateway.qoder.com.cn",login:"https://qoder.com.cn/device/selectAccounts",website:"https://qoder.com.cn"}};function f(a){return e[a]||e[d]}function g(a){return"qoder-cn"===a?"cn":d}let h=e[d].openApi,i=e[d].center,j=e[d].chat,k=e[d].chatAlt,l=e[d].login;function m(a){return f(a).openApi}let n=`${m(d)}/api/v1/deviceToken/poll`,o=`${m(d)}/api/v1/userinfo`,p=`${m(d)}/api/v2/quota/usage`;f(d).center;let q=`${m(d)}/api/v1/jobToken/exchange`,r=`${j}/algo/api/v2/service/pro/sse/agent_chat_generation?FetchKeys=llm_model_result&AgentId=agent_common`,s=`${r}&Encode=1`,t=`${f(d).chat}/algo/api/v2/model/list?Encode=1`;function u(a,b=d){if("cn"===b)return e.cn.chat;let c=a?.apiKey||a?.accessToken;return"string"==typeof c&&!c.startsWith("pt-")&&(c.startsWith("jt-")||(a?.accessToken||"").startsWith("jt-"))?k:j}Object.freeze({AUTO:"auto",MAX:"max",DEFAULT:"default"});let v="1.0.0",w="5",x="disagree",y="v2",z=function(a=process.arch,b=process.platform){return`${"arm64"===a?"aarch64":"x64"===a?"x86_64":a}_${"win32"===b?"windows":b}`}(),A="5",B=`-----BEGIN PUBLIC KEY-----
52
2
  MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA8iMH5c02LilrsERw9t6Pv5Nc
53
3
  4k6Pz1EaDicBMpdpxKduSZu5OANqUq8er4GM95omAGIOPOh+Nx0spthYA2BqGz+l
54
4
  6HRkPJ7S236FZz73In/KVuLnwI8JJ2CbuJap8kvheCCZpmAWpb/cPx/3Vr/J6I17
@@ -57,7 +7,7 @@ XcW+ML9FoCI6AOvOzwIDAQAB
57
7
  ${l}
58
8
  ${n}
59
9
  ${k.toString("latin1")}
60
- ${t}`,v=p(Buffer.from(u,"latin1")),w=c.machineId||g.randomUUID(),x=c.machineToken||w,y=p(k),z=String(k.length);return{Authorization:`Bearer COSY.${s}.${v}`,"Cosy-Key":l,"Cosy-User":c.userId,"Cosy-Date":n,"Cosy-Version":j.ideVersion,"Cosy-Machineid":w,"Cosy-Machinetoken":x,"Cosy-Machinetype":j.machineType,"Cosy-Machineos":j.machineOs,"Cosy-Clienttype":j.clientType,"Cosy-Clientip":"127.0.0.1","Cosy-Bodyhash":y,"Cosy-Bodylength":z,"Cosy-Sigpath":t,"Cosy-Data-Policy":j.dataPolicy,"Cosy-Organization-Id":"","Cosy-Organization-Tags":"","Login-Version":j.loginVersion,"X-Request-Id":g.randomUUID()}}var r=c(970),s=c(49623),t=c(39541);let u={chat_task:"FREE_INPUT",stream:!0,is_reply:!0,is_retry:!1,source:1,version:"3",agent_id:"agent_common",task_id:"common",aliyun_user_type:""},v=["name","tool_calls","tool_call_id","reasoning_content"];function w(a,b){"string"==typeof b&&b&&!a.includes(b)&&a.push(b)}function x(a){if("string"==typeof a)return a;if(null==a)return"";if(Array.isArray(a)){let b=[];for(let c of a)c&&"object"==typeof c&&"string"==typeof c.text&&b.push(c.text);return b.join("\n")}return"object"==typeof a&&"string"==typeof a.text?a.text:String(a)}async function y({model:a,body:b,credentials:c,log:d,proxyOptions:e,signal:f,profile:h=null,modelConfig:i=null,includeBusiness:j=!1}){let k=o(h),l=(0,t.kD)(String(a||"").replace(/^qoder\//,"")),m=i;if(m)m.key||(m={...m,key:l});else if(!(m=await (0,r.X5)(c,l,{log:d,proxyOptions:e,signal:f,profile:k}))){let a=await (0,r.EV)(c,{forceRefresh:!0,log:d,proxyOptions:e,signal:f,profile:k}),b=a?.rawConfigs.get(l);if(!b)throw Error(`qoder: model_config for "${l}" not yet known (inject modelConfig or fetch model list)`);m={...b,key:l}}let{messages:n,systemText:p,imageUrls:q}=function(a){if(!Array.isArray(a)||0===a.length)return{messages:[],systemText:"",imageUrls:[]};let b=[],c=[],d=[];for(let e of a){if(!e||"object"!=typeof e)continue;if("system"===e.role||"developer"===e.role){let a=x(e.content);a&&b.push(a);continue}let{content:a,imageUrls:f}=function a(b){if("string"==typeof b)return{content:b,imageUrls:[]};if(null==b)return{content:"",imageUrls:[]};if(!Array.isArray(b)&&"object"==typeof b)return a([b]);if(!Array.isArray(b))return{content:String(b),imageUrls:[]};let c=[],d=[];for(let a of b){if(null==a)continue;if("string"==typeof a){c.push({type:"text",text:a});continue}if("object"!=typeof a)continue;let b="string"==typeof a.type?a.type:"";if("text"===b||"string"==typeof a.text&&!b&&!a.image_url&&!a.binary){"string"==typeof a.text&&c.push({type:"text",text:a.text});continue}if("image_url"===b||a.image_url){let b,e=a.image_url??a,f="";if("string"==typeof e?f=e:e&&"object"==typeof e&&(f="string"==typeof e.url?e.url:"","string"==typeof e.detail&&e.detail&&(b=e.detail)),f||"string"!=typeof a.url||(f=a.url),!f)continue;let g=b?{url:f,detail:b}:{url:f};c.push({type:"image_url",image_url:g}),w(d,f);continue}if("binary"===b||a.binary||"string"==typeof a.data&&(a.mime_type||a.mimeType)){let b=a.binary&&"object"==typeof a.binary?a.binary:a,e="string"==typeof b.data?b.data:"",f="string"==typeof b.mime_type&&b.mime_type||"string"==typeof b.mimeType&&b.mimeType||"";if(!e||!f)continue;c.push({type:"binary",binary:{data:e,mime_type:f}}),e.startsWith("data:")&&w(d,e);continue}}return 0===c.length?{content:"",imageUrls:[]}:0===d.length&&c.every(a=>"text"===a.type&&"string"==typeof a.text)?{content:c.map(a=>a.text).join("\n"),imageUrls:[]}:{content:c,imageUrls:d}}(e.content);for(let a of f)w(d,a);let g=function(a){let b={role:a.role};for(let c of v)void 0!==a[c]&&(b[c]=a[c]);return b}(e);g.content=a,c.push(g)}return{messages:c,systemText:b.join("\n\n"),imageUrls:d}}(b?.messages||[]),z=Array.isArray(b?.tools)?b.tools:[],A=!!m.is_reasoning,B=Number(m.max_output_tokens)||0,C=32768;B>0&&(C=B),"number"==typeof b?.max_tokens&&b.max_tokens>0&&b.max_tokens<C&&(C=b.max_tokens),"number"==typeof b?.max_completion_tokens&&b.max_completion_tokens>0&&b.max_completion_tokens<C&&(C=b.max_completion_tokens);let D=function(a){for(let b=a.length-1;b>=0;b--){let c=a[b];if(c?.role!=="user")continue;let d=x(c.content);if(d)return d;if(Array.isArray(c.content)&&c.content.length)break;if("string"==typeof c.content)return c.content}return""}(b?.messages||n),E=c?.providerSpecificData||{},F=(0,g.randomUUID)(),G=(0,s.oV)({headers:c?.rawHeaders,body:b,connectionId:c?.connectionId||E.userId||l,scope:"qoder"}),H={max_tokens:C},I=function(a){if(!a||"object"!=typeof a)return;let b=a.reasoning_effort;if(null==b&&a.reasoning&&"object"==typeof a.reasoning&&(b=a.reasoning.effort),null==b)return;let c=String(b).trim().toLowerCase();return c?"disabled"===c||"off"===c?"none":"x-high"===c?"xhigh":"auto"!==c?c:void 0:void 0}(b);if(void 0!==I?H.reasoning_effort=I:A&&(H.reasoning_effort="high"),A&&"number"==typeof b?.max_thinking_tokens&&(H.max_thinking_tokens=b.max_thinking_tokens),void 0!==b?.tool_choice&&(H.tool_choice=b.tool_choice),"number"==typeof b?.context_length&&b.context_length>0)H.context_length=b.context_length;else if("number"==typeof b?.contextWindow&&b.contextWindow>0)H.context_length=b.contextWindow;else{let a=function(a){let b=a?.context_config;if(b&&"object"==typeof b){let a=0;for(let c of Object.values(b)){let b=Number(c?.token_count);Number.isFinite(b)&&b>a&&(a=b)}if(a>0)return a}let c=Number(a?.max_input_tokens);return Number.isFinite(c)&&c>0?c:void 0}(m);a&&(H.context_length=a)}let J=q.length?q:null,K={key:m.key||l,display_name:m.display_name||m.displayName||l,model:"",format:m.format||"openai",is_vl:!!m.is_vl,is_reasoning:!!m.is_reasoning,api_key:"",url:"",source:m.source||"system",max_input_tokens:m.max_input_tokens??2e5},L={request_id:F,request_set_id:F,chat_record_id:F,session_id:G,...u,session_type:k.sessionType,model_config:K,system:p,messages:n,tools:z,parameters:H,chat_context:function(a,b,c,d=null){return{text:a,features:[],extra:{context:[],modelConfig:{key:b,is_reasoning:!!c},originalContent:a},chatPrompt:"",imageUrls:d&&d.length?d:null}}(D,l,A,J)};return(j||k.includeBusiness)&&(L.business={product:k.businessProduct,version:k.businessVersion,type:k.businessType||"agent",stage:"init",id:(0,g.randomUUID)(),name:D&&D.length>30?`${D.slice(0,30)}...`:D||"",begin_at:Date.now()}),{qoderKey:l,payload:L,modelConfig:m}}async function z(a){return y(a)}var A=c(55989);let B=new Map,C="qodercli/1.0.0";function D(a){return"string"==typeof a&&a.startsWith("pt-")}async function E(a,b,c,e){let f=await (0,d.Fm)(b.jobTokenExchangeUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":C,"Cosy-Version":b.ideVersion,"Cosy-ClientType":b.clientType},body:JSON.stringify({personal_token:a}),signal:e},c);if(!f.ok){let a=await f.text().catch(()=>"");throw Error(`qoder PAT exchange failed: ${f.status} ${a.slice(0,200)}`)}let g=await f.json();if(!g.token)throw Error("qoder PAT exchange returned no job token");let h=Date.now()+864e5;if(g.expires_at){let a=Date.parse(g.expires_at);Number.isNaN(a)||(h=a)}else"number"==typeof g.expires_in&&g.expires_in>0&&(h=Date.now()+g.expires_in);return{jobToken:g.token,jobRefreshToken:g.refresh_token||"",expiresAt:h}}async function F(a,b,c,e){try{let f=await (0,d.Fm)(b.userInfoUrl,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":C},signal:e},c);if(!f.ok)return"";let g=await f.json().catch(()=>({}));return g.id||g.userId||g.user_id||""}catch{return""}}async function G(a,b={}){let c=o(b.profile),d=b.proxyOptions??null,e=b.signal??null,f=`${c.id}:${a}`,g=B.get(f);if(g&&g.expiresAt-Date.now()>3e5)return g;let{jobToken:h,expiresAt:i}=await E(a,c,d,e),j=await F(h,c,d,e),k={accessToken:h,userId:j,expiresAt:i};return B.set(f,k),k}async function H({model:a,body:b,credentials:c,signal:g,log:h,proxyOptions:i=null,profile:j=null,timeoutMs:k=null,modelConfig:l=null,fetchImpl:m=null,includeBusiness:n=!1}){let p,r,s,t,u=o(j),v=u.chatUrl,w=c?.accessToken||c?.apiKey;if(D(w))try{let a=await G(w,{profile:u,proxyOptions:i,signal:g});c={...c,accessToken:a.accessToken,apiKey:void 0,providerSpecificData:{authMethod:"pat",...c?.providerSpecificData||{},userId:a.userId||c?.providerSpecificData?.userId||"",machineId:c?.providerSpecificData?.machineId||"",machineToken:c?.providerSpecificData?.machineToken||""}}}catch(a){return h?.error?.("QODER",`PAT exchange failed: ${a.message}`),{response:new Response(JSON.stringify({error:{message:`qoder PAT exchange failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let x=c?.providerSpecificData||{};if(!x.userId)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing userId; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};if(!c?.accessToken)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing accessToken; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};try{({qoderKey:p,payload:r}=await z({model:a,body:b,credentials:c,log:h,proxyOptions:i,signal:g,profile:u,modelConfig:l,includeBusiness:n}))}catch(a){return{response:new Response(JSON.stringify({error:{message:a.message}}),{status:400,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let y=function(a){let b=(Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"utf8"):Buffer.from(a)).toString("base64"),c=b.length,d=Math.floor(c/3),e=b.slice(c-d)+b.slice(d,c-d)+b.slice(0,d),g=Buffer.alloc(c);for(let a=0;a<c;a++){let b=e.charCodeAt(a);b<128&&f[b]>=0?g[a]=f[b]:g[a]=b}return g.toString("latin1")}(Buffer.from(JSON.stringify(r),"utf8")),B=Buffer.from(y,"latin1");try{s=q(B,v,{userId:x.userId,authToken:c.accessToken,name:c.displayName||"",email:c.email||"",machineId:x.machineId||"",machineToken:x.machineToken||x.machineId||""},u)}catch(a){return{response:new Response(JSON.stringify({error:{message:`qoder cosy signing failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let C={"Content-Type":"application/json",Accept:"text/event-stream","Cache-Control":"no-cache","X-Model-Key":p,"X-Model-Source":r.model_config&&r.model_config.source||"system","Accept-Encoding":"identity",...s},E=k||e.pH,F=new AbortController,I=setTimeout(()=>F.abort(Error("fetch connect timeout")),E),J=g?AbortSignal.any([g,F.signal]):F.signal;try{let a={method:"POST",headers:C,body:B,signal:J};t="function"==typeof m?await m(v,a):await (0,d.Fm)(v,a,{...i,strictProxy:!0})}catch(a){if(J.aborted)throw J.reason;throw a}finally{clearTimeout(I)}return t.ok?{response:await (0,A.ZU)(t,`qoder/${p}`,h),url:v,headers:C,transformedBody:r}:{response:t,url:v,headers:C,transformedBody:r}}let I=new Map,J=new Map;async function K(a,b,c=null,e=null){let f,g,i={userId:(g=a?.providerSpecificData||{}).userId,authToken:a.accessToken,name:a.displayName||"",email:a.email||"",machineId:g.machineId||"",machineToken:g.machineToken||g.machineId||""};if(!i.userId||!i.authToken)return null;let j=o(e),k="cn"===j.id||"cn-work"===j.id?j.modelListUrl:`${(0,h.e9)(a,j.id)}/algo/api/v2/model/list?Encode=1`,l={Accept:"application/json","Accept-Encoding":"identity",...q(Buffer.alloc(0),k,i,j)},m=new AbortController,n=null,p=null;try{n=setTimeout(()=>m.abort("timeout"),15e3),b&&"function"==typeof b.addEventListener&&(b.aborted?m.abort(b.reason):(p=()=>m.abort(b.reason),b.addEventListener("abort",p))),f=await (0,d.Fm)(k,{method:"GET",headers:l,signal:m.signal},c)}finally{n&&clearTimeout(n),b&&p&&b.removeEventListener("abort",p)}if(!f.ok)return null;let r=await f.json().catch(()=>null);if(!r||!Array.isArray(r.chat))return null;let s=[],t=new Map;for(let a of r.chat){if(!a||"object"!=typeof a)continue;let b=a.key;if(!b)continue;t.set(b,a);let c=a.display_name||a.displayName||a.name||a.title||b,d=Number(a.max_input_tokens)||131072;s.push({id:b,name:`${c}`,contextLength:d,isVL:!!a.is_vl,isReasoning:!!a.is_reasoning,maxOutputTokens:Number(a.max_output_tokens)||0,description:a.description||"",enabled:!1!==a.enable})}return{models:s,rawConfigs:t}}async function L(a,b,c={}){let d=await M(a,c);if(!d)return null;let e=d.rawConfigs.get(b);return e?{...e,key:b}:null}async function M(a,b={}){let c;if(!a?.accessToken||!(a.providerSpecificData||{}).userId)return null;let d=(c=(a?.providerSpecificData||{}).userId||a?.refreshToken||a?.accessToken||"anonymous",(0,g.createHash)("sha256").update(`qoder:${c}`).digest("hex")),e=Date.now();if(!b.forceRefresh){let a=I.get(d);if(a&&a.expiresAt>e)return a}let f=J.get(d);if(f&&!b.forceRefresh)return f;let h=(async()=>{let c=await K(a,b.signal,b.proxyOptions,b.profile);if(!c)return null;let e={expiresAt:Date.now()+36e5,models:c.models,rawConfigs:c.rawConfigs,fetched:!0};return I.set(d,e),e})();J.set(d,h);try{return await h}finally{J.get(d)===h&&J.delete(d)}}},55989:(a,b,c)=>{c.d(b,{Jc:()=>i,ZU:()=>k});var d=c(19016);function e(a,b){b.doneEmitted||(a.enqueue(new TextEncoder().encode(d.$U)),b.doneEmitted=!0)}function f(a,b,{model:c,message:d,statusVal:g,type:h,code:i}){var j;let k=JSON.stringify({error:{message:(j=d&&d.length>500?`${d.slice(0,500)}...`:d||"")&&"string"==typeof j&&j.replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim()||j||`qoder upstream status ${g}`,type:h||"qoder_upstream_error",code:i??g}});a.enqueue(new TextEncoder().encode(`data: ${k}
10
+ ${t}`,v=p(Buffer.from(u,"latin1")),w=c.machineId||g.randomUUID(),x=c.machineToken||w,y=p(k),z=String(k.length);return{Authorization:`Bearer COSY.${s}.${v}`,"Cosy-Key":l,"Cosy-User":c.userId,"Cosy-Date":n,"Cosy-Version":j.ideVersion,"Cosy-Machineid":w,"Cosy-Machinetoken":x,"Cosy-Machinetype":j.machineType,"Cosy-Machineos":j.machineOs,"Cosy-Clienttype":j.clientType,"Cosy-Clientip":"127.0.0.1","Cosy-Bodyhash":y,"Cosy-Bodylength":z,"Cosy-Sigpath":t,"Cosy-Data-Policy":j.dataPolicy,"Cosy-Organization-Id":"","Cosy-Organization-Tags":"","Login-Version":j.loginVersion,"X-Request-Id":g.randomUUID()}}var r=c(970),s=c(49623),t=c(39541);let u={chat_task:"FREE_INPUT",stream:!0,is_reply:!0,is_retry:!1,source:1,version:"3",agent_id:"agent_common",task_id:"common",aliyun_user_type:""},v=["name","tool_calls","tool_call_id","reasoning_content"];function w(a,b){"string"==typeof b&&b&&!a.includes(b)&&a.push(b)}function x(a){if("string"==typeof a)return a;if(null==a)return"";if(Array.isArray(a)){let b=[];for(let c of a)c&&"object"==typeof c&&"string"==typeof c.text&&b.push(c.text);return b.join("\n")}return"object"==typeof a&&"string"==typeof a.text?a.text:String(a)}async function y({model:a,body:b,credentials:c,log:d,proxyOptions:e,signal:f,profile:h=null,modelConfig:i=null,includeBusiness:j=!1}){let k=o(h),l=(0,t.stripThinkingSuffix)(String(a||"").replace(/^qoder\//,"")),m=i;if(m)m.key||(m={...m,key:l});else if(!(m=await (0,r.X5)(c,l,{log:d,proxyOptions:e,signal:f,profile:k}))){let a=await (0,r.EV)(c,{forceRefresh:!0,log:d,proxyOptions:e,signal:f,profile:k}),b=a?.rawConfigs.get(l);if(!b)throw Error(`qoder: model_config for "${l}" not yet known (inject modelConfig or fetch model list)`);m={...b,key:l}}let{messages:n,systemText:p,imageUrls:q}=function(a){if(!Array.isArray(a)||0===a.length)return{messages:[],systemText:"",imageUrls:[]};let b=[],c=[],d=[];for(let e of a){if(!e||"object"!=typeof e)continue;if("system"===e.role||"developer"===e.role){let a=x(e.content);a&&b.push(a);continue}let{content:a,imageUrls:f}=function a(b){if("string"==typeof b)return{content:b,imageUrls:[]};if(null==b)return{content:"",imageUrls:[]};if(!Array.isArray(b)&&"object"==typeof b)return a([b]);if(!Array.isArray(b))return{content:String(b),imageUrls:[]};let c=[],d=[];for(let a of b){if(null==a)continue;if("string"==typeof a){c.push({type:"text",text:a});continue}if("object"!=typeof a)continue;let b="string"==typeof a.type?a.type:"";if("text"===b||"string"==typeof a.text&&!b&&!a.image_url&&!a.binary){"string"==typeof a.text&&c.push({type:"text",text:a.text});continue}if("image_url"===b||a.image_url){let b,e=a.image_url??a,f="";if("string"==typeof e?f=e:e&&"object"==typeof e&&(f="string"==typeof e.url?e.url:"","string"==typeof e.detail&&e.detail&&(b=e.detail)),f||"string"!=typeof a.url||(f=a.url),!f)continue;let g=b?{url:f,detail:b}:{url:f};c.push({type:"image_url",image_url:g}),w(d,f);continue}if("binary"===b||a.binary||"string"==typeof a.data&&(a.mime_type||a.mimeType)){let b=a.binary&&"object"==typeof a.binary?a.binary:a,e="string"==typeof b.data?b.data:"",f="string"==typeof b.mime_type&&b.mime_type||"string"==typeof b.mimeType&&b.mimeType||"";if(!e||!f)continue;c.push({type:"binary",binary:{data:e,mime_type:f}}),e.startsWith("data:")&&w(d,e);continue}}return 0===c.length?{content:"",imageUrls:[]}:0===d.length&&c.every(a=>"text"===a.type&&"string"==typeof a.text)?{content:c.map(a=>a.text).join("\n"),imageUrls:[]}:{content:c,imageUrls:d}}(e.content);for(let a of f)w(d,a);let g=function(a){let b={role:a.role};for(let c of v)void 0!==a[c]&&(b[c]=a[c]);return b}(e);g.content=a,c.push(g)}return{messages:c,systemText:b.join("\n\n"),imageUrls:d}}(b?.messages||[]),z=Array.isArray(b?.tools)?b.tools:[],A=!!m.is_reasoning,B=Number(m.max_output_tokens)||0,C=32768;B>0&&(C=B),"number"==typeof b?.max_tokens&&b.max_tokens>0&&b.max_tokens<C&&(C=b.max_tokens),"number"==typeof b?.max_completion_tokens&&b.max_completion_tokens>0&&b.max_completion_tokens<C&&(C=b.max_completion_tokens);let D=function(a){for(let b=a.length-1;b>=0;b--){let c=a[b];if(c?.role!=="user")continue;let d=x(c.content);if(d)return d;if(Array.isArray(c.content)&&c.content.length)break;if("string"==typeof c.content)return c.content}return""}(b?.messages||n),E=c?.providerSpecificData||{},F=(0,g.randomUUID)(),G=(0,s.oV)({headers:c?.rawHeaders,body:b,connectionId:c?.connectionId||E.userId||l,scope:"qoder"}),H={max_tokens:C},I=function(a){if(!a||"object"!=typeof a)return;let b=a.reasoning_effort;if(null==b&&a.reasoning&&"object"==typeof a.reasoning&&(b=a.reasoning.effort),null==b)return;let c=String(b).trim().toLowerCase();return c?"disabled"===c||"off"===c?"none":"x-high"===c?"xhigh":"auto"!==c?c:void 0:void 0}(b);if(void 0!==I?H.reasoning_effort=I:A&&(H.reasoning_effort="high"),A&&"number"==typeof b?.max_thinking_tokens&&(H.max_thinking_tokens=b.max_thinking_tokens),void 0!==b?.tool_choice&&(H.tool_choice=b.tool_choice),"number"==typeof b?.context_length&&b.context_length>0)H.context_length=b.context_length;else if("number"==typeof b?.contextWindow&&b.contextWindow>0)H.context_length=b.contextWindow;else{let a=function(a){let b=a?.context_config;if(b&&"object"==typeof b){let a=0;for(let c of Object.values(b)){let b=Number(c?.token_count);Number.isFinite(b)&&b>a&&(a=b)}if(a>0)return a}let c=Number(a?.max_input_tokens);return Number.isFinite(c)&&c>0?c:void 0}(m);a&&(H.context_length=a)}let J=q.length?q:null,K={key:m.key||l,display_name:m.display_name||m.displayName||l,model:"",format:m.format||"openai",is_vl:!!m.is_vl,is_reasoning:!!m.is_reasoning,api_key:"",url:"",source:m.source||"system",max_input_tokens:m.max_input_tokens??2e5},L={request_id:F,request_set_id:F,chat_record_id:F,session_id:G,...u,session_type:k.sessionType,model_config:K,system:p,messages:n,tools:z,parameters:H,chat_context:function(a,b,c,d=null){return{text:a,features:[],extra:{context:[],modelConfig:{key:b,is_reasoning:!!c},originalContent:a},chatPrompt:"",imageUrls:d&&d.length?d:null}}(D,l,A,J)};return(j||k.includeBusiness)&&(L.business={product:k.businessProduct,version:k.businessVersion,type:k.businessType||"agent",stage:"init",id:(0,g.randomUUID)(),name:D&&D.length>30?`${D.slice(0,30)}...`:D||"",begin_at:Date.now()}),{qoderKey:l,payload:L,modelConfig:m}}async function z(a){return y(a)}var A=c(55989);let B=new Map,C="qodercli/1.0.0";function D(a){return"string"==typeof a&&a.startsWith("pt-")}async function E(a,b,c,e){let f=await (0,d.Fm)(b.jobTokenExchangeUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":C,"Cosy-Version":b.ideVersion,"Cosy-ClientType":b.clientType},body:JSON.stringify({personal_token:a}),signal:e},c);if(!f.ok){let a=await f.text().catch(()=>"");throw Error(`qoder PAT exchange failed: ${f.status} ${a.slice(0,200)}`)}let g=await f.json();if(!g.token)throw Error("qoder PAT exchange returned no job token");let h=Date.now()+864e5;if(g.expires_at){let a=Date.parse(g.expires_at);Number.isNaN(a)||(h=a)}else"number"==typeof g.expires_in&&g.expires_in>0&&(h=Date.now()+g.expires_in);return{jobToken:g.token,jobRefreshToken:g.refresh_token||"",expiresAt:h}}async function F(a,b,c,e){try{let f=await (0,d.Fm)(b.userInfoUrl,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":C},signal:e},c);if(!f.ok)return"";let g=await f.json().catch(()=>({}));return g.id||g.userId||g.user_id||""}catch{return""}}async function G(a,b={}){let c=o(b.profile),d=b.proxyOptions??null,e=b.signal??null,f=`${c.id}:${a}`,g=B.get(f);if(g&&g.expiresAt-Date.now()>3e5)return g;let{jobToken:h,expiresAt:i}=await E(a,c,d,e),j=await F(h,c,d,e),k={accessToken:h,userId:j,expiresAt:i};return B.set(f,k),k}async function H({model:a,body:b,credentials:c,signal:g,log:h,proxyOptions:i=null,profile:j=null,timeoutMs:k=null,modelConfig:l=null,fetchImpl:m=null,includeBusiness:n=!1}){let p,r,s,t,u=o(j),v=u.chatUrl,w=c?.accessToken||c?.apiKey;if(D(w))try{let a=await G(w,{profile:u,proxyOptions:i,signal:g});c={...c,accessToken:a.accessToken,apiKey:void 0,providerSpecificData:{authMethod:"pat",...c?.providerSpecificData||{},userId:a.userId||c?.providerSpecificData?.userId||"",machineId:c?.providerSpecificData?.machineId||"",machineToken:c?.providerSpecificData?.machineToken||""}}}catch(a){return h?.error?.("QODER",`PAT exchange failed: ${a.message}`),{response:new Response(JSON.stringify({error:{message:`qoder PAT exchange failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let x=c?.providerSpecificData||{};if(!x.userId)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing userId; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};if(!c?.accessToken)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing accessToken; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};try{({qoderKey:p,payload:r}=await z({model:a,body:b,credentials:c,log:h,proxyOptions:i,signal:g,profile:u,modelConfig:l,includeBusiness:n}))}catch(a){return{response:new Response(JSON.stringify({error:{message:a.message}}),{status:400,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let y=function(a){let b=(Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"utf8"):Buffer.from(a)).toString("base64"),c=b.length,d=Math.floor(c/3),e=b.slice(c-d)+b.slice(d,c-d)+b.slice(0,d),g=Buffer.alloc(c);for(let a=0;a<c;a++){let b=e.charCodeAt(a);b<128&&f[b]>=0?g[a]=f[b]:g[a]=b}return g.toString("latin1")}(Buffer.from(JSON.stringify(r),"utf8")),B=Buffer.from(y,"latin1");try{s=q(B,v,{userId:x.userId,authToken:c.accessToken,name:c.displayName||"",email:c.email||"",machineId:x.machineId||"",machineToken:x.machineToken||x.machineId||""},u)}catch(a){return{response:new Response(JSON.stringify({error:{message:`qoder cosy signing failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let C={"Content-Type":"application/json",Accept:"text/event-stream","Cache-Control":"no-cache","X-Model-Key":p,"X-Model-Source":r.model_config&&r.model_config.source||"system","Accept-Encoding":"identity",...s},E=k||e.pH,F=new AbortController,I=setTimeout(()=>F.abort(Error("fetch connect timeout")),E),J=g?AbortSignal.any([g,F.signal]):F.signal;try{let a={method:"POST",headers:C,body:B,signal:J};t="function"==typeof m?await m(v,a):await (0,d.Fm)(v,a,{...i,strictProxy:!0})}catch(a){if(J.aborted)throw J.reason;throw a}finally{clearTimeout(I)}return t.ok?{response:await (0,A.ZU)(t,`qoder/${p}`,h),url:v,headers:C,transformedBody:r}:{response:t,url:v,headers:C,transformedBody:r}}let I=new Map,J=new Map;async function K(a,b,c=null,e=null){let f,g,i={userId:(g=a?.providerSpecificData||{}).userId,authToken:a.accessToken,name:a.displayName||"",email:a.email||"",machineId:g.machineId||"",machineToken:g.machineToken||g.machineId||""};if(!i.userId||!i.authToken)return null;let j=o(e),k="cn"===j.id||"cn-work"===j.id?j.modelListUrl:`${(0,h.e9)(a,j.id)}/algo/api/v2/model/list?Encode=1`,l={Accept:"application/json","Accept-Encoding":"identity",...q(Buffer.alloc(0),k,i,j)},m=new AbortController,n=null,p=null;try{n=setTimeout(()=>m.abort("timeout"),15e3),b&&"function"==typeof b.addEventListener&&(b.aborted?m.abort(b.reason):(p=()=>m.abort(b.reason),b.addEventListener("abort",p))),f=await (0,d.Fm)(k,{method:"GET",headers:l,signal:m.signal},c)}finally{n&&clearTimeout(n),b&&p&&b.removeEventListener("abort",p)}if(!f.ok)return null;let r=await f.json().catch(()=>null);if(!r||!Array.isArray(r.chat))return null;let s=[],t=new Map;for(let a of r.chat){if(!a||"object"!=typeof a)continue;let b=a.key;if(!b)continue;t.set(b,a);let c=a.display_name||a.displayName||a.name||a.title||b,d=Number(a.max_input_tokens)||131072;s.push({id:b,name:`${c}`,contextLength:d,isVL:!!a.is_vl,isReasoning:!!a.is_reasoning,maxOutputTokens:Number(a.max_output_tokens)||0,description:a.description||"",enabled:!1!==a.enable})}return{models:s,rawConfigs:t}}async function L(a,b,c={}){let d=await M(a,c);if(!d)return null;let e=d.rawConfigs.get(b);return e?{...e,key:b}:null}async function M(a,b={}){let c;if(!a?.accessToken||!(a.providerSpecificData||{}).userId)return null;let d=(c=(a?.providerSpecificData||{}).userId||a?.refreshToken||a?.accessToken||"anonymous",(0,g.createHash)("sha256").update(`qoder:${c}`).digest("hex")),e=Date.now();if(!b.forceRefresh){let a=I.get(d);if(a&&a.expiresAt>e)return a}let f=J.get(d);if(f&&!b.forceRefresh)return f;let h=(async()=>{let c=await K(a,b.signal,b.proxyOptions,b.profile);if(!c)return null;let e={expiresAt:Date.now()+36e5,models:c.models,rawConfigs:c.rawConfigs,fetched:!0};return I.set(d,e),e})();J.set(d,h);try{return await h}finally{J.get(d)===h&&J.delete(d)}}},55989:(a,b,c)=>{c.d(b,{Jc:()=>i,ZU:()=>k});var d=c(19016);function e(a,b){b.doneEmitted||(a.enqueue(new TextEncoder().encode(d.$U)),b.doneEmitted=!0)}function f(a,b,{model:c,message:d,statusVal:g,type:h,code:i}){var j;let k=JSON.stringify({error:{message:(j=d&&d.length>500?`${d.slice(0,500)}...`:d||"")&&"string"==typeof j&&j.replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim()||j||`qoder upstream status ${g}`,type:h||"qoder_upstream_error",code:i??g}});a.enqueue(new TextEncoder().encode(`data: ${k}
61
11
 
62
12
  `)),e(a,b)}let g=new Set(["null",""]);function h(a,b,c,d){!function(a){if(a?.choices)for(let b of a.choices){let a=b?.delta;if(a&&a.reasoning_item&&!a.reasoning_content){let b=a.reasoning_item,c=Array.isArray(b.summary)?b.summary.map(a=>a?.text||"").join(""):"string"==typeof b?b:"";c&&(a.reasoning_content=c),delete a.reasoning_item}}}(d);let e=JSON.stringify(d).replace(/\r?\n/g,"");c.contentEmitted=!0,a.enqueue(b.encode(`data: ${e}
63
13
 
@@ -65,4 +15,4 @@ ${t}`,v=p(Buffer.from(u,"latin1")),w=c.machineId||g.randomUUID(),x=c.machineToke
65
15
 
66
16
  `)),e(c,p);return}let a=103===o||105===o||/login expired|login timeout|token.*expired|auth/i.test(q),d=10605===o||/queue|isQueued|retry_after/i.test(q);return void f(c,p,{model:b,message:q||`upstream status ${o}`,statusVal:a?401:d?429:o,type:a?"authentication_error":d?"model_queued":"qoder_upstream_error",code:a?"token_expired":d?"model_queued":o})}if(!q)return;if("[DONE]"===q||"[NOT_EXCEED_QUOTA]"===q||q.startsWith("[EXCEED_QUOTA]")||q.startsWith("[NOTIFICATIONS]"))return"[DONE]"===q?void e(c,p):q.startsWith("[EXCEED_QUOTA]")?void f(c,p,{model:b,message:q,statusVal:429}):void 0;try{j=JSON.parse(q)}catch{let a=q.replace(/\r?\n/g,"");p.contentEmitted=!0,c.enqueue(l.encode(`data: ${a}
67
17
 
68
- `));return}let r=function(a,b,c,d){if(!a||"object"!=typeof a||!Array.isArray(a.choices))return a;for(let e of a.choices){let a=e?.finish_reason;if(null!=a){if("model_context_window_exceeded"===a)return f(b,c,{model:d,message:"Model context window exceeded",statusVal:413,type:"context_length_exceeded",code:"context_length_exceeded"}),null;g.has(a)&&(e.finish_reason=null)}}return a}(j,c,p,b);if(null!==r){if(r&&"object"==typeof r&&Array.isArray(r.choices)&&0===r.choices.length&&r.usage&&"object"==typeof r.usage){p.pendingFinish&&(p.pendingFinish.usage=r.usage,h(c,l,p,p.pendingFinish),p.pendingFinish=null);return}if(r?.choices&&r.choices.some(a=>a?.finish_reason!=null&&!g.has(a.finish_reason))&&!(r.usage&&"object"==typeof r.usage)){p.pendingFinish=r;return}p.pendingFinish&&(h(c,l,p,p.pendingFinish),p.pendingFinish=null),h(c,l,p,r)}},r=a=>{((o+=d.decode()).length>0&&(q(o,a),o=""),p.pendingFinish&&(h(a,l,p,p.pendingFinish),p.pendingFinish=null),p.contentEmitted||p.doneEmitted)?e(a,p):f(a,p,{model:b,message:"Empty response: stream ended without any content",statusVal:502,type:"empty_response",code:"empty_response"})},s=new ReadableStream({async start(a){if(n.consumed){let b;for(o+=n.consumed;-1!==(b=o.indexOf("\n"));){let c=o.slice(0,b);o=o.slice(b+1),q(c,a)}}if(n.upstreamDone){r(a);try{a.close()}catch{}return}try{for(;;){let b,{done:c,value:e}=await m.read();if(c)break;for(o+=d.decode(e,{stream:!0});-1!==(b=o.indexOf("\n"));){let c=o.slice(0,b);o=o.slice(b+1),q(c,a)}}r(a)}catch(a){}finally{try{a.close()}catch{}await m.cancel().catch(()=>{})}},cancel:()=>m.cancel().catch(()=>{})});return new Response(s,{status:a.status,statusText:a.statusText,headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache"}})}},78492:(a,b,c)=>{c.d(b,{SM:()=>j,kt:()=>n,ux:()=>m,vq:()=>e.vq});var d=c(38772),e=c(15251),f=c(97915),g=c(62397),h=c(68531);let i=a=>!a||["oc","opencode","ocg","opencode-go","ocz","opencode-zen"].includes(a);function j(a){return e.vq[a]||[]}let k=new Set(["kr","kiro"]);function l(a,b,c){if(!a)return;let d="string"==typeof b?b.replace(/\([^()]+\)\s*$/,"").trim():b,e=a.find(a=>a.id===b||a.id===d);if(e)return e;if(!k.has(c))return;let g=(0,f.Kq)(d);if(g!==d)return a.find(a=>a.id===g)}function m(a,b){if(i(a)&&(0,g.nh)(b))return h.h.OPENAI_RESPONSES;let c=e.vq[a];if(!c)return null;let d=l(c,b,a);return d?(0,f.gr)(d):i(a)&&(0,g.i8)(b)?.targetFormat||null}function n(a,b){let c="string"==typeof b?b.match(/\([^()]+\)\s*$/):null,d=c?c[0]:"",f=d?b.slice(0,c.index).trim():b,h=l(e.vq[a],f,a),i=h?.upstreamModelId||h?.id;if(i){let a=i.match(/\([^()]+\)\s*$/),b=a?.[0]||"";return(b?i.slice(0,a.index).trim():i)+(d||b)}return"cx"===a&&"string"==typeof f&&f.endsWith(g.d5)?f.slice(0,-g.d5.length)+d:f+d}Object.fromEntries(d.default.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias])),Object.fromEntries(d.default.map(a=>[a.id,a.alias||a.id]))}};
18
+ `));return}let r=function(a,b,c,d){if(!a||"object"!=typeof a||!Array.isArray(a.choices))return a;for(let e of a.choices){let a=e?.finish_reason;if(null!=a){if("model_context_window_exceeded"===a)return f(b,c,{model:d,message:"Model context window exceeded",statusVal:413,type:"context_length_exceeded",code:"context_length_exceeded"}),null;g.has(a)&&(e.finish_reason=null)}}return a}(j,c,p,b);if(null!==r){if(r&&"object"==typeof r&&Array.isArray(r.choices)&&0===r.choices.length&&r.usage&&"object"==typeof r.usage){p.pendingFinish&&(p.pendingFinish.usage=r.usage,h(c,l,p,p.pendingFinish),p.pendingFinish=null);return}if(r?.choices&&r.choices.some(a=>a?.finish_reason!=null&&!g.has(a.finish_reason))&&!(r.usage&&"object"==typeof r.usage)){p.pendingFinish=r;return}p.pendingFinish&&(h(c,l,p,p.pendingFinish),p.pendingFinish=null),h(c,l,p,r)}},r=a=>{((o+=d.decode()).length>0&&(q(o,a),o=""),p.pendingFinish&&(h(a,l,p,p.pendingFinish),p.pendingFinish=null),p.contentEmitted||p.doneEmitted)?e(a,p):f(a,p,{model:b,message:"Empty response: stream ended without any content",statusVal:502,type:"empty_response",code:"empty_response"})},s=new ReadableStream({async start(a){if(n.consumed){let b;for(o+=n.consumed;-1!==(b=o.indexOf("\n"));){let c=o.slice(0,b);o=o.slice(b+1),q(c,a)}}if(n.upstreamDone){r(a);try{a.close()}catch{}return}try{for(;;){let b,{done:c,value:e}=await m.read();if(c)break;for(o+=d.decode(e,{stream:!0});-1!==(b=o.indexOf("\n"));){let c=o.slice(0,b);o=o.slice(b+1),q(c,a)}}r(a)}catch(a){}finally{try{a.close()}catch{}await m.cancel().catch(()=>{})}},cancel:()=>m.cancel().catch(()=>{})});return new Response(s,{status:a.status,statusText:a.statusText,headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache"}})}}};