zevairouter 1.1.32 → 1.1.33

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 (1194) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/cli/app/.next-cli-build/BUILD_ID +1 -1
  3. package/cli/app/.next-cli-build/app-path-routes-manifest.json +17 -16
  4. package/cli/app/.next-cli-build/build-manifest.json +2 -2
  5. package/cli/app/.next-cli-build/prerender-manifest.json +3 -3
  6. package/cli/app/.next-cli-build/routes-manifest.json +6 -0
  7. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js +1 -1
  8. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js.nft.json +1 -1
  9. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page_client-reference-manifest.js +1 -1
  10. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  11. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  12. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  13. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  14. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  15. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  16. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  17. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  18. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  19. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  20. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  21. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  22. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  23. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  24. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  25. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js +1 -1
  26. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js.nft.json +1 -1
  27. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page_client-reference-manifest.js +1 -1
  28. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  29. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  30. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  31. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  32. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  33. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  34. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  35. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  36. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  37. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  38. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  39. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  40. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  41. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  42. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  43. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  44. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  45. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  46. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  47. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  48. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  49. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js +1 -1
  50. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
  51. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
  52. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  53. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  54. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  55. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  56. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  57. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  58. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  59. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  60. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  61. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  62. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  63. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  64. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  65. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  66. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  67. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  68. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  69. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  70. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  71. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  72. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  73. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page.js +1 -1
  74. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page.js.nft.json +1 -1
  75. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  76. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  77. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  78. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  79. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js +1 -1
  80. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js.nft.json +1 -1
  81. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page_client-reference-manifest.js +1 -1
  82. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  83. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  84. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  85. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  86. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  87. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  88. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  89. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  90. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  91. package/cli/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  92. package/cli/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  93. package/cli/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  94. package/cli/app/.next-cli-build/server/app/_global-error.html +1 -1
  95. package/cli/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  96. package/cli/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  97. package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  98. package/cli/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  99. package/cli/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  100. package/cli/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  101. package/cli/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  102. package/cli/app/.next-cli-build/server/app/_not-found.html +1 -1
  103. package/cli/app/.next-cli-build/server/app/_not-found.rsc +3 -3
  104. package/cli/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  105. package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
  106. package/cli/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  107. package/cli/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  108. package/cli/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  109. package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  110. package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  111. package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  112. package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  113. package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  114. package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  115. package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  116. package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  117. package/cli/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  118. package/cli/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  119. package/cli/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  120. package/cli/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  121. package/cli/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  122. package/cli/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  123. package/cli/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  124. package/cli/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  125. package/cli/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  126. package/cli/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  127. package/cli/app/.next-cli-build/server/app/api/cache/stats/route.js +1 -1
  128. package/cli/app/.next-cli-build/server/app/api/cache/stats/route.js.nft.json +1 -1
  129. package/cli/app/.next-cli-build/server/app/api/changelog/route.js +1 -1
  130. package/cli/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
  131. package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  132. package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  133. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  134. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  135. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  136. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  137. package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  138. package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  139. package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  140. package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  141. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js +1 -1
  142. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js.nft.json +1 -1
  143. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +2 -2
  144. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  145. package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  146. package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  147. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  148. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  149. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  150. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  151. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  152. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  153. package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  154. package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  155. package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  156. package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  157. package/cli/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +3 -3
  158. package/cli/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  159. package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  160. package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  161. package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +3 -3
  162. package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  163. package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  164. package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  165. package/cli/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +1 -1
  166. package/cli/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  167. package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  168. package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  169. package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  170. package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  171. package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  172. package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  173. package/cli/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  174. package/cli/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  175. package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js +1 -1
  176. package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js.nft.json +1 -1
  177. package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js +1 -1
  178. package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js.nft.json +1 -1
  179. package/cli/app/.next-cli-build/server/app/api/context/route.js +1 -1
  180. package/cli/app/.next-cli-build/server/app/api/context/route.js.nft.json +1 -1
  181. package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js +1 -1
  182. package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js.nft.json +1 -1
  183. package/cli/app/.next-cli-build/server/app/api/dashboard/cli-tools/keys/route.js +1 -1
  184. package/cli/app/.next-cli-build/server/app/api/dashboard/cli-tools/keys/route.js.nft.json +1 -1
  185. package/cli/app/.next-cli-build/server/app/api/dashboard/media/[operation]/route.js +1 -1
  186. package/cli/app/.next-cli-build/server/app/api/dashboard/media/[operation]/route.js.nft.json +1 -1
  187. package/cli/app/.next-cli-build/server/app/api/dashboard/media/videos/[id]/route.js +1 -1
  188. package/cli/app/.next-cli-build/server/app/api/dashboard/media/videos/[id]/route.js.nft.json +1 -1
  189. package/cli/app/.next-cli-build/server/app/api/headroom/enable/route.js +1 -1
  190. package/cli/app/.next-cli-build/server/app/api/headroom/enable/route.js.nft.json +1 -1
  191. package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  192. package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  193. package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  194. package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  195. package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  196. package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  197. package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  198. package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  199. package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  200. package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  201. package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  202. package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  203. package/cli/app/.next-cli-build/server/app/api/health/ready/route.js +1 -1
  204. package/cli/app/.next-cli-build/server/app/api/health/ready/route.js.nft.json +1 -1
  205. package/cli/app/.next-cli-build/server/app/api/health/route.js +1 -1
  206. package/cli/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  207. package/cli/app/.next-cli-build/server/app/api/init/route.js +1 -1
  208. package/cli/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  209. package/cli/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js +1 -1
  210. package/cli/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
  211. package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  212. package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  213. package/cli/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  214. package/cli/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  215. package/cli/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  216. package/cli/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  217. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  218. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  219. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  220. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  221. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  222. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  223. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  224. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  225. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  226. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  227. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  228. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  229. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  230. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  231. package/cli/app/.next-cli-build/server/app/api/metrics/route.js +2 -2
  232. package/cli/app/.next-cli-build/server/app/api/metrics/route.js.nft.json +1 -1
  233. package/cli/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  234. package/cli/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  235. package/cli/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  236. package/cli/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  237. package/cli/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  238. package/cli/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  239. package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  240. package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  241. package/cli/app/.next-cli-build/server/app/api/models/route.js +1 -1
  242. package/cli/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  243. package/cli/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  244. package/cli/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  245. package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  246. package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  247. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js +1 -1
  248. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  249. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  250. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  251. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js +1 -1
  252. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js.nft.json +1 -1
  253. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js +1 -1
  254. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js.nft.json +1 -1
  255. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js +1 -1
  256. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js.nft.json +1 -1
  257. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route.js +1 -1
  258. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  259. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  260. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  261. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route.js +1 -1
  262. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route.js.nft.json +1 -1
  263. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/latest/route.js +1 -1
  264. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/latest/route.js.nft.json +1 -1
  265. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/route.js +1 -1
  266. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/route.js.nft.json +1 -1
  267. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js +1 -1
  268. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  269. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  270. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  271. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js +1 -1
  272. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js.nft.json +1 -1
  273. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js +1 -1
  274. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js.nft.json +1 -1
  275. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js +1 -1
  276. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js.nft.json +1 -1
  277. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js +1 -1
  278. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js.nft.json +1 -1
  279. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js +1 -1
  280. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js.nft.json +1 -1
  281. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js +1 -1
  282. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  283. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  284. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  285. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js +1 -1
  286. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js.nft.json +1 -1
  287. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js +1 -1
  288. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js.nft.json +1 -1
  289. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
  290. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
  291. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js +1 -1
  292. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js.nft.json +1 -1
  293. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js +1 -1
  294. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js.nft.json +1 -1
  295. package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  296. package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  297. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  298. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  299. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  300. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  301. package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  302. package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  303. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js +1 -1
  304. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  305. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  306. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  307. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js +1 -1
  308. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js.nft.json +1 -1
  309. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js +1 -1
  310. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js.nft.json +1 -1
  311. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  312. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  313. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-token/route.js +1 -1
  314. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-token/route.js.nft.json +1 -1
  315. package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  316. package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  317. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  318. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  319. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  320. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  321. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js +1 -1
  322. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  323. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  324. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  325. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js +1 -1
  326. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js.nft.json +1 -1
  327. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js +1 -1
  328. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js.nft.json +1 -1
  329. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js +1 -1
  330. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js.nft.json +1 -1
  331. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  332. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  333. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  334. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  335. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  336. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  337. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  338. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  339. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js +1 -1
  340. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  341. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  342. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  343. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js +1 -1
  344. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js.nft.json +1 -1
  345. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js +1 -1
  346. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js.nft.json +1 -1
  347. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js +1 -1
  348. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js.nft.json +1 -1
  349. package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
  350. package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  351. package/cli/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  352. package/cli/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  353. package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  354. package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  355. package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  356. package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  357. package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  358. package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  359. package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  360. package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  361. package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js +51 -1
  362. package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  363. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  364. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  365. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  366. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  367. package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js +51 -1
  368. package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js.nft.json +1 -1
  369. package/cli/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  370. package/cli/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  371. package/cli/app/.next-cli-build/server/app/api/providers/codebuddy/discover-models/route.js +2 -2
  372. package/cli/app/.next-cli-build/server/app/api/providers/codebuddy/discover-models/route.js.nft.json +1 -1
  373. package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  374. package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  375. package/cli/app/.next-cli-build/server/app/api/providers/opencode/discover-models/route.js +1 -0
  376. package/cli/app/.next-cli-build/server/app/api/providers/opencode/discover-models/route.js.nft.json +1 -0
  377. package/cli/app/.next-cli-build/server/app/api/providers/opencode/discover-models/route_client-reference-manifest.js +1 -0
  378. package/cli/app/.next-cli-build/server/app/api/providers/route.js +2 -2
  379. package/cli/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  380. package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  381. package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  382. package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  383. package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  384. package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -51
  385. package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  386. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  387. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  388. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  389. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  390. package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  391. package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  392. package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  393. package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  394. package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  395. package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  396. package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  397. package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  398. package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  399. package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  400. package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  401. package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  402. package/cli/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  403. package/cli/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  404. package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  405. package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  406. package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  407. package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  408. package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  409. package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  410. package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  411. package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  412. package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  413. package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  414. package/cli/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  415. package/cli/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  416. package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  417. package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  418. package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  419. package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  420. package/cli/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  421. package/cli/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  422. package/cli/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  423. package/cli/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  424. package/cli/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  425. package/cli/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  426. package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route.js +1 -1
  427. package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route.js.nft.json +1 -1
  428. package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route.js +1 -1
  429. package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route.js.nft.json +1 -1
  430. package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route.js +1 -1
  431. package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route.js.nft.json +1 -1
  432. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js +1 -1
  433. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js.nft.json +1 -1
  434. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route.js +1 -1
  435. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route.js.nft.json +1 -1
  436. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route.js +1 -1
  437. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route.js.nft.json +1 -1
  438. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route.js +2 -2
  439. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route.js.nft.json +1 -1
  440. package/cli/app/.next-cli-build/server/app/api/terminal/session/route.js +1 -1
  441. package/cli/app/.next-cli-build/server/app/api/terminal/session/route.js.nft.json +1 -1
  442. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  443. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  444. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  445. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  446. package/cli/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  447. package/cli/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  448. package/cli/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  449. package/cli/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  450. package/cli/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  451. package/cli/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  452. package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  453. package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  454. package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  455. package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  456. package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  457. package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  458. package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  459. package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  460. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  461. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  462. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  463. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  464. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  465. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  466. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  467. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  468. package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  469. package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  470. package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  471. package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  472. package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js +1 -1
  473. package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js.nft.json +1 -1
  474. package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  475. package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  476. package/cli/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  477. package/cli/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  478. package/cli/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  479. package/cli/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  480. package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  481. package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  482. package/cli/app/.next-cli-build/server/app/api/usage/quota-stream/route.js +2 -2
  483. package/cli/app/.next-cli-build/server/app/api/usage/quota-stream/route.js.nft.json +1 -1
  484. package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  485. package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  486. package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  487. package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  488. package/cli/app/.next-cli-build/server/app/api/usage/routing-stream/route.js +2 -2
  489. package/cli/app/.next-cli-build/server/app/api/usage/routing-stream/route.js.nft.json +1 -1
  490. package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  491. package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  492. package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  493. package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  494. package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  495. package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  496. package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  497. package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  498. package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  499. package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  500. package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  501. package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  502. package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  503. package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  504. package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  505. package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  506. package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  507. package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  508. package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  509. package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  510. package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  511. package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  512. package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  513. package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  514. package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  515. package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  516. package/cli/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  517. package/cli/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  518. package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  519. package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  520. package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  521. package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  522. package/cli/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  523. package/cli/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  524. package/cli/app/.next-cli-build/server/app/api/v1/search/route.js +51 -1
  525. package/cli/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  526. package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  527. package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  528. package/cli/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  529. package/cli/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  530. package/cli/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  531. package/cli/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  532. package/cli/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  533. package/cli/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  534. package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +51 -1
  535. package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  536. package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  537. package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  538. package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  539. package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  540. package/cli/app/.next-cli-build/server/app/api/version/route.js +1 -1
  541. package/cli/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  542. package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  543. package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  544. package/cli/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  545. package/cli/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  546. package/cli/app/.next-cli-build/server/app/callback/page.js +1 -1
  547. package/cli/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  548. package/cli/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  549. package/cli/app/.next-cli-build/server/app/callback.html +1 -1
  550. package/cli/app/.next-cli-build/server/app/callback.rsc +3 -3
  551. package/cli/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
  552. package/cli/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  553. package/cli/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +3 -3
  554. package/cli/app/.next-cli-build/server/app/dashboard/automation.html +1 -1
  555. package/cli/app/.next-cli-build/server/app/dashboard/automation.rsc +3 -3
  556. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation/__PAGE__.segment.rsc +3 -3
  557. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_full.segment.rsc +3 -3
  558. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +2 -2
  559. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  560. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +3 -3
  561. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +3 -3
  562. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +3 -3
  563. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  564. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  565. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +3 -3
  566. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +3 -3
  567. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +3 -3
  568. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  569. package/cli/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  570. package/cli/app/.next-cli-build/server/app/dashboard/combos.rsc +3 -3
  571. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +3 -3
  572. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +3 -3
  573. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  574. package/cli/app/.next-cli-build/server/app/dashboard/context.html +1 -1
  575. package/cli/app/.next-cli-build/server/app/dashboard/context.rsc +3 -3
  576. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context/__PAGE__.segment.rsc +3 -3
  577. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_full.segment.rsc +3 -3
  578. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_tree.segment.rsc +2 -2
  579. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  580. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.rsc +3 -3
  581. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +3 -3
  582. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +3 -3
  583. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  584. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  585. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +3 -3
  586. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +3 -3
  587. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +3 -3
  588. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  589. package/cli/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  590. package/cli/app/.next-cli-build/server/app/dashboard/mitm.rsc +3 -3
  591. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +3 -3
  592. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +3 -3
  593. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  594. package/cli/app/.next-cli-build/server/app/dashboard/playground.html +1 -1
  595. package/cli/app/.next-cli-build/server/app/dashboard/playground.rsc +3 -3
  596. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard/playground/__PAGE__.segment.rsc +3 -3
  597. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_full.segment.rsc +3 -3
  598. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_tree.segment.rsc +2 -2
  599. package/cli/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  600. package/cli/app/.next-cli-build/server/app/dashboard/profile.rsc +3 -3
  601. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +3 -3
  602. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +3 -3
  603. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  604. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  605. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.rsc +3 -3
  606. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +3 -3
  607. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +3 -3
  608. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  609. package/cli/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  610. package/cli/app/.next-cli-build/server/app/dashboard/providers.rsc +3 -3
  611. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +3 -3
  612. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +3 -3
  613. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  614. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  615. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +3 -3
  616. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +3 -3
  617. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +3 -3
  618. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  619. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  620. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +3 -3
  621. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +3 -3
  622. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +3 -3
  623. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  624. package/cli/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  625. package/cli/app/.next-cli-build/server/app/dashboard/quota.rsc +3 -3
  626. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  627. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +3 -3
  628. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  629. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  630. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
  631. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/!KGRhc2hib2FyZCk/dashboard/settings/pricing/__PAGE__.segment.rsc +3 -3
  632. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  633. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  634. package/cli/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  635. package/cli/app/.next-cli-build/server/app/dashboard/skills.rsc +3 -3
  636. package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +3 -3
  637. package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +3 -3
  638. package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  639. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  640. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.rsc +3 -3
  641. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +3 -3
  642. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +3 -3
  643. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  644. package/cli/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  645. package/cli/app/.next-cli-build/server/app/dashboard/translator.rsc +3 -3
  646. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +3 -3
  647. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +3 -3
  648. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  649. package/cli/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  650. package/cli/app/.next-cli-build/server/app/dashboard/usage.rsc +3 -3
  651. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +3 -3
  652. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +3 -3
  653. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  654. package/cli/app/.next-cli-build/server/app/dashboard.html +1 -1
  655. package/cli/app/.next-cli-build/server/app/dashboard.rsc +3 -3
  656. package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +3 -3
  657. package/cli/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +3 -3
  658. package/cli/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  659. package/cli/app/.next-cli-build/server/app/index.html +1 -1
  660. package/cli/app/.next-cli-build/server/app/index.rsc +3 -3
  661. package/cli/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  662. package/cli/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  663. package/cli/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  664. package/cli/app/.next-cli-build/server/app/landing/page.js +1 -1
  665. package/cli/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  666. package/cli/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  667. package/cli/app/.next-cli-build/server/app/landing.html +1 -1
  668. package/cli/app/.next-cli-build/server/app/landing.rsc +3 -3
  669. package/cli/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
  670. package/cli/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  671. package/cli/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +3 -3
  672. package/cli/app/.next-cli-build/server/app/login/page.js +1 -1
  673. package/cli/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  674. package/cli/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  675. package/cli/app/.next-cli-build/server/app/login.html +1 -1
  676. package/cli/app/.next-cli-build/server/app/login.rsc +3 -3
  677. package/cli/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +3 -3
  678. package/cli/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  679. package/cli/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
  680. package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  681. package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  682. package/cli/app/.next-cli-build/server/app/page.js +1 -1
  683. package/cli/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  684. package/cli/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  685. package/cli/app/.next-cli-build/server/app/provider-icons/[provider]/route.js +2 -2
  686. package/cli/app/.next-cli-build/server/app/provider-icons/[provider]/route.js.nft.json +1 -1
  687. package/cli/app/.next-cli-build/server/app-paths-manifest.json +17 -16
  688. package/cli/app/.next-cli-build/server/chunks/1131.js +1 -1
  689. package/cli/app/.next-cli-build/server/chunks/1283.js +7 -7
  690. package/cli/app/.next-cli-build/server/chunks/1350.js +1 -1
  691. package/cli/app/.next-cli-build/server/chunks/1756.js +1 -1
  692. package/cli/app/.next-cli-build/server/chunks/220.js +1 -1
  693. package/cli/app/.next-cli-build/server/chunks/2339.js +1 -0
  694. package/cli/app/.next-cli-build/server/chunks/2456.js +1 -1
  695. package/cli/app/.next-cli-build/server/chunks/3477.js +1 -1
  696. package/cli/app/.next-cli-build/server/chunks/3721.js +2 -2
  697. package/cli/app/.next-cli-build/server/chunks/3949.js +1 -1
  698. package/cli/app/.next-cli-build/server/chunks/412.js +1 -1
  699. package/cli/app/.next-cli-build/server/chunks/4236.js +1 -1
  700. package/cli/app/.next-cli-build/server/chunks/4493.js +2 -0
  701. package/cli/app/.next-cli-build/server/chunks/4720.js +1 -1
  702. package/cli/app/.next-cli-build/server/chunks/4827.js +1 -1
  703. package/cli/app/.next-cli-build/server/chunks/4897.js +1 -1
  704. package/cli/app/.next-cli-build/server/chunks/5019.js +1 -1
  705. package/cli/app/.next-cli-build/server/chunks/5024.js +1 -1
  706. package/cli/app/.next-cli-build/server/chunks/5224.js +1 -0
  707. package/cli/app/.next-cli-build/server/chunks/5330.js +5 -6
  708. package/cli/app/.next-cli-build/server/chunks/5545.js +1 -1
  709. package/cli/app/.next-cli-build/server/chunks/5752.js +1 -1
  710. package/cli/app/.next-cli-build/server/chunks/7170.js +1 -1
  711. package/cli/app/.next-cli-build/server/chunks/7319.js +3 -3
  712. package/cli/app/.next-cli-build/server/chunks/7432.js +1 -1
  713. package/cli/app/.next-cli-build/server/chunks/8239.js +60 -0
  714. package/cli/app/.next-cli-build/server/chunks/8255.js +1 -1
  715. package/cli/app/.next-cli-build/server/chunks/8306.js +1 -1
  716. package/cli/app/.next-cli-build/server/chunks/8590.js +1 -0
  717. package/cli/app/.next-cli-build/server/chunks/8655.js +1 -1
  718. package/cli/app/.next-cli-build/server/chunks/8895.js +1 -1
  719. package/cli/app/.next-cli-build/server/chunks/891.js +1 -1
  720. package/cli/app/.next-cli-build/server/chunks/9835.js +1 -1
  721. package/cli/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  722. package/cli/app/.next-cli-build/server/middleware.js +3 -3
  723. package/cli/app/.next-cli-build/server/pages/404.html +1 -1
  724. package/cli/app/.next-cli-build/server/pages/500.html +1 -1
  725. package/cli/app/.next-cli-build/server/preview-props.json +3 -3
  726. package/cli/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  727. package/cli/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  728. package/cli/app/.next-cli-build/static/5wTkpSETl1nKGKUkK-OM5/_buildManifest.js +1 -0
  729. package/cli/app/.next-cli-build/static/chunks/{620-e558cc55d89edd47.js → 620-46999209a961b94a.js} +1 -1
  730. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-e9fcb79ca412ea2c.js +3 -0
  731. package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-295bb7a0a231d3e2.js +1 -0
  732. package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-295bb7a0a231d3e2.js +1 -0
  733. package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-295bb7a0a231d3e2.js +1 -0
  734. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-295bb7a0a231d3e2.js +1 -0
  735. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-295bb7a0a231d3e2.js +1 -0
  736. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-295bb7a0a231d3e2.js +1 -0
  737. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-295bb7a0a231d3e2.js +1 -0
  738. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-295bb7a0a231d3e2.js +1 -0
  739. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-295bb7a0a231d3e2.js +1 -0
  740. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-295bb7a0a231d3e2.js +1 -0
  741. package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-295bb7a0a231d3e2.js +1 -0
  742. package/cli/app/.next-cli-build/static/chunks/app/api/cache/stats/route-295bb7a0a231d3e2.js +1 -0
  743. package/cli/app/.next-cli-build/static/chunks/app/api/changelog/route-295bb7a0a231d3e2.js +1 -0
  744. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-295bb7a0a231d3e2.js +1 -0
  745. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-295bb7a0a231d3e2.js +1 -0
  746. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-295bb7a0a231d3e2.js +1 -0
  747. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-295bb7a0a231d3e2.js +1 -0
  748. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-295bb7a0a231d3e2.js +1 -0
  749. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-295bb7a0a231d3e2.js +1 -0
  750. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-295bb7a0a231d3e2.js +1 -0
  751. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-295bb7a0a231d3e2.js +1 -0
  752. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-295bb7a0a231d3e2.js +1 -0
  753. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-295bb7a0a231d3e2.js +1 -0
  754. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-295bb7a0a231d3e2.js +1 -0
  755. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-295bb7a0a231d3e2.js +1 -0
  756. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-295bb7a0a231d3e2.js +1 -0
  757. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-295bb7a0a231d3e2.js +1 -0
  758. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-295bb7a0a231d3e2.js +1 -0
  759. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-295bb7a0a231d3e2.js +1 -0
  760. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-295bb7a0a231d3e2.js +1 -0
  761. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-295bb7a0a231d3e2.js +1 -0
  762. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-295bb7a0a231d3e2.js +1 -0
  763. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-295bb7a0a231d3e2.js +1 -0
  764. package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-295bb7a0a231d3e2.js +1 -0
  765. package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-295bb7a0a231d3e2.js +1 -0
  766. package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-295bb7a0a231d3e2.js +1 -0
  767. package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-295bb7a0a231d3e2.js +1 -0
  768. package/cli/app/.next-cli-build/static/chunks/app/api/context/route-295bb7a0a231d3e2.js +1 -0
  769. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/chat/completions/route-295bb7a0a231d3e2.js +1 -0
  770. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/cli-tools/keys/route-295bb7a0a231d3e2.js +1 -0
  771. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/media/[operation]/route-295bb7a0a231d3e2.js +1 -0
  772. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/media/videos/[id]/route-295bb7a0a231d3e2.js +1 -0
  773. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/enable/route-295bb7a0a231d3e2.js +1 -0
  774. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-295bb7a0a231d3e2.js +1 -0
  775. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-295bb7a0a231d3e2.js +1 -0
  776. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-295bb7a0a231d3e2.js +1 -0
  777. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-295bb7a0a231d3e2.js +1 -0
  778. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-295bb7a0a231d3e2.js +1 -0
  779. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-295bb7a0a231d3e2.js +1 -0
  780. package/cli/app/.next-cli-build/static/chunks/app/api/health/ready/route-295bb7a0a231d3e2.js +1 -0
  781. package/cli/app/.next-cli-build/static/chunks/app/api/health/route-295bb7a0a231d3e2.js +1 -0
  782. package/cli/app/.next-cli-build/static/chunks/app/api/init/route-295bb7a0a231d3e2.js +1 -0
  783. package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-295bb7a0a231d3e2.js +1 -0
  784. package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-295bb7a0a231d3e2.js +1 -0
  785. package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-295bb7a0a231d3e2.js +1 -0
  786. package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-295bb7a0a231d3e2.js +1 -0
  787. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-295bb7a0a231d3e2.js +1 -0
  788. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-295bb7a0a231d3e2.js +1 -0
  789. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-295bb7a0a231d3e2.js +1 -0
  790. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-295bb7a0a231d3e2.js +1 -0
  791. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-295bb7a0a231d3e2.js +1 -0
  792. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-295bb7a0a231d3e2.js +1 -0
  793. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-295bb7a0a231d3e2.js +1 -0
  794. package/cli/app/.next-cli-build/static/chunks/app/api/metrics/route-295bb7a0a231d3e2.js +1 -0
  795. package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-295bb7a0a231d3e2.js +1 -0
  796. package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-295bb7a0a231d3e2.js +1 -0
  797. package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-295bb7a0a231d3e2.js +1 -0
  798. package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-295bb7a0a231d3e2.js +1 -0
  799. package/cli/app/.next-cli-build/static/chunks/app/api/models/route-295bb7a0a231d3e2.js +1 -0
  800. package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-295bb7a0a231d3e2.js +1 -0
  801. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-295bb7a0a231d3e2.js +1 -0
  802. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-295bb7a0a231d3e2.js +1 -0
  803. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-295bb7a0a231d3e2.js +1 -0
  804. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-295bb7a0a231d3e2.js +1 -0
  805. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-295bb7a0a231d3e2.js +1 -0
  806. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-295bb7a0a231d3e2.js +1 -0
  807. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route-295bb7a0a231d3e2.js +1 -0
  808. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route-295bb7a0a231d3e2.js +1 -0
  809. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route-295bb7a0a231d3e2.js +1 -0
  810. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/latest/route-295bb7a0a231d3e2.js +1 -0
  811. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/route-295bb7a0a231d3e2.js +1 -0
  812. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-295bb7a0a231d3e2.js +1 -0
  813. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-295bb7a0a231d3e2.js +1 -0
  814. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-295bb7a0a231d3e2.js +1 -0
  815. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-295bb7a0a231d3e2.js +1 -0
  816. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-295bb7a0a231d3e2.js +1 -0
  817. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-295bb7a0a231d3e2.js +1 -0
  818. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-295bb7a0a231d3e2.js +1 -0
  819. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-295bb7a0a231d3e2.js +1 -0
  820. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-295bb7a0a231d3e2.js +1 -0
  821. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-295bb7a0a231d3e2.js +1 -0
  822. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-295bb7a0a231d3e2.js +1 -0
  823. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-295bb7a0a231d3e2.js +1 -0
  824. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-295bb7a0a231d3e2.js +1 -0
  825. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-295bb7a0a231d3e2.js +1 -0
  826. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-295bb7a0a231d3e2.js +1 -0
  827. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-295bb7a0a231d3e2.js +1 -0
  828. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-295bb7a0a231d3e2.js +1 -0
  829. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-295bb7a0a231d3e2.js +1 -0
  830. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route-295bb7a0a231d3e2.js +1 -0
  831. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route-295bb7a0a231d3e2.js +1 -0
  832. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/route-295bb7a0a231d3e2.js +1 -0
  833. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/latest/route-295bb7a0a231d3e2.js +1 -0
  834. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-295bb7a0a231d3e2.js +1 -0
  835. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-token/route-295bb7a0a231d3e2.js +1 -0
  836. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-295bb7a0a231d3e2.js +1 -0
  837. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-295bb7a0a231d3e2.js +1 -0
  838. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-295bb7a0a231d3e2.js +1 -0
  839. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-295bb7a0a231d3e2.js +1 -0
  840. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-295bb7a0a231d3e2.js +1 -0
  841. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-295bb7a0a231d3e2.js +1 -0
  842. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-295bb7a0a231d3e2.js +1 -0
  843. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-295bb7a0a231d3e2.js +1 -0
  844. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-295bb7a0a231d3e2.js +1 -0
  845. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-295bb7a0a231d3e2.js +1 -0
  846. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-295bb7a0a231d3e2.js +1 -0
  847. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-295bb7a0a231d3e2.js +1 -0
  848. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-295bb7a0a231d3e2.js +1 -0
  849. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-295bb7a0a231d3e2.js +1 -0
  850. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-295bb7a0a231d3e2.js +1 -0
  851. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-295bb7a0a231d3e2.js +1 -0
  852. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-295bb7a0a231d3e2.js +1 -0
  853. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-295bb7a0a231d3e2.js +1 -0
  854. package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-295bb7a0a231d3e2.js +1 -0
  855. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-295bb7a0a231d3e2.js +1 -0
  856. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-295bb7a0a231d3e2.js +1 -0
  857. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-295bb7a0a231d3e2.js +1 -0
  858. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-295bb7a0a231d3e2.js +1 -0
  859. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-295bb7a0a231d3e2.js +1 -0
  860. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-295bb7a0a231d3e2.js +1 -0
  861. package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-295bb7a0a231d3e2.js +1 -0
  862. package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-295bb7a0a231d3e2.js +1 -0
  863. package/cli/app/.next-cli-build/static/chunks/app/api/providers/codebuddy/discover-models/route-295bb7a0a231d3e2.js +1 -0
  864. package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-295bb7a0a231d3e2.js +1 -0
  865. package/cli/app/.next-cli-build/static/chunks/app/api/providers/opencode/discover-models/route-295bb7a0a231d3e2.js +1 -0
  866. package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-295bb7a0a231d3e2.js +1 -0
  867. package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-295bb7a0a231d3e2.js +1 -0
  868. package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-295bb7a0a231d3e2.js +1 -0
  869. package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-295bb7a0a231d3e2.js +1 -0
  870. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-295bb7a0a231d3e2.js +1 -0
  871. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-295bb7a0a231d3e2.js +1 -0
  872. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-295bb7a0a231d3e2.js +1 -0
  873. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-295bb7a0a231d3e2.js +1 -0
  874. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-295bb7a0a231d3e2.js +1 -0
  875. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-295bb7a0a231d3e2.js +1 -0
  876. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-295bb7a0a231d3e2.js +1 -0
  877. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-295bb7a0a231d3e2.js +1 -0
  878. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-295bb7a0a231d3e2.js +1 -0
  879. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-295bb7a0a231d3e2.js +1 -0
  880. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-295bb7a0a231d3e2.js +1 -0
  881. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-295bb7a0a231d3e2.js +1 -0
  882. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-295bb7a0a231d3e2.js +1 -0
  883. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-295bb7a0a231d3e2.js +1 -0
  884. package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-295bb7a0a231d3e2.js +1 -0
  885. package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-295bb7a0a231d3e2.js +1 -0
  886. package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-295bb7a0a231d3e2.js +1 -0
  887. package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-295bb7a0a231d3e2.js +1 -0
  888. package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-295bb7a0a231d3e2.js +1 -0
  889. package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-295bb7a0a231d3e2.js +1 -0
  890. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/setup/route-295bb7a0a231d3e2.js +1 -0
  891. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/status/route-295bb7a0a231d3e2.js +1 -0
  892. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/unlock/route-295bb7a0a231d3e2.js +1 -0
  893. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/input/route-295bb7a0a231d3e2.js +1 -0
  894. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/resize/route-295bb7a0a231d3e2.js +1 -0
  895. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/route-295bb7a0a231d3e2.js +1 -0
  896. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/stream/route-295bb7a0a231d3e2.js +1 -0
  897. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/route-295bb7a0a231d3e2.js +1 -0
  898. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-295bb7a0a231d3e2.js +1 -0
  899. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-295bb7a0a231d3e2.js +1 -0
  900. package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-295bb7a0a231d3e2.js +1 -0
  901. package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-295bb7a0a231d3e2.js +1 -0
  902. package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-295bb7a0a231d3e2.js +1 -0
  903. package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-295bb7a0a231d3e2.js +1 -0
  904. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-295bb7a0a231d3e2.js +1 -0
  905. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-295bb7a0a231d3e2.js +1 -0
  906. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-295bb7a0a231d3e2.js +1 -0
  907. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-295bb7a0a231d3e2.js +1 -0
  908. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-295bb7a0a231d3e2.js +1 -0
  909. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-295bb7a0a231d3e2.js +1 -0
  910. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-295bb7a0a231d3e2.js +1 -0
  911. package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-295bb7a0a231d3e2.js +1 -0
  912. package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-295bb7a0a231d3e2.js +1 -0
  913. package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-295bb7a0a231d3e2.js +1 -0
  914. package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-295bb7a0a231d3e2.js +1 -0
  915. package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-295bb7a0a231d3e2.js +1 -0
  916. package/cli/app/.next-cli-build/static/chunks/app/api/usage/logs/route-295bb7a0a231d3e2.js +1 -0
  917. package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-295bb7a0a231d3e2.js +1 -0
  918. package/cli/app/.next-cli-build/static/chunks/app/api/usage/quota-stream/route-295bb7a0a231d3e2.js +1 -0
  919. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-295bb7a0a231d3e2.js +1 -0
  920. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-295bb7a0a231d3e2.js +1 -0
  921. package/cli/app/.next-cli-build/static/chunks/app/api/usage/routing-stream/route-295bb7a0a231d3e2.js +1 -0
  922. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-295bb7a0a231d3e2.js +1 -0
  923. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-295bb7a0a231d3e2.js +1 -0
  924. package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-295bb7a0a231d3e2.js +1 -0
  925. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-295bb7a0a231d3e2.js +1 -0
  926. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-295bb7a0a231d3e2.js +1 -0
  927. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-295bb7a0a231d3e2.js +1 -0
  928. package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-295bb7a0a231d3e2.js +1 -0
  929. package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-295bb7a0a231d3e2.js +1 -0
  930. package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-295bb7a0a231d3e2.js +1 -0
  931. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-295bb7a0a231d3e2.js +1 -0
  932. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-295bb7a0a231d3e2.js +1 -0
  933. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-295bb7a0a231d3e2.js +1 -0
  934. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-295bb7a0a231d3e2.js +1 -0
  935. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-295bb7a0a231d3e2.js +1 -0
  936. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-295bb7a0a231d3e2.js +1 -0
  937. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-295bb7a0a231d3e2.js +1 -0
  938. package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-295bb7a0a231d3e2.js +1 -0
  939. package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-295bb7a0a231d3e2.js +1 -0
  940. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-295bb7a0a231d3e2.js +1 -0
  941. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-295bb7a0a231d3e2.js +1 -0
  942. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-295bb7a0a231d3e2.js +1 -0
  943. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-295bb7a0a231d3e2.js +1 -0
  944. package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-295bb7a0a231d3e2.js +1 -0
  945. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-295bb7a0a231d3e2.js +1 -0
  946. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-295bb7a0a231d3e2.js +1 -0
  947. package/cli/app/.next-cli-build/static/chunks/app/api/version/route-295bb7a0a231d3e2.js +1 -0
  948. package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-295bb7a0a231d3e2.js +1 -0
  949. package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-295bb7a0a231d3e2.js +1 -0
  950. package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-295bb7a0a231d3e2.js +1 -0
  951. package/cli/app/.next-cli-build/static/chunks/app/page-295bb7a0a231d3e2.js +1 -0
  952. package/cli/app/.next-cli-build/static/chunks/app/provider-icons/[provider]/route-295bb7a0a231d3e2.js +1 -0
  953. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-295bb7a0a231d3e2.js +1 -0
  954. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-295bb7a0a231d3e2.js +1 -0
  955. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-295bb7a0a231d3e2.js +1 -0
  956. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-295bb7a0a231d3e2.js +1 -0
  957. package/cli/app/.next-cli-build/static/css/13d9e8c54ece137d.css +1 -0
  958. package/cli/app/CHANGELOG.md +9 -0
  959. package/cli/app/package.json +1 -1
  960. package/cli/package.json +1 -1
  961. package/package.json +1 -1
  962. package/cli/app/.next-cli-build/server/chunks/1998.js +0 -1
  963. package/cli/app/.next-cli-build/server/chunks/2238.js +0 -1
  964. package/cli/app/.next-cli-build/server/chunks/5295.js +0 -51
  965. package/cli/app/.next-cli-build/server/chunks/7634.js +0 -10
  966. package/cli/app/.next-cli-build/static/ZV1b0QFpI7Py60MZLjqfn/_buildManifest.js +0 -1
  967. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-dda271970d82f452.js +0 -3
  968. package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-5bba6c0b89069588.js +0 -1
  969. package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-5bba6c0b89069588.js +0 -1
  970. package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-5bba6c0b89069588.js +0 -1
  971. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-5bba6c0b89069588.js +0 -1
  972. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-5bba6c0b89069588.js +0 -1
  973. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-5bba6c0b89069588.js +0 -1
  974. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-5bba6c0b89069588.js +0 -1
  975. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-5bba6c0b89069588.js +0 -1
  976. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-5bba6c0b89069588.js +0 -1
  977. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-5bba6c0b89069588.js +0 -1
  978. package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-5bba6c0b89069588.js +0 -1
  979. package/cli/app/.next-cli-build/static/chunks/app/api/cache/stats/route-5bba6c0b89069588.js +0 -1
  980. package/cli/app/.next-cli-build/static/chunks/app/api/changelog/route-5bba6c0b89069588.js +0 -1
  981. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-5bba6c0b89069588.js +0 -1
  982. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-5bba6c0b89069588.js +0 -1
  983. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-5bba6c0b89069588.js +0 -1
  984. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-5bba6c0b89069588.js +0 -1
  985. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-5bba6c0b89069588.js +0 -1
  986. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-5bba6c0b89069588.js +0 -1
  987. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-5bba6c0b89069588.js +0 -1
  988. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-5bba6c0b89069588.js +0 -1
  989. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-5bba6c0b89069588.js +0 -1
  990. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-5bba6c0b89069588.js +0 -1
  991. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-5bba6c0b89069588.js +0 -1
  992. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-5bba6c0b89069588.js +0 -1
  993. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-5bba6c0b89069588.js +0 -1
  994. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-5bba6c0b89069588.js +0 -1
  995. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-5bba6c0b89069588.js +0 -1
  996. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-5bba6c0b89069588.js +0 -1
  997. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-5bba6c0b89069588.js +0 -1
  998. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-5bba6c0b89069588.js +0 -1
  999. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-5bba6c0b89069588.js +0 -1
  1000. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-5bba6c0b89069588.js +0 -1
  1001. package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-5bba6c0b89069588.js +0 -1
  1002. package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-5bba6c0b89069588.js +0 -1
  1003. package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-5bba6c0b89069588.js +0 -1
  1004. package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-5bba6c0b89069588.js +0 -1
  1005. package/cli/app/.next-cli-build/static/chunks/app/api/context/route-5bba6c0b89069588.js +0 -1
  1006. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/chat/completions/route-5bba6c0b89069588.js +0 -1
  1007. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/cli-tools/keys/route-5bba6c0b89069588.js +0 -1
  1008. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/media/[operation]/route-5bba6c0b89069588.js +0 -1
  1009. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/media/videos/[id]/route-5bba6c0b89069588.js +0 -1
  1010. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/enable/route-5bba6c0b89069588.js +0 -1
  1011. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-5bba6c0b89069588.js +0 -1
  1012. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-5bba6c0b89069588.js +0 -1
  1013. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-5bba6c0b89069588.js +0 -1
  1014. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-5bba6c0b89069588.js +0 -1
  1015. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-5bba6c0b89069588.js +0 -1
  1016. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-5bba6c0b89069588.js +0 -1
  1017. package/cli/app/.next-cli-build/static/chunks/app/api/health/ready/route-5bba6c0b89069588.js +0 -1
  1018. package/cli/app/.next-cli-build/static/chunks/app/api/health/route-5bba6c0b89069588.js +0 -1
  1019. package/cli/app/.next-cli-build/static/chunks/app/api/init/route-5bba6c0b89069588.js +0 -1
  1020. package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-5bba6c0b89069588.js +0 -1
  1021. package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-5bba6c0b89069588.js +0 -1
  1022. package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-5bba6c0b89069588.js +0 -1
  1023. package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-5bba6c0b89069588.js +0 -1
  1024. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-5bba6c0b89069588.js +0 -1
  1025. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-5bba6c0b89069588.js +0 -1
  1026. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-5bba6c0b89069588.js +0 -1
  1027. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-5bba6c0b89069588.js +0 -1
  1028. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-5bba6c0b89069588.js +0 -1
  1029. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-5bba6c0b89069588.js +0 -1
  1030. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-5bba6c0b89069588.js +0 -1
  1031. package/cli/app/.next-cli-build/static/chunks/app/api/metrics/route-5bba6c0b89069588.js +0 -1
  1032. package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-5bba6c0b89069588.js +0 -1
  1033. package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-5bba6c0b89069588.js +0 -1
  1034. package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-5bba6c0b89069588.js +0 -1
  1035. package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-5bba6c0b89069588.js +0 -1
  1036. package/cli/app/.next-cli-build/static/chunks/app/api/models/route-5bba6c0b89069588.js +0 -1
  1037. package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-5bba6c0b89069588.js +0 -1
  1038. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-5bba6c0b89069588.js +0 -1
  1039. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-5bba6c0b89069588.js +0 -1
  1040. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-5bba6c0b89069588.js +0 -1
  1041. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-5bba6c0b89069588.js +0 -1
  1042. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-5bba6c0b89069588.js +0 -1
  1043. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-5bba6c0b89069588.js +0 -1
  1044. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route-5bba6c0b89069588.js +0 -1
  1045. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route-5bba6c0b89069588.js +0 -1
  1046. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route-5bba6c0b89069588.js +0 -1
  1047. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/latest/route-5bba6c0b89069588.js +0 -1
  1048. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/route-5bba6c0b89069588.js +0 -1
  1049. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-5bba6c0b89069588.js +0 -1
  1050. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-5bba6c0b89069588.js +0 -1
  1051. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-5bba6c0b89069588.js +0 -1
  1052. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-5bba6c0b89069588.js +0 -1
  1053. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-5bba6c0b89069588.js +0 -1
  1054. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-5bba6c0b89069588.js +0 -1
  1055. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-5bba6c0b89069588.js +0 -1
  1056. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-5bba6c0b89069588.js +0 -1
  1057. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-5bba6c0b89069588.js +0 -1
  1058. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-5bba6c0b89069588.js +0 -1
  1059. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-5bba6c0b89069588.js +0 -1
  1060. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-5bba6c0b89069588.js +0 -1
  1061. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-5bba6c0b89069588.js +0 -1
  1062. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-5bba6c0b89069588.js +0 -1
  1063. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-5bba6c0b89069588.js +0 -1
  1064. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-5bba6c0b89069588.js +0 -1
  1065. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-5bba6c0b89069588.js +0 -1
  1066. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-5bba6c0b89069588.js +0 -1
  1067. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route-5bba6c0b89069588.js +0 -1
  1068. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route-5bba6c0b89069588.js +0 -1
  1069. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/route-5bba6c0b89069588.js +0 -1
  1070. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/latest/route-5bba6c0b89069588.js +0 -1
  1071. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-5bba6c0b89069588.js +0 -1
  1072. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-token/route-5bba6c0b89069588.js +0 -1
  1073. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-5bba6c0b89069588.js +0 -1
  1074. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-5bba6c0b89069588.js +0 -1
  1075. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-5bba6c0b89069588.js +0 -1
  1076. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-5bba6c0b89069588.js +0 -1
  1077. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-5bba6c0b89069588.js +0 -1
  1078. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-5bba6c0b89069588.js +0 -1
  1079. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-5bba6c0b89069588.js +0 -1
  1080. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-5bba6c0b89069588.js +0 -1
  1081. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-5bba6c0b89069588.js +0 -1
  1082. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-5bba6c0b89069588.js +0 -1
  1083. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-5bba6c0b89069588.js +0 -1
  1084. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-5bba6c0b89069588.js +0 -1
  1085. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-5bba6c0b89069588.js +0 -1
  1086. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-5bba6c0b89069588.js +0 -1
  1087. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-5bba6c0b89069588.js +0 -1
  1088. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-5bba6c0b89069588.js +0 -1
  1089. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-5bba6c0b89069588.js +0 -1
  1090. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-5bba6c0b89069588.js +0 -1
  1091. package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-5bba6c0b89069588.js +0 -1
  1092. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-5bba6c0b89069588.js +0 -1
  1093. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-5bba6c0b89069588.js +0 -1
  1094. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-5bba6c0b89069588.js +0 -1
  1095. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-5bba6c0b89069588.js +0 -1
  1096. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-5bba6c0b89069588.js +0 -1
  1097. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-5bba6c0b89069588.js +0 -1
  1098. package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-5bba6c0b89069588.js +0 -1
  1099. package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-5bba6c0b89069588.js +0 -1
  1100. package/cli/app/.next-cli-build/static/chunks/app/api/providers/codebuddy/discover-models/route-5bba6c0b89069588.js +0 -1
  1101. package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-5bba6c0b89069588.js +0 -1
  1102. package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-5bba6c0b89069588.js +0 -1
  1103. package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-5bba6c0b89069588.js +0 -1
  1104. package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-5bba6c0b89069588.js +0 -1
  1105. package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-5bba6c0b89069588.js +0 -1
  1106. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-5bba6c0b89069588.js +0 -1
  1107. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-5bba6c0b89069588.js +0 -1
  1108. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-5bba6c0b89069588.js +0 -1
  1109. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-5bba6c0b89069588.js +0 -1
  1110. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-5bba6c0b89069588.js +0 -1
  1111. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-5bba6c0b89069588.js +0 -1
  1112. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-5bba6c0b89069588.js +0 -1
  1113. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-5bba6c0b89069588.js +0 -1
  1114. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-5bba6c0b89069588.js +0 -1
  1115. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-5bba6c0b89069588.js +0 -1
  1116. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-5bba6c0b89069588.js +0 -1
  1117. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-5bba6c0b89069588.js +0 -1
  1118. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-5bba6c0b89069588.js +0 -1
  1119. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-5bba6c0b89069588.js +0 -1
  1120. package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-5bba6c0b89069588.js +0 -1
  1121. package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-5bba6c0b89069588.js +0 -1
  1122. package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-5bba6c0b89069588.js +0 -1
  1123. package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-5bba6c0b89069588.js +0 -1
  1124. package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-5bba6c0b89069588.js +0 -1
  1125. package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-5bba6c0b89069588.js +0 -1
  1126. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/setup/route-5bba6c0b89069588.js +0 -1
  1127. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/status/route-5bba6c0b89069588.js +0 -1
  1128. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/unlock/route-5bba6c0b89069588.js +0 -1
  1129. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/input/route-5bba6c0b89069588.js +0 -1
  1130. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/resize/route-5bba6c0b89069588.js +0 -1
  1131. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/route-5bba6c0b89069588.js +0 -1
  1132. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/stream/route-5bba6c0b89069588.js +0 -1
  1133. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/route-5bba6c0b89069588.js +0 -1
  1134. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-5bba6c0b89069588.js +0 -1
  1135. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-5bba6c0b89069588.js +0 -1
  1136. package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-5bba6c0b89069588.js +0 -1
  1137. package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-5bba6c0b89069588.js +0 -1
  1138. package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-5bba6c0b89069588.js +0 -1
  1139. package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-5bba6c0b89069588.js +0 -1
  1140. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-5bba6c0b89069588.js +0 -1
  1141. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-5bba6c0b89069588.js +0 -1
  1142. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-5bba6c0b89069588.js +0 -1
  1143. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-5bba6c0b89069588.js +0 -1
  1144. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-5bba6c0b89069588.js +0 -1
  1145. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-5bba6c0b89069588.js +0 -1
  1146. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-5bba6c0b89069588.js +0 -1
  1147. package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-5bba6c0b89069588.js +0 -1
  1148. package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-5bba6c0b89069588.js +0 -1
  1149. package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-5bba6c0b89069588.js +0 -1
  1150. package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-5bba6c0b89069588.js +0 -1
  1151. package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-5bba6c0b89069588.js +0 -1
  1152. package/cli/app/.next-cli-build/static/chunks/app/api/usage/logs/route-5bba6c0b89069588.js +0 -1
  1153. package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-5bba6c0b89069588.js +0 -1
  1154. package/cli/app/.next-cli-build/static/chunks/app/api/usage/quota-stream/route-5bba6c0b89069588.js +0 -1
  1155. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-5bba6c0b89069588.js +0 -1
  1156. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-5bba6c0b89069588.js +0 -1
  1157. package/cli/app/.next-cli-build/static/chunks/app/api/usage/routing-stream/route-5bba6c0b89069588.js +0 -1
  1158. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-5bba6c0b89069588.js +0 -1
  1159. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-5bba6c0b89069588.js +0 -1
  1160. package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-5bba6c0b89069588.js +0 -1
  1161. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-5bba6c0b89069588.js +0 -1
  1162. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-5bba6c0b89069588.js +0 -1
  1163. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-5bba6c0b89069588.js +0 -1
  1164. package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-5bba6c0b89069588.js +0 -1
  1165. package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-5bba6c0b89069588.js +0 -1
  1166. package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-5bba6c0b89069588.js +0 -1
  1167. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-5bba6c0b89069588.js +0 -1
  1168. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-5bba6c0b89069588.js +0 -1
  1169. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-5bba6c0b89069588.js +0 -1
  1170. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-5bba6c0b89069588.js +0 -1
  1171. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-5bba6c0b89069588.js +0 -1
  1172. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-5bba6c0b89069588.js +0 -1
  1173. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-5bba6c0b89069588.js +0 -1
  1174. package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-5bba6c0b89069588.js +0 -1
  1175. package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-5bba6c0b89069588.js +0 -1
  1176. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-5bba6c0b89069588.js +0 -1
  1177. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-5bba6c0b89069588.js +0 -1
  1178. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-5bba6c0b89069588.js +0 -1
  1179. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-5bba6c0b89069588.js +0 -1
  1180. package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-5bba6c0b89069588.js +0 -1
  1181. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-5bba6c0b89069588.js +0 -1
  1182. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-5bba6c0b89069588.js +0 -1
  1183. package/cli/app/.next-cli-build/static/chunks/app/api/version/route-5bba6c0b89069588.js +0 -1
  1184. package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-5bba6c0b89069588.js +0 -1
  1185. package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-5bba6c0b89069588.js +0 -1
  1186. package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-5bba6c0b89069588.js +0 -1
  1187. package/cli/app/.next-cli-build/static/chunks/app/page-5bba6c0b89069588.js +0 -1
  1188. package/cli/app/.next-cli-build/static/chunks/app/provider-icons/[provider]/route-5bba6c0b89069588.js +0 -1
  1189. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-5bba6c0b89069588.js +0 -1
  1190. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-5bba6c0b89069588.js +0 -1
  1191. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-5bba6c0b89069588.js +0 -1
  1192. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-5bba6c0b89069588.js +0 -1
  1193. package/cli/app/.next-cli-build/static/css/2259cb9ea5269549.css +0 -1
  1194. /package/cli/app/.next-cli-build/static/{ZV1b0QFpI7Py60MZLjqfn → 5wTkpSETl1nKGKUkK-OM5}/_ssgManifest.js +0 -0
@@ -1,51 +0,0 @@
1
- "use strict";exports.id=5295,exports.ids=[5295],exports.modules={6382:(a,b,c)=>{c.d(b,{$D:()=>v,Oj:()=>g,P9:()=>q,VE:()=>m,We:()=>i,ZF:()=>s,Zm:()=>f,aZ:()=>A,cr:()=>y,gI:()=>r,h3:()=>h,rG:()=>p,yh:()=>z});let d="-agentic",e="-thinking",f=64,g=10237,h=64;function i(a){return"google"===a||"github"===a?"arn:aws:codewhisperer:us-east-1:699475941385:profile/EHGA3GRVQMUK":"arn:aws:codewhisperer:us-east-1:638616132270:profile/AAAACCCCXXXX"}let j={minimal:512,low:1024,medium:8192,high:24576,xhigh:32768,max:128e3},k="1.0.138",l="1.0.0";function m(a){return{userAgent:`aws-sdk-js/${l} ua/2.1 os/windows#10.0.26200 lang/js md/nodejs#22.21.1 api/codewhispererruntime#${l} m/N,E KiroIDE-${k}-${a}`,amzUserAgent:`aws-sdk-js/${l} KiroIDE-${k}-${a}`}}let n=new Set(["1","true","yes","on"]),o=new Set(["0","false","no","off"]),p=`
2
- # CRITICAL: CHUNKED WRITE PROTOCOL (MANDATORY)
3
-
4
- You MUST follow these rules for ALL file operations. Violation causes server timeouts and task failure.
5
-
6
- ## ABSOLUTE LIMITS
7
- - **MAXIMUM 350 LINES** per single write/edit operation - NO EXCEPTIONS
8
- - **RECOMMENDED 300 LINES** or less for optimal performance
9
- - **NEVER** write entire files in one operation if >300 lines
10
-
11
- ## MANDATORY CHUNKED WRITE STRATEGY
12
-
13
- ### For NEW FILES (>300 lines total):
14
- 1. FIRST: Write initial chunk (first 250-300 lines) using write_to_file/fsWrite
15
- 2. THEN: Append remaining content in 250-300 line chunks using file append operations
16
- 3. REPEAT: Continue appending until complete
17
-
18
- ### For EDITING EXISTING FILES:
19
- 1. Use surgical edits (apply_diff/targeted edits) - change ONLY what's needed
20
- 2. NEVER rewrite entire files - use incremental modifications
21
- 3. Split large refactors into multiple small, focused edits
22
-
23
- ### For LARGE CODE GENERATION:
24
- 1. Generate in logical sections (imports, types, functions separately)
25
- 2. Write each section as a separate operation
26
- 3. Use append operations for subsequent sections
27
-
28
- ## EXAMPLES OF CORRECT BEHAVIOR
29
-
30
- CORRECT: Writing a 600-line file
31
- - Operation 1: Write lines 1-300 (initial file creation)
32
- - Operation 2: Append lines 301-600
33
-
34
- CORRECT: Editing multiple functions
35
- - Operation 1: Edit function A
36
- - Operation 2: Edit function B
37
- - Operation 3: Edit function C
38
-
39
- WRONG: Writing 500 lines in single operation -> TIMEOUT
40
- WRONG: Rewriting entire file to change 5 lines -> TIMEOUT
41
- WRONG: Generating massive code blocks without chunking -> TIMEOUT
42
-
43
- ## WHY THIS MATTERS
44
- - Server has 2-3 minute timeout for operations
45
- - Large writes exceed timeout and FAIL completely
46
- - Chunked writes are FASTER and more RELIABLE
47
- - Failed writes waste time and require retry
48
-
49
- REMEMBER: When in doubt, write LESS per operation. Multiple small operations > one large operation.
50
- `.trim();function q(a,b,c){if(function(a){if(!a||"object"!=typeof a)return!1;let b=a.thinking;if(b&&"object"==typeof b&&"disabled"===b.type)return!0;let c=a.reasoning_effort??a.output_config?.effort??(a.reasoning&&"object"==typeof a.reasoning?a.reasoning.effort:null);return"string"==typeof c&&["none","off","disabled"].includes(c.toLowerCase())}(a))return null;let d=a?.output_config?.effort;if("string"==typeof d){let a=j[d.toLowerCase()];if(a)return a}let e=a?.thinking;if(e&&"object"==typeof e&&"enabled"===e.type){let a=Number(e.budget_tokens);return Number.isFinite(a)&&a>0?a:16e3}let f=a?.reasoning_effort??(a?.reasoning&&"object"==typeof a.reasoning?a.reasoning.effort:null);if("string"==typeof f){let a=f.toLowerCase();if("auto"===a)return 16e3;let b=j[a];if(b)return b}if(b){let a=function(a,b){if(!a)return;if("function"==typeof a.get)return a.get(b);let c=b.toLowerCase();for(let b of Object.keys(a))if(b.toLowerCase()===c)return a[b]}(b,"anthropic-beta");if("string"==typeof a&&a.toLowerCase().includes("interleaved-thinking"))return 16e3}if(function(a){for(let b of Array.isArray(a?.messages)?a.messages:[]){if(!b||"system"!==b.role&&"user"!==b.role)continue;let a=b.content;if("string"==typeof a){if(B(a))return!0}else if(Array.isArray(a))for(let b of a){let a=b?.text;if("string"==typeof a&&B(a))return!0}}return!!("string"==typeof a?.system&&B(a.system))}(a))return 16e3;if("string"==typeof c&&c){let a=c.toLowerCase();if(a.includes("thinking")||a.includes("-reason"))return 16e3}return null}function r(a,b,c){return null!==q(a,b,c)}function s(a,b=!1){let c=D(C(a?.kiro_expose_reasoning,a?.kiroExposeReasoning,a?.metadata?.kiro_expose_reasoning,a?.metadata?.kiroExposeReasoning,a?.extra_body?.kiro_expose_reasoning,a?.extra_body?.kiroExposeReasoning));if(null!==c)return c;let d="u">typeof process?process.env:{},e=D(C(d.KIRO_EXPOSE_REASONING,d.ZEVAI_EXPOSE_REASONING));return null!==e?e:!0===b}function t(a){return"string"==typeof a&&a.endsWith(d)}function u(a){return"string"==typeof a&&a.endsWith(e)}function v(a){var b,c;let f=a,g=!1,h=!1;return t(f)&&(g=!0,f=t(b=f)?b.slice(0,-d.length):b),u(f)&&(h=!0,f=u(c=f)?c.slice(0,-e.length):c),{upstream:f,agentic:g,thinking:h}}function w(a){let b=a?.output_config?.effort??a?.reasoning_effort??("object"==typeof a?.reasoning?a.reasoning.effort:null);if("string"!=typeof b)return null;let c=b.toLowerCase();return"max"===c?"xhigh":["low","medium","high","xhigh"].includes(c)?c:null}function x(a){if("string"!=typeof a)return null;let b=a.toLowerCase().replace(/-/g,".");if(/(?:^|[/.])gpt[/.]5[/.]6(?:[/.]|$)/.test(b))return"reasoning";if(!b.includes("claude"))return null;let c=b.match(/(?:^|[/.])claude(?:[/.][a-z]+)*[/.](\d+)(?:[/.](\d+))?(?:[/.]|$)/);if(!c)return null;let d=Number(c[1]),e=void 0===c[2]?null:Number(c[2]);return d<4||4===d&&(null===e||e<=5||null!==e&&e>=1e3)?null:"output_config"}function y(a,b){return"reasoning"===x(b)&&null!==w(a)}function z(a,b){let c=x(b);if(!c)return;if("reasoning"===c){let b=w(a);return b?{reasoning:{effort:b}}:void 0}let d=function(a){let b=a?.output_config?.effort??a?.reasoning_effort??("object"==typeof a?.reasoning?a.reasoning.effort:null);if("string"!=typeof b)return null;let c=b.toLowerCase();return"none"===c||"off"===c||"disabled"===c?null:"xhigh"===c||"max"===c?"high":["low","medium","high"].includes(c)?c:null}(a);return d?{thinking:{type:"adaptive",display:"summarized"},output_config:{effort:d}}:void 0}function A(a=16e3){let b=Math.max(1,Math.min(32e3,Number(a)||16e3));return`<thinking_mode>enabled</thinking_mode>
51
- <max_thinking_length>${b}</max_thinking_length>`}function B(a){return!!a&&!!a.includes("<thinking_mode>")&&(a.includes("<thinking_mode>enabled</thinking_mode>")||a.includes("<thinking_mode>interleaved</thinking_mode>"))}function C(...a){return a.find(a=>null!=a)}function D(a){if("boolean"==typeof a)return a;if("number"==typeof a)return 1===a||0!==a&&null;if("string"!=typeof a)return null;let b=a.trim().toLowerCase();return!!n.has(b)||!o.has(b)&&null}},8590:(a,b,c)=>{c.d(b,{$B:()=>H,I9:()=>u,Og:()=>r,Ql:()=>D,R_:()=>q,Sc:()=>I,jR:()=>G,jT:()=>p,oD:()=>k,pb:()=>K,qZ:()=>L});var d=c(35024),e=c(75924),f=c(39609),g=c(18080),h=c(52060);let i=null;async function j(a,b){return a?o("xai",a,async()=>{try{i||(i=new(await Promise.all([c.e(4897),c.e(2030)]).then(c.bind(c,82030))).XaiService);let b=await i.refreshAccessToken(a);return{accessToken:b.access_token,refreshToken:b.refresh_token||a,expiresIn:b.expires_in,idToken:b.id_token}}catch(c){b?.warn?.("TOKEN_REFRESH","xAI OAuth refresh failed",{status:c?.status||null,code:y(c?.code,c?.status),permanent:c?.permanent===!0});let a=String(c?.message||"");if(c?.permanent===!0||a.includes("invalid_grant")||a.includes("invalid_request"))return{error:"invalid_grant",code:y(c?.code||"invalid_grant",c?.status)};return null}},b):null}let k=3e5,l=new Map;function m(){let a=Error("Request aborted");return a.name="AbortError",a}function n(a,b){return a.waiterCount+=1,new Promise((c,d)=>{let e=!1,f=(c,d)=>{e||(e=!0,b?.removeEventListener?.("abort",g),a.waiterCount=Math.max(0,a.waiterCount-1),0!==a.waiterCount||a.settled||(a.acceptingWaiters=!1,a.controller.abort(m())),c(d))},g=()=>f(d,m());b?.addEventListener?.("abort",g,{once:!0}),b?.aborted&&g(),a.promise.then(a=>f(c,a),a=>f(d,a))})}async function o(a,b,c,d,e=null){let f,g;if(e?.aborted)throw m();if(!b)return c();let h=`${a}:${b}`,i=l.get(h);if(i){if(i.promise){if(!1===i.acceptingWaiters||i.controller.signal.aborted)try{return await (e?.aborted?Promise.reject(m()):new Promise((a,b)=>{let c=!1,d=(a,b)=>{c||(c=!0,e?.removeEventListener?.("abort",f),a(b))},f=()=>d(b,m());e?.addEventListener?.("abort",f,{once:!0}),e?.aborted&&f(),i.promise.then(b=>d(a,b),a=>d(b,a))}))}catch(f){if(e?.aborted)throw m();if(i.controller.signal.aborted&&f?.name==="AbortError")return o(a,b,c,d,e);throw f}return d?.info?.("TOKEN_REFRESH",`Reusing in-flight refresh for ${a}`),n(i,e)}if(i.expiresAt>Date.now())return d?.info?.("TOKEN_REFRESH",`Reusing recent refresh result for ${a}`),i.result;l.delete(h)}let j={controller:new AbortController,promise:new Promise((a,b)=>{f=a,g=b}),acceptingWaiters:!0,settled:!1,waiterCount:0};return l.set(h,j),(async()=>{try{let a=await c(j.controller.signal),b={result:a,expiresAt:Date.now()+1e4};l.set(h,b);let d=setTimeout(()=>{l.get(h)===b&&l.delete(h)},1e4);d.unref?.(),j.settled=!0,f(a)}catch(a){l.get(h)===j&&l.delete(h),j.settled=!0,g(a)}})(),n(j,e)}function p(a){return a&&"object"==typeof a&&("unrecoverable_refresh_error"===a.error||"refresh_token_reused"===a.error||"invalid_request"===a.error||"invalid_grant"===a.error)}function q(a={}){let b=String(a.code||a.error||"refresh_token_rejected").slice(0,120),c=Error("Refresh credential rejected; re-authentication required.");return c.name="RefreshCredentialError",c.code=b,c.permanent=!0,c}function r(a){return e.Wu[a]||k}async function s(a,b,c,e){let f=d.xq[a];return f&&f.refreshUrl?b?o(a,b,async()=>{try{let c=await fetch(f.refreshUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:b,client_id:f.clientId,client_secret:f.clientSecret})});if(!c.ok){let b=await c.text();return z(b,c.status,e,a)}let d=await c.json();return e?.info?.("TOKEN_REFRESH",`Successfully refreshed token for ${a}`,{hasNewAccessToken:!!d.access_token,hasNewRefreshToken:!!d.refresh_token,expiresIn:d.expires_in}),{accessToken:d.access_token,refreshToken:d.refresh_token||b,expiresIn:d.expires_in}}catch(b){return e?.error?.("TOKEN_REFRESH",`Error refreshing token for ${a}`,{error:b.message}),null}},e):(e?.warn?.("TOKEN_REFRESH",`No refresh token available for provider: ${a}`),null):(e?.warn?.("TOKEN_REFRESH",`No refresh URL configured for provider: ${a}`),null)}async function t(a,b){return a?o("claude",a,async()=>{try{let c=await fetch(e.NA.anthropic.token,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({grant_type:"refresh_token",refresh_token:a,client_id:d.xq.claude.clientId})});if(!c.ok){let a=await c.text();return z(a,c.status,b,"Claude")}let f=await c.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Claude OAuth token",{hasNewAccessToken:!!f.access_token,expiresIn:f.expires_in}),{accessToken:f.access_token,refreshToken:f.refresh_token||a,expiresIn:f.expires_in}}catch(a){return b?.error?.("TOKEN_REFRESH",`Network error refreshing Claude token: ${a.message}`),null}},b):null}async function u(a,b,c,d){return a?o(`google:${b}`,a,async()=>{try{let f=await fetch(e.NA.google.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:a,client_id:b,client_secret:c})});if(!f.ok){let a=await f.text();return z(a,f.status,d,"Google")}let g=await f.json();return d?.info?.("TOKEN_REFRESH","Successfully refreshed Google token",{hasNewAccessToken:!!g.access_token,expiresIn:g.expires_in}),{accessToken:g.access_token,refreshToken:g.refresh_token||a,expiresIn:g.expires_in}}catch(a){return d?.error?.("TOKEN_REFRESH",`Network error refreshing Google token: ${a.message}`),null}},d):null}async function v(a,b){return a?o("qwen",a,async()=>{let c=e.NA.qwen.token;try{let e=await fetch(c,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:a,client_id:d.xq.qwen.clientId})});if(200===e.status){let c=await e.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Qwen token",{hasNewAccessToken:!!c.access_token,hasNewRefreshToken:!!c.refresh_token,expiresIn:c.expires_in}),{accessToken:c.access_token,refreshToken:c.refresh_token||a,expiresIn:c.expires_in,providerSpecificData:c.resource_url?{resourceUrl:c.resource_url}:void 0}}{let a=await e.text().catch(()=>"");return z(a,e.status,b,"Qwen")}}catch(a){b?.warn?.("TOKEN_REFRESH","Network error trying Qwen endpoint",{error:a.message})}return b?.error?.("TOKEN_REFRESH","Failed to refresh Qwen token"),null},b):null}async function w(a,b,c="codebuddy"){return a?o(c,a,async()=>{try{let e=d.xq[c]||d.xq.codebuddy,g=e.refreshUrl,i=e.domain||"www.codebuddy.ai",j=await (0,f.proxyAwareFetch)(g,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":h.C,"X-Requested-With":"XMLHttpRequest","X-Domain":i,"X-Refresh-Token":a,"X-Auth-Refresh-Source":"plugin","X-Product":"SaaS"},body:"{}"});if(!j.ok){let a=await j.text().catch(()=>"");return z(a,j.status,b,c)}let k=await j.json(),l=k?.data||k,m=l?.accessToken||l?.access_token;if(!m)return null;return{accessToken:m,refreshToken:l?.refreshToken||l?.refresh_token||a,expiresIn:l?.expiresIn||l?.expires_in||86400}}catch(a){return b?.error?.("TOKEN_REFRESH",`Error refreshing token for ${c}`,{error:a.message}),null}},b):null}function x(a="",b=0){let c=null;try{c=a?JSON.parse(a):null}catch{c=null}let d=c?.error&&"object"==typeof c.error?c.error:null,e=d?.code||d?.type||("string"==typeof c?.error?c.error:"")||c?.error_code||"",f=d?.message||d?.error_description||c?.error_description||c?.message||a||"",g=`${e} ${f}`.toLowerCase(),h=400===b||401===b||["refresh_token_expired","refresh_token_reused","refresh_token_invalidated","invalid_refresh_token","invalid_grant"].some(a=>g.includes(a));return{status:b,code:e,description:f,permanent:h}}function y(a,b){let c="string"==typeof a?a.trim():"";return/^[a-zA-Z0-9_.:-]{1,120}$/.test(c)?c:`HTTP_${Number(b)||0}`}function z(a,b,c,d){let e=x(a,b),f=y(e.code,b);return c?.error?.("TOKEN_REFRESH",`${d} OAuth refresh failed`,{status:b,code:f,permanent:e.permanent}),e.permanent?{error:"unrecoverable_refresh_error",code:f}:null}function A(a,b,c,d){let e=function(a="",b=0){let c=null;try{c=a?JSON.parse(a):null}catch{c=null}let d=c?.error&&"object"==typeof c.error?c.error:c,e=[d?.reason,c?.reason,d?.code,c?.code,d?.errorCode,c?.errorCode,d?.type,c?.type,d?.__type,c?.__type,"string"==typeof c?.error?c.error:""].filter(a=>("string"==typeof a||"number"==typeof a)&&String(a).trim()),f=e.map(a=>String(a).trim()).find(a=>/^[A-Za-z0-9_.:#/-]{1,200}$/.test(a)&&!/^aor[A-Za-z0-9._~+/=-]{8,}$/.test(a)&&!/^eyJ[A-Za-z0-9_-]{8,}\./.test(a))||null,g=[d?.message,d?.Message,d?.error_description,c?.message,c?.Message,c?.error_description,c?"":a].find(a=>"string"==typeof a&&a.trim())||"",h=e.map(a=>String(a).replace(/([a-z0-9])([A-Z])/g,"$1_$2").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")),i=["invalid_grant","invalid_grant_exception","invalid_refresh_token","refresh_token_expired","refresh_token_revoked","refresh_token_reused","refresh_token_invalidated","expired_token","token_revoked","invalid_token","invalid_token_exception","invalid_client","invalid_client_exception","unauthorized_client"],j=h.some(a=>{let b=a.replace(/_exception$/,"");return i.some(a=>b===a||b.endsWith(`_${a}`))}),k=g.toLowerCase().slice(0,4e3),l=400===b||401===b||j||/\binvalid[_ -]?grant\b/.test(k)||/\brefresh token\b.{0,60}\b(?:expired|invalid|revoked|reused|disabled)\b/.test(k)||/\b(?:expired|invalid|revoked|reused|disabled)\b.{0,60}\brefresh token\b/.test(k);return{status:b,code:f,permanent:l}}(b,a.status);c?.error?.("TOKEN_REFRESH",`Kiro ${d} refresh failed`,{status:a.status,code:e.code,permanent:e.permanent});let f=Error(e.permanent?"Kiro refresh credential rejected":"Kiro refresh temporarily unavailable");throw f.name=e.permanent?"KiroRefreshCredentialError":"KiroRefreshTransientError",f.status=a.status,f.code=e.code,f.permanent=e.permanent,f}function B(a,b){a?.error?.("TOKEN_REFRESH",`Kiro ${b} refresh returned no access token`);let c=Error("Kiro refresh returned an invalid response");throw c.name="KiroRefreshTransientError",c.status=502,c.code="MISSING_ACCESS_TOKEN",c.permanent=!1,c}async function C(a,b){return a?o("codex",a,async()=>{try{let c=await fetch(e.NA.openai.token,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({client_id:d.xq.codex.clientId,grant_type:"refresh_token",refresh_token:a})});if(!c.ok){let a=await c.text();return x(a,c.status).permanent,z(a,c.status,b,"Codex")}let f=await c.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Codex token",{hasNewAccessToken:!!f.access_token,hasNewRefreshToken:!!f.refresh_token,hasIdToken:!!f.id_token,expiresIn:f.expires_in}),{accessToken:f.access_token,refreshToken:f.refresh_token||a,idToken:f.id_token,expiresIn:f.expires_in}}catch(a){return b?.error?.("TOKEN_REFRESH",`Network error refreshing Codex token: ${a.message}`),null}},b):null}async function D(a,b,c,e=null,h=null){return a?o("kiro",a,async h=>{let i=b?.authMethod,j=b?.clientId,k=b?.clientSecret,l=b?.region;if("external_idp"===i){let d;try{d=(0,g.uo)(a,b)}catch(a){return c?.warn?.("TOKEN_REFRESH",`Kiro external IdP refresh rejected: ${a.message}`),null}let i=await (0,f.proxyAwareFetch)(d.tokenEndpoint,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:d.body,signal:h},{...e,singleTransportAttempt:!0});if(!i.ok){let a=await i.text();return A(i,a,c,"external IdP")}let j=await i.json();return j?.access_token?{accessToken:j.access_token,refreshToken:j.refresh_token||a,expiresIn:j.expires_in,providerSpecificData:d.providerSpecificData}:B(c,"external IdP")}if(j&&k){let b="idc"===i&&l?`https://oidc.${l}.amazonaws.com/token`:"https://oidc.us-east-1.amazonaws.com/token",d=await (0,f.proxyAwareFetch)(b,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({clientId:j,clientSecret:k,refreshToken:a,grantType:"refresh_token"}),signal:h},{...e,singleTransportAttempt:!0});if(!d.ok){let a=await d.text();return A(d,a,c,"AWS")}let g=await d.json();return g?.accessToken?(c?.info?.("TOKEN_REFRESH","Successfully refreshed Kiro AWS token",{hasNewAccessToken:!!g.accessToken,expiresIn:g.expiresIn}),{accessToken:g.accessToken,refreshToken:g.refreshToken||a,expiresIn:g.expiresIn}):B(c,"AWS")}let m=await (0,f.proxyAwareFetch)(d.xq.kiro.tokenUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":"kiro-cli/2.12.2"},body:JSON.stringify({refreshToken:a}),signal:h},{...e,singleTransportAttempt:!0});if(!m.ok){let a=await m.text();return A(m,a,c,"social")}let n=await m.json();return n?.accessToken?(c?.info?.("TOKEN_REFRESH","Successfully refreshed Kiro social token",{hasNewAccessToken:!!n.accessToken,expiresIn:n.expiresIn}),{accessToken:n.accessToken,refreshToken:n.refreshToken||a,expiresIn:n.expiresIn}):B(c,"social")},c,h):null}async function E(a,b){return a?o("iflow",a,async()=>{let c=btoa(`${d.xq.iflow.clientId}:${d.xq.iflow.clientSecret}`),f=await fetch(e.NA.iflow.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json",Authorization:`Basic ${c}`},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:a,client_id:d.xq.iflow.clientId,client_secret:d.xq.iflow.clientSecret})});if(!f.ok)return z(await f.text(),f.status,b,"iFlow");let g=await f.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed iFlow token",{hasNewAccessToken:!!g.access_token,hasNewRefreshToken:!!g.refresh_token,expiresIn:g.expires_in}),{accessToken:g.access_token,refreshToken:g.refresh_token||a,expiresIn:g.expires_in}},b):null}async function F(a,b){return a?o("github",a,async()=>{let c={grant_type:"refresh_token",refresh_token:a,client_id:d.xq.github.clientId};d.xq.github.clientSecret&&(c.client_secret=d.xq.github.clientSecret);let f=await fetch(e.NA.github.token,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams(c)});if(!f.ok)return z(await f.text(),f.status,b,"GitHub");let g=await f.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed GitHub token",{hasNewAccessToken:!!g.access_token,hasNewRefreshToken:!!g.refresh_token,expiresIn:g.expires_in}),{accessToken:g.access_token,refreshToken:g.refresh_token||a,expiresIn:g.expires_in}},b):null}async function G(a,b){return a?o("copilot",a,async()=>{try{let c=await fetch("https://api.github.com/copilot_internal/v2/token",{headers:{Authorization:`token ${a}`,"User-Agent":e.x0.USER_AGENT,"Editor-Version":`vscode/${e.x0.VSCODE_VERSION}`,"Editor-Plugin-Version":`copilot-chat/${e.x0.COPILOT_CHAT_VERSION}`,Accept:"application/json","x-github-api-version":e.x0.API_VERSION}});if(!c.ok)return await c.body?.cancel?.().catch?.(()=>{}),b?.error?.("TOKEN_REFRESH","Copilot token refresh failed",{status:c.status}),null;let d=await c.json();return b?.info?.("TOKEN_REFRESH","Successfully refreshed Copilot token",{hasToken:!!d.token,expiresAt:d.expires_at}),{token:d.token,expiresAt:d.expires_at}}catch(a){return b?.error?.("TOKEN_REFRESH","Error refreshing Copilot token",{error:a.message}),null}},b):null}async function H(a,b,c){if(!b.refreshToken&&"vertex"!==a&&"vertex-partner"!==a)return null;switch(a){case"gemini-cli":case"antigravity":return u(b.refreshToken,d.xq[a].clientId,d.xq[a].clientSecret,c);case"claude":return t(b.refreshToken,c);case"codex":return C(b.refreshToken,c);case"qwen":return v(b.refreshToken,c);case"codebuddy":return w(b.refreshToken,c,"codebuddy");case"codebuddy-cn":return w(b.refreshToken,c,"codebuddy-cn");case"iflow":return E(b.refreshToken,c);case"github":return F(b.refreshToken,c);case"kiro":return D(b.refreshToken,b.providerSpecificData,c);case"xai":case"grok-cli":return j(b.refreshToken,c);case"vertex":case"vertex-partner":{let a=I(b.apiKey);if(!a)return null;return K(a,c)}default:return s(a,b.refreshToken,b,c)}}function I(a){if("string"!=typeof a)return null;try{let b=JSON.parse(a);if("service_account"===b.type&&b.client_email&&b.private_key&&b.project_id)return b;return null}catch{return null}}let J=new Map;async function K(a,b){let d=a.client_email,e=J.get(d);if(e&&e.expiresAt-Date.now()>3e5)return{accessToken:e.token,expiresAt:e.expiresAt};try{let{SignJWT:e,importPKCS8:f}=await Promise.all([c.e(6935),c.e(8971)]).then(c.bind(c,8971));b?.debug?.("TOKEN_REFRESH",`Vertex minting token for ${a.client_email}`);let g=await f(a.private_key.replace(/\\n/g,"\n"),"RS256"),h=Math.floor(Date.now()/1e3),i=await new e({scope:"https://www.googleapis.com/auth/cloud-platform"}).setProtectedHeader({alg:"RS256"}).setIssuer(a.client_email).setAudience("https://oauth2.googleapis.com/token").setIssuedAt(h).setExpirationTime(h+3600).sign(g),j=await fetch("https://oauth2.googleapis.com/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:i})});if(!j.ok){let a=await j.text();return b?.error?.("TOKEN_REFRESH",`Vertex token mint failed: ${a}`),null}let{access_token:k,expires_in:l}=await j.json(),m=Date.now()+(l??3600)*1e3;return J.set(d,{token:k,expiresAt:m}),b?.info?.("TOKEN_REFRESH",`Vertex token minted for ${a.client_email}`),{accessToken:k,expiresAt:m}}catch(a){return b?.error?.("TOKEN_REFRESH",`Vertex token error: ${a.message}`),null}}async function L(a,b=3,c=null,d=null){let e=()=>{let a=Error("Request aborted");return a.name="AbortError",a},f=a=>d?d.aborted?Promise.reject(e()):new Promise((b,c)=>{let f,g=()=>{clearTimeout(f),d.removeEventListener("abort",g),c(e())};f=setTimeout(()=>{d.removeEventListener("abort",g),b()},a),d.addEventListener("abort",g,{once:!0})}):new Promise(b=>setTimeout(b,a));for(let g=0;g<b;g++){if(d?.aborted)throw e();if(g>0){let a=1e3*g;c?.debug?.("TOKEN_REFRESH",`Retry ${g}/${b} after ${a}ms`),await f(a)}try{let b=await a();if(p(b))throw q(b);if(b)return b}catch(a){if(d?.aborted||a?.name==="AbortError")throw e();if(a?.permanent===!0)throw a;c?.warn?.("TOKEN_REFRESH",`Attempt ${g+1}/${b} failed: ${a.message}`)}}return c?.error?.("TOKEN_REFRESH",`All ${b} retry attempts failed`),null}},18080:(a,b,c)=>{c.d(b,{Xj:()=>i,uo:()=>j});let d=new Set(["login.microsoftonline.com","login.microsoft.com","login.windows.net"]);function e(a){return"string"==typeof a?a.trim():""}function f(a){let b,c=e(a);if(!c)throw Error("token_endpoint is required");try{b=new URL(c)}catch{throw Error("token_endpoint must be a valid URL")}if("https:"!==b.protocol)throw Error("token_endpoint must use https");if(!d.has(b.hostname.toLowerCase()))throw Error("token_endpoint must be a Microsoft login endpoint");return b.toString()}function g(a){return Array.isArray(a)?a.map(e).filter(Boolean).join(" "):e(a)}function h(a){try{if(!a||"string"!=typeof a)return null;let b=a.split(".");if(3!==b.length)return null;let c=b[1].replace(/-/g,"+").replace(/_/g,"/"),d=(4-c.length%4)%4;return JSON.parse(Buffer.from(`${c}${"=".repeat(d)}`,"base64").toString("utf8"))}catch{return null}}function i(a){let b=a;if("string"==typeof b)try{b=JSON.parse(b)}catch{throw Error("CLIProxyAPI auth JSON is invalid")}if(!b||"object"!=typeof b)throw Error("CLIProxyAPI auth JSON is required");let c=e(b.auth_method||b.authMethod);if(c&&"external_idp"!==c)throw Error("Only external_idp Kiro auth is supported by this importer");let d=e(b.access_token||b.accessToken),i=e(b.refresh_token||b.refreshToken),j=e(b.client_id||b.clientId),k=f(b.token_endpoint||b.tokenEndpoint),l=e(b.profile_arn||b.profileArn),m=e(b.region)||"us-east-1",n=g(b.scopes||b.scope);if(!d)throw Error("access_token is required");if(!i)throw Error("refresh_token is required");if(!j)throw Error("client_id is required");if(!n)throw Error("scopes is required");if(!l)throw Error("profile_arn is required");let o=h(d),p=b.email||o?.email||o?.preferred_username||o?.upn||o?.sub||null;return{accessToken:d,refreshToken:i,expiresAt:function(a){let b=a.expired||a.expires_at||a.expiresAt;if(b){let a=new Date(b).getTime();if(Number.isFinite(a))return new Date(a).toISOString()}let c=Number(a.expires_in||a.expiresIn||0);if(Number.isFinite(c)&&c>0)return new Date(Date.now()+1e3*c).toISOString();let d=h(a.access_token||a.accessToken);return d?.exp?new Date(1e3*d.exp).toISOString():new Date(Date.now()+36e5).toISOString()}(b),email:p,providerSpecificData:{profileArn:l,region:m,authMethod:"external_idp",provider:"CLIProxyAPI",clientId:j,tokenEndpoint:k,scope:n}}}function j(a,b={}){let c=e(b.clientId||b.client_id),d=f(b.tokenEndpoint||b.token_endpoint),h=g(b.scope||b.scopes);if(!a)throw Error("refresh token is required");if(!c)throw Error("clientId is required for external_idp refresh");if(!h)throw Error("scope is required for external_idp refresh");return{tokenEndpoint:d,body:new URLSearchParams({grant_type:"refresh_token",client_id:c,refresh_token:a,scope:h}),providerSpecificData:{...b,authMethod:"external_idp",clientId:c,tokenEndpoint:d,scope:h}}}}};
@@ -1,10 +0,0 @@
1
- "use strict";exports.id=7634,exports.ids=[7634],exports.modules={15626:(a,b,c)=>{c.d(b,{buildClineHeaders:()=>f,resolveClineCredential:()=>e});let d=c(39006).version||"0.0.0";function e(a){let b="string"==typeof a?.apiKey?a.apiKey.trim():"";return b?{token:b,isApiKey:!0}:{token:a?.accessToken,isApiKey:!1}}function f(a,b={},c={}){let e=function(a,b={}){let c=function(a,{isApiKey:b=!1}={}){if("string"!=typeof a)return"";let c=a.trim();return c?b||c.startsWith("workos:")?c:`workos:${c}`:""}(a,b);return c?`Bearer ${c}`:""}(a,c),g={"HTTP-Referer":"https://cline.bot","X-Title":"Cline","User-Agent":`ZevaiRouter/${d}`,"X-PLATFORM":process.platform||"unknown","X-PLATFORM-VERSION":process.version||"unknown","X-CLIENT-TYPE":"zevairouter","X-CLIENT-VERSION":d,"X-CORE-VERSION":d,"X-IS-MULTIROOT":"false",...b};return e&&(g.Authorization=e),g}},21031:(a,b,c)=>{c.d(b,{iC:()=>m,zh:()=>i});var d=c(77598),e=c(39609),f=c(30022);let g=new Map,h=new Map;function i(a){return"string"==typeof a&&/^pt-.+/.test(a)&&a.length>6}async function j(a,b){try{let c=await (0,e.proxyAwareFetch)(f._G,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":"qodercli/1.0.0"},signal:b.signal},b.proxyOptions);if(!c.ok)return"";let d=await c.json().catch(()=>null);return d?.id||d?.userId||d?.user_id||""}catch{return""}}async function k(a,b){let c=await (0,e.proxyAwareFetch)(f.OQ,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":"qodercli/1.0.0","Cosy-Version":f.cT,"Cosy-ClientType":f.Ty},body:JSON.stringify({personal_token:a}),signal:b.signal},b.proxyOptions);if(!c.ok){let a=Error(`Qoder PAT exchange failed with HTTP ${c.status}`);throw a.status=c.status,a.code=401===c.status||403===c.status?"QODER_PAT_REJECTED":"QODER_PAT_EXCHANGE_FAILED",a}let d=await c.json().catch(()=>null),g=d?.token||d?.access_token;if("string"!=typeof g||!g.startsWith("jt-")){let a=Error("Qoder PAT exchange returned an invalid job token");throw a.code="QODER_JOB_TOKEN_INVALID",a}let h=d.userId||d.user_id||await j(g,b);return{accessToken:g,userId:h||"",expiresAt:function(a,b){if(a?.expires_at){let b=Date.parse(a.expires_at);if(Number.isFinite(b))return b}let c=Number(a?.expires_in);return Number.isFinite(c)&&c>0?b+1e3*c:null}(d,Date.now())}}async function l(a,b){let c=(0,d.createHash)("sha256").update(`qoder-pat:${a}`).digest("hex"),e=g.get(c);if(e&&e.expiresAt-Date.now()>3e5)return e;if(h.has(c))return h.get(c);let f=k(a,b).then(a=>(Number.isFinite(a.expiresAt)&&g.set(c,a),a)).finally(()=>{h.get(c)===f&&h.delete(c)});return h.set(c,f),f}async function m(a,b={}){let c=a?.apiKey||a?.accessToken;if(!i(c))return a;let d=await l(c,b);return{...a,apiKey:void 0,accessToken:d.accessToken,providerSpecificData:{...a.providerSpecificData||{},authMethod:"pat",userId:d.userId||a.providerSpecificData?.userId||"",machineId:a.providerSpecificData?.machineId||""}}}},30022:(a,b,c)=>{c.d(b,{Ab:()=>o,KC:()=>n,NH:()=>t,OQ:()=>k,RB:()=>A,Ty:()=>w,Y6:()=>r,_G:()=>i,bb:()=>e,bg:()=>h,cT:()=>v,iu:()=>s,j9:()=>f,o8:()=>q,pM:()=>z,pr:()=>B,qk:()=>x,rf:()=>g,t6:()=>p,xG:()=>y,xQ:()=>u,x_:()=>j});let d="https://openapi.qoder.sh",e="https://api3.qoder.sh",f="https://api2.qoder.sh",g="https://qoder.com/device/selectAccounts",h=`${d}/api/v1/deviceToken/poll`,i=`${d}/api/v1/userinfo`,j=`${d}/api/v2/quota/usage`,k=`${d}/api/v1/jobToken/exchange`,l="/api/v2/service/pro/sse/agent_chat_generation",m=`${e}/algo${l}?FetchKeys=llm_model_result&AgentId=agent_common`,n=`${m}&Encode=1`,o=`${f}/algo${l}?FetchKeys=llm_model_result&AgentId=agent_common&Encode=1`,p=`${e}/algo/api/v2/model/list`,q="/api/v2/image/upload",r=524288,s=6291456,t=.15,u="QODER_CONTEXT_TIER",v="1.0.0",w="5",x="disagree",y="v2",z="x86_64_windows",A="5",B=`-----BEGIN PUBLIC KEY-----
2
- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA8iMH5c02LilrsERw9t6Pv5Nc
3
- 4k6Pz1EaDicBMpdpxKduSZu5OANqUq8er4GM95omAGIOPOh+Nx0spthYA2BqGz+l
4
- 6HRkPJ7S236FZz73In/KVuLnwI8JJ2CbuJap8kvheCCZpmAWpb/cPx/3Vr/J6I17
5
- XcW+ML9FoCI6AOvOzwIDAQAB
6
- -----END PUBLIC KEY-----`},39006:a=>{a.exports=JSON.parse('{"name":"zevairouter","version":"1.1.32","description":"Self-hosted AI router: many providers, one OpenAI-compatible /v1 endpoint and dashboard","bin":{"zevai":"cli/cli.js"},"files":["cli/cli.js","cli/app/","cli/hooks/","cli/src/","cli/package.json","cli/README.md","cli/LICENSE","scripts/start-standalone.mjs","README.md","README.zh-CN.md","DOCKER.md","LICENSE","CHANGELOG.md"],"scripts":{"dev":"next dev --webpack --port 1997","build":"node scripts/build-app.mjs","start":"node ./scripts/start-standalone.mjs","dev:bun":"bun --bun next dev --webpack --port 1997","build:bun":"bun --bun next build --webpack","start:bun":"bun ./.next/standalone/server.js","lint":"eslint .","test":"vitest run --config tests/vitest.config.js","build:cli":"node cli/scripts/build-cli.js","audit:package":"node cli/scripts/audit-package.mjs","smoke:package":"node cli/scripts/smoke-package.mjs","verify:mobile-scroll":"node cli/scripts/verify-dashboard-mobile-scroll.mjs","candidate:build":"node cli/scripts/local-candidate.mjs build","candidate:install":"node cli/scripts/local-candidate.mjs install","candidate:status":"node cli/scripts/local-candidate.mjs status","candidate:rollback":"node cli/scripts/local-candidate.mjs rollback","release":"node cli/scripts/release.js","prepack":"npm run build:cli && npm run audit:package","postinstall":"node cli/hooks/postinstall.js"},"dependencies":{"@node-saml/node-saml":"5.1.0","next":"16.4.2","node-machine-id":"1.1.12","react":"19.2.4","react-dom":"19.2.4","sql.js":"1.14.1","yaml":"2.9.0"},"comment_optional_runtime":"Optional packages are installed into ~/.zevai/runtime instead of the published tarball. Automation uses CloakBrowser with playwright-core; ZEVAI_MINIMAL_POSTINSTALL=1 skips its browser download. Other lazy runtimes are better-sqlite3, node-pty, and systray2.","overrides":{"body-parser":"^2.3.0","brace-expansion":"5.0.12","dompurify":"^3.4.12","ip-address":"^10.4.0","js-yaml":"4.3.2","nanoid":"^3.3.18","postcss":"^8.5.10","sharp":"0.35.5"},"comment_overrides":"Security floors for transitive dependencies. ESLint\'s legacy minimatch is a private, source-pinned 3.1.5 compatibility package backed by brace-expansion 5.0.9; modern minimatch and nanoid use fixed floors directly. Monaco still pins an old DOMPurify; Express, Next, ESLint, and image processing dependencies may resolve vulnerable body-parser, js-yaml, or sharp releases. Recheck and remove overrides once parent packages require fixed versions.","devDependencies":{"@dnd-kit/core":"^6.3.1","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@monaco-editor/react":"^4.7.0","@tailwindcss/postcss":"^4.1.18","@xterm/addon-fit":"^0.11.0","@xterm/addon-web-links":"^0.12.0","@xterm/xterm":"^6.0.0","@xyflow/react":"^12.10.1","bcryptjs":"^3.0.3","better-sqlite3":"^12.6.2","chalk":"^4.1.2","confbox":"^0.2.4","dompurify":"^3.4.12","esbuild":"^0.28.1","eslint":"^9","eslint-config-next":"16.4.2","express":"^5.2.1","jose":"^6.1.3","marked":"^18.0.1","material-symbols":"^0.45.1","minimatch":"file:vendor/minimatch3-secure","monaco-editor":"^0.55.1","node-forge":"^1.3.3","open":"^11.0.0","ora":"^9.1.0","postcss":"^8.5.10","prop-types":"^15.8.1","react-is":"^19.2.7","recharts":"^3.7.0","selfsigned":"^5.5.0","socks":"^2.8.9","socks-proxy-agent":"^10.1.0","tailwindcss":"^4","typescript":"6.0.3","undici":"^8.10.0","uuid":"^14.0.1","vitest":"4.1.11","zustand":"^5.0.10"},"engines":{"node":">=22.5.0"},"keywords":["zevairouter","zevai","ai","router","proxy","kiro","codebuddy","claude","openai","api","quota","automation"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Verifiedlabs/zevairouter.git"},"bugs":{"url":"https://github.com/Verifiedlabs/zevairouter/issues"},"homepage":"https://github.com/Verifiedlabs/zevairouter"}')},53225:(a,b,c)=>{c.d(b,{EV:()=>m,X5:()=>l});var d=c(55511),e=c(39609),f=c(78085),g=c(21031),h=c(30022);let i=new Map,j=new Map;async function k(a,b,c=null){let d,g,i={userId:(g=a?.providerSpecificData||{}).userId,authToken:a.accessToken,name:a.displayName||"",email:a.email||"",machineId:g.machineId||""};if(!i.userId||!i.authToken)return null;let j=String(i.authToken).startsWith("jt-")?`${h.j9}/algo/api/v2/model/list`:h.t6,l={Accept:"application/json","Accept-Encoding":"identity",...(0,f.d)(Buffer.alloc(0),j,i)},m=new AbortController,n=null,o=null;try{n=setTimeout(()=>m.abort("timeout"),15e3),b&&"function"==typeof b.addEventListener&&(b.aborted?m.abort(b.reason):(o=()=>m.abort(b.reason),b.addEventListener("abort",o))),d=await (0,e.proxyAwareFetch)(j,{method:"GET",headers:l,signal:m.signal},c)}finally{n&&clearTimeout(n),b&&o&&b.removeEventListener("abort",o)}if(!d.ok)return null;let p=await d.json().catch(()=>null);if(!p||!Array.isArray(p.chat))return null;let q=[],r=new Map;for(let a of p.chat){if(!a||"object"!=typeof a)continue;let b=a.key;if(!b||(r.set(b,a),!1===a.enable))continue;let c=a.display_name||b,d=Number(a.max_input_tokens)||131072;q.push({id:b,name:`${c}`,contextLength:d,isVL:!!a.is_vl,isReasoning:!!a.is_reasoning,maxOutputTokens:Number(a.max_output_tokens)||0,description:a.description||""})}return{models:q,rawConfigs:r}}async function l(a,b,c={}){let d=await m(a,c);if(!d)return null;let e=d.rawConfigs.get(b);return e?{...e,key:b}:null}async function m(a,b={}){var c;let e,f;try{e=await (0,g.iC)(a,b)}catch(a){return b.log?.warn?.("QODER","PAT exchange failed",{code:a?.code||null,status:a?.status||null}),null}if(!e?.accessToken||!(e.providerSpecificData||{}).userId)return null;let h=(c=e,f=(c?.providerSpecificData||{}).userId||c?.refreshToken||c?.accessToken||"anonymous",(0,d.createHash)("sha256").update(`qoder:${f}`).digest("hex")),l=Date.now();if(!b.forceRefresh){let a=i.get(h);if(a&&a.expiresAt>l)return a}let n=j.get(h);if(n&&!b.forceRefresh)return n;let o=(async()=>{let a=await k(e,b.signal,b.proxyOptions);if(!a)return null;let c={expiresAt:Date.now()+36e5,models:a.models,rawConfigs:a.rawConfigs,fetched:!0};return i.set(h,c),c})();j.set(h,o);try{return await o}finally{j.get(h)===o&&j.delete(h)}}},78085:(a,b,c)=>{c.d(b,{d:()=>i});var d=c(55511),e=c.n(d),f=c(47293),g=c(30022);function h(a){return e().createHash("md5").update(a).digest("hex")}function i(a,b,c){var d;let i,j;if(!c?.userId)throw Error("cosy: user id is empty");if(!c?.authToken)throw Error("cosy: auth token is empty");let k=Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"latin1"):Buffer.from(a||[]),{cosyKey:l,info:m}=(d={uid:c.userId,security_oauth_token:c.authToken,name:c.name||"",aid:"",email:c.email||""},i=(0,f.A)().slice(0,16),j=function(a,b){var c;let d,f,g=Buffer.from(b,"utf8");if(16!==g.length)throw Error(`aes key must be 16 bytes, got ${g.length}`);let h=g.subarray(0,16),i=e().createCipheriv("aes-128-cbc",g,h);i.setAutoPadding(!1);let j=(d=16-(c=Buffer.from(a,"utf8")).length%16,f=Buffer.alloc(c.length+d,d),c.copy(f,0),f);return Buffer.concat([i.update(j),i.final()]).toString("base64")}(JSON.stringify(d),i),{cosyKey:e().publicEncrypt({key:g.pr,padding:e().constants.RSA_PKCS1_PADDING},Buffer.from(i,"utf8")).toString("base64"),info:j}),n=String(Math.floor(Date.now()/1e3)),o=JSON.stringify({version:"v1",requestId:(0,f.A)(),info:m,cosyVersion:g.cT,ideVersion:""}),p=Buffer.from(o,"utf8").toString("base64"),q=function(a){let b;try{b=new URL(a).pathname||""}catch{return""}return b.startsWith("/algo")?b.slice(5):b}(b),r=`${p}
7
- ${l}
8
- ${n}
9
- ${k.toString("latin1")}
10
- ${q}`,s=h(Buffer.from(r,"latin1")),t=c.machineId||(0,f.A)(),u=h(k),v=String(k.length);return{Authorization:`Bearer COSY.${p}.${s}`,"Cosy-Key":l,"Cosy-User":c.userId,"Cosy-Date":n,"Cosy-Version":g.cT,"Cosy-Machineid":t,"Cosy-Machinetoken":t,"Cosy-Machinetype":g.RB,"Cosy-Machineos":g.pM,"Cosy-Clienttype":g.Ty,"Cosy-Clientip":"127.0.0.1","Cosy-Bodyhash":u,"Cosy-Bodylength":v,"Cosy-Sigpath":q,"Cosy-Data-Policy":g.qk,"Cosy-Organization-Id":"","Cosy-Organization-Tags":"","Login-Version":g.xG,"X-Request-Id":(0,f.A)()}}}};
@@ -1 +0,0 @@
1
- self.__BUILD_MANIFEST=function(e,s,r,i){return{__rewrites:{afterFiles:[],beforeFiles:[{has:e,source:"/v1/v1/:path*",destination:s},{has:e,source:"/v1/v1",destination:r},{has:e,source:"/codex/:path*",destination:"/api/v1/responses"},{has:e,source:"/v1/:path*",destination:s},{has:e,source:"/v1",destination:r}],fallback:[{has:e,source:"/providers/:provider.png",destination:i},{has:e,source:"/providers/:provider.svg",destination:i}]},__routerFilterStatic:{numItems:201,errorRate:1e-4,numBits:3854,numHashes:14,bitArray:[0,0,0,0,0,1,0,1,1,1,1,0,0,0,1,0,0,0,1,1,1,0,0,0,0,0,1,0,0,1,0,1,1,1,0,1,1,1,0,1,0,1,1,0,1,1,0,0,1,0,1,0,1,1,0,0,0,0,0,0,0,1,1,1,0,0,1,0,1,1,1,1,0,1,1,0,1,0,0,1,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,0,1,0,1,1,1,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,1,1,0,1,0,0,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,1,1,0,1,1,0,1,0,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,0,1,1,1,0,0,1,1,0,1,0,0,1,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,0,0,0,1,0,1,0,0,1,1,0,1,1,1,1,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,0,1,0,0,1,1,0,1,0,1,0,0,1,1,0,0,1,0,1,0,0,1,0,0,1,1,1,0,1,0,0,1,1,1,0,1,0,1,1,1,0,1,1,1,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,1,0,1,0,1,1,0,1,1,0,0,0,1,1,1,1,1,1,0,1,1,0,0,0,1,0,0,0,1,1,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,0,0,1,0,1,1,0,1,0,0,1,1,1,0,0,0,1,1,1,1,1,1,0,0,0,1,0,1,1,0,0,0,1,0,1,1,0,0,0,0,0,0,1,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,1,1,0,1,0,0,0,1,0,0,1,1,0,0,0,0,1,1,1,0,0,1,0,1,0,0,0,0,1,1,1,1,0,1,1,1,0,1,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,1,1,0,1,1,0,1,1,1,1,1,1,1,0,1,0,0,1,1,0,1,1,1,1,1,0,1,0,0,1,1,0,1,0,0,0,1,0,0,1,0,1,1,0,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,1,1,1,0,0,1,1,1,0,1,0,1,0,0,1,1,0,1,1,0,0,1,1,0,1,0,0,0,0,0,0,0,1,1,0,0,0,1,1,1,0,0,1,0,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,1,1,0,1,0,1,1,1,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,1,0,1,0,1,1,1,0,0,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,0,0,1,0,1,0,0,0,1,1,0,0,1,0,1,1,1,0,1,0,1,0,0,1,1,0,0,1,0,1,1,1,0,0,0,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,0,1,0,1,0,1,0,1,1,1,1,0,0,1,0,1,1,0,0,0,0,0,0,0,1,0,1,1,1,1,0,0,0,1,0,1,0,1,1,0,1,0,1,1,1,1,0,1,0,1,0,1,0,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,1,0,1,0,0,1,1,1,0,1,1,0,1,0,0,1,0,0,1,0,0,1,0,1,1,1,1,1,1,1,0,0,1,0,1,0,0,0,1,0,1,1,0,1,0,1,1,1,1,1,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,1,0,1,0,0,0,1,0,0,1,0,0,0,0,0,1,1,1,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,0,0,1,0,1,0,1,0,0,1,0,0,0,0,0,0,1,1,1,0,1,0,1,0,1,1,0,1,0,0,1,0,0,1,1,1,1,1,0,1,0,0,1,1,0,0,1,1,1,1,0,0,1,1,0,0,1,1,0,1,1,0,1,1,0,1,1,0,1,0,1,0,1,1,1,1,1,1,1,0,1,0,0,1,1,0,0,0,0,1,0,1,0,1,0,0,1,1,1,1,0,1,1,1,0,0,0,1,0,1,0,1,1,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,0,0,1,1,0,1,0,1,0,1,0,0,0,1,1,1,1,1,1,0,0,0,1,1,1,1,0,0,1,1,1,0,1,0,0,1,1,0,0,1,0,0,0,1,1,0,1,1,0,1,1,1,1,0,0,0,1,1,0,1,1,0,1,0,0,1,0,1,1,0,1,1,0,1,0,0,1,0,1,1,0,1,1,1,1,0,1,0,1,1,0,1,1,0,1,0,0,1,0,0,1,1,1,0,0,0,1,0,0,0,0,0,1,1,0,0,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,0,1,1,1,0,0,0,1,0,0,1,1,0,1,1,1,1,1,0,1,1,0,1,0,0,0,0,0,1,0,1,0,0,1,1,0,1,1,1,0,0,1,0,1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,1,1,1,0,1,0,1,1,1,0,1,0,1,0,0,1,1,0,1,1,1,0,0,0,0,1,0,1,1,0,1,0,0,1,1,1,1,1,0,0,1,1,0,0,0,0,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,0,1,0,0,0,1,0,0,0,1,0,1,1,1,1,1,0,1,1,0,1,0,0,0,0,1,1,1,0,0,1,0,0,1,0,1,1,1,0,0,0,1,1,0,0,1,1,1,1,1,0,1,1,1,1,0,1,1,0,1,0,1,0,1,0,1,1,1,1,1,1,0,1,0,0,1,0,0,0,0,0,0,1,0,0,1,0,1,0,1,1,1,1,1,0,0,1,0,1,1,1,1,0,0,0,0,0,0,0,1,1,1,0,1,0,0,1,0,0,1,0,0,0,0,1,0,1,0,1,0,0,0,0,1,0,1,0,0,1,0,1,1,0,0,0,1,1,1,1,0,1,0,1,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,0,1,0,1,1,1,1,0,1,0,1,1,0,0,0,0,1,0,1,1,1,0,1,0,0,1,0,1,1,1,0,0,1,0,0,1,0,0,1,0,0,0,1,1,1,1,1,0,1,1,1,1,0,1,1,1,0,0,0,1,1,1,0,1,0,1,0,1,0,0,0,0,0,1,1,1,0,0,1,1,0,1,0,1,1,1,0,0,1,0,1,1,1,1,0,1,0,1,0,1,1,0,1,1,0,0,0,1,0,0,1,1,0,1,0,1,0,1,1,0,0,0,1,1,1,1,0,0,0,1,0,0,0,1,0,1,0,0,1,1,0,1,0,1,1,1,0,1,1,0,1,1,0,1,1,1,0,0,0,1,1,1,0,1,0,1,0,1,0,1,0,0,0,0,1,1,0,1,0,1,0,0,0,1,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0,0,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,0,1,1,0,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,1,1,1,1,0,1,1,0,0,1,0,0,1,0,0,0,0,1,1,1,0,1,0,0,1,1,1,1,1,0,1,1,1,0,1,1,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,0,0,1,1,1,0,1,0,0,1,0,1,1,0,0,0,0,0,0,1,1,1,0,0,0,1,1,0,1,1,1,0,1,0,1,0,1,1,1,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,0,0,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,0,0,0,1,1,0,1,0,1,1,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,1,1,0,0,1,0,1,0,1,1,0,1,0,0,1,0,0,1,0,0,0,1,1,1,1,0,0,1,1,1,0,0,1,1,0,1,1,1,1,0,0,0,0,1,0,0,1,1,0,1,0,0,1,1,1,0,0,0,1,0,1,0,1,0,0,1,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0,1,0,0,1,1,0,1,0,1,0,0,1,0,1,1,0,0,0,0,0,1,1,1,0,0,0,0,0,1,0,1,1,0,1,0,0,0,0,0,1,0,1,1,0,0,1,1,0,1,1,0,0,0,0,0,1,0,1,0,1,0,1,0,0,0,0,1,0,1,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,0,1,1,0,0,0,1,1,0,1,1,1,0,0,0,1,0,1,0,0,0,0,1,0,0,1,0,1,1,1,1,1,0,0,1,1,1,0,0,0,1,0,0,0,0,1,1,0,0,1,0,0,0,0,1,1,1,1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,0,0,0,1,1,1,1,0,1,1,0,0,0,0,1,1,1,0,0,0,1,0,0,0,1,0,0,1,1,1,1,1,0,1,1,0,1,0,0,0,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,0,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,0,1,0,1,1,0,1,1,1,1,1,1,1,1,0,0,1,0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,1,1,0,1,1,1,1,1,0,0,0,0,1,1,0,1,0,1,0,0,1,1,0,1,1,1,1,1,1,0,0,0,0,0,1,1,0,0,0,0,1,0,1,0,0,1,1,1,1,1,1,0,0,0,1,0,0,1,0,0,0,1,1,0,0,1,0,0,0,1,0,1,1,1,0,0,0,0,0,1,0,1,1,1,1,0,0,0,0,0,1,1,0,0,1,1,0,0,1,1,1,0,1,0,0,1,1,1,1,0,1,1,1,0,0,0,0,1,0,1,1,0,1,0,0,1,0,0,0,1,1,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,1,0,0,1,0,0,0,1,1,1,1,0,0,1,0,0,0,0,1,1,1,0,0,1,1,0,0,1,1,0,1,0,0,0,1,1,0,0,1,1,1,1,0,1,1,1,0,1,1,0,0,0,1,0,1,1,1,1,0,0,0,1,0,1,0,1,1,1,1,1,0,1,1,1,0,0,1,1,0,1,1,1,0,1,1,0,0,1,0,0,0,0,1,0,0,1,0,0,1,0,0,1,1,0,1,0,1,0,1,1,0,1,1,1,1,0,0,1,0,0,0,0,0,0,1,0,0,0,1,1,1,0,1,1,0,1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,1,0,1,0,0,0,1,0,1,1,1,0,0,0,1,1,0,1,0,0,1,0,0,1,0,0,1,1,1,0,0,0,1,0,1,0,1,1,1,1,1,1,0,0,0,1,1,0,1,0,1,1,0,1,0,0,1,0,0,1,0,0,1,0,0,0,0,1,1,0,1,0,1,1,0,0,0,0,0,0,1,1,1,0,1,0,0,0,0,0,1,1,1,0,1,1,0,0,1,1,1,0,0,0,0,0,1,0,1,1,0,1,0,0,0,1,0,1,0,0,1,1,1,0,0,0,1,0,0,0,0,0,1,1,0,1,0,0,0,0,1,0,1,1,0,1,0,1,1,0,0,1,0,0,1,1,1,1,0,1,0,0,1,1,0,1,1,0,1,1,0,1,1,1,1,1,0,1,0,1,0,1,1,0,0,1,1,1,0,0,1,0,1,1,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,1,1,0,1,0,0,0,0,0,1,0,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,0,0,0,1,1,0,1,0,1,1,0,0,0,0,0,1,0,0,1,0,1,1,1,0,0,1,1,0,1,1,1,1,0,1,0,0,0,1,1,1,0,1,1,1,1,1,0,0,0,0,1,0,0,1,0,1,1,1,1,0,1,1,1,1,0,0,0,1,1,1,1,0,1,0,1,1,1,1,1,1,0,0,1,1,1,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,1,1,0,0,0,1,0,1,1,1,1,1,1,0,0,1,0,1,0,0,1,0,1,0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,0,1,1,1,1,0,1,0,0,0,1,1,1,0,0,1,1,1,1,0,0,0,1,1,1,0,1,1,0,0,0,0,0,1,0,0,0,1,1,1,1,1,0,0,1,0,0,1,1,0,1,1,1,1,0,1,1,1,0,0,0,0,0,1,1,0,1,0,1,1,1,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,0,0,0,0,0,1,0,1,1,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,1,1,1,1,1,1,1,0,1,0,1,0,0,0,1,1,1,1,0,0,0,0,0,1,1,0,1,1,0,1,0,0,0,0,0,0,1,1,0,0,1,1,1,1,0,1,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,1,0,1,0,1,0,1,0,0,0,0,0,1,0,1,1,1,1,1,0,0,0,0,0,1,0,0,1,1,1,0,0,0,1,0,0,0,0,1,0,1,0,0,1,1,1,1,0,0,1,1,1,0,1,0,0,1,1,0,1,1,0,1,0,0,0,1,0,1,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,0,1,1,1,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,1,0,1,0,1,1,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,1,0,0,0,0,0,1,1,0,1,0,1,1,0,1,1,0,0,0,0,0,1,0,1,1,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,0,1,1,0,0,1,0,1,0,0,1,1,0,0,0,0,1,1,1,0,0,1,0,0,1,0,0,0,0,0,1,1,1,0,1,0,0,0,0,0,0,0,1,1,1,0,0,0,1,0,0,0,0,1,1,0,0,0,0,1,1,0,1,1,0,1,1,0,0,1,0,1,1,1,1,1,0,0,0,1,1,0,1,0,0,0,0,1,0,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,1,1,0,0,0,0,1,0,0,0,1,1,0,1,1,0,1,1,0,1,1,1,1,1,0,1,1,0,0,0,1,1,1,1,0,1,0,1,0,0,1,0,0,1,1,1,1,0,0,1,0,0,0,0,1,1,1,1,0,0,1,0,0,1,0,1,1,1,1,1,0,0,0,0,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,1,1,1,0,1,0,0,1,1,1,0,0,1,1,1,0,1,0,0,0,0,1,1,0,0,0,1,1,0,1,0,0,1,1,0,1,0,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1,0,0,0,1,1,0,0,1,1,0,1,0,1,1,1,0,0,1,1,1,1,0,0,0,0,0,0,1,0,0,1,1,1,1,0,1,0,1,0,0,1,0,1,1,1,1,1,1,0,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,1,1,1,0,1,0,0,1,0,1,1,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,0,0,1,0,0,1,1,0,0,1,0,1,0,0,1,1,1,1,0,1,1,0,0,0,0,0,0,0,1,0,1,1,1,0,0,0,1,1,1,1,0,1,0,0,0,1,1,0,1,1,0,1,0,1,0,1,1,1,1,1,0,0,0,0,1,0,0,0,0,1,1,0,0,0,1,1,0,0,1,1,0,1,1,1,1,0,0,1,0,1,1,0,0,1,1,1,0,0,0,0,1,0,0,1,1,0,1,0,1,0]},__routerFilterDynamic:{numItems:28,errorRate:1e-4,numBits:537,numHashes:14,bitArray:[1,0,0,0,1,1,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,1,0,1,0,1,1,0,0,1,0,0,1,0,0,1,1,1,0,1,1,0,0,0,0,1,1,1,1,1,0,1,1,0,1,1,1,1,1,0,0,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,1,1,1,0,1,1,0,0,0,1,1,0,0,1,1,1,0,1,1,0,0,1,1,1,1,0,0,1,0,1,0,1,1,0,0,0,1,0,1,1,1,0,0,1,0,1,1,0,1,0,0,0,1,1,1,0,1,0,1,0,1,1,0,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,1,0,1,0,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,0,1,0,0,1,0,1,1,1,0,0,1,0,1,1,1,0,1,0,1,0,1,1,1,1,1,0,1,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1,0,1,0,0,1,1,0,1,0,1,1,0,1,1,0,1,1,0,1,0,1,1,1,1,0,0,1,1,0,0,0,0,0,0,1,0,0,1,1,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,1,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,1,0,0,1,1,1,1,0,0,0,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,0,0,0,0,1,1,1,1,0,0,0,1,0,1,1,1,1,1,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0,1,0,0,1,1,0,1,0,1,0,1,0,0,0,1,1,1,1,1,1,0,0,1,0,0,1,1,1,1,1,0,0,1,0,0,0,1,1,1,1,0,0,0,0,1,0,0,1,0,0,1,0,1,1,1,0,0,0,1,1,1,0,0,1,0,1,1,0,0,1,0,1,0,0,0,1,1,1,0,1,0,0,1,0,0,0,0,0,1,0,1,1,1,1,0,1,0,0,0,0,1,0,1,0,1,1,0,0,0,1,1,1,1,1,1,1,0,1,0,0,1,0,1,1,1,1,1,1,1,1,0,0,0,1,1,0,0,1,1,0,1,1,0,1,0]},sortedPages:["/_app"]}}(void 0,"/api/v1/:path*","/api/v1","/provider-icons/:provider"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -1,3 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2134],{28915:(e,t,s)=>{"use strict";s.d(t,{x6:()=>a.fetchJson,E2:()=>r,gs:()=>i});var a=s(68211);function r(e){if(!e)return null;let t=e.match(/\b([45]\d{2})\b/);return t?t[1]:"ERR"}function i(e){if(!e)return"";let t=Math.floor((Date.now()-new Date(e).getTime())/6e4);if(t<1)return"just now";if(t<60)return`${t}m ago`;let s=Math.floor(t/60);if(s<24)return`${s}h ago`;let a=Math.floor(s/24);return`${a}d ago`}},40068:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>Y});var a=s(95155),r=s(12115),i=s(73321),n=s(98500),l=s.n(n),o=s(5772),d=s(35497),c=s(52679);let u=["kiro","codebuddy","codebuddy-cn","qoder","antigravity","cloudflare-ai","grok-cli"];function m(e){return u.includes(String(e||""))}function p(e){let t=String(e||"").trim();return t&&m(t)?`/dashboard/automation?provider=${encodeURIComponent(t)}`:"/dashboard/automation"}var x=s(28777),h=s(11059),f=s(73006);let b=new Map;async function g(e){if(!e?.url||!e?.type)return[];let t=b.get(e.url);if(t&&Date.now()<t.expiresAt)return t.data;try{let t=new URLSearchParams({url:e.url,type:e.type}),s=await fetch(`/api/providers/suggested-models?${t}`);if(!s.ok)return[];let a=(await s.json()).data??[];return b.set(e.url,{data:a,expiresAt:Date.now()+6e5}),a}catch{return[]}}var y=s(70217),v=s(51716);let j=Object.freeze({oauth:Object.freeze({id:"oauth",label:"OAuth",icon:"lock",description:"Connect through the provider sign-in flow."}),apikey:Object.freeze({id:"apikey",label:"API Key",icon:"key",description:"Connect with an API key or provider credential."}),cookie:Object.freeze({id:"cookie",label:"Browser Cookie",icon:"cookie",description:"Connect with a signed-in browser session cookie."}),"quota-cookie":Object.freeze({id:"quota-cookie",label:"Quota Cookie",icon:"cookie",description:"Attach a web session so Quota Tracker can read credits."})}),w=Object.freeze({codebuddy:Object.freeze(["quota-cookie"]),iflow:Object.freeze(["cookie"])}),k=Object.freeze({qoder:Object.freeze({apikey:Object.freeze({label:"Qoder PAT"})}),xai:Object.freeze({oauth:Object.freeze({label:"Grok Build OAuth"}),apikey:Object.freeze({label:"xAI API Key"})})});function N(e,t){e.includes(t)||e.push(t)}var C=s(65921),S=s(14051),A=s.n(S);function $({model:e,fullModel:t,alias:s,copied:r,onCopy:i,testStatus:n,isCustom:l,isFree:o,onDeleteAlias:d,onTest:c,isTesting:u,onDisable:m,thinkingSuffix:p}){let x="ok"===n?"#22c55e":"error"===n?"#ef4444":void 0,h=p?`${t}(${p})`:t;return(0,a.jsx)("div",{className:`group min-w-0 max-w-full rounded-lg border px-3 py-2 ${"ok"===n?"border-green-500/40":"error"===n?"border-red-500/40":"border-border"} hover:bg-sidebar/50`,children:(0,a.jsxs)("div",{className:"flex min-w-0 items-start gap-2 sm:items-center",children:[(0,a.jsx)("span",{className:"material-symbols-outlined shrink-0 text-base",style:x?{color:x}:void 0,children:"ok"===n?"check_circle":"error"===n?"cancel":"smart_toy"}),(0,a.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[(0,a.jsx)("code",{className:"max-w-[72vw] truncate rounded bg-sidebar px-1.5 py-0.5 font-mono text-xs text-text-muted sm:max-w-[360px]",children:h}),e.name&&(0,a.jsx)("span",{className:"truncate pl-1 text-[9px] italic text-text-muted/70",children:e.name})]}),c&&(0,a.jsxs)("div",{className:"relative shrink-0 group/btn",children:[(0,a.jsx)("button",{onClick:c,disabled:u,className:`rounded p-0.5 text-text-muted transition-opacity hover:bg-sidebar hover:text-primary ${u?"opacity-100":"opacity-100 sm:opacity-0 sm:group-hover:opacity-100"}`,children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",style:u?{animation:"spin 1s linear infinite"}:void 0,children:u?"progress_activity":"science"})}),(0,a.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:u?"Testing...":"Test"})]}),(0,a.jsxs)("div",{className:"relative shrink-0 group/btn",children:[(0,a.jsx)("button",{onClick:()=>i(h,`model-${e.id}`),className:"rounded p-0.5 text-text-muted hover:bg-sidebar hover:text-primary",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:r===`model-${e.id}`?"check":"content_copy"})}),(0,a.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:r===`model-${e.id}`?"Copied!":"Copy"})]}),l?(0,a.jsx)("button",{onClick:d,className:"ml-auto rounded p-0.5 text-text-muted opacity-100 transition-opacity hover:bg-red-500/10 hover:text-red-500 sm:opacity-0 sm:group-hover:opacity-100",title:"Remove custom model",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"close"})}):m?(0,a.jsx)("button",{onClick:m,className:"ml-auto rounded p-0.5 text-text-muted opacity-100 transition-opacity hover:bg-red-500/10 hover:text-red-500 sm:opacity-0 sm:group-hover:opacity-100",title:"Disable this model",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"close"})}):null]})})}function T({models:e,modelAliases:t,providerStorageAlias:s,providerDisplayAlias:a}){let r={...t||{}},i=new Set(Object.values(r)),n=[];for(let t of Array.isArray(e)?e:[]){let e=function(e){if(!e)return"";if("string"==typeof e)return e.trim();let t=e.id||e.name||e.model;return"string"==typeof t?t.trim():""}(t);if(!e)continue;let l=`${s}/${e}`;if(i.has(l))continue;let o=function(e,t,s){let a=e.split("/"),r=a[a.length-1];if(!r)return"";if(!t[r])return r;let i=`${s}-${r}`;if(!t[i])return i;let n=2;for(;t[`${i}-${n}`];)n+=1;return`${i}-${n}`}(e,r,a);o&&(n.push({alias:o,model:l,modelId:e}),r[o]=l,i.add(l))}return n}function I({modelId:e,fullModel:t,copied:s,onCopy:r,onDeleteAlias:i,onTest:n,testStatus:l,isTesting:o}){let d="ok"===l?"#22c55e":"error"===l?"#ef4444":void 0;return(0,a.jsxs)("div",{className:`flex items-center gap-3 p-3 rounded-lg border ${"ok"===l?"border-green-500/40":"error"===l?"border-red-500/40":"border-border"} hover:bg-sidebar/50`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-base text-text-muted",style:d?{color:d}:void 0,children:"ok"===l?"check_circle":"error"===l?"cancel":"smart_toy"}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("p",{className:"text-sm font-medium truncate",children:e}),(0,a.jsxs)("div",{className:"flex items-center gap-1 mt-1",children:[(0,a.jsx)("code",{className:"text-xs text-text-muted font-mono bg-sidebar px-1.5 py-0.5 rounded",children:t}),(0,a.jsxs)("div",{className:"relative group/btn",children:[(0,a.jsx)("button",{onClick:()=>r(t,`model-${e}`),className:"p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:s===`model-${e}`?"check":"content_copy"})}),(0,a.jsx)("span",{className:"pointer-events-none absolute top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:s===`model-${e}`?"Copied!":"Copy"})]}),n&&(0,a.jsxs)("div",{className:"relative group/btn",children:[(0,a.jsx)("button",{onClick:n,disabled:o,className:"p-0.5 hover:bg-sidebar rounded text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",style:o?{animation:"spin 1s linear infinite"}:void 0,children:o?"progress_activity":"science"})}),(0,a.jsx)("span",{className:"pointer-events-none absolute top-5 left-1/2 -translate-x-1/2 text-[10px] text-text-muted whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:o?"Testing...":"Test"})]})]})]}),(0,a.jsx)("button",{onClick:i,className:"p-1 hover:bg-red-50 rounded text-red-500",title:"Remove model",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"delete"})})]})}function O({providerStorageAlias:e,providerDisplayAlias:t,modelAliases:s,copied:i,onCopy:n,onSetAlias:l,onDeleteAlias:o,onAliasesChanged:c,connections:u,isAnthropic:m}){let[p,x]=(0,r.useState)(""),[h,f]=(0,r.useState)(!1),[b,g]=(0,r.useState)(!1),[y,v]=(0,r.useState)(()=>new Set),[j,w]=(0,r.useState)({}),k=async t=>{let s=`${e}/${t}`;v(e=>new Set(e).add(t));try{let e=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:s})}),t=await e.json();w(e=>({...e,[s]:t.ok?"ok":"error"}))}catch{w(e=>({...e,[s]:"error"}))}finally{v(e=>{let s=new Set(e);return s.delete(t),s})}},N=Object.entries(s).filter(([,t])=>t.startsWith(`${e}/`)).map(([t,s])=>({modelId:s.replace(`${e}/`,""),fullModel:s,alias:t})),C=async()=>{if(!p.trim()||h)return;let a=p.trim(),[r]=T({models:[{id:a}],modelAliases:s,providerStorageAlias:e,providerDisplayAlias:t});if(!r)return void alert("This model already exists.");f(!0);try{await l(a,r.alias,e),x("")}catch(e){console.log("Error adding model:",e),alert(e?.message||`Failed to add model "${a}".`)}finally{f(!1)}},S=async()=>{if(b)return;let a=u.find(e=>!1!==e.isActive);if(a){g(!0);try{let r=await fetch(`/api/providers/${a.id}/models`),i=await r.json();if(!r.ok)return void alert(i.error||"Failed to import models");let n=i.models||[];if(0===n.length)return void alert("No models returned from /models.");let l=T({models:n,modelAliases:s,providerStorageAlias:e,providerDisplayAlias:t});if(0===l.length)return void alert("No new models were added.");let o=await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({aliases:l.map(({alias:e,model:t})=>({alias:e,model:t}))})}),d=await o.json();if(!o.ok)throw Error(d.error||"Failed to save imported models.");await c(),alert(`Successfully added ${d.count||l.length} models.`)}catch(e){console.log("Error importing models:",e),alert(e?.message||"Failed to import models from /models.")}finally{g(!1)}}},A=u.some(e=>!1!==e.isActive);return(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("p",{className:"text-sm text-text-muted",children:["Add ",m?"Anthropic":"OpenAI","-compatible models manually or import them from the /models endpoint."]}),(0,a.jsxs)("div",{className:"flex items-end gap-2 flex-wrap",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-[240px]",children:[(0,a.jsx)("label",{htmlFor:"new-compatible-model-input",className:"text-xs text-text-muted mb-1 block",children:"Model ID"}),(0,a.jsx)("input",{id:"new-compatible-model-input",type:"text",value:p,onChange:e=>x(e.target.value),onKeyDown:e=>"Enter"===e.key&&C(),placeholder:m?"claude-3-opus-20240229":"gpt-4o",className:"w-full px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})]}),(0,a.jsx)(d.$n,{size:"sm",icon:"add",onClick:C,disabled:!p.trim()||h,children:h?"Adding...":"Add"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"download",onClick:S,disabled:!A||b,children:b?"Importing...":"Import from /models"})]}),!A&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Add a connection to enable importing models."}),N.length>0&&(0,a.jsx)("div",{className:"flex flex-col gap-3",children:N.map(({modelId:s,fullModel:r,alias:l})=>(0,a.jsx)(I,{modelId:s,fullModel:`${t}/${s}`,copied:i,onCopy:n,onDeleteAlias:()=>o(l),onTest:u.length>0?()=>k(s):void 0,testStatus:j[`${e}/${s}`],isTesting:y.has(s)},r))})]})}$.propTypes={model:A().shape({id:A().string.isRequired}).isRequired,fullModel:A().string.isRequired,alias:A().string,copied:A().string,onCopy:A().func.isRequired,testStatus:A().oneOf(["ok","error"]),isCustom:A().bool,isFree:A().bool,onDeleteAlias:A().func,onTest:A().func,isTesting:A().bool,onDisable:A().func,thinkingSuffix:A().string},A().string.isRequired,A().string.isRequired,A().string,A().func.isRequired,A().func.isRequired,A().func,A().oneOf(["ok","error"]),A().bool,A().string.isRequired,A().object.isRequired,A().string,A().func.isRequired,A().func.isRequired,A().func.isRequired,O.propTypes={providerStorageAlias:A().string.isRequired,providerDisplayAlias:A().string.isRequired,modelAliases:A().object.isRequired,copied:A().string,onCopy:A().func.isRequired,onSetAlias:A().func.isRequired,onDeleteAlias:A().func.isRequired,onAliasesChanged:A().func.isRequired,connections:A().arrayOf(A().shape({id:A().string,isActive:A().bool})).isRequired,isAnthropic:A().bool};var E=s(81277);function P({until:e}){let[t,s]=(0,r.useState)("");return((0,r.useEffect)(()=>{let t=()=>{let t=new Date(e).getTime();if(!Number.isFinite(t))return void s("");let a=t-Date.now();if(a<=0)return void s("");let r=Math.floor(a/1e3);if(r<60)s(`${r}s`);else if(r<3600)s(`${Math.floor(r/60)}m ${r%60}s`);else{let e=Math.floor(r/3600),t=Math.floor(r%3600/60);s(`${e}h ${t}m`)}};t();let a=setInterval(t,1e3);return()=>clearInterval(a)},[e]),t)?(0,a.jsxs)("span",{className:"text-xs text-orange-500 font-mono",children:["⏱ ",t]}):null}function R({connection:e,proxyPools:t,isOAuth:s,isFirst:i,isLast:n,onMoveUp:l,onMoveDown:o,onToggleActive:c,onUpdateProxy:u,onEdit:m,onDelete:p,autoPingEnabled:x=!1,onToggleAutoPing:h,oneByOneStatus:f=null}){let[b,g]=(0,r.useState)(!1),[v,j]=(0,r.useState)(!1),w=(0,r.useRef)(null),k=(0,r.useMemo)(()=>new Map((t||[]).map(e=>[e.id,e])),[t]),N=(0,r.useMemo)(()=>t||[],[t]),C=e.providerSpecificData?.proxyPoolId||null,S=C?k.get(C):null,A=e.providerSpecificData?.connectionProxyEnabled===!0&&!!e.providerSpecificData?.connectionProxyUrl,$=!!C||A,T=S?`Pool: ${S.name}`:C?`Pool: ${C} (inactive/missing)`:A?`Legacy: ${e.providerSpecificData?.connectionProxyUrl}`:"",I="";if(S?.proxyUrl||e.providerSpecificData?.connectionProxyUrl){let t=S?.proxyUrl||e.providerSpecificData?.connectionProxyUrl;try{let e=new URL(t);I=`${e.protocol}//${e.hostname}${e.port?`:${e.port}`:""}`}catch{I=t}}let O=S?.noProxy||e.providerSpecificData?.connectionNoProxy||"",_="default";S?.isActive===!0?_="success":(C||A)&&(_="error"),(0,r.useEffect)(()=>{if(!b)return;let e=e=>{w.current&&!w.current.contains(e.target)&&g(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[b]);let q=async e=>{j(!0);try{await u("__none__"===e?null:e)}finally{j(!1),g(!1)}},D=e.authType||(s?"oauth":"apikey"),z="oauth"===D,U="cookie"===D,M=e=>"string"==typeof e&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),L=z?M(e.email)?e.email:M(e.name)?e.name:e.name||e.email||e.displayName||"OAuth Account":e.name||e.email||e.displayName||"API Key",F=(0,E.c)(e),J=null!==F,K="unavailable"!==e.testStatus||J?e.testStatus:"active",B=(0,y.d4)(e),V=!!e.quarantinedAt,G={policy_suspended:"Policy suspension",account_validation_required:"Account verification required",credential_rejected:"Credential rejected",reauth_required:"Sign-in required",authentication:"Repeated authentication failure"}[e.failureClass]||e.quarantineReason||"Account quarantined",H=Number.isFinite(Date.parse(e.quarantinedAt))?new Date(e.quarantinedAt).toLocaleString():e.quarantinedAt||null,Q=e.modelLockReason?.resetsAt,W=Number.isFinite(Date.parse(Q))?new Date(Q).toLocaleString():Q||null,Z=()=>f?"queued"===f.state?"queued":"testing"===f.state?"testing":"success"===f.state?"success":"failed"===f.state?f.error?`failed: ${f.error}`:"failed":null:null;return(0,a.jsxs)("div",{className:`group flex min-w-0 flex-col gap-3 rounded-lg p-2 transition-colors hover:bg-black/[0.02] dark:hover:bg-white/[0.02] sm:flex-row sm:items-center sm:justify-between ${!1===e.isActive&&!V?"opacity-60":""}`,children:[(0,a.jsxs)("div",{className:"flex min-w-0 flex-1 items-start gap-2 sm:items-center sm:gap-3",children:[(0,a.jsxs)("div",{className:"flex shrink-0 flex-col",children:[(0,a.jsx)("button",{onClick:l,disabled:i,className:`p-0.5 rounded ${i?"text-text-muted/30 cursor-not-allowed":"hover:bg-sidebar text-text-muted hover:text-primary"}`,children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"keyboard_arrow_up"})}),(0,a.jsx)("button",{onClick:o,disabled:n,className:`p-0.5 rounded ${n?"text-text-muted/30 cursor-not-allowed":"hover:bg-sidebar text-text-muted hover:text-primary"}`,children:(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"keyboard_arrow_down"})})]}),(0,a.jsx)("span",{className:"material-symbols-outlined shrink-0 text-base text-text-muted",children:U?"cookie":z?"lock":"key"}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("p",{className:"text-sm font-medium truncate",children:L}),(0,a.jsxs)("div",{className:"mt-1 flex min-w-0 flex-wrap items-center gap-1.5 sm:gap-2",children:[(0,a.jsx)(d.Ex,{variant:(()=>{if(!1===e.isActive)return"default";let t=(0,y.BU)(B);return"active"!==B.key?t:"active"===K||"success"===K?"success":"error"===K||"expired"===K||"unavailable"===K?"error":"default"})(),size:"sm",dot:!0,children:B.label||K||"unknown"}),(0,a.jsx)(d.Ex,{variant:"default",size:"sm",children:z?"OAuth":U?"Cookie":"API Key"}),V&&(0,a.jsx)(d.Ex,{variant:"error",size:"sm",children:"Quarantined"}),$&&(0,a.jsx)(d.Ex,{variant:_,size:"sm",children:"Proxy"}),e.autoDisabledAt&&!V&&(0,a.jsxs)("span",{className:"text-[10px] text-text-muted",children:["token_expired"===e.autoDisabledReason?"Token expired":"banned"===e.autoDisabledReason?"Banned":"quota_exhausted"===e.autoDisabledReason?"Quota exhausted":"Auto-disabled"," — ",new Date(e.autoDisabledAt).toLocaleDateString()]}),V&&(0,a.jsxs)("span",{className:"max-w-full truncate text-xs text-red-600 dark:text-red-400 sm:max-w-[420px]",title:`${e.quarantineReason||G}${H?` - ${H}`:""}`,children:[G,H?` - ${H}`:""]}),J&&!1!==e.isActive&&(0,a.jsx)(P,{until:F}),J&&e.modelLockReason&&!1!==e.isActive&&(0,a.jsxs)("span",{className:"max-w-full truncate text-xs text-amber-600 dark:text-amber-400 sm:max-w-[360px]",title:`${e.modelLockReason.reason}${W?` — resets ${W}`:""}`,children:[e.modelLockReason.model,e.modelLockReason.providerErrorCode?` (${e.modelLockReason.providerErrorCode})`:"",W?` — resets ${W}`:""]}),e.lastError&&!1!==e.isActive&&(0,a.jsx)("span",{className:"max-w-full truncate text-xs text-red-500 sm:max-w-[300px]",title:e.lastError,children:e.lastError}),(0,a.jsxs)("span",{className:"text-xs text-text-muted",children:["#",e.priority]}),e.globalPriority&&(0,a.jsxs)("span",{className:"text-xs text-text-muted",children:["Auto: ",e.globalPriority]}),Z()&&(0,a.jsx)(d.Ex,{variant:f?"success"===f.state?"success":"failed"===f.state?"error":"testing"===f.state?"primary":"default":"default",size:"sm",children:Z()})]}),$&&(0,a.jsxs)("div",{className:"mt-1 flex items-center gap-2 flex-wrap",children:[(0,a.jsx)("span",{className:"max-w-full truncate text-[11px] text-text-muted sm:max-w-[420px]",title:T,children:T}),I&&(0,a.jsx)("code",{className:"max-w-full truncate rounded bg-black/5 px-1 py-0.5 font-mono text-[10px] text-text-muted dark:bg-white/5 sm:max-w-[260px]",children:I}),O&&(0,a.jsxs)("span",{className:"max-w-full truncate text-[11px] text-text-muted sm:max-w-[320px]",title:O,children:["no_proxy: ",O]})]}),V&&!1===e.isActive&&(0,a.jsx)("p",{className:"mt-1 text-[11px] leading-relaxed text-text-muted",children:"Re-enable only permits router requests again; it does not change the account's upstream status."})]})]}),(0,a.jsxs)("div",{className:"flex w-full items-center justify-between gap-2 sm:w-auto sm:justify-end",children:[(0,a.jsxs)("div",{className:"grid flex-1 grid-cols-3 gap-1 sm:flex sm:flex-none",children:[N.length>0&&(0,a.jsxs)("div",{className:"relative",ref:w,children:[(0,a.jsxs)("button",{onClick:()=>g(e=>!e),className:`flex w-full flex-col items-center rounded px-2 py-1 transition-colors hover:bg-black/5 dark:hover:bg-white/5 ${$?"text-primary":"text-text-muted hover:text-primary"}`,disabled:v,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:v?"progress_activity":"lan"}),(0,a.jsx)("span",{className:"text-[10px] leading-tight",children:"Proxy"})]}),b&&(0,a.jsxs)("div",{className:"absolute right-0 top-full z-50 mt-1 max-w-[78vw] min-w-[160px] rounded-lg border border-border bg-bg py-1 shadow-lg",children:[(0,a.jsx)("button",{onClick:()=>q("__none__"),className:`w-full text-left px-3 py-1.5 text-sm hover:bg-black/5 dark:hover:bg-white/5 ${!C?"text-primary font-medium":"text-text-main"}`,children:"None"}),N.map(e=>(0,a.jsx)("button",{onClick:()=>q(e.id),className:`w-full text-left px-3 py-1.5 text-sm hover:bg-black/5 dark:hover:bg-white/5 ${C===e.id?"text-primary font-medium":"text-text-main"}`,children:e.name},e.id))]})]}),h&&(0,a.jsxs)("button",{onClick:()=>h(!x),className:`flex flex-col items-center rounded px-2 py-1 transition-colors hover:bg-black/5 dark:hover:bg-white/5 ${x?"text-primary":"text-text-muted hover:text-primary"}`,title:x?"Disable quota auto-ping for this account":"Warm the 5-hour quota window after reset with a tiny request",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"bolt"}),(0,a.jsx)("span",{className:"text-[10px] leading-tight",children:"Auto-ping"})]}),(0,a.jsxs)("button",{onClick:m,className:"flex flex-col items-center rounded px-2 py-1 text-text-muted hover:bg-black/5 hover:text-primary dark:hover:bg-white/5",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"edit"}),(0,a.jsx)("span",{className:"text-[10px] leading-tight",children:"Edit"})]}),(0,a.jsxs)("button",{onClick:p,className:"flex flex-col items-center rounded px-2 py-1 text-red-500 hover:bg-red-500/10",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"}),(0,a.jsx)("span",{className:"text-[10px] leading-tight",children:"Delete"})]})]}),(0,a.jsx)(d.lM,{size:"sm",checked:e.isActive??!0,onChange:c,title:e.isActive??!0?"Disable connection":V?"Re-enable routing only; upstream suspension or credential status is unchanged":"Enable connection"})]})]})}P.propTypes={until:A().string.isRequired},R.propTypes={connection:A().shape({id:A().string,name:A().string,email:A().string,displayName:A().string,modelLockUntil:A().string,testStatus:A().string,isActive:A().bool,lastError:A().string,failureClass:A().string,quarantinedAt:A().string,quarantineReason:A().string,priority:A().number,globalPriority:A().number}).isRequired,proxyPools:A().arrayOf(A().shape({id:A().string,name:A().string,proxyUrl:A().string,noProxy:A().string,isActive:A().bool})),isOAuth:A().bool.isRequired,isFirst:A().bool.isRequired,isLast:A().bool.isRequired,onMoveUp:A().func.isRequired,onMoveDown:A().func.isRequired,onToggleActive:A().func.isRequired,onUpdateProxy:A().func,autoPingEnabled:A().bool,onToggleAutoPing:A().func,onEdit:A().func.isRequired,onDelete:A().func.isRequired,oneByOneStatus:A().shape({state:A().string,error:A().string})};var _=s(28915);let q=`name1|sk-key1
2
- name2|sk-key2
3
- sk-key-only-auto-named`;function D({isOpen:e,provider:t,providerName:s,isCompatible:i,isAnthropic:n,authType:l,authHint:o,website:u,proxyPools:m,error:p,onSave:x,onBulkDone:h,onClose:f}){let b="__none__",g="ollama-local"===t,y="notion-ai"===t,v="cookie"===l,j="xai"===t&&!v,w=v?"Cookie Value":"qoder"===t?"Personal Access Token (PAT)":"API Key",k=v?"grok-web"===t?"sso=xxxxx... or just the raw value":y?"token_v2=xxxxx..., full Cookie header, or cookie-export JSON":"eyJhbGciOi...":j?"xai-...":"qoder"===t?"pt-...":"",N="azure"===t,C="cloudflare-ai"===t,S=c.Q2?.[t]?.regions||null,A=c.Q2?.[t]?.defaultRegion||S?.[0]?.id||"",[$,T]=(0,r.useState)({name:"",apiKey:"",defaultModel:"",priority:1,proxyPoolId:b,ollamaHostUrl:""}),[I,O]=(0,r.useState)({azureEndpoint:"",apiVersion:"2024-10-01-preview",deployment:"",organization:""}),[E,P]=(0,r.useState)({accountId:""}),[R,z]=(0,r.useState)({spaceId:"",spaceViewId:"",userId:"",clientVersion:"",cell:""}),[U,M]=(0,r.useState)(A),[L,F]=(0,r.useState)(!1),[J,K]=(0,r.useState)(null),[B,V]=(0,r.useState)(!1),[G,H]=(0,r.useState)("single"),[Q,W]=(0,r.useState)(""),[Z,X]=(0,r.useState)(null),Y=(0,r.useRef)(!1);(0,r.useEffect)(()=>{e&&!Y.current&&(T({name:"",apiKey:"",defaultModel:"",priority:1,proxyPoolId:b,ollamaHostUrl:""}),O({azureEndpoint:"",apiVersion:"2024-10-01-preview",deployment:"",organization:""}),P({accountId:""}),z({spaceId:"",spaceViewId:"",userId:"",clientVersion:"",cell:""}),M(A),K(null),H("single"),W(""),X(null)),Y.current=e},[e]);let ee=()=>{if(g&&$.ollamaHostUrl.trim())return{baseUrl:$.ollamaHostUrl.trim()};if(N)return{azureEndpoint:I.azureEndpoint,apiVersion:I.apiVersion,deployment:I.deployment,organization:I.organization};if(C)return{accountId:E.accountId};if(y){let e=Object.entries({spaceId:R.spaceId.trim(),spaceViewId:R.spaceViewId.trim(),userId:R.userId.trim(),clientVersion:R.clientVersion.trim(),cell:R.cell.trim()}).filter(([,e])=>e);return e.length>0?Object.fromEntries(e):void 0}if(S&&U)return{region:U}},et=async()=>{F(!0);try{let e=await (0,_.x6)("/api/providers/validate",{method:"POST",body:{provider:t,apiKey:$.apiKey,providerSpecificData:ee()}});K(e.valid?"success":"failed")}catch{K("unknown")}finally{F(!1)}},es=async()=>{if(t&&(g||$.apiKey)&&(g||$.name)&&(!i||$.defaultModel.trim())){V(!0);try{let e=!1;try{F(!0),K(null),e=!!(await (0,_.x6)("/api/providers/validate",{method:"POST",body:{provider:t,apiKey:$.apiKey,providerSpecificData:ee()}})).valid,K(e?"success":"failed")}catch{K("unknown")}finally{F(!1)}let s=Number.parseInt($.priority,10);await x({name:$.name||(g?"Ollama Local":""),apiKey:$.apiKey,defaultModel:i?$.defaultModel.trim():void 0,priority:Number.isFinite(s)?s:1,proxyPoolId:$.proxyPoolId===b?null:$.proxyPoolId,testStatus:e?"active":"unknown",providerSpecificData:ee()})}finally{V(!1)}}},ea=async()=>{let e=Q.split("\n").map(e=>e.trim()).filter(Boolean);if(!e.length)return;V(!0),X(null);let s=0,a=0,r=[],i=[];for(let n=0;n<e.length;n++){let l=e[n].split("|"),o=l.length>=2?l.slice(1).join("|").trim():l[0].trim(),d=l.length>=2?l[0].trim():"Key",c=`${d} ${n+1}`;try{await (0,_.x6)("/api/providers",{method:"POST",body:{provider:t,apiKey:o,name:c,priority:1,testStatus:"unknown"}}),s++}catch(t){a++,r.push({line:e[n],message:t?.message||"Request failed"}),i.push(e[n])}}V(!1),X({success:s,failed:a,failedRows:r}),W(i.join("\n")),s>0&&h&&h()};return t?(0,a.jsx)(d.aF,{isOpen:e,title:`Add ${s||t} ${w}`,onClose:f,children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[!y&&(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{size:"sm",variant:"single"===G?"primary":"ghost",onClick:()=>{H("single"),X(null)},children:"Single"}),(0,a.jsx)(d.$n,{size:"sm",variant:"bulk"===G?"primary":"ghost",onClick:()=>{H("bulk"),X(null)},children:"Bulk Add"})]}),"bulk"===G&&!y&&(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:["One key per line. Format: ",(0,a.jsx)("code",{children:"name|apiKey"})," or just ",(0,a.jsx)("code",{children:"apiKey"})," (auto-named by index)."]}),(0,a.jsx)("textarea",{className:"w-full rounded border border-accent/30 bg-sidebar p-2 text-sm font-mono resize-y min-h-[140px] focus:outline-none focus:ring-1 focus:ring-primary",placeholder:q,value:Q,onChange:e=>W(e.target.value)}),Z&&(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsxs)("div",{className:`text-sm font-medium ${Z.failed>0?"text-yellow-400":"text-green-400"}`,children:["✓ ",Z.success," added",Z.failed>0?`, ✗ ${Z.failed} failed`:""]}),Z.failedRows?.length>0&&(0,a.jsx)("ul",{className:"text-xs text-red-500 flex flex-col gap-0.5",children:Z.failedRows.map((e,t)=>(0,a.jsxs)("li",{className:"break-words",children:[(0,a.jsx)("span",{className:"font-mono",children:e.line.length>40?`${e.line.slice(0,40)}…`:e.line}),` — ${e.message}`]},t))})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{onClick:ea,fullWidth:!0,disabled:B||!Q.trim(),children:B?"Adding...":"Add All Keys"}),(0,a.jsx)(d.$n,{onClick:f,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),("single"===G||y)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.pd,{label:"Name",value:$.name,onChange:e=>T({...$,name:e.target.value}),placeholder:g?"Ollama Local":"Production Key"}),g&&(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.pd,{label:"Ollama Host URL",value:$.ollamaHostUrl,onChange:e=>T({...$,ollamaHostUrl:e.target.value}),placeholder:"http://localhost:11434",className:"flex-1"}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)(d.$n,{onClick:et,disabled:L||B,variant:"secondary",children:L?"Checking...":"Check"})})]}),!g&&(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.pd,{label:w,type:v?"text":"password",value:$.apiKey,onChange:e=>T({...$,apiKey:e.target.value}),placeholder:k,className:"flex-1"}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)(d.$n,{onClick:et,disabled:!$.apiKey||L||B,variant:"secondary",children:L?"Checking...":"Check"})})]}),j&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Use a direct xAI API key from console.x.ai. This is separate from Grok Build OAuth."}),v&&o&&(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:[o,u&&(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsxs)("a",{href:u,target:"_blank",rel:"noopener noreferrer",className:"text-primary underline",children:["Open ",u.replace(/^https?:\/\//,"")]})]})]}),y&&(0,a.jsxs)("div",{className:"flex flex-col gap-3 rounded-lg border border-accent/20 bg-sidebar/50 p-4",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold",children:"Notion workspace metadata (optional)"}),(0,a.jsx)("p",{className:"text-xs leading-relaxed text-text-muted",children:"Space ID and User ID are optional. The router resolves them from Notion's authenticated getSpaces endpoint; enter them only to override discovery. They are metadata only, and the cookie stays in the encrypted provider credential store."}),(0,a.jsx)(d.pd,{label:"Space ID (optional)",value:R.spaceId,onChange:e=>z({...R,spaceId:e.target.value}),placeholder:"Auto-resolved from Notion"}),(0,a.jsx)(d.pd,{label:"User ID (optional)",value:R.userId,onChange:e=>z({...R,userId:e.target.value}),placeholder:"Auto-resolved from Notion"}),(0,a.jsx)(d.pd,{label:"Space View ID (optional)",value:R.spaceViewId,onChange:e=>z({...R,spaceViewId:e.target.value}),placeholder:"Leave blank to use Space ID"}),(0,a.jsx)(d.pd,{label:"Notion client version (optional)",value:R.clientVersion,onChange:e=>z({...R,clientVersion:e.target.value}),placeholder:"Copy from the browser request if required"}),(0,a.jsx)(d.pd,{label:"Cell (optional)",value:R.cell,onChange:e=>z({...R,cell:e.target.value}),placeholder:"Copy x-notion-cell if your request has it"})]}),S&&(0,a.jsx)(d.l6,{label:"Region",value:U,onChange:e=>M(e.target.value),options:S.map(e=>({value:e.id,label:e.label}))}),i&&(0,a.jsx)(d.pd,{label:"Default Model",value:$.defaultModel,onChange:e=>T({...$,defaultModel:e.target.value}),placeholder:n?"claude-3-5-sonnet-latest":"gpt-4o-mini"}),g&&(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:["Leave blank to use ",(0,a.jsx)("code",{children:"http://localhost:11434"}),". For remote Ollama, enter the full host URL (e.g. ",(0,a.jsx)("code",{children:"http://192.168.1.10:11434"}),")."]}),J&&(0,a.jsx)(d.Ex,{variant:"success"===J?"success":"failed"===J?"error":"default",children:"success"===J?"Valid":"failed"===J?"Invalid":"Could not validate"}),p&&(0,a.jsx)("p",{className:"text-xs text-red-500 break-words",children:p}),i&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Enter the model ID exactly as your compatible endpoint expects it. This model will be saved as the connection default."}),C&&(0,a.jsxs)("div",{className:"bg-sidebar/50 p-4 rounded-lg border border-accent/20",children:[(0,a.jsx)("h3",{className:"font-semibold mb-3 text-sm",children:"Cloudflare Workers AI"}),(0,a.jsx)(d.pd,{label:"Account ID",value:E.accountId,onChange:e=>P({...E,accountId:e.target.value}),placeholder:"abc123def456..."}),(0,a.jsxs)("p",{className:"text-xs text-text-muted mt-2",children:["Find your Account ID in the right sidebar of ",(0,a.jsx)("a",{href:"https://dash.cloudflare.com",target:"_blank",rel:"noopener noreferrer",className:"text-primary underline",children:"dash.cloudflare.com"})]})]}),N&&(0,a.jsxs)("div",{className:"bg-sidebar/50 p-4 rounded-lg border border-accent/20",children:[(0,a.jsx)("h3",{className:"font-semibold mb-3 text-sm",children:"Azure OpenAI Configuration"}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)(d.pd,{label:"Azure Endpoint",value:I.azureEndpoint,onChange:e=>O({...I,azureEndpoint:e.target.value}),placeholder:"https://your-resource.openai.azure.com"}),(0,a.jsx)(d.pd,{label:"Deployment Name",value:I.deployment,onChange:e=>O({...I,deployment:e.target.value}),placeholder:"gpt-4"}),(0,a.jsx)(d.pd,{label:"API Version",value:I.apiVersion,onChange:e=>O({...I,apiVersion:e.target.value}),placeholder:"2024-10-01-preview"}),(0,a.jsx)(d.pd,{label:"Organization",value:I.organization,onChange:e=>O({...I,organization:e.target.value}),placeholder:"Organization ID"})]})]}),(0,a.jsx)(d.pd,{label:"Priority",type:"number",value:$.priority,onChange:e=>T({...$,priority:e.target.value}),onBlur:e=>{let t=Number.parseInt(e.target.value,10);T(e=>({...e,priority:Number.isFinite(t)?t:1}))}}),(0,a.jsx)(d.l6,{label:"Proxy Pool",value:$.proxyPoolId,onChange:e=>T({...$,proxyPoolId:e.target.value}),options:[{value:b,label:"None"},...(m||[]).map(e=>({value:e.id,label:e.name}))],placeholder:"None"}),0===(m||[]).length&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"No active proxy pools available. Create one in Proxy Pools page first."}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Legacy manual proxy fields are still accepted by API for backward compatibility."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{onClick:es,fullWidth:!0,disabled:B||!g&&(!$.name||!$.apiKey)||i&&!$.defaultModel.trim()||N&&(!I.azureEndpoint||!I.deployment||!I.organization)||C&&!E.accountId,children:B?"Saving...":"Save"}),(0,a.jsx)(d.$n,{onClick:f,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})]})}):null}function z({isOpen:e,node:t,onSave:s,onClose:i,isAnthropic:n}){let[l,o]=(0,r.useState)({name:"",prefix:"",apiType:"chat",baseUrl:"https://api.openai.com/v1"}),[c,u]=(0,r.useState)(!1),[m,p]=(0,r.useState)(""),[x,h]=(0,r.useState)(""),[f,b]=(0,r.useState)(!1),[g,y]=(0,r.useState)(null);(0,r.useEffect)(()=>{t&&(o({name:t.name||"",prefix:t.prefix||"",apiType:t.apiType||"chat",baseUrl:t.baseUrl||(n?"https://api.anthropic.com/v1":"https://api.openai.com/v1")}),p(""),h(""),y(null))},[t,n]);let v=async()=>{if(l.name.trim()&&l.prefix.trim()&&l.baseUrl.trim()){u(!0);try{let e={name:l.name,prefix:l.prefix,baseUrl:l.baseUrl};n||(e.apiType=l.apiType),await s(e)}finally{u(!1)}}},j=async()=>{b(!0);try{let e=await fetch("/api/provider-nodes/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseUrl:l.baseUrl,apiKey:m,type:n?"anthropic-compatible":"openai-compatible",modelId:x.trim()||void 0})}),t=await e.json();y(t.valid?"success":"failed")}catch{y("failed")}finally{b(!1)}};return t?(0,a.jsx)(d.aF,{isOpen:e,title:`Edit ${n?"Anthropic":"OpenAI"} Compatible`,onClose:i,children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(d.pd,{label:"Name",value:l.name,onChange:e=>o({...l,name:e.target.value}),placeholder:`${n?"Anthropic":"OpenAI"} Compatible (Prod)`,hint:"Required. A friendly label for this node."}),(0,a.jsx)(d.pd,{label:"Prefix",value:l.prefix,onChange:e=>o({...l,prefix:e.target.value}),placeholder:n?"ac-prod":"oc-prod",hint:"Required. Used as the provider prefix for model IDs."}),!n&&(0,a.jsx)(d.l6,{label:"API Type",options:[{value:"chat",label:"Chat Completions"},{value:"responses",label:"Responses API"}],value:l.apiType,onChange:e=>o({...l,apiType:e.target.value})}),(0,a.jsx)(d.pd,{label:"Base URL",value:l.baseUrl,onChange:e=>o({...l,baseUrl:e.target.value}),placeholder:n?"https://api.anthropic.com/v1":"https://api.openai.com/v1",hint:`Use the base URL (ending in /v1) for your ${n?"Anthropic":"OpenAI"}-compatible API.`}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.pd,{label:"API Key (for Check)",type:"password",value:m,onChange:e=>p(e.target.value),className:"flex-1"}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsx)(d.$n,{onClick:j,disabled:!m||f||!l.baseUrl.trim(),variant:"secondary",children:f?"Checking...":"Check"})})]}),(0,a.jsx)(d.pd,{label:"Model ID (optional)",value:x,onChange:e=>h(e.target.value),placeholder:"e.g. my-model-id",hint:"If provider lacks /models endpoint, enter a model ID to validate via chat/completions instead."}),g&&(0,a.jsx)(d.Ex,{variant:"success"===g?"success":"error",children:"success"===g?"Valid":"Invalid"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{onClick:v,fullWidth:!0,disabled:!l.name.trim()||!l.prefix.trim()||!l.baseUrl.trim()||c,children:c?"Saving...":"Save"}),(0,a.jsx)(d.$n,{onClick:i,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}):null}function U({isOpen:e,providerAlias:t,providerDisplayAlias:s,onSave:i,onClose:n}){let[l,o]=(0,r.useState)(""),[c,u]=(0,r.useState)(null),[m,p]=(0,r.useState)(""),[x,h]=(0,r.useState)(!1);(0,r.useEffect)(()=>{e&&(o(""),u(null),p(""))},[e]);let f=e=>{let s=`${t}/`;return e.startsWith(s)?e.slice(s.length):e},b=async()=>{let e=f(l.trim());if(e){u("testing"),p("");try{let s=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${t}/${e}`})}),a=await s.json();u(a.ok?"ok":"error"),p(a.error||"")}catch(e){u("error"),p(e.message)}}},g=async()=>{let e=f(l.trim());if(e&&!x){h(!0);try{await i(e)}finally{h(!1)}}};return(0,a.jsx)(d.aF,{isOpen:e,onClose:n,title:"Add Custom Model",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"text-sm font-medium mb-1.5 block",children:"Model ID"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("input",{type:"text",value:l,onChange:e=>{o(e.target.value),u(null),p("")},onKeyDown:e=>{"Enter"===e.key&&b()},placeholder:"e.g. claude-opus-4-5",className:"flex-1 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",autoFocus:!0}),(0,a.jsx)(d.$n,{variant:"secondary",icon:"science",loading:"testing"===c,onClick:b,disabled:!l.trim()||"testing"===c,children:"testing"===c?"Testing...":"Test"})]}),(0,a.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Sent to provider as: ",(0,a.jsx)("code",{className:"font-mono bg-sidebar px-1 rounded",children:f(l.trim())||"model-id"})]})]}),"ok"===c&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-green-600",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-base",children:"check_circle"}),"Model is reachable"]}),"error"===c&&(0,a.jsxs)("div",{className:"flex items-start gap-2 text-sm text-red-500",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-base shrink-0",children:"cancel"}),(0,a.jsx)("span",{children:m||"Model not reachable"})]}),(0,a.jsxs)("div",{className:"flex gap-2 pt-1",children:[(0,a.jsx)(d.$n,{onClick:n,variant:"ghost",fullWidth:!0,size:"sm",children:"Cancel"}),(0,a.jsx)(d.$n,{onClick:g,fullWidth:!0,size:"sm",disabled:!l.trim()||x,children:x?"Adding...":"Add Model"})]})]})})}D.propTypes={isOpen:A().bool.isRequired,provider:A().string,providerName:A().string,isCompatible:A().bool,isAnthropic:A().bool,authType:A().string,authHint:A().string,website:A().string,proxyPools:A().arrayOf(A().shape({id:A().string,name:A().string})),error:A().string,onSave:A().func.isRequired,onBulkDone:A().func,onClose:A().func.isRequired},z.propTypes={isOpen:A().bool.isRequired,node:A().shape({id:A().string,name:A().string,prefix:A().string,apiType:A().string,baseUrl:A().string}),onSave:A().func.isRequired,onClose:A().func.isRequired,isAnthropic:A().bool},U.propTypes={isOpen:A().bool.isRequired,providerAlias:A().string.isRequired,providerDisplayAlias:A().string.isRequired,onSave:A().func.isRequired,onClose:A().func.isRequired};let M="/api/providers/codebuddy/discover-models",L={verified:"Verified",recognized:"Recognized",unavailable:"Unavailable",credential_rejected:"Credential rejected",error:"Inconclusive",skipped:"Skipped"},F={verified:"border-green-500/30 bg-green-500/[0.08] text-green-700 dark:text-green-300",recognized:"border-sky-500/30 bg-sky-500/[0.08] text-sky-700 dark:text-sky-300",unavailable:"border-black/10 bg-black/[0.03] text-text-muted dark:border-white/10 dark:bg-white/[0.04]",credential_rejected:"border-red-500/30 bg-red-500/[0.08] text-red-700 dark:text-red-300",error:"border-amber-500/30 bg-amber-500/[0.08] text-amber-700 dark:text-amber-300",skipped:"border-black/10 bg-black/[0.03] text-text-muted dark:border-white/10 dark:bg-white/[0.04]"};function J(e,t){return e?.error||t}function K({isOpen:e,connections:t,onModelsAdded:s,onClose:i}){let n=(0,r.useMemo)(()=>t.filter(e=>"codebuddy"===e.provider&&!1!==e.isActive),[t]),[l,o]=(0,r.useState)(null),[c,u]=(0,r.useState)(!1),[m,p]=(0,r.useState)(""),[x,h]=(0,r.useState)(""),[f,b]=(0,r.useState)(()=>new Set),[g,y]=(0,r.useState)(""),[v,j]=(0,r.useState)(!1),[w,k]=(0,r.useState)(!1),[N,C]=(0,r.useState)([]),[S,A]=(0,r.useState)(()=>new Set),$=(0,r.useCallback)(async()=>{u(!0),p(""),h(""),j(!1),C([]);try{let e=await fetch(M,{cache:"no-store"}),t=await e.json();if(!e.ok)throw Error(J(t,"Could not refresh model candidates"));o(t),b(new Set((t.hidden||[]).map(e=>e.id)))}catch(e){p(e.message)}finally{u(!1)}},[]);(0,r.useEffect)(()=>{e&&(y(e=>n.some(t=>t.id===e)?e:n[0]?.id||""),$())},[n,e,$]);let T=async()=>{if(g&&0!==f.size&&!w){k(!0),p(""),h("");try{let e=await fetch(M,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({connectionId:g,models:[...f]})}),t=await e.json();if(!e.ok)throw Error(J(t,"Hidden model scan failed"));C(t.results||[]),j(!1)}catch(e){p(e.message)}finally{k(!1)}}},I=(0,r.useMemo)(()=>new Map(N.map(e=>[e.id,e])),[N]),O=(0,r.useMemo)(()=>(l?.hidden||[]).filter(e=>{let t=I.get(e.id)?.status;return e.previouslyVerified||"verified"===t||"recognized"===t}),[l,I]),E=async e=>{let t=e.filter(e=>!S.has(e.id));if(!t.length)return;A(e=>new Set([...e,...t.map(e=>e.id)])),p(""),h("");let a=[];try{for(let e of t){let t=await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:"cb",id:e.id,type:"llm",name:e.name})}),s=await t.json();if(!t.ok)throw Error(J(s,`Could not add ${e.id}`));a.push(e)}window.dispatchEvent(new Event("customModelChanged")),await s?.(a),h(`${a.length} model${1===a.length?"":"s"} added to CodeBuddy Global.`)}catch(e){a.length&&(window.dispatchEvent(new Event("customModelChanged")),await s?.(a)),p(e.message)}finally{A(e=>{let s=new Set(e);return t.forEach(e=>s.delete(e.id)),s})}},P=O.filter(e=>f.has(e.id));return(0,a.jsx)(d.aF,{isOpen:e,onClose:i,title:"Discover CodeBuddy Global Models",size:"full",children:(0,a.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,a.jsx)("div",{className:"overflow-hidden rounded-xl border border-cyan-500/20 bg-gradient-to-br from-cyan-500/[0.10] via-transparent to-amber-500/[0.08] p-4",children:(0,a.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-text-main",children:"Live package candidates"}),(0,a.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-text-muted",children:"Refreshing reads Tencent's current CLI manifests and does not call a model or use credits."}),l?.version&&(0,a.jsxs)("p",{className:"mt-2 font-mono text-xs text-cyan-700 dark:text-cyan-300",children:["codebuddy-code@",l.version]})]}),(0,a.jsx)(d.$n,{variant:"secondary",size:"sm",icon:"refresh",loading:c,onClick:$,children:"Refresh Candidates"})]})}),m&&(0,a.jsx)("p",{role:"alert",className:"rounded-lg border border-red-500/25 bg-red-500/[0.08] px-3 py-2 text-sm text-red-600 dark:text-red-300",children:m}),x&&(0,a.jsx)("p",{className:"rounded-lg border border-green-500/25 bg-green-500/[0.08] px-3 py-2 text-sm text-green-700 dark:text-green-300",children:x}),l?.warnings?.map(e=>(0,a.jsx)("p",{className:"text-xs text-amber-600 dark:text-amber-300",children:e},e)),l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3",children:[(0,a.jsxs)("div",{className:"rounded-lg border border-border bg-surface-2 px-3 py-2",children:[(0,a.jsx)("p",{className:"text-2xl font-semibold text-text-main",children:l.official?.length||0}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Official Global"})]}),(0,a.jsxs)("div",{className:"rounded-lg border border-border bg-surface-2 px-3 py-2",children:[(0,a.jsx)("p",{className:"text-2xl font-semibold text-text-main",children:l.hidden?.length||0}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Hidden candidates"})]}),(0,a.jsxs)("div",{className:"col-span-2 rounded-lg border border-border bg-surface-2 px-3 py-2 sm:col-span-1",children:[(0,a.jsx)("p",{className:"text-2xl font-semibold text-text-main",children:l.hidden?.filter(e=>e.previouslyVerified).length||0}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Previously verified"})]})]}),(0,a.jsxs)("section",{children:[(0,a.jsxs)("div",{className:"mb-2 flex items-center justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-sm font-semibold text-text-main",children:"Hidden route candidates"}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"From alternate official manifests; availability is not guaranteed on Global SaaS."})]}),(0,a.jsx)("button",{type:"button",className:"text-xs font-medium text-primary hover:underline",onClick:()=>b(f.size===(l.hidden?.length||0)?new Set:new Set(l.hidden.map(e=>e.id))),children:f.size===(l.hidden?.length||0)?"Clear":"Select all"})]}),(0,a.jsx)("div",{className:"max-h-64 overflow-y-auto rounded-xl border border-border custom-scrollbar",children:(l.hidden||[]).map(e=>{let t=I.get(e.id);return(0,a.jsxs)("label",{className:"flex cursor-pointer items-start gap-3 border-b border-border-subtle px-3 py-2.5 last:border-b-0 hover:bg-surface-2",children:[(0,a.jsx)("input",{type:"checkbox",checked:f.has(e.id),onChange:()=>{var t;return t=e.id,void b(e=>{let s=new Set(e);return s.has(t)?s.delete(t):s.add(t),s})},className:"mt-1 accent-primary"}),(0,a.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,a.jsx)("span",{className:"block truncate text-sm font-medium text-text-main",children:e.name}),(0,a.jsx)("span",{className:"block truncate font-mono text-[11px] text-text-muted",children:e.id}),(0,a.jsx)("span",{className:"text-[10px] text-text-muted",children:e.sources.length?e.sources.join(" + "):"request history"})]}),(0,a.jsxs)("span",{className:"flex shrink-0 items-center gap-2",children:[e.previouslyVerified&&(0,a.jsx)("span",{className:"rounded-full bg-green-500/10 px-2 py-0.5 text-[10px] font-medium text-green-700 dark:text-green-300",children:"previous success"}),t&&(0,a.jsx)("span",{className:`rounded-full border px-2 py-0.5 text-[10px] font-medium ${F[t.status]||F.error}`,children:L[t.status]||t.status}),(e.previouslyVerified||["verified","recognized"].includes(t?.status))&&(0,a.jsx)("button",{type:"button",onClick:t=>{t.preventDefault(),E([e])},className:"text-xs font-semibold text-primary hover:underline",disabled:S.has(e.id),children:S.has(e.id)?"Adding...":"Add"})]})]},e.id)})})]}),(0,a.jsxs)("section",{className:"rounded-xl border border-amber-500/25 bg-amber-500/[0.07] p-4",children:[(0,a.jsxs)("div",{className:"grid gap-3 sm:grid-cols-[1fr_auto] sm:items-end",children:[(0,a.jsx)(d.l6,{label:"CodeBuddy Global connection",value:g,onChange:e=>y(e.target.value),options:n.map(e=>({value:e.id,label:e.name||e.email||e.id})),placeholder:"No active Global connection",disabled:!n.length||w,hint:"Every probe is pinned to this connection."}),(0,a.jsxs)(d.$n,{size:"sm",icon:"radar",onClick:()=>j(!0),disabled:!g||0===f.size||w,children:["Scan Hidden Models (",f.size,")"]})]}),!n.length&&(0,a.jsx)("p",{className:"mt-2 text-xs text-red-500",children:"Add and activate a CodeBuddy Global connection before scanning."}),v&&(0,a.jsxs)("div",{className:"mt-4 rounded-lg border border-amber-500/40 bg-surface px-3 py-3",children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-text-main",children:"Confirm credit-using scan"}),(0,a.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-text-muted",children:"These are real completion probes and may consume CodeBuddy credits. Scanning uses at most 3 concurrent requests and stops scheduling if the selected credential is rejected."}),(0,a.jsxs)("div",{className:"mt-3 flex justify-end gap-2",children:[(0,a.jsx)(d.$n,{size:"sm",variant:"ghost",onClick:()=>j(!1),disabled:w,children:"Cancel"}),(0,a.jsx)(d.$n,{size:"sm",icon:"science",loading:w,onClick:T,children:"Start Credit Scan"})]})]})]}),N.length>0&&(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:[N.filter(e=>"verified"===e.status).length," verified, ",N.filter(e=>"recognized"===e.status).length," recognized, ",N.filter(e=>"unavailable"===e.status).length," unavailable"]}),(0,a.jsxs)(d.$n,{size:"sm",icon:"playlist_add",onClick:()=>E(P),disabled:!P.length||S.size>0,children:["Add Selected Available (",P.length,")"]})]})]})]})})}function B({showAutomation:e,showAddConnection:t,onOpenAutomation:s,onAddConnection:r}){return e||t?(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:flex-wrap sm:justify-end",children:[e?(0,a.jsx)(d.$n,{size:"sm",icon:"automation",variant:"secondary",onClick:s,className:"w-full sm:w-auto",children:"Open Automation"}):null,t?(0,a.jsx)(d.$n,{size:"sm",icon:"add",onClick:r,className:"w-full sm:w-auto",children:"Add Connection"}):null]}):null}K.propTypes={isOpen:A().bool.isRequired,connections:A().arrayOf(A().object).isRequired,onModelsAdded:A().func,onClose:A().func.isRequired},B.propTypes={showAutomation:A().bool.isRequired,showAddConnection:A().bool.isRequired,onOpenAutomation:A().func.isRequired,onAddConnection:A().func.isRequired};let V="kiro-bulk-import-active-job",G="Bulk import progress expired or was cleared.",H={claude:"claudeAutoPing",codex:"codexAutoPing"};function Q(e){return["completed","cancelled","failed"].includes(e)}async function W(e){if(!e)return null;let t=await fetch(`/api/oauth/kiro/bulk-import/${e}`,{cache:"no-store"}),s=await t.json();return{res:t,data:s}}async function Z(e="active"){let t=await fetch(`/api/oauth/kiro/bulk-import/latest?scope=${encodeURIComponent(e)}`,{cache:"no-store"}),s=await t.json();return{res:t,data:s}}async function X(e){let t=new AbortController,s=window.setTimeout(()=>t.abort(),8e3);try{let s=await fetch(e,{cache:"no-store",signal:t.signal}),a=null;try{a=await s.json()}catch{a=null}return{response:s,data:a}}finally{window.clearTimeout(s)}}function Y(){let e,t=(0,i.useParams)(),s=(0,i.useRouter)(),n=t.id,[u,b]=(0,r.useState)([]),[S,A]=(0,r.useState)(!0),[T,I]=(0,r.useState)(""),[E,P]=(0,r.useState)(null),[_,q]=(0,r.useState)([]),[M,L]=(0,r.useState)(!1),[F,J]=(0,r.useState)(!1),[Y,ee]=(0,r.useState)(!1),[et,es]=(0,r.useState)(!1),[ea,er]=(0,r.useState)(!1),[ei,en]=(0,r.useState)(""),[el,eo]=(0,r.useState)(!1),[ed,ec]=(0,r.useState)(!1),[eu,em]=(0,r.useState)(!1),[ep,ex]=(0,r.useState)(null),[eh,ef]=(0,r.useState)({}),[eb,eg]=(0,r.useState)(!1),[ey,ev]=(0,r.useState)({}),[ej,ew]=(0,r.useState)({}),[ek,eN]=(0,r.useState)(()=>new Set),[eC,eS]=(0,r.useState)(!1),[eA,e$]=(0,r.useState)(!1),[eT,eI]=(0,r.useState)([]),[eO,eE]=(0,r.useState)("__none__"),[eP,eR]=(0,r.useState)(!1),[e_,eq]=(0,r.useState)(!1),[eD,ez]=(0,r.useState)(null),[eU,eM]=(0,r.useState)(""),[eL,eF]=(0,r.useState)("auto"),[eJ,eK]=(0,r.useState)({}),[eB,eV]=(0,r.useState)([]),[eG,eH]=(0,r.useState)([]),[eQ,eW]=(0,r.useState)([]),[eZ,eX]=(0,r.useState)(null),[eY,e0]=(0,r.useState)(!1),[e1,e2]=(0,r.useState)(null),[e5,e3]=(0,r.useState)(!1),[e4,e6]=(0,r.useState)(!1),[e7,e8]=(0,r.useState)(null),[e9,te]=(0,r.useState)({}),[tt,ts]=(0,r.useState)(null),ta=(0,r.useRef)(!1),tr=(0,r.useRef)(null),ti=(0,r.useRef)("1"),[tn,tl]=(0,r.useState)(!1),[to,td]=(0,r.useState)(null),[tc,tu]=(0,r.useState)(""),[tm,tp]=(0,r.useState)(1),[tx,th]=(0,r.useState)(20),[tf,tb]=(0,r.useState)("all"),[tg,ty]=(0,r.useState)(""),[tv,tj]=(0,r.useState)(1),[tw,tk]=(0,r.useState)(20),{copied:tN,copy:tC}=(0,h.C)(),tS=(0,r.useRef)(0),tA=(0,r.useRef)([]),t$=(0,r.useRef)(!0),tT=(0,r.useRef)(null),tI=(0,C.i)(e=>e.error),tO="ag_risk_confirmed",tE=(0,r.useCallback)(()=>{td(null),tu(""),tS.current=0,window.localStorage.removeItem(V)},[]),tP=()=>{L(!0)},tR=()=>{"kiro"===n&&to?.jobId&&Q(to.status)&&tE(),s.push(p(n))},t_=E?{id:E.id,name:E.name||("anthropic-compatible"===E.type?"Anthropic Compatible":"OpenAI Compatible"),color:"anthropic-compatible"===E.type?"#D97757":"#10A37F",textIcon:"anthropic-compatible"===E.type?"AC":"OC",apiType:E.apiType,baseUrl:E.baseUrl,type:E.type}:c.zN[n]||c.fg[n]||c.IS[n]||c.nJ[n]||c.br[n],tq=t_?.authModes||[],tD=!!c.zN[n]||!!c.IS[n]||tq.includes("oauth"),tz=!!c.fg[n]||tq.includes("apikey"),tU=!!c.IS[n]?.noAuth,tM=(0,x.KC)(n),tL=(0,c.wG)(n),tF=(0,c.mq)(n),tJ=(0,c.gb)(n),tK=tF||tJ,tB=m(n),tV=function({providerId:e,providerInfo:t,isOAuth:s,supportsApiKeyAuth:a,isCompatible:r}){if(!t||t.noAuth||t.authModes?.includes("none"))return[];let i=[];for(let n of(s&&N(i,"oauth"),(a||r||"cookie"===t.authType||!s)&&N(i,"apikey"),w[e]||[]))N(i,n);return i.map(t=>{let s=j[t];return s?{...s,...k[e]?.[t]}:null}).filter(Boolean)}({providerId:n,providerInfo:t_,isOAuth:tD,supportsApiKeyAuth:tz,isCompatible:tF||tJ}),tG=function(e,{specializedChooser:t=!1}={}){return e.length?t?{type:"specialized"}:1===e.length?{type:"method",methodId:e[0].id}:{type:"chooser"}:{type:"none"}}(tV,{specializedChooser:"kiro"===n}),tH=tV.map(e=>"quota-cookie"===e.id&&0===u.length?{...e,disabled:!0,description:"Add a CodeBuddy connection before attaching its quota cookie."}:e),tQ=c.Q2[n]?.thinkingConfig||c.s9.extended,tW=tK?n:tL,tZ=tK?E?.prefix||n:tL,tX=(0,r.useCallback)(async()=>{try{let e=await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(tW)}`,{cache:"no-store"}),t=await e.json();e.ok&&eW(t.ids||[])}catch(e){console.log("Error fetching disabled models:",e)}},[tW]),tY=async e=>{try{(await fetch("/api/models/disabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:tW,ids:[e]})})).ok&&await tX()}catch(e){console.log("Error disabling model:",e)}},t0=async e=>{try{(await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(tW)}&id=${encodeURIComponent(e)}`,{method:"DELETE"})).ok&&await tX()}catch(e){console.log("Error enabling model:",e)}},t1=async e=>{e.length&&eX({title:"Disable All Models",message:`Disable all ${e.length} model(s)?`,onConfirm:async()=>{eX(null);try{(await fetch("/api/models/disabled",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:tW,ids:e})})).ok&&await tX()}catch(e){console.log("Error disabling all models:",e)}}})},t2=async()=>{try{(await fetch(`/api/models/disabled?providerAlias=${encodeURIComponent(tW)}`,{method:"DELETE"})).ok&&await tX()}catch(e){console.log("Error enabling all models:",e)}},t5=(0,r.useCallback)(async()=>{try{let e=await fetch("/api/models/alias"),t=await e.json();e.ok&&ef(t.aliases||{})}catch(e){console.log("Error fetching aliases:",e)}},[]);(0,r.useEffect)(()=>{"kilocode"===n&&fetch("/api/providers/kilo/free-models").then(e=>e.json()).then(e=>{e.models?.length&&eH(e.models)}).catch(()=>{})},[n]);let t3=(0,r.useCallback)(async()=>{try{I("");let[e,t,s,a]=await Promise.allSettled([X("/api/providers"),X("/api/provider-nodes"),X("/api/proxy-pools?isActive=true"),X("/api/settings")]),r="fulfilled"===e.status?e.value.response:null,i="fulfilled"===e.status?e.value.data:{},l="fulfilled"===t.status?t.value.response:null,o="fulfilled"===t.status?t.value.data:{},d="fulfilled"===s.status?s.value.response:null,u="fulfilled"===s.status?s.value.data:{},m="fulfilled"===a.status?a.value.response:null,p=m?.ok&&a.value.data||{};if(r?.ok){let e=(i.connections||[]).filter(e=>e.provider===n);tA.current=e,b(e)}else I("Connections could not be loaded.");d?.ok&&q(u.proxyPools||[]);let x=(p.providerStrategies||{})[n]||{};ez(x.fallbackStrategy||null),eM(null!=x.stickyRoundRobinLimit?String(x.stickyRoundRobinLimit):"1"),ti.current=null!=x.stickyRoundRobinLimit?String(x.stickyRoundRobinLimit):"1";let h=(p.providerThinking||{})[n]||{};eF(h.mode||"auto");let f=H[n];if(eK(f&&p?.[f]?.connections||{}),l?.ok){let e=(o.nodes||[]).find(e=>e.id===n)||null;if(!e&&((0,c.mq)(n)||(0,c.gb)(n)))for(let t=0;t<3;t+=1){if(await new Promise(e=>setTimeout(e,150)),!t$.current)return;let{response:t,data:s}=await X("/api/provider-nodes");if(!t$.current)return;if(t.ok&&(e=(s.nodes||[]).find(e=>e.id===n)||null))break}P(e)}}catch(e){console.log("Error fetching connections:",e),t$.current&&I("Connections could not be loaded.")}finally{t$.current&&A(!1)}},[n]),t4=async e=>{try{let t=await fetch(`/api/provider-nodes/${n}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),s=await t.json();t.ok&&(P(s.node),await t3(),ec(!1))}catch(e){console.log("Error updating provider node:",e)}},t6=async(e,t)=>{try{let s=await fetch("/api/settings",{cache:"no-store"}),a=(s.ok?await s.json():{}).providerStrategies||{},r={};e&&(r.fallbackStrategy=e),"round-robin"===e&&""!==t&&(r.stickyRoundRobinLimit=Number(t)||3);let i={...a};0===Object.keys(r).length?delete i[n]:i[n]=r,await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerStrategies:i})})}catch(e){console.log("Error saving provider strategy:",e)}},t7=async e=>{try{let t=await fetch("/api/settings",{cache:"no-store"}),s={...(t.ok?await t.json():{}).providerThinking||{}};e&&"auto"!==e?s[n]={mode:e}:delete s[n],await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerThinking:s})})}catch(e){console.log("Error saving thinking config:",e)}},t8=async(e,t)=>{let s=H[n];if(!s)return;let a={...eJ,[e]:t};eK(a);try{let e=await fetch("/api/settings",{cache:"no-store"}),t={...(e.ok?await e.json():{})[s]||{},connections:a};if(!(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({[s]:t})})).ok)throw Error("Failed to save auto-ping setting")}catch(e){eK(eJ),console.log("Error saving auto-ping config:",e)}};(0,r.useEffect)(()=>{t3(),t5(),tX()},[t3,t5,tX]),(0,r.useEffect)(()=>(t$.current=!0,()=>{t$.current=!1,null!==tT.current&&window.cancelAnimationFrame(tT.current)}),[]),(0,r.useEffect)(()=>{eX(null),ev({}),ew({}),eN(new Set),eV([]),te({}),ts(null),e8(null),e3(!1),e6(!1),ta.current=!0,tu("")},[n]),(0,r.useEffect)(()=>{tp(1),tj(1),tb("all"),ty("")},[n]),(0,r.useEffect)(()=>{tp(1)},[tf,tx,tg]),(0,r.useEffect)(()=>{eg(!1)},[n]),(0,r.useEffect)(()=>{tj(1)},[tw,eQ.length,tM.length,eG.length]),(0,r.useEffect)(()=>{if("kiro"!==n)return;let e=window.localStorage.getItem(V),t=!1;return(async()=>{try{if(tu(""),to?.jobId)return;let a=await Z();if(!t&&a.res.ok&&a.data?.job){td(a.data.job),tS.current=a.data.job.summary?.success||0,window.localStorage.setItem(V,a.data.job.jobId);return}if(e){var s;let a=await W(e);if(!t&&a?.res.ok&&a.data?.job&&(s=a.data.job.status,["queued","running","needs_manual"].includes(s))){td(a.data.job),tS.current=a.data.job.summary?.success||0;return}tE(),tu(G)}}catch{t||tu(G)}})(),()=>{t=!0}},[tE,to?.jobId,n]),(0,r.useEffect)(()=>{if(!("kiro"!==n||!to?.jobId||Q(to.status)))return(0,v.M)(async e=>{let t=await W(to.jobId);if(!e()){if(t?.res.ok&&t.data?.job){let s=t.data.job.summary?.success||0;if(s>tS.current&&(tS.current=s,await t3(),e()))return;tu(""),td(t.data.job);return}if(t?.res.status===404){let t=await Z();if(e())return;if(t.res.ok&&t.data?.job){let s=t.data.job.summary?.success||0;if(s>tS.current&&(tS.current=s,await t3(),e()))return;tu(""),td(t.data.job),window.localStorage.setItem(V,t.data.job.jobId);return}tE(),tu(G)}}},2e3)},[tE,t3,to?.jobId,to?.status,n]),(0,r.useEffect)(()=>{let e=(c.zN[n]||c.fg[n]||c.IS[n]||c.nJ[n])?.modelsFetcher;e&&g(e).then(eV)},[n]);let t9=async(e,t,s=tL)=>{let a=`${s}/${e}`;try{let e=await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:a,alias:t})});if(e.ok)await t5();else{let t=await e.json();alert(t.error||"Failed to set alias")}}catch(e){console.log("Error setting alias:",e)}},se=async e=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(e)}`,{method:"DELETE"})).ok&&await t5()}catch(e){console.log("Error deleting alias:",e)}},st=async()=>{if(tn)return;let e=u.find(e=>!1!==e.isActive);if(!e)return void alert((0,f.Tl)("Please add an active Qoder connection first"));tl(!0);try{let t=await fetch(`/api/providers/${e.id}/models`),s=await t.json();if(!t.ok)return void alert(s.error||(0,f.Tl)("Failed to fetch models"));let a=s.models||[];if(0===a.length)return void alert((0,f.Tl)("No models returned"));let r={...eh},i=0;for(let e of a){let t=e.id||e.name;if(!t)continue;let s=t.replace(/^qoder\//,""),a=`${tW}/${s}`;!Object.values(r).includes(a)&&(r[s]||(await t9(s,s,tW),r[s]=a,i+=1))}0===i?alert((0,f.Tl)("All models already exist, no new models added")):alert((0,f.Tl)("Successfully added")+` ${i} `+(0,f.Tl)("models"))}catch(e){console.log("Error importing Qoder models:",e),alert((0,f.Tl)("Error fetching models")+": "+e.message)}finally{tl(!1)}},ss=async()=>{let e=[...u];if(e5||0===e.length)return;let t=Object.fromEntries(e.map(e=>[e.id,{state:"queued",error:null}]));ta.current=!1,e3(!0),e6(!1),e8(null),te(t),ts({total:e.length,completed:0,passed:0,failed:0,stopped:!1});let s=0,a=0;try{for(let t=0;t<e.length;t+=1){if(ta.current){ts({total:e.length,completed:t,passed:s,failed:a,stopped:!0});break}let r=e[t];if(!tA.current.some(e=>e.id===r.id)){te(e=>({...e,[r.id]:{state:"skipped",error:null}})),ts({total:e.length,completed:t+1,passed:s,failed:a,stopped:!1});continue}e8(r.id),te(e=>({...e,[r.id]:{state:"testing",error:null}}));try{let e=await fetch(`/api/providers/${r.id}/test`,{method:"POST"}),t=await e.json(),i=!!t.valid;i?s+=1:a+=1,te(e=>({...e,[r.id]:{state:i?"success":"failed",error:i?null:t.error||null}}))}catch(e){a+=1,te(t=>({...t,[r.id]:{state:"failed",error:e.message||"Test failed"}}))}ts({total:e.length,completed:t+1,passed:s,failed:a,stopped:!1}),t<e.length-1&&await new Promise(e=>setTimeout(e,1e3))}}finally{e8(null),e3(!1),e6(!1),ta.current=!1}},sa=async e=>{eX({title:"Delete Connection",message:"Delete this connection?",onConfirm:async()=>{eX(null);try{(await fetch(`/api/providers/${e}`,{method:"DELETE"})).ok&&b(u.filter(t=>t.id!==e))}catch(e){console.log("Error deleting connection:",e)}}})},sr=()=>{t3(),L(!1)},si=(0,r.useCallback)(e=>{(td(e),tu(""),e?.jobId)?(window.localStorage.setItem(V,e.jobId),tS.current=Math.max(tS.current,e.summary?.success||0)):tE()},[tE]),sn=async e=>{en("");try{let t=await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:n,...e})}),s=null;try{s=await t.json()}catch{s=null}if(t.ok){await t3(),er(!1);return}en(s?.error||"Failed to save connection")}catch(e){console.log("Error saving connection:",e),en("Failed to save connection")}},sl=async e=>{try{(await fetch(`/api/providers/${ep.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok&&(await t3(),eo(!1))}catch(e){console.log("Error updating connection:",e)}},so=async(e,t)=>{try{let s=await fetch(`/api/providers/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:t})});if(s.ok){let a=await s.json().catch(()=>null);b(s=>s.map(s=>s.id===e?{...s,isActive:t,...a?.connection||{}}:s))}}catch(e){console.log("Error updating connection status:",e)}},sd=async(e,t)=>{let s=[...u];[s[e],s[t]]=[s[t],s[e]],b(s);try{let[a,r]=await Promise.all([fetch(`/api/providers/${s[e].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:e+1})}),fetch(`/api/providers/${s[t].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:t+1})})]);a.ok&&r.ok||(console.log("Priority swap rejected:",a.status,r.status),await t3())}catch(e){console.log("Error swapping priority:",e),await t3()}},sc=(0,r.useMemo)(()=>{let e=tg.trim().toLowerCase();return u.filter(t=>!!(0,y.i2)(t,tf)&&(!e||[t.name,t.email,t.id,t.account,t.username,t.label,t.authType,t.notes,t.proxyPoolId].filter(Boolean).join(" ").toLowerCase().includes(e)))},[u,tf,tg]),su=(0,r.useMemo)(()=>y.gJ.reduce((e,t)=>(e[t.id]="all"===t.id?u.length:u.filter(e=>(0,y.i2)(e,t.id)).length,e),{}),[u]),sm=eT.filter(e=>u.some(t=>t.id===e)),sp=u.filter(e=>sm.includes(e.id)),sx="codebuddy"===n?(sp.length>0?sp:u).map(e=>e.id):[],sh=sc.length>0&&sc.every(e=>sm.includes(e.id)),sf=e=>{switch(e){case"oauth":if("antigravity"===n&&"true"!==window.localStorage.getItem(tO)){e2(e),e0(!0);return}tP();return;case"apikey":en(""),er(!0);return;case"cookie":J(!0);return;case"quota-cookie":u.length>1&&0===sp.length?alert("Select the CodeBuddy connection(s) that should use this quota cookie first."):ee(!0);return;default:tI(`Unsupported connection method: ${e}`,"Add Connection")}},sb=e=>{null!==tT.current&&window.cancelAnimationFrame(tT.current),tT.current=window.requestAnimationFrame(()=>{tT.current=null,sf(e)})},sg=()=>{"specialized"===tG.type?tP():"method"===tG.type?sf(tG.methodId):"chooser"===tG.type&&es(!0)},sy=(()=>{if(0===sp.length)return"";let e=new Set(sp.map(e=>e.providerSpecificData?.proxyPoolId||"__none__"));if(1===e.size){let t=[...e][0];if("__none__"===t)return"All selected currently unbound";let s=_.find(e=>e.id===t);return`All selected currently bound to ${s?.name||t}`}return"Selected connections have mixed proxy bindings"})(),sv=()=>{eP||em(!1)},sj=async e=>{eR(!0);try{let t=0;for(let{connectionId:s,proxyPoolId:a}of e)try{(await fetch(`/api/providers/${s}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:a})})).ok||(t+=1)}catch(e){console.log("Error applying proxy for",s,e),t+=1}t>0&&alert(`Updated with ${t} failed request(s).`),await t3(),em(!1)}finally{eR(!1)}},sw=e=>sj(sp.map(t=>({connectionId:t.id,proxyPoolId:e}))),sk=e=>{let t="gsuite"===e?"GSuite (non-Gmail)":"Gmail (@gmail.com)";eX({title:`Delete ${t}`,message:`Delete ALL ${t} accounts for this provider? This cannot be undone.`,onConfirm:async()=>{eX(null);try{(await fetch("/api/providers/bulk-delete",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:t_?.id||n,emailFilter:e})})).ok&&(eI([]),await t3())}catch(e){console.error("bulk delete error:",e)}}})},sN=Math.max(1,Math.ceil(sc.length/tx)),sC=Math.min(tm,sN),sS=sc.slice((sC-1)*tx,sC*tx),sA=(0,a.jsx)("div",{className:"flex min-w-0 flex-col divide-y divide-black/[0.03] dark:divide-white/[0.03]",children:sS.map((e,t)=>{let s,r=u.findIndex(t=>t.id===e.id);return(0,a.jsxs)("div",{className:"flex min-w-0 items-stretch",children:[(0,a.jsx)("label",{className:"flex w-8 shrink-0 items-center justify-center",children:(0,a.jsx)("input",{type:"checkbox",checked:(s=e.id,sm.includes(s)),onChange:()=>{var t;return t=e.id,void eI(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t])},className:"size-4 rounded border-black/20 dark:border-white/20","aria-label":`Select ${e.name||e.email||e.id}`})}),(0,a.jsx)("div",{className:"flex-1 min-w-0",children:(0,a.jsx)(R,{connection:e,proxyPools:_,isOAuth:tD,isFirst:0===r,isLast:r===u.length-1,onMoveUp:()=>sd(r,r-1),onMoveDown:()=>sd(r,r+1),onToggleActive:t=>so(e.id,t),autoPingEnabled:!0===eJ[e.id],onToggleAutoPing:H[n]&&"oauth"===e.authType?t=>t8(e.id,t):void 0,onUpdateProxy:async t=>{try{(await fetch(`/api/providers/${e.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:t||null})})).ok&&b(s=>s.map(s=>s.id===e.id?{...s,providerSpecificData:{...s.providerSpecificData,proxyPoolId:t||null}}:s))}catch(e){console.log("Error updating proxy:",e)}},onEdit:()=>{ex(e),eo(!0)},onDelete:()=>sa(e.id),oneByOneStatus:e9[e.id]||null})})]},e.id)})}),s$=_.filter(e=>!0===e.isActive),sT=(0,a.jsx)(d.aF,{isOpen:eu,onClose:sv,title:`Apply Proxy (${sp.length} selected)`,children:(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("button",{onClick:()=>{let e=_.filter(e=>!0===e.isActive);return 0===e.length?void alert("No active proxy pools available."):sj(sp.map((t,s)=>({connectionId:t.id,proxyPoolId:e[s%e.length].id})))},disabled:eP||0===s$.length,className:"flex items-center gap-2 rounded-lg px-3 py-2 text-left transition-colors hover:bg-black/[0.04] dark:hover:bg-white/[0.04] disabled:cursor-not-allowed disabled:opacity-50",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"sync_alt"}),(0,a.jsx)("span",{className:"text-sm text-text-main",children:"One-to-one (rotate)"})]}),(0,a.jsxs)("button",{onClick:()=>sw(null),disabled:eP,className:"flex items-center gap-2 rounded-lg px-3 py-2 text-left transition-colors hover:bg-black/[0.04] dark:hover:bg-white/[0.04] disabled:cursor-not-allowed disabled:opacity-50",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"link_off"}),(0,a.jsx)("span",{className:"text-sm text-text-main",children:"None (unbind all)"})]}),_.map(e=>(0,a.jsxs)("button",{onClick:()=>sw(e.id),disabled:eP||!0!==e.isActive,className:"flex items-center gap-2 rounded-lg px-3 py-2 text-left transition-colors hover:bg-black/[0.04] dark:hover:bg-white/[0.04] disabled:cursor-not-allowed disabled:opacity-50",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px]",children:"lan"}),(0,a.jsx)("span",{className:"truncate text-sm text-text-main",children:e.name}),!0!==e.isActive&&(0,a.jsx)("span",{className:"text-[10px] text-text-muted",children:"(inactive)"})]},e.id))]}),eP&&(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Applying..."}),(0,a.jsx)(d.$n,{onClick:sv,variant:"ghost",fullWidth:!0,disabled:eP,children:"Cancel"})]})}),sI=async e=>{eN(t=>new Set(t).add(e));try{let t=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${tW}/${e}`})}),s=await t.json();ev(t=>({...t,[e]:s.ok?"ok":"error"})),ew(t=>({...t,[e]:s.ok?"":s.error||"Model not reachable"}))}catch{ev(t=>({...t,[e]:"error"})),ew(t=>({...t,[e]:"Network error"}))}finally{eN(t=>{let s=new Set(t);return s.delete(e),s})}};return S?(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,a.jsx)(d.Qv,{}),(0,a.jsx)(d.Qv,{})]}):t_?(0,a.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:gap-8 sm:px-0",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)(l(),{href:"/dashboard/providers",className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary transition-colors mb-4",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-lg",children:"arrow_back"}),"Back to Providers"]}),(0,a.jsxs)("div",{className:"flex min-w-0 items-center gap-3 sm:gap-4",children:[(0,a.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-lg",style:{backgroundColor:`${t_.color}15`},children:eb?(0,a.jsx)("span",{className:"text-sm font-bold",style:{color:t_.color},children:t_.textIcon||t_.id.slice(0,2).toUpperCase()}):(0,a.jsx)(o.A,{src:tF&&t_.apiType?"responses"===t_.apiType?"/providers/oai-r.png":"/providers/oai-cc.png":tJ?"/providers/anthropic-m.png":`/providers/${t_.id}.png`,alt:t_.name,width:48,height:48,className:"max-h-12 max-w-12 rounded-lg object-contain",sizes:"48px",onError:()=>eg(!0)})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(0,a.jsx)("h1",{className:"truncate text-2xl font-semibold tracking-tight sm:text-3xl",children:t_.name}),(t_.notice?.apiKeyUrl||t_.notice?.signupUrl||t_.website)&&(0,a.jsxs)("a",{href:t_.notice?.apiKeyUrl||t_.notice?.signupUrl||t_.website,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"open_in_new"}),t_.notice?.apiKeyUrl?"Get API Key":"Sign up / Learn more"]})]}),(0,a.jsxs)("p",{className:"text-text-muted",children:[u.length," connection",1===u.length?"":"s"]})]})]})]}),t_.deprecated&&(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-yellow-500/10 border border-yellow-500/30",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-yellow-500 mt-0.5 shrink-0",children:"warning"}),(0,a.jsx)("p",{className:"text-xs text-red-600 dark:text-yellow-400 leading-relaxed",children:t_.deprecationNotice})]}),t_.notice?.text&&!t_.deprecated&&(0,a.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-blue-500/30 bg-blue-500/10 px-3 py-2 sm:flex-row sm:items-center",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-blue-500 shrink-0",children:"info"}),(0,a.jsx)("p",{className:"min-w-0 flex-1 text-xs leading-relaxed text-blue-600 dark:text-blue-400",children:t_.notice.text}),t_.notice.apiKeyUrl&&(0,a.jsx)("a",{href:t_.notice.apiKeyUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex justify-center rounded bg-blue-500 px-2 py-1 text-xs font-medium text-white transition-colors hover:bg-blue-600 sm:py-0.5",children:"Get API Key →"})]}),tK&&E&&(0,a.jsx)(d.Zp,{children:(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:tJ?"Anthropic Compatible Details":"OpenAI Compatible Details"}),(0,a.jsxs)("p",{className:"break-all text-sm text-text-muted",children:[tJ?"Messages API":"responses"===E.apiType?"Responses API":"Chat Completions"," \xb7 ",(E.baseUrl||"").replace(/\/$/,""),"/",tJ?"messages":"responses"===E.apiType?"responses":"chat/completions"]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-2 sm:flex sm:items-center",children:[(0,a.jsx)(d.$n,{size:"sm",icon:"add",onClick:()=>{en(""),er(!0)},className:"w-full sm:w-auto",children:"Add API Key"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"edit",onClick:()=>ec(!0),className:"w-full sm:w-auto",children:"Edit"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"delete",onClick:async()=>{eX({title:"Delete Compatible Node",message:`Delete this ${tJ?"Anthropic":"OpenAI"} Compatible node?`,onConfirm:async()=>{eX(null);try{(await fetch(`/api/provider-nodes/${n}`,{method:"DELETE"})).ok&&s.push("/dashboard/providers")}catch(e){console.log("Error deleting provider node:",e)}}})},className:"w-full sm:w-auto",children:"Delete"})]})]})}),tU?(0,a.jsx)(d.gw,{providerId:n}):(0,a.jsxs)(d.Zp,{children:[(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:"Connections"}),(0,a.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[u.length>0&&_.length>0&&(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"lan",onClick:()=>{if(0===sp.length)return;let e=[...new Set(sp.map(e=>e.providerSpecificData?.proxyPoolId||"__none__"))];eE(1===e.length?e[0]:"__none__"),em(!0)},disabled:0===sp.length,children:"Apply Proxy"}),u.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"sync",onClick:ss,disabled:e5,children:e5?"Testing Connection One-by-One...":"Test Connection One-by-One"}),e5&&(0,a.jsx)(d.$n,{size:"sm",variant:"ghost",icon:"stop",onClick:()=>{e5&&(ta.current=!0,e6(!0))},disabled:e4,children:e4?"Stopping...":"Stop"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-xs text-text-muted font-medium",children:"Thinking"}),(0,a.jsx)("select",{value:eL,onChange:e=>{var t;eF(t=e.target.value),t7(t)},className:"text-xs px-2 py-1 border border-border rounded-md bg-background focus:outline-none focus:border-primary",title:"Forces reasoning_effort on requests; model chips copy as alias/model(level)",children:(tQ?.options||c.mt).map(e=>(0,a.jsx)("option",{value:e,children:e.charAt(0).toUpperCase()+e.slice(1)},e))})]}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsx)("span",{className:"text-xs text-text-muted font-medium",children:"Round Robin"}),(0,a.jsx)(d.lM,{checked:"round-robin"===eD,onChange:e=>{let t=e?"round-robin":null,s=e?eU||"1":eU;e&&!eU&&eM("1"),ti.current=s,tr.current&&(clearTimeout(tr.current),tr.current=null),ez(t),t6(t,s)}}),"round-robin"===eD&&(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{className:"text-xs text-text-muted",children:"Sticky:"}),(0,a.jsx)("input",{type:"number",min:1,value:eU,onChange:e=>{var t;eM(t=e.target.value),ti.current=t,tr.current&&clearTimeout(tr.current),tr.current=setTimeout(()=>{t6("round-robin",ti.current)},500)},placeholder:"1",className:"w-14 px-2 py-1 text-xs border border-border rounded-md bg-background focus:outline-none focus:border-primary"})]})]})]})]}),u.length>0&&(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-3 rounded-lg border border-black/5 bg-black/[0.02] p-3 dark:border-white/5 dark:bg-white/[0.02]",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsxs)("label",{className:"flex items-center gap-1.5 text-xs text-text-muted",children:[(0,a.jsx)("input",{type:"checkbox",checked:sh,onChange:()=>{sh?eI(e=>e.filter(e=>!sc.some(t=>t.id===e))):eI(e=>Array.from(new Set([...e,...sc.map(e=>e.id)])))},className:"size-4 rounded border-black/20 dark:border-white/20"}),sh?"Unselect visible":"Select visible"]}),(0,a.jsxs)(d.Ex,{variant:"default",children:[sc.length," visible"]}),sp.length>0&&(0,a.jsxs)(d.Ex,{variant:"default",children:[sp.length," selected"]}),sy&&(0,a.jsx)("span",{className:"text-xs text-text-muted",children:sy}),sp.length>0&&(0,a.jsx)(d.$n,{size:"sm",variant:"ghost",onClick:()=>{eI([]),eE("__none__")},children:"Clear"}),sp.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(d.$n,{size:"sm",variant:"secondary",icon:"delete",onClick:()=>{0!==sp.length&&eX({title:"Delete Selected Connections",message:`Delete ${sp.length} selected connection(s)? This permanently removes the selected accounts.`,onConfirm:async()=>{eX(null);let e=[],t=0;for(let s of sp)try{(await fetch(`/api/providers/${s.id}`,{method:"DELETE"})).ok?e.push(s.id):t+=1}catch(e){console.log("Error deleting selected connection:",e),t+=1}eI(t=>t.filter(t=>!e.includes(t))),t>0&&alert(`Deleted ${e.length} connection(s); ${t} failed.`),await t3()}})},children:["Delete Selected (",sp.length,")"]}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"domain",onClick:()=>sk("gsuite"),children:"Delete GSuite"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"mail",onClick:()=>sk("gmail"),children:"Delete Gmail"})]})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1.5",children:y.gJ.map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>tb(e.id),className:`rounded-full border px-2.5 py-1 text-xs transition-colors ${tf===e.id?"border-primary/50 bg-primary/10 text-primary":"border-border text-text-muted hover:border-primary/30 hover:text-text-main"}`,children:[e.label,(0,a.jsx)("span",{className:"ml-1 text-[10px] opacity-70",children:su[e.id]||0})]},e.id))}),u.length>=20&&(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("span",{className:"material-symbols-outlined pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-[16px] text-text-subtle",children:"search"}),(0,a.jsx)("input",{type:"search",value:tg,onChange:e=>ty(e.target.value),placeholder:`Search ${u.length} connections (email, name, id)…`,className:"w-full rounded-lg border border-border bg-background py-2 pl-8 pr-3 text-xs text-text-main outline-none placeholder:text-text-subtle focus:border-primary/40"})]})]}),T?(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3 rounded-lg border border-red-500/30 bg-red-500/10 px-4 py-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px] text-red-500",children:"error"}),(0,a.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:T})]}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"refresh",onClick:()=>{A(!0),t3()},children:"Retry"})]}):0===u.length?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"inline-flex items-center justify-center w-9 h-9 rounded-full bg-primary/10 text-primary shrink-0",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:tD?"lock":"key"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"No connections yet"}),tV.length>1?(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Add Connection lists every available authentication method."}):null]})]}),(0,a.jsx)(B,{showAutomation:tB,showAddConnection:"none"!==tG.type,onOpenAutomation:tR,onAddConnection:sg})]}),"kiro"===n&&to?.jobId&&(0,a.jsxs)("div",{className:"mt-4 flex flex-col gap-3 rounded-lg border border-primary/20 bg-primary/[0.06] px-4 py-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-text-main",children:"Bulk import progress is still available"}),(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:["Status: ",to.status," | Success: ",to.summary?.success||0," | Running: ",to.summary?.running||0," | Queued: ",to.summary?.queued||0]})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{size:"sm",icon:"monitoring",variant:"secondary",onClick:()=>s.push(p("kiro")),children:"Resume Bulk Progress"}),Q(to.status)&&(0,a.jsx)(d.$n,{size:"sm",variant:"ghost",icon:"close",onClick:tE,children:"Clear"})]})]}),"kiro"===n&&!to?.jobId&&tc&&(0,a.jsx)("div",{className:"mt-4 rounded-lg border border-amber-200 bg-amber-50 px-4 py-3 text-sm text-amber-700 dark:border-amber-800 dark:bg-amber-900/20 dark:text-amber-300",children:tc})]}):(0,a.jsxs)(a.Fragment,{children:[tt&&(0,a.jsx)("div",{className:"mb-4 rounded-lg border border-black/10 bg-black/[0.02] px-3 py-2 text-xs text-text-muted dark:border-white/10 dark:bg-white/[0.03]",children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,a.jsxs)("span",{children:["Total: ",tt.total]}),(0,a.jsxs)("span",{children:["Completed: ",tt.completed]}),(0,a.jsxs)("span",{children:["Passed: ",tt.passed]}),(0,a.jsxs)("span",{children:["Failed: ",tt.failed]}),tt.stopped&&(0,a.jsx)("span",{className:"text-amber-600 dark:text-amber-400",children:"Stopped"}),e5&&e7&&(0,a.jsxs)("span",{children:["Running: ",u.find(e=>e.id===e7)?.name||e7]})]})}),"kiro"===n&&to?.jobId&&(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-3 rounded-lg border border-primary/20 bg-primary/[0.06] px-4 py-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-text-main",children:"Bulk import progress is still available"}),(0,a.jsxs)("p",{className:"text-xs text-text-muted",children:["Status: ",to.status," | Success: ",to.summary?.success||0," | Running: ",to.summary?.running||0," | Queued: ",to.summary?.queued||0]})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{size:"sm",icon:"monitoring",variant:"secondary",onClick:()=>s.push(p("kiro")),children:"Resume Bulk Progress"}),Q(to.status)&&(0,a.jsx)(d.$n,{size:"sm",variant:"ghost",icon:"close",onClick:tE,children:"Clear"})]})]}),"kiro"===n&&!to?.jobId&&tc&&(0,a.jsx)("div",{className:"mb-4 rounded-lg border border-amber-200 bg-amber-50 px-4 py-3 text-sm text-amber-700 dark:border-amber-800 dark:bg-amber-900/20 dark:text-amber-300",children:tc}),sA,"kiro"===n&&sN>1&&(0,a.jsxs)("div",{className:"mt-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsxs)("p",{className:"text-sm text-text-muted",children:["Page ",sC," of ",sN," • Showing ",(sC-1)*tx+1,"-",Math.min(sC*tx,sc.length)," of ",sc.length," connections"]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",disabled:sC<=1,onClick:()=>tp(e=>Math.max(1,e-1)),children:"Previous"}),(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",disabled:sC>=sN,onClick:()=>tp(e=>Math.min(sN,e+1)),children:"Next"})]})]}),"kiro"!==n&&sc.length>0&&(0,a.jsx)(d.dK,{currentPage:sC,pageSize:tx,totalItems:sc.length,onPageChange:tp,onPageSizeChange:e=>{th(e),tp(1)},className:"mt-2"}),u.length>0&&0===sc.length&&(0,a.jsx)("div",{className:"py-8 text-center text-sm text-text-muted",children:"No connections match this status filter."}),(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(B,{showAutomation:tB,showAddConnection:"none"!==tG.type,onOpenAutomation:tR,onAddConnection:sg})})]})]}),(0,a.jsxs)(d.Zp,{children:[(0,a.jsxs)("div",{className:"mb-4 flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsx)("h2",{className:"text-lg font-semibold",children:"Available Models"}),!tK&&(e=[...tM,...eG.filter(e=>!tM.some(t=>t.id===e.id))].filter(e=>!e.type||"llm"===e.type).map(e=>e.id).filter(e=>!eQ.includes(e)),(0,a.jsxs)("div",{className:"flex gap-2",children:[eQ.length>0&&(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"restart_alt",onClick:t2,children:"Active All"}),e.length>0&&(0,a.jsx)(d.$n,{size:"sm",variant:"secondary",icon:"block",onClick:()=>t1(e),children:"Disable All"})]}))]}),Object.values(ej).some(Boolean)&&(0,a.jsx)("div",{className:"mb-3 flex flex-col gap-1",children:Object.entries(ej).filter(([,e])=>!!e).map(([e,t])=>(0,a.jsxs)("p",{className:"text-xs text-red-500 break-words",children:[e,": ",t]},e))}),(()=>{let e,t,s;if(tK)return(0,a.jsx)(O,{providerStorageAlias:tW,providerDisplayAlias:tZ,modelAliases:eh,copied:tN,onCopy:tC,onSetAlias:t9,onDeleteAlias:se,onAliasesChanged:t5,connections:u,isAnthropic:tJ});let r=[...tM,...eG.filter(e=>!tM.some(t=>t.id===e.id))].filter(e=>!e.type||"llm"===e.type),i=new Set(eQ),l=r.filter(e=>!i.has(e.id)),o=r.filter(e=>i.has(e.id)),c=Object.entries(eh).filter(([e,t])=>{let s=`${tW}/`;if(!t.startsWith(s))return!1;let a=t.slice(s.length);return t_.passthroughModels?!tM.some(e=>e.id===a):!tM.some(e=>e.id===a)&&e===a}).map(([e,t])=>({id:t.slice(`${tW}/`.length),alias:e,fullModel:t})),m=Math.min(tv,Math.max(1,Math.ceil(l.length/tw))),p=l.slice((m-1)*tw,m*tw);return(0,a.jsxs)("div",{className:"flex flex-wrap gap-3",children:[c.map(e=>(0,a.jsx)($,{model:{id:e.id},fullModel:`${tZ}/${e.id}`,alias:e.alias,copied:tN,onCopy:tC,onSetAlias:()=>{},onDeleteAlias:()=>se(e.alias),testStatus:ey[e.id],onTest:u.length>0||tU?()=>sI(e.id):void 0,isTesting:ek.has(e.id),isCustom:!0,isFree:!1,thinkingSuffix:eL&&"auto"!==eL&&"off"!==eL&&"none"!==eL?eL:null},e.id)),p.map(e=>{let t=`${tW}/${e.id}`,s=`${n}/${e.id}`,r=Object.entries(eh).find(([,e])=>e===t||e===s)?.[0];return(0,a.jsx)($,{model:e,fullModel:`${tZ}/${e.id}`,alias:r,copied:tN,onCopy:tC,onSetAlias:t=>t9(e.id,t,tW),onDeleteAlias:()=>se(r),testStatus:ey[e.id],onTest:u.length>0||tU?()=>sI(e.id):void 0,isTesting:ek.has(e.id),isFree:e.isFree,onDisable:()=>tY(e.id),thinkingSuffix:eL&&"auto"!==eL&&"off"!==eL&&"none"!==eL?eL:null},e.id)}),l.length>tw&&(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(d.dK,{currentPage:m,pageSize:tw,totalItems:l.length,onPageChange:tj,onPageSizeChange:e=>{tk(e),tj(1)}})}),(0,a.jsxs)("button",{onClick:()=>eS(!0),className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-primary/40 px-3 py-2 text-xs text-primary transition-colors hover:border-primary hover:bg-primary/5 sm:w-auto",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"add"}),"Add Model"]}),"codebuddy"===n&&(0,a.jsxs)("button",{onClick:()=>e$(!0),className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-cyan-500/50 px-3 py-2 text-xs text-cyan-700 transition-colors hover:border-cyan-500 hover:bg-cyan-500/[0.07] dark:text-cyan-300 sm:w-auto",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"radar"}),"Discover Models"]}),"qoder"===n&&u.some(e=>!1!==e.isActive)&&(0,a.jsxs)("button",{onClick:st,disabled:tn,className:"flex w-full items-center justify-center gap-1.5 rounded-lg border border-dashed border-blue-500/40 px-3 py-2 text-xs text-blue-600 dark:text-blue-400 transition-colors hover:border-blue-500 hover:bg-blue-500/5 sm:w-auto disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-sm",style:tn?{animation:"spin 1s linear infinite"}:void 0,children:tn?"progress_activity":"download"}),tn?(0,f.Tl)("Fetching..."):(0,f.Tl)("Fetch Qoder Models")]}),eB.length>0&&(e=new Set(Object.values(eh)),t=new Set(tM.map(e=>e.id)),0===(s=eB.filter(s=>!e.has(`${tW}/${s.id}`)&&!t.has(s.id))).length?null:(0,a.jsxs)("div",{className:"w-full mt-2",children:[(0,a.jsx)("p",{className:"text-xs text-text-muted mb-2",children:"Suggested free models (≥200k context):"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:s.map(e=>(0,a.jsxs)("button",{onClick:async()=>{let t=e.id.split("/").pop();await t9(e.id,t,tW)},className:"flex items-center gap-1 px-2.5 py-1.5 rounded-lg border border-black/10 dark:border-white/10 text-xs text-text-muted hover:text-primary hover:border-primary/40 hover:bg-primary/5 transition-colors",title:`${e.name} \xb7 ${(e.contextLength/1e3).toFixed(0)}k ctx`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"add"}),e.id.split("/").pop()]},e.id))})]})),o.length>0&&(0,a.jsxs)("div",{className:"w-full mt-2",children:[(0,a.jsxs)("p",{className:"text-xs text-text-muted mb-2",children:["Disabled models (",o.length,"):"]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:o.map(e=>(0,a.jsxs)("button",{onClick:()=>t0(e.id),className:"flex items-center gap-1 px-2.5 py-1.5 rounded-lg border border-dashed border-black/10 dark:border-white/10 text-xs text-text-muted hover:text-primary hover:border-primary/40 hover:bg-primary/5 transition-colors",title:"Restore model",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"add"}),e.id]},e.id))})]})]})})()]}),eu&&sT,et&&(0,a.jsx)(d.mz,{isOpen:!0,providerName:t_.name,methods:tH,onSelect:e=>{es(!1),sb(e)},onClose:()=>es(!1)}),M&&("kiro"===n?(0,a.jsx)(d.Mh,{isOpen:!0,providerInfo:t_,onSuccess:sr,onRefresh:t3,initialBulkJobId:to?.jobId||null,onBulkJobChange:si,onClose:()=>L(!1)}):"cursor"===n?(0,a.jsx)(d.G9,{isOpen:!0,onSuccess:sr,onClose:()=>L(!1)}):"gitlab"===n?(0,a.jsx)(d.vj,{isOpen:!0,providerInfo:t_,onSuccess:sr,onClose:()=>L(!1)}):(0,a.jsx)(d.LF,{isOpen:!0,provider:n,providerInfo:t_,onSuccess:sr,onClose:()=>L(!1)})),"iflow"===n&&F&&(0,a.jsx)(d.vE,{isOpen:!0,onSuccess:()=>{t3(),J(!1)},onClose:()=>J(!1)}),"codebuddy"===n&&Y&&(0,a.jsx)(d.xl,{isOpen:!0,connectionIds:sx,onSuccess:()=>{t3(),ee(!1)},onClose:()=>ee(!1)}),ea&&(0,a.jsx)(D,{isOpen:!0,provider:n,providerName:t_.name,isCompatible:tK,isAnthropic:tJ,authType:t_?.authType,authHint:t_?.authHint,website:t_?.website,proxyPools:_,error:ei,onSave:sn,onBulkDone:t3,onClose:()=>{en(""),er(!1)}}),el&&ep&&(0,a.jsx)(d.wI,{isOpen:!0,connection:ep,proxyPools:_,onSave:sl,onClose:()=>eo(!1)}),tK&&ed&&(0,a.jsx)(z,{isOpen:!0,node:E,onSave:t4,onClose:()=>ec(!1),isAnthropic:tJ}),!tK&&eC&&(0,a.jsx)(U,{isOpen:!0,providerAlias:tW,providerDisplayAlias:tZ,onSave:async e=>{let t=t_?.passthroughModels?e.split("/").pop():e;await t9(e,t,tW),eS(!1)},onClose:()=>eS(!1)}),"codebuddy"===n&&eA&&(0,a.jsx)(K,{isOpen:!0,connections:u,onModelsAdded:async e=>{for(let t of e)await t9(t.id,t.id,"cb");await t5()},onClose:()=>e$(!1)}),eY&&(0,a.jsx)(d.uo,{isOpen:!0,onClose:()=>e0(!1),onConfirm:()=>{window.localStorage.setItem(tO,"true"),e0(!1),e2(null),sb(e1||"oauth")},title:"Risk Notice",message:t_?.deprecationNotice,confirmText:"I Understand, Continue",cancelText:"Cancel",variant:"danger"}),eZ&&(0,a.jsx)(d.uo,{isOpen:!0,onClose:()=>{e_||eX(null)},onConfirm:async()=>{if(e_)return;let e=eZ?.onConfirm;if(e){eq(!0);try{await e()}finally{eq(!1)}}},title:eZ?.title||"Confirm",message:eZ?.message,variant:"danger",loading:e_})]}):(0,a.jsxs)("div",{className:"text-center py-20",children:[(0,a.jsx)("p",{className:"text-text-muted",children:"Provider not found"}),(0,a.jsx)(l(),{href:"/dashboard/providers",className:"text-primary mt-4 inline-block",children:"Back to Providers"})]})}},42911:(e,t,s)=>{Promise.resolve().then(s.bind(s,40068))},68211:(e,t,s)=>{"use strict";s.d(t,{fetchJson:()=>r});let a={"Content-Type":"application/json"};async function r(e,t={}){let{body:s,headers:i,...n}=t,l={...n,headers:{...a,...i}};void 0!==s&&"string"!=typeof s?l.body=JSON.stringify(s):void 0!==s&&(l.body=s);let o=await fetch(e,l),d=await o.text(),c=null;if(d)try{c=JSON.parse(d)}catch{let t=Error(`Non-JSON response from ${e} (HTTP ${o.status})`);throw t.status=o.status,t.rawBody=d.slice(0,300),t}if(!o.ok){let e=c&&(c.error?.message||c.error||c.message)||`Request failed (HTTP ${o.status})`,t=Error("string"==typeof e?e:`HTTP ${o.status}`);throw t.status=o.status,t.data=c,t}return c}r.get=(e,t)=>r(e,{...t,method:"GET"}),r.post=(e,t,s)=>r(e,{...s,method:"POST",body:t}),r.put=(e,t,s)=>r(e,{...s,method:"PUT",body:t}),r.patch=(e,t,s)=>r(e,{...s,method:"PATCH",body:t}),r.del=(e,t)=>r(e,{...t,method:"DELETE"})},70217:(e,t,s)=>{"use strict";s.d(t,{BU:()=>u,G9:()=>l,d4:()=>d,gJ:()=>a,i2:()=>c});let a=[{id:"all",label:"All"},{id:"active",label:"Active",keys:["active"]},{id:"errors",label:"Errors",keys:["connection_error","auth_error","quota_exhausted","rate_limited","banned","cooldown","unknown"]},{id:"connection",label:"Connection",keys:["connection_error"]},{id:"auth",label:"Auth",keys:["auth_error"]},{id:"limit",label:"Limit",keys:["rate_limited","cooldown"]},{id:"exhausted",label:"Exhausted",keys:["quota_exhausted"]},{id:"banned",label:"Banned",keys:["banned"]},{id:"disabled",label:"Disabled",keys:["disabled"]}],r={active:{label:"active",severity:"success",terminal:!1},disabled:{label:"disabled",severity:"default",terminal:!1},connection_error:{label:"connection error",severity:"error",terminal:!1},auth_error:{label:"auth error",severity:"error",terminal:!0},quota_exhausted:{label:"exhausted",severity:"error",terminal:!0},rate_limited:{label:"rate limited",severity:"warning",terminal:!1},banned:{label:"banned",severity:"error",terminal:!0},cooldown:{label:"cooldown",severity:"warning",terminal:!1},unknown:{label:"unknown",severity:"default",terminal:!1}},i={policy_suspended:"banned",account_validation_required:"auth_error",credential_rejected:"auth_error",reauth_required:"auth_error",authentication:"auth_error",entitlement_or_quota:"quota_exhausted",rate_limited:"rate_limited",permission_denied:"auth_error",upstream_transient:"connection_error"};function n(e){if(!e)return"";if("string"==typeof e)return e.toLowerCase();try{return JSON.stringify(e).toLowerCase()}catch{return String(e).toLowerCase()}}function l(e={},t=Date.now()){let s=Object.entries(e).filter(([e])=>e.startsWith("modelLock_")).map(([,e])=>new Date(e).getTime()).filter(e=>Number.isFinite(e)&&e>t);return s.length>0?new Date(Math.min(...s)).toISOString():null}function o(e,t=""){let s=r[e]||r.unknown;return{key:e,...s,reason:t}}function d(e={}){var t;let s=(t=e).quarantinedAt?o(i[n(t.failureClass)]||"unknown",t.quarantineReason||t.lastError||"Connection is quarantined"):null;if(s)return s;if(!1===e.isActive)return o("disabled","Connection is disabled");if(function(e={}){return null!==l(e)}(e))return o("cooldown","Model cooldown is active");if(function(e){if(!e)return!1;let t=new Date(e).getTime();return Number.isFinite(t)&&t>Date.now()}(e.rateLimitedUntil))return o("rate_limited","Rate limit cooldown is active");let a=n(e.testStatus||e.status),r=n(e.lastErrorType||e.errorType),c=n(e.errorCode||e.statusCode),u=n(e.lastError||e.error),m=`${a} ${r} ${c} ${u}`.trim();return!m||["active","success","ok"].includes(a)?o("active",""):m.includes("ban")||m.includes("suspend")||m.includes("restricted")?o("banned",e.lastError||"Account appears restricted"):m.includes("exhaust")||m.includes("quota exceeded")||m.includes("insufficient_quota")||m.includes("payment required")||"402"===c?o("quota_exhausted",e.lastError||"Quota exhausted"):r.includes("rate_limited")||m.includes("rate limit")||m.includes("too many requests")||"429"===c?o("rate_limited",e.lastError||"Rate limited"):r.includes("auth")||r.includes("token")||m.includes("unauthorized")||m.includes("invalid api key")||m.includes("token invalid")||m.includes("token expired")||m.includes("revoked")||"401"===c||"403"===c?o("auth_error",e.lastError||"Authentication failed"):r.includes("network")||m.includes("network")||m.includes("timeout")||m.includes("fetch failed")||m.includes("econn")||m.includes("dns")||m.includes("proxy")?o("connection_error",e.lastError||"Connection failed"):["error","expired","unavailable","failed"].includes(a)?o("connection_error",e.lastError||e.testStatus||"Connection failed"):o("unknown",e.lastError||e.testStatus||"")}function c(e,t){if(!t||"all"===t)return!0;let s=a.find(e=>e.id===t);return!s||s.keys.includes(d(e).key)}function u(e){return e?.severity==="success"?"success":e?.severity==="error"?"error":"default"}},81277:(e,t,s)=>{"use strict";s.d(t,{c:()=>i});var a=s(12115),r=s(70217);function i(e={}){let[t,s]=(0,a.useState)(null),n=JSON.stringify(Object.entries(e).filter(([e])=>e.startsWith("modelLock_")).sort(([e],[t])=>e.localeCompare(t)));return(0,a.useEffect)(()=>(function(e,t,s={}){let a=s.now||Date.now,i=s.setTimer||globalThis.setTimeout,n=s.clearTimer||globalThis.clearTimeout,l=!1,o=null,d=()=>{if(o=null,l)return;let s=a(),n=(0,r.G9)(e,s);t(n),n&&(o=i(d,Math.min(Math.max(1,new Date(n).getTime()-s+1),0x7fffffff)))};return o=i(d,0),()=>{l=!0,null!==o&&n(o),o=null}})(Object.fromEntries(JSON.parse(n)),s),[n]),t}}},e=>{e.O(0,[2574,3862,3745,3339,620,5497,8441,3794,7358],()=>e(e.s=42911)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,122,174,204,335,342,387,501,516,543,552,649,675,742,747,748,823,869,907,931,948,992,997,999,1077,1088,1091,1110,1118,1200,1288,1321,1337,1382,1446,1451,1512,1566,1659,1666,1674,1697,1704,1860,1898,1907,1910,1945,1946,1949,2015,2074,2121,2154,2185,2198,2284,2296,2366,2536,2772,2781,2785,2795,2797,2802,2833,2845,2919,2922,3025,3038,3078,3079,3224,3295,3397,3399,3472,3486,3549,3562,3568,3648,3705,3883,3888,4010,4057,4061,4093,4245,4286,4310,4422,4444,4527,4612,4656,4664,4674,4745,4761,4829,4896,4993,5018,5033,5107,5162,5177,5211,5226,5338,5372,5397,5460,5466,5568,5637,5685,5745,5746,5805,5922,5965,5990,6089,6091,6102,6107,6121,6268,6278,6319,6454,6463,6479,6529,6580,6594,6664,6694,6724,6740,6743,6776,6819,6872,6919,6988,6996,7046,7111,7131,7158,7208,7241,7254,7306,7311,7329,7423,7429,7445,7473,7508,7520,7758,7777,7824,7851,7858,8018,8026,8057,8141,8165,8167,8200,8207,8246,8264,8338,8453,8489,8573,8648,8736,8791,8814,8826,8832,8835,8870,8879,8918,8948,8974,8975,8977,9027,9036,9056,9069,9079,9088,9120,9123,9141,9199,9321,9338,9359,9427,9461,9515,9606,9678,9709,9745,9755,9762,9817,9903],{84441:()=>{}},_=>{_.O(0,[8441,3794,7358],()=>_(_.s=84441)),_N_E=_.O()}]);