@rabbi696/ezrouter 0.6.14 → 0.6.15

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 (1363) hide show
  1. package/README.md +18 -0
  2. package/app/.next-cli-build/BUILD_ID +1 -1
  3. package/app/.next-cli-build/app-path-routes-manifest.json +5 -4
  4. package/app/.next-cli-build/build-manifest.json +3 -3
  5. package/app/.next-cli-build/react-loadable-manifest.json +1 -1
  6. package/app/.next-cli-build/routes-manifest.json +8 -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 +2 -2
  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 +2 -2
  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 +3 -3
  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 +2 -2
  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/_global-error/page.js +3 -3
  95. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  97. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  98. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  99. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  100. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  105. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  106. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  108. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  109. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  110. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  111. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  112. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
  113. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  114. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  115. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  116. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +2 -2
  135. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/changelog/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +18 -18
  143. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  149. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  151. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +2 -2
  153. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js +2 -2
  157. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +2 -2
  159. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +2 -2
  161. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  163. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  165. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  167. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  171. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +5 -5
  173. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  175. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  179. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +8 -8
  181. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +3 -3
  185. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  187. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +8 -8
  189. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  193. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +2 -2
  195. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  197. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/combos/export/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/combos/export/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/combos/import/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/combos/import/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/combos/test/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/combos/test/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/convoy/rules/route.js +2 -2
  213. package/app/.next-cli-build/server/app/api/convoy/rules/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  241. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js +2 -2
  253. package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js +2 -2
  255. package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/mcp-gateway/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/mcp-gateway/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/mcp-gateway/sse/route.js +2 -2
  259. package/app/.next-cli-build/server/app/api/mcp-gateway/sse/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/models/enabled/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/models/enabled/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/oauth/callback/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/oauth/callback/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  295. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  305. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  307. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  309. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  315. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  319. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  325. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -0
  339. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -0
  340. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route_client-reference-manifest.js +1 -0
  341. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +3 -3
  366. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +14 -14
  368. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  372. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  374. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  376. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  378. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  380. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  382. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  384. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  386. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  388. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/routing-health/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/routing-health/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js +2 -2
  406. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  412. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  426. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  428. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  430. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  432. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  433. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  434. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  436. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  437. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  438. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  439. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  440. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  441. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  442. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  443. package/app/.next-cli-build/server/app/api/usage/error-logs/route.js +2 -2
  444. package/app/.next-cli-build/server/app/api/usage/error-logs/route.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  446. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  447. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  448. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  449. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  450. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  451. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  452. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  453. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  454. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  455. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  456. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  457. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  458. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  459. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js +1 -1
  460. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js.nft.json +1 -1
  461. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  462. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  463. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  464. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  465. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  466. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  467. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  468. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  469. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  470. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  471. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js +1 -1
  472. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js.nft.json +1 -1
  473. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js +1 -1
  474. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js.nft.json +1 -1
  475. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js +1 -1
  476. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js.nft.json +1 -1
  477. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js +1 -1
  478. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js.nft.json +1 -1
  479. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js +1 -1
  480. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js.nft.json +1 -1
  481. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js +1 -1
  482. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js.nft.json +1 -1
  483. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js +1 -1
  484. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js.nft.json +1 -1
  485. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  486. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  487. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  488. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  489. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  490. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  491. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  492. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  493. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  494. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  495. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  496. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  497. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  498. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  499. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  500. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  501. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  502. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  503. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  504. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  505. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  506. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  507. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  508. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  509. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  510. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  511. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  512. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  513. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  514. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  515. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  516. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  517. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  518. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  519. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  520. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  521. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  522. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  523. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  524. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  525. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  526. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  527. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  528. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  529. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  530. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  531. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  532. package/app/.next-cli-build/server/app/callback.html +1 -1
  533. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  534. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  535. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  536. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
  537. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  538. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  539. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  540. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  541. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  542. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  543. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  544. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  545. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  546. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  547. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  548. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  549. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  550. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  551. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  552. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  553. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  554. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  555. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  556. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  557. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  558. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  559. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  560. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  561. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  562. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  563. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  564. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  565. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  566. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  567. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  568. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  569. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  570. package/app/.next-cli-build/server/app/dashboard/convoy.html +1 -1
  571. package/app/.next-cli-build/server/app/dashboard/convoy.rsc +6 -6
  572. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy/__PAGE__.segment.rsc +2 -2
  573. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy.segment.rsc +1 -1
  574. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  575. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  576. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_full.segment.rsc +6 -6
  577. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_head.segment.rsc +1 -1
  578. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_index.segment.rsc +4 -4
  579. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_tree.segment.rsc +2 -2
  580. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  581. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  582. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  583. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  584. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  585. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  586. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  587. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  588. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  589. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  590. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.html +1 -1
  591. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.rsc +6 -6
  592. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys/__PAGE__.segment.rsc +2 -2
  593. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys.segment.rsc +1 -1
  594. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  595. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  596. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  597. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_full.segment.rsc +6 -6
  598. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_head.segment.rsc +1 -1
  599. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_index.segment.rsc +4 -4
  600. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_tree.segment.rsc +2 -2
  601. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.html +1 -1
  602. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.rsc +6 -6
  603. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers/__PAGE__.segment.rsc +2 -2
  604. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers.segment.rsc +1 -1
  605. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  606. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  607. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  608. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_full.segment.rsc +6 -6
  609. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_head.segment.rsc +1 -1
  610. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_index.segment.rsc +4 -4
  611. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_tree.segment.rsc +2 -2
  612. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.html +1 -1
  613. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.rsc +6 -6
  614. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/__PAGE__.segment.rsc +2 -2
  615. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  616. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  617. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  618. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_full.segment.rsc +6 -6
  619. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_head.segment.rsc +1 -1
  620. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_index.segment.rsc +4 -4
  621. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_tree.segment.rsc +2 -2
  622. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  623. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  624. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  625. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  626. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  627. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  628. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  629. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  630. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  631. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  632. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  633. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  634. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  635. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  636. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  637. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  638. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  639. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  640. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  641. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  642. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  643. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  644. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  645. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  646. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  647. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  648. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  649. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  650. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  651. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  652. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  653. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  654. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  655. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  656. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  657. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  658. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  659. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  660. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  661. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  662. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  663. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  664. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  665. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  666. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  667. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  668. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  669. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  670. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  671. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  672. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  673. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  674. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  675. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  676. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  677. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  678. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  679. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  680. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  681. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  682. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  683. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  684. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  685. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
  686. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  687. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  688. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  689. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  690. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
  691. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  692. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +4 -4
  693. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  694. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  695. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  696. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  697. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  698. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  699. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  700. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  701. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  702. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  703. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  704. package/app/.next-cli-build/server/app/dashboard/routing-health.html +1 -1
  705. package/app/.next-cli-build/server/app/dashboard/routing-health.rsc +6 -6
  706. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health/__PAGE__.segment.rsc +2 -2
  707. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health.segment.rsc +1 -1
  708. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  709. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  710. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_full.segment.rsc +6 -6
  711. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_head.segment.rsc +1 -1
  712. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_index.segment.rsc +4 -4
  713. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_tree.segment.rsc +2 -2
  714. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  715. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  716. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  717. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  718. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  719. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  720. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  721. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  722. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  723. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  724. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  725. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  726. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  727. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  728. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  729. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  730. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  731. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  732. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  733. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  734. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  735. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  736. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  737. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  738. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  739. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  740. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  741. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  742. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  743. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  744. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  745. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +4 -4
  746. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  747. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  748. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  749. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  750. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  751. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  752. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  753. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  754. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  755. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  756. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  757. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  758. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  759. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  760. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  761. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  762. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  763. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  764. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  765. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  766. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  767. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  768. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  769. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  770. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  771. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  772. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  773. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  774. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
  775. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  776. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  777. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  778. package/app/.next-cli-build/server/app/index.html +1 -1
  779. package/app/.next-cli-build/server/app/index.rsc +4 -4
  780. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  781. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  782. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  783. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +4 -4
  784. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  785. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  786. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  787. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  788. package/app/.next-cli-build/server/app/landing.html +1 -1
  789. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  790. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  791. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  792. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
  793. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  794. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  795. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  796. package/app/.next-cli-build/server/app/login/page.js +2 -2
  797. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  798. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  799. package/app/.next-cli-build/server/app/login.html +1 -1
  800. package/app/.next-cli-build/server/app/login.rsc +5 -5
  801. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  802. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  803. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
  804. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  805. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  806. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  807. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  808. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  809. package/app/.next-cli-build/server/app/page.js +2 -2
  810. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  811. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  812. package/app/.next-cli-build/server/app-paths-manifest.json +5 -4
  813. package/app/.next-cli-build/server/chunks/1253.js +1 -1
  814. package/app/.next-cli-build/server/chunks/1522.js +1 -1
  815. package/app/.next-cli-build/server/chunks/1733.js +1 -1
  816. package/app/.next-cli-build/server/chunks/1847.js +1 -1
  817. package/app/.next-cli-build/server/chunks/2269.js +1 -1
  818. package/app/.next-cli-build/server/chunks/2348.js +1 -1
  819. package/app/.next-cli-build/server/chunks/2898.js +1 -1
  820. package/app/.next-cli-build/server/chunks/290.js +1 -0
  821. package/app/.next-cli-build/server/chunks/3216.js +1 -1
  822. package/app/.next-cli-build/server/chunks/3245.js +1 -1
  823. package/app/.next-cli-build/server/chunks/3252.js +1 -1
  824. package/app/.next-cli-build/server/chunks/3267.js +1 -1
  825. package/app/.next-cli-build/server/chunks/3275.js +1 -0
  826. package/app/.next-cli-build/server/chunks/3547.js +1 -1
  827. package/app/.next-cli-build/server/chunks/3583.js +2 -2
  828. package/app/.next-cli-build/server/chunks/369.js +12 -12
  829. package/app/.next-cli-build/server/chunks/3794.js +1 -1
  830. package/app/.next-cli-build/server/chunks/3886.js +1 -1
  831. package/app/.next-cli-build/server/chunks/3977.js +1 -1
  832. package/app/.next-cli-build/server/chunks/412.js +2 -2
  833. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  834. package/app/.next-cli-build/server/chunks/4378.js +3 -3
  835. package/app/.next-cli-build/server/chunks/4646.js +1 -1
  836. package/app/.next-cli-build/server/chunks/4704.js +4 -4
  837. package/app/.next-cli-build/server/chunks/4768.js +1 -0
  838. package/app/.next-cli-build/server/chunks/4807.js +1 -1
  839. package/app/.next-cli-build/server/chunks/4811.js +1 -1
  840. package/app/.next-cli-build/server/chunks/4827.js +1 -1
  841. package/app/.next-cli-build/server/chunks/4878.js +1 -1
  842. package/app/.next-cli-build/server/chunks/4882.js +1 -1
  843. package/app/.next-cli-build/server/chunks/5130.js +1 -1
  844. package/app/.next-cli-build/server/chunks/615.js +1 -1
  845. package/app/.next-cli-build/server/chunks/6420.js +1 -0
  846. package/app/.next-cli-build/server/chunks/6707.js +1 -1
  847. package/app/.next-cli-build/server/chunks/7218.js +1 -0
  848. package/app/.next-cli-build/server/chunks/73.js +1 -1
  849. package/app/.next-cli-build/server/chunks/7594.js +16 -16
  850. package/app/.next-cli-build/server/chunks/7663.js +1 -1
  851. package/app/.next-cli-build/server/chunks/7716.js +1 -1
  852. package/app/.next-cli-build/server/chunks/7775.js +1 -1
  853. package/app/.next-cli-build/server/chunks/7828.js +1 -1
  854. package/app/.next-cli-build/server/chunks/8129.js +1 -1
  855. package/app/.next-cli-build/server/chunks/823.js +1 -1
  856. package/app/.next-cli-build/server/chunks/8231.js +1 -1
  857. package/app/.next-cli-build/server/chunks/8243.js +3 -3
  858. package/app/.next-cli-build/server/chunks/8306.js +1 -1
  859. package/app/.next-cli-build/server/chunks/8421.js +1 -1
  860. package/app/.next-cli-build/server/chunks/8450.js +254 -0
  861. package/app/.next-cli-build/server/chunks/8459.js +1 -1
  862. package/app/.next-cli-build/server/chunks/8644.js +1 -1
  863. package/app/.next-cli-build/server/chunks/8772.js +1 -0
  864. package/app/.next-cli-build/server/chunks/8976.js +1 -1
  865. package/app/.next-cli-build/server/chunks/9026.js +17 -17
  866. package/app/.next-cli-build/server/chunks/9143.js +1 -1
  867. package/app/.next-cli-build/server/chunks/9303.js +1 -1
  868. package/app/.next-cli-build/server/chunks/9485.js +1 -1
  869. package/app/.next-cli-build/server/chunks/9843.js +1 -1
  870. package/app/.next-cli-build/server/chunks/9865.js +1 -1
  871. package/app/.next-cli-build/server/instrumentation.js +1 -1
  872. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  873. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  874. package/app/.next-cli-build/server/middleware.js +4 -4
  875. package/app/.next-cli-build/server/pages/404.html +1 -1
  876. package/app/.next-cli-build/server/pages/500.html +1 -1
  877. package/app/.next-cli-build/static/chunks/{1321-c3d563d8c76a4dac.js → 1321-043afc56cba448b8.js} +1 -1
  878. package/app/.next-cli-build/static/chunks/5497-8766958582f95dc7.js +17 -0
  879. package/app/.next-cli-build/static/chunks/{6808-42c5cc62f0d2662b.js → 6808-93e2068e37a63896.js} +1 -1
  880. package/app/.next-cli-build/static/chunks/8105-9dfc2c5ffef6e778.js +1 -0
  881. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-fa195b4f7348e2d6.js +27 -0
  882. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-a31d9ca05cc3d528.js +1 -0
  883. package/app/.next-cli-build/static/chunks/app/_global-error/page-4c5cfa991861ba1b.js +1 -0
  884. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-4c5cfa991861ba1b.js +1 -0
  885. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-4c5cfa991861ba1b.js +1 -0
  886. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-4c5cfa991861ba1b.js +1 -0
  887. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-4c5cfa991861ba1b.js +1 -0
  888. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-4c5cfa991861ba1b.js +1 -0
  889. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-4c5cfa991861ba1b.js +1 -0
  890. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-4c5cfa991861ba1b.js +1 -0
  891. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-4c5cfa991861ba1b.js +1 -0
  892. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-4c5cfa991861ba1b.js +1 -0
  893. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-4c5cfa991861ba1b.js +1 -0
  894. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-4c5cfa991861ba1b.js +1 -0
  895. package/app/.next-cli-build/static/chunks/app/api/changelog/route-4c5cfa991861ba1b.js +1 -0
  896. package/app/.next-cli-build/static/chunks/app/api/cli/providers/codex/route-4c5cfa991861ba1b.js +1 -0
  897. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-4c5cfa991861ba1b.js +1 -0
  898. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-4c5cfa991861ba1b.js +1 -0
  899. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-4c5cfa991861ba1b.js +1 -0
  900. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-4c5cfa991861ba1b.js +1 -0
  901. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-4c5cfa991861ba1b.js +1 -0
  902. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-4c5cfa991861ba1b.js +1 -0
  903. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/models/route-4c5cfa991861ba1b.js +1 -0
  904. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/readiness/route-4c5cfa991861ba1b.js +1 -0
  905. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-4c5cfa991861ba1b.js +1 -0
  906. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-4c5cfa991861ba1b.js +1 -0
  907. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-4c5cfa991861ba1b.js +1 -0
  908. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-4c5cfa991861ba1b.js +1 -0
  909. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-4c5cfa991861ba1b.js +1 -0
  910. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-4c5cfa991861ba1b.js +1 -0
  911. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-4c5cfa991861ba1b.js +1 -0
  912. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-4c5cfa991861ba1b.js +1 -0
  913. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-4c5cfa991861ba1b.js +1 -0
  914. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-4c5cfa991861ba1b.js +1 -0
  915. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-4c5cfa991861ba1b.js +1 -0
  916. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-4c5cfa991861ba1b.js +1 -0
  917. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-4c5cfa991861ba1b.js +1 -0
  918. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-4c5cfa991861ba1b.js +1 -0
  919. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-4c5cfa991861ba1b.js +1 -0
  920. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-4c5cfa991861ba1b.js +1 -0
  921. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-4c5cfa991861ba1b.js +1 -0
  922. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-4c5cfa991861ba1b.js +1 -0
  923. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-4c5cfa991861ba1b.js +1 -0
  924. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-4c5cfa991861ba1b.js +1 -0
  925. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-4c5cfa991861ba1b.js +1 -0
  926. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/test/route-4c5cfa991861ba1b.js +1 -0
  927. package/app/.next-cli-build/static/chunks/app/api/combos/export/route-4c5cfa991861ba1b.js +1 -0
  928. package/app/.next-cli-build/static/chunks/app/api/combos/import/route-4c5cfa991861ba1b.js +1 -0
  929. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-4c5cfa991861ba1b.js +1 -0
  930. package/app/.next-cli-build/static/chunks/app/api/combos/route-4c5cfa991861ba1b.js +1 -0
  931. package/app/.next-cli-build/static/chunks/app/api/combos/test/route-4c5cfa991861ba1b.js +1 -0
  932. package/app/.next-cli-build/static/chunks/app/api/convoy/rules/route-4c5cfa991861ba1b.js +1 -0
  933. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-4c5cfa991861ba1b.js +1 -0
  934. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-4c5cfa991861ba1b.js +1 -0
  935. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-4c5cfa991861ba1b.js +1 -0
  936. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-4c5cfa991861ba1b.js +1 -0
  937. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-4c5cfa991861ba1b.js +1 -0
  938. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-4c5cfa991861ba1b.js +1 -0
  939. package/app/.next-cli-build/static/chunks/app/api/health/route-4c5cfa991861ba1b.js +1 -0
  940. package/app/.next-cli-build/static/chunks/app/api/init/route-4c5cfa991861ba1b.js +1 -0
  941. package/app/.next-cli-build/static/chunks/app/api/internal/codex-native/lease/[action]/route-4c5cfa991861ba1b.js +1 -0
  942. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-4c5cfa991861ba1b.js +1 -0
  943. package/app/.next-cli-build/static/chunks/app/api/keys/route-4c5cfa991861ba1b.js +1 -0
  944. package/app/.next-cli-build/static/chunks/app/api/locale/route-4c5cfa991861ba1b.js +1 -0
  945. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-4c5cfa991861ba1b.js +1 -0
  946. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-4c5cfa991861ba1b.js +1 -0
  947. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/route-4c5cfa991861ba1b.js +1 -0
  948. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/test/route-4c5cfa991861ba1b.js +1 -0
  949. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/route-4c5cfa991861ba1b.js +1 -0
  950. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/[id]/route-4c5cfa991861ba1b.js +1 -0
  951. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/route-4c5cfa991861ba1b.js +1 -0
  952. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/message/route-4c5cfa991861ba1b.js +1 -0
  953. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/oauth/[id]/[action]/route-4c5cfa991861ba1b.js +1 -0
  954. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/route-4c5cfa991861ba1b.js +1 -0
  955. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/sse/route-4c5cfa991861ba1b.js +1 -0
  956. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-4c5cfa991861ba1b.js +1 -0
  957. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-4c5cfa991861ba1b.js +1 -0
  958. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-4c5cfa991861ba1b.js +1 -0
  959. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-4c5cfa991861ba1b.js +1 -0
  960. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-4c5cfa991861ba1b.js +1 -0
  961. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-4c5cfa991861ba1b.js +1 -0
  962. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-4c5cfa991861ba1b.js +1 -0
  963. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-4c5cfa991861ba1b.js +1 -0
  964. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-4c5cfa991861ba1b.js +1 -0
  965. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-4c5cfa991861ba1b.js +1 -0
  966. package/app/.next-cli-build/static/chunks/app/api/models/enabled/route-4c5cfa991861ba1b.js +1 -0
  967. package/app/.next-cli-build/static/chunks/app/api/models/route-4c5cfa991861ba1b.js +1 -0
  968. package/app/.next-cli-build/static/chunks/app/api/models/test/route-4c5cfa991861ba1b.js +1 -0
  969. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-4c5cfa991861ba1b.js +1 -0
  970. package/app/.next-cli-build/static/chunks/app/api/oauth/callback/route-4c5cfa991861ba1b.js +1 -0
  971. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-4c5cfa991861ba1b.js +1 -0
  972. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-4c5cfa991861ba1b.js +1 -0
  973. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-4c5cfa991861ba1b.js +1 -0
  974. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-4c5cfa991861ba1b.js +1 -0
  975. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-4c5cfa991861ba1b.js +1 -0
  976. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-4c5cfa991861ba1b.js +1 -0
  977. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-4c5cfa991861ba1b.js +1 -0
  978. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-4c5cfa991861ba1b.js +1 -0
  979. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-4c5cfa991861ba1b.js +1 -0
  980. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-4c5cfa991861ba1b.js +1 -0
  981. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-4c5cfa991861ba1b.js +1 -0
  982. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-4c5cfa991861ba1b.js +1 -0
  983. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-4c5cfa991861ba1b.js +1 -0
  984. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-4c5cfa991861ba1b.js +1 -0
  985. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-4c5cfa991861ba1b.js +1 -0
  986. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-4c5cfa991861ba1b.js +1 -0
  987. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-4c5cfa991861ba1b.js +1 -0
  988. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-4c5cfa991861ba1b.js +1 -0
  989. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-4c5cfa991861ba1b.js +1 -0
  990. package/app/.next-cli-build/static/chunks/app/api/pricing/route-4c5cfa991861ba1b.js +1 -0
  991. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-4c5cfa991861ba1b.js +1 -0
  992. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-4c5cfa991861ba1b.js +1 -0
  993. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-4c5cfa991861ba1b.js +1 -0
  994. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-4c5cfa991861ba1b.js +1 -0
  995. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-4c5cfa991861ba1b.js +1 -0
  996. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh-profile/route-4c5cfa991861ba1b.js +1 -0
  997. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-4c5cfa991861ba1b.js +1 -0
  998. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-4c5cfa991861ba1b.js +1 -0
  999. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-4c5cfa991861ba1b.js +1 -0
  1000. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-4c5cfa991861ba1b.js +1 -0
  1001. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-4c5cfa991861ba1b.js +1 -0
  1002. package/app/.next-cli-build/static/chunks/app/api/providers/route-4c5cfa991861ba1b.js +1 -0
  1003. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-4c5cfa991861ba1b.js +1 -0
  1004. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-4c5cfa991861ba1b.js +1 -0
  1005. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-4c5cfa991861ba1b.js +1 -0
  1006. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-4c5cfa991861ba1b.js +1 -0
  1007. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-4c5cfa991861ba1b.js +1 -0
  1008. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-4c5cfa991861ba1b.js +1 -0
  1009. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-4c5cfa991861ba1b.js +1 -0
  1010. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-4c5cfa991861ba1b.js +1 -0
  1011. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-4c5cfa991861ba1b.js +1 -0
  1012. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-4c5cfa991861ba1b.js +1 -0
  1013. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-4c5cfa991861ba1b.js +1 -0
  1014. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-4c5cfa991861ba1b.js +1 -0
  1015. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-4c5cfa991861ba1b.js +1 -0
  1016. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-4c5cfa991861ba1b.js +1 -0
  1017. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-4c5cfa991861ba1b.js +1 -0
  1018. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-4c5cfa991861ba1b.js +1 -0
  1019. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-4c5cfa991861ba1b.js +1 -0
  1020. package/app/.next-cli-build/static/chunks/app/api/routing-health/route-4c5cfa991861ba1b.js +1 -0
  1021. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-4c5cfa991861ba1b.js +1 -0
  1022. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-4c5cfa991861ba1b.js +1 -0
  1023. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-4c5cfa991861ba1b.js +1 -0
  1024. package/app/.next-cli-build/static/chunks/app/api/settings/route-4c5cfa991861ba1b.js +1 -0
  1025. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-4c5cfa991861ba1b.js +1 -0
  1026. package/app/.next-cli-build/static/chunks/app/api/tags/route-4c5cfa991861ba1b.js +1 -0
  1027. package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-4c5cfa991861ba1b.js +1 -0
  1028. package/app/.next-cli-build/static/chunks/app/api/token-saver/stream/route-4c5cfa991861ba1b.js +1 -0
  1029. package/app/.next-cli-build/static/chunks/app/api/tool-disclosure/stats/route-4c5cfa991861ba1b.js +1 -0
  1030. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-4c5cfa991861ba1b.js +1 -0
  1031. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-4c5cfa991861ba1b.js +1 -0
  1032. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-4c5cfa991861ba1b.js +1 -0
  1033. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-4c5cfa991861ba1b.js +1 -0
  1034. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-4c5cfa991861ba1b.js +1 -0
  1035. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-4c5cfa991861ba1b.js +1 -0
  1036. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-4c5cfa991861ba1b.js +1 -0
  1037. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-4c5cfa991861ba1b.js +1 -0
  1038. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-4c5cfa991861ba1b.js +1 -0
  1039. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-4c5cfa991861ba1b.js +1 -0
  1040. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-4c5cfa991861ba1b.js +1 -0
  1041. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-4c5cfa991861ba1b.js +1 -0
  1042. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-4c5cfa991861ba1b.js +1 -0
  1043. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-4c5cfa991861ba1b.js +1 -0
  1044. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-4c5cfa991861ba1b.js +1 -0
  1045. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-4c5cfa991861ba1b.js +1 -0
  1046. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-4c5cfa991861ba1b.js +1 -0
  1047. package/app/.next-cli-build/static/chunks/app/api/usage/error-logs/route-4c5cfa991861ba1b.js +1 -0
  1048. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-4c5cfa991861ba1b.js +1 -0
  1049. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-4c5cfa991861ba1b.js +1 -0
  1050. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-4c5cfa991861ba1b.js +1 -0
  1051. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-4c5cfa991861ba1b.js +1 -0
  1052. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-4c5cfa991861ba1b.js +1 -0
  1053. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-4c5cfa991861ba1b.js +1 -0
  1054. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-4c5cfa991861ba1b.js +1 -0
  1055. package/app/.next-cli-build/static/chunks/app/api/v1/alpha/search/route-4c5cfa991861ba1b.js +1 -0
  1056. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-4c5cfa991861ba1b.js +1 -0
  1057. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-4c5cfa991861ba1b.js +1 -0
  1058. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-4c5cfa991861ba1b.js +1 -0
  1059. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-4c5cfa991861ba1b.js +1 -0
  1060. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-4c5cfa991861ba1b.js +1 -0
  1061. package/app/.next-cli-build/static/chunks/app/api/v1/codex/alpha/search/route-4c5cfa991861ba1b.js +1 -0
  1062. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/edits/route-4c5cfa991861ba1b.js +1 -0
  1063. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/generations/route-4c5cfa991861ba1b.js +1 -0
  1064. package/app/.next-cli-build/static/chunks/app/api/v1/codex/memories/trace_summarize/route-4c5cfa991861ba1b.js +1 -0
  1065. package/app/.next-cli-build/static/chunks/app/api/v1/codex/models/route-4c5cfa991861ba1b.js +1 -0
  1066. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/compact/route-4c5cfa991861ba1b.js +1 -0
  1067. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/route-4c5cfa991861ba1b.js +1 -0
  1068. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-4c5cfa991861ba1b.js +1 -0
  1069. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-4c5cfa991861ba1b.js +1 -0
  1070. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-4c5cfa991861ba1b.js +1 -0
  1071. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-4c5cfa991861ba1b.js +1 -0
  1072. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-4c5cfa991861ba1b.js +1 -0
  1073. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-4c5cfa991861ba1b.js +1 -0
  1074. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-4c5cfa991861ba1b.js +1 -0
  1075. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-4c5cfa991861ba1b.js +1 -0
  1076. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-4c5cfa991861ba1b.js +1 -0
  1077. package/app/.next-cli-build/static/chunks/app/api/v1/route-4c5cfa991861ba1b.js +1 -0
  1078. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-4c5cfa991861ba1b.js +1 -0
  1079. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-4c5cfa991861ba1b.js +1 -0
  1080. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-4c5cfa991861ba1b.js +1 -0
  1081. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-4c5cfa991861ba1b.js +1 -0
  1082. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-4c5cfa991861ba1b.js +1 -0
  1083. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-4c5cfa991861ba1b.js +1 -0
  1084. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-4c5cfa991861ba1b.js +1 -0
  1085. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-4c5cfa991861ba1b.js +1 -0
  1086. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-4c5cfa991861ba1b.js +1 -0
  1087. package/app/.next-cli-build/static/chunks/app/api/version/route-4c5cfa991861ba1b.js +1 -0
  1088. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-4c5cfa991861ba1b.js +1 -0
  1089. package/app/.next-cli-build/static/chunks/app/api/version/update/route-4c5cfa991861ba1b.js +1 -0
  1090. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-4c5cfa991861ba1b.js +1 -0
  1091. package/app/.next-cli-build/static/chunks/app/page-4c5cfa991861ba1b.js +1 -0
  1092. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-4c5cfa991861ba1b.js +1 -0
  1093. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-4c5cfa991861ba1b.js +1 -0
  1094. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-4c5cfa991861ba1b.js +1 -0
  1095. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-4c5cfa991861ba1b.js +1 -0
  1096. package/app/.next-cli-build/static/chunks/{webpack-1f254f36f822e458.js → webpack-ac71f993743961ad.js} +1 -1
  1097. package/app/.next-cli-build/static/css/76821f2171e21e80.css +1 -0
  1098. package/app/CHANGELOG.md +46 -37
  1099. package/app/package.json +1 -1
  1100. package/app/public/CHANGELOG.md +46 -37
  1101. package/app/public/providers/muse.png +0 -0
  1102. package/app/public/providers/tinyfish.png +0 -0
  1103. package/app/public/providers/v1m.png +0 -0
  1104. package/cli.js +25 -14
  1105. package/hooks/postinstall.js +4 -0
  1106. package/node_modules/confbox/LICENSE +27 -0
  1107. package/node_modules/confbox/README.md +191 -0
  1108. package/node_modules/confbox/dist/THIRD-PARTY-LICENSES.md +171 -0
  1109. package/node_modules/confbox/dist/_chunks/_format.d.mts +25 -0
  1110. package/node_modules/confbox/dist/_chunks/_format.mjs +1 -0
  1111. package/node_modules/confbox/dist/_chunks/json.mjs +1 -0
  1112. package/node_modules/confbox/dist/_chunks/libs/detect-indent.mjs +1 -0
  1113. package/node_modules/confbox/dist/_chunks/libs/ini.mjs +3 -0
  1114. package/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +33 -0
  1115. package/node_modules/confbox/dist/_chunks/libs/json5.mjs +14 -0
  1116. package/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +7 -0
  1117. package/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +249 -0
  1118. package/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +1 -0
  1119. package/node_modules/confbox/dist/index.d.mts +34 -0
  1120. package/node_modules/confbox/dist/index.mjs +1 -0
  1121. package/node_modules/confbox/dist/ini.d.mts +62 -0
  1122. package/node_modules/confbox/dist/ini.mjs +1 -0
  1123. package/node_modules/confbox/dist/json5.d.mts +59 -0
  1124. package/node_modules/confbox/dist/json5.mjs +1 -0
  1125. package/node_modules/confbox/dist/jsonc.d.mts +41 -0
  1126. package/node_modules/confbox/dist/jsonc.mjs +1 -0
  1127. package/node_modules/confbox/dist/toml.d.mts +23 -0
  1128. package/node_modules/confbox/dist/toml.mjs +1 -0
  1129. package/node_modules/confbox/dist/yaml.d.mts +96 -0
  1130. package/node_modules/confbox/dist/yaml.mjs +1 -0
  1131. package/node_modules/confbox/package.json +67 -0
  1132. package/package.json +5 -3
  1133. package/src/cli/commands/connect.js +269 -0
  1134. package/src/cli/commands/connectTools.js +338 -0
  1135. package/src/cli/menus/providers.js +3 -2
  1136. package/src/cli/tray/tray.js +11 -11
  1137. package/src/cli/utils/modelSelector.js +1 -1
  1138. package/app/.next-cli-build/server/chunks/2767.js +0 -1
  1139. package/app/.next-cli-build/server/chunks/3960.js +0 -254
  1140. package/app/.next-cli-build/server/chunks/4327.js +0 -1
  1141. package/app/.next-cli-build/server/chunks/4722.js +0 -1
  1142. package/app/.next-cli-build/server/chunks/7528.js +0 -1
  1143. package/app/.next-cli-build/server/chunks/8670.js +0 -1
  1144. package/app/.next-cli-build/server/chunks/8946.js +0 -1
  1145. package/app/.next-cli-build/static/chunks/5497-ffaf8dc7c7c8f95c.js +0 -17
  1146. package/app/.next-cli-build/static/chunks/8105-1a9e02e4d5a17e44.js +0 -1
  1147. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-cfa303b120846bf8.js +0 -27
  1148. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-6369f894b65720dd.js +0 -1
  1149. package/app/.next-cli-build/static/chunks/app/_global-error/page-1c11060ffc33d4ad.js +0 -1
  1150. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-1c11060ffc33d4ad.js +0 -1
  1151. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-1c11060ffc33d4ad.js +0 -1
  1152. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-1c11060ffc33d4ad.js +0 -1
  1153. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-1c11060ffc33d4ad.js +0 -1
  1154. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-1c11060ffc33d4ad.js +0 -1
  1155. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-1c11060ffc33d4ad.js +0 -1
  1156. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-1c11060ffc33d4ad.js +0 -1
  1157. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-1c11060ffc33d4ad.js +0 -1
  1158. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-1c11060ffc33d4ad.js +0 -1
  1159. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-1c11060ffc33d4ad.js +0 -1
  1160. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-1c11060ffc33d4ad.js +0 -1
  1161. package/app/.next-cli-build/static/chunks/app/api/changelog/route-1c11060ffc33d4ad.js +0 -1
  1162. package/app/.next-cli-build/static/chunks/app/api/cli/providers/codex/route-1c11060ffc33d4ad.js +0 -1
  1163. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-1c11060ffc33d4ad.js +0 -1
  1164. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-1c11060ffc33d4ad.js +0 -1
  1165. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-1c11060ffc33d4ad.js +0 -1
  1166. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-1c11060ffc33d4ad.js +0 -1
  1167. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-1c11060ffc33d4ad.js +0 -1
  1168. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-1c11060ffc33d4ad.js +0 -1
  1169. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/models/route-1c11060ffc33d4ad.js +0 -1
  1170. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/readiness/route-1c11060ffc33d4ad.js +0 -1
  1171. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-1c11060ffc33d4ad.js +0 -1
  1172. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-1c11060ffc33d4ad.js +0 -1
  1173. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-1c11060ffc33d4ad.js +0 -1
  1174. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-1c11060ffc33d4ad.js +0 -1
  1175. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-1c11060ffc33d4ad.js +0 -1
  1176. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-1c11060ffc33d4ad.js +0 -1
  1177. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-1c11060ffc33d4ad.js +0 -1
  1178. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-1c11060ffc33d4ad.js +0 -1
  1179. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-1c11060ffc33d4ad.js +0 -1
  1180. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-1c11060ffc33d4ad.js +0 -1
  1181. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-1c11060ffc33d4ad.js +0 -1
  1182. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-1c11060ffc33d4ad.js +0 -1
  1183. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-1c11060ffc33d4ad.js +0 -1
  1184. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-1c11060ffc33d4ad.js +0 -1
  1185. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-1c11060ffc33d4ad.js +0 -1
  1186. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-1c11060ffc33d4ad.js +0 -1
  1187. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-1c11060ffc33d4ad.js +0 -1
  1188. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-1c11060ffc33d4ad.js +0 -1
  1189. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-1c11060ffc33d4ad.js +0 -1
  1190. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-1c11060ffc33d4ad.js +0 -1
  1191. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-1c11060ffc33d4ad.js +0 -1
  1192. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/test/route-1c11060ffc33d4ad.js +0 -1
  1193. package/app/.next-cli-build/static/chunks/app/api/combos/export/route-1c11060ffc33d4ad.js +0 -1
  1194. package/app/.next-cli-build/static/chunks/app/api/combos/import/route-1c11060ffc33d4ad.js +0 -1
  1195. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-1c11060ffc33d4ad.js +0 -1
  1196. package/app/.next-cli-build/static/chunks/app/api/combos/route-1c11060ffc33d4ad.js +0 -1
  1197. package/app/.next-cli-build/static/chunks/app/api/combos/test/route-1c11060ffc33d4ad.js +0 -1
  1198. package/app/.next-cli-build/static/chunks/app/api/convoy/rules/route-1c11060ffc33d4ad.js +0 -1
  1199. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-1c11060ffc33d4ad.js +0 -1
  1200. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-1c11060ffc33d4ad.js +0 -1
  1201. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-1c11060ffc33d4ad.js +0 -1
  1202. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-1c11060ffc33d4ad.js +0 -1
  1203. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-1c11060ffc33d4ad.js +0 -1
  1204. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-1c11060ffc33d4ad.js +0 -1
  1205. package/app/.next-cli-build/static/chunks/app/api/health/route-1c11060ffc33d4ad.js +0 -1
  1206. package/app/.next-cli-build/static/chunks/app/api/init/route-1c11060ffc33d4ad.js +0 -1
  1207. package/app/.next-cli-build/static/chunks/app/api/internal/codex-native/lease/[action]/route-1c11060ffc33d4ad.js +0 -1
  1208. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-1c11060ffc33d4ad.js +0 -1
  1209. package/app/.next-cli-build/static/chunks/app/api/keys/route-1c11060ffc33d4ad.js +0 -1
  1210. package/app/.next-cli-build/static/chunks/app/api/locale/route-1c11060ffc33d4ad.js +0 -1
  1211. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-1c11060ffc33d4ad.js +0 -1
  1212. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-1c11060ffc33d4ad.js +0 -1
  1213. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/route-1c11060ffc33d4ad.js +0 -1
  1214. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/test/route-1c11060ffc33d4ad.js +0 -1
  1215. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/route-1c11060ffc33d4ad.js +0 -1
  1216. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/[id]/route-1c11060ffc33d4ad.js +0 -1
  1217. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/route-1c11060ffc33d4ad.js +0 -1
  1218. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/message/route-1c11060ffc33d4ad.js +0 -1
  1219. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/oauth/[id]/[action]/route-1c11060ffc33d4ad.js +0 -1
  1220. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/route-1c11060ffc33d4ad.js +0 -1
  1221. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/sse/route-1c11060ffc33d4ad.js +0 -1
  1222. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-1c11060ffc33d4ad.js +0 -1
  1223. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-1c11060ffc33d4ad.js +0 -1
  1224. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-1c11060ffc33d4ad.js +0 -1
  1225. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-1c11060ffc33d4ad.js +0 -1
  1226. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-1c11060ffc33d4ad.js +0 -1
  1227. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-1c11060ffc33d4ad.js +0 -1
  1228. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-1c11060ffc33d4ad.js +0 -1
  1229. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-1c11060ffc33d4ad.js +0 -1
  1230. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-1c11060ffc33d4ad.js +0 -1
  1231. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-1c11060ffc33d4ad.js +0 -1
  1232. package/app/.next-cli-build/static/chunks/app/api/models/enabled/route-1c11060ffc33d4ad.js +0 -1
  1233. package/app/.next-cli-build/static/chunks/app/api/models/route-1c11060ffc33d4ad.js +0 -1
  1234. package/app/.next-cli-build/static/chunks/app/api/models/test/route-1c11060ffc33d4ad.js +0 -1
  1235. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-1c11060ffc33d4ad.js +0 -1
  1236. package/app/.next-cli-build/static/chunks/app/api/oauth/callback/route-1c11060ffc33d4ad.js +0 -1
  1237. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-1c11060ffc33d4ad.js +0 -1
  1238. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-1c11060ffc33d4ad.js +0 -1
  1239. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-1c11060ffc33d4ad.js +0 -1
  1240. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-1c11060ffc33d4ad.js +0 -1
  1241. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-1c11060ffc33d4ad.js +0 -1
  1242. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-1c11060ffc33d4ad.js +0 -1
  1243. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-1c11060ffc33d4ad.js +0 -1
  1244. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-1c11060ffc33d4ad.js +0 -1
  1245. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-1c11060ffc33d4ad.js +0 -1
  1246. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-1c11060ffc33d4ad.js +0 -1
  1247. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-1c11060ffc33d4ad.js +0 -1
  1248. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-1c11060ffc33d4ad.js +0 -1
  1249. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-1c11060ffc33d4ad.js +0 -1
  1250. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-1c11060ffc33d4ad.js +0 -1
  1251. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-1c11060ffc33d4ad.js +0 -1
  1252. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-1c11060ffc33d4ad.js +0 -1
  1253. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-1c11060ffc33d4ad.js +0 -1
  1254. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-1c11060ffc33d4ad.js +0 -1
  1255. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-1c11060ffc33d4ad.js +0 -1
  1256. package/app/.next-cli-build/static/chunks/app/api/pricing/route-1c11060ffc33d4ad.js +0 -1
  1257. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-1c11060ffc33d4ad.js +0 -1
  1258. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-1c11060ffc33d4ad.js +0 -1
  1259. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-1c11060ffc33d4ad.js +0 -1
  1260. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-1c11060ffc33d4ad.js +0 -1
  1261. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh-profile/route-1c11060ffc33d4ad.js +0 -1
  1262. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-1c11060ffc33d4ad.js +0 -1
  1263. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-1c11060ffc33d4ad.js +0 -1
  1264. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-1c11060ffc33d4ad.js +0 -1
  1265. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-1c11060ffc33d4ad.js +0 -1
  1266. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-1c11060ffc33d4ad.js +0 -1
  1267. package/app/.next-cli-build/static/chunks/app/api/providers/route-1c11060ffc33d4ad.js +0 -1
  1268. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-1c11060ffc33d4ad.js +0 -1
  1269. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-1c11060ffc33d4ad.js +0 -1
  1270. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-1c11060ffc33d4ad.js +0 -1
  1271. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-1c11060ffc33d4ad.js +0 -1
  1272. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-1c11060ffc33d4ad.js +0 -1
  1273. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-1c11060ffc33d4ad.js +0 -1
  1274. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-1c11060ffc33d4ad.js +0 -1
  1275. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-1c11060ffc33d4ad.js +0 -1
  1276. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-1c11060ffc33d4ad.js +0 -1
  1277. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-1c11060ffc33d4ad.js +0 -1
  1278. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-1c11060ffc33d4ad.js +0 -1
  1279. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-1c11060ffc33d4ad.js +0 -1
  1280. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-1c11060ffc33d4ad.js +0 -1
  1281. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-1c11060ffc33d4ad.js +0 -1
  1282. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-1c11060ffc33d4ad.js +0 -1
  1283. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-1c11060ffc33d4ad.js +0 -1
  1284. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-1c11060ffc33d4ad.js +0 -1
  1285. package/app/.next-cli-build/static/chunks/app/api/routing-health/route-1c11060ffc33d4ad.js +0 -1
  1286. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-1c11060ffc33d4ad.js +0 -1
  1287. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-1c11060ffc33d4ad.js +0 -1
  1288. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-1c11060ffc33d4ad.js +0 -1
  1289. package/app/.next-cli-build/static/chunks/app/api/settings/route-1c11060ffc33d4ad.js +0 -1
  1290. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-1c11060ffc33d4ad.js +0 -1
  1291. package/app/.next-cli-build/static/chunks/app/api/tags/route-1c11060ffc33d4ad.js +0 -1
  1292. package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-1c11060ffc33d4ad.js +0 -1
  1293. package/app/.next-cli-build/static/chunks/app/api/token-saver/stream/route-1c11060ffc33d4ad.js +0 -1
  1294. package/app/.next-cli-build/static/chunks/app/api/tool-disclosure/stats/route-1c11060ffc33d4ad.js +0 -1
  1295. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-1c11060ffc33d4ad.js +0 -1
  1296. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-1c11060ffc33d4ad.js +0 -1
  1297. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-1c11060ffc33d4ad.js +0 -1
  1298. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-1c11060ffc33d4ad.js +0 -1
  1299. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-1c11060ffc33d4ad.js +0 -1
  1300. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-1c11060ffc33d4ad.js +0 -1
  1301. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-1c11060ffc33d4ad.js +0 -1
  1302. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-1c11060ffc33d4ad.js +0 -1
  1303. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-1c11060ffc33d4ad.js +0 -1
  1304. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-1c11060ffc33d4ad.js +0 -1
  1305. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-1c11060ffc33d4ad.js +0 -1
  1306. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-1c11060ffc33d4ad.js +0 -1
  1307. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-1c11060ffc33d4ad.js +0 -1
  1308. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-1c11060ffc33d4ad.js +0 -1
  1309. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-1c11060ffc33d4ad.js +0 -1
  1310. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-1c11060ffc33d4ad.js +0 -1
  1311. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-1c11060ffc33d4ad.js +0 -1
  1312. package/app/.next-cli-build/static/chunks/app/api/usage/error-logs/route-1c11060ffc33d4ad.js +0 -1
  1313. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-1c11060ffc33d4ad.js +0 -1
  1314. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-1c11060ffc33d4ad.js +0 -1
  1315. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-1c11060ffc33d4ad.js +0 -1
  1316. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-1c11060ffc33d4ad.js +0 -1
  1317. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-1c11060ffc33d4ad.js +0 -1
  1318. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-1c11060ffc33d4ad.js +0 -1
  1319. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-1c11060ffc33d4ad.js +0 -1
  1320. package/app/.next-cli-build/static/chunks/app/api/v1/alpha/search/route-1c11060ffc33d4ad.js +0 -1
  1321. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-1c11060ffc33d4ad.js +0 -1
  1322. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-1c11060ffc33d4ad.js +0 -1
  1323. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-1c11060ffc33d4ad.js +0 -1
  1324. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-1c11060ffc33d4ad.js +0 -1
  1325. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-1c11060ffc33d4ad.js +0 -1
  1326. package/app/.next-cli-build/static/chunks/app/api/v1/codex/alpha/search/route-1c11060ffc33d4ad.js +0 -1
  1327. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/edits/route-1c11060ffc33d4ad.js +0 -1
  1328. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/generations/route-1c11060ffc33d4ad.js +0 -1
  1329. package/app/.next-cli-build/static/chunks/app/api/v1/codex/memories/trace_summarize/route-1c11060ffc33d4ad.js +0 -1
  1330. package/app/.next-cli-build/static/chunks/app/api/v1/codex/models/route-1c11060ffc33d4ad.js +0 -1
  1331. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/compact/route-1c11060ffc33d4ad.js +0 -1
  1332. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/route-1c11060ffc33d4ad.js +0 -1
  1333. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-1c11060ffc33d4ad.js +0 -1
  1334. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-1c11060ffc33d4ad.js +0 -1
  1335. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-1c11060ffc33d4ad.js +0 -1
  1336. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-1c11060ffc33d4ad.js +0 -1
  1337. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-1c11060ffc33d4ad.js +0 -1
  1338. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-1c11060ffc33d4ad.js +0 -1
  1339. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-1c11060ffc33d4ad.js +0 -1
  1340. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-1c11060ffc33d4ad.js +0 -1
  1341. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-1c11060ffc33d4ad.js +0 -1
  1342. package/app/.next-cli-build/static/chunks/app/api/v1/route-1c11060ffc33d4ad.js +0 -1
  1343. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-1c11060ffc33d4ad.js +0 -1
  1344. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-1c11060ffc33d4ad.js +0 -1
  1345. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-1c11060ffc33d4ad.js +0 -1
  1346. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-1c11060ffc33d4ad.js +0 -1
  1347. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-1c11060ffc33d4ad.js +0 -1
  1348. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-1c11060ffc33d4ad.js +0 -1
  1349. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-1c11060ffc33d4ad.js +0 -1
  1350. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-1c11060ffc33d4ad.js +0 -1
  1351. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-1c11060ffc33d4ad.js +0 -1
  1352. package/app/.next-cli-build/static/chunks/app/api/version/route-1c11060ffc33d4ad.js +0 -1
  1353. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-1c11060ffc33d4ad.js +0 -1
  1354. package/app/.next-cli-build/static/chunks/app/api/version/update/route-1c11060ffc33d4ad.js +0 -1
  1355. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-1c11060ffc33d4ad.js +0 -1
  1356. package/app/.next-cli-build/static/chunks/app/page-1c11060ffc33d4ad.js +0 -1
  1357. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-1c11060ffc33d4ad.js +0 -1
  1358. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-1c11060ffc33d4ad.js +0 -1
  1359. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-1c11060ffc33d4ad.js +0 -1
  1360. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-1c11060ffc33d4ad.js +0 -1
  1361. package/app/.next-cli-build/static/css/14f3f7e420fa2785.css +0 -1
  1362. /package/app/.next-cli-build/static/{BkbAW6wqVq3TFwhDZSKXi → zQapcWqcr7oLVi5jh7t01}/_buildManifest.js +0 -0
  1363. /package/app/.next-cli-build/static/{BkbAW6wqVq3TFwhDZSKXi → zQapcWqcr7oLVi5jh7t01}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=5018,a.ids=[5018],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8086:a=>{a.exports=require("module")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29273:(a,b,c)=>{c.d(b,{K:()=>h});var d=c(89718),e=c(23433),f=c(89865),g=c(60290);async function h(a,{model:b,body:c,reserveTokens:i=!1}={}){var j;let k,l=await (0,d.mt)(),m=(0,e.Tr)(a);if(!m)return l.requireApiKey?{error:(0,f.yj)(g.gx.UNAUTHORIZED,"Missing API key")}:{apiKey:null,body:c};let n=await (0,d.y7)(m),o=n?.expiresAt&&new Date(n.expiresAt).getTime()<=Date.now();if(!n?.isActive||o)return{error:(0,f.yj)(g.gx.UNAUTHORIZED,"Invalid API key")};if(Array.isArray(n.allowedModels)&&n.allowedModels.length&&b){let a="string"==typeof c?.model?c.model:null;if(!n.allowedModels.includes(b)&&!n.allowedModels.includes(a))return{error:(0,f.yj)(g.gx.FORBIDDEN,"This API key is not allowed to use the selected model")}}if(!i||null==n.tokenLimit)return{apiKey:m,key:n,body:c};let p=n.tokenLimit-n.tokensUsed-n.tokensReserved,q=Math.max(1,Math.ceil(JSON.stringify(c?.messages||c?.input||c?.prompt||c?.query||"").length/4));if(p<=q)return{error:(0,f.yj)(g.gx.FORBIDDEN,"API key token quota exceeded")};let r=(j=Math.max(0,p-q),null==(k=c?.max_completion_tokens??c?.max_tokens??c?.max_output_tokens)?j:Math.min(j,Math.max(1,Number(k)||1))),s=await (0,d.mV)(m,q+r);return s.ok?{apiKey:m,key:n,body:c?.max_completion_tokens!=null?{...c,max_completion_tokens:r}:c?.max_output_tokens!=null?{...c,max_output_tokens:r}:{...c,max_tokens:r},reservation:s.reserved}:{error:(0,f.yj)(g.gx.FORBIDDEN,s.error)}}},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},38775:(a,b,c)=>{c.d(b,{d_:()=>j,mA:()=>h,pe:()=>k});var d=c(89718),e=c(66451),f=c(99471);c(84722);let g={xmtp:"xiaomi-tokenplan","xiaomi-tokenplan":"xiaomi-tokenplan"};async function h(a){let b,c=(b=(0,e.Xh)(a),b?.providerAlias&&g[b.providerAlias]?{...b,provider:g[b.providerAlias]}:b);if(!c.isAlias){let a=(await (0,d.Fh)({type:"openai-compatible"})).find(a=>a.prefix===c.providerAlias);if(a)return{provider:a.id,model:c.model};let b=(await (0,d.Fh)({type:"anthropic-compatible"})).find(a=>a.prefix===c.providerAlias);if(b)return{provider:b.id,model:c.model};let e=(await (0,d.Fh)({type:"custom-embedding"})).find(a=>a.prefix===c.providerAlias);if(e)return{provider:e.id,model:c.model};let f=(await (0,d.Fh)({type:"custom-video"})).find(a=>a.prefix===c.providerAlias);return f?{provider:f.id,model:c.model}:{provider:c.provider,model:c.model}}if(await (0,d.Dj)(c.model))return{provider:null,model:c.model};let f=await i(c.model);return f||(0,e.js)(a,d.OM)}async function i(a){try{let b=(await (0,d.uv)()).find(b=>b&&b.id===a&&("llm"===b.type||!b.type));if(b&&b.providerAlias)return{provider:(0,e.g2)(b.providerAlias),model:b.id}}catch{}try{let b=await (0,d.OM)(),c=(0,e.sc)(a,b);if(c)return c}catch{}let b=(0,e.PN)(a);if(b)return{provider:b,model:a};try{let b=await (0,f.w)(a);if(b)return b}catch{}return null}async function j(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b&&b.models&&b.models.length>0?b.models:null}async function k(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b?{models:b.models||[],members:b.members||(b.models||[]).map(a=>({id:a,weight:1})),policy:b.policy||null,accountPolicy:b.accountPolicy||null,fusion:b.fusion||null,config:b.config||null,name:b.name,kind:b.kind}:null}},40610:a=>{a.exports=require("node:dns")},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46130:(a,b,c)=>{c.d(b,{Z:()=>n});var d=c(23433),e=c(74452),f=c(29686);c(40615);var g=c(38775),h=c(89865),i=c(60290);async function j(a,b){try{let c=await a.clone().json();if(!c||"object"!=typeof c)return null;let d=b&&c.provider||c.model;return"string"==typeof d?d:null}catch{return null}}async function k(a){try{let b=(await a.clone().formData()).get("model");return"string"==typeof b?b:null}catch{return null}}async function l(a,b){if(!a)return null;if(b)return[{provider:a,model:b}];try{let b=await (0,g.d_)(a);if(b&&b.length>0){let a=[];for(let c of b){let b=await (0,g.mA)(c);b?.provider&&a.push({provider:b.provider,model:b.model})}return a.length?a:null}}catch{}try{let b=await (0,g.mA)(a);if(b?.provider)return[{provider:b.provider,model:b.model}]}catch{}return null}async function m(a,b,c){try{let g=(0,d.Tr)(a);if(!g)return null;let m=await (0,e.getApiKeyScopeByKey)(g);if(!m)return null;let n="form"===b?await k(a):await j(a,"json-provider"===b),o=await l(n,c);if(!o)return null;let p=o.find(a=>{var b,c;return b=a.provider,c=a.model,!(0,f.Uw)(m,b,c)});if(!p)return null;return(0,h.yj)(i.gx.FORBIDDEN,`API key scope does not permit access to ${p.provider}/${p.model}`)}catch{return null}}function n(a,b={}){let{bodyMode:c="json",pseudoModelId:d=null}=b;return async function(b,...e){let f=await m(b,c,d);return f||a(b,...e)}}},46293:a=>{a.exports=require("sql.js")},47370:(a,b,c)=>{c.d(b,{BY:()=>d.BY,E5:()=>d.E5,QB:()=>d.QB,SL:()=>d.SL,Zx:()=>d.Zx,_V:()=>d._V,j$:()=>d.j$,ox:()=>d.ox,rg:()=>d.rg,sZ:()=>d.sZ,uw:()=>d.uw,wV:()=>d.wV});var d=c(53267)},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68001:(a,b,c)=>{c.d(b,{S:()=>g});var d=c(38071);let e=["big-pickle"],f=new Set(["deepseek-v4-flash-free"]),g={"openrouter-free":a=>a.filter(a=>a.pricing?.prompt==="0"&&a.pricing?.completion==="0"&&a.context_length>=2e5).map(a=>({id:a.id,name:a.name,contextLength:a.context_length})).sort((a,b)=>b.contextLength-a.contextLength),"opencode-free":a=>a.filter(a=>(a.id?.endsWith("-free")||e.includes(a.id))&&!f.has(a.id)).map(a=>({id:a.id,name:a.id})),"mimo-free":a=>(Array.isArray(a)?a:[]).filter(a=>a.id?.startsWith("mimo")||a.name?.toLowerCase().includes("mimo")).map(a=>({id:a.id,name:a.name||a.id})),"nous-free":d.pD,"airforce-free":a=>(Array.isArray(a)?a:[]).filter(a=>("free"===a.tier||a.id?.endsWith(":free"))&&!0===a.supports_chat&&(!a.media_type||"chat"===a.media_type||"text"===a.media_type)).map(a=>({id:a.id,name:a.name||a.id,contextLength:a.context_length})).sort((a,b)=>String(a.id).localeCompare(String(b.id)))}},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},74075:a=>{a.exports=require("zlib")},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},92990:(a,b,c)=>{c.d(b,{DI:()=>i,DV:()=>C,LT:()=>j,MZ:()=>v,Nl:()=>z,Nu:()=>p,OV:()=>h,RY:()=>G,S6:()=>s,SK:()=>E,Td:()=>A,Tx:()=>q,V1:()=>H,WN:()=>t,Ww:()=>I,YT:()=>n,ZL:()=>m,aV:()=>u,cD:()=>o,eD:()=>F,f7:()=>y,hF:()=>k,lB:()=>w,oe:()=>D,qp:()=>B,t3:()=>l,w1:()=>x});var d=c(21820),e=c(92675),f=c(39141);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]};({...f.sr.qwen});let k={...f.sr.qoder};({...f.sr["qoderwork-cn"]});let l={...f.sr["qoder-cn"]},m={...f.sr.iflow},n={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function o(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let p={...f.sr.github},q={...f.sr.kiro},r=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function s(a){if("string"!=typeof a||!r.test(a))throw Error("Invalid region");return a}let t={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},u={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},v={...f.sr.kilocode},w={...f.sr.cline},x={...f.sr.clinepass},y={...f.sr.gitlab},z={...f.sr["codebuddy-cn"]},A={...f.sr.kimchi},B={...f.sr["grok-cli"]},C={...f.sr["codebuddy-intl"]},D={platformUrl:process.env.MIMO_PLATFORM_URL||"https://platform.xiaomimimo.com",defaultBaseUrl:"https://api.xiaomimimo.com/v1",kn:"mimocode",callbackPath:"/",timeoutMs:3e5},E={clientId:"ono9krqynydwx5",clientSecret:"-",loginGuidanceUrls:["https://api.marscode.com/cloudide/api/v3/trae/GetLoginGuidance","https://api.trae.ai/cloudide/api/v3/trae/GetLoginGuidance","https://www.trae.ai/cloudide/api/v3/trae/GetLoginGuidance"],apiOrigins:["https://api.marscode.com","https://api.trae.ai","https://www.trae.ai","https://www.marscode.com"],exchangeTokenPath:"/cloudide/api/v3/trae/oauth/ExchangeToken",getUserInfoPath:"/cloudide/api/v3/trae/GetUserInfo",authorizationPath:"/authorization",callbackPath:"/callback",minAppVersion:"3.5.54",defaultAppVersion:"3.5.54",defaultAppType:"stable",defaultPluginVersion:"local",defaultDeviceId:"0",userAgent:"Trae/1.0.0 antigravity-cockpit-tools",webUrl:"https://www.trae.ai",authScheme:"Cloud-IDE-JWT",tokenLifetimeDays:14,oauthTimeoutMs:6e5},F={clientId:"3GUryQ7ldAeKEuD2obYnppsnmj58eP5u",authBaseUrl:"https://www.windsurf.com",signInPath:"/windsurf/signin",registerApiBaseUrl:"https://register.windsurf.com",registerPath:"/exa.seat_management_pb.SeatManagementService/RegisterUser",oneTimeAuthPath:"/exa.seat_management_pb.SeatManagementService/GetOneTimeAuthToken",currentUserPath:"/exa.seat_management_pb.SeatManagementService/GetCurrentUser",planStatusPath:"/exa.seat_management_pb.SeatManagementService/GetPlanStatus",userStatusPath:"/exa.seat_management_pb.SeatManagementService/GetUserStatus",defaultApiServerUrl:"https://server.codeium.com",firebaseApiKey:"AIzaSyDsOl-1XpT5err0Tcn0TFFod1H8gVGIycY",callbackPath:"/windsurf-auth-callback",userAgent:"antigravity-cockpit-tools",oauthTimeoutMs:6e5},G={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},H={...f.sr["frontier-for-all"]},I=3e5},94735:a=>{a.exports=require("events")},99471:(a,b,c)=>{c.d(b,{Y:()=>k,w:()=>j});var d=c(68001);let e=null,f=0,g=null;async function h(){let a=new AbortController,b=setTimeout(()=>a.abort(),5e3);try{let b=await fetch("https://opencode.ai/zen/v1/models",{signal:a.signal});if(!b.ok)return e||[];let c=await b.json(),g=c.data??c.models??c,h=d.S["opencode-free"](Array.isArray(g)?g:[]);return e=h,f=Date.now(),h}catch{return e||[]}finally{clearTimeout(b)}}async function i(){if(e&&Date.now()-f<6e5)return e;if(!g){g=h();try{return await g}finally{g=null}}return g}async function j(a){let b=(await i()).find(b=>b&&b.id===a);return b?{provider:"opencode",model:b.id}:"big-pickle"===a||String(a).endsWith("-free")?{provider:"opencode",model:a}:null}async function k(){return await i()}},99477:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>ab,patchFetch:()=>aa,routeModule:()=>Y,serverHooks:()=>_,workAsyncStorage:()=>Z,workUnitAsyncStorage:()=>$});var d={};c.r(d),c.d(d,{OPTIONS:()=>W,POST:()=>X});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23433),w=c(29273),x=c(89718),y=c(38775),z=c(89865),A=c(60290),B=c(79026),C=c(85640),D=c(39141);let E={"jina-ai":"https://api.jina.ai/v1/embeddings"},F=a=>D.B$[a]?.embeddingConfig||{};function G(a){let b=F(a);return{buildUrl:()=>F(a).baseUrl||E[a],buildHeaders:a=>({"Content-Type":"application/json",...{Authorization:`Bearer ${a.apiKey||a.accessToken}`},...b.headers||{}}),buildBody:(a,{input:b,encoding_format:c,dimensions:d})=>{let e={model:a,input:b};if(c&&(e.encoding_format=c),null!=d&&""!==d){let a=Number(d);Number.isFinite(a)&&a>0&&(e.dimensions=a)}return e},normalize:a=>a}}function H(a){return a.startsWith("models/")?a:`models/${a}`}let I={buildUrl:(a,b,{input:c}={})=>{let d=b.apiKey||b.accessToken,e=H(a),f=Array.isArray(c)?"batchEmbedContents":"embedContent";return`https://generativelanguage.googleapis.com/v1beta/${e}:${f}?key=${encodeURIComponent(d)}`},buildHeaders:()=>({"Content-Type":"application/json"}),buildBody:(a,{input:b,dimensions:c})=>{let d=H(a),e=Number(c),f=Number.isFinite(e)&&e>0;return Array.isArray(b)?{requests:b.map(a=>({model:d,content:{parts:[{text:String(a)}]},...f?{outputDimensionality:e}:{}}))}:{model:d,content:{parts:[{text:String(b)}]},...f?{outputDimensionality:e}:{}}},normalize:(a,b)=>{if("list"===a.object&&Array.isArray(a.data))return a;let c=[];return Array.isArray(a.embeddings)?c=a.embeddings.map((a,b)=>({object:"embedding",index:b,embedding:a.values||[]})):a.embedding?.values&&(c=[{object:"embedding",index:0,embedding:a.embedding.values}]),{object:"list",data:c,model:b,usage:{prompt_tokens:0,total_tokens:0}}}};var J=c(74986);let K={...G("openai"),buildUrl:(a,b)=>{let c=(b?.providerSpecificData?.baseUrl||"https://api.openai.com/v1").replace(/\/$/,"").replace(/\/embeddings$/,"");return`${c}/embeddings`},buildHeaders:a=>(0,J.im)({"Content-Type":"application/json"},a?.providerSpecificData||{},{Authorization:`Bearer ${a?.apiKey||a?.accessToken}`})},L=G("openai");class M extends Error{constructor(){super('Self-hosted Embedding needs an endpoint: set this connection\'s baseUrl to the OpenAI base URL of your server, e.g. http://host:8080/v1 (note the /v1 — "/embeddings" is appended to it). Refusing to fall back to api.openai.com, which would send your input and API key to OpenAI.'),this.name="MissingBaseUrlError",this.isConfigError=!0}}let N={...L,buildUrl:(a,b)=>{let c=b?.providerSpecificData?.baseUrl;if(!c||!String(c).trim())throw new M;let d=String(c).trim().replace(/\/$/,"").replace(/\/embeddings$/,"");return`${d}/embeddings`}};var O=c(4630);let P={...Object.fromEntries(["openai","openrouter","mistral","voyage-ai","fireworks","together","nebius","github","nvidia","jina-ai","vercel-ai-gateway"].map(a=>[a,G(a)])),gemini:I,google_ai_studio:I,"selfhosted-embedding":N,"ollama-local":{buildUrl:(a,b)=>{let c=((0,O.Ak)(b)||"").replace(/\/+$/,"");return`${c}/v1/embeddings`},buildHeaders:()=>({"Content-Type":"application/json"}),buildBody:(a,{input:b,encoding_format:c,dimensions:d})=>{let e={model:a,input:b};if(c&&(e.encoding_format=c),null!=d&&""!==d){let a=Number(d);Number.isFinite(a)&&a>0&&(e.dimensions=a)}return e},normalize:a=>a}};async function Q({body:a,modelInfo:b,credentials:c,log:d,onCredentialsRefreshed:e,onRequestSuccess:f}){let g,h,i,j,k,{provider:l,model:m}=b,n=a.input;if(!n)return(0,z.A1)(A.gx.BAD_REQUEST,"Missing required field: input");if("string"!=typeof n&&!Array.isArray(n))return(0,z.A1)(A.gx.BAD_REQUEST,"input must be a string or array of strings");let o=P[l]?P[l]:l?.startsWith?.("openai-compatible-")||l?.startsWith?.("custom-embedding-")?K:null;if(!o)return(0,z.A1)(A.gx.BAD_REQUEST,`Provider '${l}' does not support embeddings.`);let p={input:n};try{g=o.buildUrl(m,c,p),h=o.buildHeaders(c,p),i=o.buildBody(m,{input:n,encoding_format:a.encoding_format||"float",dimensions:a.dimensions})}catch(a){return d?.debug?.("EMBEDDINGS",`Request build failed: ${a.message}`),(0,z.A1)(A.gx.BAD_REQUEST,`[${l}/${m}] ${a.message}`)}d?.debug?.("EMBEDDINGS",`${l.toUpperCase()} | ${m} | input_type=${Array.isArray(n)?`array[${n.length}]`:"string"}`);try{j=await fetch(g,{method:"POST",headers:h,body:JSON.stringify(i),..."function"==typeof AbortSignal?.timeout?{signal:AbortSignal.timeout(A.pH)}:{}})}catch(b){let a=(0,z.lR)(b,l,m,A.gx.BAD_GATEWAY);return d?.debug?.("EMBEDDINGS",`Fetch error: ${a}`),(0,z.A1)(A.gx.BAD_GATEWAY,a)}let q=(0,B.SB)(l);if(!q?.noAuth&&(j.status===A.gx.UNAUTHORIZED||j.status===A.gx.FORBIDDEN)){let a=await (0,C.qZ)(()=>q.refreshCredentials(c,d),3,d);if(a?.accessToken||a?.apiKey){d?.info?.("TOKEN",`${l.toUpperCase()} | refreshed for embeddings`),Object.assign(c,a),e&&await e(a);try{let a=o.buildHeaders(c,p),b=o.buildUrl(m,c,p);j=await fetch(b,{method:"POST",headers:a,body:JSON.stringify(i)})}catch{d?.warn?.("TOKEN",`${l.toUpperCase()} | retry after refresh failed`)}}else d?.warn?.("TOKEN",`${l.toUpperCase()} | refresh failed`)}if(!j.ok){let{statusCode:a,message:b}=await (0,z.zL)(j),c=(0,z.lR)(Error(b),l,m,a);return d?.debug?.("EMBEDDINGS",`Provider error: ${c}`),(0,z.A1)(a,c)}try{k=await j.json()}catch{return(0,z.A1)(A.gx.BAD_GATEWAY,`Invalid JSON response from ${l}`)}f&&await f();let r=o.normalize(k,m);return d?.debug?.("EMBEDDINGS",`Success | usage=${JSON.stringify(r.usage||{})}`),{success:!0,usage:r.usage||null,response:new Response(JSON.stringify(r),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}var R=c(7803),S=c(67828),T=c(47370);async function U(a){let b;try{b=await a.json()}catch{return R.warn("EMBEDDINGS","Invalid JSON body"),(0,z.yj)(A.gx.BAD_REQUEST,"Invalid JSON body")}let c=new URL(a.url),d=b.model;R.request("POST",`${c.pathname} | ${d}`);let{apiKey:e,valid:f}=await (0,v.$A)(a);if(e?R.debug("AUTH",`API Key: ${R.maskKey(e)}`):R.debug("AUTH","No API key provided (local mode)"),(await (0,x.mt)()).requireApiKey){if(!e)return R.warn("AUTH","Missing API key (requireApiKey=true)"),(0,z.yj)(A.gx.UNAUTHORIZED,"Missing API key");if(!f)return R.warn("AUTH","Invalid API key (requireApiKey=true)"),(0,z.yj)(A.gx.UNAUTHORIZED,"Invalid API key")}if(!d)return R.warn("EMBEDDINGS","Missing model"),(0,z.yj)(A.gx.BAD_REQUEST,"Missing model");if(!b.input)return R.warn("EMBEDDINGS","Missing input"),(0,z.yj)(A.gx.BAD_REQUEST,"Missing required field: input");let g=await (0,y.mA)(d);if(!g.provider)return R.warn("EMBEDDINGS","Invalid model format",{model:d}),(0,z.yj)(A.gx.BAD_REQUEST,"Invalid model format");let{provider:h,model:i}=g,j=await (0,w.K)(a,{model:`${h}/${i}`,body:b});if(j.error)return j.error;d!==`${h}/${i}`?R.info("ROUTING",`${d} → ${h}/${i}`):R.info("ROUTING",`Provider: ${h}, Model: ${i}`);let k=new Set,l=null,m=null;for(;;){let a=await (0,v.c1)(h,k,i);if(!a||a.allRateLimited){if(a?.allRateLimited){let b=l||a.lastError||"Unavailable",c=m||Number(a.lastErrorCode)||A.gx.SERVICE_UNAVAILABLE;return R.warn("EMBEDDINGS",`[${h}/${i}] ${b} (${a.retryAfterHuman})`),(0,z.wO)(c,`[${h}/${i}] ${b}`,a.retryAfter,a.retryAfterHuman)}if(0===k.size)return R.error("AUTH",`No credentials for provider: ${h}`),(0,z.yj)(A.gx.BAD_REQUEST,`No credentials for provider: ${h}`);return R.warn("EMBEDDINGS","No more accounts available",{provider:h}),(0,z.yj)(m||A.gx.SERVICE_UNAVAILABLE,l||"All accounts unavailable")}R.info("AUTH",`\x1b[32mUsing ${h} account: ${a.connectionName}\x1b[0m`);let d=await (0,S.checkAndRefreshToken)(h,a,(0,B.SB)(h)),f=await Q({body:{...b,model:`${h}/${i}`},modelInfo:{provider:h,model:i},credentials:d,log:R,onCredentialsRefreshed:async b=>{await (0,S.vN)(a.connectionId,{...b,existingProviderSpecificData:a.providerSpecificData,testStatus:"active"})},onRequestSuccess:async()=>{await (0,v.Pt)(a.connectionId,a,i)}});if(f.success){let b=function(a){if(!a||"object"!=typeof a||Array.isArray(a)||!0===a.estimated)return null;let b=a.prompt_tokens??a.input_tokens,c=a.completion_tokens??a.output_tokens??0,d=a.total_tokens;return!Number.isSafeInteger(b)||b<=0||0!==c||d!==b?null:{prompt_tokens:b,completion_tokens:0,total_tokens:d}}(f.usage);return b&&(0,T.sZ)({provider:h,model:i,connectionId:a.connectionId,apiKey:e,endpoint:c.pathname,tokens:b,status:"success"}).catch(()=>{}),f.response}let{shouldFallback:g}=await (0,v.vk)(a.connectionId,f.status,f.error,h,i);if(g){R.warn("AUTH",`Account ${a.connectionName} unavailable (${f.status}), trying fallback`),k.add(a.connectionId),l=f.error,m=f.status;continue}return f.response}}var V=c(46130);async function W(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function X(a){return await (0,V.Z)(U)(a)}let Y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/v1/embeddings/route",pathname:"/api/v1/embeddings",filename:"route",bundlePath:"app/api/v1/embeddings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/v1/embeddings/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:Z,workUnitAsyncStorage:$,serverHooks:_}=Y;function aa(){return(0,g.patchFetch)({workAsyncStorage:Z,workUnitAsyncStorage:$})}async function ab(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),Y.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/embeddings/route";"/index"===d&&(d="/");let e=await Y.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||Y.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===Y.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await Y.getIncrementalCache(a,x,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>Y.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>Y.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${N} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await Y.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await Y.handleResponse({req:a,nextConfig:x,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await Y.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7774,4722,3267,1522,4646,1847,4378,8946,8129,576,9865,5130,4485,4878,7828,1187,8644,7677,73,7594,1733,9026],()=>b(b.s=99477));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=5018,a.ids=[5018],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8086:a=>{a.exports=require("module")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29273:(a,b,c)=>{c.d(b,{K:()=>h});var d=c(89718),e=c(23433),f=c(89865),g=c(60290);async function h(a,{model:b,body:c,reserveTokens:i=!1}={}){var j;let k,l=await (0,d.mt)(),m=(0,e.Tr)(a);if(!m)return l.requireApiKey?{error:(0,f.yj)(g.gx.UNAUTHORIZED,"Missing API key")}:{apiKey:null,body:c};let n=await (0,d.y7)(m),o=n?.expiresAt&&new Date(n.expiresAt).getTime()<=Date.now();if(!n?.isActive||o)return{error:(0,f.yj)(g.gx.UNAUTHORIZED,"Invalid API key")};if(Array.isArray(n.allowedModels)&&n.allowedModels.length&&b){let a="string"==typeof c?.model?c.model:null;if(!n.allowedModels.includes(b)&&!n.allowedModels.includes(a))return{error:(0,f.yj)(g.gx.FORBIDDEN,"This API key is not allowed to use the selected model")}}if(!i||null==n.tokenLimit)return{apiKey:m,key:n,body:c};let p=n.tokenLimit-n.tokensUsed-n.tokensReserved,q=Math.max(1,Math.ceil(JSON.stringify(c?.messages||c?.input||c?.prompt||c?.query||"").length/4));if(p<=q)return{error:(0,f.yj)(g.gx.FORBIDDEN,"API key token quota exceeded")};let r=(j=Math.max(0,p-q),null==(k=c?.max_completion_tokens??c?.max_tokens??c?.max_output_tokens)?j:Math.min(j,Math.max(1,Number(k)||1))),s=await (0,d.mV)(m,q+r);return s.ok?{apiKey:m,key:n,body:c?.max_completion_tokens!=null?{...c,max_completion_tokens:r}:c?.max_output_tokens!=null?{...c,max_output_tokens:r}:{...c,max_tokens:r},reservation:s.reserved}:{error:(0,f.yj)(g.gx.FORBIDDEN,s.error)}}},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},38775:(a,b,c)=>{c.d(b,{d_:()=>j,mA:()=>h,pe:()=>k});var d=c(89718),e=c(66451),f=c(99471);c(17218);let g={xmtp:"xiaomi-tokenplan","xiaomi-tokenplan":"xiaomi-tokenplan"};async function h(a){let b,c=(b=(0,e.Xh)(a),b?.providerAlias&&g[b.providerAlias]?{...b,provider:g[b.providerAlias]}:b);if(!c.isAlias){let a=(await (0,d.Fh)({type:"openai-compatible"})).find(a=>a.prefix===c.providerAlias);if(a)return{provider:a.id,model:c.model};let b=(await (0,d.Fh)({type:"anthropic-compatible"})).find(a=>a.prefix===c.providerAlias);if(b)return{provider:b.id,model:c.model};let e=(await (0,d.Fh)({type:"custom-embedding"})).find(a=>a.prefix===c.providerAlias);if(e)return{provider:e.id,model:c.model};let f=(await (0,d.Fh)({type:"custom-video"})).find(a=>a.prefix===c.providerAlias);return f?{provider:f.id,model:c.model}:{provider:c.provider,model:c.model}}if(await (0,d.Dj)(c.model))return{provider:null,model:c.model};let f=await i(c.model);return f||(0,e.js)(a,d.OM)}async function i(a){try{let b=(await (0,d.uv)()).find(b=>b&&b.id===a&&("llm"===b.type||!b.type));if(b&&b.providerAlias)return{provider:(0,e.g2)(b.providerAlias),model:b.id}}catch{}try{let b=await (0,d.OM)(),c=(0,e.sc)(a,b);if(c)return c}catch{}let b=(0,e.PN)(a);if(b)return{provider:b,model:a};try{let b=await (0,f.w)(a);if(b)return b}catch{}return null}async function j(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b&&b.models&&b.models.length>0?b.models:null}async function k(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b?{models:b.models||[],members:b.members||(b.models||[]).map(a=>({id:a,weight:1})),policy:b.policy||null,accountPolicy:b.accountPolicy||null,fusion:b.fusion||null,config:b.config||null,name:b.name,kind:b.kind}:null}},40610:a=>{a.exports=require("node:dns")},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46130:(a,b,c)=>{c.d(b,{Z:()=>n});var d=c(23433),e=c(74452),f=c(29686);c(40615);var g=c(38775),h=c(89865),i=c(60290);async function j(a,b){try{let c=await a.clone().json();if(!c||"object"!=typeof c)return null;let d=b&&c.provider||c.model;return"string"==typeof d?d:null}catch{return null}}async function k(a){try{let b=(await a.clone().formData()).get("model");return"string"==typeof b?b:null}catch{return null}}async function l(a,b){if(!a)return null;if(b)return[{provider:a,model:b}];try{let b=await (0,g.d_)(a);if(b&&b.length>0){let a=[];for(let c of b){let b=await (0,g.mA)(c);b?.provider&&a.push({provider:b.provider,model:b.model})}return a.length?a:null}}catch{}try{let b=await (0,g.mA)(a);if(b?.provider)return[{provider:b.provider,model:b.model}]}catch{}return null}async function m(a,b,c){try{let g=(0,d.Tr)(a);if(!g)return null;let m=await (0,e.getApiKeyScopeByKey)(g);if(!m)return null;let n="form"===b?await k(a):await j(a,"json-provider"===b),o=await l(n,c);if(!o)return null;let p=o.find(a=>{var b,c;return b=a.provider,c=a.model,!(0,f.Uw)(m,b,c)});if(!p)return null;return(0,h.yj)(i.gx.FORBIDDEN,`API key scope does not permit access to ${p.provider}/${p.model}`)}catch{return null}}function n(a,b={}){let{bodyMode:c="json",pseudoModelId:d=null}=b;return async function(b,...e){let f=await m(b,c,d);return f||a(b,...e)}}},46293:a=>{a.exports=require("sql.js")},47370:(a,b,c)=>{c.d(b,{BY:()=>d.BY,E5:()=>d.E5,QB:()=>d.QB,SL:()=>d.SL,Zx:()=>d.Zx,_V:()=>d._V,j$:()=>d.j$,ox:()=>d.ox,rg:()=>d.rg,sZ:()=>d.sZ,uw:()=>d.uw,wV:()=>d.wV});var d=c(53267)},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68001:(a,b,c)=>{c.d(b,{S:()=>g});var d=c(38071);let e=["big-pickle"],f=new Set(["deepseek-v4-flash-free"]),g={"openrouter-free":a=>a.filter(a=>a.pricing?.prompt==="0"&&a.pricing?.completion==="0"&&a.context_length>=2e5).map(a=>({id:a.id,name:a.name,contextLength:a.context_length})).sort((a,b)=>b.contextLength-a.contextLength),"opencode-free":a=>a.filter(a=>(a.id?.endsWith("-free")||e.includes(a.id))&&!f.has(a.id)).map(a=>({id:a.id,name:a.id})),"mimo-free":a=>(Array.isArray(a)?a:[]).filter(a=>a.id?.startsWith("mimo")||a.name?.toLowerCase().includes("mimo")).map(a=>({id:a.id,name:a.name||a.id})),"nous-free":d.pD,"airforce-free":a=>(Array.isArray(a)?a:[]).filter(a=>("free"===a.tier||a.id?.endsWith(":free"))&&!0===a.supports_chat&&(!a.media_type||"chat"===a.media_type||"text"===a.media_type)).map(a=>({id:a.id,name:a.name||a.id,contextLength:a.context_length})).sort((a,b)=>String(a.id).localeCompare(String(b.id)))}},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},71964:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>ab,patchFetch:()=>aa,routeModule:()=>Y,serverHooks:()=>_,workAsyncStorage:()=>Z,workUnitAsyncStorage:()=>$});var d={};c.r(d),c.d(d,{OPTIONS:()=>W,POST:()=>X});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23433),w=c(29273),x=c(89718),y=c(38775),z=c(89865),A=c(60290),B=c(79026),C=c(85640),D=c(39141);let E={"jina-ai":"https://api.jina.ai/v1/embeddings"},F=a=>D.B$[a]?.embeddingConfig||{};function G(a){let b=F(a);return{buildUrl:()=>F(a).baseUrl||E[a],buildHeaders:a=>({"Content-Type":"application/json",...{Authorization:`Bearer ${a.apiKey||a.accessToken}`},...b.headers||{}}),buildBody:(a,{input:b,encoding_format:c,dimensions:d})=>{let e={model:a,input:b};if(c&&(e.encoding_format=c),null!=d&&""!==d){let a=Number(d);Number.isFinite(a)&&a>0&&(e.dimensions=a)}return e},normalize:a=>a}}function H(a){return a.startsWith("models/")?a:`models/${a}`}let I={buildUrl:(a,b,{input:c}={})=>{let d=b.apiKey||b.accessToken,e=H(a),f=Array.isArray(c)?"batchEmbedContents":"embedContent";return`https://generativelanguage.googleapis.com/v1beta/${e}:${f}?key=${encodeURIComponent(d)}`},buildHeaders:()=>({"Content-Type":"application/json"}),buildBody:(a,{input:b,dimensions:c})=>{let d=H(a),e=Number(c),f=Number.isFinite(e)&&e>0;return Array.isArray(b)?{requests:b.map(a=>({model:d,content:{parts:[{text:String(a)}]},...f?{outputDimensionality:e}:{}}))}:{model:d,content:{parts:[{text:String(b)}]},...f?{outputDimensionality:e}:{}}},normalize:(a,b)=>{if("list"===a.object&&Array.isArray(a.data))return a;let c=[];return Array.isArray(a.embeddings)?c=a.embeddings.map((a,b)=>({object:"embedding",index:b,embedding:a.values||[]})):a.embedding?.values&&(c=[{object:"embedding",index:0,embedding:a.embedding.values}]),{object:"list",data:c,model:b,usage:{prompt_tokens:0,total_tokens:0}}}};var J=c(74986);let K={...G("openai"),buildUrl:(a,b)=>{let c=(b?.providerSpecificData?.baseUrl||"https://api.openai.com/v1").replace(/\/$/,"").replace(/\/embeddings$/,"");return`${c}/embeddings`},buildHeaders:a=>(0,J.im)({"Content-Type":"application/json"},a?.providerSpecificData||{},{Authorization:`Bearer ${a?.apiKey||a?.accessToken}`})},L=G("openai");class M extends Error{constructor(){super('Self-hosted Embedding needs an endpoint: set this connection\'s baseUrl to the OpenAI base URL of your server, e.g. http://host:8080/v1 (note the /v1 — "/embeddings" is appended to it). Refusing to fall back to api.openai.com, which would send your input and API key to OpenAI.'),this.name="MissingBaseUrlError",this.isConfigError=!0}}let N={...L,buildUrl:(a,b)=>{let c=b?.providerSpecificData?.baseUrl;if(!c||!String(c).trim())throw new M;let d=String(c).trim().replace(/\/$/,"").replace(/\/embeddings$/,"");return`${d}/embeddings`}};var O=c(4630);let P={...Object.fromEntries(["openai","openrouter","mistral","voyage-ai","fireworks","together","nebius","github","nvidia","jina-ai","vercel-ai-gateway"].map(a=>[a,G(a)])),gemini:I,google_ai_studio:I,"selfhosted-embedding":N,"ollama-local":{buildUrl:(a,b)=>{let c=((0,O.Ak)(b)||"").replace(/\/+$/,"");return`${c}/v1/embeddings`},buildHeaders:()=>({"Content-Type":"application/json"}),buildBody:(a,{input:b,encoding_format:c,dimensions:d})=>{let e={model:a,input:b};if(c&&(e.encoding_format=c),null!=d&&""!==d){let a=Number(d);Number.isFinite(a)&&a>0&&(e.dimensions=a)}return e},normalize:a=>a}};async function Q({body:a,modelInfo:b,credentials:c,log:d,onCredentialsRefreshed:e,onRequestSuccess:f}){let g,h,i,j,k,{provider:l,model:m}=b,n=a.input;if(!n)return(0,z.A1)(A.gx.BAD_REQUEST,"Missing required field: input");if("string"!=typeof n&&!Array.isArray(n))return(0,z.A1)(A.gx.BAD_REQUEST,"input must be a string or array of strings");let o=P[l]?P[l]:l?.startsWith?.("openai-compatible-")||l?.startsWith?.("custom-embedding-")?K:null;if(!o)return(0,z.A1)(A.gx.BAD_REQUEST,`Provider '${l}' does not support embeddings.`);let p={input:n};try{g=o.buildUrl(m,c,p),h=o.buildHeaders(c,p),i=o.buildBody(m,{input:n,encoding_format:a.encoding_format||"float",dimensions:a.dimensions})}catch(a){return d?.debug?.("EMBEDDINGS",`Request build failed: ${a.message}`),(0,z.A1)(A.gx.BAD_REQUEST,`[${l}/${m}] ${a.message}`)}d?.debug?.("EMBEDDINGS",`${l.toUpperCase()} | ${m} | input_type=${Array.isArray(n)?`array[${n.length}]`:"string"}`);try{j=await fetch(g,{method:"POST",headers:h,body:JSON.stringify(i),..."function"==typeof AbortSignal?.timeout?{signal:AbortSignal.timeout(A.pH)}:{}})}catch(b){let a=(0,z.lR)(b,l,m,A.gx.BAD_GATEWAY);return d?.debug?.("EMBEDDINGS",`Fetch error: ${a}`),(0,z.A1)(A.gx.BAD_GATEWAY,a)}let q=(0,B.SB)(l);if(!q?.noAuth&&(j.status===A.gx.UNAUTHORIZED||j.status===A.gx.FORBIDDEN)){let a=await (0,C.qZ)(()=>q.refreshCredentials(c,d),3,d);if(a?.accessToken||a?.apiKey){d?.info?.("TOKEN",`${l.toUpperCase()} | refreshed for embeddings`),Object.assign(c,a),e&&await e(a);try{let a=o.buildHeaders(c,p),b=o.buildUrl(m,c,p);j=await fetch(b,{method:"POST",headers:a,body:JSON.stringify(i)})}catch{d?.warn?.("TOKEN",`${l.toUpperCase()} | retry after refresh failed`)}}else d?.warn?.("TOKEN",`${l.toUpperCase()} | refresh failed`)}if(!j.ok){let{statusCode:a,message:b}=await (0,z.zL)(j),c=(0,z.lR)(Error(b),l,m,a);return d?.debug?.("EMBEDDINGS",`Provider error: ${c}`),(0,z.A1)(a,c)}try{k=await j.json()}catch{return(0,z.A1)(A.gx.BAD_GATEWAY,`Invalid JSON response from ${l}`)}f&&await f();let r=o.normalize(k,m);return d?.debug?.("EMBEDDINGS",`Success | usage=${JSON.stringify(r.usage||{})}`),{success:!0,usage:r.usage||null,response:new Response(JSON.stringify(r),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}var R=c(7803),S=c(67828),T=c(47370);async function U(a){let b;try{b=await a.json()}catch{return R.warn("EMBEDDINGS","Invalid JSON body"),(0,z.yj)(A.gx.BAD_REQUEST,"Invalid JSON body")}let c=new URL(a.url),d=b.model;R.request("POST",`${c.pathname} | ${d}`);let{apiKey:e,valid:f}=await (0,v.$A)(a);if(e?R.debug("AUTH",`API Key: ${R.maskKey(e)}`):R.debug("AUTH","No API key provided (local mode)"),(await (0,x.mt)()).requireApiKey){if(!e)return R.warn("AUTH","Missing API key (requireApiKey=true)"),(0,z.yj)(A.gx.UNAUTHORIZED,"Missing API key");if(!f)return R.warn("AUTH","Invalid API key (requireApiKey=true)"),(0,z.yj)(A.gx.UNAUTHORIZED,"Invalid API key")}if(!d)return R.warn("EMBEDDINGS","Missing model"),(0,z.yj)(A.gx.BAD_REQUEST,"Missing model");if(!b.input)return R.warn("EMBEDDINGS","Missing input"),(0,z.yj)(A.gx.BAD_REQUEST,"Missing required field: input");let g=await (0,y.mA)(d);if(!g.provider)return R.warn("EMBEDDINGS","Invalid model format",{model:d}),(0,z.yj)(A.gx.BAD_REQUEST,"Invalid model format");let{provider:h,model:i}=g,j=await (0,w.K)(a,{model:`${h}/${i}`,body:b});if(j.error)return j.error;d!==`${h}/${i}`?R.info("ROUTING",`${d} → ${h}/${i}`):R.info("ROUTING",`Provider: ${h}, Model: ${i}`);let k=new Set,l=null,m=null;for(;;){let a=await (0,v.c1)(h,k,i);if(!a||a.allRateLimited){if(a?.allRateLimited){let b=l||a.lastError||"Unavailable",c=m||Number(a.lastErrorCode)||A.gx.SERVICE_UNAVAILABLE;return R.warn("EMBEDDINGS",`[${h}/${i}] ${b} (${a.retryAfterHuman})`),(0,z.wO)(c,`[${h}/${i}] ${b}`,a.retryAfter,a.retryAfterHuman)}if(0===k.size)return R.error("AUTH",`No credentials for provider: ${h}`),(0,z.yj)(A.gx.BAD_REQUEST,`No credentials for provider: ${h}`);return R.warn("EMBEDDINGS","No more accounts available",{provider:h}),(0,z.yj)(m||A.gx.SERVICE_UNAVAILABLE,l||"All accounts unavailable")}R.info("AUTH",`\x1b[32mUsing ${h} account: ${a.connectionName}\x1b[0m`);let d=await (0,S.checkAndRefreshToken)(h,a,(0,B.SB)(h)),f=await Q({body:{...b,model:`${h}/${i}`},modelInfo:{provider:h,model:i},credentials:d,log:R,onCredentialsRefreshed:async b=>{await (0,S.vN)(a.connectionId,{...b,existingProviderSpecificData:a.providerSpecificData,testStatus:"active"})},onRequestSuccess:async()=>{await (0,v.Pt)(a.connectionId,a,i)}});if(f.success){let b=function(a){if(!a||"object"!=typeof a||Array.isArray(a)||!0===a.estimated)return null;let b=a.prompt_tokens??a.input_tokens,c=a.completion_tokens??a.output_tokens??0,d=a.total_tokens;return!Number.isSafeInteger(b)||b<=0||0!==c||d!==b?null:{prompt_tokens:b,completion_tokens:0,total_tokens:d}}(f.usage);return b&&(0,T.sZ)({provider:h,model:i,connectionId:a.connectionId,apiKey:e,endpoint:c.pathname,tokens:b,status:"success"}).catch(()=>{}),f.response}let{shouldFallback:g}=await (0,v.vk)(a.connectionId,f.status,f.error,h,i);if(g){R.warn("AUTH",`Account ${a.connectionName} unavailable (${f.status}), trying fallback`),k.add(a.connectionId),l=f.error,m=f.status;continue}return f.response}}var V=c(46130);async function W(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function X(a){return await (0,V.Z)(U)(a)}let Y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/v1/embeddings/route",pathname:"/api/v1/embeddings",filename:"route",bundlePath:"app/api/v1/embeddings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/v1/embeddings/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:Z,workUnitAsyncStorage:$,serverHooks:_}=Y;function aa(){return(0,g.patchFetch)({workAsyncStorage:Z,workUnitAsyncStorage:$})}async function ab(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),Y.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/embeddings/route";"/index"===d&&(d="/");let e=await Y.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||Y.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===Y.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await Y.getIncrementalCache(a,x,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>Y.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>Y.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${N} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await Y.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await Y.handleResponse({req:a,nextConfig:x,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await Y.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},74075:a=>{a.exports=require("zlib")},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},92990:(a,b,c)=>{c.d(b,{DI:()=>i,DV:()=>C,LT:()=>j,MZ:()=>v,Nl:()=>z,Nu:()=>p,OV:()=>h,RY:()=>I,S6:()=>s,SK:()=>F,Td:()=>A,Tx:()=>q,V1:()=>J,WN:()=>t,Ww:()=>K,YT:()=>n,ZL:()=>m,_0:()=>H,aV:()=>u,cD:()=>o,eD:()=>G,f7:()=>y,hF:()=>k,lB:()=>w,oe:()=>E,qp:()=>B,sA:()=>D,t3:()=>l,w1:()=>x});var d=c(21820),e=c(92675),f=c(39141);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]};({...f.sr.qwen});let k={...f.sr.qoder};({...f.sr["qoderwork-cn"]});let l={...f.sr["qoder-cn"]},m={...f.sr.iflow},n={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function o(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let p={...f.sr.github},q={...f.sr.kiro},r=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function s(a){if("string"!=typeof a||!r.test(a))throw Error("Invalid region");return a}let t={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},u={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},v={...f.sr.kilocode},w={...f.sr.cline},x={...f.sr.clinepass},y={...f.sr.gitlab},z={...f.sr["codebuddy-cn"]},A={...f.sr.kimchi},B={...f.sr["grok-cli"]},C={...f.sr["codebuddy-intl"]},D={...f.sr.muse},E={platformUrl:process.env.MIMO_PLATFORM_URL||"https://platform.xiaomimimo.com",defaultBaseUrl:"https://api.xiaomimimo.com/v1",kn:"mimocode",callbackPath:"/",timeoutMs:3e5},F={clientId:"ono9krqynydwx5",clientSecret:"-",loginGuidanceUrls:["https://api.marscode.com/cloudide/api/v3/trae/GetLoginGuidance","https://api.trae.ai/cloudide/api/v3/trae/GetLoginGuidance","https://www.trae.ai/cloudide/api/v3/trae/GetLoginGuidance"],apiOrigins:["https://api.marscode.com","https://api.trae.ai","https://www.trae.ai","https://www.marscode.com"],exchangeTokenPath:"/cloudide/api/v3/trae/oauth/ExchangeToken",getUserInfoPath:"/cloudide/api/v3/trae/GetUserInfo",authorizationPath:"/authorization",callbackPath:"/callback",minAppVersion:"3.5.54",defaultAppVersion:"3.5.54",defaultAppType:"stable",defaultPluginVersion:"local",defaultDeviceId:"0",userAgent:"Trae/1.0.0 antigravity-cockpit-tools",webUrl:"https://www.trae.ai",authScheme:"Cloud-IDE-JWT",tokenLifetimeDays:14,oauthTimeoutMs:6e5},G={clientId:"3GUryQ7ldAeKEuD2obYnppsnmj58eP5u",authBaseUrl:"https://www.windsurf.com",signInPath:"/windsurf/signin",registerApiBaseUrl:"https://register.windsurf.com",registerPath:"/exa.seat_management_pb.SeatManagementService/RegisterUser",oneTimeAuthPath:"/exa.seat_management_pb.SeatManagementService/GetOneTimeAuthToken",currentUserPath:"/exa.seat_management_pb.SeatManagementService/GetCurrentUser",planStatusPath:"/exa.seat_management_pb.SeatManagementService/GetPlanStatus",userStatusPath:"/exa.seat_management_pb.SeatManagementService/GetUserStatus",defaultApiServerUrl:"https://server.codeium.com",firebaseApiKey:"AIzaSyDsOl-1XpT5err0Tcn0TFFod1H8gVGIycY",callbackPath:"/windsurf-auth-callback",userAgent:"antigravity-cockpit-tools",oauthTimeoutMs:6e5},H={...f.sr.glm},I={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},J={...f.sr["frontier-for-all"]},K=3e5},94735:a=>{a.exports=require("events")},99471:(a,b,c)=>{c.d(b,{Y:()=>k,w:()=>j});var d=c(68001);let e=null,f=0,g=null;async function h(){let a=new AbortController,b=setTimeout(()=>a.abort(),5e3);try{let b=await fetch("https://opencode.ai/zen/v1/models",{signal:a.signal});if(!b.ok)return e||[];let c=await b.json(),g=c.data??c.models??c,h=d.S["opencode-free"](Array.isArray(g)?g:[]);return e=h,f=Date.now(),h}catch{return e||[]}finally{clearTimeout(b)}}async function i(){if(e&&Date.now()-f<6e5)return e;if(!g){g=h();try{return await g}finally{g=null}}return g}async function j(a){let b=(await i()).find(b=>b&&b.id===a);return b?{provider:"opencode",model:b.id}:"big-pickle"===a||String(a).endsWith("-free")?{provider:"opencode",model:a}:null}async function k(){return await i()}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7774,7218,3267,1522,4646,1847,9843,4378,8129,576,9865,5130,4485,4878,7828,1187,8644,7677,73,7594,1733,9026],()=>b(b.s=71964));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@aws-sdk/core/httpAuthSchemes.js","../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../node_modules/@aws-sdk/core/protocols.js","../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/loadCognitoIdentity-v413cIIq.js","../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-login/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js","../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../node_modules/@aws-sdk/credential-providers/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-providers/dist-cjs/loadSts-C4jOcYxJ.js","../../../../../../node_modules/@aws-sdk/credential-providers/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/cognito-identity.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/signin.js","../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../node_modules/@aws-sdk/nested-clients/sso.js","../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js","../../../../../../node_modules/@aws/lambda-invoke-store/package.json","../../../../../../node_modules/@smithy/core/cbor.js","../../../../../../node_modules/@smithy/core/checksum.js","../../../../../../node_modules/@smithy/core/client.js","../../../../../../node_modules/@smithy/core/config.js","../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/client/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/config/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/retry/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/schema/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/serde/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/transport/index.js","../../../../../../node_modules/@smithy/core/endpoints.js","../../../../../../node_modules/@smithy/core/event-streams.js","../../../../../../node_modules/@smithy/core/package.json","../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../node_modules/@smithy/core/retry.js","../../../../../../node_modules/@smithy/core/schema.js","../../../../../../node_modules/@smithy/core/serde.js","../../../../../../node_modules/@smithy/core/transport.js","../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../node_modules/@smithy/types/package.json","../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/bowser/es5.js","../../../../../../node_modules/bowser/package.json","../../../../../../node_modules/bundle-name/index.js","../../../../../../node_modules/bundle-name/package.json","../../../../../../node_modules/default-browser-id/index.js","../../../../../../node_modules/default-browser-id/package.json","../../../../../../node_modules/default-browser/index.js","../../../../../../node_modules/default-browser/package.json","../../../../../../node_modules/default-browser/windows.js","../../../../../../node_modules/define-lazy-prop/index.js","../../../../../../node_modules/define-lazy-prop/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/is-docker/index.js","../../../../../../node_modules/is-docker/package.json","../../../../../../node_modules/is-in-ssh/index.js","../../../../../../node_modules/is-in-ssh/package.json","../../../../../../node_modules/is-inside-container/index.js","../../../../../../node_modules/is-inside-container/package.json","../../../../../../node_modules/is-wsl/index.js","../../../../../../node_modules/is-wsl/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/open/index.js","../../../../../../node_modules/open/package.json","../../../../../../node_modules/open/xdg-open","../../../../../../node_modules/powershell-utils/index.js","../../../../../../node_modules/powershell-utils/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/run-applescript/index.js","../../../../../../node_modules/run-applescript/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../node_modules/wsl-utils/index.js","../../../../../../node_modules/wsl-utils/package.json","../../../../../../node_modules/wsl-utils/utilities.js","../../../../../../open-sse/package.json","../../../../../../package.json","../../../../../../src/lib/db/adapters/betterSqliteAdapter.js","../../../../../../src/lib/db/adapters/bunSqliteAdapter.js","../../../../../../src/lib/db/adapters/nodeSqliteAdapter.js","../../../../../../src/lib/db/adapters/sqljsAdapter.js","../../../../../../src/lib/db/migrate.js","../../../../../../src/lib/oauth/services/qoder.js","../../../../../../src/lib/oauth/services/xai.js","../../../../../../src/lib/tokenizer.js","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1133.js","../../../../chunks/1187.js","../../../../chunks/1220.js","../../../../chunks/1253.js","../../../../chunks/1306.js","../../../../chunks/1455.js","../../../../chunks/1482.js","../../../../chunks/1522.js","../../../../chunks/1531.js","../../../../chunks/155.js","../../../../chunks/1679.js","../../../../chunks/1733.js","../../../../chunks/1813.js","../../../../chunks/1847.js","../../../../chunks/2181.js","../../../../chunks/2220.js","../../../../chunks/2269.js","../../../../chunks/2348.js","../../../../chunks/241.js","../../../../chunks/2687.js","../../../../chunks/2750.js","../../../../chunks/2760.js","../../../../chunks/2767.js","../../../../chunks/2891.js","../../../../chunks/2898.js","../../../../chunks/319.js","../../../../chunks/3216.js","../../../../chunks/3245.js","../../../../chunks/3252.js","../../../../chunks/3267.js","../../../../chunks/3433.js","../../../../chunks/3449.js","../../../../chunks/3547.js","../../../../chunks/3583.js","../../../../chunks/3593.js","../../../../chunks/369.js","../../../../chunks/3794.js","../../../../chunks/3886.js","../../../../chunks/3912.js","../../../../chunks/3960.js","../../../../chunks/3966.js","../../../../chunks/3977.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4123.js","../../../../chunks/4152.js","../../../../chunks/4190.js","../../../../chunks/4327.js","../../../../chunks/4378.js","../../../../chunks/4433.js","../../../../chunks/4485.js","../../../../chunks/4574.js","../../../../chunks/4646.js","../../../../chunks/4704.js","../../../../chunks/4722.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4755.js","../../../../chunks/4780.js","../../../../chunks/4803.js","../../../../chunks/4807.js","../../../../chunks/4811.js","../../../../chunks/4827.js","../../../../chunks/4878.js","../../../../chunks/4882.js","../../../../chunks/5011.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5130.js","../../../../chunks/5209.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5345.js","../../../../chunks/5364.js","../../../../chunks/5434.js","../../../../chunks/5573.js","../../../../chunks/576.js","../../../../chunks/5875.js","../../../../chunks/595.js","../../../../chunks/6103.js","../../../../chunks/6140.js","../../../../chunks/615.js","../../../../chunks/6252.js","../../../../chunks/6405.js","../../../../chunks/6670.js","../../../../chunks/6707.js","../../../../chunks/6708.js","../../../../chunks/6790.js","../../../../chunks/6799.js","../../../../chunks/6844.js","../../../../chunks/6875.js","../../../../chunks/6921.js","../../../../chunks/6947.js","../../../../chunks/6950.js","../../../../chunks/6958.js","../../../../chunks/698.js","../../../../chunks/6988.js","../../../../chunks/7066.js","../../../../chunks/7073.js","../../../../chunks/7121.js","../../../../chunks/7239.js","../../../../chunks/73.js","../../../../chunks/7302.js","../../../../chunks/7321.js","../../../../chunks/7362.js","../../../../chunks/7528.js","../../../../chunks/7594.js","../../../../chunks/7663.js","../../../../chunks/7677.js","../../../../chunks/7716.js","../../../../chunks/7726.js","../../../../chunks/7753.js","../../../../chunks/7774.js","../../../../chunks/7775.js","../../../../chunks/7828.js","../../../../chunks/7965.js","../../../../chunks/7995.js","../../../../chunks/8062.js","../../../../chunks/8129.js","../../../../chunks/823.js","../../../../chunks/8231.js","../../../../chunks/8243.js","../../../../chunks/8306.js","../../../../chunks/8421.js","../../../../chunks/8459.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8552.js","../../../../chunks/8644.js","../../../../chunks/8658.js","../../../../chunks/8670.js","../../../../chunks/8749.js","../../../../chunks/8946.js","../../../../chunks/8976.js","../../../../chunks/9026.js","../../../../chunks/9062.js","../../../../chunks/9143.js","../../../../chunks/9296.js","../../../../chunks/9303.js","../../../../chunks/9485.js","../../../../chunks/9718.js","../../../../chunks/9843.js","../../../../chunks/9865.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@aws-sdk/core/httpAuthSchemes.js","../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../node_modules/@aws-sdk/core/protocols.js","../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/loadCognitoIdentity-v413cIIq.js","../../../../../../node_modules/@aws-sdk/credential-provider-cognito-identity/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-login/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js","../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../node_modules/@aws-sdk/credential-providers/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-providers/dist-cjs/loadSts-C4jOcYxJ.js","../../../../../../node_modules/@aws-sdk/credential-providers/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/cognito-identity.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/signin.js","../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../node_modules/@aws-sdk/nested-clients/sso.js","../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js","../../../../../../node_modules/@aws/lambda-invoke-store/package.json","../../../../../../node_modules/@smithy/core/cbor.js","../../../../../../node_modules/@smithy/core/checksum.js","../../../../../../node_modules/@smithy/core/client.js","../../../../../../node_modules/@smithy/core/config.js","../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/client/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/config/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/retry/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/schema/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/serde/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/transport/index.js","../../../../../../node_modules/@smithy/core/endpoints.js","../../../../../../node_modules/@smithy/core/event-streams.js","../../../../../../node_modules/@smithy/core/package.json","../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../node_modules/@smithy/core/retry.js","../../../../../../node_modules/@smithy/core/schema.js","../../../../../../node_modules/@smithy/core/serde.js","../../../../../../node_modules/@smithy/core/transport.js","../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../node_modules/@smithy/types/package.json","../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/bowser/es5.js","../../../../../../node_modules/bowser/package.json","../../../../../../node_modules/bundle-name/index.js","../../../../../../node_modules/bundle-name/package.json","../../../../../../node_modules/default-browser-id/index.js","../../../../../../node_modules/default-browser-id/package.json","../../../../../../node_modules/default-browser/index.js","../../../../../../node_modules/default-browser/package.json","../../../../../../node_modules/default-browser/windows.js","../../../../../../node_modules/define-lazy-prop/index.js","../../../../../../node_modules/define-lazy-prop/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/is-docker/index.js","../../../../../../node_modules/is-docker/package.json","../../../../../../node_modules/is-in-ssh/index.js","../../../../../../node_modules/is-in-ssh/package.json","../../../../../../node_modules/is-inside-container/index.js","../../../../../../node_modules/is-inside-container/package.json","../../../../../../node_modules/is-wsl/index.js","../../../../../../node_modules/is-wsl/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/open/index.js","../../../../../../node_modules/open/package.json","../../../../../../node_modules/open/xdg-open","../../../../../../node_modules/powershell-utils/index.js","../../../../../../node_modules/powershell-utils/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/run-applescript/index.js","../../../../../../node_modules/run-applescript/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../node_modules/wsl-utils/index.js","../../../../../../node_modules/wsl-utils/package.json","../../../../../../node_modules/wsl-utils/utilities.js","../../../../../../open-sse/package.json","../../../../../../package.json","../../../../../../src/lib/db/adapters/betterSqliteAdapter.js","../../../../../../src/lib/db/adapters/bunSqliteAdapter.js","../../../../../../src/lib/db/adapters/nodeSqliteAdapter.js","../../../../../../src/lib/db/adapters/sqljsAdapter.js","../../../../../../src/lib/db/migrate.js","../../../../../../src/lib/oauth/services/qoder.js","../../../../../../src/lib/oauth/services/xai.js","../../../../../../src/lib/tokenizer.js","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1133.js","../../../../chunks/1187.js","../../../../chunks/1220.js","../../../../chunks/1253.js","../../../../chunks/1306.js","../../../../chunks/1455.js","../../../../chunks/1482.js","../../../../chunks/1522.js","../../../../chunks/1531.js","../../../../chunks/155.js","../../../../chunks/1679.js","../../../../chunks/1733.js","../../../../chunks/1813.js","../../../../chunks/1847.js","../../../../chunks/2181.js","../../../../chunks/2220.js","../../../../chunks/2269.js","../../../../chunks/2348.js","../../../../chunks/241.js","../../../../chunks/2687.js","../../../../chunks/2750.js","../../../../chunks/2760.js","../../../../chunks/2891.js","../../../../chunks/2898.js","../../../../chunks/290.js","../../../../chunks/319.js","../../../../chunks/3216.js","../../../../chunks/3245.js","../../../../chunks/3252.js","../../../../chunks/3267.js","../../../../chunks/3275.js","../../../../chunks/3433.js","../../../../chunks/3449.js","../../../../chunks/3547.js","../../../../chunks/3583.js","../../../../chunks/3593.js","../../../../chunks/369.js","../../../../chunks/3794.js","../../../../chunks/3886.js","../../../../chunks/3912.js","../../../../chunks/3966.js","../../../../chunks/3977.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4123.js","../../../../chunks/4152.js","../../../../chunks/4190.js","../../../../chunks/4378.js","../../../../chunks/4433.js","../../../../chunks/4485.js","../../../../chunks/4574.js","../../../../chunks/4646.js","../../../../chunks/4704.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4755.js","../../../../chunks/4768.js","../../../../chunks/4780.js","../../../../chunks/4803.js","../../../../chunks/4807.js","../../../../chunks/4811.js","../../../../chunks/4827.js","../../../../chunks/4878.js","../../../../chunks/4882.js","../../../../chunks/5011.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5130.js","../../../../chunks/5209.js","../../../../chunks/5258.js","../../../../chunks/5296.js","../../../../chunks/5345.js","../../../../chunks/5364.js","../../../../chunks/5434.js","../../../../chunks/5573.js","../../../../chunks/576.js","../../../../chunks/5875.js","../../../../chunks/595.js","../../../../chunks/6103.js","../../../../chunks/6140.js","../../../../chunks/615.js","../../../../chunks/6252.js","../../../../chunks/6405.js","../../../../chunks/6420.js","../../../../chunks/6670.js","../../../../chunks/6707.js","../../../../chunks/6708.js","../../../../chunks/6790.js","../../../../chunks/6799.js","../../../../chunks/6844.js","../../../../chunks/6875.js","../../../../chunks/6921.js","../../../../chunks/6947.js","../../../../chunks/6950.js","../../../../chunks/6958.js","../../../../chunks/698.js","../../../../chunks/6988.js","../../../../chunks/7066.js","../../../../chunks/7073.js","../../../../chunks/7121.js","../../../../chunks/7218.js","../../../../chunks/7239.js","../../../../chunks/73.js","../../../../chunks/7302.js","../../../../chunks/7321.js","../../../../chunks/7362.js","../../../../chunks/7594.js","../../../../chunks/7663.js","../../../../chunks/7677.js","../../../../chunks/7716.js","../../../../chunks/7726.js","../../../../chunks/7753.js","../../../../chunks/7774.js","../../../../chunks/7775.js","../../../../chunks/7828.js","../../../../chunks/7965.js","../../../../chunks/7995.js","../../../../chunks/8062.js","../../../../chunks/8129.js","../../../../chunks/823.js","../../../../chunks/8231.js","../../../../chunks/8243.js","../../../../chunks/8306.js","../../../../chunks/8421.js","../../../../chunks/8450.js","../../../../chunks/8459.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8552.js","../../../../chunks/8644.js","../../../../chunks/8658.js","../../../../chunks/8749.js","../../../../chunks/8772.js","../../../../chunks/8976.js","../../../../chunks/9026.js","../../../../chunks/9062.js","../../../../chunks/9143.js","../../../../chunks/9296.js","../../../../chunks/9303.js","../../../../chunks/9485.js","../../../../chunks/9718.js","../../../../chunks/9843.js","../../../../chunks/9865.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1,6 +1,6 @@
1
- "use strict";(()=>{var a={};a.id=8870,a.ids=[8870],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8086:a=>{a.exports=require("module")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29273:(a,b,c)=>{c.d(b,{K:()=>h});var d=c(89718),e=c(23433),f=c(89865),g=c(60290);async function h(a,{model:b,body:c,reserveTokens:i=!1}={}){var j;let k,l=await (0,d.mt)(),m=(0,e.Tr)(a);if(!m)return l.requireApiKey?{error:(0,f.yj)(g.gx.UNAUTHORIZED,"Missing API key")}:{apiKey:null,body:c};let n=await (0,d.y7)(m),o=n?.expiresAt&&new Date(n.expiresAt).getTime()<=Date.now();if(!n?.isActive||o)return{error:(0,f.yj)(g.gx.UNAUTHORIZED,"Invalid API key")};if(Array.isArray(n.allowedModels)&&n.allowedModels.length&&b){let a="string"==typeof c?.model?c.model:null;if(!n.allowedModels.includes(b)&&!n.allowedModels.includes(a))return{error:(0,f.yj)(g.gx.FORBIDDEN,"This API key is not allowed to use the selected model")}}if(!i||null==n.tokenLimit)return{apiKey:m,key:n,body:c};let p=n.tokenLimit-n.tokensUsed-n.tokensReserved,q=Math.max(1,Math.ceil(JSON.stringify(c?.messages||c?.input||c?.prompt||c?.query||"").length/4));if(p<=q)return{error:(0,f.yj)(g.gx.FORBIDDEN,"API key token quota exceeded")};let r=(j=Math.max(0,p-q),null==(k=c?.max_completion_tokens??c?.max_tokens??c?.max_output_tokens)?j:Math.min(j,Math.max(1,Number(k)||1))),s=await (0,d.mV)(m,q+r);return s.ok?{apiKey:m,key:n,body:c?.max_completion_tokens!=null?{...c,max_completion_tokens:r}:c?.max_output_tokens!=null?{...c,max_output_tokens:r}:{...c,max_tokens:r},reservation:s.reserved}:{error:(0,f.yj)(g.gx.FORBIDDEN,s.error)}}},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},38775:(a,b,c)=>{c.d(b,{d_:()=>j,mA:()=>h,pe:()=>k});var d=c(89718),e=c(66451),f=c(99471);c(84722);let g={xmtp:"xiaomi-tokenplan","xiaomi-tokenplan":"xiaomi-tokenplan"};async function h(a){let b,c=(b=(0,e.Xh)(a),b?.providerAlias&&g[b.providerAlias]?{...b,provider:g[b.providerAlias]}:b);if(!c.isAlias){let a=(await (0,d.Fh)({type:"openai-compatible"})).find(a=>a.prefix===c.providerAlias);if(a)return{provider:a.id,model:c.model};let b=(await (0,d.Fh)({type:"anthropic-compatible"})).find(a=>a.prefix===c.providerAlias);if(b)return{provider:b.id,model:c.model};let e=(await (0,d.Fh)({type:"custom-embedding"})).find(a=>a.prefix===c.providerAlias);if(e)return{provider:e.id,model:c.model};let f=(await (0,d.Fh)({type:"custom-video"})).find(a=>a.prefix===c.providerAlias);return f?{provider:f.id,model:c.model}:{provider:c.provider,model:c.model}}if(await (0,d.Dj)(c.model))return{provider:null,model:c.model};let f=await i(c.model);return f||(0,e.js)(a,d.OM)}async function i(a){try{let b=(await (0,d.uv)()).find(b=>b&&b.id===a&&("llm"===b.type||!b.type));if(b&&b.providerAlias)return{provider:(0,e.g2)(b.providerAlias),model:b.id}}catch{}try{let b=await (0,d.OM)(),c=(0,e.sc)(a,b);if(c)return c}catch{}let b=(0,e.PN)(a);if(b)return{provider:b,model:a};try{let b=await (0,f.w)(a);if(b)return b}catch{}return null}async function j(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b&&b.models&&b.models.length>0?b.models:null}async function k(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b?{models:b.models||[],members:b.members||(b.models||[]).map(a=>({id:a,weight:1})),policy:b.policy||null,accountPolicy:b.accountPolicy||null,fusion:b.fusion||null,config:b.config||null,name:b.name,kind:b.kind}:null}},40610:a=>{a.exports=require("node:dns")},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46130:(a,b,c)=>{c.d(b,{Z:()=>n});var d=c(23433),e=c(74452),f=c(29686);c(40615);var g=c(38775),h=c(89865),i=c(60290);async function j(a,b){try{let c=await a.clone().json();if(!c||"object"!=typeof c)return null;let d=b&&c.provider||c.model;return"string"==typeof d?d:null}catch{return null}}async function k(a){try{let b=(await a.clone().formData()).get("model");return"string"==typeof b?b:null}catch{return null}}async function l(a,b){if(!a)return null;if(b)return[{provider:a,model:b}];try{let b=await (0,g.d_)(a);if(b&&b.length>0){let a=[];for(let c of b){let b=await (0,g.mA)(c);b?.provider&&a.push({provider:b.provider,model:b.model})}return a.length?a:null}}catch{}try{let b=await (0,g.mA)(a);if(b?.provider)return[{provider:b.provider,model:b.model}]}catch{}return null}async function m(a,b,c){try{let g=(0,d.Tr)(a);if(!g)return null;let m=await (0,e.getApiKeyScopeByKey)(g);if(!m)return null;let n="form"===b?await k(a):await j(a,"json-provider"===b),o=await l(n,c);if(!o)return null;let p=o.find(a=>{var b,c;return b=a.provider,c=a.model,!(0,f.Uw)(m,b,c)});if(!p)return null;return(0,h.yj)(i.gx.FORBIDDEN,`API key scope does not permit access to ${p.provider}/${p.model}`)}catch{return null}}function n(a,b={}){let{bodyMode:c="json",pseudoModelId:d=null}=b;return async function(b,...e){let f=await m(b,c,d);return f||a(b,...e)}}},46293:a=>{a.exports=require("sql.js")},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68001:(a,b,c)=>{c.d(b,{S:()=>g});var d=c(38071);let e=["big-pickle"],f=new Set(["deepseek-v4-flash-free"]),g={"openrouter-free":a=>a.filter(a=>a.pricing?.prompt==="0"&&a.pricing?.completion==="0"&&a.context_length>=2e5).map(a=>({id:a.id,name:a.name,contextLength:a.context_length})).sort((a,b)=>b.contextLength-a.contextLength),"opencode-free":a=>a.filter(a=>(a.id?.endsWith("-free")||e.includes(a.id))&&!f.has(a.id)).map(a=>({id:a.id,name:a.id})),"mimo-free":a=>(Array.isArray(a)?a:[]).filter(a=>a.id?.startsWith("mimo")||a.name?.toLowerCase().includes("mimo")).map(a=>({id:a.id,name:a.name||a.id})),"nous-free":d.pD,"airforce-free":a=>(Array.isArray(a)?a:[]).filter(a=>("free"===a.tier||a.id?.endsWith(":free"))&&!0===a.supports_chat&&(!a.media_type||"chat"===a.media_type||"text"===a.media_type)).map(a=>({id:a.id,name:a.name||a.id,contextLength:a.context_length})).sort((a,b)=>String(a.id).localeCompare(String(b.id)))}},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},74075:a=>{a.exports=require("zlib")},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},92990:(a,b,c)=>{c.d(b,{DI:()=>i,DV:()=>C,LT:()=>j,MZ:()=>v,Nl:()=>z,Nu:()=>p,OV:()=>h,RY:()=>G,S6:()=>s,SK:()=>E,Td:()=>A,Tx:()=>q,V1:()=>H,WN:()=>t,Ww:()=>I,YT:()=>n,ZL:()=>m,aV:()=>u,cD:()=>o,eD:()=>F,f7:()=>y,hF:()=>k,lB:()=>w,oe:()=>D,qp:()=>B,t3:()=>l,w1:()=>x});var d=c(21820),e=c(92675),f=c(39141);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]};({...f.sr.qwen});let k={...f.sr.qoder};({...f.sr["qoderwork-cn"]});let l={...f.sr["qoder-cn"]},m={...f.sr.iflow},n={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function o(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let p={...f.sr.github},q={...f.sr.kiro},r=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function s(a){if("string"!=typeof a||!r.test(a))throw Error("Invalid region");return a}let t={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},u={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},v={...f.sr.kilocode},w={...f.sr.cline},x={...f.sr.clinepass},y={...f.sr.gitlab},z={...f.sr["codebuddy-cn"]},A={...f.sr.kimchi},B={...f.sr["grok-cli"]},C={...f.sr["codebuddy-intl"]},D={platformUrl:process.env.MIMO_PLATFORM_URL||"https://platform.xiaomimimo.com",defaultBaseUrl:"https://api.xiaomimimo.com/v1",kn:"mimocode",callbackPath:"/",timeoutMs:3e5},E={clientId:"ono9krqynydwx5",clientSecret:"-",loginGuidanceUrls:["https://api.marscode.com/cloudide/api/v3/trae/GetLoginGuidance","https://api.trae.ai/cloudide/api/v3/trae/GetLoginGuidance","https://www.trae.ai/cloudide/api/v3/trae/GetLoginGuidance"],apiOrigins:["https://api.marscode.com","https://api.trae.ai","https://www.trae.ai","https://www.marscode.com"],exchangeTokenPath:"/cloudide/api/v3/trae/oauth/ExchangeToken",getUserInfoPath:"/cloudide/api/v3/trae/GetUserInfo",authorizationPath:"/authorization",callbackPath:"/callback",minAppVersion:"3.5.54",defaultAppVersion:"3.5.54",defaultAppType:"stable",defaultPluginVersion:"local",defaultDeviceId:"0",userAgent:"Trae/1.0.0 antigravity-cockpit-tools",webUrl:"https://www.trae.ai",authScheme:"Cloud-IDE-JWT",tokenLifetimeDays:14,oauthTimeoutMs:6e5},F={clientId:"3GUryQ7ldAeKEuD2obYnppsnmj58eP5u",authBaseUrl:"https://www.windsurf.com",signInPath:"/windsurf/signin",registerApiBaseUrl:"https://register.windsurf.com",registerPath:"/exa.seat_management_pb.SeatManagementService/RegisterUser",oneTimeAuthPath:"/exa.seat_management_pb.SeatManagementService/GetOneTimeAuthToken",currentUserPath:"/exa.seat_management_pb.SeatManagementService/GetCurrentUser",planStatusPath:"/exa.seat_management_pb.SeatManagementService/GetPlanStatus",userStatusPath:"/exa.seat_management_pb.SeatManagementService/GetUserStatus",defaultApiServerUrl:"https://server.codeium.com",firebaseApiKey:"AIzaSyDsOl-1XpT5err0Tcn0TFFod1H8gVGIycY",callbackPath:"/windsurf-auth-callback",userAgent:"antigravity-cockpit-tools",oauthTimeoutMs:6e5},G={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},H={...f.sr["frontier-for-all"]},I=3e5},94735:a=>{a.exports=require("events")},99471:(a,b,c)=>{c.d(b,{Y:()=>k,w:()=>j});var d=c(68001);let e=null,f=0,g=null;async function h(){let a=new AbortController,b=setTimeout(()=>a.abort(),5e3);try{let b=await fetch("https://opencode.ai/zen/v1/models",{signal:a.signal});if(!b.ok)return e||[];let c=await b.json(),g=c.data??c.models??c,h=d.S["opencode-free"](Array.isArray(g)?g:[]);return e=h,f=Date.now(),h}catch{return e||[]}finally{clearTimeout(b)}}async function i(){if(e&&Date.now()-f<6e5)return e;if(!g){g=h();try{return await g}finally{g=null}}return g}async function j(a){let b=(await i()).find(b=>b&&b.id===a);return b?{provider:"opencode",model:b.id}:"big-pickle"===a||String(a).endsWith("-free")?{provider:"opencode",model:a}:null}async function k(){return await i()}},99959:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>aM,patchFetch:()=>aL,routeModule:()=>aH,serverHooks:()=>aK,workAsyncStorage:()=>aI,workUnitAsyncStorage:()=>aJ});var d={};c.r(d),c.d(d,{OPTIONS:()=>aF,POST:()=>aG});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23433),w=c(29273),x=c(89718),y=c(38775),z=c(89865),A=c(60290),B=c(85640),C=c(79026),D=c(39141);let E=a=>D.B$[a]?.imageConfig||{};function F(a){let b=E(a);return{buildUrl:()=>E(a).baseUrl,buildHeaders:a=>{let c={"Content-Type":"application/json",...b.headers||{}},d=a?.apiKey||a?.accessToken;return d&&(c.Authorization=`Bearer ${d}`),c},buildBody:(a,c)=>{let{prompt:d,n:e=1,size:f="1024x1024",quality:g,style:h,response_format:i}=c,j={model:a,prompt:d,n:e,size:f};if(g&&(j.quality=g),h&&(j.style=h),i&&(j.response_format=i),Array.isArray(b.bodyFields)){let a={};for(let c of b.bodyFields)void 0!==j[c]&&(a[c]=j[c]);return a}return j},normalize:a=>a}}let G=a=>new Promise(b=>setTimeout(b,a));function H(a){return a&&"string"==typeof a&&({"1024x1024":"1:1","1024x1792":"9:16","1792x1024":"16:9","1024x1536":"2:3","1536x1024":"3:2"})[a]||"1:1"}async function I(a){let b=await fetch(a);if(!b.ok)throw Error(`Failed to fetch image: ${b.status}`);let c=await b.arrayBuffer();return Buffer.from(c).toString("base64")}function J(){return Math.floor(Date.now()/1e3)}let K=D.B$.gemini?.imageConfig?.baseUrl;var L=c(77598),M=c(4630),N=c(81358),O=c(28730);let P="Codex completed without returning an image.";var Q=c(50186);let R=M.xq.codex.baseUrl,S=`codex_cli_rs/${O.Ch}`,T="-image",U="high",V=new Set(["gpt-image-1.5","gpt-image-2","gpt-image-2.5","gpt-image-2.5-flare","gpt-image-2.5-sunburst"]);function W(a){let b=String(a||"").replace(/\s+/g,"");if(!b||b.length%4==1||!/^[A-Za-z0-9+/]+={0,2}$/.test(b))return null;let c=b+"=".repeat((4-b.length%4)%4),d=Buffer.from(c,"base64");if(!d.length||d.toString("base64").replace(/=+$/,"")!==b.replace(/=+$/,""))return null;let e=(0,Q.$)(d);return e?{base64:d.toString("base64"),mimeType:e}:null}function X(a,b){if(!a||"string"!=typeof a)throw Error(`Invalid reference image at ${b}. Use an image URL, image data URL, or raw image base64.`);let c=a.trim();if(/^https?:\/\//i.test(c))return c;let d=(0,Q.W$)(c);if(d?.mimeType?.startsWith("image/")){let a=W(d.base64);if(a)return(0,Q.$q)(a.mimeType,a.base64)}let e=W(c);if(e)return(0,Q.$q)(e.mimeType,e.base64);throw Error(`Invalid reference image at ${b}. Use an image URL, image data URL, or raw image base64.`)}async function Y(a,b,c={}){let d=a.body.getReader(),e=new TextDecoder,f="",g=null,h="",i=null,j=0,k=0;for(;;){let a,{done:l,value:m}=await d.read();if(l)break;for(j+=m?.byteLength||0,f+=e.decode(m,{stream:!0});-1!==(a=f.indexOf("\n\n"));){let e,l=f.slice(0,a);f=f.slice(a+2);let m=l.split("\n"),n=null,o="";for(let a of m)a.startsWith("event:")?n=a.slice(6).trim():a.startsWith("data:")&&(o+=a.slice(5).trim());if(!n)continue;try{e=JSON.parse(o)}catch{}if("error"===n||"response.failed"===n||e?.response?.status==="failed"||e?.response?.status==="incomplete"){let a=e?.response?.error||e?.error,b=a?.message||("string"==typeof a?a:null)||e?.message||e?.response?.incomplete_details?.reason||"Codex image response failed.";throw await d.cancel().catch(()=>{}),Error(b)}n!==i&&(b?.info?.("IMAGE",`codex progress: ${n}`),i=n);let p=Date.now();if(c.onProgress&&p-k>200&&(k=p,c.onProgress({stage:n,bytesReceived:j})),"response.image_generation_call.partial_image"===n&&o)try{c.onPartialImage&&e?.partial_image_b64&&c.onPartialImage({b64_json:e.partial_image_b64,index:e.partial_image_index})}catch{}if("response.output_item.done"===n&&o)try{let a=e?.item;a?.type==="image_generation_call"&&a.result&&(g=a.result),a?.type==="message"&&Array.isArray(a.content)&&(h+=a.content.map(a=>a.refusal||a.text||"").join(" "),h=h.slice(0,1e3))}catch{}}}if(!g&&h)throw Error(`${P} ${h}`);return g}let Z=D.B$.sdwebui?.imageConfig?.baseUrl,$=D.B$.comfyui?.imageConfig?.baseUrl,_=()=>D.B$.huggingface?.imageConfig||{},aa=_().baseUrl,ab=_().modelMap||{},ac=a=>Object.hasOwn(ab,a)?ab[a]:void 0;async function ad(a){let b=a?.image||(Array.isArray(a?.images)?a.images[0]:null);if("string"!=typeof b||!b.trim())return null;let c=b.trim();if(/^https?:\/\//i.test(c))return await I(c);let d=/^data:image\/[^;]+;base64,(.+)$/i.exec(c);return d?d[1]:c}let ae=D.B$.nanobanana?.imageConfig||{},af=ae.baseUrl,ag=ae.pollUrl,ah=D.B$["fal-ai"]?.imageConfig?.baseUrl,ai=D.B$["stability-ai"]?.imageConfig?.baseUrl,aj=D.B$["black-forest-labs"]?.imageConfig?.baseUrl,ak=D.B$.runwayml?.imageConfig?.baseUrl,al=D.B$["cloudflare-ai"]?.imageConfig?.baseUrl,am=new Set(["@cf/black-forest-labs/flux-2-dev","@cf/black-forest-labs/flux-2-klein-4b","@cf/black-forest-labs/flux-2-klein-9b"]),an=["negative_prompt","guidance","seed","num_steps","steps","strength"];function ao(a){var b;let c;return{...(b=a.size,!(c=/^(\d+)x(\d+)$/.exec(String(b||"")))?{}:{width:Number(c[1]),height:Number(c[2])}),...Number.isFinite(Number(a.width))?{width:Number(a.width)}:{},...Number.isFinite(Number(a.height))?{height:Number(a.height)}:{}}}async function ap(a){if(Array.isArray(a))return{bytes:a,b64:Buffer.from(a).toString("base64")};if("string"!=typeof a)return null;let b=a.trim();if(!b)return null;if(/^https?:\/\//i.test(b)){let a=await I(b);return{bytes:aq(a),b64:a}}let c=/^data:image\/[^;]+;base64,(.+)$/i.exec(b),d=c?c[1]:b;return{bytes:aq(d),b64:d}}function aq(a){try{return Array.from(Buffer.from(a,"base64"))}catch{return a}}function ar(a,b,c){for(let d of an){let e=b[d];null!=e&&""!==e&&c(a,d,e)}}async function as(a){let b={prompt:a.prompt,...ao(a)};ar(b,a,(a,b,c)=>{a[b]=c});let c=await ap(a.image);c&&(b.image_b64=c.b64,b.image=c.bytes);let d=await ap(a.mask_image||a.maskImage||a.mask);return d&&(b.mask_b64=d.b64,b.mask=d.bytes,b.mask_image=d.bytes),b}function at(a){var b;if(a?.created&&Array.isArray(a?.data))return a;let c=a?.result??a,d=Array.isArray(c?.responses)?c.responses.find(a=>a?.success!==!1)?.result:null;if(d)return at(d);let e="string"==typeof(b=("string"==typeof c?c:null)||c?.image||c?.data?.[0]?.b64_json||c?.data?.[0]?.url)&&b?/^data:image\/[^;]+;base64,/i.test(b)?{b64_json:b.replace(/^data:image\/[^;]+;base64,/i,"")}:/^https?:\/\//i.test(b)?{url:b}:{b64_json:b}:null;return{created:J(),data:e?[e]:[]}}async function au(a){if(!a||"string"!=typeof a)return null;let b=(0,Q.W$)(a);if(!b&&/^https?:\/\//i.test(a)){let c=await (0,Q.ni)(a,{timeoutMs:15e3});b=c?(0,Q.W$)(c.url):null}return b?.mimeType?.startsWith("image/")?{inlineData:{mimeType:(0,Q.$)(Buffer.from(b.base64.slice(0,32),"base64"))||b.mimeType,data:b.base64}}:/^[A-Za-z0-9+/]/.test(a)&&a.length>100&&!a.startsWith("http")?{inlineData:{mimeType:"image/png",data:a}}:null}let av={openai:F("openai"),minimax:F("minimax"),openrouter:F("openrouter"),recraft:F("recraft"),"vercel-ai-gateway":F("vercel-ai-gateway"),xai:F("xai"),gemini:{buildUrl:(a,b)=>{let c=b?.apiKey||b?.accessToken,d=a.replace(/^models\//,"");return`${K}/${d}:generateContent?key=${encodeURIComponent(c)}`},buildHeaders:()=>({"Content-Type":"application/json"}),buildBody:(a,b)=>({contents:[{parts:[{text:b.prompt}]}],generationConfig:{responseModalities:["TEXT","IMAGE"]}}),normalize:(a,b)=>{let c=(a.candidates?.[0]?.content?.parts||[]).filter(a=>a.inlineData?.data).map(a=>({b64_json:a.inlineData.data}));return{created:J(),data:c.length>0?c:[{b64_json:"",revised_prompt:b}]}}},codex:{stream:!0,buildUrl:()=>R,buildHeaders:a=>{let b=(0,N.a)(a?.providerSpecificData,a?.idToken);return{accept:"text/event-stream, application/json",authorization:`Bearer ${a?.accessToken||""}`,"chatgpt-account-id":b||"","content-type":"application/json",originator:"codex_cli_rs",session_id:(0,L.randomUUID)(),"user-agent":S,version:O.Ch,"x-client-request-id":(0,L.randomUUID)()}},buildBody:(a,b)=>{let c=[];Array.isArray(b.images)&&b.images.forEach((a,b)=>c.push(X(a,`images[${b}]`))),null!=b.image&&""!==b.image&&c.push(X(b.image,"image"));let d=b.image_detail||U,{responsesModel:e,toolModel:f}=function(a){return V.has(a)?{responsesModel:"gpt-5.5",toolModel:a}:{responsesModel:a.endsWith(T)?a.slice(0,-T.length):a,toolModel:null}}(a),g={type:"image_generation",output_format:(b.output_format||"png").toLowerCase()};return f&&(g.action=c.length>0?"edit":"generate",g.model=f),b.size&&""!==b.size&&(g.size=b.size),b.quality&&""!==b.quality&&(g.quality=b.quality),b.background&&""!==b.background&&(g.background=b.background),b.moderation&&(g.moderation=b.moderation),Number.isFinite(Number(b.output_compression))&&(g.output_compression=Number(b.output_compression)),Number.isFinite(Number(b.partial_images))&&(g.partial_images=Number(b.partial_images)),{model:e,instructions:"",input:[{type:"message",role:"user",content:function(a,b,c=U){let d=[];return b.forEach((a,b)=>{d.push({type:"input_text",text:`<image name=image${b+1}>`}),d.push({type:"input_image",image_url:a,detail:c}),d.push({type:"input_text",text:"</image>"})}),d.push({type:"input_text",text:a}),d}(b.prompt,c,d)}],tools:[g],tool_choice:f?{type:"image_generation"}:"required",parallel_tool_calls:!1,prompt_cache_key:(0,L.randomUUID)(),stream:!0,store:!1,reasoning:f?{effort:"medium",summary:"auto"}:null}},async parseResponse(a,{log:b,streamToClient:c,onRequestSuccess:d}){if(c){let c;return{sseResponse:(c=new ReadableStream({async start(c){let e=new TextEncoder,f=(a,b)=>{c.enqueue(e.encode(`event: ${a}
1
+ "use strict";(()=>{var a={};a.id=8870,a.ids=[8870],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8086:a=>{a.exports=require("module")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29273:(a,b,c)=>{c.d(b,{K:()=>h});var d=c(89718),e=c(23433),f=c(89865),g=c(60290);async function h(a,{model:b,body:c,reserveTokens:i=!1}={}){var j;let k,l=await (0,d.mt)(),m=(0,e.Tr)(a);if(!m)return l.requireApiKey?{error:(0,f.yj)(g.gx.UNAUTHORIZED,"Missing API key")}:{apiKey:null,body:c};let n=await (0,d.y7)(m),o=n?.expiresAt&&new Date(n.expiresAt).getTime()<=Date.now();if(!n?.isActive||o)return{error:(0,f.yj)(g.gx.UNAUTHORIZED,"Invalid API key")};if(Array.isArray(n.allowedModels)&&n.allowedModels.length&&b){let a="string"==typeof c?.model?c.model:null;if(!n.allowedModels.includes(b)&&!n.allowedModels.includes(a))return{error:(0,f.yj)(g.gx.FORBIDDEN,"This API key is not allowed to use the selected model")}}if(!i||null==n.tokenLimit)return{apiKey:m,key:n,body:c};let p=n.tokenLimit-n.tokensUsed-n.tokensReserved,q=Math.max(1,Math.ceil(JSON.stringify(c?.messages||c?.input||c?.prompt||c?.query||"").length/4));if(p<=q)return{error:(0,f.yj)(g.gx.FORBIDDEN,"API key token quota exceeded")};let r=(j=Math.max(0,p-q),null==(k=c?.max_completion_tokens??c?.max_tokens??c?.max_output_tokens)?j:Math.min(j,Math.max(1,Number(k)||1))),s=await (0,d.mV)(m,q+r);return s.ok?{apiKey:m,key:n,body:c?.max_completion_tokens!=null?{...c,max_completion_tokens:r}:c?.max_output_tokens!=null?{...c,max_output_tokens:r}:{...c,max_tokens:r},reservation:s.reserved}:{error:(0,f.yj)(g.gx.FORBIDDEN,s.error)}}},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},38775:(a,b,c)=>{c.d(b,{d_:()=>j,mA:()=>h,pe:()=>k});var d=c(89718),e=c(66451),f=c(99471);c(17218);let g={xmtp:"xiaomi-tokenplan","xiaomi-tokenplan":"xiaomi-tokenplan"};async function h(a){let b,c=(b=(0,e.Xh)(a),b?.providerAlias&&g[b.providerAlias]?{...b,provider:g[b.providerAlias]}:b);if(!c.isAlias){let a=(await (0,d.Fh)({type:"openai-compatible"})).find(a=>a.prefix===c.providerAlias);if(a)return{provider:a.id,model:c.model};let b=(await (0,d.Fh)({type:"anthropic-compatible"})).find(a=>a.prefix===c.providerAlias);if(b)return{provider:b.id,model:c.model};let e=(await (0,d.Fh)({type:"custom-embedding"})).find(a=>a.prefix===c.providerAlias);if(e)return{provider:e.id,model:c.model};let f=(await (0,d.Fh)({type:"custom-video"})).find(a=>a.prefix===c.providerAlias);return f?{provider:f.id,model:c.model}:{provider:c.provider,model:c.model}}if(await (0,d.Dj)(c.model))return{provider:null,model:c.model};let f=await i(c.model);return f||(0,e.js)(a,d.OM)}async function i(a){try{let b=(await (0,d.uv)()).find(b=>b&&b.id===a&&("llm"===b.type||!b.type));if(b&&b.providerAlias)return{provider:(0,e.g2)(b.providerAlias),model:b.id}}catch{}try{let b=await (0,d.OM)(),c=(0,e.sc)(a,b);if(c)return c}catch{}let b=(0,e.PN)(a);if(b)return{provider:b,model:a};try{let b=await (0,f.w)(a);if(b)return b}catch{}return null}async function j(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b&&b.models&&b.models.length>0?b.models:null}async function k(a){if(a.includes("/"))return null;let b=await (0,d.Dj)(a);return b?{models:b.models||[],members:b.members||(b.models||[]).map(a=>({id:a,weight:1})),policy:b.policy||null,accountPolicy:b.accountPolicy||null,fusion:b.fusion||null,config:b.config||null,name:b.name,kind:b.kind}:null}},40610:a=>{a.exports=require("node:dns")},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46130:(a,b,c)=>{c.d(b,{Z:()=>n});var d=c(23433),e=c(74452),f=c(29686);c(40615);var g=c(38775),h=c(89865),i=c(60290);async function j(a,b){try{let c=await a.clone().json();if(!c||"object"!=typeof c)return null;let d=b&&c.provider||c.model;return"string"==typeof d?d:null}catch{return null}}async function k(a){try{let b=(await a.clone().formData()).get("model");return"string"==typeof b?b:null}catch{return null}}async function l(a,b){if(!a)return null;if(b)return[{provider:a,model:b}];try{let b=await (0,g.d_)(a);if(b&&b.length>0){let a=[];for(let c of b){let b=await (0,g.mA)(c);b?.provider&&a.push({provider:b.provider,model:b.model})}return a.length?a:null}}catch{}try{let b=await (0,g.mA)(a);if(b?.provider)return[{provider:b.provider,model:b.model}]}catch{}return null}async function m(a,b,c){try{let g=(0,d.Tr)(a);if(!g)return null;let m=await (0,e.getApiKeyScopeByKey)(g);if(!m)return null;let n="form"===b?await k(a):await j(a,"json-provider"===b),o=await l(n,c);if(!o)return null;let p=o.find(a=>{var b,c;return b=a.provider,c=a.model,!(0,f.Uw)(m,b,c)});if(!p)return null;return(0,h.yj)(i.gx.FORBIDDEN,`API key scope does not permit access to ${p.provider}/${p.model}`)}catch{return null}}function n(a,b={}){let{bodyMode:c="json",pseudoModelId:d=null}=b;return async function(b,...e){let f=await m(b,c,d);return f||a(b,...e)}}},46293:a=>{a.exports=require("sql.js")},48161:a=>{a.exports=require("node:os")},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68001:(a,b,c)=>{c.d(b,{S:()=>g});var d=c(38071);let e=["big-pickle"],f=new Set(["deepseek-v4-flash-free"]),g={"openrouter-free":a=>a.filter(a=>a.pricing?.prompt==="0"&&a.pricing?.completion==="0"&&a.context_length>=2e5).map(a=>({id:a.id,name:a.name,contextLength:a.context_length})).sort((a,b)=>b.contextLength-a.contextLength),"opencode-free":a=>a.filter(a=>(a.id?.endsWith("-free")||e.includes(a.id))&&!f.has(a.id)).map(a=>({id:a.id,name:a.id})),"mimo-free":a=>(Array.isArray(a)?a:[]).filter(a=>a.id?.startsWith("mimo")||a.name?.toLowerCase().includes("mimo")).map(a=>({id:a.id,name:a.name||a.id})),"nous-free":d.pD,"airforce-free":a=>(Array.isArray(a)?a:[]).filter(a=>("free"===a.tier||a.id?.endsWith(":free"))&&!0===a.supports_chat&&(!a.media_type||"chat"===a.media_type||"text"===a.media_type)).map(a=>({id:a.id,name:a.name||a.id,contextLength:a.context_length})).sort((a,b)=>String(a.id).localeCompare(String(b.id)))}},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},74075:a=>{a.exports=require("zlib")},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},82287:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>aM,patchFetch:()=>aL,routeModule:()=>aH,serverHooks:()=>aK,workAsyncStorage:()=>aI,workUnitAsyncStorage:()=>aJ});var d={};c.r(d),c.d(d,{OPTIONS:()=>aF,POST:()=>aG});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23433),w=c(29273),x=c(89718),y=c(38775),z=c(89865),A=c(60290),B=c(85640),C=c(79026),D=c(39141);let E=a=>D.B$[a]?.imageConfig||{};function F(a){let b=E(a);return{buildUrl:()=>E(a).baseUrl,buildHeaders:a=>{let c={"Content-Type":"application/json",...b.headers||{}},d=a?.apiKey||a?.accessToken;return d&&(c.Authorization=`Bearer ${d}`),c},buildBody:(a,c)=>{let{prompt:d,n:e=1,size:f="1024x1024",quality:g,style:h,response_format:i}=c,j={model:a,prompt:d,n:e,size:f};if(g&&(j.quality=g),h&&(j.style=h),i&&(j.response_format=i),Array.isArray(b.bodyFields)){let a={};for(let c of b.bodyFields)void 0!==j[c]&&(a[c]=j[c]);return a}return j},normalize:a=>a}}let G=a=>new Promise(b=>setTimeout(b,a));function H(a){return a&&"string"==typeof a&&({"1024x1024":"1:1","1024x1792":"9:16","1792x1024":"16:9","1024x1536":"2:3","1536x1024":"3:2"})[a]||"1:1"}async function I(a){let b=await fetch(a);if(!b.ok)throw Error(`Failed to fetch image: ${b.status}`);let c=await b.arrayBuffer();return Buffer.from(c).toString("base64")}function J(){return Math.floor(Date.now()/1e3)}let K=D.B$.gemini?.imageConfig?.baseUrl;var L=c(77598),M=c(4630),N=c(81358),O=c(28730);let P="Codex completed without returning an image.";var Q=c(50186);let R=M.xq.codex.baseUrl,S=`codex_cli_rs/${O.Ch}`,T="-image",U="high",V=new Set(["gpt-image-1.5","gpt-image-2","gpt-image-2.5","gpt-image-2.5-flare","gpt-image-2.5-sunburst"]);function W(a){let b=String(a||"").replace(/\s+/g,"");if(!b||b.length%4==1||!/^[A-Za-z0-9+/]+={0,2}$/.test(b))return null;let c=b+"=".repeat((4-b.length%4)%4),d=Buffer.from(c,"base64");if(!d.length||d.toString("base64").replace(/=+$/,"")!==b.replace(/=+$/,""))return null;let e=(0,Q.$)(d);return e?{base64:d.toString("base64"),mimeType:e}:null}function X(a,b){if(!a||"string"!=typeof a)throw Error(`Invalid reference image at ${b}. Use an image URL, image data URL, or raw image base64.`);let c=a.trim();if(/^https?:\/\//i.test(c))return c;let d=(0,Q.W$)(c);if(d?.mimeType?.startsWith("image/")){let a=W(d.base64);if(a)return(0,Q.$q)(a.mimeType,a.base64)}let e=W(c);if(e)return(0,Q.$q)(e.mimeType,e.base64);throw Error(`Invalid reference image at ${b}. Use an image URL, image data URL, or raw image base64.`)}async function Y(a,b,c={}){let d=a.body.getReader(),e=new TextDecoder,f="",g=null,h="",i=null,j=0,k=0;for(;;){let a,{done:l,value:m}=await d.read();if(l)break;for(j+=m?.byteLength||0,f+=e.decode(m,{stream:!0});-1!==(a=f.indexOf("\n\n"));){let e,l=f.slice(0,a);f=f.slice(a+2);let m=l.split("\n"),n=null,o="";for(let a of m)a.startsWith("event:")?n=a.slice(6).trim():a.startsWith("data:")&&(o+=a.slice(5).trim());if(!n)continue;try{e=JSON.parse(o)}catch{}if("error"===n||"response.failed"===n||e?.response?.status==="failed"||e?.response?.status==="incomplete"){let a=e?.response?.error||e?.error,b=a?.message||("string"==typeof a?a:null)||e?.message||e?.response?.incomplete_details?.reason||"Codex image response failed.";throw await d.cancel().catch(()=>{}),Error(b)}n!==i&&(b?.info?.("IMAGE",`codex progress: ${n}`),i=n);let p=Date.now();if(c.onProgress&&p-k>200&&(k=p,c.onProgress({stage:n,bytesReceived:j})),"response.image_generation_call.partial_image"===n&&o)try{c.onPartialImage&&e?.partial_image_b64&&c.onPartialImage({b64_json:e.partial_image_b64,index:e.partial_image_index})}catch{}if("response.output_item.done"===n&&o)try{let a=e?.item;a?.type==="image_generation_call"&&a.result&&(g=a.result),a?.type==="message"&&Array.isArray(a.content)&&(h+=a.content.map(a=>a.refusal||a.text||"").join(" "),h=h.slice(0,1e3))}catch{}}}if(!g&&h)throw Error(`${P} ${h}`);return g}let Z=D.B$.sdwebui?.imageConfig?.baseUrl,$=D.B$.comfyui?.imageConfig?.baseUrl,_=()=>D.B$.huggingface?.imageConfig||{},aa=_().baseUrl,ab=_().modelMap||{},ac=a=>Object.hasOwn(ab,a)?ab[a]:void 0;async function ad(a){let b=a?.image||(Array.isArray(a?.images)?a.images[0]:null);if("string"!=typeof b||!b.trim())return null;let c=b.trim();if(/^https?:\/\//i.test(c))return await I(c);let d=/^data:image\/[^;]+;base64,(.+)$/i.exec(c);return d?d[1]:c}let ae=D.B$.nanobanana?.imageConfig||{},af=ae.baseUrl,ag=ae.pollUrl,ah=D.B$["fal-ai"]?.imageConfig?.baseUrl,ai=D.B$["stability-ai"]?.imageConfig?.baseUrl,aj=D.B$["black-forest-labs"]?.imageConfig?.baseUrl,ak=D.B$.runwayml?.imageConfig?.baseUrl,al=D.B$["cloudflare-ai"]?.imageConfig?.baseUrl,am=new Set(["@cf/black-forest-labs/flux-2-dev","@cf/black-forest-labs/flux-2-klein-4b","@cf/black-forest-labs/flux-2-klein-9b"]),an=["negative_prompt","guidance","seed","num_steps","steps","strength"];function ao(a){var b;let c;return{...(b=a.size,!(c=/^(\d+)x(\d+)$/.exec(String(b||"")))?{}:{width:Number(c[1]),height:Number(c[2])}),...Number.isFinite(Number(a.width))?{width:Number(a.width)}:{},...Number.isFinite(Number(a.height))?{height:Number(a.height)}:{}}}async function ap(a){if(Array.isArray(a))return{bytes:a,b64:Buffer.from(a).toString("base64")};if("string"!=typeof a)return null;let b=a.trim();if(!b)return null;if(/^https?:\/\//i.test(b)){let a=await I(b);return{bytes:aq(a),b64:a}}let c=/^data:image\/[^;]+;base64,(.+)$/i.exec(b),d=c?c[1]:b;return{bytes:aq(d),b64:d}}function aq(a){try{return Array.from(Buffer.from(a,"base64"))}catch{return a}}function ar(a,b,c){for(let d of an){let e=b[d];null!=e&&""!==e&&c(a,d,e)}}async function as(a){let b={prompt:a.prompt,...ao(a)};ar(b,a,(a,b,c)=>{a[b]=c});let c=await ap(a.image);c&&(b.image_b64=c.b64,b.image=c.bytes);let d=await ap(a.mask_image||a.maskImage||a.mask);return d&&(b.mask_b64=d.b64,b.mask=d.bytes,b.mask_image=d.bytes),b}function at(a){var b;if(a?.created&&Array.isArray(a?.data))return a;let c=a?.result??a,d=Array.isArray(c?.responses)?c.responses.find(a=>a?.success!==!1)?.result:null;if(d)return at(d);let e="string"==typeof(b=("string"==typeof c?c:null)||c?.image||c?.data?.[0]?.b64_json||c?.data?.[0]?.url)&&b?/^data:image\/[^;]+;base64,/i.test(b)?{b64_json:b.replace(/^data:image\/[^;]+;base64,/i,"")}:/^https?:\/\//i.test(b)?{url:b}:{b64_json:b}:null;return{created:J(),data:e?[e]:[]}}async function au(a){if(!a||"string"!=typeof a)return null;let b=(0,Q.W$)(a);if(!b&&/^https?:\/\//i.test(a)){let c=await (0,Q.ni)(a,{timeoutMs:15e3});b=c?(0,Q.W$)(c.url):null}return b?.mimeType?.startsWith("image/")?{inlineData:{mimeType:(0,Q.$)(Buffer.from(b.base64.slice(0,32),"base64"))||b.mimeType,data:b.base64}}:/^[A-Za-z0-9+/]/.test(a)&&a.length>100&&!a.startsWith("http")?{inlineData:{mimeType:"image/png",data:a}}:null}let av={openai:F("openai"),minimax:F("minimax"),openrouter:F("openrouter"),recraft:F("recraft"),"vercel-ai-gateway":F("vercel-ai-gateway"),xai:F("xai"),gemini:{buildUrl:(a,b)=>{let c=b?.apiKey||b?.accessToken,d=a.replace(/^models\//,"");return`${K}/${d}:generateContent?key=${encodeURIComponent(c)}`},buildHeaders:()=>({"Content-Type":"application/json"}),buildBody:(a,b)=>({contents:[{parts:[{text:b.prompt}]}],generationConfig:{responseModalities:["TEXT","IMAGE"]}}),normalize:(a,b)=>{let c=(a.candidates?.[0]?.content?.parts||[]).filter(a=>a.inlineData?.data).map(a=>({b64_json:a.inlineData.data}));return{created:J(),data:c.length>0?c:[{b64_json:"",revised_prompt:b}]}}},codex:{stream:!0,buildUrl:()=>R,buildHeaders:a=>{let b=(0,N.a)(a?.providerSpecificData,a?.idToken);return{accept:"text/event-stream, application/json",authorization:`Bearer ${a?.accessToken||""}`,"chatgpt-account-id":b||"","content-type":"application/json",originator:"codex_cli_rs",session_id:(0,L.randomUUID)(),"user-agent":S,version:O.Ch,"x-client-request-id":(0,L.randomUUID)()}},buildBody:(a,b)=>{let c=[];Array.isArray(b.images)&&b.images.forEach((a,b)=>c.push(X(a,`images[${b}]`))),null!=b.image&&""!==b.image&&c.push(X(b.image,"image"));let d=b.image_detail||U,{responsesModel:e,toolModel:f}=function(a){return V.has(a)?{responsesModel:"gpt-5.5",toolModel:a}:{responsesModel:a.endsWith(T)?a.slice(0,-T.length):a,toolModel:null}}(a),g={type:"image_generation",output_format:(b.output_format||"png").toLowerCase()};return f&&(g.action=c.length>0?"edit":"generate",g.model=f),b.size&&""!==b.size&&(g.size=b.size),b.quality&&""!==b.quality&&(g.quality=b.quality),b.background&&""!==b.background&&(g.background=b.background),b.moderation&&(g.moderation=b.moderation),Number.isFinite(Number(b.output_compression))&&(g.output_compression=Number(b.output_compression)),Number.isFinite(Number(b.partial_images))&&(g.partial_images=Number(b.partial_images)),{model:e,instructions:"",input:[{type:"message",role:"user",content:function(a,b,c=U){let d=[];return b.forEach((a,b)=>{d.push({type:"input_text",text:`<image name=image${b+1}>`}),d.push({type:"input_image",image_url:a,detail:c}),d.push({type:"input_text",text:"</image>"})}),d.push({type:"input_text",text:a}),d}(b.prompt,c,d)}],tools:[g],tool_choice:f?{type:"image_generation"}:"required",parallel_tool_calls:!1,prompt_cache_key:(0,L.randomUUID)(),stream:!0,store:!1,reasoning:f?{effort:"medium",summary:"auto"}:null}},async parseResponse(a,{log:b,streamToClient:c,onRequestSuccess:d}){if(c){let c;return{sseResponse:(c=new ReadableStream({async start(c){let e=new TextEncoder,f=(a,b)=>{c.enqueue(e.encode(`event: ${a}
2
2
  data: ${JSON.stringify(b)}
3
3
 
4
4
  `))};try{let c=await Y(a,b,{onProgress:a=>f("progress",a),onPartialImage:a=>f("partial_image",a)});c?(d&&await d(),f("done",{created:J(),data:[{b64_json:c}]})):f("error",{message:P})}catch(a){f("error",{message:a?.message||"Stream failed"})}finally{c.close()}}}),new Response(c,{headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache, no-transform",Connection:"keep-alive","X-Accel-Buffering":"no","Access-Control-Allow-Origin":"*"}}))}}let e=await Y(a,b);if(!e)throw Error(P);return{created:J(),data:[{b64_json:e}]}},normalize:a=>a},sdwebui:{noAuth:!0,buildUrl:()=>Z,buildHeaders:()=>({"Content-Type":"application/json"}),buildBody:(a,b)=>{let{prompt:c,n:d=1,size:e="1024x1024"}=b,[f,g]=e.split("x").map(Number);return{prompt:c,width:f||512,height:g||512,steps:20,batch_size:d}},normalize:a=>{let b=Array.isArray(a.images)?a.images.map(a=>({b64_json:a})):[];return{created:J(),data:b}}},comfyui:{noAuth:!0,buildUrl:()=>$,buildHeaders:()=>({"Content-Type":"application/json"}),buildBody:(a,b)=>({prompt:b.prompt}),normalize:a=>a},huggingface:{buildUrl:(a,b)=>{let c,d="string"==typeof(c=b?.providerSpecificData?.baseUrl)&&c.trim()?c.trim().replace(/\/+$/,""):null;if(d)return`${d}/${a}`;let e=ac(a);if(!e)throw Error(`HuggingFace: no HuggingFace router mapping for model "${a}". Add it to imageConfig.modelMap in open-sse/providers/registry/huggingface.js, or set a custom base URL on the connection.`);return`${aa}/${"string"==typeof e?e:e.path}`},buildHeaders:a=>{let b={"Content-Type":"application/json"},c=a?.apiKey||a?.accessToken;return c&&(b.Authorization=`Bearer ${c}`),b},buildBody:async(a,b)=>{let c;if("image-to-image"===("string"==typeof(c=ac(a)||"")?"text-to-image":c.task||"text-to-image")){let c=await ad(b);if(!c)throw Error(`HuggingFace: model "${a}" requires a source image. Send it as "image" (or "images") in the request body.`);return{inputs:c,parameters:{prompt:b.prompt}}}return{inputs:b.prompt}},async parseResponse(a){let b=await a.arrayBuffer(),c=Buffer.from(b).toString("base64");return{created:J(),data:[{b64_json:c}]}},normalize:a=>a},nanobanana:{async:!0,buildUrl:()=>af,buildHeaders:a=>{let b={"Content-Type":"application/json"},c=a?.apiKey||a?.accessToken;return c&&(b.Authorization=`Bearer ${c}`),b},buildBody:(a,b)=>{let c=H(b.size),d=!!(b.image||Array.isArray(b.images)&&b.images.length),e={prompt:b.prompt,type:d?"IMAGETOIAMGE":"TEXTTOIAMGE",numImages:b.n||1,image_size:c,callBackUrl:"https://localhost/callback"};if(d){let a=Array.isArray(b.images)?b.images.filter(Boolean):[];b.image&&a.push(b.image),e.imageUrls=a}return e},async parseResponse(a,{headers:b}){let c=await a.json();if(200!==c.code)throw Error(c.msg||"NanoBanana submit failed");let d=c.data?.taskId;if(!d)throw Error("NanoBanana: no taskId returned");let e=`${ag}?taskId=${encodeURIComponent(d)}`,f=Date.now()+12e4;for(;Date.now()<f;){await G(1500);let a=await fetch(e,{headers:b});if(!a.ok)throw Error(`NanoBanana status ${a.status}`);let c=await a.json(),d=c.data?.successFlag;if(1===d)return c.data;if(2===d||3===d)throw Error(c.data?.errorMessage||"NanoBanana generation failed")}throw Error("NanoBanana polling timeout")},normalize:(a,b)=>{let c=a.response?.resultImageUrl||a.response?.originImageUrl;return c?{created:J(),data:[{url:c,revised_prompt:b}]}:{created:J(),data:[]}}},antigravity:{useExecutor:!0,buildUrl:()=>"",buildHeaders:()=>({}),buildBody:()=>({}),async executeViaExecutor(a,b,c,d){var e,f;let g,h=(0,C.SB)("antigravity");if(!h)throw Error("Antigravity executor not found");let i=/image|imagen|image-generation/i.test(a||"")?a:"gemini-3.1-flash-image";if(b.size&&"string"==typeof b.size){let a=H(b.size).replace(":","x");i.includes(a)||(i=`${i}-${a}`)}let j=[];Array.isArray(b.images)&&j.push(...b.images),Array.isArray(b.image)?j.push(...b.image):b.image&&j.push(b.image);let k=[];for(let a of j){let b=await au(a);if(!b){let a=Error("Invalid reference image. Use a data URL, HTTP(S) URL, or raw base64 image.");throw a.status=400,a.retryable=!1,a}k.push(b)}k.push({text:(e=b.prompt,g=(f=j.length)>0?`Use all ${f} attached reference image${1===f?"":"s"} in the result. `:"",`Generate an image as the final response. ${g}Do not answer with text only.
5
5
 
6
- ${e}`)});let l=await h.execute({model:i,body:{contents:[{role:"user",parts:k}]},stream:!1,credentials:c,log:d});if(!l.response.ok){let a=await l.response.text(),b=Error(a||`HTTP ${l.response.status}`);throw b.status=l.response.status,b.resetsAtMs=function(a){try{let b=JSON.parse(a);for(let a of b?.error?.details||[]){let b=a?.metadata?.quotaResetTimeStamp,c=b?Date.parse(b):NaN;if(Number.isFinite(c)&&c>Date.now())return c;let d=a?.retryDelay,e="string"==typeof d?d.match(/^(\d+(?:\.\d+)?)s$/):null;if(e){let a=1e3*Number(e[1]);if(Number.isFinite(a)&&a>0)return Date.now()+a}}}catch{}return null}(a),b}return l.response.json()},normalize:(a,b)=>{let c=a.candidates||a.response?.candidates||[],d=c[0]?.content?.parts||[],e=d.map(a=>a.inlineData||a.inline_data).filter(a=>a?.data).map(a=>({b64_json:a.data}));if(0===e.length){let a=d.map(a=>a.text).filter(Boolean).join(" ").trim();throw Error(a?`Antigravity returned text instead of an image: ${a}`:"Antigravity did not return an image.")}return{created:J(),data:e}}},"fal-ai":{async:!0,buildUrl:a=>`${ah}/${a}`,buildHeaders:a=>{let b=a?.apiKey||a?.accessToken;return{"Content-Type":"application/json",Authorization:`Key ${b}`}},buildBody:(a,b)=>{let c={prompt:b.prompt,num_images:b.n||1};return b.size&&(c.image_size=H(b.size)),b.image&&(c.image_url=b.image),c},async parseResponse(a,{headers:b}){let{status_url:c,response_url:d}=await a.json(),e=Date.now()+12e4;for(;Date.now()<e;){await G(1500);let a=await fetch(c,{headers:b});if(!a.ok)throw Error(`Fal status ${a.status}`);let e=await a.json();if("COMPLETED"===e.status){let a=await fetch(d,{headers:b});return await a.json()}if("FAILED"===e.status)throw Error(e.error||"Fal generation failed")}throw Error("Fal polling timeout")},normalize:a=>{let b=Array.isArray(a.images)?a.images:a.image?[a.image]:[];return{created:J(),data:b.map(a=>({url:a.url||a}))}}},"stability-ai":{buildUrl:a=>`${ai}/${a.includes("ultra")?"ultra":a.includes("sd3")?"sd3":"core"}`,buildHeaders:a=>{let b=a?.apiKey||a?.accessToken;return{"Content-Type":"application/json",Authorization:`Bearer ${b}`,Accept:"application/json"}},buildBody:(a,b)=>{let c={prompt:b.prompt,output_format:(b.output_format||"png").toLowerCase()};return b.size&&(c.aspect_ratio=H(b.size)),b.style&&(c.style_preset=b.style),a.includes("sd3")&&(c.model=a),c},normalize:a=>a.image?{created:J(),data:[{b64_json:a.image}]}:{created:J(),data:[]}},"black-forest-labs":{async:!0,buildUrl:a=>`${aj}/${a}`,buildHeaders:a=>({"Content-Type":"application/json","x-key":a?.apiKey||a?.accessToken}),buildBody:(a,b)=>{let c={prompt:b.prompt};if(b.size){let[a,d]=b.size.split("x").map(Number);a&&(c.width=a),d&&(c.height=d)}return b.image&&(c.image_prompt=b.image),c},async parseResponse(a,{headers:b}){let c=(await a.json()).polling_url;if(!c)throw Error("BFL: no polling_url returned");let d=Date.now()+12e4;for(;Date.now()<d;){await G(1500);let a=await fetch(c,{headers:{"x-key":b["x-key"],Accept:"application/json"}});if(!a.ok)throw Error(`BFL status ${a.status}`);let d=await a.json();if("Ready"===d.status)return d;if("Error"===d.status||"Failed"===d.status)throw Error(d.error||"BFL generation failed")}throw Error("BFL polling timeout")},normalize:a=>{let b=a.result?.sample;return b?{created:J(),data:[{url:b}]}:{created:J(),data:[]}}},runwayml:{async:!0,buildUrl:a=>`${ak}/${a.includes("image")?"text_to_image":"image_to_video"}`,buildHeaders:a=>{let b=a?.apiKey||a?.accessToken;return{"Content-Type":"application/json",Authorization:`Bearer ${b}`,"X-Runway-Version":"2024-11-06"}},buildBody:(a,b)=>{let c=!a.includes("image"),d=H(b.size);return c?{promptText:b.prompt,model:a,ratio:d,duration:5,...b.image?{promptImage:b.image}:{}}:{promptText:b.prompt,model:a,ratio:d,...b.image?{referenceImages:[{uri:b.image}]}:{}}},async parseResponse(a,{headers:b}){let{id:c}=await a.json();if(!c)throw Error("Runway: no task id returned");let d=`${ak}/tasks/${c}`,e=Date.now()+12e4;for(;Date.now()<e;){await G(1500);let a=await fetch(d,{headers:b});if(!a.ok)throw Error(`Runway status ${a.status}`);let c=await a.json();if("SUCCEEDED"===c.status)return c;if("FAILED"===c.status||"CANCELLED"===c.status)throw Error(c.failure||"Runway task failed")}throw Error("Runway polling timeout")},normalize:a=>{let b=Array.isArray(a.output)?a.output:[];return{created:J(),data:b.map(a=>({url:a}))}}},"cloudflare-ai":{buildUrl:(a,b)=>{let c=b?.providerSpecificData?.accountId;if(!c)throw Error("cloudflare-ai requires accountId in providerSpecificData");return`${al}/${c}/ai/run/${a}`},buildHeaders:(a,b)=>{let c={};"u">typeof FormData&&b instanceof FormData||(c["Content-Type"]="application/json");let d=a?.apiKey||a?.accessToken;return d&&(c.Authorization=`Bearer ${d}`),c},buildBody:async(a,b)=>am.has(a)?function(a){let b=new FormData;for(let[c,d]of(b.append("prompt",a.prompt),Object.entries(ao(a))))b.append(c,String(d));return ar(b,a,(a,b,c)=>{a.append(b,String(c))}),b}(b):await as(b),async parseResponse(a){if((a.headers.get("Content-Type")||"").toLowerCase().startsWith("image/")){let b=await a.arrayBuffer();return{created:J(),data:[{b64_json:Buffer.from(b).toString("base64")}]}}return at(await a.json())},normalize:at}};function aw(a){return"u">typeof FormData&&a instanceof FormData||"string"==typeof a?a:JSON.stringify(a)}async function ax({body:a,modelInfo:b,credentials:c,log:d,streamToClient:e=!1,binaryOutput:f=!1,onCredentialsRefreshed:g,onRequestSuccess:h}){let i,j,k,l,m,{provider:n,model:o}=b;if(!a.prompt)return(0,z.A1)(A.gx.BAD_REQUEST,"Missing required field: prompt");let p=av[n]||null;if(!p)return(0,z.A1)(A.gx.BAD_REQUEST,`Provider '${n}' does not support image generation`);if(p.useExecutor&&p.executeViaExecutor)try{d?.debug?.("IMAGE",`${n.toUpperCase()} | ${o} | prompt="${a.prompt.slice(0,50)}..." (executor)`);let b=await p.executeViaExecutor(o,a,c,d);h&&await h();let e=p.normalize(b,a.prompt),g=e.created&&Array.isArray(e.data)?e:b;if(f){let b=g.data?.[0],c=b?.b64_json;if(!c&&b?.url)try{c=await I(b.url)}catch{}if(c){let b=Buffer.from(c,"base64"),d=(a.output_format||"png").toLowerCase();return{success:!0,response:new Response(b,{headers:{"Content-Type":"jpeg"===d||"jpg"===d?"image/jpeg":"webp"===d?"image/webp":"image/png","Content-Disposition":`inline; filename="image.${"jpeg"===d?"jpg":d}"`,"Access-Control-Allow-Origin":"*"}})}}}return{success:!0,response:new Response(JSON.stringify(g),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}catch(c){let a=Number(c?.statusCode||c?.status)||A.gx.BAD_GATEWAY,b=(0,z.lR)(c,n,o,a);return d?.debug?.("IMAGE",`Executor error: ${b}`),{...(0,z.A1)(a,b,c?.resetsAtMs),retryable:c?.retryable!==!1}}try{i=p.buildUrl(o,c),k=await p.buildBody(o,a),j=p.buildHeaders(c,k,o,a)}catch(a){return{...(0,z.A1)(A.gx.BAD_REQUEST,a.message||`Invalid ${n} image request`),retryable:!1}}d?.debug?.("IMAGE",`${n.toUpperCase()} | ${o} | prompt="${a.prompt.slice(0,50)}..."`);try{l=await fetch(i,{method:"POST",headers:j,body:aw(k)})}catch(b){let a=(0,z.lR)(b,n,o,A.gx.BAD_GATEWAY);return d?.debug?.("IMAGE",`Fetch error: ${a}`),(0,z.A1)(A.gx.BAD_GATEWAY,a)}let q=(0,C.SB)(n);if(!q?.noAuth&&!p.noAuth&&(l.status===A.gx.UNAUTHORIZED||l.status===A.gx.FORBIDDEN)){let b=await (0,B.qZ)(()=>q.refreshCredentials(c,d),3,d);if(b?.accessToken||b?.apiKey){d?.info?.("TOKEN",`${n.toUpperCase()} | refreshed for image generation`),Object.assign(c,b),g&&await g(b);try{let b=await p.buildBody(o,a),d=p.buildHeaders(c,b,o,a),e=p.buildUrl(o,c);l=await fetch(e,{method:"POST",headers:d,body:aw(b)})}catch{d?.warn?.("TOKEN",`${n.toUpperCase()} | retry after refresh failed`)}}else d?.warn?.("TOKEN",`${n.toUpperCase()} | refresh failed`)}if(!l.ok){let{statusCode:a,message:b}=await (0,z.zL)(l),c=(0,z.lR)(Error(b),n,o,a);return d?.debug?.("IMAGE",`Provider error: ${c}`),(0,z.A1)(a,c)}try{if(p.parseResponse){if(m=await p.parseResponse(l,{headers:j,log:d,streamToClient:e,onRequestSuccess:h,url:i,requestBody:k,model:o,body:a}),m?.sseResponse)return{success:!0,response:m.sseResponse}}else m=await l.json()}catch(a){return(0,z.A1)(A.gx.BAD_GATEWAY,a.message||`Invalid response from ${n}`)}h&&await h();let r=p.normalize(m,a.prompt),s=r.created&&Array.isArray(r.data)?r:m;if(f){let b=s.data?.[0],c=b?.b64_json;if(!c&&b?.url)try{c=await I(b.url)}catch{}if(c){let b=Buffer.from(c,"base64"),d=(a.output_format||"png").toLowerCase();return{success:!0,response:new Response(b,{headers:{"Content-Type":"jpeg"===d||"jpg"===d?"image/jpeg":"webp"===d?"image/webp":"image/png","Content-Disposition":`inline; filename="image.${"jpeg"===d?"jpg":d}"`,"Access-Control-Allow-Origin":"*"}})}}}return{success:!0,response:new Response(JSON.stringify(s),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}var ay=c(67828),az=c(57362),aA=c(7803);let aB=new Set(["sdwebui","comfyui"]);async function aC(a){let b;try{b=await a.json()}catch{return(0,z.yj)(A.gx.BAD_REQUEST,"Invalid JSON body")}let c=new URL(a.url),d=a.headers.get("x-connection-id")||null,e=(a.headers.get("accept")||"").includes("text/event-stream"),f="binary"===c.searchParams.get("response_format"),g=b.model,{apiKey:h,valid:i}=await (0,v.$A)(a),j=await (0,x.mt)();if(j.requireApiKey){if(!h)return(0,z.yj)(A.gx.UNAUTHORIZED,"Missing API key");if(!i)return(0,z.yj)(A.gx.UNAUTHORIZED,"Invalid API key")}if(!g)return(0,z.yj)(A.gx.BAD_REQUEST,"Missing model");if(!b.prompt)return(0,z.yj)(A.gx.BAD_REQUEST,"Missing required field: prompt");let k=await (0,y.d_)(g);if(k){let c=j.comboStrategies||{},h=c[g]?.fallbackStrategy||j.comboStrategy||"fallback",i=j.comboStickyRoundRobinLimit;return aA.info("IMAGE",`Combo "${g}" with ${k.length} models (strategy: ${h}, sticky: ${i})`),(0,az.Pr)({body:b,models:k,handleSingleModel:(b,c)=>aD(b,c,a,{wantsStream:e,binaryOutput:f,preferredConnectionId:d}),log:aA,comboName:g,comboStrategy:h,comboStickyLimit:i})}return aD(b,g,a,{wantsStream:e,binaryOutput:f,preferredConnectionId:d})}async function aD(a,b,c,{wantsStream:d,binaryOutput:e,preferredConnectionId:f}={}){let g=await (0,y.mA)(b);if(!g.provider)return(0,z.yj)(A.gx.BAD_REQUEST,"Invalid model format");let{provider:h,model:i}=g,j=await (0,w.K)(c,{model:`${h}/${i}`,body:a});if(j.error)return j.error;if(aB.has(h)){let b=await ax({body:a,modelInfo:{provider:h,model:i},credentials:null,binaryOutput:e});return b.success?b.response:(0,z.yj)(b.status||A.gx.BAD_GATEWAY,b.error||"Image generation failed")}let k=new Set,l=null,m=null;for(;;){let b=await (0,v.c1)(h,k,i,{preferredConnectionId:f});if(!b||b.allRateLimited){if(b?.allRateLimited){let a=l||b.lastError||"Unavailable",c=m||Number(b.lastErrorCode)||A.gx.SERVICE_UNAVAILABLE;return(0,z.wO)(c,`[${h}/${i}] ${a}`,b.retryAfter,b.retryAfterHuman)}if(0===k.size)return(0,z.yj)(A.gx.BAD_REQUEST,`No credentials for provider: ${h}`);return(0,z.yj)(m||A.gx.SERVICE_UNAVAILABLE,l||"All accounts unavailable")}let c=await (0,ay.checkAndRefreshToken)(h,b,(0,C.SB)(h)),g=await ax({body:a,modelInfo:{provider:h,model:i},credentials:c,streamToClient:d,binaryOutput:e,onCredentialsRefreshed:async a=>{await (0,ay.vN)(b.connectionId,{accessToken:a.accessToken,refreshToken:a.refreshToken,providerSpecificData:a.providerSpecificData,testStatus:"active"})},onRequestSuccess:async()=>{await (0,v.Pt)(b.connectionId,b,i)}});if(g.success)return function(a,b){if(!a||!b?.connectionId)return a;let c=new Headers(a.headers);c.set("x-connection-id",b.connectionId);let d=new Set((c.get("Access-Control-Expose-Headers")||"").split(",").map(a=>a.trim()).filter(Boolean));return d.add("x-connection-id"),c.set("Access-Control-Expose-Headers",[...d].join(", ")),new Response(a.body,{status:a.status,statusText:a.statusText,headers:c})}(g.response,b);if(!1===g.retryable)return g.response;let{shouldFallback:j}=await (0,v.vk)(b.connectionId,g.status,g.error,h,i,g.resetsAtMs);if(j){k.add(b.connectionId),l=g.error,m=g.status;continue}return g.response}}var aE=c(46130);async function aF(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function aG(a){return await (0,aE.Z)(aC)(a)}let aH=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/v1/images/generations/route",pathname:"/api/v1/images/generations",filename:"route",bundlePath:"app/api/v1/images/generations/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/v1/images/generations/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:aI,workUnitAsyncStorage:aJ,serverHooks:aK}=aH;function aL(){return(0,g.patchFetch)({workAsyncStorage:aI,workUnitAsyncStorage:aJ})}async function aM(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),aH.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/images/generations/route";"/index"===d&&(d="/");let e=await aH.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||aH.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===aH.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await aH.getIncrementalCache(a,x,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>aH.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>aH.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${N} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await aH.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await aH.handleResponse({req:a,nextConfig:x,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await aH.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7774,4722,3267,1522,4646,1847,4378,8946,8129,576,9865,5130,4485,4878,7828,1187,8644,7677,73,7594,1733,9026,7362],()=>b(b.s=99959));module.exports=c})();
6
+ ${e}`)});let l=await h.execute({model:i,body:{contents:[{role:"user",parts:k}]},stream:!1,credentials:c,log:d});if(!l.response.ok){let a=await l.response.text(),b=Error(a||`HTTP ${l.response.status}`);throw b.status=l.response.status,b.resetsAtMs=function(a){try{let b=JSON.parse(a);for(let a of b?.error?.details||[]){let b=a?.metadata?.quotaResetTimeStamp,c=b?Date.parse(b):NaN;if(Number.isFinite(c)&&c>Date.now())return c;let d=a?.retryDelay,e="string"==typeof d?d.match(/^(\d+(?:\.\d+)?)s$/):null;if(e){let a=1e3*Number(e[1]);if(Number.isFinite(a)&&a>0)return Date.now()+a}}}catch{}return null}(a),b}return l.response.json()},normalize:(a,b)=>{let c=a.candidates||a.response?.candidates||[],d=c[0]?.content?.parts||[],e=d.map(a=>a.inlineData||a.inline_data).filter(a=>a?.data).map(a=>({b64_json:a.data}));if(0===e.length){let a=d.map(a=>a.text).filter(Boolean).join(" ").trim();throw Error(a?`Antigravity returned text instead of an image: ${a}`:"Antigravity did not return an image.")}return{created:J(),data:e}}},"fal-ai":{async:!0,buildUrl:a=>`${ah}/${a}`,buildHeaders:a=>{let b=a?.apiKey||a?.accessToken;return{"Content-Type":"application/json",Authorization:`Key ${b}`}},buildBody:(a,b)=>{let c={prompt:b.prompt,num_images:b.n||1};return b.size&&(c.image_size=H(b.size)),b.image&&(c.image_url=b.image),c},async parseResponse(a,{headers:b}){let{status_url:c,response_url:d}=await a.json(),e=Date.now()+12e4;for(;Date.now()<e;){await G(1500);let a=await fetch(c,{headers:b});if(!a.ok)throw Error(`Fal status ${a.status}`);let e=await a.json();if("COMPLETED"===e.status){let a=await fetch(d,{headers:b});return await a.json()}if("FAILED"===e.status)throw Error(e.error||"Fal generation failed")}throw Error("Fal polling timeout")},normalize:a=>{let b=Array.isArray(a.images)?a.images:a.image?[a.image]:[];return{created:J(),data:b.map(a=>({url:a.url||a}))}}},"stability-ai":{buildUrl:a=>`${ai}/${a.includes("ultra")?"ultra":a.includes("sd3")?"sd3":"core"}`,buildHeaders:a=>{let b=a?.apiKey||a?.accessToken;return{"Content-Type":"application/json",Authorization:`Bearer ${b}`,Accept:"application/json"}},buildBody:(a,b)=>{let c={prompt:b.prompt,output_format:(b.output_format||"png").toLowerCase()};return b.size&&(c.aspect_ratio=H(b.size)),b.style&&(c.style_preset=b.style),a.includes("sd3")&&(c.model=a),c},normalize:a=>a.image?{created:J(),data:[{b64_json:a.image}]}:{created:J(),data:[]}},"black-forest-labs":{async:!0,buildUrl:a=>`${aj}/${a}`,buildHeaders:a=>({"Content-Type":"application/json","x-key":a?.apiKey||a?.accessToken}),buildBody:(a,b)=>{let c={prompt:b.prompt};if(b.size){let[a,d]=b.size.split("x").map(Number);a&&(c.width=a),d&&(c.height=d)}return b.image&&(c.image_prompt=b.image),c},async parseResponse(a,{headers:b}){let c=(await a.json()).polling_url;if(!c)throw Error("BFL: no polling_url returned");let d=Date.now()+12e4;for(;Date.now()<d;){await G(1500);let a=await fetch(c,{headers:{"x-key":b["x-key"],Accept:"application/json"}});if(!a.ok)throw Error(`BFL status ${a.status}`);let d=await a.json();if("Ready"===d.status)return d;if("Error"===d.status||"Failed"===d.status)throw Error(d.error||"BFL generation failed")}throw Error("BFL polling timeout")},normalize:a=>{let b=a.result?.sample;return b?{created:J(),data:[{url:b}]}:{created:J(),data:[]}}},runwayml:{async:!0,buildUrl:a=>`${ak}/${a.includes("image")?"text_to_image":"image_to_video"}`,buildHeaders:a=>{let b=a?.apiKey||a?.accessToken;return{"Content-Type":"application/json",Authorization:`Bearer ${b}`,"X-Runway-Version":"2024-11-06"}},buildBody:(a,b)=>{let c=!a.includes("image"),d=H(b.size);return c?{promptText:b.prompt,model:a,ratio:d,duration:5,...b.image?{promptImage:b.image}:{}}:{promptText:b.prompt,model:a,ratio:d,...b.image?{referenceImages:[{uri:b.image}]}:{}}},async parseResponse(a,{headers:b}){let{id:c}=await a.json();if(!c)throw Error("Runway: no task id returned");let d=`${ak}/tasks/${c}`,e=Date.now()+12e4;for(;Date.now()<e;){await G(1500);let a=await fetch(d,{headers:b});if(!a.ok)throw Error(`Runway status ${a.status}`);let c=await a.json();if("SUCCEEDED"===c.status)return c;if("FAILED"===c.status||"CANCELLED"===c.status)throw Error(c.failure||"Runway task failed")}throw Error("Runway polling timeout")},normalize:a=>{let b=Array.isArray(a.output)?a.output:[];return{created:J(),data:b.map(a=>({url:a}))}}},"cloudflare-ai":{buildUrl:(a,b)=>{let c=b?.providerSpecificData?.accountId;if(!c)throw Error("cloudflare-ai requires accountId in providerSpecificData");return`${al}/${c}/ai/run/${a}`},buildHeaders:(a,b)=>{let c={};"u">typeof FormData&&b instanceof FormData||(c["Content-Type"]="application/json");let d=a?.apiKey||a?.accessToken;return d&&(c.Authorization=`Bearer ${d}`),c},buildBody:async(a,b)=>am.has(a)?function(a){let b=new FormData;for(let[c,d]of(b.append("prompt",a.prompt),Object.entries(ao(a))))b.append(c,String(d));return ar(b,a,(a,b,c)=>{a.append(b,String(c))}),b}(b):await as(b),async parseResponse(a){if((a.headers.get("Content-Type")||"").toLowerCase().startsWith("image/")){let b=await a.arrayBuffer();return{created:J(),data:[{b64_json:Buffer.from(b).toString("base64")}]}}return at(await a.json())},normalize:at}};function aw(a){return"u">typeof FormData&&a instanceof FormData||"string"==typeof a?a:JSON.stringify(a)}async function ax({body:a,modelInfo:b,credentials:c,log:d,streamToClient:e=!1,binaryOutput:f=!1,onCredentialsRefreshed:g,onRequestSuccess:h}){let i,j,k,l,m,{provider:n,model:o}=b;if(!a.prompt)return(0,z.A1)(A.gx.BAD_REQUEST,"Missing required field: prompt");let p=av[n]||null;if(!p)return(0,z.A1)(A.gx.BAD_REQUEST,`Provider '${n}' does not support image generation`);if(p.useExecutor&&p.executeViaExecutor)try{d?.debug?.("IMAGE",`${n.toUpperCase()} | ${o} | prompt="${a.prompt.slice(0,50)}..." (executor)`);let b=await p.executeViaExecutor(o,a,c,d);h&&await h();let e=p.normalize(b,a.prompt),g=e.created&&Array.isArray(e.data)?e:b;if(f){let b=g.data?.[0],c=b?.b64_json;if(!c&&b?.url)try{c=await I(b.url)}catch{}if(c){let b=Buffer.from(c,"base64"),d=(a.output_format||"png").toLowerCase();return{success:!0,response:new Response(b,{headers:{"Content-Type":"jpeg"===d||"jpg"===d?"image/jpeg":"webp"===d?"image/webp":"image/png","Content-Disposition":`inline; filename="image.${"jpeg"===d?"jpg":d}"`,"Access-Control-Allow-Origin":"*"}})}}}return{success:!0,response:new Response(JSON.stringify(g),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}catch(c){let a=Number(c?.statusCode||c?.status)||A.gx.BAD_GATEWAY,b=(0,z.lR)(c,n,o,a);return d?.debug?.("IMAGE",`Executor error: ${b}`),{...(0,z.A1)(a,b,c?.resetsAtMs),retryable:c?.retryable!==!1}}try{i=p.buildUrl(o,c),k=await p.buildBody(o,a),j=p.buildHeaders(c,k,o,a)}catch(a){return{...(0,z.A1)(A.gx.BAD_REQUEST,a.message||`Invalid ${n} image request`),retryable:!1}}d?.debug?.("IMAGE",`${n.toUpperCase()} | ${o} | prompt="${a.prompt.slice(0,50)}..."`);try{l=await fetch(i,{method:"POST",headers:j,body:aw(k)})}catch(b){let a=(0,z.lR)(b,n,o,A.gx.BAD_GATEWAY);return d?.debug?.("IMAGE",`Fetch error: ${a}`),(0,z.A1)(A.gx.BAD_GATEWAY,a)}let q=(0,C.SB)(n);if(!q?.noAuth&&!p.noAuth&&(l.status===A.gx.UNAUTHORIZED||l.status===A.gx.FORBIDDEN)){let b=await (0,B.qZ)(()=>q.refreshCredentials(c,d),3,d);if(b?.accessToken||b?.apiKey){d?.info?.("TOKEN",`${n.toUpperCase()} | refreshed for image generation`),Object.assign(c,b),g&&await g(b);try{let b=await p.buildBody(o,a),d=p.buildHeaders(c,b,o,a),e=p.buildUrl(o,c);l=await fetch(e,{method:"POST",headers:d,body:aw(b)})}catch{d?.warn?.("TOKEN",`${n.toUpperCase()} | retry after refresh failed`)}}else d?.warn?.("TOKEN",`${n.toUpperCase()} | refresh failed`)}if(!l.ok){let{statusCode:a,message:b}=await (0,z.zL)(l),c=(0,z.lR)(Error(b),n,o,a);return d?.debug?.("IMAGE",`Provider error: ${c}`),(0,z.A1)(a,c)}try{if(p.parseResponse){if(m=await p.parseResponse(l,{headers:j,log:d,streamToClient:e,onRequestSuccess:h,url:i,requestBody:k,model:o,body:a}),m?.sseResponse)return{success:!0,response:m.sseResponse}}else m=await l.json()}catch(a){return(0,z.A1)(A.gx.BAD_GATEWAY,a.message||`Invalid response from ${n}`)}h&&await h();let r=p.normalize(m,a.prompt),s=r.created&&Array.isArray(r.data)?r:m;if(f){let b=s.data?.[0],c=b?.b64_json;if(!c&&b?.url)try{c=await I(b.url)}catch{}if(c){let b=Buffer.from(c,"base64"),d=(a.output_format||"png").toLowerCase();return{success:!0,response:new Response(b,{headers:{"Content-Type":"jpeg"===d||"jpg"===d?"image/jpeg":"webp"===d?"image/webp":"image/png","Content-Disposition":`inline; filename="image.${"jpeg"===d?"jpg":d}"`,"Access-Control-Allow-Origin":"*"}})}}}return{success:!0,response:new Response(JSON.stringify(s),{headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}var ay=c(67828),az=c(57362),aA=c(7803);let aB=new Set(["sdwebui","comfyui"]);async function aC(a){let b;try{b=await a.json()}catch{return(0,z.yj)(A.gx.BAD_REQUEST,"Invalid JSON body")}let c=new URL(a.url),d=a.headers.get("x-connection-id")||null,e=(a.headers.get("accept")||"").includes("text/event-stream"),f="binary"===c.searchParams.get("response_format"),g=b.model,{apiKey:h,valid:i}=await (0,v.$A)(a),j=await (0,x.mt)();if(j.requireApiKey){if(!h)return(0,z.yj)(A.gx.UNAUTHORIZED,"Missing API key");if(!i)return(0,z.yj)(A.gx.UNAUTHORIZED,"Invalid API key")}if(!g)return(0,z.yj)(A.gx.BAD_REQUEST,"Missing model");if(!b.prompt)return(0,z.yj)(A.gx.BAD_REQUEST,"Missing required field: prompt");let k=await (0,y.d_)(g);if(k){let c=j.comboStrategies||{},h=c[g]?.fallbackStrategy||j.comboStrategy||"fallback",i=j.comboStickyRoundRobinLimit;return aA.info("IMAGE",`Combo "${g}" with ${k.length} models (strategy: ${h}, sticky: ${i})`),(0,az.Pr)({body:b,models:k,handleSingleModel:(b,c)=>aD(b,c,a,{wantsStream:e,binaryOutput:f,preferredConnectionId:d}),log:aA,comboName:g,comboStrategy:h,comboStickyLimit:i})}return aD(b,g,a,{wantsStream:e,binaryOutput:f,preferredConnectionId:d})}async function aD(a,b,c,{wantsStream:d,binaryOutput:e,preferredConnectionId:f}={}){let g=await (0,y.mA)(b);if(!g.provider)return(0,z.yj)(A.gx.BAD_REQUEST,"Invalid model format");let{provider:h,model:i}=g,j=await (0,w.K)(c,{model:`${h}/${i}`,body:a});if(j.error)return j.error;if(aB.has(h)){let b=await ax({body:a,modelInfo:{provider:h,model:i},credentials:null,binaryOutput:e});return b.success?b.response:(0,z.yj)(b.status||A.gx.BAD_GATEWAY,b.error||"Image generation failed")}let k=new Set,l=null,m=null;for(;;){let b=await (0,v.c1)(h,k,i,{preferredConnectionId:f});if(!b||b.allRateLimited){if(b?.allRateLimited){let a=l||b.lastError||"Unavailable",c=m||Number(b.lastErrorCode)||A.gx.SERVICE_UNAVAILABLE;return(0,z.wO)(c,`[${h}/${i}] ${a}`,b.retryAfter,b.retryAfterHuman)}if(0===k.size)return(0,z.yj)(A.gx.BAD_REQUEST,`No credentials for provider: ${h}`);return(0,z.yj)(m||A.gx.SERVICE_UNAVAILABLE,l||"All accounts unavailable")}let c=await (0,ay.checkAndRefreshToken)(h,b,(0,C.SB)(h)),g=await ax({body:a,modelInfo:{provider:h,model:i},credentials:c,streamToClient:d,binaryOutput:e,onCredentialsRefreshed:async a=>{await (0,ay.vN)(b.connectionId,{accessToken:a.accessToken,refreshToken:a.refreshToken,providerSpecificData:a.providerSpecificData,testStatus:"active"})},onRequestSuccess:async()=>{await (0,v.Pt)(b.connectionId,b,i)}});if(g.success)return function(a,b){if(!a||!b?.connectionId)return a;let c=new Headers(a.headers);c.set("x-connection-id",b.connectionId);let d=new Set((c.get("Access-Control-Expose-Headers")||"").split(",").map(a=>a.trim()).filter(Boolean));return d.add("x-connection-id"),c.set("Access-Control-Expose-Headers",[...d].join(", ")),new Response(a.body,{status:a.status,statusText:a.statusText,headers:c})}(g.response,b);if(!1===g.retryable)return g.response;let{shouldFallback:j}=await (0,v.vk)(b.connectionId,g.status,g.error,h,i,g.resetsAtMs);if(j){k.add(b.connectionId),l=g.error,m=g.status;continue}return g.response}}var aE=c(46130);async function aF(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function aG(a){return await (0,aE.Z)(aC)(a)}let aH=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/v1/images/generations/route",pathname:"/api/v1/images/generations",filename:"route",bundlePath:"app/api/v1/images/generations/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/v1/images/generations/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:aI,workUnitAsyncStorage:aJ,serverHooks:aK}=aH;function aL(){return(0,g.patchFetch)({workAsyncStorage:aI,workUnitAsyncStorage:aJ})}async function aM(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),aH.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/images/generations/route";"/index"===d&&(d="/");let e=await aH.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||aH.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===aH.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await aH.getIncrementalCache(a,x,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>aH.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>aH.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${N} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await aH.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await aH.handleResponse({req:a,nextConfig:x,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await aH.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},92990:(a,b,c)=>{c.d(b,{DI:()=>i,DV:()=>C,LT:()=>j,MZ:()=>v,Nl:()=>z,Nu:()=>p,OV:()=>h,RY:()=>I,S6:()=>s,SK:()=>F,Td:()=>A,Tx:()=>q,V1:()=>J,WN:()=>t,Ww:()=>K,YT:()=>n,ZL:()=>m,_0:()=>H,aV:()=>u,cD:()=>o,eD:()=>G,f7:()=>y,hF:()=>k,lB:()=>w,oe:()=>E,qp:()=>B,sA:()=>D,t3:()=>l,w1:()=>x});var d=c(21820),e=c(92675),f=c(39141);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]};({...f.sr.qwen});let k={...f.sr.qoder};({...f.sr["qoderwork-cn"]});let l={...f.sr["qoder-cn"]},m={...f.sr.iflow},n={...e.XP,...f.sr.antigravity,loadCodeAssistClientMetadata:JSON.stringify({ideType:9,platform:g(),pluginType:2})};function o(){return{ideType:9,platform:g(),pluginType:2}}({...f.sr.openai});let p={...f.sr.github},q={...f.sr.kiro},r=/^[a-z]{2}-[a-z]+-\d{1,2}$/;function s(a){if("string"!=typeof a||!r.test(a))throw Error("Invalid region");return a}let t={...f.sr.cursor,tokenStoragePaths:{linux:"~/.config/Cursor/User/globalStorage/state.vscdb",macos:"/Users/<user>/Library/Application Support/Cursor/User/globalStorage/state.vscdb",windows:"%APPDATA%\\Cursor\\User\\globalStorage\\state.vscdb"}},u={...f.sr.kimi,clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||process.env.KIMI_OAUTH_CLIENT_ID||f.xq.kimi?.clientId||f.sr.kimi?.clientId},v={...f.sr.kilocode},w={...f.sr.cline},x={...f.sr.clinepass},y={...f.sr.gitlab},z={...f.sr["codebuddy-cn"]},A={...f.sr.kimchi},B={...f.sr["grok-cli"]},C={...f.sr["codebuddy-intl"]},D={...f.sr.muse},E={platformUrl:process.env.MIMO_PLATFORM_URL||"https://platform.xiaomimimo.com",defaultBaseUrl:"https://api.xiaomimimo.com/v1",kn:"mimocode",callbackPath:"/",timeoutMs:3e5},F={clientId:"ono9krqynydwx5",clientSecret:"-",loginGuidanceUrls:["https://api.marscode.com/cloudide/api/v3/trae/GetLoginGuidance","https://api.trae.ai/cloudide/api/v3/trae/GetLoginGuidance","https://www.trae.ai/cloudide/api/v3/trae/GetLoginGuidance"],apiOrigins:["https://api.marscode.com","https://api.trae.ai","https://www.trae.ai","https://www.marscode.com"],exchangeTokenPath:"/cloudide/api/v3/trae/oauth/ExchangeToken",getUserInfoPath:"/cloudide/api/v3/trae/GetUserInfo",authorizationPath:"/authorization",callbackPath:"/callback",minAppVersion:"3.5.54",defaultAppVersion:"3.5.54",defaultAppType:"stable",defaultPluginVersion:"local",defaultDeviceId:"0",userAgent:"Trae/1.0.0 antigravity-cockpit-tools",webUrl:"https://www.trae.ai",authScheme:"Cloud-IDE-JWT",tokenLifetimeDays:14,oauthTimeoutMs:6e5},G={clientId:"3GUryQ7ldAeKEuD2obYnppsnmj58eP5u",authBaseUrl:"https://www.windsurf.com",signInPath:"/windsurf/signin",registerApiBaseUrl:"https://register.windsurf.com",registerPath:"/exa.seat_management_pb.SeatManagementService/RegisterUser",oneTimeAuthPath:"/exa.seat_management_pb.SeatManagementService/GetOneTimeAuthToken",currentUserPath:"/exa.seat_management_pb.SeatManagementService/GetCurrentUser",planStatusPath:"/exa.seat_management_pb.SeatManagementService/GetPlanStatus",userStatusPath:"/exa.seat_management_pb.SeatManagementService/GetUserStatus",defaultApiServerUrl:"https://server.codeium.com",firebaseApiKey:"AIzaSyDsOl-1XpT5err0Tcn0TFFod1H8gVGIycY",callbackPath:"/windsurf-auth-callback",userAgent:"antigravity-cockpit-tools",oauthTimeoutMs:6e5},H={...f.sr.glm},I={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},J={...f.sr["frontier-for-all"]},K=3e5},94735:a=>{a.exports=require("events")},99471:(a,b,c)=>{c.d(b,{Y:()=>k,w:()=>j});var d=c(68001);let e=null,f=0,g=null;async function h(){let a=new AbortController,b=setTimeout(()=>a.abort(),5e3);try{let b=await fetch("https://opencode.ai/zen/v1/models",{signal:a.signal});if(!b.ok)return e||[];let c=await b.json(),g=c.data??c.models??c,h=d.S["opencode-free"](Array.isArray(g)?g:[]);return e=h,f=Date.now(),h}catch{return e||[]}finally{clearTimeout(b)}}async function i(){if(e&&Date.now()-f<6e5)return e;if(!g){g=h();try{return await g}finally{g=null}}return g}async function j(a){let b=(await i()).find(b=>b&&b.id===a);return b?{provider:"opencode",model:b.id}:"big-pickle"===a||String(a).endsWith("-free")?{provider:"opencode",model:a}:null}async function k(){return await i()}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7774,7218,3267,1522,4646,1847,9843,4378,8129,576,9865,5130,4485,4878,7828,1187,8644,7677,73,7594,1733,9026,7362],()=>b(b.s=82287));module.exports=c})();