vansrouter 0.8.7 → 0.8.9

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 (905) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +8 -5
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/prerender-manifest.json +3 -3
  5. package/app/.next-cli-build/routes-manifest.json +22 -0
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
  73. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  76. package/app/.next-cli-build/server/app/_global-error.rsc +2 -2
  77. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +2 -2
  78. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +2 -2
  83. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  84. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  85. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  86. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  87. package/app/.next-cli-build/server/app/_not-found.rsc +5 -5
  88. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +5 -5
  89. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  90. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +5 -5
  91. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  92. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  93. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  94. package/app/.next-cli-build/server/app/api/auth/check/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/check/route.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  111. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  113. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  117. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  119. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  127. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  131. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  133. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  135. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  137. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  139. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  141. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -0
  149. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -0
  150. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route_client-reference-manifest.js +1 -0
  151. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  154. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  156. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  166. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  168. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  170. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  200. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/providers/circuit-breakers/[name]/reset/route.js +1 -0
  236. package/app/.next-cli-build/server/app/api/providers/circuit-breakers/[name]/reset/route.js.nft.json +1 -0
  237. package/app/.next-cli-build/server/app/api/providers/circuit-breakers/[name]/reset/route_client-reference-manifest.js +1 -0
  238. package/app/.next-cli-build/server/app/api/providers/circuit-breakers/route.js +1 -0
  239. package/app/.next-cli-build/server/app/api/providers/circuit-breakers/route.js.nft.json +1 -0
  240. package/app/.next-cli-build/server/app/api/providers/circuit-breakers/route_client-reference-manifest.js +1 -0
  241. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  258. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  260. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  264. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  280. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +3 -3
  302. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/usage/request-details/[id]/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/usage/request-details/[id]/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  324. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  338. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  370. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  372. package/app/.next-cli-build/server/app/callback.html +1 -1
  373. package/app/.next-cli-build/server/app/callback.rsc +5 -5
  374. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +5 -5
  375. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  376. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +5 -5
  377. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  378. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  379. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  380. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  381. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +7 -7
  382. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  383. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  384. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  385. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  386. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +7 -7
  387. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  388. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +5 -5
  389. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  390. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  391. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +8 -8
  392. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  393. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  394. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  395. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  396. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
  397. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  398. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +5 -5
  399. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  400. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  401. package/app/.next-cli-build/server/app/dashboard/combos.rsc +7 -7
  402. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  403. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  404. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  405. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  406. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +7 -7
  407. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  408. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +5 -5
  409. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  410. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  411. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +8 -8
  412. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  413. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  414. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  415. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  416. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
  417. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  418. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +5 -5
  419. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  420. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  421. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +7 -7
  422. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  423. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  424. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  425. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  426. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  427. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +7 -7
  428. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  429. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +5 -5
  430. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  431. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  432. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +7 -7
  433. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  434. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  435. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  436. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  437. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +7 -7
  438. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  439. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +5 -5
  440. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  441. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  442. package/app/.next-cli-build/server/app/dashboard/profile.rsc +7 -7
  443. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  444. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  445. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  446. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  447. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +7 -7
  448. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  449. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +5 -5
  450. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  451. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  452. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +7 -7
  453. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  454. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  455. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  456. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  457. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  458. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +7 -7
  459. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  460. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +5 -5
  461. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  462. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  463. package/app/.next-cli-build/server/app/dashboard/providers.rsc +7 -7
  464. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  465. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  466. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  467. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  468. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +7 -7
  469. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  470. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +5 -5
  471. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  472. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  473. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +7 -7
  474. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  475. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  477. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  478. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +7 -7
  479. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  480. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +5 -5
  481. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  482. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  483. package/app/.next-cli-build/server/app/dashboard/quota.rsc +8 -8
  484. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  485. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  486. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  487. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  488. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +8 -8
  489. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  490. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +5 -5
  491. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  492. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  493. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  494. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  495. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
  497. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
  498. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  499. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +5 -5
  500. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  501. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  502. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  503. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  504. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  505. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  506. package/app/.next-cli-build/server/app/dashboard/skills.rsc +7 -7
  507. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  508. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  509. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  511. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +7 -7
  512. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  513. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +5 -5
  514. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  515. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  516. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +7 -7
  517. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  518. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  519. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  520. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  521. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +7 -7
  522. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  523. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +5 -5
  524. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  525. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  526. package/app/.next-cli-build/server/app/dashboard/translator.rsc +7 -7
  527. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  528. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  529. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  530. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  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/_head.segment.rsc +1 -1
  533. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +5 -5
  534. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  535. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  536. package/app/.next-cli-build/server/app/dashboard/usage.rsc +7 -7
  537. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  538. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  539. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  540. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  541. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +7 -7
  542. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  543. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +5 -5
  544. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  545. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  546. package/app/.next-cli-build/server/app/dashboard.rsc +8 -8
  547. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  548. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  549. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  550. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +8 -8
  551. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  552. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +5 -5
  553. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  554. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  555. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  556. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  557. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  558. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  559. package/app/.next-cli-build/server/app/landing.html +1 -1
  560. package/app/.next-cli-build/server/app/landing.rsc +5 -5
  561. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +5 -5
  562. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  563. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +5 -5
  564. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  565. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  566. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  567. package/app/.next-cli-build/server/app/login/page.js +2 -2
  568. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  569. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  570. package/app/.next-cli-build/server/app/login.html +1 -1
  571. package/app/.next-cli-build/server/app/login.rsc +6 -6
  572. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +6 -6
  573. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  574. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +5 -5
  575. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  576. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  577. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  578. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +1 -1
  579. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  580. package/app/.next-cli-build/server/app/masuk/page.js +2 -2
  581. package/app/.next-cli-build/server/app/masuk/page.js.nft.json +1 -1
  582. package/app/.next-cli-build/server/app/masuk/page_client-reference-manifest.js +1 -1
  583. package/app/.next-cli-build/server/app-paths-manifest.json +8 -5
  584. package/app/.next-cli-build/server/chunks/1099.js +2 -2
  585. package/app/.next-cli-build/server/chunks/2445.js +1 -0
  586. package/app/.next-cli-build/server/chunks/2557.js +17 -17
  587. package/app/.next-cli-build/server/chunks/3424.js +1 -1
  588. package/app/.next-cli-build/server/chunks/383.js +1 -1
  589. package/app/.next-cli-build/server/chunks/4004.js +1 -1
  590. package/app/.next-cli-build/server/chunks/4105.js +1 -1
  591. package/app/.next-cli-build/server/chunks/4418.js +14 -10
  592. package/app/.next-cli-build/server/chunks/4544.js +1 -1
  593. package/app/.next-cli-build/server/chunks/4574.js +2 -2
  594. package/app/.next-cli-build/server/chunks/5006.js +2 -2
  595. package/app/.next-cli-build/server/chunks/5577.js +1 -1
  596. package/app/.next-cli-build/server/chunks/5598.js +1 -1
  597. package/app/.next-cli-build/server/chunks/6159.js +1 -1
  598. package/app/.next-cli-build/server/chunks/6723.js +1 -1
  599. package/app/.next-cli-build/server/chunks/7164.js +1 -1
  600. package/app/.next-cli-build/server/chunks/7204.js +1 -1
  601. package/app/.next-cli-build/server/chunks/818.js +1 -1
  602. package/app/.next-cli-build/server/chunks/8711.js +1 -1
  603. package/app/.next-cli-build/server/chunks/9633.js +1 -1
  604. package/app/.next-cli-build/server/chunks/9765.js +1 -1
  605. package/app/.next-cli-build/server/chunks/9984.js +1 -1
  606. package/app/.next-cli-build/server/functions-config-manifest.json +2 -0
  607. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  608. package/app/.next-cli-build/server/middleware.js +1 -1
  609. package/app/.next-cli-build/server/pages/404.html +1 -1
  610. package/app/.next-cli-build/server/pages/500.html +1 -1
  611. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  612. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  613. package/app/.next-cli-build/static/chunks/{4385-441c57680060bf32.js → 4385-ef3f83f13fe6b4f2.js} +1 -1
  614. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-d380f305e4f93bed.js +1 -0
  615. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-843674c44029b01b.js → page-3eaea075a22577af.js} +1 -1
  616. package/app/.next-cli-build/static/chunks/app/_global-error/page-e99da107f9c7c581.js +1 -0
  617. package/app/.next-cli-build/static/chunks/app/api/auth/check/route-e99da107f9c7c581.js +1 -0
  618. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-e99da107f9c7c581.js +1 -0
  619. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-e99da107f9c7c581.js +1 -0
  620. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-e99da107f9c7c581.js +1 -0
  621. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-e99da107f9c7c581.js +1 -0
  622. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-e99da107f9c7c581.js +1 -0
  623. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-e99da107f9c7c581.js +1 -0
  624. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-e99da107f9c7c581.js +1 -0
  625. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-e99da107f9c7c581.js +1 -0
  626. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-e99da107f9c7c581.js +1 -0
  627. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-e99da107f9c7c581.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-e99da107f9c7c581.js +1 -0
  629. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-e99da107f9c7c581.js +1 -0
  630. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-e99da107f9c7c581.js +1 -0
  631. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-e99da107f9c7c581.js +1 -0
  632. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-e99da107f9c7c581.js +1 -0
  633. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-e99da107f9c7c581.js +1 -0
  634. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-e99da107f9c7c581.js +1 -0
  635. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-e99da107f9c7c581.js +1 -0
  636. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-e99da107f9c7c581.js +1 -0
  637. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-e99da107f9c7c581.js +1 -0
  638. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-e99da107f9c7c581.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-e99da107f9c7c581.js +1 -0
  640. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-e99da107f9c7c581.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-e99da107f9c7c581.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-e99da107f9c7c581.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/api/combos/route-e99da107f9c7c581.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-e99da107f9c7c581.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-e99da107f9c7c581.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-e99da107f9c7c581.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-e99da107f9c7c581.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/health/route-e99da107f9c7c581.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/init/route-e99da107f9c7c581.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-e99da107f9c7c581.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/keys/route-e99da107f9c7c581.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/locale/route-e99da107f9c7c581.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-e99da107f9c7c581.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-e99da107f9c7c581.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-e99da107f9c7c581.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-e99da107f9c7c581.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-e99da107f9c7c581.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-e99da107f9c7c581.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-e99da107f9c7c581.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-e99da107f9c7c581.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-e99da107f9c7c581.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-e99da107f9c7c581.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-e99da107f9c7c581.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/models/route-e99da107f9c7c581.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/models/test/route-e99da107f9c7c581.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-e99da107f9c7c581.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-e99da107f9c7c581.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-e99da107f9c7c581.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-e99da107f9c7c581.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-e99da107f9c7c581.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-e99da107f9c7c581.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-e99da107f9c7c581.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-e99da107f9c7c581.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-e99da107f9c7c581.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-e99da107f9c7c581.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-e99da107f9c7c581.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-e99da107f9c7c581.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-e99da107f9c7c581.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/pricing/route-e99da107f9c7c581.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-e99da107f9c7c581.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-e99da107f9c7c581.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-e99da107f9c7c581.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-e99da107f9c7c581.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-e99da107f9c7c581.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-e99da107f9c7c581.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-e99da107f9c7c581.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/providers/circuit-breakers/[name]/reset/route-e99da107f9c7c581.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/providers/circuit-breakers/route-e99da107f9c7c581.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-e99da107f9c7c581.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-e99da107f9c7c581.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/providers/route-e99da107f9c7c581.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-e99da107f9c7c581.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-e99da107f9c7c581.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-e99da107f9c7c581.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-e99da107f9c7c581.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-e99da107f9c7c581.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-e99da107f9c7c581.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-e99da107f9c7c581.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-e99da107f9c7c581.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-e99da107f9c7c581.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-e99da107f9c7c581.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-e99da107f9c7c581.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-e99da107f9c7c581.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/settings/route-e99da107f9c7c581.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-e99da107f9c7c581.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/tags/route-e99da107f9c7c581.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-e99da107f9c7c581.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-e99da107f9c7c581.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-e99da107f9c7c581.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-e99da107f9c7c581.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-e99da107f9c7c581.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-e99da107f9c7c581.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-e99da107f9c7c581.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-e99da107f9c7c581.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-e99da107f9c7c581.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-e99da107f9c7c581.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-e99da107f9c7c581.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-e99da107f9c7c581.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-e99da107f9c7c581.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-e99da107f9c7c581.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-e99da107f9c7c581.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-e99da107f9c7c581.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-e99da107f9c7c581.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-e99da107f9c7c581.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-e99da107f9c7c581.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/[id]/route-e99da107f9c7c581.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-e99da107f9c7c581.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-e99da107f9c7c581.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-e99da107f9c7c581.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-e99da107f9c7c581.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-e99da107f9c7c581.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-e99da107f9c7c581.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-e99da107f9c7c581.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-e99da107f9c7c581.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-e99da107f9c7c581.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-e99da107f9c7c581.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-e99da107f9c7c581.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-e99da107f9c7c581.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-e99da107f9c7c581.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-e99da107f9c7c581.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-e99da107f9c7c581.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-e99da107f9c7c581.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-e99da107f9c7c581.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-e99da107f9c7c581.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/v1/route-e99da107f9c7c581.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-e99da107f9c7c581.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-e99da107f9c7c581.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-e99da107f9c7c581.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-e99da107f9c7c581.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/version/route-e99da107f9c7c581.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-e99da107f9c7c581.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/version/update/route-e99da107f9c7c581.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-e99da107f9c7c581.js +1 -0
  754. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-e99da107f9c7c581.js +1 -0
  755. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-e99da107f9c7c581.js +1 -0
  756. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-e99da107f9c7c581.js +1 -0
  757. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-e99da107f9c7c581.js +1 -0
  758. package/app/.next-cli-build/static/css/437a6752f7fcb08c.css +1 -0
  759. package/app/.next-cli-build/static/nQJWv2C_Mij2gTzsYtVEi/_buildManifest.js +1 -0
  760. package/app/package.json +3 -1
  761. package/package.json +1 -1
  762. package/app/.next-cli-build/server/chunks/404.js +0 -1
  763. package/app/.next-cli-build/static/KPZsvYf9k_ul1qX5v-XQj/_buildManifest.js +0 -1
  764. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-1ba0ea7940552f0c.js +0 -1
  765. package/app/.next-cli-build/static/chunks/app/_global-error/page-90ddd8ec8e02f64d.js +0 -1
  766. package/app/.next-cli-build/static/chunks/app/api/auth/check/route-90ddd8ec8e02f64d.js +0 -1
  767. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-90ddd8ec8e02f64d.js +0 -1
  768. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-90ddd8ec8e02f64d.js +0 -1
  769. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-90ddd8ec8e02f64d.js +0 -1
  770. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-90ddd8ec8e02f64d.js +0 -1
  771. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-90ddd8ec8e02f64d.js +0 -1
  772. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-90ddd8ec8e02f64d.js +0 -1
  773. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-90ddd8ec8e02f64d.js +0 -1
  774. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-90ddd8ec8e02f64d.js +0 -1
  775. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-90ddd8ec8e02f64d.js +0 -1
  776. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-90ddd8ec8e02f64d.js +0 -1
  777. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-90ddd8ec8e02f64d.js +0 -1
  778. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-90ddd8ec8e02f64d.js +0 -1
  779. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-90ddd8ec8e02f64d.js +0 -1
  780. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-90ddd8ec8e02f64d.js +0 -1
  781. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-90ddd8ec8e02f64d.js +0 -1
  782. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-90ddd8ec8e02f64d.js +0 -1
  783. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-90ddd8ec8e02f64d.js +0 -1
  784. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-90ddd8ec8e02f64d.js +0 -1
  785. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-90ddd8ec8e02f64d.js +0 -1
  786. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-90ddd8ec8e02f64d.js +0 -1
  787. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-90ddd8ec8e02f64d.js +0 -1
  788. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-90ddd8ec8e02f64d.js +0 -1
  789. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-90ddd8ec8e02f64d.js +0 -1
  790. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-90ddd8ec8e02f64d.js +0 -1
  791. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-90ddd8ec8e02f64d.js +0 -1
  792. package/app/.next-cli-build/static/chunks/app/api/combos/route-90ddd8ec8e02f64d.js +0 -1
  793. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-90ddd8ec8e02f64d.js +0 -1
  794. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-90ddd8ec8e02f64d.js +0 -1
  795. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-90ddd8ec8e02f64d.js +0 -1
  796. package/app/.next-cli-build/static/chunks/app/api/health/route-90ddd8ec8e02f64d.js +0 -1
  797. package/app/.next-cli-build/static/chunks/app/api/init/route-90ddd8ec8e02f64d.js +0 -1
  798. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-90ddd8ec8e02f64d.js +0 -1
  799. package/app/.next-cli-build/static/chunks/app/api/keys/route-90ddd8ec8e02f64d.js +0 -1
  800. package/app/.next-cli-build/static/chunks/app/api/locale/route-90ddd8ec8e02f64d.js +0 -1
  801. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-90ddd8ec8e02f64d.js +0 -1
  802. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-90ddd8ec8e02f64d.js +0 -1
  803. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-90ddd8ec8e02f64d.js +0 -1
  804. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-90ddd8ec8e02f64d.js +0 -1
  805. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-90ddd8ec8e02f64d.js +0 -1
  806. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-90ddd8ec8e02f64d.js +0 -1
  807. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-90ddd8ec8e02f64d.js +0 -1
  808. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-90ddd8ec8e02f64d.js +0 -1
  809. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-90ddd8ec8e02f64d.js +0 -1
  810. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-90ddd8ec8e02f64d.js +0 -1
  811. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-90ddd8ec8e02f64d.js +0 -1
  812. package/app/.next-cli-build/static/chunks/app/api/models/route-90ddd8ec8e02f64d.js +0 -1
  813. package/app/.next-cli-build/static/chunks/app/api/models/test/route-90ddd8ec8e02f64d.js +0 -1
  814. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-90ddd8ec8e02f64d.js +0 -1
  815. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-90ddd8ec8e02f64d.js +0 -1
  816. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-90ddd8ec8e02f64d.js +0 -1
  817. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-90ddd8ec8e02f64d.js +0 -1
  818. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-90ddd8ec8e02f64d.js +0 -1
  819. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-90ddd8ec8e02f64d.js +0 -1
  820. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-90ddd8ec8e02f64d.js +0 -1
  821. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-90ddd8ec8e02f64d.js +0 -1
  822. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-90ddd8ec8e02f64d.js +0 -1
  823. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-90ddd8ec8e02f64d.js +0 -1
  824. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-90ddd8ec8e02f64d.js +0 -1
  825. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-90ddd8ec8e02f64d.js +0 -1
  826. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-90ddd8ec8e02f64d.js +0 -1
  827. package/app/.next-cli-build/static/chunks/app/api/pricing/route-90ddd8ec8e02f64d.js +0 -1
  828. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-90ddd8ec8e02f64d.js +0 -1
  829. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-90ddd8ec8e02f64d.js +0 -1
  830. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-90ddd8ec8e02f64d.js +0 -1
  831. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-90ddd8ec8e02f64d.js +0 -1
  832. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-90ddd8ec8e02f64d.js +0 -1
  833. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-90ddd8ec8e02f64d.js +0 -1
  834. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-90ddd8ec8e02f64d.js +0 -1
  835. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-90ddd8ec8e02f64d.js +0 -1
  836. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-90ddd8ec8e02f64d.js +0 -1
  837. package/app/.next-cli-build/static/chunks/app/api/providers/route-90ddd8ec8e02f64d.js +0 -1
  838. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-90ddd8ec8e02f64d.js +0 -1
  839. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-90ddd8ec8e02f64d.js +0 -1
  840. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-90ddd8ec8e02f64d.js +0 -1
  841. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-90ddd8ec8e02f64d.js +0 -1
  842. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-90ddd8ec8e02f64d.js +0 -1
  843. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-90ddd8ec8e02f64d.js +0 -1
  844. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-90ddd8ec8e02f64d.js +0 -1
  845. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-90ddd8ec8e02f64d.js +0 -1
  846. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-90ddd8ec8e02f64d.js +0 -1
  847. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-90ddd8ec8e02f64d.js +0 -1
  848. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-90ddd8ec8e02f64d.js +0 -1
  849. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-90ddd8ec8e02f64d.js +0 -1
  850. package/app/.next-cli-build/static/chunks/app/api/settings/route-90ddd8ec8e02f64d.js +0 -1
  851. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-90ddd8ec8e02f64d.js +0 -1
  852. package/app/.next-cli-build/static/chunks/app/api/tags/route-90ddd8ec8e02f64d.js +0 -1
  853. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-90ddd8ec8e02f64d.js +0 -1
  854. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-90ddd8ec8e02f64d.js +0 -1
  855. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-90ddd8ec8e02f64d.js +0 -1
  856. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-90ddd8ec8e02f64d.js +0 -1
  857. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-90ddd8ec8e02f64d.js +0 -1
  858. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-90ddd8ec8e02f64d.js +0 -1
  859. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-90ddd8ec8e02f64d.js +0 -1
  860. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-90ddd8ec8e02f64d.js +0 -1
  861. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-90ddd8ec8e02f64d.js +0 -1
  862. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-90ddd8ec8e02f64d.js +0 -1
  863. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-90ddd8ec8e02f64d.js +0 -1
  864. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-90ddd8ec8e02f64d.js +0 -1
  865. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-90ddd8ec8e02f64d.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-90ddd8ec8e02f64d.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-90ddd8ec8e02f64d.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-90ddd8ec8e02f64d.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-90ddd8ec8e02f64d.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-90ddd8ec8e02f64d.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-90ddd8ec8e02f64d.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/[id]/route-90ddd8ec8e02f64d.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-90ddd8ec8e02f64d.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-90ddd8ec8e02f64d.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-90ddd8ec8e02f64d.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-90ddd8ec8e02f64d.js +0 -1
  877. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-90ddd8ec8e02f64d.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-90ddd8ec8e02f64d.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-90ddd8ec8e02f64d.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-90ddd8ec8e02f64d.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-90ddd8ec8e02f64d.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-90ddd8ec8e02f64d.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-90ddd8ec8e02f64d.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-90ddd8ec8e02f64d.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-90ddd8ec8e02f64d.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-90ddd8ec8e02f64d.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-90ddd8ec8e02f64d.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-90ddd8ec8e02f64d.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-90ddd8ec8e02f64d.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-90ddd8ec8e02f64d.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/api/v1/route-90ddd8ec8e02f64d.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-90ddd8ec8e02f64d.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-90ddd8ec8e02f64d.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-90ddd8ec8e02f64d.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-90ddd8ec8e02f64d.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/api/version/route-90ddd8ec8e02f64d.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-90ddd8ec8e02f64d.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/api/version/update/route-90ddd8ec8e02f64d.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-90ddd8ec8e02f64d.js +0 -1
  900. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-90ddd8ec8e02f64d.js +0 -1
  901. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-90ddd8ec8e02f64d.js +0 -1
  902. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-90ddd8ec8e02f64d.js +0 -1
  903. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-90ddd8ec8e02f64d.js +0 -1
  904. package/app/.next-cli-build/static/css/73d94a90ed5f9554.css +0 -1
  905. /package/app/.next-cli-build/static/{KPZsvYf9k_ul1qX5v-XQj → nQJWv2C_Mij2gTzsYtVEi}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";exports.id=3424,exports.ids=[3424],exports.modules={2607:(a,b,c)=>{c.d(b,{proxyAwareFetch:()=>q});var d=c(27910),e=c(92398);let f=globalThis.fetch,g=new Map,h=new Map,i=["cloudcode-pa.googleapis.com","daily-cloudcode-pa.googleapis.com","api.individual.githubcopilot.com","q.us-east-1.amazonaws.com","codewhisperer.us-east-1.amazonaws.com","api2.cursor.sh"],j=["8.8.8.8","8.8.4.4"];function k(a){return null==a?"":String(a).trim()}async function l(a){let b=h.get(a);if(b&&Date.now()<b.expiry)return b.ip;try{let b=await Promise.resolve().then(c.t.bind(c,14985,23)),{promisify:d}=await Promise.resolve().then(c.t.bind(c,28354,23)),f=new b.Resolver;f.setServers(j);let g=d(f.resolve4.bind(f)),i=await g(a);return h.set(a,{ip:i[0],expiry:Date.now()+e.v1.dnsCacheTtlMs}),i[0]}catch(b){return console.warn(`[ProxyFetch] DNS resolve failed for ${a}:`,b.message),null}}function m(a,b){let c,d=k(b);if(!d)return!1;try{c=new URL(a).hostname.toLowerCase()}catch{return!1}return d.split(",").flatMap(a=>{let b=a.trim().toLowerCase();return b?[b]:[]}).some(a=>"*"===a||(a.startsWith(".")?c.endsWith(a)||c===a.slice(1):c===a||c.endsWith(`.${a}`)))}function n(a){let b=k(a);if(!b)return null;try{return new URL(b),b}catch{return`http://${b}`}}async function o(a){let b=n(a);if(!b)return null;if(!g.has(b)){g.size>=e.v1.proxyDispatchersMaxSize&&g.delete(g.keys().next().value);let{ProxyAgent:a}=await c.e(3398).then(c.t.bind(c,13398,19));g.set(b,new a({uri:b}))}return g.get(b)}async function p(a,b,e){let[f,g]=await Promise.all([Promise.resolve().then(c.t.bind(c,55591,23)),Promise.resolve().then(c.t.bind(c,91645,23))]),h=f.default??f,i=g.default??g;return new Promise((c,f)=>{let g=new i.Socket;g.connect(443,b,()=>{let b={socket:g,servername:a.hostname,path:a.pathname+a.search,method:e.method||"POST",headers:{...e.headers,Host:a.hostname}},i=h.request(b,a=>{let b={ok:a.statusCode>=200&&a.statusCode<300,status:a.statusCode,statusText:a.statusMessage,headers:new Map(Object.entries(a.headers)),body:d.Readable.toWeb(a),text:async()=>{let b=[];for await(let c of a)b.push(c);return Buffer.concat(b).toString()},json:async()=>JSON.parse(await b.text())};c(b)});i.on("error",f),e.body&&i.write("string"==typeof e.body?e.body:JSON.stringify(e.body)),i.end()}),g.on("error",f)})}async function q(a,b={},c=null){let d="string"==typeof a?a:a.toString(),e=k(c?.vercelRelayUrl);if(e){let a=new URL(d),c={...b.headers,"x-relay-target":`${a.protocol}//${a.host}`,"x-relay-path":`${a.pathname}${a.search}`};return f(e,{...b,headers:c})}let g=function(a,b){if(b?.enabled!==!0&&b?.connectionProxyEnabled!==!0)return null;let c=k(b?.url??b?.connectionProxyUrl);if(!c)return null;let d=k(b?.noProxy??b?.connectionNoProxy);return d&&m(a,d)?null:n(c)}(d,c),h=g?null:n(function(a){let b;if(m(a,process.env.NO_PROXY||process.env.no_proxy))return null;try{b=new URL(a).protocol}catch{return null}return"https:"===b?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.ALL_PROXY||process.env.all_proxy:process.env.HTTP_PROXY||process.env.http_proxy||process.env.ALL_PROXY||process.env.all_proxy}(d)),j=g||h;if(function(a){try{let b=new URL(a).hostname;return i.some(a=>b.includes(a))}catch{return!1}}(d)){if(j)try{let c=await o(j);return await f(a,{...b,dispatcher:c})}catch(a){if(c?.strictProxy===!0)throw Error(`[ProxyFetch] Proxy required but failed (strictProxy=true): ${a.message}`);console.warn(`[ProxyFetch] Proxy failed, falling back to direct bypass: ${a.message}`)}try{let a=new URL(d),c=await l(a.hostname);if(c)return await p(a,c,b)}catch(a){console.warn(`[ProxyFetch] MITM bypass failed: ${a.message}`)}}if(j)try{let c=await o(j);return await f(a,{...b,dispatcher:c})}catch(a){if(c?.strictProxy===!0)throw Error(`[ProxyFetch] Proxy required but failed (strictProxy=true): ${a.message}`);console.warn(`[ProxyFetch] Proxy failed, falling back to direct: ${a.message}`)}return f(a,b)}async function r(a,b={}){return q(a,b,null)}globalThis.fetch!==r&&(globalThis.fetch=r)},13946:(a,b,c)=>{c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(68711);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},22830:(a,b,c)=>{c.d(b,{$V:()=>x,A9:()=>m,Cn:()=>n,Co:()=>w,Ic:()=>u,J5:()=>r,K:()=>s,NA:()=>z,Ox:()=>o,QH:()=>p,VK:()=>A,Wu:()=>y,go:()=>h,nZ:()=>t,no:()=>f,sX:()=>i,uR:()=>q,x0:()=>k,zv:()=>v});var d=c(21820),e=c(13946);function f(){return"0.1.39"}c(2607);let g=e.xq["gemini-cli"]?.cliVersion,h=e.xq["gemini-cli"]?.apiClient;function i(a="unknown"){let b;return`GeminiCLI/${g}/${a||"unknown"} (${(0,d.platform)()}; ${"ia32"===(b=(0,d.arch)())?"x86":b}; terminal)`}let j=e.xq.github?.copilot||{},k={VSCODE_VERSION:j.vscodeVersion,COPILOT_CHAT_VERSION:j.chatVersion,USER_AGENT:j.userAgent,API_VERSION:j.apiVersion};function l(){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)}function m(){return`antigravity/1.104.0 ${(0,d.platform)()}/${(0,d.arch)()}`}let n={ideType:9,platform:l(),pluginType:2},o={name:"x-request-source",value:"local"},p="_ide",q="_ide",r=new Set(["browser_subagent","command_status","find_by_name","generate_image","grep_search","list_dir","list_resources","multi_replace_file_content","notify_user","read_resource","read_terminal","read_url_content","replace_file_content","run_command","search_web","send_command_input","task_boundary","view_content_chunk","view_file","write_to_file"]),s={"User-Agent":`antigravity/1.107.0 ${(0,d.platform)()}/${(0,d.arch)()}`},t={loadCodeAssist:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUser:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser"},u={"Content-Type":"application/json","User-Agent":"google-api-nodejs-client/9.15.1","X-Goog-Api-Client":"google-cloud-sdk vscode_cloudshelleditor/0.1","Client-Metadata":JSON.stringify({ideType:9,platform:l(),pluginType:2})},v={ideType:9,platform:l(),pluginType:2},w="You are Claude Code, Anthropic's official CLI for Claude.",x="You are Antigravity, a powerful agentic AI coding assistant designed by the Google Deepmind team working on Advanced Agentic Coding.You are pair programming with a USER to solve their coding task. The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question.**Absolute paths only****Proactiveness**",y=Object.fromEntries(Object.entries(e.sr).filter(([,a])=>a.refreshLeadMs).map(([a,b])=>[a,b.refreshLeadMs])),z={google:{token:"https://oauth2.googleapis.com/token",auth:"https://accounts.google.com/o/oauth2/auth"},openai:{token:e.sr.codex?.tokenUrl,auth:e.sr.codex?.authorizeUrl},anthropic:{token:e.sr.claude?.tokenUrl,auth:"https://api.anthropic.com/v1/oauth/authorize"},qwen:{token:e.sr.qwen?.tokenUrl,auth:e.sr.qwen?.deviceCodeUrl},iflow:{token:e.sr.iflow?.tokenUrl,auth:e.sr.iflow?.authorizeUrl},github:{token:e.sr.github?.tokenUrl,auth:e.sr.github?.authorizeUrl,deviceCode:e.sr.github?.deviceCodeUrl}};function A(){return{"X-Msh-Platform":"9router","X-Msh-Version":"2.1.2","X-Msh-Device-Model":"u">typeof process?`${process.platform} ${process.arch}`:"unknown","X-Msh-Device-Id":`kimi-${Date.now()}`}}},28765:(a,b,c)=>{c.d(b,{Vq:()=>k,fp:()=>i});var d=c(91392),e=c(68711);let f=e.sr.codex?.maxRefreshAgeMs,g=new Map;function h(a){if(null==a||""===a)return null;if("number"==typeof a)return a<1e12?1e3*a:a;let b=new Date(a).getTime();return Number.isFinite(b)?b:null}function i(a,b,c=Date.now()){if(!b)return!1;let g=h(b?.expiresAt??b?.tokenExpiresAt);if(null!==g&&g-c<(0,d.Og)(a))return!0;let j=e.sr[a]?.maxRefreshAgeMs;return!!(j&&b.refreshToken&&function(a,b=Date.now(),c=f){let d=h(a?.lastRefreshAt??a?.lastRefresh??a?.providerSpecificData?.lastRefreshAt);return!d||b-d>=c}(b,c,j))}async function j(a,b,c){let d,e=(d=b?.connectionId||b?.id||b?.email||b?.name||b?.refreshToken?.slice?.(-16)||"default",`${a}:${d}`),f=g.get(e);if(f)return f;let h=Promise.resolve().then(c).finally(()=>{g.delete(e)});return g.set(e,h),h}async function k(a,b,c){return b?j(a,b,async()=>{let f=await (0,d.$B)(a,b,c);return function(a,b,c,f=Date.now()){var g,h;if(!c)return null;if((0,d.jT)(c))return c;let i={},j=new Date(f).toISOString();c.accessToken&&(i.accessToken=c.accessToken),c.apiKey&&(i.apiKey=c.apiKey),c.token&&(i.token=c.token);let k=c.refreshToken??b?.refreshToken;k&&(i.refreshToken=k);let l=c.idToken??b?.idToken;return l&&(i.idToken=l),c.expiresIn?(i.expiresIn=c.expiresIn,i.expiresAt=function(a,b=Date.now()){return a?new Date(b+1e3*a).toISOString():null}(c.expiresIn,f)):c.expiresAt&&(i.expiresAt=c.expiresAt),c.projectId&&(i.projectId=c.projectId),c.providerSpecificData&&(g=b?.providerSpecificData,i.providerSpecificData=(h=c.providerSpecificData)&&"object"==typeof h?{...g||{},...h}:g),c.copilotToken&&(i.copilotToken=c.copilotToken),c.copilotTokenExpiresAt&&(i.copilotTokenExpiresAt=c.copilotTokenExpiresAt),(e.sr[a]?.trackRefreshAt||i.accessToken||i.apiKey||i.token||i.refreshToken||i.copilotToken)&&(i.lastRefreshAt=c.lastRefreshAt||j),i}(a,b,f)}):null}},91392:(a,b,c)=>{c.d(b,{oD:()=>w,Og:()=>y,jT:()=>x,Sc:()=>z,jR:()=>u,I9:()=>n,Ql:()=>r,$B:()=>E,pb:()=>B,qZ:()=>F});var d=c(13946),e=c(22830),f=c(2607);let g=new Map;async function h(a,b,c,d){if(!b)return c();let e=`${a}:${b}`,f=g.get(e);if(f){if(f.promise)return d?.info?.("TOKEN_REFRESH",`Reusing in-flight refresh for ${a}`),f.promise;if(f.expiresAt>Date.now())return d?.info?.("TOKEN_REFRESH",`Reusing recent refresh result for ${a}`),f.result;g.delete(e)}let h=(async()=>{try{let a=await c();return g.set(e,{result:a,expiresAt:Date.now()+1e4}),a}catch(a){throw g.delete(e),a}})();return g.set(e,{promise:h}),h}var i=c(91550);let j=null;async function k(a,b){return a?h("xai",a,async()=>{try{j||(j=new(await Promise.all([c.e(4105),c.e(715)]).then(c.bind(c,10715))).XaiService);let b=await j.refreshAccessToken(a);return{accessToken:b.access_token,refreshToken:b.refresh_token||a,expiresIn:b.expires_in,idToken:b.id_token}}catch(c){b?.warn?.("TOKEN_REFRESH",`xai refresh failed: ${c?.message||c}`);let a=String(c?.message||"");if(a.includes("invalid_grant")||a.includes("invalid_request"))return{error:"invalid_grant"};return null}},b):null}async function l(a,b,c,e){let f=d.xq[a];return f&&f.refreshUrl?b?h(a,b,async()=>{try{let c=await fetch(f.refreshUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:b,client_id:f.clientId,client_secret:f.clientSecret})});if(!c.ok){let b=await c.text();return e?.error?.("TOKEN_REFRESH",`Failed to refresh token for ${a}`,{status:c.status,error:b}),null}let d=await c.json();return e?.info?.("TOKEN_REFRESH",`Successfully refreshed token for ${a}`,{hasNewAccessToken:!!d.access_token,hasNewRefreshToken:!!d.refresh_token,expiresIn:d.expires_in}),{accessToken:d.access_token,refreshToken:d.refresh_token||b,expiresIn:d.expires_in}}catch(b){return e?.error?.("TOKEN_REFRESH",`Error refreshing token for ${a}`,{error:b.message}),null}},e):(e?.warn?.("TOKEN_REFRESH",`No refresh token available for provider: ${a}`),null):(e?.warn?.("TOKEN_REFRESH",`No refresh URL configured for provider: ${a}`),null)}async function m(a,b){return a?h("claude",a,async()=>{try{let c=await fetch(e.NA.anthropic.token,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({grant_type:"refresh_token",refresh_token:a,client_id:d.xq.claude.clientId})});if(!c.ok){let a=await c.text();return b?.error?.("TOKEN_REFRESH","Failed to refresh Claude OAuth token",{status:c.status,error:a}),null}let f=await c.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Claude OAuth token",{hasNewAccessToken:!!f.access_token,expiresIn:f.expires_in}),{accessToken:f.access_token,refreshToken:f.refresh_token||a,expiresIn:f.expires_in}}catch(a){return b?.error?.("TOKEN_REFRESH",`Network error refreshing Claude token: ${a.message}`),null}},b):null}async function n(a,b,c,d){return a?h(`google:${b}`,a,async()=>{try{let f=await fetch(e.NA.google.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:a,client_id:b,client_secret:c})});if(!f.ok){let a=await f.text();return d?.error?.("TOKEN_REFRESH","Failed to refresh Google token",{status:f.status,error:a}),null}let g=await f.json();return d?.info?.("TOKEN_REFRESH","Successfully refreshed Google token",{hasNewAccessToken:!!g.access_token,expiresIn:g.expires_in}),{accessToken:g.access_token,refreshToken:g.refresh_token||a,expiresIn:g.expires_in}}catch(a){return d?.error?.("TOKEN_REFRESH",`Network error refreshing Google token: ${a.message}`),null}},d):null}async function o(a,b){return a?h("qwen",a,async()=>{let c=e.NA.qwen.token;try{let e=await fetch(c,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:a,client_id:d.xq.qwen.clientId})});if(200===e.status){let c=await e.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Qwen token",{hasNewAccessToken:!!c.access_token,hasNewRefreshToken:!!c.refresh_token,expiresIn:c.expires_in}),{accessToken:c.access_token,refreshToken:c.refresh_token||a,expiresIn:c.expires_in,providerSpecificData:c.resource_url?{resourceUrl:c.resource_url}:void 0}}{let a=await e.text().catch(()=>"");b?.warn?.("TOKEN_REFRESH","Error with Qwen endpoint",{status:e.status,error:a})}}catch(a){b?.warn?.("TOKEN_REFRESH","Network error trying Qwen endpoint",{error:a.message})}return b?.error?.("TOKEN_REFRESH","Failed to refresh Qwen token"),null},b):null}async function p(a,b){return a?h("codex",a,async()=>{try{let c=await fetch(e.NA.openai.token,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({client_id:d.xq.codex.clientId,grant_type:"refresh_token",refresh_token:a})});if(!c.ok){let a=await c.text(),d=function(a="",b=0){let c=null;try{c=a?JSON.parse(a):null}catch{c=null}let d=c?.error?.code||c?.error||c?.error_code||"",e=c?.error_description||c?.message||a||"",f=`${d} ${e}`.toLowerCase();return{status:b,code:d,description:e,permanent:["refresh_token_expired","refresh_token_reused","refresh_token_invalidated","invalid_grant"].some(a=>f.includes(a))}}(a,c.status);if(d.permanent)return b?.error?.("TOKEN_REFRESH","Codex refresh token already used or invalid. Re-auth required.",{status:c.status,code:d.code}),{error:"unrecoverable_refresh_error",code:d.code};return b?.error?.("TOKEN_REFRESH","Failed to refresh Codex token",{status:c.status,error:a,code:d.code,permanent:d.permanent}),null}let f=await c.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Codex token",{hasNewAccessToken:!!f.access_token,hasNewRefreshToken:!!f.refresh_token,hasIdToken:!!f.id_token,expiresIn:f.expires_in}),{accessToken:f.access_token,refreshToken:f.refresh_token||a,idToken:f.id_token,expiresIn:f.expires_in}}catch(a){return b?.error?.("TOKEN_REFRESH",`Network error refreshing Codex token: ${a.message}`),null}},b):null}async function q(a,b,d){if(a?.profileArn)return{};let e=d?.trim?.()||null;if(!e){let{fetchKiroProfileArn:a}=await Promise.all([c.e(3398),c.e(7010),c.e(7916),c.e(404),c.e(4418),c.e(4574),c.e(2557),c.e(6975),c.e(6085)]).then(c.bind(c,96975));e=await a(b)}return e?{providerSpecificData:{profileArn:e}}:{}}async function r(a,b,c,e=null){return a?h("kiro",a,async()=>{let g=b?.authMethod,h=b?.clientId,j=b?.clientSecret,k=b?.region;if("external_idp"===g){let d;try{d=(0,i.uo)(a,b)}catch(a){return c?.warn?.("TOKEN_REFRESH",`Invalid Kiro external_idp refresh config: ${a.message}`),null}let g=await (0,f.proxyAwareFetch)(d.tokenEndpoint,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:d.body},e);if(!g.ok){let a=await g.text();return c?.error?.("TOKEN_REFRESH","Failed to refresh Kiro external_idp token",{status:g.status,error:a}),null}let h=await g.json();return c?.info?.("TOKEN_REFRESH","Successfully refreshed Kiro external_idp token",{hasNewAccessToken:!!h.access_token,hasNewRefreshToken:!!h.refresh_token,expiresIn:h.expires_in}),{accessToken:h.access_token,refreshToken:h.refresh_token||a,expiresIn:h.expires_in,providerSpecificData:d.providerSpecificData}}if(h&&j){let d="idc"===g&&k?`https://oidc.${k}.amazonaws.com/token`:"https://oidc.us-east-1.amazonaws.com/token",i=await (0,f.proxyAwareFetch)(d,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({clientId:h,clientSecret:j,refreshToken:a,grantType:"refresh_token"})},e);if(!i.ok){let a=await i.text();return c?.error?.("TOKEN_REFRESH","Failed to refresh Kiro AWS token",{status:i.status,error:a}),null}let l=await i.json();return c?.info?.("TOKEN_REFRESH","Successfully refreshed Kiro AWS token",{hasNewAccessToken:!!l.accessToken,expiresIn:l.expiresIn}),{accessToken:l.accessToken,refreshToken:l.refreshToken||a,expiresIn:l.expiresIn,...await q(b,l.accessToken,l.profileArn)}}let l=await (0,f.proxyAwareFetch)(d.xq.kiro.tokenUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":"kiro-cli/1.0.0"},body:JSON.stringify({refreshToken:a})},e);if(!l.ok){let a=await l.text();return c?.error?.("TOKEN_REFRESH","Failed to refresh Kiro social token",{status:l.status,error:a}),null}let m=await l.json();return c?.info?.("TOKEN_REFRESH","Successfully refreshed Kiro social token",{hasNewAccessToken:!!m.accessToken,expiresIn:m.expiresIn}),{accessToken:m.accessToken,refreshToken:m.refreshToken||a,expiresIn:m.expiresIn,...await q(b,m.accessToken,m.profileArn)}},c):null}async function s(a,b){return a?h("iflow",a,async()=>{let c=btoa(`${d.xq.iflow.clientId}:${d.xq.iflow.clientSecret}`),f=await fetch(e.NA.iflow.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json",Authorization:`Basic ${c}`},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:a,client_id:d.xq.iflow.clientId,client_secret:d.xq.iflow.clientSecret})});if(!f.ok){let a=await f.text();return b?.error?.("TOKEN_REFRESH","Failed to refresh iFlow token",{status:f.status,error:a}),null}let g=await f.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed iFlow token",{hasNewAccessToken:!!g.access_token,hasNewRefreshToken:!!g.refresh_token,expiresIn:g.expires_in}),{accessToken:g.access_token,refreshToken:g.refresh_token||a,expiresIn:g.expires_in}},b):null}async function t(a,b){return a?h("github",a,async()=>{let c={grant_type:"refresh_token",refresh_token:a,client_id:d.xq.github.clientId};d.xq.github.clientSecret&&(c.client_secret=d.xq.github.clientSecret);let f=await fetch(e.NA.github.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams(c)});if(!f.ok){let a=await f.text();return b?.error?.("TOKEN_REFRESH","Failed to refresh GitHub token",{status:f.status,error:a}),null}let g=await f.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed GitHub token",{hasNewAccessToken:!!g.access_token,hasNewRefreshToken:!!g.refresh_token,expiresIn:g.expires_in}),{accessToken:g.access_token,refreshToken:g.refresh_token||a,expiresIn:g.expires_in}},b):null}async function u(a,b){return a?h("copilot",a,async()=>{try{let c=await fetch(d.sr.github?.copilotTokenUrl,{headers:{Authorization:`token ${a}`,"User-Agent":e.x0.USER_AGENT,"Editor-Version":`vscode/${e.x0.VSCODE_VERSION}`,"Editor-Plugin-Version":`copilot-chat/${e.x0.COPILOT_CHAT_VERSION}`,Accept:"application/json","x-github-api-version":e.x0.API_VERSION}});if(!c.ok){let a=await c.text();return b?.error?.("TOKEN_REFRESH","Failed to refresh Copilot token",{status:c.status,error:a}),null}let f=await c.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Copilot token",{hasToken:!!f.token,expiresAt:f.expires_at}),{token:f.token,expiresAt:f.expires_at}}catch(a){return b?.error?.("TOKEN_REFRESH","Error refreshing Copilot token",{error:a.message}),null}},b):null}async function v(a,b){return a?h("codebuddy-cn",a,async()=>{let c=d.sr["codebuddy-cn"]||{},e=await fetch(c.refreshUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":c.userAgent,"X-Requested-With":"XMLHttpRequest","X-Domain":"copilot.tencent.com","X-Refresh-Token":a,"X-Auth-Refresh-Source":"plugin","X-Product":"SaaS"},body:"{}"});if(!e.ok){let a=await e.text();return b?.error?.("TOKEN_REFRESH","Failed to refresh CodeBuddy token",{status:e.status,error:a}),null}let f=await e.json();return 0===f.code&&f.data?.accessToken?(b?.info?.("TOKEN_REFRESH","Successfully refreshed CodeBuddy token",{hasNewAccessToken:!!f.data.accessToken,hasNewRefreshToken:!!f.data.refreshToken,expiresIn:f.data.expiresIn}),{accessToken:f.data.accessToken,refreshToken:f.data.refreshToken||a,expiresIn:f.data.expiresIn}):(b?.error?.("TOKEN_REFRESH","CodeBuddy token refresh returned no token",{code:f.code,msg:f.msg}),null)},b):null}let w=3e5;function x(a){return a&&"object"==typeof a&&("unrecoverable_refresh_error"===a.error||"refresh_token_reused"===a.error||"invalid_request"===a.error||"invalid_grant"===a.error)}function y(a){return e.Wu[a]||w}function z(a){if("string"!=typeof a)return null;try{let b=JSON.parse(a);if("service_account"===b.type&&b.client_email&&b.private_key&&b.project_id)return b;return null}catch{return null}}let A=new Map;async function B(a,b){let d=a.client_email,f=A.get(d);if(f&&f.expiresAt-Date.now()>3e5)return{accessToken:f.token,expiresAt:f.expiresAt};try{let{SignJWT:f,importPKCS8:g}=await Promise.all([c.e(5924),c.e(7947)]).then(c.bind(c,87947));b?.debug?.("TOKEN_REFRESH",`Vertex minting token for ${a.client_email}`);let h=await g(a.private_key.replace(/\\n/g,"\n"),"RS256"),i=Math.floor(Date.now()/1e3),j=await new f({scope:"https://www.googleapis.com/auth/cloud-platform"}).setProtectedHeader({alg:"RS256"}).setIssuer(a.client_email).setAudience(e.NA.google.token).setIssuedAt(i).setExpirationTime(i+3600).sign(h),k=await fetch(e.NA.google.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:j})});if(!k.ok){let a=await k.text();return b?.error?.("TOKEN_REFRESH",`Vertex token mint failed: ${a}`),null}let{access_token:l,expires_in:m}=await k.json(),n=Date.now()+(m??3600)*1e3;return A.set(d,{token:l,expiresAt:n}),b?.info?.("TOKEN_REFRESH",`Vertex token minted for ${a.client_email}`),{accessToken:l,expiresAt:n}}catch(a){return b?.error?.("TOKEN_REFRESH",`Vertex token error: ${a.message}`),null}}function C(a,b){let c=z(a.apiKey);return c?B(c,b):null}let D={"gemini-cli":(a,b)=>n(a.refreshToken,d.xq["gemini-cli"].clientId,d.xq["gemini-cli"].clientSecret,b),antigravity:(a,b)=>n(a.refreshToken,d.xq.antigravity.clientId,d.xq.antigravity.clientSecret,b),claude:(a,b)=>m(a.refreshToken,b),codex:(a,b)=>p(a.refreshToken,b),qwen:(a,b)=>o(a.refreshToken,b),iflow:(a,b)=>s(a.refreshToken,b),github:(a,b)=>t(a.refreshToken,b),kiro:(a,b)=>r(a.refreshToken,a.providerSpecificData,b),xai:(a,b)=>k(a.refreshToken,b),"codebuddy-cn":(a,b)=>v(a.refreshToken,b),vertex:C,"vertex-partner":C};async function E(a,b,c){if(!b.refreshToken)return null;let d=D[a];return d?d(b,c):l(a,b.refreshToken,b,c)}async function F(a,b=3,c=null){async function d(e){if(e>0){let a=1e3*e;c?.debug?.("TOKEN_REFRESH",`Retry ${e}/${b} after ${a}ms`),await new Promise(b=>setTimeout(b,a))}try{let b=await a();if(b)return b}catch(a){c?.warn?.("TOKEN_REFRESH",`Attempt ${e+1}/${b} failed: ${a.message}`)}return e+1>=b?(c?.error?.("TOKEN_REFRESH",`All ${b} retry attempts failed`),null):d(e+1)}return d(0)}},91550:(a,b,c)=>{c.d(b,{Xj:()=>i,uo:()=>j});let d=new Set(["login.microsoftonline.com","login.microsoft.com","login.windows.net"]);function e(a){return"string"==typeof a?a.trim():""}function f(a){let b,c=e(a);if(!c)throw Error("token_endpoint is required");try{b=new URL(c)}catch{throw Error("token_endpoint must be a valid URL")}if("https:"!==b.protocol)throw Error("token_endpoint must use https");let f=b.hostname.toLowerCase();if(!d.has(f))throw Error("token_endpoint must be a Microsoft login endpoint");return b.toString()}function g(a){return Array.isArray(a)?a.map(e).filter(Boolean).join(" "):e(a)}function h(a){try{if(!a||"string"!=typeof a)return null;let b=a.split(".");if(3!==b.length)return null;let c=b[1].replace(/-/g,"+").replace(/_/g,"/"),d=(4-c.length%4)%4;return JSON.parse(Buffer.from(`${c}${"=".repeat(d)}`,"base64").toString("utf8"))}catch{return null}}function i(a){let b=a;if("string"==typeof b)try{b=JSON.parse(b)}catch{throw Error("CLIProxyAPI auth JSON is invalid")}if(!b||"object"!=typeof b)throw Error("CLIProxyAPI auth JSON is required");let c=e(b.auth_method||b.authMethod);if(c&&"external_idp"!==c)throw Error("Only external_idp Kiro auth is supported by this importer");let d=e(b.access_token||b.accessToken),i=e(b.refresh_token||b.refreshToken),j=e(b.client_id||b.clientId),k=f(b.token_endpoint||b.tokenEndpoint),l=e(b.profile_arn||b.profileArn),m=e(b.region)||"us-east-1",n=g(b.scopes||b.scope);if(!d)throw Error("access_token is required");if(!i)throw Error("refresh_token is required");if(!j)throw Error("client_id is required");if(!n)throw Error("scopes is required");if(!l)throw Error("profile_arn is required");let o=h(d),p=b.email||o?.email||o?.preferred_username||o?.upn||o?.sub||null;return{accessToken:d,refreshToken:i,expiresAt:function(a){let b=a.expired||a.expires_at||a.expiresAt;if(b){let a=new Date(b).getTime();if(Number.isFinite(a))return new Date(a).toISOString()}let c=Number(a.expires_in||a.expiresIn||0);if(Number.isFinite(c)&&c>0)return new Date(Date.now()+1e3*c).toISOString();let d=h(a.access_token||a.accessToken);return d?.exp?new Date(1e3*d.exp).toISOString():new Date(Date.now()+36e5).toISOString()}(b),email:p,providerSpecificData:{profileArn:l,region:m,authMethod:"external_idp",provider:"CLIProxyAPI",clientId:j,tokenEndpoint:k,scope:n}}}function j(a,b={}){let c=e(b.clientId||b.client_id),d=f(b.tokenEndpoint||b.token_endpoint),h=g(b.scope||b.scopes);if(!a)throw Error("refresh token is required");if(!c)throw Error("clientId is required for external_idp refresh");if(!h)throw Error("scope is required for external_idp refresh");return{tokenEndpoint:d,body:new URLSearchParams({grant_type:"refresh_token",client_id:c,refresh_token:a,scope:h}),providerSpecificData:{...b,authMethod:"external_idp",clientId:c,tokenEndpoint:d,scope:h}}}},94164:(a,b,c)=>{c.d(b,{CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,bI:()=>d.bI,c:()=>d.c,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,r4:()=>d.r4,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(45479)}};
1
+ "use strict";exports.id=3424,exports.ids=[3424],exports.modules={2607:(a,b,c)=>{c.d(b,{proxyAwareFetch:()=>q});var d=c(27910),e=c(92398);let f=globalThis.fetch,g=new Map,h=new Map,i=["cloudcode-pa.googleapis.com","daily-cloudcode-pa.googleapis.com","api.individual.githubcopilot.com","q.us-east-1.amazonaws.com","codewhisperer.us-east-1.amazonaws.com","api2.cursor.sh"],j=["8.8.8.8","8.8.4.4"];function k(a){return null==a?"":String(a).trim()}async function l(a){let b=h.get(a);if(b&&Date.now()<b.expiry)return b.ip;try{let b=await Promise.resolve().then(c.t.bind(c,14985,23)),{promisify:d}=await Promise.resolve().then(c.t.bind(c,28354,23)),f=new b.Resolver;f.setServers(j);let g=d(f.resolve4.bind(f)),i=await g(a);return h.set(a,{ip:i[0],expiry:Date.now()+e.v1.dnsCacheTtlMs}),i[0]}catch(b){return console.warn(`[ProxyFetch] DNS resolve failed for ${a}:`,b.message),null}}function m(a,b){let c,d=k(b);if(!d)return!1;try{c=new URL(a).hostname.toLowerCase()}catch{return!1}return d.split(",").flatMap(a=>{let b=a.trim().toLowerCase();return b?[b]:[]}).some(a=>"*"===a||(a.startsWith(".")?c.endsWith(a)||c===a.slice(1):c===a||c.endsWith(`.${a}`)))}function n(a){let b=k(a);if(!b)return null;try{return new URL(b),b}catch{return`http://${b}`}}async function o(a){let b=n(a);if(!b)return null;if(!g.has(b)){g.size>=e.v1.proxyDispatchersMaxSize&&g.delete(g.keys().next().value);let{ProxyAgent:a}=await c.e(3398).then(c.t.bind(c,13398,19));g.set(b,new a({uri:b}))}return g.get(b)}async function p(a,b,e){let[f,g]=await Promise.all([Promise.resolve().then(c.t.bind(c,55591,23)),Promise.resolve().then(c.t.bind(c,91645,23))]),h=f.default??f,i=g.default??g;return new Promise((c,f)=>{let g=new i.Socket;g.connect(443,b,()=>{let b={socket:g,servername:a.hostname,path:a.pathname+a.search,method:e.method||"POST",headers:{...e.headers,Host:a.hostname}},i=h.request(b,a=>{let b={ok:a.statusCode>=200&&a.statusCode<300,status:a.statusCode,statusText:a.statusMessage,headers:new Map(Object.entries(a.headers)),body:d.Readable.toWeb(a),text:async()=>{let b=[];for await(let c of a)b.push(c);return Buffer.concat(b).toString()},json:async()=>JSON.parse(await b.text())};c(b)});i.on("error",f),e.body&&i.write("string"==typeof e.body?e.body:JSON.stringify(e.body)),i.end()}),g.on("error",f)})}async function q(a,b={},c=null){let d="string"==typeof a?a:a.toString(),e=k(c?.vercelRelayUrl);if(e){let a=new URL(d),c={...b.headers,"x-relay-target":`${a.protocol}//${a.host}`,"x-relay-path":`${a.pathname}${a.search}`};return f(e,{...b,headers:c})}let g=function(a,b){if(b?.enabled!==!0&&b?.connectionProxyEnabled!==!0)return null;let c=k(b?.url??b?.connectionProxyUrl);if(!c)return null;let d=k(b?.noProxy??b?.connectionNoProxy);return d&&m(a,d)?null:n(c)}(d,c),h=g?null:n(function(a){let b;if(m(a,process.env.NO_PROXY||process.env.no_proxy))return null;try{b=new URL(a).protocol}catch{return null}return"https:"===b?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.ALL_PROXY||process.env.all_proxy:process.env.HTTP_PROXY||process.env.http_proxy||process.env.ALL_PROXY||process.env.all_proxy}(d)),j=g||h;if(function(a){try{let b=new URL(a).hostname;return i.some(a=>b.includes(a))}catch{return!1}}(d)){if(j)try{let c=await o(j);return await f(a,{...b,dispatcher:c})}catch(a){if(c?.strictProxy===!0)throw Error(`[ProxyFetch] Proxy required but failed (strictProxy=true): ${a.message}`);console.warn(`[ProxyFetch] Proxy failed, falling back to direct bypass: ${a.message}`)}try{let a=new URL(d),c=await l(a.hostname);if(c)return await p(a,c,b)}catch(a){console.warn(`[ProxyFetch] MITM bypass failed: ${a.message}`)}}if(j)try{let c=await o(j);return await f(a,{...b,dispatcher:c})}catch(a){if(c?.strictProxy===!0)throw Error(`[ProxyFetch] Proxy required but failed (strictProxy=true): ${a.message}`);console.warn(`[ProxyFetch] Proxy failed, falling back to direct: ${a.message}`)}return f(a,b)}async function r(a,b={}){return q(a,b,null)}globalThis.fetch!==r&&(globalThis.fetch=r)},13946:(a,b,c)=>{c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(68711);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},22830:(a,b,c)=>{c.d(b,{$V:()=>x,A9:()=>m,Cn:()=>n,Co:()=>w,Ic:()=>u,J5:()=>r,K:()=>s,NA:()=>z,Ox:()=>o,QH:()=>p,VK:()=>A,Wu:()=>y,go:()=>h,nZ:()=>t,no:()=>f,sX:()=>i,uR:()=>q,x0:()=>k,zv:()=>v});var d=c(21820),e=c(13946);function f(){return"0.1.39"}c(2607);let g=e.xq["gemini-cli"]?.cliVersion,h=e.xq["gemini-cli"]?.apiClient;function i(a="unknown"){let b;return`GeminiCLI/${g}/${a||"unknown"} (${(0,d.platform)()}; ${"ia32"===(b=(0,d.arch)())?"x86":b}; terminal)`}let j=e.xq.github?.copilot||{},k={VSCODE_VERSION:j.vscodeVersion,COPILOT_CHAT_VERSION:j.chatVersion,USER_AGENT:j.userAgent,API_VERSION:j.apiVersion};function l(){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)}function m(){return`antigravity/1.104.0 ${(0,d.platform)()}/${(0,d.arch)()}`}let n={ideType:9,platform:l(),pluginType:2},o={name:"x-request-source",value:"local"},p="_ide",q="_ide",r=new Set(["browser_subagent","command_status","find_by_name","generate_image","grep_search","list_dir","list_resources","multi_replace_file_content","notify_user","read_resource","read_terminal","read_url_content","replace_file_content","run_command","search_web","send_command_input","task_boundary","view_content_chunk","view_file","write_to_file"]),s={"User-Agent":`antigravity/1.107.0 ${(0,d.platform)()}/${(0,d.arch)()}`},t={loadCodeAssist:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUser:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser"},u={"Content-Type":"application/json","User-Agent":"google-api-nodejs-client/9.15.1","X-Goog-Api-Client":"google-cloud-sdk vscode_cloudshelleditor/0.1","Client-Metadata":JSON.stringify({ideType:9,platform:l(),pluginType:2})},v={ideType:9,platform:l(),pluginType:2},w="You are Claude Code, Anthropic's official CLI for Claude.",x="You are Antigravity, a powerful agentic AI coding assistant designed by the Google Deepmind team working on Advanced Agentic Coding.You are pair programming with a USER to solve their coding task. The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question.**Absolute paths only****Proactiveness**",y=Object.fromEntries(Object.entries(e.sr).filter(([,a])=>a.refreshLeadMs).map(([a,b])=>[a,b.refreshLeadMs])),z={google:{token:"https://oauth2.googleapis.com/token",auth:"https://accounts.google.com/o/oauth2/auth"},openai:{token:e.sr.codex?.tokenUrl,auth:e.sr.codex?.authorizeUrl},anthropic:{token:e.sr.claude?.tokenUrl,auth:"https://api.anthropic.com/v1/oauth/authorize"},qwen:{token:e.sr.qwen?.tokenUrl,auth:e.sr.qwen?.deviceCodeUrl},iflow:{token:e.sr.iflow?.tokenUrl,auth:e.sr.iflow?.authorizeUrl},github:{token:e.sr.github?.tokenUrl,auth:e.sr.github?.authorizeUrl,deviceCode:e.sr.github?.deviceCodeUrl}};function A(){return{"X-Msh-Platform":"9router","X-Msh-Version":"2.1.2","X-Msh-Device-Model":"u">typeof process?`${process.platform} ${process.arch}`:"unknown","X-Msh-Device-Id":`kimi-${Date.now()}`}}},28765:(a,b,c)=>{c.d(b,{Vq:()=>k,fp:()=>i});var d=c(91392),e=c(68711);let f=e.sr.codex?.maxRefreshAgeMs,g=new Map;function h(a){if(null==a||""===a)return null;if("number"==typeof a)return a<1e12?1e3*a:a;let b=new Date(a).getTime();return Number.isFinite(b)?b:null}function i(a,b,c=Date.now()){if(!b)return!1;let g=h(b?.expiresAt??b?.tokenExpiresAt);if(null!==g&&g-c<(0,d.Og)(a))return!0;let j=e.sr[a]?.maxRefreshAgeMs;return!!(j&&b.refreshToken&&function(a,b=Date.now(),c=f){let d=h(a?.lastRefreshAt??a?.lastRefresh??a?.providerSpecificData?.lastRefreshAt);return!d||b-d>=c}(b,c,j))}async function j(a,b,c){let d,e=(d=b?.connectionId||b?.id||b?.email||b?.name||b?.refreshToken?.slice?.(-16)||"default",`${a}:${d}`),f=g.get(e);if(f)return f;let h=Promise.resolve().then(c).finally(()=>{g.delete(e)});return g.set(e,h),h}async function k(a,b,c){return b?j(a,b,async()=>{let f=await (0,d.$B)(a,b,c);return function(a,b,c,f=Date.now()){var g,h;if(!c)return null;if((0,d.jT)(c))return c;let i={},j=new Date(f).toISOString();c.accessToken&&(i.accessToken=c.accessToken),c.apiKey&&(i.apiKey=c.apiKey),c.token&&(i.token=c.token);let k=c.refreshToken??b?.refreshToken;k&&(i.refreshToken=k);let l=c.idToken??b?.idToken;return l&&(i.idToken=l),c.expiresIn?(i.expiresIn=c.expiresIn,i.expiresAt=function(a,b=Date.now()){return a?new Date(b+1e3*a).toISOString():null}(c.expiresIn,f)):c.expiresAt&&(i.expiresAt=c.expiresAt),c.projectId&&(i.projectId=c.projectId),c.providerSpecificData&&(g=b?.providerSpecificData,i.providerSpecificData=(h=c.providerSpecificData)&&"object"==typeof h?{...g||{},...h}:g),c.copilotToken&&(i.copilotToken=c.copilotToken),c.copilotTokenExpiresAt&&(i.copilotTokenExpiresAt=c.copilotTokenExpiresAt),(e.sr[a]?.trackRefreshAt||i.accessToken||i.apiKey||i.token||i.refreshToken||i.copilotToken)&&(i.lastRefreshAt=c.lastRefreshAt||j),i}(a,b,f)}):null}},91392:(a,b,c)=>{c.d(b,{oD:()=>w,Og:()=>y,jT:()=>x,Sc:()=>z,jR:()=>u,I9:()=>n,Ql:()=>r,$B:()=>E,pb:()=>B,qZ:()=>F});var d=c(13946),e=c(22830),f=c(2607);let g=new Map;async function h(a,b,c,d){if(!b)return c();let e=`${a}:${b}`,f=g.get(e);if(f){if(f.promise)return d?.info?.("TOKEN_REFRESH",`Reusing in-flight refresh for ${a}`),f.promise;if(f.expiresAt>Date.now())return d?.info?.("TOKEN_REFRESH",`Reusing recent refresh result for ${a}`),f.result;g.delete(e)}let h=(async()=>{try{let a=await c();return g.set(e,{result:a,expiresAt:Date.now()+1e4}),a}catch(a){throw g.delete(e),a}})();return g.set(e,{promise:h}),h}var i=c(91550);let j=null;async function k(a,b){return a?h("xai",a,async()=>{try{j||(j=new(await Promise.all([c.e(4105),c.e(715)]).then(c.bind(c,10715))).XaiService);let b=await j.refreshAccessToken(a);return{accessToken:b.access_token,refreshToken:b.refresh_token||a,expiresIn:b.expires_in,idToken:b.id_token}}catch(c){b?.warn?.("TOKEN_REFRESH",`xai refresh failed: ${c?.message||c}`);let a=String(c?.message||"");if(a.includes("invalid_grant")||a.includes("invalid_request"))return{error:"invalid_grant"};return null}},b):null}async function l(a,b,c,e){let f=d.xq[a];return f&&f.refreshUrl?b?h(a,b,async()=>{try{let c=await fetch(f.refreshUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:b,client_id:f.clientId,client_secret:f.clientSecret})});if(!c.ok){let b=await c.text();return e?.error?.("TOKEN_REFRESH",`Failed to refresh token for ${a}`,{status:c.status,error:b}),null}let d=await c.json();return e?.info?.("TOKEN_REFRESH",`Successfully refreshed token for ${a}`,{hasNewAccessToken:!!d.access_token,hasNewRefreshToken:!!d.refresh_token,expiresIn:d.expires_in}),{accessToken:d.access_token,refreshToken:d.refresh_token||b,expiresIn:d.expires_in}}catch(b){return e?.error?.("TOKEN_REFRESH",`Error refreshing token for ${a}`,{error:b.message}),null}},e):(e?.warn?.("TOKEN_REFRESH",`No refresh token available for provider: ${a}`),null):(e?.warn?.("TOKEN_REFRESH",`No refresh URL configured for provider: ${a}`),null)}async function m(a,b){return a?h("claude",a,async()=>{try{let c=await fetch(e.NA.anthropic.token,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({grant_type:"refresh_token",refresh_token:a,client_id:d.xq.claude.clientId})});if(!c.ok){let a=await c.text();return b?.error?.("TOKEN_REFRESH","Failed to refresh Claude OAuth token",{status:c.status,error:a}),null}let f=await c.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Claude OAuth token",{hasNewAccessToken:!!f.access_token,expiresIn:f.expires_in}),{accessToken:f.access_token,refreshToken:f.refresh_token||a,expiresIn:f.expires_in}}catch(a){return b?.error?.("TOKEN_REFRESH",`Network error refreshing Claude token: ${a.message}`),null}},b):null}async function n(a,b,c,d){return a?h(`google:${b}`,a,async()=>{try{let f=await fetch(e.NA.google.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:a,client_id:b,client_secret:c})});if(!f.ok){let a=await f.text();return d?.error?.("TOKEN_REFRESH","Failed to refresh Google token",{status:f.status,error:a}),null}let g=await f.json();return d?.info?.("TOKEN_REFRESH","Successfully refreshed Google token",{hasNewAccessToken:!!g.access_token,expiresIn:g.expires_in}),{accessToken:g.access_token,refreshToken:g.refresh_token||a,expiresIn:g.expires_in}}catch(a){return d?.error?.("TOKEN_REFRESH",`Network error refreshing Google token: ${a.message}`),null}},d):null}async function o(a,b){return a?h("qwen",a,async()=>{let c=e.NA.qwen.token;try{let e=await fetch(c,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:a,client_id:d.xq.qwen.clientId})});if(200===e.status){let c=await e.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Qwen token",{hasNewAccessToken:!!c.access_token,hasNewRefreshToken:!!c.refresh_token,expiresIn:c.expires_in}),{accessToken:c.access_token,refreshToken:c.refresh_token||a,expiresIn:c.expires_in,providerSpecificData:c.resource_url?{resourceUrl:c.resource_url}:void 0}}{let a=await e.text().catch(()=>"");b?.warn?.("TOKEN_REFRESH","Error with Qwen endpoint",{status:e.status,error:a})}}catch(a){b?.warn?.("TOKEN_REFRESH","Network error trying Qwen endpoint",{error:a.message})}return b?.error?.("TOKEN_REFRESH","Failed to refresh Qwen token"),null},b):null}async function p(a,b){return a?h("codex",a,async()=>{try{let c=await fetch(e.NA.openai.token,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({client_id:d.xq.codex.clientId,grant_type:"refresh_token",refresh_token:a})});if(!c.ok){let a=await c.text(),d=function(a="",b=0){let c=null;try{c=a?JSON.parse(a):null}catch{c=null}let d=c?.error?.code||c?.error||c?.error_code||"",e=c?.error_description||c?.message||a||"",f=`${d} ${e}`.toLowerCase();return{status:b,code:d,description:e,permanent:["refresh_token_expired","refresh_token_reused","refresh_token_invalidated","invalid_grant"].some(a=>f.includes(a))}}(a,c.status);if(d.permanent)return b?.error?.("TOKEN_REFRESH","Codex refresh token already used or invalid. Re-auth required.",{status:c.status,code:d.code}),{error:"unrecoverable_refresh_error",code:d.code};return b?.error?.("TOKEN_REFRESH","Failed to refresh Codex token",{status:c.status,error:a,code:d.code,permanent:d.permanent}),null}let f=await c.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Codex token",{hasNewAccessToken:!!f.access_token,hasNewRefreshToken:!!f.refresh_token,hasIdToken:!!f.id_token,expiresIn:f.expires_in}),{accessToken:f.access_token,refreshToken:f.refresh_token||a,idToken:f.id_token,expiresIn:f.expires_in}}catch(a){return b?.error?.("TOKEN_REFRESH",`Network error refreshing Codex token: ${a.message}`),null}},b):null}async function q(a,b,d){if(a?.profileArn)return{};let e=d?.trim?.()||null;if(!e){let{fetchKiroProfileArn:a}=await Promise.all([c.e(3398),c.e(7010),c.e(7916),c.e(2445),c.e(4418),c.e(4574),c.e(2557),c.e(6975),c.e(6085)]).then(c.bind(c,96975));e=await a(b)}return e?{providerSpecificData:{profileArn:e}}:{}}async function r(a,b,c,e=null){return a?h("kiro",a,async()=>{let g=b?.authMethod,h=b?.clientId,j=b?.clientSecret,k=b?.region;if("external_idp"===g){let d;try{d=(0,i.uo)(a,b)}catch(a){return c?.warn?.("TOKEN_REFRESH",`Invalid Kiro external_idp refresh config: ${a.message}`),null}let g=await (0,f.proxyAwareFetch)(d.tokenEndpoint,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:d.body},e);if(!g.ok){let a=await g.text();return c?.error?.("TOKEN_REFRESH","Failed to refresh Kiro external_idp token",{status:g.status,error:a}),null}let h=await g.json();return c?.info?.("TOKEN_REFRESH","Successfully refreshed Kiro external_idp token",{hasNewAccessToken:!!h.access_token,hasNewRefreshToken:!!h.refresh_token,expiresIn:h.expires_in}),{accessToken:h.access_token,refreshToken:h.refresh_token||a,expiresIn:h.expires_in,providerSpecificData:d.providerSpecificData}}if(h&&j){let d="idc"===g&&k?`https://oidc.${k}.amazonaws.com/token`:"https://oidc.us-east-1.amazonaws.com/token",i=await (0,f.proxyAwareFetch)(d,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({clientId:h,clientSecret:j,refreshToken:a,grantType:"refresh_token"})},e);if(!i.ok){let a=await i.text();return c?.error?.("TOKEN_REFRESH","Failed to refresh Kiro AWS token",{status:i.status,error:a}),null}let l=await i.json();return c?.info?.("TOKEN_REFRESH","Successfully refreshed Kiro AWS token",{hasNewAccessToken:!!l.accessToken,expiresIn:l.expiresIn}),{accessToken:l.accessToken,refreshToken:l.refreshToken||a,expiresIn:l.expiresIn,...await q(b,l.accessToken,l.profileArn)}}let l=await (0,f.proxyAwareFetch)(d.xq.kiro.tokenUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":"kiro-cli/1.0.0"},body:JSON.stringify({refreshToken:a})},e);if(!l.ok){let a=await l.text();return c?.error?.("TOKEN_REFRESH","Failed to refresh Kiro social token",{status:l.status,error:a}),null}let m=await l.json();return c?.info?.("TOKEN_REFRESH","Successfully refreshed Kiro social token",{hasNewAccessToken:!!m.accessToken,expiresIn:m.expiresIn}),{accessToken:m.accessToken,refreshToken:m.refreshToken||a,expiresIn:m.expiresIn,...await q(b,m.accessToken,m.profileArn)}},c):null}async function s(a,b){return a?h("iflow",a,async()=>{let c=btoa(`${d.xq.iflow.clientId}:${d.xq.iflow.clientSecret}`),f=await fetch(e.NA.iflow.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json",Authorization:`Basic ${c}`},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:a,client_id:d.xq.iflow.clientId,client_secret:d.xq.iflow.clientSecret})});if(!f.ok){let a=await f.text();return b?.error?.("TOKEN_REFRESH","Failed to refresh iFlow token",{status:f.status,error:a}),null}let g=await f.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed iFlow token",{hasNewAccessToken:!!g.access_token,hasNewRefreshToken:!!g.refresh_token,expiresIn:g.expires_in}),{accessToken:g.access_token,refreshToken:g.refresh_token||a,expiresIn:g.expires_in}},b):null}async function t(a,b){return a?h("github",a,async()=>{let c={grant_type:"refresh_token",refresh_token:a,client_id:d.xq.github.clientId};d.xq.github.clientSecret&&(c.client_secret=d.xq.github.clientSecret);let f=await fetch(e.NA.github.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams(c)});if(!f.ok){let a=await f.text();return b?.error?.("TOKEN_REFRESH","Failed to refresh GitHub token",{status:f.status,error:a}),null}let g=await f.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed GitHub token",{hasNewAccessToken:!!g.access_token,hasNewRefreshToken:!!g.refresh_token,expiresIn:g.expires_in}),{accessToken:g.access_token,refreshToken:g.refresh_token||a,expiresIn:g.expires_in}},b):null}async function u(a,b){return a?h("copilot",a,async()=>{try{let c=await fetch(d.sr.github?.copilotTokenUrl,{headers:{Authorization:`token ${a}`,"User-Agent":e.x0.USER_AGENT,"Editor-Version":`vscode/${e.x0.VSCODE_VERSION}`,"Editor-Plugin-Version":`copilot-chat/${e.x0.COPILOT_CHAT_VERSION}`,Accept:"application/json","x-github-api-version":e.x0.API_VERSION}});if(!c.ok){let a=await c.text();return b?.error?.("TOKEN_REFRESH","Failed to refresh Copilot token",{status:c.status,error:a}),null}let f=await c.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Copilot token",{hasToken:!!f.token,expiresAt:f.expires_at}),{token:f.token,expiresAt:f.expires_at}}catch(a){return b?.error?.("TOKEN_REFRESH","Error refreshing Copilot token",{error:a.message}),null}},b):null}async function v(a,b){return a?h("codebuddy-cn",a,async()=>{let c=d.sr["codebuddy-cn"]||{},e=await fetch(c.refreshUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":c.userAgent,"X-Requested-With":"XMLHttpRequest","X-Domain":"copilot.tencent.com","X-Refresh-Token":a,"X-Auth-Refresh-Source":"plugin","X-Product":"SaaS"},body:"{}"});if(!e.ok){let a=await e.text();return b?.error?.("TOKEN_REFRESH","Failed to refresh CodeBuddy token",{status:e.status,error:a}),null}let f=await e.json();return 0===f.code&&f.data?.accessToken?(b?.info?.("TOKEN_REFRESH","Successfully refreshed CodeBuddy token",{hasNewAccessToken:!!f.data.accessToken,hasNewRefreshToken:!!f.data.refreshToken,expiresIn:f.data.expiresIn}),{accessToken:f.data.accessToken,refreshToken:f.data.refreshToken||a,expiresIn:f.data.expiresIn}):(b?.error?.("TOKEN_REFRESH","CodeBuddy token refresh returned no token",{code:f.code,msg:f.msg}),null)},b):null}let w=3e5;function x(a){return a&&"object"==typeof a&&("unrecoverable_refresh_error"===a.error||"refresh_token_reused"===a.error||"invalid_request"===a.error||"invalid_grant"===a.error)}function y(a){return e.Wu[a]||w}function z(a){if("string"!=typeof a)return null;try{let b=JSON.parse(a);if("service_account"===b.type&&b.client_email&&b.private_key&&b.project_id)return b;return null}catch{return null}}let A=new Map;async function B(a,b){let d=a.client_email,f=A.get(d);if(f&&f.expiresAt-Date.now()>3e5)return{accessToken:f.token,expiresAt:f.expiresAt};try{let{SignJWT:f,importPKCS8:g}=await Promise.all([c.e(5924),c.e(7947)]).then(c.bind(c,87947));b?.debug?.("TOKEN_REFRESH",`Vertex minting token for ${a.client_email}`);let h=await g(a.private_key.replace(/\\n/g,"\n"),"RS256"),i=Math.floor(Date.now()/1e3),j=await new f({scope:"https://www.googleapis.com/auth/cloud-platform"}).setProtectedHeader({alg:"RS256"}).setIssuer(a.client_email).setAudience(e.NA.google.token).setIssuedAt(i).setExpirationTime(i+3600).sign(h),k=await fetch(e.NA.google.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:j})});if(!k.ok){let a=await k.text();return b?.error?.("TOKEN_REFRESH",`Vertex token mint failed: ${a}`),null}let{access_token:l,expires_in:m}=await k.json(),n=Date.now()+(m??3600)*1e3;return A.set(d,{token:l,expiresAt:n}),b?.info?.("TOKEN_REFRESH",`Vertex token minted for ${a.client_email}`),{accessToken:l,expiresAt:n}}catch(a){return b?.error?.("TOKEN_REFRESH",`Vertex token error: ${a.message}`),null}}function C(a,b){let c=z(a.apiKey);return c?B(c,b):null}let D={"gemini-cli":(a,b)=>n(a.refreshToken,d.xq["gemini-cli"].clientId,d.xq["gemini-cli"].clientSecret,b),antigravity:(a,b)=>n(a.refreshToken,d.xq.antigravity.clientId,d.xq.antigravity.clientSecret,b),claude:(a,b)=>m(a.refreshToken,b),codex:(a,b)=>p(a.refreshToken,b),qwen:(a,b)=>o(a.refreshToken,b),iflow:(a,b)=>s(a.refreshToken,b),github:(a,b)=>t(a.refreshToken,b),kiro:(a,b)=>r(a.refreshToken,a.providerSpecificData,b),xai:(a,b)=>k(a.refreshToken,b),"codebuddy-cn":(a,b)=>v(a.refreshToken,b),vertex:C,"vertex-partner":C};async function E(a,b,c){if(!b.refreshToken)return null;let d=D[a];return d?d(b,c):l(a,b.refreshToken,b,c)}async function F(a,b=3,c=null){async function d(e){if(e>0){let a=1e3*e;c?.debug?.("TOKEN_REFRESH",`Retry ${e}/${b} after ${a}ms`),await new Promise(b=>setTimeout(b,a))}try{let b=await a();if(b)return b}catch(a){c?.warn?.("TOKEN_REFRESH",`Attempt ${e+1}/${b} failed: ${a.message}`)}return e+1>=b?(c?.error?.("TOKEN_REFRESH",`All ${b} retry attempts failed`),null):d(e+1)}return d(0)}},91550:(a,b,c)=>{c.d(b,{Xj:()=>i,uo:()=>j});let d=new Set(["login.microsoftonline.com","login.microsoft.com","login.windows.net"]);function e(a){return"string"==typeof a?a.trim():""}function f(a){let b,c=e(a);if(!c)throw Error("token_endpoint is required");try{b=new URL(c)}catch{throw Error("token_endpoint must be a valid URL")}if("https:"!==b.protocol)throw Error("token_endpoint must use https");let f=b.hostname.toLowerCase();if(!d.has(f))throw Error("token_endpoint must be a Microsoft login endpoint");return b.toString()}function g(a){return Array.isArray(a)?a.map(e).filter(Boolean).join(" "):e(a)}function h(a){try{if(!a||"string"!=typeof a)return null;let b=a.split(".");if(3!==b.length)return null;let c=b[1].replace(/-/g,"+").replace(/_/g,"/"),d=(4-c.length%4)%4;return JSON.parse(Buffer.from(`${c}${"=".repeat(d)}`,"base64").toString("utf8"))}catch{return null}}function i(a){let b=a;if("string"==typeof b)try{b=JSON.parse(b)}catch{throw Error("CLIProxyAPI auth JSON is invalid")}if(!b||"object"!=typeof b)throw Error("CLIProxyAPI auth JSON is required");let c=e(b.auth_method||b.authMethod);if(c&&"external_idp"!==c)throw Error("Only external_idp Kiro auth is supported by this importer");let d=e(b.access_token||b.accessToken),i=e(b.refresh_token||b.refreshToken),j=e(b.client_id||b.clientId),k=f(b.token_endpoint||b.tokenEndpoint),l=e(b.profile_arn||b.profileArn),m=e(b.region)||"us-east-1",n=g(b.scopes||b.scope);if(!d)throw Error("access_token is required");if(!i)throw Error("refresh_token is required");if(!j)throw Error("client_id is required");if(!n)throw Error("scopes is required");if(!l)throw Error("profile_arn is required");let o=h(d),p=b.email||o?.email||o?.preferred_username||o?.upn||o?.sub||null;return{accessToken:d,refreshToken:i,expiresAt:function(a){let b=a.expired||a.expires_at||a.expiresAt;if(b){let a=new Date(b).getTime();if(Number.isFinite(a))return new Date(a).toISOString()}let c=Number(a.expires_in||a.expiresIn||0);if(Number.isFinite(c)&&c>0)return new Date(Date.now()+1e3*c).toISOString();let d=h(a.access_token||a.accessToken);return d?.exp?new Date(1e3*d.exp).toISOString():new Date(Date.now()+36e5).toISOString()}(b),email:p,providerSpecificData:{profileArn:l,region:m,authMethod:"external_idp",provider:"CLIProxyAPI",clientId:j,tokenEndpoint:k,scope:n}}}function j(a,b={}){let c=e(b.clientId||b.client_id),d=f(b.tokenEndpoint||b.token_endpoint),h=g(b.scope||b.scopes);if(!a)throw Error("refresh token is required");if(!c)throw Error("clientId is required for external_idp refresh");if(!h)throw Error("scope is required for external_idp refresh");return{tokenEndpoint:d,body:new URLSearchParams({grant_type:"refresh_token",client_id:c,refresh_token:a,scope:h}),providerSpecificData:{...b,authMethod:"external_idp",clientId:c,tokenEndpoint:d,scope:h}}}},94164:(a,b,c)=>{c.d(b,{CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,bI:()=>d.bI,c:()=>d.c,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,r4:()=>d.r4,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(45479)}};
@@ -1 +1 @@
1
- exports.id=383,exports.ids=[383,1253,5577],exports.modules={13674:()=>{},13946:(a,b,c)=>{"use strict";c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(68711);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},39006:a=>{"use strict";a.exports={rE:"0.8.7"}},41073:(a,b,c)=>{"use strict";c.d(b,{g:()=>m,l:()=>l});var d=c(79646),e=c(33873),f=c.n(e),g=c(29021),h=c.n(g),i=c(21820),j=c.n(i),k=c(79603);async function l(){!function(){try{let a=f().join("win32"===process.platform?f().join(process.env.APPDATA||"","9router"):f().join(j().homedir(),".9router"),"mitm",".mitm.pid");if(!h().existsSync(a))return;let b=parseInt(h().readFileSync(a,"utf8").trim(),10);if(!b)return;if("win32"===process.platform)try{(0,d.execSync)(`taskkill /F /T /PID ${b}`,{stdio:"ignore",windowsHide:!0,timeout:3e3})}catch{try{(0,d.execSync)(`powershell -NonInteractive -WindowStyle Hidden -Command "Stop-Process -Id ${b} -Force"`,{stdio:"ignore",windowsHide:!0,timeout:3e3})}catch{}}else try{(0,d.execSync)(`sudo -n kill -9 ${b} 2>/dev/null`,{stdio:"ignore",timeout:3e3})}catch{try{process.kill(b,"SIGKILL")}catch{}}try{h().unlinkSync(a)}catch{}}catch{}}();let a=function(){let a=[];if("win32"===process.platform){try{(0,d.execSync)('powershell -NonInteractive -WindowStyle Hidden -Command "Get-WmiObject Win32_Process -Filter \'Name=\\"node.exe\\"\' | Select-Object ProcessId,CommandLine | ConvertTo-Csv -NoTypeInformation"',{encoding:"utf8",windowsHide:!0,timeout:5e3}).split("\n").slice(1).filter(a=>a.trim()).forEach(b=>{let c=b.toLowerCase();if(c.includes("9router")||c.includes("next-server")||c.includes("\\bin\\app\\")||c.includes("/bin/app/")||c.includes("cli.js")){let c=b.match(/^"(\d+)"/);c&&c[1]&&c[1]!==process.pid.toString()&&a.push(c[1])}})}catch{}for(let b of["cloudflared","tray_windows_release"])try{let c=`powershell -NonInteractive -WindowStyle Hidden -Command "Get-Process ${b} -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Id"`;(0,d.execSync)(c,{encoding:"utf8",windowsHide:!0,timeout:5e3}).split("\n").forEach(b=>{let c=b.trim();c&&!isNaN(c)&&a.push(c)})}catch{}}else try{(0,d.execSync)("ps aux 2>/dev/null",{encoding:"utf8",timeout:5e3}).split("\n").forEach(b=>{if(b.includes("9router")||b.includes("next-server")||b.includes("cloudflared")||b.includes("/bin/app/")||b.includes("tray_darwin")||b.includes("tray_linux")){let c=b.trim().split(/\s+/)[1];c&&!isNaN(c)&&c!==process.pid.toString()&&a.push(c)}})}catch{}return a}(),b=process.platform;a.forEach(a=>{try{"win32"===b?(0,d.execSync)(`taskkill /F /PID ${a} 2>nul`,{stdio:"ignore",shell:!0,windowsHide:!0,timeout:3e3}):(0,d.execSync)(`kill -9 ${a} 2>/dev/null`,{stdio:"ignore",timeout:3e3})}catch{}}),a.length>0&&await new Promise(a=>setTimeout(a,1500))}function m(a=k.h0.npmPackageName){let b=function(a){try{if(!a||!h().existsSync(a))return a;let b=f().join(process.env.DATA_DIR?process.env.DATA_DIR:"win32"===process.platform?f().join(process.env.APPDATA||f().join(j().homedir(),"AppData","Roaming"),"9router"):f().join(j().homedir(),".9router"),"runtime","updater"),c=f().join(b,"updater.js");if(h().existsSync(c))try{if(h().statSync(a).size===h().statSync(c).size)return c}catch{}return h().mkdirSync(b,{recursive:!0}),h().copyFileSync(a,c),c}catch{return a}}(function(){if(process.env.UPDATER_SCRIPT_PATH&&h().existsSync(process.env.UPDATER_SCRIPT_PATH))return process.env.UPDATER_SCRIPT_PATH;let a=f().join(process.cwd(),"src","lib","updater","updater.js");if(h().existsSync(a))return a;let b=f().join(process.cwd(),"..","src","lib","updater","updater.js");return h().existsSync(b)?b:a}()),c="1"===process.env.TRAY_MODE,e={cmd:"win32"===process.platform?"npx.cmd":"npx",args:[k.h0.npmPackageName]},g=c?[...e.args,"--tray","--skip-update"]:[...e.args,"--skip-update"];(0,d.spawn)(process.execPath,[b],{detached:!0,stdio:"ignore",windowsHide:!0,env:{...process.env,UPDATER_PKG_NAME:a,UPDATER_PORT:String(k.h0.statusPort),UPDATER_TAIL_LINES:String(k.h0.statusLogTailLines),UPDATER_RETRIES:String(k.h0.installRetries),UPDATER_RETRY_DELAY_MS:String(k.h0.installRetryDelayMs),UPDATER_LINGER_MS:String(k.h0.lingerAfterDoneMs),UPDATER_WAIT_MIN_MS:String(k.h0.waitForExitMinMs),UPDATER_WAIT_MAX_MS:String(k.h0.waitForExitMaxMs),UPDATER_WAIT_CHECK_MS:String(k.h0.waitForExitCheckMs),UPDATER_APP_PORT:String(k.h0.appPort),UPDATER_RELAUNCH:"1",UPDATER_RELAUNCH_CMD:e.cmd,UPDATER_RELAUNCH_ARGS:JSON.stringify(g)}}).unref(),setTimeout(()=>process.exit(0),k.h0.exitDelayMs)}},67259:(a,b,c)=>{"use strict";c.d(b,{CP:()=>f,Xg:()=>d.Xg,eh:()=>e,vq:()=>d.PROVIDER_MODELS});var d=c(85577);Object.entries(c(91253).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b},79603:(a,b,c)=>{"use strict";c.d(b,{UY:()=>h,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,oc:()=>i});var d=c(39006),e=c(91253),f=c(67259);d.rE;let g={npmPackageName:"vansrouter",installCmd:"npm i -g vansrouter",installCmdLatest:"npm i -g vansrouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20128},h={maxLines:200,pollIntervalMs:1e3},i={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.5",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"}}}},85577:(a,b,c)=>{"use strict";c.d(b,{Xg:()=>o,PROVIDER_MODELS:()=>f.vq,fZ:()=>j,cY:()=>p,ux:()=>k,OA:()=>l,kt:()=>m,SM:()=>i});var d=c(13946),e=c(69765),f=c(68711),g=c(57959);let h="-review";function i(a){return f.vq[a]||[]}function j(a){let b=f.vq[a];return b?.[0]?.id||null}function k(a,b){let c=f.vq[a];return c?(0,g.gr)(c.find(a=>a.id===b)):null}function l(a,b){let c=f.vq[a];if(!c)return null;let d=c.find(a=>a.id===b);return d?.kind||d?.type||null}function m(a,b){let c=f.vq[a],d=c?.find(a=>a.id===b);return d?.upstreamModelId?d.upstreamModelId:"cx"===a&&"string"==typeof b&&b.endsWith(h)?b.slice(0,-h.length):b}let n=Object.fromEntries(e.A.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias])),o=Object.fromEntries(Object.keys(d.xq).map(a=>[a,n[a]||a]));function p(a,b){return(0,g.g5)(f.vq[a]?.find(a=>a.id===b))}},91253:(a,b,c)=>{"use strict";c.d(b,{AI_PROVIDERS:()=>s,js:()=>w,DI:()=>n,fg:()=>k,Pd:()=>o,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>m,jO:()=>y,wb:()=>x,br:()=>l,wG:()=>v,zt:()=>t,gb:()=>q,gC:()=>r,mq:()=>p,rs:()=>u});var d=c(69765);let e="⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.A.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.A.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.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)])),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=d.A.filter(a=>a.features?.usage).map(a=>a.id),y=d.A.filter(a=>a.features?.usageApikey).map(a=>a.id)},95522:()=>{}};
1
+ exports.id=383,exports.ids=[383,1253,5577],exports.modules={13674:()=>{},13946:(a,b,c)=>{"use strict";c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(68711);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},39006:a=>{"use strict";a.exports={rE:"0.8.9"}},41073:(a,b,c)=>{"use strict";c.d(b,{g:()=>m,l:()=>l});var d=c(79646),e=c(33873),f=c.n(e),g=c(29021),h=c.n(g),i=c(21820),j=c.n(i),k=c(79603);async function l(){!function(){try{let a=f().join("win32"===process.platform?f().join(process.env.APPDATA||"","9router"):f().join(j().homedir(),".9router"),"mitm",".mitm.pid");if(!h().existsSync(a))return;let b=parseInt(h().readFileSync(a,"utf8").trim(),10);if(!b)return;if("win32"===process.platform)try{(0,d.execSync)(`taskkill /F /T /PID ${b}`,{stdio:"ignore",windowsHide:!0,timeout:3e3})}catch{try{(0,d.execSync)(`powershell -NonInteractive -WindowStyle Hidden -Command "Stop-Process -Id ${b} -Force"`,{stdio:"ignore",windowsHide:!0,timeout:3e3})}catch{}}else try{(0,d.execSync)(`sudo -n kill -9 ${b} 2>/dev/null`,{stdio:"ignore",timeout:3e3})}catch{try{process.kill(b,"SIGKILL")}catch{}}try{h().unlinkSync(a)}catch{}}catch{}}();let a=function(){let a=[];if("win32"===process.platform){try{(0,d.execSync)('powershell -NonInteractive -WindowStyle Hidden -Command "Get-WmiObject Win32_Process -Filter \'Name=\\"node.exe\\"\' | Select-Object ProcessId,CommandLine | ConvertTo-Csv -NoTypeInformation"',{encoding:"utf8",windowsHide:!0,timeout:5e3}).split("\n").slice(1).filter(a=>a.trim()).forEach(b=>{let c=b.toLowerCase();if(c.includes("9router")||c.includes("next-server")||c.includes("\\bin\\app\\")||c.includes("/bin/app/")||c.includes("cli.js")){let c=b.match(/^"(\d+)"/);c&&c[1]&&c[1]!==process.pid.toString()&&a.push(c[1])}})}catch{}for(let b of["cloudflared","tray_windows_release"])try{let c=`powershell -NonInteractive -WindowStyle Hidden -Command "Get-Process ${b} -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Id"`;(0,d.execSync)(c,{encoding:"utf8",windowsHide:!0,timeout:5e3}).split("\n").forEach(b=>{let c=b.trim();c&&!isNaN(c)&&a.push(c)})}catch{}}else try{(0,d.execSync)("ps aux 2>/dev/null",{encoding:"utf8",timeout:5e3}).split("\n").forEach(b=>{if(b.includes("9router")||b.includes("next-server")||b.includes("cloudflared")||b.includes("/bin/app/")||b.includes("tray_darwin")||b.includes("tray_linux")){let c=b.trim().split(/\s+/)[1];c&&!isNaN(c)&&c!==process.pid.toString()&&a.push(c)}})}catch{}return a}(),b=process.platform;a.forEach(a=>{try{"win32"===b?(0,d.execSync)(`taskkill /F /PID ${a} 2>nul`,{stdio:"ignore",shell:!0,windowsHide:!0,timeout:3e3}):(0,d.execSync)(`kill -9 ${a} 2>/dev/null`,{stdio:"ignore",timeout:3e3})}catch{}}),a.length>0&&await new Promise(a=>setTimeout(a,1500))}function m(a=k.h0.npmPackageName){let b=function(a){try{if(!a||!h().existsSync(a))return a;let b=f().join(process.env.DATA_DIR?process.env.DATA_DIR:"win32"===process.platform?f().join(process.env.APPDATA||f().join(j().homedir(),"AppData","Roaming"),"9router"):f().join(j().homedir(),".9router"),"runtime","updater"),c=f().join(b,"updater.js");if(h().existsSync(c))try{if(h().statSync(a).size===h().statSync(c).size)return c}catch{}return h().mkdirSync(b,{recursive:!0}),h().copyFileSync(a,c),c}catch{return a}}(function(){if(process.env.UPDATER_SCRIPT_PATH&&h().existsSync(process.env.UPDATER_SCRIPT_PATH))return process.env.UPDATER_SCRIPT_PATH;let a=f().join(process.cwd(),"src","lib","updater","updater.js");if(h().existsSync(a))return a;let b=f().join(process.cwd(),"..","src","lib","updater","updater.js");return h().existsSync(b)?b:a}()),c="1"===process.env.TRAY_MODE,e={cmd:"win32"===process.platform?"npx.cmd":"npx",args:[k.h0.npmPackageName]},g=c?[...e.args,"--tray","--skip-update"]:[...e.args,"--skip-update"];(0,d.spawn)(process.execPath,[b],{detached:!0,stdio:"ignore",windowsHide:!0,env:{...process.env,UPDATER_PKG_NAME:a,UPDATER_PORT:String(k.h0.statusPort),UPDATER_TAIL_LINES:String(k.h0.statusLogTailLines),UPDATER_RETRIES:String(k.h0.installRetries),UPDATER_RETRY_DELAY_MS:String(k.h0.installRetryDelayMs),UPDATER_LINGER_MS:String(k.h0.lingerAfterDoneMs),UPDATER_WAIT_MIN_MS:String(k.h0.waitForExitMinMs),UPDATER_WAIT_MAX_MS:String(k.h0.waitForExitMaxMs),UPDATER_WAIT_CHECK_MS:String(k.h0.waitForExitCheckMs),UPDATER_APP_PORT:String(k.h0.appPort),UPDATER_RELAUNCH:"1",UPDATER_RELAUNCH_CMD:e.cmd,UPDATER_RELAUNCH_ARGS:JSON.stringify(g)}}).unref(),setTimeout(()=>process.exit(0),k.h0.exitDelayMs)}},67259:(a,b,c)=>{"use strict";c.d(b,{CP:()=>f,Xg:()=>d.Xg,eh:()=>e,vq:()=>d.PROVIDER_MODELS});var d=c(85577);Object.entries(c(91253).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b},79603:(a,b,c)=>{"use strict";c.d(b,{UY:()=>h,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,oc:()=>i});var d=c(39006),e=c(91253),f=c(67259);d.rE;let g={npmPackageName:"vansrouter",installCmd:"npm i -g vansrouter",installCmdLatest:"npm i -g vansrouter@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20128},h={maxLines:200,pollIntervalMs:1e3},i={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.5",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"}}}},85577:(a,b,c)=>{"use strict";c.d(b,{Xg:()=>q,PROVIDER_MODELS:()=>f.vq,fZ:()=>j,cY:()=>r,ux:()=>m,OA:()=>n,kt:()=>o,SM:()=>i});var d=c(13946),e=c(69765),f=c(68711),g=c(57959);let h="-review";function i(a){return f.vq[a]||[]}function j(a){let b=f.vq[a];return b?.[0]?.id||null}let k=new Set(["kr","kiro"]);function l(a,b,c){if(!a)return;let d=a.find(a=>a.id===b);if(d)return d;if(!k.has(c))return;let e=(0,g.Kq)(b);if(e!==b)return a.find(a=>a.id===e)}function m(a,b){let c=f.vq[a];return c?(0,g.gr)(l(c,b,a)):null}function n(a,b){let c=f.vq[a];if(!c)return null;let d=l(c,b,a);return d?.kind||d?.type||null}function o(a,b){let c=l(f.vq[a],b,a);return c?.upstreamModelId?c.upstreamModelId:c?.id?c.id:"cx"===a&&"string"==typeof b&&b.endsWith(h)?b.slice(0,-h.length):b}let p=Object.fromEntries(e.A.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias])),q=Object.fromEntries(Object.keys(d.xq).map(a=>[a,p[a]||a]));function r(a,b){return(0,g.g5)(l(f.vq[a],b,a))}},91253:(a,b,c)=>{"use strict";c.d(b,{AI_PROVIDERS:()=>s,js:()=>w,DI:()=>n,fg:()=>k,Pd:()=>o,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>m,jO:()=>y,wb:()=>x,br:()=>l,wG:()=>v,zt:()=>t,gb:()=>q,gC:()=>r,mq:()=>p,rs:()=>u});var d=c(69765);let e="⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.A.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.A.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.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)])),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=d.A.filter(a=>a.features?.usage).map(a=>a.id),y=d.A.filter(a=>a.features?.usageApikey).map(a=>a.id)},95522:()=>{}};
@@ -1,2 +1,2 @@
1
- "use strict";exports.id=4004,exports.ids=[4004],exports.modules={44004:(a,b,c)=>{c.d(b,{Pr:()=>r,UP:()=>p,Vu:()=>q,ZO:()=>i,vt:()=>t});var d=c(87702),e=c(15261),f=c(92398),g=c(7916),h=c(83712);function i(a){return"string"!=typeof a?a:a.startsWith("combo/")?a.slice(6):a}let j=new Set(["vision","pdf","audioInput","videoInput"]),k="[Called tools: ",l="[Tool result: ";function m(a){return a.filter(a=>a).map(a=>{if("tool"===a.role||"function"===a.role)return{role:"assistant",content:`${l}${(0,h.kU)(a.content)||String(a.content??"")}]`};if("assistant"===a.role&&Array.isArray(a.tool_calls)){let{tool_calls:b,...c}=a,d=b.map(a=>a?.function?.name||a?.name||"tool").join(", "),e=(0,h.kU)(c.content)||("string"==typeof c.content?c.content:"");return{...c,content:`${e}${e?"\n":""}${k}${d}]`}}if(Array.isArray(a.content)){let b=a.content.some(a=>"tool_use"===a.type),c=a.content.some(a=>"tool_result"===a.type);if(b||c){let b=[],c=[],d=[];for(let e of a.content)"text"===e.type&&e.text&&b.push(e.text),"tool_use"===e.type&&c.push(e.name||"tool"),"tool_result"===e.type&&d.push((0,h.kU)(e.content)||String(e.content??""));let{...e}=a,f=b.join("\n");return c.length>0&&(f=`${f}${f?"\n":""}${k}${c.join(", ")}]`),d.length>0&&(f=`${f}${f?"\n":""}${l}${d.join("\n")}]`),{...e,content:f}}}return a})}let n=new Map;function o(a){if(!Array.isArray(a)||0===a.length)return[];let b=a=>"assistant"===a||"model"===a,c=a.length-1;for(;c>=0&&!b(a[c]?.role);)c--;return a.slice(c+1)}function p(a){a?n.delete(a):n.clear()}function q(a,b){if(a.includes("/"))return null;let c=(Array.isArray(b)?b:b?.combos||[]).find(b=>b.name===a);return c&&c.models&&c.models.length>0?c.models:null}async function r({body:a,models:b,handleSingleModel:c,log:h,comboName:i,comboStrategy:k,comboStickyLimit:l=1,autoSwitch:m=!0,signal:p=null,timeoutMs:q=f.oy,queueDepth:s=null}){let t=function(a,b,c,d=1){let e;if(!a||a.length<=1||"round-robin"!==c)return a;let f=b||"__default__",g=Number.isFinite(e=Number.parseInt(d,10))&&e>0?e:1,h=n.get(f),i="number"==typeof h?{index:h,consecutiveUseCount:0}:h||{index:0,consecutiveUseCount:0},j=i.index%a.length,k=function(a,b){let c=[...a];for(let a=0;a<b;a++){let a=c.shift();c.push(a)}return c}(a,j),l=i.consecutiveUseCount+1;return l>=g?n.set(f,{index:(j+1)%a.length,consecutiveUseCount:0}):n.set(f,{index:j,consecutiveUseCount:l}),k}(b,i,k,l);if(m){let b=function(a){let b=new Set;if(!a||"object"!=typeof a)return b;let c=a=>{if(!a||"object"!=typeof a)return;let c=a.type;("image_url"===c||"image"===c||"input_image"===c)&&b.add("vision"),("file"===c||"document"===c||"input_file"===c)&&b.add("pdf");let d=a.inlineData?.mimeType||a.fileData?.mimeType;"string"==typeof d&&d.startsWith("image/")&&b.add("vision"),"application/pdf"===d&&b.add("pdf")},d=a=>{if(Array.isArray(a))for(let b of a)c(b)};for(let b of o(a.messages))d(b.content);for(let b of o(a.input))d(b.content);for(let b of o(a.contents||a.request?.contents))d(b.parts);if(Array.isArray(a.tools)){for(let c of a.tools)if(c?.type==="web_search"){b.add("search");break}}return b}(a);if(b.size>0){let a=function(a,b){if(!b||0===b.size||!Array.isArray(a)||a.length<=1)return a;let c=[...b].filter(a=>j.has(a)),d=[...b].filter(a=>!j.has(a)),e=a.map((a,b)=>{let e,f,h,i;return{m:a,i:b,t:(f=(e="string"==typeof a?a.indexOf("/"):-1)>0?a.slice(0,e):"",h=e>0?a.slice(e+1):a,i=(0,g.nl)(f,h),c.every(a=>!0===i[a])?+!d.every(a=>!0===i[a]):2)}});return e.every(a=>2===a.t)?a:e.sort((a,b)=>a.t-b.t||a.i-b.i).map(a=>a.m)}(t,b);a[0]!==t[0]&&h.info("COMBO",`auto-switch for [${[...b].join(",")}] → ${a[0]}`),t=a}}let u=null,v=null,w=null;for(let b=0;b<t.length;b++){let e=t[b];if(p?.aborted)return h.info("COMBO","External signal aborted — stopping combo fallback"),new Response(JSON.stringify({error:{message:"Client disconnected"}}),{status:499,headers:{"Content-Type":"application/json"}});h.info("COMBO",`Trying model ${b+1}/${t.length}: ${e}`);try{let b;if(!Number.isFinite(q)||q<=0)b=await c(a,e);else{let d,f=new AbortController,g=!1,i=function(...a){let b=a.filter(a=>a&&"function"==typeof a.addEventListener);if(0===b.length)return null;if(1===b.length)return b[0];let c=new AbortController,d=()=>c.abort(),e=!1;for(let a of b){if(a.aborted){e=!0;break}a.addEventListener("abort",d,{once:!0})}return e&&c.abort(),c.signal}(p,f.signal),j={};i&&(j.signal=i),null!=s&&(j.maxQueueSize=s);let k=new Promise(a=>{d=setTimeout(()=>{g=!0,h.warn("COMBO",`Model ${e} exceeded ${q}ms timeout — falling back`),f.abort(Error("combo-per-model-timeout")),a(new Response(JSON.stringify({error:{message:`Model ${e} timed out`}}),{status:524,headers:{"Content-Type":"application/json"}}))},q)});try{b=await Promise.race([Promise.resolve(c(a,e,Object.keys(j).length>0?j:void 0)).catch(a=>{if(g)return new Response(null,{status:599});throw a}),k])}finally{clearTimeout(d)}}if(b.ok)return h.info("COMBO",`Model ${e} succeeded`),b;let f=b.statusText||"",g=null;try{let a=await b.clone().json();f=a?.error?.message||a?.error||a?.message||f,g=a?.retryAfter||null}catch{}if(g&&(!v||new Date(g)<new Date(v))&&(v=g),"string"!=typeof f)try{f=JSON.stringify(f)}catch{f=String(f)}let{shouldFallback:i,cooldownMs:j}=(0,d.hk)(b.status,f);if(!i)return h.warn("COMBO",`Model ${e} failed (no fallback)`,{status:b.status}),b;j&&j>0&&j<=5e3&&(503===b.status||502===b.status||504===b.status)&&(h.info("COMBO",`Model ${e} transient ${b.status}, waiting ${j}ms before next`),await new Promise(a=>setTimeout(a,j))),u=f||String(b.status),w||(w=b.status),h.warn("COMBO",`Model ${e} failed, trying next`,{status:b.status})}catch(a){u=a.message||String(a),w||(w=500),h.warn("COMBO",`Model ${e} threw error, trying next`,{error:u})}}let x=u&&u.toLowerCase().includes("no credentials")?503:w||503,y=u||"All combo models unavailable";if(v){let a=(0,d.Qo)(v);return h.warn("COMBO",`All models failed | ${y} (${a})`),(0,e.wO)(x,y,v,a)}return h.warn("COMBO",`All models failed | ${y}`),new Response(JSON.stringify({error:{message:y}}),{status:x,headers:{"Content-Type":"application/json"}})}let s={minPanel:2,stragglerGraceMs:8e3,panelHardTimeoutMs:9e4};async function t({body:a,models:b,handleSingleModel:c,log:d,comboName:e,judgeModel:f,tuning:g}){var i;let j,k,l=Array.isArray(b)?b.filter(Boolean):[];if(0===l.length)return new Response(JSON.stringify({error:{message:"Fusion combo has no models"}}),{status:400,headers:{"Content-Type":"application/json"}});if(1===l.length)return c(a,l[0]);let n={...s,...g||{}},o=Math.min(Math.max(2,n.minPanel),l.length),p=f&&f.trim()?f.trim():l[0];d.info("FUSION",`Combo "${e}" | panel=${l.length} [${l.join(", ")}] | judge=${p} | quorum=${o}`);let{tools:q,tool_choice:r,...u}=a,v={...u,stream:!1};Array.isArray(v.messages)?v.messages=m(v.messages):Array.isArray(v.input)&&(v.input=m(v.input));let w=Date.now(),x=l.map(a=>{var b,d;return b=c(v,a,!0),d=n.panelHardTimeoutMs,new Promise(a=>{let c=setTimeout(()=>a({__timeout:!0}),d);Promise.resolve(b).then(b=>{clearTimeout(c),a(b)}).catch(b=>{clearTimeout(c),a({__error:b})})})}),y=await function(a,{minPanel:b,stragglerGraceMs:c,panelHardTimeoutMs:d}){return new Promise(e=>{let f=Array(a.length),g=0,h=0,i=!1,j=null,k=()=>{i||(i=!0,clearTimeout(l),j&&clearTimeout(j),e(f))},l=setTimeout(k,d);a.forEach((d,e)=>{Promise.resolve(d).then(a=>{f[e]=a}).catch(a=>{f[e]={__error:a}}).finally(()=>{if(g++,f[e]&&f[e].ok&&h++,g===a.length)return k();h>=b&&!j&&(j=setTimeout(k,c))})})})}(x,{...n,minPanel:o});d.info("FUSION",`fan-out collected in ${Date.now()-w}ms`);let z=[];for(let a=0;a<y.length;a++){let b=y[a],c=l[a];if(!b){d.warn("FUSION",`Panel ${c} dropped (straggler/timeout)`);continue}if(b.__timeout){d.warn("FUSION",`Panel ${c} timed out`);continue}if(b.__error){d.warn("FUSION",`Panel ${c} threw`,{error:b.__error?.message||String(b.__error)});continue}if(!b.ok){d.warn("FUSION",`Panel ${c} failed`,{status:b.status});continue}try{let a=await b.clone().json(),e=function(a){if(!a||"object"!=typeof a)return"";let b=a.choices?.[0];if(b){let a=b.message??b.delta??{},c=(0,h.kU)(a.content);if(c.trim())return c;if("string"==typeof b.text&&b.text.trim())return b.text}let c=(0,h.kU)(a.content);if(c.trim())return c;let d=a.candidates?.[0]?.content?.parts;if(Array.isArray(d)){let a=d.map(a=>a?.text||"").join("");if(a.trim())return a}if(Array.isArray(a.output)){let b=a.output.flatMap(a=>Array.isArray(a.content)?a.content.map(a=>a?.text||""):[]).join("");if(b.trim())return b}return""}(a);e?(z.push({model:c,text:e}),d.info("FUSION",`Panel ${c} ok (${e.length} chars)`)):d.warn("FUSION",`Panel ${c} returned empty content`)}catch(a){d.warn("FUSION",`Panel ${c} unparseable`,{error:a.message||String(a)})}}if(0===z.length)return d.warn("FUSION","All panel models failed"),new Response(JSON.stringify({error:{message:"All fusion panel models failed"}}),{status:503,headers:{"Content-Type":"application/json"}});if(1===z.length)return d.info("FUSION",`Only ${z[0].model} succeeded — answering directly (no fusion)`),c(a,z[0].model);let A=(j=z.map((a,b)=>`[Source ${b+1}]
1
+ "use strict";exports.id=4004,exports.ids=[4004],exports.modules={44004:(a,b,c)=>{c.d(b,{Pr:()=>r,UP:()=>p,Vu:()=>q,ZO:()=>i,vt:()=>t});var d=c(5505),e=c(15261),f=c(92398),g=c(7916),h=c(83712);function i(a){return"string"!=typeof a?a:a.startsWith("combo/")?a.slice(6):a}let j=new Set(["vision","pdf","audioInput","videoInput"]),k="[Called tools: ",l="[Tool result: ";function m(a){return a.filter(a=>a).map(a=>{if("tool"===a.role||"function"===a.role)return{role:"assistant",content:`${l}${(0,h.kU)(a.content)||String(a.content??"")}]`};if("assistant"===a.role&&Array.isArray(a.tool_calls)){let{tool_calls:b,...c}=a,d=b.map(a=>a?.function?.name||a?.name||"tool").join(", "),e=(0,h.kU)(c.content)||("string"==typeof c.content?c.content:"");return{...c,content:`${e}${e?"\n":""}${k}${d}]`}}if(Array.isArray(a.content)){let b=a.content.some(a=>"tool_use"===a.type),c=a.content.some(a=>"tool_result"===a.type);if(b||c){let b=[],c=[],d=[];for(let e of a.content)"text"===e.type&&e.text&&b.push(e.text),"tool_use"===e.type&&c.push(e.name||"tool"),"tool_result"===e.type&&d.push((0,h.kU)(e.content)||String(e.content??""));let{...e}=a,f=b.join("\n");return c.length>0&&(f=`${f}${f?"\n":""}${k}${c.join(", ")}]`),d.length>0&&(f=`${f}${f?"\n":""}${l}${d.join("\n")}]`),{...e,content:f}}}return a})}let n=new Map;function o(a){if(!Array.isArray(a)||0===a.length)return[];let b=a=>"assistant"===a||"model"===a,c=a.length-1;for(;c>=0&&!b(a[c]?.role);)c--;return a.slice(c+1)}function p(a){a?n.delete(a):n.clear()}function q(a,b){if(a.includes("/"))return null;let c=(Array.isArray(b)?b:b?.combos||[]).find(b=>b.name===a);return c&&c.models&&c.models.length>0?c.models:null}async function r({body:a,models:b,handleSingleModel:c,log:h,comboName:i,comboStrategy:k,comboStickyLimit:l=1,autoSwitch:m=!0,signal:p=null,timeoutMs:q=f.oy,queueDepth:s=null}){let t=function(a,b,c,d=1){let e;if(!a||a.length<=1||"round-robin"!==c)return a;let f=b||"__default__",g=Number.isFinite(e=Number.parseInt(d,10))&&e>0?e:1,h=n.get(f),i="number"==typeof h?{index:h,consecutiveUseCount:0}:h||{index:0,consecutiveUseCount:0},j=i.index%a.length,k=function(a,b){let c=[...a];for(let a=0;a<b;a++){let a=c.shift();c.push(a)}return c}(a,j),l=i.consecutiveUseCount+1;return l>=g?n.set(f,{index:(j+1)%a.length,consecutiveUseCount:0}):n.set(f,{index:j,consecutiveUseCount:l}),k}(b,i,k,l);if(m){let b=function(a){let b=new Set;if(!a||"object"!=typeof a)return b;let c=a=>{if(!a||"object"!=typeof a)return;let c=a.type;("image_url"===c||"image"===c||"input_image"===c)&&b.add("vision"),("file"===c||"document"===c||"input_file"===c)&&b.add("pdf");let d=a.inlineData?.mimeType||a.fileData?.mimeType;"string"==typeof d&&d.startsWith("image/")&&b.add("vision"),"application/pdf"===d&&b.add("pdf")},d=a=>{if(Array.isArray(a))for(let b of a)c(b)};for(let b of o(a.messages))d(b.content);for(let b of o(a.input))d(b.content);for(let b of o(a.contents||a.request?.contents))d(b.parts);if(Array.isArray(a.tools)){for(let c of a.tools)if(c?.type==="web_search"){b.add("search");break}}return b}(a);if(b.size>0){let a=function(a,b){if(!b||0===b.size||!Array.isArray(a)||a.length<=1)return a;let c=[...b].filter(a=>j.has(a)),d=[...b].filter(a=>!j.has(a)),e=a.map((a,b)=>{let e,f,h,i;return{m:a,i:b,t:(f=(e="string"==typeof a?a.indexOf("/"):-1)>0?a.slice(0,e):"",h=e>0?a.slice(e+1):a,i=(0,g.nl)(f,h),c.every(a=>!0===i[a])?+!d.every(a=>!0===i[a]):2)}});return e.every(a=>2===a.t)?a:e.sort((a,b)=>a.t-b.t||a.i-b.i).map(a=>a.m)}(t,b);a[0]!==t[0]&&h.info("COMBO",`auto-switch for [${[...b].join(",")}] → ${a[0]}`),t=a}}let u=null,v=null,w=null;for(let b=0;b<t.length;b++){let e=t[b];if(p?.aborted)return h.info("COMBO","External signal aborted — stopping combo fallback"),new Response(JSON.stringify({error:{message:"Client disconnected"}}),{status:499,headers:{"Content-Type":"application/json"}});h.info("COMBO",`Trying model ${b+1}/${t.length}: ${e}`);try{let b;if(!Number.isFinite(q)||q<=0)b=await c(a,e);else{let d,f=new AbortController,g=!1,i=function(...a){let b=a.filter(a=>a&&"function"==typeof a.addEventListener);if(0===b.length)return null;if(1===b.length)return b[0];let c=new AbortController,d=()=>c.abort(),e=!1;for(let a of b){if(a.aborted){e=!0;break}a.addEventListener("abort",d,{once:!0})}return e&&c.abort(),c.signal}(p,f.signal),j={};i&&(j.signal=i),null!=s&&(j.maxQueueSize=s);let k=new Promise(a=>{d=setTimeout(()=>{g=!0,h.warn("COMBO",`Model ${e} exceeded ${q}ms timeout — falling back`),f.abort(Error("combo-per-model-timeout")),a(new Response(JSON.stringify({error:{message:`Model ${e} timed out`}}),{status:524,headers:{"Content-Type":"application/json"}}))},q)});try{b=await Promise.race([Promise.resolve(c(a,e,Object.keys(j).length>0?j:void 0)).catch(a=>{if(g)return new Response(null,{status:599});throw a}),k])}finally{clearTimeout(d)}}if(b.ok)return h.info("COMBO",`Model ${e} succeeded`),b;let f=b.statusText||"",g=null;try{let a=await b.clone().json();f=a?.error?.message||a?.error||a?.message||f,g=a?.retryAfter||null}catch{}if(g&&(!v||new Date(g)<new Date(v))&&(v=g),"string"!=typeof f)try{f=JSON.stringify(f)}catch{f=String(f)}let{shouldFallback:i,cooldownMs:j}=(0,d.hk)(b.status,f);if(!i)return h.warn("COMBO",`Model ${e} failed (no fallback)`,{status:b.status}),b;j&&j>0&&j<=5e3&&(503===b.status||502===b.status||504===b.status)&&(h.info("COMBO",`Model ${e} transient ${b.status}, waiting ${j}ms before next`),await new Promise(a=>setTimeout(a,j))),u=f||String(b.status),w||(w=b.status),h.warn("COMBO",`Model ${e} failed, trying next`,{status:b.status})}catch(a){u=a.message||String(a),w||(w=500),h.warn("COMBO",`Model ${e} threw error, trying next`,{error:u})}}let x=u&&u.toLowerCase().includes("no credentials")?503:w||503,y=u||"All combo models unavailable";if(v){let a=(0,d.Qo)(v);return h.warn("COMBO",`All models failed | ${y} (${a})`),(0,e.wO)(x,y,v,a)}return h.warn("COMBO",`All models failed | ${y}`),new Response(JSON.stringify({error:{message:y}}),{status:x,headers:{"Content-Type":"application/json"}})}let s={minPanel:2,stragglerGraceMs:8e3,panelHardTimeoutMs:9e4};async function t({body:a,models:b,handleSingleModel:c,log:d,comboName:e,judgeModel:f,tuning:g}){var i;let j,k,l=Array.isArray(b)?b.filter(Boolean):[];if(0===l.length)return new Response(JSON.stringify({error:{message:"Fusion combo has no models"}}),{status:400,headers:{"Content-Type":"application/json"}});if(1===l.length)return c(a,l[0]);let n={...s,...g||{}},o=Math.min(Math.max(2,n.minPanel),l.length),p=f&&f.trim()?f.trim():l[0];d.info("FUSION",`Combo "${e}" | panel=${l.length} [${l.join(", ")}] | judge=${p} | quorum=${o}`);let{tools:q,tool_choice:r,...u}=a,v={...u,stream:!1};Array.isArray(v.messages)?v.messages=m(v.messages):Array.isArray(v.input)&&(v.input=m(v.input));let w=Date.now(),x=l.map(a=>{var b,d;return b=c(v,a,!0),d=n.panelHardTimeoutMs,new Promise(a=>{let c=setTimeout(()=>a({__timeout:!0}),d);Promise.resolve(b).then(b=>{clearTimeout(c),a(b)}).catch(b=>{clearTimeout(c),a({__error:b})})})}),y=await function(a,{minPanel:b,stragglerGraceMs:c,panelHardTimeoutMs:d}){return new Promise(e=>{let f=Array(a.length),g=0,h=0,i=!1,j=null,k=()=>{i||(i=!0,clearTimeout(l),j&&clearTimeout(j),e(f))},l=setTimeout(k,d);a.forEach((d,e)=>{Promise.resolve(d).then(a=>{f[e]=a}).catch(a=>{f[e]={__error:a}}).finally(()=>{if(g++,f[e]&&f[e].ok&&h++,g===a.length)return k();h>=b&&!j&&(j=setTimeout(k,c))})})})}(x,{...n,minPanel:o});d.info("FUSION",`fan-out collected in ${Date.now()-w}ms`);let z=[];for(let a=0;a<y.length;a++){let b=y[a],c=l[a];if(!b){d.warn("FUSION",`Panel ${c} dropped (straggler/timeout)`);continue}if(b.__timeout){d.warn("FUSION",`Panel ${c} timed out`);continue}if(b.__error){d.warn("FUSION",`Panel ${c} threw`,{error:b.__error?.message||String(b.__error)});continue}if(!b.ok){d.warn("FUSION",`Panel ${c} failed`,{status:b.status});continue}try{let a=await b.clone().json(),e=function(a){if(!a||"object"!=typeof a)return"";let b=a.choices?.[0];if(b){let a=b.message??b.delta??{},c=(0,h.kU)(a.content);if(c.trim())return c;if("string"==typeof b.text&&b.text.trim())return b.text}let c=(0,h.kU)(a.content);if(c.trim())return c;let d=a.candidates?.[0]?.content?.parts;if(Array.isArray(d)){let a=d.map(a=>a?.text||"").join("");if(a.trim())return a}if(Array.isArray(a.output)){let b=a.output.flatMap(a=>Array.isArray(a.content)?a.content.map(a=>a?.text||""):[]).join("");if(b.trim())return b}return""}(a);e?(z.push({model:c,text:e}),d.info("FUSION",`Panel ${c} ok (${e.length} chars)`)):d.warn("FUSION",`Panel ${c} returned empty content`)}catch(a){d.warn("FUSION",`Panel ${c} unparseable`,{error:a.message||String(a)})}}if(0===z.length)return d.warn("FUSION","All panel models failed"),new Response(JSON.stringify({error:{message:"All fusion panel models failed"}}),{status:503,headers:{"Content-Type":"application/json"}});if(1===z.length)return d.info("FUSION",`Only ${z[0].model} succeeded — answering directly (no fusion)`),c(a,z[0].model);let A=(j=z.map((a,b)=>`[Source ${b+1}]
2
2
  ${a.text}`).join("\n\n"),i=[`You are the JUDGE in a model-fusion panel. ${z.length} expert models independently answered the user's most recent request. Their responses are below, anonymized by source.`,"\nDo NOT mention that multiple models were used, and do NOT refer to the sources. Produce ONE authoritative final answer addressed directly to the user.\n\nFirst, internally analyze the panel along these dimensions: consensus (points most sources agree on — treat as higher-confidence), contradictions (where they disagree — resolve with your own judgment), partial coverage, unique insights only one source surfaced, and blind spots every source missed. Then write the best possible final answer grounded in that analysis — more complete and correct than any single response, with no filler.\n\n=== PANEL RESPONSES ===",j,"=== END PANEL RESPONSES ===\n\nNow write the final answer to the user's original request."].join("\n"),k={...a},Array.isArray(a.messages)?k.messages=[...a.messages,{role:"user",content:i}]:Array.isArray(a.input)?k.input=[...a.input,{role:"user",content:i}]:Array.isArray(a.contents)?k.contents=[...a.contents,{role:"user",parts:[{text:i}]}]:k.messages=[{role:"user",content:i}],k);return d.info("FUSION",`Judging ${z.length} answers with ${p}`),c(A,p)}}};
@@ -40,4 +40,4 @@
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 q(a){return new Promise(b=>{if(i)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?l.get(h):null;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(3398),c.e(7010),c.e(7916),c.e(404),c.e(4418),c.e(4574),c.e(2557),c.e(6975)]).then(c.bind(c,96975)),{createProviderConnection:b}=await c.e(6820).then(c.bind(c,46820)),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(p(!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(p(!1,a.message))}finally{r()}return}let k=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:k}),d.end(),r()});d.listen(k,"127.0.0.1",()=>{i=d,j=setTimeout(()=>r(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function r(){j&&(clearTimeout(j),j=null),i&&(i.close(),i=null)}let s=null,t=null,u=new Map;function v({state:a,codeVerifier:b,redirectUri:c}){return!!a&&!!b&&!!c&&(u.set(a,{codeVerifier:b,redirectUri:c,status:"pending",createdAt:Date.now()}),!0)}function w(a){return u.get(a)||null}function x(a){u.delete(a)}function y(a){return new Promise(b=>{if(s)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?u.get(h):null;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(3398),c.e(7010),c.e(7916),c.e(404),c.e(4418),c.e(4574),c.e(2557),c.e(6975)]).then(c.bind(c,96975)),{createProviderConnection:b}=await c.e(6820).then(c.bind(c,46820)),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(p(!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(p(!1,a.message))}finally{z()}return}let k=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:k}),d.end(),z()});d.listen(56121,"127.0.0.1",()=>{s=d,t=setTimeout(()=>z(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function z(){t&&(clearTimeout(t),t=null),s&&(s.close(),s=null)}},26254:(a,b,c)=>{c.d(b,{$N:()=>f,OK:()=>g,Zl:()=>h,lz:()=>i});var d=c(55511),e=c.n(d);function f(a=32){return e().randomBytes(a).toString("base64url")}function g(a){return e().createHash("sha256").update(a).digest("base64url")}function h(){return e().randomBytes(32).toString("base64url")}function i(a=32){let b=f(a),c=g(b);return{codeVerifier:b,codeChallenge:c,state:h()}}},59824:(a,b,c)=>{c.d(b,{DI:()=>i,Hp:()=>k,LT:()=>j,MZ:()=>v,Nl:()=>y,Nu:()=>p,OV:()=>h,Op:()=>z,S6:()=>s,Tx:()=>q,WN:()=>t,Ww:()=>A,YT:()=>n,ZL:()=>m,cD:()=>o,f7:()=>x,hF:()=>l,lB:()=>w,t:()=>u});var d=c(21820),e=c(24567),f=c(68711);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.w3,...f.sr["gemini-cli"]},k={...f.sr.qwen},l={...f.sr.qoder},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-coding"],clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||f.xq["kimi-coding"]?.clientId},v={...f.sr.kilocode},w={...f.sr.cline},x={...f.sr.gitlab},y={...f.sr["codebuddy-cn"]},z={...f.sr.zcode},A=3e5}};
43
+ </div></body></html>`}function q(a){return new Promise(b=>{if(i)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?l.get(h):null;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(3398),c.e(7010),c.e(7916),c.e(2445),c.e(4418),c.e(4574),c.e(2557),c.e(6975)]).then(c.bind(c,96975)),{createProviderConnection:b}=await c.e(6820).then(c.bind(c,46820)),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(p(!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(p(!1,a.message))}finally{r()}return}let k=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:k}),d.end(),r()});d.listen(k,"127.0.0.1",()=>{i=d,j=setTimeout(()=>r(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function r(){j&&(clearTimeout(j),j=null),i&&(i.close(),i=null)}let s=null,t=null,u=new Map;function v({state:a,codeVerifier:b,redirectUri:c}){return!!a&&!!b&&!!c&&(u.set(a,{codeVerifier:b,redirectUri:c,status:"pending",createdAt:Date.now()}),!0)}function w(a){return u.get(a)||null}function x(a){u.delete(a)}function y(a){return new Promise(b=>{if(s)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?u.get(h):null;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(3398),c.e(7010),c.e(7916),c.e(2445),c.e(4418),c.e(4574),c.e(2557),c.e(6975)]).then(c.bind(c,96975)),{createProviderConnection:b}=await c.e(6820).then(c.bind(c,46820)),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(p(!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(p(!1,a.message))}finally{z()}return}let k=`http://localhost:${a}/callback${e.search}`;d.writeHead(302,{Location:k}),d.end(),z()});d.listen(56121,"127.0.0.1",()=>{s=d,t=setTimeout(()=>z(),3e5),b({success:!0})}),d.on("error",a=>{"EADDRINUSE"===a.code?b({success:!1,reason:"port_busy"}):b({success:!1,reason:a.message})})})}function z(){t&&(clearTimeout(t),t=null),s&&(s.close(),s=null)}},26254:(a,b,c)=>{c.d(b,{$N:()=>f,OK:()=>g,Zl:()=>h,lz:()=>i});var d=c(55511),e=c.n(d);function f(a=32){return e().randomBytes(a).toString("base64url")}function g(a){return e().createHash("sha256").update(a).digest("base64url")}function h(){return e().randomBytes(32).toString("base64url")}function i(a=32){let b=f(a),c=g(b);return{codeVerifier:b,codeChallenge:c,state:h()}}},59824:(a,b,c)=>{c.d(b,{DI:()=>i,Hp:()=>k,LT:()=>j,MZ:()=>v,Nl:()=>y,Nu:()=>p,OV:()=>h,Op:()=>z,S6:()=>s,Tx:()=>q,WN:()=>t,Ww:()=>A,YT:()=>n,ZL:()=>m,cD:()=>o,f7:()=>x,hF:()=>l,lB:()=>w,t:()=>u});var d=c(21820),e=c(24567),f=c(68711);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.w3,...f.sr["gemini-cli"]},k={...f.sr.qwen},l={...f.sr.qoder},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-coding"],clientId:process.env.KIMI_CODING_OAUTH_CLIENT_ID||f.xq["kimi-coding"]?.clientId},v={...f.sr.kilocode},w={...f.sr.cline},x={...f.sr.gitlab},y={...f.sr["codebuddy-cn"]},z={...f.sr.zcode},A=3e5}};