n9router 0.4.43 → 0.4.44
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.
- package/README.md +1 -1
- package/app/.next/BUILD_ID +1 -1
- package/app/.next/app-path-routes-manifest.json +13 -12
- package/app/.next/build-manifest.json +3 -3
- package/app/.next/prerender-manifest.json +3 -3
- package/app/.next/required-server-files.json +1 -1
- package/app/.next/routes-manifest.json +6 -0
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +4 -4
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
- package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +3 -3
- package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/_global-error/page.js +3 -3
- package/app/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/_global-error.html +1 -1
- package/app/.next/server/app/_global-error.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/_not-found/page.js +2 -2
- package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/_not-found.html +1 -1
- package/app/.next/server/app/_not-found.rsc +6 -6
- package/app/.next/server/app/_not-found.segments/_full.segment.rsc +6 -6
- package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/_not-found.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/api/antigravity-app/route.js +1 -1
- package/app/.next/server/app/api/antigravity-app/route.js.nft.json +1 -1
- package/app/.next/server/app/api/antigravity-app-v2/route.js +1 -1
- package/app/.next/server/app/api/antigravity-app-v2/route.js.nft.json +1 -1
- package/app/.next/server/app/api/antigravity-ide/route.js +1 -1
- package/app/.next/server/app/api/antigravity-ide/route.js.nft.json +1 -1
- package/app/.next/server/app/api/antigravity-targets/route.js +1 -1
- package/app/.next/server/app/api/antigravity-targets/route.js.nft.json +1 -1
- package/app/.next/server/app/api/antigravity-tools/import/route.js +1 -1
- package/app/.next/server/app/api/antigravity-tools/import/route.js.nft.json +1 -1
- package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js +1 -1
- package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js.nft.json +1 -1
- package/app/.next/server/app/api/auth/login/route.js +1 -1
- package/app/.next/server/app/api/auth/login/route.js.nft.json +1 -1
- package/app/.next/server/app/api/auth/logout/route.js +1 -1
- package/app/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/app/.next/server/app/api/auth/oidc/callback/route.js +1 -1
- package/app/.next/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/app/.next/server/app/api/auth/oidc/start/route.js +1 -1
- package/app/.next/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/app/.next/server/app/api/auth/oidc/test/route.js +1 -1
- package/app/.next/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/app/.next/server/app/api/auth/status/route.js +1 -1
- package/app/.next/server/app/api/auth/status/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/all-statuses/route.js +4 -4
- package/app/.next/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
- package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/cline-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/app/.next/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/droid-settings/route.js +1 -1
- package/app/.next/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/app/.next/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/combos/[id]/route.js +1 -1
- package/app/.next/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/combos/route.js +1 -1
- package/app/.next/server/app/api/combos/route.js.nft.json +1 -1
- package/app/.next/server/app/api/donate/route.js +1 -1
- package/app/.next/server/app/api/donate/route.js.nft.json +1 -1
- package/app/.next/server/app/api/health/route.js +1 -1
- package/app/.next/server/app/api/health/route.js.nft.json +1 -1
- package/app/.next/server/app/api/init/route.js +1 -1
- package/app/.next/server/app/api/init/route.js.nft.json +1 -1
- package/app/.next/server/app/api/internal/account-health/route.js +1 -1
- package/app/.next/server/app/api/internal/account-health/route.js.nft.json +1 -1
- package/app/.next/server/app/api/internal/request-detail/route.js +1 -1
- package/app/.next/server/app/api/internal/request-detail/route.js.nft.json +1 -1
- package/app/.next/server/app/api/internal/usage/route.js +1 -1
- package/app/.next/server/app/api/internal/usage/route.js.nft.json +1 -1
- package/app/.next/server/app/api/keys/[id]/reset-usage/route.js +1 -1
- package/app/.next/server/app/api/keys/[id]/reset-usage/route.js.nft.json +1 -1
- package/app/.next/server/app/api/keys/[id]/route.js +1 -1
- package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/keys/[id]/usage/route.js +1 -1
- package/app/.next/server/app/api/keys/[id]/usage/route.js.nft.json +1 -1
- package/app/.next/server/app/api/keys/route.js +1 -1
- package/app/.next/server/app/api/keys/route.js.nft.json +1 -1
- package/app/.next/server/app/api/locale/route.js +1 -1
- package/app/.next/server/app/api/locale/route.js.nft.json +1 -1
- package/app/.next/server/app/api/mcp/[plugin]/message/route.js +1 -1
- package/app/.next/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/app/.next/server/app/api/mcp/[plugin]/sse/route.js +1 -1
- package/app/.next/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/app/.next/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/app/.next/server/app/api/models/alias/route.js +1 -1
- package/app/.next/server/app/api/models/alias/route.js.nft.json +1 -1
- package/app/.next/server/app/api/models/availability/route.js +1 -1
- package/app/.next/server/app/api/models/availability/route.js.nft.json +1 -1
- package/app/.next/server/app/api/models/custom/route.js +1 -1
- package/app/.next/server/app/api/models/custom/route.js.nft.json +1 -1
- package/app/.next/server/app/api/models/disabled/route.js +1 -1
- package/app/.next/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/app/.next/server/app/api/models/route.js +1 -1
- package/app/.next/server/app/api/models/route.js.nft.json +1 -1
- package/app/.next/server/app/api/models/test/route.js +1 -1
- package/app/.next/server/app/api/models/test/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/app/.next/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
- package/app/.next/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
- package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/app/.next/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/app/.next/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/app/.next/server/app/api/pricing/route.js +1 -1
- package/app/.next/server/app/api/pricing/route.js.nft.json +1 -1
- package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/app/.next/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/provider-nodes/route.js +1 -1
- package/app/.next/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
- package/app/.next/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/[id]/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/app/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/client/route.js +1 -1
- package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/app/.next/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/route.js +1 -1
- package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/suggested-models/route.js +1 -1
- package/app/.next/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
- package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/app/.next/server/app/api/providers/validate/route.js +1 -1
- package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
- package/app/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
- package/app/.next/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/app/.next/server/app/api/proxy-pools/route.js +1 -1
- package/app/.next/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
- package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/app/.next/server/app/api/settings/database/route.js +1 -1
- package/app/.next/server/app/api/settings/database/route.js.nft.json +1 -1
- package/app/.next/server/app/api/settings/database/selective/route.js +1 -0
- package/app/.next/server/app/api/settings/database/selective/route.js.nft.json +1 -0
- package/app/.next/server/app/api/settings/database/selective/route_client-reference-manifest.js +1 -0
- package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
- package/app/.next/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/app/.next/server/app/api/settings/require-login/route.js +1 -1
- package/app/.next/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/app/.next/server/app/api/settings/route.js +1 -1
- package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/shutdown/route.js +1 -1
- package/app/.next/server/app/api/shutdown/route.js.nft.json +1 -1
- package/app/.next/server/app/api/tags/route.js +1 -1
- package/app/.next/server/app/api/tags/route.js.nft.json +1 -1
- package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
- package/app/.next/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/app/.next/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/app/.next/server/app/api/translator/load/route.js +1 -1
- package/app/.next/server/app/api/translator/load/route.js.nft.json +1 -1
- package/app/.next/server/app/api/translator/save/route.js +1 -1
- package/app/.next/server/app/api/translator/save/route.js.nft.json +1 -1
- package/app/.next/server/app/api/translator/send/route.js +1 -1
- package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
- package/app/.next/server/app/api/translator/translate/route.js +1 -1
- package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/app/.next/server/app/api/tunnel/status/route.js +1 -1
- package/app/.next/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-check/route.js +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/app/.next/server/app/api/tunnel/tailscale-install/route.js +2 -2
- package/app/.next/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
- package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/chart/route.js +1 -1
- package/app/.next/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/history/route.js +1 -1
- package/app/.next/server/app/api/usage/history/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/logs/route.js +1 -1
- package/app/.next/server/app/api/usage/logs/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/providers/route.js +1 -1
- package/app/.next/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/report/route.js +1 -1
- package/app/.next/server/app/api/usage/report/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/request-details/route.js +1 -1
- package/app/.next/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
- package/app/.next/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/stats/route.js +1 -1
- package/app/.next/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/app/.next/server/app/api/usage/stream/route.js +2 -2
- package/app/.next/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
- package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
- package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/app/.next/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/audio/voices/route.js +1 -1
- package/app/.next/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
- package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
- package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/images/generations/route.js +2 -2
- package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/app/.next/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/messages/route.js +1 -1
- package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/models/[kind]/route.js +1 -1
- package/app/.next/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/models/info/route.js +1 -1
- package/app/.next/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/models/route.js +1 -1
- package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
- package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/responses/route.js +1 -1
- package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/route.js +1 -1
- package/app/.next/server/app/api/v1/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/search/route.js +1 -1
- package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
- package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/app/.next/server/app/api/v1beta/models/route.js +1 -1
- package/app/.next/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/app/.next/server/app/api/version/route.js +1 -1
- package/app/.next/server/app/api/version/route.js.nft.json +1 -1
- package/app/.next/server/app/api/version/shutdown/route.js +1 -1
- package/app/.next/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/app/.next/server/app/api/version/update/route.js +1 -1
- package/app/.next/server/app/api/version/update/route.js.nft.json +1 -1
- package/app/.next/server/app/callback/page.js +2 -2
- package/app/.next/server/app/callback/page.js.nft.json +1 -1
- package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/callback.html +1 -1
- package/app/.next/server/app/callback.rsc +6 -6
- package/app/.next/server/app/callback.segments/_full.segment.rsc +6 -6
- package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/callback.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/callback.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/basic-chat.html +1 -1
- package/app/.next/server/app/dashboard/basic-chat.rsc +8 -8
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next/server/app/dashboard/cli-tools.rsc +8 -8
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/combos.html +1 -1
- package/app/.next/server/app/dashboard/combos.rsc +8 -8
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/endpoint.html +1 -1
- package/app/.next/server/app/dashboard/endpoint.rsc +8 -8
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.rsc +8 -8
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/mitm.html +1 -1
- package/app/.next/server/app/dashboard/mitm.rsc +8 -8
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/profile.html +1 -1
- package/app/.next/server/app/dashboard/profile.rsc +8 -8
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/providers/new.html +1 -1
- package/app/.next/server/app/dashboard/providers/new.rsc +8 -8
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/providers.html +1 -1
- package/app/.next/server/app/dashboard/providers.rsc +8 -8
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next/server/app/dashboard/proxy-pools.rsc +8 -8
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/quota.html +2 -2
- package/app/.next/server/app/dashboard/quota.rsc +9 -9
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
- package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
- package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.rsc +6 -6
- package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
- package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/skills.html +1 -1
- package/app/.next/server/app/dashboard/skills.rsc +8 -8
- package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/skills.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/translator.html +1 -1
- package/app/.next/server/app/dashboard/translator.rsc +8 -8
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/usage.html +1 -1
- package/app/.next/server/app/dashboard/usage.rsc +8 -8
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/dashboard.html +1 -1
- package/app/.next/server/app/dashboard.rsc +8 -8
- package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next/server/app/dashboard.segments/_full.segment.rsc +8 -8
- package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/favicon.ico/route.js +1 -1
- package/app/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/app/.next/server/app/index.html +1 -1
- package/app/.next/server/app/index.rsc +6 -6
- package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/index.segments/_full.segment.rsc +6 -6
- package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/index.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/index.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/landing/page.js +2 -2
- package/app/.next/server/app/landing/page.js.nft.json +1 -1
- package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/landing.html +1 -1
- package/app/.next/server/app/landing.rsc +6 -6
- package/app/.next/server/app/landing.segments/_full.segment.rsc +6 -6
- package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/landing.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/landing.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
- package/app/.next/server/app/login/page.js +2 -2
- package/app/.next/server/app/login/page.js.nft.json +1 -1
- package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/login.html +1 -1
- package/app/.next/server/app/login.rsc +7 -7
- package/app/.next/server/app/login.segments/_full.segment.rsc +7 -7
- package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/login.segments/_index.segment.rsc +5 -5
- package/app/.next/server/app/login.segments/_tree.segment.rsc +4 -4
- package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
- package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/app/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/app/.next/server/app/page.js +2 -2
- package/app/.next/server/app/page.js.nft.json +1 -1
- package/app/.next/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app-paths-manifest.json +13 -12
- package/app/.next/server/chunks/1051.js +1 -1
- package/app/.next/server/chunks/1476.js +1 -1
- package/app/.next/server/chunks/1498.js +1 -1
- package/app/.next/server/chunks/2569.js +1 -0
- package/app/.next/server/chunks/3110.js +10 -8
- package/app/.next/server/chunks/318.js +7 -7
- package/app/.next/server/chunks/3588.js +1 -1
- package/app/.next/server/chunks/365.js +1 -1
- package/app/.next/server/chunks/412.js +2 -2
- package/app/.next/server/chunks/4177.js +1 -1
- package/app/.next/server/chunks/4250.js +1 -1
- package/app/.next/server/chunks/4389.js +1 -1
- package/app/.next/server/chunks/4404.js +1 -1
- package/app/.next/server/chunks/5859.js +1 -0
- package/app/.next/server/chunks/5995.js +1 -1
- package/app/.next/server/chunks/6108.js +1 -1
- package/app/.next/server/chunks/6182.js +1 -1
- package/app/.next/server/chunks/6457.js +2 -2
- package/app/.next/server/chunks/6811.js +1 -1
- package/app/.next/server/chunks/7341.js +1 -1
- package/app/.next/server/chunks/7828.js +1 -1
- package/app/.next/server/chunks/7879.js +1 -1
- package/app/.next/server/chunks/7912.js +1 -0
- package/app/.next/server/chunks/7994.js +2 -2
- package/app/.next/server/chunks/8473.js +2 -2
- package/app/.next/server/chunks/8838.js +1 -0
- package/app/.next/server/chunks/8895.js +7 -5
- package/app/.next/server/chunks/9295.js +1 -0
- package/app/.next/server/chunks/9489.js +1 -1
- package/app/.next/server/chunks/9718.js +1 -1
- package/app/.next/server/chunks/9807.js +1 -1
- package/app/.next/server/middleware-build-manifest.js +1 -1
- package/app/.next/server/middleware.js +4 -4
- package/app/.next/server/next-font-manifest.js +1 -1
- package/app/.next/server/next-font-manifest.json +1 -1
- package/app/.next/server/pages/404.html +1 -1
- package/app/.next/server/pages/500.html +1 -1
- package/app/.next/server/server-reference-manifest.js +1 -1
- package/app/.next/server/server-reference-manifest.json +1 -1
- package/app/.next/static/chunks/1321-5ac5b0e0510e7bc1.js +1 -0
- package/app/.next/static/chunks/2589-89684df31938c4c7.js +3 -0
- package/app/.next/static/chunks/{4406-abc51cf55210026c.js → 4406-9357c0d7c2c19d9b.js} +6 -6
- package/app/.next/static/chunks/5497-f16d2c74532d4ad3.js +7 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-5d6cf330f43257e2.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-bc4b466a331dbb31.js +6 -0
- package/app/.next/static/chunks/app/(dashboard)/{layout-1244fdc593309aa9.js → layout-5d6111c3c8c1af01.js} +1 -1
- package/app/.next/static/chunks/app/_global-error/{page-9e73c1f718efb820.js → page-663014002ada02ea.js} +1 -1
- package/app/.next/static/chunks/app/api/antigravity-app/{route-9e73c1f718efb820.js → route-663014002ada02ea.js} +1 -1
- package/app/.next/static/chunks/app/api/antigravity-app-v2/{route-9e73c1f718efb820.js → route-663014002ada02ea.js} +1 -1
- package/app/.next/static/chunks/app/api/antigravity-ide/{route-9e73c1f718efb820.js → route-663014002ada02ea.js} +1 -1
- package/app/.next/static/chunks/app/api/antigravity-targets/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/antigravity-tools/import/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/antigravity-tools/import-refresh-tokens/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/auth/login/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/auth/logout/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/auth/oidc/callback/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/auth/oidc/start/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/auth/oidc/test/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/auth/status/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/combos/[id]/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/combos/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/donate/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/health/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/init/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/internal/account-health/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/internal/request-detail/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/internal/usage/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/keys/[id]/reset-usage/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/keys/[id]/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/keys/[id]/usage/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/keys/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/locale/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/models/alias/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/models/availability/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/models/custom/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/models/disabled/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/models/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/models/test/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/cursor/import/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/import/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/pricing/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/validate/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/models/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/test/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/providers/client/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/providers/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/providers/suggested-models/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/providers/test-batch/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/providers/validate/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/settings/database/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/settings/database/selective/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/settings/proxy-test/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/settings/require-login/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/settings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/shutdown/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/tags/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/translator/console-logs/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/translator/load/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/translator/save/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/translator/send/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/translator/translate/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/disable/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/enable/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/status/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/usage/[connectionId]/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/usage/chart/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/usage/history/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/usage/logs/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/usage/providers/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/usage/report/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/usage/request-details/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/usage/request-logs/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/usage/stats/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/usage/stream/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/api/chat/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/audio/speech/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/audio/voices/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/chat/completions/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/embeddings/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/images/generations/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/messages/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/models/[kind]/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/models/info/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/models/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/responses/compact/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/responses/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/search/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1/web/fetch/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/v1beta/models/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/version/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/version/shutdown/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/api/version/update/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/layout-c8d22221de81bd88.js +1 -0
- package/app/.next/static/chunks/app/manifest.webmanifest/route-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/app/page-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-663014002ada02ea.js +1 -0
- package/app/.next/static/chunks/{webpack-c2bac8d80aa27536.js → webpack-3c02ff02ae0645c5.js} +1 -1
- package/app/.next/static/css/aadc31e0cf060839.css +1 -0
- package/app/.next/static/css/d73c8ccb42eb9a7d.css +1 -0
- package/app/.next/static/media/6c596dfcddeca1e9-s.p.woff2 +0 -0
- package/app/.next/static/zOWV4f8WCIf4AVjdpAv5I/_buildManifest.js +1 -0
- package/app/open-sse/config/providerModels.js +12 -1
- package/app/open-sse/config/providers.js +2 -2
- package/app/open-sse/config/runtimeConfig.js +2 -2
- package/app/open-sse/executors/base.js +6 -6
- package/app/open-sse/executors/codex.js +13 -0
- package/app/open-sse/executors/default.js +1 -4
- package/app/open-sse/executors/index.js +3 -0
- package/app/open-sse/executors/qoder.js +6 -6
- package/app/open-sse/executors/xiaomi-tokenplan.js +19 -0
- package/app/open-sse/handlers/chatCore/nonStreamingHandler.js +6 -2
- package/app/open-sse/handlers/chatCore/sseToJsonHandler.js +2 -1
- package/app/open-sse/handlers/chatCore/streamingHandler.js +6 -1
- package/app/open-sse/handlers/chatCore.js +11 -4
- package/app/open-sse/handlers/imageProviders/codex.js +2 -2
- package/app/open-sse/index.js +8 -0
- package/app/open-sse/rtk/cavemanPrompts.js +46 -3
- package/app/open-sse/services/model.js +2 -0
- package/app/open-sse/services/oauthCredentialManager.js +151 -0
- package/app/open-sse/services/tokenRefresh.js +68 -56
- package/app/open-sse/transformer/streamToJsonConverter.js +1 -1
- package/app/open-sse/translator/request/openai-to-claude.js +26 -6
- package/app/open-sse/translator/request/openai-to-kiro.js +245 -39
- package/app/open-sse/translator/response/openai-responses.js +1 -1
- package/app/open-sse/utils/claudeCloaking.js +21 -8
- package/app/open-sse/utils/reasoningContentInjector.js +4 -2
- package/app/open-sse/utils/responsesStreamHelpers.js +49 -0
- package/app/open-sse/utils/stream.js +61 -3
- package/app/open-sse/utils/streamHandler.js +26 -16
- package/app/package.json +1 -1
- package/app/public/i18n/literals/ar.json +2 -1
- package/app/public/i18n/literals/bn.json +2 -1
- package/app/public/i18n/literals/cs.json +2 -1
- package/app/public/i18n/literals/da.json +2 -1
- package/app/public/i18n/literals/de.json +2 -1
- package/app/public/i18n/literals/el.json +2 -1
- package/app/public/i18n/literals/es.json +2 -1
- package/app/public/i18n/literals/fi.json +2 -1
- package/app/public/i18n/literals/fr.json +2 -1
- package/app/public/i18n/literals/he.json +2 -1
- package/app/public/i18n/literals/hi.json +2 -1
- package/app/public/i18n/literals/hu.json +2 -1
- package/app/public/i18n/literals/id.json +2 -1
- package/app/public/i18n/literals/it.json +2 -1
- package/app/public/i18n/literals/ja.json +2 -1
- package/app/public/i18n/literals/ko.json +2 -1
- package/app/public/i18n/literals/nl.json +2 -1
- package/app/public/i18n/literals/no.json +2 -1
- package/app/public/i18n/literals/pl.json +2 -1
- package/app/public/i18n/literals/pt-BR.json +2 -1
- package/app/public/i18n/literals/pt-PT.json +2 -1
- package/app/public/i18n/literals/ro.json +2 -1
- package/app/public/i18n/literals/ru.json +2 -1
- package/app/public/i18n/literals/sv.json +2 -1
- package/app/public/i18n/literals/th.json +2 -1
- package/app/public/i18n/literals/tl.json +2 -1
- package/app/public/i18n/literals/tr.json +2 -1
- package/app/public/i18n/literals/uk.json +2 -1
- package/app/public/i18n/literals/ur.json +2 -1
- package/app/public/i18n/literals/vi.json +2 -1
- package/app/public/i18n/literals/zh-CN.json +5 -1
- package/app/public/i18n/literals/zh-TW.json +2 -1
- package/app/server.js +1 -1
- package/app/src/mitm/config.js +16 -2
- package/app/src/mitm/handlers/base.js +159 -1
- package/app/src/mitm/tokenPool.js +206 -81
- package/app/src/shared/constants/cliTools.js +15 -2
- package/app/src/shared/constants/locales.js +36 -0
- package/app/src/shared/constants/pricing.js +2 -0
- package/package.json +1 -1
- package/app/.next/server/chunks/1569.js +0 -1
- package/app/.next/server/chunks/5221.js +0 -1
- package/app/.next/server/chunks/6251.js +0 -1
- package/app/.next/server/chunks/8590.js +0 -1
- package/app/.next/server/chunks/9609.js +0 -1
- package/app/.next/static/chunks/1321-03808de72db0a766.js +0 -1
- package/app/.next/static/chunks/2589-d4f1afc5e9f94887.js +0 -3
- package/app/.next/static/chunks/5497-6693628388854075.js +0 -7
- package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-ff34887f020e7a37.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-90eac92387b41cd4.js +0 -6
- package/app/.next/static/chunks/app/api/antigravity-targets/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/antigravity-tools/import/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/antigravity-tools/import-refresh-tokens/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/auth/login/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/auth/logout/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/callback/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/start/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/test/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/auth/status/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/combos/[id]/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/combos/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/donate/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/health/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/init/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/internal/account-health/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/internal/request-detail/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/internal/usage/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/keys/[id]/reset-usage/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/keys/[id]/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/keys/[id]/usage/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/keys/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/locale/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/models/alias/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/models/availability/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/models/custom/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/models/disabled/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/models/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/models/test/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/import/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/import/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/pricing/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/validate/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/models/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/providers/client/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/providers/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/providers/suggested-models/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/providers/test-batch/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/providers/validate/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/settings/database/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/settings/proxy-test/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/settings/require-login/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/settings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/shutdown/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/tags/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/translator/load/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/translator/save/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/translator/send/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/translator/translate/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/disable/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/enable/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/status/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/usage/[connectionId]/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/usage/chart/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/usage/history/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/usage/logs/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/usage/providers/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/usage/report/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-details/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-logs/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stats/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stream/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/api/chat/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/speech/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/voices/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/chat/completions/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/embeddings/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/images/generations/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/[kind]/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/info/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/compact/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/search/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1/web/fetch/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/version/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/version/shutdown/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/api/version/update/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/layout-35b23f7e08fe3978.js +0 -1
- package/app/.next/static/chunks/app/manifest.webmanifest/route-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/app/page-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-9e73c1f718efb820.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-9e73c1f718efb820.js +0 -1
- package/app/.next/static/css/0f03023a765dc337.css +0 -1
- package/app/.next/static/css/958bcd529c8d4b7c.css +0 -1
- package/app/.next/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
- package/app/.next/static/media/21350d82a1f187e9-s.woff2 +0 -0
- package/app/.next/static/media/8e9860b6e62d6359-s.woff2 +0 -0
- package/app/.next/static/media/ba9851c3c22cd980-s.woff2 +0 -0
- package/app/.next/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
- package/app/.next/static/media/df0a9ae256c0569c-s.woff2 +0 -0
- package/app/.next/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
- package/app/.next/static/p_zZZ7bGM2zUCztNMVhuB/_buildManifest.js +0 -1
- /package/app/.next/static/{p_zZZ7bGM2zUCztNMVhuB → zOWV4f8WCIf4AVjdpAv5I}/_ssgManifest.js +0 -0
|
@@ -22,20 +22,20 @@ const CLI_TOKEN_SALT = "9r-cli-auth";
|
|
|
22
22
|
const TOKEN_EXPIRY_BUFFER_MS = 5 * 60 * 1000; // refresh 5min before expiry
|
|
23
23
|
const ROUTER_PORT = process.env.PORT || 20128;
|
|
24
24
|
const DEFAULT_COOLDOWN_MS = 2 * 60 * 1000;
|
|
25
|
-
const DEFAULT_AUTH_COOLDOWN_MS =
|
|
25
|
+
const DEFAULT_AUTH_COOLDOWN_MS = 2 * 60 * 1000;
|
|
26
26
|
const DEFAULT_STRIKE_THRESHOLD = 3; // consecutive 429s before hard cooldown
|
|
27
27
|
const CAPACITY_EXHAUSTED_COOLDOWN_MS = 60 * 1000;
|
|
28
28
|
const SONNET_46_MODEL_KEY = "claude-sonnet-4-6";
|
|
29
29
|
const REFRESH_RESPONSE_BODY_LIMIT = 500;
|
|
30
30
|
// Must match DEFAULT_AG_503_RETRY_COUNT in open-sse/config/runtimeConfig.js
|
|
31
|
-
const DEFAULT_503_RETRY_COUNT = 3;
|
|
31
|
+
const DEFAULT_503_RETRY_COUNT = 3; // default 503 retries per account before switching
|
|
32
32
|
|
|
33
33
|
// ── In-memory state ──────────────────────────────────────────
|
|
34
|
-
const cooldownMap = {};
|
|
35
|
-
const authCooldownMap = {};
|
|
36
|
-
const modelCooldownMap = {};
|
|
37
|
-
const strikeMap = {};
|
|
38
|
-
const modelStrikeMap = {};
|
|
34
|
+
const cooldownMap = {}; // { [connectionId]: expiresTimestamp } quota/general cooldown
|
|
35
|
+
const authCooldownMap = {}; // { [connectionId]: expiresTimestamp } invalid_token/auth cooldown
|
|
36
|
+
const modelCooldownMap = {}; // { [connectionId]: { [model]: expiresTimestamp } }
|
|
37
|
+
const strikeMap = {}; // { [connectionId]: consecutiveHitCount }
|
|
38
|
+
const modelStrikeMap = {}; // { [connectionId]: { [model]: consecutiveHitCount } }
|
|
39
39
|
const refreshRequestMap = new Map(); // { [connectionId:mode]: Promise<refreshResult> }
|
|
40
40
|
let cachedRawMachineId = null;
|
|
41
41
|
let cachedCliSecret = null;
|
|
@@ -50,7 +50,9 @@ function getStrikeThreshold() {
|
|
|
50
50
|
if (!fs.existsSync(DB_FILE)) return DEFAULT_STRIKE_THRESHOLD;
|
|
51
51
|
const db = JSON.parse(fs.readFileSync(DB_FILE, "utf-8"));
|
|
52
52
|
return db.settings?.cooldownStrikeThreshold || DEFAULT_STRIKE_THRESHOLD;
|
|
53
|
-
} catch {
|
|
53
|
+
} catch {
|
|
54
|
+
return DEFAULT_STRIKE_THRESHOLD;
|
|
55
|
+
}
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
/**
|
|
@@ -67,11 +69,15 @@ function recordStrike(connId, durationMs) {
|
|
|
67
69
|
const ms = durationMs || DEFAULT_COOLDOWN_MS;
|
|
68
70
|
cooldownMap[connId] = Date.now() + ms;
|
|
69
71
|
delete strikeMap[connId];
|
|
70
|
-
log(
|
|
72
|
+
log(
|
|
73
|
+
`⏸ [token-pool] cooldown: ${connId.slice(0, 8)}… for ${Math.ceil(ms / 60000)}m (after ${count} strikes)`,
|
|
74
|
+
);
|
|
71
75
|
return true;
|
|
72
76
|
}
|
|
73
77
|
|
|
74
|
-
log(
|
|
78
|
+
log(
|
|
79
|
+
`⚡ [token-pool] strike ${count}/${threshold}: ${connId.slice(0, 8)}… (not locked yet)`,
|
|
80
|
+
);
|
|
75
81
|
return false;
|
|
76
82
|
}
|
|
77
83
|
|
|
@@ -83,13 +89,17 @@ function setCooldown(connId, durationMs) {
|
|
|
83
89
|
const ms = durationMs || DEFAULT_COOLDOWN_MS;
|
|
84
90
|
cooldownMap[connId] = Date.now() + ms;
|
|
85
91
|
delete strikeMap[connId];
|
|
86
|
-
log(
|
|
92
|
+
log(
|
|
93
|
+
`⏸ [token-pool] cooldown: ${connId.slice(0, 8)}… for ${Math.ceil(ms / 60000)}m`,
|
|
94
|
+
);
|
|
87
95
|
}
|
|
88
96
|
|
|
89
97
|
function setAuthCooldown(connId, durationMs) {
|
|
90
98
|
const ms = durationMs || DEFAULT_AUTH_COOLDOWN_MS;
|
|
91
99
|
authCooldownMap[connId] = Date.now() + ms;
|
|
92
|
-
log(
|
|
100
|
+
log(
|
|
101
|
+
`🔒 [token-pool] auth-cooldown: ${connId.slice(0, 8)}… for ${Math.ceil(ms / 60000)}m`,
|
|
102
|
+
);
|
|
93
103
|
}
|
|
94
104
|
|
|
95
105
|
function getMapExpiry(map, connId) {
|
|
@@ -135,11 +145,15 @@ function recordModelStrike(connId, model, durationMs) {
|
|
|
135
145
|
if (!modelCooldownMap[connId]) modelCooldownMap[connId] = {};
|
|
136
146
|
modelCooldownMap[connId][key] = Date.now() + ms;
|
|
137
147
|
delete modelStrikeMap[connId][key];
|
|
138
|
-
log(
|
|
148
|
+
log(
|
|
149
|
+
`⏸ [token-pool] model-cooldown: ${connId.slice(0, 8)}… model="${key}" for ${Math.ceil(ms / 60000)}m (after ${count} strikes)`,
|
|
150
|
+
);
|
|
139
151
|
return true;
|
|
140
152
|
}
|
|
141
153
|
|
|
142
|
-
log(
|
|
154
|
+
log(
|
|
155
|
+
`⚡ [token-pool] model-strike ${count}/${threshold}: ${connId.slice(0, 8)}… model="${key}" (not locked yet)`,
|
|
156
|
+
);
|
|
143
157
|
return false;
|
|
144
158
|
}
|
|
145
159
|
|
|
@@ -154,7 +168,9 @@ function setModelCooldown(connId, model, durationMs) {
|
|
|
154
168
|
if (!modelCooldownMap[connId]) modelCooldownMap[connId] = {};
|
|
155
169
|
modelCooldownMap[connId][key] = Date.now() + ms;
|
|
156
170
|
if (modelStrikeMap[connId]?.[key]) delete modelStrikeMap[connId][key];
|
|
157
|
-
log(
|
|
171
|
+
log(
|
|
172
|
+
`⏸ [token-pool] model-cooldown: ${connId.slice(0, 8)}… model="${key}" for ${Math.ceil(ms / 60000)}m`,
|
|
173
|
+
);
|
|
158
174
|
}
|
|
159
175
|
|
|
160
176
|
function isModelExhausted(connId, model) {
|
|
@@ -178,7 +194,9 @@ function isStoredModelQuotaExhausted(connection, model) {
|
|
|
178
194
|
const modelStatus = status[model];
|
|
179
195
|
if (!modelStatus || typeof modelStatus !== "object") return false;
|
|
180
196
|
|
|
181
|
-
return
|
|
197
|
+
return (
|
|
198
|
+
modelStatus.exhausted === true || modelStatus.remainingPercentage === 0
|
|
199
|
+
);
|
|
182
200
|
}
|
|
183
201
|
|
|
184
202
|
function isAntigravitySonnetZeroAutoDisableEnabled(db) {
|
|
@@ -190,7 +208,9 @@ function autoDisableAccountIfSonnetQuotaZero(connection, failure = {}) {
|
|
|
190
208
|
|
|
191
209
|
try {
|
|
192
210
|
const now = new Date().toISOString();
|
|
193
|
-
const statusLabel = failure.statusCode
|
|
211
|
+
const statusLabel = failure.statusCode
|
|
212
|
+
? `status ${failure.statusCode}`
|
|
213
|
+
: "request failure";
|
|
194
214
|
const disabled = updateConnectionInDb(connection.id, (conn, db) => {
|
|
195
215
|
if (!isAntigravitySonnetZeroAutoDisableEnabled(db)) return false;
|
|
196
216
|
if (conn.isActive === false) return false;
|
|
@@ -205,7 +225,10 @@ function autoDisableAccountIfSonnetQuotaZero(connection, failure = {}) {
|
|
|
205
225
|
});
|
|
206
226
|
});
|
|
207
227
|
|
|
208
|
-
if (disabled)
|
|
228
|
+
if (disabled)
|
|
229
|
+
log(
|
|
230
|
+
`⏸ [token-pool] auto-disabled: ${connection.id.slice(0, 8)}… Claude Sonnet 4.6 quota is 0%`,
|
|
231
|
+
);
|
|
209
232
|
return disabled;
|
|
210
233
|
} catch (e) {
|
|
211
234
|
log(`⚠️ [token-pool] auto-disable check failed: ${e.message}`);
|
|
@@ -220,7 +243,9 @@ function getTokenSwapStrategy() {
|
|
|
220
243
|
if (!fs.existsSync(DB_FILE)) return "round-robin";
|
|
221
244
|
const db = JSON.parse(fs.readFileSync(DB_FILE, "utf-8"));
|
|
222
245
|
return db.settings?.tokenSwapStrategy || "round-robin";
|
|
223
|
-
} catch {
|
|
246
|
+
} catch {
|
|
247
|
+
return "round-robin";
|
|
248
|
+
}
|
|
224
249
|
}
|
|
225
250
|
|
|
226
251
|
// ── Quota cooldown parser ────────────────────────────────────
|
|
@@ -233,9 +258,9 @@ function parseQuotaCooldown(errorBody) {
|
|
|
233
258
|
const msg = json?.error?.message || json?.message || "";
|
|
234
259
|
const reason = String(
|
|
235
260
|
json?.error?.details?.[0]?.reason ||
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
261
|
+
json?.error?.reason ||
|
|
262
|
+
json?.reason ||
|
|
263
|
+
"",
|
|
239
264
|
).toUpperCase();
|
|
240
265
|
const match = msg.match(/reset after (\d+h)?(\d+m)?(\d+s)?/i);
|
|
241
266
|
if (match) {
|
|
@@ -248,12 +273,18 @@ function parseQuotaCooldown(errorBody) {
|
|
|
248
273
|
|
|
249
274
|
if (
|
|
250
275
|
reason === "MODEL_CAPACITY_EXHAUSTED" ||
|
|
251
|
-
/no capacity available for model|model capacity exhausted|capacity exhausted/i.test(
|
|
276
|
+
/no capacity available for model|model capacity exhausted|capacity exhausted/i.test(
|
|
277
|
+
msg,
|
|
278
|
+
)
|
|
252
279
|
) {
|
|
253
280
|
return CAPACITY_EXHAUSTED_COOLDOWN_MS;
|
|
254
281
|
}
|
|
255
282
|
} catch {
|
|
256
|
-
if (
|
|
283
|
+
if (
|
|
284
|
+
/no capacity available for model|model capacity exhausted|capacity exhausted/i.test(
|
|
285
|
+
raw,
|
|
286
|
+
)
|
|
287
|
+
) {
|
|
257
288
|
return CAPACITY_EXHAUSTED_COOLDOWN_MS;
|
|
258
289
|
}
|
|
259
290
|
}
|
|
@@ -282,7 +313,9 @@ function getAntigravity503RetryCount(connectionOverride) {
|
|
|
282
313
|
if (!fs.existsSync(DB_FILE)) return DEFAULT_503_RETRY_COUNT;
|
|
283
314
|
const db = JSON.parse(fs.readFileSync(DB_FILE, "utf-8"));
|
|
284
315
|
return db.settings?.antigravity503RetryCount ?? DEFAULT_503_RETRY_COUNT;
|
|
285
|
-
} catch {
|
|
316
|
+
} catch {
|
|
317
|
+
return DEFAULT_503_RETRY_COUNT;
|
|
318
|
+
}
|
|
286
319
|
}
|
|
287
320
|
|
|
288
321
|
// ── Read connections from db.json (sync) ─────────────────────
|
|
@@ -295,16 +328,23 @@ function getActiveConnections(provider) {
|
|
|
295
328
|
const now = Date.now();
|
|
296
329
|
|
|
297
330
|
return connections
|
|
298
|
-
.filter(
|
|
299
|
-
c
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
331
|
+
.filter(
|
|
332
|
+
(c) =>
|
|
333
|
+
c.provider === provider &&
|
|
334
|
+
c.isActive !== false &&
|
|
335
|
+
c.accessToken &&
|
|
336
|
+
!isInCooldown(c.id) &&
|
|
337
|
+
// Skip expired tokens that have no refresh token
|
|
338
|
+
!(
|
|
339
|
+
c.expiresAt &&
|
|
340
|
+
new Date(c.expiresAt).getTime() < now &&
|
|
341
|
+
!c.refreshToken
|
|
342
|
+
),
|
|
305
343
|
)
|
|
306
344
|
.sort((a, b) => (a.priority || 999) - (b.priority || 999));
|
|
307
|
-
} catch {
|
|
345
|
+
} catch {
|
|
346
|
+
return [];
|
|
347
|
+
}
|
|
308
348
|
}
|
|
309
349
|
|
|
310
350
|
function getTokenSwapAvailabilitySummary(provider, model) {
|
|
@@ -315,12 +355,14 @@ function getTokenSwapAvailabilitySummary(provider, model) {
|
|
|
315
355
|
eligible: 0,
|
|
316
356
|
skipped: 0,
|
|
317
357
|
reasons: {},
|
|
318
|
-
summaryText: "0/0 account(s) eligible"
|
|
358
|
+
summaryText: "0/0 account(s) eligible",
|
|
319
359
|
};
|
|
320
360
|
}
|
|
321
361
|
|
|
322
362
|
const db = JSON.parse(fs.readFileSync(DB_FILE, "utf-8"));
|
|
323
|
-
const connections = (db.providerConnections || []).filter(
|
|
363
|
+
const connections = (db.providerConnections || []).filter(
|
|
364
|
+
(c) => c.provider === provider,
|
|
365
|
+
);
|
|
324
366
|
const now = Date.now();
|
|
325
367
|
const strategy = getTokenSwapStrategy();
|
|
326
368
|
const reasons = {
|
|
@@ -343,7 +385,11 @@ function getTokenSwapAvailabilitySummary(provider, model) {
|
|
|
343
385
|
reasons.noToken += 1;
|
|
344
386
|
continue;
|
|
345
387
|
}
|
|
346
|
-
if (
|
|
388
|
+
if (
|
|
389
|
+
connection.expiresAt &&
|
|
390
|
+
new Date(connection.expiresAt).getTime() < now &&
|
|
391
|
+
!connection.refreshToken
|
|
392
|
+
) {
|
|
347
393
|
reasons.expiredNoRefresh += 1;
|
|
348
394
|
continue;
|
|
349
395
|
}
|
|
@@ -363,7 +409,11 @@ function getTokenSwapAvailabilitySummary(provider, model) {
|
|
|
363
409
|
continue;
|
|
364
410
|
}
|
|
365
411
|
|
|
366
|
-
if (
|
|
412
|
+
if (
|
|
413
|
+
strategy === "sticky" &&
|
|
414
|
+
model &&
|
|
415
|
+
isModelExhausted(connection.id, model)
|
|
416
|
+
) {
|
|
367
417
|
reasons.modelCooldown += 1;
|
|
368
418
|
continue;
|
|
369
419
|
}
|
|
@@ -373,25 +423,36 @@ function getTokenSwapAvailabilitySummary(provider, model) {
|
|
|
373
423
|
|
|
374
424
|
const skipped = connections.length - eligible;
|
|
375
425
|
const reasonParts = [];
|
|
376
|
-
if (reasons.quotaCooldown)
|
|
377
|
-
|
|
378
|
-
if (reasons.
|
|
426
|
+
if (reasons.quotaCooldown)
|
|
427
|
+
reasonParts.push(`${reasons.quotaCooldown} quota cooldown`);
|
|
428
|
+
if (reasons.authCooldown)
|
|
429
|
+
reasonParts.push(`${reasons.authCooldown} auth cooldown`);
|
|
430
|
+
if (reasons.modelCooldown)
|
|
431
|
+
reasonParts.push(`${reasons.modelCooldown} model cooldown`);
|
|
379
432
|
if (reasons.inactive) reasonParts.push(`${reasons.inactive} inactive`);
|
|
380
433
|
if (reasons.noToken) reasonParts.push(`${reasons.noToken} missing token`);
|
|
381
|
-
if (reasons.expiredNoRefresh)
|
|
434
|
+
if (reasons.expiredNoRefresh)
|
|
435
|
+
reasonParts.push(`${reasons.expiredNoRefresh} expired-no-refresh`);
|
|
382
436
|
|
|
383
|
-
const summaryText =
|
|
384
|
-
|
|
385
|
-
|
|
437
|
+
const summaryText =
|
|
438
|
+
skipped > 0
|
|
439
|
+
? `${eligible}/${connections.length} account(s) eligible, skipped ${skipped} (${reasonParts.join(", ")})`
|
|
440
|
+
: `${eligible}/${connections.length} account(s) eligible`;
|
|
386
441
|
|
|
387
|
-
return {
|
|
442
|
+
return {
|
|
443
|
+
total: connections.length,
|
|
444
|
+
eligible,
|
|
445
|
+
skipped,
|
|
446
|
+
reasons,
|
|
447
|
+
summaryText,
|
|
448
|
+
};
|
|
388
449
|
} catch {
|
|
389
450
|
return {
|
|
390
451
|
total: 0,
|
|
391
452
|
eligible: 0,
|
|
392
453
|
skipped: 0,
|
|
393
454
|
reasons: {},
|
|
394
|
-
summaryText: "0/0 account(s) eligible"
|
|
455
|
+
summaryText: "0/0 account(s) eligible",
|
|
395
456
|
};
|
|
396
457
|
}
|
|
397
458
|
}
|
|
@@ -401,7 +462,7 @@ function getConnectionById(connId) {
|
|
|
401
462
|
if (!fs.existsSync(DB_FILE)) return null;
|
|
402
463
|
const db = JSON.parse(fs.readFileSync(DB_FILE, "utf-8"));
|
|
403
464
|
const connections = db.providerConnections || [];
|
|
404
|
-
return connections.find(c => c.id === connId) || null;
|
|
465
|
+
return connections.find((c) => c.id === connId) || null;
|
|
405
466
|
} catch {
|
|
406
467
|
return null;
|
|
407
468
|
}
|
|
@@ -447,7 +508,9 @@ function isTokenSwapEnabled() {
|
|
|
447
508
|
if (!fs.existsSync(DB_FILE)) return false;
|
|
448
509
|
const db = JSON.parse(fs.readFileSync(DB_FILE, "utf-8"));
|
|
449
510
|
return !!db.settings?.tokenSwapEnabled;
|
|
450
|
-
} catch {
|
|
511
|
+
} catch {
|
|
512
|
+
return false;
|
|
513
|
+
}
|
|
451
514
|
}
|
|
452
515
|
|
|
453
516
|
function getNextConnection(provider) {
|
|
@@ -457,12 +520,18 @@ function getNextConnection(provider) {
|
|
|
457
520
|
const selected = connections[0];
|
|
458
521
|
const strategy = getTokenSwapStrategy();
|
|
459
522
|
if (connections.length === 1) {
|
|
460
|
-
log(
|
|
523
|
+
log(
|
|
524
|
+
`🎯 [token-pool] selected: "${getConnectionLabel(selected)}" (only account)`,
|
|
525
|
+
);
|
|
461
526
|
return selected;
|
|
462
527
|
}
|
|
463
528
|
|
|
464
|
-
const lastUsedTag = selected.lastUsedAt
|
|
465
|
-
|
|
529
|
+
const lastUsedTag = selected.lastUsedAt
|
|
530
|
+
? ` lastUsed=${selected.lastUsedAt}`
|
|
531
|
+
: " lastUsed=never";
|
|
532
|
+
log(
|
|
533
|
+
`🎯 [token-pool] ${strategy}[next/${connections.length}]: "${getConnectionLabel(selected)}"${lastUsedTag}`,
|
|
534
|
+
);
|
|
466
535
|
return selected;
|
|
467
536
|
}
|
|
468
537
|
|
|
@@ -472,7 +541,7 @@ function getAllActiveConnections(provider, model) {
|
|
|
472
541
|
|
|
473
542
|
const strategy = getTokenSwapStrategy();
|
|
474
543
|
const hardAvailable = model
|
|
475
|
-
? connections.filter(c => !isStoredModelQuotaExhausted(c, model))
|
|
544
|
+
? connections.filter((c) => !isStoredModelQuotaExhausted(c, model))
|
|
476
545
|
: connections;
|
|
477
546
|
|
|
478
547
|
if (model && hardAvailable.length === 0) {
|
|
@@ -483,7 +552,7 @@ function getAllActiveConnections(provider, model) {
|
|
|
483
552
|
// Sticky strategy: filter out accounts exhausted for this specific model,
|
|
484
553
|
// then sort most-recently-used first so the same account sticks across requests.
|
|
485
554
|
const available = model
|
|
486
|
-
? hardAvailable.filter(c => !isModelExhausted(c.id, model))
|
|
555
|
+
? hardAvailable.filter((c) => !isModelExhausted(c.id, model))
|
|
487
556
|
: hardAvailable;
|
|
488
557
|
|
|
489
558
|
// Runtime model cooldowns are temporary and may be false positives,
|
|
@@ -492,7 +561,8 @@ function getAllActiveConnections(provider, model) {
|
|
|
492
561
|
|
|
493
562
|
// Most-recently-used first (sticky within session)
|
|
494
563
|
return [...pool].sort((a, b) => {
|
|
495
|
-
if (!a.lastUsedAt && !b.lastUsedAt)
|
|
564
|
+
if (!a.lastUsedAt && !b.lastUsedAt)
|
|
565
|
+
return (a.priority || 999) - (b.priority || 999);
|
|
496
566
|
if (!a.lastUsedAt) return 1;
|
|
497
567
|
if (!b.lastUsedAt) return -1;
|
|
498
568
|
return new Date(b.lastUsedAt) - new Date(a.lastUsedAt);
|
|
@@ -503,7 +573,8 @@ function getAllActiveConnections(provider, model) {
|
|
|
503
573
|
// update lastUsedAt, so the next selection naturally advances without
|
|
504
574
|
// extra streak state or in-memory round-robin indexes.
|
|
505
575
|
return [...hardAvailable].sort((a, b) => {
|
|
506
|
-
if (!a.lastUsedAt && !b.lastUsedAt)
|
|
576
|
+
if (!a.lastUsedAt && !b.lastUsedAt)
|
|
577
|
+
return (a.priority || 999) - (b.priority || 999);
|
|
507
578
|
if (!a.lastUsedAt) return -1;
|
|
508
579
|
if (!b.lastUsedAt) return 1;
|
|
509
580
|
return new Date(a.lastUsedAt) - new Date(b.lastUsedAt);
|
|
@@ -517,7 +588,7 @@ function getAllActiveConnections(provider, model) {
|
|
|
517
588
|
function updateConnectionInDb(connId, patchFn) {
|
|
518
589
|
const result = updateJsonFileSync(DB_FILE, (db) => {
|
|
519
590
|
const connections = db.providerConnections || [];
|
|
520
|
-
const index = connections.findIndex(c => c.id === connId);
|
|
591
|
+
const index = connections.findIndex((c) => c.id === connId);
|
|
521
592
|
if (index === -1) return false;
|
|
522
593
|
return patchFn(connections[index], db);
|
|
523
594
|
});
|
|
@@ -549,7 +620,8 @@ function getRefreshPayloadError(payload) {
|
|
|
549
620
|
if (!payload) return null;
|
|
550
621
|
if (typeof payload.error === "string") return payload.error;
|
|
551
622
|
if (payload.error?.message) return payload.error.message;
|
|
552
|
-
if (typeof payload.error_description === "string")
|
|
623
|
+
if (typeof payload.error_description === "string")
|
|
624
|
+
return payload.error_description;
|
|
553
625
|
if (typeof payload.message === "string") return payload.message;
|
|
554
626
|
return null;
|
|
555
627
|
}
|
|
@@ -595,7 +667,11 @@ function getInternalCliToken() {
|
|
|
595
667
|
if (!cachedCliToken) {
|
|
596
668
|
const raw = loadRawMachineId();
|
|
597
669
|
const secret = loadCliSecret();
|
|
598
|
-
cachedCliToken = crypto
|
|
670
|
+
cachedCliToken = crypto
|
|
671
|
+
.createHash("sha256")
|
|
672
|
+
.update(raw + CLI_TOKEN_SALT + secret)
|
|
673
|
+
.digest("hex")
|
|
674
|
+
.substring(0, 16);
|
|
599
675
|
}
|
|
600
676
|
return cachedCliToken;
|
|
601
677
|
}
|
|
@@ -617,17 +693,31 @@ function buildConnectionTestHeaders(payload) {
|
|
|
617
693
|
async function runConnectionTestRequest(connection, options = {}) {
|
|
618
694
|
return await new Promise((resolve) => {
|
|
619
695
|
if (!connection?.id) {
|
|
620
|
-
resolve({
|
|
696
|
+
resolve({
|
|
697
|
+
connection,
|
|
698
|
+
refreshed: false,
|
|
699
|
+
valid: false,
|
|
700
|
+
error: "Missing connection id",
|
|
701
|
+
errorType: "missing_connection_id",
|
|
702
|
+
});
|
|
621
703
|
return;
|
|
622
704
|
}
|
|
623
705
|
|
|
624
706
|
let responseBody = "";
|
|
625
|
-
const payload = options.forceRefresh
|
|
707
|
+
const payload = options.forceRefresh
|
|
708
|
+
? JSON.stringify({ forceRefresh: true })
|
|
709
|
+
: "";
|
|
626
710
|
const headers = buildConnectionTestHeaders(payload);
|
|
627
711
|
|
|
628
712
|
try {
|
|
629
713
|
const req = http.request(
|
|
630
|
-
{
|
|
714
|
+
{
|
|
715
|
+
hostname: "127.0.0.1",
|
|
716
|
+
port: ROUTER_PORT,
|
|
717
|
+
path: `/api/providers/${connection.id}/test`,
|
|
718
|
+
method: "POST",
|
|
719
|
+
headers,
|
|
720
|
+
},
|
|
631
721
|
(res) => {
|
|
632
722
|
res.on("data", (chunk) => {
|
|
633
723
|
responseBody += chunk.toString();
|
|
@@ -643,27 +733,43 @@ async function runConnectionTestRequest(connection, options = {}) {
|
|
|
643
733
|
}
|
|
644
734
|
|
|
645
735
|
const refreshedConnection = getConnectionById(connection.id);
|
|
646
|
-
const tokenChanged = !!(
|
|
736
|
+
const tokenChanged = !!(
|
|
737
|
+
refreshedConnection?.accessToken &&
|
|
738
|
+
refreshedConnection.accessToken !== connection.accessToken
|
|
739
|
+
);
|
|
647
740
|
const payloadError = getRefreshPayloadError(payload);
|
|
648
741
|
resolve({
|
|
649
742
|
connection: refreshedConnection || connection,
|
|
650
743
|
refreshed: !!payload.refreshed || tokenChanged,
|
|
651
744
|
valid: !!payload.valid,
|
|
652
745
|
statusCode: res.statusCode || 0,
|
|
653
|
-
error:
|
|
654
|
-
|
|
655
|
-
|
|
746
|
+
error:
|
|
747
|
+
payloadError ||
|
|
748
|
+
(parseError
|
|
749
|
+
? `Invalid JSON response: ${parseError.message}`
|
|
750
|
+
: null),
|
|
751
|
+
errorType: payloadError
|
|
752
|
+
? "api_error"
|
|
753
|
+
: parseError
|
|
754
|
+
? "parse_error"
|
|
755
|
+
: null,
|
|
756
|
+
responseBody:
|
|
757
|
+
payloadError || parseError
|
|
758
|
+
? truncateRefreshBody(responseBody)
|
|
759
|
+
: undefined,
|
|
656
760
|
});
|
|
657
761
|
});
|
|
658
|
-
}
|
|
762
|
+
},
|
|
763
|
+
);
|
|
764
|
+
req.on("error", (e) =>
|
|
765
|
+
resolve({
|
|
766
|
+
connection,
|
|
767
|
+
refreshed: false,
|
|
768
|
+
valid: false,
|
|
769
|
+
error: e.message,
|
|
770
|
+
errorType: "request_error",
|
|
771
|
+
}),
|
|
659
772
|
);
|
|
660
|
-
req.on("error", (e) => resolve({
|
|
661
|
-
connection,
|
|
662
|
-
refreshed: false,
|
|
663
|
-
valid: false,
|
|
664
|
-
error: e.message,
|
|
665
|
-
errorType: "request_error",
|
|
666
|
-
}));
|
|
667
773
|
if (payload) req.write(payload);
|
|
668
774
|
req.end();
|
|
669
775
|
} catch (e) {
|
|
@@ -687,7 +793,9 @@ async function runConnectionTest(connection, options = {}) {
|
|
|
687
793
|
const key = `${connection.id}:${mode}`;
|
|
688
794
|
const existing = refreshRequestMap.get(key);
|
|
689
795
|
if (existing) {
|
|
690
|
-
log(
|
|
796
|
+
log(
|
|
797
|
+
`⏳ [token-pool] waiting for in-flight ${mode} refresh → ${getConnectionLabel(connection).slice(0, 20)}`,
|
|
798
|
+
);
|
|
691
799
|
return await existing;
|
|
692
800
|
}
|
|
693
801
|
|
|
@@ -703,32 +811,49 @@ async function triggerRefreshIfNeeded(connection) {
|
|
|
703
811
|
|
|
704
812
|
const hasExpiry = !!connection?.expiresAt;
|
|
705
813
|
const expiresAt = hasExpiry ? new Date(connection.expiresAt).getTime() : 0;
|
|
706
|
-
const isExpired =
|
|
814
|
+
const isExpired =
|
|
815
|
+
!hasExpiry || Date.now() + TOKEN_EXPIRY_BUFFER_MS >= expiresAt;
|
|
707
816
|
|
|
708
817
|
if (!isExpired) return connection;
|
|
709
818
|
|
|
710
|
-
log(
|
|
819
|
+
log(
|
|
820
|
+
`🔄 [token-pool] ${!hasExpiry ? "missing-expiry" : "near-expiry"} refresh → ${getConnectionLabel(connection).slice(0, 20)}`,
|
|
821
|
+
);
|
|
711
822
|
const result = await runConnectionTest(connection);
|
|
712
823
|
if (result.refreshed) {
|
|
713
|
-
log(
|
|
824
|
+
log(
|
|
825
|
+
`♻️ [token-pool] refreshed token applied → ${getConnectionLabel(connection).slice(0, 20)}`,
|
|
826
|
+
);
|
|
714
827
|
}
|
|
715
828
|
return result.connection || connection;
|
|
716
829
|
}
|
|
717
830
|
|
|
718
831
|
async function forceRefreshConnection(connection) {
|
|
719
832
|
if (!connection?.refreshToken) {
|
|
720
|
-
return {
|
|
833
|
+
return {
|
|
834
|
+
connection,
|
|
835
|
+
refreshed: false,
|
|
836
|
+
valid: false,
|
|
837
|
+
error: "No refresh token",
|
|
838
|
+
errorType: "missing_refresh_token",
|
|
839
|
+
};
|
|
721
840
|
}
|
|
722
841
|
|
|
723
|
-
log(
|
|
842
|
+
log(
|
|
843
|
+
`🔄 [token-pool] auth refresh → ${getConnectionLabel(connection).slice(0, 20)}`,
|
|
844
|
+
);
|
|
724
845
|
const result = await runConnectionTest(connection, { forceRefresh: true });
|
|
725
846
|
if (result.refreshed) {
|
|
726
|
-
log(
|
|
847
|
+
log(
|
|
848
|
+
`♻️ [token-pool] refreshed token applied → ${getConnectionLabel(connection).slice(0, 20)}`,
|
|
849
|
+
);
|
|
727
850
|
} else {
|
|
728
851
|
const statusTag = result.statusCode ? ` status=${result.statusCode}` : "";
|
|
729
852
|
const errorTag = result.error ? ` error="${result.error}"` : "";
|
|
730
853
|
const typeTag = result.errorType ? ` type=${result.errorType}` : "";
|
|
731
|
-
log(
|
|
854
|
+
log(
|
|
855
|
+
`⚠️ [token-pool] auth refresh failed → ${getConnectionLabel(connection).slice(0, 20)}${statusTag}${typeTag}${errorTag}`,
|
|
856
|
+
);
|
|
732
857
|
}
|
|
733
858
|
return result;
|
|
734
859
|
}
|
|
@@ -10,9 +10,14 @@ export const MITM_TOOLS = {
|
|
|
10
10
|
mitmDomain: "daily-cloudcode-pa.googleapis.com",
|
|
11
11
|
supportsTokenSwap: true,
|
|
12
12
|
tokenSwapProvider: "antigravity",
|
|
13
|
-
modelAliases: ["gemini-3
|
|
13
|
+
modelAliases: ["gemini-3-flash-agent", "gemini-3.5-flash-low", "gemini-3.5-flash-extra-low", "gemini-3.1-pro-low", "gemini-pro-agent", "claude-sonnet-4-6", "claude-opus-4-6-thinking", "gpt-oss-120b-medium", "gemini-3-flash"],
|
|
14
14
|
defaultModels: [
|
|
15
|
-
|
|
15
|
+
// `mandatory: true` on the out-of-box agent/Default model — verified via MITM dump capture:
|
|
16
|
+
// Antigravity's agent loop sends `gemini-3.5-flash-low` (requestType agent/checkpoint) by
|
|
17
|
+
// default. The other slots only appear when the user explicitly picks that model, so they
|
|
18
|
+
// stay optional. (Tab-autocomplete uses `tab_*` models that are never re-routed — see
|
|
19
|
+
// MODEL_NO_MAP in src/mitm/config.js.)
|
|
20
|
+
{ id: "gemini-3.5-flash-low", name: "Gemini 3.5 Flash (Medium) / Default", alias: "gemini-3.5-flash-low", mandatory: true },
|
|
16
21
|
{ id: "gemini-3-flash-agent", name: "Gemini 3.5 Flash (High)", alias: "gemini-3-flash-agent" },
|
|
17
22
|
{ id: "gemini-3.5-flash-extra-low", name: "Gemini 3.5 Flash (Low)", alias: "gemini-3.5-flash-extra-low" },
|
|
18
23
|
{ id: "gemini-3.1-pro-low", name: "Gemini 3.1 Pro (Low)", alias: "gemini-3.1-pro-low" },
|
|
@@ -35,6 +40,7 @@ export const MITM_TOOLS = {
|
|
|
35
40
|
defaultModels: [
|
|
36
41
|
{ id: "gpt-4o", name: "GPT-4o", alias: "gpt-4o" },
|
|
37
42
|
{ id: "gpt-4.1", name: "GPT-4.1", alias: "gpt-4.1" },
|
|
43
|
+
{ id: "gpt-5-mini", name: "GPT-5 Mini", alias: "gpt-5-mini" },
|
|
38
44
|
{ id: "claude-haiku-4.5", name: "Claude Haiku 4.5", alias: "claude-haiku-4.5" },
|
|
39
45
|
],
|
|
40
46
|
},
|
|
@@ -47,11 +53,18 @@ export const MITM_TOOLS = {
|
|
|
47
53
|
configType: "mitm",
|
|
48
54
|
mitmDomain: "q.us-east-1.amazonaws.com",
|
|
49
55
|
defaultModels: [
|
|
56
|
+
// Kiro's agent/"vibe" mode sends modelId "auto" for the main turn and "simple-task"
|
|
57
|
+
// for background sub-tasks (verified via MITM request dump of generateAssistantResponse).
|
|
58
|
+
// Both need a mappable slot — otherwise getMappedModel returns null and the chat call
|
|
59
|
+
// is passed through to AWS instead of being routed to the chosen provider.
|
|
60
|
+
{ id: "auto", name: "Auto (Kiro Agent)", alias: "auto" },
|
|
50
61
|
{ id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5", alias: "claude-sonnet-4.5" },
|
|
51
62
|
{ id: "claude-sonnet-4", name: "Claude Sonnet 4", alias: "claude-sonnet-4" },
|
|
52
63
|
{ id: "claude-haiku-4.5", name: "Claude Haiku 4.5", alias: "claude-haiku-4.5" },
|
|
53
64
|
{ id: "deepseek-3.2", name: "DeepSeek 3.2", alias: "deepseek-3.2" },
|
|
65
|
+
{ id: "minimax-m2.5", name: "MiniMax M2.5", alias: "minimax-m2.5" },
|
|
54
66
|
{ id: "minimax-m2.1", name: "MiniMax M2.1", alias: "minimax-m2.1" },
|
|
67
|
+
{ id: "glm-5", name: "GLM 5", alias: "glm-5" },
|
|
55
68
|
{ id: "simple-task", name: "Qwen3 Coder Next", alias: "simple-task" },
|
|
56
69
|
],
|
|
57
70
|
},
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Centralized locale display flags (shared across UI components)
|
|
2
|
+
export const LOCALE_FLAGS = {
|
|
3
|
+
"en": "🇺🇸",
|
|
4
|
+
"vi": "🇻🇳",
|
|
5
|
+
"zh-CN": "🇨🇳",
|
|
6
|
+
"zh-TW": "🇹🇼",
|
|
7
|
+
"ja": "🇯🇵",
|
|
8
|
+
"pt-BR": "🇧🇷",
|
|
9
|
+
"pt-PT": "🇵🇹",
|
|
10
|
+
"ko": "🇰🇷",
|
|
11
|
+
"es": "🇪🇸",
|
|
12
|
+
"de": "🇩🇪",
|
|
13
|
+
"fr": "🇫🇷",
|
|
14
|
+
"he": "🇮🇱",
|
|
15
|
+
"ar": "🇸🇦",
|
|
16
|
+
"ru": "🇷🇺",
|
|
17
|
+
"pl": "🇵🇱",
|
|
18
|
+
"cs": "🇨🇿",
|
|
19
|
+
"nl": "🇳🇱",
|
|
20
|
+
"tr": "🇹🇷",
|
|
21
|
+
"uk": "🇺🇦",
|
|
22
|
+
"tl": "🇵🇭",
|
|
23
|
+
"id": "🇮🇩",
|
|
24
|
+
"th": "🇹🇭",
|
|
25
|
+
"hi": "🇮🇳",
|
|
26
|
+
"bn": "🇧🇩",
|
|
27
|
+
"ur": "🇵🇰",
|
|
28
|
+
"ro": "🇷🇴",
|
|
29
|
+
"sv": "🇸🇪",
|
|
30
|
+
"it": "🇮🇹",
|
|
31
|
+
"el": "🇬🇷",
|
|
32
|
+
"hu": "🇭🇺",
|
|
33
|
+
"fi": "🇫🇮",
|
|
34
|
+
"da": "🇩🇰",
|
|
35
|
+
"no": "🇳🇴",
|
|
36
|
+
};
|