zevairouter 1.1.44 → 1.1.46

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 (1246) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +3 -1
  3. package/cli/app/.next-cli-build/BUILD_ID +1 -1
  4. package/cli/app/.next-cli-build/app-path-routes-manifest.json +23 -21
  5. package/cli/app/.next-cli-build/build-manifest.json +2 -2
  6. package/cli/app/.next-cli-build/prerender-manifest.json +4 -4
  7. package/cli/app/.next-cli-build/routes-manifest.json +12 -0
  8. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js +1 -1
  9. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page.js.nft.json +1 -1
  10. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/automation/page_client-reference-manifest.js +1 -1
  11. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  12. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  13. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  14. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  15. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  16. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  17. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  18. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  19. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  20. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  21. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  22. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  23. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  24. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  25. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  26. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js +1 -1
  27. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page.js.nft.json +1 -1
  28. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/context/page_client-reference-manifest.js +1 -1
  29. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  30. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  31. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  32. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  33. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  34. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  35. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  36. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  37. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  38. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  39. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  40. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  41. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  42. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  43. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  44. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  45. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  46. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  47. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  48. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  49. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  50. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js +1 -1
  51. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
  52. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
  53. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  54. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  55. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  56. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  57. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  58. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  59. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  60. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  61. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  62. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  63. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  64. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  65. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  66. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  67. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  68. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  69. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  70. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  71. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  72. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  73. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  74. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page.js +1 -1
  75. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page.js.nft.json +1 -1
  76. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  77. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  78. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  79. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  80. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js +1 -1
  81. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page.js.nft.json +1 -1
  82. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/terminal/page_client-reference-manifest.js +1 -1
  83. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  84. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  85. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  86. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  87. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  88. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  89. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  90. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  91. package/cli/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  92. package/cli/app/.next-cli-build/server/app/_global-error/page.js +1 -1
  93. package/cli/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  94. package/cli/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  95. package/cli/app/.next-cli-build/server/app/_global-error.html +1 -1
  96. package/cli/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  97. package/cli/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  98. package/cli/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  99. package/cli/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  100. package/cli/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  101. package/cli/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  102. package/cli/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  103. package/cli/app/.next-cli-build/server/app/_not-found.html +1 -1
  104. package/cli/app/.next-cli-build/server/app/_not-found.rsc +3 -3
  105. package/cli/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  106. package/cli/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
  107. package/cli/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  108. package/cli/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  109. package/cli/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  110. package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  111. package/cli/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  112. package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  113. package/cli/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  114. package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  115. package/cli/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  116. package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  117. package/cli/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  118. package/cli/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  119. package/cli/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  120. package/cli/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +2 -2
  121. package/cli/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  122. package/cli/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  123. package/cli/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  124. package/cli/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  125. package/cli/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  126. package/cli/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  127. package/cli/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  128. package/cli/app/.next-cli-build/server/app/api/cache/stats/route.js +1 -1
  129. package/cli/app/.next-cli-build/server/app/api/cache/stats/route.js.nft.json +1 -1
  130. package/cli/app/.next-cli-build/server/app/api/changelog/route.js +1 -1
  131. package/cli/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
  132. package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -4
  133. package/cli/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  134. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  135. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  136. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  137. package/cli/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  138. package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  139. package/cli/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  140. package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  141. package/cli/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  142. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js +1 -1
  143. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-gateway/accounts/route.js.nft.json +1 -1
  144. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  145. package/cli/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  146. package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  147. package/cli/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  148. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  149. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  150. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  151. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  152. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  153. package/cli/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  154. package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  155. package/cli/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  156. package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  157. package/cli/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  158. package/cli/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  159. package/cli/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  160. package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  161. package/cli/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  162. package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  163. package/cli/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  164. package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  165. package/cli/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  166. package/cli/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
  167. package/cli/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  168. package/cli/app/.next-cli-build/server/app/api/cli-tools/openbot-settings/route.js +3 -0
  169. package/cli/app/.next-cli-build/server/app/api/cli-tools/openbot-settings/route.js.nft.json +1 -0
  170. package/cli/app/.next-cli-build/server/app/api/cli-tools/openbot-settings/route_client-reference-manifest.js +1 -0
  171. package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  172. package/cli/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  173. package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  174. package/cli/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  175. package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  176. package/cli/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  177. package/cli/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  178. package/cli/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  179. package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js +1 -1
  180. package/cli/app/.next-cli-build/server/app/api/context/[id]/route.js.nft.json +1 -1
  181. package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js +1 -1
  182. package/cli/app/.next-cli-build/server/app/api/context/bulk/route.js.nft.json +1 -1
  183. package/cli/app/.next-cli-build/server/app/api/context/route.js +1 -1
  184. package/cli/app/.next-cli-build/server/app/api/context/route.js.nft.json +1 -1
  185. package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js +1 -1
  186. package/cli/app/.next-cli-build/server/app/api/dashboard/chat/completions/route.js.nft.json +1 -1
  187. package/cli/app/.next-cli-build/server/app/api/dashboard/cli-tools/keys/route.js +1 -1
  188. package/cli/app/.next-cli-build/server/app/api/dashboard/cli-tools/keys/route.js.nft.json +1 -1
  189. package/cli/app/.next-cli-build/server/app/api/dashboard/media/[operation]/route.js +1 -1
  190. package/cli/app/.next-cli-build/server/app/api/dashboard/media/[operation]/route.js.nft.json +1 -1
  191. package/cli/app/.next-cli-build/server/app/api/dashboard/media/videos/[id]/route.js +1 -1
  192. package/cli/app/.next-cli-build/server/app/api/dashboard/media/videos/[id]/route.js.nft.json +1 -1
  193. package/cli/app/.next-cli-build/server/app/api/headroom/enable/route.js +1 -1
  194. package/cli/app/.next-cli-build/server/app/api/headroom/enable/route.js.nft.json +1 -1
  195. package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  196. package/cli/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  197. package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  198. package/cli/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  199. package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  200. package/cli/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  201. package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  202. package/cli/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  203. package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  204. package/cli/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  205. package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  206. package/cli/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  207. package/cli/app/.next-cli-build/server/app/api/health/ready/route.js +1 -1
  208. package/cli/app/.next-cli-build/server/app/api/health/ready/route.js.nft.json +1 -1
  209. package/cli/app/.next-cli-build/server/app/api/health/route.js +1 -1
  210. package/cli/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  211. package/cli/app/.next-cli-build/server/app/api/init/route.js +1 -1
  212. package/cli/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  213. package/cli/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js +1 -1
  214. package/cli/app/.next-cli-build/server/app/api/keys/[id]/rotate/route.js.nft.json +1 -1
  215. package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  216. package/cli/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  217. package/cli/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  218. package/cli/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  219. package/cli/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  220. package/cli/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  221. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  222. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  223. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  224. package/cli/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  225. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  226. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  227. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  228. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  229. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  230. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  231. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  232. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  233. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  234. package/cli/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  235. package/cli/app/.next-cli-build/server/app/api/metrics/route.js +2 -2
  236. package/cli/app/.next-cli-build/server/app/api/metrics/route.js.nft.json +1 -1
  237. package/cli/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  238. package/cli/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  239. package/cli/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  240. package/cli/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  241. package/cli/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  242. package/cli/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  243. package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  244. package/cli/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  245. package/cli/app/.next-cli-build/server/app/api/models/route.js +1 -1
  246. package/cli/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  247. package/cli/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  248. package/cli/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  249. package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  250. package/cli/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  251. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js +1 -1
  252. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  253. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  254. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  255. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js +1 -1
  256. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/[jobId]/route.js.nft.json +1 -1
  257. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js +1 -1
  258. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/latest/route.js.nft.json +1 -1
  259. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js +1 -1
  260. package/cli/app/.next-cli-build/server/app/api/oauth/antigravity/bulk-import/route.js.nft.json +1 -1
  261. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route.js +1 -1
  262. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  263. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  264. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  265. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route.js +1 -1
  266. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route.js.nft.json +1 -1
  267. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/latest/route.js +1 -1
  268. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/latest/route.js.nft.json +1 -1
  269. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/route.js +1 -1
  270. package/cli/app/.next-cli-build/server/app/api/oauth/cloudflare-ai/bulk-import/route.js.nft.json +1 -1
  271. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js +1 -1
  272. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  273. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  274. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  275. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js +1 -1
  276. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/[jobId]/route.js.nft.json +1 -1
  277. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js +1 -1
  278. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/latest/route.js.nft.json +1 -1
  279. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js +1 -1
  280. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-import/route.js.nft.json +1 -1
  281. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js +1 -1
  282. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/bulk-token/route.js.nft.json +1 -1
  283. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js +1 -1
  284. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy/quota-cookie/route.js.nft.json +1 -1
  285. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js +1 -1
  286. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  287. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  288. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  289. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js +1 -1
  290. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route.js.nft.json +1 -1
  291. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js +1 -1
  292. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/latest/route.js.nft.json +1 -1
  293. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js +1 -1
  294. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-import/route.js.nft.json +1 -1
  295. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js +1 -1
  296. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/bulk-token/route.js.nft.json +1 -1
  297. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js +1 -1
  298. package/cli/app/.next-cli-build/server/app/api/oauth/codebuddy-cn/quota-cookie/route.js.nft.json +1 -1
  299. package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  300. package/cli/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  301. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  302. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  303. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  304. package/cli/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  305. package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  306. package/cli/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  307. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js +1 -1
  308. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  309. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  310. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  311. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js +1 -1
  312. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/[jobId]/route.js.nft.json +1 -1
  313. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js +1 -1
  314. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/latest/route.js.nft.json +1 -1
  315. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  316. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  317. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-token/route.js +1 -1
  318. package/cli/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-token/route.js.nft.json +1 -1
  319. package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  320. package/cli/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  321. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  322. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  323. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  324. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  325. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js +1 -1
  326. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  327. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  328. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  329. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js +1 -1
  330. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/[jobId]/route.js.nft.json +1 -1
  331. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js +1 -1
  332. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/latest/route.js.nft.json +1 -1
  333. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js +1 -1
  334. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/bulk-import/route.js.nft.json +1 -1
  335. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  336. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  337. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  338. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  339. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  340. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  341. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  342. package/cli/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  343. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js +1 -1
  344. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route.js.nft.json +1 -1
  345. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js +1 -1
  346. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route.js.nft.json +1 -1
  347. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js +1 -1
  348. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/[jobId]/route.js.nft.json +1 -1
  349. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js +1 -1
  350. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/latest/route.js.nft.json +1 -1
  351. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js +1 -1
  352. package/cli/app/.next-cli-build/server/app/api/oauth/qoder/bulk-import/route.js.nft.json +1 -1
  353. package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
  354. package/cli/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  355. package/cli/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  356. package/cli/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  357. package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  358. package/cli/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  359. package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  360. package/cli/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  361. package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  362. package/cli/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  363. package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  364. package/cli/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  365. package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  366. package/cli/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  367. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  368. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  369. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  370. package/cli/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  371. package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js +1 -1
  372. package/cli/app/.next-cli-build/server/app/api/providers/bulk-delete/route.js.nft.json +1 -1
  373. package/cli/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  374. package/cli/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  375. package/cli/app/.next-cli-build/server/app/api/providers/cloudflare-ai/discover-models/route.js +51 -0
  376. package/cli/app/.next-cli-build/server/app/api/providers/cloudflare-ai/discover-models/route.js.nft.json +1 -0
  377. package/cli/app/.next-cli-build/server/app/api/providers/cloudflare-ai/discover-models/route_client-reference-manifest.js +1 -0
  378. package/cli/app/.next-cli-build/server/app/api/providers/codebuddy/discover-models/route.js +2 -2
  379. package/cli/app/.next-cli-build/server/app/api/providers/codebuddy/discover-models/route.js.nft.json +1 -1
  380. package/cli/app/.next-cli-build/server/app/api/providers/flow/import/route.js +1 -1
  381. package/cli/app/.next-cli-build/server/app/api/providers/flow/import/route.js.nft.json +1 -1
  382. package/cli/app/.next-cli-build/server/app/api/providers/flow/login/[jobId]/route.js +1 -1
  383. package/cli/app/.next-cli-build/server/app/api/providers/flow/login/[jobId]/route.js.nft.json +1 -1
  384. package/cli/app/.next-cli-build/server/app/api/providers/flow/login/route.js +1 -1
  385. package/cli/app/.next-cli-build/server/app/api/providers/flow/login/route.js.nft.json +1 -1
  386. package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  387. package/cli/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  388. package/cli/app/.next-cli-build/server/app/api/providers/kiro/discover-models/route.js +1 -1
  389. package/cli/app/.next-cli-build/server/app/api/providers/kiro/discover-models/route.js.nft.json +1 -1
  390. package/cli/app/.next-cli-build/server/app/api/providers/kiro/models/route.js +1 -1
  391. package/cli/app/.next-cli-build/server/app/api/providers/kiro/models/route.js.nft.json +1 -1
  392. package/cli/app/.next-cli-build/server/app/api/providers/opencode/discover-models/route.js +1 -1
  393. package/cli/app/.next-cli-build/server/app/api/providers/opencode/discover-models/route.js.nft.json +1 -1
  394. package/cli/app/.next-cli-build/server/app/api/providers/route.js +2 -2
  395. package/cli/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  396. package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  397. package/cli/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  398. package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  399. package/cli/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  400. package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js +2 -2
  401. package/cli/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  402. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  403. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  404. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  405. package/cli/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  406. package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  407. package/cli/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  408. package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  409. package/cli/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  410. package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  411. package/cli/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  412. package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  413. package/cli/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  414. package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  415. package/cli/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  416. package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  417. package/cli/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  418. package/cli/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  419. package/cli/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  420. package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  421. package/cli/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  422. package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  423. package/cli/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  424. package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  425. package/cli/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  426. package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  427. package/cli/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  428. package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  429. package/cli/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  430. package/cli/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  431. package/cli/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  432. package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  433. package/cli/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  434. package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  435. package/cli/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  436. package/cli/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  437. package/cli/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  438. package/cli/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  439. package/cli/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  440. package/cli/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  441. package/cli/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  442. package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route.js +1 -1
  443. package/cli/app/.next-cli-build/server/app/api/terminal/auth/setup/route.js.nft.json +1 -1
  444. package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route.js +1 -1
  445. package/cli/app/.next-cli-build/server/app/api/terminal/auth/status/route.js.nft.json +1 -1
  446. package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route.js +1 -1
  447. package/cli/app/.next-cli-build/server/app/api/terminal/auth/unlock/route.js.nft.json +1 -1
  448. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js +1 -1
  449. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/input/route.js.nft.json +1 -1
  450. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route.js +1 -1
  451. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/resize/route.js.nft.json +1 -1
  452. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route.js +1 -1
  453. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/route.js.nft.json +1 -1
  454. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route.js +2 -2
  455. package/cli/app/.next-cli-build/server/app/api/terminal/session/[id]/stream/route.js.nft.json +1 -1
  456. package/cli/app/.next-cli-build/server/app/api/terminal/session/route.js +1 -1
  457. package/cli/app/.next-cli-build/server/app/api/terminal/session/route.js.nft.json +1 -1
  458. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  459. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  460. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  461. package/cli/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  462. package/cli/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  463. package/cli/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  464. package/cli/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  465. package/cli/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  466. package/cli/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  467. package/cli/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  468. package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js +2 -2
  469. package/cli/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  470. package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  471. package/cli/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  472. package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  473. package/cli/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  474. package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  475. package/cli/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  476. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  477. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  478. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  479. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  480. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  481. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  482. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  483. package/cli/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  484. package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  485. package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  486. package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  487. package/cli/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  488. package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js +1 -1
  489. package/cli/app/.next-cli-build/server/app/api/usage/aggregate/route.js.nft.json +1 -1
  490. package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  491. package/cli/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  492. package/cli/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  493. package/cli/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  494. package/cli/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  495. package/cli/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  496. package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  497. package/cli/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  498. package/cli/app/.next-cli-build/server/app/api/usage/quota-stream/route.js +1 -1
  499. package/cli/app/.next-cli-build/server/app/api/usage/quota-stream/route.js.nft.json +1 -1
  500. package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  501. package/cli/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  502. package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  503. package/cli/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  504. package/cli/app/.next-cli-build/server/app/api/usage/routing-stream/route.js +2 -2
  505. package/cli/app/.next-cli-build/server/app/api/usage/routing-stream/route.js.nft.json +1 -1
  506. package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  507. package/cli/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  508. package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  509. package/cli/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  510. package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  511. package/cli/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  512. package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  513. package/cli/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  514. package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  515. package/cli/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  516. package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  517. package/cli/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  518. package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  519. package/cli/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  520. package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  521. package/cli/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  522. package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  523. package/cli/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  524. package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  525. package/cli/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  526. package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  527. package/cli/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  528. package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  529. package/cli/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  530. package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  531. package/cli/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  532. package/cli/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  533. package/cli/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  534. package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  535. package/cli/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  536. package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  537. package/cli/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  538. package/cli/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  539. package/cli/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  540. package/cli/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  541. package/cli/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  542. package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/content/route.js +1 -1
  543. package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/content/route.js.nft.json +1 -1
  544. package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  545. package/cli/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  546. package/cli/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  547. package/cli/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  548. package/cli/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  549. package/cli/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  550. package/cli/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  551. package/cli/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  552. package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  553. package/cli/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  554. package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  555. package/cli/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  556. package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  557. package/cli/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  558. package/cli/app/.next-cli-build/server/app/api/version/route.js +1 -1
  559. package/cli/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  560. package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  561. package/cli/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  562. package/cli/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  563. package/cli/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  564. package/cli/app/.next-cli-build/server/app/callback/page.js +1 -1
  565. package/cli/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  566. package/cli/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  567. package/cli/app/.next-cli-build/server/app/callback.html +1 -1
  568. package/cli/app/.next-cli-build/server/app/callback.rsc +3 -3
  569. package/cli/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
  570. package/cli/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  571. package/cli/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +3 -3
  572. package/cli/app/.next-cli-build/server/app/dashboard/automation.html +1 -1
  573. package/cli/app/.next-cli-build/server/app/dashboard/automation.rsc +3 -3
  574. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/!KGRhc2hib2FyZCk/dashboard/automation/__PAGE__.segment.rsc +3 -3
  575. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_full.segment.rsc +3 -3
  576. package/cli/app/.next-cli-build/server/app/dashboard/automation.segments/_tree.segment.rsc +2 -2
  577. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  578. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +3 -3
  579. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +3 -3
  580. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +3 -3
  581. package/cli/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  582. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  583. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  584. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +6 -6
  585. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  586. package/cli/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  587. package/cli/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  588. package/cli/app/.next-cli-build/server/app/dashboard/combos.rsc +3 -3
  589. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +3 -3
  590. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +3 -3
  591. package/cli/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  592. package/cli/app/.next-cli-build/server/app/dashboard/context.html +1 -1
  593. package/cli/app/.next-cli-build/server/app/dashboard/context.rsc +3 -3
  594. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/!KGRhc2hib2FyZCk/dashboard/context/__PAGE__.segment.rsc +3 -3
  595. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_full.segment.rsc +3 -3
  596. package/cli/app/.next-cli-build/server/app/dashboard/context.segments/_tree.segment.rsc +2 -2
  597. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  598. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.rsc +3 -3
  599. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +3 -3
  600. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +3 -3
  601. package/cli/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  602. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  603. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +3 -3
  604. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +3 -3
  605. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +3 -3
  606. package/cli/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  607. package/cli/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  608. package/cli/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  609. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +6 -6
  610. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  611. package/cli/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  612. package/cli/app/.next-cli-build/server/app/dashboard/playground.html +1 -1
  613. package/cli/app/.next-cli-build/server/app/dashboard/playground.rsc +3 -3
  614. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/!KGRhc2hib2FyZCk/dashboard/playground/__PAGE__.segment.rsc +3 -3
  615. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_full.segment.rsc +3 -3
  616. package/cli/app/.next-cli-build/server/app/dashboard/playground.segments/_tree.segment.rsc +2 -2
  617. package/cli/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  618. package/cli/app/.next-cli-build/server/app/dashboard/profile.rsc +3 -3
  619. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +3 -3
  620. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +3 -3
  621. package/cli/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  622. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  623. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.rsc +3 -3
  624. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +3 -3
  625. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +3 -3
  626. package/cli/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  627. package/cli/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  628. package/cli/app/.next-cli-build/server/app/dashboard/providers.rsc +3 -3
  629. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +3 -3
  630. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +3 -3
  631. package/cli/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  632. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  633. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +3 -3
  634. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +3 -3
  635. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +3 -3
  636. package/cli/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  637. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  638. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +3 -3
  639. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +3 -3
  640. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +3 -3
  641. package/cli/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  642. package/cli/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  643. package/cli/app/.next-cli-build/server/app/dashboard/quota.rsc +4 -4
  644. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +4 -4
  645. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +4 -4
  646. package/cli/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  647. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  648. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
  649. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/!KGRhc2hib2FyZCk/dashboard/settings/pricing/__PAGE__.segment.rsc +3 -3
  650. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  651. package/cli/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  652. package/cli/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  653. package/cli/app/.next-cli-build/server/app/dashboard/skills.rsc +3 -3
  654. package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +3 -3
  655. package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +3 -3
  656. package/cli/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  657. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  658. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.rsc +3 -3
  659. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +3 -3
  660. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +3 -3
  661. package/cli/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  662. package/cli/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  663. package/cli/app/.next-cli-build/server/app/dashboard/translator.rsc +3 -3
  664. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +3 -3
  665. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +3 -3
  666. package/cli/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  667. package/cli/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  668. package/cli/app/.next-cli-build/server/app/dashboard/usage.rsc +3 -3
  669. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +3 -3
  670. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +3 -3
  671. package/cli/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  672. package/cli/app/.next-cli-build/server/app/dashboard.html +1 -1
  673. package/cli/app/.next-cli-build/server/app/dashboard.rsc +3 -3
  674. package/cli/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +3 -3
  675. package/cli/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +3 -3
  676. package/cli/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  677. package/cli/app/.next-cli-build/server/app/index.html +1 -1
  678. package/cli/app/.next-cli-build/server/app/index.rsc +3 -3
  679. package/cli/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  680. package/cli/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  681. package/cli/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  682. package/cli/app/.next-cli-build/server/app/landing/page.js +1 -1
  683. package/cli/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  684. package/cli/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  685. package/cli/app/.next-cli-build/server/app/landing.html +1 -1
  686. package/cli/app/.next-cli-build/server/app/landing.rsc +3 -3
  687. package/cli/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
  688. package/cli/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  689. package/cli/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +3 -3
  690. package/cli/app/.next-cli-build/server/app/login/page.js +1 -1
  691. package/cli/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  692. package/cli/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  693. package/cli/app/.next-cli-build/server/app/login.html +1 -1
  694. package/cli/app/.next-cli-build/server/app/login.rsc +3 -3
  695. package/cli/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +3 -3
  696. package/cli/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  697. package/cli/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
  698. package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  699. package/cli/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  700. package/cli/app/.next-cli-build/server/app/page.js +1 -1
  701. package/cli/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  702. package/cli/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  703. package/cli/app/.next-cli-build/server/app/provider-icons/[provider]/route.js +2 -2
  704. package/cli/app/.next-cli-build/server/app/provider-icons/[provider]/route.js.nft.json +1 -1
  705. package/cli/app/.next-cli-build/server/app/skills/[skill]/SKILL.md/route.js +1 -1
  706. package/cli/app/.next-cli-build/server/app/skills/[skill]/SKILL.md/route.js.nft.json +1 -1
  707. package/cli/app/.next-cli-build/server/app-paths-manifest.json +23 -21
  708. package/cli/app/.next-cli-build/server/chunks/1131.js +1 -1
  709. package/cli/app/.next-cli-build/server/chunks/1350.js +1 -1
  710. package/cli/app/.next-cli-build/server/chunks/1998.js +1 -0
  711. package/cli/app/.next-cli-build/server/chunks/2051.js +1 -0
  712. package/cli/app/.next-cli-build/server/chunks/2299.js +2 -2
  713. package/cli/app/.next-cli-build/server/chunks/2301.js +4 -0
  714. package/cli/app/.next-cli-build/server/chunks/2409.js +1 -1
  715. package/cli/app/.next-cli-build/server/chunks/{3949.js → 2897.js} +2 -2
  716. package/cli/app/.next-cli-build/server/chunks/3184.js +26 -0
  717. package/cli/app/.next-cli-build/server/chunks/3263.js +1 -1
  718. package/cli/app/.next-cli-build/server/chunks/3477.js +1 -1
  719. package/cli/app/.next-cli-build/server/chunks/3487.js +1 -1
  720. package/cli/app/.next-cli-build/server/chunks/3904.js +1 -1
  721. package/cli/app/.next-cli-build/server/chunks/4236.js +1 -1
  722. package/cli/app/.next-cli-build/server/chunks/4315.js +1 -1
  723. package/cli/app/.next-cli-build/server/chunks/4720.js +1 -1
  724. package/cli/app/.next-cli-build/server/chunks/4827.js +1 -1
  725. package/cli/app/.next-cli-build/server/chunks/4897.js +1 -1
  726. package/cli/app/.next-cli-build/server/chunks/492.js +3 -3
  727. package/cli/app/.next-cli-build/server/chunks/5024.js +1 -1
  728. package/cli/app/.next-cli-build/server/chunks/5330.js +3 -3
  729. package/cli/app/.next-cli-build/server/chunks/5434.js +1 -1
  730. package/cli/app/.next-cli-build/server/chunks/5681.js +1 -1
  731. package/cli/app/.next-cli-build/server/chunks/5932.js +1 -0
  732. package/cli/app/.next-cli-build/server/chunks/6306.js +1 -1
  733. package/cli/app/.next-cli-build/server/chunks/6492.js +1 -1
  734. package/cli/app/.next-cli-build/server/chunks/{5029.js → 6975.js} +3 -3
  735. package/cli/app/.next-cli-build/server/chunks/7170.js +1 -1
  736. package/cli/app/.next-cli-build/server/chunks/7319.js +41 -17
  737. package/cli/app/.next-cli-build/server/chunks/7432.js +1 -1
  738. package/cli/app/.next-cli-build/server/chunks/7502.js +1 -1
  739. package/cli/app/.next-cli-build/server/chunks/7634.js +1 -1
  740. package/cli/app/.next-cli-build/server/chunks/8306.js +1 -1
  741. package/cli/app/.next-cli-build/server/chunks/8641.js +1 -1
  742. package/cli/app/.next-cli-build/server/chunks/891.js +1 -1
  743. package/cli/app/.next-cli-build/server/chunks/9609.js +1 -1
  744. package/cli/app/.next-cli-build/server/chunks/9835.js +1 -1
  745. package/cli/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  746. package/cli/app/.next-cli-build/server/middleware.js +5 -5
  747. package/cli/app/.next-cli-build/server/pages/404.html +1 -1
  748. package/cli/app/.next-cli-build/server/pages/500.html +1 -1
  749. package/cli/app/.next-cli-build/server/preview-props.json +3 -3
  750. package/cli/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  751. package/cli/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  752. package/cli/app/.next-cli-build/static/49WrfprfANWLHDX8M34oV/_buildManifest.js +1 -0
  753. package/cli/app/.next-cli-build/static/chunks/{2788-2df2621713259623.js → 2428-ecbb80abca3fb652.js} +13 -13
  754. package/cli/app/.next-cli-build/static/chunks/620-db14acf5ab1f9090.js +1 -0
  755. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-6c358e2d73c5a84f.js → page-8b9ca3abb568ffd2.js} +1 -1
  756. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-09ddee1cb9a8a1dd.js → page-4da658622b46b885.js} +1 -1
  757. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-838649fa37a461a4.js → page-a4b7b35c87bf288a.js} +1 -1
  758. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-d274fc7161c16f8d.js +3 -0
  759. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-638bb31d9879c8b8.js +1 -0
  760. package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-5d1fae532548c29e.js +1 -0
  761. package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-5d1fae532548c29e.js +1 -0
  762. package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-5d1fae532548c29e.js +1 -0
  763. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-5d1fae532548c29e.js +1 -0
  764. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-5d1fae532548c29e.js +1 -0
  765. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-5d1fae532548c29e.js +1 -0
  766. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-5d1fae532548c29e.js +1 -0
  767. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-5d1fae532548c29e.js +1 -0
  768. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-5d1fae532548c29e.js +1 -0
  769. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-5d1fae532548c29e.js +1 -0
  770. package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-5d1fae532548c29e.js +1 -0
  771. package/cli/app/.next-cli-build/static/chunks/app/api/cache/stats/route-5d1fae532548c29e.js +1 -0
  772. package/cli/app/.next-cli-build/static/chunks/app/api/changelog/route-5d1fae532548c29e.js +1 -0
  773. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-5d1fae532548c29e.js +1 -0
  774. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-5d1fae532548c29e.js +1 -0
  775. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-5d1fae532548c29e.js +1 -0
  776. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-5d1fae532548c29e.js +1 -0
  777. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-5d1fae532548c29e.js +1 -0
  778. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-5d1fae532548c29e.js +1 -0
  779. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-5d1fae532548c29e.js +1 -0
  780. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-5d1fae532548c29e.js +1 -0
  781. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-5d1fae532548c29e.js +1 -0
  782. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-5d1fae532548c29e.js +1 -0
  783. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-5d1fae532548c29e.js +1 -0
  784. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-5d1fae532548c29e.js +1 -0
  785. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-5d1fae532548c29e.js +1 -0
  786. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-5d1fae532548c29e.js +1 -0
  787. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-5d1fae532548c29e.js +1 -0
  788. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-5d1fae532548c29e.js +1 -0
  789. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-5d1fae532548c29e.js +1 -0
  790. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-5d1fae532548c29e.js +1 -0
  791. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openbot-settings/route-5d1fae532548c29e.js +1 -0
  792. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-5d1fae532548c29e.js +1 -0
  793. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-5d1fae532548c29e.js +1 -0
  794. package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-5d1fae532548c29e.js +1 -0
  795. package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-5d1fae532548c29e.js +1 -0
  796. package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-5d1fae532548c29e.js +1 -0
  797. package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-5d1fae532548c29e.js +1 -0
  798. package/cli/app/.next-cli-build/static/chunks/app/api/context/route-5d1fae532548c29e.js +1 -0
  799. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/chat/completions/route-5d1fae532548c29e.js +1 -0
  800. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/cli-tools/keys/route-5d1fae532548c29e.js +1 -0
  801. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/media/[operation]/route-5d1fae532548c29e.js +1 -0
  802. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/media/videos/[id]/route-5d1fae532548c29e.js +1 -0
  803. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/enable/route-5d1fae532548c29e.js +1 -0
  804. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-5d1fae532548c29e.js +1 -0
  805. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-5d1fae532548c29e.js +1 -0
  806. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-5d1fae532548c29e.js +1 -0
  807. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-5d1fae532548c29e.js +1 -0
  808. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-5d1fae532548c29e.js +1 -0
  809. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-5d1fae532548c29e.js +1 -0
  810. package/cli/app/.next-cli-build/static/chunks/app/api/health/ready/route-5d1fae532548c29e.js +1 -0
  811. package/cli/app/.next-cli-build/static/chunks/app/api/health/route-5d1fae532548c29e.js +1 -0
  812. package/cli/app/.next-cli-build/static/chunks/app/api/init/route-5d1fae532548c29e.js +1 -0
  813. package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-5d1fae532548c29e.js +1 -0
  814. package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-5d1fae532548c29e.js +1 -0
  815. package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-5d1fae532548c29e.js +1 -0
  816. package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-5d1fae532548c29e.js +1 -0
  817. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-5d1fae532548c29e.js +1 -0
  818. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-5d1fae532548c29e.js +1 -0
  819. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-5d1fae532548c29e.js +1 -0
  820. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-5d1fae532548c29e.js +1 -0
  821. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-5d1fae532548c29e.js +1 -0
  822. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-5d1fae532548c29e.js +1 -0
  823. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-5d1fae532548c29e.js +1 -0
  824. package/cli/app/.next-cli-build/static/chunks/app/api/metrics/route-5d1fae532548c29e.js +1 -0
  825. package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-5d1fae532548c29e.js +1 -0
  826. package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-5d1fae532548c29e.js +1 -0
  827. package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-5d1fae532548c29e.js +1 -0
  828. package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-5d1fae532548c29e.js +1 -0
  829. package/cli/app/.next-cli-build/static/chunks/app/api/models/route-5d1fae532548c29e.js +1 -0
  830. package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-5d1fae532548c29e.js +1 -0
  831. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-5d1fae532548c29e.js +1 -0
  832. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-5d1fae532548c29e.js +1 -0
  833. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-5d1fae532548c29e.js +1 -0
  834. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-5d1fae532548c29e.js +1 -0
  835. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-5d1fae532548c29e.js +1 -0
  836. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-5d1fae532548c29e.js +1 -0
  837. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route-5d1fae532548c29e.js +1 -0
  838. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route-5d1fae532548c29e.js +1 -0
  839. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route-5d1fae532548c29e.js +1 -0
  840. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/latest/route-5d1fae532548c29e.js +1 -0
  841. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/route-5d1fae532548c29e.js +1 -0
  842. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-5d1fae532548c29e.js +1 -0
  843. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-5d1fae532548c29e.js +1 -0
  844. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-5d1fae532548c29e.js +1 -0
  845. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-5d1fae532548c29e.js +1 -0
  846. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-5d1fae532548c29e.js +1 -0
  847. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-5d1fae532548c29e.js +1 -0
  848. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-5d1fae532548c29e.js +1 -0
  849. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-5d1fae532548c29e.js +1 -0
  850. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-5d1fae532548c29e.js +1 -0
  851. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-5d1fae532548c29e.js +1 -0
  852. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-5d1fae532548c29e.js +1 -0
  853. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-5d1fae532548c29e.js +1 -0
  854. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-5d1fae532548c29e.js +1 -0
  855. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-5d1fae532548c29e.js +1 -0
  856. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-5d1fae532548c29e.js +1 -0
  857. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-5d1fae532548c29e.js +1 -0
  858. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-5d1fae532548c29e.js +1 -0
  859. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-5d1fae532548c29e.js +1 -0
  860. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route-5d1fae532548c29e.js +1 -0
  861. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route-5d1fae532548c29e.js +1 -0
  862. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/route-5d1fae532548c29e.js +1 -0
  863. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/latest/route-5d1fae532548c29e.js +1 -0
  864. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-5d1fae532548c29e.js +1 -0
  865. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-token/route-5d1fae532548c29e.js +1 -0
  866. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-5d1fae532548c29e.js +1 -0
  867. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-5d1fae532548c29e.js +1 -0
  868. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-5d1fae532548c29e.js +1 -0
  869. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-5d1fae532548c29e.js +1 -0
  870. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-5d1fae532548c29e.js +1 -0
  871. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-5d1fae532548c29e.js +1 -0
  872. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-5d1fae532548c29e.js +1 -0
  873. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-5d1fae532548c29e.js +1 -0
  874. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-5d1fae532548c29e.js +1 -0
  875. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-5d1fae532548c29e.js +1 -0
  876. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-5d1fae532548c29e.js +1 -0
  877. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-5d1fae532548c29e.js +1 -0
  878. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-5d1fae532548c29e.js +1 -0
  879. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-5d1fae532548c29e.js +1 -0
  880. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-5d1fae532548c29e.js +1 -0
  881. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-5d1fae532548c29e.js +1 -0
  882. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-5d1fae532548c29e.js +1 -0
  883. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-5d1fae532548c29e.js +1 -0
  884. package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-5d1fae532548c29e.js +1 -0
  885. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-5d1fae532548c29e.js +1 -0
  886. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-5d1fae532548c29e.js +1 -0
  887. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-5d1fae532548c29e.js +1 -0
  888. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-5d1fae532548c29e.js +1 -0
  889. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-5d1fae532548c29e.js +1 -0
  890. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-5d1fae532548c29e.js +1 -0
  891. package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-5d1fae532548c29e.js +1 -0
  892. package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-5d1fae532548c29e.js +1 -0
  893. package/cli/app/.next-cli-build/static/chunks/app/api/providers/cloudflare-ai/discover-models/route-5d1fae532548c29e.js +1 -0
  894. package/cli/app/.next-cli-build/static/chunks/app/api/providers/codebuddy/discover-models/route-5d1fae532548c29e.js +1 -0
  895. package/cli/app/.next-cli-build/static/chunks/app/api/providers/flow/import/route-5d1fae532548c29e.js +1 -0
  896. package/cli/app/.next-cli-build/static/chunks/app/api/providers/flow/login/[jobId]/route-5d1fae532548c29e.js +1 -0
  897. package/cli/app/.next-cli-build/static/chunks/app/api/providers/flow/login/route-5d1fae532548c29e.js +1 -0
  898. package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-5d1fae532548c29e.js +1 -0
  899. package/cli/app/.next-cli-build/static/chunks/app/api/providers/kiro/discover-models/route-5d1fae532548c29e.js +1 -0
  900. package/cli/app/.next-cli-build/static/chunks/app/api/providers/kiro/models/route-5d1fae532548c29e.js +1 -0
  901. package/cli/app/.next-cli-build/static/chunks/app/api/providers/opencode/discover-models/route-5d1fae532548c29e.js +1 -0
  902. package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-5d1fae532548c29e.js +1 -0
  903. package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-5d1fae532548c29e.js +1 -0
  904. package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-5d1fae532548c29e.js +1 -0
  905. package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-5d1fae532548c29e.js +1 -0
  906. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-5d1fae532548c29e.js +1 -0
  907. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-5d1fae532548c29e.js +1 -0
  908. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-5d1fae532548c29e.js +1 -0
  909. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-5d1fae532548c29e.js +1 -0
  910. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-5d1fae532548c29e.js +1 -0
  911. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-5d1fae532548c29e.js +1 -0
  912. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-5d1fae532548c29e.js +1 -0
  913. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-5d1fae532548c29e.js +1 -0
  914. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-5d1fae532548c29e.js +1 -0
  915. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-5d1fae532548c29e.js +1 -0
  916. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-5d1fae532548c29e.js +1 -0
  917. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-5d1fae532548c29e.js +1 -0
  918. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-5d1fae532548c29e.js +1 -0
  919. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-5d1fae532548c29e.js +1 -0
  920. package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-5d1fae532548c29e.js +1 -0
  921. package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-5d1fae532548c29e.js +1 -0
  922. package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-5d1fae532548c29e.js +1 -0
  923. package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-5d1fae532548c29e.js +1 -0
  924. package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-5d1fae532548c29e.js +1 -0
  925. package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-5d1fae532548c29e.js +1 -0
  926. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/setup/route-5d1fae532548c29e.js +1 -0
  927. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/status/route-5d1fae532548c29e.js +1 -0
  928. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/unlock/route-5d1fae532548c29e.js +1 -0
  929. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/input/route-5d1fae532548c29e.js +1 -0
  930. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/resize/route-5d1fae532548c29e.js +1 -0
  931. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/route-5d1fae532548c29e.js +1 -0
  932. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/stream/route-5d1fae532548c29e.js +1 -0
  933. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/route-5d1fae532548c29e.js +1 -0
  934. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-5d1fae532548c29e.js +1 -0
  935. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-5d1fae532548c29e.js +1 -0
  936. package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-5d1fae532548c29e.js +1 -0
  937. package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-5d1fae532548c29e.js +1 -0
  938. package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-5d1fae532548c29e.js +1 -0
  939. package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-5d1fae532548c29e.js +1 -0
  940. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-5d1fae532548c29e.js +1 -0
  941. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-5d1fae532548c29e.js +1 -0
  942. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-5d1fae532548c29e.js +1 -0
  943. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-5d1fae532548c29e.js +1 -0
  944. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-5d1fae532548c29e.js +1 -0
  945. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-5d1fae532548c29e.js +1 -0
  946. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-5d1fae532548c29e.js +1 -0
  947. package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-5d1fae532548c29e.js +1 -0
  948. package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-5d1fae532548c29e.js +1 -0
  949. package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-5d1fae532548c29e.js +1 -0
  950. package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-5d1fae532548c29e.js +1 -0
  951. package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-5d1fae532548c29e.js +1 -0
  952. package/cli/app/.next-cli-build/static/chunks/app/api/usage/logs/route-5d1fae532548c29e.js +1 -0
  953. package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-5d1fae532548c29e.js +1 -0
  954. package/cli/app/.next-cli-build/static/chunks/app/api/usage/quota-stream/route-5d1fae532548c29e.js +1 -0
  955. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-5d1fae532548c29e.js +1 -0
  956. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-5d1fae532548c29e.js +1 -0
  957. package/cli/app/.next-cli-build/static/chunks/app/api/usage/routing-stream/route-5d1fae532548c29e.js +1 -0
  958. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-5d1fae532548c29e.js +1 -0
  959. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-5d1fae532548c29e.js +1 -0
  960. package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-5d1fae532548c29e.js +1 -0
  961. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-5d1fae532548c29e.js +1 -0
  962. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-5d1fae532548c29e.js +1 -0
  963. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-5d1fae532548c29e.js +1 -0
  964. package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-5d1fae532548c29e.js +1 -0
  965. package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-5d1fae532548c29e.js +1 -0
  966. package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-5d1fae532548c29e.js +1 -0
  967. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-5d1fae532548c29e.js +1 -0
  968. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-5d1fae532548c29e.js +1 -0
  969. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-5d1fae532548c29e.js +1 -0
  970. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-5d1fae532548c29e.js +1 -0
  971. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-5d1fae532548c29e.js +1 -0
  972. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-5d1fae532548c29e.js +1 -0
  973. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-5d1fae532548c29e.js +1 -0
  974. package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-5d1fae532548c29e.js +1 -0
  975. package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-5d1fae532548c29e.js +1 -0
  976. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/content/route-5d1fae532548c29e.js +1 -0
  977. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-5d1fae532548c29e.js +1 -0
  978. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-5d1fae532548c29e.js +1 -0
  979. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-5d1fae532548c29e.js +1 -0
  980. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-5d1fae532548c29e.js +1 -0
  981. package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-5d1fae532548c29e.js +1 -0
  982. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-5d1fae532548c29e.js +1 -0
  983. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-5d1fae532548c29e.js +1 -0
  984. package/cli/app/.next-cli-build/static/chunks/app/api/version/route-5d1fae532548c29e.js +1 -0
  985. package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-5d1fae532548c29e.js +1 -0
  986. package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-5d1fae532548c29e.js +1 -0
  987. package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-5d1fae532548c29e.js +1 -0
  988. package/cli/app/.next-cli-build/static/chunks/app/page-5d1fae532548c29e.js +1 -0
  989. package/cli/app/.next-cli-build/static/chunks/app/provider-icons/[provider]/route-5d1fae532548c29e.js +1 -0
  990. package/cli/app/.next-cli-build/static/chunks/app/skills/[skill]/SKILL.md/route-5d1fae532548c29e.js +1 -0
  991. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-5d1fae532548c29e.js +1 -0
  992. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-5d1fae532548c29e.js +1 -0
  993. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-5d1fae532548c29e.js +1 -0
  994. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-5d1fae532548c29e.js +1 -0
  995. package/cli/app/.next-cli-build/static/css/b45d78e41f951e9a.css +1 -0
  996. package/cli/app/CHANGELOG.md +19 -0
  997. package/cli/app/package.json +1 -1
  998. package/cli/app/public/providers/omp.png +0 -0
  999. package/cli/app/public/providers/openbot.png +0 -0
  1000. package/cli/package.json +1 -1
  1001. package/package.json +1 -1
  1002. package/cli/app/.next-cli-build/server/chunks/2339.js +0 -1
  1003. package/cli/app/.next-cli-build/server/chunks/4493.js +0 -2
  1004. package/cli/app/.next-cli-build/server/chunks/5224.js +0 -1
  1005. package/cli/app/.next-cli-build/server/chunks/5436.js +0 -4
  1006. package/cli/app/.next-cli-build/server/chunks/773.js +0 -1
  1007. package/cli/app/.next-cli-build/static/chunks/620-906645f5d1ae437c.js +0 -1
  1008. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-cc4cd8701a14c45e.js +0 -3
  1009. package/cli/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-36f947b5449cdf6b.js +0 -1
  1010. package/cli/app/.next-cli-build/static/chunks/app/_global-error/page-c8a0d3b188f8e4f8.js +0 -1
  1011. package/cli/app/.next-cli-build/static/chunks/app/api/auth/login/route-c8a0d3b188f8e4f8.js +0 -1
  1012. package/cli/app/.next-cli-build/static/chunks/app/api/auth/logout/route-c8a0d3b188f8e4f8.js +0 -1
  1013. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-c8a0d3b188f8e4f8.js +0 -1
  1014. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-c8a0d3b188f8e4f8.js +0 -1
  1015. package/cli/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-c8a0d3b188f8e4f8.js +0 -1
  1016. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-c8a0d3b188f8e4f8.js +0 -1
  1017. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-c8a0d3b188f8e4f8.js +0 -1
  1018. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-c8a0d3b188f8e4f8.js +0 -1
  1019. package/cli/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-c8a0d3b188f8e4f8.js +0 -1
  1020. package/cli/app/.next-cli-build/static/chunks/app/api/auth/status/route-c8a0d3b188f8e4f8.js +0 -1
  1021. package/cli/app/.next-cli-build/static/chunks/app/api/cache/stats/route-c8a0d3b188f8e4f8.js +0 -1
  1022. package/cli/app/.next-cli-build/static/chunks/app/api/changelog/route-c8a0d3b188f8e4f8.js +0 -1
  1023. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-c8a0d3b188f8e4f8.js +0 -1
  1024. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-c8a0d3b188f8e4f8.js +0 -1
  1025. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-c8a0d3b188f8e4f8.js +0 -1
  1026. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1027. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1028. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-gateway/accounts/route-c8a0d3b188f8e4f8.js +0 -1
  1029. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1030. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1031. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-c8a0d3b188f8e4f8.js +0 -1
  1032. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-c8a0d3b188f8e4f8.js +0 -1
  1033. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1034. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1035. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1036. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1037. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1038. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1039. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1040. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1041. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1042. package/cli/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-c8a0d3b188f8e4f8.js +0 -1
  1043. package/cli/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-c8a0d3b188f8e4f8.js +0 -1
  1044. package/cli/app/.next-cli-build/static/chunks/app/api/combos/route-c8a0d3b188f8e4f8.js +0 -1
  1045. package/cli/app/.next-cli-build/static/chunks/app/api/context/[id]/route-c8a0d3b188f8e4f8.js +0 -1
  1046. package/cli/app/.next-cli-build/static/chunks/app/api/context/bulk/route-c8a0d3b188f8e4f8.js +0 -1
  1047. package/cli/app/.next-cli-build/static/chunks/app/api/context/route-c8a0d3b188f8e4f8.js +0 -1
  1048. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/chat/completions/route-c8a0d3b188f8e4f8.js +0 -1
  1049. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/cli-tools/keys/route-c8a0d3b188f8e4f8.js +0 -1
  1050. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/media/[operation]/route-c8a0d3b188f8e4f8.js +0 -1
  1051. package/cli/app/.next-cli-build/static/chunks/app/api/dashboard/media/videos/[id]/route-c8a0d3b188f8e4f8.js +0 -1
  1052. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/enable/route-c8a0d3b188f8e4f8.js +0 -1
  1053. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-c8a0d3b188f8e4f8.js +0 -1
  1054. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-c8a0d3b188f8e4f8.js +0 -1
  1055. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-c8a0d3b188f8e4f8.js +0 -1
  1056. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/start/route-c8a0d3b188f8e4f8.js +0 -1
  1057. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/status/route-c8a0d3b188f8e4f8.js +0 -1
  1058. package/cli/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-c8a0d3b188f8e4f8.js +0 -1
  1059. package/cli/app/.next-cli-build/static/chunks/app/api/health/ready/route-c8a0d3b188f8e4f8.js +0 -1
  1060. package/cli/app/.next-cli-build/static/chunks/app/api/health/route-c8a0d3b188f8e4f8.js +0 -1
  1061. package/cli/app/.next-cli-build/static/chunks/app/api/init/route-c8a0d3b188f8e4f8.js +0 -1
  1062. package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/rotate/route-c8a0d3b188f8e4f8.js +0 -1
  1063. package/cli/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-c8a0d3b188f8e4f8.js +0 -1
  1064. package/cli/app/.next-cli-build/static/chunks/app/api/keys/route-c8a0d3b188f8e4f8.js +0 -1
  1065. package/cli/app/.next-cli-build/static/chunks/app/api/locale/route-c8a0d3b188f8e4f8.js +0 -1
  1066. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-c8a0d3b188f8e4f8.js +0 -1
  1067. package/cli/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-c8a0d3b188f8e4f8.js +0 -1
  1068. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-c8a0d3b188f8e4f8.js +0 -1
  1069. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-c8a0d3b188f8e4f8.js +0 -1
  1070. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-c8a0d3b188f8e4f8.js +0 -1
  1071. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-c8a0d3b188f8e4f8.js +0 -1
  1072. package/cli/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-c8a0d3b188f8e4f8.js +0 -1
  1073. package/cli/app/.next-cli-build/static/chunks/app/api/metrics/route-c8a0d3b188f8e4f8.js +0 -1
  1074. package/cli/app/.next-cli-build/static/chunks/app/api/models/alias/route-c8a0d3b188f8e4f8.js +0 -1
  1075. package/cli/app/.next-cli-build/static/chunks/app/api/models/availability/route-c8a0d3b188f8e4f8.js +0 -1
  1076. package/cli/app/.next-cli-build/static/chunks/app/api/models/custom/route-c8a0d3b188f8e4f8.js +0 -1
  1077. package/cli/app/.next-cli-build/static/chunks/app/api/models/disabled/route-c8a0d3b188f8e4f8.js +0 -1
  1078. package/cli/app/.next-cli-build/static/chunks/app/api/models/route-c8a0d3b188f8e4f8.js +0 -1
  1079. package/cli/app/.next-cli-build/static/chunks/app/api/models/test/route-c8a0d3b188f8e4f8.js +0 -1
  1080. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-c8a0d3b188f8e4f8.js +0 -1
  1081. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/cancel/route-c8a0d3b188f8e4f8.js +0 -1
  1082. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/manual/[workerId]/route-c8a0d3b188f8e4f8.js +0 -1
  1083. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/[jobId]/route-c8a0d3b188f8e4f8.js +0 -1
  1084. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/latest/route-c8a0d3b188f8e4f8.js +0 -1
  1085. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/antigravity/bulk-import/route-c8a0d3b188f8e4f8.js +0 -1
  1086. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/cancel/route-c8a0d3b188f8e4f8.js +0 -1
  1087. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/manual/[workerId]/route-c8a0d3b188f8e4f8.js +0 -1
  1088. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/[jobId]/route-c8a0d3b188f8e4f8.js +0 -1
  1089. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/latest/route-c8a0d3b188f8e4f8.js +0 -1
  1090. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cloudflare-ai/bulk-import/route-c8a0d3b188f8e4f8.js +0 -1
  1091. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/cancel/route-c8a0d3b188f8e4f8.js +0 -1
  1092. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/manual/[workerId]/route-c8a0d3b188f8e4f8.js +0 -1
  1093. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/[jobId]/route-c8a0d3b188f8e4f8.js +0 -1
  1094. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/latest/route-c8a0d3b188f8e4f8.js +0 -1
  1095. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-import/route-c8a0d3b188f8e4f8.js +0 -1
  1096. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/bulk-token/route-c8a0d3b188f8e4f8.js +0 -1
  1097. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy/quota-cookie/route-c8a0d3b188f8e4f8.js +0 -1
  1098. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/cancel/route-c8a0d3b188f8e4f8.js +0 -1
  1099. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/manual/[workerId]/route-c8a0d3b188f8e4f8.js +0 -1
  1100. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/[jobId]/route-c8a0d3b188f8e4f8.js +0 -1
  1101. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/latest/route-c8a0d3b188f8e4f8.js +0 -1
  1102. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-import/route-c8a0d3b188f8e4f8.js +0 -1
  1103. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/bulk-token/route-c8a0d3b188f8e4f8.js +0 -1
  1104. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codebuddy-cn/quota-cookie/route-c8a0d3b188f8e4f8.js +0 -1
  1105. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-c8a0d3b188f8e4f8.js +0 -1
  1106. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-c8a0d3b188f8e4f8.js +0 -1
  1107. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-c8a0d3b188f8e4f8.js +0 -1
  1108. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-c8a0d3b188f8e4f8.js +0 -1
  1109. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/cancel/route-c8a0d3b188f8e4f8.js +0 -1
  1110. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/manual/[workerId]/route-c8a0d3b188f8e4f8.js +0 -1
  1111. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/[jobId]/route-c8a0d3b188f8e4f8.js +0 -1
  1112. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/latest/route-c8a0d3b188f8e4f8.js +0 -1
  1113. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-c8a0d3b188f8e4f8.js +0 -1
  1114. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-token/route-c8a0d3b188f8e4f8.js +0 -1
  1115. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-c8a0d3b188f8e4f8.js +0 -1
  1116. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-c8a0d3b188f8e4f8.js +0 -1
  1117. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-c8a0d3b188f8e4f8.js +0 -1
  1118. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/cancel/route-c8a0d3b188f8e4f8.js +0 -1
  1119. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/manual/[workerId]/route-c8a0d3b188f8e4f8.js +0 -1
  1120. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/[jobId]/route-c8a0d3b188f8e4f8.js +0 -1
  1121. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/latest/route-c8a0d3b188f8e4f8.js +0 -1
  1122. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/bulk-import/route-c8a0d3b188f8e4f8.js +0 -1
  1123. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-c8a0d3b188f8e4f8.js +0 -1
  1124. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-c8a0d3b188f8e4f8.js +0 -1
  1125. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-c8a0d3b188f8e4f8.js +0 -1
  1126. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-c8a0d3b188f8e4f8.js +0 -1
  1127. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/cancel/route-c8a0d3b188f8e4f8.js +0 -1
  1128. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/manual/[workerId]/route-c8a0d3b188f8e4f8.js +0 -1
  1129. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/[jobId]/route-c8a0d3b188f8e4f8.js +0 -1
  1130. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/latest/route-c8a0d3b188f8e4f8.js +0 -1
  1131. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/qoder/bulk-import/route-c8a0d3b188f8e4f8.js +0 -1
  1132. package/cli/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-c8a0d3b188f8e4f8.js +0 -1
  1133. package/cli/app/.next-cli-build/static/chunks/app/api/pricing/route-c8a0d3b188f8e4f8.js +0 -1
  1134. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-c8a0d3b188f8e4f8.js +0 -1
  1135. package/cli/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-c8a0d3b188f8e4f8.js +0 -1
  1136. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-c8a0d3b188f8e4f8.js +0 -1
  1137. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-c8a0d3b188f8e4f8.js +0 -1
  1138. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-c8a0d3b188f8e4f8.js +0 -1
  1139. package/cli/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-c8a0d3b188f8e4f8.js +0 -1
  1140. package/cli/app/.next-cli-build/static/chunks/app/api/providers/bulk-delete/route-c8a0d3b188f8e4f8.js +0 -1
  1141. package/cli/app/.next-cli-build/static/chunks/app/api/providers/client/route-c8a0d3b188f8e4f8.js +0 -1
  1142. package/cli/app/.next-cli-build/static/chunks/app/api/providers/codebuddy/discover-models/route-c8a0d3b188f8e4f8.js +0 -1
  1143. package/cli/app/.next-cli-build/static/chunks/app/api/providers/flow/import/route-c8a0d3b188f8e4f8.js +0 -1
  1144. package/cli/app/.next-cli-build/static/chunks/app/api/providers/flow/login/[jobId]/route-c8a0d3b188f8e4f8.js +0 -1
  1145. package/cli/app/.next-cli-build/static/chunks/app/api/providers/flow/login/route-c8a0d3b188f8e4f8.js +0 -1
  1146. package/cli/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-c8a0d3b188f8e4f8.js +0 -1
  1147. package/cli/app/.next-cli-build/static/chunks/app/api/providers/kiro/discover-models/route-c8a0d3b188f8e4f8.js +0 -1
  1148. package/cli/app/.next-cli-build/static/chunks/app/api/providers/kiro/models/route-c8a0d3b188f8e4f8.js +0 -1
  1149. package/cli/app/.next-cli-build/static/chunks/app/api/providers/opencode/discover-models/route-c8a0d3b188f8e4f8.js +0 -1
  1150. package/cli/app/.next-cli-build/static/chunks/app/api/providers/route-c8a0d3b188f8e4f8.js +0 -1
  1151. package/cli/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-c8a0d3b188f8e4f8.js +0 -1
  1152. package/cli/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-c8a0d3b188f8e4f8.js +0 -1
  1153. package/cli/app/.next-cli-build/static/chunks/app/api/providers/validate/route-c8a0d3b188f8e4f8.js +0 -1
  1154. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-c8a0d3b188f8e4f8.js +0 -1
  1155. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-c8a0d3b188f8e4f8.js +0 -1
  1156. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-c8a0d3b188f8e4f8.js +0 -1
  1157. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-c8a0d3b188f8e4f8.js +0 -1
  1158. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-c8a0d3b188f8e4f8.js +0 -1
  1159. package/cli/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-c8a0d3b188f8e4f8.js +0 -1
  1160. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-c8a0d3b188f8e4f8.js +0 -1
  1161. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-c8a0d3b188f8e4f8.js +0 -1
  1162. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-c8a0d3b188f8e4f8.js +0 -1
  1163. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-c8a0d3b188f8e4f8.js +0 -1
  1164. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-c8a0d3b188f8e4f8.js +0 -1
  1165. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-c8a0d3b188f8e4f8.js +0 -1
  1166. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-c8a0d3b188f8e4f8.js +0 -1
  1167. package/cli/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-c8a0d3b188f8e4f8.js +0 -1
  1168. package/cli/app/.next-cli-build/static/chunks/app/api/settings/database/route-c8a0d3b188f8e4f8.js +0 -1
  1169. package/cli/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-c8a0d3b188f8e4f8.js +0 -1
  1170. package/cli/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-c8a0d3b188f8e4f8.js +0 -1
  1171. package/cli/app/.next-cli-build/static/chunks/app/api/settings/route-c8a0d3b188f8e4f8.js +0 -1
  1172. package/cli/app/.next-cli-build/static/chunks/app/api/shutdown/route-c8a0d3b188f8e4f8.js +0 -1
  1173. package/cli/app/.next-cli-build/static/chunks/app/api/tags/route-c8a0d3b188f8e4f8.js +0 -1
  1174. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/setup/route-c8a0d3b188f8e4f8.js +0 -1
  1175. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/status/route-c8a0d3b188f8e4f8.js +0 -1
  1176. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/auth/unlock/route-c8a0d3b188f8e4f8.js +0 -1
  1177. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/input/route-c8a0d3b188f8e4f8.js +0 -1
  1178. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/resize/route-c8a0d3b188f8e4f8.js +0 -1
  1179. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/route-c8a0d3b188f8e4f8.js +0 -1
  1180. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/[id]/stream/route-c8a0d3b188f8e4f8.js +0 -1
  1181. package/cli/app/.next-cli-build/static/chunks/app/api/terminal/session/route-c8a0d3b188f8e4f8.js +0 -1
  1182. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-c8a0d3b188f8e4f8.js +0 -1
  1183. package/cli/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-c8a0d3b188f8e4f8.js +0 -1
  1184. package/cli/app/.next-cli-build/static/chunks/app/api/translator/load/route-c8a0d3b188f8e4f8.js +0 -1
  1185. package/cli/app/.next-cli-build/static/chunks/app/api/translator/save/route-c8a0d3b188f8e4f8.js +0 -1
  1186. package/cli/app/.next-cli-build/static/chunks/app/api/translator/send/route-c8a0d3b188f8e4f8.js +0 -1
  1187. package/cli/app/.next-cli-build/static/chunks/app/api/translator/translate/route-c8a0d3b188f8e4f8.js +0 -1
  1188. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-c8a0d3b188f8e4f8.js +0 -1
  1189. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-c8a0d3b188f8e4f8.js +0 -1
  1190. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-c8a0d3b188f8e4f8.js +0 -1
  1191. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-c8a0d3b188f8e4f8.js +0 -1
  1192. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-c8a0d3b188f8e4f8.js +0 -1
  1193. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-c8a0d3b188f8e4f8.js +0 -1
  1194. package/cli/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-c8a0d3b188f8e4f8.js +0 -1
  1195. package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-c8a0d3b188f8e4f8.js +0 -1
  1196. package/cli/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-c8a0d3b188f8e4f8.js +0 -1
  1197. package/cli/app/.next-cli-build/static/chunks/app/api/usage/aggregate/route-c8a0d3b188f8e4f8.js +0 -1
  1198. package/cli/app/.next-cli-build/static/chunks/app/api/usage/chart/route-c8a0d3b188f8e4f8.js +0 -1
  1199. package/cli/app/.next-cli-build/static/chunks/app/api/usage/history/route-c8a0d3b188f8e4f8.js +0 -1
  1200. package/cli/app/.next-cli-build/static/chunks/app/api/usage/logs/route-c8a0d3b188f8e4f8.js +0 -1
  1201. package/cli/app/.next-cli-build/static/chunks/app/api/usage/providers/route-c8a0d3b188f8e4f8.js +0 -1
  1202. package/cli/app/.next-cli-build/static/chunks/app/api/usage/quota-stream/route-c8a0d3b188f8e4f8.js +0 -1
  1203. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-c8a0d3b188f8e4f8.js +0 -1
  1204. package/cli/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-c8a0d3b188f8e4f8.js +0 -1
  1205. package/cli/app/.next-cli-build/static/chunks/app/api/usage/routing-stream/route-c8a0d3b188f8e4f8.js +0 -1
  1206. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stats/route-c8a0d3b188f8e4f8.js +0 -1
  1207. package/cli/app/.next-cli-build/static/chunks/app/api/usage/stream/route-c8a0d3b188f8e4f8.js +0 -1
  1208. package/cli/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-c8a0d3b188f8e4f8.js +0 -1
  1209. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-c8a0d3b188f8e4f8.js +0 -1
  1210. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-c8a0d3b188f8e4f8.js +0 -1
  1211. package/cli/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-c8a0d3b188f8e4f8.js +0 -1
  1212. package/cli/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-c8a0d3b188f8e4f8.js +0 -1
  1213. package/cli/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-c8a0d3b188f8e4f8.js +0 -1
  1214. package/cli/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-c8a0d3b188f8e4f8.js +0 -1
  1215. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-c8a0d3b188f8e4f8.js +0 -1
  1216. package/cli/app/.next-cli-build/static/chunks/app/api/v1/messages/route-c8a0d3b188f8e4f8.js +0 -1
  1217. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-c8a0d3b188f8e4f8.js +0 -1
  1218. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-c8a0d3b188f8e4f8.js +0 -1
  1219. package/cli/app/.next-cli-build/static/chunks/app/api/v1/models/route-c8a0d3b188f8e4f8.js +0 -1
  1220. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-c8a0d3b188f8e4f8.js +0 -1
  1221. package/cli/app/.next-cli-build/static/chunks/app/api/v1/responses/route-c8a0d3b188f8e4f8.js +0 -1
  1222. package/cli/app/.next-cli-build/static/chunks/app/api/v1/route-c8a0d3b188f8e4f8.js +0 -1
  1223. package/cli/app/.next-cli-build/static/chunks/app/api/v1/search/route-c8a0d3b188f8e4f8.js +0 -1
  1224. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/content/route-c8a0d3b188f8e4f8.js +0 -1
  1225. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-c8a0d3b188f8e4f8.js +0 -1
  1226. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-c8a0d3b188f8e4f8.js +0 -1
  1227. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-c8a0d3b188f8e4f8.js +0 -1
  1228. package/cli/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-c8a0d3b188f8e4f8.js +0 -1
  1229. package/cli/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-c8a0d3b188f8e4f8.js +0 -1
  1230. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-c8a0d3b188f8e4f8.js +0 -1
  1231. package/cli/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-c8a0d3b188f8e4f8.js +0 -1
  1232. package/cli/app/.next-cli-build/static/chunks/app/api/version/route-c8a0d3b188f8e4f8.js +0 -1
  1233. package/cli/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-c8a0d3b188f8e4f8.js +0 -1
  1234. package/cli/app/.next-cli-build/static/chunks/app/api/version/update/route-c8a0d3b188f8e4f8.js +0 -1
  1235. package/cli/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-c8a0d3b188f8e4f8.js +0 -1
  1236. package/cli/app/.next-cli-build/static/chunks/app/page-c8a0d3b188f8e4f8.js +0 -1
  1237. package/cli/app/.next-cli-build/static/chunks/app/provider-icons/[provider]/route-c8a0d3b188f8e4f8.js +0 -1
  1238. package/cli/app/.next-cli-build/static/chunks/app/skills/[skill]/SKILL.md/route-c8a0d3b188f8e4f8.js +0 -1
  1239. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-c8a0d3b188f8e4f8.js +0 -1
  1240. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-c8a0d3b188f8e4f8.js +0 -1
  1241. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-c8a0d3b188f8e4f8.js +0 -1
  1242. package/cli/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-c8a0d3b188f8e4f8.js +0 -1
  1243. package/cli/app/.next-cli-build/static/css/d35ca396ccb15df7.css +0 -1
  1244. package/cli/app/.next-cli-build/static/nTXWAhBIbAHi_KUM-WB33/_buildManifest.js +0 -1
  1245. package/cli/app/public/providers/mimo-free.png +0 -0
  1246. /package/cli/app/.next-cli-build/static/{nTXWAhBIbAHi_KUM-WB33 → 49WrfprfANWLHDX8M34oV}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";exports.id=9835,exports.ids=[9835],exports.modules={9760:(a,b,c)=>{c.d(b,{EE:()=>n,U:()=>h,YR:()=>o,gs:()=>e,x0:()=>l});let d="https://api.blackbox.ai",e=`${d}/v1/models`,f=`${d}/key/info`,g=["/veo","/sora","/flux","/stable-diffusion","/seedream","/imagen","/nano-banana","/image-","/image/","-image","/edit","-edit","/mochi","/ray-","/fast-animatediff","/fast-svd","/cogvideox","/hidream","/recraft","/ideogram","/bria/","/playgroundai/","/luma/photon","/sana","/wan-","/dreamshaper","hunyuan-video"];function h(a){let b=Array.isArray(a)?a:a?.data||a?.models||a?.results||[];return Array.isArray(b)?b.map(a=>{let b="string"==typeof a?a.trim():String(a?.id||a?.model||a?.name||"").trim();return b&&function(a){if("string"!=typeof a||!a.trim())return!1;let b=a.trim().toLowerCase();return!g.some(a=>b.includes(a))}(b)?{..."object"==typeof a&&a?a:{},id:b,name:a?.name||a?.display_name||a?.displayName||b}:null}).filter(Boolean):[]}function i(a){let b={Accept:"application/json","Content-Type":"application/json"};return"string"==typeof a&&a.trim()&&(b.Authorization=`Bearer ${a.trim()}`),b}function j(a={}){return a.signal?a.signal:AbortSignal.timeout(a.timeoutMs||8e3)}async function k(a){try{await a?.body?.cancel?.()}catch{}}async function l(a={},b={}){let c=b.fetchImpl||fetch;try{let d=await c(e,{method:"GET",headers:i(a.apiKey||a.accessToken),signal:j(b)});if(!d.ok)return await k(d),null;let f=h(await d.json());return f.length?{models:f}:null}catch{return null}}async function m(a,b={}){let c=b.fetchImpl||fetch;if("string"!=typeof a||!a.trim())return null;try{let d=await c(f,{method:"GET",headers:i(a),signal:j(b)});if(!d.ok)return await k(d),null;let e=await d.json();return e?.info||e||null}catch{return null}}async function n(a,b={}){let c=await m(a,b);if(!c)return{plan:"Blackbox API",message:"Blackbox spend data is unavailable for this key.",quotas:{},trackingMode:"unavailable"};let d=Number(c.spend),e=Number(c.max_budget),f=Number.isFinite(d)&&d>=0?d:0,g=Number.isFinite(e)&&e>0,h=g?e:0,i=g?Math.max(0,h-f):null,j=g?Math.max(0,Math.min(100,i/h*100)):100;return{plan:"Blackbox API",quotas:{Spend:{used:f,total:h,...null==i?{}:{remaining:i},remainingPercentage:j,unlimited:!1,unit:"USD",resetAt:c.budget_reset_at||c.expires||null,displayName:g?"API Budget":"API Spend"}},trackingMode:"upstream",spend:f,maxBudget:g?e:null}}async function o(a,b={}){let c=b.fetchImpl||fetch;try{let d=await c(f,{method:"GET",headers:i(a),signal:j(b)});if(d.ok||429===d.status)return await k(d),{valid:!0,error:null};if(401===d.status||403===d.status||404===d.status)return await k(d),{valid:!1,error:"Invalid API key"};let e="";try{e=(await d.text()).slice(0,240)}catch{}return{valid:!1,error:e?`Blackbox validation failed (${d.status}): ${e}`:`Blackbox validation failed (${d.status})`}}catch(a){return{valid:!1,error:a?.message||"Blackbox validation failed"}}}},14760:(a,b,c)=>{c.d(b,{RO:()=>ai,Yt:()=>ah,my:()=>K});var d=c(75924),e=c(39609),f=c(9760);function g(a,b=0){let c="string"==typeof a&&a.trim()?Number(a):a;return Number.isFinite(c)?c:b}function h(a,b){return{plan:a,quotas:{Credits:{used:1,total:1,remaining:0,remainingPercentage:0,resetAt:null,unlimited:!1}},authoritative:!0,limitReached:!0,message:b}}function i(a){let b=Error(a);return b.name="AbortError",b.code="USAGE_REQUEST_ABORTED",b}async function j(a,b={}){let c,d=new AbortController,e=b.parentSignal,f=Number.isFinite(b.timeoutMs)&&b.timeoutMs>0?b.timeoutMs:15e3,g=new Promise((a,b)=>{c=b}),h=a=>{let b=a instanceof Error?a:i("Usage request aborted");d.signal.aborted||d.abort(b),c(b)},k=()=>h(e.reason);e?.aborted?h(e.reason):e?.addEventListener("abort",k,{once:!0});let l=setTimeout(()=>h(i(`Usage request timed out after ${f}ms`)),f);l.unref?.();try{return await Promise.race([Promise.resolve().then(()=>a(d.signal)),g])}finally{clearTimeout(l),e?.removeEventListener("abort",k)}}function k(a){let b=Math.round(100*Math.max(0,Math.min(1,Number(a)||0))),c=100-b;return{used:b,total:100,remaining:c,remainingPercentage:c,resetAt:null,unlimited:!1}}function l(){return{quotaFetchFailed:!0,message:"Ollama Cloud usage temporarily unavailable."}}async function m(a,b=null){let c=a?.apiKey||a?.accessToken;if(!c)return{message:"Ollama Cloud API key not available."};let d={Authorization:`Bearer ${c}`,Accept:"application/json"};try{return await j(async a=>{let c=await (0,e.proxyAwareFetch)("https://ollama.com/api/usage",{method:"GET",headers:d,signal:a},b);if(401===c.status||403===c.status)return{authError:!0,accountDead:!0,message:"Ollama Cloud API key invalid or expired."};if(402===c.status||429===c.status)return h("Ollama Cloud","Ollama Cloud credits are exhausted.");if(!c.ok)return l();let f=await c.json().catch(()=>null);if(!f||"object"!=typeof f)return l();let g=await (0,e.proxyAwareFetch)("https://ollama.com/api/me",{method:"POST",headers:{...d,"Content-Length":"0"},signal:a},b).then(a=>a.ok?a.json():null).catch(b=>{if(a.aborted)throw b;return null}),i="string"==typeof g?.Plan?g.Plan.trim():"",j=i?i.charAt(0).toUpperCase()+i.slice(1).toLowerCase():"Ollama Cloud",m=f.limits&&"object"==typeof f.limits?f.limits:{},n={};return(Number.isFinite(Number(m.session?.usage))&&(n["Session (5h)"]=k(m.session.usage)),Number.isFinite(Number(m.weekly?.usage))&&(n["Weekly (7d)"]=k(m.weekly.usage)),0===Object.keys(n).length)?{plan:j,quotas:n,authoritative:!0,message:"Ollama Cloud connected. No usage limits reported."}:{plan:j,quotas:n,authoritative:!0}},{parentSignal:b?.signal})}catch{return l()}}let n={LEVEL_BASIC:"Moderato",LEVEL_INTERMEDIATE:"Allegretto",LEVEL_ADVANCED:"Allegro",LEVEL_STANDARD:"Vivace"};function o(){return{quotaFetchFailed:!0,message:"Kimi usage temporarily unavailable."}}function p(a,b,c,d){let e=Math.max(0,g(b)),f=Math.max(0,g(a)),h=Math.max(0,g(c,e-f));return{used:f,total:e,remaining:h,remainingPercentage:e>0?Math.min(100,h/e*100):0,resetAt:function(a){if(null==a||""===a)return null;try{if(a instanceof Date)return a.toISOString();if("number"==typeof a||/^\d+$/.test(String(a))){let b=Number(a);return new Date(b<1e12?1e3*b:b).toISOString()}return new Date(a).toISOString()}catch{return null}}(d),unlimited:!1}}async function q(a,b=null){let c="string"==typeof a?.apiKey?a.apiKey.trim():"",f="string"==typeof a?.accessToken?a.accessToken.trim():"";if(!c&&!f)return{message:"Kimi access token or API key not available."};let i=c?{"x-api-key":c}:{Authorization:`Bearer ${f}`,...(0,d.VK)(a?.providerSpecificData?.deviceId)};try{return await j(async a=>{let c,d=await (0,e.proxyAwareFetch)("https://api.kimi.com/coding/v1/usages",{method:"GET",headers:{...i,Accept:"application/json","Content-Type":"application/json"},signal:a},b),f=await d.text().catch(()=>"");if(401===d.status)return{authError:!0,accountDead:!0,message:"Kimi authentication expired. Please re-authorize."};if(403===d.status)return{plan:"Kimi Coding",quotaFetchFailed:!0,usageUnavailable:!0,message:"Kimi connected, but this account has no permission to view usage."};if(402===d.status||429===d.status)return h("Kimi Coding","Kimi credits are exhausted.");if(!d.ok)return o();try{c=JSON.parse(f||"{}")}catch{return o()}let j={},k=c.usage&&"object"==typeof c.usage?c.usage:{},l=g(k.limit??k.Limit);l>0&&(j.Weekly=p(k.used??k.Used,l,k.remaining??k.Remaining,k.resetTime??k.ResetTime??k.reset_at??k.resetAt));let m=(Array.isArray(c.limits)?c.limits:[]).filter(a=>{let b=a?.detail&&"object"==typeof a.detail?a.detail:{};return g(b.limit??b.Limit)>0}),q=new Set;for(let[a,b]of m.entries()){let c=b?.detail&&"object"==typeof b.detail?b.detail:{},d=g(c.limit??c.Limit),e=g(c.remaining??c.Remaining,d);j[function(a,b,c,d){if(1===c)return"Ratelimit";let e=a?.name??a?.type??a?.window??a?.detail?.name??a?.detail?.type??a?.detail?.window,f="string"==typeof e?e.replace(/[^a-zA-Z0-9._ -]/g," ").replace(/\s+/g," ").trim().slice(0,48):"",g=f?`Ratelimit (${f})`:`Ratelimit ${b+1}`,h=g,i=2;for(;d.has(h);)h=`${g} ${i++}`;return d.add(h),h}(b,a,m.length,q)]=p(Math.max(0,d-e),d,e,c.resetTime??c.reset_at??c.resetAt)}let r=c.user?.membership?.level;return{plan:n[r]||(r?String(r).replace(/^LEVEL_/,"").toLowerCase():"Kimi Coding"),quotas:j,authoritative:!0,...0===Object.keys(j).length?{message:"Kimi connected. No usage limits reported."}:{}}},{parentSignal:b?.signal})}catch{return o()}}function r(){return{quotaFetchFailed:!0,message:"DeepSeek balance temporarily unavailable."}}async function s(a,b=null){let c="string"==typeof a?.apiKey?a.apiKey.trim():"";if(!c)return{message:"DeepSeek API key not available. Add a key to view usage."};try{return await j(async a=>{let d=await (0,e.proxyAwareFetch)("https://api.deepseek.com/user/balance",{method:"GET",headers:{Authorization:`Bearer ${c}`,Accept:"application/json","Content-Type":"application/json"},signal:a},b);if(401===d.status||403===d.status)return{authError:!0,accountDead:!0,message:"DeepSeek authentication failed. Check the API key."};if(402===d.status||429===d.status)return h("DeepSeek","DeepSeek balance is exhausted.");if(!d.ok)return r();let f=await d.json().catch(()=>null);if(!f||"object"!=typeof f)return r();let i={};for(let a of Array.isArray(f.balance_infos)?f.balance_infos:[]){if(!a||"object"!=typeof a)continue;let b="string"==typeof a.currency?a.currency.trim().toUpperCase():"";if(!b)continue;let c=Math.max(0,g(a.total_balance??a.totalBalance));i[`Balance (${b})`]={used:0,total:c,remaining:c,remainingPercentage:100*(c>0),resetAt:null,unlimited:!1,unit:b,grantedBalance:Math.max(0,g(a.granted_balance??a.grantedBalance)),toppedUpBalance:Math.max(0,g(a.topped_up_balance??a.toppedUpBalance))}}if(0===Object.keys(i).length)return{plan:"DeepSeek",quotas:i,authoritative:!0,message:"DeepSeek connected. No balance data returned."};let j=!0===f.is_available||!0===f.isAvailable;return{plan:j?"DeepSeek":"DeepSeek (Insufficient Balance)",quotas:i,authoritative:!0,limitReached:!j}},{parentSignal:b?.signal})}catch{return r()}}var t=c(30022),u=c(21031);function v(a,b){let c=Math.max(0,Number(a?.total)||0),d=Math.max(0,Number(a?.used)||0),e=Math.max(0,Number(a?.remaining)||0);return{total:c,used:d,remaining:e,remainingPercentage:c>0?Math.min(100,e/c*100):0,unit:a?.unit||"credits",resetAt:b,unlimited:!1}}function w(){return{quotaFetchFailed:!0,message:"Qoder usage temporarily unavailable."}}async function x(a,b=null){try{return await j(async c=>{let d;try{d=await (0,u.iC)(a,{proxyOptions:b,signal:c})}catch(a){if(a?.status===401||a?.status===403)return{authError:!0,accountDead:!0,message:"Qoder PAT was rejected. Add a valid Personal Access Token."};throw a}if(!d?.accessToken)return{message:"Qoder usage unavailable: no access token"};let f=await (0,e.proxyAwareFetch)(t.x_,{method:"GET",headers:{Authorization:`Bearer ${d.accessToken}`,Accept:"application/json"},signal:c},b);if(401===f.status||403===f.status)return{authError:!0,accountDead:!0,message:"Qoder authentication expired. Reconnect this account."};if(!f.ok)return w();let g=await f.json().catch(()=>null);if(!g||"object"!=typeof g)return w();let h=Number(g.expiresAt),i=Number.isFinite(h)&&h>0?new Date(h).toISOString():null,j={user:v(g.userQuota,i)};return Number(g.orgResourcePackage?.total)>0&&(j.organization=v(g.orgResourcePackage,i)),{quotas:j,totalUsagePercentage:Number(g.totalUsagePercentage)||0,isQuotaExceeded:!0===g.isQuotaExceeded,limitReached:!0===g.isQuotaExceeded,expiresAt:Number.isFinite(h)?h:null,authoritative:!0}},{parentSignal:b?.signal})}catch(a){return w()}}var y=c(77598);let z=new Map,A={key:"gemini_weekly",displayName:"Gemini Weekly"},B={key:"claude_gpt_weekly",displayName:"Claude / GPT Weekly"};function C(a){return(0,y.createHash)("sha256").update(a).digest("hex")}async function D(a,b,c=null,{fetchImpl:f=e.proxyAwareFetch,now:g=Date.now,digestImpl:h=C}={}){let i;try{i=h(`${a}\0${b||""}`);let c=z.get(i);if(c instanceof Promise)return c;if(c&&c.expiresAt>g())return c.result;c&&z.delete(i)}catch{return{}}let j=(async()=>{let e=new AbortController,h=setTimeout(()=>e.abort(),1e4);try{let h=await f("https://cloudcode-pa.googleapis.com/v1internal:retrieveUserQuotaSummary",{method:"POST",headers:{Authorization:`Bearer ${a}`,"User-Agent":(0,d.P0)(),"Content-Type":"application/json","x-request-source":"local"},body:JSON.stringify(b?{project:b}:{}),signal:e.signal},c);if(!h?.ok)return z.delete(i),{};let j=function(a){let b=Array.isArray(a?.groups)?a.groups:a?.quotaSummary?.groups;if(!Array.isArray(b))return{};let c={};for(let a of b){if(a?.disabled)continue;let b=function(a){let b=[a?.id,a?.name,a?.displayName].filter(a=>"string"==typeof a).join(" ").toLowerCase();return b.includes("gemini")?A:b.includes("claude")||b.includes("gpt")?B:null}(a);if(b&&!c[b.key])for(let d of Array.isArray(a?.buckets)?a.buckets:[]){if(d?.disabled||"weekly"!==String(d?.period||"").toLowerCase()&&"p7d"!==String(d?.duration||"").toLowerCase())continue;let a=Number(d?.remainingFraction);if(d?.remainingFraction==null||!Number.isFinite(a))continue;let e=Math.min(1,Math.max(0,a)),f=Math.round(1e3*e);c[b.key]={used:Math.max(0,1e3-f),total:1e3,remainingPercentage:100*e,resetAt:function(a){if(null==a||""===a)return null;let b="number"==typeof a&&a<1e12?1e3*a:a,c="number"==typeof b?b:Date.parse(b);return Number.isFinite(c)?new Date(c).toISOString():null}(d?.resetTime),unlimited:!1,displayName:b.displayName,quotaSource:"retrieveUserQuotaSummary",routingAuthoritative:!1};break}}return c}(await h.json());if(0===Object.keys(j).length)return z.delete(i),{};return z.set(i,{result:j,expiresAt:g()+18e4}),j}catch{return z.delete(i),{}}finally{clearTimeout(h)}})();return z.set(i,j),j}let E={international:"https://api.z.ai/api/monitor/usage/quota/limit",china:"https://open.bigmodel.cn/api/monitor/usage/quota/limit"},F={minimax:["https://www.minimax.io/v1/token_plan/remains","https://api.minimax.io/v1/api/openplatform/coding_plan/remains"],"minimax-cn":["https://www.minimaxi.com/v1/api/openplatform/coding_plan/remains","https://api.minimaxi.com/v1/api/openplatform/coding_plan/remains"]},G={quotaApiHosts:["https://daily-cloudcode-pa.googleapis.com","https://cloudcode-pa.googleapis.com","https://daily-cloudcode-pa.sandbox.googleapis.com"],fetchAvailableModelsPath:"/v1internal:fetchAvailableModels",retrieveUserQuotaPath:"/v1internal:retrieveUserQuota",loadProjectApiUrl:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",tokenUrl:"https://oauth2.googleapis.com/token",clientId:"1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com",clientSecret:"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",userAgent:(0,d.A9)(),quotaUserAgent:(0,d.P0)()},H=["gemini-3.8-flash-high","gemini-3.8-flash-medium","gemini-3.8-flash-low","gemini-3.7-flash-high","gemini-3.7-flash-medium","gemini-3.7-flash-low","gemini-3.6-flash-high","gemini-3.6-flash-medium","gemini-3.6-flash-low","gemini-3-flash-agent","gemini-3.5-flash-low","gemini-3.5-flash-extra-low","gemini-pro-agent","gemini-3.1-pro-low","claude-sonnet-4-6","claude-opus-4-6-thinking","gpt-oss-120b-medium","gemini-3-flash"],I="2023-06-01",J={free:"TCACA_code_001_PqouKr6QWV",proMon:"TCACA_code_002_AkiJS3ZHF5",gift:"TCACA_code_006_DbXS0lrypC",activity:"TCACA_code_007_nzdH5h4Nl0",proYear:"TCACA_code_003_FAnt7lcmRT",freeMon:"TCACA_code_008_cfWoLwvjU4",extra:"TCACA_code_009_0XmEQc2xOf"};async function K(a,b=null){let{provider:c,accessToken:d,apiKey:g,providerSpecificData:h,projectId:i}=a,j={...h||{},...i?{projectId:i}:{}};switch(c){case"github":return await R(d,h,b);case"gemini-cli":return await T(d,j,b);case"antigravity":return await X(d,j,b);case"claude":return await $(d,b);case"codex":return await ag(d,b);case"kiro":return await aj(d,h,b);case"codebuddy":case"codebuddy-cn":return await M(d,h,b,g,c);case"qoder":return await x(a,b);case"autoclaw":return await au(d,b,a);case"qwen":return await ak(d,h);case"iflow":return await al(d);case"ollama":return await m(a,b);case"kimi":case"kimi-coding":return await q(a,b);case"deepseek":return await s(a,b);case"glm":case"glm-cn":return await am(g,c,b);case"minimax":case"minimax-cn":return await at(g,c,b);case"grok-cli":return await ay(d,h,b);case"cloudflare-ai":return await av(g||d,h,b);case"xai":return await aD(d||g,h,b);case"cline":case"clinepass":return await aB({accessToken:d,apiKey:g},c,b);case"kimchi":return await aC(d||g,h,b);case"blackbox":return await (0,f.EE)(g||d,{fetchImpl:(a,c)=>(0,e.proxyAwareFetch)(a,c,b)});case"cursor":return await aE(d,h);default:return{message:`Usage API not implemented for ${c}`}}}async function L(a,b={},c=null,d="codebuddy"){let f=b?.uid||b?.rawAuth?.uid;if(f)return{uid:f,enterpriseId:b?.enterpriseId||null};let g=b?.domain||b?.rawAuth?.domain||("codebuddy-cn"===d?"www.codebuddy.cn":"www.codebuddy.ai");try{let b=await (0,e.proxyAwareFetch)(`https://${g}/v2/plugin/accounts`,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","X-Domain":g}},c);if(!b.ok)return{uid:null,enterpriseId:null};let d=await b.json(),f=d?.data?.accounts||[],h=f.find(a=>a.lastLogin)||f[0]||{};return{uid:h.uid||null,enterpriseId:h.enterpriseId||null}}catch{return{uid:null,enterpriseId:null}}}async function M(a,b={},c=null,d=null,f="codebuddy"){let g=b?.authMode==="generated-api-key",h=a||d,i=a?"oauth":d?"api-key":null;if(!h)return{plan:"CodeBuddy",message:"CodeBuddy upstream quota is unavailable because no valid IDE OAuth token or API key is stored.",quotas:{},trackingMode:"unavailable"};try{let a,j,{uid:k,enterpriseId:l}=await L(h,b,c,f),m=await (0,e.proxyAwareFetch)(function(a={},b="codebuddy"){let c=a?.domain||a?.rawAuth?.domain||("codebuddy-cn"===b?"www.codebuddy.cn":"www.codebuddy.ai");return`https://${c}/v2/billing/meter/get-user-resource`}(b,f),{method:"POST",headers:function(a,b={},c=null,d=null,e=null){let f={Authorization:`Bearer ${a}`,Accept:"application/json, text/plain, */*","Accept-Language":"zh-CN,zh;q=0.9","Content-Type":"application/json","X-Domain":b?.domain||b?.rawAuth?.domain||"www.codebuddy.ai"};return e&&(f["X-Api-Key"]=e),c&&(f["X-User-Id"]=c),d&&(f["X-Enterprise-Id"]=d,f["X-Tenant-Id"]=d),f}(h,b,k,l,d),body:JSON.stringify((a=new Date,(j=new Date(a)).setFullYear(j.getFullYear()+101),{PageNumber:1,PageSize:200,ProductCode:"p_tcaca",Status:[0,3],PackageEndTimeRangeBegin:O(a),PackageEndTimeRangeEnd:O(j)}))},c),n=await m.text(),o=null;try{o=n?JSON.parse(n):null}catch{o=null}if(401===m.status||403===m.status){if("oauth"===i)return{plan:"CodeBuddy",message:`CodeBuddy IDE OAuth token was rejected (${m.status}). Upstream quota is unavailable; use ZevaiRouter Usage for local request and token tracking.`,quotas:{},authMode:"oauth-rejected",trackingMode:"local-router"};return{plan:"CodeBuddy",message:"CodeBuddy chat key active. Upstream quota is unavailable without a valid IDE OAuth token; use ZevaiRouter Usage for local request and token tracking.",quotas:{},authMode:g?"generated-api-key":"api-key",trackingMode:"local-router"}}if(!m.ok){let a=408===m.status||425===m.status||429===m.status||m.status>=500;return{plan:"CodeBuddy",message:`CodeBuddy quota endpoint returned ${m.status}.`,quotas:{},...a?{quotaFetchFailed:!0}:{}}}return{...function(a){let b=a?.data?.Response?.Data||a?.Response?.Data||a?.data||a||{},c=Array.isArray(b?.Accounts)?b.Accounts:Array.isArray(b?.accounts)?b.accounts:[];if(0===c.length)return{plan:"CodeBuddy",message:"CodeBuddy connected. No quota records were returned.",quotas:{}};let d=a=>{let b=N(a.CycleEndTime);return b?new Date(b).getTime():1/0},e=a=>{let b=d(a),c=Number(a.DeductionEndTime);return Number.isFinite(b)&&Number.isFinite(c)&&c-b>1728e5},f=(a,b)=>d(a)-d(b),g=c.filter(e).sort(f),h=c.filter(a=>!e(a)).sort(f),i={},j=!1,k=(a,b,{recurring:c})=>{var d,e;let f=function(a,{useCycle:b=!0}={}){let c=function(a,b,c){return c?a||b:a&&b?a.precision!==b.precision?a.precision>b.precision?a:b:Math.abs(a.values.total-b.values.total)>=1e-9||Math.abs(a.values.used-b.values.used)>=1e-9||Math.abs(a.values.remaining-b.values.remaining)>=1e-9?a:b:b||a}(P(a,"Cycle"),P(a,""),b);return c?{...c.values,resetAt:N(a.CycleEndTime||a.DeductionEndTime||a.ExpiredTime)}:null}(b,{useCycle:c});f&&((b.PackageCode===J.proMon||b.PackageCode===J.proYear)&&(j=!0),i[a]||(i[a]={used:0,total:0,remaining:0,resetAt:null,unit:"credits",unlimited:!1,recurring:c}),i[a].used+=f.used,i[a].total+=f.total,i[a].remaining+=f.remaining,i[a].resetAt=(d=i[a].resetAt,e=f.resetAt,d?e&&new Date(e).getTime()<new Date(d).getTime()?e:d:e||null),i[a].recurring=i[a].recurring&&c)};for(let a of g)k("Monthly Credits",a,{recurring:!0});for(let a of h)k("Bonus Credits",a,{recurring:!1});if(h.length>0&&i["Bonus Credits"]&&(i["Bonus Credits"].packCount=h.length),0===Object.keys(i).length)for(let a of c){if(!a||"object"!=typeof a)continue;let b=function(a){switch(a){case J.free:case J.freeMon:case J.proMon:case J.proYear:return"Monthly Credits";case J.gift:return"Gift Credits";case J.extra:return"Extra Credits";case J.activity:return"Activity Credits";default:return a?"Other Credits":null}}(a.PackageCode)||"Other Credits",c="Activity Credits"!==b&&"Gift Credits"!==b;k(c?"Monthly Credits":"Bonus Credits",a,{recurring:c})}if(0===Object.keys(i).length)return{plan:j?"Pro":"Free",message:"CodeBuddy connected. Unable to extract quota values.",quotas:{}};for(let a of Object.values(i))a.remainingPercentage=a.total>0?Math.max(0,Math.min(100,a.remaining/a.total*100)):0;return{plan:j?"Pro":"Free",quotas:i}}(o),authMode:i}}catch(a){return{plan:"CodeBuddy",message:`CodeBuddy connected. Unable to fetch quota: ${a.message}`,quotas:{},quotaFetchFailed:!0}}}function N(a){if(!a)return null;try{if(a instanceof Date)return a.toISOString();if("number"==typeof a)return new Date(a<1e12?1e3*a:a).toISOString();if("string"==typeof a){if(/^\d+$/.test(a)){let b=Number(a);return new Date(b<1e12?1e3*b:b).toISOString()}return new Date(a).toISOString()}return null}catch(b){return console.warn(`Failed to parse reset time: ${a}`,b),null}}function O(a){let b=a=>String(a).padStart(2,"0");return`${a.getFullYear()}-${b(a.getMonth()+1)}-${b(a.getDate())} ${b(a.getHours())}:${b(a.getMinutes())}:${b(a.getSeconds())}`}function P(a,b){let c=Q(a[`${b}CapacitySizePrecise`]),d=c??Q(a[`${b}CapacitySize`]),e=Q(a[`${b}CapacityUsedPrecise`]),f=Q(a[`${b}CapacityRemainPrecise`]),g=e??(null===f?Q(a[`${b}CapacityUsed`]):null),h=f??Q(a[`${b}CapacityRemain`]);if(null===d||null===g&&null===h)return null;let i=Math.max(0,d),j=null!==g?Math.min(i,Math.max(0,g)):Math.max(0,i-Math.min(i,Math.max(0,h))),k=Math.max(0,i-j),l=null===h?null:Math.min(i,Math.max(0,h)),m=null!==l&&1e-9>Math.abs(j+l-i)?l:k;return{values:{total:i,used:j,remaining:m},precision:+(null!==c)+2*(null!==e||null!==f)}}function Q(...a){for(let b of a){if(null==b||""===b)continue;let a=Number(b);if(Number.isFinite(a))return a}return null}async function R(a,b,c=null){try{if(!a)throw Error("No GitHub access token available. Please re-authorize the connection.");let b=await (0,e.proxyAwareFetch)("https://api.github.com/copilot_internal/user",{headers:{Authorization:`token ${a}`,Accept:"application/json","X-GitHub-Api-Version":"2022-11-28","User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.100.0","Editor-Plugin-Version":"copilot-chat/0.26.7"}},c);if(!b.ok){let a=await b.text();throw Error(`GitHub API error: ${a}`)}let d=await b.json();if(d.quota_snapshots){let a=d.quota_snapshots,b=N(d.quota_reset_date);return{plan:d.copilot_plan,resetDate:d.quota_reset_date,quotas:{chat:{...S(a.chat),resetAt:b},completions:{...S(a.completions),resetAt:b},premium_interactions:{...S(a.premium_interactions),resetAt:b}}}}if(d.monthly_quotas||d.limited_user_quotas){let a=d.monthly_quotas||{},b=d.limited_user_quotas||{},c=N(d.limited_user_reset_date);return{plan:d.copilot_plan||d.access_type_sku,resetDate:d.limited_user_reset_date,quotas:{chat:{used:b.chat||0,total:a.chat||0,unlimited:!1,resetAt:c},completions:{used:b.completions||0,total:a.completions||0,unlimited:!1,resetAt:c}}}}return{message:"GitHub Copilot connected. Unable to parse quota data."}}catch(a){throw Error(`Failed to fetch GitHub usage: ${a.message}`)}}function S(a){return a?{used:a.entitlement-a.remaining,total:a.entitlement,remaining:a.remaining,unlimited:a.unlimited||!1}:{used:0,total:0,unlimited:!0}}async function T(a,b,c=null){if(!a)return{plan:"Free",message:"Gemini CLI access token not available."};try{let d,f=U(b?.projectId),g="Free";if(!f){let b=await V(a,c);f=U(b?.cloudaicompanionProject),g=b?.currentTier?.name||g}if(!f)return{plan:g,message:"Gemini CLI project ID not available. Reconnect Gemini CLI, or configure a Google Cloud project with Gemini Code Assist access before checking quota."};let h=new AbortController,i=setTimeout(()=>h.abort(),1e4);try{d=await (0,e.proxyAwareFetch)("https://cloudcode-pa.googleapis.com/v1internal:retrieveUserQuota",{method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json"},body:JSON.stringify({project:f}),signal:h.signal},c)}finally{clearTimeout(i)}if(!d.ok)return{plan:g,message:`Gemini CLI quota error (${d.status}).`};let j=await d.json(),k={};if(Array.isArray(j.buckets))for(let a of j.buckets){if(!a.modelId||null==a.remainingFraction)continue;let b=Number(a.remainingFraction)||0,c=Math.round(1e3*b),d=Math.max(0,1e3-c);k[a.modelId]={used:d,total:1e3,resetAt:N(a.resetTime),remainingPercentage:100*b,unlimited:!1}}return{plan:g,quotas:k}}catch(a){return{message:`Gemini CLI error: ${a.message}`}}}function U(a){return"string"==typeof a?a.trim()||null:a&&"object"==typeof a&&"string"==typeof a.id&&a.id.trim()||null}async function V(a,b=null){let c=new AbortController,f=setTimeout(()=>c.abort(),1e4);try{let f=await (0,e.proxyAwareFetch)("https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",{method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json"},body:JSON.stringify({metadata:d.Cn}),signal:c.signal},b);if(!f.ok)return null;return await f.json()}catch{return null}finally{clearTimeout(f)}}async function W(a,b,c,d){let f=null;for(let g of G.quotaApiHosts){let h=new AbortController,i=setTimeout(()=>h.abort(),1e4);try{let i=await (0,e.proxyAwareFetch)(`${g}${a}`,{method:"POST",headers:{Authorization:`Bearer ${b}`,"User-Agent":G.quotaUserAgent,"Content-Type":"application/json","x-request-source":"local"},body:JSON.stringify(c||{}),signal:h.signal},d);if(i.ok||401===i.status||403===i.status)return{response:i,host:g};f=Error(`Antigravity API error: ${i.status}`)}catch(a){f=a}finally{clearTimeout(i)}}if(f)throw f;throw Error("Antigravity API unavailable")}async function X(a,b,c=null){try{let d,e=U(b?.projectId),f=await Z(a,c),g=e||U(f?.cloudaicompanionProject),h=String(f?.paidTier?.id||"").toLowerCase(),i=!h||"free-tier"===h,j=async(b,d={})=>{let e=await D(a,g,c),f=Object.keys(e).length>0;return{...b,quotas:i&&f?e:{...d,...e}}};try{d=await W(G.fetchAvailableModelsPath,a,g?{project:g}:{},c)}catch(a){return await j({message:`Antigravity quota unavailable: ${a.message}. Chat may still work.`})}let k=d.response;if(401===k.status){let a=await Y(b,c);if(a)return{accountDead:!0,message:`Antigravity account ${a}. Reconnect won't help — recreate the account.`,quotas:{}};return await j({message:"Antigravity quota API authentication expired. Chat may still work."})}if(403===k.status)return await j({message:"Antigravity quota API access forbidden (tier may not expose quota). Chat may still work."});if(!k.ok)throw Error(`Antigravity API error: ${k.status}`);let l=await k.json(),m=new Map;try{let b=await W(G.retrieveUserQuotaPath,a,g?{project:g}:{},c);if(b.response.ok){let a=await b.response.json();if(Array.isArray(a.buckets))for(let b of a.buckets){let a=String(b.modelId||"").trim();a&&m.set(a,b)}}}catch{}let n={};if(l.models)for(let[a,b]of Object.entries(l.models)){if(b.isInternal||!H.includes(a))continue;let c=m.get(a),d=c||b.quotaInfo;if(!d)continue;let e=Number(d.remainingFraction)||0,f=100*e,g=Math.round(1e3*e),h=Math.max(0,1e3-g);n[a]={used:h,total:1e3,resetAt:N(d.resetTime),remainingPercentage:f,unlimited:!1,displayName:b.displayName||a,quotaSource:c?"retrieveUserQuota":"fetchAvailableModels"}}let o=await j({},n);return{plan:f?.paidTier?.name||f?.currentTier?.name||"Unknown",...o,subscriptionInfo:f}}catch(a){return console.error("[Antigravity Usage] Error:",a.message,a.cause),{message:`Antigravity error: ${a.message}`}}}async function Y(a,b=null){let c=a?.refreshToken;if(!c)return null;try{let a,d=new AbortController,f=setTimeout(()=>d.abort(),1e4);try{a=await (0,e.proxyAwareFetch)(G.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:G.clientId,client_secret:G.clientSecret,refresh_token:c,grant_type:"refresh_token"}),signal:d.signal},b)}finally{clearTimeout(f)}if(a.ok)return null;let g=await a.json().catch(()=>({}));if("invalid_grant"===g.error){let a=(g.error_description||"").toLowerCase();if(a.includes("deleted"))return"has been deleted";if(a.includes("disabled")||a.includes("suspend"))return"is disabled/suspended";return"authorization was revoked"}return null}catch{return null}}async function Z(a,b=null){let c=new AbortController,f=setTimeout(()=>c.abort(),1e4);try{let f=await (0,e.proxyAwareFetch)(G.loadProjectApiUrl,{method:"POST",headers:{Authorization:`Bearer ${a}`,"User-Agent":G.userAgent,"Content-Type":"application/json","x-request-source":"local"},body:JSON.stringify({metadata:d.Cn,mode:1}),signal:c.signal},b);if(!f.ok)return null;return await f.json()}catch(a){return console.error("[Antigravity Subscription] Error:",a.message),null}finally{clearTimeout(f)}}async function $(a,b=null){try{let c=await (0,e.proxyAwareFetch)("https://api.anthropic.com/api/oauth/usage",{method:"GET",headers:{Authorization:`Bearer ${a}`,"anthropic-beta":"oauth-2025-04-20","anthropic-version":I}},b);if(c.ok){let a=await c.json(),b={},d=a=>a&&"object"==typeof a&&"number"==typeof a.utilization,e=a=>{let b=a.utilization,c=Math.max(0,100-b);return{used:b,total:100,remaining:c,remainingPercentage:c,resetAt:N(a.resets_at),unlimited:!1}};for(let[c,f]of(d(a.five_hour)&&(b["session (5h)"]=e(a.five_hour)),d(a.seven_day)&&(b["weekly (7d)"]=e(a.seven_day)),Object.entries(a)))if(c.startsWith("seven_day_")&&"seven_day"!==c&&d(f)){let a=c.replace("seven_day_","");b[`weekly ${a} (7d)`]=e(f)}return{plan:"Claude Code",extraUsage:a.extra_usage??null,quotas:b}}return console.warn(`[Claude Usage] OAuth endpoint returned ${c.status}, falling back to legacy`),await _(a,b)}catch(a){return{message:`Claude connected. Unable to fetch usage: ${a.message}`}}}async function _(a,b=null){try{let c=await (0,e.proxyAwareFetch)("https://api.anthropic.com/v1/settings",{method:"GET",headers:{Authorization:`Bearer ${a}`,"anthropic-version":I}},b);if(c.ok){let d=await c.json();if(d.organization_id){let c=await (0,e.proxyAwareFetch)("https://api.anthropic.com/v1/organizations/{org_id}/usage".replace("{org_id}",d.organization_id),{method:"GET",headers:{Authorization:`Bearer ${a}`,"anthropic-version":I}},b);if(c.ok){let a=await c.json();return{plan:d.plan||"Unknown",organization:d.organization_name,quotas:a}}}return{plan:d.plan||"Unknown",organization:d.organization_name,message:"Claude connected. Usage details require admin access."}}return{message:"Claude connected. Usage API requires admin permissions."}}catch(a){return{message:`Claude connected. Unable to fetch usage: ${a.message}`}}}function aa(a,b=0){if("number"==typeof a&&Number.isFinite(a))return a;if("string"==typeof a&&a.trim()){let b=Number(a);if(Number.isFinite(b))return b}return b}function ab(a){if(!a)return null;let b=a instanceof Date?a:new Date("number"==typeof a&&a<1e12?1e3*a:a);return Number.isFinite(b.getTime())?b.toISOString():null}function ac(a){return!a||"object"!=typeof a||Array.isArray(a)?null:a.rate_limit&&"object"==typeof a.rate_limit?a.rate_limit:a}function ad(a,b){let c=aa(a?.limit_window_seconds??a?.limitWindowSeconds??a?.window_seconds??a?.windowSeconds,null);return null===c||c<=0?b:c<=86400?"session":c<=1209600?"weekly":c<=3888e3?"monthly":b}function ae(a){let b=Math.max(0,Math.min(100,aa(a?.used_percent??a?.percent_used,0)));return{used:b,total:100,remaining:Math.max(0,100-b),resetAt:N(a?.reset_at??a?.resets_at??a?.resetAt??null),unlimited:!1}}function af(a,b,c){let d=ac(c);if(!d)return!1;let e=d.primary_window||d.primary||c.primary_window||c.primary,f=d.secondary_window||d.secondary||c.secondary_window||c.secondary,g=!1;if(e){let c=ad(e,"session");a[b?`${b}_${c}`:c]=ae(e),g=!0}if(f){let c=ad(f,"weekly");a[b?`${b}_${c}`:c]=ae(f),g=!0}return g}async function ag(a,b=null){try{let c=await (0,e.proxyAwareFetch)("https://chatgpt.com/backend-api/wham/usage",{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}},b);if(!c.ok)return{message:`Codex connected. Usage API temporarily unavailable (${c.status}).`};let d=await c.json(),f=d.rate_limit||d.rate_limits||d.rate_limits_by_limit_id?.codex||{},g=function(a){if(a.code_review_rate_limit||a.review_rate_limit)return a.code_review_rate_limit||a.review_rate_limit;let b=a.rate_limits_by_limit_id;return b&&"object"==typeof b&&!Array.isArray(b)?b.code_review||b.codex_review||b.review||null:(Array.isArray(a.additional_rate_limits)?a.additional_rate_limits:[]).find(a=>{let b=String(a?.limit_name||a?.metered_feature||a?.id||"").toLowerCase();return"code_review"===b||"codex_review"===b||"review"===b||b.includes("review")})||null}(d),h=Math.max(0,aa(d.rate_limit_reset_credits?.available_count,0)),i={};return af(i,"",f),af(i,"review",g),{plan:d.plan_type||d.summary?.plan||"unknown",limitReached:ac(f)?.limit_reached||!1,reviewLimitReached:ac(g)?.limit_reached||!1,resetCredits:{availableCount:h},quotas:i}}catch(a){throw Error(`Failed to fetch Codex usage: ${a.message}`)}}async function ah(a,b=null,c=null){if(!a)throw Error("No Codex access token available. Please re-authorize the connection.");let d={Authorization:`Bearer ${a}`,Accept:"application/json","OpenAI-Beta":"codex-1",originator:"codex_cli_rs"},f=c?.workspaceId||c?.accountId||c?.chatgptAccountId||null;f&&(d["ChatGPT-Account-ID"]=f);let g=await (0,e.proxyAwareFetch)("https://chatgpt.com/backend-api/wham/rate-limit-reset-credits",{method:"GET",headers:d},b),h=await g.json().catch(()=>null);if(!g.ok)throw Error(h?.message||h?.error||h?.detail||`Codex reset credits API unavailable (${g.status}).`);let i=Array.isArray(h?.credits)?h.credits:[];return{availableCount:Math.max(0,aa(h?.available_count??h?.availableCount,0)),credits:i.map(a=>({status:String(a?.status||"unknown"),grantedAt:ab(a?.granted_at??a?.grantedAt),expiresAt:ab(a?.expires_at??a?.expiresAt)}))}}async function ai(a,b,c=null){let d;if(!a)throw Error("No Codex access token available. Please re-authorize the connection.");if(!b||"string"!=typeof b)throw Error("A redeem request id is required to consume a Codex reset credit.");let f=null;try{d=await (0,e.proxyAwareFetch)("https://chatgpt.com/backend-api/wham/rate-limit-reset-credits/consume",{method:"POST",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({redeem_request_id:b})},c);let g=await d.text();f=g?JSON.parse(g):null}catch(a){throw Error(`Failed to consume Codex reset credit: ${a.message}`)}let g=f?.code||null,h=aa(f?.windows_reset,0);return{ok:d.ok&&("reset"===g||h>0),noCredit:d.ok&&"no_credit"===g,status:d.status,code:g,windowsReset:h,message:f?.message||null,raw:f}}async function aj(a,b,c=null){let d=b?.authMethod||"builder-id",f="api_key"===d,g={...f?{tokentype:"API_KEY"}:{},..."external_idp"===d?{TokenType:"EXTERNAL_IDP"}:{}},h=f?b?.profileArn||"":b?.profileArn||"arn:aws:codewhisperer:us-east-1:638616132270:profile/AAAACCCCXXXX",i=new URLSearchParams({isEmailRequired:"true",origin:"AI_EDITOR",resourceType:"AGENTIC_REQUEST"}),j=!1,k=[];for(let b of[{name:"codewhisperer-get",run:async()=>(0,e.proxyAwareFetch)(`https://codewhisperer.us-east-1.amazonaws.com/getUsageLimits?${i.toString()}`,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","x-amz-user-agent":"aws-sdk-js/1.0.0 KiroIDE-1.0.138","user-agent":"aws-sdk-js/1.0.0 KiroIDE-1.0.138",...g}},c)},{name:"codewhisperer-post",run:async()=>(0,e.proxyAwareFetch)("https://codewhisperer.us-east-1.amazonaws.com",{method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/x-amz-json-1.0","x-amz-target":"AmazonCodeWhispererService.GetUsageLimits",Accept:"application/json",...g},body:JSON.stringify({origin:"AI_EDITOR",...h?{profileArn:h}:{},resourceType:"AGENTIC_REQUEST"})},c)},{name:"q-get",run:async()=>{let b=new URLSearchParams({origin:"AI_EDITOR",...h?{profileArn:h}:{},resourceType:"AGENTIC_REQUEST"});return(0,e.proxyAwareFetch)(`https://q.us-east-1.amazonaws.com/getUsageLimits?${b}`,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json",...g}},c)}}])try{let a=await b.run();if(!a.ok){let c=await a.text().catch(()=>"");(401===a.status||403===a.status)&&(j=!0),k.push(`${b.name}:${a.status}${c?`:${c}`:""}`);continue}let c=await a.json();return function(a){let b=a.usageBreakdownList||[],c={},d=N(a.nextDateReset||a.resetDate);return b.forEach(a=>{let b=a.resourceType?.toLowerCase()||"unknown",e=a.currentUsageWithPrecision||0,f=a.usageLimitWithPrecision||0;if(c[b]={used:e,total:f,remaining:f-e,resetAt:d,unlimited:!1},a.freeTrialInfo){let e=a.freeTrialInfo.currentUsageWithPrecision||0,f=a.freeTrialInfo.usageLimitWithPrecision||0;c[`${b}_freetrial`]={used:e,total:f,remaining:f-e,resetAt:N(a.freeTrialInfo.freeTrialExpiry||d),unlimited:!1}}}),{plan:a.subscriptionInfo?.subscriptionTitle||"Kiro",quotas:c}}(c)}catch(a){k.push(`${b.name}:${a.message}`)}return j&&"idc"===d?{message:"Kiro quota API is unavailable for the current AWS IAM Identity Center session. Chat may still work. If this persists after renewing your session, reconnect Kiro.",quotas:{}}:j&&("google"===d||"github"===d)?{message:"Kiro quota API authentication expired. Chat may still work.",quotas:{}}:j?{message:"Kiro quota API rejected the current token. Chat may still work.",quotas:{}}:{message:k.length>0?`Unable to fetch Kiro usage right now. (${k[k.length-1]})`:"Unable to fetch Kiro usage right now.",quotas:{}}}async function ak(a,b){try{if(!b?.resourceUrl)return{message:"Qwen connected. No resource URL available."};return{message:"Qwen connected. Usage tracked per request."}}catch(a){return{message:"Unable to fetch Qwen usage."}}}async function al(a){try{return{message:"iFlow connected. Usage tracked per request."}}catch(a){return{message:"Unable to fetch iFlow usage."}}}async function am(a,b,c=null){if(!a)return{message:"GLM API key not available."};let d=E["glm-cn"===b?"china":"international"];try{let b=await (0,e.proxyAwareFetch)(d,{headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}},c);if(!b.ok){if(401===b.status)return{message:"GLM API key invalid or expired."};return{message:`GLM quota API error (${b.status}).`}}let f=await b.json(),g=f?.data&&"object"==typeof f.data?f.data:{},h=Array.isArray(g.limits)?g.limits:[],i={};for(let a of h){if(!a||"TOKENS_LIMIT"!==a.type)continue;let b=Number(a.percentage)||0,c=Number(a.nextResetTime)||0,d=Math.max(0,100-b);i.session={used:b,total:100,remaining:d,remainingPercentage:d,resetAt:c>0?new Date(c).toISOString():null,unlimited:!1}}let j="string"==typeof g.level?g.level:"";return{plan:j?j.charAt(0).toUpperCase()+j.slice(1).toLowerCase():"Unknown",quotas:i}}catch(a){return{message:`GLM error: ${a.message}`}}}function an(a,b,c){return a&&"object"==typeof a?a[b]??a[c]??null:null}function ao(a,b,c){if(!a||"object"!=typeof a)return null;let d=a[b]??a[c];if(null==d)return null;let e=Number(d);return Number.isFinite(e)?Math.max(0,Math.min(100,e)):null}function ap(a){return Math.max(0,Number(an(a,"current_interval_total_count","currentIntervalTotalCount"))||0)}function aq(a){return Math.max(0,Number(an(a,"current_weekly_total_count","currentWeeklyTotalCount"))||0)}function ar(a){return!!(ap(a)>0||aq(a)>0)||null!==ao(a,"current_interval_remaining_percent","currentIntervalRemainingPercent")||null!==ao(a,"current_weekly_remaining_percent","currentWeeklyRemainingPercent")}function as(a,b,c,d,e,f,g,h,i,j){let k=d(c),l=ao(c,g,h);if(k<=0&&null===l)return;let m=Math.max(0,Number(an(c,e,f))||0),n=k,o=m;k<=0&&(n=100,o=j?Math.round(l/100*n):Math.round(n*(1-l/100))),a[b]=function(a,b,c,d,e=null){var f,g,h;let i=Math.max(0,a),j=d?Math.max(i-b,0):Math.min(Math.max(0,b),i),k=Math.max(i-j,0),l=(f=e,g=k,h=i,null!=f&&Number.isFinite(f)?Math.max(0,Math.min(100,f)):h>0?Math.max(0,Math.min(100,g/h*100)):0);return{used:j,total:i,remaining:k,remainingPercentage:l,resetAt:c,unlimited:!1}}(n,o,function(a,b,c,d,e,f){let g=Number(an(a,c,d))||0;return g>0?new Date(b+g).toISOString():N(an(a,e,f))}(c,...i),j,l)}async function at(a,b,c=null){if(!a)return{message:"MiniMax API key not available."};let d=F[b]||[],f="";for(let b=0;b<d.length;b+=1){let g=d[b],h=b<d.length-1;try{let b=await (0,e.proxyAwareFetch)(g,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","Content-Type":"application/json"}},c),d=await b.text(),i={};if(d)try{i=JSON.parse(d)}catch{i={}}let j=(i?.base_resp??i?.baseResp)||{},k=Number(j.status_code??j.statusCode)||0,l=String(j.status_msg??j.statusMsg??"").trim(),m=`${l} ${d}`.trim(),n=/token plan|coding plan|invalid api key|invalid key|unauthorized|inactive/i;if(401===b.status||403===b.status||1004===k||n.test(m))return{message:"MiniMax API key invalid or inactive. Use an active Token/Coding Plan key."};if(!b.ok){if(f=`MiniMax usage endpoint error (${b.status})`,(404===b.status||405===b.status||b.status>=500)&&h)continue;return{message:`MiniMax connected. ${f}`}}if(0!==k)return{message:`MiniMax connected. ${l||"Upstream quota API error"}`};let o=i?.model_remains??i?.modelRemains,p=(Array.isArray(o)?o:[]).filter(ar);if(0===p.length)return{message:"MiniMax connected. No quota data was returned."};let q=Date.now(),r=g.includes("/coding_plan/remains"),s={};for(let a of p){let b=function(a){let b=String(an(a,"model_name","modelName")||"").trim();return b?"MiniMax-M*"===b||"general"===b?"M-series":b.replace(/[_-]+/g," ").replace(/\s+/g," ").trim().replace(/\b\w/g,a=>a.toUpperCase()).replace(/\bTo\b/g,"to").replace(/\bTts\b/g,"TTS").replace(/\bHd\b/g,"HD"):"MiniMax"}(a);as(s,`${b} (5h)`,a,ap,"current_interval_usage_count","currentIntervalUsageCount","current_interval_remaining_percent","currentIntervalRemainingPercent",[q,"remains_time","remainsTime","end_time","endTime"],r),as(s,`${b} (7d)`,a,aq,"current_weekly_usage_count","currentWeeklyUsageCount","current_weekly_remaining_percent","currentWeeklyRemainingPercent",[q,"weekly_remains_time","weeklyRemainsTime","weekly_end_time","weeklyEndTime"],r)}if(0===Object.keys(s).length)return{message:"MiniMax connected. Unable to extract quota usage."};return{quotas:s}}catch(a){if(f=a.message,!h)break}}return{message:f?`MiniMax connected. Unable to fetch usage: ${f}`:"MiniMax connected. Unable to fetch usage."}}async function au(a,b=null,d=null){if(!a)return{message:"AutoClaw usage unavailable: no access token"};try{let{AUTOCLAW_WALLET_ENDPOINT:f,buildAutoClawWalletHeaders:g}=await Promise.resolve().then(c.bind(c,42693)),h=await (0,e.proxyAwareFetch)(f,{method:"GET",headers:g(a)},b);if(!h.ok)return{message:`AutoClaw connected. Usage fetch returned ${h.status}.`};let i=await h.json().catch(()=>null);if(!i||0!==i.code)return{message:"AutoClaw connected. Unable to read balance."};let j=Number(i.data?.total_balance),k=Number.isFinite(j)?j:0,l=k;try{if(d?.id){let{getQuotaSnapshot:a}=await Promise.resolve().then(c.bind(c,89718)),b=await a(d.id),e=Number(b?.usage?.quotas?.points?.total)||0,f=Number(b?.usage?.quotas?.points?.remaining);l=Math.max(e,k,Number.isFinite(f)?f:0)}}catch{}let m=Math.max(0,l-k);return{quotas:{points:{total:l,used:m,remaining:k,unit:"points",resetAt:null}},totalUsagePercentage:l>0?Math.round(m/l*100):0,isQuotaExceeded:k<=0}}catch(a){return{message:`AutoClaw connected. Unable to fetch balance: ${a.message}`}}}async function av(a,b=null,c=null){let d=String(a||"").trim(),f=String(b?.accountId||"").trim();if(!d)return{message:"Cloudflare API token not available."};if(!f)return{message:"Cloudflare account ID missing. Re-import or edit the connection."};try{let a=await (0,e.proxyAwareFetch)("https://api.cloudflare.com/client/v4/user/tokens/verify",{method:"GET",headers:{Authorization:`Bearer ${d}`,Accept:"application/json"}},c);if(401===a.status||403===a.status)return{message:"Cloudflare API token invalid or expired. Re-import the account."};if(!a.ok){let b=await a.text().catch(()=>"");return{message:`Cloudflare token verify failed (${a.status})${b?`: ${b.slice(0,160)}`:""}`}}let g=await a.json().catch(()=>null),h=g?.result?.status||(g?.success?"active":"unknown"),i=b?.accountName||"";try{let a=await (0,e.proxyAwareFetch)(`https://api.cloudflare.com/client/v4/accounts/${encodeURIComponent(f)}`,{method:"GET",headers:{Authorization:`Bearer ${d}`,Accept:"application/json"}},c);if(a?.ok){let b=await a.json().catch(()=>null);i=b?.result?.name||i}}catch{}let j=f.length>10?`${f.slice(0,8)}…`:f;return{plan:i?`Workers AI \xb7 ${i}`:`Workers AI \xb7 ${j}`,quotas:{"Workers AI":{used:0,total:0,remainingPercentage:100,resetAt:null,unlimited:!0}},message:h&&"active"!==h?`Token status: ${h}. Cloudflare does not publish remaining free-tier neurons via API.`:"Token valid. CF does not expose remaining free-tier neurons via API — model rate limits still apply."}}catch(a){return{message:`Cloudflare usage error: ${a.message}`}}}function aw(a,b=0){return null==a?b:"object"==typeof a&&!Array.isArray(a)&&"val"in a?aa(a.val,b):aa(a,b)}function ax({used:a,total:b,resetAt:c,unlimited:d=!1}){let e=Math.max(0,aa(b,0)),f=Math.max(0,aa(a,0));if(d||0===e)return{used:f,total:0,remainingPercentage:100*!!d,resetAt:c||null,unlimited:!0};let g=Math.max(0,e-f);return{used:f,total:e,remainingPercentage:g/e*100,resetAt:c||null,unlimited:!1}}async function ay(a,b=null,c=null){if(!a)return{message:"Grok CLI access token not available."};let d=function(a,b={}){let c=b||{},d={Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":"grok-pager/0.2.93 grok-shell/0.2.93 (linux; x86_64)","x-xai-token-auth":"xai-grok-cli","x-grok-client-identifier":"grok-pager","x-grok-client-version":"0.2.93"},e=c.email,f=c.userId||c.principalId;return e&&(d["x-email"]=e),f&&(d["x-userid"]=f),d}(a,b);try{let[a,b]=await Promise.all([(0,e.proxyAwareFetch)("https://cli-chat-proxy.grok.com/v1/billing?format=credits",{method:"GET",headers:d},c),(0,e.proxyAwareFetch)("https://cli-chat-proxy.grok.com/v1/user?include=subscription",{method:"GET",headers:d},c).catch(()=>null)]);if(401===a.status||403===a.status)return{message:"Grok CLI authentication expired. Please re-authorize."};if(!a.ok){let b=await a.text().catch(()=>""),c=b?`: ${b.slice(0,200)}`:"";return{message:`Grok CLI billing API error (${a.status})${c}`}}let f=await a.json().catch(()=>null);if(!f||"object"!=typeof f)return{message:"Grok CLI billing response was not JSON."};let g=null;b?.ok&&(g=await b.json().catch(()=>null));let h=function(a,b=null){let c,d=a&&"object"==typeof a?a:{},e=d.config&&"object"==typeof d.config&&!Array.isArray(d.config)?d.config:d,f=N(e.billingPeriodEnd)||N(e.currentPeriod?.end)||N(d.billingPeriodEnd)||null,g={},h=aw(e.onDemandCap??d.onDemandCap,0/0),i=aw(e.onDemandUsed??d.onDemandUsed,0/0);if(Number.isFinite(h)&&h>0){let a=Number.isFinite(i)?Math.max(0,i):0;g["On-demand"]=ax({used:a,total:h,resetAt:f})}let j=aw(e.monthlyLimit??d.monthlyLimit,0/0),k=aw(e.used??d.used,0/0);Number.isFinite(j)&&j>0&&(g.Monthly=ax({used:Number.isFinite(k)?Math.max(0,k):0,total:j,resetAt:f}));let l=aw(e.prepaidBalance??d.prepaidBalance,0/0);return Number.isFinite(l)&&l>0&&(g.Prepaid={used:0,total:l,remainingPercentage:100,resetAt:null,unlimited:!1}),(b?.hasGrokCodeAccess===!0||e?.isUnifiedBillingUser===!0)&&(g["Grok Code"]={used:0,total:0,remainingPercentage:100,resetAt:f,unlimited:!0}),0===Object.keys(g).length&&(g.Included={used:0,total:0,remainingPercentage:100,resetAt:f,unlimited:!0}),{plan:(c="string"==typeof b?.subscriptionTier?b.subscriptionTier.trim():"")?c.replace(/[_-]+/g," ").replace(/\b\w/g,a=>a.toUpperCase()):b?.hasGrokCodeAccess===!0?"Grok Code":(e?.isUnifiedBillingUser,"Grok Build"),quotas:g,periodEnd:f}}(f,g);if(!h.quotas||0===Object.keys(h.quotas).length)return{plan:h.plan,message:"Grok Build connected, but no credit allotment was returned. Free promo may be exhausted — upgrade at https://grok.com/supergrok or add credits at https://grok.com/?_s=usage.",quotas:{}};return{plan:h.plan,quotas:h.quotas}}catch(a){return{message:`Grok CLI usage error: ${a.message}`}}}function az(a,b=0,c=""){if(!a||"object"!=typeof a||b>4)return null;let d=[];for(let[e,f]of Object.entries(a)){let a=e.toLowerCase();if(f&&"object"==typeof f&&!Array.isArray(f)){let a=az(f,b+1,c?`${c}.${e}`:e);a&&d.push(a);continue}if("number"!=typeof f&&"string"!=typeof f)continue;let g=aa(f,0/0);Number.isFinite(g)&&/(remaining|balance|credit|quota|limit|allowance|cap|used|spent|consumed)/i.test(a)&&d.push({key:c?`${c}.${e}`:e,name:e,value:g,kind:a})}return d.length?d:null}function aA(a){if(!a?.length)return null;let b=b=>a.find(a=>b.test(a.kind)||b.test(a.name)),c=b(/remaining|balance|credit(?!s_used)/i),d=b(/limit|cap|allowance|total|quota(?!_used)/i),e=b(/used|spent|consumed/i);if(d&&Number(d.value)>0){let a=e?Math.max(0,Number(e.value)):c?Math.max(0,Number(d.value)-Number(c.value)):0,b=Math.max(0,Number(d.value)-a);return{used:a,total:Number(d.value),remainingPercentage:b/Number(d.value)*100,resetAt:null,unlimited:!1}}if(c&&Number(c.value)>=0){let a=Number(c.value);return{used:0,total:a>0?a:1,remainingPercentage:100*(a>0),resetAt:null,unlimited:!1}}return null}async function aB(a,b="cline",d=null){try{let{buildClineHeaders:f,resolveClineCredential:g}=await Promise.resolve().then(c.bind(c,15626)),{token:h,isApiKey:i}=g(a);if(!h)return{message:"Cline access token not available."};let j=f(h,{Accept:"application/json"},{isApiKey:i}),k=await (0,e.proxyAwareFetch)("https://api.cline.bot/api/v1/users/me",{method:"GET",headers:j},d);if(401===k.status||403===k.status)return{message:"Cline authentication expired. Please re-authorize."};if(!k.ok)return{message:`Cline user API error (${k.status})`};let l=await k.json().catch(()=>null);if(!l||"object"!=typeof l)return{message:"Cline user response was not JSON."};let m=l.data&&"object"==typeof l.data?l.data:l,n=m.email||m.user?.email||null,o=m.plan||m.subscription?.plan||m.subscription?.name||m.organization?.plan||m.organizations?.[0]?.plan||("clinepass"===b?"ClinePass":"Cline"),p=az(m)||[],q=aA(p),r={};q&&(r.Credits=q);let s=m.organizations||m.organization;if(!Object.keys(r).length&&s&&(r.Account={used:0,total:0,remainingPercentage:100,resetAt:null,unlimited:!0}),!Object.keys(r).length)return{plan:"string"==typeof o?o:"Cline",email:n,message:"Cline connected. No credit allotment was returned by the account API.",quotas:{}};return{plan:"string"==typeof o?o:"Cline",email:n,quotas:r}}catch(a){return{message:`Cline usage error: ${a.message}`}}}async function aC(a,b=null,c=null){if(!a)return{message:"Kimchi access token not available."};try{let d=await (0,e.proxyAwareFetch)("https://app.kimchi.dev/api/v1/me",{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${a}`,"User-Agent":"kimchi/0.1.50"}},c);if(401===d.status||403===d.status)return{message:"Kimchi authentication expired. Please re-authorize."};if(!d.ok)return{message:`Kimchi user API error (${d.status})`};let f=await d.json().catch(()=>null);if(!f||"object"!=typeof f)return{message:"Kimchi user response was not JSON."};let g=f.email||b?.username||null,h=f.plan||f.tier||f.subscription?.name||"Kimchi",i=az(f)||[],j=aA(i),k={};return j?k.Credits=j:k.Account={used:0,total:0,remainingPercentage:100,resetAt:null,unlimited:!0},{plan:"string"==typeof h?h:"Kimchi",email:g,quotas:k}}catch(a){return{message:`Kimchi usage error: ${a.message}`}}}async function aD(a,b=null,c=null){if(!a)return{message:"xAI token not available."};try{let d={Authorization:`Bearer ${a}`,Accept:"application/json"},f=0,g=null,h=null;for(let a of["https://api.x.ai/v1/api-key","https://api.x.ai/v1/models"]){let b=await (0,e.proxyAwareFetch)(a,{method:"GET",headers:d},c);if(f=b.status,401===b.status||403===b.status)return{message:"xAI authentication expired. Please re-authorize or update the API key."};if(b.ok){g=await b.json().catch(()=>null),h=a;break}}if(!g)return{message:`xAI API error (${f||"unknown"})`};let i=az(g)||[],j=aA(i),k={};j?k.Credits=j:(Array.isArray(g?.data)&&g.data.length,k.API={used:0,total:0,remainingPercentage:100,resetAt:null,unlimited:!0});let l=b?.email||null,m=g.name||g.api_key_name||g.team?.name||(h?.includes("api-key")?"xAI API Key":"xAI");return{plan:"string"==typeof m?m:"xAI",email:l,quotas:k}}catch(a){return{message:`xAI usage error: ${a.message}`}}}async function aE(a,b=null){if(!a)return{message:"Cursor access token not available."};let c=b?.plan||b?.membershipType||"Cursor",d=b?.email||null;try{let b=String(a).split(".");if(3===b.length){let a=b[1].replace(/-/g,"+").replace(/_/g,"/"),e=a+"=".repeat((4-a.length%4)%4),f=JSON.parse(Buffer.from(e,"base64").toString("utf8"));d=d||f.email||f.preferred_username||null,c=f.plan||f.subscription||f.membershipType||f.tier||c}}catch{}return{plan:"string"==typeof c?c:"Cursor",email:d,quotas:{Session:{used:0,total:0,remainingPercentage:100,resetAt:null,unlimited:!0}}}}},39326:(a,b,c)=>{c.d(b,{B:()=>h,p:()=>g});var d=c(71998);function e(a){return null==a?"":String(a).trim()}let f=new Map;function g(a,b,c){if(!a||0===a.length)return null;if(1===a.length)return a[0];if("round-robin"===b){let b=f.get(c)||{index:-1};return b.index=(b.index+1)%a.length,f.set(c,b),a[b.index]}return"random"===b?a[Math.floor(Math.random()*a.length)]:a[0]}async function h(a={}){try{let b=e(a?.proxyPoolId),c="__none__"===b?"":b,f=function(a={}){let b=a?.connectionProxyEnabled===!0;return{connectionProxyEnabled:b,connectionProxyUrl:e(a?.connectionProxyUrl),connectionNoProxy:e(a?.connectionNoProxy)}}(a);if(c){let a=await (0,d.hr)(c),b=e(a?.proxyUrl),f=e(a?.noProxy);if(a&&!0===a.isActive&&b){if("vercel"===a.type||"cloudflare"===a.type||"deno"===a.type)return{source:a.type,proxyPoolId:c,proxyPool:a,connectionProxyEnabled:!1,connectionProxyUrl:"",connectionNoProxy:f,strictProxy:!0===a.strictProxy,vercelRelayUrl:b};return{source:"pool",proxyPoolId:c,proxyPool:a,connectionProxyEnabled:!0,connectionProxyUrl:b,connectionNoProxy:f,strictProxy:!0===a.strictProxy}}}if(f.connectionProxyEnabled&&f.connectionProxyUrl)return{source:"legacy",proxyPoolId:c||null,proxyPool:null,...f};return{source:"none",proxyPoolId:c||null,proxyPool:null,...f}}catch(a){return console.error("[resolveConnectionProxyConfig] Failed to resolve proxy config:",a),{source:"error",proxyPoolId:null,proxyPool:null,connectionProxyEnabled:!1,connectionProxyUrl:"",connectionNoProxy:"",strictProxy:!1}}}},52060:(a,b,c)=>{c.d(b,{A:()=>d,C:()=>e});let d="2.135.0",e=`CLI/${d} CodeBuddy/${d}`},61188:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{NS:()=>A,dg:()=>C,qX:()=>z});var e=c(48895),f=c(89718),g=c(14760),h=c(55330),i=c(8590),j=c(93943),k=c(39326),l=c(75681),m=c(91254),n=a([e,h]);[e,h]=n.then?(await n)():n;let D=["expired","authentication","unauthorized","401","re-authorize"],E=globalThis._quotaUsageInflight??=new Map,F=new Map;function o(a,b=Date.now()){let c=F.get(a.id),d=c?.refreshToken===a.refreshToken?(c.failures||0)+1:1,e=Math.min(216e5,3e5*2**(d-1));F.set(a.id,{failures:d,retryAt:b+e,refreshToken:a.refreshToken})}function p(a){F.delete(a.id)}function q(a){return a?.provider==="codex"&&!!a.providerSpecificData?.codexRefreshBlockedAt||a?.failureClass==="reauth_required"||!!a?.quarantinedAt}function r(a){return!!a?.accessToken&&!function(a,b=Date.now()){let c=(0,j.Dz)(a);return null!==c&&c<=b}(a)}function s(a){if("codex"===a)return"Codex";let b=String(a||"provider");return b.charAt(0).toUpperCase()+b.slice(1)}function t(a){return`${s(a)} refresh token rejected; reconnect this account.`}function u(a){return String(a?.code||"invalid_refresh_token").replace(/[^a-zA-Z0-9_.:-]/g,"_").slice(0,120)||"invalid_refresh_token"}async function v(a,b){let c=new Date().toISOString(),d=u(b),e={lastError:t(a.provider),lastErrorAt:c,lastErrorType:"auth",errorCode:d,failureClass:"reauth_required"};"codex"===a.provider&&(e.providerSpecificData={...a.providerSpecificData||{},codexRefreshBlockedAt:c,codexRefreshErrorCode:d});try{return await (0,f.updateProviderConnection)(a.id,e)||{...a,...e}}catch(b){return console.warn(`[Usage] ${s(a.provider)} refresh rejection state was not persisted: ${b.message}`),{...a,...e}}}async function w(a,b){let c=b?.permanent===!0?b:(0,i.R_)({code:u(b)}),d=await v(a,c);if(r(a))return{connection:d,refreshed:!1,refreshBlocked:!0,refreshError:c};throw c}function x(a){return!!(a?.quotas&&"object"==typeof a.quotas&&Object.keys(a.quotas).length>0)}function y(a,b){return!!(a?.quotaFetchFailed===!0&&!a.accountDead&&!x(a)&&x(b?.usage))}async function z(a,b=!1,c=null){let d,e=(0,h.SB)(a.provider);if(q(a)){if(r(a))return{connection:a,refreshed:!1,refreshBlocked:!0};throw(0,i.R_)({code:a.providerSpecificData?.codexRefreshErrorCode||a.errorCode||"invalid_refresh_token"})}let g={accessToken:a.accessToken,refreshToken:a.refreshToken,idToken:a.idToken,expiresAt:a.expiresAt||a.tokenExpiresAt,lastRefreshAt:a.lastRefreshAt,connectionId:a.id,providerSpecificData:a.providerSpecificData,copilotToken:a.providerSpecificData?.copilotToken,copilotTokenExpiresAt:a.providerSpecificData?.copilotTokenExpiresAt};if(!(b||e.needsRefresh(g)))return{connection:a,refreshed:!1};if(!b&&function(a,b=Date.now()){let c=F.get(a.id);return!!c&&(c.refreshToken!==a.refreshToken?(F.delete(a.id),!1):c.retryAt>b)}(a))return{connection:a,refreshed:!1,refreshFailed:!0,refreshBackedOff:!0};try{d=await e.refreshCredentials(g,console,c)}catch(b){if(b?.permanent===!0)return p(a),w(a,b);throw b?.name!=="AbortError"&&o(a),b}if((0,i.jT)(d))return p(a),w(a,(0,i.R_)(d));if(!d){if(o(a),a.accessToken)return{connection:a,refreshed:!1,refreshFailed:!0};throw Error("Failed to refresh credentials. Please re-authorize the connection.")}p(a);let j={updatedAt:new Date().toISOString()};d.accessToken&&(j.accessToken=d.accessToken),d.refreshToken&&(j.refreshToken=d.refreshToken),d.idToken&&(j.idToken=d.idToken),d.lastRefreshAt&&(j.lastRefreshAt=d.lastRefreshAt),d.expiresIn?(j.expiresAt=new Date(Date.now()+1e3*d.expiresIn).toISOString(),j.expiresIn=d.expiresIn):d.expiresAt&&(j.expiresAt=d.expiresAt);let k={...d.providerSpecificData||{},...d.copilotToken?{copilotToken:d.copilotToken}:{},...d.copilotTokenExpiresAt?{copilotTokenExpiresAt:d.copilotTokenExpiresAt}:{}};return Object.keys(k).length>0&&(j.providerSpecificData={...a.providerSpecificData||{},...k}),await (0,f.updateProviderConnection)(a.id,j),{connection:{...a,...j,providerSpecificData:j.providerSpecificData||a.providerSpecificData},refreshed:!0}}function A(a){let b;if(!a)return!1;let c="api-key"===(b=String(a.authType||"").toLowerCase().trim())||"api_key"===b||"api key"===b?"apikey":b;return"oauth"===c||"apikey"===c&&l.jO.includes(a.provider)}async function B(a,b,c){let d,{writeCache:e=!1,force:h=!1}=b,i=await (0,f.Mc)(a);if(!i)return{error:"Connection not found",notFound:!0};if(!A(i))return{message:"Usage not available for this connection"};let j=await (0,k.B)(i.providerSpecificData),l={connectionProxyEnabled:!0===j.connectionProxyEnabled,connectionProxyUrl:j.connectionProxyUrl||"",connectionNoProxy:j.connectionNoProxy||"",vercelRelayUrl:j.vercelRelayUrl||"",strictProxy:!1},n=i,o="oauth"===n.authType,p=!1;if(o){let a;try{a=await z(n,h,l)}catch(a){if(a?.permanent===!0)return{message:t(n.provider),reauthRequired:!0,quotas:{}};throw a}n=a.connection,p=!0===a.refreshFailed}if(o&&p&&!r(n))d={message:`${s(n.provider)} credential refresh is temporarily unavailable; will retry later.`,quotaFetchFailed:!0,quotas:{}};else if(d=await (0,g.my)(n,l),o&&function(a){if(!a?.message)return!1;let b=a.message.toLowerCase();return D.some(a=>b.includes(a))}(d)&&n.refreshToken&&!q(n)&&!p)try{n=(await z(n,!0,l)).connection,d=await (0,g.my)(n,l)}catch(a){console.warn(`[Usage] ${n.provider}: force refresh failed: ${a.message}`)}if((e||c.writeCache)&&d&&!d.error)try{if("codebuddy"===n.provider||"codebuddy-cn"===n.provider){let a=null,b=await (0,f.Iu)(n.id,(b,c)=>{if(y(d,c)){var e;return e=d,a={...(0,m.pX)(c.usage,b),stale:!0,refreshError:e.message},{}}return{quotaUsage:(0,m.pX)(d,b)}});d=a||b?.quotaUsage||d}else{let a=await (0,f.getQuotaSnapshot)(n.id);y(d,a)?d={...a.usage,stale:!0,refreshError:d.message}:await (0,f.KK)(n.id,n.provider,d)}}catch(a){console.warn(`[QuotaCache] save failed for ${n.id}: ${a.message}`)}else if("codebuddy"===n.provider||"codebuddy-cn"===n.provider){let a=await (0,f.Mc)(n.id)||n;d=(0,m.pX)(d,a)}return d}async function C(a,b={}){let c=E.get(a);if(c||(c={active:null,queuedForce:null},E.set(a,c)),c.queuedForce)return b.writeCache&&(c.queuedForce.writeCache=!0),c.queuedForce.promise;if(c.active&&(!b.force||c.active.force))return b.writeCache&&(c.active.writeCache=!0),c.active.promise;let d=b=>{c.active===b&&(c.active=null),c.active||c.queuedForce||E.get(a)!==c||E.delete(a)};if(c.active){let e=c.active.promise,f={force:!0,writeCache:!0===b.writeCache,promise:null},g=()=>(c.queuedForce===f&&(c.queuedForce=null),c.active=f,B(a,{...b,force:!0},f));return f.promise=e.then(g,g).finally(()=>d(f)),c.queuedForce=f,f.promise}let e={force:!0===b.force,writeCache:!0===b.writeCache,promise:null};return c.active=e,e.promise=B(a,b,e).finally(()=>d(e)),e.promise}d()}catch(a){d(a)}})},71998:(a,b,c)=>{c.d(b,{Fh:()=>d.Fh,Iu:()=>d.Iu,Kg:()=>d.Kg,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.getModelAliases,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.deleteModelAlias,getProviderConnections:()=>d.getProviderConnections,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},91254:(a,b,c)=>{c.d(b,{CG:()=>p,QN:()=>k,US:()=>o,hN:()=>j,kt:()=>i,pX:()=>q,r_:()=>n,uF:()=>m});let d="codebuddyRuntimeExhaustedAt",e="codebuddyRuntimeExhaustedCode",f="codebuddyRuntimeRejectedAt",g="codebuddyRuntimeRejectedCode";function h(a){return a?.provider==="codebuddy"||a?.provider==="codebuddy-cn"}function i(a){return h(a)&&a.providerSpecificData?.[d]||null}function j(a){return!!i(a)}function k(a,b){return{...a||{},[d]:b,[e]:14018}}function l(a){return a?.provider!=="codebuddy-cn"?null:a.providerSpecificData?.[f]||null}function m(a){return!!l(a)}function n(a,b,c=11140){return{...a||{},[f]:b,[g]:c}}function o(a){let b={...a||{}};return delete b[d],delete b[e],b}function p(a){let b=o(a);return delete b[f],delete b[g],b}function q(a,b){if(!h(b))return a;let c=l(b),d=i(b);if(!c&&!d)return a;let e=a?.billingQuotas||a?.quotas||{};if(c)return{...a||{},message:"CodeBuddy CN chat API rejected this credential (11140); billing package balance is nominal and does not prove chat access.",billingQuotas:e,runtimeStatus:"credential_rejected",chatUsable:!1,runtimeRejectedAt:c,runtimeRejectedCode:Number(b.providerSpecificData?.[g])||11140};let f=Object.fromEntries(Object.entries(e).map(([a,b])=>{let c=Number(b?.total);return[a,{...b||{},...Number.isFinite(c)?{used:c}:{},remaining:0,remainingPercentage:0}]}));return{...a||{},message:"CodeBuddy chat API reported exhausted credits (14018); billing package balance is nominal until a chat request succeeds.",billingQuotas:e,quotas:f,runtimeStatus:"exhausted",chatUsable:!1,runtimeExhausted:!0,runtimeExhaustedAt:d,runtimeExhaustedCode:14018}}}};
1
+ "use strict";exports.id=9835,exports.ids=[1998,9835],exports.modules={9760:(a,b,c)=>{c.d(b,{EE:()=>n,U:()=>h,YR:()=>o,gs:()=>e,x0:()=>l});let d="https://api.blackbox.ai",e=`${d}/v1/models`,f=`${d}/key/info`,g=["/veo","/sora","/flux","/stable-diffusion","/seedream","/imagen","/nano-banana","/image-","/image/","-image","/edit","-edit","/mochi","/ray-","/fast-animatediff","/fast-svd","/cogvideox","/hidream","/recraft","/ideogram","/bria/","/playgroundai/","/luma/photon","/sana","/wan-","/dreamshaper","hunyuan-video"];function h(a){let b=Array.isArray(a)?a:a?.data||a?.models||a?.results||[];return Array.isArray(b)?b.map(a=>{let b="string"==typeof a?a.trim():String(a?.id||a?.model||a?.name||"").trim();return b&&function(a){if("string"!=typeof a||!a.trim())return!1;let b=a.trim().toLowerCase();return!g.some(a=>b.includes(a))}(b)?{..."object"==typeof a&&a?a:{},id:b,name:a?.name||a?.display_name||a?.displayName||b}:null}).filter(Boolean):[]}function i(a){let b={Accept:"application/json","Content-Type":"application/json"};return"string"==typeof a&&a.trim()&&(b.Authorization=`Bearer ${a.trim()}`),b}function j(a={}){return a.signal?a.signal:AbortSignal.timeout(a.timeoutMs||8e3)}async function k(a){try{await a?.body?.cancel?.()}catch{}}async function l(a={},b={}){let c=b.fetchImpl||fetch;try{let d=await c(e,{method:"GET",headers:i(a.apiKey||a.accessToken),signal:j(b)});if(!d.ok)return await k(d),null;let f=h(await d.json());return f.length?{models:f}:null}catch{return null}}async function m(a,b={}){let c=b.fetchImpl||fetch;if("string"!=typeof a||!a.trim())return null;try{let d=await c(f,{method:"GET",headers:i(a),signal:j(b)});if(!d.ok)return await k(d),null;let e=await d.json();return e?.info||e||null}catch{return null}}async function n(a,b={}){let c=await m(a,b);if(!c)return{plan:"Blackbox API",message:"Blackbox spend data is unavailable for this key.",quotas:{},trackingMode:"unavailable"};let d=Number(c.spend),e=Number(c.max_budget),f=Number.isFinite(d)&&d>=0?d:0,g=Number.isFinite(e)&&e>0,h=g?e:0,i=g?Math.max(0,h-f):null,j=g?Math.max(0,Math.min(100,i/h*100)):100;return{plan:"Blackbox API",quotas:{Spend:{used:f,total:h,...null==i?{}:{remaining:i},remainingPercentage:j,unlimited:!1,unit:"USD",resetAt:c.budget_reset_at||c.expires||null,displayName:g?"API Budget":"API Spend"}},trackingMode:"upstream",spend:f,maxBudget:g?e:null}}async function o(a,b={}){let c=b.fetchImpl||fetch;try{let d=await c(f,{method:"GET",headers:i(a),signal:j(b)});if(d.ok||429===d.status)return await k(d),{valid:!0,error:null};if(401===d.status||403===d.status||404===d.status)return await k(d),{valid:!1,error:"Invalid API key"};let e="";try{e=(await d.text()).slice(0,240)}catch{}return{valid:!1,error:e?`Blackbox validation failed (${d.status}): ${e}`:`Blackbox validation failed (${d.status})`}}catch(a){return{valid:!1,error:a?.message||"Blackbox validation failed"}}}},14760:(a,b,c)=>{c.d(b,{RO:()=>aj,Yt:()=>ai,my:()=>L});var d=c(75924),e=c(39609),f=c(71164),g=c(9760);function h(a,b=0){let c="string"==typeof a&&a.trim()?Number(a):a;return Number.isFinite(c)?c:b}function i(a,b){return{plan:a,quotas:{Credits:{used:1,total:1,remaining:0,remainingPercentage:0,resetAt:null,unlimited:!1}},authoritative:!0,limitReached:!0,message:b}}function j(a){let b=Error(a);return b.name="AbortError",b.code="USAGE_REQUEST_ABORTED",b}async function k(a,b={}){let c,d=new AbortController,e=b.parentSignal,f=Number.isFinite(b.timeoutMs)&&b.timeoutMs>0?b.timeoutMs:15e3,g=new Promise((a,b)=>{c=b}),h=a=>{let b=a instanceof Error?a:j("Usage request aborted");d.signal.aborted||d.abort(b),c(b)},i=()=>h(e.reason);e?.aborted?h(e.reason):e?.addEventListener("abort",i,{once:!0});let l=setTimeout(()=>h(j(`Usage request timed out after ${f}ms`)),f);l.unref?.();try{return await Promise.race([Promise.resolve().then(()=>a(d.signal)),g])}finally{clearTimeout(l),e?.removeEventListener("abort",i)}}function l(a){let b=Math.round(100*Math.max(0,Math.min(1,Number(a)||0))),c=100-b;return{used:b,total:100,remaining:c,remainingPercentage:c,resetAt:null,unlimited:!1}}function m(){return{quotaFetchFailed:!0,message:"Ollama Cloud usage temporarily unavailable."}}async function n(a,b=null){let c=a?.apiKey||a?.accessToken;if(!c)return{message:"Ollama Cloud API key not available."};let d={Authorization:`Bearer ${c}`,Accept:"application/json"};try{return await k(async a=>{let c=await (0,e.proxyAwareFetch)("https://ollama.com/api/usage",{method:"GET",headers:d,signal:a},b);if(401===c.status||403===c.status)return{authError:!0,accountDead:!0,message:"Ollama Cloud API key invalid or expired."};if(402===c.status||429===c.status)return i("Ollama Cloud","Ollama Cloud credits are exhausted.");if(!c.ok)return m();let f=await c.json().catch(()=>null);if(!f||"object"!=typeof f)return m();let g=await (0,e.proxyAwareFetch)("https://ollama.com/api/me",{method:"POST",headers:{...d,"Content-Length":"0"},signal:a},b).then(a=>a.ok?a.json():null).catch(b=>{if(a.aborted)throw b;return null}),h="string"==typeof g?.Plan?g.Plan.trim():"",j=h?h.charAt(0).toUpperCase()+h.slice(1).toLowerCase():"Ollama Cloud",k=f.limits&&"object"==typeof f.limits?f.limits:{},n={};return(Number.isFinite(Number(k.session?.usage))&&(n["Session (5h)"]=l(k.session.usage)),Number.isFinite(Number(k.weekly?.usage))&&(n["Weekly (7d)"]=l(k.weekly.usage)),0===Object.keys(n).length)?{plan:j,quotas:n,authoritative:!0,message:"Ollama Cloud connected. No usage limits reported."}:{plan:j,quotas:n,authoritative:!0}},{parentSignal:b?.signal})}catch{return m()}}let o={LEVEL_BASIC:"Moderato",LEVEL_INTERMEDIATE:"Allegretto",LEVEL_ADVANCED:"Allegro",LEVEL_STANDARD:"Vivace"};function p(){return{quotaFetchFailed:!0,message:"Kimi usage temporarily unavailable."}}function q(a,b,c,d){let e=Math.max(0,h(b)),f=Math.max(0,h(a)),g=Math.max(0,h(c,e-f));return{used:f,total:e,remaining:g,remainingPercentage:e>0?Math.min(100,g/e*100):0,resetAt:function(a){if(null==a||""===a)return null;try{if(a instanceof Date)return a.toISOString();if("number"==typeof a||/^\d+$/.test(String(a))){let b=Number(a);return new Date(b<1e12?1e3*b:b).toISOString()}return new Date(a).toISOString()}catch{return null}}(d),unlimited:!1}}async function r(a,b=null){let c="string"==typeof a?.apiKey?a.apiKey.trim():"",f="string"==typeof a?.accessToken?a.accessToken.trim():"";if(!c&&!f)return{message:"Kimi access token or API key not available."};let g=c?{"x-api-key":c}:{Authorization:`Bearer ${f}`,...(0,d.VK)(a?.providerSpecificData?.deviceId)};try{return await k(async a=>{let c,d=await (0,e.proxyAwareFetch)("https://api.kimi.com/coding/v1/usages",{method:"GET",headers:{...g,Accept:"application/json","Content-Type":"application/json"},signal:a},b),f=await d.text().catch(()=>"");if(401===d.status)return{authError:!0,accountDead:!0,message:"Kimi authentication expired. Please re-authorize."};if(403===d.status)return{plan:"Kimi Coding",quotaFetchFailed:!0,usageUnavailable:!0,message:"Kimi connected, but this account has no permission to view usage."};if(402===d.status||429===d.status)return i("Kimi Coding","Kimi credits are exhausted.");if(!d.ok)return p();try{c=JSON.parse(f||"{}")}catch{return p()}let j={},k=c.usage&&"object"==typeof c.usage?c.usage:{},l=h(k.limit??k.Limit);l>0&&(j.Weekly=q(k.used??k.Used,l,k.remaining??k.Remaining,k.resetTime??k.ResetTime??k.reset_at??k.resetAt));let m=(Array.isArray(c.limits)?c.limits:[]).filter(a=>{let b=a?.detail&&"object"==typeof a.detail?a.detail:{};return h(b.limit??b.Limit)>0}),n=new Set;for(let[a,b]of m.entries()){let c=b?.detail&&"object"==typeof b.detail?b.detail:{},d=h(c.limit??c.Limit),e=h(c.remaining??c.Remaining,d);j[function(a,b,c,d){if(1===c)return"Ratelimit";let e=a?.name??a?.type??a?.window??a?.detail?.name??a?.detail?.type??a?.detail?.window,f="string"==typeof e?e.replace(/[^a-zA-Z0-9._ -]/g," ").replace(/\s+/g," ").trim().slice(0,48):"",g=f?`Ratelimit (${f})`:`Ratelimit ${b+1}`,h=g,i=2;for(;d.has(h);)h=`${g} ${i++}`;return d.add(h),h}(b,a,m.length,n)]=q(Math.max(0,d-e),d,e,c.resetTime??c.reset_at??c.resetAt)}let r=c.user?.membership?.level;return{plan:o[r]||(r?String(r).replace(/^LEVEL_/,"").toLowerCase():"Kimi Coding"),quotas:j,authoritative:!0,...0===Object.keys(j).length?{message:"Kimi connected. No usage limits reported."}:{}}},{parentSignal:b?.signal})}catch{return p()}}function s(){return{quotaFetchFailed:!0,message:"DeepSeek balance temporarily unavailable."}}async function t(a,b=null){let c="string"==typeof a?.apiKey?a.apiKey.trim():"";if(!c)return{message:"DeepSeek API key not available. Add a key to view usage."};try{return await k(async a=>{let d=await (0,e.proxyAwareFetch)("https://api.deepseek.com/user/balance",{method:"GET",headers:{Authorization:`Bearer ${c}`,Accept:"application/json","Content-Type":"application/json"},signal:a},b);if(401===d.status||403===d.status)return{authError:!0,accountDead:!0,message:"DeepSeek authentication failed. Check the API key."};if(402===d.status||429===d.status)return i("DeepSeek","DeepSeek balance is exhausted.");if(!d.ok)return s();let f=await d.json().catch(()=>null);if(!f||"object"!=typeof f)return s();let g={};for(let a of Array.isArray(f.balance_infos)?f.balance_infos:[]){if(!a||"object"!=typeof a)continue;let b="string"==typeof a.currency?a.currency.trim().toUpperCase():"";if(!b)continue;let c=Math.max(0,h(a.total_balance??a.totalBalance));g[`Balance (${b})`]={used:0,total:c,remaining:c,remainingPercentage:100*(c>0),resetAt:null,unlimited:!1,unit:b,grantedBalance:Math.max(0,h(a.granted_balance??a.grantedBalance)),toppedUpBalance:Math.max(0,h(a.topped_up_balance??a.toppedUpBalance))}}if(0===Object.keys(g).length)return{plan:"DeepSeek",quotas:g,authoritative:!0,message:"DeepSeek connected. No balance data returned."};let j=!0===f.is_available||!0===f.isAvailable;return{plan:j?"DeepSeek":"DeepSeek (Insufficient Balance)",quotas:g,authoritative:!0,limitReached:!j}},{parentSignal:b?.signal})}catch{return s()}}var u=c(30022),v=c(21031);function w(a,b){let c=Math.max(0,Number(a?.total)||0),d=Math.max(0,Number(a?.used)||0),e=Math.max(0,Number(a?.remaining)||0);return{total:c,used:d,remaining:e,remainingPercentage:c>0?Math.min(100,e/c*100):0,unit:a?.unit||"credits",resetAt:b,unlimited:!1}}function x(){return{quotaFetchFailed:!0,message:"Qoder usage temporarily unavailable."}}async function y(a,b=null){try{return await k(async c=>{let d;try{d=await (0,v.iC)(a,{proxyOptions:b,signal:c})}catch(a){if(a?.status===401||a?.status===403)return{authError:!0,accountDead:!0,message:"Qoder PAT was rejected. Add a valid Personal Access Token."};throw a}if(!d?.accessToken)return{message:"Qoder usage unavailable: no access token"};let f=await (0,e.proxyAwareFetch)(u.x_,{method:"GET",headers:{Authorization:`Bearer ${d.accessToken}`,Accept:"application/json"},signal:c},b);if(401===f.status||403===f.status)return{authError:!0,accountDead:!0,message:"Qoder authentication expired. Reconnect this account."};if(!f.ok)return x();let g=await f.json().catch(()=>null);if(!g||"object"!=typeof g)return x();let h=Number(g.expiresAt),i=Number.isFinite(h)&&h>0?new Date(h).toISOString():null,j={user:w(g.userQuota,i)};return Number(g.orgResourcePackage?.total)>0&&(j.organization=w(g.orgResourcePackage,i)),{quotas:j,totalUsagePercentage:Number(g.totalUsagePercentage)||0,isQuotaExceeded:!0===g.isQuotaExceeded,limitReached:!0===g.isQuotaExceeded,expiresAt:Number.isFinite(h)?h:null,authoritative:!0}},{parentSignal:b?.signal})}catch(a){return x()}}var z=c(77598);let A=new Map,B={key:"gemini_weekly",displayName:"Gemini Weekly"},C={key:"claude_gpt_weekly",displayName:"Claude / GPT Weekly"};function D(a){return(0,z.createHash)("sha256").update(a).digest("hex")}async function E(a,b,c=null,{fetchImpl:f=e.proxyAwareFetch,now:g=Date.now,digestImpl:h=D}={}){let i;try{i=h(`${a}\0${b||""}`);let c=A.get(i);if(c instanceof Promise)return c;if(c&&c.expiresAt>g())return c.result;c&&A.delete(i)}catch{return{}}let j=(async()=>{let e=new AbortController,h=setTimeout(()=>e.abort(),1e4);try{let h=await f("https://cloudcode-pa.googleapis.com/v1internal:retrieveUserQuotaSummary",{method:"POST",headers:{Authorization:`Bearer ${a}`,"User-Agent":(0,d.P0)(),"Content-Type":"application/json","x-request-source":"local"},body:JSON.stringify(b?{project:b}:{}),signal:e.signal},c);if(!h?.ok)return A.delete(i),{};let j=function(a){let b=Array.isArray(a?.groups)?a.groups:a?.quotaSummary?.groups;if(!Array.isArray(b))return{};let c={};for(let a of b){if(a?.disabled)continue;let b=function(a){let b=[a?.id,a?.name,a?.displayName].filter(a=>"string"==typeof a).join(" ").toLowerCase();return b.includes("gemini")?B:b.includes("claude")||b.includes("gpt")?C:null}(a);if(b&&!c[b.key])for(let d of Array.isArray(a?.buckets)?a.buckets:[]){if(d?.disabled||"weekly"!==String(d?.period||"").toLowerCase()&&"p7d"!==String(d?.duration||"").toLowerCase())continue;let a=Number(d?.remainingFraction);if(d?.remainingFraction==null||!Number.isFinite(a))continue;let e=Math.min(1,Math.max(0,a)),f=Math.round(1e3*e);c[b.key]={used:Math.max(0,1e3-f),total:1e3,remainingPercentage:100*e,resetAt:function(a){if(null==a||""===a)return null;let b="number"==typeof a&&a<1e12?1e3*a:a,c="number"==typeof b?b:Date.parse(b);return Number.isFinite(c)?new Date(c).toISOString():null}(d?.resetTime),unlimited:!1,displayName:b.displayName,quotaSource:"retrieveUserQuotaSummary",routingAuthoritative:!1};break}}return c}(await h.json());if(0===Object.keys(j).length)return A.delete(i),{};return A.set(i,{result:j,expiresAt:g()+18e4}),j}catch{return A.delete(i),{}}finally{clearTimeout(h)}})();return A.set(i,j),j}let F={international:"https://api.z.ai/api/monitor/usage/quota/limit",china:"https://open.bigmodel.cn/api/monitor/usage/quota/limit"},G={minimax:["https://www.minimax.io/v1/token_plan/remains","https://api.minimax.io/v1/api/openplatform/coding_plan/remains"],"minimax-cn":["https://www.minimaxi.com/v1/api/openplatform/coding_plan/remains","https://api.minimaxi.com/v1/api/openplatform/coding_plan/remains"]},H={quotaApiHosts:["https://daily-cloudcode-pa.googleapis.com","https://cloudcode-pa.googleapis.com","https://daily-cloudcode-pa.sandbox.googleapis.com"],fetchAvailableModelsPath:"/v1internal:fetchAvailableModels",retrieveUserQuotaPath:"/v1internal:retrieveUserQuota",loadProjectApiUrl:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",tokenUrl:"https://oauth2.googleapis.com/token",clientId:"1071006060591-tmhssin2h21lcre235vtolojh4g403ep.apps.googleusercontent.com",clientSecret:"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",userAgent:(0,d.A9)(),quotaUserAgent:(0,d.P0)()},I=["gemini-3.8-flash-high","gemini-3.8-flash-medium","gemini-3.8-flash-low","gemini-3.7-flash-high","gemini-3.7-flash-medium","gemini-3.7-flash-low","gemini-3.6-flash-high","gemini-3.6-flash-medium","gemini-3.6-flash-low","gemini-3-flash-agent","gemini-3.5-flash-low","gemini-3.5-flash-extra-low","gemini-pro-agent","gemini-3.1-pro-low","claude-sonnet-4-6","claude-opus-4-6-thinking","gpt-oss-120b-medium","gemini-3-flash"],J="2023-06-01",K={free:"TCACA_code_001_PqouKr6QWV",proMon:"TCACA_code_002_AkiJS3ZHF5",gift:"TCACA_code_006_DbXS0lrypC",activity:"TCACA_code_007_nzdH5h4Nl0",proYear:"TCACA_code_003_FAnt7lcmRT",freeMon:"TCACA_code_008_cfWoLwvjU4",extra:"TCACA_code_009_0XmEQc2xOf"};async function L(a,b=null){let{provider:c,accessToken:d,apiKey:f,providerSpecificData:h,projectId:i}=a,j={...h||{},...i?{projectId:i}:{}};switch(c){case"github":return await S(d,h,b);case"gemini-cli":return await U(d,j,b);case"antigravity":return await Y(d,j,b);case"claude":return await _(d,b);case"codex":return await ah(d,b);case"kiro":return await ak(d,h,b);case"codebuddy":case"codebuddy-cn":return await N(d,h,b,f,c);case"qoder":return await y(a,b);case"autoclaw":return await av(d,b,a);case"qwen":return await al(d,h);case"iflow":return await am(d);case"ollama":return await n(a,b);case"kimi":case"kimi-coding":return await r(a,b);case"deepseek":return await t(a,b);case"glm":case"glm-cn":return await an(f,c,b);case"minimax":case"minimax-cn":return await au(f,c,b);case"grok-cli":return await az(d,h,b);case"cloudflare-ai":return await aw(f||d,h,b);case"xai":return await aE(d||f,h,b);case"cline":case"clinepass":return await aC({accessToken:d,apiKey:f},c,b);case"kimchi":return await aD(d||f,h,b);case"blackbox":return await (0,g.EE)(f||d,{fetchImpl:(a,c)=>(0,e.proxyAwareFetch)(a,c,b)});case"cursor":return await aF(d,h);default:return{message:`Usage API not implemented for ${c}`}}}async function M(a,b={},c=null,d="codebuddy"){let f=b?.uid||b?.rawAuth?.uid;if(f)return{uid:f,enterpriseId:b?.enterpriseId||null};let g=b?.domain||b?.rawAuth?.domain||("codebuddy-cn"===d?"www.codebuddy.cn":"www.codebuddy.ai");try{let b=await (0,e.proxyAwareFetch)(`https://${g}/v2/plugin/accounts`,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","X-Domain":g}},c);if(!b.ok)return{uid:null,enterpriseId:null};let d=await b.json(),f=d?.data?.accounts||[],h=f.find(a=>a.lastLogin)||f[0]||{};return{uid:h.uid||null,enterpriseId:h.enterpriseId||null}}catch{return{uid:null,enterpriseId:null}}}async function N(a,b={},c=null,d=null,f="codebuddy"){let g=b?.authMode==="generated-api-key",h=a||d,i=a?"oauth":d?"api-key":null;if(!h)return{plan:"CodeBuddy",message:"CodeBuddy upstream quota is unavailable because no valid IDE OAuth token or API key is stored.",quotas:{},trackingMode:"unavailable"};try{let a,j,{uid:k,enterpriseId:l}=await M(h,b,c,f),m=await (0,e.proxyAwareFetch)(function(a={},b="codebuddy"){let c=a?.domain||a?.rawAuth?.domain||("codebuddy-cn"===b?"www.codebuddy.cn":"www.codebuddy.ai");return`https://${c}/v2/billing/meter/get-user-resource`}(b,f),{method:"POST",headers:function(a,b={},c=null,d=null,e=null){let f={Authorization:`Bearer ${a}`,Accept:"application/json, text/plain, */*","Accept-Language":"zh-CN,zh;q=0.9","Content-Type":"application/json","X-Domain":b?.domain||b?.rawAuth?.domain||"www.codebuddy.ai"};return e&&(f["X-Api-Key"]=e),c&&(f["X-User-Id"]=c),d&&(f["X-Enterprise-Id"]=d,f["X-Tenant-Id"]=d),f}(h,b,k,l,d),body:JSON.stringify((a=new Date,(j=new Date(a)).setFullYear(j.getFullYear()+101),{PageNumber:1,PageSize:200,ProductCode:"p_tcaca",Status:[0,3],PackageEndTimeRangeBegin:P(a),PackageEndTimeRangeEnd:P(j)}))},c),n=await m.text(),o=null;try{o=n?JSON.parse(n):null}catch{o=null}if(401===m.status||403===m.status){if("oauth"===i)return{plan:"CodeBuddy",message:`CodeBuddy IDE OAuth token was rejected (${m.status}). Upstream quota is unavailable; use ZevaiRouter Usage for local request and token tracking.`,quotas:{},authMode:"oauth-rejected",trackingMode:"local-router"};return{plan:"CodeBuddy",message:"CodeBuddy chat key active. Upstream quota is unavailable without a valid IDE OAuth token; use ZevaiRouter Usage for local request and token tracking.",quotas:{},authMode:g?"generated-api-key":"api-key",trackingMode:"local-router"}}if(!m.ok){let a=408===m.status||425===m.status||429===m.status||m.status>=500;return{plan:"CodeBuddy",message:`CodeBuddy quota endpoint returned ${m.status}.`,quotas:{},...a?{quotaFetchFailed:!0}:{}}}return{...function(a){let b=a?.data?.Response?.Data||a?.Response?.Data||a?.data||a||{},c=Array.isArray(b?.Accounts)?b.Accounts:Array.isArray(b?.accounts)?b.accounts:[];if(0===c.length)return{plan:"CodeBuddy",message:"CodeBuddy connected. No quota records were returned.",quotas:{}};let d=a=>{let b=O(a.CycleEndTime);return b?new Date(b).getTime():1/0},e=a=>{let b=d(a),c=Number(a.DeductionEndTime);return Number.isFinite(b)&&Number.isFinite(c)&&c-b>1728e5},f=(a,b)=>d(a)-d(b),g=c.filter(e).sort(f),h=c.filter(a=>!e(a)).sort(f),i={},j=!1,k=(a,b,{recurring:c})=>{var d,e;let f=function(a,{useCycle:b=!0}={}){let c=function(a,b,c){return c?a||b:a&&b?a.precision!==b.precision?a.precision>b.precision?a:b:Math.abs(a.values.total-b.values.total)>=1e-9||Math.abs(a.values.used-b.values.used)>=1e-9||Math.abs(a.values.remaining-b.values.remaining)>=1e-9?a:b:b||a}(Q(a,"Cycle"),Q(a,""),b);return c?{...c.values,resetAt:O(a.CycleEndTime||a.DeductionEndTime||a.ExpiredTime)}:null}(b,{useCycle:c});f&&((b.PackageCode===K.proMon||b.PackageCode===K.proYear)&&(j=!0),i[a]||(i[a]={used:0,total:0,remaining:0,resetAt:null,unit:"credits",unlimited:!1,recurring:c}),i[a].used+=f.used,i[a].total+=f.total,i[a].remaining+=f.remaining,i[a].resetAt=(d=i[a].resetAt,e=f.resetAt,d?e&&new Date(e).getTime()<new Date(d).getTime()?e:d:e||null),i[a].recurring=i[a].recurring&&c)};for(let a of g)k("Monthly Credits",a,{recurring:!0});for(let a of h)k("Bonus Credits",a,{recurring:!1});if(h.length>0&&i["Bonus Credits"]&&(i["Bonus Credits"].packCount=h.length),0===Object.keys(i).length)for(let a of c){if(!a||"object"!=typeof a)continue;let b=function(a){switch(a){case K.free:case K.freeMon:case K.proMon:case K.proYear:return"Monthly Credits";case K.gift:return"Gift Credits";case K.extra:return"Extra Credits";case K.activity:return"Activity Credits";default:return a?"Other Credits":null}}(a.PackageCode)||"Other Credits",c="Activity Credits"!==b&&"Gift Credits"!==b;k(c?"Monthly Credits":"Bonus Credits",a,{recurring:c})}if(0===Object.keys(i).length)return{plan:j?"Pro":"Free",message:"CodeBuddy connected. Unable to extract quota values.",quotas:{}};for(let a of Object.values(i))a.remainingPercentage=a.total>0?Math.max(0,Math.min(100,a.remaining/a.total*100)):0;return{plan:j?"Pro":"Free",quotas:i}}(o),authMode:i}}catch(a){return{plan:"CodeBuddy",message:`CodeBuddy connected. Unable to fetch quota: ${a.message}`,quotas:{},quotaFetchFailed:!0}}}function O(a){if(!a)return null;try{if(a instanceof Date)return a.toISOString();if("number"==typeof a)return new Date(a<1e12?1e3*a:a).toISOString();if("string"==typeof a){if(/^\d+$/.test(a)){let b=Number(a);return new Date(b<1e12?1e3*b:b).toISOString()}return new Date(a).toISOString()}return null}catch(b){return console.warn(`Failed to parse reset time: ${a}`,b),null}}function P(a){let b=a=>String(a).padStart(2,"0");return`${a.getFullYear()}-${b(a.getMonth()+1)}-${b(a.getDate())} ${b(a.getHours())}:${b(a.getMinutes())}:${b(a.getSeconds())}`}function Q(a,b){let c=R(a[`${b}CapacitySizePrecise`]),d=c??R(a[`${b}CapacitySize`]),e=R(a[`${b}CapacityUsedPrecise`]),f=R(a[`${b}CapacityRemainPrecise`]),g=e??(null===f?R(a[`${b}CapacityUsed`]):null),h=f??R(a[`${b}CapacityRemain`]);if(null===d||null===g&&null===h)return null;let i=Math.max(0,d),j=null!==g?Math.min(i,Math.max(0,g)):Math.max(0,i-Math.min(i,Math.max(0,h))),k=Math.max(0,i-j),l=null===h?null:Math.min(i,Math.max(0,h)),m=null!==l&&1e-9>Math.abs(j+l-i)?l:k;return{values:{total:i,used:j,remaining:m},precision:+(null!==c)+2*(null!==e||null!==f)}}function R(...a){for(let b of a){if(null==b||""===b)continue;let a=Number(b);if(Number.isFinite(a))return a}return null}async function S(a,b,c=null){try{if(!a)throw Error("No GitHub access token available. Please re-authorize the connection.");let b=await (0,e.proxyAwareFetch)("https://api.github.com/copilot_internal/user",{headers:{Authorization:`token ${a}`,Accept:"application/json","X-GitHub-Api-Version":"2022-11-28","User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.100.0","Editor-Plugin-Version":"copilot-chat/0.26.7"}},c);if(!b.ok){let a=await b.text();throw Error(`GitHub API error: ${a}`)}let d=await b.json();if(d.quota_snapshots){let a=d.quota_snapshots,b=O(d.quota_reset_date);return{plan:d.copilot_plan,resetDate:d.quota_reset_date,quotas:{chat:{...T(a.chat),resetAt:b},completions:{...T(a.completions),resetAt:b},premium_interactions:{...T(a.premium_interactions),resetAt:b}}}}if(d.monthly_quotas||d.limited_user_quotas){let a=d.monthly_quotas||{},b=d.limited_user_quotas||{},c=O(d.limited_user_reset_date);return{plan:d.copilot_plan||d.access_type_sku,resetDate:d.limited_user_reset_date,quotas:{chat:{used:b.chat||0,total:a.chat||0,unlimited:!1,resetAt:c},completions:{used:b.completions||0,total:a.completions||0,unlimited:!1,resetAt:c}}}}return{message:"GitHub Copilot connected. Unable to parse quota data."}}catch(a){throw Error(`Failed to fetch GitHub usage: ${a.message}`)}}function T(a){return a?{used:a.entitlement-a.remaining,total:a.entitlement,remaining:a.remaining,unlimited:a.unlimited||!1}:{used:0,total:0,unlimited:!0}}async function U(a,b,c=null){if(!a)return{plan:"Free",message:"Gemini CLI access token not available."};try{let d,f=V(b?.projectId),g="Free";if(!f){let b=await W(a,c);f=V(b?.cloudaicompanionProject),g=b?.currentTier?.name||g}if(!f)return{plan:g,message:"Gemini CLI project ID not available. Reconnect Gemini CLI, or configure a Google Cloud project with Gemini Code Assist access before checking quota."};let h=new AbortController,i=setTimeout(()=>h.abort(),1e4);try{d=await (0,e.proxyAwareFetch)("https://cloudcode-pa.googleapis.com/v1internal:retrieveUserQuota",{method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json"},body:JSON.stringify({project:f}),signal:h.signal},c)}finally{clearTimeout(i)}if(!d.ok)return{plan:g,message:`Gemini CLI quota error (${d.status}).`};let j=await d.json(),k={};if(Array.isArray(j.buckets))for(let a of j.buckets){if(!a.modelId||null==a.remainingFraction)continue;let b=Number(a.remainingFraction)||0,c=Math.round(1e3*b),d=Math.max(0,1e3-c);k[a.modelId]={used:d,total:1e3,resetAt:O(a.resetTime),remainingPercentage:100*b,unlimited:!1}}return{plan:g,quotas:k}}catch(a){return{message:`Gemini CLI error: ${a.message}`}}}function V(a){return"string"==typeof a?a.trim()||null:a&&"object"==typeof a&&"string"==typeof a.id&&a.id.trim()||null}async function W(a,b=null){let c=new AbortController,f=setTimeout(()=>c.abort(),1e4);try{let f=await (0,e.proxyAwareFetch)("https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",{method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json"},body:JSON.stringify({metadata:d.Cn}),signal:c.signal},b);if(!f.ok)return null;return await f.json()}catch{return null}finally{clearTimeout(f)}}async function X(a,b,c,d){let f=null;for(let g of H.quotaApiHosts){let h=new AbortController,i=setTimeout(()=>h.abort(),1e4);try{let i=await (0,e.proxyAwareFetch)(`${g}${a}`,{method:"POST",headers:{Authorization:`Bearer ${b}`,"User-Agent":H.quotaUserAgent,"Content-Type":"application/json","x-request-source":"local"},body:JSON.stringify(c||{}),signal:h.signal},d);if(i.ok||401===i.status||403===i.status)return{response:i,host:g};f=Error(`Antigravity API error: ${i.status}`)}catch(a){f=a}finally{clearTimeout(i)}}if(f)throw f;throw Error("Antigravity API unavailable")}async function Y(a,b,c=null){try{let d,e=V(b?.projectId),f=await $(a,c),g=e||V(f?.cloudaicompanionProject),h=String(f?.paidTier?.id||"").toLowerCase(),i=!h||"free-tier"===h,j=async(b,d={})=>{let e=await E(a,g,c),f=Object.keys(e).length>0;return{...b,quotas:i&&f?e:{...d,...e}}};try{d=await X(H.fetchAvailableModelsPath,a,g?{project:g}:{},c)}catch(a){return await j({message:`Antigravity quota unavailable: ${a.message}. Chat may still work.`})}let k=d.response;if(401===k.status){let a=await Z(b,c);if(a)return{accountDead:!0,message:`Antigravity account ${a}. Reconnect won't help — recreate the account.`,quotas:{}};return await j({message:"Antigravity quota API authentication expired. Chat may still work."})}if(403===k.status)return await j({message:"Antigravity quota API access forbidden (tier may not expose quota). Chat may still work."});if(!k.ok)throw Error(`Antigravity API error: ${k.status}`);let l=await k.json(),m=new Map;try{let b=await X(H.retrieveUserQuotaPath,a,g?{project:g}:{},c);if(b.response.ok){let a=await b.response.json();if(Array.isArray(a.buckets))for(let b of a.buckets){let a=String(b.modelId||"").trim();a&&m.set(a,b)}}}catch{}let n={};if(l.models)for(let[a,b]of Object.entries(l.models)){if(b.isInternal||!I.includes(a))continue;let c=m.get(a),d=c||b.quotaInfo;if(!d)continue;let e=Number(d.remainingFraction)||0,f=100*e,g=Math.round(1e3*e),h=Math.max(0,1e3-g);n[a]={used:h,total:1e3,resetAt:O(d.resetTime),remainingPercentage:f,unlimited:!1,displayName:b.displayName||a,quotaSource:c?"retrieveUserQuota":"fetchAvailableModels"}}let o=await j({},n);return{plan:f?.paidTier?.name||f?.currentTier?.name||"Unknown",...o,subscriptionInfo:f}}catch(a){return console.error("[Antigravity Usage] Error:",a.message,a.cause),{message:`Antigravity error: ${a.message}`}}}async function Z(a,b=null){let c=a?.refreshToken;if(!c)return null;try{let a,d=new AbortController,f=setTimeout(()=>d.abort(),1e4);try{a=await (0,e.proxyAwareFetch)(H.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:H.clientId,client_secret:H.clientSecret,refresh_token:c,grant_type:"refresh_token"}),signal:d.signal},b)}finally{clearTimeout(f)}if(a.ok)return null;let g=await a.json().catch(()=>({}));if("invalid_grant"===g.error){let a=(g.error_description||"").toLowerCase();if(a.includes("deleted"))return"has been deleted";if(a.includes("disabled")||a.includes("suspend"))return"is disabled/suspended";return"authorization was revoked"}return null}catch{return null}}async function $(a,b=null){let c=new AbortController,f=setTimeout(()=>c.abort(),1e4);try{let f=await (0,e.proxyAwareFetch)(H.loadProjectApiUrl,{method:"POST",headers:{Authorization:`Bearer ${a}`,"User-Agent":H.userAgent,"Content-Type":"application/json","x-request-source":"local"},body:JSON.stringify({metadata:d.Cn,mode:1}),signal:c.signal},b);if(!f.ok)return null;return await f.json()}catch(a){return console.error("[Antigravity Subscription] Error:",a.message),null}finally{clearTimeout(f)}}async function _(a,b=null){try{let c=await (0,e.proxyAwareFetch)("https://api.anthropic.com/api/oauth/usage",{method:"GET",headers:{Authorization:`Bearer ${a}`,"anthropic-beta":"oauth-2025-04-20","anthropic-version":J}},b);if(c.ok){let a=await c.json(),b={},d=a=>a&&"object"==typeof a&&"number"==typeof a.utilization,e=a=>{let b=a.utilization,c=Math.max(0,100-b);return{used:b,total:100,remaining:c,remainingPercentage:c,resetAt:O(a.resets_at),unlimited:!1}};for(let[c,f]of(d(a.five_hour)&&(b["session (5h)"]=e(a.five_hour)),d(a.seven_day)&&(b["weekly (7d)"]=e(a.seven_day)),Object.entries(a)))if(c.startsWith("seven_day_")&&"seven_day"!==c&&d(f)){let a=c.replace("seven_day_","");b[`weekly ${a} (7d)`]=e(f)}return{plan:"Claude Code",extraUsage:a.extra_usage??null,quotas:b}}return console.warn(`[Claude Usage] OAuth endpoint returned ${c.status}, falling back to legacy`),await aa(a,b)}catch(a){return{message:`Claude connected. Unable to fetch usage: ${a.message}`}}}async function aa(a,b=null){try{let c=await (0,e.proxyAwareFetch)("https://api.anthropic.com/v1/settings",{method:"GET",headers:{Authorization:`Bearer ${a}`,"anthropic-version":J}},b);if(c.ok){let d=await c.json();if(d.organization_id){let c=await (0,e.proxyAwareFetch)("https://api.anthropic.com/v1/organizations/{org_id}/usage".replace("{org_id}",d.organization_id),{method:"GET",headers:{Authorization:`Bearer ${a}`,"anthropic-version":J}},b);if(c.ok){let a=await c.json();return{plan:d.plan||"Unknown",organization:d.organization_name,quotas:a}}}return{plan:d.plan||"Unknown",organization:d.organization_name,message:"Claude connected. Usage details require admin access."}}return{message:"Claude connected. Usage API requires admin permissions."}}catch(a){return{message:`Claude connected. Unable to fetch usage: ${a.message}`}}}function ab(a,b=0){if("number"==typeof a&&Number.isFinite(a))return a;if("string"==typeof a&&a.trim()){let b=Number(a);if(Number.isFinite(b))return b}return b}function ac(a){if(!a)return null;let b=a instanceof Date?a:new Date("number"==typeof a&&a<1e12?1e3*a:a);return Number.isFinite(b.getTime())?b.toISOString():null}function ad(a){return!a||"object"!=typeof a||Array.isArray(a)?null:a.rate_limit&&"object"==typeof a.rate_limit?a.rate_limit:a}function ae(a,b){let c=ab(a?.limit_window_seconds??a?.limitWindowSeconds??a?.window_seconds??a?.windowSeconds,null);return null===c||c<=0?b:c<=86400?"session":c<=1209600?"weekly":c<=3888e3?"monthly":b}function af(a){let b=Math.max(0,Math.min(100,ab(a?.used_percent??a?.percent_used,0)));return{used:b,total:100,remaining:Math.max(0,100-b),resetAt:O(a?.reset_at??a?.resets_at??a?.resetAt??null),unlimited:!1}}function ag(a,b,c){let d=ad(c);if(!d)return!1;let e=d.primary_window||d.primary||c.primary_window||c.primary,f=d.secondary_window||d.secondary||c.secondary_window||c.secondary,g=!1;if(e){let c=ae(e,"session");a[b?`${b}_${c}`:c]=af(e),g=!0}if(f){let c=ae(f,"weekly");a[b?`${b}_${c}`:c]=af(f),g=!0}return g}async function ah(a,b=null){try{let c=await (0,e.proxyAwareFetch)("https://chatgpt.com/backend-api/wham/usage",{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}},b);if(!c.ok)return{message:`Codex connected. Usage API temporarily unavailable (${c.status}).`};let d=await c.json(),f=d.rate_limit||d.rate_limits||d.rate_limits_by_limit_id?.codex||{},g=function(a){if(a.code_review_rate_limit||a.review_rate_limit)return a.code_review_rate_limit||a.review_rate_limit;let b=a.rate_limits_by_limit_id;return b&&"object"==typeof b&&!Array.isArray(b)?b.code_review||b.codex_review||b.review||null:(Array.isArray(a.additional_rate_limits)?a.additional_rate_limits:[]).find(a=>{let b=String(a?.limit_name||a?.metered_feature||a?.id||"").toLowerCase();return"code_review"===b||"codex_review"===b||"review"===b||b.includes("review")})||null}(d),h=Math.max(0,ab(d.rate_limit_reset_credits?.available_count,0)),i={};return ag(i,"",f),ag(i,"review",g),{plan:d.plan_type||d.summary?.plan||"unknown",limitReached:ad(f)?.limit_reached||!1,reviewLimitReached:ad(g)?.limit_reached||!1,resetCredits:{availableCount:h},quotas:i}}catch(a){throw Error(`Failed to fetch Codex usage: ${a.message}`)}}async function ai(a,b=null,c=null){if(!a)throw Error("No Codex access token available. Please re-authorize the connection.");let d={Authorization:`Bearer ${a}`,Accept:"application/json","OpenAI-Beta":"codex-1",originator:"codex_cli_rs"},f=c?.workspaceId||c?.accountId||c?.chatgptAccountId||null;f&&(d["ChatGPT-Account-ID"]=f);let g=await (0,e.proxyAwareFetch)("https://chatgpt.com/backend-api/wham/rate-limit-reset-credits",{method:"GET",headers:d},b),h=await g.json().catch(()=>null);if(!g.ok)throw Error(h?.message||h?.error||h?.detail||`Codex reset credits API unavailable (${g.status}).`);let i=Array.isArray(h?.credits)?h.credits:[];return{availableCount:Math.max(0,ab(h?.available_count??h?.availableCount,0)),credits:i.map(a=>({status:String(a?.status||"unknown"),grantedAt:ac(a?.granted_at??a?.grantedAt),expiresAt:ac(a?.expires_at??a?.expiresAt)}))}}async function aj(a,b,c=null){let d;if(!a)throw Error("No Codex access token available. Please re-authorize the connection.");if(!b||"string"!=typeof b)throw Error("A redeem request id is required to consume a Codex reset credit.");let f=null;try{d=await (0,e.proxyAwareFetch)("https://chatgpt.com/backend-api/wham/rate-limit-reset-credits/consume",{method:"POST",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({redeem_request_id:b})},c);let g=await d.text();f=g?JSON.parse(g):null}catch(a){throw Error(`Failed to consume Codex reset credit: ${a.message}`)}let g=f?.code||null,h=ab(f?.windows_reset,0);return{ok:d.ok&&("reset"===g||h>0),noCredit:d.ok&&"no_credit"===g,status:d.status,code:g,windowsReset:h,message:f?.message||null,raw:f}}async function ak(a,b,c=null){let d=b?.authMethod||"builder-id",f="api_key"===d,g={...f?{tokentype:"API_KEY"}:{},..."external_idp"===d?{TokenType:"EXTERNAL_IDP"}:{}},h=f?b?.profileArn||"":b?.profileArn||"arn:aws:codewhisperer:us-east-1:638616132270:profile/AAAACCCCXXXX",i=new URLSearchParams({isEmailRequired:"true",origin:"AI_EDITOR",resourceType:"AGENTIC_REQUEST"}),j=!1,k=[];for(let b of[{name:"codewhisperer-get",run:async()=>(0,e.proxyAwareFetch)(`https://codewhisperer.us-east-1.amazonaws.com/getUsageLimits?${i.toString()}`,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","x-amz-user-agent":"aws-sdk-js/1.0.0 KiroIDE-1.0.138","user-agent":"aws-sdk-js/1.0.0 KiroIDE-1.0.138",...g}},c)},{name:"codewhisperer-post",run:async()=>(0,e.proxyAwareFetch)("https://codewhisperer.us-east-1.amazonaws.com",{method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/x-amz-json-1.0","x-amz-target":"AmazonCodeWhispererService.GetUsageLimits",Accept:"application/json",...g},body:JSON.stringify({origin:"AI_EDITOR",...h?{profileArn:h}:{},resourceType:"AGENTIC_REQUEST"})},c)},{name:"q-get",run:async()=>{let b=new URLSearchParams({origin:"AI_EDITOR",...h?{profileArn:h}:{},resourceType:"AGENTIC_REQUEST"});return(0,e.proxyAwareFetch)(`https://q.us-east-1.amazonaws.com/getUsageLimits?${b}`,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json",...g}},c)}}])try{let a=await b.run();if(!a.ok){let c=await a.text().catch(()=>"");(401===a.status||403===a.status)&&(j=!0),k.push(`${b.name}:${a.status}${c?`:${c}`:""}`);continue}let c=await a.json();return function(a){let b=a.usageBreakdownList||[],c={},d=O(a.nextDateReset||a.resetDate);return b.forEach(a=>{let b=a.resourceType?.toLowerCase()||"unknown",e=a.currentUsageWithPrecision||0,f=a.usageLimitWithPrecision||0;if(c[b]={used:e,total:f,remaining:f-e,resetAt:d,unlimited:!1},a.freeTrialInfo){let e=a.freeTrialInfo.currentUsageWithPrecision||0,f=a.freeTrialInfo.usageLimitWithPrecision||0;c[`${b}_freetrial`]={used:e,total:f,remaining:f-e,resetAt:O(a.freeTrialInfo.freeTrialExpiry||d),unlimited:!1}}}),{plan:a.subscriptionInfo?.subscriptionTitle||"Kiro",quotas:c}}(c)}catch(a){k.push(`${b.name}:${a.message}`)}return j&&"idc"===d?{message:"Kiro quota API is unavailable for the current AWS IAM Identity Center session. Chat may still work. If this persists after renewing your session, reconnect Kiro.",quotas:{}}:j&&("google"===d||"github"===d)?{message:"Kiro quota API authentication expired. Chat may still work.",quotas:{}}:j?{message:"Kiro quota API rejected the current token. Chat may still work.",quotas:{}}:{message:k.length>0?`Unable to fetch Kiro usage right now. (${k[k.length-1]})`:"Unable to fetch Kiro usage right now.",quotas:{}}}async function al(a,b){try{if(!b?.resourceUrl)return{message:"Qwen connected. No resource URL available."};return{message:"Qwen connected. Usage tracked per request."}}catch(a){return{message:"Unable to fetch Qwen usage."}}}async function am(a){try{return{message:"iFlow connected. Usage tracked per request."}}catch(a){return{message:"Unable to fetch iFlow usage."}}}async function an(a,b,c=null){if(!a)return{message:"GLM API key not available."};let d=F["glm-cn"===b?"china":"international"];try{let b=await (0,e.proxyAwareFetch)(d,{headers:{Authorization:`Bearer ${a}`,Accept:"application/json"}},c);if(!b.ok){if(401===b.status)return{message:"GLM API key invalid or expired."};return{message:`GLM quota API error (${b.status}).`}}let f=await b.json(),g=f?.data&&"object"==typeof f.data?f.data:{},h=Array.isArray(g.limits)?g.limits:[],i={};for(let a of h){if(!a||"TOKENS_LIMIT"!==a.type)continue;let b=Number(a.percentage)||0,c=Number(a.nextResetTime)||0,d=Math.max(0,100-b);i.session={used:b,total:100,remaining:d,remainingPercentage:d,resetAt:c>0?new Date(c).toISOString():null,unlimited:!1}}let j="string"==typeof g.level?g.level:"";return{plan:j?j.charAt(0).toUpperCase()+j.slice(1).toLowerCase():"Unknown",quotas:i}}catch(a){return{message:`GLM error: ${a.message}`}}}function ao(a,b,c){return a&&"object"==typeof a?a[b]??a[c]??null:null}function ap(a,b,c){if(!a||"object"!=typeof a)return null;let d=a[b]??a[c];if(null==d)return null;let e=Number(d);return Number.isFinite(e)?Math.max(0,Math.min(100,e)):null}function aq(a){return Math.max(0,Number(ao(a,"current_interval_total_count","currentIntervalTotalCount"))||0)}function ar(a){return Math.max(0,Number(ao(a,"current_weekly_total_count","currentWeeklyTotalCount"))||0)}function as(a){return!!(aq(a)>0||ar(a)>0)||null!==ap(a,"current_interval_remaining_percent","currentIntervalRemainingPercent")||null!==ap(a,"current_weekly_remaining_percent","currentWeeklyRemainingPercent")}function at(a,b,c,d,e,f,g,h,i,j){let k=d(c),l=ap(c,g,h);if(k<=0&&null===l)return;let m=Math.max(0,Number(ao(c,e,f))||0),n=k,o=m;k<=0&&(n=100,o=j?Math.round(l/100*n):Math.round(n*(1-l/100))),a[b]=function(a,b,c,d,e=null){var f,g,h;let i=Math.max(0,a),j=d?Math.max(i-b,0):Math.min(Math.max(0,b),i),k=Math.max(i-j,0),l=(f=e,g=k,h=i,null!=f&&Number.isFinite(f)?Math.max(0,Math.min(100,f)):h>0?Math.max(0,Math.min(100,g/h*100)):0);return{used:j,total:i,remaining:k,remainingPercentage:l,resetAt:c,unlimited:!1}}(n,o,function(a,b,c,d,e,f){let g=Number(ao(a,c,d))||0;return g>0?new Date(b+g).toISOString():O(ao(a,e,f))}(c,...i),j,l)}async function au(a,b,c=null){if(!a)return{message:"MiniMax API key not available."};let d=G[b]||[],f="";for(let b=0;b<d.length;b+=1){let g=d[b],h=b<d.length-1;try{let b=await (0,e.proxyAwareFetch)(g,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","Content-Type":"application/json"}},c),d=await b.text(),i={};if(d)try{i=JSON.parse(d)}catch{i={}}let j=(i?.base_resp??i?.baseResp)||{},k=Number(j.status_code??j.statusCode)||0,l=String(j.status_msg??j.statusMsg??"").trim(),m=`${l} ${d}`.trim(),n=/token plan|coding plan|invalid api key|invalid key|unauthorized|inactive/i;if(401===b.status||403===b.status||1004===k||n.test(m))return{message:"MiniMax API key invalid or inactive. Use an active Token/Coding Plan key."};if(!b.ok){if(f=`MiniMax usage endpoint error (${b.status})`,(404===b.status||405===b.status||b.status>=500)&&h)continue;return{message:`MiniMax connected. ${f}`}}if(0!==k)return{message:`MiniMax connected. ${l||"Upstream quota API error"}`};let o=i?.model_remains??i?.modelRemains,p=(Array.isArray(o)?o:[]).filter(as);if(0===p.length)return{message:"MiniMax connected. No quota data was returned."};let q=Date.now(),r=g.includes("/coding_plan/remains"),s={};for(let a of p){let b=function(a){let b=String(ao(a,"model_name","modelName")||"").trim();return b?"MiniMax-M*"===b||"general"===b?"M-series":b.replace(/[_-]+/g," ").replace(/\s+/g," ").trim().replace(/\b\w/g,a=>a.toUpperCase()).replace(/\bTo\b/g,"to").replace(/\bTts\b/g,"TTS").replace(/\bHd\b/g,"HD"):"MiniMax"}(a);at(s,`${b} (5h)`,a,aq,"current_interval_usage_count","currentIntervalUsageCount","current_interval_remaining_percent","currentIntervalRemainingPercent",[q,"remains_time","remainsTime","end_time","endTime"],r),at(s,`${b} (7d)`,a,ar,"current_weekly_usage_count","currentWeeklyUsageCount","current_weekly_remaining_percent","currentWeeklyRemainingPercent",[q,"weekly_remains_time","weeklyRemainsTime","weekly_end_time","weeklyEndTime"],r)}if(0===Object.keys(s).length)return{message:"MiniMax connected. Unable to extract quota usage."};return{quotas:s}}catch(a){if(f=a.message,!h)break}}return{message:f?`MiniMax connected. Unable to fetch usage: ${f}`:"MiniMax connected. Unable to fetch usage."}}async function av(a,b=null,d=null){if(!a)return{message:"AutoClaw usage unavailable: no access token"};try{let{AUTOCLAW_WALLET_ENDPOINT:f,buildAutoClawWalletHeaders:g}=await Promise.resolve().then(c.bind(c,42693)),h=await (0,e.proxyAwareFetch)(f,{method:"GET",headers:g(a)},b);if(!h.ok)return{message:`AutoClaw connected. Usage fetch returned ${h.status}.`};let i=await h.json().catch(()=>null);if(!i||0!==i.code)return{message:"AutoClaw connected. Unable to read balance."};let j=Number(i.data?.total_balance),k=Number.isFinite(j)?j:0,l=k;try{if(d?.id){let{getQuotaSnapshot:a}=await Promise.resolve().then(c.bind(c,89718)),b=await a(d.id),e=Number(b?.usage?.quotas?.points?.total)||0,f=Number(b?.usage?.quotas?.points?.remaining);l=Math.max(e,k,Number.isFinite(f)?f:0)}}catch{}let m=Math.max(0,l-k);return{quotas:{points:{total:l,used:m,remaining:k,unit:"points",resetAt:null}},totalUsagePercentage:l>0?Math.round(m/l*100):0,isQuotaExceeded:k<=0}}catch(a){return{message:`AutoClaw connected. Unable to fetch balance: ${a.message}`}}}async function aw(a,b=null,c=null){let d=String(a||"").trim(),f=String(b?.accountId||"").trim();if(!d)return{message:"Cloudflare API token not available."};if(!f)return{message:"Cloudflare account ID missing. Re-import or edit the connection."};try{let a=await (0,e.proxyAwareFetch)("https://api.cloudflare.com/client/v4/user/tokens/verify",{method:"GET",headers:{Authorization:`Bearer ${d}`,Accept:"application/json"}},c);if(401===a.status||403===a.status)return{message:"Cloudflare API token invalid or expired. Re-import the account."};if(!a.ok){let b=await a.text().catch(()=>"");return{message:`Cloudflare token verify failed (${a.status})${b?`: ${b.slice(0,160)}`:""}`}}let g=await a.json().catch(()=>null),h=g?.result?.status||(g?.success?"active":"unknown"),i=b?.accountName||"";try{let a=await (0,e.proxyAwareFetch)(`https://api.cloudflare.com/client/v4/accounts/${encodeURIComponent(f)}`,{method:"GET",headers:{Authorization:`Bearer ${d}`,Accept:"application/json"}},c);if(a?.ok){let b=await a.json().catch(()=>null);i=b?.result?.name||i}}catch{}let j=f.length>10?`${f.slice(0,8)}…`:f;return{plan:i?`Workers AI \xb7 ${i}`:`Workers AI \xb7 ${j}`,quotas:{"Workers AI":{used:0,total:0,remainingPercentage:100,resetAt:null,unlimited:!0}},message:h&&"active"!==h?`Token status: ${h}. Cloudflare does not publish remaining free-tier neurons via API.`:"Token valid. CF does not expose remaining free-tier neurons via API — model rate limits still apply."}}catch(a){return{message:`Cloudflare usage error: ${a.message}`}}}function ax(a,b=0){return null==a?b:"object"==typeof a&&!Array.isArray(a)&&"val"in a?ab(a.val,b):ab(a,b)}function ay({used:a,total:b,resetAt:c,unlimited:d=!1}){let e=Math.max(0,ab(b,0)),f=Math.max(0,ab(a,0));if(d||0===e)return{used:f,total:0,remainingPercentage:100*!!d,resetAt:c||null,unlimited:!0};let g=Math.max(0,e-f);return{used:f,total:e,remainingPercentage:g/e*100,resetAt:c||null,unlimited:!1}}async function az(a,b=null,c=null){if(!a)return{message:"Grok CLI access token not available."};let d=function(a,b={}){let c=b||{},d={Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":f.f,"x-xai-token-auth":"xai-grok-cli","x-grok-client-identifier":"grok-pager","x-grok-client-version":f.u},e=c.email,g=c.userId||c.principalId;return e&&(d["x-email"]=e),g&&(d["x-userid"]=g),d}(a,b);try{let[a,b]=await Promise.all([(0,e.proxyAwareFetch)("https://cli-chat-proxy.grok.com/v1/billing?format=credits",{method:"GET",headers:d},c),(0,e.proxyAwareFetch)("https://cli-chat-proxy.grok.com/v1/user?include=subscription",{method:"GET",headers:d},c).catch(()=>null)]);if(401===a.status||403===a.status)return{message:"Grok CLI authentication expired. Please re-authorize."};if(!a.ok){let b=await a.text().catch(()=>""),c=b?`: ${b.slice(0,200)}`:"";return{message:`Grok CLI billing API error (${a.status})${c}`}}let f=await a.json().catch(()=>null);if(!f||"object"!=typeof f)return{message:"Grok CLI billing response was not JSON."};let g=null;b?.ok&&(g=await b.json().catch(()=>null));let h=function(a,b=null){let c,d=a&&"object"==typeof a?a:{},e=d.config&&"object"==typeof d.config&&!Array.isArray(d.config)?d.config:d,f=O(e.billingPeriodEnd)||O(e.currentPeriod?.end)||O(d.billingPeriodEnd)||null,g={},h=ax(e.onDemandCap??d.onDemandCap,0/0),i=ax(e.onDemandUsed??d.onDemandUsed,0/0);if(Number.isFinite(h)&&h>0){let a=Number.isFinite(i)?Math.max(0,i):0;g["On-demand"]=ay({used:a,total:h,resetAt:f})}let j=ax(e.monthlyLimit??d.monthlyLimit,0/0),k=ax(e.used??d.used,0/0);Number.isFinite(j)&&j>0&&(g.Monthly=ay({used:Number.isFinite(k)?Math.max(0,k):0,total:j,resetAt:f}));let l=ax(e.prepaidBalance??d.prepaidBalance,0/0);return Number.isFinite(l)&&l>0&&(g.Prepaid={used:0,total:l,remainingPercentage:100,resetAt:null,unlimited:!1}),(b?.hasGrokCodeAccess===!0||e?.isUnifiedBillingUser===!0)&&(g["Grok Code"]={used:0,total:0,remainingPercentage:100,resetAt:f,unlimited:!0}),0===Object.keys(g).length&&(g.Included={used:0,total:0,remainingPercentage:100,resetAt:f,unlimited:!0}),{plan:(c="string"==typeof b?.subscriptionTier?b.subscriptionTier.trim():"")?c.replace(/[_-]+/g," ").replace(/\b\w/g,a=>a.toUpperCase()):b?.hasGrokCodeAccess===!0?"Grok Code":(e?.isUnifiedBillingUser,"Grok Build"),quotas:g,periodEnd:f}}(f,g);if(!h.quotas||0===Object.keys(h.quotas).length)return{plan:h.plan,message:"Grok Build connected, but no credit allotment was returned. Free promo may be exhausted — upgrade at https://grok.com/supergrok or add credits at https://grok.com/?_s=usage.",quotas:{}};return{plan:h.plan,quotas:h.quotas}}catch(a){return{message:`Grok CLI usage error: ${a.message}`}}}function aA(a,b=0,c=""){if(!a||"object"!=typeof a||b>4)return null;let d=[];for(let[e,f]of Object.entries(a)){let a=e.toLowerCase();if(f&&"object"==typeof f&&!Array.isArray(f)){let a=aA(f,b+1,c?`${c}.${e}`:e);a&&d.push(a);continue}if("number"!=typeof f&&"string"!=typeof f)continue;let g=ab(f,0/0);Number.isFinite(g)&&/(remaining|balance|credit|quota|limit|allowance|cap|used|spent|consumed)/i.test(a)&&d.push({key:c?`${c}.${e}`:e,name:e,value:g,kind:a})}return d.length?d:null}function aB(a){if(!a?.length)return null;let b=b=>a.find(a=>b.test(a.kind)||b.test(a.name)),c=b(/remaining|balance|credit(?!s_used)/i),d=b(/limit|cap|allowance|total|quota(?!_used)/i),e=b(/used|spent|consumed/i);if(d&&Number(d.value)>0){let a=e?Math.max(0,Number(e.value)):c?Math.max(0,Number(d.value)-Number(c.value)):0,b=Math.max(0,Number(d.value)-a);return{used:a,total:Number(d.value),remainingPercentage:b/Number(d.value)*100,resetAt:null,unlimited:!1}}if(c&&Number(c.value)>=0){let a=Number(c.value);return{used:0,total:a>0?a:1,remainingPercentage:100*(a>0),resetAt:null,unlimited:!1}}return null}async function aC(a,b="cline",d=null){try{let{buildClineHeaders:f,resolveClineCredential:g}=await Promise.resolve().then(c.bind(c,15626)),{token:h,isApiKey:i}=g(a);if(!h)return{message:"Cline access token not available."};let j=f(h,{Accept:"application/json"},{isApiKey:i}),k=await (0,e.proxyAwareFetch)("https://api.cline.bot/api/v1/users/me",{method:"GET",headers:j},d);if(401===k.status||403===k.status)return{message:"Cline authentication expired. Please re-authorize."};if(!k.ok)return{message:`Cline user API error (${k.status})`};let l=await k.json().catch(()=>null);if(!l||"object"!=typeof l)return{message:"Cline user response was not JSON."};let m=l.data&&"object"==typeof l.data?l.data:l,n=m.email||m.user?.email||null,o=m.plan||m.subscription?.plan||m.subscription?.name||m.organization?.plan||m.organizations?.[0]?.plan||("clinepass"===b?"ClinePass":"Cline"),p=aA(m)||[],q=aB(p),r={};q&&(r.Credits=q);let s=m.organizations||m.organization;if(!Object.keys(r).length&&s&&(r.Account={used:0,total:0,remainingPercentage:100,resetAt:null,unlimited:!0}),!Object.keys(r).length)return{plan:"string"==typeof o?o:"Cline",email:n,message:"Cline connected. No credit allotment was returned by the account API.",quotas:{}};return{plan:"string"==typeof o?o:"Cline",email:n,quotas:r}}catch(a){return{message:`Cline usage error: ${a.message}`}}}async function aD(a,b=null,c=null){if(!a)return{message:"Kimchi access token not available."};try{let d=await (0,e.proxyAwareFetch)("https://app.kimchi.dev/api/v1/me",{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${a}`,"User-Agent":"kimchi/0.1.50"}},c);if(401===d.status||403===d.status)return{message:"Kimchi authentication expired. Please re-authorize."};if(!d.ok)return{message:`Kimchi user API error (${d.status})`};let f=await d.json().catch(()=>null);if(!f||"object"!=typeof f)return{message:"Kimchi user response was not JSON."};let g=f.email||b?.username||null,h=f.plan||f.tier||f.subscription?.name||"Kimchi",i=aA(f)||[],j=aB(i),k={};return j?k.Credits=j:k.Account={used:0,total:0,remainingPercentage:100,resetAt:null,unlimited:!0},{plan:"string"==typeof h?h:"Kimchi",email:g,quotas:k}}catch(a){return{message:`Kimchi usage error: ${a.message}`}}}async function aE(a,b=null,c=null){if(!a)return{message:"xAI token not available."};try{let d={Authorization:`Bearer ${a}`,Accept:"application/json"},f=0,g=null,h=null;for(let a of["https://api.x.ai/v1/api-key","https://api.x.ai/v1/models"]){let b=await (0,e.proxyAwareFetch)(a,{method:"GET",headers:d},c);if(f=b.status,401===b.status||403===b.status)return{message:"xAI authentication expired. Please re-authorize or update the API key."};if(b.ok){g=await b.json().catch(()=>null),h=a;break}}if(!g)return{message:`xAI API error (${f||"unknown"})`};let i=aA(g)||[],j=aB(i),k={};j?k.Credits=j:(Array.isArray(g?.data)&&g.data.length,k.API={used:0,total:0,remainingPercentage:100,resetAt:null,unlimited:!0});let l=b?.email||null,m=g.name||g.api_key_name||g.team?.name||(h?.includes("api-key")?"xAI API Key":"xAI");return{plan:"string"==typeof m?m:"xAI",email:l,quotas:k}}catch(a){return{message:`xAI usage error: ${a.message}`}}}async function aF(a,b=null){if(!a)return{message:"Cursor access token not available."};let c=b?.plan||b?.membershipType||"Cursor",d=b?.email||null;try{let b=String(a).split(".");if(3===b.length){let a=b[1].replace(/-/g,"+").replace(/_/g,"/"),e=a+"=".repeat((4-a.length%4)%4),f=JSON.parse(Buffer.from(e,"base64").toString("utf8"));d=d||f.email||f.preferred_username||null,c=f.plan||f.subscription||f.membershipType||f.tier||c}}catch{}return{plan:"string"==typeof c?c:"Cursor",email:d,quotas:{Session:{used:0,total:0,remainingPercentage:100,resetAt:null,unlimited:!0}}}}},39326:(a,b,c)=>{c.d(b,{B:()=>h,p:()=>g});var d=c(71998);function e(a){return null==a?"":String(a).trim()}let f=new Map;function g(a,b,c){if(!a||0===a.length)return null;if(1===a.length)return a[0];if("round-robin"===b){let b=f.get(c)||{index:-1};return b.index=(b.index+1)%a.length,f.set(c,b),a[b.index]}return"random"===b?a[Math.floor(Math.random()*a.length)]:a[0]}async function h(a={}){try{let b=e(a?.proxyPoolId),c="__none__"===b?"":b,f=function(a={}){let b=a?.connectionProxyEnabled===!0;return{connectionProxyEnabled:b,connectionProxyUrl:e(a?.connectionProxyUrl),connectionNoProxy:e(a?.connectionNoProxy)}}(a);if(c){let a=await (0,d.hr)(c),b=e(a?.proxyUrl),f=e(a?.noProxy);if(a&&!0===a.isActive&&b){if("vercel"===a.type||"cloudflare"===a.type||"deno"===a.type)return{source:a.type,proxyPoolId:c,proxyPool:a,connectionProxyEnabled:!1,connectionProxyUrl:"",connectionNoProxy:f,strictProxy:!0===a.strictProxy,vercelRelayUrl:b};return{source:"pool",proxyPoolId:c,proxyPool:a,connectionProxyEnabled:!0,connectionProxyUrl:b,connectionNoProxy:f,strictProxy:!0===a.strictProxy}}}if(f.connectionProxyEnabled&&f.connectionProxyUrl)return{source:"legacy",proxyPoolId:c||null,proxyPool:null,...f};return{source:"none",proxyPoolId:c||null,proxyPool:null,...f}}catch(a){return console.error("[resolveConnectionProxyConfig] Failed to resolve proxy config:",a),{source:"error",proxyPoolId:null,proxyPool:null,connectionProxyEnabled:!1,connectionProxyUrl:"",connectionNoProxy:"",strictProxy:!1}}}},52060:(a,b,c)=>{c.d(b,{A:()=>d,C:()=>e});let d="2.178.1",e=`CLI/${d} CodeBuddy/${d}`},61188:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{NS:()=>A,dg:()=>C,qX:()=>z});var e=c(48895),f=c(89718),g=c(14760),h=c(55330),i=c(8590),j=c(93943),k=c(39326),l=c(75681),m=c(91254),n=a([e,h]);[e,h]=n.then?(await n)():n;let D=["expired","authentication","unauthorized","401","re-authorize"],E=globalThis._quotaUsageInflight??=new Map,F=new Map;function o(a,b=Date.now()){let c=F.get(a.id),d=c?.refreshToken===a.refreshToken?(c.failures||0)+1:1,e=Math.min(216e5,3e5*2**(d-1));F.set(a.id,{failures:d,retryAt:b+e,refreshToken:a.refreshToken})}function p(a){F.delete(a.id)}function q(a){return a?.provider==="codex"&&!!a.providerSpecificData?.codexRefreshBlockedAt||a?.failureClass==="reauth_required"||!!a?.quarantinedAt}function r(a){return!!a?.accessToken&&!function(a,b=Date.now()){let c=(0,j.Dz)(a);return null!==c&&c<=b}(a)}function s(a){if("codex"===a)return"Codex";let b=String(a||"provider");return b.charAt(0).toUpperCase()+b.slice(1)}function t(a){return`${s(a)} refresh token rejected; reconnect this account.`}function u(a){return String(a?.code||"invalid_refresh_token").replace(/[^a-zA-Z0-9_.:-]/g,"_").slice(0,120)||"invalid_refresh_token"}async function v(a,b){let c=new Date().toISOString(),d=u(b),e={lastError:t(a.provider),lastErrorAt:c,lastErrorType:"auth",errorCode:d,failureClass:"reauth_required"};"codex"===a.provider&&(e.providerSpecificData={...a.providerSpecificData||{},codexRefreshBlockedAt:c,codexRefreshErrorCode:d});try{return await (0,f.updateProviderConnection)(a.id,e)||{...a,...e}}catch(b){return console.warn(`[Usage] ${s(a.provider)} refresh rejection state was not persisted: ${b.message}`),{...a,...e}}}async function w(a,b){let c=b?.permanent===!0?b:(0,i.R_)({code:u(b)}),d=await v(a,c);if(r(a))return{connection:d,refreshed:!1,refreshBlocked:!0,refreshError:c};throw c}function x(a){return!!(a?.quotas&&"object"==typeof a.quotas&&Object.keys(a.quotas).length>0)}function y(a,b){return!!(a?.quotaFetchFailed===!0&&!a.accountDead&&!x(a)&&x(b?.usage))}async function z(a,b=!1,c=null){let d,e=(0,h.SB)(a.provider);if(q(a)){if(r(a))return{connection:a,refreshed:!1,refreshBlocked:!0};throw(0,i.R_)({code:a.providerSpecificData?.codexRefreshErrorCode||a.errorCode||"invalid_refresh_token"})}let g={accessToken:a.accessToken,refreshToken:a.refreshToken,idToken:a.idToken,expiresAt:a.expiresAt||a.tokenExpiresAt,lastRefreshAt:a.lastRefreshAt,connectionId:a.id,providerSpecificData:a.providerSpecificData,copilotToken:a.providerSpecificData?.copilotToken,copilotTokenExpiresAt:a.providerSpecificData?.copilotTokenExpiresAt};if(!(b||e.needsRefresh(g)))return{connection:a,refreshed:!1};if(!b&&function(a,b=Date.now()){let c=F.get(a.id);return!!c&&(c.refreshToken!==a.refreshToken?(F.delete(a.id),!1):c.retryAt>b)}(a))return{connection:a,refreshed:!1,refreshFailed:!0,refreshBackedOff:!0};try{d=await e.refreshCredentials(g,console,c)}catch(b){if(b?.permanent===!0)return p(a),w(a,b);throw b?.name!=="AbortError"&&o(a),b}if((0,i.jT)(d))return p(a),w(a,(0,i.R_)(d));if(!d){if(o(a),a.accessToken)return{connection:a,refreshed:!1,refreshFailed:!0};throw Error("Failed to refresh credentials. Please re-authorize the connection.")}p(a);let j={updatedAt:new Date().toISOString()};d.accessToken&&(j.accessToken=d.accessToken),d.refreshToken&&(j.refreshToken=d.refreshToken),d.idToken&&(j.idToken=d.idToken),d.lastRefreshAt&&(j.lastRefreshAt=d.lastRefreshAt),d.expiresIn?(j.expiresAt=new Date(Date.now()+1e3*d.expiresIn).toISOString(),j.expiresIn=d.expiresIn):d.expiresAt&&(j.expiresAt=d.expiresAt);let k={...d.providerSpecificData||{},...d.copilotToken?{copilotToken:d.copilotToken}:{},...d.copilotTokenExpiresAt?{copilotTokenExpiresAt:d.copilotTokenExpiresAt}:{}};return Object.keys(k).length>0&&(j.providerSpecificData={...a.providerSpecificData||{},...k}),await (0,f.updateProviderConnection)(a.id,j),{connection:{...a,...j,providerSpecificData:j.providerSpecificData||a.providerSpecificData},refreshed:!0}}function A(a){let b;if(!a)return!1;let c="api-key"===(b=String(a.authType||"").toLowerCase().trim())||"api_key"===b||"api key"===b?"apikey":b;return"oauth"===c||"apikey"===c&&l.jO.includes(a.provider)}async function B(a,b,c){let d,{writeCache:e=!1,force:h=!1}=b,i=await (0,f.Mc)(a);if(!i)return{error:"Connection not found",notFound:!0};if(!A(i))return{message:"Usage not available for this connection"};let j=await (0,k.B)(i.providerSpecificData),l={connectionProxyEnabled:!0===j.connectionProxyEnabled,connectionProxyUrl:j.connectionProxyUrl||"",connectionNoProxy:j.connectionNoProxy||"",vercelRelayUrl:j.vercelRelayUrl||"",strictProxy:!1},n=i,o="oauth"===n.authType,p=!1;if(o){let a;try{a=await z(n,h,l)}catch(a){if(a?.permanent===!0)return{message:t(n.provider),reauthRequired:!0,quotas:{}};throw a}n=a.connection,p=!0===a.refreshFailed}if(o&&p&&!r(n))d={message:`${s(n.provider)} credential refresh is temporarily unavailable; will retry later.`,quotaFetchFailed:!0,quotas:{}};else if(d=await (0,g.my)(n,l),o&&function(a){if(!a?.message)return!1;let b=a.message.toLowerCase();return D.some(a=>b.includes(a))}(d)&&n.refreshToken&&!q(n)&&!p)try{n=(await z(n,!0,l)).connection,d=await (0,g.my)(n,l)}catch(a){console.warn(`[Usage] ${n.provider}: force refresh failed: ${a.message}`)}if((e||c.writeCache)&&d&&!d.error)try{if("codebuddy"===n.provider||"codebuddy-cn"===n.provider){let a=null,b=await (0,f.Iu)(n.id,(b,c)=>{if(y(d,c)){var e;return e=d,a={...(0,m.pX)(c.usage,b),stale:!0,refreshError:e.message},{}}return{quotaUsage:(0,m.pX)(d,b)}});d=a||b?.quotaUsage||d}else{let a=await (0,f.getQuotaSnapshot)(n.id);y(d,a)?d={...a.usage,stale:!0,refreshError:d.message}:await (0,f.KK)(n.id,n.provider,d)}}catch(a){console.warn(`[QuotaCache] save failed for ${n.id}: ${a.message}`)}else if("codebuddy"===n.provider||"codebuddy-cn"===n.provider){let a=await (0,f.Mc)(n.id)||n;d=(0,m.pX)(d,a)}return d}async function C(a,b={}){let c=E.get(a);if(c||(c={active:null,queuedForce:null},E.set(a,c)),c.queuedForce)return b.writeCache&&(c.queuedForce.writeCache=!0),c.queuedForce.promise;if(c.active&&(!b.force||c.active.force))return b.writeCache&&(c.active.writeCache=!0),c.active.promise;let d=b=>{c.active===b&&(c.active=null),c.active||c.queuedForce||E.get(a)!==c||E.delete(a)};if(c.active){let e=c.active.promise,f={force:!0,writeCache:!0===b.writeCache,promise:null},g=()=>(c.queuedForce===f&&(c.queuedForce=null),c.active=f,B(a,{...b,force:!0},f));return f.promise=e.then(g,g).finally(()=>d(f)),c.queuedForce=f,f.promise}let e={force:!0===b.force,writeCache:!0===b.writeCache,promise:null};return c.active=e,e.promise=B(a,b,e).finally(()=>d(e)),e.promise}d()}catch(a){d(a)}})},71998:(a,b,c)=>{c.d(b,{Fh:()=>d.Fh,Iu:()=>d.Iu,Kg:()=>d.Kg,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.getModelAliases,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,fK:()=>d.fK,fv:()=>d.deleteModelAlias,getProviderConnections:()=>d.getProviderConnections,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},91254:(a,b,c)=>{c.d(b,{CG:()=>p,QN:()=>k,US:()=>o,hN:()=>j,kt:()=>i,pX:()=>q,r_:()=>n,uF:()=>m});let d="codebuddyRuntimeExhaustedAt",e="codebuddyRuntimeExhaustedCode",f="codebuddyRuntimeRejectedAt",g="codebuddyRuntimeRejectedCode";function h(a){return a?.provider==="codebuddy"||a?.provider==="codebuddy-cn"}function i(a){return h(a)&&a.providerSpecificData?.[d]||null}function j(a){return!!i(a)}function k(a,b){return{...a||{},[d]:b,[e]:14018}}function l(a){return a?.provider!=="codebuddy-cn"?null:a.providerSpecificData?.[f]||null}function m(a){return!!l(a)}function n(a,b,c=11140){return{...a||{},[f]:b,[g]:c}}function o(a){let b={...a||{}};return delete b[d],delete b[e],b}function p(a){let b=o(a);return delete b[f],delete b[g],b}function q(a,b){if(!h(b))return a;let c=l(b),d=i(b);if(!c&&!d)return a;let e=a?.billingQuotas||a?.quotas||{};if(c)return{...a||{},message:"CodeBuddy CN chat API rejected this credential (11140); billing package balance is nominal and does not prove chat access.",billingQuotas:e,runtimeStatus:"credential_rejected",chatUsable:!1,runtimeRejectedAt:c,runtimeRejectedCode:Number(b.providerSpecificData?.[g])||11140};let f=Object.fromEntries(Object.entries(e).map(([a,b])=>{let c=Number(b?.total);return[a,{...b||{},...Number.isFinite(c)?{used:c}:{},remaining:0,remainingPercentage:0}]}));return{...a||{},message:"CodeBuddy chat API reported exhausted credits (14018); billing package balance is nominal until a chat request succeeds.",billingQuotas:e,quotas:f,runtimeStatus:"exhausted",chatUsable:!1,runtimeExhausted:!0,runtimeExhaustedAt:d,runtimeExhaustedCode:14018}}}};
@@ -1 +1 @@
1
- globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/nTXWAhBIbAHi_KUM-WB33/_buildManifest.js","static/nTXWAhBIbAHi_KUM-WB33/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-b041c9a7d1b8c64f.js","static/chunks/4bd1b696-8cd12253b448cc13.js","static/chunks/3794-04350b0fcecd82e5.js","static/chunks/main-app-88e09177034d71e7.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
1
+ globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/49WrfprfANWLHDX8M34oV/_buildManifest.js","static/49WrfprfANWLHDX8M34oV/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-b041c9a7d1b8c64f.js","static/chunks/4bd1b696-8cd12253b448cc13.js","static/chunks/3794-04350b0fcecd82e5.js","static/chunks/main-app-88e09177034d71e7.js"],rootMainFilesTree:{},pages:{"/_app":[]}};