n9router 0.4.49 → 0.4.50

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 (979) hide show
  1. package/README.md +2 -0
  2. package/app/.next/BUILD_ID +1 -1
  3. package/app/.next/app-path-routes-manifest.json +19 -14
  4. package/app/.next/build-manifest.json +2 -2
  5. package/app/.next/prerender-manifest.json +3 -3
  6. package/app/.next/routes-manifest.json +32 -0
  7. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  8. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  11. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  12. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  14. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  17. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  20. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  23. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  26. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  28. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  29. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  31. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  32. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  33. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  34. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  35. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  36. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  37. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  38. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  39. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  40. package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
  41. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  42. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  43. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  44. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  45. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  46. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +5 -5
  47. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  48. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  49. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  50. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  51. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  52. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  53. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  54. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  55. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  56. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  57. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  58. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page.js +2 -2
  59. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  60. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  61. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  62. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  63. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  64. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  65. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  66. package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  67. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  68. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  69. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  70. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  71. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  72. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  73. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +3 -3
  74. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  75. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  76. package/app/.next/server/app/_global-error/page.js +2 -2
  77. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  78. package/app/.next/server/app/_global-error.html +1 -1
  79. package/app/.next/server/app/_global-error.rsc +1 -1
  80. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  81. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  82. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  83. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  84. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  85. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  86. package/app/.next/server/app/_not-found/page.js +2 -2
  87. package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
  88. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  89. package/app/.next/server/app/_not-found.html +1 -1
  90. package/app/.next/server/app/_not-found.rsc +4 -4
  91. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
  92. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  93. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
  94. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  95. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  96. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  97. package/app/.next/server/app/api/antigravity-app/route.js +1 -1
  98. package/app/.next/server/app/api/antigravity-app-v2/route.js +1 -1
  99. package/app/.next/server/app/api/antigravity-ide/route.js +1 -1
  100. package/app/.next/server/app/api/antigravity-targets/route.js +1 -1
  101. package/app/.next/server/app/api/antigravity-tools/import/route.js +1 -1
  102. package/app/.next/server/app/api/antigravity-tools/import/route.js.nft.json +1 -1
  103. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js +1 -1
  104. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js.nft.json +1 -1
  105. package/app/.next/server/app/api/auth/login/route.js +1 -1
  106. package/app/.next/server/app/api/auth/logout/route.js +1 -1
  107. package/app/.next/server/app/api/auth/oidc/callback/route.js +1 -1
  108. package/app/.next/server/app/api/auth/oidc/start/route.js +1 -1
  109. package/app/.next/server/app/api/auth/oidc/test/route.js +1 -1
  110. package/app/.next/server/app/api/auth/reset-password/route.js +1 -1
  111. package/app/.next/server/app/api/auth/status/route.js +1 -1
  112. package/app/.next/server/app/api/cli-tools/all-statuses/route.js +12 -4
  113. package/app/.next/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  114. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  115. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  116. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  117. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  118. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  119. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +2 -2
  120. package/app/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
  121. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  122. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  123. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  124. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  125. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  126. package/app/.next/server/app/api/cli-tools/cursor-byok/jobs/[jobId]/events/route.js +2 -2
  127. package/app/.next/server/app/api/cli-tools/cursor-byok/jobs/[jobId]/sudo/route.js +1 -1
  128. package/app/.next/server/app/api/cli-tools/cursor-byok/jobs/route.js +1 -1
  129. package/app/.next/server/app/api/cli-tools/cursor-byok/route.js +1 -1
  130. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  131. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +1 -1
  132. package/app/.next/server/app/api/cli-tools/grok-build-settings/route.js +10 -0
  133. package/app/.next/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -0
  134. package/app/.next/server/app/api/cli-tools/grok-build-settings/route_client-reference-manifest.js +1 -0
  135. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  136. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  137. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  138. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  139. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  140. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  141. package/app/.next/server/app/api/combos/route.js +1 -1
  142. package/app/.next/server/app/api/donate/route.js +1 -1
  143. package/app/.next/server/app/api/headroom/extras/route.js +1 -1
  144. package/app/.next/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  145. package/app/.next/server/app/api/headroom/restart/route.js +1 -1
  146. package/app/.next/server/app/api/headroom/start/route.js +1 -1
  147. package/app/.next/server/app/api/headroom/status/route.js +1 -1
  148. package/app/.next/server/app/api/headroom/stop/route.js +1 -1
  149. package/app/.next/server/app/api/health/route.js +1 -1
  150. package/app/.next/server/app/api/init/route.js +1 -1
  151. package/app/.next/server/app/api/internal/account-health/route.js +1 -1
  152. package/app/.next/server/app/api/internal/request-detail/route.js +1 -1
  153. package/app/.next/server/app/api/internal/usage/route.js +1 -1
  154. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js +1 -1
  155. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  156. package/app/.next/server/app/api/keys/[id]/usage/route.js +1 -1
  157. package/app/.next/server/app/api/keys/route.js +1 -1
  158. package/app/.next/server/app/api/locale/route.js +1 -1
  159. package/app/.next/server/app/api/mcp/[plugin]/message/route.js +1 -1
  160. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js +5 -5
  161. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  162. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  163. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  164. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  165. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  166. package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
  167. package/app/.next/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  168. package/app/.next/server/app/api/models/alias/route.js +1 -1
  169. package/app/.next/server/app/api/models/availability/route.js +1 -1
  170. package/app/.next/server/app/api/models/custom/route.js +1 -1
  171. package/app/.next/server/app/api/models/disabled/route.js +1 -1
  172. package/app/.next/server/app/api/models/route.js +1 -1
  173. package/app/.next/server/app/api/models/route.js.nft.json +1 -1
  174. package/app/.next/server/app/api/models/test/route.js +1 -1
  175. package/app/.next/server/app/api/models/test/route.js.nft.json +1 -1
  176. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  177. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  178. package/app/.next/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  179. package/app/.next/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  180. package/app/.next/server/app/api/oauth/codex/import-token/route.js +1 -1
  181. package/app/.next/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  182. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  183. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  184. package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  185. package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
  186. package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
  187. package/app/.next/server/app/api/oauth/kiro/api-key/route.js +1 -1
  188. package/app/.next/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  189. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  190. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  191. package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  192. package/app/.next/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  193. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  194. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  195. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  196. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  197. package/app/.next/server/app/api/pricing/route.js +1 -1
  198. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  199. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  200. package/app/.next/server/app/api/provider-nodes/route.js.nft.json +1 -1
  201. package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  202. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  203. package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  204. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  205. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  206. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  207. package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
  208. package/app/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  209. package/app/.next/server/app/api/providers/client/route.js +1 -1
  210. package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  211. package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
  212. package/app/.next/server/app/api/providers/route.js +1 -1
  213. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  214. package/app/.next/server/app/api/providers/suggested-models/route.js +1 -1
  215. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  216. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  217. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  218. package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  219. package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
  220. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  221. package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  222. package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  223. package/app/.next/server/app/api/proxy-pools/route.js +1 -1
  224. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  225. package/app/.next/server/app/api/pxpipe/health/route.js +2 -2
  226. package/app/.next/server/app/api/pxpipe/install/route.js +2 -2
  227. package/app/.next/server/app/api/pxpipe/logs/route.js +2 -2
  228. package/app/.next/server/app/api/pxpipe/restart/route.js +2 -2
  229. package/app/.next/server/app/api/pxpipe/start/route.js +2 -2
  230. package/app/.next/server/app/api/pxpipe/stats/route.js +2 -2
  231. package/app/.next/server/app/api/pxpipe/status/route.js +2 -2
  232. package/app/.next/server/app/api/pxpipe/stop/route.js +2 -2
  233. package/app/.next/server/app/api/settings/database/route.js +1 -1
  234. package/app/.next/server/app/api/settings/database/selective/route.js +1 -1
  235. package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
  236. package/app/.next/server/app/api/settings/require-login/route.js +1 -1
  237. package/app/.next/server/app/api/settings/route.js +1 -1
  238. package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
  239. package/app/.next/server/app/api/shutdown/route.js +1 -1
  240. package/app/.next/server/app/api/tags/route.js +1 -1
  241. package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
  242. package/app/.next/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  243. package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
  244. package/app/.next/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  245. package/app/.next/server/app/api/translator/load/route.js +1 -1
  246. package/app/.next/server/app/api/translator/save/route.js +1 -1
  247. package/app/.next/server/app/api/translator/send/route.js +1 -1
  248. package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  249. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  250. package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  251. package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
  252. package/app/.next/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  253. package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
  254. package/app/.next/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  255. package/app/.next/server/app/api/tunnel/status/route.js +1 -1
  256. package/app/.next/server/app/api/tunnel/status/route.js.nft.json +1 -1
  257. package/app/.next/server/app/api/tunnel/tailscale-check/route.js +1 -1
  258. package/app/.next/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  259. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  260. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  261. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  262. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  263. package/app/.next/server/app/api/tunnel/tailscale-install/route.js +2 -2
  264. package/app/.next/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  265. package/app/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  266. package/app/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  267. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  268. package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  269. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  270. package/app/.next/server/app/api/usage/history/route.js +1 -1
  271. package/app/.next/server/app/api/usage/logs/route.js +1 -1
  272. package/app/.next/server/app/api/usage/providers/route.js +1 -1
  273. package/app/.next/server/app/api/usage/providers/route.js.nft.json +1 -1
  274. package/app/.next/server/app/api/usage/report/route.js +1 -1
  275. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  276. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  277. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  278. package/app/.next/server/app/api/usage/stream/route.js +2 -2
  279. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  280. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  281. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  282. package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  283. package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  284. package/app/.next/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  285. package/app/.next/server/app/api/v1/audio/voices/route.js +1 -1
  286. package/app/.next/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  287. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  288. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  289. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  290. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  291. package/app/.next/server/app/api/v1/images/generations/route.js +1 -1
  292. package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  293. package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  294. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  295. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  296. package/app/.next/server/app/api/v1/models/[kind]/route.js +1 -1
  297. package/app/.next/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  298. package/app/.next/server/app/api/v1/models/info/route.js +1 -1
  299. package/app/.next/server/app/api/v1/models/info/route.js.nft.json +1 -1
  300. package/app/.next/server/app/api/v1/models/route.js +1 -1
  301. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  302. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  303. package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  304. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  305. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  306. package/app/.next/server/app/api/v1/route.js +1 -1
  307. package/app/.next/server/app/api/v1/route.js.nft.json +1 -1
  308. package/app/.next/server/app/api/v1/search/route.js +1 -1
  309. package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -1
  310. package/app/.next/server/app/api/v1/videos/[id]/route.js +1 -0
  311. package/app/.next/server/app/api/v1/videos/[id]/route.js.nft.json +1 -0
  312. package/app/.next/server/app/api/v1/videos/[id]/route_client-reference-manifest.js +1 -0
  313. package/app/.next/server/app/api/v1/videos/edits/route.js +1 -0
  314. package/app/.next/server/app/api/v1/videos/edits/route.js.nft.json +1 -0
  315. package/app/.next/server/app/api/v1/videos/edits/route_client-reference-manifest.js +1 -0
  316. package/app/.next/server/app/api/v1/videos/extensions/route.js +1 -0
  317. package/app/.next/server/app/api/v1/videos/extensions/route.js.nft.json +1 -0
  318. package/app/.next/server/app/api/v1/videos/extensions/route_client-reference-manifest.js +1 -0
  319. package/app/.next/server/app/api/v1/videos/generations/route.js +1 -0
  320. package/app/.next/server/app/api/v1/videos/generations/route.js.nft.json +1 -0
  321. package/app/.next/server/app/api/v1/videos/generations/route_client-reference-manifest.js +1 -0
  322. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
  323. package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  324. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  325. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  326. package/app/.next/server/app/api/v1beta/models/route.js +1 -1
  327. package/app/.next/server/app/api/v1beta/models/route.js.nft.json +1 -1
  328. package/app/.next/server/app/api/version/route.js +1 -1
  329. package/app/.next/server/app/api/version/shutdown/route.js +1 -1
  330. package/app/.next/server/app/api/version/shutdown/route.js.nft.json +1 -1
  331. package/app/.next/server/app/api/version/update/route.js +1 -1
  332. package/app/.next/server/app/api/version/update/route.js.nft.json +1 -1
  333. package/app/.next/server/app/callback/page.js +2 -2
  334. package/app/.next/server/app/callback/page.js.nft.json +1 -1
  335. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  336. package/app/.next/server/app/callback.html +1 -1
  337. package/app/.next/server/app/callback.rsc +4 -4
  338. package/app/.next/server/app/callback.segments/_full.segment.rsc +4 -4
  339. package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
  340. package/app/.next/server/app/callback.segments/_index.segment.rsc +4 -4
  341. package/app/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
  342. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  343. package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
  344. package/app/.next/server/app/dashboard/basic-chat.html +1 -1
  345. package/app/.next/server/app/dashboard/basic-chat.rsc +6 -6
  346. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  347. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  348. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  349. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  350. package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  351. package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  352. package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  353. package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  354. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  355. package/app/.next/server/app/dashboard/cli-tools.rsc +6 -6
  356. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  357. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  358. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  359. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  360. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  361. package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  362. package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  363. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  364. package/app/.next/server/app/dashboard/combos.html +1 -1
  365. package/app/.next/server/app/dashboard/combos.rsc +6 -6
  366. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  367. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  368. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  369. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  370. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  371. package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  372. package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  373. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  374. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  375. package/app/.next/server/app/dashboard/endpoint.rsc +6 -6
  376. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  377. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  378. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  379. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  380. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  381. package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  382. package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  383. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  384. package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
  385. package/app/.next/server/app/dashboard/media-providers/web.rsc +6 -6
  386. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  387. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  388. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  389. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  390. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  391. package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  392. package/app/.next/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  393. package/app/.next/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  394. package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  395. package/app/.next/server/app/dashboard/mitm.html +1 -1
  396. package/app/.next/server/app/dashboard/mitm.rsc +6 -6
  397. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  398. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  399. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  400. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  401. package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  402. package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  403. package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  404. package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  405. package/app/.next/server/app/dashboard/profile.html +1 -1
  406. package/app/.next/server/app/dashboard/profile.rsc +6 -6
  407. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  408. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  409. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  410. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  411. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  412. package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  413. package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  414. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  415. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  416. package/app/.next/server/app/dashboard/providers/new.rsc +6 -6
  417. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  418. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  419. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  420. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  421. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  422. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  423. package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  424. package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  425. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  426. package/app/.next/server/app/dashboard/providers.html +1 -1
  427. package/app/.next/server/app/dashboard/providers.rsc +6 -6
  428. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  429. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  430. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  431. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  432. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  433. package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  434. package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  435. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  436. package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
  437. package/app/.next/server/app/dashboard/proxy-pools.rsc +6 -6
  438. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  439. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  440. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  441. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  442. package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  443. package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  444. package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  445. package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  446. package/app/.next/server/app/dashboard/pxpipe.html +1 -1
  447. package/app/.next/server/app/dashboard/pxpipe.rsc +6 -6
  448. package/app/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  449. package/app/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  450. package/app/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  451. package/app/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  452. package/app/.next/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
  453. package/app/.next/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  454. package/app/.next/server/app/dashboard/pxpipe.segments/_index.segment.rsc +4 -4
  455. package/app/.next/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  456. package/app/.next/server/app/dashboard/quota.html +2 -2
  457. package/app/.next/server/app/dashboard/quota.rsc +7 -7
  458. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  459. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  460. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  461. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  462. package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  463. package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  464. package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  465. package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  466. package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
  467. package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  468. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  469. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  470. package/app/.next/server/app/dashboard/settings/pricing.rsc +4 -4
  471. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  472. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  473. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  474. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  475. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  476. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  477. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  478. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  479. package/app/.next/server/app/dashboard/skills.html +1 -1
  480. package/app/.next/server/app/dashboard/skills.rsc +6 -6
  481. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  482. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  483. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  484. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  485. package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  486. package/app/.next/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  487. package/app/.next/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  488. package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  489. package/app/.next/server/app/dashboard/token-saver.html +1 -1
  490. package/app/.next/server/app/dashboard/token-saver.rsc +6 -6
  491. package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  492. package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  493. package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  494. package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  495. package/app/.next/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  496. package/app/.next/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  497. package/app/.next/server/app/dashboard/token-saver.segments/_index.segment.rsc +4 -4
  498. package/app/.next/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  499. package/app/.next/server/app/dashboard/translator.html +1 -1
  500. package/app/.next/server/app/dashboard/translator.rsc +6 -6
  501. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  502. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  503. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  504. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  505. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  506. package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  507. package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  508. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  509. package/app/.next/server/app/dashboard/usage.html +1 -1
  510. package/app/.next/server/app/dashboard/usage.rsc +6 -6
  511. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  512. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  513. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  514. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  515. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  516. package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  517. package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  518. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  519. package/app/.next/server/app/dashboard.html +1 -1
  520. package/app/.next/server/app/dashboard.rsc +6 -6
  521. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  522. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  523. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  524. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +6 -6
  525. package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
  526. package/app/.next/server/app/dashboard.segments/_index.segment.rsc +4 -4
  527. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  528. package/app/.next/server/app/favicon.ico/route.js +1 -1
  529. package/app/.next/server/app/index.html +1 -1
  530. package/app/.next/server/app/index.rsc +4 -4
  531. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  532. package/app/.next/server/app/index.segments/_full.segment.rsc +4 -4
  533. package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
  534. package/app/.next/server/app/index.segments/_index.segment.rsc +4 -4
  535. package/app/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  536. package/app/.next/server/app/landing/page.js +2 -2
  537. package/app/.next/server/app/landing/page.js.nft.json +1 -1
  538. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  539. package/app/.next/server/app/landing.html +1 -1
  540. package/app/.next/server/app/landing.rsc +4 -4
  541. package/app/.next/server/app/landing.segments/_full.segment.rsc +4 -4
  542. package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
  543. package/app/.next/server/app/landing.segments/_index.segment.rsc +4 -4
  544. package/app/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
  545. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  546. package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
  547. package/app/.next/server/app/login/page.js +2 -2
  548. package/app/.next/server/app/login/page.js.nft.json +1 -1
  549. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  550. package/app/.next/server/app/login.html +1 -1
  551. package/app/.next/server/app/login.rsc +5 -5
  552. package/app/.next/server/app/login.segments/_full.segment.rsc +5 -5
  553. package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
  554. package/app/.next/server/app/login.segments/_index.segment.rsc +4 -4
  555. package/app/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  556. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  557. package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
  558. package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
  559. package/app/.next/server/app/page.js +2 -2
  560. package/app/.next/server/app/page.js.nft.json +1 -1
  561. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  562. package/app/.next/server/app-paths-manifest.json +19 -14
  563. package/app/.next/server/chunks/1051.js +1 -1
  564. package/app/.next/server/chunks/1133.js +1 -0
  565. package/app/.next/server/chunks/1185.js +1 -0
  566. package/app/.next/server/chunks/1806.js +1 -0
  567. package/app/.next/server/chunks/2056.js +1 -0
  568. package/app/.next/server/chunks/2251.js +2 -2
  569. package/app/.next/server/chunks/{6675.js → 3000.js} +13 -3
  570. package/app/.next/server/chunks/318.js +1 -1
  571. package/app/.next/server/chunks/3481.js +71 -0
  572. package/app/.next/server/chunks/3588.js +7 -0
  573. package/app/.next/server/chunks/3943.js +1 -0
  574. package/app/.next/server/chunks/3962.js +1 -0
  575. package/app/.next/server/chunks/412.js +1 -1
  576. package/app/.next/server/chunks/4177.js +1 -1
  577. package/app/.next/server/chunks/4676.js +45 -0
  578. package/app/.next/server/chunks/5612.js +1 -1
  579. package/app/.next/server/chunks/5615.js +1 -1
  580. package/app/.next/server/chunks/6306.js +1 -1
  581. package/app/.next/server/chunks/7137.js +1 -0
  582. package/app/.next/server/chunks/7467.js +1 -0
  583. package/app/.next/server/chunks/75.js +1 -0
  584. package/app/.next/server/chunks/7994.js +1 -1
  585. package/app/.next/server/chunks/8056.js +1 -7
  586. package/app/.next/server/chunks/8145.js +1 -0
  587. package/app/.next/server/chunks/8271.js +1 -1
  588. package/app/.next/server/chunks/8833.js +4 -4
  589. package/app/.next/server/chunks/8895.js +6 -50
  590. package/app/.next/server/middleware-build-manifest.js +1 -1
  591. package/app/.next/server/pages/404.html +1 -1
  592. package/app/.next/server/pages/500.html +1 -1
  593. package/app/.next/server/server-reference-manifest.js +1 -1
  594. package/app/.next/server/server-reference-manifest.json +1 -1
  595. package/app/.next/static/chunks/1321-3154ab2bdf03d1b4.js +1 -0
  596. package/app/.next/static/chunks/{5396-a003e096a6013f2e.js → 4028-f3b4a4505d1949d8.js} +18 -8
  597. package/app/.next/static/chunks/5497-696d58587d263478.js +7 -0
  598. package/app/.next/static/chunks/8198-e290466e54954f7b.js +1 -0
  599. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-199ad55a0a07b99e.js → page-dfb62517e7b61da1.js} +1 -1
  600. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-891aa409aec4569e.js → page-7aab1b038b0bfe64.js} +1 -1
  601. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/{page-5c73d27e6379f748.js → page-a571e53340e18f91.js} +1 -1
  602. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-1039653250f6f4eb.js +12 -0
  603. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-690703b251694b65.js +1 -0
  604. package/app/.next/static/chunks/app/_global-error/page-c1f9120475dadd61.js +1 -0
  605. package/app/.next/static/chunks/app/api/antigravity-app/route-c1f9120475dadd61.js +1 -0
  606. package/app/.next/static/chunks/app/api/antigravity-app-v2/route-c1f9120475dadd61.js +1 -0
  607. package/app/.next/static/chunks/app/api/antigravity-ide/route-c1f9120475dadd61.js +1 -0
  608. package/app/.next/static/chunks/app/api/antigravity-targets/route-c1f9120475dadd61.js +1 -0
  609. package/app/.next/static/chunks/app/api/antigravity-tools/import/route-c1f9120475dadd61.js +1 -0
  610. package/app/.next/static/chunks/app/api/antigravity-tools/import-refresh-tokens/route-c1f9120475dadd61.js +1 -0
  611. package/app/.next/static/chunks/app/api/auth/login/route-c1f9120475dadd61.js +1 -0
  612. package/app/.next/static/chunks/app/api/auth/logout/route-c1f9120475dadd61.js +1 -0
  613. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-c1f9120475dadd61.js +1 -0
  614. package/app/.next/static/chunks/app/api/auth/oidc/start/route-c1f9120475dadd61.js +1 -0
  615. package/app/.next/static/chunks/app/api/auth/oidc/test/route-c1f9120475dadd61.js +1 -0
  616. package/app/.next/static/chunks/app/api/auth/reset-password/route-c1f9120475dadd61.js +1 -0
  617. package/app/.next/static/chunks/app/api/auth/status/route-c1f9120475dadd61.js +1 -0
  618. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-c1f9120475dadd61.js +1 -0
  619. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-c1f9120475dadd61.js +1 -0
  620. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-c1f9120475dadd61.js +1 -0
  621. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-c1f9120475dadd61.js +1 -0
  622. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-c1f9120475dadd61.js +1 -0
  623. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-c1f9120475dadd61.js +1 -0
  624. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-c1f9120475dadd61.js +1 -0
  625. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-c1f9120475dadd61.js +1 -0
  626. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-c1f9120475dadd61.js +1 -0
  627. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-c1f9120475dadd61.js +1 -0
  628. package/app/.next/static/chunks/app/api/cli-tools/cursor-byok/jobs/[jobId]/events/route-c1f9120475dadd61.js +1 -0
  629. package/app/.next/static/chunks/app/api/cli-tools/cursor-byok/jobs/[jobId]/sudo/route-c1f9120475dadd61.js +1 -0
  630. package/app/.next/static/chunks/app/api/cli-tools/cursor-byok/jobs/route-c1f9120475dadd61.js +1 -0
  631. package/app/.next/static/chunks/app/api/cli-tools/cursor-byok/route-c1f9120475dadd61.js +1 -0
  632. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-c1f9120475dadd61.js +1 -0
  633. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-c1f9120475dadd61.js +1 -0
  634. package/app/.next/static/chunks/app/api/cli-tools/grok-build-settings/route-c1f9120475dadd61.js +1 -0
  635. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-c1f9120475dadd61.js +1 -0
  636. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-c1f9120475dadd61.js +1 -0
  637. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-c1f9120475dadd61.js +1 -0
  638. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-c1f9120475dadd61.js +1 -0
  639. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-c1f9120475dadd61.js +1 -0
  640. package/app/.next/static/chunks/app/api/combos/[id]/route-c1f9120475dadd61.js +1 -0
  641. package/app/.next/static/chunks/app/api/combos/route-c1f9120475dadd61.js +1 -0
  642. package/app/.next/static/chunks/app/api/donate/route-c1f9120475dadd61.js +1 -0
  643. package/app/.next/static/chunks/app/api/headroom/extras/route-c1f9120475dadd61.js +1 -0
  644. package/app/.next/static/chunks/app/api/headroom/proxy/[...path]/route-c1f9120475dadd61.js +1 -0
  645. package/app/.next/static/chunks/app/api/headroom/restart/route-c1f9120475dadd61.js +1 -0
  646. package/app/.next/static/chunks/app/api/headroom/start/route-c1f9120475dadd61.js +1 -0
  647. package/app/.next/static/chunks/app/api/headroom/status/route-c1f9120475dadd61.js +1 -0
  648. package/app/.next/static/chunks/app/api/headroom/stop/route-c1f9120475dadd61.js +1 -0
  649. package/app/.next/static/chunks/app/api/health/route-c1f9120475dadd61.js +1 -0
  650. package/app/.next/static/chunks/app/api/init/route-c1f9120475dadd61.js +1 -0
  651. package/app/.next/static/chunks/app/api/internal/account-health/route-c1f9120475dadd61.js +1 -0
  652. package/app/.next/static/chunks/app/api/internal/request-detail/route-c1f9120475dadd61.js +1 -0
  653. package/app/.next/static/chunks/app/api/internal/usage/route-c1f9120475dadd61.js +1 -0
  654. package/app/.next/static/chunks/app/api/keys/[id]/reset-usage/route-c1f9120475dadd61.js +1 -0
  655. package/app/.next/static/chunks/app/api/keys/[id]/route-c1f9120475dadd61.js +1 -0
  656. package/app/.next/static/chunks/app/api/keys/[id]/usage/route-c1f9120475dadd61.js +1 -0
  657. package/app/.next/static/chunks/app/api/keys/route-c1f9120475dadd61.js +1 -0
  658. package/app/.next/static/chunks/app/api/locale/route-c1f9120475dadd61.js +1 -0
  659. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-c1f9120475dadd61.js +1 -0
  660. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-c1f9120475dadd61.js +1 -0
  661. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-c1f9120475dadd61.js +1 -0
  662. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-c1f9120475dadd61.js +1 -0
  663. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-c1f9120475dadd61.js +1 -0
  664. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-c1f9120475dadd61.js +1 -0
  665. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-c1f9120475dadd61.js +1 -0
  666. package/app/.next/static/chunks/app/api/models/alias/route-c1f9120475dadd61.js +1 -0
  667. package/app/.next/static/chunks/app/api/models/availability/route-c1f9120475dadd61.js +1 -0
  668. package/app/.next/static/chunks/app/api/models/custom/route-c1f9120475dadd61.js +1 -0
  669. package/app/.next/static/chunks/app/api/models/disabled/route-c1f9120475dadd61.js +1 -0
  670. package/app/.next/static/chunks/app/api/models/route-c1f9120475dadd61.js +1 -0
  671. package/app/.next/static/chunks/app/api/models/test/route-c1f9120475dadd61.js +1 -0
  672. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-c1f9120475dadd61.js +1 -0
  673. package/app/.next/static/chunks/app/api/oauth/codex/bulk-import/route-c1f9120475dadd61.js +1 -0
  674. package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-c1f9120475dadd61.js +1 -0
  675. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-c1f9120475dadd61.js +1 -0
  676. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-c1f9120475dadd61.js +1 -0
  677. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-c1f9120475dadd61.js +1 -0
  678. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-c1f9120475dadd61.js +1 -0
  679. package/app/.next/static/chunks/app/api/oauth/kiro/api-key/route-c1f9120475dadd61.js +1 -0
  680. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-c1f9120475dadd61.js +1 -0
  681. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-c1f9120475dadd61.js +1 -0
  682. package/app/.next/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-c1f9120475dadd61.js +1 -0
  683. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-c1f9120475dadd61.js +1 -0
  684. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-c1f9120475dadd61.js +1 -0
  685. package/app/.next/static/chunks/app/api/pricing/route-c1f9120475dadd61.js +1 -0
  686. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-c1f9120475dadd61.js +1 -0
  687. package/app/.next/static/chunks/app/api/provider-nodes/route-c1f9120475dadd61.js +1 -0
  688. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-c1f9120475dadd61.js +1 -0
  689. package/app/.next/static/chunks/app/api/providers/[id]/models/route-c1f9120475dadd61.js +1 -0
  690. package/app/.next/static/chunks/app/api/providers/[id]/route-c1f9120475dadd61.js +1 -0
  691. package/app/.next/static/chunks/app/api/providers/[id]/test/route-c1f9120475dadd61.js +1 -0
  692. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-c1f9120475dadd61.js +1 -0
  693. package/app/.next/static/chunks/app/api/providers/client/route-c1f9120475dadd61.js +1 -0
  694. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-c1f9120475dadd61.js +1 -0
  695. package/app/.next/static/chunks/app/api/providers/route-c1f9120475dadd61.js +1 -0
  696. package/app/.next/static/chunks/app/api/providers/suggested-models/route-c1f9120475dadd61.js +1 -0
  697. package/app/.next/static/chunks/app/api/providers/test-batch/route-c1f9120475dadd61.js +1 -0
  698. package/app/.next/static/chunks/app/api/providers/validate/route-c1f9120475dadd61.js +1 -0
  699. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-c1f9120475dadd61.js +1 -0
  700. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-c1f9120475dadd61.js +1 -0
  701. package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-c1f9120475dadd61.js +1 -0
  702. package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-c1f9120475dadd61.js +1 -0
  703. package/app/.next/static/chunks/app/api/proxy-pools/route-c1f9120475dadd61.js +1 -0
  704. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-c1f9120475dadd61.js +1 -0
  705. package/app/.next/static/chunks/app/api/pxpipe/health/route-c1f9120475dadd61.js +1 -0
  706. package/app/.next/static/chunks/app/api/pxpipe/install/route-c1f9120475dadd61.js +1 -0
  707. package/app/.next/static/chunks/app/api/pxpipe/logs/route-c1f9120475dadd61.js +1 -0
  708. package/app/.next/static/chunks/app/api/pxpipe/restart/route-c1f9120475dadd61.js +1 -0
  709. package/app/.next/static/chunks/app/api/pxpipe/start/route-c1f9120475dadd61.js +1 -0
  710. package/app/.next/static/chunks/app/api/pxpipe/stats/route-c1f9120475dadd61.js +1 -0
  711. package/app/.next/static/chunks/app/api/pxpipe/status/route-c1f9120475dadd61.js +1 -0
  712. package/app/.next/static/chunks/app/api/pxpipe/stop/route-c1f9120475dadd61.js +1 -0
  713. package/app/.next/static/chunks/app/api/settings/database/route-c1f9120475dadd61.js +1 -0
  714. package/app/.next/static/chunks/app/api/settings/database/selective/route-c1f9120475dadd61.js +1 -0
  715. package/app/.next/static/chunks/app/api/settings/proxy-test/route-c1f9120475dadd61.js +1 -0
  716. package/app/.next/static/chunks/app/api/settings/require-login/route-c1f9120475dadd61.js +1 -0
  717. package/app/.next/static/chunks/app/api/settings/route-c1f9120475dadd61.js +1 -0
  718. package/app/.next/static/chunks/app/api/shutdown/route-c1f9120475dadd61.js +1 -0
  719. package/app/.next/static/chunks/app/api/tags/route-c1f9120475dadd61.js +1 -0
  720. package/app/.next/static/chunks/app/api/translator/console-logs/route-c1f9120475dadd61.js +1 -0
  721. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-c1f9120475dadd61.js +1 -0
  722. package/app/.next/static/chunks/app/api/translator/load/route-c1f9120475dadd61.js +1 -0
  723. package/app/.next/static/chunks/app/api/translator/save/route-c1f9120475dadd61.js +1 -0
  724. package/app/.next/static/chunks/app/api/translator/send/route-c1f9120475dadd61.js +1 -0
  725. package/app/.next/static/chunks/app/api/translator/translate/route-c1f9120475dadd61.js +1 -0
  726. package/app/.next/static/chunks/app/api/tunnel/disable/route-c1f9120475dadd61.js +1 -0
  727. package/app/.next/static/chunks/app/api/tunnel/enable/route-c1f9120475dadd61.js +1 -0
  728. package/app/.next/static/chunks/app/api/tunnel/status/route-c1f9120475dadd61.js +1 -0
  729. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-c1f9120475dadd61.js +1 -0
  730. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-c1f9120475dadd61.js +1 -0
  731. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-c1f9120475dadd61.js +1 -0
  732. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-c1f9120475dadd61.js +1 -0
  733. package/app/.next/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-c1f9120475dadd61.js +1 -0
  734. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-c1f9120475dadd61.js +1 -0
  735. package/app/.next/static/chunks/app/api/usage/chart/route-c1f9120475dadd61.js +1 -0
  736. package/app/.next/static/chunks/app/api/usage/history/route-c1f9120475dadd61.js +1 -0
  737. package/app/.next/static/chunks/app/api/usage/logs/route-c1f9120475dadd61.js +1 -0
  738. package/app/.next/static/chunks/app/api/usage/providers/route-c1f9120475dadd61.js +1 -0
  739. package/app/.next/static/chunks/app/api/usage/report/route-c1f9120475dadd61.js +1 -0
  740. package/app/.next/static/chunks/app/api/usage/request-details/route-c1f9120475dadd61.js +1 -0
  741. package/app/.next/static/chunks/app/api/usage/request-logs/route-c1f9120475dadd61.js +1 -0
  742. package/app/.next/static/chunks/app/api/usage/stats/route-c1f9120475dadd61.js +1 -0
  743. package/app/.next/static/chunks/app/api/usage/stream/route-c1f9120475dadd61.js +1 -0
  744. package/app/.next/static/chunks/app/api/v1/api/chat/route-c1f9120475dadd61.js +1 -0
  745. package/app/.next/static/chunks/app/api/v1/audio/speech/route-c1f9120475dadd61.js +1 -0
  746. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-c1f9120475dadd61.js +1 -0
  747. package/app/.next/static/chunks/app/api/v1/audio/voices/route-c1f9120475dadd61.js +1 -0
  748. package/app/.next/static/chunks/app/api/v1/chat/completions/route-c1f9120475dadd61.js +1 -0
  749. package/app/.next/static/chunks/app/api/v1/embeddings/route-c1f9120475dadd61.js +1 -0
  750. package/app/.next/static/chunks/app/api/v1/images/generations/route-c1f9120475dadd61.js +1 -0
  751. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-c1f9120475dadd61.js +1 -0
  752. package/app/.next/static/chunks/app/api/v1/messages/route-c1f9120475dadd61.js +1 -0
  753. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-c1f9120475dadd61.js +1 -0
  754. package/app/.next/static/chunks/app/api/v1/models/info/route-c1f9120475dadd61.js +1 -0
  755. package/app/.next/static/chunks/app/api/v1/models/route-c1f9120475dadd61.js +1 -0
  756. package/app/.next/static/chunks/app/api/v1/responses/compact/route-c1f9120475dadd61.js +1 -0
  757. package/app/.next/static/chunks/app/api/v1/responses/route-c1f9120475dadd61.js +1 -0
  758. package/app/.next/static/chunks/app/api/v1/route-c1f9120475dadd61.js +1 -0
  759. package/app/.next/static/chunks/app/api/v1/search/route-c1f9120475dadd61.js +1 -0
  760. package/app/.next/static/chunks/app/api/v1/videos/[id]/route-c1f9120475dadd61.js +1 -0
  761. package/app/.next/static/chunks/app/api/v1/videos/edits/route-c1f9120475dadd61.js +1 -0
  762. package/app/.next/static/chunks/app/api/v1/videos/extensions/route-c1f9120475dadd61.js +1 -0
  763. package/app/.next/static/chunks/app/api/v1/videos/generations/route-c1f9120475dadd61.js +1 -0
  764. package/app/.next/static/chunks/app/api/v1/web/fetch/route-c1f9120475dadd61.js +1 -0
  765. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-c1f9120475dadd61.js +1 -0
  766. package/app/.next/static/chunks/app/api/v1beta/models/route-c1f9120475dadd61.js +1 -0
  767. package/app/.next/static/chunks/app/api/version/route-c1f9120475dadd61.js +1 -0
  768. package/app/.next/static/chunks/app/api/version/shutdown/route-c1f9120475dadd61.js +1 -0
  769. package/app/.next/static/chunks/app/api/version/update/route-c1f9120475dadd61.js +1 -0
  770. package/app/.next/static/chunks/app/manifest.webmanifest/route-c1f9120475dadd61.js +1 -0
  771. package/app/.next/static/chunks/app/page-c1f9120475dadd61.js +1 -0
  772. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-c1f9120475dadd61.js +1 -0
  773. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-c1f9120475dadd61.js +1 -0
  774. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-c1f9120475dadd61.js +1 -0
  775. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-c1f9120475dadd61.js +1 -0
  776. package/app/.next/static/css/4aeebd461f2f3aec.css +1 -0
  777. package/app/.next/static/lo-GnJQxxRLdCvA2oang1/_buildManifest.js +1 -0
  778. package/app/open-sse/config/grokCli.js +10 -0
  779. package/app/open-sse/config/runtimeConfig.js +2 -0
  780. package/app/open-sse/executors/grok-cli.js +194 -39
  781. package/app/open-sse/handlers/chatCore.js +22 -23
  782. package/app/open-sse/handlers/videoCore.js +166 -0
  783. package/app/open-sse/providers/capabilities.js +24 -4
  784. package/app/open-sse/providers/registry/alicode-intl.js +1 -1
  785. package/app/open-sse/providers/registry/anthropic.js +1 -3
  786. package/app/open-sse/providers/registry/grok-cli.js +28 -18
  787. package/app/open-sse/providers/registry/kiro.js +12 -0
  788. package/app/open-sse/providers/registry/xai.js +5 -1
  789. package/app/open-sse/services/grokCliModels.js +127 -0
  790. package/app/open-sse/services/model.js +7 -1
  791. package/app/open-sse/services/usage/grok-cli.js +61 -7
  792. package/app/package.json +1 -1
  793. package/app/src/shared/constants/cliTools.js +27 -0
  794. package/app/src/shared/constants/providers.js +1 -1
  795. package/package.json +1 -1
  796. package/app/.next/server/chunks/1350.js +0 -1
  797. package/app/.next/server/chunks/1470.js +0 -1
  798. package/app/.next/server/chunks/1719.js +0 -1
  799. package/app/.next/server/chunks/3621.js +0 -1
  800. package/app/.next/server/chunks/6182.js +0 -71
  801. package/app/.next/server/chunks/7444.js +0 -1
  802. package/app/.next/server/chunks/7886.js +0 -1
  803. package/app/.next/server/chunks/8238.js +0 -1
  804. package/app/.next/server/chunks/8794.js +0 -1
  805. package/app/.next/static/4eHcO0iL_6PDYZfGNLlqJ/_buildManifest.js +0 -1
  806. package/app/.next/static/chunks/1321-221797845867fc50.js +0 -1
  807. package/app/.next/static/chunks/5497-fd6ad8ecc491258d.js +0 -7
  808. package/app/.next/static/chunks/8198-34a5f75f939a0642.js +0 -1
  809. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-64902d9374382b6c.js +0 -12
  810. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-d5dd8461c18931fc.js +0 -1
  811. package/app/.next/static/chunks/app/_global-error/page-9ed8f7909a84e383.js +0 -1
  812. package/app/.next/static/chunks/app/api/antigravity-app/route-9ed8f7909a84e383.js +0 -1
  813. package/app/.next/static/chunks/app/api/antigravity-app-v2/route-9ed8f7909a84e383.js +0 -1
  814. package/app/.next/static/chunks/app/api/antigravity-ide/route-9ed8f7909a84e383.js +0 -1
  815. package/app/.next/static/chunks/app/api/antigravity-targets/route-9ed8f7909a84e383.js +0 -1
  816. package/app/.next/static/chunks/app/api/antigravity-tools/import/route-9ed8f7909a84e383.js +0 -1
  817. package/app/.next/static/chunks/app/api/antigravity-tools/import-refresh-tokens/route-9ed8f7909a84e383.js +0 -1
  818. package/app/.next/static/chunks/app/api/auth/login/route-9ed8f7909a84e383.js +0 -1
  819. package/app/.next/static/chunks/app/api/auth/logout/route-9ed8f7909a84e383.js +0 -1
  820. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-9ed8f7909a84e383.js +0 -1
  821. package/app/.next/static/chunks/app/api/auth/oidc/start/route-9ed8f7909a84e383.js +0 -1
  822. package/app/.next/static/chunks/app/api/auth/oidc/test/route-9ed8f7909a84e383.js +0 -1
  823. package/app/.next/static/chunks/app/api/auth/reset-password/route-9ed8f7909a84e383.js +0 -1
  824. package/app/.next/static/chunks/app/api/auth/status/route-9ed8f7909a84e383.js +0 -1
  825. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-9ed8f7909a84e383.js +0 -1
  826. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-9ed8f7909a84e383.js +0 -1
  827. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-9ed8f7909a84e383.js +0 -1
  828. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-9ed8f7909a84e383.js +0 -1
  829. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-9ed8f7909a84e383.js +0 -1
  830. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-9ed8f7909a84e383.js +0 -1
  831. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-9ed8f7909a84e383.js +0 -1
  832. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-9ed8f7909a84e383.js +0 -1
  833. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-9ed8f7909a84e383.js +0 -1
  834. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-9ed8f7909a84e383.js +0 -1
  835. package/app/.next/static/chunks/app/api/cli-tools/cursor-byok/jobs/[jobId]/events/route-9ed8f7909a84e383.js +0 -1
  836. package/app/.next/static/chunks/app/api/cli-tools/cursor-byok/jobs/[jobId]/sudo/route-9ed8f7909a84e383.js +0 -1
  837. package/app/.next/static/chunks/app/api/cli-tools/cursor-byok/jobs/route-9ed8f7909a84e383.js +0 -1
  838. package/app/.next/static/chunks/app/api/cli-tools/cursor-byok/route-9ed8f7909a84e383.js +0 -1
  839. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-9ed8f7909a84e383.js +0 -1
  840. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-9ed8f7909a84e383.js +0 -1
  841. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-9ed8f7909a84e383.js +0 -1
  842. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-9ed8f7909a84e383.js +0 -1
  843. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-9ed8f7909a84e383.js +0 -1
  844. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-9ed8f7909a84e383.js +0 -1
  845. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-9ed8f7909a84e383.js +0 -1
  846. package/app/.next/static/chunks/app/api/combos/[id]/route-9ed8f7909a84e383.js +0 -1
  847. package/app/.next/static/chunks/app/api/combos/route-9ed8f7909a84e383.js +0 -1
  848. package/app/.next/static/chunks/app/api/donate/route-9ed8f7909a84e383.js +0 -1
  849. package/app/.next/static/chunks/app/api/headroom/extras/route-9ed8f7909a84e383.js +0 -1
  850. package/app/.next/static/chunks/app/api/headroom/proxy/[...path]/route-9ed8f7909a84e383.js +0 -1
  851. package/app/.next/static/chunks/app/api/headroom/restart/route-9ed8f7909a84e383.js +0 -1
  852. package/app/.next/static/chunks/app/api/headroom/start/route-9ed8f7909a84e383.js +0 -1
  853. package/app/.next/static/chunks/app/api/headroom/status/route-9ed8f7909a84e383.js +0 -1
  854. package/app/.next/static/chunks/app/api/headroom/stop/route-9ed8f7909a84e383.js +0 -1
  855. package/app/.next/static/chunks/app/api/health/route-9ed8f7909a84e383.js +0 -1
  856. package/app/.next/static/chunks/app/api/init/route-9ed8f7909a84e383.js +0 -1
  857. package/app/.next/static/chunks/app/api/internal/account-health/route-9ed8f7909a84e383.js +0 -1
  858. package/app/.next/static/chunks/app/api/internal/request-detail/route-9ed8f7909a84e383.js +0 -1
  859. package/app/.next/static/chunks/app/api/internal/usage/route-9ed8f7909a84e383.js +0 -1
  860. package/app/.next/static/chunks/app/api/keys/[id]/reset-usage/route-9ed8f7909a84e383.js +0 -1
  861. package/app/.next/static/chunks/app/api/keys/[id]/route-9ed8f7909a84e383.js +0 -1
  862. package/app/.next/static/chunks/app/api/keys/[id]/usage/route-9ed8f7909a84e383.js +0 -1
  863. package/app/.next/static/chunks/app/api/keys/route-9ed8f7909a84e383.js +0 -1
  864. package/app/.next/static/chunks/app/api/locale/route-9ed8f7909a84e383.js +0 -1
  865. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-9ed8f7909a84e383.js +0 -1
  866. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-9ed8f7909a84e383.js +0 -1
  867. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-9ed8f7909a84e383.js +0 -1
  868. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-9ed8f7909a84e383.js +0 -1
  869. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-9ed8f7909a84e383.js +0 -1
  870. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-9ed8f7909a84e383.js +0 -1
  871. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-9ed8f7909a84e383.js +0 -1
  872. package/app/.next/static/chunks/app/api/models/alias/route-9ed8f7909a84e383.js +0 -1
  873. package/app/.next/static/chunks/app/api/models/availability/route-9ed8f7909a84e383.js +0 -1
  874. package/app/.next/static/chunks/app/api/models/custom/route-9ed8f7909a84e383.js +0 -1
  875. package/app/.next/static/chunks/app/api/models/disabled/route-9ed8f7909a84e383.js +0 -1
  876. package/app/.next/static/chunks/app/api/models/route-9ed8f7909a84e383.js +0 -1
  877. package/app/.next/static/chunks/app/api/models/test/route-9ed8f7909a84e383.js +0 -1
  878. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-9ed8f7909a84e383.js +0 -1
  879. package/app/.next/static/chunks/app/api/oauth/codex/bulk-import/route-9ed8f7909a84e383.js +0 -1
  880. package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-9ed8f7909a84e383.js +0 -1
  881. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-9ed8f7909a84e383.js +0 -1
  882. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-9ed8f7909a84e383.js +0 -1
  883. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-9ed8f7909a84e383.js +0 -1
  884. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-9ed8f7909a84e383.js +0 -1
  885. package/app/.next/static/chunks/app/api/oauth/kiro/api-key/route-9ed8f7909a84e383.js +0 -1
  886. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-9ed8f7909a84e383.js +0 -1
  887. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-9ed8f7909a84e383.js +0 -1
  888. package/app/.next/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-9ed8f7909a84e383.js +0 -1
  889. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-9ed8f7909a84e383.js +0 -1
  890. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-9ed8f7909a84e383.js +0 -1
  891. package/app/.next/static/chunks/app/api/pricing/route-9ed8f7909a84e383.js +0 -1
  892. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-9ed8f7909a84e383.js +0 -1
  893. package/app/.next/static/chunks/app/api/provider-nodes/route-9ed8f7909a84e383.js +0 -1
  894. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-9ed8f7909a84e383.js +0 -1
  895. package/app/.next/static/chunks/app/api/providers/[id]/models/route-9ed8f7909a84e383.js +0 -1
  896. package/app/.next/static/chunks/app/api/providers/[id]/route-9ed8f7909a84e383.js +0 -1
  897. package/app/.next/static/chunks/app/api/providers/[id]/test/route-9ed8f7909a84e383.js +0 -1
  898. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-9ed8f7909a84e383.js +0 -1
  899. package/app/.next/static/chunks/app/api/providers/client/route-9ed8f7909a84e383.js +0 -1
  900. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-9ed8f7909a84e383.js +0 -1
  901. package/app/.next/static/chunks/app/api/providers/route-9ed8f7909a84e383.js +0 -1
  902. package/app/.next/static/chunks/app/api/providers/suggested-models/route-9ed8f7909a84e383.js +0 -1
  903. package/app/.next/static/chunks/app/api/providers/test-batch/route-9ed8f7909a84e383.js +0 -1
  904. package/app/.next/static/chunks/app/api/providers/validate/route-9ed8f7909a84e383.js +0 -1
  905. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-9ed8f7909a84e383.js +0 -1
  906. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-9ed8f7909a84e383.js +0 -1
  907. package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-9ed8f7909a84e383.js +0 -1
  908. package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-9ed8f7909a84e383.js +0 -1
  909. package/app/.next/static/chunks/app/api/proxy-pools/route-9ed8f7909a84e383.js +0 -1
  910. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-9ed8f7909a84e383.js +0 -1
  911. package/app/.next/static/chunks/app/api/pxpipe/health/route-9ed8f7909a84e383.js +0 -1
  912. package/app/.next/static/chunks/app/api/pxpipe/install/route-9ed8f7909a84e383.js +0 -1
  913. package/app/.next/static/chunks/app/api/pxpipe/logs/route-9ed8f7909a84e383.js +0 -1
  914. package/app/.next/static/chunks/app/api/pxpipe/restart/route-9ed8f7909a84e383.js +0 -1
  915. package/app/.next/static/chunks/app/api/pxpipe/start/route-9ed8f7909a84e383.js +0 -1
  916. package/app/.next/static/chunks/app/api/pxpipe/stats/route-9ed8f7909a84e383.js +0 -1
  917. package/app/.next/static/chunks/app/api/pxpipe/status/route-9ed8f7909a84e383.js +0 -1
  918. package/app/.next/static/chunks/app/api/pxpipe/stop/route-9ed8f7909a84e383.js +0 -1
  919. package/app/.next/static/chunks/app/api/settings/database/route-9ed8f7909a84e383.js +0 -1
  920. package/app/.next/static/chunks/app/api/settings/database/selective/route-9ed8f7909a84e383.js +0 -1
  921. package/app/.next/static/chunks/app/api/settings/proxy-test/route-9ed8f7909a84e383.js +0 -1
  922. package/app/.next/static/chunks/app/api/settings/require-login/route-9ed8f7909a84e383.js +0 -1
  923. package/app/.next/static/chunks/app/api/settings/route-9ed8f7909a84e383.js +0 -1
  924. package/app/.next/static/chunks/app/api/shutdown/route-9ed8f7909a84e383.js +0 -1
  925. package/app/.next/static/chunks/app/api/tags/route-9ed8f7909a84e383.js +0 -1
  926. package/app/.next/static/chunks/app/api/translator/console-logs/route-9ed8f7909a84e383.js +0 -1
  927. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-9ed8f7909a84e383.js +0 -1
  928. package/app/.next/static/chunks/app/api/translator/load/route-9ed8f7909a84e383.js +0 -1
  929. package/app/.next/static/chunks/app/api/translator/save/route-9ed8f7909a84e383.js +0 -1
  930. package/app/.next/static/chunks/app/api/translator/send/route-9ed8f7909a84e383.js +0 -1
  931. package/app/.next/static/chunks/app/api/translator/translate/route-9ed8f7909a84e383.js +0 -1
  932. package/app/.next/static/chunks/app/api/tunnel/disable/route-9ed8f7909a84e383.js +0 -1
  933. package/app/.next/static/chunks/app/api/tunnel/enable/route-9ed8f7909a84e383.js +0 -1
  934. package/app/.next/static/chunks/app/api/tunnel/status/route-9ed8f7909a84e383.js +0 -1
  935. package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-9ed8f7909a84e383.js +0 -1
  936. package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-9ed8f7909a84e383.js +0 -1
  937. package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-9ed8f7909a84e383.js +0 -1
  938. package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-9ed8f7909a84e383.js +0 -1
  939. package/app/.next/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-9ed8f7909a84e383.js +0 -1
  940. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-9ed8f7909a84e383.js +0 -1
  941. package/app/.next/static/chunks/app/api/usage/chart/route-9ed8f7909a84e383.js +0 -1
  942. package/app/.next/static/chunks/app/api/usage/history/route-9ed8f7909a84e383.js +0 -1
  943. package/app/.next/static/chunks/app/api/usage/logs/route-9ed8f7909a84e383.js +0 -1
  944. package/app/.next/static/chunks/app/api/usage/providers/route-9ed8f7909a84e383.js +0 -1
  945. package/app/.next/static/chunks/app/api/usage/report/route-9ed8f7909a84e383.js +0 -1
  946. package/app/.next/static/chunks/app/api/usage/request-details/route-9ed8f7909a84e383.js +0 -1
  947. package/app/.next/static/chunks/app/api/usage/request-logs/route-9ed8f7909a84e383.js +0 -1
  948. package/app/.next/static/chunks/app/api/usage/stats/route-9ed8f7909a84e383.js +0 -1
  949. package/app/.next/static/chunks/app/api/usage/stream/route-9ed8f7909a84e383.js +0 -1
  950. package/app/.next/static/chunks/app/api/v1/api/chat/route-9ed8f7909a84e383.js +0 -1
  951. package/app/.next/static/chunks/app/api/v1/audio/speech/route-9ed8f7909a84e383.js +0 -1
  952. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-9ed8f7909a84e383.js +0 -1
  953. package/app/.next/static/chunks/app/api/v1/audio/voices/route-9ed8f7909a84e383.js +0 -1
  954. package/app/.next/static/chunks/app/api/v1/chat/completions/route-9ed8f7909a84e383.js +0 -1
  955. package/app/.next/static/chunks/app/api/v1/embeddings/route-9ed8f7909a84e383.js +0 -1
  956. package/app/.next/static/chunks/app/api/v1/images/generations/route-9ed8f7909a84e383.js +0 -1
  957. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-9ed8f7909a84e383.js +0 -1
  958. package/app/.next/static/chunks/app/api/v1/messages/route-9ed8f7909a84e383.js +0 -1
  959. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-9ed8f7909a84e383.js +0 -1
  960. package/app/.next/static/chunks/app/api/v1/models/info/route-9ed8f7909a84e383.js +0 -1
  961. package/app/.next/static/chunks/app/api/v1/models/route-9ed8f7909a84e383.js +0 -1
  962. package/app/.next/static/chunks/app/api/v1/responses/compact/route-9ed8f7909a84e383.js +0 -1
  963. package/app/.next/static/chunks/app/api/v1/responses/route-9ed8f7909a84e383.js +0 -1
  964. package/app/.next/static/chunks/app/api/v1/route-9ed8f7909a84e383.js +0 -1
  965. package/app/.next/static/chunks/app/api/v1/search/route-9ed8f7909a84e383.js +0 -1
  966. package/app/.next/static/chunks/app/api/v1/web/fetch/route-9ed8f7909a84e383.js +0 -1
  967. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-9ed8f7909a84e383.js +0 -1
  968. package/app/.next/static/chunks/app/api/v1beta/models/route-9ed8f7909a84e383.js +0 -1
  969. package/app/.next/static/chunks/app/api/version/route-9ed8f7909a84e383.js +0 -1
  970. package/app/.next/static/chunks/app/api/version/shutdown/route-9ed8f7909a84e383.js +0 -1
  971. package/app/.next/static/chunks/app/api/version/update/route-9ed8f7909a84e383.js +0 -1
  972. package/app/.next/static/chunks/app/manifest.webmanifest/route-9ed8f7909a84e383.js +0 -1
  973. package/app/.next/static/chunks/app/page-9ed8f7909a84e383.js +0 -1
  974. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-9ed8f7909a84e383.js +0 -1
  975. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-9ed8f7909a84e383.js +0 -1
  976. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-9ed8f7909a84e383.js +0 -1
  977. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-9ed8f7909a84e383.js +0 -1
  978. package/app/.next/static/css/79e49d401b07510e.css +0 -1
  979. /package/app/.next/static/{4eHcO0iL_6PDYZfGNLlqJ → lo-GnJQxxRLdCvA2oang1}/_ssgManifest.js +0 -0
@@ -14,7 +14,7 @@ export default {
14
14
  },
15
15
  category: "apikey",
16
16
  transport: {
17
- baseUrl: "https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions",
17
+ baseUrl: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions",
18
18
  headers: {},
19
19
  quirks: { preserveCacheControl: true },
20
20
  },
@@ -1,5 +1,3 @@
1
- import { CLAUDE_API_HEADERS } from "../shared.js";
2
-
3
1
  export default {
4
2
  id: "anthropic",
5
3
  priority: 30,
@@ -19,7 +17,7 @@ export default {
19
17
  baseUrl: "https://api.anthropic.com/v1/messages",
20
18
  format: "claude",
21
19
  headers: {
22
- "Anthropic-Version": "2023-06-01",
20
+ "anthropic-version": "2023-06-01",
23
21
  "Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
24
22
  },
25
23
  },
@@ -1,13 +1,21 @@
1
1
  /**
2
2
  * Grok CLI / Grok Build (cli-chat-proxy.grok.com)
3
3
  *
4
- * Source of truth: HAR capture of official grok-shell/grok-pager 0.2.93
4
+ * Source of truth: wire capture of official @xai-official/grok 0.2.99
5
5
  * talking to https://cli-chat-proxy.grok.com (OpenAI Responses API).
6
6
  *
7
7
  * Distinct from:
8
- * - `xai` → api.x.ai (API key / Grok Build OAuth PKCE)
8
+ * - `xai` → api.x.ai (API key / xAI API OAuth PKCE)
9
9
  * - `grok-web` → grok.com web SSO cookie
10
10
  */
11
+ import {
12
+ GROK_CLI_BASE_URL,
13
+ GROK_CLI_CLIENT_IDENTIFIER,
14
+ GROK_CLI_MODEL,
15
+ GROK_CLI_USER_AGENT,
16
+ GROK_CLI_VERSION,
17
+ } from "../../config/grokCli.js";
18
+
11
19
  export default {
12
20
  id: "grok-cli",
13
21
  priority: 275,
@@ -29,32 +37,28 @@ export default {
29
37
  authModes: ["oauth"],
30
38
  hasOAuth: true,
31
39
  thinkingConfig: {
32
- options: ["low", "medium", "high"],
40
+ options: ["low", "medium", "high", "xhigh"],
33
41
  defaultMode: "high",
34
42
  },
35
43
  transport: {
36
- baseUrl: "https://cli-chat-proxy.grok.com/v1/responses",
44
+ baseUrl: `${GROK_CLI_BASE_URL}/responses`,
37
45
  format: "openai-responses",
38
46
  forceStream: true,
39
- modelsUrl: "https://cli-chat-proxy.grok.com/v1/models",
40
- userUrl: "https://cli-chat-proxy.grok.com/v1/user",
41
- billingUrl: "https://cli-chat-proxy.grok.com/v1/billing",
42
- clientVersion: "0.2.93",
43
- clientIdentifier: "grok-pager",
47
+ modelsUrl: `${GROK_CLI_BASE_URL}/models`,
48
+ userUrl: `${GROK_CLI_BASE_URL}/user`,
49
+ billingUrl: `${GROK_CLI_BASE_URL}/billing`,
50
+ clientVersion: GROK_CLI_VERSION,
51
+ clientIdentifier: GROK_CLI_CLIENT_IDENTIFIER,
44
52
  tokenAuth: "xai-grok-cli",
45
53
  headers: {
46
- "User-Agent": "grok-pager/0.2.93 grok-shell/0.2.93 (linux; x86_64)",
47
- "x-xai-token-auth": "xai-grok-cli",
48
- "x-grok-client-identifier": "grok-pager",
49
- "x-grok-client-version": "0.2.93",
50
- "x-authenticateresponse": "authenticate-response",
54
+ "User-Agent": GROK_CLI_USER_AGENT,
55
+ "x-grok-client-identifier": GROK_CLI_CLIENT_IDENTIFIER,
56
+ "x-grok-client-version": GROK_CLI_VERSION,
51
57
  },
52
- // Compaction threshold mirrored from CLI (x-compaction-at)
53
- compactionAt: 400000,
54
58
  // Quota tracker: official CLI polls billing?format=credits + user?include=subscription
55
59
  usage: {
56
- url: "https://cli-chat-proxy.grok.com/v1/billing?format=credits",
57
- userUrl: "https://cli-chat-proxy.grok.com/v1/user?include=subscription",
60
+ url: `${GROK_CLI_BASE_URL}/billing?format=credits`,
61
+ userUrl: `${GROK_CLI_BASE_URL}/user?include=subscription`,
58
62
  },
59
63
  retry: {
60
64
  429: { attempts: 2, delayMs: 2000 },
@@ -63,6 +67,12 @@ export default {
63
67
  },
64
68
  },
65
69
  models: [
70
+ {
71
+ id: GROK_CLI_MODEL,
72
+ name: "Grok Build",
73
+ contextLength: 500000,
74
+ maxOutputTokens: 64000,
75
+ },
66
76
  { id: "grok-4.5", name: "Grok 4.5" },
67
77
  { id: "grok-4.5-high", name: "Grok 4.5 (High)", upstreamModelId: "grok-4.5" },
68
78
  { id: "grok-4.5-medium", name: "Grok 4.5 (Medium)", upstreamModelId: "grok-4.5" },
@@ -65,18 +65,30 @@ export default {
65
65
  { id: "qwen3-coder-next", name: "Qwen3 Coder Next", strip: ["image","audio"] },
66
66
  { id: "glm-5", name: "GLM 5" },
67
67
  { id: "MiniMax-M2.5", name: "MiniMax M2.5" },
68
+ { id: "gpt-5.6-sol", name: "GPT 5.6 Sol", contextLength: 272000, rateMultiplier: 2.4, upstreamModelId: "gpt-5.6-sol", description: "Experimental preview of OpenAI GPT 5.6 Sol with 272k context window" },
69
+ { id: "gpt-5.6-terra", name: "GPT 5.6 Terra", contextLength: 272000, rateMultiplier: 1.2, upstreamModelId: "gpt-5.6-terra", description: "Experimental preview of OpenAI GPT 5.6 Terra with 272k context window" },
70
+ { id: "gpt-5.6-luna", name: "GPT 5.6 Luna", contextLength: 272000, rateMultiplier: 0.6, upstreamModelId: "gpt-5.6-luna", description: "Experimental preview of OpenAI GPT 5.6 Luna with 272k context window" },
68
71
  // Thinking variants
69
72
  { id: "claude-sonnet-5-thinking", name: "Claude Sonnet 5 (Thinking)" },
70
73
  { id: "claude-sonnet-4.5-thinking", name: "Claude Sonnet 4.5 (Thinking)" },
71
74
  { id: "claude-haiku-4.5-thinking", name: "Claude Haiku 4.5 (Thinking)" },
75
+ { id: "gpt-5.6-sol-thinking", name: "GPT 5.6 Sol (Thinking)", contextLength: 272000, rateMultiplier: 2.4, upstreamModelId: "gpt-5.6-sol", description: "Experimental preview of OpenAI GPT 5.6 Sol with 272k context window" },
76
+ { id: "gpt-5.6-terra-thinking", name: "GPT 5.6 Terra (Thinking)", contextLength: 272000, rateMultiplier: 1.2, upstreamModelId: "gpt-5.6-terra", description: "Experimental preview of OpenAI GPT 5.6 Terra with 272k context window" },
77
+ { id: "gpt-5.6-luna-thinking", name: "GPT 5.6 Luna (Thinking)", contextLength: 272000, rateMultiplier: 0.6, upstreamModelId: "gpt-5.6-luna", description: "Experimental preview of OpenAI GPT 5.6 Luna with 272k context window" },
72
78
  // Agentic variants
73
79
  { id: "claude-sonnet-5-agentic", name: "Claude Sonnet 5 (Agentic)" },
74
80
  { id: "claude-sonnet-4.5-agentic", name: "Claude Sonnet 4.5 (Agentic)" },
75
81
  { id: "claude-haiku-4.5-agentic", name: "Claude Haiku 4.5 (Agentic)" },
82
+ { id: "gpt-5.6-sol-agentic", name: "GPT 5.6 Sol (Agentic)", contextLength: 272000, rateMultiplier: 2.4, upstreamModelId: "gpt-5.6-sol", description: "Experimental preview of OpenAI GPT 5.6 Sol with 272k context window" },
83
+ { id: "gpt-5.6-terra-agentic", name: "GPT 5.6 Terra (Agentic)", contextLength: 272000, rateMultiplier: 1.2, upstreamModelId: "gpt-5.6-terra", description: "Experimental preview of OpenAI GPT 5.6 Terra with 272k context window" },
84
+ { id: "gpt-5.6-luna-agentic", name: "GPT 5.6 Luna (Agentic)", contextLength: 272000, rateMultiplier: 0.6, upstreamModelId: "gpt-5.6-luna", description: "Experimental preview of OpenAI GPT 5.6 Luna with 272k context window" },
76
85
  // Thinking + Agentic variants
77
86
  { id: "claude-sonnet-5-thinking-agentic", name: "Claude Sonnet 5 (Thinking + Agentic)" },
78
87
  { id: "claude-sonnet-4.5-thinking-agentic", name: "Claude Sonnet 4.5 (Thinking + Agentic)" },
79
88
  { id: "claude-haiku-4.5-thinking-agentic", name: "Claude Haiku 4.5 (Thinking + Agentic)" },
89
+ { id: "gpt-5.6-sol-thinking-agentic", name: "GPT 5.6 Sol (Thinking + Agentic)", contextLength: 272000, rateMultiplier: 2.4, upstreamModelId: "gpt-5.6-sol", description: "Experimental preview of OpenAI GPT 5.6 Sol with 272k context window" },
90
+ { id: "gpt-5.6-terra-thinking-agentic", name: "GPT 5.6 Terra (Thinking + Agentic)", contextLength: 272000, rateMultiplier: 1.2, upstreamModelId: "gpt-5.6-terra", description: "Experimental preview of OpenAI GPT 5.6 Terra with 272k context window" },
91
+ { id: "gpt-5.6-luna-thinking-agentic", name: "GPT 5.6 Luna (Thinking + Agentic)", contextLength: 272000, rateMultiplier: 0.6, upstreamModelId: "gpt-5.6-luna", description: "Experimental preview of OpenAI GPT 5.6 Luna with 272k context window" },
80
92
  ],
81
93
  oauth: {
82
94
  ssoOidcEndpoint: "https://oidc.us-east-1.amazonaws.com",
@@ -32,9 +32,13 @@ export default {
32
32
  { id: "grok-code-fast-1", name: "Grok Code Fast" },
33
33
  { id: "grok-3", name: "Grok 3" },
34
34
  { id: "grok-2-image-1212", name: "Grok 2 Image", params: ["n","response_format"], kind: "image" },
35
+ { id: "grok-imagine-video", name: "Grok Imagine Video", params: ["duration","aspect_ratio","resolution"], kind: "video" },
35
36
  ],
36
- serviceKinds: ["llm","imageToText","webSearch","image"],
37
+ serviceKinds: ["llm","imageToText","webSearch","image","video"],
37
38
  imageConfig: { baseUrl: "https://api.x.ai/v1/images/generations", bodyFields: ["model","prompt","n","response_format"] },
39
+ // Async video jobs (POST returns { request_id }, GET polls until done/failed).
40
+ // Docs: https://docs.x.ai/developers/rest-api-reference/inference/videos
41
+ videoConfig: { baseUrl: "https://api.x.ai/v1/videos" },
38
42
  searchViaChat: {
39
43
  defaultModel: "grok-4.20-reasoning",
40
44
  endpoint: "https://api.x.ai/v1/responses",
@@ -0,0 +1,127 @@
1
+ import {
2
+ GROK_CLI_BASE_URL,
3
+ GROK_CLI_CLIENT_IDENTIFIER,
4
+ GROK_CLI_MODEL,
5
+ GROK_CLI_USER_AGENT,
6
+ GROK_CLI_VERSION,
7
+ } from "../config/grokCli.js";
8
+ import { refreshProviderCredentials } from "./oauthCredentialManager.js";
9
+ import { proxyAwareFetch } from "../utils/proxyFetch.js";
10
+
11
+ const MODELS_URL = `${GROK_CLI_BASE_URL}/models`;
12
+
13
+ function modelEntries(data) {
14
+ const value = Array.isArray(data) ? data : data?.data ?? data?.models ?? data?.results ?? [];
15
+ if (Array.isArray(value)) return value.map((item) => [null, item]);
16
+ if (value && typeof value === "object") return Object.entries(value);
17
+ return [];
18
+ }
19
+
20
+ export function parseGrokCliModels(data) {
21
+ const seen = new Set();
22
+ const models = [];
23
+
24
+ for (const [key, raw] of modelEntries(data)) {
25
+ const item = typeof raw === "string" ? { id: raw } : raw;
26
+ if (!item || typeof item !== "object" || Array.isArray(item)) continue;
27
+ const id = String(
28
+ item.id ?? item.model_id ?? item.modelId ?? item.model ?? item.slug ?? key ?? item.name ?? "",
29
+ ).trim();
30
+ if (!id || seen.has(id)) continue;
31
+ seen.add(id);
32
+
33
+ const model = {
34
+ ...item,
35
+ id,
36
+ name: item.display_name ?? item.displayName ?? item.name ?? id,
37
+ };
38
+ const contextLength = Number(
39
+ item.context_length ?? item.contextLength ?? item.context_window ?? item.contextWindow,
40
+ );
41
+ const maxOutputTokens = Number(item.max_output_tokens ?? item.maxOutputTokens);
42
+ if (Number.isFinite(contextLength) && contextLength > 0) model.contextLength = contextLength;
43
+ if (Number.isFinite(maxOutputTokens) && maxOutputTokens > 0) {
44
+ model.maxOutputTokens = maxOutputTokens;
45
+ }
46
+ if (id === GROK_CLI_MODEL) {
47
+ model.contextLength ||= 500000;
48
+ model.maxOutputTokens ||= 64000;
49
+ }
50
+ models.push(model);
51
+ }
52
+
53
+ return models;
54
+ }
55
+
56
+ function buildHeaders(accessToken, providerSpecificData = {}) {
57
+ const headers = {
58
+ Authorization: `Bearer ${accessToken}`,
59
+ Accept: "application/json",
60
+ "User-Agent": GROK_CLI_USER_AGENT,
61
+ "x-xai-token-auth": "xai-grok-cli",
62
+ "x-grok-client-version": GROK_CLI_VERSION,
63
+ "x-grok-client-identifier": GROK_CLI_CLIENT_IDENTIFIER,
64
+ "x-grok-client-mode": "headless",
65
+ };
66
+ const email = providerSpecificData?.email;
67
+ const userId = providerSpecificData?.userId || providerSpecificData?.principalId;
68
+ if (email) headers["x-email"] = email;
69
+ if (userId) headers["x-userid"] = userId;
70
+ return headers;
71
+ }
72
+
73
+ export async function resolveGrokCliModels(credentials, options = {}) {
74
+ const {
75
+ fetchFn = proxyAwareFetch,
76
+ log = console,
77
+ proxyOptions = null,
78
+ onCredentialsRefreshed,
79
+ } = options;
80
+ let accessToken = credentials?.accessToken;
81
+ if (!accessToken) return { models: [], warning: "Grok CLI access token is missing." };
82
+
83
+ const request = (token) => fetchFn(
84
+ MODELS_URL,
85
+ {
86
+ method: "GET",
87
+ headers: buildHeaders(token, credentials?.providerSpecificData),
88
+ },
89
+ proxyOptions,
90
+ );
91
+
92
+ try {
93
+ let response = await request(accessToken);
94
+ if ((response.status === 401 || response.status === 403) && credentials?.refreshToken) {
95
+ const refreshed = await refreshProviderCredentials(
96
+ "grok-cli",
97
+ credentials,
98
+ log,
99
+ proxyOptions,
100
+ );
101
+ if (refreshed?.accessToken) {
102
+ accessToken = refreshed.accessToken;
103
+ try {
104
+ await onCredentialsRefreshed?.(refreshed);
105
+ } catch (error) {
106
+ log?.warn?.("Grok CLI credential persistence failed", error);
107
+ }
108
+ response = await request(accessToken);
109
+ }
110
+ }
111
+
112
+ if (!response.ok) {
113
+ const detail = await response.text().catch(() => "");
114
+ return {
115
+ models: [],
116
+ warning: `Grok CLI model discovery failed (${response.status})${detail ? `: ${detail.slice(0, 160)}` : ""}`,
117
+ };
118
+ }
119
+
120
+ const models = parseGrokCliModels(await response.json());
121
+ return models.length
122
+ ? { models }
123
+ : { models: [], warning: "Grok CLI returned no selectable models." };
124
+ } catch (error) {
125
+ return { models: [], warning: `Grok CLI model discovery failed: ${error.message}` };
126
+ }
127
+ }
@@ -17,6 +17,10 @@ for (const entry of REGISTRY) {
17
17
  for (const a of entry.aliases || []) ALIAS_TO_PROVIDER_ID[a] = entry.id;
18
18
  }
19
19
 
20
+ const BUILTIN_MODEL_ALIASES = {
21
+ "grok-build": "gcli/grok-build",
22
+ };
23
+
20
24
  /**
21
25
  * Resolve provider alias to provider ID
22
26
  */
@@ -104,7 +108,9 @@ export async function getModelInfoCore(modelStr, aliasesOrGetter) {
104
108
  : aliasesOrGetter;
105
109
 
106
110
  // Resolve alias
107
- const resolved = resolveModelAliasFromMap(parsed.model, aliases);
111
+ const resolved =
112
+ resolveModelAliasFromMap(parsed.model, aliases) ||
113
+ resolveModelAliasFromMap(parsed.model, BUILTIN_MODEL_ALIASES);
108
114
  if (resolved) {
109
115
  return resolved;
110
116
  }
@@ -24,6 +24,11 @@
24
24
 
25
25
  import { proxyAwareFetch } from "../../utils/proxyFetch.js";
26
26
  import { U, parseResetTime, toFiniteNumber } from "./shared.js";
27
+ import {
28
+ GROK_CLI_CLIENT_IDENTIFIER,
29
+ GROK_CLI_USER_AGENT,
30
+ GROK_CLI_VERSION,
31
+ } from "../../config/grokCli.js";
27
32
 
28
33
  const USAGE = U("grok-cli");
29
34
  const BILLING_URL = USAGE.url || "https://cli-chat-proxy.grok.com/v1/billing?format=credits";
@@ -43,10 +48,11 @@ function buildGrokCliHeaders(accessToken, providerSpecificData = {}) {
43
48
  const headers = {
44
49
  Authorization: `Bearer ${accessToken}`,
45
50
  Accept: "application/json",
46
- "User-Agent": "grok-pager/0.2.93 grok-shell/0.2.93 (linux; x86_64)",
51
+ "User-Agent": GROK_CLI_USER_AGENT,
47
52
  "x-xai-token-auth": "xai-grok-cli",
48
- "x-grok-client-identifier": "grok-pager",
49
- "x-grok-client-version": "0.2.93",
53
+ "x-grok-client-identifier": GROK_CLI_CLIENT_IDENTIFIER,
54
+ "x-grok-client-version": GROK_CLI_VERSION,
55
+ "x-grok-client-mode": "headless",
50
56
  };
51
57
  const email = psd.email;
52
58
  const userId = psd.userId || psd.principalId;
@@ -55,8 +61,18 @@ function buildGrokCliHeaders(accessToken, providerSpecificData = {}) {
55
61
  return headers;
56
62
  }
57
63
 
64
+ function subscriptionTier(user, config) {
65
+ const rawTier =
66
+ user?.subscriptionTier ??
67
+ user?.subscription_tier ??
68
+ user?.subscription?.tier ??
69
+ config?.subscriptionTier ??
70
+ config?.subscription_tier;
71
+ return typeof rawTier === "string" ? rawTier.trim() : "";
72
+ }
73
+
58
74
  function resolvePlan(user, config) {
59
- const tier = typeof user?.subscriptionTier === "string" ? user.subscriptionTier.trim() : "";
75
+ const tier = subscriptionTier(user, config);
60
76
  if (tier) {
61
77
  return tier
62
78
  .replace(/[_-]+/g, " ")
@@ -105,11 +121,42 @@ export function parseGrokCliBilling(billing, user = null) {
105
121
 
106
122
  const periodEnd =
107
123
  parseResetTime(config.billingPeriodEnd) ||
124
+ parseResetTime(config.billing_period_end) ||
108
125
  parseResetTime(config.currentPeriod?.end) ||
126
+ parseResetTime(config.resetAt || config.resetsAt || config.periodEnd) ||
109
127
  parseResetTime(root.billingPeriodEnd) ||
128
+ parseResetTime(root.billing_period_end) ||
129
+ parseResetTime(root.resetAt || root.resetsAt || root.periodEnd) ||
110
130
  null;
111
131
 
112
132
  const quotas = {};
133
+ const tier = subscriptionTier(user, config);
134
+ const subscriptionAccess = Boolean(tier) && !/^(free|none|null)$/i.test(tier);
135
+
136
+ // Current Grok Build responses expose included monthly usage at top level.
137
+ const monthlyLimit = unwrapVal(
138
+ config.monthlyLimit ?? config.monthly_limit ?? root.monthlyLimit ?? root.monthly_limit,
139
+ NaN,
140
+ );
141
+ const includedUsed = unwrapVal(
142
+ config.includedUsed ?? config.included_used ?? root.includedUsed ?? root.included_used,
143
+ NaN,
144
+ );
145
+ const totalUsed = unwrapVal(
146
+ config.totalUsed ?? config.total_used ?? root.totalUsed ?? root.total_used,
147
+ NaN,
148
+ );
149
+ if (Number.isFinite(monthlyLimit) && monthlyLimit > 0) {
150
+ quotas["Monthly included"] = makeQuota({
151
+ used: Number.isFinite(includedUsed)
152
+ ? includedUsed
153
+ : Number.isFinite(totalUsed)
154
+ ? totalUsed
155
+ : 0,
156
+ total: monthlyLimit,
157
+ resetAt: periodEnd,
158
+ });
159
+ }
113
160
 
114
161
  // Primary: on-demand spending window (subscription / promo credits)
115
162
  const onDemandCap = unwrapVal(config.onDemandCap ?? root.onDemandCap, NaN);
@@ -121,7 +168,12 @@ export function parseGrokCliBilling(billing, user = null) {
121
168
  total: onDemandCap,
122
169
  resetAt: periodEnd,
123
170
  });
124
- } else if (Number.isFinite(onDemandCap) && onDemandCap === 0 && Number.isFinite(onDemandUsed)) {
171
+ } else if (
172
+ !subscriptionAccess &&
173
+ Number.isFinite(onDemandCap) &&
174
+ onDemandCap === 0 &&
175
+ Number.isFinite(onDemandUsed)
176
+ ) {
125
177
  // Cap 0 is the exhausted free/promo state (chat returns 402 spending-limit).
126
178
  // UI treats total===0 as unlimited, so use a synthetic 1/1 depleted row.
127
179
  quotas["On-demand"] = {
@@ -199,6 +251,7 @@ export function parseGrokCliBilling(billing, user = null) {
199
251
  quotas,
200
252
  periodEnd,
201
253
  exhausted,
254
+ subscriptionAccess,
202
255
  rawConfig: config,
203
256
  };
204
257
  }
@@ -255,8 +308,9 @@ export async function getGrokCliUsage(accessToken, providerSpecificData = null,
255
308
  if (!parsed.quotas || Object.keys(parsed.quotas).length === 0) {
256
309
  return {
257
310
  plan: parsed.plan,
258
- message:
259
- "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.",
311
+ message: parsed.subscriptionAccess
312
+ ? "Subscription access is active; Grok does not expose a numeric included quota."
313
+ : "Grok Build connected, but no credit allotment was returned. Free promo may be exhausted.",
260
314
  quotas: {},
261
315
  };
262
316
  }
package/app/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n9router",
3
- "version": "0.4.49",
3
+ "version": "0.4.50",
4
4
  "description": "Self-hosted AI routing gateway — local proxy for Claude, Gemini, OpenAI and 40+ providers",
5
5
  "keywords": [
6
6
  "ai",
@@ -64,6 +64,9 @@ export const MITM_TOOLS = {
64
64
  { id: "claude-haiku-4.5", name: "Claude Haiku 4.5", alias: "claude-haiku-4.5" },
65
65
  { id: "deepseek-3.2", name: "DeepSeek 3.2", alias: "deepseek-3.2" },
66
66
  { id: "minimax-m2.1", name: "MiniMax M2.1", alias: "minimax-m2.1" },
67
+ { id: "gpt-5.6-sol", name: "GPT 5.6 Sol", alias: "gpt-5.6-sol", contextLength: 272000, rateMultiplier: 2.4 },
68
+ { id: "gpt-5.6-terra", name: "GPT 5.6 Terra", alias: "gpt-5.6-terra", contextLength: 272000, rateMultiplier: 1.2 },
69
+ { id: "gpt-5.6-luna", name: "GPT 5.6 Luna", alias: "gpt-5.6-luna", contextLength: 272000, rateMultiplier: 0.6 },
67
70
  { id: "simple-task", name: "Qwen3 Coder Next", alias: "simple-task" },
68
71
  ],
69
72
  },
@@ -374,6 +377,30 @@ amp --model "{{model}}"
374
377
  { id: "gemini-3.1-pro", name: "Gemini 3.1 Pro", alias: "gemini", defaultValue: "gemini/gemini-3.1-pro" },
375
378
  ],
376
379
  },
380
+ "grok-build": {
381
+ id: "grok-build",
382
+ name: "Grok Build",
383
+ image: "/providers/grok-cli.png",
384
+ color: "#1DA1F2",
385
+ description: "xAI Grok Build TUI coding agent",
386
+ configType: "custom",
387
+ docsUrl: "https://x.ai/cli",
388
+ defaultCommand: "grok",
389
+ notes: [
390
+ {
391
+ type: "info",
392
+ text: "Grok Build uses ~/.grok/config.toml. 9Router writes a [model.9router] custom model and sets it as the default.",
393
+ },
394
+ {
395
+ type: "info",
396
+ text: "After Apply, run grok (or /model 9router) to use the routed model. Switch back anytime with /model grok-build.",
397
+ },
398
+ {
399
+ type: "warning",
400
+ text: "Config path: Linux/macOS ~/.grok/config.toml • Windows %USERPROFILE%\\.grok\\config.toml",
401
+ },
402
+ ],
403
+ },
377
404
  // HIDDEN: gemini-cli
378
405
  // "gemini-cli": {
379
406
  // id: "gemini-cli",
@@ -77,7 +77,7 @@ export const MEDIA_PROVIDER_KINDS = [
77
77
  { id: "stt", label: "Speech To Text", icon: "mic", endpoint: { method: "POST", path: "/v1/audio/transcriptions" } },
78
78
  { id: "webSearch", label: "Web Search", icon: "travel_explore", endpoint: { method: "POST", path: "/v1/search" } },
79
79
  { id: "webFetch", label: "Web Fetch", icon: "language", endpoint: { method: "POST", path: "/v1/web/fetch" } },
80
- { id: "video", label: "Video", icon: "movie", endpoint: { method: "POST", path: "/v1/video/generations" } },
80
+ { id: "video", label: "Video", icon: "movie", endpoint: { method: "POST", path: "/v1/videos/generations" } },
81
81
  { id: "music", label: "Music", icon: "music_note", endpoint: { method: "POST", path: "/v1/audio/music" } },
82
82
  ];
83
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n9router",
3
- "version": "0.4.49",
3
+ "version": "0.4.50",
4
4
  "description": "Self-hosted AI routing gateway — local proxy for Claude, Gemini, OpenAI and 40+ providers",
5
5
  "keywords": [
6
6
  "ai",
@@ -1 +0,0 @@
1
- exports.id=1350,exports.ids=[615,1350,5699],exports.modules={19713:function(a,b,c){a.exports=function(a,b){var d=[function(a,b,c){a.exports=c(34)},function(a,b,c){var d=c(29)("wks"),e=c(33),f=c(2).Symbol,g="function"==typeof f;(a.exports=function(a){return d[a]||(d[a]=g&&f[a]||(g?f:e)("Symbol."+a))}).store=d},function(a,b){var c=a.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c)},function(a,b,c){var d=c(9);a.exports=function(a){if(!d(a))throw TypeError(a+" is not an object!");return a}},function(a,b,c){a.exports=!c(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(a,b,c){var d=c(12),e=c(17);a.exports=c(4)?function(a,b,c){return d.f(a,b,e(1,c))}:function(a,b,c){return a[b]=c,a}},function(a,b){var c=a.exports={version:"2.4.0"};"number"==typeof __e&&(__e=c)},function(a,b,c){var d=c(14);a.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}}},function(a,b){var c={}.hasOwnProperty;a.exports=function(a,b){return c.call(a,b)}},function(a,b){a.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a}},function(a,b){a.exports={}},function(a,b){var c={}.toString;a.exports=function(a){return c.call(a).slice(8,-1)}},function(a,b,c){var d=c(3),e=c(26),f=c(32),g=Object.defineProperty;b.f=c(4)?Object.defineProperty:function(a,b,c){if(d(a),b=f(b,!0),d(c),e)try{return g(a,b,c)}catch(a){}if("get"in c||"set"in c)throw TypeError("Accessors not supported!");return"value"in c&&(a[b]=c.value),a}},function(a,b,c){var d=c(42),e=c(15);a.exports=function(a){return d(e(a))}},function(a,b){a.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a}},function(a,b){a.exports=function(a){if(void 0==a)throw TypeError("Can't call method on "+a);return a}},function(a,b,c){var d=c(9),e=c(2).document,f=d(e)&&d(e.createElement);a.exports=function(a){return f?e.createElement(a):{}}},function(a,b){a.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}}},function(a,b,c){var d=c(12).f,e=c(8),f=c(1)("toStringTag");a.exports=function(a,b,c){a&&!e(a=c?a:a.prototype,f)&&d(a,f,{configurable:!0,value:b})}},function(a,b,c){var d=c(29)("keys"),e=c(33);a.exports=function(a){return d[a]||(d[a]=e(a))}},function(a,b){var c=Math.ceil,d=Math.floor;a.exports=function(a){return isNaN(a*=1)?0:(a>0?d:c)(a)}},function(a,b,c){var d=c(11),e=c(1)("toStringTag"),f="Arguments"==d(function(){return arguments}()),g=function(a,b){try{return a[b]}catch(a){}};a.exports=function(a){var b,c,h;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=g(b=Object(a),e))?c:f?d(b):"Object"==(h=d(b))&&"function"==typeof b.callee?"Arguments":h}},function(a,b){a.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(a,b,c){var d=c(2),e=c(6),f=c(7),g=c(5),h="prototype",i=function(a,b,c){var j,k,l,m=a&i.F,n=a&i.G,o=a&i.S,p=a&i.P,q=a&i.B,r=a&i.W,s=n?e:e[b]||(e[b]={}),t=s[h],u=n?d:o?d[b]:(d[b]||{})[h];for(j in n&&(c=b),c)(k=!m&&u&&void 0!==u[j])&&j in s||(l=k?u[j]:c[j],s[j]=n&&"function"!=typeof u[j]?c[j]:q&&k?f(l,d):r&&u[j]==l?function(a){var b=function(b,c,d){if(this instanceof a){switch(arguments.length){case 0:return new a;case 1:return new a(b);case 2:return new a(b,c)}return new a(b,c,d)}return a.apply(this,arguments)};return b[h]=a[h],b}(l):p&&"function"==typeof l?f(Function.call,l):l,p&&((s.virtual||(s.virtual={}))[j]=l,a&i.R&&t&&!t[j]&&g(t,j,l)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,a.exports=i},function(a,b){a.exports=function(a){try{return!!a()}catch(a){return!0}}},function(a,b,c){a.exports=c(2).document&&document.documentElement},function(a,b,c){a.exports=!c(4)&&!c(24)(function(){return 7!=Object.defineProperty(c(16)("div"),"a",{get:function(){return 7}}).a})},function(a,b,c){"use strict";var d=c(28),e=c(23),f=c(57),g=c(5),h=c(8),i=c(10),j=c(45),k=c(18),l=c(52),m=c(1)("iterator"),n=!([].keys&&"next"in[].keys()),o="keys",p="values",q=function(){return this};a.exports=function(a,b,c,r,s,t,u){j(c,b,r);var v,w,x,y=function(a){if(!n&&a in C)return C[a];switch(a){case o:case p:return function(){return new c(this,a)}}return function(){return new c(this,a)}},z=b+" Iterator",A=s==p,B=!1,C=a.prototype,D=C[m]||C["@@iterator"]||s&&C[s],E=D||y(s),F=s?A?y("entries"):E:void 0,G="Array"==b&&C.entries||D;if(G&&(x=l(G.call(new a)))!==Object.prototype&&(k(x,z,!0),d||h(x,m)||g(x,m,q)),A&&D&&D.name!==p&&(B=!0,E=function(){return D.call(this)}),(!d||u)&&(n||B||!C[m])&&g(C,m,E),i[b]=E,i[z]=q,s)if(v={values:A?E:y(p),keys:t?E:y(o),entries:F},u)for(w in v)w in C||f(C,w,v[w]);else e(e.P+e.F*(n||B),b,v);return v}},function(a,b){a.exports=!0},function(a,b,c){var d=c(2),e="__core-js_shared__",f=d[e]||(d[e]={});a.exports=function(a){return f[a]||(f[a]={})}},function(a,b,c){var d,e,f,g=c(7),h=c(41),i=c(25),j=c(16),k=c(2),l=k.process,m=k.setImmediate,n=k.clearImmediate,o=k.MessageChannel,p=0,q={},r="onreadystatechange",s=function(){var a=+this;if(q.hasOwnProperty(a)){var b=q[a];delete q[a],b()}},t=function(a){s.call(a.data)};m&&n||(m=function(a){for(var b=[],c=1;arguments.length>c;)b.push(arguments[c++]);return q[++p]=function(){h("function"==typeof a?a:Function(a),b)},d(p),p},n=function(a){delete q[a]},"process"==c(11)(l)?d=function(a){l.nextTick(g(s,a,1))}:o?(f=(e=new o).port2,e.port1.onmessage=t,d=g(f.postMessage,f,1)):k.addEventListener&&"function"==typeof postMessage&&!k.importScripts?(d=function(a){k.postMessage(a+"","*")},k.addEventListener("message",t,!1)):d=r in j("script")?function(a){i.appendChild(j("script"))[r]=function(){i.removeChild(this),s.call(a)}}:function(a){setTimeout(g(s,a,1),0)}),a.exports={set:m,clear:n}},function(a,b,c){var d=c(20),e=Math.min;a.exports=function(a){return a>0?e(d(a),0x1fffffffffffff):0}},function(a,b,c){var d=c(9);a.exports=function(a,b){var c,e;if(!d(a))return a;if(b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a))||"function"==typeof(c=a.valueOf)&&!d(e=c.call(a))||!b&&"function"==typeof(c=a.toString)&&!d(e=c.call(a)))return e;throw TypeError("Can't convert object to primitive value")}},function(a,b){var c=0,d=Math.random();a.exports=function(a){return"Symbol(".concat(void 0===a?"":a,")_",(++c+d).toString(36))}},function(a,b,c){"use strict";function d(a){return(0,i.createHash)("sha256").update(a).digest("hex")}function e(a){switch(j){case"darwin":return a.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return a.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":case"freebsd":return a.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw Error("Unsupported platform: "+process.platform)}}Object.defineProperty(b,"__esModule",{value:!0});var f,g=(f=c(35))&&f.__esModule?f:{default:f};b.machineIdSync=function(a){var b=e((0,h.execSync)(k[j]).toString());return a?b:d(b)},b.machineId=function(a){return new g.default(function(b,c){return(0,h.exec)(k[j],{},function(f,g,h){if(f)return c(Error("Error while obtaining machine id: "+f.stack));var i=e(g.toString());return b(a?i:d(i))})})};var h=c(70),i=c(71),j=process.platform,k={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:{native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"}["win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(a,b,c){a.exports={default:c(36),__esModule:!0}},function(a,b,c){c(66),c(68),c(69),c(67),a.exports=c(6).Promise},function(a,b){a.exports=function(){}},function(a,b){a.exports=function(a,b,c,d){if(!(a instanceof b)||void 0!==d&&d in a)throw TypeError(c+": incorrect invocation!");return a}},function(a,b,c){var d=c(13),e=c(31),f=c(62);a.exports=function(a){return function(b,c,g){var h,i=d(b),j=e(i.length),k=f(g,j);if(a&&c!=c){for(;j>k;)if((h=i[k++])!=h)return!0}else for(;j>k;k++)if((a||k in i)&&i[k]===c)return a||k||0;return!a&&-1}}},function(a,b,c){var d=c(7),e=c(44),f=c(43),g=c(3),h=c(31),i=c(64),j={},k={},b=a.exports=function(a,b,c,l,m){var n,o,p,q,r=m?function(){return a}:i(a),s=d(c,l,b?2:1),t=0;if("function"!=typeof r)throw TypeError(a+" is not iterable!");if(f(r)){for(n=h(a.length);n>t;t++)if((q=b?s(g(o=a[t])[0],o[1]):s(a[t]))===j||q===k)return q}else for(p=r.call(a);!(o=p.next()).done;)if((q=e(p,s,o.value,b))===j||q===k)return q};b.BREAK=j,b.RETURN=k},function(a,b){a.exports=function(a,b,c){var d=void 0===c;switch(b.length){case 0:return d?a():a.call(c);case 1:return d?a(b[0]):a.call(c,b[0]);case 2:return d?a(b[0],b[1]):a.call(c,b[0],b[1]);case 3:return d?a(b[0],b[1],b[2]):a.call(c,b[0],b[1],b[2]);case 4:return d?a(b[0],b[1],b[2],b[3]):a.call(c,b[0],b[1],b[2],b[3])}return a.apply(c,b)}},function(a,b,c){var d=c(11);a.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return"String"==d(a)?a.split(""):Object(a)}},function(a,b,c){var d=c(10),e=c(1)("iterator"),f=Array.prototype;a.exports=function(a){return void 0!==a&&(d.Array===a||f[e]===a)}},function(a,b,c){var d=c(3);a.exports=function(a,b,c,e){try{return e?b(d(c)[0],c[1]):b(c)}catch(b){var f=a.return;throw void 0!==f&&d(f.call(a)),b}}},function(a,b,c){"use strict";var d=c(49),e=c(17),f=c(18),g={};c(5)(g,c(1)("iterator"),function(){return this}),a.exports=function(a,b,c){a.prototype=d(g,{next:e(1,c)}),f(a,b+" Iterator")}},function(a,b,c){var d=c(1)("iterator"),e=!1;try{var f=[7][d]();f.return=function(){e=!0},Array.from(f,function(){throw 2})}catch(a){}a.exports=function(a,b){if(!b&&!e)return!1;var c=!1;try{var f=[7],g=f[d]();g.next=function(){return{done:c=!0}},f[d]=function(){return g},a(f)}catch(a){}return c}},function(a,b){a.exports=function(a,b){return{value:b,done:!!a}}},function(a,b,c){var d=c(2),e=c(30).set,f=d.MutationObserver||d.WebKitMutationObserver,g=d.process,h=d.Promise,i="process"==c(11)(g);a.exports=function(){var a,b,c,j=function(){var d,e;for(i&&(d=g.domain)&&d.exit();a;){e=a.fn,a=a.next;try{e()}catch(d){throw a?c():b=void 0,d}}b=void 0,d&&d.enter()};if(i)c=function(){g.nextTick(j)};else if(f){var k=!0,l=document.createTextNode("");new f(j).observe(l,{characterData:!0}),c=function(){l.data=k=!k}}else if(h&&h.resolve){var m=h.resolve();c=function(){m.then(j)}}else c=function(){e.call(d,j)};return function(d){var e={fn:d,next:void 0};b&&(b.next=e),a||(a=e,c()),b=e}}},function(a,b,c){var d=c(3),e=c(50),f=c(22),g=c(19)("IE_PROTO"),h=function(){},i="prototype",j=function(){var a,b=c(16)("iframe"),d=f.length;for(b.style.display="none",c(25).appendChild(b),b.src="javascript:",(a=b.contentWindow.document).open(),a.write("<script>document.F=Object<\/script>"),a.close(),j=a.F;d--;)delete j[i][f[d]];return j()};a.exports=Object.create||function(a,b){var c;return null!==a?(h[i]=d(a),c=new h,h[i]=null,c[g]=a):c=j(),void 0===b?c:e(c,b)}},function(a,b,c){var d=c(12),e=c(3),f=c(54);a.exports=c(4)?Object.defineProperties:function(a,b){e(a);for(var c,g=f(b),h=g.length,i=0;h>i;)d.f(a,c=g[i++],b[c]);return a}},function(a,b,c){var d=c(55),e=c(17),f=c(13),g=c(32),h=c(8),i=c(26),j=Object.getOwnPropertyDescriptor;b.f=c(4)?j:function(a,b){if(a=f(a),b=g(b,!0),i)try{return j(a,b)}catch(a){}if(h(a,b))return e(!d.f.call(a,b),a[b])}},function(a,b,c){var d=c(8),e=c(63),f=c(19)("IE_PROTO"),g=Object.prototype;a.exports=Object.getPrototypeOf||function(a){return d(a=e(a),f)?a[f]:"function"==typeof a.constructor&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?g:null}},function(a,b,c){var d=c(8),e=c(13),f=c(39)(!1),g=c(19)("IE_PROTO");a.exports=function(a,b){var c,h=e(a),i=0,j=[];for(c in h)c!=g&&d(h,c)&&j.push(c);for(;b.length>i;)d(h,c=b[i++])&&(~f(j,c)||j.push(c));return j}},function(a,b,c){var d=c(53),e=c(22);a.exports=Object.keys||function(a){return d(a,e)}},function(a,b){b.f=({}).propertyIsEnumerable},function(a,b,c){var d=c(5);a.exports=function(a,b,c){for(var e in b)c&&a[e]?a[e]=b[e]:d(a,e,b[e]);return a}},function(a,b,c){a.exports=c(5)},function(a,b,c){var d=c(9),e=c(3),f=function(a,b){if(e(a),!d(b)&&null!==b)throw TypeError(b+": can't set as prototype!")};a.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(a,b,d){try{(d=c(7)(Function.call,c(51).f(Object.prototype,"__proto__").set,2))(a,[]),b=!(a instanceof Array)}catch(a){b=!0}return function(a,c){return f(a,c),b?a.__proto__=c:d(a,c),a}}({},!1):void 0),check:f}},function(a,b,c){"use strict";var d=c(2),e=c(6),f=c(12),g=c(4),h=c(1)("species");a.exports=function(a){var b="function"==typeof e[a]?e[a]:d[a];g&&b&&!b[h]&&f.f(b,h,{configurable:!0,get:function(){return this}})}},function(a,b,c){var d=c(3),e=c(14),f=c(1)("species");a.exports=function(a,b){var c,g=d(a).constructor;return void 0===g||void 0==(c=d(g)[f])?b:e(c)}},function(a,b,c){var d=c(20),e=c(15);a.exports=function(a){return function(b,c){var f,g,h=String(e(b)),i=d(c),j=h.length;return i<0||i>=j?a?"":void 0:(f=h.charCodeAt(i))<55296||f>56319||i+1===j||(g=h.charCodeAt(i+1))<56320||g>57343?a?h.charAt(i):f:a?h.slice(i,i+2):(f-55296<<10)+(g-56320)+65536}}},function(a,b,c){var d=c(20),e=Math.max,f=Math.min;a.exports=function(a,b){return(a=d(a))<0?e(a+b,0):f(a,b)}},function(a,b,c){var d=c(15);a.exports=function(a){return Object(d(a))}},function(a,b,c){var d=c(21),e=c(1)("iterator"),f=c(10);a.exports=c(6).getIteratorMethod=function(a){if(void 0!=a)return a[e]||a["@@iterator"]||f[d(a)]}},function(a,b,c){"use strict";var d=c(37),e=c(47),f=c(10),g=c(13);a.exports=c(27)(Array,"Array",function(a,b){this._t=g(a),this._i=0,this._k=b},function(){var a=this._t,b=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,e(1)):"keys"==b?e(0,c):"values"==b?e(0,a[c]):e(0,[c,a[c]])},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},function(a,b){},function(a,b,c){"use strict";var d,e,f,g=c(28),h=c(2),i=c(7),j=c(21),k=c(23),l=c(9),m=(c(3),c(14)),n=c(38),o=c(40),p=(c(58).set,c(60)),q=c(30).set,r=c(48)(),s="Promise",t=h.TypeError,u=h.process,v=h[s],u=h.process,w="process"==j(u),x=function(){},y=!!function(){try{var a=v.resolve(1),b=(a.constructor={})[c(1)("species")]=function(a){a(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&a.then(x)instanceof b}catch(a){}}(),z=function(a,b){return a===b||a===v&&b===f},A=function(a){var b;return!(!l(a)||"function"!=typeof(b=a.then))&&b},B=function(a){return z(v,a)?new C(a):new e(a)},C=e=function(a){var b,c;this.promise=new a(function(a,d){if(void 0!==b||void 0!==c)throw t("Bad Promise constructor");b=a,c=d}),this.resolve=m(b),this.reject=m(c)},D=function(a){try{a()}catch(a){return{error:a}}},E=function(a,b){if(!a._n){a._n=!0;var c=a._c;r(function(){for(var d=a._v,e=1==a._s,f=0;c.length>f;)!function(b){var c,f,g=e?b.ok:b.fail,h=b.resolve,i=b.reject,j=b.domain;try{g?(e||(2==a._h&&H(a),a._h=1),!0===g?c=d:(j&&j.enter(),c=g(d),j&&j.exit()),c===b.promise?i(t("Promise-chain cycle")):(f=A(c))?f.call(c,h,i):h(c)):i(d)}catch(a){i(a)}}(c[f++]);a._c=[],a._n=!1,b&&!a._h&&F(a)})}},F=function(a){q.call(h,function(){var b,c,d,e=a._v;if(G(a)&&(b=D(function(){w?u.emit("unhandledRejection",e,a):(c=h.onunhandledrejection)?c({promise:a,reason:e}):(d=h.console)&&d.error&&d.error("Unhandled promise rejection",e)}),a._h=w||G(a)?2:1),a._a=void 0,b)throw b.error})},G=function(a){if(1==a._h)return!1;for(var b,c=a._a||a._c,d=0;c.length>d;)if((b=c[d++]).fail||!G(b.promise))return!1;return!0},H=function(a){q.call(h,function(){var b;w?u.emit("rejectionHandled",a):(b=h.onrejectionhandled)&&b({promise:a,reason:a._v})})},I=function(a){var b=this;b._d||(b._d=!0,(b=b._w||b)._v=a,b._s=2,b._a||(b._a=b._c.slice()),E(b,!0))},J=function(a){var b,c=this;if(!c._d){c._d=!0,c=c._w||c;try{if(c===a)throw t("Promise can't be resolved itself");(b=A(a))?r(function(){var d={_w:c,_d:!1};try{b.call(a,i(J,d,1),i(I,d,1))}catch(a){I.call(d,a)}}):(c._v=a,c._s=1,E(c,!1))}catch(a){I.call({_w:c,_d:!1},a)}}};y||(v=function(a){n(this,v,s,"_h"),m(a),d.call(this);try{a(i(J,this,1),i(I,this,1))}catch(a){I.call(this,a)}},(d=function(a){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=c(56)(v.prototype,{then:function(a,b){var c=B(p(this,v));return c.ok="function"!=typeof a||a,c.fail="function"==typeof b&&b,c.domain=w?u.domain:void 0,this._c.push(c),this._a&&this._a.push(c),this._s&&E(this,!1),c.promise},catch:function(a){return this.then(void 0,a)}}),C=function(){var a=new d;this.promise=a,this.resolve=i(J,a,1),this.reject=i(I,a,1)}),k(k.G+k.W+!y*k.F,{Promise:v}),c(18)(v,s),c(59)(s),f=c(6)[s],k(k.S+!y*k.F,s,{reject:function(a){var b=B(this);return(0,b.reject)(a),b.promise}}),k(k.S+k.F*(g||!y),s,{resolve:function(a){if(a instanceof v&&z(a.constructor,this))return a;var b=B(this);return(0,b.resolve)(a),b.promise}}),k(k.S+!(y&&c(46)(function(a){v.all(a).catch(x)}))*k.F,s,{all:function(a){var b=this,c=B(b),d=c.resolve,e=c.reject,f=D(function(){var c=[],f=0,g=1;o(a,!1,function(a){var h=f++,i=!1;c.push(void 0),g++,b.resolve(a).then(function(a){i||(i=!0,c[h]=a,--g||d(c))},e)}),--g||d(c)});return f&&e(f.error),c.promise},race:function(a){var b=this,c=B(b),d=c.reject,e=D(function(){o(a,!1,function(a){b.resolve(a).then(c.resolve,d)})});return e&&d(e.error),c.promise}})},function(a,b,c){"use strict";var d=c(61)(!0);c(27)(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,b=this._t,c=this._i;return c>=b.length?{value:void 0,done:!0}:(a=d(b,c),this._i+=a.length,{value:a,done:!1})})},function(a,b,c){c(65);for(var d=c(2),e=c(5),f=c(10),g=c(1)("toStringTag"),h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],i=0;i<5;i++){var j=h[i],k=d[j],l=k&&k.prototype;l&&!l[g]&&e(l,g,j),f[j]=f.Array}},function(a,b){a.exports=c(79646)},function(a,b){a.exports=c(55511)}];function e(a){if(f[a])return f[a].exports;var b=f[a]={exports:{},id:a,loaded:!1};return d[a].call(b.exports,b,b.exports,e),b.loaded=!0,b.exports}var f={};return e.m=d,e.c=f,e.p="",e(0)}(c(79646),c(55511))},21350:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>Q,GET:()=>O,POST:()=>P});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(55511),m=c.n(l),n=c(28286),o=c(30869),p=c(54603),q=c(24424);let r=o.h0.appPort,s=`http://localhost:${r}/api/mcp/`,t=null,u=async()=>(t||(t=await (0,p.Xj)("9r-cli-auth")),t),v=async a=>{let b=await u();for(let c of a)"string"==typeof c?.url&&c.url.startsWith(s)&&(c.headers={...c.headers||{},"x-9r-cli-token":b});return a},w="gateway",x={coworkEgressAllowedHosts:["*"],disabledBuiltinTools:[],isLocalDevMcpEnabled:!0,isDesktopExtensionEnabled:!0,isDesktopExtensionDirectoryEnabled:!0,isDesktopExtensionSignatureRequired:!1,isClaudeCodeForDesktopEnabled:!0,disableEssentialTelemetry:!0,disableNonessentialTelemetry:!0,disableNonessentialServices:!0},y=()=>{if("darwin"===k().platform()){let a=i().join(k().homedir(),"Library","Application Support");return[i().join(a,"Claude-3p"),i().join(a,"Claude")]}if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return[i().join(a,"Claude-3p"),i().join(b,"Claude-3p"),i().join(a,"Claude"),i().join(b,"Claude")]}return[i().join(k().homedir(),".config","Claude-3p"),i().join(k().homedir(),".config","Claude")]},z=async()=>{let a=y();for(let b of a)try{return await g().access(i().join(b,"configLibrary")),b}catch{}return a[0]},A=()=>y()[0],B=async()=>i().join(await z(),"configLibrary"),C=()=>i().join(A(),"configLibrary"),D=async()=>i().join(await B(),"_meta.json"),E=()=>{if("darwin"===k().platform())return i().join(k().homedir(),"Library","Application Support","Claude");if("win32"===k().platform()){let a=process.env.APPDATA||i().join(k().homedir(),"AppData","Roaming");return i().join(a,"Claude")}return i().join(k().homedir(),".config","Claude")},F=()=>i().join(E(),"claude_desktop_config.json"),G=async()=>{try{let a=(await g().readFile(F(),"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(a)||{}}catch(a){return{}}},H=async a=>{await g().mkdir(E(),{recursive:!0}),await g().writeFile(F(),JSON.stringify(a,null,2))},I=async()=>{let a=await G();return"3p"!==a.deploymentMode&&(a.deploymentMode="3p",await H(a),!0)},J=async()=>{let a=await G();if(!a.mcpServers||"object"!=typeof a.mcpServers)return;let b=new Set(n.LOCAL_STDIO_PLUGINS.map(a=>a.name));for(let c of Object.keys(a.mcpServers))b.has(c)&&delete a.mcpServers[c];0===Object.keys(a.mcpServers).length&&delete a.mcpServers,await H(a)},K=async()=>{for(let a of[...y(),...(()=>{if("darwin"===k().platform())return["/Applications/Claude.app",i().join(k().homedir(),"Applications","Claude.app")];if("win32"===k().platform()){let a=process.env.LOCALAPPDATA||i().join(k().homedir(),"AppData","Local"),b=process.env.ProgramFiles||"C:\\Program Files";return[i().join(a,"AnthropicClaude"),i().join(b,"Claude"),i().join(b,"AnthropicClaude")]}return[]})()])try{return await g().access(a),!0}catch{}return!1},L=async a=>{try{let b=(await g().readFile(a,"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(b)}catch(a){return null}},M=async()=>{let a=i().join(C(),"_meta.json"),b=await L(a);if(!b||!b.appliedId){let c=await L(await D());if(c?.appliedId)b=c;else{let a=m().randomUUID();b={appliedId:a,entries:[{id:a,name:"Default"}]}}await g().mkdir(C(),{recursive:!0}),await g().writeFile(a,JSON.stringify(b,null,2))}return b};async function N(a){let b=i().join(A(),"config.json"),c={};try{c=JSON.parse(await g().readFile(b,"utf-8"))||{}}catch(a){if("ENOENT"!==a.code)return{error:a.code}}let d={};for(let b of a)b?.name&&(d[b.name]=!0);return c.operonSkipMcpApprovals=d,await g().mkdir(A(),{recursive:!0}),await g().writeFile(b,JSON.stringify(c,null,2)),{written:Object.keys(d).length}}async function O(){try{if(!await K())return e.NextResponse.json({installed:!1,config:null,message:"Claude Desktop (Cowork mode) not detected"});let a=await L(await D()),b=a?.appliedId||null,c=await B(),d=b?i().join(c,`${b}.json`):null,f=d?await L(d):null,g=f?.inferenceGatewayBaseUrl||null,h=Array.isArray(f?.inferenceModels)?f.inferenceModels.map(a=>"string"==typeof a?a:a?.name).filter(Boolean):[],j=Array.isArray(f?.managedMcpServers)?f.managedMcpServers:[],k=!!(f?.inferenceProvider===w&&g),l=new Set(n.LOCAL_STDIO_PLUGINS.map(a=>a.name)),m=j.filter(a=>l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>a.name),o=j.filter(a=>a.custom||!l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/")).map(a=>({name:a.name,url:a.url,transport:a.transport,custom:!0}));return e.NextResponse.json({installed:!0,config:f,has9Router:k,configPath:d,cowork:{appliedId:b,baseUrl:g,models:h,provider:f?.inferenceProvider||null,plugins:j.filter(a=>!a.custom&&!(l.has(a.name)&&"string"==typeof a.url&&a.url.includes("/api/mcp/"))).map(a=>{let b=a.toolPolicy?Object.keys(a.toolPolicy):[],c=`${a.name}-`,d=new Set;for(let a of b){let b=a;for(;b.startsWith(c);)b=b.slice(c.length);d.add(b)}let e=n.DEFAULT_PLUGINS.find(b=>b.name===a.name),f=e&&Array.isArray(e.toolNames)?e.toolNames:Array.from(d);return{name:a.name,url:a.url,transport:a.transport,oauth:!!a.oauth,toolNames:f}}),localPlugins:m,customPlugins:o},defaultPlugins:n.DEFAULT_PLUGINS,localStdioPlugins:n.LOCAL_STDIO_PLUGINS})}catch(a){return console.log("Error reading cowork settings:",a),e.NextResponse.json({error:"Failed to read cowork settings"},{status:500})}}async function P(a){try{let{baseUrl:b,apiKey:c,models:d,plugins:f,localPlugins:h,customPlugins:j}=await a.json();if(!b||!c)return e.NextResponse.json({error:"baseUrl and apiKey are required"},{status:400});let k=Array.isArray(d)?d.filter(a=>"string"==typeof a&&a.trim()):[];if(0===k.length)return e.NextResponse.json({error:"At least one model is required"},{status:400});let l=Array.isArray(f)?f:n.DEFAULT_PLUGINS,m=Array.isArray(h)?h:[],o=(Array.isArray(j)?j:[]).filter(a=>a?.url),p=await v((a=>{let b=Array.isArray(a)?a:[],c=[];for(let a of b){let b=n.LOCAL_STDIO_PLUGINS.find(b=>b.name===a);if(!b)continue;let d={name:b.name,url:`http://localhost:${r}/api/mcp/${b.name}/sse`,transport:"sse"};if(Array.isArray(b.toolNames)&&b.toolNames.length>0){let a=`${b.name}-`,c={};for(let d of b.toolNames)c[d]="allow",c[`${a}${d}`]="allow";d.toolPolicy=c}c.push(d)}return c})(m)),q=await v((a=>{if(!Array.isArray(a))return[];let b=[];for(let c of a)c?.name&&c?.url&&b.push({name:c.name,url:c.url,transport:c.transport||"sse",custom:!0});return b})(o)),s=[...(0,n.buildManagedMcpServers)(l),...p,...q],t=await I(),u=await M(),y=i().join(C(),`${u.appliedId}.json`),z={...x,inferenceProvider:w,inferenceGatewayBaseUrl:b,inferenceGatewayApiKey:c,inferenceModels:k.map(a=>({name:a}))};s.length>0&&(z.managedMcpServers=s),await g().writeFile(y,JSON.stringify(z,null,2));let A=null;try{A=await N(s)}catch(a){A={error:a.message}}try{await J()}catch{}return e.NextResponse.json({success:!0,bootstrapped:t,message:t?"Cowork enabled (3p mode set). Quit & reopen Claude Desktop.":"Cowork settings applied. Quit & reopen Claude Desktop.",configPath:y,skipApprovals:A,localMcp:{applied:m,via:"3p-sse-bridge"}})}catch(a){return console.log("Error applying cowork settings:",a),e.NextResponse.json({error:"Failed to apply cowork settings"},{status:500})}}async function Q(){try{let a=await L(await D());if(!a?.appliedId)return e.NextResponse.json({success:!0,message:"No active config to reset"});let b=i().join(await B(),`${a.appliedId}.json`);try{await g().writeFile(b,JSON.stringify({},null,2))}catch(a){if("ENOENT"!==a.code)throw a}try{await N([])}catch{}try{await J()}catch{}return e.NextResponse.json({success:!0,message:"Cowork config reset"})}catch(a){return console.log("Error resetting cowork settings:",a),e.NextResponse.json({error:"Failed to reset cowork settings"},{status:500})}}(0,q.D)([O,P,Q]),(0,d.A)(O,"00aa74dc78d3212334768106341ada1aebcc85f04d",null),(0,d.A)(P,"40acaf3875dff6485527c35d43f867e6d5358da740",null),(0,d.A)(Q,"00f42d275d77a214ccab3233ee9284623b9fdd7532",null)},28286:a=>{"use strict";a.exports={DEFAULT_PLUGINS:[{name:"exa",title:"Exa",description:"Real-time web search and code documentation",url:"https://mcp.exa.ai/mcp",transport:"http",oauth:!1,toolNames:["web_search_exa","web_fetch_exa"]},{name:"tavily",title:"Tavily",description:"Real-time web search optimized for LLM agents",url:"https://mcp.tavily.com/mcp",transport:"http",oauth:!0,toolNames:["tavily_search","tavily_extract","tavily_crawl","tavily_map"]}],LOCAL_STDIO_PLUGINS:[{name:"browsermcp",title:"Browser MCP",description:"Control your running Chrome (requires Chrome extension)",extensionUrl:"https://chromewebstore.google.com/detail/browser-mcp-automate-your/bjfgambnhccakkhmkepdoekmckoijdlc",command:"npx",args:["-y","@browsermcp/mcp@latest"],toolNames:["browser_navigate","browser_snapshot","browser_click","browser_type","browser_screenshot","browser_get_console_logs","browser_wait","browser_press_key","browser_go_back","browser_go_forward"]}],buildManagedMcpServers:function(a){let b=Array.isArray(a)?a:[],c=[],d=new Set;for(let a of b){if(!a?.name||!a?.url||d.has(a.name))continue;d.add(a.name);let b={name:a.name,url:a.url,transport:a.transport||(/\/sse(\b|\/)/i.test(a.url)?"sse":"http")};if(a.oauth&&(b.oauth=!0),Array.isArray(a.toolNames)&&a.toolNames.length>0){let c=`${a.name}-`,d=new Set;for(let b of a.toolNames){if("string"!=typeof b||!b)continue;let a=b;for(;a.startsWith(c);)a=a.slice(c.length);d.add(a)}let e={};for(let a of d)e[a]="allow",e[`${c}${a}`]="allow";b.toolPolicy=e}c.push(b)}return c}}},30869:(a,b,c)=>{"use strict";c.d(b,{UY:()=>h,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,oc:()=>i});var d=c(39006),e=c(40615),f=c(81329);d.rE;let g={npmPackageName:"n9router",installCmd:"npm i -g n9router",installCmdLatest:"npm i -g n9router@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20128},h={maxLines:200,pollIntervalMs:1e3},i={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.5",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"}}}},35024:(a,b,c)=>{"use strict";c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(26070);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},39006:a=>{"use strict";a.exports={rE:"0.4.49"}},40615:(a,b,c)=>{"use strict";c.d(b,{AI_PROVIDERS:()=>s,js:()=>w,DI:()=>n,fg:()=>k,Pd:()=>o,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>m,jO:()=>y,wb:()=>x,br:()=>l,wG:()=>v,zt:()=>t,gb:()=>q,gC:()=>r,mq:()=>p,rs:()=>u});var d=c(52056);let e="⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.A.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.A.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.noAuth?{noAuth:!0}:{},...a.passthroughModels?{passthroughModels:!0}:{},...a.hasOAuth?{hasOAuth:!0}:{},...a.authModes?{authModes:a.authModes}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{}}}(a)])),h=g("free"),i=g("freeTier"),j=g("oauth"),k=g("apikey"),l=g("webCookie"),m="openai-compatible-",n="anthropic-compatible-",o="custom-embedding-";function p(a){return"string"==typeof a&&a.startsWith(m)}function q(a){return"string"==typeof a&&a.startsWith(n)}function r(a){return"string"==typeof a&&a.startsWith(o)}let s={...h,...i,...j,...k,...l};function t(a){for(let b of Object.values(s))if(b.alias===a||b.id===a)return b;return null}function u(a){let b=t(a);return b?.id||a}function v(a){let b=s[a];return b?.alias||a}let w=Object.values(s).reduce((a,b)=>(a[b.alias]=b.id,a),{});Object.values(s).reduce((a,b)=>(a[b.id]=b.alias,a),{});let x=d.A.filter(a=>a.features?.usage).map(a=>a.id),y=d.A.filter(a=>a.features?.usageApikey).map(a=>a.id)},45699:(a,b,c)=>{"use strict";c.d(b,{Xg:()=>q,PROVIDER_MODELS:()=>f.vq,fZ:()=>j,cY:()=>s,ux:()=>m,OA:()=>n,kt:()=>o,KC:()=>r,SM:()=>i});var d=c(35024),e=c(52056),f=c(26070),g=c(99511);let h="-review";function i(a){return f.vq[a]||[]}function j(a){let b=f.vq[a];return b?.[0]?.id||null}let k=new Set(["kr","kiro"]);function l(a,b,c){if(!a)return;let d=a.find(a=>a.id===b);if(d)return d;if(!k.has(c))return;let e=(0,g.Kq)(b);if(e!==b)return a.find(a=>a.id===e)}function m(a,b){let c=f.vq[a];return c?(0,g.gr)(l(c,b,a)):null}function n(a,b){let c=f.vq[a];if(!c)return null;let d=l(c,b,a);return d?.kind||d?.type||null}function o(a,b){let c="string"==typeof b?b.match(/\([^()]+\)\s*$/):null,d=c?c[0]:"",e=d?b.slice(0,c.index).trim():b,g=l(f.vq[a],e,a);return g?.upstreamModelId?g.upstreamModelId+d:g?.id?g.id+d:"cx"===a&&"string"==typeof e&&e.endsWith(h)?e.slice(0,-h.length)+d:e+d}let p=Object.fromEntries(e.A.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias])),q=Object.fromEntries(Object.keys(d.xq).map(a=>[a,p[a]||a]));function r(a){let b=q[a]||a;return f.vq[b]||[]}function s(a,b){return(0,g.g5)(l(f.vq[a],b,a))}},49120:(a,b,c)=>{"use strict";c.d(b,{n:()=>l});var d=c(73024),e=c.n(d),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h);let j="n9router";function k(){return"win32"===process.platform?g().join(process.env.APPDATA||g().join(i().homedir(),"AppData","Roaming"),j):g().join(i().homedir(),`.${j}`)}let l=function(){let a=process.env.DATA_DIR;if(!a)return k();if("win32"===process.platform&&/^\//.test(a))return console.warn(`[DATA_DIR] '${a}' is a Unix path on Windows → fallback to default`),k();try{return e().mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${j}`),k();throw b}}()},54603:(a,b,c)=>{"use strict";c.d(b,{Xj:()=>q});var d=c(19713),e=c(73024),f=c.n(e),g=c(76760),h=c.n(g),i=c(77598),j=c.n(i),k=c(49120);let l=h().join(k.n,"machine-id"),m=h().join(k.n,"auth"),n=h().join(m,"cli-secret"),o=null,p=null;async function q(a=null){let b=a||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt",c=function(){if(o)return o;try{if(o=f().readFileSync(l,"utf8").trim())return o}catch{}try{o=(0,d.machineIdSync)()}catch{o=j().randomUUID()}try{f().mkdirSync(k.n,{recursive:!0}),f().writeFileSync(l,o,{mode:384})}catch{}return o}(),e="9r-cli-auth"===b?function(){if(p)return p;try{if(p=f().readFileSync(n,"utf8").trim())return p}catch{}p=j().randomBytes(32).toString("hex");try{f().mkdirSync(m,{recursive:!0}),f().writeFileSync(n,p,{mode:384})}catch{}return p}():"";return j().createHash("sha256").update(c+b+e).digest("hex").substring(0,16)}},81329:(a,b,c)=>{"use strict";c.d(b,{CP:()=>f,Xg:()=>d.Xg,eh:()=>e,vq:()=>d.PROVIDER_MODELS});var d=c(45699);Object.entries(c(40615).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=1470,exports.ids=[1470],exports.modules={4088:(a,b,c)=>{c.d(b,{$4:()=>E,$L:()=>F,AA:()=>l,ED:()=>r,JJ:()=>n,J_:()=>e,Jp:()=>A,Uh:()=>z,WA:()=>h,W_:()=>G,Wg:()=>i,Xr:()=>t,ZS:()=>y,b8:()=>k,dE:()=>w,fZ:()=>g,fr:()=>B,g5:()=>s,ku:()=>q,kx:()=>u,mO:()=>C,pT:()=>j,sQ:()=>D,uf:()=>p,vF:()=>m,w2:()=>f,wU:()=>x,wi:()=>v});var d=c(28839);let e=6e4,f=18e4,g=5,h="quotaAutoRefresh",i=20,j=[10,20,50,100],k=500,l=[{value:"all",label:"All accounts"},{value:"active",label:"Active"},{value:"inactive",label:"Turned off"}],m=[{value:"default",label:"Default quota order"},{value:"remaining-asc",label:"% quota: low to high"},{value:"remaining-desc",label:"% quota: high to low"}];function n(a){return a.name?.trim()||a.email?.trim()||a.displayName?.trim()||null}function o(a,b){let c=b[a.id]?.quotas?.[0];return c&&"number"==typeof c.remaining?c.remaining:1/0}function p(a,b,c,d,e){if("codex"===d&&"default"!==e)return[...a].sort((a,c)=>{let d=o(a,b),f=o(c,b),g="remaining-asc"===e?d-f:f-d;return 0!==g?g:(n(a)||"").localeCompare(n(c)||"")});if(!c)return a;let f=a=>{let c=(b[a.id]?.quotas||[]).map(a=>a.resetAt?new Date(a.resetAt).getTime():1/0).filter(a=>Number.isFinite(a));return c.length>0?Math.min(...c):1/0};return[...a].sort((a,b)=>{let c=f(a)-f(b);return 0!==c?c:(a.provider||"").localeCompare(b.provider||"")||(n(a)||"").localeCompare(n(b)||"")})}function q(a){let b={};return a.forEach(a=>{b[a.id]=!0}),b}function r(a,b){let c=new Set(b.map(a=>a.id));return Object.fromEntries(Object.entries(a).filter(([a])=>c.has(a)))}function s(a,b,c){return a.eligibleConnections?a.providerFilteredConnections?{icon:"filter_alt_off",title:"No Accounts On This Page",description:"Try moving to another page or refreshing the current filters."}:{icon:"filter_alt_off",title:"No Accounts Match Current Filters",description:"all"===b?"Try changing the account status filter to see more quota trackers.":`No ${"inactive"===c?"turned off":"active"===c?"active":"matching"} accounts found for ${b}.`}:{icon:"cloud_off",title:"No Providers Connected",description:"Connect to providers with OAuth to track your API quota limits and usage."}}function t(a,b){return b?`Custom: ${a} / page`:`${a} / page`}function u(a){var b;let{start:c,end:d}=(b=a).total?{start:(b.page-1)*b.pageSize+1,end:Math.min(b.page*b.pageSize,b.total)}:{start:0,end:0};return`Showing ${c}-${d} of ${a.total}`}function v(a,b){return a||{page:1,pageSize:b,total:0,totalPages:1}}function w(a,b=0){return a||{eligibleConnections:b,providerFilteredConnections:b}}function x(a,b){return a!==b}function y(a,b){return a?.page||b}function z(a){return a||[]}async function A(a,b){return await a(b)}function B(a,b){}function C(a){if(!a)return"-";try{let b="string"==typeof a?new Date(a):a,c=new Date,d=b-c;if(d<=0)return"-";let e=Math.ceil(d/6e4);if(e<60)return`${e}m`;let f=Math.floor(e/60),g=e%60;if(f<24)return`${f}h ${g}m`;let h=Math.floor(f/24);return`${h}d ${f%24}h ${g}m`}catch(a){return"-"}}function D(a){if(!a)return null;try{let b="string"==typeof a?new Date(a):a,c=new Date,d=new Date(c.getFullYear(),c.getMonth(),c.getDate()),e=new Date(d);e.setDate(e.getDate()+1);let f=new Date(e);f.setDate(f.getDate()+1);let g="";g=b>=d&&b<e?"Today":b>=e&&b<f?"Tomorrow":b.toLocaleDateString("en-US",{month:"short",day:"numeric"});let h=b.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0});return`${g}, ${h}`}catch{return null}}function E(a,b){return b&&0!==b?!a||a<0?100:a>=b?0:Math.round((b-a)/b*100):0}function F(a){return a?.remaining!==void 0?Math.max(0,Math.round(a.remaining)):a?.remainingPercentage!==void 0?Math.round(a.remainingPercentage):E(a?.used,a?.total)}function G(a,b){if(!b||"object"!=typeof b)return[];let c=[];try{switch(a.toLowerCase()){case"github":default:b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null})});break;case"antigravity":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:b.displayName||a,modelKey:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})});break;case"codex":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,remaining:b.remaining,resetAt:b.resetAt||null})});break;case"kiro":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null})});break;case"qoder":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{("organization"!==a||b&&0!==(Number(b.total)||0))&&c.push({name:"user"===a?"Personal":"organization"===a?"Organization":a,used:b.used||0,total:b.total||0,unit:b.unit,resetAt:b.resetAt||null})});break;case"claude":b.message?c.push({name:"error",used:0,total:0,resetAt:null,message:b.message}):b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null})});break;case"vercel-ai-gateway":case"grok-cli":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,remainingPercentage:b.remainingPercentage})});break;case"codebuddy-cn":b.quotas&&Object.entries(b.quotas).forEach(([a,b])=>{c.push({name:a,used:b.used||0,total:b.total||0,resetAt:b.resetAt||null,recurring:!1!==b.recurring})})}}catch(b){return console.error(`Error parsing quota data for ${a}:`,b),[]}let e=(0,d.KC)(a);if(e.length>0){let a=new Map(e.map((a,b)=>[a.id,b]));c.sort((b,c)=>{let d=b.modelKey||b.name,e=c.modelKey||c.name;return(a.get(d)??999)-(a.get(e)??999)})}return c}},34839:(a,b,c)=>{function d(a){if(null==a)return null;let b=String(a).trim();if(!b)return null;let c=b.toLowerCase();return c.includes("ultra")?"Ultra":c.includes("pro")?"Pro":c.includes("plus")?"Plus":c.includes("free")?"Free":null}function e(a){if(!a)return null;if("string"==typeof a)return d(a);for(let b of[a.accountType,a.plan,a.paidTier?.name,a.subscriptionTier,a.subscription_tier,a.currentTier?.name,a.subscriptionInfo?.paidTier?.name,a.quota?.subscription_tier,a.subscriptionInfo?.currentTier?.name]){let a=d(b);if(a)return a}return null}c.d(b,{_P:()=>e,fd:()=>d}),["Free","Plus","Pro","Ultra"].map(a=>({value:a,label:a}))}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=1719,exports.ids=[615,1719,5699],exports.modules={21719:(a,b,c)=>{c.d(b,{g:()=>m,l:()=>l});var d=c(79646),e=c(33873),f=c.n(e),g=c(29021),h=c.n(g),i=c(21820),j=c.n(i),k=c(30869);async function l(){!function(){try{let a=f().join("win32"===process.platform?f().join(process.env.APPDATA||"","9router"):f().join(j().homedir(),".9router"),"mitm",".mitm.pid");if(!h().existsSync(a))return;let b=parseInt(h().readFileSync(a,"utf8").trim(),10);if(!b)return;if("win32"===process.platform)try{(0,d.execSync)(`taskkill /F /T /PID ${b}`,{stdio:"ignore",windowsHide:!0,timeout:3e3})}catch{try{(0,d.execSync)(`powershell -NonInteractive -WindowStyle Hidden -Command "Stop-Process -Id ${b} -Force"`,{stdio:"ignore",windowsHide:!0,timeout:3e3})}catch{}}else try{(0,d.execSync)(`sudo -n kill -9 ${b} 2>/dev/null`,{stdio:"ignore",timeout:3e3})}catch{try{process.kill(b,"SIGKILL")}catch{}}try{h().unlinkSync(a)}catch{}}catch{}}();let a=function(){let a=[];if("win32"===process.platform){try{(0,d.execSync)('powershell -NonInteractive -WindowStyle Hidden -Command "Get-WmiObject Win32_Process -Filter \'Name=\\"node.exe\\"\' | Select-Object ProcessId,CommandLine | ConvertTo-Csv -NoTypeInformation"',{encoding:"utf8",windowsHide:!0,timeout:5e3}).split("\n").slice(1).filter(a=>a.trim()).forEach(b=>{let c=b.toLowerCase();if(c.includes("9router")||c.includes("next-server")||c.includes("\\bin\\app\\")||c.includes("/bin/app/")||c.includes("cli.js")){let c=b.match(/^"(\d+)"/);c&&c[1]&&c[1]!==process.pid.toString()&&a.push(c[1])}})}catch{}for(let b of["cloudflared","tray_windows_release"])try{let c=`powershell -NonInteractive -WindowStyle Hidden -Command "Get-Process ${b} -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Id"`;(0,d.execSync)(c,{encoding:"utf8",windowsHide:!0,timeout:5e3}).split("\n").forEach(b=>{let c=b.trim();c&&!isNaN(c)&&a.push(c)})}catch{}}else try{(0,d.execSync)("ps aux 2>/dev/null",{encoding:"utf8",timeout:5e3}).split("\n").forEach(b=>{if(b.includes("9router")||b.includes("next-server")||b.includes("cloudflared")||b.includes("/bin/app/")||b.includes("tray_darwin")||b.includes("tray_linux")){let c=b.trim().split(/\s+/)[1];c&&!isNaN(c)&&c!==process.pid.toString()&&a.push(c)}})}catch{}return a}(),b=process.platform;a.forEach(a=>{try{"win32"===b?(0,d.execSync)(`taskkill /F /PID ${a} 2>nul`,{stdio:"ignore",shell:!0,windowsHide:!0,timeout:3e3}):(0,d.execSync)(`kill -9 ${a} 2>/dev/null`,{stdio:"ignore",timeout:3e3})}catch{}}),a.length>0&&await new Promise(a=>setTimeout(a,1500))}function m(a=k.h0.npmPackageName){let b=function(a){try{if(!a||!h().existsSync(a))return a;let b=f().join(process.env.DATA_DIR?process.env.DATA_DIR:"win32"===process.platform?f().join(process.env.APPDATA||f().join(j().homedir(),"AppData","Roaming"),"9router"):f().join(j().homedir(),".9router"),"runtime","updater"),c=f().join(b,"updater.js");if(h().existsSync(c))try{if(h().statSync(a).size===h().statSync(c).size)return c}catch{}return h().mkdirSync(b,{recursive:!0}),h().copyFileSync(a,c),c}catch{return a}}(function(){if(process.env.UPDATER_SCRIPT_PATH&&h().existsSync(process.env.UPDATER_SCRIPT_PATH))return process.env.UPDATER_SCRIPT_PATH;let a=f().join(process.cwd(),"src","lib","updater","updater.js");if(h().existsSync(a))return a;let b=f().join(process.cwd(),"..","src","lib","updater","updater.js");return h().existsSync(b)?b:a}()),c="1"===process.env.TRAY_MODE,e={cmd:"win32"===process.platform?"npx.cmd":"npx",args:[k.h0.npmPackageName]},g=c?[...e.args,"--tray","--skip-update"]:[...e.args,"--skip-update"];(0,d.spawn)(process.execPath,[b],{detached:!0,stdio:"ignore",windowsHide:!0,env:{...process.env,UPDATER_PKG_NAME:a,UPDATER_PORT:String(k.h0.statusPort),UPDATER_TAIL_LINES:String(k.h0.statusLogTailLines),UPDATER_RETRIES:String(k.h0.installRetries),UPDATER_RETRY_DELAY_MS:String(k.h0.installRetryDelayMs),UPDATER_LINGER_MS:String(k.h0.lingerAfterDoneMs),UPDATER_WAIT_MIN_MS:String(k.h0.waitForExitMinMs),UPDATER_WAIT_MAX_MS:String(k.h0.waitForExitMaxMs),UPDATER_WAIT_CHECK_MS:String(k.h0.waitForExitCheckMs),UPDATER_APP_PORT:String(k.h0.appPort),UPDATER_RELAUNCH:"1",UPDATER_RELAUNCH_CMD:e.cmd,UPDATER_RELAUNCH_ARGS:JSON.stringify(g)}}).unref(),setTimeout(()=>process.exit(0),k.h0.exitDelayMs)}},30869:(a,b,c)=>{c.d(b,{UY:()=>h,eh:()=>f.eh,fg:()=>e.fg,h0:()=>g,oc:()=>i});var d=c(39006),e=c(40615),f=c(81329);d.rE;let g={npmPackageName:"n9router",installCmd:"npm i -g n9router",installCmdLatest:"npm i -g n9router@latest --prefer-online",shutdownCountdownSec:3,exitDelayMs:500,statusPort:20129,statusPollIntervalMs:1e3,statusLogTailLines:8,installRetries:3,installRetryDelayMs:5e3,lingerAfterDoneMs:3e4,waitForExitMinMs:5e3,waitForExitMaxMs:2e4,waitForExitCheckMs:500,appPort:20128},h={maxLines:200,pollIntervalMs:1e3},i={tickIntervalMs:6e4,pingLeadMs:5e3,refreshAheadMs:3e5,failureCooldownMs:9e5,providers:{claude:{settingsKey:"claudeAutoPing",quotaKey:"session (5h)",pingModel:"claude-haiku-4-5-20251001",pingText:"hi",pingMaxTokens:1},codex:{settingsKey:"codexAutoPing",quotaKey:"session",pingWhenResetAtSlides:!0,resetAtDriftMs:3e4,minPingIntervalMs:6e5,skipWhenBlockingQuotaExhausted:!0,pingModel:"gpt-5.5",pingText:"hi",pingInstructions:"Reply with OK.",pingReasoningEffort:"none"}}}},35024:(a,b,c)=>{c.d(b,{Ak:()=>e,Yg:()=>h,sr:()=>d.sr,xq:()=>d.xq});var d=c(26070);function e(a){return(a?.providerSpecificData?.baseUrl?.trim()||"http://localhost:11434").replace(/\/$/,"")}let f=d.xq["xiaomi-tokenplan"]?.regions||{},g=d.xq["xiaomi-tokenplan"]?.defaultRegion;function h(a){return f[a?.providerSpecificData?.region]||f[g]}},39006:a=>{a.exports={rE:"0.4.49"}},40615:(a,b,c)=>{c.d(b,{AI_PROVIDERS:()=>s,js:()=>w,DI:()=>n,fg:()=>k,Pd:()=>o,IS:()=>h,nJ:()=>i,zN:()=>j,JH:()=>m,jO:()=>y,wb:()=>x,br:()=>l,wG:()=>v,zt:()=>t,gb:()=>q,gC:()=>r,mq:()=>p,rs:()=>u});var d=c(52056);let e="⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk.";Object.fromEntries(d.A.filter(a=>a.display).map(a=>{let b;return[a.id,"RISK_NOTICE"===(b=a.display).deprecationNotice?{...b,deprecationNotice:e}:b]}));let f=["serviceKinds","ttsConfig","sttConfig","embeddingConfig","imageConfig","imageToTextConfig","videoConfig","musicConfig","searchViaChat","searchConfig","fetchConfig","modelsFetcher","mediaPriority","hiddenKinds"],g=a=>Object.fromEntries(d.A.filter(b=>b.category===a).map(a=>[a.id,function(a){let b={};for(let c of(a.media&&Object.assign(b,a.media),f))void 0!==a[c]&&(b[c]=a[c]);let c={...a.display||{}};return"RISK_NOTICE"===c.deprecationNotice&&(c.deprecationNotice=e),{...c,id:a.id,alias:a.uiAlias||a.alias,...a.hidden?{hidden:!0}:{},...b,...void 0!==a.priority?{priority:a.priority}:{},...a.hasFree?{hasFree:!0}:{},...a.thinkingConfig?{thinkingConfig:a.thinkingConfig}:{},...a.regions?{regions:a.regions,defaultRegion:a.defaultRegion}:{},...a.hasProviderSpecificData?{hasProviderSpecificData:!0}:{},...a.noAuth?{noAuth:!0}:{},...a.passthroughModels?{passthroughModels:!0}:{},...a.hasOAuth?{hasOAuth:!0}:{},...a.authModes?{authModes:a.authModes}:{},...a.authType?{authType:a.authType}:{},...a.authHint?{authHint:a.authHint}:{}}}(a)])),h=g("free"),i=g("freeTier"),j=g("oauth"),k=g("apikey"),l=g("webCookie"),m="openai-compatible-",n="anthropic-compatible-",o="custom-embedding-";function p(a){return"string"==typeof a&&a.startsWith(m)}function q(a){return"string"==typeof a&&a.startsWith(n)}function r(a){return"string"==typeof a&&a.startsWith(o)}let s={...h,...i,...j,...k,...l};function t(a){for(let b of Object.values(s))if(b.alias===a||b.id===a)return b;return null}function u(a){let b=t(a);return b?.id||a}function v(a){let b=s[a];return b?.alias||a}let w=Object.values(s).reduce((a,b)=>(a[b.alias]=b.id,a),{});Object.values(s).reduce((a,b)=>(a[b.id]=b.alias,a),{});let x=d.A.filter(a=>a.features?.usage).map(a=>a.id),y=d.A.filter(a=>a.features?.usageApikey).map(a=>a.id)},45699:(a,b,c)=>{c.d(b,{Xg:()=>q,PROVIDER_MODELS:()=>f.vq,fZ:()=>j,cY:()=>s,ux:()=>m,OA:()=>n,kt:()=>o,KC:()=>r,SM:()=>i});var d=c(35024),e=c(52056),f=c(26070),g=c(99511);let h="-review";function i(a){return f.vq[a]||[]}function j(a){let b=f.vq[a];return b?.[0]?.id||null}let k=new Set(["kr","kiro"]);function l(a,b,c){if(!a)return;let d=a.find(a=>a.id===b);if(d)return d;if(!k.has(c))return;let e=(0,g.Kq)(b);if(e!==b)return a.find(a=>a.id===e)}function m(a,b){let c=f.vq[a];return c?(0,g.gr)(l(c,b,a)):null}function n(a,b){let c=f.vq[a];if(!c)return null;let d=l(c,b,a);return d?.kind||d?.type||null}function o(a,b){let c="string"==typeof b?b.match(/\([^()]+\)\s*$/):null,d=c?c[0]:"",e=d?b.slice(0,c.index).trim():b,g=l(f.vq[a],e,a);return g?.upstreamModelId?g.upstreamModelId+d:g?.id?g.id+d:"cx"===a&&"string"==typeof e&&e.endsWith(h)?e.slice(0,-h.length)+d:e+d}let p=Object.fromEntries(e.A.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias])),q=Object.fromEntries(Object.keys(d.xq).map(a=>[a,p[a]||a]));function r(a){let b=q[a]||a;return f.vq[b]||[]}function s(a,b){return(0,g.g5)(l(f.vq[a],b,a))}},81329:(a,b,c)=>{c.d(b,{CP:()=>f,Xg:()=>d.Xg,eh:()=>e,vq:()=>d.PROVIDER_MODELS});var d=c(45699);Object.entries(c(40615).AI_PROVIDERS).filter(([,a])=>a.passthroughModels).map(([a])=>a);let e=Object.entries(d.PROVIDER_MODELS).flatMap(([a,b])=>b.map(b=>({provider:a,model:b.id,name:b.name}))),f=(a,b=null)=>a?.kind||a?.type||b}};