@rabbi696/ezrouter 0.6.16 → 0.6.17
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-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +28 -25
- package/app/.next-cli-build/build-manifest.json +3 -3
- package/app/.next-cli-build/prerender-manifest.json +24 -0
- package/app/.next-cli-build/react-loadable-manifest.json +2 -2
- package/app/.next-cli-build/routes-manifest.json +18 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +5 -5
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +6 -6
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +4 -4
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/wakeup/page.js +2 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/wakeup/page.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/wakeup/page_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
- package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
- package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +2 -2
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +2 -2
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/changelog/route.js +1 -1
- package/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/export/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/export/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/convoy/rules/route.js +2 -2
- package/app/.next-cli-build/server/app/api/convoy/rules/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/health/route.js +1 -1
- package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/init/route.js +1 -1
- package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
- package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js +2 -2
- package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js +2 -2
- package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/route.js +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp-gateway/sse/route.js +2 -2
- package/app/.next-cli-build/server/app/api/mcp-gateway/sse/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/enabled/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/enabled/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/callback/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/callback/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
- package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +14 -14
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +14 -14
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +68 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/routing-health/route.js +1 -1
- package/app/.next-cli-build/server/app/api/routing-health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/token-saver/stats/route.js +1 -1
- package/app/.next-cli-build/server/app/api/token-saver/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/token-saver/stream/route.js +2 -2
- package/app/.next-cli-build/server/app/api/token-saver/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/error-logs/route.js +2 -2
- package/app/.next-cli-build/server/app/api/usage/error-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
- package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +3 -3
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/wakeup/route.js +1 -0
- package/app/.next-cli-build/server/app/api/wakeup/route.js.nft.json +1 -0
- package/app/.next-cli-build/server/app/api/wakeup/route_client-reference-manifest.js +1 -0
- package/app/.next-cli-build/server/app/callback/page.js +2 -2
- package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/callback.html +1 -1
- package/app/.next-cli-build/server/app/callback.rsc +4 -4
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/convoy.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/convoy.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/convoy.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/convoy.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/convoy.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/convoy.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/routing-health.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/routing-health.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/wakeup.html +1 -0
- package/app/.next-cli-build/server/app/dashboard/wakeup.meta +17 -0
- package/app/.next-cli-build/server/app/dashboard/wakeup.rsc +26 -0
- package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard/wakeup/__PAGE__.segment.rsc +9 -0
- package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard/wakeup.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -0
- package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_full.segment.rsc +26 -0
- package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_head.segment.rsc +6 -0
- package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_index.segment.rsc +8 -0
- package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_tree.segment.rsc +4 -0
- package/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
- package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/index.html +1 -1
- package/app/.next-cli-build/server/app/index.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/landing/page.js +2 -2
- package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/landing.html +1 -1
- package/app/.next-cli-build/server/app/landing.rsc +5 -5
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login/page.js +2 -2
- package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/login.html +1 -1
- package/app/.next-cli-build/server/app/login.rsc +5 -5
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/page.js +2 -2
- package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app-paths-manifest.json +28 -25
- package/app/.next-cli-build/server/chunks/1133.js +1 -1
- package/app/.next-cli-build/server/chunks/1198.js +1 -0
- package/app/.next-cli-build/server/chunks/1253.js +1 -1
- package/app/.next-cli-build/server/chunks/14.js +2 -0
- package/app/.next-cli-build/server/chunks/1522.js +1 -1
- package/app/.next-cli-build/server/chunks/1641.js +1 -1
- package/app/.next-cli-build/server/chunks/1733.js +1 -1
- package/app/.next-cli-build/server/chunks/1847.js +1 -1
- package/app/.next-cli-build/server/chunks/{9026.js → 1942.js} +18 -18
- package/app/.next-cli-build/server/chunks/2180.js +1 -0
- package/app/.next-cli-build/server/chunks/2220.js +1 -1
- package/app/.next-cli-build/server/chunks/2269.js +1 -1
- package/app/.next-cli-build/server/chunks/2316.js +1 -0
- package/app/.next-cli-build/server/chunks/2348.js +1 -1
- package/app/.next-cli-build/server/chunks/2898.js +1 -1
- package/app/.next-cli-build/server/chunks/290.js +1 -1
- package/app/.next-cli-build/server/chunks/3092.js +1 -0
- package/app/.next-cli-build/server/chunks/321.js +10 -0
- package/app/.next-cli-build/server/chunks/3275.js +1 -1
- package/app/.next-cli-build/server/chunks/3547.js +1 -1
- package/app/.next-cli-build/server/chunks/3583.js +1 -1
- package/app/.next-cli-build/server/chunks/369.js +23 -23
- package/app/.next-cli-build/server/chunks/3874.js +1 -0
- package/app/.next-cli-build/server/chunks/3886.js +1 -1
- package/app/.next-cli-build/server/chunks/3977.js +1 -1
- package/app/.next-cli-build/server/chunks/412.js +3 -3
- package/app/.next-cli-build/server/chunks/4123.js +1 -1
- package/app/.next-cli-build/server/chunks/{5704.js → 4344.js} +34 -34
- package/app/.next-cli-build/server/chunks/4378.js +2 -52
- package/app/.next-cli-build/server/chunks/4646.js +1 -1
- package/app/.next-cli-build/server/chunks/4704.js +3 -53
- package/app/.next-cli-build/server/chunks/4803.js +1 -1
- package/app/.next-cli-build/server/chunks/4827.js +1 -1
- package/app/.next-cli-build/server/chunks/4878.js +1 -1
- package/app/.next-cli-build/server/chunks/4989.js +1 -0
- package/app/.next-cli-build/server/chunks/5251.js +1 -1
- package/app/.next-cli-build/server/chunks/5460.js +2 -2
- package/app/.next-cli-build/server/chunks/5872.js +1 -1
- package/app/.next-cli-build/server/chunks/6103.js +1 -1
- package/app/.next-cli-build/server/chunks/615.js +1 -1
- package/app/.next-cli-build/server/chunks/6252.js +1 -1
- package/app/.next-cli-build/server/chunks/6405.js +1 -1
- package/app/.next-cli-build/server/chunks/6464.js +1 -0
- package/app/.next-cli-build/server/chunks/6569.js +1 -0
- package/app/.next-cli-build/server/chunks/6623.js +1 -0
- package/app/.next-cli-build/server/chunks/6664.js +1 -0
- package/app/.next-cli-build/server/chunks/6799.js +1 -1
- package/app/.next-cli-build/server/chunks/7362.js +1 -1
- package/app/.next-cli-build/server/chunks/7594.js +16 -16
- package/app/.next-cli-build/server/chunks/7633.js +1 -0
- package/app/.next-cli-build/server/chunks/7663.js +1 -1
- package/app/.next-cli-build/server/chunks/7677.js +1 -1
- package/app/.next-cli-build/server/chunks/7716.js +1 -1
- package/app/.next-cli-build/server/chunks/7775.js +1 -1
- package/app/.next-cli-build/server/chunks/7811.js +1 -1
- package/app/.next-cli-build/server/chunks/8062.js +1 -1
- package/app/.next-cli-build/server/chunks/8129.js +1 -1
- package/app/.next-cli-build/server/chunks/823.js +1 -1
- package/app/.next-cli-build/server/chunks/8243.js +5 -14
- package/app/.next-cli-build/server/chunks/8306.js +1 -1
- package/app/.next-cli-build/server/chunks/8469.js +1 -1
- package/app/.next-cli-build/server/chunks/8644.js +1 -1
- package/app/.next-cli-build/server/chunks/8950.js +1 -0
- package/app/.next-cli-build/server/chunks/8976.js +1 -1
- package/app/.next-cli-build/server/chunks/9303.js +1 -1
- package/app/.next-cli-build/server/chunks/{4768.js → 9352.js} +1 -1
- package/app/.next-cli-build/server/chunks/9485.js +1 -1
- package/app/.next-cli-build/server/chunks/9616.js +1 -0
- package/app/.next-cli-build/server/chunks/9761.js +51 -0
- package/app/.next-cli-build/server/chunks/9865.js +1 -1
- package/app/.next-cli-build/server/chunks/9898.js +51 -0
- package/app/.next-cli-build/server/functions-config-manifest.json +2 -1
- package/app/.next-cli-build/server/instrumentation.js +1 -1
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware.js +6 -6
- package/app/.next-cli-build/server/pages/404.html +1 -1
- package/app/.next-cli-build/server/pages/500.html +1 -1
- package/app/.next-cli-build/static/FVexSVbOSDtcylsZCcjge/_buildManifest.js +1 -0
- package/app/.next-cli-build/static/chunks/{1321-73fdccd2b1bf151d.js → 1321-26e45b3f54a76b57.js} +1 -1
- package/app/.next-cli-build/static/chunks/5497-4241ae61f34ae4c0.js +17 -0
- package/app/.next-cli-build/static/chunks/6509-e4e72b0db83cac55.js +1 -0
- package/app/.next-cli-build/static/chunks/{801-a83c4648747b8c6a.js → 801-410b498dd92d55c0.js} +1 -1
- package/app/.next-cli-build/static/chunks/8105-e126b2fb1459aebd.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-6720afc00e5d9d9a.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-c35f746b4bd9fc90.js → page-948cbe61db1d6e26.js} +11 -11
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-2f0ed88b5c33439a.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-7f28486bb0eb77b3.js → page-886fa42ab104c02b.js} +2 -2
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-0868ecc0d2f1bd04.js → page-f9acce0bf6425bac.js} +5 -5
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-7813952170842887.js +4 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-07467119470e1841.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-c804bcf327d3ef5a.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/wakeup/page-cc38ba001d74e072.js +1 -0
- package/app/.next-cli-build/static/chunks/app/_global-error/page-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/login/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/auth/status/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/changelog/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli/providers/codex/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/models/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/readiness/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/[id]/test/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/export/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/import/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/combos/test/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/convoy/rules/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/health/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/init/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/internal/codex-native/lease/[action]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/keys/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/locale/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/test/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/[id]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/message/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/oauth/[id]/[action]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/sse/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/alias/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/availability/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/custom/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/enabled/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/models/test/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/callback/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pricing/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh-profile/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/client/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/routing-health/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/database/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/settings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/shutdown/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tags/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/token-saver/stream/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tool-disclosure/stats/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/load/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/save/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/send/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/error-logs/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/history/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/alpha/search/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/alpha/search/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/edits/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/generations/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/memories/trace_summarize/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/models/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/compact/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/models/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/search/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/version/update/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/api/wakeup/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/landing/page-1317108013cd8887.js +1 -0
- package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/app/page-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-6152f72d0a627f31.js +1 -0
- package/app/.next-cli-build/static/chunks/{webpack-ac71f993743961ad.js → webpack-2e234f646b31f149.js} +1 -1
- package/app/.next-cli-build/static/css/9f1798df7ad706c5.css +1 -0
- package/app/CHANGELOG.md +34 -0
- package/app/package.json +1 -1
- package/app/public/CHANGELOG.md +34 -0
- package/package.json +1 -1
- package/src/cli/menus/combos.js +9 -2
- package/src/cli/utils/comboModelId.js +10 -0
- package/app/.next-cli-build/server/chunks/5130.js +0 -1
- package/app/.next-cli-build/server/chunks/6420.js +0 -1
- package/app/.next-cli-build/server/chunks/7066.js +0 -1
- package/app/.next-cli-build/server/chunks/7218.js +0 -1
- package/app/.next-cli-build/server/chunks/8231.js +0 -1
- package/app/.next-cli-build/server/chunks/8772.js +0 -1
- package/app/.next-cli-build/server/chunks/9062.js +0 -1
- package/app/.next-cli-build/static/Y5Sk8uSUyB0vJ-ZgW1X1U/_buildManifest.js +0 -1
- package/app/.next-cli-build/static/chunks/5497-ff58e90f4053e184.js +0 -17
- package/app/.next-cli-build/static/chunks/6808-93e2068e37a63896.js +0 -1
- package/app/.next-cli-build/static/chunks/8105-9b41dc96e4b019cf.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-72d5a02ccf63ca71.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-56484613ccd100dd.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-fd1013905d903c5c.js +0 -4
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-6cb070834a750fdd.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-e54e9501bfa23e38.js +0 -1
- package/app/.next-cli-build/static/chunks/app/_global-error/page-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/login/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/auth/status/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/changelog/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli/providers/codex/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/models/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/readiness/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/[id]/test/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/export/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/import/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/combos/test/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/convoy/rules/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/health/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/init/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/internal/codex-native/lease/[action]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/keys/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/locale/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/test/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/[id]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/message/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/oauth/[id]/[action]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/sse/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/alias/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/availability/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/custom/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/enabled/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/models/test/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/callback/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pricing/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh-profile/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/client/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/routing-health/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/database/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/settings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/shutdown/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tags/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/token-saver/stream/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tool-disclosure/stats/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/load/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/save/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/send/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/error-logs/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/history/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/alpha/search/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/alpha/search/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/edits/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/generations/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/memories/trace_summarize/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/models/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/compact/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/models/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/search/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/version/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/api/version/update/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/landing/page-7d5b31b8481d8fdd.js +0 -1
- package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/app/page-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-4c5cfa991861ba1b.js +0 -1
- package/app/.next-cli-build/static/css/76821f2171e21e80.css +0 -1
- package/app/src/shared/services/quotaAutoPing.js +0 -376
- /package/app/.next-cli-build/static/{Y5Sk8uSUyB0vJ-ZgW1X1U → FVexSVbOSDtcylsZCcjge}/_ssgManifest.js +0 -0
|
@@ -1,54 +1,4 @@
|
|
|
1
|
-
"use strict";exports.id=4378,exports.ids=[4378
|
|
2
|
-
# CRITICAL: CHUNKED WRITE PROTOCOL (MANDATORY)
|
|
3
|
-
|
|
4
|
-
You MUST follow these rules for ALL file operations. Violation causes server timeouts and task failure.
|
|
5
|
-
|
|
6
|
-
## ABSOLUTE LIMITS
|
|
7
|
-
- **MAXIMUM 350 LINES** per single write/edit operation - NO EXCEPTIONS
|
|
8
|
-
- **RECOMMENDED 300 LINES** or less for optimal performance
|
|
9
|
-
- **NEVER** write entire files in one operation if >300 lines
|
|
10
|
-
|
|
11
|
-
## MANDATORY CHUNKED WRITE STRATEGY
|
|
12
|
-
|
|
13
|
-
### For NEW FILES (>300 lines total):
|
|
14
|
-
1. FIRST: Write initial chunk (first 250-300 lines) using write_to_file/fsWrite
|
|
15
|
-
2. THEN: Append remaining content in 250-300 line chunks using file append operations
|
|
16
|
-
3. REPEAT: Continue appending until complete
|
|
17
|
-
|
|
18
|
-
### For EDITING EXISTING FILES:
|
|
19
|
-
1. Use surgical edits (apply_diff/targeted edits) - change ONLY what's needed
|
|
20
|
-
2. NEVER rewrite entire files - use incremental modifications
|
|
21
|
-
3. Split large refactors into multiple small, focused edits
|
|
22
|
-
|
|
23
|
-
### For LARGE CODE GENERATION:
|
|
24
|
-
1. Generate in logical sections (imports, types, functions separately)
|
|
25
|
-
2. Write each section as a separate operation
|
|
26
|
-
3. Use append operations for subsequent sections
|
|
27
|
-
|
|
28
|
-
## EXAMPLES OF CORRECT BEHAVIOR
|
|
29
|
-
|
|
30
|
-
CORRECT: Writing a 600-line file
|
|
31
|
-
- Operation 1: Write lines 1-300 (initial file creation)
|
|
32
|
-
- Operation 2: Append lines 301-600
|
|
33
|
-
|
|
34
|
-
CORRECT: Editing multiple functions
|
|
35
|
-
- Operation 1: Edit function A
|
|
36
|
-
- Operation 2: Edit function B
|
|
37
|
-
- Operation 3: Edit function C
|
|
38
|
-
|
|
39
|
-
WRONG: Writing 500 lines in single operation -> TIMEOUT
|
|
40
|
-
WRONG: Rewriting entire file to change 5 lines -> TIMEOUT
|
|
41
|
-
WRONG: Generating massive code blocks without chunking -> TIMEOUT
|
|
42
|
-
|
|
43
|
-
## WHY THIS MATTERS
|
|
44
|
-
- Server has 2-3 minute timeout for operations
|
|
45
|
-
- Large writes exceed timeout and FAIL completely
|
|
46
|
-
- Chunked writes are FASTER and more RELIABLE
|
|
47
|
-
- Failed writes waste time and require retry
|
|
48
|
-
|
|
49
|
-
REMEMBER: When in doubt, write LESS per operation. Multiple small operations > one large operation.
|
|
50
|
-
`.trim();function n(a,b,c){let f=(0,d.sS)(a);if(f)return"none"===f.mode||"level"===f.mode&&"disabled"===f.level?null:"budget"===f.mode?f.budget:"level"===f.mode?(0,e.nE)(f.level)??16e3:16e3;if(b){let a=function(a,b){if(!a)return;if("function"==typeof a.get)return a.get(b);let c=b.toLowerCase();for(let b of Object.keys(a))if(b.toLowerCase()===c)return a[b]}(b,"anthropic-beta");if("string"==typeof a&&a.toLowerCase().includes("interleaved-thinking"))return 16e3}if(function(a){for(let b of Array.isArray(a?.messages)?a.messages:[]){if(!b||"system"!==b.role&&"user"!==b.role)continue;let a=b.content;if("string"==typeof a){if(y(a))return!0}else if(Array.isArray(a))for(let b of a){let a=b?.text;if("string"==typeof a&&y(a))return!0}}return!!("string"==typeof a?.system&&y(a.system))}(a))return 16e3;if("string"==typeof c&&c){let a=c.toLowerCase();if(a.includes("thinking")||a.includes("-reason"))return 16e3}return null}function o(a){if("string"!=typeof a)return null;let b=a.toLowerCase().replace(/-/g,".").match(/(?:^|[/.])claude(?:[/.][a-z]+)*[/.](\d+)(?:[/.](\d+))?(?:[/.]|$)/);return b?{major:Number(b[1]),minor:void 0===b[2]?null:Number(b[2])}:null}function p(a){let b=a?.output_config?.effort??a?.reasoning_effort??("object"==typeof a?.reasoning?a.reasoning?.effort:null);if("string"!=typeof b)return null;let c=b.toLowerCase();return"max"===c?"xhigh":["low","medium","high","xhigh"].includes(c)?c:null}function q(a){if("string"!=typeof a)return null;let b=a.toLowerCase().replace(/-/g,".");if(/(?:^|[/.])gpt[/.]5[/.]6(?:[/.]|$)/.test(b))return"reasoning";if(!b.includes("claude"))return null;let c=o(a);if(!c)return null;let{major:d,minor:e}=c;return d<4||4===d&&(null===e||e<=5||null!==e&&e>=1e3)?null:"output_config"}function r(a,b){return"reasoning"===q(b)&&null!==p(a)}function s(a,b){let c=q(b);if(c)return function(a,b="output_config",c){let d="reasoning"===b?p(a):function(a,b){let c=a?.output_config?.effort??a?.reasoning_effort??("object"==typeof a?.reasoning?a.reasoning?.effort:null);if("string"!=typeof c)return null;let d=c.toLowerCase();if("none"===d||"off"===d||"disabled"===d)return null;if("xhigh"===d){let a;return(a=o(b))&&(4!==a.major||null===a.minor||!(a.minor<=6))?"xhigh":"high"}return"max"===d?"max":["low","medium","high"].includes(d)?d:null}(a,c);if(d)return"reasoning"===b?{reasoning:{effort:d}}:{thinking:{type:"adaptive",display:"summarized"},output_config:{effort:d}}}(a,c,b)}function t(a){return"string"==typeof a&&a.endsWith(f)}function u(a){return"string"==typeof a&&a.endsWith(g)}function v(a){return"string"==typeof a&&a.startsWith("claude")?a.replace(/([a-z])\.(\d)/g,"$1-$2"):a}function w(a){var b,c;let d=a,e=!1,h=!1;return t(d)&&(e=!0,d=t(b=d)?b.slice(0,-f.length):b),u(d)&&(h=!0,d=u(c=d)?c.slice(0,-g.length):c),{upstream:d,agentic:e,thinking:h}}function x(a=16e3){let b=Math.max(1,Math.min(32e3,Number(a)||16e3));return`<thinking_mode>enabled</thinking_mode>
|
|
51
|
-
<max_thinking_length>${b}</max_thinking_length>`}function y(a){return!!a&&!!a.includes("<thinking_mode>")&&(a.includes("<thinking_mode>enabled</thinking_mode>")||a.includes("<thinking_mode>interleaved</thinking_mode>"))}},4905:(a,b,c)=>{c.d(b,{$U:()=>d,RK:()=>g,pb:()=>e,uB:()=>f});let d="data: [DONE]\n\n",e={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"},f={"Content-Type":"text/event-stream","Cache-Control":"no-cache","X-Accel-Buffering":"no"},g={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive","Access-Control-Allow-Origin":"*"}},9155:(a,b,c)=>{c.d(b,{EV:()=>g,So:()=>h,X5:()=>d.X5,_M:()=>f});var d=c(78574),e=c(40467);async function f(a,b=null,c=null,g=null){let h=a?.apiKey||a?.accessToken;if(!(0,d.zh)(h))return{...a,accessToken:h,apiKey:h};let i=g||(0,e.ty)(a?.provider);try{let e=await (0,d.JQ)(h,{profile:i,proxyOptions:b,signal:c});return{...a,accessToken:e.accessToken,providerSpecificData:{...a?.providerSpecificData||{},userId:e.userId||a?.providerSpecificData?.userId||""}}}catch(b){return{...a,accessToken:h,apiKey:h}}}async function g(a,b={}){let c=b.region||(0,e.ty)(a?.provider),h=await f(a,b.proxyOptions,b.signal,c),i=b.profile||c;return(0,d.EV)(h,{...b,profile:i})}function h(a){if(!a)return[];let b=[],c=new Set;for(let d of a.models||[])!d?.id||c.has(d.id)||(c.add(d.id),b.push({id:d.id,name:d.name||d.id,hidden:!1}));for(let[d,e]of a.rawConfigs||[])!d||c.has(d)||(c.add(d),b.push({id:d,name:e?.display_name||d,hidden:!0}));return b}},14014:(a,b,c)=>{c.d(b,{Dl:()=>d,Vp:()=>h,nE:()=>e,vz:()=>g,wd:()=>f});let d={none:0,minimal:512,low:1024,medium:8192,high:24576,xhigh:32768,max:128e3};function e(a){if(a)return d[String(a).toLowerCase()]}function f(a){let b=String(a).toLowerCase().trim();return"none"===b||"off"===b?"minimal":"xhigh"===b||"max"===b?"high":b}function g(a){let b=Number(a);return!b||b<=0?null:b<=768?"minimal":b<=4096?"low":b<=16384?"medium":b<=28672?"high":b<=80384?"xhigh":"max"}function h(a){return!a||a<=0?null:a<=2048?"low":a<=16384?"medium":"high"}},29485:(a,b,c)=>{c.d(b,{KC:()=>s,OA:()=>p,PROVIDER_MODELS:()=>e.vq,SM:()=>j,Xg:()=>r,cY:()=>t,ez:()=>o,fZ:()=>k,kt:()=>q,ux:()=>n});var d=c(17218),e=c(39141),f=c(6595),g=c(8382),h=c(19956);let i=a=>!a||["oc","opencode","ocg","opencode-go","ocz","opencode-zen"].includes(a);function j(a){return e.vq[a]||[]}function k(a){let b=e.vq[a];return b?.[0]?.id||null}let l=new Set(["kr","kiro"]);function m(a,b,c){if(!a)return;let d="string"==typeof b?b.replace(/\([^()]+\)\s*$/,"").trim():b,e=a.find(a=>a.id===b||a.id===d);if(e)return e;if(!l.has(c))return;let g=(0,f.Kq)(d);if(g!==d)return a.find(a=>a.id===g)}function n(a,b){if(i(a)&&(0,g.nh)(b))return h.h.OPENAI_RESPONSES;let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?(0,f.gr)(d):i(a)&&(0,g.i8)(b)?.targetFormat||null}function o(a,b){let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?(0,f.ec)(d):i(a)?(0,g.i8)(b)?.supportedFormats||[h.h.OPENAI]:null}function p(a,b){let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?.kind||d?.type||null}function q(a,b){let c="string"==typeof b?b.match(/\([^()]+\)\s*$/):null,d=c?c[0]:"",f=d?b.slice(0,c.index).trim():b,h=m(e.vq[a],f,a),i=h?.upstreamModelId||h?.id;if(i){let a=i.match(/\([^()]+\)\s*$/),b=a?.[0]||"";return(b?i.slice(0,a.index).trim():i)+(d||b)}return"cx"===a&&"string"==typeof f&&f.endsWith(g.d5)?f.slice(0,-g.d5.length)+d:f+d}Object.fromEntries(d.default.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias]));let r=Object.fromEntries(d.default.map(a=>[a.id,a.alias||a.id]));function s(a){let b=r[a]||a;return e.vq[b]||[]}function t(a,b){return(0,f.g5)(m(e.vq[a],b,a))}},40467:(a,b,c)=>{c.d(b,{KC:()=>s,L7:()=>h,OQ:()=>q,RB:()=>A,Ty:()=>w,_G:()=>o,bb:()=>j,bg:()=>n,cT:()=>v,e9:()=>u,eM:()=>i,pM:()=>z,pr:()=>B,qk:()=>x,rf:()=>l,t6:()=>t,ty:()=>g,xG:()=>y,x_:()=>p});let d="intl",e={[d]:{chat:"https://api3.qoder.sh",chatAlt:"https://api2.qoder.sh",openApi:"https://openapi.qoder.sh",center:"https://center.qoder.sh",login:"https://qoder.com/device/selectAccounts",website:"https://qoder.com"},cn:{chat:"https://gateway.qoder.com.cn",chatAlt:"https://gateway.qoder.com.cn",openApi:"https://openapi.qoder.com.cn",center:"https://gateway.qoder.com.cn",login:"https://qoder.com.cn/device/selectAccounts",website:"https://qoder.com.cn"}};function f(a){return e[a]||e[d]}function g(a){return"qoder-cn"===a?"cn":d}let h=e[d].openApi,i=e[d].center,j=e[d].chat,k=e[d].chatAlt,l=e[d].login;function m(a){return f(a).openApi}let n=`${m(d)}/api/v1/deviceToken/poll`,o=`${m(d)}/api/v1/userinfo`,p=`${m(d)}/api/v2/quota/usage`;f(d).center;let q=`${m(d)}/api/v1/jobToken/exchange`,r=`${j}/algo/api/v2/service/pro/sse/agent_chat_generation?FetchKeys=llm_model_result&AgentId=agent_common`,s=`${r}&Encode=1`,t=`${f(d).chat}/algo/api/v2/model/list?Encode=1`;function u(a,b=d){if("cn"===b)return e.cn.chat;let c=a?.apiKey||a?.accessToken;return"string"==typeof c&&!c.startsWith("pt-")&&(c.startsWith("jt-")||(a?.accessToken||"").startsWith("jt-"))?k:j}Object.freeze({AUTO:"auto",MAX:"max",DEFAULT:"default"});let v="1.0.0",w="5",x="disagree",y="v2",z=function(a=process.arch,b=process.platform){return`${"arm64"===a?"aarch64":"x64"===a?"x86_64":a}_${"win32"===b?"windows":b}`}(),A="5",B=`-----BEGIN PUBLIC KEY-----
|
|
1
|
+
"use strict";exports.id=4378,exports.ids=[4378],exports.modules={4905:(a,b,c)=>{c.d(b,{$U:()=>d,RK:()=>g,pb:()=>e,uB:()=>f});let d="data: [DONE]\n\n",e={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"},f={"Content-Type":"text/event-stream","Cache-Control":"no-cache","X-Accel-Buffering":"no"},g={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive","Access-Control-Allow-Origin":"*"}},9155:(a,b,c)=>{c.d(b,{EV:()=>g,So:()=>h,X5:()=>d.X5,_M:()=>f});var d=c(78574),e=c(40467);async function f(a,b=null,c=null,g=null){let h=a?.apiKey||a?.accessToken;if(!(0,d.zh)(h))return{...a,accessToken:h,apiKey:h};let i=g||(0,e.ty)(a?.provider);try{let e=await (0,d.JQ)(h,{profile:i,proxyOptions:b,signal:c});return{...a,accessToken:e.accessToken,providerSpecificData:{...a?.providerSpecificData||{},userId:e.userId||a?.providerSpecificData?.userId||""}}}catch(b){return{...a,accessToken:h,apiKey:h}}}async function g(a,b={}){let c=b.region||(0,e.ty)(a?.provider),h=await f(a,b.proxyOptions,b.signal,c),i=b.profile||c;return(0,d.EV)(h,{...b,profile:i})}function h(a){if(!a)return[];let b=[],c=new Set;for(let d of a.models||[])!d?.id||c.has(d.id)||(c.add(d.id),b.push({id:d.id,name:d.name||d.id,hidden:!1}));for(let[d,e]of a.rawConfigs||[])!d||c.has(d)||(c.add(d),b.push({id:d,name:e?.display_name||d,hidden:!0}));return b}},40467:(a,b,c)=>{c.d(b,{KC:()=>s,L7:()=>h,OQ:()=>q,RB:()=>A,Ty:()=>w,_G:()=>o,bb:()=>j,bg:()=>n,cT:()=>v,e9:()=>u,eM:()=>i,pM:()=>z,pr:()=>B,qk:()=>x,rf:()=>l,t6:()=>t,ty:()=>g,xG:()=>y,x_:()=>p});let d="intl",e={[d]:{chat:"https://api3.qoder.sh",chatAlt:"https://api2.qoder.sh",openApi:"https://openapi.qoder.sh",center:"https://center.qoder.sh",login:"https://qoder.com/device/selectAccounts",website:"https://qoder.com"},cn:{chat:"https://gateway.qoder.com.cn",chatAlt:"https://gateway.qoder.com.cn",openApi:"https://openapi.qoder.com.cn",center:"https://gateway.qoder.com.cn",login:"https://qoder.com.cn/device/selectAccounts",website:"https://qoder.com.cn"}};function f(a){return e[a]||e[d]}function g(a){return"qoder-cn"===a?"cn":d}let h=e[d].openApi,i=e[d].center,j=e[d].chat,k=e[d].chatAlt,l=e[d].login;function m(a){return f(a).openApi}let n=`${m(d)}/api/v1/deviceToken/poll`,o=`${m(d)}/api/v1/userinfo`,p=`${m(d)}/api/v2/quota/usage`;f(d).center;let q=`${m(d)}/api/v1/jobToken/exchange`,r=`${j}/algo/api/v2/service/pro/sse/agent_chat_generation?FetchKeys=llm_model_result&AgentId=agent_common`,s=`${r}&Encode=1`,t=`${f(d).chat}/algo/api/v2/model/list?Encode=1`;function u(a,b=d){if("cn"===b)return e.cn.chat;let c=a?.apiKey||a?.accessToken;return"string"==typeof c&&!c.startsWith("pt-")&&(c.startsWith("jt-")||(a?.accessToken||"").startsWith("jt-"))?k:j}Object.freeze({AUTO:"auto",MAX:"max",DEFAULT:"default"});let v="1.0.0",w="5",x="disagree",y="v2",z=function(a=process.arch,b=process.platform){return`${"arm64"===a?"aarch64":"x64"===a?"x86_64":a}_${"win32"===b?"windows":b}`}(),A="5",B=`-----BEGIN PUBLIC KEY-----
|
|
52
2
|
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA8iMH5c02LilrsERw9t6Pv5Nc
|
|
53
3
|
4k6Pz1EaDicBMpdpxKduSZu5OANqUq8er4GM95omAGIOPOh+Nx0spthYA2BqGz+l
|
|
54
4
|
6HRkPJ7S236FZz73In/KVuLnwI8JJ2CbuJap8kvheCCZpmAWpb/cPx/3Vr/J6I17
|
|
@@ -65,4 +15,4 @@ XcW+ML9FoCI6AOvOzwIDAQAB
|
|
|
65
15
|
${l}
|
|
66
16
|
${n}
|
|
67
17
|
${k.toString("latin1")}
|
|
68
|
-
${t}`,v=p(Buffer.from(u,"latin1")),w=c.machineId||g.randomUUID(),x=c.machineToken||w,y=p(k),z=String(k.length);return{Authorization:`Bearer COSY.${s}.${v}`,"Cosy-Key":l,"Cosy-User":c.userId,"Cosy-Date":n,"Cosy-Version":j.ideVersion,"Cosy-Machineid":w,"Cosy-Machinetoken":x,"Cosy-Machinetype":j.machineType,"Cosy-Machineos":j.machineOs,"Cosy-Clienttype":j.clientType,"Cosy-Clientip":"127.0.0.1","Cosy-Bodyhash":y,"Cosy-Bodylength":z,"Cosy-Sigpath":t,"Cosy-Data-Policy":j.dataPolicy,"Cosy-Organization-Id":"","Cosy-Organization-Tags":"","Login-Version":j.loginVersion,"X-Request-Id":g.randomUUID()}}var r=c(9155),s=c(91576),t=c(94454);let u={chat_task:"FREE_INPUT",stream:!0,is_reply:!0,is_retry:!1,source:1,version:"3",agent_id:"agent_common",task_id:"common",aliyun_user_type:""},v=["name","tool_calls","tool_call_id","reasoning_content"];function w(a,b){"string"==typeof b&&b&&!a.includes(b)&&a.push(b)}function x(a){if("string"==typeof a)return a;if(null==a)return"";if(Array.isArray(a)){let b=[];for(let c of a)c&&"object"==typeof c&&"string"==typeof c.text&&b.push(c.text);return b.join("\n")}return"object"==typeof a&&"string"==typeof a.text?a.text:String(a)}async function y({model:a,body:b,credentials:c,log:d,proxyOptions:e,signal:f,profile:h=null,modelConfig:i=null,includeBusiness:j=!1}){let k=o(h),l=(0,t.kD)(String(a||"").replace(/^qoder\//,"")),m=i;if(m)m.key||(m={...m,key:l});else if(!(m=await (0,r.X5)(c,l,{log:d,proxyOptions:e,signal:f,profile:k}))){let a=await (0,r.EV)(c,{forceRefresh:!0,log:d,proxyOptions:e,signal:f,profile:k}),b=a?.rawConfigs.get(l);if(!b)throw Error(`qoder: model_config for "${l}" not yet known (inject modelConfig or fetch model list)`);m={...b,key:l}}let{messages:n,systemText:p,imageUrls:q}=function(a){if(!Array.isArray(a)||0===a.length)return{messages:[],systemText:"",imageUrls:[]};let b=[],c=[],d=[];for(let e of a){if(!e||"object"!=typeof e)continue;if("system"===e.role||"developer"===e.role){let a=x(e.content);a&&b.push(a);continue}let{content:a,imageUrls:f}=function a(b){if("string"==typeof b)return{content:b,imageUrls:[]};if(null==b)return{content:"",imageUrls:[]};if(!Array.isArray(b)&&"object"==typeof b)return a([b]);if(!Array.isArray(b))return{content:String(b),imageUrls:[]};let c=[],d=[];for(let a of b){if(null==a)continue;if("string"==typeof a){c.push({type:"text",text:a});continue}if("object"!=typeof a)continue;let b="string"==typeof a.type?a.type:"";if("text"===b||"string"==typeof a.text&&!b&&!a.image_url&&!a.binary){"string"==typeof a.text&&c.push({type:"text",text:a.text});continue}if("image_url"===b||a.image_url){let b,e=a.image_url??a,f="";if("string"==typeof e?f=e:e&&"object"==typeof e&&(f="string"==typeof e.url?e.url:"","string"==typeof e.detail&&e.detail&&(b=e.detail)),f||"string"!=typeof a.url||(f=a.url),!f)continue;let g=b?{url:f,detail:b}:{url:f};c.push({type:"image_url",image_url:g}),w(d,f);continue}if("binary"===b||a.binary||"string"==typeof a.data&&(a.mime_type||a.mimeType)){let b=a.binary&&"object"==typeof a.binary?a.binary:a,e="string"==typeof b.data?b.data:"",f="string"==typeof b.mime_type&&b.mime_type||"string"==typeof b.mimeType&&b.mimeType||"";if(!e||!f)continue;c.push({type:"binary",binary:{data:e,mime_type:f}}),e.startsWith("data:")&&w(d,e);continue}}return 0===c.length?{content:"",imageUrls:[]}:0===d.length&&c.every(a=>"text"===a.type&&"string"==typeof a.text)?{content:c.map(a=>a.text).join("\n"),imageUrls:[]}:{content:c,imageUrls:d}}(e.content);for(let a of f)w(d,a);let g=function(a){let b={role:a.role};for(let c of v)void 0!==a[c]&&(b[c]=a[c]);return b}(e);g.content=a,c.push(g)}return{messages:c,systemText:b.join("\n\n"),imageUrls:d}}(b?.messages||[]),z=Array.isArray(b?.tools)?b.tools:[],A=!!m.is_reasoning,B=Number(m.max_output_tokens)||0,C=32768;B>0&&(C=B),"number"==typeof b?.max_tokens&&b.max_tokens>0&&b.max_tokens<C&&(C=b.max_tokens),"number"==typeof b?.max_completion_tokens&&b.max_completion_tokens>0&&b.max_completion_tokens<C&&(C=b.max_completion_tokens);let D=function(a){for(let b=a.length-1;b>=0;b--){let c=a[b];if(c?.role!=="user")continue;let d=x(c.content);if(d)return d;if(Array.isArray(c.content)&&c.content.length)break;if("string"==typeof c.content)return c.content}return""}(b?.messages||n),E=c?.providerSpecificData||{},F=(0,g.randomUUID)(),G=(0,s.oV)({headers:c?.rawHeaders,body:b,connectionId:c?.connectionId||E.userId||l,scope:"qoder"}),H={max_tokens:C},I=function(a){if(!a||"object"!=typeof a)return;let b=a.reasoning_effort;if(null==b&&a.reasoning&&"object"==typeof a.reasoning&&(b=a.reasoning.effort),null==b)return;let c=String(b).trim().toLowerCase();return c?"disabled"===c||"off"===c?"none":"x-high"===c?"xhigh":"auto"!==c?c:void 0:void 0}(b);if(void 0!==I?H.reasoning_effort=I:A&&(H.reasoning_effort="high"),A&&"number"==typeof b?.max_thinking_tokens&&(H.max_thinking_tokens=b.max_thinking_tokens),void 0!==b?.tool_choice&&(H.tool_choice=b.tool_choice),"number"==typeof b?.context_length&&b.context_length>0)H.context_length=b.context_length;else if("number"==typeof b?.contextWindow&&b.contextWindow>0)H.context_length=b.contextWindow;else{let a=function(a){let b=a?.context_config;if(b&&"object"==typeof b){let a=0;for(let c of Object.values(b)){let b=Number(c?.token_count);Number.isFinite(b)&&b>a&&(a=b)}if(a>0)return a}let c=Number(a?.max_input_tokens);return Number.isFinite(c)&&c>0?c:void 0}(m);a&&(H.context_length=a)}let J=q.length?q:null,K={key:m.key||l,display_name:m.display_name||m.displayName||l,model:"",format:m.format||"openai",is_vl:!!m.is_vl,is_reasoning:!!m.is_reasoning,api_key:"",url:"",source:m.source||"system",max_input_tokens:m.max_input_tokens??2e5},L={request_id:F,request_set_id:F,chat_record_id:F,session_id:G,...u,session_type:k.sessionType,model_config:K,system:p,messages:n,tools:z,parameters:H,chat_context:function(a,b,c,d=null){return{text:a,features:[],extra:{context:[],modelConfig:{key:b,is_reasoning:!!c},originalContent:a},chatPrompt:"",imageUrls:d&&d.length?d:null}}(D,l,A,J)};return(j||k.includeBusiness)&&(L.business={product:k.businessProduct,version:k.businessVersion,type:k.businessType||"agent",stage:"init",id:(0,g.randomUUID)(),name:D&&D.length>30?`${D.slice(0,30)}...`:D||"",begin_at:Date.now()}),{qoderKey:l,payload:L,modelConfig:m}}async function z(a){return y(a)}var A=c(71483);let B=new Map,C="qodercli/1.0.0";function D(a){return"string"==typeof a&&a.startsWith("pt-")}async function E(a,b,c,e){let f=await (0,d.proxyAwareFetch)(b.jobTokenExchangeUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":C,"Cosy-Version":b.ideVersion,"Cosy-ClientType":b.clientType},body:JSON.stringify({personal_token:a}),signal:e},c);if(!f.ok){let a=await f.text().catch(()=>"");throw Error(`qoder PAT exchange failed: ${f.status} ${a.slice(0,200)}`)}let g=await f.json();if(!g.token)throw Error("qoder PAT exchange returned no job token");let h=Date.now()+864e5;if(g.expires_at){let a=Date.parse(g.expires_at);Number.isNaN(a)||(h=a)}else"number"==typeof g.expires_in&&g.expires_in>0&&(h=Date.now()+g.expires_in);return{jobToken:g.token,jobRefreshToken:g.refresh_token||"",expiresAt:h}}async function F(a,b,c,e){try{let f=await (0,d.proxyAwareFetch)(b.userInfoUrl,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":C},signal:e},c);if(!f.ok)return"";let g=await f.json().catch(()=>({}));return g.id||g.userId||g.user_id||""}catch{return""}}async function G(a,b={}){let c=o(b.profile),d=b.proxyOptions??null,e=b.signal??null,f=`${c.id}:${a}`,g=B.get(f);if(g&&g.expiresAt-Date.now()>3e5)return g;let{jobToken:h,expiresAt:i}=await E(a,c,d,e),j=await F(h,c,d,e),k={accessToken:h,userId:j,expiresAt:i};return B.set(f,k),k}async function H({model:a,body:b,credentials:c,signal:g,log:h,proxyOptions:i=null,profile:j=null,timeoutMs:k=null,modelConfig:l=null,fetchImpl:m=null,includeBusiness:n=!1}){let p,r,s,t,u=o(j),v=u.chatUrl,w=c?.accessToken||c?.apiKey;if(D(w))try{let a=await G(w,{profile:u,proxyOptions:i,signal:g});c={...c,accessToken:a.accessToken,apiKey:void 0,providerSpecificData:{authMethod:"pat",...c?.providerSpecificData||{},userId:a.userId||c?.providerSpecificData?.userId||"",machineId:c?.providerSpecificData?.machineId||"",machineToken:c?.providerSpecificData?.machineToken||""}}}catch(a){return h?.error?.("QODER",`PAT exchange failed: ${a.message}`),{response:new Response(JSON.stringify({error:{message:`qoder PAT exchange failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let x=c?.providerSpecificData||{};if(!x.userId)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing userId; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};if(!c?.accessToken)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing accessToken; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};try{({qoderKey:p,payload:r}=await z({model:a,body:b,credentials:c,log:h,proxyOptions:i,signal:g,profile:u,modelConfig:l,includeBusiness:n}))}catch(a){return{response:new Response(JSON.stringify({error:{message:a.message}}),{status:400,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let y=function(a){let b=(Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"utf8"):Buffer.from(a)).toString("base64"),c=b.length,d=Math.floor(c/3),e=b.slice(c-d)+b.slice(d,c-d)+b.slice(0,d),g=Buffer.alloc(c);for(let a=0;a<c;a++){let b=e.charCodeAt(a);b<128&&f[b]>=0?g[a]=f[b]:g[a]=b}return g.toString("latin1")}(Buffer.from(JSON.stringify(r),"utf8")),B=Buffer.from(y,"latin1");try{s=q(B,v,{userId:x.userId,authToken:c.accessToken,name:c.displayName||"",email:c.email||"",machineId:x.machineId||"",machineToken:x.machineToken||x.machineId||""},u)}catch(a){return{response:new Response(JSON.stringify({error:{message:`qoder cosy signing failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let C={"Content-Type":"application/json",Accept:"text/event-stream","Cache-Control":"no-cache","X-Model-Key":p,"X-Model-Source":r.model_config&&r.model_config.source||"system","Accept-Encoding":"identity",...s},E=k||e.pH,F=new AbortController,I=setTimeout(()=>F.abort(Error("fetch connect timeout")),E),J=g?AbortSignal.any([g,F.signal]):F.signal;try{let a={method:"POST",headers:C,body:B,signal:J};t="function"==typeof m?await m(v,a):await (0,d.proxyAwareFetch)(v,a,{...i,strictProxy:!0})}catch(a){if(J.aborted)throw J.reason;throw a}finally{clearTimeout(I)}return t.ok?{response:await (0,A.ZU)(t,`qoder/${p}`,h),url:v,headers:C,transformedBody:r}:{response:t,url:v,headers:C,transformedBody:r}}let I=new Map,J=new Map;async function K(a,b,c=null,e=null){let f,g,i={userId:(g=a?.providerSpecificData||{}).userId,authToken:a.accessToken,name:a.displayName||"",email:a.email||"",machineId:g.machineId||"",machineToken:g.machineToken||g.machineId||""};if(!i.userId||!i.authToken)return null;let j=o(e),k="cn"===j.id||"cn-work"===j.id?j.modelListUrl:`${(0,h.e9)(a,j.id)}/algo/api/v2/model/list?Encode=1`,l={Accept:"application/json","Accept-Encoding":"identity",...q(Buffer.alloc(0),k,i,j)},m=new AbortController,n=null,p=null;try{n=setTimeout(()=>m.abort("timeout"),15e3),b&&"function"==typeof b.addEventListener&&(b.aborted?m.abort(b.reason):(p=()=>m.abort(b.reason),b.addEventListener("abort",p))),f=await (0,d.proxyAwareFetch)(k,{method:"GET",headers:l,signal:m.signal},c)}finally{n&&clearTimeout(n),b&&p&&b.removeEventListener("abort",p)}if(!f.ok)return null;let r=await f.json().catch(()=>null);if(!r||!Array.isArray(r.chat))return null;let s=[],t=new Map;for(let a of r.chat){if(!a||"object"!=typeof a)continue;let b=a.key;if(!b)continue;t.set(b,a);let c=a.display_name||a.displayName||a.name||a.title||b,d=Number(a.max_input_tokens)||131072;s.push({id:b,name:`${c}`,contextLength:d,isVL:!!a.is_vl,isReasoning:!!a.is_reasoning,maxOutputTokens:Number(a.max_output_tokens)||0,description:a.description||"",enabled:!1!==a.enable})}return{models:s,rawConfigs:t}}async function L(a,b,c={}){let d=await M(a,c);if(!d)return null;let e=d.rawConfigs.get(b);return e?{...e,key:b}:null}async function M(a,b={}){let c;if(!a?.accessToken||!(a.providerSpecificData||{}).userId)return null;let d=(c=(a?.providerSpecificData||{}).userId||a?.refreshToken||a?.accessToken||"anonymous",(0,g.createHash)("sha256").update(`qoder:${c}`).digest("hex")),e=Date.now();if(!b.forceRefresh){let a=I.get(d);if(a&&a.expiresAt>e)return a}let f=J.get(d);if(f&&!b.forceRefresh)return f;let h=(async()=>{let c=await K(a,b.signal,b.proxyOptions,b.profile);if(!c)return null;let e={expiresAt:Date.now()+36e5,models:c.models,rawConfigs:c.rawConfigs,fetched:!0};return I.set(d,e),e})();J.set(d,h);try{return await h}finally{J.get(d)===h&&J.delete(d)}}},91576:(a,b,c)=>{c.d(b,{E9:()=>s,RF:()=>i,YC:()=>r,oV:()=>q});var d=c(55511),e=c(60290);let f=new Map,g=new Map,h=setInterval(()=>{let a=Date.now();for(let[b,c]of f)a-c.lastUsed>e.v1.sessionTtlMs&&f.delete(b)},e.v1.sessionCleanupIntervalMs);function i(a){if(!a)return j();let b=f.get(a);if(b)return b.lastUsed=Date.now(),f.delete(a),f.set(a,b),b.sessionId;if(f.size>=1e3){let a=f.keys().next().value;f.delete(a)}let c=j();return f.set(a,{sessionId:c,lastUsed:Date.now()}),c}function j(){return d.randomUUID()+Date.now().toString()}h.unref&&h.unref();let k=new Map,l=["x-session-id","session-id","session_id","x-amp-thread-id"],m=/_session_([a-f0-9-]+)$/;function n(a){if("string"!=typeof a)return null;let b=a.trim();return!b||b.length>256?null:b}function o(a,b){return a&&"object"==typeof a?n(a[b]??a[b.toLowerCase()]):null}let p=/^[a-z]+\/([0-9a-f-]{36})\//i;function q(a={}){return function({headers:a,body:b,connectionId:c,workspaceId:e,scope:f=""}={}){let g=function(a,b,c=""){let d=function(a){if("string"!=typeof a||!a)return null;let b=a.match(m);if(b)return b[1];if("{"===a[0])try{return n(JSON.parse(a)?.session_id)}catch{}return null}(b?.metadata?.user_id)||o(a,"x-claude-code-session-id");if(d)return"claude"===c?d:`claude:${d}`;let e=function(a){let b=a?.request?.sessionId;if(null!=b&&""!==b)return n(String(b));let c="string"==typeof a?.requestId?a.requestId.match(p):null;return c?n(c[1]):null}(b);if(e)return`antigravity:${e}`;for(let b of l){let c=o(a,b);if(c)return c}let f="kiro"===c?null:o(a,"x-client-request-id");return f||n(b?.prompt_cache_key)||n(b?.session_id)||n(b?.conversation_id)||("kiro"===c?null:n(b?.metadata?.user_id))||null}(a,b,f);if(g)return{sessionId:g,ephemeral:!1};let h="kiro"===f?null:function(a,b){var c;let e=function(a){let b=Array.isArray(a?.messages)?a.messages:Array.isArray(a?.input)?a.input:[];if(!b)return"";let c="";for(let a of b)if(a?.role==="assistant"){if("string"==typeof a.content)c+=a.content;else if(Array.isArray(a.content))for(let b of a.content)c+=b?.text||b?.output||"";if(c.length>=50)break}return c}(b);if(e.length<50)return null;let f=(c=`${a}:${e.slice(0,50)}`,d.createHash("sha256").update(c).digest("hex").slice(0,16)),g=k.get(f);if(g)return g.lastUsed=Date.now(),k.delete(f),k.set(f,g),g.sessionId;k.size>=5e3&&k.delete(k.keys().next().value);let h=j();return k.set(f,{sessionId:h,lastUsed:Date.now()}),h}(`${f}:${c||""}`,b);if(h)return{sessionId:h,ephemeral:!1};let q=n(e);return q?{sessionId:q,ephemeral:!1}:"kiro"===f?{sessionId:j(),ephemeral:!0}:{sessionId:i(c),ephemeral:!1}}(a).sessionId}function r(a,b,c,d=""){return q({headers:b?.rawHeaders,body:a,connectionId:c,scope:d})}function s(a){let b=n(a);if(!b)return null;if(/^-?\d+$/.test(b))return b;let c=0x7fffffffffffffffn&d.createHash("sha256").update(b).digest().readBigUInt64BE(0);return`-${c.toString()}`}let t=setInterval(()=>{let a=Date.now();for(let[b,c]of k)a-c.lastUsed>e.v1.sessionTtlMs&&k.delete(b);for(let[b,c]of g)a-c.lastUsed>e.v1.sessionTtlMs&&g.delete(b)},e.v1.sessionCleanupIntervalMs);t.unref&&t.unref()},94454:(a,b,c)=>{c.d(b,{NU:()=>k,kD:()=>i,sS:()=>j,z:()=>t});var d=c(11847),e=c(2081),f=c(39141),g=c(14014);let h={openai:"openai","openai-responses":"openai","openai-response":"openai",codex:"openai",claude:"claude-budget",gemini:"gemini-budget","gemini-cli":"gemini-budget",vertex:"gemini-budget",antigravity:"gemini-budget",kiro:"kiro",ollama:"ollama"};function i(a){if("string"!=typeof a)return a;let b=a.match(/^(.*)\([^()]+\)\s*$/);return b?b[1].trim():a}function j(a){if(!a||"object"!=typeof a)return null;let b=a.reasoning_effort??("object"==typeof a.reasoning?a.reasoning?.effort:null);if("string"==typeof b&&b){let a=b.toLowerCase();return"none"===a||"off"===a?{mode:"none"}:"auto"===a?{mode:"auto"}:{mode:"level",level:a}}let c=a.output_config?.effort;if("string"==typeof c&&c){let a=c.toLowerCase();return"none"===a||"off"===a?{mode:"none"}:"auto"===a?{mode:"auto"}:{mode:"level",level:a}}let d=a.thinking;if(d&&"object"==typeof d){if("disabled"===d.type)return{mode:"none"};if("adaptive"===d.type||"enabled"===d.type){let a=Number(d.budget_tokens);return Number.isFinite(a)&&a>0?{mode:"budget",budget:a}:{mode:"auto"}}}if(void 0!==a.think){let b=a.think;if(!1===b)return{mode:"none"};if(!0===b)return{mode:"auto"};if("string"==typeof b){let a=b.toLowerCase().trim();if("none"===a||"off"===a||"false"===a)return{mode:"none"};if("auto"===a||"true"===a)return{mode:"auto"};if("minimal"===a||"low"===a||"medium"===a||"high"===a||"max"===a||"xhigh"===a)return{mode:"level",level:"xhigh"===a?"max":a};if(a)return{mode:"level",level:a}}return b?{mode:"auto"}:{mode:"none"}}let e=a.additionalModelRequestFields;if(e&&"object"==typeof e){let a=e.output_config?.effort||e.thinking?.effort;if("string"==typeof a&&a)return{mode:"level",level:a.toLowerCase()};let b=e.reasoning?.effort;if("string"==typeof b&&b)return{mode:"level",level:b.toLowerCase()}}let f=a.thinkingConfig||a.generationConfig?.thinkingConfig||a.request?.generationConfig?.thinkingConfig;if(f&&"object"==typeof f){if("string"==typeof f.thinkingLevel)return{mode:"level",level:f.thinkingLevel.toLowerCase()};let a=Number(f.thinkingBudget);if(Number.isFinite(a))return 0===a?{mode:"none"}:a<0?{mode:"auto"}:{mode:"budget",budget:a}}if(!1===a.enable_thinking)return{mode:"none"};if(!0===a.enable_thinking){let b=Number(a.thinking_budget);return Number.isFinite(b)&&b>0?{mode:"budget",budget:b}:{mode:"auto"}}return null}function k(a){let b=j(a);if(!b||"none"===b.mode)return b;let c=function(a){if(a.reasoning&&"object"==typeof a.reasoning){let b=a.reasoning.summary;return"string"==typeof b&&b&&"none"!==b?"summarized":void 0}if("string"==typeof a.reasoning_effort)return"summarized"}(a);return c?{...b,display:c}:b}let l=new Set(["gemini-level","gemini-budget","claude-budget","claude-adaptive","kiro"]);function m(a,b){let c;if("budget"===a.mode)c=a.budget;else if("level"===a.mode)c=(0,g.nE)(a.level);else if("auto"===a.mode)return -1;if(Number.isFinite(c))return b&&(null!=b.min&&c<b.min&&(c=b.min),null!=b.max&&c>b.max&&(c=b.max)),c}function n(a){return"level"===a.mode?a.level:"budget"===a.mode?(0,g.vz)(a.budget)||"medium":"auto"===a.mode?"auto":null}let o={minimal:4096,low:8192,medium:16384,high:65535};function p(a){return a.request&&"object"==typeof a.request?(a.request.generationConfig&&"object"==typeof a.request.generationConfig||(a.request.generationConfig={}),a.request.generationConfig):(a.generationConfig&&"object"==typeof a.generationConfig||(a.generationConfig={}),a.generationConfig)}function q(a,b){p(a).thinkingConfig=b}function r(a,b,c){let d=Number.isFinite(c?.maxOutput)?c.maxOutput:b,e=Math.min(b,d),f=p(a),g=Number(f.maxOutputTokens);(!Number.isFinite(g)||g<e)&&(f.maxOutputTokens=e)}function s(a){delete a.thinking,delete a.reasoning_effort,delete a.reasoning,delete a.thinkingConfig,delete a.enable_thinking,delete a.thinking_budget,delete a.output_config,delete a.think,a.generationConfig&&delete a.generationConfig.thinkingConfig,a.request?.generationConfig&&delete a.request.generationConfig.thinkingConfig}function t(a,b,c,i=null,k){if(!c||"object"!=typeof c)return c;let{cleanModel:p,override:u}=function(a){if("string"!=typeof a)return{cleanModel:a,override:null};let b=a.match(/^(.*)\(([^()]+)\)\s*$/);if(!b)return{cleanModel:a,override:null};let c=b[1].trim(),d=b[2].trim().toLowerCase();return"none"===d||"off"===d?{cleanModel:c,override:{mode:"none"}}:"auto"===d?{cleanModel:c,override:{mode:"auto"}}:/^\d+$/.test(d)?{cleanModel:c,override:{mode:"budget",budget:Number(d)}}:"ultra"===d?{cleanModel:c,override:{mode:"level",level:"ultra"}}:void 0!==g.Dl[d]?{cleanModel:c,override:{mode:"level",level:d}}:{cleanModel:c,override:null}}(b),v=u||k||j(c),w=(0,d.getCapabilitiesForModel)(i,p);if(!w.reasoning)return s(c),c;if(!v)return c;let x=function(a,b,c){if("string"==typeof c&&c.startsWith("openai-compatible-"))return"openai";let e=c?f.xq[c]?.thinkingFormat:null;if(e)return e;let g=(0,d.getCapabilitiesForModel)(c,b);return g.thinkingFormat&&!(("openai"===a||"openai-responses"===a)&&l.has(g.thinkingFormat))?g.thinkingFormat:h[a]||"openai"}(a,p,i),y="string"==typeof c.thinking?.display?c.thinking.display:k?.display;return s(c),!function(a,b,c,d,f,h,i){var j;let k="none"===c.mode,l=!1!==d.thinkingCanDisable,p=k&&!l?{mode:"level",level:"minimal"}:c;switch(a){case"openai":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);a&&(b.reasoning_effort="max"!==a||(0,e.t)(f,h,"max")?a:"xhigh");break}case"qoder":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);a&&(b.reasoning_effort=a);break}case"claude-adaptive":{if(k&&l){b.thinking={type:"disabled"};break}l?b.thinking={type:"adaptive",...i?{display:i}:{}}:delete b.thinking;let a=n(p);b.output_config={effort:"auto"!==a&&a?"minimal"===a?"low":"xhigh"!==a||(0,e.t)(f,h,"xhigh")?a:"high":"high"};break}case"claude-budget":{if(k&&l){b.thinking={type:"disabled"};break}let a=m(p,d.thinkingRange);b.thinking=-1===a?{type:"enabled",...i?{display:i}:{}}:{type:"enabled",budget_tokens:a||8192,...i?{display:i}:{}};break}case"gemini-level":{let a,c=k?"minimal":(a="auto"===p.mode?"high":n(p)||"high",(0,g.wd)(a));q(b,{thinkingLevel:c,includeThoughts:"minimal"!==c}),r(b,o[c]||o.high,d);break}case"gemini-budget":{if(k&&l){q(b,{thinkingBudget:0,includeThoughts:!1});break}let a=m(p,d.thinkingRange);q(b,{thinkingBudget:a??-1,includeThoughts:!0}),r(b,-1!==(j=a??-1)&&Number.isFinite(j)?j<=1024?8192:j<=8192?16384:j<=24576?32768:65535:32768,d);break}case"zai":if(k&&l){b.enable_thinking=!1,delete b.thinking;break}if(b.thinking={type:"enabled"},d.thinkingEffortSupported){let a=n(p);b.reasoning_effort="low"===a||"minimal"===a?"low":"high"===a||"medium"===a?"high":"max"}break;case"qwen":{if(k&&l){b.enable_thinking=!1;break}b.enable_thinking=!0;let a=m(p,d.thinkingRange);Number.isFinite(a)&&a>0&&(b.thinking_budget=a);break}case"deepseek":{if(k&&l){b.thinking={type:"disabled"};break}b.thinking={type:"enabled"};let a=n(p),c="xhigh"===a||"max"===a?"max":"high";b.reasoning_effort="max"!==c||(0,e.t)(f,h,"max")?c:"high";break}case"kimi":{let a;if(k&&l){b.thinking={type:"disabled"};break}let c="auto"===(a=n(p))?"high":"minimal"===a?"low":"xhigh"===a?"max":["low","medium","high","max"].includes(a)?a:null;c&&(b.reasoning_effort=c);break}case"ollama":{if(k&&l){b.think=!1;break}let a=function(a,b){if(!a)return null;if("auto"===a.mode)return!0;let c=n(a);return!c||"auto"===c||("minimal"===c?"low":"xhigh"===c?"max":["low","medium","high","max"].includes(c)?"max"===c&&b&&!b.includes("max")?"high":c:"medium")}(p,d?.thinkingLevels);null!=a&&(b.think=a);break}case"opencode":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);if(!a||"auto"===a)break;b.reasoning_effort="xhigh"===a||"ultra"===a?"max":"minimal"===a?"low":a;break}case"minimax":b.thinking={type:k&&l?"disabled":"adaptive"};break;case"hunyuan":{if(k&&l){b.thinking={type:"disabled"};break}let a=m(p,d.thinkingRange);b.thinking=-1===a?{type:"enabled"}:{type:"enabled",budget_tokens:a||8192};break}case"step":{if(k&&l)break;let a=n(p);a&&(b.reasoning_effort="xhigh"===a||"max"===a?"high":a);break}case"nous":{if(k&&l)break;let a="auto"===p.mode?"medium":n(p);b.reasoning={enabled:!0,...a?{effort:a}:{}};break}case"meta":{let a=n(p);if("none"===a)break;a&&(b.reasoning_effort="max"===a||"ultra"===a?"xhigh":a)}}}(x,c,v,w,i,p,y),c}}};
|
|
18
|
+
${t}`,v=p(Buffer.from(u,"latin1")),w=c.machineId||g.randomUUID(),x=c.machineToken||w,y=p(k),z=String(k.length);return{Authorization:`Bearer COSY.${s}.${v}`,"Cosy-Key":l,"Cosy-User":c.userId,"Cosy-Date":n,"Cosy-Version":j.ideVersion,"Cosy-Machineid":w,"Cosy-Machinetoken":x,"Cosy-Machinetype":j.machineType,"Cosy-Machineos":j.machineOs,"Cosy-Clienttype":j.clientType,"Cosy-Clientip":"127.0.0.1","Cosy-Bodyhash":y,"Cosy-Bodylength":z,"Cosy-Sigpath":t,"Cosy-Data-Policy":j.dataPolicy,"Cosy-Organization-Id":"","Cosy-Organization-Tags":"","Login-Version":j.loginVersion,"X-Request-Id":g.randomUUID()}}var r=c(9155),s=c(91576),t=c(94454);let u={chat_task:"FREE_INPUT",stream:!0,is_reply:!0,is_retry:!1,source:1,version:"3",agent_id:"agent_common",task_id:"common",aliyun_user_type:""},v=["name","tool_calls","tool_call_id","reasoning_content"];function w(a,b){"string"==typeof b&&b&&!a.includes(b)&&a.push(b)}function x(a){if("string"==typeof a)return a;if(null==a)return"";if(Array.isArray(a)){let b=[];for(let c of a)c&&"object"==typeof c&&"string"==typeof c.text&&b.push(c.text);return b.join("\n")}return"object"==typeof a&&"string"==typeof a.text?a.text:String(a)}async function y({model:a,body:b,credentials:c,log:d,proxyOptions:e,signal:f,profile:h=null,modelConfig:i=null,includeBusiness:j=!1}){let k=o(h),l=(0,t.stripThinkingSuffix)(String(a||"").replace(/^qoder\//,"")),m=i;if(m)m.key||(m={...m,key:l});else if(!(m=await (0,r.X5)(c,l,{log:d,proxyOptions:e,signal:f,profile:k}))){let a=await (0,r.EV)(c,{forceRefresh:!0,log:d,proxyOptions:e,signal:f,profile:k}),b=a?.rawConfigs.get(l);if(!b)throw Error(`qoder: model_config for "${l}" not yet known (inject modelConfig or fetch model list)`);m={...b,key:l}}let{messages:n,systemText:p,imageUrls:q}=function(a){if(!Array.isArray(a)||0===a.length)return{messages:[],systemText:"",imageUrls:[]};let b=[],c=[],d=[];for(let e of a){if(!e||"object"!=typeof e)continue;if("system"===e.role||"developer"===e.role){let a=x(e.content);a&&b.push(a);continue}let{content:a,imageUrls:f}=function a(b){if("string"==typeof b)return{content:b,imageUrls:[]};if(null==b)return{content:"",imageUrls:[]};if(!Array.isArray(b)&&"object"==typeof b)return a([b]);if(!Array.isArray(b))return{content:String(b),imageUrls:[]};let c=[],d=[];for(let a of b){if(null==a)continue;if("string"==typeof a){c.push({type:"text",text:a});continue}if("object"!=typeof a)continue;let b="string"==typeof a.type?a.type:"";if("text"===b||"string"==typeof a.text&&!b&&!a.image_url&&!a.binary){"string"==typeof a.text&&c.push({type:"text",text:a.text});continue}if("image_url"===b||a.image_url){let b,e=a.image_url??a,f="";if("string"==typeof e?f=e:e&&"object"==typeof e&&(f="string"==typeof e.url?e.url:"","string"==typeof e.detail&&e.detail&&(b=e.detail)),f||"string"!=typeof a.url||(f=a.url),!f)continue;let g=b?{url:f,detail:b}:{url:f};c.push({type:"image_url",image_url:g}),w(d,f);continue}if("binary"===b||a.binary||"string"==typeof a.data&&(a.mime_type||a.mimeType)){let b=a.binary&&"object"==typeof a.binary?a.binary:a,e="string"==typeof b.data?b.data:"",f="string"==typeof b.mime_type&&b.mime_type||"string"==typeof b.mimeType&&b.mimeType||"";if(!e||!f)continue;c.push({type:"binary",binary:{data:e,mime_type:f}}),e.startsWith("data:")&&w(d,e);continue}}return 0===c.length?{content:"",imageUrls:[]}:0===d.length&&c.every(a=>"text"===a.type&&"string"==typeof a.text)?{content:c.map(a=>a.text).join("\n"),imageUrls:[]}:{content:c,imageUrls:d}}(e.content);for(let a of f)w(d,a);let g=function(a){let b={role:a.role};for(let c of v)void 0!==a[c]&&(b[c]=a[c]);return b}(e);g.content=a,c.push(g)}return{messages:c,systemText:b.join("\n\n"),imageUrls:d}}(b?.messages||[]),z=Array.isArray(b?.tools)?b.tools:[],A=!!m.is_reasoning,B=Number(m.max_output_tokens)||0,C=32768;B>0&&(C=B),"number"==typeof b?.max_tokens&&b.max_tokens>0&&b.max_tokens<C&&(C=b.max_tokens),"number"==typeof b?.max_completion_tokens&&b.max_completion_tokens>0&&b.max_completion_tokens<C&&(C=b.max_completion_tokens);let D=function(a){for(let b=a.length-1;b>=0;b--){let c=a[b];if(c?.role!=="user")continue;let d=x(c.content);if(d)return d;if(Array.isArray(c.content)&&c.content.length)break;if("string"==typeof c.content)return c.content}return""}(b?.messages||n),E=c?.providerSpecificData||{},F=(0,g.randomUUID)(),G=(0,s.oV)({headers:c?.rawHeaders,body:b,connectionId:c?.connectionId||E.userId||l,scope:"qoder"}),H={max_tokens:C},I=function(a){if(!a||"object"!=typeof a)return;let b=a.reasoning_effort;if(null==b&&a.reasoning&&"object"==typeof a.reasoning&&(b=a.reasoning.effort),null==b)return;let c=String(b).trim().toLowerCase();return c?"disabled"===c||"off"===c?"none":"x-high"===c?"xhigh":"auto"!==c?c:void 0:void 0}(b);if(void 0!==I?H.reasoning_effort=I:A&&(H.reasoning_effort="high"),A&&"number"==typeof b?.max_thinking_tokens&&(H.max_thinking_tokens=b.max_thinking_tokens),void 0!==b?.tool_choice&&(H.tool_choice=b.tool_choice),"number"==typeof b?.context_length&&b.context_length>0)H.context_length=b.context_length;else if("number"==typeof b?.contextWindow&&b.contextWindow>0)H.context_length=b.contextWindow;else{let a=function(a){let b=a?.context_config;if(b&&"object"==typeof b){let a=0;for(let c of Object.values(b)){let b=Number(c?.token_count);Number.isFinite(b)&&b>a&&(a=b)}if(a>0)return a}let c=Number(a?.max_input_tokens);return Number.isFinite(c)&&c>0?c:void 0}(m);a&&(H.context_length=a)}let J=q.length?q:null,K={key:m.key||l,display_name:m.display_name||m.displayName||l,model:"",format:m.format||"openai",is_vl:!!m.is_vl,is_reasoning:!!m.is_reasoning,api_key:"",url:"",source:m.source||"system",max_input_tokens:m.max_input_tokens??2e5},L={request_id:F,request_set_id:F,chat_record_id:F,session_id:G,...u,session_type:k.sessionType,model_config:K,system:p,messages:n,tools:z,parameters:H,chat_context:function(a,b,c,d=null){return{text:a,features:[],extra:{context:[],modelConfig:{key:b,is_reasoning:!!c},originalContent:a},chatPrompt:"",imageUrls:d&&d.length?d:null}}(D,l,A,J)};return(j||k.includeBusiness)&&(L.business={product:k.businessProduct,version:k.businessVersion,type:k.businessType||"agent",stage:"init",id:(0,g.randomUUID)(),name:D&&D.length>30?`${D.slice(0,30)}...`:D||"",begin_at:Date.now()}),{qoderKey:l,payload:L,modelConfig:m}}async function z(a){return y(a)}var A=c(71483);let B=new Map,C="qodercli/1.0.0";function D(a){return"string"==typeof a&&a.startsWith("pt-")}async function E(a,b,c,e){let f=await (0,d.proxyAwareFetch)(b.jobTokenExchangeUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":C,"Cosy-Version":b.ideVersion,"Cosy-ClientType":b.clientType},body:JSON.stringify({personal_token:a}),signal:e},c);if(!f.ok){let a=await f.text().catch(()=>"");throw Error(`qoder PAT exchange failed: ${f.status} ${a.slice(0,200)}`)}let g=await f.json();if(!g.token)throw Error("qoder PAT exchange returned no job token");let h=Date.now()+864e5;if(g.expires_at){let a=Date.parse(g.expires_at);Number.isNaN(a)||(h=a)}else"number"==typeof g.expires_in&&g.expires_in>0&&(h=Date.now()+g.expires_in);return{jobToken:g.token,jobRefreshToken:g.refresh_token||"",expiresAt:h}}async function F(a,b,c,e){try{let f=await (0,d.proxyAwareFetch)(b.userInfoUrl,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":C},signal:e},c);if(!f.ok)return"";let g=await f.json().catch(()=>({}));return g.id||g.userId||g.user_id||""}catch{return""}}async function G(a,b={}){let c=o(b.profile),d=b.proxyOptions??null,e=b.signal??null,f=`${c.id}:${a}`,g=B.get(f);if(g&&g.expiresAt-Date.now()>3e5)return g;let{jobToken:h,expiresAt:i}=await E(a,c,d,e),j=await F(h,c,d,e),k={accessToken:h,userId:j,expiresAt:i};return B.set(f,k),k}async function H({model:a,body:b,credentials:c,signal:g,log:h,proxyOptions:i=null,profile:j=null,timeoutMs:k=null,modelConfig:l=null,fetchImpl:m=null,includeBusiness:n=!1}){let p,r,s,t,u=o(j),v=u.chatUrl,w=c?.accessToken||c?.apiKey;if(D(w))try{let a=await G(w,{profile:u,proxyOptions:i,signal:g});c={...c,accessToken:a.accessToken,apiKey:void 0,providerSpecificData:{authMethod:"pat",...c?.providerSpecificData||{},userId:a.userId||c?.providerSpecificData?.userId||"",machineId:c?.providerSpecificData?.machineId||"",machineToken:c?.providerSpecificData?.machineToken||""}}}catch(a){return h?.error?.("QODER",`PAT exchange failed: ${a.message}`),{response:new Response(JSON.stringify({error:{message:`qoder PAT exchange failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let x=c?.providerSpecificData||{};if(!x.userId)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing userId; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};if(!c?.accessToken)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing accessToken; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};try{({qoderKey:p,payload:r}=await z({model:a,body:b,credentials:c,log:h,proxyOptions:i,signal:g,profile:u,modelConfig:l,includeBusiness:n}))}catch(a){return{response:new Response(JSON.stringify({error:{message:a.message}}),{status:400,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let y=function(a){let b=(Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"utf8"):Buffer.from(a)).toString("base64"),c=b.length,d=Math.floor(c/3),e=b.slice(c-d)+b.slice(d,c-d)+b.slice(0,d),g=Buffer.alloc(c);for(let a=0;a<c;a++){let b=e.charCodeAt(a);b<128&&f[b]>=0?g[a]=f[b]:g[a]=b}return g.toString("latin1")}(Buffer.from(JSON.stringify(r),"utf8")),B=Buffer.from(y,"latin1");try{s=q(B,v,{userId:x.userId,authToken:c.accessToken,name:c.displayName||"",email:c.email||"",machineId:x.machineId||"",machineToken:x.machineToken||x.machineId||""},u)}catch(a){return{response:new Response(JSON.stringify({error:{message:`qoder cosy signing failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let C={"Content-Type":"application/json",Accept:"text/event-stream","Cache-Control":"no-cache","X-Model-Key":p,"X-Model-Source":r.model_config&&r.model_config.source||"system","Accept-Encoding":"identity",...s},E=k||e.pH,F=new AbortController,I=setTimeout(()=>F.abort(Error("fetch connect timeout")),E),J=g?AbortSignal.any([g,F.signal]):F.signal;try{let a={method:"POST",headers:C,body:B,signal:J};t="function"==typeof m?await m(v,a):await (0,d.proxyAwareFetch)(v,a,{...i,strictProxy:!0})}catch(a){if(J.aborted)throw J.reason;throw a}finally{clearTimeout(I)}return t.ok?{response:await (0,A.ZU)(t,`qoder/${p}`,h),url:v,headers:C,transformedBody:r}:{response:t,url:v,headers:C,transformedBody:r}}let I=new Map,J=new Map;async function K(a,b,c=null,e=null){let f,g,i={userId:(g=a?.providerSpecificData||{}).userId,authToken:a.accessToken,name:a.displayName||"",email:a.email||"",machineId:g.machineId||"",machineToken:g.machineToken||g.machineId||""};if(!i.userId||!i.authToken)return null;let j=o(e),k="cn"===j.id||"cn-work"===j.id?j.modelListUrl:`${(0,h.e9)(a,j.id)}/algo/api/v2/model/list?Encode=1`,l={Accept:"application/json","Accept-Encoding":"identity",...q(Buffer.alloc(0),k,i,j)},m=new AbortController,n=null,p=null;try{n=setTimeout(()=>m.abort("timeout"),15e3),b&&"function"==typeof b.addEventListener&&(b.aborted?m.abort(b.reason):(p=()=>m.abort(b.reason),b.addEventListener("abort",p))),f=await (0,d.proxyAwareFetch)(k,{method:"GET",headers:l,signal:m.signal},c)}finally{n&&clearTimeout(n),b&&p&&b.removeEventListener("abort",p)}if(!f.ok)return null;let r=await f.json().catch(()=>null);if(!r||!Array.isArray(r.chat))return null;let s=[],t=new Map;for(let a of r.chat){if(!a||"object"!=typeof a)continue;let b=a.key;if(!b)continue;t.set(b,a);let c=a.display_name||a.displayName||a.name||a.title||b,d=Number(a.max_input_tokens)||131072;s.push({id:b,name:`${c}`,contextLength:d,isVL:!!a.is_vl,isReasoning:!!a.is_reasoning,maxOutputTokens:Number(a.max_output_tokens)||0,description:a.description||"",enabled:!1!==a.enable})}return{models:s,rawConfigs:t}}async function L(a,b,c={}){let d=await M(a,c);if(!d)return null;let e=d.rawConfigs.get(b);return e?{...e,key:b}:null}async function M(a,b={}){let c;if(!a?.accessToken||!(a.providerSpecificData||{}).userId)return null;let d=(c=(a?.providerSpecificData||{}).userId||a?.refreshToken||a?.accessToken||"anonymous",(0,g.createHash)("sha256").update(`qoder:${c}`).digest("hex")),e=Date.now();if(!b.forceRefresh){let a=I.get(d);if(a&&a.expiresAt>e)return a}let f=J.get(d);if(f&&!b.forceRefresh)return f;let h=(async()=>{let c=await K(a,b.signal,b.proxyOptions,b.profile);if(!c)return null;let e={expiresAt:Date.now()+36e5,models:c.models,rawConfigs:c.rawConfigs,fetched:!0};return I.set(d,e),e})();J.set(d,h);try{return await h}finally{J.get(d)===h&&J.delete(d)}}},91576:(a,b,c)=>{c.d(b,{E9:()=>s,RF:()=>i,YC:()=>r,oV:()=>q});var d=c(55511),e=c(60290);let f=new Map,g=new Map,h=setInterval(()=>{let a=Date.now();for(let[b,c]of f)a-c.lastUsed>e.v1.sessionTtlMs&&f.delete(b)},e.v1.sessionCleanupIntervalMs);function i(a){if(!a)return j();let b=f.get(a);if(b)return b.lastUsed=Date.now(),f.delete(a),f.set(a,b),b.sessionId;if(f.size>=1e3){let a=f.keys().next().value;f.delete(a)}let c=j();return f.set(a,{sessionId:c,lastUsed:Date.now()}),c}function j(){return d.randomUUID()+Date.now().toString()}h.unref&&h.unref();let k=new Map,l=["x-session-id","session-id","session_id","x-amp-thread-id"],m=/_session_([a-f0-9-]+)$/;function n(a){if("string"!=typeof a)return null;let b=a.trim();return!b||b.length>256?null:b}function o(a,b){return a&&"object"==typeof a?n(a[b]??a[b.toLowerCase()]):null}let p=/^[a-z]+\/([0-9a-f-]{36})\//i;function q(a={}){return function({headers:a,body:b,connectionId:c,workspaceId:e,scope:f=""}={}){let g=function(a,b,c=""){let d=function(a){if("string"!=typeof a||!a)return null;let b=a.match(m);if(b)return b[1];if("{"===a[0])try{return n(JSON.parse(a)?.session_id)}catch{}return null}(b?.metadata?.user_id)||o(a,"x-claude-code-session-id");if(d)return"claude"===c?d:`claude:${d}`;let e=function(a){let b=a?.request?.sessionId;if(null!=b&&""!==b)return n(String(b));let c="string"==typeof a?.requestId?a.requestId.match(p):null;return c?n(c[1]):null}(b);if(e)return`antigravity:${e}`;for(let b of l){let c=o(a,b);if(c)return c}let f="kiro"===c?null:o(a,"x-client-request-id");return f||n(b?.prompt_cache_key)||n(b?.session_id)||n(b?.conversation_id)||("kiro"===c?null:n(b?.metadata?.user_id))||null}(a,b,f);if(g)return{sessionId:g,ephemeral:!1};let h="kiro"===f?null:function(a,b){var c;let e=function(a){let b=Array.isArray(a?.messages)?a.messages:Array.isArray(a?.input)?a.input:[];if(!b)return"";let c="";for(let a of b)if(a?.role==="assistant"){if("string"==typeof a.content)c+=a.content;else if(Array.isArray(a.content))for(let b of a.content)c+=b?.text||b?.output||"";if(c.length>=50)break}return c}(b);if(e.length<50)return null;let f=(c=`${a}:${e.slice(0,50)}`,d.createHash("sha256").update(c).digest("hex").slice(0,16)),g=k.get(f);if(g)return g.lastUsed=Date.now(),k.delete(f),k.set(f,g),g.sessionId;k.size>=5e3&&k.delete(k.keys().next().value);let h=j();return k.set(f,{sessionId:h,lastUsed:Date.now()}),h}(`${f}:${c||""}`,b);if(h)return{sessionId:h,ephemeral:!1};let q=n(e);return q?{sessionId:q,ephemeral:!1}:"kiro"===f?{sessionId:j(),ephemeral:!0}:{sessionId:i(c),ephemeral:!1}}(a).sessionId}function r(a,b,c,d=""){return q({headers:b?.rawHeaders,body:a,connectionId:c,scope:d})}function s(a){let b=n(a);if(!b)return null;if(/^-?\d+$/.test(b))return b;let c=0x7fffffffffffffffn&d.createHash("sha256").update(b).digest().readBigUInt64BE(0);return`-${c.toString()}`}let t=setInterval(()=>{let a=Date.now();for(let[b,c]of k)a-c.lastUsed>e.v1.sessionTtlMs&&k.delete(b);for(let[b,c]of g)a-c.lastUsed>e.v1.sessionTtlMs&&g.delete(b)},e.v1.sessionCleanupIntervalMs);t.unref&&t.unref()}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=4646,exports.ids=[4646],exports.modules={84646:(a,b,c)=>{c.d(b,{PROVIDER_PRICING:()=>g,ad:()=>k,calculateCostFromTokens:()=>m,gH:()=>i,getPricingForModel:()=>j});let d=["cline-free/"],e={input:0,output:0,cached:0,reasoning:0,cache_creation:0},f={"claude-opus-4-6":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-opus-4-5-20251101":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-sonnet-4-6":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-sonnet-4-5-20250929":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-haiku-4-5-20251001":{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25},"claude-sonnet-4-20250514":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-opus-4-20250514":{input:15,output:25,cached:7.5,reasoning:112.5,cache_creation:15},"claude-3-5-sonnet-20241022":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-haiku-4.5":{input:.5,output:2.5,cached:.05,reasoning:3.75,cache_creation:.5},"claude-opus-4.1":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.5":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.6":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-sonnet-4":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.5":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.6":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-opus-4-5-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4-6-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-5-5-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-5-5":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-5-5-high":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-5-5-medium":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-5-5-low":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-fable-5":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5},"claude-sonnet-5-5":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-thinking":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-high":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-medium":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-low":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"gpt-3.5-turbo":{input:.5,output:1.5,cached:.25,reasoning:2.25,cache_creation:.5},"gpt-4":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4-turbo":{input:10,output:30,cached:5,reasoning:45,cache_creation:10},"gpt-4o":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15},"gpt-4.1":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-5":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5-mini":{input:.25,output:2,cached:.125,reasoning:2,cache_creation:.25},"gpt-5-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex-mini":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"gpt-5.1-codex-mini-high":{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"gpt-5.1-codex-max":{input:8,output:32,cached:4,reasoning:48,cache_creation:8},"gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.2-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex-spark":{input:3,output:12,cached:.3,reasoning:12,cache_creation:3},"gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5,long_context:{threshold:272e3,input:5,output:22.5,cached:.5,reasoning:22.5,cache_creation:5}},"gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5,cache_creation:.75},"gpt-5.4-nano":{input:.2,output:1.25,cached:.02,reasoning:1.25,cache_creation:.2},"gpt-5.5":{input:5,output:30,cached:.5,reasoning:30,cache_creation:5,long_context:{threshold:272e3,input:10,output:45,cached:1,reasoning:45,cache_creation:10}},"gpt-5.6":{input:4,output:20,cached:.4,reasoning:20,cache_creation:5,long_context:{threshold:272e3,input:8,output:30,cached:.8,reasoning:30,cache_creation:10}},"gpt-5.6-luna":{input:.2,output:1.2,cached:.02,reasoning:1.2,cache_creation:.25,long_context:{threshold:272e3,input:.4,output:1.8,cached:.04,reasoning:1.8,cache_creation:.5}},"gpt-5.6-terra":{input:2,output:12,cached:.2,reasoning:12,cache_creation:2.5,long_context:{threshold:272e3,input:4,output:18,cached:.4,reasoning:18,cache_creation:5}},"gpt-5.6-sol":{input:4,output:20,cached:.4,reasoning:20,cache_creation:5,long_context:{threshold:272e3,input:8,output:30,cached:.8,reasoning:30,cache_creation:10}},"gpt-6-astra":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5,long_context:{threshold:272e3,input:20,output:75,cached:2,reasoning:75,cache_creation:25}},"gpt-6.1-sol":{input:2,output:10,cached:.1,reasoning:10,cache_creation:2.5},"gpt-6-sol":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"gpt-6-luna":{input:.1,output:.5,cached:.01,reasoning:.5,cache_creation:.125},o1:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15},"o1-mini":{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"gemini-4-argon":{input:2,output:10},"gemini-3.8-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.375},"gemini-3.5-flash-high":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash-preview":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-pro-preview":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-low":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-high":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-pro-agent":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-3-flash-agent":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-extra-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-2.5-pro":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-2.5-flash":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3},"gemini-2.5-flash-lite":{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15},"qwen3-coder-plus":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"qwen3-coder-flash":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"qwen3-coder-plus":{input:.65,output:3.25,cached:.5,reasoning:3.25,cache_creation:1},"qwen3-coder-flash":{input:.195,output:.975,cached:.25,reasoning:.975,cache_creation:.5},"qwen3-coder-next":{input:.12,output:.8,cached:.06,reasoning:.8,cache_creation:.5},"qwen3.8-max":{input:2,output:6,cached:.25,cache_creation:2.5,reasoning:6},"qwen3.8-27b":{input:.4,output:3,cached:.05,reasoning:3},"qwen3.8-2.4t-a95b":{input:2,output:6,cached:.25,reasoning:6},"qwen3.7-max":{input:1.475,output:4.425,cached:.25,reasoning:4.425},"qwen3.7-plus":{input:.32,output:1.28,cached:.08,reasoning:1.28},"qwen3.6-plus":{input:.325,output:1.95,reasoning:1.95},"qwen3.6-flash":{input:.1875,output:1.125,cached:.01875,cache_creation:.2344,reasoning:1.125},"qwen3.6-35b-a3b":{input:.098,output:.95,reasoning:.95},"qwen3.6-27b":{input:.289,output:2.4,reasoning:2.4},"qwen3.6-max-preview":{input:1.027,output:6.162,reasoning:6.162},"qwen3.5-plus":{input:.3,output:1.8,reasoning:1.8},"qwen3.5-flash":{input:.065,output:.26,reasoning:.26},"qwen3.5-27b":{input:.195,output:1.56,reasoning:1.56},"qwen3.5-35b-a3b":{input:.14,output:1,reasoning:1},"qwen3.5-122b-a10b":{input:.26,output:2.08,reasoning:2.08},"qwen3.5-397b-a17b":{input:.3025,output:1.925,reasoning:1.925},"kimi-k3":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},k3:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},"kimi-k2.7-code":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-k2.7-code-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-for-coding":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-for-coding-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-k2":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-k2-thinking":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"kimi-k2.5":{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2},"kimi-k2.5-thinking":{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8},"kimi-k2.6":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-latest":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"deepseek-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-r1":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4-flash-latest":{input:.04,output:.1,cached:.01,reasoning:.1,cache_creation:.04},"deepseek-v4-flash":{input:.05,output:.16,cached:.013,reasoning:.16,cache_creation:.05},"deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:.435},"glm-4.6":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"glm-4.6v":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-4.7":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-5":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"glm-5.1":{input:.95,output:3.15,cached:.179,reasoning:3.15,cache_creation:.95},"glm-5.3-flash":{input:.15,output:.5,cached:.03,reasoning:.5,cache_creation:.15},"glm-5.3":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.8,cache_creation:.3},"MiniMax-M2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.5":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.7":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.5":{input:.6,output:2.4,cached:.3,reasoning:3.6,cache_creation:.6},"grok-code-fast-1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"grok-4.5":{input:2,output:6,cached:.3,reasoning:6,cache_creation:2,long_context:{threshold:2e5,inclusive:!0,input:4,output:12,cached:.6,reasoning:12,cache_creation:4}},"grok-4.6":{input:2,output:6,cached:.5,reasoning:6,cache_creation:2,long_context:{threshold:2e5,inclusive:!0,input:4,output:12,cached:1,reasoning:12,cache_creation:4}},"muse-spark-1.3":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.2":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.1":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.3-contributor":{input:.1,output:.2,cached:.002,reasoning:.2,cache_creation:0},"muse-spark-1.2-contributor":{input:.1,output:.2,cached:.002,reasoning:.2,cache_creation:0},auto:{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"oswe-vscode-prime":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"gpt-oss-120b-medium":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"vision-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"coder-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},g={gh:{"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},meta:{"muse-spark-1.2":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"muse-spark-1.1":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"muse-spark-1.2-contributor":{input:.1,output:.2,cached:.002,reasoning:.2}},tokenrouter:{"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.2},"anthropic/claude-fable-5":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-haiku-4.5":{input:1,output:5,cached:.1,cache_creation:1.25,reasoning:5},"anthropic/claude-opus-4.5":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.6":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.7":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.7-fast":{input:30,output:150,cached:3,reasoning:150},"anthropic/claude-opus-4.8":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.8-fast":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-opus-5":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-5-fast":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-sonnet-4":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-4.5":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-4.6":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10},"claude-opus-4-8-m-aws":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"deepseek/deepseek-v3.2":{input:.26,output:.38,cached:.13,reasoning:.38},"deepseek/deepseek-v4-flash":{input:.14,output:.28,cached:.0028,reasoning:.28},"deepseek/deepseek-v4-flash-0731":{input:.14,output:.28,cached:.0028,reasoning:.28},"deepseek/deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87},"ex/gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15},"google/gemini-2.5-flash-image":{input:.3,output:2.5,reasoning:2.5},"google/gemini-3-flash-preview":{input:.5,output:3,cached:.05,cache_creation:.08333,reasoning:3},"google/gemini-3-pro-image-preview":{input:2,output:12,reasoning:12},"google/gemini-3.1-flash-image-preview":{input:.5,output:3,reasoning:3},"google/gemini-3.1-flash-lite-image":{input:.25,output:1.5,reasoning:1.5},"google/gemini-3.1-pro-preview":{input:2,output:12,cached:.2,cache_creation:.375,reasoning:12},"google/gemini-3.5-flash":{input:1.5,output:9,cached:.15,cache_creation:.08333,reasoning:9},"google/gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,cache_creation:.08333,reasoning:2.5},"google/gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,cache_creation:.08333,reasoning:7.5},"google/gemini-embedding-2":{input:1,output:6,cached:.1,reasoning:6},"google/gemma-4-26b-a4b-it":{input:.06,output:.33,reasoning:.33},"kling-3.0-turbo":{input:2.1,output:2.1,reasoning:2.1},"microsoft/mai-image-2.5":{input:5,output:47,reasoning:47},"minimax/minimax-m2-her":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.1":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.1-highspeed":{input:.6,output:2.4,cached:.06,reasoning:2.4},"minimax/minimax-m2.5":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.7":{input:.3,output:1.2,cached:.06,reasoning:1.2},"minimax/minimax-m2.7-highspeed":{input:.6,output:2.4,cached:.06,reasoning:2.4},"miromind/mirothinker-1-7-deepresearch":{input:4,output:25,reasoning:25},"miromind/mirothinker-1-7-deepresearch-mini":{input:1.25,output:10,reasoning:10},"mistralai/devstral-2512":{input:.4,output:2,cached:.04,reasoning:2},"mistralai/mistral-medium-3-5":{input:1.5,output:7.5,reasoning:7.5},"mistralai/mistral-small-2603":{input:.15,output:.6,cached:.015,reasoning:.6},"mistralai/voxtral-small-24b-2507":{input:.1,output:.3,cached:.01,reasoning:.3},"moonshotai/kimi-k2.5":{input:.6,output:3,cached:.1,reasoning:3},"moonshotai/kimi-k2.6":{input:.95,output:4,cached:.16,reasoning:4},"moonshotai/kimi-k2.7-code":{input:.9286,output:3.8571,cached:.1857,reasoning:3.8571},"moonshotai/kimi-k3":{input:3,output:15,cached:.3,reasoning:15},"nvidia/nemotron-3-super-120b-a12b":{input:.3,output:.9,cached:.1,reasoning:.9},"openai/gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.6},"openai/gpt-5":{input:1.25,output:10,cached:.125,reasoning:10},"openai/gpt-5-image":{input:10,output:40,cached:2.5,reasoning:40},"openai/gpt-5-image-mini":{input:2.5,output:8,cached:.25,reasoning:8},"openai/gpt-5-mini":{input:.25,output:2,cached:.025,reasoning:2},"openai/gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14},"openai/gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14},"openai/gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15},"openai/gpt-5.4-image-2":{input:8,output:30,cached:2,reasoning:30},"openai/gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5},"openai/gpt-5.4-nano":{input:.2,output:1.25,cached:.02,reasoning:1.25},"openai/gpt-5.4-pro":{input:30,output:180,reasoning:180},"openai/gpt-5.5":{input:5,output:30,cached:.5,reasoning:30},"openai/gpt-5.5-pro":{input:30,output:180,reasoning:180},"openai/gpt-5.6-luna":{input:.2,output:1.2,cached:.02,cache_creation:.25,reasoning:1.2},"openai/gpt-5.6-sol":{input:5,output:30,cached:.5,cache_creation:6.25,reasoning:30},"openai/gpt-5.6-terra":{input:2,output:12,cached:.2,cache_creation:2.5,reasoning:12},"openai/gpt-audio":{input:2.5,output:10,reasoning:10},"openai/gpt-audio-mini":{input:.6,output:2.4,reasoning:2.4},"openai/gpt-oss-120b":{input:.039,output:.18,reasoning:.18},"qwen/qwen3-coder-next":{input:.12,output:.75,cached:.06,reasoning:.75},"qwen/qwen3.5-122b-a10b":{input:.26,output:2.08,reasoning:2.08},"qwen/qwen3.5-35b-a3b":{input:.1625,output:1.3,reasoning:1.3},"qwen/qwen3.5-397b-a17b":{input:.39,output:2.34,reasoning:2.34},"qwen/qwen3.5-9b":{input:.1,output:.15,reasoning:.15},"qwen/qwen3.5-flash":{input:.1048,output:.4194,reasoning:.4194},"qwen/qwen3.5-plus-02-15":{input:.26,output:1.56,reasoning:1.56},"qwen/qwen3.6-plus":{input:.54,output:3.21,reasoning:3.21},"qwen/qwen3.7-max":{input:1.25,output:3.75,cached:.25,reasoning:3.75},"qwen/qwen3.7-plus":{input:.4,output:1.6,cached:.08,reasoning:1.6},"qwen/qwen3.8-max":{input:2,output:6,cached:.25,cache_creation:2.5,reasoning:6},"qwen3.5-omni-plus":{input:1,output:5.7143,reasoning:5.7143},"qwen3.6-flash":{input:.171,output:1.029,cached:.017,cache_creation:.214,reasoning:1.029},"sakana/fugu-ultra":{input:5,output:30,cached:.5,reasoning:30},"seed-2-0-code-preview-260328":{input:1,output:6,cached:.2,cache_creation:.008333,reasoning:6},"seed-2-0-lite-260428":{input:.5,output:4,cached:.1,cache_creation:.008333,reasoning:4},"seed-2-0-mini-260428":{input:.2,output:.8,cached:.04,cache_creation:.00833,reasoning:.8},"seed-2-0-pro-260328":{input:1,output:6,cached:.2,cache_creation:.008333,reasoning:6},"stepfun/step-3.5-flash":{input:.1,output:.3,cached:.02,reasoning:.3},"stepfun/step-3.7-flash":{input:.2,output:1.15,cached:.04,reasoning:1.15},"tencent/hy3-preview":{input:.066,output:.26,cached:.029,reasoning:.26},"x-ai/grok-4.1-fast":{input:.2,output:.5,cached:.05,reasoning:.5},"x-ai/grok-4.20-beta":{input:2,output:6,cached:.2,reasoning:6},"x-ai/grok-4.3":{input:1.25,output:2.5,cached:.2,reasoning:2.5},"x-ai/grok-4.5":{input:2,output:6,cached:.5,reasoning:6},"x-ai/grok-build-0.1":{input:1,output:2,cached:.2,reasoning:2},"xiaomi/mimo-v2-flash":{input:.1,output:.3,cached:.01,reasoning:.3},"xiaomi/mimo-v2-omni":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi/mimo-v2-pro":{input:1,output:3,cached:.2,reasoning:3},"xiaomi/mimo-v2.5":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi/mimo-v2.5-pro":{input:1,output:3,cached:.2,reasoning:3},"z-ai/glm-4.5-air":{input:.13,output:.85,cached:.025,reasoning:.85},"z-ai/glm-4.6":{input:.6,output:2.2,cached:.11,reasoning:2.2},"z-ai/glm-4.6v":{input:.3,output:.9,reasoning:.9},"z-ai/glm-4.7":{input:.6,output:2.2,cached:.11,reasoning:2.2},"z-ai/glm-5":{input:1,output:3.2,cached:.2,reasoning:3.2},"z-ai/glm-5-turbo":{input:1.2,output:4,cached:.24,reasoning:4},"z-ai/glm-5.1":{input:1.05,output:3.5,cached:.525,reasoning:3.5},"z-ai/glm-5.2":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"z-ai/glm-5.3-free":{input:0,output:0,cached:0,reasoning:0}}},h=[{pattern:"*-codex-xhigh",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"*-codex-high",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-max",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-mini-*",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-mini",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-low",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-none",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-spark",pricing:{input:3,output:12,cached:.3,reasoning:12,cache_creation:3}},{pattern:"codex-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"claude-opus-*",pricing:{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25}},{pattern:"claude-sonnet-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"claude-haiku-*",pricing:{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25}},{pattern:"claude-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"gemini-*-flash-lite",pricing:{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15}},{pattern:"gemini-*-flash",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*-pro",pricing:{input:2,output:12,cached:.25,reasoning:18,cache_creation:2}},{pattern:"gemini-3-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gemini-2.5-*",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gpt-5.6-*",pricing:{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-5.3-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.2-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.1-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-4o-*",pricing:{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15}},{pattern:"gpt-4o",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-4*",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"o1-*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"o1",pricing:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15}},{pattern:"o3-*",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"o4-*",pricing:{input:2,output:8,cached:1,reasoning:12,cache_creation:2}},{pattern:"qwen3-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"kimi-*-thinking",pricing:{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8}},{pattern:"kimi-k3*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3}},{pattern:"kimi-k2*",pricing:{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2}},{pattern:"kimi-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"deepseek-v4-flash*",pricing:{input:.04,output:.1,cached:.01,reasoning:.1,cache_creation:.04}},{pattern:"deepseek-v4-pro*",pricing:{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:.435}},{pattern:"deepseek-*reasoner*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-r*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-v*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"glm-5.3-flash*",pricing:{input:.15,output:.5,cached:.075,reasoning:.5,cache_creation:.15}},{pattern:"glm-5*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"glm-4*",pricing:{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75}},{pattern:"glm-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"MiniMax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"minimax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-code-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"*muse-spark*contributor*",pricing:{input:.1,output:.2,cached:.002,reasoning:.3,cache_creation:.1}},{pattern:"*muse-spark*",pricing:{input:1.25,output:4.25,cached:.15,reasoning:6.375,cache_creation:1.25}},{pattern:"*muse-glimmer*",pricing:{input:.3,output:1.2,cached:.04,reasoning:1.8,cache_creation:.3}},{pattern:"*muse*",pricing:{input:1.25,output:4.25,cached:.15,reasoning:6.375,cache_creation:1.25}}];function i(a,b){return RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$","i").test(b)}function j(a,b){if(!b)return null;if(a&&g[a]?.[b])return g[a][b];if(function(a){if(!a)return!1;let b=String(a).toLowerCase();return d.some(a=>b.startsWith(a))}(b))return e;let c=b.includes("/")?b.split("/").pop():b;if(f[c])return f[c];if(f[b])return f[b];for(let{pattern:a,pricing:d}of h)if(i(a,c)||i(a,b))return d;return null}function k(){return g}function l(a){if(null==a||""===a)return null;let b=Number(a);return Number.isFinite(b)&&b>=0?b:null}function m(a,b){if(!a)return 0;let c=l(a.cost_usd??a.cost_in_usd);if(null!==c)return c;let d=l(a.cost_in_usd_ticks);if(null!==d)return d/1e10;if(!b)return 0;let e=0,f=a.prompt_tokens||a.input_tokens||0,g=a.cached_tokens||a.cache_read_input_tokens||0,h=a.cache_creation_input_tokens||0;e+=Math.max(0,f-g-h)*(b.input/1e6),g>0&&(e+=g*((b.cached||b.input)/1e6)),e+=(a.completion_tokens||a.output_tokens||0)*(b.output/1e6);let i=a.reasoning_tokens||0;i>0&&(e+=i*((b.reasoning||b.output)/1e6)),h>0&&(e+=h*((b.cache_creation||b.input)/1e6));let j=Number(a.pricing_multiplier);return e*(Number.isFinite(j)&&j>0?j:1)}}};
|
|
1
|
+
"use strict";exports.id=4646,exports.ids=[4646],exports.modules={84646:(a,b,c)=>{c.d(b,{PROVIDER_PRICING:()=>g,ad:()=>k,calculateCostFromTokens:()=>m,gH:()=>i,getPricingForModel:()=>j});let d=["cline-free/"],e={input:0,output:0,cached:0,reasoning:0,cache_creation:0},f={"claude-opus-4-6":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-opus-4-5-20251101":{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25},"claude-sonnet-4-6":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-sonnet-4-5-20250929":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75},"claude-haiku-4-5-20251001":{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25},"claude-sonnet-4-20250514":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-opus-4-20250514":{input:15,output:25,cached:7.5,reasoning:112.5,cache_creation:15},"claude-3-5-sonnet-20241022":{input:3,output:15,cached:1.5,reasoning:15,cache_creation:3},"claude-haiku-4.5":{input:.5,output:2.5,cached:.05,reasoning:3.75,cache_creation:.5},"claude-opus-4.1":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.5":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4.6":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-sonnet-4":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.5":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-sonnet-4.6":{input:3,output:15,cached:.3,reasoning:22.5,cache_creation:3},"claude-opus-4-5-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-4-6-thinking":{input:5,output:25,cached:.5,reasoning:37.5,cache_creation:5},"claude-opus-5-5-thinking":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-opus-5-5":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-opus-5-5-high":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-opus-5-5-medium":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-opus-5-5-low":{input:4,output:20,cached:.2,reasoning:20,cache_creation:5},"claude-fable-5":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5},"claude-sonnet-5-5":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-thinking":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-high":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-medium":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5-5-low":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"gpt-3.5-turbo":{input:.5,output:1.5,cached:.25,reasoning:2.25,cache_creation:.5},"gpt-4":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4-turbo":{input:10,output:30,cached:5,reasoning:45,cache_creation:10},"gpt-4o":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15},"gpt-4.1":{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5},"gpt-5":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5-mini":{input:.25,output:2,cached:.125,reasoning:2,cache_creation:.25},"gpt-5-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex":{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25},"gpt-5.1-codex-mini":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"gpt-5.1-codex-mini-high":{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"gpt-5.1-codex-max":{input:8,output:32,cached:4,reasoning:48,cache_creation:8},"gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.2-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75},"gpt-5.3-codex-spark":{input:3,output:12,cached:.3,reasoning:12,cache_creation:3},"gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5,long_context:{threshold:272e3,input:5,output:22.5,cached:.5,reasoning:22.5,cache_creation:5}},"gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5,cache_creation:.75},"gpt-5.4-nano":{input:.2,output:1.25,cached:.02,reasoning:1.25,cache_creation:.2},"gpt-5.5":{input:5,output:30,cached:.5,reasoning:30,cache_creation:5,long_context:{threshold:272e3,input:10,output:45,cached:1,reasoning:45,cache_creation:10}},"gpt-5.6":{input:4,output:20,cached:.4,reasoning:20,cache_creation:5,long_context:{threshold:272e3,input:8,output:30,cached:.8,reasoning:30,cache_creation:10}},"gpt-5.6-luna":{input:.2,output:1.2,cached:.02,reasoning:1.2,cache_creation:.25,long_context:{threshold:272e3,input:.4,output:1.8,cached:.04,reasoning:1.8,cache_creation:.5}},"gpt-5.6-terra":{input:2,output:12,cached:.2,reasoning:12,cache_creation:2.5,long_context:{threshold:272e3,input:4,output:18,cached:.4,reasoning:18,cache_creation:5}},"gpt-5.6-sol":{input:4,output:20,cached:.4,reasoning:20,cache_creation:5,long_context:{threshold:272e3,input:8,output:30,cached:.8,reasoning:30,cache_creation:10}},"gpt-6-astra":{input:10,output:50,cached:1,reasoning:50,cache_creation:12.5,long_context:{threshold:272e3,input:20,output:75,cached:2,reasoning:75,cache_creation:25}},"gpt-6.1-sol":{input:2,output:10,cached:.1,reasoning:10,cache_creation:2.5},"gpt-6-sol":{input:2,output:10,cached:.2,reasoning:10,cache_creation:2.5},"gpt-6-luna":{input:.1,output:.5,cached:.01,reasoning:.5,cache_creation:.125},o1:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15},"o1-mini":{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3},"agnes-3.0-pro":{input:.45,output:.9,cached:.045},"gemini-4-argon":{input:2,output:10},"gemini-3.8-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.8-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.7-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-high":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-medium":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.6-flash-low":{input:1.5,output:7.5,cached:.15,reasoning:11.25,cache_creation:1.875},"gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.375},"gemini-3.5-flash-high":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash-preview":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-pro-preview":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-low":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-3.1-pro-high":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-pro-agent":{input:4,output:18,cached:.5,reasoning:27,cache_creation:4},"gemini-3-flash-agent":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3.5-flash-extra-low":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-3-flash":{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5},"gemini-2.5-pro":{input:2,output:12,cached:.25,reasoning:18,cache_creation:2},"gemini-2.5-flash":{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3},"gemini-2.5-flash-lite":{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15},"qwen3-coder-plus":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"qwen3-coder-flash":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"qwen3-coder-plus":{input:.65,output:3.25,cached:.5,reasoning:3.25,cache_creation:1},"qwen3-coder-flash":{input:.195,output:.975,cached:.25,reasoning:.975,cache_creation:.5},"qwen3-coder-next":{input:.12,output:.8,cached:.06,reasoning:.8,cache_creation:.5},"qwen3.8-max":{input:2,output:6,cached:.25,cache_creation:2.5,reasoning:6},"qwen3.8-27b":{input:.4,output:3,cached:.05,reasoning:3},"qwen3.8-2.4t-a95b":{input:2,output:6,cached:.25,reasoning:6},"qwen3.7-max":{input:1.475,output:4.425,cached:.25,reasoning:4.425},"qwen3.7-plus":{input:.32,output:1.28,cached:.08,reasoning:1.28},"qwen3.6-plus":{input:.325,output:1.95,reasoning:1.95},"qwen3.6-flash":{input:.1875,output:1.125,cached:.01875,cache_creation:.2344,reasoning:1.125},"qwen3.6-35b-a3b":{input:.098,output:.95,reasoning:.95},"qwen3.6-27b":{input:.289,output:2.4,reasoning:2.4},"qwen3.6-max-preview":{input:1.027,output:6.162,reasoning:6.162},"qwen3.5-plus":{input:.3,output:1.8,reasoning:1.8},"qwen3.5-flash":{input:.065,output:.26,reasoning:.26},"qwen3.5-27b":{input:.195,output:1.56,reasoning:1.56},"qwen3.5-35b-a3b":{input:.14,output:1,reasoning:1},"qwen3.5-122b-a10b":{input:.26,output:2.08,reasoning:2.08},"qwen3.5-397b-a17b":{input:.3025,output:1.925,reasoning:1.925},"kimi-k3":{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},k3:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3},"kimi-k2.7-code":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-k2.7-code-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-for-coding":{input:.95,output:4,cached:.19,reasoning:4,cache_creation:.95},"kimi-for-coding-highspeed":{input:1.9,output:8,cached:.38,reasoning:8,cache_creation:1.9},"kimi-k2":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-k2-thinking":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"kimi-k2.5":{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2},"kimi-k2.5-thinking":{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8},"kimi-k2.6":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"kimi-latest":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"deepseek-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-r1":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-chat":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v3.2-reasoner":{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14},"deepseek-v4-flash-latest":{input:.04,output:.1,cached:.01,reasoning:.1,cache_creation:.04},"deepseek-v4-flash":{input:.05,output:.16,cached:.013,reasoning:.16,cache_creation:.05},"deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:.435},"glm-4.6":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"glm-4.6v":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-4.7":{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75},"glm-5":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"glm-5.1":{input:.95,output:3.15,cached:.179,reasoning:3.15,cache_creation:.95},"glm-5.3-flash":{input:.15,output:.5,cached:.03,reasoning:.5,cache_creation:.15},"glm-5.3":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.8,cache_creation:.3},"MiniMax-M2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.5":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"MiniMax-M2.7":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"minimax-m2.5":{input:.6,output:2.4,cached:.3,reasoning:3.6,cache_creation:.6},"grok-code-fast-1":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"grok-4.5":{input:2,output:6,cached:.3,reasoning:6,cache_creation:2,long_context:{threshold:2e5,inclusive:!0,input:4,output:12,cached:.6,reasoning:12,cache_creation:4}},"grok-4.6":{input:2,output:6,cached:.5,reasoning:6,cache_creation:2,long_context:{threshold:2e5,inclusive:!0,input:4,output:12,cached:1,reasoning:12,cache_creation:4}},"muse-spark-1.3":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.2":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.1":{input:1.25,output:4.25,cached:.15,reasoning:4.25,cache_creation:0},"muse-spark-1.3-contributor":{input:.1,output:.2,cached:.002,reasoning:.2,cache_creation:0},"muse-spark-1.2-contributor":{input:.1,output:.2,cached:.002,reasoning:.2,cache_creation:0},auto:{input:2,output:8,cached:1,reasoning:12,cache_creation:2},"oswe-vscode-prime":{input:1,output:4,cached:.5,reasoning:6,cache_creation:1},"gpt-oss-120b-medium":{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5},"vision-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5},"coder-model":{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},g={gh:{"gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},meta:{"muse-spark-1.2":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"muse-spark-1.1":{input:1.25,output:4.25,cached:.15,reasoning:4.25},"muse-spark-1.2-contributor":{input:.1,output:.2,cached:.002,reasoning:.2}},tokenrouter:{"MiniMax-M3":{input:.3,output:1.2,cached:.06,reasoning:1.2},"anthropic/claude-fable-5":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-haiku-4.5":{input:1,output:5,cached:.1,cache_creation:1.25,reasoning:5},"anthropic/claude-opus-4.5":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.6":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.7":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.7-fast":{input:30,output:150,cached:3,reasoning:150},"anthropic/claude-opus-4.8":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-4.8-fast":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-opus-5":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"anthropic/claude-opus-5-fast":{input:10,output:50,cached:1,cache_creation:12.5,reasoning:50},"anthropic/claude-sonnet-4":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-4.5":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-4.6":{input:3,output:15,cached:.3,cache_creation:3.75,reasoning:15},"anthropic/claude-sonnet-5":{input:2,output:10,cached:.2,reasoning:10},"claude-opus-4-8-m-aws":{input:5,output:25,cached:.5,cache_creation:6.25,reasoning:25},"deepseek/deepseek-v3.2":{input:.26,output:.38,cached:.13,reasoning:.38},"deepseek/deepseek-v4-flash":{input:.14,output:.28,cached:.0028,reasoning:.28},"deepseek/deepseek-v4-flash-0731":{input:.14,output:.28,cached:.0028,reasoning:.28},"deepseek/deepseek-v4-pro":{input:.435,output:.87,cached:.003625,reasoning:.87},"ex/gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15},"google/gemini-2.5-flash-image":{input:.3,output:2.5,reasoning:2.5},"google/gemini-3-flash-preview":{input:.5,output:3,cached:.05,cache_creation:.08333,reasoning:3},"google/gemini-3-pro-image-preview":{input:2,output:12,reasoning:12},"google/gemini-3.1-flash-image-preview":{input:.5,output:3,reasoning:3},"google/gemini-3.1-flash-lite-image":{input:.25,output:1.5,reasoning:1.5},"google/gemini-3.1-pro-preview":{input:2,output:12,cached:.2,cache_creation:.375,reasoning:12},"google/gemini-3.5-flash":{input:1.5,output:9,cached:.15,cache_creation:.08333,reasoning:9},"google/gemini-3.5-flash-lite":{input:.3,output:2.5,cached:.03,cache_creation:.08333,reasoning:2.5},"google/gemini-3.6-flash":{input:1.5,output:7.5,cached:.15,cache_creation:.08333,reasoning:7.5},"google/gemini-embedding-2":{input:1,output:6,cached:.1,reasoning:6},"google/gemma-4-26b-a4b-it":{input:.06,output:.33,reasoning:.33},"kling-3.0-turbo":{input:2.1,output:2.1,reasoning:2.1},"microsoft/mai-image-2.5":{input:5,output:47,reasoning:47},"minimax/minimax-m2-her":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.1":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.1-highspeed":{input:.6,output:2.4,cached:.06,reasoning:2.4},"minimax/minimax-m2.5":{input:.3,output:1.2,cached:.03,reasoning:1.2},"minimax/minimax-m2.7":{input:.3,output:1.2,cached:.06,reasoning:1.2},"minimax/minimax-m2.7-highspeed":{input:.6,output:2.4,cached:.06,reasoning:2.4},"miromind/mirothinker-1-7-deepresearch":{input:4,output:25,reasoning:25},"miromind/mirothinker-1-7-deepresearch-mini":{input:1.25,output:10,reasoning:10},"mistralai/devstral-2512":{input:.4,output:2,cached:.04,reasoning:2},"mistralai/mistral-medium-3-5":{input:1.5,output:7.5,reasoning:7.5},"mistralai/mistral-small-2603":{input:.15,output:.6,cached:.015,reasoning:.6},"mistralai/voxtral-small-24b-2507":{input:.1,output:.3,cached:.01,reasoning:.3},"moonshotai/kimi-k2.5":{input:.6,output:3,cached:.1,reasoning:3},"moonshotai/kimi-k2.6":{input:.95,output:4,cached:.16,reasoning:4},"moonshotai/kimi-k2.7-code":{input:.9286,output:3.8571,cached:.1857,reasoning:3.8571},"moonshotai/kimi-k3":{input:3,output:15,cached:.3,reasoning:15},"nvidia/nemotron-3-super-120b-a12b":{input:.3,output:.9,cached:.1,reasoning:.9},"openai/gpt-4o-mini":{input:.15,output:.6,cached:.075,reasoning:.6},"openai/gpt-5":{input:1.25,output:10,cached:.125,reasoning:10},"openai/gpt-5-image":{input:10,output:40,cached:2.5,reasoning:40},"openai/gpt-5-image-mini":{input:2.5,output:8,cached:.25,reasoning:8},"openai/gpt-5-mini":{input:.25,output:2,cached:.025,reasoning:2},"openai/gpt-5.2":{input:1.75,output:14,cached:.175,reasoning:14},"openai/gpt-5.3-codex":{input:1.75,output:14,cached:.175,reasoning:14},"openai/gpt-5.4":{input:2.5,output:15,cached:.25,reasoning:15},"openai/gpt-5.4-image-2":{input:8,output:30,cached:2,reasoning:30},"openai/gpt-5.4-mini":{input:.75,output:4.5,cached:.075,reasoning:4.5},"openai/gpt-5.4-nano":{input:.2,output:1.25,cached:.02,reasoning:1.25},"openai/gpt-5.4-pro":{input:30,output:180,reasoning:180},"openai/gpt-5.5":{input:5,output:30,cached:.5,reasoning:30},"openai/gpt-5.5-pro":{input:30,output:180,reasoning:180},"openai/gpt-5.6-luna":{input:.2,output:1.2,cached:.02,cache_creation:.25,reasoning:1.2},"openai/gpt-5.6-sol":{input:5,output:30,cached:.5,cache_creation:6.25,reasoning:30},"openai/gpt-5.6-terra":{input:2,output:12,cached:.2,cache_creation:2.5,reasoning:12},"openai/gpt-audio":{input:2.5,output:10,reasoning:10},"openai/gpt-audio-mini":{input:.6,output:2.4,reasoning:2.4},"openai/gpt-oss-120b":{input:.039,output:.18,reasoning:.18},"qwen/qwen3-coder-next":{input:.12,output:.75,cached:.06,reasoning:.75},"qwen/qwen3.5-122b-a10b":{input:.26,output:2.08,reasoning:2.08},"qwen/qwen3.5-35b-a3b":{input:.1625,output:1.3,reasoning:1.3},"qwen/qwen3.5-397b-a17b":{input:.39,output:2.34,reasoning:2.34},"qwen/qwen3.5-9b":{input:.1,output:.15,reasoning:.15},"qwen/qwen3.5-flash":{input:.1048,output:.4194,reasoning:.4194},"qwen/qwen3.5-plus-02-15":{input:.26,output:1.56,reasoning:1.56},"qwen/qwen3.6-plus":{input:.54,output:3.21,reasoning:3.21},"qwen/qwen3.7-max":{input:1.25,output:3.75,cached:.25,reasoning:3.75},"qwen/qwen3.7-plus":{input:.4,output:1.6,cached:.08,reasoning:1.6},"qwen/qwen3.8-max":{input:2,output:6,cached:.25,cache_creation:2.5,reasoning:6},"qwen3.5-omni-plus":{input:1,output:5.7143,reasoning:5.7143},"qwen3.6-flash":{input:.171,output:1.029,cached:.017,cache_creation:.214,reasoning:1.029},"sakana/fugu-ultra":{input:5,output:30,cached:.5,reasoning:30},"seed-2-0-code-preview-260328":{input:1,output:6,cached:.2,cache_creation:.008333,reasoning:6},"seed-2-0-lite-260428":{input:.5,output:4,cached:.1,cache_creation:.008333,reasoning:4},"seed-2-0-mini-260428":{input:.2,output:.8,cached:.04,cache_creation:.00833,reasoning:.8},"seed-2-0-pro-260328":{input:1,output:6,cached:.2,cache_creation:.008333,reasoning:6},"stepfun/step-3.5-flash":{input:.1,output:.3,cached:.02,reasoning:.3},"stepfun/step-3.7-flash":{input:.2,output:1.15,cached:.04,reasoning:1.15},"tencent/hy3-preview":{input:.066,output:.26,cached:.029,reasoning:.26},"x-ai/grok-4.1-fast":{input:.2,output:.5,cached:.05,reasoning:.5},"x-ai/grok-4.20-beta":{input:2,output:6,cached:.2,reasoning:6},"x-ai/grok-4.3":{input:1.25,output:2.5,cached:.2,reasoning:2.5},"x-ai/grok-4.5":{input:2,output:6,cached:.5,reasoning:6},"x-ai/grok-build-0.1":{input:1,output:2,cached:.2,reasoning:2},"xiaomi/mimo-v2-flash":{input:.1,output:.3,cached:.01,reasoning:.3},"xiaomi/mimo-v2-omni":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi/mimo-v2-pro":{input:1,output:3,cached:.2,reasoning:3},"xiaomi/mimo-v2.5":{input:.4,output:2,cached:.08,reasoning:2},"xiaomi/mimo-v2.5-pro":{input:1,output:3,cached:.2,reasoning:3},"z-ai/glm-4.5-air":{input:.13,output:.85,cached:.025,reasoning:.85},"z-ai/glm-4.6":{input:.6,output:2.2,cached:.11,reasoning:2.2},"z-ai/glm-4.6v":{input:.3,output:.9,reasoning:.9},"z-ai/glm-4.7":{input:.6,output:2.2,cached:.11,reasoning:2.2},"z-ai/glm-5":{input:1,output:3.2,cached:.2,reasoning:3.2},"z-ai/glm-5-turbo":{input:1.2,output:4,cached:.24,reasoning:4},"z-ai/glm-5.1":{input:1.05,output:3.5,cached:.525,reasoning:3.5},"z-ai/glm-5.2":{input:1.4,output:4.4,cached:.26,reasoning:4.4},"z-ai/glm-5.3-free":{input:0,output:0,cached:0,reasoning:0}}},h=[{pattern:"*-codex-xhigh",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"*-codex-high",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-max",pricing:{input:8,output:32,cached:4,reasoning:48,cache_creation:8}},{pattern:"*-codex-mini-*",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-mini",pricing:{input:1.5,output:6,cached:.75,reasoning:9,cache_creation:1.5}},{pattern:"*-codex-low",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-none",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex-spark",pricing:{input:3,output:12,cached:.3,reasoning:12,cache_creation:3}},{pattern:"codex-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"*-codex",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"claude-opus-*",pricing:{input:5,output:25,cached:.5,reasoning:25,cache_creation:6.25}},{pattern:"claude-sonnet-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"claude-haiku-*",pricing:{input:1,output:5,cached:.1,reasoning:5,cache_creation:1.25}},{pattern:"claude-*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3.75}},{pattern:"gemini-*-flash-lite",pricing:{input:.15,output:1.25,cached:.015,reasoning:1.875,cache_creation:.15}},{pattern:"gemini-*-flash",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*-pro",pricing:{input:2,output:12,cached:.25,reasoning:18,cache_creation:2}},{pattern:"gemini-3-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gemini-2.5-*",pricing:{input:.3,output:2.5,cached:.03,reasoning:3.75,cache_creation:.3}},{pattern:"gemini-*",pricing:{input:.5,output:3,cached:.03,reasoning:4.5,cache_creation:.5}},{pattern:"gpt-5.6-*",pricing:{input:2.5,output:15,cached:.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-5.3-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.2-*",pricing:{input:1.75,output:14,cached:.175,reasoning:14,cache_creation:1.75}},{pattern:"gpt-5.1-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5-*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-5*",pricing:{input:1.25,output:10,cached:.625,reasoning:10,cache_creation:1.25}},{pattern:"gpt-4o-*",pricing:{input:.15,output:.6,cached:.075,reasoning:.9,cache_creation:.15}},{pattern:"gpt-4o",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"gpt-4*",pricing:{input:2.5,output:10,cached:1.25,reasoning:15,cache_creation:2.5}},{pattern:"o1-*",pricing:{input:3,output:12,cached:1.5,reasoning:18,cache_creation:3}},{pattern:"o1",pricing:{input:15,output:60,cached:7.5,reasoning:90,cache_creation:15}},{pattern:"o3-*",pricing:{input:10,output:40,cached:5,reasoning:60,cache_creation:10}},{pattern:"o4-*",pricing:{input:2,output:8,cached:1,reasoning:12,cache_creation:2}},{pattern:"qwen3-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*-coder-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"qwen*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"kimi-*-thinking",pricing:{input:1.8,output:7.2,cached:.9,reasoning:10.8,cache_creation:1.8}},{pattern:"kimi-k3*",pricing:{input:3,output:15,cached:.3,reasoning:15,cache_creation:3}},{pattern:"kimi-k2*",pricing:{input:1.2,output:4.8,cached:.6,reasoning:7.2,cache_creation:1.2}},{pattern:"kimi-*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"deepseek-v4-flash*",pricing:{input:.04,output:.1,cached:.01,reasoning:.1,cache_creation:.04}},{pattern:"deepseek-v4-pro*",pricing:{input:.435,output:.87,cached:.003625,reasoning:.87,cache_creation:.435}},{pattern:"deepseek-*reasoner*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-r*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-v*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"deepseek-*",pricing:{input:.14,output:.28,cached:.0028,reasoning:.28,cache_creation:.14}},{pattern:"glm-5.3-flash*",pricing:{input:.15,output:.5,cached:.075,reasoning:.5,cache_creation:.15}},{pattern:"glm-5*",pricing:{input:1,output:4,cached:.5,reasoning:6,cache_creation:1}},{pattern:"glm-4*",pricing:{input:.75,output:3,cached:.375,reasoning:4.5,cache_creation:.75}},{pattern:"glm-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"MiniMax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"minimax-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-code-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"grok-*",pricing:{input:.5,output:2,cached:.25,reasoning:3,cache_creation:.5}},{pattern:"*muse-spark*contributor*",pricing:{input:.1,output:.2,cached:.002,reasoning:.3,cache_creation:.1}},{pattern:"*muse-spark*",pricing:{input:1.25,output:4.25,cached:.15,reasoning:6.375,cache_creation:1.25}},{pattern:"*muse-glimmer*",pricing:{input:.3,output:1.2,cached:.04,reasoning:1.8,cache_creation:.3}},{pattern:"*muse*",pricing:{input:1.25,output:4.25,cached:.15,reasoning:6.375,cache_creation:1.25}}];function i(a,b){let c=i._cache||(i._cache=new Map),d=c.get(a);return void 0===d&&(d=RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$","i"),c.set(a,d)),d.test(b)}function j(a,b){if(!b)return null;if(a&&g[a]?.[b])return g[a][b];if(function(a){if(!a)return!1;let b=String(a).toLowerCase();return d.some(a=>b.startsWith(a))}(b))return e;let c=b.includes("/")?b.split("/").pop():b;if(f[c])return f[c];if(f[b])return f[b];for(let{pattern:a,pricing:d}of h)if(i(a,c)||i(a,b))return d;return null}function k(){return g}function l(a){if(null==a||""===a)return null;let b=Number(a);return Number.isFinite(b)&&b>=0?b:null}function m(a,b){if(!a)return 0;let c=l(a.cost_usd??a.cost_in_usd);if(null!==c)return c;let d=l(a.cost_in_usd_ticks);if(null!==d)return d/1e10;if(!b)return 0;let e=0,f=a.prompt_tokens||a.input_tokens||0,g=a.cached_tokens||a.cache_read_input_tokens||0,h=a.cache_creation_input_tokens||0;e+=Math.max(0,f-g-h)*(b.input/1e6),g>0&&(e+=g*((b.cached||b.input)/1e6)),e+=(a.completion_tokens||a.output_tokens||0)*(b.output/1e6);let i=a.reasoning_tokens||0;i>0&&(e+=i*((b.reasoning||b.output)/1e6)),h>0&&(e+=h*((b.cache_creation||b.input)/1e6));let j=Number(a.pricing_multiplier);return e*(Number.isFinite(j)&&j>0?j:1)}}};
|
|
@@ -1,54 +1,4 @@
|
|
|
1
|
-
"use strict";exports.id=4704,exports.ids=[4704],exports.modules={970:(a,b,c)=>{c.d(b,{EV:()=>g,X5:()=>d.X5,_M:()=>f});var d=c(53023),e=c(45914);async function f(a,b=null,c=null,g=null){let h=a?.apiKey||a?.accessToken;if(!(0,d.zh)(h))return{...a,accessToken:h,apiKey:h};let i=g||(0,e.ty)(a?.provider);try{let e=await (0,d.JQ)(h,{profile:i,proxyOptions:b,signal:c});return{...a,accessToken:e.accessToken,providerSpecificData:{...a?.providerSpecificData||{},userId:e.userId||a?.providerSpecificData?.userId||""}}}catch(b){return{...a,accessToken:h,apiKey:h}}}async function g(a,b={}){let c=b.region||(0,e.ty)(a?.provider),h=await f(a,b.proxyOptions,b.signal,c),i=b.profile||c;return(0,d.EV)(h,{...b,profile:i})}},19016:(a,b,c)=>{c.d(b,{$U:()=>d,pb:()=>e,uB:()=>f});let d="data: [DONE]\n\n",e={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"},f={"Content-Type":"text/event-stream","Cache-Control":"no-cache","X-Accel-Buffering":"no"}},19040:(a,b,c)=>{c.d(b,{k:()=>q,t:()=>r});var d=c(19303),e=c(71253),f=c(43835),g=c(15251),h=c(78492);let i=["none","low","medium","high"],j=["none","thinking"],k=["none","low","medium","high","max"],l=["none","low","medium","high","xhigh","max"],m={qoder:l,openai:["none","minimal","low","medium","high","xhigh"],"claude-adaptive":l,"claude-budget":l,"gemini-level":["minimal","low","medium","high"],"gemini-budget":i,zai:j,qwen:i,kimi:k,opencode:k,deepseek:["none","high","max"],minimax:j,hunyuan:i,step:i,nous:i,meta:["minimal","low","medium","high","xhigh"],ollama:k},n=["none","minimal","low","medium","high","xhigh","max"],o=["none","low","medium","high","max"],p=[{pattern:"*claude*4.6*",levels:o},{pattern:"*claude*4-6*",levels:o},{provider:"codex",pattern:"*gpt-6*",levels:n},{provider:"codex",pattern:"*gpt-5.6-sol*",levels:[...n,"ultra"]},{provider:"codex",pattern:"*gpt-5.6-terra*",levels:[...n,"ultra"]},{provider:"codex",pattern:"*gpt-5.6-luna*",levels:n},{providers:["openai","codex"],pattern:"*gpt-5.6*",levels:["none","minimal","low","medium","high","xhigh","max","ultra"]},{pattern:"*codex*",levels:["low","medium","high","xhigh"]},{pattern:"*mimo*v2.6*",levels:["none","low","medium","high","xhigh"]},{pattern:"*mimo*v2.5-pro*",levels:["none","low","medium","high","xhigh"]},{provider:"ollama",pattern:"*gpt-oss*",levels:["none","low","medium","high"]},{provider:"ollama-local",pattern:"*gpt-oss*",levels:["none","low","medium","high"]},{provider:"qoder",pattern:"*",levels:l},{pattern:"*deepseek-v4.*",levels:["none","low","medium","high","xhigh","max"]},{provider:"codebuddy-cn",pattern:"glm-5.3*",levels:["low","high","max"]},{provider:"codebuddy-cn",pattern:"glm-5.2",levels:["high","xhigh"]},{provider:"codebuddy-cn",pattern:"deepseek-v4*",levels:["low","high","xhigh"]},{provider:"codebuddy-cn",pattern:"hy3*",levels:["low","high"]},{provider:"codebuddy-cn",pattern:"hy4*",levels:["high"]},{provider:"codebuddy-intl",pattern:"deepseek-v4*",levels:["low","high","xhigh"]}];function q(a,b){if("kiro"===a&&null===(0,f.pA)(b))return null;let c=(0,d.getCapabilitiesForModel)(a,b);if(!c.reasoning)return null;let j=String(b||"").replace(/\([^()]+\)\s*$/,""),k="codex"===a?(0,h.SM)("cx").find(a=>a.id===j)?.thinkingLevels:null,l=p.find(c=>(!c.providers||!a||c.providers.includes(a))&&(!c.provider||c.provider===a)&&(0,e.gH)(c.pattern,b)),n=(a?g.xq[a]?.thinkingFormat:null)||c.thinkingFormat,o=k||c.thinkingLevels||l?.levels||m[n]||i;return!1===c.thinkingCanDisable&&(o=o.filter(a=>"none"!==a)),o}function r(a,b,c){return q(a,b)?.includes(c)===!0}},26317:(a,b,c)=>{c.d(b,{Dl:()=>d,Vp:()=>h,nE:()=>e,vz:()=>g,wd:()=>f});let d={none:0,minimal:512,low:1024,medium:8192,high:24576,xhigh:32768,max:128e3};function e(a){if(a)return d[String(a).toLowerCase()]}function f(a){let b=String(a).toLowerCase().trim();return"none"===b||"off"===b?"minimal":"xhigh"===b||"max"===b?"high":b}function g(a){let b=Number(a);return!b||b<=0?null:b<=768?"minimal":b<=4096?"low":b<=16384?"medium":b<=28672?"high":b<=80384?"xhigh":"max"}function h(a){return!a||a<=0?null:a<=2048?"low":a<=16384?"medium":"high"}},39541:(a,b,c)=>{c.d(b,{NU:()=>k,kD:()=>i,sS:()=>j,z:()=>t});var d=c(19303),e=c(19040),f=c(15251),g=c(26317);let h={openai:"openai","openai-responses":"openai","openai-response":"openai",codex:"openai",claude:"claude-budget",gemini:"gemini-budget","gemini-cli":"gemini-budget",vertex:"gemini-budget",antigravity:"gemini-budget",kiro:"kiro",ollama:"ollama"};function i(a){if("string"!=typeof a)return a;let b=a.match(/^(.*)\([^()]+\)\s*$/);return b?b[1].trim():a}function j(a){if(!a||"object"!=typeof a)return null;let b=a.reasoning_effort??("object"==typeof a.reasoning?a.reasoning?.effort:null);if("string"==typeof b&&b){let a=b.toLowerCase();return"none"===a||"off"===a?{mode:"none"}:"auto"===a?{mode:"auto"}:{mode:"level",level:a}}let c=a.output_config?.effort;if("string"==typeof c&&c){let a=c.toLowerCase();return"none"===a||"off"===a?{mode:"none"}:"auto"===a?{mode:"auto"}:{mode:"level",level:a}}let d=a.thinking;if(d&&"object"==typeof d){if("disabled"===d.type)return{mode:"none"};if("adaptive"===d.type||"enabled"===d.type){let a=Number(d.budget_tokens);return Number.isFinite(a)&&a>0?{mode:"budget",budget:a}:{mode:"auto"}}}if(void 0!==a.think){let b=a.think;if(!1===b)return{mode:"none"};if(!0===b)return{mode:"auto"};if("string"==typeof b){let a=b.toLowerCase().trim();if("none"===a||"off"===a||"false"===a)return{mode:"none"};if("auto"===a||"true"===a)return{mode:"auto"};if("minimal"===a||"low"===a||"medium"===a||"high"===a||"max"===a||"xhigh"===a)return{mode:"level",level:"xhigh"===a?"max":a};if(a)return{mode:"level",level:a}}return b?{mode:"auto"}:{mode:"none"}}let e=a.additionalModelRequestFields;if(e&&"object"==typeof e){let a=e.output_config?.effort||e.thinking?.effort;if("string"==typeof a&&a)return{mode:"level",level:a.toLowerCase()};let b=e.reasoning?.effort;if("string"==typeof b&&b)return{mode:"level",level:b.toLowerCase()}}let f=a.thinkingConfig||a.generationConfig?.thinkingConfig||a.request?.generationConfig?.thinkingConfig;if(f&&"object"==typeof f){if("string"==typeof f.thinkingLevel)return{mode:"level",level:f.thinkingLevel.toLowerCase()};let a=Number(f.thinkingBudget);if(Number.isFinite(a))return 0===a?{mode:"none"}:a<0?{mode:"auto"}:{mode:"budget",budget:a}}if(!1===a.enable_thinking)return{mode:"none"};if(!0===a.enable_thinking){let b=Number(a.thinking_budget);return Number.isFinite(b)&&b>0?{mode:"budget",budget:b}:{mode:"auto"}}return null}function k(a){let b=j(a);if(!b||"none"===b.mode)return b;let c=function(a){if(a.reasoning&&"object"==typeof a.reasoning){let b=a.reasoning.summary;return"string"==typeof b&&b&&"none"!==b?"summarized":void 0}if("string"==typeof a.reasoning_effort)return"summarized"}(a);return c?{...b,display:c}:b}let l=new Set(["gemini-level","gemini-budget","claude-budget","claude-adaptive","kiro"]);function m(a,b){let c;if("budget"===a.mode)c=a.budget;else if("level"===a.mode)c=(0,g.nE)(a.level);else if("auto"===a.mode)return -1;if(Number.isFinite(c))return b&&(null!=b.min&&c<b.min&&(c=b.min),null!=b.max&&c>b.max&&(c=b.max)),c}function n(a){return"level"===a.mode?a.level:"budget"===a.mode?(0,g.vz)(a.budget)||"medium":"auto"===a.mode?"auto":null}let o={minimal:4096,low:8192,medium:16384,high:65535};function p(a){return a.request&&"object"==typeof a.request?(a.request.generationConfig&&"object"==typeof a.request.generationConfig||(a.request.generationConfig={}),a.request.generationConfig):(a.generationConfig&&"object"==typeof a.generationConfig||(a.generationConfig={}),a.generationConfig)}function q(a,b){p(a).thinkingConfig=b}function r(a,b,c){let d=Number.isFinite(c?.maxOutput)?c.maxOutput:b,e=Math.min(b,d),f=p(a),g=Number(f.maxOutputTokens);(!Number.isFinite(g)||g<e)&&(f.maxOutputTokens=e)}function s(a){delete a.thinking,delete a.reasoning_effort,delete a.reasoning,delete a.thinkingConfig,delete a.enable_thinking,delete a.thinking_budget,delete a.output_config,delete a.think,a.generationConfig&&delete a.generationConfig.thinkingConfig,a.request?.generationConfig&&delete a.request.generationConfig.thinkingConfig}function t(a,b,c,i=null,k){if(!c||"object"!=typeof c)return c;let{cleanModel:p,override:u}=function(a){if("string"!=typeof a)return{cleanModel:a,override:null};let b=a.match(/^(.*)\(([^()]+)\)\s*$/);if(!b)return{cleanModel:a,override:null};let c=b[1].trim(),d=b[2].trim().toLowerCase();return"none"===d||"off"===d?{cleanModel:c,override:{mode:"none"}}:"auto"===d?{cleanModel:c,override:{mode:"auto"}}:/^\d+$/.test(d)?{cleanModel:c,override:{mode:"budget",budget:Number(d)}}:"ultra"===d?{cleanModel:c,override:{mode:"level",level:"ultra"}}:void 0!==g.Dl[d]?{cleanModel:c,override:{mode:"level",level:d}}:{cleanModel:c,override:null}}(b),v=u||k||j(c),w=(0,d.getCapabilitiesForModel)(i,p);if(!w.reasoning)return s(c),c;if(!v)return c;let x=function(a,b,c){if("string"==typeof c&&c.startsWith("openai-compatible-"))return"openai";let e=c?f.xq[c]?.thinkingFormat:null;if(e)return e;let g=(0,d.getCapabilitiesForModel)(c,b);return g.thinkingFormat&&!(("openai"===a||"openai-responses"===a)&&l.has(g.thinkingFormat))?g.thinkingFormat:h[a]||"openai"}(a,p,i),y="string"==typeof c.thinking?.display?c.thinking.display:k?.display;return s(c),!function(a,b,c,d,f,h,i){var j;let k="none"===c.mode,l=!1!==d.thinkingCanDisable,p=k&&!l?{mode:"level",level:"minimal"}:c;switch(a){case"openai":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);a&&(b.reasoning_effort="max"!==a||(0,e.t)(f,h,"max")?a:"xhigh");break}case"qoder":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);a&&(b.reasoning_effort=a);break}case"claude-adaptive":{if(k&&l){b.thinking={type:"disabled"};break}l?b.thinking={type:"adaptive",...i?{display:i}:{}}:delete b.thinking;let a=n(p);b.output_config={effort:"auto"!==a&&a?"minimal"===a?"low":"xhigh"!==a||(0,e.t)(f,h,"xhigh")?a:"high":"high"};break}case"claude-budget":{if(k&&l){b.thinking={type:"disabled"};break}let a=m(p,d.thinkingRange);b.thinking=-1===a?{type:"enabled",...i?{display:i}:{}}:{type:"enabled",budget_tokens:a||8192,...i?{display:i}:{}};break}case"gemini-level":{let a,c=k?"minimal":(a="auto"===p.mode?"high":n(p)||"high",(0,g.wd)(a));q(b,{thinkingLevel:c,includeThoughts:"minimal"!==c}),r(b,o[c]||o.high,d);break}case"gemini-budget":{if(k&&l){q(b,{thinkingBudget:0,includeThoughts:!1});break}let a=m(p,d.thinkingRange);q(b,{thinkingBudget:a??-1,includeThoughts:!0}),r(b,-1!==(j=a??-1)&&Number.isFinite(j)?j<=1024?8192:j<=8192?16384:j<=24576?32768:65535:32768,d);break}case"zai":if(k&&l){b.enable_thinking=!1,delete b.thinking;break}if(b.thinking={type:"enabled"},d.thinkingEffortSupported){let a=n(p);b.reasoning_effort="low"===a||"minimal"===a?"low":"high"===a||"medium"===a?"high":"max"}break;case"qwen":{if(k&&l){b.enable_thinking=!1;break}b.enable_thinking=!0;let a=m(p,d.thinkingRange);Number.isFinite(a)&&a>0&&(b.thinking_budget=a);break}case"deepseek":{if(k&&l){b.thinking={type:"disabled"};break}b.thinking={type:"enabled"};let a=n(p),c="xhigh"===a||"max"===a?"max":"high";b.reasoning_effort="max"!==c||(0,e.t)(f,h,"max")?c:"high";break}case"kimi":{let a;if(k&&l){b.thinking={type:"disabled"};break}let c="auto"===(a=n(p))?"high":"minimal"===a?"low":"xhigh"===a?"max":["low","medium","high","max"].includes(a)?a:null;c&&(b.reasoning_effort=c);break}case"ollama":{if(k&&l){b.think=!1;break}let a=function(a,b){if(!a)return null;if("auto"===a.mode)return!0;let c=n(a);return!c||"auto"===c||("minimal"===c?"low":"xhigh"===c?"max":["low","medium","high","max"].includes(c)?"max"===c&&b&&!b.includes("max")?"high":c:"medium")}(p,d?.thinkingLevels);null!=a&&(b.think=a);break}case"opencode":{if(k&&l){b.reasoning_effort="none";break}let a=n(p);if(!a||"auto"===a)break;b.reasoning_effort="xhigh"===a||"ultra"===a?"max":"minimal"===a?"low":a;break}case"minimax":b.thinking={type:k&&l?"disabled":"adaptive"};break;case"hunyuan":{if(k&&l){b.thinking={type:"disabled"};break}let a=m(p,d.thinkingRange);b.thinking=-1===a?{type:"enabled"}:{type:"enabled",budget_tokens:a||8192};break}case"step":{if(k&&l)break;let a=n(p);a&&(b.reasoning_effort="xhigh"===a||"max"===a?"high":a);break}case"nous":{if(k&&l)break;let a="auto"===p.mode?"medium":n(p);b.reasoning={enabled:!0,...a?{effort:a}:{}};break}case"meta":{let a=n(p);if("none"===a)break;a&&(b.reasoning_effort="max"===a||"ultra"===a?"xhigh":a)}}}(x,c,v,w,i,p,y),c}},43835:(a,b,c)=>{c.d(b,{$D:()=>w,Oj:()=>i,P9:()=>n,QR:()=>k,We:()=>l,Zm:()=>h,aZ:()=>x,cr:()=>r,if:()=>v,pA:()=>q,rG:()=>m,rx:()=>j,yh:()=>s});var d=c(39541),e=c(26317);let f="-agentic",g="-thinking",h=64,i=10237,j="AmazonCodeWhispererStreamingService.GenerateAssistantResponse",k=new Set([401,403,404]);function l(a){return"google"===a||"github"===a?"arn:aws:codewhisperer:us-east-1:699475941385:profile/EHGA3GRVQMUK":"arn:aws:codewhisperer:us-east-1:638616132270:profile/AAAACCCCXXXX"}let m=`
|
|
2
|
-
# CRITICAL: CHUNKED WRITE PROTOCOL (MANDATORY)
|
|
3
|
-
|
|
4
|
-
You MUST follow these rules for ALL file operations. Violation causes server timeouts and task failure.
|
|
5
|
-
|
|
6
|
-
## ABSOLUTE LIMITS
|
|
7
|
-
- **MAXIMUM 350 LINES** per single write/edit operation - NO EXCEPTIONS
|
|
8
|
-
- **RECOMMENDED 300 LINES** or less for optimal performance
|
|
9
|
-
- **NEVER** write entire files in one operation if >300 lines
|
|
10
|
-
|
|
11
|
-
## MANDATORY CHUNKED WRITE STRATEGY
|
|
12
|
-
|
|
13
|
-
### For NEW FILES (>300 lines total):
|
|
14
|
-
1. FIRST: Write initial chunk (first 250-300 lines) using write_to_file/fsWrite
|
|
15
|
-
2. THEN: Append remaining content in 250-300 line chunks using file append operations
|
|
16
|
-
3. REPEAT: Continue appending until complete
|
|
17
|
-
|
|
18
|
-
### For EDITING EXISTING FILES:
|
|
19
|
-
1. Use surgical edits (apply_diff/targeted edits) - change ONLY what's needed
|
|
20
|
-
2. NEVER rewrite entire files - use incremental modifications
|
|
21
|
-
3. Split large refactors into multiple small, focused edits
|
|
22
|
-
|
|
23
|
-
### For LARGE CODE GENERATION:
|
|
24
|
-
1. Generate in logical sections (imports, types, functions separately)
|
|
25
|
-
2. Write each section as a separate operation
|
|
26
|
-
3. Use append operations for subsequent sections
|
|
27
|
-
|
|
28
|
-
## EXAMPLES OF CORRECT BEHAVIOR
|
|
29
|
-
|
|
30
|
-
CORRECT: Writing a 600-line file
|
|
31
|
-
- Operation 1: Write lines 1-300 (initial file creation)
|
|
32
|
-
- Operation 2: Append lines 301-600
|
|
33
|
-
|
|
34
|
-
CORRECT: Editing multiple functions
|
|
35
|
-
- Operation 1: Edit function A
|
|
36
|
-
- Operation 2: Edit function B
|
|
37
|
-
- Operation 3: Edit function C
|
|
38
|
-
|
|
39
|
-
WRONG: Writing 500 lines in single operation -> TIMEOUT
|
|
40
|
-
WRONG: Rewriting entire file to change 5 lines -> TIMEOUT
|
|
41
|
-
WRONG: Generating massive code blocks without chunking -> TIMEOUT
|
|
42
|
-
|
|
43
|
-
## WHY THIS MATTERS
|
|
44
|
-
- Server has 2-3 minute timeout for operations
|
|
45
|
-
- Large writes exceed timeout and FAIL completely
|
|
46
|
-
- Chunked writes are FASTER and more RELIABLE
|
|
47
|
-
- Failed writes waste time and require retry
|
|
48
|
-
|
|
49
|
-
REMEMBER: When in doubt, write LESS per operation. Multiple small operations > one large operation.
|
|
50
|
-
`.trim();function n(a,b,c){let f=(0,d.sS)(a);if(f)return"none"===f.mode||"level"===f.mode&&"disabled"===f.level?null:"budget"===f.mode?f.budget:"level"===f.mode?(0,e.nE)(f.level)??16e3:16e3;if(b){let a=function(a,b){if(!a)return;if("function"==typeof a.get)return a.get(b);let c=b.toLowerCase();for(let b of Object.keys(a))if(b.toLowerCase()===c)return a[b]}(b,"anthropic-beta");if("string"==typeof a&&a.toLowerCase().includes("interleaved-thinking"))return 16e3}if(function(a){for(let b of Array.isArray(a?.messages)?a.messages:[]){if(!b||"system"!==b.role&&"user"!==b.role)continue;let a=b.content;if("string"==typeof a){if(y(a))return!0}else if(Array.isArray(a))for(let b of a){let a=b?.text;if("string"==typeof a&&y(a))return!0}}return!!("string"==typeof a?.system&&y(a.system))}(a))return 16e3;if("string"==typeof c&&c){let a=c.toLowerCase();if(a.includes("thinking")||a.includes("-reason"))return 16e3}return null}function o(a){if("string"!=typeof a)return null;let b=a.toLowerCase().replace(/-/g,".").match(/(?:^|[/.])claude(?:[/.][a-z]+)*[/.](\d+)(?:[/.](\d+))?(?:[/.]|$)/);return b?{major:Number(b[1]),minor:void 0===b[2]?null:Number(b[2])}:null}function p(a){let b=a?.output_config?.effort??a?.reasoning_effort??("object"==typeof a?.reasoning?a.reasoning?.effort:null);if("string"!=typeof b)return null;let c=b.toLowerCase();return"max"===c?"xhigh":["low","medium","high","xhigh"].includes(c)?c:null}function q(a){if("string"!=typeof a)return null;let b=a.toLowerCase().replace(/-/g,".");if(/(?:^|[/.])gpt[/.]5[/.]6(?:[/.]|$)/.test(b))return"reasoning";if(!b.includes("claude"))return null;let c=o(a);if(!c)return null;let{major:d,minor:e}=c;return d<4||4===d&&(null===e||e<=5||null!==e&&e>=1e3)?null:"output_config"}function r(a,b){return"reasoning"===q(b)&&null!==p(a)}function s(a,b){let c=q(b);if(c)return function(a,b="output_config",c){let d="reasoning"===b?p(a):function(a,b){let c=a?.output_config?.effort??a?.reasoning_effort??("object"==typeof a?.reasoning?a.reasoning?.effort:null);if("string"!=typeof c)return null;let d=c.toLowerCase();if("none"===d||"off"===d||"disabled"===d)return null;if("xhigh"===d){let a;return(a=o(b))&&(4!==a.major||null===a.minor||!(a.minor<=6))?"xhigh":"high"}return"max"===d?"max":["low","medium","high"].includes(d)?d:null}(a,c);if(d)return"reasoning"===b?{reasoning:{effort:d}}:{thinking:{type:"adaptive",display:"summarized"},output_config:{effort:d}}}(a,c,b)}function t(a){return"string"==typeof a&&a.endsWith(f)}function u(a){return"string"==typeof a&&a.endsWith(g)}function v(a){return"string"==typeof a&&a.startsWith("claude")?a.replace(/([a-z])\.(\d)/g,"$1-$2"):a}function w(a){var b,c;let d=a,e=!1,h=!1;return t(d)&&(e=!0,d=t(b=d)?b.slice(0,-f.length):b),u(d)&&(h=!0,d=u(c=d)?c.slice(0,-g.length):c),{upstream:d,agentic:e,thinking:h}}function x(a=16e3){let b=Math.max(1,Math.min(32e3,Number(a)||16e3));return`<thinking_mode>enabled</thinking_mode>
|
|
51
|
-
<max_thinking_length>${b}</max_thinking_length>`}function y(a){return!!a&&!!a.includes("<thinking_mode>")&&(a.includes("<thinking_mode>enabled</thinking_mode>")||a.includes("<thinking_mode>interleaved</thinking_mode>"))}},45914:(a,b,c)=>{c.d(b,{KC:()=>s,L7:()=>h,OQ:()=>q,RB:()=>A,Ty:()=>w,_G:()=>o,bb:()=>j,bg:()=>n,cT:()=>v,e9:()=>u,eM:()=>i,pM:()=>z,pr:()=>B,qk:()=>x,rf:()=>l,t6:()=>t,ty:()=>g,xG:()=>y,x_:()=>p});let d="intl",e={[d]:{chat:"https://api3.qoder.sh",chatAlt:"https://api2.qoder.sh",openApi:"https://openapi.qoder.sh",center:"https://center.qoder.sh",login:"https://qoder.com/device/selectAccounts",website:"https://qoder.com"},cn:{chat:"https://gateway.qoder.com.cn",chatAlt:"https://gateway.qoder.com.cn",openApi:"https://openapi.qoder.com.cn",center:"https://gateway.qoder.com.cn",login:"https://qoder.com.cn/device/selectAccounts",website:"https://qoder.com.cn"}};function f(a){return e[a]||e[d]}function g(a){return"qoder-cn"===a?"cn":d}let h=e[d].openApi,i=e[d].center,j=e[d].chat,k=e[d].chatAlt,l=e[d].login;function m(a){return f(a).openApi}let n=`${m(d)}/api/v1/deviceToken/poll`,o=`${m(d)}/api/v1/userinfo`,p=`${m(d)}/api/v2/quota/usage`;f(d).center;let q=`${m(d)}/api/v1/jobToken/exchange`,r=`${j}/algo/api/v2/service/pro/sse/agent_chat_generation?FetchKeys=llm_model_result&AgentId=agent_common`,s=`${r}&Encode=1`,t=`${f(d).chat}/algo/api/v2/model/list?Encode=1`;function u(a,b=d){if("cn"===b)return e.cn.chat;let c=a?.apiKey||a?.accessToken;return"string"==typeof c&&!c.startsWith("pt-")&&(c.startsWith("jt-")||(a?.accessToken||"").startsWith("jt-"))?k:j}Object.freeze({AUTO:"auto",MAX:"max",DEFAULT:"default"});let v="1.0.0",w="5",x="disagree",y="v2",z=function(a=process.arch,b=process.platform){return`${"arm64"===a?"aarch64":"x64"===a?"x86_64":a}_${"win32"===b?"windows":b}`}(),A="5",B=`-----BEGIN PUBLIC KEY-----
|
|
1
|
+
"use strict";exports.id=4704,exports.ids=[4704],exports.modules={970:(a,b,c)=>{c.d(b,{EV:()=>g,X5:()=>d.X5,_M:()=>f});var d=c(53023),e=c(45914);async function f(a,b=null,c=null,g=null){let h=a?.apiKey||a?.accessToken;if(!(0,d.zh)(h))return{...a,accessToken:h,apiKey:h};let i=g||(0,e.ty)(a?.provider);try{let e=await (0,d.JQ)(h,{profile:i,proxyOptions:b,signal:c});return{...a,accessToken:e.accessToken,providerSpecificData:{...a?.providerSpecificData||{},userId:e.userId||a?.providerSpecificData?.userId||""}}}catch(b){return{...a,accessToken:h,apiKey:h}}}async function g(a,b={}){let c=b.region||(0,e.ty)(a?.provider),h=await f(a,b.proxyOptions,b.signal,c),i=b.profile||c;return(0,d.EV)(h,{...b,profile:i})}},19016:(a,b,c)=>{c.d(b,{$U:()=>d,pb:()=>e,uB:()=>f});let d="data: [DONE]\n\n",e={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"},f={"Content-Type":"text/event-stream","Cache-Control":"no-cache","X-Accel-Buffering":"no"}},45914:(a,b,c)=>{c.d(b,{KC:()=>s,L7:()=>h,OQ:()=>q,RB:()=>A,Ty:()=>w,_G:()=>o,bb:()=>j,bg:()=>n,cT:()=>v,e9:()=>u,eM:()=>i,pM:()=>z,pr:()=>B,qk:()=>x,rf:()=>l,t6:()=>t,ty:()=>g,xG:()=>y,x_:()=>p});let d="intl",e={[d]:{chat:"https://api3.qoder.sh",chatAlt:"https://api2.qoder.sh",openApi:"https://openapi.qoder.sh",center:"https://center.qoder.sh",login:"https://qoder.com/device/selectAccounts",website:"https://qoder.com"},cn:{chat:"https://gateway.qoder.com.cn",chatAlt:"https://gateway.qoder.com.cn",openApi:"https://openapi.qoder.com.cn",center:"https://gateway.qoder.com.cn",login:"https://qoder.com.cn/device/selectAccounts",website:"https://qoder.com.cn"}};function f(a){return e[a]||e[d]}function g(a){return"qoder-cn"===a?"cn":d}let h=e[d].openApi,i=e[d].center,j=e[d].chat,k=e[d].chatAlt,l=e[d].login;function m(a){return f(a).openApi}let n=`${m(d)}/api/v1/deviceToken/poll`,o=`${m(d)}/api/v1/userinfo`,p=`${m(d)}/api/v2/quota/usage`;f(d).center;let q=`${m(d)}/api/v1/jobToken/exchange`,r=`${j}/algo/api/v2/service/pro/sse/agent_chat_generation?FetchKeys=llm_model_result&AgentId=agent_common`,s=`${r}&Encode=1`,t=`${f(d).chat}/algo/api/v2/model/list?Encode=1`;function u(a,b=d){if("cn"===b)return e.cn.chat;let c=a?.apiKey||a?.accessToken;return"string"==typeof c&&!c.startsWith("pt-")&&(c.startsWith("jt-")||(a?.accessToken||"").startsWith("jt-"))?k:j}Object.freeze({AUTO:"auto",MAX:"max",DEFAULT:"default"});let v="1.0.0",w="5",x="disagree",y="v2",z=function(a=process.arch,b=process.platform){return`${"arm64"===a?"aarch64":"x64"===a?"x86_64":a}_${"win32"===b?"windows":b}`}(),A="5",B=`-----BEGIN PUBLIC KEY-----
|
|
52
2
|
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA8iMH5c02LilrsERw9t6Pv5Nc
|
|
53
3
|
4k6Pz1EaDicBMpdpxKduSZu5OANqUq8er4GM95omAGIOPOh+Nx0spthYA2BqGz+l
|
|
54
4
|
6HRkPJ7S236FZz73In/KVuLnwI8JJ2CbuJap8kvheCCZpmAWpb/cPx/3Vr/J6I17
|
|
@@ -57,7 +7,7 @@ XcW+ML9FoCI6AOvOzwIDAQAB
|
|
|
57
7
|
${l}
|
|
58
8
|
${n}
|
|
59
9
|
${k.toString("latin1")}
|
|
60
|
-
${t}`,v=p(Buffer.from(u,"latin1")),w=c.machineId||g.randomUUID(),x=c.machineToken||w,y=p(k),z=String(k.length);return{Authorization:`Bearer COSY.${s}.${v}`,"Cosy-Key":l,"Cosy-User":c.userId,"Cosy-Date":n,"Cosy-Version":j.ideVersion,"Cosy-Machineid":w,"Cosy-Machinetoken":x,"Cosy-Machinetype":j.machineType,"Cosy-Machineos":j.machineOs,"Cosy-Clienttype":j.clientType,"Cosy-Clientip":"127.0.0.1","Cosy-Bodyhash":y,"Cosy-Bodylength":z,"Cosy-Sigpath":t,"Cosy-Data-Policy":j.dataPolicy,"Cosy-Organization-Id":"","Cosy-Organization-Tags":"","Login-Version":j.loginVersion,"X-Request-Id":g.randomUUID()}}var r=c(970),s=c(49623),t=c(39541);let u={chat_task:"FREE_INPUT",stream:!0,is_reply:!0,is_retry:!1,source:1,version:"3",agent_id:"agent_common",task_id:"common",aliyun_user_type:""},v=["name","tool_calls","tool_call_id","reasoning_content"];function w(a,b){"string"==typeof b&&b&&!a.includes(b)&&a.push(b)}function x(a){if("string"==typeof a)return a;if(null==a)return"";if(Array.isArray(a)){let b=[];for(let c of a)c&&"object"==typeof c&&"string"==typeof c.text&&b.push(c.text);return b.join("\n")}return"object"==typeof a&&"string"==typeof a.text?a.text:String(a)}async function y({model:a,body:b,credentials:c,log:d,proxyOptions:e,signal:f,profile:h=null,modelConfig:i=null,includeBusiness:j=!1}){let k=o(h),l=(0,t.kD)(String(a||"").replace(/^qoder\//,"")),m=i;if(m)m.key||(m={...m,key:l});else if(!(m=await (0,r.X5)(c,l,{log:d,proxyOptions:e,signal:f,profile:k}))){let a=await (0,r.EV)(c,{forceRefresh:!0,log:d,proxyOptions:e,signal:f,profile:k}),b=a?.rawConfigs.get(l);if(!b)throw Error(`qoder: model_config for "${l}" not yet known (inject modelConfig or fetch model list)`);m={...b,key:l}}let{messages:n,systemText:p,imageUrls:q}=function(a){if(!Array.isArray(a)||0===a.length)return{messages:[],systemText:"",imageUrls:[]};let b=[],c=[],d=[];for(let e of a){if(!e||"object"!=typeof e)continue;if("system"===e.role||"developer"===e.role){let a=x(e.content);a&&b.push(a);continue}let{content:a,imageUrls:f}=function a(b){if("string"==typeof b)return{content:b,imageUrls:[]};if(null==b)return{content:"",imageUrls:[]};if(!Array.isArray(b)&&"object"==typeof b)return a([b]);if(!Array.isArray(b))return{content:String(b),imageUrls:[]};let c=[],d=[];for(let a of b){if(null==a)continue;if("string"==typeof a){c.push({type:"text",text:a});continue}if("object"!=typeof a)continue;let b="string"==typeof a.type?a.type:"";if("text"===b||"string"==typeof a.text&&!b&&!a.image_url&&!a.binary){"string"==typeof a.text&&c.push({type:"text",text:a.text});continue}if("image_url"===b||a.image_url){let b,e=a.image_url??a,f="";if("string"==typeof e?f=e:e&&"object"==typeof e&&(f="string"==typeof e.url?e.url:"","string"==typeof e.detail&&e.detail&&(b=e.detail)),f||"string"!=typeof a.url||(f=a.url),!f)continue;let g=b?{url:f,detail:b}:{url:f};c.push({type:"image_url",image_url:g}),w(d,f);continue}if("binary"===b||a.binary||"string"==typeof a.data&&(a.mime_type||a.mimeType)){let b=a.binary&&"object"==typeof a.binary?a.binary:a,e="string"==typeof b.data?b.data:"",f="string"==typeof b.mime_type&&b.mime_type||"string"==typeof b.mimeType&&b.mimeType||"";if(!e||!f)continue;c.push({type:"binary",binary:{data:e,mime_type:f}}),e.startsWith("data:")&&w(d,e);continue}}return 0===c.length?{content:"",imageUrls:[]}:0===d.length&&c.every(a=>"text"===a.type&&"string"==typeof a.text)?{content:c.map(a=>a.text).join("\n"),imageUrls:[]}:{content:c,imageUrls:d}}(e.content);for(let a of f)w(d,a);let g=function(a){let b={role:a.role};for(let c of v)void 0!==a[c]&&(b[c]=a[c]);return b}(e);g.content=a,c.push(g)}return{messages:c,systemText:b.join("\n\n"),imageUrls:d}}(b?.messages||[]),z=Array.isArray(b?.tools)?b.tools:[],A=!!m.is_reasoning,B=Number(m.max_output_tokens)||0,C=32768;B>0&&(C=B),"number"==typeof b?.max_tokens&&b.max_tokens>0&&b.max_tokens<C&&(C=b.max_tokens),"number"==typeof b?.max_completion_tokens&&b.max_completion_tokens>0&&b.max_completion_tokens<C&&(C=b.max_completion_tokens);let D=function(a){for(let b=a.length-1;b>=0;b--){let c=a[b];if(c?.role!=="user")continue;let d=x(c.content);if(d)return d;if(Array.isArray(c.content)&&c.content.length)break;if("string"==typeof c.content)return c.content}return""}(b?.messages||n),E=c?.providerSpecificData||{},F=(0,g.randomUUID)(),G=(0,s.oV)({headers:c?.rawHeaders,body:b,connectionId:c?.connectionId||E.userId||l,scope:"qoder"}),H={max_tokens:C},I=function(a){if(!a||"object"!=typeof a)return;let b=a.reasoning_effort;if(null==b&&a.reasoning&&"object"==typeof a.reasoning&&(b=a.reasoning.effort),null==b)return;let c=String(b).trim().toLowerCase();return c?"disabled"===c||"off"===c?"none":"x-high"===c?"xhigh":"auto"!==c?c:void 0:void 0}(b);if(void 0!==I?H.reasoning_effort=I:A&&(H.reasoning_effort="high"),A&&"number"==typeof b?.max_thinking_tokens&&(H.max_thinking_tokens=b.max_thinking_tokens),void 0!==b?.tool_choice&&(H.tool_choice=b.tool_choice),"number"==typeof b?.context_length&&b.context_length>0)H.context_length=b.context_length;else if("number"==typeof b?.contextWindow&&b.contextWindow>0)H.context_length=b.contextWindow;else{let a=function(a){let b=a?.context_config;if(b&&"object"==typeof b){let a=0;for(let c of Object.values(b)){let b=Number(c?.token_count);Number.isFinite(b)&&b>a&&(a=b)}if(a>0)return a}let c=Number(a?.max_input_tokens);return Number.isFinite(c)&&c>0?c:void 0}(m);a&&(H.context_length=a)}let J=q.length?q:null,K={key:m.key||l,display_name:m.display_name||m.displayName||l,model:"",format:m.format||"openai",is_vl:!!m.is_vl,is_reasoning:!!m.is_reasoning,api_key:"",url:"",source:m.source||"system",max_input_tokens:m.max_input_tokens??2e5},L={request_id:F,request_set_id:F,chat_record_id:F,session_id:G,...u,session_type:k.sessionType,model_config:K,system:p,messages:n,tools:z,parameters:H,chat_context:function(a,b,c,d=null){return{text:a,features:[],extra:{context:[],modelConfig:{key:b,is_reasoning:!!c},originalContent:a},chatPrompt:"",imageUrls:d&&d.length?d:null}}(D,l,A,J)};return(j||k.includeBusiness)&&(L.business={product:k.businessProduct,version:k.businessVersion,type:k.businessType||"agent",stage:"init",id:(0,g.randomUUID)(),name:D&&D.length>30?`${D.slice(0,30)}...`:D||"",begin_at:Date.now()}),{qoderKey:l,payload:L,modelConfig:m}}async function z(a){return y(a)}var A=c(55989);let B=new Map,C="qodercli/1.0.0";function D(a){return"string"==typeof a&&a.startsWith("pt-")}async function E(a,b,c,e){let f=await (0,d.Fm)(b.jobTokenExchangeUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":C,"Cosy-Version":b.ideVersion,"Cosy-ClientType":b.clientType},body:JSON.stringify({personal_token:a}),signal:e},c);if(!f.ok){let a=await f.text().catch(()=>"");throw Error(`qoder PAT exchange failed: ${f.status} ${a.slice(0,200)}`)}let g=await f.json();if(!g.token)throw Error("qoder PAT exchange returned no job token");let h=Date.now()+864e5;if(g.expires_at){let a=Date.parse(g.expires_at);Number.isNaN(a)||(h=a)}else"number"==typeof g.expires_in&&g.expires_in>0&&(h=Date.now()+g.expires_in);return{jobToken:g.token,jobRefreshToken:g.refresh_token||"",expiresAt:h}}async function F(a,b,c,e){try{let f=await (0,d.Fm)(b.userInfoUrl,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":C},signal:e},c);if(!f.ok)return"";let g=await f.json().catch(()=>({}));return g.id||g.userId||g.user_id||""}catch{return""}}async function G(a,b={}){let c=o(b.profile),d=b.proxyOptions??null,e=b.signal??null,f=`${c.id}:${a}`,g=B.get(f);if(g&&g.expiresAt-Date.now()>3e5)return g;let{jobToken:h,expiresAt:i}=await E(a,c,d,e),j=await F(h,c,d,e),k={accessToken:h,userId:j,expiresAt:i};return B.set(f,k),k}async function H({model:a,body:b,credentials:c,signal:g,log:h,proxyOptions:i=null,profile:j=null,timeoutMs:k=null,modelConfig:l=null,fetchImpl:m=null,includeBusiness:n=!1}){let p,r,s,t,u=o(j),v=u.chatUrl,w=c?.accessToken||c?.apiKey;if(D(w))try{let a=await G(w,{profile:u,proxyOptions:i,signal:g});c={...c,accessToken:a.accessToken,apiKey:void 0,providerSpecificData:{authMethod:"pat",...c?.providerSpecificData||{},userId:a.userId||c?.providerSpecificData?.userId||"",machineId:c?.providerSpecificData?.machineId||"",machineToken:c?.providerSpecificData?.machineToken||""}}}catch(a){return h?.error?.("QODER",`PAT exchange failed: ${a.message}`),{response:new Response(JSON.stringify({error:{message:`qoder PAT exchange failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let x=c?.providerSpecificData||{};if(!x.userId)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing userId; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};if(!c?.accessToken)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing accessToken; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};try{({qoderKey:p,payload:r}=await z({model:a,body:b,credentials:c,log:h,proxyOptions:i,signal:g,profile:u,modelConfig:l,includeBusiness:n}))}catch(a){return{response:new Response(JSON.stringify({error:{message:a.message}}),{status:400,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let y=function(a){let b=(Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"utf8"):Buffer.from(a)).toString("base64"),c=b.length,d=Math.floor(c/3),e=b.slice(c-d)+b.slice(d,c-d)+b.slice(0,d),g=Buffer.alloc(c);for(let a=0;a<c;a++){let b=e.charCodeAt(a);b<128&&f[b]>=0?g[a]=f[b]:g[a]=b}return g.toString("latin1")}(Buffer.from(JSON.stringify(r),"utf8")),B=Buffer.from(y,"latin1");try{s=q(B,v,{userId:x.userId,authToken:c.accessToken,name:c.displayName||"",email:c.email||"",machineId:x.machineId||"",machineToken:x.machineToken||x.machineId||""},u)}catch(a){return{response:new Response(JSON.stringify({error:{message:`qoder cosy signing failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let C={"Content-Type":"application/json",Accept:"text/event-stream","Cache-Control":"no-cache","X-Model-Key":p,"X-Model-Source":r.model_config&&r.model_config.source||"system","Accept-Encoding":"identity",...s},E=k||e.pH,F=new AbortController,I=setTimeout(()=>F.abort(Error("fetch connect timeout")),E),J=g?AbortSignal.any([g,F.signal]):F.signal;try{let a={method:"POST",headers:C,body:B,signal:J};t="function"==typeof m?await m(v,a):await (0,d.Fm)(v,a,{...i,strictProxy:!0})}catch(a){if(J.aborted)throw J.reason;throw a}finally{clearTimeout(I)}return t.ok?{response:await (0,A.ZU)(t,`qoder/${p}`,h),url:v,headers:C,transformedBody:r}:{response:t,url:v,headers:C,transformedBody:r}}let I=new Map,J=new Map;async function K(a,b,c=null,e=null){let f,g,i={userId:(g=a?.providerSpecificData||{}).userId,authToken:a.accessToken,name:a.displayName||"",email:a.email||"",machineId:g.machineId||"",machineToken:g.machineToken||g.machineId||""};if(!i.userId||!i.authToken)return null;let j=o(e),k="cn"===j.id||"cn-work"===j.id?j.modelListUrl:`${(0,h.e9)(a,j.id)}/algo/api/v2/model/list?Encode=1`,l={Accept:"application/json","Accept-Encoding":"identity",...q(Buffer.alloc(0),k,i,j)},m=new AbortController,n=null,p=null;try{n=setTimeout(()=>m.abort("timeout"),15e3),b&&"function"==typeof b.addEventListener&&(b.aborted?m.abort(b.reason):(p=()=>m.abort(b.reason),b.addEventListener("abort",p))),f=await (0,d.Fm)(k,{method:"GET",headers:l,signal:m.signal},c)}finally{n&&clearTimeout(n),b&&p&&b.removeEventListener("abort",p)}if(!f.ok)return null;let r=await f.json().catch(()=>null);if(!r||!Array.isArray(r.chat))return null;let s=[],t=new Map;for(let a of r.chat){if(!a||"object"!=typeof a)continue;let b=a.key;if(!b)continue;t.set(b,a);let c=a.display_name||a.displayName||a.name||a.title||b,d=Number(a.max_input_tokens)||131072;s.push({id:b,name:`${c}`,contextLength:d,isVL:!!a.is_vl,isReasoning:!!a.is_reasoning,maxOutputTokens:Number(a.max_output_tokens)||0,description:a.description||"",enabled:!1!==a.enable})}return{models:s,rawConfigs:t}}async function L(a,b,c={}){let d=await M(a,c);if(!d)return null;let e=d.rawConfigs.get(b);return e?{...e,key:b}:null}async function M(a,b={}){let c;if(!a?.accessToken||!(a.providerSpecificData||{}).userId)return null;let d=(c=(a?.providerSpecificData||{}).userId||a?.refreshToken||a?.accessToken||"anonymous",(0,g.createHash)("sha256").update(`qoder:${c}`).digest("hex")),e=Date.now();if(!b.forceRefresh){let a=I.get(d);if(a&&a.expiresAt>e)return a}let f=J.get(d);if(f&&!b.forceRefresh)return f;let h=(async()=>{let c=await K(a,b.signal,b.proxyOptions,b.profile);if(!c)return null;let e={expiresAt:Date.now()+36e5,models:c.models,rawConfigs:c.rawConfigs,fetched:!0};return I.set(d,e),e})();J.set(d,h);try{return await h}finally{J.get(d)===h&&J.delete(d)}}},55989:(a,b,c)=>{c.d(b,{Jc:()=>i,ZU:()=>k});var d=c(19016);function e(a,b){b.doneEmitted||(a.enqueue(new TextEncoder().encode(d.$U)),b.doneEmitted=!0)}function f(a,b,{model:c,message:d,statusVal:g,type:h,code:i}){var j;let k=JSON.stringify({error:{message:(j=d&&d.length>500?`${d.slice(0,500)}...`:d||"")&&"string"==typeof j&&j.replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim()||j||`qoder upstream status ${g}`,type:h||"qoder_upstream_error",code:i??g}});a.enqueue(new TextEncoder().encode(`data: ${k}
|
|
10
|
+
${t}`,v=p(Buffer.from(u,"latin1")),w=c.machineId||g.randomUUID(),x=c.machineToken||w,y=p(k),z=String(k.length);return{Authorization:`Bearer COSY.${s}.${v}`,"Cosy-Key":l,"Cosy-User":c.userId,"Cosy-Date":n,"Cosy-Version":j.ideVersion,"Cosy-Machineid":w,"Cosy-Machinetoken":x,"Cosy-Machinetype":j.machineType,"Cosy-Machineos":j.machineOs,"Cosy-Clienttype":j.clientType,"Cosy-Clientip":"127.0.0.1","Cosy-Bodyhash":y,"Cosy-Bodylength":z,"Cosy-Sigpath":t,"Cosy-Data-Policy":j.dataPolicy,"Cosy-Organization-Id":"","Cosy-Organization-Tags":"","Login-Version":j.loginVersion,"X-Request-Id":g.randomUUID()}}var r=c(970),s=c(49623),t=c(39541);let u={chat_task:"FREE_INPUT",stream:!0,is_reply:!0,is_retry:!1,source:1,version:"3",agent_id:"agent_common",task_id:"common",aliyun_user_type:""},v=["name","tool_calls","tool_call_id","reasoning_content"];function w(a,b){"string"==typeof b&&b&&!a.includes(b)&&a.push(b)}function x(a){if("string"==typeof a)return a;if(null==a)return"";if(Array.isArray(a)){let b=[];for(let c of a)c&&"object"==typeof c&&"string"==typeof c.text&&b.push(c.text);return b.join("\n")}return"object"==typeof a&&"string"==typeof a.text?a.text:String(a)}async function y({model:a,body:b,credentials:c,log:d,proxyOptions:e,signal:f,profile:h=null,modelConfig:i=null,includeBusiness:j=!1}){let k=o(h),l=(0,t.stripThinkingSuffix)(String(a||"").replace(/^qoder\//,"")),m=i;if(m)m.key||(m={...m,key:l});else if(!(m=await (0,r.X5)(c,l,{log:d,proxyOptions:e,signal:f,profile:k}))){let a=await (0,r.EV)(c,{forceRefresh:!0,log:d,proxyOptions:e,signal:f,profile:k}),b=a?.rawConfigs.get(l);if(!b)throw Error(`qoder: model_config for "${l}" not yet known (inject modelConfig or fetch model list)`);m={...b,key:l}}let{messages:n,systemText:p,imageUrls:q}=function(a){if(!Array.isArray(a)||0===a.length)return{messages:[],systemText:"",imageUrls:[]};let b=[],c=[],d=[];for(let e of a){if(!e||"object"!=typeof e)continue;if("system"===e.role||"developer"===e.role){let a=x(e.content);a&&b.push(a);continue}let{content:a,imageUrls:f}=function a(b){if("string"==typeof b)return{content:b,imageUrls:[]};if(null==b)return{content:"",imageUrls:[]};if(!Array.isArray(b)&&"object"==typeof b)return a([b]);if(!Array.isArray(b))return{content:String(b),imageUrls:[]};let c=[],d=[];for(let a of b){if(null==a)continue;if("string"==typeof a){c.push({type:"text",text:a});continue}if("object"!=typeof a)continue;let b="string"==typeof a.type?a.type:"";if("text"===b||"string"==typeof a.text&&!b&&!a.image_url&&!a.binary){"string"==typeof a.text&&c.push({type:"text",text:a.text});continue}if("image_url"===b||a.image_url){let b,e=a.image_url??a,f="";if("string"==typeof e?f=e:e&&"object"==typeof e&&(f="string"==typeof e.url?e.url:"","string"==typeof e.detail&&e.detail&&(b=e.detail)),f||"string"!=typeof a.url||(f=a.url),!f)continue;let g=b?{url:f,detail:b}:{url:f};c.push({type:"image_url",image_url:g}),w(d,f);continue}if("binary"===b||a.binary||"string"==typeof a.data&&(a.mime_type||a.mimeType)){let b=a.binary&&"object"==typeof a.binary?a.binary:a,e="string"==typeof b.data?b.data:"",f="string"==typeof b.mime_type&&b.mime_type||"string"==typeof b.mimeType&&b.mimeType||"";if(!e||!f)continue;c.push({type:"binary",binary:{data:e,mime_type:f}}),e.startsWith("data:")&&w(d,e);continue}}return 0===c.length?{content:"",imageUrls:[]}:0===d.length&&c.every(a=>"text"===a.type&&"string"==typeof a.text)?{content:c.map(a=>a.text).join("\n"),imageUrls:[]}:{content:c,imageUrls:d}}(e.content);for(let a of f)w(d,a);let g=function(a){let b={role:a.role};for(let c of v)void 0!==a[c]&&(b[c]=a[c]);return b}(e);g.content=a,c.push(g)}return{messages:c,systemText:b.join("\n\n"),imageUrls:d}}(b?.messages||[]),z=Array.isArray(b?.tools)?b.tools:[],A=!!m.is_reasoning,B=Number(m.max_output_tokens)||0,C=32768;B>0&&(C=B),"number"==typeof b?.max_tokens&&b.max_tokens>0&&b.max_tokens<C&&(C=b.max_tokens),"number"==typeof b?.max_completion_tokens&&b.max_completion_tokens>0&&b.max_completion_tokens<C&&(C=b.max_completion_tokens);let D=function(a){for(let b=a.length-1;b>=0;b--){let c=a[b];if(c?.role!=="user")continue;let d=x(c.content);if(d)return d;if(Array.isArray(c.content)&&c.content.length)break;if("string"==typeof c.content)return c.content}return""}(b?.messages||n),E=c?.providerSpecificData||{},F=(0,g.randomUUID)(),G=(0,s.oV)({headers:c?.rawHeaders,body:b,connectionId:c?.connectionId||E.userId||l,scope:"qoder"}),H={max_tokens:C},I=function(a){if(!a||"object"!=typeof a)return;let b=a.reasoning_effort;if(null==b&&a.reasoning&&"object"==typeof a.reasoning&&(b=a.reasoning.effort),null==b)return;let c=String(b).trim().toLowerCase();return c?"disabled"===c||"off"===c?"none":"x-high"===c?"xhigh":"auto"!==c?c:void 0:void 0}(b);if(void 0!==I?H.reasoning_effort=I:A&&(H.reasoning_effort="high"),A&&"number"==typeof b?.max_thinking_tokens&&(H.max_thinking_tokens=b.max_thinking_tokens),void 0!==b?.tool_choice&&(H.tool_choice=b.tool_choice),"number"==typeof b?.context_length&&b.context_length>0)H.context_length=b.context_length;else if("number"==typeof b?.contextWindow&&b.contextWindow>0)H.context_length=b.contextWindow;else{let a=function(a){let b=a?.context_config;if(b&&"object"==typeof b){let a=0;for(let c of Object.values(b)){let b=Number(c?.token_count);Number.isFinite(b)&&b>a&&(a=b)}if(a>0)return a}let c=Number(a?.max_input_tokens);return Number.isFinite(c)&&c>0?c:void 0}(m);a&&(H.context_length=a)}let J=q.length?q:null,K={key:m.key||l,display_name:m.display_name||m.displayName||l,model:"",format:m.format||"openai",is_vl:!!m.is_vl,is_reasoning:!!m.is_reasoning,api_key:"",url:"",source:m.source||"system",max_input_tokens:m.max_input_tokens??2e5},L={request_id:F,request_set_id:F,chat_record_id:F,session_id:G,...u,session_type:k.sessionType,model_config:K,system:p,messages:n,tools:z,parameters:H,chat_context:function(a,b,c,d=null){return{text:a,features:[],extra:{context:[],modelConfig:{key:b,is_reasoning:!!c},originalContent:a},chatPrompt:"",imageUrls:d&&d.length?d:null}}(D,l,A,J)};return(j||k.includeBusiness)&&(L.business={product:k.businessProduct,version:k.businessVersion,type:k.businessType||"agent",stage:"init",id:(0,g.randomUUID)(),name:D&&D.length>30?`${D.slice(0,30)}...`:D||"",begin_at:Date.now()}),{qoderKey:l,payload:L,modelConfig:m}}async function z(a){return y(a)}var A=c(55989);let B=new Map,C="qodercli/1.0.0";function D(a){return"string"==typeof a&&a.startsWith("pt-")}async function E(a,b,c,e){let f=await (0,d.Fm)(b.jobTokenExchangeUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","User-Agent":C,"Cosy-Version":b.ideVersion,"Cosy-ClientType":b.clientType},body:JSON.stringify({personal_token:a}),signal:e},c);if(!f.ok){let a=await f.text().catch(()=>"");throw Error(`qoder PAT exchange failed: ${f.status} ${a.slice(0,200)}`)}let g=await f.json();if(!g.token)throw Error("qoder PAT exchange returned no job token");let h=Date.now()+864e5;if(g.expires_at){let a=Date.parse(g.expires_at);Number.isNaN(a)||(h=a)}else"number"==typeof g.expires_in&&g.expires_in>0&&(h=Date.now()+g.expires_in);return{jobToken:g.token,jobRefreshToken:g.refresh_token||"",expiresAt:h}}async function F(a,b,c,e){try{let f=await (0,d.Fm)(b.userInfoUrl,{method:"GET",headers:{Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":C},signal:e},c);if(!f.ok)return"";let g=await f.json().catch(()=>({}));return g.id||g.userId||g.user_id||""}catch{return""}}async function G(a,b={}){let c=o(b.profile),d=b.proxyOptions??null,e=b.signal??null,f=`${c.id}:${a}`,g=B.get(f);if(g&&g.expiresAt-Date.now()>3e5)return g;let{jobToken:h,expiresAt:i}=await E(a,c,d,e),j=await F(h,c,d,e),k={accessToken:h,userId:j,expiresAt:i};return B.set(f,k),k}async function H({model:a,body:b,credentials:c,signal:g,log:h,proxyOptions:i=null,profile:j=null,timeoutMs:k=null,modelConfig:l=null,fetchImpl:m=null,includeBusiness:n=!1}){let p,r,s,t,u=o(j),v=u.chatUrl,w=c?.accessToken||c?.apiKey;if(D(w))try{let a=await G(w,{profile:u,proxyOptions:i,signal:g});c={...c,accessToken:a.accessToken,apiKey:void 0,providerSpecificData:{authMethod:"pat",...c?.providerSpecificData||{},userId:a.userId||c?.providerSpecificData?.userId||"",machineId:c?.providerSpecificData?.machineId||"",machineToken:c?.providerSpecificData?.machineToken||""}}}catch(a){return h?.error?.("QODER",`PAT exchange failed: ${a.message}`),{response:new Response(JSON.stringify({error:{message:`qoder PAT exchange failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let x=c?.providerSpecificData||{};if(!x.userId)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing userId; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};if(!c?.accessToken)return{response:new Response(JSON.stringify({error:{message:"qoder credential is missing accessToken; reconnect the account"}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b};try{({qoderKey:p,payload:r}=await z({model:a,body:b,credentials:c,log:h,proxyOptions:i,signal:g,profile:u,modelConfig:l,includeBusiness:n}))}catch(a){return{response:new Response(JSON.stringify({error:{message:a.message}}),{status:400,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let y=function(a){let b=(Buffer.isBuffer(a)?a:"string"==typeof a?Buffer.from(a,"utf8"):Buffer.from(a)).toString("base64"),c=b.length,d=Math.floor(c/3),e=b.slice(c-d)+b.slice(d,c-d)+b.slice(0,d),g=Buffer.alloc(c);for(let a=0;a<c;a++){let b=e.charCodeAt(a);b<128&&f[b]>=0?g[a]=f[b]:g[a]=b}return g.toString("latin1")}(Buffer.from(JSON.stringify(r),"utf8")),B=Buffer.from(y,"latin1");try{s=q(B,v,{userId:x.userId,authToken:c.accessToken,name:c.displayName||"",email:c.email||"",machineId:x.machineId||"",machineToken:x.machineToken||x.machineId||""},u)}catch(a){return{response:new Response(JSON.stringify({error:{message:`qoder cosy signing failed: ${a.message}`}}),{status:401,headers:{"Content-Type":"application/json"}}),url:v,headers:{},transformedBody:b}}let C={"Content-Type":"application/json",Accept:"text/event-stream","Cache-Control":"no-cache","X-Model-Key":p,"X-Model-Source":r.model_config&&r.model_config.source||"system","Accept-Encoding":"identity",...s},E=k||e.pH,F=new AbortController,I=setTimeout(()=>F.abort(Error("fetch connect timeout")),E),J=g?AbortSignal.any([g,F.signal]):F.signal;try{let a={method:"POST",headers:C,body:B,signal:J};t="function"==typeof m?await m(v,a):await (0,d.Fm)(v,a,{...i,strictProxy:!0})}catch(a){if(J.aborted)throw J.reason;throw a}finally{clearTimeout(I)}return t.ok?{response:await (0,A.ZU)(t,`qoder/${p}`,h),url:v,headers:C,transformedBody:r}:{response:t,url:v,headers:C,transformedBody:r}}let I=new Map,J=new Map;async function K(a,b,c=null,e=null){let f,g,i={userId:(g=a?.providerSpecificData||{}).userId,authToken:a.accessToken,name:a.displayName||"",email:a.email||"",machineId:g.machineId||"",machineToken:g.machineToken||g.machineId||""};if(!i.userId||!i.authToken)return null;let j=o(e),k="cn"===j.id||"cn-work"===j.id?j.modelListUrl:`${(0,h.e9)(a,j.id)}/algo/api/v2/model/list?Encode=1`,l={Accept:"application/json","Accept-Encoding":"identity",...q(Buffer.alloc(0),k,i,j)},m=new AbortController,n=null,p=null;try{n=setTimeout(()=>m.abort("timeout"),15e3),b&&"function"==typeof b.addEventListener&&(b.aborted?m.abort(b.reason):(p=()=>m.abort(b.reason),b.addEventListener("abort",p))),f=await (0,d.Fm)(k,{method:"GET",headers:l,signal:m.signal},c)}finally{n&&clearTimeout(n),b&&p&&b.removeEventListener("abort",p)}if(!f.ok)return null;let r=await f.json().catch(()=>null);if(!r||!Array.isArray(r.chat))return null;let s=[],t=new Map;for(let a of r.chat){if(!a||"object"!=typeof a)continue;let b=a.key;if(!b)continue;t.set(b,a);let c=a.display_name||a.displayName||a.name||a.title||b,d=Number(a.max_input_tokens)||131072;s.push({id:b,name:`${c}`,contextLength:d,isVL:!!a.is_vl,isReasoning:!!a.is_reasoning,maxOutputTokens:Number(a.max_output_tokens)||0,description:a.description||"",enabled:!1!==a.enable})}return{models:s,rawConfigs:t}}async function L(a,b,c={}){let d=await M(a,c);if(!d)return null;let e=d.rawConfigs.get(b);return e?{...e,key:b}:null}async function M(a,b={}){let c;if(!a?.accessToken||!(a.providerSpecificData||{}).userId)return null;let d=(c=(a?.providerSpecificData||{}).userId||a?.refreshToken||a?.accessToken||"anonymous",(0,g.createHash)("sha256").update(`qoder:${c}`).digest("hex")),e=Date.now();if(!b.forceRefresh){let a=I.get(d);if(a&&a.expiresAt>e)return a}let f=J.get(d);if(f&&!b.forceRefresh)return f;let h=(async()=>{let c=await K(a,b.signal,b.proxyOptions,b.profile);if(!c)return null;let e={expiresAt:Date.now()+36e5,models:c.models,rawConfigs:c.rawConfigs,fetched:!0};return I.set(d,e),e})();J.set(d,h);try{return await h}finally{J.get(d)===h&&J.delete(d)}}},55989:(a,b,c)=>{c.d(b,{Jc:()=>i,ZU:()=>k});var d=c(19016);function e(a,b){b.doneEmitted||(a.enqueue(new TextEncoder().encode(d.$U)),b.doneEmitted=!0)}function f(a,b,{model:c,message:d,statusVal:g,type:h,code:i}){var j;let k=JSON.stringify({error:{message:(j=d&&d.length>500?`${d.slice(0,500)}...`:d||"")&&"string"==typeof j&&j.replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim()||j||`qoder upstream status ${g}`,type:h||"qoder_upstream_error",code:i??g}});a.enqueue(new TextEncoder().encode(`data: ${k}
|
|
61
11
|
|
|
62
12
|
`)),e(a,b)}let g=new Set(["null",""]);function h(a,b,c,d){!function(a){if(a?.choices)for(let b of a.choices){let a=b?.delta;if(a&&a.reasoning_item&&!a.reasoning_content){let b=a.reasoning_item,c=Array.isArray(b.summary)?b.summary.map(a=>a?.text||"").join(""):"string"==typeof b?b:"";c&&(a.reasoning_content=c),delete a.reasoning_item}}}(d);let e=JSON.stringify(d).replace(/\r?\n/g,"");c.contentEmitted=!0,a.enqueue(b.encode(`data: ${e}
|
|
63
13
|
|
|
@@ -65,4 +15,4 @@ ${t}`,v=p(Buffer.from(u,"latin1")),w=c.machineId||g.randomUUID(),x=c.machineToke
|
|
|
65
15
|
|
|
66
16
|
`)),e(c,p);return}let a=103===o||105===o||/login expired|login timeout|token.*expired|auth/i.test(q),d=10605===o||/queue|isQueued|retry_after/i.test(q);return void f(c,p,{model:b,message:q||`upstream status ${o}`,statusVal:a?401:d?429:o,type:a?"authentication_error":d?"model_queued":"qoder_upstream_error",code:a?"token_expired":d?"model_queued":o})}if(!q)return;if("[DONE]"===q||"[NOT_EXCEED_QUOTA]"===q||q.startsWith("[EXCEED_QUOTA]")||q.startsWith("[NOTIFICATIONS]"))return"[DONE]"===q?void e(c,p):q.startsWith("[EXCEED_QUOTA]")?void f(c,p,{model:b,message:q,statusVal:429}):void 0;try{j=JSON.parse(q)}catch{let a=q.replace(/\r?\n/g,"");p.contentEmitted=!0,c.enqueue(l.encode(`data: ${a}
|
|
67
17
|
|
|
68
|
-
`));return}let r=function(a,b,c,d){if(!a||"object"!=typeof a||!Array.isArray(a.choices))return a;for(let e of a.choices){let a=e?.finish_reason;if(null!=a){if("model_context_window_exceeded"===a)return f(b,c,{model:d,message:"Model context window exceeded",statusVal:413,type:"context_length_exceeded",code:"context_length_exceeded"}),null;g.has(a)&&(e.finish_reason=null)}}return a}(j,c,p,b);if(null!==r){if(r&&"object"==typeof r&&Array.isArray(r.choices)&&0===r.choices.length&&r.usage&&"object"==typeof r.usage){p.pendingFinish&&(p.pendingFinish.usage=r.usage,h(c,l,p,p.pendingFinish),p.pendingFinish=null);return}if(r?.choices&&r.choices.some(a=>a?.finish_reason!=null&&!g.has(a.finish_reason))&&!(r.usage&&"object"==typeof r.usage)){p.pendingFinish=r;return}p.pendingFinish&&(h(c,l,p,p.pendingFinish),p.pendingFinish=null),h(c,l,p,r)}},r=a=>{((o+=d.decode()).length>0&&(q(o,a),o=""),p.pendingFinish&&(h(a,l,p,p.pendingFinish),p.pendingFinish=null),p.contentEmitted||p.doneEmitted)?e(a,p):f(a,p,{model:b,message:"Empty response: stream ended without any content",statusVal:502,type:"empty_response",code:"empty_response"})},s=new ReadableStream({async start(a){if(n.consumed){let b;for(o+=n.consumed;-1!==(b=o.indexOf("\n"));){let c=o.slice(0,b);o=o.slice(b+1),q(c,a)}}if(n.upstreamDone){r(a);try{a.close()}catch{}return}try{for(;;){let b,{done:c,value:e}=await m.read();if(c)break;for(o+=d.decode(e,{stream:!0});-1!==(b=o.indexOf("\n"));){let c=o.slice(0,b);o=o.slice(b+1),q(c,a)}}r(a)}catch(a){}finally{try{a.close()}catch{}await m.cancel().catch(()=>{})}},cancel:()=>m.cancel().catch(()=>{})});return new Response(s,{status:a.status,statusText:a.statusText,headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache"}})}}
|
|
18
|
+
`));return}let r=function(a,b,c,d){if(!a||"object"!=typeof a||!Array.isArray(a.choices))return a;for(let e of a.choices){let a=e?.finish_reason;if(null!=a){if("model_context_window_exceeded"===a)return f(b,c,{model:d,message:"Model context window exceeded",statusVal:413,type:"context_length_exceeded",code:"context_length_exceeded"}),null;g.has(a)&&(e.finish_reason=null)}}return a}(j,c,p,b);if(null!==r){if(r&&"object"==typeof r&&Array.isArray(r.choices)&&0===r.choices.length&&r.usage&&"object"==typeof r.usage){p.pendingFinish&&(p.pendingFinish.usage=r.usage,h(c,l,p,p.pendingFinish),p.pendingFinish=null);return}if(r?.choices&&r.choices.some(a=>a?.finish_reason!=null&&!g.has(a.finish_reason))&&!(r.usage&&"object"==typeof r.usage)){p.pendingFinish=r;return}p.pendingFinish&&(h(c,l,p,p.pendingFinish),p.pendingFinish=null),h(c,l,p,r)}},r=a=>{((o+=d.decode()).length>0&&(q(o,a),o=""),p.pendingFinish&&(h(a,l,p,p.pendingFinish),p.pendingFinish=null),p.contentEmitted||p.doneEmitted)?e(a,p):f(a,p,{model:b,message:"Empty response: stream ended without any content",statusVal:502,type:"empty_response",code:"empty_response"})},s=new ReadableStream({async start(a){if(n.consumed){let b;for(o+=n.consumed;-1!==(b=o.indexOf("\n"));){let c=o.slice(0,b);o=o.slice(b+1),q(c,a)}}if(n.upstreamDone){r(a);try{a.close()}catch{}return}try{for(;;){let b,{done:c,value:e}=await m.read();if(c)break;for(o+=d.decode(e,{stream:!0});-1!==(b=o.indexOf("\n"));){let c=o.slice(0,b);o=o.slice(b+1),q(c,a)}}r(a)}catch(a){}finally{try{a.close()}catch{}await m.cancel().catch(()=>{})}},cancel:()=>m.cancel().catch(()=>{})});return new Response(s,{status:a.status,statusText:a.statusText,headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache"}})}}};
|