9router-proxy 0.6.12 → 0.6.13

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 (1085) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +11 -10
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +5 -5
  5. package/app/.next-cli-build/react-loadable-manifest.json +13 -13
  6. package/app/.next-cli-build/required-server-files.json +2 -1
  7. package/app/.next-cli-build/routes-manifest.json +6 -0
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +23 -23
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  78. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  79. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  85. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  86. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  87. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  88. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  89. package/app/.next-cli-build/server/app/_not-found.rsc +5 -5
  90. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +5 -5
  91. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
  92. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  93. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +2 -2
  112. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
  116. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  118. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  122. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  124. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +2 -2
  126. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  132. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  140. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  142. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  146. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  148. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  150. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +2 -2
  152. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  154. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +3 -3
  156. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  158. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
  160. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  162. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  164. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +2 -2
  166. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  168. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  198. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  200. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  256. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/web-login/route.js +1 -0
  296. package/app/.next-cli-build/server/app/api/providers/web-login/route.js.nft.json +1 -0
  297. package/app/.next-cli-build/server/app/api/providers/web-login/route_client-reference-manifest.js +1 -0
  298. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  303. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  305. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
  307. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  309. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  313. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  315. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  317. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  319. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  321. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  323. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  325. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  327. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  343. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  349. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  351. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  355. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  357. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  358. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  359. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  360. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  361. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  365. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  367. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  373. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +7 -1
  393. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +4 -2
  401. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  435. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  439. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  440. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  441. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  442. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  443. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  444. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  445. package/app/.next-cli-build/server/app/callback.html +1 -1
  446. package/app/.next-cli-build/server/app/callback.rsc +5 -5
  447. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +5 -5
  448. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  449. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +5 -5
  450. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  451. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +5 -5
  452. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +5 -5
  453. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
  454. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  455. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  456. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +5 -5
  457. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +5 -5
  458. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
  459. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  460. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  461. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  462. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +6 -6
  463. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  464. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  465. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  466. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  467. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +6 -6
  468. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  469. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  470. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  471. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +5 -5
  472. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +5 -5
  473. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
  474. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  475. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
  477. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +5 -5
  478. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
  479. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  480. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  481. package/app/.next-cli-build/server/app/dashboard/profile.rsc +5 -5
  482. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +5 -5
  483. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
  484. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  485. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  486. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +5 -5
  487. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +5 -5
  488. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
  489. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  490. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  491. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  492. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +6 -6
  493. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  494. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  495. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
  497. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +5 -5
  498. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
  499. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  500. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  501. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +8 -8
  502. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +8 -8
  503. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +8 -8
  504. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  505. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  506. package/app/.next-cli-build/server/app/dashboard/quota.rsc +6 -6
  507. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +6 -6
  508. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
  509. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  510. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  512. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  513. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  514. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
  515. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
  516. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  517. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +5 -5
  518. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  519. package/app/.next-cli-build/server/app/dashboard/skills.rsc +5 -5
  520. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +5 -5
  521. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +5 -5
  522. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  524. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  525. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +6 -6
  526. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  527. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  528. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  529. package/app/.next-cli-build/server/app/dashboard/translator.rsc +7 -7
  530. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +7 -7
  531. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +7 -7
  532. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  533. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  534. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  535. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +6 -6
  536. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  537. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  538. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  539. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  540. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +6 -6
  541. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  542. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  543. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  544. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  545. package/app/.next-cli-build/server/app/index.html +1 -1
  546. package/app/.next-cli-build/server/app/index.rsc +5 -5
  547. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +5 -5
  548. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +5 -5
  549. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  550. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  551. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  552. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  553. package/app/.next-cli-build/server/app/landing.html +1 -1
  554. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  555. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  556. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  557. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
  558. package/app/.next-cli-build/server/app/login/page.js +1 -1
  559. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  560. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  561. package/app/.next-cli-build/server/app/login.html +1 -1
  562. package/app/.next-cli-build/server/app/login.rsc +5 -5
  563. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  564. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  565. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
  566. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  567. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  568. package/app/.next-cli-build/server/app/page.js +1 -1
  569. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  570. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  571. package/app/.next-cli-build/server/app-paths-manifest.json +11 -10
  572. package/app/.next-cli-build/server/chunks/1004.js +1 -0
  573. package/app/.next-cli-build/server/chunks/1133.js +1 -0
  574. package/app/.next-cli-build/server/chunks/1329.js +1 -0
  575. package/app/.next-cli-build/server/chunks/1350.js +1 -1
  576. package/app/.next-cli-build/server/chunks/1356.js +1 -0
  577. package/app/.next-cli-build/server/chunks/1757.js +1 -1
  578. package/app/.next-cli-build/server/chunks/21.js +1 -0
  579. package/app/.next-cli-build/server/chunks/2214.js +1 -1
  580. package/app/.next-cli-build/server/chunks/2327.js +9 -0
  581. package/app/.next-cli-build/server/chunks/24.js +1 -1
  582. package/app/.next-cli-build/server/chunks/3225.js +2 -2
  583. package/app/.next-cli-build/server/chunks/{1051.js → 3256.js} +1 -1
  584. package/app/.next-cli-build/server/chunks/3449.js +1 -1
  585. package/app/.next-cli-build/server/chunks/3726.js +1 -1
  586. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  587. package/app/.next-cli-build/server/chunks/412.js +2 -2
  588. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  589. package/app/.next-cli-build/server/chunks/4190.js +1 -1
  590. package/app/.next-cli-build/server/chunks/4279.js +1 -0
  591. package/app/.next-cli-build/server/chunks/4882.js +1 -1
  592. package/app/.next-cli-build/server/chunks/4956.js +2 -0
  593. package/app/.next-cli-build/server/chunks/{3811.js → 4957.js} +1 -1
  594. package/app/.next-cli-build/server/chunks/5026.js +1 -1
  595. package/app/.next-cli-build/server/chunks/5258.js +1 -1
  596. package/app/.next-cli-build/server/chunks/5308.js +2 -0
  597. package/app/.next-cli-build/server/chunks/5330.js +180 -20
  598. package/app/.next-cli-build/server/chunks/5615.js +2 -2
  599. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  600. package/app/.next-cli-build/server/chunks/614.js +1 -1
  601. package/app/.next-cli-build/server/chunks/615.js +1 -1
  602. package/app/.next-cli-build/server/chunks/6171.js +5 -5
  603. package/app/.next-cli-build/server/chunks/6638.js +1 -0
  604. package/app/.next-cli-build/server/chunks/6708.js +1 -1
  605. package/app/.next-cli-build/server/chunks/6780.js +1 -0
  606. package/app/.next-cli-build/server/chunks/6877.js +1 -1
  607. package/app/.next-cli-build/server/chunks/7187.js +1 -0
  608. package/app/.next-cli-build/server/chunks/{4199.js → 7220.js} +1 -1
  609. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  610. package/app/.next-cli-build/server/chunks/7525.js +1 -1
  611. package/app/.next-cli-build/server/chunks/7557.js +1 -1
  612. package/app/.next-cli-build/server/chunks/7573.js +1 -0
  613. package/app/.next-cli-build/server/chunks/7716.js +1 -1
  614. package/app/.next-cli-build/server/chunks/778.js +1 -0
  615. package/app/.next-cli-build/server/chunks/7782.js +1 -0
  616. package/app/.next-cli-build/server/chunks/7801.js +7 -0
  617. package/app/.next-cli-build/server/chunks/7843.js +3 -3
  618. package/app/.next-cli-build/server/chunks/794.js +1 -0
  619. package/app/.next-cli-build/server/chunks/8238.js +1 -0
  620. package/app/.next-cli-build/server/chunks/8251.js +1 -1
  621. package/app/.next-cli-build/server/chunks/8271.js +1 -0
  622. package/app/.next-cli-build/server/chunks/8332.js +1 -0
  623. package/app/.next-cli-build/server/chunks/8402.js +1 -1
  624. package/app/.next-cli-build/server/chunks/8416.js +1 -1
  625. package/app/.next-cli-build/server/chunks/8499.js +11 -11
  626. package/app/.next-cli-build/server/chunks/8623.js +9 -0
  627. package/app/.next-cli-build/server/chunks/8767.js +7 -0
  628. package/app/.next-cli-build/server/chunks/8895.js +38 -38
  629. package/app/.next-cli-build/server/chunks/9100.js +4 -4
  630. package/app/.next-cli-build/server/chunks/915.js +1 -1
  631. package/app/.next-cli-build/server/chunks/9310.js +1 -0
  632. package/app/.next-cli-build/server/chunks/9318.js +1 -0
  633. package/app/.next-cli-build/server/chunks/9460.js +1 -0
  634. package/app/.next-cli-build/server/chunks/9489.js +3 -0
  635. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  636. package/app/.next-cli-build/server/chunks/9745.js +1 -0
  637. package/app/.next-cli-build/server/instrumentation.js +1 -1
  638. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  639. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  640. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  641. package/app/.next-cli-build/server/middleware.js +8 -8
  642. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  643. package/app/.next-cli-build/server/pages/404.html +1 -1
  644. package/app/.next-cli-build/server/pages/500.html +1 -1
  645. package/app/.next-cli-build/server/preview-props.json +3 -3
  646. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  647. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  648. package/app/.next-cli-build/static/chunks/124.cdfe12e15f8991cc.js +1 -0
  649. package/app/.next-cli-build/static/chunks/1321-60d7e6d47656619c.js +1 -0
  650. package/app/.next-cli-build/static/chunks/2435.1eeb203d028eb21f.js +1 -0
  651. package/app/.next-cli-build/static/chunks/4285-e97c3151f30199d8.js +1 -0
  652. package/app/.next-cli-build/static/chunks/5462.fed9dc8f008b389c.js +1 -0
  653. package/app/.next-cli-build/static/chunks/5497-ff26fb5a567cddba.js +7 -0
  654. package/app/.next-cli-build/static/chunks/{6808-9d9762a52c1840d9.js → 6808-5b23c18782066012.js} +1 -1
  655. package/app/.next-cli-build/static/chunks/{809-2c4d631176de6bd6.js → 809-bee50a6831a6411a.js} +2 -2
  656. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-9f1dd6ca7ceeabb7.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-8a571e8e9beccc96.js +69 -0
  658. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-bb1d9c5a0be9fd68.js +27 -0
  659. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-68597056465adc3d.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/page-be8471c465c6fd52.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-27dfae5ff06623e2.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-f7d7700d4afd666f.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-61653073d768f6fd.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-9b16f294682f60b0.js → layout-6eb55092f278a666.js} +1 -1
  665. package/app/.next-cli-build/static/chunks/app/_global-error/{page-7ee9602010473e2d.js → page-a70f643786fb402f.js} +1 -1
  666. package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-7ee9602010473e2d.js → route-a70f643786fb402f.js} +1 -1
  667. package/app/.next-cli-build/static/chunks/app/api/auth/logout/{route-7ee9602010473e2d.js → route-a70f643786fb402f.js} +1 -1
  668. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/{route-7ee9602010473e2d.js → route-a70f643786fb402f.js} +1 -1
  669. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-a70f643786fb402f.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-a70f643786fb402f.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-a70f643786fb402f.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-a70f643786fb402f.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-a70f643786fb402f.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-a70f643786fb402f.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-a70f643786fb402f.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-a70f643786fb402f.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-a70f643786fb402f.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-a70f643786fb402f.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-a70f643786fb402f.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-a70f643786fb402f.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-a70f643786fb402f.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-a70f643786fb402f.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-a70f643786fb402f.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-a70f643786fb402f.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-a70f643786fb402f.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-a70f643786fb402f.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-a70f643786fb402f.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-a70f643786fb402f.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-a70f643786fb402f.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-a70f643786fb402f.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-a70f643786fb402f.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-a70f643786fb402f.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-a70f643786fb402f.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-a70f643786fb402f.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-a70f643786fb402f.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-a70f643786fb402f.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-a70f643786fb402f.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-a70f643786fb402f.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-a70f643786fb402f.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-a70f643786fb402f.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-a70f643786fb402f.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-a70f643786fb402f.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-a70f643786fb402f.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-a70f643786fb402f.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-a70f643786fb402f.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/combos/route-a70f643786fb402f.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-a70f643786fb402f.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-a70f643786fb402f.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-a70f643786fb402f.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-a70f643786fb402f.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-a70f643786fb402f.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-a70f643786fb402f.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/health/route-a70f643786fb402f.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/init/route-a70f643786fb402f.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-a70f643786fb402f.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/keys/route-a70f643786fb402f.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/locale/route-a70f643786fb402f.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-a70f643786fb402f.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-a70f643786fb402f.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-a70f643786fb402f.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-a70f643786fb402f.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-a70f643786fb402f.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-a70f643786fb402f.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-a70f643786fb402f.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-a70f643786fb402f.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-a70f643786fb402f.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-a70f643786fb402f.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-a70f643786fb402f.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-a70f643786fb402f.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/models/route-a70f643786fb402f.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/models/test/route-a70f643786fb402f.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-a70f643786fb402f.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-a70f643786fb402f.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-a70f643786fb402f.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-a70f643786fb402f.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-a70f643786fb402f.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-a70f643786fb402f.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-a70f643786fb402f.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-a70f643786fb402f.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-a70f643786fb402f.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-a70f643786fb402f.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-a70f643786fb402f.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-a70f643786fb402f.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-a70f643786fb402f.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-a70f643786fb402f.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-a70f643786fb402f.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-a70f643786fb402f.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-a70f643786fb402f.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-a70f643786fb402f.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-a70f643786fb402f.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-a70f643786fb402f.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/pricing/route-a70f643786fb402f.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-a70f643786fb402f.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-a70f643786fb402f.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-a70f643786fb402f.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-a70f643786fb402f.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-a70f643786fb402f.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-a70f643786fb402f.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-a70f643786fb402f.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-a70f643786fb402f.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-a70f643786fb402f.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-a70f643786fb402f.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/providers/route-a70f643786fb402f.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-a70f643786fb402f.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-a70f643786fb402f.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-a70f643786fb402f.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/providers/web-login/route-a70f643786fb402f.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-a70f643786fb402f.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-a70f643786fb402f.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-a70f643786fb402f.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-a70f643786fb402f.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-a70f643786fb402f.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-a70f643786fb402f.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-a70f643786fb402f.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-a70f643786fb402f.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-a70f643786fb402f.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-a70f643786fb402f.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-a70f643786fb402f.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-a70f643786fb402f.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-a70f643786fb402f.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-a70f643786fb402f.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-a70f643786fb402f.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-a70f643786fb402f.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-a70f643786fb402f.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-a70f643786fb402f.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/settings/route-a70f643786fb402f.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-a70f643786fb402f.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/tags/route-a70f643786fb402f.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-a70f643786fb402f.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-a70f643786fb402f.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-a70f643786fb402f.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-a70f643786fb402f.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-a70f643786fb402f.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-a70f643786fb402f.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-a70f643786fb402f.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-a70f643786fb402f.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-a70f643786fb402f.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-a70f643786fb402f.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-a70f643786fb402f.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-a70f643786fb402f.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-a70f643786fb402f.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-a70f643786fb402f.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-a70f643786fb402f.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-a70f643786fb402f.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-a70f643786fb402f.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-a70f643786fb402f.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-a70f643786fb402f.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-a70f643786fb402f.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-a70f643786fb402f.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-a70f643786fb402f.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-a70f643786fb402f.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-a70f643786fb402f.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-a70f643786fb402f.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-a70f643786fb402f.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-a70f643786fb402f.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-a70f643786fb402f.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-a70f643786fb402f.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-a70f643786fb402f.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-a70f643786fb402f.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-a70f643786fb402f.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-a70f643786fb402f.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-a70f643786fb402f.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-a70f643786fb402f.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-a70f643786fb402f.js +1 -0
  825. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-a70f643786fb402f.js +1 -0
  826. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-a70f643786fb402f.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/api/v1/route-a70f643786fb402f.js +1 -0
  828. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-a70f643786fb402f.js +1 -0
  829. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-a70f643786fb402f.js +1 -0
  830. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-a70f643786fb402f.js +1 -0
  831. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-a70f643786fb402f.js +1 -0
  832. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-a70f643786fb402f.js +1 -0
  833. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-a70f643786fb402f.js +1 -0
  834. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-a70f643786fb402f.js +1 -0
  835. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-a70f643786fb402f.js +1 -0
  836. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-a70f643786fb402f.js +1 -0
  837. package/app/.next-cli-build/static/chunks/app/api/version/route-a70f643786fb402f.js +1 -0
  838. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-a70f643786fb402f.js +1 -0
  839. package/app/.next-cli-build/static/chunks/app/api/version/update/route-a70f643786fb402f.js +1 -0
  840. package/app/.next-cli-build/static/chunks/app/landing/page-2915d691a511d8ec.js +1 -0
  841. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-a70f643786fb402f.js +1 -0
  842. package/app/.next-cli-build/static/chunks/app/page-a70f643786fb402f.js +1 -0
  843. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-a70f643786fb402f.js +1 -0
  844. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-a70f643786fb402f.js +1 -0
  845. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-a70f643786fb402f.js +1 -0
  846. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-a70f643786fb402f.js +1 -0
  847. package/app/.next-cli-build/static/chunks/webpack-9dc40b48930dad72.js +1 -0
  848. package/app/.next-cli-build/static/css/0a4c443a8a7225f7.css +1 -0
  849. package/app/.next-cli-build/static/y2h7yx597nXU7_RKFBkM7/_buildManifest.js +1 -0
  850. package/app/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  851. package/app/node_modules/baseline-browser-mapping/package.json +1 -1
  852. package/app/open-sse/executors/gemini-web/browserLease.js +59 -0
  853. package/app/open-sse/lib/deepseek-pow-worker.mjs +20 -0
  854. package/app/package.json +16 -11
  855. package/app/public/i18n/literals/fa.json +1 -1
  856. package/app/public/i18n/literals/id.json +1 -1
  857. package/app/public/i18n/literals/km.json +1 -1
  858. package/app/public/i18n/literals/pt-BR.json +1 -1
  859. package/app/public/i18n/literals/th.json +1 -1
  860. package/app/public/i18n/literals/zh-CN.json +1 -1
  861. package/app/public/providers/sensenova.png +0 -0
  862. package/app/public/providers/uc-web.png +0 -0
  863. package/app/public/providers/veoaifree-web.png +0 -0
  864. package/app/server.js +1 -1
  865. package/app/src/mitm/server.js +24 -24
  866. package/package.json +1 -1
  867. package/src/cli/utils/modelSelector.js +2 -0
  868. package/app/.next-cli-build/server/chunks/1836.js +0 -17
  869. package/app/.next-cli-build/server/chunks/2132.js +0 -1
  870. package/app/.next-cli-build/server/chunks/3210.js +0 -2
  871. package/app/.next-cli-build/server/chunks/4049.js +0 -1
  872. package/app/.next-cli-build/server/chunks/4230.js +0 -1
  873. package/app/.next-cli-build/server/chunks/436.js +0 -1
  874. package/app/.next-cli-build/server/chunks/4798.js +0 -1
  875. package/app/.next-cli-build/server/chunks/5182.js +0 -1
  876. package/app/.next-cli-build/server/chunks/5433.js +0 -1
  877. package/app/.next-cli-build/server/chunks/562.js +0 -1
  878. package/app/.next-cli-build/server/chunks/5827.js +0 -1
  879. package/app/.next-cli-build/server/chunks/6069.js +0 -1
  880. package/app/.next-cli-build/server/chunks/6922.js +0 -1
  881. package/app/.next-cli-build/server/chunks/7211.js +0 -1
  882. package/app/.next-cli-build/server/chunks/7877.js +0 -7
  883. package/app/.next-cli-build/server/chunks/7911.js +0 -1
  884. package/app/.next-cli-build/server/chunks/8363.js +0 -1
  885. package/app/.next-cli-build/server/chunks/8635.js +0 -3
  886. package/app/.next-cli-build/server/chunks/869.js +0 -1
  887. package/app/.next-cli-build/server/chunks/8910.js +0 -2
  888. package/app/.next-cli-build/server/chunks/936.js +0 -1
  889. package/app/.next-cli-build/server/chunks/9604.js +0 -1
  890. package/app/.next-cli-build/server/chunks/9858.js +0 -1
  891. package/app/.next-cli-build/static/chunks/124.c092990b4bdb9713.js +0 -1
  892. package/app/.next-cli-build/static/chunks/1321-d4118b60d25d04d3.js +0 -1
  893. package/app/.next-cli-build/static/chunks/2435.8a5a02e626c780d0.js +0 -1
  894. package/app/.next-cli-build/static/chunks/5462.c82c64c26a864ec0.js +0 -1
  895. package/app/.next-cli-build/static/chunks/5497-6461b116ea130fe9.js +0 -7
  896. package/app/.next-cli-build/static/chunks/5815-57d2c8f2bf5d101f.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-68f91309eb1f96f4.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-46e8e71f59e43a41.js +0 -69
  899. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-c18f2c1a8086dade.js +0 -27
  900. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-09aa442e419193bf.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/page-ce1a79a72b996ef0.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-4dbfaf4b1a0b1c32.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-8a823c86edc9c9e9.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-4fad5050e91b2d9e.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-7ee9602010473e2d.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-7ee9602010473e2d.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-7ee9602010473e2d.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-7ee9602010473e2d.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-7ee9602010473e2d.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-7ee9602010473e2d.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-7ee9602010473e2d.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-7ee9602010473e2d.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-7ee9602010473e2d.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-7ee9602010473e2d.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-7ee9602010473e2d.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-7ee9602010473e2d.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-7ee9602010473e2d.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-7ee9602010473e2d.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-7ee9602010473e2d.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-7ee9602010473e2d.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-7ee9602010473e2d.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-7ee9602010473e2d.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-7ee9602010473e2d.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-7ee9602010473e2d.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-7ee9602010473e2d.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-7ee9602010473e2d.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-7ee9602010473e2d.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-7ee9602010473e2d.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-7ee9602010473e2d.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-7ee9602010473e2d.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-7ee9602010473e2d.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-7ee9602010473e2d.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-7ee9602010473e2d.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-7ee9602010473e2d.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-7ee9602010473e2d.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-7ee9602010473e2d.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-7ee9602010473e2d.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-7ee9602010473e2d.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-7ee9602010473e2d.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-7ee9602010473e2d.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-7ee9602010473e2d.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/combos/route-7ee9602010473e2d.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-7ee9602010473e2d.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-7ee9602010473e2d.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-7ee9602010473e2d.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-7ee9602010473e2d.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-7ee9602010473e2d.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-7ee9602010473e2d.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/health/route-7ee9602010473e2d.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/init/route-7ee9602010473e2d.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-7ee9602010473e2d.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/keys/route-7ee9602010473e2d.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/locale/route-7ee9602010473e2d.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-7ee9602010473e2d.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-7ee9602010473e2d.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-7ee9602010473e2d.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-7ee9602010473e2d.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-7ee9602010473e2d.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-7ee9602010473e2d.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-7ee9602010473e2d.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-7ee9602010473e2d.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-7ee9602010473e2d.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-7ee9602010473e2d.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-7ee9602010473e2d.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-7ee9602010473e2d.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/models/route-7ee9602010473e2d.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/models/test/route-7ee9602010473e2d.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-7ee9602010473e2d.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-7ee9602010473e2d.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-7ee9602010473e2d.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-7ee9602010473e2d.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-7ee9602010473e2d.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-7ee9602010473e2d.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-7ee9602010473e2d.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-7ee9602010473e2d.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-7ee9602010473e2d.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-7ee9602010473e2d.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-7ee9602010473e2d.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-7ee9602010473e2d.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-7ee9602010473e2d.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-7ee9602010473e2d.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-7ee9602010473e2d.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-7ee9602010473e2d.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-7ee9602010473e2d.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-7ee9602010473e2d.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-7ee9602010473e2d.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-7ee9602010473e2d.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/pricing/route-7ee9602010473e2d.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-7ee9602010473e2d.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-7ee9602010473e2d.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-7ee9602010473e2d.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-7ee9602010473e2d.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-7ee9602010473e2d.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-7ee9602010473e2d.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-7ee9602010473e2d.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-7ee9602010473e2d.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-7ee9602010473e2d.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-7ee9602010473e2d.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/providers/route-7ee9602010473e2d.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-7ee9602010473e2d.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-7ee9602010473e2d.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-7ee9602010473e2d.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-7ee9602010473e2d.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-7ee9602010473e2d.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-7ee9602010473e2d.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-7ee9602010473e2d.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-7ee9602010473e2d.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-7ee9602010473e2d.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-7ee9602010473e2d.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-7ee9602010473e2d.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-7ee9602010473e2d.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-7ee9602010473e2d.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-7ee9602010473e2d.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-7ee9602010473e2d.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-7ee9602010473e2d.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-7ee9602010473e2d.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-7ee9602010473e2d.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-7ee9602010473e2d.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-7ee9602010473e2d.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-7ee9602010473e2d.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/settings/route-7ee9602010473e2d.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-7ee9602010473e2d.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/api/tags/route-7ee9602010473e2d.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-7ee9602010473e2d.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-7ee9602010473e2d.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-7ee9602010473e2d.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-7ee9602010473e2d.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-7ee9602010473e2d.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-7ee9602010473e2d.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-7ee9602010473e2d.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-7ee9602010473e2d.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-7ee9602010473e2d.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-7ee9602010473e2d.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-7ee9602010473e2d.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-7ee9602010473e2d.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-7ee9602010473e2d.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-7ee9602010473e2d.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-7ee9602010473e2d.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-7ee9602010473e2d.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-7ee9602010473e2d.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-7ee9602010473e2d.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-7ee9602010473e2d.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-7ee9602010473e2d.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-7ee9602010473e2d.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-7ee9602010473e2d.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-7ee9602010473e2d.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-7ee9602010473e2d.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-7ee9602010473e2d.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-7ee9602010473e2d.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-7ee9602010473e2d.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-7ee9602010473e2d.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-7ee9602010473e2d.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-7ee9602010473e2d.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-7ee9602010473e2d.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-7ee9602010473e2d.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-7ee9602010473e2d.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-7ee9602010473e2d.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-7ee9602010473e2d.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-7ee9602010473e2d.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-7ee9602010473e2d.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-7ee9602010473e2d.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/v1/route-7ee9602010473e2d.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-7ee9602010473e2d.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-7ee9602010473e2d.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-7ee9602010473e2d.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-7ee9602010473e2d.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-7ee9602010473e2d.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-7ee9602010473e2d.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-7ee9602010473e2d.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-7ee9602010473e2d.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-7ee9602010473e2d.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/version/route-7ee9602010473e2d.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-7ee9602010473e2d.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/version/update/route-7ee9602010473e2d.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/landing/page-5c7fee91d003980e.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-7ee9602010473e2d.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/page-7ee9602010473e2d.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-7ee9602010473e2d.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-7ee9602010473e2d.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-7ee9602010473e2d.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-7ee9602010473e2d.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/webpack-a59a4f1fec3d2d50.js +0 -1
  1083. package/app/.next-cli-build/static/css/ddd5ce279857f5e9.css +0 -1
  1084. package/app/.next-cli-build/static/kgDBUz73SblEO1KRsJDNC/_buildManifest.js +0 -1
  1085. /package/app/.next-cli-build/static/{kgDBUz73SblEO1KRsJDNC → y2h7yx597nXU7_RKFBkM7}/_ssgManifest.js +0 -0
@@ -40,7 +40,7 @@
40
40
  <style>body{font-family:system-ui;display:flex;justify-content:center;align-items:center;height:100vh;margin:0;background:#f5f5f5}.c{text-align:center;padding:2rem;background:#fff;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.1)}.i{color:${a?"#22c55e":"#ef4444"};font-size:3rem}h1{margin:1rem 0}p{color:#666}</style>
41
41
  </head><body><div class="c"><div class="i">${a?"&#10003;":"&#10007;"}</div><h1>${c}</h1><p>${d}</p><p>Closing in <span id="cd">3</span>s...</p>
42
42
  <script>let n=3;const c=document.getElementById("cd");const t=setInterval(()=>{n--;c.textContent=n;if(n<=0){clearInterval(t);window.close();}},1000);<\/script>
43
- </div></body></html>`}function t(a){return new Promise(b=>{if(k)return void b({success:!0});let d=e().createServer(async(b,d)=>{let e=new f.URL(b.url,"http://localhost");if("/callback"!==e.pathname&&"/auth/callback"!==e.pathname){d.writeHead(404),d.end("Not found");return}let g=e.searchParams.get("code"),h=e.searchParams.get("state"),i=e.searchParams.get("error"),j=o(h);if(j){try{if(i)throw Error(e.searchParams.get("error_description")||i);if(!g)throw Error("No authorization code received");let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(6922),c.e(2578),c.e(7843),c.e(3225),c.e(7913),c.e(3811),c.e(614),c.e(7877),c.e(8499),c.e(1836),c.e(5330),c.e(6171),c.e(8895),c.e(4049)]).then(c.bind(c,74177)),{createProviderConnection:b}=await c.e(1998).then(c.bind(c,71998)),f=await a("codex",g,j.redirectUri,j.codeVerifier,h),k=await b({provider:"codex",authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=k.id,j.email=k.email,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(s(!0,"You can close this window."))}catch(a){j.status="error",j.error=a.message,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(s(!1,a.message))}finally{u()}return}let k=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:k}),d.end(),u()});d.listen(m,"127.0.0.1",()=>{k=d,l=setTimeout(()=>u(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function u(){l&&(clearTimeout(l),l=null),k&&(k.close(),k=null)}let v=null,w=null,x=new Map;function y({state:a,codeVerifier:b,redirectUri:c}){return!!a&&!!b&&!!c&&(x.set(a,{codeVerifier:b,redirectUri:c,status:"pending",createdAt:Date.now()}),!0)}function z(a){return x.get(a)||null}function A(a){x.delete(a)}function B(a){return new Promise(b=>{if(v)return void b({success:!0});let d=e().createServer(async(b,d)=>{let e=new f.URL(b.url,"http://localhost");if("/callback"!==e.pathname&&"/auth/callback"!==e.pathname){d.writeHead(404),d.end("Not found");return}let g=e.searchParams.get("code"),h=e.searchParams.get("state"),i=e.searchParams.get("error"),j=h?x.get(h):null;if(j){var k;try{if(i)throw Error(e.searchParams.get("error_description")||i);if(!g)throw Error("No authorization code received");let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(6922),c.e(2578),c.e(7843),c.e(3225),c.e(7913),c.e(3811),c.e(614),c.e(7877),c.e(8499),c.e(1836),c.e(5330),c.e(6171),c.e(8895),c.e(4049)]).then(c.bind(c,74177)),{createProviderConnection:b}=await c.e(1998).then(c.bind(c,71998)),f=await a("xai",g,j.redirectUri,j.codeVerifier,h),k=await b({provider:"xai",authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=k.id,j.email=k.email,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(s(!0,"You can close this window."))}catch(a){j.status="error",j.error=a.message,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end((k=a.message,s(!1,k)))}finally{C()}return}let l=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:l}),d.end(),C()});d.listen(56121,"127.0.0.1",()=>{v=d,w=setTimeout(()=>C(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function C(){w&&(clearTimeout(w),w=null),v&&(v.close(),v=null)}let D=new Map;function E(a){let b=D.get(a);return b||(b={server:null,timeout:null,port:null,session:null},D.set(a,b)),b}function F({state:a,provider:b="trae"}){return!!a&&(E(b).session={state:a,provider:b,status:"pending",createdAt:Date.now()},!0)}function G(a,b="trae"){let c=E(b).session;return!c||a&&c.state!==a?null:c}function H(a,b="trae"){let c=E(b);(!a||c.session&&c.session.state===a)&&(c.session=null)}async function I(a="trae"){let{getProvider:b}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(6922),c.e(2578),c.e(7843),c.e(3225),c.e(7913),c.e(3811),c.e(614),c.e(7877),c.e(8499),c.e(1836),c.e(5330),c.e(6171),c.e(8895),c.e(4049)]).then(c.bind(c,74177)),d=b(a).config,g=E(a);return new Promise(b=>{if(g.server)return void b({success:!0,port:g.port,callbackUrl:`http://127.0.0.1:${g.port}${d.callbackPath}`});let h=e().createServer(async(b,e)=>{let h=new f.URL(b.url,"http://localhost");if(h.pathname!==d.callbackPath&&"/auth/callback"!==h.pathname){e.writeHead(404),e.end("Not found");return}let j=g.session;if(!j){e.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),e.end(s(!1,"No active Trae login session"));return}if(!i(b.headers.origin)){e.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),e.end(s(!1,"Cross-origin callback rejected"));return}let k=h.searchParams.get("state");if(k&&j.state&&k!==j.state){j.status="error",j.error="Trae callback state mismatch",e.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),e.end(s(!1,j.error)),J(a);return}let l=`${h.pathname}?${h.searchParams.toString()}`;try{let{exchangeTokens:b}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(6922),c.e(2578),c.e(7843),c.e(3225),c.e(7913),c.e(3811),c.e(614),c.e(7877),c.e(8499),c.e(1836),c.e(5330),c.e(6171),c.e(8895),c.e(4049)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),f=await b(a,l),g=await d({provider:a,authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=g.id,j.email=g.email,e.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),e.end(s(!0,"You can close this window."))}catch(a){j.status="error",j.error=a.message,e.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),e.end(s(!1,a.message))}finally{J(a)}});h.listen(0,"127.0.0.1",()=>{g.server=h,g.port=h.address().port,g.timeout=setTimeout(()=>J(a),d.oauthTimeoutMs),b({success:!0,port:g.port,callbackUrl:`http://127.0.0.1:${g.port}${d.callbackPath}`})}),h.on("error",a=>b({success:!1,reason:a.message}))})}function J(a="trae"){let b=E(a);b.timeout&&(clearTimeout(b.timeout),b.timeout=null),b.server&&(b.server.close(),b.server=null),b.port=null}let K=null,L=null,M=null,N=null;function O({state:a}){return!!a&&(N={state:a,status:"pending",createdAt:Date.now()},!0)}function P(a){return!N||a&&N.state!==a?null:N}function Q(a){(!a||N&&N.state===a)&&(N=null)}function R(){return new Promise(a=>{if(K)return void a({success:!0,port:M,callbackUrl:`http://127.0.0.1:${M}${g.eD.callbackPath}`});let b=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost");if(d.pathname!==g.eD.callbackPath){b.writeHead(404),b.end("Not found");return}let e=N;if(!e){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"No active Windsurf login session"));return}if(!i(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Cross-origin callback rejected"));return}let h=d.searchParams.get("state");if(!h||!e.state||h!==e.state){e.status="error",e.error="Windsurf callback state mismatch",b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,e.error)),S();return}let j=`${d.pathname}?${d.searchParams.toString()}`;try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(6922),c.e(2578),c.e(7843),c.e(3225),c.e(7913),c.e(3811),c.e(614),c.e(7877),c.e(8499),c.e(1836),c.e(5330),c.e(6171),c.e(8895),c.e(4049)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),f=await a("windsurf",j,null,null,e.state),g=await d({provider:"windsurf",authType:"api_key",...f,testStatus:"active"});e.status="done",e.connectionId=g.id,e.email=g.email,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!0,"You can close this window."))}catch(a){e.status="error",e.error=a.message,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,a.message))}finally{S()}});b.listen(0,"127.0.0.1",()=>{K=b,M=b.address().port,L=setTimeout(()=>S(),g.eD.oauthTimeoutMs),a({success:!0,port:M,callbackUrl:`http://127.0.0.1:${M}${g.eD.callbackPath}`})}),b.on("error",b=>a({success:!1,reason:b.message}))})}function S(){L&&(clearTimeout(L),L=null),K&&(K.close(),K=null),M=null}let T=null,U=null,V=null,W=null;function X({state:a,codeVerifier:b,systemId:c}){return!!a&&!!b&&(W={state:a,codeVerifier:b,systemId:c||null,status:"pending",createdAt:Date.now()},!0)}function Y(a){return!W||a&&W.state!==a?null:W}function Z(a){(!a||W&&W.state===a)&&(W=null)}function $(a=0){return new Promise(b=>{if(T){U&&clearTimeout(U),U=setTimeout(()=>{console.log("[Zed proxy] timeout, stopping"),_()},g.RY.oauthTimeoutMs),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`});return}let d=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost"),e=Object.fromEntries(d.searchParams);for(let a of["access_token","user_id","code_verifier","state"])e[a]&&(e[a]="<redacted>");if(console.log("[Zed proxy]",a.method,d.pathname,JSON.stringify(e)),"/"!==d.pathname&&"/callback"!==d.pathname){b.writeHead(404),b.end("Not found");return}let g=W;if(!g){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"No active Zed login session"));return}if(!i(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Cross-origin callback rejected"));return}let h=d.searchParams;if(!(h.has("user_id")||h.has("userId")||h.has("access_token")||h.has("accessToken")||h.has("token"))){console.log(`[Zed proxy] ignoring non-callback ${a.method} ${d.pathname} (session kept, server kept)`),b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Waiting for Zed sign-in — this request carried no login data."));return}let j=d.search?`${d.pathname}?${d.searchParams.toString()}`:d.pathname;try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(6922),c.e(2578),c.e(7843),c.e(3225),c.e(7913),c.e(3811),c.e(614),c.e(7877),c.e(8499),c.e(1836),c.e(5330),c.e(6171),c.e(8895),c.e(4049)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),e=await a("zed",j,null,g.codeVerifier,g.state,g.systemId?{systemId:g.systemId}:void 0),f=await d({provider:"zed",authType:"oauth",...e,testStatus:"active"});g.status="done",g.connectionId=f.id,g.email=f.email,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!0,"You can close this window.")),_()}catch(a){g.status="error",g.error=a.message,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,a.message))}}),h=Number(a)||0;d.on("error",a=>{"EADDRINUSE"===a.code&&0!==h?(console.log(`[Zed proxy] port ${h} busy, falling back to random`),d.listen(0,"127.0.0.1",()=>{T=d,V=d.address().port,U=setTimeout(()=>_(),g.RY.oauthTimeoutMs),console.log(`[Zed proxy] listening on random port ${V}`),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`})})):(console.log(`[Zed proxy] listen error: ${a.message}`),b({success:!1,reason:a.message}))}),d.listen(h,"127.0.0.1",()=>{T=d,V=d.address().port,U=setTimeout(()=>{console.log("[Zed proxy] timeout, stopping"),_()},g.RY.oauthTimeoutMs),console.log(`[Zed proxy] listening on port ${V}`),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`})})})}function _(){console.log(`[Zed proxy] stopping (port ${V||"-"})`),U&&(clearTimeout(U),U=null),T&&(T.close(),T=null),V=null}let aa=null,ab=null,ac=null,ad=new Map;function ae({state:a,privateKeyDer:b}){return!!a&&!!b&&(ad.set(a,{privateKeyDer:b,status:"pending",createdAt:Date.now()}),!0)}function af(a){let b=ad.get(a);return b?{status:b.status,result:b.result||null,error:b.error||null}:null}function ag(a){ad.delete(a)}function ah(a,b){let c=a?"Authentication Successful":"Authentication Failed";return`<!DOCTYPE html>
43
+ </div></body></html>`}function t(a){return new Promise(b=>{if(k)return void b({success:!0});let d=e().createServer(async(b,d)=>{let e=new f.URL(b.url,"http://localhost");if("/callback"!==e.pathname&&"/auth/callback"!==e.pathname){d.writeHead(404),d.end("Not found");return}let g=e.searchParams.get("code"),h=e.searchParams.get("state"),i=e.searchParams.get("error"),j=o(h);if(j){try{if(i)throw Error(e.searchParams.get("error_description")||i);if(!g)throw Error("No authorization code received");let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(7801),c.e(8920),c.e(24),c.e(7187),c.e(8623),c.e(7843),c.e(2578),c.e(3225),c.e(7913),c.e(4957),c.e(8767),c.e(614),c.e(8499),c.e(2327),c.e(5330),c.e(6171),c.e(8895),c.e(4279)]).then(c.bind(c,74177)),{createProviderConnection:b}=await c.e(1998).then(c.bind(c,71998)),f=await a("codex",g,j.redirectUri,j.codeVerifier,h),k=await b({provider:"codex",authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=k.id,j.email=k.email,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(s(!0,"You can close this window."))}catch(a){j.status="error",j.error=a.message,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(s(!1,a.message))}finally{u()}return}let k=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:k}),d.end(),u()});d.listen(m,"127.0.0.1",()=>{k=d,l=setTimeout(()=>u(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function u(){l&&(clearTimeout(l),l=null),k&&(k.close(),k=null)}let v=null,w=null,x=new Map;function y({state:a,codeVerifier:b,redirectUri:c}){return!!a&&!!b&&!!c&&(x.set(a,{codeVerifier:b,redirectUri:c,status:"pending",createdAt:Date.now()}),!0)}function z(a){return x.get(a)||null}function A(a){x.delete(a)}function B(a){return new Promise(b=>{if(v)return void b({success:!0});let d=e().createServer(async(b,d)=>{let e=new f.URL(b.url,"http://localhost");if("/callback"!==e.pathname&&"/auth/callback"!==e.pathname){d.writeHead(404),d.end("Not found");return}let g=e.searchParams.get("code"),h=e.searchParams.get("state"),i=e.searchParams.get("error"),j=h?x.get(h):null;if(j){var k;try{if(i)throw Error(e.searchParams.get("error_description")||i);if(!g)throw Error("No authorization code received");let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(7801),c.e(8920),c.e(24),c.e(7187),c.e(8623),c.e(7843),c.e(2578),c.e(3225),c.e(7913),c.e(4957),c.e(8767),c.e(614),c.e(8499),c.e(2327),c.e(5330),c.e(6171),c.e(8895),c.e(4279)]).then(c.bind(c,74177)),{createProviderConnection:b}=await c.e(1998).then(c.bind(c,71998)),f=await a("xai",g,j.redirectUri,j.codeVerifier,h),k=await b({provider:"xai",authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=k.id,j.email=k.email,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end(s(!0,"You can close this window."))}catch(a){j.status="error",j.error=a.message,d.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),d.end((k=a.message,s(!1,k)))}finally{C()}return}let l=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:l}),d.end(),C()});d.listen(56121,"127.0.0.1",()=>{v=d,w=setTimeout(()=>C(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function C(){w&&(clearTimeout(w),w=null),v&&(v.close(),v=null)}let D=new Map;function E(a){let b=D.get(a);return b||(b={server:null,timeout:null,port:null,session:null},D.set(a,b)),b}function F({state:a,provider:b="trae"}){return!!a&&(E(b).session={state:a,provider:b,status:"pending",createdAt:Date.now()},!0)}function G(a,b="trae"){let c=E(b).session;return!c||a&&c.state!==a?null:c}function H(a,b="trae"){let c=E(b);(!a||c.session&&c.session.state===a)&&(c.session=null)}async function I(a="trae"){let{getProvider:b}=await Promise.all([c.e(7774),c.e(7801),c.e(8920),c.e(24),c.e(7187),c.e(8623),c.e(7843),c.e(2578),c.e(3225),c.e(7913),c.e(4957),c.e(8767),c.e(614),c.e(8499),c.e(2327),c.e(5330),c.e(6171),c.e(8895),c.e(4279)]).then(c.bind(c,74177)),d=b(a).config,g=E(a);return new Promise(b=>{if(g.server)return void b({success:!0,port:g.port,callbackUrl:`http://127.0.0.1:${g.port}${d.callbackPath}`});let h=e().createServer(async(b,e)=>{let h=new f.URL(b.url,"http://localhost");if(h.pathname!==d.callbackPath&&"/auth/callback"!==h.pathname){e.writeHead(404),e.end("Not found");return}let j=g.session;if(!j){e.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),e.end(s(!1,"No active Trae login session"));return}if(!i(b.headers.origin)){e.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),e.end(s(!1,"Cross-origin callback rejected"));return}let k=h.searchParams.get("state");if(k&&j.state&&k!==j.state){j.status="error",j.error="Trae callback state mismatch",e.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),e.end(s(!1,j.error)),J(a);return}let l=`${h.pathname}?${h.searchParams.toString()}`;try{let{exchangeTokens:b}=await Promise.all([c.e(7774),c.e(7801),c.e(8920),c.e(24),c.e(7187),c.e(8623),c.e(7843),c.e(2578),c.e(3225),c.e(7913),c.e(4957),c.e(8767),c.e(614),c.e(8499),c.e(2327),c.e(5330),c.e(6171),c.e(8895),c.e(4279)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),f=await b(a,l),g=await d({provider:a,authType:"oauth",...f,expiresAt:f.expiresIn?new Date(Date.now()+1e3*f.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=g.id,j.email=g.email,e.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),e.end(s(!0,"You can close this window."))}catch(a){j.status="error",j.error=a.message,e.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),e.end(s(!1,a.message))}finally{J(a)}});h.listen(0,"127.0.0.1",()=>{g.server=h,g.port=h.address().port,g.timeout=setTimeout(()=>J(a),d.oauthTimeoutMs),b({success:!0,port:g.port,callbackUrl:`http://127.0.0.1:${g.port}${d.callbackPath}`})}),h.on("error",a=>b({success:!1,reason:a.message}))})}function J(a="trae"){let b=E(a);b.timeout&&(clearTimeout(b.timeout),b.timeout=null),b.server&&(b.server.close(),b.server=null),b.port=null}let K=null,L=null,M=null,N=null;function O({state:a}){return!!a&&(N={state:a,status:"pending",createdAt:Date.now()},!0)}function P(a){return!N||a&&N.state!==a?null:N}function Q(a){(!a||N&&N.state===a)&&(N=null)}function R(){return new Promise(a=>{if(K)return void a({success:!0,port:M,callbackUrl:`http://127.0.0.1:${M}${g.eD.callbackPath}`});let b=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost");if(d.pathname!==g.eD.callbackPath){b.writeHead(404),b.end("Not found");return}let e=N;if(!e){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"No active Windsurf login session"));return}if(!i(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Cross-origin callback rejected"));return}let h=d.searchParams.get("state");if(!h||!e.state||h!==e.state){e.status="error",e.error="Windsurf callback state mismatch",b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,e.error)),S();return}let j=`${d.pathname}?${d.searchParams.toString()}`;try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(7801),c.e(8920),c.e(24),c.e(7187),c.e(8623),c.e(7843),c.e(2578),c.e(3225),c.e(7913),c.e(4957),c.e(8767),c.e(614),c.e(8499),c.e(2327),c.e(5330),c.e(6171),c.e(8895),c.e(4279)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),f=await a("windsurf",j,null,null,e.state),g=await d({provider:"windsurf",authType:"api_key",...f,testStatus:"active"});e.status="done",e.connectionId=g.id,e.email=g.email,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!0,"You can close this window."))}catch(a){e.status="error",e.error=a.message,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,a.message))}finally{S()}});b.listen(0,"127.0.0.1",()=>{K=b,M=b.address().port,L=setTimeout(()=>S(),g.eD.oauthTimeoutMs),a({success:!0,port:M,callbackUrl:`http://127.0.0.1:${M}${g.eD.callbackPath}`})}),b.on("error",b=>a({success:!1,reason:b.message}))})}function S(){L&&(clearTimeout(L),L=null),K&&(K.close(),K=null),M=null}let T=null,U=null,V=null,W=null;function X({state:a,codeVerifier:b,systemId:c}){return!!a&&!!b&&(W={state:a,codeVerifier:b,systemId:c||null,status:"pending",createdAt:Date.now()},!0)}function Y(a){return!W||a&&W.state!==a?null:W}function Z(a){(!a||W&&W.state===a)&&(W=null)}function $(a=0){return new Promise(b=>{if(T){U&&clearTimeout(U),U=setTimeout(()=>{console.log("[Zed proxy] timeout, stopping"),_()},g.RY.oauthTimeoutMs),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`});return}let d=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost"),e=Object.fromEntries(d.searchParams);for(let a of["access_token","user_id","code_verifier","state"])e[a]&&(e[a]="<redacted>");if(console.log("[Zed proxy]",a.method,d.pathname,JSON.stringify(e)),"/"!==d.pathname&&"/callback"!==d.pathname){b.writeHead(404),b.end("Not found");return}let g=W;if(!g){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"No active Zed login session"));return}if(!i(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Cross-origin callback rejected"));return}let h=d.searchParams;if(!(h.has("user_id")||h.has("userId")||h.has("access_token")||h.has("accessToken")||h.has("token"))){console.log(`[Zed proxy] ignoring non-callback ${a.method} ${d.pathname} (session kept, server kept)`),b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Waiting for Zed sign-in — this request carried no login data."));return}let j=d.search?`${d.pathname}?${d.searchParams.toString()}`:d.pathname;try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(7801),c.e(8920),c.e(24),c.e(7187),c.e(8623),c.e(7843),c.e(2578),c.e(3225),c.e(7913),c.e(4957),c.e(8767),c.e(614),c.e(8499),c.e(2327),c.e(5330),c.e(6171),c.e(8895),c.e(4279)]).then(c.bind(c,74177)),{createProviderConnection:d}=await c.e(1998).then(c.bind(c,71998)),e=await a("zed",j,null,g.codeVerifier,g.state,g.systemId?{systemId:g.systemId}:void 0),f=await d({provider:"zed",authType:"oauth",...e,testStatus:"active"});g.status="done",g.connectionId=f.id,g.email=f.email,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!0,"You can close this window.")),_()}catch(a){g.status="error",g.error=a.message,b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,a.message))}}),h=Number(a)||0;d.on("error",a=>{"EADDRINUSE"===a.code&&0!==h?(console.log(`[Zed proxy] port ${h} busy, falling back to random`),d.listen(0,"127.0.0.1",()=>{T=d,V=d.address().port,U=setTimeout(()=>_(),g.RY.oauthTimeoutMs),console.log(`[Zed proxy] listening on random port ${V}`),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`})})):(console.log(`[Zed proxy] listen error: ${a.message}`),b({success:!1,reason:a.message}))}),d.listen(h,"127.0.0.1",()=>{T=d,V=d.address().port,U=setTimeout(()=>{console.log("[Zed proxy] timeout, stopping"),_()},g.RY.oauthTimeoutMs),console.log(`[Zed proxy] listening on port ${V}`),b({success:!0,port:V,callbackUrl:`http://127.0.0.1:${V}/`})})})}function _(){console.log(`[Zed proxy] stopping (port ${V||"-"})`),U&&(clearTimeout(U),U=null),T&&(T.close(),T=null),V=null}let aa=null,ab=null,ac=null,ad=new Map;function ae({state:a,privateKeyDer:b}){return!!a&&!!b&&(ad.set(a,{privateKeyDer:b,status:"pending",createdAt:Date.now()}),!0)}function af(a){let b=ad.get(a);return b?{status:b.status,result:b.result||null,error:b.error||null}:null}function ag(a){ad.delete(a)}function ah(a,b){let c=a?"Authentication Successful":"Authentication Failed";return`<!DOCTYPE html>
44
44
  <html>
45
45
  <head><meta charset="utf-8"><title>${c}</title>
46
46
  <style>
@@ -59,4 +59,4 @@
59
59
  ${a?"<script>setTimeout(() => window.close(), 3000);<\/script>":""}
60
60
  </div>
61
61
  </body>
62
- </html>`}function ai(){return new Promise(a=>{if(aa)return void a({success:!0,port:ab,callbackUrl:`http://127.0.0.1:${ab}/`});let b=e().createServer(async(a,b)=>{if(!i(a.headers.origin)){b.writeHead(403),b.end("Forbidden");return}let d=new f.URL(a.url,"http://127.0.0.1").searchParams.get("u");if(!d){b.writeHead(400,{"Content-Type":"text/html; charset=utf-8"}),b.end(ah(!1,"Missing encrypted payload (u parameter)."));return}let e=[...ad.entries()].filter(([,a])=>"pending"===a.status);if(0===e.length){b.writeHead(500,{"Content-Type":"text/html; charset=utf-8"}),b.end(ah(!1,"No active OAuth session. Please restart the login flow."));return}try{let{decryptCallback:a}=await c.e(4152).then(c.bind(c,34152)),f=null,g=null;for(let[b,c]of e)try{f=a(c.privateKeyDer,d),g=b;break}catch{}if(!f||!g)throw Error("Could not decrypt with any pending session key");if(!f.sk)throw Error("Decrypted payload missing sk (API key)");let h=ad.get(g);h&&(h.status="done",h.result={uid:f.uid,accessToken:f.sk,baseUrl:f.url||"https://api.xiaomimimo.com/v1"}),b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(ah(!0,"Xiaomi account linked. You can close this tab.")),console.log("[xiaomi-mimo oauth] callback decrypted, uid:",f.uid)}catch(a){for(let[,b]of(console.error("[xiaomi-mimo oauth] decrypt failed:",a.message),e))b.status="error",b.error=a.message;b.writeHead(400,{"Content-Type":"text/html; charset=utf-8"}),b.end(ah(!1,`Decryption failed: ${a.message}`))}});b.on("error",b=>{console.log("[xiaomi-mimo oauth] listen error:",b.message),a({success:!1,reason:b.message})}),b.listen(0,"127.0.0.1",()=>{aa=b,ab=b.address().port,ac=setTimeout(()=>{console.log("[xiaomi-mimo oauth] timeout, stopping"),aj()},3e5),console.log(`[xiaomi-mimo oauth] listening on port ${ab}`),a({success:!0,port:ab,callbackUrl:`http://127.0.0.1:${ab}/`})})})}function aj(){console.log(`[xiaomi-mimo oauth] stopping (port ${ab||"-"})`),ac&&(clearTimeout(ac),ac=null),aa&&(aa.close(),aa=null),ab=null,ad.clear()}let ak=null,al=null,am=null,an=null;function ao({state:a,codeVerifier:b,ticketId:c}){return!!a&&!!b&&(an={state:a,codeVerifier:b,ticketId:c||null,status:"pending",createdAt:Date.now()},!0)}function ap(a){return!an||a&&an.state!==a?null:{state:an.state,status:an.status,connectionId:an.connectionId||null,email:an.email||null,error:an.error||null}}function aq(a){(!a||an&&an.state===a)&&(an=null)}function ar(a){let b=new URLSearchParams({login_succeed:String(a),locale:g.Ru.locale||"zh-cn"});return`${g.Ru.portalBase}/login?${b.toString()}`}function as(){return new Promise(a=>{if(ak){al&&clearTimeout(al),al=setTimeout(()=>{console.log("[CodeArts proxy] timeout, stopping"),at()},g.Ru.oauthTimeoutMs),a({success:!0,port:am,callbackUrl:(0,h.yn)(am)});return}let b=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost");if(d.pathname!==g.Ru.callbackPath){b.writeHead(404),b.end("Not found");return}let e=d.searchParams;if(console.log("[CodeArts proxy]",a.method,d.pathname,JSON.stringify({hasCode:e.has("code"),hasSecret:e.has("secret"),redirect:e.get("redirect")?"<ignored>":null})),!e.has("code")&&!e.has("secret")){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Waiting for CodeArts sign-in — this request carried no login data."));return}if(!i(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Cross-origin callback rejected"));return}let j=an;if(!j){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"No active CodeArts login session"));return}if("pending"!==j.status){b.writeHead(307,{Location:ar("done"===j.status)}),b.end();return}try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(6922),c.e(2578),c.e(7843),c.e(3225),c.e(7913),c.e(3811),c.e(614),c.e(7877),c.e(8499),c.e(1836),c.e(5330),c.e(6171),c.e(8895),c.e(4049)]).then(c.bind(c,74177)),{createProviderConnection:f}=await c.e(1998).then(c.bind(c,71998)),g=`${d.pathname}?${e.toString()}`,i=await a("codearts",g,(0,h.yn)(am),j.codeVerifier,j.state,j.ticketId?{ticketId:j.ticketId}:void 0),k=await f({provider:"codearts",authType:"oauth",...i,expiresAt:i.expiresIn?new Date(Date.now()+1e3*i.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=k.id,j.email=k.email,j.codeVerifier=null,j.ticketId=null,b.writeHead(307,{Location:ar(!0)}),b.end(),at()}catch(a){j.status="error",j.error=a.message,j.codeVerifier=null,j.ticketId=null,b.writeHead(307,{Location:ar(!1)}),b.end()}});b.listen(0,"127.0.0.1",()=>{ak=b,am=b.address().port,al=setTimeout(()=>{console.log("[CodeArts proxy] timeout, stopping"),at()},g.Ru.oauthTimeoutMs),console.log(`[CodeArts proxy] listening on port ${am}`),a({success:!0,port:am,callbackUrl:(0,h.yn)(am)})}),b.on("error",b=>{console.log(`[CodeArts proxy] listen error: ${b.message}`),a({success:!1,reason:b.message})})})}function at(){console.log(`[CodeArts proxy] stopping (port ${am||"-"})`),al&&(clearTimeout(al),al=null),ak&&(ak.close(),ak=null),am=null,an&&(an.codeVerifier=null,an.ticketId=null)}let au=null,av=null,aw=null,ax=null;function ay({state:a}){return!!a&&(ax={state:a,status:"pending",createdAt:Date.now()},!0)}function az(a){return!ax||a&&ax.state!==a?null:{state:ax.state,status:ax.status,connectionId:ax.connectionId||null,email:ax.email||null,error:ax.error||null}}function aA(a){(!a||ax&&ax.state===a)&&(ax=null)}function aB(a){let b=a?g.iO.successRedirectPath:g.iO.failedRedirectPath;return`${g.iO.baseUrl}/${b}`}function aC(){return new Promise(a=>{if(au){av&&clearTimeout(av),av=setTimeout(()=>{console.log("[DevEco proxy] timeout, stopping"),aD()},g.iO.oauthTimeoutMs),a({success:!0,port:aw,callbackUrl:`http://127.0.0.1:${aw}${g.iO.callbackPath}`});return}let b=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost");if(console.log("[DevEco proxy]",a.method,d.pathname),d.pathname!==g.iO.callbackPath&&"/"!==d.pathname){b.writeHead(404),b.end("Not found");return}let e=d.searchParams;if("POST"===a.method){let c="";try{for await(let d of(a.setEncoding("utf8"),a))if((c+=d).length>65536){b.writeHead(413,{"Content-Type":"text/plain"}),b.end("Payload too large"),a.destroy();return}}catch{c=""}if(c.trim()){let a=new URLSearchParams(c.trim());[...a.keys()].length>0&&(e=a)}}if(console.log("[DevEco proxy] params",JSON.stringify({hasTempToken:e.has("tempToken"),hasCode:e.has("code"),siteId:e.get("siteId")||null,origin:a.headers.origin||null})),!e.has("tempToken")&&!e.has("access_denied")&&"true"!==e.get("quit")){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Waiting for HUAWEI ID sign-in — this request carried no login data."));return}if(!function(a){if(!a||i(a))return!0;try{let b=new f.URL(a).hostname.toLowerCase();return"huawei.com"===b||b.endsWith(".huawei.com")}catch{return!1}}(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Foreign-origin callback rejected"));return}let h=ax;if(!h){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"No active DevEco login session"));return}if("pending"!==h.status){b.writeHead(302,{Location:aB("done"===h.status)}),b.end();return}if(!e.has("code")||e.get("code")!==h.state){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"DevEco callback state mismatch"));return}if("true"===e.get("access_denied")||"true"===e.get("quit")){h.status="error",h.error="Login cancelled by user",b.writeHead(302,{Location:aB(!1)}),b.end();return}try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(5433),c.e(8920),c.e(24),c.e(6922),c.e(2578),c.e(7843),c.e(3225),c.e(7913),c.e(3811),c.e(614),c.e(7877),c.e(8499),c.e(1836),c.e(5330),c.e(6171),c.e(8895),c.e(4049)]).then(c.bind(c,74177)),{createProviderConnection:f}=await c.e(1998).then(c.bind(c,71998)),i=`${d.pathname}?${e.toString()}`,j=await a("deveco",i,`http://127.0.0.1:${aw}${g.iO.callbackPath}`,null,h.state),k=await f({provider:"deveco",authType:"oauth",...j,expiresAt:j.expiresIn?new Date(Date.now()+1e3*j.expiresIn).toISOString():null,testStatus:"active"});h.status="done",h.connectionId=k.id,h.email=k.email,b.writeHead(302,{Location:aB(!0)}),b.end(),aD()}catch(a){h.status="error",h.error=a.message,b.writeHead(302,{Location:aB(!1)}),b.end()}});b.listen(0,"127.0.0.1",()=>{au=b,aw=b.address().port,av=setTimeout(()=>{console.log("[DevEco proxy] timeout, stopping"),aD()},g.iO.oauthTimeoutMs),console.log(`[DevEco proxy] listening on port ${aw}`),a({success:!0,port:aw,callbackUrl:`http://127.0.0.1:${aw}${g.iO.callbackPath}`})}),b.on("error",b=>{console.log(`[DevEco proxy] listen error: ${b.message}`),a({success:!1,reason:b.message})})})}function aD(){console.log(`[DevEco proxy] stopping (port ${aw||"-"})`),av&&(clearTimeout(av),av=null),au&&(au.close(),au=null),aw=null}},73159:(a,b,c)=>{c.d(b,{Ue:()=>k,oT:()=>l});var d=c(26070);let e=d.xq.xai?.clientId,f="https://auth.x.ai",g="/oauth2/authorize",h="/oauth2/token",i="/.well-known/openid-configuration",j="/callback",k=96,l={clientId:e,issuer:f,authEndpointPath:g,tokenEndpointPath:h,discoveryPath:i,authorizeUrl:`${f}${g}`,tokenUrl:`${f}${h}`,discoveryUrl:`${f}${i}`,scope:"openid profile email offline_access grok-cli:access api:access",apiBaseUrl:"https://api.x.ai/v1",redirectUri:`http://127.0.0.1:56121${j}`,loopbackPort:56121,callbackPath:j,pkceVerifierBytes:96,refreshLeadSeconds:300,userAgent:"grok-cli/9router",codeChallengeMethod:"S256"}},92990:(a,b,c)=>{c.d(b,{DI:()=>i,DV:()=>A,EL:()=>G,LT:()=>j,MZ:()=>v,Nl:()=>z,Nu:()=>p,OV:()=>h,RY:()=>K,Ru:()=>L,S6:()=>s,SK:()=>F,Td:()=>B,Tx:()=>q,WN:()=>t,Ww:()=>O,YT:()=>n,Z2:()=>N,ZL:()=>m,_0:()=>I,aV:()=>u,bo:()=>J,cD:()=>o,eD:()=>H,f7:()=>y,hF:()=>k,iO:()=>M,lB:()=>w,oe:()=>E,qp:()=>C,sA:()=>D,t3:()=>l,w1:()=>x});var d=c(21820),e=c(74129),f=c(26070);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]},k={...f.sr.qoder},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["codebuddy-intl"]},B={...f.sr.kimchi},C={...f.sr["grok-cli"]},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={...f.sr["trae-enterprise"],minAppVersion:F.minAppVersion,defaultAppVersion:F.defaultAppVersion,defaultAppType:F.defaultAppType,defaultPluginVersion:F.defaultPluginVersion,defaultDeviceId:F.defaultDeviceId,userAgent:F.userAgent,authScheme:F.authScheme,tokenLifetimeDays:F.tokenLifetimeDays,oauthTimeoutMs:F.oauthTimeoutMs},H={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},I={...f.sr.glm},J={...f.sr.zcode},K={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},L={...f.sr.codearts},M={...f.sr.deveco},N={clientId:"hermes-cli",portalBaseUrl:"https://portal.nousresearch.com",deviceCodeUrl:"https://portal.nousresearch.com/api/oauth/device/code",tokenUrl:"https://portal.nousresearch.com/api/oauth/token",agentKeyUrl:"https://portal.nousresearch.com/api/oauth/agent-key",inferenceBaseUrl:"https://inference-api.nousresearch.com/v1",scope:"inference:invoke inference:mint_agent_key"},O=3e5}};
62
+ </html>`}function ai(){return new Promise(a=>{if(aa)return void a({success:!0,port:ab,callbackUrl:`http://127.0.0.1:${ab}/`});let b=e().createServer(async(a,b)=>{if(!i(a.headers.origin)){b.writeHead(403),b.end("Forbidden");return}let d=new f.URL(a.url,"http://127.0.0.1").searchParams.get("u");if(!d){b.writeHead(400,{"Content-Type":"text/html; charset=utf-8"}),b.end(ah(!1,"Missing encrypted payload (u parameter)."));return}let e=[...ad.entries()].filter(([,a])=>"pending"===a.status);if(0===e.length){b.writeHead(500,{"Content-Type":"text/html; charset=utf-8"}),b.end(ah(!1,"No active OAuth session. Please restart the login flow."));return}try{let{decryptCallback:a}=await c.e(4152).then(c.bind(c,34152)),f=null,g=null;for(let[b,c]of e)try{f=a(c.privateKeyDer,d),g=b;break}catch{}if(!f||!g)throw Error("Could not decrypt with any pending session key");if(!f.sk)throw Error("Decrypted payload missing sk (API key)");let h=ad.get(g);h&&(h.status="done",h.result={uid:f.uid,accessToken:f.sk,baseUrl:f.url||"https://api.xiaomimimo.com/v1"}),b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(ah(!0,"Xiaomi account linked. You can close this tab.")),console.log("[xiaomi-mimo oauth] callback decrypted, uid:",f.uid)}catch(a){for(let[,b]of(console.error("[xiaomi-mimo oauth] decrypt failed:",a.message),e))b.status="error",b.error=a.message;b.writeHead(400,{"Content-Type":"text/html; charset=utf-8"}),b.end(ah(!1,`Decryption failed: ${a.message}`))}});b.on("error",b=>{console.log("[xiaomi-mimo oauth] listen error:",b.message),a({success:!1,reason:b.message})}),b.listen(0,"127.0.0.1",()=>{aa=b,ab=b.address().port,ac=setTimeout(()=>{console.log("[xiaomi-mimo oauth] timeout, stopping"),aj()},3e5),console.log(`[xiaomi-mimo oauth] listening on port ${ab}`),a({success:!0,port:ab,callbackUrl:`http://127.0.0.1:${ab}/`})})})}function aj(){console.log(`[xiaomi-mimo oauth] stopping (port ${ab||"-"})`),ac&&(clearTimeout(ac),ac=null),aa&&(aa.close(),aa=null),ab=null,ad.clear()}let ak=null,al=null,am=null,an=null;function ao({state:a,codeVerifier:b,ticketId:c}){return!!a&&!!b&&(an={state:a,codeVerifier:b,ticketId:c||null,status:"pending",createdAt:Date.now()},!0)}function ap(a){return!an||a&&an.state!==a?null:{state:an.state,status:an.status,connectionId:an.connectionId||null,email:an.email||null,error:an.error||null}}function aq(a){(!a||an&&an.state===a)&&(an=null)}function ar(a){let b=new URLSearchParams({login_succeed:String(a),locale:g.Ru.locale||"zh-cn"});return`${g.Ru.portalBase}/login?${b.toString()}`}function as(){return new Promise(a=>{if(ak){al&&clearTimeout(al),al=setTimeout(()=>{console.log("[CodeArts proxy] timeout, stopping"),at()},g.Ru.oauthTimeoutMs),a({success:!0,port:am,callbackUrl:(0,h.yn)(am)});return}let b=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost");if(d.pathname!==g.Ru.callbackPath){b.writeHead(404),b.end("Not found");return}let e=d.searchParams;if(console.log("[CodeArts proxy]",a.method,d.pathname,JSON.stringify({hasCode:e.has("code"),hasSecret:e.has("secret"),redirect:e.get("redirect")?"<ignored>":null})),!e.has("code")&&!e.has("secret")){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Waiting for CodeArts sign-in — this request carried no login data."));return}if(!i(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Cross-origin callback rejected"));return}let j=an;if(!j){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"No active CodeArts login session"));return}if("pending"!==j.status){b.writeHead(307,{Location:ar("done"===j.status)}),b.end();return}try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(7801),c.e(8920),c.e(24),c.e(7187),c.e(8623),c.e(7843),c.e(2578),c.e(3225),c.e(7913),c.e(4957),c.e(8767),c.e(614),c.e(8499),c.e(2327),c.e(5330),c.e(6171),c.e(8895),c.e(4279)]).then(c.bind(c,74177)),{createProviderConnection:f}=await c.e(1998).then(c.bind(c,71998)),g=`${d.pathname}?${e.toString()}`,i=await a("codearts",g,(0,h.yn)(am),j.codeVerifier,j.state,j.ticketId?{ticketId:j.ticketId}:void 0),k=await f({provider:"codearts",authType:"oauth",...i,expiresAt:i.expiresIn?new Date(Date.now()+1e3*i.expiresIn).toISOString():null,testStatus:"active"});j.status="done",j.connectionId=k.id,j.email=k.email,j.codeVerifier=null,j.ticketId=null,b.writeHead(307,{Location:ar(!0)}),b.end(),at()}catch(a){j.status="error",j.error=a.message,j.codeVerifier=null,j.ticketId=null,b.writeHead(307,{Location:ar(!1)}),b.end()}});b.listen(0,"127.0.0.1",()=>{ak=b,am=b.address().port,al=setTimeout(()=>{console.log("[CodeArts proxy] timeout, stopping"),at()},g.Ru.oauthTimeoutMs),console.log(`[CodeArts proxy] listening on port ${am}`),a({success:!0,port:am,callbackUrl:(0,h.yn)(am)})}),b.on("error",b=>{console.log(`[CodeArts proxy] listen error: ${b.message}`),a({success:!1,reason:b.message})})})}function at(){console.log(`[CodeArts proxy] stopping (port ${am||"-"})`),al&&(clearTimeout(al),al=null),ak&&(ak.close(),ak=null),am=null,an&&(an.codeVerifier=null,an.ticketId=null)}let au=null,av=null,aw=null,ax=null;function ay({state:a}){return!!a&&(ax={state:a,status:"pending",createdAt:Date.now()},!0)}function az(a){return!ax||a&&ax.state!==a?null:{state:ax.state,status:ax.status,connectionId:ax.connectionId||null,email:ax.email||null,error:ax.error||null}}function aA(a){(!a||ax&&ax.state===a)&&(ax=null)}function aB(a){let b=a?g.iO.successRedirectPath:g.iO.failedRedirectPath;return`${g.iO.baseUrl}/${b}`}function aC(){return new Promise(a=>{if(au){av&&clearTimeout(av),av=setTimeout(()=>{console.log("[DevEco proxy] timeout, stopping"),aD()},g.iO.oauthTimeoutMs),a({success:!0,port:aw,callbackUrl:`http://127.0.0.1:${aw}${g.iO.callbackPath}`});return}let b=e().createServer(async(a,b)=>{let d=new f.URL(a.url,"http://localhost");if(console.log("[DevEco proxy]",a.method,d.pathname),d.pathname!==g.iO.callbackPath&&"/"!==d.pathname){b.writeHead(404),b.end("Not found");return}let e=d.searchParams;if("POST"===a.method){let c="";try{for await(let d of(a.setEncoding("utf8"),a))if((c+=d).length>65536){b.writeHead(413,{"Content-Type":"text/plain"}),b.end("Payload too large"),a.destroy();return}}catch{c=""}if(c.trim()){let a=new URLSearchParams(c.trim());[...a.keys()].length>0&&(e=a)}}if(console.log("[DevEco proxy] params",JSON.stringify({hasTempToken:e.has("tempToken"),hasCode:e.has("code"),siteId:e.get("siteId")||null,origin:a.headers.origin||null})),!e.has("tempToken")&&!e.has("access_denied")&&"true"!==e.get("quit")){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Waiting for HUAWEI ID sign-in — this request carried no login data."));return}if(!function(a){if(!a||i(a))return!0;try{let b=new f.URL(a).hostname.toLowerCase();return"huawei.com"===b||b.endsWith(".huawei.com")}catch{return!1}}(a.headers.origin)){b.writeHead(403,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"Foreign-origin callback rejected"));return}let h=ax;if(!h){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"No active DevEco login session"));return}if("pending"!==h.status){b.writeHead(302,{Location:aB("done"===h.status)}),b.end();return}if(!e.has("code")||e.get("code")!==h.state){b.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),b.end(s(!1,"DevEco callback state mismatch"));return}if("true"===e.get("access_denied")||"true"===e.get("quit")){h.status="error",h.error="Login cancelled by user",b.writeHead(302,{Location:aB(!1)}),b.end();return}try{let{exchangeTokens:a}=await Promise.all([c.e(7774),c.e(7801),c.e(8920),c.e(24),c.e(7187),c.e(8623),c.e(7843),c.e(2578),c.e(3225),c.e(7913),c.e(4957),c.e(8767),c.e(614),c.e(8499),c.e(2327),c.e(5330),c.e(6171),c.e(8895),c.e(4279)]).then(c.bind(c,74177)),{createProviderConnection:f}=await c.e(1998).then(c.bind(c,71998)),i=`${d.pathname}?${e.toString()}`,j=await a("deveco",i,`http://127.0.0.1:${aw}${g.iO.callbackPath}`,null,h.state),k=await f({provider:"deveco",authType:"oauth",...j,expiresAt:j.expiresIn?new Date(Date.now()+1e3*j.expiresIn).toISOString():null,testStatus:"active"});h.status="done",h.connectionId=k.id,h.email=k.email,b.writeHead(302,{Location:aB(!0)}),b.end(),aD()}catch(a){h.status="error",h.error=a.message,b.writeHead(302,{Location:aB(!1)}),b.end()}});b.listen(0,"127.0.0.1",()=>{au=b,aw=b.address().port,av=setTimeout(()=>{console.log("[DevEco proxy] timeout, stopping"),aD()},g.iO.oauthTimeoutMs),console.log(`[DevEco proxy] listening on port ${aw}`),a({success:!0,port:aw,callbackUrl:`http://127.0.0.1:${aw}${g.iO.callbackPath}`})}),b.on("error",b=>{console.log(`[DevEco proxy] listen error: ${b.message}`),a({success:!1,reason:b.message})})})}function aD(){console.log(`[DevEco proxy] stopping (port ${aw||"-"})`),av&&(clearTimeout(av),av=null),au&&(au.close(),au=null),aw=null}},73159:(a,b,c)=>{c.d(b,{Ue:()=>k,oT:()=>l});var d=c(26070);let e=d.xq.xai?.clientId,f="https://auth.x.ai",g="/oauth2/authorize",h="/oauth2/token",i="/.well-known/openid-configuration",j="/callback",k=96,l={clientId:e,issuer:f,authEndpointPath:g,tokenEndpointPath:h,discoveryPath:i,authorizeUrl:`${f}${g}`,tokenUrl:`${f}${h}`,discoveryUrl:`${f}${i}`,scope:"openid profile email offline_access grok-cli:access api:access",apiBaseUrl:"https://api.x.ai/v1",redirectUri:`http://127.0.0.1:56121${j}`,loopbackPort:56121,callbackPath:j,pkceVerifierBytes:96,refreshLeadSeconds:300,userAgent:"grok-cli/9router",codeChallengeMethod:"S256"}},92990:(a,b,c)=>{c.d(b,{DI:()=>i,DV:()=>A,EL:()=>G,LT:()=>j,MZ:()=>v,Nl:()=>z,Nu:()=>p,OV:()=>h,RY:()=>K,Ru:()=>L,S6:()=>s,SK:()=>F,Td:()=>B,Tx:()=>q,WN:()=>t,Ww:()=>O,YT:()=>n,Z2:()=>N,ZL:()=>m,_0:()=>I,aV:()=>u,bo:()=>J,cD:()=>o,eD:()=>H,f7:()=>y,hF:()=>k,iO:()=>M,lB:()=>w,oe:()=>E,qp:()=>C,sA:()=>D,t3:()=>l,w1:()=>x});var d=c(21820),e=c(74129),f=c(26070);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.dG,...f.sr["gemini-cli"]},k={...f.sr.qoder},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["codebuddy-intl"]},B={...f.sr.kimchi},C={...f.sr["grok-cli"]},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={...f.sr["trae-enterprise"],minAppVersion:F.minAppVersion,defaultAppVersion:F.defaultAppVersion,defaultAppType:F.defaultAppType,defaultPluginVersion:F.defaultPluginVersion,defaultDeviceId:F.defaultDeviceId,userAgent:F.userAgent,authScheme:F.authScheme,tokenLifetimeDays:F.tokenLifetimeDays,oauthTimeoutMs:F.oauthTimeoutMs},H={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},I={...f.sr.glm},J={...f.sr.zcode},K={webBaseUrl:"https://zed.dev",cloudBaseUrl:"https://cloud.zed.dev",llmBaseUrl:"https://cloud.zed.dev",defaultNativeAppPort:58443,oauthTimeoutMs:6e5},L={...f.sr.codearts},M={...f.sr.deveco},N={clientId:"hermes-cli",portalBaseUrl:"https://portal.nousresearch.com",deviceCodeUrl:"https://portal.nousresearch.com/api/oauth/device/code",tokenUrl:"https://portal.nousresearch.com/api/oauth/token",agentKeyUrl:"https://portal.nousresearch.com/api/oauth/agent-key",inferenceBaseUrl:"https://inference-api.nousresearch.com/v1",scope:"inference:invoke inference:mint_agent_key"},O=3e5}};
@@ -1 +1 @@
1
- "use strict";exports.id=6070,exports.ids=[6070],exports.modules={26070:(a,b,c)=>{c.d(b,{xq:()=>p,B$:()=>s,vq:()=>q,sr:()=>r});var d=c(94230),e=c(41004);let f={baseUrl:"",format:"openai",headers:{},auth:{header:"Authorization",scheme:"bearer",source:["accessToken","apiKey"]},forceStream:!1,urlSuffix:"",quirks:{},passthroughModels:!1,retry:e.cI,timeoutMs:e.pH,executor:"default"};var g=c(99511);let h={alloy:{id:"alloy",name:"Alloy"},ash:{id:"ash",name:"Ash"},ballad:{id:"ballad",name:"Ballad"},cedar:{id:"cedar",name:"Cedar"},coral:{id:"coral",name:"Coral"},echo:{id:"echo",name:"Echo"},fable:{id:"fable",name:"Fable"},marin:{id:"marin",name:"Marin"},nova:{id:"nova",name:"Nova"},onyx:{id:"onyx",name:"Onyx"},sage:{id:"sage",name:"Sage"},shimmer:{id:"shimmer",name:"Shimmer"},verse:{id:"verse",name:"Verse"}},i=(...a)=>a.map(a=>({...h[a],type:"tts"})),j=i("alloy","ash","coral","echo","fable","nova","onyx","sage","shimmer"),k=i("alloy","ash","ballad","cedar","coral","echo","fable","marin","nova","onyx","sage","shimmer","verse"),l=["Zephyr","Puck","Charon","Kore","Fenrir","Leda","Orus","Aoede","Callirrhoe","Autonoe","Enceladus","Iapetus","Umbriel","Algieba","Despina","Erinome","Algenib","Rasalgethi","Laomedeia","Achernar","Alnilam","Schedar","Gacrux","Pulcherrima","Achird","Zubenelgenubi","Vindemiatrix","Sadachbia","Sadaltager","Sulafat"].map(a=>({id:a,name:a,type:"tts"})),m={openai:{models:[{id:"gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"tts-1",name:"TTS-1",type:"tts"}],voices:{"gpt-4o-mini-tts":k,"tts-1":j,"tts-1-hd":j},allVoices:k},openrouter:{models:[{id:"openai/gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"openai/tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"openai/tts-1",name:"TTS-1",type:"tts"}],voices:{"openai/gpt-4o-mini-tts":k,"openai/tts-1":j,"openai/tts-1-hd":j},allVoices:k},elevenlabs:{models:[{id:"eleven_flash_v2_5",name:"Flash v2.5 (Fastest)",type:"tts"},{id:"eleven_turbo_v2_5",name:"Turbo v2.5 (Fast)",type:"tts"},{id:"eleven_multilingual_v2",name:"Multilingual v2 (Quality)",type:"tts"},{id:"eleven_monolingual_v1",name:"Monolingual v1 (English)",type:"tts"}]},"edge-tts":{defaults:[{id:"en-US-AriaNeural",name:"Aria (en-US)",type:"tts"},{id:"en-US-GuyNeural",name:"Guy (en-US)",type:"tts"},{id:"en-GB-SoniaNeural",name:"Sonia (en-GB)",type:"tts"},{id:"vi-VN-HoaiMyNeural",name:"Hoai My (vi-VN)",type:"tts"},{id:"vi-VN-NamMinhNeural",name:"Nam Minh (vi-VN)",type:"tts"},{id:"zh-CN-XiaoxiaoNeural",name:"Xiaoxiao (zh-CN)",type:"tts"},{id:"zh-CN-YunxiNeural",name:"Yunxi (zh-CN)",type:"tts"},{id:"fr-FR-DeniseNeural",name:"Denise (fr-FR)",type:"tts"},{id:"de-DE-KatjaNeural",name:"Katja (de-DE)",type:"tts"},{id:"ja-JP-NanamiNeural",name:"Nanami (ja-JP)",type:"tts"},{id:"ko-KR-SunHiNeural",name:"SunHi (ko-KR)",type:"tts"}]},"local-device":{defaults:[{id:"default",name:"System Default Voice",type:"tts"}]},"google-tts":{defaults:[{id:"af",name:"Afrikaans",type:"tts"},{id:"ar",name:"Arabic",type:"tts"},{id:"bg",name:"Bulgarian",type:"tts"},{id:"bn",name:"Bengali",type:"tts"},{id:"bs",name:"Bosnian",type:"tts"},{id:"ca",name:"Catalan",type:"tts"},{id:"cs",name:"Czech",type:"tts"},{id:"cy",name:"Welsh",type:"tts"},{id:"da",name:"Danish",type:"tts"},{id:"de",name:"German",type:"tts"},{id:"el",name:"Greek",type:"tts"},{id:"en",name:"English",type:"tts"},{id:"eo",name:"Esperanto",type:"tts"},{id:"es",name:"Spanish",type:"tts"},{id:"et",name:"Estonian",type:"tts"},{id:"fi",name:"Finnish",type:"tts"},{id:"fr",name:"French",type:"tts"},{id:"gu",name:"Gujarati",type:"tts"},{id:"hi",name:"Hindi",type:"tts"},{id:"hr",name:"Croatian",type:"tts"},{id:"hu",name:"Hungarian",type:"tts"},{id:"hy",name:"Armenian",type:"tts"},{id:"id",name:"Indonesian",type:"tts"},{id:"is",name:"Icelandic",type:"tts"},{id:"it",name:"Italian",type:"tts"},{id:"ja",name:"Japanese",type:"tts"},{id:"jw",name:"Javanese",type:"tts"},{id:"km",name:"Khmer",type:"tts"},{id:"kn",name:"Kannada",type:"tts"},{id:"ko",name:"Korean",type:"tts"},{id:"la",name:"Latin",type:"tts"},{id:"lv",name:"Latvian",type:"tts"},{id:"mk",name:"Macedonian",type:"tts"},{id:"ml",name:"Malayalam",type:"tts"},{id:"mr",name:"Marathi",type:"tts"},{id:"my",name:"Myanmar (Burmese)",type:"tts"},{id:"ne",name:"Nepali",type:"tts"},{id:"nl",name:"Dutch",type:"tts"},{id:"no",name:"Norwegian",type:"tts"},{id:"pl",name:"Polish",type:"tts"},{id:"pt",name:"Portuguese",type:"tts"},{id:"ro",name:"Romanian",type:"tts"},{id:"ru",name:"Russian",type:"tts"},{id:"si",name:"Sinhala",type:"tts"},{id:"sk",name:"Slovak",type:"tts"},{id:"sq",name:"Albanian",type:"tts"},{id:"sr",name:"Serbian",type:"tts"},{id:"su",name:"Sundanese",type:"tts"},{id:"sv",name:"Swedish",type:"tts"},{id:"sw",name:"Swahili",type:"tts"},{id:"ta",name:"Tamil",type:"tts"},{id:"te",name:"Telugu",type:"tts"},{id:"th",name:"Thai",type:"tts"},{id:"tl",name:"Filipino",type:"tts"},{id:"tr",name:"Turkish",type:"tts"},{id:"uk",name:"Ukrainian",type:"tts"},{id:"ur",name:"Urdu",type:"tts"},{id:"vi",name:"Vietnamese",type:"tts"},{id:"zh-CN",name:"Chinese (Simplified)",type:"tts"},{id:"zh-TW",name:"Chinese (Traditional)",type:"tts"}]},gemini:{models:[{id:"gemini-3.1-flash-tts-preview",name:"Gemini 3.1 Flash TTS",type:"tts"},{id:"gemini-2.5-flash-preview-tts",name:"Gemini 2.5 Flash TTS",type:"tts"},{id:"gemini-2.5-pro-preview-tts",name:"Gemini 2.5 Pro TTS",type:"tts"}],voices:{"gemini-3.1-flash-tts-preview":l,"gemini-2.5-flash-preview-tts":l,"gemini-2.5-pro-preview-tts":l},allVoices:l},"xiaomi-mimo":{models:[{id:"mimo-v2.5-tts",name:"MiMo V2.5 TTS",type:"tts"}],voices:{"mimo-v2.5-tts":[{id:"mimo_default",name:"mimo_default"},{id:"冰糖",name:"冰糖"},{id:"茉莉",name:"茉莉"},{id:"苏打",name:"苏打"},{id:"白桦",name:"白桦"},{id:"Mia",name:"Mia"},{id:"Chloe",name:"Chloe"},{id:"Milo",name:"Milo"},{id:"Dean",name:"Dean"}].map(a=>({type:"tts",...a}))}}},n=["clientId","clientSecret","tokenUrl"],o=new Set(["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","systemoneConfig","modelsFetcher","mediaPriority","hiddenKinds"]),p={},q={},r={},s={};for(let a of d.default){a.transport&&(p[a.id]=function(a,b){let c={...a};if(c.format||(c.format=f.format),b)for(let a of n)void 0===c[a]&&void 0!==b[a]&&(c[a]=b[a]);return c}(a.transport,a.oauth),a.transports&&(p[a.id].transports=a.transports)),void 0!==a.models&&(q[a.alias||a.id]=a.models.map(g.pk)),a.oauth&&(r[a.id]=a.oauth);let b={};for(let c of o)void 0!==a[c]&&(b[c]=a[c]);a.media&&Object.assign(b,a.media),Object.keys(b).length&&(s[a.id]=b)}Object.assign(q,function(){let a={};for(let[b,c]of Object.entries(m))c.models&&(a[`${b}-tts-models`]=c.models),c.allVoices&&(a[`${b}-tts-voices`]=c.allVoices),c.defaults&&(a[b]=c.defaults);return a["openai-tts-voices"]=m.openai.allVoices,a["openrouter-tts-voices"]=m.openrouter.allVoices,a}())},99511:(a,b,c)=>{function d(a){return a.split(/[-_\s]+/).filter(Boolean).map(a=>/^\d/.test(a)?a:a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}c.d(b,{g5:()=>h,ec:()=>j,gr:()=>i,pk:()=>g,Kq:()=>f});let e=[[/^kimi-k(\d+(?:\.\d+)?)(-thinking)?$/i,a=>`Kimi K${a[1]}${a[2]?" Thinking":""}`],[/^glm-(\d+(?:\.\d+)?)(v)?$/i,a=>`GLM ${a[1]}${a[2]?"V (Vision)":""}`],[/^minimax-m(\d+(?:\.\d+)?)$/i,a=>`MiniMax M${a[1]}`],[/^gpt-(.+)$/i,a=>`GPT ${d(a[1])}`],[/^gemini-(.+)$/i,a=>`Gemini ${d(a[1])}`],[/^grok-(.+)$/i,a=>`Grok ${d(a[1])}`],[/^deepseek-(.+)$/i,a=>`DeepSeek ${d(a[1])}`],[/^qwen([\d.]+.*)$/i,a=>`Qwen ${d(a[1])}`]];function f(a){return"string"!=typeof a?a:a.replace(/(\d)-(\d)/g,"$1.$2")}function g(a){let b="string"==typeof a?{id:a}:a;return void 0!==b.name?b:{...b,name:function(a){if("string"!=typeof a)return a;for(let[b,c]of e){let d=a.match(b);if(d)return c(d)}return a}(b.id)}}function h(a){return a?.strip||[]}function i(a){return a?.targetFormat||null}function j(a){return a?.supportedFormats||null}}};
1
+ "use strict";exports.id=6070,exports.ids=[6070],exports.modules={26070:(a,b,c)=>{c.d(b,{xq:()=>p,B$:()=>s,vq:()=>q,sr:()=>r});var d=c(39318),e=c(41004);let f={baseUrl:"",format:"openai",headers:{},auth:{header:"Authorization",scheme:"bearer",source:["accessToken","apiKey"]},forceStream:!1,urlSuffix:"",quirks:{},passthroughModels:!1,retry:e.cI,timeoutMs:e.pH,executor:"default"};var g=c(99511);let h={alloy:{id:"alloy",name:"Alloy"},ash:{id:"ash",name:"Ash"},ballad:{id:"ballad",name:"Ballad"},cedar:{id:"cedar",name:"Cedar"},coral:{id:"coral",name:"Coral"},echo:{id:"echo",name:"Echo"},fable:{id:"fable",name:"Fable"},marin:{id:"marin",name:"Marin"},nova:{id:"nova",name:"Nova"},onyx:{id:"onyx",name:"Onyx"},sage:{id:"sage",name:"Sage"},shimmer:{id:"shimmer",name:"Shimmer"},verse:{id:"verse",name:"Verse"}},i=(...a)=>a.map(a=>({...h[a],type:"tts"})),j=i("alloy","ash","coral","echo","fable","nova","onyx","sage","shimmer"),k=i("alloy","ash","ballad","cedar","coral","echo","fable","marin","nova","onyx","sage","shimmer","verse"),l=["Zephyr","Puck","Charon","Kore","Fenrir","Leda","Orus","Aoede","Callirrhoe","Autonoe","Enceladus","Iapetus","Umbriel","Algieba","Despina","Erinome","Algenib","Rasalgethi","Laomedeia","Achernar","Alnilam","Schedar","Gacrux","Pulcherrima","Achird","Zubenelgenubi","Vindemiatrix","Sadachbia","Sadaltager","Sulafat"].map(a=>({id:a,name:a,type:"tts"})),m={openai:{models:[{id:"gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"tts-1",name:"TTS-1",type:"tts"}],voices:{"gpt-4o-mini-tts":k,"tts-1":j,"tts-1-hd":j},allVoices:k},openrouter:{models:[{id:"openai/gpt-4o-mini-tts",name:"GPT-4o Mini TTS",type:"tts"},{id:"openai/tts-1-hd",name:"TTS-1 HD",type:"tts"},{id:"openai/tts-1",name:"TTS-1",type:"tts"}],voices:{"openai/gpt-4o-mini-tts":k,"openai/tts-1":j,"openai/tts-1-hd":j},allVoices:k},elevenlabs:{models:[{id:"eleven_flash_v2_5",name:"Flash v2.5 (Fastest)",type:"tts"},{id:"eleven_turbo_v2_5",name:"Turbo v2.5 (Fast)",type:"tts"},{id:"eleven_multilingual_v2",name:"Multilingual v2 (Quality)",type:"tts"},{id:"eleven_monolingual_v1",name:"Monolingual v1 (English)",type:"tts"}]},"edge-tts":{defaults:[{id:"en-US-AriaNeural",name:"Aria (en-US)",type:"tts"},{id:"en-US-GuyNeural",name:"Guy (en-US)",type:"tts"},{id:"en-GB-SoniaNeural",name:"Sonia (en-GB)",type:"tts"},{id:"vi-VN-HoaiMyNeural",name:"Hoai My (vi-VN)",type:"tts"},{id:"vi-VN-NamMinhNeural",name:"Nam Minh (vi-VN)",type:"tts"},{id:"zh-CN-XiaoxiaoNeural",name:"Xiaoxiao (zh-CN)",type:"tts"},{id:"zh-CN-YunxiNeural",name:"Yunxi (zh-CN)",type:"tts"},{id:"fr-FR-DeniseNeural",name:"Denise (fr-FR)",type:"tts"},{id:"de-DE-KatjaNeural",name:"Katja (de-DE)",type:"tts"},{id:"ja-JP-NanamiNeural",name:"Nanami (ja-JP)",type:"tts"},{id:"ko-KR-SunHiNeural",name:"SunHi (ko-KR)",type:"tts"}]},"local-device":{defaults:[{id:"default",name:"System Default Voice",type:"tts"}]},"google-tts":{defaults:[{id:"af",name:"Afrikaans",type:"tts"},{id:"ar",name:"Arabic",type:"tts"},{id:"bg",name:"Bulgarian",type:"tts"},{id:"bn",name:"Bengali",type:"tts"},{id:"bs",name:"Bosnian",type:"tts"},{id:"ca",name:"Catalan",type:"tts"},{id:"cs",name:"Czech",type:"tts"},{id:"cy",name:"Welsh",type:"tts"},{id:"da",name:"Danish",type:"tts"},{id:"de",name:"German",type:"tts"},{id:"el",name:"Greek",type:"tts"},{id:"en",name:"English",type:"tts"},{id:"eo",name:"Esperanto",type:"tts"},{id:"es",name:"Spanish",type:"tts"},{id:"et",name:"Estonian",type:"tts"},{id:"fi",name:"Finnish",type:"tts"},{id:"fr",name:"French",type:"tts"},{id:"gu",name:"Gujarati",type:"tts"},{id:"hi",name:"Hindi",type:"tts"},{id:"hr",name:"Croatian",type:"tts"},{id:"hu",name:"Hungarian",type:"tts"},{id:"hy",name:"Armenian",type:"tts"},{id:"id",name:"Indonesian",type:"tts"},{id:"is",name:"Icelandic",type:"tts"},{id:"it",name:"Italian",type:"tts"},{id:"ja",name:"Japanese",type:"tts"},{id:"jw",name:"Javanese",type:"tts"},{id:"km",name:"Khmer",type:"tts"},{id:"kn",name:"Kannada",type:"tts"},{id:"ko",name:"Korean",type:"tts"},{id:"la",name:"Latin",type:"tts"},{id:"lv",name:"Latvian",type:"tts"},{id:"mk",name:"Macedonian",type:"tts"},{id:"ml",name:"Malayalam",type:"tts"},{id:"mr",name:"Marathi",type:"tts"},{id:"my",name:"Myanmar (Burmese)",type:"tts"},{id:"ne",name:"Nepali",type:"tts"},{id:"nl",name:"Dutch",type:"tts"},{id:"no",name:"Norwegian",type:"tts"},{id:"pl",name:"Polish",type:"tts"},{id:"pt",name:"Portuguese",type:"tts"},{id:"ro",name:"Romanian",type:"tts"},{id:"ru",name:"Russian",type:"tts"},{id:"si",name:"Sinhala",type:"tts"},{id:"sk",name:"Slovak",type:"tts"},{id:"sq",name:"Albanian",type:"tts"},{id:"sr",name:"Serbian",type:"tts"},{id:"su",name:"Sundanese",type:"tts"},{id:"sv",name:"Swedish",type:"tts"},{id:"sw",name:"Swahili",type:"tts"},{id:"ta",name:"Tamil",type:"tts"},{id:"te",name:"Telugu",type:"tts"},{id:"th",name:"Thai",type:"tts"},{id:"tl",name:"Filipino",type:"tts"},{id:"tr",name:"Turkish",type:"tts"},{id:"uk",name:"Ukrainian",type:"tts"},{id:"ur",name:"Urdu",type:"tts"},{id:"vi",name:"Vietnamese",type:"tts"},{id:"zh-CN",name:"Chinese (Simplified)",type:"tts"},{id:"zh-TW",name:"Chinese (Traditional)",type:"tts"}]},gemini:{models:[{id:"gemini-3.1-flash-tts-preview",name:"Gemini 3.1 Flash TTS",type:"tts"},{id:"gemini-2.5-flash-preview-tts",name:"Gemini 2.5 Flash TTS",type:"tts"},{id:"gemini-2.5-pro-preview-tts",name:"Gemini 2.5 Pro TTS",type:"tts"}],voices:{"gemini-3.1-flash-tts-preview":l,"gemini-2.5-flash-preview-tts":l,"gemini-2.5-pro-preview-tts":l},allVoices:l},"xiaomi-mimo":{models:[{id:"mimo-v2.5-tts",name:"MiMo V2.5 TTS",type:"tts"}],voices:{"mimo-v2.5-tts":[{id:"mimo_default",name:"mimo_default"},{id:"冰糖",name:"冰糖"},{id:"茉莉",name:"茉莉"},{id:"苏打",name:"苏打"},{id:"白桦",name:"白桦"},{id:"Mia",name:"Mia"},{id:"Chloe",name:"Chloe"},{id:"Milo",name:"Milo"},{id:"Dean",name:"Dean"}].map(a=>({type:"tts",...a}))}}},n=["clientId","clientSecret","tokenUrl"],o=new Set(["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","systemoneConfig","modelsFetcher","mediaPriority","hiddenKinds"]),p={},q={},r={},s={};for(let a of d.default){a.transport&&(p[a.id]=function(a,b){let c={...a};if(c.format||(c.format=f.format),b)for(let a of n)void 0===c[a]&&void 0!==b[a]&&(c[a]=b[a]);return c}(a.transport,a.oauth),a.transports&&(p[a.id].transports=a.transports)),void 0!==a.models&&(q[a.alias||a.id]=a.models.map(g.pk)),a.oauth&&(r[a.id]=a.oauth);let b={};for(let c of o)void 0!==a[c]&&(b[c]=a[c]);a.media&&Object.assign(b,a.media),Object.keys(b).length&&(s[a.id]=b)}Object.assign(q,function(){let a={};for(let[b,c]of Object.entries(m))c.models&&(a[`${b}-tts-models`]=c.models),c.allVoices&&(a[`${b}-tts-voices`]=c.allVoices),c.defaults&&(a[b]=c.defaults);return a["openai-tts-voices"]=m.openai.allVoices,a["openrouter-tts-voices"]=m.openrouter.allVoices,a}())},99511:(a,b,c)=>{function d(a){return a.split(/[-_\s]+/).filter(Boolean).map(a=>/^\d/.test(a)?a:a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}c.d(b,{g5:()=>h,ec:()=>j,gr:()=>i,pk:()=>g,Kq:()=>f});let e=[[/^kimi-k(\d+(?:\.\d+)?)(-thinking)?$/i,a=>`Kimi K${a[1]}${a[2]?" Thinking":""}`],[/^glm-(\d+(?:\.\d+)?)(v)?$/i,a=>`GLM ${a[1]}${a[2]?"V (Vision)":""}`],[/^minimax-m(\d+(?:\.\d+)?)$/i,a=>`MiniMax M${a[1]}`],[/^gpt-(.+)$/i,a=>`GPT ${d(a[1])}`],[/^gemini-(.+)$/i,a=>`Gemini ${d(a[1])}`],[/^grok-(.+)$/i,a=>`Grok ${d(a[1])}`],[/^deepseek-(.+)$/i,a=>`DeepSeek ${d(a[1])}`],[/^qwen([\d.]+.*)$/i,a=>`Qwen ${d(a[1])}`]];function f(a){return"string"!=typeof a?a:a.replace(/(\d)-(\d)/g,"$1.$2")}function g(a){let b="string"==typeof a?{id:a}:a;return void 0!==b.name?b:{...b,name:function(a){if("string"!=typeof a)return a;for(let[b,c]of e){let d=a.match(b);if(d)return c(d)}return a}(b.id)}}function h(a){return a?.strip||[]}function i(a){return a?.targetFormat||null}function j(a){return a?.supportedFormats||null}}};
@@ -1,6 +1,6 @@
1
1
  "use strict";exports.id=614,exports.ids=[614],exports.modules={80614:(a,b,c)=>{c.d(b,{BS:()=>M,Rm:()=>H,nY:()=>ad});var d=c(31421),e=c(77598),f=c.n(e),g=c(73024),h=c.n(g),i=c(76760),j=c.n(i),k=c(46193),l=c(48161),m=c.n(l),n=c(49120),o=c(39609),p=c(72239),q=c(41004);let r=0,s=/^[A-Za-z0-9._:/@[\]()-]+$/,t="opencode/",u="opencode-cli://run",v=Math.min(184320,"win32"===process.platform?30720:"linux"===process.platform?122880:184320),w="opencode_cli_error",x="attachments",y={"image/png":"png","image/jpeg":"jpg","image/gif":"gif","image/webp":"webp","image/bmp":"bmp","image/svg+xml":"svg"};function z(a){let b=process.env[a];return null==b?"":String(b).trim().toLowerCase()}function A(a){return"win32"===process.platform&&!!a&&(!a.includes(j().sep)||/\.(cmd|bat)$/i.test(a))}function B(a){return`"${String(a).replace(/"/g,'""')}"`}function C(a,b){return A(a)?b.map(B):b}function D(){let a=function(){let a=z("CLI_OPENCODE_BIN");if(a)return[a];let b=m().homedir();if("win32"===process.platform){let a=process.env.LOCALAPPDATA||j().join(b,"AppData","Local"),c=process.env.APPDATA||j().join(b,"AppData","Roaming");return[j().join(b,".opencode","bin","opencode.exe"),j().join(a,"opencode","bin","opencode.exe"),j().join(c,"npm","opencode.cmd"),j().join(a,"npm","opencode.cmd"),j().join(b,".bun","bin","opencode.exe"),"opencode.cmd"]}return[j().join(b,".opencode","bin","opencode"),j().join(b,".local","bin","opencode"),j().join(b,".bun","bin","opencode"),"/opt/homebrew/bin/opencode","/usr/local/bin/opencode","/usr/bin/opencode","opencode"]}();for(let b of a)if(b.includes(j().sep))try{if(h().existsSync(b))return b}catch{}return a[a.length-1]}function E(a){return new Promise(b=>{let c,e=!1,f=a=>{e||(e=!0,b(a))};try{c=(0,d.spawn)(a,C(a,["--version"]),{stdio:["ignore","pipe","ignore"],shell:A(a)})}catch{f({ok:!1,major:null});return}let g="",h=setTimeout(()=>{try{c.kill("SIGKILL")}catch{}f({ok:!1,major:null})},q.SW.versionProbeMs);h.unref&&h.unref(),c.on("error",()=>{clearTimeout(h),f({ok:!1,major:null})}),c.stdout.on("data",a=>{g=(g+a.toString("utf8")).slice(0,200)}),c.on("close",a=>{let b;clearTimeout(h),f({ok:0===a,major:(b=String(g||"").match(/(\d+)\s*\./))?Number(b[1]):null})})})}let F=null,G=null;async function H({force:a=!1}={}){let b=z("OPENCODE_TRANSPORT");if("http"===b||"off"===b)return!1;if("cli"===b||"on"===b){let a=D(),b=F?.bin===a&&null!=F.major?F.major:(await E(a)).major;return F={bin:a,ok:!0,checkedAt:Date.now(),major:b},!0}return!a&&F&&Date.now()-F.checkedAt<q.SW.availabilityTtlMs?F.ok:!a&&G?G:G=(async()=>{try{let a=D(),{ok:b,major:c}=await E(a);return F={bin:a,ok:b,checkedAt:Date.now(),major:c},b}finally{G=null}})()}function I(){return{bin:F?.bin||D(),ok:F?.ok??null,major:F?.major??null}}let J=null,K=null,L=0;async function M({ttlMs:a=q.SW.availabilityTtlMs}={}){return J&&Date.now()-J.at<a?J.ids:Date.now()-L<6e4?null:K||(K=(async()=>{try{var a;let b=await (a=I().bin,new Promise(b=>{let c,e=!1,f=a=>{e||(e=!0,b(a))};try{c=(0,d.spawn)(a,C(a,["models"]),{stdio:["ignore","pipe","ignore"],shell:A(a)})}catch{f(null);return}let g="",h=setTimeout(()=>{try{c.kill("SIGKILL")}catch{}f(null)},q.SW.versionProbeMs);h.unref&&h.unref(),c.on("error",()=>{clearTimeout(h),f(null)}),c.stdout.on("data",a=>{g+=a.toString("utf8")}),c.on("close",a=>{if(clearTimeout(h),0!==a)return f(null);let b=new Set;for(let a of g.split("\n")){let c=a.replace(/\x1b\[[0-9;]*[A-Za-z]/g,"").trim();c.startsWith(t)&&b.add(c.slice(t.length))}f(b.size?b:null)})}));if(!b)return L=Date.now(),null;return J={ids:b,at:Date.now()},b}finally{K=null}})())}async function N(a,b,c,d,e){if(!a?.length)return[];let g=j().join(b,x);return h().mkdirSync(g,{recursive:!0}),[...new Set((await Promise.all(a.map(async a=>{if(e?.aborted)return null;try{let b,e=a.mime||"";if(a.base64)b=Buffer.from(a.base64,"base64");else{if(!a.url)return null;let f=await (0,o.proxyAwareFetch)(a.url,{signal:AbortSignal.timeout(15e3)},c);if(!f.ok)throw Error(`HTTP ${f.status}`);e=(f.headers.get("content-type")||"").split(";")[0]||e;let g=Number(f.headers.get("content-length")||0);if(g>8388608)return d?.warn?.("OPENCODE",`image attachment declares ${g}B > cap → skipped`),null;let h=f.body?.getReader();if(!h)return null;let i=[],j=0;for(;;){let{done:a,value:b}=await h.read();if(a)break;if((j+=b.length)>8388608)return await h.cancel().catch(()=>{}),d?.warn?.("OPENCODE","image attachment exceeds cap mid-stream → dropped"),null;i.push(Buffer.from(b))}b=Buffer.concat(i)}if(!b?.length)return null;if(b.length>8388608)return d?.warn?.("OPENCODE",`image attachment ${b.length}B exceeds cap → dropped`),null;let i=y[e]||"png",k=f().createHash("sha1").update(b).digest("hex").slice(0,16),l=j().join(g,`${k}-${f().randomUUID().slice(0,8)}.${i}`);return h().writeFileSync(l,b,{flag:"wx"}),l}catch(a){return d?.warn?.("OPENCODE",`image attachment failed: ${a.message}`),null}}))).filter(Boolean))]}function O(a){for(let b of a)try{h().unlinkSync(b)}catch{}}function P(a){let b=a.image_url??(a.source?a.source:null);if(!b)return null;if("string"==typeof b)return{url:b};if("object"!=typeof b)return null;if("base64"===b.type&&"string"==typeof b.data)return{base64:b.data,mime:b.media_type||"image/png"};let c=b.url||b.data;if("string"!=typeof c)return null;if(c.startsWith("data:")){let a=c.match(/^data:([^;,]+);base64,(.*)$/s);return a?{base64:a[2],mime:a[1]}:null}return/^https?:\/\//i.test(c)?{url:c}:null}function Q(a,b,c){if("string"==typeof a)return a;if(!Array.isArray(a))return"";let d=[];for(let e of a)if(e){if("string"==typeof e){d.push(e);continue}switch(e.type){case"text":case"input_text":case"output_text":d.push(String(e.text||""));break;case"tool_use":d.push(`[assistant called tool ${e.name||"?"} with ${JSON.stringify(e.input??{})}]`);break;case"tool_result":d.push(`[tool result: ${"string"==typeof e.content?e.content:JSON.stringify(e.content??"")}]`);break;case"image":case"image_url":case"input_image":{let a=P(e);a&&b.length<32?(b.push({...a,turn:c}),d.push(`[image #${b.length}]`)):d.push("[image omitted]");break}default:if("string"==typeof e.text)d.push(e.text);else if(e.inlineData){let a=P({source:{type:"base64",media_type:e.inlineData.mimeType,data:e.inlineData.data}});a&&b.length<32?(b.push({...a,turn:c}),d.push(`[image #${b.length}]`)):d.push("[image omitted]")}}}return d.filter(Boolean).join("\n")}function R(a,b){if(null==a)return"";let c=Array.isArray(a)?a:Array.isArray(a?.parts)?a.parts:a;return Q(c,b,0)||("string"==typeof c?c:"")}function S(a){return a.map(a=>`${a.role}: ${a.text}`).join("\n\n")}function T(a,b){if(!a||b<=0)return"";if(Buffer.byteLength(a)<=b)return a;let c=a.split("\n"),d=0,e=c.length;for(;e>0;){let a=Buffer.byteLength(c[e-1])+ +(e!==c.length);if(d+a>b)break;d+=a,e--}return e<c.length?c.slice(e).join("\n"):U(a,b)}function U(a,b){let c=Buffer.from(a,"utf8");if(c.length<=b)return a;let d=c.length-b;for(;d<c.length&&(192&c[d])==128;)d++;return c.subarray(d).toString("utf8")}let V=new Map,W=new Map,X=setInterval(()=>{let a=Date.now();for(let[b,c]of V)a-c.lastUsed>q.v1.sessionTtlMs&&V.delete(b)},q.v1.sessionCleanupIntervalMs);function Y(a){return f().createHash("sha256").update(JSON.stringify(a.map(a=>[a.role,a.text]))).digest("hex").slice(0,24)}function Z(a,b){return`
2
2
 
3
- Note: only the last ${a} of ${b} images are attached; earlier [image #N] references have no image data.`}X.unref&&X.unref();let $=/session not found/i,_=/^ses_[0-9A-Za-z_-]{1,128}$/;function aa(a){let b=String(a||""),c=b.match(/^(.*?)\(([^()]+)\)\s*$/);return{base:(c?c[1]:b).trim(),variant:c?c[2].trim():""}}let ab=new Set(["big-pickle","longcat-2.5-preview-free","nemotron-3-ultra-free","nemotron-3.5-lightning-free"]);function ac({message:a,code:b,status:c}={}){let d={error:{message:String(a||"OpenCode CLI error").slice(0,600),type:w,...b?{code:String(b)}:{},...Number.isInteger(c)?{status:c}:{}}};return`data: ${JSON.stringify(d)}
3
+ Note: only the last ${a} of ${b} images are attached; earlier [image #N] references have no image data.`}X.unref&&X.unref();let $=/session not found/i,_=/^ses_[0-9A-Za-z_-]{1,128}$/;function aa(a){let b=String(a||""),c=b.match(/^(.*?)\(([^()]+)\)\s*$/);return{base:(c?c[1]:b).trim(),variant:c?c[2].trim():""}}let ab=new Set(["big-pickle","longcat-2.5-preview-free","nemotron-3-ultra-free","nemotron-3.5-lightning-free","mimo-v2.6-flash-free"]);function ac({message:a,code:b,status:c}={}){let d={error:{message:String(a||"OpenCode CLI error").slice(0,600),type:w,...b?{code:String(b)}:{},...Number.isInteger(c)?{status:c}:{}}};return`data: ${JSON.stringify(d)}
4
4
 
5
5
  `}function ad({model:a,body:b,credentials:c,providerSessionId:e,signal:g,log:i,proxyOptions:l}){var m,w;let y,z,B,D,E=function(){let a=j().join(n.n,"opencode-cli"),b=Date.now();if(r&&b-r<6e4)return a;h().mkdirSync(a,{recursive:!0}),function(a){let b;try{b=h().readdirSync(a,{withFileTypes:!0})}catch{return}let c=Date.now()-216e5;for(let d of b){if(!d.isFile())continue;let b=j().join(a,d.name);try{h().statSync(b).mtimeMs<c&&h().unlinkSync(b)}catch{}}}(j().join(a,x));let c=j().join(a,"opencode.json"),d=JSON.stringify({$schema:"https://opencode.ai/config.json",model:"opencode/nemotron-3.5-lightning-free",permission:"deny"},null,2),e=null;try{e=h().readFileSync(c,"utf8")}catch{}return e!==d&&function(a,b){let c=`${a}.${process.pid}.${f().randomBytes(4).toString("hex")}.tmp`;try{h().writeFileSync(c,b),h().renameSync(c,a)}catch(a){try{h().unlinkSync(c)}catch{}throw a}}(c,d),r=b,a}(),G=I(),H=G.bin,J=A(H);if(!s.test(String(a||"")))return ae(`OpenCode CLI: unsupported model id "${String(a||"").slice(0,60)}"`,400,"invalid_model");let{system:K,turns:L,images:M}=function(a){let b=a||{},c=Array.isArray(b.messages)?b.messages:Array.isArray(b.input)?b.input:Array.isArray(b.contents)?b.contents:"string"==typeof b.input?[{role:"user",content:b.input}]:[],d=[],e=[],f=[],g=(a,b)=>{let c=String(b||"").trim();c&&e.push({role:a,text:c})};for(let a of[b.system,b.instructions,b.systemInstruction]){let b=R(a,f);b&&d.push(b)}let h=new Map;for(let a of c){var i;if(!a||"object"!=typeof a||"reasoning"===a.type||"item_reference"===a.type)continue;let b=e.length;if("system"===a.role){let b=R(a.content,f);b&&d.push(b);continue}if("function_call"===a.type){g("assistant",`[assistant called tool ${a.name||"?"} with ${"string"==typeof a.arguments?a.arguments:JSON.stringify(a.arguments??{})}]`);continue}if("function_call_output"===a.type){g("tool",`[tool result: ${"string"==typeof a.output?a.output:JSON.stringify(a.output??"")}]`);continue}for(let b of Array.isArray(a.tool_calls)?a.tool_calls:[])b?.id&&h.set(b.id,b?.function?.name||b?.name||"?");if(Array.isArray(a.content))for(let b of a.content)b?.type==="tool_use"&&b.id&&h.set(b.id,b.name||"?");let c=a.content??a.parts??a.text;if("tool"===a.role){g("tool",`[tool result ${h.get(a.tool_call_id)||a.name||"?"}: ${Q(c,f,b)||JSON.stringify(c??"")}]`);continue}let j=Q(c,f,b),k=Array.isArray(i=a.tool_calls)?i.filter(a=>a&&"object"==typeof a).map(a=>{let b=a.function?.arguments??a.arguments??{};return`[assistant called tool ${a.function?.name||a.name||"?"} with ${"string"==typeof b?b:JSON.stringify(b)}]`}).join("\n"):"";g("assistant"===a.role||"model"===a.role?"assistant":"user",k?j?`${j}
6
6
  ${k}`:k:j)}return{system:d.filter(Boolean).join("\n\n"),turns:e,images:f}}(b);if(!L.length)return ae("OpenCode CLI: request contained no text to send");let P=(y=c?.connectionId||c?.id||"default",z=L?.length?(w=L[0],f().createHash("sha256").update(`${w.role}\0${w.text}`).digest("hex").slice(0,16)):"anon",`${y}:${e||"anon"}:${z}`);return m=async()=>{let c=function({key:a,system:b,turns:c,images:d=[]}){let e=V.get(a),g=f().createHash("sha256").update(b||"").digest("hex").slice(0,16);if(e?.sid&&c.length>e.reflected&&g===e.systemHash){let b=e.reflected-1;if(c[b]?.role==="assistant"&&Y(c.slice(0,b))===e.prefixHash){let b=c.slice(e.reflected),f=d.filter(a=>a.turn>=e.reflected),h=f.slice(-8),i=h.length<f.length?Z(h.length,f.length):"",j=T(S(b),v-Buffer.byteLength(i))+i;if(j.trim())return V.delete(a),e.lastUsed=Date.now(),V.set(a,e),{sid:e.sid,prompt:j,systemHash:g,replayed:b.length,images:h}}}let h=d.slice(-8),i=h.length<d.length?Z(h.length,d.length):"";return{sid:null,prompt:function(a,b,c){let d="Instructions for your reply:",e="Conversation so far:",f="Reply to this as the assistant, without describing what you would do:",g=b[b.length-1]?.text||"...",h=b.length>1?S(b.slice(0,-1)):"",i=Math.max(1,c-Buffer.byteLength(d+e+f)-8),j=U(g,i);i-=Buffer.byteLength(j);let k="";if(a){let b=U(a,i);k=`${d}
@@ -1 +1 @@
1
- "use strict";exports.id=615,exports.ids=[615],exports.modules={40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>s,js:()=>w,DI:()=>n,fg:()=>k,Pd:()=>o,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>m,jO:()=>A,wb:()=>z,br:()=>l,wG:()=>v,zt:()=>t,gb:()=>q,gC:()=>r,mq:()=>p,HQ:()=>y,rs:()=>u});var d=c(94230);let e="⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.default.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","credentialFallback","systemoneConfig","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.default.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.noAuth?{noAuth:!0}:{},...a.passthroughModels?{passthroughModels:!0}:{},...a.hasOAuth?{hasOAuth:!0}:{},...a.authModes?{authModes:a.authModes}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{},...a.apiKeyOptionalWith?{apiKeyOptionalWith:a.apiKeyOptionalWith}:{},...a.credentialForm?{credentialForm:a.credentialForm}:{}}}(a)])),h=g("free"),i=g("freeTier"),j=g("oauth"),k=g("apikey"),l=g("webCookie"),m="openai-compatible-",n="anthropic-compatible-",o="custom-embedding-";function p(a){return"string"==typeof a&&a.startsWith(m)}function q(a){return"string"==typeof a&&a.startsWith(n)}function r(a){return"string"==typeof a&&a.startsWith(o)}let s={...h,...i,...j,...k,...l};function t(a){for(let b of Object.values(s))if(b.alias===a||b.id===a)return b;return null}function u(a){let b=t(a);return b?.id||a}function v(a){let b=s[a];return b?.alias||a}let w=Object.values(s).reduce((a,b)=>(a[b.alias]=b.id,a),{});Object.values(s).reduce((a,b)=>(a[b.id]=b.alias,a),{});let x=new Set;for(let a of d.default)for(let b of[a.id,a.alias,a.uiAlias,...a.aliases||[]])b&&x.add(b);function y(a){return x.has(a)}let z=d.default.filter(a=>a.features?.usage).map(a=>a.id),A=d.default.filter(a=>a.features?.usageApikey).map(a=>a.id)}};
1
+ "use strict";exports.id=615,exports.ids=[615],exports.modules={40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>s,js:()=>w,DI:()=>n,fg:()=>k,Pd:()=>o,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>m,jO:()=>A,wb:()=>z,br:()=>l,wG:()=>v,zt:()=>t,gb:()=>q,gC:()=>r,mq:()=>p,HQ:()=>y,rs:()=>u});var d=c(39318);let e="⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.default.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","credentialFallback","systemoneConfig","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.default.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.noAuth?{noAuth:!0}:{},...a.passthroughModels?{passthroughModels:!0}:{},...a.hasOAuth?{hasOAuth:!0}:{},...a.authModes?{authModes:a.authModes}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{},...a.apiKeyOptionalWith?{apiKeyOptionalWith:a.apiKeyOptionalWith}:{},...a.credentialForm?{credentialForm:a.credentialForm}:{}}}(a)])),h=g("free"),i=g("freeTier"),j=g("oauth"),k=g("apikey"),l=g("webCookie"),m="openai-compatible-",n="anthropic-compatible-",o="custom-embedding-";function p(a){return"string"==typeof a&&a.startsWith(m)}function q(a){return"string"==typeof a&&a.startsWith(n)}function r(a){return"string"==typeof a&&a.startsWith(o)}let s={...h,...i,...j,...k,...l};function t(a){for(let b of Object.values(s))if(b.alias===a||b.id===a)return b;return null}function u(a){let b=t(a);return b?.id||a}function v(a){let b=s[a];return b?.alias||a}let w=Object.values(s).reduce((a,b)=>(a[b.alias]=b.id,a),{});Object.values(s).reduce((a,b)=>(a[b.id]=b.alias,a),{});let x=new Set;for(let a of d.default)for(let b of[a.id,a.alias,a.uiAlias,...a.aliases||[]])b&&x.add(b);function y(a){return x.has(a)}let z=d.default.filter(a=>a.features?.usage).map(a=>a.id),A=d.default.filter(a=>a.features?.usageApikey).map(a=>a.id)}};
@@ -1,7 +1,7 @@
1
1
  "use strict";exports.id=6171,exports.ids=[6171],exports.modules={30320:(a,b,c)=>{c.d(b,{Hr:()=>j,nu:()=>h,u9:()=>k,yx:()=>g});var d=c(14170),e=c(9024);let f=new Set(["response.completed","response.done","response.failed","error"]);function g(a,b){return a||(b&&"string"==typeof b.type?b.type:null)}function h(a,b){let c=g(a,b);if(f.has(c))return!0;let d=b?.response?.status;return"completed"===d||"failed"===d}let i=new TextEncoder;function j(){return i.encode(`${k()}data: [DONE]
2
2
 
3
- `)}function k(){return(0,e.v8)({event:"response.failed",data:{type:"response.failed",response:{id:`resp_${Date.now()}`,status:"failed",error:{type:"stream_error",code:"stream_disconnected",message:"stream closed before response.completed"}}}},d.h.OPENAI_RESPONSES)}},47370:(a,b,c)=>{c.d(b,{BY:()=>d.BY,SL:()=>d.SL,Zx:()=>d.Zx,_V:()=>d._V,j$:()=>d.j$,ox:()=>d.ox,rg:()=>d.rg,sZ:()=>d.sZ,uw:()=>d.uw});var d=c(83192)},71857:(a,b,c)=>{c.d(b,{i5:()=>o,l2:()=>p,lm:()=>g.lm,v8:()=>h.v8});var d=c(88499),e=c(14170),f=c(47370),g=c(73483),h=c(9024),i=c(30320),j=c(92306);c(78959);let k=new TextEncoder,l="translate",m="passthrough";function n(a={}){let{mode:b=l,targetFormat:c,sourceFormat:o,provider:p=null,reqLogger:q=null,toolNameMap:r=null,customToolNames:s=null,model:t=null,connectionId:u=null,body:v=null,onStreamComplete:w=null,apiKey:x=null,credentials:y=null,abortSignal:z=null}=a,A="",B=null,C=null,D=a=>{if(C||!a||"object"!=typeof a)return;let b=a.error||a.response?.error;if(!b)return;let c="string"==typeof b?b:String(b.message||b.type||b.error?.message||b.code||""),d=Number("object"==typeof b?b.status??b.code:null)||null;(c||d)&&(C={message:(c||"Upstream stream error").slice(0,300),status:d})},E=new TextDecoder("utf-8",{fatal:!1}),F=b===l?{...(0,d.Ws)(o),provider:p,toolNameMap:r,customToolNames:new Set(s||[]),model:t,sessionId:y?._clientSessionId||null,targetFormat:c}:null,G=0,H="",I="",J=null,K=0,L=0,M={},N=null,O=!1,P=!1,Q=!1,R=!1,S=null,T=null,U=(a=!1)=>{if(S&&(clearTimeout(S),S=null),z&&T&&(z.removeEventListener("abort",T),T=null),R)return;R=!0;let d=b===m,f=d?B:F?.usage;!(0,g.Gh)(f)&&G>0&&(f=(0,g.OF)(v,G,d?e.h.OPENAI:o),d?B=f:F.usage=f),(0,g.Gh)(f)&&(0,g.IF)(d?p:F?.provider||c,f,t,u,x),w&&w({content:H,thinking:I},f,J,{aborted:a,streamError:C})};z&&(z.aborted?U(!0):(T=()=>U(!0),z.addEventListener("abort",T,{once:!0})));let V=a=>{for(let b of(0,d.Y8)(c,o,null,F)||[]){if(null==b)continue;let c=(0,h.v8)(b,o);q?.appendConvertedChunk?.(c),a.enqueue(k.encode(c)),L++}U()};return new TransformStream({transform(a,f){J||(J=Date.now());let n=E.decode(a,{stream:!0});A+=n,q?.appendProviderChunk?.(n);let p=A.split("\n");for(let a of(A=p.pop()||"",p)){let n=a.trim();if(j.T&&n&&(K++,n.startsWith("event:"))){let a=n.slice(6).trim();M[a]=(M[a]||0)+1}if(b===l&&c===e.h.OPENAI_RESPONSES&&n.startsWith("event:")&&(N=n.slice(6).trim()),b===m){let b,c=!1,d=!1,j=n.startsWith("data:")&&"[DONE]"===n.slice(5).trim();if(j&&(Q=!0),n.startsWith("data:")&&!j)try{let a=JSON.parse(n.slice(5).trim());D(a);let f=(0,h.A4)(a),j=!1;if(void 0!==a.choices&&(a.object||(a.object="chat.completion.chunk",j=!0),a.created||(a.created=Math.floor(Date.now()/1e3),j=!0)),void 0!==a.prompt_filter_results&&(delete a.prompt_filter_results,j=!0),a?.choices)for(let b of a.choices)void 0!==b.content_filter_results&&(delete b.content_filter_results,j=!0);if(a?.choices)for(let b of a.choices)b.delta?.tool_calls&&Array.isArray(b.delta.tool_calls)&&0===b.delta.tool_calls.length&&(delete b.delta.tool_calls,j=!0);if(!(0,h.c2)(a,e.h.OPENAI))continue;let k=a.choices?.[0]?.delta,l=k?.content,m=k?.reasoning_content;l&&"string"==typeof l&&(G+=l.length,H+=l),m&&"string"==typeof m&&(G+=m.length,I+=m);let o=(0,g.f5)(a);o&&(B=(0,g._L)(B,o)),d=(0,i.nu)(N,a);let p=a.choices?.[0]?.finish_reason;if(p&&!(0,g.Gh)(a.usage))if((0,g.Gh)(B))a.usage=(0,g.WL)((0,g.O9)(B),e.h.OPENAI),b=`data: ${JSON.stringify(a)}
4
- `,c=!0;else{let d=(0,g.OF)(v,G,e.h.OPENAI);a.usage=(0,g.WL)((0,g.O9)(d),e.h.OPENAI),b=`data: ${JSON.stringify(a)}
5
- `,B=d,c=!0}else if(p&&B){let d=(0,g.O9)(B);a.usage=(0,g.WL)(d,e.h.OPENAI),b=`data: ${JSON.stringify(a)}
6
- `,c=!0}else(f||j)&&(b=`data: ${JSON.stringify(a)}
7
- `,c=!0)}catch{continue}c||(b=a.startsWith("data:")&&!a.startsWith("data: ")?"data: "+a.slice(5)+"\n":a+"\n"),q?.appendConvertedChunk?.(b),f.enqueue(k.encode(b)),d&&U();continue}if(!n)continue;let p=(0,h.tV)(n,c);if(!p)continue;D(p);let r=c===e.h.OPENAI_RESPONSES,s=r&&o===e.h.OPENAI_RESPONSES,t=r?(0,i.yx)(N,p):null;if(r&&(0,i.nu)(t,p)&&(O=!0),p&&p.done&&c!==e.h.OLLAMA){if(c===e.h.OPENAI&&o===e.h.OPENAI_RESPONSES&&F.completionPending&&!F.completedSent&&V(f),s&&!O){let a=(0,i.u9)();q?.appendConvertedChunk?.(a),f.enqueue(k.encode(a)),O=!0,L++}if(s&&!Q){let a="data: [DONE]\n\n";q?.appendConvertedChunk?.(a),f.enqueue(k.encode(a))}Q=!0,s&&(P=!0);continue}if(p.delta?.text&&(G+=p.delta.text.length,H+=p.delta.text),p.delta?.thinking&&(G+=p.delta.thinking.length,I+=p.delta.thinking),p.choices?.[0]?.delta?.content&&(G+=p.choices[0].delta.content.length,H+=p.choices[0].delta.content),p.choices?.[0]?.delta?.reasoning_content&&(G+=p.choices[0].delta.reasoning_content.length,I+=p.choices[0].delta.reasoning_content),p.candidates?.[0]?.content?.parts)for(let a of p.candidates[0].content.parts)a.text&&"string"==typeof a.text&&(G+=a.text.length,!0===a.thought?I+=a.text:H+=a.text);let u=(0,g.f5)(p);if(u&&(F.usage=(0,g._L)(F.usage,u)),s&&t){let a=(0,h.v8)({event:t,data:p},o);q?.appendConvertedChunk?.(a),f.enqueue(k.encode(a)),N=null,L++,O&&U();continue}N=null;let w=(0,d.Y8)(c,o,p,F);if(q?.sessionPath&&w?._openaiIntermediate)for(let a of w._openaiIntermediate){let b=(0,h.v8)(a,e.h.OPENAI);q?.appendOpenAIChunk?.(b)}if(w?.length>0)for(let a of w){if(null==a||!(0,h.c2)(a,o))continue;let b="message_delta"===a.type||a.choices?.[0]?.finish_reason;if(F.finishReason&&b&&!(0,g.Gh)(a.usage)&&G>0){let b=(0,g.OF)(v,G,o);a.usage=(0,g.WL)((0,g.O9)(b),o),F.usage=b}else if(F.finishReason&&b&&F.usage){let b=(0,g.O9)(F.usage);a.usage=(0,g.WL)(b,o)}let c=(0,h.v8)(a,o);q?.appendConvertedChunk?.(c),f.enqueue(k.encode(c)),L++}c===e.h.OPENAI&&o===e.h.OPENAI_RESPONSES&&F?.completionPending&&!F?.completedSent&&!S&&(S=setTimeout(()=>{if(S=null,!F?.completedSent)try{V(f)}catch{}},3e3))}},flush(a){let l=Object.entries(M).map(([a,b])=>`${a}=${b}`).join(",")||"none";(0,j.s)("SSE",`flush | provider=${p} | model=${t} | recvLines=${K} | emitted=${L} | events=[${l}]`),(0,f.uw)(t,p,u,!1,!!C);try{let f=E.decode();if(f&&(A+=f),b===m){if(A){if(A.startsWith("data:"))try{D(JSON.parse(A.slice(5).trim()))}catch{}let b=A;A.startsWith("data:")&&!A.startsWith("data: ")&&(b="data: "+A.slice(5)),q?.appendConvertedChunk?.(b),a.enqueue(k.encode(b))}let b="antigravity"===p||"gemini"===p||"vertex"===p;if(!Q&&!b){let b="data: [DONE]\n\n";q?.appendConvertedChunk?.(b),a.enqueue(k.encode(b))}U();return}if(A.trim()){let b=(0,h.tV)(A.trim(),c),f=b?.done&&c!==e.h.OLLAMA;if(b&&!f){D(b);let f=(0,g.f5)(b);f&&(F.usage=(0,g._L)(F.usage,f));let i=(0,d.Y8)(c,o,b,F);if(i?._openaiIntermediate)for(let a of i._openaiIntermediate){let b=(0,h.v8)(a,e.h.OPENAI);q?.appendOpenAIChunk?.(b)}if(i?.length>0)for(let b of i){if(null==b)continue;let c=(0,h.v8)(b,o);q?.appendConvertedChunk?.(c),a.enqueue(k.encode(c))}}}let j=(0,d.Y8)(c,o,null,F);if(j?._openaiIntermediate)for(let a of j._openaiIntermediate){let b=(0,h.v8)(a,e.h.OPENAI);q?.appendOpenAIChunk?.(b)}if(j?.length>0)for(let b of j){if(null==b)continue;let c=(0,h.v8)(b,o);q?.appendConvertedChunk?.(c),a.enqueue(k.encode(c))}let l=c===e.h.OPENAI_RESPONSES&&o===e.h.OPENAI_RESPONSES;if(l&&!O){let b=(0,i.u9)();q?.appendConvertedChunk?.(b),a.enqueue(k.encode(b)),O=!0}if(l&&!P&&!Q){let b="data: [DONE]\n\n";q?.appendConvertedChunk?.(b),a.enqueue(k.encode(b)),P=!0,Q=!0}U()}catch(a){console.log("Error in flush:",a),U()}}})}function o(a,b,c=null,d=null,e=null,f=null,g=null,h=null,i=null,j=null,k=null,m=null,p=null){return n({mode:l,targetFormat:a,sourceFormat:b,provider:c,reqLogger:d,toolNameMap:e,customToolNames:k,model:f,connectionId:g,body:h,onStreamComplete:i,apiKey:j,credentials:m,abortSignal:p})}function p(a=null,b=null,c=null,d=null,e=null,f=null,g=null,h=null){return n({mode:m,provider:a,reqLogger:b,model:c,connectionId:d,body:e,onStreamComplete:f,apiKey:g,abortSignal:h})}},86171:(a,b,c)=>{c.d(b,{$R:()=>k,Fo:()=>i,MK:()=>j,U$:()=>l,V4:()=>n,qr:()=>m});var d=c(47370),e=c(71857),f=c(73483),g=c(41004);let h=["temperature","top_p","top_k","max_tokens","max_completion_tokens","thinking","reasoning","enable_thinking","presence_penalty","frequency_penalty","seed","stop","tools","tool_choice","response_format","prediction","store","metadata","n","logprobs","top_logprobs","logit_bias","user","parallel_tool_calls"];function i(a,b){let c={messages:a.messages||[],model:a.model,stream:b};for(let b of h)void 0!==a[b]&&(c[b]=a[b]);return c}function j(a){if(!a||"object"!=typeof a)return null;if(a.usage?.input_tokens!==void 0)return{prompt_tokens:a.usage.input_tokens||0,completion_tokens:a.usage.output_tokens||0,cached_tokens:a.usage.cached_tokens??a.usage.input_tokens_details?.cached_tokens,cache_read_input_tokens:a.usage.cache_read_input_tokens,cache_creation_input_tokens:a.usage.cache_creation_input_tokens};if(a.usage?.prompt_tokens!==void 0)return{prompt_tokens:a.usage.prompt_tokens||0,completion_tokens:a.usage.completion_tokens||0,cached_tokens:a.usage.cached_tokens??a.usage.prompt_tokens_details?.cached_tokens,reasoning_tokens:a.usage.completion_tokens_details?.reasoning_tokens};let b=a.usageMetadata||a.response?.usageMetadata;if(b)return{prompt_tokens:b.promptTokenCount||0,completion_tokens:b.candidatesTokenCount||0,cached_tokens:b.cachedContentTokenCount||0,reasoning_tokens:b.thoughtsTokenCount||0};if(!0===a.done&&(void 0!==a.prompt_eval_count||void 0!==a.eval_count)){let b=a.prompt_eval_count||0,c=a.eval_count||0;return{prompt_tokens:b,completion_tokens:c,total_tokens:b+c,cached_tokens:a.prompt_eval_cached_count||0}}return null}function k(a,b={}){return{provider:a.provider||"unknown",model:a.model||"unknown",connectionId:a.connectionId||void 0,timestamp:new Date().toISOString(),latency:a.latency||{ttft:0,total:0},tokens:a.tokens||{prompt_tokens:0,completion_tokens:0},request:a.request,providerRequest:a.providerRequest||null,providerResponse:a.providerResponse||null,response:a.response||{},pxpipe:a.pxpipe||void 0,status:a.status||"success",...b}}function l({usage:a,latency:b}){let c=a||{},d=c.prompt_tokens??c.input_tokens??0,e=c.completion_tokens??c.output_tokens??0,f=c.cache_read_input_tokens??c.cached_tokens??c.prompt_tokens_details?.cached_tokens??0,g=c.cache_creation_input_tokens??0,h=`IN ${d}`;if(f||g){let a=[];f&&a.push(`↻${f}`),g&&a.push(`+${g}`),h+=` (CACHE ${a.join(" ")})`}let i=b?.ttft?` \xb7 TTFT ${b.ttft}ms`:"",j="";if(Number.isFinite(b?.prep)){let a=[b.media?`m${b.media}`:"",b.translate?`t${b.translate}`:"",b.savers?`s${b.savers}`:""].filter(Boolean).join("/");j=` \xb7 PREP ${b.prep}ms${a?`(${a})`:""}`}return`DONE ${b?.total??0}ms${i}${j} \xb7 ${h} \xb7 OUT ${e}`}function m({provider:a,model:b,tokens:c,connectionId:g,apiKey:h,endpoint:i,label:j="USAGE",silent:k=!1,status:l}){let n=!!c&&"object"==typeof c,o=n?c.input_tokens??c.prompt_tokens??0:0,p=n?c.output_tokens??c.completion_tokens??0:0;if(!l&&0===o&&0===p)return;if(!k){let b=new Date().toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"}),c=g?` | account=${g.slice(0,8)}...`:"";console.log(`${e.lm.green}[${b}] 📊 [${j}] ${a.toUpperCase()} | in=${o} | out=${p}${c}${e.lm.reset}`)}let q=(0,f._6)(c)||{prompt_tokens:o,completion_tokens:p};(0,d.sZ)({provider:a||"unknown",model:b||"unknown",tokens:q,timestamp:new Date().toISOString(),connectionId:g||void 0,apiKey:h||void 0,endpoint:i||null,status:l||void 0}).catch(()=>{})}function n({provider:a,model:b,connectionId:c,apiKey:d,endpoint:e,status:f}){Number(f)!==g.gx.CLIENT_CLOSED_REQUEST&&m({provider:a,model:b,tokens:null,connectionId:c,apiKey:d,endpoint:e,silent:!0,status:`FAILED ${f||g.gx.BAD_GATEWAY}`})}}};
3
+ `)}function k(){return(0,e.v8)({event:"response.failed",data:{type:"response.failed",response:{id:`resp_${Date.now()}`,status:"failed",error:{type:"stream_error",code:"stream_disconnected",message:"stream closed before response.completed"}}}},d.h.OPENAI_RESPONSES)}},47370:(a,b,c)=>{c.d(b,{BY:()=>d.BY,SL:()=>d.SL,Zx:()=>d.Zx,_V:()=>d._V,j$:()=>d.j$,ox:()=>d.ox,rg:()=>d.rg,sZ:()=>d.sZ,uw:()=>d.uw});var d=c(83192)},71857:(a,b,c)=>{c.d(b,{i5:()=>r,l2:()=>s,lm:()=>i.lm,v8:()=>j.v8});var d=c(88499),e=c(14170),f=c(12643),g=c(44090),h=c(47370),i=c(73483),j=c(9024),k=c(60210),l=c(30320),m=c(92306);c(78959);let n=new TextEncoder,o="translate",p="passthrough";function q(a={}){let{mode:b=o,targetFormat:c,sourceFormat:r,provider:s=null,reqLogger:t=null,toolNameMap:u=null,customToolNames:v=null,model:w=null,connectionId:x=null,body:y=null,onStreamComplete:z=null,apiKey:A=null,credentials:B=null,abortSignal:C=null}=a,D="",E=null,F=null,G=a=>{if(F||!a||"object"!=typeof a)return;let b=a.error||a.response?.error;if(!b)return;let c="string"==typeof b?b:String(b.message||b.type||b.error?.message||b.code||""),d=Number("object"==typeof b?b.status??b.code:null)||null;(c||d)&&(F={message:(c||"Upstream stream error").slice(0,300),status:d})},H=new Map,I=new TextDecoder("utf-8",{fatal:!1}),J=b===o?{...(0,d.Ws)(r),provider:s,toolNameMap:u,customToolNames:new Set(v||[]),model:w,sessionId:B?._clientSessionId||null,targetFormat:c}:null,K=0,L="",M="",N=null,O=0,P=0,Q={},R=null,S=!1,T=!1,U=!1,V=!1,W=null,X=b===p&&!!f.xq[s]?.quirks?.reasoningAliasFields,Y=null,Z=(a=!1)=>{if(W&&(clearTimeout(W),W=null),C&&Y&&(C.removeEventListener("abort",Y),Y=null),V)return;V=!0;let d=b===p,f=d?E:J?.usage;!(0,i.Gh)(f)&&K>0&&(f=(0,i.OF)(y,K,d?e.h.OPENAI:r),d?E=f:J.usage=f),(0,i.Gh)(f)&&(0,i.IF)(d?s:J?.provider||c,f,w,x,A),z&&z({content:L,thinking:M},f,N,{aborted:a,streamError:F})};C&&(C.aborted?Z(!0):(Y=()=>Z(!0),C.addEventListener("abort",Y,{once:!0})));let $=a=>{for(let b of(0,d.Y8)(c,r,null,J)||[]){if(null==b)continue;let c=(0,j.v8)(b,r);t?.appendConvertedChunk?.(c),a.enqueue(n.encode(c)),P++}Z()};return new TransformStream({transform(a,f){N||(N=Date.now());let h=I.decode(a,{stream:!0});D+=h,t?.appendProviderChunk?.(h);let q=D.split("\n");for(let a of(D=q.pop()||"",q)){let h=a.trim();if(m.T&&h&&(O++,h.startsWith("event:"))){let a=h.slice(6).trim();Q[a]=(Q[a]||0)+1}if(b===o&&c===e.h.OPENAI_RESPONSES&&h.startsWith("event:")&&(R=h.slice(6).trim()),b===p){let b,c=!1,d=!1,m=h.startsWith("data:")&&"[DONE]"===h.slice(5).trim();if(m&&(U=!0),h.startsWith("data:")&&!m)try{let a=JSON.parse(h.slice(5).trim());G(a);let f=(0,j.A4)(a),m=(0,j.RW)(a,H),n=!1;if(u?.size){let b=(0,k.HR)(a,u);b!==a&&(a=b,n=!0)}let o=!1;if(void 0!==a.choices&&(a.object||(a.object="chat.completion.chunk",o=!0),a.created||(a.created=Math.floor(Date.now()/1e3),o=!0)),void 0!==a.prompt_filter_results&&(delete a.prompt_filter_results,o=!0),a?.choices)for(let b of a.choices)void 0!==b.content_filter_results&&(delete b.content_filter_results,o=!0);if(X&&a?.choices){for(let b of a.choices)if(b?.delta){let a=(0,g.Wy)(b.delta);a!==b.delta&&(b.delta=a,o=!0)}}if(a?.choices)for(let b of a.choices)b.delta?.tool_calls&&Array.isArray(b.delta.tool_calls)&&0===b.delta.tool_calls.length&&(delete b.delta.tool_calls,o=!0);if(!(0,j.c2)(a,e.h.OPENAI))continue;let p=a.choices?.[0]?.delta,q=p?.content,r=p?.reasoning_content;q&&"string"==typeof q&&(K+=q.length,L+=q),r&&"string"==typeof r&&(K+=r.length,M+=r);let s=(0,i.f5)(a);s&&(E=(0,i._L)(E,s)),d=(0,l.nu)(R,a);let t=a.choices?.[0]?.finish_reason;if(t&&!(0,i.Gh)(a.usage))if((0,i.Gh)(E))a.usage=(0,i.WL)((0,i.O9)(E),e.h.OPENAI),b=`data: ${JSON.stringify(a)}
4
+ `,c=!0;else{let d=(0,i.OF)(y,K,e.h.OPENAI);a.usage=(0,i.WL)((0,i.O9)(d),e.h.OPENAI),b=`data: ${JSON.stringify(a)}
5
+ `,E=d,c=!0}else if(t&&E){let d=(0,i.O9)(E);a.usage=(0,i.WL)(d,e.h.OPENAI),b=`data: ${JSON.stringify(a)}
6
+ `,c=!0}else(f||o||m||n)&&(b=`data: ${JSON.stringify(a)}
7
+ `,c=!0)}catch{continue}c||(b=a.startsWith("data:")&&!a.startsWith("data: ")?"data: "+a.slice(5)+"\n":a+"\n"),t?.appendConvertedChunk?.(b),f.enqueue(n.encode(b)),d&&Z();continue}if(!h)continue;let q=(0,j.tV)(h,c);if(!q)continue;G(q);let s=c===e.h.OPENAI_RESPONSES,v=s&&r===e.h.OPENAI_RESPONSES,w=s?(0,l.yx)(R,q):null;if(s&&(0,l.nu)(w,q)&&(S=!0),q&&q.done&&c!==e.h.OLLAMA){if(c===e.h.OPENAI&&r===e.h.OPENAI_RESPONSES&&J.completionPending&&!J.completedSent&&$(f),v&&!S){let a=(0,l.u9)();t?.appendConvertedChunk?.(a),f.enqueue(n.encode(a)),S=!0,P++}if(v&&!U){let a="data: [DONE]\n\n";t?.appendConvertedChunk?.(a),f.enqueue(n.encode(a))}U=!0,v&&(T=!0);continue}if(q.delta?.text&&(K+=q.delta.text.length,L+=q.delta.text),q.delta?.thinking&&(K+=q.delta.thinking.length,M+=q.delta.thinking),q.choices?.[0]?.delta?.content&&(K+=q.choices[0].delta.content.length,L+=q.choices[0].delta.content),q.choices?.[0]?.delta?.reasoning_content&&(K+=q.choices[0].delta.reasoning_content.length,M+=q.choices[0].delta.reasoning_content),q.candidates?.[0]?.content?.parts)for(let a of q.candidates[0].content.parts)a.text&&"string"==typeof a.text&&(K+=a.text.length,!0===a.thought?M+=a.text:L+=a.text);let x=(0,i.f5)(q);if(x&&(J.usage=(0,i._L)(J.usage,x)),v&&w){let a=(0,j.v8)({event:w,data:q},r);t?.appendConvertedChunk?.(a),f.enqueue(n.encode(a)),R=null,P++,S&&Z();continue}R=null;let z=(0,d.Y8)(c,r,q,J);if(t?.sessionPath&&z?._openaiIntermediate)for(let a of z._openaiIntermediate){let b=(0,j.v8)(a,e.h.OPENAI);t?.appendOpenAIChunk?.(b)}if(z?.length>0)for(let a of z){if(null==a||!(0,j.c2)(a,r))continue;let b="message_delta"===a.type||a.choices?.[0]?.finish_reason;if(J.finishReason&&b&&!(0,i.Gh)(a.usage)&&K>0){let b=(0,i.OF)(y,K,r);a.usage=(0,i.WL)((0,i.O9)(b),r),J.usage=b}else if(J.finishReason&&b&&J.usage){let b=(0,i.O9)(J.usage);a.usage=(0,i.WL)(b,r)}let c=(0,j.v8)(a,r);t?.appendConvertedChunk?.(c),f.enqueue(n.encode(c)),P++}c===e.h.OPENAI&&r===e.h.OPENAI_RESPONSES&&J?.completionPending&&!J?.completedSent&&!W&&(W=setTimeout(()=>{if(W=null,!J?.completedSent)try{$(f)}catch{}},3e3))}},flush(a){let f=Object.entries(Q).map(([a,b])=>`${a}=${b}`).join(",")||"none";(0,m.s)("SSE",`flush | provider=${s} | model=${w} | recvLines=${O} | emitted=${P} | events=[${f}]`),(0,h.uw)(w,s,x,!1,!!F);try{let f=I.decode();if(f&&(D+=f),b===p){if(D){if(D.startsWith("data:"))try{G(JSON.parse(D.slice(5).trim()))}catch{}let b=D;D.startsWith("data:")&&!D.startsWith("data: ")&&(b="data: "+D.slice(5)),t?.appendConvertedChunk?.(b),a.enqueue(n.encode(b))}let b="antigravity"===s||"gemini"===s||"vertex"===s;if(!U&&!b){let b="data: [DONE]\n\n";t?.appendConvertedChunk?.(b),a.enqueue(n.encode(b))}Z();return}if(D.trim()){let b=(0,j.tV)(D.trim(),c),f=b?.done&&c!==e.h.OLLAMA;if(b&&!f){G(b);let f=(0,i.f5)(b);f&&(J.usage=(0,i._L)(J.usage,f));let g=(0,d.Y8)(c,r,b,J);if(g?._openaiIntermediate)for(let a of g._openaiIntermediate){let b=(0,j.v8)(a,e.h.OPENAI);t?.appendOpenAIChunk?.(b)}if(g?.length>0)for(let b of g){if(null==b)continue;let c=(0,j.v8)(b,r);t?.appendConvertedChunk?.(c),a.enqueue(n.encode(c))}}}let g=(0,d.Y8)(c,r,null,J);if(g?._openaiIntermediate)for(let a of g._openaiIntermediate){let b=(0,j.v8)(a,e.h.OPENAI);t?.appendOpenAIChunk?.(b)}if(g?.length>0)for(let b of g){if(null==b)continue;let c=(0,j.v8)(b,r);t?.appendConvertedChunk?.(c),a.enqueue(n.encode(c))}let h=c===e.h.OPENAI_RESPONSES&&r===e.h.OPENAI_RESPONSES;if(h&&!S){let b=(0,l.u9)();t?.appendConvertedChunk?.(b),a.enqueue(n.encode(b)),S=!0}if(h&&!T&&!U){let b="data: [DONE]\n\n";t?.appendConvertedChunk?.(b),a.enqueue(n.encode(b)),T=!0,U=!0}Z()}catch(a){console.log("Error in flush:",a),Z()}}})}function r(a,b,c=null,d=null,e=null,f=null,g=null,h=null,i=null,j=null,k=null,l=null,m=null){return q({mode:o,targetFormat:a,sourceFormat:b,provider:c,reqLogger:d,toolNameMap:e,customToolNames:k,model:f,connectionId:g,body:h,onStreamComplete:i,apiKey:j,credentials:l,abortSignal:m})}function s(a=null,b=null,c=null,d=null,e=null,f=null,g=null,h=null,i=null){return q({mode:p,provider:a,reqLogger:b,toolNameMap:h,model:c,connectionId:d,body:e,onStreamComplete:f,apiKey:g,abortSignal:i})}},86171:(a,b,c)=>{c.d(b,{$R:()=>k,Fo:()=>i,MK:()=>j,U$:()=>l,V4:()=>n,qr:()=>m});var d=c(47370),e=c(71857),f=c(73483),g=c(41004);let h=["temperature","top_p","top_k","max_tokens","max_completion_tokens","thinking","reasoning","enable_thinking","presence_penalty","frequency_penalty","seed","stop","tools","tool_choice","response_format","prediction","store","metadata","n","logprobs","top_logprobs","logit_bias","user","parallel_tool_calls"];function i(a,b){let c={messages:a.messages||[],model:a.model,stream:b};for(let b of h)void 0!==a[b]&&(c[b]=a[b]);return c}function j(a){if(!a||"object"!=typeof a)return null;if(a.usage?.input_tokens!==void 0)return{prompt_tokens:a.usage.input_tokens||0,completion_tokens:a.usage.output_tokens||0,cached_tokens:a.usage.cached_tokens??a.usage.input_tokens_details?.cached_tokens,cache_read_input_tokens:a.usage.cache_read_input_tokens,cache_creation_input_tokens:a.usage.cache_creation_input_tokens};if(a.usage?.prompt_tokens!==void 0)return{prompt_tokens:a.usage.prompt_tokens||0,completion_tokens:a.usage.completion_tokens||0,cached_tokens:a.usage.cached_tokens??a.usage.prompt_tokens_details?.cached_tokens,reasoning_tokens:a.usage.completion_tokens_details?.reasoning_tokens};let b=a.usageMetadata||a.response?.usageMetadata;if(b)return{prompt_tokens:b.promptTokenCount||0,completion_tokens:b.candidatesTokenCount||0,cached_tokens:b.cachedContentTokenCount||0,reasoning_tokens:b.thoughtsTokenCount||0};if(!0===a.done&&(void 0!==a.prompt_eval_count||void 0!==a.eval_count)){let b=a.prompt_eval_count||0,c=a.eval_count||0;return{prompt_tokens:b,completion_tokens:c,total_tokens:b+c,cached_tokens:a.prompt_eval_cached_count||0}}return null}function k(a,b={}){return{provider:a.provider||"unknown",model:a.model||"unknown",connectionId:a.connectionId||void 0,timestamp:new Date().toISOString(),latency:a.latency||{ttft:0,total:0},tokens:a.tokens||{prompt_tokens:0,completion_tokens:0},request:a.request,providerRequest:a.providerRequest||null,providerResponse:a.providerResponse||null,response:a.response||{},pxpipe:a.pxpipe||void 0,status:a.status||"success",...b}}function l({usage:a,latency:b}){let c=a||{},d=c.prompt_tokens??c.input_tokens??0,e=c.completion_tokens??c.output_tokens??0,f=c.cache_read_input_tokens??c.cached_tokens??c.prompt_tokens_details?.cached_tokens??0,g=c.cache_creation_input_tokens??0,h=`IN ${d}`;if(f||g){let a=[];f&&a.push(`↻${f}`),g&&a.push(`+${g}`),h+=` (CACHE ${a.join(" ")})`}let i=b?.ttft?` \xb7 TTFT ${b.ttft}ms`:"",j="";if(Number.isFinite(b?.prep)){let a=[b.media?`m${b.media}`:"",b.translate?`t${b.translate}`:"",b.savers?`s${b.savers}`:""].filter(Boolean).join("/");j=` \xb7 PREP ${b.prep}ms${a?`(${a})`:""}`}return`DONE ${b?.total??0}ms${i}${j} \xb7 ${h} \xb7 OUT ${e}`}function m({provider:a,model:b,tokens:c,connectionId:g,apiKey:h,endpoint:i,label:j="USAGE",silent:k=!1,status:l}){let n=!!c&&"object"==typeof c,o=n?c.input_tokens??c.prompt_tokens??0:0,p=n?c.output_tokens??c.completion_tokens??0:0;if(!l&&0===o&&0===p)return;if(!k){let b=new Date().toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"}),c=g?` | account=${g.slice(0,8)}...`:"";console.log(`${e.lm.green}[${b}] 📊 [${j}] ${a.toUpperCase()} | in=${o} | out=${p}${c}${e.lm.reset}`)}let q=(0,f._6)(c)||{prompt_tokens:o,completion_tokens:p};(0,d.sZ)({provider:a||"unknown",model:b||"unknown",tokens:q,timestamp:new Date().toISOString(),connectionId:g||void 0,apiKey:h||void 0,endpoint:i||null,status:l||void 0}).catch(()=>{})}function n({provider:a,model:b,connectionId:c,apiKey:d,endpoint:e,status:f}){Number(f)!==g.gx.CLIENT_CLOSED_REQUEST&&m({provider:a,model:b,tokens:null,connectionId:c,apiKey:d,endpoint:e,silent:!0,status:`FAILED ${f||g.gx.BAD_GATEWAY}`})}}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=6638,exports.ids=[615,6638],exports.modules={40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>s,js:()=>w,DI:()=>n,fg:()=>k,Pd:()=>o,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>m,jO:()=>A,wb:()=>z,br:()=>l,wG:()=>v,zt:()=>t,gb:()=>q,gC:()=>r,mq:()=>p,HQ:()=>y,rs:()=>u});var d=c(39318);let e="⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.default.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","credentialFallback","systemoneConfig","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.default.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.noAuth?{noAuth:!0}:{},...a.passthroughModels?{passthroughModels:!0}:{},...a.hasOAuth?{hasOAuth:!0}:{},...a.authModes?{authModes:a.authModes}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{},...a.apiKeyOptionalWith?{apiKeyOptionalWith:a.apiKeyOptionalWith}:{},...a.credentialForm?{credentialForm:a.credentialForm}:{}}}(a)])),h=g("free"),i=g("freeTier"),j=g("oauth"),k=g("apikey"),l=g("webCookie"),m="openai-compatible-",n="anthropic-compatible-",o="custom-embedding-";function p(a){return"string"==typeof a&&a.startsWith(m)}function q(a){return"string"==typeof a&&a.startsWith(n)}function r(a){return"string"==typeof a&&a.startsWith(o)}let s={...h,...i,...j,...k,...l};function t(a){for(let b of Object.values(s))if(b.alias===a||b.id===a)return b;return null}function u(a){let b=t(a);return b?.id||a}function v(a){let b=s[a];return b?.alias||a}let w=Object.values(s).reduce((a,b)=>(a[b.alias]=b.id,a),{});Object.values(s).reduce((a,b)=>(a[b.id]=b.alias,a),{});let x=new Set;for(let a of d.default)for(let b of[a.id,a.alias,a.uiAlias,...a.aliases||[]])b&&x.add(b);function y(a){return x.has(a)}let z=d.default.filter(a=>a.features?.usage).map(a=>a.id),A=d.default.filter(a=>a.features?.usageApikey).map(a=>a.id)},50980:(a,b,c)=>{c.d(b,{TZ:()=>r,b7:()=>q});var d=c(44708),e=c.n(d),f=c(10079),g=c(82543),h=c(22115);let i="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36",j=(a="")=>({ok:!0,status:"valid",email:a}),k=a=>({ok:!1,status:"invalid",error:a}),l=a=>({ok:!1,status:"unknown",error:a});function m(a){let b=new Map;for(let c of String(a||"").split(";")){let a=c.indexOf("=");a<=0||b.set(c.slice(0,a).trim(),c.slice(a+1).trim())}return b}function n(a){try{let b=String(a||"").replace(/^base64-/,"").split(".")[1];if(!b)return null;return JSON.parse(Buffer.from(b+"=".repeat((4-b.length%4)%4),"base64").toString("utf8"))}catch{return null}}async function o(a,{method:b="GET",headers:c={},body:d}={}){try{let e=await fetch(a,{method:b,headers:{"User-Agent":i,...c},body:d,signal:AbortSignal.timeout(15e3)}),f=await e.text().catch(()=>"");return{status:e.status,ok:e.ok,text:f}}catch(a){return{status:0,ok:!1,error:a?.message||String(a)}}}let p={async "deepseek-web"(a){let b=String(a||"").trim();try{let a=JSON.parse(b);"string"==typeof a?.value&&(b=a.value)}catch{}if(!b)return k("Missing userToken");let c=await o("https://chat.deepseek.com/api/v0/users/current",{headers:{Authorization:`Bearer ${b}`,Accept:"*/*",Origin:"https://chat.deepseek.com",Referer:"https://chat.deepseek.com/","X-Client-Bundle-Id":"com.deepseek.chat","X-Client-Platform":"web","X-Client-Version":"2.0.0"}});if(!c.status)return l(c.error);if(401===c.status||403===c.status)return k("userToken is invalid or expired");if(!c.ok)return l(`DeepSeek returned HTTP ${c.status}`);let d=null;try{d=JSON.parse(c.text)}catch{return l("DeepSeek returned invalid JSON")}if(40003===Number(d?.code))return k("userToken is invalid or expired");let e=d?.data?.biz_data;return e?.token?j(e.email||""):k("DeepSeek rejected the userToken")},async "chatgpt-web"(a){let b=(0,f.p1)(a,"__Secure-next-auth.session-token");if(!b)return k("Missing session cookie");let c=await o("https://chatgpt.com/api/auth/session",{headers:{Cookie:b,Accept:"application/json"}});if(!c.status)return l(c.error);if(401===c.status||403===c.status)return k("Session cookie is invalid or expired");if(!c.ok)return l(`ChatGPT returned HTTP ${c.status}`);let d=null;try{d=JSON.parse(c.text)}catch{return l("ChatGPT returned invalid JSON")}let e=d?.user?.email;return e?j(e):k("ChatGPT session is not signed in")},async "grok-web"(a){if(![(0,f.$J)(a,"sso")?`sso=${(0,f.$J)(a,"sso")}`:""].filter(Boolean).join("; "))return k("Missing sso cookie");let b={Cookie:a,"User-Agent":h.CO,Accept:"application/json",Origin:"https://grok.com",Referer:"https://grok.com/"},c=null;try{let a=await (0,h.X7)("https://grok.com/api/auth/session",{method:"GET",headers:b,timeoutMs:15e3});c={status:a.status,ok:a.ok,text:await a.text().catch(()=>"")}}catch{c=await o("https://grok.com/api/auth/session",{headers:b})}if(!c.status)return l(c.error);if(401===c.status||403===c.status)return k("sso cookie is invalid or expired");if(!c.ok)return l(`Grok returned HTTP ${c.status}`);let d=null;try{d=JSON.parse(c.text)}catch{return l("Grok returned invalid JSON")}return d?.status!=="authenticated"?k("Grok session is not signed in"):j(d?.session?.email||"")},async "gemini-web"(a){var b;let c=(0,g.m)(String(a||""));if(!c)return k("Missing __Secure-1PSID cookie");let d=await (b={Cookie:c,Accept:"text/html,application/xhtml+xml"},new Promise(a=>{let c=e().request({host:"gemini.google.com",path:"/app",method:"GET",maxHeaderSize:2097152,headers:{"User-Agent":i,...b}},b=>{let c="";b.setEncoding("utf8"),b.on("data",a=>{c.length<2097152&&(c+=a)}),b.on("end",()=>a({status:b.statusCode,ok:200===b.statusCode,text:c}))});c.on("error",b=>a({status:0,ok:!1,error:b.message})),c.setTimeout(15e3,()=>c.destroy(Error("timeout"))),c.end()}));return d.status?401===d.status||403===d.status?k("__Secure-1PSID cookie is invalid or expired"):d.ok?/"SNlM0e"\s*:\s*"[^"]+"/.test(d.text)?j(""):k("Gemini session is not signed in"):l(`Gemini returned HTTP ${d.status}`):l(d.error)},async "muse-web"(a){if(!m(a).get("hatch_sess"))return k("Missing hatch_sess cookie");let b=await o("https://muse.ai/api/session",{headers:{Cookie:a,Accept:"application/json",Origin:"https://muse.ai",Referer:"https://muse.ai/thread/new"}});return b.status?401===b.status||403===b.status?k("muse.ai session cookie is invalid or expired"):b.ok?j(""):l(`muse.ai returned HTTP ${b.status}`):l(b.error)},async "uc-web"(a){let b=m(a).get("__client");if(!b)return k("Missing __client cookie");let c="https://uncensored.com",d=n(b)?.sid;if("string"!=typeof d||!d){let a=await o("https://clerk.uncensored.com/v1/client?_clerk_js_version=5.127.1",{headers:{Cookie:`__client=${b}`,Accept:"application/json",Origin:c,Referer:`${c}/`}});if(!a.status)return l(a.error);if(401===a.status||403===a.status)return k("Clerk session is invalid or expired");if(!a.ok)return l(`Clerk returned HTTP ${a.status}`);let e=null;try{e=JSON.parse(a.text)}catch{return l("Clerk returned invalid JSON")}let f=e?.response??e?.client??e,g=Array.isArray(f?.sessions)?f.sessions:[],h=g.find(a=>a?.status==="active")??g[0];if(!(d="string"==typeof h?.id?h.id:""))return k("Not signed in to uncensored.com — use Login via Browser")}let e=await o(`https://clerk.uncensored.com/v1/client/sessions/${encodeURIComponent(d)}/tokens?_clerk_js_version=5.127.1`,{method:"POST",headers:{Cookie:`__client=${b}`,"Content-Type":"application/x-www-form-urlencoded",Origin:c},body:""});if(!e.status)return l(e.error);if(401===e.status||403===e.status)return k("Clerk session is invalid or expired");if(!e.ok)return l(`Clerk returned HTTP ${e.status}`);let f=null;try{f=JSON.parse(e.text)}catch{return l("Clerk returned invalid JSON")}if("string"!=typeof f?.jwt||!f.jwt)return k("Clerk did not mint a session token");let g=n(f.jwt)?.uid,h="string"==typeof g?g:"";return j(h.includes("@")?h:"")}};function q(a){return Object.hasOwn(p,a)}async function r(a,b){let c=p[a];if(!c)return l("No identity probe for this provider");try{let a=await c(b);return{email:"",...a}}catch(a){return l(a?.message||String(a))}}}};
@@ -1 +1 @@
1
- "use strict";exports.id=6708,exports.ids=[6708],exports.modules={46708:(a,b,c)=>{c.r(b),c.d(b,{default:()=>s});var d=c(48249),e=c(67484),f=c(49885),g=c.n(f),h=c(48679),i=c(33503),j=c(5277),k=c(22393),l=c(54206),m=c(48121),n=c(3807),o=c(93237),p=c(17660);let q=["#6366f1","#14b8a6","#f59e0b","#ef4444","#8b5cf6"],r=a=>a>=1e6?`${(a/1e6).toFixed(1)}M`:a>=1e3?`${(a/1e3).toFixed(1)}K`:String(a||0);function s({byModel:a}){let[b,c]=(0,e.useState)("tokens"),f=(0,e.useMemo)(()=>a?Object.values(a).map(a=>({name:((a,b=22)=>a&&a.length>b?a.slice(0,b)+"…":a||"")(a.rawModel||"Unknown"),tokens:(a.promptTokens||0)+(a.completionTokens||0),requests:a.requests||0})).filter(a=>a[b]>0).sort((a,c)=>c[b]-a[b]).slice(0,5):[],[a,b]),g="tokens"===b?r:String,t="tokens"===b?"Tokens":"Requests";return(0,d.jsxs)(p.default,{className:"flex min-w-0 flex-col gap-3 p-3 sm:p-4",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsx)("span",{className:"text-sm font-semibold text-text-muted uppercase tracking-wide",children:"Top Models"}),(0,d.jsxs)("div",{className:"grid grid-cols-2 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1",children:[(0,d.jsx)("button",{onClick:()=>c("tokens"),className:`px-2.5 py-0.5 rounded-md text-xs font-medium transition-colors ${"tokens"===b?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Tokens"}),(0,d.jsx)("button",{onClick:()=>c("requests"),className:`px-2.5 py-0.5 rounded-md text-xs font-medium transition-colors ${"requests"===b?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Requests"})]})]}),f.length?(0,d.jsx)(h.u,{width:"100%",height:180,children:(0,d.jsxs)(i.E,{data:f,layout:"vertical",margin:{top:4,right:40,left:4,bottom:4},children:[(0,d.jsx)(j.d,{strokeDasharray:"3 3",strokeOpacity:.1,horizontal:!1}),(0,d.jsx)(k.W,{type:"number",tick:{fontSize:10,fill:"currentColor",fillOpacity:.5},tickLine:!1,axisLine:!1,tickFormatter:g}),(0,d.jsx)(l.h,{type:"category",dataKey:"name",tick:{fontSize:10,fill:"currentColor",fillOpacity:.7},tickLine:!1,axisLine:!1,width:90}),(0,d.jsx)(m.m,{contentStyle:{backgroundColor:"var(--color-bg)",border:"1px solid var(--color-border)",borderRadius:"8px",fontSize:"12px"},formatter:a=>[g(a),t]}),(0,d.jsx)(n.yP,{dataKey:b,radius:[0,4,4,0],children:f.map((a,b)=>(0,d.jsx)(o.f,{fill:q[b%q.length],fillOpacity:.85},b))})]})}):(0,d.jsx)("div",{className:"h-44 flex items-center justify-center text-text-muted text-sm",children:"No model usage yet"})]})}s.propTypes={byModel:g().object}}};
1
+ "use strict";exports.id=6708,exports.ids=[6708],exports.modules={46708:(a,b,c)=>{c.r(b),c.d(b,{default:()=>s});var d=c(48249),e=c(67484),f=c(49885),g=c.n(f),h=c(48679),i=c(33503),j=c(5277),k=c(22393),l=c(54206),m=c(59084),n=c(3807),o=c(93237),p=c(17660);let q=["#6366f1","#14b8a6","#f59e0b","#ef4444","#8b5cf6"],r=a=>a>=1e6?`${(a/1e6).toFixed(1)}M`:a>=1e3?`${(a/1e3).toFixed(1)}K`:String(a||0);function s({byModel:a}){let[b,c]=(0,e.useState)("tokens"),f=(0,e.useMemo)(()=>a?Object.values(a).map(a=>({name:((a,b=22)=>a&&a.length>b?a.slice(0,b)+"…":a||"")(a.rawModel||"Unknown"),tokens:(a.promptTokens||0)+(a.completionTokens||0),requests:a.requests||0})).filter(a=>a[b]>0).sort((a,c)=>c[b]-a[b]).slice(0,5):[],[a,b]),g="tokens"===b?r:String,t="tokens"===b?"Tokens":"Requests";return(0,d.jsxs)(p.default,{className:"flex min-w-0 flex-col gap-3 p-3 sm:p-4",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsx)("span",{className:"text-sm font-semibold text-text-muted uppercase tracking-wide",children:"Top Models"}),(0,d.jsxs)("div",{className:"grid grid-cols-2 items-center gap-1 rounded-lg border border-border bg-bg-subtle p-1",children:[(0,d.jsx)("button",{onClick:()=>c("tokens"),className:`px-2.5 py-0.5 rounded-md text-xs font-medium transition-colors ${"tokens"===b?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Tokens"}),(0,d.jsx)("button",{onClick:()=>c("requests"),className:`px-2.5 py-0.5 rounded-md text-xs font-medium transition-colors ${"requests"===b?"bg-primary text-white shadow-sm":"text-text-muted hover:text-text hover:bg-bg-hover"}`,children:"Requests"})]})]}),f.length?(0,d.jsx)(h.u,{width:"100%",height:180,children:(0,d.jsxs)(i.E,{data:f,layout:"vertical",margin:{top:4,right:40,left:4,bottom:4},children:[(0,d.jsx)(j.d,{strokeDasharray:"3 3",strokeOpacity:.1,horizontal:!1}),(0,d.jsx)(k.W,{type:"number",tick:{fontSize:10,fill:"currentColor",fillOpacity:.5},tickLine:!1,axisLine:!1,tickFormatter:g}),(0,d.jsx)(l.h,{type:"category",dataKey:"name",tick:{fontSize:10,fill:"currentColor",fillOpacity:.7},tickLine:!1,axisLine:!1,width:90}),(0,d.jsx)(m.m,{contentStyle:{backgroundColor:"var(--color-bg)",border:"1px solid var(--color-border)",borderRadius:"8px",fontSize:"12px"},formatter:a=>[g(a),t]}),(0,d.jsx)(n.yP,{dataKey:b,radius:[0,4,4,0],children:f.map((a,b)=>(0,d.jsx)(o.f,{fill:q[b%q.length],fillOpacity:.85},b))})]})}):(0,d.jsx)("div",{className:"h-44 flex items-center justify-center text-text-muted text-sm",children:"No model usage yet"})]})}s.propTypes={byModel:g().object}}};
@@ -0,0 +1 @@
1
+ exports.id=6780,exports.ids=[6780],exports.modules={962:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/McpMarketplaceModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/McpMarketplaceModal.js","default")},3080:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/OAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/OAuthModal.js","default")},4996:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/CapacityBadges.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/CapacityBadges.js","default")},5843:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/NoAuthProxyCard.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/NoAuthProxyCard.js","default")},7290:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Card.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Card.js","default")},14285:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/KiroOAuthWrapper.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/KiroOAuthWrapper.js","default")},18060:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/XiaomiMimoAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/XiaomiMimoAuthModal.js","default")},18200:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/AddCustomEmbeddingModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/AddCustomEmbeddingModal.js","default")},18421:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Tooltip.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Tooltip.js","default")},19083:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/RequestLogger.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/RequestLogger.js","default")},20493:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/ComboFormModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/ComboFormModal.js","default")},26866:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Sidebar.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Sidebar.js","default")},29354:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/HeaderMenu.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/HeaderMenu.js","default")},29674:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/NineRemoteButton.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/NineRemoteButton.js","default")},30508:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(5735);c(45512),c(71230),c(83784),c(7290),c(32460),c(92082),c(70061),c(33893),c(70092),c(40515),c(89886),c(26866),c(92669),c(49123),c(3080),c(94582),c(70603),c(20493),c(962),c(45205),c(29674),c(29354),c(33811),c(19083),c(82448),c(14285),c(87228),c(40167),c(56966),c(18060),c(80342),c(64148),c(70139),c(18200),c(5843),c(54065),c(18421),c(81923),c(4996),c(80748);var e=c(61780);function f({children:a}){return(0,d.jsx)(e.default,{children:a})}c(64420)},32460:(a,b,c)=>{"use strict";c.d(b,{ConfirmModal:()=>f,default:()=>e});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Modal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Modal.js","default"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call ConfirmModal() from the server but ConfirmModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Modal.js","ConfirmModal")},33811:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/ChangelogModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/ChangelogModal.js","default")},33893:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Badge.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Badge.js","default")},38189:(a,b,c)=>{Promise.resolve().then(c.bind(c,67738)),Promise.resolve().then(c.bind(c,25919)),Promise.resolve().then(c.bind(c,75171)),Promise.resolve().then(c.bind(c,99070)),Promise.resolve().then(c.bind(c,38930)),Promise.resolve().then(c.bind(c,17660)),Promise.resolve().then(c.bind(c,41185)),Promise.resolve().then(c.bind(c,62727)),Promise.resolve().then(c.bind(c,51109)),Promise.resolve().then(c.bind(c,51585)),Promise.resolve().then(c.bind(c,48781)),Promise.resolve().then(c.bind(c,43182)),Promise.resolve().then(c.bind(c,47036)),Promise.resolve().then(c.bind(c,3236)),Promise.resolve().then(c.bind(c,79488)),Promise.resolve().then(c.bind(c,83552)),Promise.resolve().then(c.bind(c,8590)),Promise.resolve().then(c.bind(c,5291)),Promise.resolve().then(c.bind(c,56110)),Promise.resolve().then(c.bind(c,267)),Promise.resolve().then(c.bind(c,53838)),Promise.resolve().then(c.bind(c,85306)),Promise.resolve().then(c.bind(c,74812)),Promise.resolve().then(c.bind(c,39645)),Promise.resolve().then(c.bind(c,20084)),Promise.resolve().then(c.bind(c,95145)),Promise.resolve().then(c.bind(c,4249)),Promise.resolve().then(c.bind(c,29370)),Promise.resolve().then(c.bind(c,50585)),Promise.resolve().then(c.bind(c,79346)),Promise.resolve().then(c.bind(c,11633)),Promise.resolve().then(c.bind(c,91809)),Promise.resolve().then(c.bind(c,91099)),Promise.resolve().then(c.bind(c,4770)),Promise.resolve().then(c.bind(c,42196)),Promise.resolve().then(c.bind(c,83146)),Promise.resolve().then(c.bind(c,19308)),Promise.resolve().then(c.bind(c,53845)),Promise.resolve().then(c.bind(c,95514)),Promise.resolve().then(c.bind(c,32971)),Promise.resolve().then(c.bind(c,24622)),Promise.resolve().then(c.bind(c,24656))},40167:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/CursorAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/CursorAuthModal.js","default")},40515:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/ThemeToggle.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/ThemeToggle.js","default")},45205:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/LanguageSwitcher.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/LanguageSwitcher.js","default")},45512:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Button.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Button.js","default")},49123:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Footer.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Footer.js","default")},54065:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/SegmentedControl.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/SegmentedControl.js","default")},56749:(a,b,c)=>{Promise.resolve().then(c.bind(c,18200)),Promise.resolve().then(c.bind(c,70061)),Promise.resolve().then(c.bind(c,33893)),Promise.resolve().then(c.bind(c,45512)),Promise.resolve().then(c.bind(c,4996)),Promise.resolve().then(c.bind(c,7290)),Promise.resolve().then(c.bind(c,33811)),Promise.resolve().then(c.bind(c,20493)),Promise.resolve().then(c.bind(c,40167)),Promise.resolve().then(c.bind(c,70139)),Promise.resolve().then(c.bind(c,49123)),Promise.resolve().then(c.bind(c,64148)),Promise.resolve().then(c.bind(c,92669)),Promise.resolve().then(c.bind(c,29354)),Promise.resolve().then(c.bind(c,80342)),Promise.resolve().then(c.bind(c,71230)),Promise.resolve().then(c.bind(c,82448)),Promise.resolve().then(c.bind(c,14285)),Promise.resolve().then(c.bind(c,87228)),Promise.resolve().then(c.bind(c,45205)),Promise.resolve().then(c.bind(c,64420)),Promise.resolve().then(c.bind(c,61780)),Promise.resolve().then(c.bind(c,92082)),Promise.resolve().then(c.bind(c,70603)),Promise.resolve().then(c.bind(c,962)),Promise.resolve().then(c.bind(c,32460)),Promise.resolve().then(c.bind(c,94582)),Promise.resolve().then(c.bind(c,29674)),Promise.resolve().then(c.bind(c,5843)),Promise.resolve().then(c.bind(c,3080)),Promise.resolve().then(c.bind(c,81923)),Promise.resolve().then(c.bind(c,19083)),Promise.resolve().then(c.bind(c,54065)),Promise.resolve().then(c.bind(c,83784)),Promise.resolve().then(c.bind(c,26866)),Promise.resolve().then(c.bind(c,80748)),Promise.resolve().then(c.bind(c,89886)),Promise.resolve().then(c.bind(c,40515)),Promise.resolve().then(c.bind(c,70092)),Promise.resolve().then(c.bind(c,18421)),Promise.resolve().then(c.bind(c,18060)),Promise.resolve().then(c.bind(c,56966))},56966:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/ZedAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/ZedAuthModal.js","default")},61780:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/layouts/DashboardLayout.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/layouts/DashboardLayout.js","default")},64148:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/GitLabAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/GitLabAuthModal.js","default")},64420:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/layouts/AuthLayout.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/layouts/AuthLayout.js","default")},70061:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Avatar.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Avatar.js","default")},70092:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Toggle.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Toggle.js","default")},70139:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/EditConnectionModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/EditConnectionModal.js","default")},70603:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/ManualConfigModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/ManualConfigModal.js","default")},71230:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Input.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Input.js","default")},80342:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/IFlowCookieModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/IFlowCookieModal.js","default")},80748:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/SmartPolicyModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/SmartPolicyModal.js","default")},81923:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/ProviderInfoCard.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/ProviderInfoCard.js","default")},82448:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/KiroAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/KiroAuthModal.js","default")},83784:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Select.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Select.js","default")},87228:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/KiroSocialOAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/KiroSocialOAuthModal.js","default")},92082:(a,b,c)=>{"use strict";c.d(b,{CardSkeleton:()=>h,PageLoading:()=>f,Skeleton:()=>g,Spinner:()=>e,default:()=>i});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Spinner() from the server but Spinner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Loading.js","Spinner"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call PageLoading() from the server but PageLoading is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Loading.js","PageLoading"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call Skeleton() from the server but Skeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Loading.js","Skeleton"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call CardSkeleton() from the server but CardSkeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Loading.js","CardSkeleton"),i=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Loading.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Loading.js","default")},92669:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/Header.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/Header.js","default")},94582:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/9router/9router/src/shared/components/ModelSelectModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/9router/9router/src/shared/components/ModelSelectModal.js","default")}};