n9router 0.4.44 → 0.4.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/.next/BUILD_ID +1 -1
- package/app/.next/app-path-routes-manifest.json +25 -16
- package/app/.next/build-manifest.json +2 -2
- package/app/.next/prerender-manifest.json +27 -3
- package/app/.next/required-server-files.json +12 -0
- package/app/.next/routes-manifest.json +71 -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 +3 -3
- 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 +30 -30
- 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 +10 -6
- 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 +3 -3
- 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/token-saver/page.js +2 -0
- package/app/.next/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -0
- package/app/.next/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -0
- 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 +4 -4
- package/app/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
- 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 +2 -2
- 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/reset-password/route.js +1 -0
- package/app/.next/server/app/api/auth/reset-password/route.js.nft.json +1 -0
- package/app/.next/server/app/api/auth/reset-password/route_client-reference-manifest.js +1 -0
- 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 +1 -1
- 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 +3 -3
- 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/headroom/start/route.js +1 -0
- package/app/.next/server/app/api/headroom/start/route.js.nft.json +1 -0
- package/app/.next/server/app/api/headroom/start/route_client-reference-manifest.js +1 -0
- package/app/.next/server/app/api/headroom/status/route.js +1 -0
- package/app/.next/server/app/api/headroom/status/route.js.nft.json +1 -0
- package/app/.next/server/app/api/headroom/status/route_client-reference-manifest.js +1 -0
- package/app/.next/server/app/api/headroom/stop/route.js +1 -0
- package/app/.next/server/app/api/headroom/stop/route.js.nft.json +1 -0
- package/app/.next/server/app/api/headroom/stop/route_client-reference-manifest.js +1 -0
- 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 +3 -3
- 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 +6 -3
- 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/bulk-import/route.js +1 -0
- package/app/.next/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -0
- package/app/.next/server/app/api/oauth/codex/bulk-import/route_client-reference-manifest.js +1 -0
- 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/api-key/route.js +1 -0
- package/app/.next/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -0
- package/app/.next/server/app/api/oauth/kiro/api-key/route_client-reference-manifest.js +1 -0
- 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/import-cli-proxy/route.js +1 -0
- package/app/.next/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -0
- package/app/.next/server/app/api/oauth/kiro/import-cli-proxy/route_client-reference-manifest.js +1 -0
- 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 -1
- package/app/.next/server/app/api/settings/database/selective/route.js.nft.json +1 -1
- 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 +4 -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]/codex-reset-credits/route.js +1 -0
- package/app/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -0
- package/app/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route_client-reference-manifest.js +1 -0
- 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/[...path]/route_client-reference-manifest.js +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/v1beta/models/route_client-reference-manifest.js +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 +5 -5
- package/app/.next/server/app/callback.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/callback.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
- 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 +6 -6
- 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 +6 -6
- 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 +4 -4
- package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next/server/app/dashboard/cli-tools.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/combos.html +1 -1
- package/app/.next/server/app/dashboard/combos.rsc +6 -6
- 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 +6 -6
- package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/endpoint.html +1 -1
- package/app/.next/server/app/dashboard/endpoint.rsc +6 -6
- 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 +6 -6
- package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
- package/app/.next/server/app/dashboard/media-providers/web.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/mitm.html +1 -1
- package/app/.next/server/app/dashboard/mitm.rsc +6 -6
- 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 +6 -6
- package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/profile.html +1 -1
- package/app/.next/server/app/dashboard/profile.rsc +6 -6
- 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 +6 -6
- package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/providers/new.html +1 -1
- package/app/.next/server/app/dashboard/providers/new.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/providers.html +1 -1
- package/app/.next/server/app/dashboard/providers.rsc +6 -6
- 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 +6 -6
- package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next/server/app/dashboard/proxy-pools.rsc +6 -6
- 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 +6 -6
- 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 +4 -4
- package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/quota.html +2 -2
- package/app/.next/server/app/dashboard/quota.rsc +7 -7
- 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 +7 -7
- package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
- 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 +5 -5
- package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
- 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 +4 -4
- package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
- 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 +6 -6
- 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 +6 -6
- package/app/.next/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/token-saver.html +1 -0
- package/app/.next/server/app/dashboard/token-saver.meta +17 -0
- package/app/.next/server/app/dashboard/token-saver.rsc +23 -0
- package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +6 -0
- package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +5 -0
- package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +5 -0
- package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +6 -0
- package/app/.next/server/app/dashboard/token-saver.segments/_full.segment.rsc +23 -0
- package/app/.next/server/app/dashboard/token-saver.segments/_head.segment.rsc +6 -0
- package/app/.next/server/app/dashboard/token-saver.segments/_index.segment.rsc +8 -0
- package/app/.next/server/app/dashboard/token-saver.segments/_tree.segment.rsc +5 -0
- package/app/.next/server/app/dashboard/translator.html +1 -1
- package/app/.next/server/app/dashboard/translator.rsc +6 -6
- 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 +6 -6
- package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard/usage.html +1 -1
- package/app/.next/server/app/dashboard/usage.rsc +6 -6
- 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 +6 -6
- package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
- package/app/.next/server/app/dashboard.html +1 -1
- package/app/.next/server/app/dashboard.rsc +6 -6
- 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 +6 -6
- package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/dashboard.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- 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 +4 -4
- package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/index.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- 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 +4 -4
- package/app/.next/server/app/landing.segments/_full.segment.rsc +4 -4
- package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/landing.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
- 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 +5 -5
- package/app/.next/server/app/login.segments/_full.segment.rsc +5 -5
- package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/login.segments/_index.segment.rsc +4 -4
- package/app/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- 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 +25 -16
- package/app/.next/server/chunks/1051.js +1 -1
- package/app/.next/server/chunks/1241.js +1 -0
- package/app/.next/server/chunks/1350.js +1 -0
- package/app/.next/server/chunks/1470.js +1 -0
- package/app/.next/server/chunks/1719.js +1 -0
- package/app/.next/server/chunks/2041.js +1 -0
- package/app/.next/server/chunks/220.js +1 -0
- package/app/.next/server/chunks/2701.js +10 -0
- package/app/.next/server/chunks/318.js +21 -44
- package/app/.next/server/chunks/3535.js +1 -0
- package/app/.next/server/chunks/{1531.js → 3546.js} +1 -1
- package/app/.next/server/chunks/3955.js +1 -0
- package/app/.next/server/chunks/412.js +5 -5
- package/app/.next/server/chunks/4250.js +2 -2
- package/app/.next/server/chunks/4306.js +1 -0
- package/app/.next/server/chunks/4334.js +1 -1
- package/app/.next/server/chunks/4632.js +1 -0
- package/app/.next/server/chunks/4989.js +2 -2
- package/app/.next/server/chunks/5612.js +1 -0
- package/app/.next/server/chunks/5615.js +43 -0
- package/app/.next/server/chunks/5699.js +1 -0
- package/app/.next/server/chunks/5961.js +1 -0
- package/app/.next/server/chunks/5995.js +3 -3
- package/app/.next/server/chunks/6070.js +1 -0
- package/app/.next/server/chunks/6114.js +1 -0
- package/app/.next/server/chunks/615.js +1 -0
- package/app/.next/server/chunks/6182.js +6 -6
- package/app/.next/server/chunks/6292.js +1 -0
- package/app/.next/server/chunks/63.js +3 -3
- package/app/.next/server/chunks/6306.js +1 -0
- package/app/.next/server/chunks/6328.js +1 -0
- package/app/.next/server/chunks/6457.js +4 -4
- package/app/.next/server/chunks/{5433.js → 6630.js} +1 -1
- package/app/.next/server/chunks/{6108.js → 6763.js} +1 -1
- package/app/.next/server/chunks/6777.js +1 -0
- package/app/.next/server/chunks/{7912.js → 7186.js} +1 -1
- package/app/.next/server/chunks/7774.js +2 -2
- package/app/.next/server/chunks/7886.js +1 -0
- package/app/.next/server/chunks/7994.js +1 -1
- package/app/.next/server/chunks/8056.js +1 -0
- package/app/.next/server/chunks/8238.js +1 -0
- package/app/.next/server/chunks/8271.js +1 -0
- package/app/.next/server/chunks/8833.js +75 -0
- package/app/.next/server/chunks/8895.js +52 -6
- package/app/.next/server/chunks/8910.js +2 -0
- package/app/.next/server/chunks/8920.js +1 -0
- package/app/.next/server/chunks/9718.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/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/27Vk-YuF5IVK9FBSw9u-7/_buildManifest.js +1 -0
- package/app/.next/static/chunks/1321-04bdf1999f780065.js +1 -0
- package/app/.next/static/chunks/4406-7c91480ba4750afb.js +53 -0
- package/app/.next/static/chunks/5497-5cecb2d0cc54a0f8.js +7 -0
- package/app/.next/static/chunks/705-979ff3eb195b9023.js +1 -0
- package/app/.next/static/chunks/8198-78a2e809aa3deb41.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-068dda6eab2b9c36.js → page-32d43003bf779725.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-67d36bbaeb6af871.js → page-15778114f19494f8.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-51957200aaa0e0f7.js → page-925d6a9314cf0c45.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-4bb3df15dc91fcb2.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-f60417f258999845.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-74bfeda48c347058.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-73b10fa11c40c00c.js +59 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-af17247a74fa851d.js → page-0f5128a45c7624cc.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-2db8cc9e18677705.js → page-ff27d7416104ba6f.js} +2 -2
- package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-3dda3de79f6783b9.js → page-e95e43c710b79a65.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/{page-8cb9c569a7822a0a.js → page-7c06afe89ff9c503.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/page-89ea8a0102dcfaa6.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/{page-5d6cf330f43257e2.js → page-ddac36832067712f.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-658bcd33b491d685.js +10 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/new/{page-90c4c56b239fd343.js → page-01642ff508f9e4da.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-cf238376512e0f73.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-b9da35538f423062.js → page-5d746bc98c25d89d.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-c38f42b5a56fb89a.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/skills/{page-00d80332b8940cff.js → page-78cef8869d7870c1.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/token-saver/page-74ebd1e0d5566f44.js +1 -0
- package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/{page-216b24f865b63695.js → page-260de68ca87258e3.js} +1 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-40fda9a4c08e7bd5.js +3 -0
- package/app/.next/static/chunks/app/(dashboard)/layout-9e8819851f57b3cb.js +1 -0
- package/app/.next/static/chunks/app/_global-error/page-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/antigravity-app/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/antigravity-app-v2/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/antigravity-ide/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/antigravity-targets/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/antigravity-tools/import/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/antigravity-tools/import-refresh-tokens/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/auth/login/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/auth/logout/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/auth/oidc/callback/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/auth/oidc/start/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/auth/oidc/test/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/auth/reset-password/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/auth/status/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/combos/[id]/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/combos/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/donate/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/headroom/start/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/headroom/status/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/headroom/stop/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/health/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/init/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/internal/account-health/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/internal/request-detail/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/internal/usage/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/keys/[id]/reset-usage/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/keys/[id]/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/keys/[id]/usage/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/keys/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/locale/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/models/alias/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/models/availability/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/models/custom/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/models/disabled/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/models/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/models/test/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/codex/bulk-import/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/cursor/import/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/api-key/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/import/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/pricing/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/provider-nodes/validate/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/models/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/test/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/providers/client/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/providers/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/providers/suggested-models/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/providers/test-batch/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/providers/validate/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/settings/database/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/settings/database/selective/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/settings/proxy-test/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/settings/require-login/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/settings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/shutdown/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/tags/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/translator/console-logs/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/translator/load/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/translator/save/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/translator/send/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/translator/translate/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/disable/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/enable/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/status/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/[connectionId]/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/chart/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/history/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/logs/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/providers/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/report/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/request-details/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/request-logs/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/stats/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/usage/stream/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/api/chat/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/audio/speech/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/audio/voices/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/chat/completions/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/embeddings/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/images/generations/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/messages/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/models/[kind]/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/models/info/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/models/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/responses/compact/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/responses/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/search/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1/web/fetch/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/v1beta/models/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/version/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/version/shutdown/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/api/version/update/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/callback/page-b12814e445464090.js +1 -0
- package/app/.next/static/chunks/app/dashboard/settings/pricing/page-71c6f6edfe7b111f.js +1 -0
- package/app/.next/static/chunks/app/login/page-1b46e625d19cb04a.js +1 -0
- package/app/.next/static/chunks/app/manifest.webmanifest/route-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/app/page-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-270635328efa0901.js +1 -0
- package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-270635328efa0901.js +1 -0
- package/app/.next/static/css/7eb3c00f858e3692.css +1 -0
- package/app/open-sse/AGENTS.md +39 -0
- package/app/open-sse/config/appConstants.js +20 -41
- package/app/open-sse/config/kiroConstants.js +55 -40
- package/app/open-sse/config/mediaConfig.js +27 -0
- package/app/open-sse/config/providerModels.js +15 -851
- package/app/open-sse/config/providers.js +6 -444
- package/app/open-sse/config/runtimeConfig.js +18 -3
- package/app/open-sse/config/ttsModels.js +2 -0
- package/app/open-sse/executors/antigravity.js +211 -125
- package/app/open-sse/executors/base.js +18 -8
- package/app/open-sse/executors/codebuddy-cn.js +40 -0
- package/app/open-sse/executors/codex.js +21 -89
- package/app/open-sse/executors/commandcode.js +10 -4
- package/app/open-sse/executors/cursor.js +96 -203
- package/app/open-sse/executors/default.js +148 -130
- package/app/open-sse/executors/github.js +5 -39
- package/app/open-sse/executors/grok-web.js +5 -7
- package/app/open-sse/executors/index.js +10 -0
- package/app/open-sse/executors/kimchi.js +123 -0
- package/app/open-sse/executors/kiro.js +126 -25
- package/app/open-sse/executors/mimo-free.js +167 -0
- package/app/open-sse/executors/opencode-go.js +12 -4
- package/app/open-sse/executors/opencode.js +1 -1
- package/app/open-sse/executors/perplexity-web.js +5 -7
- package/app/open-sse/executors/qoder.js +18 -10
- package/app/open-sse/executors/vertex.js +53 -7
- package/app/open-sse/executors/xiaomi-tokenplan.js +6 -5
- package/app/open-sse/handlers/chatCore/nonStreamingHandler.js +103 -12
- package/app/open-sse/handlers/chatCore/requestDetail.js +6 -10
- package/app/open-sse/handlers/chatCore/sseToJsonHandler.js +6 -2
- package/app/open-sse/handlers/chatCore/streamingHandler.js +51 -15
- package/app/open-sse/handlers/chatCore.js +58 -5
- package/app/open-sse/handlers/embeddingProviders/index.js +1 -0
- package/app/open-sse/handlers/embeddingProviders/openai.js +8 -16
- package/app/open-sse/handlers/imageGenerationCore.js +66 -6
- package/app/open-sse/handlers/imageProviders/antigravity.js +73 -0
- package/app/open-sse/handlers/imageProviders/blackForestLabs.js +2 -1
- package/app/open-sse/handlers/imageProviders/cloudflareAi.js +2 -1
- package/app/open-sse/handlers/imageProviders/codex.js +2 -1
- package/app/open-sse/handlers/imageProviders/comfyui.js +5 -1
- package/app/open-sse/handlers/imageProviders/falAi.js +2 -1
- package/app/open-sse/handlers/imageProviders/gemini.js +2 -1
- package/app/open-sse/handlers/imageProviders/huggingface.js +2 -1
- package/app/open-sse/handlers/imageProviders/index.js +5 -0
- package/app/open-sse/handlers/imageProviders/nanobanana.js +4 -2
- package/app/open-sse/handlers/imageProviders/openai.js +15 -22
- package/app/open-sse/handlers/imageProviders/runwayml.js +2 -1
- package/app/open-sse/handlers/imageProviders/sdwebui.js +4 -1
- package/app/open-sse/handlers/imageProviders/stabilityAi.js +2 -1
- package/app/open-sse/handlers/responsesHandler.js +3 -7
- package/app/open-sse/handlers/search/chatSearch.js +13 -14
- package/app/open-sse/handlers/sttCore.js +2 -3
- package/app/open-sse/handlers/ttsProviders/gemini.js +14 -3
- package/app/open-sse/handlers/ttsProviders/index.js +4 -2
- package/app/open-sse/handlers/ttsProviders/openai.js +4 -1
- package/app/open-sse/handlers/ttsProviders/openrouter.js +7 -4
- package/app/open-sse/index.js +0 -3
- package/app/open-sse/providers/REGISTRY_TEMPLATE.js +98 -0
- package/app/open-sse/providers/capabilities.js +291 -0
- package/app/open-sse/providers/index.js +51 -0
- package/app/open-sse/providers/models/helpers.js +20 -0
- package/app/open-sse/providers/models/namePatterns.js +33 -0
- package/app/open-sse/providers/models/schema.js +31 -0
- package/app/{src/shared/constants → open-sse/providers}/pricing.js +8 -5
- package/app/open-sse/providers/registry/alicode-intl.js +30 -0
- package/app/open-sse/providers/registry/alicode.js +31 -0
- package/app/open-sse/providers/registry/anthropic.js +32 -0
- package/app/open-sse/providers/registry/antigravity.js +85 -0
- package/app/open-sse/providers/registry/assemblyai.js +38 -0
- package/app/open-sse/providers/registry/aws-polly.js +45 -0
- package/app/open-sse/providers/registry/azure.js +21 -0
- package/app/open-sse/providers/registry/black-forest-labs.js +32 -0
- package/app/open-sse/providers/registry/blackbox.js +41 -0
- package/app/open-sse/providers/registry/brave-search.js +35 -0
- package/app/open-sse/providers/registry/byteplus.js +35 -0
- package/app/open-sse/providers/registry/cartesia.js +36 -0
- package/app/open-sse/providers/registry/cerebras.js +31 -0
- package/app/open-sse/providers/registry/chutes.js +24 -0
- package/app/open-sse/providers/registry/claude.js +89 -0
- package/app/open-sse/providers/registry/cline.js +51 -0
- package/app/open-sse/providers/registry/clinepass.js +57 -0
- package/app/open-sse/providers/registry/cloudflare-ai.js +55 -0
- package/app/open-sse/providers/registry/codebuddy-cn.js +77 -0
- package/app/open-sse/providers/registry/codex.js +95 -0
- package/app/open-sse/providers/registry/cohere.js +25 -0
- package/app/open-sse/providers/registry/comfyui.js +20 -0
- package/app/open-sse/providers/registry/commandcode.js +43 -0
- package/app/open-sse/providers/registry/coqui.js +30 -0
- package/app/open-sse/providers/registry/cursor.js +58 -0
- package/app/open-sse/providers/registry/deepgram.js +33 -0
- package/app/open-sse/providers/registry/deepseek.js +51 -0
- package/app/open-sse/providers/registry/edge-tts.js +24 -0
- package/app/open-sse/providers/registry/elevenlabs.js +35 -0
- package/app/open-sse/providers/registry/exa.js +50 -0
- package/app/open-sse/providers/registry/fal-ai.js +34 -0
- package/app/open-sse/providers/registry/firecrawl.js +34 -0
- package/app/open-sse/providers/registry/fireworks.js +29 -0
- package/app/open-sse/providers/registry/gemini-cli.js +58 -0
- package/app/open-sse/providers/registry/gemini.js +81 -0
- package/app/open-sse/providers/registry/github.js +82 -0
- package/app/open-sse/providers/registry/gitlab.js +32 -0
- package/app/open-sse/providers/registry/glm-cn.js +35 -0
- package/app/open-sse/providers/registry/glm.js +58 -0
- package/app/open-sse/providers/registry/google-pse.js +35 -0
- package/app/open-sse/providers/registry/google-tts.js +24 -0
- package/app/open-sse/providers/registry/grok-web.js +39 -0
- package/app/open-sse/providers/registry/groq.js +37 -0
- package/app/open-sse/providers/registry/huggingface.js +34 -0
- package/app/open-sse/providers/registry/hyperbolic.js +35 -0
- package/app/open-sse/providers/registry/iflow.js +52 -0
- package/app/open-sse/providers/registry/index.js +198 -0
- package/app/open-sse/providers/registry/inworld.js +36 -0
- package/app/open-sse/providers/registry/jina-ai.js +42 -0
- package/app/open-sse/providers/registry/jina-reader.js +34 -0
- package/app/open-sse/providers/registry/kilocode.js +51 -0
- package/app/open-sse/providers/registry/kimchi.js +49 -0
- package/app/open-sse/providers/registry/kimi-coding.js +65 -0
- package/app/open-sse/providers/registry/kimi.js +56 -0
- package/app/open-sse/providers/registry/kiro.js +96 -0
- package/app/open-sse/providers/registry/linkup.js +34 -0
- package/app/open-sse/providers/registry/local-device.js +24 -0
- package/app/open-sse/providers/registry/mimo-free.js +24 -0
- package/app/open-sse/providers/registry/minimax-cn.js +76 -0
- package/app/open-sse/providers/registry/minimax.js +83 -0
- package/app/open-sse/providers/registry/mistral.js +31 -0
- package/app/open-sse/providers/registry/mmf.js +19 -0
- package/app/open-sse/providers/registry/nanobanana.js +35 -0
- package/app/open-sse/providers/registry/nebius.js +27 -0
- package/app/open-sse/providers/registry/nvidia.js +43 -0
- package/app/open-sse/providers/registry/ollama-local.js +19 -0
- package/app/open-sse/providers/registry/ollama.js +36 -0
- package/app/open-sse/providers/registry/openai.js +81 -0
- package/app/open-sse/providers/registry/opencode-go.js +41 -0
- package/app/open-sse/providers/registry/opencode.js +25 -0
- package/app/open-sse/providers/registry/openrouter.js +60 -0
- package/app/open-sse/providers/registry/perplexity-web.js +33 -0
- package/app/open-sse/providers/registry/perplexity.js +35 -0
- package/app/open-sse/providers/registry/playht.js +36 -0
- package/app/open-sse/providers/registry/qoder.js +54 -0
- package/app/open-sse/providers/registry/qwen.js +33 -0
- package/app/open-sse/providers/registry/recraft.js +24 -0
- package/app/open-sse/providers/registry/runwayml.js +30 -0
- package/app/open-sse/providers/registry/sdwebui.js +20 -0
- package/app/open-sse/providers/registry/searchapi.js +35 -0
- package/app/open-sse/providers/registry/searxng.js +33 -0
- package/app/open-sse/providers/registry/serper.js +35 -0
- package/app/open-sse/providers/registry/siliconflow.js +39 -0
- package/app/open-sse/providers/registry/stability-ai.js +31 -0
- package/app/open-sse/providers/registry/tavily.js +50 -0
- package/app/open-sse/providers/registry/together.js +31 -0
- package/app/open-sse/providers/registry/topaz.js +19 -0
- package/app/open-sse/providers/registry/tortoise.js +30 -0
- package/app/open-sse/providers/registry/venice.js +56 -0
- package/app/open-sse/providers/registry/vercel-ai-gateway.js +41 -0
- package/app/open-sse/providers/registry/vertex-partner.js +29 -0
- package/app/open-sse/providers/registry/vertex.js +32 -0
- package/app/open-sse/providers/registry/volcengine-ark.js +35 -0
- package/app/open-sse/providers/registry/voyage-ai.js +30 -0
- package/app/open-sse/providers/registry/xai.js +43 -0
- package/app/open-sse/providers/registry/xiaomi-mimo.js +46 -0
- package/app/open-sse/providers/registry/xiaomi-tokenplan.js +63 -0
- package/app/open-sse/providers/registry/youcom.js +35 -0
- package/app/open-sse/providers/schema.js +76 -0
- package/app/open-sse/providers/shared.js +67 -0
- package/app/open-sse/rtk/caveman.js +2 -93
- package/app/open-sse/rtk/constants.js +6 -2
- package/app/open-sse/rtk/filters/find.js +2 -3
- package/app/open-sse/rtk/headroom.js +215 -0
- package/app/open-sse/rtk/ponytail.js +9 -0
- package/app/open-sse/rtk/ponytailPrompt.js +52 -0
- package/app/open-sse/rtk/systemInject.js +98 -0
- package/app/open-sse/services/clinepassModels.js +63 -0
- package/app/open-sse/services/combo.js +375 -2
- package/app/open-sse/services/copilotModels.js +155 -0
- package/app/open-sse/services/kimchiModels.js +176 -0
- package/app/open-sse/services/model.js +22 -145
- package/app/open-sse/services/oauthCredentialManager.js +10 -5
- package/app/open-sse/services/provider.js +17 -204
- package/app/open-sse/services/qoderModels.js +2 -2
- package/app/open-sse/services/tokenRefresh/dedup.js +31 -0
- package/app/open-sse/services/tokenRefresh/providers.js +624 -0
- package/app/open-sse/services/tokenRefresh.js +97 -735
- package/app/open-sse/services/usage/claude.js +147 -0
- package/app/open-sse/services/usage/codebuddy-cn.js +138 -0
- package/app/open-sse/services/usage/codex.js +201 -0
- package/app/open-sse/services/usage/github.js +100 -0
- package/app/open-sse/services/usage/google.js +279 -0
- package/app/open-sse/services/usage/kiro.js +188 -0
- package/app/open-sse/services/usage/minimax.js +234 -0
- package/app/open-sse/services/usage/misc.js +269 -0
- package/app/open-sse/services/usage/shared.js +70 -0
- package/app/open-sse/services/usage.js +40 -1295
- package/app/open-sse/shared/clineAuth.js +37 -0
- package/app/open-sse/shared/machineId.js +19 -0
- package/app/open-sse/shared/qoder/constants.js +64 -0
- package/app/open-sse/shared/qoder/cosy.js +175 -0
- package/app/open-sse/shared/qoder/encoding.js +55 -0
- package/app/open-sse/translator/concerns/chunk.js +11 -0
- package/app/open-sse/translator/concerns/finishReason.js +63 -0
- package/app/open-sse/translator/concerns/image.js +124 -0
- package/app/open-sse/translator/concerns/json.js +5 -0
- package/app/open-sse/translator/concerns/message.js +7 -0
- package/app/open-sse/translator/concerns/modality.js +155 -0
- package/app/open-sse/translator/concerns/paramSupport.js +44 -0
- package/app/open-sse/translator/concerns/prefetch.js +96 -0
- package/app/open-sse/translator/concerns/reasoning.js +24 -0
- package/app/open-sse/translator/concerns/thinking.js +53 -0
- package/app/open-sse/translator/concerns/thinkingUnified.js +271 -0
- package/app/open-sse/translator/{helpers/toolCallHelper.js → concerns/toolCall.js} +5 -0
- package/app/open-sse/translator/concerns/usage.js +69 -0
- package/app/open-sse/translator/formats/claude.js +351 -0
- package/app/open-sse/translator/{helpers/geminiHelper.js → formats/gemini.js} +24 -16
- package/app/open-sse/translator/{helpers/maxTokensHelper.js → formats/maxTokens.js} +4 -1
- package/app/open-sse/translator/{helpers/openaiHelper.js → formats/openai.js} +35 -31
- package/app/open-sse/translator/{helpers/responsesApiHelper.js → formats/responsesApi.js} +17 -15
- package/app/open-sse/translator/index.js +89 -56
- package/app/open-sse/translator/request/antigravity-to-openai.js +40 -27
- package/app/open-sse/translator/request/claude-to-kiro.js +466 -0
- package/app/open-sse/translator/request/claude-to-openai.js +61 -33
- package/app/open-sse/translator/request/gemini-to-openai.js +18 -13
- package/app/open-sse/translator/request/openai-responses.js +39 -30
- package/app/open-sse/translator/request/openai-to-claude.js +59 -90
- package/app/open-sse/translator/request/openai-to-commandcode.js +23 -21
- package/app/open-sse/translator/request/openai-to-cursor.js +25 -23
- package/app/open-sse/translator/request/openai-to-gemini.js +42 -46
- package/app/open-sse/translator/request/openai-to-kiro.js +56 -36
- package/app/open-sse/translator/request/openai-to-ollama.js +16 -13
- package/app/open-sse/translator/response/claude-to-openai.js +51 -80
- package/app/open-sse/translator/response/commandcode-to-openai.js +25 -38
- package/app/open-sse/translator/response/cursor-to-openai.js +2 -2
- package/app/open-sse/translator/response/gemini-to-openai.js +66 -164
- package/app/open-sse/translator/response/kiro-to-claude.js +261 -0
- package/app/open-sse/translator/response/kiro-to-openai.js +37 -72
- package/app/open-sse/translator/response/ollama-to-openai.js +21 -39
- package/app/open-sse/translator/response/openai-responses.js +68 -123
- package/app/open-sse/translator/response/openai-to-antigravity.js +7 -6
- package/app/open-sse/translator/response/openai-to-claude.js +18 -19
- package/app/open-sse/translator/schema/blocks.js +43 -0
- package/app/open-sse/translator/schema/defaults.js +7 -0
- package/app/open-sse/translator/schema/finishReasons.js +27 -0
- package/app/open-sse/translator/schema/index.js +8 -0
- package/app/open-sse/translator/schema/roles.js +16 -0
- package/app/open-sse/utils/bypassHandler.js +18 -3
- package/app/open-sse/utils/claudeCloaking.js +15 -5
- package/app/open-sse/utils/claudeSignature.js +41 -0
- package/app/open-sse/utils/reasoningContentInjector.js +4 -7
- package/app/open-sse/utils/responsesStreamHelpers.js +1 -0
- package/app/open-sse/utils/sessionManager.js +149 -0
- package/app/open-sse/utils/sse.js +14 -0
- package/app/open-sse/utils/sseConstants.js +23 -0
- package/app/open-sse/utils/stream.js +47 -39
- package/app/open-sse/utils/streamHandler.js +8 -6
- package/app/open-sse/utils/usageTracking.js +93 -18
- package/app/package.json +5 -2
- package/app/public/i18n/literals/zh-CN.json +1 -0
- package/app/public/providers/clinepass.png +0 -0
- package/app/public/providers/codebuddy-cn.png +0 -0
- package/app/public/providers/kimchi.png +0 -0
- package/app/public/providers/kimchi.svg +4 -0
- package/app/public/providers/mimo-free.png +0 -0
- package/app/server.js +1 -1
- package/app/src/mitm/cert/generate.js +2 -2
- package/app/src/mitm/cert/rootCA.js +1 -1
- package/app/src/mitm/config.js +3 -1
- package/app/src/mitm/manager.js +29 -2
- package/app/src/shared/constants/cliTools.js +23 -25
- package/app/src/shared/constants/config.js +28 -18
- package/app/src/shared/constants/coworkPlugins.js +1 -4
- package/app/src/shared/constants/mitmToolHosts.js +1 -1
- package/app/src/shared/constants/models.js +9 -0
- package/app/src/shared/constants/providers.js +65 -180
- package/app/src/shared/constants/providersDisplay.js +12 -0
- package/package.json +1 -1
- package/app/.next/server/chunks/1476.js +0 -1
- package/app/.next/server/chunks/1498.js +0 -1
- package/app/.next/server/chunks/1699.js +0 -1
- package/app/.next/server/chunks/2569.js +0 -1
- package/app/.next/server/chunks/3104.js +0 -43
- package/app/.next/server/chunks/3110.js +0 -67
- package/app/.next/server/chunks/3245.js +0 -1
- package/app/.next/server/chunks/3588.js +0 -1
- package/app/.next/server/chunks/4013.js +0 -1
- package/app/.next/server/chunks/4177.js +0 -1
- package/app/.next/server/chunks/4389.js +0 -1
- package/app/.next/server/chunks/4404.js +0 -1
- package/app/.next/server/chunks/5681.js +0 -1
- package/app/.next/server/chunks/5859.js +0 -1
- package/app/.next/server/chunks/6811.js +0 -1
- package/app/.next/server/chunks/7341.js +0 -1
- package/app/.next/server/chunks/7828.js +0 -1
- package/app/.next/server/chunks/7879.js +0 -10
- package/app/.next/server/chunks/8255.js +0 -1
- package/app/.next/server/chunks/9295.js +0 -1
- package/app/.next/server/chunks/9396.js +0 -44
- package/app/.next/server/chunks/9489.js +0 -1
- package/app/.next/server/chunks/9807.js +0 -7
- package/app/.next/static/chunks/1321-5ac5b0e0510e7bc1.js +0 -1
- package/app/.next/static/chunks/4406-9357c0d7c2c19d9b.js +0 -53
- package/app/.next/static/chunks/5497-f16d2c74532d4ad3.js +0 -7
- package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-1271df5d411ef013.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-56d9eac21ab09df1.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-770486eb0371891f.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-e680a27ecacbfd49.js +0 -59
- package/app/.next/static/chunks/app/(dashboard)/dashboard/page-68288fb612a60026.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-bc4b466a331dbb31.js +0 -6
- package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-de08b6b9ad238de4.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-1389351bfdd842f9.js +0 -1
- package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-d6fce7b8e1d3fdec.js +0 -3
- package/app/.next/static/chunks/app/(dashboard)/layout-5d6111c3c8c1af01.js +0 -1
- package/app/.next/static/chunks/app/_global-error/page-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/antigravity-app/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/antigravity-app-v2/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/antigravity-ide/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/antigravity-targets/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/antigravity-tools/import/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/antigravity-tools/import-refresh-tokens/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/auth/login/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/auth/logout/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/callback/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/start/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/auth/oidc/test/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/auth/status/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/combos/[id]/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/combos/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/donate/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/health/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/init/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/internal/account-health/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/internal/request-detail/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/internal/usage/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/keys/[id]/reset-usage/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/keys/[id]/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/keys/[id]/usage/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/keys/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/locale/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/models/alias/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/models/availability/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/models/custom/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/models/disabled/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/models/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/models/test/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/codex/import-token/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/cursor/import/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/import/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/pricing/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/provider-nodes/validate/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/models/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/providers/client/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/providers/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/providers/suggested-models/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/providers/test-batch/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/providers/validate/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/settings/database/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/settings/database/selective/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/settings/proxy-test/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/settings/require-login/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/settings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/shutdown/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/tags/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/translator/load/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/translator/save/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/translator/send/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/translator/translate/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/disable/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/enable/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/status/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-check/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-disable/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-enable/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/tunnel/tailscale-install/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/usage/[connectionId]/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/usage/chart/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/usage/history/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/usage/logs/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/usage/providers/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/usage/report/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-details/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/usage/request-logs/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stats/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/usage/stream/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/api/chat/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/speech/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/audio/voices/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/chat/completions/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/embeddings/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/images/generations/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/messages/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/[kind]/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/info/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/models/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/compact/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/responses/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/search/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1/web/fetch/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/v1beta/models/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/version/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/version/shutdown/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/api/version/update/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/callback/page-1ac4b69a5de26857.js +0 -1
- package/app/.next/static/chunks/app/dashboard/settings/pricing/page-29c50a560c8c4d2b.js +0 -1
- package/app/.next/static/chunks/app/login/page-98aaabbf53ef75f6.js +0 -1
- package/app/.next/static/chunks/app/manifest.webmanifest/route-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/app/page-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-663014002ada02ea.js +0 -1
- package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-663014002ada02ea.js +0 -1
- package/app/.next/static/css/d73c8ccb42eb9a7d.css +0 -1
- package/app/.next/static/zOWV4f8WCIf4AVjdpAv5I/_buildManifest.js +0 -1
- package/app/open-sse/translator/helpers/claudeHelper.js +0 -216
- package/app/open-sse/translator/helpers/imageHelper.js +0 -34
- package/app/open-sse/translator/request/openai-to-kiro.old.js +0 -278
- /package/app/.next/static/{zOWV4f8WCIf4AVjdpAv5I → 27Vk-YuF5IVK9FBSw9u-7}/_ssgManifest.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// OpenAI helper functions for translator
|
|
2
|
+
import { ROLE, OPENAI_BLOCK, CLAUDE_BLOCK, VALID_OPENAI_CONTENT_TYPES, VALID_OPENAI_MESSAGE_TYPES } from "../schema/index.js";
|
|
2
3
|
|
|
3
|
-
//
|
|
4
|
-
export
|
|
5
|
-
export const VALID_OPENAI_MESSAGE_TYPES = ["text", "image_url", "image", "tool_calls", "tool_result"];
|
|
4
|
+
// Re-export valid-type lists (moved to schema/blocks.js) to keep existing importers working.
|
|
5
|
+
export { VALID_OPENAI_CONTENT_TYPES, VALID_OPENAI_MESSAGE_TYPES };
|
|
6
6
|
|
|
7
7
|
function normalizeOpenAIContent(content) {
|
|
8
8
|
if (content.length === 0) return "";
|
|
@@ -14,48 +14,52 @@ function normalizeOpenAIContent(content) {
|
|
|
14
14
|
|
|
15
15
|
// Filter messages to OpenAI standard format
|
|
16
16
|
// Remove: thinking, redacted_thinking, signature, and other non-OpenAI blocks
|
|
17
|
-
|
|
17
|
+
// opts.preserveCacheControl: keep cache_control on content blocks (e.g. for DashScope/alicode)
|
|
18
|
+
export function filterToOpenAIFormat(body, opts = {}) {
|
|
18
19
|
if (!body.messages || !Array.isArray(body.messages)) return body;
|
|
19
|
-
|
|
20
|
+
const keepCache = !!opts.preserveCacheControl;
|
|
21
|
+
|
|
22
|
+
function stripBlock(block) {
|
|
23
|
+
const { signature, cache_control, ...rest } = block;
|
|
24
|
+
return keepCache && cache_control ? { ...rest, cache_control } : rest;
|
|
25
|
+
}
|
|
26
|
+
|
|
20
27
|
body.messages = body.messages.map(msg => {
|
|
21
28
|
// Normalize developer role to system (many providers don't support developer)
|
|
22
|
-
if (msg.role ===
|
|
23
|
-
|
|
29
|
+
if (msg.role === ROLE.DEVELOPER) msg = { ...msg, role: ROLE.SYSTEM };
|
|
30
|
+
|
|
24
31
|
// Keep tool messages as-is (OpenAI format)
|
|
25
|
-
if (msg.role ===
|
|
26
|
-
|
|
32
|
+
if (msg.role === ROLE.TOOL) return msg;
|
|
33
|
+
|
|
27
34
|
// Keep assistant messages with tool_calls as-is
|
|
28
|
-
if (msg.role ===
|
|
29
|
-
|
|
35
|
+
if (msg.role === ROLE.ASSISTANT && msg.tool_calls) return msg;
|
|
36
|
+
|
|
30
37
|
// Handle string content
|
|
31
38
|
if (typeof msg.content === "string") return msg;
|
|
32
|
-
|
|
39
|
+
|
|
33
40
|
// Handle array content
|
|
34
41
|
if (Array.isArray(msg.content)) {
|
|
35
42
|
const filteredContent = [];
|
|
36
|
-
|
|
43
|
+
|
|
37
44
|
for (const block of msg.content) {
|
|
38
45
|
// Skip thinking blocks
|
|
39
|
-
if (block.type ===
|
|
40
|
-
|
|
46
|
+
if (block.type === CLAUDE_BLOCK.THINKING || block.type === CLAUDE_BLOCK.REDACTED_THINKING) continue;
|
|
47
|
+
|
|
41
48
|
// Only keep valid OpenAI content types
|
|
42
49
|
if (VALID_OPENAI_CONTENT_TYPES.includes(block.type)) {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
filteredContent.push(cleanBlock);
|
|
46
|
-
} else if (block.type === "tool_use") {
|
|
50
|
+
filteredContent.push(stripBlock(block));
|
|
51
|
+
} else if (block.type === CLAUDE_BLOCK.TOOL_USE) {
|
|
47
52
|
// Convert tool_use to tool_calls format (handled separately)
|
|
48
53
|
continue;
|
|
49
|
-
} else if (block.type ===
|
|
54
|
+
} else if (block.type === CLAUDE_BLOCK.TOOL_RESULT) {
|
|
50
55
|
// Keep tool_result but clean it
|
|
51
|
-
|
|
52
|
-
filteredContent.push(cleanBlock);
|
|
56
|
+
filteredContent.push(stripBlock(block));
|
|
53
57
|
}
|
|
54
58
|
}
|
|
55
59
|
|
|
56
60
|
// If all content was filtered, add empty text
|
|
57
61
|
if (filteredContent.length === 0) {
|
|
58
|
-
filteredContent.push({ type:
|
|
62
|
+
filteredContent.push({ type: OPENAI_BLOCK.TEXT, text: "" });
|
|
59
63
|
}
|
|
60
64
|
|
|
61
65
|
return { ...msg, content: normalizeOpenAIContent(filteredContent) };
|
|
@@ -67,15 +71,15 @@ export function filterToOpenAIFormat(body) {
|
|
|
67
71
|
// Filter out messages with only empty text (but NEVER filter tool messages)
|
|
68
72
|
body.messages = body.messages.filter(msg => {
|
|
69
73
|
// Always keep tool messages
|
|
70
|
-
if (msg.role ===
|
|
74
|
+
if (msg.role === ROLE.TOOL) return true;
|
|
71
75
|
// Always keep assistant messages with tool_calls
|
|
72
|
-
if (msg.role ===
|
|
76
|
+
if (msg.role === ROLE.ASSISTANT && msg.tool_calls) return true;
|
|
73
77
|
|
|
74
78
|
if (typeof msg.content === "string") return msg.content.trim() !== "";
|
|
75
79
|
if (Array.isArray(msg.content)) {
|
|
76
80
|
return msg.content.some(b =>
|
|
77
|
-
(b.type ===
|
|
78
|
-
b.type !==
|
|
81
|
+
(b.type === OPENAI_BLOCK.TEXT && b.text?.trim()) ||
|
|
82
|
+
b.type !== OPENAI_BLOCK.TEXT
|
|
79
83
|
);
|
|
80
84
|
}
|
|
81
85
|
return true;
|
|
@@ -90,12 +94,12 @@ export function filterToOpenAIFormat(body) {
|
|
|
90
94
|
if (body.tools && Array.isArray(body.tools) && body.tools.length > 0) {
|
|
91
95
|
body.tools = body.tools.map(tool => {
|
|
92
96
|
// Already OpenAI format
|
|
93
|
-
if (tool.type ===
|
|
97
|
+
if (tool.type === OPENAI_BLOCK.FUNCTION && tool.function) return tool;
|
|
94
98
|
|
|
95
99
|
// Claude format: {name, description, input_schema}
|
|
96
100
|
if (tool.name && (tool.input_schema || tool.description)) {
|
|
97
101
|
return {
|
|
98
|
-
type:
|
|
102
|
+
type: OPENAI_BLOCK.FUNCTION,
|
|
99
103
|
function: {
|
|
100
104
|
name: tool.name,
|
|
101
105
|
description: String(tool.description || ""),
|
|
@@ -107,7 +111,7 @@ export function filterToOpenAIFormat(body) {
|
|
|
107
111
|
// Gemini format: {functionDeclarations: [{name, description, parameters}]}
|
|
108
112
|
if (tool.functionDeclarations && Array.isArray(tool.functionDeclarations)) {
|
|
109
113
|
return tool.functionDeclarations.map(fn => ({
|
|
110
|
-
type:
|
|
114
|
+
type: OPENAI_BLOCK.FUNCTION,
|
|
111
115
|
function: {
|
|
112
116
|
name: fn.name,
|
|
113
117
|
description: String(fn.description || ""),
|
|
@@ -129,7 +133,7 @@ export function filterToOpenAIFormat(body) {
|
|
|
129
133
|
} else if (choice.type === "any") {
|
|
130
134
|
body.tool_choice = "required";
|
|
131
135
|
} else if (choice.type === "tool" && choice.name) {
|
|
132
|
-
body.tool_choice = { type:
|
|
136
|
+
body.tool_choice = { type: OPENAI_BLOCK.FUNCTION, function: { name: choice.name } };
|
|
133
137
|
}
|
|
134
138
|
}
|
|
135
139
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ROLE, OPENAI_BLOCK, RESPONSES_ITEM } from "../schema/index.js";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Normalize Responses API input to array format.
|
|
3
5
|
* Accepts string or array, returns array of message items.
|
|
@@ -9,12 +11,12 @@
|
|
|
9
11
|
export function normalizeResponsesInput(input) {
|
|
10
12
|
if (typeof input === "string") {
|
|
11
13
|
const text = input.trim() === "" ? "..." : input;
|
|
12
|
-
return [{ type:
|
|
14
|
+
return [{ type: RESPONSES_ITEM.MESSAGE, role: ROLE.USER, content: [{ type: RESPONSES_ITEM.INPUT_TEXT, text }] }];
|
|
13
15
|
}
|
|
14
16
|
if (Array.isArray(input)) {
|
|
15
17
|
// Empty input[] would produce messages:[] which all providers reject (#389)
|
|
16
18
|
if (input.length === 0) {
|
|
17
|
-
return [{ type:
|
|
19
|
+
return [{ type: RESPONSES_ITEM.MESSAGE, role: ROLE.USER, content: [{ type: RESPONSES_ITEM.INPUT_TEXT, text: "..." }] }];
|
|
18
20
|
}
|
|
19
21
|
return input;
|
|
20
22
|
}
|
|
@@ -34,7 +36,7 @@ export function convertResponsesApiFormat(body) {
|
|
|
34
36
|
|
|
35
37
|
// Convert instructions to system message
|
|
36
38
|
if (body.instructions) {
|
|
37
|
-
result.messages.push({ role:
|
|
39
|
+
result.messages.push({ role: ROLE.SYSTEM, content: body.instructions });
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
// Group items by conversation turn
|
|
@@ -48,9 +50,9 @@ export function convertResponsesApiFormat(body) {
|
|
|
48
50
|
for (const item of inputItems) {
|
|
49
51
|
// Determine item type - Droid CLI sends role-based items without 'type' field
|
|
50
52
|
// Fallback: if no type but has role property, treat as message
|
|
51
|
-
const itemType = item.type || (item.role ?
|
|
53
|
+
const itemType = item.type || (item.role ? RESPONSES_ITEM.MESSAGE : null);
|
|
52
54
|
|
|
53
|
-
if (itemType ===
|
|
55
|
+
if (itemType === RESPONSES_ITEM.MESSAGE) {
|
|
54
56
|
// Flush any pending assistant message with tool calls
|
|
55
57
|
if (currentAssistantMsg) {
|
|
56
58
|
result.messages.push(currentAssistantMsg);
|
|
@@ -67,22 +69,22 @@ export function convertResponsesApiFormat(body) {
|
|
|
67
69
|
// Convert content: input_text → text, output_text → text, input_image → image_url
|
|
68
70
|
const content = Array.isArray(item.content)
|
|
69
71
|
? item.content.map(c => {
|
|
70
|
-
if (c.type ===
|
|
71
|
-
if (c.type ===
|
|
72
|
-
if (c.type ===
|
|
72
|
+
if (c.type === RESPONSES_ITEM.INPUT_TEXT) return { type: OPENAI_BLOCK.TEXT, text: c.text };
|
|
73
|
+
if (c.type === RESPONSES_ITEM.OUTPUT_TEXT) return { type: OPENAI_BLOCK.TEXT, text: c.text };
|
|
74
|
+
if (c.type === RESPONSES_ITEM.INPUT_IMAGE) {
|
|
73
75
|
const url = c.image_url || c.file_id || "";
|
|
74
|
-
return { type:
|
|
76
|
+
return { type: OPENAI_BLOCK.IMAGE_URL, image_url: { url, detail: c.detail || "auto" } };
|
|
75
77
|
}
|
|
76
78
|
return c;
|
|
77
79
|
})
|
|
78
80
|
: item.content;
|
|
79
81
|
result.messages.push({ role: item.role, content });
|
|
80
82
|
}
|
|
81
|
-
else if (itemType ===
|
|
83
|
+
else if (itemType === RESPONSES_ITEM.FUNCTION_CALL) {
|
|
82
84
|
// Start or append to assistant message with tool_calls
|
|
83
85
|
if (!currentAssistantMsg) {
|
|
84
86
|
currentAssistantMsg = {
|
|
85
|
-
role:
|
|
87
|
+
role: ROLE.ASSISTANT,
|
|
86
88
|
content: null,
|
|
87
89
|
tool_calls: []
|
|
88
90
|
};
|
|
@@ -91,14 +93,14 @@ export function convertResponsesApiFormat(body) {
|
|
|
91
93
|
if (!item.name || typeof item.name !== "string" || item.name.trim() === "") continue;
|
|
92
94
|
currentAssistantMsg.tool_calls.push({
|
|
93
95
|
id: item.call_id,
|
|
94
|
-
type:
|
|
96
|
+
type: OPENAI_BLOCK.FUNCTION,
|
|
95
97
|
function: {
|
|
96
98
|
name: item.name,
|
|
97
99
|
arguments: item.arguments
|
|
98
100
|
}
|
|
99
101
|
});
|
|
100
102
|
}
|
|
101
|
-
else if (itemType ===
|
|
103
|
+
else if (itemType === RESPONSES_ITEM.FUNCTION_CALL_OUTPUT) {
|
|
102
104
|
// Flush assistant message first if exists
|
|
103
105
|
if (currentAssistantMsg) {
|
|
104
106
|
result.messages.push(currentAssistantMsg);
|
|
@@ -106,12 +108,12 @@ export function convertResponsesApiFormat(body) {
|
|
|
106
108
|
}
|
|
107
109
|
// Add tool result
|
|
108
110
|
pendingToolResults.push({
|
|
109
|
-
role:
|
|
111
|
+
role: ROLE.TOOL,
|
|
110
112
|
tool_call_id: item.call_id,
|
|
111
113
|
content: typeof item.output === "string" ? item.output : JSON.stringify(item.output)
|
|
112
114
|
});
|
|
113
115
|
}
|
|
114
|
-
else if (itemType ===
|
|
116
|
+
else if (itemType === RESPONSES_ITEM.REASONING) {
|
|
115
117
|
// Skip reasoning items - they are for display only
|
|
116
118
|
continue;
|
|
117
119
|
}
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import { FORMATS } from "./formats.js";
|
|
2
|
-
import { ensureToolCallIds, fixMissingToolResponses } from "./
|
|
3
|
-
import { prepareClaudeRequest } from "./
|
|
2
|
+
import { ensureToolCallIds, fixMissingToolResponses } from "./concerns/toolCall.js";
|
|
3
|
+
import { prepareClaudeRequest } from "./formats/claude.js";
|
|
4
4
|
import { cloakClaudeTools } from "../utils/claudeCloaking.js";
|
|
5
|
-
import { filterToOpenAIFormat } from "./
|
|
5
|
+
import { filterToOpenAIFormat } from "./formats/openai.js";
|
|
6
6
|
import { normalizeThinkingConfig } from "../services/provider.js";
|
|
7
|
+
import { applyThinking, captureThinking } from "./concerns/thinkingUnified.js";
|
|
8
|
+
import { captureSessionId } from "../utils/sessionManager.js";
|
|
7
9
|
import { AntigravityExecutor } from "../executors/antigravity.js";
|
|
10
|
+
import { PROVIDERS } from "../providers/index.js";
|
|
8
11
|
|
|
9
|
-
// Registry for translators
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
let initialized = false;
|
|
12
|
+
// Registry for translators. Lazy-init guards against circular-import order:
|
|
13
|
+
// translator modules call register() (side-effect) before this module's body runs.
|
|
14
|
+
// var (not let): hoisted as undefined so register() can run during circular import (no TDZ).
|
|
15
|
+
var requestRegistry;
|
|
16
|
+
var responseRegistry;
|
|
15
17
|
|
|
16
18
|
// Register translator
|
|
17
19
|
export function register(from, to, requestFn, responseFn) {
|
|
20
|
+
requestRegistry ??= new Map();
|
|
21
|
+
responseRegistry ??= new Map();
|
|
18
22
|
const key = `${from}:${to}`;
|
|
19
23
|
if (requestFn) {
|
|
20
24
|
requestRegistry.set(key, requestFn);
|
|
@@ -24,35 +28,8 @@ export function register(from, to, requestFn, responseFn) {
|
|
|
24
28
|
}
|
|
25
29
|
}
|
|
26
30
|
|
|
27
|
-
//
|
|
28
|
-
function ensureInitialized() {
|
|
29
|
-
if (initialized) return;
|
|
30
|
-
initialized = true;
|
|
31
|
-
|
|
32
|
-
// Request translators - sync require pattern for bundler
|
|
33
|
-
require("./request/claude-to-openai.js");
|
|
34
|
-
require("./request/openai-to-claude.js");
|
|
35
|
-
require("./request/gemini-to-openai.js");
|
|
36
|
-
require("./request/openai-to-gemini.js");
|
|
37
|
-
require("./request/openai-to-vertex.js");
|
|
38
|
-
require("./request/antigravity-to-openai.js");
|
|
39
|
-
require("./request/openai-responses.js");
|
|
40
|
-
require("./request/openai-to-kiro.js");
|
|
41
|
-
require("./request/openai-to-cursor.js");
|
|
42
|
-
require("./request/openai-to-ollama.js");
|
|
43
|
-
require("./request/openai-to-commandcode.js");
|
|
44
|
-
|
|
45
|
-
// Response translators
|
|
46
|
-
require("./response/claude-to-openai.js");
|
|
47
|
-
require("./response/openai-to-claude.js");
|
|
48
|
-
require("./response/gemini-to-openai.js");
|
|
49
|
-
require("./response/openai-to-antigravity.js");
|
|
50
|
-
require("./response/openai-responses.js");
|
|
51
|
-
require("./response/kiro-to-openai.js");
|
|
52
|
-
require("./response/cursor-to-openai.js");
|
|
53
|
-
require("./response/ollama-to-openai.js");
|
|
54
|
-
require("./response/commandcode-to-openai.js");
|
|
55
|
-
}
|
|
31
|
+
// No-op: translators self-register via the static imports at the bottom of this file.
|
|
32
|
+
function ensureInitialized() {}
|
|
56
33
|
|
|
57
34
|
// Strip specific content types from messages (explicit opt-in via strip[] in PROVIDER_MODELS)
|
|
58
35
|
function stripContentTypes(body, stripList = []) {
|
|
@@ -88,42 +65,64 @@ export function translateRequest(sourceFormat, targetFormat, model, body, stream
|
|
|
88
65
|
// Fix missing tool responses (insert empty tool_result if needed)
|
|
89
66
|
fixMissingToolResponses(result);
|
|
90
67
|
|
|
68
|
+
// Capture thinking intent from the original (pre-translation) body, before any
|
|
69
|
+
// format conversion strips/renames the fields. Applied after translation.
|
|
70
|
+
const thinkingIntent = captureThinking(result);
|
|
71
|
+
|
|
72
|
+
// Capture session id from the original body (envelope still intact, e.g. antigravity request.sessionId)
|
|
73
|
+
const clientSessionId = captureSessionId(result, credentials, connectionId, targetFormat);
|
|
74
|
+
// Expose to downstream translators (gemini-cli/antigravity envelopes) that run after envelope is stripped
|
|
75
|
+
if (credentials) credentials._clientSessionId = clientSessionId;
|
|
76
|
+
|
|
91
77
|
// If same format, skip translation steps
|
|
92
78
|
if (sourceFormat !== targetFormat) {
|
|
93
|
-
//
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
79
|
+
// Direct route: if a translator is registered for this exact source:target
|
|
80
|
+
// pair, use it instead of pivoting through OpenAI. This is lossless for
|
|
81
|
+
// pairs like claude:kiro (avoids the claude->openai->kiro double-hop).
|
|
82
|
+
const directFn = requestRegistry.get(`${sourceFormat}:${targetFormat}`);
|
|
83
|
+
if (directFn) {
|
|
84
|
+
result = directFn(model, result, stream, credentials);
|
|
85
|
+
} else {
|
|
86
|
+
// Step 1: source -> openai (if source is not openai)
|
|
87
|
+
if (sourceFormat !== FORMATS.OPENAI) {
|
|
88
|
+
const toOpenAI = requestRegistry.get(`${sourceFormat}:${FORMATS.OPENAI}`);
|
|
89
|
+
if (toOpenAI) {
|
|
90
|
+
result = toOpenAI(model, result, stream, credentials);
|
|
91
|
+
// Log OpenAI intermediate format
|
|
92
|
+
reqLogger?.logOpenAIRequest?.(result);
|
|
93
|
+
}
|
|
100
94
|
}
|
|
101
|
-
}
|
|
102
95
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
96
|
+
// Step 2: openai -> target (if target is not openai)
|
|
97
|
+
if (targetFormat !== FORMATS.OPENAI) {
|
|
98
|
+
const fromOpenAI = requestRegistry.get(`${FORMATS.OPENAI}:${targetFormat}`);
|
|
99
|
+
if (fromOpenAI) {
|
|
100
|
+
result = fromOpenAI(model, result, stream, credentials);
|
|
101
|
+
}
|
|
108
102
|
}
|
|
109
103
|
}
|
|
110
104
|
}
|
|
111
105
|
|
|
106
|
+
// Normalize thinking to the target provider-native format (config-driven, capability-aware)
|
|
107
|
+
applyThinking(targetFormat, model, result, provider, thinkingIntent);
|
|
108
|
+
|
|
112
109
|
// Always normalize to clean OpenAI format when target is OpenAI
|
|
113
110
|
// This handles hybrid requests (e.g., OpenAI messages + Claude tools)
|
|
114
111
|
if (targetFormat === FORMATS.OPENAI) {
|
|
115
|
-
result = filterToOpenAIFormat(result
|
|
112
|
+
result = filterToOpenAIFormat(result, {
|
|
113
|
+
preserveCacheControl: !!PROVIDERS[provider]?.quirks?.preserveCacheControl,
|
|
114
|
+
});
|
|
116
115
|
}
|
|
117
116
|
|
|
118
117
|
// Final step: prepare request for Claude format endpoints
|
|
119
118
|
if (targetFormat === FORMATS.CLAUDE) {
|
|
120
119
|
const apiKey = credentials?.accessToken || credentials?.apiKey || null;
|
|
121
|
-
result = prepareClaudeRequest(result, provider, apiKey, connectionId);
|
|
120
|
+
result = prepareClaudeRequest(result, provider, apiKey, connectionId, credentials?.rawHeaders, clientSessionId);
|
|
122
121
|
}
|
|
123
122
|
|
|
124
123
|
// Claude cloaking: rename client tools with _cc suffix (anti-ban)
|
|
125
|
-
//
|
|
126
|
-
if (provider
|
|
124
|
+
// quirk: only providers flagged cloakToolsOnOAuth, and only with an OAuth token
|
|
125
|
+
if (PROVIDERS[provider]?.quirks?.cloakToolsOnOAuth) {
|
|
127
126
|
const apiKey = credentials?.accessToken || credentials?.apiKey || null;
|
|
128
127
|
if (apiKey?.includes("sk-ant-oat")) {
|
|
129
128
|
const { body: cloakedBody, toolNameMap } = cloakClaudeTools(result);
|
|
@@ -157,6 +156,16 @@ export function translateResponse(targetFormat, sourceFormat, chunk, state) {
|
|
|
157
156
|
let results = [chunk];
|
|
158
157
|
let openaiResults = null; // Store OpenAI intermediate results
|
|
159
158
|
|
|
159
|
+
// Direct route: if a response translator is registered for this exact
|
|
160
|
+
// target:source pair, use it instead of pivoting through OpenAI. Mirrors the
|
|
161
|
+
// request-side direct route (e.g. kiro:claude — KiroExecutor already emits
|
|
162
|
+
// OpenAI-shaped chunks, so this converts them straight to Claude SSE).
|
|
163
|
+
const directFn = responseRegistry.get(`${targetFormat}:${sourceFormat}`);
|
|
164
|
+
if (directFn) {
|
|
165
|
+
const converted = directFn(chunk, state);
|
|
166
|
+
return converted ? (Array.isArray(converted) ? converted : [converted]) : [];
|
|
167
|
+
}
|
|
168
|
+
|
|
160
169
|
// Step 1: target -> openai (if target is not openai)
|
|
161
170
|
if (targetFormat !== FORMATS.OPENAI) {
|
|
162
171
|
const toOpenAI = responseRegistry.get(`${targetFormat}:${FORMATS.OPENAI}`);
|
|
@@ -245,7 +254,31 @@ export function initState(sourceFormat) {
|
|
|
245
254
|
return base;
|
|
246
255
|
}
|
|
247
256
|
|
|
248
|
-
//
|
|
257
|
+
// Kept for backward compatibility; translators are already registered at import time.
|
|
249
258
|
export function initTranslators() {
|
|
250
259
|
ensureInitialized();
|
|
251
260
|
}
|
|
261
|
+
|
|
262
|
+
// Static side-effect imports: each module calls register() at load (works in ESM + bundler).
|
|
263
|
+
import "./request/claude-to-openai.js";
|
|
264
|
+
import "./request/openai-to-claude.js";
|
|
265
|
+
import "./request/gemini-to-openai.js";
|
|
266
|
+
import "./request/openai-to-gemini.js";
|
|
267
|
+
import "./request/openai-to-vertex.js";
|
|
268
|
+
import "./request/antigravity-to-openai.js";
|
|
269
|
+
import "./request/openai-responses.js";
|
|
270
|
+
import "./request/openai-to-kiro.js";
|
|
271
|
+
import "./request/openai-to-cursor.js";
|
|
272
|
+
import "./request/openai-to-ollama.js";
|
|
273
|
+
import "./request/openai-to-commandcode.js";
|
|
274
|
+
import "./request/claude-to-kiro.js";
|
|
275
|
+
import "./response/claude-to-openai.js";
|
|
276
|
+
import "./response/openai-to-claude.js";
|
|
277
|
+
import "./response/gemini-to-openai.js";
|
|
278
|
+
import "./response/openai-to-antigravity.js";
|
|
279
|
+
import "./response/openai-responses.js";
|
|
280
|
+
import "./response/kiro-to-openai.js";
|
|
281
|
+
import "./response/cursor-to-openai.js";
|
|
282
|
+
import "./response/ollama-to-openai.js";
|
|
283
|
+
import "./response/commandcode-to-openai.js";
|
|
284
|
+
import "./response/kiro-to-claude.js";
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { register } from "../index.js";
|
|
2
2
|
import { FORMATS } from "../formats.js";
|
|
3
|
-
import { adjustMaxTokens } from "../
|
|
3
|
+
import { adjustMaxTokens } from "../formats/maxTokens.js";
|
|
4
|
+
import { encodeDataUri } from "../concerns/image.js";
|
|
5
|
+
import { ROLE, GEMINI_ROLE, OPENAI_BLOCK } from "../schema/index.js";
|
|
6
|
+
import { budgetToEffort } from "../concerns/thinking.js";
|
|
7
|
+
import { collapseTextParts } from "../concerns/message.js";
|
|
4
8
|
|
|
5
9
|
// Convert Antigravity request to OpenAI format
|
|
6
10
|
// Antigravity body: { project, model, userAgent, requestType, requestId, request: { contents, systemInstruction, tools, toolConfig, generationConfig, sessionId } }
|
|
@@ -31,16 +35,8 @@ export function antigravityToOpenAIRequest(model, body, stream) {
|
|
|
31
35
|
|
|
32
36
|
// Thinking config → reasoning_effort
|
|
33
37
|
if (config.thinkingConfig) {
|
|
34
|
-
const
|
|
35
|
-
if (
|
|
36
|
-
if (budget <= 2048) {
|
|
37
|
-
result.reasoning_effort = "low";
|
|
38
|
-
} else if (budget <= 16384) {
|
|
39
|
-
result.reasoning_effort = "medium";
|
|
40
|
-
} else {
|
|
41
|
-
result.reasoning_effort = "high";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
38
|
+
const effort = budgetToEffort(config.thinkingConfig.thinkingBudget || 0);
|
|
39
|
+
if (effort) result.reasoning_effort = effort;
|
|
44
40
|
}
|
|
45
41
|
}
|
|
46
42
|
|
|
@@ -48,7 +44,7 @@ export function antigravityToOpenAIRequest(model, body, stream) {
|
|
|
48
44
|
if (req.systemInstruction) {
|
|
49
45
|
const systemText = extractText(req.systemInstruction);
|
|
50
46
|
if (systemText) {
|
|
51
|
-
result.messages.push({ role:
|
|
47
|
+
result.messages.push({ role: ROLE.SYSTEM, content: systemText });
|
|
52
48
|
}
|
|
53
49
|
}
|
|
54
50
|
|
|
@@ -73,7 +69,7 @@ export function antigravityToOpenAIRequest(model, body, stream) {
|
|
|
73
69
|
if (tool.functionDeclarations) {
|
|
74
70
|
for (const func of tool.functionDeclarations) {
|
|
75
71
|
result.tools.push({
|
|
76
|
-
type:
|
|
72
|
+
type: OPENAI_BLOCK.FUNCTION,
|
|
77
73
|
function: {
|
|
78
74
|
name: func.name,
|
|
79
75
|
description: func.description || "",
|
|
@@ -163,7 +159,7 @@ function coerceStringifiedSchemaValues(schema) {
|
|
|
163
159
|
// Convert Antigravity content to OpenAI message
|
|
164
160
|
// Handles: text, thought, thoughtSignature, functionCall, functionResponse, inlineData
|
|
165
161
|
function convertContent(content) {
|
|
166
|
-
const role = content.role ===
|
|
162
|
+
const role = content.role === GEMINI_ROLE.MODEL ? ROLE.ASSISTANT : content.role === GEMINI_ROLE.USER ? ROLE.USER : content.role;
|
|
167
163
|
|
|
168
164
|
if (!content.parts || !Array.isArray(content.parts)) {
|
|
169
165
|
return null;
|
|
@@ -183,21 +179,23 @@ function convertContent(content) {
|
|
|
183
179
|
|
|
184
180
|
// Text with thoughtSignature = regular text after thinking
|
|
185
181
|
if (part.thoughtSignature && part.text !== undefined) {
|
|
186
|
-
|
|
182
|
+
if (part.text) {
|
|
183
|
+
textParts.push({ type: OPENAI_BLOCK.TEXT, text: part.text });
|
|
184
|
+
}
|
|
187
185
|
continue;
|
|
188
186
|
}
|
|
189
187
|
|
|
190
188
|
// Regular text
|
|
191
|
-
if (part.text !== undefined) {
|
|
192
|
-
textParts.push({ type:
|
|
189
|
+
if (part.text !== undefined && part.text !== "") {
|
|
190
|
+
textParts.push({ type: OPENAI_BLOCK.TEXT, text: part.text });
|
|
193
191
|
}
|
|
194
192
|
|
|
195
193
|
// Inline data (images)
|
|
196
194
|
if (part.inlineData) {
|
|
197
195
|
textParts.push({
|
|
198
|
-
type:
|
|
196
|
+
type: OPENAI_BLOCK.IMAGE_URL,
|
|
199
197
|
image_url: {
|
|
200
|
-
url:
|
|
198
|
+
url: encodeDataUri(part.inlineData.mimeType, part.inlineData.data)
|
|
201
199
|
}
|
|
202
200
|
});
|
|
203
201
|
}
|
|
@@ -205,8 +203,9 @@ function convertContent(content) {
|
|
|
205
203
|
// Function call
|
|
206
204
|
if (part.functionCall) {
|
|
207
205
|
toolCalls.push({
|
|
208
|
-
|
|
209
|
-
|
|
206
|
+
// Deterministic id from name so the matching functionResponse pairs correctly.
|
|
207
|
+
id: part.functionCall.id || `call_${part.functionCall.name}`,
|
|
208
|
+
type: OPENAI_BLOCK.FUNCTION,
|
|
210
209
|
function: {
|
|
211
210
|
name: part.functionCall.name,
|
|
212
211
|
arguments: JSON.stringify(part.functionCall.args || {})
|
|
@@ -217,23 +216,37 @@ function convertContent(content) {
|
|
|
217
216
|
// Function response → collect all, each becomes a separate tool message
|
|
218
217
|
if (part.functionResponse) {
|
|
219
218
|
toolResults.push({
|
|
220
|
-
role:
|
|
221
|
-
tool_call_id: part.functionResponse.id || part.functionResponse.name
|
|
219
|
+
role: ROLE.TOOL,
|
|
220
|
+
tool_call_id: part.functionResponse.id || `call_${part.functionResponse.name}`,
|
|
222
221
|
content: JSON.stringify(part.functionResponse.response?.result || part.functionResponse.response || {})
|
|
223
222
|
});
|
|
224
223
|
}
|
|
225
224
|
}
|
|
226
225
|
|
|
227
|
-
// Content with
|
|
226
|
+
// Content with functionResponses — return array of tool result messages,
|
|
227
|
+
// plus an assistant message for any co-located tool calls / text.
|
|
228
228
|
if (toolResults.length > 0) {
|
|
229
|
+
if (toolCalls.length > 0 || textParts.length > 0 || reasoningContent) {
|
|
230
|
+
const assistantMsg = { role: ROLE.ASSISTANT };
|
|
231
|
+
if (textParts.length > 0) {
|
|
232
|
+
assistantMsg.content = collapseTextParts(textParts);
|
|
233
|
+
}
|
|
234
|
+
if (reasoningContent) {
|
|
235
|
+
assistantMsg.reasoning_content = reasoningContent;
|
|
236
|
+
}
|
|
237
|
+
if (toolCalls.length > 0) {
|
|
238
|
+
assistantMsg.tool_calls = toolCalls;
|
|
239
|
+
}
|
|
240
|
+
return [...toolResults, assistantMsg];
|
|
241
|
+
}
|
|
229
242
|
return toolResults;
|
|
230
243
|
}
|
|
231
244
|
|
|
232
245
|
// Assistant with tool calls
|
|
233
246
|
if (toolCalls.length > 0) {
|
|
234
|
-
const msg = { role:
|
|
247
|
+
const msg = { role: ROLE.ASSISTANT };
|
|
235
248
|
if (textParts.length > 0) {
|
|
236
|
-
msg.content = textParts
|
|
249
|
+
msg.content = collapseTextParts(textParts);
|
|
237
250
|
}
|
|
238
251
|
if (reasoningContent) {
|
|
239
252
|
msg.reasoning_content = reasoningContent;
|
|
@@ -246,7 +259,7 @@ function convertContent(content) {
|
|
|
246
259
|
if (textParts.length > 0 || reasoningContent) {
|
|
247
260
|
const msg = { role };
|
|
248
261
|
if (textParts.length > 0) {
|
|
249
|
-
msg.content = textParts
|
|
262
|
+
msg.content = collapseTextParts(textParts);
|
|
250
263
|
}
|
|
251
264
|
if (reasoningContent) {
|
|
252
265
|
msg.reasoning_content = reasoningContent;
|