n9router 0.4.44 → 0.4.45
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 +22 -13
- 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 +2 -2
- package/app/.next/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/app/.next/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
- package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/app/.next/server/app/api/cli-tools/droid-settings/route.js +2 -2
- 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 +22 -13
- 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/T8rvyAbbOSQ8MIHxo1_4X/_buildManifest.js +1 -0
- package/app/.next/static/chunks/1321-691c34899090d436.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 +92 -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 → T8rvyAbbOSQ8MIHxo1_4X}/_ssgManifest.js +0 -0
|
@@ -4,12 +4,23 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { register } from "../index.js";
|
|
6
6
|
import { FORMATS } from "../formats.js";
|
|
7
|
+
import { ROLE, OPENAI_BLOCK } from "../schema/index.js";
|
|
8
|
+
import { buildChunk } from "../concerns/chunk.js";
|
|
9
|
+
import { toOpenAIUsage } from "../concerns/usage.js";
|
|
10
|
+
import { fallbackToolCallId } from "../concerns/toolCall.js";
|
|
11
|
+
import { reasoningDelta } from "../concerns/reasoning.js";
|
|
12
|
+
import { toOpenAIFinish } from "../concerns/finishReason.js";
|
|
13
|
+
|
|
14
|
+
// Build chunk meta for current kiro state
|
|
15
|
+
function chunkMeta(state) {
|
|
16
|
+
return { id: state.responseId, created: state.created, model: state.model || "kiro" };
|
|
17
|
+
}
|
|
7
18
|
|
|
8
19
|
/**
|
|
9
20
|
* Parse Kiro SSE event and convert to OpenAI format
|
|
10
21
|
* Kiro events: assistantResponseEvent, codeEvent, supplementaryWebLinksEvent, etc.
|
|
11
22
|
*/
|
|
12
|
-
export function
|
|
23
|
+
export function kiroToOpenAIResponse(chunk, state) {
|
|
13
24
|
|
|
14
25
|
if (!chunk) return null;
|
|
15
26
|
|
|
@@ -66,20 +77,10 @@ export function convertKiroToOpenAI(chunk, state) {
|
|
|
66
77
|
const content = data.assistantResponseEvent?.content || data.content || "";
|
|
67
78
|
if (!content) return null;
|
|
68
79
|
|
|
69
|
-
const openaiChunk = {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
model: state.model || "kiro",
|
|
74
|
-
choices: [{
|
|
75
|
-
index: 0,
|
|
76
|
-
delta: {
|
|
77
|
-
...(state.chunkIndex === 0 ? { role: "assistant" } : {}),
|
|
78
|
-
content: content
|
|
79
|
-
},
|
|
80
|
-
finish_reason: null
|
|
81
|
-
}]
|
|
82
|
-
};
|
|
80
|
+
const openaiChunk = buildChunk(chunkMeta(state), {
|
|
81
|
+
...(state.chunkIndex === 0 ? { role: ROLE.ASSISTANT } : {}),
|
|
82
|
+
content: content
|
|
83
|
+
}, null);
|
|
83
84
|
|
|
84
85
|
state.chunkIndex++;
|
|
85
86
|
return openaiChunk;
|
|
@@ -97,20 +98,7 @@ export function convertKiroToOpenAI(chunk, state) {
|
|
|
97
98
|
: (reasoning.text || reasoning.content || data.content || "");
|
|
98
99
|
if (!content) return null;
|
|
99
100
|
|
|
100
|
-
const openaiChunk =
|
|
101
|
-
id: state.responseId,
|
|
102
|
-
object: "chat.completion.chunk",
|
|
103
|
-
created: state.created,
|
|
104
|
-
model: state.model || "kiro",
|
|
105
|
-
choices: [{
|
|
106
|
-
index: 0,
|
|
107
|
-
delta: {
|
|
108
|
-
...(state.chunkIndex === 0 ? { role: "assistant" } : {}),
|
|
109
|
-
reasoning_content: content
|
|
110
|
-
},
|
|
111
|
-
finish_reason: null
|
|
112
|
-
}]
|
|
113
|
-
};
|
|
101
|
+
const openaiChunk = buildChunk(chunkMeta(state), reasoningDelta(content, state.chunkIndex === 0), null);
|
|
114
102
|
|
|
115
103
|
state.chunkIndex++;
|
|
116
104
|
return openaiChunk;
|
|
@@ -118,33 +106,24 @@ export function convertKiroToOpenAI(chunk, state) {
|
|
|
118
106
|
|
|
119
107
|
// Handle tool use events
|
|
120
108
|
if (eventType === "toolUseEvent" || data.toolUseEvent) {
|
|
109
|
+
state.hadToolUse = true;
|
|
121
110
|
const toolUse = data.toolUseEvent || data;
|
|
122
|
-
const toolCallId = toolUse.toolUseId ||
|
|
111
|
+
const toolCallId = toolUse.toolUseId || fallbackToolCallId();
|
|
123
112
|
const toolName = toolUse.name || "";
|
|
124
113
|
const toolInput = toolUse.input || {};
|
|
125
114
|
|
|
126
|
-
const openaiChunk = {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
created: state.created,
|
|
130
|
-
model: state.model || "kiro",
|
|
131
|
-
choices: [{
|
|
115
|
+
const openaiChunk = buildChunk(chunkMeta(state), {
|
|
116
|
+
...(state.chunkIndex === 0 ? { role: ROLE.ASSISTANT } : {}),
|
|
117
|
+
tool_calls: [{
|
|
132
118
|
index: 0,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
function: {
|
|
140
|
-
name: toolName,
|
|
141
|
-
arguments: JSON.stringify(toolInput)
|
|
142
|
-
}
|
|
143
|
-
}]
|
|
144
|
-
},
|
|
145
|
-
finish_reason: null
|
|
119
|
+
id: toolCallId,
|
|
120
|
+
type: OPENAI_BLOCK.FUNCTION,
|
|
121
|
+
function: {
|
|
122
|
+
name: toolName,
|
|
123
|
+
arguments: JSON.stringify(toolInput)
|
|
124
|
+
}
|
|
146
125
|
}]
|
|
147
|
-
};
|
|
126
|
+
}, null);
|
|
148
127
|
|
|
149
128
|
state.chunkIndex++;
|
|
150
129
|
return openaiChunk;
|
|
@@ -152,19 +131,11 @@ export function convertKiroToOpenAI(chunk, state) {
|
|
|
152
131
|
|
|
153
132
|
// Handle completion/done events
|
|
154
133
|
if (eventType === "messageStopEvent" || eventType === "done" || data.messageStopEvent) {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
created: state.created,
|
|
161
|
-
model: state.model || "kiro",
|
|
162
|
-
choices: [{
|
|
163
|
-
index: 0,
|
|
164
|
-
delta: {},
|
|
165
|
-
finish_reason: "stop"
|
|
166
|
-
}]
|
|
167
|
-
};
|
|
134
|
+
// tool_calls when a tool was used this turn, else stop (kiro upstream has no explicit reason)
|
|
135
|
+
const finishReason = toOpenAIFinish(state.hadToolUse ? "tool_use" : "stop", "kiro");
|
|
136
|
+
state.finishReason = finishReason; // Mark for usage injection in stream.js
|
|
137
|
+
|
|
138
|
+
const openaiChunk = buildChunk(chunkMeta(state), {}, finishReason);
|
|
168
139
|
|
|
169
140
|
// Include usage in final chunk if available
|
|
170
141
|
if (state.usage && typeof state.usage === "object") {
|
|
@@ -176,14 +147,8 @@ export function convertKiroToOpenAI(chunk, state) {
|
|
|
176
147
|
|
|
177
148
|
// Handle usage events
|
|
178
149
|
if (eventType === "usageEvent" || data.usageEvent) {
|
|
179
|
-
const usage = data.usageEvent || data;
|
|
180
|
-
if (usage
|
|
181
|
-
state.usage = {
|
|
182
|
-
prompt_tokens: usage.inputTokens || 0,
|
|
183
|
-
completion_tokens: usage.outputTokens || 0,
|
|
184
|
-
total_tokens: (usage.inputTokens || 0) + (usage.outputTokens || 0)
|
|
185
|
-
};
|
|
186
|
-
}
|
|
150
|
+
const usage = toOpenAIUsage(data.usageEvent || data, "kiro");
|
|
151
|
+
if (usage) state.usage = usage;
|
|
187
152
|
return null;
|
|
188
153
|
}
|
|
189
154
|
|
|
@@ -192,4 +157,4 @@ export function convertKiroToOpenAI(chunk, state) {
|
|
|
192
157
|
}
|
|
193
158
|
|
|
194
159
|
// Register translator
|
|
195
|
-
register(FORMATS.KIRO, FORMATS.OPENAI, null,
|
|
160
|
+
register(FORMATS.KIRO, FORMATS.OPENAI, null, kiroToOpenAIResponse);
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { register } from "../index.js";
|
|
2
2
|
import { FORMATS } from "../formats.js";
|
|
3
|
+
import { ROLE, OPENAI_BLOCK, OPENAI_FINISH } from "../schema/index.js";
|
|
4
|
+
import { buildChunk } from "../concerns/chunk.js";
|
|
5
|
+
import { toOpenAIUsage } from "../concerns/usage.js";
|
|
6
|
+
import { fallbackToolCallId } from "../concerns/toolCall.js";
|
|
7
|
+
import { toOpenAIFinish } from "../concerns/finishReason.js";
|
|
3
8
|
|
|
4
9
|
/**
|
|
5
10
|
* Convert Ollama NDJSON response to OpenAI SSE format
|
|
@@ -12,7 +17,7 @@ import { FORMATS } from "../formats.js";
|
|
|
12
17
|
* {"id": "...", "object": "chat.completion.chunk", "created": 123, "model": "...",
|
|
13
18
|
* "choices": [{"index": 0, "delta": {"content": "..."}, "finish_reason": null}]}
|
|
14
19
|
*/
|
|
15
|
-
export function
|
|
20
|
+
export function ollamaToOpenAIResponse(chunk, state) {
|
|
16
21
|
if (!chunk || typeof chunk !== "object") return null;
|
|
17
22
|
|
|
18
23
|
// Initialize state on first chunk
|
|
@@ -30,24 +35,15 @@ export function ollamaToOpenAI(chunk, state) {
|
|
|
30
35
|
if (chunk.done) {
|
|
31
36
|
const usage = extractUsage(chunk);
|
|
32
37
|
|
|
33
|
-
// Determine finish_reason
|
|
34
|
-
let finishReason = "
|
|
35
|
-
if (chunk.done_reason ===
|
|
36
|
-
finishReason =
|
|
38
|
+
// Determine finish_reason: map upstream done_reason, override to tool_calls if tools used
|
|
39
|
+
let finishReason = toOpenAIFinish(chunk.done_reason, "ollama");
|
|
40
|
+
if (chunk.done_reason === OPENAI_FINISH.TOOL_CALLS || state.hadToolCalls) {
|
|
41
|
+
finishReason = OPENAI_FINISH.TOOL_CALLS;
|
|
37
42
|
}
|
|
38
43
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
created: created,
|
|
43
|
-
model: model,
|
|
44
|
-
choices: [{
|
|
45
|
-
index: 0,
|
|
46
|
-
delta: {},
|
|
47
|
-
finish_reason: finishReason
|
|
48
|
-
}],
|
|
49
|
-
usage: usage
|
|
50
|
-
};
|
|
44
|
+
const doneChunk = buildChunk({ id, created, model }, {}, finishReason);
|
|
45
|
+
doneChunk.usage = usage;
|
|
46
|
+
return doneChunk;
|
|
51
47
|
}
|
|
52
48
|
|
|
53
49
|
// Content chunk
|
|
@@ -79,28 +75,14 @@ export function ollamaToOpenAI(chunk, state) {
|
|
|
79
75
|
delta.tool_calls = convertToolCalls(toolCalls);
|
|
80
76
|
}
|
|
81
77
|
|
|
82
|
-
return {
|
|
83
|
-
id: id,
|
|
84
|
-
object: "chat.completion.chunk",
|
|
85
|
-
created: created,
|
|
86
|
-
model: model,
|
|
87
|
-
choices: [{
|
|
88
|
-
index: 0,
|
|
89
|
-
delta: delta,
|
|
90
|
-
finish_reason: null
|
|
91
|
-
}]
|
|
92
|
-
};
|
|
78
|
+
return buildChunk({ id, created, model }, delta, null);
|
|
93
79
|
}
|
|
94
80
|
|
|
95
81
|
/**
|
|
96
82
|
* Extract usage stats from Ollama response
|
|
97
83
|
*/
|
|
98
84
|
function extractUsage(ollamaChunk) {
|
|
99
|
-
return
|
|
100
|
-
prompt_tokens: ollamaChunk.prompt_eval_count || 0,
|
|
101
|
-
completion_tokens: ollamaChunk.eval_count || 0,
|
|
102
|
-
total_tokens: (ollamaChunk.prompt_eval_count || 0) + (ollamaChunk.eval_count || 0)
|
|
103
|
-
};
|
|
85
|
+
return toOpenAIUsage(ollamaChunk, "ollama");
|
|
104
86
|
}
|
|
105
87
|
|
|
106
88
|
/**
|
|
@@ -109,8 +91,8 @@ function extractUsage(ollamaChunk) {
|
|
|
109
91
|
function convertToolCalls(toolCalls) {
|
|
110
92
|
return toolCalls.map((tc, i) => ({
|
|
111
93
|
index: tc.function?.index ?? i,
|
|
112
|
-
id: tc.id ||
|
|
113
|
-
type:
|
|
94
|
+
id: tc.id || fallbackToolCallId(i),
|
|
95
|
+
type: OPENAI_BLOCK.FUNCTION,
|
|
114
96
|
function: {
|
|
115
97
|
name: tc.function?.name || "",
|
|
116
98
|
arguments: typeof tc.function?.arguments === "string"
|
|
@@ -129,14 +111,14 @@ export function ollamaBodyToOpenAI(body) {
|
|
|
129
111
|
const thinking = msg.thinking || "";
|
|
130
112
|
const toolCalls = Array.isArray(msg.tool_calls) ? msg.tool_calls : [];
|
|
131
113
|
|
|
132
|
-
const message = { role:
|
|
114
|
+
const message = { role: ROLE.ASSISTANT };
|
|
133
115
|
if (content) message.content = content;
|
|
134
116
|
if (thinking) message.reasoning_content = thinking;
|
|
135
117
|
if (toolCalls.length > 0) message.tool_calls = convertToolCalls(toolCalls);
|
|
136
118
|
if (!message.content && !message.tool_calls) message.content = "";
|
|
137
119
|
|
|
138
|
-
let finishReason = body.done_reason
|
|
139
|
-
if (toolCalls.length > 0) finishReason =
|
|
120
|
+
let finishReason = toOpenAIFinish(body.done_reason, "ollama");
|
|
121
|
+
if (toolCalls.length > 0) finishReason = OPENAI_FINISH.TOOL_CALLS;
|
|
140
122
|
|
|
141
123
|
return {
|
|
142
124
|
id: `chatcmpl-${Date.now()}`,
|
|
@@ -149,4 +131,4 @@ export function ollamaBodyToOpenAI(body) {
|
|
|
149
131
|
}
|
|
150
132
|
|
|
151
133
|
// Register translator
|
|
152
|
-
register(FORMATS.OLLAMA, FORMATS.OPENAI, null,
|
|
134
|
+
register(FORMATS.OLLAMA, FORMATS.OPENAI, null, ollamaToOpenAIResponse);
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { register } from "../index.js";
|
|
6
6
|
import { FORMATS } from "../formats.js";
|
|
7
|
+
import { buildChunk } from "../concerns/chunk.js";
|
|
8
|
+
import { buildUsage } from "../concerns/usage.js";
|
|
9
|
+
import { fallbackToolCallId } from "../concerns/toolCall.js";
|
|
10
|
+
import { reasoningDelta, extractReasoningText } from "../concerns/reasoning.js";
|
|
11
|
+
import { ROLE, OPENAI_BLOCK, RESPONSES_ITEM, OPENAI_FINISH, MODEL_FALLBACK } from "../schema/index.js";
|
|
7
12
|
|
|
8
13
|
/**
|
|
9
14
|
* Translate OpenAI chunk to Responses API events
|
|
@@ -57,10 +62,11 @@ export function openaiToOpenAIResponsesResponse(chunk, state) {
|
|
|
57
62
|
});
|
|
58
63
|
}
|
|
59
64
|
|
|
60
|
-
// Handle reasoning_content
|
|
61
|
-
|
|
65
|
+
// Handle reasoning across vendor shapes (reasoning_content / reasoning / reasoning_details)
|
|
66
|
+
const reasoningText = extractReasoningText(delta);
|
|
67
|
+
if (reasoningText) {
|
|
62
68
|
startReasoning(state, emit, idx);
|
|
63
|
-
emitReasoningDelta(state, emit,
|
|
69
|
+
emitReasoningDelta(state, emit, reasoningText);
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
// Handle text content
|
|
@@ -121,7 +127,7 @@ function startReasoning(state, emit, idx) {
|
|
|
121
127
|
emit("response.output_item.added", {
|
|
122
128
|
type: "response.output_item.added",
|
|
123
129
|
output_index: idx,
|
|
124
|
-
item: { id: state.reasoningId, type:
|
|
130
|
+
item: { id: state.reasoningId, type: RESPONSES_ITEM.REASONING, summary: [] }
|
|
125
131
|
});
|
|
126
132
|
|
|
127
133
|
emit("response.reasoning_summary_part.added", {
|
|
@@ -129,7 +135,7 @@ function startReasoning(state, emit, idx) {
|
|
|
129
135
|
item_id: state.reasoningId,
|
|
130
136
|
output_index: idx,
|
|
131
137
|
summary_index: 0,
|
|
132
|
-
part: { type:
|
|
138
|
+
part: { type: RESPONSES_ITEM.SUMMARY_TEXT, text: "" }
|
|
133
139
|
});
|
|
134
140
|
state.reasoningPartAdded = true;
|
|
135
141
|
}
|
|
@@ -164,7 +170,7 @@ function closeReasoning(state, emit) {
|
|
|
164
170
|
item_id: state.reasoningId,
|
|
165
171
|
output_index: state.reasoningIndex,
|
|
166
172
|
summary_index: 0,
|
|
167
|
-
part: { type:
|
|
173
|
+
part: { type: RESPONSES_ITEM.SUMMARY_TEXT, text: state.reasoningBuf }
|
|
168
174
|
});
|
|
169
175
|
|
|
170
176
|
emit("response.output_item.done", {
|
|
@@ -172,8 +178,8 @@ function closeReasoning(state, emit) {
|
|
|
172
178
|
output_index: state.reasoningIndex,
|
|
173
179
|
item: {
|
|
174
180
|
id: state.reasoningId,
|
|
175
|
-
type:
|
|
176
|
-
summary: [{ type:
|
|
181
|
+
type: RESPONSES_ITEM.REASONING,
|
|
182
|
+
summary: [{ type: RESPONSES_ITEM.SUMMARY_TEXT, text: state.reasoningBuf }]
|
|
177
183
|
}
|
|
178
184
|
});
|
|
179
185
|
}
|
|
@@ -187,7 +193,7 @@ function emitTextContent(state, emit, idx, content) {
|
|
|
187
193
|
emit("response.output_item.added", {
|
|
188
194
|
type: "response.output_item.added",
|
|
189
195
|
output_index: idx,
|
|
190
|
-
item: { id: msgId, type:
|
|
196
|
+
item: { id: msgId, type: RESPONSES_ITEM.MESSAGE, content: [], role: ROLE.ASSISTANT }
|
|
191
197
|
});
|
|
192
198
|
}
|
|
193
199
|
|
|
@@ -199,7 +205,7 @@ function emitTextContent(state, emit, idx, content) {
|
|
|
199
205
|
item_id: `msg_${state.responseId}_${idx}`,
|
|
200
206
|
output_index: idx,
|
|
201
207
|
content_index: 0,
|
|
202
|
-
part: { type:
|
|
208
|
+
part: { type: RESPONSES_ITEM.OUTPUT_TEXT, annotations: [], logprobs: [], text: "" }
|
|
203
209
|
});
|
|
204
210
|
}
|
|
205
211
|
|
|
@@ -236,7 +242,7 @@ function closeMessage(state, emit, idx) {
|
|
|
236
242
|
item_id: msgId,
|
|
237
243
|
output_index: parseInt(idx),
|
|
238
244
|
content_index: 0,
|
|
239
|
-
part: { type:
|
|
245
|
+
part: { type: RESPONSES_ITEM.OUTPUT_TEXT, annotations: [], logprobs: [], text: fullText }
|
|
240
246
|
});
|
|
241
247
|
|
|
242
248
|
emit("response.output_item.done", {
|
|
@@ -244,9 +250,9 @@ function closeMessage(state, emit, idx) {
|
|
|
244
250
|
output_index: parseInt(idx),
|
|
245
251
|
item: {
|
|
246
252
|
id: msgId,
|
|
247
|
-
type:
|
|
248
|
-
content: [{ type:
|
|
249
|
-
role:
|
|
253
|
+
type: RESPONSES_ITEM.MESSAGE,
|
|
254
|
+
content: [{ type: RESPONSES_ITEM.OUTPUT_TEXT, annotations: [], logprobs: [], text: fullText }],
|
|
255
|
+
role: ROLE.ASSISTANT
|
|
250
256
|
}
|
|
251
257
|
});
|
|
252
258
|
}
|
|
@@ -267,7 +273,7 @@ function emitToolCall(state, emit, tc) {
|
|
|
267
273
|
output_index: tcIdx,
|
|
268
274
|
item: {
|
|
269
275
|
id: `fc_${newCallId}`,
|
|
270
|
-
type:
|
|
276
|
+
type: RESPONSES_ITEM.FUNCTION_CALL,
|
|
271
277
|
arguments: "",
|
|
272
278
|
call_id: newCallId,
|
|
273
279
|
name: state.funcNames[tcIdx] || ""
|
|
@@ -308,7 +314,7 @@ function closeToolCall(state, emit, idx) {
|
|
|
308
314
|
output_index: parseInt(idx),
|
|
309
315
|
item: {
|
|
310
316
|
id: `fc_${callId}`,
|
|
311
|
-
type:
|
|
317
|
+
type: RESPONSES_ITEM.FUNCTION_CALL,
|
|
312
318
|
arguments: args,
|
|
313
319
|
call_id: callId,
|
|
314
320
|
name: state.funcNames[idx] || ""
|
|
@@ -359,8 +365,8 @@ function flushEvents(state) {
|
|
|
359
365
|
// can still finalize as tool_calls even if the tool call was emitted before stream end.
|
|
360
366
|
function computeFinishReason(state) {
|
|
361
367
|
return state.toolCallIndex > 0 || state.currentToolCallId
|
|
362
|
-
?
|
|
363
|
-
:
|
|
368
|
+
? OPENAI_FINISH.TOOL_CALLS
|
|
369
|
+
: OPENAI_FINISH.STOP;
|
|
364
370
|
}
|
|
365
371
|
|
|
366
372
|
/**
|
|
@@ -377,17 +383,11 @@ export function openaiResponsesToOpenAIResponse(chunk, state) {
|
|
|
377
383
|
state.finishReasonSent = true;
|
|
378
384
|
state.finishReason = finishReason;
|
|
379
385
|
|
|
380
|
-
const finalChunk =
|
|
381
|
-
id: state.chatId || `chatcmpl-${Date.now()}`,
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
choices: [{
|
|
386
|
-
index: 0,
|
|
387
|
-
delta: {},
|
|
388
|
-
finish_reason: finishReason
|
|
389
|
-
}]
|
|
390
|
-
};
|
|
386
|
+
const finalChunk = buildChunk(
|
|
387
|
+
{ id: state.chatId || `chatcmpl-${Date.now()}`, created: state.created || Math.floor(Date.now() / 1000), model: state.model || MODEL_FALLBACK },
|
|
388
|
+
{},
|
|
389
|
+
finishReason
|
|
390
|
+
);
|
|
391
391
|
|
|
392
392
|
if (state.usage && typeof state.usage === "object") {
|
|
393
393
|
finalChunk.usage = state.usage;
|
|
@@ -414,17 +414,10 @@ export function openaiResponsesToOpenAIResponse(chunk, state) {
|
|
|
414
414
|
const delta = data.delta || "";
|
|
415
415
|
if (!delta) return null;
|
|
416
416
|
|
|
417
|
-
return
|
|
418
|
-
id: state.chatId,
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
model: state.model || "unknown",
|
|
422
|
-
choices: [{
|
|
423
|
-
index: 0,
|
|
424
|
-
delta: { content: delta },
|
|
425
|
-
finish_reason: null
|
|
426
|
-
}]
|
|
427
|
-
};
|
|
417
|
+
return buildChunk(
|
|
418
|
+
{ id: state.chatId, created: state.created, model: state.model || MODEL_FALLBACK },
|
|
419
|
+
{ content: delta }
|
|
420
|
+
);
|
|
428
421
|
}
|
|
429
422
|
|
|
430
423
|
// Text content done (ignore, we handle via delta)
|
|
@@ -433,31 +426,21 @@ export function openaiResponsesToOpenAIResponse(chunk, state) {
|
|
|
433
426
|
}
|
|
434
427
|
|
|
435
428
|
// Function call started (standard function_call or custom_tool_call)
|
|
436
|
-
if (eventType === "response.output_item.added" && (data.item?.type ===
|
|
429
|
+
if (eventType === "response.output_item.added" && (data.item?.type === RESPONSES_ITEM.FUNCTION_CALL || data.item?.type === "custom_tool_call")) {
|
|
437
430
|
const item = data.item;
|
|
438
|
-
state.currentToolCallId = item.call_id ||
|
|
439
|
-
|
|
440
|
-
return
|
|
441
|
-
id: state.chatId,
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
type: "function",
|
|
452
|
-
function: {
|
|
453
|
-
name: item.name || "",
|
|
454
|
-
arguments: ""
|
|
455
|
-
}
|
|
456
|
-
}]
|
|
457
|
-
},
|
|
458
|
-
finish_reason: null
|
|
459
|
-
}]
|
|
460
|
-
};
|
|
431
|
+
state.currentToolCallId = item.call_id || fallbackToolCallId();
|
|
432
|
+
|
|
433
|
+
return buildChunk(
|
|
434
|
+
{ id: state.chatId, created: state.created, model: state.model || MODEL_FALLBACK },
|
|
435
|
+
{
|
|
436
|
+
tool_calls: [{
|
|
437
|
+
index: state.toolCallIndex,
|
|
438
|
+
id: state.currentToolCallId,
|
|
439
|
+
type: OPENAI_BLOCK.FUNCTION,
|
|
440
|
+
function: { name: item.name || "", arguments: "" }
|
|
441
|
+
}]
|
|
442
|
+
}
|
|
443
|
+
);
|
|
461
444
|
}
|
|
462
445
|
|
|
463
446
|
// Function call arguments delta (standard or custom_tool_call variant)
|
|
@@ -465,26 +448,14 @@ export function openaiResponsesToOpenAIResponse(chunk, state) {
|
|
|
465
448
|
const argsDelta = data.delta || "";
|
|
466
449
|
if (!argsDelta) return null;
|
|
467
450
|
|
|
468
|
-
return
|
|
469
|
-
id: state.chatId,
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
model: state.model || "unknown",
|
|
473
|
-
choices: [{
|
|
474
|
-
index: 0,
|
|
475
|
-
delta: {
|
|
476
|
-
tool_calls: [{
|
|
477
|
-
index: state.toolCallIndex,
|
|
478
|
-
function: { arguments: argsDelta }
|
|
479
|
-
}]
|
|
480
|
-
},
|
|
481
|
-
finish_reason: null
|
|
482
|
-
}]
|
|
483
|
-
};
|
|
451
|
+
return buildChunk(
|
|
452
|
+
{ id: state.chatId, created: state.created, model: state.model || MODEL_FALLBACK },
|
|
453
|
+
{ tool_calls: [{ index: state.toolCallIndex, function: { arguments: argsDelta } }] }
|
|
454
|
+
);
|
|
484
455
|
}
|
|
485
456
|
|
|
486
457
|
// Function call done (standard or custom_tool_call variant)
|
|
487
|
-
if (eventType === "response.output_item.done" && (data.item?.type ===
|
|
458
|
+
if (eventType === "response.output_item.done" && (data.item?.type === RESPONSES_ITEM.FUNCTION_CALL || data.item?.type === "custom_tool_call")) {
|
|
488
459
|
state.toolCallIndex++;
|
|
489
460
|
return null;
|
|
490
461
|
}
|
|
@@ -500,18 +471,7 @@ export function openaiResponsesToOpenAIResponse(chunk, state) {
|
|
|
500
471
|
// Cache info is in input_tokens_details.cached_tokens
|
|
501
472
|
const cacheReadTokens = responseUsage.input_tokens_details?.cached_tokens || responseUsage.cache_read_input_tokens || 0;
|
|
502
473
|
|
|
503
|
-
state.usage = {
|
|
504
|
-
prompt_tokens: inputTokens,
|
|
505
|
-
completion_tokens: outputTokens,
|
|
506
|
-
total_tokens: inputTokens + outputTokens
|
|
507
|
-
};
|
|
508
|
-
|
|
509
|
-
// Add prompt_tokens_details if cache tokens exist
|
|
510
|
-
if (cacheReadTokens > 0) {
|
|
511
|
-
state.usage.prompt_tokens_details = {
|
|
512
|
-
cached_tokens: cacheReadTokens
|
|
513
|
-
};
|
|
514
|
-
}
|
|
474
|
+
state.usage = buildUsage({ promptTokens: inputTokens, completionTokens: outputTokens, totalTokens: inputTokens + outputTokens, cachedTokens: cacheReadTokens });
|
|
515
475
|
}
|
|
516
476
|
|
|
517
477
|
if (!state.finishReasonSent) {
|
|
@@ -520,18 +480,12 @@ export function openaiResponsesToOpenAIResponse(chunk, state) {
|
|
|
520
480
|
state.finishReasonSent = true;
|
|
521
481
|
state.finishReason = finishReason; // Mark for usage injection in stream.js
|
|
522
482
|
|
|
523
|
-
const finalChunk =
|
|
524
|
-
id: state.chatId,
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
index: 0,
|
|
530
|
-
delta: {},
|
|
531
|
-
finish_reason: finishReason
|
|
532
|
-
}]
|
|
533
|
-
};
|
|
534
|
-
|
|
483
|
+
const finalChunk = buildChunk(
|
|
484
|
+
{ id: state.chatId, created: state.created, model: state.model || MODEL_FALLBACK },
|
|
485
|
+
{},
|
|
486
|
+
finishReason
|
|
487
|
+
);
|
|
488
|
+
|
|
535
489
|
// Include usage in final chunk if available
|
|
536
490
|
if (state.usage && typeof state.usage === "object") {
|
|
537
491
|
finalChunk.usage = state.usage;
|
|
@@ -553,17 +507,11 @@ export function openaiResponsesToOpenAIResponse(chunk, state) {
|
|
|
553
507
|
state.finishReasonSent = true;
|
|
554
508
|
|
|
555
509
|
// Surface the error as an OpenAI-compatible error chunk
|
|
556
|
-
return
|
|
557
|
-
id: state.chatId || `chatcmpl-${Date.now()}`,
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
choices: [{
|
|
562
|
-
index: 0,
|
|
563
|
-
delta: { content: `[Error] ${error.message || JSON.stringify(error)}` },
|
|
564
|
-
finish_reason: "stop"
|
|
565
|
-
}]
|
|
566
|
-
};
|
|
510
|
+
return buildChunk(
|
|
511
|
+
{ id: state.chatId || `chatcmpl-${Date.now()}`, created: state.created || Math.floor(Date.now() / 1000), model: state.model || MODEL_FALLBACK },
|
|
512
|
+
{ content: `[Error] ${error.message || JSON.stringify(error)}` },
|
|
513
|
+
OPENAI_FINISH.STOP
|
|
514
|
+
);
|
|
567
515
|
}
|
|
568
516
|
return null;
|
|
569
517
|
}
|
|
@@ -572,13 +520,10 @@ export function openaiResponsesToOpenAIResponse(chunk, state) {
|
|
|
572
520
|
if (eventType === "response.reasoning_summary_text.delta") {
|
|
573
521
|
const delta = data.delta || "";
|
|
574
522
|
if (!delta) return null;
|
|
575
|
-
return
|
|
576
|
-
id: state.chatId,
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
model: state.model || "unknown",
|
|
580
|
-
choices: [{ index: 0, delta: { reasoning_content: delta }, finish_reason: null }]
|
|
581
|
-
};
|
|
523
|
+
return buildChunk(
|
|
524
|
+
{ id: state.chatId, created: state.created, model: state.model || MODEL_FALLBACK },
|
|
525
|
+
reasoningDelta(delta)
|
|
526
|
+
);
|
|
582
527
|
}
|
|
583
528
|
|
|
584
529
|
// Ignore other events
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { register } from "../index.js";
|
|
2
2
|
import { FORMATS } from "../formats.js";
|
|
3
|
+
import { GEMINI_ROLE, OPENAI_FINISH, GEMINI_FINISH } from "../schema/index.js";
|
|
3
4
|
|
|
4
5
|
// Convert OpenAI SSE chunk to Antigravity SSE format
|
|
5
6
|
// Real Antigravity format:
|
|
@@ -79,17 +80,17 @@ export function openaiToAntigravityResponse(chunk, state) {
|
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
// Build candidate
|
|
82
|
-
const candidate = { content: { role:
|
|
83
|
+
const candidate = { content: { role: GEMINI_ROLE.MODEL, parts } };
|
|
83
84
|
|
|
84
85
|
// Finish reason mapping
|
|
85
86
|
if (finishReason) {
|
|
86
87
|
const reasonMap = {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
[OPENAI_FINISH.STOP]: GEMINI_FINISH.STOP,
|
|
89
|
+
[OPENAI_FINISH.LENGTH]: GEMINI_FINISH.MAX_TOKENS,
|
|
90
|
+
[OPENAI_FINISH.TOOL_CALLS]: GEMINI_FINISH.STOP,
|
|
91
|
+
[OPENAI_FINISH.CONTENT_FILTER]: GEMINI_FINISH.SAFETY
|
|
91
92
|
};
|
|
92
|
-
candidate.finishReason = reasonMap[finishReason] ||
|
|
93
|
+
candidate.finishReason = reasonMap[finishReason] || GEMINI_FINISH.STOP;
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
// Build response
|