@rsalmn/extremerouter 0.8.6 → 0.8.8

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 (1134) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +15 -11
  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 +26 -0
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page.js +2 -2
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +3 -3
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page.js +2 -2
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +3 -3
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page.js +2 -2
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page.js +2 -2
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js +2 -2
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +4 -4
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/smart-routing/page.js +2 -2
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/smart-routing/page.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/smart-routing/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page.js +2 -2
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page.js.nft.json +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page_client-reference-manifest.js +1 -1
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  88. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  89. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  90. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  91. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  92. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  93. package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
  94. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  96. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  97. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  98. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  99. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  100. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  105. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  107. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  108. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  109. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  110. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  111. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +6 -6
  112. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  113. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  114. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  115. package/app/.next-cli-build/server/app/api/alerts/test/route.js +2 -2
  116. package/app/.next-cli-build/server/app/api/alerts/test/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/breaker/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/breaker/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cache/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/cache/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  136. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  138. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  142. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  148. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  150. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  152. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  154. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  156. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  160. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  162. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  164. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  166. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +3 -3
  168. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/combos/lab/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/combos/lab/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/combos/simulate/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/combos/simulate/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/combos/validate-roles/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/combos/validate-roles/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/dashboard/stream/route.js +2 -2
  180. package/app/.next-cli-build/server/app/api/dashboard/stream/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +2 -2
  186. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/health/overview/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/health/overview/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/health/providers/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/health/providers/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/health/stream/route.js +2 -2
  194. package/app/.next-cli-build/server/app/api/health/stream/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +5 -5
  206. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -0
  222. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -0
  223. package/app/.next-cli-build/server/app/api/models/catalog-sync/route_client-reference-manifest.js +1 -0
  224. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/1min/import/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/1min/import/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  241. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/freebuff/import/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/freebuff/import/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/auto-import/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/auto-import/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/import/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/import/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/quota/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/quota/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/oauth/qwen/import/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/oauth/qwen/import/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/oauth/wp-studio/import/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/oauth/wp-studio/import/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/oauth/zcode/import/route.js +1 -0
  273. package/app/.next-cli-build/server/app/api/oauth/zcode/import/route.js.nft.json +1 -0
  274. package/app/.next-cli-build/server/app/api/oauth/zcode/import/route_client-reference-manifest.js +1 -0
  275. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  276. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/[id]/agnes-profile/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/[id]/agnes-profile/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/[id]/felo-profile/route.js +2 -2
  290. package/app/.next-cli-build/server/app/api/providers/[id]/felo-profile/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/[id]/freebuff-profile/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/[id]/freebuff-profile/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/[id]/health-timeline/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/[id]/health-timeline/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/[id]/inxora-profile/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/[id]/inxora-profile/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +2 -2
  298. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-api-profile/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-api-profile/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-profile/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-profile/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/providers/[id]/qwencloud-profile/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/providers/[id]/qwencloud-profile/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/providers/[id]/v0-profile/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/providers/[id]/v0-profile/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/providers/[id]/vault-pool/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/providers/[id]/vault-pool/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/providers/[id]/zai-profile/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/providers/[id]/zai-profile/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/providers/[id]/zenmux-plans/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/providers/[id]/zenmux-plans/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/providers/capture/launch/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/providers/capture/launch/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/providers/capture/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/providers/capture/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/providers/felo-capture/launch/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/providers/felo-capture/launch/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/providers/felo-capture/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/providers/felo-capture/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  344. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  346. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  350. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  352. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/smart-routing/active/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/smart-routing/active/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/smart-routing/history/route.js +2 -2
  368. package/app/.next-cli-build/server/app/api/smart-routing/history/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/smart-routing/lab/route.js +2 -2
  370. package/app/.next-cli-build/server/app/api/smart-routing/lab/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/smart-routing/stream/route.js +2 -2
  372. package/app/.next-cli-build/server/app/api/smart-routing/stream/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/swarm/active/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/swarm/active/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/swarm/stream/route.js +2 -2
  376. package/app/.next-cli-build/server/app/api/swarm/stream/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  382. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  404. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/usage/leaderboard/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/usage/leaderboard/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/usage/meta/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/usage/meta/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/usage/retry-stats/route.js +1 -1
  426. package/app/.next-cli-build/server/app/api/usage/retry-stats/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  428. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  430. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  434. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  436. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  437. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  438. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  439. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  440. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  441. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  442. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  443. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  444. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/api/v1/media/results/[id]/route.js +1 -0
  446. package/app/.next-cli-build/server/app/api/v1/media/results/[id]/route.js.nft.json +1 -0
  447. package/app/.next-cli-build/server/app/api/v1/media/results/[id]/route_client-reference-manifest.js +1 -0
  448. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  449. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  450. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  451. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  452. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  453. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  454. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  455. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  456. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  457. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  458. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  459. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  460. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  461. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  462. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  463. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  464. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  465. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  466. package/app/.next-cli-build/server/app/api/v1/video/generations/route.js +1 -0
  467. package/app/.next-cli-build/server/app/api/v1/video/generations/route.js.nft.json +1 -0
  468. package/app/.next-cli-build/server/app/api/v1/video/generations/route_client-reference-manifest.js +1 -0
  469. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  470. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  471. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  472. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  473. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  474. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  475. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  476. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  477. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  478. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  479. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  480. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  481. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  482. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  483. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  484. package/app/.next-cli-build/server/app/callback.html +1 -1
  485. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  486. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  487. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  488. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +6 -6
  489. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  490. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  491. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  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 +7 -7
  497. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +7 -7
  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 +6 -6
  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 +2 -2
  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/favicon.ico/route.js +1 -1
  506. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  507. package/app/.next-cli-build/server/app/index.html +1 -1
  508. package/app/.next-cli-build/server/app/index.rsc +6 -6
  509. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  511. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  512. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +6 -6
  513. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  514. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  515. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  516. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  517. package/app/.next-cli-build/server/app/landing.html +1 -1
  518. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  519. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  520. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  521. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +6 -6
  522. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  524. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  525. package/app/.next-cli-build/server/app/login/page.js +2 -2
  526. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  527. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  528. package/app/.next-cli-build/server/app/login.html +1 -1
  529. package/app/.next-cli-build/server/app/login.rsc +7 -7
  530. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  531. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  532. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +6 -6
  533. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  534. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  535. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  536. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  537. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  538. package/app/.next-cli-build/server/app/page.js +2 -2
  539. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  540. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  541. package/app/.next-cli-build/server/app-paths-manifest.json +15 -11
  542. package/app/.next-cli-build/server/chunks/1194.js +1 -1
  543. package/app/.next-cli-build/server/chunks/1241.js +1 -1
  544. package/app/.next-cli-build/server/chunks/1350.js +3 -3
  545. package/app/.next-cli-build/server/chunks/1411.js +9 -0
  546. package/app/.next-cli-build/server/chunks/1429.js +1 -1
  547. package/app/.next-cli-build/server/chunks/1719.js +1 -1
  548. package/app/.next-cli-build/server/chunks/212.js +1 -1
  549. package/app/.next-cli-build/server/chunks/2409.js +1 -1
  550. package/app/.next-cli-build/server/chunks/2436.js +1 -0
  551. package/app/.next-cli-build/server/chunks/3520.js +1 -1
  552. package/app/.next-cli-build/server/chunks/3535.js +1 -1
  553. package/app/.next-cli-build/server/chunks/3552.js +1 -0
  554. package/app/.next-cli-build/server/chunks/3593.js +1 -1
  555. package/app/.next-cli-build/server/chunks/4046.js +1 -1
  556. package/app/.next-cli-build/server/chunks/4109.js +1 -1
  557. package/app/.next-cli-build/server/chunks/412.js +1 -1
  558. package/app/.next-cli-build/server/chunks/4161.js +1 -0
  559. package/app/.next-cli-build/server/chunks/4502.js +6 -6
  560. package/app/.next-cli-build/server/chunks/4739.js +1 -1
  561. package/app/.next-cli-build/server/chunks/4780.js +1 -1
  562. package/app/.next-cli-build/server/chunks/4828.js +1 -0
  563. package/app/.next-cli-build/server/chunks/4957.js +1 -0
  564. package/app/.next-cli-build/server/chunks/4987.js +1 -0
  565. package/app/.next-cli-build/server/chunks/5050.js +2 -0
  566. package/app/.next-cli-build/server/chunks/507.js +1 -1
  567. package/app/.next-cli-build/server/chunks/5253.js +1 -1
  568. package/app/.next-cli-build/server/chunks/5258.js +1 -1
  569. package/app/.next-cli-build/server/chunks/5330.js +17 -17
  570. package/app/.next-cli-build/server/chunks/5473.js +9 -0
  571. package/app/.next-cli-build/server/chunks/5604.js +13 -0
  572. package/app/.next-cli-build/server/chunks/5612.js +1 -1
  573. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  574. package/app/.next-cli-build/server/chunks/5628.js +1 -1
  575. package/app/.next-cli-build/server/chunks/5961.js +1 -1
  576. package/app/.next-cli-build/server/chunks/6007.js +10 -0
  577. package/app/.next-cli-build/server/chunks/6157.js +1 -0
  578. package/app/.next-cli-build/server/chunks/6182.js +1 -1
  579. package/app/.next-cli-build/server/chunks/6488.js +1 -0
  580. package/app/.next-cli-build/server/chunks/6777.js +1 -1
  581. package/app/.next-cli-build/server/chunks/698.js +1 -1
  582. package/app/.next-cli-build/server/chunks/7247.js +1 -0
  583. package/app/.next-cli-build/server/chunks/7566.js +2 -2
  584. package/app/.next-cli-build/server/chunks/7765.js +2 -2
  585. package/app/.next-cli-build/server/chunks/7965.js +1 -1
  586. package/app/.next-cli-build/server/chunks/809.js +1 -1
  587. package/app/.next-cli-build/server/chunks/8238.js +1 -1
  588. package/app/.next-cli-build/server/chunks/8240.js +1 -0
  589. package/app/.next-cli-build/server/chunks/8266.js +1 -1
  590. package/app/.next-cli-build/server/chunks/8271.js +1 -1
  591. package/app/.next-cli-build/server/chunks/8520.js +1 -1
  592. package/app/.next-cli-build/server/chunks/8802.js +2 -2
  593. package/app/.next-cli-build/server/chunks/885.js +15 -15
  594. package/app/.next-cli-build/server/chunks/8851.js +3 -0
  595. package/app/.next-cli-build/server/chunks/8895.js +6 -6
  596. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  597. package/app/.next-cli-build/server/chunks/9715.js +1 -0
  598. package/app/.next-cli-build/server/chunks/9903.js +1 -1
  599. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  600. package/app/.next-cli-build/server/middleware.js +6 -6
  601. package/app/.next-cli-build/server/pages/404.html +1 -1
  602. package/app/.next-cli-build/server/pages/500.html +1 -1
  603. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  604. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  605. package/app/.next-cli-build/static/chunks/1321-738b3efba6f43f03.js +1 -0
  606. package/app/.next-cli-build/static/chunks/5497-97801e653d366579.js +7 -0
  607. package/app/.next-cli-build/static/chunks/705-1b66113f1f9bdd89.js +1 -0
  608. package/app/.next-cli-build/static/chunks/9086-5e0c8ccb81f25cbb.js +1 -0
  609. package/app/.next-cli-build/static/chunks/{9622-fcd7c93a94eaa38f.js → 9622-1dc5485471326b33.js} +6 -6
  610. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/alerts/{page-812b19e92ea94f14.js → page-5da9d88aea0f0c4d.js} +1 -1
  611. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-9a0e996c5bc5a169.js → page-af18b8bd5a604e31.js} +1 -1
  612. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-0e1d5c3cf52823c3.js → page-c933ec2b61961be3.js} +1 -1
  613. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-3122fd2735ba291c.js → page-3b6ddb5ae1f382fc.js} +1 -1
  614. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-6e960c6e7b31b9df.js +3 -0
  615. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-dd4edb101f50cc0f.js +1 -0
  616. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-f1add2aaae4a459c.js +1 -0
  617. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/health/{page-1c94a0710d61767e.js → page-2ac0245eea32c9aa.js} +1 -1
  618. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-9e98db59d6b1d05f.js → page-e0b2567bb9fe606d.js} +7 -7
  619. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-026721fa921475e0.js → page-9da68f29ab52796d.js} +1 -1
  620. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-ec37860600228def.js → page-2c80d26d992e4bb2.js} +1 -1
  621. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/page-7cdd74503baa001a.js +1 -0
  622. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-825c8673e6351d02.js → page-ebc169fccd95e5d8.js} +1 -1
  623. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-65072e4024bb73b6.js → page-50b3f8c8ed3358f2.js} +1 -1
  624. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/overview/{page-b92bc7ebaa0813b2.js → page-c4728000c2a09214.js} +1 -1
  625. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-86eaf12ef68c60ba.js +1 -0
  626. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/playground/page-c43d594bf432dbb3.js +1 -0
  627. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-8147c101767a32a1.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-9eea89b85926cfd8.js → page-f20fce2b984f4ef3.js} +3 -3
  629. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-aaaaeede554f51a5.js → page-99b2fb0411fa61e4.js} +1 -1
  630. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-3231355c17df9913.js +1 -0
  631. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-70bfba02b4fc414f.js → page-c619835a47dd125d.js} +1 -1
  632. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-46f5c7b65b5bb9ad.js +1 -0
  633. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-17bcf4e0db497e3a.js → page-fb7fe2c2ce8ee710.js} +1 -1
  634. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-6e8f34517990d858.js → page-971ad40322c4940b.js} +1 -1
  635. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-d9e35b679b85696a.js → page-33f472a9351a93f8.js} +1 -1
  636. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-52a5ff6e854d82e7.js +1 -0
  637. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-20cc41f2e1307f06.js → layout-6605206f3a2e2db9.js} +1 -1
  638. package/app/.next-cli-build/static/chunks/app/_global-error/page-fe046df355b8d174.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/api/alerts/test/route-fe046df355b8d174.js +1 -0
  640. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-fe046df355b8d174.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-fe046df355b8d174.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-fe046df355b8d174.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-fe046df355b8d174.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-fe046df355b8d174.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-fe046df355b8d174.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-fe046df355b8d174.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/breaker/route-fe046df355b8d174.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/cache/route-fe046df355b8d174.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-fe046df355b8d174.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-fe046df355b8d174.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-fe046df355b8d174.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-fe046df355b8d174.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-fe046df355b8d174.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-fe046df355b8d174.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-fe046df355b8d174.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-fe046df355b8d174.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-fe046df355b8d174.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-fe046df355b8d174.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-fe046df355b8d174.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-fe046df355b8d174.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-fe046df355b8d174.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-fe046df355b8d174.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-fe046df355b8d174.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-fe046df355b8d174.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-fe046df355b8d174.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-fe046df355b8d174.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/combos/lab/route-fe046df355b8d174.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/combos/route-fe046df355b8d174.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/combos/simulate/route-fe046df355b8d174.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/combos/validate-roles/route-fe046df355b8d174.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/dashboard/stream/route-fe046df355b8d174.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-fe046df355b8d174.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-fe046df355b8d174.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-fe046df355b8d174.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/health/overview/route-fe046df355b8d174.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/health/providers/route-fe046df355b8d174.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/health/route-fe046df355b8d174.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/health/stream/route-fe046df355b8d174.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/init/route-fe046df355b8d174.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-fe046df355b8d174.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/keys/route-fe046df355b8d174.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/locale/route-fe046df355b8d174.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-fe046df355b8d174.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-fe046df355b8d174.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-fe046df355b8d174.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-fe046df355b8d174.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-fe046df355b8d174.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-fe046df355b8d174.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-fe046df355b8d174.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-fe046df355b8d174.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-fe046df355b8d174.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-fe046df355b8d174.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-fe046df355b8d174.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-fe046df355b8d174.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/models/route-fe046df355b8d174.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/models/test/route-fe046df355b8d174.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/oauth/1min/import/route-fe046df355b8d174.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-fe046df355b8d174.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-fe046df355b8d174.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-fe046df355b8d174.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-fe046df355b8d174.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-fe046df355b8d174.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/oauth/freebuff/import/route-fe046df355b8d174.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-fe046df355b8d174.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-fe046df355b8d174.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/auto-import/route-fe046df355b8d174.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/import/route-fe046df355b8d174.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/quota/route-fe046df355b8d174.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-fe046df355b8d174.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-fe046df355b8d174.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-fe046df355b8d174.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-fe046df355b8d174.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-fe046df355b8d174.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-fe046df355b8d174.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/oauth/qwen/import/route-fe046df355b8d174.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/oauth/wp-studio/import/route-fe046df355b8d174.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/oauth/zcode/import/route-fe046df355b8d174.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-fe046df355b8d174.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-fe046df355b8d174.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/pricing/route-fe046df355b8d174.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-fe046df355b8d174.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-fe046df355b8d174.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-fe046df355b8d174.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/agnes-profile/route-fe046df355b8d174.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/felo-profile/route-fe046df355b8d174.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/freebuff-profile/route-fe046df355b8d174.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/health-timeline/route-fe046df355b8d174.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/inxora-profile/route-fe046df355b8d174.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-fe046df355b8d174.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-api-profile/route-fe046df355b8d174.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-profile/route-fe046df355b8d174.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/qwencloud-profile/route-fe046df355b8d174.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-fe046df355b8d174.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-fe046df355b8d174.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-fe046df355b8d174.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/v0-profile/route-fe046df355b8d174.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/vault-pool/route-fe046df355b8d174.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zai-profile/route-fe046df355b8d174.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zenmux-plans/route-fe046df355b8d174.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/providers/capture/launch/route-fe046df355b8d174.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/providers/capture/route-fe046df355b8d174.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-fe046df355b8d174.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/providers/felo-capture/launch/route-fe046df355b8d174.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/providers/felo-capture/route-fe046df355b8d174.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-fe046df355b8d174.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/providers/route-fe046df355b8d174.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-fe046df355b8d174.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-fe046df355b8d174.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-fe046df355b8d174.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-fe046df355b8d174.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-fe046df355b8d174.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-fe046df355b8d174.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-fe046df355b8d174.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-fe046df355b8d174.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-fe046df355b8d174.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-fe046df355b8d174.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-fe046df355b8d174.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-fe046df355b8d174.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-fe046df355b8d174.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-fe046df355b8d174.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/settings/route-fe046df355b8d174.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-fe046df355b8d174.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/smart-routing/active/route-fe046df355b8d174.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/smart-routing/history/route-fe046df355b8d174.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/smart-routing/lab/route-fe046df355b8d174.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/smart-routing/stream/route-fe046df355b8d174.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/swarm/active/route-fe046df355b8d174.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/swarm/stream/route-fe046df355b8d174.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/tags/route-fe046df355b8d174.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-fe046df355b8d174.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-fe046df355b8d174.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-fe046df355b8d174.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-fe046df355b8d174.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-fe046df355b8d174.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-fe046df355b8d174.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-fe046df355b8d174.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-fe046df355b8d174.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-fe046df355b8d174.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-fe046df355b8d174.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-fe046df355b8d174.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-fe046df355b8d174.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-fe046df355b8d174.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-fe046df355b8d174.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-fe046df355b8d174.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-fe046df355b8d174.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-fe046df355b8d174.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/usage/leaderboard/route-fe046df355b8d174.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-fe046df355b8d174.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/usage/meta/route-fe046df355b8d174.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-fe046df355b8d174.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-fe046df355b8d174.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-fe046df355b8d174.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/usage/retry-stats/route-fe046df355b8d174.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-fe046df355b8d174.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-fe046df355b8d174.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-fe046df355b8d174.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-fe046df355b8d174.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-fe046df355b8d174.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-fe046df355b8d174.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-fe046df355b8d174.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-fe046df355b8d174.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-fe046df355b8d174.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/v1/media/results/[id]/route-fe046df355b8d174.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-fe046df355b8d174.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-fe046df355b8d174.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-fe046df355b8d174.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-fe046df355b8d174.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-fe046df355b8d174.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-fe046df355b8d174.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-fe046df355b8d174.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/v1/route-fe046df355b8d174.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-fe046df355b8d174.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/v1/video/generations/route-fe046df355b8d174.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-fe046df355b8d174.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-fe046df355b8d174.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-fe046df355b8d174.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/version/route-fe046df355b8d174.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-fe046df355b8d174.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/version/update/route-fe046df355b8d174.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/{page-bc142d42a8a549b4.js → page-cb505396f61fd853.js} +1 -1
  821. package/app/.next-cli-build/static/chunks/app/{layout-0e3fdd66d189006c.js → layout-43c49c1c04131398.js} +1 -1
  822. package/app/.next-cli-build/static/chunks/app/login/{page-4b39978fc147efa3.js → page-783218bde9da4df5.js} +1 -1
  823. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-fe046df355b8d174.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/page-fe046df355b8d174.js +1 -0
  825. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-fe046df355b8d174.js +1 -0
  826. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-fe046df355b8d174.js +1 -0
  827. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-fe046df355b8d174.js +1 -0
  828. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-fe046df355b8d174.js +1 -0
  829. package/app/.next-cli-build/static/css/4311ce5e9ab1213e.css +1 -0
  830. package/app/.next-cli-build/static/zahf-uMWnrDSCrrfcee0d/_buildManifest.js +1 -0
  831. package/app/package.json +1 -1
  832. package/app/public/favicon.svg +70 -8
  833. package/app/public/icons/icon-192.svg +73 -3
  834. package/app/public/icons/icon-512.svg +72 -3
  835. package/app/public/providers/ai21.png +0 -0
  836. package/app/public/providers/aimlapi.png +0 -0
  837. package/app/public/providers/ainative.png +0 -0
  838. package/app/public/providers/aion.png +0 -0
  839. package/app/public/providers/alibaba-cn.svg +1 -11
  840. package/app/public/providers/alibaba.svg +1 -11
  841. package/app/public/providers/alitp-intl.svg +1 -0
  842. package/app/public/providers/anyapi.png +0 -0
  843. package/app/public/providers/arcee-ai.png +0 -0
  844. package/app/public/providers/auriko.svg +61 -4
  845. package/app/public/providers/azure-ai.svg +23 -4
  846. package/app/public/providers/bai.png +0 -0
  847. package/app/public/providers/baseten.png +0 -0
  848. package/app/public/providers/blackbox-web.png +0 -0
  849. package/app/public/providers/bluesminds.png +0 -0
  850. package/app/public/providers/bytez.png +0 -0
  851. package/app/public/providers/charm-hyper.png +0 -0
  852. package/app/public/providers/chatanywhere.svg +1 -4
  853. package/app/public/providers/cheaperinference.png +0 -0
  854. package/app/public/providers/chenzk.png +0 -0
  855. package/app/public/providers/clarifai.svg +1 -4
  856. package/app/public/providers/cloudcode-one.svg +12 -3
  857. package/app/public/providers/conol-web.png +0 -0
  858. package/app/public/providers/crof.png +0 -0
  859. package/app/public/providers/datarobot.png +0 -0
  860. package/app/public/providers/digitalocean.svg +1 -4
  861. package/app/public/providers/dit.svg +9 -3
  862. package/app/public/providers/docker-model-runner.svg +1 -1
  863. package/app/public/providers/duckduckgo-web.svg +1 -7
  864. package/app/public/providers/dxnt.svg +9 -3
  865. package/app/public/providers/gemini-business.svg +1 -1
  866. package/app/public/providers/gitlab.svg +1 -0
  867. package/app/public/providers/hailuo-web.svg +1 -1
  868. package/app/public/providers/heroku.svg +15 -3
  869. package/app/public/providers/huggingchat.svg +1 -9
  870. package/app/public/providers/kimi-desktop.svg +1 -9
  871. package/app/public/providers/kimi-web.svg +1 -8
  872. package/app/public/providers/lm-studio.svg +1 -1
  873. package/app/public/providers/meta-llama.svg +1 -4
  874. package/app/public/providers/modal.svg +1 -4
  875. package/app/public/providers/modelscope.svg +1 -4
  876. package/app/public/providers/notion-web.svg +1 -1
  877. package/app/public/providers/oci.svg +19 -3
  878. package/app/public/providers/ollama-cloud.svg +1 -4
  879. package/app/public/providers/orcarouter.png +0 -0
  880. package/app/public/providers/ovhcloud.svg +1 -4
  881. package/app/public/providers/perplexity-agent.svg +1 -13
  882. package/app/public/providers/poe-web.svg +1 -8
  883. package/app/public/providers/qwen-cloud.svg +1 -1
  884. package/app/public/providers/qwen-web.svg +1 -6
  885. package/app/public/providers/qwencloud.svg +1 -6
  886. package/app/public/providers/sap.svg +1 -4
  887. package/app/public/providers/scaleway.svg +1 -4
  888. package/app/public/providers/snowflake.svg +1 -4
  889. package/app/public/providers/triton.svg +1 -1
  890. package/app/public/providers/vllm.svg +1 -1
  891. package/app/public/providers/wandb.svg +1 -4
  892. package/app/public/providers/watsonx.svg +50 -3
  893. package/app/public/providers/xkiro.svg +11 -0
  894. package/app/public/providers/zai-web.svg +1 -7
  895. package/app/public/providers/zcode.png +0 -0
  896. package/app/public/vercel.svg +73 -1
  897. package/app/src/lib/db/migrate.js +6 -3
  898. package/app/src/mitm/server.js +27 -27
  899. package/package.json +1 -1
  900. package/src/cli/menus/providers.js +6 -0
  901. package/src/cli/tray/icon.ico +0 -0
  902. package/src/cli/tray/icon.png +0 -0
  903. package/app/.next-cli-build/server/chunks/1891.js +0 -10
  904. package/app/.next-cli-build/server/chunks/3735.js +0 -1
  905. package/app/.next-cli-build/server/chunks/3841.js +0 -1
  906. package/app/.next-cli-build/server/chunks/3988.js +0 -1
  907. package/app/.next-cli-build/server/chunks/422.js +0 -9
  908. package/app/.next-cli-build/server/chunks/5699.js +0 -1
  909. package/app/.next-cli-build/server/chunks/6306.js +0 -1
  910. package/app/.next-cli-build/server/chunks/6878.js +0 -1
  911. package/app/.next-cli-build/server/chunks/7016.js +0 -3
  912. package/app/.next-cli-build/server/chunks/7410.js +0 -1
  913. package/app/.next-cli-build/server/chunks/8048.js +0 -1
  914. package/app/.next-cli-build/server/chunks/874.js +0 -9
  915. package/app/.next-cli-build/server/chunks/9703.js +0 -14
  916. package/app/.next-cli-build/static/FP2YsqoRbzETOIHRfld7X/_buildManifest.js +0 -1
  917. package/app/.next-cli-build/static/chunks/1321-a387932dc3179f86.js +0 -1
  918. package/app/.next-cli-build/static/chunks/5497-c6d8b48c8828240a.js +0 -7
  919. package/app/.next-cli-build/static/chunks/705-42ad329bbe0c47df.js +0 -1
  920. package/app/.next-cli-build/static/chunks/9497-d27e455b90c7936e.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-a84afe4d66f3439a.js +0 -3
  922. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-9850fafcf9dd605b.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-9879594c5128cd91.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/page-99c8024bece93467.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-d3be818ebce4ade2.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/playground/page-5ef2d54550eda9da.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-d208597b457fee58.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-1f465a9d64823fe6.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-e249d28461673557.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-7ea08e0acef52ce3.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/_global-error/page-d93feb6893aee449.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/alerts/test/route-d93feb6893aee449.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-d93feb6893aee449.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-d93feb6893aee449.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-d93feb6893aee449.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-d93feb6893aee449.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-d93feb6893aee449.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-d93feb6893aee449.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-d93feb6893aee449.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/breaker/route-d93feb6893aee449.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/cache/route-d93feb6893aee449.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-d93feb6893aee449.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-d93feb6893aee449.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-d93feb6893aee449.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-d93feb6893aee449.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-d93feb6893aee449.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-d93feb6893aee449.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-d93feb6893aee449.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-d93feb6893aee449.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-d93feb6893aee449.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-d93feb6893aee449.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-d93feb6893aee449.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-d93feb6893aee449.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-d93feb6893aee449.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-d93feb6893aee449.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-d93feb6893aee449.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-d93feb6893aee449.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-d93feb6893aee449.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-d93feb6893aee449.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/combos/lab/route-d93feb6893aee449.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/combos/route-d93feb6893aee449.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/combos/simulate/route-d93feb6893aee449.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/combos/validate-roles/route-d93feb6893aee449.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/dashboard/stream/route-d93feb6893aee449.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-d93feb6893aee449.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-d93feb6893aee449.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-d93feb6893aee449.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/health/overview/route-d93feb6893aee449.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/health/providers/route-d93feb6893aee449.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/health/route-d93feb6893aee449.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/health/stream/route-d93feb6893aee449.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/init/route-d93feb6893aee449.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-d93feb6893aee449.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/keys/route-d93feb6893aee449.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/locale/route-d93feb6893aee449.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-d93feb6893aee449.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-d93feb6893aee449.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-d93feb6893aee449.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-d93feb6893aee449.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-d93feb6893aee449.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-d93feb6893aee449.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-d93feb6893aee449.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-d93feb6893aee449.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-d93feb6893aee449.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-d93feb6893aee449.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-d93feb6893aee449.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/models/route-d93feb6893aee449.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/models/test/route-d93feb6893aee449.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/oauth/1min/import/route-d93feb6893aee449.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-d93feb6893aee449.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-d93feb6893aee449.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-d93feb6893aee449.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-d93feb6893aee449.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-d93feb6893aee449.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/oauth/freebuff/import/route-d93feb6893aee449.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-d93feb6893aee449.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-d93feb6893aee449.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/auto-import/route-d93feb6893aee449.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/import/route-d93feb6893aee449.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/quota/route-d93feb6893aee449.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-d93feb6893aee449.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-d93feb6893aee449.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-d93feb6893aee449.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-d93feb6893aee449.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-d93feb6893aee449.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-d93feb6893aee449.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/oauth/qwen/import/route-d93feb6893aee449.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/oauth/wp-studio/import/route-d93feb6893aee449.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-d93feb6893aee449.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-d93feb6893aee449.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/pricing/route-d93feb6893aee449.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-d93feb6893aee449.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-d93feb6893aee449.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-d93feb6893aee449.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/agnes-profile/route-d93feb6893aee449.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/felo-profile/route-d93feb6893aee449.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/freebuff-profile/route-d93feb6893aee449.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/health-timeline/route-d93feb6893aee449.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/inxora-profile/route-d93feb6893aee449.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-d93feb6893aee449.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-api-profile/route-d93feb6893aee449.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-profile/route-d93feb6893aee449.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/qwencloud-profile/route-d93feb6893aee449.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-d93feb6893aee449.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-d93feb6893aee449.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-d93feb6893aee449.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/v0-profile/route-d93feb6893aee449.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/vault-pool/route-d93feb6893aee449.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zai-profile/route-d93feb6893aee449.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zenmux-plans/route-d93feb6893aee449.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/api/providers/capture/launch/route-d93feb6893aee449.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/api/providers/capture/route-d93feb6893aee449.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-d93feb6893aee449.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/providers/felo-capture/launch/route-d93feb6893aee449.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/providers/felo-capture/route-d93feb6893aee449.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-d93feb6893aee449.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/api/providers/route-d93feb6893aee449.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-d93feb6893aee449.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-d93feb6893aee449.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-d93feb6893aee449.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-d93feb6893aee449.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-d93feb6893aee449.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-d93feb6893aee449.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-d93feb6893aee449.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-d93feb6893aee449.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-d93feb6893aee449.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-d93feb6893aee449.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-d93feb6893aee449.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-d93feb6893aee449.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-d93feb6893aee449.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-d93feb6893aee449.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/settings/route-d93feb6893aee449.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-d93feb6893aee449.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/smart-routing/active/route-d93feb6893aee449.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/smart-routing/history/route-d93feb6893aee449.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/smart-routing/lab/route-d93feb6893aee449.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/smart-routing/stream/route-d93feb6893aee449.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/swarm/active/route-d93feb6893aee449.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/swarm/stream/route-d93feb6893aee449.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/tags/route-d93feb6893aee449.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-d93feb6893aee449.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-d93feb6893aee449.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-d93feb6893aee449.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-d93feb6893aee449.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-d93feb6893aee449.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-d93feb6893aee449.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-d93feb6893aee449.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-d93feb6893aee449.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-d93feb6893aee449.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-d93feb6893aee449.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-d93feb6893aee449.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-d93feb6893aee449.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-d93feb6893aee449.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-d93feb6893aee449.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-d93feb6893aee449.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-d93feb6893aee449.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-d93feb6893aee449.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/usage/leaderboard/route-d93feb6893aee449.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-d93feb6893aee449.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/usage/meta/route-d93feb6893aee449.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-d93feb6893aee449.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-d93feb6893aee449.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-d93feb6893aee449.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/usage/retry-stats/route-d93feb6893aee449.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-d93feb6893aee449.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-d93feb6893aee449.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-d93feb6893aee449.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-d93feb6893aee449.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-d93feb6893aee449.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-d93feb6893aee449.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-d93feb6893aee449.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-d93feb6893aee449.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-d93feb6893aee449.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-d93feb6893aee449.js +0 -1
  1095. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-d93feb6893aee449.js +0 -1
  1096. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-d93feb6893aee449.js +0 -1
  1097. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-d93feb6893aee449.js +0 -1
  1098. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-d93feb6893aee449.js +0 -1
  1099. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-d93feb6893aee449.js +0 -1
  1100. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-d93feb6893aee449.js +0 -1
  1101. package/app/.next-cli-build/static/chunks/app/api/v1/route-d93feb6893aee449.js +0 -1
  1102. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-d93feb6893aee449.js +0 -1
  1103. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-d93feb6893aee449.js +0 -1
  1104. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-d93feb6893aee449.js +0 -1
  1105. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-d93feb6893aee449.js +0 -1
  1106. package/app/.next-cli-build/static/chunks/app/api/version/route-d93feb6893aee449.js +0 -1
  1107. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-d93feb6893aee449.js +0 -1
  1108. package/app/.next-cli-build/static/chunks/app/api/version/update/route-d93feb6893aee449.js +0 -1
  1109. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-d93feb6893aee449.js +0 -1
  1110. package/app/.next-cli-build/static/chunks/app/page-d93feb6893aee449.js +0 -1
  1111. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-d93feb6893aee449.js +0 -1
  1112. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-d93feb6893aee449.js +0 -1
  1113. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-d93feb6893aee449.js +0 -1
  1114. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-d93feb6893aee449.js +0 -1
  1115. package/app/.next-cli-build/static/css/d30ee18d498368cc.css +0 -1
  1116. package/app/public/providers/ai21.svg +0 -4
  1117. package/app/public/providers/aimlapi.svg +0 -4
  1118. package/app/public/providers/ainative.svg +0 -4
  1119. package/app/public/providers/aion.svg +0 -4
  1120. package/app/public/providers/anyapi.svg +0 -4
  1121. package/app/public/providers/arcee-ai.svg +0 -4
  1122. package/app/public/providers/bai.svg +0 -4
  1123. package/app/public/providers/baseten.svg +0 -4
  1124. package/app/public/providers/blackbox-web.svg +0 -6
  1125. package/app/public/providers/bluesminds.svg +0 -4
  1126. package/app/public/providers/bytez.svg +0 -4
  1127. package/app/public/providers/charm-hyper.svg +0 -4
  1128. package/app/public/providers/cheaperinference.svg +0 -4
  1129. package/app/public/providers/chenzk.svg +0 -4
  1130. package/app/public/providers/conol-web.svg +0 -1
  1131. package/app/public/providers/crof.svg +0 -4
  1132. package/app/public/providers/datarobot.svg +0 -4
  1133. package/app/public/providers/orcarouter.svg +0 -4
  1134. /package/app/.next-cli-build/static/{FP2YsqoRbzETOIHRfld7X → zahf-uMWnrDSCrrfcee0d}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- exports.id=3520,exports.ids=[3520],exports.modules={962:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/McpMarketplaceModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/McpMarketplaceModal.js","default")},3080:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/OAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/OAuthModal.js","default")},4996:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CapacityBadges.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CapacityBadges.js","default")},5843:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/NoAuthProxyCard.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/NoAuthProxyCard.js","default")},7290:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Card.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Card.js","default")},8229:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/IconButton.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/IconButton.js","default")},10079:(a,b,c)=>{"use strict";c.d(b,{ConfirmModal:()=>f,default:()=>e});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Modal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Modal.js","default"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call ConfirmModal() from the server but ConfirmModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Modal.js","ConfirmModal")},14285:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroOAuthWrapper.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroOAuthWrapper.js","default")},16380:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KimiDesktopQuotaCard.jsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KimiDesktopQuotaCard.jsx","default")},18200:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/AddCustomEmbeddingModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/AddCustomEmbeddingModal.js","default")},18421:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Tooltip.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Tooltip.js","default")},20493:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ComboFormModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ComboFormModal.js","default")},26866:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Sidebar.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Sidebar.js","default")},29354:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/HeaderMenu.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/HeaderMenu.js","default")},29674:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/NineRemoteButton.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/NineRemoteButton.js","default")},30508:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>j});var d=c(5735),e=c(65573),f=c(91970),g=c(89718),h=c(33792);c(45512),c(71230),c(83784),c(7290),c(10079),c(92082),c(70061),c(33893),c(70092),c(40515),c(89886),c(26866),c(92669),c(49123),c(3080),c(94582),c(70603),c(20493),c(962),c(45205),c(29674),c(29354),c(33811),c(82448),c(14285),c(87228),c(40167),c(56966),c(87925),c(16380),c(33937),c(37008),c(38086),c(80342),c(64148),c(70139),c(18200),c(5843),c(67560),c(54842),c(54065),c(18421),c(81923),c(4996),c(98738),c(72701),c(8229),c(41970);var i=c(61780);async function j({children:a}){if(!1!==(await (0,g.mt)()).requireLogin){let a=await (0,e.UL)();await (0,h.dY)(a.get("auth_token")?.value)||(0,f.redirect)("/login")}return(0,d.jsx)(i.default,{children:a})}c(64420)},33792:(a,b,c)=>{"use strict";c.d(b,{Dc:()=>r,OZ:()=>u,YK:()=>p,dY:()=>s,nz:()=>v,tm:()=>t});var d=c(86935),e=c(69614),f=c(34013),g=c(73024),h=c.n(g),i=c(76760),j=c.n(i),k=c(77598),l=c.n(k),m=c(58273),n=c(89718);let o=new TextEncoder().encode(function(){if(process.env.JWT_SECRET)return process.env.JWT_SECRET;let a=j().join(m.n,"jwt-secret");try{return h().readFileSync(a,"utf8").trim()}catch{}h().mkdirSync(m.n,{recursive:!0});let b=l().randomBytes(32).toString("hex");return h().writeFileSync(a,b,{mode:384}),b}());function p(a){let b="true"===process.env.AUTH_COOKIE_SECURE,c=a?.headers?.get?.("x-forwarded-proto");return b||"https"===c}async function q(a={}){return new d.P({authenticated:!0,...a}).setProtectedHeader({alg:"HS256"}).setIssuedAt().setExpirationTime("24h").sign(o)}async function r(a){if(!a)return!1;try{return await (0,e.V)(a,o),!0}catch{return!1}}async function s(a){if(!a)return null;try{let{payload:b}=await (0,e.V)(a,o);return b}catch{return null}}async function t(a,b,c={}){let d=await q(c);a.set("auth_token",d,{httpOnly:!0,secure:p(b),sameSite:"lax",path:"/"})}function u(a){a.delete("auth_token")}async function v(a){if("string"!=typeof a||!a)return!1;let b=await (0,n.mt)(),c=b?.password;return c?f.Ay.compare(a,c):a===(process.env.INITIAL_PASSWORD||"123456")}},33811:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ChangelogModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ChangelogModal.js","default")},33893:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Badge.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Badge.js","default")},33937:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/OneMinAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/OneMinAuthModal.js","default")},37008:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/QwenAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/QwenAuthModal.js","default")},38086:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/WpStudioAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/WpStudioAuthModal.js","default")},40167:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CursorAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CursorAuthModal.js","default")},40515:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ThemeToggle.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ThemeToggle.js","default")},41970:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/EmptyState.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/EmptyState.js","default")},45205:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/LanguageSwitcher.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/LanguageSwitcher.js","default")},45512:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Button.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Button.js","default")},49123:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Footer.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Footer.js","default")},51234:(a,b,c)=>{Promise.resolve().then(c.bind(c,67738)),Promise.resolve().then(c.bind(c,25919)),Promise.resolve().then(c.bind(c,75171)),Promise.resolve().then(c.bind(c,99070)),Promise.resolve().then(c.bind(c,38930)),Promise.resolve().then(c.bind(c,17660)),Promise.resolve().then(c.bind(c,11229)),Promise.resolve().then(c.bind(c,62727)),Promise.resolve().then(c.bind(c,44844)),Promise.resolve().then(c.bind(c,51109)),Promise.resolve().then(c.bind(c,51585)),Promise.resolve().then(c.bind(c,26584)),Promise.resolve().then(c.bind(c,13922)),Promise.resolve().then(c.bind(c,48781)),Promise.resolve().then(c.bind(c,43182)),Promise.resolve().then(c.bind(c,70727)),Promise.resolve().then(c.bind(c,3236)),Promise.resolve().then(c.bind(c,51175)),Promise.resolve().then(c.bind(c,79488)),Promise.resolve().then(c.bind(c,83552)),Promise.resolve().then(c.bind(c,619)),Promise.resolve().then(c.bind(c,42758)),Promise.resolve().then(c.bind(c,8590)),Promise.resolve().then(c.bind(c,5291)),Promise.resolve().then(c.bind(c,56110)),Promise.resolve().then(c.bind(c,267)),Promise.resolve().then(c.bind(c,53838)),Promise.resolve().then(c.bind(c,85306)),Promise.resolve().then(c.bind(c,74812)),Promise.resolve().then(c.bind(c,39645)),Promise.resolve().then(c.bind(c,20084)),Promise.resolve().then(c.bind(c,95145)),Promise.resolve().then(c.bind(c,83352)),Promise.resolve().then(c.bind(c,29370)),Promise.resolve().then(c.bind(c,50585)),Promise.resolve().then(c.bind(c,79346)),Promise.resolve().then(c.bind(c,88831)),Promise.resolve().then(c.bind(c,58980)),Promise.resolve().then(c.bind(c,11633)),Promise.resolve().then(c.bind(c,6386)),Promise.resolve().then(c.bind(c,91099)),Promise.resolve().then(c.bind(c,4770)),Promise.resolve().then(c.bind(c,32189)),Promise.resolve().then(c.bind(c,19308)),Promise.resolve().then(c.bind(c,53845)),Promise.resolve().then(c.bind(c,95514)),Promise.resolve().then(c.bind(c,32171)),Promise.resolve().then(c.bind(c,32971)),Promise.resolve().then(c.bind(c,74756)),Promise.resolve().then(c.bind(c,24656))},54065:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/SegmentedControl.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/SegmentedControl.js","default")},54842:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CookieCaptureButton.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CookieCaptureButton.js","default")},56966:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ZedAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ZedAuthModal.js","default")},61780:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/layouts/DashboardLayout.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/layouts/DashboardLayout.js","default")},64148:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/GitLabAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/GitLabAuthModal.js","default")},64420:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/layouts/AuthLayout.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/layouts/AuthLayout.js","default")},67560:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/FeloCaptureButton.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/FeloCaptureButton.js","default")},70061:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Avatar.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Avatar.js","default")},70092:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Toggle.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Toggle.js","default")},70139:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/EditConnectionModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/EditConnectionModal.js","default")},70603:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ManualConfigModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ManualConfigModal.js","default")},71230:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Input.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Input.js","default")},72701:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Toolbar.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Toolbar.js","default")},80342:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/IFlowCookieModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/IFlowCookieModal.js","default")},81923:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ProviderInfoCard.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ProviderInfoCard.js","default")},82448:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroAuthModal.js","default")},82778:(a,b,c)=>{Promise.resolve().then(c.bind(c,18200)),Promise.resolve().then(c.bind(c,70061)),Promise.resolve().then(c.bind(c,33893)),Promise.resolve().then(c.bind(c,45512)),Promise.resolve().then(c.bind(c,4996)),Promise.resolve().then(c.bind(c,7290)),Promise.resolve().then(c.bind(c,33811)),Promise.resolve().then(c.bind(c,20493)),Promise.resolve().then(c.bind(c,54842)),Promise.resolve().then(c.bind(c,40167)),Promise.resolve().then(c.bind(c,70139)),Promise.resolve().then(c.bind(c,41970)),Promise.resolve().then(c.bind(c,67560)),Promise.resolve().then(c.bind(c,49123)),Promise.resolve().then(c.bind(c,64148)),Promise.resolve().then(c.bind(c,92669)),Promise.resolve().then(c.bind(c,29354)),Promise.resolve().then(c.bind(c,8229)),Promise.resolve().then(c.bind(c,80342)),Promise.resolve().then(c.bind(c,71230)),Promise.resolve().then(c.bind(c,87925)),Promise.resolve().then(c.bind(c,16380)),Promise.resolve().then(c.bind(c,82448)),Promise.resolve().then(c.bind(c,14285)),Promise.resolve().then(c.bind(c,87228)),Promise.resolve().then(c.bind(c,45205)),Promise.resolve().then(c.bind(c,64420)),Promise.resolve().then(c.bind(c,61780)),Promise.resolve().then(c.bind(c,92082)),Promise.resolve().then(c.bind(c,70603)),Promise.resolve().then(c.bind(c,962)),Promise.resolve().then(c.bind(c,10079)),Promise.resolve().then(c.bind(c,94582)),Promise.resolve().then(c.bind(c,29674)),Promise.resolve().then(c.bind(c,5843)),Promise.resolve().then(c.bind(c,3080)),Promise.resolve().then(c.bind(c,33937)),Promise.resolve().then(c.bind(c,98738)),Promise.resolve().then(c.bind(c,81923)),Promise.resolve().then(c.bind(c,37008)),Promise.resolve().then(c.bind(c,54065)),Promise.resolve().then(c.bind(c,83784)),Promise.resolve().then(c.bind(c,26866)),Promise.resolve().then(c.bind(c,89886)),Promise.resolve().then(c.bind(c,40515)),Promise.resolve().then(c.bind(c,70092)),Promise.resolve().then(c.bind(c,72701)),Promise.resolve().then(c.bind(c,18421)),Promise.resolve().then(c.bind(c,38086)),Promise.resolve().then(c.bind(c,56966))},83784:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Select.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Select.js","default")},87228:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroSocialOAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroSocialOAuthModal.js","default")},87925:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KimiDesktopAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KimiDesktopAuthModal.js","default")},92082:(a,b,c)=>{"use strict";c.d(b,{CardSkeleton:()=>h,PageLoading:()=>f,Skeleton:()=>g,Spinner:()=>e,default:()=>i});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Spinner() from the server but Spinner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js","Spinner"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call PageLoading() from the server but PageLoading is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js","PageLoading"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call Skeleton() from the server but Skeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js","Skeleton"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call CardSkeleton() from the server but CardSkeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js","CardSkeleton"),i=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js","default")},92669:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Header.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Header.js","default")},94582:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ModelSelectModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ModelSelectModal.js","default")},98738:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/PageHeader.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/PageHeader.js","default")}};
1
+ exports.id=3520,exports.ids=[3520],exports.modules={3080:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/OAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/OAuthModal.js","default")},4996:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CapacityBadges.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CapacityBadges.js","default")},5843:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/NoAuthProxyCard.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/NoAuthProxyCard.js","default")},7290:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Card.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Card.js","default")},8229:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/IconButton.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/IconButton.js","default")},10079:(a,b,c)=>{"use strict";c.d(b,{ConfirmModal:()=>f,default:()=>e});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Modal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Modal.js","default"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call ConfirmModal() from the server but ConfirmModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Modal.js","ConfirmModal")},14285:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroOAuthWrapper.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroOAuthWrapper.js","default")},16380:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KimiDesktopQuotaCard.jsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KimiDesktopQuotaCard.jsx","default")},18200:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/AddCustomEmbeddingModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/AddCustomEmbeddingModal.js","default")},18421:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Tooltip.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Tooltip.js","default")},20493:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ComboFormModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ComboFormModal.js","default")},26866:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Sidebar.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Sidebar.js","default")},29354:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/HeaderMenu.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/HeaderMenu.js","default")},29674:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/NineRemoteButton.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/NineRemoteButton.js","default")},30508:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>j});var d=c(5735),e=c(65573),f=c(91970),g=c(89718),h=c(33792);c(45512),c(71230),c(83784),c(7290),c(10079),c(92082),c(70061),c(33893),c(70092),c(40515),c(89886),c(26866),c(92669),c(49123),c(3080),c(94582),c(70603),c(20493),c(78581),c(45205),c(29674),c(29354),c(33811),c(82448),c(14285),c(87228),c(40167),c(56966),c(87925),c(16380),c(33937),c(37008),c(38086),c(80342),c(64148),c(70139),c(18200),c(5843),c(67560),c(54842),c(54065),c(18421),c(81923),c(4996),c(98738),c(72701),c(8229),c(41970);var i=c(61780);async function j({children:a}){if(!1!==(await (0,g.mt)()).requireLogin){let a=await (0,e.UL)();await (0,h.dY)(a.get("auth_token")?.value)||(0,f.redirect)("/login")}return(0,d.jsx)(i.default,{children:a})}c(64420)},33792:(a,b,c)=>{"use strict";c.d(b,{Dc:()=>r,OZ:()=>u,YK:()=>p,dY:()=>s,nz:()=>v,tm:()=>t});var d=c(86935),e=c(69614),f=c(34013),g=c(73024),h=c.n(g),i=c(76760),j=c.n(i),k=c(77598),l=c.n(k),m=c(58273),n=c(89718);let o=new TextEncoder().encode(function(){if(process.env.JWT_SECRET)return process.env.JWT_SECRET;let a=j().join(m.n,"jwt-secret");try{return h().readFileSync(a,"utf8").trim()}catch{}h().mkdirSync(m.n,{recursive:!0});let b=l().randomBytes(32).toString("hex");return h().writeFileSync(a,b,{mode:384}),b}());function p(a){let b="true"===process.env.AUTH_COOKIE_SECURE,c=a?.headers?.get?.("x-forwarded-proto");return b||"https"===c}async function q(a={}){return new d.P({authenticated:!0,...a}).setProtectedHeader({alg:"HS256"}).setIssuedAt().setExpirationTime("24h").sign(o)}async function r(a){if(!a)return!1;try{return await (0,e.V)(a,o),!0}catch{return!1}}async function s(a){if(!a)return null;try{let{payload:b}=await (0,e.V)(a,o);return b}catch{return null}}async function t(a,b,c={}){let d=await q(c);a.set("auth_token",d,{httpOnly:!0,secure:p(b),sameSite:"lax",path:"/"})}function u(a){a.delete("auth_token")}async function v(a){if("string"!=typeof a||!a)return!1;let b=await (0,n.mt)(),c=b?.password;return c?f.Ay.compare(a,c):a===(process.env.INITIAL_PASSWORD||"123456")}},33811:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ChangelogModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ChangelogModal.js","default")},33893:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Badge.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Badge.js","default")},33937:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/OneMinAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/OneMinAuthModal.js","default")},37008:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/QwenAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/QwenAuthModal.js","default")},38086:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/WpStudioAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/WpStudioAuthModal.js","default")},40167:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CursorAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CursorAuthModal.js","default")},40515:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ThemeToggle.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ThemeToggle.js","default")},41970:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/EmptyState.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/EmptyState.js","default")},45205:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/LanguageSwitcher.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/LanguageSwitcher.js","default")},45512:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Button.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Button.js","default")},49123:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Footer.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Footer.js","default")},51234:(a,b,c)=>{Promise.resolve().then(c.bind(c,67738)),Promise.resolve().then(c.bind(c,25919)),Promise.resolve().then(c.bind(c,75171)),Promise.resolve().then(c.bind(c,99070)),Promise.resolve().then(c.bind(c,38930)),Promise.resolve().then(c.bind(c,17660)),Promise.resolve().then(c.bind(c,11229)),Promise.resolve().then(c.bind(c,62727)),Promise.resolve().then(c.bind(c,44844)),Promise.resolve().then(c.bind(c,51109)),Promise.resolve().then(c.bind(c,51585)),Promise.resolve().then(c.bind(c,26584)),Promise.resolve().then(c.bind(c,13922)),Promise.resolve().then(c.bind(c,48781)),Promise.resolve().then(c.bind(c,43182)),Promise.resolve().then(c.bind(c,70727)),Promise.resolve().then(c.bind(c,3236)),Promise.resolve().then(c.bind(c,51175)),Promise.resolve().then(c.bind(c,79488)),Promise.resolve().then(c.bind(c,83552)),Promise.resolve().then(c.bind(c,619)),Promise.resolve().then(c.bind(c,42758)),Promise.resolve().then(c.bind(c,8590)),Promise.resolve().then(c.bind(c,5291)),Promise.resolve().then(c.bind(c,56110)),Promise.resolve().then(c.bind(c,267)),Promise.resolve().then(c.bind(c,53838)),Promise.resolve().then(c.bind(c,85306)),Promise.resolve().then(c.bind(c,74812)),Promise.resolve().then(c.bind(c,39645)),Promise.resolve().then(c.bind(c,20084)),Promise.resolve().then(c.bind(c,95145)),Promise.resolve().then(c.bind(c,83352)),Promise.resolve().then(c.bind(c,29370)),Promise.resolve().then(c.bind(c,50585)),Promise.resolve().then(c.bind(c,79346)),Promise.resolve().then(c.bind(c,88831)),Promise.resolve().then(c.bind(c,58980)),Promise.resolve().then(c.bind(c,11633)),Promise.resolve().then(c.bind(c,6386)),Promise.resolve().then(c.bind(c,91099)),Promise.resolve().then(c.bind(c,4770)),Promise.resolve().then(c.bind(c,32189)),Promise.resolve().then(c.bind(c,19308)),Promise.resolve().then(c.bind(c,53845)),Promise.resolve().then(c.bind(c,95514)),Promise.resolve().then(c.bind(c,32171)),Promise.resolve().then(c.bind(c,32971)),Promise.resolve().then(c.bind(c,74756)),Promise.resolve().then(c.bind(c,24656))},54065:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/SegmentedControl.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/SegmentedControl.js","default")},54842:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CookieCaptureButton.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/CookieCaptureButton.js","default")},56966:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ZedAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ZedAuthModal.js","default")},61780:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/layouts/DashboardLayout.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/layouts/DashboardLayout.js","default")},64148:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/GitLabAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/GitLabAuthModal.js","default")},64420:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/layouts/AuthLayout.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/layouts/AuthLayout.js","default")},67560:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/FeloCaptureButton.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/FeloCaptureButton.js","default")},70061:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Avatar.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Avatar.js","default")},70092:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Toggle.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Toggle.js","default")},70139:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/EditConnectionModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/EditConnectionModal.js","default")},70603:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ManualConfigModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ManualConfigModal.js","default")},71230:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Input.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Input.js","default")},72701:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Toolbar.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Toolbar.js","default")},78581:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/McpMarketplaceModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/McpMarketplaceModal.js","default")},80342:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/IFlowCookieModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/IFlowCookieModal.js","default")},81923:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ProviderInfoCard.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ProviderInfoCard.js","default")},82448:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroAuthModal.js","default")},82778:(a,b,c)=>{Promise.resolve().then(c.bind(c,18200)),Promise.resolve().then(c.bind(c,70061)),Promise.resolve().then(c.bind(c,33893)),Promise.resolve().then(c.bind(c,45512)),Promise.resolve().then(c.bind(c,4996)),Promise.resolve().then(c.bind(c,7290)),Promise.resolve().then(c.bind(c,33811)),Promise.resolve().then(c.bind(c,20493)),Promise.resolve().then(c.bind(c,54842)),Promise.resolve().then(c.bind(c,40167)),Promise.resolve().then(c.bind(c,70139)),Promise.resolve().then(c.bind(c,41970)),Promise.resolve().then(c.bind(c,67560)),Promise.resolve().then(c.bind(c,49123)),Promise.resolve().then(c.bind(c,64148)),Promise.resolve().then(c.bind(c,92669)),Promise.resolve().then(c.bind(c,29354)),Promise.resolve().then(c.bind(c,8229)),Promise.resolve().then(c.bind(c,80342)),Promise.resolve().then(c.bind(c,71230)),Promise.resolve().then(c.bind(c,87925)),Promise.resolve().then(c.bind(c,16380)),Promise.resolve().then(c.bind(c,82448)),Promise.resolve().then(c.bind(c,14285)),Promise.resolve().then(c.bind(c,87228)),Promise.resolve().then(c.bind(c,45205)),Promise.resolve().then(c.bind(c,64420)),Promise.resolve().then(c.bind(c,61780)),Promise.resolve().then(c.bind(c,92082)),Promise.resolve().then(c.bind(c,70603)),Promise.resolve().then(c.bind(c,78581)),Promise.resolve().then(c.bind(c,10079)),Promise.resolve().then(c.bind(c,94582)),Promise.resolve().then(c.bind(c,29674)),Promise.resolve().then(c.bind(c,5843)),Promise.resolve().then(c.bind(c,3080)),Promise.resolve().then(c.bind(c,33937)),Promise.resolve().then(c.bind(c,98738)),Promise.resolve().then(c.bind(c,81923)),Promise.resolve().then(c.bind(c,37008)),Promise.resolve().then(c.bind(c,54065)),Promise.resolve().then(c.bind(c,83784)),Promise.resolve().then(c.bind(c,26866)),Promise.resolve().then(c.bind(c,89886)),Promise.resolve().then(c.bind(c,40515)),Promise.resolve().then(c.bind(c,70092)),Promise.resolve().then(c.bind(c,72701)),Promise.resolve().then(c.bind(c,18421)),Promise.resolve().then(c.bind(c,38086)),Promise.resolve().then(c.bind(c,56966))},83784:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Select.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Select.js","default")},87228:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroSocialOAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KiroSocialOAuthModal.js","default")},87925:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KimiDesktopAuthModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/KimiDesktopAuthModal.js","default")},92082:(a,b,c)=>{"use strict";c.d(b,{CardSkeleton:()=>h,PageLoading:()=>f,Skeleton:()=>g,Spinner:()=>e,default:()=>i});var d=c(77943);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Spinner() from the server but Spinner is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js","Spinner"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call PageLoading() from the server but PageLoading is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js","PageLoading"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call Skeleton() from the server but Skeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js","Skeleton"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call CardSkeleton() from the server but CardSkeleton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js","CardSkeleton"),i=(0,d.registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Loading.js","default")},92669:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Header.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/Header.js","default")},94582:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ModelSelectModal.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/ModelSelectModal.js","default")},98738:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/PageHeader.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/ExtremeRouter/ExtremeRouter/src/shared/components/PageHeader.js","default")}};
@@ -1 +1 @@
1
- "use strict";exports.id=3535,exports.ids=[3535],exports.modules={13808:(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()}}},73159:(a,b,c)=>{c.d(b,{Ue:()=>k,oT:()=>l});var d=c(26070);let e=d.xq.xai?.clientId,f="https://auth.x.ai",g="/oauth2/authorize",h="/oauth2/token",i="/.well-known/openid-configuration",j="/callback",k=96,l={clientId:e,issuer:f,authEndpointPath:g,tokenEndpointPath:h,discoveryPath:i,authorizeUrl:`${f}${g}`,tokenUrl:`${f}${h}`,discoveryUrl:`${f}${i}`,scope:"openid profile email offline_access grok-cli:access api:access",apiBaseUrl:"https://api.x.ai/v1",redirectUri:`http://127.0.0.1:56121${j}`,loopbackPort:56121,callbackPath:j,pkceVerifierBytes:96,refreshLeadSeconds:300,userAgent:"grok-cli/extremerouter",codeChallengeMethod:"S256"}},92990:(a,b,c)=>{c.d(b,{Bq:()=>E,DI:()=>i,Hp:()=>k,LT:()=>j,MZ:()=>w,NH:()=>C,Nl:()=>A,Nu:()=>p,OV:()=>h,S6:()=>s,Td:()=>D,Tx:()=>q,WN:()=>t,Ww:()=>G,X0:()=>B,YT:()=>n,ZL:()=>m,cD:()=>o,f7:()=>z,hF:()=>l,lB:()=>x,rM:()=>v,t:()=>u,vg:()=>F,w1:()=>y});var d=c(21820),e=c(74129),f=c(26070);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.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["kimi-desktop"],tokenStoragePaths:{linux:"~/.config/kimi-desktop/bridge-store/token-store.json (best-effort)",macos:"~/Library/Application Support/kimi-desktop/bridge-store/token-store.json",windows:"%APPDATA%\\kimi-desktop\\bridge-store\\token-store.json"}},w={...f.sr.kilocode},x={...f.sr.cline},y={...f.sr.clinepass},z={...f.sr.gitlab},A={...f.sr["codebuddy-cn"]},B={...f.sr["codebuddy-intl"]},C={...f.sr.workbuddy},D={...f.sr.kimchi},E={baseUrl:"https://codebuff.com",tokenPageUrl:"https://freebuff.llm.pm",defaultModel:"deepseek/deepseek-v4-flash",premiumModelIds:["deepseek/deepseek-v4-pro","openai/gpt-5.6-luna","minimax/minimax-m3"]},F={...f.sr.zed,tokenStoragePaths:{linux:"~/.local/share/zed/ (or libsecret keyring)",macos:"macOS Keychain (zed)",windows:"Windows Credential Manager"}},G=3e5}};
1
+ "use strict";exports.id=3535,exports.ids=[3535],exports.modules={13808:(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()}}},73159:(a,b,c)=>{c.d(b,{Ue:()=>k,oT:()=>l});var d=c(26070);let e=d.xq.xai?.clientId,f="https://auth.x.ai",g="/oauth2/authorize",h="/oauth2/token",i="/.well-known/openid-configuration",j="/callback",k=96,l={clientId:e,issuer:f,authEndpointPath:g,tokenEndpointPath:h,discoveryPath:i,authorizeUrl:`${f}${g}`,tokenUrl:`${f}${h}`,discoveryUrl:`${f}${i}`,scope:"openid profile email offline_access grok-cli:access api:access",apiBaseUrl:"https://api.x.ai/v1",redirectUri:`http://127.0.0.1:56121${j}`,loopbackPort:56121,callbackPath:j,pkceVerifierBytes:96,refreshLeadSeconds:300,userAgent:"grok-cli/extremerouter",codeChallengeMethod:"S256"}},92990:(a,b,c)=>{c.d(b,{Bq:()=>E,DI:()=>i,Hp:()=>k,LT:()=>j,MZ:()=>w,NH:()=>C,Nl:()=>A,Nu:()=>p,OV:()=>h,S6:()=>s,Td:()=>D,Tx:()=>q,WN:()=>t,Ww:()=>H,X0:()=>B,YT:()=>n,ZL:()=>m,cD:()=>o,d1:()=>F,f7:()=>z,hF:()=>l,lB:()=>x,rM:()=>v,t:()=>u,vg:()=>G,w1:()=>y});var d=c(21820),e=c(74129),f=c(26070);function g(){let a=(0,d.platform)(),b=(0,d.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let h={...f.sr.claude},i={...f.sr.codex},j={...e.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["kimi-desktop"],tokenStoragePaths:{linux:"~/.config/kimi-desktop/bridge-store/token-store.json (best-effort)",macos:"~/Library/Application Support/kimi-desktop/bridge-store/token-store.json",windows:"%APPDATA%\\kimi-desktop\\bridge-store\\token-store.json"}},w={...f.sr.kilocode},x={...f.sr.cline},y={...f.sr.clinepass},z={...f.sr.gitlab},A={...f.sr["codebuddy-cn"]},B={...f.sr["codebuddy-intl"]},C={...f.sr.workbuddy},D={...f.sr.kimchi},E={baseUrl:"https://codebuff.com",tokenPageUrl:"https://freebuff.llm.pm",defaultModel:"deepseek/deepseek-v4-flash",premiumModelIds:["deepseek/deepseek-v4-pro","openai/gpt-5.6-luna","minimax/minimax-m3"]},F={...f.sr.zcode},G={...f.sr.zed,tokenStoragePaths:{linux:"~/.local/share/zed/ (or libsecret keyring)",macos:"macOS Keychain (zed)",windows:"Windows Credential Manager"}},H=3e5}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=3552,exports.ids=[3552],exports.modules={53552:(a,b,c)=>{c.r(b),c.d(b,{CAPABILITY_CONFIDENCE:()=>q,CAPABILITY_SOURCE:()=>p,DEFAULT_CAPABILITIES:()=>h,MODEL_CAPABILITIES:()=>k,PATTERN_CAPABILITIES:()=>o,PROVIDER_CAPABILITIES:()=>n,capabilitiesFromServiceKind:()=>j,getCapabilitiesForModel:()=>x,setCatalogSource:()=>t});var d=c(58920),e=c(72436);let f=(()=>{let a={};for(let b of e.default)if(Array.isArray(b.models))for(let c of b.models){if("string"==typeof c)continue;let d=c.contextWindow??c.contextLength,e=c.maxOutput??c.maxOutputTokens,f="number"==typeof d&&Number.isFinite(d)&&d>0,g="number"==typeof e&&Number.isFinite(e)&&e>0;if(!f&&!g)continue;let h={};f&&(h.contextWindow=d),g&&(h.maxOutput=f?Math.min(e,d):e),(a[b.id]||={})[c.id]=h}return a})();var g=c(40669);let h={vision:!1,pdf:!1,audioInput:!1,videoInput:!1,imageOutput:!1,audioOutput:!1,search:!1,tools:!0,reasoning:!1,thinkingFormat:null,thinkingCanDisable:!0,thinkingRange:null,thinkingMaxEffort:!1,thinkingLevels:null,contextWindow:2e5,maxOutput:64e3},i={imageToText:{vision:!0},image:{imageOutput:!0},stt:{audioInput:!0},tts:{audioOutput:!0},embedding:{tools:!1}};function j(a){return i[a]||null}let k={"claude-fable-5-1":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:128e3},"claude-opus-4.6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4.7":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4-7":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4.8":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4-6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4-8":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4.8-thinking":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4-8-thinking":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-4.6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-4-6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-5":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-5-thinking":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-5-agentic":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-5-thinking-agentic":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"gpt-image-1":{imageOutput:!0,tools:!1},"glm-4.6v":{vision:!0,reasoning:!0,thinkingFormat:"zai",contextWindow:128e3},"vision-model":{vision:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6},"coder-model":{reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6}},l={vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:372e3,maxOutput:128e3,thinkingMaxEffort:!0,thinkingLevels:["none","minimal","low","medium","high","xhigh","max","ultra"]},m={vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:272e3,maxOutput:128e3,thinkingMaxEffort:!0,thinkingLevels:["none","minimal","low","medium","high","xhigh","max"]},n={codex:{"gpt-6-astra":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:272e3,maxOutput:128e3},"gpt-5.6-sol":l,"gpt-5.6-sol-review":l,"gpt-5.6-terra":m,"gpt-5.6-terra-review":m,"gpt-5.6-luna":m,"gpt-5.6-luna-review":m},fireworks:{"accounts/fireworks/models/glm-5p2":{reasoning:!0,thinkingFormat:"openai",contextWindow:1048575,maxOutput:131072},"accounts/fireworks/models/kimi-k2p6":{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:262e3,maxOutput:262e3},"accounts/fireworks/models/kimi-k2-instruct-0905":{vision:!1,reasoning:!1,contextWindow:262144,maxOutput:262144},"accounts/fireworks/models/deepseek-v3p1":{vision:!1,reasoning:!1,contextWindow:128e3,maxOutput:16384},"accounts/fireworks/models/qwen3-235b-a22b":{reasoning:!0,thinkingFormat:"openai",contextWindow:128e3,maxOutput:32768}},nvidia:{"minimaxai/minimax-m2.7":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:131072},"minimaxai/minimax-m3":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:512e3,maxOutput:131072},"z-ai/glm-5.2":{reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:128e3},"deepseek-ai/deepseek-v4-pro":{reasoning:!0,thinkingFormat:"openai",contextWindow:1e6,maxOutput:65536},"deepseek-ai/deepseek-v4-flash":{reasoning:!0,thinkingFormat:"openai",contextWindow:1e6,maxOutput:65536}},"codebuddy-cn":{"glm-5.2":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:48e3},"glm-5.1":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5.0":{reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:48e3},"glm-5.0-turbo":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5v-turbo":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:38e3},hy3:{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:192e3,maxOutput:64e3},"minimax-m3":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:512e3,maxOutput:48e3},"minimax-m2.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"kimi-k2.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"kimi-k2.6":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"kimi-k2.5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:164e3,maxOutput:32e3},"hy3-preview":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:192e3,maxOutput:64e3},"deepseek-v4-pro":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:5e4},"deepseek-v4-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:5e4},"deepseek-v3-2-volc":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:96e3,maxOutput:32e3}},bynara:{"agnes-2.0-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:512e3},"agnes-2.5-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:512e3},"glm-5.3-flash-free":{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:128e3},"grok-4.5-free":{vision:!0,contextWindow:212e3},"laguna-s-2.1":{reasoning:!0,thinkingFormat:"openai",contextWindow:262e3},"ling-3.0-flash-free":{reasoning:!0,thinkingFormat:"openai",contextWindow:262e3},"minimax-m3-free":{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:1e6},"mistral-large":{contextWindow:252e3},"mistral-medium-3-5":{vision:!0,contextWindow:256e3},"nemotron-3-ultra":{contextWindow:1e6},"qwen-3.8-max-free":{contextWindow:262144},"qwen3.8-27b":{reasoning:!0,thinkingFormat:"openai",contextWindow:1e6},"qwen3.8-flash-free":{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:1e6},"stepfun-3.7-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:262e3},"tencent-hy3-free":{contextWindow:262e3},"deepseek-v4-pro":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingMaxEffort:!0,contextWindow:1e6,maxOutput:384e3},"deepseek-v4-pro-free":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingMaxEffort:!0,contextWindow:1e6,maxOutput:384e3},"deepseek-v4-flash":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingMaxEffort:!0,contextWindow:1e6,maxOutput:384e3},"deepseek-v4-flash-free":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingMaxEffort:!0,contextWindow:1e6,maxOutput:384e3}},orcarouter:{"orcarouter/free":{contextWindow:1e6,maxOutput:64e3},"orcarouter/fusion":{reasoning:!0,thinkingFormat:"openai",contextWindow:1e6,maxOutput:64e3},"orcarouter/fusion-flash":{reasoning:!0,thinkingFormat:"openai",contextWindow:1e6,maxOutput:64e3},"orcarouter/fusion-mini":{reasoning:!0,thinkingFormat:"openai",contextWindow:1e6,maxOutput:64e3},"qwen/qwen3.8-27b-free":{vision:!1,reasoning:!0,thinkingFormat:"openai",contextWindow:65536,maxOutput:65536},"qwen/qwen3.8-27b":{vision:!1,reasoning:!0,thinkingFormat:"openai",contextWindow:65536,maxOutput:65536},"qwen/qwen3.7-max":{vision:!1,reasoning:!0,thinkingFormat:"openai",contextWindow:1e6,maxOutput:64e3},"qwen/qwen3.5-27b":{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:32768,maxOutput:32768},"deepseek/deepseek-v4-pro":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingMaxEffort:!0,contextWindow:1048576,maxOutput:384e3},"deepseek/deepseek-v4-pro-free":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingMaxEffort:!0,contextWindow:1048576,maxOutput:384e3},"deepseek/deepseek-v4-flash":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingMaxEffort:!0,contextWindow:1048576,maxOutput:384e3},"deepseek/deepseek-v4-flash-free":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingMaxEffort:!0,contextWindow:1048576,maxOutput:384e3},"deepseek/deepseek-reasoner":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:384e3},"minimax/minimax-m2.7":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:204800,maxOutput:131072},"openai/gpt-5.5":{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:4e5,maxOutput:128e3},"tencent/hy3-free":{vision:!1,contextWindow:262e3}},tokenharbor:{"claude-opus-5":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-fable-5":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3}},"meta-ai":{"muse-spark-1.2":{vision:!0,pdf:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["minimal","low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072},"muse-spark-1.2-contributor":{vision:!0,pdf:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["minimal","low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072},"muse-spark-1.1":{vision:!0,pdf:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["minimal","low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072}},opencode:{"muse-spark-1.2-contributor-free":{vision:!0,pdf:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["minimal","low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072},"muse-spark-1.3-contributor-free":{vision:!0,pdf:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["minimal","low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072}},"codebuddy-intl":{"glm-5.3":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:48e3},"glm-5.3-flash":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5.2":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:48e3},"glm-5.1":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5.0-turbo":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5v-turbo":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:38e3},"minimax-m3":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:512e3,maxOutput:48e3},"minimax-m2.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"kimi-k3-1":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:1048576},"kimi-k2.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"kimi-k2.6":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"kimi-k2.5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:164e3,maxOutput:32e3},"hy4-preview":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:64e3},"hy4-preview-x":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:64e3},"hy3-preview":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:192e3,maxOutput:64e3},"deepseek-v4-pro":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:5e4},"deepseek-v4-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:5e4},"deepseek-v3-2-volc":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:96e3,maxOutput:32e3}},workbuddy:{hy3:{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:64e3},"hy4-preview":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:64e3},"hy4-preview-x":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:64e3},"glm-5.3":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:48e3},"glm-5.3-flash":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5.2":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:48e3},"glm-5.1":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5.0-turbo":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5v-turbo":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:38e3},"minimax-m3":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:512e3,maxOutput:48e3},"minimax-m2.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"kimi-k3-1":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:1048576},"kimi-k2.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"kimi-k2.6":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"kimi-k2.5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:164e3,maxOutput:32e3},"hy3-preview":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:192e3,maxOutput:64e3},"deepseek-v4-pro":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:5e4},"deepseek-v4-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:5e4},"deepseek-v3-2-volc":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:96e3,maxOutput:32e3}},qoder:{ultimate:{vision:!0,reasoning:!0,thinkingFormat:"claude-adaptive",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:128e3},performance:{vision:!0,reasoning:!0,thinkingFormat:"claude-adaptive",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:128e3},dmodel:{reasoning:!0,thinkingFormat:"deepseek",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:65536},dfmodel:{reasoning:!0,thinkingFormat:"deepseek",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:65536},gmodel:{reasoning:!0,thinkingFormat:"zai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:128e3},gfmodel:{vision:!0,reasoning:!0,thinkingFormat:"zai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:128e3},kmodel_latest:{vision:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:65536},kmodel:{vision:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:65536},mmodel:{reasoning:!0,thinkingFormat:"minimax",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:512e3},qmodel_latest:{vision:!0,reasoning:!0,thinkingFormat:"qwen",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:65536},qmodel:{vision:!0,reasoning:!0,thinkingFormat:"qwen",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:65536},qfmodel:{vision:!0,reasoning:!0,thinkingFormat:"qwen",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:65536},qmodel_38max:{vision:!0,reasoning:!0,thinkingFormat:"qwen",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:65536}},xkiro:{"anthropic/claude-fable-5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh","max"],contextWindow:1e6,maxOutput:65536},"anthropic/claude-fable-5-1":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh","max"],contextWindow:1e6,maxOutput:65536},"anthropic/claude-haiku-4.5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high"],contextWindow:2e5,maxOutput:65536},"anthropic/claude-opus-4.6":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","max"],contextWindow:1e6,maxOutput:65536},"anthropic/claude-opus-4.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh","max"],contextWindow:1e6,maxOutput:65536},"anthropic/claude-opus-4.8":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh","max"],contextWindow:1e6,maxOutput:65536},"anthropic/claude-opus-5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh","max"],contextWindow:1e6,maxOutput:65536},"anthropic/claude-sonnet-4.6":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","max"],contextWindow:1e6,maxOutput:65536},"anthropic/claude-sonnet-5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh","max"],contextWindow:1e6,maxOutput:65536},"deepseek/deepseek-chat-v3.1":{vision:!1,reasoning:!1,contextWindow:163840,maxOutput:65536},"deepseek/deepseek-v3.2":{vision:!1,reasoning:!1,contextWindow:131072,maxOutput:65536},"deepseek/deepseek-v4-flash":{vision:!1,reasoning:!1,contextWindow:1048576,maxOutput:65536},"deepseek/deepseek-v4-flash-0731":{vision:!1,reasoning:!1,contextWindow:1048576,maxOutput:65536},"deepseek/deepseek-v4-flash-vision-exp":{vision:!0,reasoning:!1,contextWindow:1048576,maxOutput:65536},"deepseek/deepseek-v4-pro":{vision:!1,reasoning:!1,contextWindow:1048576,maxOutput:65536},"deepseek/deepseek-v4-pro-0813":{vision:!1,reasoning:!1,contextWindow:1048576,maxOutput:65536},"google/gemini-2.5-flash":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"google/gemini-2.5-pro":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"google/gemini-3-flash":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"google/gemini-3.1-pro":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"google/gemini-3.5-flash":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"google/gemini-3.6-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["minimal","low","medium","high"],contextWindow:1e6,maxOutput:65536},"google/gemini-3.7-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high"],contextWindow:1e6,maxOutput:65536},"google/gemini-3.8-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high"],contextWindow:1e6,maxOutput:65536},"meta/muse-spark-1.2-contributor":{vision:!0,reasoning:!1,contextWindow:1048576,maxOutput:65536},"minimax/minimax-m2.1-highspeed:free":{vision:!1,reasoning:!1,contextWindow:204800,maxOutput:65536},"minimax/minimax-m2.1:free":{vision:!1,reasoning:!1,contextWindow:204800,maxOutput:65536},"minimax/minimax-m2.5":{vision:!1,reasoning:!1,contextWindow:204800,maxOutput:65536},"minimax/minimax-m2.5-highspeed:free":{vision:!1,reasoning:!1,contextWindow:204800,maxOutput:65536},"minimax/minimax-m2.5:free":{vision:!1,reasoning:!1,contextWindow:204800,maxOutput:65536},"minimax/minimax-m2.7":{vision:!1,reasoning:!1,contextWindow:204800,maxOutput:131100},"minimax/minimax-m2.7-highspeed:free":{vision:!1,reasoning:!1,contextWindow:204800,maxOutput:65536},"minimax/minimax-m2.7:free":{vision:!1,reasoning:!1,contextWindow:204800,maxOutput:65536},"minimax/minimax-m2:free":{vision:!1,reasoning:!1,contextWindow:204800,maxOutput:65536},"minimax/minimax-m3":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"minimax/minimax-m3:free":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","medium"],contextWindow:1e6,maxOutput:65536},"mistralai/codestral-2508":{vision:!1,reasoning:!1,contextWindow:256e3,maxOutput:16384},"mistralai/devstral-medium":{vision:!1,reasoning:!1,contextWindow:256e3,maxOutput:16384},"mistralai/ministral-14b":{vision:!0,reasoning:!1,contextWindow:256e3,maxOutput:8192},"mistralai/ministral-3b":{vision:!0,reasoning:!1,contextWindow:128e3,maxOutput:8192},"mistralai/ministral-8b":{vision:!0,reasoning:!1,contextWindow:256e3,maxOutput:8192},"mistralai/mistral-large-2512":{vision:!0,reasoning:!1,contextWindow:256e3,maxOutput:16384},"mistralai/mistral-medium-3.5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","high"],contextWindow:256e3,maxOutput:65536},"mistralai/mistral-small-2603":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","high"],contextWindow:256e3,maxOutput:65536},"moonshotai/kimi-k2.5":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"moonshotai/kimi-k2.6":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"moonshotai/kimi-k2.7-code":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"moonshotai/kimi-k3":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","high","max"],contextWindow:1e6,maxOutput:65536},"nvidia/llama-3.3-nemotron-super-49b":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:131072,maxOutput:65536},"nvidia/nemotron-3-nano":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:1e6,maxOutput:65536},"nvidia/nemotron-3-nano-omni":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:256e3,maxOutput:65536},"nvidia/nemotron-3-super":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:1e6,maxOutput:65536},"nvidia/nemotron-3-ultra":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:1e6,maxOutput:65536},"openai/gpt-5.3-codex-spark":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh"],contextWindow:128e3,maxOutput:65536},"openai/gpt-5.4":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh"],contextWindow:1e6,maxOutput:65536},"openai/gpt-5.4-mini":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh"],contextWindow:4e5,maxOutput:65536},"openai/gpt-5.5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh"],contextWindow:1e6,maxOutput:65536},"openai/gpt-5.6-luna":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh","max"],contextWindow:1e6,maxOutput:65536},"openai/gpt-5.6-sol":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh","max"],contextWindow:1e6,maxOutput:65536},"openai/gpt-5.6-terra":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh","max"],contextWindow:1e6,maxOutput:65536},"openai/gpt-6-astra":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh","max"],contextWindow:105e4,maxOutput:65536},"qwen/qwen-plus-2025-07-28:free":{vision:!0,reasoning:!1,contextWindow:131072,maxOutput:65536},"qwen/qwen3-coder-plus:free":{vision:!0,reasoning:!1,contextWindow:1048576,maxOutput:65536},"qwen/qwen3-max:free":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"qwen/qwen3-omni-flash:free":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"qwen/qwen3-vl-plus:free":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"qwen/qwen3.5-397b-a17b:free":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"qwen/qwen3.5-flash:free":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"qwen/qwen3.5-omni-flash:free":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"qwen/qwen3.5-omni-plus:free":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"qwen/qwen3.5-plus":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"qwen/qwen3.5-plus:free":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"qwen/qwen3.6-27b:free":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"qwen/qwen3.6-35b-a3b:free":{vision:!0,reasoning:!1,contextWindow:262144,maxOutput:65536},"qwen/qwen3.6-max-preview:free":{vision:!1,reasoning:!1,contextWindow:262144,maxOutput:65536},"qwen/qwen3.6-plus":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"qwen/qwen3.6-plus:free":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"qwen/qwen3.7-max":{vision:!1,reasoning:!1,contextWindow:1e6,maxOutput:65536},"qwen/qwen3.7-max:free":{vision:!1,reasoning:!1,contextWindow:1e6,maxOutput:65536},"qwen/qwen3.7-plus":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"qwen/qwen3.7-plus:free":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"qwen/qwen3.8-max":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"qwen/qwen3.8-max:free":{vision:!0,reasoning:!1,contextWindow:1e6,maxOutput:65536},"sensenova/sensenova-6.7-flash-lite":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low","medium","high"],contextWindow:262144,maxOutput:65536},"sensenova/sensenova-6.8-flash-lite":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low","medium","high"],contextWindow:262144,maxOutput:65536},"tencent/hy3":{vision:!1,reasoning:!1,contextWindow:262144,maxOutput:65536},"tencent/hy4-preview":{vision:!1,reasoning:!1,contextWindow:1048576,maxOutput:65536},"x-ai/grok-4.5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high"],contextWindow:5e5,maxOutput:65536},"x-ai/grok-4.6":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","medium","high","xhigh"],contextWindow:5e5,maxOutput:65536},"x-ai/grok-build-0.1":{vision:!0,reasoning:!1,contextWindow:256e3,maxOutput:16384},"xiaomi/mimo-v2.5":{vision:!0,reasoning:!1,contextWindow:105e4,maxOutput:65536},"xiaomi/mimo-v2.5-pro":{vision:!1,reasoning:!1,contextWindow:105e4,maxOutput:65536},"z-ai/glm-4.5":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:131072,maxOutput:65536},"z-ai/glm-4.5-air":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:131072,maxOutput:65536},"z-ai/glm-4.5-airx":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:131072,maxOutput:65536},"z-ai/glm-4.5-flash":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:131072,maxOutput:65536},"z-ai/glm-4.5-x":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:131072,maxOutput:65536},"z-ai/glm-4.5v":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:65536,maxOutput:65536},"z-ai/glm-4.6":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:2e5,maxOutput:65536},"z-ai/glm-4.6v":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:128e3,maxOutput:65536},"z-ai/glm-4.6v-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:128e3,maxOutput:65536},"z-ai/glm-4.6v-flashx":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:128e3,maxOutput:65536},"z-ai/glm-4.7":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:2e5,maxOutput:65536},"z-ai/glm-4.7-flash":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:2e5,maxOutput:65536},"z-ai/glm-4.7-flashx":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:2e5,maxOutput:65536},"z-ai/glm-5":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:2e5,maxOutput:65536},"z-ai/glm-5-turbo":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:2e5,maxOutput:65536},"z-ai/glm-5.1":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:2e5,maxOutput:65536},"z-ai/glm-5.2":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","minimal","low","medium","high","xhigh","max"],contextWindow:1e6,maxOutput:65536},"z-ai/glm-5.3":{vision:!1,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","high","max"],contextWindow:1e6,maxOutput:65536},"z-ai/glm-5.3-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","high","max"],contextWindow:1e6,maxOutput:65536},"z-ai/glm-5v-turbo":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!0,thinkingLevels:["none","low"],contextWindow:2e5,maxOutput:65536}}},o=[{pattern:"*claude*opus-4.6*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*opus-4.7*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*opus-4.8*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*sonnet-4.6*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*sonnet-4.7*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*haiku*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*claude*opus*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*claude*sonnet*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*claude*fable*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget",contextWindow:1e6,maxOutput:128e3}},{pattern:"*claude*mythos*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget",contextWindow:1e6,maxOutput:128e3}},{pattern:"*claude-3*",caps:{vision:!0}},{pattern:"*claude-*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*gemini*image*",caps:{vision:!0,imageOutput:!0,contextWindow:1048576}},{pattern:"*gemini-3.8*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-level",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini-3.7*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-level",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini-3*pro*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-level",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:65535}},{pattern:"*gemini-3*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-level",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini-2.5*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-budget",thinkingRange:{min:1024,max:24576},contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini-2*",caps:{vision:!0,audioInput:!0,videoInput:!0,search:!0,contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini*",caps:{vision:!0,search:!0,contextWindow:1048576}},{pattern:"*gemma*",caps:{vision:!0,contextWindow:128e3}},{pattern:"*nanobanana*",caps:{vision:!0,imageOutput:!0}},{pattern:"*gpt-5*image*",caps:{imageOutput:!0}},{pattern:"*gpt-5.6-sol*",caps:{reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:272e3,maxOutput:128e3,thinkingMaxEffort:!0}},{pattern:"*gpt-5.6-terra*",caps:{reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:272e3,maxOutput:128e3}},{pattern:"*gpt-5.6-luna*",caps:{reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:272e3,maxOutput:128e3}},{pattern:"*kimi-k3*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["low","high","max"],thinkingMaxEffort:!0,contextWindow:1048576,maxOutput:1048576}},{pattern:"*gpt-6*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:272e3,maxOutput:128e3}},{pattern:"*gpt-5*codex*",caps:{reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:4e5,maxOutput:128e3}},{pattern:"*gpt-5*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:4e5,maxOutput:128e3}},{pattern:"*gpt-4o*",caps:{vision:!0,search:!0,contextWindow:128e3,maxOutput:16384}},{pattern:"*mai-code*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:256e3,maxOutput:128e3}},{pattern:"*gpt-4.1*",caps:{vision:!0,contextWindow:1e6,maxOutput:32768}},{pattern:"*gpt-4-turbo*",caps:{vision:!0,contextWindow:128e3}},{pattern:"*gpt-4*",caps:{contextWindow:128e3}},{pattern:"*gpt-3.5*",caps:{contextWindow:16385,maxOutput:4096}},{pattern:"*gpt-oss*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:128e3}},{pattern:"*o1-mini*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:128e3}},{pattern:"*o1-*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*o1_*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*o3-*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*o3_*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*o4-*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*o4_*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"o1*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"o3*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"o4*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*grok-imagine-video*",caps:{videoOutput:!0}},{pattern:"*grok*image*",caps:{imageOutput:!0}},{pattern:"*grok-code*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:256e3}},{pattern:"*grok-4.6*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:5e5,thinkingLevels:["low","medium","high","xhigh"]}},{pattern:"*grok-4.5*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:5e5,thinkingLevels:["low","medium","high"]}},{pattern:"*grok-4*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:256e3}},{pattern:"*grok-3*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:131072}},{pattern:"*grok*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:256e3}},{provider:"tokenrouter",pattern:"*qwen*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingLevels:["low","medium"],thinkingCanDisable:!1,thinkingMaxEffort:!1,contextWindow:262144,maxOutput:65536}},{provider:"opencode",pattern:"*muse*spark*",caps:{vision:!0,pdf:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["minimal","low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072}},{provider:"opencode-go",pattern:"*muse*spark*",caps:{vision:!0,pdf:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,thinkingLevels:["minimal","low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072}},{pattern:"*qwen*vl*",caps:{vision:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:262144}},{pattern:"*qwen*omni*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:262144,maxOutput:65536}},{pattern:"*qwen*coder*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6}},{pattern:"*qwen*max*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen3.5*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen3.6*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen3.7*",caps:{vision:!0,videoInput:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen3.8*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:262144,maxOutput:65536}},{pattern:"*qwen*plus*",caps:{vision:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen*235b*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:262144}},{pattern:"*qwq*",caps:{reasoning:!0,thinkingFormat:"qwen",thinkingCanDisable:!1,contextWindow:131072}},{pattern:"*qwen*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:262144}},{pattern:"*kimi*k2.7*code*",caps:{vision:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:262144,maxOutput:262144}},{pattern:"*kimi*k2*",caps:{vision:!0,reasoning:!0,thinkingFormat:"kimi",contextWindow:262144,maxOutput:262144}},{pattern:"*kimi-latest*",caps:{vision:!0,reasoning:!0,thinkingFormat:"kimi",contextWindow:262144}},{pattern:"*kimi*",caps:{reasoning:!0,thinkingFormat:"kimi",contextWindow:262144}},{pattern:"*glm-5.3*",caps:{reasoning:!0,thinkingFormat:"zai",thinkingLevels:["low","high","max"],contextWindow:1e6,maxOutput:128e3}},{pattern:"*glm-5.2*",caps:{reasoning:!0,thinkingFormat:"zai",thinkingLevels:["high","max"],contextWindow:1e6,maxOutput:128e3}},{pattern:"*glm-5*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5,maxOutput:128e3}},{pattern:"*glm-4.7*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5,maxOutput:128e3}},{pattern:"*glm-4*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5}},{pattern:"*glm*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5}},{pattern:"*deepseek-v4*",caps:{reasoning:!0,thinkingFormat:"deepseek",thinkingMaxEffort:!0,contextWindow:1e6,maxOutput:384e3}},{pattern:"*reasoner*",caps:{reasoning:!0,thinkingFormat:"deepseek",thinkingCanDisable:!1,contextWindow:128e3}},{pattern:"*deepseek-r*",caps:{reasoning:!0,thinkingFormat:"deepseek",thinkingCanDisable:!1,contextWindow:128e3}},{pattern:"*deepseek-chat*",caps:{contextWindow:128e3}},{pattern:"*deepseek*",caps:{reasoning:!0,thinkingFormat:"deepseek",contextWindow:128e3}},{pattern:"*minimax*image*",caps:{imageOutput:!0}},{pattern:"*minimax-m3*",caps:{vision:!0,reasoning:!0,thinkingFormat:"minimax",contextWindow:1048576,maxOutput:512e3}},{pattern:"*minimax-m2.7*",caps:{reasoning:!0,thinkingFormat:"minimax",thinkingCanDisable:!1,contextWindow:204800,maxOutput:131072}},{pattern:"*minimax*",caps:{reasoning:!0,thinkingFormat:"minimax",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:131072}},{pattern:"*mimo*v2.5*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:1048576,maxOutput:131072}},{pattern:"*mimo*auto*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:262144,maxOutput:131072}},{pattern:"*mimo*omni*",caps:{vision:!0,audioInput:!0,contextWindow:262144,maxOutput:131072}},{pattern:"*mimo*",caps:{vision:!0,contextWindow:262144,maxOutput:131072}},{pattern:"*llama-4*",caps:{vision:!0,contextWindow:1e6}},{pattern:"*llama*",caps:{contextWindow:128e3}},{pattern:"*codestral*",caps:{contextWindow:256e3}},{pattern:"*mistral-large*",caps:{vision:!0,contextWindow:256e3}},{pattern:"*mistral*",caps:{contextWindow:128e3}},{pattern:"*command-a-reasoning*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:256e3,maxOutput:32e3}},{pattern:"*command-a-vision*",caps:{vision:!0,contextWindow:128e3}},{pattern:"*command*",caps:{contextWindow:128e3}},{pattern:"*sonar*",caps:{search:!0,contextWindow:128e3}},{pattern:"*pplx*",caps:{search:!0,contextWindow:128e3}},{pattern:"*perplexity*",caps:{search:!0,contextWindow:128e3}},{pattern:"*laguna*",caps:{reasoning:!0,thinkingFormat:"openai",thinkingLevels:["low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072}},{pattern:"*ox-alpha*",caps:{reasoning:!0,thinkingFormat:"openai",thinkingLevels:["low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072}},{pattern:"*0x*alpha*",caps:{reasoning:!0,thinkingFormat:"openai",thinkingLevels:["low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072}},{pattern:"*x-preview*",caps:{reasoning:!0,thinkingFormat:"openai",thinkingLevels:["low","medium","high","xhigh"],contextWindow:1048576,maxOutput:131072}},{pattern:"*step-3.7*",caps:{reasoning:!0,thinkingFormat:"step",thinkingLevels:["low","medium","high"],contextWindow:256e3,maxOutput:256e3}},{pattern:"*hunyuan*",caps:{reasoning:!0,thinkingFormat:"hunyuan",contextWindow:262144,maxOutput:262144}},{pattern:"hy3*",caps:{reasoning:!0,thinkingFormat:"hunyuan",contextWindow:262144,maxOutput:262144}},{pattern:"*step-*",caps:{reasoning:!0,thinkingFormat:"step",contextWindow:128e3}},{pattern:"*nemotron*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:128e3}},{pattern:"*ling-*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:128e3}}],p={PROVIDER_MODEL:"provider-model",PROVIDER_REGISTRY:"provider-registry",MODEL_EXACT:"model-exact",FAMILY_PATTERN:"family-pattern",DYNAMIC_CATALOG:"dynamic-catalog",DEFAULT_FLOOR:"default-floor"},q={VERIFIED:"verified",INFERRED:"inferred",UNKNOWN:"unknown"},r={[p.PROVIDER_MODEL]:q.VERIFIED,[p.MODEL_EXACT]:q.VERIFIED,[p.PROVIDER_REGISTRY]:q.INFERRED,[p.FAMILY_PATTERN]:q.INFERRED,[p.DYNAMIC_CATALOG]:q.INFERRED,[p.DEFAULT_FLOOR]:q.UNKNOWN},s=null;function t(a){s=a&&"function"==typeof a.getLimits?a:null}function u(a,b,c,d,e){if(!s)return{result:a,catalogLimits:null,catalogProvenance:null};let f={modalities:[],limits:!1},g=!1,h={...a},i=s.getModalities?.(e)||s.getModalities?.(d)||null;if(i)for(let a of["vision","pdf","audioInput","videoInput"])!0!==i[a]||b.includes(a)||!0!==h[a]&&(h[a]=!0,f.modalities.push(a),g=!0);let j=null,k=s.getLimits?.(c,d)||null;if(k){let a={};for(let c of["contextWindow","maxOutput"]){if(b.includes(c))continue;let d=k[c];if("number"!=typeof d||d<=0)continue;let e=h[c];("number"!=typeof e||!Number.isFinite(e)||e<=0||Math.abs(d-e)/e>.1)&&(a[c]=d)}Object.keys(a).length&&(j=a,Object.assign(h,a),f.limits=!0,g=!0)}return{result:h,catalogLimits:j,catalogProvenance:g?f:null}}function v(a,b){let c=r[b];return{...a,sourceType:b,confidence:c,known:c!==q.UNKNOWN}}function w(a,b,c,d=p.PROVIDER_REGISTRY){if(!b)return v(a,c);let e={...a,...b};return e.maxOutput>e.contextWindow&&(e.maxOutput=e.contextWindow),v(e,d)}function x(a,b){var c;if(!b)return v({...h},p.DEFAULT_FLOOR);if((a=(0,g.g2)(a))&&n[a]?.[b])return v({...h,...n[a][b]},p.PROVIDER_MODEL);let e=(c=a)&&b?f[c]?.[b]??null:null,i=b.includes("/")?b.split("/").pop():b,j=k[i]??k[b];if(j){let{result:c,catalogLimits:d,catalogProvenance:f}=u({...h,...j},Object.keys(j),a,b,i),g=w(c,e??d,p.MODEL_EXACT,e?p.PROVIDER_REGISTRY:p.DYNAMIC_CATALOG);return f?{...g,catalog:f}:g}for(let{pattern:c,caps:f,provider:g}of o)if((!g||g===a)&&((0,d.gH)(c,i)||(0,d.gH)(c,b))){let{result:c,catalogLimits:d,catalogProvenance:g}=u({...h,...f},Object.keys(f),a,b,i),j=w(c,e??d,p.FAMILY_PATTERN,e?p.PROVIDER_REGISTRY:p.DYNAMIC_CATALOG);return g?{...j,catalog:g}:j}let{result:l,catalogLimits:m,catalogProvenance:q}=u({...h},[],a,b,i),r=e?p.PROVIDER_REGISTRY:q?p.DYNAMIC_CATALOG:p.DEFAULT_FLOOR,s=w(l,e??m,r,r);return q?{...s,catalog:q}:s}}};
@@ -6,4 +6,4 @@ PRAGMA mmap_size = 30000000;
6
6
  PRAGMA cache_size = -64000;
7
7
  PRAGMA foreign_keys = ON;
8
8
  PRAGMA busy_timeout = 5000;
9
- `,e={_meta:{columns:{key:"TEXT PRIMARY KEY",value:"TEXT NOT NULL"}},settings:{columns:{id:"INTEGER PRIMARY KEY CHECK (id = 1)",data:"TEXT NOT NULL"}},providerConnections:{columns:{id:"TEXT PRIMARY KEY",provider:"TEXT NOT NULL",authType:"TEXT NOT NULL",name:"TEXT",email:"TEXT",priority:"INTEGER",isActive:"INTEGER DEFAULT 1",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pc_provider ON providerConnections(provider)","CREATE INDEX IF NOT EXISTS idx_pc_provider_active ON providerConnections(provider, isActive)","CREATE INDEX IF NOT EXISTS idx_pc_priority ON providerConnections(provider, priority)"]},providerNodes:{columns:{id:"TEXT PRIMARY KEY",type:"TEXT",name:"TEXT",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pn_type ON providerNodes(type)"]},proxyPools:{columns:{id:"TEXT PRIMARY KEY",isActive:"INTEGER DEFAULT 1",testStatus:"TEXT",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pp_active ON proxyPools(isActive)","CREATE INDEX IF NOT EXISTS idx_pp_status ON proxyPools(testStatus)"]},apiKeys:{columns:{id:"TEXT PRIMARY KEY",key:"TEXT UNIQUE NOT NULL",name:"TEXT",machineId:"TEXT",allowedModels:"TEXT",isActive:"INTEGER DEFAULT 1",createdAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_ak_key ON apiKeys(key)"]},combos:{columns:{id:"TEXT PRIMARY KEY",name:"TEXT UNIQUE NOT NULL",kind:"TEXT",models:"TEXT NOT NULL",strategyConfig:"TEXT NOT NULL DEFAULT '{}'",revision:"INTEGER NOT NULL DEFAULT 1",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_combo_name ON combos(name)"]},kv:{columns:{scope:"TEXT NOT NULL",key:"TEXT NOT NULL",value:"TEXT NOT NULL"},primaryKey:"PRIMARY KEY (scope, key)",indexes:["CREATE INDEX IF NOT EXISTS idx_kv_scope ON kv(scope)"]},usageHistory:{columns:{id:"INTEGER PRIMARY KEY AUTOINCREMENT",timestamp:"TEXT NOT NULL",provider:"TEXT",model:"TEXT",connectionId:"TEXT",apiKey:"TEXT",endpoint:"TEXT",promptTokens:"INTEGER DEFAULT 0",completionTokens:"INTEGER DEFAULT 0",cost:"REAL DEFAULT 0",status:"TEXT",tokens:"TEXT",meta:"TEXT",latencyTtftMs:"INTEGER DEFAULT 0",latencyTotalMs:"INTEGER DEFAULT 0"},indexes:["CREATE INDEX IF NOT EXISTS idx_uh_ts ON usageHistory(timestamp DESC)","CREATE INDEX IF NOT EXISTS idx_uh_provider ON usageHistory(provider)","CREATE INDEX IF NOT EXISTS idx_uh_model ON usageHistory(model)","CREATE INDEX IF NOT EXISTS idx_uh_conn ON usageHistory(connectionId)","CREATE INDEX IF NOT EXISTS idx_uh_status ON usageHistory(status)"]},usageDaily:{columns:{dateKey:"TEXT PRIMARY KEY",data:"TEXT NOT NULL"}},requestDetails:{columns:{id:"TEXT PRIMARY KEY",timestamp:"TEXT NOT NULL",provider:"TEXT",model:"TEXT",connectionId:"TEXT",status:"TEXT",data:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_rd_ts ON requestDetails(timestamp DESC)","CREATE INDEX IF NOT EXISTS idx_rd_provider ON requestDetails(provider)","CREATE INDEX IF NOT EXISTS idx_rd_model ON requestDetails(model)","CREATE INDEX IF NOT EXISTS idx_rd_conn ON requestDetails(connectionId)"]},smartRoutingRuns:{columns:{id:"TEXT PRIMARY KEY",comboName:"TEXT",promptPreview:"TEXT",lastUserMessage:"TEXT",routing:"TEXT",reason:"TEXT",servedModel:"TEXT",status:"TEXT",error:"TEXT",startedAt:"TEXT NOT NULL",completedAt:"TEXT",totalDurationMs:"INTEGER"},indexes:["CREATE INDEX IF NOT EXISTS idx_srr_started ON smartRoutingRuns(startedAt DESC)","CREATE INDEX IF NOT EXISTS idx_srr_status ON smartRoutingRuns(status)","CREATE INDEX IF NOT EXISTS idx_srr_combo ON smartRoutingRuns(comboName)","CREATE INDEX IF NOT EXISTS idx_srr_reason ON smartRoutingRuns(reason)"]}};function f(a,b){let c=Object.entries(b.columns).map(([a,b])=>`${a} ${b}`);return b.primaryKey&&c.push(b.primaryKey),`CREATE TABLE IF NOT EXISTS ${a} (${c.join(", ")})`}}};
9
+ `,e={_meta:{columns:{key:"TEXT PRIMARY KEY",value:"TEXT NOT NULL"}},settings:{columns:{id:"INTEGER PRIMARY KEY CHECK (id = 1)",data:"TEXT NOT NULL"}},providerConnections:{columns:{id:"TEXT PRIMARY KEY",provider:"TEXT NOT NULL",authType:"TEXT NOT NULL",name:"TEXT",email:"TEXT",priority:"INTEGER",isActive:"INTEGER DEFAULT 1",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pc_provider ON providerConnections(provider)","CREATE INDEX IF NOT EXISTS idx_pc_provider_active ON providerConnections(provider, isActive)","CREATE INDEX IF NOT EXISTS idx_pc_priority ON providerConnections(provider, priority)"]},providerNodes:{columns:{id:"TEXT PRIMARY KEY",type:"TEXT",name:"TEXT",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pn_type ON providerNodes(type)"]},proxyPools:{columns:{id:"TEXT PRIMARY KEY",isActive:"INTEGER DEFAULT 1",testStatus:"TEXT",data:"TEXT NOT NULL",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_pp_active ON proxyPools(isActive)","CREATE INDEX IF NOT EXISTS idx_pp_status ON proxyPools(testStatus)"]},apiKeys:{columns:{id:"TEXT PRIMARY KEY",key:"TEXT UNIQUE NOT NULL",name:"TEXT",machineId:"TEXT",allowedModels:"TEXT",isActive:"INTEGER DEFAULT 1",createdAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_ak_key ON apiKeys(key)"]},combos:{columns:{id:"TEXT PRIMARY KEY",name:"TEXT UNIQUE NOT NULL",kind:"TEXT",models:"TEXT NOT NULL",strategyConfig:"TEXT NOT NULL DEFAULT '{}'",revision:"INTEGER NOT NULL DEFAULT 1",createdAt:"TEXT NOT NULL",updatedAt:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_combo_name ON combos(name)"]},kv:{columns:{scope:"TEXT NOT NULL",key:"TEXT NOT NULL",value:"TEXT NOT NULL"},primaryKey:"PRIMARY KEY (scope, key)",indexes:["CREATE INDEX IF NOT EXISTS idx_kv_scope ON kv(scope)"]},usageHistory:{columns:{id:"INTEGER PRIMARY KEY AUTOINCREMENT",timestamp:"TEXT NOT NULL",provider:"TEXT",model:"TEXT",connectionId:"TEXT",apiKey:"TEXT",apiKeyHash:"TEXT",endpoint:"TEXT",promptTokens:"INTEGER DEFAULT 0",completionTokens:"INTEGER DEFAULT 0",cost:"REAL DEFAULT 0",status:"TEXT",tokens:"TEXT",meta:"TEXT",latencyTtftMs:"INTEGER DEFAULT 0",latencyTotalMs:"INTEGER DEFAULT 0"},indexes:["CREATE INDEX IF NOT EXISTS idx_uh_ts ON usageHistory(timestamp DESC)","CREATE INDEX IF NOT EXISTS idx_uh_provider ON usageHistory(provider)","CREATE INDEX IF NOT EXISTS idx_uh_model ON usageHistory(model)","CREATE INDEX IF NOT EXISTS idx_uh_conn ON usageHistory(connectionId)","CREATE INDEX IF NOT EXISTS idx_uh_status ON usageHistory(status)"]},usageDaily:{columns:{dateKey:"TEXT PRIMARY KEY",data:"TEXT NOT NULL"}},requestDetails:{columns:{id:"TEXT PRIMARY KEY",timestamp:"TEXT NOT NULL",provider:"TEXT",model:"TEXT",connectionId:"TEXT",status:"TEXT",data:"TEXT NOT NULL"},indexes:["CREATE INDEX IF NOT EXISTS idx_rd_ts ON requestDetails(timestamp DESC)","CREATE INDEX IF NOT EXISTS idx_rd_provider ON requestDetails(provider)","CREATE INDEX IF NOT EXISTS idx_rd_model ON requestDetails(model)","CREATE INDEX IF NOT EXISTS idx_rd_conn ON requestDetails(connectionId)"]},smartRoutingRuns:{columns:{id:"TEXT PRIMARY KEY",comboName:"TEXT",promptPreview:"TEXT",lastUserMessage:"TEXT",routing:"TEXT",reason:"TEXT",servedModel:"TEXT",status:"TEXT",error:"TEXT",startedAt:"TEXT NOT NULL",completedAt:"TEXT",totalDurationMs:"INTEGER"},indexes:["CREATE INDEX IF NOT EXISTS idx_srr_started ON smartRoutingRuns(startedAt DESC)","CREATE INDEX IF NOT EXISTS idx_srr_status ON smartRoutingRuns(status)","CREATE INDEX IF NOT EXISTS idx_srr_combo ON smartRoutingRuns(comboName)","CREATE INDEX IF NOT EXISTS idx_srr_reason ON smartRoutingRuns(reason)"]}};function f(a,b){let c=Object.entries(b.columns).map(([a,b])=>`${a} ${b}`);return b.primaryKey&&c.push(b.primaryKey),`CREATE TABLE IF NOT EXISTS ${a} (${c.join(", ")})`}}};
@@ -1 +1 @@
1
- "use strict";exports.id=4046,exports.ids=[4046],exports.modules={7803:(a,b,c)=>{c.r(b),c.d(b,{debug:()=>h,error:()=>k,info:()=>i,maskKey:()=>o,request:()=>l,response:()=>m,stream:()=>n,warn:()=>j});let d={DEBUG:0,INFO:1,WARN:2,ERROR:3},e=d[process.env.LOG_LEVEL?.toUpperCase?.()]??d.INFO;function f(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}function g(a){if(!a)return"";if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}function h(a,b,c){if(e<=d.DEBUG){let d=c?` ${g(c)}`:"";console.log(`[${f()}] 🔍 [${a}] ${b}${d}`)}}function i(a,b,c){if(e<=d.INFO){let d=c?` ${g(c)}`:"";console.log(`[${f()}] ℹ️ [${a}] ${b}${d}`)}}function j(a,b,c){e<=d.WARN&&c&&g(c)}function k(a,b,c){if(e<=d.ERROR){let d=c?` ${g(c)}`:"";console.log(`[${f()}] ❌ [${a}] ${b}${d}`)}}function l(a,b,c){let d=c?` ${g(c)}`:"";console.log(`\x1b[36m[${f()}] 📥 ${a} ${b}${d}\x1b[0m`)}function m(a,b,c){let d=c?` ${g(c)}`:"";console.log(`[${f()}] ${a<400?"\uD83D\uDCE4":"\uD83D\uDCA5"} ${a} (${b}ms)${d}`)}function n(a,b){let c=b?` ${g(b)}`:"";console.log(`[${f()}] 🌊 [STREAM] ${a}${c}`)}function o(a){return!a||a.length<8?"***":`${a.slice(0,4)}...${a.slice(-4)}`}},38160:(a,b,c)=>{c.d(b,{eG:()=>i});var d=c(75924);let e=new Map,f=new Map,g=new Map,h=null;async function i(a,b,c="gemini-cli"){if(!a||!b)return null;let d=e.get(a);if(d&&Date.now()-d.fetchedAt<36e5)return d.projectId;let h=f.get(a);if(h&&Date.now()-h.failedAt<6e5)return null;if(g.has(a))return g.get(a).promise;let k=new AbortController,l=(async()=>{try{let d=await j(b,k.signal,c);if(d)return e.set(a,{projectId:d,fetchedAt:Date.now()}),f.delete(a),d;return console.warn("[ProjectId] could not fetch projectId for connection",a.slice(0,8)),f.set(a,{failedAt:Date.now()}),null}catch(b){return console.warn(`[ProjectId] Error fetching project ID: ${b.message}`),f.set(a,{failedAt:Date.now()}),null}finally{g.delete(a)}})();return g.set(a,{promise:l,controller:k,startedAt:Date.now()}),l}async function j(a,b,c){let e=d.nZ[c]||d.nZ["gemini-cli"],f="antigravity"===c?d.j5:d.Ic,g=await fetch(e.loadCodeAssist,{method:"POST",headers:{...f,Authorization:`Bearer ${a}`},body:JSON.stringify({metadata:d.zv}),signal:b});if(!g.ok){let a=await g.text().catch(()=>"");throw Error(`loadCodeAssist failed: HTTP ${g.status} ${a.slice(0,200)}`)}let h=await g.json(),i=function(a){if(!a)return null;if("string"==typeof a.cloudaicompanionProject){let b=a.cloudaicompanionProject.trim();if(b)return b}if(a.cloudaicompanionProject&&"object"==typeof a.cloudaicompanionProject){let b=a.cloudaicompanionProject.id;if("string"==typeof b&&b.trim())return b.trim()}return null}(h);if(i)return i;let j="legacy-tier";if(Array.isArray(h.allowedTiers)){for(let a of h.allowedTiers)if(a&&"object"==typeof a&&!0===a.isDefault&&a.id&&"string"==typeof a.id&&a.id.trim()){j=a.id.trim();break}}return k(a,j,b,e,c)}async function k(a,b,c,e,f){console.log(`[ProjectId] Onboarding user with tier: ${b}`);let g={tierId:b,metadata:d.zv},h="antigravity"===f?d.j5:d.Ic;for(let b=1;b<=5&&!c?.aborted;b++){let d=new AbortController,f=setTimeout(()=>d.abort(),3e4),i=()=>d.abort();c?.addEventListener("abort",i);try{let c=await fetch(e.onboardUser,{method:"POST",headers:{...h,Authorization:`Bearer ${a}`},body:JSON.stringify(g),signal:d.signal});if(clearTimeout(f),!c.ok){let a=await c.text().catch(()=>"");throw Error(`onboardUser HTTP ${c.status}: ${a.slice(0,200)}`)}let i=await c.json();if(!0===i.done){let a=function(a){if(!a||"object"!=typeof a)return null;for(let b of["response.cloudaicompanionProject","cloudaicompanionProject","response.project","project","response.projectId","projectId","project_id","response.project_id","response.id","id"]){let c=function(a){if("string"==typeof a){let b=a.trim();return b?b.startsWith("projects/")?b.slice(9):b:null}if(a&&"object"==typeof a){for(let b of["id","projectId","project_id"])if("string"==typeof a[b]&&a[b].trim())return a[b].trim()}return null}(b.split(".").reduce((a,b)=>a&&"object"==typeof a?a[b]:void 0,a));if(c)return c}return null}(i);if(a)return console.log(`[ProjectId] Successfully onboarded, project ID: ${a}`),a;return console.warn(`[ProjectId] onboardUser returned done:true without a recognizable project_id — raw response: ${JSON.stringify(i).slice(0,4e3)}`),null}console.log(`[ProjectId] Onboard attempt ${b}/5: not done yet, waiting...`),await new Promise(a=>setTimeout(a,2e3))}catch(a){if(clearTimeout(f),"AbortError"===a.name){if(console.warn(`[ProjectId] onboardUser attempt ${b} aborted (timeout or connection removed)`),c?.aborted)return null;continue}if(5===b)return console.warn(`[ProjectId] onboardUser failed after 5 attempts: ${a.message}`),null;console.warn(`[ProjectId] onboardUser attempt ${b} failed: ${a.message}, retrying...`),await new Promise(a=>setTimeout(a,2e3))}finally{clearTimeout(f),c?.removeEventListener("abort",i)}}return null}h=setInterval(()=>{try{let a=Date.now();for(let[b,c]of e)(!c||a-c.fetchedAt>=36e5)&&e.delete(b);for(let[b,c]of f)(!c||a-c.failedAt>=6e5)&&f.delete(b);for(let[b,c]of g){if(!c||"number"!=typeof c.startedAt){g.delete(b);continue}if(a-c.startedAt>12e4){try{c.controller.abort()}catch(a){}g.delete(b)}}}catch(a){console.warn("[ProjectId] cleanup sweep error:",a?.message??a)}},6e5),h?.unref?.()},40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>w,js:()=>A,DI:()=>p,fg:()=>m,Pd:()=>q,Ze:()=>r,p2:()=>s,IS:()=>j,nJ:()=>k,zN:()=>l,JH:()=>o,jO:()=>C,wb:()=>B,br:()=>n,wG:()=>z,zt:()=>x,gb:()=>u,gC:()=>v,mq:()=>t,rs:()=>y});var d=c(3988);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={toolUse:!0,fileAccess:!0,streaming:!0,multiTurn:!0},h={webCookie:{toolUse:!1,fileAccess:!1,streaming:!0,multiTurn:!0}},i=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}:"freeTier"===a.category||"apikey"===a.category?{authModes:["apikey"]}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{},...a.comingSoon?{comingSoon:!0}:{},capabilities:function(a){if(a.capabilities&&"object"==typeof a.capabilities)return{...g,...a.capabilities};let b=h[a.category];return b?{...b}:{...g}}(a)}}(a)])),j=i("free"),k=i("freeTier"),l=i("oauth"),m=i("apikey"),n=i("webCookie"),o="openai-compatible-",p="anthropic-compatible-",q="custom-embedding-",r="custom-stt-",s="custom-tts-";function t(a){return"string"==typeof a&&a.startsWith(o)}function u(a){return"string"==typeof a&&a.startsWith(p)}function v(a){return"string"==typeof a&&a.startsWith(q)}let w={...j,...k,...l,...m,...n};function x(a){for(let b of Object.values(w))if(b.alias===a||b.id===a)return b;return null}function y(a){let b=x(a);return b?.id||a}function z(a){let b=w[a];return b?.alias||a}let A=Object.values(w).reduce((a,b)=>(a[b.alias]=b.id,a),{});Object.values(w).reduce((a,b)=>(a[b.id]=b.alias,a),{});let B=d.A.filter(a=>a.features?.usage).map(a=>a.id),C=d.A.filter(a=>a.features?.usageApikey).map(a=>a.id)},67828:(a,b,c)=>{c.d(b,{I9:()=>j,eU:()=>n,vN:()=>m});var d=c(7803),e=c(89718),f=c(38160),g=c(8521),h=c(93943);let i=g.oD,j=(a,b,c)=>(0,g.I9)(a,b,c,d);function k(a){return new Date(Date.now()+1e3*a).toISOString()}function l(a){if(!a)return null;let b=new Date(a);return Number.isFinite(b.getTime())?b.toISOString():null}async function m(a,b){try{let c={};if(b.accessToken&&(c.accessToken=b.accessToken),b.refreshToken&&(c.refreshToken=b.refreshToken),b.idToken&&(c.idToken=b.idToken),b.lastRefreshAt&&(c.lastRefreshAt=b.lastRefreshAt),b.expiresAt&&(c.expiresAt=b.expiresAt),b.expiresIn)c.expiresAt=k(b.expiresIn),c.expiresIn=b.expiresIn;else if(b.expiresAt){let a=l(b.expiresAt);a&&(c.expiresAt=a,c.expiresIn=Math.max(1,Math.floor((new Date(a).getTime()-Date.now())/1e3)))}b.providerSpecificData&&(c.providerSpecificData={...b.existingProviderSpecificData||{},...b.providerSpecificData}),(b.copilotToken||b.copilotTokenExpiresAt)&&(c.providerSpecificData={...c.providerSpecificData||b.existingProviderSpecificData||{},...b.copilotToken?{copilotToken:b.copilotToken}:{},...b.copilotTokenExpiresAt?{copilotTokenExpiresAt:b.copilotTokenExpiresAt}:{}}),b.projectId&&(c.projectId=b.projectId);let f=await (0,e.updateProviderConnection)(a,c);return d.info("TOKEN_REFRESH","Credentials updated in localDb",{connectionId:a,success:!!f}),!!f}catch(b){return d.error("TOKEN_REFRESH","Error updating credentials in localDb",{connectionId:a,error:b.message}),!1}}async function n(a,b,c={}){let e={...b};if(!e.connectionId&&e.id&&(e.connectionId=e.id),c.force||(0,h.fp)(a,e)){let b=e.expiresAt?new Date(e.expiresAt).getTime():null,c=b?b-Date.now():null,i=(0,g.Og)(a);d.info("TOKEN_REFRESH","Refreshing provider credentials proactively",{provider:a,expiresIn:null===c?null:Math.round(c/1e3),refreshLeadMs:i,lastRefreshAt:e.lastRefreshAt||null});let j=await (0,h.Vq)(a,e,d);if(j?.accessToken||j?.apiKey||j?.copilotToken){let b={...j,existingProviderSpecificData:e.providerSpecificData};await m(e.connectionId,b),function(a,b,c){("antigravity"===a||"gemini-cli"===a)&&b&&c&&(0,f.eG)(b,c,a).then(a=>{a&&m(b,{projectId:a}).catch(a=>{d.debug("TOKEN_REFRESH","Failed to persist refreshed projectId",{connectionId:b,error:a?.message??a})})}).catch(a=>{d.debug("TOKEN_REFRESH","Failed to fetch projectId after token refresh",{connectionId:b,error:a?.message??a})})}(a,(e={...e,...j,expiresAt:j.expiresIn?k(j.expiresIn):l(j.expiresAt)||j.expiresAt||e.expiresAt,providerSpecificData:j.providerSpecificData?{...e.providerSpecificData,...j.providerSpecificData}:e.providerSpecificData}).connectionId,e.accessToken)}}if("github"===a){let b=e.providerSpecificData?.copilotToken,c=(e.providerSpecificData?.copilotTokenExpiresAt?1e3*e.providerSpecificData.copilotTokenExpiresAt:0)-Date.now();if(!b||c<i){let f;d.info("TOKEN_REFRESH","Copilot token expiring soon or missing, refreshing proactively",{provider:a,expiresIn:b?Math.round(c/1e3):"missing"});let h=await (f=e.accessToken,(0,g.jR)(f,d));if(h){let a={...e.providerSpecificData,copilotToken:h.token,copilotTokenExpiresAt:h.expiresAt};await m(e.connectionId,{providerSpecificData:a}),e.providerSpecificData=a,e.copilotToken=h.token}}}return e}}};
1
+ "use strict";exports.id=4046,exports.ids=[4046],exports.modules={7803:(a,b,c)=>{c.r(b),c.d(b,{debug:()=>h,error:()=>k,info:()=>i,maskKey:()=>o,request:()=>l,response:()=>m,stream:()=>n,warn:()=>j});let d={DEBUG:0,INFO:1,WARN:2,ERROR:3},e=d[process.env.LOG_LEVEL?.toUpperCase?.()]??d.INFO;function f(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}function g(a){if(!a)return"";if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}function h(a,b,c){if(e<=d.DEBUG){let d=c?` ${g(c)}`:"";console.log(`[${f()}] 🔍 [${a}] ${b}${d}`)}}function i(a,b,c){if(e<=d.INFO){let d=c?` ${g(c)}`:"";console.log(`[${f()}] ℹ️ [${a}] ${b}${d}`)}}function j(a,b,c){e<=d.WARN&&c&&g(c)}function k(a,b,c){if(e<=d.ERROR){let d=c?` ${g(c)}`:"";console.log(`[${f()}] ❌ [${a}] ${b}${d}`)}}function l(a,b,c){let d=c?` ${g(c)}`:"";console.log(`\x1b[36m[${f()}] 📥 ${a} ${b}${d}\x1b[0m`)}function m(a,b,c){let d=c?` ${g(c)}`:"";console.log(`[${f()}] ${a<400?"\uD83D\uDCE4":"\uD83D\uDCA5"} ${a} (${b}ms)${d}`)}function n(a,b){let c=b?` ${g(b)}`:"";console.log(`[${f()}] 🌊 [STREAM] ${a}${c}`)}function o(a){return!a||a.length<8?"***":`${a.slice(0,4)}...${a.slice(-4)}`}},38160:(a,b,c)=>{c.d(b,{eG:()=>i});var d=c(75924);let e=new Map,f=new Map,g=new Map,h=null;async function i(a,b,c="gemini-cli"){if(!a||!b)return null;let d=e.get(a);if(d&&Date.now()-d.fetchedAt<36e5)return d.projectId;let h=f.get(a);if(h&&Date.now()-h.failedAt<6e5)return null;if(g.has(a))return g.get(a).promise;let k=new AbortController,l=(async()=>{try{let d=await j(b,k.signal,c);if(d)return e.set(a,{projectId:d,fetchedAt:Date.now()}),f.delete(a),d;return console.warn("[ProjectId] could not fetch projectId for connection",a.slice(0,8)),f.set(a,{failedAt:Date.now()}),null}catch(b){return console.warn(`[ProjectId] Error fetching project ID: ${b.message}`),f.set(a,{failedAt:Date.now()}),null}finally{g.delete(a)}})();return g.set(a,{promise:l,controller:k,startedAt:Date.now()}),l}async function j(a,b,c){let e=d.nZ[c]||d.nZ["gemini-cli"],f="antigravity"===c?d.j5:d.Ic,g=await fetch(e.loadCodeAssist,{method:"POST",headers:{...f,Authorization:`Bearer ${a}`},body:JSON.stringify({metadata:d.zv}),signal:b});if(!g.ok){let a=await g.text().catch(()=>"");throw Error(`loadCodeAssist failed: HTTP ${g.status} ${a.slice(0,200)}`)}let h=await g.json(),i=function(a){if(!a)return null;if("string"==typeof a.cloudaicompanionProject){let b=a.cloudaicompanionProject.trim();if(b)return b}if(a.cloudaicompanionProject&&"object"==typeof a.cloudaicompanionProject){let b=a.cloudaicompanionProject.id;if("string"==typeof b&&b.trim())return b.trim()}return null}(h);if(i)return i;if((d.nZ[c]?.onboardUser||"").includes("daily-"))return console.warn(`[ProjectId] Provider "${c}" uses daily endpoint; skipping onboardUser (executor generates project ID locally)`),null;let j="legacy-tier";if(Array.isArray(h.allowedTiers)){for(let a of h.allowedTiers)if(a&&"object"==typeof a&&!0===a.isDefault&&a.id&&"string"==typeof a.id&&a.id.trim()){j=a.id.trim();break}}return k(a,j,b,e,c)}async function k(a,b,c,e,f){console.log(`[ProjectId] Onboarding user with tier: ${b}`);let g={tierId:b,metadata:d.zv},h="antigravity"===f?d.j5:d.Ic,i=Number(process.env.ONBOARD_MAX_ATTEMPTS)||2,j=Number(process.env.ONBOARD_RETRY_DELAY_MS)||12e3,k=()=>Math.floor(5e3*Math.random());for(let b=1;b<=i&&!c?.aborted;b++){let d=new AbortController,f=setTimeout(()=>d.abort(),3e4),l=()=>d.abort();c?.addEventListener("abort",l);try{let c=await fetch(e.onboardUser,{method:"POST",headers:{...h,Authorization:`Bearer ${a}`},body:JSON.stringify(g),signal:d.signal});if(clearTimeout(f),!c.ok){let a=await c.text().catch(()=>"");throw Error(`onboardUser HTTP ${c.status}: ${a.slice(0,200)}`)}let l=await c.json();if(!0===l.done){let a=function(a){if(!a||"object"!=typeof a)return null;for(let b of["response.cloudaicompanionProject","cloudaicompanionProject","response.project","project","response.projectId","projectId","project_id","response.project_id","response.id","id"]){let c=function(a){if("string"==typeof a){let b=a.trim();return b?b.startsWith("projects/")?b.slice(9):b:null}if(a&&"object"==typeof a){for(let b of["id","projectId","project_id"])if("string"==typeof a[b]&&a[b].trim())return a[b].trim()}return null}(b.split(".").reduce((a,b)=>a&&"object"==typeof a?a[b]:void 0,a));if(c)return c}return null}(l);if(a)return console.log(`[ProjectId] Successfully onboarded, project ID: ${a}`),a;return console.warn(`[ProjectId] onboardUser returned done:true without a recognizable project_id — raw response: ${JSON.stringify(l).slice(0,4e3)}`),null}console.log(`[ProjectId] Onboard attempt ${b}/${i}: not done yet, waiting...`),await new Promise(a=>setTimeout(a,j+k()))}catch(a){if(clearTimeout(f),"AbortError"===a.name){if(console.warn(`[ProjectId] onboardUser attempt ${b} aborted (timeout or connection removed)`),c?.aborted)return null;continue}if(b===i)return console.warn(`[ProjectId] onboardUser failed after ${i} attempts: ${a.message}`),null;console.warn(`[ProjectId] onboardUser attempt ${b} failed: ${a.message}, retrying...`),await new Promise(a=>setTimeout(a,j+k()))}finally{clearTimeout(f),c?.removeEventListener("abort",l)}}return null}h=setInterval(()=>{try{let a=Date.now();for(let[b,c]of e)(!c||a-c.fetchedAt>=36e5)&&e.delete(b);for(let[b,c]of f)(!c||a-c.failedAt>=6e5)&&f.delete(b);for(let[b,c]of g){if(!c||"number"!=typeof c.startedAt){g.delete(b);continue}if(a-c.startedAt>12e4){try{c.controller.abort()}catch(a){}g.delete(b)}}}catch(a){console.warn("[ProjectId] cleanup sweep error:",a?.message??a)}},6e5),h?.unref?.()},40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>w,js:()=>A,DI:()=>p,fg:()=>m,Pd:()=>q,Ze:()=>r,p2:()=>s,IS:()=>j,nJ:()=>k,zN:()=>l,JH:()=>o,jO:()=>C,wb:()=>B,br:()=>n,wG:()=>z,zt:()=>x,gb:()=>u,gC:()=>v,mq:()=>t,rs:()=>y});var d=c(72436);let e="⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.default.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","modelsFetcher","mediaPriority","hiddenKinds"],g={toolUse:!0,fileAccess:!0,streaming:!0,multiTurn:!0},h={webCookie:{toolUse:!1,fileAccess:!1,streaming:!0,multiTurn:!0}},i=a=>Object.fromEntries(d.default.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.alias||a.id,...a.uiAlias?{uiAlias:a.uiAlias}:{},...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}:"freeTier"===a.category||"apikey"===a.category?{authModes:["apikey"]}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{},...a.comingSoon?{comingSoon:!0}:{},capabilities:function(a){if(a.capabilities&&"object"==typeof a.capabilities)return{...g,...a.capabilities};let b=h[a.category];return b?{...b}:{...g}}(a)}}(a)])),j=i("free"),k=i("freeTier"),l=i("oauth"),m=i("apikey"),n=i("webCookie"),o="openai-compatible-",p="anthropic-compatible-",q="custom-embedding-",r="custom-stt-",s="custom-tts-";function t(a){return"string"==typeof a&&a.startsWith(o)}function u(a){return"string"==typeof a&&a.startsWith(p)}function v(a){return"string"==typeof a&&a.startsWith(q)}let w={...j,...k,...l,...m,...n};function x(a){for(let b of Object.values(w))if(b.alias===a||b.id===a)return b;return null}function y(a){let b=x(a);return b?.id||a}function z(a){let b=w[a];return b?.alias||a}let A=Object.values(w).reduce((a,b)=>(a[b.alias]=b.id,a),{});Object.values(w).reduce((a,b)=>(a[b.id]=b.alias,a),{});let B=d.default.filter(a=>a.features?.usage).map(a=>a.id),C=d.default.filter(a=>a.features?.usageApikey).map(a=>a.id)},67828:(a,b,c)=>{c.d(b,{I9:()=>j,eU:()=>n,vN:()=>m});var d=c(7803),e=c(89718),f=c(38160),g=c(8521),h=c(93943);let i=g.oD,j=(a,b,c)=>(0,g.I9)(a,b,c,d);function k(a){return new Date(Date.now()+1e3*a).toISOString()}function l(a){if(!a)return null;let b=new Date(a);return Number.isFinite(b.getTime())?b.toISOString():null}async function m(a,b){try{let c={};if(b.accessToken&&(c.accessToken=b.accessToken),b.refreshToken&&(c.refreshToken=b.refreshToken),b.idToken&&(c.idToken=b.idToken),b.lastRefreshAt&&(c.lastRefreshAt=b.lastRefreshAt),b.expiresAt&&(c.expiresAt=b.expiresAt),b.expiresIn)c.expiresAt=k(b.expiresIn),c.expiresIn=b.expiresIn;else if(b.expiresAt){let a=l(b.expiresAt);a&&(c.expiresAt=a,c.expiresIn=Math.max(1,Math.floor((new Date(a).getTime()-Date.now())/1e3)))}b.providerSpecificData&&(c.providerSpecificData={...b.existingProviderSpecificData||{},...b.providerSpecificData}),(b.copilotToken||b.copilotTokenExpiresAt)&&(c.providerSpecificData={...c.providerSpecificData||b.existingProviderSpecificData||{},...b.copilotToken?{copilotToken:b.copilotToken}:{},...b.copilotTokenExpiresAt?{copilotTokenExpiresAt:b.copilotTokenExpiresAt}:{}}),b.projectId&&(c.projectId=b.projectId);let f=await (0,e.updateProviderConnection)(a,c);return d.info("TOKEN_REFRESH","Credentials updated in localDb",{connectionId:a,success:!!f}),!!f}catch(b){return d.error("TOKEN_REFRESH","Error updating credentials in localDb",{connectionId:a,error:b.message}),!1}}async function n(a,b,c={}){let e={...b};if(!e.connectionId&&e.id&&(e.connectionId=e.id),c.force||(0,h.fp)(a,e)){let b=e.expiresAt?new Date(e.expiresAt).getTime():null,c=b?b-Date.now():null,i=(0,g.Og)(a);d.info("TOKEN_REFRESH","Refreshing provider credentials proactively",{provider:a,expiresIn:null===c?null:Math.round(c/1e3),refreshLeadMs:i,lastRefreshAt:e.lastRefreshAt||null});let j=await (0,h.Vq)(a,e,d);if(j?.accessToken||j?.apiKey||j?.copilotToken){let b={...j,existingProviderSpecificData:e.providerSpecificData};await m(e.connectionId,b),function(a,b,c){("antigravity"===a||"gemini-cli"===a)&&b&&c&&(0,f.eG)(b,c,a).then(a=>{a&&m(b,{projectId:a}).catch(a=>{d.debug("TOKEN_REFRESH","Failed to persist refreshed projectId",{connectionId:b,error:a?.message??a})})}).catch(a=>{d.debug("TOKEN_REFRESH","Failed to fetch projectId after token refresh",{connectionId:b,error:a?.message??a})})}(a,(e={...e,...j,expiresAt:j.expiresIn?k(j.expiresIn):l(j.expiresAt)||j.expiresAt||e.expiresAt,providerSpecificData:j.providerSpecificData?{...e.providerSpecificData,...j.providerSpecificData}:e.providerSpecificData}).connectionId,e.accessToken)}}if("github"===a){let b=e.providerSpecificData?.copilotToken,c=(e.providerSpecificData?.copilotTokenExpiresAt?1e3*e.providerSpecificData.copilotTokenExpiresAt:0)-Date.now();if(!b||c<i){let f;d.info("TOKEN_REFRESH","Copilot token expiring soon or missing, refreshing proactively",{provider:a,expiresIn:b?Math.round(c/1e3):"missing"});let h=await (f=e.accessToken,(0,g.jR)(f,d));if(h){let a={...e.providerSpecificData,copilotToken:h.token,copilotTokenExpiresAt:h.expiresAt};await m(e.connectionId,{providerSpecificData:a}),e.providerSpecificData=a,e.copilotToken=h.token}}}return e}}};
@@ -1,4 +1,4 @@
1
1
  "use strict";exports.id=4109,exports.ids=[4109],exports.modules={8541:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{r8:()=>w});var e=c(77598),f=c(26915),g=a([f]);f=(g.then?(await g)():g)[0];let x="https://chat.z.ai",y=Number(process.env.ER_ZAI_BROWSER_TIMEOUT_MS)||15e4,z=process.env.ER_ZAI_BROWSER_CHANNEL?[process.env.ER_ZAI_BROWSER_CHANNEL]:["chrome","msedge"],A=null,B=null,C=new Map,D=new Map;class E extends Error{constructor(a,{disabled:b=!1}={}){super(a),this.name="ZaiPickerError",this.disabled=b}}function h(){let a=Error("Aborted");return a.name="AbortError",a}function i(a,b){return b?b.aborted?Promise.reject(h()):new Promise((c,d)=>{let e=()=>d(h());b.addEventListener("abort",e,{once:!0}),a.then(a=>{b.removeEventListener("abort",e),c(a)},a=>{b.removeEventListener("abort",e),d(a)})}):a}function j(a,b){return new Promise((c,d)=>{if(b?.aborted)return d(h());let e=()=>{clearTimeout(f),d(h())},f=setTimeout(()=>{b?.removeEventListener("abort",e),c()},a);b?.addEventListener("abort",e,{once:!0})})}async function k(){if(A)return A;A=(async()=>{let a="1"!==process.env.ER_ZAI_BROWSER_HEADED,b=null;for(let c of z)try{let b=await f.chromium.launch({channel:c,headless:a,args:["--no-first-run","--disable-blink-features=AutomationControlled"]});return B=b,b}catch(a){b=a}try{let b=await f.chromium.launch({headless:a,args:["--no-first-run"]});return B=b,b}catch{}throw Error(`no Chromium-based browser found (tried channels: ${z.join(", ")}). Install Chrome or Edge, or set ER_ZAI_BROWSER_CHANNEL. ${b?.message||""}`)})();try{return await A}catch(a){throw A=null,a}}async function l(a){let b=(0,e.createHash)("sha256").update(String(a||"")).digest("hex").slice(0,24),c=C.get(b);if(c)return c;let d=D.get(b);d||(d=(async()=>{let c=await k(),d=await c.newContext({userAgent:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36",viewport:{width:1280,height:800},locale:"en-US",timezoneId:"UTC"});await d.addInitScript(a=>{try{localStorage.setItem("token",a)}catch{}},a);let e=await d.newPage();try{await e.goto(`${x}/`,{waitUntil:"domcontentloaded",timeout:45e3}),await j(2500)}catch{}return{context:d,page:e,key:b,busy:Promise.resolve()}})(),D.set(b,d));try{let a=await d;return C.set(b,a),a}finally{D.delete(b)}}function m(a){return a.innerText().then(a=>String(a||"").trim()).catch(()=>"")}async function n(a){try{return await a.locator('[role="menu"] button:has-text("Sign in"), [role="menu"] button:has-text("Sign up")').count()>0}catch{return!1}}async function o(a,b,c,d){let e="";return await n(a)&&(e=" The picker shows a signed-out/guest state (Sign in / Sign up buttons) — the session token may be invalid, logged out, or the model may need a paid plan. Re-capture the token from chat.z.ai Local Storage while signed in."),`cannot select model "${b}" in the chat.z.ai picker (${c}).${e} ${d}`}async function p(a,b){for(let c of[a.locator("button").filter({hasText:b}),a.locator('[role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"], [role="option"]').filter({hasText:b})])if(await c.count().catch(()=>0)>0)return c.first();return null}async function q(a,b){let c=a.locator('[aria-label="Select a model"]').first();await i(c.waitFor({state:"visible",timeout:15e3}),b);try{await i(c.click({timeout:5e3}),b)}catch{await i(c.evaluate(a=>a.click()),b)}await j(700,b)}async function r(a,b,c,d){let e=a.locator('[aria-label="Select a model"]').first();if(await i(e.waitFor({state:"visible",timeout:15e3}),c),(await m(e)).toLowerCase().includes(b.toLowerCase()))return!0;await q(a,c);let f=a.locator('[role="menu"]').filter({hasText:b}).first();await i(f.waitFor({state:"visible",timeout:8e3}),c);let g=await p(f,b);if(!g)throw new E(await o(a,b,`model "${b}" is not listed in the picker menu`,d));if(await g.scrollIntoViewIfNeeded().catch(()=>{}),!await g.isEnabled().catch(()=>!0))throw new E(await o(a,b,`model "${b}" is disabled in the picker`,d),{disabled:!0});try{await i(g.click({timeout:8e3}),c)}catch(e){let c=String(e?.message||e).slice(0,200);throw new E(await o(a,b,c,d))}await a.keyboard.press("Escape").catch(()=>{}),await j(700,c);let h=await m(e);if(!h.toLowerCase().includes(b.toLowerCase()))throw new E(await o(a,b,`selection did not stick (picker shows "${h||"unknown"}")`,d));return!0}async function s(a,{thinking:b,vlm:c,capabilities:d,log:e},f){let g=!!d?.thinking,h=!!(d?.webSearch||d?.vlmWebSearch),k=!!d?.vlmTools;try{if(g){let c=a.locator("button[data-autothink]").first();await c.count()&&await c.getAttribute("data-autothink")==="true"!==b.enabled&&(await i(c.click({timeout:5e3}),f),await j(400,f))}}catch(a){e?.warn?.("ZAI-WEB",`Deep Think toggle skipped: ${a?.message||a}`)}let l=[];for(let[b,d]of(h&&l.push(["Web search",c.webSearchEnabled]),k&&l.push(["Tools",c.toolsEnabled]),l))try{let c=a.locator(`[aria-label^="${b} "]`).first();if(await c.count()){let a=c.locator("button[data-selected]").first();await a.count()&&await a.getAttribute("data-selected")==="true"!==d&&(await i(a.click({timeout:5e3}),f),await j(400,f))}}catch(a){e?.warn?.("ZAI-WEB",`${b} toggle skipped: ${a?.message||a}`)}}async function t(a,b,c){for(let d=0;d<6;d++){let e=a.locator('[role="dialog"]:has-text("Now Available"), [role="dialog"]:has-text("Upgraded"), [role="dialog"]:has-text("GLM-5.2"), [role="alertdialog"]').first();if(!await e.count().catch(()=>0))break;try{let c=e.locator('button:has-text("Next"), button:has-text("Got it"), button:has-text("Continue"), button:has-text("Confirm"), button:has-text("Skip"), button:has-text("Close"), button[aria-label="Close"]').first();await c.count().catch(()=>0)?await i(c.click({timeout:4e3}),b):await i(a.keyboard.press("Escape"),b)}catch(a){c?.warn?.(`modal dismissal (step ${d+1}) skipped: ${a?.message||a}`)}await j(600,b)}}async function u(a,b){let c=a.waitForResponse(a=>"POST"===a.request().method()&&a.url().includes("/api/v2/chat/completions"),{timeout:y}),d=await i(c,b);await i(Promise.race([d.finished().catch(()=>{}),j(y,b).then(()=>{})]),b);let e=d.status(),f=d.headers()["content-type"]||null,g=Buffer.alloc(0);try{g=Buffer.from(await d.body().catch(()=>Buffer.alloc(0)))}catch{}if(g.length>0x1000000)throw Error("Z.ai response exceeded 16777216 bytes");return{status:e,contentType:f,body:g}}async function v({entry:a,token:b,modelId:c,prompt:d,thinking:e,vlm:f,capabilities:g,signal:h,log:k}){let{page:l}=a;try{let a,m,n;if(await i(l.goto(`${x}/`,{waitUntil:"domcontentloaded",timeout:45e3}),h),await j(1800,h),await t(l,h,k),await l.locator('iframe[src*="captcha"], iframe[src*="verify"], [id*="captcha"]').first().count().then(a=>a>0).catch(()=>!1)){let a="1"===process.env.ER_ZAI_BROWSER_HEADED?"solve the CAPTCHA in the opened browser window and retry.":"set ER_ZAI_BROWSER_HEADED=1, solve the CAPTCHA in the opened browser window, and retry.";return{ok:!1,error:`chat.z.ai is showing a CAPTCHA challenge — ${a}`}}let o=(n=(m=(a=String(c||"").trim()).split("/").at(-1)||a).toLowerCase(),"glm-5.2"===n?"GLM-5.2":"glm-5v-turbo"===n?"GLM-5V-Turbo":m);await r(l,o,h,!function(a){let b=String(a||"").split(".")[1];if(!b)return!1;try{let a=JSON.parse(Buffer.from(b,"base64url").toString("utf8"));if(a?.role==="guest")return!0;return"string"==typeof a?.email&&/@guest\.com$/i.test(a.email)}catch{return!1}}(b)?"Sign in to chat.z.ai (the model may require an account), or request a model this account can use.":"This is a guest session — chat.z.ai only allows GLM-4.7 for guests. Sign in at chat.z.ai and re-capture the token."),await s(l,{thinking:e,vlm:f,capabilities:g,log:k},h);let p=l.locator("#chat-input");await i(p.waitFor({state:"visible",timeout:15e3}),h),await i(p.fill(d),h),await j(700,h);let q=l.locator("#send-message-button"),v=!1;try{await q.count()>0&&await q.isEnabled().catch(()=>!1)&&(await i(q.click({timeout:5e3}),h),v=!0)}catch{}return v||await i(p.press("Enter"),h),k?.info?.("ZAI-WEB",`browser sent (model=${o}, thinking=${e.enabled})`),{ok:!0,...await u(l,h)}}catch(b){if(b?.name==="AbortError")return{ok:!1,error:"request aborted"};let a=b instanceof Error?b.message:String(b);return{ok:!1,error:a,retryable:b instanceof E&&!b.disabled}}}async function w({token:a,modelId:b,prompt:c,thinking:d,vlm:e,capabilities:f,signal:g,log:h}){if(!a)return{ok:!1,error:"missing session token"};let i=await l(a),j=i.busy.then(async()=>{let j={entry:i,token:a,modelId:b,prompt:c,thinking:d,vlm:e,capabilities:f,signal:g,log:h},k=await v(j);return k.ok||!k.retryable||g?.aborted||(h?.warn?.("ZAI-WEB",`model picker failed on first attempt — reloading and retrying once (${k.error})`),k=await v(j)),k});return i.busy=j.then(()=>{},()=>{}),j}process.once("exit",()=>{B&&(B.close().catch(()=>{}),B=null)}),d()}catch(a){d(a)}})},54109:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{U:()=>N,X6:()=>r});var e=c(77598),f=c(74957),g=c(35024),h=c(78959),i=c(92536),j=c(39609),k=c(43659),l=c(73483),m=c(8541),n=a([m]);m=(n.then?(await n)():n)[0];let D=g.xq["zai-web"],E=D.baseUrl,F=`${E}/`,G=`${E}/api/v1/chats/new`,H=`${E}/api/v2/chat/completions`,I="GLM-5.1",J="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36",K=global._zaiWebFeVersionCache??={version:null,expiresAt:0},L={"glm-5.2":{mcp:!0,reasoningEffort:!0,returnFc:!0,thinking:!0,vision:!1,vlmTools:!1,vlmWebSearch:!1,vlmWebsiteMode:!1,webSearch:!0},"glm-5.1":{mcp:!0,reasoningEffort:!1,returnFc:!0,thinking:!0,vision:!1,vlmTools:!1,vlmWebSearch:!1,vlmWebsiteMode:!1,webSearch:!0},"glm-5-turbo":{mcp:!0,reasoningEffort:!1,returnFc:!0,thinking:!0,vision:!1,vlmTools:!1,vlmWebSearch:!1,vlmWebsiteMode:!1,webSearch:!0},"glm-5v-turbo":{mcp:!1,reasoningEffort:!1,returnFc:!0,thinking:!0,vision:!0,vlmTools:!0,vlmWebSearch:!0,vlmWebsiteMode:!0,webSearch:!0}},M=Object.freeze({mcp:!1,reasoningEffort:!1,returnFc:!1,thinking:!1,vision:!1,vlmTools:!1,vlmWebSearch:!1,vlmWebsiteMode:!1,webSearch:!1});function o(a){return a&&"object"==typeof a&&!Array.isArray(a)?a:null}function p(a){if(!a.trim().startsWith("{"))return null;try{return o(JSON.parse(a))}catch{return null}}function q(a){return String(a||"").replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f]/g,"").slice(0,500)}function r(a){let b=String(a??"").trim(),c=p(b);if(c){let a=c.token??c.accessToken??c.access_token;return"string"==typeof a?a.trim():""}let d=b.match(/^(?:Authorization:\s*)?Bearer\s+(.+)$/i);if(d)return d[1].trim();let e=b.replace(/^cookie:\s*/i,"").trim();if(!e)return"";let f=e.match(/(?:^|;\s*)token=([^;]+)/);return f?f[1].trim():e.includes(";")||e.includes("=")?"":e}function s(a){let b=o(a);if(b){let a=b.captcha_verify_param??b.captchaVerifyParam??b.zaiCaptchaVerifyParam;if("string"==typeof a&&a.trim())return a.trim();let c=o(b.providerSpecificData);return c?s(c):""}if("string"!=typeof a)return"";let c=p(a);if(c)return s(c);let d=a.match(/(?:^|;\s*)captcha_verify_param=([^;]+)/);return d?.[1]?.trim()??""}async function t(a,b){let c=Date.now();if(K.version&&K.expiresAt>c)return K.version;let d="prod-fe-1.1.79";try{let c=await (0,j.proxyAwareFetch)(F,{headers:{Accept:"text/html","User-Agent":J},signal:b},a);if(c.ok){var e;let a=(e=await c.text().catch(()=>""),String(e||"").match(/\/frontend\/(prod-fe-\d+(?:\.\d+)*)\/assets\//)?.[1]??null);a&&(d=a)}}catch{}return K.version=d,K.expiresAt=Date.now()+9e5,d}function u(a){return"string"==typeof a?a:Array.isArray(a)?a.flatMap(a=>{let b=o(a);if(!b||"text"!==b.type&&"input_text"!==b.type)return[];let c=b.text??b.content;return"string"==typeof c?[c]:[]}).join("\n"):""}function v(a){let b=Array.isArray(a)?a:[];for(let a=b.length-1;a>=0;a--)if(b[a]?.role==="user")return u(b[a].content);return""}function w(a){let b;return L[((b=String(a||"").trim()).split("/").at(-1)||b).toLowerCase()]??M}function x(a,b){return void 0!==a[b]?a[b]:o(a.features)?.[b]}function y(a,{accept:b,frontendVersion:c,signature:d}){let e={"Content-Type":"application/json",Accept:b,"Accept-Language":"en-US","User-Agent":J,Origin:E,Referer:`${E}/`,Authorization:`Bearer ${a}`};return c&&(e["X-FE-Version"]=c),d&&(e["X-Signature"]=d),e}function z(a){if(!a||"object"!=typeof a)return null;let b=function(a){let b=o(a.data)??{},c=a.error??b.error;if(null==c)return null;if("string"==typeof c)return q(c)||"upstream error";if("object"==typeof c){let a=c.detail??c.message??c.msg;return"string"==typeof a&&a?q(a):q(JSON.stringify(c))}return q(String(c))}(a);if(b)return{content:"",reasoning:"",done:!0,error:b};let c=a.choices;if(Array.isArray(c)&&c.length>0){let a=o(c[0]?.delta)??{},b=c[0]?.finish_reason;return{content:"string"==typeof a.content?a.content:"",reasoning:"string"==typeof a.reasoning_content?a.reasoning_content:"",done:null!=b}}let d=o(a.data)??a,e=String(d.phase??""),f=d.delta_content??d.edit_content??d.content,g=!0===d.done||"done"===e||"finish"===e||"chat:completion:finish"===String(a.type??"");if("string"==typeof f&&f){let a="thinking"===e;return{content:a?"":f,reasoning:a?f:"",done:g}}return g?{content:"",reasoning:"",done:!0}:null}function A(a,b,c){let d=new TextEncoder,e=new TextDecoder,f=`chatcmpl-zai-${crypto.randomUUID().slice(0,12)}`,g=Math.floor(Date.now()/1e3),j=b||I,k=!1,l=!1,m=(a,b=null)=>d.encode((0,i.N9)({id:f,object:"chat.completion.chunk",created:g,model:j,choices:[{index:0,delta:a,finish_reason:b,logprobs:null}]})),n=a=>{if(!l){l=!0,k||(k=!0,a.enqueue(m({role:"assistant",content:""}))),a.enqueue(m({},"stop")),a.enqueue(d.encode(h.$U));try{a.close()}catch{}}};return new ReadableStream({async start(b){let f=a.getReader(),g="";try{for(;!c?.aborted;){let{done:a,value:c}=await f.read();if(a)break;let i=(g+=e.decode(c,{stream:!0})).split("\n");for(let a of(g=i.pop()||"",i)){let c;if(!a.startsWith("data:"))continue;let e=a.slice(5).trim();if(!e||"[DONE]"===e)continue;try{c=JSON.parse(e)}catch{continue}let f=z(c);if(f){if(f.error){k||(k=!0,b.enqueue(m({role:"assistant",content:""}))),b.enqueue(m({content:`[Z.ai error] ${f.error}`})),b.enqueue(m({},"stop")),b.enqueue(d.encode(h.$U));try{b.close()}catch{}return}if(!k&&(f.content||f.reasoning)&&(k=!0,b.enqueue(m({role:"assistant",content:""}))),f.reasoning&&b.enqueue(m({reasoning_content:f.reasoning})),f.content&&b.enqueue(m({content:f.content})),f.done)return void n(b)}}}n(b)}catch(a){if(c?.aborted)n(b);else try{k||b.enqueue(m({role:"assistant",content:""})),b.enqueue(m({content:`
2
- [Z.ai stream error: ${a?.message||String(a)}]`},"stop")),b.enqueue(d.encode(h.$U))}catch{}}finally{try{b.close()}catch{}try{f.releaseLock()}catch{}}}})}async function B(a,b){let c=new TextDecoder,d=a.getReader(),e="",f="",g="";try{for(;!b?.aborted;){let{done:a,value:b}=await d.read();if(a)break;let h=(e+=c.decode(b,{stream:!0})).split("\n");for(let a of(e=h.pop()||"",h)){let b;if(!a.startsWith("data:"))continue;let c=a.slice(5).trim();if(!c||"[DONE]"===c)continue;try{b=JSON.parse(c)}catch{continue}let d=z(b);if(d){if(d.error)throw Error(d.error);if(d.reasoning&&(g+=d.reasoning),d.content&&(f+=d.content),d.done)break}}}}finally{try{d.releaseLock()}catch{}}return{content:f,reasoning:g}}function C({bodyObj:a,modelId:b,content:c,reasoning:d,url:e,headers:f,transformedBody:g}){let h=c.length+d.length,i=(0,l.bC)(a),j=(0,l.oT)(h),k={role:"assistant",content:c||"[Z.ai returned no content]"};d&&(k.reasoning_content=d);let m={id:`chatcmpl-${Date.now()}`,object:"chat.completion",created:Math.floor(Date.now()/1e3),model:b,choices:[{index:0,message:k,finish_reason:"stop",logprobs:null}],usage:{prompt_tokens:i,completion_tokens:j,total_tokens:i+j,estimated:!0}};return{response:new Response(JSON.stringify(m),{status:200,headers:{"Content-Type":"application/json"}}),url:e,headers:f,transformedBody:g}}class N extends f.H{constructor(){super("zai-web",D)}async execute({model:a,body:b,stream:c,credentials:d,signal:f,log:g,proxyOptions:i}){var l,m;let n,p,q,z,D,F,K,L,M,N=b||{},O=Array.isArray(N.messages)?N.messages:[];if(0===O.length)return{response:(0,k.yj)(400,"Missing or empty messages array.","INVALID_REQUEST"),url:H,headers:{},transformedBody:b};let P=d?.apiKey||d?.accessToken||"",Q=r(P);if(!Q)return{response:(0,k.yj)(400,'Invalid Z.ai web-session credential — copy the "token" value from chat.z.ai Local Storage.',"NO_CREDENTIAL"),url:H,headers:{},transformedBody:b};let R="string"==typeof a&&a.trim()?a.trim():I,S=w(R);if(O.some(a=>Array.isArray(a.content)&&a.content.some(a=>a?.type==="image_url"))&&!S.vision)return{response:(0,k.yj)(400,"Image input is only supported on GLM-5V-Turbo for Z.ai web.","UNSUPPORTED_IMAGE"),url:H,headers:{},transformedBody:b};let T=(p=(n=w(R)).thinking,q=o(N.reasoning),z="string"==typeof N.reasoning_effort?N.reasoning_effort.trim().toLowerCase():"string"==typeof q?.effort?q.effort.trim().toLowerCase():"",D=!1===N.enable_thinking||"none"===z||"off"===z,{supported:p,enabled:p&&!D,effort:"low"===z||"medium"===z||"high"===z?"high":"max",effortSupported:n.reasoningEffort}),U=(F=w(R),K=x(N,"vlm_tools_enable"),L=x(N,"vlm_web_search_enable")??x(N,"auto_web_search")??x(N,"web_search"),M=!0===L||!1!==L&&F.vlmWebSearch,{toolsEnabled:F.vlmTools&&!1!==K,webSearchEnabled:F.webSearch&&M,websiteModeEnabled:F.vlmWebsiteMode}),V=s(P)||s(d?.providerSpecificData)||"";if(!V)return"off"===process.env.ER_ZAI_BROWSER?{response:(0,k.yj)(400,'Z.ai chat needs a CAPTCHA proof or the browser transport — supply "captcha_verify_param" in the credential JSON, or unset ER_ZAI_BROWSER.',"CAPTCHA_REQUIRED"),url:H,headers:{},transformedBody:b}:this.executeViaBrowser({body:b,bodyObj:N,modelId:R,messages:O,stream:c,token:Q,thinking:T,vlm:U,signal:f,log:g});try{let a,d,n=await t(i,f),o=function(a){let b=String(a||"").split(".")[1];if(!b)return"";try{let a=JSON.parse(Buffer.from(b,"base64url").toString("utf8"));return"string"==typeof a?.id?a.id:""}catch{return""}}(Q),p=crypto.randomUUID(),q=Date.now(),r=v(O),s=function({prompt:a,requestId:b,timestamp:c,userId:d}){let f=String(c),g=Object.entries({timestamp:f,requestId:b,user_id:d}).sort(([a],[b])=>a.localeCompare(b)).join(","),h=Buffer.from(String(a),"utf8").toString("base64"),i=Math.floor(Number(f)/3e5),j=(0,e.createHmac)("sha256","key-@@@@)))()((9))-xxxx&&&%%%%%").update(String(i)).digest("hex");return(0,e.createHmac)("sha256",j).update(`${g}|${h}|${f}`).digest("hex")}({prompt:r,requestId:p,timestamp:q,userId:o});g?.info?.("ZAI-WEB",`model=${R}, thinking=${T.enabled}, effort=${T.effort}, vlm=${JSON.stringify(U)}`);let w=(l=T.enabled,m=T.effort,a=v(O),{userMessageId:d=crypto.randomUUID(),payload:{chat:{id:"",title:"New Chat",models:[R],params:{},history:{messages:{[d]:{id:d,parentId:null,childrenIds:[],role:"user",content:a,timestamp:Math.floor(Date.now()/1e3),models:[R]}},currentId:d},tags:[],flags:[],features:[{server:"tool_selector_h",status:"hidden",type:"tool_selector"}],mcp_servers:[],enable_thinking:l,reasoning_effort:m,auto_web_search:U.webSearchEnabled,message_version:1,extra:{vlm_tools_enable:U.toolsEnabled,vlm_web_search_enable:U.websiteModeEnabled&&U.webSearchEnabled,vlm_website_mode:U.websiteModeEnabled},timestamp:Date.now(),type:"default"}}}),x=await (0,j.proxyAwareFetch)(G,{method:"POST",headers:y(Q,{accept:"application/json, text/plain, */*",frontendVersion:n}),body:JSON.stringify(w.payload),signal:f},i);if(!x.ok){let a=x.status,c=401===a||403===a?'Z.ai token invalid or expired — copy a fresh "token" from chat.z.ai Local Storage.':`Z.ai new-chat failed (HTTP ${a})`;return g?.warn?.("ZAI-WEB",c),{response:(0,k.yj)(a,c,`HTTP_${a}`),url:G,headers:{},transformedBody:b}}let z=await x.json().catch(()=>({})),D=String(z?.id??z?.chat?.id??z?.chat_id??""),F=function({body:a,captchaVerifyParam:b,chatId:c,messages:d,modelId:e,prompt:f,userMessageId:g,enableThinking:h,reasoningEffort:i,reasoningEffortSupported:j,vlmConfig:k}){let l=Object.fromEntries(["temperature","top_p","max_tokens","stop"].filter(b=>void 0!==a[b]).map(b=>[b,a[b]])),m={image_generation:!1,web_search:!1,auto_web_search:!k.websiteModeEnabled&&k.webSearchEnabled,preview_mode:!0,flags:[],vlm_tools_enable:k.toolsEnabled,vlm_web_search_enable:k.websiteModeEnabled&&k.webSearchEnabled,vlm_website_mode:k.websiteModeEnabled,enable_thinking:h};return h&&j&&(m.reasoning_effort=i),{stream:!0,model:e,messages:(Array.isArray(d)?d:[]).map(a=>({role:a.role,content:u(a.content)})),signature_prompt:f,params:l,extra:{vlm_tools_enable:k.toolsEnabled,vlm_web_search_enable:k.websiteModeEnabled&&k.webSearchEnabled,vlm_website_mode:k.websiteModeEnabled},features:m,variables:{},chat_id:c,id:crypto.randomUUID(),current_user_message_id:g,current_user_message_parent_id:null,background_tasks:{title_generation:!0,tags_generation:!0},captcha_verify_param:b}}({body:N,captchaVerifyParam:V,chatId:D,messages:O,modelId:R,prompt:r,userMessageId:w.userMessageId,enableThinking:T.enabled,reasoningEffort:T.effort,reasoningEffortSupported:T.effortSupported,vlmConfig:U}),I=function({requestId:a,timestamp:b,token:c,userId:d}){let e=new Date(b),f=new URLSearchParams({timestamp:String(b),requestId:a,user_id:d,version:"0.0.1",platform:"web",token:c,user_agent:J,language:"en-US",languages:"en-US,en",timezone:"UTC",cookie_enabled:"true",screen_width:"1280",screen_height:"800",screen_resolution:"1280x800",viewport_height:"800",viewport_width:"1280",viewport_size:"1280x800",color_depth:"24",pixel_ratio:"1",current_url:`${E}/`,pathname:"/",search:"",hash:"",host:"chat.z.ai",hostname:"chat.z.ai",protocol:"https:",referrer:"",title:"Z.ai - Advanced AI Chatbot & Agent powered by GLM-5.2",timezone_offset:"0",local_time:e.toISOString(),utc_time:e.toUTCString(),is_mobile:"false",is_touch:"false",max_touch_points:"0",browser_name:"Chrome",os_name:"Mac OS",signature_timestamp:String(b)});return`${H}?${f.toString()}`}({requestId:p,timestamp:q,token:Q,userId:o}),K=y(Q,{accept:!1===c?"application/json":"text/event-stream",frontendVersion:n,signature:s});g?.info?.("ZAI-WEB",`POST ${I}`);let L=await (0,j.proxyAwareFetch)(I,{method:"POST",headers:K,body:JSON.stringify(F),signal:f},i);if(g?.info?.("ZAI-WEB",`Completion response status=${L.status}`),!L.ok){let a=L.status,b=401===a||403===a?'Z.ai token invalid or expired — copy a fresh "token" from chat.z.ai Local Storage.':429===a?"Z.ai rate limited — wait and retry.":`Z.ai request failed (HTTP ${a})`;return g?.warn?.("ZAI-WEB",b),{response:(0,k.yj)(a,b,`HTTP_${a}`),url:I,headers:K,transformedBody:F}}if(!1!==c)return{response:new Response(A(L.body,R,f),{status:200,headers:{...h.uB}}),url:I,headers:K,transformedBody:F};let{content:M,reasoning:P}=await B(L.body,f);return C({bodyObj:N,modelId:R,content:M,reasoning:P,url:I,headers:K,transformedBody:F})}catch(d){let a=d?.name==="AbortError",c=d instanceof Error?d.message:String(d);if(g?.error?.("ZAI-WEB",`Execute failed: ${c}`),a)return{response:(0,k.yj)(499,"Request cancelled"),url:H,headers:{},transformedBody:b};return{response:(0,k.yj)(502,`Z.ai error: ${c}`),url:H,headers:{},transformedBody:b}}}async executeViaBrowser({body:a,bodyObj:b,modelId:c,messages:d,stream:e,token:f,thinking:g,vlm:i,signal:j,log:l}){let n,o=v(d);if(!o)return{response:(0,k.yj)(400,"Z.ai requires at least one user message.","INVALID_REQUEST"),url:H,headers:{},transformedBody:a};let p=w(c);l?.info?.("ZAI-WEB",`browser transport (model=${c}, thinking=${g.enabled}, effort=${g.effort}, vlm=${JSON.stringify(i)})`);try{n=await (0,m.r8)({token:f,modelId:c,prompt:o,thinking:g,vlm:i,capabilities:p,signal:j,log:l})}catch(d){let b=d?.name==="AbortError",c=d instanceof Error?d.message:String(d);if(l?.error?.("ZAI-WEB",`Browser transport failed: ${c}`),b)return{response:(0,k.yj)(499,"Request cancelled"),url:H,headers:{},transformedBody:a};return{response:(0,k.yj)(502,`Z.ai browser transport error: ${c}`,"BROWSER_TRANSPORT_ERROR"),url:H,headers:{},transformedBody:a}}if(!n.ok)return l?.warn?.("ZAI-WEB",n.error),{response:(0,k.yj)(502,`Z.ai browser transport failed: ${n.error}`,"BROWSER_TRANSPORT_ERROR"),url:H,headers:{},transformedBody:a};if(n.status<200||n.status>=300){let b=n.status,c=401===b||403===b?'Z.ai session invalid — re-capture the "token" from chat.z.ai Local Storage.':`Z.ai browser request failed (HTTP ${b})`;return l?.warn?.("ZAI-WEB",c),{response:(0,k.yj)(b,c,`HTTP_${b}`),url:H,headers:{},transformedBody:a}}let q=new Response(n.body,{status:200,headers:{"Content-Type":n.contentType||"text/event-stream"}});if(!1!==e)return{response:new Response(A(q.body,c,j),{status:200,headers:{...h.uB}}),url:H,headers:{},transformedBody:a};let{content:r,reasoning:s}=await B(q.body,j);return C({bodyObj:b,modelId:c,content:r,reasoning:s,url:H,headers:{},transformedBody:a})}}d()}catch(a){d(a)}})},73483:(a,b,c)=>{c.d(b,{Gh:()=>j,IF:()=>p,O9:()=>f,OF:()=>o,WL:()=>g,_6:()=>i,_L:()=>l,bC:()=>m,f5:()=>k,lm:()=>e,oT:()=>n});var d=c(14170);let e={reset:"\x1b[0m",red:"\x1b[31m",green:"\x1b[32m",yellow:"\x1b[33m",blue:"\x1b[34m",cyan:"\x1b[36m"};function f(a){if(!a||"object"!=typeof a)return a;let b={...a};return void 0!==b.input_tokens&&(b.input_tokens+=2e3),void 0!==b.prompt_tokens&&(b.prompt_tokens+=2e3),void 0!==b.total_tokens?b.total_tokens+=2e3:void 0!==b.prompt_tokens&&void 0!==b.completion_tokens&&(b.total_tokens=b.prompt_tokens+b.completion_tokens),b}function g(a,b){if(!a||"object"!=typeof a)return a;let c={[d.h.CLAUDE]:["input_tokens","output_tokens","cache_read_input_tokens","cache_creation_input_tokens","estimated"],[d.h.GEMINI]:["promptTokenCount","candidatesTokenCount","totalTokenCount","cachedContentTokenCount","thoughtsTokenCount","estimated"],[d.h.OPENAI_RESPONSES]:["input_tokens","output_tokens","input_tokens_details","output_tokens_details","estimated"],default:["prompt_tokens","completion_tokens","total_tokens","cached_tokens","reasoning_tokens","prompt_tokens_details","completion_tokens_details","estimated"]},e=c[b];b===d.h.GEMINI_CLI||b===d.h.ANTIGRAVITY?e=c[d.h.GEMINI]:b===d.h.OPENAI_RESPONSE?e=c[d.h.OPENAI_RESPONSES]:e||(e=c.default);let f={};for(let b of e)void 0!==a[b]&&(f[b]=a[b]);return f}function h(a){if(!a||"object"!=typeof a||Array.isArray(a))return null;let b={},c=(a,c)=>{if(null==c)return;let d=Number(c);Number.isFinite(d)&&(b[a]=d)};return(c("prompt_tokens",a?.prompt_tokens),c("completion_tokens",a?.completion_tokens),c("total_tokens",a?.total_tokens),c("cache_read_input_tokens",a?.cache_read_input_tokens),c("cache_creation_input_tokens",a?.cache_creation_input_tokens),c("cached_tokens",a?.cached_tokens),c("reasoning_tokens",a?.reasoning_tokens),a?.prompt_tokens_details&&"object"==typeof a.prompt_tokens_details&&(b.prompt_tokens_details=a.prompt_tokens_details),a?.completion_tokens_details&&"object"==typeof a.completion_tokens_details&&(b.completion_tokens_details=a.completion_tokens_details),0===Object.keys(b).length)?null:b}function i(a){let b;if(!a||"object"!=typeof a||Array.isArray(a))return null;let c=a=>Number.isFinite(Number(a))?Number(a):0,d=c(a.completion_tokens??a.output_tokens),e=c(a.reasoning_tokens),f=c(a.cache_creation_input_tokens??a.prompt_tokens_details?.cache_creation_tokens),g=c(a.prompt_tokens??a.input_tokens);void 0===a.cached_tokens&&(void 0!==a.cache_read_input_tokens||void 0!==a.cache_creation_input_tokens)?g=g+(b=c(a.cache_read_input_tokens))+f:b=c(a.cached_tokens);let h={prompt_tokens:g,completion_tokens:d,total_tokens:g+d,cached_tokens:b,cache_creation_input_tokens:f};return e>0&&(h.reasoning_tokens=e),h}function j(a){if(!a||"object"!=typeof a)return!1;for(let b of["prompt_tokens","completion_tokens","total_tokens","input_tokens","output_tokens","promptTokenCount","candidatesTokenCount"])if("number"==typeof a[b]&&a[b]>0)return!0;return!1}function k(a){if(!a||"object"!=typeof a)return null;if("message_start"===a.type&&a.message?.usage&&"object"==typeof a.message.usage){let b=a.message.usage;return h({prompt_tokens:b.input_tokens||0,completion_tokens:b.output_tokens||0,cache_read_input_tokens:b.cache_read_input_tokens,cache_creation_input_tokens:b.cache_creation_input_tokens})}if("message_delta"===a.type&&a.usage&&"object"==typeof a.usage)return h({prompt_tokens:a.usage.input_tokens||0,completion_tokens:a.usage.output_tokens||0,cache_read_input_tokens:a.usage.cache_read_input_tokens,cache_creation_input_tokens:a.usage.cache_creation_input_tokens});if(("response.completed"===a.type||"response.done"===a.type)&&a.response?.usage&&"object"==typeof a.response.usage){let b=a.response.usage,c=b.input_tokens_details?.cached_tokens;return h({prompt_tokens:b.input_tokens||b.prompt_tokens||0,completion_tokens:b.output_tokens||b.completion_tokens||0,cached_tokens:c,reasoning_tokens:b.output_tokens_details?.reasoning_tokens,prompt_tokens_details:c?{cached_tokens:c}:void 0})}if(a.usage&&"object"==typeof a.usage&&void 0!==a.usage.prompt_tokens)return h({prompt_tokens:a.usage.prompt_tokens,completion_tokens:a.usage.completion_tokens||0,cached_tokens:a.usage.prompt_tokens_details?.cached_tokens||a.usage.prompt_cache_hit_tokens,reasoning_tokens:a.usage.completion_tokens_details?.reasoning_tokens,prompt_tokens_details:a.usage.prompt_tokens_details,completion_tokens_details:a.usage.completion_tokens_details});let b=a.usageMetadata||a.response?.usageMetadata;return b&&"object"==typeof b?h({prompt_tokens:b.promptTokenCount||0,completion_tokens:b.candidatesTokenCount||0,total_tokens:b.totalTokenCount,cached_tokens:b.cachedContentTokenCount,reasoning_tokens:b.thoughtsTokenCount}):!0===a.done&&"number"==typeof a.prompt_eval_count?h({prompt_tokens:a.prompt_eval_count||0,completion_tokens:a.eval_count||0,total_tokens:(a.prompt_eval_count||0)+(a.eval_count||0)}):null}function l(a,b){if(!a)return b||null;if(!b)return a;let c={...a};for(let[a,d]of Object.entries(b))"number"==typeof d&&Number.isFinite(d)?c[a]=Math.max("number"==typeof c[a]?c[a]:0,d):d&&"object"==typeof d&&(c[a]=d);return c}function m(a){if(!a||"object"!=typeof a)return 0;try{let b=JSON.stringify(a).length;return Math.ceil(b/4)}catch(a){return 0}}function n(a){return!a||a<=0?0:Math.max(1,Math.floor(a/4))}function o(a,b,c=d.h.OPENAI){var e,g;return e=m(a),g=n(b),c===d.h.CLAUDE?f({input_tokens:e,output_tokens:g,estimated:!0}):f({prompt_tokens:e,completion_tokens:g,total_tokens:e+g,estimated:!0})}function p(a,b,c=null,d=null,f=null){if(!b||"object"!=typeof b)return;let g=a?.toUpperCase()||"UNKNOWN",h=b?.prompt_tokens||b?.input_tokens||0,i=b?.completion_tokens||b?.output_tokens||0,j=d?d.slice(0,8)+"...":"unknown",k=`[${new Date().toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"})}] 📊 ${e.green}[USAGE] ${g} | in=${h} | out=${i} | account=${j}${e.reset}`;b.estimated&&(k+=` ${e.yellow}(estimated)${e.reset}`);let l=b.cache_read_input_tokens||b.cached_tokens||b.prompt_tokens_details?.cached_tokens;l&&(k+=` | cache_read=${l}`);let m=b.cache_creation_input_tokens;m&&(k+=` | cache_create=${m}`);let n=b.reasoning_tokens;n&&(k+=` | reasoning=${n}`),console.log(k)}},74957:(a,b,c)=>{c.d(b,{H:()=>i});var d=c(41004),e=c(93943),f=c(39609),g=c(92306),h=c(74129);class i{constructor(a,b){this.provider=a,this.config=b,this.noAuth=b?.noAuth||!1}getProvider(){return this.provider}getBaseUrls(){return this.config.baseUrls||(this.config.baseUrl?[this.config.baseUrl]:[])}getFallbackCount(){return this.getBaseUrls().length||1}buildUrl(a,b,c=0,d=null){if(this.provider?.startsWith?.("openai-compatible-")){let a=(d?.providerSpecificData?.baseUrl||h.Es).replace(/\/$/,""),b=this.provider.includes("responses")?"/responses":"/chat/completions";return`${a}${b}`}if(this.provider?.startsWith?.("anthropic-compatible-")){let a=(d?.providerSpecificData?.baseUrl||h.ky).replace(/\/$/,"");return`${a}/messages`}let e=this.getBaseUrls();return e[c]||e[0]||this.config.baseUrl}buildHeaders(a,b=!0){let c={"Content-Type":"application/json",...this.config.headers};return this.provider?.startsWith?.("anthropic-compatible-")?(a.apiKey?c["x-api-key"]=a.apiKey:a.accessToken&&(c.Authorization=`Bearer ${a.accessToken}`),c["anthropic-version"]||(c["anthropic-version"]=h.b8)):a.accessToken?c.Authorization=`Bearer ${a.accessToken}`:a.apiKey&&(c.Authorization=`Bearer ${a.apiKey}`),b&&(c.Accept="text/event-stream"),c}transformRequest(a,b,c,d){return b}shouldRetry(a,b){return a===d.gx.RATE_LIMITED&&b+1<this.getFallbackCount()}async refreshCredentials(a,b,c=null){return null}needsRefresh(a){return(0,e.fp)(this.provider,a)}parseError(a,b){return{status:a.status,message:b||`HTTP ${a.status}`}}async execute({model:a,body:b,stream:c,credentials:e,signal:h,log:i,proxyOptions:j=null}){let k=this.getFallbackCount(),l=null,m=0,n=0,o={},p={...d.cI,...this.config.retry},q=async(a,b,c,e=null)=>{let{attempts:f,delayMs:g}=(0,d.DR)(p[b]);if(f<=0||o[a]>=f)return!1;let h=g;if(e&&this.computeRetryDelay){let b=await this.computeRetryDelay(e,o[a]+1,g);if(!1===b)return!1;null!=b&&(h=b)}let j=o[a]+1;return e&&this.computeRetryDelay||(h=Math.min(g*Math.pow(2,j-1)+.25*g*Math.random(),3e4)),o[a]++,n++,i?.debug?.("RETRY",`${c} retry ${o[a]}/${f} after ${(h/1e3).toFixed(1)}s (exp backoff attempt ${j})`),await new Promise(a=>setTimeout(a,h)),!0};for(let p=0;p<k;p++){let r=this.buildUrl(a,c,p,e),s=this.transformRequest(a,b,c,e),t=this.buildHeaders(e,c,a);o[p]||(o[p]=0);let u=new AbortController,v=this.config?.timeoutMs||d.pH,w=setTimeout(()=>u.abort(Error("fetch connect timeout")),v),x=h?AbortSignal.any([h,u.signal]):u.signal;try{let a=JSON.stringify(s),b=Date.now();(0,g.s)("FETCH",`${this.provider.toUpperCase()} → ${r} | body=${a.length}B | connectTimeout=${v}ms`);let c=await (0,f.proxyAwareFetch)(r,{method:"POST",headers:t,body:a,signal:x},j);clearTimeout(w);let d=c.headers?.get?.("content-type")||"",e=c.headers?.get?.("content-length")||"?";if((0,g.s)("FETCH",`${this.provider.toUpperCase()} ← ${c.status} | ttft=${Date.now()-b}ms | ct=${d} | cl=${e}`),await q(p,c.status,`status ${c.status}`,c)){p--;continue}if(this.shouldRetry(c.status,p)){i?.debug?.("RETRY",`${c.status} on ${r}, trying fallback ${p+1}`),m=c.status;continue}return{response:c,url:r,headers:t,transformedBody:s,retryCount:n}}catch(b){clearTimeout(w),l=b;let a=u.signal.aborted&&"AbortError"===b.name;if((0,g.s)("FETCH",`${this.provider.toUpperCase()} ✖ ${b.name}: ${b.message}${a?" (connect timeout)":""}`),"AbortError"===b.name&&!a)throw b;if(await q(p,d.gx.BAD_GATEWAY,`network "${b.message}"`)){p--;continue}if(p+1<k){i?.debug?.("RETRY",`Error on ${r}, trying fallback ${p+1}`);continue}throw b}}throw l||Error(`All ${k} URLs failed with status ${m}`)}}},78959:(a,b,c)=>{c.d(b,{$U:()=>e,RK:()=>h,pb:()=>f,uB:()=>g});var d=c(74129);let e="data: [DONE]\n\n",f={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"},g={"Content-Type":"text/event-stream","Cache-Control":"no-cache","X-Accel-Buffering":"no"},h={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive","Access-Control-Allow-Origin":"*","anthropic-version":d.b8}},92306:(a,b,c)=>{function d(a,b){}c.d(b,{T:()=>e,s:()=>d});let e=!1},92536:(a,b,c)=>{function d(a){return`data: ${JSON.stringify(a)}
2
+ [Z.ai stream error: ${a?.message||String(a)}]`},"stop")),b.enqueue(d.encode(h.$U))}catch{}}finally{try{b.close()}catch{}try{f.releaseLock()}catch{}}}})}async function B(a,b){let c=new TextDecoder,d=a.getReader(),e="",f="",g="";try{for(;!b?.aborted;){let{done:a,value:b}=await d.read();if(a)break;let h=(e+=c.decode(b,{stream:!0})).split("\n");for(let a of(e=h.pop()||"",h)){let b;if(!a.startsWith("data:"))continue;let c=a.slice(5).trim();if(!c||"[DONE]"===c)continue;try{b=JSON.parse(c)}catch{continue}let d=z(b);if(d){if(d.error)throw Error(d.error);if(d.reasoning&&(g+=d.reasoning),d.content&&(f+=d.content),d.done)break}}}}finally{try{d.releaseLock()}catch{}}return{content:f,reasoning:g}}function C({bodyObj:a,modelId:b,content:c,reasoning:d,url:e,headers:f,transformedBody:g}){let h=c.length+d.length,i=(0,l.bC)(a),j=(0,l.oT)(h),k={role:"assistant",content:c||"[Z.ai returned no content]"};d&&(k.reasoning_content=d);let m={id:`chatcmpl-${Date.now()}`,object:"chat.completion",created:Math.floor(Date.now()/1e3),model:b,choices:[{index:0,message:k,finish_reason:"stop",logprobs:null}],usage:{prompt_tokens:i,completion_tokens:j,total_tokens:i+j,estimated:!0}};return{response:new Response(JSON.stringify(m),{status:200,headers:{"Content-Type":"application/json"}}),url:e,headers:f,transformedBody:g}}class N extends f.H{constructor(){super("zai-web",D)}async execute({model:a,body:b,stream:c,credentials:d,signal:f,log:g,proxyOptions:i}){var l,m;let n,p,q,z,D,F,K,L,M,N=b||{},O=Array.isArray(N.messages)?N.messages:[];if(0===O.length)return{response:(0,k.yj)(400,"Missing or empty messages array.","INVALID_REQUEST"),url:H,headers:{},transformedBody:b};let P=d?.apiKey||d?.accessToken||"",Q=r(P);if(!Q)return{response:(0,k.yj)(400,'Invalid Z.ai web-session credential — copy the "token" value from chat.z.ai Local Storage.',"NO_CREDENTIAL"),url:H,headers:{},transformedBody:b};let R="string"==typeof a&&a.trim()?a.trim():I,S=w(R);if(O.some(a=>Array.isArray(a.content)&&a.content.some(a=>a?.type==="image_url"))&&!S.vision)return{response:(0,k.yj)(400,"Image input is only supported on GLM-5V-Turbo for Z.ai web.","UNSUPPORTED_IMAGE"),url:H,headers:{},transformedBody:b};let T=(p=(n=w(R)).thinking,q=o(N.reasoning),z="string"==typeof N.reasoning_effort?N.reasoning_effort.trim().toLowerCase():"string"==typeof q?.effort?q.effort.trim().toLowerCase():"",D=!1===N.enable_thinking||"none"===z||"off"===z,{supported:p,enabled:p&&!D,effort:"low"===z||"medium"===z||"high"===z?"high":"max",effortSupported:n.reasoningEffort}),U=(F=w(R),K=x(N,"vlm_tools_enable"),L=x(N,"vlm_web_search_enable")??x(N,"auto_web_search")??x(N,"web_search"),M=!0===L||!1!==L&&F.vlmWebSearch,{toolsEnabled:F.vlmTools&&!1!==K,webSearchEnabled:F.webSearch&&M,websiteModeEnabled:F.vlmWebsiteMode}),V=s(P)||s(d?.providerSpecificData)||"";if(!V)return"off"===process.env.ER_ZAI_BROWSER?{response:(0,k.yj)(400,'Z.ai chat needs a CAPTCHA proof or the browser transport — supply "captcha_verify_param" in the credential JSON, or unset ER_ZAI_BROWSER.',"CAPTCHA_REQUIRED"),url:H,headers:{},transformedBody:b}:this.executeViaBrowser({body:b,bodyObj:N,modelId:R,messages:O,stream:c,token:Q,thinking:T,vlm:U,signal:f,log:g});try{let a,d,n=await t(i,f),o=function(a){let b=String(a||"").split(".")[1];if(!b)return"";try{let a=JSON.parse(Buffer.from(b,"base64url").toString("utf8"));return"string"==typeof a?.id?a.id:""}catch{return""}}(Q),p=crypto.randomUUID(),q=Date.now(),r=v(O),s=function({prompt:a,requestId:b,timestamp:c,userId:d}){let f=String(c),g=Object.entries({timestamp:f,requestId:b,user_id:d}).sort(([a],[b])=>a.localeCompare(b)).join(","),h=Buffer.from(String(a),"utf8").toString("base64"),i=Math.floor(Number(f)/3e5),j=(0,e.createHmac)("sha256","key-@@@@)))()((9))-xxxx&&&%%%%%").update(String(i)).digest("hex");return(0,e.createHmac)("sha256",j).update(`${g}|${h}|${f}`).digest("hex")}({prompt:r,requestId:p,timestamp:q,userId:o});g?.info?.("ZAI-WEB",`model=${R}, thinking=${T.enabled}, effort=${T.effort}, vlm=${JSON.stringify(U)}`);let w=(l=T.enabled,m=T.effort,a=v(O),{userMessageId:d=crypto.randomUUID(),payload:{chat:{id:"",title:"New Chat",models:[R],params:{},history:{messages:{[d]:{id:d,parentId:null,childrenIds:[],role:"user",content:a,timestamp:Math.floor(Date.now()/1e3),models:[R]}},currentId:d},tags:[],flags:[],features:[{server:"tool_selector_h",status:"hidden",type:"tool_selector"}],mcp_servers:[],enable_thinking:l,reasoning_effort:m,auto_web_search:U.webSearchEnabled,message_version:1,extra:{vlm_tools_enable:U.toolsEnabled,vlm_web_search_enable:U.websiteModeEnabled&&U.webSearchEnabled,vlm_website_mode:U.websiteModeEnabled},timestamp:Date.now(),type:"default"}}}),x=await (0,j.proxyAwareFetch)(G,{method:"POST",headers:y(Q,{accept:"application/json, text/plain, */*",frontendVersion:n}),body:JSON.stringify(w.payload),signal:f},i);if(!x.ok){let a=x.status,c=401===a||403===a?'Z.ai token invalid or expired — copy a fresh "token" from chat.z.ai Local Storage.':`Z.ai new-chat failed (HTTP ${a})`;return g?.warn?.("ZAI-WEB",c),{response:(0,k.yj)(a,c,`HTTP_${a}`),url:G,headers:{},transformedBody:b}}let z=await x.json().catch(()=>({})),D=String(z?.id??z?.chat?.id??z?.chat_id??""),F=function({body:a,captchaVerifyParam:b,chatId:c,messages:d,modelId:e,prompt:f,userMessageId:g,enableThinking:h,reasoningEffort:i,reasoningEffortSupported:j,vlmConfig:k}){let l=Object.fromEntries(["temperature","top_p","max_tokens","stop"].filter(b=>void 0!==a[b]).map(b=>[b,a[b]])),m={image_generation:!1,web_search:!1,auto_web_search:!k.websiteModeEnabled&&k.webSearchEnabled,preview_mode:!0,flags:[],vlm_tools_enable:k.toolsEnabled,vlm_web_search_enable:k.websiteModeEnabled&&k.webSearchEnabled,vlm_website_mode:k.websiteModeEnabled,enable_thinking:h};return h&&j&&(m.reasoning_effort=i),{stream:!0,model:e,messages:(Array.isArray(d)?d:[]).map(a=>({role:a.role,content:u(a.content)})),signature_prompt:f,params:l,extra:{vlm_tools_enable:k.toolsEnabled,vlm_web_search_enable:k.websiteModeEnabled&&k.webSearchEnabled,vlm_website_mode:k.websiteModeEnabled},features:m,variables:{},chat_id:c,id:crypto.randomUUID(),current_user_message_id:g,current_user_message_parent_id:null,background_tasks:{title_generation:!0,tags_generation:!0},captcha_verify_param:b}}({body:N,captchaVerifyParam:V,chatId:D,messages:O,modelId:R,prompt:r,userMessageId:w.userMessageId,enableThinking:T.enabled,reasoningEffort:T.effort,reasoningEffortSupported:T.effortSupported,vlmConfig:U}),I=function({requestId:a,timestamp:b,token:c,userId:d}){let e=new Date(b),f=new URLSearchParams({timestamp:String(b),requestId:a,user_id:d,version:"0.0.1",platform:"web",token:c,user_agent:J,language:"en-US",languages:"en-US,en",timezone:"UTC",cookie_enabled:"true",screen_width:"1280",screen_height:"800",screen_resolution:"1280x800",viewport_height:"800",viewport_width:"1280",viewport_size:"1280x800",color_depth:"24",pixel_ratio:"1",current_url:`${E}/`,pathname:"/",search:"",hash:"",host:"chat.z.ai",hostname:"chat.z.ai",protocol:"https:",referrer:"",title:"Z.ai - Advanced AI Chatbot & Agent powered by GLM-5.2",timezone_offset:"0",local_time:e.toISOString(),utc_time:e.toUTCString(),is_mobile:"false",is_touch:"false",max_touch_points:"0",browser_name:"Chrome",os_name:"Mac OS",signature_timestamp:String(b)});return`${H}?${f.toString()}`}({requestId:p,timestamp:q,token:Q,userId:o}),K=y(Q,{accept:!1===c?"application/json":"text/event-stream",frontendVersion:n,signature:s});g?.info?.("ZAI-WEB",`POST ${I}`);let L=await (0,j.proxyAwareFetch)(I,{method:"POST",headers:K,body:JSON.stringify(F),signal:f},i);if(g?.info?.("ZAI-WEB",`Completion response status=${L.status}`),!L.ok){let a=L.status,b=401===a||403===a?'Z.ai token invalid or expired — copy a fresh "token" from chat.z.ai Local Storage.':429===a?"Z.ai rate limited — wait and retry.":`Z.ai request failed (HTTP ${a})`;return g?.warn?.("ZAI-WEB",b),{response:(0,k.yj)(a,b,`HTTP_${a}`),url:I,headers:K,transformedBody:F}}if(!1!==c)return{response:new Response(A(L.body,R,f),{status:200,headers:{...h.uB}}),url:I,headers:K,transformedBody:F};let{content:M,reasoning:P}=await B(L.body,f);return C({bodyObj:N,modelId:R,content:M,reasoning:P,url:I,headers:K,transformedBody:F})}catch(d){let a=d?.name==="AbortError",c=d instanceof Error?d.message:String(d);if(g?.error?.("ZAI-WEB",`Execute failed: ${c}`),a)return{response:(0,k.yj)(499,"Request cancelled"),url:H,headers:{},transformedBody:b};return{response:(0,k.yj)(502,`Z.ai error: ${c}`),url:H,headers:{},transformedBody:b}}}async executeViaBrowser({body:a,bodyObj:b,modelId:c,messages:d,stream:e,token:f,thinking:g,vlm:i,signal:j,log:l}){let n,o=v(d);if(!o)return{response:(0,k.yj)(400,"Z.ai requires at least one user message.","INVALID_REQUEST"),url:H,headers:{},transformedBody:a};let p=w(c);l?.info?.("ZAI-WEB",`browser transport (model=${c}, thinking=${g.enabled}, effort=${g.effort}, vlm=${JSON.stringify(i)})`);try{n=await (0,m.r8)({token:f,modelId:c,prompt:o,thinking:g,vlm:i,capabilities:p,signal:j,log:l})}catch(d){let b=d?.name==="AbortError",c=d instanceof Error?d.message:String(d);if(l?.error?.("ZAI-WEB",`Browser transport failed: ${c}`),b)return{response:(0,k.yj)(499,"Request cancelled"),url:H,headers:{},transformedBody:a};return{response:(0,k.yj)(502,`Z.ai browser transport error: ${c}`,"BROWSER_TRANSPORT_ERROR"),url:H,headers:{},transformedBody:a}}if(!n.ok)return l?.warn?.("ZAI-WEB",n.error),{response:(0,k.yj)(502,`Z.ai browser transport failed: ${n.error}`,"BROWSER_TRANSPORT_ERROR"),url:H,headers:{},transformedBody:a};if(n.status<200||n.status>=300){let b=n.status,c=401===b||403===b?'Z.ai session invalid — re-capture the "token" from chat.z.ai Local Storage.':`Z.ai browser request failed (HTTP ${b})`;return l?.warn?.("ZAI-WEB",c),{response:(0,k.yj)(b,c,`HTTP_${b}`),url:H,headers:{},transformedBody:a}}let q=new Response(n.body,{status:200,headers:{"Content-Type":n.contentType||"text/event-stream"}});if(!1!==e)return{response:new Response(A(q.body,c,j),{status:200,headers:{...h.uB}}),url:H,headers:{},transformedBody:a};let{content:r,reasoning:s}=await B(q.body,j);return C({bodyObj:b,modelId:c,content:r,reasoning:s,url:H,headers:{},transformedBody:a})}}d()}catch(a){d(a)}})},73483:(a,b,c)=>{c.d(b,{Gh:()=>j,IF:()=>p,O9:()=>f,OF:()=>o,WL:()=>g,_6:()=>i,_L:()=>l,bC:()=>m,f5:()=>k,lm:()=>e,oT:()=>n});var d=c(14170);let e={reset:"\x1b[0m",red:"\x1b[31m",green:"\x1b[32m",yellow:"\x1b[33m",blue:"\x1b[34m",cyan:"\x1b[36m"};function f(a){if(!a||"object"!=typeof a)return a;let b={...a};return void 0!==b.input_tokens&&(b.input_tokens+=2e3),void 0!==b.prompt_tokens&&(b.prompt_tokens+=2e3),void 0!==b.total_tokens?b.total_tokens+=2e3:void 0!==b.prompt_tokens&&void 0!==b.completion_tokens&&(b.total_tokens=b.prompt_tokens+b.completion_tokens),b}function g(a,b){if(!a||"object"!=typeof a)return a;let c={[d.h.CLAUDE]:["input_tokens","output_tokens","cache_read_input_tokens","cache_creation_input_tokens","estimated"],[d.h.GEMINI]:["promptTokenCount","candidatesTokenCount","totalTokenCount","cachedContentTokenCount","thoughtsTokenCount","estimated"],[d.h.OPENAI_RESPONSES]:["input_tokens","output_tokens","input_tokens_details","output_tokens_details","estimated"],default:["prompt_tokens","completion_tokens","total_tokens","cached_tokens","reasoning_tokens","prompt_tokens_details","completion_tokens_details","estimated"]},e=c[b];b===d.h.GEMINI_CLI||b===d.h.ANTIGRAVITY?e=c[d.h.GEMINI]:b===d.h.OPENAI_RESPONSE?e=c[d.h.OPENAI_RESPONSES]:e||(e=c.default);let f={};for(let b of e)void 0!==a[b]&&(f[b]=a[b]);return f}function h(a){if(!a||"object"!=typeof a||Array.isArray(a))return null;let b={},c=(a,c)=>{if(null==c)return;let d=Number(c);Number.isFinite(d)&&(b[a]=d)};return(c("prompt_tokens",a?.prompt_tokens),c("completion_tokens",a?.completion_tokens),c("total_tokens",a?.total_tokens),c("cache_read_input_tokens",a?.cache_read_input_tokens),c("cache_creation_input_tokens",a?.cache_creation_input_tokens),c("cached_tokens",a?.cached_tokens),c("reasoning_tokens",a?.reasoning_tokens),a?.prompt_tokens_details&&"object"==typeof a.prompt_tokens_details&&(b.prompt_tokens_details=a.prompt_tokens_details),a?.completion_tokens_details&&"object"==typeof a.completion_tokens_details&&(b.completion_tokens_details=a.completion_tokens_details),0===Object.keys(b).length)?null:b}function i(a){let b;if(!a||"object"!=typeof a||Array.isArray(a))return null;let c=a=>Number.isFinite(Number(a))?Number(a):0,d=c(a.completion_tokens??a.output_tokens),e=c(a.reasoning_tokens),f=c(a.cache_creation_input_tokens??a.prompt_tokens_details?.cache_creation_tokens),g=c(a.prompt_tokens??a.input_tokens);void 0===a.cached_tokens&&(void 0!==a.cache_read_input_tokens||void 0!==a.cache_creation_input_tokens)?g=g+(b=c(a.cache_read_input_tokens))+f:b=c(a.cached_tokens);let h={prompt_tokens:g,completion_tokens:d,total_tokens:g+d,cached_tokens:b,cache_creation_input_tokens:f};return e>0&&(h.reasoning_tokens=e),h}function j(a){if(!a||"object"!=typeof a)return!1;for(let b of["prompt_tokens","completion_tokens","total_tokens","input_tokens","output_tokens","promptTokenCount","candidatesTokenCount"])if("number"==typeof a[b]&&a[b]>0)return!0;return!1}function k(a){if(!a||"object"!=typeof a)return null;if("message_start"===a.type&&a.message?.usage&&"object"==typeof a.message.usage){let b=a.message.usage;return h({prompt_tokens:b.input_tokens||0,completion_tokens:b.output_tokens||0,cache_read_input_tokens:b.cache_read_input_tokens,cache_creation_input_tokens:b.cache_creation_input_tokens})}if("message_delta"===a.type&&a.usage&&"object"==typeof a.usage)return h({prompt_tokens:a.usage.input_tokens||0,completion_tokens:a.usage.output_tokens||0,cache_read_input_tokens:a.usage.cache_read_input_tokens,cache_creation_input_tokens:a.usage.cache_creation_input_tokens});if(("response.completed"===a.type||"response.done"===a.type)&&a.response?.usage&&"object"==typeof a.response.usage){let b=a.response.usage,c=b.input_tokens_details?.cached_tokens;return h({prompt_tokens:b.input_tokens||b.prompt_tokens||0,completion_tokens:b.output_tokens||b.completion_tokens||0,cached_tokens:c,reasoning_tokens:b.output_tokens_details?.reasoning_tokens,prompt_tokens_details:c?{cached_tokens:c}:void 0})}if(a.usage&&"object"==typeof a.usage&&void 0!==a.usage.prompt_tokens)return h({prompt_tokens:a.usage.prompt_tokens,completion_tokens:a.usage.completion_tokens||0,cached_tokens:a.usage.prompt_tokens_details?.cached_tokens||a.usage.prompt_cache_hit_tokens,reasoning_tokens:a.usage.completion_tokens_details?.reasoning_tokens,prompt_tokens_details:a.usage.prompt_tokens_details,completion_tokens_details:a.usage.completion_tokens_details});let b=a.usageMetadata||a.response?.usageMetadata;return b&&"object"==typeof b?h({prompt_tokens:b.promptTokenCount||0,completion_tokens:b.candidatesTokenCount||0,total_tokens:b.totalTokenCount,cached_tokens:b.cachedContentTokenCount,reasoning_tokens:b.thoughtsTokenCount}):!0===a.done&&"number"==typeof a.prompt_eval_count?h({prompt_tokens:a.prompt_eval_count||0,completion_tokens:a.eval_count||0,total_tokens:(a.prompt_eval_count||0)+(a.eval_count||0)}):null}function l(a,b){if(!a)return b||null;if(!b)return a;let c={...a};for(let[a,d]of Object.entries(b))"number"==typeof d&&Number.isFinite(d)?c[a]=Math.max("number"==typeof c[a]?c[a]:0,d):d&&"object"==typeof d&&(c[a]=d);return c}function m(a){if(!a||"object"!=typeof a)return 0;try{let b=JSON.stringify(a).length;return Math.ceil(b/4)}catch(a){return 0}}function n(a){return!a||a<=0?0:Math.max(1,Math.floor(a/4))}function o(a,b,c=d.h.OPENAI){var e,g;return e=m(a),g=n(b),c===d.h.CLAUDE?f({input_tokens:e,output_tokens:g,estimated:!0}):f({prompt_tokens:e,completion_tokens:g,total_tokens:e+g,estimated:!0})}function p(a,b,c=null,d=null,f=null){if(!b||"object"!=typeof b)return;let g=a?.toUpperCase()||"UNKNOWN",h=b?.prompt_tokens||b?.input_tokens||0,i=b?.completion_tokens||b?.output_tokens||0,j=d?d.slice(0,8)+"...":"unknown",k=`[${new Date().toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"})}] 📊 ${e.green}[USAGE] ${g} | in=${h} | out=${i} | account=${j}${e.reset}`;b.estimated&&(k+=` ${e.yellow}(estimated)${e.reset}`);let l=b.cache_read_input_tokens||b.cached_tokens||b.prompt_tokens_details?.cached_tokens;l&&(k+=` | cache_read=${l}`);let m=b.cache_creation_input_tokens;m&&(k+=` | cache_create=${m}`);let n=b.reasoning_tokens;n&&(k+=` | reasoning=${n}`),console.log(k)}},78959:(a,b,c)=>{c.d(b,{$U:()=>e,RK:()=>h,pb:()=>f,uB:()=>g});var d=c(74129);let e="data: [DONE]\n\n",f={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"},g={"Content-Type":"text/event-stream","Cache-Control":"no-cache","X-Accel-Buffering":"no"},h={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive","Access-Control-Allow-Origin":"*","anthropic-version":d.b8}},92536:(a,b,c)=>{function d(a){return`data: ${JSON.stringify(a)}
3
3
 
4
4
  `}function e({id:a,created:b,model:c,delta:f,finishReason:g=null}){return d({id:a,object:"chat.completion.chunk",created:b,model:c,choices:[{index:0,delta:f,finish_reason:g}]})}c.d(b,{N9:()=>d,zB:()=>e})}};